@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
|
@@ -8387,9 +8387,11 @@ var AXSelectBoxComponent = /** @class */ (function (_super) {
|
|
|
8387
8387
|
// this.searchText = e.value;
|
|
8388
8388
|
// this.text = e.value;
|
|
8389
8389
|
// this.items = [];
|
|
8390
|
-
|
|
8391
|
-
|
|
8392
|
-
|
|
8390
|
+
if (this.items) {
|
|
8391
|
+
var t = this.items.length;
|
|
8392
|
+
for (var i = 0; i < t; i++) {
|
|
8393
|
+
this.items.pop();
|
|
8394
|
+
}
|
|
8393
8395
|
}
|
|
8394
8396
|
// this.items.forEach((element) => {
|
|
8395
8397
|
// this.items.pop();
|
|
@@ -8671,9 +8673,11 @@ var AXSelectBoxComponent = /** @class */ (function (_super) {
|
|
|
8671
8673
|
// this.items.forEach((element) => {
|
|
8672
8674
|
// this.items.pop();
|
|
8673
8675
|
// });
|
|
8674
|
-
|
|
8675
|
-
|
|
8676
|
-
|
|
8676
|
+
if (this.items) {
|
|
8677
|
+
var t = this.items.length;
|
|
8678
|
+
for (var i = 0; i < t; i++) {
|
|
8679
|
+
this.items.pop();
|
|
8680
|
+
}
|
|
8677
8681
|
}
|
|
8678
8682
|
this.fetch(params);
|
|
8679
8683
|
}
|
|
@@ -8738,6 +8742,7 @@ var AXSelectBoxComponent = /** @class */ (function (_super) {
|
|
|
8738
8742
|
};
|
|
8739
8743
|
AXSelectBoxComponent.prototype.handleKeyEventSearch = function (e) {
|
|
8740
8744
|
var _this = this;
|
|
8745
|
+
var _a;
|
|
8741
8746
|
if (this.disabled || this.readonly) {
|
|
8742
8747
|
this.dropdown.close();
|
|
8743
8748
|
setTimeout(function () {
|
|
@@ -8822,7 +8827,7 @@ var AXSelectBoxComponent = /** @class */ (function (_super) {
|
|
|
8822
8827
|
}
|
|
8823
8828
|
}
|
|
8824
8829
|
else {
|
|
8825
|
-
if (this.text && this.itemsFiltered.length === 1) {
|
|
8830
|
+
if (this.text && ((_a = this.itemsFiltered) === null || _a === void 0 ? void 0 : _a.length) === 1) {
|
|
8826
8831
|
this.setSelectedItems(this.itemsFiltered, true);
|
|
8827
8832
|
}
|
|
8828
8833
|
if (this.mode == 'single') {
|
|
@@ -13725,7 +13730,6 @@ var AXTreeViewComponent = /** @class */ (function (_super) {
|
|
|
13725
13730
|
_this.isSelectedItem = true;
|
|
13726
13731
|
}
|
|
13727
13732
|
}
|
|
13728
|
-
debugger;
|
|
13729
13733
|
});
|
|
13730
13734
|
}
|
|
13731
13735
|
else {
|