@syncfusion/ej2-dropdowns 18.2.44-4568 → 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 (169) hide show
  1. package/.eslintrc.json +244 -0
  2. package/CHANGELOG.md +1524 -1524
  3. package/README.md +118 -118
  4. package/dist/ej2-dropdowns.umd.min.js +1 -1
  5. package/dist/ej2-dropdowns.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-dropdowns.es2015.js +99 -60
  7. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  8. package/dist/es6/ej2-dropdowns.es5.js +191 -151
  9. package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
  10. package/dist/global/ej2-dropdowns.min.js +1 -1
  11. package/dist/global/ej2-dropdowns.min.js.map +1 -1
  12. package/dist/ts/auto-complete/auto-complete.ts +527 -0
  13. package/dist/ts/combo-box/combo-box.ts +957 -0
  14. package/dist/ts/common/highlight-search.ts +47 -0
  15. package/dist/ts/common/incremental-search.ts +81 -0
  16. package/dist/ts/drop-down-base/drop-down-base.ts +1572 -0
  17. package/dist/ts/drop-down-list/drop-down-list.ts +2993 -0
  18. package/dist/ts/drop-down-tree/drop-down-tree.ts +3066 -0
  19. package/dist/ts/list-box/list-box.ts +2317 -0
  20. package/dist/ts/multi-select/checkbox-selection.ts +528 -0
  21. package/dist/ts/multi-select/float-label.ts +155 -0
  22. package/dist/ts/multi-select/interface.ts +66 -0
  23. package/dist/ts/multi-select/multi-select.ts +4216 -0
  24. package/helpers/e2e/index.js +3 -3
  25. package/license +2 -2
  26. package/package.json +77 -78
  27. package/src/auto-complete/auto-complete-model.d.ts +179 -179
  28. package/src/auto-complete/auto-complete.js +19 -19
  29. package/src/combo-box/combo-box-model.d.ts +212 -212
  30. package/src/combo-box/combo-box.js +19 -19
  31. package/src/drop-down-base/drop-down-base-model.d.ts +191 -191
  32. package/src/drop-down-base/drop-down-base.js +19 -19
  33. package/src/drop-down-list/drop-down-list-model.d.ts +222 -222
  34. package/src/drop-down-list/drop-down-list.js +19 -19
  35. package/src/drop-down-tree/drop-down-tree-model.d.ts +344 -344
  36. package/src/drop-down-tree/drop-down-tree.js +19 -19
  37. package/src/list-box/list-box-model.d.ts +156 -156
  38. package/src/list-box/list-box.js +19 -19
  39. package/src/multi-select/multi-select-model.d.ts +452 -452
  40. package/src/multi-select/multi-select.d.ts +2 -0
  41. package/src/multi-select/multi-select.js +73 -36
  42. package/styles/_all.scss +3 -3
  43. package/styles/auto-complete/_bootstrap-dark-definition.scss +3 -3
  44. package/styles/auto-complete/_bootstrap4-definition.scss +11 -11
  45. package/styles/auto-complete/_fabric-dark-definition.scss +2 -2
  46. package/styles/auto-complete/_highcontrast-light-definition.scss +2 -2
  47. package/styles/auto-complete/_material-dark-definition.scss +2 -2
  48. package/styles/bootstrap-dark.css +13 -16
  49. package/styles/bootstrap.css +12 -15
  50. package/styles/bootstrap4.css +6 -10
  51. package/styles/combo-box/_bootstrap-dark-definition.scss +2 -2
  52. package/styles/combo-box/_bootstrap4-definition.scss +11 -11
  53. package/styles/combo-box/_fabric-dark-definition.scss +2 -2
  54. package/styles/combo-box/_highcontrast-light-definition.scss +3 -3
  55. package/styles/combo-box/_material-dark-definition.scss +2 -2
  56. package/styles/drop-down-base/_all.scss +2 -2
  57. package/styles/drop-down-base/_bootstrap-dark-definition.scss +64 -64
  58. package/styles/drop-down-base/_bootstrap-definition.scss +64 -64
  59. package/styles/drop-down-base/_bootstrap4-definition.scss +78 -78
  60. package/styles/drop-down-base/_definition.scss +23 -23
  61. package/styles/drop-down-base/_fabric-dark-definition.scss +68 -68
  62. package/styles/drop-down-base/_fabric-definition.scss +66 -66
  63. package/styles/drop-down-base/_highcontrast-definition.scss +82 -82
  64. package/styles/drop-down-base/_highcontrast-light-definition.scss +81 -81
  65. package/styles/drop-down-base/_layout.scss +108 -108
  66. package/styles/drop-down-base/_material-dark-definition.scss +67 -67
  67. package/styles/drop-down-base/_material-definition.scss +65 -65
  68. package/styles/drop-down-base/_theme.scss +242 -242
  69. package/styles/drop-down-list/_all.scss +2 -2
  70. package/styles/drop-down-list/_bootstrap-dark-definition.scss +157 -157
  71. package/styles/drop-down-list/_bootstrap-definition.scss +156 -156
  72. package/styles/drop-down-list/_bootstrap4-definition.scss +184 -184
  73. package/styles/drop-down-list/_fabric-dark-definition.scss +127 -127
  74. package/styles/drop-down-list/_fabric-definition.scss +122 -122
  75. package/styles/drop-down-list/_highcontrast-definition.scss +131 -131
  76. package/styles/drop-down-list/_highcontrast-light-definition.scss +133 -133
  77. package/styles/drop-down-list/_layout.scss +218 -218
  78. package/styles/drop-down-list/_material-dark-definition.scss +143 -143
  79. package/styles/drop-down-list/_material-definition.scss +166 -166
  80. package/styles/drop-down-list/_theme.scss +10 -10
  81. package/styles/drop-down-list/icons/_bootstrap-dark.scss +14 -14
  82. package/styles/drop-down-list/icons/_bootstrap.scss +14 -14
  83. package/styles/drop-down-list/icons/_bootstrap4.scss +14 -14
  84. package/styles/drop-down-list/icons/_fabric-dark.scss +14 -14
  85. package/styles/drop-down-list/icons/_fabric.scss +14 -14
  86. package/styles/drop-down-list/icons/_highcontrast-light.scss +14 -14
  87. package/styles/drop-down-list/icons/_highcontrast.scss +14 -14
  88. package/styles/drop-down-list/icons/_material-dark.scss +14 -14
  89. package/styles/drop-down-list/icons/_material.scss +14 -14
  90. package/styles/drop-down-list/material.css +9 -0
  91. package/styles/drop-down-tree/_all.scss +2 -2
  92. package/styles/drop-down-tree/_bootstrap-dark-definition.scss +61 -61
  93. package/styles/drop-down-tree/_bootstrap-definition.scss +61 -61
  94. package/styles/drop-down-tree/_bootstrap4-definition.scss +62 -62
  95. package/styles/drop-down-tree/_fabric-dark-definition.scss +62 -62
  96. package/styles/drop-down-tree/_fabric-definition.scss +62 -62
  97. package/styles/drop-down-tree/_highcontrast-definition.scss +62 -62
  98. package/styles/drop-down-tree/_highcontrast-light-definition.scss +62 -62
  99. package/styles/drop-down-tree/_layout.scss +437 -437
  100. package/styles/drop-down-tree/_material-dark-definition.scss +60 -60
  101. package/styles/drop-down-tree/_material-definition.scss +60 -60
  102. package/styles/drop-down-tree/_theme.scss +68 -68
  103. package/styles/drop-down-tree/icons/_bootstrap-dark.scss +11 -11
  104. package/styles/drop-down-tree/icons/_bootstrap.scss +11 -11
  105. package/styles/drop-down-tree/icons/_bootstrap4.scss +11 -11
  106. package/styles/drop-down-tree/icons/_fabric-dark.scss +11 -11
  107. package/styles/drop-down-tree/icons/_fabric.scss +11 -11
  108. package/styles/drop-down-tree/icons/_highcontrast-light.scss +11 -11
  109. package/styles/drop-down-tree/icons/_highcontrast.scss +11 -11
  110. package/styles/drop-down-tree/icons/_material-dark.scss +11 -11
  111. package/styles/drop-down-tree/icons/_material.scss +11 -11
  112. package/styles/drop-down-tree/material.css +9 -0
  113. package/styles/fabric-dark.css +2 -5
  114. package/styles/fabric.css +1 -4
  115. package/styles/highcontrast-light.css +2 -5
  116. package/styles/highcontrast.css +2 -7
  117. package/styles/list-box/_all.scss +2 -2
  118. package/styles/list-box/_bootstrap-dark-definition.scss +118 -118
  119. package/styles/list-box/_bootstrap-definition.scss +112 -112
  120. package/styles/list-box/_bootstrap4-definition.scss +118 -118
  121. package/styles/list-box/_fabric-dark-definition.scss +118 -118
  122. package/styles/list-box/_fabric-definition.scss +112 -112
  123. package/styles/list-box/_highcontrast-definition.scss +112 -112
  124. package/styles/list-box/_highcontrast-light-definition.scss +118 -118
  125. package/styles/list-box/_layout.scss +458 -458
  126. package/styles/list-box/_material-dark-definition.scss +118 -118
  127. package/styles/list-box/_material-definition.scss +112 -112
  128. package/styles/list-box/_theme.scss +273 -273
  129. package/styles/list-box/icons/_bootstrap-dark.scss +25 -25
  130. package/styles/list-box/icons/_bootstrap.scss +25 -25
  131. package/styles/list-box/icons/_bootstrap4.scss +25 -25
  132. package/styles/list-box/icons/_fabric-dark.scss +25 -25
  133. package/styles/list-box/icons/_fabric.scss +25 -25
  134. package/styles/list-box/icons/_highcontrast-light.scss +25 -25
  135. package/styles/list-box/icons/_highcontrast.scss +25 -25
  136. package/styles/list-box/icons/_material-dark.scss +25 -25
  137. package/styles/list-box/icons/_material.scss +25 -25
  138. package/styles/material-dark.css +8 -11
  139. package/styles/material.css +34 -10
  140. package/styles/multi-select/_all.scss +2 -2
  141. package/styles/multi-select/_bootstrap-dark-definition.scss +171 -171
  142. package/styles/multi-select/_bootstrap-definition.scss +166 -166
  143. package/styles/multi-select/_bootstrap4-definition.scss +233 -233
  144. package/styles/multi-select/_fabric-dark-definition.scss +170 -170
  145. package/styles/multi-select/_fabric-definition.scss +167 -167
  146. package/styles/multi-select/_highcontrast-definition.scss +257 -259
  147. package/styles/multi-select/_highcontrast-light-definition.scss +258 -258
  148. package/styles/multi-select/_layout.scss +1153 -1153
  149. package/styles/multi-select/_material-dark-definition.scss +186 -186
  150. package/styles/multi-select/_material-definition.scss +191 -191
  151. package/styles/multi-select/_theme.scss +384 -389
  152. package/styles/multi-select/bootstrap-dark.css +13 -16
  153. package/styles/multi-select/bootstrap.css +12 -15
  154. package/styles/multi-select/bootstrap4.css +6 -10
  155. package/styles/multi-select/fabric-dark.css +2 -5
  156. package/styles/multi-select/fabric.css +1 -4
  157. package/styles/multi-select/highcontrast-light.css +2 -5
  158. package/styles/multi-select/highcontrast.css +2 -7
  159. package/styles/multi-select/icons/_bootstrap-dark.scss +26 -26
  160. package/styles/multi-select/icons/_bootstrap.scss +26 -26
  161. package/styles/multi-select/icons/_bootstrap4.scss +37 -37
  162. package/styles/multi-select/icons/_fabric-dark.scss +26 -26
  163. package/styles/multi-select/icons/_fabric.scss +26 -26
  164. package/styles/multi-select/icons/_highcontrast-light.scss +26 -26
  165. package/styles/multi-select/icons/_highcontrast.scss +26 -26
  166. package/styles/multi-select/icons/_material-dark.scss +26 -26
  167. package/styles/multi-select/icons/_material.scss +324 -324
  168. package/styles/multi-select/material-dark.css +8 -11
  169. package/styles/multi-select/material.css +16 -10
@@ -1,4 +1,4 @@
1
- import { EventHandler, Property, Event, compile, EmitType, KeyboardEvents, append } from '@syncfusion/ej2-base';import { attributes, isNullOrUndefined, getUniqueID, formatUnit, isUndefined, getValue } from '@syncfusion/ej2-base';import { Animation, AnimationModel, Browser, KeyboardEventArgs, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { addClass, removeClass, closest, prepend, detach, classList, isBlazor } from '@syncfusion/ej2-base';import { Popup, isCollide, createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';import { IInput, Input, InputObject, FloatLabelType } from '@syncfusion/ej2-inputs';import { incrementalSearch } from '../common/incremental-search';import { DropDownBase, dropDownBaseClasses, SelectEventArgs, FilteringEventArgs, PopupEventArgs } from '../drop-down-base/drop-down-base';import { FocusEventArgs, ResultData, BeforeOpenEventArgs } from '../drop-down-base/drop-down-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { DataManager, Query, Predicate } from '@syncfusion/ej2-data';import { SortOrder } from '@syncfusion/ej2-lists';
1
+ import { EventHandler, Property, Event, compile, EmitType, KeyboardEvents, append } from '@syncfusion/ej2-base';
2
2
  import {ChangeEventArgs} from "./drop-down-list";
3
3
  import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";
4
4
 
@@ -8,226 +8,226 @@ import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";
8
8
  export interface DropDownListModel extends DropDownBaseModel{
9
9
 
10
10
  /**
11
- * Sets CSS classes to the root element of the component that allows customization of appearance.
12
- * @default null
13
- */
14
- cssClass?: string;
15
-
16
- /**
17
- * Specifies the width of the component. By default, the component width sets based on the width of
18
- * its parent container. You can also set the width in pixel values.
19
- * @default '100%'
20
- * @aspType string
21
- * @blazorType string
22
- */
23
- width?: string | number;
24
-
25
- /**
26
- * Specifies the height of the popup list.
27
- * > For more details about the popup configuration refer to
28
- * [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
29
- * @default '300px'
30
- * @aspType string
31
- * @blazorType string
32
- */
33
- popupHeight?: string | number;
34
-
35
- /**
36
- * Specifies the width of the popup list. By default, the popup width sets based on the width of
37
- * the component.
38
- * > For more details about the popup configuration refer to
39
- * [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
40
- * @default '100%'
41
- * @aspType string
42
- * @blazorType string
43
- */
44
- popupWidth?: string | number;
45
-
46
- /**
47
- * Specifies a short hint that describes the expected value of the DropDownList component.
48
- * @default null
49
- */
50
- placeholder?: string;
51
-
52
- /**
53
- * Accepts the value to be displayed as a watermark text on the filter bar.
54
- * @default null
55
- */
56
- filterBarPlaceholder?: string;
57
-
58
- /**
59
- * Allows additional HTML attributes such as title, name, etc., and
60
- * accepts n number of attributes in a key-value pair format.
61
- *
62
- * {% codeBlock src='dropdownlist/htmlAttributes/index.md' %}{% endcodeBlock %}
63
- *
64
- * @default {}
65
- */
66
- htmlAttributes?: { [key: string]: string; };
67
-
68
- /**
69
- * Accepts the external `Query`
70
- * that execute along with data processing.
71
- *
72
- * {% codeBlock src='dropdownlist/query/index.md' %}{% endcodeBlock %}
73
- *
74
- * @default null
75
- * @deprecated
76
- */
77
- query?: Query;
78
-
79
- /**
80
- * Accepts the template design and assigns it to the selected list item in the input element of the component.
81
- * For more details about the available template options refer to
82
- * [`Template`](../../drop-down-list/templates) documentation.
83
- *
84
- * We have built-in `template engine`
85
- * which provides options to compile template string into a executable function.
86
- * For EX: We have expression evolution as like ES6 expression string literals.
87
- * @default null
88
- */
89
- valueTemplate?: string;
90
-
91
- /**
92
- * Accepts the template design and assigns it to the header container of the popup list.
93
- * > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
94
- * @default null
95
- */
96
- headerTemplate?: string;
97
-
98
- /**
99
- * Accepts the template design and assigns it to the footer container of the popup list.
100
- * > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
101
- * @default null
102
- */
103
- footerTemplate?: string;
104
-
105
- /**
106
- * When allowFiltering is set to true, show the filter bar (search box) of the component.
107
- * The filter action retrieves matched items through the `filtering` event based on
108
- * the characters typed in the search TextBox.
109
- *
110
- * If no match is found, the value of the `noRecordsTemplate` property will be displayed.
111
- * > For more details about the filtering refer to [`Filtering`](../../drop-down-list/filtering) documentation.
112
- *
113
- * {% codeBlock src="dropdownlist/allow-filtering-api/index.ts" %}{% endcodeBlock %}
114
- *
115
- * {% codeBlock src="dropdownlist/allow-filtering-api/index.html" %}{% endcodeBlock %}
116
- * @default false
117
- */
118
- allowFiltering?: boolean;
119
-
120
- /**
121
- * When set to true, the user interactions on the component are disabled.
122
- * @default false
123
- */
124
- readonly?: boolean;
125
-
126
- /**
127
- * Gets or sets the display text of the selected item in the component.
128
- * @default null
129
- */
130
- text?: string;
131
-
132
- /**
133
- * Gets or sets the value of the selected item in the component.
134
- * @default null
135
- * @isGenericType true
136
- */
137
- value?: number | string | boolean;
138
-
139
- /**
140
- * Gets or sets the index of the selected item in the component.
141
- *
142
- * {% codeBlock src="dropdownlist/index-api/index.ts" %}{% endcodeBlock %}
143
- *
144
- * {% codeBlock src="dropdownlist/index-api/index.html" %}{% endcodeBlock %}
145
- *
146
- * @default null
147
- * @blazorType int
148
- * @isBlazorNullableType true
149
- * @blazorDefaultValue
150
- */
151
- index?: number;
152
-
153
- /**
154
- * Specifies whether to display the floating label above the input element.
155
- * Possible values are:
156
- * * Never: The label will never float in the input when the placeholder is available.
157
- * * Always: The floating label will always float above the input.
158
- * * Auto: The floating label will float above the input after focusing or entering a value in the input.
159
- *
160
- * {% codeBlock src="dropdownlist/float-label-type-api/index.ts" %}{% endcodeBlock %}
161
- *
162
- * {% codeBlock src="dropdownlist/float-label-type-api/index.html" %}{% endcodeBlock %}
163
- *
164
- * @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
165
- * @aspType Syncfusion.EJ2.Inputs.FloatLabelType
166
- * @isEnumeration true
167
- * @blazorType Syncfusion.Blazor.Inputs.FloatLabelType
168
- */
169
- floatLabelType?: FloatLabelType;
170
-
171
- /**
172
- * Specifies whether to show or hide the clear button.
173
- * When the clear button is clicked, `value`, `text`, and `index` properties are reset to null.
174
- * @default false
175
- * @blazorOverrideType virtual
176
- */
177
- showClearButton?: boolean;
178
-
179
- /**
180
- * Triggers on typing a character in the filter bar when the
181
- * [`allowFiltering`](./#allowfiltering)
182
- * is enabled.
183
- * > For more details about the filtering refer to [`Filtering`](../../drop-down-list/filtering) documentation.
184
- *
185
- * @event
186
- * @blazorProperty 'Filtering'
187
- */
188
- filtering?: EmitType<FilteringEventArgs>;
189
-
190
- /**
191
- * Triggers when an item in a popup is selected or when the model value is changed by user.
192
- * Use change event to
193
- * [`Configure the Cascading DropDownList`](../../drop-down-list/how-to/cascading)
194
- * @event
195
- * @blazorProperty 'ValueChange'
196
- */
197
- change?: EmitType<ChangeEventArgs>;
198
-
199
- /**
200
- * Triggers when the popup before opens.
201
- * @event
202
- * @blazorProperty 'OnOpen'
203
- * @blazorType BeforeOpenEventArgs
204
- */
205
- beforeOpen?: EmitType<Object>;
206
-
207
- /**
208
- * Triggers when the popup opens.
209
- * @event
210
- * @blazorProperty 'Opened'
211
- */
212
- open?: EmitType<PopupEventArgs>;
213
-
214
- /**
215
- * Triggers when the popup is closed.
216
- * @event
217
- * @blazorProperty 'OnClose'
218
- */
219
- close?: EmitType<PopupEventArgs>;
220
-
221
- /**
222
- * Triggers when focus moves out from the component.
223
- * @event
224
- */
225
- blur?: EmitType<Object>;
226
-
227
- /**
228
- * Triggers when the component is focused.
229
- * @event
230
- */
231
- focus?: EmitType<Object>;
11
+ * Sets CSS classes to the root element of the component that allows customization of appearance.
12
+ * @default null
13
+ */
14
+ cssClass?: string;
15
+
16
+ /**
17
+ * Specifies the width of the component. By default, the component width sets based on the width of
18
+ * its parent container. You can also set the width in pixel values.
19
+ * @default '100%'
20
+ * @aspType string
21
+ * @blazorType string
22
+ */
23
+ width?: string | number;
24
+
25
+ /**
26
+ * Specifies the height of the popup list.
27
+ * > For more details about the popup configuration refer to
28
+ * [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
29
+ * @default '300px'
30
+ * @aspType string
31
+ * @blazorType string
32
+ */
33
+ popupHeight?: string | number;
34
+
35
+ /**
36
+ * Specifies the width of the popup list. By default, the popup width sets based on the width of
37
+ * the component.
38
+ * > For more details about the popup configuration refer to
39
+ * [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
40
+ * @default '100%'
41
+ * @aspType string
42
+ * @blazorType string
43
+ */
44
+ popupWidth?: string | number;
45
+
46
+ /**
47
+ * Specifies a short hint that describes the expected value of the DropDownList component.
48
+ * @default null
49
+ */
50
+ placeholder?: string;
51
+
52
+ /**
53
+ * Accepts the value to be displayed as a watermark text on the filter bar.
54
+ * @default null
55
+ */
56
+ filterBarPlaceholder?: string;
57
+
58
+ /**
59
+ * Allows additional HTML attributes such as title, name, etc., and
60
+ * accepts n number of attributes in a key-value pair format.
61
+ *
62
+ * {% codeBlock src='dropdownlist/htmlAttributes/index.md' %}{% endcodeBlock %}
63
+ *
64
+ * @default {}
65
+ */
66
+ htmlAttributes?: { [key: string]: string; };
67
+
68
+ /**
69
+ * Accepts the external `Query`
70
+ * that execute along with data processing.
71
+ *
72
+ * {% codeBlock src='dropdownlist/query/index.md' %}{% endcodeBlock %}
73
+ *
74
+ * @default null
75
+ * @deprecated
76
+ */
77
+ query?: Query;
78
+
79
+ /**
80
+ * Accepts the template design and assigns it to the selected list item in the input element of the component.
81
+ * For more details about the available template options refer to
82
+ * [`Template`](../../drop-down-list/templates) documentation.
83
+ *
84
+ * We have built-in `template engine`
85
+ * which provides options to compile template string into a executable function.
86
+ * For EX: We have expression evolution as like ES6 expression string literals.
87
+ * @default null
88
+ */
89
+ valueTemplate?: string;
90
+
91
+ /**
92
+ * Accepts the template design and assigns it to the header container of the popup list.
93
+ * > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
94
+ * @default null
95
+ */
96
+ headerTemplate?: string;
97
+
98
+ /**
99
+ * Accepts the template design and assigns it to the footer container of the popup list.
100
+ * > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
101
+ * @default null
102
+ */
103
+ footerTemplate?: string;
104
+
105
+ /**
106
+ * When allowFiltering is set to true, show the filter bar (search box) of the component.
107
+ * The filter action retrieves matched items through the `filtering` event based on
108
+ * the characters typed in the search TextBox.
109
+ *
110
+ * If no match is found, the value of the `noRecordsTemplate` property will be displayed.
111
+ * > For more details about the filtering refer to [`Filtering`](../../drop-down-list/filtering) documentation.
112
+ *
113
+ * {% codeBlock src="dropdownlist/allow-filtering-api/index.ts" %}{% endcodeBlock %}
114
+ *
115
+ * {% codeBlock src="dropdownlist/allow-filtering-api/index.html" %}{% endcodeBlock %}
116
+ * @default false
117
+ */
118
+ allowFiltering?: boolean;
119
+
120
+ /**
121
+ * When set to true, the user interactions on the component are disabled.
122
+ * @default false
123
+ */
124
+ readonly?: boolean;
125
+
126
+ /**
127
+ * Gets or sets the display text of the selected item in the component.
128
+ * @default null
129
+ */
130
+ text?: string;
131
+
132
+ /**
133
+ * Gets or sets the value of the selected item in the component.
134
+ * @default null
135
+ * @isGenericType true
136
+ */
137
+ value?: number | string | boolean;
138
+
139
+ /**
140
+ * Gets or sets the index of the selected item in the component.
141
+ *
142
+ * {% codeBlock src="dropdownlist/index-api/index.ts" %}{% endcodeBlock %}
143
+ *
144
+ * {% codeBlock src="dropdownlist/index-api/index.html" %}{% endcodeBlock %}
145
+ *
146
+ * @default null
147
+ * @blazorType int
148
+ * @isBlazorNullableType true
149
+ * @blazorDefaultValue
150
+ */
151
+ index?: number;
152
+
153
+ /**
154
+ * Specifies whether to display the floating label above the input element.
155
+ * Possible values are:
156
+ * * Never: The label will never float in the input when the placeholder is available.
157
+ * * Always: The floating label will always float above the input.
158
+ * * Auto: The floating label will float above the input after focusing or entering a value in the input.
159
+ *
160
+ * {% codeBlock src="dropdownlist/float-label-type-api/index.ts" %}{% endcodeBlock %}
161
+ *
162
+ * {% codeBlock src="dropdownlist/float-label-type-api/index.html" %}{% endcodeBlock %}
163
+ *
164
+ * @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
165
+ * @aspType Syncfusion.EJ2.Inputs.FloatLabelType
166
+ * @isEnumeration true
167
+ * @blazorType Syncfusion.Blazor.Inputs.FloatLabelType
168
+ */
169
+ floatLabelType?: FloatLabelType;
170
+
171
+ /**
172
+ * Specifies whether to show or hide the clear button.
173
+ * When the clear button is clicked, `value`, `text`, and `index` properties are reset to null.
174
+ * @default false
175
+ * @blazorOverrideType virtual
176
+ */
177
+ showClearButton?: boolean;
178
+
179
+ /**
180
+ * Triggers on typing a character in the filter bar when the
181
+ * [`allowFiltering`](./#allowfiltering)
182
+ * is enabled.
183
+ * > For more details about the filtering refer to [`Filtering`](../../drop-down-list/filtering) documentation.
184
+ *
185
+ * @event
186
+ * @blazorProperty 'Filtering'
187
+ */
188
+ filtering?: EmitType<FilteringEventArgs>;
189
+
190
+ /**
191
+ * Triggers when an item in a popup is selected or when the model value is changed by user.
192
+ * Use change event to
193
+ * [`Configure the Cascading DropDownList`](../../drop-down-list/how-to/cascading)
194
+ * @event
195
+ * @blazorProperty 'ValueChange'
196
+ */
197
+ change?: EmitType<ChangeEventArgs>;
198
+
199
+ /**
200
+ * Triggers when the popup before opens.
201
+ * @event
202
+ * @blazorProperty 'OnOpen'
203
+ * @blazorType BeforeOpenEventArgs
204
+ */
205
+ beforeOpen?: EmitType<Object>;
206
+
207
+ /**
208
+ * Triggers when the popup opens.
209
+ * @event
210
+ * @blazorProperty 'Opened'
211
+ */
212
+ open?: EmitType<PopupEventArgs>;
213
+
214
+ /**
215
+ * Triggers when the popup is closed.
216
+ * @event
217
+ * @blazorProperty 'OnClose'
218
+ */
219
+ close?: EmitType<PopupEventArgs>;
220
+
221
+ /**
222
+ * Triggers when focus moves out from the component.
223
+ * @event
224
+ */
225
+ blur?: EmitType<Object>;
226
+
227
+ /**
228
+ * Triggers when the component is focused.
229
+ * @event
230
+ */
231
+ focus?: EmitType<Object>;
232
232
 
233
233
  }
@@ -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
  /// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
21
21
  import { EventHandler, Property, Event, compile, KeyboardEvents, append } from '@syncfusion/ej2-base';
22
22
  import { attributes, isNullOrUndefined, getUniqueID, formatUnit, isUndefined, getValue } from '@syncfusion/ej2-base';