@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.
@@ -3804,6 +3804,7 @@ var WinAskTextBigComponent = /** @class */ (function () {
3804
3804
  this.valore = "";
3805
3805
  this.readonly = false;
3806
3806
  this.show_annulla = true;
3807
+ this.show_ok = true;
3807
3808
  this.min_chars = 3;
3808
3809
  }
3809
3810
  /**
@@ -3856,7 +3857,7 @@ var WinAskTextBigComponent = /** @class */ (function () {
3856
3857
  WinAskTextBigComponent.decorators = [
3857
3858
  { type: Component, args: [{
3858
3859
  selector: 'app-win_ask_text',
3859
- 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 "
3860
+ 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 "
3860
3861
  }] }
3861
3862
  ];
3862
3863
  /** @nocollapse */
@@ -3869,7 +3870,8 @@ var WinAskTextBigComponent = /** @class */ (function () {
3869
3870
  label: [{ type: Input }],
3870
3871
  valore: [{ type: Input }],
3871
3872
  readonly: [{ type: Input }],
3872
- show_annulla: [{ type: Input }]
3873
+ show_annulla: [{ type: Input }],
3874
+ show_ok: [{ type: Input }]
3873
3875
  };
3874
3876
  return WinAskTextBigComponent;
3875
3877
  }());
@@ -5356,6 +5358,7 @@ wkfapp = /** @class */ (function () {
5356
5358
  this.is_Supervisor = false;
5357
5359
  this.is_Visor = false;
5358
5360
  this.is_Admin = false;
5361
+ this.is_PowerUser = false;
5359
5362
  this.is_Ins = false;
5360
5363
  this.id_applicativo = "";
5361
5364
  this.codice_app = ""; //codice documento
@@ -5909,6 +5912,11 @@ wkfapp = /** @class */ (function () {
5909
5912
  .getState()
5910
5913
  .wkf_obj
5911
5914
  .is_Admin = this.is_Admin;
5915
+ this
5916
+ .app_s
5917
+ .getState()
5918
+ .wkf_obj
5919
+ .is_PowerUser = this.is_PowerUser;
5912
5920
  this
5913
5921
  .app_s
5914
5922
  .getState()
@@ -6002,6 +6010,11 @@ wkfapp = /** @class */ (function () {
6002
6010
  .getState()
6003
6011
  .wkf_obj
6004
6012
  .is_Admin;
6013
+ this.is_PowerUser = this
6014
+ .app_s
6015
+ .getState()
6016
+ .wkf_obj
6017
+ .is_PowerUser;
6005
6018
  this.is_Ins = this
6006
6019
  .app_s
6007
6020
  .getState()
@@ -6188,10 +6201,13 @@ wkfapp = /** @class */ (function () {
6188
6201
  var a = data.result_data;
6189
6202
  _this.is_Supervisor = false;
6190
6203
  _this.is_Admin = false;
6204
+ _this.is_PowerUser = false;
6191
6205
  if (a.length > 0) {
6192
6206
  _this.is_Supervisor = true;
6193
6207
  if (a[0].tipo == "1")
6194
6208
  _this.is_Admin = true;
6209
+ if (a[0].tipo == "2")
6210
+ _this.is_PowerUser = true;
6195
6211
  }
6196
6212
  /** @type {?} */
6197
6213
  var p_2 = new QParam();