@fluxhub/fluxhub-lib 10.0.164 → 10.0.166
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 +4 -0
- 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/fhcurrencyfield.js +5 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +4 -0
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -8809,6 +8809,7 @@
|
|
|
8809
8809
|
}, 0);
|
|
8810
8810
|
};
|
|
8811
8811
|
FHCurrencyFieldComponent.prototype.writeValue = function (value) {
|
|
8812
|
+
console.log('inif ', value);
|
|
8812
8813
|
if (value == null)
|
|
8813
8814
|
value = 0;
|
|
8814
8815
|
if (value !== this.innerValue) {
|
|
@@ -8857,7 +8858,9 @@
|
|
|
8857
8858
|
};
|
|
8858
8859
|
FHCurrencyFieldComponent.prototype.transform = function (value, fractionSize) {
|
|
8859
8860
|
if (fractionSize === void 0) { fractionSize = 2; }
|
|
8861
|
+
console.log('trasform ', value);
|
|
8860
8862
|
var _a = __read((value || "").toString().split("."), 2), integer = _a[0], _b = _a[1], fraction = _b === void 0 ? "" : _b;
|
|
8863
|
+
console.log('integer, fraction ', integer, fraction);
|
|
8861
8864
|
fraction =
|
|
8862
8865
|
fractionSize > 0
|
|
8863
8866
|
? "," + (fraction + "000000").substring(0, fractionSize)
|
|
@@ -8865,6 +8868,7 @@
|
|
|
8865
8868
|
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, ".");
|
|
8866
8869
|
if (integer == "")
|
|
8867
8870
|
integer = "0";
|
|
8871
|
+
console.log('trasform ', integer + fraction);
|
|
8868
8872
|
return integer + fraction;
|
|
8869
8873
|
};
|
|
8870
8874
|
FHCurrencyFieldComponent.prototype.focus_e = function ($event) {
|