@fluxhub/fluxhub-lib 10.0.606 → 10.0.607
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 +17 -5
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhcombobox.js +13 -5
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +6 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +17 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1132,8 +1132,12 @@ class FHComboboxComponent {
|
|
|
1132
1132
|
}
|
|
1133
1133
|
if (this.valDef == null)
|
|
1134
1134
|
this.dis_value = "";
|
|
1135
|
-
else
|
|
1136
|
-
|
|
1135
|
+
else {
|
|
1136
|
+
if (this.valDef.split("-1").join("") != '')
|
|
1137
|
+
this.dis_value = this._tsr.instant(this.valDef.split("-1").join(""));
|
|
1138
|
+
else
|
|
1139
|
+
this.dis_value = "";
|
|
1140
|
+
}
|
|
1137
1141
|
}
|
|
1138
1142
|
catch (e) {
|
|
1139
1143
|
//console.log("errore split -> this.valDef ", this.valDef);
|
|
@@ -1391,8 +1395,12 @@ class FHComboboxComponent {
|
|
|
1391
1395
|
}
|
|
1392
1396
|
this.setByValue(this.valDef);
|
|
1393
1397
|
this.is_loaded = true;
|
|
1394
|
-
if (this.getValue() == "-1")
|
|
1395
|
-
|
|
1398
|
+
if (this.getValue() == "-1") {
|
|
1399
|
+
if (this.valDef != '')
|
|
1400
|
+
this.setByDescri(this._tsr.instant(this.valDef));
|
|
1401
|
+
else
|
|
1402
|
+
this.setByDescri(this.valDef);
|
|
1403
|
+
}
|
|
1396
1404
|
}
|
|
1397
1405
|
doFill() {
|
|
1398
1406
|
if (this.load_delay != 0)
|
|
@@ -16886,7 +16894,11 @@ class dati_aggiuntivi {
|
|
|
16886
16894
|
this.user_email = this.app_s.user_email;
|
|
16887
16895
|
return;
|
|
16888
16896
|
}
|
|
16889
|
-
let obj =
|
|
16897
|
+
let obj = null;
|
|
16898
|
+
try {
|
|
16899
|
+
obj = JSON.parse(this.uti_s.decrypt_v3(localStorage.getItem(this.app_s.COMPANY_KEY + '_imp_user')));
|
|
16900
|
+
}
|
|
16901
|
+
catch (e) { }
|
|
16890
16902
|
if (obj == null) {
|
|
16891
16903
|
this.user_idp = this.app_s.user;
|
|
16892
16904
|
this.user_nome = this.app_s.user_name;
|