@syncfusion/ej2-dropdowns 19.3.48 → 19.4.38

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 (65) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +1 -1
  3. package/dist/ej2-dropdowns.umd.min.js +2 -2
  4. package/dist/ej2-dropdowns.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-dropdowns.es2015.js +123 -42
  6. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  7. package/dist/es6/ej2-dropdowns.es5.js +125 -42
  8. package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
  9. package/dist/global/ej2-dropdowns.min.js +2 -2
  10. package/dist/global/ej2-dropdowns.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +11 -11
  13. package/src/combo-box/combo-box.js +2 -2
  14. package/src/common/incremental-search.d.ts +1 -1
  15. package/src/common/incremental-search.js +1 -1
  16. package/src/drop-down-base/drop-down-base.js +17 -0
  17. package/src/drop-down-list/drop-down-list.js +1 -1
  18. package/src/drop-down-tree/drop-down-tree.d.ts +1 -0
  19. package/src/drop-down-tree/drop-down-tree.js +21 -6
  20. package/src/list-box/list-box.d.ts +0 -4
  21. package/src/list-box/list-box.js +0 -3
  22. package/src/multi-select/checkbox-selection.js +1 -1
  23. package/src/multi-select/multi-select-model.d.ts +10 -1
  24. package/src/multi-select/multi-select.d.ts +10 -0
  25. package/src/multi-select/multi-select.js +82 -28
  26. package/styles/auto-complete/_fluent-definition.scss +2 -0
  27. package/styles/bootstrap5-dark.css +12 -5
  28. package/styles/bootstrap5.css +12 -5
  29. package/styles/combo-box/_fluent-definition.scss +2 -0
  30. package/styles/drop-down-base/_fluent-definition.scss +109 -0
  31. package/styles/drop-down-list/_fluent-definition.scss +193 -0
  32. package/styles/drop-down-list/icons/_bootstrap5.scss +0 -1
  33. package/styles/drop-down-list/icons/_fluent.scss +14 -0
  34. package/styles/drop-down-tree/_bootstrap5-definition.scss +59 -58
  35. package/styles/drop-down-tree/_fluent-definition.scss +71 -0
  36. package/styles/drop-down-tree/_layout.scss +12 -4
  37. package/styles/drop-down-tree/_tailwind-definition.scss +1 -0
  38. package/styles/drop-down-tree/bootstrap5-dark.css +11 -4
  39. package/styles/drop-down-tree/bootstrap5.css +11 -4
  40. package/styles/drop-down-tree/icons/_bootstrap5.scss +11 -11
  41. package/styles/drop-down-tree/icons/_fluent.scss +11 -0
  42. package/styles/drop-down-tree/icons/_tailwind-dark.scss +11 -11
  43. package/styles/drop-down-tree/tailwind-dark.css +1 -0
  44. package/styles/drop-down-tree/tailwind.css +1 -0
  45. package/styles/list-box/_bootstrap5-definition.scss +2 -2
  46. package/styles/list-box/_fluent-definition.scss +115 -0
  47. package/styles/list-box/_layout.scss +1 -6
  48. package/styles/list-box/bootstrap5-dark.css +1 -1
  49. package/styles/list-box/bootstrap5.css +1 -1
  50. package/styles/list-box/icons/_fluent.scss +25 -0
  51. package/styles/list-box/icons/_tailwind-dark.scss +2 -2
  52. package/styles/list-box/tailwind-dark.css +3 -3
  53. package/styles/list-box/tailwind.css +1 -1
  54. package/styles/material-dark.css +0 -94
  55. package/styles/material.css +0 -94
  56. package/styles/multi-select/_fluent-definition.scss +214 -0
  57. package/styles/multi-select/_layout.scss +0 -116
  58. package/styles/multi-select/_material-dark-definition.scss +0 -22
  59. package/styles/multi-select/_material-definition.scss +0 -22
  60. package/styles/multi-select/icons/_fluent.scss +27 -0
  61. package/styles/multi-select/material-dark.css +0 -94
  62. package/styles/multi-select/material.css +0 -94
  63. package/styles/tailwind-dark.css +4 -3
  64. package/styles/tailwind.css +2 -1
  65. package/styles/_all.scss +0 -3
@@ -91,7 +91,7 @@ function Search(inputVal, items, searchType, ignoreCase) {
91
91
  for (let i = 0, itemsData = listItems; i < itemsData.length; i++) {
92
92
  const item = itemsData[i];
93
93
  const text = (ignoreCase ? item.textContent.toLocaleLowerCase() : item.textContent).replace(/^\s+|\s+$/g, '');
94
- if ((searchType === 'Equal' && text === queryStr) || (searchType === 'StartsWith' && text.substr(0, strLength) === queryStr)) {
94
+ if ((searchType === 'Equal' && text === queryStr) || (searchType === 'StartsWith' && text.substr(0, strLength) === queryStr) || (searchType === 'EndsWith' && text.substr(text.length - queryStr.length) === queryStr) || (searchType === 'Contains' && new RegExp(queryStr, "g").test(text))) {
95
95
  itemData.item = item;
96
96
  itemData.index = i;
97
97
  return { item: item, index: i };
@@ -635,6 +635,11 @@ let DropDownBase = class DropDownBase extends Component {
635
635
  this.renderGroupTemplate(ulElement);
636
636
  }
637
637
  this.bindChildItems(localDataArgs.result, ulElement, fields);
638
+ setTimeout(() => {
639
+ if (this.getModuleName() === 'multiselect' && this.itemTemplate != null && (ulElement.childElementCount > 0 && ulElement.children[0].childElementCount > 0)) {
640
+ this.updateDataList();
641
+ }
642
+ });
638
643
  }
639
644
  });
640
645
  }
@@ -765,10 +770,22 @@ let DropDownBase = class DropDownBase extends Component {
765
770
  const groupValue = select(this.groupTemplate, document).innerHTML.trim();
766
771
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
767
772
  const tempHeaders = ListBase.renderGroupTemplate(groupValue, dataSource, this.fields.properties, headerItems, option, this);
773
+ //EJ2-55168- Group checkbox is not working with group template
774
+ if (this.isGroupChecking) {
775
+ for (var i = 0; i < tempHeaders.length; i++) {
776
+ this.notify('addItem', { module: 'CheckBoxSelection', item: tempHeaders[i] });
777
+ }
778
+ }
768
779
  }
769
780
  else {
770
781
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
771
782
  const tempHeaders = ListBase.renderGroupTemplate(this.groupTemplate, dataSource, this.fields.properties, headerItems, option, this);
783
+ //EJ2-55168- Group checkbox is not working with group template
784
+ if (this.isGroupChecking) {
785
+ for (var i = 0; i < tempHeaders.length; i++) {
786
+ this.notify('addItem', { module: 'CheckBoxSelection', item: tempHeaders[i] });
787
+ }
788
+ }
772
789
  }
773
790
  this.renderReactTemplates();
774
791
  }
@@ -2083,7 +2100,7 @@ let DropDownList = class DropDownList extends DropDownBase {
2083
2100
  if (this.isSelectFocusItem(focusEle)) {
2084
2101
  this.setSelection(focusEle, e);
2085
2102
  }
2086
- else {
2103
+ else if (!isNullOrUndefined(this.liCollections)) {
2087
2104
  let index = e.action === 'down' ? this.activeIndex + 1 : this.activeIndex - 1;
2088
2105
  let startIndex = 0;
2089
2106
  if (this.getModuleName() === 'autocomplete') {
@@ -4235,6 +4252,7 @@ let DropDownTree = class DropDownTree extends Component {
4235
4252
  // eslint-disable-next-line
4236
4253
  this.selectedData = [];
4237
4254
  this.filterDelayTime = 300;
4255
+ this.isClicked = false;
4238
4256
  }
4239
4257
  /**
4240
4258
  * Get the properties to be maintained in the persisted state.
@@ -5200,8 +5218,10 @@ let DropDownTree = class DropDownTree extends Component {
5200
5218
  }
5201
5219
  this.checkWrapper = closest(target, '.' + CHECKBOXWRAP);
5202
5220
  if (!isNullOrUndefined(this.checkWrapper)) {
5221
+ this.isClicked = true;
5203
5222
  const checkElement = select('.' + CHECKBOXFRAME, this.checkWrapper);
5204
5223
  this.changeState(this.checkWrapper, checkElement.classList.contains(CHECK) ? 'uncheck' : 'check', e);
5224
+ this.isClicked = false;
5205
5225
  }
5206
5226
  e.preventDefault();
5207
5227
  }
@@ -5430,9 +5450,14 @@ let DropDownTree = class DropDownTree extends Component {
5430
5450
  }
5431
5451
  else {
5432
5452
  if (this.showCheckBox) {
5433
- this.treeObj.checkedNodes = this.value.slice();
5434
- this.treeObj.dataBind();
5435
- this.setMultiSelect();
5453
+ let difference = this.value.filter((e) => {
5454
+ return this.treeObj.checkedNodes.indexOf(e) === -1;
5455
+ });
5456
+ if (difference.length > 0 || this.treeSettings.autoCheck) {
5457
+ this.treeObj.checkedNodes = this.value.slice();
5458
+ this.treeObj.dataBind();
5459
+ this.setMultiSelect();
5460
+ }
5436
5461
  }
5437
5462
  else {
5438
5463
  this.treeObj.selectedNodes = this.value.slice();
@@ -5896,7 +5921,7 @@ let DropDownTree = class DropDownTree extends Component {
5896
5921
  }
5897
5922
  const eventArgs = {
5898
5923
  action: this.showCheckBox ? state : args.action,
5899
- isInteracted: args.isInteracted,
5924
+ isInteracted: this.isClicked ? true : args.isInteracted,
5900
5925
  item: args.node,
5901
5926
  itemData: this.showCheckBox ? checkData[0] : selectData
5902
5927
  };
@@ -5967,6 +5992,7 @@ let DropDownTree = class DropDownTree extends Component {
5967
5992
  }
5968
5993
  const target = args.event.target;
5969
5994
  if ((target.classList.contains('e-fullrow') || target.classList.contains('e-list-text')) && this.showCheckBox) {
5995
+ this.isClicked = true;
5970
5996
  // eslint-disable-next-line
5971
5997
  const getNodeDetails = this.treeObj.getNode(args.node);
5972
5998
  if (getNodeDetails.isChecked === 'true') {
@@ -5975,6 +6001,7 @@ let DropDownTree = class DropDownTree extends Component {
5975
6001
  else {
5976
6002
  this.treeObj.checkAll([args.node]);
5977
6003
  }
6004
+ this.isClicked = false;
5978
6005
  this.setMultiSelect();
5979
6006
  this.ensurePlaceHolder();
5980
6007
  }
@@ -6466,6 +6493,9 @@ let DropDownTree = class DropDownTree extends Component {
6466
6493
  this.ensurePlaceHolder();
6467
6494
  }
6468
6495
  resetValue(isDynamicChange) {
6496
+ if (this.value == [] && this.text == null) {
6497
+ return;
6498
+ }
6469
6499
  Input.setValue(null, this.inputEle, this.floatLabelType);
6470
6500
  if (!isDynamicChange) {
6471
6501
  this.oldValue = this.value;
@@ -6477,7 +6507,8 @@ let DropDownTree = class DropDownTree extends Component {
6477
6507
  setValue('selectedNodes', [], this.treeObj);
6478
6508
  this.hiddenElement.innerHTML = '';
6479
6509
  if (this.showCheckBox) {
6480
- this.treeObj.uncheckAll();
6510
+ this.treeObj.checkedNodes = [];
6511
+ this.treeObj.dataBind();
6481
6512
  this.setMultiSelect();
6482
6513
  this.clearCheckAll();
6483
6514
  }
@@ -6854,8 +6885,8 @@ let DropDownTree = class DropDownTree extends Component {
6854
6885
  this.updateTemplate();
6855
6886
  }
6856
6887
  this.treeObj.sortOrder = newProp.sortOrder;
6857
- this.updateValue(this.value);
6858
6888
  this.treeObj.dataBind();
6889
+ this.updateValue(this.value);
6859
6890
  break;
6860
6891
  case 'showDropDownIcon':
6861
6892
  this.updateDropDownIconState(newProp.showDropDownIcon);
@@ -7422,7 +7453,7 @@ let ComboBox = class ComboBox extends DropDownList {
7422
7453
  if ((Browser.isDevice && !this.isDropDownClick || !Browser.isDevice) &&
7423
7454
  !isNullOrUndefined(this.liCollections) && this.liCollections.length > 0) {
7424
7455
  const inputValue = this.inputElement.value;
7425
- const activeItem = Search(inputValue, this.liCollections, 'StartsWith', true);
7456
+ const activeItem = Search(inputValue, this.liCollections, this.filterType, true);
7426
7457
  const activeElement = activeItem.item;
7427
7458
  if (!isNullOrUndefined(activeElement)) {
7428
7459
  const count = this.getIndexByValue(activeElement.getAttribute('data-value')) - 1;
@@ -7579,7 +7610,7 @@ let ComboBox = class ComboBox extends DropDownList {
7579
7610
  else {
7580
7611
  this.activeIndex = null;
7581
7612
  this.removeSelection();
7582
- if (this.liCollections && this.liCollections.length < 0) {
7613
+ if (this.liCollections && this.liCollections.length > 0 && !this.isCustomFilter) {
7583
7614
  this.removeFocus();
7584
7615
  }
7585
7616
  }
@@ -8968,7 +8999,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
8968
8999
  this.mainData = list;
8969
9000
  this.mainListCollection = this.liCollections;
8970
9001
  }
8971
- else if (!isNullOrUndefined(this.mainData) && this.mainData.length === 0) {
9002
+ else if (isNullOrUndefined(this.mainData) || this.mainData.length === 0) {
8972
9003
  this.mainData = list;
8973
9004
  }
8974
9005
  if ((this.remoteCustomValue || list.length <= 0) && this.allowCustomValue && this.inputFocus && this.allowFiltering &&
@@ -9362,6 +9393,18 @@ let MultiSelect = class MultiSelect extends DropDownBase {
9362
9393
  }
9363
9394
  this.inputFocus = false;
9364
9395
  this.overAllWrapper.classList.remove(FOCUS);
9396
+ if (this.addTagOnBlur) {
9397
+ const dataChecks = this.getValueByText(this.inputElement.value, this.ignoreCase, this.ignoreAccent);
9398
+ const listLiElement = this.findListElement(this.list, 'li', 'data-value', dataChecks);
9399
+ const className = this.hideSelectedItem ? HIDE_LIST : dropDownBaseClasses.selected;
9400
+ const allowChipAddition = (listLiElement && !listLiElement.classList.contains(className)) ? true : false;
9401
+ if (allowChipAddition) {
9402
+ this.updateListSelection(listLiElement, eve);
9403
+ if (this.mode === 'Delimiter') {
9404
+ this.updateDelimeter(this.delimiterChar);
9405
+ }
9406
+ }
9407
+ }
9365
9408
  this.refreshListItems(null);
9366
9409
  if (this.mode !== 'Box' && this.mode !== 'CheckBox') {
9367
9410
  this.updateDelimView();
@@ -9584,6 +9627,13 @@ let MultiSelect = class MultiSelect extends DropDownBase {
9584
9627
  const focusedItem = this.list.querySelector('.' + dropDownBaseClasses.focus);
9585
9628
  if (!isNullOrUndefined(focusedItem)) {
9586
9629
  this.inputElement.setAttribute('aria-activedescendant', focusedItem.id);
9630
+ if (this.allowFiltering) {
9631
+ var filterInput = this.popupWrapper.querySelector('.' + FILTERINPUT);
9632
+ filterInput && filterInput.setAttribute('aria-activedescendant', focusedItem.id);
9633
+ }
9634
+ else if (this.mode == "CheckBox") {
9635
+ this.overAllWrapper.setAttribute('aria-activedescendant', focusedItem.id);
9636
+ }
9587
9637
  }
9588
9638
  }
9589
9639
  homeNavigation(isHome) {
@@ -9699,7 +9749,6 @@ let MultiSelect = class MultiSelect extends DropDownBase {
9699
9749
  this.keyAction = true;
9700
9750
  if (document.activeElement.classList.contains(FILTERINPUT)
9701
9751
  || (this.mode === 'CheckBox' && !this.allowFiltering && document.activeElement !== this.list)) {
9702
- this.list.focus();
9703
9752
  EventHandler.add(this.list, 'keydown', this.onKeyDown, this);
9704
9753
  }
9705
9754
  this.updateAriaAttribute();
@@ -10718,7 +10767,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
10718
10767
  EventHandler.add(this.inputElement, 'input', this.onInput, this);
10719
10768
  }
10720
10769
  EventHandler.add(this.inputElement, 'blur', this.onBlurHandler, this);
10721
- EventHandler.add(this.componentWrapper, 'mousemove', this.mouseIn, this);
10770
+ EventHandler.add(this.componentWrapper, 'mouseover', this.mouseIn, this);
10722
10771
  const formElement = closest(this.inputElement, 'form');
10723
10772
  if (formElement) {
10724
10773
  EventHandler.add(formElement, 'reset', this.resetValueHandler, this);
@@ -10966,7 +11015,9 @@ let MultiSelect = class MultiSelect extends DropDownBase {
10966
11015
  updateActionCompleteData(li, item) {
10967
11016
  if (this.value && this.value.indexOf(li.getAttribute('data-value')) > -1) {
10968
11017
  this.mainList = this.ulElement;
10969
- addClass([li], HIDE_LIST);
11018
+ if (this.hideSelectedItem) {
11019
+ addClass([li], HIDE_LIST);
11020
+ }
10970
11021
  }
10971
11022
  }
10972
11023
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -10984,7 +11035,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
10984
11035
  }
10985
11036
  }
10986
11037
  updateDataList() {
10987
- if (this.mainList && this.ulElement && this.mainList.childElementCount < this.ulElement.childElementCount) {
11038
+ if (this.mainList && this.ulElement && (this.mainList.childElementCount < this.ulElement.childElementCount || ((this.ulElement.childElementCount > 0 && this.ulElement.children[0].childElementCount > 0) && (this.mainList.children[0].childElementCount < this.ulElement.children[0].childElementCount)))) {
10988
11039
  this.mainList = this.ulElement.cloneNode ? this.ulElement.cloneNode(true) : this.ulElement;
10989
11040
  }
10990
11041
  }
@@ -11610,7 +11661,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
11610
11661
  EventHandler.remove(formElement, 'reset', this.resetValueHandler);
11611
11662
  }
11612
11663
  EventHandler.remove(this.inputElement, 'blur', this.onBlurHandler);
11613
- EventHandler.remove(this.componentWrapper, 'mousemove', this.mouseIn);
11664
+ EventHandler.remove(this.componentWrapper, 'mouseover', this.mouseIn);
11614
11665
  EventHandler.remove(this.componentWrapper, 'mouseout', this.mouseOut);
11615
11666
  EventHandler.remove(this.overAllClear, 'mousedown', this.clearAll);
11616
11667
  EventHandler.remove(this.inputElement, 'paste', this.pasteHandler);
@@ -12024,6 +12075,24 @@ let MultiSelect = class MultiSelect extends DropDownBase {
12024
12075
  }
12025
12076
  this.renderPopup();
12026
12077
  }
12078
+ presentItemValue(ulElement) {
12079
+ let valuecheck = [];
12080
+ for (let i = 0; i < this.value.length; i++) {
12081
+ let checkEle = this.findListElement(((this.allowFiltering && !isNullOrUndefined(this.mainList)) ? this.mainList : ulElement), 'li', 'data-value', this.value[i]);
12082
+ if (!checkEle) {
12083
+ valuecheck.push(this.value[i]);
12084
+ }
12085
+ }
12086
+ return valuecheck;
12087
+ }
12088
+ ;
12089
+ addNonPresentItems(valuecheck, ulElement, list, event) {
12090
+ this.dataSource.executeQuery(this.getForQuery(valuecheck)).then((e) => {
12091
+ this.addItem(e.result, list.length);
12092
+ this.updateActionList(ulElement, list, event);
12093
+ });
12094
+ }
12095
+ ;
12027
12096
  updateVal(newProp, oldProp, prop) {
12028
12097
  if (!this.list) {
12029
12098
  this.onLoadSelect();
@@ -12032,31 +12101,43 @@ let MultiSelect = class MultiSelect extends DropDownBase {
12032
12101
  this.onLoadSelect();
12033
12102
  }
12034
12103
  else {
12035
- if (prop === 'text') {
12036
- this.initialTextUpdate();
12037
- newProp = this.value;
12038
- }
12039
- if (isNullOrUndefined(this.value) || this.value.length === 0) {
12040
- this.tempValues = oldProp;
12041
- }
12042
- // eslint-disable-next-line
12043
- if (this.allowCustomValue && (this.mode === 'Default' || this.mode === 'Box') && this.isReact && this.inputFocus
12044
- && this.isPopupOpen() && this.mainData !== this.listData) {
12045
- const list = this.mainList.cloneNode ? this.mainList.cloneNode(true) : this.mainList;
12046
- this.onActionComplete(list, this.mainData);
12104
+ let valuecheck = [];
12105
+ if (!isNullOrUndefined(this.value) && !this.allowCustomValue) {
12106
+ valuecheck = this.presentItemValue(this.ulElement);
12047
12107
  }
12048
- this.initialValueUpdate();
12049
- if (this.mode !== 'Box' && !this.inputFocus) {
12050
- this.updateDelimView();
12108
+ if (prop == 'value' && valuecheck.length > 0 && this.dataSource instanceof DataManager && !isNullOrUndefined(this.value)
12109
+ && this.listData != null) {
12110
+ this.mainData = null;
12111
+ this.setDynValue = true;
12112
+ this.addNonPresentItems(valuecheck, this.ulElement, this.listData);
12051
12113
  }
12052
- if (!this.inputFocus) {
12053
- this.refreshInputHight();
12054
- }
12055
- this.refreshPlaceHolder();
12056
- if (this.mode !== 'CheckBox' && this.changeOnBlur) {
12057
- this.updateValueState(null, newProp, oldProp);
12114
+ else {
12115
+ if (prop === 'text') {
12116
+ this.initialTextUpdate();
12117
+ newProp = this.value;
12118
+ }
12119
+ if (isNullOrUndefined(this.value) || this.value.length === 0) {
12120
+ this.tempValues = oldProp;
12121
+ }
12122
+ // eslint-disable-next-line
12123
+ if (this.allowCustomValue && (this.mode === 'Default' || this.mode === 'Box') && this.isReact && this.inputFocus
12124
+ && this.isPopupOpen() && this.mainData !== this.listData) {
12125
+ const list = this.mainList.cloneNode ? this.mainList.cloneNode(true) : this.mainList;
12126
+ this.onActionComplete(list, this.mainData);
12127
+ }
12128
+ this.initialValueUpdate();
12129
+ if (this.mode !== 'Box' && !this.inputFocus) {
12130
+ this.updateDelimView();
12131
+ }
12132
+ if (!this.inputFocus) {
12133
+ this.refreshInputHight();
12134
+ }
12135
+ this.refreshPlaceHolder();
12136
+ if (this.mode !== 'CheckBox' && this.changeOnBlur) {
12137
+ this.updateValueState(null, newProp, oldProp);
12138
+ }
12139
+ this.checkPlaceholderSize();
12058
12140
  }
12059
- this.checkPlaceholderSize();
12060
12141
  }
12061
12142
  if (!this.changeOnBlur) {
12062
12143
  this.updateValueState(null, newProp, oldProp);
@@ -12574,6 +12655,9 @@ __decorate$5([
12574
12655
  __decorate$5([
12575
12656
  Property(true)
12576
12657
  ], MultiSelect.prototype, "openOnClick", void 0);
12658
+ __decorate$5([
12659
+ Property(false)
12660
+ ], MultiSelect.prototype, "addTagOnBlur", void 0);
12577
12661
  __decorate$5([
12578
12662
  Event()
12579
12663
  ], MultiSelect.prototype, "change", void 0);
@@ -12764,7 +12848,7 @@ class CheckBoxSelection {
12764
12848
  }
12765
12849
  if (this.parent.list.classList.contains('e-nodata') || (this.parent.listData && this.parent.listData.length <= 1 &&
12766
12850
  !(this.parent.isDynamicDataChange)) || (this.parent.isDynamicDataChange &&
12767
- !isNullOrUndefined(this.parent.value) && this.parent.value.length <= 1)) {
12851
+ this.parent.listData && this.parent.listData.length <= 1)) {
12768
12852
  this.checkAllParent.style.display = 'none';
12769
12853
  }
12770
12854
  else {
@@ -13530,9 +13614,6 @@ let ListBox = ListBox_1 = class ListBox extends DropDownBase {
13530
13614
  args.items = this.getDataByValues([dragValue]);
13531
13615
  }
13532
13616
  this.trigger('beforeDrop', args);
13533
- if (args.isDragAll !== null) {
13534
- this.allowDragAll = args.isDragAll;
13535
- }
13536
13617
  }
13537
13618
  dragEnd(args) {
13538
13619
  let listData;