@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.
- package/CHANGELOG.md +4 -0
- package/{README.md → ReadMe.md} +1 -1
- package/dist/ej2-dropdowns.min.js +1 -10
- package/dist/ej2-dropdowns.umd.min.js +1 -10
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +10 -10
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +10 -10
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +1 -10
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/package.json +79 -79
- package/src/auto-complete/auto-complete-model.d.ts +10 -10
- package/src/auto-complete/auto-complete.d.ts +12 -12
- package/src/auto-complete/auto-complete.js +2 -2
- package/src/combo-box/combo-box-model.d.ts +17 -17
- package/src/combo-box/combo-box.d.ts +27 -27
- package/src/combo-box/combo-box.js +10 -10
- package/src/drop-down-base/drop-down-base-model.d.ts +13 -13
- package/src/drop-down-base/drop-down-base.d.ts +15 -15
- package/src/drop-down-base/drop-down-base.js +1 -1
- package/src/drop-down-list/drop-down-list-model.d.ts +3 -3
- package/src/drop-down-list/drop-down-list.d.ts +4 -5
- package/src/drop-down-list/drop-down-list.js +1 -10
- package/src/drop-down-tree/drop-down-tree-model.d.ts +1 -1
- package/src/drop-down-tree/drop-down-tree.d.ts +1 -1
- package/src/list-box/list-box-model.d.ts +2 -2
- package/src/list-box/list-box.d.ts +2 -2
- package/src/multi-select/multi-select.js +10 -1
- package/styles/auto-complete/material3-dark.scss +1 -1
- package/styles/auto-complete/material3.scss +1 -1
- package/styles/combo-box/material3-dark.scss +1 -1
- package/styles/combo-box/material3.scss +1 -1
- package/styles/drop-down-base/material3-dark.scss +1 -1
- package/styles/drop-down-base/material3.scss +1 -1
- package/styles/drop-down-list/material3-dark.scss +1 -1
- package/styles/drop-down-list/material3.scss +1 -1
- package/styles/drop-down-tree/material3-dark.scss +1 -1
- package/styles/drop-down-tree/material3.scss +1 -1
- package/styles/list-box/material3-dark.scss +1 -1
- package/styles/list-box/material3.scss +1 -1
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.scss +1 -1
- package/styles/mention/material3-dark.scss +1 -1
- package/styles/mention/material3.scss +1 -1
- package/styles/multi-select/material3-dark.scss +1 -1
- 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) {
|