@fluxhub/fluxhub-lib 10.0.176 → 10.0.178

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.
@@ -2640,7 +2640,6 @@
2640
2640
  this.title = "ALLEGATI";
2641
2641
  this.admin_role = '[ZZZ_DIS_CC]';
2642
2642
  this.sovrascrivi_path = "";
2643
- console.log('data ', data);
2644
2643
  if (data != null) {
2645
2644
  if (data.App != null)
2646
2645
  this.App = data.App;
@@ -2673,7 +2672,7 @@
2673
2672
  win_uploads.decorators = [
2674
2673
  { type: i0.Component, args: [{
2675
2674
  selector: "wkf_win_upload",
2676
- template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n <mat-toolbar color=\"primary\" style=\"width:90%;\"\n ><div fxFlex=\"20\">{{ title }}</div>\n <div fxLayout=\"row\" fxLayoutAlign=\"center end\" fxFlex=\"90\"></div>\n </mat-toolbar>\n <mat-dialog-content style=\"font-size:12px\">\n\n <FHUploadPanel\n [enabled]=\"enabled\"\n #upc\n [access_control]=\"access_control\"\n [sovrascrivi_path]=\"sovrascrivi_path\"\n [ruolo_supervisore]=\"admin_role\"\n ></FHUploadPanel>\n </mat-dialog-content>\n <br /><br />\n <div style=\"width:100%;text-align:center;\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n CHIUDI\n </button>\n </div>\n ",
2675
+ template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n <mat-toolbar color=\"primary\" style=\"width:90%;\"\n ><div fxFlex=\"20\">{{ title }}</div>\n <div fxLayout=\"row\" fxLayoutAlign=\"center end\" fxFlex=\"90\"></div>\n </mat-toolbar>\n <mat-dialog-content style=\"font-size:12px\">\n<br><br>\n <FHUploadPanel\n [enabled]=\"enabled\"\n #upc\n [access_control]=\"access_control\"\n [sovrascrivi_path]=\"sovrascrivi_path\"\n [ruolo_supervisore]=\"admin_role\"\n ></FHUploadPanel>\n </mat-dialog-content>\n <br /><br />\n <div style=\"width:100%;text-align:center;\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n CHIUDI\n </button>\n </div>\n ",
2677
2676
  styles: [""]
2678
2677
  },] }
2679
2678
  ];
@@ -6671,6 +6670,7 @@
6671
6670
  this.label = "";
6672
6671
  this.enabled = true;
6673
6672
  this.required = false;
6673
+ this.show_empty = true;
6674
6674
  this.sel_label = "";
6675
6675
  this.tooltip = '';
6676
6676
  this.fillend = new i0.EventEmitter();
@@ -6737,27 +6737,16 @@
6737
6737
  p.sql = this.sql;
6738
6738
  p.types = this.types;
6739
6739
  p.values = this.values;
6740
- var ok_op = false;
6741
6740
  // console.log(p);
6742
6741
  if (this.db_type == "1")
6743
6742
  this._dataService.doQuery(p).subscribe(function (data) {
6744
- var ok_op = false;
6745
6743
  if (data != null)
6746
6744
  if (data.result_msg == "OK") {
6747
6745
  _this.resetD(data.result_data);
6748
- ok_op = true;
6749
6746
  }
6750
- if (!ok_op) {
6751
- }
6752
- }, function (err) {
6753
- _this.errorMsg =
6754
- "ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI [" +
6755
- _this.sql +
6756
- "]";
6757
6747
  });
6758
6748
  if (this.db_type == "2")
6759
6749
  this._dataService_odbc.doQuery(p).subscribe(function (data) {
6760
- var ok_op = false;
6761
6750
  if (data != null)
6762
6751
  if (data.result_msg == "OK") {
6763
6752
  for (var i = 0; i < data.result_data.length; i++) {
@@ -6768,15 +6757,7 @@
6768
6757
  data.result_data[i].DESCRIZIONE_VALORE;
6769
6758
  }
6770
6759
  _this.resetD(data.result_data);
6771
- ok_op = true;
6772
6760
  }
6773
- if (!ok_op) {
6774
- }
6775
- }, function (err) {
6776
- _this.errorMsg =
6777
- "ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI [" +
6778
- _this.sql +
6779
- "]";
6780
6761
  });
6781
6762
  };
6782
6763
  FHComboboxComponent.prototype.add_option = function (o) {
@@ -7009,7 +6990,7 @@
7009
6990
  { type: i0.Component, args: [{
7010
6991
  selector: "FHComboBox",
7011
6992
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$3],
7012
- 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 ",
6993
+ 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\" *ngIf=\"show_empty\">{{ 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 ",
7013
6994
  styles: [""]
7014
6995
  },] }
7015
6996
  ];
@@ -7026,6 +7007,7 @@
7026
7007
  label: [{ type: i0.Input }],
7027
7008
  enabled: [{ type: i0.Input }],
7028
7009
  required: [{ type: i0.Input }],
7010
+ show_empty: [{ type: i0.Input }],
7029
7011
  sel_label: [{ type: i0.Input }],
7030
7012
  tooltip: [{ type: i0.Input }],
7031
7013
  smtr: [{ type: i0.ViewChild, args: ["cmb",] }],