react-semaphor 0.1.603 → 0.1.605
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 +1 -73
- package/dist/analytics-protocol/index.js +1 -1491
- package/dist/appearance/index.js +1 -12
- package/dist/appearance-runtime/index.js +1 -5
- package/dist/assistant-context/index.js +1 -11
- package/dist/assistant-protocol/index.js +1 -152
- package/dist/brand-studio/index.js +3 -1598
- package/dist/briefings/index.js +1 -70
- package/dist/chunks/add-to-dashboard-CEmZUf9o.js +12 -0
- package/dist/chunks/analytics-base-schemas-DMFrDqn_.js +1 -0
- package/dist/chunks/appearance-provider-CfoAVQuG.js +608 -0
- package/dist/chunks/appearance-runtime-provider-Bx8H-moR.js +1 -0
- package/dist/chunks/applied-constraints-CinevlKD.js +1 -0
- package/dist/chunks/assistant-chat-DgUaCE9k.js +51 -0
- package/dist/chunks/attachment-filter-line-C_zHMhGh.js +1 -0
- package/dist/chunks/attribution-BEFSsbNn.js +1 -0
- package/dist/chunks/availability-3AIOf6Z-.js +1 -0
- package/dist/chunks/bookmark-impact-BAtemeyK.js +1 -0
- package/dist/chunks/bookmark-state-DScd31KT.js +1 -0
- package/dist/chunks/brand-C9APUFaP.js +1 -0
- package/dist/chunks/card-filter-builder-ClWrXB7P.js +11 -0
- package/dist/chunks/column-bands-DwxbZ6UI.js +1 -0
- package/dist/chunks/comparison-window-caption-tguyN24S.js +1 -0
- package/dist/chunks/context-CntvtZwC.js +2 -0
- package/dist/chunks/conversation-JMK2kyTK.js +1 -0
- package/dist/chunks/dashboard-ChIcbVTx.js +1 -0
- package/dist/chunks/dashboard-briefing-launcher-CwMlhkxV.js +42 -0
- package/dist/chunks/dashboard-controls-UCSAFCGA.js +42 -0
- package/dist/chunks/dashboard-json-B120hYDa.js +1 -0
- package/dist/chunks/dashboard-temporal-snapshot-BFJKbp_6.js +1 -0
- package/dist/chunks/edit-dashboard-visual-DvHp03h_.js +73 -0
- package/dist/chunks/export-file-format-B-wQNHIn.js +4 -0
- package/dist/chunks/filter-line-WwUV5JzN.js +1 -0
- package/dist/chunks/filter-reach-preview-C5M5_hf_.js +1 -0
- package/dist/chunks/filter-value-text-DqTHe_vu.js +1 -0
- package/dist/chunks/index-DViPGDFj.js +1 -0
- package/dist/chunks/index-bkP6SnYu.js +1 -0
- package/dist/chunks/kpi-trend-rule-B87LNzcz.js +1 -0
- package/dist/chunks/layout-grid-CFzqJ7GC.js +6 -0
- package/dist/chunks/matrix-analytical-definition-5T-2euHZ.js +1 -0
- package/dist/chunks/matrix-member-presentation-vVAv-aqg.js +1 -0
- package/dist/chunks/matrix-operation-contract-CWvcEsQ0.js +1 -0
- package/dist/chunks/normalize-dashboard-for-dirty-check-ILKfqgL3.js +1 -0
- package/dist/chunks/numeric-range-options-C8tr-Bls.js +1 -0
- package/dist/chunks/palette-NvEIuXHN.js +6 -0
- package/dist/chunks/pivot-result-contract-expectations-BNWhS8mv.js +1 -0
- package/dist/chunks/pivot-result-identity-B0eWVMXg.js +1 -0
- package/dist/chunks/raw-temporal-value-BHQ-ldpW.js +1 -0
- package/dist/chunks/rendered-file-BbvwaU6z.js +1 -0
- package/dist/chunks/report-preferences-dialog-Bseb2Rlg.js +1 -0
- package/dist/chunks/report-runtime-context-Cd1b5pku.js +1 -0
- package/dist/chunks/resolve-dashboard-input-context-BDY7KwRe.js +8 -0
- package/dist/chunks/resolver-CjsW8Rz0.js +1 -0
- package/dist/chunks/saved-dashboard-context-C3lWc4Dx.js +1 -0
- package/dist/chunks/schema-O1Y3WTGF.js +4 -0
- package/dist/chunks/selection-filter-compiler-kYsRugss.js +1 -0
- package/dist/chunks/semaphor-ready-indicator-BQarSo6S.js +612 -0
- package/dist/chunks/set-6mOnfQeH.js +1 -0
- package/dist/chunks/slider-BPnHdMGq.js +4 -0
- package/dist/chunks/stored-dashboard-DfrxDLhR.js +1 -0
- package/dist/chunks/table-export-sheet-xaczzWZF.js +2 -0
- package/dist/chunks/token-types-1vzMWjI-.js +1 -0
- package/dist/chunks/validators-Dg2kyF4_.js +1 -0
- package/dist/chunks/variable-draft-B4_xqr4Y.js +1 -0
- package/dist/chunks/visual-choice-DgEFfkE-.js +1 -0
- package/dist/dashboard/index.js +1 -7
- package/dist/dashboard-authoring/index.js +1 -4614
- package/dist/format-utils/index.js +1 -425
- package/dist/index.js +1 -554
- package/dist/layouts/index.js +1 -7
- package/dist/live-channel/index.js +1 -124
- package/dist/pdf-export-policy/index.js +1 -92
- package/dist/pdf-table-layout/index.js +1 -993
- package/dist/report-runtime-context/index.js +1 -9
- package/dist/shared/index.js +1 -6
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +1 -9
- package/dist/types/brand-studio/brand-studio-draft.d.ts +45 -13
- package/dist/types/brand-studio/brand-studio-editor.d.ts +13 -2
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +17 -6
- package/dist/types/components/visual/data-table/types/data-table.d.ts +52 -42
- package/dist/types/index.js +1 -88
- package/dist/types/lib/appearance/aliases.d.ts +3 -0
- package/dist/types/lib/appearance/index.d.ts +1 -0
- package/dist/types/lib/appearance/table-density.d.ts +18 -0
- package/dist/types/lib/appearance/types.d.ts +39 -1
- package/dist/types/lib/dashboard-viewer/column-header-actions.d.ts +100 -0
- package/dist/types/lib/dashboard-viewer/table-view-edit.d.ts +0 -27
- package/dist/types/lib/dashboard-viewer/table-view.d.ts +26 -2
- package/dist/types/lib/dashboard-viewer/use-table-view.d.ts +2 -0
- package/dist/types/lib/filter-values/build-card-filter-definition.d.ts +32 -0
- package/dist/types/lib/hooks/use-add-new-frame.d.ts +7 -0
- package/dist/types/lib/hooks/use-dashboard-card.d.ts +4 -0
- package/dist/types/lib/interactions/get-click-context-from-chartjs.d.ts +8 -0
- package/dist/types/lib/query-context/dashboard-filter-mapping-resolution.d.ts +9 -0
- package/dist/types/lib/stores/dashboard-store.d.ts +14 -2
- package/dist/types/lib/stores/explorer-actions.d.ts +7 -10
- package/dist/types/lib/types/common-types.d.ts +1 -2
- package/dist/types/lib/types/semantic-types.d.ts +6 -10
- package/dist/types/lib/utils/card-config-utils.d.ts +13 -0
- package/dist/types/lib/utils/field-placement.d.ts +17 -0
- package/dist/types/lib/utils/field-state-calculator.d.ts +7 -19
- package/dist/types/shared/analytics-protocol/analytics-refusal.d.ts +21 -1
- package/dist/types/shared/analytics-protocol/field-provenance.d.ts +7 -4
- package/dist/types/shared/dashboard-authoring/calculations/definition.d.ts +13 -0
- package/dist/types/shared/dashboard-authoring/card-data-source/card-base.d.ts +125 -0
- package/dist/types/shared/dashboard-authoring/card-data-source/card-field-folders.d.ts +55 -0
- package/dist/types/shared/dashboard-authoring/card-data-source/card-joins.d.ts +114 -0
- package/dist/types/shared/dashboard-authoring/card-data-source/card-prune.d.ts +12 -0
- package/dist/types/shared/dashboard-authoring/card-data-source/filter-field-catalog.d.ts +60 -0
- package/dist/types/shared/dashboard-authoring/card-data-source/filter-field-folders.d.ts +180 -0
- package/dist/types/shared/dashboard-authoring/card-data-source/index.d.ts +7 -0
- package/dist/types/shared/dashboard-authoring/card-data-source/join-reach.d.ts +42 -0
- package/dist/types/shared/dashboard-authoring/card-field-places.d.ts +28 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +2 -8
- package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/card-settings/column-display-values.d.ts +5 -0
- package/dist/types/shared/dashboard-authoring/card-settings/column-display.d.ts +52 -0
- package/dist/types/shared/dashboard-authoring/card-settings/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +9 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +4 -0
- package/dist/types/shared/dashboard-authoring/card-settings/table-viewer-switches.d.ts +15 -0
- package/dist/types/shared/dashboard-authoring/card-settings/views.d.ts +5 -0
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +132 -3
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +3 -1
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +10 -10
- package/dist/types/shared/dashboard-authoring/conditional-formatting/store.d.ts +10 -1
- package/dist/types/shared/dashboard-authoring/field-aggregations.d.ts +9 -2
- package/dist/types/shared/dashboard-authoring/field-folders/field-folders.d.ts +116 -0
- package/dist/types/shared/dashboard-authoring/field-folders/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/filter-reach-decision.d.ts +11 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +7 -1
- package/dist/types/shared/dashboard-authoring/operations/card-operations.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +7 -2
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +6 -2
- package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/see-records/result.d.ts +7 -22
- package/dist/types/shared/dashboard-authoring/sheet-kinds.d.ts +36 -0
- package/dist/types/shared/dashboard-authoring/table-sheet-shape.d.ts +140 -0
- package/dist/types/shared/dashboard-viewer/table-column-move.d.ts +15 -0
- package/dist/types/shared/dashboard-viewer/table-settings.d.ts +8 -2
- package/dist/types/shared/format-utils/types/format-types.d.ts +1 -1
- package/dist/usage-events/index.js +1 -285
- package/dist/value-format-preferences/index.js +1 -635
- package/package.json +5 -2
- package/dist/chunks/add-to-dashboard-CFF-wFU-.js +0 -291
- package/dist/chunks/analytics-base-schemas-DsUh5Q3C.js +0 -680
- package/dist/chunks/appearance-context-BwBp25ZG.js +0 -162
- package/dist/chunks/appearance-runtime-provider-BRHYELkC.js +0 -80
- package/dist/chunks/applied-constraints-DU-wndZ7.js +0 -47
- package/dist/chunks/assistant-chat-B6hNQI1t.js +0 -6115
- package/dist/chunks/attribution-BvoKvhcj.js +0 -32
- package/dist/chunks/availability-Bp5Gfu1I.js +0 -44
- package/dist/chunks/bookmark-impact-Ba2PLcGp.js +0 -76
- package/dist/chunks/bookmark-state-n7AaNzR_.js +0 -1667
- package/dist/chunks/brand-BoUV0iHF.js +0 -54
- package/dist/chunks/card-filter-builder-Y22HizVx.js +0 -4069
- package/dist/chunks/column-bands-RdM-kjDe.js +0 -47
- package/dist/chunks/comparison-window-caption-Ck2TIbnR.js +0 -741
- package/dist/chunks/context-UCQ7sere.js +0 -369
- package/dist/chunks/conversation-sQiWYUOb.js +0 -16
- package/dist/chunks/dashboard-BghI99oY.js +0 -14
- package/dist/chunks/dashboard-briefing-launcher-DtBAnGiH.js +0 -4875
- package/dist/chunks/dashboard-controls-CtFXlyjV.js +0 -2290
- package/dist/chunks/dashboard-json-DfGBUtCd.js +0 -66
- package/dist/chunks/dates-BnrXF4bb.js +0 -185
- package/dist/chunks/edit-9df1zOWe.js +0 -226
- package/dist/chunks/edit-dashboard-visual-oxt3x1wb.js +0 -18397
- package/dist/chunks/export-file-format-C-tJsxsf.js +0 -111
- package/dist/chunks/filter-line-Cy5YYqRL.js +0 -703
- package/dist/chunks/filter-reach-copy-CE_ZX147.js +0 -5111
- package/dist/chunks/filter-value-text-fWvSDwkl.js +0 -153
- package/dist/chunks/index-BVKzKl5d.js +0 -90
- package/dist/chunks/index-CV_Kzou0.js +0 -595
- package/dist/chunks/index-D5rxbtS4.js +0 -2795
- package/dist/chunks/layout-grid-9LndRoLa.js +0 -16
- package/dist/chunks/matrix-analytical-definition-CCp48UCw.js +0 -1233
- package/dist/chunks/matrix-member-presentation-zNehruXR.js +0 -391
- package/dist/chunks/matrix-operation-contract-DPBj69D8.js +0 -1413
- package/dist/chunks/metric-comparison-B0FR-Q8I.js +0 -600
- package/dist/chunks/normalize-dashboard-for-dirty-check-XKgH3GFX.js +0 -119
- package/dist/chunks/paintbrush-58FQYY-y.js +0 -27
- package/dist/chunks/palette-Be62Tkoa.js +0 -23
- package/dist/chunks/pickers-DkqmtnTL.js +0 -2403
- package/dist/chunks/pivot-result-contract-expectations-BYqAmG9n.js +0 -5092
- package/dist/chunks/pivot-result-identity-CAP4--iq.js +0 -77
- package/dist/chunks/raw-temporal-value-Dg_MTFF7.js +0 -3778
- package/dist/chunks/rendered-file-D8xEuVVx.js +0 -108
- package/dist/chunks/report-preferences-dialog-uJp9GBTM.js +0 -1651
- package/dist/chunks/report-runtime-context-c77_KF9v.js +0 -388
- package/dist/chunks/resolve-dashboard-input-context-Rtl1ffmE.js +0 -25324
- package/dist/chunks/resolver-DG_tfEpt.js +0 -156
- package/dist/chunks/save-C5A0JnEV.js +0 -21
- package/dist/chunks/saved-dashboard-context-tcyTU8jm.js +0 -618
- package/dist/chunks/schema-C9NPiIru.js +0 -2568
- package/dist/chunks/selection-filter-compiler-DNijjI5y.js +0 -150
- package/dist/chunks/semaphor-ready-indicator-FBvunj6S.js +0 -145603
- package/dist/chunks/shelf-drop-preview-context-QKStrcK9.js +0 -2466
- package/dist/chunks/stored-dashboard-CHozcAY9.js +0 -4075
- package/dist/chunks/style-sheet-parts-CDCG-8Ej.js +0 -8681
- package/dist/chunks/table-export-sheet-ZFIvs6Sj.js +0 -949
- package/dist/chunks/token-types-XbM6QByy.js +0 -8
- package/dist/chunks/upload-H15d7uHK.js +0 -15
- package/dist/chunks/validators-Baf3VIf5.js +0 -3686
- package/dist/chunks/variable-draft-C2y8Jp6Z.js +0 -242
- package/dist/chunks/visual-choice-DDfHfHvY.js +0 -172
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { z as t } from "zod";
|
|
2
|
-
const e = [
|
|
3
|
-
"card",
|
|
4
|
-
"matrix_window",
|
|
5
|
-
"filter_options",
|
|
6
|
-
"control_options",
|
|
7
|
-
"sql",
|
|
8
|
-
"export"
|
|
9
|
-
], r = ["main", "row_count", "totals"], i = [
|
|
10
|
-
"initial_load",
|
|
11
|
-
"input_change",
|
|
12
|
-
"click_filter",
|
|
13
|
-
"drill",
|
|
14
|
-
"page",
|
|
15
|
-
"sort",
|
|
16
|
-
"refresh"
|
|
17
|
-
], s = 128, n = 500, o = t.string().max(s).optional().catch(void 0), a = t.string().max(n).optional().catch(void 0), l = t.object({
|
|
18
|
-
operationId: o,
|
|
19
|
-
trigger: t.enum(i).optional().catch(void 0),
|
|
20
|
-
dashboardId: o,
|
|
21
|
-
dashboardTitle: a,
|
|
22
|
-
sheetId: o,
|
|
23
|
-
sheetTitle: a
|
|
24
|
-
});
|
|
25
|
-
export {
|
|
26
|
-
r as Q,
|
|
27
|
-
s as U,
|
|
28
|
-
i as a,
|
|
29
|
-
e as b,
|
|
30
|
-
n as c,
|
|
31
|
-
l as u
|
|
32
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { D as l, i as n, a as o, A as b } from "./conversation-sQiWYUOb.js";
|
|
2
|
-
const r = ["enabled", "name", "layout"];
|
|
3
|
-
function u(s) {
|
|
4
|
-
const e = i(s) ? s : {}, a = i(e.assistant) ? e.assistant : {}, t = typeof a.name == "string" ? a.name.trim() : "";
|
|
5
|
-
return {
|
|
6
|
-
enabled: typeof a.enabled == "boolean" ? a.enabled : typeof e.showDashboardAssistant == "boolean" ? e.showDashboardAssistant : void 0,
|
|
7
|
-
name: t ? t.slice(0, o) : l,
|
|
8
|
-
layout: n(a.layout) ? a.layout : void 0
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
function c(s) {
|
|
12
|
-
if (!i(s)) return { ok: !1, issues: ["config.assistant must be an object"] };
|
|
13
|
-
const e = Object.keys(s).filter((t) => !r.includes(t)).map((t) => `config.assistant.${t} is not an option (${r.join(", ")})`);
|
|
14
|
-
"enabled" in s && typeof s.enabled != "boolean" && e.push("config.assistant.enabled must be a boolean");
|
|
15
|
-
const a = typeof s.name == "string" ? s.name.trim() : void 0;
|
|
16
|
-
return "name" in s && (!a || a.length > o) && e.push(`config.assistant.name must be 1 to ${o} characters`), "layout" in s && !n(s.layout) && e.push(`config.assistant.layout must be one of ${b.join(", ")}`), e.length > 0 ? { ok: !1, issues: e } : {
|
|
17
|
-
ok: !0,
|
|
18
|
-
value: {
|
|
19
|
-
...typeof s.enabled == "boolean" ? { enabled: s.enabled } : {},
|
|
20
|
-
...a ? { name: a } : {},
|
|
21
|
-
...n(s.layout) ? { layout: s.layout } : {}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
function i(s) {
|
|
26
|
-
return typeof s == "object" && s !== null && !Array.isArray(s);
|
|
27
|
-
}
|
|
28
|
-
function y(s) {
|
|
29
|
-
if (!s.modelConfigured)
|
|
30
|
-
return { available: !1, reason: "not_configured" };
|
|
31
|
-
if (s.features.aiFeatures === !1)
|
|
32
|
-
return { available: !1, reason: "ai_features_off" };
|
|
33
|
-
if ((s.features.assistant ?? (s.features.dashboardAssistant === !1 ? !1 : void 0)) === !1)
|
|
34
|
-
return { available: !1, reason: "assistant_off" };
|
|
35
|
-
if (s.config.enabled !== !0)
|
|
36
|
-
return { available: !1, reason: "not_enabled_for_token" };
|
|
37
|
-
const { orgUserId: a, tenantId: t, endUserId: f } = s.identity;
|
|
38
|
-
return !a && !(t && f) ? { available: !1, reason: "no_user_identity" } : { available: !0 };
|
|
39
|
-
}
|
|
40
|
-
export {
|
|
41
|
-
u as a,
|
|
42
|
-
c as p,
|
|
43
|
-
y as r
|
|
44
|
-
};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { y as g, A as $ } from "./bookmark-state-n7AaNzR_.js";
|
|
2
|
-
import { l as C, i as F, f as O } from "./resolve-dashboard-input-context-Rtl1ffmE.js";
|
|
3
|
-
import { l as S, h as v, a as T } from "./stored-dashboard-CHozcAY9.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
|
-
};
|