@syncfusion/ej2-dropdowns 20.4.52 → 20.4.54-54740

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 (516) hide show
  1. package/CHANGELOG.md +2085 -2063
  2. package/{README.md → ReadMe.md} +119 -119
  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 +66 -53
  6. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  7. package/dist/es6/ej2-dropdowns.es5.js +184 -171
  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 +78 -78
  17. package/src/auto-complete/auto-complete-model.d.ts +187 -187
  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 +221 -221
  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/incremental-search.js +1 -1
  24. package/src/drop-down-base/drop-down-base-model.d.ts +196 -196
  25. package/src/drop-down-base/drop-down-base.d.ts +15 -15
  26. package/src/drop-down-base/drop-down-base.js +20 -20
  27. package/src/drop-down-list/drop-down-list-model.d.ts +194 -194
  28. package/src/drop-down-list/drop-down-list.d.ts +4 -4
  29. package/src/drop-down-list/drop-down-list.js +34 -21
  30. package/src/drop-down-tree/drop-down-tree-model.d.ts +445 -445
  31. package/src/drop-down-tree/drop-down-tree.js +21 -22
  32. package/src/global.d.ts +1 -0
  33. package/src/list-box/list-box-model.d.ts +194 -194
  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 +259 -259
  37. package/src/mention/mention.js +19 -19
  38. package/src/multi-select/multi-select-model.d.ts +505 -505
  39. package/src/multi-select/multi-select.js +20 -19
  40. package/styles/auto-complete/_all.scss +1 -1
  41. package/styles/auto-complete/_bds-definition.scss +2 -0
  42. package/styles/auto-complete/_bootstrap-dark-definition.scss +3 -3
  43. package/styles/auto-complete/_bootstrap-definition.scss +2 -2
  44. package/styles/auto-complete/_bootstrap4-definition.scss +11 -11
  45. package/styles/auto-complete/_bootstrap5-definition.scss +2 -2
  46. package/styles/auto-complete/_fabric-dark-definition.scss +2 -2
  47. package/styles/auto-complete/_fabric-definition.scss +2 -2
  48. package/styles/auto-complete/_fluent-definition.scss +2 -2
  49. package/styles/auto-complete/_fusionnew-definition.scss +2 -2
  50. package/styles/auto-complete/_highcontrast-definition.scss +2 -2
  51. package/styles/auto-complete/_highcontrast-light-definition.scss +2 -2
  52. package/styles/auto-complete/_material-dark-definition.scss +2 -2
  53. package/styles/auto-complete/_material-definition.scss +2 -2
  54. package/styles/auto-complete/_material3-dark-definition.scss +1 -0
  55. package/styles/auto-complete/_material3-definition.scss +2 -2
  56. package/styles/auto-complete/_tailwind-definition.scss +2 -2
  57. package/styles/auto-complete/bootstrap-dark.scss +1 -1
  58. package/styles/auto-complete/bootstrap.scss +1 -1
  59. package/styles/auto-complete/bootstrap4.css +13 -2
  60. package/styles/auto-complete/bootstrap4.scss +1 -1
  61. package/styles/auto-complete/bootstrap5-dark.scss +1 -1
  62. package/styles/auto-complete/bootstrap5.scss +1 -1
  63. package/styles/auto-complete/fabric-dark.scss +1 -1
  64. package/styles/auto-complete/fabric.scss +1 -1
  65. package/styles/auto-complete/fluent-dark.scss +1 -1
  66. package/styles/auto-complete/fluent.scss +1 -1
  67. package/styles/auto-complete/highcontrast-light.scss +1 -1
  68. package/styles/auto-complete/highcontrast.scss +1 -1
  69. package/styles/auto-complete/material-dark.css +0 -1
  70. package/styles/auto-complete/material-dark.scss +1 -1
  71. package/styles/auto-complete/material.css +0 -1
  72. package/styles/auto-complete/material.scss +1 -1
  73. package/styles/auto-complete/material3-dark.css +197 -0
  74. package/styles/auto-complete/material3-dark.scss +5 -0
  75. package/styles/auto-complete/material3.css +253 -0
  76. package/styles/auto-complete/material3.scss +5 -0
  77. package/styles/auto-complete/tailwind-dark.css +0 -1
  78. package/styles/auto-complete/tailwind-dark.scss +1 -1
  79. package/styles/auto-complete/tailwind.css +0 -1
  80. package/styles/auto-complete/tailwind.scss +1 -1
  81. package/styles/bootstrap-dark.css +309 -138
  82. package/styles/bootstrap.css +306 -129
  83. package/styles/bootstrap4.css +340 -141
  84. package/styles/bootstrap5-dark.css +310 -133
  85. package/styles/bootstrap5.css +310 -133
  86. package/styles/combo-box/_all.scss +1 -1
  87. package/styles/combo-box/_bds-definition.scss +2 -0
  88. package/styles/combo-box/_bootstrap-dark-definition.scss +2 -2
  89. package/styles/combo-box/_bootstrap-definition.scss +2 -2
  90. package/styles/combo-box/_bootstrap4-definition.scss +11 -11
  91. package/styles/combo-box/_bootstrap5-definition.scss +2 -2
  92. package/styles/combo-box/_fabric-dark-definition.scss +2 -2
  93. package/styles/combo-box/_fabric-definition.scss +2 -2
  94. package/styles/combo-box/_fluent-definition.scss +2 -2
  95. package/styles/combo-box/_fusionnew-definition.scss +2 -2
  96. package/styles/combo-box/_highcontrast-definition.scss +2 -2
  97. package/styles/combo-box/_highcontrast-light-definition.scss +3 -3
  98. package/styles/combo-box/_material-dark-definition.scss +2 -2
  99. package/styles/combo-box/_material-definition.scss +2 -2
  100. package/styles/combo-box/_material3-dark-definition.scss +1 -0
  101. package/styles/combo-box/_material3-definition.scss +2 -2
  102. package/styles/combo-box/_tailwind-definition.scss +2 -2
  103. package/styles/combo-box/bootstrap-dark.scss +1 -1
  104. package/styles/combo-box/bootstrap.scss +1 -1
  105. package/styles/combo-box/bootstrap4.css +13 -2
  106. package/styles/combo-box/bootstrap4.scss +1 -1
  107. package/styles/combo-box/bootstrap5-dark.scss +1 -1
  108. package/styles/combo-box/bootstrap5.scss +1 -1
  109. package/styles/combo-box/fabric-dark.scss +1 -1
  110. package/styles/combo-box/fabric.scss +1 -1
  111. package/styles/combo-box/fluent-dark.scss +1 -1
  112. package/styles/combo-box/fluent.scss +1 -1
  113. package/styles/combo-box/highcontrast-light.scss +1 -1
  114. package/styles/combo-box/highcontrast.scss +1 -1
  115. package/styles/combo-box/material-dark.css +0 -1
  116. package/styles/combo-box/material-dark.scss +1 -1
  117. package/styles/combo-box/material.css +0 -1
  118. package/styles/combo-box/material.scss +1 -1
  119. package/styles/combo-box/material3-dark.css +197 -0
  120. package/styles/combo-box/material3-dark.scss +5 -0
  121. package/styles/combo-box/material3.css +253 -0
  122. package/styles/combo-box/material3.scss +5 -0
  123. package/styles/combo-box/tailwind-dark.css +0 -1
  124. package/styles/combo-box/tailwind-dark.scss +1 -1
  125. package/styles/combo-box/tailwind.css +0 -1
  126. package/styles/combo-box/tailwind.scss +1 -1
  127. package/styles/drop-down-base/_all.scss +2 -2
  128. package/styles/drop-down-base/_bds-definition.scss +134 -0
  129. package/styles/drop-down-base/_bootstrap-dark-definition.scss +83 -83
  130. package/styles/drop-down-base/_bootstrap-definition.scss +83 -83
  131. package/styles/drop-down-base/_bootstrap4-definition.scss +90 -98
  132. package/styles/drop-down-base/_bootstrap5-definition.scss +117 -117
  133. package/styles/drop-down-base/_definition.scss +23 -23
  134. package/styles/drop-down-base/_fabric-dark-definition.scss +86 -86
  135. package/styles/drop-down-base/_fabric-definition.scss +84 -84
  136. package/styles/drop-down-base/_fluent-definition.scss +121 -121
  137. package/styles/drop-down-base/_fusionnew-definition.scss +117 -117
  138. package/styles/drop-down-base/_highcontrast-definition.scss +105 -105
  139. package/styles/drop-down-base/_highcontrast-light-definition.scss +105 -105
  140. package/styles/drop-down-base/_layout.scss +187 -193
  141. package/styles/drop-down-base/_material-dark-definition.scss +86 -86
  142. package/styles/drop-down-base/_material-definition.scss +85 -85
  143. package/styles/drop-down-base/_material3-dark-definition.scss +1 -0
  144. package/styles/drop-down-base/_material3-definition.scss +87 -117
  145. package/styles/drop-down-base/_tailwind-definition.scss +129 -129
  146. package/styles/drop-down-base/_theme.scss +391 -328
  147. package/styles/drop-down-base/bootstrap-dark.css +6 -10
  148. package/styles/drop-down-base/bootstrap-dark.scss +1 -1
  149. package/styles/drop-down-base/bootstrap.css +6 -10
  150. package/styles/drop-down-base/bootstrap.scss +1 -1
  151. package/styles/drop-down-base/bootstrap4.css +6 -18
  152. package/styles/drop-down-base/bootstrap4.scss +1 -1
  153. package/styles/drop-down-base/bootstrap5-dark.css +6 -10
  154. package/styles/drop-down-base/bootstrap5-dark.scss +1 -1
  155. package/styles/drop-down-base/bootstrap5.css +6 -10
  156. package/styles/drop-down-base/bootstrap5.scss +1 -1
  157. package/styles/drop-down-base/fabric-dark.css +6 -10
  158. package/styles/drop-down-base/fabric-dark.scss +1 -1
  159. package/styles/drop-down-base/fabric.css +6 -10
  160. package/styles/drop-down-base/fabric.scss +1 -1
  161. package/styles/drop-down-base/fluent-dark.css +6 -10
  162. package/styles/drop-down-base/fluent-dark.scss +1 -1
  163. package/styles/drop-down-base/fluent.css +6 -10
  164. package/styles/drop-down-base/fluent.scss +1 -1
  165. package/styles/drop-down-base/highcontrast-light.css +6 -10
  166. package/styles/drop-down-base/highcontrast-light.scss +1 -1
  167. package/styles/drop-down-base/highcontrast.css +6 -10
  168. package/styles/drop-down-base/highcontrast.scss +1 -1
  169. package/styles/drop-down-base/material-dark.css +6 -11
  170. package/styles/drop-down-base/material-dark.scss +1 -1
  171. package/styles/drop-down-base/material.css +6 -11
  172. package/styles/drop-down-base/material.scss +1 -1
  173. package/styles/drop-down-base/material3-dark.css +430 -0
  174. package/styles/drop-down-base/material3-dark.scss +4 -0
  175. package/styles/drop-down-base/material3.css +486 -0
  176. package/styles/drop-down-base/material3.scss +4 -0
  177. package/styles/drop-down-base/tailwind-dark.css +6 -11
  178. package/styles/drop-down-base/tailwind-dark.scss +1 -1
  179. package/styles/drop-down-base/tailwind.css +6 -11
  180. package/styles/drop-down-base/tailwind.scss +1 -1
  181. package/styles/drop-down-list/_all.scss +3 -3
  182. package/styles/drop-down-list/_bds-definition.scss +134 -0
  183. package/styles/drop-down-list/_bootstrap-dark-definition.scss +157 -157
  184. package/styles/drop-down-list/_bootstrap-definition.scss +156 -156
  185. package/styles/drop-down-list/_bootstrap4-definition.scss +202 -191
  186. package/styles/drop-down-list/_bootstrap5-definition.scss +201 -201
  187. package/styles/drop-down-list/_fabric-dark-definition.scss +128 -128
  188. package/styles/drop-down-list/_fabric-definition.scss +124 -124
  189. package/styles/drop-down-list/_fluent-definition.scss +185 -185
  190. package/styles/drop-down-list/_fusionnew-definition.scss +201 -201
  191. package/styles/drop-down-list/_highcontrast-definition.scss +142 -142
  192. package/styles/drop-down-list/_highcontrast-light-definition.scss +144 -144
  193. package/styles/drop-down-list/_layout.scss +315 -299
  194. package/styles/drop-down-list/_material-dark-definition.scss +143 -143
  195. package/styles/drop-down-list/_material-definition.scss +167 -167
  196. package/styles/drop-down-list/_material3-dark-definition.scss +1 -0
  197. package/styles/drop-down-list/_material3-definition.scss +180 -201
  198. package/styles/drop-down-list/_tailwind-definition.scss +134 -134
  199. package/styles/drop-down-list/_theme.scss +10 -10
  200. package/styles/drop-down-list/bootstrap-dark.css +5 -3
  201. package/styles/drop-down-list/bootstrap-dark.scss +1 -1
  202. package/styles/drop-down-list/bootstrap.css +5 -3
  203. package/styles/drop-down-list/bootstrap.scss +1 -1
  204. package/styles/drop-down-list/bootstrap4.css +19 -14
  205. package/styles/drop-down-list/bootstrap4.scss +1 -1
  206. package/styles/drop-down-list/bootstrap5-dark.css +5 -3
  207. package/styles/drop-down-list/bootstrap5-dark.scss +1 -1
  208. package/styles/drop-down-list/bootstrap5.css +5 -3
  209. package/styles/drop-down-list/bootstrap5.scss +1 -1
  210. package/styles/drop-down-list/fabric-dark.css +5 -3
  211. package/styles/drop-down-list/fabric-dark.scss +1 -1
  212. package/styles/drop-down-list/fabric.css +5 -3
  213. package/styles/drop-down-list/fabric.scss +1 -1
  214. package/styles/drop-down-list/fluent-dark.css +5 -3
  215. package/styles/drop-down-list/fluent-dark.scss +1 -1
  216. package/styles/drop-down-list/fluent.css +5 -3
  217. package/styles/drop-down-list/fluent.scss +1 -1
  218. package/styles/drop-down-list/highcontrast-light.css +5 -3
  219. package/styles/drop-down-list/highcontrast-light.scss +1 -1
  220. package/styles/drop-down-list/highcontrast.css +5 -3
  221. package/styles/drop-down-list/highcontrast.scss +1 -1
  222. package/styles/drop-down-list/icons/_bootstrap-dark.scss +14 -14
  223. package/styles/drop-down-list/icons/_bootstrap.scss +14 -14
  224. package/styles/drop-down-list/icons/_bootstrap4.scss +14 -14
  225. package/styles/drop-down-list/icons/_bootstrap5.scss +14 -14
  226. package/styles/drop-down-list/icons/_fabric-dark.scss +14 -14
  227. package/styles/drop-down-list/icons/_fabric.scss +14 -14
  228. package/styles/drop-down-list/icons/_fluent.scss +14 -14
  229. package/styles/drop-down-list/icons/_fusionnew.scss +14 -14
  230. package/styles/drop-down-list/icons/_highcontrast-light.scss +14 -14
  231. package/styles/drop-down-list/icons/_highcontrast.scss +14 -14
  232. package/styles/drop-down-list/icons/_material-dark.scss +14 -14
  233. package/styles/drop-down-list/icons/_material.scss +14 -14
  234. package/styles/drop-down-list/icons/_material3-dark.scss +1 -0
  235. package/styles/drop-down-list/icons/_material3.scss +14 -14
  236. package/styles/drop-down-list/icons/_tailwind.scss +14 -14
  237. package/styles/drop-down-list/material-dark.css +6 -4
  238. package/styles/drop-down-list/material-dark.scss +1 -1
  239. package/styles/drop-down-list/material.css +5 -4
  240. package/styles/drop-down-list/material.scss +1 -1
  241. package/styles/drop-down-list/material3-dark.css +507 -0
  242. package/styles/drop-down-list/material3-dark.scss +9 -0
  243. package/styles/drop-down-list/material3.css +563 -0
  244. package/styles/drop-down-list/material3.scss +9 -0
  245. package/styles/drop-down-list/tailwind-dark.css +6 -5
  246. package/styles/drop-down-list/tailwind-dark.scss +1 -1
  247. package/styles/drop-down-list/tailwind.css +6 -5
  248. package/styles/drop-down-list/tailwind.scss +1 -1
  249. package/styles/drop-down-tree/_all.scss +2 -2
  250. package/styles/drop-down-tree/_bds-definition.scss +61 -0
  251. package/styles/drop-down-tree/_bootstrap-dark-definition.scss +71 -71
  252. package/styles/drop-down-tree/_bootstrap-definition.scss +70 -70
  253. package/styles/drop-down-tree/_bootstrap4-definition.scss +71 -71
  254. package/styles/drop-down-tree/_bootstrap5-definition.scss +59 -59
  255. package/styles/drop-down-tree/_fabric-dark-definition.scss +71 -71
  256. package/styles/drop-down-tree/_fabric-definition.scss +71 -71
  257. package/styles/drop-down-tree/_fluent-definition.scss +65 -65
  258. package/styles/drop-down-tree/_fusionnew-definition.scss +59 -59
  259. package/styles/drop-down-tree/_highcontrast-definition.scss +71 -71
  260. package/styles/drop-down-tree/_highcontrast-light-definition.scss +71 -71
  261. package/styles/drop-down-tree/_layout.scss +1423 -1386
  262. package/styles/drop-down-tree/_material-dark-definition.scss +72 -72
  263. package/styles/drop-down-tree/_material-definition.scss +72 -72
  264. package/styles/drop-down-tree/_material3-dark-definition.scss +1 -0
  265. package/styles/drop-down-tree/_material3-definition.scss +76 -60
  266. package/styles/drop-down-tree/_tailwind-definition.scss +61 -61
  267. package/styles/drop-down-tree/_theme.scss +132 -120
  268. package/styles/drop-down-tree/bootstrap-dark.css +4 -0
  269. package/styles/drop-down-tree/bootstrap-dark.scss +1 -1
  270. package/styles/drop-down-tree/bootstrap.css +4 -0
  271. package/styles/drop-down-tree/bootstrap.scss +1 -1
  272. package/styles/drop-down-tree/bootstrap4.css +4 -8
  273. package/styles/drop-down-tree/bootstrap4.scss +1 -1
  274. package/styles/drop-down-tree/bootstrap5-dark.css +4 -0
  275. package/styles/drop-down-tree/bootstrap5-dark.scss +1 -1
  276. package/styles/drop-down-tree/bootstrap5.css +4 -0
  277. package/styles/drop-down-tree/bootstrap5.scss +1 -1
  278. package/styles/drop-down-tree/fabric-dark.css +4 -0
  279. package/styles/drop-down-tree/fabric-dark.scss +1 -1
  280. package/styles/drop-down-tree/fabric.css +4 -0
  281. package/styles/drop-down-tree/fabric.scss +1 -1
  282. package/styles/drop-down-tree/fluent-dark.css +6 -0
  283. package/styles/drop-down-tree/fluent-dark.scss +1 -1
  284. package/styles/drop-down-tree/fluent.css +6 -0
  285. package/styles/drop-down-tree/fluent.scss +1 -1
  286. package/styles/drop-down-tree/highcontrast-light.css +4 -0
  287. package/styles/drop-down-tree/highcontrast-light.scss +1 -1
  288. package/styles/drop-down-tree/highcontrast.css +4 -0
  289. package/styles/drop-down-tree/highcontrast.scss +1 -1
  290. package/styles/drop-down-tree/icons/_bootstrap-dark.scss +11 -11
  291. package/styles/drop-down-tree/icons/_bootstrap.scss +11 -11
  292. package/styles/drop-down-tree/icons/_bootstrap4.scss +11 -11
  293. package/styles/drop-down-tree/icons/_bootstrap5.scss +11 -11
  294. package/styles/drop-down-tree/icons/_fabric-dark.scss +11 -11
  295. package/styles/drop-down-tree/icons/_fabric.scss +11 -11
  296. package/styles/drop-down-tree/icons/_fluent.scss +11 -11
  297. package/styles/drop-down-tree/icons/_fusionnew.scss +11 -11
  298. package/styles/drop-down-tree/icons/_highcontrast-light.scss +11 -11
  299. package/styles/drop-down-tree/icons/_highcontrast.scss +11 -11
  300. package/styles/drop-down-tree/icons/_material-dark.scss +11 -11
  301. package/styles/drop-down-tree/icons/_material.scss +11 -11
  302. package/styles/drop-down-tree/icons/_material3-dark.scss +1 -0
  303. package/styles/drop-down-tree/icons/_material3.scss +11 -11
  304. package/styles/drop-down-tree/icons/_tailwind-dark.scss +11 -11
  305. package/styles/drop-down-tree/icons/_tailwind.scss +11 -11
  306. package/styles/drop-down-tree/material-dark.css +5 -1
  307. package/styles/drop-down-tree/material-dark.scss +1 -1
  308. package/styles/drop-down-tree/material.css +4 -1
  309. package/styles/drop-down-tree/material.scss +1 -1
  310. package/styles/drop-down-tree/material3-dark.css +469 -0
  311. package/styles/drop-down-tree/material3-dark.scss +10 -0
  312. package/styles/drop-down-tree/material3.css +525 -0
  313. package/styles/drop-down-tree/material3.scss +10 -0
  314. package/styles/drop-down-tree/tailwind-dark.css +4 -1
  315. package/styles/drop-down-tree/tailwind-dark.scss +1 -1
  316. package/styles/drop-down-tree/tailwind.css +4 -1
  317. package/styles/drop-down-tree/tailwind.scss +1 -1
  318. package/styles/fabric-dark.css +310 -139
  319. package/styles/fabric.css +307 -130
  320. package/styles/fluent-dark.css +315 -135
  321. package/styles/fluent.css +315 -135
  322. package/styles/highcontrast-light.css +311 -138
  323. package/styles/highcontrast.css +324 -135
  324. package/styles/list-box/_all.scss +2 -2
  325. package/styles/list-box/_bds-definition.scss +136 -0
  326. package/styles/list-box/_bootstrap-dark-definition.scss +126 -125
  327. package/styles/list-box/_bootstrap-definition.scss +119 -118
  328. package/styles/list-box/_bootstrap4-definition.scss +124 -123
  329. package/styles/list-box/_bootstrap5-definition.scss +120 -121
  330. package/styles/list-box/_fabric-dark-definition.scss +126 -125
  331. package/styles/list-box/_fabric-definition.scss +119 -118
  332. package/styles/list-box/_fluent-definition.scss +120 -121
  333. package/styles/list-box/_fusionnew-definition.scss +111 -114
  334. package/styles/list-box/_highcontrast-definition.scss +119 -118
  335. package/styles/list-box/_highcontrast-light-definition.scss +126 -125
  336. package/styles/list-box/_layout.scss +542 -534
  337. package/styles/list-box/_material-dark-definition.scss +126 -125
  338. package/styles/list-box/_material-definition.scss +119 -118
  339. package/styles/list-box/_material3-dark-definition.scss +1 -0
  340. package/styles/list-box/_material3-definition.scss +119 -120
  341. package/styles/list-box/_tailwind-definition.scss +119 -120
  342. package/styles/list-box/_theme.scss +382 -316
  343. package/styles/list-box/bootstrap-dark.css +276 -113
  344. package/styles/list-box/bootstrap-dark.scss +1 -1
  345. package/styles/list-box/bootstrap.css +278 -114
  346. package/styles/list-box/bootstrap.scss +1 -1
  347. package/styles/list-box/bootstrap4.css +279 -123
  348. package/styles/list-box/bootstrap4.scss +1 -1
  349. package/styles/list-box/bootstrap5-dark.css +277 -114
  350. package/styles/list-box/bootstrap5-dark.scss +1 -1
  351. package/styles/list-box/bootstrap5.css +277 -114
  352. package/styles/list-box/bootstrap5.scss +1 -1
  353. package/styles/list-box/fabric-dark.css +276 -113
  354. package/styles/list-box/fabric-dark.scss +1 -1
  355. package/styles/list-box/fabric.css +278 -114
  356. package/styles/list-box/fabric.scss +1 -1
  357. package/styles/list-box/fluent-dark.css +279 -115
  358. package/styles/list-box/fluent-dark.scss +1 -1
  359. package/styles/list-box/fluent.css +279 -115
  360. package/styles/list-box/fluent.scss +1 -1
  361. package/styles/list-box/highcontrast-light.css +276 -113
  362. package/styles/list-box/highcontrast-light.scss +1 -1
  363. package/styles/list-box/highcontrast.css +278 -114
  364. package/styles/list-box/highcontrast.scss +1 -1
  365. package/styles/list-box/icons/_bootstrap-dark.scss +25 -25
  366. package/styles/list-box/icons/_bootstrap.scss +25 -25
  367. package/styles/list-box/icons/_bootstrap4.scss +25 -25
  368. package/styles/list-box/icons/_bootstrap5.scss +25 -25
  369. package/styles/list-box/icons/_fabric-dark.scss +25 -25
  370. package/styles/list-box/icons/_fabric.scss +25 -25
  371. package/styles/list-box/icons/_fluent.scss +25 -25
  372. package/styles/list-box/icons/_fusionnew.scss +25 -25
  373. package/styles/list-box/icons/_highcontrast-light.scss +25 -25
  374. package/styles/list-box/icons/_highcontrast.scss +25 -25
  375. package/styles/list-box/icons/_material-dark.scss +25 -25
  376. package/styles/list-box/icons/_material.scss +25 -25
  377. package/styles/list-box/icons/_material3-dark.scss +1 -0
  378. package/styles/list-box/icons/_material3.scss +25 -25
  379. package/styles/list-box/icons/_tailwind-dark.scss +25 -25
  380. package/styles/list-box/icons/_tailwind.scss +25 -25
  381. package/styles/list-box/material-dark.css +277 -115
  382. package/styles/list-box/material-dark.scss +1 -1
  383. package/styles/list-box/material.css +279 -116
  384. package/styles/list-box/material.scss +1 -1
  385. package/styles/list-box/material3-dark.css +1010 -0
  386. package/styles/list-box/material3-dark.scss +6 -0
  387. package/styles/list-box/material3.css +1066 -0
  388. package/styles/list-box/material3.scss +6 -0
  389. package/styles/list-box/tailwind-dark.css +279 -116
  390. package/styles/list-box/tailwind-dark.scss +1 -1
  391. package/styles/list-box/tailwind.css +279 -116
  392. package/styles/list-box/tailwind.scss +1 -1
  393. package/styles/material-dark.css +311 -144
  394. package/styles/material.css +311 -135
  395. package/styles/material3-dark.css +4723 -0
  396. package/styles/material3-dark.scss +10 -0
  397. package/styles/material3.css +4779 -0
  398. package/styles/material3.scss +10 -0
  399. package/styles/mention/_all.scss +1 -1
  400. package/styles/mention/_bds-definition.scss +1 -0
  401. package/styles/mention/_bootstrap-dark-definition.scss +3 -3
  402. package/styles/mention/_bootstrap-definition.scss +3 -3
  403. package/styles/mention/_bootstrap4-definition.scss +3 -3
  404. package/styles/mention/_bootstrap5-definition.scss +1 -1
  405. package/styles/mention/_fabric-dark-definition.scss +2 -2
  406. package/styles/mention/_fabric-definition.scss +3 -3
  407. package/styles/mention/_fluent-definition.scss +1 -1
  408. package/styles/mention/_fusionnew-definition.scss +1 -1
  409. package/styles/mention/_highcontrast-definition.scss +3 -3
  410. package/styles/mention/_highcontrast-light-definition.scss +3 -3
  411. package/styles/mention/_layout.scss +6 -6
  412. package/styles/mention/_material-dark-definition.scss +3 -3
  413. package/styles/mention/_material-definition.scss +3 -3
  414. package/styles/mention/_material3-dark-definition.scss +1 -0
  415. package/styles/mention/_material3-definition.scss +1 -1
  416. package/styles/mention/_tailwind-definition.scss +1 -1
  417. package/styles/mention/bootstrap-dark.scss +1 -1
  418. package/styles/mention/bootstrap.scss +1 -1
  419. package/styles/mention/bootstrap4.css +0 -8
  420. package/styles/mention/bootstrap4.scss +1 -1
  421. package/styles/mention/bootstrap5-dark.scss +1 -1
  422. package/styles/mention/bootstrap5.scss +1 -1
  423. package/styles/mention/fabric-dark.scss +1 -1
  424. package/styles/mention/fabric.scss +1 -1
  425. package/styles/mention/fluent-dark.scss +1 -1
  426. package/styles/mention/fluent.scss +1 -1
  427. package/styles/mention/highcontrast-light.scss +1 -1
  428. package/styles/mention/highcontrast.scss +1 -1
  429. package/styles/mention/material-dark.css +0 -1
  430. package/styles/mention/material-dark.scss +1 -1
  431. package/styles/mention/material.css +0 -1
  432. package/styles/mention/material.scss +1 -1
  433. package/styles/mention/material3-dark.css +86 -0
  434. package/styles/mention/material3-dark.scss +7 -0
  435. package/styles/mention/material3.css +142 -0
  436. package/styles/mention/material3.scss +7 -0
  437. package/styles/mention/tailwind-dark.css +0 -1
  438. package/styles/mention/tailwind-dark.scss +1 -1
  439. package/styles/mention/tailwind.css +0 -1
  440. package/styles/mention/tailwind.scss +1 -1
  441. package/styles/multi-select/_all.scss +2 -2
  442. package/styles/multi-select/_bds-definition.scss +235 -0
  443. package/styles/multi-select/_bootstrap-dark-definition.scss +203 -196
  444. package/styles/multi-select/_bootstrap-definition.scss +192 -190
  445. package/styles/multi-select/_bootstrap4-definition.scss +278 -257
  446. package/styles/multi-select/_bootstrap5-definition.scss +230 -227
  447. package/styles/multi-select/_fabric-dark-definition.scss +192 -185
  448. package/styles/multi-select/_fabric-definition.scss +183 -181
  449. package/styles/multi-select/_fluent-definition.scss +241 -238
  450. package/styles/multi-select/_fusionnew-definition.scss +227 -227
  451. package/styles/multi-select/_highcontrast-definition.scss +303 -294
  452. package/styles/multi-select/_highcontrast-light-definition.scss +297 -293
  453. package/styles/multi-select/_layout.scss +2199 -2016
  454. package/styles/multi-select/_material-dark-definition.scss +230 -228
  455. package/styles/multi-select/_material-definition.scss +223 -221
  456. package/styles/multi-select/_material3-dark-definition.scss +1 -0
  457. package/styles/multi-select/_material3-definition.scss +246 -226
  458. package/styles/multi-select/_tailwind-definition.scss +235 -232
  459. package/styles/multi-select/_theme.scss +586 -492
  460. package/styles/multi-select/bootstrap-dark.css +18 -2
  461. package/styles/multi-select/bootstrap-dark.scss +1 -1
  462. package/styles/multi-select/bootstrap.css +13 -2
  463. package/styles/multi-select/bootstrap.scss +1 -1
  464. package/styles/multi-select/bootstrap4.css +32 -10
  465. package/styles/multi-select/bootstrap4.scss +1 -1
  466. package/styles/multi-select/bootstrap5-dark.css +18 -6
  467. package/styles/multi-select/bootstrap5-dark.scss +1 -1
  468. package/styles/multi-select/bootstrap5.css +18 -6
  469. package/styles/multi-select/bootstrap5.scss +1 -1
  470. package/styles/multi-select/fabric-dark.css +19 -3
  471. package/styles/multi-select/fabric-dark.scss +1 -1
  472. package/styles/multi-select/fabric.css +14 -3
  473. package/styles/multi-select/fabric.scss +1 -1
  474. package/styles/multi-select/fluent-dark.css +19 -7
  475. package/styles/multi-select/fluent-dark.scss +1 -1
  476. package/styles/multi-select/fluent.css +19 -7
  477. package/styles/multi-select/fluent.scss +1 -1
  478. package/styles/multi-select/highcontrast-light.css +20 -2
  479. package/styles/multi-select/highcontrast-light.scss +1 -1
  480. package/styles/multi-select/highcontrast.css +31 -8
  481. package/styles/multi-select/highcontrast.scss +1 -1
  482. package/styles/multi-select/icons/_bootstrap-dark.scss +26 -26
  483. package/styles/multi-select/icons/_bootstrap.scss +26 -26
  484. package/styles/multi-select/icons/_bootstrap4.scss +37 -37
  485. package/styles/multi-select/icons/_bootstrap5.scss +26 -26
  486. package/styles/multi-select/icons/_fabric-dark.scss +26 -26
  487. package/styles/multi-select/icons/_fabric.scss +26 -26
  488. package/styles/multi-select/icons/_fluent.scss +55 -55
  489. package/styles/multi-select/icons/_fusionnew.scss +26 -26
  490. package/styles/multi-select/icons/_highcontrast-light.scss +26 -26
  491. package/styles/multi-select/icons/_highcontrast.scss +26 -26
  492. package/styles/multi-select/icons/_material-dark.scss +693 -693
  493. package/styles/multi-select/icons/_material.scss +693 -693
  494. package/styles/multi-select/icons/_material3-dark.scss +1 -0
  495. package/styles/multi-select/icons/_material3.scss +692 -26
  496. package/styles/multi-select/icons/_tailwind.scss +26 -26
  497. package/styles/multi-select/material-dark.css +17 -7
  498. package/styles/multi-select/material-dark.scss +1 -1
  499. package/styles/multi-select/material.css +17 -7
  500. package/styles/multi-select/material.scss +1 -1
  501. package/styles/multi-select/material3-dark.css +2550 -0
  502. package/styles/multi-select/material3-dark.scss +10 -0
  503. package/styles/multi-select/material3.css +2606 -0
  504. package/styles/multi-select/material3.scss +10 -0
  505. package/styles/multi-select/tailwind-dark.css +17 -5
  506. package/styles/multi-select/tailwind-dark.scss +1 -1
  507. package/styles/multi-select/tailwind.css +17 -5
  508. package/styles/multi-select/tailwind.scss +1 -1
  509. package/styles/tailwind-dark.css +312 -141
  510. package/styles/tailwind.css +312 -141
  511. package/.eslintrc.json +0 -259
  512. package/dist/ej2-dropdowns.min.js +0 -10
  513. package/dist/global/ej2-dropdowns.min.js +0 -11
  514. package/dist/global/ej2-dropdowns.min.js.map +0 -1
  515. package/dist/global/index.d.ts +0 -14
  516. package/tslint.json +0 -111
@@ -1,4 +1,4 @@
1
- import { DropDownBase, SelectEventArgs, dropDownBaseClasses, PopupEventArgs, FilteringEventArgs } from '../drop-down-base/drop-down-base';import { FocusEventArgs, BeforeOpenEventArgs, FilterType, FieldSettings, ResultData } from '../drop-down-base/drop-down-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { Popup, createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';import { IInput, FloatLabelType, Input } from '@syncfusion/ej2-inputs';import { attributes, setValue, SanitizeHtmlHelper, getValue } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, extend } from '@syncfusion/ej2-base';import { EventHandler, Property, Event, compile, L10n, EmitType, KeyboardEventArgs } from '@syncfusion/ej2-base';import { Animation, AnimationModel, Browser, prepend, Complex } from '@syncfusion/ej2-base';import { Search } from '../common/incremental-search';import { append, addClass, removeClass, closest, detach, remove, select, selectAll } from '@syncfusion/ej2-base';import { getUniqueID, formatUnit, isNullOrUndefined, isUndefined, ModuleDeclaration } from '@syncfusion/ej2-base';import { DataManager, Query, Predicate } from '@syncfusion/ej2-data';import { SortOrder } from '@syncfusion/ej2-lists';import { createFloatLabel, removeFloating, floatLabelFocus, floatLabelBlur, encodePlaceholder } from './float-label';
1
+ import { DropDownBase, SelectEventArgs, dropDownBaseClasses, PopupEventArgs, FilteringEventArgs } from '../drop-down-base/drop-down-base';
2
2
  import {visualMode,MultiSelectChangeEventArgs,RemoveEventArgs,ISelectAllEventArgs,TaggingEventArgs,CustomValueEventArgs} from "./multi-select";
3
3
  import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";
4
4
 
@@ -8,549 +8,549 @@ import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";
8
8
  export interface MultiSelectModel extends DropDownBaseModel{
9
9
 
10
10
  /**
11
- * The `fields` property maps the columns of the data table and binds the data to the component.
12
- * * text - Maps the text column from data table for each list item.
13
- * * value - Maps the value column from data table for each list item.
14
- * * iconCss - Maps the icon class column from data table for each list item.
15
- * * groupBy - Group the list items with it's related items by mapping groupBy field.
16
- * ```html
17
- * <input type="text" tabindex="1" id="list"> </input>
18
- * ```
19
- * ```typescript
20
- * let customers: MultiSelect = new MultiSelect({
21
- * dataSource:new DataManager({ url:'http://js.syncfusion.com/demos/ejServices/Wcf/Northwind.svc/' }),
22
- * query: new Query().from('Customers').select(['ContactName', 'CustomerID']).take(5),
23
- * fields: { text: 'ContactName', value: 'CustomerID' },
24
- * placeholder: 'Select a customer'
25
- * });
26
- * customers.appendTo("#list");
27
- * ```
28
- *
29
- * @default {text: null, value: null, iconCss: null, groupBy: null}
30
- */
31
- fields?: FieldSettingsModel;
32
-
33
- /**
34
- * Enable or disable persisting MultiSelect component's state between page reloads.
35
- * If enabled, following list of states will be persisted.
36
- * 1. value
37
- *
38
- * @default false
39
- */
40
- enablePersistence?: boolean;
41
-
42
- /**
43
- * Accepts the template design and assigns it to the group headers present in the MultiSelect popup list.
44
- *
45
- * @default null
46
- */
47
- groupTemplate?: string;
48
-
49
- /**
50
- * Accepts the template design and assigns it to popup list of MultiSelect component
51
- * when no data is available on the component.
52
- *
53
- * @default 'No records found'
54
- */
55
- noRecordsTemplate?: string;
56
-
57
- /**
58
- * Accepts the template and assigns it to the popup list content of the MultiSelect component
59
- * when the data fetch request from the remote server fails.
60
- *
61
- * @default 'Request failed'
62
- */
63
- actionFailureTemplate?: string;
64
-
65
- /**
66
- * Specifies the `sortOrder` to sort the data source. The available type of sort orders are
67
- * * `None` - The data source is not sorting.
68
- * * `Ascending` - The data source is sorting with ascending order.
69
- * * `Descending` - The data source is sorting with descending order.
70
- *
71
- * @default null
72
- * @asptype object
73
- * @aspjsonconverterignore
74
- */
75
- sortOrder?: SortOrder;
76
-
77
- /**
78
- * Specifies a value that indicates whether the MultiSelect component is enabled or not.
79
- *
80
- * @default true
81
- */
82
- enabled?: boolean;
83
-
84
- /**
85
- * Defines whether to allow the cross-scripting site or not.
86
- *
87
- * @default false
88
- */
89
- enableHtmlSanitizer?: boolean;
90
-
91
- /**
92
- * Accepts the list items either through local or remote service and binds it to the MultiSelect component.
93
- * It can be an array of JSON Objects or an instance of
94
- * `DataManager`.
95
- *
96
- * @default []
97
- */
98
- dataSource?: { [key: string]: Object }[] | DataManager | string[] | number[] | boolean[];
99
-
100
- /**
101
- * Accepts the external `Query`
102
- * which will execute along with the data processing in MultiSelect.
103
- *
104
- * @default null
105
- */
106
- query?: Query;
107
-
108
- /**
109
- * Determines on which filter type, the MultiSelect component needs to be considered on search action.
110
- * The `FilterType` and its supported data types are
111
- *
112
- * <table>
113
- * <tr>
114
- * <td colSpan=1 rowSpan=1>
115
- * FilterType<br/></td><td colSpan=1 rowSpan=1>
116
- * Description<br/></td><td colSpan=1 rowSpan=1>
117
- * Supported Types<br/></td></tr>
118
- * <tr>
119
- * <td colSpan=1 rowSpan=1>
120
- * StartsWith<br/></td><td colSpan=1 rowSpan=1>
121
- * Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
122
- * String<br/></td></tr>
123
- * <tr>
124
- * <td colSpan=1 rowSpan=1>
125
- * EndsWith<br/></td><td colSpan=1 rowSpan=1>
126
- * Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
127
- * <br/>String<br/></td></tr>
128
- * <tr>
129
- * <td colSpan=1 rowSpan=1>
130
- * Contains<br/></td><td colSpan=1 rowSpan=1>
131
- * Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
132
- * <br/>String<br/></td></tr>
133
- * </table>
134
- *
135
- * The default value set to `StartsWith`, all the suggestion items which contain typed characters to listed in the suggestion popup.
136
- *
137
- * @default 'StartsWith'
138
- */
139
- filterType?: FilterType;
140
-
141
- /**
142
- * specifies the z-index value of the component popup element.
143
- *
144
- * @default 1000
145
- */
146
- zIndex?: number;
147
-
148
- /**
149
- * ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
150
- */
151
- ignoreAccent?: boolean;
152
-
153
- /**
154
- * Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
155
- *
156
- * @default 'en-US'
157
- */
158
- locale?: string;
159
-
160
- /**
161
- * Specifies a Boolean value that indicates the whether the grouped list items are
162
- * allowed to check by checking the group header in checkbox mode.
163
- * By default, there is no checkbox provided for group headers.
164
- * This property allows you to render checkbox for group headers and to select
165
- * all the grouped items at once
166
- *
167
- * @default false
168
- */
169
- enableGroupCheckBox?: boolean;
170
-
171
- /**
172
- * Sets the CSS classes to root element of this component which helps to customize the
173
- * complete styles.
174
- *
175
- * @default null
176
- */
177
- cssClass?: string;
178
-
179
- /**
180
- * Gets or sets the width of the component. By default, it sizes based on its parent.
181
- * container dimension.
182
- *
183
- * @default '100%'
184
- * @aspType string
185
- */
186
- width?: string | number;
187
-
188
- /**
189
- * Gets or sets the height of the popup list. By default it renders based on its list item.
190
- * > For more details about the popup configuration refer to
191
- * [`Popup Configuration`](../../multi-select/getting-started/#configure-the-popup-list) documentation.
192
- *
193
- * @default '300px'
194
- * @aspType string
195
- */
196
- popupHeight?: string | number;
197
-
198
- /**
199
- * Gets or sets the width of the popup list and percentage values has calculated based on input width.
200
- * > For more details about the popup configuration refer to
201
- * [`Popup Configuration`](../../multi-select/getting-started/#configure-the-popup-list) documentation.
202
- *
203
- * @default '100%'
204
- * @aspType string
205
- */
206
- popupWidth?: string | number;
207
-
208
- /**
209
- * Gets or sets the placeholder in the component to display the given information
210
- * in input when no item selected.
211
- *
212
- * @default null
213
- */
214
- placeholder?: string;
215
-
216
- /**
217
- * Accepts the value to be displayed as a watermark text on the filter bar.
218
- *
219
- * @default null
220
- */
221
- filterBarPlaceholder?: string;
222
-
223
- /**
224
- * Gets or sets the additional attribute to `HtmlAttributes` property in MultiSelect,
225
- * which helps to add attribute like title, name etc, input should be key value pair.
226
- *
227
- * {% codeBlock src='multiselect/htmlAttributes/index.md' %}{% endcodeBlock %}
228
- *
229
- * @default {}
230
- */
231
- htmlAttributes?: { [key: string]: string };
232
-
233
- /**
234
- * Accepts the template design and assigns it to the selected list item in the input element of the component.
235
- * For more details about the available template options refer to
236
- * [`Template`](../../multi-select/templates) documentation.
237
- *
238
- * We have built-in `template engine`
239
- * which provides options to compile template string into a executable function.
240
- * For EX: We have expression evolution as like ES6 expression string literals.
241
- *
242
- * @default null
243
- */
244
- valueTemplate?: string;
245
-
246
- /**
247
- * Accepts the template design and assigns it to the header container of the popup list.
248
- * > For more details about the available template options refer to [`Template`](../../multi-select/templates) documentation.
249
- *
250
- * @default null
251
- */
252
- headerTemplate?: string;
253
-
254
- /**
255
- * Accepts the template design and assigns it to the footer container of the popup list.
256
- * > For more details about the available template options refer to [`Template`](../../multi-select/templates) documentation.
257
- *
258
- * @default null
259
- */
260
- footerTemplate?: string;
261
-
262
- /**
263
- * Accepts the template design and assigns it to each list item present in the popup.
264
- * > For more details about the available template options refer to [`Template`](../../multi-select/templates) documentation.
265
- *
266
- * We have built-in `template engine`
267
- * which provides options to compile template string into a executable function.
268
- * For EX: We have expression evolution as like ES6 expression string literals.
269
- *
270
- * @default null
271
- */
272
- itemTemplate?: string;
273
-
274
- /**
275
- * To enable the filtering option in this component.
276
- * Filter action performs when type in search box and collect the matched item through `filtering` event.
277
- * If searching character does not match, `noRecordsTemplate` property value will be shown.
278
- *
279
- * {% codeBlock src="multiselect/allow-filtering-api/index.ts" %}{% endcodeBlock %}
280
- *
281
- * {% codeBlock src="multiselect/allow-filtering-api/index.html" %}{% endcodeBlock %}
282
- *
283
- * @default null
284
- */
285
- allowFiltering?: boolean;
286
-
287
- /**
288
- * By default, the multiselect component fires the change event while focus out the component.
289
- * If you want to fires the change event on every value selection and remove, then disable the changeOnBlur property.
290
- *
291
- * @default true
292
- */
293
- changeOnBlur?: boolean;
294
-
295
- /**
296
- * Allows user to add a
297
- * [`custom value`](../../multi-select/custom-value), the value which is not present in the suggestion list.
298
- *
299
- * @default false
300
- */
301
- allowCustomValue?: boolean;
302
-
303
- /**
304
- * Enables close icon with the each selected item.
305
- *
306
- * @default true
307
- */
308
- showClearButton?: boolean;
309
-
310
- /**
311
- * Sets limitation to the value selection.
312
- * based on the limitation, list selection will be prevented.
313
- *
314
- * @default 1000
315
- */
316
- maximumSelectionLength?: number;
317
-
318
- /**
319
- * Gets or sets the `readonly` to input or not. Once enabled, just you can copy or highlight
320
- * the text however tab key action will perform.
321
- *
322
- * @default false
323
- */
324
- readonly?: boolean;
325
-
326
- /**
327
- * Selects the list item which maps the data `text` field in the component.
328
- *
329
- * @default null
330
- */
331
- text?: string;
332
-
333
- /**
334
- * Selects the list item which maps the data `value` field in the component.
335
- * {% codeBlock src='multiselect/value/index.md' %}{% endcodeBlock %}
336
- *
337
- * @default null
338
- * @isGenericType true
339
- */
340
- value?: number[] | string[] | boolean[];
341
-
342
- /**
343
- * Hides the selected item from the list item.
344
- *
345
- * @default true
346
- */
347
- hideSelectedItem?: boolean;
348
-
349
- /**
350
- * Based on the property, when item get select popup visibility state will changed.
351
- *
352
- * @default true
353
- */
354
- closePopupOnSelect?: boolean;
355
-
356
- /**
357
- * configures visibility mode for component interaction.
358
- *
359
- * - `Box` - selected items will be visualized in chip.
360
- *
361
- * - `Delimiter` - selected items will be visualized in text content.
362
- *
363
- * - `Default` - on `focus in` component will act in `box` mode.
364
- * on `blur` component will act in `delimiter` mode.
365
- *
366
- * - `CheckBox` - The 'checkbox' will be visualized in list item.
367
- *
368
- * {% codeBlock src="multiselect/visual-mode-api/index.ts" %}{% endcodeBlock %}
369
- *
370
- * {% codeBlock src="multiselect/visual-mode-api/index.html" %}{% endcodeBlock %}
371
- *
372
- * @default Default
373
- */
374
- mode?: visualMode;
375
-
376
- /**
377
- * Sets the delimiter character for 'default' and 'delimiter' visibility modes.
378
- *
379
- * @default ','
380
- */
381
- delimiterChar?: string;
382
-
383
- /**
384
- * Sets [`case sensitive`](../../multi-select/filtering/#case-sensitive-filtering)
385
- * option for filter operation.
386
- *
387
- * @default true
388
- */
389
- ignoreCase?: boolean;
390
-
11
+ * The `fields` property maps the columns of the data table and binds the data to the component.
12
+ * * text - Maps the text column from data table for each list item.
13
+ * * value - Maps the value column from data table for each list item.
14
+ * * iconCss - Maps the icon class column from data table for each list item.
15
+ * * groupBy - Group the list items with it's related items by mapping groupBy field.
16
+ * ```html
17
+ * <input type="text" tabindex="1" id="list"> </input>
18
+ * ```
19
+ * ```typescript
20
+ * let customers: MultiSelect = new MultiSelect({
21
+ * dataSource:new DataManager({ url:'http://js.syncfusion.com/demos/ejServices/Wcf/Northwind.svc/' }),
22
+ * query: new Query().from('Customers').select(['ContactName', 'CustomerID']).take(5),
23
+ * fields: { text: 'ContactName', value: 'CustomerID' },
24
+ * placeholder: 'Select a customer'
25
+ * });
26
+ * customers.appendTo("#list");
27
+ * ```
28
+ *
29
+ * @default {text: null, value: null, iconCss: null, groupBy: null}
30
+ */
31
+ fields?: FieldSettingsModel;
32
+
33
+ /**
34
+ * Enable or disable persisting MultiSelect component's state between page reloads.
35
+ * If enabled, following list of states will be persisted.
36
+ * 1. value
37
+ *
38
+ * @default false
39
+ */
40
+ enablePersistence?: boolean;
41
+
42
+ /**
43
+ * Accepts the template design and assigns it to the group headers present in the MultiSelect popup list.
44
+ *
45
+ * @default null
46
+ */
47
+ groupTemplate?: string;
48
+
49
+ /**
50
+ * Accepts the template design and assigns it to popup list of MultiSelect component
51
+ * when no data is available on the component.
52
+ *
53
+ * @default 'No records found'
54
+ */
55
+ noRecordsTemplate?: string;
56
+
57
+ /**
58
+ * Accepts the template and assigns it to the popup list content of the MultiSelect component
59
+ * when the data fetch request from the remote server fails.
60
+ *
61
+ * @default 'Request failed'
62
+ */
63
+ actionFailureTemplate?: string;
64
+
65
+ /**
66
+ * Specifies the `sortOrder` to sort the data source. The available type of sort orders are
67
+ * * `None` - The data source is not sorting.
68
+ * * `Ascending` - The data source is sorting with ascending order.
69
+ * * `Descending` - The data source is sorting with descending order.
70
+ *
71
+ * @default null
72
+ * @asptype object
73
+ * @aspjsonconverterignore
74
+ */
75
+ sortOrder?: SortOrder;
76
+
77
+ /**
78
+ * Specifies a value that indicates whether the MultiSelect component is enabled or not.
79
+ *
80
+ * @default true
81
+ */
82
+ enabled?: boolean;
83
+
84
+ /**
85
+ * Defines whether to allow the cross-scripting site or not.
86
+ *
87
+ * @default false
88
+ */
89
+ enableHtmlSanitizer?: boolean;
90
+
91
+ /**
92
+ * Accepts the list items either through local or remote service and binds it to the MultiSelect component.
93
+ * It can be an array of JSON Objects or an instance of
94
+ * `DataManager`.
95
+ *
96
+ * @default []
97
+ */
98
+ dataSource?: { [key: string]: Object }[] | DataManager | string[] | number[] | boolean[];
99
+
100
+ /**
101
+ * Accepts the external `Query`
102
+ * which will execute along with the data processing in MultiSelect.
103
+ *
104
+ * @default null
105
+ */
106
+ query?: Query;
107
+
108
+ /**
109
+ * Determines on which filter type, the MultiSelect component needs to be considered on search action.
110
+ * The `FilterType` and its supported data types are
111
+ *
112
+ * <table>
113
+ * <tr>
114
+ * <td colSpan=1 rowSpan=1>
115
+ * FilterType<br/></td><td colSpan=1 rowSpan=1>
116
+ * Description<br/></td><td colSpan=1 rowSpan=1>
117
+ * Supported Types<br/></td></tr>
118
+ * <tr>
119
+ * <td colSpan=1 rowSpan=1>
120
+ * StartsWith<br/></td><td colSpan=1 rowSpan=1>
121
+ * Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
122
+ * String<br/></td></tr>
123
+ * <tr>
124
+ * <td colSpan=1 rowSpan=1>
125
+ * EndsWith<br/></td><td colSpan=1 rowSpan=1>
126
+ * Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
127
+ * <br/>String<br/></td></tr>
128
+ * <tr>
129
+ * <td colSpan=1 rowSpan=1>
130
+ * Contains<br/></td><td colSpan=1 rowSpan=1>
131
+ * Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
132
+ * <br/>String<br/></td></tr>
133
+ * </table>
134
+ *
135
+ * The default value set to `StartsWith`, all the suggestion items which contain typed characters to listed in the suggestion popup.
136
+ *
137
+ * @default 'StartsWith'
138
+ */
139
+ filterType?: FilterType;
140
+
141
+ /**
142
+ * specifies the z-index value of the component popup element.
143
+ *
144
+ * @default 1000
145
+ */
146
+ zIndex?: number;
147
+
148
+ /**
149
+ * ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
150
+ */
151
+ ignoreAccent?: boolean;
152
+
153
+ /**
154
+ * Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
155
+ *
156
+ * @default 'en-US'
157
+ */
158
+ locale?: string;
159
+
160
+ /**
161
+ * Specifies a Boolean value that indicates the whether the grouped list items are
162
+ * allowed to check by checking the group header in checkbox mode.
163
+ * By default, there is no checkbox provided for group headers.
164
+ * This property allows you to render checkbox for group headers and to select
165
+ * all the grouped items at once
166
+ *
167
+ * @default false
168
+ */
169
+ enableGroupCheckBox?: boolean;
170
+
171
+ /**
172
+ * Sets the CSS classes to root element of this component which helps to customize the
173
+ * complete styles.
174
+ *
175
+ * @default null
176
+ */
177
+ cssClass?: string;
178
+
179
+ /**
180
+ * Gets or sets the width of the component. By default, it sizes based on its parent.
181
+ * container dimension.
182
+ *
183
+ * @default '100%'
184
+ * @aspType string
185
+ */
186
+ width?: string | number;
187
+
188
+ /**
189
+ * Gets or sets the height of the popup list. By default it renders based on its list item.
190
+ * > For more details about the popup configuration refer to
191
+ * [`Popup Configuration`](../../multi-select/getting-started/#configure-the-popup-list) documentation.
192
+ *
193
+ * @default '300px'
194
+ * @aspType string
195
+ */
196
+ popupHeight?: string | number;
197
+
198
+ /**
199
+ * Gets or sets the width of the popup list and percentage values has calculated based on input width.
200
+ * > For more details about the popup configuration refer to
201
+ * [`Popup Configuration`](../../multi-select/getting-started/#configure-the-popup-list) documentation.
202
+ *
203
+ * @default '100%'
204
+ * @aspType string
205
+ */
206
+ popupWidth?: string | number;
207
+
208
+ /**
209
+ * Gets or sets the placeholder in the component to display the given information
210
+ * in input when no item selected.
211
+ *
212
+ * @default null
213
+ */
214
+ placeholder?: string;
215
+
216
+ /**
217
+ * Accepts the value to be displayed as a watermark text on the filter bar.
218
+ *
219
+ * @default null
220
+ */
221
+ filterBarPlaceholder?: string;
222
+
223
+ /**
224
+ * Gets or sets the additional attribute to `HtmlAttributes` property in MultiSelect,
225
+ * which helps to add attribute like title, name etc, input should be key value pair.
226
+ *
227
+ * {% codeBlock src='multiselect/htmlAttributes/index.md' %}{% endcodeBlock %}
228
+ *
229
+ * @default {}
230
+ */
231
+ htmlAttributes?: { [key: string]: string };
232
+
233
+ /**
234
+ * Accepts the template design and assigns it to the selected list item in the input element of the component.
235
+ * For more details about the available template options refer to
236
+ * [`Template`](../../multi-select/templates) documentation.
237
+ *
238
+ * We have built-in `template engine`
239
+ * which provides options to compile template string into a executable function.
240
+ * For EX: We have expression evolution as like ES6 expression string literals.
241
+ *
242
+ * @default null
243
+ */
244
+ valueTemplate?: string;
245
+
246
+ /**
247
+ * Accepts the template design and assigns it to the header container of the popup list.
248
+ * > For more details about the available template options refer to [`Template`](../../multi-select/templates) documentation.
249
+ *
250
+ * @default null
251
+ */
252
+ headerTemplate?: string;
253
+
254
+ /**
255
+ * Accepts the template design and assigns it to the footer container of the popup list.
256
+ * > For more details about the available template options refer to [`Template`](../../multi-select/templates) documentation.
257
+ *
258
+ * @default null
259
+ */
260
+ footerTemplate?: string;
261
+
262
+ /**
263
+ * Accepts the template design and assigns it to each list item present in the popup.
264
+ * > For more details about the available template options refer to [`Template`](../../multi-select/templates) documentation.
265
+ *
266
+ * We have built-in `template engine`
267
+ * which provides options to compile template string into a executable function.
268
+ * For EX: We have expression evolution as like ES6 expression string literals.
269
+ *
270
+ * @default null
271
+ */
272
+ itemTemplate?: string;
273
+
274
+ /**
275
+ * To enable the filtering option in this component.
276
+ * Filter action performs when type in search box and collect the matched item through `filtering` event.
277
+ * If searching character does not match, `noRecordsTemplate` property value will be shown.
278
+ *
279
+ * {% codeBlock src="multiselect/allow-filtering-api/index.ts" %}{% endcodeBlock %}
280
+ *
281
+ * {% codeBlock src="multiselect/allow-filtering-api/index.html" %}{% endcodeBlock %}
282
+ *
283
+ * @default null
284
+ */
285
+ allowFiltering?: boolean;
286
+
287
+ /**
288
+ * By default, the multiselect component fires the change event while focus out the component.
289
+ * If you want to fires the change event on every value selection and remove, then disable the changeOnBlur property.
290
+ *
291
+ * @default true
292
+ */
293
+ changeOnBlur?: boolean;
294
+
295
+ /**
296
+ * Allows user to add a
297
+ * [`custom value`](../../multi-select/custom-value), the value which is not present in the suggestion list.
298
+ *
299
+ * @default false
300
+ */
301
+ allowCustomValue?: boolean;
302
+
303
+ /**
304
+ * Enables close icon with the each selected item.
305
+ *
306
+ * @default true
307
+ */
308
+ showClearButton?: boolean;
309
+
310
+ /**
311
+ * Sets limitation to the value selection.
312
+ * based on the limitation, list selection will be prevented.
313
+ *
314
+ * @default 1000
315
+ */
316
+ maximumSelectionLength?: number;
317
+
318
+ /**
319
+ * Gets or sets the `readonly` to input or not. Once enabled, just you can copy or highlight
320
+ * the text however tab key action will perform.
321
+ *
322
+ * @default false
323
+ */
324
+ readonly?: boolean;
325
+
326
+ /**
327
+ * Selects the list item which maps the data `text` field in the component.
328
+ *
329
+ * @default null
330
+ */
331
+ text?: string;
332
+
333
+ /**
334
+ * Selects the list item which maps the data `value` field in the component.
335
+ * {% codeBlock src='multiselect/value/index.md' %}{% endcodeBlock %}
336
+ *
337
+ * @default null
338
+ * @isGenericType true
339
+ */
340
+ value?: number[] | string[] | boolean[];
341
+
342
+ /**
343
+ * Hides the selected item from the list item.
344
+ *
345
+ * @default true
346
+ */
347
+ hideSelectedItem?: boolean;
348
+
349
+ /**
350
+ * Based on the property, when item get select popup visibility state will changed.
351
+ *
352
+ * @default true
353
+ */
354
+ closePopupOnSelect?: boolean;
355
+
356
+ /**
357
+ * configures visibility mode for component interaction.
358
+ *
359
+ * - `Box` - selected items will be visualized in chip.
360
+ *
361
+ * - `Delimiter` - selected items will be visualized in text content.
362
+ *
363
+ * - `Default` - on `focus in` component will act in `box` mode.
364
+ * on `blur` component will act in `delimiter` mode.
365
+ *
366
+ * - `CheckBox` - The 'checkbox' will be visualized in list item.
367
+ *
368
+ * {% codeBlock src="multiselect/visual-mode-api/index.ts" %}{% endcodeBlock %}
369
+ *
370
+ * {% codeBlock src="multiselect/visual-mode-api/index.html" %}{% endcodeBlock %}
371
+ *
372
+ * @default Default
373
+ */
374
+ mode?: visualMode;
375
+
376
+ /**
377
+ * Sets the delimiter character for 'default' and 'delimiter' visibility modes.
378
+ *
379
+ * @default ','
380
+ */
381
+ delimiterChar?: string;
382
+
383
+ /**
384
+ * Sets [`case sensitive`](../../multi-select/filtering/#case-sensitive-filtering)
385
+ * option for filter operation.
386
+ *
387
+ * @default true
388
+ */
389
+ ignoreCase?: boolean;
390
+
391
391
  /**
392
- * Allows you to either show or hide the DropDown button on the component
393
- *
394
- * @default false
395
- */
396
- showDropDownIcon?: boolean;
397
-
392
+ * Allows you to either show or hide the DropDown button on the component
393
+ *
394
+ * @default false
395
+ */
396
+ showDropDownIcon?: boolean;
397
+
398
398
  /**
399
- * Specifies whether to display the floating label above the input element.
400
- * Possible values are:
401
- * * Never: The label will never float in the input when the placeholder is available.
402
- * * Always: The floating label will always float above the input.
403
- * * Auto: The floating label will float above the input after focusing or entering a value in the input.
404
- *
405
- * @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
406
- * @aspType Syncfusion.EJ2.Inputs.FloatLabelType
407
- * @isEnumeration true
408
- */
409
- floatLabelType?: FloatLabelType;
410
-
411
- /**
412
- * Allows you to either show or hide the selectAll option on the component.
413
- *
414
- * @default false
415
- */
416
- showSelectAll?: boolean;
399
+ * Specifies whether to display the floating label above the input element.
400
+ * Possible values are:
401
+ * * Never: The label will never float in the input when the placeholder is available.
402
+ * * Always: The floating label will always float above the input.
403
+ * * Auto: The floating label will float above the input after focusing or entering a value in the input.
404
+ *
405
+ * @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
406
+ * @aspType Syncfusion.EJ2.Inputs.FloatLabelType
407
+ * @isEnumeration true
408
+ */
409
+ floatLabelType?: FloatLabelType;
410
+
411
+ /**
412
+ * Allows you to either show or hide the selectAll option on the component.
413
+ *
414
+ * @default false
415
+ */
416
+ showSelectAll?: boolean;
417
417
 
418
418
  /**
419
- * Specifies the selectAllText to be displayed on the component.
420
- *
421
- * @default 'select All'
422
- */
423
- selectAllText?: string;
419
+ * Specifies the selectAllText to be displayed on the component.
420
+ *
421
+ * @default 'select All'
422
+ */
423
+ selectAllText?: string;
424
424
 
425
425
  /**
426
- * Specifies the UnSelectAllText to be displayed on the component.
427
- *
428
- * @default 'select All'
429
- */
430
- unSelectAllText?: string;
426
+ * Specifies the UnSelectAllText to be displayed on the component.
427
+ *
428
+ * @default 'select All'
429
+ */
430
+ unSelectAllText?: string;
431
431
 
432
432
  /**
433
- * Reorder the selected items in popup visibility state.
434
- *
435
- * @default true
436
- */
437
- enableSelectionOrder?: boolean;
433
+ * Reorder the selected items in popup visibility state.
434
+ *
435
+ * @default true
436
+ */
437
+ enableSelectionOrder?: boolean;
438
438
 
439
439
  /**
440
- * Whether to automatically open the popup when the control is clicked.
441
- *
442
- * @default true
443
- */
444
- openOnClick?: boolean;
440
+ * Whether to automatically open the popup when the control is clicked.
441
+ *
442
+ * @default true
443
+ */
444
+ openOnClick?: boolean;
445
445
 
446
446
  /**
447
- * By default, the typed value is converting into chip or update as value of the component when you press the enter key or select from the popup.
448
- * If you want to convert the typed value into chip or update as value of the component while focusing out the component, then enable this property.
449
- * If custom value is enabled, both custom value and value present in the list are converted into tag while focusing out the component; Otherwise, value present in the list is converted into tag while focusing out the component.
450
- *
451
- * @default false
452
- */
453
- addTagOnBlur?: boolean;
447
+ * By default, the typed value is converting into chip or update as value of the component when you press the enter key or select from the popup.
448
+ * If you want to convert the typed value into chip or update as value of the component while focusing out the component, then enable this property.
449
+ * If custom value is enabled, both custom value and value present in the list are converted into tag while focusing out the component; Otherwise, value present in the list is converted into tag while focusing out the component.
450
+ *
451
+ * @default false
452
+ */
453
+ addTagOnBlur?: boolean;
454
454
 
455
455
  /**
456
- * Fires each time when selection changes happened in list items after model and input value get affected.
457
- *
458
- * @event change
459
- */
460
- change?: EmitType<MultiSelectChangeEventArgs>;
456
+ * Fires each time when selection changes happened in list items after model and input value get affected.
457
+ *
458
+ * @event change
459
+ */
460
+ change?: EmitType<MultiSelectChangeEventArgs>;
461
461
 
462
462
  /**
463
- * Fires before the selected item removed from the widget.
464
- *
465
- * @event removing
466
- */
467
- removing?: EmitType<RemoveEventArgs>;
463
+ * Fires before the selected item removed from the widget.
464
+ *
465
+ * @event removing
466
+ */
467
+ removing?: EmitType<RemoveEventArgs>;
468
468
 
469
469
  /**
470
- * Fires after the selected item removed from the widget.
471
- *
472
- * @event removed
473
- */
474
- removed?: EmitType<RemoveEventArgs>;
470
+ * Fires after the selected item removed from the widget.
471
+ *
472
+ * @event removed
473
+ */
474
+ removed?: EmitType<RemoveEventArgs>;
475
475
 
476
476
  /**
477
- * Fires before select all process.
478
- *
479
- * @event beforeSelectAll
480
- * @blazorProperty 'beforeSelectAll'
481
- */
482
- beforeSelectAll?: EmitType<ISelectAllEventArgs>;
477
+ * Fires before select all process.
478
+ *
479
+ * @event beforeSelectAll
480
+ * @blazorProperty 'beforeSelectAll'
481
+ */
482
+ beforeSelectAll?: EmitType<ISelectAllEventArgs>;
483
483
 
484
484
  /**
485
- * Fires after select all process completion.
486
- *
487
- * @event selectedAll
488
- */
489
- selectedAll?: EmitType<ISelectAllEventArgs>;
485
+ * Fires after select all process completion.
486
+ *
487
+ * @event selectedAll
488
+ */
489
+ selectedAll?: EmitType<ISelectAllEventArgs>;
490
490
 
491
491
  /**
492
- * Fires when popup opens before animation.
493
- *
494
- * @event beforeOpen
495
- */
496
- beforeOpen?: EmitType<Object>;
492
+ * Fires when popup opens before animation.
493
+ *
494
+ * @event beforeOpen
495
+ */
496
+ beforeOpen?: EmitType<Object>;
497
497
 
498
498
  /**
499
- * Fires when popup opens after animation completion.
500
- *
501
- * @event open
502
- */
503
- open?: EmitType<PopupEventArgs>;
499
+ * Fires when popup opens after animation completion.
500
+ *
501
+ * @event open
502
+ */
503
+ open?: EmitType<PopupEventArgs>;
504
504
 
505
505
  /**
506
- * Fires when popup close after animation completion.
507
- *
508
- * @event close
509
- */
510
- close?: EmitType<PopupEventArgs>;
506
+ * Fires when popup close after animation completion.
507
+ *
508
+ * @event close
509
+ */
510
+ close?: EmitType<PopupEventArgs>;
511
511
 
512
512
  /**
513
- * Event triggers when the input get focus-out.
514
- *
515
- * @event blur
516
- */
517
- blur?: EmitType<Object>;
513
+ * Event triggers when the input get focus-out.
514
+ *
515
+ * @event blur
516
+ */
517
+ blur?: EmitType<Object>;
518
518
 
519
519
  /**
520
- * Event triggers when the input get focused.
521
- *
522
- * @event focus
523
- */
524
- focus?: EmitType<Object>;
520
+ * Event triggers when the input get focused.
521
+ *
522
+ * @event focus
523
+ */
524
+ focus?: EmitType<Object>;
525
525
 
526
526
  /**
527
- * Event triggers when the chip selection.
528
- *
529
- * @event chipSelection
530
- */
531
- chipSelection?: EmitType<Object>;
527
+ * Event triggers when the chip selection.
528
+ *
529
+ * @event chipSelection
530
+ */
531
+ chipSelection?: EmitType<Object>;
532
532
 
533
533
  /**
534
- * Triggers event,when user types a text in search box.
535
- * > For more details about filtering, refer to [`Filtering`](../../multi-select/filtering) documentation.
536
- *
537
- * @event filtering
538
- */
539
- filtering?: EmitType<FilteringEventArgs>;
534
+ * Triggers event,when user types a text in search box.
535
+ * > For more details about filtering, refer to [`Filtering`](../../multi-select/filtering) documentation.
536
+ *
537
+ * @event filtering
538
+ */
539
+ filtering?: EmitType<FilteringEventArgs>;
540
540
 
541
541
  /**
542
- * Fires before set the selected item as chip in the component.
543
- * > For more details about chip customization refer [`Chip Customization`](../../multi-select/chip-customization)
544
- *
545
- * @event tagging
546
- */
547
- tagging?: EmitType<TaggingEventArgs>;
542
+ * Fires before set the selected item as chip in the component.
543
+ * > For more details about chip customization refer [`Chip Customization`](../../multi-select/chip-customization)
544
+ *
545
+ * @event tagging
546
+ */
547
+ tagging?: EmitType<TaggingEventArgs>;
548
548
 
549
549
  /**
550
- * Triggers when the [`customValue`](../../multi-select/custom-value) is selected.
551
- *
552
- * @event customValueSelection
553
- */
554
- customValueSelection?: EmitType<CustomValueEventArgs>;
550
+ * Triggers when the [`customValue`](../../multi-select/custom-value) is selected.
551
+ *
552
+ * @event customValueSelection
553
+ */
554
+ customValueSelection?: EmitType<CustomValueEventArgs>;
555
555
 
556
556
  }