drizzle-cube 0.1.62 → 0.1.63
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/client/chunks/{components-D0RvU3X3.js → components-DsDLdI8c.js} +37 -15
- package/dist/client/chunks/components-DsDLdI8c.js.map +1 -0
- package/dist/client/components/charts/KpiDelta.d.ts +1 -1
- package/dist/client/components.js +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client-bundle-stats.html +1 -1
- package/package.json +1 -1
- package/dist/client/chunks/components-D0RvU3X3.js.map +0 -1
|
@@ -3958,16 +3958,23 @@ function tS({
|
|
|
3958
3958
|
]
|
|
3959
3959
|
}
|
|
3960
3960
|
),
|
|
3961
|
-
/* @__PURE__ */ E(
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3961
|
+
/* @__PURE__ */ E(
|
|
3962
|
+
"div",
|
|
3963
|
+
{
|
|
3964
|
+
className: "flex flex-col justify-between text-xs text-dc-text-muted",
|
|
3965
|
+
style: { height: `${i}px` },
|
|
3966
|
+
children: [
|
|
3967
|
+
/* @__PURE__ */ E("span", { children: [
|
|
3968
|
+
"+",
|
|
3969
|
+
s(f)
|
|
3970
|
+
] }),
|
|
3971
|
+
/* @__PURE__ */ E("span", { children: [
|
|
3972
|
+
(l < 0, ""),
|
|
3973
|
+
s(l)
|
|
3974
|
+
] })
|
|
3975
|
+
]
|
|
3976
|
+
}
|
|
3977
|
+
)
|
|
3971
3978
|
] });
|
|
3972
3979
|
}
|
|
3973
3980
|
function rS({
|
|
@@ -3987,7 +3994,10 @@ function rS({
|
|
|
3987
3994
|
const z = P / 4, W = G / 4, V = Math.min(z, W), te = Math.max(28, Math.min(V, 140));
|
|
3988
3995
|
o(te), setTimeout(() => {
|
|
3989
3996
|
if (f.current) {
|
|
3990
|
-
const me = f.current.getBoundingClientRect().width, pe = P - 100, se = Math.max(
|
|
3997
|
+
const me = f.current.getBoundingClientRect().width, pe = P - 100, se = Math.max(
|
|
3998
|
+
me,
|
|
3999
|
+
Math.min(pe, P * 0.7)
|
|
4000
|
+
);
|
|
3991
4001
|
d(Math.max(100, se));
|
|
3992
4002
|
}
|
|
3993
4003
|
}, 10);
|
|
@@ -4044,7 +4054,13 @@ function rS({
|
|
|
4044
4054
|
excludedIncompletePeriod: A,
|
|
4045
4055
|
skippedLastPeriod: x,
|
|
4046
4056
|
granularity: k
|
|
4047
|
-
} = sb(
|
|
4057
|
+
} = sb(
|
|
4058
|
+
b,
|
|
4059
|
+
p,
|
|
4060
|
+
n,
|
|
4061
|
+
v,
|
|
4062
|
+
_
|
|
4063
|
+
), S = N.map((j) => j[y]).filter((j) => j != null && !isNaN(Number(j))).map((j) => Number(j));
|
|
4048
4064
|
if (S.length < 2)
|
|
4049
4065
|
return /* @__PURE__ */ u(
|
|
4050
4066
|
"div",
|
|
@@ -4118,7 +4134,13 @@ function rS({
|
|
|
4118
4134
|
{
|
|
4119
4135
|
title: x ? `Excludes last ${k || "period"}` : `Excludes current incomplete ${k}`,
|
|
4120
4136
|
className: "cursor-help",
|
|
4121
|
-
children: /* @__PURE__ */ u(
|
|
4137
|
+
children: /* @__PURE__ */ u(
|
|
4138
|
+
Pe,
|
|
4139
|
+
{
|
|
4140
|
+
icon: xy,
|
|
4141
|
+
className: "w-4 h-4 text-dc-text-muted opacity-70"
|
|
4142
|
+
}
|
|
4143
|
+
)
|
|
4122
4144
|
}
|
|
4123
4145
|
)
|
|
4124
4146
|
]
|
|
@@ -4132,7 +4154,7 @@ function rS({
|
|
|
4132
4154
|
className: "font-bold leading-none",
|
|
4133
4155
|
style: {
|
|
4134
4156
|
fontSize: `${i}px`,
|
|
4135
|
-
color: "
|
|
4157
|
+
color: "var(--dc-text)"
|
|
4136
4158
|
// Keep main value neutral
|
|
4137
4159
|
},
|
|
4138
4160
|
children: R(C)
|
|
@@ -21634,4 +21656,4 @@ export {
|
|
|
21634
21656
|
ow as u,
|
|
21635
21657
|
rb as w
|
|
21636
21658
|
};
|
|
21637
|
-
//# sourceMappingURL=components-
|
|
21659
|
+
//# sourceMappingURL=components-DsDLdI8c.js.map
|