react-semaphor 0.1.546 → 0.1.548

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 (59) hide show
  1. package/dist/analytics-protocol/index.js +71 -68
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/briefings/index.js +1 -1
  4. package/dist/chunks/applied-constraints-DU-wndZ7.js +47 -0
  5. package/dist/chunks/{assistant-chat-BPXhulAx.js → assistant-chat-DCcWsoGm.js} +106 -106
  6. package/dist/chunks/{bookmark-state-C4vetoa0.js → bookmark-state-Cu-a5ie_.js} +2 -8
  7. package/dist/chunks/{custom-visual-inputs-CkJW9pBS.js → custom-visual-inputs-BTRnwsfd.js} +1 -1
  8. package/dist/chunks/{dashboard-C3CoKbGY.js → dashboard-BZHL9a-z.js} +1 -1
  9. package/dist/chunks/{dashboard-briefing-launcher-Be4h-7My.js → dashboard-briefing-launcher-DML-cAzB.js} +528 -528
  10. package/dist/chunks/{dashboard-controls-bxPrlSyp.js → dashboard-controls-BGoBTPS7.js} +45 -45
  11. package/dist/chunks/{dashboard-json-BrjxIiRt.js → dashboard-json-iHPsdn3j.js} +1 -1
  12. package/dist/chunks/{document-dashboard-inputs-CRVHpIHp.js → document-dashboard-inputs-B2AqPfrq.js} +94 -94
  13. package/dist/chunks/{edit-dashboard-visual-DYYYDjY6.js → edit-dashboard-visual-CLEFFf2T.js} +281 -281
  14. package/dist/chunks/{column-catalog-BYnochWQ.js → filter-reach-copy-ByzGadUk.js} +978 -861
  15. package/dist/chunks/{global-date-filter-utils-9d6m9-FE.js → global-date-filter-utils-CeeFJ1CP.js} +4070 -3792
  16. package/dist/chunks/{index-DkQkMKa1.js → index-DeDHr3iz.js} +30 -30
  17. package/dist/chunks/{raw-temporal-presentation-CBzrDOjM.js → raw-temporal-presentation-CrUM2I_o.js} +1 -1
  18. package/dist/chunks/{report-preferences-dialog-4QEZWe5U.js → report-preferences-dialog-CM7kXmXp.js} +59 -59
  19. package/dist/chunks/{resolve-dashboard-input-context-UpK_LBpL.js → resolve-dashboard-input-context-BmWF9hSl.js} +1511 -1612
  20. package/dist/chunks/{saved-dashboard-context-D_I3Lxk0.js → saved-dashboard-context-qtfzl9Eb.js} +5 -5
  21. package/dist/chunks/{semaphor-ready-indicator-4zpRHE-X.js → semaphor-ready-indicator-Ol6VcaR7.js} +36548 -35855
  22. package/dist/chunks/{shelf-drop-preview-context-Cfw7TRAx.js → shelf-drop-preview-context-C2SEC3I9.js} +80 -80
  23. package/dist/chunks/{source-entity-resolution-BIGRvtbG.js → source-entity-resolution-D195CrYS.js} +221 -192
  24. package/dist/chunks/{table-settings-CunhoDUi.js → table-settings-WysCBj62.js} +133 -124
  25. package/dist/chunks/{use-create-flow-overlay-state-DZBZiiD-.js → use-create-flow-overlay-state-CbGIjaVD.js} +2 -2
  26. package/dist/dashboard/index.js +2 -2
  27. package/dist/dashboard-authoring/index.js +1419 -1340
  28. package/dist/data-app-sdk-validation/index.js +1 -1
  29. package/dist/index.js +14 -14
  30. package/dist/surfboard/index.js +2 -2
  31. package/dist/types/components/surfboard/filter/types.d.ts +7 -0
  32. package/dist/types/components/surfboard/screen-size-preview-button.d.ts +7 -4
  33. package/dist/types/components/visual/matrix-table/matrix-card-view.d.ts +3 -0
  34. package/dist/types/index.js +2 -2
  35. package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-authoring.d.ts +383 -22
  36. package/dist/types/lib/dashboard-inputs/dashboard-filter-value-identity.d.ts +65 -0
  37. package/dist/types/lib/dashboard-inputs/resolve-selection-input.d.ts +3 -3
  38. package/dist/types/lib/hooks/use-dashboard-card.d.ts +2 -0
  39. package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +1 -1
  40. package/dist/types/lib/matrix-table/matrix-runtime-types.d.ts +9 -1
  41. package/dist/types/lib/matrix-table/matrix-runtime.d.ts +5 -1
  42. package/dist/types/lib/query-context/dashboard-filter-mapping-resolution.d.ts +83 -13
  43. package/dist/types/lib/stores/dashboard-store.d.ts +12 -0
  44. package/dist/types/shared/analytics-protocol/applied-constraints.d.ts +57 -1
  45. package/dist/types/shared/assistant-protocol/context.d.ts +8 -8
  46. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +2 -0
  47. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +7 -0
  48. package/dist/types/shared/dashboard-authoring/click-to-filter-settings.d.ts +3 -3
  49. package/dist/types/shared/dashboard-authoring/dashboard-filter-automatic-target.d.ts +4 -4
  50. package/dist/types/shared/dashboard-authoring/dashboard-filter-mapping-contract.d.ts +3 -1
  51. package/dist/types/shared/dashboard-authoring/dashboard-filter-mapping-types.d.ts +27 -1
  52. package/dist/types/shared/dashboard-authoring/dashboard-filter-value-compatibility.d.ts +12 -3
  53. package/dist/types/shared/dashboard-authoring/filter-reach-copy.d.ts +18 -0
  54. package/dist/types/shared/dashboard-authoring/filter-reach-preview.d.ts +97 -0
  55. package/dist/types/shared/dashboard-authoring/index.d.ts +5 -1
  56. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +7 -0
  57. package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +26 -4
  58. package/dist/types/shared/dashboard-authoring/semantic-auto-join-card.d.ts +22 -0
  59. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import { jsx as e, jsxs as s, Fragment as $ } from "react/jsx-runtime";
2
- import { bJ as Hr, u as C, bK as zr, bL as qr, bM as nt, bN as Kr, bO as Qr, bP as Wr, bQ as Yr, bR as Jr, bS as Xr, b2 as Y, b0 as xe, bT as ve, bD as D, bU as Zr, bE as zt, bF as qt, bH as Ze, bI as et, bV as Kt, aO as ot, aX as re, bW as ea, bX as ta, bY as Qt, bZ as ra, b_ as Wt, bG as aa, b$ as na, c0 as R, c1 as oa, c2 as sa, c3 as ia, az as da, be as ca, c4 as la, c5 as ua, c6 as ma, j as ha, P as pa, a3 as Ct, i as Oe, p as fa, k as We, c7 as ba, c8 as ga, c9 as xa, ca as va, N as ya, cb as wa, s as Na, cc as Sa, cd as ka, bh as Ca, ce as Da, cf as Ea, cg as Dt, ch as Et, ci as It, cj as Ia, ck as Aa, cl as La, cm as Oa, cn as Me, co as Ma, cp as Pa, cq as Ye, cr as _a, cs as At, o as Ra, ct as Ta, cu as Ua, cv as $a, cw as Ba, cx as Fa, cy as Ga, cz as ja, cA as Va, cB as Lt } from "./semaphor-ready-indicator-4zpRHE-X.js";
2
+ import { bJ as Hr, u as C, bK as zr, bL as qr, bM as nt, bN as Kr, bO as Qr, bP as Wr, bQ as Yr, bR as Jr, bS as Xr, b2 as Y, b0 as xe, bT as ve, bD as D, bU as Zr, bE as zt, bF as qt, bH as Ze, bI as et, bV as Kt, aO as ot, aX as re, bW as ea, bX as ta, bY as Qt, bZ as ra, b_ as Wt, bG as aa, b$ as na, c0 as R, c1 as oa, c2 as sa, c3 as ia, az as da, be as ca, c4 as la, c5 as ua, c6 as ma, j as ha, P as pa, a3 as Ct, i as Oe, p as fa, k as We, c7 as ba, c8 as ga, c9 as xa, ca as va, N as ya, cb as wa, s as Na, cc as Sa, cd as ka, bh as Ca, ce as Da, cf as Ea, cg as Dt, ch as Et, ci as It, cj as Ia, ck as Aa, cl as La, cm as Oa, cn as Me, co as Ma, cp as Pa, cq as Ye, cr as _a, cs as At, o as Ra, ct as Ta, cu as Ua, cv as $a, cw as Ba, cx as Fa, cy as Ga, cz as Va, cA as ja, cB as Lt } from "./semaphor-ready-indicator-Ol6VcaR7.js";
3
3
  import { B as U, Z as Ha, _ as za, $ as tt, L as _e, l as qa, r as Ka, s as Qa, t as Wa, u as Ya, v as Ja, P as Xa, a as Za, b as en, m as Ot, n as Mt, o as Pt, p as _t, I as tn } from "./switch-CEBOR4n7.js";
4
4
  import { c as ye, X as Yt, C as rn } from "./x-4f5U2XwU.js";
5
5
  import * as A from "react";
6
- import Jt, { useMemo as V, useState as N, useEffect as be, useRef as Rt, useLayoutEffect as an } from "react";
6
+ import Jt, { useMemo as j, useState as N, useEffect as be, useRef as Rt, useLayoutEffect as an } from "react";
7
7
  import "./index-CuHybtft.js";
8
8
  import "./validators-C-aOQlTB.js";
9
9
  import "./matrix-operation-contract-D6vYkZK4.js";
@@ -11,18 +11,18 @@ import "./analytics-base-schemas-BKs3flFS.js";
11
11
  import "zod";
12
12
  import "../value-format-preferences/index.js";
13
13
  import { c as ge } from "./_commonjsHelpers-DimLPMtv.js";
14
- import { u as nn, A as on, a as sn, f as dn, V as cn, b as ln, c as un, S as mn, i as hn, g as pn, U as fn } from "./dashboard-briefing-launcher-Be4h-7My.js";
15
- import { I as bn } from "./use-create-flow-overlay-state-DZBZiiD-.js";
16
- import { h as gn, R as xn } from "./report-preferences-dialog-4QEZWe5U.js";
14
+ import { u as nn, A as on, a as sn, f as dn, V as cn, b as ln, c as un, S as mn, i as hn, g as pn, U as fn } from "./dashboard-briefing-launcher-DML-cAzB.js";
15
+ import { I as bn } from "./use-create-flow-overlay-state-CbGIjaVD.js";
16
+ import { h as gn, R as xn } from "./report-preferences-dialog-CM7kXmXp.js";
17
17
  import { createPortal as vn } from "react-dom";
18
- import { dj as we, dk as st, dl as Xt, ar as yn } from "./global-date-filter-utils-9d6m9-FE.js";
18
+ import { dr as we, ds as st, dt as Xt, as as yn } from "./global-date-filter-utils-CeeFJ1CP.js";
19
19
  import { S as wn, C as Nn } from "./selection-reducer-CJzkTZio.js";
20
20
  import { o as Zt } from "./matrix-formatter-DWEeC0_c.js";
21
- import { af as Tt, ag as Sn, ah as kn, a as rt } from "./resolve-dashboard-input-context-UpK_LBpL.js";
21
+ import { ac as Tt, ad as Sn, ae as kn, a as rt } from "./resolve-dashboard-input-context-BmWF9hSl.js";
22
22
  import { r as Cn } from "./export-file-format-C-tJsxsf.js";
23
23
  import { u as Dn, s as En } from "./normalize-dashboard-for-dirty-check-XKgH3GFX.js";
24
- import { K as Re, u as Ut } from "./table-settings-CunhoDUi.js";
25
- import { l as In, h as $t, e as An } from "./document-dashboard-inputs-CRVHpIHp.js";
24
+ import { K as Re, u as Ut } from "./table-settings-WysCBj62.js";
25
+ import { l as In, h as $t, e as An } from "./document-dashboard-inputs-B2AqPfrq.js";
26
26
  import { S as Ln } from "./save-CfJpQQ68.js";
27
27
  import { P as On } from "./palette-D10o_yYX.js";
28
28
  import { B as Mn } from "./braces-o9UiRQes.js";
@@ -232,10 +232,10 @@ function Fn() {
232
232
  );
233
233
  }
234
234
  function Gn() {
235
- const { displayPreferences: t, shouldShowElement: n } = qr(), { currentUser: a, userContext: r } = nt(), o = V(
235
+ const { displayPreferences: t, shouldShowElement: n } = qr(), { currentUser: a, userContext: r } = nt(), o = j(
236
236
  () => Kr(a),
237
237
  [a]
238
- ), d = V(() => (m) => o && o[m] !== void 0 && o[m] === !1 ? !1 : n(m), [o, n, t]), f = V(
238
+ ), d = j(() => (m) => o && o[m] !== void 0 && o[m] === !1 ? !1 : n(m), [o, n, t]), f = j(
239
239
  () => {
240
240
  var m, g, v, h, c;
241
241
  return {
@@ -255,7 +255,7 @@ function Gn() {
255
255
  currentUser: a
256
256
  };
257
257
  }
258
- function jn(t, n = []) {
258
+ function Vn(t, n = []) {
259
259
  let a = [];
260
260
  function r(d, f) {
261
261
  const m = A.createContext(f);
@@ -287,9 +287,9 @@ function jn(t, n = []) {
287
287
  );
288
288
  };
289
289
  };
290
- return o.scopeName = t, [r, Vn(o, ...n)];
290
+ return o.scopeName = t, [r, jn(o, ...n)];
291
291
  }
292
- function Vn(...t) {
292
+ function jn(...t) {
293
293
  const n = t[0];
294
294
  if (t.length === 1) return n;
295
295
  const a = () => {
@@ -343,7 +343,7 @@ function qn() {
343
343
  return () => {
344
344
  };
345
345
  }
346
- var dt = "Avatar", [Kn] = jn(dt), [Qn, tr] = Kn(dt), rr = A.forwardRef(
346
+ var dt = "Avatar", [Kn] = Vn(dt), [Qn, tr] = Kn(dt), rr = A.forwardRef(
347
347
  (t, n) => {
348
348
  const { __scopeAvatar: a, ...r } = t, [o, d] = A.useState("idle");
349
349
  return /* @__PURE__ */ e(
@@ -663,7 +663,7 @@ function lo({
663
663
  onCreate: f,
664
664
  onDeleteRequest: m
665
665
  }) {
666
- const [g, v] = N(""), h = V(
666
+ const [g, v] = N(""), h = j(
667
667
  () => t.filter(
668
668
  (c) => !g.trim() || c.name.toLowerCase().includes(g.toLowerCase()) || (c.description || "").toLowerCase().includes(g.toLowerCase())
669
669
  ),
@@ -845,10 +845,10 @@ function ho({
845
845
  tenantId: t.tenantId || void 0,
846
846
  active: !0,
847
847
  limit: 200
848
- }), S = V(
848
+ }), S = j(
849
849
  () => new Set(l.map((y) => y.userId)),
850
850
  [l]
851
- ), b = oo(), L = so(), O = ao(), [k, E] = N(!1), [I, J] = N(t.name), [Te, H] = N(!1), [ae, z] = N(t.description || ""), [ne, oe] = N(""), [Ue, se] = N(!1), Ne = V(() => {
851
+ ), b = oo(), L = so(), O = ao(), [k, E] = N(!1), [I, J] = N(t.name), [Te, H] = N(!1), [ae, z] = N(t.description || ""), [ne, oe] = N(""), [Ue, se] = N(!1), Ne = j(() => {
852
852
  const y = ne.trim().toLowerCase();
853
853
  return w.filter((B) => !S.has(B.id)).filter(
854
854
  (B) => !y || (B.name || "").toLowerCase().includes(y) || (B.email || "").toLowerCase().includes(y)
@@ -1106,7 +1106,7 @@ function po({
1106
1106
  };
1107
1107
  return /* @__PURE__ */ s("div", { className: "flex flex-1 flex-col overflow-hidden", children: [
1108
1108
  /* @__PURE__ */ s("div", { className: "flex-1 overflow-y-auto px-5 py-4", children: [
1109
- /* @__PURE__ */ e(jt, { children: "Name" }),
1109
+ /* @__PURE__ */ e(Vt, { children: "Name" }),
1110
1110
  /* @__PURE__ */ e(
1111
1111
  "input",
1112
1112
  {
@@ -1120,7 +1120,7 @@ function po({
1120
1120
  ),
1121
1121
  /* @__PURE__ */ e("div", { className: "mt-1 text-[10.5px] text-muted-foreground", children: "3–50 characters." }),
1122
1122
  /* @__PURE__ */ s("div", { className: "mt-4", children: [
1123
- /* @__PURE__ */ e(jt, { children: "Description (optional)" }),
1123
+ /* @__PURE__ */ e(Vt, { children: "Description (optional)" }),
1124
1124
  /* @__PURE__ */ e(
1125
1125
  "textarea",
1126
1126
  {
@@ -1296,7 +1296,7 @@ function hr({
1296
1296
  )
1297
1297
  ] });
1298
1298
  }
1299
- function jt({ children: t }) {
1299
+ function Vt({ children: t }) {
1300
1300
  return /* @__PURE__ */ e("label", { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: t });
1301
1301
  }
1302
1302
  function pr({ name: t }) {
@@ -1534,15 +1534,15 @@ function So(t) {
1534
1534
  staleTime: 5 * 6e4,
1535
1535
  retry: !1
1536
1536
  }).data, { saved: d, draft: f, enabled: m } = t;
1537
- return V(() => !m || !d || !o ? [] : !o.bookmarks && !Object.keys(o.tables).length ? [] : wo({ saved: d, draft: f, usage: o }), [f, m, d, o]);
1537
+ return j(() => !m || !d || !o ? [] : !o.bookmarks && !Object.keys(o.tables).length ? [] : wo({ saved: d, draft: f, usage: o }), [f, m, d, o]);
1538
1538
  }
1539
- function Vt(t, n, a) {
1539
+ function jt(t, n, a) {
1540
1540
  return `${t} ${t === 1 ? n : a}`;
1541
1541
  }
1542
1542
  function ko(t) {
1543
1543
  const n = [
1544
- t.bookmarks ? Vt(t.bookmarks, "bookmark", "bookmarks") : null,
1545
- t.remembered ? Vt(t.remembered, "remembered layout", "remembered layouts") : null
1544
+ t.bookmarks ? jt(t.bookmarks, "bookmark", "bookmarks") : null,
1545
+ t.remembered ? jt(t.remembered, "remembered layout", "remembered layouts") : null
1546
1546
  ].filter(Boolean).join(", ");
1547
1547
  return t.target === "sheet" ? { name: `${t.label} sheet`, uses: n } : t.target === "table" ? { name: `${t.label} table`, uses: n } : { name: t.label, uses: n };
1548
1548
  }
@@ -1635,7 +1635,7 @@ function es() {
1635
1635
  (i) => i.actions
1636
1636
  ), { setInitialDashboard: pt, clearSelectedDashboard: $e } = Oe(
1637
1637
  (i) => i.actions
1638
- ), ce = !!n.orgUserId || !!(n.tenantId && n.endUserId && n.endUserEmail), { resources: De } = fa(We.DASHBOARD), { data: Be } = ba(), xr = ((Nt = Be == null ? void 0 : Be.preference) == null ? void 0 : Nt.defaultDashboardId) || null, { mutate: vr, isPending: yr } = ga(), { currentUser: wr } = nt(), Nr = xa(wr), F = br || gr, j = va({
1638
+ ), ce = !!n.orgUserId || !!(n.tenantId && n.endUserId && n.endUserEmail), { resources: De } = fa(We.DASHBOARD), { data: Be } = ba(), xr = ((Nt = Be == null ? void 0 : Be.preference) == null ? void 0 : Nt.defaultDashboardId) || null, { mutate: vr, isPending: yr } = ga(), { currentUser: wr } = nt(), Nr = xa(wr), F = br || gr, V = va({
1639
1639
  config: n.config,
1640
1640
  canNavigateDashboardHub: ce,
1641
1641
  canShareDashboard: ((St = F == null ? void 0 : F.permissions) == null ? void 0 : St.canShare) === !0,
@@ -1643,7 +1643,7 @@ function es() {
1643
1643
  }), ft = F ? {
1644
1644
  id: F.id,
1645
1645
  title: (b == null ? void 0 : b.title) || F.title || "Dashboard"
1646
- } : null, { handleAddNewFrame: Sr } = ya(), [Fe, Ge] = N(!1), [kr, le] = N(!1), [je, Ee] = N("close"), ue = wa(We.DASHBOARD), [M, me] = N(null), Cr = async (i, _) => {
1646
+ } : null, { handleAddNewFrame: Sr } = ya(), [Fe, Ge] = N(!1), [kr, le] = N(!1), [Ve, Ee] = N("close"), ue = wa(We.DASHBOARD), [M, me] = N(null), Cr = async (i, _) => {
1647
1647
  if (!h) {
1648
1648
  if (!(b != null && b.id)) {
1649
1649
  console.log("No dashboard ID found");
@@ -1687,7 +1687,7 @@ function es() {
1687
1687
  }
1688
1688
  }
1689
1689
  }, [De, b == null ? void 0 : b.id, pt]);
1690
- const Dr = n.orgUserId || n.tenantId, Ve = V(
1690
+ const Dr = n.orgUserId || n.tenantId, je = j(
1691
1691
  () => Do({
1692
1692
  accessToken: t == null ? void 0 : t.accessToken,
1693
1693
  dashboardId: (b == null ? void 0 : b.id) || a || n.dashboard_id,
@@ -1753,10 +1753,10 @@ function es() {
1753
1753
  }, Or = async () => {
1754
1754
  await Qe({
1755
1755
  closeAfterSave: !0,
1756
- navigateHomeAfterSave: je === "home"
1756
+ navigateHomeAfterSave: Ve === "home"
1757
1757
  });
1758
1758
  }, Mr = () => {
1759
- const i = je === "home" && !!ce;
1759
+ const i = Ve === "home" && !!ce;
1760
1760
  M && ze(M.dashboard, {
1761
1761
  semanticExecutionPayload: M.semanticExecutionPayload
1762
1762
  }), Ie(), i && $e(), Ee("close"), le(!1), he();
@@ -1802,14 +1802,14 @@ function es() {
1802
1802
  },
1803
1803
  onError: (Gr) => {
1804
1804
  Ge(!1), Q("Failed to save dashboard. Please try again.");
1805
- const Le = Gr.details, jr = Array.isArray(
1805
+ const Le = Gr.details, Vr = Array.isArray(
1806
1806
  Le == null ? void 0 : Le.errors
1807
1807
  ) ? (Le.errors || []).filter(
1808
- (Vr) => typeof Vr == "string"
1808
+ (jr) => typeof jr == "string"
1809
1809
  ) : [];
1810
1810
  W(
1811
1811
  xo({
1812
- errors: jr,
1812
+ errors: Vr,
1813
1813
  dashboard: _ || void 0
1814
1814
  })
1815
1815
  ), D.error("Failed to save dashboard");
@@ -1823,7 +1823,7 @@ function es() {
1823
1823
  dashboardStateTitle: b.title,
1824
1824
  dashboardId: b == null ? void 0 : b.id
1825
1825
  });
1826
- const Rr = ce && !!(t != null && t.accessToken) && !!(n != null && n.apiServiceUrl), Tr = !h && j.showDashboardHub && Rr, Ur = !h && p && j.showDashboardHub, G = (b == null ? void 0 : b.id) || null, vt = Sa(
1826
+ const Rr = ce && !!(t != null && t.accessToken) && !!(n != null && n.apiServiceUrl), Tr = !h && V.showDashboardHub && Rr, Ur = !h && p && V.showDashboardHub, G = (b == null ? void 0 : b.id) || null, vt = Sa(
1827
1827
  (kt = n.config) == null ? void 0 : kt.showBriefings,
1828
1828
  r
1829
1829
  ), ee = !!G && xr === G, $r = () => {
@@ -1881,7 +1881,7 @@ function es() {
1881
1881
  isPending: ue.isPending
1882
1882
  }
1883
1883
  ),
1884
- j.showDashboardHub && ee && /* @__PURE__ */ e(
1884
+ V.showDashboardHub && ee && /* @__PURE__ */ e(
1885
1885
  "span",
1886
1886
  {
1887
1887
  className: "shrink-0 rounded-[4px] border border-border/60 px-1.5 py-px text-[10px] font-medium uppercase tracking-[0.06em] text-muted-foreground",
@@ -2075,13 +2075,13 @@ function es() {
2075
2075
  }
2076
2076
  ),
2077
2077
  /* @__PURE__ */ e(Ye, {}),
2078
- (j.showDashboardSharing || j.showGroupManagement) && /* @__PURE__ */ s($, { children: [
2078
+ (V.showDashboardSharing || V.showGroupManagement) && /* @__PURE__ */ s($, { children: [
2079
2079
  /* @__PURE__ */ e(Me, { children: "Access" }),
2080
- j.showDashboardSharing && /* @__PURE__ */ s(R, { onSelect: () => H(!0), children: [
2080
+ V.showDashboardSharing && /* @__PURE__ */ s(R, { onSelect: () => H(!0), children: [
2081
2081
  /* @__PURE__ */ e(_a, { className: "h-3.5 w-3.5" }),
2082
2082
  "Share"
2083
2083
  ] }),
2084
- j.showGroupManagement && /* @__PURE__ */ s(
2084
+ V.showGroupManagement && /* @__PURE__ */ s(
2085
2085
  R,
2086
2086
  {
2087
2087
  onClick: () => z(!0),
@@ -2119,16 +2119,16 @@ function es() {
2119
2119
  k && /* @__PURE__ */ s(
2120
2120
  R,
2121
2121
  {
2122
- disabled: !Ve,
2122
+ disabled: !je,
2123
2123
  onSelect: () => {
2124
2124
  var i;
2125
- if (!Ve) {
2125
+ if (!je) {
2126
2126
  D.error(
2127
2127
  "Open a document sheet with a token to copy the local PDF URL"
2128
2128
  );
2129
2129
  return;
2130
2130
  }
2131
- (i = navigator == null ? void 0 : navigator.clipboard) != null && i.writeText ? navigator.clipboard.writeText(Ve).then(
2131
+ (i = navigator == null ? void 0 : navigator.clipboard) != null && i.writeText ? navigator.clipboard.writeText(je).then(
2132
2132
  () => D.success(
2133
2133
  "Local document PDF URL copied to clipboard"
2134
2134
  )
@@ -2181,7 +2181,7 @@ function es() {
2181
2181
  onClose: () => H(!1)
2182
2182
  }
2183
2183
  ),
2184
- j.showGroupManagement && /* @__PURE__ */ e(
2184
+ V.showGroupManagement && /* @__PURE__ */ e(
2185
2185
  co,
2186
2186
  {
2187
2187
  open: ae,
@@ -2239,9 +2239,9 @@ function es() {
2239
2239
  /* @__PURE__ */ e("ul", { className: "list-disc space-y-1 pl-4 text-xs text-muted-foreground", children: de.slice(0, 5).map((i) => /* @__PURE__ */ e("li", { children: i }, i)) })
2240
2240
  ] })
2241
2241
  ] }),
2242
- /* @__PURE__ */ e(ja, { className: "flex-col gap-2 sm:flex-row sm:justify-end", children: K ? /* @__PURE__ */ s($, { children: [
2242
+ /* @__PURE__ */ e(Va, { className: "flex-col gap-2 sm:flex-row sm:justify-end", children: K ? /* @__PURE__ */ s($, { children: [
2243
2243
  /* @__PURE__ */ e(
2244
- Va,
2244
+ ja,
2245
2245
  {
2246
2246
  onClick: () => {
2247
2247
  q(!1), Q(null), W([]), Ce(!1);
@@ -2255,7 +2255,7 @@ function es() {
2255
2255
  {
2256
2256
  onClick: () => Qe({
2257
2257
  closeAfterSave: ct,
2258
- navigateHomeAfterSave: je === "home"
2258
+ navigateHomeAfterSave: Ve === "home"
2259
2259
  }),
2260
2260
  className: "m-0",
2261
2261
  children: "Retry"
@@ -1,6 +1,6 @@
1
1
  import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
2
  import { useMemo as u, useState as f, useRef as p, useEffect as b } from "react";
3
- import { u as a } from "./semaphor-ready-indicator-4zpRHE-X.js";
3
+ import { u as a } from "./semaphor-ready-indicator-Ol6VcaR7.js";
4
4
  import { B as S, C as N } from "./switch-CEBOR4n7.js";
5
5
  import "./index-CuHybtft.js";
6
6
  import "./validators-C-aOQlTB.js";