@syncfusion/ej2-dropdowns 27.1.58 → 27.2.3
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 +149 -114
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +150 -114
- 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 +12 -12
- package/src/drop-down-base/drop-down-base.js +23 -7
- package/src/drop-down-tree/drop-down-tree.js +5 -0
- package/src/list-box/list-box.js +5 -3
- package/src/multi-select/multi-select.d.ts +2 -0
- package/src/multi-select/multi-select.js +117 -104
- package/styles/bootstrap5-dark-lite.css +4 -0
- package/styles/bootstrap5-dark.css +4 -0
- package/styles/bootstrap5-lite.css +4 -0
- package/styles/bootstrap5.3-lite.css +4 -0
- package/styles/bootstrap5.3.css +4 -0
- package/styles/bootstrap5.css +4 -0
- package/styles/multi-select/_bootstrap5-definition.scss +4 -0
- package/styles/multi-select/_bootstrap5.3-definition.scss +4 -0
- package/styles/multi-select/bootstrap5-dark.css +4 -0
- package/styles/multi-select/bootstrap5.3.css +4 -0
- package/styles/multi-select/bootstrap5.css +4 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 27.
|
|
3
|
+
* version : 27.2.3
|
|
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.
|
|
3
|
+
"_id": "@syncfusion/ej2-dropdowns@27.2.2",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-KEah4nyZTCzRus/gHRWw7zF9TEAIT9SnG9x4XIP2E1cfFQDN21nO9HCfxqUMu3LNPebyoEe0zwu6bPJWfCftiA==",
|
|
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.
|
|
40
|
-
"_shasum": "
|
|
39
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-27.2.2.tgz",
|
|
40
|
+
"_shasum": "592523614fba82ab61656defe92cb443f39de771",
|
|
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.
|
|
49
|
-
"@syncfusion/ej2-data": "~27.
|
|
50
|
-
"@syncfusion/ej2-inputs": "~27.
|
|
51
|
-
"@syncfusion/ej2-lists": "~27.
|
|
52
|
-
"@syncfusion/ej2-navigations": "~27.
|
|
53
|
-
"@syncfusion/ej2-notifications": "~27.
|
|
54
|
-
"@syncfusion/ej2-popups": "~27.
|
|
48
|
+
"@syncfusion/ej2-base": "~27.2.2",
|
|
49
|
+
"@syncfusion/ej2-data": "~27.2.2",
|
|
50
|
+
"@syncfusion/ej2-inputs": "~27.2.2",
|
|
51
|
+
"@syncfusion/ej2-lists": "~27.2.3",
|
|
52
|
+
"@syncfusion/ej2-navigations": "~27.2.3",
|
|
53
|
+
"@syncfusion/ej2-notifications": "~27.2.2",
|
|
54
|
+
"@syncfusion/ej2-popups": "~27.2.2"
|
|
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.
|
|
79
|
+
"version": "27.2.3",
|
|
80
80
|
"sideEffects": false,
|
|
81
81
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
82
82
|
}
|
|
@@ -600,9 +600,11 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
600
600
|
};
|
|
601
601
|
DropDownBase.prototype.renderItemsBySelect = function () {
|
|
602
602
|
var element = this.element;
|
|
603
|
-
var fields = { value: 'value', text: 'text' };
|
|
604
|
-
var jsonElement = [];
|
|
605
603
|
var group = element.querySelectorAll('select>optgroup');
|
|
604
|
+
var fields;
|
|
605
|
+
var isSelectGroupCheck = this.getModuleName() === 'multiselect' && this.isGroupChecking && group.length > 0;
|
|
606
|
+
fields = isSelectGroupCheck ? { value: 'value', text: 'text', groupBy: 'categeory' } : fields = { value: 'value', text: 'text' };
|
|
607
|
+
var jsonElement = [];
|
|
606
608
|
var option = element.querySelectorAll('select>option');
|
|
607
609
|
this.getJSONfromOption(jsonElement, option, fields);
|
|
608
610
|
if (group.length) {
|
|
@@ -612,12 +614,17 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
612
614
|
optionGroup[fields.text] = item.label;
|
|
613
615
|
optionGroup.isHeader = true;
|
|
614
616
|
var child = item.querySelectorAll('option');
|
|
615
|
-
|
|
616
|
-
|
|
617
|
+
if (isSelectGroupCheck) {
|
|
618
|
+
this.getJSONfromOption(jsonElement, child, fields, item.label);
|
|
619
|
+
}
|
|
620
|
+
else {
|
|
621
|
+
jsonElement.push(optionGroup);
|
|
622
|
+
this.getJSONfromOption(jsonElement, child, fields);
|
|
623
|
+
}
|
|
617
624
|
}
|
|
618
625
|
element.querySelectorAll('select>option');
|
|
619
626
|
}
|
|
620
|
-
this.updateFields(fields.text, fields.value, this.fields.groupBy, this.fields.htmlAttributes, this.fields.iconCss, this.fields.disabled);
|
|
627
|
+
this.updateFields(fields.text, fields.value, isSelectGroupCheck ? fields.groupBy : this.fields.groupBy, this.fields.htmlAttributes, this.fields.iconCss, this.fields.disabled);
|
|
621
628
|
this.resetList(jsonElement, fields);
|
|
622
629
|
};
|
|
623
630
|
DropDownBase.prototype.updateFields = function (text, value, groupBy, htmlAttributes, iconCss, disabled) {
|
|
@@ -633,13 +640,17 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
633
640
|
};
|
|
634
641
|
this.setProperties(field, true);
|
|
635
642
|
};
|
|
636
|
-
DropDownBase.prototype.getJSONfromOption = function (items, options, fields) {
|
|
643
|
+
DropDownBase.prototype.getJSONfromOption = function (items, options, fields, category) {
|
|
644
|
+
if (category === void 0) { category = null; }
|
|
637
645
|
for (var _i = 0, options_1 = options; _i < options_1.length; _i++) {
|
|
638
646
|
var option = options_1[_i];
|
|
639
647
|
var json = {};
|
|
640
648
|
json[fields.text] = option.innerText;
|
|
641
649
|
json[fields.value] = !isNullOrUndefined(option.getAttribute(fields.value)) ?
|
|
642
650
|
option.getAttribute(fields.value) : option.innerText;
|
|
651
|
+
if (!isNullOrUndefined(category)) {
|
|
652
|
+
json[fields.groupBy] = category;
|
|
653
|
+
}
|
|
643
654
|
items.push(json);
|
|
644
655
|
}
|
|
645
656
|
};
|
|
@@ -1095,7 +1106,12 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
1095
1106
|
if (this.sortOrder !== 'None') {
|
|
1096
1107
|
dataSource = this.getSortedDataSource(dataSource);
|
|
1097
1108
|
}
|
|
1098
|
-
|
|
1109
|
+
if (this.element.querySelector('optgroup') && this.isGroupChecking && this.getModuleName() === 'multiselect') {
|
|
1110
|
+
dataSource = ListBase.groupDataSource(dataSource, fields, this.sortOrder);
|
|
1111
|
+
}
|
|
1112
|
+
else {
|
|
1113
|
+
dataSource = ListBase.groupDataSource(dataSource, fields.properties, this.sortOrder);
|
|
1114
|
+
}
|
|
1099
1115
|
}
|
|
1100
1116
|
addClass([this.list], dropDownBaseClasses.grouping);
|
|
1101
1117
|
}
|
package/src/list-box/list-box.js
CHANGED
|
@@ -1686,11 +1686,13 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
1686
1686
|
if (fListBox.value.length === 1 && fListBox.getSelectedItems().length) {
|
|
1687
1687
|
fListBox.value[0] = fListBox.getFormattedValue(fListBox.getSelectedItems()[0].getAttribute('data-value'));
|
|
1688
1688
|
}
|
|
1689
|
-
if (fListBox.liCollections.length === fListBox.ulElement.querySelectorAll('.e-disabled').length) {
|
|
1689
|
+
if (fListBox.liCollections.length === fListBox.ulElement.querySelectorAll('.e-disabled').length && this.toolbarAction) {
|
|
1690
1690
|
var wrap = this.list.parentElement.getElementsByClassName('e-listbox-tool')[0];
|
|
1691
1691
|
var toolbarAction = this.toolbarAction === 'moveFrom' ? 'moveAllFrom' : 'moveAllTo';
|
|
1692
|
-
|
|
1693
|
-
|
|
1692
|
+
if (wrap) {
|
|
1693
|
+
var btn = wrap.querySelector('[data-value="' + toolbarAction + '"]');
|
|
1694
|
+
btn.disabled = true;
|
|
1695
|
+
}
|
|
1694
1696
|
}
|
|
1695
1697
|
};
|
|
1696
1698
|
ListBox.prototype.selectNextList = function (elems, dataLiIdx, dataIdx, inst) {
|
|
@@ -53,6 +53,7 @@ export declare class MultiSelect extends DropDownBase implements IInput {
|
|
|
53
53
|
private isCustomRendered;
|
|
54
54
|
private isRemoteSelection;
|
|
55
55
|
private isSelectAllTarget;
|
|
56
|
+
private isClearAllItem;
|
|
56
57
|
private previousFocusItem;
|
|
57
58
|
private isRemoveSelection;
|
|
58
59
|
private currentRemoveValue;
|
|
@@ -754,6 +755,7 @@ export declare class MultiSelect extends DropDownBase implements IInput {
|
|
|
754
755
|
private setFooterTemplate;
|
|
755
756
|
private updateInitialData;
|
|
756
757
|
private clearAll;
|
|
758
|
+
private preventSelection;
|
|
757
759
|
private clearAllCallback;
|
|
758
760
|
private windowResize;
|
|
759
761
|
private resetValueHandler;
|
|
@@ -3196,6 +3196,15 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3196
3196
|
this.previousEndIndex = 0;
|
|
3197
3197
|
}
|
|
3198
3198
|
}
|
|
3199
|
+
this.isClearAllItem = true;
|
|
3200
|
+
EventHandler.add(document, 'mouseup', this.preventSelection, this);
|
|
3201
|
+
};
|
|
3202
|
+
MultiSelect.prototype.preventSelection = function (e) {
|
|
3203
|
+
if (this.isClearAllItem) {
|
|
3204
|
+
e.stopPropagation();
|
|
3205
|
+
}
|
|
3206
|
+
this.isClearAllItem = false;
|
|
3207
|
+
EventHandler.remove(document, 'mouseup', this.preventSelection);
|
|
3199
3208
|
};
|
|
3200
3209
|
MultiSelect.prototype.clearAllCallback = function (e, isClearAll) {
|
|
3201
3210
|
var tempValues = this.value ? this.value.slice() : [];
|
|
@@ -3960,127 +3969,131 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3960
3969
|
};
|
|
3961
3970
|
MultiSelect.prototype.onMouseClick = function (e) {
|
|
3962
3971
|
var _this = this;
|
|
3963
|
-
this.
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
var headerLi = closest(target, '.' + dropDownBaseClasses.group);
|
|
3972
|
-
if (headerLi && this.enableGroupCheckBox && this.mode === 'CheckBox' && this.fields.groupBy) {
|
|
3973
|
-
target = target.classList.contains('e-list-group-item') ? target.firstElementChild.lastElementChild
|
|
3974
|
-
: e.target;
|
|
3975
|
-
if (target.classList.contains('e-check')) {
|
|
3976
|
-
this.selectAllItem(false, e);
|
|
3977
|
-
target.classList.remove('e-check');
|
|
3978
|
-
target.classList.remove('e-stop');
|
|
3979
|
-
closest(target, '.' + 'e-list-group-item').classList.remove('e-active');
|
|
3980
|
-
target.setAttribute('aria-selected', 'false');
|
|
3981
|
-
}
|
|
3982
|
-
else {
|
|
3983
|
-
this.selectAllItem(true, e);
|
|
3984
|
-
target.classList.remove('e-stop');
|
|
3985
|
-
target.classList.add('e-check');
|
|
3986
|
-
closest(target, '.' + 'e-list-group-item').classList.add('e-active');
|
|
3987
|
-
target.setAttribute('aria-selected', 'true');
|
|
3972
|
+
if (!this.isClearAllItem) {
|
|
3973
|
+
this.keyCode = null;
|
|
3974
|
+
this.scrollFocusStatus = false;
|
|
3975
|
+
this.keyboardEvent = null;
|
|
3976
|
+
var target = e.target;
|
|
3977
|
+
var li = closest(target, '.' + dropDownBaseClasses.li);
|
|
3978
|
+
if (this.enableVirtualization && li && li.classList.contains('e-virtual-list')) {
|
|
3979
|
+
return;
|
|
3988
3980
|
}
|
|
3989
|
-
|
|
3990
|
-
this.
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3981
|
+
var headerLi = closest(target, '.' + dropDownBaseClasses.group);
|
|
3982
|
+
if (headerLi && this.enableGroupCheckBox && this.mode === 'CheckBox' && this.fields.groupBy) {
|
|
3983
|
+
target = target.classList.contains('e-list-group-item') ? target.firstElementChild.lastElementChild
|
|
3984
|
+
: e.target;
|
|
3985
|
+
if (target.classList.contains('e-check')) {
|
|
3986
|
+
this.selectAllItem(false, e);
|
|
3987
|
+
target.classList.remove('e-check');
|
|
3988
|
+
target.classList.remove('e-stop');
|
|
3989
|
+
closest(target, '.' + 'e-list-group-item').classList.remove('e-active');
|
|
3990
|
+
target.setAttribute('aria-selected', 'false');
|
|
3997
3991
|
}
|
|
3998
|
-
|
|
3999
|
-
this.
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
3992
|
+
else {
|
|
3993
|
+
this.selectAllItem(true, e);
|
|
3994
|
+
target.classList.remove('e-stop');
|
|
3995
|
+
target.classList.add('e-check');
|
|
3996
|
+
closest(target, '.' + 'e-list-group-item').classList.add('e-active');
|
|
3997
|
+
target.setAttribute('aria-selected', 'true');
|
|
3998
|
+
}
|
|
3999
|
+
this.refreshSelection();
|
|
4000
|
+
this.checkSelectAll();
|
|
4001
|
+
}
|
|
4002
|
+
else {
|
|
4003
|
+
if (this.isValidLI(li)) {
|
|
4004
|
+
var limit = this.value && this.value.length ? this.value.length : 0;
|
|
4005
|
+
if (li.classList.contains('e-active')) {
|
|
4006
|
+
limit = limit - 1;
|
|
4007
|
+
}
|
|
4008
|
+
if (limit < this.maximumSelectionLength) {
|
|
4009
|
+
this.updateListSelection(li, e);
|
|
4010
|
+
this.checkPlaceholderSize();
|
|
4011
|
+
this.addListFocus(li);
|
|
4012
|
+
if ((this.allowCustomValue || this.allowFiltering) && this.mainList && this.listData) {
|
|
4013
|
+
if (this.mode !== 'CheckBox') {
|
|
4014
|
+
this.focusAtLastListItem(li.getAttribute('data-value'));
|
|
4015
|
+
this.refreshSelection();
|
|
4016
|
+
}
|
|
4006
4017
|
}
|
|
4018
|
+
else {
|
|
4019
|
+
this.makeTextBoxEmpty();
|
|
4020
|
+
}
|
|
4021
|
+
}
|
|
4022
|
+
if (this.mode === 'CheckBox') {
|
|
4023
|
+
this.updateDelimView();
|
|
4024
|
+
if (this.value && this.value.length > 50) {
|
|
4025
|
+
setTimeout(function () {
|
|
4026
|
+
_this.updateDelimeter(_this.delimiterChar, e);
|
|
4027
|
+
}, 0);
|
|
4028
|
+
}
|
|
4029
|
+
else {
|
|
4030
|
+
this.updateDelimeter(this.delimiterChar, e);
|
|
4031
|
+
}
|
|
4032
|
+
this.refreshInputHight();
|
|
4007
4033
|
}
|
|
4008
4034
|
else {
|
|
4009
|
-
this.
|
|
4035
|
+
this.updateDelimeter(this.delimiterChar, e);
|
|
4010
4036
|
}
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
this.
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4037
|
+
this.checkSelectAll();
|
|
4038
|
+
this.refreshPopup();
|
|
4039
|
+
if (this.hideSelectedItem) {
|
|
4040
|
+
this.focusAtFirstListItem();
|
|
4041
|
+
}
|
|
4042
|
+
if (this.closePopupOnSelect) {
|
|
4043
|
+
this.hidePopup(e);
|
|
4018
4044
|
}
|
|
4019
4045
|
else {
|
|
4020
|
-
|
|
4046
|
+
e.preventDefault();
|
|
4047
|
+
}
|
|
4048
|
+
var isFilterData = this.targetElement().trim() !== '' ? true : false;
|
|
4049
|
+
this.makeTextBoxEmpty();
|
|
4050
|
+
this.findGroupStart(target);
|
|
4051
|
+
if (this.mode !== 'CheckBox') {
|
|
4052
|
+
this.refreshListItems(isNullOrUndefined(li) ? null : li.textContent, isFilterData);
|
|
4021
4053
|
}
|
|
4022
|
-
this.refreshInputHight();
|
|
4023
|
-
}
|
|
4024
|
-
else {
|
|
4025
|
-
this.updateDelimeter(this.delimiterChar, e);
|
|
4026
|
-
}
|
|
4027
|
-
this.checkSelectAll();
|
|
4028
|
-
this.refreshPopup();
|
|
4029
|
-
if (this.hideSelectedItem) {
|
|
4030
|
-
this.focusAtFirstListItem();
|
|
4031
|
-
}
|
|
4032
|
-
if (this.closePopupOnSelect) {
|
|
4033
|
-
this.hidePopup(e);
|
|
4034
4054
|
}
|
|
4035
4055
|
else {
|
|
4036
4056
|
e.preventDefault();
|
|
4037
4057
|
}
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
else {
|
|
4072
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4073
|
-
this.list.getElementsByClassName('e-virtual-ddl')[0].style = this.GetVirtualTrackHeight();
|
|
4074
|
-
}
|
|
4075
|
-
if (this.list.querySelector('.e-virtual-ddl-content')) {
|
|
4076
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4077
|
-
this.list.getElementsByClassName('e-virtual-ddl-content')[0].style = this.getTransformValues();
|
|
4058
|
+
if (this.enableVirtualization && this.hideSelectedItem) {
|
|
4059
|
+
var visibleListElements = this.list.querySelectorAll('li.'
|
|
4060
|
+
+ dropDownBaseClasses.li
|
|
4061
|
+
+ ':not(.' + HIDE_LIST + ')' + ':not(.e-reorder-hide)' + ':not(.e-virtual-list)');
|
|
4062
|
+
if (visibleListElements.length) {
|
|
4063
|
+
var actualCount = this.virtualListHeight > 0 ?
|
|
4064
|
+
Math.floor(this.virtualListHeight / this.listItemHeight) : 0;
|
|
4065
|
+
if (visibleListElements.length < (actualCount + 2)) {
|
|
4066
|
+
var query = this.getForQuery(this.value).clone();
|
|
4067
|
+
query = query.skip(this.virtualItemStartIndex);
|
|
4068
|
+
this.resetList(this.dataSource, this.fields, query);
|
|
4069
|
+
this.UpdateSkeleton();
|
|
4070
|
+
this.liCollections = this.list.querySelectorAll('.'
|
|
4071
|
+
+ dropDownBaseClasses.li);
|
|
4072
|
+
this.virtualItemCount = this.itemCount;
|
|
4073
|
+
if (this.mode !== 'CheckBox') {
|
|
4074
|
+
this.totalItemCount = this.value && this.value.length ? this.totalItemCount - this.value.length :
|
|
4075
|
+
this.totalItemCount;
|
|
4076
|
+
}
|
|
4077
|
+
if (!this.list.querySelector('.e-virtual-ddl')) {
|
|
4078
|
+
var virualElement = this.createElement('div', {
|
|
4079
|
+
id: this.element.id + '_popup', className: 'e-virtual-ddl', styles: this.GetVirtualTrackHeight()
|
|
4080
|
+
});
|
|
4081
|
+
this.popupWrapper.querySelector('.e-dropdownbase').appendChild(virualElement);
|
|
4082
|
+
}
|
|
4083
|
+
else {
|
|
4084
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4085
|
+
this.list.getElementsByClassName('e-virtual-ddl')[0].style = this.GetVirtualTrackHeight();
|
|
4086
|
+
}
|
|
4087
|
+
if (this.list.querySelector('.e-virtual-ddl-content')) {
|
|
4088
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4089
|
+
this.list.getElementsByClassName('e-virtual-ddl-content')[0].style = this.getTransformValues();
|
|
4090
|
+
}
|
|
4078
4091
|
}
|
|
4079
4092
|
}
|
|
4080
4093
|
}
|
|
4094
|
+
this.refreshPlaceHolder();
|
|
4095
|
+
this.deselectHeader();
|
|
4081
4096
|
}
|
|
4082
|
-
this.refreshPlaceHolder();
|
|
4083
|
-
this.deselectHeader();
|
|
4084
4097
|
}
|
|
4085
4098
|
};
|
|
4086
4099
|
MultiSelect.prototype.findGroupStart = function (target) {
|
|
@@ -1055,6 +1055,10 @@ ejs-dropdownlist {
|
|
|
1055
1055
|
border-left-width: 0;
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
|
+
.e-float-input.e-control-wrapper.e-multiselect input[readonly] {
|
|
1059
|
+
background: transparent;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1058
1062
|
.e-multiselect.e-input-group .e-ddl-icon::before {
|
|
1059
1063
|
content: "\e729";
|
|
1060
1064
|
font-family: "e-icons";
|
|
@@ -1364,6 +1364,10 @@ ejs-dropdownlist {
|
|
|
1364
1364
|
border-left-width: 0;
|
|
1365
1365
|
}
|
|
1366
1366
|
|
|
1367
|
+
.e-float-input.e-control-wrapper.e-multiselect input[readonly] {
|
|
1368
|
+
background: transparent;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1367
1371
|
.e-multiselect.e-input-group .e-ddl-icon::before {
|
|
1368
1372
|
content: "\e729";
|
|
1369
1373
|
font-family: "e-icons";
|
|
@@ -1055,6 +1055,10 @@ ejs-dropdownlist {
|
|
|
1055
1055
|
border-left-width: 0;
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
|
+
.e-float-input.e-control-wrapper.e-multiselect input[readonly] {
|
|
1059
|
+
background: transparent;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1058
1062
|
.e-multiselect.e-input-group .e-ddl-icon::before {
|
|
1059
1063
|
content: "\e729";
|
|
1060
1064
|
font-family: "e-icons";
|
|
@@ -1048,6 +1048,10 @@ ejs-dropdownlist {
|
|
|
1048
1048
|
border-left-width: 0;
|
|
1049
1049
|
}
|
|
1050
1050
|
|
|
1051
|
+
.e-float-input.e-control-wrapper.e-multiselect input[readonly] {
|
|
1052
|
+
background: transparent;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1051
1055
|
.e-multiselect.e-input-group .e-ddl-icon::before {
|
|
1052
1056
|
content: "\e729";
|
|
1053
1057
|
font-family: "e-icons";
|
package/styles/bootstrap5.3.css
CHANGED
|
@@ -1299,6 +1299,10 @@ ejs-dropdownlist {
|
|
|
1299
1299
|
border-left-width: 0;
|
|
1300
1300
|
}
|
|
1301
1301
|
|
|
1302
|
+
.e-float-input.e-control-wrapper.e-multiselect input[readonly] {
|
|
1303
|
+
background: transparent;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1302
1306
|
.e-multiselect.e-input-group .e-ddl-icon::before {
|
|
1303
1307
|
content: "\e729";
|
|
1304
1308
|
font-family: "e-icons";
|
package/styles/bootstrap5.css
CHANGED
|
@@ -1364,6 +1364,10 @@ ejs-dropdownlist {
|
|
|
1364
1364
|
border-left-width: 0;
|
|
1365
1365
|
}
|
|
1366
1366
|
|
|
1367
|
+
.e-float-input.e-control-wrapper.e-multiselect input[readonly] {
|
|
1368
|
+
background: transparent;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1367
1371
|
.e-multiselect.e-input-group .e-ddl-icon::before {
|
|
1368
1372
|
content: "\e729";
|
|
1369
1373
|
font-family: "e-icons";
|