react-semaphor 0.1.267 → 0.1.268

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.
Files changed (35) hide show
  1. package/dist/chunks/{dashboard-controls-d8j31cnQ.js → dashboard-controls-D9FGH-ux.js} +108 -108
  2. package/dist/chunks/{dashboard-controls-BRv37g5w.js → dashboard-controls-DVZnpRK5.js} +1 -1
  3. package/dist/chunks/dashboard-filter-controls-button-CcrX4Kjv.js +11 -0
  4. package/dist/chunks/{dashboard-filter-controls-button-BOs9T2hG.js → dashboard-filter-controls-button-DdI-qlYl.js} +209 -199
  5. package/dist/chunks/{dashboard-json-DjNS3G-C.js → dashboard-json-1s8UpQRT.js} +1 -1
  6. package/dist/chunks/{dashboard-json-CnEYIbNI.js → dashboard-json-B9t11hsc.js} +1 -1
  7. package/dist/chunks/{dashboard-summary-settings-dialog-DOVwh8Cc.js → dashboard-summary-settings-dialog-BXJnm_OC.js} +1 -1
  8. package/dist/chunks/{dashboard-summary-settings-dialog-CrBOuggE.js → dashboard-summary-settings-dialog-BruCXCaN.js} +1 -1
  9. package/dist/chunks/{edit-dashboard-visual-D4UMcS6R.js → edit-dashboard-visual-C4HfjuuW.js} +7447 -6972
  10. package/dist/chunks/edit-dashboard-visual-DrdskRgR.js +193 -0
  11. package/dist/chunks/{index-D5jdzvu3.js → index-BrLm4rYX.js} +35935 -34785
  12. package/dist/chunks/{index-C2i6CRUk.js → index-DTw8TJ-8.js} +523 -326
  13. package/dist/chunks/{resource-management-panel-3XD0FrTD.js → resource-management-panel-C7hHyHwo.js} +16 -16
  14. package/dist/chunks/{resource-management-panel-ZK4SWoad.js → resource-management-panel-CLZBF-Dw.js} +1 -1
  15. package/dist/chunks/{use-create-flow-overlay-state-Bb83NOgW.js → use-create-flow-overlay-state-BrRL7vBF.js} +589 -591
  16. package/dist/chunks/use-create-flow-overlay-state-C6B_dReH.js +21 -0
  17. package/dist/chunks/{use-visual-utils-Bj7eAUMG.js → use-visual-utils-1cXtOxvS.js} +111 -123
  18. package/dist/chunks/use-visual-utils-CLCzIgCj.js +1 -0
  19. package/dist/dashboard/index.cjs +1 -1
  20. package/dist/dashboard/index.js +1 -1
  21. package/dist/index.cjs +1 -1
  22. package/dist/index.js +5 -5
  23. package/dist/style.css +1 -1
  24. package/dist/surfboard/index.cjs +1 -1
  25. package/dist/surfboard/index.js +2 -2
  26. package/dist/types/dashboard.d.ts +38 -0
  27. package/dist/types/main.d.ts +40 -0
  28. package/dist/types/shared.d.ts +38 -0
  29. package/dist/types/surfboard.d.ts +38 -0
  30. package/dist/types/types.d.ts +38 -0
  31. package/package.json +1 -1
  32. package/dist/chunks/dashboard-filter-controls-button-DKRyKRsP.js +0 -11
  33. package/dist/chunks/edit-dashboard-visual-D6RokBEF.js +0 -188
  34. package/dist/chunks/use-create-flow-overlay-state-Cmt64wFE.js +0 -21
  35. package/dist/chunks/use-visual-utils-Bdwejpa1.js +0 -1
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as r, Fragment as le } from "react/jsx-runtime";
2
- import { bL as Pe, u as re, U as je, K as ce, cw as Fe, cx as Be, c as X, B as P, cp as ie, cy as ze, cz as He, cA as Ke, cB as _e, cC as Q, w as oe, cD as Ge, cE as We, cF as Ye, cG as ge, cc as ue, cH as $e, cI as Je, cJ as xe, cK as De, cL as we, cM as Qe, ak as Ne, ag as ve, cN as ye, cO as Ce, cP as Se, cQ as Ee, cR as Ve, cS as Le, cT as Ae, cU as Oe, cV as Te, cW as Xe, cX as he, cY as Ze, ae as te, b as qe, cZ as Re, c_ as ke, e as et, f as tt, g as rt, h as nt, i as ot, L as be, c$ as de, v as st, d0 as at, d1 as it, d2 as dt, bS as lt, bT as ct, bU as ut, bV as ht, d3 as mt, d4 as pt } from "./index-D5jdzvu3.js";
2
+ import { bM as Pe, u as re, U as je, K as ce, cy as Fe, cz as Be, c as X, B as P, cr as ie, cA as ze, cB as He, cC as Ke, cD as _e, cE as Q, w as oe, cF as We, cG as Ge, cH as Ye, cI as ge, ce as ue, cJ as $e, cK as Je, cL as xe, cM as De, cN as we, cO as Qe, al as Ne, ah as ve, cP as ye, cQ as Ce, cR as Se, cS as Ee, cT as Ve, cU as Le, cV as Ae, cW as Oe, cX as Te, cY as Xe, cZ as he, c_ as Ze, af as te, b as qe, c$ as Re, d0 as ke, e as et, f as tt, g as rt, h as nt, i as ot, L as be, d1 as de, v as st, d2 as at, d3 as it, d4 as dt, bT as lt, bU as ct, bV as ut, bW as ht, d5 as mt, d6 as pt } from "./index-BrLm4rYX.js";
3
3
  import ft, { useRef as gt, useEffect as ne, useState as x } from "react";
4
- import { a as Ue } from "./use-visual-utils-Bj7eAUMG.js";
4
+ import { u as Ue } from "./use-visual-utils-1cXtOxvS.js";
5
5
  /**
6
6
  * @license lucide-react v0.453.0 - ISC
7
7
  *
@@ -195,7 +195,7 @@ function wt({
195
195
  },
196
196
  disabled: p,
197
197
  children: [
198
- p ? /* @__PURE__ */ e(oe, { className: "mr-2 h-3 w-3 animate-spin" }) : /* @__PURE__ */ e(Ge, { className: "mr-2 h-3 w-3" }),
198
+ p ? /* @__PURE__ */ e(oe, { className: "mr-2 h-3 w-3 animate-spin" }) : /* @__PURE__ */ e(We, { className: "mr-2 h-3 w-3" }),
199
199
  p ? "Duplicating..." : "Duplicate"
200
200
  ]
201
201
  }
@@ -208,7 +208,7 @@ function wt({
208
208
  i.stopPropagation(), h == null || h(t);
209
209
  },
210
210
  children: [
211
- /* @__PURE__ */ e(We, { className: "mr-2 h-3 w-3" }),
211
+ /* @__PURE__ */ e(Ge, { className: "mr-2 h-3 w-3" }),
212
212
  "Edit details"
213
213
  ]
214
214
  }
@@ -295,7 +295,7 @@ function Nt({ searchQuery: t }) {
295
295
  s && O(s.id);
296
296
  }, {
297
297
  startUpdating: i,
298
- stopUpdating: W,
298
+ stopUpdating: G,
299
299
  isUpdating: z
300
300
  } = De(), L = (o, T, l) => {
301
301
  var ee;
@@ -315,11 +315,11 @@ function Nt({ searchQuery: t }) {
315
315
  {
316
316
  onSuccess: () => {
317
317
  var M;
318
- W(o, K), (M = l == null ? void 0 : l.onSuccess) == null || M.call(l);
318
+ G(o, K), (M = l == null ? void 0 : l.onSuccess) == null || M.call(l);
319
319
  },
320
320
  onError: () => {
321
321
  var M;
322
- W(o, K), (M = l == null ? void 0 : l.onError) == null || M.call(l);
322
+ G(o, K), (M = l == null ? void 0 : l.onError) == null || M.call(l);
323
323
  }
324
324
  }
325
325
  );
@@ -547,7 +547,7 @@ function Ct(t) {
547
547
  isLoading: j,
548
548
  isError: F,
549
549
  updateResource: i,
550
- deleteResource: W,
550
+ deleteResource: G,
551
551
  duplicateResource: z,
552
552
  isDeleting: L
553
553
  } = Re(() => {
@@ -568,7 +568,7 @@ function Ct(t) {
568
568
  }, q = (n) => {
569
569
  u(n), m(!0);
570
570
  }, k = () => {
571
- c && W(c.id);
571
+ c && G(c.id);
572
572
  }, o = (n) => {
573
573
  R(n), z(n, {
574
574
  onSettled: () => R(null)
@@ -580,7 +580,7 @@ function Ct(t) {
580
580
  } = De(), N = (n, _, g) => {
581
581
  var fe;
582
582
  const se = Object.fromEntries(
583
- Object.entries(_).filter(([, G]) => G !== void 0)
583
+ Object.entries(_).filter(([, W]) => W !== void 0)
584
584
  );
585
585
  if (Object.keys(se).length === 0) {
586
586
  (fe = g == null ? void 0 : g.onSuccess) == null || fe.call(g);
@@ -594,12 +594,12 @@ function Ct(t) {
594
594
  },
595
595
  {
596
596
  onSuccess: () => {
597
- var G;
598
- l(n, ae), (G = g == null ? void 0 : g.onSuccess) == null || G.call(g);
597
+ var W;
598
+ l(n, ae), (W = g == null ? void 0 : g.onSuccess) == null || W.call(g);
599
599
  },
600
600
  onError: () => {
601
- var G;
602
- l(n, ae), (G = g == null ? void 0 : g.onError) == null || G.call(g);
601
+ var W;
602
+ l(n, ae), (W = g == null ? void 0 : g.onError) == null || W.call(g);
603
603
  }
604
604
  }
605
605
  );
@@ -800,7 +800,7 @@ function Ot({
800
800
  (N) => {
801
801
  s(!1), N && (S(N), E(N));
802
802
  }
803
- ), U = a === "overlay", j = h ? "New Visual" : "New", F = h ? "New Visual" : "New Dashboard", i = h ? "Search visuals..." : "Search dashboards...", W = h ? "Collapse visuals panel" : "Collapse dashboard panel", z = ((u == null ? void 0 : u.name) ?? "").trim(), L = ((u == null ? void 0 : u.email) ?? "").trim(), H = z && z.toLowerCase() !== "undefined" ? z : L || "Current user", $ = ((B = H.charAt(0)) == null ? void 0 : B.toUpperCase()) || "?", J = L && L.toLowerCase() !== "undefined" ? L : "", Z = xt(f, {
803
+ ), U = a === "overlay", j = h ? "New Visual" : "New", F = h ? "New Visual" : "New Dashboard", i = h ? "Search visuals..." : "Search dashboards...", G = h ? "Collapse visuals panel" : "Collapse dashboard panel", z = ((u == null ? void 0 : u.name) ?? "").trim(), L = ((u == null ? void 0 : u.email) ?? "").trim(), H = z && z.toLowerCase() !== "undefined" ? z : L || "Current user", $ = ((B = H.charAt(0)) == null ? void 0 : B.toUpperCase()) || "?", J = L && L.toLowerCase() !== "undefined" ? L : "", Z = xt(f, {
804
804
  enabled: t && U
805
805
  }), q = X(
806
806
  "flex h-full flex-col border-r border-border/60 bg-background",
@@ -856,7 +856,7 @@ function Ot({
856
856
  variant: "outline",
857
857
  className: "h-8 w-8 rounded-md border-border/60 bg-background p-0.5 text-muted-foreground hover:bg-muted/35 hover:text-foreground",
858
858
  onClick: f,
859
- "aria-label": W,
859
+ "aria-label": G,
860
860
  children: /* @__PURE__ */ e(dt, { className: "h-3.5 w-3.5" })
861
861
  }
862
862
  )
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-C2i6CRUk.js"),h=require("react"),re=require("./use-visual-utils-Bdwejpa1.js");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./index-DTw8TJ-8.js"),h=require("react"),re=require("./use-visual-utils-CLCzIgCj.js");/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.