@syncfusion/ej2-dropdowns 29.2.8 → 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 +186 -95
  5. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  6. package/dist/es6/ej2-dropdowns.es5.js +352 -258
  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 +21 -21
  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 +2 -1
  26. package/src/drop-down-tree/drop-down-tree.js +24 -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 +143 -56
  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
@@ -336,6 +336,7 @@ export declare class DropDownTree extends Component<HTMLElement> implements INot
336
336
  private isCheckAllCalled;
337
337
  private isFromFilterChange;
338
338
  private valueTemplateContainer;
339
+ private previousFilterText;
339
340
  /**
340
341
  * Specifies the template that renders to the popup list content of the
341
342
  * Dropdown Tree component when the data fetch request from the remote server fails.
@@ -572,7 +573,7 @@ export declare class DropDownTree extends Component<HTMLElement> implements INot
572
573
  * When this property is set to false, then the popup will not be removed from DOM once it is closed.
573
574
  *
574
575
  * @default true
575
-
576
+ * @deprecated
576
577
  */
577
578
  destroyPopupOnHide: boolean;
578
579
  /**
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  /* eslint-disable @typescript-eslint/no-explicit-any */
21
21
  import { Input, TextBox } from '@syncfusion/ej2-inputs';
22
22
  import { createCheckBox } from '@syncfusion/ej2-buttons';
@@ -498,6 +498,11 @@ var DropDownTree = /** @class */ (function (_super) {
498
498
  }
499
499
  }
500
500
  _this.treeObj.fields = _this.getTreeFields(fields);
501
+ if ((_this.previousFilterText && _this.previousFilterText !== '' && args.text !== '' && _this.previousFilterText.indexOf(args.text) !== -1) ||
502
+ (args.text && args.text !== '' && _this.previousFilterText !== '' && args.text.indexOf(_this.previousFilterText) !== -1)) {
503
+ _this.isFilterRestore = true;
504
+ }
505
+ _this.previousFilterText = args.text;
501
506
  _this.treeObj.dataBind();
502
507
  if (_this.popupObj) {
503
508
  _this.popupObj.refreshPosition();
@@ -1,4 +1,4 @@
1
- import { Input, InputObject } from '@syncfusion/ej2-inputs';import { DropDownBase, dropDownBaseClasses, FilteringEventArgs, SelectEventArgs } from '../drop-down-base/drop-down-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { EventHandler, closest, removeClass, addClass, Complex, Property, ChildProperty, BaseEventArgs, L10n, setValue } from '@syncfusion/ej2-base';import { ModuleDeclaration, NotifyPropertyChanges, getComponent, EmitType, Event, extend, detach, attributes } from '@syncfusion/ej2-base';import { getUniqueID, Browser, formatUnit, isNullOrUndefined, getValue } from '@syncfusion/ej2-base';import { prepend, append } from '@syncfusion/ej2-base';import { cssClass, Sortable, moveTo, SortOrder } from '@syncfusion/ej2-lists';import { Button } from '@syncfusion/ej2-buttons';import { createSpinner, showSpinner, hideSpinner, getZindexPartial } from '@syncfusion/ej2-popups';import { DataManager, Query } from '@syncfusion/ej2-data';
1
+ import { Input, InputObject } from '@syncfusion/ej2-inputs';
2
2
  import {SelectionMode,CheckBoxPosition,ToolBarPosition,BeforeItemRenderEventArgs,ListBoxChangeEventArgs,DropEventArgs,DragEventArgs} from "./list-box";
3
3
  import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";
4
4
 
@@ -8,34 +8,34 @@ import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";
8
8
  export interface SelectionSettingsModel {
9
9
 
10
10
  /**
11
- * Specifies the selection modes. The possible values are
12
- * * `Single`: Allows you to select a single item in the ListBox.
13
- * * `Multiple`: Allows you to select more than one item in the ListBox.
14
- *
15
- * @default 'Multiple'
16
- */
17
- mode?: SelectionMode;
11
+ * Specifies the selection modes. The possible values are
12
+ * * `Single`: Allows you to select a single item in the ListBox.
13
+ * * `Multiple`: Allows you to select more than one item in the ListBox.
14
+ *
15
+ * @default 'Multiple'
16
+ */
17
+ mode?: SelectionMode;
18
18
 
19
19
  /**
20
- * If 'showCheckbox' is set to true, then 'checkbox' will be visualized in the list item.
21
- *
22
- * @default false
23
- */
24
- showCheckbox?: boolean;
20
+ * If 'showCheckbox' is set to true, then 'checkbox' will be visualized in the list item.
21
+ *
22
+ * @default false
23
+ */
24
+ showCheckbox?: boolean;
25
25
 
26
26
  /**
27
- * Allows you to either show or hide the selectAll option on the component.
28
- *
29
- * @default false
30
- */
31
- showSelectAll?: boolean;
27
+ * Allows you to either show or hide the selectAll option on the component.
28
+ *
29
+ * @default false
30
+ */
31
+ showSelectAll?: boolean;
32
32
 
33
33
  /**
34
- * Set the position of the checkbox.
35
- *
36
- * @default 'Left'
37
- */
38
- checkboxPosition?: CheckBoxPosition;
34
+ * Set the position of the checkbox.
35
+ *
36
+ * @default 'Left'
37
+ */
38
+ checkboxPosition?: CheckBoxPosition;
39
39
 
40
40
  }
41
41
 
@@ -45,22 +45,22 @@ export interface SelectionSettingsModel {
45
45
  export interface ToolbarSettingsModel {
46
46
 
47
47
  /**
48
- * Specifies the list of tools for dual ListBox.
49
- * The predefined tools are 'moveUp', 'moveDown', 'moveTo', 'moveFrom', 'moveAllTo', and 'moveAllFrom'.
50
- *
51
- * @default []
52
- */
53
- items?: string[];
48
+ * Specifies the list of tools for dual ListBox.
49
+ * The predefined tools are 'moveUp', 'moveDown', 'moveTo', 'moveFrom', 'moveAllTo', and 'moveAllFrom'.
50
+ *
51
+ * @default []
52
+ */
53
+ items?: string[];
54
54
 
55
55
  /**
56
- * Positions the toolbar before/after the ListBox.
57
- * The possible values are:
58
- * * Left: The toolbar will be positioned to the left of the ListBox.
59
- * * Right: The toolbar will be positioned to the right of the ListBox.
60
- *
61
- * @default 'Right'
62
- */
63
- position?: ToolBarPosition;
56
+ * Positions the toolbar before/after the ListBox.
57
+ * The possible values are:
58
+ * * Left: The toolbar will be positioned to the left of the ListBox.
59
+ * * Right: The toolbar will be positioned to the right of the ListBox.
60
+ *
61
+ * @default 'Right'
62
+ */
63
+ position?: ToolBarPosition;
64
64
 
65
65
  }
66
66
 
@@ -70,223 +70,223 @@ export interface ToolbarSettingsModel {
70
70
  export interface ListBoxModel extends DropDownBaseModel{
71
71
 
72
72
  /**
73
- * Sets the CSS classes to root element of this component, which helps to customize the
74
- * complete styles.
75
- *
76
- * @default ''
77
- */
78
- cssClass?: string;
79
-
80
- /**
81
- * Sets the specified item to the selected state or gets the selected item in the ListBox.
82
- *
83
- * @default []
84
- * @aspType object
85
- * @isGenericType true
86
- */
87
- value?: string[] | number[] | boolean[];
88
-
89
- /**
90
- * Sets the height of the ListBox component.
91
- *
92
- * @default ''
93
- */
94
- height?: number | string;
95
-
96
- /**
97
- * Specifies a value that indicates whether the component is enabled or not.
98
- *
99
- * @default true
100
-
101
- */
102
- enabled?: boolean;
103
-
104
- /**
105
- * Enable or disable persisting component's state between page reloads.
106
- * If enabled, following list of states will be persisted.
107
- * 1. value
108
- *
109
- * @default false
110
-
111
- */
112
- enablePersistence?: boolean;
113
-
114
- /**
115
- * If 'allowDragAndDrop' is set to true, then you can perform drag and drop of the list item.
116
- * ListBox contains same 'scope' property enables drag and drop between multiple ListBox.
117
- *
118
- * @default false
119
- */
120
- allowDragAndDrop?: boolean;
121
-
73
+ * Sets the CSS classes to root element of this component, which helps to customize the
74
+ * complete styles.
75
+ *
76
+ * @default ''
77
+ */
78
+ cssClass?: string;
79
+
80
+ /**
81
+ * Sets the specified item to the selected state or gets the selected item in the ListBox.
82
+ *
83
+ * @default []
84
+ * @aspType object
85
+ * @isGenericType true
86
+ */
87
+ value?: string[] | number[] | boolean[];
88
+
89
+ /**
90
+ * Sets the height of the ListBox component.
91
+ *
92
+ * @default ''
93
+ */
94
+ height?: number | string;
95
+
96
+ /**
97
+ * Specifies a value that indicates whether the component is enabled or not.
98
+ *
99
+ * @default true
100
+ * @deprecated
101
+ */
102
+ enabled?: boolean;
103
+
104
+ /**
105
+ * Enable or disable persisting component's state between page reloads.
106
+ * If enabled, following list of states will be persisted.
107
+ * 1. value
108
+ *
109
+ * @default false
110
+ * @deprecated
111
+ */
112
+ enablePersistence?: boolean;
113
+
114
+ /**
115
+ * If 'allowDragAndDrop' is set to true, then you can perform drag and drop of the list item.
116
+ * ListBox contains same 'scope' property enables drag and drop between multiple ListBox.
117
+ *
118
+ * @default false
119
+ */
120
+ allowDragAndDrop?: boolean;
121
+
122
+ /**
123
+ * Sets limitation to the value selection.
124
+ * based on the limitation, list selection will be prevented.
125
+ *
126
+ * @default 1000
127
+ */
128
+ maximumSelectionLength?: number;
129
+
130
+ /**
131
+ * To enable the filtering option in this component.
132
+ * Filter action performs when type in search box and collect the matched item through `filtering` event.
133
+ * If searching character does not match, `noRecordsTemplate` property value will be shown.
134
+ *
135
+ * @default false
136
+ */
137
+ allowFiltering?: boolean;
138
+
122
139
  /**
123
- * Sets limitation to the value selection.
124
- * based on the limitation, list selection will be prevented.
125
- *
126
- * @default 1000
127
- */
128
- maximumSelectionLength?: number;
140
+ * Defines the scope value to group sets of draggable and droppable ListBox.
141
+ * A draggable with the same scope value will be accepted by the droppable.
142
+ *
143
+ * @default ''
144
+ */
145
+ scope?: string;
129
146
 
130
147
  /**
131
- * To enable the filtering option in this component.
132
- * Filter action performs when type in search box and collect the matched item through `filtering` event.
133
- * If searching character does not match, `noRecordsTemplate` property value will be shown.
134
- *
135
- * @default false
136
- */
137
- allowFiltering?: boolean;
148
+ * When set to ‘false’, consider the `case-sensitive` on performing the search to find suggestions.
149
+ * By default consider the casing.
150
+ *
151
+ * @default true
152
+ * @private
153
+ */
154
+ ignoreCase?: boolean;
138
155
 
139
156
  /**
140
- * Defines the scope value to group sets of draggable and droppable ListBox.
141
- * A draggable with the same scope value will be accepted by the droppable.
142
- *
143
- * @default ''
144
- */
145
- scope?: string;
146
-
147
- /**
148
- * When set to ‘false’, consider the `case-sensitive` on performing the search to find suggestions.
149
- * By default consider the casing.
150
- *
151
- * @default true
152
- * @private
153
- */
154
- ignoreCase?: boolean;
155
-
156
- /**
157
- * Accepts the value to be displayed as a watermark text on the filter bar.
158
- *
159
- * @default null
160
- */
161
- filterBarPlaceholder?: string;
162
-
163
- /**
164
- * Specifies the `sortOrder` to sort the data source. The available type of sort orders are
165
- * * `None` - The data source is not sorting.
166
- * * `Ascending` - The data source is sorting with ascending order.
167
- * * `Descending` - The data source is sorting with descending order.
168
- *
169
- * @default null
170
- * @asptype object
171
- * @aspjsonconverterignore
172
- */
173
- sortOrder?: SortOrder;
174
-
175
- /**
176
- * Triggers while rendering each list item.
177
- *
178
- * @event beforeItemRender
179
- * @blazorProperty 'OnItemRender'
180
- */
181
- beforeItemRender?: EmitType<BeforeItemRenderEventArgs>;
182
-
183
- /**
184
- * Triggers on typing a character in the component.
185
- *
186
- * @event filtering
187
- * @blazorProperty 'ItemSelected'
188
- */
189
- filtering?: EmitType<FilteringEventArgs>;
190
-
191
- /**
192
- * Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.
193
- *
194
- * @event select
195
- * @private
196
- */
197
- select?: EmitType<SelectEventArgs>;
198
-
157
+ * Accepts the value to be displayed as a watermark text on the filter bar.
158
+ *
159
+ * @default null
160
+ */
161
+ filterBarPlaceholder?: string;
162
+
199
163
  /**
200
- * Triggers while select / unselect the list item.
201
- *
202
- * @event change
203
- * @blazorProperty 'ValueChange'
204
- */
205
- change?: EmitType<ListBoxChangeEventArgs>;
206
-
207
- /**
208
- * Triggers before dropping the list item on another list item.
209
- *
210
- * @event beforeDrop
211
- * @blazorProperty 'OnDrop'
212
- */
213
- beforeDrop?: EmitType<DropEventArgs>;
214
-
215
- /**
216
- * Triggers after dragging the list item.
217
- *
218
- * @event dragStart
219
- * @blazorProperty 'DragStart'
220
- */
221
- dragStart?: EmitType<DragEventArgs>;
222
-
223
- /**
224
- * Triggers while dragging the list item.
225
- *
226
- * @event drag
227
- * @blazorProperty 'Dragging'
228
- */
229
- drag?: EmitType<DragEventArgs>;
230
-
231
- /**
232
- * Triggers before dropping the list item on another list item.
233
- *
234
- * @event drop
235
- * @blazorProperty 'Dropped'
236
- */
237
- drop?: EmitType<DragEventArgs>;
164
+ * Specifies the `sortOrder` to sort the data source. The available type of sort orders are
165
+ * * `None` - The data source is not sorting.
166
+ * * `Ascending` - The data source is sorting with ascending order.
167
+ * * `Descending` - The data source is sorting with descending order.
168
+ *
169
+ * @default null
170
+ * @asptype object
171
+ * @aspjsonconverterignore
172
+ */
173
+ sortOrder?: SortOrder;
174
+
175
+ /**
176
+ * Triggers while rendering each list item.
177
+ *
178
+ * @event beforeItemRender
179
+ * @blazorProperty 'OnItemRender'
180
+ */
181
+ beforeItemRender?: EmitType<BeforeItemRenderEventArgs>;
182
+
183
+ /**
184
+ * Triggers on typing a character in the component.
185
+ *
186
+ * @event filtering
187
+ * @blazorProperty 'ItemSelected'
188
+ */
189
+ filtering?: EmitType<FilteringEventArgs>;
190
+
191
+ /**
192
+ * Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.
193
+ *
194
+ * @event select
195
+ * @private
196
+ */
197
+ select?: EmitType<SelectEventArgs>;
198
+
199
+ /**
200
+ * Triggers while select / unselect the list item.
201
+ *
202
+ * @event change
203
+ * @blazorProperty 'ValueChange'
204
+ */
205
+ change?: EmitType<ListBoxChangeEventArgs>;
206
+
207
+ /**
208
+ * Triggers before dropping the list item on another list item.
209
+ *
210
+ * @event beforeDrop
211
+ * @blazorProperty 'OnDrop'
212
+ */
213
+ beforeDrop?: EmitType<DropEventArgs>;
214
+
215
+ /**
216
+ * Triggers after dragging the list item.
217
+ *
218
+ * @event dragStart
219
+ * @blazorProperty 'DragStart'
220
+ */
221
+ dragStart?: EmitType<DragEventArgs>;
222
+
223
+ /**
224
+ * Triggers while dragging the list item.
225
+ *
226
+ * @event drag
227
+ * @blazorProperty 'Dragging'
228
+ */
229
+ drag?: EmitType<DragEventArgs>;
230
+
231
+ /**
232
+ * Triggers before dropping the list item on another list item.
233
+ *
234
+ * @event drop
235
+ * @blazorProperty 'Dropped'
236
+ */
237
+ drop?: EmitType<DragEventArgs>;
238
238
 
239
- /**
240
- * Triggers when data source is populated in the list.
241
- *
242
- * @event dataBound
243
- */
244
- dataBound?: EmitType<Object>;
239
+ /**
240
+ * Triggers when data source is populated in the list.
241
+ *
242
+ * @event dataBound
243
+ */
244
+ dataBound?: EmitType<Object>;
245
245
 
246
246
  /**
247
- * Accepts the template design and assigns it to the group headers present in the list.
248
- *
249
- * @default null
250
- * @private
251
- */
252
- groupTemplate?: string;
247
+ * Accepts the template design and assigns it to the group headers present in the list.
248
+ *
249
+ * @default null
250
+ * @private
251
+ */
252
+ groupTemplate?: string;
253
253
 
254
254
  /**
255
- * Accepts the template and assigns it to the list content of the ListBox component
256
- * when the data fetch request from the remote server fails.
257
- *
258
- * @default 'Request Failed'
259
- * @private
260
- */
261
- actionFailureTemplate?: string;
255
+ * Accepts the template and assigns it to the list content of the ListBox component
256
+ * when the data fetch request from the remote server fails.
257
+ *
258
+ * @default 'Request Failed'
259
+ * @private
260
+ */
261
+ actionFailureTemplate?: string;
262
262
 
263
- /**
264
- * specifies the z-index value of the component popup element.
265
- *
266
- * @default 1000
267
- * @private
268
- */
269
- zIndex?: number;
263
+ /**
264
+ * specifies the z-index value of the component popup element.
265
+ *
266
+ * @default 1000
267
+ * @private
268
+ */
269
+ zIndex?: number;
270
270
 
271
271
  /**
272
- * ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
273
- *
274
- * @private
275
- */
276
- ignoreAccent?: boolean;
272
+ * ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
273
+ *
274
+ * @private
275
+ */
276
+ ignoreAccent?: boolean;
277
277
 
278
278
  /**
279
- * Specifies the toolbar items and its position.
280
- *
281
- * @default { items: [], position: 'Right' }
282
- */
283
- toolbarSettings?: ToolbarSettingsModel;
279
+ * Specifies the toolbar items and its position.
280
+ *
281
+ * @default { items: [], position: 'Right' }
282
+ */
283
+ toolbarSettings?: ToolbarSettingsModel;
284
284
 
285
285
  /**
286
- * Specifies the selection mode and its type.
287
- *
288
- * @default { mode: 'Multiple', type: 'Default' }
289
- */
290
- selectionSettings?: SelectionSettingsModel;
286
+ * Specifies the selection mode and its type.
287
+ *
288
+ * @default { mode: 'Multiple', type: 'Default' }
289
+ */
290
+ selectionSettings?: SelectionSettingsModel;
291
291
 
292
292
  }
@@ -162,7 +162,7 @@ export declare class ListBox extends DropDownBase {
162
162
  * Specifies a value that indicates whether the component is enabled or not.
163
163
  *
164
164
  * @default true
165
-
165
+ * @deprecated
166
166
  */
167
167
  enabled: boolean;
168
168
  /**
@@ -171,7 +171,7 @@ export declare class ListBox extends DropDownBase {
171
171
  * 1. value
172
172
  *
173
173
  * @default false
174
-
174
+ * @deprecated
175
175
  */
176
176
  enablePersistence: boolean;
177
177
  /**
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference
21
21
  /// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
22
22
  import { Input } from '@syncfusion/ej2-inputs';