{"version":3,"sources":["webpack:///./src/popupcomponents/cancelConfirmation/CancelConfirmation.less?9564","webpack:///./src/popupcomponents/cancelConfirmation/CancelConfirmation.vue?62c3","webpack:///./src/popupcomponents/cancelConfirmation/CancelConfirmation.ts","webpack:///./src/popupcomponents/cancelConfirmation/CancelConfirmation.vue?632a","webpack:///./src/popupcomponents/cancelConfirmation/CancelConfirmation.vue?03b7","webpack:///./src/popupcomponents/cancelConfirmation/CancelConfirmation.vue","webpack:///./src/assets/images/account/bell.svg"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","on","$event","closePopup","_m","_v","_s","instructionFor","programsCount","continueCancel","staticRenderFns","CancelConfirmation","objScreenText","ScreenText","isVisible","isElementShowing","UIkit","modal","$el","isToggled","show","hide","util","event","isVisibleSync","$emit","defaultPrevented","key","getScreenText","hasContinueEvent","$router","push","previousRouteDetails","returnTo","programListStore","Vue","tslib_1","Prop","default","PropSync","Watch","immediate","Component","component","module","exports"],"mappings":"iIAAA,W,yCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,2BAA2BC,MAAM,CAAC,GAAK,sBAAsB,WAAW,gBAAgB,CAACH,EAAG,MAAM,CAACE,YAAY,oDAAoD,CAACF,EAAG,MAAM,CAACE,YAAY,wBAAwB,CAACF,EAAG,SAAS,CAACE,YAAY,oCAAoCC,MAAM,CAAC,KAAO,SAAS,UAAU,6BAA6BC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOT,EAAIU,gBAAgB,CAACN,EAAG,MAAM,CAACG,MAAM,CAAC,IAAM,EAAQ,QAA0C,IAAM,UAAUH,EAAG,MAAM,CAACE,YAAY,qBAAqB,CAACF,EAAG,MAAM,CAACE,YAAY,2BAA2B,CAACF,EAAG,MAAM,CAACE,YAAY,OAAO,CAACN,EAAIW,GAAG,GAAGP,EAAG,KAAK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KG,SAEzB,gCAEM,WACLL,IAAMM,KAAKrB,GAAGP,KAAKwB,IAAK,UAAW,SAACK,GAClC,EAAKC,eAAgB,EACrB,EAAKC,MAAM,UAAWF,MAGxBP,IAAMM,KAAKrB,GAAGP,KAAKwB,IAAK,cAAe,SAACK,GACtC,EAAKE,MAAM,gBAAiBF,GAExBA,EAAMG,mBAA2C,IAAvB,EAAKF,gBAC/B,EAAKA,eAAgB,QAG5B,oCAEoBG,GACjB,OAAOjC,KAAKkB,cAAcgB,cAAcD,KAG5C,uCAM0B,cAArBjC,KAAKa,gBAAgCb,KAAKmC,iBAC3CnC,KAAK+B,MAAM,YAGX/B,KAAKoC,QAAQC,KAAKrC,KAAKsC,qBAAqBC,YAE/C,mCAGGvC,KAAK+B,MAAM,gBACd,2CAdG,OAAOS,OAAiBF,yBAC3B,EAtD0B,CAASG,QAIpCC,QADCC,kBAAM,4BAIPD,QADCC,eAAK,CAACC,QAAS,eAAa,qCAI7BF,QADCC,kBAAM,oCAIPD,QADCC,eAAK,CAACC,QAAS,iBAAe,gCAI/BF,QADCC,eAAK,CAAEC,SAAS,KAAQ,uCAGFF,QAAtBG,eAAS,cAAY,oCAGtBH,QADCI,eAAM,YAAa,CAAEC,WAAW,KAAO,gCApB/B9B,EAAkB,QAD9B+B,QACY/B,GC4BEA,QClCgZ,I,wBCQ3ZgC,EAAY,eACd,EACAnD,EACAkB,GACA,EACA,KACA,WACA,MAIa,aAAAiC,E,qDCnBfC,EAAOC,QAAU,IAA0B","file":"js/chunk-0aa02f44.38b058ad07e8848a86ff.1725496708077.min.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./CancelConfirmation.less?vue&type=style&index=0&id=9e79f000&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"uk-flex-top popupwrapper\",attrs:{\"id\":\"cancel-confirmation\",\"uk-modal\":\"stack: true\"}},[_c('div',{staticClass:\"uk-modal-dialog uk-margin-auto-vertical popupbox\"},[_c('div',{staticClass:\"popup-header-content\"},[_c('button',{staticClass:\"cross-icon uk-modal-close-default\",attrs:{\"type\":\"button\",\"bx-attr\":\"duplicate-file-closePopup\"},on:{\"click\":function($event){return _vm.closePopup()}}},[_c('img',{attrs:{\"src\":require(\"../../assets/images/closeIconBlack.svg\"),\"alt\":\"\"}})])]),_c('div',{staticClass:\"popup-context-box\"},[_c('div',{staticClass:\"popup-context-box-inner\"},[_c('div',{staticClass:\"fix\"},[_vm._m(0),_c('h3',[_vm._v(_vm._s(\"Alert!\"))]),(_vm.instructionFor == 'resetTasks')?_c('p',{staticClass:\"info-text\"},[_vm._v(_vm._s(\"You are about to reset the tasks for \")),_c('strong',[_vm._v(_vm._s(_vm.programsCount))]),_vm._v(\" \"+_vm._s(\"programs. Do you want to continue? \"))]):[_c('p',{staticClass:\"info-text\"},[_vm._v(_vm._s(\"You are about to clear the information you have entered.\"))]),_c('p',{staticClass:\"info-ques\"},[_vm._v(_vm._s(\"Do you want to continue? \"))])]],2),_c('div',{staticClass:\"button-wrapper\"},[_c('button',{staticClass:\"btn-secondary mr-8 uk-modal-close-default cancel-btn\",attrs:{\"uk-close\":\"\",\"bx-attr\":\"keepBothFile-button\"},on:{\"click\":function($event){return _vm.closePopup()}}},[_vm._v(_vm._s(\"CANCEL\"))]),_c('button',{staticClass:\"btn-primary ml-8\",attrs:{\"bx-attr\":\"fileReplace-button\"},on:{\"click\":_vm.continueCancel}},[_vm._v(_vm._s(\"CONTINUE\"))])])])])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('figure',[_c('img',{attrs:{\"src\":require(\"../../assets/images/account/bell.svg\"),\"alt\":\"\"}})])}]\n\nexport { render, staticRenderFns }","import { Vue, Component, Prop, PropSync, Watch } from 'vue-property-decorator'\nimport { ScreenText } from '@/lang/ScreenText'\nimport programListStore from \"@/store/modules/programList\";\nimport UIkit from \"uikit\";\n\n@Component\nexport class CancelConfirmation extends Vue {\n private objScreenText: ScreenText = new ScreenText();\n\n @Prop()\n title! : string;\n\n @Prop({default: 'clearInfo'})\n instructionFor!: string\n\n @Prop()\n programsCount!:number\n\n @Prop({default: \"cancelPopup\"})\n component!: string;\n\n @Prop({ default: false })\n hasContinueEvent!: boolean;\n\n @PropSync('isVisible') isVisibleSync !: boolean;\n\n @Watch('isVisible', { immediate: true })\n onIsVisible(isVisible: boolean) {\n const isElementShowing = UIkit.modal(this.$el).isToggled();\n\n if (isVisible && isElementShowing === false) {\n UIkit.modal(this.$el).show();\n }\n else if (isVisible === false && isElementShowing) {\n UIkit.modal(this.$el).hide();\n }\n }\n\n mounted() {\n UIkit.util.on(this.$el, 'hidden', ((event: Event) => {\n this.isVisibleSync = false;\n this.$emit('onClose', event);\n }));\n\n UIkit.util.on(this.$el, 'beforehide', ((event: Event) => {\n this.$emit('onBeforeClose', event);\n\n if (event.defaultPrevented && this.isVisibleSync === false) {\n this.isVisibleSync = true;\n }\n }));\n }\n\n public getScreenText(key: string): string {\n return this.objScreenText.getScreenText(key);\n }\n\n /* istanbul ignore next */\n get previousRouteDetails(){\n return programListStore.previousRouteDetails\n }\n\n continueCancel(){\n if(this.instructionFor==\"resetTasks\" || this.hasContinueEvent){\n this.$emit('continue');\n }\n else{\n this.$router.push(this.previousRouteDetails.returnTo);\n }\n }\n\n closePopup() {\n this.$emit('closePopup');\n }\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { CancelConfirmation } from \"@/popupcomponents/cancelConfirmation/CancelConfirmation\";\nexport default CancelConfirmation;\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/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CancelConfirmation.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CancelConfirmation.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CancelConfirmation.vue?vue&type=template&id=9e79f000&scoped=true&\"\nimport script from \"./CancelConfirmation.vue?vue&type=script&lang=ts&\"\nexport * from \"./CancelConfirmation.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CancelConfirmation.less?vue&type=style&index=0&id=9e79f000&lang=less&scoped=true&\"\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 \"9e79f000\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/bell.3760333b.svg\";"],"sourceRoot":""}