@fluxhub/fluxhub-lib 1.0.612 → 1.0.614

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.
@@ -12173,7 +12173,7 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
12173
12173
  { type: Component, args: [{
12174
12174
  selector: 'FHCurrencyField',
12175
12175
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1],
12176
- template: "\n <mat-form-field [hidden]=\"!enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"number\" style=\"text-align:right\" #el matInput\n [disabled]=\"!enabled\" [(ngModel)]=\"formattedAmount\"\n (blur)=\"transformAmount($event)\" [style.color]=\"getStyle_color()\" (keydown)=\"kd($event)\"\n (focus)=\"removeCurrencyPipeFormat($event)\" (keyup)=\"chg()\"\n >\n </mat-form-field>\n <mat-form-field [hidden]=\"enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" style=\"text-align:right\" [style.color]=\"getStyle_color()\" #el1 matInput [disabled]=\"true\"\n [(ngModel)]=\"formattedAmount\"\n >\n </mat-form-field>\n ",
12176
+ template: "\n <mat-form-field [hidden]=\"!enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" style=\"text-align:right\" #el matInput\n [disabled]=\"!enabled\" [(ngModel)]=\"formattedAmount\"\n (blur)=\"transformAmount($event)\" [style.color]=\"getStyle_color()\" (keydown)=\"kd($event)\"\n (focus)=\"removeCurrencyPipeFormat($event)\" (keyup)=\"chg()\"\n pattern=\"[-+]?[0-9]*[.,]?[0-9]+\">\n </mat-form-field>\n <mat-form-field [hidden]=\"enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" style=\"text-align:right\" [style.color]=\"getStyle_color()\" #el1 matInput [disabled]=\"true\"\n [(ngModel)]=\"formattedAmount\"\n >\n </mat-form-field>\n ",
12177
12177
  styles: ["\n\n "]
12178
12178
  }] }
12179
12179
  ];
@@ -12436,7 +12436,7 @@ var FHNumericFieldComponent = /** @class */ (function () {
12436
12436
  this.enabled = true;
12437
12437
  this.hidden = false;
12438
12438
  this.m_color = '';
12439
- this.pattern = '[0-9]+([\\.,][0-9]+)?';
12439
+ this.pattern = '[-+]?[0-9]*[.,]?[0-9]+';
12440
12440
  this.change = new EventEmitter();
12441
12441
  this.innerValue = 0;
12442
12442
  this.chgf = false;
@@ -12642,7 +12642,7 @@ var FHNumericFieldComponent = /** @class */ (function () {
12642
12642
  { type: Component, args: [{
12643
12643
  selector: 'FHNumericField',
12644
12644
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC],
12645
- template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"number\" style=\"text-align:right\" [style.background-color]=\"getStyle()\" #el matInput\n [disabled]=\"!enabled\" [(ngModel)]=\"formattedAmount\"\n (blur)=\"chg()\" (click)=\"click_select_allf($event);\"\n (focus)=\"removeCurrencyPipeFormat($event);select_allf($event);\"\n >\n </mat-form-field>\n\n ",
12645
+ template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" style=\"text-align:right\" [style.background-color]=\"getStyle()\" #el matInput\n [disabled]=\"!enabled\" [(ngModel)]=\"formattedAmount\"\n (blur)=\"chg()\" (click)=\"click_select_allf($event);\"\n (focus)=\"removeCurrencyPipeFormat($event);select_allf($event);\"\n [pattern]=\"pattern\">\n </mat-form-field>\n\n ",
12646
12646
  styles: ["\n\n "]
12647
12647
  }] }
12648
12648
  ];