@syncfusion/ej2-vue-dropdowns 18.2.44-4568 → 18.2.44-4571
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 +206 -0
- package/dist/ej2-vue-dropdowns.umd.min.js +10 -1
- package/dist/ej2-vue-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-dropdowns.es2015.js +9 -6
- package/dist/es6/ej2-vue-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-dropdowns.es5.js +9 -6
- package/dist/es6/ej2-vue-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-vue-dropdowns.min.js +10 -0
- package/package.json +72 -72
- package/src/drop-down-tree/dropdowntree.component.d.ts +1 -0
- package/src/drop-down-tree/dropdowntree.component.js +4 -1
- package/src/list-box/listbox.component.d.ts +2 -2
- package/src/list-box/listbox.component.js +4 -4
- package/src/multi-select/multiselect.component.js +1 -1
- package/styles/auto-complete/bootstrap-dark.css +0 -1
- package/styles/auto-complete/bootstrap.css +0 -1
- package/styles/auto-complete/bootstrap4.css +0 -1
- package/styles/bootstrap-dark.css +790 -173
- package/styles/bootstrap.css +790 -173
- package/styles/bootstrap4.css +826 -187
- package/styles/combo-box/bootstrap-dark.css +0 -1
- package/styles/combo-box/bootstrap.css +0 -1
- package/styles/combo-box/bootstrap4.css +0 -1
- package/styles/drop-down-base/bootstrap4.css +2 -1
- package/styles/drop-down-list/bootstrap-dark.css +35 -2
- package/styles/drop-down-list/bootstrap.css +35 -2
- package/styles/drop-down-list/bootstrap4.css +37 -3
- package/styles/drop-down-list/fabric-dark.css +35 -1
- package/styles/drop-down-list/fabric.css +35 -1
- package/styles/drop-down-list/highcontrast-light.css +35 -1
- package/styles/drop-down-list/highcontrast.css +35 -1
- package/styles/drop-down-list/material-dark.css +35 -1
- package/styles/drop-down-list/material.css +44 -1
- package/styles/drop-down-tree/bootstrap-dark.css +97 -19
- package/styles/drop-down-tree/bootstrap.css +97 -19
- package/styles/drop-down-tree/bootstrap4.css +108 -24
- package/styles/drop-down-tree/fabric-dark.css +97 -19
- package/styles/drop-down-tree/fabric.css +97 -19
- package/styles/drop-down-tree/highcontrast-light.css +97 -19
- package/styles/drop-down-tree/highcontrast.css +97 -19
- package/styles/drop-down-tree/material-dark.css +98 -20
- package/styles/drop-down-tree/material.css +107 -20
- package/styles/fabric-dark.css +782 -172
- package/styles/fabric.css +782 -172
- package/styles/highcontrast-light.css +789 -173
- package/styles/highcontrast.css +789 -173
- package/styles/list-box/bootstrap-dark.css +291 -140
- package/styles/list-box/bootstrap.css +291 -140
- package/styles/list-box/bootstrap4.css +311 -147
- package/styles/list-box/fabric-dark.css +291 -140
- package/styles/list-box/fabric.css +291 -140
- package/styles/list-box/highcontrast-light.css +291 -140
- package/styles/list-box/highcontrast.css +291 -140
- package/styles/list-box/material-dark.css +295 -144
- package/styles/list-box/material.css +295 -144
- package/styles/material-dark.css +956 -186
- package/styles/material.css +1311 -193
- package/styles/multi-select/bootstrap-dark.css +367 -12
- package/styles/multi-select/bootstrap.css +367 -12
- package/styles/multi-select/bootstrap4.css +376 -16
- package/styles/multi-select/fabric-dark.css +359 -12
- package/styles/multi-select/fabric.css +359 -12
- package/styles/multi-select/highcontrast-light.css +366 -13
- package/styles/multi-select/highcontrast.css +366 -13
- package/styles/multi-select/material-dark.css +528 -21
- package/styles/multi-select/material.css +865 -28
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,196 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## 18.4.47 (2021-03-09)
|
|
6
|
+
|
|
7
|
+
### MultiSelect
|
|
8
|
+
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
`#317598` - Issue with "selected values are not posted properly while clicking on the select all option with predefined value" has been resolved.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## 18.4.44 (2021-02-23)
|
|
15
|
+
|
|
16
|
+
### MultiSelect
|
|
17
|
+
|
|
18
|
+
#### New Features
|
|
19
|
+
|
|
20
|
+
- `#283275`, `#289148`, `#296652` - Now, selection and deselection performance is improved while providing the large data to the component.
|
|
21
|
+
|
|
22
|
+
## 18.4.43 (2021-02-16)
|
|
23
|
+
|
|
24
|
+
### Dropdown Tree
|
|
25
|
+
|
|
26
|
+
#### Bug Fixes
|
|
27
|
+
|
|
28
|
+
- `#310244` - The issue on changing the `treeSettings.autoCheck` property dynamically in the `Box` mode has been resolved in the Dropdown Tree component.
|
|
29
|
+
|
|
30
|
+
## 18.4.35 (2021-01-19)
|
|
31
|
+
|
|
32
|
+
### DropDownList
|
|
33
|
+
|
|
34
|
+
#### Bug Fixes
|
|
35
|
+
|
|
36
|
+
- `#310665` - Issue with "`select` event is triggered twice while preventing the value selection" has been resolved.
|
|
37
|
+
|
|
38
|
+
## 18.4.34 (2021-01-12)
|
|
39
|
+
|
|
40
|
+
### ListBox
|
|
41
|
+
|
|
42
|
+
#### Bug Fixes
|
|
43
|
+
|
|
44
|
+
- Issue with remote data has been fixed.
|
|
45
|
+
|
|
46
|
+
## 18.4.32 (2020-12-29)
|
|
47
|
+
|
|
48
|
+
### AutoComplete
|
|
49
|
+
|
|
50
|
+
#### Bug Fixes
|
|
51
|
+
|
|
52
|
+
- `#308003` - Issue with 'highlight search is not working while rendering component along with `iconCss` property' has been resolved.
|
|
53
|
+
|
|
54
|
+
### DropDownList
|
|
55
|
+
|
|
56
|
+
#### Bug Fixes
|
|
57
|
+
|
|
58
|
+
- `#304837` - Issue with "value property is not updated properly while rendering dropdown with select tag and list has empty string as field value" has been resolved.
|
|
59
|
+
|
|
60
|
+
## 18.4.31 (2020-12-22)
|
|
61
|
+
|
|
62
|
+
### ListBox
|
|
63
|
+
|
|
64
|
+
#### Bug Fixes
|
|
65
|
+
|
|
66
|
+
- Issue with 'drag and drop' has been fixed.
|
|
67
|
+
- Issue with toolbar option has been fixed.
|
|
68
|
+
|
|
69
|
+
## 18.3.52 (2020-12-01)
|
|
70
|
+
|
|
71
|
+
### DropDownList
|
|
72
|
+
|
|
73
|
+
#### Bug Fixes
|
|
74
|
+
|
|
75
|
+
- `#304117`,`#304560` - EJ1 and EJ2 controls theme compatibility issue resolved.
|
|
76
|
+
|
|
77
|
+
### MultiSelect
|
|
78
|
+
|
|
79
|
+
#### Bug Fixes
|
|
80
|
+
|
|
81
|
+
- `#304117`,`#304560` - EJ1 and EJ2 controls theme compatibility issue resolved.
|
|
82
|
+
|
|
83
|
+
### ComboBox
|
|
84
|
+
|
|
85
|
+
#### Bug Fixes
|
|
86
|
+
|
|
87
|
+
- `#304117`,`#304560` - EJ1 and EJ2 controls theme compatibility issue resolved.
|
|
88
|
+
|
|
89
|
+
### AutoComplete
|
|
90
|
+
|
|
91
|
+
#### Bug Fixes
|
|
92
|
+
|
|
93
|
+
- `#304117`,`#304560` - EJ1 and EJ2 controls theme compatibility issue resolved.
|
|
94
|
+
|
|
95
|
+
### ListBox
|
|
96
|
+
|
|
97
|
+
#### Bug Fixes
|
|
98
|
+
|
|
99
|
+
- Issue with 'removeItem' method has been fixed.
|
|
100
|
+
|
|
101
|
+
## 18.3.44 (2020-10-27)
|
|
102
|
+
|
|
103
|
+
### MultiSelect
|
|
104
|
+
|
|
105
|
+
#### Bug Fixes
|
|
106
|
+
|
|
107
|
+
- `#292479` - Issue with "beforeOpen event is triggered while rendering the component with initial value" has been resolved.
|
|
108
|
+
|
|
109
|
+
## 18.3.42 (2020-10-20)
|
|
110
|
+
|
|
111
|
+
### Dropdown Tree
|
|
112
|
+
|
|
113
|
+
#### Bug Fixes
|
|
114
|
+
|
|
115
|
+
- `F155642` - The issue with "the two-way binding is not working while enabling checkbox support in the Dropdown Tree component" has been resolved.
|
|
116
|
+
|
|
117
|
+
### ListBox
|
|
118
|
+
|
|
119
|
+
#### Bug Fixes
|
|
120
|
+
|
|
121
|
+
- Issue with 'dragStart' event has been fixed.
|
|
122
|
+
|
|
123
|
+
### MultiSelect
|
|
124
|
+
|
|
125
|
+
#### Bug Fixes
|
|
126
|
+
|
|
127
|
+
- `#292734` - Issue with "script error occurs while updating the data source and value property dynamically" has been resolved.
|
|
128
|
+
|
|
129
|
+
## 18.3.40 (2020-10-13)
|
|
130
|
+
|
|
131
|
+
### MultiSelect
|
|
132
|
+
|
|
133
|
+
#### Bug Fixes
|
|
134
|
+
|
|
135
|
+
- `#291884` - Issue with "clear icon overlaps the selected value" has been resolved.
|
|
136
|
+
|
|
137
|
+
## 18.3.35 (2020-10-01)
|
|
138
|
+
|
|
139
|
+
### ListBox
|
|
140
|
+
|
|
141
|
+
#### Bug Fixes
|
|
142
|
+
|
|
143
|
+
- compatibility issues with EJ1 has been fixed.
|
|
144
|
+
|
|
145
|
+
## 18.2.58 (2020-09-15)
|
|
146
|
+
|
|
147
|
+
### ListBox
|
|
148
|
+
|
|
149
|
+
#### Bug Fixes
|
|
150
|
+
|
|
151
|
+
- 'moveAll' is not working after applied grouping has been fixed.
|
|
152
|
+
|
|
153
|
+
## 18.2.54 (2020-08-18)
|
|
154
|
+
|
|
155
|
+
### Dropdown Tree
|
|
156
|
+
|
|
157
|
+
#### Breaking Changes
|
|
158
|
+
|
|
159
|
+
- `#273325` - Provided the option to customize the Dropdown Tree’s input height when the content is increased.
|
|
160
|
+
|
|
161
|
+
### MultiSelect
|
|
162
|
+
|
|
163
|
+
#### Bug Fixes
|
|
164
|
+
|
|
165
|
+
- `#275308` - Performance issue will no longer occurs when render the multiselect with checkbox.
|
|
166
|
+
|
|
167
|
+
## 18.2.48 (2020-08-04)
|
|
168
|
+
|
|
169
|
+
### ListBox
|
|
170
|
+
|
|
171
|
+
#### New Features
|
|
172
|
+
|
|
173
|
+
- `#285392` - Enable / disable list items based on unique value support provided.
|
|
174
|
+
|
|
175
|
+
### Dropdown Tree
|
|
176
|
+
|
|
177
|
+
#### Bug Fixes
|
|
178
|
+
|
|
179
|
+
- The accessibility issue with “The Dropdown Tree text is not reading properly when enabling the multi-selection support” has been resolved.
|
|
180
|
+
|
|
181
|
+
## 18.2.47 (2020-07-28)
|
|
182
|
+
|
|
183
|
+
### DropDownList
|
|
184
|
+
|
|
185
|
+
#### Bug Fixes
|
|
186
|
+
|
|
187
|
+
- `#277503` - Issue with "sort order is not working for filtering dropdown after adding new item using addItem method" has been resolved.
|
|
188
|
+
|
|
189
|
+
### ListBox
|
|
190
|
+
|
|
191
|
+
#### Bug Fixes
|
|
192
|
+
|
|
193
|
+
- Filtering is not working in IE browser has been fixed.
|
|
194
|
+
|
|
5
195
|
## 18.1.59 (2020-06-23)
|
|
6
196
|
|
|
7
197
|
### MultiSelect
|
|
@@ -1515,3 +1705,19 @@ DropDownList component contains a list of predefined values from which a single
|
|
|
1515
1705
|
- **Accessibility** - Provided with built-in accessibility support which helps to access all the DropDownList component features through the keyboard, screen readers, or other assistive technology devices.
|
|
1516
1706
|
|
|
1517
1707
|
|
|
1708
|
+
## 18.4.46 (2021-03-02)
|
|
1709
|
+
|
|
1710
|
+
### DropDownList
|
|
1711
|
+
|
|
1712
|
+
#### Bug Fixes
|
|
1713
|
+
|
|
1714
|
+
- `#314548` - Issue with "list items are not generated properly while changing the `fields` property on dynamically" has been resolved.
|
|
1715
|
+
|
|
1716
|
+
## 18.2.46 (2020-07-21)
|
|
1717
|
+
|
|
1718
|
+
### DropDownList
|
|
1719
|
+
|
|
1720
|
+
#### Bug Fixes
|
|
1721
|
+
|
|
1722
|
+
- `#275281` - Now popup renders relative to the dropdown input element when position the control in the extreme right corner of the view port.
|
|
1723
|
+
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
!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","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){return this.ej2Instances.enableItems(e,t)},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){return this.ej2Instances.selectItems(e,t)},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","zIndex","actionFailure","beforeOpen","blur","change","close","created","dataBound","destroyed","filtering","focus","keyPress","open","select"],q=["value"],F=function(e){function s(){var n=e.call(this)||this;return n.propKeys=V,n.models=q,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.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),L={name:"ejs-dropdowntree",install:function(e){e.component(L.name,F)}};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=F,e.DropDownTreePlugin=L,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
1
|
+
/*!
|
|
2
|
+
* filename: ej2-vue-dropdowns.umd.min.js
|
|
3
|
+
* version : 18.4.49
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
|
+
* Use of this code is subject to the terms of our license.
|
|
6
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
|
+
* applicable laws.
|
|
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,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})});
|
|
2
11
|
//# sourceMappingURL=ej2-vue-dropdowns.umd.min.js.map
|