{"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/Shared/CommonEntityMixins/EntityComponentMixin.ts","webpack:///./src/Shared/CommonEntityMixins/Enums.ts","webpack:///./src/Admin/ProgramVariables/Booting/BootingVariables.vue?463a","webpack:///./src/Admin/ProgramVariables/Booting/BootingVariables.vue?a47f","webpack:///./src/Admin/ProgramVariables/Booting/BootingVariables.vue?5e95","webpack:///./src/Admin/ProgramVariables/Booting/BootingVariables.vue","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","buildEntityComponentMixin","entityComponentMixin","beforeMount","loadBeforeMount","loadEntity","entity","loading","validationErrors","i18nPrefix","computed","entityUrls","afterSave","response","afterLoad","method","get","urlAction","url","translatedTitle","$i18n","t","translatedMessage","$bvToast","toast","toString","title","autoHideDelay","saveEntity","put","locationChanged","ActionMethod","directives","rawName","_v","_s","$t","domProps","target","composing","$set","location","LocationBasedMixin","RadioToggle","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,aAAa,CAACE,YAAY,oBAAoBC,MAAM,CAAC,QAA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C,GAAQ,OAAOZ,EAAIsF,aAAa1E,KAAUO,MAAM,CAACV,MAAOT,EAAY,SAAEoB,SAAS,SAAUC,GAAMrB,EAAIuF,SAASlE,GAAKE,WAAW,aAAavB,EAAIwF,GAAIxF,EAAW,SAAE,SAASyF,GAAQ,OAAOrF,EAAG,eAAe,CAACY,IAAIyE,EAAOhF,MAAMF,MAAM,CAAC,MAAQkF,EAAOhF,MAAM,iBAAiB,WAAagF,EAAO/E,UAAU,CAACV,EAAI0F,GAAGD,EAAOhF,QAAQ,MAAK,IACpgBe,EAAkB,G,YCgBP,eAAIC,OAAO,CACxBC,KAAM,aACNP,MAAO,CACLe,KAAM,QACNC,MAAO,UAETG,KAAI,WACF,MAAO,CACLiD,SAAUtF,KAAKQ,QAGnBoB,MAAO,CACL8D,QAAS,CACP3D,KAAM4D,OAMRnF,MAAO,IAETgC,QAAS,CACP6C,aAAA,SAAa1E,GACXX,KAAKoC,MAAM,SAAUzB,KAGzB2B,MAAO,CACL9B,MAAK,SAAC+B,GACJvC,KAAKsF,SAAW/C,MC7C+W,I,YCOjYE,EAAY,eACd,EACA3C,EACAyB,GACA,EACA,KACA,KACA,MAIa,OAAAkB,E,2CCjBf,gGAgBM,SAAUmD,EAAiEpC,GAC7E,OAAQA,GACJ,KAAK,OAAaqC,IACd,OAAO,OAAQpC,IACnB,KAAK,OAAaqC,KACd,OAAO,OAAQC,KACnB,KAAK,OAAaC,IACd,OAAO,OAAQ1B,IACnB,KAAK,OAAa2B,OACd,OAAO,OAAQC,OACnB,QACI,MAAMC,MAAM,uBAAuB3C,IAIzC,SAAU4C,EAAYC,GACxB,SAAIA,IAAWA,EAAqB5C","file":"js/chunk-8e703104.621fc5a3.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","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('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\":\"max-boot-fine\"}},[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".maxBootFineLabel\"))))]),_c('input',{directives:[{name:\"validation-error\",rawName:\"v-validation-error\"},{name:\"model\",rawName:\"v-model\",value:(_vm.entity.maxBootFine),expression:\"entity.maxBootFine\"}],staticClass:\"form-control\",attrs:{\"id\":\"max-boot-fine\",\"type\":\"number\"},domProps:{\"value\":(_vm.entity.maxBootFine)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.entity, \"maxBootFine\", $event.target.value)}}})]),_c('div',{staticClass:\"col-md-4 form-group\"},[_c('label',{attrs:{\"for\":\"days-before-fine-incurs\"}},[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".daysBeforeFineIncursLabel\"))))]),_c('input',{directives:[{name:\"validation-error\",rawName:\"v-validation-error\"},{name:\"model\",rawName:\"v-model\",value:(_vm.entity.daysBeforeFineIncurs),expression:\"entity.daysBeforeFineIncurs\"}],staticClass:\"form-control\",attrs:{\"id\":\"days-before-fine-incurs\",\"type\":\"number\"},domProps:{\"value\":(_vm.entity.daysBeforeFineIncurs)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.entity, \"daysBeforeFineIncurs\", $event.target.value)}}})]),_c('div',{staticClass:\"col-md-4 form-group\"},[_c('label',{attrs:{\"for\":\"daily-fine-amount\"}},[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".dailyFineAmountLabel\"))))]),_c('input',{directives:[{name:\"validation-error\",rawName:\"v-validation-error\"},{name:\"model\",rawName:\"v-model\",value:(_vm.entity.dailyFineAmount),expression:\"entity.dailyFineAmount\"}],staticClass:\"form-control\",attrs:{\"id\":\"daily-fine-amount\",\"type\":\"number\"},domProps:{\"value\":(_vm.entity.dailyFineAmount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.entity, \"dailyFineAmount\", $event.target.value)}}})]),_c('div',{staticClass:\"col-md-4 form-group\"},[_c('label',{attrs:{\"for\":\"boot-violation-code\"}},[_vm._v(_vm._s(_vm.$t((_vm.i18nPrefix + \".bootViolationCodeLabel\"))))]),_c('LocationLookupDropdown',{directives:[{name:\"validation-error\",rawName:\"v-validation-error\"}],attrs:{\"type\":\"ViolationCode\",\"dropdown-id\":\"boot-violation-code\",\"location\":_vm.location,\"css\":\"form-control\"},model:{value:(_vm.entity.bootViolationCode),callback:function ($$v) {_vm.$set(_vm.entity, \"bootViolationCode\", $$v)},expression:\"entity.bootViolationCode\"}})],1)]),_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 \")])])])])}\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\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 BootingVariables from './BootingVariables';\nimport { AxiosResponse } from 'axios';\n\nconst component = mixins(LocationBasedMixin, BuildEntityComponent()).extend({\n components: {\n RadioToggle\n },\n data() {\n return {\n i18nPrefix: 'admin.programVariables.booting'\n };\n },\n computed: {\n entityUrls() {\n return `${this.location}/BootManagementAdmin/variables`;\n }\n },\n methods: {\n afterSave(response: AxiosResponse): BootingVariables {\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!./BootingVariables.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!./BootingVariables.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BootingVariables.vue?vue&type=template&id=6b6d6454&\"\nimport script from \"./BootingVariables.vue?vue&type=script&lang=ts&\"\nexport * from \"./BootingVariables.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('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":""}