{"version":3,"sources":["webpack:///./src/Admin/ProgramVariables/Letters/LettersSystemVariables.vue?2b32","webpack:///./src/Admin/ProgramVariables/Letters/LettersSystemVariables.vue?b410","webpack:///./src/Admin/ProgramVariables/Letters/LettersSystemVariables.vue?e5e8","webpack:///./src/Admin/ProgramVariables/Letters/LettersSystemVariables.vue","webpack:///./src/Shared/RadioToggle.vue?3f08","webpack:///./src/Shared/RadioToggle.vue?b57a","webpack:///./src/Shared/RadioToggle.vue?a535","webpack:///./src/Shared/RadioToggle.vue","webpack:///./src/Shared/CommonEntityMixins/EntityComponentMixin.ts","webpack:///./src/Shared/CommonEntityMixins/Enums.ts","webpack:///./src/Shared/RadioGroup.vue?c7e3","webpack:///./src/Shared/RadioGroup.vue?ebe2","webpack:///./src/Shared/RadioGroup.vue?0a94","webpack:///./src/Shared/RadioGroup.vue","webpack:///./src/Shared/CommonEntityMixins/UrlConfig.ts"],"names":["render","_vm","this","_h","$createElement","_c","_self","directives","name","rawName","value","expression","staticClass","attrs","_v","_s","$t","i18nPrefix","entity","domProps","on","$event","target","composing","$set","saveEntity","staticRenderFns","component","LocationBasedMixin","extend","components","RadioToggle","data","computed","entityUrls","location","methods","afterSave","response","translatedTitle","$i18n","t","translatedMessage","$bvToast","toast","toString","title","autoHideDelay","label","variant","toggleChanged","scopedSlots","_u","key","fn","proxy","model","callback","$$v","toggleValue","RadioGroup","props","required","defaultValue","type","Boolean","prop","event","mounted","$emit","watch","newValue","buildEntityComponentMixin","entityComponentMixin","beforeMount","loadBeforeMount","loadEntity","loading","validationErrors","afterLoad","method","get","urlAction","url","put","locationChanged","ActionMethod","radioChanged","selected","_l","option","_t","options","Array","getRequestMethod","GET","POST","post","PUT","DELETE","delete","Error","isUrlConfig","config"],"mappings":"0IAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,WAAW,CAAC,CAAC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ACA0B,GACA,EACA,KACA,KACA,MAIa,OAAAC,E,2CCjBf,gGAgBM,SAAUmE,EAAiEd,GAC7E,OAAQA,GACJ,KAAK,OAAae,IACd,OAAO,OAAQd,IACnB,KAAK,OAAae,KACd,OAAO,OAAQC,KACnB,KAAK,OAAaC,IACd,OAAO,OAAQd,IACnB,KAAK,OAAae,OACd,OAAO,OAAQC,OACnB,QACI,MAAMC,MAAM,uBAAuBrB,IAIzC,SAAUsB,EAAYC,GACxB,SAAIA,IAAWA,EAAqBtB","file":"js/chunk-264c49d4.c2f08467.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"wait-indicator\",rawName:\"v-wait-indicator\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"container-fluid\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-4 form-group\"},[_c('label',{attrs:{\"for\":\"eligible For first notice\"}},[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".eligibleFor1stNoticeLabel\"))))]),_c('input',{directives:[{name:\"validation-error\",rawName:\"v-validation-error\"},{name:\"model\",rawName:\"v-model\",value:(_vm.entity.eligibleForFirstNotice),expression:\"entity.eligibleForFirstNotice\"}],staticClass:\"form-control\",attrs:{\"id\":\"eligible For first notice\",\"type\":\"text\"},domProps:{\"value\":(_vm.entity.eligibleForFirstNotice)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.entity, \"eligibleForFirstNotice\", $event.target.value)}}})]),_c('div',{staticClass:\"col-md-4 form-group\"},[_c('label',{attrs:{\"for\":\"notice 1 start date\"}},[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".notice1StartDateLabel\"))))]),_c('input',{directives:[{name:\"validation-error\",rawName:\"v-validation-error\"},{name:\"model\",rawName:\"v-model\",value:(_vm.entity.notice1StartDate),expression:\"entity.notice1StartDate\"}],staticClass:\"form-control\",attrs:{\"id\":\"notice 1 start date\",\"type\":\"text\"},domProps:{\"value\":(_vm.entity.notice1StartDate)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.entity, \"notice1StartDate\", $event.target.value)}}})])]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-4 form-group\"},[_c('label',{attrs:{\"for\":\"eligible For second notice\"}},[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".eligibleFor2ndNoticeLabel\"))))]),_c('input',{directives:[{name:\"validation-error\",rawName:\"v-validation-error\"},{name:\"model\",rawName:\"v-model\",value:(_vm.entity.eligibleForSecondNotice),expression:\"entity.eligibleForSecondNotice\"}],staticClass:\"form-control\",attrs:{\"id\":\"eligible For second notice\",\"type\":\"text\"},domProps:{\"value\":(_vm.entity.eligibleForSecondNotice)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.entity, \"eligibleForSecondNotice\", $event.target.value)}}})]),_c('div',{staticClass:\"col-md-4 form-group\"},[_c('label',{attrs:{\"for\":\"notice 2 start date\"}},[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".notice2StartDateLabel\"))))]),_c('input',{directives:[{name:\"validation-error\",rawName:\"v-validation-error\"},{name:\"model\",rawName:\"v-model\",value:(_vm.entity.notice2StartDate),expression:\"entity.notice2StartDate\"}],staticClass:\"form-control\",attrs:{\"id\":\"notice 2 start date\",\"type\":\"text\"},domProps:{\"value\":(_vm.entity.notice2StartDate)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.entity, \"notice2StartDate\", $event.target.value)}}})])]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-4 form-group\"},[_c('label',{attrs:{\"for\":\"eligible For third notice\"}},[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".eligibleFor3rdNoticeLabel\"))))]),_c('input',{directives:[{name:\"validation-error\",rawName:\"v-validation-error\"},{name:\"model\",rawName:\"v-model\",value:(_vm.entity.eligibleForThirdNotice),expression:\"entity.eligibleForThirdNotice\"}],staticClass:\"form-control\",attrs:{\"id\":\"eligible For third notice\",\"type\":\"text\"},domProps:{\"value\":(_vm.entity.eligibleForThirdNotice)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.entity, \"eligibleForThirdNotice\", $event.target.value)}}})]),_c('div',{staticClass:\"col-md-4 form-group\"},[_c('label',{attrs:{\"for\":\"notice 3 start date\"}},[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".notice3StartDateLabel\"))))]),_c('input',{directives:[{name:\"validation-error\",rawName:\"v-validation-error\"},{name:\"model\",rawName:\"v-model\",value:(_vm.entity.notice3StartDate),expression:\"entity.notice3StartDate\"}],staticClass:\"form-control\",attrs:{\"id\":\"notice 3 start date\",\"type\":\"text\"},domProps:{\"value\":(_vm.entity.notice3StartDate)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.entity, \"notice3StartDate\", $event.target.value)}}})])]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-4 form-group\"},[_c('label',{attrs:{\"for\":\"email reply to\"}},[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".replyToEmailAddressLabel\"))))]),_c('input',{directives:[{name:\"validation-error\",rawName:\"v-validation-error\"},{name:\"model\",rawName:\"v-model\",value:(_vm.entity.emailReplyTo),expression:\"entity.emailReplyTo\"}],staticClass:\"form-control\",attrs:{\"id\":\"email reply to\",\"type\":\"text\"},domProps:{\"value\":(_vm.entity.emailReplyTo)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.entity, \"emailReplyTo\", $event.target.value)}}})])]),_c('hr'),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-4\"},[_c('button',{staticClass:\"btn btn-success\",on:{\"click\":function($event){return _vm.saveEntity()}}},[_c('i',{staticClass:\"fas fa-save\"}),_vm._v(\"\\n Save\\n \")])])]),_c('br')])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport mixins from 'vue-typed-mixins';\nimport I18nMixin from '@/Shared/I18nMixin';\nimport LocationBasedMixin from '@/Shared/LocationBasedMixin';\nimport BuildEntityComponent from '@/Shared/CommonEntityMixins/EntityComponentMixin';\nimport RadioToggle from '@/Shared/RadioToggle.vue';\nimport { LettersSystemVariables } from './LettersSystemVariables';\nimport { AxiosResponse } from 'axios';\n\nconst component = mixins(LocationBasedMixin, BuildEntityComponent()).extend({\n components: {\n RadioToggle\n },\n data() {\n return {\n i18nPrefix: 'admin.programVariables.letters'\n };\n },\n computed: {\n entityUrls() {\n return `${this.location}/lettersSystem/variables`;\n }\n },\n methods: {\n afterSave(response: AxiosResponse): LettersSystemVariables {\n const translatedTitle = this.$i18n.t(`${this.i18nPrefix}.saveSuccessTitle`);\n const translatedMessage = this.$i18n.t(`${this.i18nPrefix}.saveSuccessMessage`);\n this.$bvToast.toast(translatedMessage.toString(), {\n title: translatedTitle.toString(),\n autoHideDelay: 5000\n });\n\n return response.data;\n },\n }\n});\n\nexport default component;\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!./LettersSystemVariables.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!./LettersSystemVariables.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LettersSystemVariables.vue?vue&type=template&id=b6b2581e&\"\nimport script from \"./LettersSystemVariables.vue?vue&type=script&lang=ts&\"\nexport * from \"./LettersSystemVariables.vue?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 _c('RadioGroup',{staticClass:\"vats-radio-toggle\",attrs:{\"options\":[{label: 'true', value: true, variant: 'success'}, {label: 'false', value: false, variant: 'danger'}]},on:{\"change\":function($event){return _vm.toggleChanged($event)}},scopedSlots:_vm._u([{key:\"true\",fn:function(){return [_c('font-awesome-icon',{attrs:{\"icon\":['fas', 'check']}})]},proxy:true},{key:\"false\",fn:function(){return [_c('font-awesome-icon',{attrs:{\"icon\":['fas', 'times']}})]},proxy:true}]),model:{value:(_vm.toggleValue),callback:function ($$v) {_vm.toggleValue=$$v},expression:\"toggleValue\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue';\r\nimport RadioGroup from '@/Shared/RadioGroup.vue';\r\n\r\nexport default Vue.extend({\r\n name: 'RadioToggle',\r\n components: { RadioGroup },\r\n props: {\r\n value: {\r\n required: true\r\n },\r\n defaultValue: {\r\n required: false,\r\n type: Boolean\r\n }\r\n },\r\n model: {\r\n prop: 'value',\r\n event: 'change'\r\n },\r\n mounted() {\r\n if (typeof this.defaultValue === 'boolean' && typeof this.toggleValue !== 'boolean') {\r\n this.toggleValue = this.defaultValue;\r\n this.$emit('change', this.toggleValue);\r\n }\r\n },\r\n data() {\r\n return {\r\n toggleValue: this.value\r\n };\r\n },\r\n watch: {\r\n value(newValue) {\r\n this.toggleValue = newValue;\r\n }\r\n },\r\n methods: {\r\n toggleChanged($event: boolean) {\r\n this.$emit('change', $event);\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!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RadioToggle.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!./RadioToggle.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RadioToggle.vue?vue&type=template&id=be6319c6&\"\nimport script from \"./RadioToggle.vue?vue&type=script&lang=ts&\"\nexport * from \"./RadioToggle.vue?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 Vue from 'vue';\r\nimport VatsAPI from '../VatsAPI';\r\nimport { AxiosResponse } from 'axios';\r\nimport { Dictionary } from 'vue-router/types/router';\r\nimport { getValidationErrors } from '@/Shared/ValidationErrorDirective';\r\nimport { UrlOptions, isUrlConfig, getRequestMethod, AcceptsPayload, NoPayload } from './UrlConfig';\r\n\r\nfunction buildEntityComponentMixin() {\r\n const entityComponentMixin = Vue.extend({\r\n beforeMount() {\r\n if (this.loadBeforeMount) {\r\n this.loadEntity();\r\n }\r\n },\r\n data() {\r\n return {\r\n entity: {} as T,\r\n loading: false,\r\n validationErrors: {} as Dictionary,\r\n i18nPrefix: '',\r\n loadBeforeMount: true\r\n };\r\n },\r\n computed: {\r\n entityUrls(): UrlOptions {\r\n return '';\r\n }\r\n },\r\n methods: {\r\n afterSave(response: AxiosResponse): T {\r\n return response.data;\r\n },\r\n afterLoad(response: AxiosResponse): T {\r\n return response.data;\r\n },\r\n async loadEntity() {\r\n const { method, url } = isUrlConfig(this.entityUrls)\r\n ? {\r\n method: getRequestMethod>(this.entityUrls.get.urlAction),\r\n url: this.entityUrls.get.url\r\n }\r\n : { method: VatsAPI.get, url: this.entityUrls };\r\n try {\r\n this.loading = true;\r\n const response = await method(url);\r\n response.data = this.afterLoad(response);\r\n\r\n this.entity = response.data;\r\n }\r\n catch (e) {\r\n const translatedTitle = this.$i18n.t(`${this.i18nPrefix}.loadFailedTitle`);\r\n const translatedMessage = this.$i18n.t(`${this.i18nPrefix}.loadFailedMessage`);\r\n this.$bvToast.toast(translatedMessage.toString(), {\r\n title: translatedTitle.toString(),\r\n autoHideDelay: 5000\r\n });\r\n throw e;\r\n }\r\n finally {\r\n this.loading = false;\r\n }\r\n },\r\n async saveEntity() {\r\n this.loading = true;\r\n this.validationErrors = {};\r\n\r\n const { method, url } = isUrlConfig(this.entityUrls)\r\n ? {\r\n method: getRequestMethod>(this.entityUrls.get.urlAction),\r\n url: this.entityUrls.get.url\r\n }\r\n : { method: VatsAPI.put, url: this.entityUrls };\r\n\r\n try {\r\n const response = await method(url, this.entity);\r\n response.data = this.afterSave(response);\r\n this.entity = response.data;\r\n }\r\n catch (e) {\r\n this.validationErrors = getValidationErrors(e.response);\r\n const translatedTitle = this.$i18n.t(`${this.i18nPrefix}.saveFailedTitle`);\r\n const translatedMessage = this.$i18n.t(`${this.i18nPrefix}.saveFailedMessage`);\r\n this.$bvToast.toast(translatedMessage.toString(), {\r\n title: translatedTitle.toString(),\r\n autoHideDelay: 5000\r\n });\r\n throw e;\r\n }\r\n finally {\r\n this.loading = false;\r\n }\r\n },\r\n locationChanged() {\r\n this.loadEntity();\r\n }\r\n }\r\n });\r\n\r\n return entityComponentMixin;\r\n}\r\n\r\nexport default buildEntityComponentMixin;\r\n","export enum ActionMethod {\r\n GET,\r\n POST,\r\n PUT,\r\n DELETE\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form-radio-group',{attrs:{\"buttons\":\"\",\"button-variant\":\"outline-primary\"},on:{\"change\":function($event){return _vm.radioChanged($event)}},model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}},_vm._l((_vm.options),function(option){return _c('b-form-radio',{key:option.value,attrs:{\"value\":option.value,\"button-variant\":'outline-' + option.variant}},[_vm._t(option.value)],2)}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue';\r\nimport { Logger } from '@/Shared/Logger';\r\n\r\nexport default Vue.extend({\r\n name: 'RadioGroup',\r\n model: {\r\n prop: 'value',\r\n event: 'change'\r\n },\r\n data() {\r\n return {\r\n selected: this.value\r\n };\r\n },\r\n props: {\r\n options: {\r\n type: Array as () => Array<{\r\n label: string;\r\n variant: string;\r\n value: any;\r\n }>\r\n },\r\n value: { }\r\n },\r\n methods: {\r\n radioChanged($event: any) {\r\n this.$emit('change', $event);\r\n }\r\n },\r\n watch: {\r\n value(newValue) {\r\n this.selected = newValue;\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!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RadioGroup.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!./RadioGroup.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RadioGroup.vue?vue&type=template&id=9e57edd4&\"\nimport script from \"./RadioGroup.vue?vue&type=script&lang=ts&\"\nexport * from \"./RadioGroup.vue?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 { RemoteAction } from './RemoteAction';\r\nimport { ActionMethod } from './Enums';\r\nimport VatsAPI from '@/Shared/VatsAPI';\r\nimport { AxiosRequestConfig, AxiosResponse } from 'axios';\r\n\r\nexport interface UrlConfig {\r\n get: RemoteAction;\r\n update: RemoteAction;\r\n add?: RemoteAction;\r\n delete: RemoteAction;\r\n}\r\n\r\nexport type UrlOptions = UrlConfig | string;\r\n\r\nexport type AcceptsPayload = ((url: string, data?: T, config?: AxiosRequestConfig) => AxiosResponse);\r\nexport type NoPayload = ((url: string, config?: AxiosRequestConfig) => AxiosResponse);\r\n\r\nexport function getRequestMethod

| NoPayload>(method: ActionMethod): P {\r\n switch (method) {\r\n case ActionMethod.GET:\r\n return VatsAPI.get as any as P;\r\n case ActionMethod.POST:\r\n return VatsAPI.post as any as P;\r\n case ActionMethod.PUT:\r\n return VatsAPI.put as any as P;\r\n case ActionMethod.DELETE:\r\n return VatsAPI.delete as any as P;\r\n default:\r\n throw Error(`Unknown HTTP Action ${method}`);\r\n }\r\n}\r\n\r\nexport function isUrlConfig(config: UrlOptions): config is UrlConfig {\r\n if (config && (config as UrlConfig).get) {\r\n return true;\r\n }\r\n return false;\r\n}\r\n"],"sourceRoot":""}