@fluxhub/fluxhub-lib 1.0.392 → 1.0.394

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.
@@ -3826,6 +3826,7 @@
3826
3826
  this.valore = "";
3827
3827
  this.readonly = false;
3828
3828
  this.show_annulla = true;
3829
+ this.show_ok = true;
3829
3830
  this.min_chars = 3;
3830
3831
  }
3831
3832
  /**
@@ -3878,7 +3879,7 @@
3878
3879
  WinAskTextBigComponent.decorators = [
3879
3880
  { type: core.Component, args: [{
3880
3881
  selector: 'app-win_ask_text',
3881
- template: "\n\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"width:600px;font-size: 12px;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <textarea matInput [readonly]=\"readonly\" [(ngModel)]=\"valore\" style=\"min-width:600px\" rows=\"15\"\n required></textarea>\n </mat-form-field>\n </mat-dialog-content>\n <mat-dialog-actions style=\"width:100%;text-align: center\">\n <button mat-flat-button color=\"primary\" (click)=\"do_check()\">OK</button>&nbsp;&nbsp;&nbsp;\n <button *ngIf=\"show_annulla\" mat-flat-button color=\"warn\" (click)=\"chiudi()\">ANNULLA</button>\n </mat-dialog-actions>\n\n\n "
3882
+ template: "\n\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"width:600px;font-size: 12px;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <textarea matInput [readonly]=\"readonly\" [(ngModel)]=\"valore\" style=\"min-width:600px\" rows=\"15\"\n required></textarea>\n </mat-form-field>\n </mat-dialog-content>\n <mat-dialog-actions style=\"width:100%;text-align: center\">\n <button *ngIf=\"show_ok\" mat-flat-button color=\"primary\" (click)=\"do_check()\">OK</button>&nbsp;&nbsp;&nbsp;\n <button *ngIf=\"show_annulla\" mat-flat-button color=\"warn\" (click)=\"chiudi()\">ANNULLA</button>\n </mat-dialog-actions>\n\n\n "
3882
3883
  }] }
3883
3884
  ];
3884
3885
  /** @nocollapse */
@@ -3891,7 +3892,8 @@
3891
3892
  label: [{ type: core.Input }],
3892
3893
  valore: [{ type: core.Input }],
3893
3894
  readonly: [{ type: core.Input }],
3894
- show_annulla: [{ type: core.Input }]
3895
+ show_annulla: [{ type: core.Input }],
3896
+ show_ok: [{ type: core.Input }]
3895
3897
  };
3896
3898
  return WinAskTextBigComponent;
3897
3899
  }());
@@ -5378,6 +5380,7 @@
5378
5380
  this.is_Supervisor = false;
5379
5381
  this.is_Visor = false;
5380
5382
  this.is_Admin = false;
5383
+ this.is_PowerUser = false;
5381
5384
  this.is_Ins = false;
5382
5385
  this.id_applicativo = "";
5383
5386
  this.codice_app = ""; //codice documento
@@ -5931,6 +5934,11 @@
5931
5934
  .getState()
5932
5935
  .wkf_obj
5933
5936
  .is_Admin = this.is_Admin;
5937
+ this
5938
+ .app_s
5939
+ .getState()
5940
+ .wkf_obj
5941
+ .is_PowerUser = this.is_PowerUser;
5934
5942
  this
5935
5943
  .app_s
5936
5944
  .getState()
@@ -6024,6 +6032,11 @@
6024
6032
  .getState()
6025
6033
  .wkf_obj
6026
6034
  .is_Admin;
6035
+ this.is_PowerUser = this
6036
+ .app_s
6037
+ .getState()
6038
+ .wkf_obj
6039
+ .is_PowerUser;
6027
6040
  this.is_Ins = this
6028
6041
  .app_s
6029
6042
  .getState()
@@ -6210,10 +6223,13 @@
6210
6223
  var a = data.result_data;
6211
6224
  _this.is_Supervisor = false;
6212
6225
  _this.is_Admin = false;
6226
+ _this.is_PowerUser = false;
6213
6227
  if (a.length > 0) {
6214
6228
  _this.is_Supervisor = true;
6215
6229
  if (a[0].tipo == "1")
6216
6230
  _this.is_Admin = true;
6231
+ if (a[0].tipo == "2")
6232
+ _this.is_PowerUser = true;
6217
6233
  }
6218
6234
  /** @type {?} */
6219
6235
  var p_2 = new QParam();