react-semaphor 0.1.477 → 0.1.479

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 (109) hide show
  1. package/dist/analytics-protocol/index.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +9 -9
  3. package/dist/brand-studio/index.cjs +1 -1
  4. package/dist/brand-studio/index.js +4 -4
  5. package/dist/briefings/index.cjs +1 -1
  6. package/dist/briefings/index.js +4 -4
  7. package/dist/chunks/{analyze-result-contract-OgPk-zGu.cjs → analyze-result-contract-BX_nQmPN.cjs} +1 -1
  8. package/dist/chunks/{analyze-result-contract-C8s8EUL5.js → analyze-result-contract-DsiAzCYn.js} +1 -1
  9. package/dist/chunks/{saved-temporal-bucket-format-CHsXUPJI.js → card-config-utils-CyDKaPNT.js} +190 -190
  10. package/dist/chunks/card-config-utils-D3Xuu0ub.cjs +1 -0
  11. package/dist/chunks/{common-types-C1IM7gao.cjs → common-types-BCSbPclk.cjs} +1 -1
  12. package/dist/chunks/{common-types-BLPy5_E0.js → common-types-D3r4PILe.js} +1 -1
  13. package/dist/chunks/{dashboard-briefing-launcher-CXHq6ime.cjs → dashboard-briefing-launcher-DWwSdfV7.cjs} +2 -2
  14. package/dist/chunks/{dashboard-briefing-launcher-C9d8CPxv.js → dashboard-briefing-launcher-Dk4yNOLY.js} +134 -134
  15. package/dist/chunks/{dashboard-controls-d7Yd2fJb.cjs → dashboard-controls-B0Pm_y8L.cjs} +10 -10
  16. package/dist/chunks/{dashboard-controls-BqDm4ARp.js → dashboard-controls-CIC5_549.js} +13 -12
  17. package/dist/chunks/{dashboard-input-contract-JFJZgenC.cjs → dashboard-date-comparison-definition-C93wv8Ua.cjs} +1 -1
  18. package/dist/chunks/{dashboard-input-contract-BrGdGFz0.js → dashboard-date-comparison-definition-KohOqBqR.js} +19 -19
  19. package/dist/chunks/dashboard-filter-value-compatibility-ByT__CYM.cjs +1 -0
  20. package/dist/chunks/dashboard-filter-value-compatibility-DQkUs41q.js +1220 -0
  21. package/dist/chunks/dashboard-json-Bk6nEHap.cjs +1 -0
  22. package/dist/chunks/{dashboard-json-CL_vgcWq.js → dashboard-json-YDTb3r4e.js} +7 -7
  23. package/dist/chunks/{edit-dashboard-visual-Dklel3MC.cjs → edit-dashboard-visual-B3oH-O0L.cjs} +6 -6
  24. package/dist/chunks/{edit-dashboard-visual-C0Zvyo-X.js → edit-dashboard-visual-q5Yj9dMP.js} +277 -277
  25. package/dist/chunks/{editor-action-buttons-BOyUtX9j.js → editor-action-buttons-BqelO0n9.js} +39 -39
  26. package/dist/chunks/{editor-action-buttons-AcaZsiDy.cjs → editor-action-buttons-vZ63-lN-.cjs} +1 -1
  27. package/dist/chunks/{format-types-CFHQoIuk.js → index-BS0_dp0l.js} +168 -168
  28. package/dist/chunks/{index-D9S3j7_z.js → index-BvRREsU9.js} +9 -9
  29. package/dist/chunks/index-ByQgqT9d.cjs +1 -0
  30. package/dist/chunks/{index-DrdF7QR7.js → index-CUCiMVzS.js} +34219 -35005
  31. package/dist/chunks/{index-v2MZLyus.cjs → index-CXeIDdjd.cjs} +1 -1
  32. package/dist/chunks/{index-Cd8qGOXl.cjs → index-DhDfPZUu.cjs} +232 -232
  33. package/dist/chunks/matrix-result-contract-CFPnlcLm.cjs +1 -0
  34. package/dist/chunks/{matrix-result-contract-BpzhImar.js → matrix-result-contract-DFfUvb1r.js} +3 -3
  35. package/dist/chunks/{temporal-bucket-CtP7hKLa.js → metric-comparison-CTexJ8V1.js} +705 -705
  36. package/dist/chunks/metric-comparison-x0lipytf.cjs +1 -0
  37. package/dist/chunks/pivot-header-presentation-8Ra1RfHg.cjs +4 -0
  38. package/dist/chunks/{pivot-header-presentation-CaERAWpl.js → pivot-header-presentation-tpb_J900.js} +118 -118
  39. package/dist/chunks/{pivot-result-identity-CIZXsI53.js → pivot-result-identity-BIeP9v8I.js} +1 -1
  40. package/dist/chunks/{pivot-result-identity-DRUlTWUq.cjs → pivot-result-identity-BVnhG2rR.cjs} +1 -1
  41. package/dist/chunks/pivot-result-lifecycle-D_bRCqaB.cjs +1 -0
  42. package/dist/chunks/{pivot-result-lifecycle-B9FTybxN.js → pivot-result-lifecycle-mjJ1rBvV.js} +7 -7
  43. package/dist/chunks/{raw-temporal-contract-U8J9RlEH.js → raw-temporal-contract-BuQIB31z.js} +1 -1
  44. package/dist/chunks/{raw-temporal-contract-D8YuxTAg.cjs → raw-temporal-contract-vnNwLy9R.cjs} +1 -1
  45. package/dist/chunks/report-preferences-dialog--aV7ITSE.cjs +1 -0
  46. package/dist/chunks/{report-preferences-dialog-BjygtSP3.js → report-preferences-dialog-DKq0k5BH.js} +25 -25
  47. package/dist/chunks/{report-runtime-context-DNbgCsko.js → report-runtime-context-B_pAmqxl.js} +1 -1
  48. package/dist/chunks/{report-runtime-context-RFiWq4wK.cjs → report-runtime-context-BfW4qiMJ.cjs} +1 -1
  49. package/dist/chunks/{source-entity-resolution-BDC-Qngk.cjs → source-entity-resolution-DCAAS-y8.cjs} +1 -1
  50. package/dist/chunks/{source-entity-resolution-ugN3sZUk.js → source-entity-resolution-WUstJID6.js} +1 -1
  51. package/dist/chunks/switch-D12C40LN.cjs +138 -0
  52. package/dist/chunks/{switch-C8NihGV4.js → switch-LucIPRtD.js} +13142 -11648
  53. package/dist/chunks/{temporal-bucket-authoring-DJ9kK2wD.js → temporal-bucket-authoring-CyTCHy1K.js} +3 -3
  54. package/dist/chunks/temporal-bucket-authoring-DueSgLJU.cjs +1 -0
  55. package/dist/chunks/{temporal-bucket-contract-CZl5D7FZ.js → temporal-bucket-contract-BeOx0uYe.js} +1 -1
  56. package/dist/chunks/{temporal-bucket-contract-BD862TAa.cjs → temporal-bucket-contract-Cp-usD9Z.cjs} +1 -1
  57. package/dist/chunks/{token-types-CoHsSJ4E.cjs → token-types-D9eN35rf.cjs} +1 -1
  58. package/dist/chunks/{token-types-DfDtCqlw.js → token-types-Dvomvqw0.js} +1 -1
  59. package/dist/chunks/{update-policy-BGNXFgBU.cjs → update-policy-Buw2LmvX.cjs} +1 -1
  60. package/dist/chunks/{update-policy-BybMiM61.js → update-policy-MWg0aH3d.js} +1 -1
  61. package/dist/chunks/{validators-D-T-2HOR.js → validators-D3AarM2T.js} +662 -663
  62. package/dist/chunks/validators-DqIM0B3C.cjs +1 -0
  63. package/dist/dashboard/index.cjs +1 -1
  64. package/dist/dashboard/index.js +2 -2
  65. package/dist/dashboard-authoring/index.cjs +3 -3
  66. package/dist/dashboard-authoring/index.js +81 -79
  67. package/dist/data-app-builder/index.cjs +1 -1
  68. package/dist/data-app-builder/index.js +2 -2
  69. package/dist/data-app-codegen/index.cjs +1 -1
  70. package/dist/data-app-codegen/index.js +2 -2
  71. package/dist/data-app-codegen-node/index.cjs +1 -1
  72. package/dist/data-app-codegen-node/index.js +3 -3
  73. package/dist/data-app-sdk/index.cjs +1 -1
  74. package/dist/data-app-sdk/index.js +3 -3
  75. package/dist/data-app-sdk-adapters/index.cjs +1 -1
  76. package/dist/data-app-sdk-adapters/index.js +2 -2
  77. package/dist/data-app-sdk-validation/index.cjs +1 -1
  78. package/dist/data-app-sdk-validation/index.js +3 -3
  79. package/dist/format-utils/index.cjs +3 -3
  80. package/dist/format-utils/index.js +9 -9
  81. package/dist/index.cjs +1 -1
  82. package/dist/index.js +177 -176
  83. package/dist/report-runtime-context/index.cjs +1 -1
  84. package/dist/report-runtime-context/index.js +2 -2
  85. package/dist/surfboard/index.cjs +1 -1
  86. package/dist/surfboard/index.js +3 -3
  87. package/dist/types/briefings.d.ts +19 -2
  88. package/dist/types/dashboard-authoring.d.ts +26 -3
  89. package/dist/types/dashboard.d.ts +20 -3
  90. package/dist/types/index.cjs +1 -1
  91. package/dist/types/index.js +4 -4
  92. package/dist/types/main.d.ts +39 -18
  93. package/dist/types/shared.d.ts +19 -2
  94. package/dist/types/surfboard.d.ts +20 -3
  95. package/dist/types/types.d.ts +20 -3
  96. package/package.json +1 -1
  97. package/dist/chunks/dashboard-filter-value-compatibility-BCVF9IHg.js +0 -1026
  98. package/dist/chunks/dashboard-filter-value-compatibility-DLkdeypb.cjs +0 -1
  99. package/dist/chunks/dashboard-json-BYQjTmqD.cjs +0 -1
  100. package/dist/chunks/format-types-PSZZ7hG8.cjs +0 -1
  101. package/dist/chunks/matrix-result-contract-Bhg60NtS.cjs +0 -1
  102. package/dist/chunks/pivot-header-presentation-CePk1R6g.cjs +0 -4
  103. package/dist/chunks/pivot-result-lifecycle-CcGt_29N.cjs +0 -1
  104. package/dist/chunks/report-preferences-dialog-DW40ECz1.cjs +0 -1
  105. package/dist/chunks/saved-temporal-bucket-format-DNMtD77o.cjs +0 -1
  106. package/dist/chunks/switch-B1mZx2k9.cjs +0 -138
  107. package/dist/chunks/temporal-bucket-9Wz9Ds6H.cjs +0 -1
  108. package/dist/chunks/temporal-bucket-authoring-DSpzgXHc.cjs +0 -1
  109. package/dist/chunks/validators-DcshgK7w.cjs +0 -1
package/dist/index.js CHANGED
@@ -1,45 +1,46 @@
1
- import { E as x, F as N, S, c as _, U as P, d as w, C as F, e as y, f as R, g as L, h as M, i as I, I as U, R as k, j as O, k as V, l as q, m as z } from "./chunks/index-DrdF7QR7.js";
2
- import { al as Ea, am as ya, an as xa, ao as ba, W as Ta, H as va, D as Aa, B as Ba, A as Na, x as Sa, b as _a, av as Pa, M as wa, o as Fa, r as Ra, r as La, s as Ma, G as Ia, a as Ua, ag as ka, ai as Oa, aj as Va, ah as qa, a7 as za, aa as Wa, au as ja, _ as Qa, af as Ha, aq as Ka, a2 as Ga, ab as Ya, z as Xa, y as $a, ay as Ja, Z as Za, ac as ae, ad as ee, a6 as se, a9 as re, at as oe, as as ie, ar as te, ax as ne, aw as le, a8 as ue, Y as de, X as ce, a0 as fe, ae as pe, a4 as me, a1 as he, a3 as ge, a5 as Ce, $ as De, Q as Ee, N as ye, ap as xe, w as be, K as Te, v as ve, n as Ae, J as Be, L as Ne, p as Se, V as _e, P as Pe, O as we, T as Fe, u as Re, t as Le, q as Me, ak as Ie } from "./chunks/index-DrdF7QR7.js";
3
- import { a as ke, C as Oe, D as Ve, E as qe, L as ze, P as We, g as je, d as Qe, h as He, e as Ke, b as Ge, c as Ye, i as Xe } from "./chunks/common-types-BLPy5_E0.js";
4
- import { R as Je } from "./chunks/report-preferences-dialog-BjygtSP3.js";
1
+ import { E as y, F as N, S, c as _, U as P, d as w, C as F, e as x, f as R, g as L, h as M, I, R as U, i as k, j as O, k as V, l as q } from "./chunks/index-CUCiMVzS.js";
2
+ import { ak as xa, al as ya, am as ba, an as Ta, V as va, G as Aa, D as Ba, A as Na, z as Sa, w as _a, b as Pa, au as wa, M as Fa, n as Ra, q as La, q as Ma, r as Ia, B as Ua, a as ka, af as Oa, ah as Va, ai as qa, ag as za, a6 as Wa, a9 as ja, at as Qa, Z as Ha, ae as Ka, ap as Ga, a1 as Ya, aa as Xa, y as $a, x as Ja, ax as Za, Y as ae, ab as ee, ac as se, a5 as re, a8 as oe, as as ie, ar as te, aq as ne, aw as le, av as ue, a7 as de, X as ce, W as fe, $ as pe, ad as me, a3 as he, a0 as ge, a2 as Ce, a4 as De, _ as Ee, P as xe, L as ye, ao as be, v as Te, J as ve, t as Ae, m as Be, H as Ne, K as Se, o as _e, T as Pe, O as we, N as Fe, Q as Re, u as Le, s as Me, p as Ie, aj as Ue } from "./chunks/index-CUCiMVzS.js";
3
+ import { a as Oe, C as Ve, D as qe, E as ze, L as We, P as je, g as Qe, d as He, h as Ke, e as Ge, b as Ye, c as Xe, i as $e } from "./chunks/common-types-D3r4PILe.js";
4
+ import { R as Ze } from "./chunks/report-preferences-dialog-DKq0k5BH.js";
5
5
  import { jsx as a, jsxs as u } from "react/jsx-runtime";
6
- import { u as W, P as j, a as Q, B as H, c as C, b as K, d as G } from "./chunks/switch-C8NihGV4.js";
7
- import { A as as, n as es, e as ss, f as rs, g as os, p as is, o as ts, s as ns, t as ls, m as us, i as ds, l as cs, q as fs, k as ps, j as ms, h as hs, v as gs, r as Cs, w as Ds, y as Es, x as ys, z as xs, E as bs, D as Ts } from "./chunks/switch-C8NihGV4.js";
6
+ import { u as z, P as W, a as j, B as Q, c as C, b as H, d as K } from "./chunks/switch-LucIPRtD.js";
7
+ import { A as es, n as ss, e as rs, f as os, g as is, p as ts, o as ns, s as ls, t as us, m as ds, i as cs, l as fs, q as ps, k as ms, j as hs, h as gs, v as Cs, r as Ds, w as Es, y as xs, x as ys, z as bs, E as Ts, D as vs } from "./chunks/switch-LucIPRtD.js";
8
8
  import * as p from "react";
9
- import { useMemo as Y, useEffect as b } from "react";
10
- import { D as As } from "./chunks/token-types-DfDtCqlw.js";
11
- import { A as Ns, g as Ss, D as _s, e as Ps, f as ws, d as Fs, b as Rs, E as Ls, N as Ms, U as Is, a as Us, V as ks, W as Os, u as Vs, c as qs } from "./chunks/dashboard-briefing-launcher-C9d8CPxv.js";
12
- import { u as Ws } from "./chunks/use-debounced-dirty-check-BwAbnX_5.js";
9
+ import { useMemo as G, useEffect as b } from "react";
10
+ import { D as Bs } from "./chunks/token-types-Dvomvqw0.js";
11
+ import { A as Ss, g as _s, D as Ps, e as ws, f as Fs, d as Rs, b as Ls, E as Ms, N as Is, U as Us, a as ks, V as Os, W as Vs, u as qs, c as zs } from "./chunks/dashboard-briefing-launcher-Dk4yNOLY.js";
12
+ import { u as js } from "./chunks/use-debounced-dirty-check-BwAbnX_5.js";
13
13
  import "./value-format-preferences/index.js";
14
- import "./chunks/validators-D-T-2HOR.js";
15
- import { D as Qs } from "./chunks/report-runtime-context-DNbgCsko.js";
16
- import { r as Ks, a as Gs } from "./chunks/pivot-result-identity-CIZXsI53.js";
17
- import "./chunks/analyze-result-contract-C8s8EUL5.js";
18
- import "./chunks/temporal-bucket-authoring-DJ9kK2wD.js";
19
- import "./chunks/saved-temporal-bucket-format-CHsXUPJI.js";
14
+ import "./chunks/validators-D3AarM2T.js";
15
+ import { D as Hs } from "./chunks/report-runtime-context-B_pAmqxl.js";
16
+ import { r as Gs, a as Ys } from "./chunks/pivot-result-identity-BIeP9v8I.js";
17
+ import "./chunks/analyze-result-contract-DsiAzCYn.js";
18
+ import "./chunks/temporal-bucket-authoring-CyTCHy1K.js";
19
+ import { c as Y } from "./chunks/dashboard-filter-value-compatibility-DQkUs41q.js";
20
+ import "./chunks/card-config-utils-CyDKaPNT.js";
20
21
  import "react-dom";
21
22
  import "./chunks/appearance-context-DVXt8qjW.js";
22
23
  import "./chunks/color-CJvdlFM_.js";
23
24
  import "./chunks/index-DSKR3nKn.js";
24
- import { n as Xs, s as $s } from "./chunks/normalize-dashboard-for-dirty-check-5KpZN8xr.js";
25
+ import { n as $s, s as Js } from "./chunks/normalize-dashboard-for-dirty-check-5KpZN8xr.js";
25
26
  import { C as X } from "./chunks/x-CXDkqdur.js";
26
27
  import "./chunks/appearance-runtime-provider-CjmE4gBY.js";
27
- function pa(e) {
28
+ function ma(e) {
28
29
  const { displayPreferences: s, cardId: i, ...l } = e, r = {
29
30
  ...l,
30
31
  id: e.dashboardId
31
32
  // override the id to the dashboard id so that the dashboard is not loaded
32
33
  };
33
- return /* @__PURE__ */ a(x, { FallbackComponent: N, children: /* @__PURE__ */ u(S, { dashboardProps: r, children: [
34
+ return /* @__PURE__ */ a(y, { FallbackComponent: N, children: /* @__PURE__ */ u(S, { dashboardProps: r, children: [
34
35
  /* @__PURE__ */ a(_, { componentType: "visual", componentId: e.cardId }),
35
36
  /* @__PURE__ */ a(P, { appearance: e.appearance, children: /* @__PURE__ */ a(w, { displayPreferences: s, children: /* @__PURE__ */ a(F, { type: "visual", cardId: i, ...r, children: /* @__PURE__ */ a($, { cardId: i }) }) }) })
36
37
  ] }) });
37
38
  }
38
39
  function $({ cardId: e }) {
39
- const s = W((r) => {
40
+ const s = z((r) => {
40
41
  var t;
41
42
  return (t = r.dashboard) == null ? void 0 : t.sheets;
42
- }), { card: i, frame: l } = Y(() => {
43
+ }), { card: i, frame: l } = G(() => {
43
44
  const r = s == null ? void 0 : s.flatMap((o) => o.frames), t = r == null ? void 0 : r.flatMap((o) => o == null ? void 0 : o.cards), m = t == null ? void 0 : t.find((o) => (o == null ? void 0 : o.id) === e), h = r == null ? void 0 : r.find(
44
45
  (o) => {
45
46
  var f;
@@ -49,7 +50,7 @@ function $({ cardId: e }) {
49
50
  return { card: m, frame: h };
50
51
  }, [s, e]);
51
52
  return !i || !l ? /* @__PURE__ */ a(
52
- y,
53
+ x,
53
54
  {
54
55
  error: new Error("Card not found"),
55
56
  resetErrorBoundary: () => {
@@ -57,13 +58,13 @@ function $({ cardId: e }) {
57
58
  customerFacingMessage: `Card not found with ID: ${e}`
58
59
  }
59
60
  ) : /* @__PURE__ */ a("main", { className: "flex h-full grow flex-col", children: /* @__PURE__ */ a(
60
- x,
61
+ y,
61
62
  {
62
63
  FallbackComponent: ({
63
64
  error: r,
64
65
  resetErrorBoundary: t
65
66
  }) => /* @__PURE__ */ a(
66
- y,
67
+ x,
67
68
  {
68
69
  error: r,
69
70
  resetErrorBoundary: t,
@@ -74,12 +75,12 @@ function $({ cardId: e }) {
74
75
  }
75
76
  ) });
76
77
  }
77
- function ma(e, s, i, l) {
78
+ function ha(e, s, i, l) {
78
79
  b(() => {
79
- e && !i && s && l(L(s));
80
+ e && !i && s && l(Y(s));
80
81
  }, [e, i, s, l]);
81
82
  }
82
- function ha({
83
+ function ga({
83
84
  name: e,
84
85
  items: s,
85
86
  value: i,
@@ -102,9 +103,9 @@ function ha({
102
103
  function B(n, c) {
103
104
  l(c), E(!1);
104
105
  }
105
- return /* @__PURE__ */ u(j, { open: D, onOpenChange: E, children: [
106
- /* @__PURE__ */ a(Q, { asChild: !0, children: /* @__PURE__ */ u(
107
- H,
106
+ return /* @__PURE__ */ u(W, { open: D, onOpenChange: E, children: [
107
+ /* @__PURE__ */ a(j, { asChild: !0, children: /* @__PURE__ */ u(
108
+ Q,
108
109
  {
109
110
  ref: d,
110
111
  variant: "outline",
@@ -121,15 +122,15 @@ function ha({
121
122
  }
122
123
  ) }),
123
124
  /* @__PURE__ */ a(
124
- K,
125
+ H,
125
126
  {
126
127
  className: "w-full p-0",
127
128
  style: { minWidth: T },
128
- children: /* @__PURE__ */ u(M, { children: [
129
+ children: /* @__PURE__ */ u(L, { children: [
129
130
  /* @__PURE__ */ u("div", { className: "flex h-9 items-center justify-between border-b pr-1", children: [
130
- /* @__PURE__ */ a(I, { className: "h-9", placeholder: "Search..." }),
131
- /* @__PURE__ */ a(U, { className: "h-7", onClick: m, children: /* @__PURE__ */ a(
132
- k,
131
+ /* @__PURE__ */ a(M, { className: "h-9", placeholder: "Search..." }),
132
+ /* @__PURE__ */ a(I, { className: "h-7", onClick: m, children: /* @__PURE__ */ a(
133
+ U,
133
134
  {
134
135
  className: C(
135
136
  "size-3.5 opacity-50",
@@ -138,21 +139,21 @@ function ha({
138
139
  }
139
140
  ) })
140
141
  ] }),
141
- /* @__PURE__ */ u(O, { children: [
142
- /* @__PURE__ */ u(V, { children: [
142
+ /* @__PURE__ */ u(k, { children: [
143
+ /* @__PURE__ */ u(O, { children: [
143
144
  "No ",
144
145
  e == null ? void 0 : e.toLowerCase(),
145
146
  " found."
146
147
  ] }),
147
- /* @__PURE__ */ a(q, { children: g == null ? void 0 : g.map((n) => /* @__PURE__ */ a(
148
- z,
148
+ /* @__PURE__ */ a(V, { children: g == null ? void 0 : g.map((n) => /* @__PURE__ */ a(
149
+ q,
149
150
  {
150
151
  className: "overflow-x-auto",
151
152
  value: n.name,
152
153
  onSelect: (c) => B(c, n.id),
153
154
  children: /* @__PURE__ */ u("div", { className: "flex items-center gap-2", children: [
154
155
  /* @__PURE__ */ a(
155
- G,
156
+ K,
156
157
  {
157
158
  className: C(
158
159
  "size-4",
@@ -171,7 +172,7 @@ function ha({
171
172
  )
172
173
  ] });
173
174
  }
174
- function ga(e, s) {
175
+ function Ca(e, s) {
175
176
  b(() => (e && s && (window.__SEMAPHOR_PRINT_STATE__ = {
176
177
  ...s
177
178
  }), () => {
@@ -179,143 +180,143 @@ function ga(e, s) {
179
180
  }), [e, s]);
180
181
  }
181
182
  export {
182
- Ns as AdvancedModeToggle,
183
- Ea as BriefingAuthor,
183
+ Ss as AdvancedModeToggle,
184
+ xa as BriefingAuthor,
184
185
  ya as BriefingAuthorDialog,
185
- xa as BriefingUiCapabilitiesBoundary,
186
- ba as BriefingUiCapabilitiesProvider,
187
- Ta as BriefingsApiError,
188
- ke as CALCULATED_FIELD_ENTITY_MARKER,
189
- Oe as CONTROL_CARD_DEFAULT_VALUE,
190
- va as CardSummary,
191
- ha as Combobox,
192
- Ve as DATE_FORMAT_VALUES,
193
- Qs as DEFAULT_CALENDAR_CONTEXT,
194
- As as DEFAULT_SEMANTIC_DOMAIN_ACCESS,
195
- Aa as Dashboard,
196
- Ss as DashboardBriefingLauncher,
197
- _s as DashboardControlsSettings,
198
- Ba as DashboardCreateDialogBase,
199
- Na as DashboardExportDialog,
200
- Ps as DashboardFilterControlsButton,
201
- ws as DashboardFilterControlsLauncher,
202
- Sa as DashboardWC,
203
- _a as DisplayFormatPreferencesFields,
204
- Fs as DocumentControlsSettings,
205
- qe as EMPTY_SELECTION,
206
- Pa as ExportError,
207
- Rs as ExportNotificationItem,
208
- Ls as ExportNotificationList,
209
- ze as LEGACY_CALCULATED_FIELD_ENTITY_MARKER,
210
- wa as MatrixTableVisual,
211
- Ms as NotificationBell,
212
- We as PivotMarkerEnum,
213
- Je as ReportPreferencesDialog,
214
- Fa as ResourceType,
186
+ ba as BriefingUiCapabilitiesBoundary,
187
+ Ta as BriefingUiCapabilitiesProvider,
188
+ va as BriefingsApiError,
189
+ Oe as CALCULATED_FIELD_ENTITY_MARKER,
190
+ Ve as CONTROL_CARD_DEFAULT_VALUE,
191
+ Aa as CardSummary,
192
+ ga as Combobox,
193
+ qe as DATE_FORMAT_VALUES,
194
+ Hs as DEFAULT_CALENDAR_CONTEXT,
195
+ Bs as DEFAULT_SEMANTIC_DOMAIN_ACCESS,
196
+ Ba as Dashboard,
197
+ _s as DashboardBriefingLauncher,
198
+ Ps as DashboardControlsSettings,
199
+ Na as DashboardCreateDialogBase,
200
+ Sa as DashboardExportDialog,
201
+ ws as DashboardFilterControlsButton,
202
+ Fs as DashboardFilterControlsLauncher,
203
+ _a as DashboardWC,
204
+ Pa as DisplayFormatPreferencesFields,
205
+ Rs as DocumentControlsSettings,
206
+ ze as EMPTY_SELECTION,
207
+ wa as ExportError,
208
+ Ls as ExportNotificationItem,
209
+ Ms as ExportNotificationList,
210
+ We as LEGACY_CALCULATED_FIELD_ENTITY_MARKER,
211
+ Fa as MatrixTableVisual,
212
+ Is as NotificationBell,
213
+ je as PivotMarkerEnum,
214
+ Ze as ReportPreferencesDialog,
215
+ Ra as ResourceType,
215
216
  S as SemaphorContextProvider,
216
- Ra as SemaphorDataProvider,
217
- La as SemaphorQueryClient,
218
- Ma as ShareDialog,
219
- Ia as SummaryCard,
220
- Ua as Surfboard,
221
- Is as UnsavedChangesAlert,
222
- pa as Visual,
223
- Us as VisualEditingControls,
224
- ks as VisualsLibraryDialog,
225
- Os as WatchDashboardButton,
226
- ka as applyBriefingFormPatch,
227
- Oa as briefingFormDraftToCreateRequest,
228
- Va as briefingFormDraftToUpdateRequest,
229
- qa as briefingToFormDraft,
230
- za as cancelBriefingPreviewRun,
231
- Wa as cancelBriefingRun,
232
- ja as cancelExport,
233
- L as cloneDeep,
234
- Qa as createBriefing,
235
- Ha as createBriefingFormDraft,
236
- as as createEmptyKpiConfig,
237
- Ka as createExport,
238
- es as createSqlGenConfig,
239
- Ga as deleteBriefing,
240
- Ya as deleteBriefingRun,
241
- Xa as downloadDocumentPdf,
242
- $a as downloadPdf,
243
- ss as emitDashboardLoad,
244
- rs as emitDashboardUnload,
245
- os as fmt,
246
- Ja as formatFileSize,
247
- Za as getBriefing,
248
- ae as getBriefingArtifact,
249
- ee as getBriefingEvidence,
250
- se as getBriefingPreviewRun,
251
- re as getBriefingRun,
252
- is as getColumnDataType,
253
- oe as getDownloadUrl,
254
- ie as getExportStatus,
255
- te as getExports,
256
- je as getFieldRuntimeColumnName,
257
- ts as getFilterValueType,
258
- ns as getFormattedTableNameForQuery,
259
- ls as getQualifiedTableName,
260
- us as getSql,
261
- Qe as hasCalculatedFieldMarker,
262
- He as hasCalculatedFormulaInputs,
263
- Ke as hasSyntheticCalculatedFieldOwner,
264
- ds as invalidateToken,
265
- cs as isBooleanDataType,
266
- Ge as isCalculatedDimension,
267
- Ye as isCalculatedField,
268
- Xe as isCalculatedMetric,
269
- fs as isColumnInSqlGen,
270
- ps as isDateDataType,
271
- ne as isExportComplete,
272
- le as isExportInProgress,
273
- ms as isNumberDataType,
274
- hs as isTextDataType,
275
- ue as listBriefingRuns,
276
- de as listBriefingTenantSummaries,
277
- ce as listBriefings,
278
- Xs as normalizeDashboardForDirtyCheck,
279
- fe as pauseBriefing,
280
- pe as polishBriefingText,
281
- me as previewBriefingPlan,
282
- gs as resolveDataType,
283
- Cs as resolveDatamodelName,
284
- Ks as resolveQueryColumnKeyMapEntry,
285
- Gs as resolveUniqueQueryColumnKeyMapEntry,
286
- he as resumeBriefing,
287
- ge as runBriefingNow,
288
- Ce as runBriefingPreview,
289
- $s as serializeDashboardForDirtyCheck,
290
- De as updateBriefing,
291
- Ee as useActiveExports,
217
+ La as SemaphorDataProvider,
218
+ Ma as SemaphorQueryClient,
219
+ Ia as ShareDialog,
220
+ Ua as SummaryCard,
221
+ ka as Surfboard,
222
+ Us as UnsavedChangesAlert,
223
+ ma as Visual,
224
+ ks as VisualEditingControls,
225
+ Os as VisualsLibraryDialog,
226
+ Vs as WatchDashboardButton,
227
+ Oa as applyBriefingFormPatch,
228
+ Va as briefingFormDraftToCreateRequest,
229
+ qa as briefingFormDraftToUpdateRequest,
230
+ za as briefingToFormDraft,
231
+ Wa as cancelBriefingPreviewRun,
232
+ ja as cancelBriefingRun,
233
+ Qa as cancelExport,
234
+ Y as cloneDeep,
235
+ Ha as createBriefing,
236
+ Ka as createBriefingFormDraft,
237
+ es as createEmptyKpiConfig,
238
+ Ga as createExport,
239
+ ss as createSqlGenConfig,
240
+ Ya as deleteBriefing,
241
+ Xa as deleteBriefingRun,
242
+ $a as downloadDocumentPdf,
243
+ Ja as downloadPdf,
244
+ rs as emitDashboardLoad,
245
+ os as emitDashboardUnload,
246
+ is as fmt,
247
+ Za as formatFileSize,
248
+ ae as getBriefing,
249
+ ee as getBriefingArtifact,
250
+ se as getBriefingEvidence,
251
+ re as getBriefingPreviewRun,
252
+ oe as getBriefingRun,
253
+ ts as getColumnDataType,
254
+ ie as getDownloadUrl,
255
+ te as getExportStatus,
256
+ ne as getExports,
257
+ Qe as getFieldRuntimeColumnName,
258
+ ns as getFilterValueType,
259
+ ls as getFormattedTableNameForQuery,
260
+ us as getQualifiedTableName,
261
+ ds as getSql,
262
+ He as hasCalculatedFieldMarker,
263
+ Ke as hasCalculatedFormulaInputs,
264
+ Ge as hasSyntheticCalculatedFieldOwner,
265
+ cs as invalidateToken,
266
+ fs as isBooleanDataType,
267
+ Ye as isCalculatedDimension,
268
+ Xe as isCalculatedField,
269
+ $e as isCalculatedMetric,
270
+ ps as isColumnInSqlGen,
271
+ ms as isDateDataType,
272
+ le as isExportComplete,
273
+ ue as isExportInProgress,
274
+ hs as isNumberDataType,
275
+ gs as isTextDataType,
276
+ de as listBriefingRuns,
277
+ ce as listBriefingTenantSummaries,
278
+ fe as listBriefings,
279
+ $s as normalizeDashboardForDirtyCheck,
280
+ pe as pauseBriefing,
281
+ me as polishBriefingText,
282
+ he as previewBriefingPlan,
283
+ Cs as resolveDataType,
284
+ Ds as resolveDatamodelName,
285
+ Gs as resolveQueryColumnKeyMapEntry,
286
+ Ys as resolveUniqueQueryColumnKeyMapEntry,
287
+ ge as resumeBriefing,
288
+ Ce as runBriefingNow,
289
+ De as runBriefingPreview,
290
+ Js as serializeDashboardForDirtyCheck,
291
+ Ee as updateBriefing,
292
+ xe as useActiveExports,
292
293
  ye as useAddNewFrame,
293
- xe as useBriefingUiCapabilities,
294
- be as useCard,
295
- Te as useCardSummary,
296
- Ds as useCurrentActiveCard,
297
- Es as useCurrentCardConfig,
294
+ be as useBriefingUiCapabilities,
295
+ Te as useCard,
296
+ ve as useCardSummary,
297
+ Es as useCurrentActiveCard,
298
+ xs as useCurrentCardConfig,
298
299
  ys as useCurrentSheetActiveCards,
299
- xs as useDashboardActions,
300
- ve as useDashboardById,
301
- Ae as useDashboardQuery,
302
- W as useDashboardStore,
303
- Be as useDashboardSummary,
304
- Ne as useDataColumns,
305
- Se as useDateFilterHook,
306
- Ws as useDebouncedDirtyCheck,
307
- bs as useEditorActions,
308
- _e as useEditorAside,
309
- Ts as useEditorStore,
310
- Pe as useExportActions,
311
- Vs as useExportPolling,
312
- qs as useExportRecovery,
313
- we as useExportStore,
314
- ga as useExposePrintState,
315
- Fe as useInProgressExportsCount,
316
- Re as useManagementStore,
317
- ma as usePristineSnapshotInitializer,
318
- Le as useResourceManagement,
319
- Me as useTextFilterHook,
320
- Ie as validateBriefingFormDraft
300
+ bs as useDashboardActions,
301
+ Ae as useDashboardById,
302
+ Be as useDashboardQuery,
303
+ z as useDashboardStore,
304
+ Ne as useDashboardSummary,
305
+ Se as useDataColumns,
306
+ _e as useDateFilterHook,
307
+ js as useDebouncedDirtyCheck,
308
+ Ts as useEditorActions,
309
+ Pe as useEditorAside,
310
+ vs as useEditorStore,
311
+ we as useExportActions,
312
+ qs as useExportPolling,
313
+ zs as useExportRecovery,
314
+ Fe as useExportStore,
315
+ Ca as useExposePrintState,
316
+ Re as useInProgressExportsCount,
317
+ Le as useManagementStore,
318
+ ha as usePristineSnapshotInitializer,
319
+ Me as useResourceManagement,
320
+ Ie as useTextFilterHook,
321
+ Ue as validateBriefingFormDraft
321
322
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/validators-DcshgK7w.cjs"),e=require("../chunks/report-runtime-context-RFiWq4wK.cjs");exports.isValidIanaTimeZone=r.isValidIanaTimeZone;exports.DEFAULT_CALENDAR_CONTEXT=e.DEFAULT_CALENDAR_CONTEXT;exports.parseCalendarContext=e.parseCalendarContext;exports.parseCalendarPreferencesResponse=e.parseCalendarPreferencesResponse;exports.parseReportRuntimeContext=e.parseReportRuntimeContext;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/validators-DqIM0B3C.cjs"),e=require("../chunks/report-runtime-context-BfW4qiMJ.cjs");exports.isValidIanaTimeZone=r.isValidIanaTimeZone;exports.DEFAULT_CALENDAR_CONTEXT=e.DEFAULT_CALENDAR_CONTEXT;exports.parseCalendarContext=e.parseCalendarContext;exports.parseCalendarPreferencesResponse=e.parseCalendarPreferencesResponse;exports.parseReportRuntimeContext=e.parseReportRuntimeContext;
@@ -1,5 +1,5 @@
1
- import { b as r } from "../chunks/validators-D-T-2HOR.js";
2
- import { D as n, p as o, a as p, b as t } from "../chunks/report-runtime-context-DNbgCsko.js";
1
+ import { b as r } from "../chunks/validators-D3AarM2T.js";
2
+ import { D as n, p as o, a as p, b as t } from "../chunks/report-runtime-context-B_pAmqxl.js";
3
3
  export {
4
4
  n as DEFAULT_CALENDAR_CONTEXT,
5
5
  r as isValidIanaTimeZone,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-Cd8qGOXl.cjs"),r=require("../chunks/common-types-C1IM7gao.cjs"),o=require("../chunks/report-preferences-dialog-DW40ECz1.cjs");exports.DisplayFormatPreferencesFields=e.DisplayFormatPreferencesFields;exports.Surfboard=e.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=r.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;exports.ReportPreferencesDialog=o.ReportPreferencesDialog;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-DhDfPZUu.cjs"),r=require("../chunks/common-types-BCSbPclk.cjs"),o=require("../chunks/report-preferences-dialog--aV7ITSE.cjs");exports.DisplayFormatPreferencesFields=e.DisplayFormatPreferencesFields;exports.Surfboard=e.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=r.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;exports.ReportPreferencesDialog=o.ReportPreferencesDialog;
@@ -1,6 +1,6 @@
1
- import { b as a, a as o } from "../chunks/index-DrdF7QR7.js";
2
- import { C as f, E } from "../chunks/common-types-BLPy5_E0.js";
3
- import { R as t } from "../chunks/report-preferences-dialog-BjygtSP3.js";
1
+ import { b as a, a as o } from "../chunks/index-CUCiMVzS.js";
2
+ import { C as f, E } from "../chunks/common-types-D3r4PILe.js";
3
+ import { R as t } from "../chunks/report-preferences-dialog-DKq0k5BH.js";
4
4
  export {
5
5
  f as CONTROL_CARD_DEFAULT_VALUE,
6
6
  a as DisplayFormatPreferencesFields,
@@ -1041,6 +1041,16 @@ declare type DashboardAIContext = AIContext & {
1041
1041
 
1042
1042
  declare type DashboardAIContextMode = 'auto' | 'fixed';
1043
1043
 
1044
+ /** Instance references applied to the latest linked library definition. */
1045
+ declare type DashboardCardReferenceRemapping = {
1046
+ cardIds?: Record<string, string>;
1047
+ sheetIds?: Record<string, string>;
1048
+ inputIds?: Record<string, string>;
1049
+ controlIds?: Record<string, string>;
1050
+ filterIds?: Record<string, string>;
1051
+ inputAliases?: Record<string, DashboardInputVariableRef>;
1052
+ };
1053
+
1044
1054
  declare type DashboardFilterApplication = {
1045
1055
  kind: 'cardMappings';
1046
1056
  /**
@@ -1639,7 +1649,7 @@ declare type EmailSettings = {
1639
1649
  senderTitle: string;
1640
1650
  };
1641
1651
 
1642
- declare type EmbeddedFilterDashboardInput = DashboardInputBase & {
1652
+ declare type EmbeddedFilterDashboardInput = FilterDashboardInputBase & {
1643
1653
  kind: 'filter';
1644
1654
  filter: TFilter;
1645
1655
  filterReference?: never;
@@ -1754,6 +1764,12 @@ declare interface FilterCondition {
1754
1764
 
1755
1765
  declare type FilterDashboardInput = EmbeddedFilterDashboardInput | ReferencedFilterDashboardInput;
1756
1766
 
1767
+ /** Filter-only lifecycle policy, independent of requiredAtExecution. */
1768
+ declare type FilterDashboardInputBase = DashboardInputBase & {
1769
+ /** Empty selections restore the authored default; viewers may replace it. */
1770
+ forceSelection?: boolean;
1771
+ };
1772
+
1757
1773
  /**
1758
1774
  * Display mode for individual filters
1759
1775
  * - 'canvas': Filter displayed as a draggable card on the dashboard canvas
@@ -2370,7 +2386,7 @@ declare type RawTemporalPresentationTarget = {
2370
2386
  columnKey: string;
2371
2387
  };
2372
2388
 
2373
- declare type ReferencedFilterDashboardInput = DashboardInputBase & {
2389
+ declare type ReferencedFilterDashboardInput = FilterDashboardInputBase & {
2374
2390
  kind: 'filter';
2375
2391
  filter?: never;
2376
2392
  filterReference: {
@@ -3140,6 +3156,7 @@ declare type TCard = {
3140
3156
  config?: CardConfig;
3141
3157
  interactionConfig?: CardInteractionConfig;
3142
3158
  linkedSourceCardId?: string;
3159
+ linkedReferenceOverrides?: DashboardCardReferenceRemapping;
3143
3160
  linkedInteractionTargetOverrides?: Record<string, InteractionTargetOverride>;
3144
3161
  paginationConfig?: PaginationConfig;
3145
3162
  queryConfig?: QueryConfig;
@@ -18,6 +18,9 @@ declare type AIScopeTable = {
18
18
  datamodelName: string;
19
19
  };
20
20
 
21
+ /** Apply instance reference overrides to a fresh library card, preserving authored SQL. */
22
+ export declare function applyCardReferenceRemapping(source: TCard, mapping: DashboardCardReferenceRemapping): TCard;
23
+
21
24
  export declare function applyDashboardChangePlan(input: {
22
25
  dashboard: TDashboard;
23
26
  changePlan: DashboardChangePlan;
@@ -448,6 +451,9 @@ export declare type CompiledDashboardInputDefaults = {
448
451
 
449
452
  export declare function compileResponsiveDashboardLayouts(inputs: DashboardLayoutCompileInput[]): DashboardLayoutCompileResult;
450
453
 
454
+ /** Compose instance copies without losing the original library-to-instance keys. */
455
+ export declare function composeCardReferenceRemapping(previous: DashboardCardReferenceRemapping | undefined, next: DashboardCardReferenceRemapping): DashboardCardReferenceRemapping;
456
+
451
457
  declare type ConditionalFormatCondition = {
452
458
  kind: 'comparison';
453
459
  columnId: string;
@@ -690,6 +696,16 @@ export declare type DashboardCardFilterSourceInventory = {
690
696
 
691
697
  export declare function dashboardCardFilterSourceInventoryContains(inventory: DashboardCardFilterSourceInventory, source: DashboardFilterTargetSource): boolean;
692
698
 
699
+ /** Instance references applied to the latest linked library definition. */
700
+ export declare type DashboardCardReferenceRemapping = {
701
+ cardIds?: Record<string, string>;
702
+ sheetIds?: Record<string, string>;
703
+ inputIds?: Record<string, string>;
704
+ controlIds?: Record<string, string>;
705
+ filterIds?: Record<string, string>;
706
+ inputAliases?: Record<string, DashboardInputVariableRef>;
707
+ };
708
+
693
709
  export declare type DashboardCardSizeIntent = 'kpi' | 'chart' | 'table' | 'text';
694
710
 
695
711
  export declare type DashboardChangeCompileResult = {
@@ -1479,7 +1495,7 @@ declare type EmailSettings = {
1479
1495
  senderTitle: string;
1480
1496
  };
1481
1497
 
1482
- declare type EmbeddedFilterDashboardInput = DashboardInputBase & {
1498
+ declare type EmbeddedFilterDashboardInput = FilterDashboardInputBase & {
1483
1499
  kind: 'filter';
1484
1500
  filter: TFilter;
1485
1501
  filterReference?: never;
@@ -1594,6 +1610,12 @@ declare interface FilterCondition {
1594
1610
 
1595
1611
  declare type FilterDashboardInput = EmbeddedFilterDashboardInput | ReferencedFilterDashboardInput;
1596
1612
 
1613
+ /** Filter-only lifecycle policy, independent of requiredAtExecution. */
1614
+ declare type FilterDashboardInputBase = DashboardInputBase & {
1615
+ /** Empty selections restore the authored default; viewers may replace it. */
1616
+ forceSelection?: boolean;
1617
+ };
1618
+
1597
1619
  /**
1598
1620
  * Display mode for individual filters
1599
1621
  * - 'canvas': Filter displayed as a draggable card on the dashboard canvas
@@ -2066,7 +2088,7 @@ export declare type NormalizeDashboardInputsResult = {
2066
2088
  declare type NormalizedDashboardInput = NormalizedFilterDashboardInput | ControlDashboardInput;
2067
2089
 
2068
2090
  /** Runtime form after dashboard-filter references are resolved once. */
2069
- declare type NormalizedFilterDashboardInput = DashboardInputBase & {
2091
+ declare type NormalizedFilterDashboardInput = FilterDashboardInputBase & {
2070
2092
  kind: 'filter';
2071
2093
  filter: TFilter;
2072
2094
  optionSource?: DashboardFilterOptionSource;
@@ -2203,7 +2225,7 @@ declare type RangeValue = {
2203
2225
 
2204
2226
  export declare function reconcileTemporalBucketAuthoringFormat(format: TemporalBucketFormat, granularity: SemaphorTimeGrain): TemporalBucketFormat;
2205
2227
 
2206
- declare type ReferencedFilterDashboardInput = DashboardInputBase & {
2228
+ declare type ReferencedFilterDashboardInput = FilterDashboardInputBase & {
2207
2229
  kind: 'filter';
2208
2230
  filter?: never;
2209
2231
  filterReference: {
@@ -3161,6 +3183,7 @@ declare type TCard = {
3161
3183
  config?: CardConfig;
3162
3184
  interactionConfig?: CardInteractionConfig;
3163
3185
  linkedSourceCardId?: string;
3186
+ linkedReferenceOverrides?: DashboardCardReferenceRemapping;
3164
3187
  linkedInteractionTargetOverrides?: Record<string, InteractionTargetOverride>;
3165
3188
  paginationConfig?: PaginationConfig;
3166
3189
  queryConfig?: QueryConfig;