@syncfusion/ej2-vue-inputs 20.3.57 → 20.4.40
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/CHANGELOG.md +8 -15
- 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 +180 -3
- package/dist/es6/ej2-vue-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-inputs.es5.js +189 -3
- package/dist/es6/ej2-vue-inputs.es5.js.map +1 -1
- package/dist/global/ej2-vue-inputs.min.js +2 -2
- package/package.json +11 -61
- package/rating.d.ts +4 -0
- package/rating.js +4 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/rating/index.d.ts +1 -0
- package/src/rating/index.js +1 -0
- package/src/rating/rating.component.d.ts +39 -0
- package/src/rating/rating.component.js +190 -0
- package/src/uploader/uploader.component.js +1 -1
- package/styles/bootstrap-dark.css +265 -0
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +265 -0
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +268 -2
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +266 -0
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +266 -0
- package/styles/bootstrap5.scss +1 -0
- package/styles/color-picker/bootstrap4.css +2 -2
- package/styles/fabric-dark.css +265 -0
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +265 -0
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark.css +265 -0
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.css +265 -0
- package/styles/fluent.scss +1 -0
- package/styles/highcontrast-light.css +265 -0
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +265 -0
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.css +265 -0
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +265 -0
- package/styles/material.scss +1 -0
- package/styles/rating/bootstrap-dark.css +264 -0
- package/styles/rating/bootstrap-dark.scss +1 -0
- package/styles/rating/bootstrap.css +264 -0
- package/styles/rating/bootstrap.scss +1 -0
- package/styles/rating/bootstrap4.css +265 -0
- package/styles/rating/bootstrap4.scss +1 -0
- package/styles/rating/bootstrap5-dark.css +265 -0
- package/styles/rating/bootstrap5-dark.scss +1 -0
- package/styles/rating/bootstrap5.css +265 -0
- package/styles/rating/bootstrap5.scss +1 -0
- package/styles/rating/fabric-dark.css +264 -0
- package/styles/rating/fabric-dark.scss +1 -0
- package/styles/rating/fabric.css +264 -0
- package/styles/rating/fabric.scss +1 -0
- package/styles/rating/fluent-dark.css +264 -0
- package/styles/rating/fluent-dark.scss +1 -0
- package/styles/rating/fluent.css +264 -0
- package/styles/rating/fluent.scss +1 -0
- package/styles/rating/highcontrast-light.css +264 -0
- package/styles/rating/highcontrast-light.scss +1 -0
- package/styles/rating/highcontrast.css +264 -0
- package/styles/rating/highcontrast.scss +1 -0
- package/styles/rating/material-dark.css +265 -0
- package/styles/rating/material-dark.scss +1 -0
- package/styles/rating/material.css +265 -0
- package/styles/rating/material.scss +1 -0
- package/styles/rating/tailwind-dark.css +270 -0
- package/styles/rating/tailwind-dark.scss +1 -0
- package/styles/rating/tailwind.css +270 -0
- package/styles/rating/tailwind.scss +1 -0
- package/styles/tailwind-dark.css +271 -0
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +271 -0
- package/styles/tailwind.scss +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,27 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
#### Bug Fixes
|
|
8
|
-
|
|
9
|
-
- `#I417969` - The issue "Clear button does not working after the component is enabled" has been resolved.
|
|
10
|
-
|
|
11
|
-
- `#I412717` - The issue "typing zero does not updated on two way binding numeric textbox" has been resolved.
|
|
5
|
+
## 20.4.38 (2022-12-21)
|
|
12
6
|
|
|
13
|
-
###
|
|
7
|
+
### Rating `Preview`
|
|
14
8
|
|
|
15
|
-
|
|
9
|
+
**Key features**:
|
|
16
10
|
|
|
17
|
-
- `#I415324` - The issue "Refresh method is not working properly in TextBox component" has been resolved.
|
|
18
11
|
|
|
19
|
-
|
|
12
|
+
The Rating component lets the user provide a star rating or view other people’s ratings on a numeric scale for any service provided, such as for movies, applications, or products.
|
|
20
13
|
|
|
21
|
-
### TextBox
|
|
22
|
-
|
|
23
|
-
#### Bug Fixes
|
|
24
14
|
|
|
25
|
-
-
|
|
15
|
+
- **Precision** - Different precision modes to provide more accurate rating.
|
|
16
|
+
- **Tooltip and Label** - Provide more expressive rating with tooltip and label.
|
|
17
|
+
- **Template** - Support to customize the rating item to heart, svg or any content that precisely match our unique needs.
|
|
18
|
+
- **Accessibility** - The Rating provides built-in compliance with the `WAI-ARIA` specifications and it is achieved through attributes.
|
|
26
19
|
|
|
27
20
|
## 19.4.38 (2021-12-17)
|
|
28
21
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-inputs.umd.min.js
|
|
3
|
-
* version : 20.
|
|
3
|
+
* version : 20.4.40
|
|
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")):"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})});
|
|
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,s){"use strict";s=s&&s.hasOwnProperty("default")?s.default:s;var r=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 s,r=arguments.length,i=r<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--)(s=e[a])&&(i=(r<3?s(i):r>3?s(t,n,i):s(t,n))||i);return r>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 s(){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 r(s,e),s.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 s=o[t],r=this.templateCollection[s];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[s]}}},s.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])})})},s.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){r=(s=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&s&&!n.isUndefined(t[r])&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r]))}}else{var s,r=(s=this.models.toString().match(/checked|value/)||[])[0];t&&s&&!n.isUndefined(t[r])&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},s.prototype.render=function(e){return e("input",this.$slots.default)},s.prototype.custom=function(){this.updated()},s.prototype.addAttributes=function(e){return this.ej2Instances.addAttributes(e)},s.prototype.addIcon=function(e,t){return this.ej2Instances.addIcon(e,t)},s.prototype.focusIn=function(){return this.ej2Instances.focusIn()},s.prototype.focusOut=function(){return this.ej2Instances.focusOut()},s.prototype.removeAttributes=function(e){return this.ej2Instances.removeAttributes(e)},s=i([o.EJComponentDecorator({props:a,model:{event:"modelchanged"}})],s)}(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 s,r=arguments.length,i=r<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--)(s=e[a])&&(i=(r<3?s(i):r>3?s(t,n,i):s(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},h=["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"],f=["value"],m=function(e){function s(){var n=e.call(this,arguments)||this;return n.propKeys=h,n.models=f,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(s,e),s.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 s=o[t],r=this.templateCollection[s];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[s]}}},s.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])})})},s.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){r=(s=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&s&&!n.isUndefined(t[r])&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r]))}}else{var s,r=(s=this.models.toString().match(/checked|value/)||[])[0];t&&s&&!n.isUndefined(t[r])&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},s.prototype.render=function(e){return e("input",this.$slots.default)},s.prototype.custom=function(){this.updated()},s.prototype.decrement=function(e){return this.ej2Instances.decrement(e)},s.prototype.focusIn=function(){return this.ej2Instances.focusIn()},s.prototype.focusOut=function(){return this.ej2Instances.focusOut()},s.prototype.getText=function(){return this.ej2Instances.getText()},s.prototype.increment=function(e){return this.ej2Instances.increment(e)},s=d([o.EJComponentDecorator({props:h,model:{event:"modelchanged"}})],s)}(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 s,r=arguments.length,i=r<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--)(s=e[a])&&(i=(r<3?s(i):r>3?s(t,n,i):s(t,n))||i);return r>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 s(){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(s,e),s.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 s=o[t],r=this.templateCollection[s];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[s]}}},s.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])})})},s.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){r=(s=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&s&&!n.isUndefined(t[r])&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r]))}}else{var s,r=(s=this.models.toString().match(/checked|value/)||[])[0];t&&s&&!n.isUndefined(t[r])&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},s.prototype.render=function(e){return e("input",this.$slots.default)},s.prototype.custom=function(){this.updated()},s.prototype.focusIn=function(){return this.ej2Instances.focusIn()},s.prototype.focusOut=function(){return this.ej2Instances.focusOut()},s.prototype.getMaskedValue=function(){return this.ej2Instances.getMaskedValue()},s=j([o.EJComponentDecorator({props:_,model:{event:"modelchanged"}})],s)}(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 s,r=arguments.length,i=r<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--)(s=e[a])&&(i=(r<3?s(i):r>3?s(t,n,i):s(t,n))||i);return r>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 s(){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(s,e),s.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 s=o[t],r=this.templateCollection[s];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[s]}}},s.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])})})},s.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){r=(s=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&s&&!n.isUndefined(t[r])&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r]))}}else{var s,r=(s=this.models.toString().match(/checked|value/)||[])[0];t&&s&&!n.isUndefined(t[r])&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},s.prototype.render=function(e){return e("div",this.$slots.default)},s.prototype.custom=function(){this.updated()},s.prototype.reposition=function(){return this.ej2Instances.reposition()},s.prototype.setTooltip=function(e){return this.ej2Instances.setTooltip(e)},s=O([o.EJComponentDecorator({props:C,model:{event:"modelchanged"}})],s)}(o.ComponentBase),$={name:"ejs-slider",install:function(e){e.component($.name,w)}},M=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)}}(),k=function(e,t,n,o){var s,r=arguments.length,i=r<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--)(s=e[a])&&(i=(r<3?s(i):r>3?s(t,n,i):s(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return M(t,e),t.prototype.render=function(){},t=k([o.EJComponentDecorator({})],t)}(s),D={name:"e-files",install:function(e){e.component(D.name,R)}},B=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return M(t,e),t.prototype.render=function(){},t=k([o.EJComponentDecorator({})],t)}(s),S={name:"e-uploadedfiles",install:function(e){e.component(S.name,B)}},x=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)}}(),L=function(e,t,n,o){var s,r=arguments.length,i=r<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--)(s=e[a])&&(i=(r<3?s(i):r>3?s(t,n,i):s(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},U=["isLazyUpdate","plugins","allowedExtensions","asyncSettings","autoUpload","buttons","cssClass","directoryUpload","dropArea","dropEffect","enableHtmlSanitizer","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 s(){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 x(s,e),s.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 s=o[t],r=this.templateCollection[s];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[s]}}},s.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])})})},s.prototype.render=function(e){return e("input",this.$slots.default)},s.prototype.custom=function(){this.updated()},s.prototype.bytesToSize=function(e){return this.ej2Instances.bytesToSize(e)},s.prototype.cancel=function(e){return this.ej2Instances.cancel(e)},s.prototype.clearAll=function(){return this.ej2Instances.clearAll()},s.prototype.createFileList=function(e,t){return this.ej2Instances.createFileList(e,t)},s.prototype.getFilesData=function(e){return this.ej2Instances.getFilesData(e)},s.prototype.pause=function(e,t){return this.ej2Instances.pause(e,t)},s.prototype.remove=function(e,t,n,o,s){return this.ej2Instances.remove(e,t,n,o,s)},s.prototype.resume=function(e,t){return this.ej2Instances.resume(e,t)},s.prototype.retry=function(e,t,n){return this.ej2Instances.retry(e,t,n)},s.prototype.sortFileList=function(e){return this.ej2Instances.sortFileList(e)},s.prototype.traverseFileTree=function(e,t){return this.ej2Instances.traverseFileTree(e,t)},s.prototype.upload=function(e,t){return this.ej2Instances.upload(e,t)},s=L([o.EJComponentDecorator({props:U})],s)}(o.ComponentBase),H={name:"ejs-uploader",install:function(e){e.component(H.name,V),e.component(S.name,B),e.component(D.name,R)}},N=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)}}(),z=function(e,t,n,o){var s,r=arguments.length,i=r<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--)(s=e[a])&&(i=(r<3?s(i):r>3?s(t,n,i):s(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},F=["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 s(){var n=e.call(this,arguments)||this;return n.propKeys=F,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 N(s,e),s.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 s=o[t],r=this.templateCollection[s];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[s]}}},s.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])})})},s.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){r=(s=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&s&&!n.isUndefined(t[r])&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r]))}}else{var s,r=(s=this.models.toString().match(/checked|value/)||[])[0];t&&s&&!n.isUndefined(t[r])&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},s.prototype.render=function(e){return e("input",this.$slots.default)},s.prototype.custom=function(){this.updated()},s.prototype.focusIn=function(){return this.ej2Instances.focusIn()},s.prototype.getValue=function(e,t){return this.ej2Instances.getValue(e,t)},s.prototype.toggle=function(){return this.ej2Instances.toggle()},s=z([o.EJComponentDecorator({props:F,model:{event:"modelchanged"}})],s)}(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 s,r=arguments.length,i=r<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--)(s=e[a])&&(i=(r<3?s(i):r>3?s(t,n,i):s(t,n))||i);return r>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 s(){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(s,e),s.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 s=o[t],r=this.templateCollection[s];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[s]}}},s.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])})})},s.prototype.render=function(e){return e("canvas",this.$slots.default)},s.prototype.custom=function(){this.updated()},s.prototype.canRedo=function(){return this.ej2Instances.canRedo()},s.prototype.canUndo=function(){return this.ej2Instances.canUndo()},s.prototype.clear=function(){return this.ej2Instances.clear()},s.prototype.draw=function(e,t,n){return this.ej2Instances.draw(e,t,n)},s.prototype.getBlob=function(e){return this.ej2Instances.getBlob(e)},s.prototype.initialize=function(){return this.ej2Instances.initialize()},s.prototype.isEmpty=function(){return this.ej2Instances.isEmpty()},s.prototype.load=function(e,t,n){return this.ej2Instances.load(e,t,n)},s.prototype.redo=function(){return this.ej2Instances.redo()},s.prototype.save=function(e,t){return this.ej2Instances.save(e,t)},s.prototype.saveAsBlob=function(){return this.ej2Instances.saveAsBlob()},s.prototype.undo=function(){return this.ej2Instances.undo()},s=W([o.EJComponentDecorator({props:G})],s)}(o.ComponentBase),Y={name:"ejs-signature",install:function(e){e.component(Y.name,X)}},Z=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)}}(),ee=function(e,t,n,o){var s,r=arguments.length,i=r<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--)(s=e[a])&&(i=(r<3?s(i):r>3?s(t,n,i):s(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i},te=["isLazyUpdate","plugins","allowReset","cssClass","disabled","emptyTemplate","enableAnimation","enablePersistence","enableRtl","enableSingleSelection","fullTemplate","itemsCount","labelPosition","labelTemplate","locale","min","precision","readOnly","showLabel","showTooltip","tooltipTemplate","value","visible","beforeItemRender","created","onItemHover","valueChanged"],ne=["value"],oe=function(e){function s(){var n=e.call(this,arguments)||this;return n.propKeys=te,n.models=ne,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.Rating({}),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 Z(s,e),s.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 s=o[t],r=this.templateCollection[s];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[s]}}},s.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])})})},s.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){r=(s=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&s&&!n.isUndefined(t[r])&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r]))}}else{var s,r=(s=this.models.toString().match(/checked|value/)||[])[0];t&&s&&!n.isUndefined(t[r])&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},s.prototype.render=function(e){return e("input",this.$slots.default)},s.prototype.custom=function(){this.updated()},s.prototype.reset=function(){return this.ej2Instances.reset()},s=ee([o.EJComponentDecorator({props:te,model:{event:"modelchanged"}})],s)}(o.ComponentBase),se={name:"ejs-rating",install:function(e){e.component(se.name,oe)}};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=D,e.UploadedFilesPlugin=S,e.UploaderComponent=V,e.UploaderPlugin=H,e.ColorPickerComponent=q,e.ColorPickerPlugin=J,e.SignatureComponent=X,e.SignaturePlugin=Y,e.RatingComponent=oe,e.RatingPlugin=se,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
|