react-semaphor 0.1.541 → 0.1.542
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/analytics-protocol/index.js +75 -75
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +3 -3
- package/dist/briefings/index.js +51 -49
- package/dist/chunks/apply-dashboard-operations-Btbp2-6v.js +2260 -0
- package/dist/chunks/{assistant-chat-D1fDZD6O.js → assistant-chat-oHF5lTjA.js} +12 -12
- package/dist/chunks/bookmark-state-CXw7lZ50.js +118 -0
- package/dist/chunks/{calendar-day-equality-Bpl15IBo.js → calendar-day-equality-BmJAWduY.js} +180 -207
- package/dist/chunks/comparison-window-caption-ChIyd_-L.js +1618 -0
- package/dist/chunks/custom-visual-inputs-DUtpYZOk.js +323 -0
- package/dist/chunks/{dashboard-briefing-launcher-DwjFpewq.js → dashboard-briefing-launcher-B-cm719R.js} +18 -18
- package/dist/chunks/{dashboard-controls-C_BI28ME.js → dashboard-controls-CIn22Qgp.js} +69 -70
- package/dist/chunks/{dashboard-filter-value-compatibility-D95O4nd7.js → dashboard-filter-value-compatibility-CwQ_iSNb.js} +2 -2
- package/dist/chunks/{dashboard-json-DDY15Trn.js → dashboard-json-ZUYsIExq.js} +4 -4
- package/dist/chunks/{dashboard-B6IrON_Q.js → dashboard-s5WJBcK8.js} +1 -1
- package/dist/chunks/{document-dashboard-inputs-DP_Op5mu.js → document-dashboard-inputs-C6MJVyoI.js} +2382 -4975
- package/dist/chunks/document-sheet-utils-BsZUnHRl.js +3619 -0
- package/dist/chunks/{edit-dashboard-visual-CH2dzWW-.js → edit-dashboard-visual-DLdereA7.js} +728 -728
- package/dist/chunks/{filter-value-text-BhWugPWE.js → filter-value-text-CYsVYPuD.js} +18 -19
- package/dist/chunks/{index-DaQlghLY.js → index-CV5rHq5D.js} +824 -1351
- package/dist/chunks/{matrix-analytical-definition-bcprSe4u.js → matrix-analytical-definition-C7Gb0e12.js} +1 -1
- package/dist/chunks/{matrix-card-CJn1hB5V.js → matrix-card-DjwWcCo8.js} +2 -2
- package/dist/chunks/{matrix-formatter-DQ8avoIQ.js → matrix-formatter-BnsTX90d.js} +430 -417
- package/dist/chunks/{matrix-member-presentation-BNPSDKBG.js → matrix-member-presentation-CQGdVks6.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-B8PBF1Gd.js → matrix-operation-contract-8OIO4gob.js} +65 -65
- package/dist/chunks/metric-comparison-DEwi9uc2.js +498 -0
- package/dist/chunks/numeric-presentation-BSAqPpHt.js +5227 -0
- package/dist/chunks/{pivot-header-presentation-MkcKnjn3.js → pivot-header-presentation-DHcx1XGQ.js} +1 -1
- package/dist/chunks/{pivot-result-identity-D6hhcRXi.js → pivot-result-identity-DJhXXcns.js} +1 -1
- package/dist/chunks/pivot-result-lifecycle-BBlAfBA0.js +1155 -0
- package/dist/chunks/raw-temporal-presentation-CZ2r0Vb_.js +585 -0
- package/dist/chunks/{report-preferences-dialog-DpNkFfQO.js → report-preferences-dialog-MRUWpMcJ.js} +75 -75
- package/dist/chunks/{report-runtime-context-B984Nq1E.js → report-runtime-context-Dq8XyODK.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-CJ2WpoMF.js → saved-dashboard-context-DjPqgFly.js} +233 -206
- package/dist/chunks/{selection-reducer-vKIb_jS6.js → selection-reducer-Dj_8xD69.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-KT598QJq.js → semaphor-ready-indicator-BWSpRsPj.js} +37489 -39476
- package/dist/chunks/{shelf-drop-preview-context-BxV3Fl8h.js → shelf-drop-preview-context-CQbFLm3q.js} +6 -6
- package/dist/chunks/sort-target-MT1WK1vX.js +29 -0
- package/dist/chunks/{source-entity-resolution-CVA1a85c.js → source-entity-resolution-BYn9giz3.js} +1 -1
- package/dist/chunks/{switch-DWEWiv1J.js → switch-C3jLxlG0.js} +2 -2
- package/dist/chunks/table-export-sheet-BHSnuZHd.js +949 -0
- package/dist/chunks/table-settings-CLZocegs.js +501 -0
- package/dist/chunks/temporal-bucket-D7NBrrtL.js +2071 -0
- package/dist/chunks/{token-types-bxUxXDX2.js → token-types-DBbZVQsm.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-DdD12SMY.js → use-create-flow-overlay-state-BJDNqdOh.js} +151 -151
- package/dist/chunks/{validators-Ej1DdCXa.js → validators-DMHTpf7a.js} +73 -73
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +462 -457
- package/dist/data-app-sdk/index.js +5 -5
- package/dist/data-app-sdk-adapters/index.js +2 -2
- package/dist/data-app-sdk-validation/index.js +9 -9
- package/dist/format-utils/index.js +346 -241
- package/dist/index.js +174 -175
- package/dist/report-runtime-context/index.js +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/briefings/attachment-outcomes.d.ts +1 -1
- package/dist/types/briefings/attachments.d.ts +17 -1
- package/dist/types/briefings/index.d.ts +5 -3
- package/dist/types/index.js +48 -48
- package/dist/types/lib/api/exports-api.d.ts +11 -65
- package/dist/types/lib/dashboard-inputs/control-contract-overrides.d.ts +17 -0
- package/dist/types/lib/dashboard-viewer/export-table-view.d.ts +2 -0
- package/dist/types/lib/hooks/use-dashboard.d.ts +3 -6
- package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +8 -2
- package/dist/types/lib/matrix-table/matrix-delivery.d.ts +8 -6
- package/dist/types/lib/query-context/build-dashboard-card-query-contract.d.ts +50 -0
- package/dist/types/lib/types/explorer-types.d.ts +6 -0
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +3 -3
- package/dist/types/shared/assistant-context/index.d.ts +1 -1
- package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +23 -6
- package/dist/types/shared/dashboard-authoring/card-export-request.d.ts +173 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +4 -3
- package/dist/types/shared/format-utils/exporters/export-cells.d.ts +90 -0
- package/dist/types/shared/format-utils/exporters/export-file-format.d.ts +44 -0
- package/dist/types/shared/format-utils/exporters/index.d.ts +6 -0
- package/dist/types/shared/format-utils/exporters/xlsx-file.d.ts +90 -0
- package/dist/types/shared/format-utils/formatters/date-formatter.d.ts +8 -12
- package/dist/types/shared/format-utils/formatters/index.d.ts +1 -1
- package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +2 -0
- package/dist/types/shared/format-utils/index.d.ts +2 -0
- package/dist/types/shared/format-utils/matrix-continuation.d.ts +55 -9
- package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +21 -1
- package/dist/types/shared/format-utils/matrix-export-xlsx.d.ts +27 -0
- package/dist/types/shared/format-utils/presentation-execution.d.ts +27 -2
- package/dist/types/shared/format-utils/raw-temporal.d.ts +8 -0
- package/dist/types/shared/format-utils/table-export/index.d.ts +8 -0
- package/dist/types/shared/format-utils/table-export/prepare-table-export.d.ts +50 -0
- package/dist/types/shared/format-utils/table-export/table-export-formatting.d.ts +47 -0
- package/dist/types/shared/format-utils/table-export/table-export-raw-temporal.d.ts +40 -0
- package/dist/types/shared/format-utils/table-export/table-export-result.d.ts +31 -0
- package/dist/types/shared/format-utils/table-export/table-export-sheet.d.ts +38 -0
- package/dist/types/shared/format-utils/temporal-bucket.d.ts +9 -0
- package/package.json +2 -1
- package/dist/chunks/aggregate-table-row-presentation-B_vQjYR3.js +0 -996
- package/dist/chunks/apply-dashboard-operations-C-iahGka.js +0 -402
- package/dist/chunks/bookmark-state-k7y5SNGf.js +0 -331
- package/dist/chunks/calculated-field-identity-DcBS2NPP.js +0 -2161
- package/dist/chunks/canonical-result-keys-CEQefvdO.js +0 -33
- package/dist/chunks/common-types-CUf03Htv.js +0 -288
- package/dist/chunks/csv-utils-GUfKyT1J.js +0 -56
- package/dist/chunks/custom-visual-inputs-BrUOIwln.js +0 -3288
- package/dist/chunks/document-sheet-utils-C1eEldxs.js +0 -1076
- package/dist/chunks/matrix-definition-DQDI2okF.js +0 -206
- package/dist/chunks/metric-comparison-CojWeLqx.js +0 -392
- package/dist/chunks/pivot-result-lifecycle-8qCDmpKc.js +0 -804
- package/dist/chunks/raw-temporal-D61lr48Y.js +0 -1464
- package/dist/chunks/temporal-bucket-D8JF7zKz.js +0 -575
- package/dist/chunks/temporal-bucket-contract-DaOajRC7.js +0 -108
package/dist/index.js
CHANGED
|
@@ -1,43 +1,42 @@
|
|
|
1
|
-
import { D as I } from "./chunks/dashboard-
|
|
2
|
-
import { C as
|
|
3
|
-
import { C as k, b as M, c as O, d as U, e as V, f as z } from "./chunks/report-preferences-dialog-
|
|
4
|
-
import { g as
|
|
1
|
+
import { D as I } from "./chunks/dashboard-s5WJBcK8.js";
|
|
2
|
+
import { C as oa, E as na } from "./chunks/table-settings-CLZocegs.js";
|
|
3
|
+
import { C as k, b as M, c as O, d as U, e as V, f as z } from "./chunks/report-preferences-dialog-MRUWpMcJ.js";
|
|
4
|
+
import { g as la, A as ca, h as ua, a as da, R as pa, D as fa } from "./chunks/report-preferences-dialog-MRUWpMcJ.js";
|
|
5
5
|
import { jsx as n, jsxs as C } from "react/jsx-runtime";
|
|
6
|
-
import { E as N, F as q, S as $, a as H, U as W, c as Q, C as K, u as _, V as G, d as Y, e as J, s as X, R as Z } from "./chunks/semaphor-ready-indicator-
|
|
7
|
-
import { aq as
|
|
6
|
+
import { E as N, F as q, S as $, a as H, U as W, c as Q, C as K, u as _, V as G, d as Y, e as J, s as X, R as Z } from "./chunks/semaphor-ready-indicator-BWSpRsPj.js";
|
|
7
|
+
import { aq as ha, ar as ga, as as Ca, B as ya, $ as ba, z as Ea, x as Da, w as va, aA as Aa, M as xa, h as Sa, k as Ta, k as wa, l as Ba, y as Pa, al as Na, an as _a, ao as Fa, am as Ra, ac as ja, af as La, az as Ia, a3 as ka, ak as Ma, Y as Oa, au as Ua, av as Va, a7 as za, ag as qa, v as $a, t as Ha, q as Wa, r as Qa, aD as Ka, a2 as Ga, ah as Ya, ai as Ja, ab as Xa, ae as Za, ay as et, ax as at, aw as tt, aC as st, aB as rt, ad as ot, a1 as nt, a0 as it, P as lt, a5 as ct, aj as ut, a9 as dt, a6 as pt, a8 as ft, aa as mt, a4 as ht, L as gt, I as Ct, p as yt, at as bt, o as Et, G as Dt, Q as vt, W as At, T as xt, X as St, n as Tt, g as wt, A as Bt, H as Pt, i as Nt, _ as _t, O as Ft, Z as Rt, K as jt, J as Lt, N as It, f as kt, m as Mt, j as Ot, ap as Ut } from "./chunks/semaphor-ready-indicator-BWSpRsPj.js";
|
|
8
8
|
import * as S from "react";
|
|
9
9
|
import F, { useMemo as ee, useEffect as R } from "react";
|
|
10
|
-
import { D as
|
|
11
|
-
import { C as
|
|
12
|
-
import { A as
|
|
13
|
-
import { u as
|
|
10
|
+
import { D as zt } from "./chunks/token-types-DBbZVQsm.js";
|
|
11
|
+
import { C as $t, D as Ht, L as Wt, P as Qt, e as Kt, g as Gt, j as Yt, h as Jt, k as Xt, d as Zt, b as es, i as as, c as ts, n as ss, f as rs } from "./chunks/validators-DMHTpf7a.js";
|
|
12
|
+
import { A as ns, h as is, D as ls, f as cs, g as us, e as ds, b as ps, E as fs, N as ms, U as hs, a as gs, V as Cs, W as ys, i as bs, u as Es, c as Ds, d as vs } from "./chunks/dashboard-briefing-launcher-B-cm719R.js";
|
|
13
|
+
import { u as xs } from "./chunks/use-debounced-dirty-check-BwAbnX_5.js";
|
|
14
14
|
import { createRoot as ae } from "react-dom/client";
|
|
15
|
-
import "./chunks/shelf-drop-preview-context-
|
|
15
|
+
import "./chunks/shelf-drop-preview-context-CQbFLm3q.js";
|
|
16
16
|
import "./chunks/index-CuHybtft.js";
|
|
17
|
-
import "./chunks/matrix-operation-contract-
|
|
17
|
+
import "./chunks/matrix-operation-contract-8OIO4gob.js";
|
|
18
18
|
import "./chunks/analytics-base-schemas-BFAoRlkU.js";
|
|
19
19
|
import "zod";
|
|
20
|
-
import { D as
|
|
20
|
+
import { D as Ts } from "./chunks/report-runtime-context-Dq8XyODK.js";
|
|
21
21
|
import { c as B } from "./chunks/class-utils-Df1OVOT1.js";
|
|
22
|
-
import { P as te, a as se, B as re, b as oe, c as ne } from "./chunks/switch-
|
|
23
|
-
import "./chunks/
|
|
24
|
-
import "./chunks/pivot-result-lifecycle-
|
|
22
|
+
import { P as te, a as se, B as re, b as oe, c as ne } from "./chunks/switch-C3jLxlG0.js";
|
|
23
|
+
import "./chunks/numeric-presentation-BSAqPpHt.js";
|
|
24
|
+
import "./chunks/pivot-result-lifecycle-BBlAfBA0.js";
|
|
25
25
|
import "./value-format-preferences/index.js";
|
|
26
|
-
import { r as
|
|
27
|
-
import "./chunks/
|
|
28
|
-
import { c as ie } from "./chunks/apply-dashboard-operations-C-iahGka.js";
|
|
29
|
-
import { t as Fs, m as Rs, v as js, u as Ls, y as Is, z as ks, s as Ms, q as Os, w as Us, p as Vs, o as zs, n as qs, A as $s, x as Hs } from "./chunks/document-dashboard-inputs-DP_Op5mu.js";
|
|
30
|
-
import "./chunks/bookmark-state-k7y5SNGf.js";
|
|
26
|
+
import { r as Bs, a as Ps } from "./chunks/pivot-result-identity-DJhXXcns.js";
|
|
27
|
+
import { a as ie } from "./chunks/document-sheet-utils-BsZUnHRl.js";
|
|
31
28
|
import "react-dom";
|
|
32
|
-
import "./chunks/index-
|
|
29
|
+
import "./chunks/index-CV5rHq5D.js";
|
|
33
30
|
import "./chunks/appearance-context-DEYtWinQ.js";
|
|
34
31
|
import "./chunks/color-CJvdlFM_.js";
|
|
35
32
|
import "./chunks/index-CLIro-EG.js";
|
|
36
|
-
import {
|
|
37
|
-
import
|
|
33
|
+
import { v as _s, n as Fs, x as Rs, w as js, A as Ls, B as Is, u as ks, t as Ms, y as Os, s as Us, q as Vs, o as zs, C as qs, z as $s } from "./chunks/document-dashboard-inputs-C6MJVyoI.js";
|
|
34
|
+
import "./chunks/bookmark-state-CXw7lZ50.js";
|
|
35
|
+
import { I as le } from "./chunks/use-create-flow-overlay-state-BJDNqdOh.js";
|
|
36
|
+
import { n as Ws, s as Qs } from "./chunks/normalize-dashboard-for-dirty-check-Bk3VYv_q.js";
|
|
38
37
|
import { C as ce } from "./chunks/x-4f5U2XwU.js";
|
|
39
38
|
import "./chunks/appearance-runtime-provider-B-M8gwlZ.js";
|
|
40
|
-
function
|
|
39
|
+
function Xe(e) {
|
|
41
40
|
const { displayPreferences: a, cardId: t, ...s } = e, r = {
|
|
42
41
|
...s,
|
|
43
42
|
id: e.dashboardId
|
|
@@ -252,15 +251,15 @@ const Se = {
|
|
|
252
251
|
selectedSheetId: "string",
|
|
253
252
|
eventHandlers: "json",
|
|
254
253
|
preferences: "json"
|
|
255
|
-
},
|
|
254
|
+
}, Ze = xe(I, {
|
|
256
255
|
props: Se
|
|
257
256
|
});
|
|
258
|
-
function
|
|
257
|
+
function ea(e, a, t, s) {
|
|
259
258
|
R(() => {
|
|
260
259
|
e && !t && a && s(ie(X(_.getState()).dashboard));
|
|
261
260
|
}, [e, t, a, s]);
|
|
262
261
|
}
|
|
263
|
-
function
|
|
262
|
+
function aa({
|
|
264
263
|
name: e,
|
|
265
264
|
items: a,
|
|
266
265
|
value: t,
|
|
@@ -352,7 +351,7 @@ function ta({
|
|
|
352
351
|
)
|
|
353
352
|
] });
|
|
354
353
|
}
|
|
355
|
-
function
|
|
354
|
+
function ta(e, a) {
|
|
356
355
|
R(() => (e && a && (window.__SEMAPHOR_PRINT_STATE__ = {
|
|
357
356
|
...a
|
|
358
357
|
}), () => {
|
|
@@ -360,155 +359,155 @@ function sa(e, a) {
|
|
|
360
359
|
}), [e, a]);
|
|
361
360
|
}
|
|
362
361
|
export {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
362
|
+
ns as AdvancedModeToggle,
|
|
363
|
+
la as AssistantPanel,
|
|
364
|
+
ca as AssistantProvider,
|
|
365
|
+
ua as AssistantToolbarButton,
|
|
366
|
+
ha as BriefingAuthor,
|
|
367
|
+
ga as BriefingAuthorDialog,
|
|
368
|
+
Ca as BriefingUiCapabilitiesBoundary,
|
|
369
|
+
ya as BriefingUiCapabilitiesProvider,
|
|
370
|
+
ba as BriefingsApiError,
|
|
371
|
+
$t as CALCULATED_FIELD_ENTITY_MARKER,
|
|
372
|
+
oa as CONTROL_CARD_DEFAULT_VALUE,
|
|
373
|
+
Ea as CardSummary,
|
|
374
|
+
aa as Combobox,
|
|
375
|
+
Ht as DATE_FORMAT_VALUES,
|
|
376
|
+
Ts as DEFAULT_CALENDAR_CONTEXT,
|
|
377
|
+
zt as DEFAULT_SEMANTIC_DOMAIN_ACCESS,
|
|
379
378
|
I as Dashboard,
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
379
|
+
is as DashboardBriefingLauncher,
|
|
380
|
+
ls as DashboardControlsSettings,
|
|
381
|
+
Da as DashboardCreateDialogBase,
|
|
382
|
+
va as DashboardExportDialog,
|
|
383
|
+
cs as DashboardFilterControlsButton,
|
|
384
|
+
us as DashboardFilterControlsLauncher,
|
|
385
|
+
Ze as DashboardWC,
|
|
386
|
+
da as DisplayFormatPreferencesFields,
|
|
387
|
+
ds as DocumentControlsSettings,
|
|
388
|
+
na as EMPTY_SELECTION,
|
|
389
|
+
Aa as ExportError,
|
|
390
|
+
ps as ExportNotificationItem,
|
|
391
|
+
fs as ExportNotificationList,
|
|
392
|
+
Wt as LEGACY_CALCULATED_FIELD_ENTITY_MARKER,
|
|
393
|
+
xa as MatrixCardView,
|
|
394
|
+
ms as NotificationBell,
|
|
395
|
+
Qt as PivotMarkerEnum,
|
|
396
|
+
pa as ReportPreferencesDialog,
|
|
397
|
+
Sa as ResourceType,
|
|
399
398
|
$ as SemaphorContextProvider,
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
399
|
+
Ta as SemaphorDataProvider,
|
|
400
|
+
wa as SemaphorQueryClient,
|
|
401
|
+
Ba as ShareDialog,
|
|
402
|
+
Pa as SummaryCard,
|
|
403
|
+
fa as Surfboard,
|
|
404
|
+
hs as UnsavedChangesAlert,
|
|
405
|
+
Xe as Visual,
|
|
406
|
+
gs as VisualEditingControls,
|
|
407
|
+
Cs as VisualsLibraryDialog,
|
|
408
|
+
ys as WatchDashboardButton,
|
|
409
|
+
Na as applyBriefingFormPatch,
|
|
410
|
+
_a as briefingFormDraftToCreateRequest,
|
|
411
|
+
Fa as briefingFormDraftToUpdateRequest,
|
|
412
|
+
Ra as briefingToFormDraft,
|
|
413
|
+
ja as cancelBriefingPreviewRun,
|
|
414
|
+
La as cancelBriefingRun,
|
|
415
|
+
Ia as cancelExport,
|
|
417
416
|
ie as cloneDeep,
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
417
|
+
ka as createBriefing,
|
|
418
|
+
Ma as createBriefingFormDraft,
|
|
419
|
+
Oa as createEmptyKpiConfig,
|
|
420
|
+
Ua as createExport,
|
|
421
|
+
Va as createMatrixDirectExport,
|
|
422
|
+
_s as createSqlGenConfig,
|
|
423
|
+
za as deleteBriefing,
|
|
424
|
+
qa as deleteBriefingRun,
|
|
425
|
+
$a as downloadDocumentPdf,
|
|
426
|
+
Ha as downloadPdf,
|
|
427
|
+
Wa as emitDashboardLoad,
|
|
428
|
+
Qa as emitDashboardUnload,
|
|
429
|
+
Fs as fmt,
|
|
430
|
+
Ka as formatFileSize,
|
|
431
|
+
Ga as getBriefing,
|
|
432
|
+
Ya as getBriefingArtifact,
|
|
433
|
+
Ja as getBriefingEvidence,
|
|
434
|
+
Xa as getBriefingPreviewRun,
|
|
435
|
+
Za as getBriefingRun,
|
|
436
|
+
Kt as getCalculatedFieldComputeStage,
|
|
437
|
+
Rs as getColumnDataType,
|
|
438
|
+
et as getDownloadUrl,
|
|
439
|
+
at as getExportStatus,
|
|
440
|
+
tt as getExports,
|
|
441
|
+
Gt as getFieldRuntimeColumnName,
|
|
442
|
+
js as getFilterValueType,
|
|
443
|
+
Ls as getFormattedTableNameForQuery,
|
|
444
|
+
Is as getQualifiedTableName,
|
|
445
|
+
ks as getSql,
|
|
446
|
+
Yt as hasCalculatedFieldMarker,
|
|
447
|
+
Jt as hasCalculatedFormulaInputs,
|
|
448
|
+
Xt as hasSyntheticCalculatedFieldOwner,
|
|
449
|
+
Zt as inspectCalculatedField,
|
|
450
|
+
bs as invalidateToken,
|
|
451
|
+
Ms as isBooleanDataType,
|
|
452
|
+
es as isCalculatedDimension,
|
|
453
|
+
as as isCalculatedMetric,
|
|
454
|
+
Os as isColumnInSqlGen,
|
|
455
|
+
Us as isDateDataType,
|
|
456
|
+
ts as isDerivedField,
|
|
457
|
+
st as isExportComplete,
|
|
458
|
+
rt as isExportInProgress,
|
|
459
|
+
Vs as isNumberDataType,
|
|
460
|
+
zs as isTextDataType,
|
|
461
|
+
ot as listBriefingRuns,
|
|
462
|
+
nt as listBriefingTenantSummaries,
|
|
463
|
+
it as listBriefings,
|
|
464
|
+
lt as mergeSemanticExecutionPayloadIntoTarget,
|
|
465
|
+
ss as normalizeCalculatedFieldRepresentation,
|
|
466
|
+
Ws as normalizeDashboardForDirtyCheck,
|
|
467
|
+
ct as pauseBriefing,
|
|
468
|
+
ut as polishBriefingText,
|
|
469
|
+
dt as previewBriefingPlan,
|
|
470
|
+
qs as resolveDataType,
|
|
471
|
+
$s as resolveDatamodelName,
|
|
472
|
+
Bs as resolveQueryColumnKeyMapEntry,
|
|
473
|
+
Ps as resolveUniqueQueryColumnKeyMapEntry,
|
|
474
|
+
pt as resumeBriefing,
|
|
475
|
+
ft as runBriefingNow,
|
|
476
|
+
mt as runBriefingPreview,
|
|
478
477
|
X as selectEditSessionStart,
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
478
|
+
Qs as serializeDashboardForDirtyCheck,
|
|
479
|
+
rs as shouldDropInheritedCalculationAggregate,
|
|
480
|
+
ht as updateBriefing,
|
|
481
|
+
gt as useActiveExports,
|
|
482
|
+
Ct as useAddNewFrame,
|
|
483
|
+
yt as useAssistant,
|
|
484
|
+
bt as useBriefingUiCapabilities,
|
|
485
|
+
Et as useCard,
|
|
486
|
+
Dt as useCardSummary,
|
|
487
|
+
vt as useCurrentActiveCard,
|
|
488
|
+
At as useCurrentCardConfig,
|
|
489
|
+
xt as useCurrentSheetActiveCards,
|
|
490
|
+
St as useDashboardActions,
|
|
491
|
+
Tt as useDashboardById,
|
|
492
|
+
wt as useDashboardQuery,
|
|
494
493
|
_ as useDashboardStore,
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
494
|
+
Bt as useDashboardSummary,
|
|
495
|
+
Es as useDashboardUnsavedChangesCheck,
|
|
496
|
+
Pt as useDataColumns,
|
|
497
|
+
Nt as useDateFilterHook,
|
|
498
|
+
xs as useDebouncedDirtyCheck,
|
|
499
|
+
_t as useEditorActions,
|
|
500
|
+
Ft as useEditorAside,
|
|
501
|
+
Rt as useEditorStore,
|
|
502
|
+
jt as useExportActions,
|
|
503
|
+
Ds as useExportPolling,
|
|
504
|
+
vs as useExportRecovery,
|
|
505
|
+
Lt as useExportStore,
|
|
506
|
+
ta as useExposePrintState,
|
|
507
|
+
It as useInProgressExportsCount,
|
|
508
|
+
kt as useManagementStore,
|
|
509
|
+
ea as usePristineSnapshotInitializer,
|
|
510
|
+
Mt as useResourceManagement,
|
|
511
|
+
Ot as useTextFilterHook,
|
|
512
|
+
Ut as validateBriefingFormDraft
|
|
514
513
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as r } from "../chunks/analytics-base-schemas-BFAoRlkU.js";
|
|
2
|
-
import { D as n, p as o, a as p, b as t } from "../chunks/report-runtime-context-
|
|
2
|
+
import { D as n, p as o, a as p, b as t } from "../chunks/report-runtime-context-Dq8XyODK.js";
|
|
3
3
|
export {
|
|
4
4
|
n as DEFAULT_CALENDAR_CONTEXT,
|
|
5
5
|
r as isValidIanaTimeZone,
|
package/dist/surfboard/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a, R as s, D as o } from "../chunks/report-preferences-dialog-
|
|
2
|
-
import { C as f, E as D } from "../chunks/
|
|
1
|
+
import { a, R as s, D as o } from "../chunks/report-preferences-dialog-MRUWpMcJ.js";
|
|
2
|
+
import { C as f, E as D } from "../chunks/table-settings-CLZocegs.js";
|
|
3
3
|
export {
|
|
4
4
|
f as CONTROL_CARD_DEFAULT_VALUE,
|
|
5
5
|
a as DisplayFormatPreferencesFields,
|
|
@@ -4,7 +4,7 @@ import { BriefingAttachmentFormat } from './index.js';
|
|
|
4
4
|
* RA-D14). The app decides the code and writes the customer line; the run
|
|
5
5
|
* card reads both back from the run.
|
|
6
6
|
*/
|
|
7
|
-
export declare const BRIEFING_ATTACHMENT_OMISSION_CODES: readonly ["PDF_ROW_LIMIT_EXCEEDED", "PDF_SIZE_LIMIT_EXCEEDED", "TABLE_COMPLETENESS_UNVERIFIED", "CARD_QUERY_FAILED", "RENDER_NOT_READY", "RENDER_TIMED_OUT", "EXPORT_JOB_FAILED", "ATTACHMENT_UNAVAILABLE"];
|
|
7
|
+
export declare const BRIEFING_ATTACHMENT_OMISSION_CODES: readonly ["PDF_ROW_LIMIT_EXCEEDED", "PDF_SIZE_LIMIT_EXCEEDED", "TABLE_COMPLETENESS_UNVERIFIED", "CARD_QUERY_FAILED", "RENDER_NOT_READY", "RENDER_TIMED_OUT", "EXPORT_JOB_FAILED", "ATTACHMENT_UNAVAILABLE", "EXCEL_LIMIT_EXCEEDED", "EXPORT_ROW_LIMIT_EXCEEDED", "EXPORT_COUNT_UNAVAILABLE", "EXPORT_NO_ROWS"];
|
|
8
8
|
export type BriefingAttachmentOmissionCode = (typeof BRIEFING_ATTACHMENT_OMISSION_CODES)[number];
|
|
9
9
|
/** One left-out attachment, as recorded on the run and read by every channel. */
|
|
10
10
|
export type BriefingOmittedAttachment = {
|
|
@@ -1,14 +1,30 @@
|
|
|
1
|
-
import { BriefingAttachmentFormat } from './index.js';
|
|
1
|
+
import { BriefingAttachment, BriefingAttachmentFormat } from './index.js';
|
|
2
2
|
import { TCard } from '../lib/types/common-types.js';
|
|
3
3
|
export type BriefingCardAttachmentCapability = {
|
|
4
4
|
formats: BriefingAttachmentFormat[];
|
|
5
5
|
defaultFormat: BriefingAttachmentFormat | null;
|
|
6
6
|
};
|
|
7
7
|
export declare function getBriefingCardAttachmentCapability(card: TCard): BriefingCardAttachmentCapability;
|
|
8
|
+
/**
|
|
9
|
+
* Table and Detail Table: their CSV and Excel attachments are background
|
|
10
|
+
* exports the server starts (Excel exports Phase 6, XL-D20), so they hold
|
|
11
|
+
* every row up to the export cap.
|
|
12
|
+
*/
|
|
13
|
+
export declare function isBriefingTableExportCardType(cardType: string | undefined): boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Attachments a background export job makes before a run is finalized
|
|
16
|
+
* (Excel exports SPEC §3.4, §3.5): a card's data file (CSV or Excel) of a
|
|
17
|
+
* Matrix with its capture, a Table or a Detail Table. Every other attachment
|
|
18
|
+
* renders. Read by preparation, release, delivery access and the page route
|
|
19
|
+
* alike, so they always agree on which attachments a job makes.
|
|
20
|
+
*/
|
|
21
|
+
export declare function briefingAttachmentNeedsExportJob(attachment: BriefingAttachment): boolean;
|
|
8
22
|
export declare function getBriefingCardAttachmentFormats(input: {
|
|
9
23
|
cardType: string;
|
|
10
24
|
allowDownload?: boolean;
|
|
11
25
|
}): BriefingAttachmentFormat[];
|
|
26
|
+
/** The name customers read for an attachment format: PDF, CSV or Excel. */
|
|
27
|
+
export declare function briefingAttachmentFormatLabel(format: BriefingAttachmentFormat): string;
|
|
12
28
|
export declare function getDefaultBriefingCardAttachmentFormat(input: {
|
|
13
29
|
cardType: string;
|
|
14
30
|
allowDownload?: boolean;
|
|
@@ -2,10 +2,11 @@ import { NumericCanonicalFormat, NumericPresentationTarget, PresentationExecutio
|
|
|
2
2
|
import { BriefingAppearanceSpec, BriefingFragments, BriefingThemeOverrides } from './presentation-contract.js';
|
|
3
3
|
import { MatrixConfig } from '../shared/analytics-protocol/index.js';
|
|
4
4
|
import { CsvEncoding } from '../shared/format-utils/exporters/csv-utils.js';
|
|
5
|
+
import { ExportFileFormat } from '../shared/format-utils/exporters/export-file-format.js';
|
|
5
6
|
export { captureMatrixExport, buildMatrixDeliveryEnvelope, matrixDeliveryPayloadSchema, matrixDeliveryQuerySchema, type MatrixLayoutReadResult } from '../shared/dashboard-authoring/matrix-delivery.js';
|
|
6
7
|
export declare const BRIEFING_KIND: "BRIEFING";
|
|
7
8
|
export { DEFAULT_BRIEFING_SCHEDULE, briefingScheduleMonths, briefingScheduleDayOccurs, briefingScheduleShortMonths, buildBriefingScheduleExpr, canonicalBriefingMonthDays, describeBriefingSchedule, isValidBriefingTimezone, nextBriefingScheduleDates, parseBriefingScheduleExpr, type BriefingScheduleFrequency, type BriefingScheduleMonthDay, type BriefingScheduleMonthInterval, type BriefingScheduleMonthlyOn, type BriefingScheduleOrdinal, type BriefingScheduleViewModel, } from './schedule.js';
|
|
8
|
-
export { getBriefingCardAttachmentCapability, getBriefingCardAttachmentFormats, getDefaultBriefingCardAttachmentFormat, type BriefingCardAttachmentCapability, } from './attachments.js';
|
|
9
|
+
export { briefingAttachmentFormatLabel, briefingAttachmentNeedsExportJob, getBriefingCardAttachmentCapability, getBriefingCardAttachmentFormats, getDefaultBriefingCardAttachmentFormat, isBriefingTableExportCardType, type BriefingCardAttachmentCapability, } from './attachments.js';
|
|
9
10
|
export { BRIEFING_ATTACHMENT_OMISSION_CODES, isBriefingAttachmentOmissionCode, readBriefingOmittedAttachments, type BriefingAttachmentOmissionCode, type BriefingOmittedAttachment, } from './attachment-outcomes.js';
|
|
10
11
|
export { canCreateBriefingForUser, type BriefingUiUser } from './capabilities.js';
|
|
11
12
|
export { getBriefingCreationIntents, type BriefingAuthorIntent, } from './creation.js';
|
|
@@ -166,7 +167,8 @@ export type BriefingContentDocument = {
|
|
|
166
167
|
summary?: string;
|
|
167
168
|
blocks: BriefingContentBlock[];
|
|
168
169
|
};
|
|
169
|
-
|
|
170
|
+
/** A rendered PDF, or a data file (CSV or Excel) made by an export. */
|
|
171
|
+
export type BriefingAttachmentFormat = 'pdf' | ExportFileFormat;
|
|
170
172
|
export type BriefingPdfPageSize = 'letter' | 'legal' | 'a4' | 'a3' | 'tabloid';
|
|
171
173
|
export type BriefingPdfOrientation = 'portrait' | 'landscape';
|
|
172
174
|
export type BriefingCsvDelimiter = ',' | ';' | '\t';
|
|
@@ -230,7 +232,7 @@ export type BriefingAttachment = (BriefingAttachmentBase & {
|
|
|
230
232
|
type: 'card';
|
|
231
233
|
dashboardId: string;
|
|
232
234
|
cardId: string;
|
|
233
|
-
format:
|
|
235
|
+
format: BriefingAttachmentFormat;
|
|
234
236
|
});
|
|
235
237
|
export type BriefingPresentation = {
|
|
236
238
|
artifactFormats: BriefingArtifactFormat[];
|
package/dist/types/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as s, E as r,
|
|
2
|
-
import { C as
|
|
3
|
-
import { D as
|
|
4
|
-
import { B as
|
|
5
|
-
import { r as H, a as Z } from "../chunks/pivot-result-identity-
|
|
6
|
-
import { D as ee } from "../chunks/report-runtime-context-
|
|
1
|
+
import { C as s, E as r, V as l, i as o, c as i, g as n, f as d, b as m, e as u, d as E, a as c, u as p, s as C, h as T, j as D, q as A, o as I, m as _, n as F, p as S, k as b, l as L, r as f, t as N } from "../chunks/table-settings-CLZocegs.js";
|
|
2
|
+
import { C as y, D as M, L as g, P as h, e as x, g as O, j as V, h as k, k as w, d as U, b as B, i as K, c as z, n as v, f as P } from "../chunks/validators-DMHTpf7a.js";
|
|
3
|
+
import { D as q } from "../chunks/token-types-DBbZVQsm.js";
|
|
4
|
+
import { B as Q, a as j, p as W, r as J } from "../chunks/bookmark-state-CXw7lZ50.js";
|
|
5
|
+
import { r as H, a as Z } from "../chunks/pivot-result-identity-DJhXXcns.js";
|
|
6
|
+
import { D as ee } from "../chunks/report-runtime-context-Dq8XyODK.js";
|
|
7
7
|
const e = [
|
|
8
8
|
"concatenate",
|
|
9
9
|
"conditional-category",
|
|
@@ -37,52 +37,52 @@ const e = [
|
|
|
37
37
|
"is-blank"
|
|
38
38
|
];
|
|
39
39
|
export {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
Q as BOOKMARK_STATE_VERSION,
|
|
41
|
+
j as BOOKMARK_VISIBILITIES,
|
|
42
|
+
y as CALCULATED_FIELD_ENTITY_MARKER,
|
|
43
43
|
e as CALCULATED_FIELD_TEMPLATE_IDS,
|
|
44
44
|
s as CONTROL_CARD_DEFAULT_VALUE,
|
|
45
|
-
|
|
45
|
+
M as DATE_FORMAT_VALUES,
|
|
46
46
|
ee as DEFAULT_CALENDAR_CONTEXT,
|
|
47
|
-
|
|
47
|
+
q as DEFAULT_SEMANTIC_DOMAIN_ACCESS,
|
|
48
48
|
r as EMPTY_SELECTION,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
49
|
+
g as LEGACY_CALCULATED_FIELD_ENTITY_MARKER,
|
|
50
|
+
h as PivotMarkerEnum,
|
|
51
|
+
l as VIEWER_LIMITS,
|
|
52
|
+
o as VIEWER_TABLE_SETTINGS_VERSION,
|
|
53
|
+
i as collectDatasetNamesFromExplorerField,
|
|
54
|
+
n as collectDatasetNamesFromFilterGroup,
|
|
55
|
+
d as collectExecutionDatasetNamesFromExplorerField,
|
|
56
|
+
m as collectPreferredDatasetNamesFromExplorerField,
|
|
57
|
+
u as collectQualifiedDatasetNamesFromExplorerField,
|
|
58
|
+
E as datasetRefFromSource,
|
|
59
|
+
c as dependencyDisplayIdentity,
|
|
60
|
+
x as getCalculatedFieldComputeStage,
|
|
61
|
+
p as getCustomizableTableCardIds,
|
|
62
|
+
O as getFieldRuntimeColumnName,
|
|
63
|
+
C as getSortableTableCardIds,
|
|
64
|
+
V as hasCalculatedFieldMarker,
|
|
65
|
+
k as hasCalculatedFormulaInputs,
|
|
66
|
+
w as hasSyntheticCalculatedFieldOwner,
|
|
67
|
+
T as humanizeDatasetName,
|
|
68
|
+
U as inspectCalculatedField,
|
|
69
|
+
B as isCalculatedDimension,
|
|
70
|
+
K as isCalculatedMetric,
|
|
71
|
+
z as isDerivedField,
|
|
72
|
+
D as isEmptyViewerTableSettings,
|
|
73
|
+
A as isTableCardCustomizable,
|
|
74
|
+
I as isTableCardSortable,
|
|
75
|
+
_ as measureJsonBytes,
|
|
76
|
+
v as normalizeCalculatedFieldRepresentation,
|
|
77
|
+
F as normalizeViewerTableSettings,
|
|
78
|
+
W as parseBookmarkState,
|
|
79
|
+
S as parseTableColumnId,
|
|
80
|
+
b as parseViewerTableSettings,
|
|
81
|
+
L as parseViewerTableSettingsMap,
|
|
82
|
+
J as readBookmarkState,
|
|
83
|
+
f as resolveFieldDatasetDependencies,
|
|
84
84
|
H as resolveQueryColumnKeyMapEntry,
|
|
85
85
|
Z as resolveUniqueQueryColumnKeyMapEntry,
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
P as shouldDropInheritedCalculationAggregate,
|
|
87
|
+
N as toTableColumnId
|
|
88
88
|
};
|