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.
- package/dist/analytics-protocol/index.cjs +1 -1
- package/dist/analytics-protocol/index.js +9 -9
- package/dist/brand-studio/index.cjs +1 -1
- package/dist/brand-studio/index.js +4 -4
- package/dist/briefings/index.cjs +1 -1
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{analyze-result-contract-OgPk-zGu.cjs → analyze-result-contract-BX_nQmPN.cjs} +1 -1
- package/dist/chunks/{analyze-result-contract-C8s8EUL5.js → analyze-result-contract-DsiAzCYn.js} +1 -1
- package/dist/chunks/{saved-temporal-bucket-format-CHsXUPJI.js → card-config-utils-CyDKaPNT.js} +190 -190
- package/dist/chunks/card-config-utils-D3Xuu0ub.cjs +1 -0
- package/dist/chunks/{common-types-C1IM7gao.cjs → common-types-BCSbPclk.cjs} +1 -1
- package/dist/chunks/{common-types-BLPy5_E0.js → common-types-D3r4PILe.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CXHq6ime.cjs → dashboard-briefing-launcher-DWwSdfV7.cjs} +2 -2
- package/dist/chunks/{dashboard-briefing-launcher-C9d8CPxv.js → dashboard-briefing-launcher-Dk4yNOLY.js} +134 -134
- package/dist/chunks/{dashboard-controls-d7Yd2fJb.cjs → dashboard-controls-B0Pm_y8L.cjs} +10 -10
- package/dist/chunks/{dashboard-controls-BqDm4ARp.js → dashboard-controls-CIC5_549.js} +13 -12
- package/dist/chunks/{dashboard-input-contract-JFJZgenC.cjs → dashboard-date-comparison-definition-C93wv8Ua.cjs} +1 -1
- package/dist/chunks/{dashboard-input-contract-BrGdGFz0.js → dashboard-date-comparison-definition-KohOqBqR.js} +19 -19
- package/dist/chunks/dashboard-filter-value-compatibility-ByT__CYM.cjs +1 -0
- package/dist/chunks/dashboard-filter-value-compatibility-DQkUs41q.js +1220 -0
- package/dist/chunks/dashboard-json-Bk6nEHap.cjs +1 -0
- package/dist/chunks/{dashboard-json-CL_vgcWq.js → dashboard-json-YDTb3r4e.js} +7 -7
- package/dist/chunks/{edit-dashboard-visual-Dklel3MC.cjs → edit-dashboard-visual-B3oH-O0L.cjs} +6 -6
- package/dist/chunks/{edit-dashboard-visual-C0Zvyo-X.js → edit-dashboard-visual-q5Yj9dMP.js} +277 -277
- package/dist/chunks/{editor-action-buttons-BOyUtX9j.js → editor-action-buttons-BqelO0n9.js} +39 -39
- package/dist/chunks/{editor-action-buttons-AcaZsiDy.cjs → editor-action-buttons-vZ63-lN-.cjs} +1 -1
- package/dist/chunks/{format-types-CFHQoIuk.js → index-BS0_dp0l.js} +168 -168
- package/dist/chunks/{index-D9S3j7_z.js → index-BvRREsU9.js} +9 -9
- package/dist/chunks/index-ByQgqT9d.cjs +1 -0
- package/dist/chunks/{index-DrdF7QR7.js → index-CUCiMVzS.js} +34219 -35005
- package/dist/chunks/{index-v2MZLyus.cjs → index-CXeIDdjd.cjs} +1 -1
- package/dist/chunks/{index-Cd8qGOXl.cjs → index-DhDfPZUu.cjs} +232 -232
- package/dist/chunks/matrix-result-contract-CFPnlcLm.cjs +1 -0
- package/dist/chunks/{matrix-result-contract-BpzhImar.js → matrix-result-contract-DFfUvb1r.js} +3 -3
- package/dist/chunks/{temporal-bucket-CtP7hKLa.js → metric-comparison-CTexJ8V1.js} +705 -705
- package/dist/chunks/metric-comparison-x0lipytf.cjs +1 -0
- package/dist/chunks/pivot-header-presentation-8Ra1RfHg.cjs +4 -0
- package/dist/chunks/{pivot-header-presentation-CaERAWpl.js → pivot-header-presentation-tpb_J900.js} +118 -118
- package/dist/chunks/{pivot-result-identity-CIZXsI53.js → pivot-result-identity-BIeP9v8I.js} +1 -1
- package/dist/chunks/{pivot-result-identity-DRUlTWUq.cjs → pivot-result-identity-BVnhG2rR.cjs} +1 -1
- package/dist/chunks/pivot-result-lifecycle-D_bRCqaB.cjs +1 -0
- package/dist/chunks/{pivot-result-lifecycle-B9FTybxN.js → pivot-result-lifecycle-mjJ1rBvV.js} +7 -7
- package/dist/chunks/{raw-temporal-contract-U8J9RlEH.js → raw-temporal-contract-BuQIB31z.js} +1 -1
- package/dist/chunks/{raw-temporal-contract-D8YuxTAg.cjs → raw-temporal-contract-vnNwLy9R.cjs} +1 -1
- package/dist/chunks/report-preferences-dialog--aV7ITSE.cjs +1 -0
- package/dist/chunks/{report-preferences-dialog-BjygtSP3.js → report-preferences-dialog-DKq0k5BH.js} +25 -25
- package/dist/chunks/{report-runtime-context-DNbgCsko.js → report-runtime-context-B_pAmqxl.js} +1 -1
- package/dist/chunks/{report-runtime-context-RFiWq4wK.cjs → report-runtime-context-BfW4qiMJ.cjs} +1 -1
- package/dist/chunks/{source-entity-resolution-BDC-Qngk.cjs → source-entity-resolution-DCAAS-y8.cjs} +1 -1
- package/dist/chunks/{source-entity-resolution-ugN3sZUk.js → source-entity-resolution-WUstJID6.js} +1 -1
- package/dist/chunks/switch-D12C40LN.cjs +138 -0
- package/dist/chunks/{switch-C8NihGV4.js → switch-LucIPRtD.js} +13142 -11648
- package/dist/chunks/{temporal-bucket-authoring-DJ9kK2wD.js → temporal-bucket-authoring-CyTCHy1K.js} +3 -3
- package/dist/chunks/temporal-bucket-authoring-DueSgLJU.cjs +1 -0
- package/dist/chunks/{temporal-bucket-contract-CZl5D7FZ.js → temporal-bucket-contract-BeOx0uYe.js} +1 -1
- package/dist/chunks/{temporal-bucket-contract-BD862TAa.cjs → temporal-bucket-contract-Cp-usD9Z.cjs} +1 -1
- package/dist/chunks/{token-types-CoHsSJ4E.cjs → token-types-D9eN35rf.cjs} +1 -1
- package/dist/chunks/{token-types-DfDtCqlw.js → token-types-Dvomvqw0.js} +1 -1
- package/dist/chunks/{update-policy-BGNXFgBU.cjs → update-policy-Buw2LmvX.cjs} +1 -1
- package/dist/chunks/{update-policy-BybMiM61.js → update-policy-MWg0aH3d.js} +1 -1
- package/dist/chunks/{validators-D-T-2HOR.js → validators-D3AarM2T.js} +662 -663
- package/dist/chunks/validators-DqIM0B3C.cjs +1 -0
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.cjs +3 -3
- package/dist/dashboard-authoring/index.js +81 -79
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +2 -2
- package/dist/data-app-codegen/index.cjs +1 -1
- package/dist/data-app-codegen/index.js +2 -2
- package/dist/data-app-codegen-node/index.cjs +1 -1
- package/dist/data-app-codegen-node/index.js +3 -3
- package/dist/data-app-sdk/index.cjs +1 -1
- package/dist/data-app-sdk/index.js +3 -3
- package/dist/data-app-sdk-adapters/index.cjs +1 -1
- package/dist/data-app-sdk-adapters/index.js +2 -2
- package/dist/data-app-sdk-validation/index.cjs +1 -1
- package/dist/data-app-sdk-validation/index.js +3 -3
- package/dist/format-utils/index.cjs +3 -3
- package/dist/format-utils/index.js +9 -9
- package/dist/index.cjs +1 -1
- package/dist/index.js +177 -176
- package/dist/report-runtime-context/index.cjs +1 -1
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +3 -3
- package/dist/types/briefings.d.ts +19 -2
- package/dist/types/dashboard-authoring.d.ts +26 -3
- package/dist/types/dashboard.d.ts +20 -3
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.js +4 -4
- package/dist/types/main.d.ts +39 -18
- package/dist/types/shared.d.ts +19 -2
- package/dist/types/surfboard.d.ts +20 -3
- package/dist/types/types.d.ts +20 -3
- package/package.json +1 -1
- package/dist/chunks/dashboard-filter-value-compatibility-BCVF9IHg.js +0 -1026
- package/dist/chunks/dashboard-filter-value-compatibility-DLkdeypb.cjs +0 -1
- package/dist/chunks/dashboard-json-BYQjTmqD.cjs +0 -1
- package/dist/chunks/format-types-PSZZ7hG8.cjs +0 -1
- package/dist/chunks/matrix-result-contract-Bhg60NtS.cjs +0 -1
- package/dist/chunks/pivot-header-presentation-CePk1R6g.cjs +0 -4
- package/dist/chunks/pivot-result-lifecycle-CcGt_29N.cjs +0 -1
- package/dist/chunks/report-preferences-dialog-DW40ECz1.cjs +0 -1
- package/dist/chunks/saved-temporal-bucket-format-DNMtD77o.cjs +0 -1
- package/dist/chunks/switch-B1mZx2k9.cjs +0 -138
- package/dist/chunks/temporal-bucket-9Wz9Ds6H.cjs +0 -1
- package/dist/chunks/temporal-bucket-authoring-DSpzgXHc.cjs +0 -1
- package/dist/chunks/validators-DcshgK7w.cjs +0 -1
package/dist/index.js
CHANGED
|
@@ -1,45 +1,46 @@
|
|
|
1
|
-
import { E as
|
|
2
|
-
import {
|
|
3
|
-
import { a as
|
|
4
|
-
import { R as
|
|
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
|
|
7
|
-
import { A as
|
|
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
|
|
10
|
-
import { D as
|
|
11
|
-
import { A as
|
|
12
|
-
import { u as
|
|
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-
|
|
15
|
-
import { D as
|
|
16
|
-
import { r as
|
|
17
|
-
import "./chunks/analyze-result-contract-
|
|
18
|
-
import "./chunks/temporal-bucket-authoring-
|
|
19
|
-
import "./chunks/
|
|
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
|
|
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
|
|
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(
|
|
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 =
|
|
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 } =
|
|
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
|
-
|
|
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
|
-
|
|
61
|
+
y,
|
|
61
62
|
{
|
|
62
63
|
FallbackComponent: ({
|
|
63
64
|
error: r,
|
|
64
65
|
resetErrorBoundary: t
|
|
65
66
|
}) => /* @__PURE__ */ a(
|
|
66
|
-
|
|
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
|
|
78
|
+
function ha(e, s, i, l) {
|
|
78
79
|
b(() => {
|
|
79
|
-
e && !i && s && l(
|
|
80
|
+
e && !i && s && l(Y(s));
|
|
80
81
|
}, [e, i, s, l]);
|
|
81
82
|
}
|
|
82
|
-
function
|
|
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(
|
|
106
|
-
/* @__PURE__ */ a(
|
|
107
|
-
|
|
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
|
-
|
|
125
|
+
H,
|
|
125
126
|
{
|
|
126
127
|
className: "w-full p-0",
|
|
127
128
|
style: { minWidth: T },
|
|
128
|
-
children: /* @__PURE__ */ u(
|
|
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(
|
|
131
|
-
/* @__PURE__ */ a(
|
|
132
|
-
|
|
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(
|
|
142
|
-
/* @__PURE__ */ u(
|
|
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(
|
|
148
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
183
|
-
|
|
183
|
+
Ss as AdvancedModeToggle,
|
|
184
|
+
xa as BriefingAuthor,
|
|
184
185
|
ya as BriefingAuthorDialog,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
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
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
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
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
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
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
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-
|
|
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-
|
|
2
|
-
import { D as n, p as o, a as p, b as t } from "../chunks/report-runtime-context-
|
|
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,
|
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-
|
|
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;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as a, a as o } from "../chunks/index-
|
|
2
|
-
import { C as f, E } from "../chunks/common-types-
|
|
3
|
-
import { R as t } from "../chunks/report-preferences-dialog-
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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;
|