react-semaphor 0.0.198 → 0.0.199
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/chunks/dashboard-plus-9A42WcJb.js +210 -0
- package/dist/chunks/{dashboard-plus-gibgO8pQ.js → dashboard-plus-Wujd_Iex.js} +392 -378
- package/dist/chunks/{index-ZPzRMi0w.js → index-NINsx4a4.js} +7 -7
- package/dist/chunks/{index-CQrzHhoZ.js → index-SN72ZAGK.js} +18 -18
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/dashboard.d.ts +1 -1
- package/dist/types/main.d.ts +1 -1
- package/dist/types/surfboard.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunks/dashboard-plus-it5xuE8z.js +0 -210
|
@@ -29310,22 +29310,22 @@ function lX(e, t = !1) {
|
|
|
29310
29310
|
}
|
|
29311
29311
|
};
|
|
29312
29312
|
}
|
|
29313
|
-
function cX(e) {
|
|
29314
|
-
var
|
|
29313
|
+
function cX(e, t) {
|
|
29314
|
+
var r, o, i, s;
|
|
29315
29315
|
return {
|
|
29316
29316
|
...e,
|
|
29317
|
-
type: "bar",
|
|
29317
|
+
type: t === "stackedBar" ? "bar" : "line",
|
|
29318
29318
|
options: {
|
|
29319
29319
|
...e == null ? void 0 : e.options,
|
|
29320
29320
|
//indexAxis is set here
|
|
29321
29321
|
scales: {
|
|
29322
29322
|
x: {
|
|
29323
|
-
...(
|
|
29323
|
+
...(o = (r = e == null ? void 0 : e.options) == null ? void 0 : r.scales) == null ? void 0 : o.x,
|
|
29324
29324
|
display: !0,
|
|
29325
29325
|
stacked: !0
|
|
29326
29326
|
},
|
|
29327
29327
|
y: {
|
|
29328
|
-
...(
|
|
29328
|
+
...(s = (i = e == null ? void 0 : e.options) == null ? void 0 : i.scales) == null ? void 0 : s.y,
|
|
29329
29329
|
display: !0,
|
|
29330
29330
|
stacked: !0
|
|
29331
29331
|
}
|
|
@@ -29478,8 +29478,8 @@ function eA({
|
|
|
29478
29478
|
}
|
|
29479
29479
|
};
|
|
29480
29480
|
}
|
|
29481
|
-
if (t === "stackedBar") {
|
|
29482
|
-
const u = cX(n), { dimensionKeys: f, metricKeys: p } = Rr(e), g = Uy({
|
|
29481
|
+
if (t === "stackedBar" || t === "stackedLine") {
|
|
29482
|
+
const u = cX(n, t), { dimensionKeys: f, metricKeys: p } = Rr(e), g = Uy({
|
|
29483
29483
|
dataArray: e,
|
|
29484
29484
|
groupKey: f[0],
|
|
29485
29485
|
pivotKey: f[1],
|