@fluxhub/fluxhub-lib 10.0.47 → 10.0.49

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.
@@ -6844,6 +6844,7 @@
6844
6844
  if (_this.init_fill == true) {
6845
6845
  if (_this.sql == "") {
6846
6846
  //this.errorMsg="QUERY NON CONFIGURATA";
6847
+ setTimeout(function () { _this.is_loaded = true; }, 1000);
6847
6848
  return;
6848
6849
  }
6849
6850
  _this.fillCombo();
@@ -6852,6 +6853,7 @@
6852
6853
  _this.errorMsg = "";
6853
6854
  }
6854
6855
  _this.initend.emit();
6856
+ setTimeout(function () { _this.is_loaded = true; }, 1000);
6855
6857
  });
6856
6858
  };
6857
6859
  FHComboboxComponent.prototype.sc = function () {
@@ -6882,7 +6884,7 @@
6882
6884
  { type: i0.Component, args: [{
6883
6885
  selector: "FHComboBox",
6884
6886
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$3],
6885
- template: "\n <div style=\"min-height:45px\" *ngIf=\"enabled && !hidden && !(((!is_loaded && myData?.length==0) && init_fill))\"><mat-spinner diameter=\"25\" ></mat-spinner></div>\n <mat-form-field\n [hidden]=\"!enabled || hidden || ((!is_loaded && myData?.length==0) && init_fill)\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <mat-select\n #cmb\n [(ngModel)]=\"selval\"\n (selectionChange)=\"sc()\"\n [required]=\"required\"\n [matTooltip]=\"tooltip\"\n >\n <mat-option value=\"-1\">{{ sel_label }}</mat-option>\n <mat-option value=\"{{ app.valore }}\" *ngFor=\"let app of myData\">{{\n app.descrizione_valore\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n\n <mat-form-field\n [hidden]=\"enabled || hidden\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n #el1\n matInput\n [disabled]=\"true\"\n [(ngModel)]=\"dis_value\"\n [matTooltip]=\"tooltip\"\n />\n </mat-form-field>\n ",
6887
+ template: "\n <div style=\"min-height:45px\" *ngIf=\"enabled && !hidden && !is_loaded && myData?.length==0\"><mat-spinner diameter=\"25\" ></mat-spinner></div>\n <mat-form-field\n [hidden]=\"!enabled || hidden || (!is_loaded && myData?.length==0)\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <mat-select\n #cmb\n [(ngModel)]=\"selval\"\n (selectionChange)=\"sc()\"\n [required]=\"required\"\n [matTooltip]=\"tooltip\"\n >\n <mat-option value=\"-1\">{{ sel_label }}</mat-option>\n <mat-option value=\"{{ app.valore }}\" *ngFor=\"let app of myData\">{{\n app.descrizione_valore\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n\n <mat-form-field\n [hidden]=\"enabled || hidden\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n #el1\n matInput\n [disabled]=\"true\"\n [(ngModel)]=\"dis_value\"\n [matTooltip]=\"tooltip\"\n />\n </mat-form-field>\n ",
6886
6888
  styles: [""]
6887
6889
  },] }
6888
6890
  ];
@@ -6926,6 +6928,7 @@
6926
6928
  this.types = [];
6927
6929
  this.values = [];
6928
6930
  this.hidden = false;
6931
+ this.id_loading = false;
6929
6932
  this.db_type = "1";
6930
6933
  this.enabled = true;
6931
6934
  this.required = false;
@@ -7224,6 +7227,7 @@
7224
7227
  setTimeout(function () {
7225
7228
  if (_this.init_fill) {
7226
7229
  if (_this.sql == "") {
7230
+ setTimeout(function () { _this.is_loaded = true; }, 1000);
7227
7231
  return;
7228
7232
  }
7229
7233
  _this.fillCombo();
@@ -7232,6 +7236,7 @@
7232
7236
  _this.errorMsg = "";
7233
7237
  }
7234
7238
  _this.initend.emit();
7239
+ setTimeout(function () { _this.is_loaded = true; }, 1000);
7235
7240
  });
7236
7241
  };
7237
7242
  FHAutoCompleteComponent.prototype.writeValue = function (value) {
@@ -7250,7 +7255,7 @@
7250
7255
  { type: i0.Component, args: [{
7251
7256
  selector: "FHAutoComplete",
7252
7257
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4],
7253
- template: "\n <div style=\"min-height:45px\" *ngIf=\"enabled && !hidden && !(((!is_loaded && myData?.length==0) && init_fill))\"><mat-spinner diameter=\"25\" ></mat-spinner></div>\n <mat-form-field\n [hidden]=\"!enabled || hidden || ((!is_loaded && myData?.length==0) && init_fill)\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n matInput\n [disabled]=\"!enabled || hidden\"\n [matAutocomplete]=\"auto\"\n [required]=\"required\"\n (keyup)=\"onChange_up($event)\"\n [(ngModel)]=\"sItem\"\n (focus)=\"fi_search()\"\n (focusout)=\"fo_search($event)\"\n #searchp\n />\n </mat-form-field>\n <mat-autocomplete\n #auto=\"matAutocomplete\"\n (optionSelected)=\"selectedSearchItem($event)\"\n autoActiveFirstOption\n >\n <mat-option\n *ngFor=\"let objx of searchItemsFiltered\"\n [value]=\"objx.descrizione_valore\"\n >\n {{ objx.descrizione_valore }}\n </mat-option>\n </mat-autocomplete>\n\n <div class=\"ui negative message\" *ngIf=\"errorMsg != ''\">\n <i class=\"close icon\"></i>\n <div class=\"header\">\n {{ errorMsg }}\n </div>\n </div>\n <mat-form-field\n [hidden]=\"enabled || hidden\"\n\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [required]=\"required\" [(ngModel)]=\"sItem\" />\n </mat-form-field>\n ",
7258
+ template: "\n <div style=\"min-height:45px\" *ngIf=\"enabled && !hidden && !id_loading\"><mat-spinner diameter=\"25\" ></mat-spinner></div>\n <mat-form-field\n [hidden]=\"!enabled || hidden || id_loading\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n matInput\n [disabled]=\"!enabled || hidden\"\n [matAutocomplete]=\"auto\"\n [required]=\"required\"\n (keyup)=\"onChange_up($event)\"\n [(ngModel)]=\"sItem\"\n (focus)=\"fi_search()\"\n (focusout)=\"fo_search($event)\"\n #searchp\n />\n </mat-form-field>\n <mat-autocomplete\n #auto=\"matAutocomplete\"\n (optionSelected)=\"selectedSearchItem($event)\"\n autoActiveFirstOption\n >\n <mat-option\n *ngFor=\"let objx of searchItemsFiltered\"\n [value]=\"objx.descrizione_valore\"\n >\n {{ objx.descrizione_valore }}\n </mat-option>\n </mat-autocomplete>\n\n <div class=\"ui negative message\" *ngIf=\"errorMsg != ''\">\n <i class=\"close icon\"></i>\n <div class=\"header\">\n {{ errorMsg }}\n </div>\n </div>\n <mat-form-field\n [hidden]=\"enabled || hidden\"\n\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [required]=\"required\" [(ngModel)]=\"sItem\" />\n </mat-form-field>\n ",
7254
7259
  styles: [""]
7255
7260
  },] }
7256
7261
  ];