vueless 0.0.720 → 0.0.722
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/package.json
CHANGED
|
@@ -86,8 +86,18 @@ export function getFormattedValue(value: string | number, options: FormatOptions
|
|
|
86
86
|
positiveOnly: false,
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
const
|
|
90
|
-
|
|
89
|
+
const [integer, fraction] = rawValue.split(rawDecimalMark);
|
|
90
|
+
const bigInteger = intlNumber.format(BigInt(integer));
|
|
91
|
+
|
|
92
|
+
const formattedFraction = fraction
|
|
93
|
+
.slice(minFractionDigits, maxFractionDigits)
|
|
94
|
+
.padStart(maxFractionDigits, "0");
|
|
95
|
+
|
|
96
|
+
const formattedBigInt = fraction
|
|
97
|
+
? bigInteger + `${rawDecimalMark}${formattedFraction}`
|
|
98
|
+
: bigInteger;
|
|
99
|
+
|
|
100
|
+
const formattedValue = formattedBigInt
|
|
91
101
|
.replaceAll(comma, thousandsSeparator)
|
|
92
102
|
.replaceAll(rawDecimalMark, decimalSeparator);
|
|
93
103
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default /*tw*/ {
|
|
2
2
|
tabButton: {
|
|
3
3
|
base: `
|
|
4
|
-
{UButton} -mb-px rounded-none border-b-2 border-transparent
|
|
4
|
+
{UButton} -mb-px rounded-none border-0 border-b-2 border-transparent
|
|
5
5
|
hover:bg-transparent dark:hover:bg-transparent
|
|
6
6
|
active:bg-transparent dark:active:bg-transparent
|
|
7
7
|
`,
|
|
@@ -10,7 +10,7 @@ export default /*tw*/ {
|
|
|
10
10
|
},
|
|
11
11
|
},
|
|
12
12
|
tabButtonActive: {
|
|
13
|
-
base: "{>tabButton} border-
|
|
13
|
+
base: "{>tabButton} border-brand-600",
|
|
14
14
|
defaults: {
|
|
15
15
|
color: "brand",
|
|
16
16
|
},
|