@fluxhub/fluxhub-lib 9.0.13 → 9.0.14
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 +2 -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 +3 -1
- package/esm5/lib/controls/fhcurrencyfield.js +3 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +2 -0
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +2 -0
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -8204,6 +8204,7 @@
|
|
|
8204
8204
|
};
|
|
8205
8205
|
FHCurrencyFieldComponent.prototype.transform = function (value, fractionSize) {
|
|
8206
8206
|
if (fractionSize === void 0) { fractionSize = 2; }
|
|
8207
|
+
console.log('ini trasform() -> ', value, fractionSize);
|
|
8207
8208
|
var _a = __read((value || "").toString().split('.'), 2), integer = _a[0], _b = _a[1], fraction = _b === void 0 ? "" : _b;
|
|
8208
8209
|
fraction = fractionSize > 0
|
|
8209
8210
|
? ',' + (fraction + '000000').substring(0, fractionSize)
|
|
@@ -8211,6 +8212,7 @@
|
|
|
8211
8212
|
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, '.');
|
|
8212
8213
|
if (integer == '')
|
|
8213
8214
|
integer = '0';
|
|
8215
|
+
console.log('fine transform() -> ', value, fractionSize);
|
|
8214
8216
|
if (fractionSize > 0)
|
|
8215
8217
|
return integer + fraction;
|
|
8216
8218
|
else
|