@syncfusion/ej2-dropdowns 23.1.40-85814 → 23.1.41

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