@syncfusion/ej2-dropdowns 28.1.37 → 28.1.39
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/README.md +1 -1
- 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 +63 -8
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +64 -8
- 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 +11 -7
- package/src/combo-box/combo-box.js +2 -2
- package/src/drop-down-base/drop-down-base.js +14 -2
- package/src/drop-down-list/drop-down-list.d.ts +1 -0
- package/src/drop-down-list/drop-down-list.js +12 -2
- package/src/drop-down-tree/drop-down-tree.js +3 -0
- package/src/list-box/list-box.js +1 -1
- package/src/mention/mention.js +3 -1
- package/src/multi-select/multi-select.d.ts +2 -0
- package/src/multi-select/multi-select.js +29 -0
- package/styles/bds-lite.css +8 -0
- package/styles/bds.css +8 -0
- package/styles/bootstrap-dark-lite.css +8 -0
- package/styles/bootstrap-dark.css +8 -0
- package/styles/bootstrap-lite.css +8 -0
- package/styles/bootstrap.css +8 -0
- package/styles/bootstrap4-lite.css +8 -0
- package/styles/bootstrap4.css +8 -0
- package/styles/bootstrap5-dark-lite.css +8 -0
- package/styles/bootstrap5-dark.css +8 -0
- package/styles/bootstrap5-lite.css +8 -0
- package/styles/bootstrap5.3-lite.css +8 -0
- package/styles/bootstrap5.3.css +8 -0
- package/styles/bootstrap5.css +8 -0
- package/styles/drop-down-list/_layout.scss +8 -0
- package/styles/drop-down-list/bds.css +8 -0
- package/styles/drop-down-list/bootstrap-dark.css +8 -0
- package/styles/drop-down-list/bootstrap.css +8 -0
- package/styles/drop-down-list/bootstrap4.css +8 -0
- package/styles/drop-down-list/bootstrap5-dark.css +8 -0
- package/styles/drop-down-list/bootstrap5.3.css +8 -0
- package/styles/drop-down-list/bootstrap5.css +8 -0
- package/styles/drop-down-list/fabric-dark.css +8 -0
- package/styles/drop-down-list/fabric.css +8 -0
- package/styles/drop-down-list/fluent-dark.css +8 -0
- package/styles/drop-down-list/fluent.css +8 -0
- package/styles/drop-down-list/fluent2.css +8 -0
- package/styles/drop-down-list/highcontrast-light.css +8 -0
- package/styles/drop-down-list/highcontrast.css +8 -0
- package/styles/drop-down-list/material-dark.css +8 -0
- package/styles/drop-down-list/material.css +8 -0
- package/styles/drop-down-list/material3-dark.css +8 -0
- package/styles/drop-down-list/material3.css +8 -0
- package/styles/drop-down-list/tailwind-dark.css +8 -0
- package/styles/drop-down-list/tailwind.css +8 -0
- package/styles/drop-down-list/tailwind3.css +8 -0
- package/styles/fabric-dark-lite.css +8 -0
- package/styles/fabric-dark.css +8 -0
- package/styles/fabric-lite.css +8 -0
- package/styles/fabric.css +8 -0
- package/styles/fluent-dark-lite.css +8 -0
- package/styles/fluent-dark.css +8 -0
- package/styles/fluent-lite.css +8 -0
- package/styles/fluent.css +8 -0
- package/styles/fluent2-lite.css +8 -0
- package/styles/fluent2.css +8 -0
- package/styles/highcontrast-light-lite.css +8 -0
- package/styles/highcontrast-light.css +8 -0
- package/styles/highcontrast-lite.css +8 -0
- package/styles/highcontrast.css +8 -0
- package/styles/material-dark-lite.css +8 -0
- package/styles/material-dark.css +8 -0
- package/styles/material-lite.css +8 -0
- package/styles/material.css +8 -0
- package/styles/material3-dark-lite.css +8 -0
- package/styles/material3-dark.css +8 -0
- package/styles/material3-lite.css +8 -0
- package/styles/material3.css +8 -0
- package/styles/tailwind-dark-lite.css +8 -0
- package/styles/tailwind-dark.css +8 -0
- package/styles/tailwind-lite.css +8 -0
- package/styles/tailwind.css +8 -0
- package/styles/tailwind3-lite.css +8 -0
- package/styles/tailwind3.css +8 -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.39
|
|
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.
|
|
3
|
+
"_id": "@syncfusion/ej2-dropdowns@28.1.38",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-FGCpdclni6qQ3LeUi4ZYQp/ziJ/TarJpuufjvLID6+Emm8qvjpqsXHRpBBx7ySxGBqSv9EvFvwwX3tlEU7Q9uw==",
|
|
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.
|
|
36
|
-
"_shasum": "
|
|
39
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-28.1.38.tgz",
|
|
40
|
+
"_shasum": "5d383cb4f7b3f08fbaff11b8bb86a5c3320adbab",
|
|
37
41
|
"_spec": "@syncfusion/ej2-dropdowns@*",
|
|
38
42
|
"_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
|
|
39
43
|
"author": {
|
|
@@ -45,9 +49,9 @@
|
|
|
45
49
|
"@syncfusion/ej2-data": "~28.1.33",
|
|
46
50
|
"@syncfusion/ej2-inputs": "~28.1.37",
|
|
47
51
|
"@syncfusion/ej2-lists": "~28.1.37",
|
|
48
|
-
"@syncfusion/ej2-navigations": "~28.1.
|
|
52
|
+
"@syncfusion/ej2-navigations": "~28.1.39",
|
|
49
53
|
"@syncfusion/ej2-notifications": "~28.1.33",
|
|
50
|
-
"@syncfusion/ej2-popups": "~28.1.
|
|
54
|
+
"@syncfusion/ej2-popups": "~28.1.39"
|
|
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.
|
|
79
|
+
"version": "28.1.39",
|
|
76
80
|
"sideEffects": false,
|
|
77
81
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
78
82
|
}
|
|
@@ -662,7 +662,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
662
662
|
this.onChangeEvent(e);
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
|
-
if (e.action === 'enter' && this.inputElement.value
|
|
665
|
+
if (e.action === 'enter' && this.inputElement.value === '') {
|
|
666
666
|
this.clearAll(e);
|
|
667
667
|
}
|
|
668
668
|
else if (this.isTyped && !this.isSelected && isNullOrUndefined(li)) {
|
|
@@ -708,7 +708,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
708
708
|
this.onChangeEvent(null);
|
|
709
709
|
}
|
|
710
710
|
}
|
|
711
|
-
else if (this.inputElement.value
|
|
711
|
+
else if (this.inputElement.value !== '') {
|
|
712
712
|
var previousValue_1 = this.value;
|
|
713
713
|
if (isNullOrUndefined(value)) {
|
|
714
714
|
var value_1 = this.inputElement.value === '' ? null : this.inputElement.value;
|
|
@@ -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.
|
|
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
|
}
|
|
@@ -1166,8 +1176,10 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
1166
1176
|
DropDownBase.prototype.scrollStop = function (e, isDownkey) {
|
|
1167
1177
|
var target = !isNullOrUndefined(e) ? e.target : this.list;
|
|
1168
1178
|
var computedHeight = getComputedStyle(this.getValidLi(), null).getPropertyValue('height');
|
|
1179
|
+
var computedMarginValue = getComputedStyle(this.getValidLi(), null).getPropertyValue('margin-bottom');
|
|
1180
|
+
var marginValue = parseInt(computedMarginValue, 10);
|
|
1169
1181
|
var liHeight = this.getModuleName() === 'multiselect' ? parseFloat(computedHeight) : parseInt(computedHeight, 10);
|
|
1170
|
-
var topIndex = Math.round(target.scrollTop / liHeight);
|
|
1182
|
+
var topIndex = Math.round(target.scrollTop / (liHeight + marginValue));
|
|
1171
1183
|
var liCollections = this.list.querySelectorAll('li' + ':not(.e-hide-listitem)');
|
|
1172
1184
|
var virtualListCount = this.list.querySelectorAll('.e-virtual-list').length;
|
|
1173
1185
|
var count = 0;
|
|
@@ -121,6 +121,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
121
121
|
private isUpdateHeaderHeight;
|
|
122
122
|
private isUpdateFooterHeight;
|
|
123
123
|
private filterArgs;
|
|
124
|
+
private isReactTemplateUpdate;
|
|
124
125
|
/**
|
|
125
126
|
* Sets CSS classes to the root element of the component that allows customization of appearance.
|
|
126
127
|
*
|
|
@@ -93,6 +93,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
93
93
|
_this.autoFill = false;
|
|
94
94
|
_this.isUpdateHeaderHeight = false;
|
|
95
95
|
_this.isUpdateFooterHeight = false;
|
|
96
|
+
_this.isReactTemplateUpdate = false;
|
|
96
97
|
return _this;
|
|
97
98
|
}
|
|
98
99
|
/**
|
|
@@ -1463,6 +1464,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
1463
1464
|
setTimeout(function () {
|
|
1464
1465
|
proxy_1.cloneElements();
|
|
1465
1466
|
proxy_1.isSecondClick = true;
|
|
1467
|
+
proxy_1.isSecondClick = proxy_1.isReact && proxy_1.isFiltering() && proxy_1.dataSource instanceof DataManager && !proxy_1.list.querySelector('ul') ? false : true;
|
|
1466
1468
|
}, duration);
|
|
1467
1469
|
}
|
|
1468
1470
|
}
|
|
@@ -2302,6 +2304,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2302
2304
|
if (this.getInitialData) {
|
|
2303
2305
|
this.updateActionCompleteDataValues(ulElement, list);
|
|
2304
2306
|
this.getInitialData = false;
|
|
2307
|
+
this.isReactTemplateUpdate = true;
|
|
2305
2308
|
this.searchLists(this.filterArgs);
|
|
2306
2309
|
return;
|
|
2307
2310
|
}
|
|
@@ -2737,6 +2740,9 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2737
2740
|
addClass([_this.inputWrapper.container], [dropDownListClasses.iconAnimation]);
|
|
2738
2741
|
}
|
|
2739
2742
|
_this.renderReactTemplates();
|
|
2743
|
+
if (_this.isReact && _this.isFiltering() && _this.dataSource instanceof DataManager && _this.list.querySelector('ul') && !_this.isSecondClick) {
|
|
2744
|
+
_this.executeCloneElements();
|
|
2745
|
+
}
|
|
2740
2746
|
if (!isNullOrUndefined(_this.popupObj)) {
|
|
2741
2747
|
_this.popupObj.show(new Animation(eventArgs.animation), (_this.zIndex === 1000) ? _this.element : null);
|
|
2742
2748
|
}
|
|
@@ -2763,7 +2769,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2763
2769
|
_this.destroyPopup();
|
|
2764
2770
|
}
|
|
2765
2771
|
});
|
|
2766
|
-
if (_this.allowResize) {
|
|
2772
|
+
if (_this.allowResize && (_this.getModuleName() !== 'dropdownlist' || !(Browser.isDevice && _this.isDeviceFullScreen && _this.allowFiltering))) {
|
|
2767
2773
|
var resizePaddingBottom = 16;
|
|
2768
2774
|
// Create the resizer div
|
|
2769
2775
|
_this.resizer = _this.createElement('div', {
|
|
@@ -2834,6 +2840,10 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2834
2840
|
_this.destroyPopup();
|
|
2835
2841
|
if (_this.isFiltering() && _this.actionCompleteData.list && _this.actionCompleteData.list.length > 0) {
|
|
2836
2842
|
_this.isActive = true;
|
|
2843
|
+
if (_this.isReactTemplateUpdate && _this.isReact && _this.itemTemplate && !_this.enableVirtualization) {
|
|
2844
|
+
_this.actionCompleteData.ulElement = _this.renderItems(_this.actionCompleteData.list, _this.fields);
|
|
2845
|
+
_this.isReactTemplateUpdate = false;
|
|
2846
|
+
}
|
|
2837
2847
|
if (_this.enableVirtualization) {
|
|
2838
2848
|
_this.onActionComplete(_this.ulElement, _this.listData, null, true);
|
|
2839
2849
|
}
|
|
@@ -4146,7 +4156,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
4146
4156
|
if (isSelectVal && this.enableVirtualization && this.selectedLI.classList) {
|
|
4147
4157
|
isSelectVal = this.selectedLI.classList.contains('e-active');
|
|
4148
4158
|
}
|
|
4149
|
-
if (this.inputElement && this.inputElement.value
|
|
4159
|
+
if (this.inputElement && this.inputElement.value === '' && !this.isInteracted && (this.isSelectCustom ||
|
|
4150
4160
|
isSelectVal && this.inputElement.value !== dataItem.text)) {
|
|
4151
4161
|
this.isSelectCustom = false;
|
|
4152
4162
|
this.clearAll(e);
|
|
@@ -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) {
|
package/src/list-box/list-box.js
CHANGED
|
@@ -2040,7 +2040,7 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
2040
2040
|
};
|
|
2041
2041
|
ListBox.prototype.KeyUp = function (e) {
|
|
2042
2042
|
var _this = this;
|
|
2043
|
-
if (this.allowFiltering && e.ctrlKey && e.keyCode === 65) {
|
|
2043
|
+
if (this.allowFiltering && ((e.ctrlKey && e.keyCode === 65) || (e.keyCode === 8 && !this.filterInput.value))) {
|
|
2044
2044
|
e.preventDefault();
|
|
2045
2045
|
return;
|
|
2046
2046
|
}
|
package/src/mention/mention.js
CHANGED
|
@@ -128,7 +128,9 @@ var Mention = /** @class */ (function (_super) {
|
|
|
128
128
|
? document.querySelector(this.target)
|
|
129
129
|
: this.target) : this.element;
|
|
130
130
|
if (this.isContentEditable(this.inputElement)) {
|
|
131
|
-
this.inputElement.
|
|
131
|
+
if (!this.inputElement.hasAttribute('contenteditable')) {
|
|
132
|
+
this.inputElement.setAttribute('contenteditable', 'true');
|
|
133
|
+
}
|
|
132
134
|
addClass([this.inputElement], ['e-mention']);
|
|
133
135
|
if (isNullOrUndefined(this.target)) {
|
|
134
136
|
addClass([this.inputElement], ['e-editable-element']);
|
|
@@ -70,6 +70,8 @@ export declare class MultiSelect extends DropDownBase implements IInput {
|
|
|
70
70
|
private isClearAllAction;
|
|
71
71
|
private isUpdateHeaderHeight;
|
|
72
72
|
private isUpdateFooterHeight;
|
|
73
|
+
private isBlurDispatching;
|
|
74
|
+
private isFilterPrevented;
|
|
73
75
|
/**
|
|
74
76
|
* The `fields` property maps the columns of the data table and binds the data to the component.
|
|
75
77
|
* * text - Maps the text column from data table for each list item.
|
|
@@ -103,6 +103,8 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
103
103
|
_this.storedSelectAllHeight = 0;
|
|
104
104
|
_this.isUpdateHeaderHeight = false;
|
|
105
105
|
_this.isUpdateFooterHeight = false;
|
|
106
|
+
_this.isBlurDispatching = false;
|
|
107
|
+
_this.isFilterPrevented = false;
|
|
106
108
|
_this.isValidKey = false;
|
|
107
109
|
_this.selectAllEventData = [];
|
|
108
110
|
_this.selectAllEventEle = [];
|
|
@@ -561,10 +563,24 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
561
563
|
};
|
|
562
564
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
563
565
|
MultiSelect.prototype.onActionComplete = function (ulElement, list, e, isUpdated) {
|
|
566
|
+
var _this = this;
|
|
564
567
|
if (this.dataSource instanceof DataManager && !isNullOrUndefined(e) && !this.virtualGroupDataSource) {
|
|
565
568
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
566
569
|
this.totalItemCount = e.count;
|
|
567
570
|
}
|
|
571
|
+
if (this.value && list && list.length > 0 && this.allowFiltering && this.mode !== 'CheckBox' && !this.enableVirtualization && !this.isFilterPrevented && !this.allowCustomValue) {
|
|
572
|
+
var allItemsInValue = list.every(function (item) {
|
|
573
|
+
var itemValue = getValue((_this.fields.value) ? _this.fields.value : '', item);
|
|
574
|
+
return _this.value.some(function (val) {
|
|
575
|
+
var value = _this.allowObjectBinding ? getValue((_this.fields.value) ? _this.fields.value : '', val) : val;
|
|
576
|
+
return itemValue === value;
|
|
577
|
+
});
|
|
578
|
+
});
|
|
579
|
+
if (allItemsInValue) {
|
|
580
|
+
ulElement.innerHTML = '';
|
|
581
|
+
list = [];
|
|
582
|
+
}
|
|
583
|
+
}
|
|
568
584
|
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
569
585
|
_super.prototype.onActionComplete.call(this, ulElement, list, e);
|
|
570
586
|
this.skeletonCount = this.totalItemCount !== 0 && this.totalItemCount < (this.itemCount * 2) &&
|
|
@@ -1216,6 +1232,10 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
1216
1232
|
};
|
|
1217
1233
|
MultiSelect.prototype.onBlurHandler = function (eve, isDocClickFromCheck) {
|
|
1218
1234
|
var target;
|
|
1235
|
+
if (this.isBlurDispatching && this.isAngular) {
|
|
1236
|
+
this.isBlurDispatching = false;
|
|
1237
|
+
return;
|
|
1238
|
+
}
|
|
1219
1239
|
if (!isNullOrUndefined(eve)) {
|
|
1220
1240
|
target = eve.relatedTarget;
|
|
1221
1241
|
}
|
|
@@ -1298,6 +1318,10 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
1298
1318
|
this.overAllWrapper.getElementsByClassName('e-float-text-content')[0] && this.floatLabelType !== 'Never')) {
|
|
1299
1319
|
this.overAllWrapper.getElementsByClassName('e-float-text-content')[0].classList.add('e-icon');
|
|
1300
1320
|
}
|
|
1321
|
+
this.isBlurDispatching = true;
|
|
1322
|
+
if (this.isAngular) {
|
|
1323
|
+
this.dispatchEvent(this.inputElement, 'blur');
|
|
1324
|
+
}
|
|
1301
1325
|
};
|
|
1302
1326
|
MultiSelect.prototype.calculateWidth = function () {
|
|
1303
1327
|
var elementWidth;
|
|
@@ -2949,6 +2973,10 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
2949
2973
|
if (!this.list) {
|
|
2950
2974
|
_super.prototype.render.call(this);
|
|
2951
2975
|
}
|
|
2976
|
+
if (this.popupObj && document.body.contains(this.popupObj.element) && this.allowFiltering) {
|
|
2977
|
+
this.refreshPopup();
|
|
2978
|
+
return;
|
|
2979
|
+
}
|
|
2952
2980
|
if (!this.popupObj) {
|
|
2953
2981
|
if (!isNullOrUndefined(this.popupWrapper)) {
|
|
2954
2982
|
document.body.appendChild(this.popupWrapper);
|
|
@@ -3442,6 +3470,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3442
3470
|
cancel: false
|
|
3443
3471
|
};
|
|
3444
3472
|
this.trigger('filtering', eventArgs_1, function (eventArgs) {
|
|
3473
|
+
_this.isFilterPrevented = eventArgs.cancel;
|
|
3445
3474
|
if (!eventArgs.cancel) {
|
|
3446
3475
|
if (!_this.isFiltered && !eventArgs.preventDefaultAction) {
|
|
3447
3476
|
_this.filterAction = true;
|
package/styles/bds-lite.css
CHANGED
|
@@ -657,6 +657,14 @@
|
|
|
657
657
|
content: "";
|
|
658
658
|
}
|
|
659
659
|
|
|
660
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
661
|
+
position: relative;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
665
|
+
content: "";
|
|
666
|
+
}
|
|
667
|
+
|
|
660
668
|
.e-ddl-device-filter .e-filter-parent {
|
|
661
669
|
background-color: var(--color-sf-bg-primary-alt);
|
|
662
670
|
}
|
package/styles/bds.css
CHANGED
|
@@ -792,6 +792,14 @@
|
|
|
792
792
|
content: "";
|
|
793
793
|
}
|
|
794
794
|
|
|
795
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
796
|
+
position: relative;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
800
|
+
content: "";
|
|
801
|
+
}
|
|
802
|
+
|
|
795
803
|
.e-ddl-device-filter .e-filter-parent {
|
|
796
804
|
background-color: var(--color-sf-bg-primary-alt);
|
|
797
805
|
}
|
|
@@ -446,6 +446,14 @@
|
|
|
446
446
|
content: "";
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
450
|
+
position: relative;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
454
|
+
content: "";
|
|
455
|
+
}
|
|
456
|
+
|
|
449
457
|
.e-ddl-device-filter .e-filter-parent {
|
|
450
458
|
background-color: #6e6e6e;
|
|
451
459
|
}
|
|
@@ -521,6 +521,14 @@
|
|
|
521
521
|
content: "";
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
525
|
+
position: relative;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
529
|
+
content: "";
|
|
530
|
+
}
|
|
531
|
+
|
|
524
532
|
.e-ddl-device-filter .e-filter-parent {
|
|
525
533
|
background-color: #6e6e6e;
|
|
526
534
|
}
|
|
@@ -446,6 +446,14 @@
|
|
|
446
446
|
content: "";
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
450
|
+
position: relative;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
454
|
+
content: "";
|
|
455
|
+
}
|
|
456
|
+
|
|
449
457
|
.e-ddl-device-filter .e-filter-parent {
|
|
450
458
|
background-color: #fff;
|
|
451
459
|
}
|
package/styles/bootstrap.css
CHANGED
|
@@ -521,6 +521,14 @@
|
|
|
521
521
|
content: "";
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
525
|
+
position: relative;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
529
|
+
content: "";
|
|
530
|
+
}
|
|
531
|
+
|
|
524
532
|
.e-ddl-device-filter .e-filter-parent {
|
|
525
533
|
background-color: #fff;
|
|
526
534
|
}
|
|
@@ -480,6 +480,14 @@
|
|
|
480
480
|
content: "";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
484
|
+
position: relative;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
488
|
+
content: "";
|
|
489
|
+
}
|
|
490
|
+
|
|
483
491
|
.e-ddl-device-filter .e-filter-parent {
|
|
484
492
|
background-color: #fff;
|
|
485
493
|
}
|
package/styles/bootstrap4.css
CHANGED
|
@@ -559,6 +559,14 @@
|
|
|
559
559
|
content: "";
|
|
560
560
|
}
|
|
561
561
|
|
|
562
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
563
|
+
position: relative;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
567
|
+
content: "";
|
|
568
|
+
}
|
|
569
|
+
|
|
562
570
|
.e-ddl-device-filter .e-filter-parent {
|
|
563
571
|
background-color: #fff;
|
|
564
572
|
}
|
|
@@ -503,6 +503,14 @@
|
|
|
503
503
|
content: "";
|
|
504
504
|
}
|
|
505
505
|
|
|
506
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
507
|
+
position: relative;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
511
|
+
content: "";
|
|
512
|
+
}
|
|
513
|
+
|
|
506
514
|
.e-ddl-device-filter .e-filter-parent {
|
|
507
515
|
background-color: #212529;
|
|
508
516
|
}
|
|
@@ -592,6 +592,14 @@
|
|
|
592
592
|
content: "";
|
|
593
593
|
}
|
|
594
594
|
|
|
595
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
596
|
+
position: relative;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
600
|
+
content: "";
|
|
601
|
+
}
|
|
602
|
+
|
|
595
603
|
.e-ddl-device-filter .e-filter-parent {
|
|
596
604
|
background-color: #212529;
|
|
597
605
|
}
|
|
@@ -503,6 +503,14 @@
|
|
|
503
503
|
content: "";
|
|
504
504
|
}
|
|
505
505
|
|
|
506
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
507
|
+
position: relative;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
511
|
+
content: "";
|
|
512
|
+
}
|
|
513
|
+
|
|
506
514
|
.e-ddl-device-filter .e-filter-parent {
|
|
507
515
|
background-color: #fff;
|
|
508
516
|
}
|
|
@@ -507,6 +507,14 @@
|
|
|
507
507
|
content: "";
|
|
508
508
|
}
|
|
509
509
|
|
|
510
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
511
|
+
position: relative;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
515
|
+
content: "";
|
|
516
|
+
}
|
|
517
|
+
|
|
510
518
|
.e-ddl-device-filter .e-filter-parent {
|
|
511
519
|
background-color: var(--color-sf-content-bg-color);
|
|
512
520
|
}
|
package/styles/bootstrap5.3.css
CHANGED
|
@@ -596,6 +596,14 @@
|
|
|
596
596
|
content: "";
|
|
597
597
|
}
|
|
598
598
|
|
|
599
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
600
|
+
position: relative;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
604
|
+
content: "";
|
|
605
|
+
}
|
|
606
|
+
|
|
599
607
|
.e-ddl-device-filter .e-filter-parent {
|
|
600
608
|
background-color: var(--color-sf-content-bg-color);
|
|
601
609
|
}
|
package/styles/bootstrap5.css
CHANGED
|
@@ -592,6 +592,14 @@
|
|
|
592
592
|
content: "";
|
|
593
593
|
}
|
|
594
594
|
|
|
595
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
596
|
+
position: relative;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
600
|
+
content: "";
|
|
601
|
+
}
|
|
602
|
+
|
|
595
603
|
.e-ddl-device-filter .e-filter-parent {
|
|
596
604
|
background-color: #fff;
|
|
597
605
|
}
|
|
@@ -35,6 +35,14 @@
|
|
|
35
35
|
content: '';
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
39
|
+
position: relative;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
43
|
+
content: '';
|
|
44
|
+
}
|
|
45
|
+
|
|
38
46
|
.e-ddl-device-filter .e-filter-parent {
|
|
39
47
|
background-color: $ddl-filter-background-color;
|
|
40
48
|
}
|
|
@@ -330,6 +330,14 @@
|
|
|
330
330
|
content: "";
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
334
|
+
position: relative;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
338
|
+
content: "";
|
|
339
|
+
}
|
|
340
|
+
|
|
333
341
|
.e-ddl-device-filter .e-filter-parent {
|
|
334
342
|
background-color: var(--color-sf-bg-primary-alt);
|
|
335
343
|
}
|
|
@@ -149,6 +149,14 @@
|
|
|
149
149
|
content: "";
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
153
|
+
position: relative;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
157
|
+
content: "";
|
|
158
|
+
}
|
|
159
|
+
|
|
152
160
|
.e-ddl-device-filter .e-filter-parent {
|
|
153
161
|
background-color: #6e6e6e;
|
|
154
162
|
}
|
|
@@ -149,6 +149,14 @@
|
|
|
149
149
|
content: "";
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
153
|
+
position: relative;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
157
|
+
content: "";
|
|
158
|
+
}
|
|
159
|
+
|
|
152
160
|
.e-ddl-device-filter .e-filter-parent {
|
|
153
161
|
background-color: #fff;
|
|
154
162
|
}
|
|
@@ -183,6 +183,14 @@
|
|
|
183
183
|
content: "";
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
187
|
+
position: relative;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
191
|
+
content: "";
|
|
192
|
+
}
|
|
193
|
+
|
|
186
194
|
.e-ddl-device-filter .e-filter-parent {
|
|
187
195
|
background-color: #fff;
|
|
188
196
|
}
|
|
@@ -200,6 +200,14 @@
|
|
|
200
200
|
content: "";
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
204
|
+
position: relative;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
208
|
+
content: "";
|
|
209
|
+
}
|
|
210
|
+
|
|
203
211
|
.e-ddl-device-filter .e-filter-parent {
|
|
204
212
|
background-color: #212529;
|
|
205
213
|
}
|
|
@@ -204,6 +204,14 @@
|
|
|
204
204
|
content: "";
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
208
|
+
position: relative;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
212
|
+
content: "";
|
|
213
|
+
}
|
|
214
|
+
|
|
207
215
|
.e-ddl-device-filter .e-filter-parent {
|
|
208
216
|
background-color: var(--color-sf-content-bg-color);
|
|
209
217
|
}
|
|
@@ -200,6 +200,14 @@
|
|
|
200
200
|
content: "";
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon {
|
|
204
|
+
position: relative;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.e-ddl.e-control-wrapper.e-input-group .e-ddl-icon.e-ddl-disable-icon::before {
|
|
208
|
+
content: "";
|
|
209
|
+
}
|
|
210
|
+
|
|
203
211
|
.e-ddl-device-filter .e-filter-parent {
|
|
204
212
|
background-color: #fff;
|
|
205
213
|
}
|