@syncfusion/ej2-dropdowns 26.1.39 → 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 +25 -7
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +25 -7
- 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/auto-complete/auto-complete.js +1 -0
- package/src/drop-down-base/drop-down-base.d.ts +1 -1
- package/src/drop-down-list/drop-down-list.js +9 -6
- package/src/drop-down-tree/drop-down-tree.js +7 -0
- package/src/list-box/list-box.js +6 -0
- package/src/mention/mention.js +1 -1
- package/src/multi-select/multi-select.js +1 -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 +8 -7
- package/styles/highcontrast-light.css +1 -1
- package/styles/highcontrast.css +1 -1
- package/styles/list-box/_fluent2-definition.scss +4 -6
- package/styles/list-box/fluent2.css +5 -5
- 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
|
@@ -4577,6 +4577,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
4577
4577
|
this.isDataFetched = false;
|
|
4578
4578
|
if (this.isFiltering()) {
|
|
4579
4579
|
this.checkAndResetCache();
|
|
4580
|
+
this.isRequesting = false;
|
|
4580
4581
|
var eventArgs_1 = {
|
|
4581
4582
|
preventDefaultAction: false,
|
|
4582
4583
|
text: this.filterInput.value,
|
|
@@ -6629,12 +6630,14 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
6629
6630
|
Input.setValue('', this.inputElement, this.floatLabelType, this.showClearButton);
|
|
6630
6631
|
}
|
|
6631
6632
|
this.element.style.display = 'block';
|
|
6632
|
-
if (this.inputWrapper.container
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
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
|
+
}
|
|
6638
6641
|
}
|
|
6639
6642
|
delete this.hiddenElement;
|
|
6640
6643
|
this.filterInput = null;
|
|
@@ -7201,6 +7204,7 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
7201
7204
|
_this.isFilteredData = false;
|
|
7202
7205
|
_this.isFilterRestore = true;
|
|
7203
7206
|
fields = _this.cloneFields(_this.fields);
|
|
7207
|
+
_this.treeObj.element.classList.remove('e-filtering');
|
|
7204
7208
|
}
|
|
7205
7209
|
else if (args.preventDefaultAction) {
|
|
7206
7210
|
fields = args.fields;
|
|
@@ -7221,6 +7225,7 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
7221
7225
|
fields = _this.nestedFilter(args.text, args.fields);
|
|
7222
7226
|
}
|
|
7223
7227
|
}
|
|
7228
|
+
_this.treeObj.element.classList.add('e-filtering');
|
|
7224
7229
|
}
|
|
7225
7230
|
_this.hideCheckAll(_this.isFilteredData);
|
|
7226
7231
|
if (flag) {
|
|
@@ -8299,6 +8304,7 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
8299
8304
|
DropDownTree.prototype.renderPopup = function () {
|
|
8300
8305
|
var _this = this;
|
|
8301
8306
|
if (this.isFilteredData) {
|
|
8307
|
+
this.treeObj.element.classList.remove('e-filtering');
|
|
8302
8308
|
this.filterObj.value = '';
|
|
8303
8309
|
this.treeObj.fields = this.getTreeFields(this.fields);
|
|
8304
8310
|
this.isFilterRestore = true;
|
|
@@ -8833,6 +8839,10 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
8833
8839
|
this.isReverseUpdate = false;
|
|
8834
8840
|
}
|
|
8835
8841
|
}
|
|
8842
|
+
if (this.isValueChange && !this.changeOnBlur) {
|
|
8843
|
+
this.triggerChangeEvent(this.keyEventArgs);
|
|
8844
|
+
this.isValueChange = false;
|
|
8845
|
+
}
|
|
8836
8846
|
};
|
|
8837
8847
|
DropDownTree.prototype.beforeCheck = function (args) {
|
|
8838
8848
|
if (args.isInteracted) {
|
|
@@ -11282,6 +11292,7 @@ var AutoComplete = /** @__PURE__ @class */ (function (_super) {
|
|
|
11282
11292
|
}
|
|
11283
11293
|
this.isSelected = false;
|
|
11284
11294
|
this.activeIndex = null;
|
|
11295
|
+
this.isRequesting = false;
|
|
11285
11296
|
var eventArgs = {
|
|
11286
11297
|
preventDefaultAction: false,
|
|
11287
11298
|
text: this.filterInput.value,
|
|
@@ -14945,6 +14956,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
14945
14956
|
this.isRemoteSelection = true;
|
|
14946
14957
|
}
|
|
14947
14958
|
this.checkAndResetCache();
|
|
14959
|
+
this.isRequesting = false;
|
|
14948
14960
|
var eventArgs_1 = {
|
|
14949
14961
|
preventDefaultAction: false,
|
|
14950
14962
|
text: this.targetElement(),
|
|
@@ -18267,6 +18279,9 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
18267
18279
|
*/
|
|
18268
18280
|
ListBox.prototype.addItem = function (items, itemIndex) {
|
|
18269
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
|
+
}
|
|
18270
18285
|
};
|
|
18271
18286
|
/**
|
|
18272
18287
|
* Build and render the component.
|
|
@@ -19003,6 +19018,9 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
19003
19018
|
*/
|
|
19004
19019
|
ListBox.prototype.addItems = function (items, itemIndex) {
|
|
19005
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
|
+
}
|
|
19006
19024
|
};
|
|
19007
19025
|
/**
|
|
19008
19026
|
* Removes a item from the list. By default, removed the last item in the list,
|
|
@@ -21071,7 +21089,7 @@ var Mention = /** @__PURE__ @class */ (function (_super) {
|
|
|
21071
21089
|
}
|
|
21072
21090
|
this.isTyped = e.code !== 'Enter' && e.code !== 'Space' && e.code !== 'ArrowDown' && e.code !== 'ArrowUp' ? true : false;
|
|
21073
21091
|
var isRteImage = document.activeElement.parentElement && document.activeElement.parentElement.querySelector('.e-rte-image') ? true : false;
|
|
21074
|
-
if (document.activeElement != this.inputElement && isRteImage) {
|
|
21092
|
+
if (document.activeElement != this.inputElement && !isRteImage) {
|
|
21075
21093
|
this.inputElement.focus();
|
|
21076
21094
|
}
|
|
21077
21095
|
if (this.isContentEditable(this.inputElement)) {
|