@fluxhub/fluxhub-lib 10.0.495 → 10.0.497
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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +13 -5
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhnumeric.js +15 -6
- package/fesm2015/fluxhub-fluxhub-lib.js +14 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhnumeric.d.ts +5 -2
- package/package.json +1 -1
|
@@ -9504,7 +9504,8 @@
|
|
|
9504
9504
|
this.required = false;
|
|
9505
9505
|
this.enabled = true;
|
|
9506
9506
|
this.hidden = false;
|
|
9507
|
-
this.
|
|
9507
|
+
this.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,11 +9525,17 @@
|
|
|
9524
9525
|
this.enter_key_pressed.emit();
|
|
9525
9526
|
}
|
|
9526
9527
|
};
|
|
9527
|
-
FHNumericFieldComponent.prototype.
|
|
9528
|
-
return this.
|
|
9528
|
+
FHNumericFieldComponent.prototype.getStyle_Color = function () {
|
|
9529
|
+
return this.color;
|
|
9530
|
+
};
|
|
9531
|
+
FHNumericFieldComponent.prototype.getStyle_BkColor = function () {
|
|
9532
|
+
return this.m_bkcolor;
|
|
9529
9533
|
};
|
|
9530
9534
|
FHNumericFieldComponent.prototype.set_backcolor = function (color) {
|
|
9531
|
-
this.
|
|
9535
|
+
this.m_bkcolor = color;
|
|
9536
|
+
};
|
|
9537
|
+
FHNumericFieldComponent.prototype.set_color = function (color) {
|
|
9538
|
+
this.color = color;
|
|
9532
9539
|
};
|
|
9533
9540
|
FHNumericFieldComponent.prototype.chg = function () {
|
|
9534
9541
|
// setTimeout(()=>{
|
|
@@ -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]=\"
|
|
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
|
];
|
|
@@ -9648,6 +9655,7 @@
|
|
|
9648
9655
|
required: [{ type: i0.Input }],
|
|
9649
9656
|
enabled: [{ type: i0.Input }],
|
|
9650
9657
|
hidden: [{ type: i0.Input }],
|
|
9658
|
+
color: [{ type: i0.Input }],
|
|
9651
9659
|
change: [{ type: i0.Output }],
|
|
9652
9660
|
focus_out: [{ type: i0.Output }],
|
|
9653
9661
|
enter_key_pressed: [{ type: i0.Output }],
|