@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
|
@@ -6630,12 +6630,14 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
6630
6630
|
Input.setValue('', this.inputElement, this.floatLabelType, this.showClearButton);
|
|
6631
6631
|
}
|
|
6632
6632
|
this.element.style.display = 'block';
|
|
6633
|
-
if (this.inputWrapper.container
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6633
|
+
if (this.inputWrapper.container && this.inputWrapper.container.parentElement) {
|
|
6634
|
+
if (this.inputWrapper.container.parentElement.tagName === this.getNgDirective()) {
|
|
6635
|
+
detach(this.inputWrapper.container);
|
|
6636
|
+
}
|
|
6637
|
+
else {
|
|
6638
|
+
this.inputWrapper.container.parentElement.insertBefore(this.element, this.inputWrapper.container);
|
|
6639
|
+
detach(this.inputWrapper.container);
|
|
6640
|
+
}
|
|
6639
6641
|
}
|
|
6640
6642
|
delete this.hiddenElement;
|
|
6641
6643
|
this.filterInput = null;
|
|
@@ -7202,6 +7204,7 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
7202
7204
|
_this.isFilteredData = false;
|
|
7203
7205
|
_this.isFilterRestore = true;
|
|
7204
7206
|
fields = _this.cloneFields(_this.fields);
|
|
7207
|
+
_this.treeObj.element.classList.remove('e-filtering');
|
|
7205
7208
|
}
|
|
7206
7209
|
else if (args.preventDefaultAction) {
|
|
7207
7210
|
fields = args.fields;
|
|
@@ -7222,6 +7225,7 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
7222
7225
|
fields = _this.nestedFilter(args.text, args.fields);
|
|
7223
7226
|
}
|
|
7224
7227
|
}
|
|
7228
|
+
_this.treeObj.element.classList.add('e-filtering');
|
|
7225
7229
|
}
|
|
7226
7230
|
_this.hideCheckAll(_this.isFilteredData);
|
|
7227
7231
|
if (flag) {
|
|
@@ -8300,6 +8304,7 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
8300
8304
|
DropDownTree.prototype.renderPopup = function () {
|
|
8301
8305
|
var _this = this;
|
|
8302
8306
|
if (this.isFilteredData) {
|
|
8307
|
+
this.treeObj.element.classList.remove('e-filtering');
|
|
8303
8308
|
this.filterObj.value = '';
|
|
8304
8309
|
this.treeObj.fields = this.getTreeFields(this.fields);
|
|
8305
8310
|
this.isFilterRestore = true;
|
|
@@ -18274,6 +18279,9 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
18274
18279
|
*/
|
|
18275
18280
|
ListBox.prototype.addItem = function (items, itemIndex) {
|
|
18276
18281
|
_super.prototype.addItem.call(this, items, itemIndex);
|
|
18282
|
+
if (this.allowFiltering && this.filterInput.value !== '') {
|
|
18283
|
+
this.filteringAction(this.jsonData, new Query(), this.fields);
|
|
18284
|
+
}
|
|
18277
18285
|
};
|
|
18278
18286
|
/**
|
|
18279
18287
|
* Build and render the component.
|
|
@@ -19010,6 +19018,9 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
19010
19018
|
*/
|
|
19011
19019
|
ListBox.prototype.addItems = function (items, itemIndex) {
|
|
19012
19020
|
_super.prototype.addItem.call(this, items, itemIndex);
|
|
19021
|
+
if (this.allowFiltering && this.filterInput.value !== '') {
|
|
19022
|
+
this.filteringAction(this.jsonData, new Query(), this.fields);
|
|
19023
|
+
}
|
|
19013
19024
|
};
|
|
19014
19025
|
/**
|
|
19015
19026
|
* Removes a item from the list. By default, removed the last item in the list,
|