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AIf,iBAAiBO,UAAUQ,EAAIU,GAAG,KAAKT,EAAG,SAAS,CAACW,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOb,EAAIb,YAAY,IAAI,CAACc,EAAG,MAAM,CAACQ,YAAY,UAAUL,MAAM,CAAC,MAAQ,6BAA6B,KAAO,OAAO,QAAU,YAAY,eAAe,MAAM,OAAS,iBAAiB,CAACH,EAAG,OAAO,CAACG,MAAM,CAAC,iBAAiB,QAAQ,kBAAkB,QAAQ,EAAI,gCAAgCJ,EAAIU,GAAG,KAAKT,EAAG,MAAM,CAACQ,YAAY,YAAY,CAACR,EAAG,IAAI,CAACD,EAAIU,GAAGV,EAAIW,GAAGX,EAAIf,iBAAiBQ,YAAYO,EAAIU,GAAG,KAAKT,EAAG,MAAM,CAACQ,YAAY,YAAY,CAAGT,EAAIf,iBAAiB6B,QAA2Tb,EAAG,SAAS,CAACQ,YAAY,WAAWG,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOb,EAAIb,YAAY,IAAI,CAACa,EAAIU,GAAGV,EAAIW,GAAGX,EAAIe,GAAG,aAApa,CAACd,EAAG,SAAS,CAACQ,YAAY,WAAWG,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOb,EAAIb,WAAWa,EAAIf,iBAAiBC,GAAG,IAAI,CAACc,EAAIU,GAAGV,EAAIW,GAAGX,EAAIe,GAAG,gBAAgBf,EAAIU,GAAG,KAAKT,EAAG,SAAS,CAACQ,YAAY,WAAWG,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOb,EAAIN,oBAAoB,IAAI,CAACM,EAAIU,GAAGV,EAAIW,GAAGX,EAAIe,GAAG,mBAAkJ,UACx3C,EACIC,EAAkB,E","sources":["webpack:///./resources/area/web/default/js/components/GlobalModal.vue?b9d6","webpack:///./resources/area/web/default/js/components/GlobalModal.vue?c640","webpack:///./resources/area/web/default/js/components/GlobalModal.vue?5208","webpack:///./resources/area/web/default/js/components/GlobalModal.vue?d5af"],"sourcesContent":["\nimport {Component, Vue} from 'vue-property-decorator';\nimport ServiceContainer from '@flashpointbv/solar-service-container';\nimport 'vue-select/dist/vue-select.css';\n\n@Component({\n name: 'global-modal',\n components: ServiceContainer().getComponents(),\n})\n\nexport default class extends Vue {\n private get getShowModalState(): boolean {\n return this.$store.getters['PreorderIndex/getShowModalState'] || false;\n }\n\n private get getModalSettings(): object {\n return this.$store.getters['PreorderIndex/getModalSettings'] || {id: 0};\n }\n\n private closePopup(id = 0): void {\n if (id === 2) {\n this.$store.dispatch('PreorderIndex/executeModalAction', this.getModalSettings['id']);\n this.$eventBus.$emit('modal-action', this.getModalSettings['id'], 2);\n return;\n }\n\n this.$store.dispatch('PreorderIndex/showModal', false);\n\n setTimeout(() => {\n this.$store.dispatch('PreorderIndex/setModalSettings', {\n id: 0,\n title: '',\n content: ''\n });\n }, 300);\n }\n\n private executeModalAction(): void {\n this.$store.dispatch('PreorderIndex/executeModalAction', this.getModalSettings['id']);\n this.$store.dispatch('PreorderIndex/showModal', false);\n this.$eventBus.$emit('modal-action', this.getModalSettings['id'], 1);\n }\n}\n","import { render, staticRenderFns } from \"./GlobalModal.vue?vue&type=template&id=7721279f&scoped=true&\"\nimport script from \"./GlobalModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./GlobalModal.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./GlobalModal.vue?vue&type=style&index=0&id=7721279f&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 \"7721279f\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-26.use[0]!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GlobalModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-26.use[0]!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GlobalModal.vue?vue&type=script&lang=ts&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('transition',{attrs:{\"name\":\"fade\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.getShowModalState),expression:\"getShowModalState\"}],staticClass:\"modal__holder\"},[_c('div',{staticClass:\"modal-container\",attrs:{\"role\":\"dialog\"}},[_c('div',{staticClass:\"_header\"},[_c('span',[_vm._v(_vm._s(_vm.getModalSettings.title))]),_vm._v(\" \"),_c('button',{on:{\"click\":function($event){return _vm.closePopup()}}},[_c('svg',{staticClass:\"w-6 h-6\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"fill\":\"none\",\"viewBox\":\"0 0 24 24\",\"stroke-width\":\"3.5\",\"stroke\":\"currentColor\"}},[_c('path',{attrs:{\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"d\":\"M6 18L18 6M6 6l12 12\"}})])])]),_vm._v(\" \"),_c('div',{staticClass:\"_content\"},[_c('p',[_vm._v(_vm._s(_vm.getModalSettings.content))]),_vm._v(\" \"),_c('div',{staticClass:\"_actions\"},[(!_vm.getModalSettings.buttons)?[_c('button',{staticClass:\"--button\",on:{\"click\":function($event){return _vm.closePopup(_vm.getModalSettings.id)}}},[_vm._v(_vm._s(_vm.$t('modal-no')))]),_vm._v(\" \"),_c('button',{staticClass:\"--button\",on:{\"click\":function($event){return _vm.executeModalAction()}}},[_vm._v(_vm._s(_vm.$t('modal-yes')))])]:_c('button',{staticClass:\"--button\",on:{\"click\":function($event){return _vm.closePopup()}}},[_vm._v(_vm._s(_vm.$t('close')))])],2)])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"],"names":["Vue","getShowModalState","this","$store","getters","getModalSettings","id","closePopup","dispatch","$eventBus","$emit","setTimeout","title","content","executeModalAction","Component","name","components","getComponents","render","_vm","_c","_self","_setupProxy","attrs","directives","rawName","value","expression","staticClass","_v","_s","on","$event","buttons","$t","staticRenderFns"],"sourceRoot":""}