@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
@@ -2632,12 +2632,6 @@ let DropDownList = class DropDownList extends DropDownBase {
2632
2632
  this.IsScrollerAtEnd = function () {
2633
2633
  return this.list && this.list.scrollTop + this.list.clientHeight >= this.list.scrollHeight;
2634
2634
  };
2635
- this.removeAllChildren = function (element) {
2636
- while (element.children[0]) {
2637
- this.removeAllChildren(element.children[0]);
2638
- element.removeChild(element.children[0]);
2639
- }
2640
- };
2641
2635
  }
2642
2636
  /**
2643
2637
  * Initialize the event handler.
@@ -6342,9 +6336,6 @@ let DropDownList = class DropDownList extends DropDownBase {
6342
6336
  delete this.hiddenElement;
6343
6337
  this.filterInput = null;
6344
6338
  this.keyboardModule = null;
6345
- if (!isNullOrUndefined(this.ulElement)) {
6346
- this.removeAllChildren(this.ulElement);
6347
- }
6348
6339
  this.ulElement = null;
6349
6340
  this.list = null;
6350
6341
  this.clearIconElement = null;
@@ -12393,6 +12384,9 @@ let MultiSelect = class MultiSelect extends DropDownBase {
12393
12384
  this.totalItemCount = this.enableVirtualization && this.dataSource instanceof DataManager ? tempCount : this.totalItemCount;
12394
12385
  }
12395
12386
  else {
12387
+ if (this.dataSource instanceof DataManager && this.allowCustomValue && this.allowFiltering) {
12388
+ this.remoteCustomValue = false;
12389
+ }
12396
12390
  const tempData = JSON.parse(JSON.stringify(this.listData));
12397
12391
  tempData.splice(0, 0, dataItem);
12398
12392
  this.resetList(tempData, field, query);
@@ -14522,6 +14516,9 @@ let MultiSelect = class MultiSelect extends DropDownBase {
14522
14516
  if (!eventArgs.cancel) {
14523
14517
  if (!this.isFiltered && !eventArgs.preventDefaultAction) {
14524
14518
  this.filterAction = true;
14519
+ if (this.dataSource instanceof DataManager && this.allowCustomValue) {
14520
+ this.isCustomRendered = false;
14521
+ }
14525
14522
  this.dataUpdater(this.dataSource, null, this.fields);
14526
14523
  }
14527
14524
  }
@@ -16578,6 +16575,9 @@ let MultiSelect = class MultiSelect extends DropDownBase {
16578
16575
  if (this.mode === 'Default' || this.mode === 'Box') {
16579
16576
  this.inputElement.setAttribute('aria-describedby', this.chipCollectionWrapper.id);
16580
16577
  }
16578
+ if (!isNullOrUndefined(this.inputElement)) {
16579
+ attributes(this.inputElement, { 'aria-expanded': 'false', 'aria-label': this.getModuleName() });
16580
+ }
16581
16581
  if (this.element.tagName !== this.getNgDirective()) {
16582
16582
  this.element.style.display = 'none';
16583
16583
  }
@@ -16846,7 +16846,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
16846
16846
  this.ulElement = null;
16847
16847
  this.mainListCollection = null;
16848
16848
  super.destroy();
16849
- const temp = ['readonly', 'aria-disabled', 'placeholder'];
16849
+ const temp = ['readonly', 'aria-disabled', 'placeholder', 'aria-label', 'aria-expanded'];
16850
16850
  let length = temp.length;
16851
16851
  if (!isNullOrUndefined(this.inputElement)) {
16852
16852
  while (length > 0) {