@syncfusion/ej2-vue-dropdowns 20.1.58 → 20.1.61
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 +24 -0
- package/dist/ej2-vue-dropdowns.umd.min.js +29 -2
- package/dist/ej2-vue-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-dropdowns.es2015.js +6 -6
- package/dist/es6/ej2-vue-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-dropdowns.es5.js +6 -6
- package/dist/es6/ej2-vue-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-vue-dropdowns.min.js +2 -2
- package/package.json +8 -8
- package/src/auto-complete/autocomplete.component.js +1 -1
- package/src/combo-box/combobox.component.js +1 -1
- package/src/drop-down-list/dropdownlist.component.js +1 -1
- package/src/drop-down-tree/dropdowntree.component.js +1 -1
- package/src/list-box/listbox.component.js +1 -1
- package/src/multi-select/multiselect.component.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
### MultiSelect
|
|
6
|
+
|
|
7
|
+
#### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- `#I373060` - Issue with "placeholder is not displayed properly while rendering the component with size HTML attribute" has been resolved.
|
|
10
|
+
|
|
11
|
+
## 20.1.60 (2022-06-14)
|
|
12
|
+
|
|
13
|
+
### ListBox
|
|
14
|
+
|
|
15
|
+
#### Bug Fixes
|
|
16
|
+
|
|
17
|
+
- `I377077` - Issue with "we navigate the listbox using tab key, it focus blank top area of the listbox instead of the listbox first item" has been resolved.
|
|
18
|
+
|
|
19
|
+
## 20.1.59 (2022-06-07)
|
|
20
|
+
|
|
21
|
+
### DropDownList
|
|
22
|
+
|
|
23
|
+
#### Bug Fixes
|
|
24
|
+
|
|
25
|
+
- "Dropdown List template sample is not working in React 18" issue has been resolved.
|
|
26
|
+
|
|
27
|
+
## 20.1.58 (2022-05-31)
|
|
28
|
+
|
|
5
29
|
### AutoComplete
|
|
6
30
|
|
|
7
31
|
#### Bug Fixes
|
|
@@ -1,11 +1,38 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-dropdowns.umd.min.js
|
|
3
|
-
* version : 20.1.
|
|
3
|
+
* version : 20.1.61
|
|
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-dropdowns"),require("@syncfusion/ej2-base"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-dropdowns","@syncfusion/ej2-base","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Dropdowns,e.ej2Base,e.ej2VueBase)}(this,function(e,t,n,s){"use strict";var o=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},i=["isLazyUpdate","actionFailureTemplate","allowFiltering","cssClass","dataSource","enablePersistence","enableRtl","enabled","fields","filterBarPlaceholder","filterType","floatLabelType","footerTemplate","groupTemplate","headerTemplate","htmlAttributes","ignoreAccent","ignoreCase","index","itemTemplate","locale","noRecordsTemplate","placeholder","popupHeight","popupWidth","query","readonly","showClearButton","sortOrder","text","value","valueTemplate","width","zIndex","actionBegin","actionComplete","actionFailure","beforeOpen","blur","change","close","created","dataBound","destroyed","filtering","focus","open","select"],a=["value"],c=s.getProps({props:i}),l=(c[0],c[1]),p=Object.keys(l);p.push("modelchanged");for(var u=0,h=a;u<h.length;u++){var d=h[u];p.push("update:"+d)}var m=!s.gh,f=function(e){function c(){var n=e.call(this,arguments)||this;return n.propKeys=i,n.models=a,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.isVue3=!m,n.ej2Instances=new t.DropDownList({}),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 o(c,e),c.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]}}},c.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])))})})},c.prototype.trigger=function(e,t,s){if(m||(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])&&(m?(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])&&(m?("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)},c.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)},c.prototype.custom=function(){this.updated()},c.prototype.addItem=function(e,t){return this.ej2Instances.addItem(e,t)},c.prototype.clear=function(){return this.ej2Instances.clear()},c.prototype.filter=function(e,t,n){return this.ej2Instances.filter(e,t,n)},c.prototype.focusIn=function(e){return this.ej2Instances.focusIn(e)},c.prototype.focusOut=function(e){return this.ej2Instances.focusOut(e)},c.prototype.getDataByValue=function(e){return this.ej2Instances.getDataByValue(e)},c.prototype.getItems=function(){return this.ej2Instances.getItems()},c.prototype.hidePopup=function(e){return this.ej2Instances.hidePopup(e)},c.prototype.hideSpinner=function(){return this.ej2Instances.hideSpinner()},c.prototype.showPopup=function(){return this.ej2Instances.showPopup()},c.prototype.showSpinner=function(){return this.ej2Instances.showSpinner()},c=r([s.EJComponentDecorator({props:i,model:{event:"modelchanged"}},m)],c)}(s.ComponentBase),g={name:"ejs-dropdownlist",install:function(e){e.component(g.name,f)}},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)}}(),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},y=["isLazyUpdate","actionFailureTemplate","allowCustom","allowFiltering","autofill","cssClass","dataSource","enablePersistence","enableRtl","enabled","fields","filterBarPlaceholder","filterType","floatLabelType","footerTemplate","groupTemplate","headerTemplate","htmlAttributes","ignoreAccent","ignoreCase","index","itemTemplate","locale","noRecordsTemplate","placeholder","popupHeight","popupWidth","query","readonly","showClearButton","sortOrder","text","value","valueTemplate","width","zIndex","actionBegin","actionComplete","actionFailure","beforeOpen","blur","change","close","created","customValueSpecifier","dataBound","destroyed","filtering","focus","open","select"],v=["value"],_=s.getProps({props:y}),P=(_[0],_[1]),b=Object.keys(P);b.push("modelchanged");for(var $=0,T=v;$<T.length;$++){var w=T[$];b.push("update:"+w)}var O=!s.gh,C=function(e){function o(){var n=e.call(this,arguments)||this;return n.propKeys=y,n.models=v,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.isVue3=!O,n.ej2Instances=new t.ComboBox({}),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(O||(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])&&(O?(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])&&(O?("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.addItem=function(e,t){return this.ej2Instances.addItem(e,t)},o.prototype.clear=function(){return this.ej2Instances.clear()},o.prototype.filter=function(e,t,n){return this.ej2Instances.filter(e,t,n)},o.prototype.focusIn=function(){return this.ej2Instances.focusIn()},o.prototype.focusOut=function(e){return this.ej2Instances.focusOut(e)},o.prototype.getDataByValue=function(e){return this.ej2Instances.getDataByValue(e)},o.prototype.getItems=function(){return this.ej2Instances.getItems()},o.prototype.hidePopup=function(e){return this.ej2Instances.hidePopup(e)},o.prototype.hideSpinner=function(){return this.ej2Instances.hideSpinner()},o.prototype.showPopup=function(){return this.ej2Instances.showPopup()},o.prototype.showSpinner=function(){return this.ej2Instances.showSpinner()},o=j([s.EJComponentDecorator({props:y,model:{event:"modelchanged"}},O)],o)}(s.ComponentBase),D={name:"ejs-combobox",install:function(e){e.component(D.name,C)}},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 s(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}}(),B=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},V=["isLazyUpdate","actionFailureTemplate","allowCustom","allowFiltering","autofill","cssClass","dataSource","enablePersistence","enableRtl","enabled","fields","filterBarPlaceholder","filterType","floatLabelType","footerTemplate","groupTemplate","headerTemplate","highlight","htmlAttributes","ignoreAccent","ignoreCase","index","itemTemplate","locale","minLength","noRecordsTemplate","placeholder","popupHeight","popupWidth","query","readonly","showClearButton","showPopupButton","sortOrder","suggestionCount","text","value","valueTemplate","width","zIndex","actionBegin","actionComplete","actionFailure","beforeOpen","blur","change","close","created","customValueSpecifier","dataBound","destroyed","filtering","focus","open","select"],M=["value"],L=s.getProps({props:V}),A=(L[0],L[1]),x=Object.keys(A);x.push("modelchanged");for(var U=0,R=M;U<R.length;U++){var k=R[U];x.push("update:"+k)}var N=!s.gh,z=function(e){function o(){var n=e.call(this,arguments)||this;return n.propKeys=V,n.models=M,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.isVue3=!N,n.ej2Instances=new t.AutoComplete({}),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(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(N||(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])&&(N?(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])&&(N?("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.addItem=function(e,t){return this.ej2Instances.addItem(e,t)},o.prototype.clear=function(){return this.ej2Instances.clear()},o.prototype.filter=function(e,t,n){return this.ej2Instances.filter(e,t,n)},o.prototype.focusIn=function(){return this.ej2Instances.focusIn()},o.prototype.focusOut=function(e){return this.ej2Instances.focusOut(e)},o.prototype.getDataByValue=function(e){return this.ej2Instances.getDataByValue(e)},o.prototype.getItems=function(){return this.ej2Instances.getItems()},o.prototype.hidePopup=function(e){return this.ej2Instances.hidePopup(e)},o.prototype.hideSpinner=function(){return this.ej2Instances.hideSpinner()},o.prototype.showPopup=function(){return this.ej2Instances.showPopup()},o.prototype.showSpinner=function(){return this.ej2Instances.showSpinner()},o=B([s.EJComponentDecorator({props:V,model:{event:"modelchanged"}},N)],o)}(s.ComponentBase),q={name:"ejs-autocomplete",install:function(e){e.component(q.name,z)}},F=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)}}(),H=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},E=["isLazyUpdate","actionFailureTemplate","addTagOnBlur","allowCustomValue","allowFiltering","changeOnBlur","closePopupOnSelect","cssClass","dataSource","delimiterChar","enableGroupCheckBox","enableHtmlSanitizer","enablePersistence","enableRtl","enableSelectionOrder","enabled","fields","filterBarPlaceholder","filterType","floatLabelType","footerTemplate","groupTemplate","headerTemplate","hideSelectedItem","htmlAttributes","ignoreAccent","ignoreCase","itemTemplate","locale","maximumSelectionLength","mode","noRecordsTemplate","openOnClick","placeholder","popupHeight","popupWidth","query","readonly","selectAllText","showClearButton","showDropDownIcon","showSelectAll","sortOrder","text","unSelectAllText","value","valueTemplate","width","zIndex","actionBegin","actionComplete","actionFailure","beforeOpen","beforeSelectAll","blur","change","chipSelection","close","created","customValueSelection","dataBound","destroyed","filtering","focus","open","removed","removing","select","selectedAll","tagging"],J=["value"],K=s.getProps({props:E}),W=(K[0],K[1]),G=Object.keys(W);G.push("modelchanged");for(var Q=0,X=J;Q<X.length;Q++){var Y=X[Q];G.push("update:"+Y)}var Z=!s.gh,ee=function(e){function o(){var n=e.call(this,arguments)||this;return n.propKeys=E,n.models=J,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.isVue3=!Z,n.ej2Instances=new t.MultiSelect({}),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 F(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(Z||(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])&&(Z?(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])&&(Z?("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.addItem=function(e,t){return this.ej2Instances.addItem(e,t)},o.prototype.clear=function(){return this.ej2Instances.clear()},o.prototype.filter=function(e,t,n){return this.ej2Instances.filter(e,t,n)},o.prototype.focusIn=function(){return this.ej2Instances.focusIn()},o.prototype.focusOut=function(){return this.ej2Instances.focusOut()},o.prototype.getDataByValue=function(e){return this.ej2Instances.getDataByValue(e)},o.prototype.getItems=function(){return this.ej2Instances.getItems()},o.prototype.hidePopup=function(){return this.ej2Instances.hidePopup()},o.prototype.hideSpinner=function(){return this.ej2Instances.hideSpinner()},o.prototype.requiredModules=function(){return this.ej2Instances.requiredModules()},o.prototype.selectAll=function(e){return this.ej2Instances.selectAll(e)},o.prototype.showPopup=function(){return this.ej2Instances.showPopup()},o.prototype.showSpinner=function(){return this.ej2Instances.showSpinner()},o=H([s.EJComponentDecorator({props:E,model:{event:"modelchanged"}},Z)],o)}(s.ComponentBase),te={name:"ejs-multiselect",install:function(e){e.component(te.name,ee)}},ne=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)}}(),se=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},oe=["isLazyUpdate","actionFailureTemplate","allowDragAndDrop","allowFiltering","cssClass","dataSource","enablePersistence","enableRtl","enabled","fields","filterBarPlaceholder","filterType","groupTemplate","height","ignoreAccent","ignoreCase","itemTemplate","locale","maximumSelectionLength","noRecordsTemplate","query","scope","selectionSettings","sortOrder","toolbarSettings","value","zIndex","actionBegin","actionComplete","actionFailure","beforeDrop","beforeItemRender","change","created","dataBound","destroyed","drag","dragStart","drop","filtering","select"],re=["value"],ie=s.getProps({props:oe}),ae=(ie[0],ie[1]),ce=Object.keys(ae);ce.push("modelchanged");for(var le=0,pe=re;le<pe.length;le++){var ue=pe[le];ce.push("update:"+ue)}var he=!s.gh,de=function(e){function o(){var n=e.call(this,arguments)||this;return n.propKeys=oe,n.models=re,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.isVue3=!he,n.ej2Instances=new t.ListBox({}),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 ne(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(he||(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])&&(he?(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])&&(he?("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.addItems=function(e,t){return this.ej2Instances.addItems(e,t)},o.prototype.enableItems=function(e,t,n){return this.ej2Instances.enableItems(e,t,n)},o.prototype.filter=function(e,t,n){return this.ej2Instances.filter(e,t,n)},o.prototype.getDataByValue=function(e){return this.ej2Instances.getDataByValue(e)},o.prototype.getDataByValues=function(e){return this.ej2Instances.getDataByValues(e)},o.prototype.getDataList=function(){return this.ej2Instances.getDataList()},o.prototype.getItems=function(){return this.ej2Instances.getItems()},o.prototype.getSortedList=function(){return this.ej2Instances.getSortedList()},o.prototype.hideSpinner=function(){return this.ej2Instances.hideSpinner()},o.prototype.moveAllTo=function(e,t){return this.ej2Instances.moveAllTo(e,t)},o.prototype.moveDown=function(e){return this.ej2Instances.moveDown(e)},o.prototype.moveTo=function(e,t,n){return this.ej2Instances.moveTo(e,t,n)},o.prototype.moveUp=function(e){return this.ej2Instances.moveUp(e)},o.prototype.removeItem=function(e,t){return this.ej2Instances.removeItem(e,t)},o.prototype.removeItems=function(e,t){return this.ej2Instances.removeItems(e,t)},o.prototype.requiredModules=function(){return this.ej2Instances.requiredModules()},o.prototype.selectAll=function(e){return this.ej2Instances.selectAll(e)},o.prototype.selectItems=function(e,t,n){return this.ej2Instances.selectItems(e,t,n)},o.prototype.showSpinner=function(){return this.ej2Instances.showSpinner()},o=se([s.EJComponentDecorator({props:oe,model:{event:"modelchanged"}},he)],o)}(s.ComponentBase),me={name:"ejs-listbox",install:function(e){e.component(me.name,de)}},fe=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)}}(),ge=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},Ie=["isLazyUpdate","actionFailureTemplate","allowFiltering","allowMultiSelection","changeOnBlur","cssClass","customTemplate","delimiterChar","enablePersistence","enableRtl","enabled","fields","filterBarPlaceholder","filterType","floatLabelType","footerTemplate","headerTemplate","htmlAttributes","ignoreAccent","ignoreCase","itemTemplate","locale","mode","noRecordsTemplate","placeholder","popupHeight","popupWidth","readonly","selectAllText","showCheckBox","showClearButton","showDropDownIcon","showSelectAll","sortOrder","text","treeSettings","unSelectAllText","value","width","wrapText","zIndex","actionFailure","beforeOpen","blur","change","close","created","dataBound","destroyed","filtering","focus","keyPress","open","select"],je=["value"],ye=s.getProps({props:Ie}),ve=(ye[0],ye[1]),_e=Object.keys(ve);_e.push("modelchanged");for(var Pe=0,be=je;Pe<be.length;Pe++){var $e=be[Pe];_e.push("update:"+$e)}var Te=!s.gh,we=function(e){function o(){var n=e.call(this,arguments)||this;return n.propKeys=Ie,n.models=je,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.isVue3=!Te,n.ej2Instances=new t.DropDownTree({}),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 fe(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(Te||(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])&&(Te?(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])&&(Te?("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.clear=function(){return this.ej2Instances.clear()},o.prototype.ensureVisible=function(e){return this.ej2Instances.ensureVisible(e)},o.prototype.getData=function(e){return this.ej2Instances.getData(e)},o.prototype.getLocaleName=function(){return this.ej2Instances.getLocaleName()},o.prototype.hidePopup=function(){return this.ej2Instances.hidePopup()},o.prototype.selectAll=function(e){return this.ej2Instances.selectAll(e)},o.prototype.showPopup=function(){return this.ej2Instances.showPopup()},o=ge([s.EJComponentDecorator({props:Ie,model:{event:"modelchanged"}},Te)],o)}(s.ComponentBase),Oe={name:"ejs-dropdowntree",install:function(e){e.component(Oe.name,we)}};e.DropDownListComponent=f,e.DropDownListPlugin=g,e.ComboBoxComponent=C,e.ComboBoxPlugin=D,e.AutoCompleteComponent=z,e.AutoCompletePlugin=q,e.MultiSelectComponent=ee,e.MultiSelectPlugin=te,e.ListBoxComponent=de,e.ListBoxPlugin=me,e.DropDownTreeComponent=we,e.DropDownTreePlugin=Oe,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
10
|
+
/*!
|
|
11
|
+
* filename: ej2-vue-dropdowns.umd.min.js
|
|
12
|
+
* version : 20.1.47
|
|
13
|
+
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
14
|
+
* Use of this code is subject to the terms of our license.
|
|
15
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
16
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
17
|
+
* applicable laws.
|
|
18
|
+
*/
|
|
19
|
+
/*!
|
|
20
|
+
* filename: ej2-vue-dropdowns.umd.min.js
|
|
21
|
+
* version : 19.4.38
|
|
22
|
+
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
23
|
+
* Use of this code is subject to the terms of our license.
|
|
24
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
25
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
26
|
+
* applicable laws.
|
|
27
|
+
*/
|
|
28
|
+
/*!
|
|
29
|
+
* filename: ej2-vue-dropdowns.umd.min.js
|
|
30
|
+
* version : 19.1.63
|
|
31
|
+
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
32
|
+
* Use of this code is subject to the terms of our license.
|
|
33
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
34
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
35
|
+
* applicable laws.
|
|
36
|
+
*/
|
|
37
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-dropdowns"),require("@syncfusion/ej2-base"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-dropdowns","@syncfusion/ej2-base","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Dropdowns,e.ej2Base,e.ej2VueBase)}(this,function(e,t,n,o){"use strict";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)}}(),r=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},i=["actionFailureTemplate","allowFiltering","cssClass","dataSource","enablePersistence","enableRtl","enabled","fields","filterBarPlaceholder","filterType","floatLabelType","footerTemplate","groupTemplate","headerTemplate","htmlAttributes","ignoreAccent","ignoreCase","index","itemTemplate","locale","noRecordsTemplate","placeholder","popupHeight","popupWidth","query","readonly","showClearButton","sortOrder","text","value","valueTemplate","width","zIndex","actionBegin","actionComplete","actionFailure","beforeOpen","blur","change","close","created","dataBound","destroyed","filtering","focus","open","select"],a=["value"],c=function(e){function c(){var n=e.call(this)||this;return n.propKeys=i,n.models=a,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.DropDownList({}),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}return s(c,e),c.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])})})},c.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)},c.prototype.render=function(e){return e("input",this.$slots.default)},c.prototype.addItem=function(e,t){return this.ej2Instances.addItem(e,t)},c.prototype.clear=function(){return this.ej2Instances.clear()},c.prototype.filter=function(e,t,n){return this.ej2Instances.filter(e,t,n)},c.prototype.focusIn=function(e){return this.ej2Instances.focusIn(e)},c.prototype.focusOut=function(e){return this.ej2Instances.focusOut(e)},c.prototype.getDataByValue=function(e){return this.ej2Instances.getDataByValue(e)},c.prototype.getItems=function(){return this.ej2Instances.getItems()},c.prototype.hidePopup=function(e){return this.ej2Instances.hidePopup(e)},c.prototype.hideSpinner=function(){return this.ej2Instances.hideSpinner()},c.prototype.showPopup=function(){return this.ej2Instances.showPopup()},c.prototype.showSpinner=function(){return this.ej2Instances.showSpinner()},c=r([o.EJComponentDecorator({props:i,model:{event:"modelchanged"}})],c)}(o.ComponentBase),p={name:"ejs-dropdownlist",install:function(e){e.component(p.name,c)}},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)}}(),u=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=["actionFailureTemplate","allowCustom","allowFiltering","autofill","cssClass","dataSource","enablePersistence","enableRtl","enabled","fields","filterBarPlaceholder","filterType","floatLabelType","footerTemplate","groupTemplate","headerTemplate","htmlAttributes","ignoreAccent","ignoreCase","index","itemTemplate","locale","noRecordsTemplate","placeholder","popupHeight","popupWidth","query","readonly","showClearButton","sortOrder","text","value","valueTemplate","width","zIndex","actionBegin","actionComplete","actionFailure","beforeOpen","blur","change","close","created","customValueSpecifier","dataBound","destroyed","filtering","focus","open","select"],d=["value"],f=function(e){function s(){var n=e.call(this)||this;return n.propKeys=h,n.models=d,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.ComboBox({}),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}return l(s,e),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.addItem=function(e,t){return this.ej2Instances.addItem(e,t)},s.prototype.clear=function(){return this.ej2Instances.clear()},s.prototype.filter=function(e,t,n){return this.ej2Instances.filter(e,t,n)},s.prototype.focusIn=function(){return this.ej2Instances.focusIn()},s.prototype.focusOut=function(e){return this.ej2Instances.focusOut(e)},s.prototype.getDataByValue=function(e){return this.ej2Instances.getDataByValue(e)},s.prototype.getItems=function(){return this.ej2Instances.getItems()},s.prototype.hidePopup=function(e){return this.ej2Instances.hidePopup(e)},s.prototype.hideSpinner=function(){return this.ej2Instances.hideSpinner()},s.prototype.showPopup=function(){return this.ej2Instances.showPopup()},s.prototype.showSpinner=function(){return this.ej2Instances.showSpinner()},s=u([o.EJComponentDecorator({props:h,model:{event:"modelchanged"}})],s)}(o.ComponentBase),m={name:"ejs-combobox",install:function(e){e.component(m.name,f)}},g=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)}}(),y=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},j=["actionFailureTemplate","allowCustom","allowFiltering","autofill","cssClass","dataSource","enablePersistence","enableRtl","enabled","fields","filterBarPlaceholder","filterType","floatLabelType","footerTemplate","groupTemplate","headerTemplate","highlight","htmlAttributes","ignoreAccent","ignoreCase","index","itemTemplate","locale","minLength","noRecordsTemplate","placeholder","popupHeight","popupWidth","query","readonly","showClearButton","showPopupButton","sortOrder","suggestionCount","text","value","valueTemplate","width","zIndex","actionBegin","actionComplete","actionFailure","beforeOpen","blur","change","close","created","customValueSpecifier","dataBound","destroyed","filtering","focus","open","select"],I=["value"],P=function(e){function s(){var n=e.call(this)||this;return n.propKeys=j,n.models=I,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.AutoComplete({}),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}return g(s,e),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.addItem=function(e,t){return this.ej2Instances.addItem(e,t)},s.prototype.clear=function(){return this.ej2Instances.clear()},s.prototype.filter=function(e,t,n){return this.ej2Instances.filter(e,t,n)},s.prototype.focusIn=function(){return this.ej2Instances.focusIn()},s.prototype.focusOut=function(e){return this.ej2Instances.focusOut(e)},s.prototype.getDataByValue=function(e){return this.ej2Instances.getDataByValue(e)},s.prototype.getItems=function(){return this.ej2Instances.getItems()},s.prototype.hidePopup=function(){return this.ej2Instances.hidePopup()},s.prototype.hideSpinner=function(){return this.ej2Instances.hideSpinner()},s.prototype.showPopup=function(){return this.ej2Instances.showPopup()},s.prototype.showSpinner=function(){return this.ej2Instances.showSpinner()},s=y([o.EJComponentDecorator({props:j,model:{event:"modelchanged"}})],s)}(o.ComponentBase),b={name:"ejs-autocomplete",install:function(e){e.component(b.name,P)}},v=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},_=["actionFailureTemplate","allowCustomValue","allowFiltering","changeOnBlur","closePopupOnSelect","cssClass","dataSource","delimiterChar","enableGroupCheckBox","enableHtmlSanitizer","enablePersistence","enableRtl","enableSelectionOrder","enabled","fields","filterBarPlaceholder","filterType","floatLabelType","footerTemplate","groupTemplate","headerTemplate","hideSelectedItem","htmlAttributes","ignoreAccent","ignoreCase","itemTemplate","locale","maximumSelectionLength","mode","noRecordsTemplate","openOnClick","placeholder","popupHeight","popupWidth","query","readonly","selectAllText","showClearButton","showDropDownIcon","showSelectAll","sortOrder","text","unSelectAllText","value","valueTemplate","width","zIndex","actionBegin","actionComplete","actionFailure","beforeOpen","blur","change","chipSelection","close","created","customValueSelection","dataBound","destroyed","filtering","focus","open","removed","removing","select","selectedAll","tagging"],O=["value"],T=function(e){function s(){var n=e.call(this)||this;return n.propKeys=_,n.models=O,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.MultiSelect({}),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}return v(s,e),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.addItem=function(e,t){return this.ej2Instances.addItem(e,t)},s.prototype.clear=function(){return this.ej2Instances.clear()},s.prototype.filter=function(e,t,n){return this.ej2Instances.filter(e,t,n)},s.prototype.focusIn=function(){return this.ej2Instances.focusIn()},s.prototype.focusOut=function(){return this.ej2Instances.focusOut()},s.prototype.getDataByValue=function(e){return this.ej2Instances.getDataByValue(e)},s.prototype.getItems=function(){return this.ej2Instances.getItems()},s.prototype.hidePopup=function(){return this.ej2Instances.hidePopup()},s.prototype.hideSpinner=function(){return this.ej2Instances.hideSpinner()},s.prototype.requiredModules=function(){return this.ej2Instances.requiredModules()},s.prototype.selectAll=function(e){return this.ej2Instances.selectAll(e)},s.prototype.showPopup=function(){return this.ej2Instances.showPopup()},s.prototype.showSpinner=function(){return this.ej2Instances.showSpinner()},s=w([o.EJComponentDecorator({props:_,model:{event:"modelchanged"}})],s)}(o.ComponentBase),D={name:"ejs-multiselect",install:function(e){e.component(D.name,T)}},C=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)}}(),B=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},S=["actionFailureTemplate","allowDragAndDrop","allowFiltering","cssClass","dataSource","enablePersistence","enableRtl","enabled","fields","filterBarPlaceholder","filterType","groupTemplate","height","ignoreAccent","ignoreCase","itemTemplate","locale","maximumSelectionLength","noRecordsTemplate","query","scope","selectionSettings","sortOrder","toolbarSettings","value","zIndex","actionBegin","actionComplete","actionFailure","beforeDrop","beforeItemRender","change","created","dataBound","destroyed","drag","dragStart","drop","filtering","select"],A=["value"],$=function(e){function s(){var n=e.call(this)||this;return n.propKeys=S,n.models=A,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.ListBox({}),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}return C(s,e),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.addItems=function(e,t){return this.ej2Instances.addItems(e,t)},s.prototype.enableItems=function(e,t,n){return this.ej2Instances.enableItems(e,t,n)},s.prototype.filter=function(e,t,n){return this.ej2Instances.filter(e,t,n)},s.prototype.getDataByValue=function(e){return this.ej2Instances.getDataByValue(e)},s.prototype.getDataByValues=function(e){return this.ej2Instances.getDataByValues(e)},s.prototype.getDataList=function(){return this.ej2Instances.getDataList()},s.prototype.getItems=function(){return this.ej2Instances.getItems()},s.prototype.getSortedList=function(){return this.ej2Instances.getSortedList()},s.prototype.moveAllTo=function(e,t){return this.ej2Instances.moveAllTo(e,t)},s.prototype.moveDown=function(e){return this.ej2Instances.moveDown(e)},s.prototype.moveTo=function(e,t,n){return this.ej2Instances.moveTo(e,t,n)},s.prototype.moveUp=function(e){return this.ej2Instances.moveUp(e)},s.prototype.removeItem=function(e,t){return this.ej2Instances.removeItem(e,t)},s.prototype.removeItems=function(e,t){return this.ej2Instances.removeItems(e,t)},s.prototype.requiredModules=function(){return this.ej2Instances.requiredModules()},s.prototype.selectAll=function(e){return this.ej2Instances.selectAll(e)},s.prototype.selectItems=function(e,t,n){return this.ej2Instances.selectItems(e,t,n)},s=B([o.EJComponentDecorator({props:S,model:{event:"modelchanged"}})],s)}(o.ComponentBase),x={name:"ejs-listbox",install:function(e){e.component(x.name,$)}},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)}}(),M=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},V=["actionFailureTemplate","allowFiltering","allowMultiSelection","changeOnBlur","cssClass","delimiterChar","enablePersistence","enableRtl","enabled","fields","filterBarPlaceholder","filterType","floatLabelType","footerTemplate","headerTemplate","htmlAttributes","ignoreAccent","ignoreCase","itemTemplate","locale","mode","noRecordsTemplate","placeholder","popupHeight","popupWidth","readonly","selectAllText","showCheckBox","showClearButton","showDropDownIcon","showSelectAll","sortOrder","text","treeSettings","unSelectAllText","value","width","wrapText","zIndex","actionFailure","beforeOpen","blur","change","close","created","dataBound","destroyed","filtering","focus","keyPress","open","select"],L=["value"],q=function(e){function s(){var n=e.call(this)||this;return n.propKeys=V,n.models=L,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.DropDownTree({}),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}return R(s,e),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.clear=function(){return this.ej2Instances.clear()},s.prototype.ensureVisible=function(e){return this.ej2Instances.ensureVisible(e)},s.prototype.getData=function(e){return this.ej2Instances.getData(e)},s.prototype.getLocaleName=function(){return this.ej2Instances.getLocaleName()},s.prototype.hidePopup=function(){return this.ej2Instances.hidePopup()},s.prototype.selectAll=function(e){return this.ej2Instances.selectAll(e)},s.prototype.showPopup=function(){return this.ej2Instances.showPopup()},s=M([o.EJComponentDecorator({props:V,model:{event:"modelchanged"}})],s)}(o.ComponentBase),F={name:"ejs-dropdowntree",install:function(e){e.component(F.name,q)}};e.DropDownListComponent=c,e.DropDownListPlugin=p,e.ComboBoxComponent=f,e.ComboBoxPlugin=m,e.AutoCompleteComponent=P,e.AutoCompletePlugin=b,e.MultiSelectComponent=T,e.MultiSelectPlugin=D,e.ListBoxComponent=$,e.ListBoxPlugin=x,e.DropDownTreeComponent=q,e.DropDownTreePlugin=F,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
11
38
|
//# sourceMappingURL=ej2-vue-dropdowns.umd.min.js.map
|