{"version":3,"sources":["webpack:///./src/components/pagination/Pagination.vue?f9f9","webpack:///./src/components/pagination/Pagination.vue","webpack:///./src/components/pagination/Pagination.vue?f35f","webpack:///./src/components/general/LoadingSpinner.vue?f586","webpack:///./src/components/system/ActivityLog.vue?01a8","webpack:///./src/components/system/Tables/ActivitiesDataTable.vue","webpack:///./src/components/system/Tables/ActivitiesDataTable.vue?4861","webpack:///./src/components/dropdown/ActivitiesTypeDropdown.vue?ba66","webpack:///./src/components/dropdown/ActivitiesTypeDropdown.vue","webpack:///./src/components/dropdown/ActivitiesTypeDropdown.vue?561c","webpack:///./src/components/system/Modals/ViewLogModal.vue","webpack:///./src/components/system/Modals/ViewLogModal.vue?361e","webpack:///./src/components/system/ActivityLog.vue","webpack:///./src/components/system/ActivityLog.vue?6100","webpack:///./src/components/general/LoadingSpinner.vue?a742","webpack:///./src/components/general/LoadingSpinner.vue","webpack:///./src/components/general/LoadingSpinner.vue?4fce","webpack:///./src/core/helpers/breadcrumb.ts"],"names":["_hoisted_1","key","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","href","onclick","_hoisted_7","render","_ctx","_cache","$props","$setup","$data","$options","totalPages","areThereLessThanEightPages","shouldBackArrowBeVisible","onClick","$event","backButtonClicked","shownPageCollection","pageNumber","index","currentPage","changeCurrentPage","shouldNextArrowBeVisible","nextButtonClicked","name","components","props","type","Number","maxPages","default","data","AllpageCollection","selectedPage","lastPageOfCurrentShownCollection","methods","this","$emit","undefined","filter","n","watch","i","push","length","computed","__exports__","_component_ViewLogModal","_component_ActivitiesTypeDropdown","_component_LoadingSpinner","_component_ActivitiesDataTable","_component_Pagination","viewedLog","modelValue","filterType","onOpenPropertiesModal","handlePropertiesModal","pagination","total_pages","current_page","onChangeCurrentPage","handlePageChange","tableData","entity","id","log_name","created_at","description","Object","_component_el_option","_component_el_select","value","clearable","size","filterable","placeholder","activityTypes","item","label","_","setup","store","getters","dispatch","data-toggle","data-bs-dismiss","aria-label","properties","ActivitiesDataTable","ActivitiesTypeDropdown","LoadingSpinner","ViewLogModal","Pagination","isLoading","fetchData","page","finally","last_page","event","modal","document","getElementById","show","spinnerColor","role","String","setCurrentPageBreadcrumbs","pageTitle","breadcrumbs","SET_BREADCRUMB_ACTION","title","pageBreadcrumbPath","setCurrentPageTitle"],"mappings":"kIAEMA,EAAa,CACjBC,IAAK,EACLC,MAAO,cAEHC,EAAa,CACjBF,IAAK,EACLC,MAAO,sBAEHE,EAA0B,gCAAoB,IAAK,CAAEF,MAAO,oBAAsB,MAAO,GACzFG,EAAa,CACjBD,GAEIE,EAAa,CAAC,WACdC,EAA0B,gCAAoB,IAAK,CACvDL,MAAO,YACPM,KAAM,IACNC,QAAS,gBACR,CACY,gCAAoB,IAAK,CAAEP,MAAO,wBAC7C,GACEQ,EAAa,CACjBH,GAGK,SAASI,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,OAAQL,EAAKM,WAAa,GACrB,yBAAc,gCAAoB,KAAMlB,EAAY,EACjDY,EAAKO,4BAA8BP,EAAKQ,0BACrC,yBAAc,gCAAoB,KAAMjB,EAAY,CACnD,gCAAoB,IAAK,CACvBkB,QAASR,EAAO,KAAOA,EAAO,GAAK,4BAAe,SAACS,GAAgB,OAACV,EAAKW,sBAAsB,CAAC,aAChGrB,MAAO,YACPM,KAAM,KACLH,MAEL,gCAAoB,IAAI,IAC3B,wBAAW,GAAO,gCAAoB,cAAW,KAAM,wBAAYO,EAAKY,qBAAqB,SAACC,EAAYC,GACzG,OAAQ,yBAAc,gCAAoB,KAAM,CAC9CxB,MAAO,4BAAgB,CAAC,YAAaU,EAAKe,aAAeF,EAAa,SAAW,KACjFxB,IAAKyB,GACJ,CACD,gCAAoB,IAAK,CACvBxB,MAAO,YACPmB,QAAS,4BAAe,SAACC,GAAgB,OAACV,EAAKgB,kBAAkBH,KAAc,CAAC,YAChFjB,KAAM,KACL,6BAAiBiB,GAAa,EAAGnB,IACnC,MACD,OACFM,EAAKO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AG5C,wBAAU,WACR,eAAoB,gBACpBH,EAAU,MAEZ,oBAAM,WAAM,OAAAxC,EAAWiB,SAAO,WAC5BuB,EAAU,EAAGxC,EAAWiB,UAG1B,IAAMf,EAAwB,SAAC0C,GAC7B9C,EAAUmB,MAAQ2B,EAClB,IAAMC,EAAQ,IAAI,OAAMC,SAASC,eAAe,iBAChDF,EAAMG,QAEFzC,EAAmB,SAACkC,GACxBD,EAAUC,IAGZ,MAAM,CACJhE,KAAI,EACJuB,WAAU,EACVF,UAAS,EACTI,sBAAqB,EACrBK,iBAAgB,EAChBJ,WAAU,EACVoC,UAAS,MC/Df,MAAM,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASzF,KAErD,gB,yECJTX,EAAa,CAAEE,MAAO,iCAErB,SAASS,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,OAAQ,yBAAc,gCAAoB,MAAOjB,EAAY,CAC3D,gCAAoB,MAAO,CACzBE,MAAO,4BAAgB,CAAC,4CAA6CU,EAAKkG,eAC1EC,KAAM,UACL,KAAM,KCPE,mCAAgB,CAC7BhF,KAAM,iBACNE,MAAO,CACL6E,aAAc,CACZ5E,KAAM8E,OACN3E,QAAS,mB,iCCDf,MAAMgB,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS1C,GAAQ,CAAC,YAAY,qBAE1E,U,kCCTf,gGAQasG,EAA4B,SACvCC,EACAC,GAEA,OAAMzB,SAAS,OAAQ0B,sBAAuB,CAC5CC,MAAOH,EACPI,mBAAoBH,KAQXI,EAAsB,SAACF,GAClC,OAAM3B,SAAS,OAAQ0B,sBAAuB,CAC5CC,MAAOA","file":"js/chunk-149f875b.daa1fd1a.js","sourcesContent":["import { createElementVNode as _createElementVNode, withModifiers as _withModifiers, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"pagination\"\n}\nconst _hoisted_2 = {\n key: 0,\n class: \"page-item previous\"\n}\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-arrow-left\" }, null, -1)\nconst _hoisted_4 = [\n _hoisted_3\n]\nconst _hoisted_5 = [\"onClick\"]\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"a\", {\n class: \"page-link\",\n href: \"#\",\n onclick: \"return false\"\n}, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-arrow-right\" })\n], -1)\nconst _hoisted_7 = [\n _hoisted_6\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_ctx.totalPages > 1)\n ? (_openBlock(), _createElementBlock(\"ul\", _hoisted_1, [\n (!_ctx.areThereLessThanEightPages && _ctx.shouldBackArrowBeVisible)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_2, [\n _createElementVNode(\"a\", {\n onClick: _cache[0] || (_cache[0] = _withModifiers(($event: any) => (_ctx.backButtonClicked()), [\"prevent\"])),\n class: \"page-link\",\n href: \"#\"\n }, _hoisted_4)\n ]))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.shownPageCollection, (pageNumber, index) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n class: _normalizeClass([\"page-item\", _ctx.currentPage == pageNumber ? 'active' : '']),\n key: index\n }, [\n _createElementVNode(\"a\", {\n class: \"page-link\",\n onClick: _withModifiers(($event: any) => (_ctx.changeCurrentPage(pageNumber)), [\"prevent\"]),\n href: \"#\"\n }, _toDisplayString(pageNumber), 9, _hoisted_5)\n ], 2))\n }), 128)),\n (!_ctx.areThereLessThanEightPages && _ctx.shouldNextArrowBeVisible)\n ? (_openBlock(), _createElementBlock(\"li\", {\n key: 1,\n class: \"page-item next\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.nextButtonClicked()))\n }, _hoisted_7))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n}","\nimport { defineComponent } from \"vue\";\n\nexport default defineComponent({\n name: \"Pagination\",\n components: {},\n props: {\n currentPage: {\n type: Number\n },\n totalPages: {\n type: Number\n },\n maxPages: {\n type: Number,\n default: 8\n }\n },\n data() {\n return {\n AllpageCollection: [1],\n shownPageCollection: [1],\n areThereLessThanEightPages: true,\n selectedPage: 1,\n lastPageOfCurrentShownCollection: 1\n };\n },\n methods: {\n changeCurrentPage(pageNumber) {\n this.selectedPage = pageNumber;\n this.$emit(\"changeCurrentPage\", this.selectedPage);\n },\n nextButtonClicked() {\n if (this.totalPages != undefined && this.selectedPage < this.totalPages) {\n this.selectedPage++;\n this.changeCurrentPage(this.selectedPage);\n if (this.selectedPage > this.lastPageOfCurrentShownCollection) {\n this.shownPageCollection = this.AllpageCollection.filter(\n n =>\n n >= this.selectedPage && n <= this.selectedPage + this.maxPages\n );\n }\n }\n },\n backButtonClicked() {\n if (this.selectedPage > 1) {\n this.selectedPage--;\n this.changeCurrentPage(this.selectedPage);\n if (this.selectedPage < this.shownPageCollection[0]) {\n this.shownPageCollection = this.AllpageCollection.filter(\n n =>\n n >= this.selectedPage - this.maxPages && n <= this.selectedPage\n );\n }\n }\n }\n },\n watch: {\n totalPages() {\n this.selectedPage = 1;\n this.AllpageCollection = [1];\n if (this.totalPages !== undefined && this.totalPages !== 1) {\n for (let i = 1; i < this.totalPages; i++) {\n this.AllpageCollection.push(i + 1);\n }\n }\n if (this.AllpageCollection.length > this.maxPages) {\n this.areThereLessThanEightPages = false;\n this.shownPageCollection = this.AllpageCollection.filter(\n n => n >= 1 && n <= this.maxPages\n );\n } else {\n this.areThereLessThanEightPages = true;\n this.shownPageCollection = this.AllpageCollection;\n }\n },\n shownPageCollection() {\n this.lastPageOfCurrentShownCollection = this.shownPageCollection[\n this.shownPageCollection.length - 1\n ];\n }\n },\n computed: {\n shouldNextArrowBeVisible() {\n if (\n this.totalPages != undefined &&\n this.lastPageOfCurrentShownCollection == this.totalPages\n )\n return false;\n else return true;\n },\n shouldBackArrowBeVisible() {\n if (this.shownPageCollection[0] == 1) return false;\n else return true;\n }\n }\n});\n","import { render } from \"./Pagination.vue?vue&type=template&id=2a88c04e&ts=true\"\nimport script from \"./Pagination.vue?vue&type=script&lang=ts\"\nexport * from \"./Pagination.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/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-v16/dist/index.js??ref--1-1!./LoadingSpinner.vue?vue&type=style&index=0&id=7cf22dc6&scoped=true&lang=css\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"card\" }\nconst _hoisted_2 = { class: \"card-header border-0 pt-5\" }\nconst _hoisted_3 = { class: \"d-flex justify-content-between flex-fill\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"h3\", { class: \"card-title align-items-start flex-column\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"card-label fw-bolder fs-3 mb-1\" }, \"Activities\"),\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-muted mt-1 fw-bold fs-7\" }, \"Overview of activities\")\n], -1)\nconst _hoisted_5 = { class: \"card-body py-3\" }\nconst _hoisted_6 = { class: \"d-flex justify-content-end\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ViewLogModal = _resolveComponent(\"ViewLogModal\")!\n const _component_ActivitiesTypeDropdown = _resolveComponent(\"ActivitiesTypeDropdown\")!\n const _component_LoadingSpinner = _resolveComponent(\"LoadingSpinner\")!\n const _component_ActivitiesDataTable = _resolveComponent(\"ActivitiesDataTable\")!\n const _component_Pagination = _resolveComponent(\"Pagination\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_ViewLogModal, { data: _ctx.viewedLog }, null, 8, [\"data\"]),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createVNode(_component_ActivitiesTypeDropdown, {\n modelValue: _ctx.filterType,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.filterType) = $event)),\n class: \"w-25\"\n }, null, 8, [\"modelValue\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n (_ctx.isLoading)\n ? (_openBlock(), _createBlock(_component_LoadingSpinner, { key: 0 }))\n : (_openBlock(), _createBlock(_component_ActivitiesDataTable, {\n key: 1,\n \"table-data\": _ctx.data.data,\n onOpenPropertiesModal: _ctx.handlePropertiesModal\n }, null, 8, [\"table-data\", \"onOpenPropertiesModal\"])),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_Pagination, {\n \"total-pages\": _ctx.pagination.total_pages,\n \"current-page\": _ctx.pagination.current_page,\n onChangeCurrentPage: _ctx.handlePageChange\n }, null, 8, [\"total-pages\", \"current-page\", \"onChangeCurrentPage\"])\n ])\n ])\n ])\n ], 64))\n}","\n \n \n \n \n Type\n When\n Description\n Properties\n \n \n \n \n {{ entity.log_name }}\n {{ entity.created_at }}\n {{ entity.description }}\n \n \n \n More\n \n \n \n \n \n \n \n\n\n","import { render } from \"./ActivitiesDataTable.vue?vue&type=template&id=ca073770\"\nimport script from \"./ActivitiesDataTable.vue?vue&type=script&lang=js\"\nexport * from \"./ActivitiesDataTable.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createBlock as _createBlock, withCtx as _withCtx } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n\n return (_openBlock(), _createBlock(_component_el_select, {\n modelValue: _ctx.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.value) = $event)),\n clearable: \"\",\n size: \"large\",\n filterable: \"\",\n placeholder: \"Select type\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.activityTypes, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.log_name,\n label: item.log_name,\n value: item.log_name\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n}","\nimport {computed, defineComponent, onMounted, ref} from \"vue\";\nimport {useStore} from \"vuex\";\n\nexport default defineComponent({\n name: \"activities-types-dropdown\",\n setup() {\n const store = useStore();\n const value = ref();\n const activityTypes = computed(\n () => store.getters['ListsModule/activityTypes']\n );\n onMounted(() => {\n store.dispatch(\"ListsModule/fetchActivityTypes\")\n })\n return {\n value,\n activityTypes\n }\n }\n});\n","import { render } from \"./ActivitiesTypeDropdown.vue?vue&type=template&id=1306617e&ts=true\"\nimport script from \"./ActivitiesTypeDropdown.vue?vue&type=script&lang=ts\"\nexport * from \"./ActivitiesTypeDropdown.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n \n \n \n \n Log event information\n \n \n \n \n \n \n \n {{ key }} : {{ entity }}\n \n \n \n \n \n \n \n\n\n\n","import { render } from \"./ViewLogModal.vue?vue&type=template&id=628a49cc\"\nimport script from \"./ViewLogModal.vue?vue&type=script&lang=js\"\nexport * from \"./ViewLogModal.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n/* eslint-disable @typescript-eslint/camelcase */\nimport {computed, defineComponent, onMounted, onUpdated, ref, watch} from \"vue\";\nimport { useStore } from \"vuex\";\nimport {setCurrentPageTitle} from \"@/core/helpers/breadcrumb\";\nimport ActivitiesDataTable from \"@/components/system/Tables/ActivitiesDataTable.vue\";\nimport LoadingSpinner from \"@/components/general/LoadingSpinner.vue\";\nimport Pagination from \"@/components/pagination/Pagination.vue\";\nimport ActivitiesTypeDropdown from \"@/components/dropdown/ActivitiesTypeDropdown.vue\";\nimport ViewLogModal from \"@/components/system/Modals/ViewLogModal.vue\";\nimport { Modal } from \"bootstrap\";\nimport {useAbility} from \"@casl/vue\";\nimport {useRouter} from \"vue-router\";\n\nexport default defineComponent({\n name: \"activity-log\",\n components: {\n ActivitiesDataTable,\n ActivitiesTypeDropdown,\n LoadingSpinner,\n ViewLogModal,\n Pagination\n },\n setup() {\n const store = useStore();\n const isLoading = ref(false);\n const pagination = {\n current_page: 1,\n total_pages: 1\n }\n const data = computed(\n () => store.getters['ActivitiesModule/getAll']\n );\n const viewedLog = ref();\n const filterType = ref(null);\n const fetchData = (page: number, filter?) => {\n isLoading.value = true;\n store.dispatch(\"ActivitiesModule/fetchAdmin\", { page: page, filter: filter ?? null })\n .finally(() => {\n isLoading.value = false;\n pagination.current_page = data.value.current_page;\n pagination.total_pages = data.value.last_page;\n })\n }\n onMounted(() => {\n setCurrentPageTitle(\"Activity log\");\n fetchData(1);\n });\n watch(() => filterType.value, () => {\n fetchData(1, filterType.value)\n });\n\n const handlePropertiesModal = (event) => {\n viewedLog.value = event;\n const modal = new Modal(document.getElementById('viewLogModal'));\n modal.show();\n }\n const handlePageChange = (page: number) => {\n fetchData(page);\n }\n\n return{\n data,\n filterType,\n viewedLog,\n handlePropertiesModal,\n handlePageChange,\n pagination,\n isLoading\n }\n }\n});\n","import { render } from \"./ActivityLog.vue?vue&type=template&id=45f62f6d&ts=true\"\nimport script from \"./ActivityLog.vue?vue&type=script&lang=ts\"\nexport * from \"./ActivityLog.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7cf22dc6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"d-flex justify-content-center\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"spinner-border m-20 spinner-size-increase\", _ctx.spinnerColor]),\n role: \"status\"\n }, null, 2)\n ]))\n}","\nimport { defineComponent, PropType } from \"vue\";\n\nexport default defineComponent({\n name: \"LoadingSpinner\",\n props: {\n spinnerColor: {\n type: String as PropType,\n default: \"text-primary\"\n }\n }\n});\n","import { render } from \"./LoadingSpinner.vue?vue&type=template&id=7cf22dc6&scoped=true&ts=true\"\nimport script from \"./LoadingSpinner.vue?vue&type=script&lang=ts\"\nexport * from \"./LoadingSpinner.vue?vue&type=script&lang=ts\"\n\nimport \"./LoadingSpinner.vue?vue&type=style&index=0&id=7cf22dc6&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src1803551405/src/wci-front/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7cf22dc6\"]])\n\nexport default __exports__","import store from \"@/store\";\r\nimport { Actions } from \"@/store/enums/StoreEnums\";\r\n\r\n/**\r\n * Sets current page breadcrumbs\r\n * @param {string} pageTitle Current page title\r\n * @param {Array} breadcrumbs Current page breadcrumbs\r\n */\r\nexport const setCurrentPageBreadcrumbs = (\r\n pageTitle: string,\r\n breadcrumbs: Array\r\n): void => {\r\n store.dispatch(Actions.SET_BREADCRUMB_ACTION, {\r\n title: pageTitle,\r\n pageBreadcrumbPath: breadcrumbs\r\n });\r\n};\r\n\r\n/**\r\n * Sets current page breadcrumbs\r\n * @param {string} title Current page title name\r\n */\r\nexport const setCurrentPageTitle = (title: string): void => {\r\n store.dispatch(Actions.SET_BREADCRUMB_ACTION, {\r\n title: title\r\n });\r\n};\r\n"],"sourceRoot":""}