@syncfusion/ej2-dropdowns 29.2.8 → 29.2.11-81740

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