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.
@@ -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
- style: t,
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((x) => x.selectedSheetId);
10593
- const g = Re((x) => x.themeStyle), v = Re((x) => x.onEvent), b = Re((x) => x.isSessionExpired), { isLoading: y, isError: w } = f6({
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 y || !l ? (v == null || v({
10602
+ return b || !l ? (r == null || r({
10603
10603
  type: "info",
10604
- message: `isLoading: ${y}, accessToken: ${l == null ? void 0 : l.accessToken}`
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]" }) })) : w ? (v == null || v({ type: "error", message: "Error fetching dashboard" }), i ? (console.log("Error fetching dashboard"), /* @__PURE__ */ A.jsx(i, {})) : /* @__PURE__ */ A.jsx("div", { children: "Error" })) : b ? (v == null || v({ 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: [
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 (console.log("fieldValues", le), t == null || t(e, le), !!(((j = e == null ? void 0 : e.preferences) == null ? void 0 : j.onClickFilter) ?? []).length) {
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
- style: "json",
43292
+ customStyle: "json",
43291
43293
  onChartElementClicked: "function",
43292
43294
  onEvent: "function",
43293
43295
  onSave: "function",