{"version":3,"sources":["webpack:///./src/views/manage/cash-db/CashDatabase.vue?1050","webpack:///./src/views/manage/cash-db/components/CashDatabaseForm.vue?9004","webpack:///./src/models/cash-database/cashDatabase.ts","webpack:///./node_modules/cache-loader/dist/cjs.js","webpack:///./src/views/manage/cash-db/components/CashDatabaseForm.vue?b919","webpack:///./src/views/manage/cash-db/components/CashDatabaseForm.vue","webpack:///./src/views/manage/cash-db/CashDatabase.vue?d3e3","webpack:///./src/views/manage/cash-db/CashDatabase.vue","webpack:///./src/utils/axios-utils/response.utils.ts","webpack:///./src/components/inputs/customs/DeviceAndPeripheralTypeSelect.vue?0c44","webpack:///./src/components/inputs/customs/DeviceAndPeripheralTypeSelect.vue?2a46","webpack:///./src/components/inputs/customs/DeviceAndPeripheralTypeSelect.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:///./src/components/inputs/customs/DeviceAndPeripheralTypeSelect.vue?e50f","webpack:///./node_modules/core-js/modules/es.string.link.js","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/services/cash-databases/cashDatabase.service.ts","webpack:///./src/components/inputs/TextInput.vue?e01e","webpack:///./src/views/manage/cash-db/components/CashDatabaseForm.vue?99a0"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","cashDatabaseName","slot","action","on","captureName","staticRenderFns","staticClass","ref","$event","preventDefault","apply","arguments","model","value","callback","$$v","validForm","expression","requiredRules","setFormModified","cashDatabase","$set","dbVersion","_e","date","$dates","getDateHourFormatted","actions","EDIT","fileName","downloadUrl","_v","_s","deleteCashDatabase","$t","cancel","modifiedForm","CashDatabase","enabled","CashDatabaseForm","initValidationRules","getCashDatabaseData","$route","params","id","update","create","$router","back","$store","getters","MerchantsGetters","GetSelectedMerchant","merchantId","goToManage","modified","push","name","Routes","ManageCashDatabases","$spinner","showSpinner","cashDatabaseService","get","then","response","data","$emit","description","catch","error","manageError","finally","removeSpinner","$toaster","showSuccess","modalDialog","confirm","confirmresult","delete","alternative","status","HttpErrors","Conflict","showError","errorLocaleLabelKey","Vue","__decorate","Prop","Ref","Watch","Component","components","Button","FileInput","Modal","DeviceAndPeripheralTypeSelect","TextInput","Toggle","component","arg","String","BackNavigationToolbar","Card","CardContainer","translationLabel","Extensions","TranslationLabel","BadRequest","Forbidden","NotFound","Unauthorized","class","compact","items","clearable","rules","disabled","handleSelect","scopedSlots","_u","key","fn","item","header","domProps","text","getDeviceTypes","getPeripheralTypes","deviceTypes","MastersGetters","GetDeviceTypes","deviceTypeFiltered","onlyCashDatabaseDevices","filter","c","canHaveCashDatabase","sortedByName","slice","sort","a","b","x","toString","toLowerCase","y","localeCompare","map","code","peripheralTypes","GetPeripheralTypes","default","undefined","SelectInput","computedLabel","handleChange","strNoWhitespaces","labelOff","label","change","uncurryThis","requireObjectCoercible","quot","replace","module","exports","string","tag","attribute","S","p1","fluid","hideLabel","labelString","placeholder","required","type","readonly","appendIcon","hideDetails","prependInnerIcon","handleInput","handleBlur","handleFocus","input","emit","$","createHTML","forcedStringHTMLMethod","target","proto","forced","link","url","fails","METHOD_NAME","test","split","length","goToPage","title","_t","go","isDeviceType","is","property","DeviceType","CHEX","CUNI","canHaveScreenConfiguration","CDUK","CELY","CENG","canBeWhitelistedForEnrolment","CashDatabaseService","size","sortDir","filtersChanged","page","Object","assign","dateFrom","datesRange","startDate","dateTo","endDate","basePagination","endpoints","cashDatabaseId","axios","deviceType","config","headers","formData","FormData","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jC,GAChC,IAAMmN,EAAS,CACbC,QAAS,CACP,eAAgB,wBAGdC,EAAW,IAAIC,SACrB,IAAK,IAAMjH,KAAOrG,EAChB,GAAIuM,OAAOgB,UAAUC,eAAeC,KAAKzN,EAAcqG,GAAM,CAC3D,IAAMqH,EAAU1N,EAAaqG,GAC7BgH,EAASM,OAAOtH,EAAKqH,GAGzB,OAAOT,IAAMW,KACXb,OAAwB9K,GACxBoL,EACAF,K,oBAIG,SAAOlL,EAAoBjC,GAChC,IAAMmN,EAAS,CACbC,QAAS,CACP,eAAgB,wBAGdC,EAAW,IAAIC,SACrB,IAAK,IAAMjH,KAAOrG,EAChB,GAAIuM,OAAOgB,UAAUC,eAAeC,KAAKzN,EAAcqG,GAAM,CAC3D,IAAMqH,EAAU1N,EAAaqG,GAC7BgH,EAASM,OAAOtH,EAAKqH,GAGzB,OAAOT,IAAMY,IACXd,OAAwB9K,GACxBoL,EACAF,K,oBAIG,SAAOlL,EAAoB+K,GAChC,OAAOC,IAAMtJ,OACXoJ,OAA8B9K,EAAY+K,Q,GAnFdc,QAwFrBpL,EAAsB,IAAIwJ,G,kCC9FvC,W,kCCAA","file":"js/chunk-204e0ba4.ebcb67f4.js","sourcesContent":["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.cashDatabaseName}}),_c('n-card-container',[_c('n-card',{attrs:{\"type\":\"xl\"}},[_c('div',{attrs:{\"slot\":\"\"},slot:\"default\"},[_c('n-cash-database-form',{attrs:{\"action\":_vm.action},on:{\"emitName\":_vm.captureName}})],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:\"cash-database-form\",attrs:{\"fluid\":\"\"}},[_c('n-modal',{ref:\"modalDialog\"}),_c('v-form',{staticClass:\"cash-database-form__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-periferictype-devicetype-select',{attrs:{\"rules\":_vm.requiredRules,\"only-cash-database-devices\":true},on:{\"input\":_vm.setFormModified},model:{value:(_vm.cashDatabase.deviceType),callback:function ($$v) {_vm.$set(_vm.cashDatabase, \"deviceType\", $$v)},expression:\"cashDatabase.deviceType\"}}),_c('n-text-input',{attrs:{\"label\":\"description\",\"rules\":_vm.requiredRules},on:{\"input\":_vm.setFormModified},model:{value:(_vm.cashDatabase.description),callback:function ($$v) {_vm.$set(_vm.cashDatabase, \"description\", $$v)},expression:\"cashDatabase.description\"}}),(!!_vm.cashDatabase.dbVersion)?_c('n-text-input',{attrs:{\"label\":\"cash-database-version\",\"disabled\":true},model:{value:(_vm.cashDatabase.dbVersion),callback:function ($$v) {_vm.$set(_vm.cashDatabase, \"dbVersion\", $$v)},expression:\"cashDatabase.dbVersion\"}}):_vm._e(),(!!_vm.cashDatabase.date)?_c('n-text-input',{attrs:{\"label\":\"date\",\"value\":_vm.$dates.getDateHourFormatted(_vm.cashDatabase.date),\"disabled\":true}}):_vm._e(),(_vm.action !== _vm.actions.EDIT)?_c('n-file-input',{attrs:{\"label\":\"file\",\"show-size\":_vm.action !== _vm.actions.EDIT,\"rules\":_vm.action !== _vm.actions.EDIT ? _vm.requiredRules : []},on:{\"change\":_vm.setFormModified},model:{value:(_vm.cashDatabase.file),callback:function ($$v) {_vm.$set(_vm.cashDatabase, \"file\", $$v)},expression:\"cashDatabase.file\"}}):_vm._e(),(!!_vm.cashDatabase.fileName)?_c('v-chip',{attrs:{\"link\":\"\"}},[_c('a',{attrs:{\"href\":_vm.cashDatabase.downloadUrl,\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.cashDatabase.fileName))])]):_vm._e(),_c('n-toggle',{attrs:{\"label\":\"enabled\",\"label-off\":\"disabled\"},on:{\"change\":function($event){return _vm.setFormModified(true)}},model:{value:(_vm.cashDatabase.enabled),callback:function ($$v) {_vm.$set(_vm.cashDatabase, \"enabled\", $$v)},expression:\"cashDatabase.enabled\"}}),_c('div',{staticClass:\"cash-database-form__footer mt-4\"},[(_vm.action === _vm.actions.EDIT)?_c('div',{staticClass:\"cash-database-form__link\",on:{\"click\":_vm.deleteCashDatabase}},[_c('span',[_vm._v(_vm._s(_vm.$t('delete-cash-database')))])]):_vm._e(),_c('n-button',{staticClass:\"ml-3\",attrs:{\"label\":\"cancel\",\"type\":\"button\",\"secondary\":true},on:{\"click\":_vm.cancel}}),_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 CashDatabase {\n public id!: string;\n public description!: string;\n public deviceType!: string;\n public dbVersion!: string;\n public date!: string;\n public enabled: boolean = true;\n public fileName!: string;\n public downloadUrl!: string;\n}\n","\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!./CashDatabaseForm.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!./CashDatabaseForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CashDatabaseForm.vue?vue&type=template&id=e1a21460&scoped=true&\"\nimport script from \"./CashDatabaseForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./CashDatabaseForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CashDatabaseForm.vue?vue&type=style&index=0&id=e1a21460&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 \"e1a21460\",\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!./CashDatabase.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!./CashDatabase.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CashDatabase.vue?vue&type=template&id=617c7572&scoped=true&\"\nimport script from \"./CashDatabase.vue?vue&type=script&lang=ts&\"\nexport * from \"./CashDatabase.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 \"617c7572\",\n null\n \n)\n\nexport default component.exports","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('v-select',{staticClass:\"select\",class:{ 'select--compact': _vm.compact },attrs:{\"value\":_vm.value,\"items\":_vm.items,\"label\":_vm.$t('devicetype-or-peripheraltype'),\"item-text\":\"text\",\"item-value\":\"code\",\"clearable\":_vm.clearable,\"rules\":_vm.rules,\"disabled\":_vm.disabled},on:{\"change\":_vm.handleSelect},scopedSlots:_vm._u([{key:\"item\",fn:function(data){return [(!!data.item.header)?[_c('v-list-item-content',{attrs:{\"name\":data.item.header},domProps:{\"textContent\":_vm._s(data.item)}})]:[_vm._v(\" \"+_vm._s(data.item.text)+\" \")]]}}])})}\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!./DeviceAndPeripheralTypeSelect.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!./DeviceAndPeripheralTypeSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DeviceAndPeripheralTypeSelect.vue?vue&type=template&id=5dcd947e&scoped=true&\"\nimport script from \"./DeviceAndPeripheralTypeSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./DeviceAndPeripheralTypeSelect.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DeviceAndPeripheralTypeSelect.vue?vue&type=style&index=0&id=5dcd947e&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 \"5dcd947e\",\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","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!./DeviceAndPeripheralTypeSelect.vue?vue&type=style&index=0&id=5dcd947e&lang=scss&scoped=true&\"","'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","// 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","import axios from 'axios';\nimport * as endpoints from '@/services/endpoints.service';\nimport BasePaginationService from '@/services/base/basepagination.service';\nimport { CashDatabase } from '@/models/cash-database/cashDatabase';\nimport { CashDatabaseFilter } from '@/models/cash-database/cashDatabaseFilter';\n\nclass CashDatabaseService extends BasePaginationService {\n public getCashDatabases(\n url: string,\n size: number,\n sort: string,\n sortDir: string,\n merchantId: string,\n filter: CashDatabaseFilter,\n filtersChanged: boolean,\n page?: number,\n ) {\n let params: any = Object.assign({}, filter);\n params = {\n ...filter,\n dateFrom: filter.datesRange.startDate,\n dateTo: filter.datesRange.endDate,\n };\n\n return this.basePagination(\n url,\n endpoints.CASHDATABASES_PAGED(merchantId, size),\n sort,\n sortDir,\n params,\n filtersChanged,\n page,\n );\n }\n\n public get(merchantId: string, cashDatabaseId: string) {\n return axios.get(\n endpoints.CASHDATABASES_BY_ID(merchantId, cashDatabaseId),\n );\n }\n\n public getByDeviceType(merchantId: string, deviceType: string) {\n return axios.get(\n endpoints.CASHDATABASES_BY_DEVICE_TYPE(merchantId, deviceType),\n );\n }\n\n public create(merchantId: string, cashDatabase: CashDatabase) {\n const config = {\n headers: {\n 'content-type': 'multipart/form-data',\n },\n };\n const formData = new FormData();\n for (const key in cashDatabase) {\n if (Object.prototype.hasOwnProperty.call(cashDatabase, key)) {\n const element = cashDatabase[key];\n formData.append(key, element);\n }\n }\n return axios.post(\n endpoints.CASHDATABASES(merchantId),\n formData,\n config,\n );\n }\n\n public update(merchantId: string, cashDatabase: CashDatabase) {\n const config = {\n headers: {\n 'content-type': 'multipart/form-data',\n },\n };\n const formData = new FormData();\n for (const key in cashDatabase) {\n if (Object.prototype.hasOwnProperty.call(cashDatabase, key)) {\n const element = cashDatabase[key];\n formData.append(key, element);\n }\n }\n return axios.put(\n endpoints.CASHDATABASES(merchantId),\n formData,\n config,\n );\n }\n\n public delete(merchantId: string, cashDatabaseId: string) {\n return axios.delete(\n endpoints.CASHDATABASES_BY_ID(merchantId, cashDatabaseId),\n );\n }\n}\n\nexport const cashDatabaseService = new CashDatabaseService();\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&\"","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!./CashDatabaseForm.vue?vue&type=style&index=0&id=e1a21460&lang=scss&scoped=true&\""],"sourceRoot":""}