@fluxhub/fluxhub-lib 10.0.192 → 10.0.193

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.
@@ -2625,8 +2625,8 @@
2625
2625
  { type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
2626
2626
  ]; };
2627
2627
 
2628
- var win_uploads = /** @class */ (function () {
2629
- function win_uploads(data, dialogRef, _dataService, toastr, dialog, app_s) {
2628
+ var fh_win_uploads = /** @class */ (function () {
2629
+ function fh_win_uploads(data, dialogRef, _dataService, toastr, dialog, app_s) {
2630
2630
  this.data = data;
2631
2631
  this.dialogRef = dialogRef;
2632
2632
  this._dataService = _dataService;
@@ -2649,10 +2649,10 @@
2649
2649
  this.admin_role = data.admin_role;
2650
2650
  }
2651
2651
  }
2652
- win_uploads.prototype.close = function () {
2652
+ fh_win_uploads.prototype.close = function () {
2653
2653
  this.dialogRef.close(null);
2654
2654
  };
2655
- win_uploads.prototype.ngAfterViewInit = function () {
2655
+ fh_win_uploads.prototype.ngAfterViewInit = function () {
2656
2656
  var _this = this;
2657
2657
  setTimeout(function () {
2658
2658
  if (_this.App == "") {
@@ -2662,21 +2662,21 @@
2662
2662
  _this.init(_this.App, _this.K);
2663
2663
  });
2664
2664
  };
2665
- win_uploads.prototype.init = function (p_app, p_k) {
2665
+ fh_win_uploads.prototype.init = function (p_app, p_k) {
2666
2666
  this.App = p_app;
2667
2667
  this.K = p_k;
2668
2668
  this.upc.init(this.App, this.K);
2669
2669
  };
2670
- return win_uploads;
2670
+ return fh_win_uploads;
2671
2671
  }());
2672
- win_uploads.decorators = [
2672
+ fh_win_uploads.decorators = [
2673
2673
  { type: i0.Component, args: [{
2674
2674
  selector: "wkf_win_upload",
2675
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 ",
2676
2676
  styles: [""]
2677
2677
  },] }
2678
2678
  ];
2679
- win_uploads.ctorParameters = function () { return [
2679
+ fh_win_uploads.ctorParameters = function () { return [
2680
2680
  { type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] },
2681
2681
  { type: dialog.MatDialogRef },
2682
2682
  { type: QueryService },
@@ -2684,7 +2684,7 @@
2684
2684
  { type: dialog.MatDialog },
2685
2685
  { type: AppService }
2686
2686
  ]; };
2687
- win_uploads.propDecorators = {
2687
+ fh_win_uploads.propDecorators = {
2688
2688
  upc: [{ type: i0.ViewChild, args: ["upc",] }]
2689
2689
  };
2690
2690
 
@@ -9087,14 +9087,20 @@
9087
9087
  };
9088
9088
 
9089
9089
  var fh_win_output = /** @class */ (function () {
9090
- function fh_win_output(dialogRef, toastr) {
9090
+ function fh_win_output(dialogRef, data) {
9091
9091
  this.dialogRef = dialogRef;
9092
- this.toastr = toastr;
9092
+ this.data = data;
9093
9093
  this.title = "";
9094
9094
  this.label = "";
9095
9095
  this.valore = "";
9096
- this.min_chars = 3;
9097
- this.max_chars = 50;
9096
+ if (data != null) {
9097
+ if (data.title != null)
9098
+ this.title = data.title;
9099
+ if (data.label != null)
9100
+ this.label = data.label;
9101
+ if (data.valore != null)
9102
+ this.valore = data.valore;
9103
+ }
9098
9104
  }
9099
9105
  fh_win_output.prototype.ngAfterViewInit = function () { };
9100
9106
  fh_win_output.prototype.close = function () {
@@ -9117,7 +9123,7 @@
9117
9123
  ];
9118
9124
  fh_win_output.ctorParameters = function () { return [
9119
9125
  { type: dialog.MatDialogRef },
9120
- { type: i3.ToastrService }
9126
+ { type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
9121
9127
  ]; };
9122
9128
  fh_win_output.propDecorators = {
9123
9129
  title: [{ type: i0.Input }],
@@ -14218,7 +14224,7 @@
14218
14224
  win_conferma,
14219
14225
  win_select_canale,
14220
14226
  win_select_level,
14221
- win_uploads,
14227
+ fh_win_uploads,
14222
14228
  win_commenti,
14223
14229
  win_info_doc,
14224
14230
  win_log,
@@ -14251,7 +14257,7 @@
14251
14257
  win_conferma,
14252
14258
  win_select_canale,
14253
14259
  win_select_level,
14254
- win_uploads,
14260
+ fh_win_uploads,
14255
14261
  win_commenti,
14256
14262
  win_info_doc,
14257
14263
  win_log,
@@ -16241,7 +16247,7 @@
16241
16247
  if (sovra_path === void 0) { sovra_path = ""; }
16242
16248
  if (admin_role === void 0) { admin_role = "[ZZZ_DIS_CC]"; }
16243
16249
  console.log('open_upload ', sovra_path, admin_role);
16244
- var dialogRef = this.m_dialog.open(win_uploads, {
16250
+ var dialogRef = this.m_dialog.open(fh_win_uploads, {
16245
16251
  disableClose: true,
16246
16252
  width: "90%", data: { 'admin_role': admin_role }
16247
16253
  });
@@ -17102,13 +17108,13 @@
17102
17108
  exports.fh_win_show_image = fh_win_show_image;
17103
17109
  exports.fh_win_show_log_dett = fh_win_show_log_dett;
17104
17110
  exports.fh_win_time_slider = fh_win_time_slider;
17111
+ exports.fh_win_uploads = fh_win_uploads;
17105
17112
  exports.fh_win_user_info = fh_win_user_info;
17106
17113
  exports.fh_win_user_picker = fh_win_user_picker;
17107
17114
  exports.fh_win_wait = fh_win_wait;
17108
17115
  exports.fhimagepreview = fhimagepreview;
17109
17116
  exports.win_insert_commento = win_insert_commento;
17110
17117
  exports.win_salva_annulla = win_salva_annulla;
17111
- exports.win_uploads = win_uploads;
17112
17118
  exports.wkf_header_bar = wkf_header_bar;
17113
17119
  exports.wkfapp = wkfapp;
17114
17120
  exports.ɵa = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR;