react-semaphor 0.1.543 → 0.1.545
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 +73 -0
- package/dist/analytics-protocol/index.js +35 -34
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +2 -2
- package/dist/briefings/index.js +56 -52
- package/dist/chunks/{class-utils-Df1OVOT1.js → _commonjsHelpers-DimLPMtv.js} +124 -98
- package/dist/chunks/{apply-dashboard-operations-CG9S7MGt.js → apply-dashboard-operations-CZEMsx8E.js} +778 -958
- package/dist/chunks/{assistant-chat-BFMRUYoB.js → assistant-chat-D7sWTypJ.js} +26 -27
- package/dist/chunks/calendar-day-equality-dvoQp1xW.js +410 -0
- package/dist/chunks/{comparison-window-caption-Bv18samq.js → comparison-window-caption-D4E6IHPD.js} +462 -456
- package/dist/chunks/{custom-visual-inputs-DUtpYZOk.js → custom-visual-inputs-DLCD9Y5V.js} +8 -2
- package/dist/chunks/dashboard-B1tMju0u.js +14 -0
- package/dist/chunks/dashboard-briefing-launcher-CePgIu0Z.js +3720 -0
- package/dist/chunks/{dashboard-controls-UGpjOM2k.js → dashboard-controls-Cq05n3e0.js} +526 -521
- package/dist/chunks/{dashboard-json-DG8dz0eX.js → dashboard-json-CoYRPqxx.js} +3 -3
- package/dist/chunks/document-dashboard-inputs-BesAHZvB.js +3112 -0
- package/dist/chunks/{edit-dashboard-visual-CDpA4y5e.js → edit-dashboard-visual-JPtNfJRb.js} +5628 -5618
- package/dist/chunks/export-file-format-C-tJsxsf.js +111 -0
- package/dist/chunks/{filter-value-text-CYsVYPuD.js → filter-value-text-ff7osJr7.js} +1 -1
- package/dist/chunks/{index-l5LclZvs.js → index-DRWiuqyd.js} +378 -332
- package/dist/chunks/{matrix-formatter-BnsTX90d.js → matrix-formatter-DnCyRXJE.js} +13 -13
- package/dist/chunks/{numeric-presentation-F_-H6VAw.js → numeric-presentation-7X_IrD58.js} +2572 -2573
- package/dist/chunks/{pivot-result-lifecycle-DupbRk-R.js → pivot-result-lifecycle-DM4CyGKs.js} +285 -393
- package/dist/chunks/{raw-temporal-presentation-D-azM_98.js → raw-temporal-presentation-C3mUgnEx.js} +2 -2
- package/dist/chunks/{zoned-wall-clock-MulfA26h.js → relative-date-label-Bk2j94pA.js} +21 -64
- package/dist/chunks/rendered-file-D8xEuVVx.js +108 -0
- package/dist/chunks/{report-preferences-dialog-CPwRwEJx.js → report-preferences-dialog-DUtuUL_5.js} +640 -612
- package/dist/chunks/resolve-dashboard-input-context-DJ2tICwz.js +9415 -0
- package/dist/chunks/{saved-dashboard-context-BKvMfRfC.js → saved-dashboard-context-LrF_kW0l.js} +183 -211
- package/dist/chunks/selection-filter-compiler-BKXmyLrS.js +79 -0
- package/dist/chunks/{semaphor-ready-indicator-CN2AHm2x.js → semaphor-ready-indicator-BxF96Yhv.js} +46859 -47102
- package/dist/chunks/shelf-drop-preview-context-CNaM_Gmh.js +2469 -0
- package/dist/chunks/{switch-C3jLxlG0.js → switch-uDtPgQlQ.js} +44 -45
- package/dist/chunks/{table-export-sheet-BDRXLLdq.js → table-export-sheet-YzMioA7Y.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-BnclfB2k.js → use-create-flow-overlay-state-CjB7ig1o.js} +153 -164
- package/dist/chunks/zoned-wall-clock-BkxV9jS2.js +46 -0
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.js +553 -541
- package/dist/data-app-sdk/index.js +1 -1
- package/dist/format-utils/index.js +241 -227
- package/dist/index.js +354 -331
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/activity.d.ts +2 -0
- package/dist/types/briefings/attachment-outcomes.d.ts +1 -1
- package/dist/types/briefings/attachments.d.ts +33 -6
- package/dist/types/briefings/index.d.ts +6 -5
- package/dist/types/components/activity/activity-bell.d.ts +11 -0
- package/dist/types/components/activity/activity-instance.d.ts +50 -0
- package/dist/types/components/activity/activity-notices.d.ts +7 -0
- package/dist/types/components/activity/activity-provider.d.ts +21 -0
- package/dist/types/components/activity/activity-types.d.ts +177 -0
- package/dist/types/components/activity/index.d.ts +6 -0
- package/dist/types/components/activity/use-activity.d.ts +20 -0
- package/dist/types/components/briefings/briefing-author/run-model.d.ts +1 -2
- package/dist/types/components/briefings/briefing-author.d.ts +14 -12
- package/dist/types/components/briefings/dashboard-briefing-launcher.d.ts +5 -0
- package/dist/types/components/briefings/use-briefing-run-detail.d.ts +34 -0
- package/dist/types/components/index.d.ts +1 -4
- package/dist/types/components/surfboard/filter/types.d.ts +0 -14
- package/dist/types/lib/activity-identity.d.ts +21 -0
- package/dist/types/lib/api/exports-api.d.ts +4 -4
- package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-authoring.d.ts +68 -82
- package/dist/types/lib/dashboard-inputs/dashboard-input-target-context.d.ts +0 -8
- package/dist/types/lib/dashboard-inputs/dashboard-input-values.d.ts +35 -1
- package/dist/types/lib/dashboard-inputs/filter-settings.d.ts +199 -0
- package/dist/types/lib/dashboard-inputs/resolve-dashboard-input-context.d.ts +7 -2
- package/dist/types/lib/dashboard-inputs/resolve-selection-input.d.ts +1 -1
- package/dist/types/lib/dashboard-viewer/captured-runtime-values.d.ts +40 -0
- package/dist/types/lib/dashboard-viewer/compatibility-input-storage.d.ts +16 -16
- package/dist/types/lib/dashboard-viewer/viewer-state.d.ts +11 -9
- package/dist/types/lib/download-pdf.d.ts +75 -1
- package/dist/types/lib/hooks/index.d.ts +1 -3
- package/dist/types/lib/hooks/use-date-filter.d.ts +5 -0
- package/dist/types/lib/hooks/use-text-filter.d.ts +5 -0
- package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +5 -4
- package/dist/types/lib/matrix-table/matrix-delivery.d.ts +4 -0
- package/dist/types/lib/query-context/assemble-card-query.d.ts +158 -0
- package/dist/types/lib/query-context/build-card-query-context.d.ts +3 -3
- package/dist/types/lib/query-context/build-dashboard-card-query-contract.d.ts +15 -6
- package/dist/types/lib/query-context/build-dashboard-execution-snapshot.d.ts +11 -13
- package/dist/types/lib/query-context/compile-dashboard-card-filters.d.ts +22 -12
- package/dist/types/lib/stores/dashboard-store.d.ts +39 -55
- package/dist/types/lib/stores/editor-store.d.ts +0 -3
- package/dist/types/lib/types/common-types.d.ts +21 -6
- package/dist/types/shared/activity/activity-contract.d.ts +84 -0
- package/dist/types/shared/activity/index.d.ts +5 -0
- package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +4 -11
- package/dist/types/shared/dashboard-authoring/card-export-request.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +12 -12
- package/dist/types/shared/dashboard-authoring/dashboard-filter-mapping-contract.d.ts +7 -0
- package/dist/types/shared/dashboard-authoring/dashboard-input-scope.d.ts +92 -0
- package/dist/types/shared/dashboard-authoring/filter-model/ad-hoc-filter-values.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/filter-model/filter-definitions.d.ts +29 -0
- package/dist/types/shared/dashboard-authoring/filter-model/filter-values.d.ts +58 -0
- package/dist/types/shared/dashboard-authoring/filter-model/index.d.ts +7 -0
- package/dist/types/shared/dashboard-authoring/filter-model/prototype-document-inputs.d.ts +15 -0
- package/dist/types/shared/dashboard-authoring/filter-model/read-dashboard-filter-model.d.ts +78 -0
- package/dist/types/shared/dashboard-authoring/filter-model/stored-dashboard.d.ts +18 -0
- package/dist/types/shared/dashboard-authoring/filter-model/toolbar-filter-reach.d.ts +23 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +2 -0
- package/dist/types/shared/format-utils/export-policy.d.ts +12 -0
- package/dist/types/shared/format-utils/exporters/index.d.ts +2 -0
- package/dist/types/shared/format-utils/exporters/rendered-file.d.ts +106 -0
- package/package.json +6 -2
- package/dist/chunks/_commonjsHelpers-BkfeUUK-.js +0 -28
- package/dist/chunks/calendar-day-equality-BmJAWduY.js +0 -460
- package/dist/chunks/dashboard-B9mKTJoy.js +0 -14
- package/dist/chunks/dashboard-briefing-launcher-Bdmry_oG.js +0 -4248
- package/dist/chunks/document-dashboard-inputs-OwqCbrVp.js +0 -8087
- package/dist/chunks/document-sheet-utils-BTb3VZxV.js +0 -3619
- package/dist/chunks/shelf-drop-preview-context-BGl_rxcW.js +0 -2407
- package/dist/chunks/sort-target-MT1WK1vX.js +0 -29
- package/dist/types/components/briefings/briefing-author/run-ui.d.ts +0 -81
- package/dist/types/components/briefings/use-briefing-run-polling.d.ts +0 -34
- package/dist/types/components/notifications/export-notification-item.d.ts +0 -24
- package/dist/types/components/notifications/export-notification-list.d.ts +0 -8
- package/dist/types/components/notifications/index.d.ts +0 -3
- package/dist/types/components/notifications/notification-bell.d.ts +0 -13
- package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-storage-transition.d.ts +0 -88
- package/dist/types/lib/dashboard-inputs/dashboard-input-scope.d.ts +0 -10
- package/dist/types/lib/exports/bounded-request.d.ts +0 -12
- package/dist/types/lib/hooks/use-export-polling.d.ts +0 -32
- package/dist/types/lib/hooks/use-export-recovery.d.ts +0 -11
- package/dist/types/lib/stores/export-store.d.ts +0 -62
|
@@ -6,7 +6,7 @@ import { a as Ro, av as Lo } from "../chunks/validators-DMHTpf7a.js";
|
|
|
6
6
|
import { m as ht, am as bt, al as vt, A as sr, r as ar, H as St } from "../chunks/matrix-operation-contract-8OIO4gob.js";
|
|
7
7
|
import "../chunks/analytics-base-schemas-BFAoRlkU.js";
|
|
8
8
|
import "zod";
|
|
9
|
-
import { m as lr } from "../chunks/matrix-formatter-
|
|
9
|
+
import { m as lr } from "../chunks/matrix-formatter-DnCyRXJE.js";
|
|
10
10
|
import { M as wt, a as It, S as xt, E as qt, C as At, r as dr } from "../chunks/selection-reducer-Dj_8xD69.js";
|
|
11
11
|
import { X as Tt, C as kt } from "../chunks/x-4f5U2XwU.js";
|
|
12
12
|
import { j as Ct } from "../chunks/index-CuHybtft.js";
|
|
@@ -1,30 +1,33 @@
|
|
|
1
1
|
import { a as x } from "../chunks/temporal-bucket-D7NBrrtL.js";
|
|
2
|
-
import { D as G, R as
|
|
3
|
-
import { p as A, m as h, r as
|
|
4
|
-
import { P as
|
|
5
|
-
import { d as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { w as
|
|
2
|
+
import { D as G, R as z, T as U, A as j, L as H, c as K, I as W, J as Y, C as J, e as Q, m as Z, n as ee, d as re, l as ae, k as te, j as se, g as oe, M as le, h as ie, f as ne, b as me, i as ue, w as ce, o as pe, K as Ee, q as fe, H as Te, E as de, B as Re, p as be, z as Ce, t as xe, u as Ae, r as he, F as Se, G as _e, x as Fe, s as Pe, v as ge, y as we } from "../chunks/temporal-bucket-D7NBrrtL.js";
|
|
3
|
+
import { p as A, m as h, r as f, t as S } from "../chunks/comparison-window-caption-D4E6IHPD.js";
|
|
4
|
+
import { P as Ie, L as Me, D as ye, G as Ne, F as Oe, c as De, M as Le, b as Xe, o as ke, l as Be, P as $e, u as Ve, q as qe, n as Ge, k as ze, j as Ue, g as je, e as He, R as Ke, U as We, V as Ye, Q as Je, f as Qe, I as Ze, J as er, a as rr, z as ar, N as tr, h as sr, i as or, B as lr, x as ir, s as nr, A as mr, T as ur, K as cr, H as pr, v as Er, w as fr, d as Tr, E as dr, O as Rr, S as br, C as Cr, y as xr } from "../chunks/comparison-window-caption-D4E6IHPD.js";
|
|
5
|
+
import { d as hr, e as Sr, a as _r, b as Fr, h as Pr, f as gr, g as wr, c as vr, p as Ir, i as Mr, r as yr } from "../chunks/matrix-formatter-DnCyRXJE.js";
|
|
6
|
+
import { c as _ } from "../chunks/export-file-format-C-tJsxsf.js";
|
|
7
|
+
import { d as Or, a as Dr, C as Lr, b as Xr, D as kr, E as Br, X as $r, f as Vr, i as qr, j as Gr, g as zr, n as Ur, m as jr, o as Hr, l as Kr, e as Wr, p as Yr, k as Jr, h as Qr, r as Zr, t as ea } from "../chunks/export-file-format-C-tJsxsf.js";
|
|
8
|
+
import { E as aa, I as ta, R as sa, c as oa, p as la, a as ia, b as na, r as ma, s as ua, w as ca } from "../chunks/rendered-file-D8xEuVVx.js";
|
|
9
|
+
import { d as R } from "../chunks/table-export-sheet-YzMioA7Y.js";
|
|
10
|
+
import { T as Ea, a as fa, X as Ta, b as da, k as Ra, l as ba, g as Ca, h as xa, i as Aa, o as ha, e as Sa, p as _a, n as Fa, c as Pa, s as ga, j as wa, q as va, m as Ia, t as Ma, w as ya, f as Na, x as Oa } from "../chunks/table-export-sheet-YzMioA7Y.js";
|
|
11
|
+
import { a as F } from "../chunks/pivot-result-lifecycle-DM4CyGKs.js";
|
|
12
|
+
import { c as La, b as Xa, M as ka, x as Ba, P as $a, h as Va, z as qa, q as Ga, u as za, w as Ua, s as ja, r as Ha, f as Ka, t as Wa, d as Ya, e as Ja, g as Qa, m as Za, j as et, y as rt, p as at, i as tt, k as st, o as ot, l as lt, n as it, v as nt } from "../chunks/pivot-result-lifecycle-DM4CyGKs.js";
|
|
13
|
+
import { w as T } from "../chunks/validators-DMHTpf7a.js";
|
|
11
14
|
import "../chunks/matrix-operation-contract-8OIO4gob.js";
|
|
12
|
-
import { S as
|
|
15
|
+
import { S as ut } from "../chunks/analytics-base-schemas-BFAoRlkU.js";
|
|
13
16
|
import "zod";
|
|
14
|
-
import { FAST_PDF_POLICY as
|
|
15
|
-
import { a as
|
|
16
|
-
import { r as
|
|
17
|
-
import { P as
|
|
18
|
-
import { P as
|
|
19
|
-
import { p as
|
|
20
|
-
function
|
|
17
|
+
import { FAST_PDF_POLICY as pt, PDF_SAFETY_LIMIT_EXCEEDED as Et, PDF_TABLE_CARD_TYPES as ft, getUtf8ByteLength as Tt, isFastPdfOutputSizeEligible as dt, isFastPdfPageCountEligible as Rt, isFastPdfRequestSizeEligible as bt, isFastPdfRowCountEligible as Ct, isPdfTableCardType as xt } from "../pdf-export-policy/index.js";
|
|
18
|
+
import { a as ht, d as St } from "../chunks/filter-value-text-ff7osJr7.js";
|
|
19
|
+
import { r as Ft } from "../chunks/metric-comparison-DEwi9uc2.js";
|
|
20
|
+
import { P as gt, p as wt } from "../chunks/pivot-header-presentation-DHcx1XGQ.js";
|
|
21
|
+
import { P as It, b as Mt, i as yt, c as Nt, d as Ot, r as Dt, a as Lt } from "../chunks/pivot-result-identity-DJhXXcns.js";
|
|
22
|
+
import { p as kt, v as Bt } from "../chunks/raw-temporal-contract-C51YG48G.js";
|
|
23
|
+
function b(r, t, l) {
|
|
21
24
|
return r.columns.map((s, a) => {
|
|
22
25
|
var n;
|
|
23
26
|
const o = `matrix:${a}`;
|
|
24
27
|
if (s.kind !== "measure")
|
|
25
|
-
return
|
|
28
|
+
return f({ key: o, label: l[a], formattedValues: !0, dataType: "string", presentation: { kind: "text" } });
|
|
26
29
|
const e = t.measureFormats.get(s.measureId);
|
|
27
|
-
return
|
|
30
|
+
return f({
|
|
28
31
|
key: o,
|
|
29
32
|
label: l[a],
|
|
30
33
|
formattedValues: !0,
|
|
@@ -33,47 +36,47 @@ function C(r, t, l) {
|
|
|
33
36
|
});
|
|
34
37
|
});
|
|
35
38
|
}
|
|
36
|
-
function
|
|
39
|
+
function C(r, t, l) {
|
|
37
40
|
return t.map((s, a) => {
|
|
38
41
|
const o = r.values[a];
|
|
39
|
-
return
|
|
42
|
+
return S({ value: (o == null ? void 0 : o.kind) === "value" ? o.value : null, text: s, column: l[a] });
|
|
40
43
|
});
|
|
41
44
|
}
|
|
42
|
-
function
|
|
45
|
+
function P(r, t) {
|
|
43
46
|
const l = [];
|
|
44
47
|
for (let s = 0; s < t; s += 1) {
|
|
45
|
-
const a = r.columns.map((e) => e.kind !== "measure" ? null : s < e.columnPath.length ? `member:${
|
|
48
|
+
const a = r.columns.map((e) => e.kind !== "measure" ? null : s < e.columnPath.length ? `member:${T(e.columnPath.slice(0, s + 1))}` : s === e.columnPath.length && e.role !== "member" ? `${e.role}:${T(e.columnPath)}` : null);
|
|
46
49
|
let o = 0;
|
|
47
50
|
for (let e = 1; e <= a.length; e += 1)
|
|
48
51
|
e < a.length && a[e] !== null && a[e] === a[o] || (a[o] !== null && e - 1 > o && l.push({ row: s, firstColumn: o, lastColumn: e - 1 }), o = e);
|
|
49
52
|
}
|
|
50
53
|
return l;
|
|
51
54
|
}
|
|
52
|
-
function
|
|
53
|
-
const s = A(r, t, l), a =
|
|
55
|
+
function L(r, t, l) {
|
|
56
|
+
const s = A(r, t, l), a = b(r, s.formatting, s.headers);
|
|
54
57
|
return {
|
|
55
58
|
/** Header bands as header rows (XL-D16), with merges from identity (XL-D34). */
|
|
56
|
-
xlsxSheet: (o) =>
|
|
59
|
+
xlsxSheet: (o) => R({
|
|
57
60
|
title: o.title,
|
|
58
61
|
columns: a,
|
|
59
62
|
headerRows: o.includeHeaders ? s.headerBands : [],
|
|
60
|
-
merges: o.includeHeaders ?
|
|
63
|
+
merges: o.includeHeaders ? P(r, s.headerBands.length - 1) : []
|
|
61
64
|
}),
|
|
62
65
|
/** Every row label repeated; subtotal and grand-total rows are 'total' (bold). */
|
|
63
66
|
xlsxRows: (o) => o.map((e) => ({
|
|
64
67
|
role: e.kind === "layout" && e.role !== "member" ? "total" : "body",
|
|
65
68
|
// No previous row: every label shows, whatever the screen's layout repeats.
|
|
66
|
-
cells:
|
|
69
|
+
cells: C(e, s.row(e), a)
|
|
67
70
|
}))
|
|
68
71
|
};
|
|
69
72
|
}
|
|
70
|
-
function
|
|
71
|
-
const l = r.columns.map((a) => a.label), s =
|
|
73
|
+
function X(r, t) {
|
|
74
|
+
const l = r.columns.map((a) => a.label), s = b(r, t, l);
|
|
72
75
|
return {
|
|
73
76
|
/** One header row of the layout's column labels. */
|
|
74
|
-
xlsxSheet: (a) =>
|
|
77
|
+
xlsxSheet: (a) => R({ title: a.title, columns: s, headerRows: a.includeHeaders ? [l] : [] }),
|
|
75
78
|
/** Flat rows with the card's formats (MX-D10) and typed measure cells. */
|
|
76
|
-
xlsxRows: (a) => a.map((o) => ({ role: "body", cells:
|
|
79
|
+
xlsxRows: (a) => a.map((o) => ({ role: "body", cells: C(o, h(o, r, t), s) }))
|
|
77
80
|
};
|
|
78
81
|
}
|
|
79
82
|
function p(r) {
|
|
@@ -87,7 +90,7 @@ function d(r, t, l) {
|
|
|
87
90
|
if (a)
|
|
88
91
|
throw new Error(`${l} contains unknown property "${a}"`);
|
|
89
92
|
}
|
|
90
|
-
function
|
|
93
|
+
function k(r, t = "tableTotalsRequest") {
|
|
91
94
|
if (!p(r))
|
|
92
95
|
throw new Error(`${t} must be an object`);
|
|
93
96
|
if (d(r, ["source", "columns"], t), r.source !== "documentFlatTable")
|
|
@@ -104,8 +107,8 @@ function D(r, t = "tableTotalsRequest") {
|
|
|
104
107
|
["fieldId", "role", "behavior", "metricAlias", "label"],
|
|
105
108
|
i
|
|
106
109
|
);
|
|
107
|
-
const
|
|
108
|
-
if (!
|
|
110
|
+
const E = typeof e.fieldId == "string" ? e.fieldId.trim() : "";
|
|
111
|
+
if (!E)
|
|
109
112
|
throw new Error(`${i}.fieldId must be a non-empty string`);
|
|
110
113
|
if (e.role !== "detail" && e.role !== "groupby" && e.role !== "metric")
|
|
111
114
|
throw new Error(`${i}.role is invalid`);
|
|
@@ -125,7 +128,7 @@ function D(r, t = "tableTotalsRequest") {
|
|
|
125
128
|
if (e.label !== void 0 && typeof e.label != "string")
|
|
126
129
|
throw new Error(`${i}.label must be a string`);
|
|
127
130
|
return {
|
|
128
|
-
fieldId:
|
|
131
|
+
fieldId: E,
|
|
129
132
|
role: m,
|
|
130
133
|
behavior: c,
|
|
131
134
|
...u ? { metricAlias: u } : {},
|
|
@@ -155,7 +158,7 @@ function D(r, t = "tableTotalsRequest") {
|
|
|
155
158
|
throw new Error(`${t}.columns may contain at most one label`);
|
|
156
159
|
return { source: "documentFlatTable", columns: s };
|
|
157
160
|
}
|
|
158
|
-
function
|
|
161
|
+
function B(r, t = "tableTotalsByColumnId") {
|
|
159
162
|
if (!p(r))
|
|
160
163
|
throw new Error(`${t} must be an object`);
|
|
161
164
|
const l = {};
|
|
@@ -178,7 +181,7 @@ function g(r) {
|
|
|
178
181
|
const t = Number(r);
|
|
179
182
|
return Number.isFinite(t) ? t : null;
|
|
180
183
|
}
|
|
181
|
-
function
|
|
184
|
+
function $(r) {
|
|
182
185
|
const t = r.visibleColumns.map((l) => {
|
|
183
186
|
const a = Object.prototype.hasOwnProperty.call(
|
|
184
187
|
r.totalsByColumnId,
|
|
@@ -188,215 +191,226 @@ function B(r) {
|
|
|
188
191
|
return "";
|
|
189
192
|
if (!r.useFormattedValues)
|
|
190
193
|
return String(a);
|
|
191
|
-
const o =
|
|
194
|
+
const o = F({
|
|
192
195
|
snapshot: r.snapshot,
|
|
193
196
|
scope: r.scope,
|
|
194
197
|
target: { kind: "column", columnKey: l }
|
|
195
198
|
}), e = o ? g(a) : null;
|
|
196
199
|
return o && e !== null ? x(e, o) : String(a);
|
|
197
200
|
});
|
|
198
|
-
return
|
|
201
|
+
return _(t, r.delimiter);
|
|
199
202
|
}
|
|
200
203
|
export {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
204
|
+
Ie as AGGREGATE_PDF_CONTINUATION_CLASS,
|
|
205
|
+
Me as AGGREGATE_TOTAL_MEMBER_MARKER,
|
|
206
|
+
Or as CSV_CONTENT_TYPE,
|
|
207
|
+
Dr as CSV_DELIMITERS,
|
|
208
|
+
Lr as CSV_ENCODINGS,
|
|
206
209
|
Xr as CSV_RECORD_SEPARATOR,
|
|
207
|
-
|
|
210
|
+
kr as DEFAULT_CSV_ENCODING,
|
|
208
211
|
G as DEFAULT_RESOLVED_TEMPORAL_STYLE_SET,
|
|
209
212
|
ye as DIRECT_CSV_EXPORT_MAX_ROWS,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
+
aa as EMAIL_IMAGE_DASHBOARD_WIDTH,
|
|
214
|
+
Br as EXPORT_FILE_FORMATS,
|
|
215
|
+
pt as FAST_PDF_POLICY,
|
|
216
|
+
Ne as FILTER_LINE_MAX_LISTED_VALUES,
|
|
213
217
|
Oe as FULL_DATASET_CSV_EXPORT_MAX_ROWS,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
Le as
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
ke as
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
218
|
+
ta as IMAGE_CAPTURE_LIMITS,
|
|
219
|
+
La as MATRIX_EXPORT_DECODED_PART_BYTES,
|
|
220
|
+
De as MATRIX_EXPORT_MAX_ARTIFACT_BYTES,
|
|
221
|
+
Le as MATRIX_EXPORT_MAX_CELLS,
|
|
222
|
+
Xe as MATRIX_EXPORT_MAX_ENCODED_BYTES,
|
|
223
|
+
Xa as MATRIX_EXPORT_TRANSFER_BYTES,
|
|
224
|
+
ke as MATRIX_PRINT_DEFAULT_DECIMALS,
|
|
225
|
+
Be as MATRIX_PRINT_ORGANIZATION_DEFAULTS,
|
|
226
|
+
ka as MissingResolvedRawTemporalFormatError,
|
|
227
|
+
$e as PDF_GROUP_CONTINUATION_CLASS,
|
|
228
|
+
Et as PDF_SAFETY_LIMIT_EXCEEDED,
|
|
229
|
+
ft as PDF_TABLE_CARD_TYPES,
|
|
230
|
+
Ve as PdfSafetyLimitError,
|
|
231
|
+
gt as PivotHeaderPresentationError,
|
|
232
|
+
It as PivotResultIdentityError,
|
|
233
|
+
Ba as PivotResultLifecycleError,
|
|
234
|
+
$a as PresentationExecutionSnapshotError,
|
|
235
|
+
sa as RENDERED_FILE_KINDS,
|
|
236
|
+
z as RawTemporalFormatContractError,
|
|
237
|
+
ut as SEMAPHOR_GENERATED_COUNT_METRIC_ID,
|
|
238
|
+
Ea as TABLE_EXPORT_SHEET_SAMPLE_ROWS,
|
|
233
239
|
U as TEMPORAL_BUCKET_PATTERN_TOKENS,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
240
|
+
j as TemporalBucketContractError,
|
|
241
|
+
$r as XLSX_CONTENT_TYPE,
|
|
242
|
+
fa as XLSX_LIMIT_FAILURE_REASONS,
|
|
243
|
+
Ta as XlsxLimitError,
|
|
244
|
+
qe as applyMatrixPrintNumberDefaults,
|
|
239
245
|
Ge as applyMatrixPrintOrganization,
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
246
|
+
Va as assertMatrixBatchResponseSize,
|
|
247
|
+
H as assertRawTemporalChunkClassificationAgreement,
|
|
248
|
+
da as assertXlsxColumnCount,
|
|
249
|
+
$ as buildFlatTableExportTotalsFooter,
|
|
250
|
+
ze as buildMatrixPrintTable,
|
|
245
251
|
Ue as buildMatrixTableStructure,
|
|
246
|
-
|
|
247
|
-
K as
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
Ke as
|
|
280
|
-
We as
|
|
281
|
-
Ye as
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
Q as
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
252
|
+
oa as cardImageSize,
|
|
253
|
+
K as classifyDeclaredSqlTemporalColumn,
|
|
254
|
+
W as classifyTemporalLiteral,
|
|
255
|
+
qa as createCanonicalPivotResultTransport,
|
|
256
|
+
Ga as createPresentationExecutionSnapshot,
|
|
257
|
+
Y as createRawTemporalChunkClassificationEvidence,
|
|
258
|
+
Vr as csvFilePreamble,
|
|
259
|
+
_ as csvRecord,
|
|
260
|
+
qr as csvRecords,
|
|
261
|
+
je as dataExportRoute,
|
|
262
|
+
hr as dateWallClock,
|
|
263
|
+
Ra as defineTableExportSheet,
|
|
264
|
+
R as defineXlsxSheet,
|
|
265
|
+
za as deriveMetricInstanceAliasExpectations,
|
|
266
|
+
Ua as derivePivotResultContractExpectations,
|
|
267
|
+
ht as describeConditionInFullDetail,
|
|
268
|
+
St as describeFilterValueInFullDetail,
|
|
269
|
+
J as describeTemporalBucketCalendar,
|
|
270
|
+
Gr as encodeCsvFile,
|
|
271
|
+
ba as encodeTableExportWorkbook,
|
|
272
|
+
Ca as encodeXlsxFile,
|
|
273
|
+
xa as encodeXlsxRows,
|
|
274
|
+
zr as escapeCSVValue,
|
|
275
|
+
He as exportCellText,
|
|
276
|
+
Ur as exportFileFormatFromContentType,
|
|
277
|
+
jr as exportFileFormatFromStored,
|
|
278
|
+
Hr as exportFileName,
|
|
279
|
+
Kr as exportFileTraits,
|
|
280
|
+
ja as findResolvedDateFormat,
|
|
281
|
+
F as findResolvedMeasureFormat,
|
|
282
|
+
Ha as findResolvedNumericFormat,
|
|
283
|
+
Ka as findResolvedRawTemporalFormat,
|
|
284
|
+
Wa as findResolvedTemporalBucketFormat,
|
|
285
|
+
Ke as formatAggregateGrandTotalLabel,
|
|
286
|
+
We as formatAggregateGroupCell,
|
|
287
|
+
Ye as formatAggregateGroupRow,
|
|
288
|
+
Je as formatAggregateSubtotalLabel,
|
|
289
|
+
Qe as formatCanonicalComparisonRange,
|
|
290
|
+
Sr as formatCellValue,
|
|
291
|
+
Q as formatCurrency,
|
|
292
|
+
_r as formatDate,
|
|
293
|
+
Z as formatDuration,
|
|
294
|
+
ee as formatDurationCanonical,
|
|
295
|
+
Ze as formatFilterCondition,
|
|
296
|
+
er as formatFilterLine,
|
|
289
297
|
x as formatMeasureCanonical,
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
298
|
+
rr as formatMetricComparison,
|
|
299
|
+
re as formatNumber,
|
|
300
|
+
ae as formatNumberCustom,
|
|
301
|
+
te as formatNumberWithColumnSettings,
|
|
302
|
+
se as formatNumericCanonical,
|
|
303
|
+
oe as formatPercent,
|
|
304
|
+
le as formatRawTemporalValue,
|
|
305
|
+
Fr as formatRelativeTime,
|
|
306
|
+
Pr as formatRowForExport,
|
|
307
|
+
ie as formatScientific,
|
|
308
|
+
ne as formatTemporalBucket,
|
|
309
|
+
ar as formatTemporalInputValue,
|
|
310
|
+
gr as fromSemanticFormat,
|
|
311
|
+
wr as getTimezoneAbbreviation,
|
|
312
|
+
vr as getTimezoneName,
|
|
313
|
+
Tt as getUtf8ByteLength,
|
|
314
|
+
tr as isAggregateTotalMemberMarker,
|
|
315
|
+
dt as isFastPdfOutputSizeEligible,
|
|
316
|
+
Rt as isFastPdfPageCountEligible,
|
|
317
|
+
bt as isFastPdfRequestSizeEligible,
|
|
318
|
+
Ct as isFastPdfRowCountEligible,
|
|
319
|
+
me as isMeasureCanonicalFormat,
|
|
320
|
+
ue as isNumericCanonicalFormat,
|
|
321
|
+
xt as isPdfTableCardType,
|
|
322
|
+
Mt as isPivotEmptyTupleAllowed,
|
|
323
|
+
yt as isPivotSubtotalPrefix,
|
|
324
|
+
ce as isTemporalBucketPreset,
|
|
325
|
+
Aa as isXlsxLimitError,
|
|
326
|
+
Ya as matrixAttemptKey,
|
|
327
|
+
Ja as matrixBatchInputSchema,
|
|
328
|
+
Qa as matrixBatchResponseSchema,
|
|
329
|
+
Za as matrixExportDeadlineSchema,
|
|
330
|
+
sr as matrixFlatCsvHeaders,
|
|
331
|
+
or as matrixFlatCsvRow,
|
|
324
332
|
h as matrixFlatRowText,
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
333
|
+
et as matrixManifestSchema,
|
|
334
|
+
rt as parseCanonicalPivotResultTransport,
|
|
335
|
+
Wr as parseCsvDelimiter,
|
|
336
|
+
Yr as parseCsvEncoding,
|
|
337
|
+
Jr as parseExportFileFormat,
|
|
338
|
+
B as parseFlatTableExportTotalsByColumnId,
|
|
339
|
+
k as parseFlatTableExportTotalsRequest,
|
|
340
|
+
la as parseImageCaptureRequest,
|
|
341
|
+
at as parseMatrixAttemptKey,
|
|
342
|
+
tt as parseMatrixBatchResponse,
|
|
343
|
+
st as parseMatrixManifest,
|
|
344
|
+
pe as parseNumericCanonicalFormat,
|
|
345
|
+
ot as parsePresentationExecutionSnapshot,
|
|
346
|
+
lt as parsePresentationScope,
|
|
347
|
+
Ee as parseRawTemporalChunkClassificationEvidence,
|
|
348
|
+
kt as parseRawTemporalValueMetadata,
|
|
340
349
|
fe as parseResolvedNumericCanonicalFormat,
|
|
341
|
-
|
|
350
|
+
it as parseResolvedPresentationEntries,
|
|
342
351
|
Te as parseResolvedRawTemporalFormat,
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
+
de as parseResolvedTemporalBucketFormat,
|
|
353
|
+
lr as parseTableExportFormatting,
|
|
354
|
+
ha as parseTableExportSheetColumns,
|
|
355
|
+
Re as parseTemporalBucketValue,
|
|
356
|
+
ir as parseTemporalInputPresentation,
|
|
357
|
+
Ir as parseWithSourceTimezone,
|
|
358
|
+
Sa as parseXlsxColumns,
|
|
359
|
+
_a as parseXlsxSheet,
|
|
360
|
+
ia as planImageViewport,
|
|
361
|
+
nr as planMatrixKeepWithPrevious,
|
|
352
362
|
A as prepareMatrixExportPresentation,
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
363
|
+
X as prepareMatrixFlatXlsxPresentation,
|
|
364
|
+
Mr as prepareMatrixFormatting,
|
|
365
|
+
L as prepareMatrixXlsxPresentation,
|
|
356
366
|
be as prepareRawTemporalFormatter,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
367
|
+
mr as prepareTableExport,
|
|
368
|
+
ur as presentAggregateGroupRow,
|
|
369
|
+
wt as presentPivotHeader,
|
|
370
|
+
Qr as protectCSVText,
|
|
371
|
+
cr as readAttachmentFilterLineValues,
|
|
372
|
+
pr as readNamedRelativeWindow,
|
|
373
|
+
Er as readPdfErrorResponse,
|
|
374
|
+
na as renderedFileName,
|
|
375
|
+
ma as renderedFileTraits,
|
|
376
|
+
fr as requestStructuredPdf,
|
|
377
|
+
Nt as requirePivotHeaderMembers,
|
|
378
|
+
Ot as requirePivotResultColumnIdentities,
|
|
379
|
+
Tr as requiresChunkedCsvExport,
|
|
380
|
+
dr as requiresRawTemporalSqlChunkEvidence,
|
|
381
|
+
Rr as resolveAggregateTablePresentationContext,
|
|
370
382
|
Ce as resolveApplicableTemporalBucketFormat,
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
Fe as
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
383
|
+
Zr as resolveCsvEncoding,
|
|
384
|
+
xe as resolveCurrencyFractionDigits,
|
|
385
|
+
Ft as resolveMetricResultAlias,
|
|
386
|
+
Ae as resolveNumericPresentation,
|
|
387
|
+
Dt as resolveQueryColumnKeyMapEntry,
|
|
388
|
+
he as resolveRawTemporalFormat,
|
|
389
|
+
Se as resolveTemporalBucketPresentation,
|
|
390
|
+
yr as resolveTimezone,
|
|
391
|
+
Lt as resolveUniqueQueryColumnKeyMapEntry,
|
|
392
|
+
f as resolveXlsxColumn,
|
|
393
|
+
Fa as serializeTableExportSheetColumns,
|
|
394
|
+
Pa as serializeXlsxColumns,
|
|
395
|
+
ga as serializeXlsxSheet,
|
|
396
|
+
ua as sheetImageEntryName,
|
|
397
|
+
br as shouldPresentAggregateGroupValue,
|
|
398
|
+
wa as streamXlsxFile,
|
|
399
|
+
Cr as tableExportFormattingFromOptions,
|
|
400
|
+
va as tableExportJobSheet,
|
|
401
|
+
Ia as tableExportSheetColumns,
|
|
402
|
+
Ma as tableExportXlsxRows,
|
|
403
|
+
_e as temporalBucketWallClock,
|
|
404
|
+
ea as toCsvCell,
|
|
405
|
+
Fe as tokenizeTemporalBucketPattern,
|
|
406
|
+
Pe as validateCardExportNumericPresentationSnapshot,
|
|
407
|
+
nt as validateCardExportPresentationSnapshot,
|
|
408
|
+
ge as validateRawTemporalPattern,
|
|
409
|
+
Bt as validateRawTemporalResultColumn,
|
|
410
|
+
we as validateTemporalBucketFormatApplicability,
|
|
411
|
+
xr as validateTemporalInputPattern,
|
|
412
|
+
ya as withXlsxSheetColumns,
|
|
413
|
+
ca as writeImageCaptureRequest,
|
|
414
|
+
Na as xlsxColumnsFingerprint,
|
|
415
|
+
Oa as xlsxLimitFailureReason
|
|
402
416
|
};
|