{"version":3,"sources":["webpack:///./src/components/DynamicConfirmation/Templates lazy ^\\.\\/Template.*\\.vue$ namespace object","webpack:///./src/views/Confirmation/Confirmation.vue?2c60","webpack:///./src/components/DynamicConfirmation/DynamicConfirmation.vue?d92e","webpack:///./src/components/DynamicConfirmation/DynamicConfirmation.ts","webpack:///./src/components/DynamicConfirmation/DynamicConfirmation.ts?530a","webpack:///./src/components/DynamicConfirmation/DynamicConfirmation.vue","webpack:///./src/views/Confirmation/Confirmation.ts","webpack:///./src/views/Confirmation/Confirmation.ts?6365","webpack:///./src/views/Confirmation/Confirmation.vue","webpack:///./src/views/Confirmation/Confirmation.scss?eeb8"],"names":["map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","keys","Object","module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","suName","showOrderConfirmationMessage","medColoOrPharFit","isInclusion","isProFit","confirmationMessage","isDoctor","isPharmacist","inclusionType","on","downloadFile","directives","name","rawName","value","expression","_v","_s","$t","staticRenderFns","component","tag","$event","$emit","slot","showFollowup","_e","DynamicConfirmation","_Vue","_this","_classCallCheck","_inherits","_createClass","key","_this2","loader","catch","get","suUcFirst","charAt","toUpperCase","slice","concat","Vue","__decorate","Prop","default","Component","components","Contact","Confirmation","roleParticipant","McsisRole","Participant","LocalStoreService","getItem","localItemKeys","store","state","undefined","$route","query","mustOrderFit","toString","toLowerCase","$isInRole","_ref","_asyncToGenerator","regeneratorRuntime","mark","_callee","isInRole","wrap","_context","prev","next","ParticipantService","logout","clearProData","isAuthenticated","Doctor","sent","Pharmacist","stop","_x","apply","arguments","filename","followUpFilename","fileString","blobPdf","BlobConverter","b64toBlob","window","navigator","msSaveOrOpenBlob","msSaveBlob","url","URL","createObjectURL","link","document","createElement","setAttribute","style","display","body","appendChild","click","removeChild","mutations","setIsDossierOpened","setIsProFit","deleteItem","dossierId","params","screening"],"mappings":"mGAAA,IAAIA,EAAM,CACT,8BAA+B,CAC9B,OACA,kBAED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AWN,EAASH,OAXC,CACtC,IAAMU,EAAMJ,OAAOK,IAAIC,gBAAgBT,GACjCU,EAAOC,SAASC,cAAc,KAEpCF,EAAKG,aAAa,OAAQN,GAC1BG,EAAKG,aAAa,WAAYhB,GAC9Ba,EAAKI,MAAMC,QAAU,OACrBJ,SAASK,KAAKC,YAAYP,GAC1BA,EAAKQ,QACLP,SAASK,KAAKG,YAAYT,QAQlC,CAAAnE,IAAA,eAAAnB,MAAA,WAKEgG,OAAUC,oBAAmB,GAC7BD,OAAUE,aAAY,GACtB1D,OAAkB2D,WAAW3D,OAAkBE,cAAchD,eAC7D8C,OAAkB2D,WAAW3D,OAAkBE,cAAc0D,aAG/D,CAAAjF,IAAA,gBAAAnB,MAAA,WAIE,IAAMyE,EAAWjC,OAAkBC,QAAQD,OAAkBE,cAAcgC,kBACvED,IACFjC,OAAkB2D,WAAW1B,GAC7BjC,OAAkB2D,WAAW3D,OAAkBE,cAAcgC,qBAEhE,CAAAvD,IAAA,SAAAI,IAAA,WArGqB,OAAO5C,KAAKmE,OAAOuD,OAAOC,YAAY,CAAAnF,IAAA,mBAAAI,IAAA,WAmD1D,OAAQ5C,KAAKa,WAAab,KAAKW,UAC5BX,KAAKc,cAAgBd,KAAKW,aAC9B8C,EA/D8B,CAASP,QAArBO,EAAYN,eAAA,CALhCG,eAAU,CACTC,WAAY,CACVrB,0BAGiBuB,WCbwQ,ICQzR,G,UAAY,eACd,EACA3D,EACA4B,GACA,EACA,KACA,KACA,OAIa,e,kECnBf,yBAAya,EAAG","file":"js/chunk-6d4a0535.js","sourcesContent":["var map = {\n\t\"./TemplateBb/TemplateBb.vue\": [\n\t\t\"74af\",\n\t\t\"chunk-2d0d70b8\"\n\t],\n\t\"./TemplateBe/TemplateBe.vue\": [\n\t\t\"dc94\",\n\t\t\"chunk-a0fc27de\"\n\t],\n\t\"./TemplateDefault/TemplateDefault.vue\": [\n\t\t\"391f\",\n\t\t\"chunk-8463c532\"\n\t],\n\t\"./TemplateSo/TemplateSo.vue\": [\n\t\t\"45a9\",\n\t\t\"chunk-71ba4fec\"\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"8591\";\nmodule.exports = webpackAsyncContext;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fullpage-wrapper\"},[_c('div',{staticClass:\"confirmation-template\"},[_c('DynamicConfirmation',{attrs:{\"su-name\":_vm.suName,\"show-order-confirmation-message\":_vm.showOrderConfirmationMessage,\"show-followup\":_vm.medColoOrPharFit,\"is-inclusion\":_vm.isInclusion,\"is-pro-fit\":_vm.isProFit,\"confirmation-message\":_vm.confirmationMessage,\"is-doctor\":_vm.isDoctor,\"is-pharmacist\":_vm.isPharmacist,\"inclusion-type\":_vm.inclusionType},on:{\"download-file\":_vm.downloadFile,\"download-file-custom\":_vm.downloadFile}})],1),_c('div',{directives:[{name:\"hide-by-role\",rawName:\"v-hide-by-role\",value:(_vm.roleParticipant),expression:\"roleParticipant\"}],staticClass:\"row bottom-actions\"},[_c('div',{staticClass:\"bottom-buttons\"},[_c('router-link',{staticClass:\"button button-next\",attrs:{\"to\":{ name: 'login' }}},[_vm._v(_vm._s(_vm.$t('confirmation.openOtherDossier')))])],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.component)?_c(_vm.component,{tag:\"component\",attrs:{\"show-order-confirmation-message\":_vm.showOrderConfirmationMessage,\"is-inclusion\":_vm.isInclusion,\"is-pro-fit\":_vm.isProFit,\"confirmation-message\":_vm.confirmationMessage,\"is-doctor\":_vm.isDoctor,\"is-pharmacist\":_vm.isPharmacist,\"inclusion-type\":_vm.inclusionType},on:{\"download-file-custom\":function($event){return _vm.$emit('download-file-custom')}}},[_c('div',{attrs:{\"slot\":\"followup\"},slot:\"followup\"},[(_vm.isInclusion && _vm.showFollowup)?_c('button',{staticClass:\"button button-download reversed\",on:{\"click\":function($event){return _vm.$emit('download-file')}}},[_vm._v(_vm._s(_vm.$t('confirmation.downloadFile')))]):_vm._e()]),_c('Contact',{attrs:{\"slot\":\"contact\"},slot:\"contact\"})],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport Contact from '@/components/Contact/Contact';\r\n\r\n@Component({\r\n components: {\r\n Contact,\r\n },\r\n})\r\nexport default class DynamicConfirmation extends Vue {\r\n @Prop({ default: 'default' })\r\n public suName!: string;\r\n @Prop({ default: false })\r\n public showOrderConfirmationMessage!: boolean;\r\n @Prop({ default: false })\r\n public showFollowup!: boolean;\r\n @Prop({ default: false })\r\n public isInclusion!: boolean;\r\n @Prop({ default: false })\r\n public isProFit!: boolean;\r\n @Prop({ default: '' })\r\n public confirmationMessage!: string;\r\n // Props useful to personnalize the confirmation template\r\n @Prop({ default: false })\r\n public isDoctor!: boolean;\r\n @Prop({ default: false })\r\n public isPharmacist!: boolean;\r\n @Prop({ default: '' })\r\n public inclusionType!: string;\r\n\r\n // The component we want to load\r\n public component: any = null;\r\n\r\n get loader() {\r\n if (!this.suName) {\r\n return () => import('./Templates/TemplateDefault/TemplateDefault.vue');\r\n }\r\n // Get the first letter of su in upper case and import the component\r\n const suUcFirst = this.suName.charAt(0).toUpperCase() + this.suName.slice(1);\r\n return () => import(`./Templates/Template${suUcFirst}/Template${suUcFirst}.vue`);\r\n }\r\n\r\n protected mounted() {\r\n this.loader()\r\n .then(() => {\r\n this.component = () => this.loader();\r\n })\r\n .catch(() => {\r\n // In case the SU doesn't have a specific template, we load the default one\r\n this.component = () => import('./Templates/TemplateDefault/TemplateDefault.vue');\r\n });\r\n }\r\n}\r\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!./DynamicConfirmation.ts?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!./DynamicConfirmation.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DynamicConfirmation.vue?vue&type=template&id=1ff57e66&\"\nimport script from \"./DynamicConfirmation.ts?vue&type=script&lang=ts&\"\nexport * from \"./DynamicConfirmation.ts?vue&type=script&lang=ts&\"\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 { Component, Vue } from 'vue-property-decorator';\r\nimport LocalStoreService from '@/store/local.store';\r\nimport BlobConverter from '@/utils/blobconverter';\r\nimport { McsisRole } from '@/models/constants/McsisRole';\r\nimport ParticipantService from '@/services/participant.service';\r\nimport { store, mutations } from '@/store/store';\r\nimport DynamicConfirmation from '@/components/DynamicConfirmation/DynamicConfirmation.vue';\r\n\r\n@Component({\r\n components: {\r\n DynamicConfirmation,\r\n },\r\n})\r\nexport default class Confirmation extends Vue {\r\n public confirmationMessage: string = '';\r\n public isInclusion: boolean = false;\r\n public roleParticipant: string = McsisRole[McsisRole.Participant];\r\n public showOrderConfirmationMessage: boolean = false;\r\n public isProFit: boolean = false;\r\n public isDoctor: boolean = false;\r\n public isPharmacist: boolean = false;\r\n public inclusionType: string = '';\r\n\r\n public get suName() { return this.$route.params.screening; }\r\n\r\n protected mounted() {\r\n this.inclusionType = LocalStoreService.getItem(LocalStoreService.localItemKeys.inclusionType);\r\n this.isProFit = store.state.isProFit;\r\n\r\n\r\n if (this.$route.query.mustOrderFit !== undefined &&\r\n this.$route.query.mustOrderFit.toString().toLowerCase() === 'true') {\r\n this.showOrderConfirmationMessage = true;\r\n }\r\n\r\n switch (this.inclusionType) {\r\n case 'Inclusion':\r\n this.confirmationMessage = 'confirmation.inclusion';\r\n this.isInclusion = true;\r\n break;\r\n case 'Exclusion':\r\n this.confirmationMessage = 'confirmation.exclusion';\r\n break;\r\n case 'Advice':\r\n this.confirmationMessage = 'confirmation.advice';\r\n break;\r\n default:\r\n this.confirmationMessage = 'confirmation.refusal';\r\n break;\r\n }\r\n\r\n this.$isInRole(McsisRole.Participant).then(async (isInRole: boolean) => {\r\n if (isInRole) {\r\n ParticipantService.logout();\r\n } else {\r\n // We do not logout the pro user so he can easily open an other dossier\r\n this.clearProData();\r\n\r\n if (store.state.isAuthenticated) {\r\n this.isDoctor = await this.$isInRole(McsisRole.Doctor);\r\n this.isPharmacist = await this.$isInRole(McsisRole.Pharmacist);\r\n }\r\n\r\n if (this.medColoOrPharFit) {\r\n this.downloadFile();\r\n }\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * Show print follow up button only when doctor-colo or pharmacist-FIT\r\n */\r\n get medColoOrPharFit() {\r\n return (this.isDoctor && !this.isProFit) ||\r\n (this.isPharmacist && this.isProFit);\r\n }\r\n\r\n /**\r\n * Download the follow-up only if we already have a filename and it's an inclusion.\r\n */\r\n protected downloadFile(): void {\r\n const filename = LocalStoreService.getItem(LocalStoreService.localItemKeys.followUpFilename);\r\n if (filename) {\r\n const fileString = LocalStoreService.getItem(filename);\r\n if (fileString) {\r\n const blobPdf = BlobConverter.b64toBlob(fileString, 'application/pdf');\r\n if (!window.navigator.msSaveOrOpenBlob) {\r\n const url = window.URL.createObjectURL(blobPdf);\r\n const link = document.createElement('a');\r\n\r\n link.setAttribute('href', url);\r\n link.setAttribute('download', filename);\r\n link.style.display = 'none';\r\n document.body.appendChild(link);\r\n link.click();\r\n document.body.removeChild(link);\r\n } else {\r\n window.navigator.msSaveBlob(blobPdf, filename);\r\n }\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Clear data from the pro user. It clears the inclusion type and opened dossier,\r\n * and reset isDossierOpened and isProFit from global store.\r\n */\r\n protected clearProData(): void {\r\n mutations.setIsDossierOpened(false);\r\n mutations.setIsProFit(false);\r\n LocalStoreService.deleteItem(LocalStoreService.localItemKeys.inclusionType);\r\n LocalStoreService.deleteItem(LocalStoreService.localItemKeys.dossierId);\r\n }\r\n\r\n /**\r\n * Remove the PDF related data\r\n */\r\n protected beforeDestroy() {\r\n const filename = LocalStoreService.getItem(LocalStoreService.localItemKeys.followUpFilename);\r\n if (filename) {\r\n LocalStoreService.deleteItem(filename);\r\n LocalStoreService.deleteItem(LocalStoreService.localItemKeys.followUpFilename);\r\n }\r\n }\r\n}\r\n\r\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!./Confirmation.ts?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!./Confirmation.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Confirmation.vue?vue&type=template&id=a46dd6f6&\"\nimport script from \"./Confirmation.ts?vue&type=script&lang=ts&\"\nexport * from \"./Confirmation.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./Confirmation.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/index.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!./Confirmation.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/index.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!./Confirmation.scss?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}