{"version":3,"sources":["webpack:///./src/views/quote/QuoteRepx.vue","webpack:///./src/views/repx/RepxRepairStages.vue","webpack:///src/views/repx/RepxRepairStages.vue","webpack:///./src/views/repx/RepxRepairStages.vue?1961","webpack:///./src/views/repx/RepxRepairStages.vue?c809","webpack:///src/views/quote/QuoteRepx.vue","webpack:///./src/views/quote/QuoteRepx.vue?23c6","webpack:///./src/views/quote/QuoteRepx.vue?b2e8","webpack:///./src/views/quote/storeMixin.js"],"names":["render","_vm","this","_c","_self","staticClass","_m","on","$event","handleFetch","_v","attrs","handleSync","toggleRepXLogModal","isRepxLogsActive","ref","value","quoteId","handleSaveRepxRepairStages","model","repx","callback","$$v","$set","expression","isVehicleDamageActive","hideFilter","_e","isRepXLogModalActive","animationIn","animationOut","animationDuration","staticRenderFns","$userInfo","isRepx","_l","mappedSteps","step","index","key","class","currentStep","toggleRepXStepModal","_s","stepDate","staticStyle","updateBy","$filters","formatDateTimeLocale","locale","selectedRepXStepItem","isRepXStepModalActive","save","slot","name","components","BaseModalEx","ConfirmModal","mixins","props","data","formats","title","weekdays","navMonths","input","dayPopover","highlight","backgroundColor","popover","label","dates","entity","computed","steps","PAINT","result","stage","reverseSteps","minDate","watch","created","mounted","methods","item","clearStartDate","QuoteId","Stage","actualSave","QuoteService","isSuccess","resetSaveModal","refresh","component","RepxList","RepxRepairStages","QuoteVehicleDamage","id","entities","tabs","selectedTab","isModelActive","saveRepxRepairStages","tabClicked","selected","moduleName","getCompanyItemTypes","getJobStages","getSubJobStages","getJobNSubJobStages","getExternalSetting","mapGetters","returnRoute","snapshots","baseSnapshot","currentSnapshot","snapshotDiff","companyItemTypes","currentVehicleSnapshot","currentCustomerSnapshot","currentInsurerSnapshot","quoteVehicle","quoteCustomer","quoteInsurer","emtaVehicleStore","standardLabourItems","ntarLoadingItems","ntarOtherLoadingItems","ntarLoadingValues","jobStages","subJobStages","jobNSubJobStages","repairDelayReasons","partsCheckSettingExists","readOnlyView","previousQuoteId","audanetLock","snapshotDiffVehicle","snapshotDiffCustomer","snapshotDiffInsurer","partsCheckSetting","mapActions","setInsurerReturnRoute","editStoreInsurer","addStoreInsurer","setVehicleReturnRoute","editStoreVehicle","addStoreVehicle","setPrintPreviewReturnRoute","addEmailer","removeEmailer","addReportParameters","removeReportParameters","beforeRouteLeave","to","from","next","isQuoteRoutes","Object","values","QuoteRoutes","filter","r","QuoteListView","find","resetEmtaVehicle","removeLabourItems"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,mCAAmC,CAACF,EAAG,MAAM,CAACE,YAAY,kBAAkB,CAACF,EAAG,UAAU,CAACE,YAAY,qBAAqB,CAACF,EAAG,MAAM,CAACE,YAAY,sBAAsB,CAACJ,EAAIK,GAAG,GAAGH,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,MAAM,CAACE,YAAY,2BAA2B,CAACF,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACF,EAAG,IAAI,CAACE,YAAY,yBAAyBE,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOP,EAAIQ,iBAAiB,CAACR,EAAIK,GAAG,GAAGH,EAAG,OAAO,CAACF,EAAIS,GAAG,aAAaP,EAAG,SAAS,CAACE,YAAY,iCAAiCM,MAAM,CAAC,eAAe,QAAQJ,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOP,EAAIW,gBAAgB,CAACX,EAAIK,GAAG,GAAGH,EAAG,OAAO,CAACF,EAAIS,GAAG,YAAYP,EAAG,IAAI,CAACE,YAAY,yBAAyBE,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOP,EAAIY,wBAAwB,CAACZ,EAAIK,GAAG,GAAGH,EAAG,OAAO,CAACF,EAAIS,GAAG,0BAA2BT,EAAIa,iBAAkBX,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAA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AAmB,oBACnBC,UAAW,YACXC,aAAc,eACdC,iBAAkB,mBAClBC,mBAAoB,qBACpBC,wBAAyB,0BACzBC,aAAc,eACdC,gBAAiB,kBACjBC,YAAa,cACbC,oBAAqB,sBACrBC,qBAAsB,uBACtBC,oBAAqB,sBACrBC,kBAAmB,uBAElB7B,eAAW,CAAC,oBAEjB5B,QAAS,8EACJ0D,eAAWpC,EAAY,CACxB,OACA,eACA,eACA,4BACA,eACA,iBACA,eACA,iBACA,sBACA,kBACA,gBACA,qBACA,mBACA,iBACA,sBACA,iBACA,iBACA,mBACA,oBACA,iBACA,kBACA,gBACA,kBACA,qBACA,yBACA,sBACA,2BACA,oBACA,uBACA,eACA,kBACA,sBACA,kBACA,qBACA,kBACA,qBACA,iBACA,sBACA,uBACA,sBACA,2BAECoC,eAAW,WAAY,CAAEC,sBAAuB,iBAAkBC,iBAAkB,gBAAiBC,gBAAiB,kBACtHH,eAAW,WAAY,CAAEI,sBAAuB,iBAAkBC,iBAAkB,gBAAiBC,gBAAiB,kBACtHN,eAAW,eAAgB,CAAEO,2BAA4B,iBAAkBC,WAAY,aAAcC,cAAe,mBACpHT,eAAW,eAAgB,CAAEU,oBAAqB,gBAAiBC,uBAAwB,sBAEhGC,iBAAkB,WAAF,4CAAE,WAAgBC,EAAIC,EAAMC,GAA1B,qFAEVC,EAAgBC,OAAOC,OAAOC,QACjCC,QAAO,SAACC,GAAD,OAAOA,EAAE5G,OAAS0G,OAAYG,cAAc7G,QACnD8G,MAAK,SAACF,GAAD,OAAOA,EAAE5G,OAASoG,EAAGpG,QACxBuG,IACH3J,KAAKmK,mBACLnK,KAAKoK,qBAEPV,IATgB,gDAAF,0DAAE","file":"static/js/quote-repx-chunk.2c7cc976.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"tile is-ancestor is-parent pl-0\"},[_c('div',{staticClass:\"tile is-parent\"},[_c('article',{staticClass:\"tile is-child box\"},[_c('div',{staticClass:\"columns is-gapless\"},[_vm._m(0),_c('div',{staticClass:\"column\"},[_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control is-pulled-right\"},[_c('div',{staticClass:\"is-pulled-right\"},[_c('a',{staticClass:\"button is-primary ml-3\",on:{\"click\":function($event){return _vm.handleFetch()}}},[_vm._m(1),_c('span',[_vm._v(\"Fetch\")])]),_c('button',{staticClass:\"button is-success tooltip ml-3\",attrs:{\"data-tooltip\":\"Sync\"},on:{\"click\":function($event){return _vm.handleSync()}}},[_vm._m(2),_c('span',[_vm._v(\"Sync\")])]),_c('a',{staticClass:\"button is-primary ml-3\",on:{\"click\":function($event){return _vm.toggleRepXLogModal()}}},[_vm._m(3),_c('span',[_vm._v(\"View Log\")])])])])])])]),(_vm.isRepxLogsActive)?_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-one-fifth\"},[_c('repx-repair-stages',{ref:\"repxRepairStages\",attrs:{\"quote-id\":_vm.value.quoteId},on:{\"save\":_vm.handleSaveRepxRepairStages},model:{value:(_vm.value.repx),callback:function ($$v) {_vm.$set(_vm.value, \"repx\", $$v)},expression:\"value.repx\"}})],1),_c('div',{staticClass:\"column\"},[_c('quote-vehicle-damage',{ref:\"quoteVehicleDamageRef\",attrs:{\"quote-id\":_vm.value.quoteId}})],1),(_vm.isVehicleDamageActive)?_c('div',{staticClass:\"column\"},[_c('repx-list',{attrs:{\"hide-filter\":_vm.hideFilter,\"quote-id\":_vm.value.quoteId}})],1):_vm._e()]):_vm._e()])]),(_vm.value && _vm.isRepXLogModalActive)?_c('base-modal-ex',{attrs:{\"active\":_vm.isRepXLogModalActive,\"animation-in\":_vm.animationIn,\"animation-out\":_vm.animationOut,\"animation-duration\":_vm.animationDuration,\"can-cancel\":false,\"min-width\":80,\"min-height\":85,\"has-modal-card\":\"\"},on:{\"update:active\":function($event){_vm.isRepXLogModalActive=$event},\"cancel\":function($event){return _vm.toggleRepXLogModal()}}},[_c('header',{staticClass:\"modal-card-head\"},[_c('p',{staticClass:\"modal-card-title\"},[_c('span',[_vm._v(\"RepX Log\")])])]),_c('section',{staticClass:\"modal-card-body\"},[_c('repx-list',{attrs:{\"hide-filter\":_vm.hideFilter,\"quote-id\":_vm.value.quoteId}})],1),_c('footer',{staticClass:\"modal-card-foot is-flex is-justify-content-flex-end\"},[_c('div',{staticClass:\"buttons\"},[_c('button',{staticClass:\"button tooltip\",attrs:{\"data-tooltip\":\"Close\"},on:{\"click\":function($event){return _vm.toggleRepXLogModal()}}},[_c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"mdi mdi-20px mdi-close\"})]),_c('span',[_vm._v(\"Close\")])])])])]):_vm._e()],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"column\"},[_c('p',{staticClass:\"title\"},[_vm._v(\"RepX\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"mdi mdi-cloud-download mdi-18px\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"mdi mdi-sync mdi-20px\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"mdi mdi-18px mdi-eye\"})])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.$userInfo && _vm.isRepx != null )?_c('div',[_c('div',{staticClass:\"tile is-parent\"},[_c('div',{staticClass:\"tile is-child detail-page-tile\"},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column\"},[_vm._m(0),_c('ul',{staticClass:\"steps is-vertical is-narrow is-centered has-content-centered\"},_vm._l((_vm.mappedSteps),function(step,index){return _c('li',{key:index,staticClass:\"steps-segment\",class:{ 'is-active': index == _vm.currentStep }},[_c('a',{staticClass:\"has-text-dark\",attrs:{\"href\":\"#\"}},[_c('span',{staticClass:\"steps-marker\",on:{\"click\":function($event){return _vm.toggleRepXStepModal(step, index)}}},[_vm._v(\" \"+_vm._s(index)+\" \")]),_c('div',{staticClass:\"steps-content\"},[_c('p',{staticClass:\"heading\"},[_c('b',[_vm._v(_vm._s(step.step))])]),(step.stepDate != null)?_c('p',{staticClass:\"tags has-addons\",staticStyle:{\"width\":\"max-content\"}},[(step.updateBy!=null)?_c('span',{staticClass:\"tag is-dark\"},[_vm._v(_vm._s(step.updateBy))]):_vm._e(),_c('span',{staticClass:\"tag is-success\"},[_vm._v(_vm._s(_vm.$filters.formatDateTimeLocale(step.stepDate, _vm.$userInfo.locale)))])]):_vm._e()])])])}),0),(_vm.selectedRepXStepItem && _vm.isRepXStepModalActive)?_c('confirm-modal',{attrs:{\"active\":_vm.isRepXStepModalActive,\"ok-text\":'Yes',\"cancel-text\":'No'},on:{\"update:active\":function($event){_vm.isRepXStepModalActive=$event},\"ok\":function($event){return _vm.save()},\"cancel\":function($event){return _vm.toggleRepXStepModal(false)}},model:{value:(_vm.selectedRepXStepItem),callback:function ($$v) {_vm.selectedRepXStepItem=$$v},expression:\"selectedRepXStepItem\"}},[_c('p',{attrs:{\"slot\":\"text-title\"},slot:\"text-title\"},[_vm._v(\"Job Status - \"+_vm._s(_vm.selectedRepXStepItem.step))]),_c('p',{attrs:{\"slot\":\"text-content\"},slot:\"text-content\"},[_c('strong',[_vm._v(_vm._s(_vm.selectedRepXStepItem.step))]),_vm._v(\" job will be update to completed. Continue? \")])]):_vm._e(),(false)?_c('base-modal-ex',{attrs:{\"min-height\":55,\"min-width\":30,\"active\":_vm.isRepXStepModalActive,\"can-cancel\":false,\"has-modal-card\":\"\",\"name\":\"RepXStepModal\"},on:{\"update:active\":function($event){_vm.isRepXStepModalActive=$event},\"cancel\":function($event){return _vm.toggleRepXStepModal(null)}}},[_c('header',{staticClass:\"modal-card-head\"},[_c('p',{staticClass:\"modal-card-title\"},[_c('span',[_vm._v(\"Job Status\")])])]),_c('section',{staticClass:\"modal-card-body\"},[_c('pre',[_vm._v(_vm._s(_vm.selectedRepXStepItem))]),_c('label',{staticClass:\"label\"},[_vm._v(_vm._s(_vm.selectedRepXStepItem.step))]),_c('v-date-picker',{ref:\"datepicker\",staticClass:\"is-fullwidth\",attrs:{\"mode\":\"dateTime\",\"minute-increment\":30,\"masks\":_vm.formats,\"attributes\":_vm.attrs,\"locale\":_vm.$userInfo.locale,\"model-config\":_vm.selectedRepXStepItem,\"timezone\":_vm.$filters.getIanaTimezone(),\"min-date\":_vm.minDate},scopedSlots:_vm._u([{key:\"default\",fn:function({ inputValue, inputEvents }){return [_c('div',{staticClass:\"field has-addons\"},[_c('div',{staticClass:\"control is-expanded has-icons-left\"},[_c('input',_vm._g({ref:\"stepDate\",staticClass:\"input\",attrs:{\"type\":\"text\",\"placeholder\":_vm.selectedRepXStepItem.step,\"readonly\":\"\"},domProps:{\"value\":inputValue}},inputEvents)),_c('span',{staticClass:\"icon is-small is-left\"},[_c('i',{staticClass:\"mdi mdi-calendar mdi-18px\"})])]),_c('div',{staticClass:\"control\"},[_c('a',{staticClass:\"button tooltip\",attrs:{\"data-tooltip\":\"Reset dates\"},on:{\"click\":function($event){return _vm.clearStartDate('stepDate')}}},[_c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"mdi mdi-close mdi-24px\"})])])])])]}}],null,false,3253090168),model:{value:(_vm.selectedRepXStepItem.stepDate),callback:function ($$v) {_vm.$set(_vm.selectedRepXStepItem, \"stepDate\", $$v)},expression:\"selectedRepXStepItem.stepDate\"}})],1),_c('footer',{staticClass:\"modal-card-foot is-flex is-justify-content-flex-end\"},[_c('div',{staticClass:\"buttons\"},[_c('button',{staticClass:\"button is-success tooltip\",attrs:{\"data-tooltip\":\"Save\"},on:{\"click\":_vm.save}},[_c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"mdi mdi-content-save mdi-20px\"})]),_c('span',[_vm._v(\"Save\")])]),_c('button',{staticClass:\"button tooltip\",attrs:{\"data-tooltip\":\"Close\"},on:{\"click\":function($event){return _vm.toggleRepXStepModal(null)}}},[_c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"mdi mdi-20px mdi-close\"})]),_c('span',[_vm._v(\"Close\")])])])])]):_vm._e()],1)])])])]):_vm._e()\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"header\"},[_c('div',[_c('span',{staticClass:\"subtitle is-inline-block\"},[_vm._v(\"Job Status\")])])])\n}]\n\nexport { render, staticRenderFns }","\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!./RepxRepairStages.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!./RepxRepairStages.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./RepxRepairStages.vue?vue&type=template&id=1d15dde4\"\nimport script from \"./RepxRepairStages.vue?vue&type=script&lang=js\"\nexport * from \"./RepxRepairStages.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","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!./QuoteRepx.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!./QuoteRepx.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./QuoteRepx.vue?vue&type=template&id=869f60e2\"\nimport script from \"./QuoteRepx.vue?vue&type=script&lang=js\"\nexport * from \"./QuoteRepx.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 { mapGetters, mapActions } from 'vuex'\nimport QuoteRoutes from './route-types'\n\nconst moduleName = 'quotes'\n\nexport default {\n created() {\n this.getCompanyItemTypes()\n this.getJobStages() // Store job stages in vuex\n // this.getExternalSetting('partscheck')\n this.getSubJobStages() // Store job stages in vuex\n this.getJobNSubJobStages()\n this.getExternalSetting('partscheck')\n // if (this.$route.name !== QuoteRoutes.QuoteListView.name && this.value) {\n // console.log('get vvvv')\n // this.getQuoteVehicle(this.value.vehicleId)\n // }\n },\n computed: {\n ...mapGetters(moduleName, {\n returnRoute: 'returnRoute',\n snapshots: 'snapshots',\n baseSnapshot: 'baseSnapshot',\n currentSnapshot: 'currentSnapshot',\n snapshotDiff: 'snapshotDiff',\n companyItemTypes: 'companyItemTypes',\n currentVehicleSnapshot: 'currentVehicleSnapshot',\n currentCustomerSnapshot: 'currentCustomerSnapshot',\n currentInsurerSnapshot: 'currentInsurerSnapshot',\n quoteVehicle: 'quoteVehicle',\n quoteCustomer: 'quoteCustomer',\n quoteInsurer: 'quoteInsurer',\n emtaVehicleStore: 'emtaVehicle',\n standardLabourItems: 'standardLabourItems',\n ntarLoadingItems: 'ntarLoadingItems',\n ntarOtherLoadingItems: 'ntarOtherLoadingItems',\n ntarLoadingValues: 'ntarLoadingValues',\n jobStages: 'jobStages',\n subJobStages: 'subJobStages',\n jobNSubJobStages: 'jobNSubJobStages',\n repairDelayReasons: 'repairDelayReasons',\n partsCheckSettingExists: 'partsCheckSettingExists',\n readOnlyView: 'readOnlyView',\n previousQuoteId: 'previousQuoteId',\n audanetLock: 'audanetLock',\n snapshotDiffVehicle: 'snapshotDiffVehicle',\n snapshotDiffCustomer: 'snapshotDiffCustomer',\n snapshotDiffInsurer: 'snapshotDiffInsurer',\n partsCheckSetting: 'partsCheckSetting'\n }),\n ...mapGetters(['licenceExpired'])\n },\n methods: {\n ...mapActions(moduleName, [\n 'load',\n 'getStoreItem',\n 'addStoreItem',\n 'addStoreSupplementaryItem',\n 'saveSnapshot',\n 'clearSnapshots',\n 'clearHeaders',\n 'setReturnRoute',\n 'getCompanyItemTypes',\n 'getQuoteVehicle',\n 'getNewVehicle',\n 'removeQuoteVehicle',\n 'getQuoteCustomer',\n 'getNewCustomer',\n 'removeQuoteCustomer',\n 'getEmtaVehicle',\n 'setEmtaVehicle',\n 'resetEmtaVehicle',\n 'clearInvoiceState',\n 'copyStoreQuote',\n 'getQuoteInsurer',\n 'getNewInsurer',\n 'setQuoteInsurer',\n 'removeQuoteInsurer',\n 'getStandardLabourItems',\n 'getNtarLoadingItems',\n 'getNtarOtherLoadingItems',\n 'removeLabourItems',\n 'getNtarLoadingValues',\n 'getJobStages',\n 'getSubJobStages',\n 'getJobNSubJobStages',\n 'removeJobStages',\n 'getExternalSetting',\n 'setReadOnlyView',\n 'setPreviousQuoteId',\n 'setAudaNetLock',\n 'saveVehicleSnapshot',\n 'saveCustomerSnapshot',\n 'saveInsurerSnapshot',\n 'resetJobNSubJobStages'\n ]),\n ...mapActions('insurers', { setInsurerReturnRoute: 'setReturnRoute', editStoreInsurer: 'editStoreItem', addStoreInsurer: 'addStoreItem' }),\n ...mapActions('vehicles', { setVehicleReturnRoute: 'setReturnRoute', editStoreVehicle: 'editStoreItem', addStoreVehicle: 'addStoreItem' }),\n ...mapActions('printpreview', { setPrintPreviewReturnRoute: 'setReturnRoute', addEmailer: 'addEmailer', removeEmailer: 'removeEmailer' }),\n ...mapActions('printpreview', { addReportParameters: 'addParameters', removeReportParameters: 'removeParameters' })\n },\n beforeRouteLeave: async function (to, from, next) {\n // remove quote vehicle, customer & insurer vuex objects when leaving quote pages\n const isQuoteRoutes = Object.values(QuoteRoutes)\n .filter((r) => r.name !== QuoteRoutes.QuoteListView.name)\n .find((r) => r.name === to.name)\n if (!isQuoteRoutes) {\n this.resetEmtaVehicle()\n this.removeLabourItems()\n }\n next()\n }\n}\n"],"sourceRoot":""}