@syncfusion/ej2-dropdowns 24.1.43 → 24.1.45-12082

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 (327) hide show
  1. package/CHANGELOG.md +2101 -2058
  2. package/{README.md → ReadMe.md} +217 -217
  3. package/dist/ej2-dropdowns.min.js +1 -10
  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 +94 -74
  7. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  8. package/dist/es6/ej2-dropdowns.es5.js +236 -216
  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 +623 -0
  14. package/dist/ts/combo-box/combo-box.ts +1099 -0
  15. package/dist/ts/common/highlight-search.ts +57 -0
  16. package/dist/ts/common/incremental-search.ts +172 -0
  17. package/dist/ts/common/interface.ts +74 -0
  18. package/dist/ts/common/virtual-scroll.ts +388 -0
  19. package/dist/ts/drop-down-base/drop-down-base.ts +1986 -0
  20. package/dist/ts/drop-down-list/drop-down-list.ts +4261 -0
  21. package/dist/ts/drop-down-tree/drop-down-tree.ts +3747 -0
  22. package/dist/ts/list-box/list-box.ts +2772 -0
  23. package/dist/ts/mention/mention.ts +1875 -0
  24. package/dist/ts/multi-select/checkbox-selection.ts +550 -0
  25. package/dist/ts/multi-select/float-label.ts +176 -0
  26. package/dist/ts/multi-select/interface.ts +70 -0
  27. package/dist/ts/multi-select/multi-select.ts +4882 -0
  28. package/helpers/e2e/autocomplete.js +13 -13
  29. package/helpers/e2e/combobox.js +13 -13
  30. package/helpers/e2e/dropdownlist.js +13 -13
  31. package/helpers/e2e/index.js +3 -3
  32. package/helpers/e2e/listboxHelper.js +13 -13
  33. package/helpers/e2e/multiselect.js +13 -13
  34. package/license +2 -2
  35. package/package.json +80 -80
  36. package/src/auto-complete/auto-complete-model.d.ts +188 -188
  37. package/src/auto-complete/auto-complete.d.ts +12 -12
  38. package/src/auto-complete/auto-complete.js +21 -21
  39. package/src/combo-box/combo-box-model.d.ts +224 -224
  40. package/src/combo-box/combo-box.d.ts +27 -27
  41. package/src/combo-box/combo-box.js +29 -29
  42. package/src/common/virtual-scroll.js +46 -46
  43. package/src/drop-down-base/drop-down-base-model.d.ts +200 -200
  44. package/src/drop-down-base/drop-down-base.d.ts +16 -16
  45. package/src/drop-down-base/drop-down-base.js +20 -20
  46. package/src/drop-down-list/drop-down-list-model.d.ts +202 -202
  47. package/src/drop-down-list/drop-down-list.d.ts +5 -4
  48. package/src/drop-down-list/drop-down-list.js +31 -22
  49. package/src/drop-down-tree/drop-down-tree-model.d.ts +468 -468
  50. package/src/drop-down-tree/drop-down-tree.d.ts +0 -1
  51. package/src/drop-down-tree/drop-down-tree.js +20 -28
  52. package/src/list-box/list-box-model.d.ts +193 -193
  53. package/src/list-box/list-box.d.ts +2 -2
  54. package/src/list-box/list-box.js +34 -22
  55. package/src/mention/mention-model.d.ts +261 -261
  56. package/src/mention/mention.js +29 -22
  57. package/src/multi-select/multi-select-model.d.ts +512 -512
  58. package/src/multi-select/multi-select.js +20 -20
  59. package/styles/auto-complete/_all.scss +1 -1
  60. package/styles/auto-complete/_bds-definition.scss +2 -0
  61. package/styles/auto-complete/_bootstrap-dark-definition.scss +3 -3
  62. package/styles/auto-complete/_bootstrap-definition.scss +2 -2
  63. package/styles/auto-complete/_bootstrap4-definition.scss +11 -11
  64. package/styles/auto-complete/_bootstrap5-definition.scss +2 -2
  65. package/styles/auto-complete/_fabric-dark-definition.scss +2 -2
  66. package/styles/auto-complete/_fabric-definition.scss +2 -2
  67. package/styles/auto-complete/_fluent-definition.scss +2 -2
  68. package/styles/auto-complete/_fusionnew-definition.scss +2 -2
  69. package/styles/auto-complete/_highcontrast-definition.scss +2 -2
  70. package/styles/auto-complete/_highcontrast-light-definition.scss +2 -2
  71. package/styles/auto-complete/_material-dark-definition.scss +2 -2
  72. package/styles/auto-complete/_material-definition.scss +2 -2
  73. package/styles/auto-complete/_material3-definition.scss +2 -2
  74. package/styles/auto-complete/_tailwind-definition.scss +2 -2
  75. package/styles/auto-complete/material3-dark.scss +1 -1
  76. package/styles/auto-complete/material3.scss +1 -1
  77. package/styles/bootstrap-dark.css +9 -0
  78. package/styles/bootstrap.css +9 -0
  79. package/styles/bootstrap4.css +9 -0
  80. package/styles/bootstrap5-dark.css +9 -0
  81. package/styles/bootstrap5.css +9 -0
  82. package/styles/combo-box/_all.scss +1 -1
  83. package/styles/combo-box/_bds-definition.scss +2 -0
  84. package/styles/combo-box/_bootstrap-dark-definition.scss +2 -2
  85. package/styles/combo-box/_bootstrap-definition.scss +2 -2
  86. package/styles/combo-box/_bootstrap4-definition.scss +11 -11
  87. package/styles/combo-box/_bootstrap5-definition.scss +2 -2
  88. package/styles/combo-box/_fabric-dark-definition.scss +2 -2
  89. package/styles/combo-box/_fabric-definition.scss +2 -2
  90. package/styles/combo-box/_fluent-definition.scss +2 -2
  91. package/styles/combo-box/_fusionnew-definition.scss +2 -2
  92. package/styles/combo-box/_highcontrast-definition.scss +2 -2
  93. package/styles/combo-box/_highcontrast-light-definition.scss +3 -3
  94. package/styles/combo-box/_material-dark-definition.scss +2 -2
  95. package/styles/combo-box/_material-definition.scss +2 -2
  96. package/styles/combo-box/_material3-definition.scss +2 -2
  97. package/styles/combo-box/_tailwind-definition.scss +2 -2
  98. package/styles/combo-box/material3-dark.scss +1 -1
  99. package/styles/combo-box/material3.scss +1 -1
  100. package/styles/drop-down-base/_all.scss +2 -2
  101. package/styles/drop-down-base/_bds-definition.scss +129 -0
  102. package/styles/drop-down-base/_bootstrap-dark-definition.scss +83 -83
  103. package/styles/drop-down-base/_bootstrap-definition.scss +83 -83
  104. package/styles/drop-down-base/_bootstrap4-definition.scss +90 -90
  105. package/styles/drop-down-base/_bootstrap5-definition.scss +117 -117
  106. package/styles/drop-down-base/_definition.scss +23 -23
  107. package/styles/drop-down-base/_fabric-dark-definition.scss +86 -86
  108. package/styles/drop-down-base/_fabric-definition.scss +84 -84
  109. package/styles/drop-down-base/_fluent-definition.scss +121 -121
  110. package/styles/drop-down-base/_fusionnew-definition.scss +117 -117
  111. package/styles/drop-down-base/_highcontrast-definition.scss +105 -105
  112. package/styles/drop-down-base/_highcontrast-light-definition.scss +105 -105
  113. package/styles/drop-down-base/_layout.scss +192 -192
  114. package/styles/drop-down-base/_material-dark-definition.scss +86 -86
  115. package/styles/drop-down-base/_material-definition.scss +85 -85
  116. package/styles/drop-down-base/_material3-definition.scss +87 -87
  117. package/styles/drop-down-base/_tailwind-definition.scss +129 -129
  118. package/styles/drop-down-base/_theme.scss +391 -391
  119. package/styles/drop-down-base/material3-dark.scss +1 -1
  120. package/styles/drop-down-base/material3.scss +1 -1
  121. package/styles/drop-down-list/_all.scss +3 -3
  122. package/styles/drop-down-list/_bds-definition.scss +134 -0
  123. package/styles/drop-down-list/_bootstrap-dark-definition.scss +157 -157
  124. package/styles/drop-down-list/_bootstrap-definition.scss +156 -156
  125. package/styles/drop-down-list/_bootstrap4-definition.scss +202 -202
  126. package/styles/drop-down-list/_bootstrap5-definition.scss +201 -201
  127. package/styles/drop-down-list/_fabric-dark-definition.scss +128 -128
  128. package/styles/drop-down-list/_fabric-definition.scss +124 -124
  129. package/styles/drop-down-list/_fluent-definition.scss +185 -185
  130. package/styles/drop-down-list/_fusionnew-definition.scss +201 -201
  131. package/styles/drop-down-list/_highcontrast-definition.scss +142 -142
  132. package/styles/drop-down-list/_highcontrast-light-definition.scss +144 -144
  133. package/styles/drop-down-list/_layout.scss +315 -310
  134. package/styles/drop-down-list/_material-dark-definition.scss +143 -143
  135. package/styles/drop-down-list/_material-definition.scss +167 -167
  136. package/styles/drop-down-list/_material3-definition.scss +180 -180
  137. package/styles/drop-down-list/_tailwind-definition.scss +134 -134
  138. package/styles/drop-down-list/_theme.scss +10 -10
  139. package/styles/drop-down-list/bootstrap-dark.css +5 -0
  140. package/styles/drop-down-list/bootstrap.css +5 -0
  141. package/styles/drop-down-list/bootstrap4.css +5 -0
  142. package/styles/drop-down-list/bootstrap5-dark.css +5 -0
  143. package/styles/drop-down-list/bootstrap5.css +5 -0
  144. package/styles/drop-down-list/fabric-dark.css +5 -0
  145. package/styles/drop-down-list/fabric.css +5 -0
  146. package/styles/drop-down-list/fluent-dark.css +5 -0
  147. package/styles/drop-down-list/fluent.css +5 -0
  148. package/styles/drop-down-list/highcontrast-light.css +5 -0
  149. package/styles/drop-down-list/highcontrast.css +5 -0
  150. package/styles/drop-down-list/icons/_bootstrap-dark.scss +14 -14
  151. package/styles/drop-down-list/icons/_bootstrap.scss +14 -14
  152. package/styles/drop-down-list/icons/_bootstrap4.scss +14 -14
  153. package/styles/drop-down-list/icons/_bootstrap5.scss +14 -14
  154. package/styles/drop-down-list/icons/_fabric-dark.scss +14 -14
  155. package/styles/drop-down-list/icons/_fabric.scss +14 -14
  156. package/styles/drop-down-list/icons/_fluent.scss +14 -14
  157. package/styles/drop-down-list/icons/_fusionnew.scss +14 -14
  158. package/styles/drop-down-list/icons/_highcontrast-light.scss +14 -14
  159. package/styles/drop-down-list/icons/_highcontrast.scss +14 -14
  160. package/styles/drop-down-list/icons/_material-dark.scss +14 -14
  161. package/styles/drop-down-list/icons/_material.scss +14 -14
  162. package/styles/drop-down-list/icons/_material3.scss +14 -14
  163. package/styles/drop-down-list/icons/_tailwind.scss +14 -14
  164. package/styles/drop-down-list/material-dark.css +5 -0
  165. package/styles/drop-down-list/material.css +5 -0
  166. package/styles/drop-down-list/material3-dark.css +5 -0
  167. package/styles/drop-down-list/material3-dark.scss +1 -1
  168. package/styles/drop-down-list/material3.css +5 -0
  169. package/styles/drop-down-list/material3.scss +1 -1
  170. package/styles/drop-down-list/tailwind-dark.css +5 -0
  171. package/styles/drop-down-list/tailwind.css +5 -0
  172. package/styles/drop-down-tree/_all.scss +2 -2
  173. package/styles/drop-down-tree/_bds-definition.scss +61 -0
  174. package/styles/drop-down-tree/_bootstrap-dark-definition.scss +71 -71
  175. package/styles/drop-down-tree/_bootstrap-definition.scss +70 -70
  176. package/styles/drop-down-tree/_bootstrap4-definition.scss +71 -71
  177. package/styles/drop-down-tree/_bootstrap5-definition.scss +59 -59
  178. package/styles/drop-down-tree/_fabric-dark-definition.scss +71 -71
  179. package/styles/drop-down-tree/_fabric-definition.scss +71 -71
  180. package/styles/drop-down-tree/_fluent-definition.scss +65 -65
  181. package/styles/drop-down-tree/_fusionnew-definition.scss +59 -59
  182. package/styles/drop-down-tree/_highcontrast-definition.scss +71 -71
  183. package/styles/drop-down-tree/_highcontrast-light-definition.scss +71 -71
  184. package/styles/drop-down-tree/_layout.scss +1423 -1418
  185. package/styles/drop-down-tree/_material-dark-definition.scss +72 -72
  186. package/styles/drop-down-tree/_material-definition.scss +72 -72
  187. package/styles/drop-down-tree/_material3-definition.scss +76 -76
  188. package/styles/drop-down-tree/_tailwind-definition.scss +61 -61
  189. package/styles/drop-down-tree/_theme.scss +132 -132
  190. package/styles/drop-down-tree/bootstrap-dark.css +4 -0
  191. package/styles/drop-down-tree/bootstrap.css +4 -0
  192. package/styles/drop-down-tree/bootstrap4.css +4 -0
  193. package/styles/drop-down-tree/bootstrap5-dark.css +4 -0
  194. package/styles/drop-down-tree/bootstrap5.css +4 -0
  195. package/styles/drop-down-tree/fabric-dark.css +4 -0
  196. package/styles/drop-down-tree/fabric.css +4 -0
  197. package/styles/drop-down-tree/fluent-dark.css +4 -0
  198. package/styles/drop-down-tree/fluent.css +4 -0
  199. package/styles/drop-down-tree/highcontrast-light.css +4 -0
  200. package/styles/drop-down-tree/highcontrast.css +4 -0
  201. package/styles/drop-down-tree/icons/_bootstrap-dark.scss +11 -11
  202. package/styles/drop-down-tree/icons/_bootstrap.scss +11 -11
  203. package/styles/drop-down-tree/icons/_bootstrap4.scss +11 -11
  204. package/styles/drop-down-tree/icons/_bootstrap5.scss +11 -11
  205. package/styles/drop-down-tree/icons/_fabric-dark.scss +11 -11
  206. package/styles/drop-down-tree/icons/_fabric.scss +11 -11
  207. package/styles/drop-down-tree/icons/_fluent.scss +11 -11
  208. package/styles/drop-down-tree/icons/_fusionnew.scss +11 -11
  209. package/styles/drop-down-tree/icons/_highcontrast-light.scss +11 -11
  210. package/styles/drop-down-tree/icons/_highcontrast.scss +11 -11
  211. package/styles/drop-down-tree/icons/_material-dark.scss +11 -11
  212. package/styles/drop-down-tree/icons/_material.scss +11 -11
  213. package/styles/drop-down-tree/icons/_material3.scss +11 -11
  214. package/styles/drop-down-tree/icons/_tailwind-dark.scss +11 -11
  215. package/styles/drop-down-tree/icons/_tailwind.scss +11 -11
  216. package/styles/drop-down-tree/material-dark.css +4 -0
  217. package/styles/drop-down-tree/material.css +4 -0
  218. package/styles/drop-down-tree/material3-dark.css +4 -0
  219. package/styles/drop-down-tree/material3-dark.scss +1 -1
  220. package/styles/drop-down-tree/material3.css +4 -0
  221. package/styles/drop-down-tree/material3.scss +1 -1
  222. package/styles/drop-down-tree/tailwind-dark.css +4 -0
  223. package/styles/drop-down-tree/tailwind.css +4 -0
  224. package/styles/fabric-dark.css +9 -0
  225. package/styles/fabric.css +9 -0
  226. package/styles/fluent-dark.css +9 -0
  227. package/styles/fluent.css +9 -0
  228. package/styles/highcontrast-light.css +9 -0
  229. package/styles/highcontrast.css +9 -0
  230. package/styles/list-box/_all.scss +2 -2
  231. package/styles/list-box/_bds-definition.scss +119 -0
  232. package/styles/list-box/_bootstrap-dark-definition.scss +126 -126
  233. package/styles/list-box/_bootstrap-definition.scss +119 -119
  234. package/styles/list-box/_bootstrap4-definition.scss +124 -124
  235. package/styles/list-box/_bootstrap5-definition.scss +120 -120
  236. package/styles/list-box/_fabric-dark-definition.scss +126 -126
  237. package/styles/list-box/_fabric-definition.scss +119 -119
  238. package/styles/list-box/_fluent-definition.scss +120 -120
  239. package/styles/list-box/_fusionnew-definition.scss +111 -111
  240. package/styles/list-box/_highcontrast-definition.scss +119 -119
  241. package/styles/list-box/_highcontrast-light-definition.scss +126 -126
  242. package/styles/list-box/_layout.scss +542 -542
  243. package/styles/list-box/_material-dark-definition.scss +126 -126
  244. package/styles/list-box/_material-definition.scss +119 -119
  245. package/styles/list-box/_material3-definition.scss +119 -119
  246. package/styles/list-box/_tailwind-definition.scss +119 -119
  247. package/styles/list-box/_theme.scss +382 -382
  248. package/styles/list-box/icons/_bootstrap-dark.scss +25 -25
  249. package/styles/list-box/icons/_bootstrap.scss +25 -25
  250. package/styles/list-box/icons/_bootstrap4.scss +25 -25
  251. package/styles/list-box/icons/_bootstrap5.scss +25 -25
  252. package/styles/list-box/icons/_fabric-dark.scss +25 -25
  253. package/styles/list-box/icons/_fabric.scss +25 -25
  254. package/styles/list-box/icons/_fluent.scss +25 -25
  255. package/styles/list-box/icons/_fusionnew.scss +25 -25
  256. package/styles/list-box/icons/_highcontrast-light.scss +25 -25
  257. package/styles/list-box/icons/_highcontrast.scss +25 -25
  258. package/styles/list-box/icons/_material-dark.scss +25 -25
  259. package/styles/list-box/icons/_material.scss +25 -25
  260. package/styles/list-box/icons/_material3.scss +25 -25
  261. package/styles/list-box/icons/_tailwind-dark.scss +25 -25
  262. package/styles/list-box/icons/_tailwind.scss +25 -25
  263. package/styles/list-box/material3-dark.scss +1 -1
  264. package/styles/list-box/material3.scss +1 -1
  265. package/styles/material-dark.css +9 -0
  266. package/styles/material.css +9 -0
  267. package/styles/material3-dark.css +9 -0
  268. package/styles/material3-dark.scss +1 -1
  269. package/styles/material3.css +9 -0
  270. package/styles/material3.scss +1 -1
  271. package/styles/mention/_all.scss +1 -1
  272. package/styles/mention/_bds-definition.scss +1 -0
  273. package/styles/mention/_bootstrap-dark-definition.scss +3 -3
  274. package/styles/mention/_bootstrap-definition.scss +3 -3
  275. package/styles/mention/_bootstrap4-definition.scss +3 -3
  276. package/styles/mention/_bootstrap5-definition.scss +1 -1
  277. package/styles/mention/_fabric-dark-definition.scss +2 -2
  278. package/styles/mention/_fabric-definition.scss +3 -3
  279. package/styles/mention/_fluent-definition.scss +1 -1
  280. package/styles/mention/_fusionnew-definition.scss +1 -1
  281. package/styles/mention/_highcontrast-definition.scss +3 -3
  282. package/styles/mention/_highcontrast-light-definition.scss +3 -3
  283. package/styles/mention/_layout.scss +6 -6
  284. package/styles/mention/_material-dark-definition.scss +3 -3
  285. package/styles/mention/_material-definition.scss +3 -3
  286. package/styles/mention/_material3-definition.scss +1 -1
  287. package/styles/mention/_tailwind-definition.scss +1 -1
  288. package/styles/mention/material3-dark.scss +1 -1
  289. package/styles/mention/material3.scss +1 -1
  290. package/styles/multi-select/_all.scss +2 -2
  291. package/styles/multi-select/_bds-definition.scss +235 -0
  292. package/styles/multi-select/_bootstrap-dark-definition.scss +203 -203
  293. package/styles/multi-select/_bootstrap-definition.scss +192 -192
  294. package/styles/multi-select/_bootstrap4-definition.scss +278 -278
  295. package/styles/multi-select/_bootstrap5-definition.scss +230 -230
  296. package/styles/multi-select/_fabric-dark-definition.scss +192 -192
  297. package/styles/multi-select/_fabric-definition.scss +183 -183
  298. package/styles/multi-select/_fluent-definition.scss +241 -241
  299. package/styles/multi-select/_fusionnew-definition.scss +227 -227
  300. package/styles/multi-select/_highcontrast-definition.scss +303 -303
  301. package/styles/multi-select/_highcontrast-light-definition.scss +297 -297
  302. package/styles/multi-select/_layout.scss +2199 -2199
  303. package/styles/multi-select/_material-dark-definition.scss +230 -230
  304. package/styles/multi-select/_material-definition.scss +223 -223
  305. package/styles/multi-select/_material3-definition.scss +246 -246
  306. package/styles/multi-select/_tailwind-definition.scss +235 -235
  307. package/styles/multi-select/_theme.scss +586 -586
  308. package/styles/multi-select/icons/_bootstrap-dark.scss +26 -26
  309. package/styles/multi-select/icons/_bootstrap.scss +26 -26
  310. package/styles/multi-select/icons/_bootstrap4.scss +37 -37
  311. package/styles/multi-select/icons/_bootstrap5.scss +26 -26
  312. package/styles/multi-select/icons/_fabric-dark.scss +26 -26
  313. package/styles/multi-select/icons/_fabric.scss +26 -26
  314. package/styles/multi-select/icons/_fluent.scss +55 -55
  315. package/styles/multi-select/icons/_fusionnew.scss +26 -26
  316. package/styles/multi-select/icons/_highcontrast-light.scss +26 -26
  317. package/styles/multi-select/icons/_highcontrast.scss +26 -26
  318. package/styles/multi-select/icons/_material-dark.scss +693 -693
  319. package/styles/multi-select/icons/_material.scss +693 -693
  320. package/styles/multi-select/icons/_material3.scss +692 -692
  321. package/styles/multi-select/icons/_tailwind.scss +26 -26
  322. package/styles/multi-select/material3-dark.scss +1 -1
  323. package/styles/multi-select/material3.scss +1 -1
  324. package/styles/tailwind-dark.css +9 -0
  325. package/styles/tailwind.css +9 -0
  326. package/.eslintrc.json +0 -260
  327. package/tslint.json +0 -111
@@ -1,4 +1,4 @@
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';
1
+ import { Input, InputObject, FloatLabelType, TextBox, InputEventArgs } from '@syncfusion/ej2-inputs';
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
  }