@fluxhub/fluxhub-lib 9.0.81 → 9.0.83
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/fluxhub-fluxhub-lib.umd.js +7 -15
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhautocomplete.js +8 -15
- package/esm5/lib/controls/fhautocomplete.js +8 -16
- package/fesm2015/fluxhub-fluxhub-lib.js +7 -14
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +7 -15
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -6879,15 +6879,14 @@ var FHAutoCompleteComponent = /** @class */ (function () {
|
|
|
6879
6879
|
return data['descrizione_valore'];
|
|
6880
6880
|
};
|
|
6881
6881
|
FHAutoCompleteComponent.prototype.resetValue = function () {
|
|
6882
|
-
|
|
6883
|
-
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
_this.selval = null;
|
|
6888
|
-
}, 100);
|
|
6882
|
+
console.log('>>>resetValue<<<');
|
|
6883
|
+
this.selval = '';
|
|
6884
|
+
// this.valDef = '';
|
|
6885
|
+
this.sItem = '';
|
|
6886
|
+
this.selval = null;
|
|
6889
6887
|
};
|
|
6890
6888
|
FHAutoCompleteComponent.prototype.reset = function () {
|
|
6889
|
+
console.log('>>>reset<<<');
|
|
6891
6890
|
this.selval = '';
|
|
6892
6891
|
this.valDef = '';
|
|
6893
6892
|
this.selval = null;
|
|
@@ -6903,24 +6902,17 @@ var FHAutoCompleteComponent = /** @class */ (function () {
|
|
|
6903
6902
|
p.sql = this.sql;
|
|
6904
6903
|
p.types = this.types;
|
|
6905
6904
|
p.values = this.values;
|
|
6906
|
-
var ok_op = false;
|
|
6907
6905
|
if (this.db_type == "1") {
|
|
6908
6906
|
this
|
|
6909
6907
|
._dataService
|
|
6910
6908
|
.doQuery(p)
|
|
6911
6909
|
.subscribe(function (data) {
|
|
6912
|
-
var ok_op = false;
|
|
6913
6910
|
if (data != null) {
|
|
6914
6911
|
if (data.result_msg == "OK") {
|
|
6915
6912
|
_this.resetD(data.result_data);
|
|
6916
6913
|
_this.fillend.emit();
|
|
6917
|
-
ok_op = true;
|
|
6918
6914
|
}
|
|
6919
6915
|
}
|
|
6920
|
-
if (!ok_op) {
|
|
6921
|
-
}
|
|
6922
|
-
}, function (err) {
|
|
6923
|
-
_this.errorMsg = "ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI";
|
|
6924
6916
|
});
|
|
6925
6917
|
}
|
|
6926
6918
|
if (this.db_type == "2") {
|
|
@@ -6958,7 +6950,7 @@ var FHAutoCompleteComponent = /** @class */ (function () {
|
|
|
6958
6950
|
this.errorMsg = "";
|
|
6959
6951
|
this.setByValue(this.valDef);
|
|
6960
6952
|
this.is_loaded = true;
|
|
6961
|
-
console.log('resetD
|
|
6953
|
+
console.log('resetD --> ', this.getValue(), this.valDef);
|
|
6962
6954
|
if ((this.getValue() == null || this.getValue() == '') && this.valDef != "") {
|
|
6963
6955
|
this.setByDescri(this.valDef);
|
|
6964
6956
|
}
|