@fluxhub/fluxhub-lib 11.0.94 → 11.0.96

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.
@@ -3188,8 +3188,9 @@
3188
3188
  this.dialogRef = dialogRef;
3189
3189
  this.app_s = app_s;
3190
3190
  this.enabled = true;
3191
- this.access_control = true;
3191
+ this.show_descri = true;
3192
3192
  this.App = '';
3193
+ this.label = '';
3193
3194
  this.K = '';
3194
3195
  this.title = 'ALLEGATI';
3195
3196
  this.admin_role = '[ZZZ_DIS_CC]';
@@ -3200,8 +3201,10 @@
3200
3201
  this.App = data.App;
3201
3202
  if (data.K != null)
3202
3203
  this.K = data.K;
3203
- if (data.admin_role != null)
3204
- this.admin_role = data.admin_role;
3204
+ if (data.show_descri != null)
3205
+ this.show_descri = data.show_descri;
3206
+ if (data.label != null)
3207
+ this.label = data.label;
3205
3208
  }
3206
3209
  }
3207
3210
  fh_win_upload.prototype.close = function () {
@@ -3221,14 +3224,14 @@
3221
3224
  this.App = p_app;
3222
3225
  this.K = p_k;
3223
3226
  if (this.upc)
3224
- this.upc.init(this.App, this.K);
3227
+ this.upc.init(this.App, this.K, this.label);
3225
3228
  };
3226
3229
  return fh_win_upload;
3227
3230
  }());
3228
3231
  fh_win_upload.decorators = [
3229
3232
  { type: i0.Component, args: [{
3230
3233
  selector: 'wkf_win_upload',
3231
- template: "\n <div fxLayout=\"column\" fxLayoutGap=\"5px\">\n <div fxFlex=\"100\" fxLayout=\"row\" class=\"dialog_header\">\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" style=\"width:50%\">\n {{ title | translate }}\n </div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\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' | translate }}\n </button>\n </div>\n </div>\n ",
3234
+ template: "\n <div fxLayout=\"column\" fxLayoutGap=\"5px\">\n <div fxFlex=\"100\" fxLayout=\"row\" class=\"dialog_header\">\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" style=\"width:50%\">\n {{ title | translate }}\n </div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <mat-dialog-content style=\"font-size:12px\">\n <br /><br />\n <FHUpload\n [enabled]=\"enabled\"\n #upc\n [show_descri]=\"show_descri\"\n [sovrascrivi_path]=\"sovrascrivi_path\"\n\n ></FHUpload>\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' | translate }}\n </button>\n </div>\n </div>\n ",
3232
3235
  styles: [""]
3233
3236
  },] }
3234
3237
  ];
@@ -5327,7 +5330,6 @@
5327
5330
  this.K = p_k;
5328
5331
  this.label = p_label;
5329
5332
  this.tipo = p_tipo;
5330
- console.log('this.tipo ', this.tipo);
5331
5333
  this.direct_type = direct_type;
5332
5334
  this.ver = current_v;
5333
5335
  this.b_ini = true;
@@ -5342,7 +5344,10 @@
5342
5344
  this.load_types();
5343
5345
  //console.log('fillCombo');
5344
5346
  }
5347
+ else if ((this.tipo || '') != '')
5348
+ this.direct_type = true;
5345
5349
  this.show_upload = show_upload;
5350
+ console.log('this.tipo ', this.tipo, 'this.direct_type ', this.direct_type);
5346
5351
  if (all_g)
5347
5352
  if (this.select_file)
5348
5353
  this.select_file.nativeElement.click();