@syncfusion/ej2-dropdowns 35.1.41 → 35.1.43
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/dist/ej2-dropdowns.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +17 -4
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +17 -4
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +2 -2
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +5 -5
- package/src/common/virtual-scroll.js +3 -1
- package/src/multi-select/multi-select.js +14 -3
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 35.1.
|
|
3
|
+
* version : 35.1.43
|
|
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.
|
|
3
|
+
"version": "35.1.43",
|
|
4
4
|
"description": "Essential JS 2 DropDown Components",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@syncfusion/ej2-base": "~35.1.37",
|
|
12
12
|
"@syncfusion/ej2-data": "~35.1.37",
|
|
13
|
-
"@syncfusion/ej2-inputs": "~35.1.
|
|
14
|
-
"@syncfusion/ej2-lists": "~35.1.
|
|
15
|
-
"@syncfusion/ej2-navigations": "~35.1.
|
|
13
|
+
"@syncfusion/ej2-inputs": "~35.1.43",
|
|
14
|
+
"@syncfusion/ej2-lists": "~35.1.43",
|
|
15
|
+
"@syncfusion/ej2-navigations": "~35.1.43",
|
|
16
16
|
"@syncfusion/ej2-notifications": "~35.1.37",
|
|
17
|
-
"@syncfusion/ej2-popups": "~35.1.
|
|
17
|
+
"@syncfusion/ej2-popups": "~35.1.42"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {},
|
|
20
20
|
"keywords": [
|
|
@@ -201,7 +201,9 @@ var VirtualScroll = /** @class */ (function () {
|
|
|
201
201
|
this.parent.list.querySelector('.e-virtual-ddl-content').removeChild(oldUlElement);
|
|
202
202
|
}
|
|
203
203
|
this.parent.updateVirtualReOrderList(true);
|
|
204
|
-
|
|
204
|
+
var totalCount = this.parent.dataSource instanceof DataManager
|
|
205
|
+
? this.parent.totalItemCount : this.parent.dataSource.length;
|
|
206
|
+
if (this.parent.value.length < this.parent.itemCount && this.parent.value.length !== totalCount) {
|
|
205
207
|
var oldUlElement_1 = this.parent.list.querySelector('.e-list-parent' + ':not(.e-reorder)');
|
|
206
208
|
if (oldUlElement_1) {
|
|
207
209
|
this.parent.list.querySelector('.e-virtual-ddl-content').removeChild(oldUlElement_1);
|
|
@@ -1689,8 +1689,16 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
1689
1689
|
}
|
|
1690
1690
|
};
|
|
1691
1691
|
MultiSelect.prototype.updateAriaActiveDescendant = function () {
|
|
1692
|
-
|
|
1693
|
-
|
|
1692
|
+
var activeItem = !isNullOrUndefined(this.ulElement)
|
|
1693
|
+
? this.ulElement.getElementsByClassName('e-item-focus')[0]
|
|
1694
|
+
: null;
|
|
1695
|
+
if (!isNullOrUndefined(activeItem) && this.isPopupOpen()) {
|
|
1696
|
+
attributes(this.inputElement, {
|
|
1697
|
+
'aria-activedescendant': activeItem.id
|
|
1698
|
+
});
|
|
1699
|
+
}
|
|
1700
|
+
else if (!isNullOrUndefined(this.inputElement)) {
|
|
1701
|
+
this.inputElement.removeAttribute('aria-activedescendant');
|
|
1694
1702
|
}
|
|
1695
1703
|
};
|
|
1696
1704
|
MultiSelect.prototype.pageUpSelection = function (steps, isVirtualKeyAction) {
|
|
@@ -3957,6 +3965,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3957
3965
|
}
|
|
3958
3966
|
});
|
|
3959
3967
|
this.updatePopupHeightOnFilter();
|
|
3968
|
+
this.updateAriaActiveDescendant();
|
|
3960
3969
|
};
|
|
3961
3970
|
MultiSelect.prototype.search = function (e) {
|
|
3962
3971
|
this.preventSetCurrentData = false;
|
|
@@ -3993,7 +4002,9 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3993
4002
|
this.dataUpdater(this.dataSource, query, this.fields);
|
|
3994
4003
|
}
|
|
3995
4004
|
else {
|
|
3996
|
-
this.
|
|
4005
|
+
var hasDataSource = this.dataSource instanceof DataManager ||
|
|
4006
|
+
(Array.isArray(this.dataSource) && this.dataSource.length > 0);
|
|
4007
|
+
this.dataUpdater(hasDataSource ? this.mainData : this.dataSource, query, this.fields);
|
|
3997
4008
|
}
|
|
3998
4009
|
this.UpdateSkeleton();
|
|
3999
4010
|
}
|