@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.
@@ -7441,8 +7441,7 @@ var FHDatePickerComponent = /** @class */ (function () {
7441
7441
  return FHDatePickerComponent;
7442
7442
  }());
7443
7443
 
7444
- var noop$5 = function () {
7445
- };
7444
+ var noop$5 = function () { };
7446
7445
  var ɵ0$5 = noop$5;
7447
7446
  var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6 = {
7448
7447
  provide: NG_VALUE_ACCESSOR,
@@ -7459,10 +7458,8 @@ var FHTextInput = /** @class */ (function () {
7459
7458
  this.focusout = new EventEmitter();
7460
7459
  this.focusin = new EventEmitter();
7461
7460
  this.text_v = '';
7462
- this.onChange = function (_) {
7463
- };
7464
- this.onTouched = function () {
7465
- };
7461
+ this.onChange = function (_) { };
7462
+ this.onTouched = function () { };
7466
7463
  }
7467
7464
  FHTextInput.prototype.onFi = function () {
7468
7465
  var _this = this;
@@ -9141,7 +9138,8 @@ var win_select_level = /** @class */ (function () {
9141
9138
  }());
9142
9139
 
9143
9140
  var win_uploads = /** @class */ (function () {
9144
- function win_uploads(dialogRef, _dataService, toastr, dialog, app_s) {
9141
+ function win_uploads(data, dialogRef, _dataService, toastr, dialog, app_s) {
9142
+ this.data = data;
9145
9143
  this.dialogRef = dialogRef;
9146
9144
  this._dataService = _dataService;
9147
9145
  this.toastr = toastr;
@@ -9153,13 +9151,21 @@ var win_uploads = /** @class */ (function () {
9153
9151
  this.K = '';
9154
9152
  this.title = "ALLEGATI";
9155
9153
  this.sovrascrivi_path = '';
9154
+ if (data != null) {
9155
+ if (data.App != null)
9156
+ this.App = data.App;
9157
+ if (data.K != null)
9158
+ this.K = data.K;
9159
+ }
9156
9160
  }
9157
9161
  win_uploads.prototype.close = function () { this.dialogRef.close(null); };
9158
9162
  win_uploads.prototype.ngAfterViewInit = function () {
9159
9163
  var _this = this;
9160
9164
  setTimeout(function () {
9161
- _this.App = _this.app_s.getState().wkf_doc_info.uiid_app;
9162
- _this.K = _this.app_s.getState().wkf_doc_info.uiid_doc;
9165
+ if (_this.App == '') {
9166
+ _this.App = _this.app_s.getState().wkf_doc_info.uiid_app;
9167
+ _this.K = _this.app_s.getState().wkf_doc_info.uiid_doc;
9168
+ }
9163
9169
  _this.init(_this.App, _this.K);
9164
9170
  });
9165
9171
  };
@@ -9169,6 +9175,7 @@ var win_uploads = /** @class */ (function () {
9169
9175
  this.upc.init(this.App, this.K);
9170
9176
  };
9171
9177
  win_uploads.ctorParameters = function () { return [
9178
+ { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
9172
9179
  { type: MatDialogRef },
9173
9180
  { type: QueryService },
9174
9181
  { type: ToastrService },
@@ -9185,7 +9192,8 @@ var win_uploads = /** @class */ (function () {
9185
9192
  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 ",
9186
9193
  styles: ["\n\n\n "]
9187
9194
  }),
9188
- __metadata("design:paramtypes", [MatDialogRef, QueryService, ToastrService, MatDialog, AppService])
9195
+ __param(0, Inject(MAT_DIALOG_DATA)),
9196
+ __metadata("design:paramtypes", [Object, MatDialogRef, QueryService, ToastrService, MatDialog, AppService])
9189
9197
  ], win_uploads);
9190
9198
  return win_uploads;
9191
9199
  }());
@@ -13687,7 +13695,7 @@ var FHRoleManager = /** @class */ (function () {
13687
13695
  ], FHRoleManager.prototype, "cmb_sel", void 0);
13688
13696
  FHRoleManager = __decorate([
13689
13697
  Component({
13690
- 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 ",
13698
+ 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 ",
13691
13699
  styles: ["\n\n\n "]
13692
13700
  }),
13693
13701
  __metadata("design:paramtypes", [QueryService, AppService, MatDialog])