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.
Files changed (39) hide show
  1. package/dist/assistant-context/index.js +1 -1
  2. package/dist/briefings/index.js +50 -46
  3. package/dist/chunks/{assistant-chat-DNfb5fbF.js → assistant-chat-D-IuHHwh.js} +6 -6
  4. package/dist/chunks/{bookmark-impact-CHr7b1J2.js → bookmark-impact-B0estCHn.js} +9 -9
  5. package/dist/chunks/{bookmark-state-ByODVqee.js → bookmark-state-Du3s13_V.js} +333 -321
  6. package/dist/chunks/{card-filter-builder-CcEcfaYz.js → card-filter-builder-DbSmzvem.js} +46 -46
  7. package/dist/chunks/{dashboard-briefing-launcher-D3mc6peE.js → dashboard-briefing-launcher-DunvZYsU.js} +333 -333
  8. package/dist/chunks/{dashboard-controls-BFv0zdws.js → dashboard-controls-B09cN2Dz.js} +57 -57
  9. package/dist/chunks/{dashboard-CtIfxycc.js → dashboard-f8J9DHh5.js} +1 -1
  10. package/dist/chunks/{dashboard-json-CXn_3OYb.js → dashboard-json-BNNCaKEc.js} +1 -1
  11. package/dist/chunks/{dates-DcRxw17S.js → dates-BsJcyoC_.js} +5 -5
  12. package/dist/chunks/{edit-dashboard-visual-Y6HatqBd.js → edit-dashboard-visual-Cwzbpty8.js} +213 -197
  13. package/dist/chunks/{filter-reach-copy-DbggA5B7.js → filter-reach-copy-P-kDwUpY.js} +852 -858
  14. package/dist/chunks/{index-DDa_rklN.js → index-BcXw0CpM.js} +648 -574
  15. package/dist/chunks/{report-preferences-dialog-Db-b04B4.js → report-preferences-dialog-CbgmdWeZ.js} +8 -8
  16. package/dist/chunks/{resolve-dashboard-input-context-C18J-YZC.js → resolve-dashboard-input-context-DPKSF3qj.js} +3403 -3378
  17. package/dist/chunks/{saved-dashboard-context-DhC_EVus.js → saved-dashboard-context-CNudmm9U.js} +13 -13
  18. package/dist/chunks/{semaphor-ready-indicator-T6TsiBMT.js → semaphor-ready-indicator-CQd-PCCZ.js} +32568 -32581
  19. package/dist/chunks/{shelf-drop-preview-context-CNWL_b0S.js → shelf-drop-preview-context-CWS3e20y.js} +2 -2
  20. package/dist/chunks/{stored-dashboard-IdmtrNkA.js → stored-dashboard-CrQFT27O.js} +1074 -1055
  21. package/dist/chunks/{variable-draft-3xseULxR.js → variable-draft-BDxlD0dM.js} +2 -2
  22. package/dist/dashboard/index.js +2 -2
  23. package/dist/dashboard-authoring/index.js +1669 -1642
  24. package/dist/index.js +12 -12
  25. package/dist/style.css +1 -1
  26. package/dist/surfboard/index.js +2 -2
  27. package/dist/types/briefings/delivery-outcome.d.ts +37 -0
  28. package/dist/types/briefings/index.d.ts +2 -0
  29. package/dist/types/briefings/run-outcomes.d.ts +6 -0
  30. package/dist/types/components/briefings/briefing-author/run-model.d.ts +9 -0
  31. package/dist/types/index.js +33 -32
  32. package/dist/types/lib/dashboard-viewer/table-view.d.ts +24 -2
  33. package/dist/types/lib/dashboard-viewer/use-table-view.d.ts +15 -0
  34. package/dist/types/lib/query-context/dashboard-filter-mapping-resolution.d.ts +15 -3
  35. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +2 -0
  36. package/dist/types/shared/dashboard-authoring/dashboard-filter-sql-subscription.d.ts +24 -0
  37. package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +20 -4
  38. package/dist/types/shared/dashboard-viewer/table-settings.d.ts +9 -0
  39. 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-DhC_EVus.js";
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,
@@ -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 { y as g, H as l, a0 as B, C as m, B as c, A as d, I as T, z as E, D as I, M as A, X as h, i as p, Y as u, Z as C, n as b, l as F, m as D, N as S, k as _, P as N, f as R, e as y, Q as M, t as O, q as x, c as G, d as v, G as L, F as U, h as z, b as H, a as J, a2 as V, g as P, _ as q, T as X, a1 as K, U as Q, E as j, $ as k, r as W, j as Y, V as Z, W as $, o as w, J as ii, O as ei, L as ai, p as ri, s as ti, K as si, R as ni, S as oi } from "../chunks/index-DDa_rklN.js";
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
- d as BRIEFING_TEXT_LIMITS,
16
- T as BriefingContractError,
17
- E as DEFAULT_BRIEFING_ARTIFACT_FORMATS,
18
- I as DEFAULT_BRIEFING_SCHEDULE,
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
- u as briefingAttachmentNeedsExportJob,
23
- C as briefingAttachmentProduction,
24
- b as briefingScheduleDayOccurs,
25
- F as briefingScheduleMonths,
26
- D as briefingScheduleShortMonths,
27
- S as buildBriefingJobConfig,
28
- _ as buildBriefingScheduleExpr,
29
- N as buildCreateBriefingRequest,
30
- R as buildDashboardTemporalSnapshotEntries,
31
- y as buildMatrixDeliveryEnvelope,
32
- M as buildUpdateBriefingRequest,
33
- O as canCreateBriefingForUser,
34
- x as canonicalBriefingMonthDays,
35
- G as captureMatrixExport,
36
- v as describeBriefingSchedule,
37
- L as formatBriefingComparisonValues,
38
- U as formatBriefingDisplayValue,
39
- z as getBriefingCardAttachmentCapability,
40
- H as getBriefingCardAttachmentFormats,
41
- J as getBriefingCreationIntents,
42
- V as getBriefingDisplayTypeLabel,
43
- P as getBriefingPresentation,
44
- q as getDefaultBriefingCardAttachmentFormat,
45
- X as isBriefingArtifactFormat,
46
- K as isBriefingAttachmentOmissionCode,
47
- Q as isBriefingDeliveryChannel,
48
- j as isBriefingNumericValue,
49
- k as isBriefingTableExportCardType,
50
- W as isEmailOnlyBriefingDelivery,
51
- Y as isValidBriefingTimezone,
52
- Z as matrixDeliveryPayloadSchema,
53
- $ as matrixDeliveryQuerySchema,
54
- w as nextBriefingScheduleDates,
55
- ii as normalizeBriefingContentDocument,
56
- ei as normalizeBriefingDraft,
57
- ai as normalizeBriefingJobConfig,
58
- ri as parseBriefingScheduleExpr,
59
- ti as readBriefingOmittedAttachments,
60
- si as validateBriefingContentDocument,
61
- ni as validateBriefingDraft,
62
- oi as validateBriefingJobConfig
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-T6TsiBMT.js";
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 { ay as go } from "./bookmark-state-ByODVqee.js";
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-DhC_EVus.js";
20
- import { gp as yo, o as xo, g1 as Rr } from "./resolve-dashboard-input-context-C18J-YZC.js";
21
- import { o as Wn, p as wo } from "./report-preferences-dialog-Db-b04B4.js";
22
- import { m as _o } from "./stored-dashboard-IdmtrNkA.js";
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 { w as g, y as $ } from "./bookmark-state-ByODVqee.js";
2
- import { l as F, h as C, a as O, b as v, i as S, f as T } from "./stored-dashboard-IdmtrNkA.js";
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 y = new Set((a.sheets ?? []).map((t) => t.id));
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 || y.has(t.id) || b.push({
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), z = g(a);
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 (!z.has(t)) {
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 U(e) {
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 } = U(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";
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
- U as a,
72
+ x as a,
73
73
  G as b,
74
74
  D as d
75
75
  };