@fluxhub/fluxhub-lib 10.0.495 → 10.0.496

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.
@@ -9505,6 +9505,7 @@
9505
9505
  this.enabled = true;
9506
9506
  this.hidden = false;
9507
9507
  this.m_color = "";
9508
+ this.m_bkcolor = "";
9508
9509
  this.pattern = "[-+]?[0-9]*[.,]?[0-9]+";
9509
9510
  this.change = new i0.EventEmitter();
9510
9511
  this.focus_out = new i0.EventEmitter();
@@ -9524,10 +9525,16 @@
9524
9525
  this.enter_key_pressed.emit();
9525
9526
  }
9526
9527
  };
9527
- FHNumericFieldComponent.prototype.getStyle = function () {
9528
+ FHNumericFieldComponent.prototype.getStyle_Color = function () {
9528
9529
  return this.m_color;
9529
9530
  };
9531
+ FHNumericFieldComponent.prototype.getStyle_BkColor = function () {
9532
+ return this.m_bkcolor;
9533
+ };
9530
9534
  FHNumericFieldComponent.prototype.set_backcolor = function (color) {
9535
+ this.m_bkcolor = color;
9536
+ };
9537
+ FHNumericFieldComponent.prototype.set_color = function (color) {
9531
9538
  this.m_color = color;
9532
9539
  };
9533
9540
  FHNumericFieldComponent.prototype.chg = function () {
@@ -9631,7 +9638,7 @@
9631
9638
  { type: i0.Component, args: [{
9632
9639
  selector: "FHNumericField",
9633
9640
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC],
9634
- 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 type=\"text\"\n [style.text-align]=\"text_align\"\n [style.background-color]=\"getStyle()\"\n #el\n matInput\n [required]=\"required\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"formattedAmount\"\n formnovalidate\n (blur)=\"chg();focus_out.emit(value)\"\n (click)=\"click_select_allf($event)\"\n (focus)=\"removeCurrencyPipeFormat($event); select_allf($event)\"\n (keydown)=\"keyDownFunctioncl($event)\"\n />\n <mat-hint [hidden]=\"hint==''\">{{hint}}</mat-hint>\n </mat-form-field>\n ",
9641
+ 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 type=\"text\"\n [style.text-align]=\"text_align\"\n [style.background-color]=\"getStyle_BkColor()\"\n [style.color]=\"getStyle_Color()\"\n #el\n matInput\n [required]=\"required\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"formattedAmount\"\n formnovalidate\n (blur)=\"chg();focus_out.emit(value)\"\n (click)=\"click_select_allf($event)\"\n (focus)=\"removeCurrencyPipeFormat($event); select_allf($event)\"\n (keydown)=\"keyDownFunctioncl($event)\"\n />\n <mat-hint [hidden]=\"hint==''\">{{hint}}</mat-hint>\n </mat-form-field>\n ",
9635
9642
  styles: ["\n\n "]
9636
9643
  },] }
9637
9644
  ];