react-semaphor 0.1.590 → 0.1.592

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 (87) hide show
  1. package/dist/analytics-protocol/index.js +254 -236
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/brand-studio/index.js +7 -7
  4. package/dist/briefings/index.js +4 -4
  5. package/dist/chunks/{aggregate-measure-field-BrkXsSJp.js → aggregate-measure-field-DHlDj0Pc.js} +2 -2
  6. package/dist/chunks/{assistant-chat-C_6dBLUk.js → assistant-chat-BusR-5uT.js} +13 -13
  7. package/dist/chunks/bookmark-impact-DozXJZDS.js +76 -0
  8. package/dist/chunks/{bookmark-state-Bn7k3ttp.js → bookmark-state-Be2W3s6t.js} +632 -592
  9. package/dist/chunks/{card-filter-builder-6vflbF9O.js → card-filter-builder-DBTJ74yy.js} +916 -897
  10. package/dist/chunks/{comparison-window-caption-fqijZdVd.js → comparison-window-caption-h8w3ySL6.js} +90 -91
  11. package/dist/chunks/{dashboard-DpgRl65K.js → dashboard-CmzJzmph.js} +1 -1
  12. package/dist/chunks/{dashboard-briefing-launcher-BLbhONJz.js → dashboard-briefing-launcher-BOQGpYr2.js} +160 -160
  13. package/dist/chunks/{dashboard-controls-kCTYEEsq.js → dashboard-controls-BxI3e2_o.js} +64 -64
  14. package/dist/chunks/{dashboard-json-CNIFresY.js → dashboard-json-BMqXV2Rx.js} +4 -4
  15. package/dist/chunks/{dates-BoeweqEo.js → dates-DBsscxL_.js} +8 -8
  16. package/dist/chunks/{edit-dashboard-visual-D0eWTlPL.js → edit-dashboard-visual-Dvc_Pkfg.js} +5443 -5417
  17. package/dist/chunks/filter-line-CYT7KIXb.js +133 -0
  18. package/dist/chunks/{filter-reach-copy-eMhDPTYH.js → filter-reach-copy-hEzlpBu7.js} +224 -224
  19. package/dist/chunks/filter-value-text-CHBm4IU7.js +153 -0
  20. package/dist/chunks/{index-D8LFjI8j.js → index-BoYJqc3F.js} +24 -24
  21. package/dist/chunks/{layout-grid-BG__sPkb.js → layout-grid-DoFIfQGd.js} +1 -1
  22. package/dist/chunks/{list-filter-Cb8i7N8f.js → list-filter-BeTQxjNy.js} +1 -1
  23. package/dist/chunks/{matrix-analytical-definition-D9Ll_9R-.js → matrix-analytical-definition-CyWOwLmE.js} +17 -17
  24. package/dist/chunks/{matrix-member-presentation-DVBJR0MA.js → matrix-member-presentation-Bj2YcHAP.js} +1 -1
  25. package/dist/chunks/{matrix-operation-contract-JSmproo9.js → matrix-operation-contract-CAanJeCj.js} +60 -60
  26. package/dist/chunks/{metric-comparison-xE_J6hkg.js → metric-comparison-BeKnUD08.js} +27 -31
  27. package/dist/chunks/{paintbrush-C310xSuR.js → paintbrush-KeaU1L1a.js} +1 -1
  28. package/dist/chunks/{palette-Ci5P91Zb.js → palette-BcFJLeXB.js} +1 -1
  29. package/dist/chunks/{pivot-result-contract-expectations-DbBahmgc.js → pivot-result-contract-expectations-CaS0y823.js} +522 -486
  30. package/dist/chunks/{pivot-result-identity-CUsMt_4r.js → pivot-result-identity-BKUjYO1u.js} +1 -1
  31. package/dist/chunks/raw-temporal-value-BzdgeDa7.js +454 -0
  32. package/dist/chunks/{report-preferences-dialog-dUlVLgEk.js → report-preferences-dialog-Cu_f-8Kw.js} +13 -13
  33. package/dist/chunks/{report-runtime-context-CrOgmuxO.js → report-runtime-context-g4Zp_TU9.js} +1 -1
  34. package/dist/chunks/{resolve-dashboard-input-context-NurwNg4I.js → resolve-dashboard-input-context-CkMk1RW6.js} +7600 -6398
  35. package/dist/chunks/{save-BhhXfp4s.js → save-C9CZAk6V.js} +1 -1
  36. package/dist/chunks/{saved-dashboard-context-CPp--vXU.js → saved-dashboard-context-RgBS_PIj.js} +19 -19
  37. package/dist/chunks/{selection-filter-compiler-CHG-8xnW.js → selection-filter-compiler-BclSpK3P.js} +1 -1
  38. package/dist/chunks/{semaphor-ready-indicator-CXojR95M.js → semaphor-ready-indicator-DXpTZJ7R.js} +31502 -31453
  39. package/dist/chunks/{shelf-drop-preview-context-BDScAUdq.js → shelf-drop-preview-context-qdlJKaH7.js} +5 -5
  40. package/dist/chunks/stored-dashboard-Baw6Bp2A.js +4029 -0
  41. package/dist/chunks/{style-sheet-parts-CmXmKqGw.js → style-sheet-parts-DM_Mw_sm.js} +45 -42
  42. package/dist/chunks/{table-export-sheet-ClSgERQC.js → table-export-sheet-Cd6z7SsG.js} +1 -1
  43. package/dist/chunks/{token-types-DTocOcwt.js → token-types-BB2ImFx6.js} +1 -1
  44. package/dist/chunks/{upload-DDYc1Qjj.js → upload-CMTCg47S.js} +1 -1
  45. package/dist/chunks/{validators-CrYXNnNE.js → validators-BlEWWX9O.js} +576 -562
  46. package/dist/chunks/{variable-draft-Bi3RlULA.js → variable-draft-BxtN6YcG.js} +4 -4
  47. package/dist/dashboard/index.js +2 -2
  48. package/dist/dashboard-authoring/index.js +1672 -1633
  49. package/dist/format-utils/index.js +217 -218
  50. package/dist/index.js +62 -62
  51. package/dist/report-runtime-context/index.js +1 -1
  52. package/dist/style.css +1 -1
  53. package/dist/surfboard/index.js +2 -2
  54. package/dist/types/components/surfboard/filter/types.d.ts +7 -5
  55. package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +3 -3
  56. package/dist/types/components/visual/data-table/types/data-table.d.ts +24 -2
  57. package/dist/types/index.js +30 -29
  58. package/dist/types/lib/dashboard-inputs/dashboard-date-comparison-plan.d.ts +0 -1
  59. package/dist/types/lib/dashboard-viewer/table-view-edit.d.ts +27 -0
  60. package/dist/types/lib/dashboard-viewer/table-view.d.ts +37 -1
  61. package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +0 -2
  62. package/dist/types/shared/analytics-protocol/agent-time-window.d.ts +1 -1
  63. package/dist/types/shared/analytics-protocol/relative-date/index.d.ts +2 -1
  64. package/dist/types/shared/analytics-protocol/relative-date/sentence.d.ts +81 -0
  65. package/dist/types/shared/analytics-protocol/relative-date/traits.d.ts +0 -9
  66. package/dist/types/shared/analytics-protocol/relative-date/window.d.ts +23 -2
  67. package/dist/types/shared/dashboard-authoring/canonical-result-keys.d.ts +20 -0
  68. package/dist/types/shared/dashboard-authoring/card-formats/detail-date-display.d.ts +84 -0
  69. package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +1 -1
  70. package/dist/types/shared/dashboard-authoring/card-settings/column-names.d.ts +2 -0
  71. package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +6 -0
  72. package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +11 -0
  73. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +36 -36
  74. package/dist/types/shared/dashboard-authoring/filter-model/date-filter-default.d.ts +37 -0
  75. package/dist/types/shared/dashboard-authoring/filter-model/index.d.ts +1 -0
  76. package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
  77. package/dist/types/shared/dashboard-viewer/table-column-move.d.ts +56 -0
  78. package/dist/types/shared/dashboard-viewer/table-settings.d.ts +7 -0
  79. package/dist/types/shared/format-utils/filter-line.d.ts +2 -0
  80. package/package.json +1 -1
  81. package/dist/chunks/bookmark-impact-DkZABEd3.js +0 -75
  82. package/dist/chunks/filter-line-Dza3ee4w.js +0 -131
  83. package/dist/chunks/filter-value-text-DQw4v3nC.js +0 -146
  84. package/dist/chunks/pivot-header-presentation-D-DfPAjb.js +0 -42
  85. package/dist/chunks/raw-temporal-value-BnGCWJAL.js +0 -322
  86. package/dist/chunks/stored-dashboard-KkH4zOhq.js +0 -4998
  87. package/dist/types/components/visual/shared/utils/table-column-order.d.ts +0 -53
@@ -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-CPp--vXU.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-RgBS_PIj.js";
2
2
  export {
3
3
  e as AssistantContextSourceError,
4
4
  t as assistantCardReplayFields,
@@ -1,20 +1,20 @@
1
1
  import { jsxs as d, jsx as r, Fragment as ue } from "react/jsx-runtime";
2
2
  import g, { useState as pe } from "react";
3
- import { c as de, P as be, N as B, S as M, a as Ye, b as We, d as Ce, e as ye, f as Ne, B as S, g as qe, h as Se, C as Ke, R as we, L as fe, X as Xe, i as me, j as Ze, T as Qe, k as er, l as V, m as rr, n as G, o as or, p as ar, q as nr, r as tr, s as E, t as Q, u as ee, v as re, I as Fe, w as oe, x as ae, y as Pe, z as Oe, A as Te, D as Be, E as Re } from "../chunks/style-sheet-parts-CmXmKqGw.js";
3
+ import { c as de, P as be, N as B, S as M, a as Ye, b as We, d as Ce, e as ye, f as Ne, B as S, g as qe, h as Se, C as Ke, R as we, L as fe, X as Xe, i as me, j as Ze, T as Qe, k as er, l as V, m as rr, n as G, o as or, p as ar, q as nr, r as tr, s as E, t as Q, u as ee, v as re, I as Fe, w as oe, x as ae, y as Pe, z as Oe, A as Te, D as Be, E as Re } from "../chunks/style-sheet-parts-DM_Mw_sm.js";
4
4
  import { v as dr, A as ne, d as cr, p as sr } from "../chunks/schema-C9NPiIru.js";
5
5
  import { S as j, C as lr, a as ge, c as te } from "../chunks/pickers-DkqmtnTL.js";
6
- import "../chunks/validators-CrYXNnNE.js";
7
- import "../chunks/matrix-operation-contract-JSmproo9.js";
6
+ import "../chunks/validators-BlEWWX9O.js";
7
+ import "../chunks/matrix-operation-contract-CAanJeCj.js";
8
8
  import "../chunks/analytics-base-schemas-8wz9vqn_.js";
9
9
  import "../value-format-preferences/index.js";
10
10
  import { e as ir } from "../chunks/brand-BoUV0iHF.js";
11
11
  import { b as ur, D as pr } from "../chunks/edit-9df1zOWe.js";
12
12
  import { n as Ee } from "../chunks/index-BVKzKl5d.js";
13
13
  import { b as br } from "../chunks/resolver-DG_tfEpt.js";
14
- import { P as H } from "../chunks/palette-Ci5P91Zb.js";
15
- import { U as fr } from "../chunks/upload-DDYc1Qjj.js";
16
- import { S as mr } from "../chunks/save-BhhXfp4s.js";
17
- import { L as gr } from "../chunks/layout-grid-BG__sPkb.js";
14
+ import { P as H } from "../chunks/palette-BcFJLeXB.js";
15
+ import { U as fr } from "../chunks/upload-CMTCg47S.js";
16
+ import { S as mr } from "../chunks/save-C9CZAk6V.js";
17
+ import { L as gr } from "../chunks/layout-grid-DoFIfQGd.js";
18
18
  /**
19
19
  * @license lucide-react v0.453.0 - ISC
20
20
  *
@@ -1,11 +1,11 @@
1
- import "../chunks/pivot-result-contract-expectations-DbBahmgc.js";
2
- import "../chunks/validators-CrYXNnNE.js";
1
+ import "../chunks/pivot-result-contract-expectations-CaS0y823.js";
2
+ import "../chunks/validators-BlEWWX9O.js";
3
3
  import "../chunks/export-file-format-C-tJsxsf.js";
4
4
  import "zod";
5
- import "../chunks/matrix-operation-contract-JSmproo9.js";
5
+ import "../chunks/matrix-operation-contract-CAanJeCj.js";
6
6
  import "../chunks/analytics-base-schemas-8wz9vqn_.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-D8LFjI8j.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-BoYJqc3F.js";
9
9
  export {
10
10
  g as BRIEFING_ARTIFACT_FORMATS,
11
11
  l as BRIEFING_ATTACHMENT_FORMATS,
@@ -1,5 +1,5 @@
1
- import { h as n } from "./validators-CrYXNnNE.js";
2
- import { s as c } from "./matrix-operation-contract-JSmproo9.js";
1
+ import { h as n } from "./validators-BlEWWX9O.js";
2
+ import { s as c } from "./matrix-operation-contract-CAanJeCj.js";
3
3
  function i(r) {
4
4
  var a;
5
5
  if (!r) return !1;
@@ -5,27 +5,27 @@ var Qt = (e, t, a) => t.has(e) || Yt("Cannot " + a);
5
5
  var B = (e, t, a) => (Qt(e, t, "read from private field"), a ? a.call(e) : t.get(e)), oe = (e, t, a) => t.has(e) ? Yt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, a), W = (e, t, a, s) => (Qt(e, t, "write to private field"), s ? s.call(e, a) : t.set(e, a), a);
6
6
  import { jsx as d, jsxs as b, Fragment as xe } from "react/jsx-runtime";
7
7
  import { useCallback as G, useRef as te, useMemo as We, useEffect as ve, useState as $, useLayoutEffect as _e, useId as Xs } from "react";
8
- import { u as H, dn as er, ba as tr, bu as ar, ac as sr, dp as rr, dq as nr, ad as Xt, b7 as or, dr as ir, c4 as lr, ds as dr, dt as Rt, du as cr, dv as ur, dw as dt, dx as _a, dy as pr, b_ as qe, cm as ea, dz as Oa, af as mr, cg as Ra, bx as fr, c9 as Pt, bY as Pa, dA as Da, dB as Dt, cH as hr, dC as $a, dD as gr, cJ as yr, bZ as br, dE as vr, dF as xr, cj as wr, ck as Nr, dG as Ir, cl as Sr, cr as Ar, dH as Cr, c6 as pt, cq as Er, cv as Tr, c8 as ja, b5 as Fa, b8 as kr, bo as tt, b3 as La, dI as Mr, dJ as _r, dK as Or, dL as Rr, am as Ba, dM as Pr } from "./semaphor-ready-indicator-CXojR95M.js";
9
- import { c as Re, B as q, X as He, p as Ua, q as Dr, j as Pe, L as we, I as $t, R as $r, e as za, f as qa, h as Va } from "./style-sheet-parts-CmXmKqGw.js";
8
+ import { u as H, dn as er, ba as tr, bu as ar, ac as sr, dp as rr, dq as nr, ad as Xt, b7 as or, dr as ir, c4 as lr, ds as dr, dt as Rt, du as cr, dv as ur, dw as dt, dx as _a, dy as pr, b_ as qe, cm as ea, dz as Oa, af as mr, cg as Ra, bx as fr, c9 as Pt, bY as Pa, dA as Da, dB as Dt, cH as hr, dC as $a, dD as gr, cJ as yr, bZ as br, dE as vr, dF as xr, cj as wr, ck as Nr, dG as Ir, cl as Sr, cr as Ar, dH as Cr, c6 as pt, cq as Er, cv as Tr, c8 as ja, b5 as Fa, b8 as kr, bo as tt, b3 as La, dI as Mr, dJ as _r, dK as Or, dL as Rr, am as Ba, dM as Pr } from "./semaphor-ready-indicator-DXpTZJ7R.js";
9
+ import { c as Re, B as q, X as He, p as Ua, q as Dr, j as Pe, L as we, I as $t, R as $r, e as za, f as qa, h as Va } from "./style-sheet-parts-DM_Mw_sm.js";
10
10
  import { g as jr, c as F } from "./pickers-DkqmtnTL.js";
11
- import "./validators-CrYXNnNE.js";
12
- import "./matrix-operation-contract-JSmproo9.js";
11
+ import "./validators-BlEWWX9O.js";
12
+ import "./matrix-operation-contract-CAanJeCj.js";
13
13
  import "./analytics-base-schemas-8wz9vqn_.js";
14
14
  import { DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as Fr } from "../value-format-preferences/index.js";
15
- import { J as Lr } from "./bookmark-state-Bn7k3ttp.js";
15
+ import { K as Lr } from "./bookmark-state-Be2W3s6t.js";
16
16
  import { n as Br, o as Ge, c as It, A as ze, d as Za } from "./context-CVXTFljo.js";
17
- import { p as ta, a as Ur, A as Ja } from "./saved-dashboard-context-CPp--vXU.js";
18
- import { gj as zr, o as qr, gk as aa } from "./resolve-dashboard-input-context-NurwNg4I.js";
19
- import { u as Ka, d as Vr } from "./report-preferences-dialog-dUlVLgEk.js";
20
- import { m as Zr } from "./stored-dashboard-KkH4zOhq.js";
21
- import { w as Jr } from "./selection-filter-compiler-CHG-8xnW.js";
17
+ import { p as ta, a as Ur, A as Ja } from "./saved-dashboard-context-RgBS_PIj.js";
18
+ import { gz as zr, t as qr, gA as aa } from "./resolve-dashboard-input-context-CkMk1RW6.js";
19
+ import { u as Ka, d as Vr } from "./report-preferences-dialog-Cu_f-8Kw.js";
20
+ import { i as Zr } from "./stored-dashboard-Baw6Bp2A.js";
21
+ import { w as Jr } from "./selection-filter-compiler-BclSpK3P.js";
22
22
  import { c as Wa } from "./visual-choice-DDfHfHvY.js";
23
23
  import { n as Kr, v as Ha, o as Wr, t as Hr, x as jt, l as ce, d as Gr, b as Yr, m as Ft, M as mt, r as Qr, w as Xr, h as en, j as tn, s as St, f as an, a as sn } from "./add-to-dashboard-C86FsM8D.js";
24
24
  import { safeParseAsync as rn, lazy as nn, unknown as on, union as ln, string as dn, record as cn, object as un, number as pn, null as mn, never as fn, looseObject as hn, literal as gn, instanceof as yn, enum as bn, discriminatedUnion as vn, custom as xn, boolean as wn, array as Nn } from "zod/v4";
25
25
  import { toJSONSchema as In } from "zod/v4/core";
26
- import { aS as Sn, aT as An, aU as Cn, aV as at, aW as En, aX as sa, aY as ra, aZ as na, a_ as oa, a$ as ia, b0 as Tn, f as kn, am as Mn } from "./pivot-result-contract-expectations-DbBahmgc.js";
27
- import { L as _n } from "./list-filter-Cb8i7N8f.js";
28
- import { L as la } from "./layout-grid-BG__sPkb.js";
26
+ import { aU as Sn, aV as An, aW as Cn, aX as at, aY as En, aZ as sa, a_ as ra, a$ as na, b0 as oa, b1 as ia, b2 as Tn, an as kn, al as Mn } from "./pivot-result-contract-expectations-CaS0y823.js";
27
+ import { L as _n } from "./list-filter-BeTQxjNy.js";
28
+ import { L as la } from "./layout-grid-DoFIfQGd.js";
29
29
  function On(e, t, a) {
30
30
  const s = Sn(), r = (a == null ? void 0 : a.locale) ?? s.locale ?? An, l = Cn(e, t);
31
31
  if (isNaN(l))
@@ -0,0 +1,76 @@
1
+ import { y as g, A as $ } from "./bookmark-state-Be2W3s6t.js";
2
+ import { l as C, i as F, f as O } from "./resolve-dashboard-input-context-CkMk1RW6.js";
3
+ import { l as S, h as v, a as T } from "./stored-dashboard-Baw6Bp2A.js";
4
+ function G(e) {
5
+ var d, c, f;
6
+ const { saved: o, draft: a, usage: l } = e, m = [], j = S(o);
7
+ for (const [t, s] of Object.entries(l.inputs))
8
+ !s || !v(o, t) || v(a, t) || m.push({
9
+ target: "input",
10
+ id: t,
11
+ label: T(o, j, t),
12
+ bookmarks: s,
13
+ remembered: 0
14
+ });
15
+ const y = new Set((a.sheets ?? []).map((t) => t.id));
16
+ for (const t of o.sheets ?? []) {
17
+ const s = l.sheets[t.id] ?? 0;
18
+ !s || y.has(t.id) || m.push({
19
+ target: "sheet",
20
+ id: t.id,
21
+ label: ((d = t.title) == null ? void 0 : d.trim()) || "Untitled sheet",
22
+ bookmarks: s,
23
+ remembered: 0
24
+ });
25
+ }
26
+ const B = g(o), z = g(a);
27
+ for (const [t, s] of Object.entries(l.tables)) {
28
+ if (!B.has(t)) continue;
29
+ const r = $(o, t), i = ((c = r == null ? void 0 : r.title) == null ? void 0 : c.trim()) || "Untitled table";
30
+ if (!z.has(t)) {
31
+ m.push({
32
+ target: "table",
33
+ id: t,
34
+ label: i,
35
+ bookmarks: s.bookmarks,
36
+ remembered: s.remembered
37
+ });
38
+ continue;
39
+ }
40
+ const h = r ? C(r) : void 0, k = $(a, t), p = k ? C(k) : void 0;
41
+ if (!(!r || !h || !p))
42
+ for (const [b, u] of Object.entries(s.columns)) {
43
+ if (!(u.bookmarks || u.remembered) || F(b) || !h.has(b) || p.has(b))
44
+ continue;
45
+ const n = O(r, b), I = ((f = n == null ? void 0 : n.label) == null ? void 0 : f.trim()) || (n == null ? void 0 : n.name);
46
+ m.push({
47
+ target: "column",
48
+ id: b,
49
+ cardId: t,
50
+ label: I ? `${I} in ${i}` : `A column in ${i}`,
51
+ bookmarks: u.bookmarks,
52
+ remembered: u.remembered
53
+ });
54
+ }
55
+ }
56
+ return m;
57
+ }
58
+ function w(e, o, a) {
59
+ return `${e} ${e === 1 ? o : a}`;
60
+ }
61
+ function A(e) {
62
+ const o = [
63
+ e.bookmarks ? w(e.bookmarks, "bookmark", "bookmarks") : null,
64
+ e.remembered ? w(e.remembered, "remembered layout", "remembered layouts") : null
65
+ ].filter(Boolean).join(", ");
66
+ return e.target === "sheet" ? { name: `${e.label} sheet`, uses: o } : e.target === "table" ? { name: `${e.label} table`, uses: o } : { name: e.label, uses: o };
67
+ }
68
+ function L(e) {
69
+ const { uses: o } = A(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";
70
+ return `This change removes ${a}, which ${o} ${l}; those saved views still open, with a note about what no longer applies.`;
71
+ }
72
+ export {
73
+ A as a,
74
+ L as b,
75
+ G as d
76
+ };