@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.
@@ -20213,6 +20213,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
20213
20213
  this.list.style.visibility = '';
20214
20214
  }
20215
20215
  }
20216
+ this.updateAriaActiveDescendant();
20216
20217
  break;
20217
20218
  case 'htmlAttributes':
20218
20219
  this.updateHTMLAttribute();
@@ -22641,7 +22642,9 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
22641
22642
  this.selectAllText = l10nSelect.getConstant('selectAllText');
22642
22643
  this.unSelectAllText = l10nSelect.getConstant('unSelectAllText');
22643
22644
  this.popupWrapper = this.list;
22644
- this.checkBoxSelectionModule.checkAllParent = null;
22645
+ if (this.checkBoxSelectionModule) {
22646
+ this.checkBoxSelectionModule.checkAllParent = null;
22647
+ }
22645
22648
  if (this.filterParent) {
22646
22649
  var parentNode = this.filterParent.parentNode;
22647
22650
  if (parentNode) {
@@ -24873,7 +24876,9 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
24873
24876
  this.selectAllText = l10nShow.getConstant('selectAllText');
24874
24877
  this.unSelectAllText = l10nShow.getConstant('unSelectAllText');
24875
24878
  this.popupWrapper = this.list;
24876
- this.checkBoxSelectionModule.checkAllParent = null;
24879
+ if (this.checkBoxSelectionModule) {
24880
+ this.checkBoxSelectionModule.checkAllParent = null;
24881
+ }
24877
24882
  this.notify('selectAll', {});
24878
24883
  this.checkSelectAll();
24879
24884
  }
@@ -24884,7 +24889,10 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
24884
24889
  }
24885
24890
  for (index; index < liCollLen; index++) {
24886
24891
  if (liColl[index].classList.contains('e-list-item')) {
24887
- liColl[index].removeChild(liColl[index].getElementsByClassName('e-checkbox-wrapper')[0]);
24892
+ var checkboxElem = liColl[index].getElementsByClassName('e-checkbox-wrapper')[0];
24893
+ if (checkboxElem) {
24894
+ liColl[index].removeChild(checkboxElem);
24895
+ }
24888
24896
  }
24889
24897
  if (liColl[index].hasAttribute('aria-selected')) {
24890
24898
  liColl[index].removeAttribute('aria-selected');
@@ -25073,7 +25081,13 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
25073
25081
  this.showSelectAll = showSelectAll;
25074
25082
  if (this.showSelectAll) {
25075
25083
  var l10nSel = new L10n(this.getModuleName(), { selectAllText: 'Select All', unSelectAllText: 'Unselect All' }, this.locale);
25076
- this.checkBoxSelectionModule.checkAllParent = null;
25084
+ var selectAllElem = this.list.querySelector('.e-selectall-parent');
25085
+ if (this.checkBoxSelectionModule) {
25086
+ this.checkBoxSelectionModule.checkAllParent = null;
25087
+ }
25088
+ if (selectAllElem) {
25089
+ detach(selectAllElem);
25090
+ }
25077
25091
  this.showSelectAll = true;
25078
25092
  this.selectAllText = l10nSel.getConstant('selectAllText');
25079
25093
  this.unSelectAllText = l10nSel.getConstant('selectAllText');