react-semaphor 0.1.587 → 0.1.589

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 (94) hide show
  1. package/dist/analytics-protocol/index.js +341 -338
  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 +8 -8
  5. package/dist/briefings/index.js +5 -5
  6. package/dist/chunks/{add-to-dashboard-DhP8wVtM.js → add-to-dashboard-C86FsM8D.js} +1 -1
  7. package/dist/chunks/{aggregate-measure-field-DsFXETpI.js → aggregate-measure-field-BrkXsSJp.js} +2 -2
  8. package/dist/chunks/{analytics-base-schemas-BaIQrEzX.js → analytics-base-schemas-8wz9vqn_.js} +173 -165
  9. package/dist/chunks/{assistant-chat-pfJK-T0b.js → assistant-chat-DBPa6sJU.js} +19 -18
  10. package/dist/chunks/{bookmark-impact-BSpGQL1M.js → bookmark-impact-B7pbMx2e.js} +2 -2
  11. package/dist/chunks/{bookmark-state-CL4WEpgB.js → bookmark-state-Bn7k3ttp.js} +5 -5
  12. package/dist/chunks/{card-filter-builder-C8PbhHjq.js → card-filter-builder-CGM7ROM0.js} +99 -99
  13. package/dist/chunks/{comparison-window-caption-CoART8BC.js → comparison-window-caption-fqijZdVd.js} +451 -395
  14. package/dist/chunks/{context-BTLBjQNh.js → context-CVXTFljo.js} +1 -1
  15. package/dist/chunks/{dashboard-CVj1oMoW.js → dashboard-UXH3E31V.js} +1 -1
  16. package/dist/chunks/{dashboard-briefing-launcher-TqA58rKz.js → dashboard-briefing-launcher-CTFuSWH_.js} +313 -329
  17. package/dist/chunks/{dashboard-controls-DQ8FsxAz.js → dashboard-controls-BcxWhOKw.js} +97 -97
  18. package/dist/chunks/{dashboard-json-DM88pmk2.js → dashboard-json-C-oBcKKC.js} +5 -5
  19. package/dist/chunks/dates-BunbHJH0.js +115 -0
  20. package/dist/chunks/{edit-dashboard-visual-BpRnU_6G.js → edit-dashboard-visual-COjKc_Du.js} +2796 -2783
  21. package/dist/chunks/{filter-line-Cu2u1K36.js → filter-line-Dza3ee4w.js} +5 -5
  22. package/dist/chunks/{filter-reach-copy-0Xp97cLk.js → filter-reach-copy-D5AmDHda.js} +944 -942
  23. package/dist/chunks/{filter-value-text-xefXzZlf.js → filter-value-text-DQw4v3nC.js} +6 -6
  24. package/dist/chunks/{index-D_QSeVKy.js → index-dGxJTaP1.js} +39 -39
  25. package/dist/chunks/{layout-grid-9nSS2SL-.js → layout-grid-BG__sPkb.js} +1 -1
  26. package/dist/chunks/{list-filter-CfMPI6v4.js → list-filter-Cb8i7N8f.js} +1 -1
  27. package/dist/chunks/{matrix-analytical-definition-DOVSFFuf.js → matrix-analytical-definition-SN0JUJVk.js} +3 -3
  28. package/dist/chunks/{matrix-member-presentation-BKDyxJho.js → matrix-member-presentation-DVBJR0MA.js} +1 -1
  29. package/dist/chunks/{matrix-operation-contract-BM5TveR3.js → matrix-operation-contract-JSmproo9.js} +15 -15
  30. package/dist/chunks/{metric-comparison-ZmurmEIs.js → metric-comparison-xE_J6hkg.js} +2 -2
  31. package/dist/chunks/{paintbrush-LzAje2ff.js → paintbrush-C310xSuR.js} +1 -1
  32. package/dist/chunks/{palette-DicJG0TC.js → palette-Ci5P91Zb.js} +1 -1
  33. package/dist/chunks/{pivot-header-presentation-CdeTU96P.js → pivot-header-presentation-D-DfPAjb.js} +1 -1
  34. package/dist/chunks/{pivot-result-contract-expectations-Bx_BCu-7.js → pivot-result-contract-expectations-DbBahmgc.js} +545 -536
  35. package/dist/chunks/{pivot-result-identity-Bvs6Uq3v.js → pivot-result-identity-CUsMt_4r.js} +1 -1
  36. package/dist/chunks/{raw-temporal-value-DH-feMc2.js → raw-temporal-value-BnGCWJAL.js} +1 -1
  37. package/dist/chunks/report-preferences-dialog-DtuOcejh.js +1637 -0
  38. package/dist/chunks/{report-runtime-context-NlOXwyRB.js → report-runtime-context-CrOgmuxO.js} +2 -2
  39. package/dist/chunks/{resolve-dashboard-input-context-zEXuitoF.js → resolve-dashboard-input-context-DFBIngUZ.js} +5617 -5485
  40. package/dist/chunks/{save-0wu1Z1U7.js → save-BhhXfp4s.js} +1 -1
  41. package/dist/chunks/{saved-dashboard-context-Cll5LipJ.js → saved-dashboard-context-DKMTP9ib.js} +17 -17
  42. package/dist/chunks/selection-filter-compiler-DkIjp1yH.js +131 -0
  43. package/dist/chunks/{semaphor-ready-indicator-Bnj3H0Dm.js → semaphor-ready-indicator-HGEnCavj.js} +50770 -49867
  44. package/dist/chunks/{shelf-drop-preview-context-B8rmn6BD.js → shelf-drop-preview-context-DaCXCdMA.js} +112 -112
  45. package/dist/chunks/{stored-dashboard-CURqJgoa.js → stored-dashboard-CksluF2S.js} +1539 -1404
  46. package/dist/chunks/{style-sheet-parts-_dGSFzDi.js → style-sheet-parts-CmXmKqGw.js} +33 -33
  47. package/dist/chunks/{table-export-sheet-Dmtqi5NV.js → table-export-sheet-ClSgERQC.js} +1 -1
  48. package/dist/chunks/{token-types-DEe_FP4l.js → token-types-DTocOcwt.js} +1 -1
  49. package/dist/chunks/{upload-CtyOkU_B.js → upload-DDYc1Qjj.js} +1 -1
  50. package/dist/chunks/{validators-CJ8Jh0E8.js → validators-CrYXNnNE.js} +51 -49
  51. package/dist/chunks/{variable-draft-DIv-9y6Q.js → variable-draft-rbtGPvmX.js} +16 -14
  52. package/dist/chunks/visual-choice-DDfHfHvY.js +172 -0
  53. package/dist/dashboard/index.js +2 -2
  54. package/dist/dashboard-authoring/index.js +821 -791
  55. package/dist/format-utils/index.js +162 -158
  56. package/dist/index.js +214 -215
  57. package/dist/report-runtime-context/index.js +2 -2
  58. package/dist/style.css +1 -1
  59. package/dist/surfboard/index.js +2 -2
  60. package/dist/types/index.js +5 -5
  61. package/dist/types/lib/dashboard-view-state/card-view-state.d.ts +39 -2
  62. package/dist/types/lib/dashboard-view-state/date-zoom.d.ts +65 -0
  63. package/dist/types/lib/dashboard-view-state/grain-pick.d.ts +38 -0
  64. package/dist/types/lib/dashboard-view-state/index.d.ts +2 -0
  65. package/dist/types/lib/formatters/grouped-temporal-presentation.d.ts +6 -2
  66. package/dist/types/lib/hooks/interactions/use-drill-actions.d.ts +1 -1
  67. package/dist/types/lib/interactions/get-click-context-from-table.d.ts +2 -2
  68. package/dist/types/lib/query-context/assemble-card-query.d.ts +2 -1
  69. package/dist/types/lib/query-context/build-card-query-context.d.ts +15 -1
  70. package/dist/types/lib/query-context/describe-card-execution-snapshot.d.ts +3 -0
  71. package/dist/types/lib/query-context/resolve-runtime-card-filters.d.ts +14 -1
  72. package/dist/types/lib/stores/dashboard-store.d.ts +7 -1
  73. package/dist/types/lib/types/explorer-types.d.ts +13 -0
  74. package/dist/types/lib/utils/card-config-utils.d.ts +1 -1
  75. package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +32 -0
  76. package/dist/types/shared/analytics-protocol/contracts.d.ts +30 -0
  77. package/dist/types/shared/analytics-protocol/filter-field-ownership.d.ts +13 -0
  78. package/dist/types/shared/dashboard-authoring/automatic-grain.d.ts +77 -0
  79. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +1 -0
  80. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +13 -8
  81. package/dist/types/shared/dashboard-authoring/control-value-resolution.d.ts +24 -0
  82. package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
  83. package/dist/types/shared/dashboard-authoring/kpi-trend-rule.d.ts +6 -29
  84. package/dist/types/shared/dashboard-authoring/variable-draft.d.ts +1 -0
  85. package/dist/types/shared/format-utils/index.d.ts +1 -0
  86. package/dist/types/shared/format-utils/partial-period.d.ts +40 -0
  87. package/dist/types/shared/format-utils/temporal-bucket.d.ts +11 -0
  88. package/dist/types/shared/usage-events/details.d.ts +2 -2
  89. package/dist/usage-events/index.js +1 -1
  90. package/package.json +1 -1
  91. package/dist/chunks/dates-5z3b9Loo.js +0 -136
  92. package/dist/chunks/report-preferences-dialog-CXKmWyLm.js +0 -2028
  93. package/dist/chunks/selection-filter-compiler-BReJy-uv.js +0 -92
  94. package/dist/chunks/visual-choice-BBPizkRo.js +0 -206
@@ -1,8 +1,8 @@
1
- import { j as p, r as y } from "./validators-CJ8Jh0E8.js";
2
- import { r as I } from "./metric-comparison-ZmurmEIs.js";
1
+ import { j as p, r as y } from "./validators-CrYXNnNE.js";
2
+ import { r as I } from "./metric-comparison-xE_J6hkg.js";
3
3
  import "../value-format-preferences/index.js";
4
- import { c as N } from "./raw-temporal-value-DH-feMc2.js";
5
- import { aj as k, ag as T } from "./pivot-result-contract-expectations-Bx_BCu-7.js";
4
+ import { c as N } from "./raw-temporal-value-BnGCWJAL.js";
5
+ import { ak as k, ag as T } from "./pivot-result-contract-expectations-DbBahmgc.js";
6
6
  const d = { kind: "plain" }, g = { kind: "temporal" }, D = {
7
7
  "=": "=",
8
8
  "!=": "!=",
@@ -126,7 +126,7 @@ const A = {
126
126
  "is null": "isNull",
127
127
  "is not null": "isNotNull"
128
128
  };
129
- function j(t, n, e = {}) {
129
+ function W(t, n, e = {}) {
130
130
  const i = t.valueType === "date";
131
131
  return O({
132
132
  subject: n,
@@ -141,6 +141,6 @@ export {
141
141
  g as T,
142
142
  O as a,
143
143
  P as b,
144
- j as d,
144
+ W as d,
145
145
  $ as o
146
146
  };
@@ -1,20 +1,20 @@
1
- var we = Object.defineProperty;
2
- var Oe = (e, n, t) => n in e ? we(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
1
+ var De = Object.defineProperty;
2
+ var Oe = (e, n, t) => n in e ? De(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
3
  var M = (e, n, t) => Oe(e, typeof n != "symbol" ? n + "" : n, t);
4
- import { aD as Ne, a2 as Fe, aq as oe, V as se, k as Re, a1 as Me, Z as F } from "./pivot-result-contract-expectations-Bx_BCu-7.js";
5
- import { T as X, a5 as Le, S as Be } from "./validators-CJ8Jh0E8.js";
4
+ import { aE as Ne, a2 as Fe, ar as oe, V as se, k as Re, a1 as Me, Z as F } from "./pivot-result-contract-expectations-DbBahmgc.js";
5
+ import { T as X, a5 as Le, S as Be } from "./validators-CrYXNnNE.js";
6
6
  import { l as Ue, C as Pe } from "./export-file-format-C-tJsxsf.js";
7
7
  import { z as y } from "zod";
8
- import { ai as Ve, ak as ze, X as je } from "./matrix-operation-contract-BM5TveR3.js";
9
- import "./analytics-base-schemas-BaIQrEzX.js";
8
+ import { ai as Ve, ak as ze, X as je } from "./matrix-operation-contract-JSmproo9.js";
9
+ import "./analytics-base-schemas-8wz9vqn_.js";
10
10
  import "../value-format-preferences/index.js";
11
11
  import { r as qe } from "./rendered-file-D8xEuVVx.js";
12
- import { J as Ke, K as Ge, L as He, M as We, N as Xe, n as Ze, O as Ye, P as Je, Q as Qe, R as et, S as tt, T as nt, U as rt } from "./resolve-dashboard-input-context-zEXuitoF.js";
13
- import { H as ot, I as at } from "./bookmark-state-CL4WEpgB.js";
12
+ import { J as Ke, K as Ge, L as He, M as We, N as Xe, n as Ze, O as Ye, P as Je, Q as Qe, R as et, S as tt, T as nt, U as rt } from "./resolve-dashboard-input-context-DFBIngUZ.js";
13
+ import { H as ot, I as at } from "./bookmark-state-Bn7k3ttp.js";
14
14
  import "./pickers-DkqmtnTL.js";
15
15
  import "./schema-C9NPiIru.js";
16
16
  import "./index-CV_Kzou0.js";
17
- import "./context-BTLBjQNh.js";
17
+ import "./context-CVXTFljo.js";
18
18
  const it = /* @__PURE__ */ new Set(["table", "detailTable"]), ct = /* @__PURE__ */ new Set([
19
19
  "bar",
20
20
  "horizontalBar",
@@ -385,7 +385,7 @@ function S(e, n, t, r) {
385
385
  });
386
386
  });
387
387
  }
388
- function D(e, n, t, r, o = {}) {
388
+ function w(e, n, t, r, o = {}) {
389
389
  if (e == null)
390
390
  return;
391
391
  if (typeof e != "string") {
@@ -407,7 +407,7 @@ function D(e, n, t, r, o = {}) {
407
407
  return a;
408
408
  }
409
409
  function Y(e, n, t) {
410
- const r = D(e, n, 2e3, t);
410
+ const r = w(e, n, 2e3, t);
411
411
  if (r)
412
412
  try {
413
413
  return new URL(r), r;
@@ -450,7 +450,7 @@ function ie(e, n, t) {
450
450
  S(c, `${n}.tokens.color`, l, t);
451
451
  const m = {};
452
452
  l.forEach((d) => {
453
- const f = D(
453
+ const f = w(
454
454
  c[d],
455
455
  `${n}.tokens.color.${d}`,
456
456
  120,
@@ -471,13 +471,13 @@ function ie(e, n, t) {
471
471
  ["fontFamily", "monoFontFamily"],
472
472
  t
473
473
  );
474
- const l = D(
474
+ const l = w(
475
475
  c.fontFamily,
476
476
  `${n}.tokens.typography.fontFamily`,
477
477
  500,
478
478
  t,
479
479
  { allowEmpty: !0 }
480
- ), m = D(
480
+ ), m = w(
481
481
  c.monoFontFamily,
482
482
  `${n}.tokens.typography.monoFontFamily`,
483
483
  500,
@@ -509,7 +509,7 @@ function ie(e, n, t) {
509
509
  field: `${n}.components.chart.palette`,
510
510
  message: "Expected 20 colors or fewer."
511
511
  }) : c = i.palette.map(
512
- (l, m) => D(
512
+ (l, m) => w(
513
513
  l,
514
514
  `${n}.components.chart.palette.${m}`,
515
515
  120,
@@ -553,12 +553,12 @@ function gt(e, n) {
553
553
  function bt(e, n) {
554
554
  const t = "presentation.brandOverrides", r = x(e, t, n);
555
555
  S(r, t, ["brandName", "logoUrl", "link"], n);
556
- const o = D(
556
+ const o = w(
557
557
  r.brandName,
558
558
  `${t}.brandName`,
559
559
  200,
560
560
  n
561
- ), a = Y(r.logoUrl, `${t}.logoUrl`, n), i = D(r.link, `${t}.link`, 120, n);
561
+ ), a = Y(r.logoUrl, `${t}.logoUrl`, n), i = w(r.link, `${t}.link`, 120, n);
562
562
  return {
563
563
  ...o !== void 0 ? { brandName: o } : {},
564
564
  ...a !== void 0 ? { logoUrl: a } : {},
@@ -577,7 +577,7 @@ function Et(e, n) {
577
577
  S(r, t, o, n);
578
578
  const a = {};
579
579
  return o.forEach((i) => {
580
- const c = i === "unsubscribeUrl" ? Y(r[i], `${t}.${i}`, n) : D(
580
+ const c = i === "unsubscribeUrl" ? Y(r[i], `${t}.${i}`, n) : w(
581
581
  r[i],
582
582
  `${t}.${i}`,
583
583
  i === "preHeaderText" ? 200 : 5e3,
@@ -655,7 +655,7 @@ function Ct(e, n) {
655
655
  return e === 1 ? "*" : O(e, n).map((t) => t + 1).join(",");
656
656
  }
657
657
  function ye(e, n) {
658
- return e.every((t) => wt(t, n));
658
+ return e.every((t) => Dt(t, n));
659
659
  }
660
660
  function ar(e) {
661
661
  if (!$t(e))
@@ -803,7 +803,7 @@ function _t(e) {
803
803
  const n = e % 100;
804
804
  return n >= 11 && n <= 13 ? `${e}th` : `${e}${["th", "st", "nd", "rd"][e % 10] ?? "th"}`;
805
805
  }
806
- function Dt(e, n, t) {
806
+ function wt(e, n, t) {
807
807
  const r = (a, i) => new Intl.DateTimeFormat(t, { month: i, timeZone: "UTC" }).format(
808
808
  new Date(Date.UTC(2020, a, 1))
809
809
  );
@@ -828,7 +828,7 @@ function ir(e, n, t = "en-US") {
828
828
  case "weekly":
829
829
  return `Every ${ce(o.weekdays.map(c))} ${i}`;
830
830
  case "monthly": {
831
- const l = Dt(o.interval, o.startMonth, t);
831
+ const l = wt(o.interval, o.startMonth, t);
832
832
  if (o.on.type === "weekday")
833
833
  return `On the ${fe[o.on.ordinal]} ${c(o.on.weekday)} of ${l} ${i}`;
834
834
  const m = o.on.days.map(
@@ -842,7 +842,7 @@ function ir(e, n, t = "en-US") {
842
842
  }
843
843
  }
844
844
  const be = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
845
- function wt(e, n) {
845
+ function Dt(e, n) {
846
846
  return e === "last" || n.some((t) => e <= be[t]);
847
847
  }
848
848
  function cr(e) {
@@ -1236,7 +1236,7 @@ function T(e, n, t, r = {}) {
1236
1236
  c && !o.includes(c) && o.push(c);
1237
1237
  }), r.required && o.length === 0 && s(t, n, "Expected at least one evidence id."), o.length > 0 || r.required ? o : void 0;
1238
1238
  }
1239
- function w(e, n, t, r) {
1239
+ function D(e, n, t, r) {
1240
1240
  return e == null ? n : typeof e != "boolean" ? (s(r, t, "Expected a boolean."), n) : e;
1241
1241
  }
1242
1242
  function ln(e, n) {
@@ -1334,13 +1334,13 @@ function Te(e, n) {
1334
1334
  );
1335
1335
  const r = {
1336
1336
  artifactFormats: dn(t.artifactFormats, n),
1337
- includeEvidence: w(
1337
+ includeEvidence: D(
1338
1338
  t.includeEvidence,
1339
1339
  !0,
1340
1340
  "presentation.includeEvidence",
1341
1341
  n
1342
1342
  ),
1343
- includeSql: w(
1343
+ includeSql: D(
1344
1344
  t.includeSql,
1345
1345
  !0,
1346
1346
  "presentation.includeSql",
@@ -2365,7 +2365,7 @@ function xn(e, n) {
2365
2365
  return s(n, "deliveryConfig.channels", "Expected an array."), [];
2366
2366
  const t = [];
2367
2367
  return e.forEach((r, o) => {
2368
- if (!De(r)) {
2368
+ if (!we(r)) {
2369
2369
  s(
2370
2370
  n,
2371
2371
  `deliveryConfig.channels.${o}`,
@@ -2425,7 +2425,7 @@ function kn(e, n, t) {
2425
2425
  `${n}.channelName`,
2426
2426
  u.attachmentTitle,
2427
2427
  t
2428
- ), i = r.isPrivate === void 0 || r.isPrivate === null ? void 0 : w(
2428
+ ), i = r.isPrivate === void 0 || r.isPrivate === null ? void 0 : D(
2429
2429
  r.isPrivate,
2430
2430
  !1,
2431
2431
  `${n}.isPrivate`,
@@ -2464,7 +2464,7 @@ function _n(e, n, t) {
2464
2464
  );
2465
2465
  return r.length > 0 ? r : void 0;
2466
2466
  }
2467
- function Dn(e, n, t) {
2467
+ function wn(e, n, t) {
2468
2468
  if (e == null)
2469
2469
  return;
2470
2470
  const r = I(e, n, t);
@@ -2484,17 +2484,17 @@ function Dn(e, n, t) {
2484
2484
  r.threadMentions,
2485
2485
  `${n}.threadMentions`,
2486
2486
  t
2487
- ), a = w(
2487
+ ), a = D(
2488
2488
  r.postThreadDetail,
2489
2489
  !0,
2490
2490
  `${n}.postThreadDetail`,
2491
2491
  t
2492
- ), i = w(
2492
+ ), i = D(
2493
2493
  r.includeDashboardLink,
2494
2494
  !0,
2495
2495
  `${n}.includeDashboardLink`,
2496
2496
  t
2497
- ), c = w(
2497
+ ), c = D(
2498
2498
  r.includeBriefingLink,
2499
2499
  !0,
2500
2500
  `${n}.includeBriefingLink`,
@@ -2512,7 +2512,7 @@ function Dn(e, n, t) {
2512
2512
  ...r.includeBriefingLink !== void 0 ? { includeBriefingLink: c } : {}
2513
2513
  };
2514
2514
  }
2515
- function wn(e, n, t) {
2515
+ function Dn(e, n, t) {
2516
2516
  const r = I(e, n, t);
2517
2517
  h(
2518
2518
  r,
@@ -2549,7 +2549,7 @@ function wn(e, n, t) {
2549
2549
  `${n}.summaryOverride`,
2550
2550
  2e3,
2551
2551
  t
2552
- ), l = w(
2552
+ ), l = D(
2553
2553
  r.actionBlockVisible,
2554
2554
  !0,
2555
2555
  `${n}.actionBlockVisible`,
@@ -2558,7 +2558,7 @@ function wn(e, n, t) {
2558
2558
  r.webhookConfig,
2559
2559
  `${n}.webhookConfig`,
2560
2560
  t
2561
- ), d = Dn(
2561
+ ), d = wn(
2562
2562
  r.slackConfig,
2563
2563
  `${n}.slackConfig`,
2564
2564
  t
@@ -2578,7 +2578,7 @@ function On(e, n) {
2578
2578
  return;
2579
2579
  const t = I(e, "deliveryConfig.channelConfigs", n), r = {};
2580
2580
  return Object.entries(t).forEach(([o, a]) => {
2581
- if (!De(o)) {
2581
+ if (!we(o)) {
2582
2582
  s(
2583
2583
  n,
2584
2584
  `deliveryConfig.channelConfigs.${o}`,
@@ -2586,7 +2586,7 @@ function On(e, n) {
2586
2586
  );
2587
2587
  return;
2588
2588
  }
2589
- r[o] = wn(
2589
+ r[o] = Dn(
2590
2590
  a,
2591
2591
  `deliveryConfig.channelConfigs.${o}`,
2592
2592
  n
@@ -2701,7 +2701,7 @@ function vr(e) {
2701
2701
  function $r(e) {
2702
2702
  return typeof e == "string" && Ie.has(e);
2703
2703
  }
2704
- function De(e) {
2704
+ function we(e) {
2705
2705
  return typeof e == "string" && Wt.has(e);
2706
2706
  }
2707
2707
  export {
@@ -2728,7 +2728,7 @@ export {
2728
2728
  Ir as T,
2729
2729
  vr as U,
2730
2730
  $r as V,
2731
- De as W,
2731
+ we as W,
2732
2732
  Qn as X,
2733
2733
  ut as Y,
2734
2734
  st as Z,
@@ -2753,7 +2753,7 @@ export {
2753
2753
  ar as k,
2754
2754
  O as l,
2755
2755
  cr as m,
2756
- wt as n,
2756
+ Dt as n,
2757
2757
  lr as o,
2758
2758
  ge as p,
2759
2759
  he as q,
@@ -1,4 +1,4 @@
1
- import { c as t } from "./style-sheet-parts-_dGSFzDi.js";
1
+ import { c as t } from "./style-sheet-parts-CmXmKqGw.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- import { c as t } from "./style-sheet-parts-_dGSFzDi.js";
1
+ import { c as t } from "./style-sheet-parts-CmXmKqGw.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -1,6 +1,6 @@
1
- import { k as O, l as T, E as ye, m as ee, j as Q, q as ge } from "./raw-temporal-value-DH-feMc2.js";
2
- import { am as C, ao as $, ag as W, ae as p, an as he, af as G, at as pe, ah as ve, a5 as w, I as V, o as ke } from "./validators-CJ8Jh0E8.js";
3
- import { a as Ie } from "./metric-comparison-ZmurmEIs.js";
1
+ import { k as O, l as T, E as ye, m as ee, j as Q, q as ge } from "./raw-temporal-value-BnGCWJAL.js";
2
+ import { am as C, ao as $, ag as W, ae as p, an as he, af as G, at as pe, ah as ve, a5 as w, I as V, o as ke } from "./validators-CrYXNnNE.js";
3
+ import { a as Ie } from "./metric-comparison-xE_J6hkg.js";
4
4
  class J extends Error {
5
5
  constructor(t) {
6
6
  super(t), this.name = "RelativeDateUsageError";
@@ -1,4 +1,4 @@
1
- import { m as p } from "./validators-CJ8Jh0E8.js";
1
+ import { m as p } from "./validators-CrYXNnNE.js";
2
2
  function h(e) {
3
3
  const t = b(e);
4
4
  return d(t) ? t : void 0;
@@ -1,6 +1,6 @@
1
1
  import { z as t } from "zod";
2
- import { y as Le, L as De, V as Ue, W as qe, Z as Me, _ as Be, s as D, J as Z, n as Ge, Q as ze, U as ce, g as Ve, r as We, K as Ke, C as Xe, D as Ze, m as le, b as ue, G as $e } from "./analytics-base-schemas-BaIQrEzX.js";
3
- import { A as k, u as de, J as G, aZ as ee, m as A, B as Ye, aS as $, v as He, l as Je, o as me, a2 as Qe, p as et, a5 as tt, aY as nt } from "./validators-CJ8Jh0E8.js";
2
+ import { z as Le, P as De, X as Ue, Y as qe, $ as Me, a0 as Be, s as D, L as Z, n as Ge, V as ze, W as ce, g as Ve, r as We, N as Xe, E as Ke, F as Ze, o as le, b as ue, I as $e } from "./analytics-base-schemas-8wz9vqn_.js";
3
+ import { A as k, u as de, J as G, aZ as ee, m as A, B as Ye, aS as $, v as He, l as Je, o as me, a2 as Qe, p as et, a5 as tt, aY as nt } from "./validators-CrYXNnNE.js";
4
4
  const Y = {
5
5
  answerSummary: "string",
6
6
  responseDetail: "responseDetail",
@@ -579,7 +579,7 @@ function vt(e) {
579
579
  case "boolean":
580
580
  return t.boolean().optional();
581
581
  case "compactExecutionFieldArray":
582
- return t.array(Ke).optional();
582
+ return t.array(Xe).optional();
583
583
  case "coverage":
584
584
  return Te.optional();
585
585
  case "diagnosticFeedback":
@@ -727,7 +727,7 @@ function Tn(e) {
727
727
  return e.conditions.map((n) => n.label ? n.label : n.operator === "isNull" || n.value === null ? Pt : String(n.value)).join(" · ");
728
728
  }
729
729
  const jt = t.union([
730
- Xe,
730
+ Ke,
731
731
  Ze
732
732
  ]), Ft = t.object({
733
733
  name: t.string().min(1),
@@ -918,7 +918,7 @@ function M(e, n) {
918
918
  return a;
919
919
  }
920
920
  const Wt = /\{([A-Za-z_][A-Za-z0-9_]*)\}/g;
921
- function Kt(e) {
921
+ function Xt(e) {
922
922
  return Array.from(e.matchAll(Wt), (n) => n[1]);
923
923
  }
924
924
  function W(e, n = /* @__PURE__ */ new Set()) {
@@ -974,7 +974,7 @@ function W(e, n = /* @__PURE__ */ new Set()) {
974
974
  kind: xe(d, C),
975
975
  distinct: C,
976
976
  windowed: b,
977
- tokens: Kt(e.slice(p, g)),
977
+ tokens: Xt(e.slice(p, g)),
978
978
  span: { start: l, end: R, argumentStart: p + 1, argumentEnd: I },
979
979
  argumentCount: x,
980
980
  filtered: _
@@ -991,11 +991,11 @@ function W(e, n = /* @__PURE__ */ new Set()) {
991
991
  nestedAggregate: s,
992
992
  windowed: a.some((m) => m.windowed),
993
993
  tokensOutsideAggregates: r,
994
- aggregateInputsComplete: i && Xt(c, n),
994
+ aggregateInputsComplete: i && Kt(c, n),
995
995
  skeleton: c
996
996
  };
997
997
  }
998
- function Xt(e, n) {
998
+ function Kt(e, n) {
999
999
  var m;
1000
1000
  const a = [];
1001
1001
  let r = 0;
@@ -1158,7 +1158,7 @@ const Pe = /* @__PURE__ */ new Set([
1158
1158
  "count_distinct",
1159
1159
  "repeat_safe_other"
1160
1160
  ]);
1161
- function K(e) {
1161
+ function X(e) {
1162
1162
  if (!(!e || !e.trim()))
1163
1163
  return xe(e);
1164
1164
  }
@@ -1194,7 +1194,7 @@ const J = {
1194
1194
  identity: "unresolved",
1195
1195
  unresolved: !0
1196
1196
  }, Fe = { ...J, stage: "row" };
1197
- function X(e) {
1197
+ function K(e) {
1198
1198
  return {
1199
1199
  stage: "row",
1200
1200
  outer: e,
@@ -1218,8 +1218,8 @@ function Qt(e, n) {
1218
1218
  const r = Q(e, n + 1);
1219
1219
  return r === "row_input" ? "raw" : r.unresolved || r.stage === "aggregate" || r.outer ? r : "raw";
1220
1220
  }
1221
- const a = K(e.aggregate);
1222
- return a ? X(a) : "raw";
1221
+ const a = X(e.aggregate);
1222
+ return a ? K(a) : "raw";
1223
1223
  }
1224
1224
  const en = 12;
1225
1225
  function Q(e, n) {
@@ -1228,7 +1228,7 @@ function Q(e, n) {
1228
1228
  const a = typeof e.expression == "string" ? e.expression.trim() : "";
1229
1229
  if (!a)
1230
1230
  return B(
1231
- X(K(e.aggregate) ?? "sum"),
1231
+ K(X(e.aggregate) ?? "sum"),
1232
1232
  e
1233
1233
  );
1234
1234
  const r = W(a), s = ((E = e.calculatedFormula) == null ? void 0 : E.inputFields) || [], c = (u) => {
@@ -1253,8 +1253,8 @@ function Q(e, n) {
1253
1253
  ), g = W(a, p).aggregateInputsComplete;
1254
1254
  if (!d) {
1255
1255
  if (!g) return Fe;
1256
- const u = K(e.aggregate);
1257
- return u ? B(X(u), e) : "row_input";
1256
+ const u = X(e.aggregate);
1257
+ return u ? B(K(u), e) : "row_input";
1258
1258
  }
1259
1259
  const I = !g || o || r.nestedAggregate || l || m.some((u) => u.unresolved) || r.calls.length === 0 && m.length === 0, R = [
1260
1260
  ...r.calls.map((u) => ({ kind: u.kind, distinct: u.distinct })),
@@ -1,5 +1,5 @@
1
- import { T as d, a as g, b as k } from "./analytics-base-schemas-BaIQrEzX.js";
2
- import { p as C } from "./validators-CJ8Jh0E8.js";
1
+ import { T as d, a as g, b as k } from "./analytics-base-schemas-8wz9vqn_.js";
2
+ import { p as C } from "./validators-CrYXNnNE.js";
3
3
  function N(e) {
4
4
  switch (e.kind) {
5
5
  case "monthDay":
@@ -1,4 +1,4 @@
1
- import { c as a } from "./style-sheet-parts-_dGSFzDi.js";
1
+ import { c as a } from "./style-sheet-parts-CmXmKqGw.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- import { c } from "./style-sheet-parts-_dGSFzDi.js";
1
+ import { c } from "./style-sheet-parts-CmXmKqGw.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -1,7 +1,7 @@
1
1
  var d = Object.defineProperty;
2
2
  var c = (e, r, t) => r in e ? d(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
3
  var i = (e, r, t) => c(e, typeof r != "symbol" ? r + "" : r, t);
4
- import { f } from "./pivot-result-contract-expectations-Bx_BCu-7.js";
4
+ import { f } from "./pivot-result-contract-expectations-DbBahmgc.js";
5
5
  class v extends Error {
6
6
  constructor(t, a) {
7
7
  super(`${t}: ${a}`);