{"version":3,"sources":["webpack:///./src/components/layout/NavSidebar.vue?7093","webpack:///./src/components/ui/Modal.vue?6631","webpack:///./src/components/ui/Spinner.vue?5a98","webpack:///./src/components/ui/Spinner.vue","webpack:///./src/components/ui/Spinner.vue?578b","webpack:///./src/components/ui/Modal.vue?d140","webpack:///./src/components/ui/Modal.vue","webpack:///./src/components/ui/Modal.vue?cb50","webpack:///./src/views/Dashboard.vue?14a3","webpack:///./src/components/layout/NavSidebar.vue?6f3d","webpack:///./src/components/layout/NavSidebar.vue","webpack:///./src/components/layout/NavSidebar.vue?ed27","webpack:///./src/components/ui/CustomerPicker.vue?0f42","webpack:///./src/components/ui/CustomerPicker.vue","webpack:///./src/components/ui/CustomerPicker.vue?edef","webpack:///./src/views/Dashboard.vue","webpack:///./src/views/Dashboard.vue?1521","webpack:///./src/components/ui/DefaultButton.vue?32c2","webpack:///./src/components/ui/DefaultButton.vue","webpack:///./src/components/ui/DefaultButton.vue?a607","webpack:///./src/services/account.service.ts","webpack:///./src/components/ui/DefaultButton.vue?73a5","webpack:///./src/assets/images/logo.png","webpack:///./src/components/ui/Icon.vue?0bea","webpack:///./src/components/ui/Icon.vue","webpack:///./src/components/ui/Icon.vue?4bf0","webpack:///./src/views/Dashboard.vue?d50e","webpack:///./src/components/ui/Icon.vue?8cd5"],"names":["_hoisted_1","width","height","viewBox","xmlns","stroke","_hoisted_2","_createStaticVNode","_hoisted_3","render","_ctx","_cache","$props","$setup","$data","$options","_openBlock","_createElementBlock","defineComponent","name","__exports__","_withScopeId","n","_pushScopeId","_popScopeId","key","class","_hoisted_4","_createElementVNode","_hoisted_5","_hoisted_6","_hoisted_7","_component_default_button","_resolveComponent","modelValue","_normalizeClass","modalTypeClass","modalSize","_renderSlot","$slots","undefined","onClick","close","hideButtons","_createCommentVNode","hideConfirmButton","_createBlock","handleConfirmClick","disabled","blockConfirm","default","_withCtx","_createTextVNode","_toDisplayString","$t","_","hideCancelButton","type","components","DefaultButton","emits","props","Boolean","buttonsPosition","String","size","methods","this","$emit","computed","buttonsClass","_component_CustomerPicker","_component_nav_sidebar","_component_router_view","_component_modal","_createVNode","onRefreshView","refreshView","show","showNavigation","onLogoutClick","$event","showLogoutModal","onOverlayClick","viewTimestamp","onConfirmClick","handleLogoutConfirmClick","title","src","_imports_0","alt","style","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_component_router_link","_Fragment","_withModifiers","to","state","customers","length","_withDirectives","selectedCustomer","onChange","handleCustomerChange","_renderList","customer","index","value","Date","getTime","innerHTML","label","_vModelSelect","setup","context","ref","extractSubcustomers","response","reduce","get","subcustomer","push","updateCustomerIdHeader","checkSelectedCustomer","emit","handleCustomerChangeEvent","customerId","EventBus","on","accountService","getAccountDetails","then","catch","CustomerPicker","Modal","NavSidebar","keycloak","inject","data","window","innerHeight","logout","_component_spinner","_component_icon","injectedClass","buttonClass","buttonRoleClass","buttonRole","isLoading","iconName","Icon","Spinner","role","axiosClient","changePassword","newPassword","put","new_password","module","exports","required"],"mappings":"2IAAA,W,kCCAA,W,6ECEMA,EAAa,CACjBC,MAAO,KACPC,OAAQ,KACRC,QAAS,YACTC,MAAO,6BACPC,OAAQ,WAEJC,EAA0BC,eAAmB,mVAAkX,GAC/ZC,EAAa,CACjBF,GAGI,SAAUG,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,OAAQC,iBAAcC,eAAoB,MAAOjB,EAAYQ,GCZhDU,qBAAgB,CAC7BC,KAAM,Y,qBCCR,MAAMC,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASX,KAErD,U,oDCLTY,EAAe,SAAAC,GAAC,OAAKC,eAAa,mBAAmBD,EAAEA,IAAIE,iBAAcF,GACzEtB,EAAa,CACjByB,IAAK,EACLC,MAAO,iBAEHpB,EAAa,CAAEoB,MAAO,iBACtBlB,EAAa,CAAEkB,MAAO,wBACtBC,EAA2BN,GAAa,kBAAmBO,eAAoB,OAAQ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EXwG,WAAY,CACVjG,KAAMO,OACNd,QAAS,UAEX6G,KAAM,CACJtG,KAAMO,OACNd,QAAS,WAEXyG,UAAW,CACTlG,KAAMK,QACNZ,SAAS,GAEXF,SAAU,CACRS,KAAMK,QACNZ,SAAS,GAEX0G,SAAU,CACRnG,KAAMO,OACNd,QAAS,IAEXqG,cAAe,CACb9F,KAAMO,OACNd,QAAS,KAGbmB,SAAU,CACRmF,YADQ,WAEN,OAAQrF,KAAKV,MACX,IAAK,UACH,MAAO,0BACT,IAAK,QACH,MAAO,wBACT,QACE,MAAO,KAGbgG,gBAXQ,WAYN,OAAQtF,KAAK4F,MACX,IAAK,SACH,MAAO,yBACT,QACE,MAAO,Q,iCC/CjB,MAAM3I,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASX,GAAQ,CAAC,YAAY,qBAE1E,U,2DCTf,gBAIM+H,EAAiB,CACrBC,kBADqB,WAEnB,OAAOuB,OAAYlC,IAAI,8BAEzBmC,eAJqB,SAINC,GACb,OAAOF,OAAYG,IAAI,kBAAmB,CACxCC,aAAcF,MAKL1B,U,oCCff,W,qBCAA6B,EAAOC,QAAU,8nH,4DCEX,SAAU7J,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,OAAQC,iBAAcC,eAAoB,OAAQ,CAChDS,MAAOS,eAAgB,CAAC,OAAD,eAAiBzB,EAAKS,SAC5C,KAAM,GCFID,qBAAgB,CAC7BC,KAAM,OACN0C,MAAO,CACL1C,KAAM,CACJsC,KAAMO,OACNuG,UAAU,M,iCCDhB,MAAMnJ,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASX,GAAQ,CAAC,YAAY,qBAE1E,U,kCCTf,W,kCCAA","file":"js/chunk-3064c676.8da0133e.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./NavSidebar.vue?vue&type=style&index=0&id=697b9a1a&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Modal.vue?vue&type=style&index=0&id=0769baef&scoped=true&lang=scss\"","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createStaticVNode as _createStaticVNode } from \"vue\"\n\nconst _hoisted_1 = {\n width: \"38\",\n height: \"38\",\n viewBox: \"0 0 38 38\",\n xmlns: \"http://www.w3.org/2000/svg\",\n stroke: \"#2997AB\"\n}\nconst _hoisted_2 = /*#__PURE__*/_createStaticVNode(\"\", 1)\nconst _hoisted_3 = [\n _hoisted_2\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, _hoisted_3))\n}","\nimport { defineComponent } from \"vue\";\n\nexport default defineComponent({\n name: \"Spinner\",\n});\n","import { render } from \"./Spinner.vue?vue&type=template&id=41e04b01&ts=true\"\nimport script from \"./Spinner.vue?vue&type=script&lang=ts\"\nexport * from \"./Spinner.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/opt/apps/myparcel4you-web/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderSlot as _renderSlot, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0769baef\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"modal-overlay\"\n}\nconst _hoisted_2 = { class: \"modal__header\" }\nconst _hoisted_3 = { class: \"modal__header__title\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"icon-cross\" }, null, -1))\nconst _hoisted_5 = [\n _hoisted_4\n]\nconst _hoisted_6 = { class: \"modal__content\" }\nconst _hoisted_7 = {\n key: 0,\n class: \"modal__buttons justify-center\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_default_button = _resolveComponent(\"default-button\")!\n\n return (_ctx.modelValue)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"modal\", [_ctx.modalTypeClass, _ctx.modalSize]])\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"title\", {}, undefined, true)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"button\", {\n class: \"m-0\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.close && _ctx.close(...args)))\n }, _hoisted_5)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ]),\n (!_ctx.hideButtons)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _renderSlot(_ctx.$slots, \"buttons\", {}, undefined, true),\n (!_ctx.hideConfirmButton)\n ? (_openBlock(), _createBlock(_component_default_button, {\n key: 0,\n onClick: _ctx.handleConfirmClick,\n disabled: _ctx.blockConfirm\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"confirm-button\", {}, () => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"general.ok\")), 1)\n ], true)\n ]),\n _: 3\n }, 8, [\"onClick\", \"disabled\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.hideCancelButton)\n ? (_openBlock(), _createBlock(_component_default_button, {\n key: 1,\n onClick: _ctx.close,\n type: \"outline\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"general.cancel\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2)\n ]))\n : _createCommentVNode(\"\", true)\n}","\nimport { defineComponent } from \"vue\";\nimport DefaultButton from \"@/components/ui/DefaultButton.vue\";\n\nexport default defineComponent({\n name: \"Modal\",\n components: { DefaultButton },\n emits: [\"confirmClick\", \"cancelClick\", \"update:modelValue\"],\n props: {\n modelValue: {\n type: Boolean,\n },\n buttonsPosition: {\n type: String,\n default: \"left\",\n },\n type: {\n type: String,\n default: \"\",\n },\n hideConfirmButton: {\n type: Boolean,\n default: false,\n },\n hideCancelButton: {\n type: Boolean,\n default: false,\n },\n hideButtons: {\n type: Boolean,\n default: false,\n },\n size: {\n type: String,\n default: \"\",\n },\n blockConfirm: {\n type: Boolean,\n default: false,\n },\n },\n methods: {\n handleConfirmClick(): void {\n this.$emit(\"confirmClick\");\n this.$emit(\"update:modelValue\", false);\n },\n close(): void {\n this.$emit(\"update:modelValue\", false);\n this.$emit(\"cancelClick\");\n },\n },\n computed: {\n buttonsClass(): string {\n switch (this.buttonsPosition) {\n case \"right\":\n return \"modal__buttons--right\";\n default:\n return \"modal__buttons--left\";\n }\n },\n modalTypeClass(): string {\n switch (this.type) {\n case \"warning\":\n return \"modal--warning\";\n case \"confirm\":\n return \"modal--confirm\";\n default:\n return \"\";\n }\n },\n modalSize(): string {\n switch (this.size) {\n case \"big\":\n return \"modal--big\";\n case \"small\":\n return \"modal--small\";\n default:\n return \"\";\n }\n },\n },\n});\n","import { render } from \"./Modal.vue?vue&type=template&id=0769baef&scoped=true&ts=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=ts\"\nexport * from \"./Modal.vue?vue&type=script&lang=ts\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=0769baef&scoped=true&lang=scss\"\n\nimport exportComponent from \"/opt/apps/myparcel4you-web/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0769baef\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-fff11518\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"relative flex flex-row min-h-screen justify-end\" }\nconst _hoisted_2 = { class: \"absolute right-20 top-12\" }\nconst _hoisted_3 = { class: \"wrapper w-full min-h-screen md:w-4/5\" }\nconst _hoisted_4 = { class: \"text-center text-medium mb-12\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CustomerPicker = _resolveComponent(\"CustomerPicker\")!\n const _component_nav_sidebar = _resolveComponent(\"nav-sidebar\")!\n const _component_router_view = _resolveComponent(\"router-view\")!\n const _component_modal = _resolveComponent(\"modal\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_CustomerPicker, { onRefreshView: _ctx.refreshView }, null, 8, [\"onRefreshView\"])\n ]),\n _createVNode(_component_nav_sidebar, {\n show: _ctx.showNavigation,\n onLogoutClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.showLogoutModal = true)),\n onOverlayClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.showNavigation = false))\n }, null, 8, [\"show\"]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"button-overlay block md:hidden\", _ctx.showNavigation ? 'w-2/5' : 'w-full'])\n }, [\n _createElementVNode(\"button\", {\n class: \"show-nav-button shadow-2xl\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.showNavigation = !_ctx.showNavigation))\n }, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"icon\", _ctx.showNavigation ? 'icon-cross' : 'icon-menu'])\n }, null, 2)\n ])\n ], 2),\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(), _createBlock(_component_router_view, { key: _ctx.viewTimestamp })),\n _createVNode(_component_modal, {\n type: \"warning\",\n size: \"small\",\n modelValue: _ctx.showLogoutModal,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.showLogoutModal) = $event)),\n onConfirmClick: _ctx.handleLogoutConfirmClick\n }, {\n title: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"auth.logout_modal.title\")), 1)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(_ctx.$t(\"auth.logout_modal.content\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"onConfirmClick\"])\n ])\n ]))\n}","import { withModifiers as _withModifiers, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '../../assets/images/logo.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-697b9a1a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"mx-auto\",\n src: _imports_0,\n alt: \"MyParcel4you\"\n}, null, -1))\nconst _hoisted_2 = {\n class: \"w-full flex items-end flex-col\",\n style: {\"margin-top\":\"30%\"}\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"icon icon-orders text-big\" }, null, -1))\nconst _hoisted_4 = { class: \"ml-3 tracking-wider\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"icon icon-bulk-orders text-big\" }, null, -1))\nconst _hoisted_6 = { class: \"ml-3 tracking-wider\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"icon icon-return text-big\" }, null, -1))\nconst _hoisted_8 = { class: \"ml-3 tracking-wider\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"icon icon-reports text-big\" }, null, -1))\nconst _hoisted_10 = { class: \"ml-3 tracking-wider\" }\nconst _hoisted_11 = {\n class: \"w-full flex items-end flex-col\",\n style: {\"margin-top\":\"30%\"}\n}\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"icon icon-account text-big\" }, null, -1))\nconst _hoisted_13 = { class: \"ml-3 tracking-wider\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"icon icon-logout text-big\" }, null, -1))\nconst _hoisted_15 = { class: \"ml-3 tracking-wider\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"nav-sidebar-overlay md:hidden\", _ctx.show ? 'block' : 'hidden']),\n onClick: _cache[0] || (_cache[0] = _withModifiers(($event: any) => (_ctx.$emit('overlayClick')), [\"self\"]))\n }, null, 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"nav-sidebar md:block w-3/5 md:w-1/5\", _ctx.show ? 'block' : 'hidden'])\n }, [\n _createVNode(_component_router_link, { to: { name: 'homepage' } }, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }),\n _createElementVNode(\"nav\", _hoisted_2, [\n _createVNode(_component_router_link, {\n to: { name: 'parcels.list' },\n class: \"nav-item md:w-5/6 w-full\",\n \"active-class\": \"nav-item--active\"\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(_ctx.$t(\"nav.parcels\")), 1)\n ]),\n _: 1\n }, 8, [\"to\"]),\n _createVNode(_component_router_link, {\n to: { name: 'bulk_parcels.list' },\n class: \"nav-item md:w-5/6 w-full\",\n \"active-class\": \"nav-item--active\"\n }, {\n default: _withCtx(() => [\n _hoisted_5,\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString(_ctx.$t(\"nav.bulk_parcels\")), 1)\n ]),\n _: 1\n }, 8, [\"to\"]),\n _createVNode(_component_router_link, {\n to: { name: 'return_parcels.list' },\n class: \"nav-item md:w-5/6 w-full\",\n \"active-class\": \"nav-item--active\"\n }, {\n default: _withCtx(() => [\n _hoisted_7,\n _createElementVNode(\"span\", _hoisted_8, _toDisplayString(_ctx.$t(\"nav.returns\")), 1)\n ]),\n _: 1\n }, 8, [\"to\"]),\n _createVNode(_component_router_link, {\n to: { name: 'reports.list' },\n class: \"nav-item md:w-5/6 w-full\",\n \"active-class\": \"nav-item--active\"\n }, {\n default: _withCtx(() => [\n _hoisted_9,\n _createElementVNode(\"span\", _hoisted_10, _toDisplayString(_ctx.$t(\"nav.reports\")), 1)\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n _createElementVNode(\"nav\", _hoisted_11, [\n _createVNode(_component_router_link, {\n to: { name: 'account' },\n class: \"nav-item md:w-5/6 w-full\",\n \"active-class\": \"nav-item--active\"\n }, {\n default: _withCtx(() => [\n _hoisted_12,\n _createElementVNode(\"span\", _hoisted_13, _toDisplayString(_ctx.$t(\"nav.account\")), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"button\", {\n class: \"nav-item md:w-5/6 w-full\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('logoutClick')))\n }, [\n _hoisted_14,\n _createElementVNode(\"span\", _hoisted_15, _toDisplayString(_ctx.$t(\"nav.log_out\")), 1)\n ])\n ])\n ], 2)\n ], 64))\n}","\nimport { defineComponent } from \"vue\";\n\nexport default defineComponent({\n name: \"NavSidebar\",\n props: [\"show\"],\n emits: [\"logoutClick\", \"overlayClick\"],\n});\n","import { render } from \"./NavSidebar.vue?vue&type=template&id=697b9a1a&scoped=true&ts=true\"\nimport script from \"./NavSidebar.vue?vue&type=script&lang=ts\"\nexport * from \"./NavSidebar.vue?vue&type=script&lang=ts\"\n\nimport \"./NavSidebar.vue?vue&type=style&index=0&id=697b9a1a&scoped=true&lang=scss\"\n\nimport exportComponent from \"/opt/apps/myparcel4you-web/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-697b9a1a\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, vModelSelect as _vModelSelect, withDirectives as _withDirectives, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = [\"value\", \"innerHTML\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_ctx.state.customers.length > 1)\n ? _withDirectives((_openBlock(), _createElementBlock(\"select\", {\n key: 0,\n class: \"h-10 border border-primary-blue text-primary-blue rounded bg-white px-4 py-1\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.state.selectedCustomer) = $event)),\n onChange: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.methods.handleCustomerChange && _ctx.methods.handleCustomerChange(...args)))\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.state.customers, (customer, index) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n value: customer.value,\n key: `customer_${index}_${new Date().getTime()}`,\n innerHTML: customer.label\n }, null, 8, _hoisted_1))\n }), 128))\n ], 544)), [\n [_vModelSelect, _ctx.state.selectedCustomer]\n ])\n : _createCommentVNode(\"\", true)\n}","\nimport { defineComponent, ref } from \"vue\";\nimport _ from \"lodash\";\nimport { AxiosResponse } from \"axios\";\nimport accountService from \"@/services/account.service\";\nimport { SelectOption } from \"@/common/FormTools\";\nimport { AccountDetailsResponse } from \"@/models/AccountDetailsResponse\";\nimport { updateCustomerIdHeader } from \"@/axios\";\nimport { EventBus } from \"@/common/Tools\";\n\ntype CustomerPickerState = {\n customers: SelectOption[];\n selectedCustomer: number;\n};\n\ntype CustomerPickerMethods = {\n extractSubcustomers: (\n response: AxiosResponse\n ) => void;\n handleCustomerChange: () => void;\n handleCustomerChangeEvent: (customerId: unknown) => void;\n checkSelectedCustomer: () => void;\n};\n\nexport default defineComponent({\n name: \"CustomerPicker\",\n emits: [\"refreshView\"],\n setup(props, context) {\n const methods = {} as CustomerPickerMethods;\n const state = ref({\n customers: [],\n selectedCustomer: 0,\n });\n\n methods.extractSubcustomers = (\n response: AxiosResponse\n ) => {\n state.value.customers = _.reduce(\n _.get(response, \"data.sub_customers\", []),\n (\n customers: SelectOption[],\n subcustomer: AccountDetailsResponse,\n index: number\n ): SelectOption[] => {\n customers.push({\n label: _.get(\n subcustomer,\n \"company_name\",\n `Subcustomer #${index + 1}`\n ),\n value: _.get(subcustomer, \"id\", 0),\n });\n return customers;\n },\n [\n {\n label: _.get(response, \"data.company_name\", \"Current Customer\"),\n value: 0,\n },\n // {\n // label: \"All customers\",\n // value: -1,\n // },\n ] as SelectOption[]\n ) as SelectOption[];\n };\n\n methods.handleCustomerChange = () => {\n updateCustomerIdHeader(state.value.selectedCustomer);\n methods.checkSelectedCustomer();\n context.emit(\"refreshView\");\n };\n\n methods.handleCustomerChangeEvent = (customerId) => {\n if (customerId) {\n state.value.selectedCustomer = customerId as number;\n updateCustomerIdHeader(customerId as number);\n methods.checkSelectedCustomer();\n }\n };\n\n methods.checkSelectedCustomer = () => {\n EventBus.emit(\"selectedCustomer\", state.value.selectedCustomer);\n };\n\n EventBus.on(\"changeCustomer\", methods.handleCustomerChangeEvent);\n\n EventBus.on(\"checkSelectedCustomer\", methods.checkSelectedCustomer);\n\n accountService\n .getAccountDetails()\n .then(methods.extractSubcustomers)\n .catch(() => {\n state.value.customers = [];\n });\n return {\n state,\n methods,\n };\n },\n});\n","import { render } from \"./CustomerPicker.vue?vue&type=template&id=3db2881f&ts=true\"\nimport script from \"./CustomerPicker.vue?vue&type=script&lang=ts\"\nexport * from \"./CustomerPicker.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/opt/apps/myparcel4you-web/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { defineComponent, inject } from \"vue\";\nimport NavSidebar from \"@/components/layout/NavSidebar.vue\";\nimport Modal from \"@/components/ui/Modal.vue\";\nimport Keycloak from \"keycloak-js\";\nimport CustomerPicker from \"@/components/ui/CustomerPicker.vue\";\n\nexport default defineComponent({\n name: \"Dashboard\",\n components: { CustomerPicker, Modal, NavSidebar },\n setup() {\n return {\n keycloak: inject(\"keycloak\") as Keycloak.KeycloakInstance,\n };\n },\n data() {\n return {\n showNavigation: 900 < window.innerHeight,\n showLogoutModal: false,\n viewTimestamp: new Date().getTime(),\n };\n },\n methods: {\n handleLogoutConfirmClick(): void {\n this.keycloak.logout();\n },\n refreshView(): void {\n this.viewTimestamp = new Date().getTime();\n },\n },\n});\n","import { render } from \"./Dashboard.vue?vue&type=template&id=fff11518&scoped=true&ts=true\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=ts\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=ts\"\n\nimport \"./Dashboard.vue?vue&type=style&index=0&id=fff11518&scoped=true&lang=scss\"\n\nimport exportComponent from \"/opt/apps/myparcel4you-web/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-fff11518\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-343afe78\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"type\", \"disabled\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_spinner = _resolveComponent(\"spinner\")!\n const _component_icon = _resolveComponent(\"icon\")!\n\n return (_openBlock(), _createElementBlock(\"button\", {\n class: _normalizeClass([\"default-button flex\", {\n [_ctx.injectedClass]: _ctx.injectedClass,\n 'py-4 px-4': !_ctx.injectedClass,\n [_ctx.buttonClass]: _ctx.buttonClass,\n [_ctx.buttonRoleClass]: _ctx.buttonRoleClass,\n }]),\n type: _ctx.buttonRole,\n disabled: _ctx.isLoading || _ctx.disabled\n }, [\n (_ctx.isLoading)\n ? (_openBlock(), _createBlock(_component_spinner, {\n key: 0,\n class: \"w-5\"\n }))\n : _createCommentVNode(\"\", true),\n (!_ctx.isLoading && _ctx.iconName)\n ? (_openBlock(), _createBlock(_component_icon, {\n key: 1,\n name: _ctx.iconName\n }, null, 8, [\"name\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.isLoading)\n ? _renderSlot(_ctx.$slots, \"default\", { key: 2 }, undefined, true)\n : _createCommentVNode(\"\", true)\n ], 10, _hoisted_1))\n}","\nimport { defineComponent } from \"vue\";\nimport Spinner from \"@/components/ui/Spinner.vue\";\nimport Icon from \"@/components/ui/Icon.vue\";\n\nexport default defineComponent({\n name: \"DefaultButton\",\n components: { Icon, Spinner },\n props: {\n type: {\n type: String,\n default: \"default\",\n },\n buttonRole: {\n type: String,\n default: \"button\",\n },\n role: {\n type: String,\n default: \"primary\",\n },\n isLoading: {\n type: Boolean,\n default: false,\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n iconName: {\n type: String,\n default: \"\",\n },\n injectedClass: {\n type: String,\n default: \"\",\n },\n },\n computed: {\n buttonClass(): string {\n switch (this.type) {\n case \"outline\":\n return \"default-button--outline\";\n case \"empty\":\n return \"default-button--empty\";\n default:\n return \"\";\n }\n },\n buttonRoleClass(): string {\n switch (this.role) {\n case \"danger\":\n return \"default-button--danger\";\n default:\n return \"\";\n }\n },\n },\n});\n","import { render } from \"./DefaultButton.vue?vue&type=template&id=343afe78&scoped=true&ts=true\"\nimport script from \"./DefaultButton.vue?vue&type=script&lang=ts\"\nexport * from \"./DefaultButton.vue?vue&type=script&lang=ts\"\n\nimport \"./DefaultButton.vue?vue&type=style&index=0&id=343afe78&scoped=true&lang=scss\"\n\nimport exportComponent from \"/opt/apps/myparcel4you-web/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-343afe78\"]])\n\nexport default __exports__","import axiosClient from \"@/axios\";\nimport { AxiosPromise } from \"axios\";\nimport { AccountDetailsResponse } from \"@/models/AccountDetailsResponse\";\n\nconst accountService = {\n getAccountDetails(): AxiosPromise {\n return axiosClient.get(\"/users/me/account_details\");\n },\n changePassword(newPassword: string): AxiosPromise {\n return axiosClient.put(\"/users/password\", {\n new_password: newPassword,\n });\n },\n};\n\nexport default accountService;\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./DefaultButton.vue?vue&type=style&index=0&id=343afe78&scoped=true&lang=scss\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAiCAQAAAAXU+gKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAALiMAAC4jAXilP3YAAAAHdElNRQfoBBEOLRQbiAbtAAAJvElEQVRo3tXae5xV1XUH8O+58+L9fomgg62CKFEgaorROCgaAppYo0mMVWOiBNTQ+EoVNSbRJto0NkExsTUJijSYhxVLRfP5CPgshQiBoqAoBpiB4TXDAPO8c3f/mMNl7sy914Hy+UzyO//cs/bZa+/9O2uvtfY6N5KJSHFlctDD/k6z7CjwU3cJUfuWAS5ULGWJLeASP1PgRr/OqudEZ4vs84ID/kJR6m7dQlmoCrnxYTglZOs73i5JtaaAyC8Ewa8UZB3pGk2avWd4Zy+540hk3BX6hjtNssyzefoc73qJrHQVKlCkxeiC1+2x12s5bDShUEJhZxNw5JiiSvCiHuGMsD2PbW0PZwTt6BqvWtBkanxfZKzxijOeidKv5yuCYFOGZUUif8Zo/WaHmqUPzvPZ6OmwwDdy9hpsmtWa8mqOfN54jPK+yyW851emKFNshQW2Zzw7ytVKJCy1sLMJ6RgKfF+Ir9f0C6eGP+WxrT3hU+1sK9OyIk8KgvmmCYI3Paox1r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kvXyNuj3AOqc7aOcY/nNDrZF7DDRil7MdD5lknp7jN5c/4aa4xzklv8XpPhLpSwX41a5f7KF71tE05xl2OtMztNTiKqcE9rRYFvm4Al7ohLwq9bb4zrjMR/24v1qvVxtS3KFTrf6VivSrFKI41xneV6uNzYbFM91cm6eyZPFEy6PccyW6LhOyok1UsJkv5JIa5QLahXbrPtVqsVzHIwGs5vs5XOtC6Otw1Sggb3SYjcZp+gyV41koL9btMug29N1qFomDa3fxYkpTT5W9DFbI2CZnVxNlAeh7UbYvuqk7Tem5nRsAXrBCNV5vx8EKnwhHxYaa4vGS6y0xLPSOJZ1T5tmBIHrLTcpbpZiRpzDbC8zVgrXGqK0foo1KDSq16QwmyrlDled5H9NlvqFS2b60Pbsv69ZLUnsbKV5CndXWaA8vjkUW+WpSYYqquUGhst9haYq9JnDJG0wQJjrM1eDznSj+gtlvWkSEKJLm1iSqRAoUSH9R98PsohP1KcrFzwXIYriCQUtgoqh+QZ0mzJwf//1JnK8q0mpN9Mx/SHHJWtcNgVr0Mo0t21hgoWZ8wwtCo7ZY6VERf/gv/FcgS4zgwn4Q3PHUn3Izfn9kip1fRn/f2v1Mc0etE34yTmMPF/+xqQU484eRQAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjQtMDQtMTdUMTQ6NDQ6NDYrMDA6MDDAFKj+AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDI0LTA0LTE3VDE0OjQ0OjQ2KzAwOjAwsUkQQgAAAABJRU5ErkJggg==\"","import { normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"span\", {\n class: _normalizeClass([\"icon\", `icon-${_ctx.name}`])\n }, null, 2))\n}","\nimport { defineComponent } from \"vue\";\n\nexport default defineComponent({\n name: \"Icon\",\n props: {\n name: {\n type: String,\n required: true,\n },\n },\n});\n","import { render } from \"./Icon.vue?vue&type=template&id=48b41e0a&scoped=true&ts=true\"\nimport script from \"./Icon.vue?vue&type=script&lang=ts\"\nexport * from \"./Icon.vue?vue&type=script&lang=ts\"\n\nimport \"./Icon.vue?vue&type=style&index=0&id=48b41e0a&scoped=true&lang=scss\"\n\nimport exportComponent from \"/opt/apps/myparcel4you-web/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-48b41e0a\"]])\n\nexport default __exports__","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Dashboard.vue?vue&type=style&index=0&id=fff11518&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Icon.vue?vue&type=style&index=0&id=48b41e0a&scoped=true&lang=scss\""],"sourceRoot":""}