@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.
@@ -6858,6 +6858,7 @@
6858
6858
  this.label = "";
6859
6859
  this.enabled = true;
6860
6860
  this.required = false;
6861
+ this.load_delay = 10000;
6861
6862
  this.show_empty = true;
6862
6863
  this.sel_label = "";
6863
6864
  this.tooltip = '';
@@ -6892,7 +6893,7 @@
6892
6893
  this.dis_value = this.valDef.split("-1").join("");
6893
6894
  }
6894
6895
  catch (e) {
6895
- console.log("errore split -> this.valDef ", this.valDef);
6896
+ //console.log("errore split -> this.valDef ", this.valDef);
6896
6897
  }
6897
6898
  };
6898
6899
  FHComboboxComponent.prototype.resetValue = function () {
@@ -7143,7 +7144,10 @@
7143
7144
  this.setByDescri(this.valDef);
7144
7145
  };
7145
7146
  FHComboboxComponent.prototype.doFill = function () {
7146
- this.fillCombo();
7147
+ var _this = this;
7148
+ setTimeout(function () {
7149
+ _this.fillCombo();
7150
+ }, this.load_delay);
7147
7151
  };
7148
7152
  FHComboboxComponent.prototype.ngAfterViewInit = function () {
7149
7153
  var _this = this;
@@ -7154,7 +7158,9 @@
7154
7158
  setTimeout(function () { _this.is_loaded = true; }, 1000);
7155
7159
  return;
7156
7160
  }
7157
- _this.fillCombo();
7161
+ setTimeout(function () {
7162
+ _this.fillCombo();
7163
+ }, _this.load_delay);
7158
7164
  }
7159
7165
  else {
7160
7166
  _this.errorMsg = "";
@@ -7212,6 +7218,7 @@
7212
7218
  label: [{ type: i0.Input }],
7213
7219
  enabled: [{ type: i0.Input }],
7214
7220
  required: [{ type: i0.Input }],
7221
+ load_delay: [{ type: i0.Input }],
7215
7222
  show_empty: [{ type: i0.Input }],
7216
7223
  sel_label: [{ type: i0.Input }],
7217
7224
  tooltip: [{ type: i0.Input }],
@@ -19676,6 +19683,7 @@
19676
19683
  console.log('end SELECT_WKF_APP_INFO_BYUID', new Date());
19677
19684
  // this.app_info=data.result_data[0];
19678
19685
  _this.setta_info_app(data.result_data[0]);
19686
+ _this.init_engine();
19679
19687
  }
19680
19688
  else
19681
19689
  _this.alert("CODICE APPLICAZIONE NON VALIDO", 2);
@@ -19684,7 +19692,6 @@
19684
19692
  }
19685
19693
  });
19686
19694
  });
19687
- this.init_engine();
19688
19695
  }
19689
19696
  dati_aggiuntivi_v2.prototype.hasRole = function (s, b_check_admin) {
19690
19697
  if (b_check_admin === void 0) { b_check_admin = true; }