{"version":3,"sources":["webpack:///./src/components/inputs/base/InputBase.ts","webpack:///./src/components/inputs/base/InputBase.ts?182a","webpack:///./src/components/inputs/base/InputBase.vue","webpack:///./src/components/InformationBlock/InformationBlock.vue?94a8","webpack:///./src/components/InformationBlock/InformationBlock.ts","webpack:///./src/components/InformationBlock/InformationBlock.ts?726d","webpack:///./src/components/InformationBlock/InformationBlock.vue","webpack:///./src/views/Appointment-Details/AppointmentDetails.vue?2e76","webpack:///./src/views/Appointment-Details/AppointmentDetails.ts","webpack:///./src/views/Appointment-Details/AppointmentDetails.ts?da71","webpack:///./src/views/Appointment-Details/AppointmentDetails.vue","webpack:///./src/components/InformationBlock/InformationBlock.scss?1114"],"names":["randomId","Math","floor","random","toString","inputType","value","oldValue","required","default","deep","render","staticRenderFns","component","_vm","this","_h","$createElement","_c","_self","isContentEmpty","_e","staticClass","domProps","_s","$t","contentKey","_v","translation","attrs","showFirstAppointmentNotAllowed","on","next","useTRMGenderChoice","useLongAppointment","$router","push","name","params","screening","$route","$store","getters","allowFirstAppointment","isFirstAppointment","isParticipantFirstAppointment","components","AppointmentSpecials","InformationBlock"],"mappings":"oNAG8B,E,YAA9B,iD,+DASS,EAAAA,SAAmBC,KAAKC,MAAMD,KAAKE,SAAWF,KAAKC,MAAM,MAAYE,WAClE,EAAAC,UAAoB,OAVhC,E,kFAa2BC,EAAUC,Q,GAbc,QACvB,gBAAzB,eAAK,CAAEC,UAAU,K,2BACV,gBAAP,kB,4BACO,gBAAP,kB,kCACO,gBAAP,kB,0BACyB,gBAAzB,eAAK,CAAEC,SAAS,K,+BACS,gBAAzB,eAAK,CAAEA,SAAS,K,+BACS,gBAAzB,eAAK,CAAEA,SAAS,K,+BACT,gBAAP,kB,4BAKD,gBADC,eAAM,QAAS,CAAEC,MAAM,K,6BAGvB,MClBmS,ICAlSC,EAAQC,EDA0R,I,YCOlSC,EAAY,eACd,EACAF,EACAC,GACA,EACA,KACA,KACA,MAIa,OAAAC,E,6CClBf,IAAIF,E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,EAAIO,KAAxKH,EAAG,MAAM,CAACI,YAAY,kBAAkB,CAACJ,EAAG,SAAS,CAACI,YAAY,cAAcS,GAAG,CAAC,MAAQjB,EAAIkB,OAAO,CAAClB,EAAIa,GAAGb,EAAIU,GAAGV,EAAIW,GAAG,iBAAiB,uBAAgC,MAC9vBb,EAAkB,G,gJCWD,EAArB,6UAyBaG,KAAKkB,oBAAuBlB,KAAKmB,oBAAuBnB,KAAKe,gCAC9Df,KAAKiB,OA1BjB,sIA+BQjB,KAAKoB,QAAQC,KAAK,CACdC,KAAM,wBACNC,OAAQ,CACJC,UAAWxB,KAAKyB,OAAOF,OAAOC,eAlC9C,6BAE2B,OAAOxB,KAAKyB,OAAOF,OAAOC,YAFrD,yCAKQ,OAAOxB,KAAK0B,OAAOC,QAAQ,OAAYT,sBAL/C,yCASQ,OAAOlB,KAAK0B,OAAOC,QAAQ,OAAYR,sBAT/C,4CAaQ,OAAOnB,KAAK0B,OAAOC,QAAQ,OAAYC,yBAb/C,oDAiBQ,OAAO5B,KAAK0B,OAAOC,QAAQ,OAAYE,sBAjB/C,qDAqBQ,OAAQ7B,KAAK4B,uBAAyB5B,KAAK8B,kCArBnD,GAAgD,QAA3B,EAAkB,gBANtC,eAAU,CACPC,WAAY,CACRC,sBAAA,KACAC,mBAAA,SAGa,WCZ8Q,I,YCO/RnC,EAAY,eACd,EACAF,EACAC,GACA,EACA,KACA,KACA,MAIa,aAAAC,E,2CClBf,yBAAqc,EAAG,G","file":"js/chunk-573d97c2.js","sourcesContent":["import { Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { WatchOptions } from 'vue';\r\n\r\nexport default abstract class InputBase extends Vue {\r\n @Prop({ required: true }) public name?: string;\r\n @Prop() public label?: string;\r\n @Prop() public placeholder?: string;\r\n @Prop() public min?: string;\r\n @Prop({ default: false }) public required?: boolean;\r\n @Prop({ default: false }) public disabled?: boolean;\r\n @Prop({ default: false }) public readonly?: boolean;\r\n @Prop() public value?: T;\r\n public randomId: string = Math.floor(Math.random() * Math.floor(100000000)).toString();\r\n protected inputType: string = 'text';\r\n\r\n @Watch('value', { deep: true } as WatchOptions)\r\n protected onValueChanged(value: T, oldValue: T) {\r\n // tslint:disable-line:no-empty\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!./InputBase.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!./InputBase.ts?vue&type=script&lang=ts&\"","var render, staticRenderFns\nimport script from \"./InputBase.ts?vue&type=script&lang=ts&\"\nexport * from \"./InputBase.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.isContentEmpty)?_c('div',[(_vm.isHtml)?_c('div',{staticClass:\"information-label\"},[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.$t(_vm.contentKey))}})]):_c('div',{staticClass:\"information-label\"},[_c('p',[_vm._v(_vm._s(_vm.$t(_vm.contentKey)))])])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class InformationBlock extends Vue {\r\n @Prop({ default: false }) public isHtml?: boolean;\r\n @Prop({ required: true }) public contentKey!: string;\r\n\r\n public get isContentEmpty(): boolean {\r\n const translation = this.$t(this.contentKey).toString();\r\n return (translation === '' || translation === this.contentKey) ? true : false;\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!./InformationBlock.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!./InformationBlock.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InformationBlock.vue?vue&type=template&id=270beb42&scoped=true&\"\nimport script from \"./InformationBlock.ts?vue&type=script&lang=ts&\"\nexport * from \"./InformationBlock.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./InformationBlock.scss?vue&type=style&index=0&id=270beb42&scoped=true&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 \"270beb42\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[_c('InformationBlock',{attrs:{\"is-html\":true,\"content-key\":'comp.customMessage.homePageMessage'}})],1),_c('div',{staticClass:\"fullpage-wrapper\",attrs:{\"id\":\"inclusion\"}},[_c('h1',[_vm._v(_vm._s(_vm.$t('appointmentDetails.pageTitle')))]),(_vm.showFirstAppointmentNotAllowed)?_c('InformationBlock',{attrs:{\"is-html\":true,\"content-key\":'appointmentDetails.firstAptNotAllowed'}}):_c('div',[_c('AppointmentSpecials',{attrs:{\"editMode\":true}})],1),(!_vm.showFirstAppointmentNotAllowed)?_c('div',{staticClass:\"bottom-buttons\"},[_c('button',{staticClass:\"button-next\",on:{\"click\":_vm.next}},[_vm._v(_vm._s(_vm.$t('buttons.next'))+\"\\r\\n \")])]):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Component, Vue } from 'vue-property-decorator';\r\nimport { AppointmentDetailsDTO } from '@/models/AppointmentDetailsDTO';\r\nimport { GetterTypes } from '@/store-vuex/types';\r\nimport InformationBlock from '@/components/InformationBlock/InformationBlock';\r\nimport AppointmentSpecials from '@/components/AppointmentSpecials/AppointmentSpecials';\r\n\r\n@Component({\r\n components: {\r\n AppointmentSpecials,\r\n InformationBlock,\r\n },\r\n})\r\nexport default class AppointmentDetails extends Vue {\r\n private appointDetails!: AppointmentDetailsDTO;\r\n private get suName() { return this.$route.params.screening; }\r\n\r\n public get useTRMGenderChoice(): boolean {\r\n return this.$store.getters[GetterTypes.useTRMGenderChoice];\r\n }\r\n\r\n public get useLongAppointment(): boolean {\r\n return this.$store.getters[GetterTypes.useLongAppointment];\r\n }\r\n\r\n public get allowFirstAppointment(): boolean {\r\n return this.$store.getters[GetterTypes.allowFirstAppointment];\r\n }\r\n\r\n public get isParticipantFirstAppointment(): boolean {\r\n return this.$store.getters[GetterTypes.isFirstAppointment];\r\n }\r\n\r\n public get showFirstAppointmentNotAllowed(): boolean {\r\n return !this.allowFirstAppointment && this.isParticipantFirstAppointment;\r\n }\r\n\r\n protected async mounted() {\r\n if (!this.useTRMGenderChoice && !this.useLongAppointment && !this.showFirstAppointmentNotAllowed) {\r\n this.next();\r\n }\r\n }\r\n\r\n protected next() {\r\n this.$router.push({\r\n name: 'appointment-selection',\r\n params: {\r\n screening: this.$route.params.screening,\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!./AppointmentDetails.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!./AppointmentDetails.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AppointmentDetails.vue?vue&type=template&id=59a70c2b&\"\nimport script from \"./AppointmentDetails.ts?vue&type=script&lang=ts&\"\nexport * from \"./AppointmentDetails.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 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!./InformationBlock.scss?vue&type=style&index=0&id=270beb42&scoped=true&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!./InformationBlock.scss?vue&type=style&index=0&id=270beb42&scoped=true&lang=scss&\""],"sourceRoot":""}