react-semaphor 0.1.542 → 0.1.544
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/activity/index.js +73 -0
- package/dist/assistant-context/index.js +1 -1
- package/dist/briefings/index.js +51 -50
- package/dist/chunks/{apply-dashboard-operations-Btbp2-6v.js → apply-dashboard-operations-Bz4n1Lq6.js} +44 -44
- package/dist/chunks/{assistant-chat-oHF5lTjA.js → assistant-chat-BNLkCDml.js} +288 -288
- package/dist/chunks/{comparison-window-caption-ChIyd_-L.js → comparison-window-caption-BTkrN3W4.js} +468 -463
- package/dist/chunks/dashboard-briefing-launcher-DQ_8O_e2.js +3725 -0
- package/dist/chunks/{dashboard-controls-CIn22Qgp.js → dashboard-controls-8RyBTQUO.js} +530 -525
- package/dist/chunks/dashboard-g5a4DKWq.js +14 -0
- package/dist/chunks/{dashboard-json-ZUYsIExq.js → dashboard-json-7qT9jmfL.js} +1 -1
- package/dist/chunks/{document-dashboard-inputs-C6MJVyoI.js → document-dashboard-inputs-BC6p-ESg.js} +4 -4
- package/dist/chunks/{document-sheet-utils-BsZUnHRl.js → document-sheet-utils-Duo9uLoH.js} +11 -11
- package/dist/chunks/{edit-dashboard-visual-DLdereA7.js → edit-dashboard-visual-BfJwnRIZ.js} +249 -248
- package/dist/chunks/export-file-format-C-tJsxsf.js +111 -0
- package/dist/chunks/{index-CV5rHq5D.js → index-DkAyQvC6.js} +59 -58
- package/dist/chunks/{matrix-formatter-BnsTX90d.js → matrix-formatter-CxJLkztA.js} +1 -1
- package/dist/chunks/{numeric-presentation-BSAqPpHt.js → numeric-presentation-DESvLiu9.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-BBlAfBA0.js → pivot-result-lifecycle-DM4CyGKs.js} +287 -395
- package/dist/chunks/{raw-temporal-presentation-CZ2r0Vb_.js → raw-temporal-presentation-CLiVi90c.js} +2 -2
- package/dist/chunks/{report-preferences-dialog-MRUWpMcJ.js → report-preferences-dialog-Df7VpRVW.js} +195 -195
- package/dist/chunks/{saved-dashboard-context-DjPqgFly.js → saved-dashboard-context-B-mQ--nV.js} +3 -3
- package/dist/chunks/{semaphor-ready-indicator-BWSpRsPj.js → semaphor-ready-indicator-DDAxk8us.js} +39892 -39380
- package/dist/chunks/{shelf-drop-preview-context-CQbFLm3q.js → shelf-drop-preview-context-BSRPwaED.js} +414 -371
- package/dist/chunks/{table-export-sheet-BHSnuZHd.js → table-export-sheet-CPfGAQ9X.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-BJDNqdOh.js → use-create-flow-overlay-state-BxzFviM-.js} +67 -78
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.js +72 -72
- package/dist/data-app-sdk/index.js +1 -1
- package/dist/format-utils/index.js +226 -223
- package/dist/index.js +266 -271
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/activity.d.ts +2 -0
- package/dist/types/components/activity/activity-bell.d.ts +11 -0
- package/dist/types/components/activity/activity-instance.d.ts +50 -0
- package/dist/types/components/activity/activity-notices.d.ts +7 -0
- package/dist/types/components/activity/activity-provider.d.ts +21 -0
- package/dist/types/components/activity/activity-types.d.ts +177 -0
- package/dist/types/components/activity/index.d.ts +6 -0
- package/dist/types/components/activity/use-activity.d.ts +20 -0
- package/dist/types/components/briefings/briefing-author/run-model.d.ts +1 -2
- package/dist/types/components/briefings/briefing-author.d.ts +14 -12
- package/dist/types/components/briefings/dashboard-briefing-launcher.d.ts +5 -0
- package/dist/types/components/briefings/use-briefing-run-detail.d.ts +34 -0
- package/dist/types/components/index.d.ts +1 -4
- package/dist/types/lib/activity-identity.d.ts +21 -0
- package/dist/types/lib/api/exports-api.d.ts +4 -4
- package/dist/types/lib/hooks/index.d.ts +1 -3
- package/dist/types/lib/matrix-table/matrix-delivery.d.ts +4 -0
- package/dist/types/shared/activity/activity-contract.d.ts +84 -0
- package/dist/types/shared/activity/index.d.ts +5 -0
- package/dist/types/shared/dashboard-authoring/card-export-request.d.ts +6 -0
- package/dist/types/shared/format-utils/export-policy.d.ts +12 -0
- package/package.json +5 -1
- package/dist/chunks/dashboard-briefing-launcher-B-cm719R.js +0 -4248
- package/dist/chunks/dashboard-s5WJBcK8.js +0 -14
- package/dist/types/components/briefings/briefing-author/run-ui.d.ts +0 -81
- package/dist/types/components/briefings/use-briefing-run-polling.d.ts +0 -34
- package/dist/types/components/notifications/export-notification-item.d.ts +0 -24
- package/dist/types/components/notifications/export-notification-list.d.ts +0 -8
- package/dist/types/components/notifications/index.d.ts +0 -3
- package/dist/types/components/notifications/notification-bell.d.ts +0 -13
- package/dist/types/lib/exports/bounded-request.d.ts +0 -12
- package/dist/types/lib/hooks/use-export-polling.d.ts +0 -32
- package/dist/types/lib/hooks/use-export-recovery.d.ts +0 -11
- package/dist/types/lib/stores/export-store.d.ts +0 -62
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
var we = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var z = (e, t, a) =>
|
|
4
|
-
import { D as
|
|
5
|
-
import { N as ca, b as la, u as ua, e as fa, j as pa, l as ma, k as ha, f as ga, i as ba, c as Ia, t as Ca, m as ya, o as _a, q as Da, g as Sa, p as va, h as Ta, n as wa, d as
|
|
6
|
-
import { c as ke, a as Ae, v as Oe, f as Re, d as Ee, p as Ne } from "../chunks/numeric-presentation-
|
|
7
|
-
import { A as Aa, Q as Oa, R as Ra, T as Ea, N as Na, O as Ma, P as Pa, J as $a, K as
|
|
8
|
-
import { q as Me, A as
|
|
2
|
+
var Fe = (e, t, a) => t in e ? we(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
3
|
+
var z = (e, t, a) => Fe(e, typeof t != "symbol" ? t + "" : t, a);
|
|
4
|
+
import { D as L, a as xe, r as H } from "../chunks/apply-dashboard-operations-Bz4n1Lq6.js";
|
|
5
|
+
import { N as ca, b as la, u as ua, e as fa, j as pa, l as ma, k as ha, f as ga, i as ba, c as Ia, t as Ca, m as ya, o as _a, q as Da, g as Sa, p as va, h as Ta, n as wa, d as Fa, s as xa } from "../chunks/apply-dashboard-operations-Bz4n1Lq6.js";
|
|
6
|
+
import { c as ke, a as Ae, v as Oe, f as Re, d as Ee, p as Ne } from "../chunks/numeric-presentation-DESvLiu9.js";
|
|
7
|
+
import { A as Aa, Q as Oa, R as Ra, T as Ea, N as Na, O as Ma, P as Pa, J as $a, K as Ba, M as La, L as qa, U as Va, a4 as za, S as ja, V as Ua, b as Ga, a3 as Ha, a2 as Wa, o as Ka, x as Qa, q as Xa, u as Ya, w as Ja, a7 as Za, I as er, H as tr, C as ar, a8 as rr, h as nr, j as ir, $ as or, i as sr, a0 as dr, a1 as cr, B as lr, D as ur, z as fr, a5 as pr, a6 as mr, e as hr, a9 as gr, F as br, l as Ir, X as Cr, m as yr, Z as _r, _ as Dr, Y as Sr, k as vr, E as Tr, y as wr, s as Fr, t as xr, G as kr, W as Ar } from "../chunks/numeric-presentation-DESvLiu9.js";
|
|
8
|
+
import { q as Me, A as Y, au as Pe, B as fe, l as $e, ag as Be } from "../chunks/validators-DMHTpf7a.js";
|
|
9
9
|
import "../chunks/matrix-operation-contract-8OIO4gob.js";
|
|
10
10
|
import "../chunks/analytics-base-schemas-BFAoRlkU.js";
|
|
11
11
|
import "zod";
|
|
12
|
-
import { m as j } from "../chunks/document-sheet-utils-
|
|
13
|
-
import { p as Rr, D as Er, l as Nr, v as Mr, b as Pr, k as $r, g as
|
|
14
|
-
import { n as
|
|
15
|
-
import { a as Zr, b as en, r as tn } from "../chunks/raw-temporal-presentation-
|
|
12
|
+
import { m as j } from "../chunks/document-sheet-utils-Duo9uLoH.js";
|
|
13
|
+
import { p as Rr, D as Er, l as Nr, v as Mr, b as Pr, k as $r, g as Br, d as Lr, f as qr, n as Vr, u as zr, j as jr, r as Ur, h as Gr, q as Hr, s as Wr, i as Kr, o as Qr, t as Xr, w as Yr } from "../chunks/document-sheet-utils-Duo9uLoH.js";
|
|
14
|
+
import { n as Le } from "../chunks/operators-B3zZoskU.js";
|
|
15
|
+
import { a as Zr, b as en, r as tn } from "../chunks/raw-temporal-presentation-CLiVi90c.js";
|
|
16
16
|
import { D as rn, w as nn, z as on, x as sn, v as dn, y as cn } from "../chunks/table-settings-CLZocegs.js";
|
|
17
17
|
import { D as un, d as fn, i as pn, v as mn } from "../chunks/dashboard-filter-value-compatibility-CwQ_iSNb.js";
|
|
18
|
-
import {
|
|
18
|
+
import { D as gn, C as bn, A as In, B as Cn, E as yn, F as _n } from "../chunks/pivot-result-lifecycle-DM4CyGKs.js";
|
|
19
19
|
import { e as qe, w as Ve } from "../chunks/metric-comparison-DEwi9uc2.js";
|
|
20
20
|
import { p as ze } from "../chunks/report-runtime-context-Dq8XyODK.js";
|
|
21
21
|
import { m as Sn, a as vn, r as Tn } from "../chunks/matrix-card-DjwWcCo8.js";
|
|
@@ -32,11 +32,11 @@ function je(e) {
|
|
|
32
32
|
function R(e) {
|
|
33
33
|
return je(e) ? e.kind === "semantic" ? !!(e.domainId && e.datasetName) : e.kind === "physical" ? !!(e.connectionId && e.tableName) : !1 : !1;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Xt(e) {
|
|
36
36
|
return Me(e);
|
|
37
37
|
}
|
|
38
38
|
function pe(e, t) {
|
|
39
|
-
return
|
|
39
|
+
return Y(e, t);
|
|
40
40
|
}
|
|
41
41
|
function Ue(e, t) {
|
|
42
42
|
return Pe(e, t);
|
|
@@ -54,11 +54,11 @@ function q(e) {
|
|
|
54
54
|
}
|
|
55
55
|
return t;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function Yt(e) {
|
|
58
58
|
return q(e)[0];
|
|
59
59
|
}
|
|
60
60
|
function W(e, t) {
|
|
61
|
-
return e.kind !== "semantic" || e.connectionId || (t == null ? void 0 : t.kind) !== "semantic" || !
|
|
61
|
+
return e.kind !== "semantic" || e.connectionId || (t == null ? void 0 : t.kind) !== "semantic" || !Y(e, t) || !t.connectionId ? e : { ...e, connectionId: t.connectionId };
|
|
62
62
|
}
|
|
63
63
|
function K(e) {
|
|
64
64
|
return R(e) ? e : void 0;
|
|
@@ -66,7 +66,7 @@ function K(e) {
|
|
|
66
66
|
function le(e, t) {
|
|
67
67
|
if (!(e.kind !== "semantic" || e.connectionId))
|
|
68
68
|
return t.find(
|
|
69
|
-
(a) => (a == null ? void 0 : a.kind) === "semantic" &&
|
|
69
|
+
(a) => (a == null ? void 0 : a.kind) === "semantic" && Y(e, a) && !!a.connectionId
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
72
|
function v(e, t) {
|
|
@@ -126,11 +126,11 @@ function Qe(e) {
|
|
|
126
126
|
var t;
|
|
127
127
|
return k(e) !== "physical" ? null : T((t = S(e)) == null ? void 0 : t.tableName);
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Xe(e) {
|
|
130
130
|
var t;
|
|
131
131
|
return k(e) !== "physical" ? "" : T((t = S(e)) == null ? void 0 : t.databaseName) || "";
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Ye(e) {
|
|
134
134
|
var t;
|
|
135
135
|
return k(e) !== "physical" ? "" : T((t = S(e)) == null ? void 0 : t.schemaName) || "";
|
|
136
136
|
}
|
|
@@ -156,7 +156,7 @@ function J(e, t) {
|
|
|
156
156
|
const a = We(e);
|
|
157
157
|
return me(e) === t.domainId ? a && t.datasetId ? a === t.datasetId : He(e) === t.datasetName : !1;
|
|
158
158
|
}
|
|
159
|
-
return t.kind === "physical" ? Ke(e) === t.connectionId && Qe(e) === t.tableName &&
|
|
159
|
+
return t.kind === "physical" ? Ke(e) === t.connectionId && Qe(e) === t.tableName && Xe(e) === (t.databaseName || "") && Ye(e) === (t.schemaName || "") : !1;
|
|
160
160
|
}
|
|
161
161
|
function Zt(e, t) {
|
|
162
162
|
return e.find(
|
|
@@ -374,10 +374,10 @@ function tt(e) {
|
|
|
374
374
|
f("invalid_sheet_kind", 'Generated sheet must use kind "dashboard".')
|
|
375
375
|
);
|
|
376
376
|
const s = (o == null ? void 0 : o.cards) || [];
|
|
377
|
-
s.length >
|
|
377
|
+
s.length > L && t.push(
|
|
378
378
|
f(
|
|
379
379
|
"too_many_cards",
|
|
380
|
-
`Generated dashboards can contain at most ${
|
|
380
|
+
`Generated dashboards can contain at most ${L} cards.`
|
|
381
381
|
)
|
|
382
382
|
);
|
|
383
383
|
const l = M(s.map((u) => u.id));
|
|
@@ -596,7 +596,7 @@ function A(e, t, a, r) {
|
|
|
596
596
|
function Z(e) {
|
|
597
597
|
const t = it(e);
|
|
598
598
|
return Object.fromEntries(
|
|
599
|
-
|
|
599
|
+
xe.map((a) => {
|
|
600
600
|
const r = rt[a], n = [
|
|
601
601
|
...A(t.introText, "introText", a, r),
|
|
602
602
|
...A(t.kpis, "kpi", a, r),
|
|
@@ -703,7 +703,7 @@ function ht(e, t, a) {
|
|
|
703
703
|
...t.respondsToSelections !== void 0 ? { respondsToSelections: t.respondsToSelections } : {}
|
|
704
704
|
};
|
|
705
705
|
}
|
|
706
|
-
function
|
|
706
|
+
function X(e, t) {
|
|
707
707
|
return Array.from(
|
|
708
708
|
new Set(
|
|
709
709
|
(e || []).map((a) => t.get(a)).filter((a) => !!a)
|
|
@@ -713,20 +713,20 @@ function Y(e, t) {
|
|
|
713
713
|
function gt(e, t) {
|
|
714
714
|
if ((e == null ? void 0 : e.kind) !== "cards")
|
|
715
715
|
return e;
|
|
716
|
-
const a =
|
|
716
|
+
const a = X(e.cardIds, t);
|
|
717
717
|
return a.length > 0 ? { ...e, cardIds: a } : null;
|
|
718
718
|
}
|
|
719
719
|
function bt(e, t) {
|
|
720
720
|
return !e.applyToCardIds && !e.excludeCardIds ? e : {
|
|
721
721
|
...e,
|
|
722
722
|
...e.applyToCardIds ? {
|
|
723
|
-
applyToCardIds:
|
|
723
|
+
applyToCardIds: X(
|
|
724
724
|
e.applyToCardIds,
|
|
725
725
|
t
|
|
726
726
|
)
|
|
727
727
|
} : {},
|
|
728
728
|
...e.excludeCardIds ? {
|
|
729
|
-
excludeCardIds:
|
|
729
|
+
excludeCardIds: X(
|
|
730
730
|
e.excludeCardIds,
|
|
731
731
|
t
|
|
732
732
|
)
|
|
@@ -972,11 +972,11 @@ function ta(e) {
|
|
|
972
972
|
return b + (((m = c.cards) == null ? void 0 : m.length) || 0);
|
|
973
973
|
},
|
|
974
974
|
0
|
|
975
|
-
) >=
|
|
975
|
+
) >= L) {
|
|
976
976
|
n.push(
|
|
977
977
|
w(
|
|
978
978
|
"generated_card_limit_reached",
|
|
979
|
-
`AI refinement is capped at ${
|
|
979
|
+
`AI refinement is capped at ${L} cards.`,
|
|
980
980
|
d.card.id
|
|
981
981
|
)
|
|
982
982
|
);
|
|
@@ -1140,7 +1140,7 @@ function ae(e) {
|
|
|
1140
1140
|
(t) => E(t)
|
|
1141
1141
|
) : [];
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1143
|
+
function F(e) {
|
|
1144
1144
|
if (!Array.isArray(e))
|
|
1145
1145
|
return [];
|
|
1146
1146
|
const t = [];
|
|
@@ -1156,28 +1156,28 @@ function Tt(e) {
|
|
|
1156
1156
|
return [];
|
|
1157
1157
|
const t = [];
|
|
1158
1158
|
if (R(e.source) && t.push(e.source), e.kind === "metric") {
|
|
1159
|
-
t.push(...
|
|
1159
|
+
t.push(...F(e.measures));
|
|
1160
1160
|
const o = v(e.dateField);
|
|
1161
|
-
o && t.push(o), t.push(...
|
|
1162
|
-
...
|
|
1161
|
+
o && t.push(o), t.push(...F(e.dimensions)), t.push(
|
|
1162
|
+
...F(
|
|
1163
1163
|
(r = e.filters) == null ? void 0 : r.map((s) => s.field)
|
|
1164
1164
|
)
|
|
1165
1165
|
);
|
|
1166
1166
|
} else if (e.kind === "records") {
|
|
1167
1167
|
const o = v(e.dateField);
|
|
1168
|
-
o && t.push(o), t.push(...
|
|
1169
|
-
...
|
|
1168
|
+
o && t.push(o), t.push(...F(e.fields)), t.push(
|
|
1169
|
+
...F(
|
|
1170
1170
|
(n = e.filters) == null ? void 0 : n.map((s) => s.field)
|
|
1171
1171
|
)
|
|
1172
1172
|
);
|
|
1173
1173
|
} else e.kind === "inputOptions" ? (((i = e.population) == null ? void 0 : i.kind) === "related_population" && R(e.population.baseSource) && t.push(e.population.baseSource), t.push(
|
|
1174
|
-
...
|
|
1174
|
+
...F([
|
|
1175
1175
|
e.labelField,
|
|
1176
1176
|
e.valueField,
|
|
1177
1177
|
e.searchField,
|
|
1178
1178
|
...e.disambiguationFields || []
|
|
1179
1179
|
].filter((o) => !!o))
|
|
1180
|
-
)) : e.kind === "sql" && t.push(...
|
|
1180
|
+
)) : e.kind === "sql" && t.push(...F(e.fields));
|
|
1181
1181
|
const a = "inputs" in e && Array.isArray(e.inputs) ? e.inputs : [];
|
|
1182
1182
|
for (const o of a) {
|
|
1183
1183
|
const s = v(o.field);
|
|
@@ -1196,7 +1196,7 @@ function wt(e) {
|
|
|
1196
1196
|
t.push(...Tt(r.analytics));
|
|
1197
1197
|
return t;
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1199
|
+
function Ft(e) {
|
|
1200
1200
|
var a;
|
|
1201
1201
|
const t = [];
|
|
1202
1202
|
for (const r of te(e))
|
|
@@ -1204,7 +1204,7 @@ function xt(e) {
|
|
|
1204
1204
|
R((a = n.analytics) == null ? void 0 : a.source) && t.push(n.analytics.source);
|
|
1205
1205
|
return t;
|
|
1206
1206
|
}
|
|
1207
|
-
function
|
|
1207
|
+
function xt(e, t) {
|
|
1208
1208
|
const a = q(e).filter(R);
|
|
1209
1209
|
if (a.length === 0)
|
|
1210
1210
|
return t.push(
|
|
@@ -1227,7 +1227,7 @@ function Ft(e, t) {
|
|
|
1227
1227
|
}
|
|
1228
1228
|
function kt(e, t) {
|
|
1229
1229
|
const a = te(e), r = ve(e), n = q(wt(e)), i = q(
|
|
1230
|
-
|
|
1230
|
+
Ft(e)
|
|
1231
1231
|
);
|
|
1232
1232
|
return {
|
|
1233
1233
|
sections: a,
|
|
@@ -1235,7 +1235,7 @@ function kt(e, t) {
|
|
|
1235
1235
|
sources: n,
|
|
1236
1236
|
primarySources: i,
|
|
1237
1237
|
defaultSource: i.length === 1 ? i[0] : void 0,
|
|
1238
|
-
datasets:
|
|
1238
|
+
datasets: xt(n, t)
|
|
1239
1239
|
};
|
|
1240
1240
|
}
|
|
1241
1241
|
function At(e) {
|
|
@@ -1265,7 +1265,7 @@ function Rt(e) {
|
|
|
1265
1265
|
return ((t = e.presentation) == null ? void 0 : t.kind) === "kpi" ? "kpi" : ((a = e.presentation) == null ? void 0 : a.kind) === "table" ? "table" : ((r = e.presentation) == null ? void 0 : r.kind) === "text" ? "text" : "chart";
|
|
1266
1266
|
}
|
|
1267
1267
|
function Et(e) {
|
|
1268
|
-
const t =
|
|
1268
|
+
const t = Le(e);
|
|
1269
1269
|
switch (t) {
|
|
1270
1270
|
case "not_in":
|
|
1271
1271
|
return "not in";
|
|
@@ -1441,7 +1441,7 @@ function $t(e) {
|
|
|
1441
1441
|
}
|
|
1442
1442
|
function aa(e) {
|
|
1443
1443
|
var g, b, c;
|
|
1444
|
-
const t = [], a =
|
|
1444
|
+
const t = [], a = Be(e);
|
|
1445
1445
|
for (const m of a.warnings)
|
|
1446
1446
|
t.push(_(m.code, m.message));
|
|
1447
1447
|
for (const m of a.errors)
|
|
@@ -1569,14 +1569,14 @@ class D extends Error {
|
|
|
1569
1569
|
function re(e) {
|
|
1570
1570
|
return e.label ? `${e.label}.` : "";
|
|
1571
1571
|
}
|
|
1572
|
-
function
|
|
1572
|
+
function x(e) {
|
|
1573
1573
|
return !e || typeof e != "object" || Array.isArray(e) ? {} : { ...e };
|
|
1574
1574
|
}
|
|
1575
|
-
function
|
|
1575
|
+
function B(e) {
|
|
1576
1576
|
return typeof e == "string" ? e : "";
|
|
1577
1577
|
}
|
|
1578
|
-
function
|
|
1579
|
-
const a =
|
|
1578
|
+
function Bt(e, t = {}) {
|
|
1579
|
+
const a = x(e), r = re(t), n = {};
|
|
1580
1580
|
if (a.calendarContext !== void 0) {
|
|
1581
1581
|
const o = ze(a.calendarContext);
|
|
1582
1582
|
if (!o.ok)
|
|
@@ -1609,9 +1609,9 @@ function Lt(e, t = {}) {
|
|
|
1609
1609
|
return n;
|
|
1610
1610
|
}
|
|
1611
1611
|
function ia(e, t = {}) {
|
|
1612
|
-
const a =
|
|
1612
|
+
const a = x(e), r = re(t), n = {};
|
|
1613
1613
|
if (a.pagination !== void 0) {
|
|
1614
|
-
const i =
|
|
1614
|
+
const i = x(a.pagination), o = i.page, s = i.pageSize;
|
|
1615
1615
|
if (!Number.isInteger(o) || o < 1 || !Number.isInteger(s) || s < 1)
|
|
1616
1616
|
throw new D(
|
|
1617
1617
|
`${r}pagination must name a page and a page size of at least 1`,
|
|
@@ -1625,7 +1625,7 @@ function ia(e, t = {}) {
|
|
|
1625
1625
|
n.tableTotalsRequest = a.tableTotalsRequest;
|
|
1626
1626
|
}
|
|
1627
1627
|
if (a.sourceRowProbe !== void 0) {
|
|
1628
|
-
const i =
|
|
1628
|
+
const i = x(a.sourceRowProbe).limit;
|
|
1629
1629
|
if (!Number.isInteger(i) || i < 1)
|
|
1630
1630
|
throw new D(
|
|
1631
1631
|
`${r}sourceRowProbe must name a limit of at least 1`,
|
|
@@ -1641,14 +1641,14 @@ function ia(e, t = {}) {
|
|
|
1641
1641
|
return n;
|
|
1642
1642
|
}
|
|
1643
1643
|
function oa(e, t = {}) {
|
|
1644
|
-
const a =
|
|
1644
|
+
const a = x(e), r = re(t), n = (c) => new D(`${r}${c} is required`, c), i = B(a.connection_id).trim();
|
|
1645
1645
|
if (!i) throw n("connection_id");
|
|
1646
|
-
const o =
|
|
1646
|
+
const o = B(a.cardType).trim();
|
|
1647
1647
|
if (!o) throw n("cardType");
|
|
1648
1648
|
const s = a.resultOwner;
|
|
1649
1649
|
if (s !== "config" && s !== "freeform" && s !== "none")
|
|
1650
1650
|
throw n("resultOwner");
|
|
1651
|
-
const l =
|
|
1651
|
+
const l = x(a.cardConfig), d = B(a.sql), p = B(a.python), h = !!t.configOptional || Object.keys(l).length > 0;
|
|
1652
1652
|
if (s === "config" && !h) throw n("cardConfig");
|
|
1653
1653
|
if (s === "freeform" && !d.trim()) throw n("sql");
|
|
1654
1654
|
const y = Ee({
|
|
@@ -1662,7 +1662,7 @@ function oa(e, t = {}) {
|
|
|
1662
1662
|
"resultOwner"
|
|
1663
1663
|
);
|
|
1664
1664
|
if (s === "none") throw n("cardConfig");
|
|
1665
|
-
const g =
|
|
1665
|
+
const g = x(a.cardDataSource);
|
|
1666
1666
|
if (Object.keys(g).length === 0) throw n("cardDataSource");
|
|
1667
1667
|
const b = Ne({
|
|
1668
1668
|
controlValues: a.controlValues,
|
|
@@ -1683,7 +1683,7 @@ function oa(e, t = {}) {
|
|
|
1683
1683
|
controlDefinitions: b.controlDefinitions,
|
|
1684
1684
|
cardControlDefinitions: b.cardControlDefinitions,
|
|
1685
1685
|
controlBindings: b.controlBindings,
|
|
1686
|
-
...
|
|
1686
|
+
...Bt(a, t)
|
|
1687
1687
|
};
|
|
1688
1688
|
}
|
|
1689
1689
|
export {
|
|
@@ -1697,13 +1697,13 @@ export {
|
|
|
1697
1697
|
Ma as CONTROL_DEFINITION_DUPLICATE_ERROR_CODE,
|
|
1698
1698
|
Pa as CONTROL_DEFINITION_INVALID_ERROR_CODE,
|
|
1699
1699
|
$a as CONTROL_PLACEHOLDER_QUOTED_ERROR_CODE,
|
|
1700
|
-
|
|
1701
|
-
|
|
1700
|
+
Ba as CONTROL_REFERENCE_MISSING_ERROR_CODE,
|
|
1701
|
+
La as CONTROL_VALUE_INVALID_ERROR_CODE,
|
|
1702
1702
|
qa as CONTROL_VALUE_MISSING_ERROR_CODE,
|
|
1703
1703
|
D as CardQueryRequestError,
|
|
1704
1704
|
Va as ControlResolutionError,
|
|
1705
|
-
|
|
1706
|
-
|
|
1705
|
+
xe as DASHBOARD_AUTHORING_BREAKPOINTS,
|
|
1706
|
+
L as DASHBOARD_AUTHORING_MAX_GENERATED_CARDS,
|
|
1707
1707
|
Rr as DASHBOARD_DEFAULT_OPTION_DEPENDENCIES,
|
|
1708
1708
|
un as DASHBOARD_FILTER_OPERATIONS,
|
|
1709
1709
|
rn as DOCUMENT_KPI_SECTION_MAX_CARDS,
|
|
@@ -1739,16 +1739,16 @@ export {
|
|
|
1739
1739
|
J as dashboardAuthoringDatasetMatchesSource,
|
|
1740
1740
|
Jt as dashboardAuthoringFieldsReferToSameTarget,
|
|
1741
1741
|
v as dashboardAuthoringSourceFromField,
|
|
1742
|
-
|
|
1742
|
+
Xt as dashboardAuthoringSourceKey,
|
|
1743
1743
|
pe as dashboardAuthoringSourcesReferToSameDataset,
|
|
1744
1744
|
Ka as dashboardCardFilterSourceInventoryContains,
|
|
1745
|
-
|
|
1745
|
+
Br as dashboardFilterTargetMatchesLogicalValue,
|
|
1746
1746
|
fn as dashboardFilterValueTypeForDataType,
|
|
1747
1747
|
aa as dashboardPlanFromSemaphorDashboardIntent,
|
|
1748
1748
|
Qa as defaultClickToFilterSettings,
|
|
1749
1749
|
Zt as findDashboardAuthoringDatasetForSource,
|
|
1750
|
-
|
|
1751
|
-
|
|
1750
|
+
Xa as findDashboardCardExecutableSource,
|
|
1751
|
+
Ya as findDashboardCardPinnedCatalogSource,
|
|
1752
1752
|
Ja as findDashboardSqlPinnedCatalogSource,
|
|
1753
1753
|
Re as formatResolvedPrimaryDateFieldIssues,
|
|
1754
1754
|
ya as getCalculatedFieldAggregateOverrides,
|
|
@@ -1779,7 +1779,7 @@ export {
|
|
|
1779
1779
|
lr as linkedClickToFilterOverridesSchema,
|
|
1780
1780
|
dn as listDashboardCardLocations,
|
|
1781
1781
|
cn as mapDocumentSectionCards,
|
|
1782
|
-
|
|
1782
|
+
Lr as matrixCatalogSources,
|
|
1783
1783
|
Sn as matrixDefinitionFields,
|
|
1784
1784
|
vn as matrixDefinitionSources,
|
|
1785
1785
|
qr as matrixExecutionSources,
|
|
@@ -1790,13 +1790,13 @@ export {
|
|
|
1790
1790
|
Vr as normalizeDashboardInputs,
|
|
1791
1791
|
wa as normalizeLegacyLinkedTargetOverrides,
|
|
1792
1792
|
oa as parseCardQueryRequest,
|
|
1793
|
-
|
|
1793
|
+
Bt as parseCardQueryRequestContext,
|
|
1794
1794
|
ia as parseCardQueryRequestExtras,
|
|
1795
1795
|
pr as parseExecutionControlBindingsShallow,
|
|
1796
1796
|
Ne as parseExecutionControlContext,
|
|
1797
1797
|
mr as parseExecutionControlContract,
|
|
1798
1798
|
Ue as preferDashboardAuthoringSourceMetadata,
|
|
1799
|
-
|
|
1799
|
+
Yt as preferredDashboardAuthoringSource,
|
|
1800
1800
|
hr as previewTemporalBucketAuthoringFormat,
|
|
1801
1801
|
gr as readExactDomainCalculatedFieldReference,
|
|
1802
1802
|
Tn as readMatrixCardConfig,
|
|
@@ -1804,7 +1804,7 @@ export {
|
|
|
1804
1804
|
br as reconcileMatrixSpecStructure,
|
|
1805
1805
|
Ir as reconcileTemporalBucketAuthoringFormat,
|
|
1806
1806
|
H as remapClickToFilterReferences,
|
|
1807
|
-
|
|
1807
|
+
Fa as remapLinkedClickToFilterOverrides,
|
|
1808
1808
|
jr as requireNormalizedDashboardInputs,
|
|
1809
1809
|
Cr as resolveBindingControlValue,
|
|
1810
1810
|
Zr as resolveCanonicalDetailResultRawKey,
|
|
@@ -1826,11 +1826,11 @@ export {
|
|
|
1826
1826
|
Ee as resolveTemporalResultOwner,
|
|
1827
1827
|
Ae as respondsToSelectionsSchema,
|
|
1828
1828
|
Tr as retainMatrixConditionalFormatting,
|
|
1829
|
-
|
|
1829
|
+
Xr as selectDashboardOptionDependencyInputIds,
|
|
1830
1830
|
wr as selectionFieldFromExplorerField,
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1831
|
+
xa as stripInstanceTargetsForLibrarySave,
|
|
1832
|
+
Fr as supportsCanonicalDashboardTemporalResult,
|
|
1833
|
+
xr as transformComparisonDocument,
|
|
1834
1834
|
kr as updateMatrixConfig,
|
|
1835
1835
|
Ar as validateControlValue,
|
|
1836
1836
|
Ze as validateDashboardAuthoringDatasetScope,
|
|
@@ -1838,5 +1838,5 @@ export {
|
|
|
1838
1838
|
mn as validateDashboardFilterValues,
|
|
1839
1839
|
tt as validateDashboardPlan,
|
|
1840
1840
|
Oe as validateResolvedPrimaryDateFieldShape,
|
|
1841
|
-
|
|
1841
|
+
Yr as withDashboardOptionDependencyOverride
|
|
1842
1842
|
};
|
|
@@ -6,7 +6,7 @@ import { a as Ro, av as Lo } from "../chunks/validators-DMHTpf7a.js";
|
|
|
6
6
|
import { m as ht, am as bt, al as vt, A as sr, r as ar, H as St } from "../chunks/matrix-operation-contract-8OIO4gob.js";
|
|
7
7
|
import "../chunks/analytics-base-schemas-BFAoRlkU.js";
|
|
8
8
|
import "zod";
|
|
9
|
-
import { m as lr } from "../chunks/matrix-formatter-
|
|
9
|
+
import { m as lr } from "../chunks/matrix-formatter-CxJLkztA.js";
|
|
10
10
|
import { M as wt, a as It, S as xt, E as qt, C as At, r as dr } from "../chunks/selection-reducer-Dj_8xD69.js";
|
|
11
11
|
import { X as Tt, C as kt } from "../chunks/x-4f5U2XwU.js";
|
|
12
12
|
import { j as Ct } from "../chunks/index-CuHybtft.js";
|