react-semaphor 0.1.377 → 0.1.379

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.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +1 -1
  3. package/dist/brand-studio/index.cjs +1 -1
  4. package/dist/brand-studio/index.js +6 -6
  5. package/dist/chunks/{braces-C2uBgj3t.js → braces-BT-ZyB-g.js} +1 -1
  6. package/dist/chunks/{braces-CkXyWzRh.js → braces-DOxxfERN.js} +1 -1
  7. package/dist/chunks/{calendar-preferences-dialog-C55VOTIy.js → calendar-preferences-dialog-Dsgs8WDv.js} +16 -17
  8. package/dist/chunks/calendar-preferences-dialog-iZs8XqyH.js +1 -0
  9. package/dist/chunks/catalog-field-grounding-8L9I0zdg.js +1 -0
  10. package/dist/chunks/{catalog-field-grounding-DHXEI7cW.js → catalog-field-grounding-BK4BX8sZ.js} +7 -6
  11. package/dist/chunks/dashboard-briefing-launcher-B5vPTl8P.js +80 -0
  12. package/dist/chunks/{dashboard-briefing-launcher-CUyeiL_T.js → dashboard-briefing-launcher-Coks66cV.js} +2093 -2142
  13. package/dist/chunks/{dashboard-controls-B4hxFc3Q.js → dashboard-controls-BfkcnIdy.js} +40 -40
  14. package/dist/chunks/{dashboard-controls-D4vI0wvU.js → dashboard-controls-Dyqye6fh.js} +1 -1
  15. package/dist/chunks/{dashboard-json-DQnm6daE.js → dashboard-json-CV_LnO9x.js} +1 -1
  16. package/dist/chunks/{dashboard-json-pl1_mFqJ.js → dashboard-json-DjXi4cI6.js} +3 -3
  17. package/dist/chunks/{edit-dashboard-visual-CF4aSsav.js → edit-dashboard-visual-DOW1Ap1N.js} +1031 -1032
  18. package/dist/chunks/{edit-dashboard-visual-CjTXY51a.js → edit-dashboard-visual-yinO0yU-.js} +33 -33
  19. package/dist/chunks/{index-B2kPleRS.js → index-CkoRCh3g.js} +199 -194
  20. package/dist/chunks/{index-Bn866BBY.js → index-DlprYjr6.js} +20664 -20526
  21. package/dist/chunks/{layout-grid-BFmJ7vmH.js → layout-grid-DTbOIOsE.js} +1 -1
  22. package/dist/chunks/{layout-grid-CTOW9oTg.js → layout-grid-DccceHv4.js} +1 -1
  23. package/dist/chunks/{palette-OFaniMPn.js → palette-DCzLwqIw.js} +1 -1
  24. package/dist/chunks/{palette-DrhPeer-.js → palette-SimHJELn.js} +1 -1
  25. package/dist/chunks/{save-BxWBiQv1.js → save-D2O96E5A.js} +1 -1
  26. package/dist/chunks/{save-Dh6gSC4x.js → save-zNVYH02T.js} +1 -1
  27. package/dist/chunks/{switch-C-fGjxjY.js → switch-DMPsMpHW.js} +1 -1
  28. package/dist/chunks/{switch-D5xopzFD.js → switch-Jhyl63RF.js} +1 -1
  29. package/dist/chunks/{use-create-flow-overlay-state-Dg2ffpCE.js → use-create-flow-overlay-state-NsqFPwdB.js} +1 -1
  30. package/dist/chunks/{use-create-flow-overlay-state-DrKP0jWE.js → use-create-flow-overlay-state-r5JKyXU8.js} +4 -4
  31. package/dist/chunks/{validation-bMedDBOo.js → validation-BM3-ShHV.js} +1 -1
  32. package/dist/chunks/{validation-BHFaWDU-.js → validation-BVpqRFar.js} +1 -1
  33. package/dist/dashboard/index.cjs +1 -1
  34. package/dist/dashboard/index.js +1 -1
  35. package/dist/dashboard-authoring/index.cjs +1 -1
  36. package/dist/dashboard-authoring/index.js +1 -1
  37. package/dist/data-app-builder/index.cjs +1 -1
  38. package/dist/data-app-builder/index.js +3 -3
  39. package/dist/data-app-sdk/index.cjs +1 -1
  40. package/dist/data-app-sdk/index.js +3 -3
  41. package/dist/data-app-sdk-validation/index.cjs +1 -1
  42. package/dist/data-app-sdk-validation/index.js +2 -2
  43. package/dist/index.cjs +1 -1
  44. package/dist/index.js +62 -61
  45. package/dist/style.css +1 -1
  46. package/dist/surfboard/index.cjs +1 -1
  47. package/dist/surfboard/index.js +2 -2
  48. package/dist/types/analytics-protocol.d.ts +44 -0
  49. package/dist/types/dashboard-assistant.d.ts +42 -0
  50. package/dist/types/data-app-sdk-validation.d.ts +42 -0
  51. package/dist/types/data-app-sdk.d.ts +42 -0
  52. package/dist/types/main.d.ts +7 -0
  53. package/dist/types/types.d.ts +4 -0
  54. package/package.json +1 -1
  55. package/dist/chunks/calendar-preferences-dialog-DAukJOaP.js +0 -1
  56. package/dist/chunks/catalog-field-grounding-BGW0hnB9.js +0 -1
  57. package/dist/chunks/chevrons-up-down-BnzChFLU.js +0 -14
  58. package/dist/chunks/chevrons-up-down-W0nzHzx0.js +0 -6
  59. package/dist/chunks/dashboard-briefing-launcher-DMKfG_z3.js +0 -111
@@ -1,20 +1,20 @@
1
1
  import { jsx as e, jsxs as o, Fragment as R } from "react/jsx-runtime";
2
- import { c as Q, u as D, B as O, ay as dt, E as Wt, L as Vr, a0 as Kr, a as he, az as Qr, aA as Wr, aB as rt, aC as fe, aD as ct, aE as Jt, f as Ge, X as Yt, aF as Xt, aG as Jr, G as _t, W as Yr, Y as Xr, Z as Zr, $ as en, g as tn, j as rn, aH as nn } from "./switch-C-fGjxjY.js";
3
- import { b6 as an, u as G, b as Zt, b7 as sn, aq as V, c as er, d as on, e as nt, f as at, n as dn, b8 as pe, b9 as $e, ba as cn, bb as Rt, bc as tr, bd as rr, be as ln, bf as lt, bg as un, bh as mn, bi as pn, bj as hn, bk as fn, bl as gn, aD as ge, bm as be, o as E, bn, bo as nr, aX as ut, az as xn, bp as vn, bq as yn, br as ar, bs as sr, ax as wn, bt as Nn, bu as Sn, bv as Dn, y as Cn, x as Te, J as kn, z as Xe, bw as En, bx as Ln, by as An, _ as In, bz as Mn, I as Ut, bA as Pn, bB as On, bC as _n, bD as Rn, bE as Tt, bF as Ft, bG as $t, bH as T, bI as Un, bJ as Tn, bK as Fn, au as Gt, bL as $n, bM as Gn, bN as Bn, H as zn, bO as Hn, ag as qn, aj as jn, ak as Vn, al as Kn, am as Qn, an as Wn, ao as Jn, ap as Bt, v as st } from "./index-Bn866BBY.js";
2
+ import { c as Q, u as D, B as O, ay as dt, E as Wt, L as Vr, a0 as Kr, a as he, az as Qr, aA as Wr, aB as rt, aC as fe, aD as ct, aE as Jt, f as Ge, X as Yt, aF as Xt, aG as Jr, G as _t, W as Yr, Y as Xr, Z as Zr, $ as en, g as tn, j as rn, aH as nn } from "./switch-DMPsMpHW.js";
3
+ import { b7 as an, u as G, b as Zt, b8 as sn, ar as V, c as er, d as on, e as nt, f as at, o as dn, b9 as pe, ba as $e, bb as cn, bc as Rt, bd as tr, be as rr, bf as ln, bg as lt, bh as un, bi as mn, bj as pn, bk as hn, bl as fn, bm as gn, aE as ge, bn as be, p as E, bo as bn, bp as nr, aY as ut, aA as xn, bq as vn, br as yn, bs as ar, bt as sr, ay as wn, bu as Nn, bv as Sn, bw as Dn, z as Cn, y as Te, K as kn, A as Xe, bx as En, by as Ln, bz as An, $ as In, bA as Mn, I as Ut, bB as Pn, bC as On, bD as _n, bE as Rn, bF as Tt, bG as Ft, bH as $t, bI as T, bJ as Un, bK as Tn, bL as Fn, av as Gt, bM as $n, bN as Gn, bO as Bn, J as zn, bP as qn, ah as Hn, ak as jn, al as Vn, am as Kn, an as Qn, ao as Wn, ap as Jn, aq as Bt, w as st } from "./index-DlprYjr6.js";
4
4
  import "./index-CuHybtft.js";
5
- import "./catalog-field-grounding-DHXEI7cW.js";
5
+ import "./catalog-field-grounding-BK4BX8sZ.js";
6
6
  import * as I from "react";
7
7
  import or, { useState as w, useMemo as K, useEffect as Be, useRef as zt, useLayoutEffect as Yn, useCallback as Xn } from "react";
8
8
  import "./index-CJdxSyQq.js";
9
9
  import { createPortal as Zn } from "react-dom";
10
- import { M as ea, c as ta, u as ra, A as na, a as aa, L as sa, f as oa, V as ia, O as da, N as ca, U as la } from "./dashboard-briefing-launcher-CUyeiL_T.js";
10
+ import { O as ea, c as ta, u as ra, A as na, a as aa, M as sa, f as oa, V as ia, P as da, N as ca, U as la } from "./dashboard-briefing-launcher-Coks66cV.js";
11
11
  import { d as ir } from "./index-DFOb_6HB.js";
12
- import { C as ua } from "./calendar-preferences-dialog-C55VOTIy.js";
12
+ import { C as ua } from "./calendar-preferences-dialog-Dsgs8WDv.js";
13
13
  import { u as ma } from "./use-debounced-dirty-check-BwAbnX_5.js";
14
14
  import { s as Ze } from "./normalize-dashboard-for-dirty-check-5KpZN8xr.js";
15
- import { S as Ht } from "./save-Dh6gSC4x.js";
16
- import { P as pa } from "./palette-OFaniMPn.js";
17
- import { B as ha } from "./braces-CkXyWzRh.js";
15
+ import { S as qt } from "./save-zNVYH02T.js";
16
+ import { P as pa } from "./palette-DCzLwqIw.js";
17
+ import { B as ha } from "./braces-DOxxfERN.js";
18
18
  /**
19
19
  * @license lucide-react v0.453.0 - ISC
20
20
  *
@@ -114,10 +114,10 @@ var ot = { exports: {} }, et = {};
114
114
  * This source code is licensed under the MIT license found in the
115
115
  * LICENSE file in the root directory of this source tree.
116
116
  */
117
- var qt;
117
+ var Ht;
118
118
  function wa() {
119
- if (qt) return et;
120
- qt = 1;
119
+ if (Ht) return et;
120
+ Ht = 1;
121
121
  var t = or;
122
122
  function a(l, h) {
123
123
  return l === h && (l !== 0 || 1 / l === 1 / h) || l !== l && h !== h;
@@ -640,10 +640,10 @@ const Ga = async (t, a, n) => {
640
640
  }, za = async (t, a, n) => {
641
641
  const r = `${t}/management/v1/groups/${n}`;
642
642
  await ct(r, a, "DELETE");
643
- }, Ha = async (t, a, n, r) => {
643
+ }, qa = async (t, a, n, r) => {
644
644
  const s = `${t}/management/v1/groups/${n}/members`;
645
645
  return await Jt(s, a, r);
646
- }, qa = async (t, a, n, r) => {
646
+ }, Ha = async (t, a, n, r) => {
647
647
  const s = `${t}/management/v1/groups/${n}/members`;
648
648
  await ct(s, a, "DELETE", r);
649
649
  };
@@ -698,7 +698,7 @@ function Qa() {
698
698
  mutationFn: ({
699
699
  groupId: r,
700
700
  data: s
701
- }) => Ha(a.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r, s),
701
+ }) => qa(a.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r, s),
702
702
  onSuccess: (r, s) => {
703
703
  n.invalidateQueries({ queryKey: ["group", s.groupId] }), n.invalidateQueries({
704
704
  queryKey: ["group-members", s.groupId]
@@ -717,7 +717,7 @@ function Wa() {
717
717
  mutationFn: ({
718
718
  groupId: r,
719
719
  data: s
720
- }) => qa(a.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r, s),
720
+ }) => Ha(a.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r, s),
721
721
  onSuccess: (r, s) => {
722
722
  n.invalidateQueries({ queryKey: ["group", s.groupId] }), n.invalidateQueries({
723
723
  queryKey: ["group-members", s.groupId]
@@ -1235,13 +1235,13 @@ function ts({
1235
1235
  /* @__PURE__ */ e("div", { className: "text-[12px] text-foreground", children: "No members yet" }),
1236
1236
  /* @__PURE__ */ e("div", { className: "text-[11px] text-muted-foreground", children: s ? "Search above to add people to this group." : "This group does not have any members." })
1237
1237
  ] }) : m.map((v) => {
1238
- var U, H, De, ae, Ce, A;
1238
+ var U, q, De, ae, Ce, A;
1239
1239
  return /* @__PURE__ */ o(
1240
1240
  "div",
1241
1241
  {
1242
1242
  className: "group flex items-center gap-2 border-b border-border/60 px-5 py-2",
1243
1243
  children: [
1244
- /* @__PURE__ */ e(Nr, { name: ((U = v.user) == null ? void 0 : U.name) || ((H = v.user) == null ? void 0 : H.email) || "?" }),
1244
+ /* @__PURE__ */ e(Nr, { name: ((U = v.user) == null ? void 0 : U.name) || ((q = v.user) == null ? void 0 : q.email) || "?" }),
1245
1245
  /* @__PURE__ */ o("div", { className: "min-w-0 flex-1", children: [
1246
1246
  /* @__PURE__ */ e("div", { className: "truncate text-[12.5px] font-medium text-foreground", children: ((De = v.user) == null ? void 0 : De.name) || ((ae = v.user) == null ? void 0 : ae.email) || "Unknown" }),
1247
1247
  ((Ce = v.user) == null ? void 0 : Ce.email) && v.user.name && /* @__PURE__ */ e("div", { className: "truncate text-[10.5px] text-muted-foreground", children: v.user.email })
@@ -1622,7 +1622,7 @@ function Ss() {
1622
1622
  (d) => d.id === y
1623
1623
  ), C = Jr(N), L = C ? (Et = N == null ? void 0 : N.document) == null ? void 0 : Et.page : void 0, k = D(
1624
1624
  (d) => d.isDashboardEditing
1625
- ), { setDashboardTitle: S } = D((d) => d.actions), [re, W] = w(!1), [ne, xe] = w(!1), [J, Y] = w(!1), [X, Z] = w(!1), [ve, ye] = w(!1), [we, Ne] = w(!1), [Se, B] = w(!1), [ee, te] = w(null), [z, v] = w([]), [U, H] = w(!1), [De, ae] = w(!1), Ce = D((d) => d.filterValues), A = D((d) => d.isVisualEditing);
1625
+ ), { setDashboardTitle: S } = D((d) => d.actions), [re, W] = w(!1), [ne, xe] = w(!1), [J, Y] = w(!1), [X, Z] = w(!1), [ve, ye] = w(!1), [we, Ne] = w(!1), [Se, B] = w(!1), [ee, te] = w(null), [z, v] = w([]), [U, q] = w(!1), [De, ae] = w(!1), Ce = D((d) => d.filterValues), A = D((d) => d.isVisualEditing);
1626
1626
  _t((d) => d.card);
1627
1627
  const se = Te(
1628
1628
  (d) => d.selectedDashboard
@@ -1635,9 +1635,9 @@ function Ss() {
1635
1635
  ), ze = D((d) => d.onSaveFunction), {
1636
1636
  setIsDashboardEditing: ft,
1637
1637
  setShowDashboardJSON: gt
1638
- } = D((d) => d.actions), { setInitialDashboard: bt, clearSelectedDashboard: He } = Te(
1638
+ } = D((d) => d.actions), { setInitialDashboard: bt, clearSelectedDashboard: qe } = Te(
1639
1639
  (d) => d.actions
1640
- ), oe = !!a.orgUserId || !!(a.tenantId && a.endUserId && a.endUserEmail), { resources: Le } = kn(Xe.DASHBOARD), { data: qe } = En(), Sr = ((It = qe == null ? void 0 : qe.preference) == null ? void 0 : It.defaultDashboardId) || null, { mutate: Dr, isPending: Cr } = Ln(), { currentUser: kr } = lt(), Er = An(kr), F = se || ke, xt = F ? {
1640
+ ), oe = !!a.orgUserId || !!(a.tenantId && a.endUserId && a.endUserEmail), { resources: Le } = kn(Xe.DASHBOARD), { data: He } = En(), Sr = ((It = He == null ? void 0 : He.preference) == null ? void 0 : It.defaultDashboardId) || null, { mutate: Dr, isPending: Cr } = Ln(), { currentUser: kr } = lt(), Er = An(kr), F = se || ke, xt = F ? {
1641
1641
  id: F.id,
1642
1642
  title: (i == null ? void 0 : i.title) || F.title || "Dashboard"
1643
1643
  } : null, { handleAddNewFrame: Lr } = In(), [je, Ve] = w(!1), [Ar, ie] = w(!1), [Ke, Ae] = w("close"), de = Mn(Xe.DASHBOARD), [_, Ie] = w(null), Ir = async (d, M) => {
@@ -1737,7 +1737,7 @@ function Ss() {
1737
1737
  const d = Ke === "home" && !!oe;
1738
1738
  _ && yt(_.dashboard, {
1739
1739
  semanticExecutionPayload: _.semanticExecutionPayload
1740
- }), We(), d && He(), Ae("close"), ie(!1), Pe();
1740
+ }), We(), d && qe(), Ae("close"), ie(!1), Pe();
1741
1741
  }, Ur = () => {
1742
1742
  _ && (yt(_.dashboard, {
1743
1743
  semanticExecutionPayload: _.semanticExecutionPayload
@@ -1748,16 +1748,16 @@ function Ss() {
1748
1748
  Ae("home"), ie(!0);
1749
1749
  return;
1750
1750
  }
1751
- He();
1751
+ qe();
1752
1752
  }
1753
1753
  };
1754
1754
  async function Je(d) {
1755
1755
  const M = D.getState().dashboard;
1756
1756
  if (!M)
1757
1757
  return;
1758
- const $ = (d == null ? void 0 : d.closeAfterSave) ?? U, Hr = (d == null ? void 0 : d.navigateHomeAfterSave) ?? !1;
1759
- H($), $ && ie(!1);
1760
- const qr = st(M);
1758
+ const $ = (d == null ? void 0 : d.closeAfterSave) ?? U, qr = (d == null ? void 0 : d.navigateHomeAfterSave) ?? !1;
1759
+ q($), $ && ie(!1);
1760
+ const Hr = st(M);
1761
1761
  B(!0), te(null), v([]), Ve(!0);
1762
1762
  const jr = {
1763
1763
  template: M
@@ -1779,10 +1779,10 @@ function Ss() {
1779
1779
  }
1780
1780
  Ve(!1), E.success("Dashboard saved!"), Ie(
1781
1781
  Qt(
1782
- qr,
1782
+ Hr,
1783
1783
  D.getState().semanticExecutionPayload
1784
1784
  )
1785
- ), B(!1), H(!1), $ && (We(), Pe(), Hr && oe && He()), Ae("close");
1785
+ ), B(!1), q(!1), $ && (We(), Pe(), qr && oe && qe()), Ae("close");
1786
1786
  },
1787
1787
  onError: (P) => {
1788
1788
  Ve(!1), te("Failed to save dashboard. Please try again.");
@@ -1826,12 +1826,12 @@ function Ss() {
1826
1826
  dashboardId: i == null ? void 0 : i.id,
1827
1827
  currentLensName: g == null ? void 0 : g.name
1828
1828
  });
1829
- const $r = oe && !!(t != null && t.accessToken) && !!(a != null && a.apiServiceUrl), Gr = c && oe, q = (i == null ? void 0 : i.id) || null, Br = ss(
1829
+ const $r = oe && !!(t != null && t.accessToken) && !!(a != null && a.apiServiceUrl), Gr = c && oe, H = (i == null ? void 0 : i.id) || null, Br = ss(
1830
1830
  (Mt = a.config) == null ? void 0 : Mt.showBriefings,
1831
1831
  r
1832
- ), le = !!q && Sr === q, zr = () => {
1833
- q && Dr({
1834
- dashboardId: le ? null : q
1832
+ ), le = !!H && Sr === H, zr = () => {
1833
+ H && Dr({
1834
+ dashboardId: le ? null : H
1835
1835
  });
1836
1836
  };
1837
1837
  return !c && !A ? null : /* @__PURE__ */ o(
@@ -1889,7 +1889,7 @@ function Ss() {
1889
1889
  children: "Default"
1890
1890
  }
1891
1891
  ),
1892
- $r && q && /* @__PURE__ */ e(Yr, { children: /* @__PURE__ */ o(Xr, { children: [
1892
+ $r && H && /* @__PURE__ */ e(Yr, { children: /* @__PURE__ */ o(Xr, { children: [
1893
1893
  /* @__PURE__ */ e(Zr, { asChild: !0, children: /* @__PURE__ */ e(
1894
1894
  O,
1895
1895
  {
@@ -1923,10 +1923,10 @@ function Ss() {
1923
1923
  ]
1924
1924
  }
1925
1925
  ),
1926
- !A && !k && c && q && Br && /* @__PURE__ */ e(
1926
+ !A && !k && c && H && Br && /* @__PURE__ */ e(
1927
1927
  sa,
1928
1928
  {
1929
- dashboardId: q,
1929
+ dashboardId: H,
1930
1930
  dashboardTitle: (i == null ? void 0 : i.title) || (F == null ? void 0 : F.title)
1931
1931
  }
1932
1932
  ),
@@ -1939,7 +1939,7 @@ function Ss() {
1939
1939
  disabled: re,
1940
1940
  onClick: Fr,
1941
1941
  children: [
1942
- /* @__PURE__ */ e(Ht, { className: "h-3.5 w-3.5" }),
1942
+ /* @__PURE__ */ e(qt, { className: "h-3.5 w-3.5" }),
1943
1943
  "Save Lens"
1944
1944
  ]
1945
1945
  }
@@ -2016,7 +2016,7 @@ function Ss() {
2016
2016
  disabled: Oe || !Dt,
2017
2017
  onClick: () => Je(),
2018
2018
  children: [
2019
- Oe ? /* @__PURE__ */ e(Ge, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ e(Ht, { className: "h-3.5 w-3.5" }),
2019
+ Oe ? /* @__PURE__ */ e(Ge, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ e(qt, { className: "h-3.5 w-3.5" }),
2020
2020
  Oe ? "Saving..." : "Save"
2021
2021
  ]
2022
2022
  }
@@ -2189,18 +2189,18 @@ function Ss() {
2189
2189
  ),
2190
2190
  s && ce && c && /* @__PURE__ */ e(La, { open: ve, onOpenChange: ye }),
2191
2191
  c && /* @__PURE__ */ e(
2192
- Hn,
2192
+ qn,
2193
2193
  {
2194
2194
  open: we,
2195
2195
  onOpenChange: Ne
2196
2196
  }
2197
2197
  ),
2198
2198
  /* @__PURE__ */ e(
2199
- qn,
2199
+ Hn,
2200
2200
  {
2201
2201
  open: Se,
2202
2202
  onOpenChange: (d) => {
2203
- !d && je && !ee || (B(d), d || (te(null), v([]), H(!1)));
2203
+ !d && je && !ee || (B(d), d || (te(null), v([]), q(!1)));
2204
2204
  },
2205
2205
  children: /* @__PURE__ */ o(jn, { className: "max-w-sm", children: [
2206
2206
  /* @__PURE__ */ o(Vn, { children: [
@@ -2216,7 +2216,7 @@ function Ss() {
2216
2216
  Jn,
2217
2217
  {
2218
2218
  onClick: () => {
2219
- B(!1), te(null), v([]), H(!1);
2219
+ B(!1), te(null), v([]), q(!1);
2220
2220
  },
2221
2221
  className: "m-0",
2222
2222
  children: "Close"
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("./switch-D5xopzFD.js"),s=require("./index-B2kPleRS.js");require("./index-BxM99sFL.js");require("./catalog-field-grounding-BGW0hnB9.js");const v=require("react");require("./index-DRlMUglg.js");const es=require("react-dom"),P=require("./dashboard-briefing-launcher-DMKfG_z3.js"),xt=require("./index-D7KJindZ.js"),ts=require("./calendar-preferences-dialog-DAukJOaP.js"),ss=require("./use-debounced-dirty-check-XHSwAefL.js"),_e=require("./normalize-dashboard-for-dirty-check-BXRUMVb2.js"),ct=require("./save-BxWBiQv1.js"),rs=require("./palette-DrhPeer-.js"),ns=require("./braces-C2uBgj3t.js");function as(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(a,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return a.default=t,Object.freeze(a)}const L=as(v);/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("./switch-Jhyl63RF.js"),s=require("./index-CkoRCh3g.js");require("./index-BxM99sFL.js");require("./catalog-field-grounding-8L9I0zdg.js");const v=require("react");require("./index-DRlMUglg.js");const es=require("react-dom"),P=require("./dashboard-briefing-launcher-B5vPTl8P.js"),xt=require("./index-D7KJindZ.js"),ts=require("./calendar-preferences-dialog-iZs8XqyH.js"),ss=require("./use-debounced-dirty-check-XHSwAefL.js"),_e=require("./normalize-dashboard-for-dirty-check-BXRUMVb2.js"),ct=require("./save-D2O96E5A.js"),rs=require("./palette-SimHJELn.js"),ns=require("./braces-BT-ZyB-g.js");function as(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(a,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return a.default=t,Object.freeze(a)}const L=as(v);/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("react");require("./index-BxM99sFL.js");const s=require("./switch-D5xopzFD.js");require("./catalog-field-grounding-BGW0hnB9.js");require("./index-B2kPleRS.js");require("./index-DRlMUglg.js");require("react-dom");function b(){const t=s.useDashboardStore(e=>e.dashboard),c=s.useDashboardStore(e=>e.actions.setDashboard),u=s.useDashboardStore(e=>e.showDashboardJSON),h=s.useDashboardStore(e=>e.actions.setShowDashboardJSON),r=o.useMemo(()=>t?JSON.stringify(t,null,2):"",[t]),[l,i]=o.useState(r),n=o.useRef(r);return o.useEffect(()=>{r!==n.current&&(i(r),n.current=r)},[r]),a.jsxs("div",{className:s.cn("relative p-2",{hidden:!u}),children:[a.jsxs(s.Button,{variant:"secondary",size:"sm",className:"absolute right-2 top-2 z-10 h-8",onClick:()=>h(!1),children:[a.jsx(s.X,{className:"mr-2 h-4 w-4"}),"Close"]}),a.jsx("div",{className:"h-[550px] overflow-hidden",children:a.jsx(s.CodeEditor,{value:l,onValueChange:e=>{i(e);try{const d=JSON.parse(e);n.current=JSON.stringify(d,null,2),c(d)}catch{}},language:"json"})})]})}exports.default=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("react");require("./index-BxM99sFL.js");const s=require("./switch-Jhyl63RF.js");require("./catalog-field-grounding-8L9I0zdg.js");require("./index-CkoRCh3g.js");require("./index-DRlMUglg.js");require("react-dom");function b(){const t=s.useDashboardStore(e=>e.dashboard),c=s.useDashboardStore(e=>e.actions.setDashboard),u=s.useDashboardStore(e=>e.showDashboardJSON),h=s.useDashboardStore(e=>e.actions.setShowDashboardJSON),r=o.useMemo(()=>t?JSON.stringify(t,null,2):"",[t]),[l,i]=o.useState(r),n=o.useRef(r);return o.useEffect(()=>{r!==n.current&&(i(r),n.current=r)},[r]),a.jsxs("div",{className:s.cn("relative p-2",{hidden:!u}),children:[a.jsxs(s.Button,{variant:"secondary",size:"sm",className:"absolute right-2 top-2 z-10 h-8",onClick:()=>h(!1),children:[a.jsx(s.X,{className:"mr-2 h-4 w-4"}),"Close"]}),a.jsx("div",{className:"h-[550px] overflow-hidden",children:a.jsx(s.CodeEditor,{value:l,onValueChange:e=>{i(e);try{const d=JSON.parse(e);n.current=JSON.stringify(d,null,2),c(d)}catch{}},language:"json"})})]})}exports.default=b;
@@ -1,9 +1,9 @@
1
1
  import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
2
  import { useMemo as m, useState as b, useRef as f, useEffect as p } from "react";
3
3
  import "./index-CuHybtft.js";
4
- import { u as o, a as S, B as N, X as D, C as J } from "./switch-C-fGjxjY.js";
5
- import "./catalog-field-grounding-DHXEI7cW.js";
6
- import "./index-Bn866BBY.js";
4
+ import { u as o, a as S, B as N, X as D, C as J } from "./switch-DMPsMpHW.js";
5
+ import "./catalog-field-grounding-BK4BX8sZ.js";
6
+ import "./index-DlprYjr6.js";
7
7
  import "./index-CJdxSyQq.js";
8
8
  import "react-dom";
9
9
  function j() {