@fluxhub/fluxhub-lib 10.0.62 → 10.0.63

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.
@@ -5412,12 +5412,15 @@ class win_uploads {
5412
5412
  this.App = "";
5413
5413
  this.K = "";
5414
5414
  this.title = "ALLEGATI";
5415
+ this.admin_role = '[ZZZ_DIS_CC]';
5415
5416
  this.sovrascrivi_path = "";
5416
5417
  if (data != null) {
5417
5418
  if (data.App != null)
5418
5419
  this.App = data.App;
5419
5420
  if (data.K != null)
5420
5421
  this.K = data.K;
5422
+ if (data.admin_role != null)
5423
+ this.admin_role = data.admin_role;
5421
5424
  }
5422
5425
  }
5423
5426
  close() {
@@ -5460,6 +5463,7 @@ win_uploads.decorators = [
5460
5463
  #upc
5461
5464
  [access_control]="access_control"
5462
5465
  [sovrascrivi_path]="sovrascrivi_path"
5466
+ [ruolo_supervisore]="admin_role"
5463
5467
  ></FHUploadPanel>
5464
5468
  </mat-dialog-content>
5465
5469
  <br /><br />
@@ -16659,10 +16663,10 @@ class dati_aggiuntivi {
16659
16663
  this.r_count();
16660
16664
  });
16661
16665
  }
16662
- open_upload(sovra_path = "") {
16666
+ open_upload(sovra_path = "", admin_role = "[ZZZ_DIS_CC]") {
16663
16667
  let dialogRef = this.m_dialog.open(win_uploads, {
16664
16668
  disableClose: true,
16665
- width: "90%",
16669
+ width: "90%", data: { admin_role: admin_role }
16666
16670
  });
16667
16671
  setTimeout(() => {
16668
16672
  dialogRef.componentInstance.sovrascrivi_path = sovra_path;
@@ -17432,6 +17436,7 @@ class wkf_header_bar {
17432
17436
  this.respingi_button = false;
17433
17437
  this.procedi_button = true;
17434
17438
  this.force_save = false;
17439
+ this.admin_role = '[ZZZ_DIS_CC]';
17435
17440
  this.button_clicked = new EventEmitter();
17436
17441
  }
17437
17442
  back() { this.button_clicked.emit('back'); if (this.dt_agg != null)
@@ -17447,7 +17452,7 @@ class wkf_header_bar {
17447
17452
  open_commenti() { this.button_clicked.emit('open_commenti'); if (this.dt_agg != null)
17448
17453
  this.dt_agg.open_commenti(); }
17449
17454
  open_upload() { this.button_clicked.emit('open_upload'); if (this.dt_agg != null)
17450
- this.dt_agg.open_upload(); }
17455
+ this.dt_agg.open_upload(this.admin_role); }
17451
17456
  open_wkf() { this.button_clicked.emit('open_wkf'); if (this.dt_agg != null)
17452
17457
  this.dt_agg.open_wkf(); }
17453
17458
  ngAfterViewInit() { }
@@ -17559,6 +17564,7 @@ wkf_header_bar.propDecorators = {
17559
17564
  respingi_button: [{ type: Input }],
17560
17565
  procedi_button: [{ type: Input }],
17561
17566
  force_save: [{ type: Input }],
17567
+ admin_role: [{ type: Input }],
17562
17568
  button_clicked: [{ type: Output }]
17563
17569
  };
17564
17570