@fluxhub/fluxhub-lib 10.0.86 → 10.0.87

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.
@@ -2923,6 +2923,7 @@
2923
2923
  this.mgs_edit = "Edit";
2924
2924
  this.mgs_save = "Save";
2925
2925
  this.b_commento = false;
2926
+ this.log_enabled = true;
2926
2927
  this.custom_commands = [];
2927
2928
  this.command = new i0.EventEmitter();
2928
2929
  }
@@ -2958,7 +2959,7 @@
2958
2959
  FHFormToolBarComponent.decorators = [
2959
2960
  { type: i0.Component, args: [{
2960
2961
  selector: "FHFormToolBar",
2961
- template: "\n <div fxLayout.xs=\"column\" fxLayoutGap=\"3px\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"3px\"\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\"\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=\"3px\"\n [hidden]=\"!is_editing\"\n fxLayoutAlign=\"start center\"\n >\n <button mat-flat-button (click)=\"back_ask_save()\">{{ mgs_back }}</button\n >&nbsp;&nbsp;\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 <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\">\n <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 >{{ app.label }}\n </button>\n </div>\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button\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 ",
2962
+ template: "\n <div fxLayout.xs=\"column\" 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 <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\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 <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 ",
2962
2963
  styles: [""]
2963
2964
  },] }
2964
2965
  ];
@@ -2974,6 +2975,7 @@
2974
2975
  mgs_edit: [{ type: i0.Input }],
2975
2976
  mgs_save: [{ type: i0.Input }],
2976
2977
  b_commento: [{ type: i0.Input }],
2978
+ log_enabled: [{ type: i0.Input }],
2977
2979
  custom_commands: [{ type: i0.Input }],
2978
2980
  command: [{ type: i0.Output }]
2979
2981
  };