@syncfusion/ej2-dropdowns 28.1.37 → 28.1.38

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 : 28.1.37
3
+ * version : 28.1.38
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-dropdowns@*",
3
- "_id": "@syncfusion/ej2-dropdowns@28.1.35",
3
+ "_id": "@syncfusion/ej2-dropdowns@28.1.37",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-bL308Ch9zV+ucVhTJM3P6epXzfnZBPsS/SD+1yysjb3XTMqnd04itZ2ujOdGMkjokSld5qT1K1KKk72JTysDsQ==",
5
+ "_integrity": "sha512-YBUYysD/7B2KQkM3EFVWMJW0Wlnc1qsEtsjZwWGung4kILvAZXjeI5IDuAkNp+L1cMn+rcUf+5stmZW2U4dHJA==",
6
6
  "_location": "/@syncfusion/ej2-dropdowns",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -18,22 +18,26 @@
18
18
  },
19
19
  "_requiredBy": [
20
20
  "/",
21
+ "/@syncfusion/ej2",
21
22
  "/@syncfusion/ej2-angular-dropdowns",
22
23
  "/@syncfusion/ej2-documenteditor",
23
24
  "/@syncfusion/ej2-gantt",
24
25
  "/@syncfusion/ej2-grids",
26
+ "/@syncfusion/ej2-image-editor",
25
27
  "/@syncfusion/ej2-inplace-editor",
26
28
  "/@syncfusion/ej2-kanban",
27
29
  "/@syncfusion/ej2-pdfviewer",
28
30
  "/@syncfusion/ej2-pivotview",
31
+ "/@syncfusion/ej2-querybuilder",
29
32
  "/@syncfusion/ej2-react-dropdowns",
33
+ "/@syncfusion/ej2-ribbon",
30
34
  "/@syncfusion/ej2-richtexteditor",
31
35
  "/@syncfusion/ej2-schedule",
32
36
  "/@syncfusion/ej2-spreadsheet",
33
37
  "/@syncfusion/ej2-vue-dropdowns"
34
38
  ],
35
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-28.1.35.tgz",
36
- "_shasum": "f81e5c32210ced7ff8fc68210e8fce81054ec4c4",
39
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-28.1.37.tgz",
40
+ "_shasum": "071a9760d7254c4da9114cd668922351f4b6c64a",
37
41
  "_spec": "@syncfusion/ej2-dropdowns@*",
38
42
  "_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
39
43
  "author": {
@@ -47,7 +51,7 @@
47
51
  "@syncfusion/ej2-lists": "~28.1.37",
48
52
  "@syncfusion/ej2-navigations": "~28.1.37",
49
53
  "@syncfusion/ej2-notifications": "~28.1.33",
50
- "@syncfusion/ej2-popups": "~28.1.33"
54
+ "@syncfusion/ej2-popups": "~28.1.38"
51
55
  },
52
56
  "deprecated": false,
53
57
  "description": "Essential JS 2 DropDown Components",
@@ -72,7 +76,7 @@
72
76
  "module": "./index.js",
73
77
  "name": "@syncfusion/ej2-dropdowns",
74
78
  "typings": "index.d.ts",
75
- "version": "28.1.37",
79
+ "version": "28.1.38",
76
80
  "sideEffects": false,
77
81
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
78
82
  }
@@ -1025,7 +1025,17 @@ var DropDownBase = /** @class */ (function (_super) {
1025
1025
  var liCollections = listElement.querySelectorAll('.' + dropDownBaseClasses.li);
1026
1026
  for (var index = 0; index < liCollections.length; index++) {
1027
1027
  if (JSON.parse(JSON.stringify(this.listData[index]))[this.fields.disabled]) {
1028
- this.disableListItem(liCollections[index]);
1028
+ if (!isNullOrUndefined(this.fields.groupBy)) {
1029
+ var item = this.listData[index];
1030
+ var value = getValue((this.fields.value ? this.fields.value : 'value'), item);
1031
+ var li = listElement.querySelector('li[data-value="' + value + '"]');
1032
+ if (!isNullOrUndefined(li)) {
1033
+ this.disableListItem(li);
1034
+ }
1035
+ }
1036
+ else {
1037
+ this.disableListItem(liCollections[index]);
1038
+ }
1029
1039
  }
1030
1040
  }
1031
1041
  }
@@ -2763,7 +2763,7 @@ var DropDownList = /** @class */ (function (_super) {
2763
2763
  _this.destroyPopup();
2764
2764
  }
2765
2765
  });
2766
- if (_this.allowResize) {
2766
+ if (_this.allowResize && (_this.getModuleName() !== 'dropdownlist' || !(Browser.isDevice && _this.isDeviceFullScreen && _this.allowFiltering))) {
2767
2767
  var resizePaddingBottom = 16;
2768
2768
  // Create the resizer div
2769
2769
  _this.resizer = _this.createElement('div', {
@@ -499,6 +499,9 @@ var DropDownTree = /** @class */ (function (_super) {
499
499
  }
500
500
  _this.treeObj.fields = _this.getTreeFields(fields);
501
501
  _this.treeObj.dataBind();
502
+ if (_this.popupObj) {
503
+ _this.popupObj.refreshPosition();
504
+ }
502
505
  if (_this.hasTemplate && _this.portals && _this.treeObj.portals) {
503
506
  for (var i = 0; i < _this.treeObj.portals.length; i++) {
504
507
  if (_this.portals.indexOf(_this.treeObj.portals[i]) === -1) {