@syncfusion/ej2-dropdowns 25.2.3 → 25.2.5-30068

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 (418) hide show
  1. package/CHANGELOG.md +2186 -2140
  2. package/{README.md → ReadMe.md} +217 -217
  3. package/dist/ej2-dropdowns.umd.min.js +1 -10
  4. package/dist/ej2-dropdowns.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-dropdowns.es2015.js +293 -197
  6. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  7. package/dist/es6/ej2-dropdowns.es5.js +460 -363
  8. package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
  9. package/helpers/e2e/autocomplete.js +13 -13
  10. package/helpers/e2e/combobox.js +13 -13
  11. package/helpers/e2e/dropdownlist.js +13 -13
  12. package/helpers/e2e/index.js +3 -3
  13. package/helpers/e2e/listboxHelper.js +13 -13
  14. package/helpers/e2e/multiselect.js +13 -13
  15. package/license +2 -2
  16. package/package.json +80 -80
  17. package/src/auto-complete/auto-complete-model.d.ts +190 -190
  18. package/src/auto-complete/auto-complete.d.ts +12 -12
  19. package/src/auto-complete/auto-complete.js +21 -21
  20. package/src/combo-box/combo-box-model.d.ts +233 -233
  21. package/src/combo-box/combo-box.d.ts +27 -27
  22. package/src/combo-box/combo-box.js +29 -29
  23. package/src/common/virtual-scroll.js +46 -46
  24. package/src/drop-down-base/drop-down-base-model.d.ts +200 -200
  25. package/src/drop-down-base/drop-down-base.d.ts +24 -20
  26. package/src/drop-down-base/drop-down-base.js +60 -39
  27. package/src/drop-down-list/drop-down-list-model.d.ts +209 -209
  28. package/src/drop-down-list/drop-down-list.d.ts +5 -5
  29. package/src/drop-down-list/drop-down-list.js +53 -31
  30. package/src/drop-down-tree/drop-down-tree-model.d.ts +473 -473
  31. package/src/drop-down-tree/drop-down-tree.d.ts +1 -1
  32. package/src/drop-down-tree/drop-down-tree.js +29 -25
  33. package/src/list-box/list-box-model.d.ts +237 -237
  34. package/src/list-box/list-box.d.ts +2 -2
  35. package/src/list-box/list-box.js +19 -19
  36. package/src/mention/mention-model.d.ts +261 -261
  37. package/src/mention/mention.js +19 -19
  38. package/src/multi-select/float-label.js +1 -0
  39. package/src/multi-select/multi-select-model.d.ts +526 -526
  40. package/src/multi-select/multi-select.d.ts +2 -0
  41. package/src/multi-select/multi-select.js +182 -133
  42. package/styles/auto-complete/_all.scss +1 -1
  43. package/styles/auto-complete/_bds-definition.scss +2 -2
  44. package/styles/auto-complete/_bootstrap-dark-definition.scss +3 -3
  45. package/styles/auto-complete/_bootstrap-definition.scss +2 -2
  46. package/styles/auto-complete/_bootstrap4-definition.scss +11 -11
  47. package/styles/auto-complete/_bootstrap5-definition.scss +2 -2
  48. package/styles/auto-complete/_bootstrap5.3-definition.scss +2 -0
  49. package/styles/auto-complete/_fabric-dark-definition.scss +2 -2
  50. package/styles/auto-complete/_fabric-definition.scss +2 -2
  51. package/styles/auto-complete/_fluent-definition.scss +2 -2
  52. package/styles/auto-complete/_fluent2-definition.scss +2 -0
  53. package/styles/auto-complete/_fusionnew-definition.scss +2 -2
  54. package/styles/auto-complete/_highcontrast-definition.scss +2 -2
  55. package/styles/auto-complete/_highcontrast-light-definition.scss +2 -2
  56. package/styles/auto-complete/_material-dark-definition.scss +2 -2
  57. package/styles/auto-complete/_material-definition.scss +2 -2
  58. package/styles/auto-complete/_material3-definition.scss +2 -2
  59. package/styles/auto-complete/_tailwind-definition.scss +2 -2
  60. package/styles/auto-complete/fluent2.css +1129 -0
  61. package/styles/auto-complete/fluent2.scss +4 -0
  62. package/styles/auto-complete/material3-dark.css +1 -1
  63. package/styles/auto-complete/material3-dark.scss +1 -1
  64. package/styles/auto-complete/material3.css +1 -1
  65. package/styles/auto-complete/material3.scss +1 -1
  66. package/styles/bootstrap-dark.css +72 -300
  67. package/styles/bootstrap-dark.scss +28 -8
  68. package/styles/bootstrap.css +72 -306
  69. package/styles/bootstrap.scss +28 -8
  70. package/styles/bootstrap4.css +72 -350
  71. package/styles/bootstrap4.scss +28 -8
  72. package/styles/bootstrap5-dark.css +72 -301
  73. package/styles/bootstrap5-dark.scss +28 -8
  74. package/styles/bootstrap5.css +72 -301
  75. package/styles/bootstrap5.scss +28 -8
  76. package/styles/combo-box/_all.scss +1 -1
  77. package/styles/combo-box/_bds-definition.scss +2 -2
  78. package/styles/combo-box/_bootstrap-dark-definition.scss +2 -2
  79. package/styles/combo-box/_bootstrap-definition.scss +2 -2
  80. package/styles/combo-box/_bootstrap4-definition.scss +11 -11
  81. package/styles/combo-box/_bootstrap5-definition.scss +2 -2
  82. package/styles/combo-box/_bootstrap5.3-definition.scss +2 -0
  83. package/styles/combo-box/_fabric-dark-definition.scss +2 -2
  84. package/styles/combo-box/_fabric-definition.scss +2 -2
  85. package/styles/combo-box/_fluent-definition.scss +2 -2
  86. package/styles/combo-box/_fluent2-definition.scss +2 -0
  87. package/styles/combo-box/_fusionnew-definition.scss +2 -2
  88. package/styles/combo-box/_highcontrast-definition.scss +2 -2
  89. package/styles/combo-box/_highcontrast-light-definition.scss +3 -3
  90. package/styles/combo-box/_material-dark-definition.scss +2 -2
  91. package/styles/combo-box/_material-definition.scss +2 -2
  92. package/styles/combo-box/_material3-definition.scss +2 -2
  93. package/styles/combo-box/_tailwind-definition.scss +2 -2
  94. package/styles/combo-box/fluent2.css +1129 -0
  95. package/styles/combo-box/fluent2.scss +4 -0
  96. package/styles/combo-box/material3-dark.css +1 -1
  97. package/styles/combo-box/material3-dark.scss +1 -1
  98. package/styles/combo-box/material3.css +1 -1
  99. package/styles/combo-box/material3.scss +1 -1
  100. package/styles/drop-down-base/_all.scss +2 -2
  101. package/styles/drop-down-base/_bds-definition.scss +134 -134
  102. package/styles/drop-down-base/_bootstrap-dark-definition.scss +83 -83
  103. package/styles/drop-down-base/_bootstrap-definition.scss +83 -83
  104. package/styles/drop-down-base/_bootstrap4-definition.scss +90 -90
  105. package/styles/drop-down-base/_bootstrap5-definition.scss +117 -117
  106. package/styles/drop-down-base/_bootstrap5.3-definition.scss +117 -0
  107. package/styles/drop-down-base/_definition.scss +23 -23
  108. package/styles/drop-down-base/_fabric-dark-definition.scss +86 -86
  109. package/styles/drop-down-base/_fabric-definition.scss +84 -84
  110. package/styles/drop-down-base/_fluent-definition.scss +121 -121
  111. package/styles/drop-down-base/_fluent2-definition.scss +134 -0
  112. package/styles/drop-down-base/_fusionnew-definition.scss +117 -117
  113. package/styles/drop-down-base/_highcontrast-definition.scss +105 -105
  114. package/styles/drop-down-base/_highcontrast-light-definition.scss +105 -105
  115. package/styles/drop-down-base/_layout.scss +197 -187
  116. package/styles/drop-down-base/_material-dark-definition.scss +86 -86
  117. package/styles/drop-down-base/_material-definition.scss +85 -85
  118. package/styles/drop-down-base/_material3-definition.scss +76 -87
  119. package/styles/drop-down-base/_tailwind-definition.scss +129 -129
  120. package/styles/drop-down-base/_theme.scss +382 -391
  121. package/styles/drop-down-base/fluent2.css +1446 -0
  122. package/styles/drop-down-base/fluent2.scss +3 -0
  123. package/styles/drop-down-base/material3-dark.css +1 -1
  124. package/styles/drop-down-base/material3-dark.scss +1 -1
  125. package/styles/drop-down-base/material3.css +1 -1
  126. package/styles/drop-down-base/material3.scss +1 -1
  127. package/styles/drop-down-list/_all.scss +3 -3
  128. package/styles/drop-down-list/_bds-definition.scss +134 -134
  129. package/styles/drop-down-list/_bootstrap-dark-definition.scss +157 -157
  130. package/styles/drop-down-list/_bootstrap-definition.scss +156 -156
  131. package/styles/drop-down-list/_bootstrap4-definition.scss +202 -202
  132. package/styles/drop-down-list/_bootstrap5-definition.scss +201 -201
  133. package/styles/drop-down-list/_bootstrap5.3-definition.scss +201 -0
  134. package/styles/drop-down-list/_fabric-dark-definition.scss +128 -128
  135. package/styles/drop-down-list/_fabric-definition.scss +124 -124
  136. package/styles/drop-down-list/_fluent-definition.scss +185 -185
  137. package/styles/drop-down-list/_fluent2-definition.scss +134 -0
  138. package/styles/drop-down-list/_fusionnew-definition.scss +201 -201
  139. package/styles/drop-down-list/_highcontrast-definition.scss +142 -142
  140. package/styles/drop-down-list/_highcontrast-light-definition.scss +144 -144
  141. package/styles/drop-down-list/_layout.scss +317 -315
  142. package/styles/drop-down-list/_material-dark-definition.scss +143 -143
  143. package/styles/drop-down-list/_material-definition.scss +167 -167
  144. package/styles/drop-down-list/_material3-definition.scss +172 -180
  145. package/styles/drop-down-list/_tailwind-definition.scss +134 -134
  146. package/styles/drop-down-list/_theme.scss +10 -10
  147. package/styles/drop-down-list/bootstrap-dark.css +5 -0
  148. package/styles/drop-down-list/bootstrap.css +5 -0
  149. package/styles/drop-down-list/bootstrap4.css +5 -0
  150. package/styles/drop-down-list/bootstrap5-dark.css +5 -0
  151. package/styles/drop-down-list/bootstrap5.css +5 -0
  152. package/styles/drop-down-list/fabric-dark.css +5 -0
  153. package/styles/drop-down-list/fabric.css +5 -0
  154. package/styles/drop-down-list/fluent-dark.css +5 -0
  155. package/styles/drop-down-list/fluent.css +5 -0
  156. package/styles/drop-down-list/fluent2.css +1617 -0
  157. package/styles/drop-down-list/fluent2.scss +9 -0
  158. package/styles/drop-down-list/highcontrast-light.css +5 -0
  159. package/styles/drop-down-list/highcontrast.css +5 -0
  160. package/styles/drop-down-list/icons/_bds.scss +14 -14
  161. package/styles/drop-down-list/icons/_bootstrap-dark.scss +14 -14
  162. package/styles/drop-down-list/icons/_bootstrap.scss +14 -14
  163. package/styles/drop-down-list/icons/_bootstrap4.scss +14 -14
  164. package/styles/drop-down-list/icons/_bootstrap5.3.scss +14 -0
  165. package/styles/drop-down-list/icons/_bootstrap5.scss +14 -14
  166. package/styles/drop-down-list/icons/_fabric-dark.scss +14 -14
  167. package/styles/drop-down-list/icons/_fabric.scss +14 -14
  168. package/styles/drop-down-list/icons/_fluent.scss +14 -14
  169. package/styles/drop-down-list/icons/_fluent2.scss +14 -0
  170. package/styles/drop-down-list/icons/_fusionnew.scss +14 -14
  171. package/styles/drop-down-list/icons/_highcontrast-light.scss +14 -14
  172. package/styles/drop-down-list/icons/_highcontrast.scss +14 -14
  173. package/styles/drop-down-list/icons/_material-dark.scss +14 -14
  174. package/styles/drop-down-list/icons/_material.scss +14 -14
  175. package/styles/drop-down-list/icons/_material3.scss +14 -14
  176. package/styles/drop-down-list/icons/_tailwind.scss +14 -14
  177. package/styles/drop-down-list/material-dark.css +5 -0
  178. package/styles/drop-down-list/material.css +5 -0
  179. package/styles/drop-down-list/material3-dark.css +6 -1
  180. package/styles/drop-down-list/material3-dark.scss +1 -1
  181. package/styles/drop-down-list/material3.css +6 -1
  182. package/styles/drop-down-list/material3.scss +1 -1
  183. package/styles/drop-down-list/tailwind-dark.css +5 -0
  184. package/styles/drop-down-list/tailwind.css +5 -0
  185. package/styles/drop-down-tree/_all.scss +2 -2
  186. package/styles/drop-down-tree/_bds-definition.scss +67 -61
  187. package/styles/drop-down-tree/_bootstrap-dark-definition.scss +73 -72
  188. package/styles/drop-down-tree/_bootstrap-definition.scss +72 -71
  189. package/styles/drop-down-tree/_bootstrap4-definition.scss +74 -72
  190. package/styles/drop-down-tree/_bootstrap5-definition.scss +66 -60
  191. package/styles/drop-down-tree/_bootstrap5.3-definition.scss +66 -0
  192. package/styles/drop-down-tree/_fabric-dark-definition.scss +73 -72
  193. package/styles/drop-down-tree/_fabric-definition.scss +73 -72
  194. package/styles/drop-down-tree/_fluent-definition.scss +71 -66
  195. package/styles/drop-down-tree/_fluent2-definition.scss +76 -0
  196. package/styles/drop-down-tree/_fusionnew-definition.scss +61 -60
  197. package/styles/drop-down-tree/_highcontrast-definition.scss +73 -72
  198. package/styles/drop-down-tree/_highcontrast-light-definition.scss +73 -72
  199. package/styles/drop-down-tree/_layout.scss +1389 -1423
  200. package/styles/drop-down-tree/_material-dark-definition.scss +74 -73
  201. package/styles/drop-down-tree/_material-definition.scss +74 -73
  202. package/styles/drop-down-tree/_material3-definition.scss +75 -76
  203. package/styles/drop-down-tree/_tailwind-definition.scss +67 -61
  204. package/styles/drop-down-tree/_theme.scss +130 -132
  205. package/styles/drop-down-tree/bootstrap-dark.css +20 -21
  206. package/styles/drop-down-tree/bootstrap.css +20 -21
  207. package/styles/drop-down-tree/bootstrap4.css +21 -22
  208. package/styles/drop-down-tree/bootstrap5-dark.css +20 -19
  209. package/styles/drop-down-tree/bootstrap5.css +20 -19
  210. package/styles/drop-down-tree/fabric-dark.css +20 -21
  211. package/styles/drop-down-tree/fabric.css +20 -21
  212. package/styles/drop-down-tree/fluent-dark.css +28 -27
  213. package/styles/drop-down-tree/fluent.css +28 -27
  214. package/styles/drop-down-tree/fluent2.css +1671 -0
  215. package/styles/drop-down-tree/fluent2.scss +9 -0
  216. package/styles/drop-down-tree/highcontrast-light.css +20 -21
  217. package/styles/drop-down-tree/highcontrast.css +20 -15
  218. package/styles/drop-down-tree/icons/_bds.scss +11 -11
  219. package/styles/drop-down-tree/icons/_bootstrap-dark.scss +11 -11
  220. package/styles/drop-down-tree/icons/_bootstrap.scss +11 -11
  221. package/styles/drop-down-tree/icons/_bootstrap4.scss +11 -11
  222. package/styles/drop-down-tree/icons/_bootstrap5.3.scss +11 -0
  223. package/styles/drop-down-tree/icons/_bootstrap5.scss +11 -11
  224. package/styles/drop-down-tree/icons/_fabric-dark.scss +11 -11
  225. package/styles/drop-down-tree/icons/_fabric.scss +11 -11
  226. package/styles/drop-down-tree/icons/_fluent.scss +11 -11
  227. package/styles/drop-down-tree/icons/_fluent2.scss +14 -0
  228. package/styles/drop-down-tree/icons/_fusionnew.scss +11 -11
  229. package/styles/drop-down-tree/icons/_highcontrast-light.scss +11 -11
  230. package/styles/drop-down-tree/icons/_highcontrast.scss +11 -11
  231. package/styles/drop-down-tree/icons/_material-dark.scss +11 -11
  232. package/styles/drop-down-tree/icons/_material.scss +11 -11
  233. package/styles/drop-down-tree/icons/_material3.scss +11 -11
  234. package/styles/drop-down-tree/icons/_tailwind-dark.scss +11 -11
  235. package/styles/drop-down-tree/icons/_tailwind.scss +11 -11
  236. package/styles/drop-down-tree/material-dark.css +28 -34
  237. package/styles/drop-down-tree/material.css +31 -40
  238. package/styles/drop-down-tree/material3-dark.css +17 -21
  239. package/styles/drop-down-tree/material3-dark.scss +1 -1
  240. package/styles/drop-down-tree/material3.css +17 -21
  241. package/styles/drop-down-tree/material3.scss +1 -1
  242. package/styles/drop-down-tree/tailwind-dark.css +29 -20
  243. package/styles/drop-down-tree/tailwind.css +29 -20
  244. package/styles/fabric-dark.css +72 -300
  245. package/styles/fabric-dark.scss +28 -8
  246. package/styles/fabric.css +72 -306
  247. package/styles/fabric.scss +28 -8
  248. package/styles/fluent-dark.css +80 -315
  249. package/styles/fluent-dark.scss +28 -8
  250. package/styles/fluent.css +80 -315
  251. package/styles/fluent.scss +28 -8
  252. package/styles/fluent2.css +4541 -0
  253. package/styles/fluent2.scss +28 -0
  254. package/styles/highcontrast-light.css +72 -300
  255. package/styles/highcontrast-light.scss +28 -8
  256. package/styles/highcontrast.css +72 -300
  257. package/styles/highcontrast.scss +28 -8
  258. package/styles/list-box/_all.scss +2 -2
  259. package/styles/list-box/_bds-definition.scss +136 -136
  260. package/styles/list-box/_bigger.scss +164 -0
  261. package/styles/list-box/_bootstrap-dark-definition.scss +124 -126
  262. package/styles/list-box/_bootstrap-definition.scss +119 -119
  263. package/styles/list-box/_bootstrap4-definition.scss +124 -124
  264. package/styles/list-box/_bootstrap5-definition.scss +121 -120
  265. package/styles/list-box/_bootstrap5.3-definition.scss +121 -0
  266. package/styles/list-box/_fabric-dark-definition.scss +124 -126
  267. package/styles/list-box/_fabric-definition.scss +119 -119
  268. package/styles/list-box/_fluent-definition.scss +120 -120
  269. package/styles/list-box/_fluent2-definition.scss +119 -0
  270. package/styles/list-box/_fusionnew-definition.scss +111 -111
  271. package/styles/list-box/_highcontrast-definition.scss +119 -119
  272. package/styles/list-box/_highcontrast-light-definition.scss +124 -126
  273. package/styles/list-box/_layout.scss +455 -546
  274. package/styles/list-box/_material-dark-definition.scss +124 -126
  275. package/styles/list-box/_material-definition.scss +119 -119
  276. package/styles/list-box/_material3-definition.scss +119 -119
  277. package/styles/list-box/_tailwind-definition.scss +119 -119
  278. package/styles/list-box/_theme.scss +314 -382
  279. package/styles/list-box/bootstrap-dark.css +43 -215
  280. package/styles/list-box/bootstrap.css +43 -221
  281. package/styles/list-box/bootstrap4.css +42 -264
  282. package/styles/list-box/bootstrap5-dark.css +43 -215
  283. package/styles/list-box/bootstrap5.css +43 -215
  284. package/styles/list-box/fabric-dark.css +43 -215
  285. package/styles/list-box/fabric.css +43 -221
  286. package/styles/list-box/fluent-dark.css +43 -221
  287. package/styles/list-box/fluent.css +43 -221
  288. package/styles/list-box/fluent2.css +1896 -0
  289. package/styles/list-box/fluent2.scss +5 -0
  290. package/styles/list-box/highcontrast-light.css +43 -215
  291. package/styles/list-box/highcontrast.css +43 -221
  292. package/styles/list-box/icons/_bds.scss +25 -25
  293. package/styles/list-box/icons/_bootstrap-dark.scss +25 -25
  294. package/styles/list-box/icons/_bootstrap.scss +25 -25
  295. package/styles/list-box/icons/_bootstrap4.scss +25 -25
  296. package/styles/list-box/icons/_bootstrap5.3.scss +25 -0
  297. package/styles/list-box/icons/_bootstrap5.scss +25 -25
  298. package/styles/list-box/icons/_fabric-dark.scss +25 -25
  299. package/styles/list-box/icons/_fabric.scss +25 -25
  300. package/styles/list-box/icons/_fluent.scss +25 -25
  301. package/styles/list-box/icons/_fluent2.scss +25 -0
  302. package/styles/list-box/icons/_fusionnew.scss +25 -25
  303. package/styles/list-box/icons/_highcontrast-light.scss +25 -25
  304. package/styles/list-box/icons/_highcontrast.scss +25 -25
  305. package/styles/list-box/icons/_material-dark.scss +25 -25
  306. package/styles/list-box/icons/_material.scss +25 -25
  307. package/styles/list-box/icons/_material3.scss +25 -25
  308. package/styles/list-box/icons/_tailwind-dark.scss +25 -25
  309. package/styles/list-box/icons/_tailwind.scss +25 -25
  310. package/styles/list-box/material-dark.css +43 -215
  311. package/styles/list-box/material.css +43 -221
  312. package/styles/list-box/material3-dark.css +44 -216
  313. package/styles/list-box/material3-dark.scss +1 -1
  314. package/styles/list-box/material3.css +44 -216
  315. package/styles/list-box/material3.scss +1 -1
  316. package/styles/list-box/tailwind-dark.css +45 -233
  317. package/styles/list-box/tailwind.css +45 -233
  318. package/styles/material-dark.css +80 -325
  319. package/styles/material-dark.scss +28 -8
  320. package/styles/material.css +84 -354
  321. package/styles/material.scss +28 -8
  322. package/styles/material3-dark.css +79 -337
  323. package/styles/material3-dark.scss +28 -8
  324. package/styles/material3.css +79 -337
  325. package/styles/material3.scss +28 -8
  326. package/styles/mention/_all.scss +1 -1
  327. package/styles/mention/_bds-definition.scss +1 -1
  328. package/styles/mention/_bootstrap-dark-definition.scss +3 -3
  329. package/styles/mention/_bootstrap-definition.scss +3 -3
  330. package/styles/mention/_bootstrap4-definition.scss +3 -3
  331. package/styles/mention/_bootstrap5-definition.scss +1 -1
  332. package/styles/mention/_bootstrap5.3-definition.scss +1 -0
  333. package/styles/mention/_fabric-dark-definition.scss +2 -2
  334. package/styles/mention/_fabric-definition.scss +3 -3
  335. package/styles/mention/_fluent-definition.scss +1 -1
  336. package/styles/mention/_fluent2-definition.scss +1 -0
  337. package/styles/mention/_fusionnew-definition.scss +1 -1
  338. package/styles/mention/_highcontrast-definition.scss +3 -3
  339. package/styles/mention/_highcontrast-light-definition.scss +3 -3
  340. package/styles/mention/_layout.scss +6 -6
  341. package/styles/mention/_material-dark-definition.scss +3 -3
  342. package/styles/mention/_material-definition.scss +3 -3
  343. package/styles/mention/_material3-definition.scss +1 -1
  344. package/styles/mention/_tailwind-definition.scss +1 -1
  345. package/styles/mention/fluent2.css +1106 -0
  346. package/styles/mention/fluent2.scss +6 -0
  347. package/styles/mention/material3-dark.css +1 -1
  348. package/styles/mention/material3-dark.scss +1 -1
  349. package/styles/mention/material3.css +1 -1
  350. package/styles/mention/material3.scss +1 -1
  351. package/styles/multi-select/_all.scss +2 -2
  352. package/styles/multi-select/_bds-definition.scss +235 -235
  353. package/styles/multi-select/_bootstrap-dark-definition.scss +207 -207
  354. package/styles/multi-select/_bootstrap-definition.scss +196 -196
  355. package/styles/multi-select/_bootstrap4-definition.scss +278 -278
  356. package/styles/multi-select/_bootstrap5-definition.scss +230 -230
  357. package/styles/multi-select/_bootstrap5.3-definition.scss +230 -0
  358. package/styles/multi-select/_fabric-dark-definition.scss +192 -192
  359. package/styles/multi-select/_fabric-definition.scss +183 -183
  360. package/styles/multi-select/_fluent-definition.scss +246 -246
  361. package/styles/multi-select/_fluent2-definition.scss +237 -0
  362. package/styles/multi-select/_fusionnew-definition.scss +227 -227
  363. package/styles/multi-select/_highcontrast-definition.scss +303 -303
  364. package/styles/multi-select/_highcontrast-light-definition.scss +297 -297
  365. package/styles/multi-select/_layout.scss +2200 -2206
  366. package/styles/multi-select/_material-dark-definition.scss +241 -241
  367. package/styles/multi-select/_material-definition.scss +234 -234
  368. package/styles/multi-select/_material3-definition.scss +231 -246
  369. package/styles/multi-select/_tailwind-definition.scss +235 -235
  370. package/styles/multi-select/_theme.scss +585 -586
  371. package/styles/multi-select/bootstrap-dark.css +4 -10
  372. package/styles/multi-select/bootstrap.css +4 -10
  373. package/styles/multi-select/bootstrap4.css +4 -10
  374. package/styles/multi-select/bootstrap5-dark.css +4 -11
  375. package/styles/multi-select/bootstrap5.css +4 -11
  376. package/styles/multi-select/fabric-dark.css +4 -10
  377. package/styles/multi-select/fabric.css +4 -10
  378. package/styles/multi-select/fluent-dark.css +4 -11
  379. package/styles/multi-select/fluent.css +4 -11
  380. package/styles/multi-select/fluent2.css +2590 -0
  381. package/styles/multi-select/fluent2.scss +9 -0
  382. package/styles/multi-select/highcontrast-light.css +4 -10
  383. package/styles/multi-select/highcontrast.css +4 -10
  384. package/styles/multi-select/icons/_bds.scss +26 -26
  385. package/styles/multi-select/icons/_bootstrap-dark.scss +26 -26
  386. package/styles/multi-select/icons/_bootstrap.scss +26 -26
  387. package/styles/multi-select/icons/_bootstrap4.scss +37 -37
  388. package/styles/multi-select/icons/_bootstrap5.3.scss +26 -0
  389. package/styles/multi-select/icons/_bootstrap5.scss +26 -26
  390. package/styles/multi-select/icons/_fabric-dark.scss +26 -26
  391. package/styles/multi-select/icons/_fabric.scss +26 -26
  392. package/styles/multi-select/icons/_fluent.scss +55 -55
  393. package/styles/multi-select/icons/_fluent2.scss +692 -0
  394. package/styles/multi-select/icons/_fusionnew.scss +26 -26
  395. package/styles/multi-select/icons/_highcontrast-light.scss +26 -26
  396. package/styles/multi-select/icons/_highcontrast.scss +26 -26
  397. package/styles/multi-select/icons/_material-dark.scss +693 -693
  398. package/styles/multi-select/icons/_material.scss +693 -693
  399. package/styles/multi-select/icons/_material3.scss +695 -692
  400. package/styles/multi-select/icons/_tailwind.scss +26 -26
  401. package/styles/multi-select/material-dark.css +4 -10
  402. package/styles/multi-select/material.css +5 -11
  403. package/styles/multi-select/material3-dark.css +15 -18
  404. package/styles/multi-select/material3-dark.scss +1 -1
  405. package/styles/multi-select/material3.css +15 -18
  406. package/styles/multi-select/material3.scss +1 -1
  407. package/styles/multi-select/tailwind-dark.css +4 -10
  408. package/styles/multi-select/tailwind.css +4 -10
  409. package/styles/tailwind-dark.css +83 -319
  410. package/styles/tailwind-dark.scss +28 -8
  411. package/styles/tailwind.css +83 -319
  412. package/styles/tailwind.scss +28 -8
  413. package/.eslintrc.json +0 -260
  414. package/dist/ej2-dropdowns.min.js +0 -10
  415. package/dist/global/ej2-dropdowns.min.js +0 -11
  416. package/dist/global/ej2-dropdowns.min.js.map +0 -1
  417. package/dist/global/index.d.ts +0 -14
  418. package/tslint.json +0 -111
@@ -242,53 +242,53 @@ function revertHighlightSearch(content) {
242
242
  }
243
243
  }
244
244
 
245
- var __assign = (undefined && undefined.__assign) || function () {
246
- __assign = Object.assign || function(t) {
247
- for (var s, i = 1, n = arguments.length; i < n; i++) {
248
- s = arguments[i];
249
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
250
- t[p] = s[p];
251
- }
252
- return t;
253
- };
254
- return __assign.apply(this, arguments);
255
- };
256
- var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
257
- return new (P || (P = Promise))(function (resolve, reject) {
258
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
259
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
260
- function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
261
- step((generator = generator.apply(thisArg, _arguments || [])).next());
262
- });
263
- };
264
- var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
265
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
266
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
267
- function verb(n) { return function (v) { return step([n, v]); }; }
268
- function step(op) {
269
- if (f) throw new TypeError("Generator is already executing.");
270
- while (_) try {
271
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
272
- if (y = 0, t) op = [op[0] & 2, t.value];
273
- switch (op[0]) {
274
- case 0: case 1: t = op; break;
275
- case 4: _.label++; return { value: op[1], done: false };
276
- case 5: _.label++; y = op[1]; op = [0]; continue;
277
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
278
- default:
279
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
280
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
281
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
282
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
283
- if (t[2]) _.ops.pop();
284
- _.trys.pop(); continue;
285
- }
286
- op = body.call(thisArg, _);
287
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
288
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
289
- }
290
- };
291
- var VirtualScroll = /** @__PURE__ @class */ (function () {
245
+ var __assign = (undefined && undefined.__assign) || function () {
246
+ __assign = Object.assign || function(t) {
247
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
248
+ s = arguments[i];
249
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
250
+ t[p] = s[p];
251
+ }
252
+ return t;
253
+ };
254
+ return __assign.apply(this, arguments);
255
+ };
256
+ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
257
+ return new (P || (P = Promise))(function (resolve, reject) {
258
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
259
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
260
+ function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
261
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
262
+ });
263
+ };
264
+ var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
265
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
266
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
267
+ function verb(n) { return function (v) { return step([n, v]); }; }
268
+ function step(op) {
269
+ if (f) throw new TypeError("Generator is already executing.");
270
+ while (_) try {
271
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
272
+ if (y = 0, t) op = [op[0] & 2, t.value];
273
+ switch (op[0]) {
274
+ case 0: case 1: t = op; break;
275
+ case 4: _.label++; return { value: op[1], done: false };
276
+ case 5: _.label++; y = op[1]; op = [0]; continue;
277
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
278
+ default:
279
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
280
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
281
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
282
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
283
+ if (t[2]) _.ops.pop();
284
+ _.trys.pop(); continue;
285
+ }
286
+ op = body.call(thisArg, _);
287
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
288
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
289
+ }
290
+ };
291
+ var VirtualScroll = /** @class */ (function () {
292
292
  function VirtualScroll(parent) {
293
293
  var _this = this;
294
294
  this.sentinelInfo = {
@@ -794,26 +794,26 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
794
794
  * Common source
795
795
  */
796
796
 
797
- var __extends = (undefined && undefined.__extends) || (function () {
798
- var extendStatics = function (d, b) {
799
- extendStatics = Object.setPrototypeOf ||
800
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
801
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
802
- return extendStatics(d, b);
803
- };
804
- return function (d, b) {
805
- extendStatics(d, b);
806
- function __() { this.constructor = d; }
807
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
808
- };
809
- })();
810
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
811
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
812
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
813
- 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;
814
- return c > 3 && r && Object.defineProperty(target, key, r), r;
815
- };
816
- var FieldSettings = /** @__PURE__ @class */ (function (_super) {
797
+ var __extends = (undefined && undefined.__extends) || (function () {
798
+ var extendStatics = function (d, b) {
799
+ extendStatics = Object.setPrototypeOf ||
800
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
801
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
802
+ return extendStatics(d, b);
803
+ };
804
+ return function (d, b) {
805
+ extendStatics(d, b);
806
+ function __() { this.constructor = d; }
807
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
808
+ };
809
+ })();
810
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
811
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
812
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
813
+ 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;
814
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
815
+ };
816
+ var FieldSettings = /** @class */ (function (_super) {
817
817
  __extends(FieldSettings, _super);
818
818
  function FieldSettings() {
819
819
  return _super !== null && _super.apply(this, arguments) || this;
@@ -863,7 +863,7 @@ var HIDE_GROUPLIST = 'e-hide-group-header';
863
863
  /**
864
864
  * DropDownBase component will generate the list items based on given data and act as base class to drop-down related components
865
865
  */
866
- var DropDownBase = /** @__PURE__ @class */ (function (_super) {
866
+ var DropDownBase = /** @class */ (function (_super) {
867
867
  __extends(DropDownBase, _super);
868
868
  /**
869
869
  * * Constructor for DropDownBase class
@@ -875,7 +875,6 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
875
875
  function DropDownBase(options, element) {
876
876
  var _this = _super.call(this, options, element) || this;
877
877
  _this.preventChange = false;
878
- _this.isAngular = false;
879
878
  _this.isPreventChange = false;
880
879
  _this.isDynamicDataChange = false;
881
880
  _this.addedNewItem = false;
@@ -918,6 +917,8 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
918
917
  _this.appendUncheckList = false;
919
918
  _this.getInitialData = false;
920
919
  _this.preventPopupOpen = true;
920
+ _this.virtualSelectAllState = false;
921
+ _this.CurrentEvent = null;
921
922
  _this.virtualListInfo = {
922
923
  currentPageNumber: null,
923
924
  direction: null,
@@ -1517,8 +1518,8 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
1517
1518
  if (!isWhereExist_1) {
1518
1519
  _this.remoteDataCount = e.count;
1519
1520
  }
1520
- _this.dataCount = e.count;
1521
- _this.totalItemCount = e.count;
1521
+ _this.dataCount = !_this.virtualSelectAll ? e.count : _this.dataCount;
1522
+ _this.totalItemCount = !_this.virtualSelectAll ? e.count : _this.totalItemCount;
1522
1523
  ulElement = _this.renderItems(listItems, fields);
1523
1524
  _this.appendUncheckList = false;
1524
1525
  _this.onActionComplete(ulElement, listItems, e);
@@ -1544,6 +1545,12 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
1544
1545
  if (_this.isVirtualizationEnabled) {
1545
1546
  _this.getFilteringSkeletonCount();
1546
1547
  }
1548
+ if (_this.virtualSelectAll && _this.virtualSelectAllData) {
1549
+ _this.virtualSelectionAll(_this.virtualSelectAllState, _this.liCollections, _this.CurrentEvent);
1550
+ _this.virtualSelectAllState = false;
1551
+ _this.CurrentEvent = null;
1552
+ _this.virtualSelectAll = false;
1553
+ }
1547
1554
  }
1548
1555
  });
1549
1556
  }).catch(function (e) {
@@ -1595,11 +1602,11 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
1595
1602
  }
1596
1603
  }
1597
1604
  }
1598
- if (isReOrder && (!(_this.dataSource instanceof DataManager) && !_this.isCustomDataUpdated)) {
1605
+ if (isReOrder && (!(_this.dataSource instanceof DataManager) && !_this.isCustomDataUpdated) && !_this.virtualSelectAll) {
1599
1606
  // eslint-disable @typescript-eslint/no-explicit-any
1600
1607
  _this.dataCount = _this.totalItemCount = _this.virtualSelectAll ? listItems.length : listItems.count;
1601
1608
  }
1602
- listItems = _this.isVirtualizationEnabled && !_this.virtualSelectAll ? listItems.result : listItems;
1609
+ listItems = _this.isVirtualizationEnabled ? listItems.result : listItems;
1603
1610
  // eslint-enable @typescript-eslint/no-explicit-any
1604
1611
  var localDataArgs = { cancel: false, result: listItems };
1605
1612
  _this.isPreventChange = _this.isAngular && _this.preventChange ? true : _this.isPreventChange;
@@ -1638,6 +1645,9 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
1638
1645
  DropDownBase.prototype.updatePopupState = function () {
1639
1646
  // Used this method in component side.
1640
1647
  };
1648
+ DropDownBase.prototype.virtualSelectionAll = function (state, li, event) {
1649
+ // Used this method in component side.
1650
+ };
1641
1651
  DropDownBase.prototype.updateRemoteData = function () {
1642
1652
  this.setListData(this.dataSource, this.fields, this.query);
1643
1653
  };
@@ -1929,10 +1939,14 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
1929
1939
  }
1930
1940
  };
1931
1941
  DropDownBase.prototype.updateGroupFixedHeader = function (element, target) {
1932
- this.fixedHeaderElement.innerHTML = element.innerHTML;
1933
- this.fixedHeaderElement.style.position = 'fixed';
1934
- this.fixedHeaderElement.style.top = this.list.parentElement.offsetTop + this.list.offsetTop + 'px';
1935
- this.fixedHeaderElement.style.display = 'block';
1942
+ if (this.fixedHeaderElement) {
1943
+ if (!isNullOrUndefined(element.innerHTML)) {
1944
+ this.fixedHeaderElement.innerHTML = element.innerHTML;
1945
+ }
1946
+ this.fixedHeaderElement.style.position = 'fixed';
1947
+ this.fixedHeaderElement.style.top = (this.list.parentElement.offsetTop + this.list.offsetTop) - window.scrollY + 'px';
1948
+ this.fixedHeaderElement.style.display = 'block';
1949
+ }
1936
1950
  };
1937
1951
  DropDownBase.prototype.getValidLi = function () {
1938
1952
  if (this.isVirtualizationEnabled) {
@@ -2123,12 +2137,15 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
2123
2137
  * @param {string | number | boolean} value - Specifies given value.
2124
2138
  * @returns {number} Returns the index of the item.
2125
2139
  */
2126
- DropDownBase.prototype.getIndexByValueFilter = function (value) {
2140
+ DropDownBase.prototype.getIndexByValueFilter = function (value, ulElement) {
2127
2141
  var index;
2128
- var listItems = this.renderItems(this.selectData, this.fields);
2129
- if (listItems && listItems.children) {
2130
- for (var i = 0; i < listItems.children.length; i++) {
2131
- if (!isNullOrUndefined(value) && listItems.children[i].getAttribute('data-value') === value.toString()) {
2142
+ if (!ulElement) {
2143
+ return null;
2144
+ }
2145
+ var listItems = ulElement.querySelectorAll('li' + ':not(.e-list-group-item)');
2146
+ if (listItems) {
2147
+ for (var i = 0; i < listItems.length; i++) {
2148
+ if (!isNullOrUndefined(value) && listItems[i].getAttribute('data-value') === value.toString()) {
2132
2149
  index = i;
2133
2150
  break;
2134
2151
  }
@@ -2290,6 +2307,7 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
2290
2307
  var group = this.element.querySelector('select>optgroup');
2291
2308
  if ((this.fields.groupBy || !isNullOrUndefined(group)) && !this.isGroupChecking) {
2292
2309
  EventHandler.add(this.list, 'scroll', this.setFloatingHeader, this);
2310
+ EventHandler.add(document, 'scroll', this.updateGroupFixedHeader, this);
2293
2311
  }
2294
2312
  if (this.getModuleName() === 'dropdownbase') {
2295
2313
  if (this.element.getAttribute('tabindex')) {
@@ -2543,12 +2561,15 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
2543
2561
  * @returns {void}
2544
2562
  */
2545
2563
  DropDownBase.prototype.destroy = function () {
2546
- if (document.body.contains(this.list)) {
2547
- EventHandler.remove(this.list, 'scroll', this.setFloatingHeader);
2548
- if (!isNullOrUndefined(this.rippleFun)) {
2549
- this.rippleFun();
2564
+ if (document) {
2565
+ EventHandler.remove(document, 'scroll', this.updateGroupFixedHeader);
2566
+ if (document.body.contains(this.list)) {
2567
+ EventHandler.remove(this.list, 'scroll', this.setFloatingHeader);
2568
+ if (!isNullOrUndefined(this.rippleFun)) {
2569
+ this.rippleFun();
2570
+ }
2571
+ detach(this.list);
2550
2572
  }
2551
- detach(this.list);
2552
2573
  }
2553
2574
  this.liCollections = null;
2554
2575
  this.ulElement = null;
@@ -2627,25 +2648,25 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
2627
2648
  * export all modules from current location
2628
2649
  */
2629
2650
 
2630
- var __extends$1 = (undefined && undefined.__extends) || (function () {
2631
- var extendStatics = function (d, b) {
2632
- extendStatics = Object.setPrototypeOf ||
2633
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
2634
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
2635
- return extendStatics(d, b);
2636
- };
2637
- return function (d, b) {
2638
- extendStatics(d, b);
2639
- function __() { this.constructor = d; }
2640
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
2641
- };
2642
- })();
2643
- var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2644
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2645
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2646
- 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;
2647
- return c > 3 && r && Object.defineProperty(target, key, r), r;
2648
- };
2651
+ var __extends$1 = (undefined && undefined.__extends) || (function () {
2652
+ var extendStatics = function (d, b) {
2653
+ extendStatics = Object.setPrototypeOf ||
2654
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
2655
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
2656
+ return extendStatics(d, b);
2657
+ };
2658
+ return function (d, b) {
2659
+ extendStatics(d, b);
2660
+ function __() { this.constructor = d; }
2661
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
2662
+ };
2663
+ })();
2664
+ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2665
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2666
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2667
+ 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;
2668
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2669
+ };
2649
2670
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference
2650
2671
  /// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
2651
2672
  // don't use space in classnames
@@ -2694,7 +2715,7 @@ var inputObject = {
2694
2715
  * dropDownListObj.appendTo("#list");
2695
2716
  * ```
2696
2717
  */
2697
- var DropDownList = /** @__PURE__ @class */ (function (_super) {
2718
+ var DropDownList = /** @class */ (function (_super) {
2698
2719
  __extends$1(DropDownList, _super);
2699
2720
  /**
2700
2721
  * * Constructor for creating the DropDownList component.
@@ -2707,11 +2728,16 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
2707
2728
  var _this = _super.call(this, options, element) || this;
2708
2729
  _this.isListSearched = false;
2709
2730
  _this.preventChange = false;
2710
- _this.isAngular = false;
2711
2731
  _this.isTouched = false;
2712
2732
  _this.IsScrollerAtEnd = function () {
2713
2733
  return this.list && this.list.scrollTop + this.list.clientHeight >= this.list.scrollHeight;
2714
2734
  };
2735
+ _this.removeAllChildren = function (element) {
2736
+ while (element.children[0]) {
2737
+ this.removeAllChildren(element.children[0]);
2738
+ element.removeChild(element.children[0]);
2739
+ }
2740
+ };
2715
2741
  return _this;
2716
2742
  }
2717
2743
  /**
@@ -3601,7 +3627,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
3601
3627
  }
3602
3628
  if (this.allowFiltering && !this.enableVirtualization && this.getModuleName() !== 'autocomplete') {
3603
3629
  var value_4 = this.getItemData().value;
3604
- var filterIndex = this.getIndexByValueFilter(value_4);
3630
+ var filterIndex = this.getIndexByValueFilter(value_4, this.actionCompleteData.ulElement);
3605
3631
  if (!isNullOrUndefined(filterIndex)) {
3606
3632
  this.activeIndex = filterIndex;
3607
3633
  }
@@ -3944,7 +3970,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
3944
3970
  value = 'null';
3945
3971
  }
3946
3972
  if (this.allowFiltering && !this.enableVirtualization && this.getModuleName() !== 'autocomplete') {
3947
- var filterIndex = this.getIndexByValueFilter(value);
3973
+ var filterIndex = this.getIndexByValueFilter(value, this.actionCompleteData.ulElement);
3948
3974
  if (!isNullOrUndefined(filterIndex)) {
3949
3975
  this.activeIndex = filterIndex;
3950
3976
  }
@@ -3986,7 +4012,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
3986
4012
  this.inputElement.style.display = 'block';
3987
4013
  }
3988
4014
  if (!isNullOrUndefined(dataItem.value) && !this.enableVirtualization && this.allowFiltering) {
3989
- this.activeIndex = this.getIndexByValueFilter(dataItem.value);
4015
+ this.activeIndex = this.getIndexByValueFilter(dataItem.value, this.actionCompleteData.ulElement);
3990
4016
  }
3991
4017
  var clearIcon = dropDownListClasses.clearIcon;
3992
4018
  var isFilterElement = this.isFiltering() && this.filterInput && (this.getModuleName() === 'combobox');
@@ -5073,7 +5099,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
5073
5099
  _this.popupContentElement.setAttribute('id', 'no-record');
5074
5100
  }
5075
5101
  _this.inputElement.setAttribute('aria-expanded', 'true');
5076
- _this.inputElement.setAttribute('aria-controls', _this.element.id);
5102
+ _this.inputElement.setAttribute('aria-controls', _this.element.id + '_popup');
5077
5103
  var inputParent = _this.isFiltering() ? _this.filterInput.parentElement : _this.inputWrapper.container;
5078
5104
  addClass([inputParent], [dropDownListClasses.inputFocus]);
5079
5105
  var animModel = { name: 'FadeIn', duration: 100 };
@@ -5454,6 +5480,14 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
5454
5480
  this.keyboardEvent = null;
5455
5481
  EventHandler.remove(document, 'mousedown', this.onDocumentClick);
5456
5482
  this.isActive = false;
5483
+ if (this.getModuleName() === 'dropdownlist') {
5484
+ Input.destroy({
5485
+ element: this.filterInput,
5486
+ floatLabelType: this.floatLabelType,
5487
+ properties: { placeholder: this.filterBarPlaceholder },
5488
+ buttons: this.clearIconElement,
5489
+ }, this.clearIconElement);
5490
+ }
5457
5491
  this.filterInputObj = null;
5458
5492
  this.isDropDownClick = false;
5459
5493
  this.preventAutoFill = false;
@@ -5485,6 +5519,11 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
5485
5519
  }
5486
5520
  if (this.allowFiltering && this.getModuleName() === 'dropdownlist') {
5487
5521
  this.filterInput.removeAttribute('aria-activedescendant');
5522
+ this.filterInput.removeAttribute('aria-disabled');
5523
+ this.filterInput.removeAttribute('role');
5524
+ this.filterInput.removeAttribute('autocomplete');
5525
+ this.filterInput.removeAttribute('autocapitalize');
5526
+ this.filterInput.removeAttribute('spellcheck');
5488
5527
  }
5489
5528
  this.filterInput = null;
5490
5529
  }
@@ -5604,6 +5643,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
5604
5643
  DropDownList.prototype.destroyPopup = function () {
5605
5644
  this.isPopupOpen = false;
5606
5645
  this.isFilterFocus = false;
5646
+ this.inputElement.removeAttribute('aria-controls');
5607
5647
  if (this.popupObj) {
5608
5648
  this.popupObj.destroy();
5609
5649
  detach(this.popupObj.element);
@@ -5694,7 +5734,6 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
5694
5734
  attributes(this.targetElement(), { 'aria-label': this.getModuleName() });
5695
5735
  this.inputElement.setAttribute('aria-label', this.getModuleName());
5696
5736
  this.inputElement.setAttribute('aria-expanded', 'false');
5697
- this.inputElement.setAttribute('aria-controls', this.element.id + '_popups');
5698
5737
  }
5699
5738
  attributes(this.targetElement(), this.getAriaAttributes());
5700
5739
  this.updateDataAttribute(this.htmlAttributes);
@@ -5912,8 +5951,8 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
5912
5951
  DropDownList.prototype.onPropertyChanged = function (newProp, oldProp) {
5913
5952
  var _this = this;
5914
5953
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5915
- if (!isNullOrUndefined(newProp.dataSource) && !this.isTouched && (isNullOrUndefined(newProp.value) && isNullOrUndefined(newProp.index)) && !isNullOrUndefined(this.preselectedIndex)) {
5916
- newProp.index = this.preselectedIndex;
5954
+ if (!isNullOrUndefined(newProp.dataSource) && !this.isTouched && (isNullOrUndefined(newProp.value) && isNullOrUndefined(newProp.index)) && !isNullOrUndefined(this.preselectedIndex) && !isNullOrUndefined(this.index)) {
5955
+ newProp.index = this.index;
5917
5956
  }
5918
5957
  if (!isNullOrUndefined(newProp.value) || !isNullOrUndefined(newProp.index)) {
5919
5958
  this.isTouched = true;
@@ -6434,10 +6473,12 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
6434
6473
  this.inputWrapper.container.parentElement.insertBefore(this.element, this.inputWrapper.container);
6435
6474
  detach(this.inputWrapper.container);
6436
6475
  }
6437
- this.hiddenElement = null;
6476
+ delete this.hiddenElement;
6438
6477
  this.filterInput = null;
6439
- this.inputWrapper = null;
6440
6478
  this.keyboardModule = null;
6479
+ if (!isNullOrUndefined(this.ulElement)) {
6480
+ this.removeAllChildren(this.ulElement);
6481
+ }
6441
6482
  this.ulElement = null;
6442
6483
  this.list = null;
6443
6484
  this.clearIconElement = null;
@@ -6461,10 +6502,12 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
6461
6502
  Input.destroy({
6462
6503
  element: this.inputElement,
6463
6504
  floatLabelType: this.floatLabelType,
6464
- properties: this.properties
6505
+ properties: this.properties,
6506
+ buttons: this.inputWrapper.container.querySelectorAll('.e-input-group-icon')[0],
6465
6507
  }, this.clearButton);
6466
6508
  this.clearButton = null;
6467
6509
  this.inputElement = null;
6510
+ this.inputWrapper = null;
6468
6511
  _super.prototype.destroy.call(this);
6469
6512
  };
6470
6513
  /* eslint-disable valid-jsdoc, jsdoc/require-returns-description */
@@ -6597,25 +6640,25 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
6597
6640
  * export all modules from current location
6598
6641
  */
6599
6642
 
6600
- var __extends$2 = (undefined && undefined.__extends) || (function () {
6601
- var extendStatics = function (d, b) {
6602
- extendStatics = Object.setPrototypeOf ||
6603
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6604
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6605
- return extendStatics(d, b);
6606
- };
6607
- return function (d, b) {
6608
- extendStatics(d, b);
6609
- function __() { this.constructor = d; }
6610
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
6611
- };
6612
- })();
6613
- var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
6614
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6615
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
6616
- 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;
6617
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6618
- };
6643
+ var __extends$2 = (undefined && undefined.__extends) || (function () {
6644
+ var extendStatics = function (d, b) {
6645
+ extendStatics = Object.setPrototypeOf ||
6646
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6647
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6648
+ return extendStatics(d, b);
6649
+ };
6650
+ return function (d, b) {
6651
+ extendStatics(d, b);
6652
+ function __() { this.constructor = d; }
6653
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
6654
+ };
6655
+ })();
6656
+ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
6657
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6658
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
6659
+ 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;
6660
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6661
+ };
6619
6662
  var RTL = 'e-rtl';
6620
6663
  var DROPDOWNTREE = 'e-ddt';
6621
6664
  var HIDDENELEMENT = 'e-ddt-hidden';
@@ -6665,7 +6708,7 @@ var OVERFLOW_VIEW = 'e-overflow';
6665
6708
  var SHOW_TEXT = 'e-show-text';
6666
6709
  var TOTAL_COUNT_WRAPPER = 'e-total-count';
6667
6710
  var REMAIN_COUNT = 'e-wrap-count';
6668
- var Fields = /** @__PURE__ @class */ (function (_super) {
6711
+ var Fields = /** @class */ (function (_super) {
6669
6712
  __extends$2(Fields, _super);
6670
6713
  function Fields() {
6671
6714
  return _super !== null && _super.apply(this, arguments) || this;
@@ -6717,7 +6760,7 @@ var Fields = /** @__PURE__ @class */ (function (_super) {
6717
6760
  ], Fields.prototype, "value", void 0);
6718
6761
  return Fields;
6719
6762
  }(ChildProperty));
6720
- var TreeSettings = /** @__PURE__ @class */ (function (_super) {
6763
+ var TreeSettings = /** @class */ (function (_super) {
6721
6764
  __extends$2(TreeSettings, _super);
6722
6765
  function TreeSettings() {
6723
6766
  return _super !== null && _super.apply(this, arguments) || this;
@@ -6745,7 +6788,7 @@ var TreeSettings = /** @__PURE__ @class */ (function (_super) {
6745
6788
  * ddtObj.appendTo("#tree");
6746
6789
  * ```
6747
6790
  */
6748
- var DropDownTree = /** @__PURE__ @class */ (function (_super) {
6791
+ var DropDownTree = /** @class */ (function (_super) {
6749
6792
  __extends$2(DropDownTree, _super);
6750
6793
  function DropDownTree(options, element) {
6751
6794
  var _this = _super.call(this, options, element) || this;
@@ -8205,10 +8248,14 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
8205
8248
  focusedElement.focus();
8206
8249
  addClass([focusedElement], ['e-node-focus']);
8207
8250
  }
8208
- if (_this.checkSelectAll && _this.checkBoxElement) {
8209
- var wrap = closest(_this.checkBoxElement, '.' + CHECKBOXWRAP);
8210
- _this.changeState(wrap, 'check');
8211
- _this.checkSelectAll = false;
8251
+ if (_this.treeObj.checkedNodes.length > 0) {
8252
+ var nodes = _this.treeObj.element.querySelectorAll('li');
8253
+ var checkedNodes = _this.treeObj.element.querySelectorAll('li[aria-checked=true]');
8254
+ if ((checkedNodes.length === nodes.length || _this.checkSelectAll) && _this.checkBoxElement) {
8255
+ var wrap = closest(_this.checkBoxElement, '.' + CHECKBOXWRAP);
8256
+ _this.changeState(wrap, 'check');
8257
+ _this.checkSelectAll = false;
8258
+ }
8212
8259
  }
8213
8260
  if (_this.allowFiltering) {
8214
8261
  removeClass([_this.inputWrapper], [INPUTFOCUS]);
@@ -8556,6 +8603,8 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
8556
8603
  if (this.showCheckBox) {
8557
8604
  return;
8558
8605
  }
8606
+ var eventArgs = this.getEventArgs(args);
8607
+ this.trigger('select', eventArgs);
8559
8608
  var selectedText;
8560
8609
  if (args.isInteracted) {
8561
8610
  var id = getValue('id', args.nodeData).toString();
@@ -8583,8 +8632,6 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
8583
8632
  this.setMultiSelect();
8584
8633
  }
8585
8634
  }
8586
- var eventArgs = this.getEventArgs(args);
8587
- this.trigger('select', eventArgs);
8588
8635
  if (this.isValueChange && !this.changeOnBlur) {
8589
8636
  this.triggerChangeEvent(this.keyEventArgs);
8590
8637
  this.isValueChange = false;
@@ -9902,25 +9949,25 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
9902
9949
  * export all modules from current location
9903
9950
  */
9904
9951
 
9905
- var __extends$3 = (undefined && undefined.__extends) || (function () {
9906
- var extendStatics = function (d, b) {
9907
- extendStatics = Object.setPrototypeOf ||
9908
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9909
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
9910
- return extendStatics(d, b);
9911
- };
9912
- return function (d, b) {
9913
- extendStatics(d, b);
9914
- function __() { this.constructor = d; }
9915
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9916
- };
9917
- })();
9918
- var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
9919
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
9920
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9921
- 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;
9922
- return c > 3 && r && Object.defineProperty(target, key, r), r;
9923
- };
9952
+ var __extends$3 = (undefined && undefined.__extends) || (function () {
9953
+ var extendStatics = function (d, b) {
9954
+ extendStatics = Object.setPrototypeOf ||
9955
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9956
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
9957
+ return extendStatics(d, b);
9958
+ };
9959
+ return function (d, b) {
9960
+ extendStatics(d, b);
9961
+ function __() { this.constructor = d; }
9962
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9963
+ };
9964
+ })();
9965
+ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
9966
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
9967
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9968
+ 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;
9969
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
9970
+ };
9924
9971
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference
9925
9972
  /// <reference path='../drop-down-list/drop-down-list-model.d.ts'/>
9926
9973
  var SPINNER_CLASS = 'e-atc-spinner-icon';
@@ -9945,7 +9992,7 @@ var inputObject$1 = {
9945
9992
  * games.appendTo("#list");
9946
9993
  * ```
9947
9994
  */
9948
- var ComboBox = /** @__PURE__ @class */ (function (_super) {
9995
+ var ComboBox = /** @class */ (function (_super) {
9949
9996
  __extends$3(ComboBox, _super);
9950
9997
  /**
9951
9998
  * *Constructor for creating the component
@@ -10897,25 +10944,25 @@ var ComboBox = /** @__PURE__ @class */ (function (_super) {
10897
10944
  * export all modules from current location
10898
10945
  */
10899
10946
 
10900
- var __extends$4 = (undefined && undefined.__extends) || (function () {
10901
- var extendStatics = function (d, b) {
10902
- extendStatics = Object.setPrototypeOf ||
10903
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
10904
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
10905
- return extendStatics(d, b);
10906
- };
10907
- return function (d, b) {
10908
- extendStatics(d, b);
10909
- function __() { this.constructor = d; }
10910
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
10911
- };
10912
- })();
10913
- var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
10914
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
10915
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
10916
- 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;
10917
- return c > 3 && r && Object.defineProperty(target, key, r), r;
10918
- };
10947
+ var __extends$4 = (undefined && undefined.__extends) || (function () {
10948
+ var extendStatics = function (d, b) {
10949
+ extendStatics = Object.setPrototypeOf ||
10950
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
10951
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
10952
+ return extendStatics(d, b);
10953
+ };
10954
+ return function (d, b) {
10955
+ extendStatics(d, b);
10956
+ function __() { this.constructor = d; }
10957
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
10958
+ };
10959
+ })();
10960
+ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
10961
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
10962
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
10963
+ 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;
10964
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
10965
+ };
10919
10966
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference
10920
10967
  /// <reference path='../combo-box/combo-box-model.d.ts'/>
10921
10968
  dropDownListClasses.root = 'e-autocomplete';
@@ -10931,7 +10978,7 @@ dropDownListClasses.icon = 'e-input-group-icon e-ddl-icon e-search-icon';
10931
10978
  * atcObj.appendTo("#list");
10932
10979
  * ```
10933
10980
  */
10934
- var AutoComplete = /** @__PURE__ @class */ (function (_super) {
10981
+ var AutoComplete = /** @class */ (function (_super) {
10935
10982
  __extends$4(AutoComplete, _super);
10936
10983
  /**
10937
10984
  * * Constructor for creating the widget
@@ -11459,6 +11506,7 @@ function createFloatLabel(overAllWrapper, searchWrapper, element, inputElement,
11459
11506
  element.id = id;
11460
11507
  if (!isNullOrUndefined(element.id) && element.id !== '') {
11461
11508
  floatLabelElement.id = 'label_' + element.id.replace(/ /g, '_');
11509
+ floatLabelElement.setAttribute('for', element.id);
11462
11510
  attributes(inputElement, { 'aria-labelledby': floatLabelElement.id });
11463
11511
  }
11464
11512
  if (!isNullOrUndefined(inputElement.placeholder) && inputElement.placeholder !== '') {
@@ -11586,25 +11634,25 @@ function encodePlaceholder(placeholder) {
11586
11634
  }
11587
11635
  /* eslint-enable valid-jsdoc */
11588
11636
 
11589
- var __extends$5 = (undefined && undefined.__extends) || (function () {
11590
- var extendStatics = function (d, b) {
11591
- extendStatics = Object.setPrototypeOf ||
11592
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
11593
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
11594
- return extendStatics(d, b);
11595
- };
11596
- return function (d, b) {
11597
- extendStatics(d, b);
11598
- function __() { this.constructor = d; }
11599
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
11600
- };
11601
- })();
11602
- var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
11603
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
11604
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
11605
- 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;
11606
- return c > 3 && r && Object.defineProperty(target, key, r), r;
11607
- };
11637
+ var __extends$5 = (undefined && undefined.__extends) || (function () {
11638
+ var extendStatics = function (d, b) {
11639
+ extendStatics = Object.setPrototypeOf ||
11640
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
11641
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
11642
+ return extendStatics(d, b);
11643
+ };
11644
+ return function (d, b) {
11645
+ extendStatics(d, b);
11646
+ function __() { this.constructor = d; }
11647
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
11648
+ };
11649
+ })();
11650
+ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
11651
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
11652
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
11653
+ 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;
11654
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
11655
+ };
11608
11656
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference
11609
11657
  /// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
11610
11658
  var FOCUS = 'e-input-focus';
@@ -11661,7 +11709,7 @@ var FILTERINPUT = 'e-input-filter';
11661
11709
  * </script>
11662
11710
  * ```
11663
11711
  */
11664
- var MultiSelect = /** @__PURE__ @class */ (function (_super) {
11712
+ var MultiSelect = /** @class */ (function (_super) {
11665
11713
  __extends$5(MultiSelect, _super);
11666
11714
  /**
11667
11715
  * Constructor for creating the DropDownList widget.
@@ -11680,6 +11728,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
11680
11728
  _this.resetMainList = null;
11681
11729
  _this.resetFilteredData = false;
11682
11730
  _this.preventSetCurrentData = false;
11731
+ _this.isSelectAllLoop = false;
11683
11732
  _this.scrollFocusStatus = false;
11684
11733
  _this.keyDownStatus = false;
11685
11734
  _this.IsScrollerAtEnd = function () {
@@ -12007,7 +12056,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
12007
12056
  if (!isNullOrUndefined(this.value)) {
12008
12057
  this.tempValues = this.allowObjectBinding ? this.value.slice() : this.value.slice();
12009
12058
  }
12010
- var customValue = this.allowObjectBinding ? this.getDataByValue(value) : this.getFormattedValue(value);
12059
+ var customValue = this.allowObjectBinding ? this.getDataByValue(this.getFormattedValue(value)) : this.getFormattedValue(value);
12011
12060
  if (this.allowCustomValue && (value !== 'false' && customValue === false || (!isNullOrUndefined(customValue) &&
12012
12061
  customValue.toString() === 'NaN'))) {
12013
12062
  customValue = value;
@@ -12381,6 +12430,9 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
12381
12430
  if (this.enableVirtualization && (this.viewPortInfo.endIndex != 0) && !this.virtualSelectAll) {
12382
12431
  return this.virtualFilterQuery(filterQuery);
12383
12432
  }
12433
+ if (this.virtualSelectAll) {
12434
+ return query ? query.take(this.maximumSelectionLength).requiresCount() : this.query ? this.query.take(this.maximumSelectionLength).requiresCount() : new Query().take(this.maximumSelectionLength).requiresCount();
12435
+ }
12384
12436
  return query ? query : this.query ? this.query : new Query();
12385
12437
  }
12386
12438
  };
@@ -13550,7 +13602,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
13550
13602
  this.removeChipSelection();
13551
13603
  this.addChipSelection(temp, e);
13552
13604
  }
13553
- var currentChip = this.allowObjectBinding ? this.getDataByValue(selectedElem.getAttribute('data-value')) : selectedElem.getAttribute('data-value');
13605
+ var currentChip = this.allowObjectBinding ? this.getDataByValue(this.getFormattedValue(selectedElem.getAttribute('data-value'))) : selectedElem.getAttribute('data-value');
13554
13606
  this.removeValue(currentChip, e);
13555
13607
  this.makeTextBoxEmpty();
13556
13608
  }
@@ -13737,7 +13789,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
13737
13789
  if (this.enabled && !this.readonly) {
13738
13790
  var element = e.target.parentElement;
13739
13791
  var customVal = element.getAttribute('data-value');
13740
- var value = this.allowObjectBinding ? this.getDataByValue(customVal) : this.getFormattedValue(customVal);
13792
+ var value = this.allowObjectBinding ? this.getDataByValue(this.getFormattedValue(customVal)) : this.getFormattedValue(customVal);
13741
13793
  if (this.allowCustomValue && ((customVal !== 'false' && value === false) ||
13742
13794
  (!isNullOrUndefined(value) && value.toString() === 'NaN'))) {
13743
13795
  value = customVal;
@@ -13828,8 +13880,8 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
13828
13880
  dropDownBaseClasses.selected;
13829
13881
  if (index !== -1) {
13830
13882
  var currentValue = this.allowObjectBinding ? getValue(((this.fields.value) ? this.fields.value : ''), value) : value;
13831
- var element_1 = this.findListElement(this.list, 'li', 'data-value', currentValue);
13832
- var val_1 = this.getDataByValue(value);
13883
+ var element_1 = this.virtualSelectAll ? null : this.findListElement(this.list, 'li', 'data-value', currentValue);
13884
+ var val_1 = this.allowObjectBinding ? value : this.getDataByValue(value);
13833
13885
  var eventArgs = {
13834
13886
  e: eve,
13835
13887
  item: element_1,
@@ -14017,9 +14069,9 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
14017
14069
  this.value = [];
14018
14070
  }
14019
14071
  var currentValue = this.allowObjectBinding ? this.getDataByValue(value) : value;
14020
- if ((this.allowObjectBinding && !this.isObjectInArray(value, this.value)) || (!this.allowObjectBinding && this.value.indexOf(currentValue) < 0)) {
14072
+ if ((this.allowObjectBinding && !this.isObjectInArray(this.getDataByValue(value), this.value)) || (!this.allowObjectBinding && this.value.indexOf(currentValue) < 0)) {
14021
14073
  this.setProperties({ value: [].concat([], this.value, [currentValue]) }, true);
14022
- if (this.enableVirtualization) {
14074
+ if (this.enableVirtualization && !this.isSelectAllLoop) {
14023
14075
  var data = this.viewWrapper.innerHTML;
14024
14076
  var temp = void 0;
14025
14077
  data += (this.value.length === 1) ? '' : this.delimiterChar + ' ';
@@ -14860,7 +14912,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
14860
14912
  if (!this.enableVirtualization) {
14861
14913
  this.listData = this.mainData;
14862
14914
  }
14863
- if (!isNullOrUndefined(this.hiddenElement)) {
14915
+ if (!isNullOrUndefined(this.hiddenElement) && !this.enableVirtualization) {
14864
14916
  this.hiddenElement.innerHTML = '';
14865
14917
  }
14866
14918
  if (!isNullOrUndefined(this.value)) {
@@ -14888,7 +14940,27 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
14888
14940
  var textValues = this.text != null && this.text != "" ? this.text + ',' + temp : temp;
14889
14941
  data += temp + delimiterChar + ' ';
14890
14942
  text.push(textValues);
14891
- hiddenElementContent += "<option selected value=\"" + valueItem + "\">" + index + "</option>";
14943
+ hiddenElementContent = this.hiddenElement.innerHTML;
14944
+ if ((e && e.currentTarget && e.currentTarget.classList.contains('e-chips-close')) || (e && (e.key === 'Backspace'))) {
14945
+ var item = e.target.parentElement.getAttribute('data-value');
14946
+ if (e.key === 'Backspace') {
14947
+ var lastChild = this.hiddenElement.lastChild;
14948
+ if (lastChild) {
14949
+ this.hiddenElement.removeChild(lastChild);
14950
+ }
14951
+ }
14952
+ else {
14953
+ this.hiddenElement.childNodes.forEach(function (option) {
14954
+ if (option.value === item) {
14955
+ option.parentNode.removeChild(option);
14956
+ }
14957
+ });
14958
+ }
14959
+ hiddenElementContent = this.hiddenElement.innerHTML;
14960
+ }
14961
+ else {
14962
+ hiddenElementContent += "<option selected value=\"" + value + "\">" + index + "</option>";
14963
+ }
14892
14964
  break;
14893
14965
  }
14894
14966
  else {
@@ -15107,7 +15179,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
15107
15179
  };
15108
15180
  MultiSelect.prototype.updateListSelection = function (li, e, length) {
15109
15181
  var customVal = li.getAttribute('data-value');
15110
- var value = this.allowObjectBinding ? this.getDataByValue(customVal) : this.getFormattedValue(customVal);
15182
+ var value = this.allowObjectBinding ? this.getDataByValue(this.getFormattedValue(customVal)) : this.getFormattedValue(customVal);
15111
15183
  if (this.allowCustomValue && ((customVal !== 'false' && value === false) ||
15112
15184
  (!isNullOrUndefined(value) && value.toString() === 'NaN'))) {
15113
15185
  value = customVal;
@@ -15813,14 +15885,14 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
15813
15885
  var li;
15814
15886
  if (!isNullOrUndefined(this.list)) {
15815
15887
  li = this.list.querySelectorAll(state ?
15816
- 'li.e-list-item:not([aria-selected="true"]):not(.e-reorder-hide)' :
15817
- 'li.e-list-item[aria-selected="true"]:not(.e-reorder-hide)');
15888
+ 'li.e-list-item:not([aria-selected="true"]):not(.e-reorder-hide):not(.e-virtual-list)' :
15889
+ 'li.e-list-item[aria-selected="true"]:not(.e-reorder-hide):not(.e-virtual-list)');
15818
15890
  }
15819
15891
  if (this.value && this.value.length && event && event.target
15820
15892
  && closest(event.target, '.e-close-hooker') && this.allowFiltering) {
15821
15893
  li = this.mainList.querySelectorAll(state ?
15822
- 'li.e-list-item:not([aria-selected="true"]):not(.e-reorder-hide)' :
15823
- 'li.e-list-item[aria-selected="true"]:not(.e-reorder-hide)');
15894
+ 'li.e-list-item:not([aria-selected="true"]):not(.e-reorder-hide):not(.e-virtual-list)' :
15895
+ 'li.e-list-item[aria-selected="true"]:not(.e-reorder-hide):not(.e-virtual-list)');
15824
15896
  }
15825
15897
  if (this.enableGroupCheckBox && this.mode === 'CheckBox' && !isNullOrUndefined(this.fields.groupBy)) {
15826
15898
  var target = (event ? (this.groupTemplate ? closest(event.target, '.e-list-group-item') : event.target) : null);
@@ -15882,6 +15954,108 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
15882
15954
  }
15883
15955
  this.addValidInputClass();
15884
15956
  };
15957
+ MultiSelect.prototype.virtualSelectionAll = function (state, li, event) {
15958
+ var _this = this;
15959
+ var index = 0;
15960
+ var length = li.length;
15961
+ var count = this.maximumSelectionLength;
15962
+ if (state) {
15963
+ length = this.virtualSelectAllData && this.virtualSelectAllData.length != 0 ? this.virtualSelectAllData.length : length;
15964
+ this.listData = this.virtualSelectAllData;
15965
+ var ulElement = this.createListItems(this.virtualSelectAllData.slice(0, 30), this.fields);
15966
+ var firstItems = ulElement.querySelectorAll('li');
15967
+ var fragment_1 = document.createDocumentFragment();
15968
+ firstItems.forEach(function (node) {
15969
+ fragment_1.appendChild(node.cloneNode(true));
15970
+ });
15971
+ li.forEach(function (node) {
15972
+ fragment_1.appendChild(node.cloneNode(true));
15973
+ });
15974
+ var concatenatedNodeList = fragment_1.childNodes;
15975
+ if (this.virtualSelectAllData instanceof Array) {
15976
+ while (index < length && index <= 50 && index < count) {
15977
+ this.isSelectAllTarget = (length === index + 1);
15978
+ if (concatenatedNodeList[index]) {
15979
+ var value = this.allowObjectBinding ? this.getDataByValue(concatenatedNodeList[index].getAttribute('data-value')) : this.getFormattedValue(concatenatedNodeList[index].getAttribute('data-value'));
15980
+ if (((!this.allowObjectBinding && this.value && this.value.indexOf(value) >= 0) || (this.allowObjectBinding && this.indexOfObjectInArray(value, this.value) >= 0))) {
15981
+ index++;
15982
+ continue;
15983
+ }
15984
+ this.updateListSelection(concatenatedNodeList[index], event, length - index);
15985
+ }
15986
+ else {
15987
+ var value = getValue((this.fields.value) ? this.fields.value : '', this.virtualSelectAllData[index]);
15988
+ value = this.allowObjectBinding ? this.getDataByValue(value) : value;
15989
+ if (((!this.allowObjectBinding && this.value && this.value.indexOf(value) >= 0) || (this.allowObjectBinding && this.indexOfObjectInArray(value, this.value) >= 0))) {
15990
+ index++;
15991
+ continue;
15992
+ }
15993
+ if (this.value && value != null && Array.isArray(this.value) && ((!this.allowObjectBinding && this.value.indexOf(value) < 0) || (this.allowObjectBinding && !this.isObjectInArray(value, this.value)))) {
15994
+ this.dispatchSelect(value, event, null, false, length);
15995
+ }
15996
+ }
15997
+ index++;
15998
+ }
15999
+ if (length > 50) {
16000
+ setTimeout(function () {
16001
+ if (_this.virtualSelectAllData && _this.virtualSelectAllData.length > 0) {
16002
+ _this.virtualSelectAllData.map(function (obj) {
16003
+ if (_this.value && obj[_this.fields.value] != null && Array.isArray(_this.value) && ((!_this.allowObjectBinding && _this.value.indexOf(obj[_this.fields.value]) < 0) || (_this.allowObjectBinding && !_this.isObjectInArray(obj[_this.fields.value], _this.value)))) {
16004
+ _this.dispatchSelect(obj[_this.fields.value], event, null, false, length);
16005
+ }
16006
+ });
16007
+ }
16008
+ _this.updatedataValueItems(event);
16009
+ _this.isSelectAllLoop = false;
16010
+ if (!_this.changeOnBlur) {
16011
+ _this.updateValueState(event, _this.value, _this.tempValues);
16012
+ _this.isSelectAll = _this.isSelectAll ? !_this.isSelectAll : _this.isSelectAll;
16013
+ }
16014
+ _this.updateHiddenElement();
16015
+ if (_this.popupWrapper && li[index - 1] && li[index - 1].classList.contains('e-item-focus')) {
16016
+ var selectAllParent = document.getElementsByClassName('e-selectall-parent')[0];
16017
+ if (selectAllParent && selectAllParent.classList.contains('e-item-focus')) {
16018
+ li[index - 1].classList.remove('e-item-focus');
16019
+ }
16020
+ }
16021
+ }, 0);
16022
+ }
16023
+ }
16024
+ }
16025
+ else {
16026
+ if (this.virtualSelectAllData && this.virtualSelectAllData.length > 0) {
16027
+ this.virtualSelectAllData.map(function (obj) {
16028
+ _this.virtualSelectAll = true;
16029
+ _this.removeValue(_this.value[index], event, _this.value.length - index);
16030
+ });
16031
+ }
16032
+ this.updatedataValueItems(event);
16033
+ if (!this.changeOnBlur) {
16034
+ this.updateValueState(event, this.value, this.tempValues);
16035
+ this.isSelectAll = this.isSelectAll ? !this.isSelectAll : this.isSelectAll;
16036
+ }
16037
+ this.updateHiddenElement();
16038
+ this.value = [];
16039
+ this.virtualSelectAll = false;
16040
+ if (!isNullOrUndefined(this.viewPortInfo.startIndex) && !isNullOrUndefined(this.viewPortInfo.endIndex)) {
16041
+ this.notify("setCurrentViewDataAsync", {
16042
+ component: this.getModuleName(),
16043
+ module: "VirtualScroll",
16044
+ });
16045
+ }
16046
+ }
16047
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
16048
+ var virtualTrackElement = this.list.getElementsByClassName('e-virtual-ddl')[0];
16049
+ if (virtualTrackElement) {
16050
+ (virtualTrackElement).style = this.GetVirtualTrackHeight();
16051
+ }
16052
+ this.UpdateSkeleton();
16053
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
16054
+ var virtualContentElement = this.list.getElementsByClassName('e-virtual-ddl-content')[0];
16055
+ if (virtualContentElement) {
16056
+ (virtualContentElement).style = this.getTransformValues();
16057
+ }
16058
+ };
15885
16059
  MultiSelect.prototype.updateValue = function (event, li, state) {
15886
16060
  var _this = this;
15887
16061
  var length = li.length;
@@ -15905,95 +16079,14 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
15905
16079
  }
15906
16080
  if (!beforeSelectArgs.preventSelectEvent) {
15907
16081
  if (this.enableVirtualization) {
15908
- if (state) {
15909
- this.virtualSelectAll = true;
16082
+ this.virtualSelectAll = true;
16083
+ this.virtualSelectAllState = state;
16084
+ this.CurrentEvent = event;
16085
+ if (!this.virtualSelectAllData) {
15910
16086
  this.resetList(this.dataSource, this.fields, new Query());
15911
- if (this.virtualSelectAllData instanceof Array) {
15912
- for (var i = 0; i < this.virtualSelectAllData.length; i++) {
15913
- if (li[this.skeletonCount + i]) {
15914
- var value_2 = this.allowObjectBinding ? this.getDataByValue(li[this.skeletonCount + i].getAttribute('data-value')) : this.getFormattedValue(li[this.skeletonCount + i].getAttribute('data-value'));
15915
- if (((!this.allowObjectBinding && this.value && this.value.indexOf(value_2) === 1) || (this.allowObjectBinding && this.indexOfObjectInArray(value_2, this.value) === 1))) {
15916
- continue;
15917
- }
15918
- this.updateListSelection(li[this.skeletonCount + i], event, length - i);
15919
- }
15920
- else {
15921
- if (this.fields) {
15922
- var value_3 = getValue(this.fields.value, this.virtualSelectAllData[i]);
15923
- value_3 = this.allowObjectBinding ? this.getDataByValue(value_3) : value_3;
15924
- if (((!this.allowObjectBinding && this.value && this.value.indexOf(value_3) === 1) || (this.allowObjectBinding && this.indexOfObjectInArray(value_3, this.value) === 1))) {
15925
- continue;
15926
- }
15927
- if (this.value && value_3 != null && Array.isArray(this.value) && ((!this.allowObjectBinding && this.value.indexOf(value_3) < 0) || (this.allowObjectBinding && !this.isObjectInArray(value_3, this.value)))) {
15928
- this.dispatchSelect(value_3, event, null, false, length);
15929
- }
15930
- }
15931
- }
15932
- }
15933
- if (this.virtualSelectAllData && this.value.length != this.virtualSelectAllData.length && this.virtualItemStartIndex != 0) {
15934
- if (this.virtualItemStartIndex > this.itemCount) {
15935
- for (var i = 0; i < this.itemCount; i++) {
15936
- if (this.fields) {
15937
- var value_4 = getValue(this.fields.value, this.virtualSelectAllData[i]);
15938
- value_4 = this.allowObjectBinding ? this.getDataByValue(value_4) : value_4;
15939
- if (this.value && value_4 != null && Array.isArray(this.value) && ((!this.allowObjectBinding && this.value.indexOf(value_4) < 0) || (this.allowObjectBinding && !this.isObjectInArray(value_4, this.value)))) {
15940
- this.setProperties({ value: [].concat([], this.value, this.allowObjectBinding ? [this.virtualSelectAllData[i]] : [value_4]) }, true);
15941
- }
15942
- }
15943
- }
15944
- }
15945
- }
15946
- else {
15947
- for (var i = 0; i < this.virtualItemStartIndex; i++) {
15948
- if (this.fields) {
15949
- var value = getValue(this.fields.value, this.virtualSelectAllData[i]);
15950
- value = this.allowObjectBinding ? this.getDataByValue(value) : value;
15951
- if (Array.isArray(this.value) && ((!this.allowObjectBinding && this.value.indexOf(value) < 0) || (this.allowObjectBinding && !this.isObjectInArray(value, this.value)))) {
15952
- this.setProperties({ value: [].concat([], this.value, this.allowObjectBinding ? [this.virtualSelectAllData[i]] : [value]) }, true);
15953
- }
15954
- }
15955
- }
15956
- }
15957
- }
15958
16087
  }
15959
- else {
15960
- while (index_2 < this.value.length && index_2 <= 50 && index_2 < count_1 && this.value.length > 0) {
15961
- this.removeValue(this.value[index_2], event, this.value.length - index_2);
15962
- index_2++;
15963
- }
15964
- if (length > 50) {
15965
- setTimeout(function () {
15966
- while (index_2 < _this.value.length && index_2 < count_1 && _this.value.length > 0) {
15967
- _this.removeValue(value[index_2], event, _this.value.length - index_2);
15968
- index_2++;
15969
- }
15970
- _this.updatedataValueItems(event);
15971
- if (!_this.changeOnBlur) {
15972
- _this.updateValueState(event, _this.value, _this.tempValues);
15973
- _this.isSelectAll = _this.isSelectAll ? !_this.isSelectAll : _this.isSelectAll;
15974
- }
15975
- _this.updateHiddenElement();
15976
- }, 0);
15977
- }
15978
- this.value = [];
15979
- this.virtualSelectAll = false;
15980
- if (!isNullOrUndefined(this.viewPortInfo.startIndex) && !isNullOrUndefined(this.viewPortInfo.endIndex)) {
15981
- this.notify("setCurrentViewDataAsync", {
15982
- component: this.getModuleName(),
15983
- module: "VirtualScroll",
15984
- });
15985
- }
15986
- }
15987
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
15988
- var virtualTrackElement = this.list.getElementsByClassName('e-virtual-ddl')[0];
15989
- if (virtualTrackElement) {
15990
- (virtualTrackElement).style = this.GetVirtualTrackHeight();
15991
- }
15992
- this.UpdateSkeleton();
15993
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
15994
- var virtualContentElement = this.list.getElementsByClassName('e-virtual-ddl-content')[0];
15995
- if (virtualContentElement) {
15996
- (virtualContentElement).style = this.getTransformValues();
16088
+ if (this.virtualSelectAllData) {
16089
+ this.virtualSelectionAll(state, li, event);
15997
16090
  }
15998
16091
  }
15999
16092
  else {
@@ -16032,29 +16125,29 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
16032
16125
  }
16033
16126
  }
16034
16127
  else {
16035
- for (var i_1 = 0; i_1 < li.length && i_1 < count_1; i_1++) {
16128
+ for (var i = 0; i < li.length && i < count_1; i++) {
16036
16129
  this.removeHover();
16037
- var customVal = li[i_1].getAttribute('data-value');
16038
- var value_5 = this.getFormattedValue(customVal);
16039
- value_5 = this.allowObjectBinding ? this.getDataByValue(value_5) : value_5;
16130
+ var customVal = li[i].getAttribute('data-value');
16131
+ var value = this.getFormattedValue(customVal);
16132
+ value = this.allowObjectBinding ? this.getDataByValue(value) : value;
16040
16133
  var mainElement = this.mainList ? this.mainList.querySelectorAll(state ?
16041
16134
  'li.e-list-item:not([aria-selected="true"]):not(.e-reorder-hide)' :
16042
- 'li.e-list-item[aria-selected="true"]:not(.e-reorder-hide)')[i_1] : null;
16135
+ 'li.e-list-item[aria-selected="true"]:not(.e-reorder-hide)')[i] : null;
16043
16136
  if (state) {
16044
16137
  this.value = !this.value ? [] : this.value;
16045
- if ((!this.allowObjectBinding && this.value.indexOf(value_5) < 0) || (this.allowObjectBinding && !this.isObjectInArray(value_5, this.value))) {
16046
- this.setProperties({ value: [].concat([], this.value, [value_5]) }, true);
16138
+ if ((!this.allowObjectBinding && this.value.indexOf(value) < 0) || (this.allowObjectBinding && !this.isObjectInArray(value, this.value))) {
16139
+ this.setProperties({ value: [].concat([], this.value, [value]) }, true);
16047
16140
  }
16048
16141
  this.removeFocus();
16049
- this.addListSelection(li[i_1], mainElement);
16142
+ this.addListSelection(li[i], mainElement);
16050
16143
  this.updateChipStatus();
16051
16144
  this.checkMaxSelection();
16052
16145
  }
16053
16146
  else {
16054
- this.removeAllItems(value_5, event, false, li[i_1], mainElement);
16147
+ this.removeAllItems(value, event, false, li[i], mainElement);
16055
16148
  }
16056
16149
  if (this.enableGroupCheckBox) {
16057
- this.findGroupStart(li[i_1]);
16150
+ this.findGroupStart(li[i]);
16058
16151
  }
16059
16152
  }
16060
16153
  if (!state) {
@@ -16082,7 +16175,9 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
16082
16175
  this.updateValueState(event, this.value, this.tempValues);
16083
16176
  this.isSelectAll = this.isSelectAll ? !this.isSelectAll : this.isSelectAll;
16084
16177
  }
16085
- this.updateHiddenElement();
16178
+ if ((this.enableVirtualization && this.value && this.value.length > 0) || !this.enableVirtualization) {
16179
+ this.updateHiddenElement();
16180
+ }
16086
16181
  }
16087
16182
  };
16088
16183
  MultiSelect.prototype.updateHiddenElement = function () {
@@ -16127,7 +16222,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
16127
16222
  }
16128
16223
  if (this.mode === 'CheckBox') {
16129
16224
  this.updateDelimView();
16130
- if (!(isRemoveAll || this.isSelectAll) && this.isSelectAllTarget) {
16225
+ if ((!(isRemoveAll || this.isSelectAll) && this.isSelectAllTarget) || (this.isSelectAll && this.isSelectAllTarget)) {
16131
16226
  this.updateDelimeter(this.delimiterChar, event);
16132
16227
  }
16133
16228
  this.refreshInputHight();
@@ -16188,7 +16283,9 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
16188
16283
  }
16189
16284
  this.selectAllItem(state, event);
16190
16285
  }
16191
- this.virtualSelectAll = false;
16286
+ if (!(this.dataSource instanceof DataManager) || (this.dataSource instanceof DataManager && this.virtualSelectAllData)) {
16287
+ this.virtualSelectAll = false;
16288
+ }
16192
16289
  };
16193
16290
  /**
16194
16291
  * Get the properties to be maintained in the persisted state.
@@ -17267,7 +17364,7 @@ var FOCUS$1 = 'e-input-focus';
17267
17364
  /**
17268
17365
  * The Multiselect enable CheckBoxSelection call this inject module.
17269
17366
  */
17270
- var CheckBoxSelection = /** @__PURE__ @class */ (function () {
17367
+ var CheckBoxSelection = /** @class */ (function () {
17271
17368
  function CheckBoxSelection(parent) {
17272
17369
  this.activeLi = [];
17273
17370
  this.activeEle = [];
@@ -17779,31 +17876,31 @@ var CheckBoxSelection = /** @__PURE__ @class */ (function () {
17779
17876
  * export all modules from current location
17780
17877
  */
17781
17878
 
17782
- var __extends$6 = (undefined && undefined.__extends) || (function () {
17783
- var extendStatics = function (d, b) {
17784
- extendStatics = Object.setPrototypeOf ||
17785
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
17786
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
17787
- return extendStatics(d, b);
17788
- };
17789
- return function (d, b) {
17790
- extendStatics(d, b);
17791
- function __() { this.constructor = d; }
17792
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
17793
- };
17794
- })();
17795
- var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
17796
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
17797
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17798
- 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;
17799
- return c > 3 && r && Object.defineProperty(target, key, r), r;
17800
- };
17879
+ var __extends$6 = (undefined && undefined.__extends) || (function () {
17880
+ var extendStatics = function (d, b) {
17881
+ extendStatics = Object.setPrototypeOf ||
17882
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
17883
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
17884
+ return extendStatics(d, b);
17885
+ };
17886
+ return function (d, b) {
17887
+ extendStatics(d, b);
17888
+ function __() { this.constructor = d; }
17889
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
17890
+ };
17891
+ })();
17892
+ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
17893
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
17894
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17895
+ 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;
17896
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
17897
+ };
17801
17898
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference
17802
17899
  /// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
17803
17900
  /**
17804
17901
  * Defines the Selection settings of List Box.
17805
17902
  */
17806
- var SelectionSettings = /** @__PURE__ @class */ (function (_super) {
17903
+ var SelectionSettings = /** @class */ (function (_super) {
17807
17904
  __extends$6(SelectionSettings, _super);
17808
17905
  function SelectionSettings() {
17809
17906
  return _super !== null && _super.apply(this, arguments) || this;
@@ -17825,7 +17922,7 @@ var SelectionSettings = /** @__PURE__ @class */ (function (_super) {
17825
17922
  /**
17826
17923
  * Defines the toolbar settings of List Box.
17827
17924
  */
17828
- var ToolbarSettings = /** @__PURE__ @class */ (function (_super) {
17925
+ var ToolbarSettings = /** @class */ (function (_super) {
17829
17926
  __extends$6(ToolbarSettings, _super);
17830
17927
  function ToolbarSettings() {
17831
17928
  return _super !== null && _super.apply(this, arguments) || this;
@@ -17858,7 +17955,7 @@ var ToolbarSettings = /** @__PURE__ @class */ (function (_super) {
17858
17955
  * </script>
17859
17956
  * ```
17860
17957
  */
17861
- var ListBox = /** @__PURE__ @class */ (function (_super) {
17958
+ var ListBox = /** @class */ (function (_super) {
17862
17959
  __extends$6(ListBox, _super);
17863
17960
  /**
17864
17961
  * Constructor for creating the ListBox component.
@@ -20313,30 +20410,30 @@ var listBoxClasses = {
20313
20410
  * export all modules from current location
20314
20411
  */
20315
20412
 
20316
- var __extends$7 = (undefined && undefined.__extends) || (function () {
20317
- var extendStatics = function (d, b) {
20318
- extendStatics = Object.setPrototypeOf ||
20319
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
20320
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
20321
- return extendStatics(d, b);
20322
- };
20323
- return function (d, b) {
20324
- extendStatics(d, b);
20325
- function __() { this.constructor = d; }
20326
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
20327
- };
20328
- })();
20329
- var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
20330
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20331
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20332
- 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;
20333
- return c > 3 && r && Object.defineProperty(target, key, r), r;
20334
- };
20413
+ var __extends$7 = (undefined && undefined.__extends) || (function () {
20414
+ var extendStatics = function (d, b) {
20415
+ extendStatics = Object.setPrototypeOf ||
20416
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
20417
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
20418
+ return extendStatics(d, b);
20419
+ };
20420
+ return function (d, b) {
20421
+ extendStatics(d, b);
20422
+ function __() { this.constructor = d; }
20423
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
20424
+ };
20425
+ })();
20426
+ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
20427
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20428
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
20429
+ 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;
20430
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
20431
+ };
20335
20432
  /**
20336
20433
  * The Mention component is used to list someone or something based on user input in textarea, input,
20337
20434
  * or any other editable element from which the user can select.
20338
20435
  */
20339
- var Mention = /** @__PURE__ @class */ (function (_super) {
20436
+ var Mention = /** @class */ (function (_super) {
20340
20437
  __extends$7(Mention, _super);
20341
20438
  /**
20342
20439
  * * Constructor for creating the widget