react-semaphor 0.1.565 → 0.1.567
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/assistant-context/index.js +1 -1
- package/dist/briefings/index.js +50 -46
- package/dist/chunks/{assistant-chat-DNfb5fbF.js → assistant-chat-D-IuHHwh.js} +6 -6
- package/dist/chunks/{bookmark-impact-CHr7b1J2.js → bookmark-impact-B0estCHn.js} +9 -9
- package/dist/chunks/{bookmark-state-ByODVqee.js → bookmark-state-Du3s13_V.js} +333 -321
- package/dist/chunks/{card-filter-builder-CcEcfaYz.js → card-filter-builder-DbSmzvem.js} +46 -46
- package/dist/chunks/{dashboard-briefing-launcher-D3mc6peE.js → dashboard-briefing-launcher-DunvZYsU.js} +333 -333
- package/dist/chunks/{dashboard-controls-BFv0zdws.js → dashboard-controls-B09cN2Dz.js} +57 -57
- package/dist/chunks/{dashboard-CtIfxycc.js → dashboard-f8J9DHh5.js} +1 -1
- package/dist/chunks/{dashboard-json-CXn_3OYb.js → dashboard-json-BNNCaKEc.js} +1 -1
- package/dist/chunks/{dates-DcRxw17S.js → dates-BsJcyoC_.js} +5 -5
- package/dist/chunks/{edit-dashboard-visual-Y6HatqBd.js → edit-dashboard-visual-Cwzbpty8.js} +213 -197
- package/dist/chunks/{filter-reach-copy-DbggA5B7.js → filter-reach-copy-P-kDwUpY.js} +852 -858
- package/dist/chunks/{index-DDa_rklN.js → index-BcXw0CpM.js} +648 -574
- package/dist/chunks/{report-preferences-dialog-Db-b04B4.js → report-preferences-dialog-CbgmdWeZ.js} +8 -8
- package/dist/chunks/{resolve-dashboard-input-context-C18J-YZC.js → resolve-dashboard-input-context-DPKSF3qj.js} +3403 -3378
- package/dist/chunks/{saved-dashboard-context-DhC_EVus.js → saved-dashboard-context-CNudmm9U.js} +13 -13
- package/dist/chunks/{semaphor-ready-indicator-T6TsiBMT.js → semaphor-ready-indicator-CQd-PCCZ.js} +32568 -32581
- package/dist/chunks/{shelf-drop-preview-context-CNWL_b0S.js → shelf-drop-preview-context-CWS3e20y.js} +2 -2
- package/dist/chunks/{stored-dashboard-IdmtrNkA.js → stored-dashboard-CrQFT27O.js} +1074 -1055
- package/dist/chunks/{variable-draft-3xseULxR.js → variable-draft-BDxlD0dM.js} +2 -2
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +1669 -1642
- package/dist/index.js +12 -12
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/briefings/delivery-outcome.d.ts +37 -0
- package/dist/types/briefings/index.d.ts +2 -0
- package/dist/types/briefings/run-outcomes.d.ts +6 -0
- package/dist/types/components/briefings/briefing-author/run-model.d.ts +9 -0
- package/dist/types/index.js +33 -32
- package/dist/types/lib/dashboard-viewer/table-view.d.ts +24 -2
- package/dist/types/lib/dashboard-viewer/use-table-view.d.ts +15 -0
- package/dist/types/lib/query-context/dashboard-filter-mapping-resolution.d.ts +15 -3
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/dashboard-filter-sql-subscription.d.ts +24 -0
- package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +20 -4
- package/dist/types/shared/dashboard-viewer/table-settings.d.ts +9 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as t, b as r, c as d, d as o, p as i, e as n, f as p } from "../chunks/saved-dashboard-context-
|
|
1
|
+
import { A as e, a as t, b as r, c as d, d as o, p as i, e as n, f as p } from "../chunks/saved-dashboard-context-CNudmm9U.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AssistantContextSourceError,
|
|
4
4
|
t as assistantCardReplayFields,
|
package/dist/briefings/index.js
CHANGED
|
@@ -5,59 +5,63 @@ import "zod";
|
|
|
5
5
|
import "../chunks/matrix-operation-contract-Eb6elidS.js";
|
|
6
6
|
import "../chunks/analytics-base-schemas-BaIQrEzX.js";
|
|
7
7
|
import "../value-format-preferences/index.js";
|
|
8
|
-
import {
|
|
8
|
+
import { A as g, J as l, a2 as B, F as m, a4 as E, z as c, B as I, E as T, K as d, C, D as u, M as A, Z as h, i as p, _ as D, $ as _, a5 as b, n as F, l as S, m as R, P as N, k as y, R as M, f as O, e as G, S as v, u as x, q as L, c as U, d as V, I as z, H, h as J, b as P, a as q, a6 as X, g as K, a0 as Q, V as Y, a3 as j, W as k, G as W, a1 as Z, r as $, j as w, X as ee, Y as ie, o as ae, L as re, Q as te, O as se, p as ne, s as oe, t as fe, N as ge, T as le, U as Be } from "../chunks/index-BcXw0CpM.js";
|
|
9
9
|
export {
|
|
10
10
|
g as BRIEFING_ARTIFACT_FORMATS,
|
|
11
11
|
l as BRIEFING_ATTACHMENT_FORMATS,
|
|
12
12
|
B as BRIEFING_ATTACHMENT_OMISSION_CODES,
|
|
13
13
|
m as BRIEFING_CONTENT_LIMITS,
|
|
14
|
+
E as BRIEFING_DELIVERY_OUTCOME_STATUSES,
|
|
14
15
|
c as BRIEFING_KIND,
|
|
15
|
-
|
|
16
|
-
T as
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
I as BRIEFING_RUN_CANCELLED_ERROR,
|
|
17
|
+
T as BRIEFING_TEXT_LIMITS,
|
|
18
|
+
d as BriefingContractError,
|
|
19
|
+
C as DEFAULT_BRIEFING_ARTIFACT_FORMATS,
|
|
20
|
+
u as DEFAULT_BRIEFING_SCHEDULE,
|
|
19
21
|
A as MAX_BRIEFING_ATTACHMENTS,
|
|
20
22
|
h as briefingAttachmentFileTraits,
|
|
21
23
|
p as briefingAttachmentFormatLabel,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
b as
|
|
25
|
-
F as
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
x as
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
24
|
+
D as briefingAttachmentNeedsExportJob,
|
|
25
|
+
_ as briefingAttachmentProduction,
|
|
26
|
+
b as briefingDeliveryChannelOutcome,
|
|
27
|
+
F as briefingScheduleDayOccurs,
|
|
28
|
+
S as briefingScheduleMonths,
|
|
29
|
+
R as briefingScheduleShortMonths,
|
|
30
|
+
N as buildBriefingJobConfig,
|
|
31
|
+
y as buildBriefingScheduleExpr,
|
|
32
|
+
M as buildCreateBriefingRequest,
|
|
33
|
+
O as buildDashboardTemporalSnapshotEntries,
|
|
34
|
+
G as buildMatrixDeliveryEnvelope,
|
|
35
|
+
v as buildUpdateBriefingRequest,
|
|
36
|
+
x as canCreateBriefingForUser,
|
|
37
|
+
L as canonicalBriefingMonthDays,
|
|
38
|
+
U as captureMatrixExport,
|
|
39
|
+
V as describeBriefingSchedule,
|
|
40
|
+
z as formatBriefingComparisonValues,
|
|
41
|
+
H as formatBriefingDisplayValue,
|
|
42
|
+
J as getBriefingCardAttachmentCapability,
|
|
43
|
+
P as getBriefingCardAttachmentFormats,
|
|
44
|
+
q as getBriefingCreationIntents,
|
|
45
|
+
X as getBriefingDisplayTypeLabel,
|
|
46
|
+
K as getBriefingPresentation,
|
|
47
|
+
Q as getDefaultBriefingCardAttachmentFormat,
|
|
48
|
+
Y as isBriefingArtifactFormat,
|
|
49
|
+
j as isBriefingAttachmentOmissionCode,
|
|
50
|
+
k as isBriefingDeliveryChannel,
|
|
51
|
+
W as isBriefingNumericValue,
|
|
52
|
+
Z as isBriefingTableExportCardType,
|
|
53
|
+
$ as isEmailOnlyBriefingDelivery,
|
|
54
|
+
w as isValidBriefingTimezone,
|
|
55
|
+
ee as matrixDeliveryPayloadSchema,
|
|
56
|
+
ie as matrixDeliveryQuerySchema,
|
|
57
|
+
ae as nextBriefingScheduleDates,
|
|
58
|
+
re as normalizeBriefingContentDocument,
|
|
59
|
+
te as normalizeBriefingDraft,
|
|
60
|
+
se as normalizeBriefingJobConfig,
|
|
61
|
+
ne as parseBriefingScheduleExpr,
|
|
62
|
+
oe as readBriefingDeliveryOutcome,
|
|
63
|
+
fe as readBriefingOmittedAttachments,
|
|
64
|
+
ge as validateBriefingContentDocument,
|
|
65
|
+
le as validateBriefingDraft,
|
|
66
|
+
Be as validateBriefingJobConfig
|
|
63
67
|
};
|
|
@@ -5,7 +5,7 @@ var Or = (e, t, r) => t.has(e) || $r("Cannot " + r);
|
|
|
5
5
|
var L = (e, t, r) => (Or(e, t, "read from private field"), r ? r.call(e) : t.get(e)), me = (e, t, r) => t.has(e) ? $r("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), ee = (e, t, r, n) => (Or(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r);
|
|
6
6
|
import { jsx as p, jsxs as k, Fragment as Le } from "react/jsx-runtime";
|
|
7
7
|
import { useCallback as te, useRef as ie, useMemo as it, useEffect as ke, useState as D, useLayoutEffect as Ue, useId as As } from "react";
|
|
8
|
-
import { u as X, e6 as Cs, aW as $s, be as Os, Y as zs, e7 as Ms, e8 as Ps, Z as zr, aT as Rs, e9 as Zs, bT as js, b9 as Ds, ea as dr, dm as Fs, eb as Ls, ec as Mt, ed as Cn, ee as Us, bN as Pt, c9 as Mr, ef as $n, $ as Bs, c3 as On, bh as Vs, bY as qs, bM as zn, dQ as Mn, eg as Js, cw as Ws, bn as Ks, eh as Gs, ei as Ys, ej as Hs, c6 as Qs, c7 as Xs, dn as eo, c8 as to, ce as ro, ek as no, bV as Lt, cd as ao, ci as so, bX as Pn, aR as Rn, aU as oo, b8 as xt, aP as Zn, el as io, em as lo, en as co, eo as uo, a6 as jn, ep as po } from "./semaphor-ready-indicator-
|
|
8
|
+
import { u as X, e6 as Cs, aW as $s, be as Os, Y as zs, e7 as Ms, e8 as Ps, Z as zr, aT as Rs, e9 as Zs, bT as js, b9 as Ds, ea as dr, dm as Fs, eb as Ls, ec as Mt, ed as Cn, ee as Us, bN as Pt, c9 as Mr, ef as $n, $ as Bs, c3 as On, bh as Vs, bY as qs, bM as zn, dQ as Mn, eg as Js, cw as Ws, bn as Ks, eh as Gs, ei as Ys, ej as Hs, c6 as Qs, c7 as Xs, dn as eo, c8 as to, ce as ro, ek as no, bV as Lt, cd as ao, ci as so, bX as Pn, aR as Rn, aU as oo, b8 as xt, aP as Zn, el as io, em as lo, en as co, eo as uo, a6 as jn, ep as po } from "./semaphor-ready-indicator-CQd-PCCZ.js";
|
|
9
9
|
import { c as qe, B as Y, X as lt, k as Dn, l as fo, e as mt, L as Be, I as Fn, R as Ln, P as Un, a as Bn, d as Vn } from "./code-editor-DJNOsgJH.js";
|
|
10
10
|
import "./index-CuHybtft.js";
|
|
11
11
|
import "./validators-wtjw0aw6.js";
|
|
@@ -14,12 +14,12 @@ import "./analytics-base-schemas-BaIQrEzX.js";
|
|
|
14
14
|
import "zod";
|
|
15
15
|
import { DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as mo } from "../value-format-preferences/index.js";
|
|
16
16
|
import { g as ho, c as B } from "./_commonjsHelpers-DimLPMtv.js";
|
|
17
|
-
import {
|
|
17
|
+
import { az as go } from "./bookmark-state-Du3s13_V.js";
|
|
18
18
|
import { l as bo, m as ct, c as Xt, A as et, d as qn } from "./context-R31TSL5V.js";
|
|
19
|
-
import { p as Pr, a as vo, A as Jn } from "./saved-dashboard-context-
|
|
20
|
-
import {
|
|
21
|
-
import { o as Wn, p as wo } from "./report-preferences-dialog-
|
|
22
|
-
import { m as _o } from "./stored-dashboard-
|
|
19
|
+
import { p as Pr, a as vo, A as Jn } from "./saved-dashboard-context-CNudmm9U.js";
|
|
20
|
+
import { gs as yo, o as xo, g4 as Rr } from "./resolve-dashboard-input-context-DPKSF3qj.js";
|
|
21
|
+
import { o as Wn, p as wo } from "./report-preferences-dialog-CbgmdWeZ.js";
|
|
22
|
+
import { m as _o } from "./stored-dashboard-CrQFT27O.js";
|
|
23
23
|
import { w as Io, c as Kn } from "./visual-choice-JiJ-_3bi.js";
|
|
24
24
|
import { m as So, v as Gn, t as No, n as ko, k as ve, d as Eo, b as To, l as pr, w as Ao, h as Co, s as er, f as $o, a as Oo } from "./model-change-T1cRkh3m.js";
|
|
25
25
|
import { aL as zo, aM as Mo, aN as Po, aO as wt, aP as Ro, aQ as Zr, aR as jr, aS as Dr, aT as Fr, aU as Lr, aV as Zo, ad as jo, ab as Do } from "./temporal-input-presentation--2r9BLr0.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { l as F, h as C, a as O, b as v, i as S, f as T } from "./stored-dashboard-
|
|
1
|
+
import { x as g, z as $ } from "./bookmark-state-Du3s13_V.js";
|
|
2
|
+
import { l as F, h as C, a as O, b as v, i as S, f as T } from "./stored-dashboard-CrQFT27O.js";
|
|
3
3
|
function D(e) {
|
|
4
4
|
var d, c, f;
|
|
5
5
|
const { saved: s, draft: a, usage: l } = e, b = [], j = F(s);
|
|
@@ -11,10 +11,10 @@ function D(e) {
|
|
|
11
11
|
bookmarks: o,
|
|
12
12
|
remembered: 0
|
|
13
13
|
});
|
|
14
|
-
const
|
|
14
|
+
const z = new Set((a.sheets ?? []).map((t) => t.id));
|
|
15
15
|
for (const t of s.sheets ?? []) {
|
|
16
16
|
const o = l.sheets[t.id] ?? 0;
|
|
17
|
-
!o ||
|
|
17
|
+
!o || z.has(t.id) || b.push({
|
|
18
18
|
target: "sheet",
|
|
19
19
|
id: t.id,
|
|
20
20
|
label: ((d = t.title) == null ? void 0 : d.trim()) || "Untitled sheet",
|
|
@@ -22,11 +22,11 @@ function D(e) {
|
|
|
22
22
|
remembered: 0
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
const B = g(s),
|
|
25
|
+
const B = g(s), y = g(a);
|
|
26
26
|
for (const [t, o] of Object.entries(l.tables)) {
|
|
27
27
|
if (!B.has(t)) continue;
|
|
28
28
|
const r = $(s, t), i = ((c = r == null ? void 0 : r.title) == null ? void 0 : c.trim()) || "Untitled table";
|
|
29
|
-
if (!
|
|
29
|
+
if (!y.has(t)) {
|
|
30
30
|
b.push({
|
|
31
31
|
target: "table",
|
|
32
32
|
id: t,
|
|
@@ -57,7 +57,7 @@ function D(e) {
|
|
|
57
57
|
function w(e, s, a) {
|
|
58
58
|
return `${e} ${e === 1 ? s : a}`;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function x(e) {
|
|
61
61
|
const s = [
|
|
62
62
|
e.bookmarks ? w(e.bookmarks, "bookmark", "bookmarks") : null,
|
|
63
63
|
e.remembered ? w(e.remembered, "remembered layout", "remembered layouts") : null
|
|
@@ -65,11 +65,11 @@ function U(e) {
|
|
|
65
65
|
return e.target === "sheet" ? { name: `${e.label} sheet`, uses: s } : e.target === "table" ? { name: `${e.label} table`, uses: s } : { name: e.label, uses: s };
|
|
66
66
|
}
|
|
67
67
|
function G(e) {
|
|
68
|
-
const { uses: s } =
|
|
68
|
+
const { uses: s } = x(e), a = e.target === "column" ? `the column ${e.label}` : `the ${e.target === "input" ? "filter" : e.target} "${e.label}"`, l = e.bookmarks + e.remembered === 1 ? "uses" : "use";
|
|
69
69
|
return `This change removes ${a}, which ${s} ${l}; those saved views still open, with a note about what no longer applies.`;
|
|
70
70
|
}
|
|
71
71
|
export {
|
|
72
|
-
|
|
72
|
+
x as a,
|
|
73
73
|
G as b,
|
|
74
74
|
D as d
|
|
75
75
|
};
|