react-semaphor 0.1.558 → 0.1.560

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 (139) hide show
  1. package/dist/analytics-protocol/index.js +368 -358
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/assistant-protocol/index.js +5 -5
  4. package/dist/brand-studio/index.js +9 -9
  5. package/dist/briefings/index.js +5 -5
  6. package/dist/chunks/analytics-base-schemas-CHLxsPfX.js +630 -0
  7. package/dist/chunks/{assistant-chat-BCWoP6Rf.js → assistant-chat-Bu2fFm_I.js} +206 -207
  8. package/dist/chunks/{bookmark-state-PjQpxbG7.js → bookmark-state-BFY9oNmr.js} +3 -3
  9. package/dist/chunks/{braces-D5Ucy7q1.js → braces-Da41xfUd.js} +1 -1
  10. package/dist/chunks/{comparison-window-caption-Dc7BaCMz.js → comparison-window-caption-4FNkMrzE.js} +213 -213
  11. package/dist/chunks/{context-DVy4HOU0.js → context-BgPDzLHZ.js} +1 -1
  12. package/dist/chunks/{custom-visual-inputs-B-DLRGrV.js → custom-visual-inputs-Dz-enUNR.js} +1 -1
  13. package/dist/chunks/{dashboard-wK6Bai4V.js → dashboard-_MeBuy67.js} +1 -1
  14. package/dist/chunks/{dashboard-briefing-launcher-Coqghdn6.js → dashboard-briefing-launcher-CEi4Pr_v.js} +1152 -1166
  15. package/dist/chunks/{dashboard-controls-BYWSM2RM.js → dashboard-controls-Bi7fyG-4.js} +98 -98
  16. package/dist/chunks/{dashboard-json-pPTB5gj0.js → dashboard-json-B1mU_OMa.js} +5 -5
  17. package/dist/chunks/{document-dashboard-inputs-PY_7Xm55.js → document-dashboard-inputs-CkWfDB8c.js} +64 -64
  18. package/dist/chunks/{edit-dashboard-visual-BODxuUeq.js → edit-dashboard-visual-0CJN31Y3.js} +8274 -8514
  19. package/dist/chunks/filter-reach-copy-BF4w4kI2.js +3738 -0
  20. package/dist/chunks/{filter-value-text-CUBpotVN.js → filter-value-text-CRC-K_l_.js} +3 -3
  21. package/dist/chunks/{global-date-filter-utils-BsFqnnbA.js → global-date-filter-utils-D8365uPH.js} +4088 -3416
  22. package/dist/chunks/{index-DP_wQl0v.js → index-DtHidOPV.js} +579 -604
  23. package/dist/chunks/{layout-grid-CkoXmv0L.js → layout-grid-BvsH4RY2.js} +1 -1
  24. package/dist/chunks/{list-filter-B4i25kuc.js → list-filter-Dg0otx5E.js} +1 -1
  25. package/dist/chunks/{matrix-analytical-definition-4GTUDheD.js → matrix-analytical-definition-CM18W8w6.js} +41 -41
  26. package/dist/chunks/{matrix-card-fS_4O7zA.js → matrix-card-HPskLaPy.js} +3 -3
  27. package/dist/chunks/{matrix-member-presentation-Dj7HaAHC.js → matrix-member-presentation-Bbrfrke4.js} +1 -1
  28. package/dist/chunks/{matrix-operation-contract-CpgLZ7E5.js → matrix-operation-contract-WPv4R-H_.js} +130 -130
  29. package/dist/chunks/{metric-comparison-C8LY7GG5.js → metric-comparison-ljMKYZKa.js} +2 -2
  30. package/dist/chunks/{model-change-CJEj3ZD6.js → model-change-Ccn1zaxl.js} +1 -1
  31. package/dist/chunks/{palette-stlpjVk4.js → palette-Bsh376zO.js} +1 -1
  32. package/dist/chunks/{pivot-result-contract-expectations-DMk-mKhG.js → pivot-result-contract-expectations-Bl5suy4-.js} +602 -696
  33. package/dist/chunks/{pivot-result-identity-CrQ54Xbj.js → pivot-result-identity-vS9TSh4f.js} +1 -1
  34. package/dist/chunks/{raw-temporal-presentation-BI2z2LlB.js → raw-temporal-presentation-BHm7s-hz.js} +230 -274
  35. package/dist/chunks/{report-preferences-dialog-Dc-YyVwf.js → report-preferences-dialog-BV8L0SeS.js} +55 -55
  36. package/dist/chunks/{report-runtime-context-CohdtiMg.js → report-runtime-context-BZQh9ywy.js} +2 -2
  37. package/dist/chunks/{resolve-dashboard-input-context-BZYI1hB0.js → resolve-dashboard-input-context-CAMiWvyR.js} +2021 -2239
  38. package/dist/chunks/{save-C1dgxgAu.js → save-B5EAsgQF.js} +1 -1
  39. package/dist/chunks/{saved-dashboard-context-CIBoMq46.js → saved-dashboard-context-n2Wn11cV.js} +57 -57
  40. package/dist/chunks/{selection-reducer-_d6aKJnj.js → selection-reducer-D0YnaAD9.js} +1 -1
  41. package/dist/chunks/{semaphor-ready-indicator-ERTLU7B4.js → semaphor-ready-indicator-XLBLOJ2V.js} +38446 -39176
  42. package/dist/chunks/{shelf-drop-preview-context-fEnx6iL_.js → shelf-drop-preview-context-DHMa54a-.js} +570 -570
  43. package/dist/chunks/source-entity-resolution-dUG5VWRm.js +607 -0
  44. package/dist/chunks/{switch-BqUan2mN.js → switch-ByxH4M7t.js} +3 -3
  45. package/dist/chunks/{table-export-sheet-CTCTA_bd.js → table-export-sheet-C_GdeTYU.js} +1 -1
  46. package/dist/chunks/{table-settings-DF1gdVQR.js → table-settings-Imz0FgWi.js} +8 -8
  47. package/dist/chunks/{temporal-input-presentation-DoSniQj1.js → temporal-input-presentation-uvNK_tM0.js} +1109 -820
  48. package/dist/chunks/{token-types-DFyLflLY.js → token-types-CQtXUVMy.js} +1 -1
  49. package/dist/chunks/{upload-DcoyjkRV.js → upload-wbR-NVzq.js} +1 -1
  50. package/dist/chunks/{use-create-flow-overlay-state-xhb9YFg-.js → use-create-flow-overlay-state-CEBaLOKC.js} +6 -6
  51. package/dist/chunks/validators-CXTneCA4.js +3453 -0
  52. package/dist/chunks/{zoned-wall-clock-E35Frf9v.js → zoned-wall-clock-B1n_WjW3.js} +1 -1
  53. package/dist/dashboard/index.js +2 -2
  54. package/dist/dashboard-authoring/index.js +2207 -1496
  55. package/dist/data-app-sdk/index.js +20 -20
  56. package/dist/data-app-sdk-adapters/index.js +3 -3
  57. package/dist/data-app-sdk-validation/index.js +6 -6
  58. package/dist/format-utils/index.js +181 -176
  59. package/dist/index.js +22 -22
  60. package/dist/report-runtime-context/index.js +2 -2
  61. package/dist/style.css +1 -1
  62. package/dist/surfboard/index.js +2 -2
  63. package/dist/types/components/editor/editor-aside/utils.d.ts +1 -1
  64. package/dist/types/components/visual/data-table/types/data-table.d.ts +5 -20
  65. package/dist/types/index.js +6 -6
  66. package/dist/types/lib/formatters/canonical-format-adapter.d.ts +2 -29
  67. package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +0 -2
  68. package/dist/types/lib/formatters/table-column-settings.d.ts +47 -0
  69. package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +10 -188
  70. package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +1 -1
  71. package/dist/types/lib/matrix-table/matrix-delivery.d.ts +16 -372
  72. package/dist/types/lib/stores/dashboard-store.d.ts +0 -1
  73. package/dist/types/lib/stores/editor-store.d.ts +39 -9
  74. package/dist/types/lib/stores/table-actions.d.ts +9 -3
  75. package/dist/types/lib/table-formatting/index.d.ts +0 -2
  76. package/dist/types/lib/table-formatting/table-conditional-formatting-range-source.d.ts +3 -2
  77. package/dist/types/lib/table-formatting/table-conditional-formatting-range.d.ts +3 -2
  78. package/dist/types/lib/table-formatting/table-formatting-normalize.d.ts +1 -2
  79. package/dist/types/lib/table-formatting/table-formatting-render-model.d.ts +9 -0
  80. package/dist/types/lib/table-formatting/table-formatting-types.d.ts +5 -95
  81. package/dist/types/lib/table-formatting/table-presentation-fields.d.ts +35 -0
  82. package/dist/types/lib/types/common-types.d.ts +40 -47
  83. package/dist/types/lib/types/explorer-types.d.ts +13 -44
  84. package/dist/types/lib/utils/card-config-utils.d.ts +9 -1
  85. package/dist/types/lib/utils/card-definition.d.ts +9 -187
  86. package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +159 -513
  87. package/dist/types/shared/analytics-protocol/contracts.d.ts +32 -9
  88. package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +108 -980
  89. package/dist/types/shared/analytics-protocol/field-validation.d.ts +1 -0
  90. package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +281 -4624
  91. package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +20 -20
  92. package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +18 -18
  93. package/dist/types/shared/analytics-protocol/matrix-path-contract.d.ts +40 -40
  94. package/dist/types/shared/analytics-protocol/matrix-window-contract.d.ts +3 -203
  95. package/dist/types/shared/analytics-protocol/scalar-value.d.ts +8 -8
  96. package/dist/types/shared/analytics-protocol/source-capabilities.d.ts +21 -0
  97. package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +8 -0
  98. package/dist/types/shared/assistant-protocol/context.d.ts +69 -69
  99. package/dist/types/shared/dashboard-authoring/canonical-result-keys.d.ts +13 -0
  100. package/dist/types/shared/dashboard-authoring/card-export-request.d.ts +4 -1
  101. package/dist/types/shared/dashboard-authoring/card-formats/sql-date-pattern.d.ts +10 -0
  102. package/dist/types/shared/dashboard-authoring/card-formats/upgrade-card-formats.d.ts +57 -0
  103. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +24 -24
  104. package/dist/types/shared/dashboard-authoring/conditional-formatting/editable.d.ts +14 -0
  105. package/dist/types/shared/dashboard-authoring/conditional-formatting/evaluate.d.ts +16 -0
  106. package/dist/types/shared/dashboard-authoring/conditional-formatting/index.d.ts +9 -0
  107. package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +14 -0
  108. package/dist/types/shared/dashboard-authoring/conditional-formatting/resolve-card-column-ref.d.ts +17 -0
  109. package/dist/types/shared/dashboard-authoring/conditional-formatting/retain.d.ts +14 -0
  110. package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +4499 -0
  111. package/dist/types/shared/dashboard-authoring/conditional-formatting/store.d.ts +12 -0
  112. package/dist/types/shared/dashboard-authoring/conditional-formatting/types.d.ts +151 -0
  113. package/dist/types/shared/dashboard-authoring/conditional-formatting/upgrade.d.ts +35 -0
  114. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +62 -62
  115. package/dist/types/shared/dashboard-authoring/dashboard-card-source-index.d.ts +2 -0
  116. package/dist/types/shared/dashboard-authoring/index.d.ts +5 -0
  117. package/dist/types/shared/dashboard-authoring/legacy-table-routing.d.ts +4 -2
  118. package/dist/types/shared/dashboard-authoring/matrix-authoring.d.ts +4 -5
  119. package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +24 -736
  120. package/dist/types/shared/dashboard-authoring/retired-presentation-fields.d.ts +31 -0
  121. package/dist/types/shared/dashboard-authoring/upgrade-card-presentation.d.ts +14 -0
  122. package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +5 -1
  123. package/dist/types/shared/format-utils/formatters/number-formatter.d.ts +16 -0
  124. package/dist/types/shared/format-utils/index.d.ts +2 -0
  125. package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +10 -366
  126. package/dist/types/shared/format-utils/raw-temporal.d.ts +15 -1
  127. package/dist/types/shared/format-utils/resolve-column-format.d.ts +43 -0
  128. package/dist/types/shared/format-utils/retired-format-adapters.d.ts +68 -0
  129. package/dist/types/shared/format-utils/semantic-format.d.ts +5 -1
  130. package/dist/types/shared/format-utils/stored-value-format.d.ts +16 -0
  131. package/dist/types/shared/format-utils/types/format-types.d.ts +10 -12
  132. package/package.json +1 -1
  133. package/dist/chunks/analytics-base-schemas-BUFUoO6G.js +0 -472
  134. package/dist/chunks/editor-draft-sync-BN5qYHPF.js +0 -15
  135. package/dist/chunks/filter-reach-copy-BvJH9JO-.js +0 -3411
  136. package/dist/chunks/source-entity-resolution-DXW1HpKf.js +0 -816
  137. package/dist/chunks/validators-hmfNNQz8.js +0 -3595
  138. package/dist/types/lib/table-formatting/table-conditional-formatting-evaluator.d.ts +0 -9
  139. package/dist/types/lib/table-formatting/table-formatting-validation.d.ts +0 -12
@@ -1,29 +1,29 @@
1
1
  import { jsx as e, jsxs as o, Fragment as $ } from "react/jsx-runtime";
2
- import { bN as $r, u as C, bO as Br, bP as Fr, bQ as st, bR as Gr, bS as jr, bT as Vr, bU as Hr, bV as qr, bW as zr, b6 as J, b4 as ve, bX as ye, bH as D, bY as Kr, bI as Gt, bJ as jt, bL as et, bM as tt, bZ as Vt, aS as ot, bB as Qr, a$ as re, b_ as Wr, b$ as Yr, c0 as Ht, c1 as Jr, c2 as qt, aR as Xr, bK as Zr, c3 as ea, c4 as _, c5 as ta, c6 as ra, c7 as aa, aC as na, c8 as sa, bt as oa, c9 as ia, bu as da, j as ca, W as la, a6 as Ct, i as Pe, p as ua, k as Je, ca as ma, cb as ha, Q as pa, cc as fa, s as ba, cd as ga, ce as xa, cf as va, cg as ya, ch as Dt, ci as Et, cj as It, ck as wa, bv as Na, cl as Sa, cm as ka, cn as Ca, co as be, cp as _e, cq as Da, cr as Ea, cs as Ia, ct as At, o as Aa, cu as Oa, cv as La, cw as Ma, cx as Pa, cy as _a, cz as Ta, cA as Ra, cB as Ua, cC as Ot } from "./semaphor-ready-indicator-ERTLU7B4.js";
3
- import { c as we, B as G, a0 as $a, a1 as Ba, a2 as rt, L as Re, X as zt, m as Fa, s as Ga, t as ja, u as Va, v as Ha, w as qa, P as za, a as Ka, b as Qa, y as Wa, n as Ya, o as Ja, p as Xa, I as Za, q as en, d as Kt } from "./switch-BqUan2mN.js";
2
+ import { bP as $r, u as C, bQ as Br, bR as Fr, bS as st, bT as Gr, bU as jr, bV as Vr, bW as qr, bX as Hr, bY as zr, b8 as J, b5 as ve, bZ as ye, bJ as D, b_ as Kr, bK as Gt, bL as jt, bN as et, bO as tt, b$ as Vt, aS as ot, bD as Qr, a$ as re, c0 as Wr, c1 as Yr, c2 as qt, c3 as Jr, c4 as Ht, aR as Xr, bM as Zr, c5 as ea, c6 as _, c7 as ta, c8 as ra, c9 as aa, aC as na, ca as sa, bv as oa, cb as ia, bw as da, j as ca, W as la, a6 as Ct, i as Pe, p as ua, k as Je, cc as ma, cd as ha, Q as pa, ce as fa, s as ba, cf as ga, cg as xa, ch as va, ci as ya, cj as Dt, ck as Et, cl as It, cm as wa, bx as Na, cn as Sa, co as ka, cp as Ca, cq as be, cr as _e, cs as Da, ct as Ea, cu as Ia, cv as At, o as Aa, cw as La, cx as Oa, cy as Ma, cz as Pa, cA as _a, cB as Ta, cC as Ra, cD as Ua, cE as Lt } from "./semaphor-ready-indicator-XLBLOJ2V.js";
3
+ import { c as we, B as G, a0 as $a, a1 as Ba, a2 as rt, L as Re, X as zt, m as Fa, s as Ga, t as ja, u as Va, v as qa, w as Ha, P as za, a as Ka, b as Qa, y as Wa, n as Ya, o as Ja, p as Xa, I as Za, q as en, d as Kt } from "./switch-ByxH4M7t.js";
4
4
  import * as A from "react";
5
- import Qt, { useMemo as j, useState as N, useEffect as ge, useRef as Lt, useLayoutEffect as tn } from "react";
5
+ import Qt, { useMemo as j, useState as N, useEffect as ge, useRef as Ot, useLayoutEffect as tn } from "react";
6
6
  import "./index-CuHybtft.js";
7
- import "./validators-hmfNNQz8.js";
8
- import "./matrix-operation-contract-CpgLZ7E5.js";
9
- import "./analytics-base-schemas-BUFUoO6G.js";
7
+ import "./validators-CXTneCA4.js";
8
+ import "./matrix-operation-contract-WPv4R-H_.js";
9
+ import "./analytics-base-schemas-CHLxsPfX.js";
10
10
  import "zod";
11
11
  import "../value-format-preferences/index.js";
12
12
  import { c as xe } from "./_commonjsHelpers-DimLPMtv.js";
13
- import { u as rn, d as an, c as nn, D as sn, A as on, a as dn, j as cn, V as ln, b as un, e as mn, S as hn, T as pn, i as fn, k as bn, U as gn } from "./dashboard-briefing-launcher-Coqghdn6.js";
14
- import { I as xn } from "./use-create-flow-overlay-state-xhb9YFg-.js";
15
- import { u as vn, h as yn, R as wn, l as Nn } from "./report-preferences-dialog-Dc-YyVwf.js";
13
+ import { u as rn, d as an, c as nn, D as sn, A as on, a as dn, j as cn, V as ln, b as un, e as mn, S as hn, T as pn, i as fn, k as bn, U as gn } from "./dashboard-briefing-launcher-CEi4Pr_v.js";
14
+ import { I as xn } from "./use-create-flow-overlay-state-CEBaLOKC.js";
15
+ import { u as vn, h as yn, R as wn, l as Nn } from "./report-preferences-dialog-BV8L0SeS.js";
16
16
  import { createPortal as Sn } from "react-dom";
17
- import { dr as Ne, ds as it, dt as Wt, as as kn } from "./global-date-filter-utils-BsFqnnbA.js";
18
- import { s as Yt } from "./pivot-result-contract-expectations-DMk-mKhG.js";
19
- import { ai as Mt, aj as Cn, ak as Dn, a as at } from "./resolve-dashboard-input-context-BZYI1hB0.js";
17
+ import { dL as Ne, dM as it, dN as Wt, aw as kn } from "./global-date-filter-utils-D8365uPH.js";
18
+ import { t as Yt } from "./pivot-result-contract-expectations-Bl5suy4-.js";
19
+ import { aj as Mt, ak as Cn, al as Dn, a as at } from "./resolve-dashboard-input-context-CAMiWvyR.js";
20
20
  import { r as En } from "./export-file-format-C-tJsxsf.js";
21
21
  import { u as In, s as An } from "./normalize-dashboard-for-dirty-check-XKgH3GFX.js";
22
- import { L as Ue, u as Pt } from "./table-settings-DF1gdVQR.js";
23
- import { l as On, h as _t, e as Ln } from "./document-dashboard-inputs-PY_7Xm55.js";
24
- import { S as Mn } from "./save-C1dgxgAu.js";
25
- import { P as Pn } from "./palette-stlpjVk4.js";
26
- import { B as _n } from "./braces-D5Ucy7q1.js";
22
+ import { L as Ue, u as Pt } from "./table-settings-Imz0FgWi.js";
23
+ import { l as Ln, h as _t, e as On } from "./document-dashboard-inputs-CkWfDB8c.js";
24
+ import { S as Mn } from "./save-B5EAsgQF.js";
25
+ import { P as Pn } from "./palette-Bsh376zO.js";
26
+ import { B as _n } from "./braces-Da41xfUd.js";
27
27
  /**
28
28
  * @license lucide-react v0.453.0 - ISC
29
29
  *
@@ -238,8 +238,8 @@ function Vn() {
238
238
  var h, g, v, m, c;
239
239
  return {
240
240
  canEdit: ((h = r == null ? void 0 : r.permissions) == null ? void 0 : h.canEdit) ?? zr(n),
241
- canUseFilters: ((g = r == null ? void 0 : r.permissions) == null ? void 0 : g.canEdit) ?? qr(n),
242
- canManageDashboards: ((v = r == null ? void 0 : r.permissions) == null ? void 0 : v.canCreateDashboard) ?? Hr(n),
241
+ canUseFilters: ((g = r == null ? void 0 : r.permissions) == null ? void 0 : g.canEdit) ?? Hr(n),
242
+ canManageDashboards: ((v = r == null ? void 0 : r.permissions) == null ? void 0 : v.canCreateDashboard) ?? qr(n),
243
243
  canCreateDashboards: ((m = r == null ? void 0 : r.permissions) == null ? void 0 : m.canCreateDashboard) ?? Vr(n),
244
244
  canAccessVisuals: ((c = r == null ? void 0 : r.permissions) == null ? void 0 : c.canEdit) ?? jr(n)
245
245
  };
@@ -253,7 +253,7 @@ function Vn() {
253
253
  currentUser: n
254
254
  };
255
255
  }
256
- function Hn(t, a = []) {
256
+ function qn(t, a = []) {
257
257
  let n = [];
258
258
  function r(d, f) {
259
259
  const h = A.createContext(f);
@@ -285,9 +285,9 @@ function Hn(t, a = []) {
285
285
  );
286
286
  };
287
287
  };
288
- return s.scopeName = t, [r, qn(s, ...a)];
288
+ return s.scopeName = t, [r, Hn(s, ...a)];
289
289
  }
290
- function qn(...t) {
290
+ function Hn(...t) {
291
291
  const a = t[0];
292
292
  if (t.length === 1) return a;
293
293
  const n = () => {
@@ -341,7 +341,7 @@ function Qn() {
341
341
  return () => {
342
342
  };
343
343
  }
344
- var ct = "Avatar", [Wn] = Hn(ct), [Yn, Xt] = Wn(ct), Zt = A.forwardRef(
344
+ var ct = "Avatar", [Wn] = qn(ct), [Yn, Xt] = Wn(ct), Zt = A.forwardRef(
345
345
  (t, a) => {
346
346
  const { __scopeAvatar: n, ...r } = t, [s, d] = A.useState("idle");
347
347
  return /* @__PURE__ */ e(
@@ -538,7 +538,7 @@ function ls({
538
538
  open: t,
539
539
  onOpenChange: a
540
540
  }) {
541
- var b, L, M;
541
+ var b, O, M;
542
542
  const { tokenProps: n } = J(), { currentUser: r } = st(), s = (r == null ? void 0 : r.type) === "tenant", d = n == null ? void 0 : n.tenantId, {
543
543
  groups: f,
544
544
  isLoading: h,
@@ -596,7 +596,7 @@ function ls({
596
596
  group: w,
597
597
  isTenantViewer: s,
598
598
  canEdit: ((b = w.permissions) == null ? void 0 : b.canEdit) ?? w.createdBy === (r == null ? void 0 : r.id),
599
- canDelete: ((L = w.permissions) == null ? void 0 : L.canDelete) ?? w.createdBy === (r == null ? void 0 : r.id),
599
+ canDelete: ((O = w.permissions) == null ? void 0 : O.canDelete) ?? w.createdBy === (r == null ? void 0 : r.id),
600
600
  canManageMembers: ((M = w.permissions) == null ? void 0 : M.canManageMembers) ?? w.createdBy === (r == null ? void 0 : r.id),
601
601
  onBack: () => u({ kind: "list" }),
602
602
  onMembersChanged: v,
@@ -770,7 +770,7 @@ function ms({
770
770
  s && /* @__PURE__ */ o($, { children: [
771
771
  /* @__PURE__ */ e("span", { className: "text-border", children: "·" }),
772
772
  /* @__PURE__ */ o("span", { className: "inline-flex items-center gap-1", children: [
773
- /* @__PURE__ */ e(qt, { className: "h-2.5 w-2.5" }),
773
+ /* @__PURE__ */ e(Ht, { className: "h-2.5 w-2.5" }),
774
774
  s
775
775
  ] })
776
776
  ] }),
@@ -805,7 +805,7 @@ function ms({
805
805
  }
806
806
  function hs({ onCreate: t }) {
807
807
  return /* @__PURE__ */ o("div", { className: "flex h-full flex-col items-center justify-center gap-2 py-12 text-center", children: [
808
- /* @__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(Ht, { className: "h-4 w-4" }) }),
808
+ /* @__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(qt, { className: "h-4 w-4" }) }),
809
809
  /* @__PURE__ */ e("div", { className: "text-[13px] font-medium text-foreground", children: "No groups yet" }),
810
810
  /* @__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." }),
811
811
  /* @__PURE__ */ o(
@@ -846,7 +846,7 @@ function ps({
846
846
  }), S = j(
847
847
  () => new Set(l.map((y) => y.userId)),
848
848
  [l]
849
- ), b = is(), L = ds(), M = ss(), [k, E] = N(!1), [I, X] = N(t.name), [$e, V] = N(!1), [ae, H] = N(t.description || ""), [ne, se] = N(""), [Be, oe] = N(!1), Se = j(() => {
849
+ ), b = is(), O = ds(), M = ss(), [k, E] = N(!1), [I, X] = N(t.name), [$e, V] = N(!1), [ae, q] = N(t.description || ""), [ne, se] = N(""), [Be, oe] = N(!1), Se = j(() => {
850
850
  const y = ne.trim().toLowerCase();
851
851
  return w.filter((B) => !S.has(B.id)).filter(
852
852
  (B) => !y || (B.name || "").toLowerCase().includes(y) || (B.email || "").toLowerCase().includes(y)
@@ -888,7 +888,7 @@ function ps({
888
888
  }, Ce = async (y) => {
889
889
  if (s)
890
890
  try {
891
- await L.mutateAsync({
891
+ await O.mutateAsync({
892
892
  groupId: t.id,
893
893
  data: { userIds: [y] }
894
894
  }), u(), f();
@@ -952,10 +952,10 @@ function ps({
952
952
  autoFocus: !0,
953
953
  rows: 2,
954
954
  value: ae,
955
- onChange: (y) => H(y.target.value),
955
+ onChange: (y) => q(y.target.value),
956
956
  maxLength: 200,
957
957
  onKeyDown: (y) => {
958
- y.key === "Escape" && (H(t.description || ""), V(!1)), y.key === "Enter" && (y.metaKey || y.ctrlKey) && ie();
958
+ y.key === "Escape" && (q(t.description || ""), V(!1)), y.key === "Enter" && (y.metaKey || y.ctrlKey) && ie();
959
959
  },
960
960
  placeholder: "What is this group for?",
961
961
  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"
@@ -972,7 +972,7 @@ function ps({
972
972
  {
973
973
  type: "button",
974
974
  onClick: () => {
975
- H(t.description || ""), V(!1);
975
+ q(t.description || ""), V(!1);
976
976
  },
977
977
  className: "h-6 rounded-[5px] px-2 text-[11px] font-medium text-foreground/80 hover:bg-accent",
978
978
  children: "Cancel"
@@ -994,7 +994,7 @@ function ps({
994
994
  {
995
995
  type: "button",
996
996
  onClick: () => {
997
- n && (H(t.description || ""), V(!0));
997
+ n && (q(t.description || ""), V(!0));
998
998
  },
999
999
  disabled: !n,
1000
1000
  title: n ? "Click to edit description" : void 0,
@@ -1038,13 +1038,13 @@ function ps({
1038
1038
  /* @__PURE__ */ e("div", { className: "text-[12px] text-foreground", children: "No members yet" }),
1039
1039
  /* @__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." })
1040
1040
  ] }) : l.map((y) => {
1041
- var B, q, z, K, de, Q;
1041
+ var B, H, z, K, de, Q;
1042
1042
  return /* @__PURE__ */ o(
1043
1043
  "div",
1044
1044
  {
1045
1045
  className: "group flex items-center gap-2 border-b border-border/60 px-5 py-2",
1046
1046
  children: [
1047
- /* @__PURE__ */ e(ur, { name: ((B = y.user) == null ? void 0 : B.name) || ((q = y.user) == null ? void 0 : q.email) || "?" }),
1047
+ /* @__PURE__ */ e(ur, { name: ((B = y.user) == null ? void 0 : B.name) || ((H = y.user) == null ? void 0 : H.email) || "?" }),
1048
1048
  /* @__PURE__ */ o("div", { className: "min-w-0 flex-1", children: [
1049
1049
  /* @__PURE__ */ e("div", { className: "truncate text-[12.5px] font-medium text-foreground", children: ((z = y.user) == null ? void 0 : z.name) || ((K = y.user) == null ? void 0 : K.email) || "Unknown" }),
1050
1050
  ((de = y.user) == null ? void 0 : de.email) && y.user.name && /* @__PURE__ */ e("div", { className: "truncate text-[10.5px] text-muted-foreground", children: y.user.email })
@@ -1055,7 +1055,7 @@ function ps({
1055
1055
  {
1056
1056
  type: "button",
1057
1057
  onClick: () => Ce(y.userId),
1058
- disabled: !s || L.isPending,
1058
+ disabled: !s || O.isPending,
1059
1059
  "aria-label": `Remove ${((Q = y.user) == null ? void 0 : Q.name) || "member"}`,
1060
1060
  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",
1061
1061
  children: /* @__PURE__ */ e(zt, { className: "h-3 w-3" })
@@ -1177,7 +1177,7 @@ function bs({
1177
1177
  onAdd: f,
1178
1178
  busy: h
1179
1179
  }) {
1180
- const g = Lt(null), v = Lt(null), [m, c] = N(null);
1180
+ const g = Ot(null), v = Ot(null), [m, c] = N(null);
1181
1181
  tn(() => {
1182
1182
  if (!n) {
1183
1183
  c(null);
@@ -1330,7 +1330,7 @@ function xs({
1330
1330
  onValueChange: (s) => r({ csvEncoding: s }),
1331
1331
  children: [
1332
1332
  /* @__PURE__ */ e(ja, { id: "dashboard-csv-encoding", size: "sm", children: /* @__PURE__ */ e(Va, {}) }),
1333
- /* @__PURE__ */ e(Ha, { children: ea.map((s) => /* @__PURE__ */ e(qa, { value: s.value, children: s.label }, s.value)) })
1333
+ /* @__PURE__ */ e(qa, { children: ea.map((s) => /* @__PURE__ */ e(Ha, { value: s.value, children: s.label }, s.value)) })
1334
1334
  ]
1335
1335
  }
1336
1336
  )
@@ -1469,12 +1469,12 @@ function ws({
1469
1469
  }
1470
1470
  function Ns(t) {
1471
1471
  var v, m, c;
1472
- const { saved: a, draft: n, usage: r } = t, s = [], d = On(a);
1472
+ const { saved: a, draft: n, usage: r } = t, s = [], d = Ln(a);
1473
1473
  for (const [u, l] of Object.entries(r.inputs))
1474
1474
  !l || !_t(a, u) || _t(n, u) || s.push({
1475
1475
  target: "input",
1476
1476
  id: u,
1477
- label: Ln(a, d, u),
1477
+ label: On(a, d, u),
1478
1478
  bookmarks: l,
1479
1479
  remembered: 0
1480
1480
  });
@@ -1505,13 +1505,13 @@ function Ns(t) {
1505
1505
  }
1506
1506
  const w = p ? Mt(p) : void 0, S = Ue(n, u), b = S ? Mt(S) : void 0;
1507
1507
  if (!(!p || !w || !b))
1508
- for (const [L, M] of Object.entries(l.columns)) {
1509
- if (!(M.bookmarks || M.remembered) || Cn(L) || !w.has(L) || b.has(L))
1508
+ for (const [O, M] of Object.entries(l.columns)) {
1509
+ if (!(M.bookmarks || M.remembered) || Cn(O) || !w.has(O) || b.has(O))
1510
1510
  continue;
1511
- const k = Dn(p, L), E = ((c = k == null ? void 0 : k.label) == null ? void 0 : c.trim()) || (k == null ? void 0 : k.name);
1511
+ const k = Dn(p, O), E = ((c = k == null ? void 0 : k.label) == null ? void 0 : c.trim()) || (k == null ? void 0 : k.name);
1512
1512
  s.push({
1513
1513
  target: "column",
1514
- id: L,
1514
+ id: O,
1515
1515
  cardId: u,
1516
1516
  label: E ? `${E} in ${x}` : `A column in ${x}`,
1517
1517
  bookmarks: M.bookmarks,
@@ -1608,16 +1608,16 @@ function eo() {
1608
1608
  inspectionMessage: v,
1609
1609
  isInspectionMode: m,
1610
1610
  isInspectionSurface: c
1611
- } = oa(), { openBrandStudioPreview: u } = ia(), { permissions: l } = Vn(), p = da(), { isLoading: x } = ca(), w = C((i) => i.theme), S = C((i) => i.isDownloadingPdf), b = C((i) => i.dashboard), L = C((i) => i.selectedSheetId), M = (wt = b == null ? void 0 : b.sheets) == null ? void 0 : wt.find(
1612
- (i) => i.id === L
1611
+ } = oa(), { openBrandStudioPreview: u } = ia(), { permissions: l } = Vn(), p = da(), { isLoading: x } = ca(), w = C((i) => i.theme), S = C((i) => i.isDownloadingPdf), b = C((i) => i.dashboard), O = C((i) => i.selectedSheetId), M = (wt = b == null ? void 0 : b.sheets) == null ? void 0 : wt.find(
1612
+ (i) => i.id === O
1613
1613
  ), k = kn(M), E = k ? (Nt = M == null ? void 0 : M.document) == null ? void 0 : Nt.page : void 0, I = C(
1614
1614
  (i) => i.isDashboardEditing
1615
- ), { setDashboardTitle: X } = C((i) => i.actions), [$e, V] = N(!1), [ae, H] = N(!1), [ne, se] = N(!1), [Be, oe] = N(!1), [Se, Z] = N(null), [ie, ke] = N(null), { registerBriefingViewer: Ce } = la();
1615
+ ), { setDashboardTitle: X } = C((i) => i.actions), [$e, V] = N(!1), [ae, q] = N(!1), [ne, se] = N(!1), [Be, oe] = N(!1), [Se, Z] = N(null), [ie, ke] = N(null), { registerBriefingViewer: Ce } = la();
1616
1616
  ge(
1617
1617
  () => Ce((i) => ke(i)),
1618
1618
  [Ce]
1619
1619
  );
1620
- const [ee, y] = N(!1), [B, q] = N(!1), [z, K] = N(null), [de, Q] = N([]), [lt, De] = N(!1), [mr, ut] = N(!1), U = C((i) => i.isVisualEditing);
1620
+ const [ee, y] = N(!1), [B, H] = N(!1), [z, K] = N(null), [de, Q] = N([]), [lt, De] = N(!1), [mr, ut] = N(!1), U = C((i) => i.isVisualEditing);
1621
1621
  Ct((i) => i.card);
1622
1622
  const hr = Pe(
1623
1623
  (i) => i.selectedDashboard
@@ -1633,7 +1633,7 @@ function eo() {
1633
1633
  (i) => i.actions
1634
1634
  ), { setInitialDashboard: ft, clearSelectedDashboard: Fe } = Pe(
1635
1635
  (i) => i.actions
1636
- ), ce = !!a.orgUserId || !!(a.tenantId && a.endUserId && a.endUserEmail), { resources: Ee } = ua(Je.DASHBOARD), O = vn(), { currentUser: br } = st(), gr = ma(br), F = hr || pr, W = ha({
1636
+ ), ce = !!a.orgUserId || !!(a.tenantId && a.endUserId && a.endUserEmail), { resources: Ee } = ua(Je.DASHBOARD), L = vn(), { currentUser: br } = st(), gr = ma(br), F = hr || pr, W = ha({
1637
1637
  config: a.config,
1638
1638
  canNavigateDashboardHub: ce,
1639
1639
  canShareDashboard: ((St = F == null ? void 0 : F.permissions) == null ? void 0 : St.canShare) === !0,
@@ -1685,11 +1685,11 @@ function eo() {
1685
1685
  }
1686
1686
  }
1687
1687
  }, [Ee, b == null ? void 0 : b.id, ft]);
1688
- const wr = a.orgUserId || a.tenantId, He = j(
1688
+ const wr = a.orgUserId || a.tenantId, qe = j(
1689
1689
  () => Is({
1690
1690
  accessToken: t == null ? void 0 : t.accessToken,
1691
1691
  dashboardId: (b == null ? void 0 : b.id) || n || a.dashboard_id,
1692
- selectedSheetId: k ? L : void 0,
1692
+ selectedSheetId: k ? O : void 0,
1693
1693
  pageSize: E == null ? void 0 : E.size,
1694
1694
  orientation: E == null ? void 0 : E.orientation,
1695
1695
  theme: w
@@ -1701,11 +1701,11 @@ function eo() {
1701
1701
  k,
1702
1702
  E == null ? void 0 : E.orientation,
1703
1703
  E == null ? void 0 : E.size,
1704
- L,
1704
+ O,
1705
1705
  w,
1706
1706
  a.dashboard_id
1707
1707
  ]
1708
- ), qe = I && !U && !m && wr && h, { setDashboard: ze } = C((i) => i.actions), Nr = C(
1708
+ ), He = I && !U && !m && wr && h, { setDashboard: ze } = C((i) => i.actions), Nr = C(
1709
1709
  (i) => i.semanticExecutionPayload
1710
1710
  ), Sr = () => {
1711
1711
  ht(!0);
@@ -1740,7 +1740,7 @@ function eo() {
1740
1740
  Ke,
1741
1741
  m,
1742
1742
  h
1743
- ), xt = Qe || kr, Oe = Ge || ue.isPending, Cr = () => {
1743
+ ), xt = Qe || kr, Le = Ge || ue.isPending, Cr = () => {
1744
1744
  if (m) {
1745
1745
  P && ze(P.dashboard, {
1746
1746
  semanticExecutionPayload: P.semanticExecutionPayload
@@ -1780,7 +1780,7 @@ function eo() {
1780
1780
  const T = (i == null ? void 0 : i.closeAfterSave) ?? lt, te = (i == null ? void 0 : i.navigateHomeAfterSave) ?? !1;
1781
1781
  De(T), T && le(!1);
1782
1782
  const Pr = at(R);
1783
- q(!0), K(null), Q([]), je(!0);
1783
+ H(!0), K(null), Q([]), je(!0);
1784
1784
  const _r = {
1785
1785
  template: R
1786
1786
  };
@@ -1796,7 +1796,7 @@ function eo() {
1796
1796
  Pr,
1797
1797
  C.getState().semanticExecutionPayload
1798
1798
  )
1799
- ), q(!1), De(!1), T && (Ae(), he(), te && ce && Fe()), Ie("close");
1799
+ ), H(!1), De(!1), T && (Ae(), he(), te && ce && Fe()), Ie("close");
1800
1800
  },
1801
1801
  onError: (Tr) => {
1802
1802
  je(!1), K("Failed to save dashboard. Please try again.");
@@ -1821,17 +1821,17 @@ function eo() {
1821
1821
  dashboardStateTitle: b.title,
1822
1822
  dashboardId: b == null ? void 0 : b.id
1823
1823
  });
1824
- const Or = ce && !!(t != null && t.accessToken) && !!(a != null && a.apiServiceUrl), Lr = !m && W.showDashboardHub && Or, Mr = !m && p && W.showDashboardHub, Y = (b == null ? void 0 : b.id) || null, yt = ga(
1824
+ const Lr = ce && !!(t != null && t.accessToken) && !!(a != null && a.apiServiceUrl), Or = !m && W.showDashboardHub && Lr, Mr = !m && p && W.showDashboardHub, Y = (b == null ? void 0 : b.id) || null, yt = ga(
1825
1825
  (kt = a.config) == null ? void 0 : kt.showBriefings,
1826
1826
  r
1827
- ), Le = an(Y);
1827
+ ), Oe = an(Y);
1828
1828
  if (!p && !U)
1829
1829
  return null;
1830
1830
  const Ye = !U && p && !m;
1831
- return /* @__PURE__ */ e(nn, { width: O.width, hasOverflowMenu: Ye, children: /* @__PURE__ */ o(
1831
+ return /* @__PURE__ */ e(nn, { width: L.width, hasOverflowMenu: Ye, children: /* @__PURE__ */ o(
1832
1832
  "div",
1833
1833
  {
1834
- ref: O.measure,
1834
+ ref: L.measure,
1835
1835
  className: "flex min-h-11 shrink-0 items-center gap-2 border-b px-3 py-1.5",
1836
1836
  role: "dashboard-controls",
1837
1837
  children: [
@@ -1898,15 +1898,15 @@ function eo() {
1898
1898
  size: "xs",
1899
1899
  disabled: !I,
1900
1900
  onClick: () => void xr(),
1901
- "aria-label": O.width === "sm" ? "Add visual" : void 0,
1902
- title: O.width === "sm" ? "Add visual" : void 0,
1901
+ "aria-label": L.width === "sm" ? "Add visual" : void 0,
1902
+ title: L.width === "sm" ? "Add visual" : void 0,
1903
1903
  className: xe(
1904
1904
  "h-full rounded-none border-0 shadow-none hover:bg-accent",
1905
- O.width === "sm" && "w-7 px-0"
1905
+ L.width === "sm" && "w-7 px-0"
1906
1906
  ),
1907
1907
  children: [
1908
1908
  /* @__PURE__ */ e(re, { className: "h-3.5 w-3.5" }),
1909
- O.width !== "sm" && "Visual"
1909
+ L.width !== "sm" && "Visual"
1910
1910
  ]
1911
1911
  }
1912
1912
  ),
@@ -1950,11 +1950,11 @@ function eo() {
1950
1950
  size: "xs",
1951
1951
  onClick: Sr,
1952
1952
  "aria-label": m ? "Inspect" : "Edit",
1953
- title: O.width === "sm" ? m ? "Inspect" : "Edit" : void 0,
1954
- className: O.width === "sm" ? "w-7 px-0" : void 0,
1953
+ title: L.width === "sm" ? m ? "Inspect" : "Edit" : void 0,
1954
+ className: L.width === "sm" ? "w-7 px-0" : void 0,
1955
1955
  children: [
1956
1956
  /* @__PURE__ */ e(wa, { className: "h-3.5 w-3.5" }),
1957
- O.width !== "sm" && (m ? "Inspect" : "Edit")
1957
+ L.width !== "sm" && (m ? "Inspect" : "Edit")
1958
1958
  ]
1959
1959
  }
1960
1960
  ),
@@ -1971,7 +1971,7 @@ function eo() {
1971
1971
  /* @__PURE__ */ e(en, { children: /* @__PURE__ */ e("p", { children: v }) })
1972
1972
  ] }) }) : null
1973
1973
  ] }),
1974
- qe && p && Qe && /* @__PURE__ */ e(
1974
+ He && p && Qe && /* @__PURE__ */ e(
1975
1975
  Ds,
1976
1976
  {
1977
1977
  saved: Ke,
@@ -1979,32 +1979,32 @@ function eo() {
1979
1979
  enabled: I && !m
1980
1980
  }
1981
1981
  ),
1982
- qe && p && Qe && /* @__PURE__ */ o(
1982
+ He && p && Qe && /* @__PURE__ */ o(
1983
1983
  G,
1984
1984
  {
1985
1985
  variant: "outline",
1986
1986
  size: "xs",
1987
1987
  onClick: Ir,
1988
- disabled: Oe,
1988
+ disabled: Le,
1989
1989
  "aria-label": "Undo",
1990
- title: O.width === "sm" ? "Undo" : void 0,
1991
- className: O.width === "sm" ? "w-7 px-0" : void 0,
1990
+ title: L.width === "sm" ? "Undo" : void 0,
1991
+ className: L.width === "sm" ? "w-7 px-0" : void 0,
1992
1992
  children: [
1993
1993
  /* @__PURE__ */ e(Na, { className: "h-3.5 w-3.5" }),
1994
- O.width !== "sm" && "Undo"
1994
+ L.width !== "sm" && "Undo"
1995
1995
  ]
1996
1996
  }
1997
1997
  ),
1998
- qe && p && /* @__PURE__ */ o(
1998
+ He && p && /* @__PURE__ */ o(
1999
1999
  G,
2000
2000
  {
2001
2001
  size: "xs",
2002
2002
  className: xe(!xt && "opacity-60"),
2003
- disabled: Oe || !xt,
2003
+ disabled: Le || !xt,
2004
2004
  onClick: () => We(),
2005
2005
  children: [
2006
- Oe ? /* @__PURE__ */ e(Re, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ e(Mn, { className: "h-3.5 w-3.5" }),
2007
- Oe ? "Saving..." : "Save"
2006
+ Le ? /* @__PURE__ */ e(Re, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ e(Mn, { className: "h-3.5 w-3.5" }),
2007
+ Le ? "Saving..." : "Save"
2008
2008
  ]
2009
2009
  }
2010
2010
  ),
@@ -2015,11 +2015,11 @@ function eo() {
2015
2015
  size: "xs",
2016
2016
  onClick: Cr,
2017
2017
  "aria-label": "Close",
2018
- title: O.width === "sm" ? "Close" : void 0,
2019
- className: O.width === "sm" ? "w-7 px-0" : void 0,
2018
+ title: L.width === "sm" ? "Close" : void 0,
2019
+ className: L.width === "sm" ? "w-7 px-0" : void 0,
2020
2020
  children: [
2021
2021
  /* @__PURE__ */ e(Sa, { className: "h-3.5 w-3.5" }),
2022
- O.width !== "sm" && "Close"
2022
+ L.width !== "sm" && "Close"
2023
2023
  ]
2024
2024
  }
2025
2025
  )
@@ -2028,7 +2028,7 @@ function eo() {
2028
2028
  /* @__PURE__ */ e(mn, {}),
2029
2029
  f && h === !0 && !m && /* @__PURE__ */ e(hn, {})
2030
2030
  ] }),
2031
- !U && d && O.width === "lg" && /* @__PURE__ */ e(jn, {}),
2031
+ !U && d && L.width === "lg" && /* @__PURE__ */ e(jn, {}),
2032
2032
  Ye && /* @__PURE__ */ e(pn, {}),
2033
2033
  Ye && /* @__PURE__ */ o(Dt, { children: [
2034
2034
  /* @__PURE__ */ e(Et, { asChild: !0, children: /* @__PURE__ */ e(
@@ -2048,16 +2048,16 @@ function eo() {
2048
2048
  className: "w-56 rounded-control border border-border/60 p-1 shadow-sm",
2049
2049
  children: [
2050
2050
  /* @__PURE__ */ e(Es, {}),
2051
- Le.available && Lr && /* @__PURE__ */ o($, { children: [
2051
+ Oe.available && Or && /* @__PURE__ */ o($, { children: [
2052
2052
  /* @__PURE__ */ o(
2053
2053
  _,
2054
2054
  {
2055
- disabled: Le.disabled,
2056
- onSelect: Le.toggle,
2055
+ disabled: Oe.disabled,
2056
+ onSelect: Oe.toggle,
2057
2057
  children: [
2058
2058
  /* @__PURE__ */ e(Ca, { className: "h-3.5 w-3.5" }),
2059
2059
  /* @__PURE__ */ e("span", { className: "flex-1", children: "Default dashboard" }),
2060
- Le.isDefault && /* @__PURE__ */ e(Kt, { className: "h-3.5 w-3.5" })
2060
+ Oe.isDefault && /* @__PURE__ */ e(Kt, { className: "h-3.5 w-3.5" })
2061
2061
  ]
2062
2062
  }
2063
2063
  ),
@@ -2104,9 +2104,9 @@ function eo() {
2104
2104
  W.showGroupManagement && /* @__PURE__ */ o(
2105
2105
  _,
2106
2106
  {
2107
- onClick: () => H(!0),
2107
+ onClick: () => q(!0),
2108
2108
  children: [
2109
- /* @__PURE__ */ e(Ht, { className: "h-3.5 w-3.5" }),
2109
+ /* @__PURE__ */ e(qt, { className: "h-3.5 w-3.5" }),
2110
2110
  "Manage Groups"
2111
2111
  ]
2112
2112
  }
@@ -2115,7 +2115,7 @@ function eo() {
2115
2115
  ] }),
2116
2116
  /* @__PURE__ */ e(_e, { children: "Preferences" }),
2117
2117
  /* @__PURE__ */ o(_, { onClick: () => se(!0), children: [
2118
- /* @__PURE__ */ e(qt, { className: "h-3.5 w-3.5" }),
2118
+ /* @__PURE__ */ e(Ht, { className: "h-3.5 w-3.5" }),
2119
2119
  "Report preferences"
2120
2120
  ] }),
2121
2121
  d && p && /* @__PURE__ */ o($, { children: [
@@ -2139,16 +2139,16 @@ function eo() {
2139
2139
  k && /* @__PURE__ */ o(
2140
2140
  _,
2141
2141
  {
2142
- disabled: !He,
2142
+ disabled: !qe,
2143
2143
  onSelect: () => {
2144
2144
  var i;
2145
- if (!He) {
2145
+ if (!qe) {
2146
2146
  D.error(
2147
2147
  "Open a document sheet with a token to copy the local PDF URL"
2148
2148
  );
2149
2149
  return;
2150
2150
  }
2151
- (i = navigator == null ? void 0 : navigator.clipboard) != null && i.writeText ? navigator.clipboard.writeText(He).then(
2151
+ (i = navigator == null ? void 0 : navigator.clipboard) != null && i.writeText ? navigator.clipboard.writeText(qe).then(
2152
2152
  () => D.success(
2153
2153
  "Local document PDF URL copied to clipboard"
2154
2154
  )
@@ -2205,7 +2205,7 @@ function eo() {
2205
2205
  ls,
2206
2206
  {
2207
2207
  open: ae,
2208
- onOpenChange: H
2208
+ onOpenChange: q
2209
2209
  }
2210
2210
  ),
2211
2211
  /* @__PURE__ */ e(
@@ -2237,18 +2237,18 @@ function eo() {
2237
2237
  }
2238
2238
  ) : null,
2239
2239
  p && /* @__PURE__ */ e(
2240
- Oa,
2240
+ La,
2241
2241
  {
2242
2242
  open: ee,
2243
2243
  onOpenChange: y
2244
2244
  }
2245
2245
  ),
2246
2246
  /* @__PURE__ */ e(
2247
- La,
2247
+ Oa,
2248
2248
  {
2249
2249
  open: B,
2250
2250
  onOpenChange: (i) => {
2251
- !i && Ge && !z || (q(i), i || (K(null), Q([]), De(!1)));
2251
+ !i && Ge && !z || (H(i), i || (K(null), Q([]), De(!1)));
2252
2252
  },
2253
2253
  children: /* @__PURE__ */ o(Ma, { className: "max-w-sm", children: [
2254
2254
  /* @__PURE__ */ o(Pa, { children: [
@@ -2264,14 +2264,14 @@ function eo() {
2264
2264
  Ua,
2265
2265
  {
2266
2266
  onClick: () => {
2267
- q(!1), K(null), Q([]), De(!1);
2267
+ H(!1), K(null), Q([]), De(!1);
2268
2268
  },
2269
2269
  className: "m-0",
2270
2270
  children: "Close"
2271
2271
  }
2272
2272
  ),
2273
2273
  /* @__PURE__ */ e(
2274
- Ot,
2274
+ Lt,
2275
2275
  {
2276
2276
  onClick: () => We({
2277
2277
  closeAfterSave: lt,
@@ -2281,7 +2281,7 @@ function eo() {
2281
2281
  children: "Retry"
2282
2282
  }
2283
2283
  )
2284
- ] }) : /* @__PURE__ */ o(Ot, { disabled: !0, className: "m-0 cursor-default", children: [
2284
+ ] }) : /* @__PURE__ */ o(Lt, { disabled: !0, className: "m-0 cursor-default", children: [
2285
2285
  /* @__PURE__ */ e(Re, { className: "mr-2 h-4 w-4 animate-spin" }),
2286
2286
  "Saving..."
2287
2287
  ] }) })
@@ -1,11 +1,11 @@
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-ERTLU7B4.js";
4
- import { B as S, X as N, C as D } from "./switch-BqUan2mN.js";
3
+ import { u as a } from "./semaphor-ready-indicator-XLBLOJ2V.js";
4
+ import { B as S, X as N, C as D } from "./switch-ByxH4M7t.js";
5
5
  import "./index-CuHybtft.js";
6
- import "./validators-hmfNNQz8.js";
7
- import "./matrix-operation-contract-CpgLZ7E5.js";
8
- import "./analytics-base-schemas-BUFUoO6G.js";
6
+ import "./validators-CXTneCA4.js";
7
+ import "./matrix-operation-contract-WPv4R-H_.js";
8
+ import "./analytics-base-schemas-CHLxsPfX.js";
9
9
  import "zod";
10
10
  import "../value-format-preferences/index.js";
11
11
  import { c as J } from "./_commonjsHelpers-DimLPMtv.js";