@syncfusion/ej2-dropdowns 24.1.43 → 24.1.45-12082

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 (327) hide show
  1. package/CHANGELOG.md +2101 -2058
  2. package/{README.md → ReadMe.md} +217 -217
  3. package/dist/ej2-dropdowns.min.js +1 -10
  4. package/dist/ej2-dropdowns.umd.min.js +1 -10
  5. package/dist/ej2-dropdowns.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-dropdowns.es2015.js +94 -74
  7. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  8. package/dist/es6/ej2-dropdowns.es5.js +236 -216
  9. package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
  10. package/dist/global/ej2-dropdowns.min.js +1 -10
  11. package/dist/global/ej2-dropdowns.min.js.map +1 -1
  12. package/dist/global/index.d.ts +0 -9
  13. package/dist/ts/auto-complete/auto-complete.ts +623 -0
  14. package/dist/ts/combo-box/combo-box.ts +1099 -0
  15. package/dist/ts/common/highlight-search.ts +57 -0
  16. package/dist/ts/common/incremental-search.ts +172 -0
  17. package/dist/ts/common/interface.ts +74 -0
  18. package/dist/ts/common/virtual-scroll.ts +388 -0
  19. package/dist/ts/drop-down-base/drop-down-base.ts +1986 -0
  20. package/dist/ts/drop-down-list/drop-down-list.ts +4261 -0
  21. package/dist/ts/drop-down-tree/drop-down-tree.ts +3747 -0
  22. package/dist/ts/list-box/list-box.ts +2772 -0
  23. package/dist/ts/mention/mention.ts +1875 -0
  24. package/dist/ts/multi-select/checkbox-selection.ts +550 -0
  25. package/dist/ts/multi-select/float-label.ts +176 -0
  26. package/dist/ts/multi-select/interface.ts +70 -0
  27. package/dist/ts/multi-select/multi-select.ts +4882 -0
  28. package/helpers/e2e/autocomplete.js +13 -13
  29. package/helpers/e2e/combobox.js +13 -13
  30. package/helpers/e2e/dropdownlist.js +13 -13
  31. package/helpers/e2e/index.js +3 -3
  32. package/helpers/e2e/listboxHelper.js +13 -13
  33. package/helpers/e2e/multiselect.js +13 -13
  34. package/license +2 -2
  35. package/package.json +80 -80
  36. package/src/auto-complete/auto-complete-model.d.ts +188 -188
  37. package/src/auto-complete/auto-complete.d.ts +12 -12
  38. package/src/auto-complete/auto-complete.js +21 -21
  39. package/src/combo-box/combo-box-model.d.ts +224 -224
  40. package/src/combo-box/combo-box.d.ts +27 -27
  41. package/src/combo-box/combo-box.js +29 -29
  42. package/src/common/virtual-scroll.js +46 -46
  43. package/src/drop-down-base/drop-down-base-model.d.ts +200 -200
  44. package/src/drop-down-base/drop-down-base.d.ts +16 -16
  45. package/src/drop-down-base/drop-down-base.js +20 -20
  46. package/src/drop-down-list/drop-down-list-model.d.ts +202 -202
  47. package/src/drop-down-list/drop-down-list.d.ts +5 -4
  48. package/src/drop-down-list/drop-down-list.js +31 -22
  49. package/src/drop-down-tree/drop-down-tree-model.d.ts +468 -468
  50. package/src/drop-down-tree/drop-down-tree.d.ts +0 -1
  51. package/src/drop-down-tree/drop-down-tree.js +20 -28
  52. package/src/list-box/list-box-model.d.ts +193 -193
  53. package/src/list-box/list-box.d.ts +2 -2
  54. package/src/list-box/list-box.js +34 -22
  55. package/src/mention/mention-model.d.ts +261 -261
  56. package/src/mention/mention.js +29 -22
  57. package/src/multi-select/multi-select-model.d.ts +512 -512
  58. package/src/multi-select/multi-select.js +20 -20
  59. package/styles/auto-complete/_all.scss +1 -1
  60. package/styles/auto-complete/_bds-definition.scss +2 -0
  61. package/styles/auto-complete/_bootstrap-dark-definition.scss +3 -3
  62. package/styles/auto-complete/_bootstrap-definition.scss +2 -2
  63. package/styles/auto-complete/_bootstrap4-definition.scss +11 -11
  64. package/styles/auto-complete/_bootstrap5-definition.scss +2 -2
  65. package/styles/auto-complete/_fabric-dark-definition.scss +2 -2
  66. package/styles/auto-complete/_fabric-definition.scss +2 -2
  67. package/styles/auto-complete/_fluent-definition.scss +2 -2
  68. package/styles/auto-complete/_fusionnew-definition.scss +2 -2
  69. package/styles/auto-complete/_highcontrast-definition.scss +2 -2
  70. package/styles/auto-complete/_highcontrast-light-definition.scss +2 -2
  71. package/styles/auto-complete/_material-dark-definition.scss +2 -2
  72. package/styles/auto-complete/_material-definition.scss +2 -2
  73. package/styles/auto-complete/_material3-definition.scss +2 -2
  74. package/styles/auto-complete/_tailwind-definition.scss +2 -2
  75. package/styles/auto-complete/material3-dark.scss +1 -1
  76. package/styles/auto-complete/material3.scss +1 -1
  77. package/styles/bootstrap-dark.css +9 -0
  78. package/styles/bootstrap.css +9 -0
  79. package/styles/bootstrap4.css +9 -0
  80. package/styles/bootstrap5-dark.css +9 -0
  81. package/styles/bootstrap5.css +9 -0
  82. package/styles/combo-box/_all.scss +1 -1
  83. package/styles/combo-box/_bds-definition.scss +2 -0
  84. package/styles/combo-box/_bootstrap-dark-definition.scss +2 -2
  85. package/styles/combo-box/_bootstrap-definition.scss +2 -2
  86. package/styles/combo-box/_bootstrap4-definition.scss +11 -11
  87. package/styles/combo-box/_bootstrap5-definition.scss +2 -2
  88. package/styles/combo-box/_fabric-dark-definition.scss +2 -2
  89. package/styles/combo-box/_fabric-definition.scss +2 -2
  90. package/styles/combo-box/_fluent-definition.scss +2 -2
  91. package/styles/combo-box/_fusionnew-definition.scss +2 -2
  92. package/styles/combo-box/_highcontrast-definition.scss +2 -2
  93. package/styles/combo-box/_highcontrast-light-definition.scss +3 -3
  94. package/styles/combo-box/_material-dark-definition.scss +2 -2
  95. package/styles/combo-box/_material-definition.scss +2 -2
  96. package/styles/combo-box/_material3-definition.scss +2 -2
  97. package/styles/combo-box/_tailwind-definition.scss +2 -2
  98. package/styles/combo-box/material3-dark.scss +1 -1
  99. package/styles/combo-box/material3.scss +1 -1
  100. package/styles/drop-down-base/_all.scss +2 -2
  101. package/styles/drop-down-base/_bds-definition.scss +129 -0
  102. package/styles/drop-down-base/_bootstrap-dark-definition.scss +83 -83
  103. package/styles/drop-down-base/_bootstrap-definition.scss +83 -83
  104. package/styles/drop-down-base/_bootstrap4-definition.scss +90 -90
  105. package/styles/drop-down-base/_bootstrap5-definition.scss +117 -117
  106. package/styles/drop-down-base/_definition.scss +23 -23
  107. package/styles/drop-down-base/_fabric-dark-definition.scss +86 -86
  108. package/styles/drop-down-base/_fabric-definition.scss +84 -84
  109. package/styles/drop-down-base/_fluent-definition.scss +121 -121
  110. package/styles/drop-down-base/_fusionnew-definition.scss +117 -117
  111. package/styles/drop-down-base/_highcontrast-definition.scss +105 -105
  112. package/styles/drop-down-base/_highcontrast-light-definition.scss +105 -105
  113. package/styles/drop-down-base/_layout.scss +192 -192
  114. package/styles/drop-down-base/_material-dark-definition.scss +86 -86
  115. package/styles/drop-down-base/_material-definition.scss +85 -85
  116. package/styles/drop-down-base/_material3-definition.scss +87 -87
  117. package/styles/drop-down-base/_tailwind-definition.scss +129 -129
  118. package/styles/drop-down-base/_theme.scss +391 -391
  119. package/styles/drop-down-base/material3-dark.scss +1 -1
  120. package/styles/drop-down-base/material3.scss +1 -1
  121. package/styles/drop-down-list/_all.scss +3 -3
  122. package/styles/drop-down-list/_bds-definition.scss +134 -0
  123. package/styles/drop-down-list/_bootstrap-dark-definition.scss +157 -157
  124. package/styles/drop-down-list/_bootstrap-definition.scss +156 -156
  125. package/styles/drop-down-list/_bootstrap4-definition.scss +202 -202
  126. package/styles/drop-down-list/_bootstrap5-definition.scss +201 -201
  127. package/styles/drop-down-list/_fabric-dark-definition.scss +128 -128
  128. package/styles/drop-down-list/_fabric-definition.scss +124 -124
  129. package/styles/drop-down-list/_fluent-definition.scss +185 -185
  130. package/styles/drop-down-list/_fusionnew-definition.scss +201 -201
  131. package/styles/drop-down-list/_highcontrast-definition.scss +142 -142
  132. package/styles/drop-down-list/_highcontrast-light-definition.scss +144 -144
  133. package/styles/drop-down-list/_layout.scss +315 -310
  134. package/styles/drop-down-list/_material-dark-definition.scss +143 -143
  135. package/styles/drop-down-list/_material-definition.scss +167 -167
  136. package/styles/drop-down-list/_material3-definition.scss +180 -180
  137. package/styles/drop-down-list/_tailwind-definition.scss +134 -134
  138. package/styles/drop-down-list/_theme.scss +10 -10
  139. package/styles/drop-down-list/bootstrap-dark.css +5 -0
  140. package/styles/drop-down-list/bootstrap.css +5 -0
  141. package/styles/drop-down-list/bootstrap4.css +5 -0
  142. package/styles/drop-down-list/bootstrap5-dark.css +5 -0
  143. package/styles/drop-down-list/bootstrap5.css +5 -0
  144. package/styles/drop-down-list/fabric-dark.css +5 -0
  145. package/styles/drop-down-list/fabric.css +5 -0
  146. package/styles/drop-down-list/fluent-dark.css +5 -0
  147. package/styles/drop-down-list/fluent.css +5 -0
  148. package/styles/drop-down-list/highcontrast-light.css +5 -0
  149. package/styles/drop-down-list/highcontrast.css +5 -0
  150. package/styles/drop-down-list/icons/_bootstrap-dark.scss +14 -14
  151. package/styles/drop-down-list/icons/_bootstrap.scss +14 -14
  152. package/styles/drop-down-list/icons/_bootstrap4.scss +14 -14
  153. package/styles/drop-down-list/icons/_bootstrap5.scss +14 -14
  154. package/styles/drop-down-list/icons/_fabric-dark.scss +14 -14
  155. package/styles/drop-down-list/icons/_fabric.scss +14 -14
  156. package/styles/drop-down-list/icons/_fluent.scss +14 -14
  157. package/styles/drop-down-list/icons/_fusionnew.scss +14 -14
  158. package/styles/drop-down-list/icons/_highcontrast-light.scss +14 -14
  159. package/styles/drop-down-list/icons/_highcontrast.scss +14 -14
  160. package/styles/drop-down-list/icons/_material-dark.scss +14 -14
  161. package/styles/drop-down-list/icons/_material.scss +14 -14
  162. package/styles/drop-down-list/icons/_material3.scss +14 -14
  163. package/styles/drop-down-list/icons/_tailwind.scss +14 -14
  164. package/styles/drop-down-list/material-dark.css +5 -0
  165. package/styles/drop-down-list/material.css +5 -0
  166. package/styles/drop-down-list/material3-dark.css +5 -0
  167. package/styles/drop-down-list/material3-dark.scss +1 -1
  168. package/styles/drop-down-list/material3.css +5 -0
  169. package/styles/drop-down-list/material3.scss +1 -1
  170. package/styles/drop-down-list/tailwind-dark.css +5 -0
  171. package/styles/drop-down-list/tailwind.css +5 -0
  172. package/styles/drop-down-tree/_all.scss +2 -2
  173. package/styles/drop-down-tree/_bds-definition.scss +61 -0
  174. package/styles/drop-down-tree/_bootstrap-dark-definition.scss +71 -71
  175. package/styles/drop-down-tree/_bootstrap-definition.scss +70 -70
  176. package/styles/drop-down-tree/_bootstrap4-definition.scss +71 -71
  177. package/styles/drop-down-tree/_bootstrap5-definition.scss +59 -59
  178. package/styles/drop-down-tree/_fabric-dark-definition.scss +71 -71
  179. package/styles/drop-down-tree/_fabric-definition.scss +71 -71
  180. package/styles/drop-down-tree/_fluent-definition.scss +65 -65
  181. package/styles/drop-down-tree/_fusionnew-definition.scss +59 -59
  182. package/styles/drop-down-tree/_highcontrast-definition.scss +71 -71
  183. package/styles/drop-down-tree/_highcontrast-light-definition.scss +71 -71
  184. package/styles/drop-down-tree/_layout.scss +1423 -1418
  185. package/styles/drop-down-tree/_material-dark-definition.scss +72 -72
  186. package/styles/drop-down-tree/_material-definition.scss +72 -72
  187. package/styles/drop-down-tree/_material3-definition.scss +76 -76
  188. package/styles/drop-down-tree/_tailwind-definition.scss +61 -61
  189. package/styles/drop-down-tree/_theme.scss +132 -132
  190. package/styles/drop-down-tree/bootstrap-dark.css +4 -0
  191. package/styles/drop-down-tree/bootstrap.css +4 -0
  192. package/styles/drop-down-tree/bootstrap4.css +4 -0
  193. package/styles/drop-down-tree/bootstrap5-dark.css +4 -0
  194. package/styles/drop-down-tree/bootstrap5.css +4 -0
  195. package/styles/drop-down-tree/fabric-dark.css +4 -0
  196. package/styles/drop-down-tree/fabric.css +4 -0
  197. package/styles/drop-down-tree/fluent-dark.css +4 -0
  198. package/styles/drop-down-tree/fluent.css +4 -0
  199. package/styles/drop-down-tree/highcontrast-light.css +4 -0
  200. package/styles/drop-down-tree/highcontrast.css +4 -0
  201. package/styles/drop-down-tree/icons/_bootstrap-dark.scss +11 -11
  202. package/styles/drop-down-tree/icons/_bootstrap.scss +11 -11
  203. package/styles/drop-down-tree/icons/_bootstrap4.scss +11 -11
  204. package/styles/drop-down-tree/icons/_bootstrap5.scss +11 -11
  205. package/styles/drop-down-tree/icons/_fabric-dark.scss +11 -11
  206. package/styles/drop-down-tree/icons/_fabric.scss +11 -11
  207. package/styles/drop-down-tree/icons/_fluent.scss +11 -11
  208. package/styles/drop-down-tree/icons/_fusionnew.scss +11 -11
  209. package/styles/drop-down-tree/icons/_highcontrast-light.scss +11 -11
  210. package/styles/drop-down-tree/icons/_highcontrast.scss +11 -11
  211. package/styles/drop-down-tree/icons/_material-dark.scss +11 -11
  212. package/styles/drop-down-tree/icons/_material.scss +11 -11
  213. package/styles/drop-down-tree/icons/_material3.scss +11 -11
  214. package/styles/drop-down-tree/icons/_tailwind-dark.scss +11 -11
  215. package/styles/drop-down-tree/icons/_tailwind.scss +11 -11
  216. package/styles/drop-down-tree/material-dark.css +4 -0
  217. package/styles/drop-down-tree/material.css +4 -0
  218. package/styles/drop-down-tree/material3-dark.css +4 -0
  219. package/styles/drop-down-tree/material3-dark.scss +1 -1
  220. package/styles/drop-down-tree/material3.css +4 -0
  221. package/styles/drop-down-tree/material3.scss +1 -1
  222. package/styles/drop-down-tree/tailwind-dark.css +4 -0
  223. package/styles/drop-down-tree/tailwind.css +4 -0
  224. package/styles/fabric-dark.css +9 -0
  225. package/styles/fabric.css +9 -0
  226. package/styles/fluent-dark.css +9 -0
  227. package/styles/fluent.css +9 -0
  228. package/styles/highcontrast-light.css +9 -0
  229. package/styles/highcontrast.css +9 -0
  230. package/styles/list-box/_all.scss +2 -2
  231. package/styles/list-box/_bds-definition.scss +119 -0
  232. package/styles/list-box/_bootstrap-dark-definition.scss +126 -126
  233. package/styles/list-box/_bootstrap-definition.scss +119 -119
  234. package/styles/list-box/_bootstrap4-definition.scss +124 -124
  235. package/styles/list-box/_bootstrap5-definition.scss +120 -120
  236. package/styles/list-box/_fabric-dark-definition.scss +126 -126
  237. package/styles/list-box/_fabric-definition.scss +119 -119
  238. package/styles/list-box/_fluent-definition.scss +120 -120
  239. package/styles/list-box/_fusionnew-definition.scss +111 -111
  240. package/styles/list-box/_highcontrast-definition.scss +119 -119
  241. package/styles/list-box/_highcontrast-light-definition.scss +126 -126
  242. package/styles/list-box/_layout.scss +542 -542
  243. package/styles/list-box/_material-dark-definition.scss +126 -126
  244. package/styles/list-box/_material-definition.scss +119 -119
  245. package/styles/list-box/_material3-definition.scss +119 -119
  246. package/styles/list-box/_tailwind-definition.scss +119 -119
  247. package/styles/list-box/_theme.scss +382 -382
  248. package/styles/list-box/icons/_bootstrap-dark.scss +25 -25
  249. package/styles/list-box/icons/_bootstrap.scss +25 -25
  250. package/styles/list-box/icons/_bootstrap4.scss +25 -25
  251. package/styles/list-box/icons/_bootstrap5.scss +25 -25
  252. package/styles/list-box/icons/_fabric-dark.scss +25 -25
  253. package/styles/list-box/icons/_fabric.scss +25 -25
  254. package/styles/list-box/icons/_fluent.scss +25 -25
  255. package/styles/list-box/icons/_fusionnew.scss +25 -25
  256. package/styles/list-box/icons/_highcontrast-light.scss +25 -25
  257. package/styles/list-box/icons/_highcontrast.scss +25 -25
  258. package/styles/list-box/icons/_material-dark.scss +25 -25
  259. package/styles/list-box/icons/_material.scss +25 -25
  260. package/styles/list-box/icons/_material3.scss +25 -25
  261. package/styles/list-box/icons/_tailwind-dark.scss +25 -25
  262. package/styles/list-box/icons/_tailwind.scss +25 -25
  263. package/styles/list-box/material3-dark.scss +1 -1
  264. package/styles/list-box/material3.scss +1 -1
  265. package/styles/material-dark.css +9 -0
  266. package/styles/material.css +9 -0
  267. package/styles/material3-dark.css +9 -0
  268. package/styles/material3-dark.scss +1 -1
  269. package/styles/material3.css +9 -0
  270. package/styles/material3.scss +1 -1
  271. package/styles/mention/_all.scss +1 -1
  272. package/styles/mention/_bds-definition.scss +1 -0
  273. package/styles/mention/_bootstrap-dark-definition.scss +3 -3
  274. package/styles/mention/_bootstrap-definition.scss +3 -3
  275. package/styles/mention/_bootstrap4-definition.scss +3 -3
  276. package/styles/mention/_bootstrap5-definition.scss +1 -1
  277. package/styles/mention/_fabric-dark-definition.scss +2 -2
  278. package/styles/mention/_fabric-definition.scss +3 -3
  279. package/styles/mention/_fluent-definition.scss +1 -1
  280. package/styles/mention/_fusionnew-definition.scss +1 -1
  281. package/styles/mention/_highcontrast-definition.scss +3 -3
  282. package/styles/mention/_highcontrast-light-definition.scss +3 -3
  283. package/styles/mention/_layout.scss +6 -6
  284. package/styles/mention/_material-dark-definition.scss +3 -3
  285. package/styles/mention/_material-definition.scss +3 -3
  286. package/styles/mention/_material3-definition.scss +1 -1
  287. package/styles/mention/_tailwind-definition.scss +1 -1
  288. package/styles/mention/material3-dark.scss +1 -1
  289. package/styles/mention/material3.scss +1 -1
  290. package/styles/multi-select/_all.scss +2 -2
  291. package/styles/multi-select/_bds-definition.scss +235 -0
  292. package/styles/multi-select/_bootstrap-dark-definition.scss +203 -203
  293. package/styles/multi-select/_bootstrap-definition.scss +192 -192
  294. package/styles/multi-select/_bootstrap4-definition.scss +278 -278
  295. package/styles/multi-select/_bootstrap5-definition.scss +230 -230
  296. package/styles/multi-select/_fabric-dark-definition.scss +192 -192
  297. package/styles/multi-select/_fabric-definition.scss +183 -183
  298. package/styles/multi-select/_fluent-definition.scss +241 -241
  299. package/styles/multi-select/_fusionnew-definition.scss +227 -227
  300. package/styles/multi-select/_highcontrast-definition.scss +303 -303
  301. package/styles/multi-select/_highcontrast-light-definition.scss +297 -297
  302. package/styles/multi-select/_layout.scss +2199 -2199
  303. package/styles/multi-select/_material-dark-definition.scss +230 -230
  304. package/styles/multi-select/_material-definition.scss +223 -223
  305. package/styles/multi-select/_material3-definition.scss +246 -246
  306. package/styles/multi-select/_tailwind-definition.scss +235 -235
  307. package/styles/multi-select/_theme.scss +586 -586
  308. package/styles/multi-select/icons/_bootstrap-dark.scss +26 -26
  309. package/styles/multi-select/icons/_bootstrap.scss +26 -26
  310. package/styles/multi-select/icons/_bootstrap4.scss +37 -37
  311. package/styles/multi-select/icons/_bootstrap5.scss +26 -26
  312. package/styles/multi-select/icons/_fabric-dark.scss +26 -26
  313. package/styles/multi-select/icons/_fabric.scss +26 -26
  314. package/styles/multi-select/icons/_fluent.scss +55 -55
  315. package/styles/multi-select/icons/_fusionnew.scss +26 -26
  316. package/styles/multi-select/icons/_highcontrast-light.scss +26 -26
  317. package/styles/multi-select/icons/_highcontrast.scss +26 -26
  318. package/styles/multi-select/icons/_material-dark.scss +693 -693
  319. package/styles/multi-select/icons/_material.scss +693 -693
  320. package/styles/multi-select/icons/_material3.scss +692 -692
  321. package/styles/multi-select/icons/_tailwind.scss +26 -26
  322. package/styles/multi-select/material3-dark.scss +1 -1
  323. package/styles/multi-select/material3.scss +1 -1
  324. package/styles/tailwind-dark.css +9 -0
  325. package/styles/tailwind.css +9 -0
  326. package/.eslintrc.json +0 -260
  327. package/tslint.json +0 -111
@@ -1,4 +1,4 @@
1
- import { Property, EventHandler, KeyboardEventArgs, isNullOrUndefined, detach } from '@syncfusion/ej2-base';import { Event, EmitType, Complex } from '@syncfusion/ej2-base';import { removeClass, attributes, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { dropDownListClasses } from '../drop-down-list/drop-down-list';import { ComboBox } from '../combo-box/combo-box';import { highlightSearch, revertHighlightSearch } from '../common/highlight-search';import { Search } from '../common/incremental-search';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { FieldSettings, FilteringEventArgs, FilterType, ResultData } from '../drop-down-base/drop-down-base';import { FloatLabelType, Input } from '@syncfusion/ej2-inputs';import { DataManager, Predicate, Query } from '@syncfusion/ej2-data';
1
+ import { Property, EventHandler, KeyboardEventArgs, isNullOrUndefined, detach } from '@syncfusion/ej2-base';
2
2
  import {ComboBoxModel} from "../combo-box/combo-box-model";
3
3
 
4
4
  /**
@@ -7,192 +7,192 @@ import {ComboBoxModel} from "../combo-box/combo-box-model";
7
7
  export interface AutoCompleteModel extends ComboBoxModel{
8
8
 
9
9
  /**
10
- * The `fields` property maps the columns of the data table and binds the data to the component.
11
- * * text - Maps the text column from data table for each list item
12
- * * value - Maps the value column from data table for each list item
13
- * * iconCss - Maps the icon class column from data table for each list item
14
- * * groupBy - Group the list items with it's related items by mapping groupBy field
15
- *
16
- * {% codeBlock src='autocomplete/fields/index.md' %}{% endcodeBlock %}
17
- *
18
- * > For more details about the field mapping refer to [`Data binding`](../../auto-complete/data-binding) documentation.
19
- *
20
- * @default { value: null, iconCss: null, groupBy: null}
21
-
22
- */
23
- fields?: FieldSettingsModel;
24
-
25
- /**
26
- * When set to ‘false’, consider the [`case-sensitive`](../../auto-complete/filtering/#case-sensitive-filtering)
27
- * on performing the search to find suggestions.
28
- * By default consider the casing.
29
- *
30
- * @default true
31
-
32
- */
33
- ignoreCase?: boolean;
34
-
35
- /**
36
- * Allows you to either show or hide the popup button on the component.
37
- *
38
- * @default false
39
- */
40
- showPopupButton?: boolean;
41
-
42
- /**
43
- * When set to ‘true’, highlight the searched characters on suggested list items.
44
- * > For more details about the highlight refer to [`Custom highlight search`](../../auto-complete/how-to/custom-search) documentation.
45
- *
46
- * @default false
47
- */
48
- highlight?: boolean;
49
-
50
- /**
51
- * Supports the [`specified number`](../../auto-complete/filtering#filter-item-count)
52
- * of list items on the suggestion popup.
53
- *
54
- * @default 20
55
- */
56
- suggestionCount?: number;
57
-
58
- /**
59
- * Allows additional HTML attributes such as title, name, etc., and
60
- * accepts n number of attributes in a key-value pair format.
61
- *
62
- * {% codeBlock src='autocomplete/htmlAttributes/index.md' %}{% endcodeBlock %}
63
- *
64
- * @default {}
65
-
66
- */
67
- htmlAttributes?: { [key: string]: string };
68
-
69
- /**
70
- * Accepts the external `query`
71
- * that execute along with data processing.
72
- *
73
- * {% codeBlock src='autocomplete/query/index.md' %}{% endcodeBlock %}
74
- *
75
- * @default null
76
-
77
- */
78
- query?: Query;
79
-
80
- /**
81
- * Allows you to set [`the minimum search character length']
82
- * (../../auto-complete/filtering#limit-the-minimum-filter-character),
83
- * the search action will perform after typed minimum characters.
84
- *
85
- * @default 1
86
- */
87
- minLength?: number;
88
-
89
- /**
90
- * Determines on which filter type, the component needs to be considered on search action.
91
- * The available [`FilterType`](../../auto-complete/filtering/#change-the-filter-type)
92
- * and its supported data types are
93
- *
94
- * <table>
95
- * <tr>
96
- * <td colSpan=1 rowSpan=1>
97
- * FilterType<br/></td><td colSpan=1 rowSpan=1>
98
- * Description<br/></td><td colSpan=1 rowSpan=1>
99
- * Supported Types<br/></td></tr>
100
- * <tr>
101
- * <td colSpan=1 rowSpan=1>
102
- * StartsWith<br/></td><td colSpan=1 rowSpan=1>
103
- * Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
104
- * String<br/></td></tr>
105
- * <tr>
106
- * <td colSpan=1 rowSpan=1>
107
- * EndsWith<br/></td><td colSpan=1 rowSpan=1>
108
- * Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
109
- * <br/>String<br/></td></tr>
110
- * <tr>
111
- * <td colSpan=1 rowSpan=1>
112
- * Contains<br/></td><td colSpan=1 rowSpan=1>
113
- * Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
114
- * <br/>String<br/></td></tr>
115
- * </table>
116
- *
117
- * {% codeBlock src="autocomplete/filter-type-api/index.ts" %}{% endcodeBlock %}
118
- *
119
- * {% codeBlock src="autocomplete/filter-type-api/index.html" %}{% endcodeBlock %}
120
- *
121
- * The default value set to `Contains`, all the suggestion items which contain typed characters to listed in the suggestion popup.
122
- *
123
- * @default 'Contains'
124
- */
125
- filterType?: FilterType;
126
-
127
- /**
128
- * Triggers on typing a character in the component.
129
- *
130
- * @event filtering
131
- */
132
- filtering?: EmitType<FilteringEventArgs>;
133
-
134
- /**
135
- * Not applicable to this component.
136
- *
137
- * @default null
138
- * @private
139
-
140
- */
141
- index?: number;
142
-
143
- /**
144
- * Specifies whether to display the floating label above the input element.
145
- * Possible values are:
146
- * * Never: The label will never float in the input when the placeholder is available.
147
- * * Always: The floating label will always float above the input.
148
- * * Auto: The floating label will float above the input after focusing or entering a value in the input.
149
- *
150
- * {% codeBlock src="autocomplete/float-label-type-api/index.ts" %}{% endcodeBlock %}
151
- *
152
- * {% codeBlock src="autocomplete/float-label-type-api/index.html" %}{% endcodeBlock %}
153
- *
154
- * @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
155
- * @aspType Syncfusion.EJ2.Inputs.FloatLabelType
156
- * @isEnumeration true
157
-
158
- */
159
- floatLabelType?: FloatLabelType;
160
-
161
- /**
162
- * Not applicable to this component.
163
- *
164
- * @default null
165
- * @aspType string
166
- * @private
167
-
168
- */
169
- valueTemplate?: string | Function;
170
-
171
- /**
172
- * Not applicable to this component.
173
- *
174
- * @default null
175
- * @private
176
-
177
- */
178
- filterBarPlaceholder?: string;
179
-
180
- /**
181
- * Not applicable to this component.
182
- *
183
- * @default false
184
- * @private
185
-
186
- */
187
- allowFiltering?: boolean;
188
-
189
- /**
190
- * Not applicable to this component.
191
- *
192
- * @default null
193
- * @private
194
-
195
- */
196
- text?: string;
10
+ * The `fields` property maps the columns of the data table and binds the data to the component.
11
+ * * text - Maps the text column from data table for each list item
12
+ * * value - Maps the value column from data table for each list item
13
+ * * iconCss - Maps the icon class column from data table for each list item
14
+ * * groupBy - Group the list items with it's related items by mapping groupBy field
15
+ *
16
+ * {% codeBlock src='autocomplete/fields/index.md' %}{% endcodeBlock %}
17
+ *
18
+ * > For more details about the field mapping refer to [`Data binding`](../../auto-complete/data-binding) documentation.
19
+ *
20
+ * @default { value: null, iconCss: null, groupBy: null}
21
+ * @deprecated
22
+ */
23
+ fields?: FieldSettingsModel;
24
+
25
+ /**
26
+ * When set to ‘false’, consider the [`case-sensitive`](../../auto-complete/filtering/#case-sensitive-filtering)
27
+ * on performing the search to find suggestions.
28
+ * By default consider the casing.
29
+ *
30
+ * @default true
31
+ * @deprecated
32
+ */
33
+ ignoreCase?: boolean;
34
+
35
+ /**
36
+ * Allows you to either show or hide the popup button on the component.
37
+ *
38
+ * @default false
39
+ */
40
+ showPopupButton?: boolean;
41
+
42
+ /**
43
+ * When set to ‘true’, highlight the searched characters on suggested list items.
44
+ * > For more details about the highlight refer to [`Custom highlight search`](../../auto-complete/how-to/custom-search) documentation.
45
+ *
46
+ * @default false
47
+ */
48
+ highlight?: boolean;
49
+
50
+ /**
51
+ * Supports the [`specified number`](../../auto-complete/filtering#filter-item-count)
52
+ * of list items on the suggestion popup.
53
+ *
54
+ * @default 20
55
+ */
56
+ suggestionCount?: number;
57
+
58
+ /**
59
+ * Allows additional HTML attributes such as title, name, etc., and
60
+ * accepts n number of attributes in a key-value pair format.
61
+ *
62
+ * {% codeBlock src='autocomplete/htmlAttributes/index.md' %}{% endcodeBlock %}
63
+ *
64
+ * @default {}
65
+ * @deprecated
66
+ */
67
+ htmlAttributes?: { [key: string]: string };
68
+
69
+ /**
70
+ * Accepts the external `query`
71
+ * that execute along with data processing.
72
+ *
73
+ * {% codeBlock src='autocomplete/query/index.md' %}{% endcodeBlock %}
74
+ *
75
+ * @default null
76
+ * @deprecated
77
+ */
78
+ query?: Query;
79
+
80
+ /**
81
+ * Allows you to set [`the minimum search character length']
82
+ * (../../auto-complete/filtering#limit-the-minimum-filter-character),
83
+ * the search action will perform after typed minimum characters.
84
+ *
85
+ * @default 1
86
+ */
87
+ minLength?: number;
88
+
89
+ /**
90
+ * Determines on which filter type, the component needs to be considered on search action.
91
+ * The available [`FilterType`](../../auto-complete/filtering/#change-the-filter-type)
92
+ * and its supported data types are
93
+ *
94
+ * <table>
95
+ * <tr>
96
+ * <td colSpan=1 rowSpan=1>
97
+ * FilterType<br/></td><td colSpan=1 rowSpan=1>
98
+ * Description<br/></td><td colSpan=1 rowSpan=1>
99
+ * Supported Types<br/></td></tr>
100
+ * <tr>
101
+ * <td colSpan=1 rowSpan=1>
102
+ * StartsWith<br/></td><td colSpan=1 rowSpan=1>
103
+ * Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
104
+ * String<br/></td></tr>
105
+ * <tr>
106
+ * <td colSpan=1 rowSpan=1>
107
+ * EndsWith<br/></td><td colSpan=1 rowSpan=1>
108
+ * Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
109
+ * <br/>String<br/></td></tr>
110
+ * <tr>
111
+ * <td colSpan=1 rowSpan=1>
112
+ * Contains<br/></td><td colSpan=1 rowSpan=1>
113
+ * Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
114
+ * <br/>String<br/></td></tr>
115
+ * </table>
116
+ *
117
+ * {% codeBlock src="autocomplete/filter-type-api/index.ts" %}{% endcodeBlock %}
118
+ *
119
+ * {% codeBlock src="autocomplete/filter-type-api/index.html" %}{% endcodeBlock %}
120
+ *
121
+ * The default value set to `Contains`, all the suggestion items which contain typed characters to listed in the suggestion popup.
122
+ *
123
+ * @default 'Contains'
124
+ */
125
+ filterType?: FilterType;
126
+
127
+ /**
128
+ * Triggers on typing a character in the component.
129
+ *
130
+ * @event filtering
131
+ */
132
+ filtering?: EmitType<FilteringEventArgs>;
133
+
134
+ /**
135
+ * Not applicable to this component.
136
+ *
137
+ * @default null
138
+ * @private
139
+ * @deprecated
140
+ */
141
+ index?: number;
142
+
143
+ /**
144
+ * Specifies whether to display the floating label above the input element.
145
+ * Possible values are:
146
+ * * Never: The label will never float in the input when the placeholder is available.
147
+ * * Always: The floating label will always float above the input.
148
+ * * Auto: The floating label will float above the input after focusing or entering a value in the input.
149
+ *
150
+ * {% codeBlock src="autocomplete/float-label-type-api/index.ts" %}{% endcodeBlock %}
151
+ *
152
+ * {% codeBlock src="autocomplete/float-label-type-api/index.html" %}{% endcodeBlock %}
153
+ *
154
+ * @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
155
+ * @aspType Syncfusion.EJ2.Inputs.FloatLabelType
156
+ * @isEnumeration true
157
+ * @deprecated
158
+ */
159
+ floatLabelType?: FloatLabelType;
160
+
161
+ /**
162
+ * Not applicable to this component.
163
+ *
164
+ * @default null
165
+ * @aspType string
166
+ * @private
167
+ * @deprecated
168
+ */
169
+ valueTemplate?: string | Function;
170
+
171
+ /**
172
+ * Not applicable to this component.
173
+ *
174
+ * @default null
175
+ * @private
176
+ * @deprecated
177
+ */
178
+ filterBarPlaceholder?: string;
179
+
180
+ /**
181
+ * Not applicable to this component.
182
+ *
183
+ * @default false
184
+ * @private
185
+ * @deprecated
186
+ */
187
+ allowFiltering?: boolean;
188
+
189
+ /**
190
+ * Not applicable to this component.
191
+ *
192
+ * @default null
193
+ * @private
194
+ * @deprecated
195
+ */
196
+ text?: string;
197
197
 
198
198
  }
@@ -33,7 +33,7 @@ export declare class AutoComplete extends ComboBox {
33
33
  * > For more details about the field mapping refer to [`Data binding`](../../auto-complete/data-binding) documentation.
34
34
  *
35
35
  * @default { value: null, iconCss: null, groupBy: null}
36
-
36
+ * @deprecated
37
37
  */
38
38
  fields: FieldSettingsModel;
39
39
  /**
@@ -42,7 +42,7 @@ export declare class AutoComplete extends ComboBox {
42
42
  * By default consider the casing.
43
43
  *
44
44
  * @default true
45
-
45
+ * @deprecated
46
46
  */
47
47
  ignoreCase: boolean;
48
48
  /**
@@ -72,7 +72,7 @@ export declare class AutoComplete extends ComboBox {
72
72
  * {% codeBlock src='autocomplete/htmlAttributes/index.md' %}{% endcodeBlock %}
73
73
  *
74
74
  * @default {}
75
-
75
+ * @deprecated
76
76
  */
77
77
  htmlAttributes: {
78
78
  [key: string]: string;
@@ -84,7 +84,7 @@ export declare class AutoComplete extends ComboBox {
84
84
  * {% codeBlock src='autocomplete/query/index.md' %}{% endcodeBlock %}
85
85
  *
86
86
  * @default null
87
-
87
+ * @deprecated
88
88
  */
89
89
  query: Query;
90
90
  /**
@@ -143,7 +143,7 @@ export declare class AutoComplete extends ComboBox {
143
143
  *
144
144
  * @default null
145
145
  * @private
146
-
146
+ * @deprecated
147
147
  */
148
148
  index: number;
149
149
  /**
@@ -160,7 +160,7 @@ export declare class AutoComplete extends ComboBox {
160
160
  * @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
161
161
  * @aspType Syncfusion.EJ2.Inputs.FloatLabelType
162
162
  * @isEnumeration true
163
-
163
+ * @deprecated
164
164
  */
165
165
  floatLabelType: FloatLabelType;
166
166
  /**
@@ -169,7 +169,7 @@ export declare class AutoComplete extends ComboBox {
169
169
  * @default null
170
170
  * @aspType string
171
171
  * @private
172
-
172
+ * @deprecated
173
173
  */
174
174
  valueTemplate: string | Function;
175
175
  /**
@@ -177,7 +177,7 @@ export declare class AutoComplete extends ComboBox {
177
177
  *
178
178
  * @default null
179
179
  * @private
180
-
180
+ * @deprecated
181
181
  */
182
182
  filterBarPlaceholder: string;
183
183
  /**
@@ -185,7 +185,7 @@ export declare class AutoComplete extends ComboBox {
185
185
  *
186
186
  * @default false
187
187
  * @private
188
-
188
+ * @deprecated
189
189
  */
190
190
  allowFiltering: boolean;
191
191
  /**
@@ -193,7 +193,7 @@ export declare class AutoComplete extends ComboBox {
193
193
  *
194
194
  * @default null
195
195
  * @private
196
-
196
+ * @deprecated
197
197
  */
198
198
  text: string;
199
199
  /**
@@ -222,7 +222,7 @@ export declare class AutoComplete extends ComboBox {
222
222
  * @param {Query} query - Specify the query to filter the data.
223
223
  * @param {FieldSettingsModel} fields - Specify the fields to map the column in the data table.
224
224
  * @returns {void}
225
-
225
+ * @deprecated
226
226
  */
227
227
  filter(dataSource: {
228
228
  [key: string]: Object;
@@ -247,7 +247,7 @@ export declare class AutoComplete extends ComboBox {
247
247
  * Search the entered text and show it in the suggestion list if available.
248
248
  *
249
249
  * @returns {void}
250
-
250
+ * @deprecated
251
251
  */
252
252
  showPopup(e?: MouseEvent | KeyboardEventArgs | TouchEvent): void;
253
253
  /**
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference
21
21
  /// <reference path='../combo-box/combo-box-model.d.ts'/>
22
22
  import { Property, EventHandler, isNullOrUndefined, detach } from '@syncfusion/ej2-base';
@@ -151,7 +151,7 @@ var AutoComplete = /** @class */ (function (_super) {
151
151
  * @param {Query} query - Specify the query to filter the data.
152
152
  * @param {FieldSettingsModel} fields - Specify the fields to map the column in the data table.
153
153
  * @returns {void}
154
-
154
+ * @deprecated
155
155
  */
156
156
  AutoComplete.prototype.filter = function (dataSource, query, fields) {
157
157
  this.isFiltered = true;
@@ -330,7 +330,7 @@ var AutoComplete = /** @class */ (function (_super) {
330
330
  * Search the entered text and show it in the suggestion list if available.
331
331
  *
332
332
  * @returns {void}
333
-
333
+ * @deprecated
334
334
  */
335
335
  AutoComplete.prototype.showPopup = function (e) {
336
336
  if (!this.enabled) {