react-semaphor 0.1.575 → 0.1.577
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/chunks/{assistant-chat-D95DtCj7.js → assistant-chat-B_tmsxEK.js} +2 -2
- package/dist/chunks/attribution-BvoKvhcj.js +32 -0
- package/dist/chunks/{card-filter-builder-B3bEPylu.js → card-filter-builder-CwnMUZU2.js} +1 -1
- package/dist/chunks/{dashboard-DdALjmc3.js → dashboard-BcIIBCTP.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-D2vevpyl.js → dashboard-briefing-launcher-BBpECqg2.js} +2 -2
- package/dist/chunks/{dashboard-controls-DxrsGK9A.js → dashboard-controls-CONzvjmO.js} +4 -4
- package/dist/chunks/{dashboard-json-rwds0HjB.js → dashboard-json-BF2chEVd.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-BCDz5HOb.js → edit-dashboard-visual-Bf-RcbuD.js} +596 -595
- package/dist/chunks/{report-preferences-dialog-D9nBczmk.js → report-preferences-dialog-RN4g9PEN.js} +5 -5
- package/dist/chunks/{semaphor-ready-indicator-BdOAS4Uw.js → semaphor-ready-indicator-DtivanBy.js} +18207 -18146
- package/dist/chunks/{shelf-drop-preview-context-B1goDUYE.js → shelf-drop-preview-context-BTjYxbHC.js} +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.js +184 -183
- package/dist/surfboard/index.js +1 -1
- package/dist/types/shared/usage-events/attribution.d.ts +2 -2
- package/dist/types/shared/usage-events/catalog.d.ts +5 -3
- package/dist/types/shared/usage-events/details.d.ts +69 -0
- package/dist/types/shared/usage-events/envelope.d.ts +4 -4
- package/dist/usage-events/index.js +157 -120
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as Ne, jsx as N, Fragment as ft } from "react/jsx-runtime";
|
|
2
2
|
import * as T from "react";
|
|
3
3
|
import zn, { forwardRef as Fe, createElement as xe, useContext as rt, createContext as xt, useRef as O, useLayoutEffect as Pn, useImperativeHandle as zt, useEffect as ne, useState as de, useCallback as G, useMemo as W, memo as wn, Suspense as Cn, useSyncExternalStore as En } from "react";
|
|
4
|
-
import { aW as In, af as ie, aX as Pt, aY as Rn, ag as wt, aZ as ot, a_ as Ct, a$ as Et, b0 as Dn, b1 as An, b2 as Nn, b3 as Mn, u as Re, b4 as Ln, b5 as _n, b6 as kn, b7 as Tn, b8 as Hn, b9 as Vn, ba as $n, bb as Fn, bc as Kn } from "./semaphor-ready-indicator-
|
|
4
|
+
import { aW as In, af as ie, aX as Pt, aY as Rn, ag as wt, aZ as ot, a_ as Ct, a$ as Et, b0 as Dn, b1 as An, b2 as Nn, b3 as Mn, u as Re, b4 as Ln, b5 as _n, b6 as kn, b7 as Tn, b8 as Hn, b9 as Vn, ba as $n, bb as Fn, bc as Kn } from "./semaphor-ready-indicator-DtivanBy.js";
|
|
5
5
|
import { C as It, G as Rt, H as ze, J as me, K as Dt, M as Bn, O as qn, Q as Pe, U as On, V as At, W as Gn, Y as Un } from "./style-sheet-parts-C7qGZuH1.js";
|
|
6
6
|
import { R as Wn, S as Nt, U as Mt, V as Je, W as Te, X as Yn, Y as Xn, Z as jn, T as Qn } from "./resolve-dashboard-input-context-DBFuNhZo.js";
|
|
7
7
|
import { c as we } from "./pickers-DkqmtnTL.js";
|
package/dist/dashboard/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { D as U } from "./chunks/dashboard-
|
|
2
|
-
import { C as
|
|
3
|
-
import { C as V, b as z, c as H, d as W, e as G, f as $ } from "./chunks/report-preferences-dialog-
|
|
4
|
-
import { g as
|
|
1
|
+
import { D as U } from "./chunks/dashboard-BcIIBCTP.js";
|
|
2
|
+
import { C as ua, E as da } from "./chunks/bookmark-state-BEl_G9vr.js";
|
|
3
|
+
import { C as V, b as z, c as H, d as W, e as G, f as $ } from "./chunks/report-preferences-dialog-RN4g9PEN.js";
|
|
4
|
+
import { g as fa, A as ha, h as ma, a as ga, R as Ca, D as ba } from "./chunks/report-preferences-dialog-RN4g9PEN.js";
|
|
5
5
|
import { jsx as r, jsxs as b } from "react/jsx-runtime";
|
|
6
|
-
import { E as R, F as q, S as K, a as Q, U as Y, c as J, A as X, C as Z, u as I, f as ee, d as ae, V as se, e as P, g as N, s as te, R as re } from "./chunks/semaphor-ready-indicator-
|
|
7
|
-
import { a2 as
|
|
6
|
+
import { E as R, F as q, S as K, a as Q, U as Y, c as J, A as X, C as Z, u as I, f as ee, d as ae, V as se, e as P, g as N, s as te, R as re } from "./chunks/semaphor-ready-indicator-DtivanBy.js";
|
|
7
|
+
import { a2 as Da, aI as va, aJ as Ea, aK as Aa, B as Sa, ah as Ta, Z as wa, X as xa, W as Fa, aS as Ba, t as _a, r as Ra, M as Pa, a6 as Na, j as La, m as Ia, m as Oa, n as ja, Y as Ma, w as ka, x as Ua, T as Va, v as za, aD as Ha, aF as Wa, aG as Ga, aE as $a, au as qa, ax as Ka, aR as Qa, al as Ya, aC as Ja, ae as Xa, aM as Za, aN as es, ap as as, ay as ss, Q as ts, P as rs, N as os, O as ns, y as is, aV as ls, ak as cs, az as us, aA as ds, at as ps, aw as fs, aQ as hs, aP as ms, aO as gs, aU as Cs, aT as bs, av as ys, aj as Ds, ai as vs, a5 as Es, an as As, aB as Ss, ar as Ts, ao as ws, aq as xs, as as Fs, a7 as Bs, a8 as _s, a9 as Rs, z as Ps, am as Ns, a3 as Ls, a1 as Is, L as Os, aL as js, q as Ms, $ as ks, aa as Us, ac as Vs, ab as zs, ad as Hs, p as Ws, K as Gs, i as $s, _ as qs, a0 as Ks, k as Qs, ag as Ys, a4 as Js, af as Xs, h as Zs, G as et, o as at, l as st, H as tt, I as rt, J as ot, aH as nt } from "./chunks/semaphor-ready-indicator-DtivanBy.js";
|
|
8
8
|
import * as T from "react";
|
|
9
9
|
import O, { useMemo as w, useEffect as j } from "react";
|
|
10
|
-
import { C as
|
|
10
|
+
import { C as lt, D as ct, L as ut, d as dt, g as pt, e as ft, h as ht, f as mt, c as gt, a as Ct, i as bt, b as yt, n as Dt, s as vt } from "./chunks/validators-B8fpdinG.js";
|
|
11
11
|
import { c as L } from "./chunks/rendered-file-D8xEuVVx.js";
|
|
12
12
|
import "zod";
|
|
13
13
|
import "./chunks/temporal-input-presentation-CqbJjIuu.js";
|
|
@@ -15,26 +15,27 @@ import "./chunks/matrix-operation-contract-DCVinw1o.js";
|
|
|
15
15
|
import "./chunks/analytics-base-schemas-BaIQrEzX.js";
|
|
16
16
|
import "./value-format-preferences/index.js";
|
|
17
17
|
import { D as oe } from "./chunks/index-CV_Kzou0.js";
|
|
18
|
-
import { D as
|
|
19
|
-
import { d as
|
|
20
|
-
import { n as
|
|
18
|
+
import { D as At } from "./chunks/token-types-iKMplaBL.js";
|
|
19
|
+
import { d as Tt, A as wt, b as xt, m as Ft, e as Bt, D as _t, g as Rt, h as Pt, j as Nt, f as Lt, S as It, U as Ot, l as jt, a as Mt, V as kt, W as Ut, i as Vt, u as zt, k as Ht, c as Wt } from "./chunks/dashboard-briefing-launcher-BBpECqg2.js";
|
|
20
|
+
import { n as $t, s as qt, u as Kt } from "./chunks/normalize-dashboard-for-dirty-check-XKgH3GFX.js";
|
|
21
21
|
import { createRoot as ne } from "react-dom/client";
|
|
22
|
-
import "./chunks/shelf-drop-preview-context-
|
|
22
|
+
import "./chunks/shelf-drop-preview-context-BTjYxbHC.js";
|
|
23
23
|
import { c as B } from "./chunks/pickers-DkqmtnTL.js";
|
|
24
|
-
import { D as
|
|
24
|
+
import { D as Yt } from "./chunks/report-runtime-context-BhPzLTbS.js";
|
|
25
25
|
import { e as ie, f as le, B as ce, F as ue, h as de, j as pe } from "./chunks/style-sheet-parts-C7qGZuH1.js";
|
|
26
|
-
import { B as
|
|
27
|
-
import { r as
|
|
26
|
+
import { B as Xt, v as Zt, D as er, C as ar, G as sr, H as tr, A as rr, z as or, E as nr, y as ir, x as lr, w as cr, I as ur, F as dr } from "./chunks/resolve-dashboard-input-context-DBFuNhZo.js";
|
|
27
|
+
import { r as fr, a as hr } from "./chunks/pivot-result-identity-B89X5xjb.js";
|
|
28
28
|
import { k as fe } from "./chunks/stored-dashboard-rpLzf4mk.js";
|
|
29
29
|
import "./chunks/schema-C9NPiIru.js";
|
|
30
30
|
import "./chunks/context-R31TSL5V.js";
|
|
31
|
+
import "./chunks/attribution-BvoKvhcj.js";
|
|
31
32
|
import "react-dom";
|
|
32
33
|
import "./chunks/index-8BxDk8EP.js";
|
|
33
34
|
import "./chunks/appearance-context-BwBp25ZG.js";
|
|
34
|
-
import { I as he } from "./chunks/card-filter-builder-
|
|
35
|
+
import { I as he } from "./chunks/card-filter-builder-CwnMUZU2.js";
|
|
35
36
|
import "./chunks/appearance-runtime-provider-BRHYELkC.js";
|
|
36
37
|
const me = { cssWidth: 960, cssHeight: 540 };
|
|
37
|
-
function
|
|
38
|
+
function ta(e) {
|
|
38
39
|
const { displayPreferences: a, cardId: s, ...t } = e, l = {
|
|
39
40
|
...t,
|
|
40
41
|
id: e.dashboardId
|
|
@@ -273,15 +274,15 @@ const Re = {
|
|
|
273
274
|
selectedSheetId: "string",
|
|
274
275
|
eventHandlers: "json",
|
|
275
276
|
preferences: "json"
|
|
276
|
-
},
|
|
277
|
+
}, ra = _e(U, {
|
|
277
278
|
props: Re
|
|
278
279
|
});
|
|
279
|
-
function
|
|
280
|
+
function oa(e, a, s, t) {
|
|
280
281
|
j(() => {
|
|
281
282
|
e && !s && a && t(fe(te(I.getState()).dashboard));
|
|
282
283
|
}, [e, s, a, t]);
|
|
283
284
|
}
|
|
284
|
-
function
|
|
285
|
+
function na({
|
|
285
286
|
name: e,
|
|
286
287
|
items: a,
|
|
287
288
|
value: s,
|
|
@@ -373,7 +374,7 @@ function oa({
|
|
|
373
374
|
)
|
|
374
375
|
] });
|
|
375
376
|
}
|
|
376
|
-
function
|
|
377
|
+
function ia(e, a) {
|
|
377
378
|
j(() => (e && a && (window.__SEMAPHOR_PRINT_STATE__ = {
|
|
378
379
|
...a
|
|
379
380
|
}), () => {
|
|
@@ -381,173 +382,173 @@ function na(e, a) {
|
|
|
381
382
|
}), [e, a]);
|
|
382
383
|
}
|
|
383
384
|
export {
|
|
384
|
-
|
|
385
|
-
|
|
385
|
+
Tt as ActivityBell,
|
|
386
|
+
Da as ActivityProvider,
|
|
386
387
|
X as ActivityScope,
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
388
|
+
wt as AdvancedModeToggle,
|
|
389
|
+
xt as ArrangeLayoutButton,
|
|
390
|
+
fa as AssistantPanel,
|
|
391
|
+
ha as AssistantProvider,
|
|
392
|
+
ma as AssistantToolbarButton,
|
|
393
|
+
va as BriefingAuthor,
|
|
394
|
+
Ea as BriefingAuthorDialog,
|
|
395
|
+
Aa as BriefingUiCapabilitiesBoundary,
|
|
396
|
+
Sa as BriefingUiCapabilitiesProvider,
|
|
397
|
+
Ta as BriefingsApiError,
|
|
398
|
+
lt as CALCULATED_FIELD_ENTITY_MARKER,
|
|
399
|
+
ua as CONTROL_CARD_DEFAULT_VALUE,
|
|
400
|
+
wa as CardSummary,
|
|
401
|
+
na as Combobox,
|
|
402
|
+
ct as DATE_FORMAT_VALUES,
|
|
403
|
+
Yt as DEFAULT_CALENDAR_CONTEXT,
|
|
404
|
+
At as DEFAULT_SEMANTIC_DOMAIN_ACCESS,
|
|
404
405
|
U as Dashboard,
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
406
|
+
Ft as DashboardBriefingLauncher,
|
|
407
|
+
Bt as DashboardControlsSettings,
|
|
408
|
+
xa as DashboardCreateDialog,
|
|
409
|
+
Fa as DashboardExportDialog,
|
|
410
|
+
_t as DashboardFavoriteToggle,
|
|
411
|
+
Rt as DashboardFilterControlsButton,
|
|
412
|
+
Pt as DashboardFilterControlsLauncher,
|
|
413
|
+
ra as DashboardWC,
|
|
414
|
+
Nt as DataVariablesListHost,
|
|
415
|
+
ga as DisplayFormatPreferencesFields,
|
|
416
|
+
Lt as DocumentControlsSettings,
|
|
417
|
+
da as EMPTY_SELECTION,
|
|
418
|
+
Ba as ExportError,
|
|
419
|
+
_a as FAVORITES_READ_ONLY_MESSAGE,
|
|
420
|
+
Ra as FavoriteStarButton,
|
|
421
|
+
ut as LEGACY_CALCULATED_FIELD_ENTITY_MARKER,
|
|
422
|
+
Pa as MatrixCardView,
|
|
423
|
+
Na as PROPOSAL_REFUSALS,
|
|
424
|
+
Ca as ReportPreferencesDialog,
|
|
425
|
+
La as ResourceType,
|
|
426
|
+
It as ScreenSizePreviewButton,
|
|
426
427
|
K as SemaphorContextProvider,
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
428
|
+
Ia as SemaphorDataProvider,
|
|
429
|
+
Oa as SemaphorQueryClient,
|
|
430
|
+
ja as ShareDialog,
|
|
431
|
+
Ma as SummaryCard,
|
|
432
|
+
ba as Surfboard,
|
|
433
|
+
ka as TOOLBAR_LG_MIN,
|
|
434
|
+
Ua as TOOLBAR_MD_MIN,
|
|
435
|
+
Va as ToolbarOverflowAnchorSlot,
|
|
436
|
+
za as ToolbarProvider,
|
|
437
|
+
Ot as UnsavedChangesAlert,
|
|
438
|
+
jt as VariableEditorHost,
|
|
439
|
+
ta as Visual,
|
|
440
|
+
Mt as VisualEditingControls,
|
|
441
|
+
kt as VisualsLibraryDialog,
|
|
442
|
+
Ut as WatchDashboardButton,
|
|
443
|
+
Ha as applyBriefingFormPatch,
|
|
444
|
+
Wa as briefingFormDraftToCreateRequest,
|
|
445
|
+
Ga as briefingFormDraftToUpdateRequest,
|
|
446
|
+
$a as briefingToFormDraft,
|
|
447
|
+
qa as cancelBriefingPreviewRun,
|
|
448
|
+
Ka as cancelBriefingRun,
|
|
449
|
+
Qa as cancelExport,
|
|
449
450
|
fe as cloneDeep,
|
|
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
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
451
|
+
Ya as createBriefing,
|
|
452
|
+
Ja as createBriefingFormDraft,
|
|
453
|
+
Xa as createEmptyKpiConfig,
|
|
454
|
+
Za as createExport,
|
|
455
|
+
es as createMatrixDirectExport,
|
|
456
|
+
Xt as createSqlGenConfig,
|
|
457
|
+
as as deleteBriefing,
|
|
458
|
+
ss as deleteBriefingRun,
|
|
459
|
+
ts as downloadDocumentPdf,
|
|
460
|
+
rs as downloadPdf,
|
|
461
|
+
os as emitDashboardLoad,
|
|
462
|
+
ns as emitDashboardUnload,
|
|
463
|
+
is as fitsToolbar,
|
|
464
|
+
Zt as fmt,
|
|
465
|
+
ls as formatFileSize,
|
|
466
|
+
cs as getBriefing,
|
|
467
|
+
us as getBriefingArtifact,
|
|
468
|
+
ds as getBriefingEvidence,
|
|
469
|
+
ps as getBriefingPreviewRun,
|
|
470
|
+
fs as getBriefingRun,
|
|
471
|
+
dt as getCalculatedFieldComputeStage,
|
|
472
|
+
er as getColumnDataType,
|
|
473
|
+
hs as getDownloadUrl,
|
|
474
|
+
ms as getExportStatus,
|
|
475
|
+
gs as getExports,
|
|
476
|
+
pt as getFieldRuntimeColumnName,
|
|
477
|
+
ar as getFilterValueType,
|
|
478
|
+
sr as getFormattedTableNameForQuery,
|
|
479
|
+
tr as getQualifiedTableName,
|
|
480
|
+
rr as getSql,
|
|
481
|
+
ft as hasCalculatedFieldMarker,
|
|
482
|
+
ht as hasCalculatedFormulaInputs,
|
|
483
|
+
mt as hasSyntheticCalculatedFieldOwner,
|
|
484
|
+
gt as inspectCalculatedField,
|
|
485
|
+
Vt as invalidateToken,
|
|
486
|
+
or as isBooleanDataType,
|
|
487
|
+
Ct as isCalculatedDimension,
|
|
488
|
+
bt as isCalculatedMetric,
|
|
489
|
+
nr as isColumnInSqlGen,
|
|
490
|
+
ir as isDateDataType,
|
|
491
|
+
yt as isDerivedField,
|
|
492
|
+
Cs as isExportComplete,
|
|
493
|
+
bs as isExportInProgress,
|
|
494
|
+
lr as isNumberDataType,
|
|
495
|
+
cr as isTextDataType,
|
|
496
|
+
ys as listBriefingRuns,
|
|
497
|
+
Ds as listBriefingTenantSummaries,
|
|
498
|
+
vs as listBriefings,
|
|
499
|
+
Es as mergeSemanticExecutionPayloadIntoTarget,
|
|
500
|
+
Dt as normalizeCalculatedFieldRepresentation,
|
|
501
|
+
$t as normalizeDashboardForDirtyCheck,
|
|
502
|
+
As as pauseBriefing,
|
|
503
|
+
Ss as polishBriefingText,
|
|
504
|
+
Ts as previewBriefingPlan,
|
|
505
|
+
ur as resolveDataType,
|
|
506
|
+
dr as resolveDatamodelName,
|
|
507
|
+
fr as resolveQueryColumnKeyMapEntry,
|
|
508
|
+
hr as resolveUniqueQueryColumnKeyMapEntry,
|
|
509
|
+
ws as resumeBriefing,
|
|
510
|
+
xs as runBriefingNow,
|
|
511
|
+
Fs as runBriefingPreview,
|
|
511
512
|
te as selectEditSessionStart,
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
513
|
+
Bs as selectHasEditingToolbar,
|
|
514
|
+
_s as selectProposalRecordState,
|
|
515
|
+
Rs as selectProposalUndoable,
|
|
516
|
+
qt as serializeDashboardForDirtyCheck,
|
|
517
|
+
vt as shouldDropInheritedCalculationAggregate,
|
|
518
|
+
Ps as toolbarWidthFor,
|
|
519
|
+
Ns as updateBriefing,
|
|
520
|
+
Ls as useActivity,
|
|
521
|
+
Is as useAddNewFrame,
|
|
522
|
+
Os as useAssistant,
|
|
523
|
+
js as useBriefingUiCapabilities,
|
|
524
|
+
Ms as useCard,
|
|
525
|
+
ks as useCardSummary,
|
|
526
|
+
Us as useCurrentActiveCard,
|
|
527
|
+
Vs as useCurrentCardConfig,
|
|
528
|
+
zs as useCurrentSheetActiveCards,
|
|
529
|
+
Hs as useDashboardActions,
|
|
530
|
+
Ws as useDashboardById,
|
|
531
|
+
Gs as useDashboardFavorite,
|
|
532
|
+
$s as useDashboardQuery,
|
|
532
533
|
I as useDashboardStore,
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
534
|
+
qs as useDashboardSummary,
|
|
535
|
+
zt as useDashboardUnsavedChangesCheck,
|
|
536
|
+
Ks as useDataColumns,
|
|
537
|
+
Ht as useDataVariablesMenuEntry,
|
|
538
|
+
Qs as useDateFilterHook,
|
|
539
|
+
Kt as useDebouncedDirtyCheck,
|
|
540
|
+
Wt as useDefaultDashboardToggle,
|
|
541
|
+
Ys as useEditorActions,
|
|
542
|
+
Js as useEditorAside,
|
|
543
|
+
Xs as useEditorStore,
|
|
544
|
+
ia as useExposePrintState,
|
|
545
|
+
Zs as useManagementStore,
|
|
546
|
+
et as useMeasuredToolbarWidth,
|
|
547
|
+
oa as usePristineSnapshotInitializer,
|
|
548
|
+
at as useResourceManagement,
|
|
549
|
+
st as useTextFilterHook,
|
|
550
|
+
tt as useToolbarItem,
|
|
551
|
+
rt as useToolbarOverflowItems,
|
|
552
|
+
ot as useToolbarWidth,
|
|
553
|
+
nt as validateBriefingFormDraft
|
|
553
554
|
};
|
package/dist/surfboard/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a, R as s, D as o } from "../chunks/report-preferences-dialog-
|
|
1
|
+
import { a, R as s, D as o } from "../chunks/report-preferences-dialog-RN4g9PEN.js";
|
|
2
2
|
import { C as f, E as D } from "../chunks/bookmark-state-BEl_G9vr.js";
|
|
3
3
|
export {
|
|
4
4
|
f as CONTROL_CARD_DEFAULT_VALUE,
|
|
@@ -34,13 +34,13 @@ export declare const usageAttributionFieldsSchema: z.ZodObject<{
|
|
|
34
34
|
sheetId?: string | undefined;
|
|
35
35
|
sheetTitle?: string | undefined;
|
|
36
36
|
trigger?: "sort" | "page" | "refresh" | "drill" | "initial_load" | "input_change" | "click_filter" | undefined;
|
|
37
|
-
dashboardTitle?: string | undefined;
|
|
38
37
|
operationId?: string | undefined;
|
|
38
|
+
dashboardTitle?: string | undefined;
|
|
39
39
|
}, {
|
|
40
40
|
dashboardId?: unknown;
|
|
41
41
|
sheetId?: unknown;
|
|
42
42
|
sheetTitle?: unknown;
|
|
43
43
|
trigger?: unknown;
|
|
44
|
-
dashboardTitle?: unknown;
|
|
45
44
|
operationId?: unknown;
|
|
45
|
+
dashboardTitle?: unknown;
|
|
46
46
|
}>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { DashboardOpenedDetails, QueryExecutedDetails, TokenIssuedDetails, ToolCalledDetails } from './details.js';
|
|
2
|
+
import { AutomationRunCompletedDetails, DashboardOpenedDetails, ExportCompletedDetails, QueryExecutedDetails, TokenIssuedDetails, ToolCalledDetails } from './details.js';
|
|
3
3
|
/**
|
|
4
4
|
* The usage events catalog (usage-events TECH-SPEC §2.1): every event type,
|
|
5
5
|
* its category, version, producer and details schema, and the vocabulary the
|
|
6
6
|
* envelope and query tags share. A type lands with its producer: Phase 1 adds
|
|
7
|
-
* `token_issued`, Phase 2 the server events
|
|
7
|
+
* `token_issued`, Phase 2 the server events, Phase 6 exports and automation runs.
|
|
8
8
|
*/
|
|
9
|
-
export declare const USAGE_EVENT_TYPES: readonly ["token_issued", "dashboard_opened", "query_executed", "tool_called"];
|
|
9
|
+
export declare const USAGE_EVENT_TYPES: readonly ["token_issued", "dashboard_opened", "query_executed", "tool_called", "export_completed", "automation_run_completed"];
|
|
10
10
|
export type UsageEventType = (typeof USAGE_EVENT_TYPES)[number];
|
|
11
11
|
export declare const USAGE_EVENT_CATEGORIES: readonly ["usage", "runtime", "agent", "delivery"];
|
|
12
12
|
export type UsageEventCategory = (typeof USAGE_EVENT_CATEGORIES)[number];
|
|
@@ -23,6 +23,8 @@ export type UsageEventDetailsByType = {
|
|
|
23
23
|
dashboard_opened: DashboardOpenedDetails;
|
|
24
24
|
query_executed: QueryExecutedDetails;
|
|
25
25
|
tool_called: ToolCalledDetails;
|
|
26
|
+
export_completed: ExportCompletedDetails;
|
|
27
|
+
automation_run_completed: AutomationRunCompletedDetails;
|
|
26
28
|
};
|
|
27
29
|
export type UsageEventCatalogEntry<T extends UsageEventType> = {
|
|
28
30
|
category: UsageEventCategory;
|
|
@@ -137,6 +137,8 @@ export declare const queryExecutedDetailsSchema: z.ZodObject<{
|
|
|
137
137
|
trigger: z.ZodOptional<z.ZodEnum<["initial_load", "input_change", "click_filter", "drill", "page", "sort", "refresh"]>>;
|
|
138
138
|
card_title: z.ZodOptional<z.ZodString>;
|
|
139
139
|
card_type: z.ZodOptional<z.ZodString>;
|
|
140
|
+
dashboard_title: z.ZodOptional<z.ZodString>;
|
|
141
|
+
sheet_title: z.ZodOptional<z.ZodString>;
|
|
140
142
|
project_name: z.ZodOptional<z.ZodString>;
|
|
141
143
|
connection_name: z.ZodOptional<z.ZodString>;
|
|
142
144
|
connection_type: z.ZodOptional<z.ZodString>;
|
|
@@ -164,11 +166,13 @@ export declare const queryExecutedDetailsSchema: z.ZodObject<{
|
|
|
164
166
|
rows?: number | undefined;
|
|
165
167
|
dataset?: string | undefined;
|
|
166
168
|
trigger?: "sort" | "page" | "refresh" | "drill" | "initial_load" | "input_change" | "click_filter" | undefined;
|
|
169
|
+
dashboard_title?: string | undefined;
|
|
167
170
|
project_name?: string | undefined;
|
|
168
171
|
parent_query_run_id?: string | undefined;
|
|
169
172
|
query_kind?: "card" | "sql" | "export" | "matrix_window" | "filter_options" | "control_options" | undefined;
|
|
170
173
|
card_title?: string | undefined;
|
|
171
174
|
card_type?: string | undefined;
|
|
175
|
+
sheet_title?: string | undefined;
|
|
172
176
|
connection_name?: string | undefined;
|
|
173
177
|
connection_type?: string | undefined;
|
|
174
178
|
row_limit_exceeded?: boolean | undefined;
|
|
@@ -191,11 +195,13 @@ export declare const queryExecutedDetailsSchema: z.ZodObject<{
|
|
|
191
195
|
rows?: number | undefined;
|
|
192
196
|
dataset?: string | undefined;
|
|
193
197
|
trigger?: "sort" | "page" | "refresh" | "drill" | "initial_load" | "input_change" | "click_filter" | undefined;
|
|
198
|
+
dashboard_title?: string | undefined;
|
|
194
199
|
project_name?: string | undefined;
|
|
195
200
|
parent_query_run_id?: string | undefined;
|
|
196
201
|
query_kind?: "card" | "sql" | "export" | "matrix_window" | "filter_options" | "control_options" | undefined;
|
|
197
202
|
card_title?: string | undefined;
|
|
198
203
|
card_type?: string | undefined;
|
|
204
|
+
sheet_title?: string | undefined;
|
|
199
205
|
connection_name?: string | undefined;
|
|
200
206
|
connection_type?: string | undefined;
|
|
201
207
|
row_limit_exceeded?: boolean | undefined;
|
|
@@ -241,3 +247,66 @@ export declare const toolCalledDetailsSchema: z.ZodObject<{
|
|
|
241
247
|
response_bytes?: number | undefined;
|
|
242
248
|
}>;
|
|
243
249
|
export type ToolCalledDetails = z.infer<typeof toolCalledDetailsSchema>;
|
|
250
|
+
/** How an export was made (Phase 6). */
|
|
251
|
+
export declare const EXPORT_MECHANISMS: readonly ["job", "matrix_direct", "rendered"];
|
|
252
|
+
export declare const EXPORT_FORMATS: readonly ["csv", "xlsx", "pdf", "png"];
|
|
253
|
+
export declare const EXPORT_SCOPES: readonly ["visual", "card", "dashboard"];
|
|
254
|
+
/** Where a failed export stopped: refused before a job, its deadline, any other job failure, the renderer. */
|
|
255
|
+
export declare const EXPORT_STAGES: readonly ["create", "acquire", "deadline", "render"];
|
|
256
|
+
export declare const exportCompletedDetailsSchema: z.ZodObject<{
|
|
257
|
+
export_id: z.ZodOptional<z.ZodString>;
|
|
258
|
+
mechanism: z.ZodEnum<["job", "matrix_direct", "rendered"]>;
|
|
259
|
+
format: z.ZodEnum<["csv", "xlsx", "pdf", "png"]>;
|
|
260
|
+
scope: z.ZodOptional<z.ZodEnum<["visual", "card", "dashboard"]>>;
|
|
261
|
+
rows: z.ZodOptional<z.ZodNumber>;
|
|
262
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
263
|
+
chunks: z.ZodOptional<z.ZodNumber>;
|
|
264
|
+
stage: z.ZodOptional<z.ZodEnum<["create", "acquire", "deadline", "render"]>>;
|
|
265
|
+
}, "strict", z.ZodTypeAny, {
|
|
266
|
+
format: "csv" | "xlsx" | "pdf" | "png";
|
|
267
|
+
mechanism: "rendered" | "job" | "matrix_direct";
|
|
268
|
+
scope?: "dashboard" | "card" | "visual" | undefined;
|
|
269
|
+
rows?: number | undefined;
|
|
270
|
+
chunks?: number | undefined;
|
|
271
|
+
bytes?: number | undefined;
|
|
272
|
+
stage?: "create" | "acquire" | "deadline" | "render" | undefined;
|
|
273
|
+
export_id?: string | undefined;
|
|
274
|
+
}, {
|
|
275
|
+
format: "csv" | "xlsx" | "pdf" | "png";
|
|
276
|
+
mechanism: "rendered" | "job" | "matrix_direct";
|
|
277
|
+
scope?: "dashboard" | "card" | "visual" | undefined;
|
|
278
|
+
rows?: number | undefined;
|
|
279
|
+
chunks?: number | undefined;
|
|
280
|
+
bytes?: number | undefined;
|
|
281
|
+
stage?: "create" | "acquire" | "deadline" | "render" | undefined;
|
|
282
|
+
export_id?: string | undefined;
|
|
283
|
+
}>;
|
|
284
|
+
export type ExportCompletedDetails = z.infer<typeof exportCompletedDetailsSchema>;
|
|
285
|
+
export declare const AUTOMATION_RUN_KINDS: readonly ["export", "briefing", "cache_refresh"];
|
|
286
|
+
export declare const AUTOMATION_TRIGGER_SOURCES: readonly ["scheduled", "manual", "api"];
|
|
287
|
+
export declare const automationRunCompletedDetailsSchema: z.ZodObject<{
|
|
288
|
+
run_id: z.ZodString;
|
|
289
|
+
rule_id: z.ZodString;
|
|
290
|
+
rule_name: z.ZodOptional<z.ZodString>;
|
|
291
|
+
kind: z.ZodEnum<["export", "briefing", "cache_refresh"]>;
|
|
292
|
+
trigger_source: z.ZodOptional<z.ZodEnum<["scheduled", "manual", "api"]>>;
|
|
293
|
+
attempt: z.ZodOptional<z.ZodNumber>;
|
|
294
|
+
scheduled_for: z.ZodOptional<z.ZodString>;
|
|
295
|
+
}, "strict", z.ZodTypeAny, {
|
|
296
|
+
kind: "export" | "briefing" | "cache_refresh";
|
|
297
|
+
run_id: string;
|
|
298
|
+
rule_id: string;
|
|
299
|
+
attempt?: number | undefined;
|
|
300
|
+
rule_name?: string | undefined;
|
|
301
|
+
trigger_source?: "api" | "manual" | "scheduled" | undefined;
|
|
302
|
+
scheduled_for?: string | undefined;
|
|
303
|
+
}, {
|
|
304
|
+
kind: "export" | "briefing" | "cache_refresh";
|
|
305
|
+
run_id: string;
|
|
306
|
+
rule_id: string;
|
|
307
|
+
attempt?: number | undefined;
|
|
308
|
+
rule_name?: string | undefined;
|
|
309
|
+
trigger_source?: "api" | "manual" | "scheduled" | undefined;
|
|
310
|
+
scheduled_for?: string | undefined;
|
|
311
|
+
}>;
|
|
312
|
+
export type AutomationRunCompletedDetails = z.infer<typeof automationRunCompletedDetailsSchema>;
|
|
@@ -17,7 +17,7 @@ export type UsageEventEnvelope = {
|
|
|
17
17
|
producer: UsageProducer;
|
|
18
18
|
/** The producer's package version. */
|
|
19
19
|
release: string;
|
|
20
|
-
/** Null
|
|
20
|
+
/** Null when no org is known: a refused token request, or a project with no organization of its own or through its creator (AL-D42). Stored as `_none`. */
|
|
21
21
|
org_id: string | null;
|
|
22
22
|
project_id: string | null;
|
|
23
23
|
tenant_id: string | null;
|
|
@@ -52,7 +52,7 @@ export type UsageEvent<T extends UsageEventType = UsageEventType> = {
|
|
|
52
52
|
export declare const USAGE_EVENT_TEXT_MAX_BYTES: number;
|
|
53
53
|
export declare const usageEventEnvelopeSchema: z.ZodObject<{
|
|
54
54
|
event_id: z.ZodString;
|
|
55
|
-
event_type: z.ZodEnum<["token_issued", "dashboard_opened", "query_executed", "tool_called"]>;
|
|
55
|
+
event_type: z.ZodEnum<["token_issued", "dashboard_opened", "query_executed", "tool_called", "export_completed", "automation_run_completed"]>;
|
|
56
56
|
event_version: z.ZodNumber;
|
|
57
57
|
category: z.ZodEnum<["usage", "runtime", "agent", "delivery"]>;
|
|
58
58
|
occurred_at: z.ZodString;
|
|
@@ -101,7 +101,7 @@ export declare const usageEventEnvelopeSchema: z.ZodObject<{
|
|
|
101
101
|
dashboard_id: string | null;
|
|
102
102
|
duration_ms: number | null;
|
|
103
103
|
event_id: string;
|
|
104
|
-
event_type: "token_issued" | "dashboard_opened" | "query_executed" | "tool_called";
|
|
104
|
+
event_type: "token_issued" | "dashboard_opened" | "query_executed" | "tool_called" | "export_completed" | "automation_run_completed";
|
|
105
105
|
event_version: number;
|
|
106
106
|
occurred_at: string;
|
|
107
107
|
producer: "scheduler" | "app";
|
|
@@ -130,7 +130,7 @@ export declare const usageEventEnvelopeSchema: z.ZodObject<{
|
|
|
130
130
|
dashboard_id: string | null;
|
|
131
131
|
duration_ms: number | null;
|
|
132
132
|
event_id: string;
|
|
133
|
-
event_type: "token_issued" | "dashboard_opened" | "query_executed" | "tool_called";
|
|
133
|
+
event_type: "token_issued" | "dashboard_opened" | "query_executed" | "tool_called" | "export_completed" | "automation_run_completed";
|
|
134
134
|
event_version: number;
|
|
135
135
|
occurred_at: string;
|
|
136
136
|
producer: "scheduler" | "app";
|