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,4 +1,4 @@
1
- import { c as t } from "./switch-BqUan2mN.js";
1
+ import { c as t } from "./switch-ByxH4M7t.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- import { c as t } from "./switch-BqUan2mN.js";
1
+ import { c as t } from "./switch-ByxH4M7t.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -1,8 +1,8 @@
1
- import { r as G } from "./metric-comparison-C8LY7GG5.js";
2
- import { ab as E, aw as Y, av as V, ax as J, au as X, at as ee, a0 as $, P, x as te } from "./validators-hmfNNQz8.js";
3
- import { c as ne, w as h, z as F } from "./zoned-wall-clock-E35Frf9v.js";
1
+ import { r as G } from "./metric-comparison-ljMKYZKa.js";
2
+ import { aj as E, aK as Y, aJ as V, aL as J, aI as X, aH as ee, a8 as $, X as j, H as te } from "./validators-CXTneCA4.js";
3
+ import { c as ne, w as h, z as F } from "./zoned-wall-clock-B1n_WjW3.js";
4
4
  import { z as u } from "zod";
5
- import { c as ie } from "./analytics-base-schemas-BUFUoO6G.js";
5
+ import { d as ie } from "./analytics-base-schemas-CHLxsPfX.js";
6
6
  function ae(e, t) {
7
7
  return G({ ...e, role: t });
8
8
  }
@@ -27,7 +27,7 @@ function Oe(e, t) {
27
27
  if (i !== -1) return { group: n, index: i };
28
28
  }
29
29
  }
30
- function L(e, t) {
30
+ function U(e, t) {
31
31
  const n = e.split(".").map((o) => o.trim()), i = t.split(".").map((o) => o.trim());
32
32
  if (n.length === 0 || i.length === 0 || n.some((o) => !o) || i.some((o) => !o))
33
33
  return !1;
@@ -36,7 +36,7 @@ function L(e, t) {
36
36
  }
37
37
  function se(e, t) {
38
38
  const n = e.split("."), i = t.split("."), a = n.pop(), s = i.pop();
39
- return !!(a && a === s && n.length > 0 && i.length > 0 && L(
39
+ return !!(a && a === s && n.length > 0 && i.length > 0 && U(
40
40
  n.join("."),
41
41
  i.join(".")
42
42
  ));
@@ -45,7 +45,7 @@ function re(e) {
45
45
  const t = e.map((i) => i.trim()).filter(Boolean);
46
46
  if (t.every(
47
47
  (i, a) => t.slice(a + 1).every(
48
- (s) => L(i, s)
48
+ (s) => U(i, s)
49
49
  )
50
50
  ))
51
51
  return [...t].sort(
@@ -55,7 +55,7 @@ function re(e) {
55
55
  function y(e) {
56
56
  return typeof e == "object" && e !== null && !Array.isArray(e);
57
57
  }
58
- function j(e) {
58
+ function P(e) {
59
59
  if (typeof e != "string") return "";
60
60
  const t = e.split(".").map((n) => n.trim());
61
61
  return t.length > 1 && t.every(Boolean) ? t.join(".") : "";
@@ -125,9 +125,9 @@ function ce(e, t) {
125
125
  };
126
126
  }
127
127
  function le(e, t) {
128
- const n = y(e.fieldMeta) ? e.fieldMeta : void 0, i = typeof (n == null ? void 0 : n.qualifiedFieldName) == "string" ? n.qualifiedFieldName.trim() : "", a = j(
128
+ const n = y(e.fieldMeta) ? e.fieldMeta : void 0, i = typeof (n == null ? void 0 : n.qualifiedFieldName) == "string" ? n.qualifiedFieldName.trim() : "", a = P(
129
129
  n == null ? void 0 : n.qualifiedFieldName
130
- ), s = typeof e.column == "string" ? e.column.trim() : "", r = j(s), o = typeof e.qualifiedTableName == "string" ? e.qualifiedTableName.trim() : "", c = N(
130
+ ), s = typeof e.column == "string" ? e.column.trim() : "", r = P(s), o = typeof e.qualifiedTableName == "string" ? e.qualifiedTableName.trim() : "", c = N(
131
131
  e.qualifiedTableName
132
132
  );
133
133
  if (i && !a || t && o && !c || s.includes(".") && !r)
@@ -196,13 +196,13 @@ function We(e, t) {
196
196
  function $e(e, t) {
197
197
  return `compat-card-control:${e}:${t}`;
198
198
  }
199
- function U(e, t) {
199
+ function x(e, t) {
200
200
  if (e) return e;
201
201
  const n = t === void 0 ? "unknown" : E(t);
202
202
  return n === "number" || n === "unknown" ? "SUM" : "COUNT";
203
203
  }
204
204
  function ge(e) {
205
- const t = e.aggregate === U(e.semanticAggregate, e.dataType);
205
+ const t = e.aggregate === x(e.semanticAggregate, e.dataType);
206
206
  return {
207
207
  effectiveAggregate: e.aggregate,
208
208
  aggregateSource: t ? e.semanticAggregate ? "semantic_model" : "default_sum" : "caller_override"
@@ -216,30 +216,30 @@ function ye(e, t, n) {
216
216
  ...i ? ge({ aggregate: t, semanticAggregate: e.semanticAggregate, dataType: e.dataType }) : {}
217
217
  };
218
218
  }
219
- function Pe(e, t, n) {
219
+ function je(e, t, n) {
220
220
  return { ...e, ...ye(e, t, n) };
221
221
  }
222
- function je(e) {
222
+ function Pe(e) {
223
223
  return e.aggregate ?? e.effectiveAggregate;
224
224
  }
225
225
  function Re(e) {
226
226
  if (!e.aggregate) return !1;
227
227
  if (e.aggregateOrigin === "explicit" || e.aggregateSource === "caller_override") return !0;
228
228
  if (e.aggregateSource) {
229
- const t = e.aggregateSource === "default_sum" ? U(void 0, e.dataType) : e.semanticAggregate ?? e.effectiveAggregate;
229
+ const t = e.aggregateSource === "default_sum" ? x(void 0, e.dataType) : e.semanticAggregate ?? e.effectiveAggregate;
230
230
  return t !== void 0 && e.aggregate !== t;
231
231
  }
232
232
  return e.aggregateOrigin !== "default";
233
233
  }
234
234
  const qe = ["label", "labelOrigin", "derivedLabel"];
235
- function xe(e) {
235
+ function Le(e) {
236
236
  return { label: e, labelOrigin: "override", derivedLabel: void 0 };
237
237
  }
238
- function Le(e, t) {
238
+ function Ue(e, t) {
239
239
  const { derivedLabel: n, ...i } = e;
240
240
  return { ...i, label: t, labelOrigin: "override" };
241
241
  }
242
- function Ue(e, t) {
242
+ function xe(e, t) {
243
243
  return e.labelOrigin === "override" ? {} : { label: t, labelOrigin: "semantic" };
244
244
  }
245
245
  function ze(e) {
@@ -274,7 +274,7 @@ function pe(e, t) {
274
274
  function he(e) {
275
275
  return z(e) ? e : `%${e}%`;
276
276
  }
277
- function Ze(e, t) {
277
+ function He(e, t) {
278
278
  const { pattern: n, negate: i } = pe(e, t), a = n.length > 2 && n.startsWith("%") && n.endsWith("%") ? n.slice(1, -1) : void 0, s = a !== void 0 && !z(a) ? a : n;
279
279
  if (he(s) === n)
280
280
  return { operator: i ? "not_contains" : "contains", value: s };
@@ -391,7 +391,7 @@ function C(e, t, n, i = 0) {
391
391
  function q(e, t, n) {
392
392
  return C(e, t, n).start;
393
393
  }
394
- function x(e, t, n) {
394
+ function L(e, t, n) {
395
395
  return new Date(C(e, t, n).endExclusive.getTime() - 1);
396
396
  }
397
397
  function ve(e, t, n, i) {
@@ -400,7 +400,7 @@ function ve(e, t, n, i) {
400
400
  i.tz
401
401
  );
402
402
  }
403
- function He(e, t, n) {
403
+ function Ze(e, t, n) {
404
404
  const i = (a) => {
405
405
  const { year: s, month: r, day: o } = F(a, n);
406
406
  return h({ year: s, month: r, day: o, hour: 0, minute: 0, second: 0 });
@@ -412,14 +412,14 @@ function Ke(e, t) {
412
412
  const { year: n, month: i, day: a } = F(e, t);
413
413
  return `${String(n).padStart(4, "0")}-${String(i).padStart(2, "0")}-${String(a).padStart(2, "0")}`;
414
414
  }
415
- function Z(e) {
415
+ function H(e) {
416
416
  const t = Ie.exec(e);
417
417
  if (!t) return null;
418
418
  const n = Number(t[1]), i = Number(t[2]), a = Number(t[3]);
419
419
  return i < 1 || i > 12 || a < 1 || a > B(n, i) ? null : { year: n, month: i, day: a };
420
420
  }
421
421
  function Qe(e, t) {
422
- const n = Z(e);
422
+ const n = H(e);
423
423
  if (!n) return null;
424
424
  const i = { ...n, hour: 0, minute: 0, second: 0, millisecond: 0 };
425
425
  return {
@@ -439,10 +439,10 @@ function Ge(e, t, n) {
439
439
  } : e.complete ? { start: a(-e.n), end: i(-1) } : { start: ve(n, -e.n, e.unit, t), end: n };
440
440
  case "this": {
441
441
  if (e.boundary && e.unit === "month") {
442
- const s = e.boundary === "first_day" ? q(n, "month", t) : x(n, "month", t);
442
+ const s = e.boundary === "first_day" ? q(n, "month", t) : L(n, "month", t);
443
443
  return {
444
444
  start: q(s, "day", t),
445
- end: x(s, "day", t)
445
+ end: L(s, "day", t)
446
446
  };
447
447
  }
448
448
  return { start: a(0), end: e.toDate ? n : i(0) };
@@ -460,7 +460,7 @@ function Ye(e) {
460
460
  const a = Array.isArray(n) ? n : [n];
461
461
  if (a.length !== 1 || typeof a[0] != "string") return null;
462
462
  const s = a[0].trim();
463
- return Z(s) ? { operation: t, day: s } : null;
463
+ return H(s) ? { operation: t, day: s } : null;
464
464
  }
465
465
  function Ae(e, t) {
466
466
  const n = e.map((i, a) => `${t[a]} ${De(i)}`);
@@ -552,7 +552,7 @@ function Ve(e = {}) {
552
552
  timeWindow: Ae([n, i, a], ["relative window", "calendar window", "absolute window"])
553
553
  };
554
554
  }
555
- function H(e) {
555
+ function Z(e) {
556
556
  const { label: t, ...n } = e;
557
557
  return {
558
558
  dataset: te(n),
@@ -561,7 +561,7 @@ function H(e) {
561
561
  }
562
562
  function K(e) {
563
563
  const { label: t, source: n, ...i } = e;
564
- return { ...i, source: n && H(n) };
564
+ return { ...i, source: n && Z(n) };
565
565
  }
566
566
  function k(e) {
567
567
  const {
@@ -626,7 +626,7 @@ function Q(e) {
626
626
  function Je(e) {
627
627
  return {
628
628
  ...e,
629
- source: H(e.source),
629
+ source: Z(e.source),
630
630
  rows: e.rows.map((t) => ({
631
631
  ...t,
632
632
  field: S(t.field)
@@ -659,14 +659,14 @@ function Je(e) {
659
659
  },
660
660
  // Sort scopes are keyed overrides, unlike ordered axes/calculation inputs.
661
661
  sorts: [...e.sorts].sort((t, n) => {
662
- const i = P(t), a = P(n);
662
+ const i = j(t), a = j(n);
663
663
  return i < a ? -1 : i > a ? 1 : 0;
664
664
  })
665
665
  };
666
666
  }
667
667
  export {
668
668
  qe as A,
669
- Ze as B,
669
+ He as B,
670
670
  O as C,
671
671
  b as D,
672
672
  w as E,
@@ -674,15 +674,15 @@ export {
674
674
  _ as G,
675
675
  be as H,
676
676
  q as I,
677
- x as J,
678
- He as K,
677
+ L as J,
678
+ Ze as K,
679
679
  Ke as L,
680
- Z as M,
680
+ H as M,
681
681
  Qe as N,
682
682
  Ge as O,
683
683
  Ye as P,
684
684
  Ve as Q,
685
- L as R,
685
+ U as R,
686
686
  Be as S,
687
687
  re as T,
688
688
  k as U,
@@ -698,19 +698,19 @@ export {
698
698
  We as h,
699
699
  Fe as i,
700
700
  $e as j,
701
- U as k,
701
+ x as k,
702
702
  ye as l,
703
703
  ge as m,
704
- je as n,
704
+ Pe as n,
705
705
  Re as o,
706
706
  C as p,
707
- xe as q,
707
+ Le as q,
708
708
  fe as r,
709
709
  ve as s,
710
- Le as t,
711
- Ue as u,
710
+ Ue as t,
711
+ xe as u,
712
712
  ze as v,
713
- Pe as w,
713
+ je as w,
714
714
  z as x,
715
715
  pe as y,
716
716
  he as z
@@ -1,6 +1,6 @@
1
- import { l as s, o as f, q as u } from "./validators-hmfNNQz8.js";
2
- import "./matrix-operation-contract-CpgLZ7E5.js";
3
- import "./analytics-base-schemas-BUFUoO6G.js";
1
+ import { l as s, o as f, q as u } from "./validators-CXTneCA4.js";
2
+ import "./matrix-operation-contract-WPv4R-H_.js";
3
+ import "./analytics-base-schemas-CHLxsPfX.js";
4
4
  import "zod";
5
5
  function c(i, r = {}) {
6
6
  var o, e;
@@ -1,4 +1,4 @@
1
- import { t as d } from "./validators-hmfNNQz8.js";
1
+ import { t as d } from "./validators-CXTneCA4.js";
2
2
  const h = [
3
3
  "=",
4
4
  "!=",