@fluxhub/fluxhub-lib 10.0.165 → 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 +3 -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 +4 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +3 -0
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -8858,7 +8858,9 @@
|
|
|
8858
8858
|
};
|
|
8859
8859
|
FHCurrencyFieldComponent.prototype.transform = function (value, fractionSize) {
|
|
8860
8860
|
if (fractionSize === void 0) { fractionSize = 2; }
|
|
8861
|
+
console.log('trasform ', value);
|
|
8861
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);
|
|
8862
8864
|
fraction =
|
|
8863
8865
|
fractionSize > 0
|
|
8864
8866
|
? "," + (fraction + "000000").substring(0, fractionSize)
|
|
@@ -8866,6 +8868,7 @@
|
|
|
8866
8868
|
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, ".");
|
|
8867
8869
|
if (integer == "")
|
|
8868
8870
|
integer = "0";
|
|
8871
|
+
console.log('trasform ', integer + fraction);
|
|
8869
8872
|
return integer + fraction;
|
|
8870
8873
|
};
|
|
8871
8874
|
FHCurrencyFieldComponent.prototype.focus_e = function ($event) {
|