@syncfusion/ej2-dropdowns 18.1.57 → 18.2.44-4569

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.
Files changed (183) hide show
  1. package/.eslintrc.json +244 -0
  2. package/CHANGELOG.md +1524 -1514
  3. package/README.md +118 -118
  4. package/dist/ej2-dropdowns.umd.min.js +1 -10
  5. package/dist/ej2-dropdowns.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-dropdowns.es2015.js +198 -126
  7. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  8. package/dist/es6/ej2-dropdowns.es5.js +290 -217
  9. package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
  10. package/dist/global/ej2-dropdowns.min.js +1 -10
  11. package/dist/global/ej2-dropdowns.min.js.map +1 -1
  12. package/dist/global/index.d.ts +0 -9
  13. package/dist/ts/auto-complete/auto-complete.ts +527 -0
  14. package/dist/ts/combo-box/combo-box.ts +957 -0
  15. package/dist/ts/common/highlight-search.ts +47 -0
  16. package/dist/ts/common/incremental-search.ts +81 -0
  17. package/dist/ts/drop-down-base/drop-down-base.ts +1572 -0
  18. package/dist/ts/drop-down-list/drop-down-list.ts +2993 -0
  19. package/dist/ts/drop-down-tree/drop-down-tree.ts +3066 -0
  20. package/dist/ts/list-box/list-box.ts +2317 -0
  21. package/dist/ts/multi-select/checkbox-selection.ts +528 -0
  22. package/dist/ts/multi-select/float-label.ts +155 -0
  23. package/dist/ts/multi-select/interface.ts +66 -0
  24. package/dist/ts/multi-select/multi-select.ts +4216 -0
  25. package/helpers/e2e/index.js +3 -3
  26. package/license +2 -2
  27. package/package.json +77 -77
  28. package/src/auto-complete/auto-complete-model.d.ts +179 -179
  29. package/src/auto-complete/auto-complete.d.ts +12 -12
  30. package/src/auto-complete/auto-complete.js +21 -21
  31. package/src/combo-box/combo-box-model.d.ts +212 -212
  32. package/src/combo-box/combo-box.d.ts +27 -27
  33. package/src/combo-box/combo-box.js +29 -29
  34. package/src/common/incremental-search.d.ts +1 -1
  35. package/src/common/incremental-search.js +4 -2
  36. package/src/drop-down-base/drop-down-base-model.d.ts +191 -191
  37. package/src/drop-down-base/drop-down-base.d.ts +17 -17
  38. package/src/drop-down-base/drop-down-base.js +20 -20
  39. package/src/drop-down-list/drop-down-list-model.d.ts +222 -222
  40. package/src/drop-down-list/drop-down-list.d.ts +3 -2
  41. package/src/drop-down-list/drop-down-list.js +43 -30
  42. package/src/drop-down-tree/drop-down-tree-model.d.ts +344 -344
  43. package/src/drop-down-tree/drop-down-tree.js +32 -26
  44. package/src/list-box/index.d.ts +1 -0
  45. package/src/list-box/index.js +1 -0
  46. package/src/list-box/list-box-model.d.ts +156 -156
  47. package/src/list-box/list-box.d.ts +2 -2
  48. package/src/list-box/list-box.js +57 -59
  49. package/src/multi-select/index.d.ts +1 -0
  50. package/src/multi-select/index.js +1 -0
  51. package/src/multi-select/multi-select-model.d.ts +452 -452
  52. package/src/multi-select/multi-select.d.ts +2 -0
  53. package/src/multi-select/multi-select.js +98 -43
  54. package/styles/_all.scss +3 -3
  55. package/styles/auto-complete/_bootstrap-dark-definition.scss +3 -3
  56. package/styles/auto-complete/_bootstrap4-definition.scss +11 -11
  57. package/styles/auto-complete/_fabric-dark-definition.scss +2 -2
  58. package/styles/auto-complete/_highcontrast-light-definition.scss +2 -2
  59. package/styles/auto-complete/_material-dark-definition.scss +2 -2
  60. package/styles/bootstrap-dark.css +67 -61
  61. package/styles/bootstrap.css +69 -63
  62. package/styles/bootstrap4.css +81 -61
  63. package/styles/combo-box/_bootstrap-dark-definition.scss +2 -2
  64. package/styles/combo-box/_bootstrap4-definition.scss +11 -11
  65. package/styles/combo-box/_fabric-dark-definition.scss +2 -2
  66. package/styles/combo-box/_highcontrast-light-definition.scss +3 -3
  67. package/styles/combo-box/_material-dark-definition.scss +2 -2
  68. package/styles/drop-down-base/_all.scss +2 -2
  69. package/styles/drop-down-base/_bootstrap-dark-definition.scss +64 -64
  70. package/styles/drop-down-base/_bootstrap-definition.scss +64 -64
  71. package/styles/drop-down-base/_bootstrap4-definition.scss +78 -78
  72. package/styles/drop-down-base/_definition.scss +23 -23
  73. package/styles/drop-down-base/_fabric-dark-definition.scss +68 -68
  74. package/styles/drop-down-base/_fabric-definition.scss +66 -66
  75. package/styles/drop-down-base/_highcontrast-definition.scss +82 -82
  76. package/styles/drop-down-base/_highcontrast-light-definition.scss +81 -81
  77. package/styles/drop-down-base/_layout.scss +108 -108
  78. package/styles/drop-down-base/_material-dark-definition.scss +67 -67
  79. package/styles/drop-down-base/_material-definition.scss +65 -65
  80. package/styles/drop-down-base/_theme.scss +242 -242
  81. package/styles/drop-down-list/_all.scss +2 -2
  82. package/styles/drop-down-list/_bootstrap-dark-definition.scss +157 -157
  83. package/styles/drop-down-list/_bootstrap-definition.scss +156 -156
  84. package/styles/drop-down-list/_bootstrap4-definition.scss +184 -184
  85. package/styles/drop-down-list/_fabric-dark-definition.scss +127 -127
  86. package/styles/drop-down-list/_fabric-definition.scss +122 -122
  87. package/styles/drop-down-list/_highcontrast-definition.scss +131 -131
  88. package/styles/drop-down-list/_highcontrast-light-definition.scss +133 -133
  89. package/styles/drop-down-list/_layout.scss +218 -218
  90. package/styles/drop-down-list/_material-dark-definition.scss +143 -143
  91. package/styles/drop-down-list/_material-definition.scss +166 -166
  92. package/styles/drop-down-list/_theme.scss +10 -10
  93. package/styles/drop-down-list/icons/_bootstrap-dark.scss +14 -14
  94. package/styles/drop-down-list/icons/_bootstrap.scss +14 -14
  95. package/styles/drop-down-list/icons/_bootstrap4.scss +14 -14
  96. package/styles/drop-down-list/icons/_fabric-dark.scss +14 -14
  97. package/styles/drop-down-list/icons/_fabric.scss +14 -14
  98. package/styles/drop-down-list/icons/_highcontrast-light.scss +14 -14
  99. package/styles/drop-down-list/icons/_highcontrast.scss +14 -14
  100. package/styles/drop-down-list/icons/_material-dark.scss +14 -14
  101. package/styles/drop-down-list/icons/_material.scss +14 -14
  102. package/styles/drop-down-list/material.css +9 -0
  103. package/styles/drop-down-tree/_all.scss +2 -2
  104. package/styles/drop-down-tree/_bootstrap-dark-definition.scss +62 -49
  105. package/styles/drop-down-tree/_bootstrap-definition.scss +62 -49
  106. package/styles/drop-down-tree/_bootstrap4-definition.scss +63 -50
  107. package/styles/drop-down-tree/_fabric-dark-definition.scss +63 -49
  108. package/styles/drop-down-tree/_fabric-definition.scss +63 -49
  109. package/styles/drop-down-tree/_highcontrast-definition.scss +63 -49
  110. package/styles/drop-down-tree/_highcontrast-light-definition.scss +63 -49
  111. package/styles/drop-down-tree/_layout.scss +437 -398
  112. package/styles/drop-down-tree/_material-dark-definition.scss +61 -54
  113. package/styles/drop-down-tree/_material-definition.scss +61 -54
  114. package/styles/drop-down-tree/_theme.scss +68 -63
  115. package/styles/drop-down-tree/bootstrap-dark.css +67 -61
  116. package/styles/drop-down-tree/bootstrap.css +69 -63
  117. package/styles/drop-down-tree/bootstrap4.css +81 -61
  118. package/styles/drop-down-tree/fabric-dark.css +71 -63
  119. package/styles/drop-down-tree/fabric.css +71 -63
  120. package/styles/drop-down-tree/highcontrast-light.css +71 -63
  121. package/styles/drop-down-tree/highcontrast.css +75 -63
  122. package/styles/drop-down-tree/icons/_bootstrap-dark.scss +11 -11
  123. package/styles/drop-down-tree/icons/_bootstrap.scss +11 -11
  124. package/styles/drop-down-tree/icons/_bootstrap4.scss +11 -11
  125. package/styles/drop-down-tree/icons/_fabric-dark.scss +11 -11
  126. package/styles/drop-down-tree/icons/_fabric.scss +11 -11
  127. package/styles/drop-down-tree/icons/_highcontrast-light.scss +11 -11
  128. package/styles/drop-down-tree/icons/_highcontrast.scss +11 -11
  129. package/styles/drop-down-tree/icons/_material-dark.scss +11 -11
  130. package/styles/drop-down-tree/icons/_material.scss +11 -11
  131. package/styles/drop-down-tree/material-dark.css +76 -85
  132. package/styles/drop-down-tree/material.css +93 -85
  133. package/styles/fabric-dark.css +71 -63
  134. package/styles/fabric.css +71 -63
  135. package/styles/highcontrast-light.css +71 -63
  136. package/styles/highcontrast.css +75 -63
  137. package/styles/list-box/_all.scss +2 -2
  138. package/styles/list-box/_bootstrap-dark-definition.scss +118 -118
  139. package/styles/list-box/_bootstrap-definition.scss +112 -112
  140. package/styles/list-box/_bootstrap4-definition.scss +118 -118
  141. package/styles/list-box/_fabric-dark-definition.scss +118 -118
  142. package/styles/list-box/_fabric-definition.scss +112 -112
  143. package/styles/list-box/_highcontrast-definition.scss +112 -112
  144. package/styles/list-box/_highcontrast-light-definition.scss +118 -118
  145. package/styles/list-box/_layout.scss +458 -458
  146. package/styles/list-box/_material-dark-definition.scss +118 -118
  147. package/styles/list-box/_material-definition.scss +112 -112
  148. package/styles/list-box/_theme.scss +273 -273
  149. package/styles/list-box/icons/_bootstrap-dark.scss +25 -25
  150. package/styles/list-box/icons/_bootstrap.scss +25 -25
  151. package/styles/list-box/icons/_bootstrap4.scss +25 -25
  152. package/styles/list-box/icons/_fabric-dark.scss +25 -25
  153. package/styles/list-box/icons/_fabric.scss +25 -25
  154. package/styles/list-box/icons/_highcontrast-light.scss +25 -25
  155. package/styles/list-box/icons/_highcontrast.scss +25 -25
  156. package/styles/list-box/icons/_material-dark.scss +25 -25
  157. package/styles/list-box/icons/_material.scss +25 -25
  158. package/styles/list-box/material-dark.css +4 -4
  159. package/styles/list-box/material.css +4 -4
  160. package/styles/material-dark.css +80 -89
  161. package/styles/material.css +115 -89
  162. package/styles/multi-select/_all.scss +2 -2
  163. package/styles/multi-select/_bootstrap-dark-definition.scss +171 -171
  164. package/styles/multi-select/_bootstrap-definition.scss +166 -166
  165. package/styles/multi-select/_bootstrap4-definition.scss +233 -233
  166. package/styles/multi-select/_fabric-dark-definition.scss +170 -170
  167. package/styles/multi-select/_fabric-definition.scss +167 -167
  168. package/styles/multi-select/_highcontrast-definition.scss +257 -257
  169. package/styles/multi-select/_highcontrast-light-definition.scss +258 -258
  170. package/styles/multi-select/_layout.scss +1153 -1153
  171. package/styles/multi-select/_material-dark-definition.scss +186 -186
  172. package/styles/multi-select/_material-definition.scss +191 -191
  173. package/styles/multi-select/_theme.scss +384 -384
  174. package/styles/multi-select/icons/_bootstrap-dark.scss +26 -26
  175. package/styles/multi-select/icons/_bootstrap.scss +26 -26
  176. package/styles/multi-select/icons/_bootstrap4.scss +37 -37
  177. package/styles/multi-select/icons/_fabric-dark.scss +26 -26
  178. package/styles/multi-select/icons/_fabric.scss +26 -26
  179. package/styles/multi-select/icons/_highcontrast-light.scss +26 -26
  180. package/styles/multi-select/icons/_highcontrast.scss +26 -26
  181. package/styles/multi-select/icons/_material-dark.scss +26 -26
  182. package/styles/multi-select/icons/_material.scss +324 -324
  183. package/styles/multi-select/material.css +9 -0
@@ -1,4 +1,4 @@
1
- import { Component, EventHandler, addClass, append, Property, Event, KeyboardEvents, EmitType, L10n, compile } from '@syncfusion/ej2-base';import { setStyleAttribute, extend, removeClass, prepend, isNullOrUndefined, detach, getValue, AnimationModel } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, rippleEffect, RippleOptions, ChildProperty, Complex } from '@syncfusion/ej2-base';import { DataManager, Query, DataOptions, DataUtil } from '@syncfusion/ej2-data';import { ListBase, SortOrder } from '@syncfusion/ej2-lists';import { Popup } from '@syncfusion/ej2-popups';import { updateBlazorTemplate, resetBlazorTemplate, isBlazor, remove } from '@syncfusion/ej2-base';
1
+ import { Component, EventHandler, addClass, append, Property, Event, KeyboardEvents, EmitType, L10n, compile } from '@syncfusion/ej2-base';
2
2
  import {FilterType,SelectEventArgs} from "./drop-down-base";
3
3
  import {ComponentModel} from '@syncfusion/ej2-base';
4
4
 
@@ -8,35 +8,35 @@ import {ComponentModel} from '@syncfusion/ej2-base';
8
8
  export interface FieldSettingsModel {
9
9
 
10
10
  /**
11
- * Maps the text column from data table for each list item
12
- * @default null
13
- */
14
- text?: string;
11
+ * Maps the text column from data table for each list item
12
+ * @default null
13
+ */
14
+ text?: string;
15
15
 
16
16
  /**
17
- * Maps the value column from data table for each list item
18
- * @default null
19
- */
20
- value?: string;
17
+ * Maps the value column from data table for each list item
18
+ * @default null
19
+ */
20
+ value?: string;
21
21
 
22
22
  /**
23
- * Maps the icon class column from data table for each list item.
24
- * @default null
25
- */
26
- iconCss?: string;
23
+ * Maps the icon class column from data table for each list item.
24
+ * @default null
25
+ */
26
+ iconCss?: string;
27
27
 
28
28
  /**
29
- * Group the list items with it's related items by mapping groupBy field.
30
- * @default null
31
- */
32
- groupBy?: string;
29
+ * Group the list items with it's related items by mapping groupBy field.
30
+ * @default null
31
+ */
32
+ groupBy?: string;
33
33
 
34
34
  /**
35
- * Allows additional attributes such as title, disabled, etc., to configure the elements
36
- * in various ways to meet the criteria.
37
- * @default null
38
- */
39
- htmlAttributes?: string;
35
+ * Allows additional attributes such as title, disabled, etc., to configure the elements
36
+ * in various ways to meet the criteria.
37
+ * @default null
38
+ */
39
+ htmlAttributes?: string;
40
40
 
41
41
  }
42
42
 
@@ -46,216 +46,216 @@ export interface FieldSettingsModel {
46
46
  export interface DropDownBaseModel extends ComponentModel{
47
47
 
48
48
  /**
49
- * The `fields` property maps the columns of the data table and binds the data to the component.
50
- * * text - Maps the text column from data table for each list item.
51
- * * value - Maps the value column from data table for each list item.
52
- * * iconCss - Maps the icon class column from data table for each list item.
53
- * * groupBy - Group the list items with it's related items by mapping groupBy field.
54
- * ```html
55
- * <input type="text" tabindex="1" id="list"> </input>
56
- * ```
57
- * ```typescript
58
- * let customers: DropDownList = new DropDownList({
59
- * dataSource:new DataManager({ url:'http://js.syncfusion.com/demos/ejServices/Wcf/Northwind.svc/' }),
60
- * query: new Query().from('Customers').select(['ContactName', 'CustomerID']).take(5),
61
- * fields: { text: 'ContactName', value: 'CustomerID' },
62
- * placeholder: 'Select a customer'
63
- * });
64
- * customers.appendTo("#list");
65
- * ```
66
- * @default {text: null, value: null, iconCss: null, groupBy: null}
67
-
68
- */
69
- fields?: FieldSettingsModel;
49
+ * The `fields` property maps the columns of the data table and binds the data to the component.
50
+ * * text - Maps the text column from data table for each list item.
51
+ * * value - Maps the value column from data table for each list item.
52
+ * * iconCss - Maps the icon class column from data table for each list item.
53
+ * * groupBy - Group the list items with it's related items by mapping groupBy field.
54
+ * ```html
55
+ * <input type="text" tabindex="1" id="list"> </input>
56
+ * ```
57
+ * ```typescript
58
+ * let customers: DropDownList = new DropDownList({
59
+ * dataSource:new DataManager({ url:'http://js.syncfusion.com/demos/ejServices/Wcf/Northwind.svc/' }),
60
+ * query: new Query().from('Customers').select(['ContactName', 'CustomerID']).take(5),
61
+ * fields: { text: 'ContactName', value: 'CustomerID' },
62
+ * placeholder: 'Select a customer'
63
+ * });
64
+ * customers.appendTo("#list");
65
+ * ```
66
+ * @default {text: null, value: null, iconCss: null, groupBy: null}
67
+ * @deprecated
68
+ */
69
+ fields?: FieldSettingsModel;
70
70
 
71
71
  /**
72
- * Enable or disable persisting component's state between page reloads.
73
- * If enabled, following list of states will be persisted.
74
- * 1. value
75
- * @default false
76
-
77
- */
78
- enablePersistence?: boolean;
72
+ * Enable or disable persisting component's state between page reloads.
73
+ * If enabled, following list of states will be persisted.
74
+ * 1. value
75
+ * @default false
76
+ * @deprecated
77
+ */
78
+ enablePersistence?: boolean;
79
79
 
80
80
  /**
81
- * Accepts the template design and assigns it to each list item present in the popup.
82
- * We have built-in `template engine`
83
- *
84
- * which provides options to compile template string into a executable function.
85
- * For EX: We have expression evolution as like ES6 expression string literals.
86
- * @default null
87
-
88
- */
89
- itemTemplate?: string;
81
+ * Accepts the template design and assigns it to each list item present in the popup.
82
+ * We have built-in `template engine`
83
+ *
84
+ * which provides options to compile template string into a executable function.
85
+ * For EX: We have expression evolution as like ES6 expression string literals.
86
+ * @default null
87
+ * @deprecated
88
+ */
89
+ itemTemplate?: string;
90
90
 
91
91
  /**
92
- * Accepts the template design and assigns it to the group headers present in the popup list.
93
- * @default null
94
-
95
- */
96
- groupTemplate?: string;
92
+ * Accepts the template design and assigns it to the group headers present in the popup list.
93
+ * @default null
94
+ * @deprecated
95
+ */
96
+ groupTemplate?: string;
97
97
 
98
98
  /**
99
- * Accepts the template design and assigns it to popup list of component
100
- * when no data is available on the component.
101
- * @default 'No records found'
102
-
103
- */
104
- noRecordsTemplate?: string;
99
+ * Accepts the template design and assigns it to popup list of component
100
+ * when no data is available on the component.
101
+ * @default 'No records found'
102
+ * @deprecated
103
+ */
104
+ noRecordsTemplate?: string;
105
105
 
106
106
  /**
107
- * Accepts the template and assigns it to the popup list content of the component
108
- * when the data fetch request from the remote server fails.
109
- * @default 'Request failed'
110
-
111
- */
112
- actionFailureTemplate?: string;
107
+ * Accepts the template and assigns it to the popup list content of the component
108
+ * when the data fetch request from the remote server fails.
109
+ * @default 'Request failed'
110
+ * @deprecated
111
+ */
112
+ actionFailureTemplate?: string;
113
113
 
114
114
  /**
115
- * Specifies the `sortOrder` to sort the data source. The available type of sort orders are
116
- * * `None` - The data source is not sorting.
117
- * * `Ascending` - The data source is sorting with ascending order.
118
- * * `Descending` - The data source is sorting with descending order.
119
- * @default None
120
-
121
- */
122
- sortOrder?: SortOrder;
115
+ * Specifies the `sortOrder` to sort the data source. The available type of sort orders are
116
+ * * `None` - The data source is not sorting.
117
+ * * `Ascending` - The data source is sorting with ascending order.
118
+ * * `Descending` - The data source is sorting with descending order.
119
+ * @default None
120
+ * @deprecated
121
+ */
122
+ sortOrder?: SortOrder;
123
123
 
124
124
  /**
125
- * Specifies a value that indicates whether the component is enabled or not.
126
- * @default true
127
-
128
- */
129
- enabled?: boolean;
125
+ * Specifies a value that indicates whether the component is enabled or not.
126
+ * @default true
127
+ * @deprecated
128
+ */
129
+ enabled?: boolean;
130
130
 
131
131
  /**
132
- * Accepts the list items either through local or remote service and binds it to the component.
133
- * It can be an array of JSON Objects or an instance of
134
- * `DataManager`.
135
- * @default []
136
-
137
- */
138
- dataSource?: { [key: string]: Object }[] | DataManager | string[] | number[] | boolean[];
132
+ * Accepts the list items either through local or remote service and binds it to the component.
133
+ * It can be an array of JSON Objects or an instance of
134
+ * `DataManager`.
135
+ * @default []
136
+ * @deprecated
137
+ */
138
+ dataSource?: { [key: string]: Object }[] | DataManager | string[] | number[] | boolean[];
139
139
 
140
140
  /**
141
- * Accepts the external `Query`
142
- * which will execute along with the data processing.
143
- * @default null
144
-
145
- */
146
- query?: Query;
141
+ * Accepts the external `Query`
142
+ * which will execute along with the data processing.
143
+ * @default null
144
+ * @deprecated
145
+ */
146
+ query?: Query;
147
147
 
148
148
  /**
149
- * Determines on which filter type, the component needs to be considered on search action.
150
- * The `FilterType` and its supported data types are
151
- *
152
- * <table>
153
- * <tr>
154
- * <td colSpan=1 rowSpan=1>
155
- * FilterType<br/></td><td colSpan=1 rowSpan=1>
156
- * Description<br/></td><td colSpan=1 rowSpan=1>
157
- * Supported Types<br/></td></tr>
158
- * <tr>
159
- * <td colSpan=1 rowSpan=1>
160
- * StartsWith<br/></td><td colSpan=1 rowSpan=1>
161
- * Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
162
- * String<br/></td></tr>
163
- * <tr>
164
- * <td colSpan=1 rowSpan=1>
165
- * EndsWith<br/></td><td colSpan=1 rowSpan=1>
166
- * Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
167
- * <br/>String<br/></td></tr>
168
- * <tr>
169
- * <td colSpan=1 rowSpan=1>
170
- * Contains<br/></td><td colSpan=1 rowSpan=1>
171
- * Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
172
- * <br/>String<br/></td></tr>
173
- * </table>
174
- *
175
- * The default value set to `StartsWith`, all the suggestion items which contain typed characters to listed in the suggestion popup.
176
- * @default 'StartsWith'
177
-
178
- */
179
- filterType?: FilterType;
149
+ * Determines on which filter type, the component needs to be considered on search action.
150
+ * The `FilterType` and its supported data types are
151
+ *
152
+ * <table>
153
+ * <tr>
154
+ * <td colSpan=1 rowSpan=1>
155
+ * FilterType<br/></td><td colSpan=1 rowSpan=1>
156
+ * Description<br/></td><td colSpan=1 rowSpan=1>
157
+ * Supported Types<br/></td></tr>
158
+ * <tr>
159
+ * <td colSpan=1 rowSpan=1>
160
+ * StartsWith<br/></td><td colSpan=1 rowSpan=1>
161
+ * Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
162
+ * String<br/></td></tr>
163
+ * <tr>
164
+ * <td colSpan=1 rowSpan=1>
165
+ * EndsWith<br/></td><td colSpan=1 rowSpan=1>
166
+ * Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
167
+ * <br/>String<br/></td></tr>
168
+ * <tr>
169
+ * <td colSpan=1 rowSpan=1>
170
+ * Contains<br/></td><td colSpan=1 rowSpan=1>
171
+ * Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
172
+ * <br/>String<br/></td></tr>
173
+ * </table>
174
+ *
175
+ * The default value set to `StartsWith`, all the suggestion items which contain typed characters to listed in the suggestion popup.
176
+ * @default 'StartsWith'
177
+ * @deprecated
178
+ */
179
+ filterType?: FilterType;
180
180
 
181
181
  /**
182
- * When set to ‘false’, consider the `case-sensitive` on performing the search to find suggestions.
183
- * By default consider the casing.
184
- * @default true
185
-
186
- */
187
- ignoreCase?: boolean;
182
+ * When set to ‘false’, consider the `case-sensitive` on performing the search to find suggestions.
183
+ * By default consider the casing.
184
+ * @default true
185
+ * @deprecated
186
+ */
187
+ ignoreCase?: boolean;
188
188
 
189
189
  /**
190
- * specifies the z-index value of the component popup element.
191
- * @default 1000
192
-
193
- */
194
- zIndex?: number;
190
+ * specifies the z-index value of the component popup element.
191
+ * @default 1000
192
+ * @deprecated
193
+ */
194
+ zIndex?: number;
195
195
 
196
196
  /**
197
- * ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
198
-
199
- */
200
- ignoreAccent?: boolean;
197
+ * ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
198
+ * @deprecated
199
+ */
200
+ ignoreAccent?: boolean;
201
201
 
202
202
  /**
203
- * Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
204
- * @default 'en-US'
205
-
206
- */
207
- locale?: string;
203
+ * Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
204
+ * @default 'en-US'
205
+ * @deprecated
206
+ */
207
+ locale?: string;
208
208
 
209
209
  /**
210
- * Triggers before fetching data from the remote server.
211
- * @event
212
- * @blazorProperty 'OnActionBegin'
213
- * @blazorType ActionBeginEventArgs
214
- */
215
- actionBegin?: EmitType<Object>;
210
+ * Triggers before fetching data from the remote server.
211
+ * @event
212
+ * @blazorProperty 'OnActionBegin'
213
+ * @blazorType ActionBeginEventArgs
214
+ */
215
+ actionBegin?: EmitType<Object>;
216
216
 
217
217
  /**
218
- * Triggers after data is fetched successfully from the remote server.
219
- * @event
220
- * @blazorProperty 'OnActionComplete'
221
- * @blazorType ActionCompleteEventArgs
222
- */
223
- actionComplete?: EmitType<Object>;
218
+ * Triggers after data is fetched successfully from the remote server.
219
+ * @event
220
+ * @blazorProperty 'OnActionComplete'
221
+ * @blazorType ActionCompleteEventArgs
222
+ */
223
+ actionComplete?: EmitType<Object>;
224
224
 
225
225
  /**
226
- * Triggers when the data fetch request from the remote server fails.
227
- * @event
228
- * @blazorProperty 'OnActionFailure'
229
- */
230
- actionFailure?: EmitType<Object>;
226
+ * Triggers when the data fetch request from the remote server fails.
227
+ * @event
228
+ * @blazorProperty 'OnActionFailure'
229
+ */
230
+ actionFailure?: EmitType<Object>;
231
231
 
232
232
  /**
233
- * Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.
234
- * @event
235
- * @blazorProperty 'OnValueSelect'
236
- */
237
- select?: EmitType<SelectEventArgs>;
233
+ * Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.
234
+ * @event
235
+ * @blazorProperty 'OnValueSelect'
236
+ */
237
+ select?: EmitType<SelectEventArgs>;
238
238
 
239
239
  /**
240
- * Triggers when data source is populated in the popup list..
241
- * @event
242
- * @blazorProperty 'DataBound'
243
- * @blazorType DataBoundEventArgs
244
- */
245
- dataBound?: EmitType<Object>;
240
+ * Triggers when data source is populated in the popup list..
241
+ * @event
242
+ * @blazorProperty 'DataBound'
243
+ * @blazorType DataBoundEventArgs
244
+ */
245
+ dataBound?: EmitType<Object>;
246
246
 
247
247
  /**
248
- * Triggers when the component is created.
249
- * @event
250
- * @blazorProperty 'Created'
251
- */
252
- created?: EmitType<Object>;
248
+ * Triggers when the component is created.
249
+ * @event
250
+ * @blazorProperty 'Created'
251
+ */
252
+ created?: EmitType<Object>;
253
253
 
254
254
  /**
255
-      * Triggers when the component is destroyed.
256
-      * @event
257
- * @blazorProperty 'Destroyed'
258
-      */
259
- destroyed?: EmitType<Object>;
255
+      * Triggers when the component is destroyed.
256
+      * @event
257
+ * @blazorProperty 'Destroyed'
258
+      */
259
+ destroyed?: EmitType<Object>;
260
260
 
261
261
  }
@@ -223,7 +223,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
223
223
  * customers.appendTo("#list");
224
224
  * ```
225
225
  * @default {text: null, value: null, iconCss: null, groupBy: null}
226
-
226
+ * @deprecated
227
227
  */
228
228
  fields: FieldSettingsModel;
229
229
  /**
@@ -231,7 +231,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
231
231
  * If enabled, following list of states will be persisted.
232
232
  * 1. value
233
233
  * @default false
234
-
234
+ * @deprecated
235
235
  */
236
236
  enablePersistence: boolean;
237
237
  /**
@@ -241,27 +241,27 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
241
241
  * which provides options to compile template string into a executable function.
242
242
  * For EX: We have expression evolution as like ES6 expression string literals.
243
243
  * @default null
244
-
244
+ * @deprecated
245
245
  */
246
246
  itemTemplate: string;
247
247
  /**
248
248
  * Accepts the template design and assigns it to the group headers present in the popup list.
249
249
  * @default null
250
-
250
+ * @deprecated
251
251
  */
252
252
  groupTemplate: string;
253
253
  /**
254
254
  * Accepts the template design and assigns it to popup list of component
255
255
  * when no data is available on the component.
256
256
  * @default 'No records found'
257
-
257
+ * @deprecated
258
258
  */
259
259
  noRecordsTemplate: string;
260
260
  /**
261
261
  * Accepts the template and assigns it to the popup list content of the component
262
262
  * when the data fetch request from the remote server fails.
263
263
  * @default 'Request failed'
264
-
264
+ * @deprecated
265
265
  */
266
266
  actionFailureTemplate: string;
267
267
  /**
@@ -270,13 +270,13 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
270
270
  * * `Ascending` - The data source is sorting with ascending order.
271
271
  * * `Descending` - The data source is sorting with descending order.
272
272
  * @default None
273
-
273
+ * @deprecated
274
274
  */
275
275
  sortOrder: SortOrder;
276
276
  /**
277
277
  * Specifies a value that indicates whether the component is enabled or not.
278
278
  * @default true
279
-
279
+ * @deprecated
280
280
  */
281
281
  enabled: boolean;
282
282
  /**
@@ -284,7 +284,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
284
284
  * It can be an array of JSON Objects or an instance of
285
285
  * `DataManager`.
286
286
  * @default []
287
-
287
+ * @deprecated
288
288
  */
289
289
  dataSource: {
290
290
  [key: string]: Object;
@@ -293,7 +293,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
293
293
  * Accepts the external `Query`
294
294
  * which will execute along with the data processing.
295
295
  * @default null
296
-
296
+ * @deprecated
297
297
  */
298
298
  query: Query;
299
299
  /**
@@ -325,31 +325,31 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
325
325
  *
326
326
  * The default value set to `StartsWith`, all the suggestion items which contain typed characters to listed in the suggestion popup.
327
327
  * @default 'StartsWith'
328
-
328
+ * @deprecated
329
329
  */
330
330
  filterType: FilterType;
331
331
  /**
332
332
  * When set to ‘false’, consider the `case-sensitive` on performing the search to find suggestions.
333
333
  * By default consider the casing.
334
334
  * @default true
335
-
335
+ * @deprecated
336
336
  */
337
337
  ignoreCase: boolean;
338
338
  /**
339
339
  * specifies the z-index value of the component popup element.
340
340
  * @default 1000
341
-
341
+ * @deprecated
342
342
  */
343
343
  zIndex: number;
344
344
  /**
345
345
  * ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
346
-
346
+ * @deprecated
347
347
  */
348
348
  ignoreAccent: boolean;
349
349
  /**
350
350
  * Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
351
351
  * @default 'en-US'
352
-
352
+ * @deprecated
353
353
  */
354
354
  locale: string;
355
355
  /**
@@ -553,7 +553,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
553
553
  * @param { Object[] } items - Specifies an array of JSON data or a JSON data.
554
554
  * @param { number } itemIndex - Specifies the index to place the newly added item in the popup list.
555
555
  * @return {void}.
556
-
556
+ * @deprecated
557
557
  */
558
558
  addItem(items: {
559
559
  [key: string]: Object;
@@ -622,7 +622,7 @@ export interface FilteringEventArgs {
622
622
  export interface PopupEventArgs {
623
623
  /**
624
624
  * Specifies the popup Object.
625
-
625
+ * @deprecated
626
626
  */
627
627
  popup: Popup;
628
628
  /**
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- }
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Component, EventHandler, addClass, append, Property, Event, L10n, compile } from '@syncfusion/ej2-base';
21
21
  import { setStyleAttribute, extend, removeClass, prepend, isNullOrUndefined, detach, getValue } from '@syncfusion/ej2-base';
22
22
  import { NotifyPropertyChanges, rippleEffect, ChildProperty, Complex } from '@syncfusion/ej2-base';
@@ -961,7 +961,7 @@ var DropDownBase = /** @class */ (function (_super) {
961
961
  * @param { Object[] } items - Specifies an array of JSON data or a JSON data.
962
962
  * @param { number } itemIndex - Specifies the index to place the newly added item in the popup list.
963
963
  * @return {void}.
964
-
964
+ * @deprecated
965
965
  */
966
966
  DropDownBase.prototype.addItem = function (items, itemIndex) {
967
967
  if (!this.list || (this.list.textContent === this.noRecordsTemplate && this.getModuleName() !== 'listbox')) {