@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 35.1.37
3
+ * version : 35.1.39
4
4
  * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-dropdowns",
3
- "version": "35.1.37",
3
+ "version": "35.1.39",
4
4
  "description": "Essential JS 2 DropDown Components",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -12,9 +12,9 @@
12
12
  "@syncfusion/ej2-data": "~35.1.37",
13
13
  "@syncfusion/ej2-inputs": "~35.1.37",
14
14
  "@syncfusion/ej2-lists": "~35.1.37",
15
- "@syncfusion/ej2-navigations": "~35.1.37",
15
+ "@syncfusion/ej2-navigations": "~35.1.39",
16
16
  "@syncfusion/ej2-notifications": "~35.1.37",
17
- "@syncfusion/ej2-popups": "~35.1.37"
17
+ "@syncfusion/ej2-popups": "~35.1.39"
18
18
  },
19
19
  "devDependencies": {},
20
20
  "keywords": [
@@ -192,7 +192,9 @@ var ListBox = /** @class */ (function (_super) {
192
192
  this.selectAllText = l10nSelect.getConstant('selectAllText');
193
193
  this.unSelectAllText = l10nSelect.getConstant('unSelectAllText');
194
194
  this.popupWrapper = this.list;
195
- this.checkBoxSelectionModule.checkAllParent = null;
195
+ if (this.checkBoxSelectionModule) {
196
+ this.checkBoxSelectionModule.checkAllParent = null;
197
+ }
196
198
  if (this.filterParent) {
197
199
  var parentNode = this.filterParent.parentNode;
198
200
  if (parentNode) {
@@ -2425,7 +2427,9 @@ var ListBox = /** @class */ (function (_super) {
2425
2427
  this.selectAllText = l10nShow.getConstant('selectAllText');
2426
2428
  this.unSelectAllText = l10nShow.getConstant('unSelectAllText');
2427
2429
  this.popupWrapper = this.list;
2428
- this.checkBoxSelectionModule.checkAllParent = null;
2430
+ if (this.checkBoxSelectionModule) {
2431
+ this.checkBoxSelectionModule.checkAllParent = null;
2432
+ }
2429
2433
  this.notify('selectAll', {});
2430
2434
  this.checkSelectAll();
2431
2435
  }
@@ -2436,7 +2440,10 @@ var ListBox = /** @class */ (function (_super) {
2436
2440
  }
2437
2441
  for (index; index < liCollLen; index++) {
2438
2442
  if (liColl[index].classList.contains('e-list-item')) {
2439
- liColl[index].removeChild(liColl[index].getElementsByClassName('e-checkbox-wrapper')[0]);
2443
+ var checkboxElem = liColl[index].getElementsByClassName('e-checkbox-wrapper')[0];
2444
+ if (checkboxElem) {
2445
+ liColl[index].removeChild(checkboxElem);
2446
+ }
2440
2447
  }
2441
2448
  if (liColl[index].hasAttribute('aria-selected')) {
2442
2449
  liColl[index].removeAttribute('aria-selected');
@@ -2625,7 +2632,13 @@ var ListBox = /** @class */ (function (_super) {
2625
2632
  this.showSelectAll = showSelectAll;
2626
2633
  if (this.showSelectAll) {
2627
2634
  var l10nSel = new L10n(this.getModuleName(), { selectAllText: 'Select All', unSelectAllText: 'Unselect All' }, this.locale);
2628
- this.checkBoxSelectionModule.checkAllParent = null;
2635
+ var selectAllElem = this.list.querySelector('.e-selectall-parent');
2636
+ if (this.checkBoxSelectionModule) {
2637
+ this.checkBoxSelectionModule.checkAllParent = null;
2638
+ }
2639
+ if (selectAllElem) {
2640
+ detach(selectAllElem);
2641
+ }
2629
2642
  this.showSelectAll = true;
2630
2643
  this.selectAllText = l10nSel.getConstant('selectAllText');
2631
2644
  this.unSelectAllText = l10nSel.getConstant('selectAllText');
@@ -6274,6 +6274,7 @@ var MultiSelect = /** @class */ (function (_super) {
6274
6274
  this.list.style.visibility = '';
6275
6275
  }
6276
6276
  }
6277
+ this.updateAriaActiveDescendant();
6277
6278
  break;
6278
6279
  case 'htmlAttributes':
6279
6280
  this.updateHTMLAttribute();