@fluxhub/fluxhub-lib 10.0.651 → 10.0.653

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.
@@ -16541,7 +16541,7 @@
16541
16541
  wkf_header_bar_v2.decorators = [
16542
16542
  { type: i0.Component, args: [{
16543
16543
  selector: "wkf_header_bar_v2",
16544
- template: "\n <div fxLayout=\"row\" fxLayoutGap.lt-md=\"8px\" fxLayoutGap=\"15px\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.lt-md=\"8px\"\n *ngIf=\"\n !m_appService.getState().pageFullscreen ||\n edit_button ||\n respingi_button\n \"\n >\n <div>\n <button\n mat-flat-button\n (click)=\"back()\"\n *ngIf=\"!m_appService.getState().pageFullscreen\"\n >\n {{back_lbl}}</button\n ></div>\n <div>\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n *ngIf=\"(edit_button || force_save) && !in_carico\"\n color=\"primary\" style=\"font-weight:bold\"\n >\n {{save_lbl}}</button\n ></div>\n\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n *ngIf=\"(edit_button || force_save) && in_carico && assegna_a\"\n color=\"primary\" style=\"font-weight:bold\"\n >\n {{'Assegna a'|translate}}</button\n ></div>\n\n <div>\n\n <div>\n <button\n mat-flat-button\n (click)=\"prendi_in_carico()\"\n *ngIf=\"(edit_button) && in_carico\"\n style=\"background-color:#709D66;color:#FFFFFF;font-weight:bold\"\n >\n {{prendi_in_carico_lbl | translate}}</button\n ></div><div>\n\n <button\n mat-flat-button\n (click)=\"procedi()\"\n *ngIf=\"(edit_button && procedi_button) && !in_carico\"\n color=\"accent\" style=\"font-weight:bold\"\n >\n {{procedi_lbl | translate}}</button\n ></div><div *ngIf=\"(respingi_button) && !in_carico\">\n <button\n mat-flat-button\n (click)=\"respingi()\"\n style=\"font-weight:bold\"\n color=\"warn\"\n >\n {{respingi_lbl | translate}}\n </button>\n </div>\n <div *ngIf=\"(b_revisione) && in_carico\">\n <button\n mat-flat-button\n (click)=\"revisione()\"\n\n color=\"accent\"\n >\n {{revisione_lbl | translate}}\n </button>\n </div>\n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button>&nbsp;&nbsp;\n-->\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;\n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.xs=\"8px\"\n >\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button\n (click)=\"open_info()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>info_outline</mat-icon>&nbsp;&nbsp; {{info_doc_lbl | translate}}</button\n ></div>\n <div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.comm_c ? dt_agg?.comm_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.comm_c ? dt_agg?.comm_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_commenti()\"\n >\n <mat-icon>insert_comment</mat-icon> {{commenti_lbl | translate}}</button\n ></div>\n\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div [hidden]=\"!download_button\">\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.all_c ? dt_agg?.all_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.all_c ? dt_agg?.all_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_upload()\"\n >\n <mat-icon>attach_file</mat-icon> {{allegati_lbl | translate}}</button\n ></div>\n\n <div>\n <button\n mat-flat-button\n (click)=\"open_wkf()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>transfer_within_a_station</mat-icon> {{workflow_lbl | translate}}\n </button>\n </div>\n\n\n\n </div>\n </div>\n <div\n *ngIf=\"custom_commands.length > 0\"\n fxLayoutGap=\"10px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n >\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\"\n fxLayoutGap=\"5px\">\n <div><button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >{{ app.label | translate}}\n </button> </div>\n </div>\n </div>\n </div>\n "
16544
+ template: "\n <div fxLayout=\"row\" fxLayoutGap.lt-md=\"8px\" fxLayoutGap=\"15px\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.lt-md=\"8px\"\n *ngIf=\"\n !m_appService.getState().pageFullscreen ||\n edit_button ||\n respingi_button\n \"\n >\n <div>\n <button\n mat-flat-button\n (click)=\"back()\"\n *ngIf=\"!m_appService.getState().pageFullscreen\"\n >\n {{back_lbl}}</button\n ></div>\n <div>\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n *ngIf=\"(edit_button || force_save) && !in_carico\"\n color=\"primary\" style=\"font-weight:bold\"\n >\n {{save_lbl}}</button\n ></div>\n\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n *ngIf=\"(edit_button || force_save) && assegna_a\"\n color=\"primary\" style=\"font-weight:bold\"\n >\n {{'Assegna a'|translate}}</button\n ></div>\n\n <div>\n\n <div>\n <button\n mat-flat-button\n (click)=\"prendi_in_carico()\"\n *ngIf=\"(edit_button) && in_carico\"\n style=\"background-color:#709D66;color:#FFFFFF;font-weight:bold\"\n >\n {{prendi_in_carico_lbl | translate}}</button\n ></div><div>\n\n <button\n mat-flat-button\n (click)=\"procedi()\"\n *ngIf=\"(edit_button && procedi_button) && !in_carico\"\n color=\"accent\" style=\"font-weight:bold\"\n >\n {{procedi_lbl | translate}}</button\n ></div><div *ngIf=\"(respingi_button) && !in_carico\">\n <button\n mat-flat-button\n (click)=\"respingi()\"\n style=\"font-weight:bold\"\n color=\"warn\"\n >\n {{respingi_lbl | translate}}\n </button>\n </div>\n <div *ngIf=\"(b_revisione) && in_carico\">\n <button\n mat-flat-button\n (click)=\"revisione()\"\n\n color=\"accent\"\n >\n {{revisione_lbl | translate}}\n </button>\n </div>\n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button>&nbsp;&nbsp;\n-->\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;\n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.xs=\"8px\"\n >\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button\n (click)=\"open_info()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>info_outline</mat-icon>&nbsp;&nbsp; {{info_doc_lbl | translate}}</button\n ></div>\n <div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.comm_c ? dt_agg?.comm_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.comm_c ? dt_agg?.comm_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_commenti()\"\n >\n <mat-icon>insert_comment</mat-icon> {{commenti_lbl | translate}}</button\n ></div>\n\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div [hidden]=\"!download_button\">\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.all_c ? dt_agg?.all_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.all_c ? dt_agg?.all_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_upload()\"\n >\n <mat-icon>attach_file</mat-icon> {{allegati_lbl | translate}}</button\n ></div>\n\n <div>\n <button\n mat-flat-button\n (click)=\"open_wkf()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>transfer_within_a_station</mat-icon> {{workflow_lbl | translate}}\n </button>\n </div>\n\n\n\n </div>\n </div>\n <div\n *ngIf=\"custom_commands.length > 0\"\n fxLayoutGap=\"10px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n >\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\"\n fxLayoutGap=\"5px\">\n <div><button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >{{ app.label | translate}}\n </button> </div>\n </div>\n </div>\n </div>\n "
16545
16545
  },] }
16546
16546
  ];
16547
16547
  wkf_header_bar_v2.ctorParameters = function () { return [
@@ -24296,11 +24296,11 @@
24296
24296
  if (this.m_obj.autori != null)
24297
24297
  if (this.m_obj.autori.split(',').length != 1)
24298
24298
  this.in_carico = true;
24299
- if (!this.in_carico) {
24300
- if (this.m_obj.assegnati_paralleli != null)
24301
- if (this.m_obj.assegnati_paralleli.split(',').length != 1)
24302
- this.b_assenza_a = true;
24303
- }
24299
+ // if(!this.in_carico){
24300
+ if (this.m_obj.assegnati_paralleli != null)
24301
+ if (this.m_obj.assegnati_paralleli.split(',').length != 1)
24302
+ this.b_assenza_a = true;
24303
+ // }
24304
24304
  this.update_status(true, false, this.in_carico, this.b_assenza_a);
24305
24305
  if (this.respingi_enabled)
24306
24306
  this.update_status(null, true, this.in_carico, this.b_assenza_a);