@fluxhub/fluxhub-lib 10.0.87 → 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.
@@ -4787,6 +4787,7 @@
4787
4787
  this.data = data;
4788
4788
  this.title = "";
4789
4789
  this.label = "";
4790
+ this.password_mode = false;
4790
4791
  this.valore = "";
4791
4792
  this.min_chars = 3;
4792
4793
  this.max_chars = 50;
@@ -4804,6 +4805,8 @@
4804
4805
  this.min_chars = data.min_chars;
4805
4806
  if (data.max_chars != null)
4806
4807
  this.max_chars = data.max_chars;
4808
+ if (data.password_mode != null)
4809
+ this.password_mode = data.password_mode;
4807
4810
  }
4808
4811
  }
4809
4812
  WinAskTextComponent.prototype.ngAfterViewInit = function () { };
@@ -4833,7 +4836,7 @@
4833
4836
  WinAskTextComponent.decorators = [
4834
4837
  { type: i0.Component, args: [{
4835
4838
  selector: "app-win_ask_text",
4836
- 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 "
4837
4840
  },] }
4838
4841
  ];
4839
4842
  WinAskTextComponent.ctorParameters = function () { return [