@syncfusion/ej2-dropdowns 27.2.3 → 27.2.5
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 +78 -37
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +78 -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 +10 -10
- package/src/common/interface.d.ts +1 -0
- package/src/common/virtual-scroll.js +3 -2
- package/src/drop-down-base/drop-down-base.d.ts +1 -0
- package/src/drop-down-base/drop-down-base.js +10 -1
- package/src/drop-down-list/drop-down-list.js +1 -1
- package/src/drop-down-tree/drop-down-tree.js +4 -1
- package/src/multi-select/checkbox-selection.js +4 -1
- package/src/multi-select/multi-select.js +56 -31
- package/styles/material3-dark-lite.css +4 -4
- package/styles/material3-dark.css +4 -4
- package/styles/material3-lite.css +4 -4
- package/styles/material3.css +4 -4
- package/styles/multi-select/_material3-definition.scss +1 -1
- package/styles/multi-select/material3-dark.css +4 -4
- package/styles/multi-select/material3.css +4 -4
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 27.2.
|
|
3
|
+
* version : 27.2.5
|
|
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.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-dropdowns@27.2.4",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-kwUZ/36PpkSlj/Dt+Pely38/+otGDsjMAHtJqd6pucIRE+qskmr+68t6w+e1ejmxsCSRRgLJ8TTOILCNQQT6Mg==",
|
|
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.2.
|
|
40
|
-
"_shasum": "
|
|
39
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-27.2.4.tgz",
|
|
40
|
+
"_shasum": "8e13af0cfcf786fbae3399f4fb7145e43b708535",
|
|
41
41
|
"_spec": "@syncfusion/ej2-dropdowns@*",
|
|
42
42
|
"_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
|
|
43
43
|
"author": {
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
},
|
|
46
46
|
"bundleDependencies": false,
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@syncfusion/ej2-base": "~27.2.
|
|
48
|
+
"@syncfusion/ej2-base": "~27.2.5",
|
|
49
49
|
"@syncfusion/ej2-data": "~27.2.2",
|
|
50
|
-
"@syncfusion/ej2-inputs": "~27.2.
|
|
51
|
-
"@syncfusion/ej2-lists": "~27.2.
|
|
52
|
-
"@syncfusion/ej2-navigations": "~27.2.
|
|
53
|
-
"@syncfusion/ej2-notifications": "~27.2.
|
|
50
|
+
"@syncfusion/ej2-inputs": "~27.2.4",
|
|
51
|
+
"@syncfusion/ej2-lists": "~27.2.5",
|
|
52
|
+
"@syncfusion/ej2-navigations": "~27.2.5",
|
|
53
|
+
"@syncfusion/ej2-notifications": "~27.2.4",
|
|
54
54
|
"@syncfusion/ej2-popups": "~27.2.2"
|
|
55
55
|
},
|
|
56
56
|
"deprecated": false,
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"module": "./index.js",
|
|
77
77
|
"name": "@syncfusion/ej2-dropdowns",
|
|
78
78
|
"typings": "index.d.ts",
|
|
79
|
-
"version": "27.2.
|
|
79
|
+
"version": "27.2.5",
|
|
80
80
|
"sideEffects": false,
|
|
81
81
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
82
82
|
}
|
|
@@ -110,4 +110,5 @@ export interface IDropdownlist extends Component<HTMLElement> {
|
|
|
110
110
|
}[] | DataManager | string[] | number[] | boolean[], fields?: FieldSettingsModel, query?: Query, e?: MouseEvent | KeyboardEventArgs | TouchEvent): void;
|
|
111
111
|
findListElement(list: HTMLElement, findNode: string, attribute: string, value: string | boolean | number): HTMLElement;
|
|
112
112
|
scrollStop(e?: Event): void;
|
|
113
|
+
targetElement(): string;
|
|
113
114
|
}
|
|
@@ -185,7 +185,7 @@ var VirtualScroll = /** @class */ (function () {
|
|
|
185
185
|
this.component = component.component;
|
|
186
186
|
}
|
|
187
187
|
var endIndex = this.parent.viewPortInfo.endIndex;
|
|
188
|
-
if (this.component === 'multiselect' && this.parent.mode === 'CheckBox' && this.parent.value && Array.isArray(this.parent.value) && this.parent.value.length > 0 && this.parent.enableSelectionOrder) {
|
|
188
|
+
if (this.component === 'multiselect' && this.parent.mode === 'CheckBox' && this.parent.value && Array.isArray(this.parent.value) && this.parent.value.length > 0 && this.parent.enableSelectionOrder && this.parent.targetElement().trim() === '') {
|
|
189
189
|
if (this.parent.viewPortInfo.startIndex < this.parent.value.length) {
|
|
190
190
|
endIndex = this.parent.viewPortInfo.endIndex - this.parent.value.length;
|
|
191
191
|
if (this.parent.viewPortInfo.startIndex === 0) {
|
|
@@ -283,7 +283,8 @@ var VirtualScroll = /** @class */ (function () {
|
|
|
283
283
|
if (index === endIndex - 1) {
|
|
284
284
|
if (currentData.length !== this.parent.itemCount) {
|
|
285
285
|
if (this.parent.hideSelectedItem) {
|
|
286
|
-
var query = this.parent.
|
|
286
|
+
var query = this.parent.value && this.parent.value.length > 0 ?
|
|
287
|
+
this.parent.getForQuery(this.parent.value).clone() : new Query;
|
|
287
288
|
if (this.parent.viewPortInfo.endIndex === this.parent.totalItemCount + this.parent.value.length &&
|
|
288
289
|
this.parent.hideSelectedItem) {
|
|
289
290
|
query = query.skip(this.parent.totalItemCount - this.parent.itemCount);
|
|
@@ -293,6 +293,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
293
293
|
protected firstItem: string | number | boolean | object;
|
|
294
294
|
protected preventDefActionFilter: boolean;
|
|
295
295
|
protected isDynamicData: boolean;
|
|
296
|
+
protected isPrimitiveData: boolean;
|
|
296
297
|
protected virtualListInfo: VirtualInfo;
|
|
297
298
|
protected viewPortInfo: VirtualInfo;
|
|
298
299
|
protected selectedValueInfo: VirtualInfo;
|
|
@@ -135,6 +135,7 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
135
135
|
_this.virtualSelectAllState = false;
|
|
136
136
|
_this.CurrentEvent = null;
|
|
137
137
|
_this.isDynamicData = false;
|
|
138
|
+
_this.isPrimitiveData = false;
|
|
138
139
|
_this.virtualListInfo = {
|
|
139
140
|
currentPageNumber: null,
|
|
140
141
|
direction: null,
|
|
@@ -1259,7 +1260,13 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
1259
1260
|
var oldUlElement = this.list.querySelector('.e-list-parent');
|
|
1260
1261
|
var virtualUlElement = this.list.querySelector('.e-virtual-ddl-content');
|
|
1261
1262
|
if ((listData.length >= this.virtualizedItemsCount && oldUlElement && virtualUlElement) || (oldUlElement && virtualUlElement && this.isAllowFiltering) || (oldUlElement && virtualUlElement && this.getModuleName() === 'autocomplete')) {
|
|
1262
|
-
|
|
1263
|
+
if (this.getModuleName() === 'multiselect' && this.isCheckBoxSelection && this.appendUncheckList && this.list && this.list.querySelector('.e-active')) {
|
|
1264
|
+
virtualUlElement.appendChild(ulElement);
|
|
1265
|
+
isCheckBoxUpdate = true;
|
|
1266
|
+
}
|
|
1267
|
+
else {
|
|
1268
|
+
virtualUlElement.replaceChild(ulElement, oldUlElement);
|
|
1269
|
+
}
|
|
1263
1270
|
var reOrderList = this.list.querySelectorAll('.e-reorder');
|
|
1264
1271
|
if (this.list.querySelector('.e-virtual-ddl-content') && reOrderList && reOrderList.length > 0 && !isCheckBoxUpdate) {
|
|
1265
1272
|
this.list.querySelector('.e-virtual-ddl-content').removeChild(reOrderList[0]);
|
|
@@ -1472,6 +1479,7 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
1472
1479
|
this.updateFields(this.fields.text, this.fields.text);
|
|
1473
1480
|
}
|
|
1474
1481
|
else if (!this.fields.value && !this.fields.text) {
|
|
1482
|
+
this.isPrimitiveData = true;
|
|
1475
1483
|
this.updateFields('text', 'text');
|
|
1476
1484
|
}
|
|
1477
1485
|
};
|
|
@@ -1519,6 +1527,7 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
1519
1527
|
};
|
|
1520
1528
|
DropDownBase.prototype.setUpdateInitial = function (props, newProp, oldProp) {
|
|
1521
1529
|
this.isDataFetched = false;
|
|
1530
|
+
this.isPrimitiveData = false;
|
|
1522
1531
|
var updateData = {};
|
|
1523
1532
|
for (var j = 0; props.length > j; j++) {
|
|
1524
1533
|
if (newProp[props[j]] && props[j] === 'fields') {
|
|
@@ -1498,7 +1498,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
1498
1498
|
else {
|
|
1499
1499
|
this.setSelectOptions(li, e);
|
|
1500
1500
|
if (this.enableVirtualization && this.value) {
|
|
1501
|
-
var fields =
|
|
1501
|
+
var fields = !this.isPrimitiveData ? this.fields.value : '';
|
|
1502
1502
|
var currentValue = this.allowObjectBinding && !isNullOrUndefined(this.value) ?
|
|
1503
1503
|
getValue((this.fields.value) ? this.fields.value : '', this.value) : this.value;
|
|
1504
1504
|
if (this.dataSource instanceof DataManager) {
|
|
@@ -273,7 +273,7 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
273
273
|
}
|
|
274
274
|
else {
|
|
275
275
|
if (!isNOU(this.element.id)) {
|
|
276
|
-
this.inputEle = this.createElement('input', { attrs: { role: 'textbox', type: 'text', id: this.element.id } });
|
|
276
|
+
this.inputEle = this.createElement('input', { attrs: { role: 'textbox', type: 'text', id: this.element.id + '_textbox' } });
|
|
277
277
|
}
|
|
278
278
|
else {
|
|
279
279
|
this.inputEle = this.createElement('input', { attrs: { role: 'textbox', type: 'text' } });
|
|
@@ -1536,6 +1536,9 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
1536
1536
|
var id = this.value[0].toString();
|
|
1537
1537
|
if (this.treeObj.selectedNodes[0] !== id) {
|
|
1538
1538
|
setValue('selectedNodes', [id], this.treeObj);
|
|
1539
|
+
if (this.fields.dataSource instanceof DataManager) {
|
|
1540
|
+
this.updateSelectedValues();
|
|
1541
|
+
}
|
|
1539
1542
|
}
|
|
1540
1543
|
}
|
|
1541
1544
|
else {
|
|
@@ -317,7 +317,10 @@ var CheckBoxSelection = /** @class */ (function () {
|
|
|
317
317
|
this.parent.refreshPopup();
|
|
318
318
|
this.clearIconElement.style.visibility = 'hidden';
|
|
319
319
|
this.filterInput.focus();
|
|
320
|
-
this.
|
|
320
|
+
if (!this.parent.enableVirtualization || (this.parent.enableVirtualization && (isNullOrUndefined(this.parent.value)
|
|
321
|
+
|| (this.parent.value && this.parent.value.length === 0)))) {
|
|
322
|
+
this.setReorder(e);
|
|
323
|
+
}
|
|
321
324
|
this.boundPreventListSelection = this.preventListSelection.bind(this);
|
|
322
325
|
this.parent.popupWrapper.addEventListener('mouseup', this.boundPreventListSelection, true);
|
|
323
326
|
e.preventDefault();
|
|
@@ -484,7 +484,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
484
484
|
};
|
|
485
485
|
MultiSelect.prototype.getForQuery = function (valuecheck, isCheckbox) {
|
|
486
486
|
var predicate;
|
|
487
|
-
var field =
|
|
487
|
+
var field = this.isPrimitiveData ? '' : this.fields.value;
|
|
488
488
|
if (this.enableVirtualization && valuecheck) {
|
|
489
489
|
if (isCheckbox) {
|
|
490
490
|
for (var i = 0; i < valuecheck.length; i++) {
|
|
@@ -927,32 +927,48 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
927
927
|
if (this.targetElement().trim() === '') {
|
|
928
928
|
var list = this.enableVirtualization ? this.list.cloneNode(true) : this.mainList.cloneNode ?
|
|
929
929
|
this.mainList.cloneNode(true) : this.mainList;
|
|
930
|
-
if (this.backCommand) {
|
|
930
|
+
if (this.backCommand || (this.enableVirtualization && this.mode === 'CheckBox' && this.value && this.value.length > 0)) {
|
|
931
931
|
this.remoteCustomValue = false;
|
|
932
|
+
var isReordered = false;
|
|
932
933
|
if (this.allowCustomValue && list.querySelectorAll('li').length === 0 && this.mainData.length > 0) {
|
|
933
934
|
this.mainData = [];
|
|
934
935
|
}
|
|
935
936
|
if (this.enableVirtualization) {
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
this.
|
|
941
|
-
this.totalItemCount;
|
|
937
|
+
if (this.allowFiltering) {
|
|
938
|
+
this.isPreventScrollAction = true;
|
|
939
|
+
this.list.scrollTop = 0;
|
|
940
|
+
this.previousStartIndex = 0;
|
|
941
|
+
this.virtualListInfo = null;
|
|
942
942
|
}
|
|
943
|
-
this.
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
943
|
+
if (this.value && this.value.length > 0 && this.mode === 'CheckBox') {
|
|
944
|
+
this.notify('setCurrentViewDataAsync', {
|
|
945
|
+
component: this.getModuleName(),
|
|
946
|
+
module: 'VirtualScroll'
|
|
947
|
+
});
|
|
948
|
+
isReordered = true;
|
|
949
|
+
}
|
|
950
|
+
else {
|
|
951
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
952
|
+
this.totalItemCount = this.dataSource && this.dataSource.length ? this.dataSource.length : 0;
|
|
953
|
+
this.resetList(dataSource, fields, query);
|
|
954
|
+
if (this.mode !== 'CheckBox') {
|
|
955
|
+
this.totalItemCount = this.value && this.value.length ? this.totalItemCount - this.value.length :
|
|
956
|
+
this.totalItemCount;
|
|
950
957
|
}
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
958
|
+
this.UpdateSkeleton();
|
|
959
|
+
if ((isNoData || this.allowCustomValue) && !this.list.classList.contains(dropDownBaseClasses.noData)) {
|
|
960
|
+
if (!this.list.querySelector('.e-virtual-ddl-content')) {
|
|
961
|
+
this.list.appendChild(this.createElement('div', {
|
|
962
|
+
className: 'e-virtual-ddl-content',
|
|
963
|
+
styles: this.getTransformValues()
|
|
964
|
+
})).appendChild(this.list.querySelector('.e-list-parent'));
|
|
965
|
+
}
|
|
966
|
+
if (!this.list.querySelector('.e-virtual-ddl')) {
|
|
967
|
+
var virualElement = this.createElement('div', {
|
|
968
|
+
id: this.element.id + '_popup', className: 'e-virtual-ddl', styles: this.GetVirtualTrackHeight()
|
|
969
|
+
});
|
|
970
|
+
document.getElementsByClassName('e-multi-select-list-wrapper')[0].querySelector('.e-dropdownbase').appendChild(virualElement);
|
|
971
|
+
}
|
|
956
972
|
}
|
|
957
973
|
}
|
|
958
974
|
}
|
|
@@ -963,7 +979,9 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
963
979
|
if (this.keyCode !== 8) {
|
|
964
980
|
this.focusAtFirstListItem();
|
|
965
981
|
}
|
|
966
|
-
|
|
982
|
+
if (!isReordered) {
|
|
983
|
+
this.notify('reOrder', { module: 'CheckBoxSelection', enable: this.mode === 'CheckBox', e: this });
|
|
984
|
+
}
|
|
967
985
|
}
|
|
968
986
|
}
|
|
969
987
|
else {
|
|
@@ -972,6 +990,9 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
972
990
|
this.list.scrollTop = 0;
|
|
973
991
|
this.previousStartIndex = 0;
|
|
974
992
|
this.virtualListInfo = null;
|
|
993
|
+
if (this.list.querySelector('.e-list-parent' + '.e-reorder')) {
|
|
994
|
+
this.list.querySelector('.e-list-parent' + '.e-reorder').remove();
|
|
995
|
+
}
|
|
975
996
|
}
|
|
976
997
|
this.resetList(dataSource, fields, query);
|
|
977
998
|
if (this.enableVirtualization && (isNoData || this.allowCustomValue) &&
|
|
@@ -3149,6 +3170,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3149
3170
|
MultiSelect.prototype.clearAll = function (e) {
|
|
3150
3171
|
if (this.enabled && !this.readonly) {
|
|
3151
3172
|
var temp = void 0;
|
|
3173
|
+
this.setDynValue = false;
|
|
3152
3174
|
if (this.value && this.value.length > 0) {
|
|
3153
3175
|
if (this.allowFiltering) {
|
|
3154
3176
|
this.refreshListItems(null);
|
|
@@ -3490,7 +3512,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3490
3512
|
endIndex: this.itemCount
|
|
3491
3513
|
};
|
|
3492
3514
|
};
|
|
3493
|
-
MultiSelect.prototype.updateData = function (delimiterChar, e) {
|
|
3515
|
+
MultiSelect.prototype.updateData = function (delimiterChar, e, isInitialVirtualData) {
|
|
3494
3516
|
var data = '';
|
|
3495
3517
|
var delim = this.mode === 'Delimiter' || this.mode === 'CheckBox';
|
|
3496
3518
|
var text = [];
|
|
@@ -3533,8 +3555,8 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3533
3555
|
text = this_1.text.split(delimiterChar);
|
|
3534
3556
|
}
|
|
3535
3557
|
else {
|
|
3536
|
-
temp = this_1.getTextByValue(value);
|
|
3537
|
-
var textValues = this_1.text
|
|
3558
|
+
temp = isInitialVirtualData && delim ? this_1.text : this_1.getTextByValue(value);
|
|
3559
|
+
var textValues = isInitialVirtualData ? this_1.text : (this_1.text && this_1.text !== '' ? this_1.text + ',' + temp : temp);
|
|
3538
3560
|
data += temp + delimiterChar + ' ';
|
|
3539
3561
|
text.push(textValues);
|
|
3540
3562
|
hiddenElementContent = this_1.hiddenElement.innerHTML;
|
|
@@ -3665,8 +3687,11 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3665
3687
|
text = null;
|
|
3666
3688
|
if (listItems != null && listItems.length > 0) {
|
|
3667
3689
|
for (var i = 0; i < listItems.length; i++) {
|
|
3668
|
-
if (
|
|
3669
|
-
|
|
3690
|
+
if ((this.isPrimitiveData && listItems[i] === value) || (!this.isPrimitiveData
|
|
3691
|
+
&& getValue((this.fields.value ? this.fields.value :
|
|
3692
|
+
'value'), listItems[i]) === value)) {
|
|
3693
|
+
text = this.isPrimitiveData ? listItems[i] :
|
|
3694
|
+
getValue(this.fields.text, listItems[i]);
|
|
3670
3695
|
if (this.enableVirtualization) {
|
|
3671
3696
|
if (isNullOrUndefined(this.selectedListData)) {
|
|
3672
3697
|
this.selectedListData = [listItems[i]];
|
|
@@ -3752,7 +3777,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3752
3777
|
this.refreshInputHight();
|
|
3753
3778
|
}
|
|
3754
3779
|
else {
|
|
3755
|
-
this.updateDelimeter(this.delimiterChar);
|
|
3780
|
+
this.updateDelimeter(this.delimiterChar, null, isInitialVirtualData);
|
|
3756
3781
|
}
|
|
3757
3782
|
if (this.mode === 'CheckBox' && this.showSelectAll && (isNullOrUndefined(this.value) || !this.value.length)) {
|
|
3758
3783
|
this.notify('checkSelectAll', { module: 'CheckBoxSelection', enable: this.mode === 'CheckBox', value: 'uncheck' });
|
|
@@ -3964,8 +3989,8 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3964
3989
|
this.selectedElementID = element.id;
|
|
3965
3990
|
}
|
|
3966
3991
|
};
|
|
3967
|
-
MultiSelect.prototype.updateDelimeter = function (delimChar, e) {
|
|
3968
|
-
this.updateData(delimChar, e);
|
|
3992
|
+
MultiSelect.prototype.updateDelimeter = function (delimChar, e, isInitialVirtualData) {
|
|
3993
|
+
this.updateData(delimChar, e, isInitialVirtualData);
|
|
3969
3994
|
};
|
|
3970
3995
|
MultiSelect.prototype.onMouseClick = function (e) {
|
|
3971
3996
|
var _this = this;
|
|
@@ -5714,7 +5739,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5714
5739
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5715
5740
|
var listItems_2;
|
|
5716
5741
|
if (this.enableVirtualization) {
|
|
5717
|
-
var fields =
|
|
5742
|
+
var fields = !this.isPrimitiveData ? this.fields.value : '';
|
|
5718
5743
|
var predicate = void 0;
|
|
5719
5744
|
for (var i = 0; i < this.value.length; i++) {
|
|
5720
5745
|
var value = this.allowObjectBinding ?
|
|
@@ -5746,7 +5771,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5746
5771
|
}
|
|
5747
5772
|
}
|
|
5748
5773
|
if (!(this.dataSource instanceof DataManager)) {
|
|
5749
|
-
this.initialValueUpdate(listItems_2);
|
|
5774
|
+
this.initialValueUpdate(listItems_2, true);
|
|
5750
5775
|
this.initialUpdate();
|
|
5751
5776
|
}
|
|
5752
5777
|
else {
|
|
@@ -2520,19 +2520,19 @@ ejs-multiselect {
|
|
|
2520
2520
|
}
|
|
2521
2521
|
|
|
2522
2522
|
.e-multi-select-wrapper input.e-dropdownbase:-moz-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2523
|
-
color: rgba(var(--color-sf-
|
|
2523
|
+
color: rgba(var(--color-sf-outline));
|
|
2524
2524
|
}
|
|
2525
2525
|
|
|
2526
2526
|
.e-multi-select-wrapper input.e-dropdownbase::-moz-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2527
|
-
color: rgba(var(--color-sf-
|
|
2527
|
+
color: rgba(var(--color-sf-outline));
|
|
2528
2528
|
}
|
|
2529
2529
|
|
|
2530
2530
|
.e-multi-select-wrapper input.e-dropdownbase:-ms-input-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2531
|
-
color: rgba(var(--color-sf-
|
|
2531
|
+
color: rgba(var(--color-sf-outline));
|
|
2532
2532
|
}
|
|
2533
2533
|
|
|
2534
2534
|
.e-multi-select-wrapper input.e-dropdownbase::-webkit-input-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2535
|
-
color: rgba(var(--color-sf-
|
|
2535
|
+
color: rgba(var(--color-sf-outline));
|
|
2536
2536
|
}
|
|
2537
2537
|
|
|
2538
2538
|
.e-ul.e-reorder {
|
|
@@ -2753,19 +2753,19 @@ ejs-multiselect {
|
|
|
2753
2753
|
}
|
|
2754
2754
|
|
|
2755
2755
|
.e-multi-select-wrapper input.e-dropdownbase:-moz-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2756
|
-
color: rgba(var(--color-sf-
|
|
2756
|
+
color: rgba(var(--color-sf-outline));
|
|
2757
2757
|
}
|
|
2758
2758
|
|
|
2759
2759
|
.e-multi-select-wrapper input.e-dropdownbase::-moz-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2760
|
-
color: rgba(var(--color-sf-
|
|
2760
|
+
color: rgba(var(--color-sf-outline));
|
|
2761
2761
|
}
|
|
2762
2762
|
|
|
2763
2763
|
.e-multi-select-wrapper input.e-dropdownbase:-ms-input-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2764
|
-
color: rgba(var(--color-sf-
|
|
2764
|
+
color: rgba(var(--color-sf-outline));
|
|
2765
2765
|
}
|
|
2766
2766
|
|
|
2767
2767
|
.e-multi-select-wrapper input.e-dropdownbase::-webkit-input-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2768
|
-
color: rgba(var(--color-sf-
|
|
2768
|
+
color: rgba(var(--color-sf-outline));
|
|
2769
2769
|
}
|
|
2770
2770
|
|
|
2771
2771
|
.e-ul.e-reorder {
|
|
@@ -2522,19 +2522,19 @@ ejs-multiselect {
|
|
|
2522
2522
|
}
|
|
2523
2523
|
|
|
2524
2524
|
.e-multi-select-wrapper input.e-dropdownbase:-moz-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2525
|
-
color: rgba(var(--color-sf-
|
|
2525
|
+
color: rgba(var(--color-sf-outline));
|
|
2526
2526
|
}
|
|
2527
2527
|
|
|
2528
2528
|
.e-multi-select-wrapper input.e-dropdownbase::-moz-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2529
|
-
color: rgba(var(--color-sf-
|
|
2529
|
+
color: rgba(var(--color-sf-outline));
|
|
2530
2530
|
}
|
|
2531
2531
|
|
|
2532
2532
|
.e-multi-select-wrapper input.e-dropdownbase:-ms-input-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2533
|
-
color: rgba(var(--color-sf-
|
|
2533
|
+
color: rgba(var(--color-sf-outline));
|
|
2534
2534
|
}
|
|
2535
2535
|
|
|
2536
2536
|
.e-multi-select-wrapper input.e-dropdownbase::-webkit-input-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2537
|
-
color: rgba(var(--color-sf-
|
|
2537
|
+
color: rgba(var(--color-sf-outline));
|
|
2538
2538
|
}
|
|
2539
2539
|
|
|
2540
2540
|
.e-ul.e-reorder {
|
package/styles/material3.css
CHANGED
|
@@ -2755,19 +2755,19 @@ ejs-multiselect {
|
|
|
2755
2755
|
}
|
|
2756
2756
|
|
|
2757
2757
|
.e-multi-select-wrapper input.e-dropdownbase:-moz-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2758
|
-
color: rgba(var(--color-sf-
|
|
2758
|
+
color: rgba(var(--color-sf-outline));
|
|
2759
2759
|
}
|
|
2760
2760
|
|
|
2761
2761
|
.e-multi-select-wrapper input.e-dropdownbase::-moz-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2762
|
-
color: rgba(var(--color-sf-
|
|
2762
|
+
color: rgba(var(--color-sf-outline));
|
|
2763
2763
|
}
|
|
2764
2764
|
|
|
2765
2765
|
.e-multi-select-wrapper input.e-dropdownbase:-ms-input-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2766
|
-
color: rgba(var(--color-sf-
|
|
2766
|
+
color: rgba(var(--color-sf-outline));
|
|
2767
2767
|
}
|
|
2768
2768
|
|
|
2769
2769
|
.e-multi-select-wrapper input.e-dropdownbase::-webkit-input-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
2770
|
-
color: rgba(var(--color-sf-
|
|
2770
|
+
color: rgba(var(--color-sf-outline));
|
|
2771
2771
|
}
|
|
2772
2772
|
|
|
2773
2773
|
.e-ul.e-reorder {
|
|
@@ -99,7 +99,7 @@ $ddl-popup-active-focus-font-color: rgba($flyout-text-color-selected) !default;
|
|
|
99
99
|
$ddl-popup-active-focus-border-color: $transparent !default;
|
|
100
100
|
$ddl-popup-active-focus-border-width: 1px !default;
|
|
101
101
|
$ddl-popup-active-focus-shadow-item: none !default;
|
|
102
|
-
$ddl-input-placeholder: rgba($
|
|
102
|
+
$ddl-input-placeholder: rgba($border) !default;
|
|
103
103
|
$ddl-popup-active-border-color: rgba($primary) !default;
|
|
104
104
|
$ddl-popup-active-border-width: 1px !default;
|
|
105
105
|
$ddl-delim-text-indent: 0 !default;
|
|
@@ -1557,19 +1557,19 @@ ejs-multiselect {
|
|
|
1557
1557
|
}
|
|
1558
1558
|
|
|
1559
1559
|
.e-multi-select-wrapper input.e-dropdownbase:-moz-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
1560
|
-
color: rgba(var(--color-sf-
|
|
1560
|
+
color: rgba(var(--color-sf-outline));
|
|
1561
1561
|
}
|
|
1562
1562
|
|
|
1563
1563
|
.e-multi-select-wrapper input.e-dropdownbase::-moz-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
1564
|
-
color: rgba(var(--color-sf-
|
|
1564
|
+
color: rgba(var(--color-sf-outline));
|
|
1565
1565
|
}
|
|
1566
1566
|
|
|
1567
1567
|
.e-multi-select-wrapper input.e-dropdownbase:-ms-input-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
1568
|
-
color: rgba(var(--color-sf-
|
|
1568
|
+
color: rgba(var(--color-sf-outline));
|
|
1569
1569
|
}
|
|
1570
1570
|
|
|
1571
1571
|
.e-multi-select-wrapper input.e-dropdownbase::-webkit-input-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
1572
|
-
color: rgba(var(--color-sf-
|
|
1572
|
+
color: rgba(var(--color-sf-outline));
|
|
1573
1573
|
}
|
|
1574
1574
|
|
|
1575
1575
|
.e-ul.e-reorder {
|
|
@@ -1559,19 +1559,19 @@ ejs-multiselect {
|
|
|
1559
1559
|
}
|
|
1560
1560
|
|
|
1561
1561
|
.e-multi-select-wrapper input.e-dropdownbase:-moz-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
1562
|
-
color: rgba(var(--color-sf-
|
|
1562
|
+
color: rgba(var(--color-sf-outline));
|
|
1563
1563
|
}
|
|
1564
1564
|
|
|
1565
1565
|
.e-multi-select-wrapper input.e-dropdownbase::-moz-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
1566
|
-
color: rgba(var(--color-sf-
|
|
1566
|
+
color: rgba(var(--color-sf-outline));
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
1569
1569
|
.e-multi-select-wrapper input.e-dropdownbase:-ms-input-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
1570
|
-
color: rgba(var(--color-sf-
|
|
1570
|
+
color: rgba(var(--color-sf-outline));
|
|
1571
1571
|
}
|
|
1572
1572
|
|
|
1573
1573
|
.e-multi-select-wrapper input.e-dropdownbase::-webkit-input-placeholder { /* stylelint-disable-line selector-no-vendor-prefix */
|
|
1574
|
-
color: rgba(var(--color-sf-
|
|
1574
|
+
color: rgba(var(--color-sf-outline));
|
|
1575
1575
|
}
|
|
1576
1576
|
|
|
1577
1577
|
.e-ul.e-reorder {
|