semaphor 0.0.46 → 0.0.47
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-1eyVwWds.js +228 -0
- package/dist/chunks/{dashboard-plus-pZp1sW7X.js → dashboard-plus-k_LsKxv1.js} +1460 -1455
- package/dist/chunks/{index-CkngQIsR.js → index-J6hHt1a9.js} +10 -8
- package/dist/chunks/{index-kPTte7ZJ.js → index-gGj_6O-g.js} +3 -3
- 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 +3 -2
- 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-m-3OpLbe.js +0 -228
|
@@ -10576,7 +10576,7 @@ const Q$ = ce.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ A.jsx(
|
|
|
10576
10576
|
Q$.displayName = "CardFooter";
|
|
10577
10577
|
function h6({
|
|
10578
10578
|
className: e,
|
|
10579
|
-
|
|
10579
|
+
customStyle: t,
|
|
10580
10580
|
onSave: n,
|
|
10581
10581
|
onEvent: r,
|
|
10582
10582
|
LoadingComponent: o,
|
|
@@ -10589,8 +10589,8 @@ function h6({
|
|
|
10589
10589
|
customCards: h,
|
|
10590
10590
|
...p
|
|
10591
10591
|
}) {
|
|
10592
|
-
Re((
|
|
10593
|
-
const g = Re((
|
|
10592
|
+
Re((w) => w.selectedSheetId);
|
|
10593
|
+
const g = Re((w) => w.themeStyle), v = Re((w) => w.isSessionExpired), { isLoading: b, isError: y } = f6({
|
|
10594
10594
|
// id,
|
|
10595
10595
|
// version,
|
|
10596
10596
|
authToken: l,
|
|
@@ -10599,10 +10599,10 @@ function h6({
|
|
|
10599
10599
|
onSave: n,
|
|
10600
10600
|
onEvent: r
|
|
10601
10601
|
});
|
|
10602
|
-
return
|
|
10602
|
+
return b || !l ? (r == null || r({
|
|
10603
10603
|
type: "info",
|
|
10604
|
-
message:
|
|
10605
|
-
}), o ? /* @__PURE__ */ A.jsx(o, { message: "loading" }) : /* @__PURE__ */ A.jsx("div", { className: "flex items-center gap-3", children: /* @__PURE__ */ A.jsx(c0, { className: "h-1 w-full dark:h-[2px]" }) })) :
|
|
10604
|
+
message: "Loading dashboard"
|
|
10605
|
+
}), o ? /* @__PURE__ */ A.jsx(o, { message: "loading" }) : /* @__PURE__ */ A.jsx("div", { className: "flex items-center gap-3", children: /* @__PURE__ */ A.jsx(c0, { className: "h-1 w-full dark:h-[2px]" }) })) : y ? (r == null || r({ type: "error", message: "Error fetching dashboard" }), i ? (console.log("Error fetching dashboard"), /* @__PURE__ */ A.jsx(i, {})) : /* @__PURE__ */ A.jsx("div", { children: "Error" })) : v ? (r == null || r({ type: "error", message: "Session Expired" }), /* @__PURE__ */ A.jsx("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ A.jsxs("div", { className: "space-y-4 rounded-md border border-muted p-10", children: [
|
|
10606
10606
|
/* @__PURE__ */ A.jsx(Jh, { children: "Session Expired" }),
|
|
10607
10607
|
/* @__PURE__ */ A.jsx("p", { className: "text-muted-foreground", children: "Your session has expired. Please refresh the page to continue." })
|
|
10608
10608
|
] }) })) : /* @__PURE__ */ A.jsx(
|
|
@@ -29259,7 +29259,7 @@ function DO(e) {
|
|
|
29259
29259
|
J,
|
|
29260
29260
|
q
|
|
29261
29261
|
);
|
|
29262
|
-
if (
|
|
29262
|
+
if (t == null || t(e, le), !!(((j = e == null ? void 0 : e.preferences) == null ? void 0 : j.onClickFilter) ?? []).length) {
|
|
29263
29263
|
if (T) {
|
|
29264
29264
|
const oe = e.id;
|
|
29265
29265
|
w(oe), x(e);
|
|
@@ -43283,11 +43283,13 @@ function Hre(e, t = {}) {
|
|
|
43283
43283
|
}
|
|
43284
43284
|
const Wre = {
|
|
43285
43285
|
id: "string",
|
|
43286
|
+
// deprecated
|
|
43286
43287
|
version: "string",
|
|
43288
|
+
//deprecated
|
|
43287
43289
|
authToken: "json",
|
|
43288
43290
|
currentTheme: "string",
|
|
43289
43291
|
customCards: "json",
|
|
43290
|
-
|
|
43292
|
+
customStyle: "json",
|
|
43291
43293
|
onChartElementClicked: "function",
|
|
43292
43294
|
onEvent: "function",
|
|
43293
43295
|
onSave: "function",
|