@syncfusion/ej2-dropdowns 24.1.45-12082 → 24.1.46

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 (276) hide show
  1. package/.eslintrc.json +260 -0
  2. package/CHANGELOG.md +2107 -2101
  3. package/{ReadMe.md → README.md} +217 -217
  4. package/dist/ej2-dropdowns.min.js +10 -1
  5. package/dist/ej2-dropdowns.umd.min.js +10 -1
  6. package/dist/ej2-dropdowns.umd.min.js.map +1 -1
  7. package/dist/es6/ej2-dropdowns.es2015.js +127 -61
  8. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  9. package/dist/es6/ej2-dropdowns.es5.js +274 -203
  10. package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
  11. package/dist/global/ej2-dropdowns.min.js +10 -1
  12. package/dist/global/ej2-dropdowns.min.js.map +1 -1
  13. package/dist/global/index.d.ts +9 -0
  14. package/helpers/e2e/autocomplete.js +13 -13
  15. package/helpers/e2e/combobox.js +13 -13
  16. package/helpers/e2e/dropdownlist.js +13 -13
  17. package/helpers/e2e/index.js +3 -3
  18. package/helpers/e2e/listboxHelper.js +13 -13
  19. package/helpers/e2e/multiselect.js +13 -13
  20. package/license +2 -2
  21. package/package.json +80 -80
  22. package/src/auto-complete/auto-complete-model.d.ts +188 -188
  23. package/src/auto-complete/auto-complete.d.ts +12 -12
  24. package/src/auto-complete/auto-complete.js +21 -21
  25. package/src/combo-box/combo-box-model.d.ts +224 -224
  26. package/src/combo-box/combo-box.d.ts +27 -27
  27. package/src/combo-box/combo-box.js +29 -29
  28. package/src/common/virtual-scroll.js +46 -46
  29. package/src/drop-down-base/drop-down-base-model.d.ts +200 -200
  30. package/src/drop-down-base/drop-down-base.d.ts +16 -16
  31. package/src/drop-down-base/drop-down-base.js +20 -20
  32. package/src/drop-down-list/drop-down-list-model.d.ts +202 -202
  33. package/src/drop-down-list/drop-down-list.d.ts +4 -4
  34. package/src/drop-down-list/drop-down-list.js +20 -20
  35. package/src/drop-down-tree/drop-down-tree-model.d.ts +468 -468
  36. package/src/drop-down-tree/drop-down-tree.d.ts +3 -0
  37. package/src/drop-down-tree/drop-down-tree.js +95 -24
  38. package/src/list-box/list-box-model.d.ts +193 -193
  39. package/src/list-box/list-box.d.ts +2 -2
  40. package/src/list-box/list-box.js +19 -19
  41. package/src/mention/mention-model.d.ts +261 -261
  42. package/src/mention/mention.js +19 -19
  43. package/src/multi-select/multi-select-model.d.ts +512 -512
  44. package/src/multi-select/multi-select.js +19 -19
  45. package/styles/auto-complete/_all.scss +1 -1
  46. package/styles/auto-complete/_bootstrap-dark-definition.scss +3 -3
  47. package/styles/auto-complete/_bootstrap-definition.scss +2 -2
  48. package/styles/auto-complete/_bootstrap4-definition.scss +11 -11
  49. package/styles/auto-complete/_bootstrap5-definition.scss +2 -2
  50. package/styles/auto-complete/_fabric-dark-definition.scss +2 -2
  51. package/styles/auto-complete/_fabric-definition.scss +2 -2
  52. package/styles/auto-complete/_fluent-definition.scss +2 -2
  53. package/styles/auto-complete/_fusionnew-definition.scss +2 -2
  54. package/styles/auto-complete/_highcontrast-definition.scss +2 -2
  55. package/styles/auto-complete/_highcontrast-light-definition.scss +2 -2
  56. package/styles/auto-complete/_material-dark-definition.scss +2 -2
  57. package/styles/auto-complete/_material-definition.scss +2 -2
  58. package/styles/auto-complete/_material3-definition.scss +2 -2
  59. package/styles/auto-complete/_tailwind-definition.scss +2 -2
  60. package/styles/auto-complete/material3-dark.scss +1 -1
  61. package/styles/auto-complete/material3.scss +1 -1
  62. package/styles/combo-box/_all.scss +1 -1
  63. package/styles/combo-box/_bootstrap-dark-definition.scss +2 -2
  64. package/styles/combo-box/_bootstrap-definition.scss +2 -2
  65. package/styles/combo-box/_bootstrap4-definition.scss +11 -11
  66. package/styles/combo-box/_bootstrap5-definition.scss +2 -2
  67. package/styles/combo-box/_fabric-dark-definition.scss +2 -2
  68. package/styles/combo-box/_fabric-definition.scss +2 -2
  69. package/styles/combo-box/_fluent-definition.scss +2 -2
  70. package/styles/combo-box/_fusionnew-definition.scss +2 -2
  71. package/styles/combo-box/_highcontrast-definition.scss +2 -2
  72. package/styles/combo-box/_highcontrast-light-definition.scss +3 -3
  73. package/styles/combo-box/_material-dark-definition.scss +2 -2
  74. package/styles/combo-box/_material-definition.scss +2 -2
  75. package/styles/combo-box/_material3-definition.scss +2 -2
  76. package/styles/combo-box/_tailwind-definition.scss +2 -2
  77. package/styles/combo-box/material3-dark.scss +1 -1
  78. package/styles/combo-box/material3.scss +1 -1
  79. package/styles/drop-down-base/_all.scss +2 -2
  80. package/styles/drop-down-base/_bootstrap-dark-definition.scss +83 -83
  81. package/styles/drop-down-base/_bootstrap-definition.scss +83 -83
  82. package/styles/drop-down-base/_bootstrap4-definition.scss +90 -90
  83. package/styles/drop-down-base/_bootstrap5-definition.scss +117 -117
  84. package/styles/drop-down-base/_definition.scss +23 -23
  85. package/styles/drop-down-base/_fabric-dark-definition.scss +86 -86
  86. package/styles/drop-down-base/_fabric-definition.scss +84 -84
  87. package/styles/drop-down-base/_fluent-definition.scss +121 -121
  88. package/styles/drop-down-base/_fusionnew-definition.scss +117 -117
  89. package/styles/drop-down-base/_highcontrast-definition.scss +105 -105
  90. package/styles/drop-down-base/_highcontrast-light-definition.scss +105 -105
  91. package/styles/drop-down-base/_layout.scss +192 -192
  92. package/styles/drop-down-base/_material-dark-definition.scss +86 -86
  93. package/styles/drop-down-base/_material-definition.scss +85 -85
  94. package/styles/drop-down-base/_material3-definition.scss +87 -87
  95. package/styles/drop-down-base/_tailwind-definition.scss +129 -129
  96. package/styles/drop-down-base/_theme.scss +391 -391
  97. package/styles/drop-down-base/material3-dark.scss +1 -1
  98. package/styles/drop-down-base/material3.scss +1 -1
  99. package/styles/drop-down-list/_all.scss +3 -3
  100. package/styles/drop-down-list/_bootstrap-dark-definition.scss +157 -157
  101. package/styles/drop-down-list/_bootstrap-definition.scss +156 -156
  102. package/styles/drop-down-list/_bootstrap4-definition.scss +202 -202
  103. package/styles/drop-down-list/_bootstrap5-definition.scss +201 -201
  104. package/styles/drop-down-list/_fabric-dark-definition.scss +128 -128
  105. package/styles/drop-down-list/_fabric-definition.scss +124 -124
  106. package/styles/drop-down-list/_fluent-definition.scss +185 -185
  107. package/styles/drop-down-list/_fusionnew-definition.scss +201 -201
  108. package/styles/drop-down-list/_highcontrast-definition.scss +142 -142
  109. package/styles/drop-down-list/_highcontrast-light-definition.scss +144 -144
  110. package/styles/drop-down-list/_layout.scss +315 -315
  111. package/styles/drop-down-list/_material-dark-definition.scss +143 -143
  112. package/styles/drop-down-list/_material-definition.scss +167 -167
  113. package/styles/drop-down-list/_material3-definition.scss +180 -180
  114. package/styles/drop-down-list/_tailwind-definition.scss +134 -134
  115. package/styles/drop-down-list/_theme.scss +10 -10
  116. package/styles/drop-down-list/icons/_bootstrap-dark.scss +14 -14
  117. package/styles/drop-down-list/icons/_bootstrap.scss +14 -14
  118. package/styles/drop-down-list/icons/_bootstrap4.scss +14 -14
  119. package/styles/drop-down-list/icons/_bootstrap5.scss +14 -14
  120. package/styles/drop-down-list/icons/_fabric-dark.scss +14 -14
  121. package/styles/drop-down-list/icons/_fabric.scss +14 -14
  122. package/styles/drop-down-list/icons/_fluent.scss +14 -14
  123. package/styles/drop-down-list/icons/_fusionnew.scss +14 -14
  124. package/styles/drop-down-list/icons/_highcontrast-light.scss +14 -14
  125. package/styles/drop-down-list/icons/_highcontrast.scss +14 -14
  126. package/styles/drop-down-list/icons/_material-dark.scss +14 -14
  127. package/styles/drop-down-list/icons/_material.scss +14 -14
  128. package/styles/drop-down-list/icons/_material3.scss +14 -14
  129. package/styles/drop-down-list/icons/_tailwind.scss +14 -14
  130. package/styles/drop-down-list/material3-dark.scss +1 -1
  131. package/styles/drop-down-list/material3.scss +1 -1
  132. package/styles/drop-down-tree/_all.scss +2 -2
  133. package/styles/drop-down-tree/_bootstrap-dark-definition.scss +71 -71
  134. package/styles/drop-down-tree/_bootstrap-definition.scss +70 -70
  135. package/styles/drop-down-tree/_bootstrap4-definition.scss +71 -71
  136. package/styles/drop-down-tree/_bootstrap5-definition.scss +59 -59
  137. package/styles/drop-down-tree/_fabric-dark-definition.scss +71 -71
  138. package/styles/drop-down-tree/_fabric-definition.scss +71 -71
  139. package/styles/drop-down-tree/_fluent-definition.scss +65 -65
  140. package/styles/drop-down-tree/_fusionnew-definition.scss +59 -59
  141. package/styles/drop-down-tree/_highcontrast-definition.scss +71 -71
  142. package/styles/drop-down-tree/_highcontrast-light-definition.scss +71 -71
  143. package/styles/drop-down-tree/_layout.scss +1423 -1423
  144. package/styles/drop-down-tree/_material-dark-definition.scss +72 -72
  145. package/styles/drop-down-tree/_material-definition.scss +72 -72
  146. package/styles/drop-down-tree/_material3-definition.scss +76 -76
  147. package/styles/drop-down-tree/_tailwind-definition.scss +61 -61
  148. package/styles/drop-down-tree/_theme.scss +132 -132
  149. package/styles/drop-down-tree/icons/_bootstrap-dark.scss +11 -11
  150. package/styles/drop-down-tree/icons/_bootstrap.scss +11 -11
  151. package/styles/drop-down-tree/icons/_bootstrap4.scss +11 -11
  152. package/styles/drop-down-tree/icons/_bootstrap5.scss +11 -11
  153. package/styles/drop-down-tree/icons/_fabric-dark.scss +11 -11
  154. package/styles/drop-down-tree/icons/_fabric.scss +11 -11
  155. package/styles/drop-down-tree/icons/_fluent.scss +11 -11
  156. package/styles/drop-down-tree/icons/_fusionnew.scss +11 -11
  157. package/styles/drop-down-tree/icons/_highcontrast-light.scss +11 -11
  158. package/styles/drop-down-tree/icons/_highcontrast.scss +11 -11
  159. package/styles/drop-down-tree/icons/_material-dark.scss +11 -11
  160. package/styles/drop-down-tree/icons/_material.scss +11 -11
  161. package/styles/drop-down-tree/icons/_material3.scss +11 -11
  162. package/styles/drop-down-tree/icons/_tailwind-dark.scss +11 -11
  163. package/styles/drop-down-tree/icons/_tailwind.scss +11 -11
  164. package/styles/drop-down-tree/material3-dark.scss +1 -1
  165. package/styles/drop-down-tree/material3.scss +1 -1
  166. package/styles/list-box/_all.scss +2 -2
  167. package/styles/list-box/_bootstrap-dark-definition.scss +126 -126
  168. package/styles/list-box/_bootstrap-definition.scss +119 -119
  169. package/styles/list-box/_bootstrap4-definition.scss +124 -124
  170. package/styles/list-box/_bootstrap5-definition.scss +120 -120
  171. package/styles/list-box/_fabric-dark-definition.scss +126 -126
  172. package/styles/list-box/_fabric-definition.scss +119 -119
  173. package/styles/list-box/_fluent-definition.scss +120 -120
  174. package/styles/list-box/_fusionnew-definition.scss +111 -111
  175. package/styles/list-box/_highcontrast-definition.scss +119 -119
  176. package/styles/list-box/_highcontrast-light-definition.scss +126 -126
  177. package/styles/list-box/_layout.scss +542 -542
  178. package/styles/list-box/_material-dark-definition.scss +126 -126
  179. package/styles/list-box/_material-definition.scss +119 -119
  180. package/styles/list-box/_material3-definition.scss +119 -119
  181. package/styles/list-box/_tailwind-definition.scss +119 -119
  182. package/styles/list-box/_theme.scss +382 -382
  183. package/styles/list-box/icons/_bootstrap-dark.scss +25 -25
  184. package/styles/list-box/icons/_bootstrap.scss +25 -25
  185. package/styles/list-box/icons/_bootstrap4.scss +25 -25
  186. package/styles/list-box/icons/_bootstrap5.scss +25 -25
  187. package/styles/list-box/icons/_fabric-dark.scss +25 -25
  188. package/styles/list-box/icons/_fabric.scss +25 -25
  189. package/styles/list-box/icons/_fluent.scss +25 -25
  190. package/styles/list-box/icons/_fusionnew.scss +25 -25
  191. package/styles/list-box/icons/_highcontrast-light.scss +25 -25
  192. package/styles/list-box/icons/_highcontrast.scss +25 -25
  193. package/styles/list-box/icons/_material-dark.scss +25 -25
  194. package/styles/list-box/icons/_material.scss +25 -25
  195. package/styles/list-box/icons/_material3.scss +25 -25
  196. package/styles/list-box/icons/_tailwind-dark.scss +25 -25
  197. package/styles/list-box/icons/_tailwind.scss +25 -25
  198. package/styles/list-box/material3-dark.scss +1 -1
  199. package/styles/list-box/material3.scss +1 -1
  200. package/styles/material3-dark.scss +1 -1
  201. package/styles/material3.scss +1 -1
  202. package/styles/mention/_all.scss +1 -1
  203. package/styles/mention/_bootstrap-dark-definition.scss +3 -3
  204. package/styles/mention/_bootstrap-definition.scss +3 -3
  205. package/styles/mention/_bootstrap4-definition.scss +3 -3
  206. package/styles/mention/_bootstrap5-definition.scss +1 -1
  207. package/styles/mention/_fabric-dark-definition.scss +2 -2
  208. package/styles/mention/_fabric-definition.scss +3 -3
  209. package/styles/mention/_fluent-definition.scss +1 -1
  210. package/styles/mention/_fusionnew-definition.scss +1 -1
  211. package/styles/mention/_highcontrast-definition.scss +3 -3
  212. package/styles/mention/_highcontrast-light-definition.scss +3 -3
  213. package/styles/mention/_layout.scss +6 -6
  214. package/styles/mention/_material-dark-definition.scss +3 -3
  215. package/styles/mention/_material-definition.scss +3 -3
  216. package/styles/mention/_material3-definition.scss +1 -1
  217. package/styles/mention/_tailwind-definition.scss +1 -1
  218. package/styles/mention/material3-dark.scss +1 -1
  219. package/styles/mention/material3.scss +1 -1
  220. package/styles/multi-select/_all.scss +2 -2
  221. package/styles/multi-select/_bootstrap-dark-definition.scss +203 -203
  222. package/styles/multi-select/_bootstrap-definition.scss +192 -192
  223. package/styles/multi-select/_bootstrap4-definition.scss +278 -278
  224. package/styles/multi-select/_bootstrap5-definition.scss +230 -230
  225. package/styles/multi-select/_fabric-dark-definition.scss +192 -192
  226. package/styles/multi-select/_fabric-definition.scss +183 -183
  227. package/styles/multi-select/_fluent-definition.scss +241 -241
  228. package/styles/multi-select/_fusionnew-definition.scss +227 -227
  229. package/styles/multi-select/_highcontrast-definition.scss +303 -303
  230. package/styles/multi-select/_highcontrast-light-definition.scss +297 -297
  231. package/styles/multi-select/_layout.scss +2199 -2199
  232. package/styles/multi-select/_material-dark-definition.scss +230 -230
  233. package/styles/multi-select/_material-definition.scss +223 -223
  234. package/styles/multi-select/_material3-definition.scss +246 -246
  235. package/styles/multi-select/_tailwind-definition.scss +235 -235
  236. package/styles/multi-select/_theme.scss +586 -586
  237. package/styles/multi-select/icons/_bootstrap-dark.scss +26 -26
  238. package/styles/multi-select/icons/_bootstrap.scss +26 -26
  239. package/styles/multi-select/icons/_bootstrap4.scss +37 -37
  240. package/styles/multi-select/icons/_bootstrap5.scss +26 -26
  241. package/styles/multi-select/icons/_fabric-dark.scss +26 -26
  242. package/styles/multi-select/icons/_fabric.scss +26 -26
  243. package/styles/multi-select/icons/_fluent.scss +55 -55
  244. package/styles/multi-select/icons/_fusionnew.scss +26 -26
  245. package/styles/multi-select/icons/_highcontrast-light.scss +26 -26
  246. package/styles/multi-select/icons/_highcontrast.scss +26 -26
  247. package/styles/multi-select/icons/_material-dark.scss +693 -693
  248. package/styles/multi-select/icons/_material.scss +693 -693
  249. package/styles/multi-select/icons/_material3.scss +692 -692
  250. package/styles/multi-select/icons/_tailwind.scss +26 -26
  251. package/styles/multi-select/material3-dark.scss +1 -1
  252. package/styles/multi-select/material3.scss +1 -1
  253. package/tslint.json +111 -0
  254. package/dist/ts/auto-complete/auto-complete.ts +0 -623
  255. package/dist/ts/combo-box/combo-box.ts +0 -1099
  256. package/dist/ts/common/highlight-search.ts +0 -57
  257. package/dist/ts/common/incremental-search.ts +0 -172
  258. package/dist/ts/common/interface.ts +0 -74
  259. package/dist/ts/common/virtual-scroll.ts +0 -388
  260. package/dist/ts/drop-down-base/drop-down-base.ts +0 -1986
  261. package/dist/ts/drop-down-list/drop-down-list.ts +0 -4261
  262. package/dist/ts/drop-down-tree/drop-down-tree.ts +0 -3747
  263. package/dist/ts/list-box/list-box.ts +0 -2772
  264. package/dist/ts/mention/mention.ts +0 -1875
  265. package/dist/ts/multi-select/checkbox-selection.ts +0 -550
  266. package/dist/ts/multi-select/float-label.ts +0 -176
  267. package/dist/ts/multi-select/interface.ts +0 -70
  268. package/dist/ts/multi-select/multi-select.ts +0 -4882
  269. package/styles/auto-complete/_bds-definition.scss +0 -2
  270. package/styles/combo-box/_bds-definition.scss +0 -2
  271. package/styles/drop-down-base/_bds-definition.scss +0 -129
  272. package/styles/drop-down-list/_bds-definition.scss +0 -134
  273. package/styles/drop-down-tree/_bds-definition.scss +0 -61
  274. package/styles/list-box/_bds-definition.scss +0 -119
  275. package/styles/mention/_bds-definition.scss +0 -1
  276. package/styles/multi-select/_bds-definition.scss +0 -235
@@ -1,4 +1,4 @@
1
- import { Input, InputObject, FloatLabelType, TextBox, InputEventArgs } from '@syncfusion/ej2-inputs';
1
+ import { Input, InputObject, FloatLabelType, TextBox, InputEventArgs } from '@syncfusion/ej2-inputs';import { createCheckBox } from '@syncfusion/ej2-buttons';import { NotifyPropertyChanges, INotifyPropertyChanged, Property, Event, EmitType, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { Component, EventHandler, attributes, formatUnit, ChildProperty, remove, L10n, extend } from '@syncfusion/ej2-base';import { addClass, removeClass, detach, prepend, Complex, closest, setValue, getValue, compile, append } from '@syncfusion/ej2-base';import { select, selectAll, isNullOrUndefined as isNOU, matches, Browser, KeyboardEvents, KeyboardEventArgs } from '@syncfusion/ej2-base';import { DataManager, Query, DataUtil } from '@syncfusion/ej2-data';import { Popup } from '@syncfusion/ej2-popups';import { TreeView, NodeSelectEventArgs, DataBoundEventArgs, FieldsSettingsModel, NodeClickEventArgs, NodeExpandEventArgs } from '@syncfusion/ej2-navigations';import { NodeCheckEventArgs, FailureEventArgs} from '@syncfusion/ej2-navigations';
2
2
  import {Mode,ExpandOn,TreeFilterType,SortOrder,DdtBeforeOpenEventArgs,DdtChangeEventArgs,DdtPopupEventArgs,DdtDataBoundEventArgs,DdtFilteringEventArgs,DdtFocusEventArgs,DdtKeyPressEventArgs,DdtSelectEventArgs} from "./drop-down-tree";
3
3
  import {ComponentModel} from '@syncfusion/ej2-base';
4
4
 
@@ -8,86 +8,86 @@ import {ComponentModel} from '@syncfusion/ej2-base';
8
8
  export interface FieldsModel {
9
9
 
10
10
  /**
11
- * This field specifies the child items or mapping field for the nested child items that contains an array of JSON objects.
12
- */
13
- child?: string | FieldsModel;
11
+ * This field specifies the child items or mapping field for the nested child items that contains an array of JSON objects.
12
+ */
13
+ child?: string | FieldsModel;
14
14
 
15
15
  /**
16
- * Specifies the array of JavaScript objects or instance of Data Manager to populate the dropdown tree items.
17
- *
18
- * @default []
19
- */
20
- /* eslint-disable */
21
- dataSource?: DataManager | { [key: string]: Object }[];
16
+ * Specifies the array of JavaScript objects or instance of Data Manager to populate the dropdown tree items.
17
+ *
18
+ * @default []
19
+ */
20
+ /* eslint-disable */
21
+ dataSource?: DataManager | { [key: string]: Object }[];
22
22
 
23
23
  /**
24
- * This fields specifies the mapping field to define the expanded state of a Dropdown tree item.
25
- */
26
- expanded?: string;
24
+ * This fields specifies the mapping field to define the expanded state of a Dropdown tree item.
25
+ */
26
+ expanded?: string;
27
27
 
28
28
  /**
29
- * This field specifies the mapping field to indicate whether the Dropdown tree item has children or not.
30
- */
31
- hasChildren?: string;
29
+ * This field specifies the mapping field to indicate whether the Dropdown tree item has children or not.
30
+ */
31
+ hasChildren?: string;
32
32
 
33
33
  /**
34
- * Specifies the mapping field for htmlAttributes to be added to the Dropdown Tree item.
35
- */
36
- htmlAttributes?: string;
34
+ * Specifies the mapping field for htmlAttributes to be added to the Dropdown Tree item.
35
+ */
36
+ htmlAttributes?: string;
37
37
 
38
38
  /**
39
- * Specifies the mapping field for icon class of each Dropdown Tree item that will be added before the text.
40
- */
41
- iconCss?: string;
39
+ * Specifies the mapping field for icon class of each Dropdown Tree item that will be added before the text.
40
+ */
41
+ iconCss?: string;
42
42
 
43
43
  /**
44
- * Specifies the mapping field for image URL of each Dropdown Tree item where image will be added before the text.
45
- */
46
- imageUrl?: string;
44
+ * Specifies the mapping field for image URL of each Dropdown Tree item where image will be added before the text.
45
+ */
46
+ imageUrl?: string;
47
47
 
48
48
  /**
49
- * Specifies the parent value field mapped in the data source.
50
- */
51
- parentValue?: string;
49
+ * Specifies the parent value field mapped in the data source.
50
+ */
51
+ parentValue?: string;
52
52
 
53
53
  /**
54
- * Defines the external [`Query`](https://ej2.syncfusion.com/documentation/api/data/query/)
55
- * that will execute along with the data processing.
56
- *
57
- * @default null
58
- */
59
- query?: Query;
54
+ * Defines the external [`Query`](https://ej2.syncfusion.com/documentation/api/data/query/)
55
+ * that will execute along with the data processing.
56
+ *
57
+ * @default null
58
+ */
59
+ query?: Query;
60
60
 
61
61
  /**
62
- * Specifies whether the node can be selected by users or not
63
- * When set to false, the user interaction is prevented for the corresponding node.
64
- */
65
- selectable?: string;
62
+ * Specifies whether the node can be selected by users or not
63
+ * When set to false, the user interaction is prevented for the corresponding node.
64
+ */
65
+ selectable?: string;
66
66
 
67
67
  /**
68
- * Specifies the mapping field for the selected state of the Dropdown Tree item.
69
- */
70
- selected?: string;
68
+ * Specifies the mapping field for the selected state of the Dropdown Tree item.
69
+ */
70
+ selected?: string;
71
71
 
72
72
  /**
73
- * Specifies the table name used to fetch data from a specific table in the server.
74
- */
75
- tableName?: string;
73
+ * Specifies the table name used to fetch data from a specific table in the server.
74
+ */
75
+ tableName?: string;
76
76
 
77
77
  /**
78
- * Specifies the mapping field for text displayed as Dropdown Tree items display text.
79
- */
80
- text?: string;
78
+ * Specifies the mapping field for text displayed as Dropdown Tree items display text.
79
+ */
80
+ text?: string;
81
81
 
82
82
  /**
83
- * Specifies the mapping field for tooltip that will be displayed as hovering text of the Dropdown Tree item.
84
- */
85
- tooltip?: string;
83
+ * Specifies the mapping field for tooltip that will be displayed as hovering text of the Dropdown Tree item.
84
+ */
85
+ tooltip?: string;
86
86
 
87
87
  /**
88
- * Specifies the value(ID) field mapped in the data source.
89
- */
90
- value?: string;
88
+ * Specifies the value(ID) field mapped in the data source.
89
+ */
90
+ value?: string;
91
91
 
92
92
  }
93
93
 
@@ -97,36 +97,36 @@ export interface FieldsModel {
97
97
  export interface TreeSettingsModel {
98
98
 
99
99
  /**
100
- * Specifies whether the child and parent tree items check states are dependent over each other when checkboxes are enabled.
101
- *
102
- * @default false
103
- */
104
-
105
- autoCheck?: boolean;
106
-
107
- /**
108
- * Specifies the action on which the parent items in the pop-up should expand or collapse. The available actions are
109
- * * `Auto` - In desktop, the expand or collapse operation happens when you double-click the node,
110
- * and in mobile devices it happens on single-tap.
111
- * * `Click` - The expand or collapse operation happens when you perform single-click/tap
112
- * on the pop-up item in both desktop and mobile devices.
113
- * * `DblClick` - The expand or collapse operation happens when you perform a double-click/tap
114
- * on the pop-up item in both desktop and mobile devices.
115
- * * `None` - The expand or collapse operation will not happen when you perform single-click/tap
116
- * or double-click/tap on the pop-up items in both desktop and mobile devices.
117
- *
118
- * @default 'Auto'
119
- */
120
- expandOn?: ExpandOn;
121
-
122
- /**
123
- * By default, the load on demand (Lazy load) is set to false.
124
- * Enabling this property will render only the parent tree items in the popup and
125
- * the child items will be rendered on demand when expanding the corresponding parent node.
126
- *
127
- * @default false
128
- */
129
- loadOnDemand?: boolean;
100
+ * Specifies whether the child and parent tree items check states are dependent over each other when checkboxes are enabled.
101
+ *
102
+ * @default false
103
+ */
104
+
105
+ autoCheck?: boolean;
106
+
107
+ /**
108
+ * Specifies the action on which the parent items in the pop-up should expand or collapse. The available actions are
109
+ * * `Auto` - In desktop, the expand or collapse operation happens when you double-click the node,
110
+ * and in mobile devices it happens on single-tap.
111
+ * * `Click` - The expand or collapse operation happens when you perform single-click/tap
112
+ * on the pop-up item in both desktop and mobile devices.
113
+ * * `DblClick` - The expand or collapse operation happens when you perform a double-click/tap
114
+ * on the pop-up item in both desktop and mobile devices.
115
+ * * `None` - The expand or collapse operation will not happen when you perform single-click/tap
116
+ * or double-click/tap on the pop-up items in both desktop and mobile devices.
117
+ *
118
+ * @default 'Auto'
119
+ */
120
+ expandOn?: ExpandOn;
121
+
122
+ /**
123
+ * By default, the load on demand (Lazy load) is set to false.
124
+ * Enabling this property will render only the parent tree items in the popup and
125
+ * the child items will be rendered on demand when expanding the corresponding parent node.
126
+ *
127
+ * @default false
128
+ */
129
+ loadOnDemand?: boolean;
130
130
 
131
131
  }
132
132
 
@@ -136,440 +136,440 @@ export interface TreeSettingsModel {
136
136
  export interface DropDownTreeModel extends ComponentModel{
137
137
 
138
138
  /**
139
- * Specifies the template that renders to the popup list content of the
140
- * Dropdown Tree component when the data fetch request from the remote server fails.
141
- *
142
- * @default 'The Request Failed'
143
- * @aspType string
144
- */
145
- actionFailureTemplate?: string | Function;
146
-
147
- /**
148
- * When allowFiltering is set to true, it shows the filter bar (search text box) of the component.
149
- * The filter action retrieves matched items through the **filtering** event based on the characters typed in the search text box.
150
- * If no match is found, the value of the **noRecordsTemplate** property will be displayed.
151
- *
152
- * @default false
153
- */
154
- allowFiltering?: boolean;
155
-
156
- /**
157
- * Enables or disables the multi-selection of items. To select multiple items:
158
- * * Select the items by holding down the **Ctrl** key when clicking on the items.
159
- * * Select consecutive items by clicking the first item to select and hold down the **Shift** key and click the last item to select.
160
- *
161
- * @default false
162
- */
163
- allowMultiSelection?: boolean;
164
-
165
- /**
166
- * By default, the Dropdown Tree component fires the change event while focusing out the component.
167
- * If you want to fire the change event on every value selection and remove, then disable this property.
168
- *
169
- * @default true
170
- */
171
- changeOnBlur?: boolean;
172
-
173
- /**
174
- * Specifies the CSS classes to be added with the root and popup element of the Dropdown Tree component.
175
- * that allows customization of appearance.
176
- *
177
- * @default ''
178
- */
179
- cssClass?: string;
180
-
181
- /**
182
- * This property is used to customize the display text of the selected items in the Dropdown Tree. The given custom template is
183
- * added to the input instead of the selected item text in the Dropdown Tree when the multi-selection or checkbox support is enabled.
184
- *
185
- * @default "${value.length} item(s) selected"
186
- * @aspType string
187
- */
188
- customTemplate?: string | Function;
189
-
190
- /**
191
- * Defines the value separator character in the input element when multi-selection or checkbox is enabled in the Dropdown Tree.
192
- * The delimiter character is applicable only for **default** and **delimiter** visibility modes.
193
- *
194
- * @default ","
195
- */
196
- delimiterChar?: string;
197
-
198
- /**
199
- * Specifies a value that indicates whether the Dropdown Tree component is enabled or not.
200
- *
201
- * @default true
202
- */
203
- enabled?: boolean;
204
-
205
- /**
206
- * Specifies the data source and mapping fields to render Dropdown Tree items.
207
- *
208
- * @default {value: 'value', text: 'text', dataSource: [], child: 'child', parentValue: 'parentValue', hasChildren: 'hasChildren',
209
- * expanded: 'expanded', htmlAttributes: 'htmlAttributes', iconCss: 'iconCss', imageUrl: 'imageUrl',
210
- * query: null, selected: 'selected', selectable: 'selectable', tableName: null, tooltip: 'tooltip' }
211
- */
212
- fields?: FieldsModel;
213
-
214
- /**
215
- * Accepts the value to be displayed as a watermark text on the filter bar.
216
- *
217
- * @default null
218
- */
219
- filterBarPlaceholder?: string;
220
-
221
- /**
222
- * Determines on which filter type, the component needs to be considered on search action.
223
- * The **TreeFilterType** and its supported data types are,
224
- *
225
- * <table>
226
- * <tr>
227
- * <td colSpan=1 rowSpan=1><b>
228
- * TreeFilterType</b></td><td colSpan=1 rowSpan=1><b>
229
- * Description</b></td><td colSpan=1 rowSpan=1><b>
230
- * Supported Types</b></td></tr>
231
- * <tr>
232
- * <td colSpan=1 rowSpan=1>
233
- * StartsWith<br/></td><td colSpan=1 rowSpan=1>
234
- * Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
235
- * String<br/></td></tr>
236
- * <tr>
237
- * <td colSpan=1 rowSpan=1>
238
- * EndsWith<br/></td><td colSpan=1 rowSpan=1>
239
- * Checks whether a value ends with the specified value.<br/></td><td colSpan=1 rowSpan=1>
240
- * String<br/></td></tr>
241
- * <tr>
242
- * <td colSpan=1 rowSpan=1>
243
- * Contains<br/></td><td colSpan=1 rowSpan=1>
244
- * Checks whether a value contains with specified value.<br/></td><td colSpan=1 rowSpan=1>
245
- * String<br/></td></tr>
246
- * </table>
247
- *
248
- * The default value set to **StartsWith**, all the suggestion items which starts with typed characters to listed in the
249
- * suggestion popup.
250
- *
251
- * @default 'StartsWith'
252
- */
253
- filterType?: TreeFilterType;
254
-
255
- /**
256
- * Specifies whether to display the floating label above the input element.
257
- * Possible values are:
258
- * * Never: The label will never float in the input when the placeholder is available.
259
- * * Always: The floating label will always float above the input.
260
- * * Auto: The floating label will float above the input after focusing or entering a value in the input.
261
- *
262
- * @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
263
- * @isEnumeration true
264
- */
265
- floatLabelType?: FloatLabelType;
266
-
267
- /**
268
- * Specifies the template that renders a customized footer container at the bottom of the pop-up list.
269
- * By default, the footerTemplate will be null and there will be no footer container for the pop-up list.
270
- *
271
- * @default null
272
- * @angularType string | object
273
- * @reactType string | function | JSX.Element
274
- * @vueType string | function
275
- * @aspType string
276
- */
277
- footerTemplate?: string | Function;
278
-
279
- /**
280
- * When **ignoreAccent** is set to true, then it ignores the diacritic characters or accents when filtering.
281
- */
282
- ignoreAccent?: boolean;
283
-
284
- /**
285
- * When set to false, consider the case-sensitive on performing the search to find suggestions. By default, consider the casing.
286
- *
287
- * @default true
288
- */
289
- ignoreCase?: boolean;
290
-
291
- /**
292
- * Specifies the template that renders a customized header container at the top of the pop-up list.
293
- * By default, the headerTemplate will be null and there will be no header container for the pop-up list.
294
- *
295
- * @default null
296
- * @angularType string | object
297
- * @reactType string | function | JSX.Element
298
- * @vueType string | function
299
- * @aspType string
300
- */
301
- headerTemplate?: string | Function;
302
-
303
- /**
304
- * Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.
305
- *
306
- * @default {}
307
- */
308
- htmlAttributes?: { [key: string]: string; };
309
-
310
- /**
311
- * Specifies a template to render customized content for all the items.
312
- * If the **itemTemplate** property is set, the template content overrides the displayed item text.
313
- * The property accepts [template string](https://ej2.syncfusion.com/documentation/common/template-engine/)
314
- * or HTML element ID holding the content.
315
- *
316
- * @default null
317
- * @angularType string | object
318
- * @reactType string | function | JSX.Element
319
- * @vueType string | function
320
- * @aspType string
321
- */
322
- itemTemplate?: string | Function;
323
-
324
- /**
325
- * Configures visibility mode for component interaction when allowMultiSelection or checkbox is enabled.
326
- * Different modes are:
327
- * * Box : Selected items will be visualized in chip.
328
- * * Delimiter : Selected items will be visualized in the text content.
329
- * * Default : On focus in component will act in the box mode. On blur component will act in the delimiter mode.
330
- * * Custom : Selected items will be visualized with the given custom template value. The given custom template
331
- * is added to the input instead of the selected item text in the Dropdown Tree when the multi-selection or checkbox support is enabled.
332
- */
333
- mode?: Mode;
334
-
335
- /**
336
- * Specifies the template that renders a customized pop-up list content when there is no data available
337
- * to be displayed within the pop-up.
338
- *
339
- * @default 'No Records Found'
340
- * @aspType string
341
- */
342
- noRecordsTemplate?: string | Function;
343
-
344
- /**
345
- * Specifies a short hint that describes the expected value of the Dropdown Tree component.
346
- *
347
- * @default null
348
- */
349
- placeholder?: string;
350
-
351
- /**
352
- * Specifies the height of the pop-up list.
353
- *
354
- * @default '300px'
355
- */
356
- popupHeight?: string | number;
357
-
358
- /**
359
- * Specifies the width of the popup list. By default, the popup width sets based on the width of the Dropdown Tree element.
360
- *
361
- * @default '100%'
362
- */
363
- popupWidth?: string | number;
364
-
139
+ * Specifies the template that renders to the popup list content of the
140
+ * Dropdown Tree component when the data fetch request from the remote server fails.
141
+ *
142
+ * @default 'The Request Failed'
143
+ * @aspType string
144
+ */
145
+ actionFailureTemplate?: string | Function;
146
+
147
+ /**
148
+ * When allowFiltering is set to true, it shows the filter bar (search text box) of the component.
149
+ * The filter action retrieves matched items through the **filtering** event based on the characters typed in the search text box.
150
+ * If no match is found, the value of the **noRecordsTemplate** property will be displayed.
151
+ *
152
+ * @default false
153
+ */
154
+ allowFiltering?: boolean;
155
+
156
+ /**
157
+ * Enables or disables the multi-selection of items. To select multiple items:
158
+ * * Select the items by holding down the **Ctrl** key when clicking on the items.
159
+ * * Select consecutive items by clicking the first item to select and hold down the **Shift** key and click the last item to select.
160
+ *
161
+ * @default false
162
+ */
163
+ allowMultiSelection?: boolean;
164
+
165
+ /**
166
+ * By default, the Dropdown Tree component fires the change event while focusing out the component.
167
+ * If you want to fire the change event on every value selection and remove, then disable this property.
168
+ *
169
+ * @default true
170
+ */
171
+ changeOnBlur?: boolean;
172
+
173
+ /**
174
+ * Specifies the CSS classes to be added with the root and popup element of the Dropdown Tree component.
175
+ * that allows customization of appearance.
176
+ *
177
+ * @default ''
178
+ */
179
+ cssClass?: string;
180
+
181
+ /**
182
+ * This property is used to customize the display text of the selected items in the Dropdown Tree. The given custom template is
183
+ * added to the input instead of the selected item text in the Dropdown Tree when the multi-selection or checkbox support is enabled.
184
+ *
185
+ * @default "${value.length} item(s) selected"
186
+ * @aspType string
187
+ */
188
+ customTemplate?: string | Function;
189
+
190
+ /**
191
+ * Defines the value separator character in the input element when multi-selection or checkbox is enabled in the Dropdown Tree.
192
+ * The delimiter character is applicable only for **default** and **delimiter** visibility modes.
193
+ *
194
+ * @default ","
195
+ */
196
+ delimiterChar?: string;
197
+
198
+ /**
199
+ * Specifies a value that indicates whether the Dropdown Tree component is enabled or not.
200
+ *
201
+ * @default true
202
+ */
203
+ enabled?: boolean;
204
+
205
+ /**
206
+ * Specifies the data source and mapping fields to render Dropdown Tree items.
207
+ *
208
+ * @default {value: 'value', text: 'text', dataSource: [], child: 'child', parentValue: 'parentValue', hasChildren: 'hasChildren',
209
+ * expanded: 'expanded', htmlAttributes: 'htmlAttributes', iconCss: 'iconCss', imageUrl: 'imageUrl',
210
+ * query: null, selected: 'selected', selectable: 'selectable', tableName: null, tooltip: 'tooltip' }
211
+ */
212
+ fields?: FieldsModel;
213
+
214
+ /**
215
+ * Accepts the value to be displayed as a watermark text on the filter bar.
216
+ *
217
+ * @default null
218
+ */
219
+ filterBarPlaceholder?: string;
220
+
221
+ /**
222
+ * Determines on which filter type, the component needs to be considered on search action.
223
+ * The **TreeFilterType** and its supported data types are,
224
+ *
225
+ * <table>
226
+ * <tr>
227
+ * <td colSpan=1 rowSpan=1><b>
228
+ * TreeFilterType</b></td><td colSpan=1 rowSpan=1><b>
229
+ * Description</b></td><td colSpan=1 rowSpan=1><b>
230
+ * Supported Types</b></td></tr>
231
+ * <tr>
232
+ * <td colSpan=1 rowSpan=1>
233
+ * StartsWith<br/></td><td colSpan=1 rowSpan=1>
234
+ * Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
235
+ * String<br/></td></tr>
236
+ * <tr>
237
+ * <td colSpan=1 rowSpan=1>
238
+ * EndsWith<br/></td><td colSpan=1 rowSpan=1>
239
+ * Checks whether a value ends with the specified value.<br/></td><td colSpan=1 rowSpan=1>
240
+ * String<br/></td></tr>
241
+ * <tr>
242
+ * <td colSpan=1 rowSpan=1>
243
+ * Contains<br/></td><td colSpan=1 rowSpan=1>
244
+ * Checks whether a value contains with specified value.<br/></td><td colSpan=1 rowSpan=1>
245
+ * String<br/></td></tr>
246
+ * </table>
247
+ *
248
+ * The default value set to **StartsWith**, all the suggestion items which starts with typed characters to listed in the
249
+ * suggestion popup.
250
+ *
251
+ * @default 'StartsWith'
252
+ */
253
+ filterType?: TreeFilterType;
254
+
255
+ /**
256
+ * Specifies whether to display the floating label above the input element.
257
+ * Possible values are:
258
+ * * Never: The label will never float in the input when the placeholder is available.
259
+ * * Always: The floating label will always float above the input.
260
+ * * Auto: The floating label will float above the input after focusing or entering a value in the input.
261
+ *
262
+ * @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
263
+ * @isEnumeration true
264
+ */
265
+ floatLabelType?: FloatLabelType;
266
+
267
+ /**
268
+ * Specifies the template that renders a customized footer container at the bottom of the pop-up list.
269
+ * By default, the footerTemplate will be null and there will be no footer container for the pop-up list.
270
+ *
271
+ * @default null
272
+ * @angularType string | object
273
+ * @reactType string | function | JSX.Element
274
+ * @vueType string | function
275
+ * @aspType string
276
+ */
277
+ footerTemplate?: string | Function;
278
+
279
+ /**
280
+ * When **ignoreAccent** is set to true, then it ignores the diacritic characters or accents when filtering.
281
+ */
282
+ ignoreAccent?: boolean;
283
+
284
+ /**
285
+ * When set to false, consider the case-sensitive on performing the search to find suggestions. By default, consider the casing.
286
+ *
287
+ * @default true
288
+ */
289
+ ignoreCase?: boolean;
290
+
291
+ /**
292
+ * Specifies the template that renders a customized header container at the top of the pop-up list.
293
+ * By default, the headerTemplate will be null and there will be no header container for the pop-up list.
294
+ *
295
+ * @default null
296
+ * @angularType string | object
297
+ * @reactType string | function | JSX.Element
298
+ * @vueType string | function
299
+ * @aspType string
300
+ */
301
+ headerTemplate?: string | Function;
302
+
303
+ /**
304
+ * Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.
305
+ *
306
+ * @default {}
307
+ */
308
+ htmlAttributes?: { [key: string]: string; };
309
+
310
+ /**
311
+ * Specifies a template to render customized content for all the items.
312
+ * If the **itemTemplate** property is set, the template content overrides the displayed item text.
313
+ * The property accepts [template string](https://ej2.syncfusion.com/documentation/common/template-engine/)
314
+ * or HTML element ID holding the content.
315
+ *
316
+ * @default null
317
+ * @angularType string | object
318
+ * @reactType string | function | JSX.Element
319
+ * @vueType string | function
320
+ * @aspType string
321
+ */
322
+ itemTemplate?: string | Function;
323
+
324
+ /**
325
+ * Configures visibility mode for component interaction when allowMultiSelection or checkbox is enabled.
326
+ * Different modes are:
327
+ * * Box : Selected items will be visualized in chip.
328
+ * * Delimiter : Selected items will be visualized in the text content.
329
+ * * Default : On focus in component will act in the box mode. On blur component will act in the delimiter mode.
330
+ * * Custom : Selected items will be visualized with the given custom template value. The given custom template
331
+ * is added to the input instead of the selected item text in the Dropdown Tree when the multi-selection or checkbox support is enabled.
332
+ */
333
+ mode?: Mode;
334
+
335
+ /**
336
+ * Specifies the template that renders a customized pop-up list content when there is no data available
337
+ * to be displayed within the pop-up.
338
+ *
339
+ * @default 'No Records Found'
340
+ * @aspType string
341
+ */
342
+ noRecordsTemplate?: string | Function;
343
+
344
+ /**
345
+ * Specifies a short hint that describes the expected value of the Dropdown Tree component.
346
+ *
347
+ * @default null
348
+ */
349
+ placeholder?: string;
350
+
351
+ /**
352
+ * Specifies the height of the pop-up list.
353
+ *
354
+ * @default '300px'
355
+ */
356
+ popupHeight?: string | number;
357
+
358
+ /**
359
+ * Specifies the width of the popup list. By default, the popup width sets based on the width of the Dropdown Tree element.
360
+ *
361
+ * @default '100%'
362
+ */
363
+ popupWidth?: string | number;
364
+
365
365
  /**
366
- * When set to true, the user interactions on the component will be disabled.
367
- *
368
- * @default false
369
- */
370
- readonly?: boolean;
371
-
366
+ * When set to true, the user interactions on the component will be disabled.
367
+ *
368
+ * @default false
369
+ */
370
+ readonly?: boolean;
371
+
372
372
  /**
373
- * Specifies whether to show or hide the selectAll checkbox in the pop-up which allows you to select all the items in the pop-up.
374
- *
375
- * @default false
376
- */
377
- showSelectAll?: boolean;
373
+ * Specifies whether to show or hide the selectAll checkbox in the pop-up which allows you to select all the items in the pop-up.
374
+ *
375
+ * @default false
376
+ */
377
+ showSelectAll?: boolean;
378
378
 
379
379
  /**
380
- * Specifies the display text for the selectAll checkbox in the pop-up.
381
- *
382
- * @default 'Select All'
383
- */
384
- selectAllText?: string;
385
-
386
- /**
387
- * Enables or disables the checkbox option in the Dropdown Tree component.
388
- * If enabled, the Checkbox will be displayed next to the expand or collapse icon of the tree items.
389
- *
390
- * @default false
391
- */
392
- showCheckBox?: boolean;
393
-
394
- /**
395
- * Specifies whether to allow rendering of untrusted HTML values in the Dropdown Tree component.
396
- * While enable this property, it sanitize suspected untrusted strings and script, and update in the Dropdown Tree component.
397
- *
398
- * @default false
399
- */
400
- enableHtmlSanitizer?: boolean;
380
+ * Specifies the display text for the selectAll checkbox in the pop-up.
381
+ *
382
+ * @default 'Select All'
383
+ */
384
+ selectAllText?: string;
385
+
386
+ /**
387
+ * Enables or disables the checkbox option in the Dropdown Tree component.
388
+ * If enabled, the Checkbox will be displayed next to the expand or collapse icon of the tree items.
389
+ *
390
+ * @default false
391
+ */
392
+ showCheckBox?: boolean;
393
+
394
+ /**
395
+ * Specifies whether to allow rendering of untrusted HTML values in the Dropdown Tree component.
396
+ * While enable this property, it sanitize suspected untrusted strings and script, and update in the Dropdown Tree component.
397
+ *
398
+ * @default false
399
+ */
400
+ enableHtmlSanitizer?: boolean;
401
401
 
402
402
  /**
403
- * Specifies whether to show or hide the clear icon in textbox.
404
- * When the clear button is clicked, `value`, `text` properties will be reset to null.
405
- *
406
- * @default true
407
- */
408
- showClearButton?: boolean;
403
+ * Specifies whether to show or hide the clear icon in textbox.
404
+ * When the clear button is clicked, `value`, `text` properties will be reset to null.
405
+ *
406
+ * @default true
407
+ */
408
+ showClearButton?: boolean;
409
409
 
410
410
  /**
411
- * Specifies whether to show or hide the Dropdown button.
412
- *
413
- * @default true
414
- */
415
- showDropDownIcon?: boolean;
411
+ * Specifies whether to show or hide the Dropdown button.
412
+ *
413
+ * @default true
414
+ */
415
+ showDropDownIcon?: boolean;
416
416
 
417
417
  /**
418
- * Specifies a value that indicates whether the items are sorted in the ascending or descending order, or not sorted at all.
419
- * The available types of sort order are,
420
- * * `None` - The items are not sorted.
421
- * * `Ascending` - The items are sorted in the ascending order.
422
- * * `Descending` - The items are sorted in the descending order.
423
- *
424
- * @default 'None'
425
- */
426
- sortOrder?: SortOrder;
418
+ * Specifies a value that indicates whether the items are sorted in the ascending or descending order, or not sorted at all.
419
+ * The available types of sort order are,
420
+ * * `None` - The items are not sorted.
421
+ * * `Ascending` - The items are sorted in the ascending order.
422
+ * * `Descending` - The items are sorted in the descending order.
423
+ *
424
+ * @default 'None'
425
+ */
426
+ sortOrder?: SortOrder;
427
427
 
428
428
  /**
429
- * Gets or sets the display text of the selected item which maps the data **text** field in the component.
430
- *
431
- * @default null
432
- */
433
- text?: string;
429
+ * Gets or sets the display text of the selected item which maps the data **text** field in the component.
430
+ *
431
+ * @default null
432
+ */
433
+ text?: string;
434
434
 
435
435
  /**
436
- * Configures the pop-up tree settings.
437
- *
438
- * @default {autoCheck: false, expandOn: 'Auto', loadOnDemand: false}
439
- */
440
- treeSettings?: TreeSettingsModel;
436
+ * Configures the pop-up tree settings.
437
+ *
438
+ * @default {autoCheck: false, expandOn: 'Auto', loadOnDemand: false}
439
+ */
440
+ treeSettings?: TreeSettingsModel;
441
441
 
442
442
  /**
443
- * Specifies the display text for the unselect all checkbox in the pop-up.
444
- *
445
- * @default 'Unselect All'
446
- */
447
- unSelectAllText?: string;
443
+ * Specifies the display text for the unselect all checkbox in the pop-up.
444
+ *
445
+ * @default 'Unselect All'
446
+ */
447
+ unSelectAllText?: string;
448
448
 
449
449
  /**
450
- * Gets or sets the value of selected item(s) which maps the data **value** field in the component.
451
- *
452
- * @default null
453
- * @aspType Object
454
- */
455
- value?: string[];
450
+ * Gets or sets the value of selected item(s) which maps the data **value** field in the component.
451
+ *
452
+ * @default null
453
+ * @aspType Object
454
+ */
455
+ value?: string[];
456
456
 
457
457
  /**
458
- * Specifies the width of the component. By default, the component width sets based on the width of its parent container.
459
- * You can also set the width in pixel values.
460
- *
461
- * @default '100%'
462
- */
463
- width?: string | number;
458
+ * Specifies the width of the component. By default, the component width sets based on the width of its parent container.
459
+ * You can also set the width in pixel values.
460
+ *
461
+ * @default '100%'
462
+ */
463
+ width?: string | number;
464
464
 
465
465
  /**
466
- * Specifies the z-index value of the pop-up element.
467
- *
468
- * @default 1000
469
- */
470
- zIndex?: number;
466
+ * Specifies the z-index value of the pop-up element.
467
+ *
468
+ * @default 1000
469
+ */
470
+ zIndex?: number;
471
471
 
472
472
  /**
473
- * Defines whether to enable or disable the feature called wrap the selected items into multiple lines when the selected item's text
474
- * content exceeded the input width limit.
475
- *
476
- * @default false
477
- */
478
- wrapText?: boolean;
473
+ * Defines whether to enable or disable the feature called wrap the selected items into multiple lines when the selected item's text
474
+ * content exceeded the input width limit.
475
+ *
476
+ * @default false
477
+ */
478
+ wrapText?: boolean;
479
479
 
480
480
  /**
481
- * Triggers when the data fetch request from the remote server fails.
482
- *
483
- * @event
484
- */
485
- /* eslint-disable */
486
- actionFailure?: EmitType<Object>;
481
+ * Triggers when the data fetch request from the remote server fails.
482
+ *
483
+ * @event
484
+ */
485
+ /* eslint-disable */
486
+ actionFailure?: EmitType<Object>;
487
487
 
488
488
  /**
489
- * Fires when popup opens before animation.
490
- *
491
- * @event
492
- */
493
- beforeOpen?: EmitType<DdtBeforeOpenEventArgs>;
489
+ * Fires when popup opens before animation.
490
+ *
491
+ * @event
492
+ */
493
+ beforeOpen?: EmitType<DdtBeforeOpenEventArgs>;
494
494
 
495
495
  /**
496
- * Triggers when an item in a popup is selected or when the model value is changed by user.
497
- *
498
- * @event
499
- */
500
- change?: EmitType<DdtChangeEventArgs>;
496
+ * Triggers when an item in a popup is selected or when the model value is changed by user.
497
+ *
498
+ * @event
499
+ */
500
+ change?: EmitType<DdtChangeEventArgs>;
501
501
 
502
502
  /**
503
- * Fires when popup close after animation completion.
504
- *
505
- * @event
506
- */
507
- close?: EmitType<DdtPopupEventArgs>;
503
+ * Fires when popup close after animation completion.
504
+ *
505
+ * @event
506
+ */
507
+ close?: EmitType<DdtPopupEventArgs>;
508
508
 
509
509
  /**
510
- * Triggers when the Dropdown Tree input element gets focus-out.
511
- *
512
- * @event
513
- */
514
- /* eslint-disable */
515
- blur?: EmitType<Object>;
510
+ * Triggers when the Dropdown Tree input element gets focus-out.
511
+ *
512
+ * @event
513
+ */
514
+ /* eslint-disable */
515
+ blur?: EmitType<Object>;
516
516
 
517
517
  /**
518
- * Triggers when the Dropdown Tree is created successfully.
519
- *
520
- * @event
521
- */
522
- /* eslint-disable */
523
- created?: EmitType<Object>;
518
+ * Triggers when the Dropdown Tree is created successfully.
519
+ *
520
+ * @event
521
+ */
522
+ /* eslint-disable */
523
+ created?: EmitType<Object>;
524
524
 
525
525
  /**
526
-      * Triggers when data source is populated in the Dropdown Tree.
527
- *
528
-      * @event
529
-      */
530
- dataBound?: EmitType<DdtDataBoundEventArgs>;
526
+      * Triggers when data source is populated in the Dropdown Tree.
527
+ *
528
+      * @event
529
+      */
530
+ dataBound?: EmitType<DdtDataBoundEventArgs>;
531
531
 
532
532
  /**
533
- * Triggers when the Dropdown Tree is destroyed successfully.
534
- *
535
- * @event
536
- */
537
- /* eslint-disable */
538
- destroyed?: EmitType<Object>;
533
+ * Triggers when the Dropdown Tree is destroyed successfully.
534
+ *
535
+ * @event
536
+ */
537
+ /* eslint-disable */
538
+ destroyed?: EmitType<Object>;
539
539
 
540
540
  /**
541
- * Triggers on typing a character in the filter bar when the **allowFiltering** is enabled.
542
- *
543
- * @event
544
- */
545
- filtering?: EmitType<DdtFilteringEventArgs>;
541
+ * Triggers on typing a character in the filter bar when the **allowFiltering** is enabled.
542
+ *
543
+ * @event
544
+ */
545
+ filtering?: EmitType<DdtFilteringEventArgs>;
546
546
 
547
547
  /**
548
- * Triggers when the Dropdown Tree input element is focused.
549
- *
550
- * @event
551
- */
552
- focus?: EmitType<DdtFocusEventArgs>;
548
+ * Triggers when the Dropdown Tree input element is focused.
549
+ *
550
+ * @event
551
+ */
552
+ focus?: EmitType<DdtFocusEventArgs>;
553
553
 
554
554
  /**
555
- * Triggers when key press is successful. It helps to customize the operations at key press.
556
- *
557
- * @event
558
- */
559
- keyPress?: EmitType<DdtKeyPressEventArgs>;
555
+ * Triggers when key press is successful. It helps to customize the operations at key press.
556
+ *
557
+ * @event
558
+ */
559
+ keyPress?: EmitType<DdtKeyPressEventArgs>;
560
560
 
561
561
  /**
562
- * Fires when popup opens after animation completion.
563
- *
564
- * @event
565
- */
566
- open?: EmitType<DdtPopupEventArgs>;
562
+ * Fires when popup opens after animation completion.
563
+ *
564
+ * @event
565
+ */
566
+ open?: EmitType<DdtPopupEventArgs>;
567
567
 
568
568
  /**
569
- * Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.
570
- *
571
- * @event
572
- */
573
- select?: EmitType<DdtSelectEventArgs>;
569
+ * Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.
570
+ *
571
+ * @event
572
+ */
573
+ select?: EmitType<DdtSelectEventArgs>;
574
574
 
575
575
  }