react-semaphor 0.1.558 → 0.1.560
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics-protocol/index.js +368 -358
- package/dist/assistant-context/index.js +1 -1
- package/dist/assistant-protocol/index.js +5 -5
- package/dist/brand-studio/index.js +9 -9
- package/dist/briefings/index.js +5 -5
- package/dist/chunks/analytics-base-schemas-CHLxsPfX.js +630 -0
- package/dist/chunks/{assistant-chat-BCWoP6Rf.js → assistant-chat-Bu2fFm_I.js} +206 -207
- package/dist/chunks/{bookmark-state-PjQpxbG7.js → bookmark-state-BFY9oNmr.js} +3 -3
- package/dist/chunks/{braces-D5Ucy7q1.js → braces-Da41xfUd.js} +1 -1
- package/dist/chunks/{comparison-window-caption-Dc7BaCMz.js → comparison-window-caption-4FNkMrzE.js} +213 -213
- package/dist/chunks/{context-DVy4HOU0.js → context-BgPDzLHZ.js} +1 -1
- package/dist/chunks/{custom-visual-inputs-B-DLRGrV.js → custom-visual-inputs-Dz-enUNR.js} +1 -1
- package/dist/chunks/{dashboard-wK6Bai4V.js → dashboard-_MeBuy67.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-Coqghdn6.js → dashboard-briefing-launcher-CEi4Pr_v.js} +1152 -1166
- package/dist/chunks/{dashboard-controls-BYWSM2RM.js → dashboard-controls-Bi7fyG-4.js} +98 -98
- package/dist/chunks/{dashboard-json-pPTB5gj0.js → dashboard-json-B1mU_OMa.js} +5 -5
- package/dist/chunks/{document-dashboard-inputs-PY_7Xm55.js → document-dashboard-inputs-CkWfDB8c.js} +64 -64
- package/dist/chunks/{edit-dashboard-visual-BODxuUeq.js → edit-dashboard-visual-0CJN31Y3.js} +8274 -8514
- package/dist/chunks/filter-reach-copy-BF4w4kI2.js +3738 -0
- package/dist/chunks/{filter-value-text-CUBpotVN.js → filter-value-text-CRC-K_l_.js} +3 -3
- package/dist/chunks/{global-date-filter-utils-BsFqnnbA.js → global-date-filter-utils-D8365uPH.js} +4088 -3416
- package/dist/chunks/{index-DP_wQl0v.js → index-DtHidOPV.js} +579 -604
- package/dist/chunks/{layout-grid-CkoXmv0L.js → layout-grid-BvsH4RY2.js} +1 -1
- package/dist/chunks/{list-filter-B4i25kuc.js → list-filter-Dg0otx5E.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-4GTUDheD.js → matrix-analytical-definition-CM18W8w6.js} +41 -41
- package/dist/chunks/{matrix-card-fS_4O7zA.js → matrix-card-HPskLaPy.js} +3 -3
- package/dist/chunks/{matrix-member-presentation-Dj7HaAHC.js → matrix-member-presentation-Bbrfrke4.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-CpgLZ7E5.js → matrix-operation-contract-WPv4R-H_.js} +130 -130
- package/dist/chunks/{metric-comparison-C8LY7GG5.js → metric-comparison-ljMKYZKa.js} +2 -2
- package/dist/chunks/{model-change-CJEj3ZD6.js → model-change-Ccn1zaxl.js} +1 -1
- package/dist/chunks/{palette-stlpjVk4.js → palette-Bsh376zO.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-DMk-mKhG.js → pivot-result-contract-expectations-Bl5suy4-.js} +602 -696
- package/dist/chunks/{pivot-result-identity-CrQ54Xbj.js → pivot-result-identity-vS9TSh4f.js} +1 -1
- package/dist/chunks/{raw-temporal-presentation-BI2z2LlB.js → raw-temporal-presentation-BHm7s-hz.js} +230 -274
- package/dist/chunks/{report-preferences-dialog-Dc-YyVwf.js → report-preferences-dialog-BV8L0SeS.js} +55 -55
- package/dist/chunks/{report-runtime-context-CohdtiMg.js → report-runtime-context-BZQh9ywy.js} +2 -2
- package/dist/chunks/{resolve-dashboard-input-context-BZYI1hB0.js → resolve-dashboard-input-context-CAMiWvyR.js} +2021 -2239
- package/dist/chunks/{save-C1dgxgAu.js → save-B5EAsgQF.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-CIBoMq46.js → saved-dashboard-context-n2Wn11cV.js} +57 -57
- package/dist/chunks/{selection-reducer-_d6aKJnj.js → selection-reducer-D0YnaAD9.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-ERTLU7B4.js → semaphor-ready-indicator-XLBLOJ2V.js} +38446 -39176
- package/dist/chunks/{shelf-drop-preview-context-fEnx6iL_.js → shelf-drop-preview-context-DHMa54a-.js} +570 -570
- package/dist/chunks/source-entity-resolution-dUG5VWRm.js +607 -0
- package/dist/chunks/{switch-BqUan2mN.js → switch-ByxH4M7t.js} +3 -3
- package/dist/chunks/{table-export-sheet-CTCTA_bd.js → table-export-sheet-C_GdeTYU.js} +1 -1
- package/dist/chunks/{table-settings-DF1gdVQR.js → table-settings-Imz0FgWi.js} +8 -8
- package/dist/chunks/{temporal-input-presentation-DoSniQj1.js → temporal-input-presentation-uvNK_tM0.js} +1109 -820
- package/dist/chunks/{token-types-DFyLflLY.js → token-types-CQtXUVMy.js} +1 -1
- package/dist/chunks/{upload-DcoyjkRV.js → upload-wbR-NVzq.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-xhb9YFg-.js → use-create-flow-overlay-state-CEBaLOKC.js} +6 -6
- package/dist/chunks/validators-CXTneCA4.js +3453 -0
- package/dist/chunks/{zoned-wall-clock-E35Frf9v.js → zoned-wall-clock-B1n_WjW3.js} +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +2207 -1496
- package/dist/data-app-sdk/index.js +20 -20
- package/dist/data-app-sdk-adapters/index.js +3 -3
- package/dist/data-app-sdk-validation/index.js +6 -6
- package/dist/format-utils/index.js +181 -176
- package/dist/index.js +22 -22
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/components/editor/editor-aside/utils.d.ts +1 -1
- package/dist/types/components/visual/data-table/types/data-table.d.ts +5 -20
- package/dist/types/index.js +6 -6
- package/dist/types/lib/formatters/canonical-format-adapter.d.ts +2 -29
- package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +0 -2
- package/dist/types/lib/formatters/table-column-settings.d.ts +47 -0
- package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +10 -188
- package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +1 -1
- package/dist/types/lib/matrix-table/matrix-delivery.d.ts +16 -372
- package/dist/types/lib/stores/dashboard-store.d.ts +0 -1
- package/dist/types/lib/stores/editor-store.d.ts +39 -9
- package/dist/types/lib/stores/table-actions.d.ts +9 -3
- package/dist/types/lib/table-formatting/index.d.ts +0 -2
- package/dist/types/lib/table-formatting/table-conditional-formatting-range-source.d.ts +3 -2
- package/dist/types/lib/table-formatting/table-conditional-formatting-range.d.ts +3 -2
- package/dist/types/lib/table-formatting/table-formatting-normalize.d.ts +1 -2
- package/dist/types/lib/table-formatting/table-formatting-render-model.d.ts +9 -0
- package/dist/types/lib/table-formatting/table-formatting-types.d.ts +5 -95
- package/dist/types/lib/table-formatting/table-presentation-fields.d.ts +35 -0
- package/dist/types/lib/types/common-types.d.ts +40 -47
- package/dist/types/lib/types/explorer-types.d.ts +13 -44
- package/dist/types/lib/utils/card-config-utils.d.ts +9 -1
- package/dist/types/lib/utils/card-definition.d.ts +9 -187
- package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +159 -513
- package/dist/types/shared/analytics-protocol/contracts.d.ts +32 -9
- package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +108 -980
- package/dist/types/shared/analytics-protocol/field-validation.d.ts +1 -0
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +281 -4624
- package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +20 -20
- package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +18 -18
- package/dist/types/shared/analytics-protocol/matrix-path-contract.d.ts +40 -40
- package/dist/types/shared/analytics-protocol/matrix-window-contract.d.ts +3 -203
- package/dist/types/shared/analytics-protocol/scalar-value.d.ts +8 -8
- package/dist/types/shared/analytics-protocol/source-capabilities.d.ts +21 -0
- package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +8 -0
- package/dist/types/shared/assistant-protocol/context.d.ts +69 -69
- package/dist/types/shared/dashboard-authoring/canonical-result-keys.d.ts +13 -0
- package/dist/types/shared/dashboard-authoring/card-export-request.d.ts +4 -1
- package/dist/types/shared/dashboard-authoring/card-formats/sql-date-pattern.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/card-formats/upgrade-card-formats.d.ts +57 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +24 -24
- package/dist/types/shared/dashboard-authoring/conditional-formatting/editable.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/evaluate.d.ts +16 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/index.d.ts +9 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/resolve-card-column-ref.d.ts +17 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/retain.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +4499 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/store.d.ts +12 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/types.d.ts +151 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/upgrade.d.ts +35 -0
- package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +62 -62
- package/dist/types/shared/dashboard-authoring/dashboard-card-source-index.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +5 -0
- package/dist/types/shared/dashboard-authoring/legacy-table-routing.d.ts +4 -2
- package/dist/types/shared/dashboard-authoring/matrix-authoring.d.ts +4 -5
- package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +24 -736
- package/dist/types/shared/dashboard-authoring/retired-presentation-fields.d.ts +31 -0
- package/dist/types/shared/dashboard-authoring/upgrade-card-presentation.d.ts +14 -0
- package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +5 -1
- package/dist/types/shared/format-utils/formatters/number-formatter.d.ts +16 -0
- package/dist/types/shared/format-utils/index.d.ts +2 -0
- package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +10 -366
- package/dist/types/shared/format-utils/raw-temporal.d.ts +15 -1
- package/dist/types/shared/format-utils/resolve-column-format.d.ts +43 -0
- package/dist/types/shared/format-utils/retired-format-adapters.d.ts +68 -0
- package/dist/types/shared/format-utils/semantic-format.d.ts +5 -1
- package/dist/types/shared/format-utils/stored-value-format.d.ts +16 -0
- package/dist/types/shared/format-utils/types/format-types.d.ts +10 -12
- package/package.json +1 -1
- package/dist/chunks/analytics-base-schemas-BUFUoO6G.js +0 -472
- package/dist/chunks/editor-draft-sync-BN5qYHPF.js +0 -15
- package/dist/chunks/filter-reach-copy-BvJH9JO-.js +0 -3411
- package/dist/chunks/source-entity-resolution-DXW1HpKf.js +0 -816
- package/dist/chunks/validators-hmfNNQz8.js +0 -3595
- package/dist/types/lib/table-formatting/table-conditional-formatting-evaluator.d.ts +0 -9
- package/dist/types/lib/table-formatting/table-formatting-validation.d.ts +0 -12
|
@@ -1,12 +1,12 @@
|
|
|
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
|
|
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 X, toSemaphorInputSpec as Z } from "../data-app-sdk-adapters/index.js";
|
|
2
2
|
import { j as Se } from "../chunks/index-CuHybtft.js";
|
|
3
|
-
import {
|
|
4
|
-
import { a as Tt,
|
|
5
|
-
import { Z as Ae, am as we, al as
|
|
6
|
-
import "../chunks/analytics-base-schemas-
|
|
3
|
+
import { ab as qe, az as x, s as Ie } from "../chunks/validators-CXTneCA4.js";
|
|
4
|
+
import { a as Tt, aE as Nt } from "../chunks/validators-CXTneCA4.js";
|
|
5
|
+
import { Z as Ae, am as we, al as be, z as F, S as W, G as ke } from "../chunks/matrix-operation-contract-WPv4R-H_.js";
|
|
6
|
+
import "../chunks/analytics-base-schemas-CHLxsPfX.js";
|
|
7
7
|
import "zod";
|
|
8
8
|
import { createContext as Ee, useContext as Ke, 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-D0YnaAD9.js";
|
|
10
10
|
import { jsx as De } from "react/jsx-runtime";
|
|
11
11
|
function K(e, t, r) {
|
|
12
12
|
return {
|
|
@@ -15,10 +15,10 @@ function K(e, t, r) {
|
|
|
15
15
|
role: t
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function bt(e) {
|
|
19
19
|
return e;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function kt(e) {
|
|
22
22
|
return e;
|
|
23
23
|
}
|
|
24
24
|
const Et = {
|
|
@@ -715,7 +715,7 @@ async function Xe(e, t, r) {
|
|
|
715
715
|
activeInputs: t.activeInputs,
|
|
716
716
|
selections: t.selections,
|
|
717
717
|
resultShape: "matrix"
|
|
718
|
-
}, t, r), o = await se(s), a =
|
|
718
|
+
}, t, r), o = await se(s), a = be.safeParse(o.executionResult);
|
|
719
719
|
if (!a.success) throw new Error(o.error || "Matrix execution returned an invalid governed result.");
|
|
720
720
|
if (!s.ok && a.data.status !== "failed") throw new Error(o.error || `Matrix request failed (${s.status}).`);
|
|
721
721
|
return a.data;
|
|
@@ -839,7 +839,7 @@ function Kt(e) {
|
|
|
839
839
|
controlRole: e.kind === "control" ? e.role : void 0,
|
|
840
840
|
value: s,
|
|
841
841
|
options: o,
|
|
842
|
-
isActive:
|
|
842
|
+
isActive: b(s),
|
|
843
843
|
setValue: a,
|
|
844
844
|
clear: c,
|
|
845
845
|
toAnalyticsInput: () => ({
|
|
@@ -848,7 +848,7 @@ function Kt(e) {
|
|
|
848
848
|
kind: e.kind,
|
|
849
849
|
label: e.label,
|
|
850
850
|
value: s,
|
|
851
|
-
isActive:
|
|
851
|
+
isActive: b(s),
|
|
852
852
|
operator: u.operator,
|
|
853
853
|
relationshipHint: u.relationshipHint,
|
|
854
854
|
controlRole: e.kind === "control" ? e.role : void 0
|
|
@@ -887,7 +887,7 @@ function Dt(e) {
|
|
|
887
887
|
controlRole: n.kind === "control" ? n.role : void 0,
|
|
888
888
|
value: o,
|
|
889
889
|
options: a,
|
|
890
|
-
isActive:
|
|
890
|
+
isActive: b(o),
|
|
891
891
|
setValue: c,
|
|
892
892
|
clear: u,
|
|
893
893
|
toAnalyticsInput: () => ({
|
|
@@ -896,7 +896,7 @@ function Dt(e) {
|
|
|
896
896
|
kind: n.kind,
|
|
897
897
|
label: n.label,
|
|
898
898
|
value: o,
|
|
899
|
-
isActive:
|
|
899
|
+
isActive: b(o),
|
|
900
900
|
operator: d.operator,
|
|
901
901
|
relationshipHint: d.relationshipHint,
|
|
902
902
|
controlRole: n.kind === "control" ? n.role : void 0
|
|
@@ -913,7 +913,7 @@ function Ot(e, t) {
|
|
|
913
913
|
}, [e, n, t == null ? void 0 : t.status, r]);
|
|
914
914
|
}
|
|
915
915
|
function at(e, t) {
|
|
916
|
-
if (!
|
|
916
|
+
if (!b(e) || t === void 0)
|
|
917
917
|
return !0;
|
|
918
918
|
const r = new Set(
|
|
919
919
|
t.map((s) => Y(s.value))
|
|
@@ -990,7 +990,7 @@ function xt(e, t = {}) {
|
|
|
990
990
|
}
|
|
991
991
|
})(), [r, t.selections]), s = S(
|
|
992
992
|
(i) => {
|
|
993
|
-
var m, p, B, z, U,
|
|
993
|
+
var m, p, B, z, U, k, H, E, Q;
|
|
994
994
|
const l = n.request;
|
|
995
995
|
if (l.intent)
|
|
996
996
|
switch (n.queryKind) {
|
|
@@ -1017,8 +1017,8 @@ function xt(e, t = {}) {
|
|
|
1017
1017
|
i
|
|
1018
1018
|
);
|
|
1019
1019
|
case "sql":
|
|
1020
|
-
return (H = (
|
|
1021
|
-
|
|
1020
|
+
return (H = (k = i.executor) == null ? void 0 : k.executeSql) == null ? void 0 : H.call(
|
|
1021
|
+
k,
|
|
1022
1022
|
l.intent,
|
|
1023
1023
|
i
|
|
1024
1024
|
);
|
|
@@ -1366,7 +1366,7 @@ function G(e, t) {
|
|
|
1366
1366
|
return t.map((r) => ue(e, r));
|
|
1367
1367
|
}
|
|
1368
1368
|
function ue(e, t) {
|
|
1369
|
-
const r =
|
|
1369
|
+
const r = ke.parse(t);
|
|
1370
1370
|
for (const n of r.conditions)
|
|
1371
1371
|
if (!e.fields.some(
|
|
1372
1372
|
(s) => Ie(s, n.field)
|
|
@@ -1398,8 +1398,8 @@ function $t({
|
|
|
1398
1398
|
export {
|
|
1399
1399
|
$t as SemaphorDataAppProvider,
|
|
1400
1400
|
Ge as createSemaphorQueryExecutor,
|
|
1401
|
-
|
|
1402
|
-
|
|
1401
|
+
bt as defineSemaphorDataApp,
|
|
1402
|
+
kt as defineSemaphorInput,
|
|
1403
1403
|
at as isSemaphorInputValueValidForOptions,
|
|
1404
1404
|
Et as semaphor,
|
|
1405
1405
|
Tt as semaphorMetricAggregate,
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import "../chunks/analytics-base-schemas-
|
|
2
|
+
import { m as v, s as m, p as I, a as S } from "../chunks/validators-CXTneCA4.js";
|
|
3
|
+
import { a as F, c as b } from "../chunks/matrix-operation-contract-WPv4R-H_.js";
|
|
4
|
+
import "../chunks/analytics-base-schemas-CHLxsPfX.js";
|
|
5
5
|
import "zod";
|
|
6
6
|
function w(i) {
|
|
7
7
|
var n, r, o;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Z as Q } from "../chunks/matrix-operation-contract-
|
|
3
|
-
import "../chunks/analytics-base-schemas-
|
|
1
|
+
import { ag as b, aj as N, s as O, aC as v, q as E, ab as K, az as l } from "../chunks/validators-CXTneCA4.js";
|
|
2
|
+
import { Z as Q } from "../chunks/matrix-operation-contract-WPv4R-H_.js";
|
|
3
|
+
import "../chunks/analytics-base-schemas-CHLxsPfX.js";
|
|
4
4
|
import "zod";
|
|
5
|
-
import { p as W } from "../chunks/report-runtime-context-
|
|
6
|
-
import {
|
|
5
|
+
import { p as W } from "../chunks/report-runtime-context-BZQh9ywy.js";
|
|
6
|
+
import { d as U } from "../chunks/source-entity-resolution-dUG5VWRm.js";
|
|
7
7
|
import { toSemaphorMetricIntent as J, toSemaphorAnalysisIntent as V, toSemaphorRecordsIntent as G, toSemaphorSqlIntent as L, toSemaphorMatrixIntent as Z, toSemaphorInputOptionsIntent as X } from "../data-app-sdk-adapters/index.js";
|
|
8
|
-
import { m as Y } from "../chunks/matrix-card-
|
|
8
|
+
import { m as Y } from "../chunks/matrix-card-HPskLaPy.js";
|
|
9
9
|
function ee({
|
|
10
10
|
intent: e,
|
|
11
11
|
field: r,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { a as x, b as
|
|
2
|
-
import {
|
|
3
|
-
import { p as
|
|
4
|
-
import { D as
|
|
5
|
-
import { P as
|
|
6
|
-
import { c as
|
|
7
|
-
import { d as
|
|
8
|
-
import { E as
|
|
9
|
-
import { d as b } from "../chunks/table-export-sheet-
|
|
10
|
-
import { T as
|
|
11
|
-
import { t as T } from "../chunks/validators-
|
|
12
|
-
import "../chunks/matrix-operation-contract-
|
|
13
|
-
import { S as
|
|
1
|
+
import { a as x, b as F } from "../chunks/temporal-input-presentation-uvNK_tM0.js";
|
|
2
|
+
import { _ as q, u as j, t as z, M as U, P as H, R as W, V as K, $ as Y, B as G, aa as Q, c as J, a7 as Z, O as ee, a8 as re, a1 as ae, S as te, Q as se, f as oe, T as le, h as ie, o as ne, q as me, g as ue, n as ce, m as pe, l as Ee, j as fe, ab as Te, k as de, a5 as be, ae as Ce, d as Re, e as xe, i as Fe, W as he, y as Se, z as _e, A as we, w as Ae, D as Pe, x as ve, C as Ie, E as ge, F as ye, N as Me, K as De, a9 as Ne, G as Xe, L as Oe, a6 as Le, a2 as ke, a0 as Be, ac as $e, p as Ve, Z as qe, I as je, J as ze, r as Ue, a3 as He, s as We, a4 as Ke, X as Ye, H as Ge, U as Qe, v as Je, Y as Ze, ad as er } from "../chunks/temporal-input-presentation-uvNK_tM0.js";
|
|
3
|
+
import { p as h, m as S, r as f, t as _ } from "../chunks/comparison-window-caption-4FNkMrzE.js";
|
|
4
|
+
import { D as ar, B as tr, F as sr, c as or, M as lr, b as ir, o as nr, l as mr, P as ur, u as cr, q as pr, n as Er, k as fr, j as Tr, g as dr, e as br, f as Cr, E as Rr, G as xr, a as Fr, h as hr, i as Sr, y as _r, s as wr, x as Ar, H as Pr, C as vr, v as Ir, w as gr, d as yr, A as Mr, z as Dr } from "../chunks/comparison-window-caption-4FNkMrzE.js";
|
|
5
|
+
import { P as Xr, d as Or, l as Lr, h as kr, f as Br, a as $r, i as Vr, g as qr, c as jr, e as zr, p as Ur, j as Hr, k as Wr, r as Kr, b as Yr, w as Gr } from "../chunks/pivot-result-contract-expectations-Bl5suy4-.js";
|
|
6
|
+
import { c as w } from "../chunks/export-file-format-C-tJsxsf.js";
|
|
7
|
+
import { d as Jr, a as Zr, C as ea, b as ra, D as aa, E as ta, X as sa, f as oa, i as la, j as ia, g as na, n as ma, m as ua, o as ca, l as pa, e as Ea, p as fa, k as Ta, h as da, r as ba, t as Ca } from "../chunks/export-file-format-C-tJsxsf.js";
|
|
8
|
+
import { E as xa, I as Fa, R as ha, c as Sa, p as _a, a as wa, b as Aa, r as Pa, s as va, w as Ia } from "../chunks/rendered-file-D8xEuVVx.js";
|
|
9
|
+
import { d as b } from "../chunks/table-export-sheet-C_GdeTYU.js";
|
|
10
|
+
import { T as ya, a as Ma, X as Da, b as Na, k as Xa, l as Oa, g as La, h as ka, i as Ba, o as $a, e as Va, p as qa, n as ja, c as za, s as Ua, j as Ha, q as Wa, m as Ka, t as Ya, w as Ga, f as Qa, x as Ja } from "../chunks/table-export-sheet-C_GdeTYU.js";
|
|
11
|
+
import { t as T } from "../chunks/validators-CXTneCA4.js";
|
|
12
|
+
import "../chunks/matrix-operation-contract-WPv4R-H_.js";
|
|
13
|
+
import { S as et, t as rt } from "../chunks/analytics-base-schemas-CHLxsPfX.js";
|
|
14
14
|
import "zod";
|
|
15
|
-
import { FAST_PDF_POLICY as
|
|
16
|
-
import { a as
|
|
17
|
-
import { r as
|
|
18
|
-
import { P as
|
|
19
|
-
import { p as
|
|
15
|
+
import { FAST_PDF_POLICY as tt, PDF_SAFETY_LIMIT_EXCEEDED as st, PDF_TABLE_CARD_TYPES as ot, getUtf8ByteLength as lt, isFastPdfOutputSizeEligible as it, isFastPdfPageCountEligible as nt, isFastPdfRequestSizeEligible as mt, isFastPdfRowCountEligible as ut, isPdfTableCardType as ct } from "../pdf-export-policy/index.js";
|
|
16
|
+
import { a as Et, d as ft } from "../chunks/filter-value-text-CRC-K_l_.js";
|
|
17
|
+
import { r as dt } from "../chunks/metric-comparison-ljMKYZKa.js";
|
|
18
|
+
import { P as Ct, b as Rt, c as xt, r as Ft, a as ht } from "../chunks/pivot-result-identity-vS9TSh4f.js";
|
|
19
|
+
import { p as _t, v as wt } from "../chunks/zoned-wall-clock-B1n_WjW3.js";
|
|
20
20
|
function C(r, t, l) {
|
|
21
21
|
return r.columns.map((s, a) => {
|
|
22
22
|
var n;
|
|
@@ -39,7 +39,7 @@ function R(r, t, l) {
|
|
|
39
39
|
return _({ value: (o == null ? void 0 : o.kind) === "value" ? o.value : null, text: s, column: l[a] });
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function A(r, t) {
|
|
43
43
|
const l = [];
|
|
44
44
|
for (let s = 0; s < t; s += 1) {
|
|
45
45
|
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);
|
|
@@ -49,15 +49,15 @@ function w(r, t) {
|
|
|
49
49
|
}
|
|
50
50
|
return l;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
const s =
|
|
52
|
+
function X(r, t, l) {
|
|
53
|
+
const s = h(r, t, l), a = C(r, 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) => b({
|
|
57
57
|
title: o.title,
|
|
58
58
|
columns: a,
|
|
59
59
|
headerRows: o.includeHeaders ? s.headerBands : [],
|
|
60
|
-
merges: o.includeHeaders ?
|
|
60
|
+
merges: o.includeHeaders ? A(r, s.headerBands.length - 1) : []
|
|
61
61
|
}),
|
|
62
62
|
/** Every row label repeated; subtotal and grand-total rows are 'total' (bold). */
|
|
63
63
|
xlsxRows: (o) => o.map((e) => ({
|
|
@@ -193,205 +193,210 @@ function B(r) {
|
|
|
193
193
|
scope: r.scope,
|
|
194
194
|
target: { kind: "column", columnKey: l }
|
|
195
195
|
}), e = o ? P(a) : null;
|
|
196
|
-
return o && e !== null ?
|
|
196
|
+
return o && e !== null ? F(e, o) : String(a);
|
|
197
197
|
});
|
|
198
|
-
return
|
|
198
|
+
return w(t, r.delimiter);
|
|
199
199
|
}
|
|
200
200
|
export {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
201
|
+
Jr as CSV_CONTENT_TYPE,
|
|
202
|
+
Zr as CSV_DELIMITERS,
|
|
203
|
+
ea as CSV_ENCODINGS,
|
|
204
|
+
ra as CSV_RECORD_SEPARATOR,
|
|
205
|
+
aa as DEFAULT_CSV_ENCODING,
|
|
206
206
|
q as DEFAULT_RESOLVED_TEMPORAL_STYLE_SET,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
207
|
+
ar as DIRECT_CSV_EXPORT_MAX_ROWS,
|
|
208
|
+
xa as EMAIL_IMAGE_DASHBOARD_WIDTH,
|
|
209
|
+
ta as EXPORT_FILE_FORMATS,
|
|
210
|
+
tt as FAST_PDF_POLICY,
|
|
211
|
+
tr as FILTER_LINE_MAX_LISTED_VALUES,
|
|
212
|
+
sr as FULL_DATASET_CSV_EXPORT_MAX_ROWS,
|
|
213
|
+
Fa as IMAGE_CAPTURE_LIMITS,
|
|
214
214
|
j as MATRIX_EXPORT_DECODED_PART_BYTES,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
215
|
+
or as MATRIX_EXPORT_MAX_ARTIFACT_BYTES,
|
|
216
|
+
lr as MATRIX_EXPORT_MAX_CELLS,
|
|
217
|
+
ir as MATRIX_EXPORT_MAX_ENCODED_BYTES,
|
|
218
218
|
z as MATRIX_EXPORT_TRANSFER_BYTES,
|
|
219
|
-
|
|
220
|
-
|
|
219
|
+
nr as MATRIX_PRINT_DEFAULT_DECIMALS,
|
|
220
|
+
mr as MATRIX_PRINT_ORGANIZATION_DEFAULTS,
|
|
221
221
|
U as MissingResolvedRawTemporalFormatError,
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
222
|
+
ur as PDF_GROUP_CONTINUATION_CLASS,
|
|
223
|
+
st as PDF_SAFETY_LIMIT_EXCEEDED,
|
|
224
|
+
ot as PDF_TABLE_CARD_TYPES,
|
|
225
|
+
cr as PdfSafetyLimitError,
|
|
226
|
+
Xr as PivotHeaderPresentationError,
|
|
227
|
+
Ct as PivotResultIdentityError,
|
|
228
228
|
H as PresentationExecutionSnapshotError,
|
|
229
|
-
|
|
229
|
+
ha as RENDERED_FILE_KINDS,
|
|
230
230
|
W as RawTemporalFormatContractError,
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
et as SEMAPHOR_GENERATED_COUNT_METRIC_ID,
|
|
232
|
+
ya as TABLE_EXPORT_SHEET_SAMPLE_ROWS,
|
|
233
233
|
K as TEMPORAL_BUCKET_PATTERN_TOKENS,
|
|
234
234
|
Y as TemporalBucketContractError,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
235
|
+
sa as XLSX_CONTENT_TYPE,
|
|
236
|
+
Ma as XLSX_LIMIT_FAILURE_REASONS,
|
|
237
|
+
Da as XlsxLimitError,
|
|
238
|
+
pr as applyMatrixPrintNumberDefaults,
|
|
239
|
+
Er as applyMatrixPrintOrganization,
|
|
240
240
|
G as assertMatrixBatchResponseSize,
|
|
241
241
|
Q as assertRawTemporalChunkClassificationAgreement,
|
|
242
|
-
|
|
242
|
+
Na as assertXlsxColumnCount,
|
|
243
243
|
B as buildFlatTableExportTotalsFooter,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
244
|
+
fr as buildMatrixPrintTable,
|
|
245
|
+
Tr as buildMatrixTableStructure,
|
|
246
|
+
Sa as cardImageSize,
|
|
247
247
|
J as classifyDeclaredSqlTemporalColumn,
|
|
248
248
|
Z as classifyTemporalLiteral,
|
|
249
249
|
ee as createPresentationExecutionSnapshot,
|
|
250
250
|
re as createRawTemporalChunkClassificationEvidence,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
251
|
+
oa as csvFilePreamble,
|
|
252
|
+
w as csvRecord,
|
|
253
|
+
la as csvRecords,
|
|
254
|
+
dr as dataExportRoute,
|
|
255
|
+
Or as dateWallClock,
|
|
256
|
+
Xa as defineTableExportSheet,
|
|
257
257
|
b as defineXlsxSheet,
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
258
|
+
Lr as deriveMetricInstanceAliasExpectations,
|
|
259
|
+
Et as describeConditionInFullDetail,
|
|
260
|
+
ft as describeFilterValueInFullDetail,
|
|
261
261
|
ae as describeTemporalBucketCalendar,
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
262
|
+
ia as encodeCsvFile,
|
|
263
|
+
Oa as encodeTableExportWorkbook,
|
|
264
|
+
La as encodeXlsxFile,
|
|
265
|
+
ka as encodeXlsxRows,
|
|
266
|
+
na as escapeCSVValue,
|
|
267
|
+
br as exportCellText,
|
|
268
|
+
ma as exportFileFormatFromContentType,
|
|
269
|
+
ua as exportFileFormatFromStored,
|
|
270
|
+
ca as exportFileName,
|
|
271
|
+
pa as exportFileTraits,
|
|
272
272
|
te as findResolvedDateFormat,
|
|
273
273
|
x as findResolvedMeasureFormat,
|
|
274
274
|
se as findResolvedNumericFormat,
|
|
275
275
|
oe as findResolvedRawTemporalFormat,
|
|
276
276
|
le as findResolvedTemporalBucketFormat,
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
Cr as formatCanonicalComparisonRange,
|
|
278
|
+
kr as formatCellValue,
|
|
279
279
|
ie as formatCurrency,
|
|
280
|
-
|
|
280
|
+
Br as formatDate,
|
|
281
281
|
ne as formatDuration,
|
|
282
282
|
me as formatDurationCanonical,
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
283
|
+
Rr as formatFilterCondition,
|
|
284
|
+
xr as formatFilterLine,
|
|
285
|
+
F as formatMeasureCanonical,
|
|
286
|
+
Fr as formatMetricComparison,
|
|
287
287
|
ue as formatNumber,
|
|
288
288
|
ce as formatNumberCustom,
|
|
289
289
|
pe as formatNumberWithColumnSettings,
|
|
290
290
|
Ee as formatNumericCanonical,
|
|
291
291
|
fe as formatPercent,
|
|
292
292
|
Te as formatRawTemporalValue,
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
$r as formatRelativeTime,
|
|
294
|
+
Vr as formatRowForExport,
|
|
295
295
|
de as formatScientific,
|
|
296
296
|
be as formatTemporalBucket,
|
|
297
297
|
Ce as formatTemporalInputValue,
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
298
|
+
Re as fromSemanticFormat,
|
|
299
|
+
qr as getTimezoneAbbreviation,
|
|
300
|
+
jr as getTimezoneName,
|
|
301
|
+
lt as getUtf8ByteLength,
|
|
302
|
+
it as isFastPdfOutputSizeEligible,
|
|
303
|
+
nt as isFastPdfPageCountEligible,
|
|
304
|
+
mt as isFastPdfRequestSizeEligible,
|
|
305
|
+
ut as isFastPdfRowCountEligible,
|
|
306
|
+
xe as isMeasureCanonicalFormat,
|
|
307
|
+
Fe as isNumericCanonicalFormat,
|
|
308
|
+
ct as isPdfTableCardType,
|
|
309
309
|
he as isTemporalBucketPreset,
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
310
|
+
Ba as isXlsxLimitError,
|
|
311
|
+
Se as matrixAttemptKey,
|
|
312
|
+
_e as matrixBatchInputSchema,
|
|
313
|
+
we as matrixBatchResponseSchema,
|
|
314
314
|
Ae as matrixExportDeadlineSchema,
|
|
315
|
-
|
|
316
|
-
|
|
315
|
+
hr as matrixFlatCsvHeaders,
|
|
316
|
+
Sr as matrixFlatCsvRow,
|
|
317
317
|
S as matrixFlatRowText,
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
318
|
+
Pe as matrixManifestSchema,
|
|
319
|
+
Ea as parseCsvDelimiter,
|
|
320
|
+
fa as parseCsvEncoding,
|
|
321
|
+
Ta as parseExportFileFormat,
|
|
322
322
|
k as parseFlatTableExportTotalsByColumnId,
|
|
323
323
|
L as parseFlatTableExportTotalsRequest,
|
|
324
|
-
|
|
325
|
-
|
|
324
|
+
_a as parseImageCaptureRequest,
|
|
325
|
+
ve as parseMatrixAttemptKey,
|
|
326
326
|
Ie as parseMatrixBatchResponse,
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
327
|
+
ge as parseMatrixManifest,
|
|
328
|
+
ye as parseNumericCanonicalFormat,
|
|
329
|
+
Me as parsePresentationExecutionSnapshot,
|
|
330
|
+
De as parsePresentationScope,
|
|
331
331
|
Ne as parseRawTemporalChunkClassificationEvidence,
|
|
332
|
-
|
|
332
|
+
_t as parseRawTemporalValueMetadata,
|
|
333
333
|
Xe as parseResolvedNumericCanonicalFormat,
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
334
|
+
Oe as parseResolvedPresentationEntries,
|
|
335
|
+
Le as parseResolvedRawTemporalFormat,
|
|
336
|
+
ke as parseResolvedTemporalBucketFormat,
|
|
337
|
+
_r as parseTableExportFormatting,
|
|
338
|
+
$a as parseTableExportSheetColumns,
|
|
339
|
+
Be as parseTemporalBucketValue,
|
|
340
|
+
$e as parseTemporalInputPresentation,
|
|
341
|
+
zr as parseWithSourceTimezone,
|
|
342
|
+
Va as parseXlsxColumns,
|
|
343
|
+
qa as parseXlsxSheet,
|
|
344
|
+
Ur as pickColumnFormat,
|
|
345
|
+
wa as planImageViewport,
|
|
346
|
+
wr as planMatrixKeepWithPrevious,
|
|
347
|
+
h as prepareMatrixExportPresentation,
|
|
347
348
|
O as prepareMatrixFlatXlsxPresentation,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
Ue as
|
|
372
|
-
|
|
373
|
-
|
|
349
|
+
Hr as prepareMatrixFormatting,
|
|
350
|
+
X as prepareMatrixXlsxPresentation,
|
|
351
|
+
Ve as prepareRawTemporalFormatter,
|
|
352
|
+
Ar as prepareTableExport,
|
|
353
|
+
Wr as presentPivotHeader,
|
|
354
|
+
da as protectCSVText,
|
|
355
|
+
Pr as readAttachmentFilterLineValues,
|
|
356
|
+
vr as readNamedRelativeWindow,
|
|
357
|
+
Ir as readPdfErrorResponse,
|
|
358
|
+
Aa as renderedFileName,
|
|
359
|
+
Pa as renderedFileTraits,
|
|
360
|
+
gr as requestStructuredPdf,
|
|
361
|
+
Rt as requirePivotHeaderMembers,
|
|
362
|
+
xt as requirePivotResultColumnIdentities,
|
|
363
|
+
yr as requiresChunkedCsvExport,
|
|
364
|
+
Mr as requiresRawTemporalSqlChunkEvidence,
|
|
365
|
+
qe as resolveApplicableTemporalBucketFormat,
|
|
366
|
+
Kr as resolveColumnFormat,
|
|
367
|
+
ba as resolveCsvEncoding,
|
|
368
|
+
je as resolveCurrencyFractionDigits,
|
|
369
|
+
dt as resolveMetricResultAlias,
|
|
370
|
+
ze as resolveNumericPresentation,
|
|
371
|
+
Ft as resolveQueryColumnKeyMapEntry,
|
|
372
|
+
Ue as resolveRawTemporalFormat,
|
|
373
|
+
He as resolveTemporalBucketPresentation,
|
|
374
|
+
Yr as resolveTimezone,
|
|
375
|
+
ht as resolveUniqueQueryColumnKeyMapEntry,
|
|
374
376
|
f as resolveXlsxColumn,
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
Ye as
|
|
389
|
-
Ge as
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
377
|
+
ja as serializeTableExportSheetColumns,
|
|
378
|
+
za as serializeXlsxColumns,
|
|
379
|
+
Ua as serializeXlsxSheet,
|
|
380
|
+
va as sheetImageEntryName,
|
|
381
|
+
We as storedRawDatePresentation,
|
|
382
|
+
Ha as streamXlsxFile,
|
|
383
|
+
Dr as tableExportFormattingFromOptions,
|
|
384
|
+
Wa as tableExportJobSheet,
|
|
385
|
+
Ka as tableExportSheetColumns,
|
|
386
|
+
Ya as tableExportXlsxRows,
|
|
387
|
+
Ke as temporalBucketWallClock,
|
|
388
|
+
Ca as toCsvCell,
|
|
389
|
+
rt as toStoredValueFormat,
|
|
390
|
+
Ye as tokenizeTemporalBucketPattern,
|
|
391
|
+
Ge as validateCardExportNumericPresentationSnapshot,
|
|
392
|
+
Qe as validateCardExportPresentationSnapshot,
|
|
393
|
+
Je as validateRawTemporalPattern,
|
|
394
|
+
wt as validateRawTemporalResultColumn,
|
|
395
|
+
Ze as validateTemporalBucketFormatApplicability,
|
|
396
|
+
er as validateTemporalInputPattern,
|
|
397
|
+
Gr as withLiveModelFormats,
|
|
398
|
+
Ga as withXlsxSheetColumns,
|
|
399
|
+
Ia as writeImageCaptureRequest,
|
|
400
|
+
Qa as xlsxColumnsFingerprint,
|
|
401
|
+
Ja as xlsxLimitFailureReason
|
|
397
402
|
};
|