react-semaphor 0.1.566 → 0.1.568
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 +1 -1
- package/dist/chunks/{assistant-chat-DNKAYSQL.js → assistant-chat-BN5I8KuN.js} +6 -6
- package/dist/chunks/{bookmark-impact-BeUbq0jc.js → bookmark-impact-CJ-65omV.js} +9 -9
- package/dist/chunks/{bookmark-state-ByODVqee.js → bookmark-state-Du3s13_V.js} +333 -321
- package/dist/chunks/{card-filter-builder-SXaRWbKr.js → card-filter-builder-BBuB99GZ.js} +51 -51
- package/dist/chunks/{dashboard-Cni7nGhg.js → dashboard-YnWZC4dK.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CXeXRTem.js → dashboard-briefing-launcher-BF89TU2h.js} +185 -185
- package/dist/chunks/{dashboard-controls-CsqKybrf.js → dashboard-controls-atHc1EjP.js} +8 -8
- package/dist/chunks/{dashboard-json-WWmw3Piu.js → dashboard-json-Cxp3inxd.js} +1 -1
- package/dist/chunks/{dates-DJRUS-he.js → dates-CKO05ino.js} +5 -5
- package/dist/chunks/{edit-dashboard-visual-BrIEaBhc.js → edit-dashboard-visual-DdmTfn-J.js} +8 -8
- package/dist/chunks/{filter-reach-copy-D5LqgrUf.js → filter-reach-copy-jZGzK_IH.js} +840 -826
- package/dist/chunks/{index-Bq9UbCGk.js → index-CPNZW0mu.js} +2 -2
- package/dist/chunks/{report-preferences-dialog-CeHioJwL.js → report-preferences-dialog-Mbd-I0wV.js} +8 -8
- package/dist/chunks/{resolve-dashboard-input-context-CwS-2r-b.js → resolve-dashboard-input-context-Du0fjN3h.js} +4494 -4438
- package/dist/chunks/{saved-dashboard-context-c-MZZTx2.js → saved-dashboard-context-y8N6RvjS.js} +13 -13
- package/dist/chunks/{semaphor-ready-indicator-B2NpYRE-.js → semaphor-ready-indicator-BSEdUq40.js} +28461 -28277
- package/dist/chunks/{shelf-drop-preview-context-DM7yypwC.js → shelf-drop-preview-context-D7QqPl36.js} +2 -2
- package/dist/chunks/{stored-dashboard-DTWc2pzt.js → stored-dashboard-d3xQYxBD.js} +1062 -1043
- package/dist/chunks/{variable-draft-DFizFCJu.js → variable-draft-DOX03R4A.js} +2 -2
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +1545 -1518
- package/dist/index.js +12 -12
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- 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/document/document-edits.d.ts +8 -3
- package/dist/types/lib/document/document-text-style.d.ts +54 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +21 -3
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +5 -2
- 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-y8N6RvjS.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AssistantContextSourceError,
|
|
4
4
|
t as assistantCardReplayFields,
|
package/dist/briefings/index.js
CHANGED
|
@@ -5,7 +5,7 @@ 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 { 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-
|
|
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-CPNZW0mu.js";
|
|
9
9
|
export {
|
|
10
10
|
g as BRIEFING_ARTIFACT_FORMATS,
|
|
11
11
|
l as BRIEFING_ATTACHMENT_FORMATS,
|
|
@@ -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-BSEdUq40.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-y8N6RvjS.js";
|
|
20
|
+
import { gw as yo, o as xo, g7 as Rr } from "./resolve-dashboard-input-context-Du0fjN3h.js";
|
|
21
|
+
import { o as Wn, p as wo } from "./report-preferences-dialog-Mbd-I0wV.js";
|
|
22
|
+
import { m as _o } from "./stored-dashboard-d3xQYxBD.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-d3xQYxBD.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
|
};
|