Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@progress/kendo-vue-inputs

Package Overview
Dependencies
Maintainers
1
Versions
554
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-vue-inputs - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5-dev.202008190756

dist/es/maskedtextbox/MaskedTextBox.d.ts

2

dist/cdn/js/kendo-vue-inputs.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("@progress/kendo-vue-intl")):"function"==typeof define&&define.amd?define(["vue","@progress/kendo-vue-intl"],t):"object"==typeof exports?exports.KendoVueInputs=t(require("vue"),require("@progress/kendo-vue-intl")):e.KendoVueInputs=t(e.Vue,e.KendoVueIntl)}(window,(function(e,t){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(i,a,function(t){return e[t]}.bind(null,a));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(t,n){t.exports=e},function(e,t,n){"use strict";n.r(t),n.d(t,"classNames",(function(){return i})),n.d(t,"guid",(function(){return a})),n.d(t,"Keys",(function(){return r})),n.d(t,"noop",(function(){return h})),n.d(t,"getListeners",(function(){return v})),n.d(t,"hasListener",(function(){return f})),n.d(t,"canUseDOM",(function(){return s})),n.d(t,"focusFirstFocusableChild",(function(){return u})),n.d(t,"clone",(function(){return l})),n.d(t,"cloneArray",(function(){return p})),n.d(t,"cloneValue",(function(){return d})),n.d(t,"cloneObject",(function(){return c})),n.d(t,"cloneDate",(function(){return o})),n.d(t,"getTemplate",(function(){return $})),n.d(t,"templateRendering",(function(){return g}));var i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?i.apply(void 0,e):"object"==typeof e?Object.keys(e).map((function(t,n){return e[n]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")},a=function(){var e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n},r={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},s=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),u=function(e){if(e){var t=e.querySelectorAll('input, [tabindex]:not([tabindex="-1"])');t.length&&t[0].focus&&t[0].focus()}},o=function(e){return e?new Date(e.getTime()):null};function l(e){var t={};return c(e,t),t}function c(e,t){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];t[n]=d(i,t[n])}}function d(e,t){if(Array.isArray(e))return p(e);if(e instanceof Date)return o(e);if(e&&"object"==typeof e){var n=t||{};return c(e,n),n}return e}function p(e){return e.map((function(e){return d(e,void 0)}))}var h=function(){};function f(e){return this.v3?Object.keys(this.$attrs).map((function(e){return e.toLowerCase()})).some((function(t){return t.endsWith(e.toLowerCase())})):this.$listeners[e]}function v(){if(this.v3){var e={};for(var t in this.$attrs)t.startsWith("on")&&(e[t]=this.$attrs[t]);return e}return this.$listeners}var m=function(){return(m=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function g(e,t){if(e){var n=this.v3?this.$slots[e]||(e.toLowerCase?this.$slots[e.toLowerCase()]:null):this.$scopedSlots[e]||(e.toLowerCase?this.$scopedSlots[e.toLowerCase()]:null);return"string"==typeof e&&n?{type:"slot",render:n,listeners:t}:"string"==typeof e||"object"==typeof e||"function"==typeof e&&e.component?{type:"component",render:e,listeners:t}:{type:"renderFunction",render:e,listeners:t}}}function $(e){var t,n,i,a=e.h,r=e.template,s=e.defaultRendering,u=e.defaultSlots,o=e.additionalProps,l=e.additionalListeners,c=e.swapDefaultSlots;if(!r)return s;if(this.v3){var d=s?s.props:{};t=m(m({},function(e){if(!e)return e;for(var t={},n=Object.keys(e),i=0;i<n.length;i++){var a=n[i];t["on"+a.charAt(0).toUpperCase()+a.slice(1)]=e[a]}return t}(l)),r.listeners),n=m(m({},d),o),i=m(m({},n),t)}else{var p=s&&s.componentOptions,h=p?s.componentOptions.listeners:{},f=p?s.componentOptions.propsData:{};t=m(m(m({},h),l),r.listeners),i={props:n=m(m({},f),o),on:t}}return"slot"===r.type?r.render({props:n,listeners:t,methods:t,defaultSlots:u})[0]:"renderFunction"===r.type?c?r.render(a,s,u,n,t):r.render(a,s,n,t,u):a(r.render,i,this.v3?function(){return[u]}:[u])}},function(e,t,n){"use strict";var i=Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]},a=function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),a(n(3),t),a(n(4),t)},function(e,t,n){"use strict";var i=function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Input=void 0;var a=n(0),r=n(1),s={model:{event:"changemodel"},inheritAttrs:!1,emits:{input:null,change:null,changemodel:null,"update:modelValue":null,focus:null,blur:null},props:{modelValue:{type:[String,Number],default:void 0},defaultValue:{type:[String,Number],default:""},value:{type:[String,Number]},label:{type:String},placeholder:{type:String},required:{type:Boolean,default:!1},dir:{type:String},valid:{type:Boolean,default:void 0},validate:{type:Boolean},validationMessage:{type:String},validityStyles:{type:Boolean,default:!0}},data:function(){return{hasMounted:!1,autofill:!1,currentValue:"",valueDuringOnChange:"",input:null,inputId:r.guid(),focused:!1}},created:function(){this.$data.valueDuringOnChange=void 0,this.$data.currentValue=this.$props.defaultValue},mounted:function(){this.$data.input=this.$refs.input,this.$data.hasMounted=!0},updated:function(){this.setValidity()},setup:function(){return{v3:!0,inputRef:a.ref(null)}},render:function(e){var t=this,n=a.h||e,s=this.v3?this.$attrs:this.$listeners,u=Object.keys(this.$attrs).some((function(e){return"onInput"===e})),o=Object.keys(this.$attrs).some((function(e){return"onUpdate:modelValue"===e})),l=this.$props,c=l.label,d=l.id,p=l.required,h=d||this.$data.inputId,f=n("input",i(i({domProps:this.v3?null:i(i({},this.$attrs),{placeholder:this.$props.placeholder,id:h,required:p,value:this.computedValue})},this.$attrs),{placeholder:this.$props.placeholder,id:h,required:p,value:this.computedValue,class:i({},this.inputClassNames()),ref:this.v3?function(e){t.inputRef=e}:"input",on:this.v3?null:{change:this.handleChange,focus:this.emitFocus,blur:this.emitBlur,input:s.input||s.changemodel?this.handleInput:r.noop,animationstart:this.handleAutoFill,animationend:this.handleAutoFillEnd},onChange:this.handleChange,onFocus:this.emitFocus,onBlur:this.emitBlur,onInput:u||o?this.handleInput:r.noop,onAnimationstart:this.handleAutoFill,onAnimationend:this.handleAutoFillEnd}));return c?n("span",{class:this.spanClassNames,onFocusin:this.handleFocus,on:this.v3?null:{focusin:this.handleFocus,focusout:this.handleBlur},onFocusout:this.handleBlur,dir:this.$props.dir,attrs:this.v3?null:{dir:this.$props.dir}},[f,c?d?n("label",{for:d,attrs:this.v3?null:{for:d},class:"k-label"},[c]):n("span",{class:"k-label"},[c]):null]):f},methods:{emitFocus:function(e){this.$emit("focus",e)},emitBlur:function(e){this.$emit("blur",e)},handleBlur:function(e){this.$data.focused=!1},handleFocus:function(e){this.$data.focused=!0},focus:function(){this.$data.input&&this.$data.input.focus()},inputClassNames:function(){var e=!this.$data.hasMounted||!this.$props.validityStyles||this.validity().valid;return{"k-textbox":!0,"k-state-invalid":!e&&void 0!==e}},validity:function(){var e={badInput:!!this.$data.input&&this.$data.input.validity.badInput,patternMismatch:!!this.$data.input&&this.$data.input.validity.patternMismatch,rangeOverflow:!!this.$data.input&&this.$data.input.validity.rangeOverflow,rangeUnderflow:!!this.$data.input&&this.$data.input.validity.rangeUnderflow,stepMismatch:!!this.$data.input&&this.$data.input.validity.stepMismatch,tooLong:!!this.$data.input&&this.$data.input.validity.tooLong,typeMismatch:!!this.$data.input&&this.$data.input.validity.typeMismatch,valueMissing:!!this.$data.input&&this.$data.input.validity.valueMissing};return i(i({},e),{customError:void 0!==this.$props.validationMessage,valid:void 0!==this.$props.valid?this.$props.valid:!this.$data.input||!this.isInvalid(e)})},isInvalid:function(e){var t=!1;for(var n in e)e.hasOwnProperty(n)&&(t=t||e[n]);return t},setValidity:function(){this.$data.input&&this.$data.input.setCustomValidity&&this.$data.input.setCustomValidity(this.validity().valid?"":this.$props.validationMessage||"")},handleInput:function(e){var t=this;this.$data.currentValue=e.target.value,this.$data.valueDuringOnChange=e.target.value,this.$nextTick((function(){t.$emit("input",{event:e,value:e.target.value,component:t,target:e.target,validity:t.validity()}),t.$emit("changemodel",e.target.value),t.$emit("update:modelValue",e.target.value),t.$data.valueDuringOnChange=void 0}))},handleChange:function(e){var t=this;this.$data.currentValue=e.target.value,this.$data.valueDuringOnChange=e.target.value,this.$nextTick((function(){t.$emit("change",{event:e,value:e.target.value,component:t,target:e.target,validity:t.validity()}),t.$emit("changemodel",e.target.value),t.$emit("update:modelValue",e.target.value),t.$data.valueDuringOnChange=void 0}))},handleAutoFill:function(e){if("autoFillStart"===e.animationName){var t=e.target.parentNode;t&&t.classList.contains("k-state-empty")&&(this.$data.autofill=!0)}},handleAutoFillEnd:function(e){"autoFillEnd"===e.animationName&&(e.target.parentNode&&(this.$data.autofill=!1))},name:function(){return this.$props.name}},computed:{spanClassNames:{get:function(){var e=!this.$data.hasMounted||!this.$props.validityStyles||this.validity().valid;return{"k-floating-label-container":!0,"k-state-focused":this.$data.focused,"k-state-empty":!(0===this.computedValue||this.computedValue||this.$props.placeholder||this.$data.autofill),"k-autofill":this.$data.autofill,"k-state-invalid":!e&&void 0!==e,"k-rtl":"rtl"===this.$props.dir}}},computedValue:{get:function(){return void 0!==this.$data.valueDuringOnChange?this.$data.valueDuringOnChange:void 0!==this.$props.value?this.$props.value:void 0!==this.$props.modelValue?this.$props.modelValue:this.$data.currentValue}}}};t.Input=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NumericTextBox=void 0;var i=n(0),a=n(5),r=n(1),s=n(6),u=n(7),o={model:{event:"changemodel"},inheritAttrs:!1,emits:{change:null,changemodel:null,"update:modelValue":null,focus:null,blur:null},props:{modelValue:Number,value:Number,defaultValue:Number,step:{type:Number,default:1},format:[String,Object],tabIndex:Number,accessKey:String,title:String,placeholder:String,min:Number,max:Number,spinners:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},dir:String,name:String,label:String,validationMessage:String,validityStyles:{type:Boolean,default:!0},valid:{type:Boolean,default:void 0},required:{type:Boolean,default:!1},id:String},inject:{kendoIntlService:{default:null},kendoLocalizationService:{default:null}},data:function(){return{hasMounted:!1,isInvalid:!1,isEmpty:!1,currentValue:0,valueDuringOnChange:0,currentLooseValue:"",selectionStart:0,selectionEnd:0,decimalSelect:!1,focused:!1,forceUpdate:!1}},created:function(){this._textBeforeInput="",this._inputId=r.guid(),this.$data.currentLooseValue=null,this.$data.valueDuringOnChange=void 0,this._intl=a.provideIntlService(this),this._symbols=this._intl.numberSymbols(),void 0!==this.$props.value?this.$data.currentValue=this.$props.value:void 0!==this.$props.modelValue?this.$data.currentValue=this.$props.modelValue:void 0!==this.$props.defaultValue?this.$data.currentValue=this.$props.defaultValue:this.$data.currentValue=null},mounted:function(){this._input=this.v3?this.inputRef:this.$refs.input,this._elementWrapper=this.v3?this.elementWrapperRef:this.$refs.elementWrapper,this.$data.hasMounted=!0,this._input&&(this._textBeforeInput=this._input.value),this.setValidity()},updated:function(){document&&document.activeElement!==this._input||!this._input||null===this.$data.currentLooseValue||this.$data.forceUpdate&&(this._input.selectionStart=this.$data.selectionStart,this._input.selectionEnd=this.$data.selectionEnd,this.$data.forceUpdate=!1),this._input&&(this._textBeforeInput=this._input.value),this.setValidity()},computed:{computedValue:{get:function(){return void 0!==this.$data.valueDuringOnChange?this.$data.valueDuringOnChange:this.$data.currentValue}},looseValue:{get:function(){return u.formatValue(this.$data.focused?this.$data.currentLooseValue:u.getStateOrPropsValue(this.$props.value,this.$data.currentValue),this.$props.format,this._intl)}},spanClassNames:{get:function(){var e=!this.$data.hasMounted||!this.$props.validityStyles||this.validity().valid,t=this.computedValue;return{"k-floating-label-container":!0,"k-state-focused":this.$data.focused,"k-state-empty":!(0===t||(t||this.$props.placeholder)),"k-state-invalid":!e&&void 0!==e,"k-rtl":"rtl"===this.$props.dir}}},wrapperClassNames:{get:function(){var e=!this.$props.validityStyles||this.validity().valid;return{"k-numeric-wrap":!0,"k-state-disabled":this.$props.disabled,"k-state-invalid":!e||this.$data.isInvalid}}}},methods:{validity:function(){var e=void 0!==this.$props.validationMessage,t=!this.$props.required||null!==this.computedValue;return{customError:e,valid:void 0!==this.$props.valid?this.$props.valid:t,valueMissing:null===this.computedValue}},focus:function(){this._input&&this._input.focus()},emitFocus:function(e){this.$data.currentLooseValue=this._prevLooseValue,this.$data.focused=!0,this.$emit("focus",e),this.$data.forceUpdate=!0},emitBlur:function(e){this.$data.eventValue=null,this.$data.prevLooseValue="",this.$data.currentLooseValue="",this.$data.focused=!1,this.$data.selectionStart=void 0,this.$data.selectionEnd=void 0,this.$data.decimalSelect=!1,this.$data.valueIsCorrected=!1,this.$data.valueIsOutOfRange=!1,this.$emit("blur",e),this.$data.forceUpdate=!0},handleFocus:function(e){this.$data.focused=!0},handleBlur:function(e){this.$data.focused=!1},setValidity:function(){this._input&&this._input.setCustomValidity&&this._input.setCustomValidity(this.validity().valid?"":this.$props.validationMessage||"Please enter a valid value!")},getCurrentState:function(){return{eventValue:u.getStateOrPropsValue(this.$props.value,this.$data.currentValue),prevLooseValue:this._prevLooseValue,currentLooseValue:this._input.value,selectionStart:this._input.selectionStart,selectionEnd:this._input.selectionEnd,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1,isPaste:this._isPaste,focused:this.$data.focused}},parseNumber:function(e){return this._intl.parseNumber(e,this.$props.format)},elementChange:function(e){var t=this.getCurrentState();this._isPaste=!1,this.triggerChange(e,u.sanitizeNumber(t,this.$props.format,this._intl))},triggerChange:function(e,t){var n=this;if(!this.$props.disabled){this.$data.valueDuringOnChange=t.eventValue,this.$data.currentValue=t.eventValue;var i=u.formatValue(u.rangeValue(t.eventValue,this.$props.min,this.$props.max),this.$props.format,this._intl),a=u.rangeValue(this.parseNumber(i),this.$props.min,this.$props.max);if(a!==t.eventValue&&(t.valueIsOutOfRange=!0,t.eventValue=a),t.valueIsCorrected){var r=this._elementWrapper;r&&-1===r.className.indexOf("k-state-invalid")&&(this.$data.isInvalid=!0,setTimeout((function(){n.$data.isInvalid=!1}),50))}var s=this.$props.value!==t.eventValue;void 0!==this.$props.value?this.$data.currentValue=this.$props.value:void 0!==this.$props.modelValue?this.$data.currentValue=this.$props.modelValue:this.$data.currentValue=this.$data.valueDuringOnChange,this.$data.prevLooseValue=t.prevLooseValue,this.$data.currentLooseValue=t.currentLooseValue,this.$data.selectionStart=t.selectionStart,this.$data.selectionEnd=t.selectionEnd,this.$data.decimalSelect=t.decimalSelect,this.$data.valueIsCorrected=t.valueIsCorrected,this.$data.valueIsOutOfRange=t.valueIsOutOfRange,this.$data.focused=t.focused,this.$data.isPaste=t.isPaste,this.$data.forceUpdate=!this.$data.forceUpdate,s&&(this.$emit("change",{event:e,value:this.$data.valueDuringOnChange,component:this,target:{name:this.$props.name,value:this.$data.valueDuringOnChange},validity:this.validity()}),this.$emit("changemodel",this.$data.valueDuringOnChange),this.$emit("update:modelValue",this.$data.valueDuringOnChange)),this.$data.valueDuringOnChange=void 0}},onPasteHandler:function(e){this._isPaste=!0},increase:function(e){var t=this.getCurrentState();u.increaseValue(this.parseNumber(String(t.currentLooseValue)),t,this.$props.step,this.$props.min,this.$props.max,this.$props.format,this._intl),this.triggerChange(e,t)},decrease:function(e){var t=this.getCurrentState();u.decreaseValue(this.parseNumber(String(t.currentLooseValue)),t,this.$props.step,this.$props.min,this.$props.max,this.$props.format,this._intl),this.triggerChange(e,t)},wheel:function(e){document&&document.activeElement===this._input&&this._input&&(e.deltaY<0&&(e.preventDefault(),this.increase(e)),e.deltaY>0&&(e.preventDefault(),this.decrease(e)))},keyDown:function(e){var t=this.getCurrentState(),n=this.parseNumber(String(t.currentLooseValue));if(!(t.selectionEnd>t.selectionStart&&t.selectionEnd-t.selectionStart===String(t.currentLooseValue).length)){switch(e.keyCode){case 38:u.increaseValue(n,t,this.$props.step,this.$props.min,this.$props.max,this.$props.format,this._intl);break;case 40:u.decreaseValue(n,t,this.$props.step,this.$props.min,this.$props.max,this.$props.format,this._intl);break;case 13:var i=u.formatValue(u.rangeValue(n,this.$props.min,this.$props.max),this.$props.format,this._intl),a=u.rangeValue(this.parseNumber(i),this.$props.min,this.$props.max);t.eventValue=a,t.currentLooseValue=u.formatValue(a,this.$props.format,this._intl),t.selectionStart=t.selectionEnd=t.currentLooseValue.length;break;case 110:var r=this._input,s=this._intl.numberSymbols();r&&(t.currentLooseValue=t.currentLooseValue.slice(0,t.selectionStart)+s.decimal+t.currentLooseValue.slice(t.selectionEnd),t.selectionStart=t.selectionEnd=t.selectionStart+1,t=u.sanitizeNumber(t,this.$props.format,this._intl));break;default:return}e.preventDefault(),this.triggerChange(e,t)}},spinnersWrapperMouseDown:function(e){document&&this._input&&(e.preventDefault(),document.activeElement!==this._input&&this._input.focus())}},setup:function(){return{v3:!0,inputRef:i.ref(null),elementWrapperRef:i.ref(null),kendoLocalizationService:i.inject("kendoLocalizationService",{}),kendoIntlService:i.inject("kendoIntlService",{})}},render:function(e){var t=this,n=i.h||e,r=this.$props.id||this._inputId,u=a.provideLocalizationService(this);void 0!==this.$props.value&&this.$props.value!==this.$data.currentValue?this.$data.currentValue=this.$props.value:void 0!==this.$props.modelValue&&this.$props.modelValue!==this.$data.currentValue&&(this.$data.currentValue=this.$props.modelValue),this._prevLooseValue=this.looseValue;var o=n("span",{dir:this.$props.dir,attrs:this.v3?null:{dir:this.$props.dir,"aria-disabled":this.$props.disabled?"true":void 0},class:"k-widget k-numerictextbox","aria-disabled":this.$props.disabled?"true":void 0},[n("span",{class:this.wrapperClassNames,ref:this.v3?function(e){t.elementWrapperRef=e}:"elementWrapper"},[n("input",{tabIndex:this.$props.tabIndex,attrs:this.v3?null:{tabIndex:this.$props.tabIndex,accessKey:this.$props.accessKey,disabled:this.$props.disabled,title:this.$props.title,"aria-valuemin":this.$props.min,"aria-valuemax":this.$props.max,placeholder:this.$props.placeholder,type:this.$props.inputType||"tel",spellCheck:!1,autoComplete:"off",autoCorrect:"off",id:r,"aria-valuenow":null!==this.$data.currentValue?this.$data.currentValue:void 0,name:this.$props.name},accessKey:this.$props.accessKey,disabled:this.$props.disabled,title:this.$props.title,"aria-valuemin":this.$props.min,"aria-valuemax":this.$props.max,placeholder:this.$props.placeholder,type:this.$props.inputType||"tel",spellCheck:!1,autoComplete:"off",autoCorrect:"off",class:"k-input k-formatted-value",id:r,value:this.v3?this.looseValue:null,domProps:this.v3?null:{value:this.looseValue},"aria-valuenow":null!==this.$data.currentValue?this.$data.currentValue:void 0,name:this.$props.name,onWheel:this.wheel,on:this.v3?null:{wheel:this.wheel,keydown:this.keyDown,input:this.elementChange,focus:this.emitFocus,blur:this.emitBlur,paste:this.onPasteHandler},onKeydown:this.keyDown,onInput:this.elementChange,onFocus:this.emitFocus,onBlur:this.emitBlur,onPaste:this.onPasteHandler,ref:this.v3?function(e){t.inputRef=e}:"input"}),this.$slots.default,this.$props.spinners&&n("span",{class:"k-select",onMousedown:this.spinnersWrapperMouseDown,on:this.v3?null:{mousedown:this.spinnersWrapperMouseDown}},[n("span",{class:"k-link k-link-increase","aria-label":u.toLanguageString(s.numericIncreaseValue,s.messages[s.numericIncreaseValue]),attrs:this.v3?null:{"aria-label":u.toLanguageString(s.numericIncreaseValue,s.messages[s.numericIncreaseValue]),title:u.toLanguageString(s.numericIncreaseValue,s.messages[s.numericIncreaseValue])},title:u.toLanguageString(s.numericIncreaseValue,s.messages[s.numericIncreaseValue]),onClick:this.increase,on:this.v3?null:{click:this.increase}},[n("span",{class:"k-icon k-i-arrow-n"})]),n("span",{class:"k-link k-link-decrease","aria-label":u.toLanguageString(s.numericDecreaseValue,s.messages[s.numericDecreaseValue]),attrs:this.v3?null:{"aria-label":u.toLanguageString(s.numericDecreaseValue,s.messages[s.numericDecreaseValue]),title:u.toLanguageString(s.numericDecreaseValue,s.messages[s.numericDecreaseValue])},title:u.toLanguageString(s.numericDecreaseValue,s.messages[s.numericDecreaseValue]),onClick:this.decrease,on:this.v3?null:{click:this.decrease}},[n("span",{class:"k-icon k-i-arrow-s"})])])])]);return this.$props.label?n("span",{class:this.spanClassNames,onFocusin:this.handleFocus,on:this.v3?null:{focusin:this.handleFocus,focusout:this.handleBlur},onFocusout:this.handleBlur,dir:this.$props.dir,attrs:this.v3?null:{dir:this.$props.dir}},[o,this.$props.label?this.$props.id?n("label",{for:this.$props.id,attrs:this.v3?null:{for:this.$props.id},class:"k-label"},[this.$props.label]):n("span",{class:"k-label"},[this.$props.label]):null]):o}};t.NumericTextBox=o},function(e,n){e.exports=t},function(e,t,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.messages=t.colorGradientHex=t.colorGradientA=t.colorGradientB=t.colorGradientG=t.colorGradientR=t.sliderDragTitle=t.sliderDecreaseValue=t.sliderIncreaseValue=t.numericDecreaseValue=t.numericIncreaseValue=void 0,t.numericIncreaseValue="numerictextbox.increment",t.numericDecreaseValue="numerictextbox.decrement",t.sliderIncreaseValue="slider.increment",t.sliderDecreaseValue="slider.decrement",t.sliderDragTitle="slider.dragTitle",t.colorGradientR="colorGradient.r",t.colorGradientG="colorGradient.g",t.colorGradientB="colorGradient.b",t.colorGradientA="colorGradient.a",t.colorGradientHex="colorGradient.hex",t.messages=((i={})[t.numericIncreaseValue]="Increase value",i[t.numericDecreaseValue]="Decrease value",i[t.sliderIncreaseValue]="Increase",i[t.sliderDecreaseValue]="Decrease",i[t.sliderDragTitle]="Drag",i[t.colorGradientR]="r",i[t.colorGradientG]="g",i[t.colorGradientB]="b",i[t.colorGradientA]="a",i[t.colorGradientHex]="hex",i)},function(e,t,n){"use strict";var i=function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.sanitizeNumber=t.changeBasedSelection=t.getDecimalCount=t.getFirstNumberIndex=t.getSuffix=t.getPrefix=t.getLastNumberIndex=t.reverseString=t.getInitialPosition=t.getFormatSymbols=t.getFormatPrefixSufix=t.isDecimalDuplicated=t.isMinusSymbolAdded=t.setInvalid=t.setSelection=t.rangeSelection=t.getMinCursorPosition=t.getMaxCursorPosition=t.rangeValue=t.decreaseValue=t.increaseValue=t.formatValue=t.getStateOrPropsValue=t.getInitialState=void 0;var a=/\d/;t.getInitialState=function(){return{eventValue:null,prevLooseValue:"",currentLooseValue:"",focused:!1,selectionStart:void 0,selectionEnd:void 0,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1}},t.getStateOrPropsValue=function(e,t){return void 0!==e?e:t},t.formatValue=function(e,t,n){return null===e&&void 0===e?"":"string"==typeof e?e:n.formatNumber(e,t)},t.increaseValue=function(e,n,i,r,s,u,o){var l=t.rangeValue((e||0)+(i||0),r,s);n.eventValue=l,n.currentLooseValue=t.formatValue(l,u,o),n.selectionStart=n.selectionEnd=t.getLastNumberIndex(n.currentLooseValue,a)},t.decreaseValue=function(e,n,i,r,s,u,o){var l=t.rangeValue((e||0)-(i||0),r,s);n.eventValue=l,n.currentLooseValue=t.formatValue(l,u,o),n.selectionStart=n.selectionEnd=t.getLastNumberIndex(n.currentLooseValue,a)},t.rangeValue=function(e,t,n){return null==e?e:e>1||e<1||1===e?void 0!==n&&void 0!==t&&n<t?null:(void 0!==n&&e>n&&(e=n),void 0!==t&&e<t&&(e=t),e):null},t.getMaxCursorPosition=function(e,t){var n=t.findIndex((function(t){t[0];var n=t[1];return Boolean(n)&&e.indexOf(n)===e.length-n.length}));if(-1===n)return-1;var i=t[n][1];return e.length-i.length},t.getMinCursorPosition=function(e,t){var n=t.findIndex((function(t){var n=t[0];t[1];return Boolean(n)&&0===e.indexOf(n)}));return-1===n?-1:t[n][0].length},t.rangeSelection=function(e,n,i){var a=t.getMaxCursorPosition(e,n);if(-1!==a&&i.selectionStart>a)i.selectionStart=i.selectionEnd=a;else{i.selectionStart>e.length&&(i.selectionStart=i.selectionEnd=e.length);var r=t.getMinCursorPosition(e,n);-1!==r&&i.selectionStart<r&&(i.selectionStart=i.selectionEnd=r),-1===i.selectionStart&&(i.selectionStart=i.selectionEnd=0)}},t.setSelection=function(e,n,i,a){e.selectionStart=e.selectionEnd=n,t.rangeSelection(i,a,e)},t.setInvalid=function(e,n,i,a){e.eventValue=a.parseNumber(e.prevLooseValue,n),e.currentLooseValue=e.prevLooseValue,e.valueIsCorrected=!0,t.setSelection(e,e.selectionStart,e.currentLooseValue,i)},t.isMinusSymbolAdded=function(e,t){var n=String(e.currentLooseValue),i=String(e.prevLooseValue);return n.split(t.minusSign).length!==i.split(t.minusSign).length&&n.length===i.length+t.minusSign.length},t.isDecimalDuplicated=function(e,t){return String(e.currentLooseValue).split(t.decimal).length>2},t.getFormatPrefixSufix=function(e,n){var i=n.formatNumber(1111111.1111111,e),a=n.formatNumber(-1111111.1111111,e),r=n.formatNumber(0,e),s=n.formatNumber(1,e),u=t.getPrefix(i),o=t.getPrefix(a),l=t.getPrefix(r),c=t.getPrefix(s);return{positiveInfo:[u,t.getSuffix(i)],negativeInfo:[o,t.getSuffix(a)],zeroInfo:[l,t.getSuffix(r)],oneInfo:[c,t.getSuffix(s)]}},t.getFormatSymbols=function(e,t){var n=t.formatNumber(1111111.1111111,e),i=t.formatNumber(-1111111.1111111,e),a=t.formatNumber(0,e),r=t.formatNumber(1,e),s=t.numberSymbols(),u=new RegExp("[\\d\\"+s.decimal+s.group+"]","g");return[n,i,a,r].map((function(e){return e.replace(u,"")})).join("").split("").filter((function(e,t,n){return n.indexOf(e)===t})).join("")},t.getInitialPosition=function(e,n){var i=e.indexOf(n.decimal);return i>-1?i:t.getLastNumberIndex(e,a)},t.reverseString=function(e){return e.split("").reverse().join("")},t.getLastNumberIndex=function(e,n){return e.length-t.reverseString(e).search(n)},t.getPrefix=function(e){return e.split(e[e.search(a)])[0]},t.getSuffix=function(e){var n=t.reverseString(e);return t.reverseString(n.split(n[n.search(a)])[0])},t.getFirstNumberIndex=function(e,t){return e.search(t)},t.getDecimalCount=function(e,t){var n=e.indexOf(t);return n>-1?e.length-n-1:0},t.changeBasedSelection=function(e,t,n,i,r){var s="0"===e.replace(r,"")[0],u="0"===t.replace(r,"")[0];if(s&&!u)return n-1;if(u&&i)return n+1;for(var o=0,l=0;l<n;l++)a.test(e.charAt(l))&&o++;for(var c=0;o>0&&t.length>c;)a.test(t.charAt(c))&&o--,c++;return c},t.sanitizeNumber=function(e,n,r){var s=i({},e),u=s.prevLooseValue,o=r.numberSymbols(),l=t.getFormatSymbols(n,r),c=String(s.currentLooseValue),d=String(u),p=new RegExp("[^\\d\\"+o.decimal+"]","g"),h=new RegExp("[^\\d\\"+o.decimal+"\\"+o.group+"]","g"),f=new RegExp("[\\d\\"+o.decimal+"\\"+o.group+"]"),v=c.replace(p,""),m=t.getFirstNumberIndex(c,a),g=-1===m?-1:t.getLastNumberIndex(c,a),$=c.indexOf(o.decimal),V=(c.substring(0,m)+c.substring(m,g).replace(h,"")+c.substring(g,c.length)).split("").filter((function(e){return-1!==l.indexOf(e)||-1!==e.search(f)})).join(""),b=r.formatNumber(.31111111111111117,n).replace(p,""),y=b.indexOf(o.decimal),S=y>-1?b.length-y-1:0,x=r.formatNumber(1,n).replace(p,""),L=x.indexOf(o.decimal),I=L>-1?x.length-L-1:0,O=t.getFormatPrefixSufix(n,r),C=[O.positiveInfo,O.negativeInfo,O.zeroInfo,O.oneInfo],N=1!==C.findIndex((function(e){return-1!==e.findIndex((function(e){return Boolean(e)}))})),k=c.length>0&&c.length<d.length;if(!s.isPaste){if(""===c)return s.eventValue=null,s.currentLooseValue="",s;if(s.currentLooseValue===o.minusSign&&r.formatNumber(-0,n)!==d)return s.eventValue=-0,s.currentLooseValue=t.formatValue(s.eventValue,n,r),t.setSelection(s,t.getInitialPosition(s.currentLooseValue,o),s.currentLooseValue,C),s;if(t.isMinusSymbolAdded(s,o)){var _=r.parseNumber(u,n);s.eventValue=-(null!==_?_:0),s.currentLooseValue=t.formatValue(s.eventValue,n,r);var D=t.getFirstNumberIndex(s.currentLooseValue,a),w=t.getFirstNumberIndex(d,a);return t.setSelection(s,s.selectionEnd-1+(D-w),s.currentLooseValue,C),s}if(s.currentLooseValue===o.decimal){s.eventValue=0;var P=t.formatValue(s.eventValue,n,r);if(0===I&&S>0){var M=t.getLastNumberIndex(P,a);s.currentLooseValue=P.substring(0,M)+o.decimal+P.substring(M)}else s.currentLooseValue=P;return t.setSelection(s,t.getInitialPosition(s.currentLooseValue,o)+1,s.currentLooseValue,C),s}if(t.isDecimalDuplicated(s,o))return t.setInvalid(s,n,C,r),s;if("p"===n&&c&&-1===c.indexOf(o.percentSign))return s.eventValue=r.parseNumber(c,n)/100,s.currentLooseValue=t.formatValue(s.eventValue,n,r),s;if(String(s.currentLooseValue).replace(/[^\d]/g,"").length>15)return t.setInvalid(s,n,C,r),s;if(v!==c&&c&&N)if(-1===C.findIndex((function(e){var t=e[0],n=e[1],i=c.indexOf(t),a=c.indexOf(n),r=0===i,s=a===c.length-n.length,u=i+t.length!==m&&-1!==m&&c[i+t.length]!==o.decimal,l=a!==g&&-1!==g&&c[a-1]!==o.decimal;return t&&n?!u&&!l&&(r&&s):t?!u&&r:!!n&&(!l&&s)})))return t.setInvalid(s,n,C,r),s;if(v[v.length-1]===o.decimal&&S>0)return s.eventValue=r.parseNumber(c,n),s.currentLooseValue=V,s;if(s.currentLooseValue&&u)if((l+o.decimal+o.group).split("").findIndex((function(e){return c.split("").filter((function(t){return t===e})).length<d.split("").filter((function(t){return t===e})).length&&c.length+1===d.length&&(e!==o.decimal||0!==t.getDecimalCount(d.replace(p,""),o.decimal))}))>-1)return s.eventValue=r.parseNumber(e.prevLooseValue,n),s.currentLooseValue=e.prevLooseValue,s;var j=t.getDecimalCount(v,o.decimal),F="0"===v[v.length-1];if(k&&F&&j<I)return s.eventValue=r.parseNumber(s.currentLooseValue,n),s.currentLooseValue=t.formatValue(s.eventValue,n,r),s;if(j>0){var B=c.substring(0,$);if(F&&(!B||0!==d.indexOf(B))){s.eventValue=r.parseNumber(s.currentLooseValue,n);var E=t.formatValue(s.eventValue,n,r);return t.setSelection(s,t.changeBasedSelection(c,E,s.selectionEnd,k,p),E,C),s.currentLooseValue=E,s}if(j>S){var A=c.indexOf(o.decimal),G=c.substring(0,A)+c.substring(A,A+1+S)+c.substring(g,String(s.currentLooseValue).length);return s.eventValue=r.parseNumber(G,n),s.currentLooseValue=G,t.setSelection(s,s.selectionStart,G,C),s}if(I!==S&&j<=S&&F)return s.eventValue=r.parseNumber(s.currentLooseValue,n),s.currentLooseValue=V,s;if(j<I)return s.eventValue=r.parseNumber(s.currentLooseValue,n),s.currentLooseValue=t.formatValue(s.eventValue,n,r),s}}if(s.eventValue=r.parseNumber(s.currentLooseValue,n),"number"==typeof s.eventValue){E=t.formatValue(s.eventValue,n,r);1===c.length?t.setSelection(s,t.getInitialPosition(E,o),E,C):t.setSelection(s,t.changeBasedSelection(c,E,s.selectionEnd,k,p),E,C),s.currentLooseValue=E}else s.currentLooseValue=t.formatValue(r.parseNumber(v),n,r);return s}}])}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("@progress/kendo-vue-intl")):"function"==typeof define&&define.amd?define(["vue","@progress/kendo-vue-intl"],t):"object"==typeof exports?exports.KendoVueInputs=t(require("vue"),require("@progress/kendo-vue-intl")):e.KendoVueInputs=t(e.Vue,e.KendoVueIntl)}(window,(function(e,t){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(t,n){t.exports=e},function(e,t,n){"use strict";n.r(t),n.d(t,"classNames",(function(){return i})),n.d(t,"guid",(function(){return r})),n.d(t,"Keys",(function(){return a})),n.d(t,"noop",(function(){return h})),n.d(t,"getListeners",(function(){return v})),n.d(t,"hasListener",(function(){return f})),n.d(t,"canUseDOM",(function(){return s})),n.d(t,"focusFirstFocusableChild",(function(){return o})),n.d(t,"clone",(function(){return l})),n.d(t,"cloneArray",(function(){return p})),n.d(t,"cloneValue",(function(){return d})),n.d(t,"cloneObject",(function(){return c})),n.d(t,"cloneDate",(function(){return u})),n.d(t,"getTemplate",(function(){return $})),n.d(t,"templateRendering",(function(){return g})),n.d(t,"getTabIndex",(function(){return V}));var i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?i.apply(void 0,e):"object"==typeof e?Object.keys(e).map((function(t,n){return e[n]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")},r=function(){var e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n},a={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},s=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),o=function(e){if(e){var t=e.querySelectorAll('input, [tabindex]:not([tabindex="-1"])');t.length&&t[0].focus&&t[0].focus()}},u=function(e){return e?new Date(e.getTime()):null};function l(e){var t={};return c(e,t),t}function c(e,t){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];t[n]=d(i,t[n])}}function d(e,t){if(Array.isArray(e))return p(e);if(e instanceof Date)return u(e);if(e&&"object"==typeof e){var n=t||{};return c(e,n),n}return e}function p(e){return e.map((function(e){return d(e,void 0)}))}var h=function(){};function f(e){return this.v3?Object.keys(this.$attrs).map((function(e){return e.toLowerCase()})).some((function(t){return t.endsWith(e.toLowerCase())})):this.$listeners[e]}function v(){if(this.v3){var e={};for(var t in this.$attrs)t.startsWith("on")&&(e[t]=this.$attrs[t]);return e}return this.$listeners}var m=function(){return(m=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function g(e,t){if(e){var n=this.v3?this.$slots[e]||(e.toLowerCase?this.$slots[e.toLowerCase()]:null):this.$scopedSlots[e]||(e.toLowerCase?this.$scopedSlots[e.toLowerCase()]:null);return"string"==typeof e&&n?{type:"slot",render:n,listeners:t}:"string"==typeof e||"object"==typeof e||"function"==typeof e&&e.component?{type:"component",render:e,listeners:t}:{type:"renderFunction",render:e,listeners:t}}}function $(e){var t,n,i,r=e.h,a=e.template,s=e.defaultRendering,o=e.defaultSlots,u=e.additionalProps,l=e.additionalListeners,c=e.swapDefaultSlots;if(!a)return s;if(this.v3){var d=s?s.props:{};t=m(m({},function(e){if(!e)return e;for(var t={},n=Object.keys(e),i=0;i<n.length;i++){var r=n[i];t["on"+r.charAt(0).toUpperCase()+r.slice(1)]=e[r]}return t}(l)),a.listeners),n=m(m({},d),u),i=m(m({},n),t)}else{var p=s&&s.componentOptions,h=p?s.componentOptions.listeners:{},f=p?s.componentOptions.propsData:{};t=m(m(m({},h),l),a.listeners),i={props:n=m(m({},f),u),on:t}}return"slot"===a.type?a.render({props:n,listeners:t,methods:t,defaultSlots:o})[0]:"renderFunction"===a.type?c?a.render(r,s,o,n,t):a.render(r,s,n,t,o):r(a.render,i,this.v3?function(){return[o]}:[o])}var V=function(e,t,n){var i="string"==typeof e?parseInt(e,void 0):e;if(NaN!==i)return void 0!==i?i:t?n?void 0:-1:0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rawLiteral=t.rawMask=t.token=t.unliteral=t.unmask=t.literal=t.mask=t.Parser=void 0;var i=n(3),r=n(13),a=function(e){return(e||"").split("")},s=function(){function e(e){this.parse=e}return e.prototype.run=function(e,t){return void 0===t&&(t=""),e instanceof r.Stream?this.parse(e):this.parse(new r.Stream(a(e),a(t)))},e.prototype.map=function(t){var n=this;return new e((function(e){return n.parse(e).map(t)}))},e.prototype.chain=function(t){var n=this;return new e((function(e){return n.parse(e).chain((function(e,n){return t(e).run(n)}))}))},e.prototype.isLiteral=function(e){return this.run(e).type===i.ResultType.Literal},e}();t.Parser=s,t.mask=function(e){var t=e.prompt,n=e.promptPlaceholder;return function(e){return new s((function(r){for(;!r.eof();){var a=r.peek(),s=a.char,o=a.control;if(s===o&&o===t)return r.eat(),new i.Result(t,r,i.ResultType.Mask);if(e.test(s))return r.eat(),new i.Result(s,r,i.ResultType.Mask);if(s===n)return r.eat(),new i.Result(t,r,i.ResultType.Mask);r.eat_input()}return r.eat(),new i.Result(t,r,i.ResultType.Mask)}))}},t.literal=function(e){return new s((function(t){return t.peek().char===e?(t.eat(),new i.Result(e,t,i.ResultType.Literal)):new i.Result(e,t,i.ResultType.Literal)}))},t.unmask=function(e){return function(t){return new s((function(n){for(;!n.eof();){var r=n.peek(),a=r.char,s=r.control;if(a===e&&s===e)return n.eat(),new i.Result(a,n);if(t.test(a))return n.eat(),new i.Result(a,n);n.eat_input()}return n.eat(),new i.Result("",n)}))}},t.unliteral=function(e){return new s((function(t){return t.eof()?new i.Result("",t):(t.peek().char===e&&t.eat(),new i.Result(e,t))}))},t.token=function(e,t){return new s((function(n){var r=n.next().char,a=e[r];return"\\"===r?(r=n.next().char,new i.Result(t.literal(r),n)):a?new i.Result(t.mask(a),n):new i.Result(t.literal(r),n)}))},t.rawMask=function(e){var t=e.prompt,n=e.promptPlaceholder;return new s((function(e){var r=e.next().char;return r===t?new i.Result(n,e):new i.Result(r,e)}))},t.rawLiteral=function(e){return new s((function(t){var n=t.next().char;return e?new i.Result(n,t):new i.Result("",t)}))}},function(e,t,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.Result=t.ResultType=void 0,function(e){e[e.Literal=0]="Literal",e[e.Mask=1]="Mask",e[e.Undefined=2]="Undefined"}(i=t.ResultType||(t.ResultType={}));var r=function(){function e(e,t,n){void 0===n&&(n=i.Undefined),this.value=e,this.rest=t,this.type=n}return e.prototype.map=function(t){return new e(t(this.value),this.rest)},e.prototype.chain=function(e){return e(this.value,this.rest)},e.prototype.fold=function(e,t){return e(this.value,this.rest)},e.prototype.concat=function(e){return this.map((function(t,n){return e.chain((function(e,n){return t.concat([e])}))}))},e.prototype.toString=function(){return"Result({ value: '"+this.value+"', rest: "+this.rest+" })"},e}();t.Result=r},function(e,t,n){"use strict";var i=Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]},r=function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(5),t),r(n(6),t),r(n(10),t),r(n(15),t)},function(e,t,n){"use strict";var i=function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Input=void 0;var r=n(0),a=r.h,s=r.ref,o=n(1),u={model:{event:"changemodel"},inheritAttrs:!1,emits:{input:null,change:null,changemodel:null,"update:modelValue":null,focus:null,blur:null},props:{modelValue:{type:[String,Number],default:void 0},defaultValue:{type:[String,Number],default:""},value:{type:[String,Number]},label:{type:String},placeholder:{type:String},required:{type:Boolean,default:!1},dir:{type:String},valid:{type:Boolean,default:void 0},validate:{type:Boolean},validationMessage:{type:String},validityStyles:{type:Boolean,default:!0}},data:function(){return{hasMounted:!1,autofill:!1,currentValue:"",valueDuringOnChange:"",input:null,inputId:o.guid(),focused:!1}},created:function(){this.$data.valueDuringOnChange=void 0,this.$data.currentValue=this.$props.defaultValue},mounted:function(){this.$data.input=this.$refs.input,this.$data.hasMounted=!0},updated:function(){this.setValidity()},setup:function(){return{v3:!0,inputRef:s(null)}},render:function(e){var t=this,n=a||e,r=this.v3?this.$attrs:this.$listeners,s=Object.keys(this.$attrs).some((function(e){return"onInput"===e})),u=Object.keys(this.$attrs).some((function(e){return"onUpdate:modelValue"===e})),l=this.$props,c=l.label,d=l.id,p=l.required,h=d||this.$data.inputId,f=n("input",i(i({domProps:this.v3?null:i(i({},this.$attrs),{placeholder:this.$props.placeholder,id:h,required:p,value:this.computedValue})},this.$attrs),{placeholder:this.$props.placeholder,id:h,required:p,value:this.computedValue,class:i({},this.inputClassNames()),ref:this.v3?function(e){t.inputRef=e}:"input",on:this.v3?null:{change:this.handleChange,focus:this.emitFocus,blur:this.emitBlur,input:r.input||r.changemodel?this.handleInput:o.noop,animationstart:this.handleAutoFill,animationend:this.handleAutoFillEnd},onChange:this.handleChange,onFocus:this.emitFocus,onBlur:this.emitBlur,onInput:s||u?this.handleInput:o.noop,onAnimationstart:this.handleAutoFill,onAnimationend:this.handleAutoFillEnd}));return c?n("span",{class:this.spanClassNames,onFocusin:this.handleFocus,on:this.v3?null:{focusin:this.handleFocus,focusout:this.handleBlur},onFocusout:this.handleBlur,dir:this.$props.dir,attrs:this.v3?null:{dir:this.$props.dir}},[f,c?d?n("label",{for:d,attrs:this.v3?null:{for:d},class:"k-label"},[c]):n("span",{class:"k-label"},[c]):null]):f},methods:{emitFocus:function(e){this.$emit("focus",e)},emitBlur:function(e){this.$emit("blur",e)},handleBlur:function(e){this.$data.focused=!1},handleFocus:function(e){this.$data.focused=!0},focus:function(){this.$data.input&&this.$data.input.focus()},inputClassNames:function(){var e=!this.$data.hasMounted||!this.$props.validityStyles||this.validity().valid;return{"k-textbox":!0,"k-state-invalid":!e&&void 0!==e}},validity:function(){var e={badInput:!!this.$data.input&&this.$data.input.validity.badInput,patternMismatch:!!this.$data.input&&this.$data.input.validity.patternMismatch,rangeOverflow:!!this.$data.input&&this.$data.input.validity.rangeOverflow,rangeUnderflow:!!this.$data.input&&this.$data.input.validity.rangeUnderflow,stepMismatch:!!this.$data.input&&this.$data.input.validity.stepMismatch,tooLong:!!this.$data.input&&this.$data.input.validity.tooLong,typeMismatch:!!this.$data.input&&this.$data.input.validity.typeMismatch,valueMissing:!!this.$data.input&&this.$data.input.validity.valueMissing};return i(i({},e),{customError:void 0!==this.$props.validationMessage,valid:void 0!==this.$props.valid?this.$props.valid:!this.$data.input||!this.isInvalid(e)})},isInvalid:function(e){var t=!1;for(var n in e)e.hasOwnProperty(n)&&(t=t||e[n]);return t},setValidity:function(){this.$data.input&&this.$data.input.setCustomValidity&&this.$data.input.setCustomValidity(this.validity().valid?"":this.$props.validationMessage||"")},handleInput:function(e){var t=this;this.$data.currentValue=e.target.value,this.$data.valueDuringOnChange=e.target.value,this.$nextTick((function(){t.$emit("input",{event:e,value:e.target.value,component:t,target:e.target,validity:t.validity()}),t.$emit("changemodel",e.target.value),t.$emit("update:modelValue",e.target.value),t.$data.valueDuringOnChange=void 0}))},handleChange:function(e){var t=this;this.$data.currentValue=e.target.value,this.$data.valueDuringOnChange=e.target.value,this.$nextTick((function(){t.$emit("change",{event:e,value:e.target.value,component:t,target:e.target,validity:t.validity()}),t.$emit("changemodel",e.target.value),t.$emit("update:modelValue",e.target.value),t.$data.valueDuringOnChange=void 0}))},handleAutoFill:function(e){if("autoFillStart"===e.animationName){var t=e.target.parentNode;t&&t.classList.contains("k-state-empty")&&(this.$data.autofill=!0)}},handleAutoFillEnd:function(e){"autoFillEnd"===e.animationName&&(e.target.parentNode&&(this.$data.autofill=!1))},name:function(){return this.$props.name}},computed:{spanClassNames:{get:function(){var e=!this.$data.hasMounted||!this.$props.validityStyles||this.validity().valid;return{"k-floating-label-container":!0,"k-state-focused":this.$data.focused,"k-state-empty":!(0===this.computedValue||this.computedValue||this.$props.placeholder||this.$data.autofill),"k-autofill":this.$data.autofill,"k-state-invalid":!e&&void 0!==e,"k-rtl":"rtl"===this.$props.dir}}},computedValue:{get:function(){return void 0!==this.$data.valueDuringOnChange?this.$data.valueDuringOnChange:void 0!==this.$props.value?this.$props.value:void 0!==this.$props.modelValue?this.$props.modelValue:this.$data.currentValue}}}};t.Input=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NumericTextBox=void 0;var i=n(0),r=i.h,a=i.ref,s=i.inject,o=n(7),u=n(1),l=n(8),c=n(9),d={model:{event:"changemodel"},inheritAttrs:!1,emits:{change:null,changemodel:null,"update:modelValue":null,focus:null,blur:null},props:{modelValue:Number,value:Number,defaultValue:Number,step:{type:Number,default:1},format:[String,Object],tabIndex:Number,accessKey:String,title:String,placeholder:String,min:Number,max:Number,spinners:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},dir:String,name:String,label:String,validationMessage:String,validityStyles:{type:Boolean,default:!0},valid:{type:Boolean,default:void 0},required:{type:Boolean,default:!1},id:String},inject:{kendoIntlService:{default:null},kendoLocalizationService:{default:null}},data:function(){return{hasMounted:!1,isInvalid:!1,isEmpty:!1,currentValue:0,valueDuringOnChange:0,currentLooseValue:"",selectionStart:0,selectionEnd:0,decimalSelect:!1,focused:!1,forceUpdate:!1}},created:function(){this._textBeforeInput="",this._inputId=u.guid(),this.$data.currentLooseValue=null,this.$data.valueDuringOnChange=void 0,this._intl=o.provideIntlService(this),this._symbols=this._intl.numberSymbols(),void 0!==this.$props.value?this.$data.currentValue=this.$props.value:void 0!==this.$props.modelValue?this.$data.currentValue=this.$props.modelValue:void 0!==this.$props.defaultValue?this.$data.currentValue=this.$props.defaultValue:this.$data.currentValue=null},mounted:function(){this._input=this.v3?this.inputRef:this.$refs.input,this._elementWrapper=this.v3?this.elementWrapperRef:this.$refs.elementWrapper,this.$data.hasMounted=!0,this._input&&(this._textBeforeInput=this._input.value),this.setValidity()},updated:function(){document&&document.activeElement!==this._input||!this._input||null===this.$data.currentLooseValue||this.$data.forceUpdate&&(this._input.selectionStart=this.$data.selectionStart,this._input.selectionEnd=this.$data.selectionEnd,this.$data.forceUpdate=!1),this._input&&(this._textBeforeInput=this._input.value),this.setValidity()},computed:{computedValue:{get:function(){return void 0!==this.$data.valueDuringOnChange?this.$data.valueDuringOnChange:this.$data.currentValue}},looseValue:{get:function(){return c.formatValue(this.$data.focused?this.$data.currentLooseValue:c.getStateOrPropsValue(this.$props.value,this.$data.currentValue),this.$props.format,this._intl)}},spanClassNames:{get:function(){var e=!this.$data.hasMounted||!this.$props.validityStyles||this.validity().valid,t=this.computedValue;return{"k-floating-label-container":!0,"k-state-focused":this.$data.focused,"k-state-empty":!(0===t||(t||this.$props.placeholder)),"k-state-invalid":!e&&void 0!==e,"k-rtl":"rtl"===this.$props.dir}}},wrapperClassNames:{get:function(){var e=!this.$props.validityStyles||this.validity().valid;return{"k-numeric-wrap":!0,"k-state-disabled":this.$props.disabled,"k-state-invalid":!e||this.$data.isInvalid}}}},methods:{validity:function(){var e=void 0!==this.$props.validationMessage,t=!this.$props.required||null!==this.computedValue;return{customError:e,valid:void 0!==this.$props.valid?this.$props.valid:t,valueMissing:null===this.computedValue}},focus:function(){this._input&&this._input.focus()},emitFocus:function(e){this.$data.currentLooseValue=this._prevLooseValue,this.$data.focused=!0,this.$emit("focus",e),this.$data.forceUpdate=!0},emitBlur:function(e){this.$data.eventValue=null,this.$data.prevLooseValue="",this.$data.currentLooseValue="",this.$data.focused=!1,this.$data.selectionStart=void 0,this.$data.selectionEnd=void 0,this.$data.decimalSelect=!1,this.$data.valueIsCorrected=!1,this.$data.valueIsOutOfRange=!1,this.$emit("blur",e),this.$data.forceUpdate=!0},handleFocus:function(e){this.$data.focused=!0},handleBlur:function(e){this.$data.focused=!1},setValidity:function(){this._input&&this._input.setCustomValidity&&this._input.setCustomValidity(this.validity().valid?"":this.$props.validationMessage||"Please enter a valid value!")},getCurrentState:function(){return{eventValue:c.getStateOrPropsValue(this.$props.value,this.$data.currentValue),prevLooseValue:this._prevLooseValue,currentLooseValue:this._input.value,selectionStart:this._input.selectionStart,selectionEnd:this._input.selectionEnd,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1,isPaste:this._isPaste,focused:this.$data.focused}},parseNumber:function(e){return this._intl.parseNumber(e,this.$props.format)},elementChange:function(e){var t=this.getCurrentState();this._isPaste=!1,this.triggerChange(e,c.sanitizeNumber(t,this.$props.format,this._intl))},triggerChange:function(e,t){var n=this;if(!this.$props.disabled){this.$data.valueDuringOnChange=t.eventValue,this.$data.currentValue=t.eventValue;var i=c.formatValue(c.rangeValue(t.eventValue,this.$props.min,this.$props.max),this.$props.format,this._intl),r=c.rangeValue(this.parseNumber(i),this.$props.min,this.$props.max);if(r!==t.eventValue&&(t.valueIsOutOfRange=!0,t.eventValue=r),t.valueIsCorrected){var a=this._elementWrapper;a&&-1===a.className.indexOf("k-state-invalid")&&(this.$data.isInvalid=!0,setTimeout((function(){n.$data.isInvalid=!1}),50))}var s=this.$props.value!==t.eventValue;void 0!==this.$props.value?this.$data.currentValue=this.$props.value:void 0!==this.$props.modelValue?this.$data.currentValue=this.$props.modelValue:this.$data.currentValue=this.$data.valueDuringOnChange,this.$data.prevLooseValue=t.prevLooseValue,this.$data.currentLooseValue=t.currentLooseValue,this.$data.selectionStart=t.selectionStart,this.$data.selectionEnd=t.selectionEnd,this.$data.decimalSelect=t.decimalSelect,this.$data.valueIsCorrected=t.valueIsCorrected,this.$data.valueIsOutOfRange=t.valueIsOutOfRange,this.$data.focused=t.focused,this.$data.isPaste=t.isPaste,this.$data.forceUpdate=!this.$data.forceUpdate,s&&(this.$emit("change",{event:e,value:this.$data.valueDuringOnChange,component:this,target:{name:this.$props.name,value:this.$data.valueDuringOnChange},validity:this.validity()}),this.$emit("changemodel",this.$data.valueDuringOnChange),this.$emit("update:modelValue",this.$data.valueDuringOnChange)),this.$data.valueDuringOnChange=void 0}},onPasteHandler:function(e){this._isPaste=!0},increase:function(e){var t=this.getCurrentState();c.increaseValue(this.parseNumber(String(t.currentLooseValue)),t,this.$props.step,this.$props.min,this.$props.max,this.$props.format,this._intl),this.triggerChange(e,t)},decrease:function(e){var t=this.getCurrentState();c.decreaseValue(this.parseNumber(String(t.currentLooseValue)),t,this.$props.step,this.$props.min,this.$props.max,this.$props.format,this._intl),this.triggerChange(e,t)},wheel:function(e){document&&document.activeElement===this._input&&this._input&&(e.deltaY<0&&(e.preventDefault(),this.increase(e)),e.deltaY>0&&(e.preventDefault(),this.decrease(e)))},keyDown:function(e){var t=this.getCurrentState(),n=this.parseNumber(String(t.currentLooseValue));if(!(t.selectionEnd>t.selectionStart&&t.selectionEnd-t.selectionStart===String(t.currentLooseValue).length)){switch(e.keyCode){case 38:c.increaseValue(n,t,this.$props.step,this.$props.min,this.$props.max,this.$props.format,this._intl);break;case 40:c.decreaseValue(n,t,this.$props.step,this.$props.min,this.$props.max,this.$props.format,this._intl);break;case 13:var i=c.formatValue(c.rangeValue(n,this.$props.min,this.$props.max),this.$props.format,this._intl),r=c.rangeValue(this.parseNumber(i),this.$props.min,this.$props.max);t.eventValue=r,t.currentLooseValue=c.formatValue(r,this.$props.format,this._intl),t.selectionStart=t.selectionEnd=t.currentLooseValue.length;break;case 110:var a=this._input,s=this._intl.numberSymbols();a&&(t.currentLooseValue=t.currentLooseValue.slice(0,t.selectionStart)+s.decimal+t.currentLooseValue.slice(t.selectionEnd),t.selectionStart=t.selectionEnd=t.selectionStart+1,t=c.sanitizeNumber(t,this.$props.format,this._intl));break;default:return}e.preventDefault(),this.triggerChange(e,t)}},spinnersWrapperMouseDown:function(e){document&&this._input&&(e.preventDefault(),document.activeElement!==this._input&&this._input.focus())}},setup:function(){return{v3:!0,inputRef:a(null),elementWrapperRef:a(null),kendoLocalizationService:s("kendoLocalizationService",{}),kendoIntlService:s("kendoIntlService",{})}},render:function(e){var t=this,n=r||e,i=this.$props.id||this._inputId,a=o.provideLocalizationService(this);void 0!==this.$props.value&&this.$props.value!==this.$data.currentValue?this.$data.currentValue=this.$props.value:void 0!==this.$props.modelValue&&this.$props.modelValue!==this.$data.currentValue&&(this.$data.currentValue=this.$props.modelValue),this._prevLooseValue=this.looseValue;var s=n("span",{dir:this.$props.dir,attrs:this.v3?null:{dir:this.$props.dir,"aria-disabled":this.$props.disabled?"true":void 0},class:"k-widget k-numerictextbox","aria-disabled":this.$props.disabled?"true":void 0},[n("span",{class:this.wrapperClassNames,ref:this.v3?function(e){t.elementWrapperRef=e}:"elementWrapper"},[n("input",{tabIndex:this.$props.tabIndex,attrs:this.v3?null:{tabIndex:this.$props.tabIndex,accessKey:this.$props.accessKey,disabled:this.$props.disabled,title:this.$props.title,"aria-valuemin":this.$props.min,"aria-valuemax":this.$props.max,placeholder:this.$props.placeholder,type:this.$props.inputType||"tel",spellCheck:!1,autoComplete:"off",autoCorrect:"off",id:i,"aria-valuenow":null!==this.$data.currentValue?this.$data.currentValue:void 0,name:this.$props.name},accessKey:this.$props.accessKey,disabled:this.$props.disabled,title:this.$props.title,"aria-valuemin":this.$props.min,"aria-valuemax":this.$props.max,placeholder:this.$props.placeholder,type:this.$props.inputType||"tel",spellCheck:!1,autoComplete:"off",autoCorrect:"off",class:"k-input k-formatted-value",id:i,value:this.v3?this.looseValue:null,domProps:this.v3?null:{value:this.looseValue},"aria-valuenow":null!==this.$data.currentValue?this.$data.currentValue:void 0,name:this.$props.name,onWheel:this.wheel,on:this.v3?null:{wheel:this.wheel,keydown:this.keyDown,input:this.elementChange,focus:this.emitFocus,blur:this.emitBlur,paste:this.onPasteHandler},onKeydown:this.keyDown,onInput:this.elementChange,onFocus:this.emitFocus,onBlur:this.emitBlur,onPaste:this.onPasteHandler,ref:this.v3?function(e){t.inputRef=e}:"input"}),this.$slots.default,this.$props.spinners&&n("span",{class:"k-select",onMousedown:this.spinnersWrapperMouseDown,on:this.v3?null:{mousedown:this.spinnersWrapperMouseDown}},[n("span",{class:"k-link k-link-increase","aria-label":a.toLanguageString(l.numericIncreaseValue,l.messages[l.numericIncreaseValue]),attrs:this.v3?null:{"aria-label":a.toLanguageString(l.numericIncreaseValue,l.messages[l.numericIncreaseValue]),title:a.toLanguageString(l.numericIncreaseValue,l.messages[l.numericIncreaseValue])},title:a.toLanguageString(l.numericIncreaseValue,l.messages[l.numericIncreaseValue]),onClick:this.increase,on:this.v3?null:{click:this.increase}},[n("span",{class:"k-icon k-i-arrow-n"})]),n("span",{class:"k-link k-link-decrease","aria-label":a.toLanguageString(l.numericDecreaseValue,l.messages[l.numericDecreaseValue]),attrs:this.v3?null:{"aria-label":a.toLanguageString(l.numericDecreaseValue,l.messages[l.numericDecreaseValue]),title:a.toLanguageString(l.numericDecreaseValue,l.messages[l.numericDecreaseValue])},title:a.toLanguageString(l.numericDecreaseValue,l.messages[l.numericDecreaseValue]),onClick:this.decrease,on:this.v3?null:{click:this.decrease}},[n("span",{class:"k-icon k-i-arrow-s"})])])])]);return this.$props.label?n("span",{class:this.spanClassNames,onFocusin:this.handleFocus,on:this.v3?null:{focusin:this.handleFocus,focusout:this.handleBlur},onFocusout:this.handleBlur,dir:this.$props.dir,attrs:this.v3?null:{dir:this.$props.dir}},[s,this.$props.label?this.$props.id?n("label",{for:this.$props.id,attrs:this.v3?null:{for:this.$props.id},class:"k-label"},[this.$props.label]):n("span",{class:"k-label"},[this.$props.label]):null]):s}};t.NumericTextBox=d},function(e,n){e.exports=t},function(e,t,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.messages=t.colorGradientHex=t.colorGradientA=t.colorGradientB=t.colorGradientG=t.colorGradientR=t.sliderDragTitle=t.sliderDecreaseValue=t.sliderIncreaseValue=t.numericDecreaseValue=t.numericIncreaseValue=void 0,t.numericIncreaseValue="numerictextbox.increment",t.numericDecreaseValue="numerictextbox.decrement",t.sliderIncreaseValue="slider.increment",t.sliderDecreaseValue="slider.decrement",t.sliderDragTitle="slider.dragTitle",t.colorGradientR="colorGradient.r",t.colorGradientG="colorGradient.g",t.colorGradientB="colorGradient.b",t.colorGradientA="colorGradient.a",t.colorGradientHex="colorGradient.hex",t.messages=((i={})[t.numericIncreaseValue]="Increase value",i[t.numericDecreaseValue]="Decrease value",i[t.sliderIncreaseValue]="Increase",i[t.sliderDecreaseValue]="Decrease",i[t.sliderDragTitle]="Drag",i[t.colorGradientR]="r",i[t.colorGradientG]="g",i[t.colorGradientB]="b",i[t.colorGradientA]="a",i[t.colorGradientHex]="hex",i)},function(e,t,n){"use strict";var i=function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.sanitizeNumber=t.changeBasedSelection=t.getDecimalCount=t.getFirstNumberIndex=t.getSuffix=t.getPrefix=t.getLastNumberIndex=t.reverseString=t.getInitialPosition=t.getFormatSymbols=t.getFormatPrefixSufix=t.isDecimalDuplicated=t.isMinusSymbolAdded=t.setInvalid=t.setSelection=t.rangeSelection=t.getMinCursorPosition=t.getMaxCursorPosition=t.rangeValue=t.decreaseValue=t.increaseValue=t.formatValue=t.getStateOrPropsValue=t.getInitialState=void 0;var r=/\d/;t.getInitialState=function(){return{eventValue:null,prevLooseValue:"",currentLooseValue:"",focused:!1,selectionStart:void 0,selectionEnd:void 0,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1}},t.getStateOrPropsValue=function(e,t){return void 0!==e?e:t},t.formatValue=function(e,t,n){return null===e&&void 0===e?"":"string"==typeof e?e:n.formatNumber(e,t)},t.increaseValue=function(e,n,i,a,s,o,u){var l=t.rangeValue((e||0)+(i||0),a,s);n.eventValue=l,n.currentLooseValue=t.formatValue(l,o,u),n.selectionStart=n.selectionEnd=t.getLastNumberIndex(n.currentLooseValue,r)},t.decreaseValue=function(e,n,i,a,s,o,u){var l=t.rangeValue((e||0)-(i||0),a,s);n.eventValue=l,n.currentLooseValue=t.formatValue(l,o,u),n.selectionStart=n.selectionEnd=t.getLastNumberIndex(n.currentLooseValue,r)},t.rangeValue=function(e,t,n){return null==e?e:e>1||e<1||1===e?void 0!==n&&void 0!==t&&n<t?null:(void 0!==n&&e>n&&(e=n),void 0!==t&&e<t&&(e=t),e):null},t.getMaxCursorPosition=function(e,t){var n=t.findIndex((function(t){t[0];var n=t[1];return Boolean(n)&&e.indexOf(n)===e.length-n.length}));if(-1===n)return-1;var i=t[n][1];return e.length-i.length},t.getMinCursorPosition=function(e,t){var n=t.findIndex((function(t){var n=t[0];t[1];return Boolean(n)&&0===e.indexOf(n)}));return-1===n?-1:t[n][0].length},t.rangeSelection=function(e,n,i){var r=t.getMaxCursorPosition(e,n);if(-1!==r&&i.selectionStart>r)i.selectionStart=i.selectionEnd=r;else{i.selectionStart>e.length&&(i.selectionStart=i.selectionEnd=e.length);var a=t.getMinCursorPosition(e,n);-1!==a&&i.selectionStart<a&&(i.selectionStart=i.selectionEnd=a),-1===i.selectionStart&&(i.selectionStart=i.selectionEnd=0)}},t.setSelection=function(e,n,i,r){e.selectionStart=e.selectionEnd=n,t.rangeSelection(i,r,e)},t.setInvalid=function(e,n,i,r){e.eventValue=r.parseNumber(e.prevLooseValue,n),e.currentLooseValue=e.prevLooseValue,e.valueIsCorrected=!0,t.setSelection(e,e.selectionStart,e.currentLooseValue,i)},t.isMinusSymbolAdded=function(e,t){var n=String(e.currentLooseValue),i=String(e.prevLooseValue);return n.split(t.minusSign).length!==i.split(t.minusSign).length&&n.length===i.length+t.minusSign.length},t.isDecimalDuplicated=function(e,t){return String(e.currentLooseValue).split(t.decimal).length>2},t.getFormatPrefixSufix=function(e,n){var i=n.formatNumber(1111111.1111111,e),r=n.formatNumber(-1111111.1111111,e),a=n.formatNumber(0,e),s=n.formatNumber(1,e),o=t.getPrefix(i),u=t.getPrefix(r),l=t.getPrefix(a),c=t.getPrefix(s);return{positiveInfo:[o,t.getSuffix(i)],negativeInfo:[u,t.getSuffix(r)],zeroInfo:[l,t.getSuffix(a)],oneInfo:[c,t.getSuffix(s)]}},t.getFormatSymbols=function(e,t){var n=t.formatNumber(1111111.1111111,e),i=t.formatNumber(-1111111.1111111,e),r=t.formatNumber(0,e),a=t.formatNumber(1,e),s=t.numberSymbols(),o=new RegExp("[\\d\\"+s.decimal+s.group+"]","g");return[n,i,r,a].map((function(e){return e.replace(o,"")})).join("").split("").filter((function(e,t,n){return n.indexOf(e)===t})).join("")},t.getInitialPosition=function(e,n){var i=e.indexOf(n.decimal);return i>-1?i:t.getLastNumberIndex(e,r)},t.reverseString=function(e){return e.split("").reverse().join("")},t.getLastNumberIndex=function(e,n){return e.length-t.reverseString(e).search(n)},t.getPrefix=function(e){return e.split(e[e.search(r)])[0]},t.getSuffix=function(e){var n=t.reverseString(e);return t.reverseString(n.split(n[n.search(r)])[0])},t.getFirstNumberIndex=function(e,t){return e.search(t)},t.getDecimalCount=function(e,t){var n=e.indexOf(t);return n>-1?e.length-n-1:0},t.changeBasedSelection=function(e,t,n,i,a){var s="0"===e.replace(a,"")[0],o="0"===t.replace(a,"")[0];if(s&&!o)return n-1;if(o&&i)return n+1;for(var u=0,l=0;l<n;l++)r.test(e.charAt(l))&&u++;for(var c=0;u>0&&t.length>c;)r.test(t.charAt(c))&&u--,c++;return c},t.sanitizeNumber=function(e,n,a){var s=i({},e),o=s.prevLooseValue,u=a.numberSymbols(),l=t.getFormatSymbols(n,a),c=String(s.currentLooseValue),d=String(o),p=new RegExp("[^\\d\\"+u.decimal+"]","g"),h=new RegExp("[^\\d\\"+u.decimal+"\\"+u.group+"]","g"),f=new RegExp("[\\d\\"+u.decimal+"\\"+u.group+"]"),v=c.replace(p,""),m=t.getFirstNumberIndex(c,r),g=-1===m?-1:t.getLastNumberIndex(c,r),$=c.indexOf(u.decimal),V=(c.substring(0,m)+c.substring(m,g).replace(h,"")+c.substring(g,c.length)).split("").filter((function(e){return-1!==l.indexOf(e)||-1!==e.search(f)})).join(""),y=a.formatNumber(.31111111111111117,n).replace(p,""),b=y.indexOf(u.decimal),k=b>-1?y.length-b-1:0,S=a.formatNumber(1,n).replace(p,""),x=S.indexOf(u.decimal),L=x>-1?S.length-x-1:0,C=t.getFormatPrefixSufix(n,a),I=[C.positiveInfo,C.negativeInfo,C.zeroInfo,C.oneInfo],O=1!==I.findIndex((function(e){return-1!==e.findIndex((function(e){return Boolean(e)}))})),w=c.length>0&&c.length<d.length;if(!s.isPaste){if(""===c)return s.eventValue=null,s.currentLooseValue="",s;if(s.currentLooseValue===u.minusSign&&a.formatNumber(-0,n)!==d)return s.eventValue=-0,s.currentLooseValue=t.formatValue(s.eventValue,n,a),t.setSelection(s,t.getInitialPosition(s.currentLooseValue,u),s.currentLooseValue,I),s;if(t.isMinusSymbolAdded(s,u)){var P=a.parseNumber(o,n);s.eventValue=-(null!==P?P:0),s.currentLooseValue=t.formatValue(s.eventValue,n,a);var _=t.getFirstNumberIndex(s.currentLooseValue,r),N=t.getFirstNumberIndex(d,r);return t.setSelection(s,s.selectionEnd-1+(_-N),s.currentLooseValue,I),s}if(s.currentLooseValue===u.decimal){s.eventValue=0;var M=t.formatValue(s.eventValue,n,a);if(0===L&&k>0){var D=t.getLastNumberIndex(M,r);s.currentLooseValue=M.substring(0,D)+u.decimal+M.substring(D)}else s.currentLooseValue=M;return t.setSelection(s,t.getInitialPosition(s.currentLooseValue,u)+1,s.currentLooseValue,I),s}if(t.isDecimalDuplicated(s,u))return t.setInvalid(s,n,I,a),s;if("p"===n&&c&&-1===c.indexOf(u.percentSign))return s.eventValue=a.parseNumber(c,n)/100,s.currentLooseValue=t.formatValue(s.eventValue,n,a),s;if(String(s.currentLooseValue).replace(/[^\d]/g,"").length>15)return t.setInvalid(s,n,I,a),s;if(v!==c&&c&&O)if(-1===I.findIndex((function(e){var t=e[0],n=e[1],i=c.indexOf(t),r=c.indexOf(n),a=0===i,s=r===c.length-n.length,o=i+t.length!==m&&-1!==m&&c[i+t.length]!==u.decimal,l=r!==g&&-1!==g&&c[r-1]!==u.decimal;return t&&n?!o&&!l&&(a&&s):t?!o&&a:!!n&&(!l&&s)})))return t.setInvalid(s,n,I,a),s;if(v[v.length-1]===u.decimal&&k>0)return s.eventValue=a.parseNumber(c,n),s.currentLooseValue=V,s;if(s.currentLooseValue&&o)if((l+u.decimal+u.group).split("").findIndex((function(e){return c.split("").filter((function(t){return t===e})).length<d.split("").filter((function(t){return t===e})).length&&c.length+1===d.length&&(e!==u.decimal||0!==t.getDecimalCount(d.replace(p,""),u.decimal))}))>-1)return s.eventValue=a.parseNumber(e.prevLooseValue,n),s.currentLooseValue=e.prevLooseValue,s;var R=t.getDecimalCount(v,u.decimal),j="0"===v[v.length-1];if(w&&j&&R<L)return s.eventValue=a.parseNumber(s.currentLooseValue,n),s.currentLooseValue=t.formatValue(s.eventValue,n,a),s;if(R>0){var T=c.substring(0,$);if(j&&(!T||0!==d.indexOf(T))){s.eventValue=a.parseNumber(s.currentLooseValue,n);var F=t.formatValue(s.eventValue,n,a);return t.setSelection(s,t.changeBasedSelection(c,F,s.selectionEnd,w,p),F,I),s.currentLooseValue=F,s}if(R>k){var B=c.indexOf(u.decimal),E=c.substring(0,B)+c.substring(B,B+1+k)+c.substring(g,String(s.currentLooseValue).length);return s.eventValue=a.parseNumber(E,n),s.currentLooseValue=E,t.setSelection(s,s.selectionStart,E,I),s}if(L!==k&&R<=k&&j)return s.eventValue=a.parseNumber(s.currentLooseValue,n),s.currentLooseValue=V,s;if(R<L)return s.eventValue=a.parseNumber(s.currentLooseValue,n),s.currentLooseValue=t.formatValue(s.eventValue,n,a),s}}if(s.eventValue=a.parseNumber(s.currentLooseValue,n),"number"==typeof s.eventValue){F=t.formatValue(s.eventValue,n,a);1===c.length?t.setSelection(s,t.getInitialPosition(F,u),F,I):t.setSelection(s,t.changeBasedSelection(c,F,s.selectionEnd,w,p),F,I),s.currentLooseValue=F}else s.currentLooseValue=t.formatValue(a.parseNumber(v),n,a);return s}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MaskedTextBox=void 0;var i=n(0),r=i.h,a=i.ref,s=n(11),o=n(14),u=n(1),l={model:{event:"changemodel"},props:{value:String,defaultValue:String,placeholder:String,title:String,dir:String,id:String,ariaLabelledBy:String,ariaDescribedBy:String,tabIndex:Number,accessKey:String,disabled:Boolean,readonly:Boolean,prompt:{type:String,default:"_"},promptPlaceholder:{type:String,default:" "},includeLiterals:{type:Boolean,default:!1},maskValidation:{type:Boolean,default:!0},mask:String,rules:{type:Object,default:function(){return o.defaultRules}},selection:Object,name:String,label:String,validationMessage:String,required:{type:Boolean,default:!1},valid:{type:Boolean,default:void 0},validityStyles:{type:Boolean,default:!0}},data:function(){return{currentValue:void 0,inputValue:void 0,currentSelection:[null,null]}},created:function(){this.inputId="k-"+u.guid(),this.service=new s.MaskingService,this.isPasted=!1},setup:function(){return{v3:!0,inputRef:a(null)}},mounted:function(){this.hasMounted=!0,this.element=this.input=this.v3?this.inputRef.input:this.$refs.input,this.updateService(),this.setValidity()},watch:{currentFocused:function(e,t){this.prevCurrentFocused=t},selection:function(e,t){this.prevSelection=t},includeLiterals:function(e,t){this.prevIncludeLiterals=t},mask:function(e,t){this.prevMask=t},prompt:function(e,t){this.prevPrompt=t},promptPlaceholder:function(e,t){this.prevPromptPlaceholder=t},rules:function(e,t){this.prevRules=t}},updated:function(){if(this.element&&this.currentFocused){var e=this.currentSelection,t=e[0],n=e[1],i=this.prevSelection,r=this.$props.selection;(!i&&r||i&&r&&(i.start!==r.start||i.end!==r.end))&&(t=r.start,n=r.end),null!==t&&null!==n&&this.element.setSelectionRange(t,n)}var a={includeLiterals:this.prevIncludeLiterals,mask:this.prevMask,prompt:this.prevPrompt,promptPlaceholder:this.prevPromptPlaceholder,rules:this.prevRules};o.maskingChanged(a,this.$props)&&this.updateService(),this.setValidity()},computed:{computedRules:{get:function(){return Object.assign({},o.defaultRules,this.$props.rules)}},rawValue:{get:function(){return this.service.rawValue(this.computedValue())}},spanClassNames:{get:function(){var e=!this.hasMounted||!this.$props.validityStyles||this.validity().valid;return{"k-textbox-container":!0,"k-state-focused":this.currentFocused,"k-state-empty":!this.computedValue(),"k-state-invalid":!e&&void 0!==e,"k-rtl":"rtl"===this.$props.dir}}}},methods:{focus:function(){this.input&&this.input.focus()},computedValue:function(){var e;return void 0!==this.valueDuringOnChange?e=this.valueDuringOnChange:void 0!==this.$props.value?e=this.$props.value:void 0!==this.$props.modelValue?e=this.$props.modelValue:void 0!==this.currentValue?e=this.currentValue:void 0!==this.$props.defaultValue&&(e=this.$props.defaultValue),e},validity:function(){var e=this.computedValue(),t=this.service.validationValue(e);return{customError:void 0!==this.$props.validationMessage,valid:void 0!==this.$props.valid?this.$props.valid:!(this.$props.required&&!t||this.$props.maskValidation&&this.$props.prompt&&-1!==e.indexOf(this.$props.prompt)),valueMissing:!t}},pasteHandler:function(e){var t=e.target,n=t.selectionStart,i=t.selectionEnd;i!==n&&(this.isPasted=!0,this.currentSelection=[n||0,i||0])},onChangeHandler:function(e){var t=e.currentTarget,n=this.inputValue=t.value,i=this.currentSelection[0]||0,r=this.currentSelection[1]||0;if(!this.$props.mask)return this.isPasted=!1,this.currentSelection=[null,null],void this.triggerOnChange(n,e);var a,s=this.computedValue();if(this.isPasted){this.isPasted=!1;var o=s.length-r,u=n.length-o;a=this.service.maskInRange(n.slice(i,u),s,i,r)}else a=this.service.maskInput(n,s,t.selectionStart||0);this.currentSelection=[a.selection,a.selection],this.triggerOnChange(a.value,e),this.inputValue=void 0},focusHandler:function(e){this.currentFocused||(this.currentFocused=!0,this.$emit("focus",{target:this,event:e}))},blurHandler:function(e){this.currentFocused&&(this.currentFocused=!1,this.$emit("blur",{target:this,event:e}))},triggerOnChange:function(e,t){this.currentValue=e,this.valueDuringOnChange=e,this.$emit("change",{event:t,selectionStart:this.currentSelection[0],selectionEnd:this.currentSelection[1],value:this.computedValue(),component:this,target:{name:this.$props.name,value:this.computedValue()},validity:this.validity()}),this.valueDuringOnChange=void 0},updateService:function(e){var t=Object.assign({includeLiterals:this.$props.includeLiterals,mask:this.$props.mask,prompt:this.$props.prompt,promptPlaceholder:this.$props.promptPlaceholder,rules:this.$props.rules},e);this.service.update(t)},setValidity:function(){this.element&&this.element.setCustomValidity(this.validity().valid?"":this.$props.validationMessage||"")}},render:function(e){var t=this,n=r||e,i=this.$props.id||this.inputId,a=!this.hasMounted||!this.$props.validityStyles||this.validity().valid,s=this.computedValue(),l=(this.inputValue,n("span",{dir:this.$props.dir,attrs:this.v3?null:{dir:this.$props.dir},class:u.classNames("k-widget k-maskedtextbox",this.$props.className,{"k-state-focused":this.currentFocused,"k-state-disabled":this.$props.disabled,"k-state-invalid":!a}),style:this.$props.label?void 0:{width:this.$props.width}},[n("input",{type:"text",attrs:this.v3?null:{type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,id:i,"aria-labelledby":this.$props.ariaLabelledBy,"aria-describedby":this.$props.ariaDescribedBy,name:this.$props.name,tabIndex:u.getTabIndex(this.$props.tabIndex,this.$props.disabled,!0),accessKey:this.$props.accessKey,title:this.$props.title,disabled:this.$props.disabled||void 0,readOnly:this.$props.readonly||void 0,placeholder:this.$props.placeholder},autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,class:"k-textbox",value:this.v3?s:null,domProps:this.v3?null:{value:s},id:i,"aria-labelledby":this.$props.ariaLabelledBy,"aria-describedby":this.$props.ariaDescribedBy,name:this.$props.name,tabIndex:u.getTabIndex(this.$props.tabIndex,this.$props.disabled,!0),accessKey:this.$props.accessKey,title:this.$props.title,disabled:this.$props.disabled||void 0,readOnly:this.$props.readonly||void 0,placeholder:this.$props.placeholder,ref:this.v3?function(e){t.inputRef=e}:"input",onInput:this.onChangeHandler,on:this.v3?null:{input:this.onChangeHandler,paste:this.pasteHandler,focus:this.focusHandler,blur:this.blurHandler,dragStart:o.returnFalse,drop:o.returnFalse},onPaste:this.pasteHandler,onFocus:this.focusHandler,onBlur:this.blurHandler,onDragStart:o.returnFalse,onDrop:o.returnFalse})]));return this.$props.label?n("span",{class:this.spanClassNames,dir:this.$props.dir,attrs:this.v3?null:{dir:this.$props.dir}},[l,this.$props.label?this.$props.id?n("label",{for:this.$props.id,attrs:this.v3?null:{for:this.$props.id},class:"k-label"},[this.$props.label]):n("span",{class:"k-label"},[this.$props.label]):null]):l}};t.MaskedTextBox=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MaskingService=void 0;var i=n(12),r=n(2),a=function(){function e(){this.rules={},this.prompt="_",this.mask="",this.promptPlaceholder=" ",this.includeLiterals=!1,this.maskTokens=[],this.unmaskTokens=[],this.rawTokens=[],this.validationTokens=[]}return e.prototype.update=function(e){var t=e.mask,n=void 0===t?"":t,i=e.prompt,r=void 0===i?"":i,a=e.promptPlaceholder,s=void 0===a?" ":a,o=e.rules,u=void 0===o?{}:o,l=e.includeLiterals,c=void 0!==l&&l;this.mask=n,this.prompt=r,this.promptPlaceholder=s,this.rules=u,this.includeLiterals=c,this.tokenize()},e.prototype.validationValue=function(e){void 0===e&&(e="");var t=e;return i.sequence(this.validationTokens).run(e).fold((function(e){t=e.join("")})),t},e.prototype.rawValue=function(e){void 0===e&&(e="");var t=e;return this.rawTokens.length?(i.sequence(this.rawTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskRaw=function(e){void 0===e&&(e="");var t=e;return this.maskTokens.length?(i.sequence(this.maskTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskInput=function(e,t,n){return e.length<t.length?this.maskRemoved(e,t,n):this.maskInserted(e,t,n)},e.prototype.maskInRange=function(e,t,n,r){var a="",s=r,o=t.split("").slice(0,n),u=t.split("").slice(r);return i.sequence(this.maskTokens.slice(n,r)).run(e).fold((function(e){a=o.concat(e).concat(u).join("")})),{selection:s,value:a}},e.prototype.maskRemoved=function(e,t,n){var r=this,a="",s=n,o=e.split("").slice(n),u=e.split("").slice(0,n).join(""),l=this.maskTokens.length-(e.length-n);return i.sequence(this.maskTokens.slice(0,l)).run(u,t).fold((function(e){s=r.adjustPosition(e,s),a=e.concat(o).join("")})),{selection:s,value:a}},e.prototype.adjustPosition=function(e,t){var n=e[t];return this.maskTokens[t].isLiteral(n)||n===this.prompt?t:t+1},e.prototype.maskInserted=function(e,t,n){var r=this,a="",s=n,o=e.slice(0,n);return i.sequence(this.unmaskTokens).run(o,t).chain((function(e){s=e.join("").length;var n=t.slice(s);return i.sequence(r.maskTokens).run(e.join("")+n,t)})).fold((function(e){a=e.join("")})),{selection:s,value:a}},Object.defineProperty(e.prototype,"maskTokenCreator",{get:function(){var e=this.prompt,t=this.promptPlaceholder;return{literal:function(e){return r.literal(e)},mask:function(n){return r.mask({prompt:e,promptPlaceholder:t})(n)}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unmaskTokenCreator",{get:function(){var e=this;return{literal:function(e){return r.unliteral(e)},mask:function(t){return r.unmask(e.prompt)(t)}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rawTokenCreator",{get:function(){var e=this.prompt,t=this.promptPlaceholder,n=this.includeLiterals;return{literal:function(e){return r.rawLiteral(n)},mask:function(n){return r.rawMask({prompt:e,promptPlaceholder:t})}}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"validationTokenCreator",{get:function(){var e=this.prompt;return{literal:function(e){return r.rawLiteral(!1)},mask:function(t){return r.rawMask({prompt:e,promptPlaceholder:""})}}},enumerable:!1,configurable:!0}),e.prototype.tokenize=function(){var e=this;i.greedy(r.token(this.rules,this.maskTokenCreator)).run(this.mask).fold((function(t,n){e.maskTokens=t})),i.greedy(r.token(this.rules,this.unmaskTokenCreator)).run(this.mask).fold((function(t,n){e.unmaskTokens=t})),i.greedy(r.token(this.rules,this.rawTokenCreator)).run(this.mask).fold((function(t,n){e.rawTokens=t})),i.greedy(r.token(this.rules,this.validationTokenCreator)).run(this.mask).fold((function(t,n){e.validationTokens=t}))},e}();t.MaskingService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.greedy=t.sequence=void 0;var i=n(2),r=n(3);t.sequence=function(e){return e.reduce((function(e,t){return n=t,e.chain((function(e){return n.map((function(t){return e.concat([t])}))}));var n}),(t=[],new i.Parser((function(e){return new r.Result(t,e)}))));var t},t.greedy=function(e){return new i.Parser((function(t){for(var n=new r.Result([],t);!t.eof();)n=n.concat(e.run(t));return n}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Stream=void 0;var i=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=[]),this.input=e,this.control=t,this.inputCursor=0,this.controlCursor=0}return e.prototype.eof=function(){return this.inputCursor>=this.input.length},e.prototype.next=function(){return{char:this.input[this.inputCursor++],control:this.control[this.controlCursor++]}},e.prototype.peek=function(){return{char:this.input[this.inputCursor],control:this.control[this.controlCursor]}},e.prototype.eat_input=function(){this.inputCursor++},e.prototype.eat_control=function(){this.controlCursor++},e.prototype.eat=function(){this.inputCursor++,this.controlCursor++},e}();t.Stream=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.returnFalse=t.maskingChanged=t.defaultRules=void 0;t.defaultRules={"#":/[\d\s\+\-]/,"&":/[\S]/,0:/[\d]/,9:/[\d\s]/,"?":/[a-zA-Z\s]/,A:/[a-zA-Z0-9]/,C:/./,L:/[a-zA-Z]/,a:/[a-zA-Z0-9\s]/};t.returnFalse=function(){return!1};t.maskingChanged=function(e,t){return e.includeLiterals!==t.includeLiterals||e.mask!==t.mask||e.prompt!==t.prompt||e.promptPlaceholder!==t.promptPlaceholder||!i(e.rules,t.rules)};var i=function(e,t){if(!!e!=!!t)return!1;if(e===t||!e||!t)return!0;var n=!0;for(var i in e)if(e[i]!==t[i]){n=!1;break}if(n)for(var i in t)if(!e.hasOwnProperty(i)){n=!1;break}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})}])}));

@@ -1,2 +0,1 @@

import Vue from 'vue';
import { FormComponentProps } from '@progress/kendo-vue-common';

@@ -3,0 +2,0 @@ import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';

@@ -18,3 +18,6 @@ var __assign = this && this.__assign || function () {

import { h as gh, ref } from 'vue';
var allVue = require('vue');
var gh = allVue.h;
var ref = allVue.ref;
import { guid, noop } from '@progress/kendo-vue-common';

@@ -21,0 +24,0 @@ var Input = {

@@ -5,1 +5,3 @@ import { FormComponentValidity } from '@progress/kendo-vue-common';

export * from './numerictextbox/NumericTextBox';
export * from './maskedtextbox/MaskedTextBox';
export * from './maskedtextbox/MaskedTextBoxProps';
export * from './input/Input';
export * from './numerictextbox/NumericTextBox';
export * from './maskedtextbox/MaskedTextBox';
export * from './maskedtextbox/MaskedTextBoxProps';
// @ts-ignore
import { h as gh, ref, inject } from 'vue';
var allVue = require('vue');
var gh = allVue.h;
var ref = allVue.ref;
var inject = allVue.inject;
import { provideIntlService, provideLocalizationService } from '@progress/kendo-vue-intl';

@@ -4,0 +8,0 @@ import { guid } from '@progress/kendo-vue-common';

@@ -1,2 +0,1 @@

import Vue from 'vue';
import { FormComponentProps } from '@progress/kendo-vue-common';

@@ -3,0 +2,0 @@ import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';

@@ -24,4 +24,7 @@ "use strict";

var vue_1 = require("vue");
var allVue = require('vue');
var gh = allVue.h;
var ref = allVue.ref;
var kendo_vue_common_1 = require("@progress/kendo-vue-common");

@@ -108,3 +111,3 @@

var v3 = true;
var inputRef = vue_1.ref(null);
var inputRef = ref(null);
return {

@@ -118,3 +121,3 @@ v3: v3,

var h = vue_1.h || createElement;
var h = gh || createElement;
var listeners = this.v3 ? this.$attrs : this.$listeners;

@@ -121,0 +124,0 @@ var hasInput = Object.keys(this.$attrs).some(function (attr) {

@@ -5,1 +5,3 @@ import { FormComponentValidity } from '@progress/kendo-vue-common';

export * from './numerictextbox/NumericTextBox';
export * from './maskedtextbox/MaskedTextBox';
export * from './maskedtextbox/MaskedTextBoxProps';

@@ -15,1 +15,3 @@ "use strict";

__exportStar(require("./numerictextbox/NumericTextBox"), exports);
__exportStar(require("./maskedtextbox/MaskedTextBox"), exports);
__exportStar(require("./maskedtextbox/MaskedTextBoxProps"), exports);

@@ -8,4 +8,8 @@ "use strict";

var vue_1 = require("vue");
var allVue = require('vue');
var gh = allVue.h;
var ref = allVue.ref;
var inject = allVue.inject;
var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");

@@ -409,6 +413,6 @@

var v3 = true;
var inputRef = vue_1.ref(null);
var elementWrapperRef = vue_1.ref(null);
var kendoLocalizationService = vue_1.inject('kendoLocalizationService', {});
var kendoIntlService = vue_1.inject('kendoIntlService', {});
var inputRef = ref(null);
var elementWrapperRef = ref(null);
var kendoLocalizationService = inject('kendoLocalizationService', {});
var kendoIntlService = inject('kendoIntlService', {});
return {

@@ -426,3 +430,3 @@ v3: v3,

var h = vue_1.h || createElement;
var h = gh || createElement;
var inputId = this.$props.id || this._inputId;

@@ -429,0 +433,0 @@ var localizationService = kendo_vue_intl_1.provideLocalizationService(this);

{
"name": "@progress/kendo-vue-inputs",
"description": "KendoVue Input package",
"version": "1.0.4",
"version": "1.0.5-dev.202008190756",
"repository": {

@@ -40,6 +40,6 @@ "type": "git",

"dependencies": {
"@progress/kendo-vue-common": "1.0.4"
"@progress/kendo-vue-common": "1.0.5-dev.202008190756"
},
"devDependencies": {
"@progress/kendo-vue-intl": "1.0.4",
"@progress/kendo-vue-intl": "1.0.5-dev.202008190756",
"cldr-core": "^34.0.0",

@@ -46,0 +46,0 @@ "cldr-dates-full": "^34.0.0",

@@ -6,1 +6,3 @@ import { FormComponentValidity } from '@progress/kendo-vue-common';

export * from './numerictextbox/NumericTextBox';
export * from './maskedtextbox/MaskedTextBox';
export * from './maskedtextbox/MaskedTextBoxProps';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc