@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.
- 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 +6 -6
- package/src/combo-box/combo-box.js +1 -0
- package/src/drop-down-list/drop-down-list.d.ts +1 -0
- package/src/drop-down-list/drop-down-list.js +12 -1
- package/src/drop-down-tree/drop-down-tree.d.ts +1 -0
- package/src/drop-down-tree/drop-down-tree.js +4 -3
- package/styles/bootstrap5-dark-lite.css +1 -0
- package/styles/bootstrap5-dark.css +1 -0
- package/styles/bootstrap5-lite.css +1 -0
- package/styles/bootstrap5.3-lite.css +1 -0
- package/styles/bootstrap5.3.css +1 -0
- package/styles/bootstrap5.css +1 -0
- package/styles/drop-down-list/_layout.scss +1 -1
- package/styles/drop-down-list/tailwind3.css +1 -0
- package/styles/fluent-dark-lite.css +1 -0
- package/styles/fluent-dark.css +1 -0
- package/styles/fluent-lite.css +1 -0
- package/styles/fluent.css +1 -0
- package/styles/multi-select/_layout.scss +1 -3
- package/styles/multi-select/bootstrap5-dark.css +1 -0
- package/styles/multi-select/bootstrap5.3.css +1 -0
- package/styles/multi-select/bootstrap5.css +1 -0
- package/styles/multi-select/fluent-dark.css +1 -0
- package/styles/multi-select/fluent.css +1 -0
- package/styles/tailwind3-lite.css +1 -0
- package/styles/tailwind3.css +1 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 28.1.
|
|
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@
|
|
3
|
+
"_id": "@syncfusion/ej2-dropdowns@28.1.33",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
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-
|
|
40
|
-
"_shasum": "
|
|
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.
|
|
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.
|
|
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 (
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
1802
|
+
document.addEventListener('mousedown', _this.documentClickContext);
|
|
1802
1803
|
_this.isPopupOpen = true;
|
|
1803
1804
|
},
|
|
1804
1805
|
targetExitViewport: function () {
|
package/styles/bootstrap5.3.css
CHANGED
package/styles/bootstrap5.css
CHANGED
|
@@ -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 == '
|
|
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
|
}
|
package/styles/fluent-dark.css
CHANGED
package/styles/fluent-lite.css
CHANGED
package/styles/fluent.css
CHANGED
|
@@ -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
|
-
|
|
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 {
|