@syncfusion/ej2-dropdowns 23.2.7 → 24.1.41-566987

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 (353) hide show
  1. package/CHANGELOG.md +2040 -2150
  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 +710 -172
  6. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  7. package/dist/es6/ej2-dropdowns.es5.js +871 -332
  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 +188 -188
  18. package/src/auto-complete/auto-complete.d.ts +12 -12
  19. package/src/auto-complete/auto-complete.js +30 -25
  20. package/src/combo-box/combo-box-model.d.ts +224 -224
  21. package/src/combo-box/combo-box.d.ts +27 -27
  22. package/src/combo-box/combo-box.js +103 -31
  23. package/src/common/incremental-search.d.ts +1 -1
  24. package/src/common/incremental-search.js +50 -7
  25. package/src/common/interface.d.ts +2 -0
  26. package/src/common/virtual-scroll.js +68 -47
  27. package/src/drop-down-base/drop-down-base-model.d.ts +200 -200
  28. package/src/drop-down-base/drop-down-base.d.ts +38 -18
  29. package/src/drop-down-base/drop-down-base.js +174 -60
  30. package/src/drop-down-list/drop-down-list-model.d.ts +202 -202
  31. package/src/drop-down-list/drop-down-list.d.ts +14 -7
  32. package/src/drop-down-list/drop-down-list.js +325 -61
  33. package/src/drop-down-tree/drop-down-tree-model.d.ts +468 -468
  34. package/src/drop-down-tree/drop-down-tree.js +43 -39
  35. package/src/list-box/list-box-model.d.ts +193 -193
  36. package/src/list-box/list-box.d.ts +2 -2
  37. package/src/list-box/list-box.js +27 -20
  38. package/src/mention/mention-model.d.ts +261 -261
  39. package/src/mention/mention.js +24 -20
  40. package/src/multi-select/checkbox-selection.js +4 -1
  41. package/src/multi-select/multi-select-model.d.ts +512 -512
  42. package/src/multi-select/multi-select.js +23 -21
  43. package/styles/auto-complete/_all.scss +1 -1
  44. package/styles/auto-complete/_bds-definition.scss +2 -0
  45. package/styles/auto-complete/_bootstrap-dark-definition.scss +3 -3
  46. package/styles/auto-complete/_bootstrap-definition.scss +2 -2
  47. package/styles/auto-complete/_bootstrap4-definition.scss +11 -11
  48. package/styles/auto-complete/_bootstrap5-definition.scss +2 -2
  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/_fusionnew-definition.scss +2 -2
  53. package/styles/auto-complete/_highcontrast-definition.scss +2 -2
  54. package/styles/auto-complete/_highcontrast-light-definition.scss +2 -2
  55. package/styles/auto-complete/_material-dark-definition.scss +2 -2
  56. package/styles/auto-complete/_material-definition.scss +2 -2
  57. package/styles/auto-complete/_material3-definition.scss +2 -2
  58. package/styles/auto-complete/_tailwind-definition.scss +2 -2
  59. package/styles/auto-complete/material3-dark.scss +1 -1
  60. package/styles/auto-complete/material3.scss +1 -1
  61. package/styles/bootstrap-dark.css +16 -9
  62. package/styles/bootstrap.css +16 -9
  63. package/styles/bootstrap4.css +11 -9
  64. package/styles/bootstrap5-dark.css +11 -9
  65. package/styles/bootstrap5.css +11 -9
  66. package/styles/combo-box/_all.scss +1 -1
  67. package/styles/combo-box/_bds-definition.scss +2 -0
  68. package/styles/combo-box/_bootstrap-dark-definition.scss +2 -2
  69. package/styles/combo-box/_bootstrap-definition.scss +2 -2
  70. package/styles/combo-box/_bootstrap4-definition.scss +11 -11
  71. package/styles/combo-box/_bootstrap5-definition.scss +2 -2
  72. package/styles/combo-box/_fabric-dark-definition.scss +2 -2
  73. package/styles/combo-box/_fabric-definition.scss +2 -2
  74. package/styles/combo-box/_fluent-definition.scss +2 -2
  75. package/styles/combo-box/_fusionnew-definition.scss +2 -2
  76. package/styles/combo-box/_highcontrast-definition.scss +2 -2
  77. package/styles/combo-box/_highcontrast-light-definition.scss +3 -3
  78. package/styles/combo-box/_material-dark-definition.scss +2 -2
  79. package/styles/combo-box/_material-definition.scss +2 -2
  80. package/styles/combo-box/_material3-definition.scss +2 -2
  81. package/styles/combo-box/_tailwind-definition.scss +2 -2
  82. package/styles/combo-box/material3-dark.scss +1 -1
  83. package/styles/combo-box/material3.scss +1 -1
  84. package/styles/drop-down-base/_all.scss +2 -2
  85. package/styles/drop-down-base/_bds-definition.scss +134 -0
  86. package/styles/drop-down-base/_bootstrap-dark-definition.scss +83 -83
  87. package/styles/drop-down-base/_bootstrap-definition.scss +83 -83
  88. package/styles/drop-down-base/_bootstrap4-definition.scss +90 -90
  89. package/styles/drop-down-base/_bootstrap5-definition.scss +117 -117
  90. package/styles/drop-down-base/_definition.scss +23 -23
  91. package/styles/drop-down-base/_fabric-dark-definition.scss +86 -86
  92. package/styles/drop-down-base/_fabric-definition.scss +84 -84
  93. package/styles/drop-down-base/_fluent-definition.scss +121 -121
  94. package/styles/drop-down-base/_fusionnew-definition.scss +117 -117
  95. package/styles/drop-down-base/_highcontrast-definition.scss +105 -105
  96. package/styles/drop-down-base/_highcontrast-light-definition.scss +105 -105
  97. package/styles/drop-down-base/_layout.scss +187 -195
  98. package/styles/drop-down-base/_material-dark-definition.scss +86 -86
  99. package/styles/drop-down-base/_material-definition.scss +85 -85
  100. package/styles/drop-down-base/_material3-definition.scss +87 -87
  101. package/styles/drop-down-base/_tailwind-definition.scss +129 -129
  102. package/styles/drop-down-base/_theme.scss +391 -391
  103. package/styles/drop-down-base/bootstrap-dark.css +0 -8
  104. package/styles/drop-down-base/bootstrap.css +0 -8
  105. package/styles/drop-down-base/bootstrap4.css +0 -8
  106. package/styles/drop-down-base/bootstrap5-dark.css +0 -8
  107. package/styles/drop-down-base/bootstrap5.css +0 -8
  108. package/styles/drop-down-base/fabric-dark.css +0 -8
  109. package/styles/drop-down-base/fabric.css +0 -8
  110. package/styles/drop-down-base/fluent-dark.css +0 -8
  111. package/styles/drop-down-base/fluent.css +0 -8
  112. package/styles/drop-down-base/highcontrast-light.css +0 -8
  113. package/styles/drop-down-base/highcontrast.css +0 -8
  114. package/styles/drop-down-base/material-dark.css +0 -8
  115. package/styles/drop-down-base/material.css +0 -8
  116. package/styles/drop-down-base/material3-dark.css +0 -8
  117. package/styles/drop-down-base/material3-dark.scss +1 -1
  118. package/styles/drop-down-base/material3.css +0 -8
  119. package/styles/drop-down-base/material3.scss +1 -1
  120. package/styles/drop-down-base/tailwind-dark.css +0 -8
  121. package/styles/drop-down-base/tailwind.css +0 -8
  122. package/styles/drop-down-list/_all.scss +3 -3
  123. package/styles/drop-down-list/_bds-definition.scss +134 -0
  124. package/styles/drop-down-list/_bootstrap-dark-definition.scss +157 -157
  125. package/styles/drop-down-list/_bootstrap-definition.scss +156 -156
  126. package/styles/drop-down-list/_bootstrap4-definition.scss +202 -202
  127. package/styles/drop-down-list/_bootstrap5-definition.scss +201 -201
  128. package/styles/drop-down-list/_fabric-dark-definition.scss +128 -128
  129. package/styles/drop-down-list/_fabric-definition.scss +124 -124
  130. package/styles/drop-down-list/_fluent-definition.scss +185 -185
  131. package/styles/drop-down-list/_fusionnew-definition.scss +201 -201
  132. package/styles/drop-down-list/_highcontrast-definition.scss +142 -142
  133. package/styles/drop-down-list/_highcontrast-light-definition.scss +144 -144
  134. package/styles/drop-down-list/_layout.scss +315 -310
  135. package/styles/drop-down-list/_material-dark-definition.scss +143 -143
  136. package/styles/drop-down-list/_material-definition.scss +167 -167
  137. package/styles/drop-down-list/_material3-definition.scss +180 -180
  138. package/styles/drop-down-list/_tailwind-definition.scss +134 -134
  139. package/styles/drop-down-list/_theme.scss +10 -10
  140. package/styles/drop-down-list/bootstrap-dark.css +5 -0
  141. package/styles/drop-down-list/bootstrap.css +5 -0
  142. package/styles/drop-down-list/bootstrap4.css +5 -0
  143. package/styles/drop-down-list/bootstrap5-dark.css +5 -0
  144. package/styles/drop-down-list/bootstrap5.css +5 -0
  145. package/styles/drop-down-list/fabric-dark.css +5 -0
  146. package/styles/drop-down-list/fabric.css +5 -0
  147. package/styles/drop-down-list/fluent-dark.css +5 -0
  148. package/styles/drop-down-list/fluent.css +5 -0
  149. package/styles/drop-down-list/highcontrast-light.css +5 -0
  150. package/styles/drop-down-list/highcontrast.css +5 -0
  151. package/styles/drop-down-list/icons/_bds.scss +14 -0
  152. package/styles/drop-down-list/icons/_bootstrap-dark.scss +14 -14
  153. package/styles/drop-down-list/icons/_bootstrap.scss +14 -14
  154. package/styles/drop-down-list/icons/_bootstrap4.scss +14 -14
  155. package/styles/drop-down-list/icons/_bootstrap5.scss +14 -14
  156. package/styles/drop-down-list/icons/_fabric-dark.scss +14 -14
  157. package/styles/drop-down-list/icons/_fabric.scss +14 -14
  158. package/styles/drop-down-list/icons/_fluent.scss +14 -14
  159. package/styles/drop-down-list/icons/_fusionnew.scss +14 -14
  160. package/styles/drop-down-list/icons/_highcontrast-light.scss +14 -14
  161. package/styles/drop-down-list/icons/_highcontrast.scss +14 -14
  162. package/styles/drop-down-list/icons/_material-dark.scss +14 -14
  163. package/styles/drop-down-list/icons/_material.scss +14 -14
  164. package/styles/drop-down-list/icons/_material3.scss +14 -14
  165. package/styles/drop-down-list/icons/_tailwind.scss +14 -14
  166. package/styles/drop-down-list/material-dark.css +5 -0
  167. package/styles/drop-down-list/material.css +5 -0
  168. package/styles/drop-down-list/material3-dark.css +5 -0
  169. package/styles/drop-down-list/material3-dark.scss +1 -1
  170. package/styles/drop-down-list/material3.css +5 -0
  171. package/styles/drop-down-list/material3.scss +1 -1
  172. package/styles/drop-down-list/tailwind-dark.css +5 -0
  173. package/styles/drop-down-list/tailwind.css +5 -0
  174. package/styles/drop-down-tree/_all.scss +2 -2
  175. package/styles/drop-down-tree/_bds-definition.scss +61 -0
  176. package/styles/drop-down-tree/_bootstrap-dark-definition.scss +71 -71
  177. package/styles/drop-down-tree/_bootstrap-definition.scss +70 -70
  178. package/styles/drop-down-tree/_bootstrap4-definition.scss +71 -71
  179. package/styles/drop-down-tree/_bootstrap5-definition.scss +59 -59
  180. package/styles/drop-down-tree/_fabric-dark-definition.scss +71 -71
  181. package/styles/drop-down-tree/_fabric-definition.scss +71 -71
  182. package/styles/drop-down-tree/_fluent-definition.scss +65 -65
  183. package/styles/drop-down-tree/_fusionnew-definition.scss +59 -59
  184. package/styles/drop-down-tree/_highcontrast-definition.scss +71 -71
  185. package/styles/drop-down-tree/_highcontrast-light-definition.scss +71 -71
  186. package/styles/drop-down-tree/_layout.scss +1423 -1412
  187. package/styles/drop-down-tree/_material-dark-definition.scss +72 -72
  188. package/styles/drop-down-tree/_material-definition.scss +72 -72
  189. package/styles/drop-down-tree/_material3-definition.scss +76 -76
  190. package/styles/drop-down-tree/_tailwind-definition.scss +61 -61
  191. package/styles/drop-down-tree/_theme.scss +132 -132
  192. package/styles/drop-down-tree/bootstrap-dark.css +4 -0
  193. package/styles/drop-down-tree/bootstrap.css +4 -0
  194. package/styles/drop-down-tree/bootstrap4.css +4 -0
  195. package/styles/drop-down-tree/bootstrap5-dark.css +4 -0
  196. package/styles/drop-down-tree/bootstrap5.css +4 -0
  197. package/styles/drop-down-tree/fabric-dark.css +4 -0
  198. package/styles/drop-down-tree/fabric.css +4 -0
  199. package/styles/drop-down-tree/fluent-dark.css +6 -0
  200. package/styles/drop-down-tree/fluent.css +6 -0
  201. package/styles/drop-down-tree/highcontrast-light.css +4 -0
  202. package/styles/drop-down-tree/highcontrast.css +4 -0
  203. package/styles/drop-down-tree/icons/_bds.scss +11 -0
  204. package/styles/drop-down-tree/icons/_bootstrap-dark.scss +11 -11
  205. package/styles/drop-down-tree/icons/_bootstrap.scss +11 -11
  206. package/styles/drop-down-tree/icons/_bootstrap4.scss +11 -11
  207. package/styles/drop-down-tree/icons/_bootstrap5.scss +11 -11
  208. package/styles/drop-down-tree/icons/_fabric-dark.scss +11 -11
  209. package/styles/drop-down-tree/icons/_fabric.scss +11 -11
  210. package/styles/drop-down-tree/icons/_fluent.scss +11 -11
  211. package/styles/drop-down-tree/icons/_fusionnew.scss +11 -11
  212. package/styles/drop-down-tree/icons/_highcontrast-light.scss +11 -11
  213. package/styles/drop-down-tree/icons/_highcontrast.scss +11 -11
  214. package/styles/drop-down-tree/icons/_material-dark.scss +11 -11
  215. package/styles/drop-down-tree/icons/_material.scss +11 -11
  216. package/styles/drop-down-tree/icons/_material3.scss +11 -11
  217. package/styles/drop-down-tree/icons/_tailwind-dark.scss +11 -11
  218. package/styles/drop-down-tree/icons/_tailwind.scss +11 -11
  219. package/styles/drop-down-tree/material-dark.css +4 -0
  220. package/styles/drop-down-tree/material.css +4 -0
  221. package/styles/drop-down-tree/material3-dark.css +4 -0
  222. package/styles/drop-down-tree/material3-dark.scss +1 -1
  223. package/styles/drop-down-tree/material3.css +4 -0
  224. package/styles/drop-down-tree/material3.scss +1 -1
  225. package/styles/drop-down-tree/tailwind-dark.css +4 -0
  226. package/styles/drop-down-tree/tailwind.css +4 -0
  227. package/styles/fabric-dark.css +12 -9
  228. package/styles/fabric.css +12 -9
  229. package/styles/fluent-dark.css +18 -9
  230. package/styles/fluent.css +18 -9
  231. package/styles/highcontrast-light.css +12 -9
  232. package/styles/highcontrast.css +12 -9
  233. package/styles/list-box/_all.scss +2 -2
  234. package/styles/list-box/_bds-definition.scss +136 -0
  235. package/styles/list-box/_bootstrap-dark-definition.scss +126 -126
  236. package/styles/list-box/_bootstrap-definition.scss +119 -119
  237. package/styles/list-box/_bootstrap4-definition.scss +124 -124
  238. package/styles/list-box/_bootstrap5-definition.scss +120 -120
  239. package/styles/list-box/_fabric-dark-definition.scss +126 -126
  240. package/styles/list-box/_fabric-definition.scss +119 -119
  241. package/styles/list-box/_fluent-definition.scss +120 -120
  242. package/styles/list-box/_fusionnew-definition.scss +111 -111
  243. package/styles/list-box/_highcontrast-definition.scss +119 -119
  244. package/styles/list-box/_highcontrast-light-definition.scss +126 -126
  245. package/styles/list-box/_layout.scss +542 -542
  246. package/styles/list-box/_material-dark-definition.scss +126 -126
  247. package/styles/list-box/_material-definition.scss +119 -119
  248. package/styles/list-box/_material3-definition.scss +119 -119
  249. package/styles/list-box/_tailwind-definition.scss +119 -119
  250. package/styles/list-box/_theme.scss +382 -382
  251. package/styles/list-box/icons/_bds.scss +25 -0
  252. package/styles/list-box/icons/_bootstrap-dark.scss +25 -25
  253. package/styles/list-box/icons/_bootstrap.scss +25 -25
  254. package/styles/list-box/icons/_bootstrap4.scss +25 -25
  255. package/styles/list-box/icons/_bootstrap5.scss +25 -25
  256. package/styles/list-box/icons/_fabric-dark.scss +25 -25
  257. package/styles/list-box/icons/_fabric.scss +25 -25
  258. package/styles/list-box/icons/_fluent.scss +25 -25
  259. package/styles/list-box/icons/_fusionnew.scss +25 -25
  260. package/styles/list-box/icons/_highcontrast-light.scss +25 -25
  261. package/styles/list-box/icons/_highcontrast.scss +25 -25
  262. package/styles/list-box/icons/_material-dark.scss +25 -25
  263. package/styles/list-box/icons/_material.scss +25 -25
  264. package/styles/list-box/icons/_material3.scss +25 -25
  265. package/styles/list-box/icons/_tailwind-dark.scss +25 -25
  266. package/styles/list-box/icons/_tailwind.scss +25 -25
  267. package/styles/list-box/material3-dark.scss +1 -1
  268. package/styles/list-box/material3.scss +1 -1
  269. package/styles/material-dark.css +11 -9
  270. package/styles/material.css +11 -9
  271. package/styles/material3-dark.css +11 -9
  272. package/styles/material3-dark.scss +1 -1
  273. package/styles/material3.css +11 -9
  274. package/styles/material3.scss +1 -1
  275. package/styles/mention/_all.scss +1 -1
  276. package/styles/mention/_bds-definition.scss +1 -0
  277. package/styles/mention/_bootstrap-dark-definition.scss +3 -3
  278. package/styles/mention/_bootstrap-definition.scss +3 -3
  279. package/styles/mention/_bootstrap4-definition.scss +3 -3
  280. package/styles/mention/_bootstrap5-definition.scss +1 -1
  281. package/styles/mention/_fabric-dark-definition.scss +2 -2
  282. package/styles/mention/_fabric-definition.scss +3 -3
  283. package/styles/mention/_fluent-definition.scss +1 -1
  284. package/styles/mention/_fusionnew-definition.scss +1 -1
  285. package/styles/mention/_highcontrast-definition.scss +3 -3
  286. package/styles/mention/_highcontrast-light-definition.scss +3 -3
  287. package/styles/mention/_layout.scss +6 -6
  288. package/styles/mention/_material-dark-definition.scss +3 -3
  289. package/styles/mention/_material-definition.scss +3 -3
  290. package/styles/mention/_material3-definition.scss +1 -1
  291. package/styles/mention/_tailwind-definition.scss +1 -1
  292. package/styles/mention/material3-dark.scss +1 -1
  293. package/styles/mention/material3.scss +1 -1
  294. package/styles/multi-select/_all.scss +2 -2
  295. package/styles/multi-select/_bds-definition.scss +235 -0
  296. package/styles/multi-select/_bootstrap-dark-definition.scss +207 -203
  297. package/styles/multi-select/_bootstrap-definition.scss +196 -192
  298. package/styles/multi-select/_bootstrap4-definition.scss +278 -278
  299. package/styles/multi-select/_bootstrap5-definition.scss +230 -230
  300. package/styles/multi-select/_fabric-dark-definition.scss +192 -192
  301. package/styles/multi-select/_fabric-definition.scss +183 -183
  302. package/styles/multi-select/_fluent-definition.scss +246 -241
  303. package/styles/multi-select/_fusionnew-definition.scss +227 -227
  304. package/styles/multi-select/_highcontrast-definition.scss +303 -303
  305. package/styles/multi-select/_highcontrast-light-definition.scss +297 -297
  306. package/styles/multi-select/_layout.scss +2206 -2199
  307. package/styles/multi-select/_material-dark-definition.scss +230 -230
  308. package/styles/multi-select/_material-definition.scss +223 -223
  309. package/styles/multi-select/_material3-definition.scss +246 -246
  310. package/styles/multi-select/_tailwind-definition.scss +235 -235
  311. package/styles/multi-select/_theme.scss +586 -586
  312. package/styles/multi-select/bootstrap-dark.css +7 -1
  313. package/styles/multi-select/bootstrap.css +7 -1
  314. package/styles/multi-select/bootstrap4.css +2 -1
  315. package/styles/multi-select/bootstrap5-dark.css +2 -1
  316. package/styles/multi-select/bootstrap5.css +2 -1
  317. package/styles/multi-select/fabric-dark.css +3 -1
  318. package/styles/multi-select/fabric.css +3 -1
  319. package/styles/multi-select/fluent-dark.css +7 -1
  320. package/styles/multi-select/fluent.css +7 -1
  321. package/styles/multi-select/highcontrast-light.css +3 -1
  322. package/styles/multi-select/highcontrast.css +3 -1
  323. package/styles/multi-select/icons/_bds.scss +26 -0
  324. package/styles/multi-select/icons/_bootstrap-dark.scss +26 -26
  325. package/styles/multi-select/icons/_bootstrap.scss +26 -26
  326. package/styles/multi-select/icons/_bootstrap4.scss +37 -37
  327. package/styles/multi-select/icons/_bootstrap5.scss +26 -26
  328. package/styles/multi-select/icons/_fabric-dark.scss +26 -26
  329. package/styles/multi-select/icons/_fabric.scss +26 -26
  330. package/styles/multi-select/icons/_fluent.scss +55 -55
  331. package/styles/multi-select/icons/_fusionnew.scss +26 -26
  332. package/styles/multi-select/icons/_highcontrast-light.scss +26 -26
  333. package/styles/multi-select/icons/_highcontrast.scss +26 -26
  334. package/styles/multi-select/icons/_material-dark.scss +693 -693
  335. package/styles/multi-select/icons/_material.scss +693 -693
  336. package/styles/multi-select/icons/_material3.scss +692 -692
  337. package/styles/multi-select/icons/_tailwind.scss +26 -26
  338. package/styles/multi-select/material-dark.css +2 -1
  339. package/styles/multi-select/material.css +2 -1
  340. package/styles/multi-select/material3-dark.css +2 -1
  341. package/styles/multi-select/material3-dark.scss +1 -1
  342. package/styles/multi-select/material3.css +2 -1
  343. package/styles/multi-select/material3.scss +1 -1
  344. package/styles/multi-select/tailwind-dark.css +2 -1
  345. package/styles/multi-select/tailwind.css +2 -1
  346. package/styles/tailwind-dark.css +11 -9
  347. package/styles/tailwind.css +11 -9
  348. package/.eslintrc.json +0 -260
  349. package/dist/ej2-dropdowns.min.js +0 -10
  350. package/dist/global/ej2-dropdowns.min.js +0 -11
  351. package/dist/global/ej2-dropdowns.min.js.map +0 -1
  352. package/dist/global/index.d.ts +0 -14
  353. package/tslint.json +0 -111
@@ -1,4 +1,4 @@
1
- import { EventHandler, Property, Event, compile, EmitType, KeyboardEvents, append, select, ModuleDeclaration } from '@syncfusion/ej2-base';import { attributes, isNullOrUndefined, getUniqueID, formatUnit, isUndefined, getValue } from '@syncfusion/ej2-base';import { Animation, AnimationModel, Browser, KeyboardEventArgs, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { addClass, removeClass, closest, prepend, detach, classList } from '@syncfusion/ej2-base';import { Popup, isCollide, createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';import { IInput, Input, InputObject, FloatLabelType } from '@syncfusion/ej2-inputs';import { incrementalSearch, resetIncrementalSearchValues } from '../common/incremental-search';import { DropDownBase, dropDownBaseClasses, SelectEventArgs, FilteringEventArgs, PopupEventArgs } from '../drop-down-base/drop-down-base';import { FocusEventArgs, ResultData, BeforeOpenEventArgs } from '../drop-down-base/drop-down-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { DataManager, Query, Predicate, DataOptions } from '@syncfusion/ej2-data';import {VirtualScroll, Offsets, ScrollDirection, SentinelType, VirtualInfo} from '../common/virtual-scroll';import { Skeleton } from '@syncfusion/ej2-notifications';
1
+ import { EventHandler, Property, Event, compile, EmitType, KeyboardEvents, append, select, ModuleDeclaration } from '@syncfusion/ej2-base';
2
2
  import {ChangeEventArgs} from "./drop-down-list";
3
3
  import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";
4
4
 
@@ -8,260 +8,260 @@ import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";
8
8
  export interface DropDownListModel extends DropDownBaseModel{
9
9
 
10
10
  /**
11
- * Sets CSS classes to the root element of the component that allows customization of appearance.
12
- *
13
- * @default null
14
- */
15
- cssClass?: string;
11
+ * Sets CSS classes to the root element of the component that allows customization of appearance.
12
+ *
13
+ * @default null
14
+ */
15
+ cssClass?: string;
16
16
 
17
17
  /**
18
- * Specifies the width of the component. By default, the component width sets based on the width of
19
- * its parent container. You can also set the width in pixel values.
20
- *
21
- * @default '100%'
22
- * @aspType string
23
- */
24
- width?: string | number;
18
+ * Specifies the width of the component. By default, the component width sets based on the width of
19
+ * its parent container. You can also set the width in pixel values.
20
+ *
21
+ * @default '100%'
22
+ * @aspType string
23
+ */
24
+ width?: string | number;
25
25
 
26
26
  /**
27
- * Specifies a value that indicates whether the component is enabled or not.
28
- *
29
- * @default true
30
-
31
- */
32
- enabled?: boolean;
27
+ * Specifies a value that indicates whether the component is enabled or not.
28
+ *
29
+ * @default true
30
+ * @deprecated
31
+ */
32
+ enabled?: boolean;
33
33
 
34
34
  /**
35
- * Enable or disable persisting component's state between page reloads.
36
- * If enabled, following list of states will be persisted.
37
- * 1. value
38
- *
39
- * @default false
40
-
41
- */
42
- enablePersistence?: boolean;
35
+ * Enable or disable persisting component's state between page reloads.
36
+ * If enabled, following list of states will be persisted.
37
+ * 1. value
38
+ *
39
+ * @default false
40
+ * @deprecated
41
+ */
42
+ enablePersistence?: boolean;
43
43
 
44
44
  /**
45
- * Specifies the height of the popup list.
46
- * > For more details about the popup configuration refer to
47
- * [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
48
- *
49
- * @default '300px'
50
- * @aspType string
51
- */
52
- popupHeight?: string | number;
45
+ * Specifies the height of the popup list.
46
+ * > For more details about the popup configuration refer to
47
+ * [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
48
+ *
49
+ * @default '300px'
50
+ * @aspType string
51
+ */
52
+ popupHeight?: string | number;
53
53
 
54
54
  /**
55
- * Specifies the width of the popup list. By default, the popup width sets based on the width of
56
- * the component.
57
- * > For more details about the popup configuration refer to
58
- * [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
59
- *
60
- * @default '100%'
61
- * @aspType string
62
- */
63
- popupWidth?: string | number;
55
+ * Specifies the width of the popup list. By default, the popup width sets based on the width of
56
+ * the component.
57
+ * > For more details about the popup configuration refer to
58
+ * [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
59
+ *
60
+ * @default '100%'
61
+ * @aspType string
62
+ */
63
+ popupWidth?: string | number;
64
64
 
65
65
  /**
66
- * Specifies a short hint that describes the expected value of the DropDownList component.
67
- *
68
- * @default null
69
- */
70
- placeholder?: string;
66
+ * Specifies a short hint that describes the expected value of the DropDownList component.
67
+ *
68
+ * @default null
69
+ */
70
+ placeholder?: string;
71
71
 
72
72
  /**
73
- * Accepts the value to be displayed as a watermark text on the filter bar.
74
- *
75
- * @default null
76
- */
77
- filterBarPlaceholder?: string;
73
+ * Accepts the value to be displayed as a watermark text on the filter bar.
74
+ *
75
+ * @default null
76
+ */
77
+ filterBarPlaceholder?: string;
78
78
 
79
79
  /**
80
- * Allows additional HTML attributes such as title, name, etc., and
81
- * accepts n number of attributes in a key-value pair format.
82
- *
83
- * {% codeBlock src='dropdownlist/htmlAttributes/index.md' %}{% endcodeBlock %}
84
- *
85
- * @default {}
86
- */
87
- htmlAttributes?: { [key: string]: string };
80
+ * Allows additional HTML attributes such as title, name, etc., and
81
+ * accepts n number of attributes in a key-value pair format.
82
+ *
83
+ * {% codeBlock src='dropdownlist/htmlAttributes/index.md' %}{% endcodeBlock %}
84
+ *
85
+ * @default {}
86
+ */
87
+ htmlAttributes?: { [key: string]: string };
88
88
 
89
89
  /**
90
- * Accepts the external `Query`
91
- * that execute along with data processing.
92
- *
93
- * {% codeBlock src='dropdownlist/query/index.md' %}{% endcodeBlock %}
94
- *
95
- * @default null
96
-
97
- */
98
- query?: Query;
90
+ * Accepts the external `Query`
91
+ * that execute along with data processing.
92
+ *
93
+ * {% codeBlock src='dropdownlist/query/index.md' %}{% endcodeBlock %}
94
+ *
95
+ * @default null
96
+ * @deprecated
97
+ */
98
+ query?: Query;
99
99
 
100
100
  /**
101
- * Accepts the template design and assigns it to the selected list item in the input element of the component.
102
- * For more details about the available template options refer to
103
- * [`Template`](../../drop-down-list/templates) documentation.
104
- *
105
- * We have built-in `template engine`
106
- * which provides options to compile template string into a executable function.
107
- * For EX: We have expression evolution as like ES6 expression string literals.
108
- *
109
- * @default null
110
- * @aspType string
111
- */
112
- valueTemplate?: string | Function;
101
+ * Accepts the template design and assigns it to the selected list item in the input element of the component.
102
+ * For more details about the available template options refer to
103
+ * [`Template`](../../drop-down-list/templates) documentation.
104
+ *
105
+ * We have built-in `template engine`
106
+ * which provides options to compile template string into a executable function.
107
+ * For EX: We have expression evolution as like ES6 expression string literals.
108
+ *
109
+ * @default null
110
+ * @aspType string
111
+ */
112
+ valueTemplate?: string | Function;
113
113
 
114
114
  /**
115
- * Accepts the template design and assigns it to the header container of the popup list.
116
- * > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
117
- *
118
- * @default null
119
- * @aspType string
120
- */
121
- headerTemplate?: string | Function;
115
+ * Accepts the template design and assigns it to the header container of the popup list.
116
+ * > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
117
+ *
118
+ * @default null
119
+ * @aspType string
120
+ */
121
+ headerTemplate?: string | Function;
122
122
 
123
123
  /**
124
- * Accepts the template design and assigns it to the footer container of the popup list.
125
- * > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
126
- *
127
- * @default null
128
- * @aspType string
129
- */
130
- footerTemplate?: string | Function;
124
+ * Accepts the template design and assigns it to the footer container of the popup list.
125
+ * > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
126
+ *
127
+ * @default null
128
+ * @aspType string
129
+ */
130
+ footerTemplate?: string | Function;
131
131
 
132
132
  /**
133
- * When allowFiltering is set to true, show the filter bar (search box) of the component.
134
- * The filter action retrieves matched items through the `filtering` event based on
135
- * the characters typed in the search TextBox.
136
- *
137
- * If no match is found, the value of the `noRecordsTemplate` property will be displayed.
138
- * > For more details about the filtering refer to [`Filtering`](../../drop-down-list/filtering) documentation.
139
- *
140
- * {% codeBlock src="dropdownlist/allow-filtering-api/index.ts" %}{% endcodeBlock %}
141
- *
142
- * {% codeBlock src="dropdownlist/allow-filtering-api/index.html" %}{% endcodeBlock %}
143
- *
144
- * @default false
145
- */
146
- allowFiltering?: boolean;
133
+ * When allowFiltering is set to true, show the filter bar (search box) of the component.
134
+ * The filter action retrieves matched items through the `filtering` event based on
135
+ * the characters typed in the search TextBox.
136
+ *
137
+ * If no match is found, the value of the `noRecordsTemplate` property will be displayed.
138
+ * > For more details about the filtering refer to [`Filtering`](../../drop-down-list/filtering) documentation.
139
+ *
140
+ * {% codeBlock src="dropdownlist/allow-filtering-api/index.ts" %}{% endcodeBlock %}
141
+ *
142
+ * {% codeBlock src="dropdownlist/allow-filtering-api/index.html" %}{% endcodeBlock %}
143
+ *
144
+ * @default false
145
+ */
146
+ allowFiltering?: boolean;
147
147
 
148
148
  /**
149
- * When set to true, the user interactions on the component are disabled.
150
- *
151
- * @default false
152
- */
153
- readonly?: boolean;
149
+ * When set to true, the user interactions on the component are disabled.
150
+ *
151
+ * @default false
152
+ */
153
+ readonly?: boolean;
154
154
 
155
155
  /**
156
- * Defines whether to enable virtual scrolling in the component.
157
- *
158
- * @default false
159
- */
160
- enableVirtualization?: boolean;
156
+ * Defines whether to enable virtual scrolling in the component.
157
+ *
158
+ * @default false
159
+ */
160
+ enableVirtualization?: boolean;
161
161
 
162
162
  /**
163
- * Gets or sets the display text of the selected item in the component.
164
- *
165
- * @default null
166
- */
167
- text?: string;
163
+ * Gets or sets the display text of the selected item in the component.
164
+ *
165
+ * @default null
166
+ */
167
+ text?: string;
168
168
 
169
169
  /**
170
- * Gets or sets the value of the selected item in the component.
171
- *
172
- * @default null
173
- * @isGenericType true
174
- */
175
- value?: number | string | boolean;
170
+ * Gets or sets the value of the selected item in the component.
171
+ *
172
+ * @default null
173
+ * @isGenericType true
174
+ */
175
+ value?: number | string | boolean;
176
176
 
177
177
  /**
178
- * Gets or sets the index of the selected item in the component.
179
- *
180
- * {% codeBlock src="dropdownlist/index-api/index.ts" %}{% endcodeBlock %}
181
- *
182
- * {% codeBlock src="dropdownlist/index-api/index.html" %}{% endcodeBlock %}
183
- *
184
- * @default null
185
- */
186
- index?: number;
178
+ * Gets or sets the index of the selected item in the component.
179
+ *
180
+ * {% codeBlock src="dropdownlist/index-api/index.ts" %}{% endcodeBlock %}
181
+ *
182
+ * {% codeBlock src="dropdownlist/index-api/index.html" %}{% endcodeBlock %}
183
+ *
184
+ * @default null
185
+ */
186
+ index?: number;
187
187
 
188
188
  /**
189
- * Specifies whether to display the floating label above the input element.
190
- * Possible values are:
191
- * * Never: The label will never float in the input when the placeholder is available.
192
- * * Always: The floating label will always float above the input.
193
- * * Auto: The floating label will float above the input after focusing or entering a value in the input.
194
- *
195
- * {% codeBlock src="dropdownlist/float-label-type-api/index.ts" %}{% endcodeBlock %}
196
- *
197
- * {% codeBlock src="dropdownlist/float-label-type-api/index.html" %}{% endcodeBlock %}
198
- *
199
- * @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
200
- * @aspType Syncfusion.EJ2.Inputs.FloatLabelType
201
- * @isEnumeration true
202
- */
203
- floatLabelType?: FloatLabelType;
189
+ * Specifies whether to display the floating label above the input element.
190
+ * Possible values are:
191
+ * * Never: The label will never float in the input when the placeholder is available.
192
+ * * Always: The floating label will always float above the input.
193
+ * * Auto: The floating label will float above the input after focusing or entering a value in the input.
194
+ *
195
+ * {% codeBlock src="dropdownlist/float-label-type-api/index.ts" %}{% endcodeBlock %}
196
+ *
197
+ * {% codeBlock src="dropdownlist/float-label-type-api/index.html" %}{% endcodeBlock %}
198
+ *
199
+ * @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
200
+ * @aspType Syncfusion.EJ2.Inputs.FloatLabelType
201
+ * @isEnumeration true
202
+ */
203
+ floatLabelType?: FloatLabelType;
204
204
 
205
205
  /**
206
- * Specifies whether to show or hide the clear button.
207
- * When the clear button is clicked, `value`, `text`, and `index` properties are reset to null.
208
- *
209
- * @default false
210
- */
211
- showClearButton?: boolean;
206
+ * Specifies whether to show or hide the clear button.
207
+ * When the clear button is clicked, `value`, `text`, and `index` properties are reset to null.
208
+ *
209
+ * @default false
210
+ */
211
+ showClearButton?: boolean;
212
212
 
213
213
  /**
214
- * Triggers on typing a character in the filter bar when the
215
- * [`allowFiltering`](./#allowfiltering)
216
- * is enabled.
217
- * > For more details about the filtering refer to [`Filtering`](../../drop-down-list/filtering) documentation.
218
- *
219
- * @event filtering
220
- */
221
- filtering?: EmitType<FilteringEventArgs>;
214
+ * Triggers on typing a character in the filter bar when the
215
+ * [`allowFiltering`](./#allowfiltering)
216
+ * is enabled.
217
+ * > For more details about the filtering refer to [`Filtering`](../../drop-down-list/filtering) documentation.
218
+ *
219
+ * @event filtering
220
+ */
221
+ filtering?: EmitType<FilteringEventArgs>;
222
222
 
223
223
  /**
224
- * Triggers when an item in a popup is selected or when the model value is changed by user.
225
- * Use change event to
226
- * [`Configure the Cascading DropDownList`](../../drop-down-list/how-to/cascading)
227
- *
228
- * @event change
229
- */
230
- change?: EmitType<ChangeEventArgs>;
224
+ * Triggers when an item in a popup is selected or when the model value is changed by user.
225
+ * Use change event to
226
+ * [`Configure the Cascading DropDownList`](../../drop-down-list/how-to/cascading)
227
+ *
228
+ * @event change
229
+ */
230
+ change?: EmitType<ChangeEventArgs>;
231
231
 
232
232
  /**
233
- * Triggers when the popup before opens.
234
- *
235
- * @event beforeOpen
236
- */
237
- beforeOpen?: EmitType<Object>;
233
+ * Triggers when the popup before opens.
234
+ *
235
+ * @event beforeOpen
236
+ */
237
+ beforeOpen?: EmitType<Object>;
238
238
 
239
239
  /**
240
- * Triggers when the popup opens.
241
- *
242
- * @event open
243
- */
244
- open?: EmitType<PopupEventArgs>;
240
+ * Triggers when the popup opens.
241
+ *
242
+ * @event open
243
+ */
244
+ open?: EmitType<PopupEventArgs>;
245
245
 
246
246
  /**
247
- * Triggers when the popup is closed.
248
- *
249
- * @event close
250
- */
251
- close?: EmitType<PopupEventArgs>;
247
+ * Triggers when the popup is closed.
248
+ *
249
+ * @event close
250
+ */
251
+ close?: EmitType<PopupEventArgs>;
252
252
 
253
253
  /**
254
- * Triggers when focus moves out from the component.
255
- *
256
- * @event blur
257
- */
258
- blur?: EmitType<Object>;
254
+ * Triggers when focus moves out from the component.
255
+ *
256
+ * @event blur
257
+ */
258
+ blur?: EmitType<Object>;
259
259
 
260
260
  /**
261
- * Triggers when the component is focused.
262
- *
263
- * @event focus
264
- */
265
- focus?: EmitType<Object>;
261
+ * Triggers when the component is focused.
262
+ *
263
+ * @event focus
264
+ */
265
+ focus?: EmitType<Object>;
266
266
 
267
267
  }
@@ -61,7 +61,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
61
61
  } | string | number | boolean;
62
62
  private listHeight;
63
63
  private listItemHeight;
64
- private skeletonCount;
64
+ protected skeletonCount: number;
65
65
  protected hiddenElement: HTMLSelectElement;
66
66
  protected isPopupOpen: boolean;
67
67
  private isDocumentClick;
@@ -113,7 +113,6 @@ export declare class DropDownList extends DropDownBase implements IInput {
113
113
  protected preventChange: boolean;
114
114
  protected isAngular: boolean;
115
115
  protected selectedElementID: string;
116
- protected itemCount: number;
117
116
  private virtualListHeight;
118
117
  private virtualItemCount;
119
118
  private isVirtualScrolling;
@@ -136,6 +135,10 @@ export declare class DropDownList extends DropDownBase implements IInput {
136
135
  private virtualItemEndIndex;
137
136
  private generatedDataObject;
138
137
  private preselectedIndex;
138
+ protected incrementalQueryString: string;
139
+ protected incrementalEndIndex: number;
140
+ protected incrementalStartIndex: number;
141
+ protected incrementalPreQueryString: string;
139
142
  private isTouched;
140
143
  protected virtualListInfo: VirtualInfo;
141
144
  protected viewPortInfo: VirtualInfo;
@@ -158,7 +161,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
158
161
  * Specifies a value that indicates whether the component is enabled or not.
159
162
  *
160
163
  * @default true
161
-
164
+ * @deprecated
162
165
  */
163
166
  enabled: boolean;
164
167
  /**
@@ -167,7 +170,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
167
170
  * 1. value
168
171
  *
169
172
  * @default false
170
-
173
+ * @deprecated
171
174
  */
172
175
  enablePersistence: boolean;
173
176
  /**
@@ -219,7 +222,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
219
222
  * {% codeBlock src='dropdownlist/query/index.md' %}{% endcodeBlock %}
220
223
  *
221
224
  * @default null
222
-
225
+ * @deprecated
223
226
  */
224
227
  query: Query;
225
228
  /**
@@ -440,6 +443,9 @@ export declare class DropDownList extends DropDownBase implements IInput {
440
443
  private onMouseLeave;
441
444
  protected removeHover(): void;
442
445
  protected isValidLI(li: Element | HTMLElement): boolean;
446
+ protected updateIncrementalInfo(startIndex: number, endIndex: number): void;
447
+ protected updateIncrementalView(startIndex: number, endIndex: number): void;
448
+ protected updateIncrementalItemIndex(startIndex: number, endIndex: number): void;
443
449
  protected incrementalSearch(e: KeyboardEventArgs): void;
444
450
  /**
445
451
  * Hides the spinner loader.
@@ -455,13 +461,13 @@ export declare class DropDownList extends DropDownBase implements IInput {
455
461
  showSpinner(): void;
456
462
  protected keyActionHandler(e: KeyboardEventArgs): void;
457
463
  private updateUpDownAction;
464
+ private updateVirtualItemIndex;
458
465
  private updateHomeEndAction;
459
466
  protected selectCurrentValueOnTab(e: KeyboardEventArgs): void;
460
467
  protected mobileKeyActionHandler(e: KeyboardEventArgs): void;
461
468
  private handleVirtualKeyboardActions;
462
469
  protected selectCurrentItem(e: KeyboardEventArgs): void;
463
470
  protected isSelectFocusItem(element: Element): boolean;
464
- private getPageCount;
465
471
  private pageUpSelection;
466
472
  private PageUpDownSelection;
467
473
  private pageDownSelection;
@@ -523,7 +529,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
523
529
  * @param {Query} query - Specify the query to filter the data.
524
530
  * @param {FieldSettingsModel} fields - Specify the fields to map the column in the data table.
525
531
  * @returns {void}
526
-
532
+ * @deprecated
527
533
  */
528
534
  filter(dataSource: {
529
535
  [key: string]: Object;
@@ -611,6 +617,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
611
617
  onPropertyChanged(newProp: DropDownListModel, oldProp: DropDownListModel): void;
612
618
  private checkValidLi;
613
619
  private setSelectionData;
620
+ protected updatePopupState(): void;
614
621
  protected setReadOnly(): void;
615
622
  protected setInputValue(newProp?: any, oldProp?: any): void;
616
623
  private setCssClass;