@syncfusion/ej2-dropdowns 25.2.6 → 25.2.7-130084

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 (48) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/{README.md → ReadMe.md} +1 -1
  3. package/dist/ej2-dropdowns.min.js +1 -10
  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 +10 -10
  7. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  8. package/dist/es6/ej2-dropdowns.es5.js +10 -10
  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/package.json +79 -79
  14. package/src/auto-complete/auto-complete-model.d.ts +10 -10
  15. package/src/auto-complete/auto-complete.d.ts +12 -12
  16. package/src/auto-complete/auto-complete.js +2 -2
  17. package/src/combo-box/combo-box-model.d.ts +17 -17
  18. package/src/combo-box/combo-box.d.ts +27 -27
  19. package/src/combo-box/combo-box.js +10 -10
  20. package/src/drop-down-base/drop-down-base-model.d.ts +13 -13
  21. package/src/drop-down-base/drop-down-base.d.ts +15 -15
  22. package/src/drop-down-base/drop-down-base.js +1 -1
  23. package/src/drop-down-list/drop-down-list-model.d.ts +3 -3
  24. package/src/drop-down-list/drop-down-list.d.ts +4 -5
  25. package/src/drop-down-list/drop-down-list.js +1 -10
  26. package/src/drop-down-tree/drop-down-tree-model.d.ts +1 -1
  27. package/src/drop-down-tree/drop-down-tree.d.ts +1 -1
  28. package/src/list-box/list-box-model.d.ts +2 -2
  29. package/src/list-box/list-box.d.ts +2 -2
  30. package/src/multi-select/multi-select.js +10 -1
  31. package/styles/auto-complete/material3-dark.scss +1 -1
  32. package/styles/auto-complete/material3.scss +1 -1
  33. package/styles/combo-box/material3-dark.scss +1 -1
  34. package/styles/combo-box/material3.scss +1 -1
  35. package/styles/drop-down-base/material3-dark.scss +1 -1
  36. package/styles/drop-down-base/material3.scss +1 -1
  37. package/styles/drop-down-list/material3-dark.scss +1 -1
  38. package/styles/drop-down-list/material3.scss +1 -1
  39. package/styles/drop-down-tree/material3-dark.scss +1 -1
  40. package/styles/drop-down-tree/material3.scss +1 -1
  41. package/styles/list-box/material3-dark.scss +1 -1
  42. package/styles/list-box/material3.scss +1 -1
  43. package/styles/material3-dark.scss +1 -1
  44. package/styles/material3.scss +1 -1
  45. package/styles/mention/material3-dark.scss +1 -1
  46. package/styles/mention/material3.scss +1 -1
  47. package/styles/multi-select/material3-dark.scss +1 -1
  48. package/styles/multi-select/material3.scss +1 -1
@@ -2734,12 +2734,6 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
2734
2734
  _this.IsScrollerAtEnd = function () {
2735
2735
  return this.list && this.list.scrollTop + this.list.clientHeight >= this.list.scrollHeight;
2736
2736
  };
2737
- _this.removeAllChildren = function (element) {
2738
- while (element.children[0]) {
2739
- this.removeAllChildren(element.children[0]);
2740
- element.removeChild(element.children[0]);
2741
- }
2742
- };
2743
2737
  return _this;
2744
2738
  }
2745
2739
  /**
@@ -6478,9 +6472,6 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
6478
6472
  delete this.hiddenElement;
6479
6473
  this.filterInput = null;
6480
6474
  this.keyboardModule = null;
6481
- if (!isNullOrUndefined(this.ulElement)) {
6482
- this.removeAllChildren(this.ulElement);
6483
- }
6484
6475
  this.ulElement = null;
6485
6476
  this.list = null;
6486
6477
  this.clearIconElement = null;
@@ -12628,6 +12619,9 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
12628
12619
  this.totalItemCount = this.enableVirtualization && this.dataSource instanceof DataManager ? tempCount : this.totalItemCount;
12629
12620
  }
12630
12621
  else {
12622
+ if (this.dataSource instanceof DataManager && this.allowCustomValue && this.allowFiltering) {
12623
+ this.remoteCustomValue = false;
12624
+ }
12631
12625
  var tempData = JSON.parse(JSON.stringify(this.listData));
12632
12626
  tempData.splice(0, 0, dataItem_1);
12633
12627
  this.resetList(tempData, field, query);
@@ -14773,6 +14767,9 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
14773
14767
  if (!eventArgs.cancel) {
14774
14768
  if (!_this.isFiltered && !eventArgs.preventDefaultAction) {
14775
14769
  _this.filterAction = true;
14770
+ if (_this.dataSource instanceof DataManager && _this.allowCustomValue) {
14771
+ _this.isCustomRendered = false;
14772
+ }
14776
14773
  _this.dataUpdater(_this.dataSource, null, _this.fields);
14777
14774
  }
14778
14775
  }
@@ -16841,6 +16838,9 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
16841
16838
  if (this.mode === 'Default' || this.mode === 'Box') {
16842
16839
  this.inputElement.setAttribute('aria-describedby', this.chipCollectionWrapper.id);
16843
16840
  }
16841
+ if (!isNullOrUndefined(this.inputElement)) {
16842
+ attributes(this.inputElement, { 'aria-expanded': 'false', 'aria-label': this.getModuleName() });
16843
+ }
16844
16844
  if (this.element.tagName !== this.getNgDirective()) {
16845
16845
  this.element.style.display = 'none';
16846
16846
  }
@@ -17111,7 +17111,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
17111
17111
  this.ulElement = null;
17112
17112
  this.mainListCollection = null;
17113
17113
  _super.prototype.destroy.call(this);
17114
- var temp = ['readonly', 'aria-disabled', 'placeholder'];
17114
+ var temp = ['readonly', 'aria-disabled', 'placeholder', 'aria-label', 'aria-expanded'];
17115
17115
  var length = temp.length;
17116
17116
  if (!isNullOrUndefined(this.inputElement)) {
17117
17117
  while (length > 0) {