react-semaphor 0.1.382 → 0.1.383

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 (50) hide show
  1. package/dist/brand-studio/index.cjs +4 -4
  2. package/dist/brand-studio/index.js +27 -27
  3. package/dist/chunks/{braces-CP8BEzl3.js → braces--20GzUQh.js} +1 -1
  4. package/dist/chunks/{braces-CGi-YFZp.js → braces-C0Vh_Mft.js} +1 -1
  5. package/dist/chunks/{calendar-preferences-dialog-CV4xF2Tp.js → calendar-preferences-dialog-B-VsxhsA.js} +3 -3
  6. package/dist/chunks/calendar-preferences-dialog-DE67Z3oQ.js +1 -0
  7. package/dist/chunks/{dashboard-briefing-launcher-BT00MvGB.js → dashboard-briefing-launcher-BIj3X7b3.js} +107 -106
  8. package/dist/chunks/dashboard-briefing-launcher-Czx6BcXW.js +80 -0
  9. package/dist/chunks/dashboard-controls-BP-DcPFs.js +52 -0
  10. package/dist/chunks/{dashboard-controls-B6y7jkKO.js → dashboard-controls-BXxucM4f.js} +114 -113
  11. package/dist/chunks/dashboard-json-BNwshkK2.js +1 -0
  12. package/dist/chunks/{dashboard-json-CfIUG8k1.js → dashboard-json-C6oZuipD.js} +8 -8
  13. package/dist/chunks/edit-dashboard-visual-BAprin3J.js +178 -0
  14. package/dist/chunks/{edit-dashboard-visual-DMbf89xa.js → edit-dashboard-visual-CmfrI_L3.js} +1277 -1276
  15. package/dist/chunks/{index-CrKxP9uF.js → index-4W_ElSBJ.js} +219 -239
  16. package/dist/chunks/{index-BAsWLkZ8.js → index-icb12JV1.js} +879 -932
  17. package/dist/chunks/{layout-grid-jJQUqDN9.js → layout-grid-B7-klXiK.js} +1 -1
  18. package/dist/chunks/{layout-grid-BsKH3TgY.js → layout-grid-DV89AC9_.js} +1 -1
  19. package/dist/chunks/{palette-xU9Qt6bE.js → palette-5IwhMbSF.js} +1 -1
  20. package/dist/chunks/{palette-9zLPGlj2.js → palette-Dj-dgPYh.js} +1 -1
  21. package/dist/chunks/{save-DzciESDh.js → save-16C6YSW2.js} +1 -1
  22. package/dist/chunks/{save-8A_q6K4E.js → save-C5fwVdTF.js} +1 -1
  23. package/dist/chunks/search-0LmWwZzW.js +57 -0
  24. package/dist/chunks/search-Dq1Mbb03.js +21 -0
  25. package/dist/chunks/{switch-DArtNJZh.js → switch-DUdaHFZQ.js} +2332 -2419
  26. package/dist/chunks/{switch-k7kj6NRg.js → switch-bdJp0Bkw.js} +29 -54
  27. package/dist/chunks/use-create-flow-overlay-state-BIHKf_XK.js +21 -0
  28. package/dist/chunks/{use-create-flow-overlay-state-BdG1DiSx.js → use-create-flow-overlay-state-YvqCp6Zo.js} +74 -74
  29. package/dist/chunks/x-B_cx7LwM.js +26 -0
  30. package/dist/chunks/x-IdR_js6f.js +139 -0
  31. package/dist/dashboard/index.cjs +1 -1
  32. package/dist/dashboard/index.js +1 -1
  33. package/dist/data-app-builder/index.cjs +23 -23
  34. package/dist/data-app-builder/index.js +17 -15
  35. package/dist/data-app-sdk/index.cjs +68 -1
  36. package/dist/data-app-sdk/index.js +2705 -422
  37. package/dist/index.cjs +1 -1
  38. package/dist/index.js +14 -14
  39. package/dist/surfboard/index.cjs +1 -1
  40. package/dist/surfboard/index.js +2 -2
  41. package/dist/types/data-app-sdk.d.ts +127 -1
  42. package/package.json +1 -1
  43. package/dist/chunks/calendar-preferences-dialog-rDDobeLo.js +0 -1
  44. package/dist/chunks/dashboard-briefing-launcher-Dcbh-mjY.js +0 -80
  45. package/dist/chunks/dashboard-controls-CRqnPibB.js +0 -52
  46. package/dist/chunks/dashboard-json-DEQqRR1x.js +0 -1
  47. package/dist/chunks/edit-dashboard-visual-wDOcHak3.js +0 -178
  48. package/dist/chunks/index-BxM99sFL.js +0 -1
  49. package/dist/chunks/index-CuHybtft.js +0 -51
  50. package/dist/chunks/use-create-flow-overlay-state-ipeaE65_.js +0 -21
@@ -1,20 +1,21 @@
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-DArtNJZh.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-BAsWLkZ8.js";
4
- import "./index-CuHybtft.js";
2
+ import { u as D, B as O, aw as dt, D as Wt, L as jr, _ as Kr, c as he, ax as Qr, ay as Wr, az as rt, aA as fe, aB as ct, aC as Jt, e as Ge, aD as Xt, aE as Jr, F as _t, V as Xr, W as Yr, X as Zr, Z as en, f as tn, i as rn, aF as nn } from "./switch-DUdaHFZQ.js";
3
+ import { b6 as an, u as G, b as Yt, b7 as sn, ar as j, c as Zt, d as on, e as nt, f as at, o as dn, b8 as pe, b9 as $e, ba as cn, bb as Rt, bc as er, bd as tr, 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, p as E, bn, bo as rr, aX as ut, bp as xn, bq as vn, br as nr, bs as ar, ay as yn, bt as wn, bu as Nn, bv as Sn, z as Dn, y as Te, K as Cn, A as Ye, bw as kn, bx as En, by as Ln, $ as An, bz as In, I as Ut, bA as Mn, bB as Pn, bC as On, bD as _n, bE as Tt, bF as Ft, bG as $t, bH as T, bI as Rn, bJ as Un, bK as Tn, av as Gt, bL as Fn, bM as $n, bN as Gn, J as Bn, bO as zn, ah as qn, ak as Hn, al as Vn, am as jn, an as Kn, ao as Qn, ap as Wn, aq as Bt, w as st } from "./index-icb12JV1.js";
4
+ import { c as Q, X as sr } from "./x-IdR_js6f.js";
5
5
  import "./analyze-result-contract-DuhlklhI.js";
6
6
  import * as I from "react";
7
- import or, { useState as w, useMemo as K, useEffect as Be, useRef as zt, useLayoutEffect as Yn, useCallback as Xn } from "react";
7
+ import or, { useState as w, useMemo as K, useEffect as Be, useRef as zt, useLayoutEffect as Jn, useCallback as Xn } from "react";
8
8
  import "./index-CJdxSyQq.js";
9
- import { createPortal as Zn } from "react-dom";
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-BT00MvGB.js";
9
+ import { createPortal as Yn } from "react-dom";
10
+ import { O as Zn, c as ea, u as ta, A as ra, a as na, M as aa, f as sa, V as oa, P as ia, N as da, U as ca } from "./dashboard-briefing-launcher-BIj3X7b3.js";
11
+ import { S as la } from "./search-0LmWwZzW.js";
11
12
  import { d as ir } from "./index-DFOb_6HB.js";
12
- import { C as ua } from "./calendar-preferences-dialog-CV4xF2Tp.js";
13
+ import { C as ua } from "./calendar-preferences-dialog-B-VsxhsA.js";
13
14
  import { u as ma } from "./use-debounced-dirty-check-BwAbnX_5.js";
14
15
  import { s as Ze } from "./normalize-dashboard-for-dirty-check-5KpZN8xr.js";
15
- import { S as qt } from "./save-DzciESDh.js";
16
- import { P as pa } from "./palette-xU9Qt6bE.js";
17
- import { B as ha } from "./braces-CP8BEzl3.js";
16
+ import { S as qt } from "./save-16C6YSW2.js";
17
+ import { P as pa } from "./palette-5IwhMbSF.js";
18
+ import { B as ha } from "./braces--20GzUQh.js";
18
19
  /**
19
20
  * @license lucide-react v0.453.0 - ISC
20
21
  *
@@ -165,9 +166,9 @@ var tt = {};
165
166
  * This source code is licensed under the MIT license found in the
166
167
  * LICENSE file in the root directory of this source tree.
167
168
  */
168
- var jt;
169
+ var Vt;
169
170
  function Na() {
170
- return jt || (jt = 1, process.env.NODE_ENV !== "production" && function() {
171
+ return Vt || (Vt = 1, process.env.NODE_ENV !== "production" && function() {
171
172
  function t(m, g) {
172
173
  return m === g && (m !== 0 || 1 / m === 1 / g) || m !== m && g !== g;
173
174
  }
@@ -296,18 +297,18 @@ function La({
296
297
  );
297
298
  S && (c([...f || [], S]), b(S.id), i(!1)), p(!1);
298
299
  }
299
- return /* @__PURE__ */ o(Zt, { open: g, onOpenChange: i, children: [
300
+ return /* @__PURE__ */ o(Yt, { open: g, onOpenChange: i, children: [
300
301
  m ? null : /* @__PURE__ */ e(sn, { asChild: !0, children: /* @__PURE__ */ o(O, { variant: "secondary", size: "xs", children: [
301
- /* @__PURE__ */ e(V, { className: "h-3.5 w-3.5" }),
302
+ /* @__PURE__ */ e(j, { className: "h-3.5 w-3.5" }),
302
303
  "Lens"
303
304
  ] }) }),
304
- /* @__PURE__ */ o(er, { className: "rounded-control border-border/60 sm:max-w-[420px] sm:rounded-control", children: [
305
+ /* @__PURE__ */ o(Zt, { className: "rounded-control border-border/60 sm:max-w-[420px] sm:rounded-control", children: [
305
306
  /* @__PURE__ */ o(on, { children: [
306
307
  /* @__PURE__ */ e(nt, { className: "text-[15px]", children: "Create lens" }),
307
308
  /* @__PURE__ */ e(at, { className: "text-[13px] leading-5", children: "Lenses are private by default and are only visible to you." })
308
309
  ] }),
309
310
  /* @__PURE__ */ o("div", { className: "space-y-1.5 py-1", children: [
310
- /* @__PURE__ */ e(Vr, { htmlFor: "lens-name", className: Ea, children: "Name" }),
311
+ /* @__PURE__ */ e(jr, { htmlFor: "lens-name", className: Ea, children: "Name" }),
311
312
  /* @__PURE__ */ e(
312
313
  Kr,
313
314
  {
@@ -391,7 +392,7 @@ function Aa({ includeLabel: t = !1 } = {}) {
391
392
  /* @__PURE__ */ e("p", { children: p.name }),
392
393
  /* @__PURE__ */ o("span", { className: "flex items-center gap-3", children: [
393
394
  /* @__PURE__ */ e(
394
- tr,
395
+ er,
395
396
  {
396
397
  onClick: (l) => {
397
398
  l.preventDefault(), x(p);
@@ -407,7 +408,7 @@ function Aa({ includeLabel: t = !1 } = {}) {
407
408
  }
408
409
  ),
409
410
  /* @__PURE__ */ e(
410
- rr,
411
+ tr,
411
412
  {
412
413
  onClick: (l) => {
413
414
  l.preventDefault(), b(p.id);
@@ -577,15 +578,15 @@ var pr = "AvatarFallback", hr = I.forwardRef(
577
578
  }
578
579
  );
579
580
  hr.displayName = pr;
580
- function Vt(t, a) {
581
+ function jt(t, a) {
581
582
  return t ? a ? (t.src !== a && (t.src = a), t.complete && t.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
582
583
  }
583
584
  function Fa(t, { referrerPolicy: a, crossOrigin: n }) {
584
585
  const r = _a(), s = I.useRef(null), u = r ? (s.current || (s.current = new window.Image()), s.current) : null, [f, c] = I.useState(
585
- () => Vt(u, t)
586
+ () => jt(u, t)
586
587
  );
587
588
  return rt(() => {
588
- c(Vt(u, t));
589
+ c(jt(u, t));
589
590
  }, [u, t]), rt(() => {
590
591
  const b = (l) => () => {
591
592
  c(l);
@@ -647,7 +648,7 @@ const Ga = async (t, a, n) => {
647
648
  const s = `${t}/management/v1/groups/${n}/members`;
648
649
  await ct(s, a, "DELETE", r);
649
650
  };
650
- function ja() {
651
+ function Va() {
651
652
  const { authToken: t, tokenProps: a } = G(), n = ge();
652
653
  return be({
653
654
  mutationFn: (r) => Ga(a.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r),
@@ -661,7 +662,7 @@ function ja() {
661
662
  }
662
663
  });
663
664
  }
664
- function Va() {
665
+ function ja() {
665
666
  const { authToken: t, tokenProps: a } = G(), n = ge();
666
667
  return be({
667
668
  mutationFn: ({
@@ -731,7 +732,7 @@ function Wa() {
731
732
  });
732
733
  }
733
734
  const Ja = [];
734
- function Ya({
735
+ function Xa({
735
736
  open: t,
736
737
  onOpenChange: a
737
738
  }) {
@@ -756,7 +757,7 @@ function Ya({
756
757
  } catch {
757
758
  }
758
759
  };
759
- return /* @__PURE__ */ e(Zt, { open: t, onOpenChange: a, children: /* @__PURE__ */ o(er, { className: "flex max-h-[640px] w-[720px] max-w-[92vw] flex-col gap-0 overflow-hidden p-0", children: [
760
+ return /* @__PURE__ */ e(Yt, { open: t, onOpenChange: a, children: /* @__PURE__ */ o(Zt, { className: "flex max-h-[640px] w-[720px] max-w-[92vw] flex-col gap-0 overflow-hidden p-0", children: [
760
761
  l.kind === "list" ? /* @__PURE__ */ o("div", { className: "shrink-0 border-b border-border px-5 pt-4 pb-3.5", children: [
761
762
  /* @__PURE__ */ e(nt, { className: "text-[15px] font-semibold tracking-tight", children: "Group management" }),
762
763
  /* @__PURE__ */ e(at, { className: "mt-1 text-[12px] leading-[1.5] text-muted-foreground", children: "Organize people into groups for shared access." })
@@ -768,14 +769,14 @@ function Ya({
768
769
  onClick: () => h({ kind: "list" }),
769
770
  "aria-label": "Back",
770
771
  className: "-ml-1 flex h-6 w-6 items-center justify-center rounded-[3px] text-muted-foreground hover:bg-accent hover:text-foreground",
771
- children: /* @__PURE__ */ e(nr, { className: "h-3.5 w-3.5" })
772
+ children: /* @__PURE__ */ e(rr, { className: "h-3.5 w-3.5" })
772
773
  }
773
774
  ),
774
775
  /* @__PURE__ */ e(nt, { className: "truncate text-[13px] font-medium", children: "New group" }),
775
776
  /* @__PURE__ */ e(at, { className: "sr-only", children: "Create a new group to organize members." })
776
777
  ] }) : null,
777
778
  l.kind === "list" && /* @__PURE__ */ e(
778
- Xa,
779
+ Ya,
779
780
  {
780
781
  groups: f,
781
782
  isLoading: c,
@@ -848,7 +849,7 @@ function Ya({
848
849
  ] })
849
850
  ] }) });
850
851
  }
851
- function Xa({
852
+ function Ya({
852
853
  groups: t,
853
854
  isLoading: a,
854
855
  errorMessage: n,
@@ -867,7 +868,7 @@ function Xa({
867
868
  return /* @__PURE__ */ o("div", { className: "flex flex-1 flex-col overflow-hidden", children: [
868
869
  /* @__PURE__ */ o("div", { className: "flex shrink-0 items-center gap-2 border-b border-border px-5 py-2.5", children: [
869
870
  /* @__PURE__ */ o("div", { className: "flex flex-1 items-center gap-2 rounded-[5px] border border-border bg-background px-2 focus-within:border-foreground/40", children: [
870
- /* @__PURE__ */ e(xn, { className: "h-3 w-3 text-muted-foreground" }),
871
+ /* @__PURE__ */ e(la, { className: "h-3 w-3 text-muted-foreground" }),
871
872
  /* @__PURE__ */ e(
872
873
  "input",
873
874
  {
@@ -883,7 +884,7 @@ function Xa({
883
884
  type: "button",
884
885
  onClick: () => x(""),
885
886
  className: "flex h-4 w-4 items-center justify-center rounded-[3px] text-muted-foreground hover:bg-accent hover:text-foreground",
886
- children: /* @__PURE__ */ e(Yt, { className: "h-2.5 w-2.5" })
887
+ children: /* @__PURE__ */ e(sr, { className: "h-2.5 w-2.5" })
887
888
  }
888
889
  )
889
890
  ] }),
@@ -894,7 +895,7 @@ function Xa({
894
895
  onClick: f,
895
896
  className: "inline-flex h-7 items-center gap-1.5 rounded-[5px] bg-foreground px-2.5 text-[12px] font-medium text-background hover:opacity-90",
896
897
  children: [
897
- /* @__PURE__ */ e(V, { className: "h-3 w-3" }),
898
+ /* @__PURE__ */ e(j, { className: "h-3 w-3" }),
898
899
  "New group"
899
900
  ]
900
901
  }
@@ -954,7 +955,7 @@ function Za({
954
955
  onClick: n,
955
956
  className: "group flex w-full items-center gap-3 border-b border-border/60 px-5 py-2.5 text-left hover:bg-accent/40",
956
957
  children: [
957
- /* @__PURE__ */ e("div", { className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-[4px] border border-border bg-background text-muted-foreground", children: /* @__PURE__ */ e(ea, { className: "h-3.5 w-3.5" }) }),
958
+ /* @__PURE__ */ e("div", { className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-[4px] border border-border bg-background text-muted-foreground", children: /* @__PURE__ */ e(Zn, { className: "h-3.5 w-3.5" }) }),
958
959
  /* @__PURE__ */ o("div", { className: "min-w-0 flex-1", children: [
959
960
  /* @__PURE__ */ e("div", { className: "truncate text-[13px] font-medium text-foreground", children: t.name }),
960
961
  /* @__PURE__ */ o("div", { className: "mt-0.5 flex items-center gap-2 text-[11px] text-muted-foreground", children: [
@@ -967,7 +968,7 @@ function Za({
967
968
  s && /* @__PURE__ */ o(R, { children: [
968
969
  /* @__PURE__ */ e("span", { className: "text-border", children: "·" }),
969
970
  /* @__PURE__ */ o("span", { className: "inline-flex items-center gap-1", children: [
970
- /* @__PURE__ */ e(sr, { className: "h-2.5 w-2.5" }),
971
+ /* @__PURE__ */ e(ar, { className: "h-2.5 w-2.5" }),
971
972
  s
972
973
  ] })
973
974
  ] }),
@@ -994,7 +995,7 @@ function Za({
994
995
  children: /* @__PURE__ */ e(ut, { className: "h-3 w-3" })
995
996
  }
996
997
  ),
997
- /* @__PURE__ */ e(wn, { className: "h-3.5 w-3.5 text-muted-foreground" })
998
+ /* @__PURE__ */ e(yn, { className: "h-3.5 w-3.5 text-muted-foreground" })
998
999
  ] })
999
1000
  ]
1000
1001
  }
@@ -1002,7 +1003,7 @@ function Za({
1002
1003
  }
1003
1004
  function es({ onCreate: t }) {
1004
1005
  return /* @__PURE__ */ o("div", { className: "flex h-full flex-col items-center justify-center gap-2 py-12 text-center", children: [
1005
- /* @__PURE__ */ e("div", { className: "flex h-9 w-9 items-center justify-center rounded-full border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ e(ar, { className: "h-4 w-4" }) }),
1006
+ /* @__PURE__ */ e("div", { className: "flex h-9 w-9 items-center justify-center rounded-full border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ e(nr, { className: "h-4 w-4" }) }),
1006
1007
  /* @__PURE__ */ e("div", { className: "text-[13px] font-medium text-foreground", children: "No groups yet" }),
1007
1008
  /* @__PURE__ */ e("div", { className: "max-w-[320px] text-[11.5px] leading-[1.55] text-muted-foreground", children: "Groups let you grant shared access to dashboards. Create one and add members." }),
1008
1009
  /* @__PURE__ */ o(
@@ -1012,7 +1013,7 @@ function es({ onCreate: t }) {
1012
1013
  onClick: t,
1013
1014
  className: "mt-1 inline-flex h-7 items-center gap-1.5 rounded-[5px] bg-foreground px-2.5 text-[12px] font-medium text-background hover:opacity-90",
1014
1015
  children: [
1015
- /* @__PURE__ */ e(V, { className: "h-3 w-3" }),
1016
+ /* @__PURE__ */ e(j, { className: "h-3 w-3" }),
1016
1017
  "New group"
1017
1018
  ]
1018
1019
  }
@@ -1035,7 +1036,7 @@ function ts({
1035
1036
  isLoading: p,
1036
1037
  error: l,
1037
1038
  refetch: h
1038
- } = vn(t.id), m = (x == null ? void 0 : x.members) ?? Ja, g = l ? yr(l, "Unable to load members for this group.") : null, i = t.type === "TENANT_GROUP" ? "tenant" : "organization", { users: y } = yn({
1039
+ } = xn(t.id), m = (x == null ? void 0 : x.members) ?? Ja, g = l ? yr(l, "Unable to load members for this group.") : null, i = t.type === "TENANT_GROUP" ? "tenant" : "organization", { users: y } = vn({
1039
1040
  type: i,
1040
1041
  tenantId: t.tenantId || void 0,
1041
1042
  active: !0,
@@ -1043,7 +1044,7 @@ function ts({
1043
1044
  }), N = K(
1044
1045
  () => new Set(m.map((v) => v.userId)),
1045
1046
  [m]
1046
- ), C = Qa(), L = Wa(), k = Va(), [S, re] = w(!1), [W, ne] = w(t.name), [xe, J] = w(!1), [Y, X] = w(t.description || ""), [Z, ve] = w(""), [ye, we] = w(!1), Ne = K(() => {
1047
+ ), C = Qa(), L = Wa(), k = ja(), [S, re] = w(!1), [W, ne] = w(t.name), [xe, J] = w(!1), [X, Y] = w(t.description || ""), [Z, ve] = w(""), [ye, we] = w(!1), Ne = K(() => {
1047
1048
  const v = Z.trim().toLowerCase();
1048
1049
  return y.filter((U) => !N.has(U.id)).filter(
1049
1050
  (U) => !v || (U.name || "").toLowerCase().includes(v) || (U.email || "").toLowerCase().includes(v)
@@ -1059,7 +1060,7 @@ function ts({
1059
1060
  } catch {
1060
1061
  }
1061
1062
  }, B = async () => {
1062
- const v = Y.trim();
1063
+ const v = X.trim();
1063
1064
  if (J(!1), v !== (t.description || ""))
1064
1065
  try {
1065
1066
  await k.mutateAsync({
@@ -1107,7 +1108,7 @@ function ts({
1107
1108
  onClick: u,
1108
1109
  "aria-label": "Back",
1109
1110
  className: "-ml-1 flex h-6 w-6 items-center justify-center rounded-[3px] text-muted-foreground hover:bg-accent hover:text-foreground",
1110
- children: /* @__PURE__ */ e(nr, { className: "h-3.5 w-3.5" })
1111
+ children: /* @__PURE__ */ e(rr, { className: "h-3.5 w-3.5" })
1111
1112
  }
1112
1113
  ),
1113
1114
  S ? /* @__PURE__ */ e(
@@ -1148,11 +1149,11 @@ function ts({
1148
1149
  {
1149
1150
  autoFocus: !0,
1150
1151
  rows: 2,
1151
- value: Y,
1152
- onChange: (v) => X(v.target.value),
1152
+ value: X,
1153
+ onChange: (v) => Y(v.target.value),
1153
1154
  maxLength: 200,
1154
1155
  onKeyDown: (v) => {
1155
- v.key === "Escape" && (X(t.description || ""), J(!1)), v.key === "Enter" && (v.metaKey || v.ctrlKey) && B();
1156
+ v.key === "Escape" && (Y(t.description || ""), J(!1)), v.key === "Enter" && (v.metaKey || v.ctrlKey) && B();
1156
1157
  },
1157
1158
  placeholder: "What is this group for?",
1158
1159
  className: "block w-full resize-none rounded-[5px] border border-border bg-background px-2 py-1.5 text-[12px] text-foreground placeholder:text-muted-foreground focus:border-foreground/40 focus:outline-none"
@@ -1160,7 +1161,7 @@ function ts({
1160
1161
  ),
1161
1162
  /* @__PURE__ */ o("div", { className: "mt-1.5 flex items-center justify-between", children: [
1162
1163
  /* @__PURE__ */ o("span", { className: "text-[10.5px] text-muted-foreground", children: [
1163
- Y.length,
1164
+ X.length,
1164
1165
  "/200 · Esc to cancel · ⌘↩ to save"
1165
1166
  ] }),
1166
1167
  /* @__PURE__ */ o("div", { className: "flex items-center gap-1.5", children: [
@@ -1169,7 +1170,7 @@ function ts({
1169
1170
  {
1170
1171
  type: "button",
1171
1172
  onClick: () => {
1172
- X(t.description || ""), J(!1);
1173
+ Y(t.description || ""), J(!1);
1173
1174
  },
1174
1175
  className: "h-6 rounded-[5px] px-2 text-[11px] font-medium text-foreground/80 hover:bg-accent",
1175
1176
  children: "Cancel"
@@ -1191,7 +1192,7 @@ function ts({
1191
1192
  {
1192
1193
  type: "button",
1193
1194
  onClick: () => {
1194
- n && (X(t.description || ""), J(!0));
1195
+ n && (Y(t.description || ""), J(!0));
1195
1196
  },
1196
1197
  disabled: !n,
1197
1198
  title: n ? "Click to edit description" : void 0,
@@ -1255,7 +1256,7 @@ function ts({
1255
1256
  disabled: !s || L.isPending,
1256
1257
  "aria-label": `Remove ${((A = v.user) == null ? void 0 : A.name) || "member"}`,
1257
1258
  className: "flex h-6 w-6 items-center justify-center rounded-[3px] text-muted-foreground opacity-0 transition-opacity hover:bg-accent hover:text-foreground group-hover:opacity-100 disabled:opacity-30",
1258
- children: /* @__PURE__ */ e(Yt, { className: "h-3 w-3" })
1259
+ children: /* @__PURE__ */ e(sr, { className: "h-3 w-3" })
1259
1260
  }
1260
1261
  )
1261
1262
  ]
@@ -1283,7 +1284,7 @@ function rs({
1283
1284
  onCancel: n,
1284
1285
  onCreated: r
1285
1286
  }) {
1286
- const [s, u] = w(""), [f, c] = w(""), [b, x] = w(null), p = ja(), l = s.trim().length >= 3 && s.trim().length <= 50, h = async () => {
1287
+ const [s, u] = w(""), [f, c] = w(""), [b, x] = w(null), p = Va(), l = s.trim().length >= 3 && s.trim().length <= 50, h = async () => {
1287
1288
  if (!l) return;
1288
1289
  x(null);
1289
1290
  const m = {
@@ -1356,7 +1357,7 @@ function rs({
1356
1357
  /* @__PURE__ */ e(Ge, { className: "h-3 w-3 animate-spin" }),
1357
1358
  "Creating…"
1358
1359
  ] }) : /* @__PURE__ */ o(R, { children: [
1359
- /* @__PURE__ */ e(V, { className: "h-3 w-3" }),
1360
+ /* @__PURE__ */ e(j, { className: "h-3 w-3" }),
1360
1361
  "Create group"
1361
1362
  ] })
1362
1363
  }
@@ -1375,7 +1376,7 @@ function ns({
1375
1376
  busy: c
1376
1377
  }) {
1377
1378
  const b = zt(null), x = zt(null), [p, l] = w(null);
1378
- Yn(() => {
1379
+ Jn(() => {
1379
1380
  if (!n) {
1380
1381
  l(null);
1381
1382
  return;
@@ -1428,7 +1429,7 @@ function ns({
1428
1429
  ]
1429
1430
  }
1430
1431
  ),
1431
- h && typeof document < "u" && Zn(
1432
+ h && typeof document < "u" && Yn(
1432
1433
  /* @__PURE__ */ e(
1433
1434
  "div",
1434
1435
  {
@@ -1608,21 +1609,21 @@ function Qt(t, a) {
1608
1609
  semanticExecutionPayload: st(a)
1609
1610
  };
1610
1611
  }
1611
- function Ss() {
1612
+ function Ds() {
1612
1613
  var kt, Et, Lt, At, It, Mt, Pt;
1613
- ta(), ra();
1614
+ ea(), ta();
1614
1615
  const {
1615
1616
  authToken: t,
1616
1617
  tokenProps: a,
1617
1618
  id: n,
1618
1619
  showBriefings: r
1619
- } = G(), { isLocalDev: s } = Nn(), { openBrandStudioPreview: u } = Sn(), { permissions: f } = Ia(), c = Dn(), { isLoading: b } = Cn(), x = D((d) => d.theme), p = D((d) => d.isDownloadingPdf), l = D(
1620
+ } = G(), { isLocalDev: s } = wn(), { openBrandStudioPreview: u } = Nn(), { permissions: f } = Ia(), c = Sn(), { isLoading: b } = Dn(), x = D((d) => d.theme), p = D((d) => d.isDownloadingPdf), l = D(
1620
1621
  (d) => d.dashboardAssistantDraftScopeKey
1621
1622
  ), h = D((d) => d.lenses), m = D((d) => d.selectedLensId), g = h == null ? void 0 : h.find((d) => d.id === m), i = D((d) => d.dashboard), y = D((d) => d.selectedSheetId), N = (kt = i == null ? void 0 : i.sheets) == null ? void 0 : kt.find(
1622
1623
  (d) => d.id === y
1623
1624
  ), C = Jr(N), L = C ? (Et = N == null ? void 0 : N.document) == null ? void 0 : Et.page : void 0, k = D(
1624
1625
  (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, q] = w(!1), [De, ae] = w(!1), Ce = D((d) => d.filterValues), A = D((d) => d.isVisualEditing);
1626
+ ), { setDashboardTitle: S } = D((d) => d.actions), [re, W] = w(!1), [ne, xe] = w(!1), [J, X] = w(!1), [Y, 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
1627
  _t((d) => d.card);
1627
1628
  const se = Te(
1628
1629
  (d) => d.selectedDashboard
@@ -1637,10 +1638,10 @@ function Ss() {
1637
1638
  setShowDashboardJSON: gt
1638
1639
  } = D((d) => d.actions), { setInitialDashboard: bt, clearSelectedDashboard: qe } = Te(
1639
1640
  (d) => d.actions
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
+ ), oe = !!a.orgUserId || !!(a.tenantId && a.endUserId && a.endUserEmail), { resources: Le } = Cn(Ye.DASHBOARD), { data: He } = kn(), Sr = ((It = He == null ? void 0 : He.preference) == null ? void 0 : It.defaultDashboardId) || null, { mutate: Dr, isPending: Cr } = En(), { currentUser: kr } = lt(), Er = Ln(kr), F = se || ke, xt = F ? {
1641
1642
  id: F.id,
1642
1643
  title: (i == null ? void 0 : i.title) || F.title || "Dashboard"
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) => {
1644
+ } : null, { handleAddNewFrame: Lr } = An(), [Ve, je] = w(!1), [Ar, ie] = w(!1), [Ke, Ae] = w("close"), de = In(Ye.DASHBOARD), [_, Ie] = w(null), Ir = async (d, M) => {
1644
1645
  if (!(i != null && i.id)) {
1645
1646
  console.log("No dashboard ID found");
1646
1647
  return;
@@ -1726,7 +1727,7 @@ function Ss() {
1726
1727
  300,
1727
1728
  1e3,
1728
1729
  Ze
1729
- ), St = Xn(() => Me ? Ze(i) !== Ze(Me) : !1, [i, Me]), Dt = Nt || Pr, Oe = je || de.isPending, Or = () => {
1730
+ ), St = Xn(() => Me ? Ze(i) !== Ze(Me) : !1, [i, Me]), Dt = Nt || Pr, Oe = Ve || de.isPending, Or = () => {
1730
1731
  St() ? (Ae("close"), ie(!0)) : (We(), Pe());
1731
1732
  }, _r = async () => {
1732
1733
  await Je({
@@ -1758,26 +1759,26 @@ function Ss() {
1758
1759
  const $ = (d == null ? void 0 : d.closeAfterSave) ?? U, qr = (d == null ? void 0 : d.navigateHomeAfterSave) ?? !1;
1759
1760
  q($), $ && ie(!1);
1760
1761
  const Hr = st(M);
1761
- B(!0), te(null), v([]), Ve(!0);
1762
- const jr = {
1762
+ B(!0), te(null), v([]), je(!0);
1763
+ const Vr = {
1763
1764
  template: M
1764
1765
  };
1765
1766
  de.mutate(
1766
1767
  {
1767
1768
  resourceId: M.id,
1768
- data: jr
1769
+ data: Vr
1769
1770
  },
1770
1771
  {
1771
1772
  onSuccess: (P) => {
1772
1773
  var _e, Re, Ot;
1773
- const j = (P == null ? void 0 : P.id) || ((_e = P == null ? void 0 : P.dashboard) == null ? void 0 : _e.id) || ((Re = P == null ? void 0 : P.resource) == null ? void 0 : Re.id) || ((Ot = P == null ? void 0 : P.template) == null ? void 0 : Ot.id) || null;
1774
- if (!M.id && j) {
1775
- const Ye = nn.getState(), Ue = Ye.pendingDashboardDraftMigration;
1776
- (Ue == null ? void 0 : Ue.scopeKey) === l ? Ye.actions.setPendingDashboardDraftMigrationExpectedDashboardId(
1777
- j
1778
- ) : Ue && Ye.actions.clearPendingDashboardDraftMigration();
1774
+ const V = (P == null ? void 0 : P.id) || ((_e = P == null ? void 0 : P.dashboard) == null ? void 0 : _e.id) || ((Re = P == null ? void 0 : P.resource) == null ? void 0 : Re.id) || ((Ot = P == null ? void 0 : P.template) == null ? void 0 : Ot.id) || null;
1775
+ if (!M.id && V) {
1776
+ const Xe = nn.getState(), Ue = Xe.pendingDashboardDraftMigration;
1777
+ (Ue == null ? void 0 : Ue.scopeKey) === l ? Xe.actions.setPendingDashboardDraftMigrationExpectedDashboardId(
1778
+ V
1779
+ ) : Ue && Xe.actions.clearPendingDashboardDraftMigration();
1779
1780
  }
1780
- Ve(!1), E.success("Dashboard saved!"), Ie(
1781
+ je(!1), E.success("Dashboard saved!"), Ie(
1781
1782
  Qt(
1782
1783
  Hr,
1783
1784
  D.getState().semanticExecutionPayload
@@ -1785,10 +1786,10 @@ function Ss() {
1785
1786
  ), B(!1), q(!1), $ && (We(), Pe(), qr && oe && qe()), Ae("close");
1786
1787
  },
1787
1788
  onError: (P) => {
1788
- Ve(!1), te("Failed to save dashboard. Please try again.");
1789
- const j = P.details, _e = Array.isArray(
1790
- j == null ? void 0 : j.errors
1791
- ) ? (j.errors || []).filter(
1789
+ je(!1), te("Failed to save dashboard. Please try again.");
1790
+ const V = P.details, _e = Array.isArray(
1791
+ V == null ? void 0 : V.errors
1792
+ ) ? (V.errors || []).filter(
1792
1793
  (Re) => typeof Re == "string"
1793
1794
  ) : [];
1794
1795
  v(
@@ -1849,7 +1850,7 @@ function Ss() {
1849
1850
  onClick: Tr,
1850
1851
  className: "h-7 w-7 px-0",
1851
1852
  buttonProps: { size: "xs" },
1852
- children: /* @__PURE__ */ e(tr, { className: "h-3.5 w-3.5" })
1853
+ children: /* @__PURE__ */ e(er, { className: "h-3.5 w-3.5" })
1853
1854
  }
1854
1855
  ),
1855
1856
  !A && c && (b ? /* @__PURE__ */ e(
@@ -1862,7 +1863,7 @@ function Ss() {
1862
1863
  }
1863
1864
  ) : /* @__PURE__ */ o(R, { children: [
1864
1865
  /* @__PURE__ */ e(
1865
- Pn,
1866
+ Mn,
1866
1867
  {
1867
1868
  value: Ct || "Untitled Dashboard",
1868
1869
  onSave: (d) => {
@@ -1889,7 +1890,7 @@ function Ss() {
1889
1890
  children: "Default"
1890
1891
  }
1891
1892
  ),
1892
- $r && H && /* @__PURE__ */ e(Yr, { children: /* @__PURE__ */ o(Xr, { children: [
1893
+ $r && H && /* @__PURE__ */ e(Xr, { children: /* @__PURE__ */ o(Yr, { children: [
1893
1894
  /* @__PURE__ */ e(Zr, { asChild: !0, children: /* @__PURE__ */ e(
1894
1895
  O,
1895
1896
  {
@@ -1899,7 +1900,7 @@ function Ss() {
1899
1900
  disabled: Cr || !(t != null && t.accessToken) || !(a != null && a.apiServiceUrl),
1900
1901
  className: "w-7 px-0 text-muted-foreground hover:text-foreground",
1901
1902
  "aria-label": le ? "Clear default dashboard" : "Set as default dashboard",
1902
- children: le ? /* @__PURE__ */ e(On, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ e(_n, { className: "h-3.5 w-3.5" })
1903
+ children: le ? /* @__PURE__ */ e(Pn, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ e(On, { className: "h-3.5 w-3.5" })
1903
1904
  }
1904
1905
  ) }),
1905
1906
  /* @__PURE__ */ e(en, { children: /* @__PURE__ */ e("p", { children: le ? "Clear default" : "Set as default" }) })
@@ -1908,8 +1909,8 @@ function Ss() {
1908
1909
  ] }),
1909
1910
  /* @__PURE__ */ o("div", { className: "flex items-center gap-2", children: [
1910
1911
  A && /* @__PURE__ */ o(R, { children: [
1911
- /* @__PURE__ */ e(na, {}),
1912
- /* @__PURE__ */ e(aa, {})
1912
+ /* @__PURE__ */ e(ra, {}),
1913
+ /* @__PURE__ */ e(na, {})
1913
1914
  ] }),
1914
1915
  !A && c && ((Pt = F == null ? void 0 : F.permissions) == null ? void 0 : Pt.canShare) && /* @__PURE__ */ o(
1915
1916
  O,
@@ -1918,19 +1919,19 @@ function Ss() {
1918
1919
  size: "xs",
1919
1920
  onClick: () => xe(!0),
1920
1921
  children: [
1921
- /* @__PURE__ */ e(Rn, { className: "h-3.5 w-3.5" }),
1922
+ /* @__PURE__ */ e(_n, { className: "h-3.5 w-3.5" }),
1922
1923
  "Share"
1923
1924
  ]
1924
1925
  }
1925
1926
  ),
1926
1927
  !A && !k && c && H && Br && /* @__PURE__ */ e(
1927
- sa,
1928
+ aa,
1928
1929
  {
1929
1930
  dashboardId: H,
1930
1931
  dashboardTitle: (i == null ? void 0 : i.title) || (F == null ? void 0 : F.title)
1931
1932
  }
1932
1933
  ),
1933
- !A && k && f.canUseFilters && c && /* @__PURE__ */ e(oa, {}),
1934
+ !A && k && f.canUseFilters && c && /* @__PURE__ */ e(sa, {}),
1934
1935
  k && !A && ce && g && s && c && /* @__PURE__ */ o(
1935
1936
  O,
1936
1937
  {
@@ -1954,7 +1955,7 @@ function Ss() {
1954
1955
  onClick: () => void Lr(),
1955
1956
  className: "h-full rounded-none border-0 shadow-none hover:bg-accent",
1956
1957
  children: [
1957
- /* @__PURE__ */ e(V, { className: "h-3.5 w-3.5" }),
1958
+ /* @__PURE__ */ e(j, { className: "h-3.5 w-3.5" }),
1958
1959
  "Visual"
1959
1960
  ]
1960
1961
  }
@@ -1977,14 +1978,14 @@ function Ss() {
1977
1978
  align: "end",
1978
1979
  className: "z-[60] w-48 rounded-[6px] border-border/60 p-1 shadow-sm",
1979
1980
  children: /* @__PURE__ */ o(T, { onClick: () => ae(!0), children: [
1980
- /* @__PURE__ */ e(V, { className: "h-3.5 w-3.5" }),
1981
+ /* @__PURE__ */ e(j, { className: "h-3.5 w-3.5" }),
1981
1982
  "From library..."
1982
1983
  ] })
1983
1984
  }
1984
1985
  )
1985
1986
  ] }),
1986
1987
  /* @__PURE__ */ e(
1987
- ia,
1988
+ oa,
1988
1989
  {
1989
1990
  open: De,
1990
1991
  onOpenChange: ae
@@ -1992,7 +1993,7 @@ function Ss() {
1992
1993
  )
1993
1994
  ] }),
1994
1995
  !A && !k && Ee && c && /* @__PURE__ */ o(O, { size: "xs", onClick: Mr, children: [
1995
- /* @__PURE__ */ e(Un, { className: "h-3.5 w-3.5" }),
1996
+ /* @__PURE__ */ e(Rn, { className: "h-3.5 w-3.5" }),
1996
1997
  "Edit"
1997
1998
  ] }),
1998
1999
  vt && c && Nt && /* @__PURE__ */ o(
@@ -2003,7 +2004,7 @@ function Ss() {
2003
2004
  onClick: Ur,
2004
2005
  disabled: Oe,
2005
2006
  children: [
2006
- /* @__PURE__ */ e(da, { className: "h-3.5 w-3.5" }),
2007
+ /* @__PURE__ */ e(ia, { className: "h-3.5 w-3.5" }),
2007
2008
  "Undo"
2008
2009
  ]
2009
2010
  }
@@ -2022,10 +2023,10 @@ function Ss() {
2022
2023
  }
2023
2024
  ),
2024
2025
  k && !A && c && /* @__PURE__ */ o(O, { variant: "outline", size: "xs", onClick: Or, children: [
2025
- /* @__PURE__ */ e(rr, { className: "h-3.5 w-3.5" }),
2026
+ /* @__PURE__ */ e(tr, { className: "h-3.5 w-3.5" }),
2026
2027
  "Close"
2027
2028
  ] }),
2028
- !A && c && /* @__PURE__ */ e("div", { className: "ml-2", children: /* @__PURE__ */ e(ca, {}) }),
2029
+ !A && c && /* @__PURE__ */ e("div", { className: "ml-2", children: /* @__PURE__ */ e(da, {}) }),
2029
2030
  !A && s && /* @__PURE__ */ e(Da, {}),
2030
2031
  !A && c && /* @__PURE__ */ o(Tt, { children: [
2031
2032
  /* @__PURE__ */ e(Ft, { asChild: !0, children: /* @__PURE__ */ e(
@@ -2038,7 +2039,7 @@ function Ss() {
2038
2039
  variant: "ghost",
2039
2040
  "aria-label": "More dashboard options"
2040
2041
  },
2041
- children: /* @__PURE__ */ e(Tn, { className: "h-3.5 w-3.5" })
2042
+ children: /* @__PURE__ */ e(Un, { className: "h-3.5 w-3.5" })
2042
2043
  }
2043
2044
  ) }),
2044
2045
  /* @__PURE__ */ o(
@@ -2054,7 +2055,7 @@ function Ss() {
2054
2055
  disabled: p,
2055
2056
  onSelect: () => Ne(!0),
2056
2057
  children: [
2057
- /* @__PURE__ */ e(Fn, { className: "h-3.5 w-3.5" }),
2058
+ /* @__PURE__ */ e(Tn, { className: "h-3.5 w-3.5" }),
2058
2059
  "Export"
2059
2060
  ]
2060
2061
  }
@@ -2065,9 +2066,9 @@ function Ss() {
2065
2066
  /* @__PURE__ */ o(
2066
2067
  T,
2067
2068
  {
2068
- onClick: () => Y(!0),
2069
+ onClick: () => X(!0),
2069
2070
  children: [
2070
- /* @__PURE__ */ e(ar, { className: "h-3.5 w-3.5" }),
2071
+ /* @__PURE__ */ e(nr, { className: "h-3.5 w-3.5" }),
2071
2072
  "Manage Groups"
2072
2073
  ]
2073
2074
  }
@@ -2076,7 +2077,7 @@ function Ss() {
2076
2077
  ] }),
2077
2078
  /* @__PURE__ */ e(pe, { children: "Preferences" }),
2078
2079
  /* @__PURE__ */ o(T, { onClick: () => Z(!0), children: [
2079
- /* @__PURE__ */ e(sr, { className: "h-3.5 w-3.5" }),
2080
+ /* @__PURE__ */ e(ar, { className: "h-3.5 w-3.5" }),
2080
2081
  "Calendar Preferences"
2081
2082
  ] }),
2082
2083
  s && c && /* @__PURE__ */ o(R, { children: [
@@ -2150,15 +2151,15 @@ function Ss() {
2150
2151
  }
2151
2152
  ),
2152
2153
  ce && k && /* @__PURE__ */ o(T, { onSelect: () => ye(!0), children: [
2153
- /* @__PURE__ */ e(V, { className: "h-3.5 w-3.5" }),
2154
+ /* @__PURE__ */ e(j, { className: "h-3.5 w-3.5" }),
2154
2155
  "Add lens"
2155
2156
  ] }),
2156
- ce && /* @__PURE__ */ o($n, { children: [
2157
- /* @__PURE__ */ o(Gn, { children: [
2157
+ ce && /* @__PURE__ */ o(Fn, { children: [
2158
+ /* @__PURE__ */ o($n, { children: [
2158
2159
  /* @__PURE__ */ e(fa, { className: "h-3.5 w-3.5" }),
2159
2160
  "Lenses"
2160
2161
  ] }),
2161
- /* @__PURE__ */ e(Bn, { className: "w-60", children: /* @__PURE__ */ e(Aa, {}) })
2162
+ /* @__PURE__ */ e(Gn, { className: "w-60", children: /* @__PURE__ */ e(Aa, {}) })
2162
2163
  ] })
2163
2164
  ] })
2164
2165
  ]
@@ -2166,54 +2167,54 @@ function Ss() {
2166
2167
  )
2167
2168
  ] }),
2168
2169
  ne && xt && /* @__PURE__ */ e(
2169
- zn,
2170
+ Bn,
2170
2171
  {
2171
2172
  resource: xt,
2172
- resourceType: Xe.DASHBOARD,
2173
+ resourceType: Ye.DASHBOARD,
2173
2174
  onClose: () => xe(!1)
2174
2175
  }
2175
2176
  ),
2176
2177
  /* @__PURE__ */ e(
2177
- Ya,
2178
+ Xa,
2178
2179
  {
2179
2180
  open: J,
2180
- onOpenChange: Y
2181
+ onOpenChange: X
2181
2182
  }
2182
2183
  ),
2183
2184
  /* @__PURE__ */ e(
2184
2185
  ua,
2185
2186
  {
2186
- open: X,
2187
+ open: Y,
2187
2188
  onOpenChange: Z
2188
2189
  }
2189
2190
  ),
2190
2191
  s && ce && c && /* @__PURE__ */ e(La, { open: ve, onOpenChange: ye }),
2191
2192
  c && /* @__PURE__ */ e(
2192
- qn,
2193
+ zn,
2193
2194
  {
2194
2195
  open: we,
2195
2196
  onOpenChange: Ne
2196
2197
  }
2197
2198
  ),
2198
2199
  /* @__PURE__ */ e(
2199
- Hn,
2200
+ qn,
2200
2201
  {
2201
2202
  open: Se,
2202
2203
  onOpenChange: (d) => {
2203
- !d && je && !ee || (B(d), d || (te(null), v([]), q(!1)));
2204
+ !d && Ve && !ee || (B(d), d || (te(null), v([]), q(!1)));
2204
2205
  },
2205
- children: /* @__PURE__ */ o(jn, { className: "max-w-sm", children: [
2206
+ children: /* @__PURE__ */ o(Hn, { className: "max-w-sm", children: [
2206
2207
  /* @__PURE__ */ o(Vn, { children: [
2207
- /* @__PURE__ */ e(Kn, { children: ee ? "Save failed" : "Saving dashboard" }),
2208
- /* @__PURE__ */ e(Qn, { className: "pt-2", children: ee ? "We could not save the dashboard. Please try again." : "Please wait while we save your changes." }),
2208
+ /* @__PURE__ */ e(jn, { children: ee ? "Save failed" : "Saving dashboard" }),
2209
+ /* @__PURE__ */ e(Kn, { className: "pt-2", children: ee ? "We could not save the dashboard. Please try again." : "Please wait while we save your changes." }),
2209
2210
  z.length > 0 && /* @__PURE__ */ o("div", { className: "space-y-1 rounded-md border border-destructive/20 bg-destructive/5 p-3 text-left", children: [
2210
2211
  /* @__PURE__ */ e("div", { className: "text-sm font-medium text-destructive", children: "What needs attention" }),
2211
2212
  /* @__PURE__ */ e("ul", { className: "list-disc space-y-1 pl-4 text-xs text-muted-foreground", children: z.slice(0, 5).map((d) => /* @__PURE__ */ e("li", { children: d }, d)) })
2212
2213
  ] })
2213
2214
  ] }),
2214
- /* @__PURE__ */ e(Wn, { className: "flex-col gap-2 sm:flex-row sm:justify-end", children: ee ? /* @__PURE__ */ o(R, { children: [
2215
+ /* @__PURE__ */ e(Qn, { className: "flex-col gap-2 sm:flex-row sm:justify-end", children: ee ? /* @__PURE__ */ o(R, { children: [
2215
2216
  /* @__PURE__ */ e(
2216
- Jn,
2217
+ Wn,
2217
2218
  {
2218
2219
  onClick: () => {
2219
2220
  B(!1), te(null), v([]), q(!1);
@@ -2241,7 +2242,7 @@ function Ss() {
2241
2242
  }
2242
2243
  ),
2243
2244
  /* @__PURE__ */ e(
2244
- la,
2245
+ ca,
2245
2246
  {
2246
2247
  open: Ar,
2247
2248
  onOpenChange: (d) => {
@@ -2249,7 +2250,7 @@ function Ss() {
2249
2250
  },
2250
2251
  onSave: _r,
2251
2252
  onDiscard: Rr,
2252
- isSaving: je,
2253
+ isSaving: Ve,
2253
2254
  saveLabel: "Save",
2254
2255
  discardLabel: "Discard"
2255
2256
  }
@@ -2275,5 +2276,5 @@ function os({
2275
2276
  return c.searchParams.set("pdfMode", "document"), c.searchParams.set("pageSize", r || "letter"), c.searchParams.set("orientation", s || "portrait"), c.searchParams.set("url", f.toString()), c.toString();
2276
2277
  }
2277
2278
  export {
2278
- Ss as default
2279
+ Ds as default
2279
2280
  };