react-semaphor 0.1.572 → 0.1.573
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/assistant-context/index.js +1 -1
- package/dist/assistant-protocol/index.js +62 -59
- package/dist/briefings/index.js +1 -1
- package/dist/chunks/{model-change-T1cRkh3m.js → add-to-dashboard-B6Ah8Lub.js} +121 -84
- package/dist/chunks/{assistant-chat-DF1-q82n.js → assistant-chat-D95DtCj7.js} +2411 -2313
- package/dist/chunks/{bookmark-impact-fdj8fY9i.js → bookmark-impact-DUWw3wlA.js} +1 -1
- package/dist/chunks/{card-filter-builder-BFT21WI-.js → card-filter-builder-B3bEPylu.js} +54 -54
- package/dist/chunks/{dashboard-jUhZ7T4f.js → dashboard-DdALjmc3.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-DDXzTYuA.js → dashboard-briefing-launcher-D2vevpyl.js} +82 -82
- package/dist/chunks/{dashboard-controls-BwKQEoGp.js → dashboard-controls-DxrsGK9A.js} +7 -7
- package/dist/chunks/{dashboard-json-B3fR1_Oc.js → dashboard-json-rwds0HjB.js} +1 -1
- package/dist/chunks/{dates-DKkSDWHe.js → dates-DlYMDaF2.js} +4 -4
- package/dist/chunks/{edit-dashboard-visual-DGZABdS-.js → edit-dashboard-visual-BCDz5HOb.js} +1354 -1317
- package/dist/chunks/{filter-reach-copy-CWHV7GSb.js → filter-reach-copy-BTAXnbwQ.js} +2 -2
- package/dist/chunks/{index-CeeY4wjE.js → index-8BxDk8EP.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-R3EGbxfu.js → report-preferences-dialog-D9nBczmk.js} +7 -7
- package/dist/chunks/{resolve-dashboard-input-context-CBQF3obr.js → resolve-dashboard-input-context-DBFuNhZo.js} +3961 -3923
- package/dist/chunks/{saved-dashboard-context-_-7LKeK1.js → saved-dashboard-context-AChHk4tw.js} +2 -2
- package/dist/chunks/{semaphor-ready-indicator-CEbA4CFb.js → semaphor-ready-indicator-BdOAS4Uw.js} +23554 -23073
- package/dist/chunks/{shelf-drop-preview-context-UqUUVSJq.js → shelf-drop-preview-context-B1goDUYE.js} +2 -2
- package/dist/chunks/{stored-dashboard-Bk3iCXtp.js → stored-dashboard-rpLzf4mk.js} +112 -112
- package/dist/chunks/{variable-draft-ggS3X7FG.js → variable-draft-DPSMDwqt.js} +2 -2
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.js +1381 -1368
- package/dist/index.js +11 -11
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/components/dashboard/summary-card.d.ts +5 -0
- package/dist/types/lib/formatters/kpi-number-formatter.d.ts +12 -0
- package/dist/types/lib/types/explorer-types.d.ts +6 -0
- package/dist/types/shared/assistant-protocol/model-change.d.ts +52 -1
- package/dist/types/shared/assistant-protocol/parts.d.ts +49 -2
- package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +5 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +4 -0
- package/dist/types/shared/dashboard-authoring/kpi-figure.d.ts +38 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as r, Fragment as U } from "react/jsx-runtime";
|
|
2
2
|
import la, { useState as E, useEffect as Ee, useCallback as ie, useMemo as Y, useLayoutEffect as Ut, useRef as et, useContext as Va } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { c as we, B as L, X as Qe, s as
|
|
3
|
+
import { dI as it, bD as Le, bE as Ve, bG as Be, dJ as Ba, b1 as $e, a_ as ot, dK as Pa, dL as lt, dM as Ct, ag as dt, ad as ve, u as w, dN as _a, dO as Oa, bC as M, dP as Ma, af as oe, aY as za, c6 as Ra, dQ as Ua, dR as $a, bw as da, bW as be, cq as ca, bV as tt, n as ja, j as qa, dS as Wa, ct as wt, cu as St, cv as kt, cw as Dt, cx as At, cy as Ft, cz as Et, cA as ua, cD as It, dT as Qa, dp as Ka, ci as pt, cf as je, cg as qe, dB as ha, ch as We, c2 as re, cr as Ha, cm as at, dU as Ga, b$ as Ya, dV as ma, bn as ct, bF as Tt, bH as ut, dW as pa, bB as Xa, dX as Ja, bo as Za, h as en, dY as tn, J as an, H as fa, bi as nn, K as rn, r as sn, dZ as on, d_ as ln, d$ as ga, e0 as dn, e1 as cn, e2 as Ce, e3 as un, R as ba, e4 as hn, e5 as mn, aV as pn, e6 as fn, e7 as ge, e8 as gn, a3 as Lt, e9 as bn, ea as ft, eb as xn, ec as $t, ed as vn, ee as yn, ef as Nn, eg as xa, cT as Cn, eh as wn, ei as Sn, dv as Vt, cE as va, ej as kn, ek as jt, el as Dn, em as An, en as Fn, eo as En, b0 as In, bx as Tn, c5 as ya, ep as Ln, eq as Vn, er as Xe, es as Bn, et as Pn, eu as _n, A as On, aK as Mn, aL as zn, aq as Rn, ap as Un, ao as $n, an as jn, ak as qn, ai as Wn, ev as Qn, ew as Kn, ex as Hn, ey as Gn, ez as Yn, aI as Xn } from "./semaphor-ready-indicator-BdOAS4Uw.js";
|
|
4
|
+
import { c as we, B as L, X as Qe, s as Re, x as xe, L as de, q as Bt, j as Pt, p as Jn, F as _t, e as Ie, aa as Na, h as Te, f as nt, i as Ca, g as Nt, y as Se, z as ke, A as De, D as Ae, E as fe, ab as Zn } from "./style-sheet-parts-C7qGZuH1.js";
|
|
5
5
|
import { L as Ue } from "./layout-grid-8rR-LPTk.js";
|
|
6
6
|
import { c as J } from "./pickers-DkqmtnTL.js";
|
|
7
7
|
import { S as er } from "./validators-B8fpdinG.js";
|
|
@@ -9,9 +9,9 @@ import "./matrix-operation-contract-DCVinw1o.js";
|
|
|
9
9
|
import "./analytics-base-schemas-BaIQrEzX.js";
|
|
10
10
|
import "../value-format-preferences/index.js";
|
|
11
11
|
import { s as Je } from "./normalize-dashboard-for-dirty-check-XKgH3GFX.js";
|
|
12
|
-
import {
|
|
12
|
+
import { bF as qt, bb as Wt, eo as Qt, gN as tr, gO as rt, fM as Kt, gP as ar, o as Ke, gQ as nr, p as rr, gf as sr, gR as ir, gS as or, ct as lr, gT as dr, l as cr, f9 as ur, gU as hr, gV as mr, a as Ot, aN as pr, a4 as fr, c7 as gr, gW as br, gX as xr, ci as vr, gY as yr, gZ as Ht, g_ as Nr } from "./resolve-dashboard-input-context-DBFuNhZo.js";
|
|
13
13
|
import { S as wa } from "./save-D985VvYp.js";
|
|
14
|
-
import { V as Cr, L as wr, a as Sr, u as Sa, C as ka, F as kr, b as Dr, A as Ar, c as Fr } from "./card-filter-builder-
|
|
14
|
+
import { V as Cr, L as wr, a as Sr, u as Sa, C as ka, F as kr, b as Dr, A as Ar, c as Fr } from "./card-filter-builder-B3bEPylu.js";
|
|
15
15
|
import { createPortal as Er } from "react-dom";
|
|
16
16
|
import { aV as Gt, ar as Ir } from "./temporal-input-presentation-CqbJjIuu.js";
|
|
17
17
|
import { aA as Tr, ao as Lr, D as Vr, a9 as st, S as Br } from "./bookmark-state-BEl_G9vr.js";
|
|
@@ -19,9 +19,9 @@ import "zod";
|
|
|
19
19
|
import "./schema-C9NPiIru.js";
|
|
20
20
|
import "./index-CV_Kzou0.js";
|
|
21
21
|
import "./context-R31TSL5V.js";
|
|
22
|
-
import { v as Pr, F as _r } from "./filter-reach-copy-
|
|
23
|
-
import { a as Yt, d as Xt, c as Or, i as Mr, b as
|
|
24
|
-
import { g as pe, d as $r, a as jr } from "./index-
|
|
22
|
+
import { v as Pr, F as _r } from "./filter-reach-copy-BTAXnbwQ.js";
|
|
23
|
+
import { a as Yt, d as Xt, c as Or, i as Mr, b as zr, e as Rr, v as Jt, f as Zt, g as Ur } from "./variable-draft-DPSMDwqt.js";
|
|
24
|
+
import { g as pe, d as $r, a as jr } from "./index-8BxDk8EP.js";
|
|
25
25
|
/**
|
|
26
26
|
* @license lucide-react v0.453.0 - ISC
|
|
27
27
|
*
|
|
@@ -186,7 +186,7 @@ function Xr({
|
|
|
186
186
|
/* @__PURE__ */ r("div", { className: "space-y-3 px-4 py-3", children: [
|
|
187
187
|
/* @__PURE__ */ t("p", { className: "text-[12px] text-muted-foreground", children: "Create a saved visual that can be reused across dashboards." }),
|
|
188
188
|
/* @__PURE__ */ r("div", { className: "space-y-1.5", children: [
|
|
189
|
-
/* @__PURE__ */ t(
|
|
189
|
+
/* @__PURE__ */ t(Re, { htmlFor: "visual-title", className: "text-[12px]", children: "Name" }),
|
|
190
190
|
/* @__PURE__ */ t(
|
|
191
191
|
xe,
|
|
192
192
|
{
|
|
@@ -203,7 +203,7 @@ function Xr({
|
|
|
203
203
|
)
|
|
204
204
|
] }),
|
|
205
205
|
/* @__PURE__ */ r("div", { className: "space-y-1.5", children: [
|
|
206
|
-
/* @__PURE__ */ t(
|
|
206
|
+
/* @__PURE__ */ t(Re, { htmlFor: "visual-description", className: "text-[12px]", children: "Description" }),
|
|
207
207
|
/* @__PURE__ */ t(
|
|
208
208
|
xe,
|
|
209
209
|
{
|
|
@@ -373,7 +373,7 @@ function ts() {
|
|
|
373
373
|
), a = Jr(e);
|
|
374
374
|
return { getUpdatedFrame: ie(() => {
|
|
375
375
|
var N;
|
|
376
|
-
|
|
376
|
+
za();
|
|
377
377
|
const {
|
|
378
378
|
frame: n,
|
|
379
379
|
card: i,
|
|
@@ -518,12 +518,12 @@ function Pe() {
|
|
|
518
518
|
const j = Da(ae);
|
|
519
519
|
if (!(j != null && j.cards) || j.cards.length === 0)
|
|
520
520
|
return te("Visual frame is malformed");
|
|
521
|
-
const
|
|
521
|
+
const z = {
|
|
522
522
|
...Oa(j),
|
|
523
523
|
visualId: _.id
|
|
524
524
|
// Link this frame to the library visual
|
|
525
525
|
};
|
|
526
|
-
return await n(v,
|
|
526
|
+
return await n(v, z), O(!0), { success: !0, fromCache: I };
|
|
527
527
|
} catch (G) {
|
|
528
528
|
return console.error("Error adding visual:", G), te(
|
|
529
529
|
G instanceof Error ? G.message : "Failed to add visual to dashboard"
|
|
@@ -590,7 +590,7 @@ function ji({
|
|
|
590
590
|
l(/* @__PURE__ */ new Set()), h(null), m(null), g(!1), N(null);
|
|
591
591
|
}, D = () => {
|
|
592
592
|
a(!1), B();
|
|
593
|
-
}, { selectVisual: O } = Ct(), { handleAddLibraryVisual: b, handleEditLibraryVisual: S } = Pe(), { isConsoleMode: v } =
|
|
593
|
+
}, { selectVisual: O } = Ct(), { handleAddLibraryVisual: b, handleEditLibraryVisual: S } = Pe(), { isConsoleMode: v } = Ra(), {
|
|
594
594
|
resources: T,
|
|
595
595
|
isLoading: F,
|
|
596
596
|
isError: H,
|
|
@@ -609,7 +609,7 @@ function ji({
|
|
|
609
609
|
startUpdating: G,
|
|
610
610
|
stopUpdating: I,
|
|
611
611
|
isUpdating: ae
|
|
612
|
-
} = $a(), j = T,
|
|
612
|
+
} = $a(), j = T, z = Y(() => {
|
|
613
613
|
const C = n.trim().toLowerCase();
|
|
614
614
|
return C ? j.filter(
|
|
615
615
|
(q) => {
|
|
@@ -626,23 +626,23 @@ function ji({
|
|
|
626
626
|
(C) => C.permissions.canDelete
|
|
627
627
|
), he = ne.filter(
|
|
628
628
|
(C) => C.permissions.canShare
|
|
629
|
-
), ye =
|
|
629
|
+
), ye = z.length > 0 && z.every(
|
|
630
630
|
(C) => o.has(C.id)
|
|
631
|
-
), x =
|
|
631
|
+
), x = z.some(
|
|
632
632
|
(C) => o.has(C.id)
|
|
633
|
-
),
|
|
633
|
+
), R = (C) => {
|
|
634
634
|
const q = new Set(o);
|
|
635
635
|
C(q), l(q);
|
|
636
636
|
}, $ = (C) => {
|
|
637
|
-
|
|
637
|
+
R((q) => {
|
|
638
638
|
q.has(C) ? q.delete(C) : q.add(C);
|
|
639
639
|
});
|
|
640
640
|
}, K = () => {
|
|
641
641
|
l((C) => {
|
|
642
642
|
const q = new Set(C);
|
|
643
|
-
return ye ?
|
|
643
|
+
return ye ? z.forEach(
|
|
644
644
|
(ee) => q.delete(ee.id)
|
|
645
|
-
) :
|
|
645
|
+
) : z.forEach(
|
|
646
646
|
(ee) => q.add(ee.id)
|
|
647
647
|
), q;
|
|
648
648
|
});
|
|
@@ -721,7 +721,7 @@ function ji({
|
|
|
721
721
|
);
|
|
722
722
|
}, ce = (C) => {
|
|
723
723
|
a(C), C || B();
|
|
724
|
-
},
|
|
724
|
+
}, ze = y ? 1 : ue.length;
|
|
725
725
|
return /* @__PURE__ */ r(U, { children: [
|
|
726
726
|
/* @__PURE__ */ t(Le, { open: e, onOpenChange: ce, children: /* @__PURE__ */ r(
|
|
727
727
|
Ve,
|
|
@@ -779,14 +779,14 @@ function ji({
|
|
|
779
779
|
}
|
|
780
780
|
)
|
|
781
781
|
] }),
|
|
782
|
-
/* @__PURE__ */ t("div", { className: "min-h-0 flex-1 overflow-auto", children: F ? /* @__PURE__ */ t("div", { className: "p-3", children: /* @__PURE__ */ t(Yr, {}) }) : H ? /* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-2 px-4 py-12 text-center", children: /* @__PURE__ */ t("p", { className: "text-[13px] text-destructive", children: "Failed to load visuals" }) }) :
|
|
782
|
+
/* @__PURE__ */ t("div", { className: "min-h-0 flex-1 overflow-auto", children: F ? /* @__PURE__ */ t("div", { className: "p-3", children: /* @__PURE__ */ t(Yr, {}) }) : H ? /* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-2 px-4 py-12 text-center", children: /* @__PURE__ */ t("p", { className: "text-[13px] text-destructive", children: "Failed to load visuals" }) }) : z.length === 0 ? /* @__PURE__ */ r("div", { className: "flex flex-col items-center gap-2 px-4 py-12 text-center", children: [
|
|
783
783
|
/* @__PURE__ */ t(Ue, { className: "h-5 w-5 text-muted-foreground/60" }),
|
|
784
784
|
/* @__PURE__ */ t("p", { className: "text-[13px] font-medium", children: n ? "No visuals found" : "No visuals yet" }),
|
|
785
785
|
/* @__PURE__ */ t("p", { className: "text-[12px] text-muted-foreground", children: n ? "Try a different search." : "Create a saved visual to add it here." })
|
|
786
786
|
] }) : /* @__PURE__ */ t(
|
|
787
787
|
ss,
|
|
788
788
|
{
|
|
789
|
-
visuals:
|
|
789
|
+
visuals: z,
|
|
790
790
|
selectedIds: o,
|
|
791
791
|
allFilteredSelected: ye,
|
|
792
792
|
someFilteredSelected: x,
|
|
@@ -917,9 +917,9 @@ function ji({
|
|
|
917
917
|
/* @__PURE__ */ r(kt, { children: [
|
|
918
918
|
/* @__PURE__ */ r(Dt, { children: [
|
|
919
919
|
"Delete ",
|
|
920
|
-
|
|
920
|
+
ze,
|
|
921
921
|
" visual",
|
|
922
|
-
|
|
922
|
+
ze === 1 ? "" : "s",
|
|
923
923
|
"?"
|
|
924
924
|
] }),
|
|
925
925
|
/* @__PURE__ */ t(At, { children: "This cannot be undone. Visuals already added to dashboards may need to be removed from those dashboards separately." })
|
|
@@ -932,7 +932,7 @@ function ji({
|
|
|
932
932
|
onClick: (C) => {
|
|
933
933
|
C.preventDefault(), mt();
|
|
934
934
|
},
|
|
935
|
-
disabled: Z ||
|
|
935
|
+
disabled: Z || ze === 0,
|
|
936
936
|
children: [
|
|
937
937
|
Z ? /* @__PURE__ */ t(de, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ t(tt, { className: "h-3.5 w-3.5" }),
|
|
938
938
|
Z ? "Deleting..." : "Delete"
|
|
@@ -1229,7 +1229,7 @@ function qi(e, a, s = !1) {
|
|
|
1229
1229
|
}));
|
|
1230
1230
|
}, [u, o]), l;
|
|
1231
1231
|
}
|
|
1232
|
-
function
|
|
1232
|
+
function zt(e) {
|
|
1233
1233
|
var a;
|
|
1234
1234
|
for (const s of e.cards)
|
|
1235
1235
|
if (s.type === "matrixTable" && !er.safeParse((a = s.config) == null ? void 0 : a.matrix).success)
|
|
@@ -1243,7 +1243,7 @@ function gt({
|
|
|
1243
1243
|
const s = oe((o) => o.onSave), { getUpdatedFrame: n } = Pe();
|
|
1244
1244
|
function i() {
|
|
1245
1245
|
const o = n();
|
|
1246
|
-
|
|
1246
|
+
zt(o) && (s == null || s(o));
|
|
1247
1247
|
}
|
|
1248
1248
|
return /* @__PURE__ */ r(
|
|
1249
1249
|
L,
|
|
@@ -1269,7 +1269,7 @@ function ls({
|
|
|
1269
1269
|
{
|
|
1270
1270
|
onClick: () => {
|
|
1271
1271
|
const p = l();
|
|
1272
|
-
if (!
|
|
1272
|
+
if (!zt(p))
|
|
1273
1273
|
return;
|
|
1274
1274
|
const m = (c == null ? void 0 : c.visualId) || (u == null ? void 0 : u.id);
|
|
1275
1275
|
if (!m) {
|
|
@@ -1329,7 +1329,7 @@ function ds({
|
|
|
1329
1329
|
n(!0);
|
|
1330
1330
|
try {
|
|
1331
1331
|
const y = h();
|
|
1332
|
-
if (!
|
|
1332
|
+
if (!zt(y)) {
|
|
1333
1333
|
n(!1);
|
|
1334
1334
|
return;
|
|
1335
1335
|
}
|
|
@@ -1455,7 +1455,7 @@ function cs({
|
|
|
1455
1455
|
] }),
|
|
1456
1456
|
/* @__PURE__ */ r("div", { className: "grid gap-4 py-4", children: [
|
|
1457
1457
|
/* @__PURE__ */ r("div", { className: "grid gap-2", children: [
|
|
1458
|
-
/* @__PURE__ */ t(
|
|
1458
|
+
/* @__PURE__ */ t(Re, { htmlFor: "name", children: "Name" }),
|
|
1459
1459
|
/* @__PURE__ */ t(
|
|
1460
1460
|
xe,
|
|
1461
1461
|
{
|
|
@@ -1468,7 +1468,7 @@ function cs({
|
|
|
1468
1468
|
)
|
|
1469
1469
|
] }),
|
|
1470
1470
|
/* @__PURE__ */ r("div", { className: "grid gap-2", children: [
|
|
1471
|
-
/* @__PURE__ */ t(
|
|
1471
|
+
/* @__PURE__ */ t(Re, { htmlFor: "description", children: "Description (optional)" }),
|
|
1472
1472
|
/* @__PURE__ */ t(
|
|
1473
1473
|
pa,
|
|
1474
1474
|
{
|
|
@@ -2738,7 +2738,7 @@ function Ds({
|
|
|
2738
2738
|
return /* @__PURE__ */ r("div", { className: "flex items-center gap-2 rounded-control px-1 py-1 transition-colors hover:bg-muted/40 focus-within:bg-muted/40", children: [
|
|
2739
2739
|
/* @__PURE__ */ t(It, { id: e, checked: s, onCheckedChange: n }),
|
|
2740
2740
|
/* @__PURE__ */ t(
|
|
2741
|
-
|
|
2741
|
+
Re,
|
|
2742
2742
|
{
|
|
2743
2743
|
htmlFor: e,
|
|
2744
2744
|
className: "cursor-pointer text-[12px] font-normal leading-[1.3]",
|
|
@@ -3065,7 +3065,7 @@ function Ps(e) {
|
|
|
3065
3065
|
function _s(e) {
|
|
3066
3066
|
return e.mode === "period" ? pr(e.spec) : void 0;
|
|
3067
3067
|
}
|
|
3068
|
-
const
|
|
3068
|
+
const Rt = "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", Os = {
|
|
3069
3069
|
connectionId: "",
|
|
3070
3070
|
connectionType: "",
|
|
3071
3071
|
mode: "semanticDomain",
|
|
@@ -3080,7 +3080,7 @@ function se({
|
|
|
3080
3080
|
}) {
|
|
3081
3081
|
return /* @__PURE__ */ r("div", { className: i, children: [
|
|
3082
3082
|
/* @__PURE__ */ r("div", { className: "mb-1 flex min-h-5 items-center justify-between gap-2", children: [
|
|
3083
|
-
/* @__PURE__ */ t("p", { className:
|
|
3083
|
+
/* @__PURE__ */ t("p", { className: Rt, children: e }),
|
|
3084
3084
|
s
|
|
3085
3085
|
] }),
|
|
3086
3086
|
n,
|
|
@@ -3113,27 +3113,27 @@ function Ms(e) {
|
|
|
3113
3113
|
if (a)
|
|
3114
3114
|
return a.label || a.name;
|
|
3115
3115
|
}
|
|
3116
|
-
function
|
|
3116
|
+
function zs(e) {
|
|
3117
3117
|
const a = Ot(e);
|
|
3118
3118
|
return a === "date" ? "date" : a === "string" ? "text" : a === "number" ? "number" : a === "boolean" ? "yes/no" : a;
|
|
3119
3119
|
}
|
|
3120
3120
|
const oa = "__new_calculated_field__";
|
|
3121
|
-
function
|
|
3121
|
+
function Rs({
|
|
3122
3122
|
draft: e,
|
|
3123
3123
|
onChange: a,
|
|
3124
3124
|
handle: s,
|
|
3125
3125
|
onCalculatedFieldOpenChange: n
|
|
3126
3126
|
}) {
|
|
3127
|
-
var _, te, Z, G, I, ae, j,
|
|
3127
|
+
var _, te, Z, G, I, ae, j, z, ne, ue, he, ye;
|
|
3128
3128
|
const { tokenProps: i } = $e(), o = ((_ = i.config) == null ? void 0 : _.showAdvancedMode) !== !1, l = ((te = i.config) == null ? void 0 : te.showDirectSource) !== !1, { connections: u } = va(), [c, d] = E(!1), [h, p] = E(!1), [m, f] = E(!1), g = (x) => {
|
|
3129
3129
|
p(x), n == null || n(x);
|
|
3130
|
-
}, { fields: y, isLoading: N, error: k } = Bs(e.mode === "data" ? e.dataSource : void 0), V = [...e.calculatedFields ?? [], ...y], B = (x) => x && (V.find((
|
|
3130
|
+
}, { fields: y, isLoading: N, error: k } = Bs(e.mode === "data" ? e.dataSource : void 0), V = [...e.calculatedFields ?? [], ...y], B = (x) => x && (V.find((R) => R.id === x.id) ?? V.find((R) => Us(R, x))), D = [
|
|
3131
3131
|
...V,
|
|
3132
3132
|
...[e.field, e.sortField].filter(
|
|
3133
|
-
(x) => !!x && !B(x) && !V.some((
|
|
3133
|
+
(x) => !!x && !B(x) && !V.some((R) => R.id === x.id)
|
|
3134
3134
|
)
|
|
3135
3135
|
], O = ((Z = B(e.field)) == null ? void 0 : Z.id) ?? ((G = e.field) == null ? void 0 : G.id) ?? "", b = ((I = B(e.sortField ?? e.field)) == null ? void 0 : I.id) ?? ((ae = e.sortField ?? e.field) == null ? void 0 : ae.id) ?? "", S = (x) => a({ ...e, ...x }), v = Ms(e.dataSource), T = ((j = e.dataSource) == null ? void 0 : j.mode) === "database" ? Bt : jt, F = "mt-1 inline-flex items-center gap-1 text-[11px] font-medium text-muted-foreground underline-offset-2 hover:text-foreground hover:underline", H = {
|
|
3136
|
-
connectionId: ((
|
|
3136
|
+
connectionId: ((z = e.dataSource) == null ? void 0 : z.connectionId) || e.connectionId,
|
|
3137
3137
|
dataSource: e.dataSource,
|
|
3138
3138
|
config: e.conditions ? { filters: e.conditions } : {},
|
|
3139
3139
|
cardType: "text"
|
|
@@ -3142,10 +3142,10 @@ function zs({
|
|
|
3142
3142
|
g(!0);
|
|
3143
3143
|
return;
|
|
3144
3144
|
}
|
|
3145
|
-
const
|
|
3146
|
-
if (!
|
|
3147
|
-
const $ = Yt(
|
|
3148
|
-
S({ field:
|
|
3145
|
+
const R = D.find((K) => K.id === x);
|
|
3146
|
+
if (!R) return;
|
|
3147
|
+
const $ = Yt(R).some((K) => K.value === e.get) && e.field !== void 0;
|
|
3148
|
+
S({ field: R, get: $ ? e.get : Xt(R) });
|
|
3149
3149
|
};
|
|
3150
3150
|
return h ? /* @__PURE__ */ t(
|
|
3151
3151
|
Dn,
|
|
@@ -3157,11 +3157,11 @@ function zs({
|
|
|
3157
3157
|
cardId: e.id,
|
|
3158
3158
|
source: H,
|
|
3159
3159
|
onSave: (x) => {
|
|
3160
|
-
const
|
|
3160
|
+
const R = { ...x, fieldScope: x.fieldScope ?? "card" };
|
|
3161
3161
|
S({
|
|
3162
|
-
calculatedFields: [...(e.calculatedFields ?? []).filter(($) => $.id !==
|
|
3163
|
-
field:
|
|
3164
|
-
get: Xt(
|
|
3162
|
+
calculatedFields: [...(e.calculatedFields ?? []).filter(($) => $.id !== R.id), R],
|
|
3163
|
+
field: R,
|
|
3164
|
+
get: Xt(R)
|
|
3165
3165
|
}), g(!1);
|
|
3166
3166
|
}
|
|
3167
3167
|
}
|
|
@@ -3258,9 +3258,9 @@ function zs({
|
|
|
3258
3258
|
incomingSelectedEntities: ((he = e.dataSource) == null ? void 0 : he.selectedEntities) ?? [],
|
|
3259
3259
|
onDataSourceChange: (x) => {
|
|
3260
3260
|
var $;
|
|
3261
|
-
const
|
|
3261
|
+
const R = JSON.stringify(x.selectedEntities) === JSON.stringify(($ = e.dataSource) == null ? void 0 : $.selectedEntities);
|
|
3262
3262
|
S(
|
|
3263
|
-
|
|
3263
|
+
R ? { dataSource: x } : { dataSource: x, field: void 0, sortField: void 0, conditions: null, calculatedFields: void 0 }
|
|
3264
3264
|
);
|
|
3265
3265
|
}
|
|
3266
3266
|
}
|
|
@@ -3271,7 +3271,7 @@ function zs({
|
|
|
3271
3271
|
/* @__PURE__ */ r(Ae, { children: [
|
|
3272
3272
|
D.map((x) => /* @__PURE__ */ t(fe, { value: x.id, children: /* @__PURE__ */ r("span", { className: "flex items-center gap-2", children: [
|
|
3273
3273
|
/* @__PURE__ */ t("span", { children: x.label || x.name }),
|
|
3274
|
-
/* @__PURE__ */ t("span", { className: "text-muted-foreground", children:
|
|
3274
|
+
/* @__PURE__ */ t("span", { className: "text-muted-foreground", children: zs(x.dataType) })
|
|
3275
3275
|
] }) }, x.id)),
|
|
3276
3276
|
/* @__PURE__ */ t(Zn, {}),
|
|
3277
3277
|
/* @__PURE__ */ t(fe, { value: oa, children: /* @__PURE__ */ r("span", { className: "flex items-center gap-1.5", children: [
|
|
@@ -3315,17 +3315,17 @@ function zs({
|
|
|
3315
3315
|
{
|
|
3316
3316
|
value: `${b}|${e.sortDirection}`,
|
|
3317
3317
|
onValueChange: (x) => {
|
|
3318
|
-
const
|
|
3318
|
+
const R = x.lastIndexOf("|"), $ = x.slice(0, R), K = x.slice(R + 1);
|
|
3319
3319
|
S({ sortField: D.find((le) => le.id === $), sortDirection: K });
|
|
3320
3320
|
},
|
|
3321
3321
|
children: [
|
|
3322
3322
|
/* @__PURE__ */ t(ke, { size: "xs", "aria-label": "Order by", children: /* @__PURE__ */ t(De, {}) }),
|
|
3323
3323
|
/* @__PURE__ */ t(Ae, { children: D.flatMap(
|
|
3324
|
-
(x) => ["asc", "desc"].map((
|
|
3324
|
+
(x) => ["asc", "desc"].map((R) => /* @__PURE__ */ r(fe, { value: `${x.id}|${R}`, children: [
|
|
3325
3325
|
x.label || x.name,
|
|
3326
3326
|
", ",
|
|
3327
|
-
$s(x,
|
|
3328
|
-
] }, `${x.id}|${
|
|
3327
|
+
$s(x, R)
|
|
3328
|
+
] }, `${x.id}|${R}`))
|
|
3329
3329
|
) })
|
|
3330
3330
|
]
|
|
3331
3331
|
}
|
|
@@ -3341,8 +3341,8 @@ function zs({
|
|
|
3341
3341
|
value: e.listLimit ?? "",
|
|
3342
3342
|
placeholder: "10",
|
|
3343
3343
|
onChange: (x) => {
|
|
3344
|
-
const
|
|
3345
|
-
S({ listLimit: Number.isFinite(
|
|
3344
|
+
const R = Number.parseInt(x.target.value, 10);
|
|
3345
|
+
S({ listLimit: Number.isFinite(R) && R > 0 ? Math.min(R, st) : void 0 });
|
|
3346
3346
|
},
|
|
3347
3347
|
"aria-label": "Show up to"
|
|
3348
3348
|
}
|
|
@@ -3438,7 +3438,7 @@ function Qs({
|
|
|
3438
3438
|
}) {
|
|
3439
3439
|
var Z, G;
|
|
3440
3440
|
const n = w((I) => I.dashboard), i = w((I) => I.selectedSheetId), o = w((I) => I.actions.saveVariableChange), [l, u] = E(
|
|
3441
|
-
() => e ?
|
|
3441
|
+
() => e ? zr(e) : Rr()
|
|
3442
3442
|
), [c, d] = E("data"), [h, p] = E(!1), m = (I) => {
|
|
3443
3443
|
p(I), s == null || s(I);
|
|
3444
3444
|
}, [f, g] = E([]), [y, N] = E(null), k = !e, V = Ws(l), B = Y(
|
|
@@ -3465,18 +3465,18 @@ function Qs({
|
|
|
3465
3465
|
X(!0);
|
|
3466
3466
|
let ae;
|
|
3467
3467
|
try {
|
|
3468
|
-
const
|
|
3469
|
-
if (!
|
|
3470
|
-
X(!1), g(
|
|
3468
|
+
const z = vr(n, e ? { kind: "update", id: e.id, patch: I } : { kind: "add", variable: I });
|
|
3469
|
+
if (!z.ok) {
|
|
3470
|
+
X(!1), g(z.issues);
|
|
3471
3471
|
return;
|
|
3472
3472
|
}
|
|
3473
|
-
const [ne] =
|
|
3473
|
+
const [ne] = z.queryFrames;
|
|
3474
3474
|
ae = ne ? await H(ne, e ? { previousFrame: yr(n, e) } : void 0) : { domainsById: {} };
|
|
3475
|
-
} catch (
|
|
3475
|
+
} catch (z) {
|
|
3476
3476
|
X(!1), g([
|
|
3477
3477
|
{
|
|
3478
3478
|
code: "queryMissing",
|
|
3479
|
-
message:
|
|
3479
|
+
message: z instanceof Error && z.message ? z.message : "The data source's details could not be loaded.",
|
|
3480
3480
|
fix: "Try again, or choose the source again."
|
|
3481
3481
|
}
|
|
3482
3482
|
]);
|
|
@@ -3494,7 +3494,7 @@ function Qs({
|
|
|
3494
3494
|
if (!e) return;
|
|
3495
3495
|
const ae = o({ kind: "remove", id: e.id, confirmed: I });
|
|
3496
3496
|
if (!ae.ok) {
|
|
3497
|
-
const j = ae.issues.find((
|
|
3497
|
+
const j = ae.issues.find((z) => z.code === "inUse");
|
|
3498
3498
|
if (j && !I) {
|
|
3499
3499
|
N(j);
|
|
3500
3500
|
return;
|
|
@@ -3516,7 +3516,7 @@ function Qs({
|
|
|
3516
3516
|
/* @__PURE__ */ r("div", { className: "min-w-0", children: [
|
|
3517
3517
|
/* @__PURE__ */ r("p", { className: "flex items-center gap-2", children: [
|
|
3518
3518
|
/* @__PURE__ */ t("span", { className: "truncate text-[13px] font-medium text-foreground", children: k ? "New variable" : e.label || e.name }),
|
|
3519
|
-
/* @__PURE__ */ t("span", { className:
|
|
3519
|
+
/* @__PURE__ */ t("span", { className: Rt, children: "Variable from data" })
|
|
3520
3520
|
] }),
|
|
3521
3521
|
/* @__PURE__ */ t("p", { className: "mt-0.5 truncate text-[10px] leading-3 text-muted-foreground/70", children: "Available on every tab and Document of this dashboard" })
|
|
3522
3522
|
] })
|
|
@@ -3551,7 +3551,7 @@ function Qs({
|
|
|
3551
3551
|
)) }),
|
|
3552
3552
|
/* @__PURE__ */ r("div", { className: J("min-h-0 flex-1 overflow-y-auto", c === "filters" || h ? "" : "space-y-4 px-4 py-4"), children: [
|
|
3553
3553
|
c === "data" ? /* @__PURE__ */ t(
|
|
3554
|
-
|
|
3554
|
+
Rs,
|
|
3555
3555
|
{
|
|
3556
3556
|
draft: l,
|
|
3557
3557
|
onChange: u,
|
|
@@ -3760,7 +3760,7 @@ function Js({
|
|
|
3760
3760
|
}
|
|
3761
3761
|
return /* @__PURE__ */ r("div", { className: "shrink-0 border-t border-border/60 bg-muted/30 px-4 py-2.5", "data-testid": "variable-preview", children: [
|
|
3762
3762
|
/* @__PURE__ */ r("div", { className: "flex items-center gap-3", children: [
|
|
3763
|
-
/* @__PURE__ */ t("span", { className:
|
|
3763
|
+
/* @__PURE__ */ t("span", { className: Rt, children: l ? "Preview on" : "Preview" }),
|
|
3764
3764
|
l ? /* @__PURE__ */ r(Se, { value: d ?? "", onValueChange: c, disabled: !!n, children: [
|
|
3765
3765
|
/* @__PURE__ */ t(ke, { size: "xs", className: "h-6 w-auto gap-1.5 px-2 text-[12px]", "aria-label": "Preview place", children: /* @__PURE__ */ t(De, {}) }),
|
|
3766
3766
|
/* @__PURE__ */ t(Ae, { children: o.map((v) => /* @__PURE__ */ t(fe, { value: v.id, children: v.title || v.id }, v.id)) })
|
|
@@ -4485,7 +4485,7 @@ const gi = {
|
|
|
4485
4485
|
pauseBriefing: jn,
|
|
4486
4486
|
resumeBriefing: $n,
|
|
4487
4487
|
deleteBriefing: Un,
|
|
4488
|
-
runBriefingNow:
|
|
4488
|
+
runBriefingNow: Rn
|
|
4489
4489
|
};
|
|
4490
4490
|
function ro(e) {
|
|
4491
4491
|
return /* @__PURE__ */ t(On, { authToken: e.token ? { accessToken: e.token } : void 0, children: /* @__PURE__ */ t(Mn, { children: /* @__PURE__ */ t(bi, { ...e }) }) });
|
|
@@ -4505,7 +4505,7 @@ function bi({
|
|
|
4505
4505
|
openRun: p,
|
|
4506
4506
|
client: m
|
|
4507
4507
|
}) {
|
|
4508
|
-
const { authToken: f, tokenProps: g } = $e(), y =
|
|
4508
|
+
const { authToken: f, tokenProps: g } = $e(), y = zn(), N = !h || y.canCreate && (h === "scheduled_report" || y.analyticalBriefingsEnabled), [k, V] = E(!1), B = u ?? k, D = (A) => {
|
|
4509
4509
|
u === void 0 && V(A), c == null || c(A);
|
|
4510
4510
|
}, [O, b] = E(
|
|
4511
4511
|
h ? "author" : "list"
|
|
@@ -4513,14 +4513,14 @@ function bi({
|
|
|
4513
4513
|
h ?? "analytical_briefing"
|
|
4514
4514
|
), [T, F] = E("dashboard"), [H, P] = E(
|
|
4515
4515
|
[]
|
|
4516
|
-
), [Q, X] = E(null), _ = h && !N && !Q ? "list" : O, [te, Z] = E(!1), [G, I] = E(null), [ae, j] = E(null), [
|
|
4516
|
+
), [Q, X] = E(null), _ = h && !N && !Q ? "list" : O, [te, Z] = E(!1), [G, I] = E(null), [ae, j] = E(null), [z, ne] = E(
|
|
4517
4517
|
null
|
|
4518
4518
|
), [ue, he] = E(null), ye = et(null), x = et(B);
|
|
4519
4519
|
Ee(() => {
|
|
4520
4520
|
const A = B && !x.current;
|
|
4521
4521
|
x.current = B, !(!A || !h) && (X(null), F("dashboard"), v(h), b("author"), he(null));
|
|
4522
4522
|
}, [B, h]);
|
|
4523
|
-
const
|
|
4523
|
+
const R = Lt(), $ = s ?? (g == null ? void 0 : g.apiServiceUrl), K = n ?? (f == null ? void 0 : f.accessToken), le = Y(() => ({ ...gi, ...m }), [m]), [_e, ht] = E(null);
|
|
4524
4524
|
Ee(() => {
|
|
4525
4525
|
if (!p || !$ || !K) return;
|
|
4526
4526
|
let A = !0;
|
|
@@ -4579,7 +4579,7 @@ function bi({
|
|
|
4579
4579
|
Ee(() => {
|
|
4580
4580
|
!B || _ !== "list" || !Oe || ce();
|
|
4581
4581
|
}, [Oe, _, ce, B]);
|
|
4582
|
-
const
|
|
4582
|
+
const ze = () => {
|
|
4583
4583
|
X(null), F("dashboard"), b("list"), D(!0);
|
|
4584
4584
|
}, C = (A) => {
|
|
4585
4585
|
X(null), v(A), b("author");
|
|
@@ -4611,7 +4611,7 @@ function bi({
|
|
|
4611
4611
|
A.id,
|
|
4612
4612
|
{ requestId: xi() }
|
|
4613
4613
|
);
|
|
4614
|
-
|
|
4614
|
+
R.track({ kind: "briefing", id: W.run.id, title: A.name, briefingId: A.id }), ce();
|
|
4615
4615
|
} catch (W) {
|
|
4616
4616
|
M.error(
|
|
4617
4617
|
W instanceof Error ? W.message : "Could not start the run."
|
|
@@ -4645,8 +4645,8 @@ function bi({
|
|
|
4645
4645
|
j(null);
|
|
4646
4646
|
}
|
|
4647
4647
|
}, Ne = async () => {
|
|
4648
|
-
if (!
|
|
4649
|
-
const A =
|
|
4648
|
+
if (!z || !$ || !K) return;
|
|
4649
|
+
const A = z;
|
|
4650
4650
|
j(A.id);
|
|
4651
4651
|
try {
|
|
4652
4652
|
await le.deleteBriefing(
|
|
@@ -4671,7 +4671,7 @@ function bi({
|
|
|
4671
4671
|
disabled: i || !Oe,
|
|
4672
4672
|
briefingCount: La,
|
|
4673
4673
|
className: o,
|
|
4674
|
-
onClick:
|
|
4674
|
+
onClick: ze
|
|
4675
4675
|
}
|
|
4676
4676
|
),
|
|
4677
4677
|
/* @__PURE__ */ r(
|
|
@@ -4812,7 +4812,7 @@ function bi({
|
|
|
4812
4812
|
/* @__PURE__ */ t(
|
|
4813
4813
|
wt,
|
|
4814
4814
|
{
|
|
4815
|
-
open: !!
|
|
4815
|
+
open: !!z,
|
|
4816
4816
|
onOpenChange: (A) => {
|
|
4817
4817
|
A || ne(null);
|
|
4818
4818
|
},
|
|
@@ -4821,12 +4821,12 @@ function bi({
|
|
|
4821
4821
|
/* @__PURE__ */ r(Dt, { children: [
|
|
4822
4822
|
"Delete",
|
|
4823
4823
|
" ",
|
|
4824
|
-
|
|
4824
|
+
z ? pe(z).noun : "briefing",
|
|
4825
4825
|
"?"
|
|
4826
4826
|
] }),
|
|
4827
4827
|
/* @__PURE__ */ r(At, { children: [
|
|
4828
4828
|
"This permanently deletes ",
|
|
4829
|
-
/* @__PURE__ */ t("strong", { children:
|
|
4829
|
+
/* @__PURE__ */ t("strong", { children: z == null ? void 0 : z.name }),
|
|
4830
4830
|
". Recipients will stop receiving it."
|
|
4831
4831
|
] })
|
|
4832
4832
|
] }),
|
|
@@ -4840,7 +4840,7 @@ function bi({
|
|
|
4840
4840
|
children: [
|
|
4841
4841
|
"Delete",
|
|
4842
4842
|
" ",
|
|
4843
|
-
|
|
4843
|
+
z ? pe(z).noun : "briefing"
|
|
4844
4844
|
]
|
|
4845
4845
|
}
|
|
4846
4846
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as o, Fragment as R } from "react/jsx-runtime";
|
|
2
|
-
import { bI as Fr, u as k, bJ as $r, bK as Gr, bL as ot, bM as Vr, bN as Hr, bO as jr, bP as qr, bQ as zr, bR as Kr, b1 as Y, a_ as xe, bS as ve, bC as C, bT as Qr, bD as $t, bE as Gt, bG as tt, bH as rt, bU as Vt, bV as it, bw as Wr, bW as ne, bX as Yr, bY as Jr, bZ as Ht, b_ as Xr, b$ as jt, c0 as Zr, bF as ea, c1 as ta, c2 as A, c3 as ra, c4 as aa, c5 as na, aL as sa, c6 as oa, bo as ia, c7 as da, bp as ca, i as la, a3 as ua, af as Et, h as Be, o as ma, j as Xe, G as ha, c8 as pa, c9 as fa, a1 as ga, ca as ba, s as xa, cb as va, v as ya, cc as wa, cd as Na, ce as Sa, cf as At, cg as It, ch as Lt, ci as Da, bq as ka, cj as Ca, T as Ea, ck as Aa, cl as Ia, cm as ae, cn as he, co as La, cp as Ma, cq as Oa, cr as Mt, n as Pa, cs as _a, ct as Ta, cu as Ra, cv as Ua, cw as Ba, cx as Fa, cy as $a, cz as Ga, cA as Ot, I as Va } from "./semaphor-ready-indicator-
|
|
2
|
+
import { bI as Fr, u as k, bJ as $r, bK as Gr, bL as ot, bM as Vr, bN as Hr, bO as jr, bP as qr, bQ as zr, bR as Kr, b1 as Y, a_ as xe, bS as ve, bC as C, bT as Qr, bD as $t, bE as Gt, bG as tt, bH as rt, bU as Vt, bV as it, bw as Wr, bW as ne, bX as Yr, bY as Jr, bZ as Ht, b_ as Xr, b$ as jt, c0 as Zr, bF as ea, c1 as ta, c2 as A, c3 as ra, c4 as aa, c5 as na, aL as sa, c6 as oa, bo as ia, c7 as da, bp as ca, i as la, a3 as ua, af as Et, h as Be, o as ma, j as Xe, G as ha, c8 as pa, c9 as fa, a1 as ga, ca as ba, s as xa, cb as va, v as ya, cc as wa, cd as Na, ce as Sa, cf as At, cg as It, ch as Lt, ci as Da, bq as ka, cj as Ca, T as Ea, ck as Aa, cl as Ia, cm as ae, cn as he, co as La, cp as Ma, cq as Oa, cr as Mt, n as Pa, cs as _a, ct as Ta, cu as Ra, cv as Ua, cw as Ba, cx as Fa, cy as $a, cz as Ga, cA as Ot, I as Va } from "./semaphor-ready-indicator-BdOAS4Uw.js";
|
|
3
3
|
import { c as ye, B as V, a5 as Ha, a6 as ja, a7 as at, L as $e, X as qt, s as qa, y as za, z as Ka, A as Qa, D as Wa, E as Ya, e as Ja, f as Xa, h as Za, F as en, t as tn, u as rn, v as an, I as nn, w as sn, j as zt, g as Pt } from "./style-sheet-parts-C7qGZuH1.js";
|
|
4
4
|
import * as E from "react";
|
|
5
5
|
import Kt, { useMemo as H, useState as N, useEffect as ge, useRef as _t, useLayoutEffect as on } from "react";
|
|
@@ -8,17 +8,17 @@ import "./validators-B8fpdinG.js";
|
|
|
8
8
|
import "./matrix-operation-contract-DCVinw1o.js";
|
|
9
9
|
import "./analytics-base-schemas-BaIQrEzX.js";
|
|
10
10
|
import "../value-format-preferences/index.js";
|
|
11
|
-
import { u as dn, c as cn, k as ln, D as un, A as mn, a as hn, h as pn, l as fn, V as gn, b as bn, d as xn, S as vn, j as yn, i as wn, m as Nn, U as Sn } from "./dashboard-briefing-launcher-
|
|
12
|
-
import { I as Dn } from "./card-filter-builder-
|
|
13
|
-
import { h as kn, R as Cn } from "./report-preferences-dialog-
|
|
11
|
+
import { u as dn, c as cn, k as ln, D as un, A as mn, a as hn, h as pn, l as fn, V as gn, b as bn, d as xn, S as vn, j as yn, i as wn, m as Nn, U as Sn } from "./dashboard-briefing-launcher-D2vevpyl.js";
|
|
12
|
+
import { I as Dn } from "./card-filter-builder-B3bEPylu.js";
|
|
13
|
+
import { h as kn, R as Cn } from "./report-preferences-dialog-D9nBczmk.js";
|
|
14
14
|
import { createPortal as En } from "react-dom";
|
|
15
|
-
import {
|
|
15
|
+
import { f6 as we, f7 as dt, f8 as Qt, o as An } from "./resolve-dashboard-input-context-DBFuNhZo.js";
|
|
16
16
|
import { aH as Wt } from "./temporal-input-presentation-CqbJjIuu.js";
|
|
17
|
-
import { k as nt } from "./stored-dashboard-
|
|
17
|
+
import { k as nt } from "./stored-dashboard-rpLzf4mk.js";
|
|
18
18
|
import { r as In } from "./export-file-format-C-tJsxsf.js";
|
|
19
19
|
import { u as Ln, s as Mn } from "./normalize-dashboard-for-dirty-check-XKgH3GFX.js";
|
|
20
20
|
import { z as Yt } from "./bookmark-state-BEl_G9vr.js";
|
|
21
|
-
import { d as On, a as Pn } from "./bookmark-impact-
|
|
21
|
+
import { d as On, a as Pn } from "./bookmark-impact-DUWw3wlA.js";
|
|
22
22
|
import { S as _n } from "./save-D985VvYp.js";
|
|
23
23
|
import { P as Tn } from "./paintbrush-aR17Z3C9.js";
|
|
24
24
|
import { P as Rn } from "./palette-a5FCZKFI.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as u, useState as f, useRef as b, useEffect as p } from "react";
|
|
3
|
-
import { u as o } from "./semaphor-ready-indicator-
|
|
3
|
+
import { u as o } from "./semaphor-ready-indicator-BdOAS4Uw.js";
|
|
4
4
|
import { B as S, X as N, C as D } from "./style-sheet-parts-C7qGZuH1.js";
|
|
5
5
|
import { c as J } from "./pickers-DkqmtnTL.js";
|
|
6
6
|
import "./validators-B8fpdinG.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as D, d as F, r as b, a as f, e as g } from "./resolve-dashboard-input-context-
|
|
2
|
-
import { d as h } from "./filter-reach-copy-
|
|
1
|
+
import { h as D, d as F, r as b, a as f, e as g } from "./resolve-dashboard-input-context-DBFuNhZo.js";
|
|
2
|
+
import { d as h } from "./filter-reach-copy-BTAXnbwQ.js";
|
|
3
3
|
import "./validators-B8fpdinG.js";
|
|
4
4
|
import "./matrix-operation-contract-DCVinw1o.js";
|
|
5
5
|
import "./analytics-base-schemas-BaIQrEzX.js";
|
|
@@ -10,8 +10,8 @@ import { A as y } from "./bookmark-state-BEl_G9vr.js";
|
|
|
10
10
|
import "./schema-C9NPiIru.js";
|
|
11
11
|
import "./index-CV_Kzou0.js";
|
|
12
12
|
import "./context-R31TSL5V.js";
|
|
13
|
-
import { p as C, r as N } from "./stored-dashboard-
|
|
14
|
-
import { g as q } from "./saved-dashboard-context-
|
|
13
|
+
import { p as C, r as N } from "./stored-dashboard-rpLzf4mk.js";
|
|
14
|
+
import { g as q } from "./saved-dashboard-context-AChHk4tw.js";
|
|
15
15
|
function T(n, e) {
|
|
16
16
|
var s;
|
|
17
17
|
if (e.status === "blocked" || (s = n.sql) != null && s.trim()) return !1;
|