react-semaphor 0.1.580 → 0.1.582

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 (46) hide show
  1. package/dist/assistant-context/index.js +1 -1
  2. package/dist/briefings/index.js +2 -2
  3. package/dist/chunks/{assistant-chat-CUwGURJj.js → assistant-chat-CVtxjVEH.js} +6 -6
  4. package/dist/chunks/{bookmark-impact-BNyR-yDX.js → bookmark-impact-BDSeeRy7.js} +1 -1
  5. package/dist/chunks/{card-filter-builder-k9yqDSw8.js → card-filter-builder-CMZ5nwdC.js} +3 -3
  6. package/dist/chunks/{comparison-window-caption-DdLqMgiG.js → comparison-window-caption-sRFtnX1q.js} +15 -15
  7. package/dist/chunks/{dashboard-DvcAk8uJ.js → dashboard-BNn7fpDY.js} +1 -1
  8. package/dist/chunks/{dashboard-briefing-launcher-DBgS97ZH.js → dashboard-briefing-launcher-C9wf8KhD.js} +83 -83
  9. package/dist/chunks/{dashboard-controls-BiZ1rlNC.js → dashboard-controls-PDb9Gap5.js} +8 -8
  10. package/dist/chunks/{dashboard-json-B25xzYcJ.js → dashboard-json-CvtVy2UH.js} +1 -1
  11. package/dist/chunks/{dates-3Pah03_l.js → dates-B42fboJU.js} +5 -5
  12. package/dist/chunks/{edit-dashboard-visual-DYuO3mEU.js → edit-dashboard-visual-Cat0RWPp.js} +2154 -2144
  13. package/dist/chunks/{filter-reach-copy-CzLt96tq.js → filter-reach-copy-C-RH1rVx.js} +148 -148
  14. package/dist/chunks/{filter-value-text-DvvSNlho.js → filter-value-text-DXGYypEd.js} +1 -1
  15. package/dist/chunks/{index-BMZq6JT6.js → index-JWLo4R_t.js} +2 -2
  16. package/dist/chunks/pivot-header-presentation-MvvlxtIB.js +42 -0
  17. package/dist/chunks/{temporal-input-presentation-CqbJjIuu.js → pivot-result-contract-expectations-8tuNjRvG.js} +570 -560
  18. package/dist/chunks/{report-preferences-dialog-DpAetrdY.js → report-preferences-dialog-CwbsD6t6.js} +8 -8
  19. package/dist/chunks/{resolve-dashboard-input-context-CNxtkCzj.js → resolve-dashboard-input-context-6FP1-7aU.js} +6966 -6690
  20. package/dist/chunks/{saved-dashboard-context-Bnt0H7mi.js → saved-dashboard-context-D2G0uLji.js} +3 -3
  21. package/dist/chunks/{semaphor-ready-indicator-Dwmvmf0S.js → semaphor-ready-indicator-UhNS27Gy.js} +26243 -26171
  22. package/dist/chunks/{shelf-drop-preview-context-CiveteBS.js → shelf-drop-preview-context-DPksW68k.js} +2 -2
  23. package/dist/chunks/{stored-dashboard-D3gu-D7A.js → stored-dashboard-KpTy4umJ.js} +1214 -1389
  24. package/dist/chunks/{table-export-sheet-BNGSJA2N.js → table-export-sheet-wBkk17aa.js} +1 -1
  25. package/dist/chunks/{variable-draft-C3_RL2gI.js → variable-draft-CP5I66_J.js} +2 -2
  26. package/dist/dashboard/index.js +1 -1
  27. package/dist/dashboard-authoring/index.js +950 -942
  28. package/dist/format-utils/index.js +207 -206
  29. package/dist/index.js +12 -12
  30. package/dist/style.css +1 -1
  31. package/dist/surfboard/index.js +1 -1
  32. package/dist/types/components/visual/data-table/types/data-table.d.ts +16 -6
  33. package/dist/types/lib/document/document-section-query-options.d.ts +3 -4
  34. package/dist/types/lib/hooks/use-dashboard-frame-query.d.ts +4 -1
  35. package/dist/types/lib/query-context/card-server-request.d.ts +6 -4
  36. package/dist/types/lib/table-formatting/table-totals-settings.d.ts +25 -2
  37. package/dist/types/lib/types/explorer-types.d.ts +7 -2
  38. package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +19 -2
  39. package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +12 -3
  40. package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +4 -1
  41. package/dist/types/shared/dashboard-authoring/measure-calculations/index.d.ts +1 -0
  42. package/dist/types/shared/dashboard-authoring/measure-calculations/table-column-total.d.ts +42 -0
  43. package/dist/types/shared/format-utils/flat-table-export-totals.d.ts +6 -1
  44. package/dist/types/shared/usage-events/details.d.ts +2 -2
  45. package/package.json +1 -1
  46. package/dist/chunks/pivot-result-contract-expectations-C-HnUKYe.js +0 -55
@@ -2,7 +2,7 @@ import { j as p, r as y } from "./validators-B8fpdinG.js";
2
2
  import { a as I } from "./metric-comparison-n9NsIa-2.js";
3
3
  import "../value-format-preferences/index.js";
4
4
  import { c as N } from "./raw-temporal-value-DdT0s47W.js";
5
- import { a9 as k, a8 as T } from "./temporal-input-presentation-CqbJjIuu.js";
5
+ import { aa as k, a9 as T } from "./pivot-result-contract-expectations-8tuNjRvG.js";
6
6
  const d = { kind: "plain" }, g = { kind: "temporal" }, D = {
7
7
  "=": "=",
8
8
  "!=": "!=",
@@ -1,7 +1,7 @@
1
1
  var De = Object.defineProperty;
2
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 { at as Ne, W as Fe, ah as oe, N as se, j as Re, V as Me, R as F } from "./temporal-input-presentation-CqbJjIuu.js";
4
+ import { au as Ne, X as Fe, ah as oe, O as se, k as Re, W as Me, S as F } from "./pivot-result-contract-expectations-8tuNjRvG.js";
5
5
  import { T as X, a5 as Le, S as Be } from "./validators-B8fpdinG.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";
@@ -9,7 +9,7 @@ import { ah as Ve, aj as ze, W as je } from "./matrix-operation-contract-DCVinw1
9
9
  import "./analytics-base-schemas-BaIQrEzX.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-CNxtkCzj.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-6FP1-7aU.js";
13
13
  import { H as ot, I as at } from "./bookmark-state-BEl_G9vr.js";
14
14
  import "./pickers-DkqmtnTL.js";
15
15
  import "./schema-C9NPiIru.js";
@@ -0,0 +1,42 @@
1
+ var d = Object.defineProperty;
2
+ var c = (e, r, t) => r in e ? d(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
+ var i = (e, r, t) => c(e, typeof r != "symbol" ? r + "" : r, t);
4
+ import { f } from "./pivot-result-contract-expectations-8tuNjRvG.js";
5
+ class v extends Error {
6
+ constructor(t, a) {
7
+ super(`${t}: ${a}`);
8
+ i(this, "deliveryBlocking", !0);
9
+ this.code = t, this.name = "PivotHeaderPresentationError";
10
+ }
11
+ }
12
+ function p(e) {
13
+ var l;
14
+ const r = e.mode ?? "formatted", t = e.members.map((o) => {
15
+ var n;
16
+ if (r === "canonical" || !o.temporalBucket)
17
+ return o.value === null ? "" : String(o.value);
18
+ const s = (n = e.resolveTemporalFormat) == null ? void 0 : n.call(e, o.fieldId);
19
+ if (!s)
20
+ throw new v(
21
+ "missing_resolved_temporal_format",
22
+ `Missing resolved temporal presentation for pivot field "${o.fieldId}"`
23
+ );
24
+ return f({
25
+ value: o.value,
26
+ metadata: o.temporalBucket,
27
+ format: s
28
+ });
29
+ }), a = ((l = e.metricLabel) == null ? void 0 : l.trim()) || void 0;
30
+ return {
31
+ memberLabels: t,
32
+ ...a ? { metricLabel: a } : {},
33
+ flattenedLabel: [
34
+ ...t,
35
+ ...a ? [a] : []
36
+ ].join(" / ")
37
+ };
38
+ }
39
+ export {
40
+ v as P,
41
+ p
42
+ };