@syncfusion/ej2-dropdowns 29.2.10 → 29.2.11-81740

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