react-semaphor 0.1.556 → 0.1.558
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DATA_APP_SDK.md +6 -29
- package/dist/analytics-protocol/index.js +19 -20
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +28 -29
- package/dist/briefings/index.js +55 -56
- package/dist/chunks/{assistant-chat-C7Acww1T.js → assistant-chat-BCWoP6Rf.js} +78 -80
- package/dist/chunks/{bookmark-state-7iZErWnR.js → bookmark-state-PjQpxbG7.js} +3 -3
- package/dist/chunks/{braces-o9UiRQes.js → braces-D5Ucy7q1.js} +1 -1
- package/dist/chunks/{comparison-window-caption-BseG5aOZ.js → comparison-window-caption-Dc7BaCMz.js} +186 -189
- package/dist/chunks/{custom-visual-inputs-ChuKjx27.js → custom-visual-inputs-B-DLRGrV.js} +1 -2
- package/dist/chunks/{dashboard-briefing-launcher-qrYd2zkN.js → dashboard-briefing-launcher-Coqghdn6.js} +148 -150
- package/dist/chunks/{dashboard-controls-BsapXI2H.js → dashboard-controls-BYWSM2RM.js} +170 -172
- package/dist/chunks/{dashboard-json-CJqPqYnI.js → dashboard-json-pPTB5gj0.js} +20 -21
- package/dist/chunks/{dashboard-BU6rE5kV.js → dashboard-wK6Bai4V.js} +1 -1
- package/dist/chunks/{document-dashboard-inputs-BNSprf5_.js → document-dashboard-inputs-PY_7Xm55.js} +31 -31
- package/dist/chunks/{edit-dashboard-visual-CjAdV-WG.js → edit-dashboard-visual-BODxuUeq.js} +7505 -7990
- package/dist/chunks/{filter-reach-copy-BTrqtFkh.js → filter-reach-copy-BvJH9JO-.js} +148 -149
- package/dist/chunks/{filter-value-text-CJTJDCym.js → filter-value-text-CUBpotVN.js} +3 -3
- package/dist/chunks/{global-date-filter-utils-CTVf3dG3.js → global-date-filter-utils-BsFqnnbA.js} +1396 -1391
- package/dist/chunks/{index-dIV-Gdsb.js → index-CJW5BdWT.js} +23 -24
- package/dist/chunks/{index-B_vIRa-q.js → index-DP_wQl0v.js} +70 -72
- package/dist/chunks/{layout-grid-Bgzth8vd.js → layout-grid-CkoXmv0L.js} +1 -1
- package/dist/chunks/{list-filter-DsaTbM3J.js → list-filter-B4i25kuc.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-Cg0ioFGQ.js → matrix-analytical-definition-4GTUDheD.js} +3 -3
- package/dist/chunks/{matrix-card-yYibXSw1.js → matrix-card-fS_4O7zA.js} +2 -2
- package/dist/chunks/{matrix-member-presentation-DEEauKXC.js → matrix-member-presentation-Dj7HaAHC.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-C1G6AJNh.js → matrix-operation-contract-CpgLZ7E5.js} +21 -21
- package/dist/chunks/{metric-comparison-BfcmwxM1.js → metric-comparison-C8LY7GG5.js} +1 -1
- package/dist/chunks/{palette-D10o_yYX.js → palette-stlpjVk4.js} +1 -1
- package/dist/chunks/{matrix-formatter-C2kjsCDf.js → pivot-result-contract-expectations-DMk-mKhG.js} +444 -395
- package/dist/chunks/{pivot-result-identity-CWi5WrrY.js → pivot-result-identity-CrQ54Xbj.js} +1 -1
- package/dist/chunks/{raw-temporal-presentation-DWzLIHc3.js → raw-temporal-presentation-BI2z2LlB.js} +24 -25
- package/dist/chunks/report-preferences-dialog-Dc-YyVwf.js +2109 -0
- package/dist/chunks/{report-runtime-context-BgM-iNWB.js → report-runtime-context-CohdtiMg.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-Df8V5QHW.js → resolve-dashboard-input-context-BZYI1hB0.js} +225 -227
- package/dist/chunks/{save-CfJpQQ68.js → save-C1dgxgAu.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-VvXI6r03.js → saved-dashboard-context-CIBoMq46.js} +8 -8
- package/dist/chunks/selection-reducer-_d6aKJnj.js +46 -0
- package/dist/chunks/{semaphor-ready-indicator-fejZmdq9.js → semaphor-ready-indicator-ERTLU7B4.js} +43497 -49629
- package/dist/chunks/{shelf-drop-preview-context-BuTCXe-S.js → shelf-drop-preview-context-fEnx6iL_.js} +6 -6
- package/dist/chunks/{source-entity-resolution-B46EZIzX.js → source-entity-resolution-DXW1HpKf.js} +1 -1
- package/dist/chunks/{switch-Bq92UGId.js → switch-BqUan2mN.js} +1430 -1341
- package/dist/chunks/{table-export-sheet-noKl8-en.js → table-export-sheet-CTCTA_bd.js} +1 -1
- package/dist/chunks/{table-settings-PpINOzw8.js → table-settings-DF1gdVQR.js} +2 -2
- package/dist/chunks/temporal-input-presentation-DoSniQj1.js +2939 -0
- package/dist/chunks/{token-types--0bgRCaO.js → token-types-DFyLflLY.js} +1 -1
- package/dist/chunks/{upload-BFX7apKV.js → upload-DcoyjkRV.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-Cz-ve64t.js → use-create-flow-overlay-state-xhb9YFg-.js} +124 -126
- package/dist/chunks/{validators-CZo_H4E6.js → validators-hmfNNQz8.js} +5 -5
- package/dist/chunks/zoned-wall-clock-E35Frf9v.js +191 -0
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +131 -132
- package/dist/data-app-sdk/index.js +788 -4153
- 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 +230 -233
- package/dist/index.js +217 -218
- package/dist/layouts/index.js +1 -1
- 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/data-app-sdk/contracts.d.ts +0 -146
- package/dist/types/data-app-sdk/index.d.ts +0 -2
- package/dist/types/index.js +6 -6
- package/dist/types/lib/charts/types.d.ts +1 -2
- package/dist/types/lib/types/common-types.d.ts +0 -10
- package/dist/types/shared/dashboard-authoring/filter-model/filter-definitions.d.ts +1 -7
- package/package.json +1 -4
- package/src/data-app-sdk/README.md +7 -31
- package/dist/chunks/pivot-result-contract-expectations-fKBHFPfz.js +0 -56
- package/dist/chunks/raw-temporal-contract-CjHaUIsE.js +0 -64
- package/dist/chunks/report-preferences-dialog-D_wrbIQt.js +0 -2261
- package/dist/chunks/selection-reducer-By4CSmEF.js +0 -111
- package/dist/chunks/temporal-bucket-DzyadxVY.js +0 -2071
- package/dist/chunks/temporal-input-presentation-CJWS4d0L.js +0 -879
- package/dist/chunks/x-4f5U2XwU.js +0 -100
- package/dist/chunks/zoned-wall-clock-MulfA26h.js +0 -129
- package/dist/types/data-app-sdk/devtools/index.d.ts +0 -49
- package/dist/types/data-app-sdk/devtools.d.ts +0 -1
|
@@ -1,30 +1,29 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as u, useState as f, useRef as p, useEffect as b } from "react";
|
|
3
|
-
import { u as a } from "./semaphor-ready-indicator-
|
|
4
|
-
import { B as S,
|
|
3
|
+
import { u as a } from "./semaphor-ready-indicator-ERTLU7B4.js";
|
|
4
|
+
import { B as S, X as N, C as D } from "./switch-BqUan2mN.js";
|
|
5
5
|
import "./index-CuHybtft.js";
|
|
6
|
-
import "./validators-
|
|
7
|
-
import "./matrix-operation-contract-
|
|
6
|
+
import "./validators-hmfNNQz8.js";
|
|
7
|
+
import "./matrix-operation-contract-CpgLZ7E5.js";
|
|
8
8
|
import "./analytics-base-schemas-BUFUoO6G.js";
|
|
9
9
|
import "zod";
|
|
10
10
|
import "../value-format-preferences/index.js";
|
|
11
|
-
import { c as
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
(o) => o.showDashboardJSON
|
|
11
|
+
import { c as J } from "./_commonjsHelpers-DimLPMtv.js";
|
|
12
|
+
function B() {
|
|
13
|
+
const r = a((s) => s.dashboard), c = a((s) => s.actions.setDashboard), h = a(
|
|
14
|
+
(s) => s.showDashboardJSON
|
|
16
15
|
), l = a(
|
|
17
|
-
(
|
|
18
|
-
),
|
|
16
|
+
(s) => s.actions.setShowDashboardJSON
|
|
17
|
+
), o = u(
|
|
19
18
|
() => r ? JSON.stringify(r, null, 2) : "",
|
|
20
19
|
[r]
|
|
21
|
-
), [m, i] = f(
|
|
20
|
+
), [m, i] = f(o), t = p(o);
|
|
22
21
|
return b(() => {
|
|
23
|
-
|
|
24
|
-
}, [
|
|
22
|
+
o !== t.current && (i(o), t.current = o);
|
|
23
|
+
}, [o]), /* @__PURE__ */ d(
|
|
25
24
|
"div",
|
|
26
25
|
{
|
|
27
|
-
className:
|
|
26
|
+
className: J("relative p-2", {
|
|
28
27
|
hidden: !h
|
|
29
28
|
}),
|
|
30
29
|
children: [
|
|
@@ -36,19 +35,19 @@ function R() {
|
|
|
36
35
|
className: "absolute right-2 top-2 z-10 h-8",
|
|
37
36
|
onClick: () => l(!1),
|
|
38
37
|
children: [
|
|
39
|
-
/* @__PURE__ */ e(
|
|
38
|
+
/* @__PURE__ */ e(N, { className: "mr-2 h-4 w-4" }),
|
|
40
39
|
"Close"
|
|
41
40
|
]
|
|
42
41
|
}
|
|
43
42
|
),
|
|
44
43
|
/* @__PURE__ */ e("div", { className: "h-[550px] overflow-hidden", children: /* @__PURE__ */ e(
|
|
45
|
-
|
|
44
|
+
D,
|
|
46
45
|
{
|
|
47
46
|
value: m,
|
|
48
|
-
onValueChange: (
|
|
49
|
-
i(
|
|
47
|
+
onValueChange: (s) => {
|
|
48
|
+
i(s);
|
|
50
49
|
try {
|
|
51
|
-
const n = JSON.parse(
|
|
50
|
+
const n = JSON.parse(s);
|
|
52
51
|
t.current = JSON.stringify(
|
|
53
52
|
n,
|
|
54
53
|
null,
|
|
@@ -65,5 +64,5 @@ function R() {
|
|
|
65
64
|
);
|
|
66
65
|
}
|
|
67
66
|
export {
|
|
68
|
-
|
|
67
|
+
B as default
|
|
69
68
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { E as o, F as i, S as d, B as s, a as c, U as l, D as t, A as h, C as f, b } from "./semaphor-ready-indicator-
|
|
2
|
+
import { E as o, F as i, S as d, B as s, a as c, U as l, D as t, A as h, C as f, b } from "./semaphor-ready-indicator-ERTLU7B4.js";
|
|
3
3
|
function u(e) {
|
|
4
4
|
if (typeof window > "u")
|
|
5
5
|
return null;
|
package/dist/chunks/{document-dashboard-inputs-BNSprf5_.js → document-dashboard-inputs-PY_7Xm55.js}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Q as Gt, r as re, Y as Lt, Z as Ht, _ as Kt, $ as Qt, a0 as $t, l as ae, a1 as Ut, I as Ne, a2 as
|
|
3
|
-
import { ao as bn } from "./validators-
|
|
4
|
-
import {
|
|
1
|
+
import { cV as vt, cW as Se, cX as M, cY as R, cZ as Fe, d as W, c_ as yt, c$ as Dt, d0 as St, d1 as Ft, d2 as Vt, d3 as Ve, d4 as kt, d5 as ne, d6 as Y, d7 as oe, d8 as Mt, Y as se, i as z, d9 as Tt, da as Ot, db as j, dc as ie, dd as $, de as ke, df as xt, dg as Pt, dh as wt, v as Me, di as Et, dj as Rt, dk as Bt, bZ as Te, dl as Oe, V as xe, dm as Pe, n as we, a as Ee, dn as qt, br as At, _ as Nt, as as Re, bq as Be, dp as jt, bc as zt, a3 as qe, a2 as _t, dq as Ae } from "./global-date-filter-utils-BsFqnnbA.js";
|
|
2
|
+
import { Q as Gt, r as re, Y as Lt, Z as Ht, _ as Kt, $ as Qt, a0 as $t, l as ae, a1 as Ut, I as Ne, a2 as Wt, R as Yt, x as Zt, a3 as Jt, a4 as Xt, a5 as en, a6 as tn, a7 as nn, a8 as on, a9 as sn, N as rn, aa as an, c as ln, ab as je, ac as dn, ad as cn, y as un, ae as fn, J as pn, af as ze, ag as mn, ah as In } from "./resolve-dashboard-input-context-BZYI1hB0.js";
|
|
3
|
+
import { ao as bn } from "./validators-hmfNNQz8.js";
|
|
4
|
+
import { d as le } from "./matrix-operation-contract-CpgLZ7E5.js";
|
|
5
5
|
import "./analytics-base-schemas-BUFUoO6G.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, z 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-
|
|
12
|
-
import "./index-
|
|
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-
|
|
10
|
+
import "./temporal-input-presentation-DoSniQj1.js";
|
|
11
|
+
import { J as hn, z 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-DF1gdVQR.js";
|
|
12
|
+
import "./index-CJW5BdWT.js";
|
|
13
|
+
import { r as _e, B as ce } from "./bookmark-state-PjQpxbG7.js";
|
|
14
|
+
import { q as he } from "./pivot-result-contract-expectations-DMk-mKhG.js";
|
|
15
|
+
import { r as Dn, i as Ge } from "./matrix-card-fS_4O7zA.js";
|
|
16
|
+
import { D as Sn } from "./report-runtime-context-CohdtiMg.js";
|
|
17
17
|
import { c as Fn } from "./selection-filter-compiler-BKXmyLrS.js";
|
|
18
18
|
function ue(e, t) {
|
|
19
19
|
const n = {};
|
|
@@ -174,7 +174,7 @@ function He({
|
|
|
174
174
|
card: a.card
|
|
175
175
|
}).allInputs
|
|
176
176
|
).filter(
|
|
177
|
-
(d) => St(d, a) &&
|
|
177
|
+
(d) => St(d, a) && W(d, a)
|
|
178
178
|
);
|
|
179
179
|
for (const d of c) {
|
|
180
180
|
const l = Ft(
|
|
@@ -376,7 +376,7 @@ function is({
|
|
|
376
376
|
);
|
|
377
377
|
let c = e || {};
|
|
378
378
|
for (const f of t.inputs) {
|
|
379
|
-
if (f.kind !== "filter" || !
|
|
379
|
+
if (f.kind !== "filter" || !W(f, {
|
|
380
380
|
sheetId: o,
|
|
381
381
|
cardId: s,
|
|
382
382
|
sectionId: i,
|
|
@@ -673,16 +673,16 @@ function Ue(e, t, n) {
|
|
|
673
673
|
};
|
|
674
674
|
}
|
|
675
675
|
function fe(e, t, n) {
|
|
676
|
-
return
|
|
676
|
+
return We(
|
|
677
677
|
e,
|
|
678
678
|
Ue(e, t, n),
|
|
679
679
|
n
|
|
680
680
|
);
|
|
681
681
|
}
|
|
682
682
|
function rs(e, t, n) {
|
|
683
|
-
return
|
|
683
|
+
return We(e, t, n);
|
|
684
684
|
}
|
|
685
|
-
function
|
|
685
|
+
function We(e, t, n) {
|
|
686
686
|
const o = e.sheets ?? [], s = o.filter((a) => (a.kind ?? "dashboard") === "dashboard").map((a) => a.id), i = o.filter((a) => a.kind === "document"), r = s.length ? An({
|
|
687
687
|
dashboard: e,
|
|
688
688
|
sheetIds: s,
|
|
@@ -713,7 +713,7 @@ function Ye(e, t, n) {
|
|
|
713
713
|
r
|
|
714
714
|
);
|
|
715
715
|
}
|
|
716
|
-
function
|
|
716
|
+
function Ye(e, t) {
|
|
717
717
|
const n = {}, o = {}, s = /* @__PURE__ */ new Map();
|
|
718
718
|
for (const i of _(t)) {
|
|
719
719
|
const r = e.get(i.inputId), { slot: a } = i, c = () => a.status === "set" && a.value.kind === "filter" ? a.value.filterValue : a.status === "cleared" ? null : void 0;
|
|
@@ -786,7 +786,7 @@ function Qn(e, t, n) {
|
|
|
786
786
|
const u = c == null ? void 0 : c.get(l.filterId);
|
|
787
787
|
return u ? ne(u, l) : !1;
|
|
788
788
|
});
|
|
789
|
-
|
|
789
|
+
Y(d, i[r] ?? []) || (s = !0), i[r] = d;
|
|
790
790
|
}
|
|
791
791
|
return s ? i : void 0;
|
|
792
792
|
}
|
|
@@ -815,7 +815,7 @@ function Un(e, t) {
|
|
|
815
815
|
}
|
|
816
816
|
return o ? i : t;
|
|
817
817
|
}
|
|
818
|
-
function
|
|
818
|
+
function Wn(e) {
|
|
819
819
|
var t, n;
|
|
820
820
|
return ((n = (t = e.sheets) == null ? void 0 : t[0]) == null ? void 0 : n.id) ?? null;
|
|
821
821
|
}
|
|
@@ -826,7 +826,7 @@ function L(e, t) {
|
|
|
826
826
|
function as(e) {
|
|
827
827
|
const { dashboard: t, host: n, calendar: o } = e, s = Ne(t, n.filterValues, {
|
|
828
828
|
calendar: o
|
|
829
|
-
}).slots, i = n.controlValues, r = L(t, n.selectedSheetId) ? n.selectedSheetId :
|
|
829
|
+
}).slots, i = n.controlValues, r = L(t, n.selectedSheetId) ? n.selectedSheetId : Wn(t);
|
|
830
830
|
return {
|
|
831
831
|
hostInputValues: s,
|
|
832
832
|
controlOverrides: i,
|
|
@@ -957,7 +957,7 @@ function V(e, t, n, o = {}) {
|
|
|
957
957
|
}
|
|
958
958
|
return i;
|
|
959
959
|
}
|
|
960
|
-
function
|
|
960
|
+
function Yn(e, t, n) {
|
|
961
961
|
if (t) {
|
|
962
962
|
if (L(e, t)) return t;
|
|
963
963
|
n.push({
|
|
@@ -968,7 +968,7 @@ function Wn(e, t, n) {
|
|
|
968
968
|
});
|
|
969
969
|
}
|
|
970
970
|
}
|
|
971
|
-
const pe = (e, t) =>
|
|
971
|
+
const pe = (e, t) => Y(e ?? null, t ?? null);
|
|
972
972
|
function tt(e) {
|
|
973
973
|
return {
|
|
974
974
|
adHocFilterValues: e.adHocFilterValues,
|
|
@@ -1012,10 +1012,10 @@ function ge(e, t, n, o) {
|
|
|
1012
1012
|
const { dashboard: s, baseline: i } = e, r = [], a = _e(t.state, ce), c = a.ok ? a.value : {};
|
|
1013
1013
|
for (const m of a.ok ? a.issues : [])
|
|
1014
1014
|
r.push(Zn(m));
|
|
1015
|
-
const d = Je(s), l =
|
|
1015
|
+
const d = Je(s), l = Ye(
|
|
1016
1016
|
d.compatibility,
|
|
1017
1017
|
et(s, d, c.inputs, r)
|
|
1018
|
-
), u =
|
|
1018
|
+
), u = Yn(s, c.selectedSheetId, r) ?? i.selectedSheetId, f = V(
|
|
1019
1019
|
s,
|
|
1020
1020
|
c.tableSettings,
|
|
1021
1021
|
r
|
|
@@ -1121,7 +1121,7 @@ function ds(e) {
|
|
|
1121
1121
|
case "refetch": {
|
|
1122
1122
|
const { live: i } = o, r = i.applied, a = {
|
|
1123
1123
|
sheetChanged: !!i.previousBaseline && i.previousBaseline.hostSelectedSheetId !== n.hostSelectedSheetId,
|
|
1124
|
-
controlsChanged: !!i.previousBaseline && !
|
|
1124
|
+
controlsChanged: !!i.previousBaseline && !Y(
|
|
1125
1125
|
i.previousBaseline.controlOverrides ?? null,
|
|
1126
1126
|
n.controlOverrides ?? null
|
|
1127
1127
|
)
|
|
@@ -1213,7 +1213,7 @@ function cs(e) {
|
|
|
1213
1213
|
const c = _e(
|
|
1214
1214
|
e.appliedBookmark.state,
|
|
1215
1215
|
ce
|
|
1216
|
-
), d = Je(t), l =
|
|
1216
|
+
), d = Je(t), l = Ye(
|
|
1217
1217
|
d.compatibility,
|
|
1218
1218
|
et(
|
|
1219
1219
|
t,
|
|
@@ -1261,7 +1261,7 @@ function st(e, t) {
|
|
|
1261
1261
|
), s = {};
|
|
1262
1262
|
for (const [i, r] of o) {
|
|
1263
1263
|
const a = n.get(i);
|
|
1264
|
-
a &&
|
|
1264
|
+
a && Y(a.slot, r.slot) || Q(r.slot) && Q(a == null ? void 0 : a.slot) || U(
|
|
1265
1265
|
s,
|
|
1266
1266
|
r,
|
|
1267
1267
|
Q(r.slot) ? { status: "cleared" } : r.slot
|
|
@@ -1361,7 +1361,7 @@ function Is(e) {
|
|
|
1361
1361
|
o
|
|
1362
1362
|
),
|
|
1363
1363
|
cardViewState: i ? Tn(i.cardViewState) : {}
|
|
1364
|
-
}, c = i ?
|
|
1364
|
+
}, c = i ? Wt(i.transientContexts) : void 0;
|
|
1365
1365
|
return {
|
|
1366
1366
|
runtimeValues: a,
|
|
1367
1367
|
controlOverrides: r,
|
|
@@ -1723,7 +1723,7 @@ function Cs(e, t) {
|
|
|
1723
1723
|
function fo(e, t, n) {
|
|
1724
1724
|
const o = Dn(e);
|
|
1725
1725
|
if (!o) throw new Error("Matrix card definition is required.");
|
|
1726
|
-
const s = n &&
|
|
1726
|
+
const s = n && Yt({
|
|
1727
1727
|
...n,
|
|
1728
1728
|
spec: o.spec,
|
|
1729
1729
|
catalog: t.map((l) => ({ ...l, id: l.resolvedField.id }))
|
|
@@ -2444,7 +2444,7 @@ function Eo({
|
|
|
2444
2444
|
const k = (I = p.dashboardInputContext) == null ? void 0 : I.inputs.find(
|
|
2445
2445
|
(S) => S.kind === "filter" && S.filter.id === m.id
|
|
2446
2446
|
), T = Nt(r, m).filter(
|
|
2447
|
-
({ card: S, sheet: D }) => !k ||
|
|
2447
|
+
({ card: S, sheet: D }) => !k || W(k, {
|
|
2448
2448
|
cardId: S.id,
|
|
2449
2449
|
sheetId: D.id,
|
|
2450
2450
|
sheetKind: Re(D) ? "document" : "dashboard"
|
|
@@ -2749,7 +2749,7 @@ function qo(e, t) {
|
|
|
2749
2749
|
dashboardFilters: [...Be(e)]
|
|
2750
2750
|
}), o = ht(e, t);
|
|
2751
2751
|
return n.filter(
|
|
2752
|
-
(s) =>
|
|
2752
|
+
(s) => W(s, { sheetId: t, sheetKind: "document" }) || s.kind === "filter" && (s.runtimeScope === "shared" || s.runtimeScope === "perSheet") && qe(s, o)
|
|
2753
2753
|
);
|
|
2754
2754
|
}
|
|
2755
2755
|
function ht(e, t) {
|