@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.
@@ -2632,12 +2632,15 @@
2632
2632
  this.App = "";
2633
2633
  this.K = "";
2634
2634
  this.title = "ALLEGATI";
2635
+ this.admin_role = '[ZZZ_DIS_CC]';
2635
2636
  this.sovrascrivi_path = "";
2636
2637
  if (data != null) {
2637
2638
  if (data.App != null)
2638
2639
  this.App = data.App;
2639
2640
  if (data.K != null)
2640
2641
  this.K = data.K;
2642
+ if (data.admin_role != null)
2643
+ this.admin_role = data.admin_role;
2641
2644
  }
2642
2645
  }
2643
2646
  win_uploads.prototype.close = function () {
@@ -2663,7 +2666,7 @@
2663
2666
  win_uploads.decorators = [
2664
2667
  { type: i0.Component, args: [{
2665
2668
  selector: "wkf_win_upload",
2666
- 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 <FHUploadPanel\n [enabled]=\"enabled\"\n #upc\n [access_control]=\"access_control\"\n [sovrascrivi_path]=\"sovrascrivi_path\"\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 ",
2669
+ 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 <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 ",
2667
2670
  styles: [""]
2668
2671
  },] }
2669
2672
  ];
@@ -11905,6 +11908,7 @@
11905
11908
  this.respingi_button = false;
11906
11909
  this.procedi_button = true;
11907
11910
  this.force_save = false;
11911
+ this.admin_role = '[ZZZ_DIS_CC]';
11908
11912
  this.button_clicked = new i0.EventEmitter();
11909
11913
  }
11910
11914
  wkf_header_bar.prototype.back = function () {
@@ -11940,7 +11944,7 @@
11940
11944
  wkf_header_bar.prototype.open_upload = function () {
11941
11945
  this.button_clicked.emit('open_upload');
11942
11946
  if (this.dt_agg != null)
11943
- this.dt_agg.open_upload();
11947
+ this.dt_agg.open_upload(this.admin_role);
11944
11948
  };
11945
11949
  wkf_header_bar.prototype.open_wkf = function () {
11946
11950
  this.button_clicked.emit('open_wkf');
@@ -11965,6 +11969,7 @@
11965
11969
  respingi_button: [{ type: i0.Input }],
11966
11970
  procedi_button: [{ type: i0.Input }],
11967
11971
  force_save: [{ type: i0.Input }],
11972
+ admin_role: [{ type: i0.Input }],
11968
11973
  button_clicked: [{ type: i0.Output }]
11969
11974
  };
11970
11975
 
@@ -16023,12 +16028,13 @@
16023
16028
  _this.r_count();
16024
16029
  });
16025
16030
  };
16026
- dati_aggiuntivi.prototype.open_upload = function (sovra_path) {
16031
+ dati_aggiuntivi.prototype.open_upload = function (sovra_path, admin_role) {
16027
16032
  var _this = this;
16028
16033
  if (sovra_path === void 0) { sovra_path = ""; }
16034
+ if (admin_role === void 0) { admin_role = "[ZZZ_DIS_CC]"; }
16029
16035
  var dialogRef = this.m_dialog.open(win_uploads, {
16030
16036
  disableClose: true,
16031
- width: "90%",
16037
+ width: "90%", data: { admin_role: admin_role }
16032
16038
  });
16033
16039
  setTimeout(function () {
16034
16040
  dialogRef.componentInstance.sovrascrivi_path = sovra_path;