@syncfusion/ej2-dropdowns 30.1.37 → 30.1.40
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 +59 -14
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +59 -14
- 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 +6 -6
- package/src/combo-box/combo-box.js +1 -1
- package/src/common/incremental-search.js +1 -1
- package/src/drop-down-list/drop-down-list.d.ts +1 -0
- package/src/drop-down-list/drop-down-list.js +19 -3
- package/src/drop-down-tree/drop-down-tree-model.d.ts +1 -1
- package/src/drop-down-tree/drop-down-tree.d.ts +1 -0
- package/src/drop-down-tree/drop-down-tree.js +9 -1
- package/src/list-box/list-box.js +6 -1
- package/src/multi-select/multi-select.js +24 -8
- package/styles/bootstrap5-dark-lite.css +1 -1
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5-lite.css +1 -1
- package/styles/bootstrap5.css +1 -1
- package/styles/drop-down-tree/_bootstrap5-definition.scss +1 -1
- package/styles/drop-down-tree/_material3-definition.scss +2 -2
- package/styles/drop-down-tree/bootstrap5-dark.css +1 -1
- package/styles/drop-down-tree/bootstrap5.css +1 -1
- package/styles/drop-down-tree/material3-dark.css +4 -4
- package/styles/drop-down-tree/material3.css +4 -4
- package/styles/material3-dark-lite.css +3 -3
- package/styles/material3-dark.css +4 -4
- package/styles/material3-lite.css +3 -3
- package/styles/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 : 30.1.
|
|
3
|
+
* version : 30.1.40
|
|
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-dropdowns",
|
|
3
|
-
"version": "30.1.
|
|
3
|
+
"version": "30.1.40",
|
|
4
4
|
"description": "Essential JS 2 DropDown Components",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
"module": "./index.js",
|
|
9
9
|
"es2015": "./dist/es6/ej2-dropdowns.es5.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@syncfusion/ej2-base": "~30.1.
|
|
12
|
-
"@syncfusion/ej2-data": "~30.1.
|
|
13
|
-
"@syncfusion/ej2-inputs": "~30.1.
|
|
11
|
+
"@syncfusion/ej2-base": "~30.1.38",
|
|
12
|
+
"@syncfusion/ej2-data": "~30.1.40",
|
|
13
|
+
"@syncfusion/ej2-inputs": "~30.1.40",
|
|
14
14
|
"@syncfusion/ej2-lists": "~30.1.37",
|
|
15
|
-
"@syncfusion/ej2-navigations": "~30.1.
|
|
15
|
+
"@syncfusion/ej2-navigations": "~30.1.39",
|
|
16
16
|
"@syncfusion/ej2-notifications": "~30.1.37",
|
|
17
|
-
"@syncfusion/ej2-popups": "~30.1.
|
|
17
|
+
"@syncfusion/ej2-popups": "~30.1.40"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {},
|
|
20
20
|
"keywords": [
|
|
@@ -917,7 +917,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
917
917
|
this.removeFillSelection();
|
|
918
918
|
}
|
|
919
919
|
var dataItem = this.isSelectCustom ? { text: '' } : this.getItemData();
|
|
920
|
-
var text = !isNullOrUndefined(dataItem.text) ? dataItem.text.replace(/\r\n|\n|\r/g, '') : dataItem.text;
|
|
920
|
+
var text = !isNullOrUndefined(dataItem.text) ? dataItem.text.toString().replace(/\r\n|\n|\r/g, '') : dataItem.text;
|
|
921
921
|
var selected = !isNullOrUndefined(this.list) ? this.list.querySelector('.' + dropDownListClasses.selected) : null;
|
|
922
922
|
if (this.inputElement && text === this.inputElement.value && !isNullOrUndefined(selected)) {
|
|
923
923
|
if (this.isSelected) {
|
|
@@ -127,7 +127,7 @@ export function Search(inputVal, items, searchType, ignoreCase, dataSource, fiel
|
|
|
127
127
|
var listItems = items;
|
|
128
128
|
ignoreCase = ignoreCase !== undefined && ignoreCase !== null ? ignoreCase : true;
|
|
129
129
|
var itemData = { item: null, index: null };
|
|
130
|
-
if (inputVal && inputVal.length) {
|
|
130
|
+
if (inputVal && inputVal.length && items) {
|
|
131
131
|
var strLength = inputVal.length;
|
|
132
132
|
var queryStr = ignoreCase ? inputVal.toLocaleLowerCase() : inputVal;
|
|
133
133
|
queryStr = escapeCharRegExp(queryStr);
|
|
@@ -60,6 +60,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
60
60
|
} | string | number | boolean;
|
|
61
61
|
protected hiddenElement: HTMLSelectElement;
|
|
62
62
|
protected isPopupOpen: boolean;
|
|
63
|
+
private isPopupRender;
|
|
63
64
|
private isDocumentClick;
|
|
64
65
|
protected isInteracted: boolean;
|
|
65
66
|
private isFilterFocus;
|
|
@@ -113,6 +113,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
113
113
|
DropDownList.prototype.initializeData = function () {
|
|
114
114
|
this.isPopupOpen = false;
|
|
115
115
|
this.isDocumentClick = false;
|
|
116
|
+
this.isPopupRender = false;
|
|
116
117
|
this.isInteracted = false;
|
|
117
118
|
this.isFilterFocus = false;
|
|
118
119
|
this.beforePopupOpen = false;
|
|
@@ -1445,7 +1446,8 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
1445
1446
|
e.preventDefault();
|
|
1446
1447
|
}
|
|
1447
1448
|
if (!this.readonly) {
|
|
1448
|
-
if (this.isPopupOpen)
|
|
1449
|
+
if (this.isPopupOpen || (this.popupObj && document.body.contains(this.popupObj.element) &&
|
|
1450
|
+
this.beforePopupOpen && this.isPopupRender)) {
|
|
1449
1451
|
this.hidePopup(e);
|
|
1450
1452
|
if (this.isFilterLayout()) {
|
|
1451
1453
|
this.focusDropDown(e);
|
|
@@ -2612,8 +2614,19 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2612
2614
|
initialPopupHeight = popupEle.clientHeight;
|
|
2613
2615
|
if (_this.enableVirtualization && (_this.itemTemplate || _this.isAngular)) {
|
|
2614
2616
|
var listitems = popupEle.querySelectorAll('li.e-list-item:not(.e-virtual-list)');
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
+
var virtualListitems = popupEle.querySelectorAll('li.e-virtual-list');
|
|
2618
|
+
var listitemsHeight = listitems && listitems.length > 0 ?
|
|
2619
|
+
Math.ceil(listitems[0].getBoundingClientRect().height) +
|
|
2620
|
+
parseInt(window.getComputedStyle(listitems[0]).marginBottom, 10) : 0;
|
|
2621
|
+
var VirtualLiHeight = virtualListitems && virtualListitems.length > 0 ?
|
|
2622
|
+
Math.ceil(virtualListitems[0].getBoundingClientRect().height) +
|
|
2623
|
+
parseInt(window.getComputedStyle(virtualListitems[0]).marginBottom, 10) : 0;
|
|
2624
|
+
if (listitemsHeight !== VirtualLiHeight && virtualListitems && virtualListitems.length > 0) {
|
|
2625
|
+
virtualListitems.forEach(function (item) {
|
|
2626
|
+
item.parentNode.removeChild(item);
|
|
2627
|
+
});
|
|
2628
|
+
}
|
|
2629
|
+
_this.listItemHeight = listitemsHeight;
|
|
2617
2630
|
}
|
|
2618
2631
|
if (_this.enableVirtualization && !_this.list.classList.contains(dropDownBaseClasses.noData)) {
|
|
2619
2632
|
_this.getSkeletonCount();
|
|
@@ -2776,6 +2789,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2776
2789
|
}
|
|
2777
2790
|
if (!isNullOrUndefined(_this.popupObj)) {
|
|
2778
2791
|
_this.popupObj.show(new Animation(eventArgs.animation), (_this.zIndex === 1000) ? _this.element : null);
|
|
2792
|
+
_this.isPopupRender = true;
|
|
2779
2793
|
}
|
|
2780
2794
|
if (_this.isReact) {
|
|
2781
2795
|
setTimeout(function () {
|
|
@@ -3313,6 +3327,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
3313
3327
|
_this.rippleFun();
|
|
3314
3328
|
}
|
|
3315
3329
|
if (_this.isPopupOpen) {
|
|
3330
|
+
_this.isPopupRender = false;
|
|
3316
3331
|
_this.popupObj.hide(new Animation(eventArgs.animation));
|
|
3317
3332
|
}
|
|
3318
3333
|
else {
|
|
@@ -4330,6 +4345,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
4330
4345
|
}
|
|
4331
4346
|
this.hidePopup();
|
|
4332
4347
|
if (this.popupObj) {
|
|
4348
|
+
this.isPopupRender = false;
|
|
4333
4349
|
this.popupObj.hide();
|
|
4334
4350
|
}
|
|
4335
4351
|
this.unWireEvent();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Input, InputObject, FloatLabelType, TextBox, InputEventArgs } from '@syncfusion/ej2-inputs';import { createCheckBox } from '@syncfusion/ej2-buttons';import { NotifyPropertyChanges, INotifyPropertyChanged, Property, Event, EmitType, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { Component, EventHandler, attributes, formatUnit, ChildProperty, remove, L10n, extend } from '@syncfusion/ej2-base';import { addClass, removeClass, detach, prepend, Complex, closest, setValue, getValue, compile, append } from '@syncfusion/ej2-base';import { select, selectAll, isNullOrUndefined as isNOU, matches, Browser, KeyboardEvents, KeyboardEventArgs } from '@syncfusion/ej2-base';import { DataManager, Query, DataUtil } from '@syncfusion/ej2-data';import { Popup } from '@syncfusion/ej2-popups';import { TreeView, NodeSelectEventArgs, DataBoundEventArgs, FieldsSettingsModel, NodeClickEventArgs } from '@syncfusion/ej2-navigations';import { NodeCheckEventArgs, FailureEventArgs} from '@syncfusion/ej2-navigations';
|
|
1
|
+
import { Input, InputObject, FloatLabelType, TextBox, InputEventArgs } from '@syncfusion/ej2-inputs';import { createCheckBox } from '@syncfusion/ej2-buttons';import { NotifyPropertyChanges, INotifyPropertyChanged, Property, Event, EmitType, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { Component, EventHandler, attributes, formatUnit, ChildProperty, remove, L10n, extend } from '@syncfusion/ej2-base';import { addClass, removeClass, detach, prepend, Complex, closest, setValue, getValue, compile, append } from '@syncfusion/ej2-base';import { select, selectAll, isNullOrUndefined as isNOU, matches, Browser, KeyboardEvents, KeyboardEventArgs } from '@syncfusion/ej2-base';import { DataManager, Query, DataUtil } from '@syncfusion/ej2-data';import { Popup, isCollide } from '@syncfusion/ej2-popups';import { TreeView, NodeSelectEventArgs, DataBoundEventArgs, FieldsSettingsModel, NodeClickEventArgs } from '@syncfusion/ej2-navigations';import { NodeCheckEventArgs, FailureEventArgs} from '@syncfusion/ej2-navigations';
|
|
2
2
|
import {Mode,ExpandOn,TreeFilterType,SortOrder,DdtBeforeOpenEventArgs,DdtChangeEventArgs,DdtPopupEventArgs,DdtDataBoundEventArgs,DdtFilteringEventArgs,DdtFocusEventArgs,DdtKeyPressEventArgs,DdtSelectEventArgs} from "./drop-down-tree";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
@@ -828,6 +828,7 @@ export declare class DropDownTree extends Component<HTMLElement> implements INot
|
|
|
828
828
|
private getChildType;
|
|
829
829
|
private renderTree;
|
|
830
830
|
private renderPopup;
|
|
831
|
+
private checkCollision;
|
|
831
832
|
private removeFocus;
|
|
832
833
|
private updateFocus;
|
|
833
834
|
private reactCallBack;
|
|
@@ -25,7 +25,7 @@ import { Component, EventHandler, attributes, formatUnit, ChildProperty, remove,
|
|
|
25
25
|
import { addClass, removeClass, detach, prepend, Complex, closest, setValue, getValue, compile, append } from '@syncfusion/ej2-base';
|
|
26
26
|
import { select, selectAll, isNullOrUndefined as isNOU, matches, Browser, KeyboardEvents } from '@syncfusion/ej2-base';
|
|
27
27
|
import { DataManager, DataUtil } from '@syncfusion/ej2-data';
|
|
28
|
-
import { Popup } from '@syncfusion/ej2-popups';
|
|
28
|
+
import { Popup, isCollide } from '@syncfusion/ej2-popups';
|
|
29
29
|
import { TreeView } from '@syncfusion/ej2-navigations';
|
|
30
30
|
var RTL = 'e-rtl';
|
|
31
31
|
var DROPDOWNTREE = 'e-ddt';
|
|
@@ -1734,6 +1734,7 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
1734
1734
|
removeClass([_this.popupEle], DDTHIDEICON);
|
|
1735
1735
|
_this.updatePopupHeight();
|
|
1736
1736
|
_this.popupObj.refreshPosition();
|
|
1737
|
+
_this.checkCollision(_this.popupEle);
|
|
1737
1738
|
if (!(_this.showSelectAll || _this.allowFiltering) && (!_this.popupDiv.classList.contains(NODATA)
|
|
1738
1739
|
&& _this.treeItems.length > 0)) {
|
|
1739
1740
|
var focusedElement = _this.value != null && _this.text != null ? _this.treeObj.element.querySelector('[data-uid="' + _this.value[_this.value.length - 1] + '"]') : null;
|
|
@@ -1777,6 +1778,13 @@ var DropDownTree = /** @class */ (function (_super) {
|
|
|
1777
1778
|
}
|
|
1778
1779
|
});
|
|
1779
1780
|
};
|
|
1781
|
+
DropDownTree.prototype.checkCollision = function (popupEle) {
|
|
1782
|
+
var collision = isCollide(popupEle);
|
|
1783
|
+
if (collision.length > 0) {
|
|
1784
|
+
popupEle.style.marginTop = -parseInt(getComputedStyle(popupEle).marginTop, 10) + 'px';
|
|
1785
|
+
}
|
|
1786
|
+
this.popupObj.resolveCollision();
|
|
1787
|
+
};
|
|
1780
1788
|
DropDownTree.prototype.removeFocus = function (focusedElement, oldFocusedElement) {
|
|
1781
1789
|
if (oldFocusedElement && oldFocusedElement !== focusedElement) {
|
|
1782
1790
|
oldFocusedElement.setAttribute('tabindex', '-1');
|
package/src/list-box/list-box.js
CHANGED
|
@@ -194,6 +194,9 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
194
194
|
this.unSelectAllText = l10nSelect.getConstant('unSelectAllText');
|
|
195
195
|
this.popupWrapper = this.list;
|
|
196
196
|
this.checkBoxSelectionModule.checkAllParent = null;
|
|
197
|
+
if (this.filterParent) {
|
|
198
|
+
this.filterParent = null;
|
|
199
|
+
}
|
|
197
200
|
this.notify('selectAll', {});
|
|
198
201
|
}
|
|
199
202
|
};
|
|
@@ -264,6 +267,9 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
264
267
|
this.tBListBox = getComponent(document.getElementById(scope), this.getModuleName());
|
|
265
268
|
this.tBListBox.updateToolBarState();
|
|
266
269
|
}
|
|
270
|
+
else if (this.refreshing) {
|
|
271
|
+
this.updateToolBarState();
|
|
272
|
+
}
|
|
267
273
|
};
|
|
268
274
|
ListBox.prototype.createButtons = function (toolElem) {
|
|
269
275
|
var _this = this;
|
|
@@ -1289,7 +1295,6 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
1289
1295
|
}
|
|
1290
1296
|
this.inputString = this.filterInput.value;
|
|
1291
1297
|
this.filterWireEvents();
|
|
1292
|
-
this.ulElement.style.setProperty('height', 'calc(100% - ' + (this.filterParent.offsetHeight) + 'px)', 'important');
|
|
1293
1298
|
return filterInputObj;
|
|
1294
1299
|
}
|
|
1295
1300
|
};
|
|
@@ -680,11 +680,16 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
680
680
|
if (!isNullOrUndefined(this.text) && (isNullOrUndefined(this.value) || this.value.length === 0)) {
|
|
681
681
|
this.initialTextUpdate();
|
|
682
682
|
}
|
|
683
|
-
if (!this.enableVirtualization
|
|
684
|
-
this.
|
|
683
|
+
if (!this.enableVirtualization) {
|
|
684
|
+
if (!this.isRemoveSelection) {
|
|
685
|
+
this.initialValueUpdate(this.listData, true);
|
|
686
|
+
}
|
|
687
|
+
else {
|
|
688
|
+
this.initialValueUpdate();
|
|
689
|
+
}
|
|
685
690
|
}
|
|
686
|
-
else if (!this.
|
|
687
|
-
this.initialValueUpdate(
|
|
691
|
+
else if (!(this.dataSource instanceof DataManager)) {
|
|
692
|
+
this.initialValueUpdate();
|
|
688
693
|
}
|
|
689
694
|
this.initialUpdate();
|
|
690
695
|
this.refreshPlaceHolder();
|
|
@@ -1173,6 +1178,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
1173
1178
|
tempData[0] = (typeof customData === 'boolean') ?
|
|
1174
1179
|
(tempData[0] === 'true' ? true : (tempData[0] === 'false' ? false : tempData[0])) : tempData[0];
|
|
1175
1180
|
this.resetList(tempData, field);
|
|
1181
|
+
this.focusAtLastListItem(value);
|
|
1176
1182
|
}
|
|
1177
1183
|
}
|
|
1178
1184
|
else if (this.listData && this.mainData && !dataChecks && this.allowCustomValue) {
|
|
@@ -2543,6 +2549,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
2543
2549
|
}
|
|
2544
2550
|
else {
|
|
2545
2551
|
this.setFloatLabelType();
|
|
2552
|
+
Input.createSpanElement(this.overAllWrapper, this.createElement);
|
|
2546
2553
|
}
|
|
2547
2554
|
this.expandTextbox();
|
|
2548
2555
|
};
|
|
@@ -2848,7 +2855,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
2848
2855
|
MultiSelect.prototype.dispatchSelect = function (value, eve, element, isNotTrigger, length, dataValue, text) {
|
|
2849
2856
|
var _this = this;
|
|
2850
2857
|
var list = this.listData;
|
|
2851
|
-
if (this.initStatus && !isNotTrigger) {
|
|
2858
|
+
if (this.initStatus && !isNotTrigger && (!this.allowObjectBinding || (this.allowObjectBinding && value))) {
|
|
2852
2859
|
value = this.allowObjectBinding ? getValue(((this.fields.value) ? this.fields.value : ''), value) : value;
|
|
2853
2860
|
var val_2 = dataValue ? dataValue : this.getDataByValue(value);
|
|
2854
2861
|
var eventArgs = {
|
|
@@ -3757,7 +3764,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3757
3764
|
else {
|
|
3758
3765
|
if (this_1.listData) {
|
|
3759
3766
|
if (this_1.enableVirtualization) {
|
|
3760
|
-
if (delim && !this_1.isDynamicRemoteVirtualData) {
|
|
3767
|
+
if (delim && !this_1.isDynamicRemoteVirtualData && !isInitialVirtualData) {
|
|
3761
3768
|
data = this_1.delimiterWrapper && this_1.delimiterWrapper.innerHTML === '' ? data :
|
|
3762
3769
|
this_1.delimiterWrapper.innerHTML;
|
|
3763
3770
|
}
|
|
@@ -3769,7 +3776,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3769
3776
|
text = this_1.text.split(delimiterChar);
|
|
3770
3777
|
}
|
|
3771
3778
|
else {
|
|
3772
|
-
temp = isInitialVirtualData && delim ? this_1.text : this_1.getTextByValue(value);
|
|
3779
|
+
temp = isInitialVirtualData && delim ? this_1.text.replace(/,/g, delimiterChar + ' ') : this_1.getTextByValue(value);
|
|
3773
3780
|
var textValues = this_1.isDynamicRemoteVirtualData && value != null && value !== '' && !isInitialVirtualData ?
|
|
3774
3781
|
this_1.getTextByValue(value) : isInitialVirtualData ? this_1.text : (this_1.text && this_1.text !== '' ? this_1.text + this_1.delimiterChar + temp : temp);
|
|
3775
3782
|
data += temp + delimiterChar + ' ';
|
|
@@ -3933,6 +3940,12 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
3933
3940
|
text = this.getTextByValue(value);
|
|
3934
3941
|
isCustomData = true;
|
|
3935
3942
|
}
|
|
3943
|
+
else if ((isNullOrUndefined(text) && !this.allowCustomValue) &&
|
|
3944
|
+
((!(this.dataSource instanceof DataManager)) ||
|
|
3945
|
+
(this.dataSource instanceof DataManager && isInitialVirtualData))) {
|
|
3946
|
+
this.value.splice(index, 1);
|
|
3947
|
+
index -= 1;
|
|
3948
|
+
}
|
|
3936
3949
|
}
|
|
3937
3950
|
else {
|
|
3938
3951
|
text = this.getTextByValue(value);
|
|
@@ -5527,6 +5540,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5527
5540
|
this.isaddNonPresentItems = false;
|
|
5528
5541
|
}
|
|
5529
5542
|
else {
|
|
5543
|
+
this.selectedListData = [];
|
|
5530
5544
|
if (prop === 'text') {
|
|
5531
5545
|
this.initialTextUpdate();
|
|
5532
5546
|
newProp = this.value;
|
|
@@ -5570,7 +5584,9 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5570
5584
|
setTimeout(function () {
|
|
5571
5585
|
_this.initialValueUpdate(listItems_2, true);
|
|
5572
5586
|
_this.isDynamicRemoteVirtualData = false;
|
|
5573
|
-
_this.
|
|
5587
|
+
if (!_this.inputFocus || (_this.inputFocus && _this.mode !== 'Default')) {
|
|
5588
|
+
_this.initialUpdate();
|
|
5589
|
+
}
|
|
5574
5590
|
}, 100);
|
|
5575
5591
|
}
|
|
5576
5592
|
});
|
|
@@ -762,7 +762,7 @@ ejs-dropdownlist {
|
|
|
762
762
|
display: none;
|
|
763
763
|
}
|
|
764
764
|
.e-ddt.e-input-group.e-control-wrapper.e-show-chip .e-clear-icon, .e-ddt.e-input-group.e-control-wrapper.e-show-text .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-chip .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-text .e-clear-icon {
|
|
765
|
-
bottom:
|
|
765
|
+
bottom: 8px;
|
|
766
766
|
position: absolute;
|
|
767
767
|
right: 0;
|
|
768
768
|
}
|
|
@@ -949,7 +949,7 @@ ejs-dropdownlist {
|
|
|
949
949
|
display: none;
|
|
950
950
|
}
|
|
951
951
|
.e-ddt.e-input-group.e-control-wrapper.e-show-chip .e-clear-icon, .e-ddt.e-input-group.e-control-wrapper.e-show-text .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-chip .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-text .e-clear-icon {
|
|
952
|
-
bottom:
|
|
952
|
+
bottom: 8px;
|
|
953
953
|
position: absolute;
|
|
954
954
|
right: 0;
|
|
955
955
|
}
|
|
@@ -762,7 +762,7 @@ ejs-dropdownlist {
|
|
|
762
762
|
display: none;
|
|
763
763
|
}
|
|
764
764
|
.e-ddt.e-input-group.e-control-wrapper.e-show-chip .e-clear-icon, .e-ddt.e-input-group.e-control-wrapper.e-show-text .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-chip .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-text .e-clear-icon {
|
|
765
|
-
bottom:
|
|
765
|
+
bottom: 8px;
|
|
766
766
|
position: absolute;
|
|
767
767
|
right: 0;
|
|
768
768
|
}
|
package/styles/bootstrap5.css
CHANGED
|
@@ -949,7 +949,7 @@ ejs-dropdownlist {
|
|
|
949
949
|
display: none;
|
|
950
950
|
}
|
|
951
951
|
.e-ddt.e-input-group.e-control-wrapper.e-show-chip .e-clear-icon, .e-ddt.e-input-group.e-control-wrapper.e-show-text .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-chip .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-text .e-clear-icon {
|
|
952
|
-
bottom:
|
|
952
|
+
bottom: 8px;
|
|
953
953
|
position: absolute;
|
|
954
954
|
right: 0;
|
|
955
955
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* stylelint-disable */
|
|
2
2
|
$ddt-skin-name: $skin-name !default;
|
|
3
3
|
$ddt-box-shadow: none !default;
|
|
4
|
-
$ddt-close-icon-bottom:
|
|
4
|
+
$ddt-close-icon-bottom: 8px !default;
|
|
5
5
|
$ddt-dd-icon-bottom: 0 !default;
|
|
6
6
|
$ddt-dd-icon-width: 30px !default;
|
|
7
7
|
$ddt-close-icon-width: 20px !default;
|
|
@@ -49,8 +49,8 @@ $ddt-remains-padding: 0 0 0 8px !default;
|
|
|
49
49
|
$ddt-rtl-remains-padding: 0 8px 0 0 !default;
|
|
50
50
|
$ddt-chip-font-size: $text-sm !default;
|
|
51
51
|
$ddt-overflow-count-padding: 5px 4px !default;
|
|
52
|
-
$ddt-delim-padding:
|
|
53
|
-
$ddt-delim-bigger-padding:
|
|
52
|
+
$ddt-delim-padding: 8px 8px !default;
|
|
53
|
+
$ddt-delim-bigger-padding: 8px 12px !default;
|
|
54
54
|
$ddt-remains-count-padding-top: 6px !default;
|
|
55
55
|
$ddt-outline-padding: 10px 12px !default;
|
|
56
56
|
$ddt-outline-chip-padding: 4px 12px !default;
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
display: none;
|
|
110
110
|
}
|
|
111
111
|
.e-ddt.e-input-group.e-control-wrapper.e-show-chip .e-clear-icon, .e-ddt.e-input-group.e-control-wrapper.e-show-text .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-chip .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-text .e-clear-icon {
|
|
112
|
-
bottom:
|
|
112
|
+
bottom: 8px;
|
|
113
113
|
position: absolute;
|
|
114
114
|
right: 0;
|
|
115
115
|
}
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
display: none;
|
|
110
110
|
}
|
|
111
111
|
.e-ddt.e-input-group.e-control-wrapper.e-show-chip .e-clear-icon, .e-ddt.e-input-group.e-control-wrapper.e-show-text .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-chip .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-text .e-clear-icon {
|
|
112
|
-
bottom:
|
|
112
|
+
bottom: 8px;
|
|
113
113
|
position: absolute;
|
|
114
114
|
right: 0;
|
|
115
115
|
}
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
white-space: nowrap;
|
|
206
206
|
}
|
|
207
207
|
.e-ddt .e-overflow.e-show-text {
|
|
208
|
-
padding:
|
|
208
|
+
padding: 8px 8px;
|
|
209
209
|
}
|
|
210
210
|
.e-ddt .e-overflow.e-show-text.e-input-value:not(.e-icon-hide) {
|
|
211
211
|
display: inline-grid;
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
padding-top: 6px;
|
|
234
234
|
}
|
|
235
235
|
.e-ddt.e-show-chip .e-overflow.e-total-count .e-remain {
|
|
236
|
-
padding:
|
|
236
|
+
padding: 8px 8px;
|
|
237
237
|
}
|
|
238
238
|
.e-ddt.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|
|
239
239
|
margin-right: 30px;
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
padding: 0 0 0 8px;
|
|
359
359
|
}
|
|
360
360
|
.e-ddt.e-rtl.e-show-chip .e-overflow.e-total-count .e-remain {
|
|
361
|
-
padding:
|
|
361
|
+
padding: 8px 8px;
|
|
362
362
|
}
|
|
363
363
|
.e-ddt.e-rtl.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|
|
364
364
|
margin-right: 1px;
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
}
|
|
449
449
|
.e-bigger .e-ddt .e-overflow.e-show-text,
|
|
450
450
|
.e-ddt.e-bigger .e-overflow.e-show-text {
|
|
451
|
-
padding:
|
|
451
|
+
padding: 8px 12px;
|
|
452
452
|
}
|
|
453
453
|
.e-bigger .e-ddt.e-show-dd-icon .e-chips-wrapper .e-chips:last-child,
|
|
454
454
|
.e-ddt.e-bigger.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
white-space: nowrap;
|
|
208
208
|
}
|
|
209
209
|
.e-ddt .e-overflow.e-show-text {
|
|
210
|
-
padding:
|
|
210
|
+
padding: 8px 8px;
|
|
211
211
|
}
|
|
212
212
|
.e-ddt .e-overflow.e-show-text.e-input-value:not(.e-icon-hide) {
|
|
213
213
|
display: inline-grid;
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
padding-top: 6px;
|
|
236
236
|
}
|
|
237
237
|
.e-ddt.e-show-chip .e-overflow.e-total-count .e-remain {
|
|
238
|
-
padding:
|
|
238
|
+
padding: 8px 8px;
|
|
239
239
|
}
|
|
240
240
|
.e-ddt.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|
|
241
241
|
margin-right: 30px;
|
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
padding: 0 0 0 8px;
|
|
361
361
|
}
|
|
362
362
|
.e-ddt.e-rtl.e-show-chip .e-overflow.e-total-count .e-remain {
|
|
363
|
-
padding:
|
|
363
|
+
padding: 8px 8px;
|
|
364
364
|
}
|
|
365
365
|
.e-ddt.e-rtl.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|
|
366
366
|
margin-right: 1px;
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
}
|
|
451
451
|
.e-bigger .e-ddt .e-overflow.e-show-text,
|
|
452
452
|
.e-ddt.e-bigger .e-overflow.e-show-text {
|
|
453
|
-
padding:
|
|
453
|
+
padding: 8px 12px;
|
|
454
454
|
}
|
|
455
455
|
.e-bigger .e-ddt.e-show-dd-icon .e-chips-wrapper .e-chips:last-child,
|
|
456
456
|
.e-ddt.e-bigger.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|
|
@@ -860,7 +860,7 @@ ejs-dropdownlist {
|
|
|
860
860
|
white-space: nowrap;
|
|
861
861
|
}
|
|
862
862
|
.e-ddt .e-overflow.e-show-text {
|
|
863
|
-
padding:
|
|
863
|
+
padding: 8px 8px;
|
|
864
864
|
}
|
|
865
865
|
.e-ddt .e-overflow.e-show-text.e-input-value:not(.e-icon-hide) {
|
|
866
866
|
display: inline-grid;
|
|
@@ -888,7 +888,7 @@ ejs-dropdownlist {
|
|
|
888
888
|
padding-top: 6px;
|
|
889
889
|
}
|
|
890
890
|
.e-ddt.e-show-chip .e-overflow.e-total-count .e-remain {
|
|
891
|
-
padding:
|
|
891
|
+
padding: 8px 8px;
|
|
892
892
|
}
|
|
893
893
|
.e-ddt.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|
|
894
894
|
margin-right: 30px;
|
|
@@ -1013,7 +1013,7 @@ ejs-dropdownlist {
|
|
|
1013
1013
|
padding: 0 0 0 8px;
|
|
1014
1014
|
}
|
|
1015
1015
|
.e-ddt.e-rtl.e-show-chip .e-overflow.e-total-count .e-remain {
|
|
1016
|
-
padding:
|
|
1016
|
+
padding: 8px 8px;
|
|
1017
1017
|
}
|
|
1018
1018
|
.e-ddt.e-rtl.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|
|
1019
1019
|
margin-right: 1px;
|
|
@@ -1045,7 +1045,7 @@ ejs-dropdownlist {
|
|
|
1045
1045
|
white-space: nowrap;
|
|
1046
1046
|
}
|
|
1047
1047
|
.e-ddt .e-overflow.e-show-text {
|
|
1048
|
-
padding:
|
|
1048
|
+
padding: 8px 8px;
|
|
1049
1049
|
}
|
|
1050
1050
|
.e-ddt .e-overflow.e-show-text.e-input-value:not(.e-icon-hide) {
|
|
1051
1051
|
display: inline-grid;
|
|
@@ -1073,7 +1073,7 @@ ejs-dropdownlist {
|
|
|
1073
1073
|
padding-top: 6px;
|
|
1074
1074
|
}
|
|
1075
1075
|
.e-ddt.e-show-chip .e-overflow.e-total-count .e-remain {
|
|
1076
|
-
padding:
|
|
1076
|
+
padding: 8px 8px;
|
|
1077
1077
|
}
|
|
1078
1078
|
.e-ddt.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|
|
1079
1079
|
margin-right: 30px;
|
|
@@ -1198,7 +1198,7 @@ ejs-dropdownlist {
|
|
|
1198
1198
|
padding: 0 0 0 8px;
|
|
1199
1199
|
}
|
|
1200
1200
|
.e-ddt.e-rtl.e-show-chip .e-overflow.e-total-count .e-remain {
|
|
1201
|
-
padding:
|
|
1201
|
+
padding: 8px 8px;
|
|
1202
1202
|
}
|
|
1203
1203
|
.e-ddt.e-rtl.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|
|
1204
1204
|
margin-right: 1px;
|
|
@@ -1288,7 +1288,7 @@ ejs-dropdownlist {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
.e-bigger .e-ddt .e-overflow.e-show-text,
|
|
1290
1290
|
.e-ddt.e-bigger .e-overflow.e-show-text {
|
|
1291
|
-
padding:
|
|
1291
|
+
padding: 8px 12px;
|
|
1292
1292
|
}
|
|
1293
1293
|
.e-bigger .e-ddt.e-show-dd-icon .e-chips-wrapper .e-chips:last-child,
|
|
1294
1294
|
.e-ddt.e-bigger.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|
|
@@ -862,7 +862,7 @@ ejs-dropdownlist {
|
|
|
862
862
|
white-space: nowrap;
|
|
863
863
|
}
|
|
864
864
|
.e-ddt .e-overflow.e-show-text {
|
|
865
|
-
padding:
|
|
865
|
+
padding: 8px 8px;
|
|
866
866
|
}
|
|
867
867
|
.e-ddt .e-overflow.e-show-text.e-input-value:not(.e-icon-hide) {
|
|
868
868
|
display: inline-grid;
|
|
@@ -890,7 +890,7 @@ ejs-dropdownlist {
|
|
|
890
890
|
padding-top: 6px;
|
|
891
891
|
}
|
|
892
892
|
.e-ddt.e-show-chip .e-overflow.e-total-count .e-remain {
|
|
893
|
-
padding:
|
|
893
|
+
padding: 8px 8px;
|
|
894
894
|
}
|
|
895
895
|
.e-ddt.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|
|
896
896
|
margin-right: 30px;
|
|
@@ -1015,7 +1015,7 @@ ejs-dropdownlist {
|
|
|
1015
1015
|
padding: 0 0 0 8px;
|
|
1016
1016
|
}
|
|
1017
1017
|
.e-ddt.e-rtl.e-show-chip .e-overflow.e-total-count .e-remain {
|
|
1018
|
-
padding:
|
|
1018
|
+
padding: 8px 8px;
|
|
1019
1019
|
}
|
|
1020
1020
|
.e-ddt.e-rtl.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|
|
1021
1021
|
margin-right: 1px;
|
package/styles/material3.css
CHANGED
|
@@ -1047,7 +1047,7 @@ ejs-dropdownlist {
|
|
|
1047
1047
|
white-space: nowrap;
|
|
1048
1048
|
}
|
|
1049
1049
|
.e-ddt .e-overflow.e-show-text {
|
|
1050
|
-
padding:
|
|
1050
|
+
padding: 8px 8px;
|
|
1051
1051
|
}
|
|
1052
1052
|
.e-ddt .e-overflow.e-show-text.e-input-value:not(.e-icon-hide) {
|
|
1053
1053
|
display: inline-grid;
|
|
@@ -1075,7 +1075,7 @@ ejs-dropdownlist {
|
|
|
1075
1075
|
padding-top: 6px;
|
|
1076
1076
|
}
|
|
1077
1077
|
.e-ddt.e-show-chip .e-overflow.e-total-count .e-remain {
|
|
1078
|
-
padding:
|
|
1078
|
+
padding: 8px 8px;
|
|
1079
1079
|
}
|
|
1080
1080
|
.e-ddt.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|
|
1081
1081
|
margin-right: 30px;
|
|
@@ -1200,7 +1200,7 @@ ejs-dropdownlist {
|
|
|
1200
1200
|
padding: 0 0 0 8px;
|
|
1201
1201
|
}
|
|
1202
1202
|
.e-ddt.e-rtl.e-show-chip .e-overflow.e-total-count .e-remain {
|
|
1203
|
-
padding:
|
|
1203
|
+
padding: 8px 8px;
|
|
1204
1204
|
}
|
|
1205
1205
|
.e-ddt.e-rtl.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|
|
1206
1206
|
margin-right: 1px;
|
|
@@ -1290,7 +1290,7 @@ ejs-dropdownlist {
|
|
|
1290
1290
|
}
|
|
1291
1291
|
.e-bigger .e-ddt .e-overflow.e-show-text,
|
|
1292
1292
|
.e-ddt.e-bigger .e-overflow.e-show-text {
|
|
1293
|
-
padding:
|
|
1293
|
+
padding: 8px 12px;
|
|
1294
1294
|
}
|
|
1295
1295
|
.e-bigger .e-ddt.e-show-dd-icon .e-chips-wrapper .e-chips:last-child,
|
|
1296
1296
|
.e-ddt.e-bigger.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
|