@fluxhub/fluxhub-lib 10.0.132 → 10.0.134

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.
@@ -2919,6 +2919,7 @@
2919
2919
  this._dialog = _dialog;
2920
2920
  this.editable = true;
2921
2921
  this.show_save = true;
2922
+ this.show_back = true;
2922
2923
  this.is_editing = false;
2923
2924
  this.App = "";
2924
2925
  this.K = "";
@@ -2962,7 +2963,7 @@
2962
2963
  FHFormToolBarComponent.decorators = [
2963
2964
  { type: i0.Component, args: [{
2964
2965
  selector: "FHFormToolBar",
2965
- template: "\n <div fxLayout=\"row\" fxLayoutGap=\"3px\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"5px\"\n [hidden]=\"is_editing\"\n fxLayoutAlign=\"start center\"\n >\n <button mat-flat-button (click)=\"back()\">{{ mgs_back }}</button\n >&nbsp;&nbsp;\n <button\n mat-flat-button\n color=\"primary\"\n [hidden]=\"!editable\"\n (click)=\"edit()\"\n >\n <mat-icon>edit</mat-icon>&nbsp;&nbsp;{{ mgs_edit }}\n </button>\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button\n [hidden]=\"!editable || !log_enabled\"\n mat-flat-button\n *ngIf=\"App != ''\"\n color=\"accent\"\n (click)=\"logs()\"\n >\n <mat-icon>assignment</mat-icon>&nbsp;&nbsp;Logs\n </button>\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"5px\"\n [hidden]=\"!is_editing\"\n fxLayoutAlign=\"start center\"\n >\n <button mat-flat-button (click)=\"back_ask_save()\">{{ mgs_back }}</button>\n <button\n mat-flat-button\n color=\"primary\"\n [hidden]=\"!show_save\"\n (click)=\"save()\"\n >\n <mat-icon>save</mat-icon>&nbsp;&nbsp;{{ mgs_save }}\n </button>\n\n <button [hidden]=\"!log_enabled\"\n mat-flat-button\n *ngIf=\"App != ''\"\n color=\"accent\"\n (click)=\"logs()\"\n >\n <mat-icon>assignment</mat-icon>&nbsp;&nbsp;Logs\n </button>\n </div>\n <div\n *ngIf=\"custom_commands.length > 0\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n >\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\"\n fxLayoutGap=\"5px\">\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 >{{ app.label }}\n </button>\n </div>\n </div>\n </div>\n ",
2966
+ template: "\n <div fxLayout=\"row\" fxLayoutGap=\"5px\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"5px\"\n [hidden]=\"is_editing\"\n fxLayoutAlign=\"start center\"\n >\n <button mat-flat-button [hidden]=\"!show_back\" (click)=\"back()\">{{ mgs_back }}</button\n >\n <button\n mat-flat-button\n color=\"primary\"\n [hidden]=\"!editable\"\n (click)=\"edit()\"\n >\n <mat-icon>edit</mat-icon>&nbsp;&nbsp;{{ mgs_edit }}\n </button>\n <button\n [hidden]=\"!editable || !log_enabled\"\n mat-flat-button\n *ngIf=\"App != ''\"\n color=\"accent\"\n (click)=\"logs()\"\n >\n <mat-icon>assignment</mat-icon>&nbsp;&nbsp;Logs\n </button>\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"5px\"\n [hidden]=\"!is_editing\"\n fxLayoutAlign=\"start center\"\n >\n <button mat-flat-button (click)=\"back_ask_save()\">{{ mgs_back }}</button>\n <button\n mat-flat-button\n color=\"primary\"\n [hidden]=\"!show_save\"\n (click)=\"save()\"\n >\n <mat-icon>save</mat-icon>&nbsp;&nbsp;{{ mgs_save }}\n </button>\n\n <button [hidden]=\"!log_enabled\"\n mat-flat-button\n *ngIf=\"App != ''\"\n color=\"accent\"\n (click)=\"logs()\"\n >\n <mat-icon>assignment</mat-icon>&nbsp;&nbsp;Logs\n </button>\n </div>\n <div\n *ngIf=\"custom_commands.length > 0\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n >\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\"\n fxLayoutGap=\"5px\">\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 >{{ app.label }}\n </button>\n </div>\n </div>\n </div>\n ",
2966
2967
  styles: [""]
2967
2968
  },] }
2968
2969
  ];
@@ -2972,6 +2973,7 @@
2972
2973
  FHFormToolBarComponent.propDecorators = {
2973
2974
  editable: [{ type: i0.Input }],
2974
2975
  show_save: [{ type: i0.Input }],
2976
+ show_back: [{ type: i0.Input }],
2975
2977
  App: [{ type: i0.Input }],
2976
2978
  K: [{ type: i0.Input }],
2977
2979
  mgs_back: [{ type: i0.Input }],
@@ -5643,16 +5645,16 @@
5643
5645
  " upper(" +
5644
5646
  key +
5645
5647
  ") like '%" +
5646
- obj_filtro.filter.replace("'", "''").replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!").toUpperCase() +
5647
- "%'";
5648
+ obj_filtro.filter.replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase() +
5649
+ "%' ESCAPE '$'";
5648
5650
  if (obj_filtro.type == "startsWith")
5649
5651
  filter_v =
5650
5652
  filter_v +
5651
5653
  " upper(" +
5652
5654
  key +
5653
5655
  ") like '" +
5654
- obj_filtro.filter.replace("'", "''").replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!").toUpperCase() +
5655
- "%'";
5656
+ obj_filtro.filter.replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase() +
5657
+ "%' ESCAPE '$'";
5656
5658
  if (obj_filtro.type == "equals")
5657
5659
  filter_v =
5658
5660
  filter_v +
@@ -5667,8 +5669,8 @@
5667
5669
  "not upper(" +
5668
5670
  key +
5669
5671
  ") like '%" +
5670
- obj_filtro.filter.replace("'", "''").replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!").toUpperCase() +
5671
- "%'";
5672
+ obj_filtro.filter.replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase() +
5673
+ "%' ESCAPE '$'";
5672
5674
  if (obj_filtro.type == "notEqual")
5673
5675
  filter_v =
5674
5676
  filter_v +
@@ -5683,8 +5685,8 @@
5683
5685
  " upper(" +
5684
5686
  key +
5685
5687
  ") like '%" +
5686
- obj_filtro.filter.replace("'", "''").replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!").toUpperCase() +
5687
- "'";
5688
+ obj_filtro.replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase() +
5689
+ "' ESCAPE '$'";
5688
5690
  // if(obj_filtro.type=="startsWith") filter_v = filter_v +' upper('+ key + ') like \'' + obj_filtro.filter.replace('\'', '\'\'').toUpperCase() + '%\'';
5689
5691
  }
5690
5692
  }
@@ -6184,8 +6186,8 @@
6184
6186
  ss +
6185
6187
  this.columnDefs[y].field +
6186
6188
  " LIKE '%" +
6187
- this.uti_s.string_sqlvalue(arr_F[i]).replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!") +
6188
- "%'";
6189
+ this.uti_s.string_sqlvalue(arr_F[i]).replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase() +
6190
+ "%' ESCAPE '$'";
6189
6191
  }
6190
6192
  this.fix_flt_temp = ss;
6191
6193
  this.show_pulisci_filtri = true;
@@ -6401,8 +6403,8 @@
6401
6403
  ss +
6402
6404
  this.columnDefs[y].field +
6403
6405
  " LIKE '%" +
6404
- this.uti_s.string_sqlvalue(arr_F[i]).replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!") +
6405
- "%'";
6406
+ this.uti_s.string_sqlvalue(arr_F[i]).replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase() +
6407
+ "%' ESCAPE '$'";
6406
6408
  }
6407
6409
  this.pulisci_filtri(false);
6408
6410
  this.show_pulisci_filtri = true;
@@ -11990,7 +11992,7 @@
11990
11992
  FHGridToolBarComponent.decorators = [
11991
11993
  { type: i0.Component, args: [{
11992
11994
  selector: "FHGridToolBar",
11993
- template: "\n <div\n *ngIf=\"type == 'WKF_NO_EDIT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n fxLayoutAlign=\"end center\"\n style=\"background-color: #CC0000\"\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 fxLayoutAlign=\"end center\"\n style=\"width: 100%;background-color: maroon\"\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 >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"5px\" fxLayoutAlign=\"end center\">\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 ></FHCheckBox>\n\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:120px\"></div>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'CUSTOM'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\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 ></FHCheckBox>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:120px\"></div>\n </div>\n </div>\n ",
11995
+ template: "\n <div\n *ngIf=\"type == 'WKF_NO_EDIT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n fxLayoutAlign=\"end center\"\n style=\"background-color: #CC0000\"\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 fxLayoutAlign=\"end center\"\n style=\"width: 100%;background-color: maroon\"\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 >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"5px\" fxLayoutAlign=\"end center\">\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 ></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 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 ></FHCheckBox>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n </div>\n </div>\n ",
11994
11996
  styles: [""]
11995
11997
  },] }
11996
11998
  ];