@fluxhub/fluxhub-lib 10.0.521 → 10.0.523

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.
@@ -309,12 +309,14 @@
309
309
  fh_win_confirm.prototype.setMsg = function (texto) {
310
310
  this.msg = texto;
311
311
  };
312
- fh_win_confirm.prototype.ngAfterViewInit = function () { };
312
+ fh_win_confirm.prototype.ngAfterViewInit = function () {
313
+ this.btn_annulla.nativeElement.focus();
314
+ };
313
315
  return fh_win_confirm;
314
316
  }());
315
317
  fh_win_confirm.decorators = [
316
318
  { type: i0.Component, args: [{
317
- template: "\n <h1 mat-dialog-title>{{ title }}</h1>\n <div mat-dialog-content>\n <div fxLayout=\"column\" fxLayoutGap=\"15px\">\n {{ msg }}\n <div style=\"width:400px\" [hidden]=\"!b_commento\"><br /></div>\n <div style=\"width:400px\" [hidden]=\"!b_commento\">\n <FHTextArea\n label=\"{{ commento_mgs }}\"\n required\n [(ngModel)]=\"commento\"\n ></FHTextArea>\n </div>\n </div>\n </div>\n\n <div mat-dialog-actions>\n <button mat-flat-button (click)=\"ok()\" color=\"primary\">\n {{ confirm_mgs }}\n </button>\n <button mat-flat-button (click)=\"dialogRef.close(false)\" color=\"warn\">\n {{ annulla_mgs }}\n </button>\n </div>\n ",
319
+ template: "\n <h1 mat-dialog-title>{{ title }}</h1>\n <div mat-dialog-content>\n <div fxLayout=\"column\" fxLayoutGap=\"15px\">\n {{ msg }}\n <div style=\"width:400px\" [hidden]=\"!b_commento\"><br /></div>\n <div style=\"width:400px\" [hidden]=\"!b_commento\">\n <FHTextArea\n label=\"{{ commento_mgs }}\"\n required\n [(ngModel)]=\"commento\"\n ></FHTextArea>\n </div>\n </div>\n </div>\n\n <div mat-dialog-actions>\n <button mat-flat-button (click)=\"ok()\" color=\"primary\">\n {{ confirm_mgs }}\n </button>\n <button mat-flat-button #btn_annulla (click)=\"dialogRef.close(false)\" color=\"warn\">\n {{ annulla_mgs }}\n </button>\n </div>\n ",
318
320
  styles: [""]
319
321
  },] }
320
322
  ];
@@ -323,7 +325,10 @@
323
325
  { type: AppService },
324
326
  { type: FHConfirmValues, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] },
325
327
  { type: i3.ToastrService }
326
- ]; };
328
+ ]; };
329
+ fh_win_confirm.propDecorators = {
330
+ btn_annulla: [{ type: i0.ViewChild, args: ['btn_annulla',] }]
331
+ };
327
332
 
328
333
  /*! *****************************************************************************
329
334
  Copyright (c) Microsoft Corporation.
@@ -8578,6 +8583,7 @@
8578
8583
  this.label = "";
8579
8584
  this.hint = "";
8580
8585
  this.autocomplete = "";
8586
+ this.maxlength = "";
8581
8587
  this.type = "text";
8582
8588
  this.enabled = true;
8583
8589
  this.required = false;
@@ -8627,7 +8633,7 @@
8627
8633
  { type: i0.Component, args: [{
8628
8634
  selector: "FHTextInput",
8629
8635
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6],
8630
- template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n ><mat-label>{{ label }}</mat-label>\n <input\n matInput\n [email]=\"email\"\n type=\"text\"\n [(ngModel)]=\"text_v\"\n #el\n [disabled]=\"!enabled\"\n [required]=\"required\"\n (focusout)=\"onFu()\"\n (focusin)=\"onFi()\"\n (ngModelChange)=\"modelch()\"\n [autocomplete]=\"autocomplete\"\n [type]=\"type\"\n />\n <mat-hint [hidden]=\"hint==''\">{{hint}}</mat-hint>\n </mat-form-field>\n ",
8636
+ template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n ><mat-label>{{ label }}</mat-label>\n <input\n matInput\n [email]=\"email\"\n type=\"text\"\n [(ngModel)]=\"text_v\"\n #el\n [disabled]=\"!enabled\"\n [required]=\"required\"\n (focusout)=\"onFu()\"\n (focusin)=\"onFi()\"\n (ngModelChange)=\"modelch()\"\n [autocomplete]=\"autocomplete\"\n [maxlength]=\"maxlength\"\n [type]=\"type\"\n />\n <mat-hint [hidden]=\"hint==''\">{{hint}}</mat-hint>\n </mat-form-field>\n ",
8631
8637
  styles: [""]
8632
8638
  },] }
8633
8639
  ];
@@ -8637,6 +8643,7 @@
8637
8643
  label: [{ type: i0.Input }],
8638
8644
  hint: [{ type: i0.Input }],
8639
8645
  autocomplete: [{ type: i0.Input }],
8646
+ maxlength: [{ type: i0.Input }],
8640
8647
  type: [{ type: i0.Input }],
8641
8648
  enabled: [{ type: i0.Input }],
8642
8649
  required: [{ type: i0.Input }],