@fluxhub/fluxhub-lib 9.0.57 → 9.0.58

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.
@@ -7574,8 +7574,7 @@
7574
7574
  return FHDatePickerComponent;
7575
7575
  }());
7576
7576
 
7577
- var noop$5 = function () {
7578
- };
7577
+ var noop$5 = function () { };
7579
7578
  var ɵ0$5 = noop$5;
7580
7579
  var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6 = {
7581
7580
  provide: forms.NG_VALUE_ACCESSOR,
@@ -7592,10 +7591,8 @@
7592
7591
  this.focusout = new core.EventEmitter();
7593
7592
  this.focusin = new core.EventEmitter();
7594
7593
  this.text_v = '';
7595
- this.onChange = function (_) {
7596
- };
7597
- this.onTouched = function () {
7598
- };
7594
+ this.onChange = function (_) { };
7595
+ this.onTouched = function () { };
7599
7596
  }
7600
7597
  FHTextInput.prototype.onFi = function () {
7601
7598
  var _this = this;
@@ -9274,7 +9271,8 @@
9274
9271
  }());
9275
9272
 
9276
9273
  var win_uploads = /** @class */ (function () {
9277
- function win_uploads(dialogRef, _dataService, toastr, dialog, app_s) {
9274
+ function win_uploads(data, dialogRef, _dataService, toastr, dialog, app_s) {
9275
+ this.data = data;
9278
9276
  this.dialogRef = dialogRef;
9279
9277
  this._dataService = _dataService;
9280
9278
  this.toastr = toastr;
@@ -9286,13 +9284,21 @@
9286
9284
  this.K = '';
9287
9285
  this.title = "ALLEGATI";
9288
9286
  this.sovrascrivi_path = '';
9287
+ if (data != null) {
9288
+ if (data.App != null)
9289
+ this.App = data.App;
9290
+ if (data.K != null)
9291
+ this.K = data.K;
9292
+ }
9289
9293
  }
9290
9294
  win_uploads.prototype.close = function () { this.dialogRef.close(null); };
9291
9295
  win_uploads.prototype.ngAfterViewInit = function () {
9292
9296
  var _this = this;
9293
9297
  setTimeout(function () {
9294
- _this.App = _this.app_s.getState().wkf_doc_info.uiid_app;
9295
- _this.K = _this.app_s.getState().wkf_doc_info.uiid_doc;
9298
+ if (_this.App == '') {
9299
+ _this.App = _this.app_s.getState().wkf_doc_info.uiid_app;
9300
+ _this.K = _this.app_s.getState().wkf_doc_info.uiid_doc;
9301
+ }
9296
9302
  _this.init(_this.App, _this.K);
9297
9303
  });
9298
9304
  };
@@ -9302,6 +9308,7 @@
9302
9308
  this.upc.init(this.App, this.K);
9303
9309
  };
9304
9310
  win_uploads.ctorParameters = function () { return [
9311
+ { type: undefined, decorators: [{ type: core.Inject, args: [dialog.MAT_DIALOG_DATA,] }] },
9305
9312
  { type: dialog.MatDialogRef },
9306
9313
  { type: QueryService },
9307
9314
  { type: ngxToastr.ToastrService },
@@ -9318,7 +9325,8 @@
9318
9325
  template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\"><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"close()\" /> </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n <mat-toolbar color=\"primary\" style=\"width:90%;\"><div fxFlex=\"20\">{{title}}</div>\n <div fxLayout=\"row\" fxLayoutAlign=\"center end\" fxFlex=\"90\" >\n\n\n </div>\n </mat-toolbar>\n <mat-dialog-content style=\"font-size:12px\">\n<FHUploadPanel [enabled]=\"enabled\" #upc [access_control]=\"access_control\" [sovrascrivi_path]=\"sovrascrivi_path\"></FHUploadPanel>\n </mat-dialog-content>\n <br><br>\n <div style=\"width:100%;text-align:center;\" >\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"close()\">CHIUDI</button>\n\n </div>\n\n ",
9319
9326
  styles: ["\n\n\n "]
9320
9327
  }),
9321
- __metadata("design:paramtypes", [dialog.MatDialogRef, QueryService, ngxToastr.ToastrService, dialog.MatDialog, AppService])
9328
+ __param(0, core.Inject(dialog.MAT_DIALOG_DATA)),
9329
+ __metadata("design:paramtypes", [Object, dialog.MatDialogRef, QueryService, ngxToastr.ToastrService, dialog.MatDialog, AppService])
9322
9330
  ], win_uploads);
9323
9331
  return win_uploads;
9324
9332
  }());
@@ -13820,7 +13828,7 @@
13820
13828
  ], FHRoleManager.prototype, "cmb_sel", void 0);
13821
13829
  FHRoleManager = __decorate([
13822
13830
  core.Component({
13823
- selector: 'FHRoleManager', template: "\n <div [hidden]=\"!b_init\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"6px\">\n &nbsp;&nbsp;&nbsp;&nbsp;<FHComboBox #cmb_sel sql=\"SELECT_APP_USER_MANAGEMENT\" label=\"Gestisci Ruoli:\"\n init_fill=\"false\"></FHComboBox>&nbsp;&nbsp;&nbsp;&nbsp;\n <button mat-flat-button (click)=\"edit_values()\" color=\"primary\">\n Modifica\n </button>\n\n </div>\n\n\n\n ",
13831
+ selector: 'FHRoleManager', template: "\n <div [hidden]=\"!b_init\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"6px\">\n &nbsp;&nbsp;&nbsp;&nbsp;<FHComboBox #cmb_sel sql=\"SELECT_APP_USER_MANAGEMENT\" label=\"Gestisci Ruoli:\"\n init_fill=\"false\"></FHComboBox>&nbsp;&nbsp;&nbsp;&nbsp;\n <button mat-flat-button (click)=\"edit_values()\" color=\"primary\">\n Modifica\n </button>\n\n </div>\n\n\n\n ",
13824
13832
  styles: ["\n\n\n "]
13825
13833
  }),
13826
13834
  __metadata("design:paramtypes", [QueryService, AppService, dialog.MatDialog])