@fluxhub/fluxhub-lib 10.0.267 → 10.0.268

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.
@@ -6651,7 +6651,7 @@
6651
6651
  FHGridComponent.decorators = [
6652
6652
  { type: i0.Component, args: [{
6653
6653
  selector: "FHGrid",
6654
- 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}}</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\"\n (keydown)=\"keyDownFunctioncl($event)\"\n [(ngModel)]=\"ric_libera\"\n style=\"\n width: 200px;\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\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\"\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\"\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>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n style=\"width: 100%;\"\n *ngIf=\"enabled\"\n >\n show_link {{show_link}}\n show_help_bar {{show_help_bar}}\n help_label_bar {{help_label_bar}}\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 ></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\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 [paginationPageSize]=\"num_per_pag\"\n (gridReady)=\"onReady($event)\"\n >\n </ag-grid-angular>\n </div>\n</div>\n",
6654
+ 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}}</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\"\n (keydown)=\"keyDownFunctioncl($event)\"\n [(ngModel)]=\"ric_libera\"\n style=\"\n width: 200px;\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\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\"\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\"\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>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n style=\"width: 100%;\"\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 ></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\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 [paginationPageSize]=\"num_per_pag\"\n (gridReady)=\"onReady($event)\"\n >\n </ag-grid-angular>\n </div>\n</div>\n",
6655
6655
  styles: [""]
6656
6656
  },] }
6657
6657
  ];
@@ -11923,7 +11923,7 @@
11923
11923
  FHGridToolBarComponent.decorators = [
11924
11924
  { type: i0.Component, args: [{
11925
11925
  selector: "FHGridToolBar",
11926
- template: "\n <div\n *ngIf=\"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\n mat-flat-button\n color=\"warn\"\n mat-button\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"\n toolbar_wkfapp?.is_Supervisor ||\n toolbar_wkfapp?.is_Admin ||\n toolbar_wkfapp?.is_PowerUser\n \"\n >\n <mat-icon>label_important</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"Gestione\" | translate\n }}\n </button>\n <mat-menu #gest_menu=\"matMenu\">\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"annulla_richiesta()\"\n >\n {{ \"ANNULLA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"recupera_richiesta()\"\n >\n {{ \"RECUPERA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"riassegna_richiesta()\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin\"\n >\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\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 != ''\"\n >\n {{ toolbar_wkfapp?.imp }}\n </button>\n <div *ngFor=\"let app of custom_commands\">\n &nbsp;&nbsp;<button\n mat-flat-button [hidden]=\"app.hidden!=null && app.hidden\"\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >&nbsp;{{ app.label | translate }}\n </button>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'WKF'\"\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\n mat-flat-button\n (click)=\"insert_doc()\"\n *ngIf=\"toolbar_wkfapp?.is_Ins\"\n color=\"accent\"\n >\n <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"INSERISCI\" | translate\n }}</button\n >&nbsp;&nbsp;&nbsp;\n\n <button\n mat-flat-button\n color=\"warn\"\n mat-button\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor\"\n >\n {{ \"Gestione\" | translate }}\n </button>\n <mat-menu #gest_menu=\"matMenu\">\n <button mat-menu-item (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 (click)=\"riassegna_richiesta()\">\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n\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 *ngFor=\"let app of custom_commands\">\n &nbsp;&nbsp;<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;{{ app.label | translate }}\n </button>\n </div>\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)=\"link_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\" | translate\n }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\" fxLayoutGap=\"5px\">\n <div>\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 <FHCheckBox\n *ngIf=\"app.type == 'checkbox'\"\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></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 >\n <div *ngFor=\"let app of custom_commands\" fxLayoutAlign=\"end center\" fxLayout=\"row\" fxLayoutGap=\"5px\">\n <div>\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n *ngIf=\"app.type == null || app.type == 'button'\"\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 <FHCheckBox\n *ngIf=\"app.type == 'checkbox'\"\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n </div>\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)=\"link_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 ",
11926
+ template: "\n <div\n *ngIf=\"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\n mat-flat-button\n color=\"warn\"\n mat-button\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"\n toolbar_wkfapp?.is_Supervisor ||\n toolbar_wkfapp?.is_Admin ||\n toolbar_wkfapp?.is_PowerUser\n \"\n >\n <mat-icon>label_important</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"Gestione\" | translate\n }}\n </button>\n <mat-menu #gest_menu=\"matMenu\">\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"annulla_richiesta()\"\n >\n {{ \"ANNULLA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"recupera_richiesta()\"\n >\n {{ \"RECUPERA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"riassegna_richiesta()\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin\"\n >\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\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 != ''\"\n >\n {{ toolbar_wkfapp?.imp }}\n </button>\n <div *ngFor=\"let app of custom_commands\">\n &nbsp;&nbsp;<button\n mat-flat-button [hidden]=\"app.hidden!=null && app.hidden\"\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >&nbsp;{{ app.label | translate }}\n </button>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'WKF'\"\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)=\"link_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\n mat-flat-button\n (click)=\"insert_doc()\"\n *ngIf=\"toolbar_wkfapp?.is_Ins\"\n color=\"accent\"\n >\n <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"INSERISCI\" | translate\n }}</button\n >&nbsp;&nbsp;&nbsp;\n\n <button\n mat-flat-button\n color=\"warn\"\n mat-button\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor\"\n >\n {{ \"Gestione\" | translate }}\n </button>\n <mat-menu #gest_menu=\"matMenu\">\n <button mat-menu-item (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 (click)=\"riassegna_richiesta()\">\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n\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 *ngFor=\"let app of custom_commands\">\n &nbsp;&nbsp;<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;{{ app.label | translate }}\n </button>\n </div>\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)=\"link_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\" | translate\n }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\" fxLayoutGap=\"5px\">\n <div>\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 <FHCheckBox\n *ngIf=\"app.type == 'checkbox'\"\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></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 >\n <div *ngFor=\"let app of custom_commands\" fxLayoutAlign=\"end center\" fxLayout=\"row\" fxLayoutGap=\"5px\">\n <div>\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n *ngIf=\"app.type == null || app.type == 'button'\"\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 <FHCheckBox\n *ngIf=\"app.type == 'checkbox'\"\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n </div>\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)=\"link_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 ",
11927
11927
  styles: [""]
11928
11928
  },] }
11929
11929
  ];