{"version":3,"sources":["webpack:///./src/views/Flow/Step6AppointmentInfoUpdate/Step6AppointmentInfoUpdate.vue?dc51","webpack:///./src/views/Flow/Step6AppointmentInfoUpdate/Step6AppointmentInfoUpdate.controller.js","webpack:///./src/views/Flow/Step6AppointmentInfoUpdate/Step6AppointmentInfoUpdate.controller.js?2fc3","webpack:///./src/views/Flow/Step6AppointmentInfoUpdate/Step6AppointmentInfoUpdate.vue","webpack:///./src/views/Flow/Step6AppointmentInfoUpdate/Step6AppointmentInfoUpdate.styles.scss?6855"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","$gettext","on","goToPreviousStep","directives","name","rawName","_v","class","loadingState","isValidAppointment","$event","moveAppointment","staticRenderFns","components","AppointmentOverview","Title","DateTimePicker","PersonalDataForm","Remark","ServiceCenterPicker","props","data","computed","mapGetters","customerDataRaw","appointmentUpdateObject","methods","mapActions","updateAppointment","mapMutations","setCat","$router","push","object","then","validationFlow","validateStep6AppointmentInfo","catch","router","component"],"mappings":"yHAAA,I,EAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,QAAQ,CAACG,MAAM,CAAC,kBAAoBP,EAAIQ,SAAS,4BAA4BC,GAAG,CAAC,yBAAyBT,EAAIU,mBAAmB,CAACN,EAAG,KAAK,CAACO,WAAW,CAAC,CAACC,KAAK,YAAYC,QAAQ,iBAAiB,CAACb,EAAIc,GAAG,sBAAsBV,EAAG,IAAI,CAACO,WAAW,CAAC,CAACC,KAAK,YAAYC,QAAQ,gBAAgBP,YAAY,UAAU,CAACN,EAAIc,GAAG,6BAA6BV,EAAG,IAAI,CAACO,WAAW,CAAC,CAACC,KAAK,YAAYC,QAAQ,gBAAgBP,YAAY,UAAU,CAACN,EAAIc,GAAG,oBAAoBV,EAAG,KAAK,CAACE,YAAY,mBAAmBF,EAAG,s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D,EACAqB,GACA,EACA,KACA,KACA,MAIa,aAAA2B,E,2CCnBf,yBAAgd,EAAG,G","file":"js/chunk-20d20916.d838ece3.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"l-container\"},[_c('Title',{attrs:{\"previousStepTitle\":_vm.$gettext('Step 6 - Previous title')},on:{\"on-go-to-previous-step\":_vm.goToPreviousStep}},[_c('h1',{directives:[{name:\"translate\",rawName:\"v-translate\"}]},[_vm._v(\"Step 6 - Title\")])]),_c('p',{directives:[{name:\"translate\",rawName:\"v-translate\"}],staticClass:\"u-hide\"},[_vm._v(\"Step 6 - Previous title\")]),_c('p',{directives:[{name:\"translate\",rawName:\"v-translate\"}],staticClass:\"u-hide\"},[_vm._v(\"Step 6 - Title\")]),_c('hr',{staticClass:\"hr--full-width\"}),_c('ServiceCenterPicker',{attrs:{\"isUpdate\":true,\"disabled\":true}}),_c('hr'),_c('DateTimePicker',{attrs:{\"isUpdate\":true,\"skipReserve\":true}}),_c('hr'),_c('div',{staticClass:\"a-button__flow-container\"},[_c('div',{staticClass:\"a-button a-button--primary u-full-width u-margin-bottom-3x\",class:{ 'a-button--is-loading': _vm.loadingState, 'a-button--disabled': !_vm.isValidAppointment },on:{\"click\":function($event){return _vm.moveAppointment()}}},[_c('span',{directives:[{name:\"translate\",rawName:\"v-translate\"}]},[_vm._v(\"Update - Appointment\")]),_c('div',{staticClass:\"a-spinner\"})])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import {\r\n AppointmentOverview,\r\n Title,\r\n DateTimePicker,\r\n PersonalDataForm,\r\n Remark,\r\n ServiceCenterPicker,\r\n} from '@/components';\r\n\r\nimport router from '@/router';\r\n\r\nimport validationFlow from '@/validation-flow';\r\n\r\nimport {\r\n mapGetters,\r\n mapMutations,\r\n mapActions,\r\n} from 'vuex';\r\n\r\nexport default {\r\n name: 'step6AppointmentInfoUpdate',\r\n components: {\r\n [AppointmentOverview.name]: AppointmentOverview,\r\n [Title.name]: Title,\r\n [DateTimePicker.name]: DateTimePicker,\r\n [PersonalDataForm.name]: PersonalDataForm,\r\n [Remark.name]: Remark,\r\n [ServiceCenterPicker.name]: ServiceCenterPicker,\r\n },\r\n props: {},\r\n data: () => ({}),\r\n computed: {\r\n ...mapGetters('appointment', {\r\n customerDataRaw: 'getCustomerDataRaw',\r\n loadingState: 'getLoadingState',\r\n isValidAppointment: 'getIsValidAppointment',\r\n appointmentUpdateObject: 'getAppointmentUpdateObject',\r\n }),\r\n },\r\n methods: {\r\n ...mapActions('appointment', {\r\n updateAppointment: 'UPDATE_APPOINTMENT',\r\n }),\r\n ...mapMutations('appointment', {\r\n setCat: 'SET_CAT',\r\n }),\r\n goToPreviousStep() {\r\n this.$router.push({\r\n name: 'hasAppointment',\r\n });\r\n },\r\n moveAppointment() {\r\n if (this.isValidAppointment && !this.loadingState) {\r\n this.setCat('depot');\r\n const object = this.appointmentUpdateObject;\r\n this.updateAppointment(object)\r\n .then(() => {\r\n validationFlow.validateStep6AppointmentInfo();\r\n }).catch(() => {\r\n router.push({\r\n name: 'error',\r\n });\r\n });\r\n }\r\n },\r\n },\r\n};\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/eslint-loader/index.js??ref--13-0!./Step6AppointmentInfoUpdate.controller.js?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/eslint-loader/index.js??ref--13-0!./Step6AppointmentInfoUpdate.controller.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Step6AppointmentInfoUpdate.vue?vue&type=template&id=5a2ba50c&\"\nimport script from \"./Step6AppointmentInfoUpdate.controller.js?vue&type=script&lang=js&\"\nexport * from \"./Step6AppointmentInfoUpdate.controller.js?vue&type=script&lang=js&\"\nimport style0 from \"./Step6AppointmentInfoUpdate.styles.scss?vue&type=style&index=0&lang=scss&\"\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 mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./Step6AppointmentInfoUpdate.styles.scss?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./Step6AppointmentInfoUpdate.styles.scss?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}