@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.
@@ -12195,7 +12195,7 @@
12195
12195
  { type: core.Component, args: [{
12196
12196
  selector: 'FHCurrencyField',
12197
12197
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1],
12198
- 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 ",
12198
+ 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 ",
12199
12199
  styles: ["\n\n "]
12200
12200
  }] }
12201
12201
  ];
@@ -12458,7 +12458,7 @@
12458
12458
  this.enabled = true;
12459
12459
  this.hidden = false;
12460
12460
  this.m_color = '';
12461
- this.pattern = '[0-9]+([\\.,][0-9]+)?';
12461
+ this.pattern = '[-+]?[0-9]*[.,]?[0-9]+';
12462
12462
  this.change = new core.EventEmitter();
12463
12463
  this.innerValue = 0;
12464
12464
  this.chgf = false;
@@ -12664,7 +12664,7 @@
12664
12664
  { type: core.Component, args: [{
12665
12665
  selector: 'FHNumericField',
12666
12666
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC],
12667
- 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 ",
12667
+ 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 ",
12668
12668
  styles: ["\n\n "]
12669
12669
  }] }
12670
12670
  ];