tnx-shared 5.3.358 → 5.3.359
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/bundles/tnx-shared.umd.js +30 -30
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/esm2015/components/autocomplete-datasource/autocomplete-datasource.component.js +3 -3
- package/esm2015/components/autocomplete-picker/autocomplete-picker.component.js +15 -15
- package/esm2015/components/user-picker/user-picker.component.js +15 -15
- package/fesm2015/tnx-shared.js +30 -30
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
|
@@ -30369,8 +30369,8 @@
|
|
|
30369
30369
|
}
|
|
30370
30370
|
};
|
|
30371
30371
|
AutocompleteDatasourceComponent.prototype.handleKeyUp = function (evt) {
|
|
30372
|
-
if (evt.target.value == '' && evt.target.parentNode.childElementCount == 2 && evt.keyCode != 40 && evt.keyCode != 38)
|
|
30373
|
-
|
|
30372
|
+
// if (evt.target.value == '' && evt.target.parentNode.childElementCount == 2 && evt.keyCode != 40 && evt.keyCode != 38)
|
|
30373
|
+
// this.lstDataSuggest = [];
|
|
30374
30374
|
};
|
|
30375
30375
|
AutocompleteDatasourceComponent.prototype.writeValue = function (obj) {
|
|
30376
30376
|
this.selectedValue = obj;
|
|
@@ -44904,20 +44904,20 @@
|
|
|
44904
44904
|
this.onBlur.emit();
|
|
44905
44905
|
};
|
|
44906
44906
|
AutoCompletePickerComponent.prototype.handleKeyUp = function (evt) {
|
|
44907
|
-
|
|
44908
|
-
if (this.control.multiple) {
|
|
44909
|
-
|
|
44910
|
-
|
|
44911
|
-
|
|
44912
|
-
|
|
44913
|
-
|
|
44914
|
-
}
|
|
44915
|
-
else {
|
|
44916
|
-
|
|
44917
|
-
}
|
|
44918
|
-
if (evt.target.value == '' && hideSuggessions && evt.keyCode != 40 && evt.keyCode != 38) {
|
|
44919
|
-
|
|
44920
|
-
}
|
|
44907
|
+
// let hideSuggessions = false;
|
|
44908
|
+
// if (this.control.multiple) {
|
|
44909
|
+
// hideSuggessions = evt.target.parentNode.parentNode.parentNode.childElementCount == 1;
|
|
44910
|
+
// // if (this.selectedValueObject && this.selectedValueObject.length > 0
|
|
44911
|
+
// // && evt.keyCode == 40 && hideSuggessions) {
|
|
44912
|
+
// // this.results = [];
|
|
44913
|
+
// // }
|
|
44914
|
+
// }
|
|
44915
|
+
// else {
|
|
44916
|
+
// hideSuggessions = evt.target.parentNode.childElementCount == 1;
|
|
44917
|
+
// }
|
|
44918
|
+
// if (evt.target.value == '' && hideSuggessions && evt.keyCode != 40 && evt.keyCode != 38) {
|
|
44919
|
+
// this.results = [];
|
|
44920
|
+
// }
|
|
44921
44921
|
};
|
|
44922
44922
|
// luu data cua row dang duoc select, dung khi control.multiple = false;
|
|
44923
44923
|
AutoCompletePickerComponent.prototype.handleRowSelect = function (item) {
|
|
@@ -55549,20 +55549,20 @@
|
|
|
55549
55549
|
this.onBlur.emit();
|
|
55550
55550
|
};
|
|
55551
55551
|
UserPickerComponent.prototype.handleKeyUp = function (evt) {
|
|
55552
|
-
|
|
55553
|
-
if (this.control.multiple) {
|
|
55554
|
-
|
|
55555
|
-
|
|
55556
|
-
|
|
55557
|
-
|
|
55558
|
-
|
|
55559
|
-
}
|
|
55560
|
-
else {
|
|
55561
|
-
|
|
55562
|
-
}
|
|
55563
|
-
if (evt.target.value == '' && hideSuggessions && evt.keyCode != 40 && evt.keyCode != 38) {
|
|
55564
|
-
|
|
55565
|
-
}
|
|
55552
|
+
// let hideSuggessions = false;
|
|
55553
|
+
// if (this.control.multiple) {
|
|
55554
|
+
// hideSuggessions = evt.target.parentNode.parentNode.parentNode.childElementCount == 1;
|
|
55555
|
+
// if (this.selectedValueObject && this.selectedValueObject.length > 0
|
|
55556
|
+
// && evt.keyCode == 40 && hideSuggessions) {
|
|
55557
|
+
// this.results = [];
|
|
55558
|
+
// }
|
|
55559
|
+
// }
|
|
55560
|
+
// else {
|
|
55561
|
+
// hideSuggessions = evt.target.parentNode.childElementCount == 1;
|
|
55562
|
+
// }
|
|
55563
|
+
// if (evt.target.value == '' && hideSuggessions && evt.keyCode != 40 && evt.keyCode != 38) {
|
|
55564
|
+
// this.results = [];
|
|
55565
|
+
// }
|
|
55566
55566
|
};
|
|
55567
55567
|
// Handle select item trong entity picker box (Không cần emit change)
|
|
55568
55568
|
UserPickerComponent.prototype.handleSelectEntity = function (evt) {
|