@syncfusion/ej2-dropdowns 27.1.52 → 27.1.53
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/.eslintrc.json +261 -0
- 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 +105 -37
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +105 -37
- 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 +8 -8
- package/src/drop-down-base/drop-down-base.js +4 -0
- package/src/drop-down-list/drop-down-list.js +2 -2
- package/src/drop-down-tree/drop-down-tree.js +1 -1
- package/src/list-box/list-box.js +8 -2
- package/src/multi-select/multi-select.js +90 -32
- package/styles/bootstrap-dark-lite.css +1 -0
- package/styles/bootstrap-dark.css +1 -0
- package/styles/bootstrap-lite.css +1 -0
- package/styles/bootstrap.css +1 -0
- package/styles/bootstrap4-lite.css +1 -0
- package/styles/bootstrap4.css +1 -0
- 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 -0
- package/styles/drop-down-list/bootstrap-dark.css +1 -0
- package/styles/drop-down-list/bootstrap.css +1 -0
- package/styles/drop-down-list/bootstrap4.css +1 -0
- package/styles/drop-down-list/bootstrap5-dark.css +1 -0
- package/styles/drop-down-list/bootstrap5.3.css +1 -0
- package/styles/drop-down-list/bootstrap5.css +1 -0
- package/styles/drop-down-list/fabric-dark.css +1 -0
- package/styles/drop-down-list/fabric.css +1 -0
- package/styles/drop-down-list/fluent-dark.css +1 -0
- package/styles/drop-down-list/fluent.css +1 -0
- package/styles/drop-down-list/fluent2.css +1 -0
- package/styles/drop-down-list/highcontrast-light.css +1 -0
- package/styles/drop-down-list/highcontrast.css +1 -0
- package/styles/drop-down-list/material-dark.css +1 -0
- package/styles/drop-down-list/material.css +1 -0
- package/styles/drop-down-list/material3-dark.css +1 -0
- package/styles/drop-down-list/material3.css +1 -0
- package/styles/drop-down-list/tailwind-dark.css +1 -0
- package/styles/drop-down-list/tailwind.css +1 -0
- package/styles/fabric-dark-lite.css +1 -0
- package/styles/fabric-dark.css +1 -0
- package/styles/fabric-lite.css +1 -0
- package/styles/fabric.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/fluent2-lite.css +1 -0
- package/styles/fluent2.css +1 -0
- package/styles/highcontrast-light-lite.css +1 -0
- package/styles/highcontrast-light.css +1 -0
- package/styles/highcontrast-lite.css +1 -0
- package/styles/highcontrast.css +1 -0
- package/styles/material-dark-lite.css +1 -0
- package/styles/material-dark.css +1 -0
- package/styles/material-lite.css +1 -0
- package/styles/material.css +1 -0
- package/styles/material3-dark-lite.css +1 -0
- package/styles/material3-dark.css +1 -0
- package/styles/material3-lite.css +1 -0
- package/styles/material3.css +1 -0
- package/styles/tailwind-dark-lite.css +1 -0
- package/styles/tailwind-dark.css +1 -0
- package/styles/tailwind-lite.css +1 -0
- package/styles/tailwind.css +1 -0
- package/tslint.json +111 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 27.1.
|
|
3
|
+
* version : 27.1.53
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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@27.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-dropdowns@27.1.52",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-lgrKKbthjGtnEjuwnAZd+5EzMt2JLyNRVUP0+SPCG7vJWyXFle2NiJX0FKIogrUk2Idaif+qtcs9CXIBh8NOBw==",
|
|
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-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-27.1.
|
|
40
|
-
"_shasum": "
|
|
39
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-27.1.52.tgz",
|
|
40
|
+
"_shasum": "f5fe34cbcdf22285b14cce67aba1da75d36b301d",
|
|
41
41
|
"_spec": "@syncfusion/ej2-dropdowns@*",
|
|
42
42
|
"_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
|
|
43
43
|
"author": {
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
},
|
|
46
46
|
"bundleDependencies": false,
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@syncfusion/ej2-base": "~27.1.
|
|
48
|
+
"@syncfusion/ej2-base": "~27.1.53",
|
|
49
49
|
"@syncfusion/ej2-data": "~27.1.52",
|
|
50
50
|
"@syncfusion/ej2-inputs": "~27.1.50",
|
|
51
51
|
"@syncfusion/ej2-lists": "~27.1.50",
|
|
52
|
-
"@syncfusion/ej2-navigations": "~27.1.
|
|
52
|
+
"@syncfusion/ej2-navigations": "~27.1.53",
|
|
53
53
|
"@syncfusion/ej2-notifications": "~27.1.50",
|
|
54
|
-
"@syncfusion/ej2-popups": "~27.1.
|
|
54
|
+
"@syncfusion/ej2-popups": "~27.1.53"
|
|
55
55
|
},
|
|
56
56
|
"deprecated": false,
|
|
57
57
|
"description": "Essential JS 2 DropDown Components",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"module": "./index.js",
|
|
77
77
|
"name": "@syncfusion/ej2-dropdowns",
|
|
78
78
|
"typings": "index.d.ts",
|
|
79
|
-
"version": "27.1.
|
|
79
|
+
"version": "27.1.53",
|
|
80
80
|
"sideEffects": false,
|
|
81
81
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
82
82
|
}
|
|
@@ -1219,6 +1219,10 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
1219
1219
|
DropDownBase.prototype.renderItems = function (listData, fields, isCheckBoxUpdate) {
|
|
1220
1220
|
var ulElement;
|
|
1221
1221
|
if (this.itemTemplate && listData) {
|
|
1222
|
+
if (this.getModuleName() === 'multiselect' && this.virtualSelectAll) {
|
|
1223
|
+
this.virtualSelectAllData = listData;
|
|
1224
|
+
listData = listData.slice(this.virtualItemStartIndex, this.virtualItemEndIndex);
|
|
1225
|
+
}
|
|
1222
1226
|
var dataSource = listData;
|
|
1223
1227
|
if (dataSource && fields.groupBy) {
|
|
1224
1228
|
if (this.sortOrder !== 'None') {
|
|
@@ -2348,7 +2348,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2348
2348
|
if (!isNullOrUndefined(this.itemData) && !isNullOrUndefined(newElement)) {
|
|
2349
2349
|
var value_2 = this.getItemData().value;
|
|
2350
2350
|
var isExist = listData.some(function (data) {
|
|
2351
|
-
return (((typeof data === 'string' || typeof data === 'number') && data === value_2) ||
|
|
2351
|
+
return (((typeof data === 'string' || typeof data === 'number' || typeof data === 'boolean') && data === value_2) ||
|
|
2352
2352
|
(getValue(_this.fields.value, data) === value_2));
|
|
2353
2353
|
});
|
|
2354
2354
|
if (!isExist) {
|
|
@@ -2653,7 +2653,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2653
2653
|
_this.isNotSearchList = false;
|
|
2654
2654
|
_this.isDocumentClick = false;
|
|
2655
2655
|
_this.destroyPopup();
|
|
2656
|
-
if (_this.isFiltering() && _this.actionCompleteData.list && _this.actionCompleteData.list
|
|
2656
|
+
if (_this.isFiltering() && _this.actionCompleteData.list && _this.actionCompleteData.list.length > 0) {
|
|
2657
2657
|
_this.isActive = true;
|
|
2658
2658
|
if (_this.enableVirtualization) {
|
|
2659
2659
|
_this.onActionComplete(_this.ulElement, _this.listData, null, true);
|
|
@@ -2155,7 +2155,7 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
2155
2155
|
var id = getValue('id', args.data[0]).toString();
|
|
2156
2156
|
this.removeSelectedData(id, true);
|
|
2157
2157
|
}
|
|
2158
|
-
if (!this.isChipDelete && args.isInteracted) {
|
|
2158
|
+
if (!this.isChipDelete && args.isInteracted || (!this.isFilteredData && args.action === 'check' && this.isFromFilterChange)) {
|
|
2159
2159
|
this.setMultiSelect();
|
|
2160
2160
|
this.ensurePlaceHolder();
|
|
2161
2161
|
}
|
package/src/list-box/list-box.js
CHANGED
|
@@ -721,6 +721,12 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
721
721
|
liCollElem[i].classList.remove('e-grabbed');
|
|
722
722
|
}
|
|
723
723
|
}
|
|
724
|
+
if (this.toolbarSettings.items.length > 0) {
|
|
725
|
+
this.updateToolBarState();
|
|
726
|
+
}
|
|
727
|
+
else if (this.tBListBox && this.tBListBox.toolbarSettings.items.length > 0) {
|
|
728
|
+
this.tBListBox.updateToolBarState();
|
|
729
|
+
}
|
|
724
730
|
};
|
|
725
731
|
ListBox.prototype.updateListItems = function (sourceElem, destElem) {
|
|
726
732
|
destElem.innerHTML = '';
|
|
@@ -806,9 +812,9 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
806
812
|
li.setAttribute('aria-disabled', 'true');
|
|
807
813
|
}
|
|
808
814
|
});
|
|
809
|
-
if (this.allowFiltering && this.filterInput.value !== '' && this.toolbarSettings.items.length > 0) {
|
|
815
|
+
if (this.allowFiltering && this.filterInput && this.filterInput.value !== '' && this.toolbarSettings.items.length > 0) {
|
|
810
816
|
var canDisable_1 = false;
|
|
811
|
-
this.
|
|
817
|
+
this.ulElement.childNodes.forEach(function (li) { if (!li.classList.contains('e-disabled')) {
|
|
812
818
|
canDisable_1 = true;
|
|
813
819
|
} });
|
|
814
820
|
if (!canDisable_1) {
|
|
@@ -2590,7 +2590,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
2590
2590
|
var value_1 = this.allowObjectBinding ?
|
|
2591
2591
|
getValue(((this.fields.value) ? this.fields.value : ''), this.value[this.value.length - 1]) :
|
|
2592
2592
|
this.value[this.value.length - 1];
|
|
2593
|
-
var temp =
|
|
2593
|
+
var temp = text;
|
|
2594
2594
|
var textValues = this.text != null && this.text !== '' ? this.text + ',' + temp : temp;
|
|
2595
2595
|
currentText.push(textValues);
|
|
2596
2596
|
this.setProperties({ text: currentText.toString() }, true);
|
|
@@ -2627,12 +2627,12 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
2627
2627
|
removeClass(collection, 'e-disable');
|
|
2628
2628
|
}
|
|
2629
2629
|
};
|
|
2630
|
-
MultiSelect.prototype.dispatchSelect = function (value, eve, element, isNotTrigger, length) {
|
|
2630
|
+
MultiSelect.prototype.dispatchSelect = function (value, eve, element, isNotTrigger, length, dataValue, text) {
|
|
2631
2631
|
var _this = this;
|
|
2632
2632
|
var list = this.listData;
|
|
2633
2633
|
if (this.initStatus && !isNotTrigger) {
|
|
2634
2634
|
value = this.allowObjectBinding ? getValue(((this.fields.value) ? this.fields.value : ''), value) : value;
|
|
2635
|
-
var val_2 = this.getDataByValue(value);
|
|
2635
|
+
var val_2 = dataValue ? dataValue : this.getDataByValue(value);
|
|
2636
2636
|
var eventArgs = {
|
|
2637
2637
|
e: eve,
|
|
2638
2638
|
item: element,
|
|
@@ -2666,16 +2666,26 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
2666
2666
|
_this.selectedListData = [(_this.getDataByValue(value))];
|
|
2667
2667
|
}
|
|
2668
2668
|
else {
|
|
2669
|
-
if (
|
|
2670
|
-
|
|
2669
|
+
if (dataValue) {
|
|
2670
|
+
if (Array.isArray(_this.selectedListData)) {
|
|
2671
|
+
_this.selectedListData.push(dataValue);
|
|
2672
|
+
}
|
|
2673
|
+
else {
|
|
2674
|
+
_this.selectedListData = [_this.selectedListData, dataValue];
|
|
2675
|
+
}
|
|
2671
2676
|
}
|
|
2672
2677
|
else {
|
|
2673
|
-
|
|
2678
|
+
if (Array.isArray(_this.selectedListData)) {
|
|
2679
|
+
_this.selectedListData.push((_this.getDataByValue(value)));
|
|
2680
|
+
}
|
|
2681
|
+
else {
|
|
2682
|
+
_this.selectedListData = [_this.selectedListData, (_this.getDataByValue(value))];
|
|
2683
|
+
}
|
|
2674
2684
|
}
|
|
2675
2685
|
}
|
|
2676
2686
|
}
|
|
2677
2687
|
if ((_this.enableVirtualization && value) || !_this.enableVirtualization) {
|
|
2678
|
-
_this.updateListSelectEventCallback(value, element, eve);
|
|
2688
|
+
_this.updateListSelectEventCallback(value, element, eve, text);
|
|
2679
2689
|
}
|
|
2680
2690
|
if (_this.hideSelectedItem && _this.fixedHeaderElement && _this.fields.groupBy && _this.mode !== 'CheckBox') {
|
|
2681
2691
|
_super.prototype.scrollStop.call(_this);
|
|
@@ -3789,10 +3799,10 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3789
3799
|
this.removeValue(value, e, length);
|
|
3790
3800
|
}
|
|
3791
3801
|
};
|
|
3792
|
-
MultiSelect.prototype.updateListSelectEventCallback = function (value, li, e) {
|
|
3802
|
+
MultiSelect.prototype.updateListSelectEventCallback = function (value, li, e, currentText) {
|
|
3793
3803
|
var _this = this;
|
|
3794
3804
|
value = this.allowObjectBinding ? getValue(((this.fields.value) ? this.fields.value : ''), value) : value;
|
|
3795
|
-
var text = this.getTextByValue(value);
|
|
3805
|
+
var text = currentText ? currentText : this.getTextByValue(value);
|
|
3796
3806
|
if ((this.allowCustomValue || this.allowFiltering) &&
|
|
3797
3807
|
!this.findListElement(this.mainList, 'li', 'data-value', value) &&
|
|
3798
3808
|
(!this.enableVirtualization || (this.enableVirtualization && this.virtualCustomData))) {
|
|
@@ -4639,7 +4649,9 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
4639
4649
|
if (_this.value && obj[_this.fields.value] != null && Array.isArray(_this.value) &&
|
|
4640
4650
|
((!_this.allowObjectBinding && _this.value.indexOf(obj[_this.fields.value]) < 0) ||
|
|
4641
4651
|
(_this.allowObjectBinding && !_this.isObjectInArray(obj[_this.fields.value], _this.value)))) {
|
|
4642
|
-
|
|
4652
|
+
var value = obj[_this.fields.value];
|
|
4653
|
+
var text = (obj[_this.fields.text]).toString();
|
|
4654
|
+
_this.dispatchSelect(value, event, null, false, length, obj, text);
|
|
4643
4655
|
}
|
|
4644
4656
|
});
|
|
4645
4657
|
}
|
|
@@ -4649,7 +4661,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
4649
4661
|
_this.updateValueState(event, _this.value, _this.tempValues);
|
|
4650
4662
|
_this.isSelectAll = _this.isSelectAll ? !_this.isSelectAll : _this.isSelectAll;
|
|
4651
4663
|
}
|
|
4652
|
-
_this.updateHiddenElement();
|
|
4664
|
+
_this.updateHiddenElement(true);
|
|
4653
4665
|
if (_this.popupWrapper && li[index - 1] && li[index - 1].classList.contains('e-item-focus')) {
|
|
4654
4666
|
var selectAllParent = document.getElementsByClassName('e-selectall-parent')[0];
|
|
4655
4667
|
if (selectAllParent && selectAllParent.classList.contains('e-item-focus')) {
|
|
@@ -4819,7 +4831,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
4819
4831
|
}
|
|
4820
4832
|
}
|
|
4821
4833
|
};
|
|
4822
|
-
MultiSelect.prototype.updateHiddenElement = function () {
|
|
4834
|
+
MultiSelect.prototype.updateHiddenElement = function (isVirtualSelectAll) {
|
|
4823
4835
|
var _this = this;
|
|
4824
4836
|
var hiddenValue = '';
|
|
4825
4837
|
var wrapperText = '';
|
|
@@ -4828,20 +4840,24 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
4828
4840
|
if (this.mode === 'CheckBox') {
|
|
4829
4841
|
this.value.map(function (value, index) {
|
|
4830
4842
|
hiddenValue += '<option selected value ="' + value + '">' + index + '</option>';
|
|
4831
|
-
if (
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4843
|
+
if (!isVirtualSelectAll) {
|
|
4844
|
+
if (_this.listData) {
|
|
4845
|
+
data = _this.getTextByValue(value);
|
|
4846
|
+
}
|
|
4847
|
+
else {
|
|
4848
|
+
data = value;
|
|
4849
|
+
}
|
|
4850
|
+
wrapperText += data + _this.delimiterChar + ' ';
|
|
4851
|
+
text.push(data);
|
|
4836
4852
|
}
|
|
4837
|
-
wrapperText += data + _this.delimiterChar + ' ';
|
|
4838
|
-
text.push(data);
|
|
4839
4853
|
});
|
|
4840
4854
|
this.hiddenElement.innerHTML = hiddenValue;
|
|
4841
|
-
|
|
4855
|
+
if (!isVirtualSelectAll) {
|
|
4856
|
+
this.updateWrapperText(this.delimiterWrapper, wrapperText);
|
|
4857
|
+
this.setProperties({ text: text.toString() }, true);
|
|
4858
|
+
}
|
|
4842
4859
|
this.delimiterWrapper.setAttribute('id', getUniqueID('delim_val'));
|
|
4843
4860
|
this.inputElement.setAttribute('aria-describedby', this.delimiterWrapper.id);
|
|
4844
|
-
this.setProperties({ text: text.toString() }, true);
|
|
4845
4861
|
this.refreshInputHight();
|
|
4846
4862
|
this.refreshPlaceHolder();
|
|
4847
4863
|
}
|
|
@@ -5870,20 +5886,13 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5870
5886
|
if (this.isReact) {
|
|
5871
5887
|
this.clearTemplate();
|
|
5872
5888
|
}
|
|
5873
|
-
if (this.popupObj) {
|
|
5889
|
+
if (!isNullOrUndefined(this.popupObj)) {
|
|
5874
5890
|
this.popupObj.hide();
|
|
5891
|
+
this.popupObj.destroy();
|
|
5875
5892
|
}
|
|
5876
5893
|
this.notify(destroy, {});
|
|
5877
5894
|
this.unwireListEvents();
|
|
5878
5895
|
this.unWireEvent();
|
|
5879
|
-
this.list = null;
|
|
5880
|
-
this.popupObj = null;
|
|
5881
|
-
this.mainList = null;
|
|
5882
|
-
this.mainData = null;
|
|
5883
|
-
this.filterParent = null;
|
|
5884
|
-
this.ulElement = null;
|
|
5885
|
-
this.mainListCollection = null;
|
|
5886
|
-
_super.prototype.destroy.call(this);
|
|
5887
5896
|
var temp = ['readonly', 'aria-disabled', 'placeholder', 'aria-label', 'aria-expanded'];
|
|
5888
5897
|
var length = temp.length;
|
|
5889
5898
|
if (!isNullOrUndefined(this.inputElement)) {
|
|
@@ -5905,6 +5914,56 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5905
5914
|
remove(this.overAllWrapper);
|
|
5906
5915
|
}
|
|
5907
5916
|
}
|
|
5917
|
+
if (this.popupWrapper && this.popupWrapper.parentElement) {
|
|
5918
|
+
this.popupWrapper.parentElement.remove();
|
|
5919
|
+
}
|
|
5920
|
+
while (this.searchWrapper && this.searchWrapper.firstChild) {
|
|
5921
|
+
this.searchWrapper.removeChild(this.searchWrapper.firstChild);
|
|
5922
|
+
}
|
|
5923
|
+
if (this.searchWrapper && this.searchWrapper.parentElement) {
|
|
5924
|
+
this.searchWrapper.parentElement.remove();
|
|
5925
|
+
}
|
|
5926
|
+
if (this.viewWrapper && this.viewWrapper.parentElement) {
|
|
5927
|
+
this.viewWrapper.parentElement.remove();
|
|
5928
|
+
}
|
|
5929
|
+
if (this.overAllClear && this.overAllClear.parentElement) {
|
|
5930
|
+
this.overAllClear.parentElement.remove();
|
|
5931
|
+
}
|
|
5932
|
+
if (this.delimiterWrapper && this.delimiterWrapper.parentElement) {
|
|
5933
|
+
this.delimiterWrapper.parentElement.remove();
|
|
5934
|
+
}
|
|
5935
|
+
// Remove the select element if it exists
|
|
5936
|
+
var selectElement = this.overAllWrapper.querySelector('select.e-multi-hidden');
|
|
5937
|
+
if (selectElement && selectElement.parentElement) {
|
|
5938
|
+
selectElement.parentElement.remove();
|
|
5939
|
+
}
|
|
5940
|
+
while (this.componentWrapper && this.componentWrapper.firstChild) {
|
|
5941
|
+
this.componentWrapper.removeChild(this.componentWrapper.firstChild);
|
|
5942
|
+
}
|
|
5943
|
+
if (this.componentWrapper && this.componentWrapper.parentElement) {
|
|
5944
|
+
this.componentWrapper.removeAttribute('class');
|
|
5945
|
+
this.componentWrapper.parentElement.remove();
|
|
5946
|
+
}
|
|
5947
|
+
while (this.popupWrapper && this.popupWrapper.firstChild) {
|
|
5948
|
+
this.popupWrapper.removeChild(this.popupWrapper.firstChild);
|
|
5949
|
+
}
|
|
5950
|
+
if (this.inputElement) {
|
|
5951
|
+
var attrArray = ['readonly', 'aria-disabled', 'placeholder', 'aria-labelledby',
|
|
5952
|
+
'aria-expanded', 'autocomplete', 'aria-readonly', 'autocapitalize',
|
|
5953
|
+
'spellcheck', 'aria-autocomplete', 'aria-live', 'aria-label', 'aria-hidden', 'tabindex', 'aria-controls',
|
|
5954
|
+
'aria-describedby', 'size', 'role', 'type', 'class'];
|
|
5955
|
+
for (var i = 0; i < attrArray.length; i++) {
|
|
5956
|
+
this.inputElement.removeAttribute(attrArray[i]);
|
|
5957
|
+
}
|
|
5958
|
+
}
|
|
5959
|
+
if (this.inputElement) {
|
|
5960
|
+
this.inputElement.remove();
|
|
5961
|
+
}
|
|
5962
|
+
this.list = null;
|
|
5963
|
+
this.popupObj = null;
|
|
5964
|
+
this.mainData = null;
|
|
5965
|
+
this.filterParent = null;
|
|
5966
|
+
this.ulElement = null;
|
|
5908
5967
|
this.componentWrapper = null;
|
|
5909
5968
|
this.overAllClear = null;
|
|
5910
5969
|
this.overAllWrapper = null;
|
|
@@ -5916,14 +5975,13 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5916
5975
|
this.popupWrapper = null;
|
|
5917
5976
|
this.inputElement = null;
|
|
5918
5977
|
this.delimiterWrapper = null;
|
|
5919
|
-
this.popupObj = null;
|
|
5920
|
-
this.popupWrapper = null;
|
|
5921
5978
|
this.liCollections = null;
|
|
5922
5979
|
this.header = null;
|
|
5923
5980
|
this.mainList = null;
|
|
5924
5981
|
this.mainListCollection = null;
|
|
5925
5982
|
this.footer = null;
|
|
5926
5983
|
this.selectAllEventEle = null;
|
|
5984
|
+
_super.prototype.destroy.call(this);
|
|
5927
5985
|
};
|
|
5928
5986
|
__decorate([
|
|
5929
5987
|
Complex({ text: null, value: null, iconCss: null, groupBy: null, disabled: null }, FieldSettings)
|
package/styles/bootstrap.css
CHANGED
package/styles/bootstrap4.css
CHANGED
package/styles/bootstrap5.3.css
CHANGED
package/styles/bootstrap5.css
CHANGED