react-semaphor 0.1.563 → 0.1.565
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/DATA_APP_SDK.md +3 -3
- package/README.md +2 -2
- package/dist/analytics-protocol/index.js +8 -8
- package/dist/assistant-context/index.js +3 -2
- package/dist/brand-studio/index.js +28 -29
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{assistant-chat-iIp02_77.js → assistant-chat-DNfb5fbF.js} +294 -294
- package/dist/chunks/{bookmark-impact-D4Kl4amw.js → bookmark-impact-CHr7b1J2.js} +2 -2
- package/dist/chunks/bookmark-state-ByODVqee.js +1613 -0
- package/dist/chunks/card-filter-builder-CcEcfaYz.js +4100 -0
- package/dist/chunks/{switch-BW4yXSYs.js → code-editor-DJNOsgJH.js} +463 -442
- package/dist/chunks/{comparison-window-caption-D1EUXzaR.js → comparison-window-caption-CMLb3mut.js} +451 -419
- package/dist/chunks/{dashboard-CmqeP3QZ.js → dashboard-CtIfxycc.js} +1 -1
- package/dist/chunks/dashboard-briefing-launcher-D3mc6peE.js +4910 -0
- package/dist/chunks/{dashboard-controls-B253nJS-.js → dashboard-controls-BFv0zdws.js} +684 -674
- package/dist/chunks/{dashboard-json-osQuinUZ.js → dashboard-json-CXn_3OYb.js} +4 -4
- package/dist/chunks/{dates-DFY7Gfss.js → dates-DcRxw17S.js} +13 -13
- package/dist/chunks/{edit-dashboard-visual-CMar-NhA.js → edit-dashboard-visual-Y6HatqBd.js} +7704 -10337
- package/dist/chunks/filter-reach-copy-DbggA5B7.js +4673 -0
- package/dist/chunks/{filter-value-text-CPwFkrMz.js → filter-value-text-7zhmth1S.js} +2 -2
- package/dist/chunks/{index-CNGkfUp4.js → index-DDa_rklN.js} +69 -64
- package/dist/chunks/index-RNaTnE3m.js +585 -0
- package/dist/chunks/{layout-grid-BM65viQh.js → layout-grid-0hIlqEtk.js} +1 -1
- package/dist/chunks/{list-filter-BoeLBfL3.js → list-filter-DkgoCeBm.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-hEucouWM.js → matrix-analytical-definition-C9xB_T84.js} +18 -18
- package/dist/chunks/{matrix-card-CCh9JjP1.js → matrix-card-BSUeSXpD.js} +2 -2
- package/dist/chunks/{matrix-member-presentation-DsAUbuoL.js → matrix-member-presentation-DZNgQpUq.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-DsLdFdSa.js → matrix-operation-contract-Eb6elidS.js} +1 -1
- package/dist/chunks/{metric-comparison-Bnso1cm1.js → metric-comparison-ChXUFaZu.js} +1 -1
- package/dist/chunks/{palette-p1XSJFgB.js → palette-4vf2BEEg.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-B53jqszr.js → pivot-result-contract-expectations-Ddh1rNz5.js} +4 -4
- package/dist/chunks/{pivot-result-identity-Dq5jm-EC.js → pivot-result-identity-BlbLrqaC.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-l54wJyYE.js → report-preferences-dialog-Db-b04B4.js} +122 -131
- package/dist/chunks/{report-runtime-context-BITkNSDa.js → report-runtime-context-DnA_PiKo.js} +1 -1
- package/dist/chunks/resolve-dashboard-input-context-C18J-YZC.js +21394 -0
- package/dist/chunks/{save-CHV1B1fL.js → save-D6pHmSSP.js} +1 -1
- package/dist/chunks/saved-dashboard-context-DhC_EVus.js +629 -0
- package/dist/chunks/{selection-reducer-Bz5aywT4.js → selection-reducer-OaJ-N5uN.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-C3EQEiD9.js → semaphor-ready-indicator-T6TsiBMT.js} +80879 -80744
- package/dist/chunks/{shelf-drop-preview-context-BODiBlqT.js → shelf-drop-preview-context-CNWL_b0S.js} +407 -407
- package/dist/chunks/{source-entity-resolution-DdDVXFB8.js → source-entity-resolution-DF6GulDn.js} +1 -1
- package/dist/chunks/stored-dashboard-IdmtrNkA.js +5026 -0
- package/dist/chunks/{table-export-sheet-bSXxGn-v.js → table-export-sheet--DUKWk6o.js} +1 -1
- package/dist/chunks/{temporal-input-presentation-sk9gqLi6.js → temporal-input-presentation--2r9BLr0.js} +392 -377
- package/dist/chunks/{token-types-BUK06hU2.js → token-types-C8JymO8s.js} +1 -1
- package/dist/chunks/{upload-BnmuyPqW.js → upload-Cf3wXZT8.js} +1 -1
- package/dist/chunks/{validators-BIM0FE31.js → validators-wtjw0aw6.js} +7 -7
- package/dist/chunks/variable-draft-3xseULxR.js +241 -0
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +2226 -1704
- package/dist/data-app-sdk/index.js +4 -4
- package/dist/data-app-sdk-adapters/index.js +2 -2
- package/dist/data-app-sdk-validation/index.js +5 -5
- package/dist/format-utils/index.js +174 -167
- package/dist/index.js +190 -188
- package/dist/layouts/index.js +1 -1
- package/dist/pdf-export-policy/index.js +80 -28
- package/dist/pdf-table-layout/index.js +65 -65
- package/dist/report-runtime-context/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/briefings/attachment-outcomes.d.ts +1 -1
- package/dist/types/components/activity/activity-bell.d.ts +5 -1
- package/dist/types/components/activity/activity-types.d.ts +12 -4
- package/dist/types/components/dashboard-variables/data-variables-menu.d.ts +8 -0
- package/dist/types/components/dashboard-variables/variable-editor-host.d.ts +1 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/index.js +5 -5
- package/dist/types/lib/dashboard-inputs/build-normalized-dashboard-inputs.d.ts +62 -0
- package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-authoring.d.ts +33 -2
- package/dist/types/lib/dashboard-inputs/filter-settings.d.ts +7 -2
- package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +4 -2
- package/dist/types/lib/dashboard-variables/data-text.d.ts +33 -0
- package/dist/types/lib/dashboard-variables/types.d.ts +207 -0
- package/dist/types/lib/document/document-edits.d.ts +16 -1
- package/dist/types/lib/document/document-panel-target.d.ts +1 -1
- package/dist/types/lib/document/document-section-query-options.d.ts +29 -0
- package/dist/types/lib/document/document-table-data-policy.d.ts +0 -1
- package/dist/types/lib/hooks/use-dashboard-frame-query.d.ts +92 -0
- package/dist/types/lib/query-context/build-card-query-context.d.ts +6 -0
- package/dist/types/lib/query-context/describe-card-execution-snapshot.d.ts +1 -0
- package/dist/types/lib/query-context/use-semantic-execution-payload-for-cards.d.ts +24 -0
- package/dist/types/lib/stores/dashboard-store.d.ts +36 -0
- package/dist/types/lib/text-variables/temporal-input-text.d.ts +28 -0
- package/dist/types/lib/text-variables/text-variable-types.d.ts +72 -0
- package/dist/types/lib/types/common-types.d.ts +155 -51
- package/dist/types/lib/utils/card-definition.d.ts +2 -2
- package/dist/types/shared/assistant-context/index.d.ts +1 -1
- package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +51 -1
- package/dist/types/shared/dashboard-authoring/card-query-request.d.ts +7 -1
- package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-highlights.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +7 -1
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +1088 -431
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +18 -1
- package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +8 -1
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +40 -40
- package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +16 -16
- package/dist/types/shared/dashboard-authoring/dashboard-card-source-index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/dashboard-filter-targets.d.ts +29 -0
- package/dist/types/shared/dashboard-authoring/dashboard-input-scope.d.ts +7 -4
- package/dist/types/shared/dashboard-authoring/dashboard-variable-card.d.ts +159 -0
- package/dist/types/shared/dashboard-authoring/dashboard-variable-changes.d.ts +61 -0
- package/dist/types/shared/dashboard-authoring/document-section-cards.d.ts +7 -0
- package/dist/types/shared/dashboard-authoring/filter-model/index.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/filter-model/read-dashboard-filter-model.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/comparison.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/schemas.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/operations/operation-sentences.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +50 -3
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +48 -1
- package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +2 -2
- package/dist/types/shared/dashboard-authoring/text-card-words/blocks.d.ts +87 -13
- package/dist/types/shared/dashboard-authoring/text-card-words/chip-colors.d.ts +23 -0
- package/dist/types/shared/dashboard-authoring/text-card-words/index.d.ts +90 -8
- package/dist/types/shared/dashboard-authoring/text-card-words/rich-content.d.ts +31 -3
- package/dist/types/shared/dashboard-authoring/text-card-words/variable-words.d.ts +8 -0
- package/dist/types/shared/dashboard-authoring/variable-draft.d.ts +125 -0
- package/dist/types/shared/dashboard-authoring/variable-editability.d.ts +24 -0
- package/dist/types/shared/dashboard-authoring/variable-references.d.ts +39 -0
- package/dist/types/shared/format-utils/document-print.d.ts +4 -2
- package/dist/types/shared/format-utils/index.d.ts +1 -0
- package/dist/types/shared/format-utils/pdf-capacity-lines.d.ts +17 -0
- package/dist/types/shared/format-utils/pdf-delivery.d.ts +8 -1
- package/dist/types/shared/format-utils/pdf-export-policy.d.ts +74 -6
- package/dist/types/shared/format-utils/presentation-execution.d.ts +9 -0
- package/package.json +2 -2
- package/src/data-app-sdk/README.md +3 -3
- package/dist/chunks/bookmark-state-CWeoGbrx.js +0 -743
- package/dist/chunks/braces-DzgoQC64.js +0 -23
- package/dist/chunks/dashboard-briefing-launcher-TYlSW77S.js +0 -3828
- package/dist/chunks/filter-reach-copy-CvV7W5dd.js +0 -3965
- package/dist/chunks/global-date-filter-utils-N1kcsOFE.js +0 -16722
- package/dist/chunks/index-CJW5BdWT.js +0 -583
- package/dist/chunks/resolve-dashboard-input-context-DaDrZGuA.js +0 -8214
- package/dist/chunks/saved-dashboard-context-DFYBrE6O.js +0 -564
- package/dist/chunks/use-create-flow-overlay-state-BXY8-Cyz.js +0 -1436
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { toSemaphorInputSnapshots as ce, toSemaphorInputBinding as le, toSemaphorSelectionSnapshots as de, toSemaphorActiveInputSnapshots as q, toSemaphorMatrixIntent as fe, toSemaphorSqlIntent as me, toSemaphorInputOptionsIntent as pe, toSemaphorRecordsIntent as ye, toSemaphorAnalysisQueryOptions as he, toSemaphorAnalysisIntent as ve, toSemaphorMetricIntent as ge, hasSemaphorInputValue as b, normalizeSemaphorInputOptions as G, toSemaphorInputSpec as Z } from "../data-app-sdk-adapters/index.js";
|
|
2
2
|
import { j as Se } from "../chunks/index-CuHybtft.js";
|
|
3
|
-
import { J as qe, K as x, s as Ie } from "../chunks/validators-
|
|
4
|
-
import { a as Tt, aD as Nt } from "../chunks/validators-
|
|
5
|
-
import { m as Ae, ao as we, an as be, A as F, S as W, I as ke } from "../chunks/matrix-operation-contract-
|
|
3
|
+
import { J as qe, K as x, s as Ie } from "../chunks/validators-wtjw0aw6.js";
|
|
4
|
+
import { a as Tt, aD as Nt } from "../chunks/validators-wtjw0aw6.js";
|
|
5
|
+
import { m as Ae, ao as we, an as be, A as F, S as W, I as ke } from "../chunks/matrix-operation-contract-Eb6elidS.js";
|
|
6
6
|
import "../chunks/analytics-base-schemas-BaIQrEzX.js";
|
|
7
7
|
import "zod";
|
|
8
8
|
import { createContext as Ke, useContext as Ee, useMemo as h, useEffect as M, useState as _, useCallback as S, useRef as D } from "react";
|
|
9
|
-
import { r as J } from "../chunks/selection-reducer-
|
|
9
|
+
import { r as J } from "../chunks/selection-reducer-OaJ-N5uN.js";
|
|
10
10
|
import { jsx as De } from "react/jsx-runtime";
|
|
11
11
|
function E(e, t, r) {
|
|
12
12
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as y } from "../chunks/operators-B3zZoskU.js";
|
|
2
|
-
import { m as v, s as m, p as I, a as S } from "../chunks/validators-
|
|
3
|
-
import { a as F, c as b } from "../chunks/matrix-operation-contract-
|
|
2
|
+
import { m as v, s as m, p as I, a as S } from "../chunks/validators-wtjw0aw6.js";
|
|
3
|
+
import { a as F, c as b } from "../chunks/matrix-operation-contract-Eb6elidS.js";
|
|
4
4
|
import "../chunks/analytics-base-schemas-BaIQrEzX.js";
|
|
5
5
|
import "zod";
|
|
6
6
|
function w(i) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { G as b, H as N, s as O, I as v, q as E, J as K, K as l } from "../chunks/validators-
|
|
2
|
-
import { m as Q } from "../chunks/matrix-operation-contract-
|
|
1
|
+
import { G as b, H as N, s as O, I as v, q as E, J as K, K as l } from "../chunks/validators-wtjw0aw6.js";
|
|
2
|
+
import { m as Q } from "../chunks/matrix-operation-contract-Eb6elidS.js";
|
|
3
3
|
import "../chunks/analytics-base-schemas-BaIQrEzX.js";
|
|
4
4
|
import "zod";
|
|
5
|
-
import { p as W } from "../chunks/report-runtime-context-
|
|
6
|
-
import { r as J } from "../chunks/source-entity-resolution-
|
|
5
|
+
import { p as W } from "../chunks/report-runtime-context-DnA_PiKo.js";
|
|
6
|
+
import { r as J } from "../chunks/source-entity-resolution-DF6GulDn.js";
|
|
7
7
|
import { toSemaphorMetricIntent as U, toSemaphorAnalysisIntent as G, toSemaphorRecordsIntent as V, toSemaphorSqlIntent as L, toSemaphorMatrixIntent as X, toSemaphorInputOptionsIntent as Y } from "../data-app-sdk-adapters/index.js";
|
|
8
|
-
import { m as Z } from "../chunks/matrix-card-
|
|
8
|
+
import { m as Z } from "../chunks/matrix-card-BSUeSXpD.js";
|
|
9
9
|
function ee({
|
|
10
10
|
intent: e,
|
|
11
11
|
field: r,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { f as x, a as F } from "../chunks/temporal-input-presentation
|
|
2
|
-
import {
|
|
3
|
-
import { p as _, m as
|
|
4
|
-
import { D as
|
|
5
|
-
import { c as
|
|
6
|
-
import { d as
|
|
7
|
-
import { E as
|
|
8
|
-
import { d as C } from "../chunks/table-export-sheet
|
|
9
|
-
import { T as
|
|
10
|
-
import { t as T } from "../chunks/validators-
|
|
11
|
-
import "../chunks/matrix-operation-contract-
|
|
12
|
-
import { S as
|
|
1
|
+
import { f as x, a as F } from "../chunks/temporal-input-presentation--2r9BLr0.js";
|
|
2
|
+
import { a6 as U, A as q, M as j, S as z, R as H, af as W, a1 as Y, a7 as K, G, al as Q, ai as J, W as Z, aj as ee, s as ae, a9 as re, Z as te, Y as se, _ as oe, $ as le, y as ie, e as ne, o as me, m as ue, n as ce, d as pe, l as Ee, k as fe, j as Te, g as de, ao as Ce, q as Re, z as be, h as xe, ad as Fe, as as _e, b as Pe, u as he, v as Se, c as Ae, i as we, a2 as Ie, D as ve, E as ye, F as Me, B as ge, I as De, C as Ne, H as Oe, J as Le, L as Xe, V as ke, T as Be, ak as $e, N as Ve, U as Ue, ag as qe, aa as je, a8 as ze, aq as He, x as We, p as Ye, K as Ke, ap as Ge, an as Qe, a5 as Je, r as Ze, P as ea, Q as aa, ah as ra, ab as ta, t as sa, ae as oa, ac as la, a3 as ia, O as na, a0 as ma, am as ua, a4 as ca, ar as pa, w as Ea, X as fa } from "../chunks/temporal-input-presentation--2r9BLr0.js";
|
|
3
|
+
import { p as _, m as P, r as f, t as h } from "../chunks/comparison-window-caption-CMLb3mut.js";
|
|
4
|
+
import { D as da, z as Ca, A as Ra, L as ba, F as xa, c as Fa, M as _a, b as Pa, o as ha, l as Sa, P as Aa, v as wa, q as Ia, n as va, k as ya, j as Ma, g as ga, E as Da, e as Na, f as Oa, O as La, Q as Xa, a as ka, B as Ba, w as $a, h as Va, i as Ua, I as qa, u as ja, s as za, H as Ha, R as Wa, C as Ya, G as Ka, N as Ga, x as Qa, y as Ja, d as Za, K as er, J as ar } from "../chunks/comparison-window-caption-CMLb3mut.js";
|
|
5
|
+
import { c as S } from "../chunks/export-file-format-C-tJsxsf.js";
|
|
6
|
+
import { d as tr, a as sr, C as or, b as lr, D as ir, E as nr, X as mr, f as ur, i as cr, j as pr, g as Er, n as fr, m as Tr, o as dr, l as Cr, e as Rr, p as br, k as xr, h as Fr, r as _r, t as Pr } from "../chunks/export-file-format-C-tJsxsf.js";
|
|
7
|
+
import { E as Sr, I as Ar, R as wr, c as Ir, p as vr, a as yr, b as Mr, r as gr, s as Dr, w as Nr } from "../chunks/rendered-file-D8xEuVVx.js";
|
|
8
|
+
import { d as C } from "../chunks/table-export-sheet--DUKWk6o.js";
|
|
9
|
+
import { T as Lr, a as Xr, X as kr, b as Br, k as $r, l as Vr, g as Ur, h as qr, i as jr, o as zr, e as Hr, p as Wr, n as Yr, c as Kr, s as Gr, j as Qr, q as Jr, m as Zr, t as et, w as at, f as rt, x as tt } from "../chunks/table-export-sheet--DUKWk6o.js";
|
|
10
|
+
import { t as T } from "../chunks/validators-wtjw0aw6.js";
|
|
11
|
+
import "../chunks/matrix-operation-contract-Eb6elidS.js";
|
|
12
|
+
import { S as ot, t as lt } from "../chunks/analytics-base-schemas-BaIQrEzX.js";
|
|
13
13
|
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 { c as
|
|
20
|
-
function
|
|
14
|
+
import { FAST_PDF_POLICY as nt, PDF_CAPACITY as mt, PDF_CAPACITY_REFUSAL_CODES as ut, PDF_NUMBER_COLUMN_TOO_WIDE as ct, PDF_SAFETY_LIMIT_EXCEEDED as pt, PDF_TABLE_CARD_TYPES as Et, getUtf8ByteLength as ft, isFastPdfRequestSizeEligible as Tt, isFastPdfRowCountEligible as dt, isPdfCapacityRefusalCode as Ct, isPdfPageCountWithinCapacity as Rt, isPdfTableCardType as bt, readPdfCapacityFacts as xt } from "../pdf-export-policy/index.js";
|
|
15
|
+
import { a as _t, d as Pt } from "../chunks/filter-value-text-7zhmth1S.js";
|
|
16
|
+
import { r as St } from "../chunks/metric-comparison-ChXUFaZu.js";
|
|
17
|
+
import { P as wt, d as It, p as vt } from "../chunks/pivot-result-contract-expectations-Ddh1rNz5.js";
|
|
18
|
+
import { P as Mt, b as gt, c as Dt, r as Nt, a as Ot } from "../chunks/pivot-result-identity-BlbLrqaC.js";
|
|
19
|
+
import { c as Xt, p as kt, v as Bt } from "../chunks/raw-temporal-value-Bqz8wc7L.js";
|
|
20
|
+
function R(a, t, l) {
|
|
21
21
|
return a.columns.map((s, r) => {
|
|
22
22
|
var n;
|
|
23
23
|
const o = `matrix:${r}`;
|
|
@@ -33,10 +33,10 @@ function b(a, t, l) {
|
|
|
33
33
|
});
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function b(a, t, l) {
|
|
37
37
|
return t.map((s, r) => {
|
|
38
38
|
const o = a.values[r];
|
|
39
|
-
return
|
|
39
|
+
return h({ value: (o == null ? void 0 : o.kind) === "value" ? o.value : null, text: s, column: l[r] });
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
function A(a, t) {
|
|
@@ -50,7 +50,7 @@ function A(a, t) {
|
|
|
50
50
|
return l;
|
|
51
51
|
}
|
|
52
52
|
function O(a, t, l) {
|
|
53
|
-
const s = _(a, t, l), r =
|
|
53
|
+
const s = _(a, t, l), r = R(a, s.formatting, s.headers);
|
|
54
54
|
return {
|
|
55
55
|
/** Header bands as header rows (XL-D16), with merges from identity (XL-D34). */
|
|
56
56
|
xlsxSheet: (o) => C({
|
|
@@ -63,17 +63,17 @@ function O(a, t, l) {
|
|
|
63
63
|
xlsxRows: (o) => o.map((e) => ({
|
|
64
64
|
role: e.kind === "layout" && e.role !== "member" ? "total" : "body",
|
|
65
65
|
// No previous row: every label shows, whatever the screen's layout repeats.
|
|
66
|
-
cells:
|
|
66
|
+
cells: b(e, s.row(e), r)
|
|
67
67
|
}))
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
const l = a.columns.map((r) => r.label), s =
|
|
70
|
+
function L(a, t) {
|
|
71
|
+
const l = a.columns.map((r) => r.label), s = R(a, t, l);
|
|
72
72
|
return {
|
|
73
73
|
/** One header row of the layout's column labels. */
|
|
74
74
|
xlsxSheet: (r) => C({ title: r.title, columns: s, headerRows: r.includeHeaders ? [l] : [] }),
|
|
75
75
|
/** Flat rows with the card's formats (MX-D10) and typed measure cells. */
|
|
76
|
-
xlsxRows: (r) => r.map((o) => ({ role: "body", cells:
|
|
76
|
+
xlsxRows: (r) => r.map((o) => ({ role: "body", cells: b(o, P(o, a, t), s) }))
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
function p(a) {
|
|
@@ -87,7 +87,7 @@ function d(a, t, l) {
|
|
|
87
87
|
if (r)
|
|
88
88
|
throw new Error(`${l} contains unknown property "${r}"`);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function X(a, t = "tableTotalsRequest") {
|
|
91
91
|
if (!p(a))
|
|
92
92
|
throw new Error(`${t} must be an object`);
|
|
93
93
|
if (d(a, ["source", "columns"], t), a.source !== "documentFlatTable")
|
|
@@ -195,215 +195,222 @@ function B(a) {
|
|
|
195
195
|
}), e = o ? w(r) : null;
|
|
196
196
|
return o && e !== null ? F(e, o) : String(r);
|
|
197
197
|
});
|
|
198
|
-
return
|
|
198
|
+
return S(t, a.delimiter);
|
|
199
199
|
}
|
|
200
200
|
export {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
201
|
+
tr as CSV_CONTENT_TYPE,
|
|
202
|
+
sr as CSV_DELIMITERS,
|
|
203
|
+
or as CSV_ENCODINGS,
|
|
204
|
+
lr as CSV_RECORD_SEPARATOR,
|
|
205
|
+
ir as DEFAULT_CSV_ENCODING,
|
|
206
|
+
U as DEFAULT_RESOLVED_TEMPORAL_STYLE_SET,
|
|
207
|
+
da as DIRECT_CSV_EXPORT_MAX_ROWS,
|
|
208
|
+
Ca as DOCUMENT_PAGE_FIT_TOLERANCE_PX,
|
|
209
|
+
Ra as DOCUMENT_PRINT_FAILURE_CODES,
|
|
210
|
+
Sr as EMAIL_IMAGE_DASHBOARD_WIDTH,
|
|
211
|
+
nr as EXPORT_FILE_FORMATS,
|
|
212
|
+
nt as FAST_PDF_POLICY,
|
|
213
213
|
ba as FILTER_LINE_MAX_LISTED_VALUES,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
214
|
+
xa as FULL_DATASET_CSV_EXPORT_MAX_ROWS,
|
|
215
|
+
Ar as IMAGE_CAPTURE_LIMITS,
|
|
216
|
+
q as MATRIX_EXPORT_DECODED_PART_BYTES,
|
|
217
|
+
Fa as MATRIX_EXPORT_MAX_ARTIFACT_BYTES,
|
|
218
|
+
_a as MATRIX_EXPORT_MAX_CELLS,
|
|
219
|
+
Pa as MATRIX_EXPORT_MAX_ENCODED_BYTES,
|
|
220
220
|
j as MATRIX_EXPORT_TRANSFER_BYTES,
|
|
221
221
|
ha as MATRIX_PRINT_DEFAULT_DECIMALS,
|
|
222
222
|
Sa as MATRIX_PRINT_ORGANIZATION_DEFAULTS,
|
|
223
223
|
z as MissingResolvedRawTemporalFormatError,
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
224
|
+
mt as PDF_CAPACITY,
|
|
225
|
+
ut as PDF_CAPACITY_REFUSAL_CODES,
|
|
226
|
+
Aa as PDF_GROUP_CONTINUATION_CLASS,
|
|
227
|
+
ct as PDF_NUMBER_COLUMN_TOO_WIDE,
|
|
228
|
+
pt as PDF_SAFETY_LIMIT_EXCEEDED,
|
|
229
|
+
Et as PDF_TABLE_CARD_TYPES,
|
|
230
|
+
wa as PdfSafetyLimitError,
|
|
231
|
+
wt as PivotHeaderPresentationError,
|
|
232
|
+
Mt as PivotResultIdentityError,
|
|
230
233
|
H as PresentationExecutionSnapshotError,
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
234
|
+
wr as RENDERED_FILE_KINDS,
|
|
235
|
+
W as RawTemporalFormatContractError,
|
|
236
|
+
ot as SEMAPHOR_GENERATED_COUNT_METRIC_ID,
|
|
237
|
+
Lr as TABLE_EXPORT_SHEET_SAMPLE_ROWS,
|
|
238
|
+
Y as TEMPORAL_BUCKET_PATTERN_TOKENS,
|
|
239
|
+
K as TemporalBucketContractError,
|
|
240
|
+
mr as XLSX_CONTENT_TYPE,
|
|
241
|
+
Xr as XLSX_LIMIT_FAILURE_REASONS,
|
|
242
|
+
kr as XlsxLimitError,
|
|
243
|
+
Ia as applyMatrixPrintNumberDefaults,
|
|
244
|
+
va as applyMatrixPrintOrganization,
|
|
242
245
|
G as assertMatrixBatchResponseSize,
|
|
243
|
-
|
|
244
|
-
|
|
246
|
+
Q as assertRawTemporalChunkClassificationAgreement,
|
|
247
|
+
Br as assertXlsxColumnCount,
|
|
245
248
|
B as buildFlatTableExportTotalsFooter,
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
249
|
+
ya as buildMatrixPrintTable,
|
|
250
|
+
Ma as buildMatrixTableStructure,
|
|
251
|
+
Ir as cardImageSize,
|
|
252
|
+
J as classifyDeclaredSqlTemporalColumn,
|
|
253
|
+
Xt as classifyTemporalLiteral,
|
|
251
254
|
Z as createPresentationExecutionSnapshot,
|
|
252
255
|
ee as createRawTemporalChunkClassificationEvidence,
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
256
|
+
ur as csvFilePreamble,
|
|
257
|
+
S as csvRecord,
|
|
258
|
+
cr as csvRecords,
|
|
259
|
+
ga as dataExportRoute,
|
|
257
260
|
ae as dateWallClock,
|
|
258
|
-
|
|
261
|
+
$r as defineTableExportSheet,
|
|
259
262
|
C as defineXlsxSheet,
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
263
|
+
It as deriveMetricInstanceAliasExpectations,
|
|
264
|
+
_t as describeConditionInFullDetail,
|
|
265
|
+
Da as describeDocumentPrintFailure,
|
|
266
|
+
Pt as describeFilterValueInFullDetail,
|
|
264
267
|
re as describeTemporalBucketCalendar,
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
268
|
+
pr as encodeCsvFile,
|
|
269
|
+
Vr as encodeTableExportWorkbook,
|
|
270
|
+
Ur as encodeXlsxFile,
|
|
271
|
+
qr as encodeXlsxRows,
|
|
272
|
+
Er as escapeCSVValue,
|
|
273
|
+
Na as exportCellText,
|
|
274
|
+
fr as exportFileFormatFromContentType,
|
|
275
|
+
Tr as exportFileFormatFromStored,
|
|
276
|
+
dr as exportFileName,
|
|
277
|
+
Cr as exportFileTraits,
|
|
275
278
|
te as findResolvedDateFormat,
|
|
276
279
|
x as findResolvedMeasureFormat,
|
|
277
280
|
se as findResolvedNumericFormat,
|
|
278
281
|
oe as findResolvedRawTemporalFormat,
|
|
279
282
|
le as findResolvedTemporalBucketFormat,
|
|
280
|
-
|
|
283
|
+
Oa as formatCanonicalComparisonRange,
|
|
281
284
|
ie as formatCellValue,
|
|
282
285
|
ne as formatCurrency,
|
|
283
286
|
me as formatDate,
|
|
284
287
|
ue as formatDuration,
|
|
285
288
|
ce as formatDurationCanonical,
|
|
286
|
-
|
|
289
|
+
La as formatFilterCondition,
|
|
287
290
|
Xa as formatFilterLine,
|
|
288
291
|
F as formatMeasureCanonical,
|
|
289
|
-
|
|
292
|
+
ka as formatMetricComparison,
|
|
290
293
|
pe as formatNumber,
|
|
291
294
|
Ee as formatNumberCustom,
|
|
292
295
|
fe as formatNumberWithColumnSettings,
|
|
293
296
|
Te as formatNumericCanonical,
|
|
294
297
|
de as formatPercent,
|
|
295
298
|
Ce as formatRawTemporalValue,
|
|
296
|
-
|
|
297
|
-
|
|
299
|
+
Re as formatRelativeTime,
|
|
300
|
+
be as formatRowForExport,
|
|
298
301
|
xe as formatScientific,
|
|
299
302
|
Fe as formatTemporalBucket,
|
|
300
303
|
_e as formatTemporalInputValue,
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
ct as isFastPdfRequestSizeEligible,
|
|
309
|
-
pt as isFastPdfRowCountEligible,
|
|
304
|
+
Pe as fromSemanticFormat,
|
|
305
|
+
he as getTimezoneAbbreviation,
|
|
306
|
+
Se as getTimezoneName,
|
|
307
|
+
ft as getUtf8ByteLength,
|
|
308
|
+
Ba as isDocumentPrintFailureCode,
|
|
309
|
+
Tt as isFastPdfRequestSizeEligible,
|
|
310
|
+
dt as isFastPdfRowCountEligible,
|
|
310
311
|
Ae as isMeasureCanonicalFormat,
|
|
311
312
|
we as isNumericCanonicalFormat,
|
|
312
|
-
|
|
313
|
+
Ct as isPdfCapacityRefusalCode,
|
|
314
|
+
Rt as isPdfPageCountWithinCapacity,
|
|
315
|
+
$a as isPdfRefusalCode,
|
|
316
|
+
bt as isPdfTableCardType,
|
|
313
317
|
Ie as isTemporalBucketPreset,
|
|
314
|
-
|
|
318
|
+
jr as isXlsxLimitError,
|
|
315
319
|
ve as matrixAttemptKey,
|
|
316
|
-
|
|
320
|
+
ye as matrixBatchInputSchema,
|
|
317
321
|
Me as matrixBatchResponseSchema,
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
+
ge as matrixExportDeadlineSchema,
|
|
323
|
+
Va as matrixFlatCsvHeaders,
|
|
324
|
+
Ua as matrixFlatCsvRow,
|
|
325
|
+
P as matrixFlatRowText,
|
|
322
326
|
De as matrixManifestSchema,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
327
|
+
Rr as parseCsvDelimiter,
|
|
328
|
+
br as parseCsvEncoding,
|
|
329
|
+
xr as parseExportFileFormat,
|
|
326
330
|
k as parseFlatTableExportTotalsByColumnId,
|
|
327
|
-
|
|
328
|
-
|
|
331
|
+
X as parseFlatTableExportTotalsRequest,
|
|
332
|
+
vr as parseImageCaptureRequest,
|
|
329
333
|
Ne as parseMatrixAttemptKey,
|
|
330
334
|
Oe as parseMatrixBatchResponse,
|
|
331
|
-
|
|
332
|
-
|
|
335
|
+
Le as parseMatrixManifest,
|
|
336
|
+
Xe as parseNumericCanonicalFormat,
|
|
333
337
|
ke as parsePresentationExecutionSnapshot,
|
|
334
338
|
Be as parsePresentationScope,
|
|
335
339
|
$e as parseRawTemporalChunkClassificationEvidence,
|
|
336
|
-
|
|
340
|
+
kt as parseRawTemporalValueMetadata,
|
|
337
341
|
Ve as parseResolvedNumericCanonicalFormat,
|
|
338
|
-
|
|
339
|
-
|
|
342
|
+
Ue as parseResolvedPresentationEntries,
|
|
343
|
+
qe as parseResolvedRawTemporalFormat,
|
|
340
344
|
je as parseResolvedTemporalBucketFormat,
|
|
341
|
-
|
|
342
|
-
|
|
345
|
+
qa as parseTableExportFormatting,
|
|
346
|
+
zr as parseTableExportSheetColumns,
|
|
343
347
|
ze as parseTemporalBucketValue,
|
|
344
348
|
He as parseTemporalInputPresentation,
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
349
|
+
We as parseWithSourceTimezone,
|
|
350
|
+
Hr as parseXlsxColumns,
|
|
351
|
+
Wr as parseXlsxSheet,
|
|
352
|
+
ja as pdfCapacityRefusalLine,
|
|
353
|
+
Ye as pickColumnFormat,
|
|
354
|
+
yr as planImageViewport,
|
|
355
|
+
za as planMatrixKeepWithPrevious,
|
|
351
356
|
_ as prepareMatrixExportPresentation,
|
|
352
|
-
|
|
353
|
-
|
|
357
|
+
L as prepareMatrixFlatXlsxPresentation,
|
|
358
|
+
Ke as prepareMatrixFormatting,
|
|
354
359
|
O as prepareMatrixXlsxPresentation,
|
|
355
360
|
Ge as prepareRawDateColumn,
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
361
|
+
Qe as prepareRawTemporalFormatter,
|
|
362
|
+
Ha as prepareTableExport,
|
|
363
|
+
vt as presentPivotHeader,
|
|
364
|
+
Fr as protectCSVText,
|
|
365
|
+
Wa as readAttachmentFilterLineValues,
|
|
366
|
+
Ya as readDocumentPrintFailureFacts,
|
|
367
|
+
Ka as readDocumentPrintLayout,
|
|
368
|
+
Ga as readNamedRelativeWindow,
|
|
369
|
+
xt as readPdfCapacityFacts,
|
|
370
|
+
Qa as readPdfErrorResponse,
|
|
371
|
+
Mr as renderedFileName,
|
|
372
|
+
gr as renderedFileTraits,
|
|
373
|
+
Ja as requestStructuredPdf,
|
|
374
|
+
gt as requirePivotHeaderMembers,
|
|
375
|
+
Dt as requirePivotResultColumnIdentities,
|
|
376
|
+
Za as requiresChunkedCsvExport,
|
|
377
|
+
er as requiresRawTemporalSqlChunkEvidence,
|
|
378
|
+
Je as resolveApplicableTemporalBucketFormat,
|
|
373
379
|
Ze as resolveColumnFormat,
|
|
374
|
-
|
|
380
|
+
_r as resolveCsvEncoding,
|
|
375
381
|
ea as resolveCurrencyFractionDigits,
|
|
376
|
-
|
|
382
|
+
St as resolveMetricResultAlias,
|
|
377
383
|
aa as resolveNumericPresentation,
|
|
378
|
-
|
|
384
|
+
Nt as resolveQueryColumnKeyMapEntry,
|
|
379
385
|
ra as resolveRawTemporalFormat,
|
|
380
386
|
ta as resolveTemporalBucketPresentation,
|
|
381
387
|
sa as resolveTimezone,
|
|
382
|
-
|
|
388
|
+
Ot as resolveUniqueQueryColumnKeyMapEntry,
|
|
383
389
|
f as resolveXlsxColumn,
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
390
|
+
Yr as serializeTableExportSheetColumns,
|
|
391
|
+
Kr as serializeXlsxColumns,
|
|
392
|
+
Gr as serializeXlsxSheet,
|
|
393
|
+
Dr as sheetImageEntryName,
|
|
388
394
|
oa as storedRawDatePresentation,
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
395
|
+
Qr as streamXlsxFile,
|
|
396
|
+
ar as tableExportFormattingFromOptions,
|
|
397
|
+
Jr as tableExportJobSheet,
|
|
398
|
+
Zr as tableExportSheetColumns,
|
|
399
|
+
et as tableExportXlsxRows,
|
|
394
400
|
la as temporalBucketWallClock,
|
|
395
|
-
|
|
396
|
-
|
|
401
|
+
Pr as toCsvCell,
|
|
402
|
+
lt as toStoredValueFormat,
|
|
397
403
|
ia as tokenizeTemporalBucketPattern,
|
|
398
404
|
na as validateCardExportNumericPresentationSnapshot,
|
|
399
405
|
ma as validateCardExportPresentationSnapshot,
|
|
400
406
|
ua as validateRawTemporalPattern,
|
|
401
|
-
|
|
407
|
+
Bt as validateRawTemporalResultColumn,
|
|
402
408
|
ca as validateTemporalBucketFormatApplicability,
|
|
403
409
|
pa as validateTemporalInputPattern,
|
|
404
410
|
Ea as withLiveModelFormats,
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
411
|
+
fa as withMissingPresentationEntries,
|
|
412
|
+
at as withXlsxSheetColumns,
|
|
413
|
+
Nr as writeImageCaptureRequest,
|
|
414
|
+
rt as xlsxColumnsFingerprint,
|
|
415
|
+
tt as xlsxLimitFailureReason
|
|
409
416
|
};
|