{"version":3,"sources":["webpack:///./src/utils/axios-utils/response.utils.ts","webpack:///./src/components/inputs/customs/DeviceTypeSelect.vue?df93","webpack:///./node_modules/cache-loader/dist/cjs.js","webpack:///./src/components/inputs/customs/DeviceTypeSelect.vue?4161","webpack:///./src/components/inputs/customs/DeviceTypeSelect.vue","webpack:///./src/views/admin/firmware/components/FirmwareForm.vue?d749","webpack:///./src/components/inputs/customs/LevelSelect.vue?d312","webpack:///./src/components/inputs/customs/LevelSelect.vue?92f0","webpack:///./src/components/inputs/customs/LevelSelect.vue","webpack:///./src/views/admin/firmware/Firmware.vue?b5a8","webpack:///./src/views/admin/firmware/components/FirmwareForm.vue?21d9","webpack:///./src/models/firmwares/firmware.ts","webpack:///./src/views/admin/firmware/components/FirmwareForm.vue?641e","webpack:///./src/views/admin/firmware/components/FirmwareForm.vue","webpack:///./src/views/admin/firmware/Firmware.vue?9176","webpack:///./src/views/admin/firmware/Firmware.vue","webpack:///./src/components/inputs/Toggle.vue?8335","webpack:///./src/components/inputs/Toggle.vue?b6ae","webpack:///./src/components/inputs/Toggle.vue","webpack:///./node_modules/core-js/internals/create-html.js","webpack:///./src/components/inputs/TextInput.vue?9aad","webpack:///./src/components/inputs/TextInput.vue?2ffe","webpack:///./src/components/inputs/TextInput.vue","webpack:///./node_modules/core-js/modules/es.string.link.js","webpack:///./src/services/firmwares/firmware.service.ts","webpack:///./src/components/inputs/TextInput.vue?a77f","webpack:///./node_modules/core-js/internals/string-html-forced.js","webpack:///./src/components/BackNavigationToolbar.vue?6b15","webpack:///./src/components/BackNavigationToolbar.vue?34ac","webpack:///./src/components/BackNavigationToolbar.vue?badb","webpack:///./src/components/BackNavigationToolbar.vue","webpack:///./src/utils/types.utils.ts","webpack:///./src/components/inputs/TextInput.vue?e01e"],"names":["errorLocaleLabelKey","error","alternative","translationLabel","response","data","Extensions","TranslationLabel","status","HttpErrors","BadRequest","Conflict","Forbidden","NotFound","Unauthorized","render","_vm","this","_h","$createElement","_c","_self","attrs","items","rules","value","required","clearable","disabled","compact","on","handleSelect","staticRenderFns","DeviceTypeSelect","getItems","deviceTypes","$store","getters","MastersGetters","GetDeviceTypes","onlyEnrolWhitelistDevices","filter","c","canBeWhitelistedForEnrolment","onlyScreenConfigurationDevices","canHaveScreenConfiguration","deviceTypesSelectedItems","selectedItems","map","el","deviceType","devicesShownInTheInput","filterBySelected","sortedByName","slice","sort","a","b","x","$t","toString","toLowerCase","y","localeCompare","text","code","$emit","Vue","__decorate","Prop","default","undefined","Watch","Component","components","SelectInput","component","LevelSelect","levels","FirmwareLevel","Production","Beta","firmwareVersion","slot","action","captureFirmwareVersion","staticClass","ref","$event","preventDefault","apply","arguments","model","callback","$$v","validForm","expression","requiredRules","actions","EDIT","firmware","$set","minimumOfZeroRules","_e","level","firmwareLevel","fwBuildRules","setFormModified","deleteFirmware","_v","_s","nativeOn","cancel","modifiedForm","Firmware","enable","FirmwareForm","firmwareId","$route","params","id","DeviceType","initValidationRules","getFirmware","update","create","$router","push","name","Routes","ManageFirmware","regularRules","CDUK","CELY","CEMB","AZNE","AZVT","AZNS","modified","$spinner","showSpinner","firmwareService","getById","then","catch","manageError","finally","removeSpinner","$toaster","showSuccess","modalDialog","confirm","confirmresult","delete","showError","Ref","Button","DateTimePicker","Modal","FileInput","TextInput","Toggle","CREATE","dispatch","RootActions","SetPageTitle","arg","String","BackNavigationToolbar","Card","CardContainer","computedLabel","handleChange","strNoWhitespaces","labelOff","label","change","uncurryThis","requireObjectCoercible","quot","replace","module","exports","string","tag","attribute","S","p1","class","fluid","hideLabel","labelString","placeholder","type","readonly","appendIcon","hideDetails","prependInnerIcon","handleInput","handleBlur","handleFocus","input","emit","$","createHTML","forcedStringHTMLMethod","target","proto","forced","link","url","FirmwareService","size","sortDir","filtersChanged","page","Object","assign","releaseDateFrom","releaseRangeDate","startDate","releaseDateTo","endDate","basePagination","endpoints","fwId","axios","get","config","headers","formData","FormData","key","prototype","hasOwnProperty","call","element","append","post","put","BasePaginationService","fails","METHOD_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8K,EAAe,SAACzD,GAC3B,IAAI0D,GAAK,EACT,IAAK,IAAMC,KAAYnI,OACjBwE,IAASxE,OAAWmI,KACtBD,GAAK,GAGT,OAAOA,GAGIE,EAAsB,SAAC5D,GAClC,OAAQA,GACN,KAAKxE,OAAWqI,KAChB,KAAKrI,OAAWsI,KACd,OAAO,EACT,QACE,OAAO,IAIAlN,EAA6B,SAACoJ,GACzC,OAAQA,GACN,KAAKxE,OAAWW,KAChB,KAAKX,OAAWY,KAChB,KAAKZ,OAAWuI,KACd,OAAO,EACT,QACE,OAAO,IAIArN,EAA+B,SAACsJ,GAC3C,OAAOA,IAASxE,OAAWuI,O,yDClC7B","file":"js/chunk-5a162100.9a0428ae.js","sourcesContent":["import { HttpErrors } from '@/models/common/constants';\n\nexport const errorLocaleLabelKey = (error: any, alternative: string = 'errors.common'): string => {\n const translationLabel = error.response.data.Extensions?.TranslationLabel;\n if (!!translationLabel) {\n return 'api-errors.' + translationLabel;\n } else {\n switch (error.response.status) {\n case HttpErrors.BadRequest: return 'errors.bad-request';\n case HttpErrors.Conflict: return 'errors.conflict';\n case HttpErrors.Forbidden: return 'errors.forbidden';\n case HttpErrors.NotFound: return 'errors.not-found';\n case HttpErrors.Unauthorized: return 'errors.unauthorized';\n default: return alternative;\n }\n }\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('n-select-input',{attrs:{\"items\":_vm.items,\"rules\":_vm.rules || [],\"label\":\"devicetype\",\"data-test\":\"devicetype\",\"value\":_vm.value,\"required\":_vm.required,\"clearable\":_vm.clearable,\"disabled\":_vm.disabled,\"compact\":_vm.compact},on:{\"change\":_vm.handleSelect}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { RawLocation } from 'vue-router';\n\n@Component\nexport default class BackNavigationToolbar extends Vue {\n @Prop()\n public title!: string;\n @Prop()\n public link!: RawLocation;\n\n @Prop({ default: true })\n public allowBack!: boolean;\n\n private goToPage() {\n if (this.link) {\n this.$router.push(this.link);\n } else {\n this.$router.go(-1);\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeviceTypeSelect.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeviceTypeSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DeviceTypeSelect.vue?vue&type=template&id=45e64e63&scoped=true&\"\nimport script from \"./DeviceTypeSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./DeviceTypeSelect.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 \"45e64e63\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FirmwareForm.vue?vue&type=style&index=0&id=8f2cd95a&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('n-select-input',{attrs:{\"items\":_vm.items,\"rules\":_vm.rules || [],\"label\":\"level\",\"value\":_vm.value,\"required\":_vm.required,\"disabled\":_vm.disabled,\"clearable\":_vm.clearable,\"compact\":_vm.compact},on:{\"change\":_vm.handleSelect}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LevelSelect.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LevelSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LevelSelect.vue?vue&type=template&id=8ca3bc58&scoped=true&\"\nimport script from \"./LevelSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./LevelSelect.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 \"8ca3bc58\",\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('v-layout',{attrs:{\"column\":\"\"}},[_c('n-back-navigation-toolbar',{attrs:{\"title\":_vm.firmwareVersion}}),_c('n-card-container',[_c('n-card',{attrs:{\"type\":\"xl\"}},[_c('div',{attrs:{\"slot\":\"\"},slot:\"default\"},[_c('n-firmware-form',{attrs:{\"action\":_vm.action},on:{\"emitFirmwareVersion\":_vm.captureFirmwareVersion}})],1)])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"firmware\",attrs:{\"fluid\":\"\"}},[_c('n-modal',{ref:\"modalDialog\"}),_c('v-form',{staticClass:\"firmware__inner\",on:{\"submit\":function($event){$event.preventDefault();return _vm.apply.apply(null, arguments)}},model:{value:(_vm.validForm),callback:function ($$v) {_vm.validForm=$$v},expression:\"validForm\"}},[_c('n-devicetype-select',{attrs:{\"rules\":_vm.requiredRules,\"disabled\":_vm.action === _vm.actions.EDIT,\"required\":\"\"},model:{value:(_vm.firmware.deviceType),callback:function ($$v) {_vm.$set(_vm.firmware, \"deviceType\", $$v)},expression:\"firmware.deviceType\"}}),_c('n-level-select',{attrs:{\"rules\":_vm.requiredRules,\"disabled\":_vm.action === _vm.actions.EDIT,\"required\":\"\"},model:{value:(_vm.firmware.level),callback:function ($$v) {_vm.$set(_vm.firmware, \"level\", $$v)},expression:\"firmware.level\"}}),_c('div',{staticClass:\"firmware__versions\"},[_c('n-text-input',{attrs:{\"label\":\"major\",\"rules\":_vm.action !== _vm.actions.EDIT ? _vm.minimumOfZeroRules : [],\"disabled\":_vm.action === _vm.actions.EDIT,\"type\":\"number\",\"required\":\"\"},model:{value:(_vm.firmware.major),callback:function ($$v) {_vm.$set(_vm.firmware, \"major\", $$v)},expression:\"firmware.major\"}}),_c('n-text-input',{attrs:{\"label\":\"minor\",\"rules\":_vm.action !== _vm.actions.EDIT ? _vm.minimumOfZeroRules : [],\"disabled\":_vm.action === _vm.actions.EDIT,\"type\":\"number\",\"required\":\"\"},model:{value:(_vm.firmware.minor),callback:function ($$v) {_vm.$set(_vm.firmware, \"minor\", $$v)},expression:\"firmware.minor\"}}),(_vm.hasPatch)?_c('n-text-input',{attrs:{\"label\":\"patch\",\"disabled\":_vm.action === _vm.actions.EDIT,\"rules\":_vm.action !== _vm.actions.EDIT ? _vm.minimumOfZeroRules : [],\"type\":\"number\"},model:{value:(_vm.firmware.patch),callback:function ($$v) {_vm.$set(_vm.firmware, \"patch\", $$v)},expression:\"firmware.patch\"}}):_vm._e(),(_vm.firmware.level == _vm.firmwareLevel.Beta)?_c('n-text-input',{attrs:{\"label\":\"build\",\"disabled\":_vm.action === _vm.actions.EDIT,\"rules\":_vm.action !== _vm.actions.EDIT ? _vm.fwBuildRules : []},model:{value:(_vm.firmware.build),callback:function ($$v) {_vm.$set(_vm.firmware, \"build\", $$v)},expression:\"firmware.build\"}}):_vm._e()],1),_c('n-datetime-picker',{attrs:{\"label\":\"release-date\",\"inline\":false,\"required\":false,\"only-date\":true},on:{\"input\":_vm.setFormModified},model:{value:(_vm.firmware.releaseDate),callback:function ($$v) {_vm.$set(_vm.firmware, \"releaseDate\", $$v)},expression:\"firmware.releaseDate\"}}),_c('n-file-input',{attrs:{\"label\":\"file\",\"show-size\":_vm.action !== _vm.actions.EDIT,\"accept\":'.zip',\"rules\":_vm.action !== _vm.actions.EDIT ? _vm.requiredRules : []},on:{\"change\":_vm.setFormModified},model:{value:(_vm.firmware.file),callback:function ($$v) {_vm.$set(_vm.firmware, \"file\", $$v)},expression:\"firmware.file\"}}),_c('n-toggle',{attrs:{\"label\":\"enabled\",\"label-off\":\"disabled\"},on:{\"change\":function($event){return _vm.setFormModified(true)}},model:{value:(_vm.firmware.enable),callback:function ($$v) {_vm.$set(_vm.firmware, \"enable\", $$v)},expression:\"firmware.enable\"}}),_c('div',{staticClass:\"firmware__footer\"},[(_vm.action === _vm.actions.EDIT)?_c('div',{staticClass:\"firmware__delete-link\",on:{\"click\":_vm.deleteFirmware}},[_c('span',[_vm._v(_vm._s(_vm.$t('delete-firmware')))])]):_vm._e(),_c('n-button',{attrs:{\"label\":\"cancel\",\"secondary\":true,\"type\":\"button\"},nativeOn:{\"click\":function($event){return _vm.cancel.apply(null, arguments)}}}),_c('n-button',{staticClass:\"ml-3\",attrs:{\"label\":\"save\",\"disabled\":!_vm.validForm || !_vm.modifiedForm}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export class Firmware {\n public id: string | undefined;\n public deviceType: string;\n public level: string;\n public enable: boolean = true;\n public firmwareVersion: string;\n public releaseDate: Date | string | undefined;\n public major: number | undefined;\n public minor: number | undefined;\n public patch: number | undefined;\n public build: string | undefined;\n public file: any;\n\n constructor() {\n this.deviceType = '';\n this.level = '';\n this.firmwareVersion = '';\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FirmwareForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FirmwareForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./FirmwareForm.vue?vue&type=template&id=8f2cd95a&scoped=true&\"\nimport script from \"./FirmwareForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./FirmwareForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./FirmwareForm.vue?vue&type=style&index=0&id=8f2cd95a&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 \"8f2cd95a\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Firmware.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Firmware.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Firmware.vue?vue&type=template&id=555cab64&scoped=true&\"\nimport script from \"./Firmware.vue?vue&type=script&lang=ts&\"\nexport * from \"./Firmware.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 \"555cab64\",\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('v-switch',{attrs:{\"label\":_vm.$t(_vm.computedLabel),\"input-value\":_vm.value,\"disabled\":_vm.disabled},on:{\"change\":_vm.handleChange}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Toggle.vue?vue&type=template&id=07ccbe36&scoped=true&\"\nimport script from \"./Toggle.vue?vue&type=script&lang=ts&\"\nexport * from \"./Toggle.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 \"07ccbe36\",\n null\n \n)\n\nexport default component.exports","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\n\nvar quot = /\"/g;\nvar replace = uncurryThis(''.replace);\n\n// `CreateHTML` abstract operation\n// https://tc39.es/ecma262/#sec-createhtml\nmodule.exports = function (string, tag, attribute, value) {\n var S = toString(requireObjectCoercible(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + replace(toString(value), quot, '"') + '\"';\n return p1 + '>' + S + '';\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-text-field',{staticClass:\"input\",class:{ 'input__fluid': _vm.fluid , 'input__hidelabel': _vm.hideLabel, 'input__compact': _vm.compact},attrs:{\"rules\":_vm.rules || [],\"label\":_vm.labelString,\"placeholder\":_vm.$t(_vm.placeholder),\"required\":_vm.required,\"value\":_vm.value,\"type\":_vm.type,\"readonly\":_vm.readonly,\"disabled\":_vm.disabled,\"append-icon\":_vm.appendIcon,\"hide-details\":_vm.hideDetails,\"prepend-inner-icon\":_vm.prependInnerIcon},on:{\"input\":_vm.handleInput,\"change\":_vm.handleChange,\"blur\":_vm.handleBlur,\"focus\":_vm.handleFocus}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextInput.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextInput.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TextInput.vue?vue&type=template&id=ad9ad69c&\"\nimport script from \"./TextInput.vue?vue&type=script&lang=ts&\"\nexport * from \"./TextInput.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TextInput.vue?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","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.link` method\n// https://tc39.es/ecma262/#sec-string.prototype.link\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {\n link: function link(url) {\n return createHTML(this, 'a', 'href', url);\n }\n});\n","import axios from 'axios';\nimport * as endpoints from '@/services/endpoints.service';\nimport { Firmware } from '@/models/firmwares/firmware';\nimport { FirmwareFilter } from '@/models/firmwares/firmwareFilter';\nimport BasePaginationService from '@/services/base/basepagination.service';\n\nclass FirmwareService extends BasePaginationService {\n public getPaged(\n url: string,\n size: number,\n sort: string,\n sortDir: string,\n filter: FirmwareFilter,\n filtersChanged: boolean,\n page?: number,\n ) {\n let params: any = Object.assign({}, filter);\n params = {\n ...filter,\n releaseDateFrom: filter.releaseRangeDate.startDate,\n releaseDateTo: filter.releaseRangeDate.endDate,\n };\n\n return this.basePagination(\n url,\n endpoints.FIRMWARES_PAGED(size),\n sort,\n sortDir,\n params,\n filtersChanged,\n page,\n );\n }\n\n public getById(fwId: string) {\n return axios.get(endpoints.FIRMWARE_BY_ID(fwId));\n }\n\n public getByDeviceType(deviceType: string, level: string) {\n return axios.get(endpoints.FIRMWARES_BY_DEVICE_TYPE(deviceType, level));\n }\n\n public create(firmware: Firmware) {\n const config = {\n headers: {\n 'content-type': 'multipart/form-data',\n },\n };\n const formData = new FormData();\n for (const key in firmware) {\n if (Object.prototype.hasOwnProperty.call(firmware, key)) {\n const element = firmware[key];\n formData.append(key, element);\n }\n }\n return axios.post(endpoints.FIRMWARES(), formData, config);\n }\n\n public update(firmware: Firmware) {\n const config = {\n headers: {\n 'content-type': 'multipart/form-data',\n },\n };\n const formData = new FormData();\n for (const key in firmware) {\n if (Object.prototype.hasOwnProperty.call(firmware, key)) {\n const element = firmware[key];\n formData.append(key, element);\n }\n }\n return axios.put(endpoints.FIRMWARES(), formData, config);\n }\n\n public delete(fwId: string) {\n return axios.delete(endpoints.FIRMWARE_BY_ID(fwId));\n }\n}\n\nexport const firmwareService = new FirmwareService();\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"chartPrimary\":\"#0966ce\",\"chartRed\":\"#ff848b\",\"chartGreen\":\"#87e1c1\",\"chartGray\":\"#d9e2ea\",\"chartYellow\":\"#f5d187\",\"chartGrayCold\":\"#c3c3e5\",\"chartSalesPrimary\":\"#2859a4\",\"chartSalesSecondary\":\"#3bb3d4\",\"chartRechargesPrimary\":\"#60daaf\",\"chartRechargesSecondary\":\"#99ffdb\",\"chartColorDark\":\"#0966ce\",\"chartColorDarkContrast\":\"#6ecbff\",\"chartColorLight\":\"#c3c3e5\",\"chartTemperatureDataset1\":\"#0966ce\",\"chartTemperatureDataset2\":\"#6ecbff\",\"chartTemperatureDataset3\":\"#f5d187\",\"chartNeutral\":\"#d9e2ea\",\"chartWarnings\":\"#f5d187\",\"chartWarningsSecondary\":\"#f7daa1\",\"chartCriticals\":\"#ff848b\",\"chartCriticalsSecondary\":\"#ff999e\",\"chartOposErrors\":\"#374357\",\"chartOposErrorsSecondary\":\"#374357\"};","var fails = require('../internals/fails');\n\n// check the existence of a method, lowercase\n// of a tag and escaping quotes in arguments\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n var test = ''[METHOD_NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n });\n};\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BackNavigationToolbar.vue?vue&type=style&index=0&id=8a8411b2&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"toolbar\"},[_c('div',{staticClass:\"toolbar__title\"},[(_vm.allowBack)?_c('i',{staticClass:\"icon-arrow-left\",on:{\"click\":function($event){return _vm.goToPage()}}}):_vm._e(),_c('span',[_vm._v(_vm._s(_vm.title))])]),_c('div',{staticClass:\"toolbar__actions\"},[_vm._t(\"actions\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BackNavigationToolbar.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BackNavigationToolbar.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BackNavigationToolbar.vue?vue&type=template&id=8a8411b2&scoped=true&\"\nimport script from \"./BackNavigationToolbar.vue?vue&type=script&lang=ts&\"\nexport * from \"./BackNavigationToolbar.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./BackNavigationToolbar.vue?vue&type=style&index=0&id=8a8411b2&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 \"8a8411b2\",\n null\n \n)\n\nexport default component.exports","import { DeviceType } from '@/models/common/constants';\n\nexport const isDeviceType = (type: string) => {\n let is = false;\n for (const property in DeviceType) {\n if (type === DeviceType[property]) {\n is = true;\n }\n }\n return is;\n};\n\nexport const canHaveCashDatabase = (type: string) => {\n switch (type) {\n case DeviceType.CHEX:\n case DeviceType.CUNI:\n return true;\n default:\n return false;\n }\n};\n\nexport const canHaveScreenConfiguration = (type: string) => {\n switch (type) {\n case DeviceType.CDUK:\n case DeviceType.CELY:\n case DeviceType.CENG:\n return true;\n default:\n return false;\n }\n};\n\nexport const canBeWhitelistedForEnrolment = (type: string) => {\n return type === DeviceType.CENG;\n};\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextInput.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}