@acorex/components 1.3.90 → 1.3.91
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/acorex-components.metadata.json +1 -1
- package/bundles/acorex-components.umd.js +12 -8
- package/bundles/acorex-components.umd.js.map +1 -1
- package/bundles/acorex-components.umd.min.js +1 -1
- package/bundles/acorex-components.umd.min.js.map +1 -1
- package/esm2015/lib/selectbox/selectbox.component.js +13 -8
- package/esm2015/lib/tree-view/tree-view.component.js +1 -2
- package/esm5/lib/selectbox/selectbox.component.js +13 -8
- package/esm5/lib/tree-view/tree-view.component.js +1 -2
- package/fesm2015/acorex-components.js +12 -8
- package/fesm2015/acorex-components.js.map +1 -1
- package/fesm5/acorex-components.js +12 -8
- package/fesm5/acorex-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -8593,9 +8593,11 @@
|
|
|
8593
8593
|
// this.searchText = e.value;
|
|
8594
8594
|
// this.text = e.value;
|
|
8595
8595
|
// this.items = [];
|
|
8596
|
-
|
|
8597
|
-
|
|
8598
|
-
|
|
8596
|
+
if (this.items) {
|
|
8597
|
+
var t = this.items.length;
|
|
8598
|
+
for (var i = 0; i < t; i++) {
|
|
8599
|
+
this.items.pop();
|
|
8600
|
+
}
|
|
8599
8601
|
}
|
|
8600
8602
|
// this.items.forEach((element) => {
|
|
8601
8603
|
// this.items.pop();
|
|
@@ -8877,9 +8879,11 @@
|
|
|
8877
8879
|
// this.items.forEach((element) => {
|
|
8878
8880
|
// this.items.pop();
|
|
8879
8881
|
// });
|
|
8880
|
-
|
|
8881
|
-
|
|
8882
|
-
|
|
8882
|
+
if (this.items) {
|
|
8883
|
+
var t = this.items.length;
|
|
8884
|
+
for (var i = 0; i < t; i++) {
|
|
8885
|
+
this.items.pop();
|
|
8886
|
+
}
|
|
8883
8887
|
}
|
|
8884
8888
|
this.fetch(params);
|
|
8885
8889
|
}
|
|
@@ -8944,6 +8948,7 @@
|
|
|
8944
8948
|
};
|
|
8945
8949
|
AXSelectBoxComponent.prototype.handleKeyEventSearch = function (e) {
|
|
8946
8950
|
var _this = this;
|
|
8951
|
+
var _a;
|
|
8947
8952
|
if (this.disabled || this.readonly) {
|
|
8948
8953
|
this.dropdown.close();
|
|
8949
8954
|
setTimeout(function () {
|
|
@@ -9028,7 +9033,7 @@
|
|
|
9028
9033
|
}
|
|
9029
9034
|
}
|
|
9030
9035
|
else {
|
|
9031
|
-
if (this.text && this.itemsFiltered.length === 1) {
|
|
9036
|
+
if (this.text && ((_a = this.itemsFiltered) === null || _a === void 0 ? void 0 : _a.length) === 1) {
|
|
9032
9037
|
this.setSelectedItems(this.itemsFiltered, true);
|
|
9033
9038
|
}
|
|
9034
9039
|
if (this.mode == 'single') {
|
|
@@ -13931,7 +13936,6 @@
|
|
|
13931
13936
|
_this.isSelectedItem = true;
|
|
13932
13937
|
}
|
|
13933
13938
|
}
|
|
13934
|
-
debugger;
|
|
13935
13939
|
});
|
|
13936
13940
|
}
|
|
13937
13941
|
else {
|