@syncfusion/ej2-dropdowns 28.1.33 → 28.1.35

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 (36) hide show
  1. package/dist/ej2-dropdowns.min.js +2 -2
  2. package/dist/ej2-dropdowns.umd.min.js +2 -2
  3. package/dist/ej2-dropdowns.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-dropdowns.es2015.js +17 -4
  5. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  6. package/dist/es6/ej2-dropdowns.es5.js +17 -4
  7. package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
  8. package/dist/global/ej2-dropdowns.min.js +2 -2
  9. package/dist/global/ej2-dropdowns.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +6 -6
  12. package/src/combo-box/combo-box.js +1 -0
  13. package/src/drop-down-list/drop-down-list.d.ts +1 -0
  14. package/src/drop-down-list/drop-down-list.js +12 -1
  15. package/src/drop-down-tree/drop-down-tree.d.ts +1 -0
  16. package/src/drop-down-tree/drop-down-tree.js +4 -3
  17. package/styles/bootstrap5-dark-lite.css +1 -0
  18. package/styles/bootstrap5-dark.css +1 -0
  19. package/styles/bootstrap5-lite.css +1 -0
  20. package/styles/bootstrap5.3-lite.css +1 -0
  21. package/styles/bootstrap5.3.css +1 -0
  22. package/styles/bootstrap5.css +1 -0
  23. package/styles/drop-down-list/_layout.scss +1 -1
  24. package/styles/drop-down-list/tailwind3.css +1 -0
  25. package/styles/fluent-dark-lite.css +1 -0
  26. package/styles/fluent-dark.css +1 -0
  27. package/styles/fluent-lite.css +1 -0
  28. package/styles/fluent.css +1 -0
  29. package/styles/multi-select/_layout.scss +1 -3
  30. package/styles/multi-select/bootstrap5-dark.css +1 -0
  31. package/styles/multi-select/bootstrap5.3.css +1 -0
  32. package/styles/multi-select/bootstrap5.css +1 -0
  33. package/styles/multi-select/fluent-dark.css +1 -0
  34. package/styles/multi-select/fluent.css +1 -0
  35. package/styles/tailwind3-lite.css +1 -0
  36. package/styles/tailwind3.css +1 -0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 28.1.33
3
+ * version : 28.1.35
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@18.66.23",
3
+ "_id": "@syncfusion/ej2-dropdowns@28.1.33",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-jAMyUmtAEAvQCfxHM/xreP16YtFzyXq5WLDXNo7lm9OShq+TNU3ATXtJdWqG321zdB5Sjmf8PUQ41NZjPfJq9w==",
5
+ "_integrity": "sha512-YF/N6gzak5p8mSlO0jATbD2F7zvRtXy7f1FSAArLfDsGfphyb05cGkXSSDltP75YrGfnF5vKgqBBHH+7ALIczQ==",
6
6
  "_location": "/@syncfusion/ej2-dropdowns",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -36,8 +36,8 @@
36
36
  "/@syncfusion/ej2-spreadsheet",
37
37
  "/@syncfusion/ej2-vue-dropdowns"
38
38
  ],
39
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-18.66.23.tgz",
40
- "_shasum": "caae466fa776dcfc31bf6b912adb3791b40e4f00",
39
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-28.1.33.tgz",
40
+ "_shasum": "69ac2cb1f2709d957d0821455f7e6730e18f1d5f",
41
41
  "_spec": "@syncfusion/ej2-dropdowns@*",
42
42
  "_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
43
43
  "author": {
@@ -49,7 +49,7 @@
49
49
  "@syncfusion/ej2-data": "~28.1.33",
50
50
  "@syncfusion/ej2-inputs": "~28.1.33",
51
51
  "@syncfusion/ej2-lists": "~28.1.33",
52
- "@syncfusion/ej2-navigations": "~28.1.33",
52
+ "@syncfusion/ej2-navigations": "~28.1.35",
53
53
  "@syncfusion/ej2-notifications": "~28.1.33",
54
54
  "@syncfusion/ej2-popups": "~28.1.33"
55
55
  },
@@ -76,7 +76,7 @@
76
76
  "module": "./index.js",
77
77
  "name": "@syncfusion/ej2-dropdowns",
78
78
  "typings": "index.d.ts",
79
- "version": "28.1.33",
79
+ "version": "28.1.35",
80
80
  "sideEffects": false,
81
81
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
82
82
  }
@@ -553,6 +553,7 @@ var ComboBox = /** @class */ (function (_super) {
553
553
  _super.prototype.clearAll.call(this, e);
554
554
  }
555
555
  if (this.isFiltering() && !isNullOrUndefined(e) && e.target === this.inputWrapper.clearButton) {
556
+ this.typedString = this.filterInput.value;
556
557
  this.searchLists(e);
557
558
  }
558
559
  };
@@ -657,6 +657,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
657
657
  * @returns {void}
658
658
  */
659
659
  showPopup(e?: MouseEvent | KeyboardEventArgs | TouchEvent): void;
660
+ private executeCloneElements;
660
661
  private invokeRenderPopup;
661
662
  protected renderHightSearch(): void;
662
663
  /**
@@ -1916,6 +1916,9 @@ var DropDownList = /** @class */ (function (_super) {
1916
1916
  if (this.isFiltering() && this.getModuleName() === 'combobox' && isNullOrUndefined(this.list)) {
1917
1917
  this.getInitialData = true;
1918
1918
  this.renderList();
1919
+ if (!this.isSecondClick && !this.isDropDownClick) {
1920
+ this.executeCloneElements();
1921
+ }
1919
1922
  }
1920
1923
  this.typedString = this.filterInput.value;
1921
1924
  this.preventAutoFill = false;
@@ -2175,6 +2178,9 @@ var DropDownList = /** @class */ (function (_super) {
2175
2178
  this.getFilteringSkeletonCount();
2176
2179
  }
2177
2180
  this.renderReactTemplates();
2181
+ if (this.filterInput && this.filterInput.value === '' && this.getModuleName() === 'combobox') {
2182
+ this.executeCloneElements();
2183
+ }
2178
2184
  }
2179
2185
  };
2180
2186
  DropDownList.prototype.setSearchBox = function (popupElement) {
@@ -4067,10 +4073,15 @@ var DropDownList = /** @class */ (function (_super) {
4067
4073
  isOpen: true
4068
4074
  });
4069
4075
  }
4076
+ if (!this.isSecondClick && !this.isDropDownClick) {
4077
+ this.executeCloneElements();
4078
+ }
4079
+ };
4080
+ DropDownList.prototype.executeCloneElements = function () {
4070
4081
  // eslint-disable-next-line @typescript-eslint/no-this-alias
4071
4082
  var proxy = this;
4072
4083
  var duration = (this.element.tagName === this.getNgDirective() && this.itemTemplate) ? 500 : 100;
4073
- if (!this.isSecondClick && this.isReact && !this.isDropDownClick && this.isFiltering() && this.itemTemplate != null) {
4084
+ if (this.isReact && this.isFiltering() && this.itemTemplate != null) {
4074
4085
  setTimeout(function () {
4075
4086
  proxy.cloneElements();
4076
4087
  proxy.isSecondClick = true;
@@ -332,6 +332,7 @@ export declare class DropDownTree extends Component<HTMLElement> implements INot
332
332
  private nestedTableUpdate;
333
333
  private clearIconWidth;
334
334
  private isClicked;
335
+ private documentClickContext;
335
336
  private isCheckAllCalled;
336
337
  private isFromFilterChange;
337
338
  private valueTemplateContainer;
@@ -171,6 +171,7 @@ var DropDownTree = /** @class */ (function (_super) {
171
171
  _this.selectedData = [];
172
172
  _this.filterDelayTime = 300;
173
173
  _this.isClicked = false;
174
+ _this.documentClickContext = _this.onDocumentClick.bind(_this);
174
175
  // Specifies if the checkAll method has been called
175
176
  _this.isCheckAllCalled = false;
176
177
  _this.isFromFilterChange = false;
@@ -690,7 +691,7 @@ var DropDownTree = /** @class */ (function (_super) {
690
691
  if (this.showSelectAll && this.checkAllParent) {
691
692
  EventHandler.remove(this.checkAllParent, 'mouseup', this.clickHandler);
692
693
  }
693
- EventHandler.remove(document, 'mousedown', this.onDocumentClick);
694
+ document.removeEventListener('mousedown', this.documentClickContext);
694
695
  };
695
696
  /* Trigger when the dropdown is clicked */
696
697
  DropDownTree.prototype.dropDownClick = function (e) {
@@ -1735,7 +1736,7 @@ var DropDownTree = /** @class */ (function (_super) {
1735
1736
  if (_this.treeObj.checkedNodes.length > 0 && !_this.isFilterRestore) {
1736
1737
  var nodes = _this.treeObj.element.querySelectorAll('li');
1737
1738
  var checkedNodes = _this.treeObj.element.querySelectorAll('li[aria-checked=true]');
1738
- if ((checkedNodes.length === nodes.length || _this.checkSelectAll) && _this.checkBoxElement) {
1739
+ if ((checkedNodes.length === nodes.length) && _this.checkBoxElement) {
1739
1740
  var wrap = closest(_this.checkBoxElement, '.' + CHECKBOXWRAP);
1740
1741
  _this.changeState(wrap, 'check');
1741
1742
  _this.checkSelectAll = false;
@@ -1798,7 +1799,7 @@ var DropDownTree = /** @class */ (function (_super) {
1798
1799
  _this.isPopupOpen = false;
1799
1800
  },
1800
1801
  open: function () {
1801
- EventHandler.add(document, 'mousedown', _this.onDocumentClick, _this);
1802
+ document.addEventListener('mousedown', _this.documentClickContext);
1802
1803
  _this.isPopupOpen = true;
1803
1804
  },
1804
1805
  targetExitViewport: function () {
@@ -1445,6 +1445,7 @@ ejs-dropdownlist {
1445
1445
  max-width: 100%;
1446
1446
  padding-left: 8px;
1447
1447
  padding-right: 6px;
1448
+ vertical-align: middle;
1448
1449
  }
1449
1450
 
1450
1451
  .e-multi-select-list-wrapper .e-hide-listitem,
@@ -1754,6 +1754,7 @@ ejs-dropdownlist {
1754
1754
  max-width: 100%;
1755
1755
  padding-left: 8px;
1756
1756
  padding-right: 6px;
1757
+ vertical-align: middle;
1757
1758
  }
1758
1759
 
1759
1760
  .e-multi-select-list-wrapper .e-hide-listitem,
@@ -1445,6 +1445,7 @@ ejs-dropdownlist {
1445
1445
  max-width: 100%;
1446
1446
  padding-left: 8px;
1447
1447
  padding-right: 6px;
1448
+ vertical-align: middle;
1448
1449
  }
1449
1450
 
1450
1451
  .e-multi-select-list-wrapper .e-hide-listitem,
@@ -1435,6 +1435,7 @@ ejs-dropdownlist {
1435
1435
  max-width: 100%;
1436
1436
  padding-left: 8px;
1437
1437
  padding-right: 6px;
1438
+ vertical-align: middle;
1438
1439
  }
1439
1440
 
1440
1441
  .e-multi-select-list-wrapper .e-hide-listitem,
@@ -1686,6 +1686,7 @@ ejs-dropdownlist {
1686
1686
  max-width: 100%;
1687
1687
  padding-left: 8px;
1688
1688
  padding-right: 6px;
1689
+ vertical-align: middle;
1689
1690
  }
1690
1691
 
1691
1692
  .e-multi-select-list-wrapper .e-hide-listitem,
@@ -1754,6 +1754,7 @@ ejs-dropdownlist {
1754
1754
  max-width: 100%;
1755
1755
  padding-left: 8px;
1756
1756
  padding-right: 6px;
1757
+ vertical-align: middle;
1757
1758
  }
1758
1759
 
1759
1760
  .e-multi-select-list-wrapper .e-hide-listitem,
@@ -194,7 +194,7 @@
194
194
  .e-ddl.e-popup.e-popup-open .e-list-item.e-disabled {
195
195
  opacity: .7;
196
196
  pointer-events: none;
197
- @if $skin-name == 'bootstrap5.3' or $skin-name == 'fluent2' or $skin-name == 'tailwind4' {
197
+ @if $skin-name == 'bootstrap5.3' or $skin-name == 'fluent2' or $skin-name == 'tailwind3' {
198
198
  color: $ddl-list-disable-item-color;
199
199
  }
200
200
  }
@@ -347,6 +347,7 @@
347
347
  .e-ddl.e-popup.e-popup-open .e-list-item.e-disabled {
348
348
  opacity: 0.7;
349
349
  pointer-events: none;
350
+ color: var(--color-sf-flyout-text-color-disabled);
350
351
  }
351
352
 
352
353
  ejs-autocomplete,
@@ -1448,6 +1448,7 @@ ejs-dropdownlist {
1448
1448
  max-width: 100%;
1449
1449
  padding-left: 8px;
1450
1450
  padding-right: 6px;
1451
+ vertical-align: middle;
1451
1452
  }
1452
1453
 
1453
1454
  .e-multi-select-list-wrapper .e-hide-listitem,
@@ -1758,6 +1758,7 @@ ejs-dropdownlist {
1758
1758
  max-width: 100%;
1759
1759
  padding-left: 8px;
1760
1760
  padding-right: 6px;
1761
+ vertical-align: middle;
1761
1762
  }
1762
1763
 
1763
1764
  .e-multi-select-list-wrapper .e-hide-listitem,
@@ -1448,6 +1448,7 @@ ejs-dropdownlist {
1448
1448
  max-width: 100%;
1449
1449
  padding-left: 8px;
1450
1450
  padding-right: 6px;
1451
+ vertical-align: middle;
1451
1452
  }
1452
1453
 
1453
1454
  .e-multi-select-list-wrapper .e-hide-listitem,
package/styles/fluent.css CHANGED
@@ -1758,6 +1758,7 @@ ejs-dropdownlist {
1758
1758
  max-width: 100%;
1759
1759
  padding-left: 8px;
1760
1760
  padding-right: 6px;
1761
+ vertical-align: middle;
1761
1762
  }
1762
1763
 
1763
1764
  .e-multi-select-list-wrapper .e-hide-listitem,
@@ -414,9 +414,7 @@
414
414
  max-width: 100%;
415
415
  padding-left: $ddl-delim-text-indent;
416
416
  padding-right: $ddl-delim-text-padding-right;
417
- @if $ddl-multiselect-skin-name != 'bootstrap5' and $ddl-multiselect-skin-name != 'bootstrap5.3' and $ddl-multiselect-skin-name != 'FluentUI' {
418
- vertical-align: middle;
419
- }
417
+ vertical-align: middle;
420
418
  }
421
419
 
422
420
  .e-small .e-multi-select-wrapper .e-delim-values .e-remain {
@@ -465,6 +465,7 @@
465
465
  max-width: 100%;
466
466
  padding-left: 8px;
467
467
  padding-right: 6px;
468
+ vertical-align: middle;
468
469
  }
469
470
 
470
471
  .e-multi-select-list-wrapper .e-hide-listitem,
@@ -469,6 +469,7 @@
469
469
  max-width: 100%;
470
470
  padding-left: 8px;
471
471
  padding-right: 6px;
472
+ vertical-align: middle;
472
473
  }
473
474
 
474
475
  .e-multi-select-list-wrapper .e-hide-listitem,
@@ -465,6 +465,7 @@
465
465
  max-width: 100%;
466
466
  padding-left: 8px;
467
467
  padding-right: 6px;
468
+ vertical-align: middle;
468
469
  }
469
470
 
470
471
  .e-multi-select-list-wrapper .e-hide-listitem,
@@ -471,6 +471,7 @@
471
471
  max-width: 100%;
472
472
  padding-left: 8px;
473
473
  padding-right: 6px;
474
+ vertical-align: middle;
474
475
  }
475
476
 
476
477
  .e-multi-select-list-wrapper .e-hide-listitem,
@@ -471,6 +471,7 @@
471
471
  max-width: 100%;
472
472
  padding-left: 8px;
473
473
  padding-right: 6px;
474
+ vertical-align: middle;
474
475
  }
475
476
 
476
477
  .e-multi-select-list-wrapper .e-hide-listitem,
@@ -645,6 +645,7 @@
645
645
  .e-ddl.e-popup.e-popup-open .e-list-item.e-disabled {
646
646
  opacity: 0.7;
647
647
  pointer-events: none;
648
+ color: var(--color-sf-flyout-text-color-disabled);
648
649
  }
649
650
 
650
651
  ejs-autocomplete,
@@ -716,6 +716,7 @@
716
716
  .e-ddl.e-popup.e-popup-open .e-list-item.e-disabled {
717
717
  opacity: 0.7;
718
718
  pointer-events: none;
719
+ color: var(--color-sf-flyout-text-color-disabled);
719
720
  }
720
721
 
721
722
  ejs-autocomplete,