bt-core-app 2.0.244 → 2.0.245
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/dist/bt-core-app.js +4 -4
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -11801,12 +11801,12 @@ function w4(e) {
|
|
|
11801
11801
|
var Y = H ?? p4, F = e.dates.tzDate(W), U = e.dates.tzDate(), q = Y.split(",");
|
|
11802
11802
|
return q.length >= 4 && U.hasSame(F, "day") ? a(W, q[3]) : q.length >= 3 && U.hasSame(F, "month") ? a(W, q[2]) : q.length >= 2 && U.hasSame(F, "year") ? a(W, q[1]) : a(W, q[0]);
|
|
11803
11803
|
}
|
|
11804
|
-
function M(W) {
|
|
11805
|
-
var
|
|
11804
|
+
function M(W, H = 2) {
|
|
11805
|
+
var Y = new Intl.NumberFormat("en-US", {
|
|
11806
11806
|
style: "percent",
|
|
11807
|
-
minimumFractionDigits:
|
|
11807
|
+
minimumFractionDigits: H
|
|
11808
11808
|
});
|
|
11809
|
-
return
|
|
11809
|
+
return Y.format(W);
|
|
11810
11810
|
}
|
|
11811
11811
|
function T(W) {
|
|
11812
11812
|
return W.replaceAll(",", " ");
|
package/package.json
CHANGED