@fluxhub/fluxhub-lib 10.0.580 → 10.0.581

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.
@@ -7454,7 +7454,9 @@
7454
7454
  // console.log(this.smtr); console.log(this.smtr.nativeElement);
7455
7455
  this.setByValue(this.valDef);
7456
7456
  if (this.getValue() == "-1" && this.valDef != "-1")
7457
- this.setByDescri(this._tsr.instant(this.valDef));
7457
+ if (this.valDef != null)
7458
+ if (this.valDef != '')
7459
+ this.setByDescri(this._tsr.instant(this.valDef));
7458
7460
  this.is_loaded = true;
7459
7461
  this.fillend.emit();
7460
7462
  };
@@ -12755,7 +12757,7 @@
12755
12757
  FHGridToolBarComponent.decorators = [
12756
12758
  { type: i0.Component, args: [{
12757
12759
  selector: "FHGridToolBar",
12758
- template: "\n <div\n *ngIf=\"type == 'WKF' || type == 'WKF_NO_EDIT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <table><tr><td style=\"width:130px\">\n <button\n mat-flat-button\n (click)=\"insert_doc()\"\n *ngIf=\"toolbar_wkfapp?.is_Ins && type != 'WKF_NO_EDIT'\"\n color=\"accent\"\n style=\"width:130px\"\n >\n <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"INSERISCI\" | translate\n }}</button\n >\n </td><td style=\"width:130px\">\n <button\n mat-flat-button\n color=\"warn\"\n mat-button style=\"width:130px\"\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor\"\n >\n {{ \"Gestione\" | translate }}\n </button>\n </td></tr></table>\n <mat-menu #gest_menu=\"matMenu\">\n <button mat-menu-item [hidden]=\"sRow==null\" (click)=\"annulla_richiesta()\">\n {{ \"ANNULLA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item (click)=\"recupera_richiesta()\">\n {{ \"RECUPERA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item [hidden]=\"sRow==null\" (click)=\"riassegna_richiesta()\">\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item [hidden]=\"sRow==null\"\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n <button\n mat-menu-item [hidden]=\"sRow==null\"\n style=\"background-color: #F5F5F5\"\n (click)=\"reclama_bozza()\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin\"\n >\n {{ \"RECLAMA BOZZA\" | translate }}\n </button>\n <button\n mat-menu-item\n (click)=\"test_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"TEST UTENTE\" | translate }}\n </button>\n </mat-menu>\n <button\n mat-flat-button\n (click)=\"annulla_imp()\"\n *ngIf=\"toolbar_wkfapp?.imp != null && toolbar_wkfapp?.imp != ''\"\n >\n {{ toolbar_wkfapp?.imp }}\n </button>\n<div>\n <button\n mat-flat-button\n color=\"accent\"\n mat-button\n [matMenuTriggerFor]=\"gest_menu_custom\"\n *ngIf=\"custom_commands!=null && custom_commands.length>0\"\n >\n\t\t\t<mat-icon>menu</mat-icon>\n </button>\n </div>\n <mat-menu #gest_menu_custom=\"matMenu\">\n <div fxLayout=\"row\" style=\"width:300px\" fxLayoutAlign=\"center center\">\n <div fxLayout=\"column\" fxLayoutGap=\"2px\" fxFlex=\"100\" fxLayoutAlign=\"center center\">\n\t\t\t<ng-container *ngFor=\"let app of custom_commands\">\n\n <div style=\"width:280px\"><button *ngIf=\"app.type == 'button'\" [hidden]=\"app.hidden\"\n mat-flat-button style=\"width:96%\"\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon>&nbsp;{{ app.label | translate }}\n </button></div>\n <div style=\"width:280px\">\n\t\t\t\t <FHCheckBox\n\t\t\t\t\t *ngIf=\"app.type == 'checkbox'\"\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div style=\"width:280px\">\n\t\t\t <FHTableManager *ngIf=\"app.type == 'table_manager'\" style=\"width:180px\" [application]=\"app.default_value\"></FHTableManager>\n </div>\n\t\t\t</ng-container>\n </div>&nbsp;&nbsp;\n </div>\n </mat-menu>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'INSERT_DELETE' || type == 'INSERT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"5px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <button mat-flat-button (click)=\"new_doc()\" color=\"primary\">\n <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"INSERISCI\" | translate\n }}\n </button>\n\n <button\n *ngIf=\"type == 'INSERT_DELETE'\"\n mat-flat-button\n (click)=\"del_doc()\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon>&nbsp;&nbsp;&nbsp;\n {{elimina_label | translate}}\n\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"column\" fxLayoutGap=\"5px\">\n <div *ngIf=\"app.type == 'button' || app.type == null\">\n <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 >&nbsp;&nbsp;&nbsp;{{ app.label | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'CUSTOM'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n > <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayoutAlign=\"end center\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div *ngIf=\"app.type == 'button' || app.type == null\">\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n\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 >&nbsp;&nbsp;&nbsp;{{ app.label | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n <div\n *ngIf=\"type == 'CUSTOM_MENU'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <button\n mat-flat-button\n color=\"warn\"\n mat-button\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n\n >\n <mat-icon>menu</mat-icon>\n </button>\n <mat-menu #gest_menu=\"matMenu\">\n <div fxLayout=\"column\" fxLayoutGap=\"6px\" style=\"width:100%\">\n <div style=\"width:100%\"><button style=\"width:100%\" mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button></div>\n <div *ngFor=\"let app of custom_commands\" fxLayoutAlign=\"end center\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div style=\"width:100%\" *ngIf=\"app.type == 'button' || app.type == null\">\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n style=\"width:100%\"\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 >&nbsp;&nbsp;&nbsp;{{ app.label | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div></div>\n </mat-menu>\n </div>\n <div\n *ngIf=\"type == 'NONE' && show_link\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{\n help_label | translate\n }}\n </button>\n </div>\n ",
12760
+ template: "\n <div\n *ngIf=\"type == 'WKF' || type == 'WKF_NO_EDIT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <table><tr><td style=\"width:130px\">\n <button\n mat-flat-button\n (click)=\"insert_doc()\"\n *ngIf=\"toolbar_wkfapp?.is_Ins && type != 'WKF_NO_EDIT'\"\n color=\"accent\"\n style=\"width:130px\"\n >\n <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"INSERISCI\" | translate\n }}</button\n >\n </td><td style=\"width:130px\">\n <button\n mat-flat-button\n color=\"warn\"\n mat-button style=\"width:130px\"\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor\"\n >\n {{ \"Gestione\" | translate }}\n </button>\n </td></tr></table>\n <mat-menu #gest_menu=\"matMenu\">\n <button mat-menu-item [hidden]=\"sRow==null\" (click)=\"annulla_richiesta()\">\n {{ \"ANNULLA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item (click)=\"recupera_richiesta()\">\n {{ \"RECUPERA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item [hidden]=\"sRow==null\" (click)=\"riassegna_richiesta()\">\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item [hidden]=\"sRow==null\"\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n <button\n mat-menu-item [hidden]=\"sRow==null\"\n style=\"background-color: #F5F5F5\"\n (click)=\"reclama_bozza()\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin\"\n >\n {{ \"RECLAMA BOZZA\" | translate }}\n </button>\n <button\n mat-menu-item\n (click)=\"test_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"TEST UTENTE\" | translate }}\n </button>\n </mat-menu>\n <button\n mat-flat-button\n (click)=\"annulla_imp()\"\n *ngIf=\"toolbar_wkfapp?.imp != null && toolbar_wkfapp?.imp != ''\"\n >\n {{ toolbar_wkfapp?.imp }}\n </button>\n<div>\n <button\n mat-flat-button\n color=\"accent\"\n mat-button\n [matMenuTriggerFor]=\"gest_menu_custom\"\n *ngIf=\"custom_commands!=null && custom_commands.length>0\"\n >\n\t\t\t<mat-icon>menu</mat-icon>\n </button>\n </div>\n <mat-menu #gest_menu_custom=\"matMenu\">\n <div fxLayout=\"row\" style=\"width:300px\" fxLayoutAlign=\"center center\">&nbsp;&nbsp;\n <div fxLayout=\"column\" fxLayoutGap=\"8px\" fxFlex=\"100\" fxLayoutAlign=\"center start\">\n\t\t\t<ng-container *ngFor=\"let app of custom_commands\">\n\n <div style=\"width:280px\"><button *ngIf=\"app.type == 'button'\" [hidden]=\"app.hidden\"\n mat-flat-button style=\"width:96%\"\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon>&nbsp;{{ app.label | translate }}\n </button></div>\n <div style=\"width:280px\">\n\t\t\t\t <FHCheckBox\n\t\t\t\t\t *ngIf=\"app.type == 'checkbox'\"\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div style=\"width:280px\">\n\t\t\t <FHTableManager *ngIf=\"app.type == 'table_manager'\" style=\"width:180px\" [application]=\"app.default_value\"></FHTableManager>\n </div>\n\t\t\t</ng-container>\n </div>&nbsp;&nbsp;\n </div>\n </mat-menu>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'INSERT_DELETE' || type == 'INSERT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"5px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <button mat-flat-button (click)=\"new_doc()\" color=\"primary\">\n <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"INSERISCI\" | translate\n }}\n </button>\n\n <button\n *ngIf=\"type == 'INSERT_DELETE'\"\n mat-flat-button\n (click)=\"del_doc()\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon>&nbsp;&nbsp;&nbsp;\n {{elimina_label | translate}}\n\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"column\" fxLayoutGap=\"5px\">\n <div *ngIf=\"app.type == 'button' || app.type == null\">\n <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 >&nbsp;&nbsp;&nbsp;{{ app.label | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'CUSTOM'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n > <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayoutAlign=\"end center\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div *ngIf=\"app.type == 'button' || app.type == null\">\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n\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 >&nbsp;&nbsp;&nbsp;{{ app.label | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n <div\n *ngIf=\"type == 'CUSTOM_MENU'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <button\n mat-flat-button\n color=\"warn\"\n mat-button\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n\n >\n <mat-icon>menu</mat-icon>\n </button>\n <mat-menu #gest_menu=\"matMenu\">\n <div fxLayout=\"column\" fxLayoutGap=\"6px\" style=\"width:100%\">\n <div style=\"width:100%\"><button style=\"width:100%\" mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button></div>\n <div *ngFor=\"let app of custom_commands\" fxLayoutAlign=\"end center\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div style=\"width:100%\" *ngIf=\"app.type == 'button' || app.type == null\">\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n style=\"width:100%\"\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 >&nbsp;&nbsp;&nbsp;{{ app.label | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div></div>\n </mat-menu>\n </div>\n <div\n *ngIf=\"type == 'NONE' && show_link\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{\n help_label | translate\n }}\n </button>\n </div>\n ",
12759
12761
  styles: ["\n\n "]
12760
12762
  },] }
12761
12763
  ];
@@ -21607,11 +21609,11 @@
21607
21609
  wkfapp_v2.prototype.annulla_richiesta = function () {
21608
21610
  var _this = this;
21609
21611
  if (this.get_grid().sRow == null) {
21610
- this._toastr.error("Selezionare il documento da annullare");
21612
+ this._toastr.error(this.tsr.instant("Selezionare il documento da annullare"));
21611
21613
  return;
21612
21614
  }
21613
- localStorage.setItem(this.app_s.COMPANY_KEY + "title_dialog", "Conferma Operazione");
21614
- localStorage.setItem(this.app_s.COMPANY_KEY + "msg_dialog", "Confermi di voler annullare il documento numero: " +
21615
+ localStorage.setItem(this.app_s.COMPANY_KEY + "title_dialog", this.tsr.instant("Conferma Operazione"));
21616
+ localStorage.setItem(this.app_s.COMPANY_KEY + "msg_dialog", this.tsr.instant("Confermi di voler annullare il documento numero: ") +
21615
21617
  this.get_grid().sRow.codice +
21616
21618
  "?");
21617
21619
  var dialogRef = this.dialog.open(fh_win_confirm, {
@@ -21650,7 +21652,7 @@
21650
21652
  return;
21651
21653
  }
21652
21654
  var dialogRef = this.dialog.open(fh_win_confirm, {
21653
- disableClose: true, data: { title_dialog: "Conferma Operazione", msg_dialog: "Confermi di voler assegnarti il documento?" }
21655
+ disableClose: true, data: { title_dialog: this.tsr.instant("Conferma Operazione"), msg_dialog: this.tsr.instant("Confermi di voler assegnarti il documento?") }
21654
21656
  });
21655
21657
  dialogRef.afterClosed().subscribe(function (result) {
21656
21658
  if (result) {
@@ -21679,7 +21681,7 @@
21679
21681
  if (b_found) {
21680
21682
  console.log(livello, stato_doc);
21681
21683
  if (livello != stato_doc) {
21682
- _this._toastr.error('Il documento non è in stato Bozza');
21684
+ _this._toastr.error(_this.tsr.instant('Il documento non è in stato Bozza'));
21683
21685
  return;
21684
21686
  }
21685
21687
  var p_2 = new QParam();
@@ -21689,13 +21691,13 @@
21689
21691
  _this.m_dataService.doQuery(p_2).subscribe(function (data) {
21690
21692
  if (data != null)
21691
21693
  if (data.result_msg == "OK") {
21692
- _this._toastr.info('Documento aggiornato');
21694
+ _this._toastr.info(_this.tsr.instant('Documento aggiornato'));
21693
21695
  _this.get_grid().doFill("");
21694
21696
  }
21695
21697
  });
21696
21698
  }
21697
21699
  else {
21698
- _this._toastr.error('L\'utente non è configurato per lo step BOZZA');
21700
+ _this._toastr.error(_this.tsr.instant('L\'utente non è configurato per lo step BOZZA'));
21699
21701
  }
21700
21702
  });
21701
21703
  });
@@ -21705,7 +21707,7 @@
21705
21707
  wkfapp_v2.prototype.sostituisci_utente = function () {
21706
21708
  var _this = this;
21707
21709
  if (this.get_grid().sRow == null) {
21708
- this._toastr.error("Selezionare il documento");
21710
+ this._toastr.error(this.tsr.instant("Selezionare il documento"));
21709
21711
  return;
21710
21712
  }
21711
21713
  var p = new QParam();
@@ -21723,7 +21725,7 @@
21723
21725
  setTimeout(function () {
21724
21726
  dialogRef_1.componentInstance.up.all_user = data.result_data;
21725
21727
  dialogRef_1.componentInstance.title =
21726
- "Sostituzione utente: " +
21728
+ _this.tsr.instant("Sostituzione utente: ") +
21727
21729
  _this.get_grid().sRow.codice +
21728
21730
  " - " +
21729
21731
  _this.get_grid().sRow.oggetto;
@@ -21744,7 +21746,7 @@
21744
21746
  _this.m_dataService.doQuery(p_3).subscribe(function (data) {
21745
21747
  if (data != null)
21746
21748
  if (data.result_msg == "OK") {
21747
- _this._toastr.info("Workflow Aggiornato");
21749
+ _this._toastr.info(_this.tsr.instant("Workflow Aggiornato"));
21748
21750
  }
21749
21751
  });
21750
21752
  }
@@ -21784,7 +21786,7 @@
21784
21786
  setTimeout(function () {
21785
21787
  dialogRef_2.componentInstance.setStepCombo(s_i_1);
21786
21788
  dialogRef_2.componentInstance.title =
21787
- "Riassegnazione documento: " +
21789
+ _this.tsr.instant("Riassegnazione documento: ") +
21788
21790
  _this.get_grid().sRow.codice +
21789
21791
  " - " +
21790
21792
  _this.get_grid().sRow.oggetto;
@@ -21861,7 +21863,7 @@
21861
21863
  setTimeout(function () {
21862
21864
  dialogRef_3.componentInstance.arrAutori = arrAutori;
21863
21865
  dialogRef_3.componentInstance.title =
21864
- "Riassegnazione documento: " +
21866
+ _this.tsr.instant("Riassegnazione documento: ") +
21865
21867
  _this.get_grid().sRow.codice +
21866
21868
  " - " +
21867
21869
  _this.get_grid().sRow.oggetto;
@@ -21917,7 +21919,7 @@
21917
21919
  old_grp = this.wax[i].gruppo_parallelo;
21918
21920
  }
21919
21921
  else {
21920
- this._toastr.error("impossibile assegnare a utenti di gruppi distiniti");
21922
+ this._toastr.error(this.tsr.instant("impossibile assegnare a utenti di gruppi distiniti"));
21921
21923
  return;
21922
21924
  }
21923
21925
  if (a_datanot != "")
@@ -21948,11 +21950,11 @@
21948
21950
  }
21949
21951
  rxjs.forkJoin(op).subscribe(function (result) { });
21950
21952
  this.sendEMail_ex(this.user_idp, a_datanot, this.titolo_email +
21951
- "L'utente " +
21953
+ this.tsr.instant("L'utente ") +
21952
21954
  this.user_cognome +
21953
21955
  " " +
21954
21956
  this.user_nome +
21955
- " ti ha riassegnato il documento: " +
21957
+ this.tsr.instant(" ti ha riassegnato il documento: ") +
21956
21958
  this.get_grid().sRow.codice, "Commento:\n\n" + this.nota_wax, this.id_applicativo, this.get_grid().sRow.uiid, this.app_s.COMPANY_SITE_ROOT +
21957
21959
  "#/" +
21958
21960
  this.app_root +
@@ -21967,7 +21969,7 @@
21967
21969
  p.values = [
21968
21970
  this.id_applicativo,
21969
21971
  this.get_grid().sRow.uiid,
21970
- "Documento riassegnato a " + a_utif,
21972
+ this.tsr.instant("Documento riassegnato a ") + a_utif,
21971
21973
  this.user_idp,
21972
21974
  this.os_r.description,
21973
21975
  this.get_grid().sRow.stato,
@@ -22025,7 +22027,7 @@
22025
22027
  p.values = [
22026
22028
  this.id_applicativo,
22027
22029
  this.get_grid().sRow.uiid,
22028
- "Documento riassegnato, commento:\n" + this.nota_wax,
22030
+ this.tsr.instant("Documento riassegnato, commento:") + "\n" + this.nota_wax,
22029
22031
  this.user_idp,
22030
22032
  "",
22031
22033
  ];
@@ -22104,7 +22106,7 @@
22104
22106
  });
22105
22107
  setTimeout(function () {
22106
22108
  dialogRef_4.componentInstance.arrAutori = data.result_data;
22107
- dialogRef_4.componentInstance.title = "Impersona Utente";
22109
+ dialogRef_4.componentInstance.title = _this.tsr.instant("Impersona Utente");
22108
22110
  dialogRef_4.componentInstance.commento_hidden = true;
22109
22111
  });
22110
22112
  dialogRef_4.afterClosed().subscribe(function (result) {
@@ -22183,7 +22185,7 @@
22183
22185
  this.user_idp = this.app_s.getState().wkf_obj.user_idp;
22184
22186
  this.app_root = this.app_s.getState().wkf_obj.app_root;
22185
22187
  this.title = this.app_s.getState().wkf_obj.title;
22186
- this.m_uti.set_home_title(this.att_panelcat);
22188
+ this.m_uti.set_home_title(this.tsr.instant(this.att_panelcat));
22187
22189
  };
22188
22190
  wkfapp_v2.prototype.init_Panel = function (cod_documento, id_Doc) {
22189
22191
  this.m_id_Doc = id_Doc;