{"version":3,"sources":["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/Admin/ProgramVariables/Lookups/LookupsSystemVariables.vue?ad64","webpack:///./src/Admin/ProgramVariables/Lookups/LookupsSystemVariables.vue?10ae","webpack:///./src/Admin/ProgramVariables/Lookups/LookupsSystemVariables.vue?5c42","webpack:///./src/Admin/ProgramVariables/Lookups/LookupsSystemVariables.vue","webpack:///./src/Shared/CommonEntityMixins/EntityComponentMixin.ts","webpack:///./src/Shared/CommonEntityMixins/Enums.ts","webpack:///./src/Admin/ProgramVariables/Lookups/LookupsSystemVariables.vue?a89a","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","staticClass","attrs","label","value","variant","on","$event","toggleChanged","scopedSlots","_u","key","fn","proxy","model","callback","$$v","toggleValue","expression","staticRenderFns","extend","name","components","RadioGroup","props","required","defaultValue","type","Boolean","prop","event","mounted","$emit","data","watch","newValue","methods","component","_v","_s","$t","i18nPrefix","directives","rawName","class","placement","visibility","entity","$set","domProps","target","composing","saveEntity","LocationBasedMixin","RadioToggle","computed","entityUrls","location","afterSave","response","translatedTitle","$i18n","t","translatedMessage","$bvToast","toast","toString","title","autoHideDelay","lookupsStartDate","Date","afterLoad","buildEntityComponentMixin","entityComponentMixin","beforeMount","loadBeforeMount","loadEntity","loading","validationErrors","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":"mKAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG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SAAa/E,GACXX,KAAKoC,MAAM,SAAUzB,KAGzB2B,MAAO,CACL9B,MAAK,SAAC+B,GACJvC,KAAK2F,SAAWpD,MC7C+W,I,YCOjYE,EAAY,eACd,EACA3C,EACAyB,GACA,EACA,KACA,KACA,MAIa,OAAAkB,E,2CCjBf,gGAgBM,SAAUwD,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-0899b680.2c6d49e1.js","sourcesContent":["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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container-fluid\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-4 form-group\"},[_c('h4',[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".lookupsHeading\"))))])])]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-4 form-group\"},[_c('label',{attrs:{\"for\":\"lookups-start-date\"}},[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".lookupsStartDateLabel\"))))]),_c('v-date-picker',{directives:[{name:\"validation-error\",rawName:\"v-validation-error\"}],staticClass:\"date-picker\",attrs:{\"input-props\":{ class: 'form-control' },\"popover\":{ placement: 'bottom-end', visibility: 'visible' },\"id\":\"start-date\"},model:{value:(_vm.entity.lookupsStartDate),callback:function ($$v) {_vm.$set(_vm.entity, \"lookupsStartDate\", $$v)},expression:\"entity.lookupsStartDate\"}})],1),_c('div',{staticClass:\"col-md-4 form-group\"},[_c('label',{attrs:{\"for\":\"ca-dmv-user-code\"}},[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".caDMVUserCodeLabel\"))))]),_c('input',{directives:[{name:\"validation-error\",rawName:\"v-validation-error\"},{name:\"model\",rawName:\"v-model\",value:(_vm.entity.cadmvUserCode),expression:\"entity.cadmvUserCode\"}],staticClass:\"form-control\",attrs:{\"id\":\"ca-dmv-user-code\",\"type\":\"text\"},domProps:{\"value\":(_vm.entity.cadmvUserCode)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.entity, \"cadmvUserCode\", $event.target.value)}}})]),_c('div',{staticClass:\"col-md-4 form-group\"},[_c('label',{attrs:{\"for\":\"ftp-passive\"}},[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".fTPPassiveLabel\"))))]),_c('RadioToggle',{directives:[{name:\"validation-error\",rawName:\"v-validation-error\"}],model:{value:(_vm.entity.ftpPassive),callback:function ($$v) {_vm.$set(_vm.entity, \"ftpPassive\", $$v)},expression:\"entity.ftpPassive\"}})],1),_c('div',{staticClass:\"col-md-4 form-group\"},[_c('label',{attrs:{\"for\":\"ftp-ssl\"}},[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".fTPSSLLabel\"))))]),_c('RadioToggle',{directives:[{name:\"validation-error\",rawName:\"v-validation-error\"}],model:{value:(_vm.entity.ftpssl),callback:function ($$v) {_vm.$set(_vm.entity, \"ftpssl\", $$v)},expression:\"entity.ftpssl\"}})],1)]),_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('hr'),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-2 vertical-nav-column\"},[_c('div',{staticClass:\"nav flex-column\"},[_c('div',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"exact-active-class\":\"active\",\"to\":{ name: 'inStateLookupsVariables' }}},[_vm._v(_vm._s(_vm.$t('admin.programVariables.lookups.inStateLookupsLinkName')))])],1),_c('div',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"exact-active-class\":\"active\",\"to\":{ name: 'outOfStateLookupsVariables' }}},[_vm._v(_vm._s(_vm.$t('admin.programVariables.lookups.outOfStateLookupsLinkName')))])],1)])]),_c('div',{staticClass:\"col\"},[_c('viewport')],1)])])}\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\n\n\n\n\n\n\n\nimport LocationBasedMixin from '@/Shared/LocationBasedMixin';\nimport mixins from 'vue-typed-mixins';\nimport BuildEntityComponent from '@/Shared/CommonEntityMixins/EntityComponentMixin';\nimport { LookupsSystemVariables } from './LookupsSystemVariables';\nimport RadioToggle from '@/Shared/RadioToggle.vue';\nimport { AxiosResponse } from 'node_modules/axios';\n\nconst component = mixins(LocationBasedMixin, BuildEntityComponent()).extend({\n components: {\n RadioToggle\n },\n data() {\n return {\n i18nPrefix: 'admin.programVariables.lookups'\n };\n },\n computed: {\n entityUrls() {\n return `${this.location}/lookupsSystem/variables`;\n }\n },\n methods: {\n afterSave(response: AxiosResponse): LookupsSystemVariables {\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 response.data.lookupsStartDate = new Date(response.data.lookupsStartDate);\n\n return response.data;\n },\n afterLoad(response: AxiosResponse): LookupsSystemVariables {\n\n response.data.lookupsStartDate = new Date(response.data.lookupsStartDate);\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!./LookupsSystemVariables.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!./LookupsSystemVariables.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LookupsSystemVariables.vue?vue&type=template&id=373867e4&scoped=true&\"\nimport script from \"./LookupsSystemVariables.vue?vue&type=script&lang=ts&\"\nexport * from \"./LookupsSystemVariables.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./LookupsSystemVariables.vue?vue&type=style&index=0&id=373867e4&lang=scss&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 \"373867e4\",\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","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!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LookupsSystemVariables.vue?vue&type=style&index=0&id=373867e4&lang=scss&scoped=true&\"; 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!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LookupsSystemVariables.vue?vue&type=style&index=0&id=373867e4&lang=scss&scoped=true&\"","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":""}