@fluxhub/fluxhub-lib 10.0.86 → 10.0.88

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
  };
@@ -4785,6 +4787,7 @@
4785
4787
  this.data = data;
4786
4788
  this.title = "";
4787
4789
  this.label = "";
4790
+ this.password_mode = false;
4788
4791
  this.valore = "";
4789
4792
  this.min_chars = 3;
4790
4793
  this.max_chars = 50;
@@ -4802,6 +4805,8 @@
4802
4805
  this.min_chars = data.min_chars;
4803
4806
  if (data.max_chars != null)
4804
4807
  this.max_chars = data.max_chars;
4808
+ if (data.password_mode != null)
4809
+ this.password_mode = data.password_mode;
4805
4810
  }
4806
4811
  }
4807
4812
  WinAskTextComponent.prototype.ngAfterViewInit = function () { };
@@ -4831,7 +4836,7 @@
4831
4836
  WinAskTextComponent.decorators = [
4832
4837
  { type: i0.Component, args: [{
4833
4838
  selector: "app-win_ask_text",
4834
- template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <h2 mat-dialog-title>{{ title }}</h2>\n <mat-dialog-content style=\"font-size: 15px;\">\n <mat-form-field\n appearance=\"outline\"\n floatLabel=\"always\"\n style=\"width:100%\"\n ><mat-label\n >{{ label }} (min {{ min_chars }} - max\n {{ max_chars }} caratteri)</mat-label\n >\n <input matInput type=\"text\" [(ngModel)]=\"valore\" required />\n </mat-form-field>\n </mat-dialog-content>\n <mat-dialog-actions>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n style=\"width: 100%\"\n [hidden]=\"readonly\"\n >\n <button mat-flat-button color=\"primary\" (click)=\"do_check()\">OK</button\n >&nbsp;&nbsp;&nbsp;\n <button mat-flat-button color=\"warn\" (click)=\"chiudi()\">ANNULLA</button>\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n style=\"width: 100%\"\n [hidden]=\"!readonly\"\n >\n <button mat-flat-button color=\"warn\" (click)=\"chiudi()\">CHIUDI</button>\n </div>\n </mat-dialog-actions>\n "
4839
+ template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <h2 mat-dialog-title>{{ title }}</h2>\n <mat-dialog-content style=\"font-size: 15px;\">\n <mat-form-field *ngIf=\"!password_mode\"\n appearance=\"outline\"\n floatLabel=\"always\"\n style=\"width:100%\"\n ><mat-label\n >{{ label }}</mat-label\n >\n <input matInput type=\"text\" [(ngModel)]=\"valore\" required />\n </mat-form-field>\n <mat-form-field appearance=\"outline\" floatLabel=\"always\" *ngIf=\"password_mode\"\n ><mat-label>{{ label }}</mat-label>\n\n <input\n autocomplete=\"new-password\"\n matInput\n type=\"password\"\n [(ngModel)]=\"valore\"\n\n />\n </mat-form-field>\n </mat-dialog-content>\n <mat-dialog-actions>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n style=\"width: 100%\"\n [hidden]=\"readonly\"\n >\n <button mat-flat-button color=\"primary\" (click)=\"do_check()\">OK</button\n >&nbsp;&nbsp;&nbsp;\n <button mat-flat-button color=\"warn\" (click)=\"chiudi()\">ANNULLA</button>\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n style=\"width: 100%\"\n [hidden]=\"!readonly\"\n >\n <button mat-flat-button color=\"warn\" (click)=\"chiudi()\">CHIUDI</button>\n </div>\n </mat-dialog-actions>\n "
4835
4840
  },] }
4836
4841
  ];
4837
4842
  WinAskTextComponent.ctorParameters = function () { return [