@fluxhub/fluxhub-lib 1.0.572 → 1.0.574
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 +6 -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 +9 -2
- package/esm5/lib/controls/fhnumeric.js +9 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +6 -1
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +6 -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
|
@@ -11820,6 +11820,7 @@
|
|
|
11820
11820
|
this.uti_s = uti_s;
|
|
11821
11821
|
this.decimal = 0;
|
|
11822
11822
|
this.label = '';
|
|
11823
|
+
this.th_character = '.';
|
|
11823
11824
|
this.required = false;
|
|
11824
11825
|
this.enabled = true;
|
|
11825
11826
|
this.hidden = false;
|
|
@@ -11946,9 +11947,12 @@
|
|
|
11946
11947
|
fraction = fractionSize > 0
|
|
11947
11948
|
? ',' + (fraction + '000000').substring(0, fractionSize)
|
|
11948
11949
|
: "";
|
|
11949
|
-
|
|
11950
|
+
if (this.th_character != '')
|
|
11951
|
+
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, this.th_character);
|
|
11950
11952
|
if (integer == '')
|
|
11951
11953
|
integer = '0';
|
|
11954
|
+
if (this.decimal == 0)
|
|
11955
|
+
return integer;
|
|
11952
11956
|
// console.log(integer + fraction);
|
|
11953
11957
|
return integer + fraction;
|
|
11954
11958
|
};
|
|
@@ -12010,6 +12014,7 @@
|
|
|
12010
12014
|
el: [{ type: core.ViewChild, args: ['el',] }],
|
|
12011
12015
|
decimal: [{ type: core.Input }],
|
|
12012
12016
|
label: [{ type: core.Input }],
|
|
12017
|
+
th_character: [{ type: core.Input }],
|
|
12013
12018
|
required: [{ type: core.Input }],
|
|
12014
12019
|
enabled: [{ type: core.Input }],
|
|
12015
12020
|
hidden: [{ type: core.Input }],
|