@syncfusion/ej2-dropdowns 35.1.37 → 35.1.39

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.
@@ -19912,6 +19912,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
19912
19912
  this.list.style.visibility = '';
19913
19913
  }
19914
19914
  }
19915
+ this.updateAriaActiveDescendant();
19915
19916
  break;
19916
19917
  case 'htmlAttributes':
19917
19918
  this.updateHTMLAttribute();
@@ -22301,7 +22302,9 @@ let ListBox = ListBox_1 = class ListBox extends DropDownBase {
22301
22302
  this.selectAllText = l10nSelect.getConstant('selectAllText');
22302
22303
  this.unSelectAllText = l10nSelect.getConstant('unSelectAllText');
22303
22304
  this.popupWrapper = this.list;
22304
- this.checkBoxSelectionModule.checkAllParent = null;
22305
+ if (this.checkBoxSelectionModule) {
22306
+ this.checkBoxSelectionModule.checkAllParent = null;
22307
+ }
22305
22308
  if (this.filterParent) {
22306
22309
  const parentNode = this.filterParent.parentNode;
22307
22310
  if (parentNode) {
@@ -24494,7 +24497,9 @@ let ListBox = ListBox_1 = class ListBox extends DropDownBase {
24494
24497
  this.selectAllText = l10nShow.getConstant('selectAllText');
24495
24498
  this.unSelectAllText = l10nShow.getConstant('unSelectAllText');
24496
24499
  this.popupWrapper = this.list;
24497
- this.checkBoxSelectionModule.checkAllParent = null;
24500
+ if (this.checkBoxSelectionModule) {
24501
+ this.checkBoxSelectionModule.checkAllParent = null;
24502
+ }
24498
24503
  this.notify('selectAll', {});
24499
24504
  this.checkSelectAll();
24500
24505
  }
@@ -24505,7 +24510,10 @@ let ListBox = ListBox_1 = class ListBox extends DropDownBase {
24505
24510
  }
24506
24511
  for (index; index < liCollLen; index++) {
24507
24512
  if (liColl[index].classList.contains('e-list-item')) {
24508
- liColl[index].removeChild(liColl[index].getElementsByClassName('e-checkbox-wrapper')[0]);
24513
+ const checkboxElem = liColl[index].getElementsByClassName('e-checkbox-wrapper')[0];
24514
+ if (checkboxElem) {
24515
+ liColl[index].removeChild(checkboxElem);
24516
+ }
24509
24517
  }
24510
24518
  if (liColl[index].hasAttribute('aria-selected')) {
24511
24519
  liColl[index].removeAttribute('aria-selected');
@@ -24693,7 +24701,13 @@ let ListBox = ListBox_1 = class ListBox extends DropDownBase {
24693
24701
  this.showSelectAll = showSelectAll;
24694
24702
  if (this.showSelectAll) {
24695
24703
  const l10nSel = new L10n(this.getModuleName(), { selectAllText: 'Select All', unSelectAllText: 'Unselect All' }, this.locale);
24696
- this.checkBoxSelectionModule.checkAllParent = null;
24704
+ const selectAllElem = this.list.querySelector('.e-selectall-parent');
24705
+ if (this.checkBoxSelectionModule) {
24706
+ this.checkBoxSelectionModule.checkAllParent = null;
24707
+ }
24708
+ if (selectAllElem) {
24709
+ detach(selectAllElem);
24710
+ }
24697
24711
  this.showSelectAll = true;
24698
24712
  this.selectAllText = l10nSel.getConstant('selectAllText');
24699
24713
  this.unSelectAllText = l10nSel.getConstant('selectAllText');