@fluxhub/fluxhub-lib 11.0.63 → 11.0.64

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.
@@ -5630,6 +5630,7 @@
5630
5630
  this.toolbar_type = "NONE";
5631
5631
  this.toolbar_wkfapp = null;
5632
5632
  this.toolbar_custom_commands = [];
5633
+ this.toolbar_custom_commands_primary = [];
5633
5634
  this.command = new i0.EventEmitter();
5634
5635
  this.filter_creared = new i0.EventEmitter();
5635
5636
  this.b_ensure = false;
@@ -7407,7 +7408,7 @@
7407
7408
  FHGridComponent.decorators = [
7408
7409
  { type: i0.Component, args: [{
7409
7410
  selector: "FHGrid",
7410
- template: "<div fxLayout=\"column\" fxFlexFill>\n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutAlign=\"center start\"\n fxLayoutGap=\"3px\"\n style=\"min-height: 55px;\"\n [hidden]=\"!show_buttons\"\n >\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\n <div>\n <h5>{{num_r}}&nbsp;{{label_elementi | translate}}</h5>\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <input\n matInput\n [placeholder]=\"trova_label | translate\"\n (keydown)=\"keyDownFunctioncl($event)\"\n [(ngModel)]=\"ric_libera\"\n [matTooltip]=\"search_field_tooltip\"\n style=\"\n width: 160px;\n border: 1px solid;\n min-height: 30px;\n \"\n />\n </div>\n\n <div\n matTooltip=\"REMOVE FILTER\"\n matTooltipPosition=\"above\"\n *ngIf=\"show_pulisci_filtri\"\n >\n <button mat-flat-button (click)=\"pulisci_filtri()\" color=\"warn\">\n <mat-icon>filter_none</mat-icon>&nbsp;\n </button>\n </div>\n <div matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"autoSizeAll()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>swap_horiz</mat-icon>\n </button>\n </div>\n <div fxHide fxShow.gt-sm matTooltip=\"FIT SIZE\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"fitSizeAll()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>keyboard_tab</mat-icon>\n </button>\n </div>\n <div fxHide fxShow.gt-sm matTooltip=\"Refresh\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"Refresh()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>autorenew</mat-icon>\n </button>\n </div>\n <FHFilterComboBox\n fxHide [label]=\"'Configurazioni Salvate' | translate\"\n fxShow.gt-sm\n [hidden]=\"!show_buttons || pref_hidden\"\n (selchange)=\"ch_config()\"\n (fillend)=\"fe_cfg()\"\n #gf\n init_fill=\"false\"\n ></FHFilterComboBox>\n <div\n matTooltip=\"Modifica Preferenza\"\n matTooltipPosition=\"above\"\n *ngIf=\"curr_config!='-1'\"\n >\n <button\n mat-icon-button\n *ngIf=\"show_buttons && !pref_hidden\"\n style=\"color: rgb(248, 105, 10);\"\n >\n <mat-icon (click)=\"edit_config()\">save</mat-icon>\n </button>\n </div>\n <div\n matTooltip=\"Elimina Preferenza\"\n matTooltipPosition=\"above\"\n *ngIf=\"curr_config!='-1'\"\n >\n <button\n mat-icon-button\n *ngIf=\"show_buttons && !pref_hidden\"\n style=\"color: rgb(248, 105, 10);\"\n >\n <mat-icon (click)=\"elimina_config()\">delete</mat-icon>\n </button>\n </div>\n <div\n fxHide\n fxShow.gt-sm\n matTooltip=\"Crea Nuova Preferenza\"\n matTooltipPosition=\"above\"\n >\n <button\n mat-icon-button\n style=\"color: rgb(16, 98, 16);\"\n *ngIf=\"show_buttons && !pref_hidden\"\n >\n <mat-icon (click)=\"insert_config()\">library_add</mat-icon>\n </button>\n </div>\n\n <mat-slide-toggle\n fxHide\n fxShow.gt-sm\n [hidden]=\"!show_buttons || pref_hidden\"\n (click)=\"ck_flag()\"\n #toggle_mantieni\n >\n {{mantieni_impostazioni}}\n </mat-slide-toggle>\n\n &nbsp;\n <div fxHide fxShow.gt-sm matTooltip=\"HELP\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"help_window()\"\n color=\"primary\"\n *ngIf=\"show_buttons && show_help\"\n >\n <mat-icon>help</mat-icon>\n </button>\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;\n\n <img\n *ngIf=\"enable_export && enable_export_pdf\"\n matTooltip=\"EXPORT PDF\"\n matTooltipPosition=\"above\"\n src=\"assets/icons/square-o/pdf.svg\"\n style=\"width: 24px; height: 24px; cursor: pointer\"\n (click)=\"print()\"\n alt=\"Export Excel\"\n width=\"24\" height=\"24\"\n />\n\n\n <img *ngIf=\"enable_export && enable_export_xls\"\n matTooltip=\"EXPORT EXCEL\"\n matTooltipPosition=\"above\"\n src=\"assets/icons/square-o/xlsx.svg\"\n style=\"width: 24px; height: 24px; cursor: pointer\"\n (click)=\"export_excel()\"\n alt=\"Export Excel\"\n width=\"24\" height=\"24\"\n />\n\n <div *ngIf=\"flt_aggiuntivo.length!=0\">&nbsp;&nbsp;&nbsp;</div>\n <mat-form-field *ngIf=\"flt_aggiuntivo.length!=0\"\n\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ flt_aggiuntivo_label|translate }}</mat-label>\n <mat-select\n\n [(ngModel)]=\"flt_aggiuntivo_value\"\n (selectionChange)=\"sc()\"\n >\n <mat-option value=\"{{ app.valore }}\" *ngFor=\"let app of flt_aggiuntivo\">{{\n app.descrizione_valore | translate\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n &nbsp;&nbsp;\n <mat-spinner diameter=\"25\" *ngIf=\"loading_fulltext\"></mat-spinner>\n\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n\n [style.width]=\"width_max\"\n *ngIf=\"enabled\"\n >\n\n <FHGridToolBar\n (command)=\"docmd($event)\"\n [type]=\"toolbar_type\"\n [show_link]=\"show_link\"\n [show_help]=\"show_help_bar\"\n [help_label]=\"help_label_bar\"\n [custom_commands]=\"toolbar_custom_commands\"\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\n [elimina_label]=\"elimina_label\"\n [b_wait]=\"b_wait\"\n [sRow]=\"sRow\"\n ></FHGridToolBar>\n </div>\n </div>\n\n\n <div fxLayout=\"row\" style=\"width: 100%;\" [fxFlex]=\"show_buttons ? 100:95\">\n <ag-grid-angular\n ref-agGrid\n style=\"width: 100%; height: 100%;\"\n id=\"myGrid\"\n (cellDoubleClicked)=\"onColumnEvent($event)\"\n (cellClicked)=\"onCellClicked($event)\"\n [headerHeight]=\"header_h\"\n [groupHeaderHeight]=\"header_h\"\n class=\"ag-theme-balham\"\n [singleClickEdit]=\"true\"\n [gridOptions]=\"gridOptions\"\n [columnDefs]=\"columnDefs\"\n [rowData]=\"rowData\"\n [rowSelection]=\"selection_mode\"\n [tooltipShowDelay]=\"tooltipShowDelay\"\n [getContextMenuItems]=\"enable_export ? getContextMenuItems_e:getContextMenuItems_n_e\"\n (filterModified)=\"onFilterModified()\"\n (rowDoubleClicked)=\"onRowDClicked($event)\"\n (rowClicked)=\"onRowClicked($event)\"\n (columnVisible)=\"oncolumnEverythingChanged($event)\"\n (columnResized)=\"oncolumnEverythingChanged($event)\"\n (columnMoved)=\"oncolumnEverythingChanged($event)\"\n (cellValueChanged)=\"okr($event)\"\n (sortChanged)=\"onAfterSortChanged()\"\n (selectionChanged)=\"onSelectionChanged($event)\"\n [paginationPageSize]=\"num_per_pag\"\n (gridReady)=\"onReady($event)\"\n >\n </ag-grid-angular>\n </div>\n</div>\n",
7411
+ template: "<div fxLayout=\"column\" fxFlexFill>\n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutAlign=\"center start\"\n fxLayoutGap=\"3px\"\n style=\"min-height: 55px;\"\n [hidden]=\"!show_buttons\"\n >\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\n <div>\n <h5>{{num_r}}&nbsp;{{label_elementi | translate}}</h5>\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <input\n matInput\n [placeholder]=\"trova_label | translate\"\n (keydown)=\"keyDownFunctioncl($event)\"\n [(ngModel)]=\"ric_libera\"\n [matTooltip]=\"search_field_tooltip\"\n style=\"\n width: 160px;\n border: 1px solid;\n min-height: 30px;\n \"\n />\n </div>\n\n <div\n matTooltip=\"REMOVE FILTER\"\n matTooltipPosition=\"above\"\n *ngIf=\"show_pulisci_filtri\"\n >\n <button mat-flat-button (click)=\"pulisci_filtri()\" color=\"warn\">\n <mat-icon>filter_none</mat-icon>&nbsp;\n </button>\n </div>\n <div matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"autoSizeAll()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>swap_horiz</mat-icon>\n </button>\n </div>\n <div fxHide fxShow.gt-sm matTooltip=\"FIT SIZE\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"fitSizeAll()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>keyboard_tab</mat-icon>\n </button>\n </div>\n <div fxHide fxShow.gt-sm matTooltip=\"Refresh\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"Refresh()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>autorenew</mat-icon>\n </button>\n </div>\n <FHFilterComboBox\n fxHide [label]=\"'Configurazioni Salvate' | translate\"\n fxShow.gt-sm\n [hidden]=\"!show_buttons || pref_hidden\"\n (selchange)=\"ch_config()\"\n (fillend)=\"fe_cfg()\"\n #gf\n init_fill=\"false\"\n ></FHFilterComboBox>\n <div\n matTooltip=\"Modifica Preferenza\"\n matTooltipPosition=\"above\"\n *ngIf=\"curr_config!='-1'\"\n >\n <button\n mat-icon-button\n *ngIf=\"show_buttons && !pref_hidden\"\n style=\"color: rgb(248, 105, 10);\"\n >\n <mat-icon (click)=\"edit_config()\">save</mat-icon>\n </button>\n </div>\n <div\n matTooltip=\"Elimina Preferenza\"\n matTooltipPosition=\"above\"\n *ngIf=\"curr_config!='-1'\"\n >\n <button\n mat-icon-button\n *ngIf=\"show_buttons && !pref_hidden\"\n style=\"color: rgb(248, 105, 10);\"\n >\n <mat-icon (click)=\"elimina_config()\">delete</mat-icon>\n </button>\n </div>\n <div\n fxHide\n fxShow.gt-sm\n matTooltip=\"Crea Nuova Preferenza\"\n matTooltipPosition=\"above\"\n >\n <button\n mat-icon-button\n style=\"color: rgb(16, 98, 16);\"\n *ngIf=\"show_buttons && !pref_hidden\"\n >\n <mat-icon (click)=\"insert_config()\">library_add</mat-icon>\n </button>\n </div>\n\n <mat-slide-toggle\n fxHide\n fxShow.gt-sm\n [hidden]=\"!show_buttons || pref_hidden\"\n (click)=\"ck_flag()\"\n #toggle_mantieni\n >\n {{mantieni_impostazioni}}\n </mat-slide-toggle>\n\n &nbsp;\n <div fxHide fxShow.gt-sm matTooltip=\"HELP\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"help_window()\"\n color=\"primary\"\n *ngIf=\"show_buttons && show_help\"\n >\n <mat-icon>help</mat-icon>\n </button>\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;\n\n <img\n *ngIf=\"enable_export && enable_export_pdf\"\n matTooltip=\"EXPORT PDF\"\n matTooltipPosition=\"above\"\n src=\"assets/icons/square-o/pdf.svg\"\n style=\"width: 24px; height: 24px; cursor: pointer\"\n (click)=\"print()\"\n alt=\"Export Excel\"\n width=\"24\" height=\"24\"\n />\n\n\n <img *ngIf=\"enable_export && enable_export_xls\"\n matTooltip=\"EXPORT EXCEL\"\n matTooltipPosition=\"above\"\n src=\"assets/icons/square-o/xlsx.svg\"\n style=\"width: 24px; height: 24px; cursor: pointer\"\n (click)=\"export_excel()\"\n alt=\"Export Excel\"\n width=\"24\" height=\"24\"\n />\n\n <div *ngIf=\"flt_aggiuntivo.length!=0\">&nbsp;&nbsp;&nbsp;</div>\n <mat-form-field *ngIf=\"flt_aggiuntivo.length!=0\"\n\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ flt_aggiuntivo_label|translate }}</mat-label>\n <mat-select\n\n [(ngModel)]=\"flt_aggiuntivo_value\"\n (selectionChange)=\"sc()\"\n >\n <mat-option value=\"{{ app.valore }}\" *ngFor=\"let app of flt_aggiuntivo\">{{\n app.descrizione_valore | translate\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n &nbsp;&nbsp;\n <mat-spinner diameter=\"25\" *ngIf=\"loading_fulltext\"></mat-spinner>\n\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n\n [style.width]=\"width_max\"\n *ngIf=\"enabled\"\n >\n\n <FHGridToolBar\n (command)=\"docmd($event)\"\n [type]=\"toolbar_type\"\n [show_link]=\"show_link\"\n [show_help]=\"show_help_bar\"\n [help_label]=\"help_label_bar\"\n [custom_commands]=\"toolbar_custom_commands\"\n [custom_commands_primary]=\"toolbar_custom_commands_primary\"\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\n [elimina_label]=\"elimina_label\"\n [b_wait]=\"b_wait\"\n [sRow]=\"sRow\"\n ></FHGridToolBar>\n </div>\n </div>\n\n\n <div fxLayout=\"row\" style=\"width: 100%;\" [fxFlex]=\"show_buttons ? 100:95\">\n <ag-grid-angular\n ref-agGrid\n style=\"width: 100%; height: 100%;\"\n id=\"myGrid\"\n (cellDoubleClicked)=\"onColumnEvent($event)\"\n (cellClicked)=\"onCellClicked($event)\"\n [headerHeight]=\"header_h\"\n [groupHeaderHeight]=\"header_h\"\n class=\"ag-theme-balham\"\n [singleClickEdit]=\"true\"\n [gridOptions]=\"gridOptions\"\n [columnDefs]=\"columnDefs\"\n [rowData]=\"rowData\"\n [rowSelection]=\"selection_mode\"\n [tooltipShowDelay]=\"tooltipShowDelay\"\n [getContextMenuItems]=\"enable_export ? getContextMenuItems_e:getContextMenuItems_n_e\"\n (filterModified)=\"onFilterModified()\"\n (rowDoubleClicked)=\"onRowDClicked($event)\"\n (rowClicked)=\"onRowClicked($event)\"\n (columnVisible)=\"oncolumnEverythingChanged($event)\"\n (columnResized)=\"oncolumnEverythingChanged($event)\"\n (columnMoved)=\"oncolumnEverythingChanged($event)\"\n (cellValueChanged)=\"okr($event)\"\n (sortChanged)=\"onAfterSortChanged()\"\n (selectionChanged)=\"onSelectionChanged($event)\"\n [paginationPageSize]=\"num_per_pag\"\n (gridReady)=\"onReady($event)\"\n >\n </ag-grid-angular>\n </div>\n</div>\n",
7411
7412
  styles: [""]
7412
7413
  },] }
7413
7414
  ];
@@ -7485,6 +7486,7 @@
7485
7486
  toolbar_type: [{ type: i0.Input }],
7486
7487
  toolbar_wkfapp: [{ type: i0.Input }],
7487
7488
  toolbar_custom_commands: [{ type: i0.Input }],
7489
+ toolbar_custom_commands_primary: [{ type: i0.Input }],
7488
7490
  command: [{ type: i0.Output }],
7489
7491
  filter_creared: [{ type: i0.Output }],
7490
7492
  gf: [{ type: i0.ViewChild, args: ["gf",] }],
@@ -12957,6 +12959,7 @@
12957
12959
  this.type = "NONE";
12958
12960
  this.toolbar_wkfapp = null;
12959
12961
  this.custom_commands = [];
12962
+ this.custom_commands_primary = [];
12960
12963
  this.sRow = null;
12961
12964
  this.command = new i0.EventEmitter();
12962
12965
  }
@@ -12964,6 +12967,9 @@
12964
12967
  for (var i = 0; i < this.custom_commands.length; i++)
12965
12968
  if (this.custom_commands[i].type == null)
12966
12969
  this.custom_commands[i].type = 'button';
12970
+ this.custom_commands_primary.forEach(function (v) {
12971
+ v.type = (v.type || 'button');
12972
+ });
12967
12973
  };
12968
12974
  FHGridToolBarComponent.prototype.refresh_access = function (wkfx) {
12969
12975
  this.toolbar_wkfapp = wkfx;
@@ -13015,7 +13021,7 @@
13015
13021
  FHGridToolBarComponent.decorators = [
13016
13022
  { type: i0.Component, args: [{
13017
13023
  selector: "FHGridToolBar",
13018
- 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 [hidden]=\"!b_wait\"><mat-spinner diameter=\"25\"></mat-spinner></div>\n </div>\n </mat-toolbar>\n\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 [hidden]=\"!b_wait\"><mat-spinner diameter=\"25\"></mat-spinner></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\n <div [hidden]=\"!b_wait\"><mat-spinner diameter=\"25\"></mat-spinner></div>\n </div>\n ",
13024
+ 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\n\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\n <div *ngIf=\"custom_commands_primary!=null\" fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"end center\">\n <div *ngFor=\"let app of custom_commands_primary\">\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\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\n\n\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 [hidden]=\"!b_wait\"><mat-spinner diameter=\"25\"></mat-spinner></div>\n </div>\n </mat-toolbar>\n\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 [hidden]=\"!b_wait\"><mat-spinner diameter=\"25\"></mat-spinner></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\n <div [hidden]=\"!b_wait\"><mat-spinner diameter=\"25\"></mat-spinner></div>\n </div>\n ",
13019
13025
  styles: ["\n\n "]
13020
13026
  },] }
13021
13027
  ];
@@ -13028,6 +13034,7 @@
13028
13034
  type: [{ type: i0.Input }],
13029
13035
  toolbar_wkfapp: [{ type: i0.Input }],
13030
13036
  custom_commands: [{ type: i0.Input }],
13037
+ custom_commands_primary: [{ type: i0.Input }],
13031
13038
  sRow: [{ type: i0.Input }],
13032
13039
  command: [{ type: i0.Output }]
13033
13040
  };