react-semaphor 0.1.449 → 0.1.454

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 (147) hide show
  1. package/dist/analytics-protocol/index.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +119 -112
  3. package/dist/appearance/index.cjs +1 -1
  4. package/dist/appearance/index.js +1 -1
  5. package/dist/brand-studio/index.cjs +4 -4
  6. package/dist/brand-studio/index.js +15 -13
  7. package/dist/briefings/index.cjs +1 -1
  8. package/dist/briefings/index.js +39 -2131
  9. package/dist/chunks/{analyze-result-contract-T-0Ntzys.js → analyze-result-contract-BbRJ-C06.js} +1 -1
  10. package/dist/chunks/{analyze-result-contract-BHb7sUUW.cjs → analyze-result-contract-LPDNldic.cjs} +1 -1
  11. package/dist/chunks/canonical-result-keys-BA0HCP4e.cjs +1 -0
  12. package/dist/chunks/canonical-result-keys-D6avdjpA.js +467 -0
  13. package/dist/chunks/color-CJvdlFM_.js +2162 -0
  14. package/dist/chunks/color-CyB5o13F.cjs +4 -0
  15. package/dist/chunks/{common-types-CQ6SHfLk.cjs → common-types-C57kJ59w.cjs} +1 -1
  16. package/dist/chunks/{common-types-B7Jk3Rtj.js → common-types-H51FLKB7.js} +1 -1
  17. package/dist/chunks/contracts-CoCOpd_i.js +11 -0
  18. package/dist/chunks/contracts-CtB2VONT.cjs +1 -0
  19. package/dist/chunks/dashboard-briefing-launcher-Dwj1i7lr.cjs +26 -0
  20. package/dist/chunks/{dashboard-briefing-launcher-DCHiEkLE.js → dashboard-briefing-launcher-SYroFdae.js} +86 -84
  21. package/dist/chunks/{dashboard-controls-DwRFCcHV.js → dashboard-controls-1LpeU2sz.js} +15 -13
  22. package/dist/chunks/{dashboard-controls-CaFioayc.cjs → dashboard-controls-CpFoh7-A.cjs} +1 -1
  23. package/dist/chunks/dashboard-date-comparison-definition-Ces4alFm.cjs +1 -0
  24. package/dist/chunks/{dashboard-date-comparison-definition-Ba-clViK.js → dashboard-date-comparison-definition-DC3ekV2S.js} +1 -1
  25. package/dist/chunks/{dashboard-json-WoILbfTe.js → dashboard-json-D-T-sQxU.js} +25 -23
  26. package/dist/chunks/dashboard-json-DwSQopc_.cjs +1 -0
  27. package/dist/chunks/edit-dashboard-visual-BEmoQAET.cjs +172 -0
  28. package/dist/chunks/{edit-dashboard-visual-ciFhxqaI.js → edit-dashboard-visual-DqxUq4Bs.js} +6925 -6947
  29. package/dist/chunks/editor-action-buttons-18r2xwei.cjs +16 -0
  30. package/dist/chunks/{editor-action-buttons-BPo_45pM.js → editor-action-buttons-B2l3WIRC.js} +41 -39
  31. package/dist/chunks/format-types-CFHQoIuk.js +1350 -0
  32. package/dist/chunks/format-types-PSZZ7hG8.cjs +1 -0
  33. package/dist/chunks/index-Bn5wlkHt.cjs +4 -0
  34. package/dist/chunks/index-ByFbacH7.cjs +1 -0
  35. package/dist/chunks/index-CACdoqu3.js +318 -0
  36. package/dist/chunks/index-CLB_NGZ8.cjs +1392 -0
  37. package/dist/chunks/index-Ca784dpx.js +3714 -0
  38. package/dist/chunks/{index-CPuawpXJ.js → index-DAoS4BNU.js} +48514 -48484
  39. package/dist/chunks/index-DSKR3nKn.js +421 -0
  40. package/dist/chunks/index-F25jnH0p.cjs +1 -0
  41. package/dist/chunks/matrix-result-contract-CofATICL.js +437 -0
  42. package/dist/chunks/matrix-result-contract-zamd9euI.cjs +1 -0
  43. package/dist/chunks/pivot-header-presentation-DhyQXxKq.cjs +4 -0
  44. package/dist/chunks/pivot-header-presentation-ckYOQ4aZ.js +557 -0
  45. package/dist/chunks/{pivot-result-identity-CDLRT-YG.cjs → pivot-result-identity-Bb4EixVN.cjs} +1 -1
  46. package/dist/chunks/{pivot-result-identity-CwJWpKI7.js → pivot-result-identity-DU1v-5Xk.js} +1 -1
  47. package/dist/chunks/pivot-result-lifecycle-DmcF1ris.cjs +1 -0
  48. package/dist/chunks/pivot-result-lifecycle-sjzIOpvp.js +1641 -0
  49. package/dist/chunks/raw-temporal-contract-BtjH_G-d.cjs +1 -0
  50. package/dist/chunks/raw-temporal-contract-CxncLze5.js +64 -0
  51. package/dist/chunks/report-preferences-dialog-BgSvlDXa.cjs +1 -0
  52. package/dist/chunks/report-preferences-dialog-DDc2WUa0.js +723 -0
  53. package/dist/chunks/{report-runtime-context-C8LZFsqV.cjs → report-runtime-context-DqxS4wbi.cjs} +1 -1
  54. package/dist/chunks/{report-runtime-context-bCy3CVzK.js → report-runtime-context-SM6YO61_.js} +5 -5
  55. package/dist/chunks/saved-temporal-bucket-format-CFfWXRl9.cjs +1 -0
  56. package/dist/chunks/saved-temporal-bucket-format-SGAV0ivR.js +922 -0
  57. package/dist/chunks/{switch-BXet-Sno.js → switch-BeZW-HnS.js} +4350 -5249
  58. package/dist/chunks/switch-D-CCcfhc.cjs +138 -0
  59. package/dist/chunks/temporal-bucket-5UYEotyQ.js +810 -0
  60. package/dist/chunks/temporal-bucket-DHY1y9lq.cjs +1 -0
  61. package/dist/chunks/temporal-bucket-authoring-K1kE6R_z.js +222 -0
  62. package/dist/chunks/temporal-bucket-authoring-o3Emn05L.cjs +1 -0
  63. package/dist/chunks/{temporal-bucket-contract-ChDBWX8I.cjs → temporal-bucket-contract-D2-93DGr.cjs} +1 -1
  64. package/dist/chunks/{temporal-bucket-contract-_F6vNhhH.js → temporal-bucket-contract-D5d-xEl3.js} +1 -1
  65. package/dist/chunks/{token-types-BdQ8kHBm.cjs → token-types-D7CaaI80.cjs} +1 -1
  66. package/dist/chunks/{token-types-BHR58aTy.js → token-types-GbxRUozo.js} +1 -1
  67. package/dist/chunks/{update-policy-BxvYMYz0.cjs → update-policy-BmiOd0PB.cjs} +1 -1
  68. package/dist/chunks/{update-policy-g0rCQ9BM.js → update-policy-hednMF-0.js} +1 -1
  69. package/dist/chunks/validators-BDYprKI9.cjs +1 -0
  70. package/dist/chunks/{validators-Cs74WVie.js → validators-DEmd8Sin.js} +1561 -1197
  71. package/dist/dashboard/index.cjs +1 -1
  72. package/dist/dashboard/index.js +2 -2
  73. package/dist/dashboard-authoring/index.cjs +3 -3
  74. package/dist/dashboard-authoring/index.js +35 -32
  75. package/dist/data-app-builder/index.cjs +1 -1
  76. package/dist/data-app-builder/index.js +2 -2
  77. package/dist/data-app-codegen/index.cjs +1 -1
  78. package/dist/data-app-codegen/index.js +2 -2
  79. package/dist/data-app-codegen-node/index.cjs +1 -1
  80. package/dist/data-app-codegen-node/index.js +3 -3
  81. package/dist/data-app-sdk/index.cjs +1 -1
  82. package/dist/data-app-sdk/index.js +78 -77
  83. package/dist/data-app-sdk-adapters/index.cjs +1 -1
  84. package/dist/data-app-sdk-adapters/index.js +29 -30
  85. package/dist/data-app-sdk-validation/index.cjs +1 -1
  86. package/dist/data-app-sdk-validation/index.js +21 -21
  87. package/dist/format-utils/index.cjs +3 -3
  88. package/dist/format-utils/index.js +156 -140
  89. package/dist/index.cjs +1 -1
  90. package/dist/index.js +157 -155
  91. package/dist/report-runtime-context/index.cjs +1 -1
  92. package/dist/report-runtime-context/index.js +2 -2
  93. package/dist/style.css +1 -1
  94. package/dist/surfboard/index.cjs +1 -1
  95. package/dist/surfboard/index.js +3 -3
  96. package/dist/types/analytics-protocol.d.ts +81 -11
  97. package/dist/types/briefings.d.ts +727 -19
  98. package/dist/types/dashboard-assistant.d.ts +37 -17
  99. package/dist/types/dashboard-authoring.d.ts +61 -14
  100. package/dist/types/dashboard.d.ts +137 -12
  101. package/dist/types/data-app-builder.d.ts +28 -2
  102. package/dist/types/data-app-codegen-node.d.ts +29 -3
  103. package/dist/types/data-app-codegen.d.ts +29 -3
  104. package/dist/types/data-app-sdk-adapters.d.ts +28 -2
  105. package/dist/types/data-app-sdk-validation.d.ts +51 -7
  106. package/dist/types/data-app-sdk.d.ts +55 -10
  107. package/dist/types/format-utils.d.ts +190 -3
  108. package/dist/types/index.cjs +1 -1
  109. package/dist/types/index.js +4 -4
  110. package/dist/types/main.d.ts +128 -33
  111. package/dist/types/shared.d.ts +14 -12
  112. package/dist/types/surfboard.d.ts +138 -13
  113. package/dist/types/types.d.ts +117 -23
  114. package/dist/types/value-format-preferences.d.ts +3 -0
  115. package/package.json +2 -1
  116. package/dist/chunks/card-config-utils-15sRtebL.cjs +0 -1
  117. package/dist/chunks/card-config-utils-BYZ5MJOh.js +0 -16
  118. package/dist/chunks/catalog-field-grounding-Bnx-3tE0.cjs +0 -1
  119. package/dist/chunks/catalog-field-grounding-S2jKwKGD.js +0 -100
  120. package/dist/chunks/dashboard-briefing-launcher-DDgDr2s3.cjs +0 -26
  121. package/dist/chunks/dashboard-date-comparison-definition-DZq0htjG.cjs +0 -1
  122. package/dist/chunks/dashboard-input-contract-DSt8dGzP.js +0 -18
  123. package/dist/chunks/dashboard-input-contract-DV3cshjz.cjs +0 -1
  124. package/dist/chunks/dashboard-json-CYtvwtvj.cjs +0 -1
  125. package/dist/chunks/edit-dashboard-visual-DwKcvlsF.cjs +0 -177
  126. package/dist/chunks/editor-action-buttons-BVmsk0Aj.cjs +0 -16
  127. package/dist/chunks/format-types-CSv0V7mm.cjs +0 -1
  128. package/dist/chunks/format-types-DZGgYj39.js +0 -1663
  129. package/dist/chunks/index-CJdxSyQq.js +0 -2578
  130. package/dist/chunks/index-DPv8_Ild.cjs +0 -1395
  131. package/dist/chunks/index-DRlMUglg.cjs +0 -4
  132. package/dist/chunks/metric-comparison-97zHGEx5.js +0 -387
  133. package/dist/chunks/metric-comparison-CUAJ8n4y.cjs +0 -1
  134. package/dist/chunks/pivot-result-lifecycle-BBabQ_da.js +0 -914
  135. package/dist/chunks/pivot-result-lifecycle-DPc0ANwk.cjs +0 -4
  136. package/dist/chunks/presentation-execution-BLfPTGX_.js +0 -637
  137. package/dist/chunks/presentation-execution-BTV-Q43g.cjs +0 -1
  138. package/dist/chunks/report-preferences-dialog-D9ZCGh9l.js +0 -691
  139. package/dist/chunks/report-preferences-dialog-DaqTEcac.cjs +0 -1
  140. package/dist/chunks/switch-Cjk6G06r.cjs +0 -138
  141. package/dist/chunks/temporal-bucket-BnPxGrAi.js +0 -446
  142. package/dist/chunks/temporal-bucket-authoring-CPTwHzvs.cjs +0 -1
  143. package/dist/chunks/temporal-bucket-authoring-CgOuakGW.js +0 -205
  144. package/dist/chunks/temporal-bucket-pMnV-4Nj.cjs +0 -1
  145. package/dist/chunks/temporal-result-owner-6peubmhU.js +0 -443
  146. package/dist/chunks/temporal-result-owner-f6-i65Fb.cjs +0 -1
  147. package/dist/chunks/validators-9D4KBqKD.cjs +0 -1
@@ -1,21 +1,23 @@
1
1
  import { jsx as e, jsxs as r, Fragment as W } from "react/jsx-runtime";
2
2
  import jt, { useState as E, useEffect as J, useMemo as ee, useContext as Wt, useRef as he, useCallback as q } from "react";
3
- import { aH as Se, aI as De, aK as ke, bb as yt, b_ as Ht, co as Gt, cp as Kt, aZ as fe, cc as Ct, bm as Ve, s as qt, o as Xt, cq as Yt, aP as Je, aS as et, aT as tt, aU as rt, aV as at, aW as nt, aX as st, aY as wt, bl as ot, aG as O, cr as Zt, cs as Qt, ct as Ke, cd as Oe, ce as ze, cu as Nt, cf as _e, bY as K, b1 as Jt, bD as Re, cv as er, bX as tr, aJ as it, aL as lt, cw as rr, aF as ar, ba as nr, by as St, cx as sr, b$ as or, u as ir, aM as lr, b3 as cr, az as $e, O as ue, aw as ct, as as Dt, at as dt, P as kt, ar as dr, ay as ur, cj as hr, cy as mr, bw as pr, au as pt, R as fr, T as gr, cz as br, cA as xr, cB as vr, cC as yr, cD as Cr, cE as wr, cF as Nr, cG as Sr, cH as At, cI as Dr, b4 as kr, cJ as Ar, cg as Et, cK as Er, cL as Ir, cM as Be, cN as Fr, cO as Lr, cP as Br, an as Tr, ap as Vr, a3 as Rr, a2 as Ur, a1 as Pr, a0 as Mr, Z as Or, X as zr, cQ as _r, cR as $r, cS as jr, cT as Wr, cU as Hr, al as Gr, cV as Kr, cW as qr, a9 as Xr, cX as Yr, cY as Zr, cZ as Qr } from "./index-CPuawpXJ.js";
4
- import { B, O as Ne, Z as Ze, L as te, M as It, d as Ft, c as X, K as Jr, D as ge, u as P, z as be, aG as ft, av as Lt, au as Qe, E as Bt, P as Ue, a as Pe, b as Me, aH as ea, aI as ta, S as Tt, aJ as ra, aK as aa, aL as na, aE as sa } from "./switch-BXet-Sno.js";
3
+ import { aH as Se, aI as De, aK as ke, bb as yt, bZ as Ht, cn as Gt, co as Kt, aZ as fe, cb as Ct, bl as Ve, s as qt, o as Xt, cp as Zt, aP as Je, aS as et, aT as tt, aU as rt, aV as at, aW as nt, aX as st, aY as wt, bk as ot, aG as O, cq as Qt, cr as Yt, cs as Ke, cc as Oe, cd as ze, ct as Nt, ce as _e, bX as K, b1 as Jt, bC as Re, cu as er, bW as tr, aJ as it, aL as lt, cv as rr, aF as ar, ba as nr, bx as St, cw as sr, b_ as or, u as ir, aM as lr, b3 as cr, az as $e, O as ue, aw as ct, as as Dt, at as dt, P as kt, ar as dr, ay as ur, ci as hr, cx as mr, bv as pr, au as pt, R as fr, T as gr, cy as br, cz as xr, cA as vr, cB as yr, cC as Cr, cD as wr, cE as Nr, cF as Sr, cG as At, cH as Dr, b4 as kr, cI as Ar, cf as Et, cJ as Er, cK as Ir, cL as Be, cM as Fr, cN as Lr, cO as Br, an as Tr, ap as Vr, a3 as Rr, a2 as Ur, a1 as Pr, a0 as Mr, Z as Or, X as zr, cP as _r, cQ as $r, cR as jr, cS as Wr, cT as Hr, al as Gr, cU as Kr, cV as qr, a9 as Xr, cW as Zr, cX as Qr, cY as Yr } from "./index-DAoS4BNU.js";
4
+ import { B, O as Ne, Z as Qe, L as te, M as It, d as Ft, c as X, K as Jr, D as ge, u as P, z as be, av as Lt, au as Ye, E as Bt, P as Ue, a as Pe, b as Me, aG as ea, aH as ta, S as Tt, aI as ra, aJ as aa, aK as na, aE as sa } from "./switch-BeZW-HnS.js";
5
5
  import { L as ut } from "./layout-grid-CiubineE.js";
6
6
  import { c as Ae, X as je, C as Vt } from "./x-CXDkqdur.js";
7
- import { u as ht, V as oa, E as qe, a as Xe, b as ia, c as la, L as ca, d as da, e as Rt, C as Ut, F as ua, f as ha } from "./editor-action-buttons-BPo_45pM.js";
8
- import "./validators-Cs74WVie.js";
9
- import "./analyze-result-contract-T-0Ntzys.js";
7
+ import { u as ht, V as oa, E as qe, a as Xe, b as ia, c as la, L as ca, d as da, e as Rt, C as Ut, F as ua, f as ha } from "./editor-action-buttons-B2l3WIRC.js";
8
+ import { v as ft } from "./saved-temporal-bucket-format-SGAV0ivR.js";
9
+ import "./validators-DEmd8Sin.js";
10
+ import "./analyze-result-contract-BbRJ-C06.js";
10
11
  import "../value-format-preferences/index.js";
11
12
  import { S as ma } from "./search-BHsQIWBV.js";
12
13
  import { M as pa } from "./mouse-pointer-2-BZvGk45-.js";
13
- import { y as gt } from "./pivot-result-lifecycle-BBabQ_da.js";
14
- import "./index-CJdxSyQq.js";
15
- import "./temporal-bucket-authoring-CgOuakGW.js";
16
- import "./temporal-result-owner-6peubmhU.js";
14
+ import { u as gt } from "./pivot-header-presentation-ckYOQ4aZ.js";
15
+ import "./index-DSKR3nKn.js";
16
+ import "./temporal-bucket-authoring-K1kE6R_z.js";
17
+ import "./canonical-result-keys-D6avdjpA.js";
18
+ import "./color-CJvdlFM_.js";
17
19
  import "react-dom";
18
- import { getBriefingPresentation as se, describeBriefingSchedule as fa, getBriefingCreationIntents as ga } from "../briefings/index.js";
20
+ import { g as se, d as fa, a as ga } from "./index-Ca784dpx.js";
19
21
  /**
20
22
  * @license lucide-react v0.453.0 - ISC
21
23
  *
@@ -146,7 +148,7 @@ function wa({
146
148
  /* @__PURE__ */ r("div", { className: "space-y-1.5", children: [
147
149
  /* @__PURE__ */ e(Ne, { htmlFor: "visual-title", className: "text-[12px]", children: "Name" }),
148
150
  /* @__PURE__ */ e(
149
- Ze,
151
+ Qe,
150
152
  {
151
153
  id: "visual-title",
152
154
  size: "sm",
@@ -163,7 +165,7 @@ function wa({
163
165
  /* @__PURE__ */ r("div", { className: "space-y-1.5", children: [
164
166
  /* @__PURE__ */ e(Ne, { htmlFor: "visual-description", className: "text-[12px]", children: "Description" }),
165
167
  /* @__PURE__ */ e(
166
- Ze,
168
+ Qe,
167
169
  {
168
170
  id: "visual-description",
169
171
  size: "sm",
@@ -224,13 +226,13 @@ function Na(t, a) {
224
226
  }
225
227
  function Sa(t) {
226
228
  const a = (t || "").toLowerCase();
227
- return a.includes("table") ? It : a.includes("pie") || a.includes("donut") ? Zt : a.includes("line") ? Qt : a.includes("bar") ? Jr : ut;
229
+ return a.includes("table") ? It : a.includes("pie") || a.includes("donut") ? Qt : a.includes("line") ? Yt : a.includes("bar") ? Jr : ut;
228
230
  }
229
231
  function Da({ visual: t }) {
230
232
  const a = t.ownership.status === "public" ? "Public" : t.ownership.status === "shared" || t.ownership.sharedCount > 0 ? "Shared" : "Private";
231
233
  return /* @__PURE__ */ e("span", { className: "inline-flex items-center rounded-[4px] border border-border/60 px-1.5 py-px text-[11px] text-muted-foreground", children: a });
232
234
  }
233
- function zn({
235
+ function $n({
234
236
  open: t,
235
237
  onOpenChange: a
236
238
  }) {
@@ -261,19 +263,19 @@ function zn({
261
263
  startUpdating: We,
262
264
  stopUpdating: ve,
263
265
  isUpdating: He
264
- } = Kt(), Z = x, z = ee(() => {
266
+ } = Kt(), Q = x, z = ee(() => {
265
267
  const v = i.trim().toLowerCase();
266
- return v ? Z.filter(
268
+ return v ? Q.filter(
267
269
  (L) => {
268
270
  var M, ae, oe;
269
271
  return ((M = L.title) == null ? void 0 : M.toLowerCase().includes(v)) || ((ae = L.description) == null ? void 0 : ae.toLowerCase().includes(v)) || ((oe = L.kind) == null ? void 0 : oe.toLowerCase().includes(v));
270
272
  }
271
- ) : Z;
272
- }, [i, Z]), re = ee(
273
- () => Z.filter(
273
+ ) : Q;
274
+ }, [i, Q]), re = ee(
275
+ () => Q.filter(
274
276
  (v) => n.has(v.id)
275
277
  ),
276
- [n, Z]
278
+ [n, Q]
277
279
  ), ie = re.filter(
278
280
  (v) => v.permissions.canDelete
279
281
  ), le = re.filter(
@@ -289,7 +291,7 @@ function zn({
289
291
  ce((L) => {
290
292
  L.has(v) ? L.delete(v) : L.add(v);
291
293
  });
292
- }, Q = () => {
294
+ }, Y = () => {
293
295
  c((v) => {
294
296
  const L = new Set(v);
295
297
  return ye ? z.forEach(
@@ -373,7 +375,7 @@ function zn({
373
375
  );
374
376
  }, de = (v) => {
375
377
  a(v), v || N();
376
- }, Y = C ? 1 : ie.length;
378
+ }, Z = C ? 1 : ie.length;
377
379
  return /* @__PURE__ */ r(W, { children: [
378
380
  /* @__PURE__ */ e(Se, { open: t, onOpenChange: de, children: /* @__PURE__ */ r(
379
381
  De,
@@ -441,7 +443,7 @@ function zn({
441
443
  selectedIds: n,
442
444
  allFilteredSelected: ye,
443
445
  someFilteredSelected: Ee,
444
- onSelectAll: Q,
446
+ onSelectAll: Y,
445
447
  onToggleSelection: me,
446
448
  onAddVisual: Ce,
447
449
  onOpenVisual: $,
@@ -546,7 +548,7 @@ function zn({
546
548
  }
547
549
  ),
548
550
  o && /* @__PURE__ */ e(
549
- Yt,
551
+ Zt,
550
552
  {
551
553
  open: !!o,
552
554
  resourceLabel: "Visual",
@@ -568,9 +570,9 @@ function zn({
568
570
  /* @__PURE__ */ r(tt, { children: [
569
571
  /* @__PURE__ */ r(rt, { children: [
570
572
  "Delete ",
571
- Y,
573
+ Z,
572
574
  " visual",
573
- Y === 1 ? "" : "s",
575
+ Z === 1 ? "" : "s",
574
576
  "?"
575
577
  ] }),
576
578
  /* @__PURE__ */ e(at, { children: "This cannot be undone. Visuals already added to dashboards may need to be removed from those dashboards separately." })
@@ -583,7 +585,7 @@ function zn({
583
585
  onClick: (v) => {
584
586
  v.preventDefault(), Ie();
585
587
  },
586
- disabled: G || Y === 0,
588
+ disabled: G || Z === 0,
587
589
  children: [
588
590
  G ? /* @__PURE__ */ e(te, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ e(Ve, { className: "h-3.5 w-3.5" }),
589
591
  G ? "Deleting..." : "Delete"
@@ -903,7 +905,7 @@ function Ia({
903
905
  /* @__PURE__ */ r("div", { className: "grid gap-2", children: [
904
906
  /* @__PURE__ */ e(Ne, { htmlFor: "name", children: "Name" }),
905
907
  /* @__PURE__ */ e(
906
- Ze,
908
+ Qe,
907
909
  {
908
910
  id: "name",
909
911
  value: m,
@@ -998,7 +1000,7 @@ function Fa() {
998
1000
  if (b.saveToCurrentDashboard)
999
1001
  try {
1000
1002
  A = await N(H, {
1001
- previousFrame: Qe(h, H.id)
1003
+ previousFrame: Ye(h, H.id)
1002
1004
  });
1003
1005
  } catch (j) {
1004
1006
  console.error(
@@ -1028,7 +1030,7 @@ function Fa() {
1028
1030
  };
1029
1031
  try {
1030
1032
  const V = await N(H, {
1031
- previousFrame: Qe(h, H.id)
1033
+ previousFrame: Ye(h, H.id)
1032
1034
  });
1033
1035
  y(f, A, {
1034
1036
  position: "end",
@@ -1046,7 +1048,7 @@ function Fa() {
1046
1048
  isSaving: k.isPending
1047
1049
  };
1048
1050
  }
1049
- function _n(t = {}) {
1051
+ function jn(t = {}) {
1050
1052
  const { isInspectionMode: a } = or(), i = ge((A) => A.frame), s = ge((A) => A.editorContext), n = ir((A) => A.selectedVisual), c = P((A) => A.selectedFrameId), u = P((A) => A.selectedSheetId), m = P((A) => A.dashboard), { setIsVisualEditing: l, updateFrame: d } = be(), [o, f] = E(!1), [h, p] = E("both"), C = St(), y = (s == null ? void 0 : s.type) === "documentSection", D = !!(i != null && i.visualId || n != null && n.id), I = !!(i != null && i.visualId && c), N = D && !I, {
1051
1053
  saveAsDialogOpen: g,
1052
1054
  setSaveAsDialogOpen: S,
@@ -1086,7 +1088,7 @@ function _n(t = {}) {
1086
1088
  const j = {
1087
1089
  ...A,
1088
1090
  visualId: void 0
1089
- }, xe = Qe(m, j.id);
1091
+ }, xe = Ye(m, j.id);
1090
1092
  try {
1091
1093
  const G = await C(j, {
1092
1094
  previousFrame: xe
@@ -1198,7 +1200,7 @@ function _n(t = {}) {
1198
1200
  )
1199
1201
  ] });
1200
1202
  }
1201
- function $n({ className: t }) {
1203
+ function Wn({ className: t }) {
1202
1204
  const a = ge((d) => d.isDevMode), i = P((d) => d.isVisualEditing), { setIsDevMode: s } = Bt(), { config: n } = Wt(lr).tokenProps, c = (n == null ? void 0 : n.showAdvancedMode) !== !1;
1203
1205
  if (!i || !c)
1204
1206
  return null;
@@ -1221,7 +1223,7 @@ function $n({ className: t }) {
1221
1223
  }
1222
1224
  );
1223
1225
  }
1224
- function jn({
1226
+ function Hn({
1225
1227
  open: t,
1226
1228
  onOpenChange: a,
1227
1229
  onSave: i,
@@ -1266,7 +1268,7 @@ function Ua(t) {
1266
1268
  const a = Date.now() - t.getTime();
1267
1269
  return a < Va ? La : a < Ra ? Ba : Ta;
1268
1270
  }
1269
- function Wn() {
1271
+ function Gn() {
1270
1272
  const { authToken: t, tokenProps: a } = $e(), i = ue((h) => h.activeExports), [s, n] = E(
1271
1273
  typeof document < "u" ? !document.hidden : !0
1272
1274
  ), c = he(null), u = he(!1), m = he(void 0), l = a == null ? void 0 : a.apiServiceUrl, d = t == null ? void 0 : t.accessToken, o = q(() => {
@@ -1380,7 +1382,7 @@ function Wn() {
1380
1382
  inProgressCount: o().length
1381
1383
  };
1382
1384
  }
1383
- function Hn() {
1385
+ function Kn() {
1384
1386
  const { authToken: t, tokenProps: a } = $e(), i = ue((m) => m.activeExports), { addExport: s } = kt(), n = he(!1), c = a == null ? void 0 : a.apiServiceUrl, u = t == null ? void 0 : t.accessToken;
1385
1387
  J(() => {
1386
1388
  if (n.current || !c || !u) return;
@@ -1664,7 +1666,7 @@ function Oa() {
1664
1666
  )) }) })
1665
1667
  ] });
1666
1668
  }
1667
- function Gn({
1669
+ function qn({
1668
1670
  variant: t
1669
1671
  }) {
1670
1672
  const a = ue((l) => l.activeExports), i = gr(), s = a.size > 0, n = Array.from(a.values()).some(
@@ -2125,7 +2127,7 @@ function Xa() {
2125
2127
  hasEntities: !!(u != null && u.selectedEntities && u.selectedEntities.length > 0)
2126
2128
  };
2127
2129
  }
2128
- function Ya() {
2130
+ function Za() {
2129
2131
  const t = P((l) => l.dashboard), a = P(
2130
2132
  (l) => l.semanticExecutionPayload
2131
2133
  ), i = P((l) => l.actions.addFilter), { hasEntities: s } = Xa(), { isLoading: n } = Dr(), c = ee(
@@ -2158,7 +2160,7 @@ function Ya() {
2158
2160
  ] });
2159
2161
  }
2160
2162
  const vt = !1;
2161
- function Za({
2163
+ function Qa({
2162
2164
  onAddFilter: t,
2163
2165
  onAddControl: a,
2164
2166
  onManageControls: i,
@@ -2172,7 +2174,7 @@ function Za({
2172
2174
  return n == null || n.showDownloadButton, /* @__PURE__ */ r("div", { className: "w-[300px]", children: [
2173
2175
  /* @__PURE__ */ r("div", { className: "p-1", children: [
2174
2176
  /* @__PURE__ */ e(
2175
- Ye,
2177
+ Ze,
2176
2178
  {
2177
2179
  icon: At,
2178
2180
  label: "Add filter",
@@ -2182,7 +2184,7 @@ function Za({
2182
2184
  }
2183
2185
  ),
2184
2186
  /* @__PURE__ */ e(
2185
- Ye,
2187
+ Ze,
2186
2188
  {
2187
2189
  icon: Tt,
2188
2190
  label: "Add control",
@@ -2192,7 +2194,7 @@ function Za({
2192
2194
  }
2193
2195
  ),
2194
2196
  /* @__PURE__ */ e(
2195
- Ye,
2197
+ Ze,
2196
2198
  {
2197
2199
  icon: Et,
2198
2200
  label: "Manage controls",
@@ -2207,7 +2209,7 @@ function Za({
2207
2209
  /* @__PURE__ */ e("p", { className: "px-1 text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Display" }),
2208
2210
  vt,
2209
2211
  /* @__PURE__ */ e(
2210
- Qa,
2212
+ Ya,
2211
2213
  {
2212
2214
  id: "filter-display-wrap",
2213
2215
  label: "Wrap to multiple lines",
@@ -2219,7 +2221,7 @@ function Za({
2219
2221
  ] })
2220
2222
  ] });
2221
2223
  }
2222
- function Ye({
2224
+ function Ze({
2223
2225
  icon: t,
2224
2226
  label: a,
2225
2227
  onClick: i
@@ -2237,7 +2239,7 @@ function Ye({
2237
2239
  }
2238
2240
  );
2239
2241
  }
2240
- function Qa({
2242
+ function Ya({
2241
2243
  id: t,
2242
2244
  label: a,
2243
2245
  checked: i,
@@ -2255,7 +2257,7 @@ function Qa({
2255
2257
  )
2256
2258
  ] });
2257
2259
  }
2258
- function Kn({
2260
+ function Xn({
2259
2261
  size: t,
2260
2262
  className: a,
2261
2263
  primaryButtonClassName: i,
@@ -2298,9 +2300,9 @@ function Kn({
2298
2300
  {
2299
2301
  showFilters: D ? !1 : o,
2300
2302
  onShowFiltersChange: N,
2301
- pickerContent: /* @__PURE__ */ e(Ya, {}),
2303
+ pickerContent: /* @__PURE__ */ e(Za, {}),
2302
2304
  settingsContent: (b) => /* @__PURE__ */ e(
2303
- Za,
2305
+ Qa,
2304
2306
  {
2305
2307
  onAddFilter: g,
2306
2308
  onAddControl: S,
@@ -3009,10 +3011,10 @@ function vn({
3009
3011
  }
3010
3012
  }), o = he(!1);
3011
3013
  return J(() => {
3012
- o.current || (o.current = !0, Yr(a.status) ? d(a) : Zr(a.status) && n(a));
3013
- }, [a, n, d]), /* @__PURE__ */ e(Qr, { run: m, onExpand: u });
3014
+ o.current || (o.current = !0, Zr(a.status) ? d(a) : Qr(a.status) && n(a));
3015
+ }, [a, n, d]), /* @__PURE__ */ e(Yr, { run: m, onExpand: u });
3014
3016
  }
3015
- function qn(t) {
3017
+ function Zn(t) {
3016
3018
  return /* @__PURE__ */ e(Tr, { children: /* @__PURE__ */ e(yn, { ...t }) });
3017
3019
  }
3018
3020
  function yn({
@@ -3037,7 +3039,7 @@ function yn({
3037
3039
  o ?? "analytical_briefing"
3038
3040
  ), [x, T] = E("dashboard"), [F, H] = E(
3039
3041
  []
3040
- ), [A, V] = E(null), j = o && !y && !A ? "list" : S, [xe, G] = E(!1), [We, ve] = E(null), [He, Z] = E(null), [z, re] = E(
3042
+ ), [A, V] = E(null), j = o && !y && !A ? "list" : S, [xe, G] = E(!1), [We, ve] = E(null), [He, Q] = E(null), [z, re] = E(
3041
3043
  null
3042
3044
  ), [ie, le] = E(null), ye = he(null), Ee = he(N);
3043
3045
  J(() => {
@@ -3046,7 +3048,7 @@ function yn({
3046
3048
  }, [N, o]);
3047
3049
  const [ce, me] = E(
3048
3050
  null
3049
- ), [Q, Ce] = E(null), _ = i ?? (p == null ? void 0 : p.apiServiceUrl), $ = s ?? (h == null ? void 0 : h.accessToken), ne = ee(() => ({ ...xn, ...f }), [f]), pe = pn(a), Ie = ee(() => {
3051
+ ), [Y, Ce] = E(null), _ = i ?? (p == null ? void 0 : p.apiServiceUrl), $ = s ?? (h == null ? void 0 : h.accessToken), ne = ee(() => ({ ...xn, ...f }), [f]), pe = pn(a), Ie = ee(() => {
3050
3052
  const w = gn(
3051
3053
  F,
3052
3054
  x,
@@ -3070,7 +3072,7 @@ function yn({
3070
3072
  canCreate: C.canCreate,
3071
3073
  analyticalBriefingsEnabled: C.analyticalBriefingsEnabled,
3072
3074
  scheduledReportAvailable: x === "dashboard"
3073
- }), Y = q(async () => {
3075
+ }), Z = q(async () => {
3074
3076
  if (!(!_ || !$)) {
3075
3077
  G(!0), le(null);
3076
3078
  try {
@@ -3091,8 +3093,8 @@ function yn({
3091
3093
  }
3092
3094
  }, [ne, _, $]);
3093
3095
  J(() => {
3094
- !N || j !== "list" || !we || Y();
3095
- }, [we, j, Y, N]);
3096
+ !N || j !== "list" || !we || Z();
3097
+ }, [we, j, Z, N]);
3096
3098
  const v = () => {
3097
3099
  V(null), T("dashboard"), k("list"), g(!0);
3098
3100
  }, L = (w) => {
@@ -3117,26 +3119,26 @@ function yn({
3117
3119
  }
3118
3120
  }, ae = async (w) => {
3119
3121
  if (!(!_ || !$)) {
3120
- Z(w.id);
3122
+ Q(w.id);
3121
3123
  try {
3122
3124
  await ne.runBriefingNow(
3123
3125
  _,
3124
3126
  $,
3125
3127
  w.id,
3126
3128
  { requestId: Cn() }
3127
- ), Y();
3129
+ ), Z();
3128
3130
  } catch (R) {
3129
3131
  O.error(
3130
3132
  R instanceof Error ? R.message : "Could not start the run."
3131
3133
  );
3132
3134
  } finally {
3133
- Z(null);
3135
+ Q(null);
3134
3136
  }
3135
3137
  }
3136
3138
  }, oe = async (w) => {
3137
3139
  if (!_ || !$) return;
3138
3140
  const { noun: R } = se(w), Fe = R === "report" ? "Report" : "Briefing";
3139
- Z(w.id);
3141
+ Q(w.id);
3140
3142
  try {
3141
3143
  const Le = w.status === "PAUSED" ? await ne.resumeBriefing(
3142
3144
  _,
@@ -3149,18 +3151,18 @@ function yn({
3149
3151
  );
3150
3152
  O.success(
3151
3153
  Le.briefing.status === "PAUSED" ? `${Fe} paused` : `${Fe} resumed`
3152
- ), Y();
3154
+ ), Z();
3153
3155
  } catch (Le) {
3154
3156
  O.error(
3155
3157
  Le instanceof Error ? Le.message : `Could not update the ${R} status.`
3156
3158
  );
3157
3159
  } finally {
3158
- Z(null);
3160
+ Q(null);
3159
3161
  }
3160
3162
  }, _t = async () => {
3161
3163
  if (!z || !_ || !$) return;
3162
3164
  const w = z;
3163
- Z(w.id);
3165
+ Q(w.id);
3164
3166
  try {
3165
3167
  await ne.deleteBriefing(
3166
3168
  _,
@@ -3168,13 +3170,13 @@ function yn({
3168
3170
  w.id
3169
3171
  );
3170
3172
  const { noun: R } = se(w);
3171
- O.success(`${R === "report" ? "Report" : "Briefing"} deleted`), re(null), Y();
3173
+ O.success(`${R === "report" ? "Report" : "Briefing"} deleted`), re(null), Z();
3172
3174
  } catch (R) {
3173
3175
  O.error(
3174
3176
  R instanceof Error ? R.message : "Could not delete the briefing."
3175
3177
  );
3176
3178
  } finally {
3177
- Z(null);
3179
+ Q(null);
3178
3180
  }
3179
3181
  }, $t = Ie.length;
3180
3182
  return C.surfaceVisible ? /* @__PURE__ */ r(_r, { open: N, onOpenChange: g, children: [
@@ -3306,12 +3308,12 @@ function yn({
3306
3308
  onCancel: () => g(!1),
3307
3309
  onDeleted: () => {
3308
3310
  const w = A ? se(A).noun : "briefing";
3309
- O.success(`${w === "report" ? "Report" : "Briefing"} deleted`), V(null), k("list"), Y();
3311
+ O.success(`${w === "report" ? "Report" : "Briefing"} deleted`), V(null), k("list"), Z();
3310
3312
  },
3311
3313
  onRunStarted: () => {
3312
3314
  },
3313
3315
  onSaved: (w) => {
3314
- V(w), Y();
3316
+ V(w), Z();
3315
3317
  },
3316
3318
  onMinimizeRun: ({ briefing: w, run: R }) => {
3317
3319
  me({ briefing: w, run: R }), g(!1);
@@ -3332,29 +3334,29 @@ function yn({
3332
3334
  Ce({
3333
3335
  briefing: ce.briefing,
3334
3336
  run: w
3335
- }), me(null), Y();
3337
+ }), me(null), Z();
3336
3338
  },
3337
3339
  onTimeout: () => {
3338
- me(null), Y();
3340
+ me(null), Z();
3339
3341
  },
3340
3342
  onExpand: () => {
3341
3343
  V(ce.briefing), k("author"), me(null), g(!0);
3342
3344
  }
3343
3345
  }
3344
3346
  ) : null,
3345
- Q ? /* @__PURE__ */ e("div", { className: "fixed bottom-4 right-4 z-50 w-[360px]", children: /* @__PURE__ */ e(
3347
+ Y ? /* @__PURE__ */ e("div", { className: "fixed bottom-4 right-4 z-50 w-[360px]", children: /* @__PURE__ */ e(
3346
3348
  Kr,
3347
3349
  {
3348
- title: Q.run.status === "SUCCESS" ? `${Q.briefing.name} is ready` : `${Q.briefing.name} run failed`,
3349
- durationSeconds: Q.run.startedAt && Q.run.completedAt ? Math.max(
3350
+ title: Y.run.status === "SUCCESS" ? `${Y.briefing.name} is ready` : `${Y.briefing.name} run failed`,
3351
+ durationSeconds: Y.run.startedAt && Y.run.completedAt ? Math.max(
3350
3352
  0,
3351
3353
  Math.floor(
3352
- (new Date(Q.run.completedAt).getTime() - new Date(Q.run.startedAt).getTime()) / 1e3
3354
+ (new Date(Y.run.completedAt).getTime() - new Date(Y.run.startedAt).getTime()) / 1e3
3353
3355
  )
3354
3356
  ) : null,
3355
- status: Q.run.status === "SUCCESS" ? "success" : "failed",
3357
+ status: Y.run.status === "SUCCESS" ? "success" : "failed",
3356
3358
  onView: () => {
3357
- V(Q.briefing), k("author"), Ce(null), g(!0);
3359
+ V(Y.briefing), k("author"), Ce(null), g(!0);
3358
3360
  },
3359
3361
  onDismiss: () => Ce(null)
3360
3362
  }
@@ -3404,19 +3406,19 @@ function Cn() {
3404
3406
  return typeof crypto < "u" && typeof crypto.randomUUID == "function" ? crypto.randomUUID() : `briefing-run-now-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`;
3405
3407
  }
3406
3408
  export {
3407
- $n as A,
3409
+ Wn as A,
3408
3410
  _a as D,
3409
3411
  Oa as E,
3410
- Gn as N,
3411
- jn as U,
3412
- zn as V,
3412
+ qn as N,
3413
+ Hn as U,
3414
+ $n as V,
3413
3415
  Ja as W,
3414
- _n as a,
3416
+ jn as a,
3415
3417
  Ma as b,
3416
- Hn as c,
3418
+ Kn as c,
3417
3419
  ja as d,
3418
3420
  qa as e,
3419
- Kn as f,
3420
- qn as g,
3421
- Wn as u
3421
+ Xn as f,
3422
+ Zn as g,
3423
+ Gn as u
3422
3424
  };
@@ -1,21 +1,23 @@
1
1
  import { jsx as e, jsxs as o, Fragment as T } from "react/jsx-runtime";
2
- import { u as S, B as R, aw as mt, z as sr, O as na, Z as sa, c as be, ax as oa, ay as ia, az as ot, aA as xe, aB as pt, aC as or, L as Ge, aD as ir, aE as da, D as $t, Q as Bt, V as Gt, W as zt, Y as Ht, X as la, i as ca, aF as ua } from "./switch-BXet-Sno.js";
3
- import { bz as ma, bA as pa, az as q, aH as dr, bB as ha, aZ as K, aI as lr, aJ as fa, aK as it, aL as dt, aF as ga, bC as ge, bD as Be, bE as ba, bF as jt, bG as cr, bH as ur, bI as xa, bJ as ht, bK as va, bL as ya, bM as wa, bN as Na, bO as Sa, bP as Da, b8 as ve, bQ as ye, aG as C, bR as Ca, bS as mr, bm as ft, bT as ka, bU as Ea, bV as pr, bW as La, bX as hr, bY as V, bZ as Ia, ap as Ma, b_ as Aa, b$ as Pa, c0 as Oa, c1 as _a, n as Ra, u as Fe, t as Ua, o as rt, c2 as Va, c3 as Ta, c4 as Fa, c5 as $a, N as Ba, c6 as Ga, c7 as za, I as qt, c8 as Ha, c9 as ja, ca as qa, cb as Ka, cc as Wa, cd as Kt, ce as Wt, cf as Qt, cg as Qa, ch as Ja, ci as Ya, cj as Xa, b1 as Jt, ck as Za, cl as en, cm as tn, s as rn, cn as an, aP as nn, aS as sn, aT as on, aU as dn, aV as ln, aW as cn, aX as un, aY as Yt, g as lt } from "./index-CPuawpXJ.js";
2
+ import { u as S, B as R, aw as mt, z as sr, O as na, Z as sa, c as be, ax as oa, ay as ia, az as ot, aA as xe, aB as pt, aC as or, L as Ge, aD as ir, aE as da, D as $t, Q as Bt, V as Gt, W as zt, Y as Ht, X as la, i as ca, aF as ua } from "./switch-BeZW-HnS.js";
3
+ import { by as ma, bz as pa, az as q, aH as dr, bA as ha, aZ as K, aI as lr, aJ as fa, aK as it, aL as dt, aF as ga, bB as ge, bC as Be, bD as ba, bE as jt, bF as cr, bG as ur, bH as xa, bI as ht, bJ as va, bK as ya, bL as wa, bM as Na, bN as Sa, bO as Da, b8 as ve, bP as ye, aG as C, bQ as Ca, bR as mr, bl as ft, bS as ka, bT as Ea, bU as pr, bV as La, bW as hr, bX as V, bY as Ia, ap as Ma, bZ as Aa, b_ as Pa, b$ as Oa, c0 as _a, n as Ra, u as Fe, t as Ua, o as rt, c1 as Va, c2 as Ta, c3 as Fa, c4 as $a, N as Ba, c5 as Ga, c6 as za, I as qt, c7 as Ha, c8 as ja, c9 as qa, ca as Ka, cb as Wa, cc as Kt, cd as Wt, ce as Qt, cf as Qa, cg as Ja, ch as Ya, ci as Xa, b1 as Jt, cj as Za, ck as en, cl as tn, s as rn, cm as an, aP as nn, aS as sn, aT as on, aU as dn, aV as ln, aW as cn, aX as un, aY as Yt, g as lt } from "./index-DAoS4BNU.js";
4
4
  import { c as ee, X as fr, C as mn } from "./x-CXDkqdur.js";
5
- import "./validators-Cs74WVie.js";
6
- import "./analyze-result-contract-T-0Ntzys.js";
5
+ import "./saved-temporal-bucket-format-SGAV0ivR.js";
6
+ import "./validators-DEmd8Sin.js";
7
+ import "./analyze-result-contract-BbRJ-C06.js";
7
8
  import "../value-format-preferences/index.js";
8
9
  import * as I from "react";
9
10
  import gr, { useState as N, useMemo as Z, useEffect as ze, useRef as Xt, useLayoutEffect as pn, useCallback as hn } from "react";
10
- import "./index-CJdxSyQq.js";
11
- import "./temporal-bucket-authoring-CgOuakGW.js";
12
- import "./temporal-result-owner-6peubmhU.js";
11
+ import "./index-DSKR3nKn.js";
12
+ import "./temporal-bucket-authoring-K1kE6R_z.js";
13
+ import "./canonical-result-keys-D6avdjpA.js";
14
+ import "./color-CJvdlFM_.js";
13
15
  import { createPortal as fn } from "react-dom";
14
- import "../briefings/index.js";
15
- import { c as gn, u as bn, A as xn, a as vn, f as yn, V as wn, N as Nn, g as Sn, U as Dn } from "./dashboard-briefing-launcher-DCHiEkLE.js";
16
+ import "./index-Ca784dpx.js";
17
+ import { c as gn, u as bn, A as xn, a as vn, f as yn, V as wn, N as Nn, g as Sn, U as Dn } from "./dashboard-briefing-launcher-SYroFdae.js";
16
18
  import { S as Cn, C as kn } from "./search-BHsQIWBV.js";
17
- import { d as br } from "./format-types-DZGgYj39.js";
18
- import { R as En } from "./report-preferences-dialog-D9ZCGh9l.js";
19
+ import { d as br } from "./format-types-CFHQoIuk.js";
20
+ import { R as En } from "./report-preferences-dialog-DDc2WUa0.js";
19
21
  import { u as Ln } from "./use-debounced-dirty-check-BwAbnX_5.js";
20
22
  import { s as at } from "./normalize-dashboard-for-dirty-check-5KpZN8xr.js";
21
23
  import { S as Zt } from "./save-DgMfP0j8.js";
@@ -1677,7 +1679,7 @@ function nr(t, n) {
1677
1679
  semanticExecutionPayload: lt(n)
1678
1680
  };
1679
1681
  }
1680
- function qs() {
1682
+ function Ws() {
1681
1683
  var _t, Rt, Ut, Vt, Tt;
1682
1684
  gn(), bn();
1683
1685
  const {
@@ -2405,5 +2407,5 @@ function Ss({
2405
2407
  return h.searchParams.set("pdfMode", "document"), h.searchParams.set("pageSize", r || "letter"), h.searchParams.set("orientation", s || "portrait"), h.searchParams.set("url", p.toString()), h.toString();
2406
2408
  }
2407
2409
  export {
2408
- qs as default
2410
+ Ws as default
2409
2411
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("./switch-Cjk6G06r.cjs"),s=require("./index-DPv8_Ild.cjs"),U=require("./x-B6ghREd2.cjs");require("./validators-9D4KBqKD.cjs");require("./analyze-result-contract-BHb7sUUW.cjs");require("../value-format-preferences/index.cjs");const y=require("react");require("./index-DRlMUglg.cjs");require("./temporal-bucket-authoring-CPTwHzvs.cjs");require("./temporal-result-owner-f6-i65Fb.cjs");const cs=require("react-dom");require("../briefings/index.cjs");const $=require("./dashboard-briefing-launcher-DDgDr2s3.cjs"),wt=require("./search-BqqhaMx9.cjs"),St=require("./format-types-CSv0V7mm.cjs"),us=require("./report-preferences-dialog-DaqTEcac.cjs"),ms=require("./use-debounced-dirty-check-XHSwAefL.cjs"),qe=require("./normalize-dashboard-for-dirty-check-BXRUMVb2.cjs"),xt=require("./save-3dYRmehL.cjs"),hs=require("./palette-BN-jYtaK.cjs"),ps=require("./braces-v55uLCAK.cjs");function fs(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(a,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return a.default=t,Object.freeze(a)}const M=fs(y);/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("./switch-D-CCcfhc.cjs"),s=require("./index-CLB_NGZ8.cjs"),U=require("./x-B6ghREd2.cjs");require("./saved-temporal-bucket-format-CFfWXRl9.cjs");require("./validators-BDYprKI9.cjs");require("./analyze-result-contract-LPDNldic.cjs");require("../value-format-preferences/index.cjs");const y=require("react");require("./index-ByFbacH7.cjs");require("./temporal-bucket-authoring-o3Emn05L.cjs");require("./canonical-result-keys-BA0HCP4e.cjs");require("./color-CyB5o13F.cjs");const cs=require("react-dom");require("./index-Bn5wlkHt.cjs");const $=require("./dashboard-briefing-launcher-Dwj1i7lr.cjs"),wt=require("./search-BqqhaMx9.cjs"),St=require("./format-types-PSZZ7hG8.cjs"),us=require("./report-preferences-dialog-BgSvlDXa.cjs"),ms=require("./use-debounced-dirty-check-XHSwAefL.cjs"),qe=require("./normalize-dashboard-for-dirty-check-BXRUMVb2.cjs"),xt=require("./save-3dYRmehL.cjs"),hs=require("./palette-BN-jYtaK.cjs"),ps=require("./braces-v55uLCAK.cjs");function fs(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(a,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return a.default=t,Object.freeze(a)}const M=fs(y);/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1 @@
1
+ "use strict";const I=require("./validators-BDYprKI9.cjs");function b(e,n){const t=e.split(".").map(r=>r.trim()),i=n.split(".").map(r=>r.trim());if(t.length===0||i.length===0||t.some(r=>!r)||i.some(r=>!r))return!1;const[s,o]=t.length<=i.length?[t,i]:[i,t],a=o.length-s.length;return s.every((r,c)=>r===o[c+a])}function C(e,n){const t=e.split("."),i=n.split("."),s=t.pop(),o=i.pop();return!!(s&&s===o&&t.length>0&&i.length>0&&b(t.join("."),i.join(".")))}function N(e){const n=e.map(i=>i.trim()).filter(Boolean);if(n.every((i,s)=>n.slice(s+1).every(o=>b(i,o))))return[...n].sort((i,s)=>s.split(".").length-i.split(".").length)[0]}function u(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function D(e){if(typeof e!="string")return"";const n=e.split(".").map(t=>t.trim());return n.length>1&&n.every(Boolean)?n.join("."):""}function v(e){if(typeof e!="string")return"";const n=e.split(".").map(t=>t.trim());return n.length>0&&n.every(Boolean)?n.join("."):""}function d(e){return typeof e=="string"?e.trim():""}function S(e,n){return e.every((t,i)=>e.slice(i+1).every(s=>n(t,s)))}function q(e,n){const t=d(e.id),i=d(e.name),s=d(n.entityId),o=d(n.entityName);return!i||!s&&!o?!1:(!s||s===t||s===i)&&(!o||o===i)}function E(e){const n=u(e.semanticContext)?e.semanticContext:void 0,t=u(e.fieldMeta)?e.fieldMeta:void 0,i=d(n==null?void 0:n.semanticDomainId),s=Array.isArray(n==null?void 0:n.selectedEntities)?n.selectedEntities.filter(g=>u(g)&&g.type==="dataset"):[];if(!!!(i||s.length>0||(t==null?void 0:t.entityType)==="dataset"))return;if(!i)return{status:"unresolved",reason:"incomplete_source_identity"};const a=d(t==null?void 0:t.entityId),r=d(t==null?void 0:t.entityName),c=!!(a||r),f=c?s.filter(g=>q(g,{entityId:a,entityName:r})):s;if(f.length>1)return{status:"unresolved",reason:"incomplete_source_identity"};if(c&&s.length>0&&f.length===0)return{status:"unresolved",reason:"divergent_source_identity"};const l=f[0],m=d(l==null?void 0:l.domainId),p=d(l==null?void 0:l.id),y=d(l==null?void 0:l.name);if(m&&m!==i)return{status:"unresolved",reason:"divergent_source_identity"};const h=p,_=y||r;return _?{status:"resolved",source:{kind:"semantic",domainId:i,datasetName:_,...h?{datasetId:h}:{}}}:{status:"unresolved",reason:"incomplete_source_identity"}}function A(e,n){const t=d(e.connectionId),i=u(e.semanticContext)?e.semanticContext:void 0,s=d(i==null?void 0:i.connectionId);if(t&&s&&t!==s)return{status:"unresolved",reason:"divergent_source_identity"};const o=t||s,a=u(e.fieldMeta)?e.fieldMeta:void 0,r=n.split(".").slice(0,-1).join("."),c=v(e.qualifiedTableName),f=v(a==null?void 0:a.qualifiedEntityName),l=[c,f,r].filter(Boolean),m=N(l);return!m&&l.length>0?{status:"unresolved",reason:"divergent_source_identity"}:!o||!m?{status:"unresolved",reason:"incomplete_source_identity"}:{status:"resolved",source:{kind:"physical",connectionId:o,tableName:m}}}function B(e,n){const t=u(e.fieldMeta)?e.fieldMeta:void 0,i=typeof(t==null?void 0:t.qualifiedFieldName)=="string"?t.qualifiedFieldName.trim():"",s=D(t==null?void 0:t.qualifiedFieldName),o=typeof e.column=="string"?e.column.trim():"",a=D(o),r=typeof e.qualifiedTableName=="string"?e.qualifiedTableName.trim():"",c=v(e.qualifiedTableName);if(i&&!s||n&&r&&!c||o.includes(".")&&!a)return{status:"unresolved",reason:"incomplete_field_identity"};const f=a.split("."),l=a?f[f.length-1]:o,m=n&&c&&l?`${c}.${l}`:"",p=[s,a,m].filter(Boolean);if(!S(p,C))return{status:"unresolved",reason:"divergent_field_identity"};const y=a||s||m;return y?{status:"resolved",qualifiedFieldName:y}:{status:"unresolved",reason:"incomplete_field_identity"}}function F(e){if(!u(e))return{status:"ineligible",reason:"invalid_input"};if(e.kind==="global-date")return{status:"eligible",kind:"global_date"};const n=I.normalizeAnalyticsCatalogDataType(e.dataType);if(n!=="date"&&n!=="datetime")return{status:"ineligible",reason:"non_date_filter"};const t=u(e.fieldMeta)?e.fieldMeta:void 0,i=I.normalizeAnalyticsCatalogDataType(t==null?void 0:t.dataType);if((t==null?void 0:t.dataType)!==void 0&&i!=="date"&&i!=="datetime")return{status:"ineligible",reason:"non_date_filter"};if(e.customFilterPreferences)return{status:"ineligible",reason:"custom_filter"};if(e.targetColumns!==void 0&&(!Array.isArray(e.targetColumns)||e.targetColumns.length>0))return{status:"ineligible",reason:"multi_target_filter"};const s=E(e),o=B(e,s===void 0);if(o.status==="unresolved")return{status:"ineligible",reason:o.reason};const a=s||A(e,o.qualifiedFieldName);return a.status==="resolved"?{status:"eligible",kind:"field_date",qualifiedFieldName:o.qualifiedFieldName,source:a.source}:{status:"ineligible",reason:a.reason}}function T(e){if(!u(e)||e.kind!=="filter"||!u(e.filter))return{status:"ineligible",reason:"invalid_input"};const n=F(e.filter);return n.status==="ineligible"?n:n.kind==="field_date"&&u(e.compatibility)&&e.compatibility.source==="cardInlineFilter"?{status:"ineligible",reason:"card_inline_filter"}:n}function k(e){return T(e).status==="eligible"}exports.isComparisonCapableDashboardDateInputDefinition=k;exports.qualifiedEntityIdentitiesReferToSameEntity=b;exports.qualifiedFieldIdentitiesReferToSameField=C;exports.resolveDashboardDateComparisonFilterDefinition=F;exports.resolveDashboardDateComparisonInputDefinition=T;exports.selectMostQualifiedCompatibleEntityIdentity=N;exports.semanticDatasetMatchesFieldCoordinates=q;
@@ -1,4 +1,4 @@
1
- import { n as h } from "./catalog-field-grounding-S2jKwKGD.js";
1
+ import { n as h } from "./validators-DEmd8Sin.js";
2
2
  function N(e, n) {
3
3
  const t = e.split(".").map((r) => r.trim()), i = n.split(".").map((r) => r.trim());
4
4
  if (t.length === 0 || i.length === 0 || t.some((r) => !r) || i.some((r) => !r))