@fluxhub/fluxhub-lib 1.0.428 → 1.0.429

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.
@@ -13464,10 +13464,15 @@
13464
13464
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
13465
13465
  */
13466
13466
  var win_info_doc = /** @class */ (function () {
13467
- function win_info_doc(dialogRef, m_appService) {
13467
+ function win_info_doc(dialogRef, m_appService, toast) {
13468
13468
  this.dialogRef = dialogRef;
13469
13469
  this.m_appService = m_appService;
13470
+ this.toast = toast;
13470
13471
  this.hide_richiedente = false;
13472
+ if (this.m_appService.getState().wkf_doc_info.codice == null) {
13473
+ this.toast.info('Info non disponibili');
13474
+ return;
13475
+ }
13471
13476
  this.codice = this.m_appService.getState().wkf_doc_info.codice;
13472
13477
  this.data_richiesta = this.m_appService.getState().wkf_doc_info.data_richiesta;
13473
13478
  this.richiedente = this.m_appService.getState().wkf_doc_info.richiedente;
@@ -13493,7 +13498,8 @@
13493
13498
  /** @nocollapse */
13494
13499
  win_info_doc.ctorParameters = function () { return [
13495
13500
  { type: material.MatDialogRef },
13496
- { type: AppService }
13501
+ { type: AppService },
13502
+ { type: ngxToastr.ToastrService }
13497
13503
  ]; };
13498
13504
  return win_info_doc;
13499
13505
  }());
@@ -17602,7 +17608,7 @@
17602
17608
  wkf_header_bar.decorators = [
17603
17609
  { type: core.Component, args: [{
17604
17610
  selector: 'wkf_header_bar',
17605
- template: "\n\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" style=\"background-color: #F5F5F5\">\n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" *ngIf=\"!m_appService.getState().pageFullscreen || edit_button || respingi_button\">\n\n<button mat-flat-button (click)=\"back()\" style=\"background-color: #F5F5F5\" *ngIf=\"!m_appService.getState().pageFullscreen\">Indietro</button>\n <button mat-flat-button (click)=\"evt_salv()\" *ngIf=\"edit_button && !m_appService.getState().pageFullscreen\" color=\"primary\" >Salva</button>\n <button mat-flat-button (click)=\"procedi()\" *ngIf=\"edit_button && procedi_button\" color=\"accent\" >Procedi</button>\n <button mat-flat-button (click)=\"respingi()\" *ngIf=\"respingi_button\" color=\"warn\" >Respingi</button>\n<!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button>&nbsp;&nbsp;\n-->\n\n</div>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" >\n\n\n<button mat-flat-button (click)=\"open_info()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>info_outline</mat-icon>&nbsp;&nbsp;Info Doc</button>\n<button mat-flat-button (click)=\"open_commenti()\"> <mat-icon>insert_comment</mat-icon>&nbsp;&nbsp;Commenti {{dt_agg?.comm_c}}</button>\n<button mat-flat-button (click)=\"open_upload()\"> <mat-icon>attach_file</mat-icon>&nbsp;&nbsp;Allegati {{dt_agg?.all_c}}</button>\n<button mat-flat-button (click)=\"open_wkf()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>transfer_within_a_station</mat-icon>&nbsp;&nbsp;Workflow</button>\n\n</div>\n</div>\n\n "
17611
+ template: "\n\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" style=\"background-color: #F5F5F5\">\n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" *ngIf=\"!m_appService.getState().pageFullscreen || edit_button || respingi_button\">\n\n<button mat-flat-button (click)=\"back()\" style=\"background-color: #FEFEFE\" style=\"background-color: #F5F5F5\" *ngIf=\"!m_appService.getState().pageFullscreen\">Indietro</button>\n <button mat-flat-button (click)=\"evt_salv()\" *ngIf=\"edit_button && !m_appService.getState().pageFullscreen\" color=\"primary\" >Salva</button>\n <button mat-flat-button (click)=\"procedi()\" *ngIf=\"edit_button && procedi_button\" color=\"accent\" >Procedi</button>\n <button mat-flat-button (click)=\"respingi()\" *ngIf=\"respingi_button\" color=\"warn\" >Respingi</button>\n<!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button>&nbsp;&nbsp;\n-->\n\n</div>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" >\n\n\n<button mat-flat-button (click)=\"open_info()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>info_outline</mat-icon>&nbsp;&nbsp;Info Doc</button>\n<button mat-flat-button (click)=\"open_commenti()\"> <mat-icon>insert_comment</mat-icon>&nbsp;&nbsp;Commenti {{dt_agg?.comm_c}}</button>\n<button mat-flat-button (click)=\"open_upload()\"> <mat-icon>attach_file</mat-icon>&nbsp;&nbsp;Allegati {{dt_agg?.all_c}}</button>\n<button mat-flat-button (click)=\"open_wkf()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>transfer_within_a_station</mat-icon>&nbsp;&nbsp;Workflow</button>\n\n</div>\n</div>\n\n "
17606
17612
  }] }
17607
17613
  ];
17608
17614
  /** @nocollapse */
@@ -20098,7 +20104,7 @@
20098
20104
  /** @type {?} */
20099
20105
  var p_1 = new QParam();
20100
20106
  p_1.sql = "SELECT_APPS_USER_ALL";
20101
- _this.app_s.getState().app_enabled = new Array();
20107
+ _this.app_s.getState().app_enabled = [];
20102
20108
  p_1.types = ['string'];
20103
20109
  p_1.values = [_this.app_s.user];
20104
20110
  //console.log('canActivate 8');
@@ -20133,6 +20139,7 @@
20133
20139
  }));
20134
20140
  }
20135
20141
  else {
20142
+ console.log('this.app_s ', _this.app_s);
20136
20143
  /** @type {?} */
20137
20144
  var p_2 = new QParam();
20138
20145
  if (_this.app_s.user_isadmin != null)
@@ -20141,7 +20148,7 @@
20141
20148
  return;
20142
20149
  }
20143
20150
  p_2.sql = "SELECT_APPS_USER_ALL";
20144
- _this.app_s.getState().app_enabled = new Array();
20151
+ _this.app_s.getState().app_enabled = [];
20145
20152
  p_2.types = ['string'];
20146
20153
  p_2.values = [_this.app_s.user];
20147
20154
  //console.log('canActivate 8');
@@ -20161,7 +20168,7 @@
20161
20168
  }
20162
20169
  }
20163
20170
  }
20164
- //console.log('canActivate 11');
20171
+ console.log(_this.arr_accessi, ' ', _this.routingDestination);
20165
20172
  _this.toast.error("ACCESS DENIED [0X0005]");
20166
20173
  resolve(false);
20167
20174
  _this.slimLoadingBarService.complete();