{"version":3,"sources":["webpack:///./src/views/ChargeTemplate.vue?ff31","webpack:///./node_modules/@tinymce/tinymce-vue/lib/es2015/main/ts/Utils.js","webpack:///./node_modules/@tinymce/tinymce-vue/lib/es2015/main/ts/ScriptLoader.js","webpack:///./node_modules/@tinymce/tinymce-vue/lib/es2015/main/ts/components/EditorPropTypes.js","webpack:///./node_modules/@tinymce/tinymce-vue/lib/es2015/main/ts/components/Editor.js","webpack:///./node_modules/@tinymce/tinymce-vue/lib/es2015/main/ts/index.js","webpack:///./src/views/ChargeTemplate.vue","webpack:///./src/views/ChargeTemplate.vue?90ab","webpack:///./src/views/ChargeTemplate.vue?7bbc","webpack:///./src/store/modules/chargeEditorModule.ts","webpack:///./src/store/modules/customerModule.ts","webpack:///./node_modules/vuetify/src/components/VTextarea/VTextarea.sass?e720","webpack:///../../../src/components/VTextField/index.ts","webpack:///./src/components/shared/validationRules.ts","webpack:///../../../src/components/VForm/VForm.ts","webpack:///./node_modules/vuetify/src/components/VFileInput/VFileInput.sass?4095","webpack:///./src/util/licenseplateutil.ts","webpack:///./src/util/imageconverter.ts","webpack:///./node_modules/vuetify/src/components/VChip/VChip.sass?3972","webpack:///./node_modules/@tinymce/tinymce-vue/lib/es2015/main/ts/TinyMCE.js","webpack:///./src/components/shared/CustomTextArea.vue?98f9","webpack:///./src/components/shared/CustomTextArea.vue","webpack:///./src/components/shared/CustomTextArea.vue?70ae","webpack:///../../../src/components/VTextarea/VTextarea.ts","webpack:///./src/components/shared/CustomTextArea.vue?c856","webpack:///../../../src/components/VChip/VChip.ts","webpack:///./src/components/shared/CustomFileInput.vue?9c60","webpack:///./src/components/shared/CustomFileInput.vue","webpack:///./src/components/shared/CustomFileInput.vue?f359","webpack:///../../../src/components/VFileInput/VFileInput.ts","webpack:///./src/components/shared/CustomFileInput.vue?0545"],"names":["ChargeTemplate","Vue","Action","mounted","customerLogo","customerModule","fetchCustomerLogo","template","chargeEditorModule","fetchChargeTemplate","handleChargeTemplateSave","request","ChargeTemplateRequest","saveChargeTemplate","previewChargeTemplate","PreviewTemplateRequest","logo","handleLogoSave","isValid","$refs","logoForm","validate","isLogoUpdateLoading","addCustomerLogo","setLogo","file","base64string","readUploadedFileAsText","e","getTemplate","getChargeTemplate","__decorate","Component","name","components","Editor","CustomButton","CustomTextArea","CustomFileInput","methods","maxFileSize","required","ImageMap","constructor","path","base64","ChargeEditorModule","VuexModule","customerName","customerAddress","customerCity","chargeAmount","parkingFee","vehicleIdent","fetchImagesPaths","parking","context","commit","apiClient","images","authenticationModule","getCustomerId","parkingRightID","then","response","data","catch","notificationModule","SHOW_NOTIFICATION","message","t","criticality","Criticality","Error","finally","selectImage","previewPdf","preview","editedItem","chargeEditorData","selectedImagePaths","markCurrentAsPaid","markAsPaid","downloadPdf","result","charge","fileName","moment","Date","format","downloadFileFromServer","error","fetchUnpaidParking","unpaidGET","customerId","area","defaultChargeAmount","getLastItemInArray","vehicleIdents","price","imageMaps","map","image","imagePath","imageSource","err","chargeGET","templateRequest","chargePOST","Success","SET_SELECTED_IMAGE_PATH","includes","filter","item","length","push","RESET_STATE","loading","UnpaidParkingResponse","htmlPreview","imagePaths","imageMap","SET_LOADING_STATUS","isLoading","SET_SELECTED_IMAGE_PATHS","paths","SET_IMAGE_PATHS","SET_HTML_PREVIEW","SET_IMAGES","SET_IMAGE_MAP","maps","SET_EDITED_PARKING","SET_PDF_LOADING","SET_CHARGE_EDITOR_DATA","SET_CHARGE_TEMPLATE","chargeTemplate","getSelectedImagePaths","getImagePaths","getHtmlPreview","getCurrentImages","getEditedItem","getChargeEditorData","rawError","prototype","Mutation","Module","dynamic","store","getModule","CustomerModule","CostumerResponse","getCustomers","customers","getCustomer","customer","getDataConfigurations","dataConfigurations","getCustomerLogo","fetchCustomers","costumersGET","fetchCustomerById","costumersGET2","impersonateCustomer","personate","fetchDataConfigurations","costumerId","maskingGET","updateDataConfiguration","dataConfig","maskingPUT","logoGET","logoPOST","SET_CUSTOMER","SET_CUSTOMERS","SET_DATA_CONFIGURATIONS","SET_CUSTOMER_LOGO","namespaced","VTextField","value","Array","isArray","i18n","minLength","maxLength","minNumber","Number","maxNumber","numberRange","password","str","whiteSpace","test","hasLowerCaseLetter","hasUpperCaseLetter","hasNumber","hasSpecialCharacter","passwordMatch","password1","password2","max","mixins","BindsAttrs","RegistrableProvide","extend","provide","form","inheritAttrs","props","disabled","Boolean","lazyValidation","readonly","inputs","watchers","errorBag","watch","handler","val","errors","Object","values","$emit","deep","immediate","watchInput","input","watcher","$watch","$set","_uid","valid","shouldValidate","hasOwnProperty","reset","forEach","resetErrorBag","setTimeout","resetValidation","register","unregister","found","find","i","unwatch","$delete","render","h","staticClass","attrs","novalidate","attrs$","on","submit","$slots","default","array","getLicensePlateString","formatLicensePlate","licensePlate","isDkLicensePlate","substring","convertFileToBase64","Promise","resolve","reject","reader","FileReader","readAsDataURL","onload","inputFile","temporaryFileReader","onerror","abort","DOMException","getFileBase64String","base64String","encodedString","split","onBlur","onInput","getLabel","rules","some","rule","label","PropSync","Prop","type","String","undefined","baseMixins","autoGrow","noResize","rowHeight","validator","v","isNaN","parseFloat","rows","parseInt","computed","classes","noResizeHandle","options","call","$nextTick","calculateInputHeight","_this$$refs$input","style","removeProperty","lazyValue","height","scrollHeight","minHeight","Math","genInput","tag","onKeyDown","isFocused","keyCode","stopPropagation","Colorable","Sizeable","Routable","Themeable","GroupableFactory","ToggleableFactory","active","activeClass","chipGroup","close","closeIcon","closeLabel","draggable","filterIcon","link","outlined","pill","textColor","proxyClass","isClickable","isLink","color","hasClose","themeClasses","sizeableClasses","groupClasses","created","breakingProps","original","replacement","$attrs","breaking","click","toggle","genFilter","children","isActive","$createElement","VIcon","left","VExpandXTransition","genClose","right","size","$vuetify","lang","preventDefault","genContent","generateRouteLink","tabindex","directives","setBackgroundColor","setTextColor","onChange","onClickClear","model","prop","event","chips","clearable","counterSizeString","counterString","hideInput","multiple","placeholder","prependIcon","showSize","smallChips","truncateLength","wrapInArray","every","computedCounterValue","fileCount","File","bytes","internalArrayValue","reduce","humanReadableFileSize","base","internalValue","get","set","isDirty","isLabelActive","text","persistentPlaceholder","hasLabel","truncatedText","truncateText","hasChips","consoleError","deepEqual","files","clearableCallback","genChips","index","VChip","small","splice","genControl","mergeStyles","display","domProps","change","genSelections","genPrependSlot","icon","genIcon","genSlot","genSelectionText","counter","$scopedSlots","selection","class","genTextFieldSlot","node","target","initialValue","charsKeepOneSide","floor","slice"],"mappings":";;;;;;;;;;AAAA,0BAA0B,aAAa,0BAA0B,wBAAwB,qBAAqB,wBAAwB,WAAW,mBAAmB,qDAAqD,aAAa,cAAc,cAAc,aAAa,sBAAsB,YAAY,gCAAgC,4DAA4D,qBAAqB,OAAO,uDAAuD,KAAK,6CAA6C,qBAAqB,OAAO,qDAAqD,KAAK,gDAAgD,mBAAmB,OAAO;AAClrB;AACA;AACA;AACA;AACA;AACA,UAAU,QAAQ,8CAA8C,iBAAiB,wBAAwB,YAAY,gCAAgC,4DAA4D,qBAAqB,OAAO,uDAAuD,KAAK,6CAA6C,qBAAqB,OAAO,qDAAqD,KAAK,gDAAgD,sBAAsB,aAAa,qBAAqB,eAAe,eAAe,wBAAwB,OAAO,iFAAiF,KAAK,wCAAwC,2BAA2B,wCAAwC,wBAAwB,YAAY,aAAa,oBAAoB,QAAQ,wBAAwB,YAAY,gCAAgC,+CAA+C,qBAAqB,OAAO,yFAAyF,KAAK,sCAAsC;AAClnC;;;;;;;;;;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,0CAA0C,4BAA4B,EAAE,oCAAoC;AAC7I;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0DAA0D,2BAA2B,EAAE;AACvF;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,8CAA8C,kCAAkC;AAChF,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+FAA+F,kCAAkC;AACjI;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,8CAA8C;AAC8B;;;ACpItH;AACA;AACA;AACA;AACA;AACA;AACA;AAC+B;AAC/B;AACA;AACA;AACA,kBAAkB,IAAI;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2DAA2D,aAAa,EAAE;AAC1E;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACwB;;;;;;ACxDxB;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,2CAA2C;AAC/E,KAAK;AACL;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,SAAI,IAAI,SAAI;AAC5B;AACA,gDAAgD,OAAO;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC+C;AACP;AACiD;AACzC;AAChD;AACA;AACA,gBAAgB;AAChB,KAAK;AACL;AACA;AACA;AACA,gBAAgB,SAAS;AACzB,gBAAgB;AAChB,KAAK;AACL;AACA,iCAAiC;AACjC,wCAAwC,qB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AK4M,cAAN,CAAN,GAA8B,CAA/B,IAAoC,CAA/C,CAAzB;MACA,OAAO,GAAGxM,GAAG,CAAC4P,KAAJ,CAAU,CAAV,EAAaF,gBAAb,CAA8B,IAAI1P,GAAG,CAAC4P,KAAJ,CAAU5P,GAAG,CAAC3E,MAAJ,GAAaqU,gBAAvB,CAAwC,EAApF;IACD;EAxHM;AAlJsB,CAAlB,CAAf,E;;;;;ACjB0G;AACvC;AACL;;;AAG9D;AAC6F;AAC7F,gBAAgB,8CAAU;AAC1B,EAAE,8CAAM;AACR,EAAE,+DAAM;AACR,EAAE,eAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEe,uGAAiB;;AAEhC;AACsG;AACvC;AACV;AACrD,2BAAiB,aAAa,iCAAU,CAAC,+BAAK,CAAC","file":"js/chunk-3164bf8d.574225fb.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"pa-4 mb-5\"},[_c('h1',{staticClass:\"mb-4\"},[_vm._v(_vm._s(\"chargeTemplate\".t()))]),_c('v-row',{staticStyle:{\"gap\":\"50px\"}},[_c('v-col',{staticStyle:{\"max-width\":\"1000px\"}},[_c('div',{staticClass:\"mb-4\",staticStyle:{\"display\":\"flex\",\"justify-content\":\"flex-end\",\"gap\":\"10px\"}},[_c('CustomButton',{attrs:{\"action\":_vm.action.Export,\"text\":'button_preview'.t()},on:{\"on-button-click\":_vm.previewChargeTemplate}}),_c('CustomButton',{attrs:{\"action\":_vm.action.Primary,\"text\":'button_save'.t()},on:{\"on-button-click\":_vm.handleChargeTemplateSave}})],1),_c('Editor',{attrs:{\"cloud-channel\":\"6\",\"api-key\":\"4d1zqwawnmxproypisehkk6h434gnm4t19nclpskt89tbeem\",\"init\":{\n plugins: ['lists', 'searchreplace', 'code', 'image'],\n height: '1000',\n valid_children: '+body[style]',\n extended_valid_elements: 'ul[*]',\n indent: false,\n }},model:{value:(_vm.template),callback:function ($$v) {_vm.template=$$v},expression:\"template\"}}),_c('div',{staticClass:\"mt-4\",staticStyle:{\"display\":\"flex\",\"justify-content\":\"flex-end\",\"gap\":\"10px\"}},[_c('CustomButton',{attrs:{\"action\":_vm.action.Export,\"text\":'button_preview'.t()},on:{\"on-button-click\":_vm.previewChargeTemplate}}),_c('CustomButton',{attrs:{\"action\":_vm.action.Primary,\"text\":'button_save'.t()},on:{\"on-button-click\":_vm.handleChargeTemplateSave}})],1)],1),_c('v-col',{staticStyle:{\"max-width\":\"500px\"}},[_c('v-form',{ref:\"logoForm\"},[_c('CustomFileInput',{attrs:{\"label\":\"Logo\",\"rules\":[_vm.maxFileSize(_vm.customerLogo, 100000), _vm.required]},on:{\"on-file-input-change\":function($event){return _vm.setLogo($event)},\"on-file-input-clear\":function($event){_vm.customerLogo = ''}}}),_c('img',{staticStyle:{\"max-width\":\"400px\"},attrs:{\"src\":_vm.customerLogo}}),_c('div',{staticClass:\"mt-4\",staticStyle:{\"display\":\"flex\",\"justify-content\":\"flex-end\"}},[_c('CustomButton',{attrs:{\"action\":_vm.action.Primary,\"text\":'button_save'.t(),\"isLoading\":_vm.isLogoUpdateLoading},on:{\"on-button-click\":_vm.handleLogoSave}})],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/**\n * Copyright (c) 2018-present, Ephox, Inc.\n *\n * This source code is licensed under the Apache 2 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\nvar validEvents = [\n 'onActivate',\n 'onAddUndo',\n 'onBeforeAddUndo',\n 'onBeforeExecCommand',\n 'onBeforeGetContent',\n 'onBeforeRenderUI',\n 'onBeforeSetContent',\n 'onBeforePaste',\n 'onBlur',\n 'onChange',\n 'onClearUndos',\n 'onClick',\n 'onContextMenu',\n 'onCopy',\n 'onCut',\n 'onDblclick',\n 'onDeactivate',\n 'onDirty',\n 'onDrag',\n 'onDragDrop',\n 'onDragEnd',\n 'onDragGesture',\n 'onDragOver',\n 'onDrop',\n 'onExecCommand',\n 'onFocus',\n 'onFocusIn',\n 'onFocusOut',\n 'onGetContent',\n 'onHide',\n 'onInit',\n 'onKeyDown',\n 'onKeyPress',\n 'onKeyUp',\n 'onLoadContent',\n 'onMouseDown',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseMove',\n 'onMouseOut',\n 'onMouseOver',\n 'onMouseUp',\n 'onNodeChange',\n 'onObjectResizeStart',\n 'onObjectResized',\n 'onObjectSelected',\n 'onPaste',\n 'onPostProcess',\n 'onPostRender',\n 'onPreProcess',\n 'onProgressState',\n 'onRedo',\n 'onRemove',\n 'onReset',\n 'onSaveContent',\n 'onSelectionChange',\n 'onSetAttrib',\n 'onSetContent',\n 'onShow',\n 'onSubmit',\n 'onUndo',\n 'onVisualAid'\n];\nvar isValidKey = function (key) { return validEvents.map(function (event) { return event.toLowerCase(); }).indexOf(key.toLowerCase()) !== -1; };\nvar bindHandlers = function (initEvent, listeners, editor) {\n Object.keys(listeners)\n .filter(isValidKey)\n .forEach(function (key) {\n var handler = listeners[key];\n if (typeof handler === 'function') {\n if (key === 'onInit') {\n handler(initEvent, editor);\n }\n else {\n editor.on(key.substring(2), function (e) { return handler(e, editor); });\n }\n }\n });\n};\nvar bindModelHandlers = function (ctx, editor) {\n var modelEvents = ctx.$props.modelEvents ? ctx.$props.modelEvents : null;\n var normalizedEvents = Array.isArray(modelEvents) ? modelEvents.join(' ') : modelEvents;\n editor.on(normalizedEvents ? normalizedEvents : 'change input undo redo', function () {\n ctx.$emit('input', editor.getContent({ format: ctx.$props.outputFormat }));\n });\n};\nvar initEditor = function (initEvent, ctx, editor) {\n var value = ctx.$props.value ? ctx.$props.value : '';\n var initialValue = ctx.$props.initialValue ? ctx.$props.initialValue : '';\n editor.setContent(value || (ctx.initialized ? ctx.cache : initialValue));\n // Always bind the value listener in case users use :value instead of v-model\n ctx.$watch('value', function (val, prevVal) {\n if (editor && typeof val === 'string' && val !== prevVal && val !== editor.getContent({ format: ctx.$props.outputFormat })) {\n editor.setContent(val);\n }\n });\n // checks if the v-model shorthand is used (which sets an v-on:input listener) and then binds either\n // specified the events or defaults to \"change keyup\" event and emits the editor content on that event\n if (ctx.$listeners.input) {\n bindModelHandlers(ctx, editor);\n }\n bindHandlers(initEvent, ctx.$listeners, editor);\n ctx.initialized = true;\n};\nvar unique = 0;\nvar uuid = function (prefix) {\n var time = Date.now();\n var random = Math.floor(Math.random() * 1000000000);\n unique++;\n return prefix + '_' + random + unique + String(time);\n};\nvar isTextarea = function (element) {\n return element !== null && element.tagName.toLowerCase() === 'textarea';\n};\nvar normalizePluginArray = function (plugins) {\n if (typeof plugins === 'undefined' || plugins === '') {\n return [];\n }\n return Array.isArray(plugins) ? plugins : plugins.split(' ');\n};\nvar mergePlugins = function (initPlugins, inputPlugins) {\n return normalizePluginArray(initPlugins).concat(normalizePluginArray(inputPlugins));\n};\nvar isNullOrUndefined = function (value) { return value === null || value === undefined; };\nexport { bindHandlers, bindModelHandlers, initEditor, isValidKey, uuid, isTextarea, mergePlugins, isNullOrUndefined };\n","/**\n * Copyright (c) 2018-present, Ephox, Inc.\n *\n * This source code is licensed under the Apache 2 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\nimport { uuid } from './Utils';\nvar createState = function () {\n return {\n listeners: [],\n scriptId: uuid('tiny-script'),\n scriptLoaded: false\n };\n};\nvar CreateScriptLoader = function () {\n var state = createState();\n var injectScriptTag = function (scriptId, doc, url, callback) {\n var scriptTag = doc.createElement('script');\n scriptTag.referrerPolicy = 'origin';\n scriptTag.type = 'application/javascript';\n scriptTag.id = scriptId;\n scriptTag.src = url;\n var handler = function () {\n scriptTag.removeEventListener('load', handler);\n callback();\n };\n scriptTag.addEventListener('load', handler);\n if (doc.head) {\n doc.head.appendChild(scriptTag);\n }\n };\n var load = function (doc, url, callback) {\n if (state.scriptLoaded) {\n callback();\n }\n else {\n state.listeners.push(callback);\n if (!doc.getElementById(state.scriptId)) {\n injectScriptTag(state.scriptId, doc, url, function () {\n state.listeners.forEach(function (fn) { return fn(); });\n state.scriptLoaded = true;\n });\n }\n }\n };\n // Only to be used by tests.\n var reinitialize = function () {\n state = createState();\n };\n return {\n load: load,\n reinitialize: reinitialize\n };\n};\nvar ScriptLoader = CreateScriptLoader();\nexport { ScriptLoader };\n","/**\n * Copyright (c) 2018-present, Ephox, Inc.\n *\n * This source code is licensed under the Apache 2 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\nexport var editorProps = {\n apiKey: String,\n cloudChannel: String,\n id: String,\n init: Object,\n initialValue: String,\n inline: Boolean,\n modelEvents: [String, Array],\n plugins: [String, Array],\n tagName: String,\n toolbar: [String, Array],\n value: String,\n disabled: Boolean,\n tinymceScriptSrc: String,\n outputFormat: {\n type: String,\n validator: function (prop) { return prop === 'html' || prop === 'text'; }\n },\n};\n","/**\n * Copyright (c) 2018-present, Ephox, Inc.\n *\n * This source code is licensed under the Apache 2 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nimport { ScriptLoader } from '../ScriptLoader';\nimport { getTinymce } from '../TinyMCE';\nimport { initEditor, isTextarea, mergePlugins, uuid, isNullOrUndefined } from '../Utils';\nimport { editorProps } from './EditorPropTypes';\nvar renderInline = function (h, id, tagName) {\n return h(tagName ? tagName : 'div', {\n attrs: { id: id }\n });\n};\nvar renderIframe = function (h, id) {\n return h('textarea', {\n attrs: { id: id },\n style: { visibility: 'hidden' }\n });\n};\nvar initialise = function (ctx) { return function () {\n var finalInit = __assign(__assign({}, ctx.$props.init), { readonly: ctx.$props.disabled, selector: \"#\" + ctx.elementId, plugins: mergePlugins(ctx.$props.init && ctx.$props.init.plugins, ctx.$props.plugins), toolbar: ctx.$props.toolbar || (ctx.$props.init && ctx.$props.init.toolbar), inline: ctx.inlineEditor, setup: function (editor) {\n ctx.editor = editor;\n editor.on('init', function (e) { return initEditor(e, ctx, editor); });\n if (ctx.$props.init && typeof ctx.$props.init.setup === 'function') {\n ctx.$props.init.setup(editor);\n }\n } });\n if (isTextarea(ctx.element)) {\n ctx.element.style.visibility = '';\n ctx.element.style.display = '';\n }\n getTinymce().init(finalInit);\n}; };\nexport var Editor = {\n props: editorProps,\n created: function () {\n this.elementId = this.$props.id || uuid('tiny-vue');\n this.inlineEditor = (this.$props.init && this.$props.init.inline) || this.$props.inline;\n this.initialized = false;\n },\n watch: {\n disabled: function () {\n this.editor.setMode(this.disabled ? 'readonly' : 'design');\n }\n },\n mounted: function () {\n this.element = this.$el;\n if (getTinymce() !== null) {\n initialise(this)();\n }\n else if (this.element && this.element.ownerDocument) {\n var channel = this.$props.cloudChannel ? this.$props.cloudChannel : '5';\n var apiKey = this.$props.apiKey ? this.$props.apiKey : 'no-api-key';\n var scriptSrc = isNullOrUndefined(this.$props.tinymceScriptSrc) ?\n \"https://cdn.tiny.cloud/1/\" + apiKey + \"/tinymce/\" + channel + \"/tinymce.min.js\" :\n this.$props.tinymceScriptSrc;\n ScriptLoader.load(this.element.ownerDocument, scriptSrc, initialise(this));\n }\n },\n beforeDestroy: function () {\n if (getTinymce() !== null) {\n getTinymce().remove(this.editor);\n }\n },\n deactivated: function () {\n var _a;\n if (!this.inlineEditor) {\n this.cache = this.editor.getContent();\n (_a = getTinymce()) === null || _a === void 0 ? void 0 : _a.remove(this.editor);\n }\n },\n activated: function () {\n if (!this.inlineEditor && this.initialized) {\n initialise(this)();\n }\n },\n render: function (h) {\n return this.inlineEditor ? renderInline(h, this.elementId, this.$props.tagName) : renderIframe(h, this.elementId);\n }\n};\n","/**\n * Copyright (c) 2018-present, Ephox, Inc.\n *\n * This source code is licensed under the Apache 2 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\nimport { Editor } from './components/Editor';\nexport default Editor;\n","import { __decorate } from \"tslib\";\nimport { Component } from \"vue-property-decorator\";\nimport Vue from \"vue\";\nimport { chargeEditorModule } from \"@/store/modules/chargeEditorModule\";\nimport Editor from \"@tinymce/tinymce-vue\";\nimport CustomButton, { Action } from \"@/components/shared/CustomButton.vue\";\nimport CustomTextArea from \"@/components/shared/CustomTextArea.vue\";\nimport { ChargeTemplateRequest, PreviewTemplateRequest } from \"@/apiclient/client\";\nimport CustomFileInput from \"@/components/shared/CustomFileInput.vue\";\nimport { customerModule } from \"@/store/modules/customerModule\";\nimport { readUploadedFileAsText } from \"@/util/imageconverter\";\nimport { maxFileSize, required } from \"@/components/shared/validationRules\";\nlet ChargeTemplate = class ChargeTemplate extends Vue {\n template = \"\";\n customerLogo = \"\";\n action = Action;\n isLogoUpdateLoading = false;\n async mounted() {\n this.customerLogo = await customerModule.fetchCustomerLogo();\n this.template = await chargeEditorModule.fetchChargeTemplate();\n }\n async handleChargeTemplateSave() {\n const request = new ChargeTemplateRequest({ template: this.template });\n await chargeEditorModule.saveChargeTemplate(request);\n }\n async previewChargeTemplate() {\n const request = new PreviewTemplateRequest({\n template: this.template,\n logo: this.customerLogo,\n });\n await chargeEditorModule.previewChargeTemplate(request);\n }\n async handleLogoSave() {\n const isValid = this.$refs.logoForm.validate();\n if (!isValid)\n return;\n this.isLogoUpdateLoading = true;\n this.customerLogo = await customerModule.addCustomerLogo(this.customerLogo);\n this.isLogoUpdateLoading = false;\n }\n async setLogo(file) {\n try {\n const base64string = await readUploadedFileAsText(file);\n this.customerLogo = base64string;\n }\n catch (e) {\n // console.log()\n }\n }\n get getTemplate() {\n return chargeEditorModule.getChargeTemplate?.template;\n }\n};\nChargeTemplate = __decorate([\n Component({\n name: \"ChargeTemplate\",\n components: {\n Editor,\n CustomButton,\n CustomTextArea,\n CustomFileInput,\n },\n methods: {\n maxFileSize,\n required,\n },\n })\n], ChargeTemplate);\nexport default ChargeTemplate;\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--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChargeTemplate.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--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChargeTemplate.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChargeTemplate.vue?vue&type=template&id=7f5a939d&scoped=true&\"\nimport script from \"./ChargeTemplate.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChargeTemplate.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 \"7f5a939d\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VForm,VRow})\n","import { __decorate } from \"tslib\";\nimport { Action, getModule, Module, Mutation, VuexModule } from \"vuex-module-decorators\";\nimport { apiClient } from \"@/apiclient/baseclient\";\nimport { authenticationModule } from \"./authenticationModule\";\nimport { Criticality, notificationModule } from \"./notificationModule\";\nimport { downloadFileFromServer } from \"@/util/csvutil\";\nimport { UnpaidParkingResponse, } from \"@/apiclient/client\";\nimport moment from \"moment\";\nimport store from \"@/store\";\nimport { getLastItemInArray } from \"@/util/licenseplateutil\";\nexport class ImageMap {\n path;\n base64;\n constructor(path, base64) {\n this.path = path;\n this.base64 = base64;\n }\n}\nlet ChargeEditorModule = class ChargeEditorModule extends VuexModule {\n editedItem = null;\n chargeEditorData = {\n customerName: \"\",\n customerAddress: \"\",\n customerCity: \"\",\n chargeAmount: 0,\n parkingFee: 0,\n vehicleIdent: \"\",\n };\n images = [\"\"];\n htmlPreview = \"\";\n imagePaths = [];\n imageMap = [];\n selectedImagePaths = [];\n chargeTemplate = null;\n loading = false;\n async fetchImagesPaths(parking) {\n this.context.commit(\"SET_LOADING_STATUS\", true);\n return apiClient\n .images(authenticationModule.getCustomerId, parking.parkingRightID)\n .then(response => {\n this.context.commit(\"SET_IMAGE_PATHS\", response.data);\n })\n .catch(() => {\n notificationModule.SHOW_NOTIFICATION({\n message: \"notification_error_occured\".t(),\n criticality: Criticality.Error,\n });\n })\n .finally(() => { });\n }\n selectImage(path) {\n this.context.commit(\"SET_SELECTED_IMAGE_PATH\", path);\n }\n async previewPdf() {\n this.context.commit(\"SET_LOADING_STATUS\", true);\n return apiClient\n .preview(authenticationModule.getCustomerId, this.editedItem?.parkingRightID, this.chargeEditorData.vehicleIdent, this.chargeEditorData.chargeAmount, [...this.selectedImagePaths], this.chargeEditorData.customerName, this.chargeEditorData.customerAddress, this.chargeEditorData.customerCity, this.chargeEditorData.parkingFee)\n .then(response => {\n this.context.commit(\"SET_HTML_PREVIEW\", response);\n })\n .catch(() => {\n this.context.commit(\"RESET_STATE\");\n notificationModule.SHOW_NOTIFICATION({\n message: \"notification_error_occured\".t(),\n criticality: Criticality.Error,\n });\n })\n .finally(() => {\n this.context.commit(\"SET_LOADING_STATUS\", false);\n });\n }\n markCurrentAsPaid() {\n return apiClient.markAsPaid(authenticationModule.getCustomerId, this.editedItem?.parkingRightID);\n }\n async downloadPdf() {\n this.context.commit(\"SET_PDF_LOADING\", true);\n try {\n const result = await apiClient.charge(authenticationModule.getCustomerId, this.editedItem?.parkingRightID, this.chargeEditorData.vehicleIdent, this.chargeEditorData.chargeAmount, [...this.selectedImagePaths], this.chargeEditorData.customerName, this.chargeEditorData.customerAddress, this.chargeEditorData.customerCity, this.chargeEditorData.parkingFee);\n const fileName = this.chargeEditorData.vehicleIdent + \"_\" + moment(new Date()).format(\"DD-MM-YYYY\") + \".pdf\"; // MAQ: In the future we want to get fileName from server\n downloadFileFromServer(result.data, fileName);\n }\n catch (error) {\n this.context.commit(\"RESET_STATE\");\n notificationModule.SHOW_NOTIFICATION({\n message: \"notification_error_occured\".t(),\n criticality: Criticality.Error,\n });\n }\n finally {\n this.context.commit(\"SET_PDF_LOADING\", false);\n }\n }\n async fetchUnpaidParking(parkingRightID) {\n return apiClient\n .unpaidGET(authenticationModule.customerId, parkingRightID)\n .then(async (parking) => {\n this.context.commit(\"SET_EDITED_PARKING\", parking);\n this.context.commit(\"SET_CHARGE_EDITOR_DATA\", {\n ...this.chargeEditorData,\n chargeAmount: parking.area?.defaultChargeAmount ?? 0,\n vehicleIdent: getLastItemInArray(parking?.vehicleIdents ?? []),\n parkingFee: parking.price,\n });\n const imageMaps = parking.images?.map(image => {\n return new ImageMap(image?.imagePath ?? \"\", `data:image/png;base64,${image.imageSource}`);\n }) ?? [];\n this.context.commit(\"SET_IMAGE_MAP\", imageMaps);\n this.context.commit(\"SET_SELECTED_IMAGE_PATHS\", []);\n await chargeEditorModule.previewPdf();\n return parking;\n })\n .catch(err => {\n this.context.commit(\"SET_PDF_LOADING\", false);\n });\n }\n async fetchChargeTemplate() {\n this.context.commit(\"SET_LOADING_STATUS\", true);\n return apiClient.chargeGET(authenticationModule.customerId).then(response => {\n this.context.commit(\"SET_LOADING_STATUS\", false);\n return response.data?.template ?? \"\";\n });\n }\n async saveChargeTemplate(templateRequest) {\n this.context.commit(\"SET_LOADING_STATUS\", true);\n return apiClient\n .chargePOST(authenticationModule.customerId, templateRequest)\n .then(response => {\n this.context.commit(\"SET_LOADING_STATUS\", false);\n notificationModule.SHOW_NOTIFICATION({\n message: \"notification_success_create_charge_template\".t(),\n criticality: Criticality.Success,\n });\n return response.data?.template ?? \"\";\n })\n .catch(() => {\n notificationModule.SHOW_NOTIFICATION({\n message: \"notification_error_occured\".t(),\n criticality: Criticality.Error,\n });\n });\n }\n async previewChargeTemplate(templateRequest) {\n return apiClient\n .previewChargeTemplate(authenticationModule.customerId, templateRequest)\n .then(response => {\n const fileName = \"preview_template_\" + moment(new Date()).format(\"DD-MM-YYYY\") + \".pdf\"; // MAQ: In the future we want to get fileName from server\n downloadFileFromServer(response.data, fileName);\n })\n .catch(() => {\n notificationModule.SHOW_NOTIFICATION({\n message: \"notification_error_occured\".t(),\n criticality: Criticality.Error,\n });\n });\n }\n SET_SELECTED_IMAGE_PATH(path) {\n if (this.selectedImagePaths.includes(path)) {\n this.selectedImagePaths = this.selectedImagePaths.filter(item => item !== path);\n return;\n }\n if (this.selectedImagePaths.length < 2) {\n this.selectedImagePaths.push(path);\n return;\n }\n }\n RESET_STATE() {\n this.loading = false;\n this.editedItem = new UnpaidParkingResponse();\n this.images = [\"\"];\n this.htmlPreview = \"\";\n this.imagePaths = [];\n this.imageMap = [];\n this.selectedImagePaths = [];\n }\n SET_LOADING_STATUS(isLoading) {\n this.loading = isLoading;\n }\n SET_SELECTED_IMAGE_PATHS(paths) {\n this.selectedImagePaths = paths;\n }\n SET_IMAGE_PATHS(paths) {\n this.imagePaths = paths;\n }\n SET_HTML_PREVIEW(preview) {\n this.htmlPreview = preview;\n }\n SET_IMAGES(images) {\n this.images = images;\n }\n SET_IMAGE_MAP(maps) {\n this.imageMap = maps;\n }\n SET_EDITED_PARKING(item) {\n this.editedItem = item;\n }\n SET_PDF_LOADING(loading) {\n this.loading = loading;\n }\n SET_CHARGE_EDITOR_DATA(data) {\n this.chargeEditorData = data;\n }\n SET_CHARGE_TEMPLATE(template) {\n this.chargeTemplate = template;\n }\n get getSelectedImagePaths() {\n return this.selectedImagePaths;\n }\n get getImagePaths() {\n return this.imagePaths;\n }\n get getHtmlPreview() {\n return this.htmlPreview;\n }\n get getCurrentImages() {\n return this.imageMap;\n }\n get getEditedItem() {\n return this.editedItem;\n }\n get getChargeEditorData() {\n return this.chargeEditorData;\n }\n get getChargeTemplate() {\n return this.chargeTemplate;\n }\n};\n__decorate([\n Action({ rawError: true })\n], ChargeEditorModule.prototype, \"fetchImagesPaths\", null);\n__decorate([\n Action({ rawError: true })\n], ChargeEditorModule.prototype, \"selectImage\", null);\n__decorate([\n Action({ rawError: true })\n], ChargeEditorModule.prototype, \"previewPdf\", null);\n__decorate([\n Action({ rawError: true })\n], ChargeEditorModule.prototype, \"markCurrentAsPaid\", null);\n__decorate([\n Action({ rawError: true })\n], ChargeEditorModule.prototype, \"downloadPdf\", null);\n__decorate([\n Action({ rawError: true })\n], ChargeEditorModule.prototype, \"fetchUnpaidParking\", null);\n__decorate([\n Action({ rawError: true })\n], ChargeEditorModule.prototype, \"fetchChargeTemplate\", null);\n__decorate([\n Action({ rawError: true })\n], ChargeEditorModule.prototype, \"saveChargeTemplate\", null);\n__decorate([\n Action({ rawError: true })\n], ChargeEditorModule.prototype, \"previewChargeTemplate\", null);\n__decorate([\n Mutation\n], ChargeEditorModule.prototype, \"SET_SELECTED_IMAGE_PATH\", null);\n__decorate([\n Mutation\n], ChargeEditorModule.prototype, \"RESET_STATE\", null);\n__decorate([\n Mutation\n], ChargeEditorModule.prototype, \"SET_LOADING_STATUS\", null);\n__decorate([\n Mutation\n], ChargeEditorModule.prototype, \"SET_SELECTED_IMAGE_PATHS\", null);\n__decorate([\n Mutation\n], ChargeEditorModule.prototype, \"SET_IMAGE_PATHS\", null);\n__decorate([\n Mutation\n], ChargeEditorModule.prototype, \"SET_HTML_PREVIEW\", null);\n__decorate([\n Mutation\n], ChargeEditorModule.prototype, \"SET_IMAGES\", null);\n__decorate([\n Mutation\n], ChargeEditorModule.prototype, \"SET_IMAGE_MAP\", null);\n__decorate([\n Mutation\n], ChargeEditorModule.prototype, \"SET_EDITED_PARKING\", null);\n__decorate([\n Mutation\n], ChargeEditorModule.prototype, \"SET_PDF_LOADING\", null);\n__decorate([\n Mutation\n], ChargeEditorModule.prototype, \"SET_CHARGE_EDITOR_DATA\", null);\n__decorate([\n Mutation\n], ChargeEditorModule.prototype, \"SET_CHARGE_TEMPLATE\", null);\nChargeEditorModule = __decorate([\n Module({ dynamic: true, store, name: \"chargeEditorModule\" })\n], ChargeEditorModule);\nexport const chargeEditorModule = getModule(ChargeEditorModule);\n","import { __decorate } from \"tslib\";\nimport { Action, getModule, Module, Mutation, VuexModule } from \"vuex-module-decorators\";\nimport store from \"@/store/index\";\nimport { CostumerResponse, } from \"@/apiclient/client\";\nimport { apiClient } from \"@/apiclient/baseclient\";\nimport { notificationModule, Criticality } from \"./notificationModule\";\nimport { authenticationModule } from \"./authenticationModule\";\nlet CustomerModule = class CustomerModule extends VuexModule {\n customers = [];\n customer = new CostumerResponse();\n dataConfigurations = [];\n customerLogo = \"\";\n get getCustomers() {\n return this.customers;\n }\n get getCustomer() {\n return this.customer;\n }\n get getDataConfigurations() {\n return this.dataConfigurations;\n }\n get getCustomerLogo() {\n return this.customerLogo;\n }\n async fetchCustomers() {\n var result = await apiClient.costumersGET();\n this.context.commit(\"SET_CUSTOMERS\", result.data);\n }\n async fetchCustomerById(customerId) {\n return await apiClient\n .costumersGET2(customerId)\n .then(response => {\n this.context.commit(\"SET_CUSTOMER\", response.data);\n })\n .catch(() => {\n notificationModule.SHOW_NOTIFICATION({\n message: \"notification_error_occured\".t(),\n criticality: Criticality.Error,\n });\n });\n }\n async impersonateCustomer(customerId) {\n return await apiClient.personate(customerId);\n }\n async fetchDataConfigurations(costumerId) {\n return await apiClient\n .maskingGET(costumerId)\n .then(response => {\n this.context.commit(\"SET_DATA_CONFIGURATIONS\", response.data);\n })\n .catch(() => {\n notificationModule.SHOW_NOTIFICATION({\n message: \"notification_error_occured\".t(),\n criticality: Criticality.Error,\n });\n });\n }\n async updateDataConfiguration({ customerId, dataConfig, }) {\n return await apiClient\n .maskingPUT(customerId, dataConfig)\n .then(() => {\n notificationModule.SHOW_NOTIFICATION({\n message: \"notification_success_update_data_config\".t(),\n criticality: Criticality.Success,\n });\n })\n .catch(() => {\n notificationModule.SHOW_NOTIFICATION({\n message: \"notification_error_occured\".t(),\n criticality: Criticality.Error,\n });\n });\n }\n async fetchCustomerLogo() {\n return await apiClient.logoGET(authenticationModule.customerId).then(logo => {\n this.context.commit(\"SET_CUSTOMER_LOGO\", logo);\n return logo;\n });\n }\n async addCustomerLogo(customerLogo) {\n return await apiClient\n .logoPOST(authenticationModule.customerId, customerLogo)\n .then(logo => {\n this.context.commit(\"SET_CUSTOMER_LOGO\", logo);\n notificationModule.SHOW_NOTIFICATION({\n message: \"notification_success_update_logo\".t(),\n criticality: Criticality.Success,\n });\n return logo;\n })\n .catch(() => {\n notificationModule.SHOW_NOTIFICATION({\n message: \"notification_error_occured\".t(),\n criticality: Criticality.Error,\n });\n return \"\";\n });\n }\n SET_CUSTOMER(customer) {\n this.customer = customer;\n }\n SET_CUSTOMERS(customers) {\n this.customers = customers;\n }\n SET_DATA_CONFIGURATIONS(dataConfigurations) {\n this.dataConfigurations = dataConfigurations;\n }\n SET_CUSTOMER_LOGO(logo) {\n this.customerLogo = logo;\n }\n};\n__decorate([\n Action({ rawError: true })\n], CustomerModule.prototype, \"fetchCustomers\", null);\n__decorate([\n Action({ rawError: true })\n], CustomerModule.prototype, \"fetchCustomerById\", null);\n__decorate([\n Action({ rawError: true })\n], CustomerModule.prototype, \"impersonateCustomer\", null);\n__decorate([\n Action({ rawError: true })\n], CustomerModule.prototype, \"fetchDataConfigurations\", null);\n__decorate([\n Action({ rawError: true })\n], CustomerModule.prototype, \"updateDataConfiguration\", null);\n__decorate([\n Action({ rawError: true })\n], CustomerModule.prototype, \"fetchCustomerLogo\", null);\n__decorate([\n Action({ rawError: true })\n], CustomerModule.prototype, \"addCustomerLogo\", null);\n__decorate([\n Mutation\n], CustomerModule.prototype, \"SET_CUSTOMER\", null);\n__decorate([\n Mutation\n], CustomerModule.prototype, \"SET_CUSTOMERS\", null);\n__decorate([\n Mutation\n], CustomerModule.prototype, \"SET_DATA_CONFIGURATIONS\", null);\n__decorate([\n Mutation\n], CustomerModule.prototype, \"SET_CUSTOMER_LOGO\", null);\nCustomerModule = __decorate([\n Module({ dynamic: true, store, name: \"customerModule\", namespaced: true })\n], CustomerModule);\nexport default CustomerModule;\nexport const customerModule = getModule(CustomerModule);\n","// extracted by mini-css-extract-plugin","import VTextField from './VTextField'\n\nexport { VTextField }\nexport default VTextField\n","import i18n from \"@/i18n\";\nexport const required = (value) => {\n if (Array.isArray(value) && value.length === 0) {\n return i18n.t(\"validation_required\");\n }\n return value ? !!value : i18n.t(\"validation_required\");\n};\nexport const minLength = (value, minLength) => {\n if (value)\n return value.length >= minLength ? true : `${i18n.t(\"validation_minLength\")} ${minLength}`;\n return true;\n};\nexport const maxLength = (value, maxLength) => {\n if (value)\n return value.length <= maxLength ? true : `${i18n.t(\"validation_maxLength\")} ${maxLength}`;\n return true;\n};\nexport const minNumber = (value, minNumber) => {\n if (Number(value) || value === \"0\")\n return Number(value) >= minNumber ? true : `${i18n.t(\"validation_minNumber\")} ${minNumber}`;\n return true;\n};\nexport const maxNumber = (value, maxNumber) => {\n if (Number(value))\n return Number(value) <= maxNumber ? true : `${i18n.t(\"validation_maxNumber\")} ${maxNumber}`;\n return true;\n};\nexport const numberRange = (value, minNumber, maxNumber) => {\n if (Number(value))\n return Number(value) >= minNumber && Number(value) <= maxNumber ? true : `${i18n.t(\"validation_numberRange\")} ${minNumber} - ${maxNumber}`;\n return true;\n};\nexport const password = (password) => {\n if (!password)\n return false;\n const minLength = (str) => str.length >= 8;\n const whiteSpace = (str) => /^\\S*$/gu.test(str);\n const hasLowerCaseLetter = (str) => /[a-z]/gu.test(str);\n const hasUpperCaseLetter = (str) => /[A-Z]/gu.test(str);\n const hasNumber = (str) => /[\\p{N}]+/gu.test(str);\n const hasSpecialCharacter = (str) => /[^\\p{L}\\p{N}]+/gu.test(str);\n if (!minLength(password)) {\n return `${i18n.t(\"validation_password_minimum_length\")}`;\n }\n else if (!whiteSpace(password)) {\n return `${i18n.t(\"validation_password_no_white_space\")}`;\n }\n else {\n return (hasLowerCaseLetter(password) && hasUpperCaseLetter(password) && hasNumber(password) && hasSpecialCharacter(password)) || `${i18n.t(\"validation_password_characters\")}`;\n }\n};\nexport const passwordMatch = (password1, password2) => {\n return password1 === password2 || `${i18n.t(\"validation_password_match\")}`;\n};\nexport const maxFileSize = (file, max) => {\n if (!file)\n return true;\n return file.length < max || `${i18n.t(\"validation_maxFileSize\")} (max ${max / 1000} kB)`;\n};\n","// Components\nimport VInput from '../VInput/VInput'\n\n// Mixins\nimport mixins from '../../util/mixins'\nimport BindsAttrs from '../../mixins/binds-attrs'\nimport { provide as RegistrableProvide } from '../../mixins/registrable'\n\n// Helpers\nimport { VNode } from 'vue'\n\ntype ErrorBag = Record\ntype VInputInstance = InstanceType\ntype Watchers = {\n _uid: number\n valid: () => void\n shouldValidate: () => void\n}\n\n/* @vue/component */\nexport default mixins(\n BindsAttrs,\n RegistrableProvide('form')\n /* @vue/component */\n).extend({\n name: 'v-form',\n\n provide (): object {\n return { form: this }\n },\n\n inheritAttrs: false,\n\n props: {\n disabled: Boolean,\n lazyValidation: Boolean,\n readonly: Boolean,\n value: Boolean,\n },\n\n data: () => ({\n inputs: [] as VInputInstance[],\n watchers: [] as Watchers[],\n errorBag: {} as ErrorBag,\n }),\n\n watch: {\n errorBag: {\n handler (val) {\n const errors = Object.values(val).includes(true)\n\n this.$emit('input', !errors)\n },\n deep: true,\n immediate: true,\n },\n },\n\n methods: {\n watchInput (input: any): Watchers {\n const watcher = (input: any): (() => void) => {\n return input.$watch('hasError', (val: boolean) => {\n this.$set(this.errorBag, input._uid, val)\n }, { immediate: true })\n }\n\n const watchers: Watchers = {\n _uid: input._uid,\n valid: () => {},\n shouldValidate: () => {},\n }\n\n if (this.lazyValidation) {\n // Only start watching inputs if we need to\n watchers.shouldValidate = input.$watch('shouldValidate', (val: boolean) => {\n if (!val) return\n\n // Only watch if we're not already doing it\n if (this.errorBag.hasOwnProperty(input._uid)) return\n\n watchers.valid = watcher(input)\n })\n } else {\n watchers.valid = watcher(input)\n }\n\n return watchers\n },\n /** @public */\n validate (): boolean {\n return this.inputs.filter(input => !input.validate(true)).length === 0\n },\n /** @public */\n reset (): void {\n this.inputs.forEach(input => input.reset())\n this.resetErrorBag()\n },\n resetErrorBag () {\n if (this.lazyValidation) {\n // Account for timeout in validatable\n setTimeout(() => {\n this.errorBag = {}\n }, 0)\n }\n },\n /** @public */\n resetValidation () {\n this.inputs.forEach(input => input.resetValidation())\n this.resetErrorBag()\n },\n register (input: VInputInstance) {\n this.inputs.push(input)\n this.watchers.push(this.watchInput(input))\n },\n unregister (input: VInputInstance) {\n const found = this.inputs.find(i => i._uid === input._uid)\n\n if (!found) return\n\n const unwatch = this.watchers.find(i => i._uid === found._uid)\n if (unwatch) {\n unwatch.valid()\n unwatch.shouldValidate()\n }\n\n this.watchers = this.watchers.filter(i => i._uid !== found._uid)\n this.inputs = this.inputs.filter(i => i._uid !== found._uid)\n this.$delete(this.errorBag, found._uid)\n },\n },\n\n render (h): VNode {\n return h('form', {\n staticClass: 'v-form',\n attrs: {\n novalidate: true,\n ...this.attrs$,\n },\n on: {\n submit: (e: Event) => this.$emit('submit', e),\n },\n }, this.$slots.default)\n },\n})\n","// extracted by mini-css-extract-plugin","//const dkNumberPlate = /[A-Z|a-z]{2}[0-9]{5}$/;\n/**\n *\n * @param vehicleIdents array of strings\n */\nfunction getLastItemInArray(array) {\n return array[array.length - 1];\n}\nconst getLicensePlateString = (vehicleIdents) => { return formatLicensePlate(getLastItemInArray(vehicleIdents)); };\nconst formatLicensePlate = (licensePlate) => { return isDkLicensePlate(licensePlate) ? `${licensePlate.substring(0, 2)} ${licensePlate.substring(2, 4)} ${licensePlate.substring(4, 7)}` : licensePlate; };\nconst isDkLicensePlate = (licensePlate) => { return /^[A-Z|a-z]{2}[0-9]{5}$/.test(licensePlate); };\nexport { getLicensePlateString, formatLicensePlate, isDkLicensePlate, getLastItemInArray };\n","export async function convertFileToBase64(logo) {\n return new Promise((resolve, reject) => {\n try {\n if (!logo) {\n resolve(\"\");\n }\n const reader = new FileReader();\n reader.readAsDataURL(logo);\n reader.onload = () => {\n if (typeof reader.result === \"string\") {\n resolve(reader.result);\n }\n else {\n reject(\"error\");\n }\n };\n }\n catch (error) {\n reject(error);\n }\n });\n}\nexport const readUploadedFileAsText = inputFile => {\n const temporaryFileReader = new FileReader();\n return new Promise((resolve, reject) => {\n temporaryFileReader.onerror = () => {\n temporaryFileReader.abort();\n reject(new DOMException(\"Problem parsing input file.\"));\n };\n temporaryFileReader.readAsDataURL(inputFile);\n temporaryFileReader.onload = () => {\n resolve(temporaryFileReader.result);\n };\n });\n};\nexport const getFileBase64String = (file) => {\n return new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.onload = function () {\n const base64String = reader.result;\n const encodedString = base64String.split(\",\")[1];\n resolve(encodedString);\n };\n reader.onerror = function (error) {\n reject(error);\n };\n reader.readAsDataURL(file);\n });\n};\n","// extracted by mini-css-extract-plugin","/**\n * Copyright (c) 2018-present, Ephox, Inc.\n *\n * This source code is licensed under the Apache 2 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\nvar getGlobal = function () { return (typeof window !== 'undefined' ? window : global); };\nvar getTinymce = function () {\n var global = getGlobal();\n return global && global.tinymce ? global.tinymce : null;\n};\nexport { getTinymce };\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-textarea',{staticClass:\"soft-rounded\",attrs:{\"filled\":\"\",\"label\":_vm.getLabel,\"rules\":_vm.rules,\"disabled\":_vm.disabled,\"validate-on-blur\":true,\"auto-grow\":_vm.autoGrow,\"height\":_vm.height,\"rows\":_vm.rows},on:{\"blur\":_vm.onBlur,\"input\":_vm.onInput},model:{value:(_vm.syncText),callback:function ($$v) {_vm.syncText=$$v},expression:\"syncText\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { __decorate } from \"tslib\";\nimport { Prop, PropSync } from \"vue-property-decorator\";\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nlet CustomTextArea = class CustomTextArea extends Vue {\n syncText;\n label;\n disabled;\n rows;\n rules;\n autoGrow;\n height;\n onBlur(e) {\n this.$emit(\"on-textarea-blur\", e);\n }\n onInput(e) {\n this.$emit(\"on-textarea-input\", e);\n }\n get getLabel() {\n return this.rules?.some(rule => rule.name && rule.name.includes(\"required\"))\n ? this.label + \" *\"\n : this.label;\n }\n};\n__decorate([\n PropSync(\"text\", { required: true })\n], CustomTextArea.prototype, \"syncText\", void 0);\n__decorate([\n Prop({ required: false, type: String })\n], CustomTextArea.prototype, \"label\", void 0);\n__decorate([\n Prop({ required: false, type: Boolean })\n], CustomTextArea.prototype, \"disabled\", void 0);\n__decorate([\n Prop({ required: false, type: Number, default: 5 })\n], CustomTextArea.prototype, \"rows\", void 0);\n__decorate([\n Prop({ required: false, type: Array() })\n], CustomTextArea.prototype, \"rules\", void 0);\n__decorate([\n Prop({ required: false, type: Boolean, default: true })\n], CustomTextArea.prototype, \"autoGrow\", void 0);\n__decorate([\n Prop({ required: false, type: String, default: undefined })\n], CustomTextArea.prototype, \"height\", void 0);\nCustomTextArea = __decorate([\n Component\n], CustomTextArea);\nexport default CustomTextArea;\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--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomTextArea.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--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomTextArea.vue?vue&type=script&lang=ts&\"","// Styles\nimport './VTextarea.sass'\n\n// Extensions\nimport VTextField from '../VTextField/VTextField'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n// Types\nimport Vue from 'vue'\n\ninterface options extends Vue {\n $refs: {\n input: HTMLTextAreaElement\n }\n}\n\nconst baseMixins = mixins\n>(\n VTextField\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-textarea',\n\n props: {\n autoGrow: Boolean,\n noResize: Boolean,\n rowHeight: {\n type: [Number, String],\n default: 24,\n validator: (v: any) => !isNaN(parseFloat(v)),\n },\n rows: {\n type: [Number, String],\n default: 5,\n validator: (v: any) => !isNaN(parseInt(v, 10)),\n },\n },\n\n computed: {\n classes (): object {\n return {\n 'v-textarea': true,\n 'v-textarea--auto-grow': this.autoGrow,\n 'v-textarea--no-resize': this.noResizeHandle,\n ...VTextField.options.computed.classes.call(this),\n }\n },\n noResizeHandle (): boolean {\n return this.noResize || this.autoGrow\n },\n },\n\n watch: {\n autoGrow (val: boolean) {\n this.$nextTick(() => {\n val\n ? this.calculateInputHeight()\n : this.$refs.input?.style.removeProperty('height')\n })\n },\n lazyValue () {\n this.autoGrow && this.$nextTick(this.calculateInputHeight)\n },\n rowHeight () {\n this.autoGrow && this.$nextTick(this.calculateInputHeight)\n },\n },\n\n mounted () {\n setTimeout(() => {\n this.autoGrow && this.calculateInputHeight()\n }, 0)\n },\n\n methods: {\n calculateInputHeight () {\n const input = this.$refs.input\n if (!input) return\n\n input.style.height = '0'\n const height = input.scrollHeight\n const minHeight = parseInt(this.rows, 10) * parseFloat(this.rowHeight)\n // This has to be done ASAP, waiting for Vue\n // to update the DOM causes ugly layout jumping\n input.style.height = Math.max(minHeight, height) + 'px'\n },\n genInput () {\n const input = VTextField.options.methods.genInput.call(this)\n\n input.tag = 'textarea'\n delete input.data!.attrs!.type\n input.data!.attrs!.rows = this.rows\n\n return input\n },\n onInput (e: Event) {\n VTextField.options.methods.onInput.call(this, e)\n this.autoGrow && this.calculateInputHeight()\n },\n onKeyDown (e: KeyboardEvent) {\n // Prevents closing of a\n // dialog when pressing\n // enter\n if (this.isFocused && e.keyCode === 13) {\n e.stopPropagation()\n }\n\n this.$emit('keydown', e)\n },\n },\n})\n","import { render, staticRenderFns } from \"./CustomTextArea.vue?vue&type=template&id=d45851a8&scoped=true&\"\nimport script from \"./CustomTextArea.vue?vue&type=script&lang=ts&\"\nexport * from \"./CustomTextArea.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 \"d45851a8\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VTextarea})\n","// Styles\nimport './VChip.sass'\n\n// Types\nimport { VNode } from 'vue'\nimport mixins from '../../util/mixins'\n\n// Components\nimport { VExpandXTransition } from '../transitions'\nimport VIcon from '../VIcon'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport { factory as GroupableFactory } from '../../mixins/groupable'\nimport Themeable from '../../mixins/themeable'\nimport { factory as ToggleableFactory } from '../../mixins/toggleable'\nimport Routable from '../../mixins/routable'\nimport Sizeable from '../../mixins/sizeable'\n\n// Utilities\nimport { breaking } from '../../util/console'\n\n// Types\nimport { PropValidator, PropType } from 'vue/types/options'\n\n/* @vue/component */\nexport default mixins(\n Colorable,\n Sizeable,\n Routable,\n Themeable,\n GroupableFactory('chipGroup'),\n ToggleableFactory('inputValue')\n).extend({\n name: 'v-chip',\n\n props: {\n active: {\n type: Boolean,\n default: true,\n },\n activeClass: {\n type: String,\n default (): string | undefined {\n if (!this.chipGroup) return ''\n\n return this.chipGroup.activeClass\n },\n } as any as PropValidator,\n close: Boolean,\n closeIcon: {\n type: String,\n default: '$delete',\n },\n closeLabel: {\n type: String,\n default: '$vuetify.close',\n },\n disabled: Boolean,\n draggable: Boolean,\n filter: Boolean,\n filterIcon: {\n type: String,\n default: '$complete',\n },\n label: Boolean,\n link: Boolean,\n outlined: Boolean,\n pill: Boolean,\n tag: {\n type: String,\n default: 'span',\n },\n textColor: String,\n value: null as any as PropType,\n },\n\n data: () => ({\n proxyClass: 'v-chip--active',\n }),\n\n computed: {\n classes (): object {\n return {\n 'v-chip': true,\n ...Routable.options.computed.classes.call(this),\n 'v-chip--clickable': this.isClickable,\n 'v-chip--disabled': this.disabled,\n 'v-chip--draggable': this.draggable,\n 'v-chip--label': this.label,\n 'v-chip--link': this.isLink,\n 'v-chip--no-color': !this.color,\n 'v-chip--outlined': this.outlined,\n 'v-chip--pill': this.pill,\n 'v-chip--removable': this.hasClose,\n ...this.themeClasses,\n ...this.sizeableClasses,\n ...this.groupClasses,\n }\n },\n hasClose (): boolean {\n return Boolean(this.close)\n },\n isClickable (): boolean {\n return Boolean(\n Routable.options.computed.isClickable.call(this) ||\n this.chipGroup\n )\n },\n },\n\n created () {\n const breakingProps = [\n ['outline', 'outlined'],\n ['selected', 'input-value'],\n ['value', 'active'],\n ['@input', '@active.sync'],\n ]\n\n /* istanbul ignore next */\n breakingProps.forEach(([original, replacement]) => {\n if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this)\n })\n },\n\n methods: {\n click (e: MouseEvent): void {\n this.$emit('click', e)\n\n this.chipGroup && this.toggle()\n },\n genFilter (): VNode {\n const children = []\n\n if (this.isActive) {\n children.push(\n this.$createElement(VIcon, {\n staticClass: 'v-chip__filter',\n props: { left: true },\n }, this.filterIcon)\n )\n }\n\n return this.$createElement(VExpandXTransition, children)\n },\n genClose (): VNode {\n return this.$createElement(VIcon, {\n staticClass: 'v-chip__close',\n props: {\n right: true,\n size: 18,\n },\n attrs: {\n 'aria-label': this.$vuetify.lang.t(this.closeLabel),\n },\n on: {\n click: (e: Event) => {\n e.stopPropagation()\n e.preventDefault()\n\n this.$emit('click:close')\n this.$emit('update:active', false)\n },\n },\n }, this.closeIcon)\n },\n genContent (): VNode {\n return this.$createElement('span', {\n staticClass: 'v-chip__content',\n }, [\n this.filter && this.genFilter(),\n this.$slots.default,\n this.hasClose && this.genClose(),\n ])\n },\n },\n\n render (h): VNode {\n const children = [this.genContent()]\n let { tag, data } = this.generateRouteLink()\n\n data.attrs = {\n ...data.attrs,\n draggable: this.draggable ? 'true' : undefined,\n tabindex: this.chipGroup && !this.disabled ? 0 : data.attrs!.tabindex,\n }\n data.directives!.push({\n name: 'show',\n value: this.active,\n })\n data = this.setBackgroundColor(this.color, data)\n\n const color = this.textColor || (this.outlined && this.color)\n\n return h(tag, this.setTextColor(color, data), children)\n },\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-file-input',{staticClass:\"soft-rounded\",attrs:{\"label\":_vm.getLabel,\"multiple\":_vm.multiple,\"rules\":_vm.rules,\"disabled\":_vm.disabled,\"validate-on-blur\":false,\"show-size\":true,\"counter\":true,\"accept\":\"image/*\",\"filled\":\"\",\"prepend-icon\":\"\"},on:{\"change\":_vm.onChange,\"click:clear\":_vm.onClickClear},scopedSlots:_vm._u([{key:\"append\",fn:function(){return [_c('v-icon',[_vm._v(\"mdi-paperclip\")])]},proxy:true}]),model:{value:(_vm.syncFile),callback:function ($$v) {_vm.syncFile=$$v},expression:\"syncFile\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { __decorate } from \"tslib\";\nimport { Prop, PropSync } from \"vue-property-decorator\";\nimport Component from \"vue-class-component\";\nimport Vue from \"vue\";\nlet CustomFileInput = class CustomFileInput extends Vue {\n syncFile;\n label;\n multiple;\n rules;\n disabled;\n onChange(e) {\n this.$emit(\"on-file-input-change\", e);\n }\n onClickClear(e) {\n this.$emit(\"on-file-input-clear\", e);\n }\n get getLabel() {\n return this.rules?.some(rule => rule.name && rule.name.includes(\"required\"))\n ? this.label + \" *\"\n : this.label;\n }\n};\n__decorate([\n PropSync(\"file\", { required: false })\n], CustomFileInput.prototype, \"syncFile\", void 0);\n__decorate([\n Prop({ required: true, type: String })\n], CustomFileInput.prototype, \"label\", void 0);\n__decorate([\n Prop({ required: false, type: Boolean })\n], CustomFileInput.prototype, \"multiple\", void 0);\n__decorate([\n Prop({ required: false, type: Array() })\n], CustomFileInput.prototype, \"rules\", void 0);\n__decorate([\n Prop({ required: false, type: Boolean })\n], CustomFileInput.prototype, \"disabled\", void 0);\nCustomFileInput = __decorate([\n Component\n], CustomFileInput);\nexport default CustomFileInput;\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--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomFileInput.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--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomFileInput.vue?vue&type=script&lang=ts&\"","// Styles\nimport './VFileInput.sass'\n\n// Extensions\nimport VTextField from '../VTextField'\n\n// Components\nimport { VChip } from '../VChip'\n\n// Types\nimport { PropValidator } from 'vue/types/options'\n\n// Utilities\nimport { deepEqual, humanReadableFileSize, wrapInArray } from '../../util/helpers'\nimport { consoleError } from '../../util/console'\nimport { mergeStyles } from '../../util/mergeData'\n\nexport default VTextField.extend({\n name: 'v-file-input',\n\n model: {\n prop: 'value',\n event: 'change',\n },\n\n props: {\n chips: Boolean,\n clearable: {\n type: Boolean,\n default: true,\n },\n counterSizeString: {\n type: String,\n default: '$vuetify.fileInput.counterSize',\n },\n counterString: {\n type: String,\n default: '$vuetify.fileInput.counter',\n },\n hideInput: Boolean,\n multiple: Boolean,\n placeholder: String,\n prependIcon: {\n type: String,\n default: '$file',\n },\n readonly: {\n type: Boolean,\n default: false,\n },\n showSize: {\n type: [Boolean, Number],\n default: false,\n validator: (v: boolean | number) => {\n return (\n typeof v === 'boolean' ||\n [1000, 1024].includes(v)\n )\n },\n } as PropValidator,\n smallChips: Boolean,\n truncateLength: {\n type: [Number, String],\n default: 22,\n },\n type: {\n type: String,\n default: 'file',\n },\n value: {\n default: undefined,\n validator: val => {\n return wrapInArray(val).every(v => v != null && typeof v === 'object')\n },\n } as PropValidator,\n },\n\n computed: {\n classes (): object {\n return {\n ...VTextField.options.computed.classes.call(this),\n 'v-file-input': true,\n }\n },\n computedCounterValue (): string {\n const fileCount = (this.multiple && this.lazyValue)\n ? this.lazyValue.length\n : (this.lazyValue instanceof File) ? 1 : 0\n\n if (!this.showSize) return this.$vuetify.lang.t(this.counterString, fileCount)\n\n const bytes = this.internalArrayValue.reduce((bytes: number, { size = 0 }: File) => {\n return bytes + size\n }, 0)\n\n return this.$vuetify.lang.t(\n this.counterSizeString,\n fileCount,\n humanReadableFileSize(bytes, this.base === 1024)\n )\n },\n internalArrayValue (): File[] {\n return wrapInArray(this.internalValue)\n },\n internalValue: {\n get (): File[] {\n return this.lazyValue\n },\n set (val: File | File[]) {\n this.lazyValue = val\n this.$emit('change', this.lazyValue)\n },\n },\n isDirty (): boolean {\n return this.internalArrayValue.length > 0\n },\n isLabelActive (): boolean {\n return this.isDirty\n },\n text (): string[] {\n if (!this.isDirty && (this.persistentPlaceholder || this.isFocused || !this.hasLabel)) return [this.placeholder]\n\n return this.internalArrayValue.map((file: File) => {\n const {\n name = '',\n size = 0,\n } = file\n\n const truncatedText = this.truncateText(name)\n\n return !this.showSize\n ? truncatedText\n : `${truncatedText} (${humanReadableFileSize(size, this.base === 1024)})`\n })\n },\n base (): 1000 | 1024 | undefined {\n return typeof this.showSize !== 'boolean' ? this.showSize : undefined\n },\n hasChips (): boolean {\n return this.chips || this.smallChips\n },\n },\n\n watch: {\n readonly: {\n handler (v) {\n if (v === true) consoleError('readonly is not supported on ', this)\n },\n immediate: true,\n },\n value (v) {\n const value = this.multiple ? v : v ? [v] : []\n if (!deepEqual(value, this.$refs.input.files)) {\n // When the input value is changed programatically, clear the\n // internal input's value so that the `onInput` handler\n // can be triggered again if the user re-selects the exact\n // same file(s). Ideally, `input.files` should be\n // manipulated directly but that property is readonly.\n this.$refs.input.value = ''\n }\n },\n },\n\n methods: {\n clearableCallback () {\n this.internalValue = this.multiple ? [] : null\n this.$refs.input.value = ''\n },\n genChips () {\n if (!this.isDirty) return []\n\n return this.text.map((text, index) => this.$createElement(VChip, {\n props: { small: this.smallChips },\n on: {\n 'click:close': () => {\n const internalValue = this.internalValue\n internalValue.splice(index, 1)\n this.internalValue = internalValue // Trigger the watcher\n },\n },\n }, [text]))\n },\n genControl () {\n const render = VTextField.options.methods.genControl.call(this)\n\n if (this.hideInput) {\n render.data!.style = mergeStyles(\n render.data!.style,\n { display: 'none' }\n )\n }\n\n return render\n },\n genInput () {\n const input = VTextField.options.methods.genInput.call(this)\n\n input.data!.attrs!.multiple = this.multiple\n\n // We should not be setting value\n // programmatically on the input\n // when it is using type=\"file\"\n delete input.data!.domProps!.value\n\n // This solves an issue in Safari where\n // nothing happens when adding a file\n // do to the input event not firing\n // https://github.com/vuetifyjs/vuetify/issues/7941\n delete input.data!.on!.input\n input.data!.on!.change = this.onInput\n\n return [this.genSelections(), input]\n },\n genPrependSlot () {\n if (!this.prependIcon) return null\n\n const icon = this.genIcon('prepend', () => {\n this.$refs.input.click()\n })\n\n return this.genSlot('prepend', 'outer', [icon])\n },\n genSelectionText (): string[] {\n const length = this.text.length\n\n if (length < 2) return this.text\n if (this.showSize && !this.counter) return [this.computedCounterValue]\n return [this.$vuetify.lang.t(this.counterString, length)]\n },\n genSelections () {\n const children = []\n\n if (this.isDirty && this.$scopedSlots.selection) {\n this.internalArrayValue.forEach((file: File, index: number) => {\n if (!this.$scopedSlots.selection) return\n\n children.push(\n this.$scopedSlots.selection({\n text: this.text[index],\n file,\n index,\n })\n )\n })\n } else {\n children.push(this.hasChips && this.isDirty ? this.genChips() : this.genSelectionText())\n }\n\n return this.$createElement('div', {\n staticClass: 'v-file-input__text',\n class: {\n 'v-file-input__text--placeholder': this.placeholder && !this.isDirty,\n 'v-file-input__text--chips': this.hasChips && !this.$scopedSlots.selection,\n },\n }, children)\n },\n genTextFieldSlot () {\n const node = VTextField.options.methods.genTextFieldSlot.call(this)\n\n node.data!.on = {\n ...(node.data!.on || {}),\n click: () => this.$refs.input.click(),\n }\n\n return node\n },\n onInput (e: Event) {\n const files = [...(e.target as HTMLInputElement).files || []]\n\n this.internalValue = this.multiple ? files : files[0]\n\n // Set initialValue here otherwise isFocused\n // watcher in VTextField will emit a change\n // event whenever the component is blurred\n this.initialValue = this.internalValue\n },\n onKeyDown (e: KeyboardEvent) {\n this.$emit('keydown', e)\n },\n truncateText (str: string) {\n if (str.length < Number(this.truncateLength)) return str\n const charsKeepOneSide = Math.floor((Number(this.truncateLength) - 1) / 2)\n return `${str.slice(0, charsKeepOneSide)}…${str.slice(str.length - charsKeepOneSide)}`\n },\n },\n})\n","import { render, staticRenderFns } from \"./CustomFileInput.vue?vue&type=template&id=b4261b18&scoped=true&\"\nimport script from \"./CustomFileInput.vue?vue&type=script&lang=ts&\"\nexport * from \"./CustomFileInput.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 \"b4261b18\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VFileInput } from 'vuetify/lib/components/VFileInput';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VFileInput,VIcon})\n"],"sourceRoot":""}