@syncfusion/ej2-vue-inputs 20.2.36 → 20.2.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ej2-vue-inputs.umd.min.js +2 -2
- package/dist/ej2-vue-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-inputs.es2015.js +7 -7
- package/dist/es6/ej2-vue-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-inputs.es5.js +7 -7
- package/dist/es6/ej2-vue-inputs.es5.js.map +1 -1
- package/dist/global/ej2-vue-inputs.min.js +2 -2
- package/package.json +8 -8
- package/src/color-picker/colorpicker.component.js +1 -1
- package/src/maskedtextbox/maskedtextbox.component.js +1 -1
- package/src/numerictextbox/numerictextbox.component.js +1 -1
- package/src/signature/signature.component.js +1 -1
- package/src/slider/slider.component.js +1 -1
- package/src/textbox/textbox.component.js +1 -1
- package/src/uploader/uploader.component.js +1 -1
- package/styles/bootstrap5-dark.css +2 -2
- package/styles/bootstrap5.css +2 -2
- package/styles/fluent-dark.css +2 -2
- package/styles/fluent.css +2 -2
- package/styles/input/material-dark.css +27 -0
- package/styles/input/material.css +27 -0
- package/styles/material-dark.css +27 -0
- package/styles/material.css +27 -0
- package/styles/tailwind-dark.css +2 -2
- package/styles/tailwind.css +2 -2
- package/styles/uploader/bootstrap5-dark.css +2 -2
- package/styles/uploader/bootstrap5.css +2 -2
- package/styles/uploader/fluent-dark.css +2 -2
- package/styles/uploader/fluent.css +2 -2
- package/styles/uploader/tailwind-dark.css +2 -2
- package/styles/uploader/tailwind.css +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-inputs.umd.min.js
|
|
3
|
-
* version : 20.2.
|
|
3
|
+
* version : 20.2.44
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-inputs"),require("@syncfusion/ej2-base"),require("@syncfusion/ej2-vue-base"),require("vue-class-component"),require("vue")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-inputs","@syncfusion/ej2-base","@syncfusion/ej2-vue-base","vue-class-component","vue"],t):t(e.ej={},e.ej2Inputs,e.ej2Base,e.ej2VueBase,e.Vue3,e.Vue$1)}(this,function(e,t,n,s,o,r){"use strict";r=r&&r.hasOwnProperty("default")?r.default:r;var i=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function s(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}}(),a=function(e,t,n,s){var o,r=arguments.length,i=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r<3?o(i):r>3?o(t,n,i):o(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},c=["isLazyUpdate","plugins","autocomplete","cssClass","enablePersistence","enableRtl","enabled","floatLabelType","htmlAttributes","locale","multiline","placeholder","readonly","showClearButton","type","value","width","blur","change","created","destroyed","focus","input"],l=["value"],p=s.getProps({props:c}),u=(p[0],p[1]),d=Object.keys(u);d.push("modelchanged");for(var h=0,f=l;h<f.length;h++){var m=f[h];d.push("update:"+m)}var g=!s.gh,j=function(e){function o(){var n=e.call(this,arguments)||this;return n.propKeys=c,n.models=l,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.isVue3=!g,n.ej2Instances=new t.TextBox({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return i(o,e),o.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,s=e;t<s.length;t++){var o=s[t],r=this.templateCollection[o];if(r&&r.length){for(var i=0,a=r;i<a.length;i++){var c=a[i];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},o.prototype.setProperties=function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},o.prototype.trigger=function(e,t,s){if(g||(this.models=this.models?this.models:this.ej2Instances.referModels),"change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){r=(o=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&o&&!n.isUndefined(t[r])&&(g?(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r])))}}else{var o,r=(o=this.models.toString().match(/checked|value/)||[])[0];t&&o&&!n.isUndefined(t[r])&&(g?("change"===e||this.$props&&!this.$props.isLazyUpdate)&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r]),this.ej2Instances.vueInstance.$emit("update:modelValue",t[r])))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,s)},o.prototype.render=function(e){var t=s.gh||e,o=null;return n.isNullOrUndefined(this.$slots.default)||(o=s.gh?this.$slots.default():this.$slots.default),t("input",o)},o.prototype.custom=function(){this.updated()},o.prototype.addAttributes=function(e){return this.ej2Instances.addAttributes(e)},o.prototype.addIcon=function(e,t){return this.ej2Instances.addIcon(e,t)},o.prototype.focusIn=function(){return this.ej2Instances.focusIn()},o.prototype.focusOut=function(){return this.ej2Instances.focusOut()},o.prototype.removeAttributes=function(e){return this.ej2Instances.removeAttributes(e)},o=a([s.EJComponentDecorator({props:c,model:{event:"modelchanged"}},g)],o)}(s.ComponentBase),y={name:"ejs-textbox",install:function(e){e.component(y.name,j)}},I=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function s(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}}(),v=function(e,t,n,s){var o,r=arguments.length,i=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r<3?o(i):r>3?o(t,n,i):o(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},_=["isLazyUpdate","plugins","cssClass","currency","currencyCode","decimals","enablePersistence","enableRtl","enabled","floatLabelType","format","htmlAttributes","locale","max","min","placeholder","readonly","showClearButton","showSpinButton","step","strictMode","validateDecimalOnType","value","width","blur","change","created","destroyed","focus"],b=["value"],P=s.getProps({props:_}),$=(P[0],P[1]),O=Object.keys($);O.push("modelchanged");for(var C=0,T=b;C<T.length;C++){var M=T[C];O.push("update:"+M)}var w=!s.gh,k=function(e){function o(){var n=e.call(this,arguments)||this;return n.propKeys=_,n.models=b,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.isVue3=!w,n.ej2Instances=new t.NumericTextBox({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return I(o,e),o.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,s=e;t<s.length;t++){var o=s[t],r=this.templateCollection[o];if(r&&r.length){for(var i=0,a=r;i<a.length;i++){var c=a[i];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},o.prototype.setProperties=function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},o.prototype.trigger=function(e,t,s){if(w||(this.models=this.models?this.models:this.ej2Instances.referModels),"change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){r=(o=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&o&&!n.isUndefined(t[r])&&(w?(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r])))}}else{var o,r=(o=this.models.toString().match(/checked|value/)||[])[0];t&&o&&!n.isUndefined(t[r])&&(w?("change"===e||this.$props&&!this.$props.isLazyUpdate)&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r]),this.ej2Instances.vueInstance.$emit("update:modelValue",t[r])))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,s)},o.prototype.render=function(e){var t=s.gh||e,o=null;return n.isNullOrUndefined(this.$slots.default)||(o=s.gh?this.$slots.default():this.$slots.default),t("input",o)},o.prototype.custom=function(){this.updated()},o.prototype.decrement=function(e){return this.ej2Instances.decrement(e)},o.prototype.focusIn=function(){return this.ej2Instances.focusIn()},o.prototype.focusOut=function(){return this.ej2Instances.focusOut()},o.prototype.getText=function(){return this.ej2Instances.getText()},o.prototype.increment=function(e){return this.ej2Instances.increment(e)},o=v([s.EJComponentDecorator({props:_,model:{event:"modelchanged"}},w)],o)}(s.ComponentBase),V={name:"ejs-numerictextbox",install:function(e){e.component(V.name,k)}},U=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function s(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}}(),R=function(e,t,n,s){var o,r=arguments.length,i=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r<3?o(i):r>3?o(t,n,i):o(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},L=["isLazyUpdate","plugins","cssClass","customCharacters","enablePersistence","enableRtl","enabled","floatLabelType","htmlAttributes","locale","mask","placeholder","promptChar","readonly","showClearButton","value","width","blur","change","created","destroyed","focus"],x=["value"],B=s.getProps({props:L}),D=(B[0],B[1]),S=Object.keys(D);S.push("modelchanged");for(var N=0,A=x;N<A.length;N++){var z=A[N];S.push("update:"+z)}var F=!s.gh,H=function(e){function o(){var n=e.call(this,arguments)||this;return n.propKeys=L,n.models=x,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.isVue3=!F,n.ej2Instances=new t.MaskedTextBox({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return U(o,e),o.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,s=e;t<s.length;t++){var o=s[t],r=this.templateCollection[o];if(r&&r.length){for(var i=0,a=r;i<a.length;i++){var c=a[i];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},o.prototype.setProperties=function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},o.prototype.trigger=function(e,t,s){if(F||(this.models=this.models?this.models:this.ej2Instances.referModels),"change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){r=(o=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&o&&!n.isUndefined(t[r])&&(F?(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r])))}}else{var o,r=(o=this.models.toString().match(/checked|value/)||[])[0];t&&o&&!n.isUndefined(t[r])&&(F?("change"===e||this.$props&&!this.$props.isLazyUpdate)&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r]),this.ej2Instances.vueInstance.$emit("update:modelValue",t[r])))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,s)},o.prototype.render=function(e){var t=s.gh||e,o=null;return n.isNullOrUndefined(this.$slots.default)||(o=s.gh?this.$slots.default():this.$slots.default),t("input",o)},o.prototype.custom=function(){this.updated()},o.prototype.focusIn=function(){return this.ej2Instances.focusIn()},o.prototype.focusOut=function(){return this.ej2Instances.focusOut()},o.prototype.getMaskedValue=function(){return this.ej2Instances.getMaskedValue()},o=R([s.EJComponentDecorator({props:L,model:{event:"modelchanged"}},F)],o)}(s.ComponentBase),E={name:"ejs-maskedtextbox",install:function(e){e.component(E.name,H)}},q=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function s(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}}(),J=function(e,t,n,s){var o,r=arguments.length,i=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r<3?o(i):r>3?o(t,n,i):o(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},K=["isLazyUpdate","plugins","colorRange","cssClass","customValues","enableAnimation","enableHtmlSanitizer","enablePersistence","enableRtl","enabled","limits","locale","max","min","orientation","readonly","showButtons","step","ticks","tooltip","type","value","width","change","changed","created","renderedTicks","renderingTicks","tooltipChange"],W=["value"],G=s.getProps({props:K}),Q=(G[0],G[1]),X=Object.keys(Q);X.push("modelchanged");for(var Y=0,Z=W;Y<Z.length;Y++){var ee=Z[Y];X.push("update:"+ee)}var te,ne=!s.gh,se=function(e){function o(){var n=e.call(this,arguments)||this;return n.propKeys=K,n.models=W,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.isVue3=!ne,n.ej2Instances=new t.Slider({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return q(o,e),o.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,s=e;t<s.length;t++){var o=s[t],r=this.templateCollection[o];if(r&&r.length){for(var i=0,a=r;i<a.length;i++){var c=a[i];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},o.prototype.setProperties=function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},o.prototype.trigger=function(e,t,s){if(ne||(this.models=this.models?this.models:this.ej2Instances.referModels),"change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){r=(o=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&o&&!n.isUndefined(t[r])&&(ne?(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r])))}}else{var o,r=(o=this.models.toString().match(/checked|value/)||[])[0];t&&o&&!n.isUndefined(t[r])&&(ne?("change"===e||this.$props&&!this.$props.isLazyUpdate)&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r]),this.ej2Instances.vueInstance.$emit("update:modelValue",t[r])))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,s)},o.prototype.render=function(e){var t=s.gh||e,o=null;return n.isNullOrUndefined(this.$slots.default)||(o=s.gh?this.$slots.default():this.$slots.default),t("div",o)},o.prototype.custom=function(){this.updated()},o.prototype.reposition=function(){return this.ej2Instances.reposition()},o.prototype.setTooltip=function(e){return this.ej2Instances.setTooltip(e)},o=J([s.EJComponentDecorator({props:K,model:{event:"modelchanged"}},ne)],o)}(s.ComponentBase),oe={name:"ejs-slider",install:function(e){e.component(oe.name,se)}},re=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function s(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}}(),ie=function(e,t,n,s){var o,r=arguments.length,i=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r<3?o(i):r>3?o(t,n,i):o(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},ae=!s.gh,ce=function(e){function t(){return e.call(this,arguments)||this}return re(t,e),t.prototype.render=function(e){if(s.gh){var t=s.gh||e,o=null;return n.isNullOrUndefined(this.$slots.default)||(o=s.gh?this.$slots.default():this.$slots.default),t("div",{class:"e-directive"},o)}},t.prototype.updated=function(){s.gh&&this.custom&&this.custom()},t.prototype.getTag=function(){return"e-files"},t=ie([s.EJComponentDecorator({},ae)],t)}(te=!ae||parseInt(s.allVue.version)<3?o.Vue:r),le={name:"e-files",install:function(e){e.component(le.name,ce)}},pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return re(t,e),t.prototype.render=function(){},t.prototype.getTag=function(){return"e-uploadedfiles"},t=ie([s.EJComponentDecorator({},ae)],t)}(te),ue={name:"e-uploadedfiles",install:function(e){e.component(ue.name,pe)}},de=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function s(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}}(),he=function(e,t,n,s){var o,r=arguments.length,i=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r<3?o(i):r>3?o(t,n,i):o(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},fe=["isLazyUpdate","plugins","allowedExtensions","asyncSettings","autoUpload","buttons","cssClass","directoryUpload","dropArea","dropEffect","enablePersistence","enableRtl","enabled","files","htmlAttributes","locale","maxFileSize","minFileSize","multiple","sequentialUpload","showFileList","template","actionComplete","beforeRemove","beforeUpload","canceling","change","chunkFailure","chunkSuccess","chunkUploading","clearing","created","failure","fileListRendering","pausing","progress","removing","rendering","resuming","selected","success","uploading"],me=[],ge=s.getProps({props:fe}),je=(ge[0],ge[1]),ye=Object.keys(je);ye.push("modelchanged");for(var Ie=0,ve=me;Ie<ve.length;Ie++){var _e=ve[Ie];ye.push("update:"+_e)}var be=!s.gh,Pe=function(e){function o(){var n=e.call(this,arguments)||this;return n.propKeys=fe,n.models=me,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={"e-files":"e-uploadedfiles"},n.tagNameMapper={},n.isVue3=!be,n.ej2Instances=new t.Uploader({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return de(o,e),o.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,s=e;t<s.length;t++){var o=s[t],r=this.templateCollection[o];if(r&&r.length){for(var i=0,a=r;i<a.length;i++){var c=a[i];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},o.prototype.setProperties=function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},o.prototype.render=function(e){var t=s.gh||e,o=null;return n.isNullOrUndefined(this.$slots.default)||(o=s.gh?this.$slots.default():this.$slots.default),t("input",o)},o.prototype.custom=function(){this.updated()},o.prototype.bytesToSize=function(e){return this.ej2Instances.bytesToSize(e)},o.prototype.cancel=function(e){return this.ej2Instances.cancel(e)},o.prototype.clearAll=function(){return this.ej2Instances.clearAll()},o.prototype.createFileList=function(e,t){return this.ej2Instances.createFileList(e,t)},o.prototype.getFilesData=function(e){return this.ej2Instances.getFilesData(e)},o.prototype.pause=function(e,t){return this.ej2Instances.pause(e,t)},o.prototype.remove=function(e,t,n,s,o){return this.ej2Instances.remove(e,t,n,s,o)},o.prototype.resume=function(e,t){return this.ej2Instances.resume(e,t)},o.prototype.retry=function(e,t,n){return this.ej2Instances.retry(e,t,n)},o.prototype.sortFileList=function(e){return this.ej2Instances.sortFileList(e)},o.prototype.traverseFileTree=function(e,t){return this.ej2Instances.traverseFileTree(e,t)},o.prototype.upload=function(e,t){return this.ej2Instances.upload(e,t)},o=he([s.EJComponentDecorator({props:fe},be)],o)}(s.ComponentBase),$e={name:"ejs-uploader",install:function(e){e.component($e.name,Pe),e.component(ue.name,pe),e.component(le.name,ce)}},Oe=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function s(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}}(),Ce=function(e,t,n,s){var o,r=arguments.length,i=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r<3?o(i):r>3?o(t,n,i):o(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},Te=["isLazyUpdate","plugins","columns","createPopupOnClick","cssClass","disabled","enableOpacity","enablePersistence","enableRtl","inline","locale","mode","modeSwitcher","noColor","presetColors","showButtons","value","beforeClose","beforeModeSwitch","beforeOpen","beforeTileRender","change","created","onModeSwitch","open","select"],Me=["value"],we=s.getProps({props:Te}),ke=(we[0],we[1]),Ve=Object.keys(ke);Ve.push("modelchanged");for(var Ue=0,Re=Me;Ue<Re.length;Ue++){var Le=Re[Ue];Ve.push("update:"+Le)}var xe=!s.gh,Be=function(e){function o(){var n=e.call(this,arguments)||this;return n.propKeys=Te,n.models=Me,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.isVue3=!xe,n.ej2Instances=new t.ColorPicker({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return Oe(o,e),o.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,s=e;t<s.length;t++){var o=s[t],r=this.templateCollection[o];if(r&&r.length){for(var i=0,a=r;i<a.length;i++){var c=a[i];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},o.prototype.setProperties=function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},o.prototype.trigger=function(e,t,s){if(xe||(this.models=this.models?this.models:this.ej2Instances.referModels),"change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){r=(o=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&o&&!n.isUndefined(t[r])&&(xe?(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r])))}}else{var o,r=(o=this.models.toString().match(/checked|value/)||[])[0];t&&o&&!n.isUndefined(t[r])&&(xe?("change"===e||this.$props&&!this.$props.isLazyUpdate)&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r]),this.ej2Instances.vueInstance.$emit("update:modelValue",t[r])))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,s)},o.prototype.render=function(e){var t=s.gh||e,o=null;return n.isNullOrUndefined(this.$slots.default)||(o=s.gh?this.$slots.default():this.$slots.default),t("input",o)},o.prototype.custom=function(){this.updated()},o.prototype.focusIn=function(){return this.ej2Instances.focusIn()},o.prototype.getValue=function(e,t){return this.ej2Instances.getValue(e,t)},o.prototype.toggle=function(){return this.ej2Instances.toggle()},o=Ce([s.EJComponentDecorator({props:Te,model:{event:"modelchanged"}},xe)],o)}(s.ComponentBase),De={name:"ejs-colorpicker",install:function(e){e.component(De.name,Be)}},Se=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function s(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}}(),Ne=function(e,t,n,s){var o,r=arguments.length,i=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r<3?o(i):r>3?o(t,n,i):o(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},Ae=["isLazyUpdate","plugins","backgroundColor","backgroundImage","disabled","enablePersistence","enableRtl","isReadOnly","locale","maxStrokeWidth","minStrokeWidth","saveWithBackground","strokeColor","velocity","beforeSave","change","created"],ze=[],Fe=s.getProps({props:Ae}),He=(Fe[0],Fe[1]),Ee=Object.keys(He);Ee.push("modelchanged");for(var qe=0,Je=ze;qe<Je.length;qe++){var Ke=Je[qe];Ee.push("update:"+Ke)}var We=!s.gh,Ge=function(e){function o(){var n=e.call(this,arguments)||this;return n.propKeys=Ae,n.models=ze,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.isVue3=!We,n.ej2Instances=new t.Signature({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return Se(o,e),o.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,s=e;t<s.length;t++){var o=s[t],r=this.templateCollection[o];if(r&&r.length){for(var i=0,a=r;i<a.length;i++){var c=a[i];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},o.prototype.setProperties=function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},o.prototype.render=function(e){var t=s.gh||e,o=null;return n.isNullOrUndefined(this.$slots.default)||(o=s.gh?this.$slots.default():this.$slots.default),t("canvas",o)},o.prototype.custom=function(){this.updated()},o.prototype.canRedo=function(){return this.ej2Instances.canRedo()},o.prototype.canUndo=function(){return this.ej2Instances.canUndo()},o.prototype.clear=function(){return this.ej2Instances.clear()},o.prototype.draw=function(e,t,n){return this.ej2Instances.draw(e,t,n)},o.prototype.getBlob=function(e){return this.ej2Instances.getBlob(e)},o.prototype.initialize=function(){return this.ej2Instances.initialize()},o.prototype.isEmpty=function(){return this.ej2Instances.isEmpty()},o.prototype.load=function(e,t,n){return this.ej2Instances.load(e,t,n)},o.prototype.redo=function(){return this.ej2Instances.redo()},o.prototype.save=function(e,t){return this.ej2Instances.save(e,t)},o.prototype.saveAsBlob=function(){return this.ej2Instances.saveAsBlob()},o.prototype.undo=function(){return this.ej2Instances.undo()},o=Ne([s.EJComponentDecorator({props:Ae},We)],o)}(s.ComponentBase),Qe={name:"ejs-signature",install:function(e){e.component(Qe.name,Ge)}};e.TextBoxComponent=j,e.TextBoxPlugin=y,e.NumericTextBoxComponent=k,e.NumericTextBoxPlugin=V,e.MaskedTextBoxComponent=H,e.MaskedTextBoxPlugin=E,e.SliderComponent=se,e.SliderPlugin=oe,e.FilesDirective=ce,e.UploadedFilesDirective=pe,e.FilesPlugin=le,e.UploadedFilesPlugin=ue,e.UploaderComponent=Pe,e.UploaderPlugin=$e,e.ColorPickerComponent=Be,e.ColorPickerPlugin=De,e.SignatureComponent=Ge,e.SignaturePlugin=Qe,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-inputs"),require("@syncfusion/ej2-base"),require("@syncfusion/ej2-vue-base"),require("vue")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-inputs","@syncfusion/ej2-base","@syncfusion/ej2-vue-base","vue"],t):t(e.ej={},e.ej2Inputs,e.ej2Base,e.ej2VueBase,e.Vue)}(this,function(e,t,n,o,r){"use strict";r=r&&r.hasOwnProperty("default")?r.default:r;var s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},a=["isLazyUpdate","plugins","autocomplete","cssClass","enablePersistence","enableRtl","enabled","floatLabelType","htmlAttributes","locale","multiline","placeholder","readonly","showClearButton","type","value","width","blur","change","created","destroyed","focus","input"],c=["value"],l=function(e){function r(){var n=e.call(this,arguments)||this;return n.propKeys=a,n.models=c,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.TextBox({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return s(r,e),r.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,o=e;t<o.length;t++){var r=o[t],s=this.templateCollection[r];if(s&&s.length){for(var i=0,a=s;i<a.length;i++){var c=a[i];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[r]}}},r.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},r.prototype.trigger=function(e,t,o){if("change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){s=(r=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}}else{var r,s=(r=this.models.toString().match(/checked|value/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},r.prototype.render=function(e){return e("input",this.$slots.default)},r.prototype.custom=function(){this.updated()},r.prototype.addAttributes=function(e){return this.ej2Instances.addAttributes(e)},r.prototype.addIcon=function(e,t){return this.ej2Instances.addIcon(e,t)},r.prototype.focusIn=function(){return this.ej2Instances.focusIn()},r.prototype.focusOut=function(){return this.ej2Instances.focusOut()},r.prototype.removeAttributes=function(e){return this.ej2Instances.removeAttributes(e)},r=i([o.EJComponentDecorator({props:a,model:{event:"modelchanged"}})],r)}(o.ComponentBase),p={name:"ejs-textbox",install:function(e){e.component(p.name,l)}},u=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),d=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},f=["isLazyUpdate","plugins","cssClass","currency","currencyCode","decimals","enablePersistence","enableRtl","enabled","floatLabelType","format","htmlAttributes","locale","max","min","placeholder","readonly","showClearButton","showSpinButton","step","strictMode","validateDecimalOnType","value","width","blur","change","created","destroyed","focus"],h=["value"],m=function(e){function r(){var n=e.call(this,arguments)||this;return n.propKeys=f,n.models=h,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.NumericTextBox({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return u(r,e),r.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,o=e;t<o.length;t++){var r=o[t],s=this.templateCollection[r];if(s&&s.length){for(var i=0,a=s;i<a.length;i++){var c=a[i];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[r]}}},r.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},r.prototype.trigger=function(e,t,o){if("change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){s=(r=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}}else{var r,s=(r=this.models.toString().match(/checked|value/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},r.prototype.render=function(e){return e("input",this.$slots.default)},r.prototype.custom=function(){this.updated()},r.prototype.decrement=function(e){return this.ej2Instances.decrement(e)},r.prototype.focusIn=function(){return this.ej2Instances.focusIn()},r.prototype.focusOut=function(){return this.ej2Instances.focusOut()},r.prototype.getText=function(){return this.ej2Instances.getText()},r.prototype.increment=function(e){return this.ej2Instances.increment(e)},r=d([o.EJComponentDecorator({props:f,model:{event:"modelchanged"}})],r)}(o.ComponentBase),g={name:"ejs-numerictextbox",install:function(e){e.component(g.name,m)}},y=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),j=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},_=["isLazyUpdate","plugins","cssClass","customCharacters","enablePersistence","enableRtl","enabled","floatLabelType","htmlAttributes","locale","mask","placeholder","promptChar","readonly","showClearButton","value","width","blur","change","created","destroyed","focus"],v=["value"],I=function(e){function r(){var n=e.call(this,arguments)||this;return n.propKeys=_,n.models=v,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.MaskedTextBox({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return y(r,e),r.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,o=e;t<o.length;t++){var r=o[t],s=this.templateCollection[r];if(s&&s.length){for(var i=0,a=s;i<a.length;i++){var c=a[i];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[r]}}},r.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},r.prototype.trigger=function(e,t,o){if("change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){s=(r=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}}else{var r,s=(r=this.models.toString().match(/checked|value/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},r.prototype.render=function(e){return e("input",this.$slots.default)},r.prototype.custom=function(){this.updated()},r.prototype.focusIn=function(){return this.ej2Instances.focusIn()},r.prototype.focusOut=function(){return this.ej2Instances.focusOut()},r.prototype.getMaskedValue=function(){return this.ej2Instances.getMaskedValue()},r=j([o.EJComponentDecorator({props:_,model:{event:"modelchanged"}})],r)}(o.ComponentBase),b={name:"ejs-maskedtextbox",install:function(e){e.component(b.name,I)}},P=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),O=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},C=["isLazyUpdate","plugins","colorRange","cssClass","customValues","enableAnimation","enableHtmlSanitizer","enablePersistence","enableRtl","enabled","limits","locale","max","min","orientation","readonly","showButtons","step","ticks","tooltip","type","value","width","change","changed","created","renderedTicks","renderingTicks","tooltipChange"],T=["value"],w=function(e){function r(){var n=e.call(this,arguments)||this;return n.propKeys=C,n.models=T,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.Slider({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return P(r,e),r.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,o=e;t<o.length;t++){var r=o[t],s=this.templateCollection[r];if(s&&s.length){for(var i=0,a=s;i<a.length;i++){var c=a[i];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[r]}}},r.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},r.prototype.trigger=function(e,t,o){if("change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){s=(r=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}}else{var r,s=(r=this.models.toString().match(/checked|value/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},r.prototype.render=function(e){return e("div",this.$slots.default)},r.prototype.custom=function(){this.updated()},r.prototype.reposition=function(){return this.ej2Instances.reposition()},r.prototype.setTooltip=function(e){return this.ej2Instances.setTooltip(e)},r=O([o.EJComponentDecorator({props:C,model:{event:"modelchanged"}})],r)}(o.ComponentBase),$={name:"ejs-slider",install:function(e){e.component($.name,w)}},k=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),M=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return k(t,e),t.prototype.render=function(){},t=M([o.EJComponentDecorator({})],t)}(r),x={name:"e-files",install:function(e){e.component(x.name,R)}},B=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return k(t,e),t.prototype.render=function(){},t=M([o.EJComponentDecorator({})],t)}(r),D={name:"e-uploadedfiles",install:function(e){e.component(D.name,B)}},L=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),S=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},U=["isLazyUpdate","plugins","allowedExtensions","asyncSettings","autoUpload","buttons","cssClass","directoryUpload","dropArea","dropEffect","enablePersistence","enableRtl","enabled","files","htmlAttributes","locale","maxFileSize","minFileSize","multiple","sequentialUpload","showFileList","template","actionComplete","beforeRemove","beforeUpload","canceling","change","chunkFailure","chunkSuccess","chunkUploading","clearing","created","failure","fileListRendering","pausing","progress","removing","rendering","resuming","selected","success","uploading"],A=[],V=function(e){function r(){var n=e.call(this,arguments)||this;return n.propKeys=U,n.models=A,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={"e-files":"e-uploadedfiles"},n.tagNameMapper={},n.ej2Instances=new t.Uploader({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return L(r,e),r.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,o=e;t<o.length;t++){var r=o[t],s=this.templateCollection[r];if(s&&s.length){for(var i=0,a=s;i<a.length;i++){var c=a[i];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[r]}}},r.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},r.prototype.render=function(e){return e("input",this.$slots.default)},r.prototype.custom=function(){this.updated()},r.prototype.bytesToSize=function(e){return this.ej2Instances.bytesToSize(e)},r.prototype.cancel=function(e){return this.ej2Instances.cancel(e)},r.prototype.clearAll=function(){return this.ej2Instances.clearAll()},r.prototype.createFileList=function(e,t){return this.ej2Instances.createFileList(e,t)},r.prototype.getFilesData=function(e){return this.ej2Instances.getFilesData(e)},r.prototype.pause=function(e,t){return this.ej2Instances.pause(e,t)},r.prototype.remove=function(e,t,n,o,r){return this.ej2Instances.remove(e,t,n,o,r)},r.prototype.resume=function(e,t){return this.ej2Instances.resume(e,t)},r.prototype.retry=function(e,t,n){return this.ej2Instances.retry(e,t,n)},r.prototype.sortFileList=function(e){return this.ej2Instances.sortFileList(e)},r.prototype.traverseFileTree=function(e,t){return this.ej2Instances.traverseFileTree(e,t)},r.prototype.upload=function(e,t){return this.ej2Instances.upload(e,t)},r=S([o.EJComponentDecorator({props:U})],r)}(o.ComponentBase),F={name:"ejs-uploader",install:function(e){e.component(F.name,V),e.component(D.name,B),e.component(x.name,R)}},H=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),N=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},z=["isLazyUpdate","plugins","columns","createPopupOnClick","cssClass","disabled","enableOpacity","enablePersistence","enableRtl","inline","locale","mode","modeSwitcher","noColor","presetColors","showButtons","value","beforeClose","beforeModeSwitch","beforeOpen","beforeTileRender","change","created","onModeSwitch","open","select"],E=["value"],q=function(e){function r(){var n=e.call(this,arguments)||this;return n.propKeys=z,n.models=E,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.ColorPicker({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return H(r,e),r.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,o=e;t<o.length;t++){var r=o[t],s=this.templateCollection[r];if(s&&s.length){for(var i=0,a=s;i<a.length;i++){var c=a[i];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[r]}}},r.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},r.prototype.trigger=function(e,t,o){if("change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){s=(r=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}}else{var r,s=(r=this.models.toString().match(/checked|value/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},r.prototype.render=function(e){return e("input",this.$slots.default)},r.prototype.custom=function(){this.updated()},r.prototype.focusIn=function(){return this.ej2Instances.focusIn()},r.prototype.getValue=function(e,t){return this.ej2Instances.getValue(e,t)},r.prototype.toggle=function(){return this.ej2Instances.toggle()},r=N([o.EJComponentDecorator({props:z,model:{event:"modelchanged"}})],r)}(o.ComponentBase),J={name:"ejs-colorpicker",install:function(e){e.component(J.name,q)}},K=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),W=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},G=["isLazyUpdate","plugins","backgroundColor","backgroundImage","disabled","enablePersistence","enableRtl","isReadOnly","locale","maxStrokeWidth","minStrokeWidth","saveWithBackground","strokeColor","velocity","beforeSave","change","created"],Q=[],X=function(e){function r(){var n=e.call(this,arguments)||this;return n.propKeys=G,n.models=Q,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.Signature({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return K(r,e),r.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,o=e;t<o.length;t++){var r=o[t],s=this.templateCollection[r];if(s&&s.length){for(var i=0,a=s;i<a.length;i++){var c=a[i];n.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[r]}}},r.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},r.prototype.render=function(e){return e("canvas",this.$slots.default)},r.prototype.custom=function(){this.updated()},r.prototype.canRedo=function(){return this.ej2Instances.canRedo()},r.prototype.canUndo=function(){return this.ej2Instances.canUndo()},r.prototype.clear=function(){return this.ej2Instances.clear()},r.prototype.draw=function(e,t,n){return this.ej2Instances.draw(e,t,n)},r.prototype.getBlob=function(e){return this.ej2Instances.getBlob(e)},r.prototype.initialize=function(){return this.ej2Instances.initialize()},r.prototype.isEmpty=function(){return this.ej2Instances.isEmpty()},r.prototype.load=function(e,t,n){return this.ej2Instances.load(e,t,n)},r.prototype.redo=function(){return this.ej2Instances.redo()},r.prototype.save=function(e,t){return this.ej2Instances.save(e,t)},r.prototype.saveAsBlob=function(){return this.ej2Instances.saveAsBlob()},r.prototype.undo=function(){return this.ej2Instances.undo()},r=W([o.EJComponentDecorator({props:G})],r)}(o.ComponentBase),Y={name:"ejs-signature",install:function(e){e.component(Y.name,X)}};e.TextBoxComponent=l,e.TextBoxPlugin=p,e.NumericTextBoxComponent=m,e.NumericTextBoxPlugin=g,e.MaskedTextBoxComponent=I,e.MaskedTextBoxPlugin=b,e.SliderComponent=w,e.SliderPlugin=$,e.FilesDirective=R,e.UploadedFilesDirective=B,e.FilesPlugin=x,e.UploadedFilesPlugin=D,e.UploaderComponent=V,e.UploaderPlugin=F,e.ColorPickerComponent=q,e.ColorPickerPlugin=J,e.SignatureComponent=X,e.SignaturePlugin=Y,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
11
11
|
//# sourceMappingURL=ej2-vue-inputs.umd.min.js.map
|