@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
|
@@ -7012,15 +7012,14 @@
|
|
|
7012
7012
|
return data['descrizione_valore'];
|
|
7013
7013
|
};
|
|
7014
7014
|
FHAutoCompleteComponent.prototype.resetValue = function () {
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
_this.selval = null;
|
|
7021
|
-
}, 100);
|
|
7015
|
+
console.log('>>>resetValue<<<');
|
|
7016
|
+
this.selval = '';
|
|
7017
|
+
// this.valDef = '';
|
|
7018
|
+
this.sItem = '';
|
|
7019
|
+
this.selval = null;
|
|
7022
7020
|
};
|
|
7023
7021
|
FHAutoCompleteComponent.prototype.reset = function () {
|
|
7022
|
+
console.log('>>>reset<<<');
|
|
7024
7023
|
this.selval = '';
|
|
7025
7024
|
this.valDef = '';
|
|
7026
7025
|
this.selval = null;
|
|
@@ -7036,24 +7035,17 @@
|
|
|
7036
7035
|
p.sql = this.sql;
|
|
7037
7036
|
p.types = this.types;
|
|
7038
7037
|
p.values = this.values;
|
|
7039
|
-
var ok_op = false;
|
|
7040
7038
|
if (this.db_type == "1") {
|
|
7041
7039
|
this
|
|
7042
7040
|
._dataService
|
|
7043
7041
|
.doQuery(p)
|
|
7044
7042
|
.subscribe(function (data) {
|
|
7045
|
-
var ok_op = false;
|
|
7046
7043
|
if (data != null) {
|
|
7047
7044
|
if (data.result_msg == "OK") {
|
|
7048
7045
|
_this.resetD(data.result_data);
|
|
7049
7046
|
_this.fillend.emit();
|
|
7050
|
-
ok_op = true;
|
|
7051
7047
|
}
|
|
7052
7048
|
}
|
|
7053
|
-
if (!ok_op) {
|
|
7054
|
-
}
|
|
7055
|
-
}, function (err) {
|
|
7056
|
-
_this.errorMsg = "ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI";
|
|
7057
7049
|
});
|
|
7058
7050
|
}
|
|
7059
7051
|
if (this.db_type == "2") {
|
|
@@ -7091,7 +7083,7 @@
|
|
|
7091
7083
|
this.errorMsg = "";
|
|
7092
7084
|
this.setByValue(this.valDef);
|
|
7093
7085
|
this.is_loaded = true;
|
|
7094
|
-
console.log('resetD
|
|
7086
|
+
console.log('resetD --> ', this.getValue(), this.valDef);
|
|
7095
7087
|
if ((this.getValue() == null || this.getValue() == '') && this.valDef != "") {
|
|
7096
7088
|
this.setByDescri(this.valDef);
|
|
7097
7089
|
}
|