@fluxhub/fluxhub-lib 1.0.552 → 1.0.554

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.
@@ -17226,14 +17226,14 @@ var dati_aggiuntivi = /** @class */ (function () {
17226
17226
  /** @type {?} */
17227
17227
  var min_liv = 0;
17228
17228
  for (var i = 0; i < this.livs.length; i++)
17229
- if (this.livs[i].livello < min_liv || min_liv == 0) {
17229
+ if ((this.livs[i].livello < min_liv || min_liv == 0) && this.livs[i].notifica == 0) {
17230
17230
  this.clevel = this.livs[i];
17231
17231
  min_liv = this.livs[i].livello;
17232
17232
  }
17233
17233
  /** @type {?} */
17234
17234
  var sv = [];
17235
17235
  for (var i = 0; i < this.livs.length; i++)
17236
- if (this.livs[i].livello == min_liv && this.app_s.getState().wkf_doc_info.curr_user.toUpperCase() == this.livs[i].idp.toUpperCase()) {
17236
+ if (this.livs[i].livello == min_liv && this.livs[i].notifica == 0 && this.app_s.getState().wkf_doc_info.curr_user.toUpperCase() == this.livs[i].idp.toUpperCase()) {
17237
17237
  if (this.livs[i].gruppo_parallelo != null)
17238
17238
  sv.push(this.livs[i].gruppo_parallelo);
17239
17239
  else
@@ -17886,7 +17886,7 @@ var wkf_header_bar = /** @class */ (function () {
17886
17886
  wkf_header_bar.decorators = [
17887
17887
  { type: Component, args: [{
17888
17888
  selector: 'wkf_header_bar',
17889
- template: "\n\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" style=\"background-color: #F5F5F5\" *ngIf=\"!icon_mode\">\n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" *ngIf=\"!m_appService.getState().pageFullscreen || edit_button || respingi_button\">\n<button mat-flat-button (click)=\"back()\" *ngIf=\"!m_appService.getState().pageFullscreen\">Indietro</button>&nbsp;&nbsp;\n <button mat-flat-button (click)=\"evt_salv()\" *ngIf=\"edit_button && !m_appService.getState().pageFullscreen\" color=\"primary\" >Salva</button>&nbsp;&nbsp;\n <button mat-flat-button (click)=\"procedi()\" *ngIf=\"edit_button && procedi_button\" color=\"accent\" >Procedi</button>&nbsp;&nbsp;\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</div>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" >\n<button mat-flat-button (click)=\"open_info()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>info_outline</mat-icon>&nbsp;&nbsp;Info Doc</button>&nbsp;&nbsp;\n<button mat-flat-button (click)=\"open_commenti()\"> <mat-icon>insert_comment</mat-icon>&nbsp;&nbsp;Commenti {{dt_agg?.comm_c}}</button>&nbsp;&nbsp;\n<button mat-flat-button (click)=\"open_upload()\"> <mat-icon>attach_file</mat-icon>&nbsp;&nbsp;Allegati {{dt_agg?.all_c}}</button>&nbsp;&nbsp;\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</div>\n</div>\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" style=\"background-color: #F5F5F5\" *ngIf=\"icon_mode\">\n <div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" *ngIf=\"!m_appService.getState().pageFullscreen || edit_button || respingi_button\">\n <mat-icon matTooltip=\"Indietro\"(click)=\"back()\" style=\"cursor:pointer\" >list</mat-icon>&nbsp;&nbsp;\n <mat-icon matTooltip=\"Salva\" (click)=\"evt_salv()\" (click)=\"evt_salv()\" *ngIf=\"edit_button && !m_appService.getState().pageFullscreen\" style=\"cursor:pointer\" >save</mat-icon>&nbsp;&nbsp;\n <mat-icon matTooltip=\"Procedi\" (click)=\"procedi()\" *ngIf=\"edit_button && procedi_button\" style=\"cursor:pointer\" >check</mat-icon>&nbsp;&nbsp;\n <mat-icon matTooltip=\"Respingi\" (click)=\"respingi()\" *ngIf=\"respingi_button\" style=\"cursor:pointer\" >cancel_presentation</mat-icon>&nbsp;&nbsp;\n\n \n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button>&nbsp;&nbsp;\n -->\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" >\n<mat-icon matTooltip=\"Info Doc\" (click)=\"open_info()\" *ngIf=\"!m_appService.getState().pageFullscreen\">info_outline</mat-icon>&nbsp;&nbsp;\n <mat-icon [matTooltip]=\"'Commenti '+dt_agg?.comm_c\" (click)=\"open_commenti()\">insert_comment</mat-icon>&nbsp;&nbsp;\n <mat-icon [matTooltip]=\"'Allegati '+dt_agg?.all_c\" (click)=\"open_upload()\">attach_file</mat-icon>&nbsp;&nbsp;\n <mat-icon [matTooltip]=\"'Workflow'\" *ngIf=\"!m_appService.getState().pageFullscreen\" (click)=\"open_wkf()\">transfer_within_a_station</mat-icon>\n\n </div>\n</div>\n "
17889
+ template: "\n\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" style=\"background-color: #F5F5F5\" *ngIf=\"!icon_mode\">\n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" *ngIf=\"!m_appService.getState().pageFullscreen || edit_button || respingi_button\">\n<button mat-flat-button (click)=\"back()\" *ngIf=\"!m_appService.getState().pageFullscreen\">Indietro</button>&nbsp;&nbsp;\n <button mat-flat-button (click)=\"evt_salv()\" *ngIf=\"edit_button && !m_appService.getState().pageFullscreen\" color=\"primary\" >Salva</button>&nbsp;&nbsp;\n <button mat-flat-button (click)=\"procedi()\" *ngIf=\"edit_button && procedi_button\" color=\"accent\" >Procedi</button>&nbsp;&nbsp;\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</div>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" >\n<button mat-flat-button (click)=\"open_info()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>info_outline</mat-icon>&nbsp;&nbsp;Info Doc</button>&nbsp;&nbsp;\n<button mat-flat-button (click)=\"open_commenti()\"> <mat-icon>insert_comment</mat-icon>&nbsp;&nbsp;Commenti {{dt_agg?.comm_c}}</button>&nbsp;&nbsp;\n<button mat-flat-button (click)=\"open_upload()\"> <mat-icon>attach_file</mat-icon>&nbsp;&nbsp;Allegati {{dt_agg?.all_c}}</button>&nbsp;&nbsp;\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</div>\n</div>\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" style=\"background-color: #F5F5F5\" *ngIf=\"icon_mode\">\n <div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" *ngIf=\"!m_appService.getState().pageFullscreen || edit_button || respingi_button\">\n <mat-icon matTooltip=\"Indietro\"(click)=\"back()\" style=\"cursor:pointer\" >list</mat-icon>&nbsp;&nbsp;\n <mat-icon matTooltip=\"Salva\" (click)=\"evt_salv()\" *ngIf=\"edit_button && !m_appService.getState().pageFullscreen\" style=\"cursor:pointer\" >save</mat-icon>&nbsp;&nbsp;\n <mat-icon matTooltip=\"Procedi\" (click)=\"procedi()\" *ngIf=\"edit_button && procedi_button\" style=\"cursor:pointer\" >check</mat-icon>&nbsp;&nbsp;\n <mat-icon matTooltip=\"Respingi\" (click)=\"respingi()\" *ngIf=\"respingi_button\" style=\"cursor:pointer\" >cancel_presentation</mat-icon>&nbsp;&nbsp;\n\n \n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button>&nbsp;&nbsp;\n -->\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" >\n<mat-icon matTooltip=\"Info Doc\" (click)=\"open_info()\" *ngIf=\"!m_appService.getState().pageFullscreen\">info_outline</mat-icon>&nbsp;&nbsp;\n <mat-icon [matTooltip]=\"'Commenti '+dt_agg?.comm_c\" (click)=\"open_commenti()\">insert_comment</mat-icon>&nbsp;&nbsp;\n <mat-icon [matTooltip]=\"'Allegati '+dt_agg?.all_c\" (click)=\"open_upload()\">attach_file</mat-icon>&nbsp;&nbsp;\n <mat-icon [matTooltip]=\"'Workflow'\" *ngIf=\"!m_appService.getState().pageFullscreen\" (click)=\"open_wkf()\">transfer_within_a_station</mat-icon>\n\n </div>\n</div>\n "
17890
17890
  }] }
17891
17891
  ];
17892
17892
  /** @nocollapse */