react-semaphor 0.1.559 → 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 -361
- 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-B_4bVE6I.js → assistant-chat-Bu2fFm_I.js} +206 -207
- package/dist/chunks/{bookmark-state-ssqrs5oP.js → bookmark-state-BFY9oNmr.js} +3 -3
- package/dist/chunks/{braces-Rdxa3H-s.js → braces-Da41xfUd.js} +1 -1
- package/dist/chunks/{comparison-window-caption-CKzQ5LcF.js → comparison-window-caption-4FNkMrzE.js} +166 -166
- package/dist/chunks/{context-DVy4HOU0.js → context-BgPDzLHZ.js} +1 -1
- package/dist/chunks/{custom-visual-inputs-zVa9wX_o.js → custom-visual-inputs-Dz-enUNR.js} +1 -1
- package/dist/chunks/{dashboard-BziwOVpZ.js → dashboard-_MeBuy67.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CbeNR-YI.js → dashboard-briefing-launcher-CEi4Pr_v.js} +1152 -1166
- package/dist/chunks/{dashboard-controls-RD6UJs1r.js → dashboard-controls-Bi7fyG-4.js} +98 -98
- package/dist/chunks/{dashboard-json-DGpv17vL.js → dashboard-json-B1mU_OMa.js} +5 -5
- package/dist/chunks/{document-dashboard-inputs-ChVkcBuu.js → document-dashboard-inputs-CkWfDB8c.js} +64 -64
- package/dist/chunks/{edit-dashboard-visual-AQ2pQkFp.js → edit-dashboard-visual-0CJN31Y3.js} +8375 -8615
- package/dist/chunks/filter-reach-copy-BF4w4kI2.js +3738 -0
- package/dist/chunks/{filter-value-text-B4l-xqJT.js → filter-value-text-CRC-K_l_.js} +3 -3
- package/dist/chunks/{global-date-filter-utils-DBzEOX9M.js → global-date-filter-utils-D8365uPH.js} +4068 -3401
- package/dist/chunks/{index-B1Xr7W24.js → index-DtHidOPV.js} +579 -604
- package/dist/chunks/{layout-grid-Bbz3zKif.js → layout-grid-BvsH4RY2.js} +1 -1
- package/dist/chunks/{list-filter-3sbH0Uy1.js → list-filter-Dg0otx5E.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-CEe3PGEo.js → matrix-analytical-definition-CM18W8w6.js} +4 -4
- package/dist/chunks/{matrix-card-BRNGb1C4.js → matrix-card-HPskLaPy.js} +3 -3
- package/dist/chunks/{matrix-member-presentation-CEegvTqg.js → matrix-member-presentation-Bbrfrke4.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-COxrfQTS.js → matrix-operation-contract-WPv4R-H_.js} +110 -110
- package/dist/chunks/{metric-comparison-DQx-uX__.js → metric-comparison-ljMKYZKa.js} +2 -2
- package/dist/chunks/{model-change-CJEj3ZD6.js → model-change-Ccn1zaxl.js} +1 -1
- package/dist/chunks/{palette-DMJtp3Vn.js → palette-Bsh376zO.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-DOYhqeZb.js → pivot-result-contract-expectations-Bl5suy4-.js} +602 -696
- package/dist/chunks/{pivot-result-identity-CAj8SiRL.js → pivot-result-identity-vS9TSh4f.js} +1 -1
- package/dist/chunks/{raw-temporal-presentation-BmT7z6NH.js → raw-temporal-presentation-BHm7s-hz.js} +230 -274
- package/dist/chunks/{report-preferences-dialog-0sc8B1lh.js → report-preferences-dialog-BV8L0SeS.js} +55 -55
- package/dist/chunks/{report-runtime-context-bYoExeWr.js → report-runtime-context-BZQh9ywy.js} +2 -2
- package/dist/chunks/{resolve-dashboard-input-context-B_C_VAJH.js → resolve-dashboard-input-context-CAMiWvyR.js} +1749 -1989
- package/dist/chunks/{save-DSb1jTtG.js → save-B5EAsgQF.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-BQWM3ldX.js → saved-dashboard-context-n2Wn11cV.js} +57 -57
- package/dist/chunks/{selection-reducer-DSzMWb4x.js → selection-reducer-D0YnaAD9.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-Bz14Oma5.js → semaphor-ready-indicator-XLBLOJ2V.js} +38374 -39104
- package/dist/chunks/{shelf-drop-preview-context-DBHAkgch.js → shelf-drop-preview-context-DHMa54a-.js} +570 -570
- package/dist/chunks/{source-entity-resolution-BOrmNCEM.js → source-entity-resolution-dUG5VWRm.js} +1 -1
- package/dist/chunks/{switch-Dq8XPFpT.js → switch-ByxH4M7t.js} +3 -3
- package/dist/chunks/{table-export-sheet-C_RvEUyO.js → table-export-sheet-C_GdeTYU.js} +1 -1
- package/dist/chunks/{table-settings-DXj_zXwS.js → table-settings-Imz0FgWi.js} +6 -6
- package/dist/chunks/{temporal-input-presentation-AhLSkGPf.js → temporal-input-presentation-uvNK_tM0.js} +1109 -820
- package/dist/chunks/{token-types-LCYMJ3pa.js → token-types-CQtXUVMy.js} +1 -1
- package/dist/chunks/{upload-Dr_WAxHQ.js → upload-wbR-NVzq.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-BK3YFkfc.js → use-create-flow-overlay-state-CEBaLOKC.js} +6 -6
- package/dist/chunks/{validators-C87JPd-_.js → validators-CXTneCA4.js} +1206 -1579
- 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 -1497
- package/dist/data-app-sdk/index.js +5 -5
- 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 +11 -43
- package/dist/types/lib/utils/card-config-utils.d.ts +8 -0
- 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/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/index.d.ts +5 -0
- 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-B5Y7FHzg.js +0 -3411
- 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
package/dist/chunks/{document-dashboard-inputs-ChVkcBuu.js → document-dashboard-inputs-CkWfDB8c.js}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { aC as bn } from "./validators-
|
|
4
|
-
import { d as le } from "./matrix-operation-contract-
|
|
5
|
-
import "./analytics-base-schemas-
|
|
1
|
+
import { dd as vt, de as Se, df as M, dg as R, dh as Fe, d as W, di as yt, dj as Dt, dk as St, dl as Ft, dm as Vt, dn as Ve, dp as kt, dq as ne, dr as Y, ds as oe, dt as Mt, a0 as se, i as j, du as Tt, dv as Ot, dw as z, dx as ie, dy as $, dz as ke, dA as xt, dB as wt, dC as Pt, v as Me, dD as Et, dE as Rt, dF as Bt, cb as Te, dG as Oe, Z as xe, dH as we, n as Pe, b as Ee, dI as qt, bF as At, a2 as Nt, aw as Re, bE as Be, dJ as zt, bq as jt, a7 as qe, a6 as _t, dK as Ae } from "./global-date-filter-utils-D8365uPH.js";
|
|
2
|
+
import { R as Gt, r as re, Z as Lt, _ as Ht, $ as Kt, a0 as Qt, a1 as $t, l as ae, a2 as Ut, J as Ne, a3 as Wt, S as Yt, y as Zt, a4 as Jt, a5 as Xt, a6 as en, a7 as tn, a8 as nn, a9 as on, aa as sn, O as rn, ab as an, c as ln, ac as ze, ad as dn, ae as cn, z as un, af as fn, K as pn, ag as je, ah as mn, ai as In } from "./resolve-dashboard-input-context-CAMiWvyR.js";
|
|
3
|
+
import { aC as bn } from "./validators-CXTneCA4.js";
|
|
4
|
+
import { d as le } from "./matrix-operation-contract-WPv4R-H_.js";
|
|
5
|
+
import "./analytics-base-schemas-CHLxsPfX.js";
|
|
6
6
|
import "zod";
|
|
7
7
|
import "./index-CuHybtft.js";
|
|
8
8
|
import "../value-format-preferences/index.js";
|
|
9
9
|
import "./_commonjsHelpers-DimLPMtv.js";
|
|
10
|
-
import "./temporal-input-presentation-
|
|
11
|
-
import { J as hn,
|
|
10
|
+
import "./temporal-input-presentation-uvNK_tM0.js";
|
|
11
|
+
import { J as hn, x as de, K as B, I as X, q as gn, j as Cn, o as vn, L as G, A as yn } from "./table-settings-Imz0FgWi.js";
|
|
12
12
|
import "./index-CJW5BdWT.js";
|
|
13
|
-
import { r as _e, B as ce } from "./bookmark-state-
|
|
14
|
-
import {
|
|
15
|
-
import { r as Dn, i as Ge } from "./matrix-card-
|
|
16
|
-
import { D as Sn } from "./report-runtime-context-
|
|
13
|
+
import { r as _e, B as ce } from "./bookmark-state-BFY9oNmr.js";
|
|
14
|
+
import { s as he } from "./pivot-result-contract-expectations-Bl5suy4-.js";
|
|
15
|
+
import { r as Dn, i as Ge } from "./matrix-card-HPskLaPy.js";
|
|
16
|
+
import { D as Sn } from "./report-runtime-context-BZQh9ywy.js";
|
|
17
17
|
import { c as Fn } from "./selection-filter-compiler-BKXmyLrS.js";
|
|
18
18
|
function ue(e, t) {
|
|
19
19
|
const n = {};
|
|
@@ -97,10 +97,10 @@ function xn(e, t) {
|
|
|
97
97
|
temporalBucket: e.temporalBucket
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
function Pn(e, t) {
|
|
101
|
-
return Se(e) ? wn(e, t) : e.config ?? {};
|
|
102
|
-
}
|
|
103
100
|
function wn(e, t) {
|
|
101
|
+
return Se(e) ? Pn(e, t) : e.config ?? {};
|
|
102
|
+
}
|
|
103
|
+
function Pn(e, t) {
|
|
104
104
|
var o;
|
|
105
105
|
const n = (o = t == null ? void 0 : t.steps[t.steps.length - 1]) == null ? void 0 : o.toField;
|
|
106
106
|
return n ? Gt(e.config ?? {}, n, {
|
|
@@ -499,7 +499,7 @@ function Nn(e, t) {
|
|
|
499
499
|
i(c);
|
|
500
500
|
return o;
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function zn({
|
|
503
503
|
sectionIds: e,
|
|
504
504
|
...t
|
|
505
505
|
}) {
|
|
@@ -508,7 +508,7 @@ function jn({
|
|
|
508
508
|
...t,
|
|
509
509
|
sectionId: i
|
|
510
510
|
})
|
|
511
|
-
), s =
|
|
511
|
+
), s = jn(
|
|
512
512
|
t.dashboard,
|
|
513
513
|
t.sheetId,
|
|
514
514
|
e
|
|
@@ -535,7 +535,7 @@ function jn({
|
|
|
535
535
|
}
|
|
536
536
|
};
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function jn(e, t, n) {
|
|
539
539
|
var i, r;
|
|
540
540
|
const o = new Set(n), s = (i = e.sheets) == null ? void 0 : i.find((a) => a.id === t);
|
|
541
541
|
return (((r = s == null ? void 0 : s.document) == null ? void 0 : r.sections) || []).flatMap(
|
|
@@ -696,7 +696,7 @@ function We(e, t, n) {
|
|
|
696
696
|
var d;
|
|
697
697
|
return oe(
|
|
698
698
|
a,
|
|
699
|
-
|
|
699
|
+
zn({
|
|
700
700
|
dashboard: e,
|
|
701
701
|
sheetId: c.id,
|
|
702
702
|
sheetKind: "document",
|
|
@@ -1369,7 +1369,7 @@ function Is(e) {
|
|
|
1369
1369
|
};
|
|
1370
1370
|
}
|
|
1371
1371
|
function ye(e) {
|
|
1372
|
-
const t =
|
|
1372
|
+
const t = j(e.filter);
|
|
1373
1373
|
return {
|
|
1374
1374
|
inputId: e.inputId,
|
|
1375
1375
|
filterId: e.filterId,
|
|
@@ -1390,7 +1390,7 @@ function eo(e) {
|
|
|
1390
1390
|
fieldCandidates: [],
|
|
1391
1391
|
resolution: { status: "none" }
|
|
1392
1392
|
};
|
|
1393
|
-
const t = e.inputs.filter((r) => !
|
|
1393
|
+
const t = e.inputs.filter((r) => !j(r.filter)).map((r) => ({
|
|
1394
1394
|
input: r,
|
|
1395
1395
|
resolution: Tt({
|
|
1396
1396
|
filter: r.filter,
|
|
@@ -1404,7 +1404,7 @@ function eo(e) {
|
|
|
1404
1404
|
if (!e.temporalBinding)
|
|
1405
1405
|
return { inputs: e.inputs, fieldCandidates: t, resolution: { status: "none" } };
|
|
1406
1406
|
const n = e.inputs.find(
|
|
1407
|
-
(r) =>
|
|
1407
|
+
(r) => j(r.filter)
|
|
1408
1408
|
);
|
|
1409
1409
|
if (n && ((i = n.filterValue) == null ? void 0 : i.filterId) === n.filterId && n.effectiveFilterValue.filterId === n.filterId && Ot(n.effectiveFilterValue))
|
|
1410
1410
|
return {
|
|
@@ -1527,7 +1527,7 @@ function at(e) {
|
|
|
1527
1527
|
};
|
|
1528
1528
|
}
|
|
1529
1529
|
function io(e) {
|
|
1530
|
-
const t =
|
|
1530
|
+
const t = z(e.filters);
|
|
1531
1531
|
if (!t)
|
|
1532
1532
|
return e.filterValues;
|
|
1533
1533
|
const n = rt(e);
|
|
@@ -1583,7 +1583,7 @@ function lt(e) {
|
|
|
1583
1583
|
...u ? { temporalPrecision: u } : {}
|
|
1584
1584
|
};
|
|
1585
1585
|
}
|
|
1586
|
-
function
|
|
1586
|
+
function w(e) {
|
|
1587
1587
|
return typeof e == "string" ? e.trim() : "";
|
|
1588
1588
|
}
|
|
1589
1589
|
function ro(e) {
|
|
@@ -1591,17 +1591,17 @@ function ro(e) {
|
|
|
1591
1591
|
return (((t = e.semanticContext) == null ? void 0 : t.selectedEntities) || []).filter((n) => typeof n == "object" && n !== null).filter((n) => n.type === "dataset").map((n) => {
|
|
1592
1592
|
var o;
|
|
1593
1593
|
return {
|
|
1594
|
-
domainId:
|
|
1595
|
-
datasetName:
|
|
1596
|
-
selectedEntityId:
|
|
1594
|
+
domainId: w(n.domainId) || w((o = e.semanticContext) == null ? void 0 : o.semanticDomainId),
|
|
1595
|
+
datasetName: w(n.name),
|
|
1596
|
+
selectedEntityId: w(n.id)
|
|
1597
1597
|
};
|
|
1598
1598
|
}).filter((n) => n.domainId && n.datasetName);
|
|
1599
1599
|
}
|
|
1600
1600
|
function ao(e) {
|
|
1601
1601
|
var c, d, l, u, f;
|
|
1602
|
-
if (
|
|
1602
|
+
if (j(e) || (c = e.sql) != null && c.trim())
|
|
1603
1603
|
return null;
|
|
1604
|
-
const t = ro(e), n =
|
|
1604
|
+
const t = ro(e), n = w((d = e.semanticContext) == null ? void 0 : d.semanticDomainId), o = w((l = e.fieldMeta) == null ? void 0 : l.entityId), s = w((u = e.fieldMeta) == null ? void 0 : u.entityName), i = w((f = e.fieldMeta) == null ? void 0 : f.entityType) === "dataset", r = t.find(
|
|
1605
1605
|
(p) => o && p.selectedEntityId === o
|
|
1606
1606
|
);
|
|
1607
1607
|
if (r)
|
|
@@ -1623,17 +1623,17 @@ function lo(e) {
|
|
|
1623
1623
|
return o && ((i = (s = n.domainsById[o.domainId]) == null ? void 0 : s.datasetsByName[o.datasetName]) == null ? void 0 : i.primaryDateField) || null;
|
|
1624
1624
|
}
|
|
1625
1625
|
function dt(e) {
|
|
1626
|
-
const t =
|
|
1626
|
+
const t = z(e.filters);
|
|
1627
1627
|
return t ? e.filterValues.filter(
|
|
1628
1628
|
(n) => n.filterId !== t.id
|
|
1629
1629
|
) : e.filterValues;
|
|
1630
1630
|
}
|
|
1631
1631
|
function hs(e) {
|
|
1632
|
-
const t =
|
|
1632
|
+
const t = z(e.filters), n = dt({
|
|
1633
1633
|
filters: e.filters,
|
|
1634
1634
|
filterValues: e.filterValues
|
|
1635
1635
|
});
|
|
1636
|
-
if (!t ||
|
|
1636
|
+
if (!t || j(e.filter))
|
|
1637
1637
|
return n;
|
|
1638
1638
|
const o = e.filterValues.find(
|
|
1639
1639
|
(r) => r.filterId === t.id
|
|
@@ -1652,7 +1652,7 @@ function hs(e) {
|
|
|
1652
1652
|
}
|
|
1653
1653
|
function co(e) {
|
|
1654
1654
|
var l;
|
|
1655
|
-
const t =
|
|
1655
|
+
const t = z(e.filters), n = t ? e.cardFilterValues.find(
|
|
1656
1656
|
(u) => u.filterId === t.id
|
|
1657
1657
|
) : void 0, o = t ? e.cardFilterValues.filter(
|
|
1658
1658
|
(u) => u.filterId !== t.id
|
|
@@ -1694,7 +1694,7 @@ function co(e) {
|
|
|
1694
1694
|
};
|
|
1695
1695
|
}
|
|
1696
1696
|
function gs(e) {
|
|
1697
|
-
const t =
|
|
1697
|
+
const t = z(e.filters), n = rt(e), o = t ? e.filterValues.find(
|
|
1698
1698
|
(r) => r.filterId === t.id
|
|
1699
1699
|
) : void 0, s = dt(e);
|
|
1700
1700
|
return !t || !o || !me(o.operation) ? s : [
|
|
@@ -1727,7 +1727,7 @@ function fo(e, t, n) {
|
|
|
1727
1727
|
...n,
|
|
1728
1728
|
spec: o.spec,
|
|
1729
1729
|
catalog: t.map((l) => ({ ...l, id: l.resolvedField.id }))
|
|
1730
|
-
}), i = s ? { ...o, spec: s.spec } : o, r =
|
|
1730
|
+
}), i = s ? { ...o, spec: s.spec } : o, r = wt(t), a = Pt(t), c = (l) => {
|
|
1731
1731
|
const u = a(l, i.spec.source);
|
|
1732
1732
|
if (!(!u && l.derivedField)) {
|
|
1733
1733
|
if (!u) throw new uo(`Matrix field metadata is unavailable: ${l.name}`);
|
|
@@ -1831,7 +1831,7 @@ function ut(e, t = {}) {
|
|
|
1831
1831
|
};
|
|
1832
1832
|
}
|
|
1833
1833
|
function bo(e, t, n) {
|
|
1834
|
-
const o =
|
|
1834
|
+
const o = wn(e, t);
|
|
1835
1835
|
return Se(e) ? Io(
|
|
1836
1836
|
{ ...o, filters: n },
|
|
1837
1837
|
e.type
|
|
@@ -1932,9 +1932,9 @@ function Co({
|
|
|
1932
1932
|
cardType: e.type,
|
|
1933
1933
|
dataSource: e.dataSource,
|
|
1934
1934
|
temporalResultOwner: xe({
|
|
1935
|
-
hasExecutableConfig:
|
|
1935
|
+
hasExecutableConfig: we(v, e.type),
|
|
1936
1936
|
sql: e.sql,
|
|
1937
|
-
normalizedPython:
|
|
1937
|
+
normalizedPython: Pe(e.python || "")
|
|
1938
1938
|
})
|
|
1939
1939
|
}) || v, k = mo(g) || "", H = I ? ft(
|
|
1940
1940
|
e,
|
|
@@ -2141,7 +2141,7 @@ function Vo({
|
|
|
2141
2141
|
(b) => b.status === "apply" ? [[b.inputId, b.filterValue]] : []
|
|
2142
2142
|
)
|
|
2143
2143
|
)
|
|
2144
|
-
}), f =
|
|
2144
|
+
}), f = z(c), p = !!(f && u.cardFilterValues.some(
|
|
2145
2145
|
(b) => b.filterId === f.id
|
|
2146
2146
|
)), m = u.resolvedPrimaryDateField && !((I = e.sql) != null && I.trim()) ? u.dateComparisonPlan.inputs.length ? vo({
|
|
2147
2147
|
card: e,
|
|
@@ -2195,8 +2195,8 @@ function ko(e, t, n) {
|
|
|
2195
2195
|
s.queryContext,
|
|
2196
2196
|
n.calendarContext,
|
|
2197
2197
|
{ resolvePaginationConfig: n.resolvePaginationConfig }
|
|
2198
|
-
), f = t.queryRelevantConfig, p =
|
|
2199
|
-
hasExecutableConfig:
|
|
2198
|
+
), f = t.queryRelevantConfig, p = Pe(e.python || ""), m = xe({
|
|
2199
|
+
hasExecutableConfig: we(f, e.type),
|
|
2200
2200
|
sql: e.sql,
|
|
2201
2201
|
normalizedPython: p
|
|
2202
2202
|
});
|
|
@@ -2248,7 +2248,7 @@ function Oo({
|
|
|
2248
2248
|
dashboardRuntimeValues: o,
|
|
2249
2249
|
calendar: s
|
|
2250
2250
|
}) {
|
|
2251
|
-
const i =
|
|
2251
|
+
const i = ze({
|
|
2252
2252
|
dashboard: t,
|
|
2253
2253
|
dashboardInputValues: o.dashboardInputValues,
|
|
2254
2254
|
transientContexts: void 0
|
|
@@ -2312,7 +2312,7 @@ function Ds({
|
|
|
2312
2312
|
inputContext: o.inputContext
|
|
2313
2313
|
};
|
|
2314
2314
|
}
|
|
2315
|
-
function
|
|
2315
|
+
function wo(e, t, n) {
|
|
2316
2316
|
return {
|
|
2317
2317
|
calendarContext: n ?? Sn,
|
|
2318
2318
|
allowGlobalDateMinutePrecision: ie(
|
|
@@ -2330,7 +2330,7 @@ function Ss(e, t) {
|
|
|
2330
2330
|
t.allowGlobalDateMinutePrecision
|
|
2331
2331
|
);
|
|
2332
2332
|
}
|
|
2333
|
-
function
|
|
2333
|
+
function Po(e, t, n = {}) {
|
|
2334
2334
|
const o = It(e, t);
|
|
2335
2335
|
return {
|
|
2336
2336
|
...ko(e.card, e.context, {
|
|
@@ -2377,7 +2377,7 @@ function Eo({
|
|
|
2377
2377
|
(D) => D.field.source && H.some(
|
|
2378
2378
|
(O) => bn(O, D.field.source)
|
|
2379
2379
|
)
|
|
2380
|
-
), F = fo(y, T, h), { params:
|
|
2380
|
+
), F = fo(y, T, h), { params: P } = k, x = P.dashboardInputContext;
|
|
2381
2381
|
F.config = {
|
|
2382
2382
|
...F.config,
|
|
2383
2383
|
presentation: fn(
|
|
@@ -2388,12 +2388,12 @@ function Eo({
|
|
|
2388
2388
|
...x.controlDefinitions,
|
|
2389
2389
|
...x.cardControlDefinitions
|
|
2390
2390
|
] : [
|
|
2391
|
-
...
|
|
2392
|
-
...
|
|
2391
|
+
...P.dashboardControls ?? r.controls ?? [],
|
|
2392
|
+
...P.card.controls ?? []
|
|
2393
2393
|
],
|
|
2394
2394
|
values: (x == null ? void 0 : x.controlValues) ?? {
|
|
2395
|
-
...
|
|
2396
|
-
...(v =
|
|
2395
|
+
...P.dashboardControlValues,
|
|
2396
|
+
...(v = P.cardControlValuesMap) == null ? void 0 : v[y.id]
|
|
2397
2397
|
}
|
|
2398
2398
|
},
|
|
2399
2399
|
T
|
|
@@ -2432,7 +2432,7 @@ function Eo({
|
|
|
2432
2432
|
missingRequiredLabels: [],
|
|
2433
2433
|
message: d.message
|
|
2434
2434
|
};
|
|
2435
|
-
const { assembled: l, matrix: u } = d.value, f =
|
|
2435
|
+
const { assembled: l, matrix: u } = d.value, f = wo(
|
|
2436
2436
|
r,
|
|
2437
2437
|
o,
|
|
2438
2438
|
n.calendar
|
|
@@ -2457,7 +2457,7 @@ function Eo({
|
|
|
2457
2457
|
S.id,
|
|
2458
2458
|
D.status === "ready" ? D.value.assembled.card : null
|
|
2459
2459
|
])
|
|
2460
|
-
),
|
|
2460
|
+
), P = new Map(
|
|
2461
2461
|
T.map(({ card: S, value: D }) => {
|
|
2462
2462
|
var O;
|
|
2463
2463
|
return [
|
|
@@ -2485,7 +2485,7 @@ function Eo({
|
|
|
2485
2485
|
o,
|
|
2486
2486
|
m,
|
|
2487
2487
|
F,
|
|
2488
|
-
|
|
2488
|
+
P,
|
|
2489
2489
|
x
|
|
2490
2490
|
);
|
|
2491
2491
|
if ((b = q.unresolvedCardIds) != null && b.length)
|
|
@@ -2509,7 +2509,7 @@ function Eo({
|
|
|
2509
2509
|
missingRequiredLabels: v.missingRequiredLabels,
|
|
2510
2510
|
...v.reason === "requiredInput" ? { message: yo(v.missingRequiredLabels) } : {}
|
|
2511
2511
|
};
|
|
2512
|
-
const C = i && !u ?
|
|
2512
|
+
const C = i && !u ? Po(l, f) : void 0;
|
|
2513
2513
|
return {
|
|
2514
2514
|
...v,
|
|
2515
2515
|
...u ? { matrix: u } : {},
|
|
@@ -2577,7 +2577,7 @@ function te(e, t, n, o) {
|
|
|
2577
2577
|
}
|
|
2578
2578
|
function Bo(e, t, n, o, s) {
|
|
2579
2579
|
var c, d;
|
|
2580
|
-
const { dashboard: i, transientContexts: r } = n, a =
|
|
2580
|
+
const { dashboard: i, transientContexts: r } = n, a = ze({
|
|
2581
2581
|
dashboard: i,
|
|
2582
2582
|
dashboardInputValues: o.dashboardInputValues,
|
|
2583
2583
|
transientContexts: r
|
|
@@ -2667,7 +2667,7 @@ function Fs({
|
|
|
2667
2667
|
) : [];
|
|
2668
2668
|
for (const g of I)
|
|
2669
2669
|
Object.assign(m, (a == null ? void 0 : a[g.card.id]) || {});
|
|
2670
|
-
const b =
|
|
2670
|
+
const b = zt({
|
|
2671
2671
|
filterDefinitions: l,
|
|
2672
2672
|
filterValues: p
|
|
2673
2673
|
}), y = io({
|
|
@@ -2744,7 +2744,7 @@ function Vs({
|
|
|
2744
2744
|
};
|
|
2745
2745
|
}
|
|
2746
2746
|
function qo(e, t) {
|
|
2747
|
-
const n =
|
|
2747
|
+
const n = jt({
|
|
2748
2748
|
inputs: e.inputs,
|
|
2749
2749
|
dashboardFilters: [...Be(e)]
|
|
2750
2750
|
}), o = ht(e, t);
|
|
@@ -2808,7 +2808,7 @@ function Ms({
|
|
|
2808
2808
|
runtimeScope: "perSheet",
|
|
2809
2809
|
presentation: { placement: "toolbar" },
|
|
2810
2810
|
control: i,
|
|
2811
|
-
exports:
|
|
2811
|
+
exports: je(i)
|
|
2812
2812
|
};
|
|
2813
2813
|
}
|
|
2814
2814
|
function Ts({
|
|
@@ -2850,7 +2850,7 @@ function Ts({
|
|
|
2850
2850
|
variableName: i,
|
|
2851
2851
|
requiredAtExecution: r.requiredAtExecution,
|
|
2852
2852
|
control: r,
|
|
2853
|
-
exports:
|
|
2853
|
+
exports: je(r)
|
|
2854
2854
|
};
|
|
2855
2855
|
}
|
|
2856
2856
|
function Os(e, t, n) {
|
|
@@ -2890,14 +2890,14 @@ function xs(e, t) {
|
|
|
2890
2890
|
t
|
|
2891
2891
|
);
|
|
2892
2892
|
}
|
|
2893
|
-
function
|
|
2893
|
+
function ws(e) {
|
|
2894
2894
|
var n;
|
|
2895
2895
|
const t = {};
|
|
2896
2896
|
for (const o of e)
|
|
2897
2897
|
o.kind === "filter" && (t[o.id] = ((n = o.slot) == null ? void 0 : n.status) === "cleared" ? void 0 : o.filterValue);
|
|
2898
2898
|
return t;
|
|
2899
2899
|
}
|
|
2900
|
-
function
|
|
2900
|
+
function Ps(e) {
|
|
2901
2901
|
var n;
|
|
2902
2902
|
const t = {};
|
|
2903
2903
|
for (const o of e)
|
|
@@ -2957,7 +2957,7 @@ export {
|
|
|
2957
2957
|
bo as C,
|
|
2958
2958
|
vs as D,
|
|
2959
2959
|
Ds as E,
|
|
2960
|
-
|
|
2960
|
+
Po as F,
|
|
2961
2961
|
ys as G,
|
|
2962
2962
|
gs as H,
|
|
2963
2963
|
Eo as I,
|
|
@@ -2975,8 +2975,8 @@ export {
|
|
|
2975
2975
|
Ts as U,
|
|
2976
2976
|
Os as V,
|
|
2977
2977
|
Es as W,
|
|
2978
|
-
|
|
2979
|
-
|
|
2978
|
+
ws as X,
|
|
2979
|
+
Ps as Y,
|
|
2980
2980
|
_ as Z,
|
|
2981
2981
|
rs as _,
|
|
2982
2982
|
ms as a,
|
|
@@ -2990,7 +2990,7 @@ export {
|
|
|
2990
2990
|
qo as g,
|
|
2991
2991
|
ls as h,
|
|
2992
2992
|
Ss as i,
|
|
2993
|
-
|
|
2993
|
+
wo as j,
|
|
2994
2994
|
ds as k,
|
|
2995
2995
|
Jn as l,
|
|
2996
2996
|
us as m,
|
|
@@ -2999,7 +2999,7 @@ export {
|
|
|
2999
2999
|
os as p,
|
|
3000
3000
|
ns as q,
|
|
3001
3001
|
ho as r,
|
|
3002
|
-
|
|
3002
|
+
zn as s,
|
|
3003
3003
|
An as t,
|
|
3004
3004
|
ss as u,
|
|
3005
3005
|
Tn as v,
|