@fluxhub/fluxhub-lib 10.0.396 → 10.0.397
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 +11 -4
- 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 +10 -4
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +10 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhcombobox.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1078,6 +1078,7 @@ class FHComboboxComponent {
|
|
|
1078
1078
|
this.label = "";
|
|
1079
1079
|
this.enabled = true;
|
|
1080
1080
|
this.required = false;
|
|
1081
|
+
this.load_delay = 10000;
|
|
1081
1082
|
this.show_empty = true;
|
|
1082
1083
|
this.sel_label = "";
|
|
1083
1084
|
this.tooltip = '';
|
|
@@ -1112,7 +1113,7 @@ class FHComboboxComponent {
|
|
|
1112
1113
|
this.dis_value = this.valDef.split("-1").join("");
|
|
1113
1114
|
}
|
|
1114
1115
|
catch (e) {
|
|
1115
|
-
console.log("errore split -> this.valDef ", this.valDef);
|
|
1116
|
+
//console.log("errore split -> this.valDef ", this.valDef);
|
|
1116
1117
|
}
|
|
1117
1118
|
}
|
|
1118
1119
|
resetValue() {
|
|
@@ -1362,7 +1363,9 @@ class FHComboboxComponent {
|
|
|
1362
1363
|
this.setByDescri(this.valDef);
|
|
1363
1364
|
}
|
|
1364
1365
|
doFill() {
|
|
1365
|
-
|
|
1366
|
+
setTimeout(() => {
|
|
1367
|
+
this.fillCombo();
|
|
1368
|
+
}, this.load_delay);
|
|
1366
1369
|
}
|
|
1367
1370
|
ngAfterViewInit() {
|
|
1368
1371
|
setTimeout(() => {
|
|
@@ -1372,7 +1375,9 @@ class FHComboboxComponent {
|
|
|
1372
1375
|
setTimeout(() => { this.is_loaded = true; }, 1000);
|
|
1373
1376
|
return;
|
|
1374
1377
|
}
|
|
1375
|
-
|
|
1378
|
+
setTimeout(() => {
|
|
1379
|
+
this.fillCombo();
|
|
1380
|
+
}, this.load_delay);
|
|
1376
1381
|
}
|
|
1377
1382
|
else {
|
|
1378
1383
|
this.errorMsg = "";
|
|
@@ -1464,6 +1469,7 @@ FHComboboxComponent.propDecorators = {
|
|
|
1464
1469
|
label: [{ type: Input }],
|
|
1465
1470
|
enabled: [{ type: Input }],
|
|
1466
1471
|
required: [{ type: Input }],
|
|
1472
|
+
load_delay: [{ type: Input }],
|
|
1467
1473
|
show_empty: [{ type: Input }],
|
|
1468
1474
|
sel_label: [{ type: Input }],
|
|
1469
1475
|
tooltip: [{ type: Input }],
|
|
@@ -22976,6 +22982,7 @@ class dati_aggiuntivi_v2 {
|
|
|
22976
22982
|
console.log('end SELECT_WKF_APP_INFO_BYUID', new Date());
|
|
22977
22983
|
// this.app_info=data.result_data[0];
|
|
22978
22984
|
this.setta_info_app(data.result_data[0]);
|
|
22985
|
+
this.init_engine();
|
|
22979
22986
|
}
|
|
22980
22987
|
else
|
|
22981
22988
|
this.alert("CODICE APPLICAZIONE NON VALIDO", 2);
|
|
@@ -22984,7 +22991,6 @@ class dati_aggiuntivi_v2 {
|
|
|
22984
22991
|
}
|
|
22985
22992
|
});
|
|
22986
22993
|
});
|
|
22987
|
-
this.init_engine();
|
|
22988
22994
|
}
|
|
22989
22995
|
hasRole(s, b_check_admin = true) {
|
|
22990
22996
|
if (this.wkf_users_roles === null)
|