@syncfusion/ej2-dropdowns 26.1.40 → 26.1.41
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 +17 -6
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +17 -6
- 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 +9 -9
- package/src/drop-down-list/drop-down-list.js +8 -6
- package/src/drop-down-tree/drop-down-tree.js +3 -0
- package/src/list-box/list-box.js +6 -0
- package/styles/bootstrap-dark.css +1 -1
- package/styles/bootstrap.css +1 -1
- package/styles/bootstrap4.css +1 -1
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5.css +1 -1
- package/styles/drop-down-tree/_layout.scss +1 -1
- package/styles/drop-down-tree/bootstrap-dark.css +1 -1
- package/styles/drop-down-tree/bootstrap.css +1 -1
- package/styles/drop-down-tree/bootstrap4.css +1 -1
- package/styles/drop-down-tree/bootstrap5-dark.css +1 -1
- package/styles/drop-down-tree/bootstrap5.css +1 -1
- package/styles/drop-down-tree/fabric-dark.css +1 -1
- package/styles/drop-down-tree/fabric.css +1 -1
- package/styles/drop-down-tree/fluent-dark.css +1 -1
- package/styles/drop-down-tree/fluent.css +1 -1
- package/styles/drop-down-tree/fluent2.css +1 -1
- package/styles/drop-down-tree/highcontrast-light.css +1 -1
- package/styles/drop-down-tree/highcontrast.css +1 -1
- package/styles/drop-down-tree/material-dark.css +1 -1
- package/styles/drop-down-tree/material.css +1 -1
- package/styles/drop-down-tree/material3-dark.css +1 -1
- package/styles/drop-down-tree/material3.css +1 -1
- package/styles/drop-down-tree/tailwind-dark.css +1 -1
- package/styles/drop-down-tree/tailwind.css +1 -1
- package/styles/fabric-dark.css +1 -1
- package/styles/fabric.css +1 -1
- package/styles/fluent-dark.css +1 -1
- package/styles/fluent.css +1 -1
- package/styles/fluent2.css +3 -2
- package/styles/highcontrast-light.css +1 -1
- package/styles/highcontrast.css +1 -1
- package/styles/material-dark.css +1 -1
- package/styles/material.css +1 -1
- package/styles/material3-dark.css +1 -1
- package/styles/material3.css +1 -1
- package/styles/multi-select/_fluent2-definition.scss +2 -1
- package/styles/multi-select/_theme.scss +3 -0
- package/styles/multi-select/fluent2.css +2 -1
- package/styles/tailwind-dark.css +1 -1
- package/styles/tailwind.css +1 -1
- package/.eslintrc.json +0 -261
- package/tslint.json +0 -111
|
@@ -6494,12 +6494,14 @@ let DropDownList = class DropDownList extends DropDownBase {
|
|
|
6494
6494
|
Input.setValue('', this.inputElement, this.floatLabelType, this.showClearButton);
|
|
6495
6495
|
}
|
|
6496
6496
|
this.element.style.display = 'block';
|
|
6497
|
-
if (this.inputWrapper.container
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6497
|
+
if (this.inputWrapper.container && this.inputWrapper.container.parentElement) {
|
|
6498
|
+
if (this.inputWrapper.container.parentElement.tagName === this.getNgDirective()) {
|
|
6499
|
+
detach(this.inputWrapper.container);
|
|
6500
|
+
}
|
|
6501
|
+
else {
|
|
6502
|
+
this.inputWrapper.container.parentElement.insertBefore(this.element, this.inputWrapper.container);
|
|
6503
|
+
detach(this.inputWrapper.container);
|
|
6504
|
+
}
|
|
6503
6505
|
}
|
|
6504
6506
|
delete this.hiddenElement;
|
|
6505
6507
|
this.filterInput = null;
|
|
@@ -7038,6 +7040,7 @@ let DropDownTree = class DropDownTree extends Component {
|
|
|
7038
7040
|
this.isFilteredData = false;
|
|
7039
7041
|
this.isFilterRestore = true;
|
|
7040
7042
|
fields = this.cloneFields(this.fields);
|
|
7043
|
+
this.treeObj.element.classList.remove('e-filtering');
|
|
7041
7044
|
}
|
|
7042
7045
|
else if (args.preventDefaultAction) {
|
|
7043
7046
|
fields = args.fields;
|
|
@@ -7058,6 +7061,7 @@ let DropDownTree = class DropDownTree extends Component {
|
|
|
7058
7061
|
fields = this.nestedFilter(args.text, args.fields);
|
|
7059
7062
|
}
|
|
7060
7063
|
}
|
|
7064
|
+
this.treeObj.element.classList.add('e-filtering');
|
|
7061
7065
|
}
|
|
7062
7066
|
this.hideCheckAll(this.isFilteredData);
|
|
7063
7067
|
if (flag) {
|
|
@@ -8124,6 +8128,7 @@ let DropDownTree = class DropDownTree extends Component {
|
|
|
8124
8128
|
/* To render the popup element */
|
|
8125
8129
|
renderPopup() {
|
|
8126
8130
|
if (this.isFilteredData) {
|
|
8131
|
+
this.treeObj.element.classList.remove('e-filtering');
|
|
8127
8132
|
this.filterObj.value = '';
|
|
8128
8133
|
this.treeObj.fields = this.getTreeFields(this.fields);
|
|
8129
8134
|
this.isFilterRestore = true;
|
|
@@ -17979,6 +17984,9 @@ let ListBox = ListBox_1 = class ListBox extends DropDownBase {
|
|
|
17979
17984
|
*/
|
|
17980
17985
|
addItem(items, itemIndex) {
|
|
17981
17986
|
super.addItem(items, itemIndex);
|
|
17987
|
+
if (this.allowFiltering && this.filterInput.value !== '') {
|
|
17988
|
+
this.filteringAction(this.jsonData, new Query(), this.fields);
|
|
17989
|
+
}
|
|
17982
17990
|
}
|
|
17983
17991
|
/**
|
|
17984
17992
|
* Build and render the component.
|
|
@@ -18706,6 +18714,9 @@ let ListBox = ListBox_1 = class ListBox extends DropDownBase {
|
|
|
18706
18714
|
*/
|
|
18707
18715
|
addItems(items, itemIndex) {
|
|
18708
18716
|
super.addItem(items, itemIndex);
|
|
18717
|
+
if (this.allowFiltering && this.filterInput.value !== '') {
|
|
18718
|
+
this.filteringAction(this.jsonData, new Query(), this.fields);
|
|
18719
|
+
}
|
|
18709
18720
|
}
|
|
18710
18721
|
/**
|
|
18711
18722
|
* Removes a item from the list. By default, removed the last item in the list,
|