@fluxhub/fluxhub-lib 10.0.496 → 10.0.498
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 +8 -7
- 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 +9 -8
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -7
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhnumeric.d.ts +1 -1
- package/package.json +1 -1
|
@@ -9504,7 +9504,7 @@
|
|
|
9504
9504
|
this.required = false;
|
|
9505
9505
|
this.enabled = true;
|
|
9506
9506
|
this.hidden = false;
|
|
9507
|
-
this.
|
|
9507
|
+
this.color = "";
|
|
9508
9508
|
this.m_bkcolor = "";
|
|
9509
9509
|
this.pattern = "[-+]?[0-9]*[.,]?[0-9]+";
|
|
9510
9510
|
this.change = new i0.EventEmitter();
|
|
@@ -9526,7 +9526,7 @@
|
|
|
9526
9526
|
}
|
|
9527
9527
|
};
|
|
9528
9528
|
FHNumericFieldComponent.prototype.getStyle_Color = function () {
|
|
9529
|
-
return this.
|
|
9529
|
+
return this.color;
|
|
9530
9530
|
};
|
|
9531
9531
|
FHNumericFieldComponent.prototype.getStyle_BkColor = function () {
|
|
9532
9532
|
return this.m_bkcolor;
|
|
@@ -9535,7 +9535,7 @@
|
|
|
9535
9535
|
this.m_bkcolor = color;
|
|
9536
9536
|
};
|
|
9537
9537
|
FHNumericFieldComponent.prototype.set_color = function (color) {
|
|
9538
|
-
this.
|
|
9538
|
+
this.color = color;
|
|
9539
9539
|
};
|
|
9540
9540
|
FHNumericFieldComponent.prototype.chg = function () {
|
|
9541
9541
|
// setTimeout(()=>{
|
|
@@ -9551,10 +9551,10 @@
|
|
|
9551
9551
|
this.onChange(this.value);
|
|
9552
9552
|
};
|
|
9553
9553
|
FHNumericFieldComponent.prototype.writeValue = function (value) {
|
|
9554
|
-
if (this.chgf) {
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
}
|
|
9554
|
+
/*if (this.chgf) {
|
|
9555
|
+
this.chgf = false;
|
|
9556
|
+
return;
|
|
9557
|
+
}*/
|
|
9558
9558
|
//console.log('writeValue '+value+' '+this.decimal);
|
|
9559
9559
|
if (value == null)
|
|
9560
9560
|
value = 0.0;
|
|
@@ -9655,6 +9655,7 @@
|
|
|
9655
9655
|
required: [{ type: i0.Input }],
|
|
9656
9656
|
enabled: [{ type: i0.Input }],
|
|
9657
9657
|
hidden: [{ type: i0.Input }],
|
|
9658
|
+
color: [{ type: i0.Input }],
|
|
9658
9659
|
change: [{ type: i0.Output }],
|
|
9659
9660
|
focus_out: [{ type: i0.Output }],
|
|
9660
9661
|
enter_key_pressed: [{ type: i0.Output }],
|