react-semaphor 0.1.552 → 0.1.554
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 +228 -227
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +3 -3
- package/dist/briefings/index.js +5 -5
- package/dist/chunks/{assistant-chat-sWQaBT61.js → assistant-chat-ngs5dTvo.js} +1275 -1296
- package/dist/chunks/{bookmark-state-Cu-a5ie_.js → bookmark-state-BAeGKd3s.js} +3 -3
- package/dist/chunks/{comparison-window-caption-CF90-I0i.js → comparison-window-caption-C2WNTlxK.js} +44 -44
- package/dist/chunks/{custom-visual-inputs-ByQUyWf4.js → custom-visual-inputs-cTHqcqPu.js} +1 -1
- package/dist/chunks/{dashboard-BjoJI7NN.js → dashboard-548YvEW5.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-DUJQv719.js → dashboard-briefing-launcher-ptIRn5FS.js} +62 -62
- package/dist/chunks/{dashboard-controls-BjnvfcQp.js → dashboard-controls-CqyUTN6Q.js} +46 -46
- package/dist/chunks/{dashboard-json-BqcLekhd.js → dashboard-json-CvDFipA0.js} +4 -4
- package/dist/chunks/{document-dashboard-inputs-PoQihHLu.js → document-dashboard-inputs-DrA9m-5H.js} +119 -119
- package/dist/chunks/{edit-dashboard-visual-KNJQr60W.js → edit-dashboard-visual-BHL0AlIj.js} +4087 -3979
- package/dist/chunks/{filter-reach-copy-zdhUFn6t.js → filter-reach-copy-CyftKCZE.js} +48 -48
- package/dist/chunks/{filter-value-text-Ddf55Ku1.js → filter-value-text-DMrpj4h9.js} +2 -2
- package/dist/chunks/{global-date-filter-utils-C1jCNWdV.js → global-date-filter-utils-Or-3DL3k.js} +6033 -5772
- package/dist/chunks/{index-Dp0ta6KB.js → index-ClwmmbUH.js} +9 -9
- package/dist/chunks/{matrix-analytical-definition-B9vW-osb.js → matrix-analytical-definition-DPVGg1mU.js} +12 -12
- package/dist/chunks/{matrix-card-LiMEipvq.js → matrix-card-CVFVtqyo.js} +2 -2
- package/dist/chunks/{matrix-formatter-C_EpDP6o.js → matrix-formatter-K2OVPJQI.js} +30 -30
- package/dist/chunks/{matrix-member-presentation-DqzG-UhQ.js → matrix-member-presentation-DRWcJ8Mi.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-D6vYkZK4.js → matrix-operation-contract--lMaLlpV.js} +64 -61
- package/dist/chunks/{metric-comparison-zpGw4lD6.js → metric-comparison-CYIt2F5X.js} +1 -1
- package/dist/chunks/{pivot-header-presentation-CQnIDtUv.js → pivot-header-presentation-CX4fkRuG.js} +1 -1
- package/dist/chunks/{pivot-result-identity-C-Q1j1Wb.js → pivot-result-identity-BHJGZwIc.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-pwq3b7LC.js → pivot-result-lifecycle-BygCpOhk.js} +20 -20
- package/dist/chunks/{raw-temporal-presentation-D3i0mnUe.js → raw-temporal-presentation-gooAp93G.js} +6 -6
- package/dist/chunks/{report-preferences-dialog-C0uGI0v7.js → report-preferences-dialog-2tqY0BMQ.js} +49 -49
- package/dist/chunks/{report-runtime-context-hWiTCzFV.js → report-runtime-context-BaIKSaja.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-Cm0b7s-d.js → resolve-dashboard-input-context-bOKDTHfJ.js} +2062 -1986
- package/dist/chunks/{saved-dashboard-context-DCtGmAWe.js → saved-dashboard-context--Hq1juf9.js} +8 -8
- package/dist/chunks/{selection-reducer-CJzkTZio.js → selection-reducer-yw_JgICP.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-ChyotaWB.js → semaphor-ready-indicator-yM4wo-FH.js} +26 -26
- package/dist/chunks/{shelf-drop-preview-context-D09ATIXv.js → shelf-drop-preview-context-BuLzyT1T.js} +119 -119
- package/dist/chunks/{source-entity-resolution-D195CrYS.js → source-entity-resolution-CGymm5td.js} +1 -1
- package/dist/chunks/{switch-wJP6O7ZT.js → switch-B-UTI6v-.js} +2 -2
- package/dist/chunks/{table-export-sheet-DUS_s8Cj.js → table-export-sheet-CgO6gaSM.js} +1 -1
- package/dist/chunks/{table-settings-WysCBj62.js → table-settings-DOT_Bv1m.js} +224 -201
- package/dist/chunks/{temporal-bucket-CQOSbv9-.js → temporal-bucket-C4rqmwaQ.js} +24 -24
- package/dist/chunks/{token-types-BMqRmT-C.js → token-types-DYECHYGH.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-t7JLE_LV.js → use-create-flow-overlay-state-DSXC-LD7.js} +6 -6
- package/dist/chunks/{validators-C-aOQlTB.js → validators-ClKLGDGZ.js} +1077 -1054
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +273 -264
- package/dist/data-app-sdk/index.js +5 -5
- 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 +15 -15
- package/dist/index.js +21 -21
- 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/index.js +6 -6
- package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +3 -0
- package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +3 -2
- package/dist/types/lib/matrix-table/matrix-delivery.d.ts +4 -2
- package/dist/types/lib/utils/card-config-utils.d.ts +61 -0
- package/dist/types/lib/utils/card-definition.d.ts +2 -1
- package/dist/types/lib/utils/card-type-change.d.ts +5 -1
- package/dist/types/shared/analytics-protocol/explorer-input-schemas.d.ts +2 -0
- package/dist/types/shared/analytics-protocol/index.d.ts +2 -2
- package/dist/types/shared/analytics-protocol/matrix-analytical-definition.d.ts +1 -0
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +59 -21
- package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +12 -7
- package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +16 -9
- package/dist/types/shared/dashboard-authoring/document-section-cards.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/legacy-table-routing.d.ts +62 -0
- package/dist/types/shared/dashboard-authoring/matrix-authoring.d.ts +4 -1
- package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +8 -4
- package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +4 -2
- package/package.json +2 -2
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
var Ot = Object.defineProperty;
|
|
2
2
|
var Nt = (e, t, a) => t in e ? Ot(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
3
3
|
var ke = (e, t, a) => Nt(e, typeof t != "symbol" ? t + "" : t, a);
|
|
4
|
-
import { D as it, r as It, b as qt, c as Pt, a as nt, d as Mt } from "../chunks/filter-reach-copy-
|
|
5
|
-
import { N as yi, R as _i, f as Ci, j as Si, l as vi, k as wi, u as xi, q as
|
|
6
|
-
import { M as Lt, N as Bt, O as $e, P as Vt, Q as Gt, R as Ut, S as jt, T as zt, U as Qt, V as Kt, W as Ht, X as Wt, Y as de, Z as Yt, _ as Xt, $ as fe, a0 as Jt, a1 as Zt, a2 as Me, a3 as yt, a4 as oe, a5 as ne, a6 as Ee, a7 as ea, a8 as Le, a9 as ta, aa, ab as sa, ac as ot, ad as ia, ae as na, af as _t, ag as ie, ah as rt, ai as oa, aj as ra, ak as Oe, al as da, am as dt, an as la, ao as lt, ap as ca, aq as ce, ar as ua, as as ct, b as ha, at as fa, au as pa, av as ma, aw as ga, ax as ut, ay as ba, az as Ia, aA as ya, aB as _a, aC as Ca, aD as Sa, aE as va, aF as wa, aG as xa, aH as Fe, aI as
|
|
7
|
-
import {
|
|
8
|
-
import { x as
|
|
9
|
-
import "../chunks/matrix-operation-contract
|
|
4
|
+
import { D as it, r as It, b as qt, c as Pt, a as nt, d as Mt } from "../chunks/filter-reach-copy-CyftKCZE.js";
|
|
5
|
+
import { N as yi, R as _i, f as Ci, j as Si, l as vi, k as wi, u as xi, q as Ti, e as Di, i as ki, y as $i, z as Fi, s as Ai, v as Ri, t as Ei, m as Oi, n as Ni, p as qi, g as Pi, o as Mi, h as Li, x as Bi, w as Vi } from "../chunks/filter-reach-copy-CyftKCZE.js";
|
|
6
|
+
import { M as Lt, N as Bt, O as $e, P as Vt, Q as Gt, R as Ut, S as jt, T as zt, U as Qt, V as Kt, W as Ht, X as Wt, Y as de, Z as Yt, _ as Xt, $ as fe, a0 as Jt, a1 as Zt, a2 as Me, a3 as yt, a4 as oe, a5 as ne, a6 as Ee, a7 as ea, a8 as Le, a9 as ta, aa, ab as sa, ac as ot, ad as ia, ae as na, af as _t, ag as ie, ah as rt, ai as oa, aj as ra, ak as Oe, al as da, am as dt, an as la, ao as lt, ap as ca, aq as ce, ar as ua, as as ct, b as ha, at as fa, au as pa, av as ma, aw as ga, ax as ut, ay as ba, az as Ia, aA as ya, aB as _a, aC as Ca, aD as Sa, aE as va, aF as wa, aG as xa, aH as Fe, aI as Ta } from "../chunks/global-date-filter-utils-Or-3DL3k.js";
|
|
7
|
+
import { cz as Ui, aT as ji, ca as zi, cb as Qi, cq as Ki, cp as Hi, cj as Wi, cr as Yi, cs as Xi, bQ as Ji, bR as Zi, bS as en, bN as tn, bO as an, bP as sn, bJ as nn, bK as on, bM as rn, bL as dn, bT as ln, cM as cn, cc as un, b9 as hn, b8 as fn, c4 as pn, cB as mn, bj as gn, b3 as bn, cF as In, cn as yn, co as _n, aQ as Cn, cE as Sn, bm as vn, cC as wn, bA as xn, ci as Tn, bU as Dn, bB as kn, cO as $n, aL as Fn, cG as An, cm as Rn, aM as En, c3 as On, c2 as Nn, bd as qn, a$ as Pn, b5 as Mn, cK as Ln, bv as Bn, d as Vn, a as Gn, bn as Un, aN as jn, cy as zn, cQ as Qn, b0 as Kn, b1 as Hn, b2 as Wn, bi as Yn, bk as Xn, c7 as Jn, g as Zn, bI as eo, br as to, bH as ao, bE as so, c8 as io, aV as no, aW as oo, cI as ro, bo as lo, ba as co, ck as uo, bf as ho, cw as fo, bt as po, b4 as mo, b_ as go, cP as bo, aR as Io, c0 as yo, c1 as _o, cL as Co, by as So, bq as vo, bs as wo, be as xo, bu as To, ct as Do, cH as ko, aO as $o, cA as Fo, bx as Ao, bb as Ro, bD as Eo, cu as Oo, c5 as No, c6 as qo, aU as Po, cN as Mo, c9 as Lo, cg as Bo, bG as Vo, aY as Go, cv as Uo, cJ as jo, aJ as zo, cx as Qo, bz as Ko, bc as Ho, bW as Wo, a_ as Yo, b6 as Xo, b7 as Jo, cd as Zo, ce as er, aZ as tr, bY as ar, bZ as sr, bX as ir, aX as nr, bF as or, cf as rr, bw as dr, cl as lr, aK as cr, bC as ur, b$ as hr, aS as fr, cD as pr, bl as mr, bp as gr, aP as br, bV as Ir, bh as yr, bg as _r, ch as Cr } from "../chunks/global-date-filter-utils-Or-3DL3k.js";
|
|
8
|
+
import { x as Da, ap as Be, aq as ka, a4 as Ct, ac as $a, a7 as Fa, ae as St, aE as Aa, aC as vt, aD as Ra } from "../chunks/validators-ClKLGDGZ.js";
|
|
9
|
+
import "../chunks/matrix-operation-contract--lMaLlpV.js";
|
|
10
10
|
import "../chunks/analytics-base-schemas-BKs3flFS.js";
|
|
11
11
|
import "zod";
|
|
12
12
|
import { a as Ea, r as Oa } from "../chunks/index-CtoK1Lgu.js";
|
|
13
13
|
import { n as Na } from "../chunks/operators-B3zZoskU.js";
|
|
14
|
-
import { a as
|
|
15
|
-
import { w as re } from "../chunks/table-settings-
|
|
16
|
-
import { D as
|
|
17
|
-
import { v as ve, w as qa } from "../chunks/resolve-dashboard-input-context-
|
|
18
|
-
import {
|
|
19
|
-
import { G as
|
|
20
|
-
import { e as Pa, w as Ma } from "../chunks/metric-comparison-
|
|
21
|
-
import { p as La } from "../chunks/report-runtime-context-
|
|
22
|
-
import { m as
|
|
23
|
-
import { n as ht, t as Ba } from "../chunks/matrix-analytical-definition-
|
|
14
|
+
import { a as vr, b as wr, r as xr } from "../chunks/raw-temporal-presentation-gooAp93G.js";
|
|
15
|
+
import { w as re } from "../chunks/table-settings-DOT_Bv1m.js";
|
|
16
|
+
import { D as Dr, x as kr, y as $r, G as Fr, F as Ar, z as Rr, H as Er, B as Or, A as Nr, v as qr } from "../chunks/table-settings-DOT_Bv1m.js";
|
|
17
|
+
import { v as ve, w as qa } from "../chunks/resolve-dashboard-input-context-bOKDTHfJ.js";
|
|
18
|
+
import { L as Mr, P as Lr, V as Br, Q as Vr, b as Gr, T as Ur, O as jr, z as zr, W as Qr, X as Kr, S as Hr, H as Wr, I as Yr, M as Xr, A as Jr, B as Zr, N as ed, K as td, x as ad, y as sd, p as id, U as nd, J as od, F as rd, R as dd, C as ld, E as cd, D as ud, G as hd } from "../chunks/resolve-dashboard-input-context-bOKDTHfJ.js";
|
|
19
|
+
import { G as pd, F as md, D as gd, E as bd, H as Id, I as yd } from "../chunks/pivot-result-lifecycle-BygCpOhk.js";
|
|
20
|
+
import { e as Pa, w as Ma } from "../chunks/metric-comparison-CYIt2F5X.js";
|
|
21
|
+
import { p as La } from "../chunks/report-runtime-context-BaIKSaja.js";
|
|
22
|
+
import { m as Cd, a as Sd, r as vd } from "../chunks/matrix-card-CVFVtqyo.js";
|
|
23
|
+
import { n as ht, t as Ba } from "../chunks/matrix-analytical-definition-DPVGg1mU.js";
|
|
24
24
|
import "../chunks/index-CuHybtft.js";
|
|
25
25
|
import "../value-format-preferences/index.js";
|
|
26
26
|
import "../chunks/_commonjsHelpers-DimLPMtv.js";
|
|
@@ -38,7 +38,7 @@ function me(e) {
|
|
|
38
38
|
return Va(e) ? e.kind === "semantic" ? !!(e.domainId && e.datasetName) : e.kind === "physical" ? !!(e.connectionId && e.tableName) : !1 : !1;
|
|
39
39
|
}
|
|
40
40
|
function ni(e) {
|
|
41
|
-
return
|
|
41
|
+
return Da(e);
|
|
42
42
|
}
|
|
43
43
|
function wt(e, t) {
|
|
44
44
|
return Be(e, t);
|
|
@@ -456,7 +456,7 @@ function cs(e) {
|
|
|
456
456
|
(t) => t instanceof Date || typeof t == "string"
|
|
457
457
|
);
|
|
458
458
|
}
|
|
459
|
-
function
|
|
459
|
+
function Tt(e, t) {
|
|
460
460
|
if (t === void 0)
|
|
461
461
|
return;
|
|
462
462
|
const a = os(e.dataType), s = e.operation || "in";
|
|
@@ -504,7 +504,7 @@ function Dt(e, t) {
|
|
|
504
504
|
}
|
|
505
505
|
});
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function Dt(e, t, a) {
|
|
508
508
|
return a ? { code: e, message: t, cardId: a } : { code: e, message: t };
|
|
509
509
|
}
|
|
510
510
|
function us(e, t, a) {
|
|
@@ -547,12 +547,12 @@ function ps(e, t) {
|
|
|
547
547
|
const d = fs(n.scope, t);
|
|
548
548
|
if (d === null)
|
|
549
549
|
return s.push(
|
|
550
|
-
|
|
550
|
+
Dt(
|
|
551
551
|
"filter_input_scope_empty",
|
|
552
552
|
`Filter input "${n.label}" was skipped because all scoped cards or tabs were skipped during query validation.`
|
|
553
553
|
)
|
|
554
554
|
), [];
|
|
555
|
-
const u =
|
|
555
|
+
const u = Tt(
|
|
556
556
|
n.filter,
|
|
557
557
|
n.defaultValue
|
|
558
558
|
);
|
|
@@ -604,7 +604,7 @@ function li(e) {
|
|
|
604
604
|
for (const c of a.cards) {
|
|
605
605
|
const m = n.get(c.id);
|
|
606
606
|
if (!m) {
|
|
607
|
-
const k =
|
|
607
|
+
const k = Dt(
|
|
608
608
|
"missing_card_artifact",
|
|
609
609
|
`Card "${c.title}" was skipped because no generated artifact was supplied.`,
|
|
610
610
|
c.id
|
|
@@ -838,7 +838,7 @@ function xs(e) {
|
|
|
838
838
|
if (!(!e || e.kind !== "physical"))
|
|
839
839
|
return [e.databaseName, e.schemaName, e.tableName].filter(Boolean).join(".");
|
|
840
840
|
}
|
|
841
|
-
function
|
|
841
|
+
function Ts(e, t, a, s, r, n) {
|
|
842
842
|
if (e.kind !== "filter")
|
|
843
843
|
return n.push(
|
|
844
844
|
H(
|
|
@@ -912,7 +912,7 @@ function Ds(e, t, a, s, r, n) {
|
|
|
912
912
|
variableName: e.id,
|
|
913
913
|
scope: s,
|
|
914
914
|
filter: y,
|
|
915
|
-
defaultValue:
|
|
915
|
+
defaultValue: Tt(
|
|
916
916
|
y,
|
|
917
917
|
e.defaultValue
|
|
918
918
|
)
|
|
@@ -931,7 +931,7 @@ function Re(e) {
|
|
|
931
931
|
)
|
|
932
932
|
), Array.from(new Set(t));
|
|
933
933
|
}
|
|
934
|
-
function
|
|
934
|
+
function Ds(e) {
|
|
935
935
|
var s, r;
|
|
936
936
|
if (!e.protocolScope) {
|
|
937
937
|
const n = Array.from(new Set(e.boundCardIds));
|
|
@@ -1002,22 +1002,22 @@ function ci(e) {
|
|
|
1002
1002
|
for (const [A, c] of s.sections.entries()) {
|
|
1003
1003
|
const m = typeof c.title == "string" ? c.title : `Section ${A + 1}`, F = c.id || he(m, `section-${A + 1}`);
|
|
1004
1004
|
i.set(F, []);
|
|
1005
|
-
for (const [k,
|
|
1006
|
-
const N = Cs(
|
|
1007
|
-
|
|
1005
|
+
for (const [k, T] of Ue(c).entries()) {
|
|
1006
|
+
const N = Cs(T), R = he(
|
|
1007
|
+
T.id || `${m}-${T.title || `View ${k + 1}`}`,
|
|
1008
1008
|
`card-${A + 1}-${k + 1}`
|
|
1009
1009
|
);
|
|
1010
1010
|
if (!N) {
|
|
1011
1011
|
t.push(
|
|
1012
1012
|
H(
|
|
1013
1013
|
"unsupported_presentation",
|
|
1014
|
-
`Dashboard presentation "${(($ =
|
|
1014
|
+
`Dashboard presentation "${(($ = T.presentation) == null ? void 0 : $.kind) || "unknown"}" is not supported by the dashboard authoring adapter.`,
|
|
1015
1015
|
`card-${R}`
|
|
1016
1016
|
)
|
|
1017
1017
|
);
|
|
1018
1018
|
continue;
|
|
1019
1019
|
}
|
|
1020
|
-
if (((_ =
|
|
1020
|
+
if (((_ = T.analytics) == null ? void 0 : _.kind) === "sql") {
|
|
1021
1021
|
t.push(
|
|
1022
1022
|
H(
|
|
1023
1023
|
"sql_intent_deferred",
|
|
@@ -1028,8 +1028,8 @@ function ci(e) {
|
|
|
1028
1028
|
continue;
|
|
1029
1029
|
}
|
|
1030
1030
|
const O = kt(R, u), E = `card-${O}`;
|
|
1031
|
-
|
|
1032
|
-
const V =
|
|
1031
|
+
T.id && n.set(T.id, E), (g = i.get(F)) == null || g.push(E);
|
|
1032
|
+
const V = T.analytics && "inputs" in T.analytics ? T.analytics.inputs : void 0;
|
|
1033
1033
|
for (const K of V || []) {
|
|
1034
1034
|
const L = d.get(K.inputId) || [];
|
|
1035
1035
|
L.push(E), d.set(K.inputId, L);
|
|
@@ -1037,19 +1037,19 @@ function ci(e) {
|
|
|
1037
1037
|
r.push({
|
|
1038
1038
|
id: E,
|
|
1039
1039
|
frameId: `frame-${O}`,
|
|
1040
|
-
title:
|
|
1041
|
-
description:
|
|
1040
|
+
title: T.title,
|
|
1041
|
+
description: T.description,
|
|
1042
1042
|
type: N,
|
|
1043
|
-
role: Ss(
|
|
1043
|
+
role: Ss(T),
|
|
1044
1044
|
priority: y,
|
|
1045
1045
|
section: m,
|
|
1046
|
-
analyticsIntent: _s(
|
|
1047
|
-
text:
|
|
1046
|
+
analyticsIntent: _s(T.analytics),
|
|
1047
|
+
text: T.text
|
|
1048
1048
|
}), y += 1;
|
|
1049
1049
|
}
|
|
1050
1050
|
}
|
|
1051
1051
|
const C = s.inputs.map((A) => {
|
|
1052
|
-
const c =
|
|
1052
|
+
const c = Ds({
|
|
1053
1053
|
protocolScope: A.scope,
|
|
1054
1054
|
inputLabel: A.label,
|
|
1055
1055
|
allCardIds: r.map((m) => m.id),
|
|
@@ -1058,7 +1058,7 @@ function ci(e) {
|
|
|
1058
1058
|
sectionIdToCardIds: i,
|
|
1059
1059
|
warnings: t
|
|
1060
1060
|
});
|
|
1061
|
-
return c === null ? null :
|
|
1061
|
+
return c === null ? null : Ts(
|
|
1062
1062
|
A,
|
|
1063
1063
|
s.defaultSource,
|
|
1064
1064
|
s.sources,
|
|
@@ -1363,7 +1363,7 @@ function pe(e, t, a, s) {
|
|
|
1363
1363
|
return r ? At(e, r, a, s) : void 0;
|
|
1364
1364
|
}
|
|
1365
1365
|
function Rs(e, t, a, s, r) {
|
|
1366
|
-
var c, m, F, k,
|
|
1366
|
+
var c, m, F, k, T, N;
|
|
1367
1367
|
const n = oe(e, { sql: !0 });
|
|
1368
1368
|
if (!n.editable) return [n.message];
|
|
1369
1369
|
const i = n.query, d = t;
|
|
@@ -1400,7 +1400,7 @@ function Rs(e, t, a, s, r) {
|
|
|
1400
1400
|
const R = d.filters ?? [];
|
|
1401
1401
|
let O = i.filters ?? [];
|
|
1402
1402
|
const E = d.timeWindow, V = i.timeWindow, K = (L, q) => {
|
|
1403
|
-
const j = (
|
|
1403
|
+
const j = (Te) => JSON.stringify((Te ?? []).map(String));
|
|
1404
1404
|
return p(L.field) === p(q.field) && L.operator === q.operator && (L.scope ?? "row") === (q.scope ?? "row") && (typeof L.field == "object" ? L.field.aggregate : void 0) === (typeof q.field == "object" ? q.field.aggregate : void 0) && (L.values === void 0 || j(L.values) === j(q.values));
|
|
1405
1405
|
};
|
|
1406
1406
|
if (E && !V) {
|
|
@@ -1412,7 +1412,7 @@ function Rs(e, t, a, s, r) {
|
|
|
1412
1412
|
(R.length !== O.length || R.some((L, q) => !K(L, O[q]))) && C.push("filters");
|
|
1413
1413
|
}
|
|
1414
1414
|
if (d.orderBy !== void 0) {
|
|
1415
|
-
const R = d.orderBy, O = (
|
|
1415
|
+
const R = d.orderBy, O = (T = (k = e.config) == null ? void 0 : k.sortByColumns) == null ? void 0 : T[0], E = O && ta(e.config ?? {}, O), V = R.field && typeof R.field == "object" ? R.field.aggregate : void 0;
|
|
1416
1416
|
(!O || !E || O.direction !== R.direction || p(R.field) !== aa(E.name, sa(E)) || V !== void 0 && ht(E) !== V) && C.push("orderBy");
|
|
1417
1417
|
}
|
|
1418
1418
|
return d.limit !== void 0 && ((N = e.config) == null ? void 0 : N.rowLimit) !== d.limit && C.push("limit"), C;
|
|
@@ -1502,11 +1502,11 @@ async function mi(e, t, a) {
|
|
|
1502
1502
|
path: o,
|
|
1503
1503
|
fix: "Read the outline again and use its filter ids."
|
|
1504
1504
|
}), f;
|
|
1505
|
-
}, k = () => (p.sheets ?? []).filter((f) => !ct(f)),
|
|
1505
|
+
}, k = () => (p.sheets ?? []).filter((f) => !ct(f)), T = () => k().map((f) => ({ sheetId: f.id, title: f.title ?? "" })), N = (f, o) => {
|
|
1506
1506
|
const l = (p.sheets ?? []).find((h) => h.id === f);
|
|
1507
|
-
return l || g({ code: "sheet_not_found", message: `There's no sheet ${f} on this dashboard.`, path: o, fix: "Read the outline again and use its sheet ids.", details: { sheets:
|
|
1507
|
+
return l || g({ code: "sheet_not_found", message: `There's no sheet ${f} on this dashboard.`, path: o, fix: "Read the outline again and use its sheet ids.", details: { sheets: T() } }), ct(l) && g({ code: "sheet_not_a_grid", message: `"${l.title}" is a Document sheet.`, path: o, fix: "Add the card to a grid sheet; Document sheets are changed in the editor.", details: { sheets: T() } }), l;
|
|
1508
1508
|
}, R = (f, o, l, h) => {
|
|
1509
|
-
var
|
|
1509
|
+
var D;
|
|
1510
1510
|
for (const w of ga(o, l)) g({ ...w, path: `${h}.${w.path}` });
|
|
1511
1511
|
const I = ce[f], v = xe(o), S = o.dateField;
|
|
1512
1512
|
if (S && typeof S != "string" && S.label && !o.timeGrain && g({
|
|
@@ -1530,7 +1530,7 @@ async function mi(e, t, a) {
|
|
|
1530
1530
|
message: `A ${f.replace(/_/g, " ")} card shows exactly ${I.measures.max} measure.`,
|
|
1531
1531
|
path: `${h}.query.measures`,
|
|
1532
1532
|
fix: "Send one measure, or use a table or chart for several."
|
|
1533
|
-
}), !I.dimensions && ((
|
|
1533
|
+
}), !I.dimensions && ((D = w.dimensions) != null && D.length) && g({
|
|
1534
1534
|
code: "type_not_supported",
|
|
1535
1535
|
message: `A ${f.replace(/_/g, " ")} card shows one number, so it has no dimensions.`,
|
|
1536
1536
|
path: `${h}.query.dimensions`,
|
|
@@ -1572,13 +1572,13 @@ async function mi(e, t, a) {
|
|
|
1572
1572
|
fix: f.code === "query_not_kept" ? "Tell the user to make this change in the editor." : "Read the outline again and propose again.",
|
|
1573
1573
|
details: { reason: "not_expressible", ..."parts" in f ? { parts: f.parts } : {} }
|
|
1574
1574
|
}), E = (f, o, l, h, I, v, S) => {
|
|
1575
|
-
const
|
|
1576
|
-
|
|
1575
|
+
const D = Rs(f, o, l, v, S);
|
|
1576
|
+
D.length && g({
|
|
1577
1577
|
code: "card_not_editable",
|
|
1578
1578
|
message: `As changed, "${I}" wouldn't run the query asked for, so make this change in the editor.`,
|
|
1579
1579
|
path: `${h}.query`,
|
|
1580
1580
|
fix: "Tell the user to make this change in the editor.",
|
|
1581
|
-
details: { reason: "not_expressible", detail: `doesn't hold: ${
|
|
1581
|
+
details: { reason: "not_expressible", detail: `doesn't hold: ${D.join(", ")}` }
|
|
1582
1582
|
});
|
|
1583
1583
|
}, V = async (f, o, l, h) => {
|
|
1584
1584
|
const I = rt(f);
|
|
@@ -1588,21 +1588,21 @@ async function mi(e, t, a) {
|
|
|
1588
1588
|
if (!S.ok)
|
|
1589
1589
|
throw s.push(...S.problems.map((x) => ({ ...x, path: x.path ? `${h}.query.${x.path}` : `${h}.query` }))), new ue();
|
|
1590
1590
|
r.push(...S.warnings.map((x) => ({ ...x, path: x.path ?? `${h}.query` })));
|
|
1591
|
-
let
|
|
1592
|
-
const w =
|
|
1591
|
+
let D = { ...S.part, type: I };
|
|
1592
|
+
const w = D.config ?? {};
|
|
1593
1593
|
if (I === "detailTable") {
|
|
1594
1594
|
const x = ba(Ia("table", "detailTable", w)) ?? {};
|
|
1595
|
-
|
|
1595
|
+
D = { ...D, config: Os(x) };
|
|
1596
1596
|
}
|
|
1597
|
-
return I === "matrixTable" && (
|
|
1597
|
+
return I === "matrixTable" && (D = await K(D, w, o, l, h)), Ns(D, Ee(o));
|
|
1598
1598
|
}, K = async (f, o, l, h, I) => {
|
|
1599
1599
|
var Q;
|
|
1600
1600
|
const v = await a.loadCardSource({ domainId: l.domainId, datasetName: l.datasetName });
|
|
1601
1601
|
if (v || g({ code: "field_not_found", message: `The dataset "${l.datasetName}" isn't available.`, path: `${I}.query.datasetName`, fix: "Find datasets with semaphor_list_datasets." }), f.source.kind !== "semantic") throw new ue();
|
|
1602
|
-
const S = { id: "scratch", title: "", type: "table", dataSource: f.source.dataSource, config: o },
|
|
1603
|
-
(
|
|
1602
|
+
const S = { id: "scratch", title: "", type: "table", dataSource: f.source.dataSource, config: o }, D = Ca(S, "matrixTable", { catalog: v.fields, createId: a.newId }), w = D.status === "changed" ? (Q = D.card.config) == null ? void 0 : Q.matrix : void 0;
|
|
1603
|
+
(D.status !== "changed" || D.leftOut.length || !w) && g({
|
|
1604
1604
|
code: "type_not_supported",
|
|
1605
|
-
message:
|
|
1605
|
+
message: D.status === "changed" && D.leftOut.length ? `These fields can't run in a Matrix: ${D.leftOut.join(", ")}.` : "This query can't be shown as a Matrix.",
|
|
1606
1606
|
path: `${I}.query`,
|
|
1607
1607
|
fix: "Use plain dataset fields for a Matrix, or use a table."
|
|
1608
1608
|
});
|
|
@@ -1643,16 +1643,16 @@ async function mi(e, t, a) {
|
|
|
1643
1643
|
message: B.length ? "This dashboard has several grid sheets; say which one gets the card." : "This dashboard has no grid sheet to add a card to.",
|
|
1644
1644
|
path: `${l}.sheetId`,
|
|
1645
1645
|
fix: B.length ? "Send sheetId: one of details.sheets." : "Add a grid sheet in the editor first.",
|
|
1646
|
-
details: { sheets:
|
|
1646
|
+
details: { sheets: T() }
|
|
1647
1647
|
}), B[0];
|
|
1648
1648
|
})();
|
|
1649
1649
|
R(o.type, o.query, o.matrix, l);
|
|
1650
1650
|
const v = await V(o.type, o.query, o.matrix, l), S = {
|
|
1651
1651
|
...Pt({ id: a.newId(), title: o.title, ...o.description ? { description: o.description } : {} }),
|
|
1652
1652
|
type: v.type
|
|
1653
|
-
},
|
|
1654
|
-
|
|
1655
|
-
const w =
|
|
1653
|
+
}, D = lt(S, v);
|
|
1654
|
+
D.ok || g({ code: "invalid_change", message: D.message, path: l });
|
|
1655
|
+
const w = D.ok ? D.card : S;
|
|
1656
1656
|
E(w, o.query, o.matrix, l, o.title, v);
|
|
1657
1657
|
const x = { id: a.newId(), cards: [w], activeCardId: w.id }, G = h ? { after: h.frameId } : typeof o.position == "string" ? o.position : void 0, Q = G || o.width ? { ...G ? { position: G } : {}, ...o.width ? { width: o.width } : {} } : void 0;
|
|
1658
1658
|
c({ op: "card.add", sheetId: I.id, frame: x, ...Q ? { placement: Q } : {}, changeIndex: f }, l);
|
|
@@ -1676,7 +1676,7 @@ async function mi(e, t, a) {
|
|
|
1676
1676
|
path: l,
|
|
1677
1677
|
details: { cardIds: [h] }
|
|
1678
1678
|
});
|
|
1679
|
-
let
|
|
1679
|
+
let D = !1;
|
|
1680
1680
|
const w = o.type ? rt(o.type) : void 0;
|
|
1681
1681
|
if (w && w !== v.type) {
|
|
1682
1682
|
const x = S.editable ? S.source : void 0, G = oa(v, w), Q = G && x && x.kind === "semantic" ? (Ke = await a.loadCardSource({ domainId: x.domainId, datasetName: x.datasetName })) == null ? void 0 : Ke.fields : void 0, P = [], B = ra(v, w, {
|
|
@@ -1697,7 +1697,7 @@ async function mi(e, t, a) {
|
|
|
1697
1697
|
}), c(
|
|
1698
1698
|
{ op: "card.update", cardId: h, update: { kind: "retype", type: w, ...Q ? { catalog: Q } : {}, newIds: P }, changeIndex: f },
|
|
1699
1699
|
`${l}.type`
|
|
1700
|
-
),
|
|
1700
|
+
), D = !0;
|
|
1701
1701
|
}
|
|
1702
1702
|
}
|
|
1703
1703
|
if (o.query || o.matrix) {
|
|
@@ -1705,14 +1705,14 @@ async function mi(e, t, a) {
|
|
|
1705
1705
|
R(B, P, U, l);
|
|
1706
1706
|
const z = G.editable ? da(G.query, P, G.matrix, U) : void 0, tt = !z || z.aspects.length > 0, le = z && !("sql" in P) ? Ee(P).filter((X) => !dt(z, X.key.role)) : [], at = la(x, z, le.map((X) => X.key.role));
|
|
1707
1707
|
at && O(at, l);
|
|
1708
|
-
let
|
|
1708
|
+
let De = P;
|
|
1709
1709
|
if (z && !("sql" in P) && P.orderBy && !z.aspects.includes("order") && ["metric", "group_by", "detail"].some((X) => dt(z, X))) {
|
|
1710
1710
|
const { orderBy: X, ...be } = P;
|
|
1711
|
-
|
|
1711
|
+
De = be;
|
|
1712
1712
|
}
|
|
1713
1713
|
let st;
|
|
1714
1714
|
if (tt) {
|
|
1715
|
-
const X = await V(B,
|
|
1715
|
+
const X = await V(B, De, U, l);
|
|
1716
1716
|
st = X;
|
|
1717
1717
|
const be = z ? { ...X, change: z } : X, ee = lt(x, be);
|
|
1718
1718
|
if (ee.ok || O(ee, l), ee.ok && ee.droppedBindings.length && r.push({
|
|
@@ -1730,9 +1730,9 @@ async function mi(e, t, a) {
|
|
|
1730
1730
|
fix: "State a new label on the field ref if the old one no longer fits.",
|
|
1731
1731
|
details: { columns: [{ label: Ie.label, field: Ie.field }] }
|
|
1732
1732
|
});
|
|
1733
|
-
c({ op: "card.update", cardId: h, update: { kind: "requery", query: be }, changeIndex: f }, `${l}.query`),
|
|
1733
|
+
c({ op: "card.update", cardId: h, update: { kind: "requery", query: be }, changeIndex: f }, `${l}.query`), D = !0;
|
|
1734
1734
|
}
|
|
1735
|
-
le.length && ca(ie(p, h).card, le).changed.length && c({ op: "card.update", cardId: h, update: { kind: "relabel", labels: le }, changeIndex: f }, `${l}.query`), (tt || le.length) && E(ie(p, h).card,
|
|
1735
|
+
le.length && ca(ie(p, h).card, le).changed.length && c({ op: "card.update", cardId: h, update: { kind: "relabel", labels: le }, changeIndex: f }, `${l}.query`), (tt || le.length) && E(ie(p, h).card, De, U, l, x.title ?? "", st, z);
|
|
1736
1736
|
}
|
|
1737
1737
|
(o.title !== void 0 || o.description !== void 0) && c(
|
|
1738
1738
|
{
|
|
@@ -1746,14 +1746,14 @@ async function mi(e, t, a) {
|
|
|
1746
1746
|
changeIndex: f
|
|
1747
1747
|
},
|
|
1748
1748
|
l
|
|
1749
|
-
),
|
|
1749
|
+
), D && !u.includes(h) && u.push(h), i.push({ ref: o.cardId, kind: "card", id: h, title: v.title ?? "", changeIndex: f });
|
|
1750
1750
|
break;
|
|
1751
1751
|
}
|
|
1752
1752
|
case "card.remove": {
|
|
1753
1753
|
const h = m(o.cardId, `${l}.cardId`), I = ie(p, h);
|
|
1754
1754
|
I || g({ code: "card_not_editable", message: "Cards in Document sections are removed in the editor.", path: `${l}.cardId`, fix: "Tell the user to remove it in the editor.", details: { reason: "document_section" } }), I.frame.cards.some((S) => {
|
|
1755
|
-
var
|
|
1756
|
-
return ((
|
|
1755
|
+
var D, w;
|
|
1756
|
+
return ((D = S.customCardPreferences) == null ? void 0 : D.visualType) === "multiple" || !!((w = S.customCardPreferences) != null && w.dataInputCardIds);
|
|
1757
1757
|
}) && I.frame.cards.length > 1 && g({ code: "card_not_editable", message: "This card is an input of a custom visual; remove it in the editor.", path: `${l}.cardId`, fix: "Tell the user to remove it in the editor.", details: { reason: "custom" } }), I.frame.visualId && I.frame.cards.length > 1 && r.push({
|
|
1758
1758
|
code: "detaches_linked_visual",
|
|
1759
1759
|
message: `Removing "${I.card.title}" makes the rest of its tile local to this dashboard; it stops following its library visual.`,
|
|
@@ -1782,8 +1782,8 @@ async function mi(e, t, a) {
|
|
|
1782
1782
|
existingInputs: Array.isArray(p.inputs) ? p.inputs : [],
|
|
1783
1783
|
createId: a.newId,
|
|
1784
1784
|
label: o.label
|
|
1785
|
-
}),
|
|
1786
|
-
|
|
1785
|
+
}), D = { ...S.filter };
|
|
1786
|
+
D.dateSelectionMode || (D.type = o.selection ?? "multiple"), o.defaultValues && (D.defaultValues = o.defaultValues), o.defaultPeriod && (D.defaultDateFilter = bt(o.defaultPeriod, I, `${l}.defaultPeriod`, g)), c({ op: "filter.add", input: { ...S, filter: D }, changeIndex: f }, l), L.set(S.id, { sheetIds: o.sheetIds ?? "all", changeIndex: f }), (o.defaultValues !== void 0 || o.defaultPeriod !== void 0) && q.set(S.id, { values: o.defaultValues, period: o.defaultPeriod, changeIndex: f });
|
|
1787
1787
|
const w = o.handle;
|
|
1788
1788
|
w && (b.has(w) && g({ code: "invalid_change", message: `The handle ${w} is defined twice.`, path: `${l}.handle`, fix: "Give each new card or filter its own handle." }), b.set(w, { kind: "filter", id: S.id, title: o.label })), i.push({ ref: w ?? S.id, kind: "filter", id: S.id, title: o.label, changeIndex: f });
|
|
1789
1789
|
break;
|
|
@@ -1799,8 +1799,8 @@ async function mi(e, t, a) {
|
|
|
1799
1799
|
const v = (p.inputs ?? []).find((x) => x.id === h);
|
|
1800
1800
|
if ((v == null ? void 0 : v.kind) !== "filter" || !v.filter) throw new ue();
|
|
1801
1801
|
const S = { ...v.filter };
|
|
1802
|
-
let
|
|
1803
|
-
o.selection && (S.type = o.selection), o.defaultValues !== void 0 && (
|
|
1802
|
+
let D = !1;
|
|
1803
|
+
o.selection && (S.type = o.selection), o.defaultValues !== void 0 && (D = !0, o.defaultValues === null ? delete S.defaultValues : S.defaultValues = o.defaultValues), o.defaultPeriod !== void 0 && (D = !0, o.defaultPeriod === null ? delete S.defaultDateFilter : S.defaultDateFilter = bt(
|
|
1804
1804
|
o.defaultPeriod,
|
|
1805
1805
|
{ dataType: S.dataType },
|
|
1806
1806
|
`${l}.defaultPeriod`,
|
|
@@ -1808,7 +1808,7 @@ async function mi(e, t, a) {
|
|
|
1808
1808
|
));
|
|
1809
1809
|
const w = {
|
|
1810
1810
|
...o.label !== void 0 ? { label: o.label } : {},
|
|
1811
|
-
...o.selection !== void 0 ||
|
|
1811
|
+
...o.selection !== void 0 || D ? { definition: S } : {},
|
|
1812
1812
|
// A change of sheets states the sheets; what else the scope says (the cards it leaves out,
|
|
1813
1813
|
// whether it covers Document sheets) stays.
|
|
1814
1814
|
...o.sheetIds !== void 0 ? { scope: na(
|
|
@@ -1816,9 +1816,9 @@ async function mi(e, t, a) {
|
|
|
1816
1816
|
gt(o.sheetIds ?? void 0, l, N),
|
|
1817
1817
|
new Set([...Me(p).values()].filter((x) => x.sheetKind === "document").map((x) => x.sheetId))
|
|
1818
1818
|
) } : {},
|
|
1819
|
-
...
|
|
1819
|
+
...D ? { values: { defaultChanged: !0, target: {} } } : {}
|
|
1820
1820
|
};
|
|
1821
|
-
c({ op: "filter.update", filterId: h, settings: w, changeIndex: f }, l), o.sheetIds !== void 0 && L.set(h, { sheetIds: o.sheetIds ?? "all", changeIndex: f }),
|
|
1821
|
+
c({ op: "filter.update", filterId: h, settings: w, changeIndex: f }, l), o.sheetIds !== void 0 && L.set(h, { sheetIds: o.sheetIds ?? "all", changeIndex: f }), D && q.set(h, { values: o.defaultValues, period: o.defaultPeriod, changeIndex: f }), i.push({ ref: o.filterId, kind: "filter", id: h, title: v.label, changeIndex: f });
|
|
1822
1822
|
break;
|
|
1823
1823
|
}
|
|
1824
1824
|
case "filter.remove": {
|
|
@@ -1834,8 +1834,8 @@ async function mi(e, t, a) {
|
|
|
1834
1834
|
path: `${l}.filterId`,
|
|
1835
1835
|
fix: "Tell the user to change it in the editor; removing or excluding it works."
|
|
1836
1836
|
});
|
|
1837
|
-
const v = m(o.cardId, `${l}.cardId`), S = re(p).find((w) => w.cardId === v).card,
|
|
1838
|
-
c({ op: "filter.bind", filterId: h, cardId: v, binding: { kind: "bound", cardId: v, bindingId: a.newId(), target:
|
|
1837
|
+
const v = m(o.cardId, `${l}.cardId`), S = re(p).find((w) => w.cardId === v).card, D = await Ls(S, o.field, a, `${l}.field`, g);
|
|
1838
|
+
c({ op: "filter.bind", filterId: h, cardId: v, binding: { kind: "bound", cardId: v, bindingId: a.newId(), target: D }, changeIndex: f }, l), i.push({ ref: o.filterId, kind: "filter", id: h, title: I.label, changeIndex: f });
|
|
1839
1839
|
break;
|
|
1840
1840
|
}
|
|
1841
1841
|
case "layout.arrange": {
|
|
@@ -1846,7 +1846,7 @@ async function mi(e, t, a) {
|
|
|
1846
1846
|
message: I.length ? "This dashboard has several grid sheets; say which one to arrange." : "This dashboard has no grid sheet to arrange.",
|
|
1847
1847
|
path: `${l}.sheetId`,
|
|
1848
1848
|
fix: I.length ? "Send sheetId: one of details.sheets." : "Add a grid sheet in the editor first.",
|
|
1849
|
-
details: { sheets:
|
|
1849
|
+
details: { sheets: T() }
|
|
1850
1850
|
}), I[0];
|
|
1851
1851
|
})();
|
|
1852
1852
|
c({ op: "layout.arrange", sheetId: h.id, ...o.keepOrder ? { keepOrder: !0 } : {}, changeIndex: f }, l);
|
|
@@ -1894,14 +1894,14 @@ async function mi(e, t, a) {
|
|
|
1894
1894
|
if (!(l != null && l.editable)) continue;
|
|
1895
1895
|
const h = async (v) => {
|
|
1896
1896
|
const S = [];
|
|
1897
|
-
for (const
|
|
1898
|
-
const w =
|
|
1897
|
+
for (const D of v) {
|
|
1898
|
+
const w = D.datasetName ? await a.findRelationshipFields({
|
|
1899
1899
|
domainId: l.domainId,
|
|
1900
1900
|
fromDataset: l.datasetName,
|
|
1901
1901
|
field: l.field,
|
|
1902
|
-
toDataset:
|
|
1902
|
+
toDataset: D.datasetName
|
|
1903
1903
|
}) : [];
|
|
1904
|
-
S.push({ ...
|
|
1904
|
+
S.push({ ...D, suggestedFields: w });
|
|
1905
1905
|
}
|
|
1906
1906
|
return S;
|
|
1907
1907
|
}, I = (v) => v.map((S) => `"${S.title}"`).join(", ");
|
|
@@ -1926,14 +1926,14 @@ async function mi(e, t, a) {
|
|
|
1926
1926
|
});
|
|
1927
1927
|
}
|
|
1928
1928
|
}
|
|
1929
|
-
const
|
|
1929
|
+
const Te = Es(j.dashboard, n, j.descriptions, C);
|
|
1930
1930
|
return {
|
|
1931
1931
|
ok: !0,
|
|
1932
1932
|
operations: n,
|
|
1933
1933
|
context: y,
|
|
1934
1934
|
dashboard: j.dashboard,
|
|
1935
1935
|
refs: i,
|
|
1936
|
-
descriptions:
|
|
1936
|
+
descriptions: Te,
|
|
1937
1937
|
changedCardIds: u,
|
|
1938
1938
|
requires: [...d],
|
|
1939
1939
|
warnings: r
|
|
@@ -1997,7 +1997,7 @@ function Ns(e, t) {
|
|
|
1997
1997
|
}
|
|
1998
1998
|
const r = { metric: "metricColumns", group_by: "groupByColumns", detail: "detailColumns" };
|
|
1999
1999
|
for (const { key: n, label: i } of t) {
|
|
2000
|
-
const d = [...a[r[n.role]] ?? []], u =
|
|
2000
|
+
const d = [...a[r[n.role]] ?? []], u = Ta(n.role, d).findIndex((b) => Fe(b, n));
|
|
2001
2001
|
u < 0 || (d[u] = Ba(d[u], i), a[r[n.role]] = d, s.push(n));
|
|
2002
2002
|
}
|
|
2003
2003
|
return { ...e, config: a, statedLabels: s };
|
|
@@ -2011,49 +2011,49 @@ function qs(e, t, a, s, r) {
|
|
|
2011
2011
|
var F;
|
|
2012
2012
|
return ((F = [...a].reverse().find((k) => ze(k) === m || "filterId" in k && k.filterId === c)) == null ? void 0 : F.changeIndex) ?? 0;
|
|
2013
2013
|
}, C = (c, m) => {
|
|
2014
|
-
const F = u.findFilterInput({ inputId: c }).input, k = i.get(m),
|
|
2014
|
+
const F = u.findFilterInput({ inputId: c }).input, k = i.get(m), T = `"${k.card.title ?? ""}"`, N = `"${F.label}"`;
|
|
2015
2015
|
if (k.kind === "documentSectionCard")
|
|
2016
2016
|
return {
|
|
2017
2017
|
reason: "document_section",
|
|
2018
|
-
message: `${
|
|
2018
|
+
message: `${T} is in a Document section, which takes only the filters its Document sheet shows.`,
|
|
2019
2019
|
fix: "Tell the user to change where the filter shows in the editor."
|
|
2020
2020
|
};
|
|
2021
2021
|
const R = d.get(k.sheetId);
|
|
2022
2022
|
if (R && !yt(F, R))
|
|
2023
2023
|
return {
|
|
2024
2024
|
reason: "outside_sheets",
|
|
2025
|
-
message: `${N} isn't shown on "${b(k.sheetId)}", so it can't filter ${
|
|
2025
|
+
message: `${N} isn't shown on "${b(k.sheetId)}", so it can't filter ${T}.`,
|
|
2026
2026
|
fix: "Show it on that sheet first with filter.update sheetIds (null for every sheet), in the same proposal."
|
|
2027
2027
|
};
|
|
2028
2028
|
const O = qa(F, k.card);
|
|
2029
2029
|
switch (O.status) {
|
|
2030
2030
|
case "incompatible":
|
|
2031
|
-
return { reason: "incompatible_field", message: `${
|
|
2031
|
+
return { reason: "incompatible_field", message: `${T} can't take ${N}'s values on that field: their types differ.`, fix: "Bind a field of the same type (filter.bind)." };
|
|
2032
2032
|
case "stale":
|
|
2033
2033
|
return {
|
|
2034
2034
|
reason: "field_not_on_card",
|
|
2035
|
-
message: `${
|
|
2035
|
+
message: `${T} doesn't have the field ${N} is bound to.`,
|
|
2036
2036
|
fix: "Bind a field the card has (filter.bind), or exclude the card (filter.exclude), in the same proposal."
|
|
2037
2037
|
};
|
|
2038
2038
|
case "ambiguous":
|
|
2039
2039
|
return {
|
|
2040
2040
|
reason: "ambiguous_field",
|
|
2041
|
-
message: `${
|
|
2041
|
+
message: `${T} has more than one field ${N} could filter.`,
|
|
2042
2042
|
fix: "Bind the field it should use (filter.bind), or exclude the card (filter.exclude), in the same proposal."
|
|
2043
2043
|
};
|
|
2044
2044
|
case "relationship": {
|
|
2045
2045
|
const E = ve(F, k.card, r);
|
|
2046
2046
|
return E.reach === "blocked" ? {
|
|
2047
2047
|
reason: "relationship_route_changed",
|
|
2048
|
-
message: `The relationships ${
|
|
2048
|
+
message: `The relationships ${T} used for ${N} changed in the domain.`,
|
|
2049
2049
|
fix: "Tell the user to choose the relationship again in the filter's Cards tab."
|
|
2050
2050
|
} : E.reason === "relationship_ambiguous" ? {
|
|
2051
2051
|
reason: "relationship_ambiguous",
|
|
2052
|
-
message: `${N} connects to ${
|
|
2052
|
+
message: `${N} connects to ${T} through more than one path.`,
|
|
2053
2053
|
fix: "Tell the user to choose a path in the filter's Cards tab, or bind a field the card has (filter.bind)."
|
|
2054
2054
|
} : {
|
|
2055
2055
|
reason: "relationship_pending",
|
|
2056
|
-
message: `${N} may reach ${
|
|
2056
|
+
message: `${N} may reach ${T} through the domain's relationships; whether it applies is decided when the card runs.`,
|
|
2057
2057
|
fix: "Bind a field the card has (filter.bind) to make it certain, or leave it to the relationships."
|
|
2058
2058
|
};
|
|
2059
2059
|
}
|
|
@@ -2064,7 +2064,7 @@ function qs(e, t, a, s, r) {
|
|
|
2064
2064
|
case "automatic":
|
|
2065
2065
|
case "passthrough":
|
|
2066
2066
|
case "notApplicable":
|
|
2067
|
-
return { reason: "filter_settings_override", message: `${N} still wouldn't filter ${
|
|
2067
|
+
return { reason: "filter_settings_override", message: `${N} still wouldn't filter ${T}: its settings leave that card out.`, fix: "Tell the user to change the filter's settings in the editor." };
|
|
2068
2068
|
default: {
|
|
2069
2069
|
const E = O;
|
|
2070
2070
|
throw new Error(`Unhandled filter card target ${String(E.status)}`);
|
|
@@ -2079,13 +2079,13 @@ function qs(e, t, a, s, r) {
|
|
|
2079
2079
|
const k = m.reaches.includes(c.cardId);
|
|
2080
2080
|
if (c.op === "filter.bind" ? k : !k) continue;
|
|
2081
2081
|
p.add(`${c.filterId}|${c.cardId}`);
|
|
2082
|
-
const
|
|
2082
|
+
const T = c.op === "filter.bind" ? C(c.filterId, c.cardId) : { reason: "filter_settings_override", message: `"${m.label}" would still filter "${F.card.title ?? ""}".`, fix: "Tell the user to change the filter's settings in the editor." };
|
|
2083
2083
|
n.push({
|
|
2084
2084
|
code: "filter_not_editable",
|
|
2085
|
-
message:
|
|
2085
|
+
message: T.message,
|
|
2086
2086
|
path: `changes[${c.changeIndex ?? 0}]`,
|
|
2087
|
-
fix:
|
|
2088
|
-
details: { reason:
|
|
2087
|
+
fix: T.fix,
|
|
2088
|
+
details: { reason: T.reason, cardId: c.cardId }
|
|
2089
2089
|
});
|
|
2090
2090
|
}
|
|
2091
2091
|
for (const [c, m] of s) {
|
|
@@ -2094,13 +2094,13 @@ function qs(e, t, a, s, r) {
|
|
|
2094
2094
|
const k = F.editable && ((A = F.exceptSheetIds) == null ? void 0 : A.some((R) => {
|
|
2095
2095
|
var O;
|
|
2096
2096
|
return ((O = d.get(R)) == null ? void 0 : O.sheetKind) === "dashboard";
|
|
2097
|
-
})),
|
|
2098
|
-
Le(
|
|
2097
|
+
})), T = F.editable && !k ? F.sheetIds : void 0, N = m.sheetIds === "all" ? "all" : [...m.sheetIds].sort();
|
|
2098
|
+
Le(T === "all" || !T ? T : [...T].sort(), N) || n.push({
|
|
2099
2099
|
code: "filter_not_editable",
|
|
2100
2100
|
message: `"${F.label}" wouldn't show on the sheets asked for. Change where it shows in the editor.`,
|
|
2101
2101
|
path: `changes[${m.changeIndex}].sheetIds`,
|
|
2102
2102
|
fix: "Tell the user to change the filter's sheets in the editor.",
|
|
2103
|
-
details: { reason: "filter_settings_override", ...
|
|
2103
|
+
details: { reason: "filter_settings_override", ...T ? { sheetIds: T } : {} }
|
|
2104
2104
|
});
|
|
2105
2105
|
}
|
|
2106
2106
|
const _ = de(e), g = (c) => c === "blocked" || c === "ambiguous";
|
|
@@ -2108,8 +2108,8 @@ function qs(e, t, a, s, r) {
|
|
|
2108
2108
|
const m = c.input.id;
|
|
2109
2109
|
for (const F of u.reachedCards({ inputId: m })) {
|
|
2110
2110
|
if (p.has(`${m}|${F.cardId}`) || !g(ve(c.input, F.card, r).reach)) continue;
|
|
2111
|
-
const k = _.findFilterInput({ inputId: m }),
|
|
2112
|
-
if (k &&
|
|
2111
|
+
const k = _.findFilterInput({ inputId: m }), T = k && _.reachedCards({ inputId: m }).find((R) => R.cardId === F.cardId);
|
|
2112
|
+
if (k && T && g(ve(k.input, T.card, r).reach)) continue;
|
|
2113
2113
|
const N = C(m, F.cardId);
|
|
2114
2114
|
n.push({
|
|
2115
2115
|
code: "invalid_change",
|
|
@@ -2233,8 +2233,8 @@ function gi(e, t) {
|
|
|
2233
2233
|
kind: _.kind === "document" ? "document" : "dashboard",
|
|
2234
2234
|
..._.kind === "document" ? {} : { layout: Vs(_) },
|
|
2235
2235
|
cards: n.filter((g) => g.sheetId === _.id).map((g) => {
|
|
2236
|
-
var
|
|
2237
|
-
const A = g.card, c = g.kind === "frameCard" ? (
|
|
2236
|
+
var T;
|
|
2237
|
+
const A = g.card, c = g.kind === "frameCard" ? (T = d.get(g.frameId)) == null ? void 0 : T.visualId : void 0, m = c ? { linkedVisualId: c } : {}, F = { cardId: g.cardId, title: A.title ?? "" };
|
|
2238
2238
|
if (g.kind !== "frameCard") {
|
|
2239
2239
|
const N = fe(A);
|
|
2240
2240
|
return b(N), {
|
|
@@ -2321,174 +2321,180 @@ export {
|
|
|
2321
2321
|
it as DASHBOARD_AUTHORING_MAX_GENERATED_CARDS,
|
|
2322
2322
|
cn as DASHBOARD_CHANGE_OPS,
|
|
2323
2323
|
un as DASHBOARD_DEFAULT_OPTION_DEPENDENCIES,
|
|
2324
|
-
|
|
2324
|
+
Dr as DASHBOARD_FILTER_OPERATIONS,
|
|
2325
2325
|
hn as DASHBOARD_INPUT_RUNTIME_SCOPE_KINDS,
|
|
2326
|
-
|
|
2327
|
-
|
|
2326
|
+
kr as DOCUMENT_KPI_SECTION_MAX_CARDS,
|
|
2327
|
+
$r as DOCUMENT_KPI_SECTION_MAX_TILES,
|
|
2328
2328
|
fn as DashboardFilterMappingContractError,
|
|
2329
2329
|
pn as ExecutionControlContractError,
|
|
2330
2330
|
mn as FILTER_OPERATORS,
|
|
2331
2331
|
gn as FilterModelError,
|
|
2332
|
+
bn as LEGACY_TABLE_CARD_TYPES,
|
|
2333
|
+
Mr as LEGACY_TABLE_ROUTING_ID_NAMESPACE,
|
|
2332
2334
|
ot as MAX_PROPOSED_CHANGES,
|
|
2333
|
-
|
|
2335
|
+
In as MAX_QUERY_LIMIT,
|
|
2334
2336
|
yi as NEW_CARD_TYPE,
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
+
yn as QUERY_ASPECTS,
|
|
2338
|
+
_n as QUERY_CONFIG_KEY_ASPECTS,
|
|
2337
2339
|
_i as RELATIONSHIP_ROUTE_CHANGED_MESSAGE,
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2340
|
+
Cn as SEMAPHOR_CARTESIAN_CHART_TYPES,
|
|
2341
|
+
Sn as TIME_GRAINS,
|
|
2342
|
+
vn as TOOLBAR_FILTER_REACH_FIELDS,
|
|
2343
|
+
wn as analyticsFilterSchema,
|
|
2344
|
+
Lr as applyCardReferenceRemapping,
|
|
2343
2345
|
nt as applyDashboardOperations,
|
|
2344
|
-
|
|
2346
|
+
Br as applyFilterApplicability,
|
|
2345
2347
|
Ci as applyFilterSettingsChange,
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2348
|
+
Vr as applyGroupByOverride,
|
|
2349
|
+
xn as applyLinkedClickToFilterOverrides,
|
|
2350
|
+
Tn as applyOptionDependencyOverride,
|
|
2349
2351
|
Si as buildCardExportFormatOptions,
|
|
2350
|
-
|
|
2352
|
+
Gr as buildCardExportQueryContext,
|
|
2351
2353
|
vi as buildCardExportRequest,
|
|
2352
2354
|
wi as buildCardExportRequestFromOptions,
|
|
2353
2355
|
xi as buildColumnCatalog,
|
|
2354
2356
|
Dn as buildControlDefinitionIndex,
|
|
2355
2357
|
ha as buildDashboardCardSourceIndex,
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
+
Ti as buildEntityColumnGroup,
|
|
2359
|
+
Di as buildFilterInputFromDefinition,
|
|
2358
2360
|
qt as buildFilterInputFromField,
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2361
|
+
kn as buildLinkedClickToFilterOverrides,
|
|
2362
|
+
$n as buildProposeChangeInputSchema,
|
|
2363
|
+
Fn as buildSavedEditorCard,
|
|
2362
2364
|
ki as buildTableExportFormatOptions,
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
+
An as cardQueryPatchSchema,
|
|
2366
|
+
Rn as cardTypeSentenceName,
|
|
2365
2367
|
Ca as changeCardType,
|
|
2366
|
-
|
|
2368
|
+
En as changeMatrixEditor,
|
|
2367
2369
|
Lt as clickToFilterSettingsSchema,
|
|
2368
|
-
|
|
2370
|
+
Ur as collectJoinPlanIdentifiers,
|
|
2369
2371
|
sa as columnDataset,
|
|
2370
2372
|
Sa as columnFieldKey,
|
|
2371
|
-
|
|
2373
|
+
Ta as columnKeys,
|
|
2372
2374
|
li as compileDashboardFromPlan,
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2375
|
+
jr as composeCardReferenceRemapping,
|
|
2376
|
+
On as controlBindingExecutionSchema,
|
|
2377
|
+
Nn as controlDefinitionExecutionSchema,
|
|
2376
2378
|
la as controlRefusal,
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2379
|
+
qn as createDashboardFilterBindingId,
|
|
2380
|
+
pd as createMatrixAuthoringDraft,
|
|
2381
|
+
md as createMatrixConfig,
|
|
2380
2382
|
Pt as createNewCard,
|
|
2381
2383
|
Ve as dashboardAuthoringDatasetMatchesSource,
|
|
2382
2384
|
ri as dashboardAuthoringFieldsReferToSameTarget,
|
|
2383
2385
|
J as dashboardAuthoringSourceFromField,
|
|
2384
2386
|
ni as dashboardAuthoringSourceKey,
|
|
2385
2387
|
wt as dashboardAuthoringSourcesReferToSameDataset,
|
|
2386
|
-
|
|
2388
|
+
Pn as dashboardCardFilterSourceInventoryContains,
|
|
2387
2389
|
ia as dashboardChangeSchema,
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2390
|
+
Mn as dashboardFilterTargetMatchesLogicalValue,
|
|
2391
|
+
Fr as dashboardFilterValueTypeForDataType,
|
|
2392
|
+
Ln as dashboardGenerateSchema,
|
|
2391
2393
|
Zt as dashboardInputScopeIncludesDocumentSheets,
|
|
2392
2394
|
ci as dashboardPlanFromSemaphorDashboardIntent,
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
+
Bn as defaultClickToFilterSettings,
|
|
2396
|
+
zr as describeDashboardFilterCardReach,
|
|
2395
2397
|
ve as describeDashboardFilterCardReachDetail,
|
|
2396
2398
|
da as describeQueryChange,
|
|
2397
2399
|
$i as describeRelationshipRoute,
|
|
2398
2400
|
Fi as describeRelationshipSkip,
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2401
|
+
Vn as doesDashboardInputApplyToTarget,
|
|
2402
|
+
Gn as doesDashboardInputSurviveCarriedContext,
|
|
2403
|
+
Un as doesToolbarFilterReachTab,
|
|
2402
2404
|
Ai as domainCalculatedFields,
|
|
2403
|
-
|
|
2405
|
+
jn as dropMatrixEditorField,
|
|
2404
2406
|
aa as fieldIdentityKey,
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
+
zn as fieldRefSchema,
|
|
2408
|
+
Qr as filterApplicabilityContextForCard,
|
|
2407
2409
|
Ri as filterReachPreviewAnswers,
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
+
Kr as filterValueReachForCard,
|
|
2411
|
+
Qn as filterValueSemanticDataset,
|
|
2410
2412
|
_t as findCatalogField,
|
|
2411
2413
|
di as findDashboardAuthoringDatasetForSource,
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2414
|
+
Kn as findDashboardCardExecutableSource,
|
|
2415
|
+
Hn as findDashboardCardPinnedCatalogSource,
|
|
2416
|
+
Wn as findDashboardSqlPinnedCatalogSource,
|
|
2415
2417
|
ta as findSortedColumn,
|
|
2416
2418
|
Ei as flattenEntityColumns,
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
+
Yn as foldPrototypeDocumentInputs,
|
|
2420
|
+
Xn as formatFilterModelIssues,
|
|
2419
2421
|
Qt as formatResolvedPrimaryDateFieldIssues,
|
|
2420
|
-
|
|
2422
|
+
Hr as formatSkippedFilterWarnings,
|
|
2421
2423
|
Oi as getCalculatedFieldAggregateOverrides,
|
|
2422
|
-
|
|
2424
|
+
Jn as getCalculatedFieldNamespace,
|
|
2423
2425
|
Ni as getCalculatedFieldParameters,
|
|
2424
2426
|
qi as getCalculatedFieldShelfOverrides,
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
+
Zn as getCardDefinition,
|
|
2428
|
+
eo as getColumnCatalogFieldId,
|
|
2427
2429
|
Ya as getDashboardAuthoringCardSource,
|
|
2428
2430
|
Pi as getDashboardFilterSubscriptionHint,
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2431
|
+
to as getDashboardGlobalDateFilter,
|
|
2432
|
+
Ar as getDocumentKpiSectionShapeIssues,
|
|
2433
|
+
Rr as getDocumentSectionCards,
|
|
2432
2434
|
Mi as getDomainCalculatedSelectionOverrides,
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2435
|
+
ao as getFieldAggregationOptions,
|
|
2436
|
+
so as getMatrixBindingTargets,
|
|
2437
|
+
gd as getMatrixLevelLabel,
|
|
2438
|
+
bd as getMatrixMeasureLabel,
|
|
2439
|
+
io as getStableDomainCalculatedFieldId,
|
|
2440
|
+
no as getTemporalBucketAuthoringOptions,
|
|
2441
|
+
oo as getTemporalBucketAuthoringSelection,
|
|
2442
|
+
ro as handleSchema,
|
|
2441
2443
|
Li as hasDashboardFilterSubscription,
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2444
|
+
lo as hasToolbarFilterReachField,
|
|
2445
|
+
Wr as hostFilterValueFor,
|
|
2446
|
+
Yr as hostFilterValuesToSlots,
|
|
2447
|
+
Xr as isAdHocFilterValueOnTab,
|
|
2448
|
+
co as isAllowedDashboardInputScopeCombination,
|
|
2449
|
+
uo as isCardType,
|
|
2450
|
+
Er as isDashboardFilterOperationCompatible,
|
|
2449
2451
|
yt as isDashboardInputOnTab,
|
|
2450
|
-
|
|
2452
|
+
ho as isDashboardInputOwnedBySheet,
|
|
2451
2453
|
jt as isDashboardInputScopeEmpty,
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
+
fo as isGroupedDate,
|
|
2455
|
+
po as isHiddenFilterInput,
|
|
2456
|
+
mo as isLegacyTableCard,
|
|
2454
2457
|
me as isMaterializableDashboardAuthoringSource,
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
+
go as isPresentationCurrencyBinding,
|
|
2459
|
+
bo as isSemanticAutoJoinCard,
|
|
2460
|
+
Io as isSemaphorCartesianChartType,
|
|
2458
2461
|
Va as isSemaphorSourceRef,
|
|
2459
|
-
|
|
2460
|
-
|
|
2462
|
+
yo as isStructuralControlBinding,
|
|
2463
|
+
_o as isValidControlOptionPresentation,
|
|
2461
2464
|
ea as labelAt,
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
+
Co as layoutArrangeSchema,
|
|
2466
|
+
Jr as legacyTableRoutingIds,
|
|
2467
|
+
Zr as legacyTableRoutingTarget,
|
|
2468
|
+
So as linkedClickToFilterOverridesSchema,
|
|
2469
|
+
ed as listAdHocFilterValuesOnTab,
|
|
2465
2470
|
re as listDashboardCardLocations,
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2471
|
+
vo as listDashboardFilterDefinitions,
|
|
2472
|
+
wo as listDashboardFilterInputsOnTab,
|
|
2473
|
+
xo as listDashboardInputReachKeys,
|
|
2469
2474
|
Yt as listDashboardInputScopeExceptedCardIds,
|
|
2470
2475
|
Jt as listDashboardInputScopeExceptedSheetIds,
|
|
2471
2476
|
Me as listDashboardTabTargets,
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
+
td as listFilterInputValueTargets,
|
|
2478
|
+
To as listStoredFilterDefinitions,
|
|
2479
|
+
Or as mapDashboardCards,
|
|
2480
|
+
Nr as mapDocumentSectionCards,
|
|
2481
|
+
Do as matchColumns,
|
|
2482
|
+
ad as matrixCatalogSources,
|
|
2477
2483
|
xa as matrixColumnKeys,
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
+
ko as matrixColumnsSchema,
|
|
2485
|
+
Cd as matrixDefinitionFields,
|
|
2486
|
+
Sd as matrixDefinitionSources,
|
|
2487
|
+
$o as matrixEditorCatalogFromFields,
|
|
2488
|
+
sd as matrixExecutionSources,
|
|
2489
|
+
Fo as measureRefSchema,
|
|
2484
2490
|
we as mergeDashboardAuthoringSources,
|
|
2485
|
-
|
|
2491
|
+
Id as mergeMatrixSorts,
|
|
2486
2492
|
ma as metricCardQuerySchema,
|
|
2487
2493
|
wa as moveMatrixLevel,
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2494
|
+
Ao as normalizeClickToFilterSettings,
|
|
2495
|
+
Ro as normalizeDashboardInputs,
|
|
2496
|
+
Eo as normalizeLegacyLinkedTargetOverrides,
|
|
2497
|
+
Oo as occurrenceKeys,
|
|
2492
2498
|
Ft as outlineCalendar,
|
|
2493
2499
|
gi as outlineDashboard,
|
|
2494
2500
|
pe as outlineFilter,
|
|
@@ -2496,91 +2502,94 @@ export {
|
|
|
2496
2502
|
pi as parseCardQueryRequest,
|
|
2497
2503
|
ks as parseCardQueryRequestContext,
|
|
2498
2504
|
fi as parseCardQueryRequestExtras,
|
|
2499
|
-
|
|
2505
|
+
No as parseExecutionControlBindingsShallow,
|
|
2500
2506
|
Ht as parseExecutionControlContext,
|
|
2501
|
-
|
|
2507
|
+
qo as parseExecutionControlContract,
|
|
2502
2508
|
ca as planCardLabels,
|
|
2503
2509
|
lt as planCardRequery,
|
|
2504
2510
|
Bi as pluralDatasetLabel,
|
|
2505
2511
|
Ga as preferDashboardAuthoringSourceMetadata,
|
|
2506
2512
|
oi as preferredDashboardAuthoringSource,
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2513
|
+
id as prepareLoadedDashboard,
|
|
2514
|
+
Po as previewTemporalBucketAuthoringFormat,
|
|
2515
|
+
Mo as proposedChangeSchema,
|
|
2516
|
+
nd as pruneUnrelatedCalculatedFilters,
|
|
2511
2517
|
ua as queryForm,
|
|
2512
2518
|
oe as readCardQuery,
|
|
2513
2519
|
fe as readCardSource,
|
|
2514
2520
|
de as readDashboardFilterModel,
|
|
2515
|
-
|
|
2521
|
+
Lo as readExactDomainCalculatedFieldReference,
|
|
2516
2522
|
Vi as readFilterReachResponse,
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2523
|
+
od as readFilterValueList,
|
|
2524
|
+
vd as readMatrixCardConfig,
|
|
2525
|
+
Bo as rebindDashboardOptionDependencyInputId,
|
|
2520
2526
|
dt as rebuildsRole,
|
|
2521
|
-
|
|
2522
|
-
|
|
2527
|
+
Vo as reconcileMatrixSpecStructure,
|
|
2528
|
+
Go as reconcileTemporalBucketAuthoringFormat,
|
|
2523
2529
|
pa as recordsCardQuerySchema,
|
|
2524
|
-
|
|
2530
|
+
Uo as refDataset,
|
|
2525
2531
|
ne as refKey,
|
|
2526
2532
|
ut as refName,
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2533
|
+
jo as relationshipAddSchema,
|
|
2534
|
+
zo as relationshipRouteTarget,
|
|
2535
|
+
Qo as relativeToTimeWindow,
|
|
2530
2536
|
Vt as remapClickToFilterReferences,
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
+
Ko as remapLinkedClickToFilterOverrides,
|
|
2538
|
+
Ho as requireNormalizedDashboardInputs,
|
|
2539
|
+
Wo as resolveBindingControlValue,
|
|
2540
|
+
vr as resolveCanonicalDetailResultRawKey,
|
|
2541
|
+
wr as resolveCanonicalResultOutputKey,
|
|
2542
|
+
xr as resolveCanonicalResultRawKey,
|
|
2537
2543
|
Ua as resolveDashboardAuthoringSource,
|
|
2538
2544
|
mi as resolveDashboardChanges,
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2545
|
+
Yo as resolveDashboardEntitySource,
|
|
2546
|
+
Xo as resolveDashboardFilterAutomaticTarget,
|
|
2547
|
+
Jo as resolveDashboardFilterInheritedTarget,
|
|
2548
|
+
Zo as resolveDashboardOptionDependencies,
|
|
2549
|
+
er as resolveDashboardOptionPopulation,
|
|
2550
|
+
rd as resolveDashboardSqlFilterTarget,
|
|
2551
|
+
tr as resolveFieldSelectedSource,
|
|
2552
|
+
ar as resolveGroupByFieldTarget,
|
|
2553
|
+
dd as resolveMatrixControlBindings,
|
|
2554
|
+
yd as resolveMatrixDefinition,
|
|
2555
|
+
sr as resolveMetricFieldTarget,
|
|
2556
|
+
ir as resolveScalarMappedValue,
|
|
2557
|
+
nr as resolveTemporalBucketAuthoringFormat,
|
|
2552
2558
|
Kt as resolveTemporalResultOwner,
|
|
2553
2559
|
Bt as respondsToSelectionsSchema,
|
|
2554
|
-
|
|
2560
|
+
or as retainMatrixConditionalFormatting,
|
|
2555
2561
|
Ut as rewriteDashboardInputScopeIds,
|
|
2562
|
+
ld as routeLegacyTableCard,
|
|
2563
|
+
cd as routeLegacyTableCards,
|
|
2564
|
+
ud as routeLegacyTableFrame,
|
|
2556
2565
|
Fe as sameColumnKey,
|
|
2557
2566
|
Le as sameValue,
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2567
|
+
rr as selectDashboardOptionDependencyInputIds,
|
|
2568
|
+
dr as selectionFieldFromExplorerField,
|
|
2569
|
+
lr as settableCardType,
|
|
2570
|
+
cr as sharedCardPreferences,
|
|
2562
2571
|
fa as sqlCardQuerySchema,
|
|
2563
2572
|
Ee as statedLabelsOf,
|
|
2564
|
-
|
|
2565
|
-
|
|
2573
|
+
ur as stripInstanceTargetsForLibrarySave,
|
|
2574
|
+
hr as structuralControlOverride,
|
|
2566
2575
|
At as summarizeFilter,
|
|
2567
|
-
|
|
2568
|
-
|
|
2576
|
+
fr as supportsCanonicalDashboardTemporalResult,
|
|
2577
|
+
pr as timeWindowSchema,
|
|
2569
2578
|
rt as toChartType,
|
|
2570
2579
|
Oe as toPublicCardType,
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2580
|
+
mr as toolbarFilterInputFields,
|
|
2581
|
+
gr as toolbarFilterScope,
|
|
2582
|
+
br as transformComparisonDocument,
|
|
2574
2583
|
va as updateMatrixConfig,
|
|
2575
|
-
|
|
2576
|
-
|
|
2584
|
+
hd as upgradeToStoredDashboard,
|
|
2585
|
+
Ir as validateControlValue,
|
|
2577
2586
|
Xa as validateDashboardAuthoringDatasetScope,
|
|
2578
|
-
|
|
2587
|
+
qr as validateDashboardFilterValues,
|
|
2579
2588
|
ns as validateDashboardPlan,
|
|
2580
2589
|
zt as validateResolvedPrimaryDateFieldShape,
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2590
|
+
yr as withCardExcludedFromScope,
|
|
2591
|
+
_r as withCardIncludedInScope,
|
|
2592
|
+
Cr as withDashboardOptionDependencyOverride,
|
|
2584
2593
|
na as withUnstatedScopeParts,
|
|
2585
2594
|
Gt as withoutToolbarFilterReachFields
|
|
2586
2595
|
};
|