@syncfusion/ej2-dropdowns 18.1.57 → 18.2.44-4569

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 (183) hide show
  1. package/.eslintrc.json +244 -0
  2. package/CHANGELOG.md +1524 -1514
  3. package/README.md +118 -118
  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 +198 -126
  7. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  8. package/dist/es6/ej2-dropdowns.es5.js +290 -217
  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 +527 -0
  14. package/dist/ts/combo-box/combo-box.ts +957 -0
  15. package/dist/ts/common/highlight-search.ts +47 -0
  16. package/dist/ts/common/incremental-search.ts +81 -0
  17. package/dist/ts/drop-down-base/drop-down-base.ts +1572 -0
  18. package/dist/ts/drop-down-list/drop-down-list.ts +2993 -0
  19. package/dist/ts/drop-down-tree/drop-down-tree.ts +3066 -0
  20. package/dist/ts/list-box/list-box.ts +2317 -0
  21. package/dist/ts/multi-select/checkbox-selection.ts +528 -0
  22. package/dist/ts/multi-select/float-label.ts +155 -0
  23. package/dist/ts/multi-select/interface.ts +66 -0
  24. package/dist/ts/multi-select/multi-select.ts +4216 -0
  25. package/helpers/e2e/index.js +3 -3
  26. package/license +2 -2
  27. package/package.json +77 -77
  28. package/src/auto-complete/auto-complete-model.d.ts +179 -179
  29. package/src/auto-complete/auto-complete.d.ts +12 -12
  30. package/src/auto-complete/auto-complete.js +21 -21
  31. package/src/combo-box/combo-box-model.d.ts +212 -212
  32. package/src/combo-box/combo-box.d.ts +27 -27
  33. package/src/combo-box/combo-box.js +29 -29
  34. package/src/common/incremental-search.d.ts +1 -1
  35. package/src/common/incremental-search.js +4 -2
  36. package/src/drop-down-base/drop-down-base-model.d.ts +191 -191
  37. package/src/drop-down-base/drop-down-base.d.ts +17 -17
  38. package/src/drop-down-base/drop-down-base.js +20 -20
  39. package/src/drop-down-list/drop-down-list-model.d.ts +222 -222
  40. package/src/drop-down-list/drop-down-list.d.ts +3 -2
  41. package/src/drop-down-list/drop-down-list.js +43 -30
  42. package/src/drop-down-tree/drop-down-tree-model.d.ts +344 -344
  43. package/src/drop-down-tree/drop-down-tree.js +32 -26
  44. package/src/list-box/index.d.ts +1 -0
  45. package/src/list-box/index.js +1 -0
  46. package/src/list-box/list-box-model.d.ts +156 -156
  47. package/src/list-box/list-box.d.ts +2 -2
  48. package/src/list-box/list-box.js +57 -59
  49. package/src/multi-select/index.d.ts +1 -0
  50. package/src/multi-select/index.js +1 -0
  51. package/src/multi-select/multi-select-model.d.ts +452 -452
  52. package/src/multi-select/multi-select.d.ts +2 -0
  53. package/src/multi-select/multi-select.js +98 -43
  54. package/styles/_all.scss +3 -3
  55. package/styles/auto-complete/_bootstrap-dark-definition.scss +3 -3
  56. package/styles/auto-complete/_bootstrap4-definition.scss +11 -11
  57. package/styles/auto-complete/_fabric-dark-definition.scss +2 -2
  58. package/styles/auto-complete/_highcontrast-light-definition.scss +2 -2
  59. package/styles/auto-complete/_material-dark-definition.scss +2 -2
  60. package/styles/bootstrap-dark.css +67 -61
  61. package/styles/bootstrap.css +69 -63
  62. package/styles/bootstrap4.css +81 -61
  63. package/styles/combo-box/_bootstrap-dark-definition.scss +2 -2
  64. package/styles/combo-box/_bootstrap4-definition.scss +11 -11
  65. package/styles/combo-box/_fabric-dark-definition.scss +2 -2
  66. package/styles/combo-box/_highcontrast-light-definition.scss +3 -3
  67. package/styles/combo-box/_material-dark-definition.scss +2 -2
  68. package/styles/drop-down-base/_all.scss +2 -2
  69. package/styles/drop-down-base/_bootstrap-dark-definition.scss +64 -64
  70. package/styles/drop-down-base/_bootstrap-definition.scss +64 -64
  71. package/styles/drop-down-base/_bootstrap4-definition.scss +78 -78
  72. package/styles/drop-down-base/_definition.scss +23 -23
  73. package/styles/drop-down-base/_fabric-dark-definition.scss +68 -68
  74. package/styles/drop-down-base/_fabric-definition.scss +66 -66
  75. package/styles/drop-down-base/_highcontrast-definition.scss +82 -82
  76. package/styles/drop-down-base/_highcontrast-light-definition.scss +81 -81
  77. package/styles/drop-down-base/_layout.scss +108 -108
  78. package/styles/drop-down-base/_material-dark-definition.scss +67 -67
  79. package/styles/drop-down-base/_material-definition.scss +65 -65
  80. package/styles/drop-down-base/_theme.scss +242 -242
  81. package/styles/drop-down-list/_all.scss +2 -2
  82. package/styles/drop-down-list/_bootstrap-dark-definition.scss +157 -157
  83. package/styles/drop-down-list/_bootstrap-definition.scss +156 -156
  84. package/styles/drop-down-list/_bootstrap4-definition.scss +184 -184
  85. package/styles/drop-down-list/_fabric-dark-definition.scss +127 -127
  86. package/styles/drop-down-list/_fabric-definition.scss +122 -122
  87. package/styles/drop-down-list/_highcontrast-definition.scss +131 -131
  88. package/styles/drop-down-list/_highcontrast-light-definition.scss +133 -133
  89. package/styles/drop-down-list/_layout.scss +218 -218
  90. package/styles/drop-down-list/_material-dark-definition.scss +143 -143
  91. package/styles/drop-down-list/_material-definition.scss +166 -166
  92. package/styles/drop-down-list/_theme.scss +10 -10
  93. package/styles/drop-down-list/icons/_bootstrap-dark.scss +14 -14
  94. package/styles/drop-down-list/icons/_bootstrap.scss +14 -14
  95. package/styles/drop-down-list/icons/_bootstrap4.scss +14 -14
  96. package/styles/drop-down-list/icons/_fabric-dark.scss +14 -14
  97. package/styles/drop-down-list/icons/_fabric.scss +14 -14
  98. package/styles/drop-down-list/icons/_highcontrast-light.scss +14 -14
  99. package/styles/drop-down-list/icons/_highcontrast.scss +14 -14
  100. package/styles/drop-down-list/icons/_material-dark.scss +14 -14
  101. package/styles/drop-down-list/icons/_material.scss +14 -14
  102. package/styles/drop-down-list/material.css +9 -0
  103. package/styles/drop-down-tree/_all.scss +2 -2
  104. package/styles/drop-down-tree/_bootstrap-dark-definition.scss +62 -49
  105. package/styles/drop-down-tree/_bootstrap-definition.scss +62 -49
  106. package/styles/drop-down-tree/_bootstrap4-definition.scss +63 -50
  107. package/styles/drop-down-tree/_fabric-dark-definition.scss +63 -49
  108. package/styles/drop-down-tree/_fabric-definition.scss +63 -49
  109. package/styles/drop-down-tree/_highcontrast-definition.scss +63 -49
  110. package/styles/drop-down-tree/_highcontrast-light-definition.scss +63 -49
  111. package/styles/drop-down-tree/_layout.scss +437 -398
  112. package/styles/drop-down-tree/_material-dark-definition.scss +61 -54
  113. package/styles/drop-down-tree/_material-definition.scss +61 -54
  114. package/styles/drop-down-tree/_theme.scss +68 -63
  115. package/styles/drop-down-tree/bootstrap-dark.css +67 -61
  116. package/styles/drop-down-tree/bootstrap.css +69 -63
  117. package/styles/drop-down-tree/bootstrap4.css +81 -61
  118. package/styles/drop-down-tree/fabric-dark.css +71 -63
  119. package/styles/drop-down-tree/fabric.css +71 -63
  120. package/styles/drop-down-tree/highcontrast-light.css +71 -63
  121. package/styles/drop-down-tree/highcontrast.css +75 -63
  122. package/styles/drop-down-tree/icons/_bootstrap-dark.scss +11 -11
  123. package/styles/drop-down-tree/icons/_bootstrap.scss +11 -11
  124. package/styles/drop-down-tree/icons/_bootstrap4.scss +11 -11
  125. package/styles/drop-down-tree/icons/_fabric-dark.scss +11 -11
  126. package/styles/drop-down-tree/icons/_fabric.scss +11 -11
  127. package/styles/drop-down-tree/icons/_highcontrast-light.scss +11 -11
  128. package/styles/drop-down-tree/icons/_highcontrast.scss +11 -11
  129. package/styles/drop-down-tree/icons/_material-dark.scss +11 -11
  130. package/styles/drop-down-tree/icons/_material.scss +11 -11
  131. package/styles/drop-down-tree/material-dark.css +76 -85
  132. package/styles/drop-down-tree/material.css +93 -85
  133. package/styles/fabric-dark.css +71 -63
  134. package/styles/fabric.css +71 -63
  135. package/styles/highcontrast-light.css +71 -63
  136. package/styles/highcontrast.css +75 -63
  137. package/styles/list-box/_all.scss +2 -2
  138. package/styles/list-box/_bootstrap-dark-definition.scss +118 -118
  139. package/styles/list-box/_bootstrap-definition.scss +112 -112
  140. package/styles/list-box/_bootstrap4-definition.scss +118 -118
  141. package/styles/list-box/_fabric-dark-definition.scss +118 -118
  142. package/styles/list-box/_fabric-definition.scss +112 -112
  143. package/styles/list-box/_highcontrast-definition.scss +112 -112
  144. package/styles/list-box/_highcontrast-light-definition.scss +118 -118
  145. package/styles/list-box/_layout.scss +458 -458
  146. package/styles/list-box/_material-dark-definition.scss +118 -118
  147. package/styles/list-box/_material-definition.scss +112 -112
  148. package/styles/list-box/_theme.scss +273 -273
  149. package/styles/list-box/icons/_bootstrap-dark.scss +25 -25
  150. package/styles/list-box/icons/_bootstrap.scss +25 -25
  151. package/styles/list-box/icons/_bootstrap4.scss +25 -25
  152. package/styles/list-box/icons/_fabric-dark.scss +25 -25
  153. package/styles/list-box/icons/_fabric.scss +25 -25
  154. package/styles/list-box/icons/_highcontrast-light.scss +25 -25
  155. package/styles/list-box/icons/_highcontrast.scss +25 -25
  156. package/styles/list-box/icons/_material-dark.scss +25 -25
  157. package/styles/list-box/icons/_material.scss +25 -25
  158. package/styles/list-box/material-dark.css +4 -4
  159. package/styles/list-box/material.css +4 -4
  160. package/styles/material-dark.css +80 -89
  161. package/styles/material.css +115 -89
  162. package/styles/multi-select/_all.scss +2 -2
  163. package/styles/multi-select/_bootstrap-dark-definition.scss +171 -171
  164. package/styles/multi-select/_bootstrap-definition.scss +166 -166
  165. package/styles/multi-select/_bootstrap4-definition.scss +233 -233
  166. package/styles/multi-select/_fabric-dark-definition.scss +170 -170
  167. package/styles/multi-select/_fabric-definition.scss +167 -167
  168. package/styles/multi-select/_highcontrast-definition.scss +257 -257
  169. package/styles/multi-select/_highcontrast-light-definition.scss +258 -258
  170. package/styles/multi-select/_layout.scss +1153 -1153
  171. package/styles/multi-select/_material-dark-definition.scss +186 -186
  172. package/styles/multi-select/_material-definition.scss +191 -191
  173. package/styles/multi-select/_theme.scss +384 -384
  174. package/styles/multi-select/icons/_bootstrap-dark.scss +26 -26
  175. package/styles/multi-select/icons/_bootstrap.scss +26 -26
  176. package/styles/multi-select/icons/_bootstrap4.scss +37 -37
  177. package/styles/multi-select/icons/_fabric-dark.scss +26 -26
  178. package/styles/multi-select/icons/_fabric.scss +26 -26
  179. package/styles/multi-select/icons/_highcontrast-light.scss +26 -26
  180. package/styles/multi-select/icons/_highcontrast.scss +26 -26
  181. package/styles/multi-select/icons/_material-dark.scss +26 -26
  182. package/styles/multi-select/icons/_material.scss +324 -324
  183. package/styles/multi-select/material.css +9 -0
@@ -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
  import { Input, TextBox } from '@syncfusion/ej2-inputs';
21
21
  import { createCheckBox } from '@syncfusion/ej2-buttons';
22
22
  import { NotifyPropertyChanges, Property, Event } from '@syncfusion/ej2-base';
@@ -1243,6 +1243,10 @@ var DropDownTree = /** @class */ (function (_super) {
1243
1243
  _this.changeState(wrap, 'check');
1244
1244
  _this.checkSelectAll = false;
1245
1245
  }
1246
+ if (_this.allowFiltering) {
1247
+ removeClass([_this.inputWrapper], [INPUTFOCUS]);
1248
+ _this.filterObj.element.focus();
1249
+ }
1246
1250
  var eventArgs = { popup: _this.popupObj };
1247
1251
  _this.trigger('open', eventArgs);
1248
1252
  }
@@ -1343,18 +1347,17 @@ var DropDownTree = /** @class */ (function (_super) {
1343
1347
  var target = e.target;
1344
1348
  var isTree = closest(target, '.' + PARENTITEM);
1345
1349
  var isFilter = closest(target, '.' + FILTERWRAP);
1346
- if ((this.isPopupOpen && (this.inputWrapper.contains(target) || isTree || isFilter)) ||
1350
+ var isScroller = target.classList.contains(DROPDOWN) ? true :
1351
+ (matches(target, '.e-ddt .e-popup') || matches(target, '.e-ddt .e-treeview'));
1352
+ if ((this.isPopupOpen && (this.inputWrapper.contains(target) || isTree || isFilter || isScroller)) ||
1347
1353
  ((this.allowMultiSelection || this.showCheckBox) && (this.isPopupOpen && target.classList.contains(CHIP_CLOSE) ||
1348
1354
  (this.isPopupOpen && (target.classList.contains(CHECKALLPARENT) || target.classList.contains(ALLTEXT)
1349
1355
  || target.classList.contains(CHECKBOXFRAME)))))) {
1350
1356
  this.isDocumentClick = false;
1357
+ e.preventDefault();
1351
1358
  }
1352
- else if (!this.inputWrapper.contains(target)) {
1353
- var isScroller = target.classList.contains(DROPDOWN) ? true :
1354
- (matches(target, '.e-ddt .e-popup') || matches(target, '.e-ddt .e-treeview'));
1355
- if (!isScroller && this.inputFocus) {
1356
- this.focusOut(e);
1357
- }
1359
+ else if (!this.inputWrapper.contains(target) && this.inputFocus) {
1360
+ this.focusOut(e);
1358
1361
  }
1359
1362
  };
1360
1363
  DropDownTree.prototype.onActionFailure = function (e) {
@@ -2449,6 +2452,9 @@ var DropDownTree = /** @class */ (function (_super) {
2449
2452
  this.popupObj.hide();
2450
2453
  if (this.inputFocus) {
2451
2454
  this.inputWrapper.focus();
2455
+ if (this.allowFiltering) {
2456
+ addClass([this.inputWrapper], [INPUTFOCUS]);
2457
+ }
2452
2458
  }
2453
2459
  this.trigger('close', eventArgs);
2454
2460
  }
@@ -3,3 +3,4 @@
3
3
  */
4
4
  export * from './list-box';
5
5
  export * from './list-box-model';
6
+ export * from '../multi-select/checkbox-selection';
@@ -2,3 +2,4 @@
2
2
  * export all modules from current location
3
3
  */
4
4
  export * from './list-box';
5
+ export * from '../multi-select/checkbox-selection';
@@ -1,4 +1,4 @@
1
- import { Input, InputObject } from '@syncfusion/ej2-inputs';import { DropDownBase, dropDownBaseClasses, FilteringEventArgs, SelectEventArgs } from '../drop-down-base/drop-down-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { EventHandler, closest, removeClass, addClass, Complex, Property, ChildProperty, BaseEventArgs, L10n } from '@syncfusion/ej2-base';import { ModuleDeclaration, NotifyPropertyChanges, getComponent, EmitType, Event, extend, detach, attributes } from '@syncfusion/ej2-base';import { getUniqueID, Browser, formatUnit, isNullOrUndefined, getValue } from '@syncfusion/ej2-base';import { prepend, append , isBlazor, BlazorDragEventArgs, resetBlazorTemplate} from '@syncfusion/ej2-base';import { cssClass, Sortable, moveTo, } from '@syncfusion/ej2-lists';import { Button } from '@syncfusion/ej2-buttons';import { createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';import { DataManager, Query } from '@syncfusion/ej2-data';
1
+ import { Input, InputObject } from '@syncfusion/ej2-inputs';
2
2
  import {SelectionMode,CheckBoxPosition,ToolBarPosition,BeforeItemRenderEventArgs,ListBoxChangeEventArgs,DropEventArgs,DragEventArgs} from "./list-box";
3
3
  import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";
4
4
 
@@ -8,30 +8,30 @@ import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";
8
8
  export interface SelectionSettingsModel {
9
9
 
10
10
  /**
11
- * Specifies the selection modes. The possible values are
12
- * * `Single`: Allows you to select a single item in the ListBox.
13
- * * `Multiple`: Allows you to select more than one item in the ListBox.
14
- * @default 'Multiple'
15
- */
16
- mode?: SelectionMode;
11
+ * Specifies the selection modes. The possible values are
12
+ * * `Single`: Allows you to select a single item in the ListBox.
13
+ * * `Multiple`: Allows you to select more than one item in the ListBox.
14
+ * @default 'Multiple'
15
+ */
16
+ mode?: SelectionMode;
17
17
 
18
18
  /**
19
- * If 'showCheckbox' is set to true, then 'checkbox' will be visualized in the list item.
20
- * @default false
21
- */
22
- showCheckbox?: boolean;
19
+ * If 'showCheckbox' is set to true, then 'checkbox' will be visualized in the list item.
20
+ * @default false
21
+ */
22
+ showCheckbox?: boolean;
23
23
 
24
24
  /**
25
- * Allows you to either show or hide the selectAll option on the component.
26
- * @default false
27
- */
28
- showSelectAll?: boolean;
25
+ * Allows you to either show or hide the selectAll option on the component.
26
+ * @default false
27
+ */
28
+ showSelectAll?: boolean;
29
29
 
30
30
  /**
31
- * Set the position of the checkbox.
32
- * @default 'Left'
33
- */
34
- checkboxPosition?: CheckBoxPosition;
31
+ * Set the position of the checkbox.
32
+ * @default 'Left'
33
+ */
34
+ checkboxPosition?: CheckBoxPosition;
35
35
 
36
36
  }
37
37
 
@@ -41,20 +41,20 @@ export interface SelectionSettingsModel {
41
41
  export interface ToolbarSettingsModel {
42
42
 
43
43
  /**
44
- * Specifies the list of tools for dual ListBox.
45
- * The predefined tools are 'moveUp', 'moveDown', 'moveTo', 'moveFrom', 'moveAllTo', and 'moveAllFrom'.
46
- * @default []
47
- */
48
- items?: string[];
44
+ * Specifies the list of tools for dual ListBox.
45
+ * The predefined tools are 'moveUp', 'moveDown', 'moveTo', 'moveFrom', 'moveAllTo', and 'moveAllFrom'.
46
+ * @default []
47
+ */
48
+ items?: string[];
49
49
 
50
50
  /**
51
- * Positions the toolbar before/after the ListBox.
52
- * The possible values are:
53
- * * Left: The toolbar will be positioned to the left of the ListBox.
54
- * * Right: The toolbar will be positioned to the right of the ListBox.
55
- * @default 'Right'
56
- */
57
- position?: ToolBarPosition;
51
+ * Positions the toolbar before/after the ListBox.
52
+ * The possible values are:
53
+ * * Left: The toolbar will be positioned to the left of the ListBox.
54
+ * * Right: The toolbar will be positioned to the right of the ListBox.
55
+ * @default 'Right'
56
+ */
57
+ position?: ToolBarPosition;
58
58
 
59
59
  }
60
60
 
@@ -64,178 +64,178 @@ export interface ToolbarSettingsModel {
64
64
  export interface ListBoxModel extends DropDownBaseModel{
65
65
 
66
66
  /**
67
- * Sets the CSS classes to root element of this component, which helps to customize the
68
- * complete styles.
69
- * @default ''
70
- */
71
- cssClass?: string;
67
+ * Sets the CSS classes to root element of this component, which helps to customize the
68
+ * complete styles.
69
+ * @default ''
70
+ */
71
+ cssClass?: string;
72
72
 
73
73
  /**
74
- * Sets the specified item to the selected state or gets the selected item in the ListBox.
75
- * @default []
76
- * @aspType object
77
- * @isGenericType true
78
- */
79
- value?: string[] | number[] | boolean[];
74
+ * Sets the specified item to the selected state or gets the selected item in the ListBox.
75
+ * @default []
76
+ * @aspType object
77
+ * @isGenericType true
78
+ */
79
+ value?: string[] | number[] | boolean[];
80
80
 
81
81
  /**
82
- * Sets the height of the ListBox component.
83
- * @default ''
84
- */
85
- height?: number | string;
82
+ * Sets the height of the ListBox component.
83
+ * @default ''
84
+ */
85
+ height?: number | string;
86
86
 
87
87
  /**
88
- * If 'allowDragAndDrop' is set to true, then you can perform drag and drop of the list item.
89
- * ListBox contains same 'scope' property enables drag and drop between multiple ListBox.
90
- * @default false
91
- */
92
- allowDragAndDrop?: boolean;
88
+ * If 'allowDragAndDrop' is set to true, then you can perform drag and drop of the list item.
89
+ * ListBox contains same 'scope' property enables drag and drop between multiple ListBox.
90
+ * @default false
91
+ */
92
+ allowDragAndDrop?: boolean;
93
93
 
94
94
  /**
95
- * Sets limitation to the value selection.
96
- * based on the limitation, list selection will be prevented.
97
- * @default 1000
98
- */
99
- maximumSelectionLength?: number;
95
+ * Sets limitation to the value selection.
96
+ * based on the limitation, list selection will be prevented.
97
+ * @default 1000
98
+ */
99
+ maximumSelectionLength?: number;
100
100
 
101
101
  /**
102
- * To enable the filtering option in this component.
103
- * Filter action performs when type in search box and collect the matched item through `filtering` event.
104
- * If searching character does not match, `noRecordsTemplate` property value will be shown.
105
- * @default false
106
- */
107
- allowFiltering?: boolean;
102
+ * To enable the filtering option in this component.
103
+ * Filter action performs when type in search box and collect the matched item through `filtering` event.
104
+ * If searching character does not match, `noRecordsTemplate` property value will be shown.
105
+ * @default false
106
+ */
107
+ allowFiltering?: boolean;
108
108
 
109
109
  /**
110
- * Defines the scope value to group sets of draggable and droppable ListBox.
111
- * A draggable with the same scope value will be accepted by the droppable.
112
- * @default ''
113
- */
114
- scope?: string;
110
+ * Defines the scope value to group sets of draggable and droppable ListBox.
111
+ * A draggable with the same scope value will be accepted by the droppable.
112
+ * @default ''
113
+ */
114
+ scope?: string;
115
115
 
116
116
  /**
117
- * When set to ‘false’, consider the `case-sensitive` on performing the search to find suggestions.
118
- * By default consider the casing.
119
- * @default true
120
- * @private
121
- */
122
- ignoreCase?: boolean;
117
+ * When set to ‘false’, consider the `case-sensitive` on performing the search to find suggestions.
118
+ * By default consider the casing.
119
+ * @default true
120
+ * @private
121
+ */
122
+ ignoreCase?: boolean;
123
123
 
124
124
  /**
125
- * Accepts the value to be displayed as a watermark text on the filter bar.
126
- * @default null
127
- */
128
- filterBarPlaceholder?: string;
125
+ * Accepts the value to be displayed as a watermark text on the filter bar.
126
+ * @default null
127
+ */
128
+ filterBarPlaceholder?: string;
129
129
 
130
130
  /**
131
- * Triggers while rendering each list item.
132
- * @event
133
- * @blazorProperty 'OnItemRender'
134
- */
135
- beforeItemRender?: EmitType<BeforeItemRenderEventArgs>;
131
+ * Triggers while rendering each list item.
132
+ * @event
133
+ * @blazorProperty 'OnItemRender'
134
+ */
135
+ beforeItemRender?: EmitType<BeforeItemRenderEventArgs>;
136
136
 
137
137
  /**
138
- * Triggers on typing a character in the component.
139
- * @event
140
- * @blazorProperty 'ItemSelected'
141
- */
142
- filtering?: EmitType<FilteringEventArgs>;
138
+ * Triggers on typing a character in the component.
139
+ * @event
140
+ * @blazorProperty 'ItemSelected'
141
+ */
142
+ filtering?: EmitType<FilteringEventArgs>;
143
143
 
144
144
  /**
145
- * Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.
146
- * @event
147
- * @private
148
- */
149
- select?: EmitType<SelectEventArgs>;
145
+ * Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.
146
+ * @event
147
+ * @private
148
+ */
149
+ select?: EmitType<SelectEventArgs>;
150
150
 
151
151
  /**
152
- * Triggers while select / unselect the list item.
153
- * @event
154
- * @blazorProperty 'ValueChange'
155
- */
156
- change?: EmitType<ListBoxChangeEventArgs>;
152
+ * Triggers while select / unselect the list item.
153
+ * @event
154
+ * @blazorProperty 'ValueChange'
155
+ */
156
+ change?: EmitType<ListBoxChangeEventArgs>;
157
157
 
158
158
  /**
159
- * Triggers before dropping the list item on another list item.
160
- * @event
161
- * @blazorProperty 'OnDrop'
162
- */
163
- beforeDrop?: EmitType<DropEventArgs>;
159
+ * Triggers before dropping the list item on another list item.
160
+ * @event
161
+ * @blazorProperty 'OnDrop'
162
+ */
163
+ beforeDrop?: EmitType<DropEventArgs>;
164
164
 
165
165
  /**
166
- * Triggers after dragging the list item.
167
- * @event
168
- * @blazorProperty 'DragStart'
169
- */
170
- dragStart?: EmitType<DragEventArgs>;
166
+ * Triggers after dragging the list item.
167
+ * @event
168
+ * @blazorProperty 'DragStart'
169
+ */
170
+ dragStart?: EmitType<DragEventArgs>;
171
171
 
172
172
  /**
173
- * Triggers while dragging the list item.
174
- * @event
175
- * @blazorProperty 'Dragging'
176
- */
177
- drag?: EmitType<DragEventArgs>;
173
+ * Triggers while dragging the list item.
174
+ * @event
175
+ * @blazorProperty 'Dragging'
176
+ */
177
+ drag?: EmitType<DragEventArgs>;
178
178
 
179
179
  /**
180
- * Triggers before dropping the list item on another list item.
181
- * @event
182
- * @blazorProperty 'Dropped'
183
- */
184
- drop?: EmitType<DragEventArgs>;
180
+ * Triggers before dropping the list item on another list item.
181
+ * @event
182
+ * @blazorProperty 'Dropped'
183
+ */
184
+ drop?: EmitType<DragEventArgs>;
185
185
 
186
186
  /**
187
- * Triggers when data source is populated in the list.
188
- * @event
189
- * @private
190
- */
191
- dataBound?: EmitType<Object>;
187
+ * Triggers when data source is populated in the list.
188
+ * @event
189
+ * @private
190
+ */
191
+ dataBound?: EmitType<Object>;
192
192
 
193
193
  /**
194
- * Accepts the template design and assigns it to the group headers present in the list.
195
- * @default null
196
- * @private
197
- */
198
- groupTemplate?: string;
194
+ * Accepts the template design and assigns it to the group headers present in the list.
195
+ * @default null
196
+ * @private
197
+ */
198
+ groupTemplate?: string;
199
199
 
200
200
  /**
201
- * Accepts the template design and assigns it to list of component
202
- * when no data is available on the component.
203
- * @default 'No records found'
204
- * @private
205
- */
206
- noRecordsTemplate?: string;
201
+ * Accepts the template design and assigns it to list of component
202
+ * when no data is available on the component.
203
+ * @default 'No records found'
204
+ * @private
205
+ */
206
+ noRecordsTemplate?: string;
207
207
 
208
208
  /**
209
- * Accepts the template and assigns it to the list content of the ListBox component
210
- * when the data fetch request from the remote server fails.
211
- * @default 'Request failed'
212
- * @private
213
- */
214
- actionFailureTemplate?: string;
209
+ * Accepts the template and assigns it to the list content of the ListBox component
210
+ * when the data fetch request from the remote server fails.
211
+ * @default 'Request Failed'
212
+ * @private
213
+ */
214
+ actionFailureTemplate?: string;
215
215
 
216
216
  /**
217
- * specifies the z-index value of the component popup element.
218
- * @default 1000
219
- * @private
220
- */
221
- zIndex?: number;
217
+ * specifies the z-index value of the component popup element.
218
+ * @default 1000
219
+ * @private
220
+ */
221
+ zIndex?: number;
222
222
 
223
223
  /**
224
- * ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
225
- * @private
226
- */
227
- ignoreAccent?: boolean;
224
+ * ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
225
+ * @private
226
+ */
227
+ ignoreAccent?: boolean;
228
228
 
229
229
  /**
230
- * Specifies the toolbar items and its position.
231
- * @default { items: [], position: 'Right' }
232
- */
233
- toolbarSettings?: ToolbarSettingsModel;
230
+ * Specifies the toolbar items and its position.
231
+ * @default { items: [], position: 'Right' }
232
+ */
233
+ toolbarSettings?: ToolbarSettingsModel;
234
234
 
235
235
  /**
236
- * Specifies the selection mode and its type.
237
- * @default { mode: 'Multiple', type: 'Default' }
238
- */
239
- selectionSettings?: SelectionSettingsModel;
236
+ * Specifies the selection mode and its type.
237
+ * @default { mode: 'Multiple', type: 'Default' }
238
+ */
239
+ selectionSettings?: SelectionSettingsModel;
240
240
 
241
241
  }
@@ -250,7 +250,7 @@ export declare class ListBox extends DropDownBase {
250
250
  /**
251
251
  * Accepts the template and assigns it to the list content of the ListBox component
252
252
  * when the data fetch request from the remote server fails.
253
- * @default 'Request failed'
253
+ * @default 'Request Failed'
254
254
  * @private
255
255
  */
256
256
  actionFailureTemplate: string;
@@ -420,7 +420,6 @@ export declare class ListBox extends DropDownBase {
420
420
  private checkSelectAll;
421
421
  protected getQuery(query: Query): Query;
422
422
  private setFiltering;
423
- private filterWireEvents;
424
423
  private selectHandler;
425
424
  private triggerChange;
426
425
  private getDataByElems;
@@ -444,6 +443,7 @@ export declare class ListBox extends DropDownBase {
444
443
  private getScopedListBox;
445
444
  private getDragArgs;
446
445
  private onKeyDown;
446
+ private keyDownStatus;
447
447
  private keyDownHandler;
448
448
  private upDownKeyHandler;
449
449
  private KeyUp;