@syncfusion/ej2-dropdowns 28.2.5 → 28.2.7
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 +51 -25
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +51 -25
- 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 +7 -7
- package/src/drop-down-base/drop-down-base.js +2 -1
- package/src/drop-down-tree/drop-down-tree.d.ts +2 -0
- package/src/drop-down-tree/drop-down-tree.js +33 -17
- package/src/mention/mention.js +3 -2
- package/src/multi-select/multi-select.d.ts +1 -0
- package/src/multi-select/multi-select.js +13 -5
- package/styles/bds-lite.css +9 -2
- package/styles/bds.css +19 -4
- package/styles/bootstrap-dark-lite.css +7 -0
- package/styles/bootstrap-dark.css +22 -0
- package/styles/bootstrap-lite.css +7 -0
- package/styles/bootstrap.css +22 -0
- package/styles/bootstrap4-lite.css +8 -1
- package/styles/bootstrap4.css +24 -2
- package/styles/bootstrap5-dark-lite.css +8 -1
- package/styles/bootstrap5-dark.css +17 -2
- package/styles/bootstrap5-lite.css +8 -1
- package/styles/bootstrap5.3-lite.css +8 -1
- package/styles/bootstrap5.3.css +24 -2
- package/styles/bootstrap5.css +17 -2
- package/styles/drop-down-tree/_bds-definition.scss +12 -3
- package/styles/drop-down-tree/_bigger.scss +12 -12
- package/styles/drop-down-tree/_bootstrap-dark-definition.scss +9 -0
- package/styles/drop-down-tree/_bootstrap-definition.scss +10 -1
- package/styles/drop-down-tree/_bootstrap4-definition.scss +12 -3
- package/styles/drop-down-tree/_bootstrap5-definition.scss +10 -2
- package/styles/drop-down-tree/_bootstrap5.3-definition.scss +10 -2
- package/styles/drop-down-tree/_fabric-dark-definition.scss +9 -0
- package/styles/drop-down-tree/_fabric-definition.scss +9 -0
- package/styles/drop-down-tree/_fluent-definition.scss +10 -2
- package/styles/drop-down-tree/_fluent2-definition.scss +12 -3
- package/styles/drop-down-tree/_fusionnew-definition.scss +9 -0
- package/styles/drop-down-tree/_highcontrast-definition.scss +10 -1
- package/styles/drop-down-tree/_highcontrast-light-definition.scss +9 -0
- package/styles/drop-down-tree/_layout.scss +9 -5
- package/styles/drop-down-tree/_material-dark-definition.scss +10 -1
- package/styles/drop-down-tree/_material-definition.scss +10 -1
- package/styles/drop-down-tree/_material3-definition.scss +11 -2
- package/styles/drop-down-tree/_tailwind-definition.scss +11 -3
- package/styles/drop-down-tree/_tailwind3-definition.scss +9 -1
- package/styles/drop-down-tree/bds.css +19 -4
- package/styles/drop-down-tree/bootstrap-dark.css +22 -0
- package/styles/drop-down-tree/bootstrap.css +22 -0
- package/styles/drop-down-tree/bootstrap4.css +24 -2
- package/styles/drop-down-tree/bootstrap5-dark.css +17 -2
- package/styles/drop-down-tree/bootstrap5.3.css +24 -2
- package/styles/drop-down-tree/bootstrap5.css +17 -2
- package/styles/drop-down-tree/fabric-dark.css +22 -0
- package/styles/drop-down-tree/fabric.css +22 -0
- package/styles/drop-down-tree/fluent-dark.css +17 -2
- package/styles/drop-down-tree/fluent.css +17 -2
- package/styles/drop-down-tree/fluent2.css +25 -3
- package/styles/drop-down-tree/highcontrast-light.css +22 -0
- package/styles/drop-down-tree/highcontrast.css +23 -1
- package/styles/drop-down-tree/material-dark.css +22 -0
- package/styles/drop-down-tree/material.css +23 -1
- package/styles/drop-down-tree/material3-dark.css +24 -2
- package/styles/drop-down-tree/material3.css +24 -2
- package/styles/drop-down-tree/tailwind-dark.css +19 -4
- package/styles/drop-down-tree/tailwind.css +19 -4
- package/styles/drop-down-tree/tailwind3.css +22 -1
- package/styles/fabric-dark-lite.css +7 -0
- package/styles/fabric-dark.css +22 -0
- package/styles/fabric-lite.css +7 -0
- package/styles/fabric.css +22 -0
- package/styles/fluent-dark-lite.css +8 -1
- package/styles/fluent-dark.css +17 -2
- package/styles/fluent-lite.css +8 -1
- package/styles/fluent.css +17 -2
- package/styles/fluent2-lite.css +9 -2
- package/styles/fluent2.css +25 -3
- package/styles/highcontrast-light-lite.css +7 -0
- package/styles/highcontrast-light.css +22 -0
- package/styles/highcontrast-lite.css +8 -1
- package/styles/highcontrast.css +23 -1
- package/styles/material-dark-lite.css +7 -0
- package/styles/material-dark.css +22 -0
- package/styles/material-lite.css +8 -1
- package/styles/material.css +23 -1
- package/styles/material3-dark-lite.css +8 -1
- package/styles/material3-dark.css +24 -2
- package/styles/material3-lite.css +8 -1
- package/styles/material3.css +24 -2
- package/styles/tailwind-dark-lite.css +9 -2
- package/styles/tailwind-dark.css +19 -4
- package/styles/tailwind-lite.css +9 -2
- package/styles/tailwind.css +19 -4
- package/styles/tailwind3-lite.css +6 -0
- package/styles/tailwind3.css +22 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 28.2.
|
|
3
|
+
* version : 28.2.7
|
|
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.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-dropdowns@28.2.6",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-uQKSk32QXmelpo0QLO6+UsNx7Yj7Tk46Vx54YMsdNAX3hpLdsbEMH9XWfQ2z5MXDKiaWkBl1ajla5tNyWhO6bw==",
|
|
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-28.2.
|
|
40
|
-
"_shasum": "
|
|
39
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-28.2.6.tgz",
|
|
40
|
+
"_shasum": "f672e6edcd41527eec728f607fdb583708c8b567",
|
|
41
41
|
"_spec": "@syncfusion/ej2-dropdowns@*",
|
|
42
42
|
"_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
|
|
43
43
|
"author": {
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"@syncfusion/ej2-data": "~28.2.3",
|
|
50
50
|
"@syncfusion/ej2-inputs": "~28.2.3",
|
|
51
51
|
"@syncfusion/ej2-lists": "~28.2.3",
|
|
52
|
-
"@syncfusion/ej2-navigations": "~28.2.
|
|
52
|
+
"@syncfusion/ej2-navigations": "~28.2.6",
|
|
53
53
|
"@syncfusion/ej2-notifications": "~28.2.3",
|
|
54
|
-
"@syncfusion/ej2-popups": "~28.2.
|
|
54
|
+
"@syncfusion/ej2-popups": "~28.2.6"
|
|
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": "28.2.
|
|
79
|
+
"version": "28.2.7",
|
|
80
80
|
"sideEffects": false,
|
|
81
81
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
82
82
|
}
|
|
@@ -450,7 +450,8 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
450
450
|
};
|
|
451
451
|
DropDownBase.prototype.getSkeletonCount = function (retainSkeleton) {
|
|
452
452
|
this.virtualListHeight = this.listContainerHeight != null ? parseInt(this.listContainerHeight, 10) : this.virtualListHeight;
|
|
453
|
-
var actualCount = this.virtualListHeight > 0
|
|
453
|
+
var actualCount = this.virtualListHeight > 0 && this.listItemHeight > 0 ?
|
|
454
|
+
Math.floor(this.virtualListHeight / this.listItemHeight) : 0;
|
|
454
455
|
this.skeletonCount = actualCount * 4 < this.itemCount ? this.itemCount : actualCount * 4;
|
|
455
456
|
this.itemCount = retainSkeleton ? this.itemCount : this.skeletonCount;
|
|
456
457
|
this.virtualItemCount = this.itemCount;
|
|
@@ -826,6 +826,8 @@ export declare class DropDownTree extends Component<HTMLElement> implements INot
|
|
|
826
826
|
private getChildType;
|
|
827
827
|
private renderTree;
|
|
828
828
|
private renderPopup;
|
|
829
|
+
private removeFocus;
|
|
830
|
+
private updateFocus;
|
|
829
831
|
private reactCallBack;
|
|
830
832
|
private updatePopupHeight;
|
|
831
833
|
private createPopup;
|
|
@@ -1715,11 +1715,9 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
1715
1715
|
removeClass([_this.popupEle], DDTHIDEICON);
|
|
1716
1716
|
_this.updatePopupHeight();
|
|
1717
1717
|
_this.popupObj.refreshPosition();
|
|
1718
|
-
if (_this.showSelectAll && !_this.
|
|
1719
|
-
_this.
|
|
1720
|
-
|
|
1721
|
-
if ((!_this.popupDiv.classList.contains(NODATA) && _this.treeItems.length > 0)) {
|
|
1722
|
-
var focusedElement = _this.value != null || _this.text != null ? _this.treeObj.element.querySelector('[data-uid="' + _this.value[0] + '"]') : null;
|
|
1718
|
+
if (!(_this.showSelectAll || _this.allowFiltering) && (!_this.popupDiv.classList.contains(NODATA)
|
|
1719
|
+
&& _this.treeItems.length > 0)) {
|
|
1720
|
+
var focusedElement = _this.value != null && _this.text != null ? _this.treeObj.element.querySelector('[data-uid="' + _this.value[0] + '"]') : null;
|
|
1723
1721
|
if (focusedElement) {
|
|
1724
1722
|
_this.treeObj.element.querySelector('li').setAttribute('tabindex', '-1');
|
|
1725
1723
|
focusedElement.setAttribute('tabindex', '0');
|
|
@@ -1728,17 +1726,9 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
1728
1726
|
var oldFocussedNode = _this.treeObj.element.querySelector('.e-node-focus');
|
|
1729
1727
|
focusedElement = _this.treeObj.element.querySelector('li[tabindex="0"]:not(.e-disable)') ||
|
|
1730
1728
|
_this.treeObj.element.querySelector('li:not(.e-disable)');
|
|
1731
|
-
|
|
1732
|
-
oldFocussedNode.setAttribute('tabindex', '-1');
|
|
1733
|
-
removeClass([oldFocussedNode], 'e-node-focus');
|
|
1734
|
-
}
|
|
1735
|
-
}
|
|
1736
|
-
if (!isNOU(focusedElement)) {
|
|
1737
|
-
if (!_this.allowFiltering) {
|
|
1738
|
-
focusedElement.focus();
|
|
1739
|
-
}
|
|
1740
|
-
addClass([focusedElement], ['e-node-focus']);
|
|
1729
|
+
_this.removeFocus(focusedElement, oldFocussedNode);
|
|
1741
1730
|
}
|
|
1731
|
+
_this.updateFocus(focusedElement);
|
|
1742
1732
|
}
|
|
1743
1733
|
if (_this.treeObj.checkedNodes.length > 0 && !_this.isFilterRestore) {
|
|
1744
1734
|
var nodes = _this.treeObj.element.querySelectorAll('li');
|
|
@@ -1749,7 +1739,17 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
1749
1739
|
_this.checkSelectAll = false;
|
|
1750
1740
|
}
|
|
1751
1741
|
}
|
|
1742
|
+
if (_this.showSelectAll && !_this.allowFiltering) {
|
|
1743
|
+
var oldFocussedNode = _this.treeObj.element.querySelector('.e-node-focus');
|
|
1744
|
+
var focusedElement = _this.popupEle.querySelector('.e-selectall-parent');
|
|
1745
|
+
_this.removeFocus(focusedElement, oldFocussedNode);
|
|
1746
|
+
_this.updateFocus(focusedElement);
|
|
1747
|
+
}
|
|
1752
1748
|
if (_this.allowFiltering) {
|
|
1749
|
+
var focusedElement = _this.treeObj.element.querySelector('li.e-node-focus');
|
|
1750
|
+
if (!isNOU(focusedElement)) {
|
|
1751
|
+
removeClass([focusedElement], 'e-node-focus');
|
|
1752
|
+
}
|
|
1753
1753
|
removeClass([_this.inputWrapper], [INPUTFOCUS]);
|
|
1754
1754
|
_this.filterObj.element.focus();
|
|
1755
1755
|
}
|
|
@@ -1758,6 +1758,18 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
1758
1758
|
}
|
|
1759
1759
|
});
|
|
1760
1760
|
};
|
|
1761
|
+
DropDownTree.prototype.removeFocus = function (focusedElement, oldFocusedElement) {
|
|
1762
|
+
if (oldFocusedElement && oldFocusedElement !== focusedElement) {
|
|
1763
|
+
oldFocusedElement.setAttribute('tabindex', '-1');
|
|
1764
|
+
removeClass([oldFocusedElement], 'e-node-focus');
|
|
1765
|
+
}
|
|
1766
|
+
};
|
|
1767
|
+
DropDownTree.prototype.updateFocus = function (focusedElement) {
|
|
1768
|
+
if (!isNOU(focusedElement)) {
|
|
1769
|
+
focusedElement.focus();
|
|
1770
|
+
addClass([focusedElement], ['e-node-focus']);
|
|
1771
|
+
}
|
|
1772
|
+
};
|
|
1761
1773
|
DropDownTree.prototype.reactCallBack = function () {
|
|
1762
1774
|
if (!isNOU(this.popupObj)) {
|
|
1763
1775
|
this.updatePopupHeight();
|
|
@@ -2597,7 +2609,7 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
2597
2609
|
this.chipCollection.appendChild(chip);
|
|
2598
2610
|
if (this.showClearButton) {
|
|
2599
2611
|
chip.appendChild(chipClose);
|
|
2600
|
-
EventHandler.add(chipClose, '
|
|
2612
|
+
EventHandler.add(chipClose, 'mouseup', this.removeChip, this);
|
|
2601
2613
|
}
|
|
2602
2614
|
};
|
|
2603
2615
|
DropDownTree.prototype.setTagValues = function () {
|
|
@@ -2730,6 +2742,10 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
2730
2742
|
if (!this.enabled || this.readonly) {
|
|
2731
2743
|
return;
|
|
2732
2744
|
}
|
|
2745
|
+
if (e.target.classList.contains('e-chips-close') && !this.isPopupOpen) {
|
|
2746
|
+
e.stopPropagation();
|
|
2747
|
+
e.preventDefault();
|
|
2748
|
+
}
|
|
2733
2749
|
var element = e.target.parentElement;
|
|
2734
2750
|
var value = element.getAttribute('data-value');
|
|
2735
2751
|
if (this.chipCollection) {
|
|
@@ -3289,7 +3305,7 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
3289
3305
|
var chipsIcons = selectAll('.e-chips-close', this.chipCollection);
|
|
3290
3306
|
for (var _i = 0, chipsIcons_1 = chipsIcons; _i < chipsIcons_1.length; _i++) {
|
|
3291
3307
|
var element = chipsIcons_1[_i];
|
|
3292
|
-
EventHandler.remove(element, '
|
|
3308
|
+
EventHandler.remove(element, 'mouseup', this.removeChip);
|
|
3293
3309
|
}
|
|
3294
3310
|
}
|
|
3295
3311
|
this.chipWrapper = null;
|
package/src/mention/mention.js
CHANGED
|
@@ -1530,6 +1530,7 @@ var Mention = /** @class */ (function (_super) {
|
|
|
1530
1530
|
this.range = this.getCurrentRange();
|
|
1531
1531
|
}
|
|
1532
1532
|
var currentRange = this.getTextRange();
|
|
1533
|
+
this.queryString = text;
|
|
1533
1534
|
var lastWordRange = this.getLastLetter(currentRange);
|
|
1534
1535
|
if ((this.ignoreCase && (text === lastWordRange || text === lastWordRange.toLowerCase()))
|
|
1535
1536
|
|| !this.ignoreCase && text === lastWordRange) {
|
|
@@ -1545,8 +1546,8 @@ var Mention = /** @class */ (function (_super) {
|
|
|
1545
1546
|
this.renderList();
|
|
1546
1547
|
this.renderPopup();
|
|
1547
1548
|
}
|
|
1548
|
-
else {
|
|
1549
|
-
this.
|
|
1549
|
+
else if (!this.isPopupOpen) {
|
|
1550
|
+
this.renderPopup();
|
|
1550
1551
|
}
|
|
1551
1552
|
this.popupObj.element.style.left = formatUnit(positionX);
|
|
1552
1553
|
this.popupObj.element.style.top = formatUnit(positionY);
|
|
@@ -73,6 +73,7 @@ export declare class MultiSelect extends DropDownBase implements IInput {
|
|
|
73
73
|
private isBlurDispatching;
|
|
74
74
|
private isFilterPrevented;
|
|
75
75
|
private isFilteringAction;
|
|
76
|
+
private isVirtualReorder;
|
|
76
77
|
/**
|
|
77
78
|
* The `fields` property maps the columns of the data table and binds the data to the component.
|
|
78
79
|
* * text - Maps the text column from data table for each list item.
|
|
@@ -106,6 +106,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
106
106
|
_this.isBlurDispatching = false;
|
|
107
107
|
_this.isFilterPrevented = false;
|
|
108
108
|
_this.isFilteringAction = false;
|
|
109
|
+
_this.isVirtualReorder = false;
|
|
109
110
|
_this.isValidKey = false;
|
|
110
111
|
_this.selectAllEventData = [];
|
|
111
112
|
_this.selectAllEventEle = [];
|
|
@@ -303,12 +304,14 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
303
304
|
};
|
|
304
305
|
MultiSelect.prototype.updateVirtualReOrderList = function (isCheckBoxUpdate) {
|
|
305
306
|
var query = this.getForQuery(this.value, true).clone();
|
|
307
|
+
this.isVirtualReorder = true;
|
|
306
308
|
if (this.enableVirtualization && this.dataSource instanceof DataManager) {
|
|
307
309
|
this.resetList(this.selectedListData, this.fields, query);
|
|
308
310
|
}
|
|
309
311
|
else {
|
|
310
312
|
this.resetList(this.dataSource, this.fields, query);
|
|
311
313
|
}
|
|
314
|
+
this.isVirtualReorder = false;
|
|
312
315
|
this.UpdateSkeleton();
|
|
313
316
|
this.liCollections = this.list.querySelectorAll('.' + dropDownBaseClasses.li);
|
|
314
317
|
this.virtualItemCount = this.itemCount;
|
|
@@ -517,10 +520,14 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
517
520
|
var field = this.isPrimitiveData ? '' : this.fields.value;
|
|
518
521
|
if (this.enableVirtualization && valuecheck) {
|
|
519
522
|
if (isCheckbox) {
|
|
520
|
-
|
|
523
|
+
var startindex = this.viewPortInfo.startIndex;
|
|
524
|
+
var endindex = (((startindex + this.viewPortInfo.endIndex) <= (valuecheck.length)) &&
|
|
525
|
+
valuecheck[(startindex + this.viewPortInfo.endIndex)]) ? (startindex + this.viewPortInfo.endIndex)
|
|
526
|
+
: (valuecheck.length);
|
|
527
|
+
for (var i = startindex; i < endindex; i++) {
|
|
521
528
|
var value = this.allowObjectBinding ? getValue((this.fields.value) ?
|
|
522
529
|
this.fields.value : '', valuecheck[i]) : valuecheck[i];
|
|
523
|
-
if (i ===
|
|
530
|
+
if (i === startindex) {
|
|
524
531
|
predicate = new Predicate(field, 'equal', (value));
|
|
525
532
|
}
|
|
526
533
|
else {
|
|
@@ -951,7 +958,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
951
958
|
}
|
|
952
959
|
}
|
|
953
960
|
}
|
|
954
|
-
if ((this.allowFiltering && isSkip) || !isReOrder || (!this.allowFiltering && isSkip)) {
|
|
961
|
+
if ((this.allowFiltering && isSkip) || !isReOrder || (!this.allowFiltering && isSkip) && !this.isVirtualReorder) {
|
|
955
962
|
if (!isReOrder) {
|
|
956
963
|
filterQuery.skip(this.viewPortInfo.startIndex);
|
|
957
964
|
}
|
|
@@ -3669,7 +3676,8 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3669
3676
|
}
|
|
3670
3677
|
else {
|
|
3671
3678
|
temp = isInitialVirtualData && delim ? this_1.text : this_1.getTextByValue(value);
|
|
3672
|
-
var textValues = this_1.isDynamicRemoteVirtualData && value != null && value !== ''
|
|
3679
|
+
var textValues = this_1.isDynamicRemoteVirtualData && value != null && value !== '' && !isInitialVirtualData ?
|
|
3680
|
+
this_1.getTextByValue(value) : isInitialVirtualData ? this_1.text : (this_1.text && this_1.text !== '' ? this_1.text + this_1.delimiterChar + temp : temp);
|
|
3673
3681
|
data += temp + delimiterChar + ' ';
|
|
3674
3682
|
text.push(textValues);
|
|
3675
3683
|
hiddenElementContent = this_1.hiddenElement.innerHTML;
|
|
@@ -3837,7 +3845,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3837
3845
|
(this.mode === 'Box' || this.mode === 'Default'))) ||
|
|
3838
3846
|
(this.enableVirtualization && value != null && text != null && !isCustomData)) {
|
|
3839
3847
|
var currentText = [];
|
|
3840
|
-
var textValues = this.isDynamicRemoteVirtualData && text != null && text !== '' ? text : this.text != null && this.text !== '' ? this.text + this.delimiterChar + text : text;
|
|
3848
|
+
var textValues = this.isDynamicRemoteVirtualData && text != null && text !== '' && index === 0 ? text : this.text != null && this.text !== '' && !this.text.includes(text) ? this.text + this.delimiterChar + text : text;
|
|
3841
3849
|
currentText.push(textValues);
|
|
3842
3850
|
this.setProperties({ text: currentText.toString() }, true);
|
|
3843
3851
|
this.addChip(text, value);
|
package/styles/bds-lite.css
CHANGED
|
@@ -1031,7 +1031,7 @@ ejs-dropdownlist {
|
|
|
1031
1031
|
display: block;
|
|
1032
1032
|
overflow: hidden;
|
|
1033
1033
|
position: relative;
|
|
1034
|
-
text-indent:
|
|
1034
|
+
text-indent: 27px;
|
|
1035
1035
|
white-space: nowrap;
|
|
1036
1036
|
width: 100%;
|
|
1037
1037
|
padding: 8px 12px;
|
|
@@ -1042,6 +1042,7 @@ ejs-dropdownlist {
|
|
|
1042
1042
|
.e-ddt.e-popup .e-selectall-parent .e-checkbox-wrapper {
|
|
1043
1043
|
position: relative;
|
|
1044
1044
|
text-indent: 0;
|
|
1045
|
+
bottom: 0;
|
|
1045
1046
|
}
|
|
1046
1047
|
.e-ddt.e-popup .e-selectall-parent .e-checkbox-wrapper .e-frame {
|
|
1047
1048
|
margin-top: -3px;
|
|
@@ -1049,7 +1050,7 @@ ejs-dropdownlist {
|
|
|
1049
1050
|
.e-ddt.e-popup .e-selectall-parent .e-all-text {
|
|
1050
1051
|
font-family: inherit;
|
|
1051
1052
|
font-size: 14px;
|
|
1052
|
-
margin: 0
|
|
1053
|
+
margin: 0 7px;
|
|
1053
1054
|
line-height: 22px;
|
|
1054
1055
|
}
|
|
1055
1056
|
.e-ddt.e-popup .e-filter-wrap {
|
|
@@ -1154,6 +1155,12 @@ ejs-dropdownlist {
|
|
|
1154
1155
|
.e-ddt.e-rtl.e-popup .e-treeview .e-list-item .e-ul {
|
|
1155
1156
|
padding: 0 14px 0 0;
|
|
1156
1157
|
}
|
|
1158
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent {
|
|
1159
|
+
text-indent: 15px;
|
|
1160
|
+
}
|
|
1161
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent .e-all-text {
|
|
1162
|
+
margin: 0 7px;
|
|
1163
|
+
}
|
|
1157
1164
|
|
|
1158
1165
|
.e-ddt-icon-hide {
|
|
1159
1166
|
display: none;
|
package/styles/bds.css
CHANGED
|
@@ -1264,7 +1264,7 @@ ejs-dropdownlist {
|
|
|
1264
1264
|
display: block;
|
|
1265
1265
|
overflow: hidden;
|
|
1266
1266
|
position: relative;
|
|
1267
|
-
text-indent:
|
|
1267
|
+
text-indent: 27px;
|
|
1268
1268
|
white-space: nowrap;
|
|
1269
1269
|
width: 100%;
|
|
1270
1270
|
padding: 8px 12px;
|
|
@@ -1275,6 +1275,7 @@ ejs-dropdownlist {
|
|
|
1275
1275
|
.e-ddt.e-popup .e-selectall-parent .e-checkbox-wrapper {
|
|
1276
1276
|
position: relative;
|
|
1277
1277
|
text-indent: 0;
|
|
1278
|
+
bottom: 0;
|
|
1278
1279
|
}
|
|
1279
1280
|
.e-ddt.e-popup .e-selectall-parent .e-checkbox-wrapper .e-frame {
|
|
1280
1281
|
margin-top: -3px;
|
|
@@ -1282,7 +1283,7 @@ ejs-dropdownlist {
|
|
|
1282
1283
|
.e-ddt.e-popup .e-selectall-parent .e-all-text {
|
|
1283
1284
|
font-family: inherit;
|
|
1284
1285
|
font-size: 14px;
|
|
1285
|
-
margin: 0
|
|
1286
|
+
margin: 0 7px;
|
|
1286
1287
|
line-height: 22px;
|
|
1287
1288
|
}
|
|
1288
1289
|
.e-ddt.e-popup .e-filter-wrap {
|
|
@@ -1387,6 +1388,12 @@ ejs-dropdownlist {
|
|
|
1387
1388
|
.e-ddt.e-rtl.e-popup .e-treeview .e-list-item .e-ul {
|
|
1388
1389
|
padding: 0 14px 0 0;
|
|
1389
1390
|
}
|
|
1391
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent {
|
|
1392
|
+
text-indent: 15px;
|
|
1393
|
+
}
|
|
1394
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent .e-all-text {
|
|
1395
|
+
margin: 0 7px;
|
|
1396
|
+
}
|
|
1390
1397
|
|
|
1391
1398
|
.e-ddt-icon-hide {
|
|
1392
1399
|
display: none;
|
|
@@ -1519,14 +1526,14 @@ ejs-dropdownlist {
|
|
|
1519
1526
|
}
|
|
1520
1527
|
.e-bigger .e-ddt.e-popup .e-selectall-parent,
|
|
1521
1528
|
.e-ddt.e-bigger.e-popup .e-selectall-parent {
|
|
1522
|
-
text-indent:
|
|
1529
|
+
text-indent: 33px;
|
|
1523
1530
|
padding: 12px 16px;
|
|
1524
1531
|
}
|
|
1525
1532
|
.e-bigger .e-ddt.e-popup .e-selectall-parent .e-all-text,
|
|
1526
1533
|
.e-ddt.e-bigger.e-popup .e-selectall-parent .e-all-text {
|
|
1527
1534
|
font-size: 16px;
|
|
1528
1535
|
line-height: 24px;
|
|
1529
|
-
margin: 0
|
|
1536
|
+
margin: 0 12px;
|
|
1530
1537
|
}
|
|
1531
1538
|
.e-bigger .e-ddt.e-popup .e-popup-content.e-no-data,
|
|
1532
1539
|
.e-ddt.e-bigger.e-popup .e-popup-content.e-no-data {
|
|
@@ -1567,6 +1574,14 @@ ejs-dropdownlist {
|
|
|
1567
1574
|
.e-ddt.e-bigger.e-rtl.e-show-text.e-input-group.e-show-dd-icon .e-clear-icon {
|
|
1568
1575
|
right: auto;
|
|
1569
1576
|
}
|
|
1577
|
+
.e-bigger .e-ddt.e-rtl .e-selectall-parent,
|
|
1578
|
+
.e-ddt.e-bigger.e-rtl .e-selectall-parent {
|
|
1579
|
+
text-indent: 16px;
|
|
1580
|
+
}
|
|
1581
|
+
.e-bigger .e-ddt.e-rtl .e-selectall-parent .e-all-text,
|
|
1582
|
+
.e-ddt.e-bigger.e-rtl .e-selectall-parent .e-all-text {
|
|
1583
|
+
margin: 0 12px;
|
|
1584
|
+
}
|
|
1570
1585
|
|
|
1571
1586
|
/* stylelint-disable-line no-empty-source */
|
|
1572
1587
|
/* stylelint-disable-line no-empty-source */
|
|
@@ -844,6 +844,7 @@ ejs-dropdownlist {
|
|
|
844
844
|
.e-ddt.e-popup .e-selectall-parent .e-checkbox-wrapper {
|
|
845
845
|
position: relative;
|
|
846
846
|
text-indent: 0;
|
|
847
|
+
bottom: 2px;
|
|
847
848
|
}
|
|
848
849
|
.e-ddt.e-popup .e-selectall-parent .e-all-text {
|
|
849
850
|
font-family: inherit;
|
|
@@ -955,6 +956,12 @@ ejs-dropdownlist {
|
|
|
955
956
|
.e-ddt.e-rtl.e-popup .e-treeview .e-list-item .e-ul {
|
|
956
957
|
padding: 0 14px 0 0;
|
|
957
958
|
}
|
|
959
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent {
|
|
960
|
+
text-indent: 38px;
|
|
961
|
+
}
|
|
962
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent .e-all-text {
|
|
963
|
+
margin: 0 10px;
|
|
964
|
+
}
|
|
958
965
|
|
|
959
966
|
.e-ddt-icon-hide {
|
|
960
967
|
display: none;
|
|
@@ -1021,6 +1021,7 @@ ejs-dropdownlist {
|
|
|
1021
1021
|
.e-ddt.e-popup .e-selectall-parent .e-checkbox-wrapper {
|
|
1022
1022
|
position: relative;
|
|
1023
1023
|
text-indent: 0;
|
|
1024
|
+
bottom: 2px;
|
|
1024
1025
|
}
|
|
1025
1026
|
.e-ddt.e-popup .e-selectall-parent .e-all-text {
|
|
1026
1027
|
font-family: inherit;
|
|
@@ -1132,6 +1133,12 @@ ejs-dropdownlist {
|
|
|
1132
1133
|
.e-ddt.e-rtl.e-popup .e-treeview .e-list-item .e-ul {
|
|
1133
1134
|
padding: 0 14px 0 0;
|
|
1134
1135
|
}
|
|
1136
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent {
|
|
1137
|
+
text-indent: 38px;
|
|
1138
|
+
}
|
|
1139
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent .e-all-text {
|
|
1140
|
+
margin: 0 10px;
|
|
1141
|
+
}
|
|
1135
1142
|
|
|
1136
1143
|
.e-ddt-icon-hide {
|
|
1137
1144
|
display: none;
|
|
@@ -1214,6 +1221,13 @@ ejs-dropdownlist {
|
|
|
1214
1221
|
.e-bigger .e-ddt.e-popup .e-selectall-parent,
|
|
1215
1222
|
.e-ddt.e-bigger.e-popup .e-selectall-parent {
|
|
1216
1223
|
text-indent: 43px;
|
|
1224
|
+
padding: 0;
|
|
1225
|
+
}
|
|
1226
|
+
.e-bigger .e-ddt.e-popup .e-selectall-parent .e-all-text,
|
|
1227
|
+
.e-ddt.e-bigger.e-popup .e-selectall-parent .e-all-text {
|
|
1228
|
+
font-size: 16px;
|
|
1229
|
+
line-height: 24px;
|
|
1230
|
+
margin: 0 10px;
|
|
1217
1231
|
}
|
|
1218
1232
|
.e-bigger .e-ddt.e-popup .e-treeview .e-fullrow,
|
|
1219
1233
|
.e-ddt.e-bigger.e-popup .e-treeview .e-fullrow {
|
|
@@ -1240,6 +1254,14 @@ ejs-dropdownlist {
|
|
|
1240
1254
|
left: 38px;
|
|
1241
1255
|
right: auto;
|
|
1242
1256
|
}
|
|
1257
|
+
.e-bigger .e-ddt.e-rtl .e-selectall-parent,
|
|
1258
|
+
.e-ddt.e-bigger.e-rtl .e-selectall-parent {
|
|
1259
|
+
text-indent: 43px;
|
|
1260
|
+
}
|
|
1261
|
+
.e-bigger .e-ddt.e-rtl .e-selectall-parent .e-all-text,
|
|
1262
|
+
.e-ddt.e-bigger.e-rtl .e-selectall-parent .e-all-text {
|
|
1263
|
+
margin: 0 10px;
|
|
1264
|
+
}
|
|
1243
1265
|
|
|
1244
1266
|
/* stylelint-disable-line no-empty-source */
|
|
1245
1267
|
/* stylelint-disable-line no-empty-source */
|
|
@@ -840,6 +840,7 @@ ejs-dropdownlist {
|
|
|
840
840
|
.e-ddt.e-popup .e-selectall-parent .e-checkbox-wrapper {
|
|
841
841
|
position: relative;
|
|
842
842
|
text-indent: 0;
|
|
843
|
+
bottom: 2px;
|
|
843
844
|
}
|
|
844
845
|
.e-ddt.e-popup .e-selectall-parent .e-all-text {
|
|
845
846
|
font-family: inherit;
|
|
@@ -951,6 +952,12 @@ ejs-dropdownlist {
|
|
|
951
952
|
.e-ddt.e-rtl.e-popup .e-treeview .e-list-item .e-ul {
|
|
952
953
|
padding: 0 14px 0 0;
|
|
953
954
|
}
|
|
955
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent {
|
|
956
|
+
text-indent: 38px;
|
|
957
|
+
}
|
|
958
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent .e-all-text {
|
|
959
|
+
margin: 0 10px;
|
|
960
|
+
}
|
|
954
961
|
|
|
955
962
|
.e-ddt-icon-hide {
|
|
956
963
|
display: none;
|
package/styles/bootstrap.css
CHANGED
|
@@ -1017,6 +1017,7 @@ ejs-dropdownlist {
|
|
|
1017
1017
|
.e-ddt.e-popup .e-selectall-parent .e-checkbox-wrapper {
|
|
1018
1018
|
position: relative;
|
|
1019
1019
|
text-indent: 0;
|
|
1020
|
+
bottom: 2px;
|
|
1020
1021
|
}
|
|
1021
1022
|
.e-ddt.e-popup .e-selectall-parent .e-all-text {
|
|
1022
1023
|
font-family: inherit;
|
|
@@ -1128,6 +1129,12 @@ ejs-dropdownlist {
|
|
|
1128
1129
|
.e-ddt.e-rtl.e-popup .e-treeview .e-list-item .e-ul {
|
|
1129
1130
|
padding: 0 14px 0 0;
|
|
1130
1131
|
}
|
|
1132
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent {
|
|
1133
|
+
text-indent: 38px;
|
|
1134
|
+
}
|
|
1135
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent .e-all-text {
|
|
1136
|
+
margin: 0 10px;
|
|
1137
|
+
}
|
|
1131
1138
|
|
|
1132
1139
|
.e-ddt-icon-hide {
|
|
1133
1140
|
display: none;
|
|
@@ -1210,6 +1217,13 @@ ejs-dropdownlist {
|
|
|
1210
1217
|
.e-bigger .e-ddt.e-popup .e-selectall-parent,
|
|
1211
1218
|
.e-ddt.e-bigger.e-popup .e-selectall-parent {
|
|
1212
1219
|
text-indent: 43px;
|
|
1220
|
+
padding: 0px;
|
|
1221
|
+
}
|
|
1222
|
+
.e-bigger .e-ddt.e-popup .e-selectall-parent .e-all-text,
|
|
1223
|
+
.e-ddt.e-bigger.e-popup .e-selectall-parent .e-all-text {
|
|
1224
|
+
font-size: 16px;
|
|
1225
|
+
line-height: 24px;
|
|
1226
|
+
margin: 0 10px;
|
|
1213
1227
|
}
|
|
1214
1228
|
.e-bigger .e-ddt.e-popup .e-treeview .e-fullrow,
|
|
1215
1229
|
.e-ddt.e-bigger.e-popup .e-treeview .e-fullrow {
|
|
@@ -1236,6 +1250,14 @@ ejs-dropdownlist {
|
|
|
1236
1250
|
left: 38px;
|
|
1237
1251
|
right: auto;
|
|
1238
1252
|
}
|
|
1253
|
+
.e-bigger .e-ddt.e-rtl .e-selectall-parent,
|
|
1254
|
+
.e-ddt.e-bigger.e-rtl .e-selectall-parent {
|
|
1255
|
+
text-indent: 43px;
|
|
1256
|
+
}
|
|
1257
|
+
.e-bigger .e-ddt.e-rtl .e-selectall-parent .e-all-text,
|
|
1258
|
+
.e-ddt.e-bigger.e-rtl .e-selectall-parent .e-all-text {
|
|
1259
|
+
margin: 0 9px;
|
|
1260
|
+
}
|
|
1239
1261
|
|
|
1240
1262
|
/* stylelint-disable-line no-empty-source */
|
|
1241
1263
|
/* stylelint-disable-line no-empty-source */
|
|
@@ -872,11 +872,12 @@ ejs-dropdownlist {
|
|
|
872
872
|
.e-ddt.e-popup .e-selectall-parent .e-checkbox-wrapper {
|
|
873
873
|
position: relative;
|
|
874
874
|
text-indent: 0;
|
|
875
|
+
bottom: 1px;
|
|
875
876
|
}
|
|
876
877
|
.e-ddt.e-popup .e-selectall-parent .e-all-text {
|
|
877
878
|
font-family: inherit;
|
|
878
879
|
font-size: 14px;
|
|
879
|
-
margin:
|
|
880
|
+
margin: 8px;
|
|
880
881
|
}
|
|
881
882
|
.e-ddt.e-popup .e-filter-wrap {
|
|
882
883
|
border-top-width: 0;
|
|
@@ -984,6 +985,12 @@ ejs-dropdownlist {
|
|
|
984
985
|
.e-ddt.e-rtl.e-popup .e-treeview .e-list-item .e-ul {
|
|
985
986
|
padding: 0 14px 0 0;
|
|
986
987
|
}
|
|
988
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent {
|
|
989
|
+
text-indent: 38px;
|
|
990
|
+
}
|
|
991
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent .e-all-text {
|
|
992
|
+
margin: 0 8px;
|
|
993
|
+
}
|
|
987
994
|
|
|
988
995
|
.e-ddt-icon-hide {
|
|
989
996
|
display: none;
|
package/styles/bootstrap4.css
CHANGED
|
@@ -1067,11 +1067,12 @@ ejs-dropdownlist {
|
|
|
1067
1067
|
.e-ddt.e-popup .e-selectall-parent .e-checkbox-wrapper {
|
|
1068
1068
|
position: relative;
|
|
1069
1069
|
text-indent: 0;
|
|
1070
|
+
bottom: 1px;
|
|
1070
1071
|
}
|
|
1071
1072
|
.e-ddt.e-popup .e-selectall-parent .e-all-text {
|
|
1072
1073
|
font-family: inherit;
|
|
1073
1074
|
font-size: 14px;
|
|
1074
|
-
margin:
|
|
1075
|
+
margin: 8px;
|
|
1075
1076
|
}
|
|
1076
1077
|
.e-ddt.e-popup .e-filter-wrap {
|
|
1077
1078
|
border-top-width: 0;
|
|
@@ -1179,6 +1180,12 @@ ejs-dropdownlist {
|
|
|
1179
1180
|
.e-ddt.e-rtl.e-popup .e-treeview .e-list-item .e-ul {
|
|
1180
1181
|
padding: 0 14px 0 0;
|
|
1181
1182
|
}
|
|
1183
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent {
|
|
1184
|
+
text-indent: 38px;
|
|
1185
|
+
}
|
|
1186
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent .e-all-text {
|
|
1187
|
+
margin: 0 8px;
|
|
1188
|
+
}
|
|
1182
1189
|
|
|
1183
1190
|
.e-ddt-icon-hide {
|
|
1184
1191
|
display: none;
|
|
@@ -1281,7 +1288,14 @@ ejs-dropdownlist {
|
|
|
1281
1288
|
}
|
|
1282
1289
|
.e-bigger .e-ddt.e-popup .e-selectall-parent,
|
|
1283
1290
|
.e-ddt.e-bigger.e-popup .e-selectall-parent {
|
|
1284
|
-
text-indent:
|
|
1291
|
+
text-indent: 31px;
|
|
1292
|
+
padding: 3px 12px;
|
|
1293
|
+
}
|
|
1294
|
+
.e-bigger .e-ddt.e-popup .e-selectall-parent .e-all-text,
|
|
1295
|
+
.e-ddt.e-bigger.e-popup .e-selectall-parent .e-all-text {
|
|
1296
|
+
font-size: 16px;
|
|
1297
|
+
line-height: 24px;
|
|
1298
|
+
margin: 0 12px;
|
|
1285
1299
|
}
|
|
1286
1300
|
.e-bigger .e-ddt.e-popup .e-treeview .e-fullrow,
|
|
1287
1301
|
.e-ddt.e-bigger.e-popup .e-treeview .e-fullrow {
|
|
@@ -1308,6 +1322,14 @@ ejs-dropdownlist {
|
|
|
1308
1322
|
left: 32px;
|
|
1309
1323
|
right: auto;
|
|
1310
1324
|
}
|
|
1325
|
+
.e-bigger .e-ddt.e-rtl .e-selectall-parent,
|
|
1326
|
+
.e-ddt.e-bigger.e-rtl .e-selectall-parent {
|
|
1327
|
+
text-indent: 31px;
|
|
1328
|
+
}
|
|
1329
|
+
.e-bigger .e-ddt.e-rtl .e-selectall-parent .e-all-text,
|
|
1330
|
+
.e-ddt.e-bigger.e-rtl .e-selectall-parent .e-all-text {
|
|
1331
|
+
margin: 0 11px;
|
|
1332
|
+
}
|
|
1311
1333
|
|
|
1312
1334
|
.e-input-group.e-ddl .e-control.e-combobox ~ .e-ddl-icon {
|
|
1313
1335
|
font-size: 8px;
|
|
@@ -886,7 +886,7 @@ ejs-dropdownlist {
|
|
|
886
886
|
line-height: 34px;
|
|
887
887
|
overflow: hidden;
|
|
888
888
|
position: relative;
|
|
889
|
-
text-indent:
|
|
889
|
+
text-indent: 32px;
|
|
890
890
|
white-space: nowrap;
|
|
891
891
|
width: 100%;
|
|
892
892
|
padding: 0 8px;
|
|
@@ -897,6 +897,7 @@ ejs-dropdownlist {
|
|
|
897
897
|
.e-ddt.e-popup .e-selectall-parent .e-checkbox-wrapper {
|
|
898
898
|
position: relative;
|
|
899
899
|
text-indent: 0;
|
|
900
|
+
bottom: 0;
|
|
900
901
|
}
|
|
901
902
|
.e-ddt.e-popup .e-selectall-parent .e-checkbox-wrapper .e-frame {
|
|
902
903
|
margin-top: -3px;
|
|
@@ -1003,6 +1004,12 @@ ejs-dropdownlist {
|
|
|
1003
1004
|
.e-ddt.e-rtl.e-popup .e-treeview .e-list-item .e-ul {
|
|
1004
1005
|
padding: 0 14px 0 0;
|
|
1005
1006
|
}
|
|
1007
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent {
|
|
1008
|
+
text-indent: 32px;
|
|
1009
|
+
}
|
|
1010
|
+
.e-ddt.e-rtl.e-popup .e-selectall-parent .e-all-text {
|
|
1011
|
+
margin: 0 8px;
|
|
1012
|
+
}
|
|
1006
1013
|
|
|
1007
1014
|
.e-ddt-icon-hide {
|
|
1008
1015
|
display: none;
|