{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/data/source/dataFormat/api.js","webpack:///./src/incident/severity/api.js","webpack:///./src/entity/api.js","webpack:///./src/feedback/service/api.js","webpack:///./src/entity_type/api.js","webpack:///./src/organization/OrganizationBanner.vue?5ccb","webpack:///./src/organization/CreateEditDialog.vue","webpack:///src/organization/CreateEditDialog.vue","webpack:///./src/organization/CreateEditDialog.vue?6291","webpack:///./src/organization/CreateEditDialog.vue?2dae","webpack:///./src/App.vue?1d33","webpack:///./src/auth/api.js","webpack:///./src/organization/CreateEditDialog.vue?84bf","webpack:///./src/components/layouts/DefaultLayout.vue?04fa","webpack:///./src/organization/OrganizationBanner.vue","webpack:///src/organization/OrganizationBanner.vue","webpack:///./src/organization/OrganizationBanner.vue?2ea4","webpack:///./src/organization/OrganizationBanner.vue?1a56","webpack:///./src/components/AppToolbar.vue?7dad","webpack:///./src/components/Loading.vue","webpack:///src/components/Loading.vue","webpack:///./src/components/Loading.vue?aa59","webpack:///./src/components/Loading.vue?58db","webpack:///./src/auth/store.js","webpack:///./src/data/source/transport/api.js","webpack:///./src/service/api.js","webpack:///./src/util/index.js","webpack:///./src/term/api.js","webpack:///./src/components/Loading.vue?ca61","webpack:///./src/incident/type/api.js","webpack:///./src/incident_cost_type/api.js","webpack:///./src/components/layouts/BasicLayout.vue?4efc","webpack:///./src/App.vue","webpack:///./src/mixins/update.js","webpack:///src/App.vue","webpack:///./src/App.vue?2ef9","webpack:///./src/App.vue?315a","webpack:///./src/vuetify/config.js","webpack:///./src/vuetify/index.js","webpack:///./src/registerServiceWorker.js","webpack:///./src/main.js","webpack:///./src/definition/api.js","webpack:///./src/organization/api.js","webpack:///./src/tag/api.js","webpack:///./src/signal/api.js","webpack:///./src/incident/api.js","webpack:///./src/data/query/api.js","webpack:///./src/search/api.js","webpack:///./src/document/api.js","webpack:///./src/data/source/type/api.js","webpack:///./src/case/priority/api.js","webpack:///./src/filters.js","webpack:///./src/document/runbook/store.js","webpack:///./src/components/layouts/DefaultLayout.vue","webpack:///./src/components/AppDrawer.vue","webpack:///src/components/AppDrawer.vue","webpack:///./src/components/AppDrawer.vue?1658","webpack:///./src/components/AppDrawer.vue?f7f9","webpack:///./src/components/AppToolbar.vue","webpack:///./src/auth/ChangePassword.vue","webpack:///src/auth/ChangePassword.vue","webpack:///./src/auth/ChangePassword.vue?9425","webpack:///./src/auth/ChangePassword.vue?a1b9","webpack:///src/components/AppToolbar.vue","webpack:///./src/components/AppToolbar.vue?bdf9","webpack:///./src/components/AppToolbar.vue?095e","webpack:///./src/components/Refresh.vue","webpack:///src/components/Refresh.vue","webpack:///./src/components/Refresh.vue?ec9a","webpack:///./src/components/Refresh.vue?c9c0","webpack:///src/components/layouts/DefaultLayout.vue","webpack:///./src/components/layouts/DefaultLayout.vue?176e","webpack:///./src/components/layouts/DefaultLayout.vue?2a9d","webpack:///./src/components/layouts/DashboardLayout.vue","webpack:///src/components/layouts/DashboardLayout.vue","webpack:///./src/components/layouts/DashboardLayout.vue?98f8","webpack:///./src/components/layouts/DashboardLayout.vue?ce61","webpack:///./src/components/layouts/BasicLayout.vue","webpack:///src/components/layouts/BasicLayout.vue","webpack:///./src/components/layouts/BasicLayout.vue?d490","webpack:///./src/components/layouts/BasicLayout.vue?7511","webpack:///./src/router/config.js","webpack:///./src/auth/pkceAuthProvider.js","webpack:///./src/auth/basicAuthProvider.js","webpack:///./src/auth/customAuthProvider.js","webpack:///./src/auth/userSettings.js","webpack:///./src/router/index.js","webpack:///./src/components/NotificationSnackbarsWrapper.vue","webpack:///src/components/NotificationSnackbarsWrapper.vue","webpack:///./src/components/NotificationSnackbarsWrapper.vue?6d42","webpack:///./src/components/NotificationSnackbarsWrapper.vue?97a4","webpack:///./src/case/api.js","webpack:///./src/tag_type/api.js","webpack:///./src/signal/engagement/api.js","webpack:///./src/components/layouts/DashboardLayout.vue?999d","webpack:///./src/incident/priority/api.js","webpack:///./src/components/AppDrawer.vue?9924","webpack:///./src/document/reference/store.js","webpack:///./src/feedback/incident/api.js","webpack:///./src/app/store.js","webpack:///./src/apiKeys/api.js","webpack:///./src/apiKeys/store.js","webpack:///./src/data/bestpractice/api.js","webpack:///./src/data/bestpractice/store.js","webpack:///./src/case/store.js","webpack:///./src/case/priority/store.js","webpack:///./src/case/severity/store.js","webpack:///./src/case/type/store.js","webpack:///./src/capacity/store.js","webpack:///./src/data/command/api.js","webpack:///./src/data/command/store.js","webpack:///./src/commit/api.js","webpack:///./src/commit/store.js","webpack:///./src/cost_model/api.js","webpack:///./src/cost_model/store.js","webpack:///./src/websocket/curated_content/store.js","webpack:///./src/definition/store.js","webpack:///./src/document/store.js","webpack:///./src/entity/store.js","webpack:///./src/entity_type/store.js","webpack:///./src/feedback/incident/store.js","webpack:///./src/feedback/service/store.js","webpack:///./src/incident/steps/api.js","webpack:///./src/incident/store.js","webpack:///./src/incident_cost_type/store.js","webpack:///./src/incident/priority/store.js","webpack:///./src/incident/severity/store.js","webpack:///./src/incident/type/store.js","webpack:///./src/oncall/handoff/api.js","webpack:///./src/oncall/handoff/store.js","webpack:///./src/oncall/preshift_prep/api.js","webpack:///./src/oncall/preshift_prep/store.js","webpack:///./src/individual/store.js","webpack:///./src/notification/api.js","webpack:///./src/notification/store.js","webpack:///./src/app/notificationStore.js","webpack:///./src/organization/store.js","webpack:///./src/okrs/api.js","webpack:///./src/okrs/store.js","webpack:///./src/entity_type/playground/store.js","webpack:///./src/plugin/store.js","webpack:///./src/project/store.js","webpack:///./src/data/query/store.js","webpack:///./src/search/store.js","webpack:///./src/service/store.js","webpack:///./src/signal/store.js","webpack:///./src/signal/engagement/store.js","webpack:///./src/signal/filter/api.js","webpack:///./src/signal/filter/store.js","webpack:///./src/data/source/store.js","webpack:///./src/data/source/dataFormat/store.js","webpack:///./src/data/source/environment/store.js","webpack:///./src/data/source/status/store.js","webpack:///./src/data/source/transport/store.js","webpack:///./src/data/source/type/store.js","webpack:///./src/tag/store.js","webpack:///./src/tag_type/store.js","webpack:///./src/task/store.js","webpack:///./src/team/api.js","webpack:///./src/team/store.js","webpack:///./src/term/store.js","webpack:///./src/user_limits/store.js","webpack:///./src/user_submissions/api.js","webpack:///./src/user_submissions/store.js","webpack:///./src/user_interactions/store.js","webpack:///./src/data/weblink/api.js","webpack:///./src/data/weblink/store.js","webpack:///./src/webcrawl/store.js","webpack:///./src/workflow/store.js","webpack:///./src/websocket/store.js","webpack:///./src/store.js","webpack:///./src/document/template/store.js","webpack:///./src/plugin/api.js","webpack:///./src/individual/api.js","webpack:///./src/case/type/api.js","webpack:///./src/components/ColorPickerInput.vue","webpack:///src/components/ColorPickerInput.vue","webpack:///./src/components/ColorPickerInput.vue?7e35","webpack:///./src/components/ColorPickerInput.vue?5d4c","webpack:///./src/case/severity/api.js","webpack:///./src/api.js","webpack:///./src/search/utils.js","webpack:///./src/data/source/environment/api.js","webpack:///./src/workflow/api.js","webpack:///./src/task/api.js","webpack:///./src/project/api.js","webpack:///./src/data/source/status/api.js","webpack:///./src/data/source/api.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","resource","getAll","options","API","params","dataFormatId","payload","post","update","put","delete","incidentSeverityId","getAllByType","entityType","getAllByClass","entityClass","entityId","subscribe","daysBack","feedbackId","individualContactId","summarize","projectId","entityTypeId","process","attrs","scopedSlots","fn","_c","staticClass","_vm","_s","model","expression","errors","user","is_pro_team","proxy","valid","banner_color","callback","banner_enabled","on","loading","invalid","_v","render","staticRenderFns","extend","required","components","ColorPickerInput","ValidationObserver","ValidationProvider","computed","mapState","mapFields","methods","mapActions","component","userId","getUserInfo","token","localStorage","getItem","unstruct_anonymous_key","login","email","password","sendVerificationCode","verifyCode","oauthLogin","location","postOauthLogin","changePassword","openEmail","openPhone","currentOrganization","currentFeatureIndex","criticalFeatures","icon","text","path","defaultColor","baseHref","scope","userScope","isTrialActive","plan","trialTimeLeft","free_trial_end","endDate","Date","today","timeDiff","daysLeft","Math","ceil","organizationSlug","pathname","split","mounted","slackInstallLink","host","hostname","linkElement","getElementById","clientId","settingsPath","navigateToSettings","url","$router","phoneNumber","phoneDialer","openSlack","slackChannel","open","subject","body","mailto","encodeURIComponent","openDemo","demoLink","fetchOrganizationData","filterOptions","SearchUtils","createParametersFromTableOptions","itemsPerPage","sortBy","descending","OrganizationApi","response","items","catch","log","waitForTokenToSet","checkToken","created","this","_self","_m","getDefaultSelectedState","id","projects","role","organization_slug","state","currentUser","loggedIn","currentProject","selected","oauthLoading","dialogs","showCreateEdit","table","rows","total","q","page","actions","debounce","commit","UserApi","createEditShow","plugin","closeCreateEdit","save","dispatch","root","remove","loginRedirect","redirectUri","redirectUrl","URL","queryMap","pair","searchParams","entries","router","query","redirect","storedOrg","organization","slug","setItem","finally","logout","removeItem","go","createExpirationCheck","expire_at","subMinutes","fromUnixTime","exp","now","show","differenceInMilliseconds","mutations","updateField","SET_SELECTED","assign","SET_SELECTED_LOADING","SET_TABLE_LOADING","SET_TABLE_ROWS","SET_DIALOG_CREATE_EDIT","RESET_SELECTED","SET_BASIC_LOGIN_LOADING","SET_OAUTH_LOGIN_LOADING","SET_USER_LOGIN","jwt_decode","SET_USER_LOGOUT","SET_USER_PROJECTS","SET_CURRENT_PROJECT","SET_CURRENT_ORGANIZATION","store","route","getters","getField","userAvatarURL","protocol","namespaced","transportId","serviceId","transforms","flatten","require","toggleFullScreen","doc","docEl","documentElement","requestFullScreen","requestFullscreen","mozRequestFullScreen","webkitRequestFullScreen","msRequestFullscreen","cancelFullScreen","exitFullscreen","mozCancelFullScreen","webkitExitFullscreen","msExitFullscreen","fullscreenElement","mozFullScreenElement","webkitFullscreenElement","msFullscreenElement","exportCSV","fileName","opts","parser","Parser","csv","parse","link","click","termId","incidentTypeId","incidentCostTypeId","refreshing","registration","updateExists","appHidden","lastActiveTime","inactivityThreshold","inactivityInterval","addEventListener","updateAvailable","once","navigator","serviceWorker","reload","handleVisibilityChange","updateLastActiveTime","startInactivityCheck","lastVisitTime","currentTime","timeSinceLastVisit","parseInt","toString","beforeDestroy","removeEventListener","clearInterval","detail","refreshApp","waiting","postMessage","isHidden","hidden","timeAwayMs","autoRefreshApp","setInterval","timeInactive","notificationEl","style","position","bottom","right","padding","background","color","borderRadius","boxShadow","zIndex","transition","textContent","Loading","updateTitle","pageTitle","title","provide","isDark","$vuetify","theme","dark","mixins","themes","light","primary","secondary","accent","anchor","info","tips","warning","success","toolbar","background0","background1","background2","gray0","gray1","gray2","gray3","gray4","gray5","gray6","gray7","gray8","gray9","white","borderline","customProperties","Vue","use","Vuetify","register","ready","registered","cached","updatefound","updated","dispatchEvent","CustomEvent","offline","sync","moduleName","config","productionTip","VueClipboard","VueMarkdown","vuetify","h","App","$mount","definitionId","organizationId","tagId","getRecommendations","modelId","signalId","getAllFilters","getAllInstances","getInstances","getInstance","instanceId","addResource","incidentId","getMetricForecast","bulkUpdate","incidents","map","incident","bulkDelete","join","createReport","addComment","createPostmortemReport","getSimilar","createNewEvent","updateEvent","patch","deleteEvent","event_uuid","markStable","markClosed","queryId","search","searchFilterId","getByType","searchFilterType","documentId","typeId","casePriorityId","time_format","filter","formatISO","parseISO","moment","tz","format","localTime","utc","local","diffSeconds","diff","units","unit","seconds","interval","floor","duration","humanize","charAt","toUpperCase","formatter","Intl","NumberFormat","currency","maximumSignificantDigits","word","substring","el","activeRoles","active_roles","renounced_at","formatToUTC","item","individual","resource_type","resource_id","weblink","description","filters","project","evergreen","evergreen_owner","evergreen_reminder_interval","created_at","updated_at","runbookDocumentTypes","showRemove","field","DocumentApi","removeShow","closeRemove","resp","SET_DIALOG_DELETE","mini","_l","$event","toggleMiniNav","group","keys","index","stopPropagation","props","expanded","Boolean","default","drawWidth","Number","String","showFilter","JSON","computeLogo","routes","meta","menu","childrenQueryParams","currentRoute","showChildPane","children","values","$route","matched","menuGroups","groupBy","child","subMenu","metadata","toLowerCase","includes","staticStyle","performSearch","queryString","_u","toggleAppBarVisibility","$$v","showChangePassword","validated","changeUserPassword","isStaging","baseDomain","apps","organizations","isAppBarVisible","OrganizationCreateEditDialog","ChangePasswordDialog","anonymousUser","set","$store","handleDrawerToggle","handleFullScreen","Util","toggleDarkTheme","newTheme","$nextTick","$forceUpdate","switchOrganizations","currentUrl","pathParts","unshift","openApp","upgradeToPaidPlan","mapMutations","AppDrawer","AppToolbar","Refresh","NotificationSnackbarsWrapper","OrganizationBanner","tab","withPrefix","prefix","authPages","publicRoute","BasicLayout","requiresAuth","chatId","chat_id","isSharedView","protectedRoute","DashboardLayout","DefaultLayout","showEditSheet","showChip","chipText","noMenu","requestor","FetchRequestor","to","from","next","VUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_PKCE_CLIENT_ID","openIdConnectUrl","VUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_PKCE_OPEN_ID_CONNECT_URL","useIdToken","VUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_USE_ID_TOKEN","clientSecret","notifier","AuthorizationNotifier","qsUtils","BasicQueryStringUtils","useHash","input","parseQueryString","tokenHandler","BaseTokenRequestHandler","cfg","getCfg","rslv","rej","resolver","AuthorizationServiceConfiguration","fetchFromIssuer","authorizationHandler","RedirectRequestHandler","LocalStorageBackend","setAuthorizationNotifier","setAuthorizationListener","req","TokenRequest","client_id","redirect_uri","grant_type","GRANT_TYPE_AUTHORIZATION_CODE","extras","code_verifier","internal","client_secret","performTokenRequest","accessToken","idToken","completeAuthorizationRequestIfPossible","some","record","fullPath","AuthorizationRequest","response_type","RESPONSE_TYPE_CODE","performAuthorizationRequest","loginPath","load","currentPath","concat","Router","linkActiveClass","authProviderSlug","originalPush","hasQueryParams","onResolve","onReject","isNavigationFailure","beforeEach","part","hash","replace","urlOrg","isNavigationDifferent","stringify","auth","targetOrg","userSettings","basicAuthProvider","pkceAuthProvider","customAuthProvider","afterEach","notification","notificationQueue","indexed","notifications","queueLength","hasPending","watch","deep","handler","newNot","reset","setSeen","showNext","setBackendNotificationSeen","removeBackendNotification","caseId","getProbableCause","escalate","cases","case_obj","tagTypeId","signalEngagementId","incidentPriorityId","referenceDocumentTypes","documentTypes","resourceTypes","op","template","participantId","getDefaulRefreshState","toggleDrawer","refresh","performRefresh","setLoading","TOGGLE_DRAWER","SET_REFRESH","SET_LOADING","RESET_REFRESH","ApiKeyId","generateApiKey","ApiKeysApi","apiKey","PracticeId","count","BestPracticesApi","bestpractice","assignee","case_priority","case_severity","case_type","closed_at","custom_fields","documents","escalated_at","conversation","events","groups","reported_at","resolution_reason","resolution","signals","status","storage","storycurve_sketch_id","storycurve_url","tags","ticket","triage_at","visibility","workflow_instances","getDefaultReportState","showDeleteDialog","showEscalateDialog","showExport","showHandoffDialog","showClosedDialog","showNewSheet","report","tag_type","start","end","bulkEditLoading","tableOptions","CaseApi","comment","getDetails","and","closeNewSheet","closeEditSheet","resetSelected","closeDeleteDialog","closeEscalateDialog","closeHandoffDialog","closeClosedDialog","closeExport","conference","saveBulk","deleteBulk","deleteCase","SET_DIALOG_SHOW_EDIT_SHEET","SET_DIALOG_SHOW_NEW_SHEET","SET_DIALOG_SHOW_EXPORT","SET_DIALOG_SHOW_HANDOFF","SET_DIALOG_SHOW_CLOSED","SET_DIALOG_ESCALATE","SET_BULK_EDIT_LOADING","page_assignee","enabled","view_order","sla","CasePriorityApi","casePriority","CaseSeverityApi","caseSeverity","case_template_document","exclude_from_metrics","incident_type","oncall_service","plugin_metadata","storycurve_logging_enabled","conversation_target","CaseTypeApi","caseType","commandId","command_text","CommandApi","command","copyToClipboardSuccess","commitId","commit_id","commit_message","commit_author","commit_date","repository_url","repository_name","repository_branch","source","sync_completed","sync_completed_at","CommitApi","commitData","costModelId","activities","showActivity","CostModelApi","incidentCostModel","createActivityShow","closeActivity","SET_DIALOG_EDIT","SET_DIALOG_ACTIVITY","trendingContent","selectedPlatform","isLoading","SET_TRENDING_CONTENT","content","SET_SELECTED_PLATFORM","platform","SET_ERROR","setSelectedPlatform","formattedContent","timeAgo","getTimeAgo","timestamp","past","minutes","hours","days","terms","DefinitionApi","definition","regular_expression","jpath","signal_instances","showCaseView","EntityApi","entity","createCaseShow","closeCreateEditDialog","entity_id","SET_DIALOG_CASE_VIEW","EntityTypeApi","entity_type","feedback","participant","rating","FeedbackApi","_state$selected$parti","getsummarizeFeedback","service","individual_contact","ServiceFeedbackApi","_state$selected$indiv","getIncidentSteps","updateIncidentStep","stepId","getStepAiSummary","commander","commander_email","custom_checklist","entities","incident_costs","incident_priority","incident_severity","participants","queries","reporter","postmortems","services","stable_at","statuspage","statuspage_id","unstatus_url","tasks","steps","weblinks","currentEvent","tactical","conditions","needs","executive","current_status","overview","next_steps","showReportDialog","showEditEventDialog","showDeleteEventDialog","showStepAiSummaryDialog","timeline_filters","field_updates","assessment_updates","context_updates","user_curated_events","participant_updates","other_events","notification_events","ai_generated_events","resource_updates","step_updates","task_updates","conversation_events","currentFilter","updateLoading","stepLoading","stepAiSummaryLoading","stepAiSummary","IncidentApi","updateStep","StepsApi","step","reduce","task","closeReportDialog","likeIncident","dislikeIncident","closeEditEventDialog","showNewPreEventDialog","started_at","newStartedAt","add","toISOString","currentEventPayload","showNewEventDialog","togglePin","pinned","closeDeleteEventDialog","storeNewEvent","details","updateExistingEvent","uuid","deleteIncident","joinIncident","subscribeToIncident","addIncidentCost","ADD_RESOURCE_TO_INCIDENT","resources","removeIncidentCost","idx","SET_DIALOG_SHOW_STEP_AI_SUMMARY","SET_DIALOG_EDIT_EVENT","SET_DIALOG_DELETE_EVENT","SET_DIALOG_REPORT","SET_AI_STEP_SUMMARY","SET_STEP_LOADING","SET_STEP_AI_SUMMARY_LOADING","SET_SLA_REMINDER_LOADING","slaReminderLoading","UPDATE_CURRENT_EVENT","UPDATE_TASK_STATUS","find","taskId","newStatus","SET_UPDATE_INCIDENT_LOADING","UPDATE_INCIDENT_WITH_RESOURCE","updatedIncident","UPDATE_STEP","stepIndex","findIndex","category","editable","IncidentCostTypeApi","incidentCostType","executive_report_reminder","page_commander","page_liaison","page_scribe","tactical_report_reminder","create_incident_postmortem","create_ai_summaries_in_background","require_manual_confirmation_for_incident_actions","enable_opsgpt_incident_copilot","unleash_opsgpt_incident_copilot","enable_opsgpt_incident_copilot_for_tasks","auto_add_participants_based_on_ai_generated_tags","auto_add_follow_ups_from_recording_transcript","auto_add_tasks_from_recording_transcript","auto_post_to_status_page","auto_schedule_postmortem_meeting","IncidentPriorityApi","incidentPriority","IncidentSeverityApi","incidentSeverity","incident_template_document","tracking_template_document","review_template_document","executive_template_document","postmortem_custom_fields","repo_urls","IncidentTypeApi","incidentType","HandoffId","handover_from","handover_to","start_time","end_time","shift_type","location_type","location_details","critical_ongoing_issues","tasks_completed","pending_tasks","mentions","tools_and_access","handoff_completed","OncallHandoffApi","oncallhandoff","PreshiftPrepId","sent","sent_at","accepted","accepted_at","handshake_completed","OncallPreshiftPrepAPI","oncallpreshiftprep","company","notes","external_id","is_external","is_active","IndividualApi","notificationId","NotificationApi","getBackendNotifications","addBeNotification","removeBeNotification","removeAllBeNotifications","setBeNotificationSeen","addBackendNotification","removeAllBackendNotifications","banner_text","custom_plan","free_trial_start","showCreateEditDialog","key_results","progress","async","OKRsApi","pattern","updatePattern","updateJsonPath","configuration","configuration_schema","plugin_instance","effectiveConfiguration","generateInitialConfiguration","setInitialConfiguration","schema","PluginApi","updateInstance","createInstance","deleteInstance","properties","forEach","setConfiguration","custom_ttp_patterns","annual_employee_cost","business_year_hours","owner_email","owner_conversation","items_per_page","galaxies","ProjectApi","orgSlug","savedProject","getUserProjects","SET_GALAXIES","language","QueryApi","individuals","teams","previewRows","previewRowsLoading","results","sources","commands","commits","webcrawls","conversations","conferences","tickets","eccs_projects","text_submissions","file_submissions","youtube_transcript_submissions","showCreate","SearchApi","setQuery","setModels","models","getResults","showCreateDialog","closeCreateDialog","search_filter","SET_RESULTS","SET_QUERY","SET_MODELS","SET_DIALOG_SHOW_CREATE","health_metrics","ServiceApi","variant","owner","external_url","engagements","entity_types","signal_definition","create_case","workflows","showRawSignalDialog","instanceTable","signal","SignalApi","SET_INSTANCE_TABLE_LOADING","SET_INSTANCE_TABLE_ROWS","require_mfa","SignalEngagementApi","signalFilterId","action","expiration","SignalFilterApi","retention","source_environment","source_status","source_type","source_transport","source_data_format","size","aggregated","delay","documentation","data_last_loaded_at","sampling_rate","sample_log","cost","links","alerts","SourceApi","DataFormatApi","environment","EnvironmentApi","StatusApi","TransportApi","transport","TypeApi","uri","discoverable","TagApi","Tag","exclusive","TagTypeApi","tagType","resolved_at","resolve_by","creator","assignees","priority","reminders","TaskApi","markResolved","markOpen","SET_UPDATE_TASK_LOADING","teamId","TeamApi","team","definitions","showDefinition","TermApi","term","closeDefinition","SET_DIALOG_SHOW_DEFINITION","limits","SET_LIMITS","fetchLimits","rootState","socket","readyState","WebSocket","OPEN","send","receiveLimits","getUserLimits","hasError","textSubmissions","fileSubmissions","youtubeTranscriptSubmissions","eccsProjects","SET_TEXT_SUBMISSIONS","submissions","SET_FILE_SUBMISSIONS","SET_YOUTUBE_TRANSCRIPT_SUBMISSIONS","SET_ECCS_PROJECTS","ADD_FILE_SUBMISSION","submission","fetchSubmissions","project_id","receiveSubmissions","file","eccsProjectId","buildIndex","sensitivityLevel","reader","FileReader","readAsDataURL","base64File","fileType","fileContent","eccs_project_id","handleResponse","wsResponse","submission_id","getError","getFileSubmissions","getSubmissionsByEccsProject","getAllSubmissions","likedMessagesProcessing","SET_LIKED_MESSAGES_PROCESSING","messages","fetchLikedMessagesProcessing","receiveLikedMessagesProcessing","messageData","LinkId","WebLinksApi","parameters","case","getDefaultSelectedInstanceState","run_reason","workflow","selectedInstance","showRun","WorkflowApi","closeRun","run","SET_SELECTED_INSTANCE","SET_SELECTED_INSTANCE_LOADING","SET_DIALOG_RUN","SET_SELECTED_INSTANCE_CASE","SET_SELECTED_INSTANCE_INCIDENT","SET_SELECTED_INSTANCE_SIGNAL","RESET_SELECTED_INSTANCE","activeObject","activeObjectContent","objectId","shouldPrependBAO","currentUniverse","tempMessage","is_pro","subscription_status","subscription_end_date","currentGalaxyName","currentUniverseName","showTempMessage","subscriptionLoading","SET_SUBSCRIPTION_LOADING","SET_USER","SET_TEMP_MESSAGE","SET_SHOW_TEMP_MESSAGE","SET_ACTIVE_OBJECT","SET_ACTIVE_OBJECT_CONTENT","SET_OBJECT_CONTENT","RESET_ACTIVE_OBJECT","RESET_ACTIVE_OBJECT_CONTENT","SET_SHOULD_PREPEND_BAO","shouldPrepend","SET_CURRENT_UNIVERSE","SET_CURRENT_GALAXY_NAME","SET_CURRENT_UNIVERSE_NAME","planType","_auth_store$state$cur","headers","auth_store","anonymousKey","fetch","method","ok","json","checkout_url","fetchUserInfo","showTempMessageFn","finalMessage","finalType","finalTimeout","switchUniverse","updateCurrentGalaxy","galaxyName","updateCurrentUniverse","universeName","setActiveObject","current_route","fetchObjectContent","cacheKey","object_type","object_id","is_shared_view","resetActiveObject","resetActiveObjectContent","toggleBAOPrepend","resetBAOState","Vuex","Store","SET_SOCKET","admin_settings","app","apiKeys","case_management","capacity","cost_model","curated_content","incident_feedback","service_feedback","oncall_handoff","oncall_preshift_prep","incident_cost_type","notification_backend","okrs","playground","reference","runbook","sourceDataFormat","sourceEnvironment","sourceStatus","sourceTransport","sourceType","signalEngagement","signalFilter","user_limits","user_submissions","user_interactions","webcrawl","websocket","strict","templateDocumentTypes","getAllPluginEvents","individualId","caseTypeId","swatchStyle","label","$emit","backgroundColor","cursor","height","width","caseSeverityId","instance","axios","baseURL","VUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_SLUG","interceptors","res","errorHandle","errorText","msg","toPascalCase","str","RegExp","$1","$2","$3","mapQueryParamsToTableOptions","queryParams","Array","isArray","each","mapTableOptionsToQueryParams","rawFilters","createFilterExpression","iterator","filterExpression","subFilter","has","or","environmentId","workflowId","workflowInstanceId","statusId","sourceId"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAGnBC,EAA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,EAAMkiC,mBAE5CsD,eAAc,OAAEzkC,EAAM,SAAEM,IACpBN,EAAO,oBAAqB,CAAE9N,KAAM,KAAM2M,GAAI,OAC9CmB,EAAO,0BAA0B,GACjCM,EAAS,4BACTA,EAAS,wBClKrB6K,aAAIC,IAAIs5B,QAEO,WAAIA,OAAKC,MAAM,CAC5B1lC,MAAO,CACL89B,OAAQ,MAEV36B,UAAW,CACTwiC,WAAW3lC,EAAO89B,GAChB99B,EAAM89B,OAASA,IAGnBptC,QAAS,CACPk1C,mBACAC,MACAC,UACAvoB,YACAoD,eACAolB,kBACAllB,gBACAC,iBACAC,aACAilB,YACApgB,WACA7kB,UACAklC,cACAC,mBACA3d,cACA/1B,YACAq2B,UACAM,eACA/1B,WACA+yC,qBACAC,oBACAC,kBACAC,wBACA73B,YACA83B,sBACAhc,qBACAC,qBACAtF,iBACAjT,cACA6L,gBACA0oB,wBACApkC,gBACAqkC,QACAC,cACAxlC,UACAqR,WACAtQ,SACA0kC,kBACAtiC,MAAO,CACLK,YAAY,EACZJ,QAAS,CACPC,kBAGJqiC,gBACAp3B,UACAka,WACApD,UACAugB,oBACAC,qBACAC,gBACAC,mBACAC,cACAnN,UACAoN,oBACAC,gBACAz0C,OACAkwB,YACA4K,QACA2P,QACA1d,iBACA8d,QACAvb,YACA5P,WACA8uB,YACA9f,kBACAyC,gBACAujB,eACAC,oBACAC,qBACAC,YACAC,cAEFC,QAAQnvC,K,kICvJV,MAAMqH,EAA0BA,KACvB,CACLgT,WAAY,KACZN,YAAa,KACbG,UAAW,KACXC,gBAAiB,KACjBC,4BAA6B,KAC7BJ,QAAS,GACT1S,GAAI,KACJ9K,KAAM,KACNyd,QAAS,KACTJ,YAAa,KACbD,cAAe,KACfU,WAAY,KACZR,QAAS,KACT3Y,SAAS,IAIAiuC,EAAwB,CACnC,CACEx1B,cAAe,kCACflI,MAAO,MACPqI,YAAa,4BACbvW,KAAM,kCAER,CACEoW,cAAe,sCACflI,MAAO,MACPqI,YAAa,4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D,OAAII,KAAK,IAAIP,EAAYM,GACvB2D,EACF9D,OAAII,KAAK,IAAIP,eAAsBiE,IAA0B3D,GAE7DlF,QAAQE,OAAO,IAAIqB,MAAM,kDAIpC6D,OAAOc,EAAWhB,GAChB,OAAOH,OAAIM,IAAI,IAAIT,KAAYsB,IAAahB,IAG9CI,OAAOY,GACL,OAAOnB,OAAIO,OAAO,IAAIV,KAAYsB,Q,uDC7DtC,gBAEA,MAAMtB,EAAW,yBAEF,QACbC,OAAOC,GACL,OAAOC,OAAIxB,IAAI,GAAGqB,EAAY,CAAEI,OAAQ,IAAKF,MAG/CvB,IAAI40C,GACF,OAAOpzC,OAAIxB,IAAI,GAAGqB,KAAYuzC,MAGhCn0C,OAAOkB,GACL,OAAOH,OAAII,KAAK,GAAGP,EAAYM,IAGjCE,OAAO+yC,EAAUjzC,GACf,OAAOH,OAAIM,IAAI,GAAGT,KAAYuzC,IAAYjzC,IAG5CI,OAAO6yC,GACL,OAAOpzC,OAAIO,OAAO,GAAGV,KAAYuzC,Q,kCCtBrC,gBAEA,MAAMvzC,EAAW,gBAEF,QACbC,OAAOC,GACL,OAAOC,OAAIxB,IAAI,GAAGqB,EAAY,CAAEI,OAAQ,IAAKF,MAG/CvB,IAAI60C,GACF,OAAOrzC,OAAIxB,IAAI,GAAGqB,KAAYwzC,MAGhCp0C,OAAOkB,GACL,OAAOH,OAAII,KAAK,GAAGP,EAAYM,IAGjCE,OAAOgzC,EAAUlzC,GACf,OAAOH,OAAIM,IAAI,GAAGT,KAAYwzC,IAAYlzC,IAG5CI,OAAO8yC,GACL,OAAOrzC,OAAIO,OAAO,GAAGV,KAAYwzC","file":"static/js/app.6948463f.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"static/js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-1013d70c\":\"64492278\",\"chunk-1d9981d0\":\"a3947807\",\"chunk-2d2084f8\":\"ecf589a6\",\"chunk-2d2250bf\":\"f0d40bc3\",\"chunk-41bb7044\":\"c8b81bc8\",\"chunk-50b02cb0\":\"0720cd37\",\"chunk-618d2840\":\"4ec10781\",\"chunk-677de8a0\":\"36ca500c\",\"chunk-6acef1f3\":\"cd5eee3d\",\"chunk-72e74c99\":\"385260e9\",\"chunk-75ff5eca\":\"59a078dd\",\"chunk-7890c5d2\":\"0fd7edf7\",\"chunk-ad566b0e\":\"9bd419f2\",\"chunk-6a37a30c\":\"58e9d3c3\",\"chunk-be48d120\":\"7602c03b\",\"chunk-bf3ad5e4\":\"f024230d\",\"chunk-0295e732\":\"40ecfae3\",\"chunk-6ca4729a\":\"872306ef\",\"chunk-f5d52824\":\"c843508f\",\"chunk-45e14644\":\"9e985dc7\",\"chunk-69bae2dd\":\"6d0b5ea2\",\"chunk-d4178704\":\"e05f8034\",\"chunk-09ff1f24\":\"ddc70310\",\"chunk-1e2c2924\":\"829813b5\",\"chunk-314ecf59\":\"f0ed98f8\",\"chunk-82e30c1c\":\"9ca3351e\",\"chunk-d8c6ac52\":\"bdebc6b7\",\"chunk-fdec5420\":\"ac0c22d4\",\"chunk-38355034\":\"af85b1e7\",\"chunk-4afd0d44\":\"6708068b\",\"chunk-510d4593\":\"a20919e1\",\"chunk-7aef2b20\":\"38d212be\",\"chunk-18d2fa4a\":\"8ce05d1f\",\"chunk-302a4037\":\"c6527be6\",\"chunk-6e63a0e6\":\"42f0ab0f\",\"chunk-9f92fe38\":\"8e508029\",\"chunk-3253b9cc\":\"c45395a5\",\"chunk-33a3ea8c\":\"2591fba4\",\"chunk-3cee3cc2\":\"6ede6105\",\"chunk-41011464\":\"ce0d72ec\",\"chunk-434d43a8\":\"2165c244\",\"chunk-4c7690cf\":\"3300dff1\",\"chunk-52396848\":\"0d688ae9\",\"chunk-55311af2\":\"e0b32a23\",\"chunk-5a0e42d0\":\"66417fae\",\"chunk-61859bf8\":\"dcc54508\",\"chunk-6965c585\":\"934e9c0c\",\"chunk-6f996c63\":\"c0d3639d\",\"chunk-30e07a46\":\"de1ba8a7\",\"chunk-2bcc5bd6\":\"a7a68c97\",\"chunk-14cae2aa\":\"6b9edb9e\",\"chunk-1cdb3e85\":\"c7f8f3e5\",\"chunk-3b267d72\":\"34cac80f\",\"chunk-5b01e8eb\":\"be61d712\",\"chunk-5cbc67f2\":\"b46b9b5f\",\"chunk-93e62ac4\":\"1097aaf1\",\"chunk-a845cdd2\":\"995d627d\",\"chunk-07400428\":\"9177baa2\",\"chunk-1334e85a\":\"2d513392\",\"chunk-1345c626\":\"a86bbfbd\",\"chunk-3dbd9489\":\"425baf35\",\"chunk-429634e0\":\"c803e808\",\"chunk-477b061c\":\"fa338c6d\",\"chunk-698908a1\":\"978cdf51\",\"chunk-8cc26ad8\":\"0948f0be\",\"chunk-93c1638a\":\"ed56945b\",\"chunk-aacd91aa\":\"2625b913\",\"chunk-d1afc45e\":\"61b58d39\",\"chunk-7b43cb45\":\"225b0168\",\"chunk-9090fdc6\":\"1335cefb\",\"chunk-71e9bbae\":\"423b2eb8\",\"chunk-bb5eec40\":\"e635fa7d\",\"chunk-f617404e\":\"d133d502\",\"chunk-6fa92e35\":\"2cecac43\",\"chunk-881a1ccc\":\"bbaef924\",\"chunk-c0fade84\":\"b11541ad\",\"chunk-11177040\":\"25578d61\",\"chunk-2d0e4599\":\"9986468f\",\"chunk-4fbfab43\":\"4e769308\",\"chunk-704ec494\":\"d644436b\",\"chunk-72bd5554\":\"fea16667\",\"chunk-73179cd4\":\"27c33756\",\"chunk-81837558\":\"0908ed3e\",\"chunk-8d04ae82\":\"5fd23619\",\"chunk-b91193ea\":\"a2a4e0c2\",\"chunk-cc5608d2\":\"fc0b8385\",\"chunk-52950b68\":\"e404e87f\",\"chunk-071db4b0\":\"a94c4325\",\"chunk-19efb1ca\":\"e548dcb7\",\"chunk-2ac8021e\":\"e239c21f\",\"chunk-d4855c94\":\"5623a2e6\",\"chunk-76d37b86\":\"63821802\",\"chunk-7ad4492e\":\"a8e03bf5\",\"chunk-803b0aea\":\"3aa135b3\",\"chunk-d60021ca\":\"a1c4a920\",\"chunk-c1058d62\":\"e928cae9\",\"chunk-69085dfe\":\"70fd0750\",\"chunk-31bae27d\":\"97259003\",\"chunk-2d0c1ed0\":\"a709773d\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-1013d70c\":1,\"chunk-1d9981d0\":1,\"chunk-41bb7044\":1,\"chunk-50b02cb0\":1,\"chunk-618d2840\":1,\"chunk-6acef1f3\":1,\"chunk-72e74c99\":1,\"chunk-75ff5eca\":1,\"chunk-7890c5d2\":1,\"chunk-be48d120\":1,\"chunk-bf3ad5e4\":1,\"chunk-0295e732\":1,\"chunk-45e14644\":1,\"chunk-69bae2dd\":1,\"chunk-09ff1f24\":1,\"chunk-1e2c2924\":1,\"chunk-314ecf59\":1,\"chunk-82e30c1c\":1,\"chunk-38355034\":1,\"chunk-4afd0d44\":1,\"chunk-510d4593\":1,\"chunk-18d2fa4a\":1,\"chunk-302a4037\":1,\"chunk-6e63a0e6\":1,\"chunk-9f92fe38\":1,\"chunk-3253b9cc\":1,\"chunk-33a3ea8c\":1,\"chunk-3cee3cc2\":1,\"chunk-41011464\":1,\"chunk-434d43a8\":1,\"chunk-4c7690cf\":1,\"chunk-52396848\":1,\"chunk-55311af2\":1,\"chunk-5a0e42d0\":1,\"chunk-61859bf8\":1,\"chunk-6965c585\":1,\"chunk-6f996c63\":1,\"chunk-30e07a46\":1,\"chunk-2bcc5bd6\":1,\"chunk-5b01e8eb\":1,\"chunk-a845cdd2\":1,\"chunk-07400428\":1,\"chunk-1334e85a\":1,\"chunk-1345c626\":1,\"chunk-3dbd9489\":1,\"chunk-429634e0\":1,\"chunk-477b061c\":1,\"chunk-698908a1\":1,\"chunk-8cc26ad8\":1,\"chunk-93c1638a\":1,\"chunk-aacd91aa\":1,\"chunk-d1afc45e\":1,\"chunk-7b43cb45\":1,\"chunk-9090fdc6\":1,\"chunk-71e9bbae\":1,\"chunk-bb5eec40\":1,\"chunk-f617404e\":1,\"chunk-6fa92e35\":1,\"chunk-881a1ccc\":1,\"chunk-c0fade84\":1,\"chunk-11177040\":1,\"chunk-4fbfab43\":1,\"chunk-704ec494\":1,\"chunk-72bd5554\":1,\"chunk-81837558\":1,\"chunk-8d04ae82\":1,\"chunk-b91193ea\":1,\"chunk-cc5608d2\":1,\"chunk-52950b68\":1,\"chunk-071db4b0\":1,\"chunk-76d37b86\":1,\"chunk-7ad4492e\":1,\"chunk-803b0aea\":1,\"chunk-d60021ca\":1,\"chunk-c1058d62\":1,\"chunk-69085dfe\":1,\"chunk-31bae27d\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"static/css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-1013d70c\":\"0ee31d70\",\"chunk-1d9981d0\":\"db8dad1c\",\"chunk-2d2084f8\":\"31d6cfe0\",\"chunk-2d2250bf\":\"31d6cfe0\",\"chunk-41bb7044\":\"d9494cc8\",\"chunk-50b02cb0\":\"d0465dbe\",\"chunk-618d2840\":\"2eac2729\",\"chunk-677de8a0\":\"31d6cfe0\",\"chunk-6acef1f3\":\"fc05d1c4\",\"chunk-72e74c99\":\"f4b6e204\",\"chunk-75ff5eca\":\"1a32de04\",\"chunk-7890c5d2\":\"d279712f\",\"chunk-ad566b0e\":\"31d6cfe0\",\"chunk-6a37a30c\":\"31d6cfe0\",\"chunk-be48d120\":\"6459e31e\",\"chunk-bf3ad5e4\":\"95b2da5b\",\"chunk-0295e732\":\"b88dd80f\",\"chunk-6ca4729a\":\"31d6cfe0\",\"chunk-f5d52824\":\"31d6cfe0\",\"chunk-45e14644\":\"aa1eb215\",\"chunk-69bae2dd\":\"a761ba40\",\"chunk-d4178704\":\"31d6cfe0\",\"chunk-09ff1f24\":\"84db8718\",\"chunk-1e2c2924\":\"b88dd80f\",\"chunk-314ecf59\":\"a3f11e7b\",\"chunk-82e30c1c\":\"ace80c4f\",\"chunk-d8c6ac52\":\"31d6cfe0\",\"chunk-fdec5420\":\"31d6cfe0\",\"chunk-38355034\":\"b88dd80f\",\"chunk-4afd0d44\":\"b11fac4f\",\"chunk-510d4593\":\"dbb07460\",\"chunk-7aef2b20\":\"31d6cfe0\",\"chunk-18d2fa4a\":\"b88dd80f\",\"chunk-302a4037\":\"0f93a9c9\",\"chunk-6e63a0e6\":\"ace80c4f\",\"chunk-9f92fe38\":\"416b0b22\",\"chunk-3253b9cc\":\"b88dd80f\",\"chunk-33a3ea8c\":\"b88dd80f\",\"chunk-3cee3cc2\":\"b88dd80f\",\"chunk-41011464\":\"dd4ca5f0\",\"chunk-434d43a8\":\"b88dd80f\",\"chunk-4c7690cf\":\"b88dd80f\",\"chunk-52396848\":\"fad5b71b\",\"chunk-55311af2\":\"dd4ca5f0\",\"chunk-5a0e42d0\":\"b88dd80f\",\"chunk-61859bf8\":\"b88dd80f\",\"chunk-6965c585\":\"b88dd80f\",\"chunk-6f996c63\":\"91694703\",\"chunk-30e07a46\":\"0d432b04\",\"chunk-2bcc5bd6\":\"399f412a\",\"chunk-14cae2aa\":\"31d6cfe0\",\"chunk-1cdb3e85\":\"31d6cfe0\",\"chunk-3b267d72\":\"31d6cfe0\",\"chunk-5b01e8eb\":\"6f613a07\",\"chunk-5cbc67f2\":\"31d6cfe0\",\"chunk-93e62ac4\":\"31d6cfe0\",\"chunk-a845cdd2\":\"0adf0e6f\",\"chunk-07400428\":\"36c96d8e\",\"chunk-1334e85a\":\"ed73be3c\",\"chunk-1345c626\":\"5ac20b24\",\"chunk-3dbd9489\":\"44964e6f\",\"chunk-429634e0\":\"5091106e\",\"chunk-477b061c\":\"c4391951\",\"chunk-698908a1\":\"bec7fdfa\",\"chunk-8cc26ad8\":\"ac08b3a5\",\"chunk-93c1638a\":\"b525b47b\",\"chunk-aacd91aa\":\"ac08b3a5\",\"chunk-d1afc45e\":\"f39a9994\",\"chunk-7b43cb45\":\"dd4ca5f0\",\"chunk-9090fdc6\":\"591ee5c0\",\"chunk-71e9bbae\":\"aa73cad2\",\"chunk-bb5eec40\":\"dd4ca5f0\",\"chunk-f617404e\":\"b6e33bfb\",\"chunk-6fa92e35\":\"8c6d8f28\",\"chunk-881a1ccc\":\"9d54024a\",\"chunk-c0fade84\":\"fceb6411\",\"chunk-11177040\":\"424477c5\",\"chunk-2d0e4599\":\"31d6cfe0\",\"chunk-4fbfab43\":\"d9b1c0e9\",\"chunk-704ec494\":\"a668506a\",\"chunk-72bd5554\":\"b88dd80f\",\"chunk-73179cd4\":\"31d6cfe0\",\"chunk-81837558\":\"b88dd80f\",\"chunk-8d04ae82\":\"dd4ca5f0\",\"chunk-b91193ea\":\"b88dd80f\",\"chunk-cc5608d2\":\"b88dd80f\",\"chunk-52950b68\":\"f277658e\",\"chunk-071db4b0\":\"d7447d31\",\"chunk-19efb1ca\":\"31d6cfe0\",\"chunk-2ac8021e\":\"31d6cfe0\",\"chunk-d4855c94\":\"31d6cfe0\",\"chunk-76d37b86\":\"70a72c2f\",\"chunk-7ad4492e\":\"95119187\",\"chunk-803b0aea\":\"b88dd80f\",\"chunk-d60021ca\":\"02114a8b\",\"chunk-c1058d62\":\"6203e7a8\",\"chunk-69085dfe\":\"f68058ba\",\"chunk-31bae27d\":\"59213360\",\"chunk-2d0c1ed0\":\"31d6cfe0\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import API from \"@/api\"\n\nconst resource = \"/data/sources/dataFormats\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(dataFormatId) {\n return API.get(`${resource}/${dataFormatId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(dataFormatId, payload) {\n return API.put(`${resource}/${dataFormatId}`, payload)\n },\n\n delete(dataFormatId) {\n return API.delete(`${resource}/${dataFormatId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/incident_severities\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n get(incidentSeverityId) {\n return API.get(`${resource}/${incidentSeverityId}`)\n },\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n update(incidentSeverityId, payload) {\n return API.put(`${resource}/${incidentSeverityId}`, payload)\n },\n delete(incidentSeverityId) {\n return API.delete(`${resource}/${incidentSeverityId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/entity\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n getAllByType(entityType, options) {\n return API.get(`${resource}/type/${entityType}`, { params: { ...options } })\n },\n\n getAllByClass(entityClass, options) {\n return API.get(`${resource}/class/${entityClass}`, {\n params\n : { ...options }\n })\n },\n\n get(entityId) {\n return API.get(`${resource}/${entityId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(entityId, payload) {\n return API.put(`${resource}/${entityId}`, payload)\n },\n\n delete(entityId) {\n return API.delete(`${resource}/${entityId}`)\n },\n\n subscribe(entityId) {\n return API.post(`${resource}/${entityId}/subscribe`)\n },\n\n async getCases(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/cases/${daysBack}`)\n },\n\n async getIncidents(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/incidents/${daysBack}`)\n },\n\n async getSignalInstances(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/signal_instances/${daysBack}`)\n },\n\n async getCommits(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/commits/${daysBack}`)\n },\n\n async getTickets(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/tickets/${daysBack}`)\n },\n\n async getIndividuals(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/individuals/${daysBack}`)\n },\n\n async getConversations(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/conversations/${daysBack}`)\n },\n\n async getDocuments(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/documents/${daysBack}`)\n },\n\n async getTasks(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/tasks/${daysBack}`)\n },\n\n async getConferences(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/conferences/${daysBack}`)\n },\n async getWeblinks(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/weblinks/${daysBack}`)\n },\n async getEmails(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/emails/${daysBack}`)\n },\n async getECCSProjects(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/eccs_projects/${daysBack}`)\n },\n async getTextSubmissions(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/text_submissions/${daysBack}`)\n },\n async getFileSubmissions(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/file_submissions/${daysBack}`)\n },\n async getYouTubeTranscripts(entityId, daysBack) {\n return await API.get(`${resource}/${entityId}/youtube_transcripts/${daysBack}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/servicefeedback\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(feedbackId) {\n return API.get(`${resource}/${feedbackId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(feedbackId, payload) {\n return API.put(`${resource}/${feedbackId}`, payload)\n },\n\n delete(feedbackId, individualContactId) {\n return API.delete(`${resource}/${feedbackId}/${individualContactId}`)\n },\n summarize(projectId) {\n return API.get(`${resource}/summarize/${projectId}`)\n }\n}\n","import API from \"@/api\"\n\nconst resource = \"/entity_type\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(entityTypeId) {\n return API.get(`${resource}/${entityTypeId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(entityTypeId, payload) {\n return API.put(`${resource}/${entityTypeId}`, payload)\n },\n\n process(entityTypeId, payload) {\n return API.put(`${resource}/${entityTypeId}/process`, payload)\n },\n\n delete(entityTypeId) {\n return API.delete(`${resource}/${entityTypeId}`)\n },\n\n async getCases(entityTypeId, daysBack) {\n return await API.get(`${resource}/${entityTypeId}/cases/${daysBack}`)\n },\n\n async getIncidents(entityTypeId, daysBack) {\n return await API.get(`${resource}/${entityTypeId}/incidents/${daysBack}`)\n },\n\n async getSignalInstances(entityTypeId, daysBack) {\n return await API.get(`${resource}/${entityTypeId}/signal_instances/${daysBack}`)\n },\n\n async getCommits(entityTypeId, daysBack) {\n return await API.get(`${resource}/${entityTypeId}/commits/${daysBack}`)\n },\n async getTickets(entityTypeId, daysBack) {\n return await API.get(`${resource}/${entityTypeId}/tickets/${daysBack}`)\n }\n}\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrganizationBanner.vue?vue&type=style&index=0&id=1560d4b9&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"800px\"},model:{value:(_vm.showCreateEdit),callback:function ($$v) {_vm.showCreateEdit=$$v},expression:\"showCreateEdit\"}},[_c('ValidationObserver',{attrs:{\"slim\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ invalid }){return [_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_vm._v(\" \"+_vm._s(_vm.id ? 'Edit Universe' : 'Create a new universe')+\" \")]),_c('v-card-text',[_c('p',{staticClass:\"text--secondary mb-4\"},[_vm._v(\" Universes represent the top-level in your hierarchy. You'll be able to bundle a collection of galaxies within an organization. \")]),_c('ValidationProvider',{attrs:{\"name\":\"Name\",\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, valid }){return [_c('v-text-field',{attrs:{\"label\":\"Name\",\"hint\":\"A name for your organization. Note: it can't be modified once the organization has been created.\",\"error-messages\":errors,\"success\":valid,\"disabled\":!!_vm.id,\"outlined\":\"\",\"dense\":\"\",\"required\":\"\"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:\"name\"}})]}}],null,true)}),_c('ValidationProvider',{attrs:{\"name\":\"Description\",\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, valid }){return [_c('v-textarea',{attrs:{\"label\":\"Description\",\"hint\":\"A short description for your organization.\",\"error-messages\":errors,\"success\":valid,\"outlined\":\"\",\"dense\":\"\",\"auto-grow\":\"\",\"required\":\"\"},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}})]}}],null,true)}),(!_vm.user.is_pro_team)?_c('v-alert',{staticClass:\"mt-4 mb-4\",attrs:{\"type\":\"info\",\"outlined\":\"\",\"dense\":\"\"}},[_vm._v(\" The following features are available only with a Custom Plan. \")]):_vm._e(),_c('v-checkbox',{attrs:{\"label\":\"Storycurve Logging Enabled\",\"disabled\":!_vm.user.is_pro_team},scopedSlots:_vm._u([{key:\"append\",fn:function(){return [_c('v-tooltip',{attrs:{\"bottom\":\"\",\"max-width\":\"300\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"small\":\"\"}},'v-icon',attrs,false),on),[_vm._v(\"mdi-help-circle-outline\")])]}}],null,true)},[_c('span',[_vm._v(\"StoryCurve is an advanced entity attribute logging and analysis system. It captures comprehensive data about entities, enabling deep, multi-dimensional analysis across various contexts.\")])])]},proxy:true}],null,true),model:{value:(_vm.storycurve_logging_enabled),callback:function ($$v) {_vm.storycurve_logging_enabled=$$v},expression:\"storycurve_logging_enabled\"}}),_c('v-subheader',{staticClass:\"pl-0 mt-4\"},[_vm._v(\" Banner Settings \"),_c('v-tooltip',{attrs:{\"bottom\":\"\",\"max-width\":\"300\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({staticClass:\"ml-2\",attrs:{\"small\":\"\"}},'v-icon',attrs,false),on),[_vm._v(\"mdi-help-circle-outline\")])]}}],null,true)},[_c('span',[_vm._v(\"When enabled, this banner will be presented to users throughout the application when using this organization.\")])])],1),_c('ValidationProvider',{attrs:{\"name\":\"text\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, valid }){return [_c('v-textarea',{attrs:{\"label\":\"Text\",\"hint\":\"Any information you would like to include in an organizational banner.\",\"error-messages\":errors,\"success\":valid,\"outlined\":\"\",\"dense\":\"\",\"auto-grow\":\"\",\"disabled\":!_vm.user.is_pro_team},model:{value:(_vm.banner_text),callback:function ($$v) {_vm.banner_text=$$v},expression:\"banner_text\"}})]}}],null,true)}),_c('color-picker-input',{attrs:{\"label\":\"Color\",\"disabled\":!_vm.user.is_pro_team},model:{value:(_vm.banner_color),callback:function ($$v) {_vm.banner_color=$$v},expression:\"banner_color\"}}),_c('v-checkbox',{attrs:{\"label\":\"Enabled\",\"disabled\":!_vm.user.is_pro_team},model:{value:(_vm.banner_enabled),callback:function ($$v) {_vm.banner_enabled=$$v},expression:\"banner_enabled\"}})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"text\":\"\"},on:{\"click\":_vm.closeCreateEditDialog}},[_vm._v(\"Cancel\")]),_c('v-btn',{attrs:{\"color\":\"primary\",\"loading\":_vm.loading,\"disabled\":invalid},on:{\"click\":_vm.save}},[_vm._v(\" \"+_vm._s(_vm.id ? 'Update' : 'Create')+\" \")])],1)],1)]}}])})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n {{ id ? 'Edit Universe' : 'Create a new universe' }}\n \n \n \n Universes represent the top-level in your hierarchy. You'll be able to bundle a\n collection of galaxies within an organization.\n \n \n \n \n \n \n \n\n \n The following features are available only with a Custom Plan.\n \n\n \n \n \n \n mdi-help-circle-outline\n \n StoryCurve is an advanced entity attribute logging and analysis system. It captures comprehensive data about entities, enabling deep, multi-dimensional analysis across various contexts.\n \n \n \n\n \n Banner Settings\n \n \n mdi-help-circle-outline\n \n When enabled, this banner will be presented to users throughout the application when using this organization.\n \n \n\n \n \n \n \n \n \n \n \n Cancel\n \n {{ id ? 'Update' : 'Create' }}\n \n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateEditDialog.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateEditDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CreateEditDialog.vue?vue&type=template&id=67744113&scoped=true\"\nimport script from \"./CreateEditDialog.vue?vue&type=script&lang=js\"\nexport * from \"./CreateEditDialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./CreateEditDialog.vue?vue&type=style&index=0&id=67744113&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"67744113\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=36e08deb&prod&scoped=true&lang=css\"","/*\n.. Modified by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport API from \"@/api\"\n\nconst resource = \"users\"\n\nexport default {\n getAll(options) {\n return API.get(`/${resource}`, { params: { ...options } })\n },\n get(userId) {\n return API.get(`/${resource}/${userId}`)\n },\n update(userId, payload) {\n return API.put(`/${resource}/${userId}`, payload)\n },\n create(payload) {\n return API.post(`/${resource}`, payload)\n },\n getUserInfo() {\n const token = localStorage.getItem(\"token\");\n const unstruct_anonymous_key = localStorage.getItem(\"unstruct_anonymous_key\");\n\n if (token) {\n return API.get(`/auth/me`);\n } else if (unstruct_anonymous_key) {\n return API.get(`/auth/anonymous/me/${unstruct_anonymous_key}`);\n } else {\n return Promise.reject(new Error(\"No authentication or temporary session found\"));\n }\n },\n login(email, password) {\n return API.post(`/auth/login`, { email: email, password: password })\n },\n sendVerificationCode(email) {\n return API.post(\"/auth/login\", { email });\n },\n verifyCode(email, code) {\n return API.post(\"/auth/verify\", { email, code });\n },\n oauthLogin() {\n window.location = '/api/v1/default/auth/google';\n },\n postOauthLogin(token) {\n return API.post(`/auth/postoauthlogin`, { token: token })\n },\n changePassword(userId, payload) {\n return API.put(`/${resource}/${userId}`, payload)\n },\n}\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateEditDialog.vue?vue&type=style&index=0&id=67744113&prod&scoped=true&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultLayout.vue?vue&type=style&index=0&id=61276481&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.currentOrganization.banner_enabled)?_c('v-system-bar',{attrs:{\"color\":_vm.currentOrganization.banner_enabled ? _vm.currentOrganization.banner_color : _vm.defaultColor,\"height\":\"64px\",\"app\":\"\"}},[_c('v-container',{staticClass:\"fill-height px-0\",attrs:{\"fluid\":\"\"}},[_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"start\",\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('v-icon',{attrs:{\"x-large\":\"\",\"color\":\"white\"}},[_vm._v(\"mdi-domain\")])],1),_c('v-col',{staticClass:\"hide-on-mobile\",attrs:{\"cols\":\"auto\"}},[_c('span',{staticClass:\"white--text bold-text\"},[_vm._v(\" \"+_vm._s(_vm.currentOrganization.banner_text || _vm.currentOrganization.name || 'Incident Copilot - OpsGPT Bot - AI Assistant')+\" \"),(_vm.isTrialActive)?[_vm._v(\" - \"+_vm._s(_vm.trialTimeLeft)+\" left in your free trial. \")]:_vm._e()],2)]),_c('v-spacer'),_c('v-col',{staticClass:\"hide-on-mobile\",attrs:{\"cols\":\"auto\"}},[_c('a',{staticClass:\"slack-install-link\",attrs:{\"id\":\"slack-install-link\"}},[_c('img',{attrs:{\"alt\":\"Add to Slack\",\"height\":\"40\",\"width\":\"139\",\"src\":\"https://platform.slack-edge.com/img/add_to_slack.png\",\"srcSet\":\"https://platform.slack-edge.com/img/add_to_slack.png 1x, https://platform.slack-edge.com/img/add_to_slack@2x.png 2x\"}})])]),_c('v-col',{staticClass:\"ml-10 mr-5 hide-on-mobile\",attrs:{\"cols\":\"auto\"}},[_c('v-menu',{attrs:{\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-chip',_vm._g(_vm._b({staticClass:\"d-flex align-center\",attrs:{\"color\":\"secondary\",\"text-color\":\"white\"}},'v-chip',attrs,false),on),[_c('v-icon',{attrs:{\"left\":\"\",\"color\":\"white\"}},[_vm._v(\" mdi-send \")]),_c('strong',[_vm._v(\"Contact UnStruct\")])],1)]}}],null,false,176176907)},[_c('v-list',[_c('v-list-item',{on:{\"click\":_vm.openEmail}},[_c('v-list-item-icon',[_c('v-icon',{attrs:{\"color\":\"primary\"}},[_vm._v(\"mdi-email\")])],1),_c('v-list-item-title',[_vm._v(\"Email\")])],1),_c('v-list-item',{on:{\"click\":_vm.openPhone}},[_c('v-list-item-icon',[_c('v-icon',{attrs:{\"color\":\"primary\"}},[_vm._v(\"mdi-phone\")])],1),_c('v-list-item-title',[_vm._v(\"Phone\")])],1),_c('v-list-item',{on:{\"click\":_vm.openSlack}},[_c('v-list-item-icon',[_c('v-icon',{attrs:{\"color\":\"primary\"}},[_vm._v(\"mdi-slack\")])],1),_c('v-list-item-title',[_vm._v(\"Slack\")])],1),_c('v-list-item',{on:{\"click\":_vm.openDemo}},[_c('v-list-item-icon',[_c('v-icon',{attrs:{\"color\":\"primary\"}},[_vm._v(\"mdi-desktop-mac\")])],1),_c('v-list-item-title',[_vm._v(\"Book a Demo\")])],1)],1)],1)],1)],1)],1)],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n \n \n \n \n mdi-domain\n \n \n \n {{ currentOrganization.banner_text || currentOrganization.name || 'Incident Copilot - OpsGPT Bot - AI Assistant'}}\n \n - {{ trialTimeLeft }} left in your free trial.\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n mdi-send\n \n Contact UnStruct\n \n \n \n \n \n mdi-email\n \n Email\n \n \n \n mdi-phone\n \n Phone\n \n \n \n mdi-slack\n \n Slack\n \n \n \n mdi-desktop-mac\n \n Book a Demo\n \n \n \n \n\n \n \n \n\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrganizationBanner.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrganizationBanner.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OrganizationBanner.vue?vue&type=template&id=1560d4b9&scoped=true\"\nimport script from \"./OrganizationBanner.vue?vue&type=script&lang=js\"\nexport * from \"./OrganizationBanner.vue?vue&type=script&lang=js\"\nimport style0 from \"./OrganizationBanner.vue?vue&type=style&index=0&id=1560d4b9&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1560d4b9\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppToolbar.vue?vue&type=style&index=0&id=6de5dd65&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _vm._m(0)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"loading-overlay\"},[_c('div',{staticClass:\"loading-container\"},[_c('img',{staticClass:\"loading-image\",attrs:{\"src\":\"/static/unstruct-robot.png\",\"alt\":\"Loading...\"}}),_c('div',{staticClass:\"loading-ring\"}),_c('div',{staticClass:\"loading-pulse\"})])])\n}]\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Loading.vue?vue&type=template&id=b81f5de8&scoped=true\"\nimport script from \"./Loading.vue?vue&type=script&lang=js\"\nexport * from \"./Loading.vue?vue&type=script&lang=js\"\nimport style0 from \"./Loading.vue?vue&type=style&index=0&id=b81f5de8&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b81f5de8\",\n null\n \n)\n\nexport default component.exports","/*\n.. Modified by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport jwt_decode from \"jwt-decode\"\nimport router from \"@/router/index\"\nimport { differenceInMilliseconds, fromUnixTime, subMinutes } from \"date-fns\"\nimport { getField, updateField } from \"vuex-map-fields\"\nimport { debounce, set } from \"lodash\"\nimport UserApi from \"./api\"\nimport store from \"@/store\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n email: null,\n loading: false,\n projects: null,\n role: null,\n organization_slug: null,\n }\n}\n\nconst state = {\n currentUser: {\n loggedIn: false,\n token: null,\n email: \"\",\n id: null,\n projects: [],\n role: null,\n },\n currentOrganization: localStorage.getItem(\"organization\") || \"default\",\n currentProject: localStorage.getItem(\"project\") || null,\n selected: {\n ...getDefaultSelectedState(),\n },\n loading: false,\n oauthLoading: false,\n dialogs: {\n showCreateEdit: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"email\"],\n descending: [true],\n },\n loading: false,\n },\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n return UserApi.getAll(state.table.options).then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n }, 500),\n createEditShow({ commit }, plugin) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (plugin) {\n commit(\"SET_SELECTED\", plugin)\n }\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return UserApi.create(state.selected).then(() => {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\"SET_SELECTED_LOADING\", false)\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"User created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n } else {\n return UserApi.update(state.selected.id, state.selected).then(() => {\n commit(\"SET_USER_PROJECTS\", state.selected.projects)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\"SET_SELECTED_LOADING\", false)\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"User updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n }\n },\n remove({ commit, dispatch }) {\n return UserApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"User deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n loginRedirect({ state }, redirectUri) {\n let redirectUrl = new URL(redirectUri)\n void state\n let queryMap = {}\n for (var pair of redirectUrl.searchParams.entries()) {\n if (pair[0] in queryMap) {\n queryMap[pair[0]].push(pair[1])\n } else {\n queryMap[pair[0]] = [pair[1]]\n }\n }\n router.push({ path: redirectUrl.pathname, query: queryMap })\n },\n async sendVerificationCode({ commit }, email) {\n commit(\"SET_BASIC_LOGIN_LOADING\", true);\n try {\n const response = await UserApi.sendVerificationCode(email);\n if (response.data.redirect) {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Redirecting to your base cluster...\", type: \"info\" },\n { root: true }\n );\n setTimeout(() => {\n window.location.href = response.data.redirect;\n }, 2000);\n } else {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Verification code sent to your email.\", type: \"success\" },\n { root: true }\n );\n }\n return response.data;\n } catch (error) {\n console.error(\"Send verification code error:\", error);\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Failed to send verification code. Please try again.\", type: \"error\" },\n { root: true }\n );\n throw error;\n } finally {\n commit(\"SET_BASIC_LOGIN_LOADING\", false);\n }\n },\n\n async verifyCodeAndLogin({ commit }, { email, code }) {\n commit(\"SET_BASIC_LOGIN_LOADING\", true);\n try {\n const response = await UserApi.verifyCode(email, code);\n commit(\"SET_USER_LOGIN\", response.data.token);\n commit(\"SET_USER_PROJECTS\", response.data.projects);\n\n const storedOrg = localStorage.getItem(\"organization\");\n if (storedOrg) {\n commit(\"SET_CURRENT_ORGANIZATION\", storedOrg);\n } else {\n commit(\"SET_CURRENT_ORGANIZATION\", response.data.organization.slug);\n localStorage.setItem(\"organization\", response.data.organization.slug);\n }\n\n router.push({\n name: \"chat\",\n params: { organization: storedOrg || response.data.organization.slug }\n });\n } catch (error) {\n console.error(\"Verification error:\", error);\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Invalid or expired verification code. Please try again.\", type: \"error\" },\n { root: true }\n );\n throw error;\n } finally {\n commit(\"SET_BASIC_LOGIN_LOADING\", false);\n }\n },\n oauthLogin({ commit }) {\n commit(\"SET_OAUTH_LOGIN_LOADING\", true);\n UserApi.oauthLogin()\n },\n postOauthLogin({ commit }, token) {\n commit(\"SET_BASIC_LOGIN_LOADING\", true);\n UserApi.postOauthLogin(token)\n .then(function (response) {\n commit(\"SET_USER_LOGIN\", response.data.token);\n commit(\"SET_USER_PROJECTS\", response.data.projects);\n\n const storedOrg = localStorage.getItem(\"organization\");\n if (storedOrg) {\n commit(\"SET_CURRENT_ORGANIZATION\", storedOrg);\n } else {\n commit(\"SET_CURRENT_ORGANIZATION\", response.data.organization.slug);\n localStorage.setItem(\"organization\", response.data.organization.slug);\n }\n\n // Redirect to the chat route with the appropriate organization\n router.push({\n name: \"chat\",\n params: { organization: storedOrg || response.data.organization.slug }\n });\n })\n .catch(function (error) {\n commit(\n \"notification_backend/addBeNotification\",\n { text: error.response.data.message, type: \"error\" },\n { root: true }\n );\n })\n .finally(() => {\n commit(\"SET_BASIC_LOGIN_LOADING\", false);\n });\n },\n login({ dispatch, commit }, payload) {\n commit(\"SET_USER_LOGIN\", payload)\n dispatch(\"loginRedirect\", payload.redirectUri).then(() => {\n dispatch(\"createExpirationCheck\")\n })\n },\n logout({ commit }) {\n localStorage.removeItem(\"token\")\n commit(\"SET_USER_LOGOUT\")\n router.go()\n },\n createExpirationCheck({ state, commit }) {\n // expiration time minus 10 min\n let expire_at = subMinutes(fromUnixTime(state.currentUser.exp), 10)\n let now = new Date()\n\n setTimeout(function () {\n commit(\n \"app/SET_REFRESH\",\n { show: true, message: \"Your credentials have expired. Please refresh the page.\" },\n { root: true }\n )\n }, differenceInMilliseconds(expire_at, now))\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n RESET_SELECTED(state) {\n state.selected = Object.assign(state.selected, getDefaultSelectedState())\n },\n SET_BASIC_LOGIN_LOADING(state, value) {\n state.loading = value\n },\n SET_OAUTH_LOGIN_LOADING(state, value) {\n state.oauthLoading = value\n },\n SET_USER_LOGIN(state, token) {\n state.currentUser = {\n ...state.currentUser,\n ...jwt_decode(token),\n token: token,\n loggedIn: true,\n }\n localStorage.setItem(\"token\", token)\n },\n SET_USER_LOGOUT(state) {\n state.currentUser = { loggedIn: false }\n },\n SET_USER_PROJECTS(state, value) {\n state.currentUser.projects = value\n },\n SET_CURRENT_PROJECT(state, projectId) {\n state.currentProject = projectId\n localStorage.setItem(\"project\", projectId)\n },\n SET_CURRENT_ORGANIZATION(state, organizationSlug) {\n state.currentOrganization = organizationSlug\n localStorage.setItem(\"organization\", organizationSlug)\n store.state.route.params.organization = organizationSlug\n },\n}\n\nconst getters = {\n getField,\n userAvatarURL: (state) => {\n if (state.currentUser.userId) {\n return `${window.location.protocol}//${window.location.host}/avatar/${state.currentUser.userId}/${state.currentUser.userId}.json`\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import API from \"@/api\"\n\nconst resource = \"/data/sources/transports\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(transportId) {\n return API.get(`${resource}/${transportId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(transportId, payload) {\n return API.put(`${resource}/${transportId}`, payload)\n },\n\n delete(transportId) {\n return API.delete(`${resource}/${transportId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/services\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(serviceId) {\n return API.get(`${resource}/${serviceId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(serviceId, payload) {\n return API.put(`${resource}/${serviceId}`, payload)\n },\n\n delete(serviceId) {\n return API.delete(`${resource}/${serviceId}`)\n },\n}\n","import { Parser } from \"json2csv\"\n\nconst {\n transforms: { flatten },\n} = require(\"json2csv\")\n\nconst toggleFullScreen = () => {\n let doc = window.document\n let docEl = doc.documentElement\n\n let requestFullScreen =\n docEl.requestFullscreen ||\n docEl.mozRequestFullScreen ||\n docEl.webkitRequestFullScreen ||\n docEl.msRequestFullscreen\n let cancelFullScreen =\n doc.exitFullscreen ||\n doc.mozCancelFullScreen ||\n doc.webkitExitFullscreen ||\n doc.msExitFullscreen\n\n if (\n !doc.fullscreenElement &&\n !doc.mozFullScreenElement &&\n !doc.webkitFullscreenElement &&\n !doc.msFullscreenElement\n ) {\n requestFullScreen.call(docEl)\n } else {\n cancelFullScreen.call(doc)\n }\n}\n\nconst exportCSV = function (items, fileName) {\n const opts = { transforms: [flatten()] }\n const parser = new Parser(opts)\n const csv = parser.parse(items)\n const data = \"data:text/csv;charset=utf-8,\" + encodeURIComponent(csv)\n const link = document.createElement(\"a\")\n link.setAttribute(\"href\", data)\n link.setAttribute(\"download\", fileName)\n link.click()\n}\n\nexport default {\n toggleFullScreen,\n exportCSV,\n}\n","import API from \"@/api\"\n\nconst resource = \"/terms\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(termId) {\n return API.get(`${resource}/${termId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(termId, payload) {\n return API.put(`${resource}/${termId}`, payload)\n },\n\n delete(termId) {\n return API.delete(`${resource}/${termId}`)\n },\n}\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=style&index=0&id=b81f5de8&prod&scoped=true&lang=css\"","import API from \"@/api\"\n\nconst resource = \"/incident_types\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(incidentTypeId) {\n return API.get(`${resource}/${incidentTypeId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(incidentTypeId, payload) {\n return API.put(`${resource}/${incidentTypeId}`, payload)\n },\n\n delete(incidentTypeId) {\n return API.delete(`${resource}/${incidentTypeId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/incident_cost_types\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(incidentCostTypeId) {\n return API.get(`${resource}/${incidentCostTypeId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(incidentCostTypeId, payload) {\n return API.put(`${resource}/${incidentCostTypeId}`, payload)\n },\n\n delete(incidentCostTypeId) {\n return API.delete(`${resource}/${incidentCostTypeId}`)\n },\n}\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BasicLayout.vue?vue&type=style&index=0&id=50ed6245&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-app',[_c('div',{staticClass:\"app-root\"},[(_vm.loading)?_c('loading'):_vm._e(),_c('router-view'),_c('v-snackbar',{staticClass:\"update-snackbar\",attrs:{\"bottom\":\"\",\"right\":\"\",\"value\":_vm.updateExists && !_vm.refreshing,\"timeout\":60000,\"color\":\"tips\"},scopedSlots:_vm._u([{key:\"action\",fn:function({ attrs }){return [_c('v-btn',_vm._b({attrs:{\"text\":\"\"},on:{\"click\":_vm.refreshApp}},'v-btn',attrs,false),[_vm._v(\"Refresh Now\")])]}}])},[_vm._v(\" Software update is available \")])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","// mixins/update.js - Enhanced version with auto-refresh\nexport default {\n data() {\n return {\n // Original refresh variables\n refreshing: false,\n registration: null,\n updateExists: false,\n\n // New tracking variables for auto-refresh\n appHidden: false,\n lastActiveTime: Date.now(),\n inactivityThreshold: 5 * 60 * 1000, // 5 minutes in milliseconds\n inactivityInterval: null\n }\n },\n created() {\n // Listen for our custom event from the SW registration\n document.addEventListener(\"swUpdated\", this.updateAvailable, { once: true })\n\n // Prevent multiple refreshes\n navigator.serviceWorker.addEventListener(\"controllerchange\", () => {\n if (this.refreshing) return\n this.refreshing = true\n // Here the actual reload of the page occurs\n window.location.reload()\n })\n\n // Initialize last active time\n this.lastActiveTime = Date.now()\n\n // Add visibility change listener\n document.addEventListener('visibilitychange', this.handleVisibilityChange)\n\n // Add user activity listeners\n document.addEventListener('mousemove', this.updateLastActiveTime)\n document.addEventListener('keypress', this.updateLastActiveTime)\n document.addEventListener('click', this.updateLastActiveTime)\n document.addEventListener('touchstart', this.updateLastActiveTime)\n\n // Check for inactivity and updates periodically\n this.startInactivityCheck()\n\n // Check if this is a return visit with considerable time gap\n const lastVisitTime = localStorage.getItem(\"last_visit_time\")\n const currentTime = Date.now()\n\n if (lastVisitTime) {\n const timeSinceLastVisit = currentTime - parseInt(lastVisitTime)\n // If returning after a day or more, force refresh to ensure latest version\n if (timeSinceLastVisit > 24 * 60 * 60 * 1000) {\n window.location.reload(true)\n }\n }\n\n // Store the current visit time\n localStorage.setItem(\"last_visit_time\", currentTime.toString())\n },\n beforeDestroy() {\n // Clean up event listeners\n document.removeEventListener('visibilitychange', this.handleVisibilityChange)\n document.removeEventListener('mousemove', this.updateLastActiveTime)\n document.removeEventListener('keypress', this.updateLastActiveTime)\n document.removeEventListener('click', this.updateLastActiveTime)\n document.removeEventListener('touchstart', this.updateLastActiveTime)\n\n if (this.inactivityInterval) {\n clearInterval(this.inactivityInterval)\n }\n },\n methods: {\n // Store the SW registration so we can send it a message\n // We use `updateExists` to control whatever alert, toast, dialog, etc we want to use\n // To alert the user there is an update they need to refresh for\n updateAvailable(event) {\n this.registration = event.detail\n this.updateExists = true\n },\n\n // Called when the user accepts the update\n refreshApp() {\n this.updateExists = false\n // Make sure we only send a 'skip waiting' message if the SW is waiting\n if (this.registration && this.registration.waiting) {\n // send message to SW to skip the waiting and activate the new SW\n this.registration.waiting.postMessage({ type: \"SKIP_WAITING\" })\n } else {\n // Fallback: if no registration, just reload the page\n window.location.reload()\n }\n },\n\n // New methods for auto-refresh functionality\n handleVisibilityChange() {\n const isHidden = document.hidden\n\n // When the app becomes visible again after being hidden\n if (this.appHidden && !isHidden) {\n const timeAwayMs = Date.now() - this.lastActiveTime\n\n // If returning after significant time away AND there's an update\n // OR returning after very long absence (refresh anyway for latest version)\n if ((timeAwayMs > this.inactivityThreshold && this.updateExists) ||\n timeAwayMs > 30 * 60 * 1000) { // 30 minutes\n this.autoRefreshApp()\n }\n }\n\n this.appHidden = isHidden\n if (!isHidden) {\n this.updateLastActiveTime()\n }\n },\n\n updateLastActiveTime() {\n this.lastActiveTime = Date.now()\n },\n\n startInactivityCheck() {\n this.inactivityInterval = setInterval(() => {\n const timeInactive = Date.now() - this.lastActiveTime\n\n // If inactive for threshold time and update exists, consider auto-refresh\n if (timeInactive > this.inactivityThreshold && this.updateExists && !this.appHidden) {\n // If very inactive, just refresh automatically\n if (timeInactive > 15 * 60 * 1000) { // 15 minutes\n this.autoRefreshApp()\n }\n // Otherwise the snackbar will be visible due to updateExists being true\n }\n }, 60000) // Check every minute\n },\n\n autoRefreshApp() {\n if (this.refreshing) return\n this.refreshing = true\n\n // Create a brief notification that auto-refreshes\n const notificationEl = document.createElement('div')\n notificationEl.style.position = 'fixed'\n notificationEl.style.bottom = '20px'\n notificationEl.style.right = '20px'\n notificationEl.style.padding = '16px 24px'\n notificationEl.style.background = '#4CAF50'\n notificationEl.style.color = 'white'\n notificationEl.style.borderRadius = '4px'\n notificationEl.style.boxShadow = '0 3px 5px rgba(0,0,0,0.2)'\n notificationEl.style.zIndex = '9999'\n notificationEl.style.transition = 'opacity 0.3s'\n notificationEl.textContent = 'Updating to latest version...'\n\n document.body.appendChild(notificationEl)\n\n // Refresh after a brief delay to allow notification to be seen\n setTimeout(() => {\n this.refreshApp()\n }, 1500)\n }\n }\n}\n","\n \n \n \n \n \n Software update is available\n \n Refresh Now\n \n \n \n \n\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=36e08deb&scoped=true\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=36e08deb&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"36e08deb\",\n null\n \n)\n\nexport default component.exports","/*\n.. Modified by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nexport var opts = {\n theme: {\n dark: true,\n themes: {\n light: {\n primary: \"#00eaff\",\n secondary: \"#34495e\",\n accent: \"#8c9eff\",\n anchor: \"#0F0F0F\",\n error: \"#F43F5E\",\n info: \"#004bfb\",\n tips: \"#FF1493\",\n warning: \"#FFA000\",\n success: \"#00eaff\",\n toolbar: \"#FFFFFF\",\n background: \"#FAFAFA\",\n background0: \"#FFFFFF\",\n background1: \"#FAFAFA\",\n background2: \"#F0F0F0\",\n gray0: \"#0F0F0F\",\n gray1: \"#161616\",\n gray2: \"#232323\",\n gray3: \"#404041\",\n gray4: \"#6D6D6E\",\n gray5: \"#929292\",\n gray6: \"#B6B6B7\",\n gray7: \"#DEDEDE\",\n gray8: \"#F0F0F0\",\n gray9: \"#FAFAFA\",\n white: \"#FFFFFF\",\n borderline: \"#E4E4E4\",\n },\n dark: {\n primary: \"#00eaff\",\n secondary: \"#34495e\",\n accent: \"#8c9eff\",\n error: \"#F43F5E\",\n info: \"#004bfb\",\n tips: \"#FF1493\",\n warning: \"#FFA000\",\n success: \"#00eaff\",\n toolbar: \"#404041\",\n background: \"#0F0F0F\",\n background0: \"#0F0F0F\",\n background1: \"#161616\",\n background2: \"#232323\",\n gray0: \"#0F0F0F\",\n gray1: \"#161616\",\n gray2: \"#232323\",\n gray3: \"#404041\",\n gray4: \"#6D6D6E\",\n gray5: \"#929292\",\n gray6: \"#B6B6B7\",\n gray7: \"#DEDEDE\",\n gray8: \"#F0F0F0\",\n gray9: \"#FAFAFA\",\n white: \"#FFFFFF\",\n borderline: \"#404040\",\n },\n },\n options: {\n customProperties: true,\n },\n },\n}\n","import \"@mdi/font/css/materialdesignicons.css\" // Ensure you are using css-loader\n\nimport Vue from \"vue\"\nimport Vuetify from \"vuetify\"\n\nimport { opts } from \"./config\"\n\nVue.use(Vuetify)\n\nexport default new Vuetify(opts)\n","/* eslint-disable */\n\nimport { register } from \"register-service-worker\"\n\nif (process.env.NODE_ENV === \"production\") {\n register(`${process.env.BASE_URL}service-worker.js`, {\n ready() {\n console.log(\n \"App is being served from cache by a service worker.\\n\" +\n \"For more details, visit https://goo.gl/AFskqB\"\n )\n },\n registered() {\n console.log(\"Service worker has been registered.\")\n },\n cached() {\n console.log(\"Content has been cached for offline use.\")\n },\n updatefound() {\n console.log(\"New content is downloading.\")\n },\n // When the SW is updated we will dispatch an event we can listen to in our .vue file\n updated(registration) {\n console.log(\"New content is available; please refresh.\")\n document.dispatchEvent(new CustomEvent(\"swUpdated\", { detail: registration }))\n },\n offline() {\n console.log(\"No internet connection found. App is running in offline mode.\")\n },\n error(error) {\n console.error(\"Error during service worker registration:\", error)\n },\n })\n}\n","import Vue from \"vue\"\nimport App from \"./App.vue\"\nimport vuetify from \"./vuetify/\"\nimport router from \"./router/\"\nimport store from \"./store\"\nimport filters from \"./filters\" // eslint-disable-line no-unused-vars\nimport \"./registerServiceWorker\"\nimport \"roboto-fontface/css/roboto/roboto-fontface.css\"\nimport \"font-awesome/css/font-awesome.css\"\nimport { sync } from \"vuex-router-sync\"\n\nimport * as Sentry from \"@sentry/browser\"\nimport * as Integrations from \"@sentry/integrations\"\n\nimport VueClipboard from \"vue-clipboard2\"\nimport VueMarkdown from \"vue-markdown\"\n\n\n// Configure sentry\nif (process.env.VUE_APP_SENTRY_ENABLED) {\n const APP_HOSTNAME = document.location.host\n\n let DSN = `https://1:1@${APP_HOSTNAME}/0`\n\n // Allow global override\n if (process.env.VUE_APP_SENTRY_DSN) {\n DSN = process.env.VUE_APP_SENTRY_DSN\n }\n Sentry.init({\n dsn: DSN,\n integrations: [new Integrations.Vue({ Vue, attachProps: true })],\n })\n process.env.VUE_APP_SENTRY_TAGS.split(\",\").forEach(function (item) {\n var parts = item.split(\":\")\n Sentry.setTag(parts[0], parts[1])\n })\n}\n\nsync(store, router, { moduleName: \"route\" })\n\n\nVue.config.productionTip = false\n\nVue.use(VueClipboard)\nVue.use(VueMarkdown)\n\nnew Vue({\n vuetify,\n router,\n store,\n render: (h) => h(App),\n}).$mount(\"#app\")\n","import API from \"@/api\"\n\nconst resource = \"/definitions\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(definitionId) {\n return API.get(`${resource}/${definitionId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(definitionId, payload) {\n return API.put(`${resource}/${definitionId}`, payload)\n },\n\n delete(definitionId) {\n return API.delete(`${resource}/${definitionId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/organizations\"\n\nexport default {\n getAll(options) {\n const token = localStorage.getItem(\"token\");\n const unstruct_anonymous_key = localStorage.getItem(\"unstruct_anonymous_key\");\n\n if (token) {\n return API.get(`${resource}`, { params: { ...options } });\n } else if (unstruct_anonymous_key) {\n return API.get(`${resource}/anonymous/${unstruct_anonymous_key}`, { params: { ...options } });\n } else {\n return Promise.reject(new Error(\"No authentication or temporary session found\"));\n }\n },\n\n get(organizationId) {\n return API.get(`${resource}/${organizationId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(organizationId, payload) {\n return API.put(`${resource}/${organizationId}`, payload)\n },\n\n delete(organizationId) {\n return API.delete(`${resource}/${organizationId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"tags\"\n\nexport default {\n getAll(options) {\n return API.get(`/${resource}`, {\n params: { ...options },\n })\n },\n\n get(tagId) {\n return API.get(`${resource}/${tagId}`)\n },\n\n getRecommendations(model, modelId) {\n return API.get(`/${resource}/recommendations/${model}/${modelId}`)\n },\n\n create(payload) {\n return API.post(`/${resource}`, payload)\n },\n\n update(tagId, payload) {\n return API.put(`/${resource}/${tagId}`, payload)\n },\n\n delete(tagId) {\n return API.delete(`/${resource}/${tagId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/signals\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, {\n params: { ...options },\n })\n },\n\n get(signalId) {\n return API.get(`${resource}/${signalId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(signalId, payload) {\n return API.put(`${resource}/${signalId}`, payload)\n },\n\n delete(signalId) {\n return API.delete(`${resource}/${signalId}`)\n },\n\n getAllFilters(options) {\n return API.get(`${resource}/filters`, {\n params: { ...options },\n })\n },\n\n getAllInstances(options) {\n return API.get(`${resource}/instances`, {\n params: { ...options },\n })\n },\n\n getInstances(signalId) {\n return API.get(`${resource}/${signalId}/instances`)\n },\n\n getInstance(signalId, instanceId) {\n return API.get(`${resource}/${signalId}/${instanceId}`)\n },\n}\n","/*\n.. Modified by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport API from \"@/api\"\n\nconst resource = \"iaos\"\n\nexport default {\n addResource(incidentId, payload) {\n return API.post(`/${resource}/${incidentId}/add-resource`, payload)\n },\n\n getAll(options) {\n return API.get(`/${resource}`, {\n params: { ...options },\n })\n },\n\n get(incidentId) {\n return API.get(`/${resource}/${incidentId}`)\n },\n\n getMetricForecast(options) {\n return API.get(`/${resource}/metric/forecast`, {\n params: { ...options },\n })\n },\n\n create(payload) {\n return API.post(`/${resource}`, payload)\n },\n\n update(incidentId, payload) {\n return API.put(`/${resource}/${incidentId}`, payload)\n },\n\n bulkUpdate(incidents, payload) {\n return Promise.all(\n incidents.map((incident) => {\n return this.update(incident.id, { ...incident, ...payload })\n })\n )\n },\n\n delete(incidentId) {\n return API.delete(`/${resource}/${incidentId}`)\n },\n\n bulkDelete(incidents) {\n return Promise.all(\n incidents.map((incident) => {\n return this.delete(incident.id)\n })\n )\n },\n\n join(incidentId, payload) {\n return API.post(`/${resource}/${incidentId}/join`, payload)\n },\n\n subscribe(incidentId, payload) {\n return API.post(`/${resource}/${incidentId}/subscribe`, payload)\n },\n\n createReport(incidentId, type, payload) {\n return API.post(`/${resource}/${incidentId}/report/${type}`, payload)\n },\n\n addComment(incidentId, payload) {\n return API.post(`/${resource}/${incidentId}/comments/add`, payload)\n },\n createPostmortemReport(incidentId) {\n return API.post(`/${resource}/${incidentId}/postmortem/create`)\n },\n getSimilar(incidentId) {\n return API.get(`/${resource}/similar-incidents/${incidentId}`)\n },\n createNewEvent(incidentId, payload) {\n return API.post(`/${resource}/${incidentId}/event`, payload)\n },\n\n updateEvent(incidentId, payload) {\n return API.patch(`/${resource}/${incidentId}/event`, payload)\n },\n\n deleteEvent(incidentId, event_uuid) {\n return API.delete(`/${resource}/${incidentId}/event/${event_uuid}`)\n },\n markStable(incidentId) {\n return API.post(`/${resource}/${incidentId}/stable`)\n },\n markClosed(incidentId) {\n return API.post(`/${resource}/${incidentId}/closed`)\n }\n}\n","import API from \"@/api\"\n\nconst resource = \"/data/queries\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(queryId) {\n return API.get(`${resource}/${queryId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(queryId, payload) {\n return API.put(`${resource}/${queryId}`, payload)\n },\n\n delete(queryId) {\n return API.delete(`${resource}/${queryId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/search\"\n\nexport default {\n search(query, type) {\n return API.get(`${resource}`, { params: { q: query, type: type } })\n },\n\n getAllFilters(options) {\n return API.get(`${resource}/filters`, { params: { ...options } })\n },\n\n get(searchFilterId) {\n return API.get(`${resource}/filters/${searchFilterId}`)\n },\n\n create(payload) {\n return API.post(`${resource}/filters`, payload)\n },\n\n update(searchFilterId, payload) {\n return API.put(`${resource}/filters/${searchFilterId}`, payload)\n },\n\n delete(searchFilterId) {\n return API.delete(`${resource}/filters/${searchFilterId}`)\n },\n\n getByType(searchFilterType) {\n return API.get(`${resource}/filters/${searchFilterType}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/documents\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(documentId) {\n return API.get(`${resource}/${documentId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(documentId, payload) {\n return API.put(`${resource}/${documentId}`, payload)\n },\n\n delete(documentId) {\n return API.delete(`${resource}/${documentId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/data/sources/types\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(typeId) {\n return API.get(`${resource}/${typeId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(typeId, payload) {\n return API.put(`${resource}/${typeId}`, payload)\n },\n\n delete(typeId) {\n return API.delete(`${resource}/${typeId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/case_priorities\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n get(casePriorityId) {\n return API.get(`${resource}/${casePriorityId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(casePriorityId, payload) {\n return API.put(`${resource}/${casePriorityId}`, payload)\n },\n\n delete(casePriorityId) {\n return API.delete(`${resource}/${casePriorityId}`)\n },\n}\n","import Vue from \"vue\"\nimport { parseISO, formatISO } from \"date-fns\"\nimport moment from \"moment-timezone\"\nconst time_format = \"YYYY-MM-DD HH:mm:ss\"\nconst zones_to_show = [\"America/Los_Angeles\", \"America/New_York\"]\n\nVue.filter(\"formatDate\", function (value) {\n if (value) {\n return formatISO(parseISO(value))\n }\n})\n\nVue.filter(\"formatToTimeZones\", function (value) {\n if (value) {\n let m = moment(value)\n return `UTC: ${value}\\nPST: ${m\n .tz(\"America/Los_Angeles\")\n .format(\"YYYY-MM-DD HH:mm:ss\")}\\nEST: ${m\n .tz(\"America/New_York\")\n .format(\"YYYY-MM-DD HH:mm:ss\")}`\n }\n})\n\n\nVue.filter(\"formatRelativeDate\", function (value) {\n if (value) {\n // Convert UTC time to local time\n const localTime = moment.utc(value).local();\n\n const now = moment();\n const diffSeconds = now.diff(localTime, 'seconds');\n\n const units = [\n { unit: 'year', seconds: 31536000 },\n { unit: 'month', seconds: 2592000 },\n { unit: 'week', seconds: 604800 },\n { unit: 'day', seconds: 86400 },\n { unit: 'hour', seconds: 3600 },\n { unit: 'minute', seconds: 60 },\n { unit: 'second', seconds: 1 }\n ];\n\n for (let { unit, seconds } of units) {\n const interval = Math.floor(diffSeconds / seconds);\n if (interval >= 1) {\n return moment.duration(-interval, unit).humanize(true);\n }\n }\n\n return 'just now';\n }\n})\n\nVue.filter(\"initials\", function (value) {\n if (value) {\n return value\n .split(\" \")\n .map((n) => n[0])\n .slice(0, 2)\n .join(\"\")\n }\n})\n\nVue.filter(\"asString\", function (value) {\n if (!value) return \"\"\n return value.toString()\n})\n\nVue.filter(\"capitalize\", function (value) {\n if (!value) return \"\"\n value = value.toString()\n return value.charAt(0).toUpperCase() + value.slice(1)\n})\n\nVue.filter(\"toUSD\", function (value) {\n if (value) {\n var formatter = new Intl.NumberFormat(\"en-US\", {\n style: \"currency\",\n currency: \"USD\",\n maximumSignificantDigits: 6,\n })\n return formatter.format(value)\n }\n return value\n})\n\nVue.filter(\"toNumberString\", function (value) {\n if (value) {\n var formatter = new Intl.NumberFormat(\"en-US\", {\n maximumSignificantDigits: 6,\n })\n return formatter.format(value)\n }\n return value\n})\n\nVue.filter(\"deslug\", function (value) {\n if (value) {\n return value\n .split(\"-\")\n .slice(2)\n .map(function (word) {\n return word.charAt(0).toUpperCase() + word.slice(1)\n })\n .join(\" \")\n }\n})\n\nVue.filter(\"snakeToCamel\", function (value) {\n if (value) {\n return value\n .split(\"_\")\n .map(function (value) {\n return value.charAt(0).toUpperCase() + value.substring(1)\n })\n .join(\" \")\n }\n})\n\nVue.filter(\"commaString\", function (value, key) {\n if (value) {\n return value\n .map(function (el) {\n return el[key]\n })\n .join(\", \")\n }\n})\n\nexport const activeRoles = function (value) {\n if (value) {\n let active_roles = value\n .filter((role) => !role.renounced_at)\n .map(function (role) {\n return role.role\n })\n .join(\", \")\n if (active_roles) {\n return active_roles\n } else {\n return \"Inactive\"\n }\n }\n}\n\nVue.filter(\"activeRoles\", activeRoles)\n\nVue.filter(\"individualNames\", function (value) {\n if (value) {\n return value\n .map(function (item) {\n return item.individual.name\n })\n .join(\", \")\n }\n})\n\nexport function formatToUTC(value) {\n if (value) {\n return moment(value).utc().format(time_format)\n }\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport DocumentApi from \"@/document/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n name: null,\n resource_type: null,\n resource_id: null,\n weblink: null,\n description: null,\n id: null,\n filters: [],\n project: null,\n evergreen: null,\n evergreen_owner: null,\n evergreen_reminder_interval: null,\n created_at: null,\n updated_at: null,\n loading: false,\n }\n}\n\nexport const runbookDocumentTypes = [\n {\n resource_type: \"dispatch-incident-runbook\",\n title: \"BAO\",\n description: \"Create a new IAO runbook\",\n icon: \"mdi-file-document-edit-outline\",\n },\n {\n resource_type: \"dispatch-investigation-runbook\",\n title: \"Investigation\",\n description: \"Create a new investigation runbook\",\n icon: \"mdi-file-document-multiple-outline\",\n },\n {\n resource_type: \"dispatch-audit-runbook\",\n title: \"Audit\",\n description: \"Create a new audit runbook\",\n icon: \"mdi-file-document-edit-outline\",\n },\n {\n resource_type: \"dispatch-security-runbook\",\n title: \"Security\",\n description: \"Create a new security runbook\",\n icon: \"mdi-shield-check-outline\",\n },\n {\n resource_type: \"dispatch-sales-runbook\",\n title: \"Sales\",\n description: \"Create a new sales runbook\",\n icon: \"mdi-file-document-edit-outline\",\n },\n {\n resource_type: \"dispatch-marketing-runbook\",\n title: \"Marketing\",\n description: \"Create a new marketing runbook\",\n icon: \"mdi-file-document-edit-outline\",\n },\n {\n resource_type: \"dispatch-legal-runbook\",\n title: \"Legal\",\n description: \"Create a new legal runbook\",\n icon: \"mdi-file-document-edit-outline\",\n },\n {\n resource_type: \"dispatch-it-runbook\",\n title: \"IT\",\n description: \"Create a new IT runbook\",\n icon: \"mdi-file-document-edit-outline\",\n },\n]\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [false],\n filters: {\n project: [],\n resource_type: runbookDocumentTypes.map((item) => {\n return {\n model: \"Document\",\n field: \"resource_type\",\n value: item.resource_type,\n }\n }),\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"Document\"\n )\n return DocumentApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 200),\n createEditShow({ commit }, document) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (document) {\n commit(\"SET_SELECTED\", document)\n }\n },\n removeShow({ commit }, document) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", document)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return DocumentApi.create(state.selected)\n .then(function (resp) {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\"SET_SELECTED_LOADING\", false)\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Document created successfully.\", type: \"success\" },\n { root: true }\n )\n return resp.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return DocumentApi.update(state.selected.id, state.selected).then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Document updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n }\n },\n remove({ commit, dispatch }) {\n return DocumentApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Document deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-app',{attrs:{\"id\":\"unstruct\"}},[_c('organization-banner'),_c('app-toolbar'),_c('app-drawer'),_c('notification-snackbars-wrapper'),_c('refresh'),_c('v-main',[_c('div',[_c('v-container',{attrs:{\"ma-0\":\"\",\"pa-0\":\"\",\"fluid\":\"\"}},[_c('router-view')],1)],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.showChildPane)?_c('v-navigation-drawer',{staticClass:\"background1\",attrs:{\"app\":\"\",\"permanent\":\"\",\"width\":_vm.mini ? 250 : 440,\"clipped\":\"\"}},[_c('v-layout',{attrs:{\"fill-height\":\"\",\"no-gutters\":\"\"}},[_c('v-navigation-drawer',{attrs:{\"width\":\"250\",\"permanent\":\"\",\"mini-variant\":_vm.mini,\"mini-variant-width\":\"80px\"}},[_c('v-list',{attrs:{\"dense\":\"\",\"flat\":\"\",\"nav\":\"\"}},[_vm._l((_vm.routes),function(route,index){return _c('span',{key:index,attrs:{\"to\":route.path}},[_c('v-list-item',{attrs:{\"to\":{ name: route.name }}},[_c('v-list-item-action',[_c('v-icon',{attrs:{\"color\":route.meta.color}},[_vm._v(_vm._s(route.meta.icon))])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(route.meta.title))])],1)],1)],1)}),(_vm.mini)?_c('v-list-item',{on:{\"click\":function($event){$event.stopPropagation();return _vm.toggleMiniNav()}}},[_c('v-list-item-action',[_c('v-icon',[_vm._v(\"mdi-chevron-right\")])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\"Minimize\")])],1)],1):_c('v-list-item',{on:{\"click\":function($event){$event.stopPropagation();return _vm.toggleMiniNav()}}},[_c('v-list-item-action',[_c('v-icon',[_vm._v(\"mdi-chevron-left\")])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\"Minimize\")])],1)],1)],2)],1),_c('v-navigation-drawer',{attrs:{\"width\":\"250\"}},[_c('v-list',{attrs:{\"dense\":\"\",\"nav\":\"\"}},[_c('v-list-item',[(_vm.showFilter)?_c('v-text-field',{attrs:{\"append-icon\":\"search\",\"label\":\"Filter\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.q),callback:function ($$v) {_vm.q=$$v},expression:\"q\"}}):_vm._e()],1),_vm._l((_vm.children),function(subRoutes,group,idx){return _c('span',{key:group},[_c('v-subheader',[_vm._v(\" \"+_vm._s(_vm._f(\"capitalize\")(group))+\" \")]),_vm._l((subRoutes),function(route,subIndex){return _c('v-list-item',{key:subIndex,attrs:{\"to\":{ name: route.name, query: _vm.childrenQueryParams }}},[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(route.meta.title)+\" \")])],1)],1)}),(idx != Object.keys(_vm.children).length - 1)?_c('v-divider'):_vm._e()],2)})],2)],1)],1)],1):_c('v-navigation-drawer',{attrs:{\"app\":\"\",\"permanent\":\"\",\"width\":\"250\",\"mini-variant\":_vm.mini,\"clipped\":\"\"}},[_c('v-list',{attrs:{\"dense\":\"\",\"nav\":\"\"}},[_vm._l((_vm.routes),function(route,index){return _c('span',{key:index},[_c('v-list-item',{attrs:{\"to\":{ name: route.name }}},[_c('v-list-item-action',[_c('v-icon',[_vm._v(_vm._s(route.meta.icon))])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(route.meta.title))])],1)],1)],1)}),(_vm.mini)?_c('v-list-item',{on:{\"click\":function($event){$event.stopPropagation();return _vm.toggleMiniNav()}}},[_c('v-list-item-action',[_c('v-icon',[_vm._v(\"mdi-chevron-right\")])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\"Minimize\")])],1)],1):_c('v-list-item',{on:{\"click\":function($event){$event.stopPropagation();return _vm.toggleMiniNav()}}},[_c('v-list-item-action',[_c('v-icon',[_vm._v(\"mdi-chevron-left\")])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\"Minimize\")])],1)],1)],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n \n \n \n \n \n \n \n {{ route.meta.icon }}\n \n \n {{ route.meta.title }}\n \n \n \n \n \n mdi-chevron-right\n \n \n Minimize\n \n \n \n \n mdi-chevron-left\n \n \n Minimize\n \n \n \n \n \n \n \n \n \n \n \n \n {{ group | capitalize }}\n \n \n \n \n {{ route.meta.title }}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {{ route.meta.icon }}\n \n \n {{ route.meta.title }}\n \n \n \n \n \n mdi-chevron-right\n \n \n Minimize\n \n \n \n \n mdi-chevron-left\n \n \n Minimize\n \n \n \n \n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangePassword.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangePassword.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ChangePassword.vue?vue&type=template&id=cb8dd872&scoped=true\"\nimport script from \"./ChangePassword.vue?vue&type=script&lang=js\"\nexport * from \"./ChangePassword.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"cb8dd872\",\n null\n \n)\n\nexport default component.exports","\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n mdi-creation\n \n \n R/T IAOs\n \n \n \n \n \n \n mdi-domain-plus\n \n \n Create a new IAO\n \n \n \n \n \n \n mdi-briefcase-plus\n \n \n Create a new OCO\n \n \n \n \n \n \n mdi-theme-light-dark\n \n \n Toggle Dark Theme\n \n \n \n \n \n \n \n account_circle\n \n \n \n \n \n \n \n account_circle \n \n \n \n \n {{ currentUser().display_name || anonymousUser }} \n \n \n \n \n \n logout\n \n \n Logout\n \n \n \n \n Organizations\n \n \n {{ item.name }}\n {{ item.description }}\n \n \n \n \n \n mdi-pencil-outline\n \n \n Edit Organization\n \n \n \n \n \n \n mdi-swap-horizontal\n \n \n Switch Organization\n \n \n \n \n \n \n \n {{ isAppBarVisible ? 'mdi-chevron-up' : 'mdi-chevron-down' }}\n \n \n \n \n {{ isAppBarVisible ? 'mdi-chevron-up' : 'mdi-chevron-down' }}\n \n \n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppToolbar.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppToolbar.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AppToolbar.vue?vue&type=template&id=6de5dd65&scoped=true\"\nimport script from \"./AppToolbar.vue?vue&type=script&lang=js\"\nexport * from \"./AppToolbar.vue?vue&type=script&lang=js\"\nimport style0 from \"./AppToolbar.vue?vue&type=style&index=0&id=6de5dd65&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6de5dd65\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_vm._v(\" Refresh Required \")]),_c('v-card-text',[_vm._v(_vm._s(_vm.message))]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"info\",\"text\":\"\"},on:{\"click\":function($event){return _vm.performRefresh()}}},[_vm._v(\" Refresh \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n Refresh Required \n {{ message }}\n \n \n Refresh \n \n \n \n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Refresh.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Refresh.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Refresh.vue?vue&type=template&id=0e792943\"\nimport script from \"./Refresh.vue?vue&type=script&lang=js\"\nexport * from \"./Refresh.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultLayout.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultLayout.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DefaultLayout.vue?vue&type=template&id=61276481&scoped=true\"\nimport script from \"./DefaultLayout.vue?vue&type=script&lang=js\"\nexport * from \"./DefaultLayout.vue?vue&type=script&lang=js\"\nimport style0 from \"./DefaultLayout.vue?vue&type=style&index=0&id=61276481&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"61276481\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-app',{attrs:{\"id\":\"unstruct\"}},[_c('app-toolbar'),_c('app-drawer'),_c('notification-snackbars-wrapper'),_c('refresh'),_c('v-main',[_c('organization-banner'),_c('div',{staticClass:\"page-wrapper\"},[_c('router-view')],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DashboardLayout.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DashboardLayout.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DashboardLayout.vue?vue&type=template&id=7c0785a7&scoped=true\"\nimport script from \"./DashboardLayout.vue?vue&type=script&lang=js\"\nexport * from \"./DashboardLayout.vue?vue&type=script&lang=js\"\nimport style0 from \"./DashboardLayout.vue?vue&type=style&index=0&id=7c0785a7&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7c0785a7\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-app',[_c('notification-snackbars-wrapper'),_c('v-main',[_c('organization-banner'),_c('v-app-bar',{staticClass:\"v-bar--underline\",attrs:{\"app\":\"\",\"flat\":\"\",\"color\":\"background0\"}},[_c('router-link',{staticStyle:{\"text-decoration\":\"none\",\"margin-top\":\"5px\"},attrs:{\"to\":{ name: 'chat' }}},[_c('img',{attrs:{\"src\":\"/static/unstruct-robot.png\",\"width\":\"55\",\"height\":\"55\"}})])],1),_c('v-card',{attrs:{\"flat\":\"\"}},[_c('router-view',{key:_vm.$route.path})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BasicLayout.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BasicLayout.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./BasicLayout.vue?vue&type=template&id=50ed6245&scoped=true\"\nimport script from \"./BasicLayout.vue?vue&type=script&lang=js\"\nexport * from \"./BasicLayout.vue?vue&type=script&lang=js\"\nimport style0 from \"./BasicLayout.vue?vue&type=style&index=0&id=50ed6245&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"50ed6245\",\n null\n \n)\n\nexport default component.exports","/*\n.. Modified by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport { DefaultLayout, DashboardLayout, BasicLayout } from \"@/components/layouts\"\n\n\nconst withPrefix = (prefix, routes) =>\n routes.map((route) => {\n route.path = prefix + route.path\n return route\n })\n\nconst authPages = [\n {\n path: \"login\",\n name: \"BasicLogin\",\n component: () => import(\"@/auth/Login.vue\"),\n },\n {\n path: \"post-oauth-login\",\n name: \"PostOauthLogin\",\n component: () => import(\"@/auth/PostOauthLogin.vue\"),\n }\n]\n\nexport const publicRoute = [\n {\n path: \"*\",\n meta: { title: \"Dispatch\" },\n component: () => import(\"@/views/error/NotFound.vue\"),\n },\n {\n path: \"/:organization/auth/\",\n component: BasicLayout,\n meta: { title: \"Auth\", icon: \"view_compact\", group: \"auth\" },\n children: authPages,\n },\n {\n path: \"/:organization/landing\",\n name: \"BasicChat\",\n meta: { title: \"Public Chat\", requiresAuth: false },\n props: route => ({\n chatId: route.query.chat_id,\n isSharedView: !!route.query.chat_id\n }),\n component: () => import(\"@/websocket/ChatContainer.vue\"),\n },\n {\n path: \"/404\",\n name: \"404\",\n meta: { title: \"Not Found\" },\n component: () => import(\"@/views/error/NotFound.vue\"),\n },\n {\n path: \"/500\",\n name: \"500\",\n meta: { title: \"Server Error\" },\n component: () => import(\"@/views/error/Error.vue\"),\n },\n {\n path: \"/implicit/callback\",\n name: \"PKCEImplicityCallback\",\n meta: { requiresAuth: true },\n },\n {\n path: \"/:organization/legal/terms-of-service\",\n name: \"TermsOfService\",\n meta: { title: \"Terms of Service\", requiresAuth: false },\n component: () => import(\"@/legal/TermsOfService.vue\"),\n },\n {\n path: \"/:organization/legal/privacy-policy\",\n name: \"PrivacyPolicy\",\n meta: { title: \"Privacy Policy\", requiresAuth: false },\n component: () => import(\"@/legal/PrivacyPolicy.vue\"),\n },\n {\n path: \"/:organization/help/faq\",\n name: \"FAQ\",\n meta: { title: \"Frequently Asked Questions\", requiresAuth: false },\n component: () => import(\"@/help/FAQ.vue\"),\n },\n {\n path: \"/:organization/blog/:id?\",\n name: \"Blog\",\n meta: { title: \"Blog\", requiresAuth: false },\n component: () => import(\"@/blog/UnstructBlog.vue\"),\n },\n]\n\n// NOTE: The order in which routes are added to the list matters when evaluated. For example, /iaos/report will take precendence over /iaos/:name.\nexport const protectedRoute = [\n {\n path: \"/\",\n meta: { requiresAuth: true },\n name: \"Root\",\n component: () => import(\"@/components/RootRedirect.vue\"),\n },\n ...withPrefix(\"/:organization/\", [\n {\n path: \"admin/settings\",\n name: \"AdminSettings\",\n meta: { title: \"Admin Settings\", requiresAuth: true },\n component: () => import(\"@/admin_settings/AdminSettings.vue\"),\n },\n {\n path: \"admin/content_manager\",\n name: \"AdminContentManager\",\n meta: { title: \"Content Manager\", requiresAuth: true },\n component: () => import(\"@/websocket//curated_content/AdminContentManager.vue\"),\n },\n {\n path: \"iaos/status\",\n name: \"status\",\n meta: { title: \"Incident Status\", requiresAuth: true },\n component: () => import(\"@/incident/Status.vue\"),\n },\n {\n path: \"upgrade\",\n name: \"upgradePlan\",\n meta: { title: \"Upgrade\", requiresAuth: true },\n component: () => import(\"@/components/UpgradePlan.vue\"),\n },\n {\n path: \"iaos/report\",\n name: \"report\",\n meta: { title: \"Report\", requiresAuth: true },\n component: () => import(\"@/incident/ReportForm.vue\"),\n },\n {\n path: \"ados\",\n name: \"entities\",\n meta: { title: \"Entities\", requiresAuth: true },\n component: () => import(\"@/incident/EntityEntryPage.vue\"),\n },\n {\n path: \"chat\",\n name: \"chat\",\n meta: { title: \"Chat\", requiresAuth: true },\n props: route => ({\n chatId: route.query.chat_id,\n isSharedView: !!route.query.chat_id\n }),\n component: () => import(\"@/websocket/ChatContainer.vue\"),\n },\n {\n path: \"iaos/other_ados\",\n name: \"otherentities\",\n meta: { title: \"Other Entities\", requiresAuth: true },\n component: () => import(\"@/incident/OtherEntityEntryPage.vue\"),\n },\n {\n path: \"iaos/ado_types\",\n name: \"entityTypes\",\n meta: { title: \"Entity Types\", requiresAuth: true },\n component: () => import(\"@/incident/EntityTypeEntryPage.vue\"),\n },\n {\n path: \"iaos/old_school_search\",\n name: \"oldSchoolSearch\",\n meta: { title: \"Old School Search\", requiresAuth: true },\n component: () => import(\"@/incident/OldSchoolSearchEntryPage.vue\"),\n },\n {\n path: \"cases/status\",\n name: \"caseStatus\",\n meta: { title: \"Case Status\", requiresAuth: true },\n component: () => import(\"@/case/Status.vue\"),\n },\n {\n path: \"cases/report\",\n name: \"caseReport\",\n meta: { title: \"Case Report\", requiresAuth: true },\n component: () => import(\"@/case/ReportForm.vue\"),\n },\n {\n path: \"dashboards\",\n component: DashboardLayout,\n name: \"dashboards\",\n redirect: { name: \"IncidentOverview\" },\n meta: {\n title: \"Dashboards\",\n group: \"dashboard\",\n icon: \"mdi-view-dashboard-outline\",\n color: \"purple\",\n menu: true,\n requiresAuth: true,\n },\n children: [\n {\n path: \"iaos\",\n name: \"IncidentOverview\",\n meta: { title: \"IAOs\", group: \"type\" },\n component: () => import(\"@/dashboard/incident/IncidentOverview.vue\"),\n },\n {\n path: \"cases\",\n name: \"CaseOverview\",\n meta: { title: \"OCOs\", group: \"type\" },\n component: () => import(\"@/dashboard/case/CaseOverview.vue\"),\n },\n {\n path: \"tasks\",\n name: \"TaskOverview\",\n meta: { title: \"Tasks\", group: \"type\" },\n component: () => import(\"@/dashboard/task/TaskOverview.vue\"),\n },\n {\n path: \"data\",\n name: \"DataOverview\",\n meta: { title: \"Data Catalog\", group: \"type\" },\n component: () => import(\"@/dashboard/data/DataOverview.vue\"),\n },\n {\n path: \"People\",\n name: \"PeopleOverview\",\n meta: { title: \"People\", group: \"type\" },\n component: () => import(\"@/dashboard/people/PeopleOverview.vue\"),\n },\n {\n path: \"Feedback\",\n name: \"FeedbackOverview\",\n meta: { title: \"Feedback\", group: \"type\" },\n component: () => import(\"@/dashboard/feedback/FeedbackOverview.vue\"),\n },\n ],\n },\n {\n path: \"iaos\",\n component: DefaultLayout,\n name: \"IAOs\",\n meta: {\n title: \"IAOs\",\n icon: \"mdi-domain\",\n color: \"red\",\n group: \"iaos\",\n requiresAuth: true,\n menu: true,\n showEditSheet: false,\n },\n redirect: { name: \"IncidentTable\" },\n children: [\n {\n path: \"/:organization/iaos\",\n name: \"IncidentTable\",\n meta: { title: \"List\" },\n component: () => import(\"@/incident/Table.vue\"),\n children: [\n {\n path: \"/:organization/iaos/:name\",\n name: \"IncidentTableEdit\",\n component: () => import(\"@/incident/EditSheet.vue\"),\n props: true,\n meta: {\n showEditSheet: true,\n },\n },\n {\n path: \"/:organization/iaos/:name/view\",\n name: \"IncidentTableView\",\n component: () => import(\"@/incident/IncidentPage.vue\"),\n },\n ],\n },\n ],\n },\n {\n path: \"cases\",\n component: DefaultLayout,\n name: \"OCOs\",\n meta: {\n title: \"OCOs\",\n icon: \"mdi-briefcase-search-outline\",\n color: \"warning\",\n group: \"cases\",\n requiresAuth: true,\n menu: true,\n showEditSheet: false,\n },\n redirect: { name: \"CaseTable\" },\n children: [\n {\n path: \"/:organization/cases\",\n name: \"CaseTable\",\n meta: { title: \"List\" },\n component: () => import(\"@/case/Table.vue\"),\n children: [\n {\n path: \"/:organization/cases/:name\",\n name: \"CaseTableEdit\",\n component: () => import(\"@/case/EditSheet.vue\"),\n props: true,\n meta: {\n showEditSheet: true,\n },\n },\n ],\n },\n ],\n },\n {\n path: \"signals\",\n component: DefaultLayout,\n name: \"ASOs\",\n meta: {\n title: \"ASOs\",\n icon: \"mdi-signal\",\n color: \"teal\",\n group: \"signals\",\n requiresAuth: true,\n menu: true,\n showEditSheet: false,\n },\n redirect: { name: \"SignalInstanceTable\" },\n children: [\n {\n path: \"/:organization/signals\",\n name: \"SignalInstanceTable\",\n meta: { title: \"List\" },\n component: () => import(\"@/signal/TableInstance.vue\"),\n },\n ],\n },\n {\n path: \"commits\",\n component: DefaultLayout,\n name: \"commits\",\n meta: {\n title: \"Commits\",\n icon: \"mdi-source-branch-plus\",\n color: \"blue\",\n group: \"commits\",\n requiresAuth: true,\n menu: true,\n showEditSheet: false,\n },\n redirect: { name: \"CommitTable\" },\n children: [\n {\n path: \"/:organization/commits\",\n name: \"CommitTable\",\n meta: { title: \"List\" },\n component: () => import(\"@/commit/Table.vue\"),\n children: [\n {\n path: \"/:organization/commits/:name\",\n name: \"CommitTableEdit\",\n component: () => import(\"@/commit/NewEditSheet.vue\"),\n props: true,\n meta: {\n showEditSheet: true,\n },\n },\n ],\n },\n ],\n },\n {\n path: \"oncall\",\n component: DefaultLayout,\n name: \"IAO Cadence\",\n meta: {\n title: \"IAO Cadence\",\n icon: \"mdi-transit-connection-variant\",\n color: \"indigo\",\n group: \"IAO Cadence\",\n requiresAuth: true,\n menu: true,\n },\n redirect: { name: \"OncallHandoffTable\" },\n children: [\n {\n path: \"/:organization/oncall/handoffs\",\n name: \"OncallHandoffTable\",\n meta: { title: \"IAO Handoffs\", group: \"IAO Cadence\" },\n component: () => import(\"@/oncall/handoff/Table.vue\"),\n children: [\n {\n path: \"/:organization/oncall/handoffs/:id\",\n name: \"OnCallHandoffTableEdit\",\n component: () => import(\"@/oncall/handoff/NewEditSheet.vue\"),\n props: true,\n meta: {\n showEditSheet: true,\n requiresAuth: true,\n },\n },\n ],\n },\n {\n path: \"/:organization/oncall/preshift_preps\",\n name: \"OncallPreshiftPrepTable\",\n meta: { title: \"IAO Preps\", group: \"IAO Cadence\" },\n component: () => import(\"@/oncall/preshift_prep/Table.vue\"),\n children: [\n {\n path: \"/:organization/oncall/preshift_preps/:id\",\n name: \"OncallPreshiftPrepTableEdit\",\n component: () => import(\"@/oncall/preshift_prep/NewEditSheet.vue\"),\n props: true,\n meta: {\n showEditSheet: true,\n requiresAuth: true,\n },\n },\n ],\n },\n ],\n },\n {\n path: \"data\",\n component: DefaultLayout,\n name: \"Data Catalog\",\n redirect: { name: \"SourceTable\" },\n meta: {\n title: \"ADO Catalog\",\n icon: \"mdi-database-import-outline\",\n color: \"blue\",\n group: \"ADO Catalog\",\n menu: true,\n requiresAuth: true,\n },\n children: [\n {\n path: \"/:organization/data/sources\",\n name: \"SourceTable\",\n meta: { title: \"Sources\", group: \"ADO Catalog\" },\n component: () => import(\"@/data/source/Table.vue\"),\n },\n {\n path: \"/:organization/data/sources/:name/:tab\",\n name: \"SourceDetail\",\n meta: { title: \"Source Detail\" },\n component: () => import(\"@/data/source/Detail.vue\"),\n },\n {\n path: \"/:organization/data/queries\",\n name: \"QueryTable\",\n meta: { title: \"Observability Queries\", group: \"ADO Catalog\" },\n component: () => import(\"@/data/query/Table.vue\"),\n },\n {\n path: \"/:organization/data/commands\",\n name: \"CommandTable\",\n meta: { title: \"Commands\", group: \"ADO Catalog\" },\n component: () => import(\"@/data/command/Table.vue\"),\n },\n {\n path: \"/:organization/data/weblinks\",\n name: \"WebLinkTable\",\n meta: { title: \"Observabilty Links\", group: \"ADO Catalog\" },\n component: () => import(\"@/data/weblink/Table.vue\"),\n },\n {\n path: \"/:organization/data/bestpractices\",\n name: \"BestPracticeTable\",\n meta: { title: \"Best Practices\", group: \"ADO Catalog\" },\n component: () => import(\"@/data/bestpractice/Table.vue\"),\n }\n ],\n },\n {\n path: \"tasks\",\n component: DefaultLayout,\n name: \"tasks\",\n meta: {\n title: \"IAO Tasks\",\n icon: \"mdi-file-tree\",\n color: \"green\",\n group: \"tasks\",\n menu: true,\n requiresAuth: true,\n showEditSheet: false,\n },\n redirect: { name: \"TaskTable\" },\n children: [\n {\n path: \"/:organization/tasks\",\n name: \"TaskTable\",\n meta: { title: \"List\" },\n component: () => import(\"@/task/Table.vue\"),\n children: [\n {\n path: \"/:organization/tasks/:id\",\n name: \"TaskTableEdit\",\n component: () => import(\"@/task/NewEditSheet.vue\"),\n props: true,\n meta: {\n showEditSheet: true,\n title: \"Edit\",\n },\n }\n ],\n },\n ],\n },\n {\n path: \"forms\",\n component: DefaultLayout,\n name: \"forms\",\n meta: {\n title: \"IAO Forms\",\n icon: \"mdi-form-textbox\",\n group: \"forms\",\n color: \"purple\",\n menu: true,\n requiresAuth: true,\n showChip: true,\n chipText: \"Preview\",\n },\n redirect: { name: \"FormsTable\" },\n children: [\n {\n path: \"/:organization/forms\",\n name: \"FormsTable\",\n meta: { title: \"Forms\" },\n component: () => import(\"@/forms/table/Table.vue\"),\n },\n ],\n },\n {\n path: \"feedback\",\n component: DefaultLayout,\n name: \"feedback\",\n redirect: { name: \"FeedbackTable\" },\n meta: {\n title: \"Feedback\",\n icon: \"mdi-circle-multiple-outline\",\n color: \"cyan\",\n group: \"feedback\",\n menu: true,\n requiresAuth: true,\n },\n children: [\n {\n path: \"/:organization/feedback\",\n name: \"FeedbackTable\",\n meta: { title: \"IAO Feedback\", group: \"type\" },\n component: () => import(\"@/feedback/incident/Table.vue\"),\n },\n {\n path: \"/:organization/servicefeedback/\",\n name: \"ServiceFeedbackTable\",\n meta: { title: \"IAO Cadence Feedback\", group: \"type\" },\n component: () => import(\"@/feedback/service/Table.vue\"),\n }\n ],\n },\n {\n path: \"settings\",\n component: DefaultLayout,\n name: \"settings\",\n meta: {\n title: \"Settings\",\n icon: \"mdi-cogs\",\n color: \"pink\",\n group: \"settings\",\n menu: true,\n requiresAuth: true,\n },\n redirect: { name: \"ProjectTable\" },\n children: [\n {\n path: \"projects\",\n name: \"ProjectTable\",\n meta: {\n title: \"Projects\",\n subMenu: \"organization\",\n group: \"organization\",\n },\n component: () => import(\"@/project/Table.vue\"),\n },\n {\n path: \"members\",\n name: \"OrganizationMemberTable\",\n meta: { title: \"Members\", subMenu: \"organization\", group: \"organization\" },\n component: () => import(\"@/organization/OrganizationMemberTable.vue\"),\n },\n {\n path: \"projects\",\n meta: {\n title: \"Project Settings\",\n group: \"settings\",\n },\n name: \"ProjectSettings\",\n redirect: { name: \"PluginTable\" },\n },\n ...withPrefix(\"projects/\", [\n {\n path: \"plugins\",\n name: \"PluginTable\",\n meta: { title: \"Plugins\", subMenu: \"project\", group: \"general\" },\n component: () => import(\"@/plugin/Table.vue\"),\n },\n {\n path: \"notifications\",\n name: \"NotificationTable\",\n meta: { title: \"Notifications\", subMenu: \"project\", group: \"general\" },\n component: () => import(\"@/notification/Table.vue\"),\n },\n {\n path: \"searchFilters\",\n name: \"SearchFilterTable\",\n meta: { title: \"Search Filters\", subMenu: \"project\", group: \"general\" },\n component: () => import(\"@/search/Table.vue\"),\n },\n {\n path: \"workflows\",\n name: \"WorkflowTable\",\n meta: { title: \"Workflows\", subMenu: \"project\", group: \"general\" },\n component: () => import(\"@/workflow/Table.vue\"),\n },\n {\n path: \"apiKeys\",\n name: \"ApiKeyTable\",\n meta: { title: \"API Keys\", subMenu: \"project\", group: \"general\" },\n component: () => import(\"@/apiKeys/Table.vue\"),\n },\n {\n path: \"incidentTypes\",\n name: \"IncidentTypeTable\",\n meta: { title: \"Types\", subMenu: \"project\", group: \"IAO\" },\n component: () => import(\"@/incident/type/Table.vue\"),\n },\n {\n path: \"incidentPriorities\",\n name: \"IncidentPriorityTable\",\n meta: { title: \"Priorities\", subMenu: \"project\", group: \"IAO\" },\n component: () => import(\"@/incident/priority/Table.vue\"),\n },\n {\n path: \"incidentSeverities\",\n name: \"IncidentSeverityTable\",\n meta: { title: \"Severities\", subMenu: \"project\", group: \"IAO\" },\n component: () => import(\"@/incident/severity/Table.vue\"),\n },\n {\n path: \"incidentCostTypes\",\n name: \"IncidentCostTypesTable\",\n meta: { title: \"Cost Types\", subMenu: \"project\", group: \"IAO\" },\n component: () => import(\"@/incident_cost_type/Table.vue\"),\n },\n {\n path: \"CostModels\",\n name: \"CostModelTable\",\n meta: {\n title: \"Cost Models\",\n subMenu: \"project\",\n group: \"IAO\",\n showChip: true,\n chipText: \"Preview\",\n },\n component: () => import(\"@/cost_model/Table.vue\"),\n },\n {\n path: \"incidentRoles\",\n name: \"IncidentRolesTable\",\n meta: { title: \"Roles\", subMenu: \"project\", group: \"IAO\" },\n component: () => import(\"@/incident_role/Table.vue\"),\n },\n {\n path: \"caseTypes\",\n name: \"CaseTypeTable\",\n meta: { title: \"Types\", subMenu: \"project\", group: \"OCO\" },\n component: () => import(\"@/case/type/Table.vue\"),\n },\n {\n path: \"casePriorities\",\n name: \"casePriorityTable\",\n meta: { title: \"Priorities\", subMenu: \"project\", group: \"OCO\" },\n component: () => import(\"@/case/priority/Table.vue\"),\n },\n {\n path: \"caseSeverities\",\n name: \"caseSeverityTable\",\n meta: { title: \"Severities\", subMenu: \"project\", group: \"OCO\" },\n component: () => import(\"@/case/severity/Table.vue\"),\n },\n {\n path: \"signals\",\n name: \"SignalDefinitionTable\",\n meta: { title: \"Definitions\", subMenu: \"project\", group: \"signal\" },\n component: () => import(\"@/signal/Table.vue\"),\n },\n {\n path: \"entity/types\",\n name: \"EntityTypeTable\",\n meta: { title: \"Entity Types\", subMenu: \"project\", group: \"signal\" },\n component: () => import(\"@/entity_type/Table.vue\"),\n },\n {\n path: \"services\",\n name: \"ServiceTable\",\n meta: { title: \"Services\", subMenu: \"project\", group: \"contact\" },\n component: () => import(\"@/service/Table.vue\"),\n },\n {\n path: \"individuals\",\n name: \"IndividualTable\",\n meta: { title: \"Individuals\", subMenu: \"project\", group: \"contact\" },\n component: () => import(\"@/individual/Table.vue\"),\n },\n {\n path: \"teams\",\n name: \"TeamTable\",\n meta: { title: \"Teams\", subMenu: \"project\", group: \"contact\" },\n component: () => import(\"@/team/Table.vue\"),\n },\n {\n path: \"templates\",\n name: \"TemplateTable\",\n meta: { title: \"Templates\", subMenu: \"project\", group: \"documentation\" },\n component: () => import(\"@/document/template/TemplateTable.vue\"),\n },\n {\n path: \"references\",\n name: \"ReferenceTable\",\n meta: { title: \"References\", subMenu: \"project\", group: \"documentation\" },\n component: () => import(\"@/document/reference/ReferenceTable.vue\"),\n },\n {\n path: \"runbooks\",\n name: \"RunbookTable\",\n meta: { title: \"Runbooks\", subMenu: \"project\", group: \"documentation\" },\n component: () => import(\"@/document/runbook/RunbookTable.vue\"),\n },\n {\n path: \"tagTypes\",\n name: \"TagTypeTable\",\n meta: { title: \"Tag Types\", subMenu: \"project\", group: \"knowledge\" },\n component: () => import(\"@/tag_type/Table.vue\"),\n },\n {\n path: \"tags\",\n name: \"TagTable\",\n meta: { title: \"Tags\", subMenu: \"project\", group: \"knowledge\" },\n component: () => import(\"@/tag/Table.vue\"),\n },\n {\n path: \"definitions\",\n name: \"DefinitionTable\",\n meta: { title: \"Definitions\", subMenu: \"project\", group: \"knowledge\" },\n component: () => import(\"@/definition/Table.vue\"),\n },\n {\n path: \"terms\",\n name: \"TermTable\",\n meta: { title: \"Terms\", subMenu: \"project\", group: \"knowledge\" },\n component: () => import(\"@/term/Table.vue\"),\n },\n {\n path: \"weblinks\",\n name: \"WebLinkTable\",\n meta: { title: \"Observability Links\", subMenu: \"project\", group: \"knowledge\" },\n component: () => import(\"@/data/weblink/Table.vue\"),\n },\n {\n path: \"commands\",\n name: \"CommandTable\",\n meta: { title: \"Commands\", subMenu: \"project\", group: \"knowledge\" },\n component: () => import(\"@/data/command/Table.vue\"),\n },\n {\n path: \"source/types\",\n name: \"SourceTypeTable\",\n meta: { title: \"Source Types\", subMenu: \"project\", group: \"data\" },\n component: () => import(\"@/data/source/type/Table.vue\"),\n },\n {\n path: \"source/environments\",\n name: \"SourceEnvironmentTable\",\n meta: { title: \"Source Environments\", subMenu: \"project\", group: \"data\" },\n component: () => import(\"@/data/source/environment/Table.vue\"),\n },\n {\n path: \"source/statuses\",\n name: \"SourceStatusTable\",\n meta: { title: \"Source Statuses\", subMenu: \"project\", group: \"data\" },\n component: () => import(\"@/data/source/status/Table.vue\"),\n },\n {\n path: \"source/transports\",\n name: \"SourceTransportTable\",\n meta: { title: \"Source Transports\", subMenu: \"project\", group: \"data\" },\n component: () => import(\"@/data/source/transport/Table.vue\"),\n },\n {\n path: \"source/dataFormats\",\n name: \"SourceDataFormatTable\",\n meta: { title: \"Source Data Formats\", subMenu: \"project\", group: \"data\" },\n component: () => import(\"@/data/source/dataFormat/Table.vue\"),\n },\n ]),\n ],\n },\n {\n path: \"search\",\n name: \"GlobalSearch\",\n component: DefaultLayout,\n meta: {\n title: \"Search\",\n icon: \"view_compact\",\n group: \"search\",\n noMenu: true,\n requiresAuth: true,\n },\n redirect: { name: \"ResultList\" },\n children: [\n {\n path: \"results\",\n name: \"ResultList\",\n meta: { name: \"Results\" },\n component: () => import(\"@/search/ResultList.vue\"),\n },\n ],\n },\n ]),\n]\n","import { AuthorizationNotifier } from \"@openid/appauth/built/authorization_request_handler\"\nimport { AuthorizationRequest } from \"@openid/appauth/built/authorization_request\"\nimport { AuthorizationServiceConfiguration } from \"@openid/appauth/built/authorization_service_configuration\"\nimport { BaseTokenRequestHandler } from \"@openid/appauth/built/token_request_handler\"\nimport { BasicQueryStringUtils } from \"@openid/appauth/built/query_string_utils\"\nimport { GRANT_TYPE_AUTHORIZATION_CODE, TokenRequest } from \"@openid/appauth/built/token_request\"\nimport { LocalStorageBackend } from \"@openid/appauth/built/storage\"\nimport { RedirectRequestHandler } from \"@openid/appauth/built/redirect_based_handler\"\n\nimport { FetchRequestor } from \"@openid/appauth/built/xhr\"\n\nimport store from \"@/store\"\n\nconst requestor = new FetchRequestor()\n\nfunction login(to, from, next) {\n const clientId = process.env.VUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_PKCE_CLIENT_ID\n const openIdConnectUrl = process.env.VUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_PKCE_OPEN_ID_CONNECT_URL\n const scope = \"openid profile email\"\n const useIdToken = process.env.VUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_USE_ID_TOKEN\n const clientSecret = process.env.VUE_APP_UNSTRUCT_AUTHENTICATION_PROVIDER_PKCE_CLIENT_SECRET\n\n const notifier = new AuthorizationNotifier()\n\n const qsUtils = new BasicQueryStringUtils({ useHash: false })\n //const origParse = qsUtils.parse\n qsUtils.parse = (input) => {\n return qsUtils.parseQueryString(input.search)\n }\n\n const tokenHandler = new BaseTokenRequestHandler(requestor)\n\n // Get a the openIdConnect configuration\n let cfg = null\n function getCfg() {\n let rslv, rej\n const resolver = (resolve, reject) => {\n rslv = resolve\n rej = reject\n }\n\n const p = new Promise(resolver)\n if (cfg === null) {\n AuthorizationServiceConfiguration.fetchFromIssuer(openIdConnectUrl, requestor)\n .then((response) => {\n cfg = response\n rslv(cfg)\n })\n .catch(rej)\n } else {\n rslv(cfg)\n }\n return p\n }\n\n const authorizationHandler = new RedirectRequestHandler(new LocalStorageBackend(), qsUtils)\n authorizationHandler.setAuthorizationNotifier(notifier)\n\n notifier.setAuthorizationListener((request, response, error) => {\n if (error) {\n console.log(error)\n }\n if (response) {\n let req = new TokenRequest({\n client_id: clientId,\n redirect_uri: request.redirectUri,\n grant_type: GRANT_TYPE_AUTHORIZATION_CODE,\n code: response.code,\n extras: { code_verifier: request.internal[\"code_verifier\"], client_secret: clientSecret },\n })\n getCfg().then((cfg) => {\n tokenHandler\n .performTokenRequest(cfg, req)\n .then((response) => {\n // Redirect to the uri in session storage and then delete it from storage\n let token = response.accessToken\n if (useIdToken) {\n token = response.idToken\n }\n store.commit(\"auth/SET_USER_LOGIN\", token)\n store.dispatch(\"auth/loginRedirect\", localStorage.getItem(\"redirect_uri\")).then(() => {\n store.dispatch(\"auth/createExpirationCheck\")\n })\n localStorage.removeItem(\"redirect_uri\")\n })\n .catch((e) => {\n console.error(e)\n })\n })\n }\n })\n\n getCfg().then((cfg) => {\n if (to.query.code && to.query.state) {\n authorizationHandler.completeAuthorizationRequestIfPossible()\n } else if (to.matched.some((record) => record.meta.requiresAuth)) {\n // Test if we already have a valid access token\n // Set the redirect_uri to a single location and store the real redirect uri in session storage.\n // This enables easier enablement of SPA on providers like Okta where each route must be whitelisted.\n let redirect_uri =\n window.location.protocol + \"//\" + window.location.host + \"/implicit/callback\"\n localStorage.setItem(\n \"redirect_uri\",\n window.location.protocol + \"//\" + window.location.host + to.fullPath\n )\n const request = new AuthorizationRequest({\n client_id: clientId,\n redirect_uri: redirect_uri,\n scope: scope,\n response_type: AuthorizationRequest.RESPONSE_TYPE_CODE,\n state: undefined,\n extras: {},\n })\n authorizationHandler.performAuthorizationRequest(cfg, request)\n } else {\n next()\n }\n })\n}\n\nexport default {\n login,\n}\n","/*\n.. Modified by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport store from \"@/store\"\n\nfunction login(to, from, next) {\n let token = localStorage.getItem(\"token\")\n\n if (token) {\n store.commit(\"auth/SET_USER_LOGIN\", token)\n next()\n } else {\n // extract the organization slug from the URL if it exists, otherwise use path\n let organizationSlug = to.path.organization\n if (!organizationSlug) {\n organizationSlug = window.location.pathname.split(\"/\")[1] || \"default\"\n }\n\n // Preserve chat_id if it exists in the query parameters\n const chatId = to.query.chat_id\n\n // build the dynamic login path with query parameters if they exist\n let loginPath = `/${organizationSlug}/landing`\n if (chatId) {\n loginPath += `?chat_id=${chatId}`\n }\n\n // prevent redirect loop and preserve query parameters\n if (to.path !== `/${organizationSlug}/landing`) {\n next({\n path: loginPath,\n query: to.query // This preserves all query parameters\n })\n } else {\n next()\n }\n }\n}\n\nexport default {\n login,\n}\n","function login(to, from, next) {\n next()\n}\n\nexport default {\n login,\n}\n","import store from \"@/store\"\nimport UserApi from \"./api\"\n\nfunction load() {\n const currentPath = window.location.pathname.split(\"/\")\n var currentOrganization = currentPath.length > 1 ? currentPath[1] : \"default\"\n\n // Get the user's current organization\n currentOrganization = localStorage.getItem(\"organization\")\n\n // Update Vuex state\n store.commit(\"auth/SET_CURRENT_ORGANIZATION\", currentOrganization)\n\n return UserApi.getUserInfo().then(function (response) {\n return store.commit(\"auth/SET_USER_PROJECTS\", response.data.projects)\n })\n}\n\nexport default {\n load,\n}\n","/*\n.. Modified by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport Vue from \"vue\"\nimport Router from \"vue-router\"\nimport { publicRoute, protectedRoute } from \"./config\"\n\nimport store from \"@/store\"\nimport pkceAuthProvider from \"@/auth/pkceAuthProvider\"\nimport basicAuthProvider from \"@/auth/basicAuthProvider\"\nimport customAuthProvider from \"@/auth/customAuthProvider\"\nimport userSettings from \"@/auth/userSettings\"\n\nconst routes = protectedRoute.concat(publicRoute)\n\n// Filter out the 'settings' route\nconst filteredRoutes = [\n ...publicRoute,\n ...protectedRoute.filter(route => route.name !== \"settings\"),\n]\n\nVue.use(Router)\n\nconst router = new Router({\n mode: \"history\",\n linkActiveClass: \"active\",\n routes: routes,\n})\n\nconst authProviderSlug =\n process.env.VUE_APP_UNSTRUCT_AUTHENTICATION_PROVIDER_SLUG || \"unstruct-auth-provider-basic\"\nconst originalPush = Router.prototype.push\nRouter.prototype.push = function push(location, onResolve, onReject) {\n if (onResolve || onReject) return originalPush.call(this, location, onResolve, onReject)\n return originalPush.call(this, location).catch((err) => {\n if (Router.isNavigationFailure(err)) {\n // resolve err\n return err\n }\n // rethrow error\n return Promise.reject(err)\n })\n}\n\n// router guards\nrouter.beforeEach((to, from, next) => {\n const storedOrg = localStorage.getItem(\"organization\") || \"default\";\n const pathParts = to.path.split('/').filter(part => part !== '');\n\n // Check if we're at the root URL\n if (pathParts.length === 0) {\n // Redirect to the home route for the stored organization\n next({\n name: 'chat',\n params: { organization: storedOrg },\n query: to.query,\n hash: to.hash,\n replace: true\n });\n return;\n }\n\n const urlOrg = pathParts[0];\n\n if (urlOrg !== storedOrg) {\n // If the URL org doesn't match the stored org, redirect\n pathParts[0] = storedOrg;\n next({\n path: '/' + pathParts.join('/'),\n query: to.query,\n hash: to.hash,\n replace: true\n });\n } else {\n next();\n }\n});\n\nrouter.beforeEach((to, from, next) => {\n // set loading to true only if from and to are different\n const isNavigationDifferent =\n from.name !== to.name ||\n JSON.stringify(from.params) !== JSON.stringify(to.params) ||\n JSON.stringify(from.query) !== JSON.stringify(to.query);\n\n if (isNavigationDifferent) {\n store.dispatch(\"app/setLoading\", true)\n }\n if (to.matched.some((record) => record.meta.requiresAuth)) {\n if (!store.state.auth.currentUser.loggedIn) {\n if (authProviderSlug === \"unstruct-auth-provider-basic\") {\n basicAuthProvider.login(to, from, next)\n } else if (authProviderSlug === \"unstruct-auth-provider-pkce\") {\n pkceAuthProvider.login(to, from, next)\n } else {\n // defaults to none, allows custom providers\n customAuthProvider\n .login(to, from, next)\n .then(function () {\n return userSettings.load()\n })\n .then(next())\n }\n } else {\n if (to.name === 'Root') {\n const targetOrg = localStorage.getItem(\"organization\") || 'default'\n next({ name: 'chat', params: { organization: targetOrg } })\n } else {\n userSettings.load().then(next())\n }\n }\n } else {\n next()\n }\n})\n\nfunction hasQueryParams(route) {\n return !!Object.keys(route.query).length\n}\n\nrouter.beforeEach((to, from, next) => {\n // We only want to automatically copy params when we are navigating\n // \"project\" subMenu's\n if (to.meta.subMenu === \"project\") {\n if (!hasQueryParams(to) && hasQueryParams(from)) {\n return next({ name: to.name, query: from.query });\n }\n }\n return next();\n})\n\nrouter.afterEach(function () {\n store.dispatch(\"app/setLoading\", false)\n})\n\nexport default router\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-snackbar',{attrs:{\"timeout\":_vm.notification.timeout,\"color\":_vm.notification.type},on:{\"input\":function($event){return _vm.setSeen(_vm.notification.index)}},scopedSlots:_vm._u([{key:\"action\",fn:function({ attrs }){return [_c('v-btn',_vm._b({attrs:{\"text\":\"\"},on:{\"click\":function($event){return _vm.setSeen(_vm.notification.index)}}},'v-btn',attrs,false),[_vm._v(\" Close \")])]}}]),model:{value:(_vm.notification.show),callback:function ($$v) {_vm.$set(_vm.notification, \"show\", $$v)},expression:\"notification.show\"}},[_vm._v(\" \"+_vm._s(_vm.notification.text)+\" \")])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n {{ notification.text }}\n \n Close \n \n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NotificationSnackbarsWrapper.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NotificationSnackbarsWrapper.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./NotificationSnackbarsWrapper.vue?vue&type=template&id=3a8d6c7e\"\nimport script from \"./NotificationSnackbarsWrapper.vue?vue&type=script&lang=js\"\nexport * from \"./NotificationSnackbarsWrapper.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/*\n.. Modified by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport API from \"@/api\"\n\nconst resource = \"cases\"\n\nexport default {\n getAll(options) {\n return API.get(`/${resource}`, {\n params: { ...options },\n })\n },\n\n get(caseId) {\n return API.get(`/${resource}/${caseId}`)\n },\n\n getProbableCause(caseId) {\n return API.get(`/${resource}/${caseId}/probable_cause`)\n },\n\n create(payload) {\n return API.post(`/${resource}`, payload)\n },\n\n update(caseId, payload) {\n return API.put(`/${resource}/${caseId}`, payload)\n },\n\n escalate(caseId, payload) {\n return API.put(`/${resource}/${caseId}/escalate`, payload)\n },\n\n bulkUpdate(cases, payload) {\n return Promise.all(\n cases.map((case_obj) => {\n return this.update(case_obj.id, { ...case_obj, ...payload })\n })\n )\n },\n\n bulkDelete(cases) {\n return Promise.all(\n cases.map((case_obj) => {\n return this.delete(case_obj.id)\n })\n )\n },\n\n delete(caseId) {\n return API.delete(`/${resource}/${caseId}`)\n },\n addComment(caseId, payload) {\n return API.post(`/${resource}/${caseId}/comments/add`, payload)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/tag_types\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(tagTypeId) {\n return API.get(`${resource}/${tagTypeId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(tagTypeId, payload) {\n return API.put(`${resource}/${tagTypeId}`, payload)\n },\n\n delete(tagTypeId) {\n return API.delete(`${resource}/${tagTypeId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/signals/engagements\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, {\n params: { ...options },\n })\n },\n\n get(signalEngagementId) {\n return API.get(`${resource}/${signalEngagementId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(signalEngagementId, payload) {\n return API.put(`${resource}/${signalEngagementId}`, payload)\n },\n\n delete(signalEngagementId) {\n return API.delete(`${resource}/${signalEngagementId}`)\n },\n}\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DashboardLayout.vue?vue&type=style&index=0&id=7c0785a7&prod&scoped=true&lang=css\"","import API from \"@/api\"\n\nconst resource = \"/incident_priorities\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n get(incidentPriorityId) {\n return API.get(`${resource}/${incidentPriorityId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(incidentPriorityId, payload) {\n return API.put(`${resource}/${incidentPriorityId}`, payload)\n },\n\n delete(incidentPriorityId) {\n return API.delete(`${resource}/${incidentPriorityId}`)\n },\n}\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppDrawer.vue?vue&type=style&index=0&id=3fd87099&prod&lang=css\"","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport DocumentApi from \"@/document/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n name: null,\n resource_type: null,\n resource_id: null,\n weblink: null,\n description: null,\n id: null,\n filters: [],\n project: null,\n evergreen: null,\n evergreen_owner: null,\n evergreen_reminder_interval: null,\n created_at: null,\n updated_at: null,\n loading: false,\n }\n}\n\nexport const referenceDocumentTypes = [\n {\n resource_type: \"dispatch-incident-reference-faq-document\",\n title: \"FAQ\",\n description: \"Create a new FAQ reference document\",\n icon: \"mdi-file-document-edit-outline\",\n },\n {\n resource_type: \"dispatch-conversation-reference-document\",\n title: \"Conversation\",\n description: \"Create a new conversation reference document\",\n icon: \"mdi-text-box-check-outline\",\n },\n {\n resource_type: \"dispatch-bao-reference-new-hire-document\",\n title: \"New Hire\",\n description: \"Create a new new hire reference document\",\n icon: \"mdi-account-plus-outline\",\n },\n {\n resource_type: \"dispatch-bao-reference-product-release-document\",\n title: \"Product Release\",\n description: \"Create a new product release reference document\",\n icon: \"mdi-package-variant-closed\",\n },\n {\n resource_type: \"dispatch-bao-reference-performance-improvement-plan-document\",\n title: \"PIP\",\n description: \"Create a new performance improvement plan reference document\",\n icon: \"mdi-account-cog-outline\",\n },\n {\n resource_type: \"dispatch-bao-reference-internal-audit-document\",\n title: \"Internal Audit\",\n description: \"Create a new internal audit reference document\",\n icon: \"mdi-file-document-multiple-outline\",\n },\n]\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [false],\n filters: {\n project: [],\n resource_type: referenceDocumentTypes.map((item) => {\n return {\n model: \"Document\",\n field: \"resource_type\",\n value: item.resource_type,\n }\n }),\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n\n let documentTypes = []\n for (const key in state.resourceTypes) {\n documentTypes.push({\n model: \"Document\",\n field: \"resource_type\",\n op: \"==\",\n value: key,\n })\n }\n\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n documentTypes\n )\n return DocumentApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 200),\n createEditShow({ commit }, template) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (template) {\n commit(\"SET_SELECTED\", template)\n }\n },\n removeShow({ commit }, document) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", document)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return DocumentApi.create(state.selected)\n .then(function (resp) {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\"SET_SELECTED_LOADING\", false)\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Document created successfully.\", type: \"success\" },\n { root: true }\n )\n return resp.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return DocumentApi.update(state.selected.id, state.selected).then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Document updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n }\n },\n remove({ commit, dispatch }) {\n return DocumentApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Document deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import API from \"@/api\"\n\nconst resource = \"/feedback\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(feedbackId) {\n return API.get(`${resource}/${feedbackId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(feedbackId, payload) {\n return API.put(`${resource}/${feedbackId}`, payload)\n },\n\n summarize(projectId) {\n return API.get(`${resource}/summarize/${projectId}`)\n },\n\n delete(feedbackId, participantId) {\n return API.delete(`${resource}/${feedbackId}/${participantId}`)\n },\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport router from \"@/router\"\n\nconst getDefaulRefreshState = () => {\n return {\n show: false,\n message: \"\",\n }\n}\n\nconst state = {\n toggleDrawer: true,\n refresh: {\n ...getDefaulRefreshState(),\n },\n loading: false,\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n toggleDrawer({ commit }, value) {\n commit(\"TOGGLE_DRAWER\", value)\n },\n performRefresh({ commit }) {\n router.go()\n commit(\"RESET_REFRESH\")\n },\n setLoading({ commit }, value) {\n commit(\"SET_LOADING\", value)\n },\n}\n\nconst mutations = {\n updateField,\n TOGGLE_DRAWER(state) {\n state.toggleDrawer = !state.toggleDrawer\n },\n SET_REFRESH(state, value) {\n state.refresh = value\n state.refresh.show = true\n },\n SET_LOADING(state, value) {\n state.loading = value\n },\n RESET_REFRESH(state) {\n state.refresh = Object.assign(state.refresh, getDefaulRefreshState())\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\n\nimport API from \"@/api\"\n\nconst resource = \"/apikeys\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(ApiKeyId) {\n return API.get(`${resource}/${ApiKeyId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(ApiKeyId, payload) {\n return API.put(`${resource}/${ApiKeyId}`, payload)\n },\n\n delete(ApiKeyId) {\n return API.delete(`${resource}/${ApiKeyId}`)\n },\n}\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport { getField, updateField } from \"vuex-map-fields\";\nimport { debounce } from \"lodash\";\n\nimport SearchUtils from \"@/search/utils\";\nimport ApiKeysApi from \"@/apiKeys/api\";\n\nconst getDefaultSelectedState = () => {\n return {\n key: null,\n id: null,\n description: null,\n loading: false,\n project: null,\n };\n};\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"expiration\"],\n descending: [false],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n};\n\nconst getters = {\n getField,\n};\n\nconst actions = {\n generateApiKey({ commit, dispatch }, payload) {\n ApiKeysApi.create(payload)\n .then((response) => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"API Key created successfully.\", type: \"success\" },\n { root: true }\n );\n dispatch(\"getAll\");\n })\n .catch((error) => {\n console.error(\"Error generating new API Key: \", error);\n });\n },\n\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", true);\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"ApiKey\"\n );\n return ApiKeysApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false);\n commit(\"SET_TABLE_ROWS\", response.data);\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false);\n });\n }, 500),\n createEditShow({ commit }, apiKey) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true);\n if (apiKey) {\n commit(\"SET_SELECTED\", apiKey);\n }\n },\n removeShow({ commit }, apiKey) {\n commit(\"SET_DIALOG_DELETE\", true);\n commit(\"SET_SELECTED\", apiKey);\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false);\n commit(\"RESET_SELECTED\");\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false);\n commit(\"RESET_SELECTED\");\n },\n save({ commit, dispatch, state }) {\n commit(\"SET_SELECTED_LOADING\", true);\n if (!state.selected.id) {\n return ApiKeysApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false);\n dispatch(\"closeCreateEdit\");\n dispatch(\"getAll\");\n // notification logic here\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false);\n });\n } else {\n return ApiKeysApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false);\n dispatch(\"closeCreateEdit\");\n dispatch(\"getAll\");\n // notification logic here\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false);\n });\n }\n },\n remove({ commit, dispatch, state }) {\n return ApiKeysApi.delete(state.selected.id).then(() => {\n dispatch(\"closeRemove\");\n dispatch(\"getAll\");\n // notification logic here\n });\n },\n};\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value);\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value;\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value;\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value;\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value;\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value;\n },\n RESET_SELECTED(state) {\n state.selected = { ...getDefaultSelectedState() };\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n};\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport API from \"@/api\"\n\nconst resource = \"/bestpractices\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(PracticeId) {\n return API.get(`${resource}/${PracticeId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(PracticeId, payload) {\n return API.put(`${resource}/${PracticeId}`, payload)\n },\n\n delete(PracticeId) {\n return API.delete(`${resource}/${PracticeId}`)\n },\n}\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport BestPracticesApi from \"@/data/bestpractice/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n name: null,\n description: null,\n url: null,\n loading: false,\n count: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"count\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", true)\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"BestPractice\")\n return BestPracticesApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, bestpractice) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (bestpractice) {\n commit(\"SET_SELECTED\", bestpractice)\n }\n },\n removeShow({ commit }, bestpractice) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", bestpractice)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return BestPracticesApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Best Practice created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return BestPracticesApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Best Practice updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return BestPracticesApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Best Practice deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","/*\n.. Modified by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport CaseApi from \"@/case/api\"\nimport router from \"@/router\"\n\nconst getDefaultSelectedState = () => {\n return {\n assignee: null,\n case_priority: null,\n case_severity: null,\n case_type: null,\n closed_at: null,\n custom_fields: [],\n description: null,\n documents: [],\n escalated_at: null,\n conversation: null,\n events: [],\n groups: [],\n id: null,\n incidents: [],\n loading: false,\n name: null,\n project: null,\n reported_at: null,\n resolution_reason: null,\n resolution: null,\n signals: [],\n status: null,\n storage: null,\n storycurve_sketch_id: null,\n storycurve_url: null,\n tags: [],\n ticket: null,\n title: null,\n triage_at: null,\n visibility: null,\n workflow_instances: null,\n }\n}\n\nconst getDefaultReportState = () => {\n return {}\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showDeleteDialog: false,\n showEditSheet: false,\n showEscalateDialog: false,\n showExport: false,\n showHandoffDialog: false,\n showClosedDialog: false,\n showNewSheet: false,\n },\n report: {\n ...getDefaultReportState(),\n },\n table: {\n rows: {\n items: [],\n total: null,\n selected: [],\n },\n options: {\n filters: {\n assignee: [],\n case_priority: [],\n case_severity: [],\n case_type: [],\n project: [],\n status: [],\n tag: [],\n tag_type: [],\n reported_at: {\n start: null,\n end: null,\n },\n closed_at: {\n start: null,\n end: null,\n },\n },\n q: \"\",\n page: 1,\n itemsPerPage: 25,\n sortBy: [\"reported_at\"],\n descending: [true],\n },\n loading: false,\n bulkEditLoading: false,\n },\n}\n\nconst getters = {\n getField,\n tableOptions({ state }) {\n // format our filters\n return state.table.options\n },\n}\n\nconst actions = {\n getProbableCause({ commit }, payload) {\n return CaseApi.getProbableCause(payload.caseId)\n .then((response) => {\n return response.data\n })\n .catch(() => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Failed to get probable cause.\", type: \"error\" },\n { root: true }\n )\n })\n },\n addComment({ commit }, payload) {\n return CaseApi.addComment(payload.caseId, payload.comment)\n .then(() => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Comment added successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"ADD_COMMENT\", payload.comment)\n })\n .catch(() => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Failed to add comment.\", type: \"error\" },\n { root: true }\n )\n })\n },\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"Case\")\n return CaseApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n get({ commit, state }) {\n return CaseApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n })\n },\n getDetails({ commit, state }, payload) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (\"id\" in payload) {\n return CaseApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else if (\"name\" in payload) {\n // this is kinda dirty\n return CaseApi.getAll({\n filter: JSON.stringify([\n { and: [{ model: \"Case\", field: \"name\", op: \"==\", value: payload.name }] },\n ]),\n }).then((response) => {\n if (response.data.items.length) {\n commit(\"SET_SELECTED\", response.data.items[0])\n commit(\"SET_SELECTED_LOADING\", false)\n } else {\n commit(\n \"notification_backend/addBeNotification\",\n {\n text: `Case '${payload.name}' could not be found.`,\n type: \"error\",\n },\n { root: true }\n )\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n }\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n showNewSheet({ commit }, value) {\n commit(\"SET_DIALOG_SHOW_NEW_SHEET\", true)\n if (value) {\n commit(\"SET_SELECTED\", value)\n }\n },\n closeNewSheet({ commit }) {\n commit(\"SET_DIALOG_SHOW_NEW_SHEET\", false)\n commit(\"RESET_SELECTED\")\n },\n showEditSheet({ commit }) {\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", true)\n },\n closeEditSheet({ commit }) {\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n commit(\"RESET_SELECTED\")\n router.push({ name: \"CaseTable\" })\n },\n resetSelected({ commit }) {\n commit(\"RESET_SELECTED\")\n },\n showDeleteDialog({ commit }, value) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", value)\n },\n closeDeleteDialog({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n showEscalateDialog({ commit }, value) {\n commit(\"SET_DIALOG_ESCALATE\", true)\n commit(\"SET_SELECTED\", value)\n },\n closeEscalateDialog({ commit }) {\n commit(\"SET_DIALOG_ESCALATE\", false)\n commit(\"RESET_SELECTED\")\n commit(\"incident/RESET_SELECTED\", null, { root: true })\n },\n showHandoffDialog({ commit }, value) {\n commit(\"SET_DIALOG_SHOW_HANDOFF\", true)\n commit(\"SET_SELECTED\", value)\n },\n closeHandoffDialog({ commit }) {\n commit(\"SET_DIALOG_SHOW_HANDOFF\", false)\n commit(\"RESET_SELECTED\")\n },\n showClosedDialog({ commit }, value) {\n commit(\"SET_DIALOG_SHOW_CLOSED\", true)\n commit(\"SET_SELECTED\", value)\n },\n closeClosedDialog({ commit }) {\n commit(\"SET_DIALOG_SHOW_CLOSED\", false)\n commit(\"RESET_SELECTED\")\n },\n showExport({ commit }) {\n commit(\"SET_DIALOG_SHOW_EXPORT\", true)\n },\n closeExport({ commit }) {\n commit(\"SET_DIALOG_SHOW_EXPORT\", false)\n },\n\n escalate({ commit, dispatch }, payload) {\n commit(\"SET_SELECTED_LOADING\", true)\n return CaseApi.escalate(state.selected.id, payload).then((response) => {\n commit(\"incident/SET_SELECTED\", response.data, { root: true })\n commit(\"SET_SELECTED_LOADING\", false)\n var interval = setInterval(function () {\n if (state.selected.id) {\n dispatch(\"incident/get\", response.data.id, { root: true })\n }\n\n // TODO this is fragile but we don't set anything as \"created\"\n // KJ: TODO.\n if (state.selected.conference) {\n clearInterval(interval)\n }\n }, 5000)\n })\n },\n report({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n return CaseApi.create(state.selected)\n .then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n this.interval = setInterval(function () {\n if (state.selected.id) {\n dispatch(\"get\")\n }\n\n // TODO this is fragile but we don't set anything as \"created\"\n if (state.selected.conversation) {\n clearInterval(this.interval)\n }\n }, 5000)\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return CaseApi.create(state.selected)\n .then(() => {\n dispatch(\"closeNewSheet\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Case created successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_SELECTED_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return CaseApi.update(state.selected.id, state.selected)\n .then(() => {\n dispatch(\"closeEditSheet\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Case updated successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_SELECTED_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n saveBulk({ commit, dispatch }, payload) {\n commit(\"SET_BULK_EDIT_LOADING\", true)\n return CaseApi.bulkUpdate(state.table.rows.selected, payload)\n .then(() => {\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Case(s) updated successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_BULK_EDIT_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_BULK_EDIT_LOADING\", false)\n })\n },\n deleteBulk({ commit, dispatch }) {\n commit(\"SET_BULK_EDIT_LOADING\", true)\n return CaseApi.bulkDelete(state.table.rows.selected)\n .then(() => {\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Case(s) deleted successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_BULK_EDIT_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_BULK_EDIT_LOADING\", false)\n })\n },\n deleteCase({ commit, dispatch }) {\n return CaseApi.delete(state.selected.id).then(function () {\n dispatch(\"closeDeleteDialog\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Case deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n // reset selected on table load\n value[\"selected\"] = []\n state.table.rows = value\n },\n SET_DIALOG_SHOW_EDIT_SHEET(state, value) {\n state.dialogs.showEditSheet = value\n },\n SET_DIALOG_SHOW_NEW_SHEET(state, value) {\n state.dialogs.showNewSheet = value\n },\n SET_DIALOG_SHOW_EXPORT(state, value) {\n state.dialogs.showExport = value\n },\n SET_DIALOG_SHOW_HANDOFF(state, value) {\n state.dialogs.showHandoffDialog = value\n },\n SET_DIALOG_SHOW_CLOSED(state, value) {\n state.dialogs.showClosedDialog = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showDeleteDialog = value\n },\n SET_DIALOG_ESCALATE(state, value) {\n state.dialogs.showEscalateDialog = value\n },\n RESET_SELECTED(state) {\n state.selected = Object.assign(state.selected, getDefaultSelectedState())\n },\n SET_BULK_EDIT_LOADING(state, value) {\n state.table.bulkEditLoading = value\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport CasePriorityApi from \"@/case/priority/api\"\nimport SearchUtils from \"@/search/utils\"\n\nconst getDefaultSelectedState = () => {\n return {\n color: null,\n default: false,\n description: null,\n page_assignee: null,\n enabled: false,\n id: null,\n loading: false,\n name: null,\n project: null,\n view_order: null,\n sla: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"view_order\"],\n descending: [false],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"CasePriority\"\n )\n return CasePriorityApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, casePriority) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (casePriority) {\n commit(\"SET_SELECTED\", casePriority)\n }\n },\n removeShow({ commit }, casePriority) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", casePriority)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, state, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n\n if (!state.selected.id) {\n return CasePriorityApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Case priority created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return CasePriorityApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Case priority updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return CasePriorityApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Case priority deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport CaseSeverityApi from \"@/case/severity/api\"\nimport SearchUtils from \"@/search/utils\"\n\nconst getDefaultSelectedState = () => {\n return {\n color: null,\n default: false,\n description: null,\n enabled: false,\n id: null,\n loading: false,\n name: null,\n project: null,\n view_order: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"view_order\"],\n descending: [false],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"CaseSeverity\"\n )\n return CaseSeverityApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, caseSeverity) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (caseSeverity) {\n commit(\"SET_SELECTED\", caseSeverity)\n }\n },\n removeShow({ commit }, caseSeverity) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", caseSeverity)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, state, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n\n if (!state.selected.id) {\n return CaseSeverityApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Case severity created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return CaseSeverityApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Case severity updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return CaseSeverityApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Case severity deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","/*\n\n\n*/\nimport { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport CaseTypeApi from \"@/case/type/api\"\nimport SearchUtils from \"@/search/utils\"\n\nconst getDefaultSelectedState = () => {\n return {\n case_template_document: null,\n default: false,\n description: null,\n enabled: false,\n exclude_from_metrics: null,\n id: null,\n incident_type: null,\n loading: false,\n name: null,\n oncall_service: null,\n plugin_metadata: [],\n storycurve_logging_enabled: false,\n custom_fields: [],\n project: null,\n slug: null,\n conversation_target: null,\n visibility: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [false],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"CaseType\"\n )\n return CaseTypeApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, caseType) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (caseType) {\n commit(\"SET_SELECTED\", caseType)\n }\n },\n removeShow({ commit }, caseType) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", caseType)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, state, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return CaseTypeApi.create(state.selected)\n .then(() => {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\"SET_SELECTED_LOADING\", false)\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Case type created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return CaseTypeApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Case type updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return CaseTypeApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Case type deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n actions,\n getters,\n mutations,\n namespaced: true,\n state,\n}\n","export default {\n namespaced: true,\n}\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport API from \"@/api\"\n\nconst resource = \"/data/commands\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(commandId) {\n return API.get(`${resource}/${commandId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(commandId, payload) {\n return API.put(`${resource}/${commandId}`, payload)\n },\n\n delete(commandId) {\n return API.delete(`${resource}/${commandId}`)\n },\n}\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport { getField, updateField } from \"vuex-map-fields\";\nimport { debounce } from \"lodash\";\n\nimport SearchUtils from \"@/search/utils\";\nimport CommandApi from \"@/data/command/api\"; // This should point to your Command API module\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n loading: false,\n name: null,\n description: null,\n command_text: null,\n project: null,\n created_at: null,\n count: null,\n };\n};\n\nconst state = {\n selected: { ...getDefaultSelectedState() },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"count\"],\n descending: [true],\n filters: {\n tag: [],\n project: [],\n tag_type: [],\n },\n },\n loading: false,\n },\n};\n\nconst getters = {\n getField,\n};\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", true);\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"Command\");\n return CommandApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false);\n commit(\"SET_TABLE_ROWS\", response.data);\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false);\n });\n }, 500),\n // Similar structure as your queries actions\n createEditShow({ commit }, command) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (command) {\n commit(\"SET_SELECTED\", command)\n }\n },\n copyToClipboardSuccess({ commit }) {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Copied to clipboard.\", type: \"success\" },\n { root: true }\n )\n },\n removeShow({ commit }, command) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", command)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n getDetails({ commit, state }, payload) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (\"id\" in payload) {\n return CommandApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else if (\"name\" in payload) {\n // this is kinda dirty\n return CommandApi.getAll({\n filter: JSON.stringify([\n {\n and: [\n {\n model: \"Command\",\n field: \"name\",\n op: \"==\",\n value: payload.name,\n },\n ],\n },\n ]),\n }).then((response) => {\n if (response.data.items.length) {\n commit(\"SET_SELECTED\", response.data.items[0])\n } else {\n commit(\n \"notification_backend/addBeNotification\",\n {\n text: `Command '${payload.name}' could not be found.`,\n type: \"error\",\n },\n { root: true }\n )\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n }\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return CommandApi.create(state.selected)\n .then(function (resp) {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Command created successfully.\", type: \"success\" },\n { root: true }\n )\n return resp.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return CommandApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Command updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return CommandApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Command deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n};\n\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n state.selected = { ...getDefaultSelectedState() }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\n\nimport API from \"@/api\"\n\nconst resource = \"/commits\" // Adjust the resource path to match your backend API endpoint for commits\n\nexport default {\n getAll(options) {\n // Fetches all commits, possibly with filters, sorting, and pagination\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(commitId) {\n // Fetches a single commit by its ID\n return API.get(`${resource}/${commitId}`)\n },\n\n create(payload) {\n // Creates a new commit with the provided payload\n return API.post(`${resource}`, payload)\n },\n\n update(commitId, payload) {\n // Updates an existing commit identified by commitId with the new payload\n return API.put(`${resource}/${commitId}`, payload)\n },\n\n delete(commitId) {\n // Deletes a commit identified by commitId\n return API.delete(`${resource}/${commitId}`)\n },\n}\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport { getField, updateField } from \"vuex-map-fields\";\nimport { debounce } from \"lodash\";\n\nimport SearchUtils from \"@/search/utils\";\nimport CommitApi from \"@/commit/api\";\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n loading: false,\n commit_id: null,\n commit_message: null,\n commit_author: null,\n commit_date: null,\n repository_url: null,\n repository_name: null,\n repository_branch: null,\n source: \"GitHub\",\n sync_completed: false,\n sync_completed_at: null,\n };\n};\n\nconst state = {\n selected: { ...getDefaultSelectedState() },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 25,\n sortBy: [\"commit_date\"],\n descending: [true],\n filters: {\n commit_id: null,\n commit_message: null,\n commit_author: null,\n commit_date: null,\n repository_url: null,\n repository_name: null,\n repository_branch: null,\n source: null,\n sync_completed: null,\n },\n },\n loading: false,\n },\n};\n\nconst getters = {\n getField,\n};\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", true);\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"Commit\");\n return CommitApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false);\n commit(\"SET_TABLE_ROWS\", response.data);\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false);\n });\n }, 500),\n createEditShow({ commit }, commitData) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true);\n if (commitData) {\n commit(\"SET_SELECTED\", commitData);\n }\n },\n copyToClipboardSuccess({ commit }) {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Copied to clipboard.\", type: \"success\" },\n { root: true }\n )\n },\n removeShow({ commit }, commitData) {\n commit(\"SET_DIALOG_DELETE\", true);\n commit(\"SET_SELECTED\", commitData);\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n getDetails({ commit, state }, payload) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (\"id\" in payload) {\n return CommitApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else if (\"name\" in payload) {\n // this is kinda dirty\n return CommitApi.getAll({\n filter: JSON.stringify([\n {\n and: [\n {\n model: \"Commit\",\n field: \"name\",\n op: \"==\",\n value: payload.name,\n },\n ],\n },\n ]),\n }).then((response) => {\n if (response.data.items.length) {\n commit(\"SET_SELECTED\", response.data.items[0])\n } else {\n commit(\n \"notification_backend/addBeNotification\",\n {\n text: `Commit '${payload.name}' could not be found.`,\n type: \"error\",\n },\n { root: true }\n )\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n }\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return CommitApi.create(state.selected)\n .then(function (resp) {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Commit created successfully.\", type: \"success\" },\n { root: true }\n )\n return resp.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return CommitApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Commit updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return CommitApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Commit deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n};\n\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n state.selected = { ...getDefaultSelectedState() }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import API from \"@/api\"\n\nconst resource = \"cost_models\"\n\nexport default {\n getAll(options) {\n return API.get(`/${resource}`, {\n params: { ...options },\n })\n },\n\n create(payload) {\n return API.post(`/${resource}`, payload)\n },\n update(costModelId, payload) {\n return API.put(`/${resource}/${costModelId}`, payload)\n },\n delete(costModelId) {\n return API.delete(`/${resource}/${costModelId}`)\n },\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport CostModelApi from \"@/cost_model/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n name: null,\n enabled: null,\n description: null,\n created_at: null,\n updated_at: null,\n project: null,\n loading: false,\n activities: [],\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n showActivity: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 25,\n sortBy: [\"CostModel.created_at\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"CostModel\"\n )\n return CostModelApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, incidentCostModel) {\n commit(\"SET_DIALOG_EDIT\", true)\n if (incidentCostModel) {\n commit(\"SET_SELECTED\", incidentCostModel)\n }\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n createActivityShow({ commit }) {\n commit(\"SET_DIALOG_ACTIVITY\", true)\n },\n closeActivity({ commit }) {\n commit(\"SET_DIALOG_ACTIVITY\", false)\n },\n removeShow({ commit }, incidentCostModel) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", incidentCostModel)\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, state, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return CostModelApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Cost model created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return CostModelApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Cost model updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, state, dispatch }) {\n return CostModelApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Cost model deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n SET_DIALOG_ACTIVITY(state, value) {\n state.dialogs.showActivity = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","// store/modules/curatedContent.js\nimport API from \"@/api\"\n\nconst resource = '/curated_content';\n\nexport default {\n namespaced: true,\n\n state: {\n trendingContent: [],\n selectedPlatform: 'linkedin',\n isLoading: false,\n error: null\n },\n\n mutations: {\n SET_TRENDING_CONTENT(state, content) {\n state.trendingContent = content;\n },\n SET_SELECTED_PLATFORM(state, platform) {\n state.selectedPlatform = platform;\n },\n SET_LOADING(state, status) {\n state.isLoading = status;\n },\n SET_ERROR(state, error) {\n state.error = error;\n }\n },\n\n actions: {\n async fetchTrendingContent({ commit, state }) {\n commit('SET_LOADING', true);\n try {\n const token = localStorage.getItem(\"token\");\n const unstruct_anonymous_key = localStorage.getItem(\"unstruct_anonymous_key\");\n let response;\n\n const params = {\n platform: state.selectedPlatform\n };\n\n if (token) {\n response = await API.get(`${resource}/trending`, { params });\n } else if (unstruct_anonymous_key) {\n response = await API.get(`${resource}/anonymous/trending/${unstruct_anonymous_key}`, { params });\n } else {\n throw new Error(\"No authentication or temporary session found\");\n }\n\n commit('SET_TRENDING_CONTENT', response.data);\n } catch (error) {\n commit('SET_ERROR', error.message);\n } finally {\n commit('SET_LOADING', false);\n }\n },\n\n setSelectedPlatform({ commit, dispatch }, platform) {\n commit('SET_SELECTED_PLATFORM', platform);\n dispatch('fetchTrendingContent');\n }\n },\n\n getters: {\n formattedContent: state => {\n return state.trendingContent.map(item => ({\n text: item.text,\n timeAgo: getTimeAgo(item.created_at),\n link: item.link || null\n }));\n }\n }\n};\n\n// Helper function to format time\nfunction getTimeAgo(timestamp) {\n const now = new Date();\n const past = new Date(timestamp);\n const diff = now - past;\n\n const minutes = Math.floor(diff / 60000);\n if (minutes < 60) return `${minutes}m ago`;\n\n const hours = Math.floor(minutes / 60);\n if (hours < 24) return `${hours}h ago`;\n\n const days = Math.floor(hours / 24);\n return `${days}d ago`;\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport DefinitionApi from \"@/definition/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n terms: [],\n text: null,\n id: null,\n project: null,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: \"text\",\n descending: true,\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(state.table.options, \"Definition\")\n return DefinitionApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, definition) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (definition) {\n commit(\"SET_SELECTED\", definition)\n }\n },\n removeShow({ commit }, definition) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", definition)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n\n if (!state.selected.id) {\n return DefinitionApi.create(state.selected)\n .then(() => {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\"SET_SELECTED_LOADING\", false)\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Definition created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return DefinitionApi.update(state.selected.id, state.selected)\n .then(() => {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\"SET_SELECTED_LOADING\", false)\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Definition updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return DefinitionApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Definition deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport DocumentApi from \"@/document/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n name: null,\n resource_type: null,\n resource_id: null,\n weblink: null,\n description: null,\n id: null,\n filters: [],\n project: null,\n evergreen: null,\n evergreen_owner: null,\n evergreen_reminder_interval: null,\n created_at: null,\n updated_at: null,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [false],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"Document\"\n )\n return DocumentApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, document) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (document) {\n commit(\"SET_SELECTED\", document)\n }\n },\n removeShow({ commit }, document) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", document)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return DocumentApi.create(state.selected)\n .then(function (resp) {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\"SET_SELECTED_LOADING\", false)\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Document created successfully.\", type: \"success\" },\n { root: true }\n )\n return resp.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return DocumentApi.update(state.selected.id, state.selected).then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Document updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n }\n },\n remove({ commit, dispatch }) {\n return DocumentApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Document deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport EntityApi from \"@/entity/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n name: null,\n regular_expression: null,\n jpath: null,\n signal_instances: [],\n project: null,\n default: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCaseView: false,\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"Entity\")\n return EntityApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, entity) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (entity) {\n commit(\"SET_SELECTED\", entity)\n }\n },\n createCaseShow({ commit }, cases) {\n commit(\"SET_DIALOG_CASE_VIEW\", true)\n if (cases) {\n commit(\"SET_SELECTED\", cases)\n }\n },\n closeCreateEditDialog({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n removeShow({ commit }, entity) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", entity)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, state, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return EntityApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Entity created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return EntityApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Entity updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n subscribe({ commit }, entity_id) {\n return EntityApi.subscribe(entity_id).then(() => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Entity subscribed successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n remove({ commit, dispatch, state }) {\n return EntityApi.delete(state.selected.id).then(() => {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Entity deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CASE_VIEW(state, value) {\n state.dialogs.showCaseView = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport EntityTypeApi from \"@/entity_type/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n name: null,\n description: null,\n regular_expression: null,\n jpath: null,\n enabled: true,\n scope: \"multiple\",\n signals: [],\n project: null,\n default: false,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"Entity\")\n return EntityTypeApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, entity_type) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (entity_type) {\n commit(\"SET_SELECTED\", entity_type)\n }\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n },\n removeShow({ commit }, entity_type) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", entity_type)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, state, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return EntityTypeApi.create(state.selected)\n .then(() => {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Entity type created successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_SELECTED_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return EntityTypeApi.update(state.selected.id, state.selected)\n .then(() => {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Entity type updated successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_SELECTED_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch, state }) {\n return EntityTypeApi.delete(state.selected.id).then(() => {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Entity type deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport FeedbackApi from \"@/feedback/incident/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n feedback: null,\n id: null,\n incident: null,\n participant: null,\n project: null,\n rating: null,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"created_at\"],\n descending: [true],\n filters: {\n incident: [],\n rating: [],\n feedback: [],\n participant: [],\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"Feedback\"\n )\n return FeedbackApi.getAll(params).then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n }, 500),\n createEditShow({ commit }, feedback) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (feedback) {\n commit(\"SET_SELECTED\", feedback)\n }\n },\n removeShow({ commit }, feedback) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", feedback)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n if (!state.selected.id) {\n return FeedbackApi.create(state.selected).then(() => {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Feedback created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n } else {\n return FeedbackApi.update(state.selected.id, state.selected).then(() => {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Feedback updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n }\n },\n remove({ commit, dispatch }) {\n return FeedbackApi.delete(state.selected.id, state.selected.participant?.id || \"0\").then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Feedback deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n getsummarizeFeedback({ commit }, payload) {\n return FeedbackApi.summarize(payload.projectId)\n .then((response) => {\n return response\n })\n .catch(() => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Failed to summarize feedback.\", type: \"error\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n state.selected = Object.assign(state.selected, getDefaultSelectedState())\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport ServiceFeedbackApi from \"@/feedback/service/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n feedback: null,\n id: null,\n service: null,\n individual_contact: null,\n project: null,\n rating: null,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"created_at\"],\n descending: [true],\n filters: {\n service: [],\n rating: [],\n feedback: [],\n individual_contact: [],\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"Feedback\"\n )\n return ServiceFeedbackApi.getAll(params).then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n }, 500),\n createEditShow({ commit }, feedback) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (feedback) {\n commit(\"SET_SELECTED\", feedback)\n }\n },\n removeShow({ commit }, feedback) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", feedback)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n if (!state.selected.id) {\n return ServiceFeedbackApi.create(state.selected).then(() => {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Feedback created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n } else {\n return ServiceFeedbackApi.update(state.selected.id, state.selected).then(() => {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Feedback updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n }\n },\n remove({ commit, dispatch }) {\n return ServiceFeedbackApi.delete(state.selected.id, state.selected.individual_contact?.id || \"0\").then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Feedback deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n getsummarizeFeedback({ commit }, payload) {\n return ServiceFeedbackApi.summarize(payload.projectId)\n .then((response) => {\n return response\n })\n .catch(() => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Failed to summarize feedback.\", type: \"error\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n state.selected = Object.assign(state.selected, getDefaultSelectedState())\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\n\nimport API from \"@/api\"\n\nconst resource = \"incident_steps\"\n\nexport default {\n getIncidentSteps(incidentId) {\n return API.get(`/${resource}/${incidentId}/steps`)\n },\n\n updateIncidentStep(incidentId, stepId, payload) {\n return API.put(`/${resource}/${incidentId}/${stepId}`, payload)\n },\n getStepAiSummary(incidentId, stepId) {\n return API.get(`/${resource}/${incidentId}/${stepId}/ai-summary`)\n },\n}\n","/*\n.. Modified by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport IncidentApi from \"@/incident/api\"\nimport router from \"@/router\"\nimport moment from \"moment-timezone\"\nimport StepsApi from '@/incident/steps/api';\nimport Vue from 'vue';\n\nconst getDefaultSelectedState = () => {\n return {\n cases: [],\n commander: null,\n commander_email: null,\n conference: null,\n conversation: null,\n created_at: null,\n closed_at: null,\n custom_fields: [],\n custom_checklist: [],\n description: null,\n documents: null,\n entities: [],\n events: null,\n id: null,\n incident_costs: null,\n incident_priority: null,\n incident_severity: null,\n incident_type: null,\n name: null,\n participants: [],\n project: null,\n queries: [],\n reported_at: null,\n reporter: null,\n assignee: null,\n postmortems: [],\n resolution: null,\n services: [],\n stable_at: null,\n status: null,\n statuspage: null,\n statuspage_id: null,\n storycurve_url: null,\n unstatus_url: null,\n storycurve_sketch_id: null,\n storage: null,\n tags: [],\n tasks: [],\n steps: [],\n terms: [],\n ticket: null,\n title: null,\n visibility: null,\n workflow_instances: null,\n weblinks: [],\n loading: false,\n currentEvent: {},\n }\n}\n\nconst getDefaultReportState = () => {\n return {\n type: \"tactical\",\n tactical: {\n conditions: null,\n actions: null,\n needs: null,\n },\n executive: {\n current_status: null,\n overview: null,\n next_steps: null,\n },\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showDeleteDialog: false,\n showEditSheet: false,\n showExport: false,\n showHandoffDialog: false,\n showNewSheet: false,\n showReportDialog: false,\n showEditEventDialog: false,\n showDeleteEventDialog: false,\n showStepAiSummaryDialog: false,\n },\n report: {\n ...getDefaultReportState(),\n },\n table: {\n rows: {\n items: [],\n total: null,\n selected: [],\n },\n options: {\n filters: {\n reporter: [],\n commander: [],\n incident_type: [],\n incident_priority: [],\n incident_severity: [],\n status: [],\n tag: [],\n project: [],\n tag_type: [],\n reported_at: {\n start: null,\n end: null,\n },\n closed_at: {\n start: null,\n end: null,\n },\n },\n q: \"\",\n page: 1,\n itemsPerPage: 25,\n sortBy: [\"reported_at\"],\n descending: [true],\n },\n loading: false,\n bulkEditLoading: false,\n },\n timeline_filters: {\n field_updates: false,\n assessment_updates: false,\n context_updates: false,\n user_curated_events: false,\n participant_updates: true,\n other_events: true,\n notification_events: false,\n ai_generated_events: true,\n resource_updates: true,\n step_updates: true,\n task_updates: true,\n conversation_events: true,\n\n },\n currentFilter: null,\n updateLoading: false,\n stepLoading: {},\n stepAiSummaryLoading: false,\n stepAiSummary: '',\n}\n\nconst getters = {\n getField,\n tableOptions({ state }) {\n // format our filters\n return state.table.options\n },\n}\n\nconst actions = {\n createPostmortemReport({ commit }, payload) {\n return IncidentApi.createPostmortemReport(payload.incidentId)\n .then(() => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Postmortem (PIR) story will be available shortly\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Submission failed.\", type: \"error\" },\n { root: true }\n )\n })\n },\n\n updateStep({ commit }, payload) {\n commit(\"SET_STEP_LOADING\", { ...state.stepLoading, [payload.stepId]: true })\n return StepsApi.updateIncidentStep(payload.incidentId, payload.stepId, payload.step)\n .then(() => {\n // update the step in the store\n commit('UPDATE_STEP', payload);\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Step updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch((error) => {\n console.log(\"Failed to update step\", payload.stepId);\n console.log(error);\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Failed to update step.\", type: \"error\" },\n { root: true }\n )\n })\n .finally(() => {\n commit(\"SET_STEP_LOADING\", { ...state.stepLoading, [payload.stepId]: false })\n });\n },\n copyToClipboardSuccess({ commit }) {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Copied to clipboard.\", type: \"success\" },\n { root: true }\n )\n },\n\n addComment({ commit }, payload) {\n return IncidentApi.addComment(payload.incidentId, payload.comment)\n .then(() => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Comment added successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"ADD_COMMENT\", payload.comment)\n })\n .catch(() => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Failed to add comment.\", type: \"error\" },\n { root: true }\n )\n })\n },\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"Incident\"\n )\n return IncidentApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n get({ commit, state }) {\n // noop if no selected id available\n if (state.selected.id) {\n return IncidentApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n })\n }\n },\n getDetails({ commit, state }, payload) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (\"id\" in payload) {\n return IncidentApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else if (\"name\" in payload) {\n // this is kinda dirty\n return IncidentApi.getAll({\n filter: JSON.stringify([\n { and: [{ model: \"Incident\", field: \"name\", op: \"==\", value: payload.name }] },\n ]),\n }).then((response) => {\n if (response.data.items.length) {\n // get the full data set\n return IncidentApi.get(response.data.items[0].id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n commit(\n \"notification_backend/addBeNotification\",\n {\n text: `IAO '${payload.name}' could not be found.`,\n type: \"error\",\n },\n { root: true }\n )\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n }\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n getStepAiSummary({ commit }, payload) {\n commit(\"SET_STEP_AI_SUMMARY_LOADING\", true);\n return StepsApi.getStepAiSummary(payload.incidentId, payload.stepId)\n .then((response) => {\n commit(\"SET_DIALOG_SHOW_STEP_AI_SUMMARY\", true);\n commit(\"SET_AI_STEP_SUMMARY\", response.data);\n commit(\"SET_STEP_AI_SUMMARY_LOADING\", false);\n })\n .catch((error) => {\n console.log(\"Failed to get step AI summary\", payload.stepId);\n console.log(error);\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Failed to get step AI summary.\", type: \"error\" },\n { root: true }\n )\n })\n .finally(() => {\n commit(\"SET_STEP_AI_SUMMARY_LOADING\", false);\n });\n },\n getSimilar({ commit, state }, payload) {\n return IncidentApi.getSimilar(state.selected.id, payload).then((response) => {\n return response.data\n })\n },\n showNewSheet({ commit }, incident) {\n commit(\"SET_DIALOG_SHOW_NEW_SHEET\", true)\n if (incident) {\n commit(\"SET_SELECTED\", incident)\n }\n },\n closeNewSheet({ commit }) {\n commit(\"SET_DIALOG_SHOW_NEW_SHEET\", false)\n commit(\"RESET_SELECTED\")\n },\n showEditSheet({ commit }) {\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", true)\n },\n closeEditSheet({ commit }) {\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n commit(\"RESET_SELECTED\")\n router.push({ name: \"IncidentTable\" })\n },\n showDeleteDialog({ commit }, incident) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", incident)\n },\n closeDeleteDialog({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n showReportDialog({ commit }, incident) {\n commit(\"SET_DIALOG_REPORT\", true)\n commit(\"SET_SELECTED\", incident)\n state.report.tactical.actions = incident.tasks.reduce((result, task) => {\n if (task.status == \"Resolved\") {\n return result\n }\n return (result ? result + \"\\n\" : \"\") + \"- \" + task.description\n }, \"\")\n },\n closeReportDialog({ commit }) {\n commit(\"SET_DIALOG_REPORT\", false)\n commit(\"RESET_SELECTED\")\n },\n showExport({ commit }) {\n commit(\"SET_DIALOG_SHOW_EXPORT\", true)\n },\n closeExport({ commit }) {\n commit(\"SET_DIALOG_SHOW_EXPORT\", false)\n },\n showHandoffDialog({ commit }, value) {\n commit(\"SET_DIALOG_SHOW_HANDOFF\", true)\n commit(\"SET_SELECTED\", value)\n },\n closeHandoffDialog({ commit }) {\n commit(\"SET_DIALOG_SHOW_HANDOFF\", false)\n commit(\"RESET_SELECTED\")\n },\n likeIncident({ commit }, incidentId) {\n // Simulate a successful API call with a Promise. TODO. KJ. Add real API call\n new Promise((resolve) => {\n setTimeout(() => resolve(\"success\"), 500); // Simulate async operation with setTimeout\n }).then(() => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"This is gold dust; thanks for helping us improve! 🚀\", type: \"success\" },\n { root: true }\n );\n });\n },\n dislikeIncident({ commit }, incidentId) {\n // Simulate a successful API call with a Promise. TODO. KJ. Add real API call\n new Promise((resolve) => {\n setTimeout(() => resolve(\"success\"), 500);\n }).then(() => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"This is gold dust; thanks for helping us improve! 🚀\", type: \"success\" },\n { root: true }\n );\n });\n },\n\n showEditEventDialog({ commit }, event) {\n state.selected.currentEvent = event\n commit(\"SET_DIALOG_EDIT_EVENT\", true)\n },\n closeEditEventDialog({ commit }) {\n commit(\"SET_DIALOG_EDIT_EVENT\", false)\n },\n showNewPreEventDialog({ commit }, started_at) {\n const newStartedAt = moment(started_at).add(1, \"seconds\").toISOString();\n const currentEventPayload = { started_at: newStartedAt, description: \"\" };\n commit(\"UPDATE_CURRENT_EVENT\", currentEventPayload);\n commit(\"SET_DIALOG_EDIT_EVENT\", true)\n },\n showNewEventDialog({ commit }, started_at) {\n const newStartedAt = moment(started_at).add(1, \"seconds\").toISOString();\n const currentEventPayload = { started_at: started_at, description: \"\" };\n commit(\"UPDATE_CURRENT_EVENT\", currentEventPayload);\n commit(\"SET_DIALOG_EDIT_EVENT\", true)\n },\n showDeleteEventDialog({ commit }, event) {\n state.selected.currentEvent = event\n commit(\"SET_DIALOG_DELETE_EVENT\", true)\n },\n togglePin({ commit }, event) {\n state.selected.currentEvent = event\n state.selected.currentEvent.pinned = !state.selected.currentEvent.pinned\n IncidentApi.updateEvent(state.selected.id, state.selected.currentEvent).then(() => {\n IncidentApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n })\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Event updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n commit(\"SET_DIALOG_EDIT_EVENT\", false)\n },\n closeDeleteEventDialog({ commit }) {\n commit(\"SET_DIALOG_DELETE_EVENT\", false)\n },\n storeNewEvent({ commit }) {\n IncidentApi.createNewEvent(state.selected.id, {\n source: \"Incident Participant\",\n description: state.selected.currentEvent.description,\n started_at: state.selected.currentEvent.started_at,\n type: \"Custom event\",\n details: {},\n }).then(() => {\n IncidentApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n })\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Event created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n commit(\"SET_DIALOG_EDIT_EVENT\", false)\n },\n updateExistingEvent({ commit }) {\n IncidentApi.updateEvent(state.selected.id, state.selected.currentEvent).then(() => {\n IncidentApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n })\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Event updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n commit(\"SET_DIALOG_EDIT_EVENT\", false)\n },\n deleteEvent({ commit }) {\n IncidentApi.deleteEvent(state.selected.id, state.selected.currentEvent.uuid).then(() => {\n IncidentApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n })\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Event deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n commit(\"SET_DIALOG_DELETE_EVENT\", false)\n },\n report({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n return IncidentApi.create(state.selected)\n .then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n var interval = setInterval(function () {\n if (state.selected.id) {\n dispatch(\"get\")\n }\n\n // TODO this is fragile but we don't set anything as \"created\"\n if (state.selected.conversation) {\n clearInterval(interval)\n }\n }, 5000)\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n },\n addResource({ commit, state }, resource) {\n commit(\"SET_SELECTED_LOADING\", true);\n IncidentApi.addResource(state.selected.id, resource)\n .then((response) => {\n commit(\"SET_SELECTED_LOADING\", false);\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Resource added successfully.\", type: \"success\" },\n { root: true }\n );\n })\n .catch((error) => {\n console.error(\"Error adding resource to incident:\", error);\n commit(\"SET_SELECTED_LOADING\", false);\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Failed to add resource.\", type: \"error\" },\n { root: true }\n );\n });\n },\n\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return IncidentApi.create(state.selected)\n .then(() => {\n dispatch(\"closeNewSheet\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident created successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_SELECTED_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return IncidentApi.update(state.selected.id, state.selected)\n .then(() => {\n dispatch(\"closeEditSheet\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident updated successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_SELECTED_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n markStable({ commit, dispatch }, incidentId) {\n commit(\"SET_UPDATE_INCIDENT_LOADING\", true)\n return IncidentApi.markStable(incidentId).then(() => {\n dispatch(\"getAll\")\n dispatch(\"get\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident marked as stable. Running stable status workflows.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_UPDATE_INCIDENT_LOADING\", false)\n }\n ).catch(() => {\n commit(\"SET_UPDATE_INCIDENT_LOADING\", false)\n })\n },\n markClosed({ commit, dispatch }, incidentId) {\n commit(\"SET_UPDATE_INCIDENT_LOADING\", true)\n return IncidentApi.markClosed(incidentId).then(() => {\n dispatch(\"getAll\")\n dispatch(\"get\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident marked as closed. Running closed status workflows.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_UPDATE_INCIDENT_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_UPDATE_INCIDENT_LOADING\", false)\n })\n },\n saveBulk({ commit, dispatch }, payload) {\n commit(\"SET_BULK_EDIT_LOADING\", true)\n return IncidentApi.bulkUpdate(state.table.rows.selected, payload)\n .then(() => {\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident(s) updated successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_BULK_EDIT_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_BULK_EDIT_LOADING\", false)\n })\n },\n deleteBulk({ commit, dispatch }) {\n commit(\"SET_BULK_EDIT_LOADING\", true)\n return IncidentApi.bulkDelete(state.table.rows.selected)\n .then(() => {\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident(s) deleted successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_BULK_EDIT_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_BULK_EDIT_LOADING\", false)\n })\n },\n deleteIncident({ commit, dispatch }) {\n return IncidentApi.delete(state.selected.id).then(function () {\n dispatch(\"closeDeleteDialog\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n createReport({ commit, dispatch }) {\n return IncidentApi.createReport(\n state.selected.id,\n state.report.type,\n state.report[state.report.type]\n ).then(function () {\n dispatch(\"closeReportDialog\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Report created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n resetSelected({ commit }) {\n commit(\"RESET_SELECTED\")\n },\n joinIncident({ commit }, incidentId) {\n IncidentApi.join(incidentId, {}).then(() => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"You have successfully joined the incident.\", type: \"success\" },\n { root: true }\n )\n })\n },\n subscribeToIncident({ commit }, incidentId) {\n IncidentApi.subscribe(incidentId, {}).then(() => {\n commit(\n \"notification_backend/addBeNotification\",\n {\n text: \"You have successfully subscribed to the incident. You will receive all tactical reports about this incident via email.\",\n type: \"success\",\n },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n addIncidentCost(state, value) {\n state.selected.incident_costs.push(value)\n },\n ADD_RESOURCE_TO_INCIDENT(state, resource) {\n if (!state.selected.resources) {\n state.selected.resources = [];\n }\n state.selected.resources.push(resource);\n },\n removeIncidentCost(state, idx) {\n state.selected.incident_costs.splice(idx, 1)\n },\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n // reset selected on table load\n value[\"selected\"] = []\n state.table.rows = value\n },\n SET_DIALOG_SHOW_EDIT_SHEET(state, value) {\n state.dialogs.showEditSheet = value\n },\n SET_DIALOG_SHOW_NEW_SHEET(state, value) {\n state.dialogs.showNewSheet = value\n },\n SET_DIALOG_SHOW_EXPORT(state, value) {\n state.dialogs.showExport = value\n },\n SET_DIALOG_SHOW_STEP_AI_SUMMARY(state, value) {\n state.dialogs.showStepAiSummaryDialog = value\n },\n SET_DIALOG_SHOW_HANDOFF(state, value) {\n state.dialogs.showHandoffDialog = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showDeleteDialog = value\n },\n SET_DIALOG_EDIT_EVENT(state, value) {\n state.dialogs.showEditEventDialog = value\n },\n SET_DIALOG_DELETE_EVENT(state, value) {\n state.dialogs.showDeleteEventDialog = value\n },\n SET_DIALOG_REPORT(state, value) {\n state.dialogs.showReportDialog = value\n },\n SET_AI_STEP_SUMMARY(state, value) {\n state.stepAiSummary = value;\n },\n RESET_SELECTED(state) {\n state.selected = Object.assign(state.selected, getDefaultSelectedState())\n state.report = Object.assign(state.report, getDefaultReportState())\n },\n SET_BULK_EDIT_LOADING(state, value) {\n state.table.bulkEditLoading = value\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_LOADING(state, value) {\n state.loading = value\n },\n SET_STEP_LOADING(state, value) {\n state.stepLoading = value\n },\n SET_STEP_AI_SUMMARY_LOADING(state, value) {\n state.stepAiSummaryLoading = value\n },\n SET_SLA_REMINDER_LOADING(state, value) {\n state.slaReminderLoading = value\n },\n UPDATE_CURRENT_EVENT(state, payload) {\n state.selected.currentEvent = payload;\n },\n UPDATE_TASK_STATUS(state, payload) {\n const task = state.selected.tasks.find(task => task.id === payload.taskId);\n if (task) {\n task.status = payload.newStatus;\n }\n },\n SET_UPDATE_INCIDENT_LOADING(state, value) {\n state.updateLoading = value\n },\n UPDATE_INCIDENT_WITH_RESOURCE(state, updatedIncident) {\n state.selected = updatedIncident;\n },\n UPDATE_STEP(state, payload) {\n const stepIndex = state.selected.steps.findIndex(step => step.id === payload.stepId);\n if (stepIndex !== -1) {\n Vue.set(state.selected.steps, stepIndex, {\n ...state.selected.steps[stepIndex],\n ...payload.step\n });\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport IncidentCostTypeApi from \"@/incident_cost_type/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n name: null,\n description: null,\n category: null,\n details: {},\n default: false,\n project: null,\n editable: true,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"IncidentCostType\"\n )\n return IncidentCostTypeApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, incidentCostType) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (incidentCostType) {\n commit(\"SET_SELECTED\", incidentCostType)\n }\n },\n removeShow({ commit }, incidentCostType) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", incidentCostType)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return IncidentCostTypeApi.create(state.selected)\n .then(() => {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\"SET_SELECTED_LOADING\", false)\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident cost type created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return IncidentCostTypeApi.update(state.selected.id, state.selected)\n .then(() => {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\"SET_SELECTED_LOADING\", false)\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident cost type updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return IncidentCostTypeApi.delete(state.selected.id)\n .then(function () {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident cost type deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","/*\n.. Modified by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport IncidentPriorityApi from \"@/incident/priority/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n color: null,\n default: false,\n description: null,\n enabled: false,\n executive_report_reminder: null,\n id: null,\n loading: false,\n name: null,\n page_commander: null,\n page_liaison: null,\n page_scribe: null,\n project: null,\n tactical_report_reminder: null,\n view_order: null,\n create_incident_postmortem: false,\n create_ai_summaries_in_background: false,\n require_manual_confirmation_for_incident_actions: false,\n enable_opsgpt_incident_copilot: false,\n unleash_opsgpt_incident_copilot: false,\n enable_opsgpt_incident_copilot_for_tasks: false,\n auto_add_participants_based_on_ai_generated_tags: false,\n auto_add_follow_ups_from_recording_transcript: false,\n auto_add_tasks_from_recording_transcript: false,\n auto_post_to_status_page: false,\n auto_schedule_postmortem_meeting: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"view_order\"],\n descending: [false],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"IncidentPriority\"\n )\n return IncidentPriorityApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, incidentPriority) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (incidentPriority) {\n commit(\"SET_SELECTED\", incidentPriority)\n }\n },\n removeShow({ commit }, incidentPriority) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", incidentPriority)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, state, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n\n if (!state.selected.id) {\n return IncidentPriorityApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident priority created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return IncidentPriorityApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident priority updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return IncidentPriorityApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident priority deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport IncidentSeverityApi from \"@/incident/severity/api\"\nimport SearchUtils from \"@/search/utils\"\n\nconst getDefaultSelectedState = () => {\n return {\n color: null,\n default: false,\n description: null,\n enabled: false,\n id: null,\n loading: false,\n name: null,\n project: null,\n view_order: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"view_order\"],\n descending: [false],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"IncidentSeverity\"\n )\n return IncidentSeverityApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, incidentSeverity) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (incidentSeverity) {\n commit(\"SET_SELECTED\", incidentSeverity)\n }\n },\n removeShow({ commit }, incidentSeverity) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", incidentSeverity)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, state, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n\n if (!state.selected.id) {\n return IncidentSeverityApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident severity created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return IncidentSeverityApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident severity updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return IncidentSeverityApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident severity deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","/*\n.. Modified by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport IncidentTypeApi from \"@/incident/type/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n slug: null,\n name: null,\n description: null,\n visibility: null,\n incident_template_document: null,\n tracking_template_document: null,\n review_template_document: null,\n executive_template_document: null,\n loading: false,\n plugin_metadata: [],\n custom_fields: [],\n custom_checklist: [],\n storycurve_logging_enabled: false,\n postmortem_custom_fields: [],\n repo_urls: [],\n exclude_from_metrics: null,\n enabled: false,\n default: false,\n project: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [false],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"IncidentType\"\n )\n return IncidentTypeApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, incidentType) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (incidentType) {\n commit(\"SET_SELECTED\", incidentType)\n }\n },\n removeShow({ commit }, incidentType) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", incidentType)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, state, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return IncidentTypeApi.create(state.selected)\n .then(() => {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\"SET_SELECTED_LOADING\", false)\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident type created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return IncidentTypeApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident type updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return IncidentTypeApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Incident type deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport API from \"@/api\"\n\nconst resource = \"/oncall/handoffs\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(HandoffId) {\n return API.get(`${resource}/${HandoffId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(HandoffId, payload) {\n return API.put(`${resource}/${HandoffId}`, payload)\n },\n\n delete(HandoffId) {\n return API.delete(`${resource}/${HandoffId}`)\n },\n}\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport OncallHandoffApi from \"@/oncall/handoff/api\"\nimport router from \"@/router\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n handover_from: null,\n handover_to: null,\n start_time: null,\n end_time: null,\n shift_type: null,\n location_type: null,\n location_details: null,\n critical_ongoing_issues: null,\n tasks_completed: null,\n pending_tasks: null,\n mentions: null,\n tools_and_access: null,\n feedback: null,\n handoff_completed: null,\n loading: false,\n project: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n showNewSheet: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 25,\n sortBy: [\"end_time\"],\n descending: [true],\n filters: {\n project: [],\n individual_contact: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", true)\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"OncallHandoff\")\n return OncallHandoffApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n getDetails({ commit, state }, payload) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (\"id\" in payload && payload.id !== undefined) {\n return OncallHandoffApi.get(payload.id)\n .then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n createEditShow({ commit }, oncallhandoff) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (oncallhandoff) {\n commit(\"SET_SELECTED\", oncallhandoff)\n }\n },\n removeShow({ commit }, oncallhandoff) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", oncallhandoff)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n router.push({ name: \"OncallHandoffTable\" })\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return OncallHandoffApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeNewSheet\")\n dispatch(\"getAll\")\n dispatch(\"closeCreateEdit\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Oncall Handoff created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n commit(\"SET_SELECTED_LOADING\", true)\n return OncallHandoffApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"closeNewSheet\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Oncall Handoff updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n showNewSheet({ commit }, value) {\n commit(\"SET_DIALOG_SHOW_NEW_SHEET\", true)\n commit(\"RESET_SELECTED\")\n if (value) {\n commit(\"SET_SELECTED\", value)\n }\n },\n closeNewSheet({ commit }) {\n commit(\"SET_DIALOG_SHOW_NEW_SHEET\", false)\n commit(\"RESET_SELECTED\")\n },\n remove({ commit, dispatch }) {\n return OncallHandoffApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Oncall Handoff deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_SHOW_NEW_SHEET(state, value) {\n state.dialogs.showNewSheet = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n SET_DIALOG_SHOW_EDIT_SHEET(state, value) {\n state.dialogs.showEditSheet = value\n },\n RESET_SELECTED(state) {\n state.selected = { ...getDefaultSelectedState() }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\n\nimport API from \"@/api\"\n\nconst resource = \"/oncall/preshift_preps\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(PreshiftPrepId) {\n return API.get(`${resource}/${PreshiftPrepId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(PreshiftPrepId, payload) {\n return API.put(`${resource}/${PreshiftPrepId}`, payload)\n },\n\n delete(PreshiftPrepId) {\n return API.delete(`${resource}/${PreshiftPrepId}`)\n },\n}\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport OncallPreshiftPrepAPI from \"@/oncall/preshift_prep/api\"\nimport router from \"@/router\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n handover_to: null,\n sent: false,\n sent_at: null,\n accepted: false,\n accepted_at: null,\n shift_type: null,\n location_type: null,\n handshake_completed: false,\n loading: false,\n project: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n showNewSheet: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n filters: {\n project: [],\n individual_contact: [],\n handshake_completed: false,\n },\n q: \"\",\n page: 1,\n itemsPerPage: 25,\n sortBy: [\"sent_at\"],\n descending: [true],\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", true)\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"OncallPreshiftPrep\")\n return OncallPreshiftPrepAPI.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n getDetails({ commit, state }, payload) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (\"id\" in payload && payload.id !== undefined) {\n return OncallPreshiftPrepAPI.get(payload.id)\n .then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n createEditShow({ commit }, oncallpreshiftprep) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (oncallpreshiftprep) {\n commit(\"SET_SELECTED\", oncallpreshiftprep)\n }\n },\n removeShow({ commit }, oncallpreshiftprep) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", oncallpreshiftprep)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n router.push({ name: \"OncallPreshiftPrepTable\" })\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return OncallPreshiftPrepAPI.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeNewSheet\")\n dispatch(\"getAll\")\n dispatch(\"closeCreateEdit\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Oncall Preshift Prep created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n commit(\"SET_SELECTED_LOADING\", true)\n return OncallPreshiftPrepAPI.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"closeNewSheet\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Oncall Preshift Prep updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n showNewSheet({ commit }, value) {\n commit(\"SET_DIALOG_SHOW_NEW_SHEET\", true)\n commit(\"RESET_SELECTED\")\n if (value) {\n commit(\"SET_SELECTED\", value)\n }\n },\n closeNewSheet({ commit }) {\n commit(\"SET_DIALOG_SHOW_NEW_SHEET\", false)\n commit(\"RESET_SELECTED\")\n },\n remove({ commit, dispatch }) {\n return OncallPreshiftPrepAPI.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Oncall Preshift Prep deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_SHOW_NEW_SHEET(state, value) {\n state.dialogs.showNewSheet = value\n },\n SET_DIALOG_SHOW_EDIT_SHEET(state, value) {\n state.dialogs.showEditSheet = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n state.selected = { ...getDefaultSelectedState() }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport IndividualApi from \"@/individual/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n name: null,\n email: null,\n company: null,\n notes: null,\n title: null,\n external_id: null,\n filters: [],\n is_external: null,\n is_active: null,\n project: null,\n id: null,\n created_at: null,\n updated_at: null,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [false],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"Individual\"\n )\n return IndividualApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, individual) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (individual) {\n commit(\"SET_SELECTED\", individual)\n }\n },\n removeShow({ commit }, individual) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", individual)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return IndividualApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Individual created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return IndividualApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Individual updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return IndividualApi.delete(state.selected.id).then(() => {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Individual deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import API from \"@/api\"\n\nconst resource = \"/notifications\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(notificationId) {\n return API.get(`${resource}/${notificationId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(notificationId, payload) {\n return API.put(`${resource}/${notificationId}`, payload)\n },\n\n delete(notificationId) {\n return API.delete(`${resource}/${notificationId}`)\n },\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport NotificationApi from \"@/notification/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n name: null,\n description: null,\n type: \"conversation\",\n target: null,\n project: null,\n enabled: null,\n evergreen: null,\n evergreen_owner: null,\n evergreen_reminder_interval: null,\n filters: [],\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"created_at\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"Notification\"\n )\n return NotificationApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, notification) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (notification) {\n commit(\"SET_SELECTED\", notification)\n }\n },\n removeShow({ commit }, notification) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", notification)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return NotificationApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Notification created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return NotificationApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Notification updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return NotificationApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Notification deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\n\nconst state = {\n notifications: [],\n}\n\nconst getters = {\n getField,\n getBackendNotifications({ state }) {\n return state.notifications\n },\n}\n\nconst mutations = {\n updateField,\n addBeNotification(state, payload) {\n if (payload.type === \"error\") {\n payload.timeout = 0\n }\n\n if (payload.show !== false) {\n payload.show = true\n }\n state.notifications.push({ ...payload })\n },\n removeBeNotification(state, index) {\n state.notifications.splice(index, 1)\n },\n removeAllBeNotifications(state) {\n state.notifications = []\n },\n setBeNotificationSeen(state, index) {\n state.notifications[index].show = false\n },\n}\n\nconst actions = {\n addBackendNotification({ commit }, payload) {\n commit(\"addBeNotification\", payload)\n },\n removeBackendNotification({ commit }, payload) {\n commit(\"removeBeNotification\", payload)\n },\n setBackendNotificationSeen({ commit }, payload) {\n commit(\"setBeNotificationSeen\", payload)\n },\n removeAllBackendNotifications({ commit }) {\n commit(\"removeAllBeNotifications\")\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import OrganizationApi from \"@/organization/api\"\n\nimport { getField, updateField } from \"vuex-map-fields\"\nimport router from \"@/router/\"\n\nconst getDefaultSelectedState = () => {\n return {\n name: null,\n description: [],\n banner_enabled: true,\n banner_text: null,\n banner_color: \"#1565C0\",\n storycurve_logging_enabled: true,\n custom_plan: false,\n id: null,\n loading: false,\n free_trial_start: null,\n free_trial_end: null,\n plan: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n showCreateEditDialog({ commit }, organization) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (organization) {\n commit(\"SET_SELECTED\", organization)\n }\n },\n closeCreateEditDialog({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n\n if (!state.selected.id) {\n return OrganizationApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEditDialog\")\n router.go(router.currentRoute)\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Organization created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return OrganizationApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEditDialog\")\n router.go(router.currentRoute)\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Organization updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n RESET_SELECTED(state) {\n state.selected = Object.assign(state.selected, getDefaultSelectedState())\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport API from \"@/api\"\n\nconst resource = \"/okrs\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n}\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport { getField } from \"vuex-map-fields\"\n\nimport SearchUtils from \"@/search/utils\"\nimport OKRsApi from \"@/okrs/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n description: null,\n title: null,\n key_results: [],\n progress: null,\n project: null,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [false],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: async ({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"okrs\")\n commit(\"SET_TABLE_LOADING\", false)\n try {\n const response = await OKRsApi.getAll(params)\n commit(\"SET_TABLE_ROWS\", response.data)\n return response\n } catch (error) {\n console.error('Error fetching OKRs:', error)\n }\n },\n}\n\n\nconst mutations = {\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","const state = {\n pattern: \"\",\n jpath: \"\",\n}\n\nconst getters = {\n pattern({ pattern }) {\n return pattern\n },\n jpath({ jpath }) {\n return jpath\n },\n}\n\nconst mutations = {\n updatePattern(state, payload) {\n state.pattern = payload\n },\n updateJsonPath(state, payload) {\n state.jpath = payload\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n}\n","/*\n.. Modified by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport PluginApi from \"@/plugin/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n enabled: null,\n configuration: [],\n configuration_schema: {},\n project: null,\n plugin_instance: null,\n plugin: null,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 75,\n sortBy: [\"Plugin.slug\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n effectiveConfiguration: (state) => {\n if (state.selected.configuration) {\n return state.selected.configuration;\n } else if (state.selected.configuration_schema) {\n return generateInitialConfiguration(state.selected.configuration_schema);\n } else {\n return null;\n }\n },\n}\n\nconst actions = {\n setInitialConfiguration({ commit, state }, schema) {\n if (!state.selected.configuration) {\n const configuration = generateInitialConfiguration(schema);\n commit('setConfiguration', configuration);\n }\n },\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"Plugin\")\n return PluginApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n getAllInstances: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"Plugin\")\n return PluginApi.getAllInstances(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, plugin) {\n commit(\"SET_DIALOG_EDIT\", true)\n if (plugin) {\n PluginApi.getInstance(plugin.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n })\n }\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n removeShow({ commit }, plugin) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", plugin)\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return PluginApi.createInstance(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAllInstances\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Plugin instance created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return PluginApi.updateInstance(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAllInstances\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Plugin instance updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return PluginApi.deleteInstance(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAllInstances\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Plugin instance deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst generateInitialConfiguration = (schema) => {\n console.log(\"Generating initial configuration from schema\", schema)\n const config = {}\n Object.keys(schema.properties).forEach((key) => {\n console.log(\"Generating initial configuration for key\", key)\n const property = schema.properties[key]\n if (\"default\" in property) {\n config[key] = property.default\n } else {\n switch (property.type) {\n case \"string\":\n config[key] = \"\"\n break\n case \"number\":\n config[key] = 0\n break\n case \"boolean\":\n config[key] = false\n break\n case \"array\":\n config[key] = []\n break\n case \"object\":\n config[key] = {}\n break\n default:\n config[key] = null\n }\n }\n })\n return config\n};\n\nconst mutations = {\n setConfiguration(state, payload) {\n state.selected.configuration = payload;\n },\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import ProjectApi from \"@/project/api\"\n\nimport { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nconst getDefaultSelectedState = () => {\n return {\n name: null,\n id: null,\n description: null,\n organization: {\n name: localStorage.getItem('organization'),\n slug: localStorage.getItem('organization')\n },\n color: null,\n custom_ttp_patterns: [],\n loading: false,\n annual_employee_cost: 50000,\n business_year_hours: 2080,\n owner_email: null,\n owner_conversation: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n items_per_page: 9999, // Used for fetching all projects\n sortBy: [\"name\"],\n descending: [false],\n },\n loading: false,\n },\n galaxies: [],\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n return ProjectApi.getAll(state.table.options)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, project) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (project) {\n commit(\"SET_SELECTED\", project)\n }\n },\n removeShow({ commit }, project) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", project)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true);\n\n const orgSlug = localStorage.getItem('organization');\n const payload = {\n ...state.selected,\n organization: {\n name: orgSlug,\n slug: orgSlug\n }\n };\n\n // Validate organization exists\n if (!orgSlug) {\n commit(\"SET_SELECTED_LOADING\", false);\n return {\n success: false,\n error: 'Organization not found in localStorage'\n };\n }\n\n return ProjectApi.create(state.selected)\n .then((response) => {\n const savedProject = response.data;\n commit(\"SET_SELECTED\", savedProject);\n commit(\"SET_SELECTED_LOADING\", false);\n localStorage.setItem(\"project\", savedProject.id);\n commit(\"auth/SET_CURRENT_PROJECT\", savedProject.id, { root: true });\n dispatch(\"getAll\");\n return { success: true, data: savedProject };\n })\n .catch((error) => {\n commit(\"SET_SELECTED_LOADING\", false);\n if (error.response) {\n // The request was made and the server responded with a status code\n // that falls out of the range of 2xx\n return { success: false, status: error.response.status, data: error.response.data };\n } else if (error.request) {\n // The request was made but no response was received\n return { success: false, error: 'No response received' };\n } else {\n // Something happened in setting up the request that triggered an Error\n return { success: false, error: error.message };\n }\n });\n },\n remove({ commit, dispatch }) {\n return ProjectApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Project deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n async fetchGalaxies({ commit, state }) {\n try {\n const token = localStorage.getItem(\"token\");\n const unstruct_anonymous_key = localStorage.getItem(\"unstruct_anonymous_key\");\n\n // Return if neither authentication method is present\n if (!token && !unstruct_anonymous_key) {\n return;\n }\n\n const { data } = await ProjectApi.getUserProjects(state.table.options);\n commit('SET_GALAXIES', data.items);\n } catch (error) {\n console.error('Failed to fetch galaxies:', error);\n }\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = {\n ...getDefaultSelectedState(),\n ...value\n };\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n state.selected = Object.assign(state.selected, getDefaultSelectedState())\n },\n SET_GALAXIES(state, galaxies) {\n state.galaxies = galaxies;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport QueryApi from \"@/data/query/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n loading: false,\n name: null,\n description: null,\n source: null,\n text: null,\n project: null,\n language: null,\n created_at: null,\n count: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"count\"],\n descending: [true],\n filters: {\n tag: [],\n project: [],\n tag_type: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n {\n ...state.table.options,\n },\n \"Query\"\n )\n return QueryApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, query) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (query) {\n commit(\"SET_SELECTED\", query)\n }\n },\n copyToClipboardSuccess({ commit }) {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Copied to clipboard.\", type: \"success\" },\n { root: true }\n )\n },\n removeShow({ commit }, query) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", query)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n getDetails({ commit, state }, payload) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (\"id\" in payload) {\n return QueryApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else if (\"name\" in payload) {\n // this is kinda dirty\n return QueryApi.getAll({\n filter: JSON.stringify([\n {\n and: [\n {\n model: \"Query\",\n field: \"name\",\n op: \"==\",\n value: payload.name,\n },\n ],\n },\n ]),\n }).then((response) => {\n if (response.data.items.length) {\n commit(\"SET_SELECTED\", response.data.items[0])\n } else {\n commit(\n \"notification_backend/addBeNotification\",\n {\n text: `Query '${payload.name}' could not be found.`,\n type: \"error\",\n },\n { root: true }\n )\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n }\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return QueryApi.create(state.selected)\n .then(function (resp) {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Query created successfully.\", type: \"success\" },\n { root: true }\n )\n return resp.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return QueryApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Query updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return QueryApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Query deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n state.selected = { ...getDefaultSelectedState() }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchApi from \"@/search/api\"\nimport SearchUtils from \"@/search/utils\"\n\nconst getDefaultSelectedState = () => {\n return {\n description: null,\n expression: null,\n individuals: null,\n loading: false,\n name: null,\n notifications: null,\n project: null,\n services: null,\n subject: \"incident\",\n teams: null,\n type: null,\n previewRows: {\n items: [],\n total: null,\n },\n previewRowsLoading: false,\n step: 1,\n filters: {\n incident_type: [],\n case_type: [],\n case_priority: [],\n incident_priority: [],\n status: [],\n tag: [],\n tag_type: [],\n project: [],\n visibility: [],\n },\n }\n}\n\nconst state = {\n table: {\n rows: {\n items: [],\n total: null,\n selected: [],\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 25,\n sortBy: [\"updated_at\"],\n descending: [false],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n results: {\n incidents: [],\n cases: [],\n tasks: [],\n documents: [],\n tags: [],\n queries: [],\n sources: [],\n commands: [],\n weblinks: [],\n signals: [],\n commits: [],\n webcrawls: [],\n conversations: [],\n conferences: [],\n tickets: [],\n eccs_projects: [],\n text_submissions: [],\n file_submissions: [],\n youtube_transcript_submissions: [],\n },\n query: \"\",\n type: [\"Document\", \"Incident\", \"Case\", \"Tag\", \"Task\", \"Source\", \"Query\", \"Command\", \"Weblink\", \"SignalInstance\", \"Commit\", \"WebCrawl\", \"Conversation\", \"Conference\", \"Ticket\", \"ECCSProject\", \"TextSubmission\", \"FileSubmissions\", \"YouTubeTranscriptSubmission\"],\n dialogs: {\n showCreate: false,\n showRemove: false,\n showCreateEdit: false,\n },\n loading: false,\n selected: {\n ...getDefaultSelectedState(),\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"SearchFilter\"\n )\n return SearchApi.getAllFilters(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n setQuery({ commit }, query) {\n commit(\"SET_QUERY\", query)\n },\n setModels({ commit }, models) {\n commit(\"SET_MODELS\", models)\n },\n getResults({ commit, state }) {\n commit(\"SET_LOADING\", true)\n return SearchApi.search(state.query, state.type)\n .then((response) => {\n commit(\"SET_RESULTS\", response.data.results)\n commit(\"SET_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_LOADING\", false)\n })\n },\n showCreateDialog({ commit }) {\n commit(\"SET_DIALOG_SHOW_CREATE\", true)\n },\n closeCreateDialog({ commit }) {\n commit(\"SET_DIALOG_SHOW_CREATE\", false)\n },\n save({ commit, dispatch }) {\n commit(\"SET_LOADING\", true)\n if (!state.selected.id) {\n return SearchApi.create(state.selected)\n .then((resp) => {\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Search filter created successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_LOADING\", false)\n commit(\"SET_DIALOG_SHOW_CREATE\", false)\n return resp.data\n })\n .catch(() => {\n commit(\"SET_LOADING\", false)\n })\n } else {\n return SearchApi.update(state.selected.id, state.selected)\n .then(() => {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Search filter updated successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_LOADING\", false)\n })\n }\n },\n removeShow({ commit }, search_filter) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", search_filter)\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n remove({ commit, dispatch }) {\n return SearchApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Search filter deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n createEditShow({ commit }, search_filter) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (search_filter) {\n commit(\"SET_SELECTED\", search_filter)\n }\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n}\n\nconst mutations = {\n updateField,\n SET_LOADING(state, value) {\n state.loading = value\n },\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_RESULTS(state, results) {\n state.results = results\n },\n SET_QUERY(state, query) {\n state.query = query\n },\n SET_MODELS(state, models) {\n state.models = models\n },\n SET_DIALOG_SHOW_CREATE(state, value) {\n state.dialogs.showCreate = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport ServiceApi from \"@/service/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n name: null,\n type: null,\n external_id: null,\n is_active: null,\n filters: [],\n description: null,\n id: null,\n evergreen: null,\n evergreen_owner: null,\n evergreen_reminder_interval: null,\n health_metrics: null,\n project: null,\n created_at: null,\n updated_at: null,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"Service\")\n return ServiceApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, service) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (service) {\n commit(\"SET_SELECTED\", service)\n }\n },\n removeShow({ commit }, service) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", service)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return ServiceApi.create(state.selected)\n .then(function (resp) {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Service created successfully.\", type: \"success\" },\n { root: true }\n )\n return resp.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return ServiceApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Service updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return ServiceApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Service deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport SignalApi from \"@/signal/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n name: null,\n description: null,\n variant: null,\n owner: null,\n external_id: null,\n external_url: null,\n case_type: null,\n case_priority: null,\n enabled: false,\n engagements: [],\n filters: [],\n entity_types: [],\n tags: [],\n signal_definition: null,\n workflow_instances: null,\n oncall_service: null,\n conversation_target: null,\n create_case: true,\n workflows: [],\n source: null,\n project: null,\n created_at: null,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRawSignalDialog: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n filters: {\n case_priority: [],\n case_severity: [],\n case_type: [],\n project: [],\n tag: [],\n tag_type: [],\n },\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [true],\n },\n loading: false,\n bulkEditLoading: false,\n },\n instanceTable: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n filters: {\n created_at: {\n start: null,\n end: null,\n },\n signal: [],\n },\n q: \"\",\n page: 1,\n itemsPerPage: 25,\n sortBy: [\"created_at\"],\n descending: [true],\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n tableOptions({ state }) {\n // format our filters\n return state.table.options\n },\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"signal\")\n return SignalApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n getAllInstances: debounce(({ commit, state }) => {\n commit(\"SET_INSTANCE_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.instanceTable.options },\n \"SignalInstance\"\n )\n return SignalApi.getAllInstances(params)\n .then((response) => {\n commit(\"SET_INSTANCE_TABLE_LOADING\", false)\n commit(\"SET_INSTANCE_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_INSTANCE_TABLE_LOADING\", false)\n })\n }, 500),\n get({ commit, state }) {\n return SignalApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n })\n },\n createEditShow({ commit }, signal) {\n if (signal) {\n commit(\"SET_SELECTED\", signal)\n }\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n },\n removeShow({ commit }, signal) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", signal)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return SignalApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Signal Definition created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return SignalApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Signal Defintion updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return SignalApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Signal Definition deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_INSTANCE_TABLE_LOADING(state, value) {\n state.instanceTable.loading = value\n },\n SET_INSTANCE_TABLE_ROWS(state, value) {\n state.instanceTable.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport SignalEngagementApi from \"@/signal/engagement/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n name: null,\n description: null,\n require_mfa: false,\n entity_type: null,\n message: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n}\n\nconst getters = {\n getField,\n tableOptions({ state }) {\n // format our filters\n return state.table.options\n },\n}\n\nconst actions = {\n save({ commit, state }) {\n commit(\"SET_SELECTED_LOADING\", true)\n console.log(\"%O\", state.selected)\n if (!state.selected.id) {\n return SignalEngagementApi.create(state.selected)\n .then((resp) => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Signal engagement created successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_SELECTED_LOADING\", false)\n commit(\"RESET_SELECTED\")\n return resp.data\n })\n .catch((error) => {\n console.log(error)\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return SignalEngagementApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Signal engagement updated successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_SELECTED_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n createEditShow({ commit }, signal) {\n if (signal) {\n commit(\"SET_SELECTED\", signal)\n }\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n },\n closeCreateEditDialog({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import API from \"@/api\"\n\nconst resource = \"/signals/filters\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, {\n params: { ...options },\n })\n },\n\n get(signalFilterId) {\n return API.get(`${resource}/${signalFilterId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(signalFilterId, payload) {\n return API.put(`${resource}/${signalFilterId}`, payload)\n },\n\n delete(signalFilterId) {\n return API.delete(`${resource}/${signalFilterId}`)\n },\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport SignalFilterApi from \"@/signal/filter/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n expression: null,\n description: null,\n name: null,\n action: \"snooze\",\n expiration: null,\n window: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n filters: {\n created_at: {\n start: null,\n end: null,\n },\n },\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"created_at\"],\n descending: [true],\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n tableOptions({ state }) {\n // format our filters\n return state.table.options\n },\n}\n\nconst actions = {\n save({ commit, state }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return SignalFilterApi.create(state.selected)\n .then((resp) => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Signal filter created successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_SELECTED_LOADING\", false)\n commit(\"RESET_SELECTED\")\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n return resp.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return SignalFilterApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Signal filter updated successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_SELECTED_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n createEditShow({ commit }, signal) {\n if (signal) {\n commit(\"SET_SELECTED\", signal)\n }\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n },\n closeCreateEditDialog({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport SourceApi from \"@/data/source/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n loading: false,\n name: null,\n description: null,\n owner: null,\n retention: null,\n source_environment: null,\n source_status: null,\n source_type: null,\n source_transport: null,\n source_data_format: null,\n size: null,\n aggregated: null,\n delay: null,\n external_id: null,\n project: null,\n documentation: \"\",\n data_last_loaded_at: null,\n sampling_rate: null,\n schema: null,\n sample_log: null,\n cost: null,\n queries: [],\n links: [],\n incidents: [],\n alerts: [],\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [true],\n filters: {\n tag: [],\n project: [],\n tag_type: [],\n source_environment: [],\n source_status: [],\n source_type: [],\n source_transport: [],\n source_data_format: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n {\n ...state.table.options,\n },\n \"Source\"\n )\n return SourceApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, source) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (source) {\n commit(\"SET_SELECTED\", source)\n } else {\n commit(\"SET_SELECTED\", getDefaultSelectedState())\n }\n },\n removeShow({ commit }, source) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", source)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n },\n getDetails({ commit, state }, payload) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (\"id\" in payload) {\n return SourceApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else if (\"name\" in payload) {\n // this is kinda dirty\n return SourceApi.getAll({\n filter: JSON.stringify([\n {\n and: [\n {\n model: \"Source\",\n field: \"name\",\n op: \"==\",\n value: payload.name,\n },\n ],\n },\n ]),\n }).then((response) => {\n if (response.data.items.length) {\n commit(\"SET_SELECTED\", response.data.items[0])\n } else {\n commit(\n \"notification_backend/addBeNotification\",\n {\n text: `Source '${payload.name}' could not be found.`,\n type: \"error\",\n },\n { root: true }\n )\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n }\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return SourceApi.create(state.selected)\n .then(function (resp) {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Source created successfully.\", type: \"success\" },\n { root: true }\n )\n return resp.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return SourceApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Source updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return SourceApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Source deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n state.selected = { ...getDefaultSelectedState() }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport DataFormatApi from \"@/data/source/dataFormat/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n loading: false,\n id: null,\n name: null,\n description: null,\n project: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n {\n ...state.table.options,\n },\n \"SourceDataFormat\"\n )\n return DataFormatApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, environment) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (environment) {\n commit(\"SET_SELECTED\", environment)\n }\n },\n removeShow({ commit }, environment) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", environment)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n getDetails({ commit, state }, payload) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (\"id\" in payload) {\n return DataFormatApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else if (\"name\" in payload) {\n // this is kinda dirty\n return DataFormatApi.getAll({\n filter: JSON.stringify([\n {\n and: [\n {\n model: \"environment\",\n field: \"name\",\n op: \"==\",\n value: payload.name,\n },\n ],\n },\n ]),\n }).then((response) => {\n if (response.data.items.length) {\n commit(\"SET_SELECTED\", response.data.items[0])\n } else {\n commit(\n \"notification_backend/addBeNotification\",\n {\n text: `DataFormat '${payload.name}' could not be found.`,\n type: \"error\",\n },\n { root: true }\n )\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n }\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return DataFormatApi.create(state.selected)\n .then(function (resp) {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Dataformat created successfully.\", type: \"success\" },\n { root: true }\n )\n return resp.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return DataFormatApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"DataFormat updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return DataFormatApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"DataFormat deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport EnvironmentApi from \"@/data/source/environment/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n loading: false,\n id: null,\n name: null,\n description: null,\n project: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n {\n ...state.table.options,\n },\n \"SourceEnvironment\"\n )\n return EnvironmentApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, environment) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (environment) {\n commit(\"SET_SELECTED\", environment)\n }\n },\n removeShow({ commit }, environment) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", environment)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n getDetails({ commit, state }, payload) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (\"id\" in payload) {\n return EnvironmentApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else if (\"name\" in payload) {\n // this is kinda dirty\n return EnvironmentApi.getAll({\n filter: JSON.stringify([\n {\n and: [\n {\n model: \"environment\",\n field: \"name\",\n op: \"==\",\n value: payload.name,\n },\n ],\n },\n ]),\n }).then((response) => {\n if (response.data.items.length) {\n commit(\"SET_SELECTED\", response.data.items[0])\n } else {\n commit(\n \"notification_backend/addBeNotification\",\n {\n text: `environment '${payload.name}' could not be found.`,\n type: \"error\",\n },\n { root: true }\n )\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n }\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return EnvironmentApi.create(state.selected)\n .then(function (resp) {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"environment created successfully.\", type: \"success\" },\n { root: true }\n )\n return resp.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return EnvironmentApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Environment updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return EnvironmentApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Environment deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport StatusApi from \"@/data/source/status/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n loading: false,\n id: null,\n name: null,\n description: null,\n project: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n {\n ...state.table.options,\n },\n \"SourceStatus\"\n )\n return StatusApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, status) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (status) {\n commit(\"SET_SELECTED\", status)\n }\n },\n removeShow({ commit }, status) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", status)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n getDetails({ commit, state }, payload) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (\"id\" in payload) {\n return StatusApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else if (\"name\" in payload) {\n // this is kinda dirty\n return StatusApi.getAll({\n filter: JSON.stringify([\n {\n and: [\n {\n model: \"status\",\n field: \"name\",\n op: \"==\",\n value: payload.name,\n },\n ],\n },\n ]),\n }).then((response) => {\n if (response.data.items.length) {\n commit(\"SET_SELECTED\", response.data.items[0])\n } else {\n commit(\n \"notification_backend/addBeNotification\",\n {\n text: `status '${payload.name}' could not be found.`,\n type: \"error\",\n },\n { root: true }\n )\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n }\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return StatusApi.create(state.selected)\n .then(function (resp) {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"status created successfully.\", type: \"success\" },\n { root: true }\n )\n return resp.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return StatusApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Status updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return StatusApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Status deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport TransportApi from \"@/data/source/transport/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n loading: false,\n id: null,\n name: null,\n description: null,\n project: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n {\n ...state.table.options,\n },\n \"SourceTransport\"\n )\n return TransportApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, transport) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (transport) {\n commit(\"SET_SELECTED\", transport)\n }\n },\n removeShow({ commit }, transport) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", transport)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n getDetails({ commit, state }, payload) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (\"id\" in payload) {\n return TransportApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else if (\"name\" in payload) {\n // this is kinda dirty\n return TransportApi.getAll({\n filter: JSON.stringify([\n {\n and: [\n {\n model: \"transport\",\n field: \"name\",\n op: \"==\",\n value: payload.name,\n },\n ],\n },\n ]),\n }).then((response) => {\n if (response.data.items.length) {\n commit(\"SET_SELECTED\", response.data.items[0])\n } else {\n commit(\n \"notification_backend/addBeNotification\",\n {\n text: `transport '${payload.name}' could not be found.`,\n type: \"error\",\n },\n { root: true }\n )\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n }\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return TransportApi.create(state.selected)\n .then(function (resp) {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"transport created successfully.\", type: \"success\" },\n { root: true }\n )\n return resp.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return TransportApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Transport updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return TransportApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Transport deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport TypeApi from \"@/data/source/type/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n loading: false,\n id: null,\n name: null,\n description: null,\n project: null,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n {\n ...state.table.options,\n },\n \"SourceType\"\n )\n return TypeApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, type) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (type) {\n commit(\"SET_SELECTED\", type)\n }\n },\n removeShow({ commit }, type) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", type)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n getDetails({ commit, state }, payload) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (\"id\" in payload) {\n return TypeApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else if (\"name\" in payload) {\n // this is kinda dirty\n return TypeApi.getAll({\n filter: JSON.stringify([\n {\n and: [\n {\n model: \"type\",\n field: \"name\",\n op: \"==\",\n value: payload.name,\n },\n ],\n },\n ]),\n }).then((response) => {\n if (response.data.items.length) {\n commit(\"SET_SELECTED\", response.data.items[0])\n } else {\n commit(\n \"notification_backend/addBeNotification\",\n {\n text: `type '${payload.name}' could not be found.`,\n type: \"error\",\n },\n { root: true }\n )\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n }\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return TypeApi.create(state.selected)\n .then(function (resp) {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"type created successfully.\", type: \"success\" },\n { root: true }\n )\n return resp.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return TypeApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Type updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return TypeApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Type deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport TagApi from \"@/tag/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n name: null,\n source: \"unstruct\",\n tag_type: null,\n uri: null,\n id: null,\n description: \"Generic tag\",\n count: null,\n external_id: null,\n project: null,\n created_at: null,\n discoverable: null,\n updated_at: null,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"count\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"Tag\")\n return TagApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, Tag) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (Tag) {\n commit(\"SET_SELECTED\", Tag)\n }\n },\n removeShow({ commit }, Tag) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", Tag)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return TagApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Tag created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return TagApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Tag updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return TagApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Tag deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport TagTypeApi from \"@/tag_type/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n id: null,\n name: null,\n description: null,\n project: null,\n default: false,\n exclusive: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"TagType\")\n return TagTypeApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, tagType) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (tagType) {\n commit(\"SET_SELECTED\", tagType)\n }\n },\n removeShow({ commit }, tagType) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", tagType)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, state, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return TagTypeApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Tag type created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return TagTypeApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Tag type updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return TagTypeApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Tag type deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","/*\n.. Modified by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport TaskApi from \"@/task/api\"\nimport router from \"@/router\"\n\nconst getDefaultSelectedState = () => {\n return {\n resolved_at: null,\n resolve_by: null,\n creator: null,\n owner: null,\n assignees: [],\n description: null,\n incident: null,\n status: null,\n type: null,\n priority: null,\n project: null,\n reminders: true,\n source: null,\n id: null,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n updateLoading: false,\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n showExport: false,\n showNewSheet: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n selected: [],\n },\n options: {\n filters: {\n creator: [],\n owner: [],\n assignee: [],\n incident: [],\n incident_type: [],\n incident_priority: [],\n status: [],\n project: [],\n type: [],\n },\n q: \"\",\n page: 1,\n itemsPerPage: 25,\n sortBy: [\"created_at\"],\n descending: [true],\n },\n loading: false,\n bulkEditLoading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"Task\")\n return TaskApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n get({ commit, state }) {\n return TaskApi.get(state.selected.id).then((response) => {\n commit(\"SET_SELECTED\", response.data)\n })\n },\n createEditShow({ commit }, task) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (task) {\n commit(\"SET_SELECTED\", task)\n }\n },\n showNewSheet({ commit }, value) {\n commit(\"RESET_SELECTED\")\n commit(\"SET_DIALOG_SHOW_NEW_SHEET\", true)\n if (value) {\n commit(\"SET_SELECTED\", value)\n }\n },\n closeNewSheet({ commit }) {\n commit(\"SET_DIALOG_SHOW_NEW_SHEET\", false)\n commit(\"RESET_SELECTED\")\n },\n getDetails({ commit, state }, payload) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (\"id\" in payload && payload.id !== undefined) {\n return TaskApi.getAll({\n filter: JSON.stringify([\n { and: [{ model: \"Task\", field: \"id\", op: \"==\", value: payload.id }] },\n ]),\n }).then((response) => {\n if (response.data.items.length) {\n commit(\"SET_SELECTED\", response.data.items[0])\n } else {\n commit(\n \"notification_backend/addBeNotification\",\n {\n text: `Task '${payload.id}' could not be found.`,\n type: \"error\",\n },\n { root: true }\n )\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n }\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n removeShow({ commit }, task) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", task)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n commit(\"RESET_SELECTED\")\n router.push({ name: \"TaskTable\" })\n },\n closeEditSheet({ commit }) {\n commit(\"SET_DIALOG_SHOW_EDIT_SHEET\", false)\n commit(\"RESET_SELECTED\")\n router.push({ name: \"TaskTable\" })\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n showExport({ commit }) {\n commit(\"SET_DIALOG_SHOW_EXPORT\", true)\n },\n closeExport({ commit }) {\n commit(\"SET_DIALOG_SHOW_EXPORT\", false)\n },\n markResolved({ commit, dispatch }, payload) {\n commit(\"SET_UPDATE_TASK_LOADING\", true)\n return TaskApi.markResolved(payload)\n .then(() => {\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Task resolved successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_UPDATE_TASK_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_UPDATE_TASK_LOADING\", false)\n })\n\n },\n markOpen({ commit, dispatch }, payload) {\n commit(\"SET_UPDATE_TASK_LOADING\", true)\n return TaskApi.markOpen(payload)\n .then(() => {\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Task opened successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_UPDATE_TASK_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_UPDATE_TASK_LOADING\", false)\n })\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return TaskApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"closeNewSheet\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Task created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return TaskApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Task updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n saveBulk({ commit, dispatch }, payload) {\n commit(\"SET_BULK_EDIT_LOADING\", true)\n return TaskApi.bulkUpdate(state.table.rows.selected, payload)\n .then(() => {\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Task(s) updated successfully.\", type: \"success\" },\n { root: true }\n )\n commit(\"SET_BULK_EDIT_LOADING\", false)\n })\n .catch(() => {\n commit(\"SET_BULK_EDIT_LOADING\", false)\n })\n },\n remove({ commit, dispatch }) {\n return TaskApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Task deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_UPDATE_TASK_LOADING(state, value) {\n state.updateLoading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n // reset selected on table load\n value[\"selected\"] = []\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_SHOW_NEW_SHEET(state, value) {\n state.dialogs.showNewSheet = value\n },\n SET_DIALOG_SHOW_EDIT_SHEET(state, value) {\n state.dialogs.showEditSheet = value\n },\n SET_DIALOG_SHOW_EXPORT(state, value) {\n state.dialogs.showExport = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n SET_BULK_EDIT_LOADING(state, value) {\n state.table.bulkEditLoading = value\n },\n RESET_SELECTED(state) {\n state.selected = Object.assign(state.selected, getDefaultSelectedState())\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import API from \"@/api\"\n\nconst resource = \"/teams\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(teamId) {\n return API.get(`${resource}/${teamId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(teamId, payload) {\n return API.put(`${resource}/${teamId}`, payload)\n },\n\n delete(teamId) {\n return API.delete(`${resource}/${teamId}`)\n },\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport TeamApi from \"@/team/api\"\nimport SearchUtils from \"@/search/utils\"\n\nconst getDefaultSelectedState = () => {\n return {\n name: null,\n filters: [],\n id: null,\n created_at: null,\n updated_at: null,\n company: null,\n project: null,\n email: null,\n evergreen: null,\n evergreen_owner: null,\n evergreen_reminder_interval: null,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"Team\")\n return TeamApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, team) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (team) {\n commit(\"SET_SELECTED\", team)\n }\n },\n removeShow({ commit }, team) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", team)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return TeamApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Team created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return TeamApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Team updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return TeamApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Team deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport TermApi from \"@/term/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n definitions: [],\n text: null,\n count: null,\n discoverable: true,\n project: null,\n id: null,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n showDefinition: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"count\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"Term\")\n return TermApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, term) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (term) {\n commit(\"SET_SELECTED\", term)\n }\n },\n showDefinition({ commit }, text) {\n commit(\"SET_DIALOG_SHOW_DEFINITION\", true)\n commit(\"SET_SELECTED\", { text })\n },\n closeDefinition({ commit }) {\n commit(\"SET_DIALOG_SHOW_DEFINITION\", false)\n commit(\"RESET_SELECTED\")\n },\n removeShow({ commit }, term) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", term)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return TermApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Term created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return TermApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Term updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return TermApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Term deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_SHOW_DEFINITION(state, value) {\n state.dialogs.showDefinition = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","// store/modules/userLimits.js\nexport default {\n namespaced: true,\n state: {\n limits: null,\n loading: false,\n error: null\n },\n mutations: {\n SET_LIMITS(state, limits) {\n state.limits = limits;\n },\n SET_LOADING(state, loading) {\n state.loading = loading;\n },\n SET_ERROR(state, error) {\n state.error = error;\n }\n },\n actions: {\n fetchLimits({ commit, rootState }) {\n commit('SET_LOADING', true);\n if (rootState.socket && rootState.socket.readyState === WebSocket.OPEN) {\n rootState.socket.send(JSON.stringify({ type: 'fetch_limits' }));\n } else {\n commit('SET_ERROR', 'WebSocket is not connected');\n commit('SET_LOADING', false);\n }\n },\n receiveLimits({ commit }, limits) {\n commit('SET_LIMITS', limits);\n commit('SET_LOADING', false);\n }\n },\n getters: {\n getUserLimits: state => state.limits,\n isLoading: state => state.loading,\n hasError: state => state.error !== null\n }\n};\n","// api/fileUpload.js\nimport API from \"@/api\"\n\nconst resource = '/file_uploads';\n\nexport default {\n uploadFile(formData) {\n return API.post(`${resource}`, formData, {\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n });\n },\n};\n","// store/modules/submissions.js\nimport fileUploadAPI from '@/user_submissions/api';\n\nexport default {\n namespaced: true,\n state: {\n textSubmissions: [],\n fileSubmissions: [],\n youtubeTranscriptSubmissions: [],\n eccsProjects: [],\n loading: false,\n error: null\n },\n mutations: {\n SET_TEXT_SUBMISSIONS(state, submissions) {\n state.textSubmissions = submissions;\n },\n SET_FILE_SUBMISSIONS(state, submissions) {\n state.fileSubmissions = submissions;\n },\n SET_YOUTUBE_TRANSCRIPT_SUBMISSIONS(state, submissions) {\n state.youtubeTranscriptSubmissions = submissions;\n },\n SET_ECCS_PROJECTS(state, eccsProjects) {\n state.eccsProjects = eccsProjects;\n },\n SET_LOADING(state, loading) {\n state.loading = loading;\n },\n SET_ERROR(state, error) {\n state.error = error;\n },\n ADD_FILE_SUBMISSION(state, submission) {\n state.fileSubmissions.push(submission);\n },\n },\n actions: {\n fetchSubmissions({ commit, rootState }, projectId) {\n commit('SET_LOADING', true);\n if (rootState.socket && rootState.socket.readyState === WebSocket.OPEN) {\n rootState.socket.send(JSON.stringify({ type: 'fetch_submissions', project_id: projectId }));\n } else {\n commit('SET_ERROR', 'WebSocket is not connected');\n commit('SET_LOADING', false);\n }\n },\n receiveSubmissions({ commit }, { textSubmissions, fileSubmissions, youtubeTranscriptSubmissions, eccsProjects }) {\n commit('SET_TEXT_SUBMISSIONS', textSubmissions);\n commit('SET_FILE_SUBMISSIONS', fileSubmissions);\n commit('SET_YOUTUBE_TRANSCRIPT_SUBMISSIONS', youtubeTranscriptSubmissions);\n commit('SET_ECCS_PROJECTS', eccsProjects);\n commit('SET_LOADING', false);\n },\n\n async uploadFile({ commit, rootState }, { file, projectId, eccsProjectId, buildIndex, sensitivityLevel }) {\n commit('SET_LOADING', true);\n commit('SET_ERROR', null);\n\n try {\n if (!rootState.socket) {\n throw new Error(\"WebSocket connection not established\");\n }\n\n const response = await new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.readAsDataURL(file);\n\n reader.onload = () => {\n const base64File = reader.result.split(',')[1];\n\n // Prepare WebSocket upload message\n const data = {\n type: \"file_upload\",\n fileName: file.name,\n fileType: file.type,\n fileContent: base64File,\n buildIndex,\n project_id: projectId,\n eccs_project_id: eccsProjectId,\n sensitivityLevel\n };\n\n // Send file data through WebSocket\n rootState.socket.send(JSON.stringify(data));\n\n // Handle WebSocket response\n const handleResponse = (event) => {\n const wsResponse = JSON.parse(event.data);\n if (wsResponse.type === \"submit_file_response\") {\n rootState.socket.removeEventListener('message', handleResponse);\n\n if (wsResponse.status === 'success') {\n resolve({\n status: 'success',\n submission_id: wsResponse.submission_id,\n message: wsResponse.message\n });\n } else {\n reject(new Error(wsResponse.message || 'Upload failed'));\n }\n }\n };\n\n rootState.socket.addEventListener('message', handleResponse);\n };\n\n reader.onerror = (error) => {\n reject(new Error('Failed to read file'));\n };\n });\n\n // Handle successful upload\n commit('ADD_FILE_SUBMISSION', {\n id: response.submission_id,\n fileName: file.name,\n status: 'uploaded',\n });\n\n return response;\n\n } catch (error) {\n commit('SET_ERROR', error.message);\n throw error;\n } finally {\n commit('SET_LOADING', false);\n }\n },\n },\n getters: {\n isLoading: state => state.loading,\n getError: state => state.error,\n getFileSubmissions: state => state.fileSubmissions,\n getSubmissionsByEccsProject: (state) => (eccsProjectId) => {\n return {\n textSubmissions: state.textSubmissions.filter(s => s.eccs_project_id === eccsProjectId),\n fileSubmissions: state.fileSubmissions.filter(s => s.eccs_project_id === eccsProjectId),\n youtubeTranscriptSubmissions: state.youtubeTranscriptSubmissions.filter(s => s.eccs_project_id === eccsProjectId)\n }\n },\n hasError: state => state.error !== null,\n getAllSubmissions: state => ({\n textSubmissions: state.textSubmissions,\n fileSubmissions: state.fileSubmissions,\n youtubeTranscriptSubmissions: state.youtubeTranscriptSubmissions\n })\n }\n};\n","// store/modules/user_interactions.js\n\nexport default {\n namespaced: true,\n state: {\n likedMessagesProcessing: [],\n loading: false,\n error: null\n },\n mutations: {\n SET_LIKED_MESSAGES_PROCESSING(state, messages) {\n state.likedMessagesProcessing = [...messages];\n },\n SET_LOADING(state, loading) {\n state.loading = loading;\n },\n SET_ERROR(state, error) {\n state.error = error;\n }\n },\n actions: {\n fetchLikedMessagesProcessing({ commit, rootState }, projectId) {\n commit('SET_LOADING', true);\n if (rootState.socket && rootState.socket.readyState === WebSocket.OPEN) {\n rootState.socket.send(JSON.stringify({ type: 'fetch_liked_messages_processing', project_id: projectId }));\n } else {\n commit('SET_ERROR', 'WebSocket is not connected');\n commit('SET_LOADING', false);\n }\n },\n receiveLikedMessagesProcessing({ commit }, messageData) {\n commit('SET_LIKED_MESSAGES_PROCESSING', messageData.messages);\n commit('SET_LOADING', false);\n }\n },\n getters: {\n hasError: state => state.error !== null\n }\n};\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport API from \"@/api\"\n\nconst resource = \"/weblinks\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(LinkId) {\n return API.get(`${resource}/${LinkId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(LinkId, payload) {\n return API.put(`${resource}/${LinkId}`, payload)\n },\n\n delete(LinkId) {\n return API.delete(`${resource}/${LinkId}`)\n },\n}\n","/*\n.. Added by Kishore Jalleda\n.. full list of modifications at https://github.com/unstructai\n.. copyright: (c) 2023 Kishore Jalleda\n.. author:: Kishore Jalleda \n*/\nimport { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport WebLinksApi from \"@/data/weblink/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n url: null,\n count: null,\n title: null,\n id: null,\n description: null,\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"count\"],\n descending: [true],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions({ ...state.table.options }, \"WebLink\")\n return WebLinksApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, weblink) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (weblink) {\n commit(\"SET_SELECTED\", weblink)\n }\n },\n copyToClipboardSuccess({ commit }) {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Copied to clipboard.\", type: \"success\" },\n { root: true }\n )\n },\n removeShow({ commit }, weblink) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", weblink)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return WebLinksApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Link created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return WebLinksApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Link updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return WebLinksApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Link deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","const actions = {\n copyToClipboardSuccess({ commit }) {\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Copied to clipboard.\", type: \"success\" },\n { root: true }\n )\n },\n}\n\nexport default {\n namespaced: true,\n actions,\n}\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport WorkflowApi from \"@/workflow/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n description: null,\n enabled: null,\n resource_id: null,\n parameters: [],\n project: null,\n plugin_instance: { title: null, slug: null },\n name: null,\n id: null,\n loading: false,\n case: null,\n incident: null,\n }\n}\n\nconst getDefaultSelectedInstanceState = () => {\n return {\n run_reason: null,\n id: null,\n parameters: [],\n workflow: { id: null },\n loading: false,\n }\n}\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n selectedInstance: {\n ...getDefaultSelectedInstanceState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n showRun: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n descending: [false],\n filters: {\n project: [],\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"Workflow\"\n )\n return WorkflowApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 500),\n createEditShow({ commit }, workflow) {\n if (workflow) {\n commit(\"SET_SELECTED\", workflow)\n }\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n },\n showRun({ commit }, payload) {\n commit(\"SET_DIALOG_RUN\", true)\n if (payload.type === \"incident\") {\n commit(\"SET_SELECTED_INSTANCE_INCIDENT\", payload.data)\n } else if (payload.type === \"case\") {\n commit(\"SET_SELECTED_INSTANCE_CASE\", payload.data)\n } else if (payload.type === \"signal\") {\n commit(\"SET_SELECTED_INSTANCE_SIGNAL\", payload.data)\n }\n },\n removeShow({ commit }, workflow) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", workflow)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeCreateEditDialog({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRun({ commit }) {\n commit(\"SET_DIALOG_RUN\", false)\n commit(\"RESET_SELECTED_INSTANCE\")\n },\n run({ commit }) {\n let payload = { ...state.selectedInstance }\n commit(\"SET_SELECTED_INSTANCE_LOADING\", true)\n return WorkflowApi.run(state.selectedInstance.workflow.id, payload)\n .then((response) => {\n commit(\"SET_SELECTED_INSTANCE_LOADING\", false)\n commit(\"SET_SELECTED_INSTANCE\", response.data)\n var interval = setInterval(function () {\n if (state.selectedInstance.id == null) {\n clearInterval(interval)\n return\n }\n WorkflowApi.getInstance(state.selectedInstance.id).then((response) => {\n commit(\"SET_SELECTED_INSTANCE\", response.data)\n })\n\n if (state.selectedInstance.status == \"Completed\") {\n clearInterval(interval)\n }\n }, 5000)\n return response.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_INSTANCE_LOADING\", false)\n commit(\"RESET_SELECTED_INSTANCE\")\n })\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return WorkflowApi.create(state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Workflow created successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return WorkflowApi.update(state.selected.id, state.selected)\n .then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Workflow updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n }\n },\n remove({ commit, dispatch }) {\n return WorkflowApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Workflow deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_SELECTED_LOADING(state, value) {\n state.selected.loading = value\n },\n SET_SELECTED_INSTANCE(state, value) {\n state.selectedInstance = Object.assign(state.selectedInstance, value)\n },\n SET_SELECTED_INSTANCE_LOADING(state, value) {\n state.selectedInstance.loading = value\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n SET_DIALOG_RUN(state, value) {\n state.dialogs.showRun = value\n },\n SET_SELECTED_INSTANCE_CASE(state, value) {\n state.selectedInstance.case = value\n },\n SET_SELECTED_INSTANCE_INCIDENT(state, value) {\n state.selectedInstance.incident = value\n },\n SET_SELECTED_INSTANCE_SIGNAL(state, value) {\n state.selectedInstance.signal = value\n },\n RESET_SELECTED_INSTANCE(state) {\n // do not reset project\n state.selectedInstance = { ...getDefaultSelectedInstanceState() }\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","// Object store for the websocket module\n\nimport Vue from 'vue';\nimport { getField, updateField } from \"vuex-map-fields\"\nimport UserApi from \"@/auth/api\";\nimport router from \"@/router\";\nimport auth_store from \"@/auth/store\";\n\nexport default {\n namespaced: true,\n state: {\n activeObject: null,\n activeObjectContent: null,\n content: {},\n objectId: null,\n shouldPrependBAO: false,\n currentUniverse: localStorage.getItem(\"selectedUniverse\") || \"default\",\n tempMessage: {\n text: '',\n type: 'info'\n },\n user: {\n email: '',\n projects: [],\n organizations: [],\n is_pro: false,\n is_pro_team: false,\n subscription_status: null,\n subscription_end_date: null\n },\n currentGalaxyName: '',\n currentUniverseName: '',\n showTempMessage: false,\n subscriptionLoading: false,\n },\n getters: {\n getField,\n },\n mutations: {\n updateField,\n SET_SUBSCRIPTION_LOADING(state, value) {\n state.subscriptionLoading = value;\n },\n SET_USER(state, user) {\n state.user = user;\n },\n SET_TEMP_MESSAGE(state, { text, type }) {\n state.tempMessage = { text, type };\n },\n SET_SHOW_TEMP_MESSAGE(state, show) {\n state.showTempMessage = show;\n },\n SET_ACTIVE_OBJECT(state, { type, id }) {\n state.activeObject = type;\n state.objectId = id;\n state.shouldPrependBAO = true; // Prepend IAO when object is selected, as it is the explicit action.\n },\n SET_ACTIVE_OBJECT_CONTENT(state, content) {\n state.activeObjectContent = content;\n },\n SET_OBJECT_CONTENT(state, { type, id, content }) {\n state.content[`${type}_${id}`] = content;\n },\n RESET_ACTIVE_OBJECT(state) {\n state.activeObject = null;\n state.objectId = null;\n state.shouldPrependBAO = false;\n },\n RESET_ACTIVE_OBJECT_CONTENT(state) {\n state.activeObjectContent = null;\n },\n SET_SHOULD_PREPEND_BAO(state, shouldPrepend) {\n state.shouldPrependBAO = shouldPrepend;\n },\n SET_CURRENT_UNIVERSE(state, slug) {\n state.currentUniverse = slug;\n },\n SET_CURRENT_GALAXY_NAME(state, name) {\n state.currentGalaxyName = name;\n },\n SET_CURRENT_UNIVERSE_NAME(state, name) {\n state.currentUniverseName = name;\n },\n },\n actions: {\n async upgradePlan({ commit, state, dispatch }, planType) {\n commit('SET_SUBSCRIPTION_LOADING', true);\n try {\n const host = window.location.host;\n const organization = localStorage.getItem('organization');\n\n let url;\n let headers = {\n 'Content-Type': 'application/json'\n };\n\n // Determine endpoint based on auth status\n if (auth_store.state.currentUser?.token) {\n url = `https://${host}/api/v1/${organization}/stripe/${planType === 'pro' ? 'upgrade-to-pro' : 'upgrade-to-team-pro'}`;\n headers['Authorization'] = `Bearer ${auth_store.state.currentUser.token}`;\n } else {\n const anonymousKey = localStorage.getItem('unstruct_anonymous_key');\n if (!anonymousKey) {\n throw new Error('No authentication method available');\n }\n url = `https://${host}/api/v1/${organization}/stripe/anonymous/${planType === 'pro' ? 'upgrade-to-pro' : 'upgrade-to-team-pro'}/${anonymousKey}`;\n }\n\n const response = await fetch(url, {\n method: 'POST',\n headers\n });\n\n if (!response.ok) {\n throw new Error('Failed to process subscription request');\n }\n\n const data = await response.json();\n\n if (data.checkout_url) {\n window.location.href = data.checkout_url;\n } else if (data.status === 'success') {\n dispatch('showTempMessageFn', {\n message: data.message || `Successfully upgraded to ${planType}.`,\n type: 'success',\n timeout: 5000\n });\n dispatch('fetchUserInfo');\n } else {\n throw new Error('Unexpected response from server');\n }\n } catch (error) {\n console.error(`Error processing ${planType} subscription:`, error);\n dispatch('showTempMessageFn', {\n message: `Failed to process ${planType} subscription. Please try again.`,\n type: 'error',\n timeout: 500000\n });\n } finally {\n commit('SET_SUBSCRIPTION_LOADING', false);\n }\n },\n fetchUserInfo({ commit }) {\n return UserApi.getUserInfo()\n .then(response => {\n commit('SET_USER', response.data);\n })\n .catch(error => {\n console.error('Error fetching user info:', error);\n });\n },\n showTempMessageFn({ commit }, message, type = 'info', timeout = 30000) {\n // Ensure we have a valid message.\n if (typeof message !== 'string' && typeof message !== 'object') {\n console.error('Invalid message type for showTempMessageFn');\n return;\n }\n let finalMessage, finalType, finalTimeout;\n\n if (typeof message === 'object') {\n ({ message: finalMessage, type: finalType = 'info', timeout: finalTimeout = 30000 } = message);\n } else {\n finalMessage = message;\n finalType = type;\n finalTimeout = timeout;\n }\n\n commit('SET_TEMP_MESSAGE', { text: finalMessage, type: finalType });\n commit('SET_SHOW_TEMP_MESSAGE', true);\n setTimeout(() => {\n commit('SET_SHOW_TEMP_MESSAGE', false);\n }, finalTimeout);\n },\n switchUniverse({ commit }, slug) {\n return new Promise((resolve, reject) => {\n commit('SET_CURRENT_UNIVERSE', slug);\n localStorage.setItem(\"selectedUniverse\", slug);\n // You might want to perform other actions here, like updating the URL\n resolve();\n });\n },\n updateCurrentGalaxy({ commit }, galaxyName) {\n commit('SET_CURRENT_GALAXY_NAME', galaxyName);\n },\n updateCurrentUniverse({ commit }, universeName) {\n commit('SET_CURRENT_UNIVERSE_NAME', universeName);\n },\n setActiveObject({ commit, dispatch, state }, { type, id, chatId, isSharedView }) {\n // Don't set active object if it is ECCSProject and the incoming is of diff type.\n if (type === 'ECCSProject' && !state.activeObject) {\n commit('SET_ACTIVE_OBJECT', { type, id });\n } else if (type !== 'ECCSProject' && state.activeObject === 'ECCSProject') {\n // Do nothing.\n } else {\n commit('SET_ACTIVE_OBJECT', { type, id });\n }\n dispatch('fetchObjectContent', { type, id, chatId, isSharedView });\n // go to 'chat' route. TODO. Open in new tab.\n const current_route = router.currentRoute.name;\n if (current_route !== 'chat' && current_route !== 'BasicChat') {\n router.push({ name: 'chat' });\n }\n },\n fetchObjectContent({ commit, rootState, state }, { type, id, chatId, isSharedView }) {\n const cacheKey = `${type}_${id}`;\n if (state.content[cacheKey]) {\n commit('SET_ACTIVE_OBJECT_CONTENT', state.content[cacheKey]);\n return;\n }\n\n const socket = rootState.socket;\n if (socket?.readyState === WebSocket.OPEN) {\n socket.send(JSON.stringify({\n type: 'fetch_object_content',\n object_type: type,\n object_id: id,\n chat_id: chatId,\n is_shared_view: isSharedView,\n }));\n }\n },\n resetActiveObject({ commit }) {\n commit('RESET_ACTIVE_OBJECT');\n },\n resetActiveObjectContent({ commit }) {\n commit('RESET_ACTIVE_OBJECT_CONTENT');\n },\n toggleBAOPrepend({ commit, state }) {\n commit('SET_SHOULD_PREPEND_BAO', !state.shouldPrependBAO);\n },\n resetBAOState({ commit, dispatch }) {\n commit('SET_ACTIVE_OBJECT', { type: null, id: null });\n commit('SET_SHOULD_PREPEND_BAO', false);\n dispatch('resetActiveObjectContent');\n dispatch('resetActiveObject');\n },\n }\n};\n","import Vue from \"vue\"\nimport Vuex from \"vuex\"\nimport { getField } from \"vuex-map-fields\"\n\nimport admin_settings from \"@/admin_settings/store\"\nimport app from \"@/app/store\"\nimport apiKeys from \"@/apiKeys/store\"\nimport auth from \"@/auth/store\"\nimport bestpractice from \"@/data/bestpractice/store\"\nimport case_management from \"@/case/store\"\nimport case_priority from \"@/case/priority/store\"\nimport case_severity from \"@/case/severity/store\"\nimport case_type from \"@/case/type/store\"\nimport capacity from \"@/capacity/store\"\nimport command from \"@/data/command/store\"\nimport conversation from \"@/conversation/store\"\nimport conference from \"@/conference/store\"\nimport commit from \"@/commit/store\"\nimport cost_model from \"@/cost_model/store\"\nimport curated_content from \"@/websocket/curated_content/store\"\nimport definition from \"@/definition/store\"\nimport document from \"@/document/store\"\nimport entity from \"@/entity/store\"\nimport entity_type from \"@/entity_type/store\"\nimport event from \"@/event/store\"\nimport incident_feedback from \"@/feedback/incident/store\"\nimport service_feedback from \"@/feedback/service/store\"\nimport incident from \"@/incident/store\"\nimport incident_cost_type from \"@/incident_cost_type/store\"\nimport incident_priority from \"@/incident/priority/store\"\nimport incident_severity from \"@/incident/severity/store\"\nimport incident_type from \"@/incident/type/store\"\nimport oncall_handoff from \"@/oncall/handoff/store\"\nimport oncall_preshift_prep from \"@/oncall/preshift_prep/store\"\nimport individual from \"@/individual/store\"\nimport notification from \"@/notification/store\"\nimport notification_backend from \"@/app/notificationStore\"\nimport organization from \"@/organization/store\"\nimport okrs from \"@/okrs/store\"\nimport playground from \"@/entity_type/playground/store\"\nimport plugin from \"@/plugin/store\"\nimport project from \"@/project/store\"\nimport query from \"@/data/query/store\"\nimport reference from \"@/document/reference/store\"\nimport runbook from \"@/document/runbook/store\"\nimport search from \"@/search/store\"\nimport service from \"@/service/store\"\nimport signal from \"@/signal/store\"\nimport signalEngagement from \"@/signal/engagement/store\"\nimport signalFilter from \"@/signal/filter/store\"\nimport source from \"@/data/source/store\"\nimport sourceDataFormat from \"@/data/source/dataFormat/store\"\nimport sourceEnvironment from \"@/data/source/environment/store\"\nimport sourceStatus from \"@/data/source/status/store\"\nimport sourceTransport from \"@/data/source/transport/store\"\nimport sourceType from \"@/data/source/type/store\"\nimport tag from \"@/tag/store\"\nimport tag_type from \"@/tag_type/store\"\nimport task from \"@/task/store\"\nimport team from \"@/team/store\"\nimport ticket from \"@/ticket/store\"\nimport template from \"@/document/template/store\"\nimport term from \"@/term/store\"\nimport user_limits from \"@/user_limits/store\"\nimport user_submissions from \"@/user_submissions/store\"\nimport user_interactions from \"@/user_interactions/store\"\nimport weblink from \"@/data/weblink/store\"\nimport webcrawl from \"@/webcrawl/store\"\nimport workflow from \"@/workflow/store\"\nimport websocket from \"@/websocket/store\"\n\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n state: {\n socket: null\n },\n mutations: {\n SET_SOCKET(state, socket) {\n state.socket = socket;\n }\n },\n modules: {\n admin_settings,\n app,\n apiKeys,\n auth,\n bestpractice,\n case_management,\n case_priority,\n case_severity,\n case_type,\n capacity,\n command,\n commit,\n cost_model,\n curated_content,\n definition,\n document,\n entity,\n entity_type,\n event,\n incident_feedback,\n service_feedback,\n oncall_handoff,\n oncall_preshift_prep,\n incident,\n incident_cost_type,\n incident_priority,\n incident_severity,\n incident_type,\n individual,\n notification,\n notification_backend,\n organization,\n okrs,\n playground,\n plugin,\n project,\n query,\n reference,\n route: {\n namespaced: true,\n getters: {\n getField,\n },\n },\n runbook,\n search,\n service,\n source,\n sourceDataFormat,\n sourceEnvironment,\n sourceStatus,\n sourceTransport,\n sourceType,\n signal,\n signalEngagement,\n signalFilter,\n tag,\n tag_type,\n task,\n team,\n template,\n term,\n ticket,\n weblink,\n workflow,\n conversation,\n conference,\n user_limits,\n user_submissions,\n user_interactions,\n webcrawl,\n websocket,\n },\n strict: process.env.NODE_ENV !== \"production\",\n})\n","import { getField, updateField } from \"vuex-map-fields\"\nimport { debounce } from \"lodash\"\n\nimport SearchUtils from \"@/search/utils\"\nimport DocumentApi from \"@/document/api\"\n\nconst getDefaultSelectedState = () => {\n return {\n created_at: null,\n description: null,\n evergreen: null,\n evergreen_owner: null,\n evergreen_reminder_interval: null,\n filters: [],\n id: null,\n name: null,\n project: null,\n resource_id: null,\n resource_type: null,\n updated_at: null,\n weblink: null,\n loading: false,\n }\n}\n\nexport const templateDocumentTypes = [\n {\n resource_type: \"dispatch-case-document-template\",\n title: \"OCO\",\n description: \"Create a new OCO template\",\n icon: \"mdi-file-document-edit-outline\",\n },\n {\n resource_type: \"dispatch-incident-document-template\",\n title: \"BAO\",\n description: \"Create a new IAO template\",\n icon: \"mdi-file-document-edit-outline\",\n },\n {\n resource_type: \"dispatch-executive-report-document-template\",\n title: \"Executive\",\n description: \"Create a new executive template\",\n icon: \"mdi-text-box-check-outline\",\n },\n {\n resource_type: \"dispatch-incident-review-document-template\",\n title: \"AAR\",\n description: \"Create a new AAR template\",\n icon: \"mdi-text-box-search-outline\",\n },\n {\n resource_type: \"dispatch-incident-tracking-template\",\n title: \"Tracking\",\n description: \"Create a new tracking template\",\n icon: \"mdi-file-document-multiple-outline\",\n },\n {\n resource_type: \"dispatch-bao-new-hire-document-template\",\n title: \"New Hire\",\n description: \"Create a new new hire template\",\n icon: \"mdi-account-plus-outline\",\n },\n {\n resource_type: \"dispatch-bao-product-release-document-template\",\n title: \"Product Release\",\n description: \"Create a new product release template\",\n icon: \"mdi-package-variant-closed\",\n },\n {\n resource_type: \"dispatch-bao-performance-improvement-plan-document-template\",\n title: \"PIP\",\n description: \"Create a new performance improvement plan template\",\n icon: \"mdi-account-cog-outline\",\n },\n]\n\nconst state = {\n selected: {\n ...getDefaultSelectedState(),\n },\n dialogs: {\n showCreateEdit: false,\n showRemove: false,\n },\n table: {\n rows: {\n items: [],\n total: null,\n },\n options: {\n q: \"\",\n page: 1,\n itemsPerPage: 10,\n sortBy: [\"name\"],\n descending: [false],\n filters: {\n project: [],\n resource_type: templateDocumentTypes.map((item) => {\n return {\n model: \"Document\",\n field: \"resource_type\",\n value: item.resource_type,\n }\n }),\n },\n },\n loading: false,\n },\n}\n\nconst getters = {\n getField,\n}\n\nconst actions = {\n getAll: debounce(({ commit, state }) => {\n commit(\"SET_TABLE_LOADING\", \"primary\")\n\n let documentTypes = []\n for (const key in state.resourceTypes) {\n documentTypes.push({\n model: \"Document\",\n field: \"resource_type\",\n op: \"==\",\n value: key,\n })\n }\n\n let params = SearchUtils.createParametersFromTableOptions(\n { ...state.table.options },\n \"Document\",\n documentTypes\n )\n return DocumentApi.getAll(params)\n .then((response) => {\n commit(\"SET_TABLE_LOADING\", false)\n commit(\"SET_TABLE_ROWS\", response.data)\n })\n .catch(() => {\n commit(\"SET_TABLE_LOADING\", false)\n })\n }, 200),\n createEditShow({ commit }, template) {\n commit(\"SET_DIALOG_CREATE_EDIT\", true)\n if (template) {\n commit(\"SET_SELECTED\", template)\n }\n },\n removeShow({ commit }, document) {\n commit(\"SET_DIALOG_DELETE\", true)\n commit(\"SET_SELECTED\", document)\n },\n closeCreateEdit({ commit }) {\n commit(\"SET_DIALOG_CREATE_EDIT\", false)\n commit(\"RESET_SELECTED\")\n },\n closeRemove({ commit }) {\n commit(\"SET_DIALOG_DELETE\", false)\n commit(\"RESET_SELECTED\")\n },\n save({ commit, dispatch }) {\n commit(\"SET_SELECTED_LOADING\", true)\n if (!state.selected.id) {\n return DocumentApi.create(state.selected)\n .then(function (resp) {\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\"SET_SELECTED_LOADING\", false)\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Document created successfully.\", type: \"success\" },\n { root: true }\n )\n return resp.data\n })\n .catch(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n })\n } else {\n return DocumentApi.update(state.selected.id, state.selected).then(() => {\n commit(\"SET_SELECTED_LOADING\", false)\n dispatch(\"closeCreateEdit\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Document updated successfully.\", type: \"success\" },\n { root: true }\n )\n })\n }\n },\n remove({ commit, dispatch }) {\n return DocumentApi.delete(state.selected.id).then(function () {\n dispatch(\"closeRemove\")\n dispatch(\"getAll\")\n commit(\n \"notification_backend/addBeNotification\",\n { text: \"Document deleted successfully.\", type: \"success\" },\n { root: true }\n )\n })\n },\n}\n\nconst mutations = {\n updateField,\n SET_SELECTED(state, value) {\n state.selected = Object.assign(state.selected, value)\n },\n SET_TABLE_LOADING(state, value) {\n state.table.loading = value\n },\n SET_TABLE_ROWS(state, value) {\n state.table.rows = value\n },\n SET_DIALOG_CREATE_EDIT(state, value) {\n state.dialogs.showCreateEdit = value\n },\n SET_DIALOG_DELETE(state, value) {\n state.dialogs.showRemove = value\n },\n RESET_SELECTED(state) {\n // do not reset project\n let project = state.selected.project\n state.selected = { ...getDefaultSelectedState() }\n state.selected.project = project\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n","import API from \"@/api\"\n\nconst resource = \"plugins\"\n\nexport default {\n getAll(options) {\n return API.get(`/${resource}`, {\n params: { ...options },\n })\n },\n\n getAllInstances(options) {\n return API.get(`/${resource}/instances`, {\n params: { ...options },\n })\n },\n\n getInstance(instanceId) {\n return API.get(`/${resource}/instances/${instanceId}`)\n },\n\n createInstance(payload) {\n return API.post(`/${resource}/instances`, payload)\n },\n\n updateInstance(instanceId, payload) {\n return API.put(`/${resource}/instances/${instanceId}`, payload)\n },\n\n deleteInstance(instanceId) {\n return API.delete(`/${resource}/instances/${instanceId}`)\n },\n getAllPluginEvents(options) {\n return API.get(`/${resource}/plugin_events`, {\n params: { ...options },\n })\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/individuals\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(individualId) {\n return API.get(`${resource}/${individualId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(individualId, payload) {\n return API.put(`${resource}/${individualId}`, payload)\n },\n\n delete(individualId) {\n return API.delete(`${resource}/${individualId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/case_types\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(caseTypeId) {\n return API.get(`${resource}/${caseTypeId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(caseTypeId, payload) {\n return API.put(`${resource}/${caseTypeId}`, payload)\n },\n\n delete(caseTypeId) {\n return API.delete(`${resource}/${caseTypeId}`)\n },\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-text-field',{attrs:{\"label\":_vm.label},scopedSlots:_vm._u([{key:\"append-outer\",fn:function(){return [_c('v-menu',{attrs:{\"top\":\"\",\"nudge-bottom\":\"105\",\"nudge-left\":\"16\",\"close-on-content-click\":false},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on }){return [_c('div',_vm._g({style:(_vm.swatchStyle)},on))]}}]),model:{value:(_vm.menu),callback:function ($$v) {_vm.menu=$$v},expression:\"menu\"}},[_c('v-card',[_c('v-card-text',{staticClass:\"pa-0\"},[_c('v-color-picker',{attrs:{\"show-swatches\":\"\",\"hide-sliders\":\"\",\"hide-inputs\":\"\",\"hide-mode-switch\":\"\",\"flat\":\"\"},model:{value:(_vm.color),callback:function ($$v) {_vm.color=$$v},expression:\"color\"}})],1)],1)],1)]},proxy:true}]),model:{value:(_vm.color),callback:function ($$v) {_vm.color=$$v},expression:\"color\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ColorPickerInput.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ColorPickerInput.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ColorPickerInput.vue?vue&type=template&id=316977c6\"\nimport script from \"./ColorPickerInput.vue?vue&type=script&lang=js\"\nexport * from \"./ColorPickerInput.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import API from \"@/api\"\n\nconst resource = \"/case_severities\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n get(caseSeverityId) {\n return API.get(`${resource}/${caseSeverityId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(caseSeverityId, payload) {\n return API.put(`${resource}/${caseSeverityId}`, payload)\n },\n\n delete(caseSeverityId) {\n return API.delete(`${resource}/${caseSeverityId}`)\n },\n}\n","import axios from \"axios\"\nimport store from \"@/store\"\nimport auth_store from \"@/auth/store\"\n\nimport router from \"./router\"\n\nconst instance = axios.create({\n baseURL: \"/api/v1\",\n})\n\nconst authProviderSlug =\n process.env.VUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_SLUG || \"unstruct-auth-provider-basic\"\n\ninstance.interceptors.request.use(\n (config) => {\n // we don't want to send null/empty values to the API\n // TODO do we need to do this for all params?\n if (config.params) {\n if (!config.params[\"q\"]) {\n delete config.params[\"q\"]\n }\n }\n let token = auth_store.state.currentUser.token\n if (token) {\n config.headers[\"Authorization\"] = `Bearer ${token}`\n }\n\n return config\n },\n (error) => {\n return Promise.reject(error)\n }\n)\n\ninstance.interceptors.request.use(function (config) {\n if (!config.url.includes(\"organization\")) {\n let currentOrganization = store.state.route.params.organization || localStorage.getItem(\"organization\")\n\n if (currentOrganization) {\n config.url = `${currentOrganization}${config.url}`\n }\n }\n return config\n})\n\ninstance.interceptors.response.use(\n function (res) {\n return res\n },\n function (err) {\n if (err.response) {\n if (err.response.status == 401) {\n if (authProviderSlug === \"unstruct-auth-provider-basic\") {\n router.push({ name: \"BasicLogin\" })\n }\n }\n\n // allow us to turn off error handling where necessary\n if (\n Object.prototype.hasOwnProperty.call(err.config, \"errorHandle\") &&\n err.config.errorHandle === false\n ) {\n return Promise.reject(err)\n }\n\n if (err.response.status == 403) {\n let errorText = err.response.data.detail.map(({ msg }) => msg).join(\" \")\n store.commit(\n \"notification_backend/addBeNotification\",\n {\n text: errorText,\n type: \"error\",\n },\n { root: true }\n )\n }\n\n if (err.response.status == 409) {\n let errorText = err.response.data.detail.map(({ msg }) => msg).join(\" \")\n store.commit(\n \"notification_backend/addBeNotification\",\n {\n text: errorText,\n type: \"error\",\n },\n { root: true }\n )\n }\n\n if (err.response.status == 429) {\n let errorText = err.response.data.detail.map(({ msg }) => msg).join(\" \")\n store.commit(\n \"notification_backend/addBeNotification\",\n {\n text: errorText,\n type: \"error\",\n },\n { root: true }\n )\n }\n\n if (err.response.status == 400) {\n let errorText = err.response.data.detail.map(({ msg }) => msg).join(\" \")\n store.commit(\n \"notification_backend/addBeNotification\",\n {\n text: errorText,\n type: \"error\",\n },\n { root: true }\n )\n }\n\n if (err.response.status == 422) {\n let errorText = err.response.data.detail.map(({ msg }) => msg).join(\" \")\n store.commit(\n \"notification_backend/addBeNotification\",\n {\n text: errorText,\n type: \"error\",\n },\n { root: true }\n )\n }\n\n if (err.response.status == 500) {\n let errorText = \"\"\n if (err.response.data.detail) {\n errorText = err.response.data.detail.map(({ msg }) => msg).join(\" \")\n }\n\n if (errorText.length == 0) {\n errorText =\n \"Something has gone wrong. Please, retry or let your admin know that you received this error.\"\n }\n\n store.commit(\n \"notification_backend/addBeNotification\",\n {\n text: errorText,\n type: \"error\",\n },\n { root: true }\n )\n }\n return Promise.reject(err)\n }\n }\n)\n\nexport default instance\n","import { forEach, each, has } from \"lodash\"\n\nconst toPascalCase = (str) =>\n `${str}`\n .replace(new RegExp(/[-_]+/, \"g\"), \" \")\n .replace(new RegExp(/[^\\w\\s]/, \"g\"), \"\")\n .replace(\n new RegExp(/\\s+(.)(\\w+)/, \"g\"),\n ($1, $2, $3) => `${$2.toUpperCase() + $3.toLowerCase()}`\n )\n .replace(new RegExp(/\\s/, \"g\"), \"\")\n .replace(new RegExp(/\\w/), (s) => s.toUpperCase())\n\nexport default {\n mapQueryParamsToTableOptions(options, queryParams) {\n forEach(queryParams, function (values, key) {\n if (Array.isArray(values)) {\n each(values, function (value) {\n options[key].push({ name: value })\n })\n } else {\n options[key].push({ name: values })\n }\n })\n },\n mapTableOptionsToQueryParams(options, queryParams) {\n return options, queryParams\n },\n createParametersFromTableOptions(options, model, rawFilters) {\n let expression = this.createFilterExpression(options.filters, model)\n delete options.filters\n\n if (!expression.length) {\n if (rawFilters != null && typeof rawFilters[Symbol.iterator] === \"function\") {\n expression = { and: [...rawFilters] }\n return { ...options, filter: JSON.stringify(expression) }\n } else {\n return options\n }\n }\n\n if (rawFilters != null && typeof rawFilters[Symbol.iterator] === \"function\") {\n expression = { and: [...rawFilters, ...expression] }\n } else {\n expression = { and: expression }\n }\n\n return { ...options, filter: JSON.stringify(expression) }\n },\n /**\n * Create a filter expression for searching for items in a database\n *\n * @param {Object} filters - An object containing the search filters\n * @param {String} model - The name of the model used in the search\n *\n * @return {Array} filterExpression - An array of filter objects that can be used to search the database\n *\n * @example\n * const filters = {\n * name: \"Endpoint infected with Nanocore\",\n * start_date: {\n * start: \"2022-01-01\",\n * end: \"2022-12-31\"\n * }\n * }\n * const model = \"Case\"\n *\n * const filterExpression = createFilterExpression(filters, model)\n * console.log(filterExpression)\n *\n * // Output:\n * // [\n * // {\n * // or: [\n * // {\n * // model: \"Case\",\n * // field: \"name\",\n * // op: \"==\",\n * // value: \"Endpoint infected with Nanocore\"\n * // }\n * // ]\n * // },\n * // {\n * // and: [\n * // {\n * // model: \"Case\",\n * // field: \"start_date\",\n * // op: \">=\",\n * // value: \"2022-01-01\"\n * // },\n * // {\n * // model: \"Case\",\n * // field: \"start_date\",\n * // op: \"<=\",\n * // value: \"2022-12-31\"\n * // }\n * // ]\n * // }\n * // ]\n */\n createFilterExpression(filters, model) {\n let filterExpression = []\n forEach(filters, function (value, key) {\n let subFilter = []\n // Handle time windows\n // KJ. For a boolean value.\n if (typeof value === \"boolean\") {\n subFilter.push({\n model: model,\n field: key,\n op: \"==\",\n value: value,\n })\n }\n if (has(value, \"start\")) {\n if (value.start) {\n subFilter.push({\n and: [\n { model: model, field: key, op: \">=\", value: value.start },\n { model: model, field: key, op: \"<=\", value: value.end },\n ],\n })\n }\n } else {\n each(value, function (value) {\n // filter null values\n if (!value) {\n return\n }\n if (has(value, \"id\")) {\n subFilter.push({\n model: toPascalCase(key),\n field: \"id\",\n op: \"==\",\n value: value.id,\n })\n } else if (has(value, \"name\")) {\n subFilter.push({\n model: toPascalCase(key),\n field: \"name\",\n op: \"==\",\n value: value.name,\n })\n } else if (has(value, \"model\")) {\n // avoid filter null values\n if (value.value) {\n subFilter.push({\n model: value.model,\n field: value.field,\n op: \"==\",\n value: value.value,\n })\n }\n } else {\n subFilter.push({ model: model, field: key, op: \"==\", value: value })\n }\n })\n }\n if (subFilter.length > 0) {\n if (key == \"visibility\") {\n // use \"and\" condition to filter with visibility\n filterExpression.push({ and: subFilter })\n } else {\n filterExpression.push({ or: subFilter })\n }\n }\n })\n\n return filterExpression\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/data/sources/environments\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(environmentId) {\n return API.get(`${resource}/${environmentId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(environmentId, payload) {\n return API.put(`${resource}/${environmentId}`, payload)\n },\n\n delete(environmentId) {\n return API.delete(`${resource}/${environmentId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/workflows\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(workflowId) {\n return API.get(`${resource}/${workflowId}`)\n },\n\n getInstance(workflowInstanceId) {\n return API.get(`${resource}/instances/${workflowInstanceId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(workflowId, payload) {\n return API.put(`${resource}/${workflowId}`, payload)\n },\n\n run(workflowId, payload) {\n return API.post(`${resource}/${workflowId}/run`, payload)\n },\n\n delete(workflowId) {\n return API.delete(`${resource}/${workflowId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/tasks\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(taskId) {\n return API.get(`${resource}/${taskId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n markResolved(taskId) {\n return API.post(`${resource}/${taskId}/mark-resolved`)\n },\n\n markOpen(taskId) {\n return API.post(`${resource}/${taskId}/mark-open`)\n },\n\n update(taskId, payload) {\n return API.put(`${resource}/${taskId}`, payload)\n },\n\n bulkUpdate(tasks, payload) {\n return Promise.all(\n tasks.map((task) => {\n return this.update(task.id, { ...task, ...payload })\n })\n )\n },\n\n delete(taskId) {\n return API.delete(`${resource}/${taskId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"projects\"\n\nexport default {\n getAll(options) {\n const token = localStorage.getItem(\"token\");\n const unstruct_anonymous_key = localStorage.getItem(\"unstruct_anonymous_key\");\n\n if (token) {\n return API.get(`/${resource}`, {\n params: { ...options },\n });\n } else if (unstruct_anonymous_key) {\n return API.get(`/${resource}/anonymous/${unstruct_anonymous_key}`, {\n params: { ...options },\n });\n } else {\n return Promise.reject(new Error(\"No authentication or temporary session found\"));\n }\n },\n\n get(projectId) {\n return API.get(`/${resource}/${projectId}`)\n },\n\n getUserProjects(options) {\n const token = localStorage.getItem(\"token\");\n const unstruct_anonymous_key = localStorage.getItem(\"unstruct_anonymous_key\");\n\n if (token) {\n return API.get(`/${resource}/user`, {\n params: { ...options },\n });\n } else if (unstruct_anonymous_key) {\n return API.get(`/${resource}/anonymous/user/${unstruct_anonymous_key}`, {\n params: { ...options },\n });\n } else {\n return Promise.reject(new Error(\"No authentication or temporary session found\"));\n }\n },\n\n create(payload) {\n const token = localStorage.getItem(\"token\");\n const unstruct_anonymous_key = localStorage.getItem(\"unstruct_anonymous_key\");\n\n if (token) {\n return API.post(`/${resource}`, payload);\n } else if (unstruct_anonymous_key) {\n return API.post(`/${resource}/anonymous/${unstruct_anonymous_key}`, payload);\n } else {\n return Promise.reject(new Error(\"No authentication or temporary session found\"));\n }\n },\n\n update(projectId, payload) {\n return API.put(`/${resource}/${projectId}`, payload)\n },\n\n delete(projectId) {\n return API.delete(`/${resource}/${projectId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/data/sources/statuses\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(statusId) {\n return API.get(`${resource}/${statusId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(statusId, payload) {\n return API.put(`${resource}/${statusId}`, payload)\n },\n\n delete(statusId) {\n return API.delete(`${resource}/${statusId}`)\n },\n}\n","import API from \"@/api\"\n\nconst resource = \"/data/sources\"\n\nexport default {\n getAll(options) {\n return API.get(`${resource}`, { params: { ...options } })\n },\n\n get(sourceId) {\n return API.get(`${resource}/${sourceId}`)\n },\n\n create(payload) {\n return API.post(`${resource}`, payload)\n },\n\n update(sourceId, payload) {\n return API.put(`${resource}/${sourceId}`, payload)\n },\n\n delete(sourceId) {\n return API.delete(`${resource}/${sourceId}`)\n },\n}\n"],"sourceRoot":""}
\n Universes represent the top-level in your hierarchy. You'll be able to bundle a\n collection of galaxies within an organization.\n