@fluxhub/fluxhub-lib 1.0.572 → 1.0.573
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 -1
- 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 +6 -2
- package/esm5/lib/controls/fhnumeric.js +6 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +3 -1
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +3 -1
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhnumeric.d.ts +1 -0
- package/package.json +1 -1
|
@@ -11798,6 +11798,7 @@ var FHNumericFieldComponent = /** @class */ (function () {
|
|
|
11798
11798
|
this.uti_s = uti_s;
|
|
11799
11799
|
this.decimal = 0;
|
|
11800
11800
|
this.label = '';
|
|
11801
|
+
this.th_character = '.';
|
|
11801
11802
|
this.required = false;
|
|
11802
11803
|
this.enabled = true;
|
|
11803
11804
|
this.hidden = false;
|
|
@@ -11924,7 +11925,7 @@ var FHNumericFieldComponent = /** @class */ (function () {
|
|
|
11924
11925
|
fraction = fractionSize > 0
|
|
11925
11926
|
? ',' + (fraction + '000000').substring(0, fractionSize)
|
|
11926
11927
|
: "";
|
|
11927
|
-
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g,
|
|
11928
|
+
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, this.th_character);
|
|
11928
11929
|
if (integer == '')
|
|
11929
11930
|
integer = '0';
|
|
11930
11931
|
// console.log(integer + fraction);
|
|
@@ -11988,6 +11989,7 @@ var FHNumericFieldComponent = /** @class */ (function () {
|
|
|
11988
11989
|
el: [{ type: ViewChild, args: ['el',] }],
|
|
11989
11990
|
decimal: [{ type: Input }],
|
|
11990
11991
|
label: [{ type: Input }],
|
|
11992
|
+
th_character: [{ type: Input }],
|
|
11991
11993
|
required: [{ type: Input }],
|
|
11992
11994
|
enabled: [{ type: Input }],
|
|
11993
11995
|
hidden: [{ type: Input }],
|