react-semaphor 0.1.591 → 0.1.593
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/briefings/index.js +2 -2
- package/dist/chunks/{assistant-chat-Cazikwyh.js → assistant-chat-D05uNAeO.js} +7 -7
- package/dist/chunks/bookmark-impact-B0k90wq8.js +76 -0
- package/dist/chunks/{bookmark-state-Bt_eQEqt.js → bookmark-state-Be2W3s6t.js} +174 -166
- package/dist/chunks/{card-filter-builder-DFR-6Jpm.js → card-filter-builder-CiafWE26.js} +73 -73
- package/dist/chunks/{comparison-window-caption-CFaw-kIV.js → comparison-window-caption-h8w3ySL6.js} +88 -89
- package/dist/chunks/{dashboard-DCh9hKnJ.js → dashboard-T-gYKGTF.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-ob8G1b58.js → dashboard-briefing-launcher-CPh2B3Rf.js} +84 -84
- package/dist/chunks/{dashboard-controls-Nszg0k1A.js → dashboard-controls-Cijc9c3G.js} +9 -9
- package/dist/chunks/{dashboard-json-BpwnG23b.js → dashboard-json-D3m7h4VL.js} +1 -1
- package/dist/chunks/{dates-BOLBSBpn.js → dates-Bb0sn54j.js} +6 -6
- package/dist/chunks/{edit-dashboard-visual-BvM7br5P.js → edit-dashboard-visual-C0iSuX9t.js} +374 -374
- package/dist/chunks/{filter-reach-copy-By3r7O3G.js → filter-reach-copy-CifrEFxj.js} +221 -221
- package/dist/chunks/{filter-value-text-CFiIZWJP.js → filter-value-text-CHBm4IU7.js} +10 -10
- package/dist/chunks/{index-CsQYlwhU.js → index-CzM2w1kY.js} +22 -22
- package/dist/chunks/{pivot-result-contract-expectations-BkMRCjzf.js → pivot-result-contract-expectations-CaS0y823.js} +588 -552
- package/dist/chunks/{report-preferences-dialog-ChXt8wCt.js → report-preferences-dialog-GHvai50w.js} +9 -9
- package/dist/chunks/{resolve-dashboard-input-context-BlyFX8He.js → resolve-dashboard-input-context-BcQHmMlw.js} +7585 -6490
- package/dist/chunks/{saved-dashboard-context-BPSdH2jW.js → saved-dashboard-context-BHHEzmwM.js} +16 -16
- package/dist/chunks/{semaphor-ready-indicator-BZUMCHRU.js → semaphor-ready-indicator-AOUJrUAJ.js} +21334 -21330
- package/dist/chunks/{shelf-drop-preview-context-yJheoeTC.js → shelf-drop-preview-context-Cs62lWI1.js} +2 -2
- package/dist/chunks/stored-dashboard-Cmtl_Obh.js +4029 -0
- package/dist/chunks/{table-export-sheet-h7wm5TwP.js → table-export-sheet-Cd6z7SsG.js} +1 -1
- package/dist/chunks/{variable-draft-OpYyaVCW.js → variable-draft-CSK9Ps1o.js} +2 -2
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +1097 -1105
- package/dist/format-utils/index.js +215 -216
- package/dist/index.js +56 -56
- package/dist/surfboard/index.js +2 -2
- package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +3 -3
- package/dist/types/components/visual/data-table/types/data-table.d.ts +24 -2
- package/dist/types/index.js +30 -29
- package/dist/types/lib/dashboard-viewer/table-view-edit.d.ts +27 -0
- package/dist/types/lib/dashboard-viewer/table-view.d.ts +37 -1
- package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/card-settings/column-names.d.ts +3 -0
- package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +11 -0
- package/dist/types/shared/dashboard-viewer/table-column-move.d.ts +56 -0
- package/dist/types/shared/dashboard-viewer/table-settings.d.ts +7 -0
- package/package.json +1 -1
- package/dist/chunks/bookmark-impact-rWjQgk8h.js +0 -75
- package/dist/chunks/pivot-header-presentation-gUxhdIdr.js +0 -42
- package/dist/chunks/stored-dashboard-CxQl9g0l.js +0 -4994
- package/dist/types/components/visual/shared/utils/table-column-order.d.ts +0 -53
|
@@ -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 { dN as it, bG as Le, bH as Ve, bJ as Be, dO as Ba, b8 as $e, b5 as ot, dP as Pa, dQ as lt, dR as Ct, an as dt, ak as ve, u as w, dS as _a, dT as Oa, bF as z, dU as za, am as oe, b3 as
|
|
4
|
-
import { c as Ae, B as L, X as Qe, s as
|
|
3
|
+
import { dN as it, bG as Le, bH as Ve, bJ as Be, dO as Ba, b8 as $e, b5 as ot, dP as Pa, dQ as lt, dR as Ct, an as dt, ak as ve, u as w, dS as _a, dT as Oa, bF as z, dU as za, am as oe, b3 as Ma, ca as Ra, dV as Ua, dW as $a, bZ as da, b_ as be, cu as ca, bY as tt, w as ja, q as qa, dX as Wa, cx as wt, cy as St, cz as kt, cA as Dt, cB as At, cC as Ft, cD as Et, cE as ua, cH as It, dY as Qa, du as Ka, cm as pt, cj as je, ck as qe, dG as ha, cl as We, c6 as re, cv as Ga, cq as at, dZ as Ha, c3 as Ya, d_ as ma, bu as ct, bI as Tt, bK as ut, d$ as pa, bE as Xa, e0 as Ja, bv as Za, o as en, cN as tn, e1 as an, W as nn, P as fa, bp as rn, X as sn, G as on, e2 as ln, e3 as dn, e4 as ga, e5 as cn, e6 as un, e7 as Ce, e8 as hn, R as ba, e9 as mn, ea as pn, b0 as fn, eb as gn, ec as ge, ed as bn, aa as Lt, ee as xn, ef as ft, eg as vn, eh as $t, ei as yn, ej as Nn, ek as Cn, el as xa, cY as wn, em as Sn, en as kn, eo as Dn, dA as Vt, cI as va, ep as An, eq as jt, er as Fn, es as En, et as In, eu as Tn, b7 as Ln, bz as Vn, c9 as ya, ev as Bn, ew as Pn, ex as Xe, ey as _n, ez as On, eA as zn, A as Mn, aR as Rn, aS as Un, ax as $n, aw as jn, av as qn, au as Wn, ar as Qn, ap as Kn, eB as Gn, eC as Hn, eD as Yn, eE as Xn, eF as Jn, aP as Zn } from "./semaphor-ready-indicator-AOUJrUAJ.js";
|
|
4
|
+
import { c as Ae, B as L, X as Qe, s as Re, x as xe, L as de, q as Bt, j as Pt, p as er, F as _t, e as Ie, a8 as Na, h as Te, f as nt, i as Ca, g as Nt, y as we, z as Se, A as ke, D as De, E as fe, a9 as tr } from "./style-sheet-parts-DM_Mw_sm.js";
|
|
5
5
|
import { L as Ue } from "./layout-grid-DoFIfQGd.js";
|
|
6
6
|
import { c as J } from "./pickers-DkqmtnTL.js";
|
|
7
7
|
import { U as ar } from "./validators-BlEWWX9O.js";
|
|
@@ -9,19 +9,19 @@ import "./matrix-operation-contract-CAanJeCj.js";
|
|
|
9
9
|
import "./analytics-base-schemas-8wz9vqn_.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 { bO as qt, bk as Wt, f1 as Qt, gB as nr, gC as rt, gA as Kt, gD as rr, t as Ke, gE as sr, u as ir, gF as or, gG as lr, gH as dr, cM as cr, gI as ur, o as hr, fZ as mr, gJ as pr, gK as fr, a as Ot, aT as gr, a7 as br, cq as xr, gL as vr, gM as yr, cB as Nr, gN as Cr, gO as Gt, gP as wr } from "./resolve-dashboard-input-context-BcQHmMlw.js";
|
|
13
13
|
import { S as wa } from "./save-C9CZAk6V.js";
|
|
14
|
-
import { V as Sr, L as kr, u as Sa, C as ka, F as Dr, a as Ar, A as Fr, b as Er } from "./card-filter-builder-
|
|
14
|
+
import { V as Sr, L as kr, u as Sa, C as ka, F as Dr, a as Ar, A as Fr, b as Er } from "./card-filter-builder-CiafWE26.js";
|
|
15
15
|
import { createPortal as Ir } from "react-dom";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
16
|
+
import { b3 as Ht, aB as Tr } from "./pivot-result-contract-expectations-CaS0y823.js";
|
|
17
|
+
import { aD as Lr, ar as Vr, F as Br, ac as st, T as Pr } from "./bookmark-state-Be2W3s6t.js";
|
|
18
18
|
import "zod";
|
|
19
19
|
import "./schema-C9NPiIru.js";
|
|
20
20
|
import "./index-CV_Kzou0.js";
|
|
21
21
|
import "./context-CVXTFljo.js";
|
|
22
|
-
import { v as _r, G as Or } from "./filter-reach-copy-
|
|
23
|
-
import { a as Yt, d as Xt, c as zr, i as
|
|
24
|
-
import { g as pe, d as jr, a as qr } from "./index-
|
|
22
|
+
import { v as _r, G as Or } from "./filter-reach-copy-CifrEFxj.js";
|
|
23
|
+
import { a as Yt, d as Xt, c as zr, i as Mr, b as Rr, e as Ur, v as Jt, f as Zt, g as $r } from "./variable-draft-CSK9Ps1o.js";
|
|
24
|
+
import { g as pe, d as jr, a as qr } from "./index-CzM2w1kY.js";
|
|
25
25
|
/**
|
|
26
26
|
* @license lucide-react v0.453.0 - ISC
|
|
27
27
|
*
|
|
@@ -170,7 +170,7 @@ function Xr({
|
|
|
170
170
|
/* @__PURE__ */ r("div", { className: "space-y-3 px-4 py-3", children: [
|
|
171
171
|
/* @__PURE__ */ t("p", { className: "text-[12px] text-muted-foreground", children: "Create a saved visual that can be reused across dashboards." }),
|
|
172
172
|
/* @__PURE__ */ r("div", { className: "space-y-1.5", children: [
|
|
173
|
-
/* @__PURE__ */ t(
|
|
173
|
+
/* @__PURE__ */ t(Re, { htmlFor: "visual-title", className: "text-[12px]", children: "Name" }),
|
|
174
174
|
/* @__PURE__ */ t(
|
|
175
175
|
xe,
|
|
176
176
|
{
|
|
@@ -187,7 +187,7 @@ function Xr({
|
|
|
187
187
|
)
|
|
188
188
|
] }),
|
|
189
189
|
/* @__PURE__ */ r("div", { className: "space-y-1.5", children: [
|
|
190
|
-
/* @__PURE__ */ t(
|
|
190
|
+
/* @__PURE__ */ t(Re, { htmlFor: "visual-description", className: "text-[12px]", children: "Description" }),
|
|
191
191
|
/* @__PURE__ */ t(
|
|
192
192
|
xe,
|
|
193
193
|
{
|
|
@@ -357,7 +357,7 @@ function ts() {
|
|
|
357
357
|
), a = Jr(e);
|
|
358
358
|
return { getUpdatedFrame: ie(() => {
|
|
359
359
|
var N;
|
|
360
|
-
|
|
360
|
+
Ma();
|
|
361
361
|
const {
|
|
362
362
|
frame: n,
|
|
363
363
|
card: i,
|
|
@@ -502,12 +502,12 @@ function Pe() {
|
|
|
502
502
|
const j = Da(ae);
|
|
503
503
|
if (!(j != null && j.cards) || j.cards.length === 0)
|
|
504
504
|
return te("Visual frame is malformed");
|
|
505
|
-
const
|
|
505
|
+
const M = {
|
|
506
506
|
...Oa(j),
|
|
507
507
|
visualId: _.id
|
|
508
508
|
// Link this frame to the library visual
|
|
509
509
|
};
|
|
510
|
-
return await n(v,
|
|
510
|
+
return await n(v, M), O(!0), { success: !0, fromCache: I };
|
|
511
511
|
} catch (H) {
|
|
512
512
|
return console.error("Error adding visual:", H), te(
|
|
513
513
|
H instanceof Error ? H.message : "Failed to add visual to dashboard"
|
|
@@ -574,7 +574,7 @@ function ji({
|
|
|
574
574
|
l(/* @__PURE__ */ new Set()), h(null), m(null), g(!1), N(null);
|
|
575
575
|
}, D = () => {
|
|
576
576
|
a(!1), B();
|
|
577
|
-
}, { selectVisual: O } = Ct(), { handleAddLibraryVisual: b, handleEditLibraryVisual: S } = Pe(), { isConsoleMode: v } =
|
|
577
|
+
}, { selectVisual: O } = Ct(), { handleAddLibraryVisual: b, handleEditLibraryVisual: S } = Pe(), { isConsoleMode: v } = Ra(), {
|
|
578
578
|
resources: T,
|
|
579
579
|
isLoading: F,
|
|
580
580
|
isError: G,
|
|
@@ -593,7 +593,7 @@ function ji({
|
|
|
593
593
|
startUpdating: H,
|
|
594
594
|
stopUpdating: I,
|
|
595
595
|
isUpdating: ae
|
|
596
|
-
} = $a(), j = T,
|
|
596
|
+
} = $a(), j = T, M = Y(() => {
|
|
597
597
|
const C = n.trim().toLowerCase();
|
|
598
598
|
return C ? j.filter(
|
|
599
599
|
(q) => {
|
|
@@ -610,23 +610,23 @@ function ji({
|
|
|
610
610
|
(C) => C.permissions.canDelete
|
|
611
611
|
), he = ne.filter(
|
|
612
612
|
(C) => C.permissions.canShare
|
|
613
|
-
), ye =
|
|
613
|
+
), ye = M.length > 0 && M.every(
|
|
614
614
|
(C) => o.has(C.id)
|
|
615
|
-
), x =
|
|
615
|
+
), x = M.some(
|
|
616
616
|
(C) => o.has(C.id)
|
|
617
|
-
),
|
|
617
|
+
), R = (C) => {
|
|
618
618
|
const q = new Set(o);
|
|
619
619
|
C(q), l(q);
|
|
620
620
|
}, $ = (C) => {
|
|
621
|
-
|
|
621
|
+
R((q) => {
|
|
622
622
|
q.has(C) ? q.delete(C) : q.add(C);
|
|
623
623
|
});
|
|
624
624
|
}, K = () => {
|
|
625
625
|
l((C) => {
|
|
626
626
|
const q = new Set(C);
|
|
627
|
-
return ye ?
|
|
627
|
+
return ye ? M.forEach(
|
|
628
628
|
(ee) => q.delete(ee.id)
|
|
629
|
-
) :
|
|
629
|
+
) : M.forEach(
|
|
630
630
|
(ee) => q.add(ee.id)
|
|
631
631
|
), q;
|
|
632
632
|
});
|
|
@@ -705,7 +705,7 @@ function ji({
|
|
|
705
705
|
);
|
|
706
706
|
}, ce = (C) => {
|
|
707
707
|
a(C), C || B();
|
|
708
|
-
},
|
|
708
|
+
}, Me = y ? 1 : ue.length;
|
|
709
709
|
return /* @__PURE__ */ r(U, { children: [
|
|
710
710
|
/* @__PURE__ */ t(Le, { open: e, onOpenChange: ce, children: /* @__PURE__ */ r(
|
|
711
711
|
Ve,
|
|
@@ -763,14 +763,14 @@ function ji({
|
|
|
763
763
|
}
|
|
764
764
|
)
|
|
765
765
|
] }),
|
|
766
|
-
/* @__PURE__ */ t("div", { className: "min-h-0 flex-1 overflow-auto", children: F ? /* @__PURE__ */ t("div", { className: "p-3", children: /* @__PURE__ */ t(Yr, {}) }) : G ? /* @__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" }) }) :
|
|
766
|
+
/* @__PURE__ */ t("div", { className: "min-h-0 flex-1 overflow-auto", children: F ? /* @__PURE__ */ t("div", { className: "p-3", children: /* @__PURE__ */ t(Yr, {}) }) : G ? /* @__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" }) }) : M.length === 0 ? /* @__PURE__ */ r("div", { className: "flex flex-col items-center gap-2 px-4 py-12 text-center", children: [
|
|
767
767
|
/* @__PURE__ */ t(Ue, { className: "h-5 w-5 text-muted-foreground/60" }),
|
|
768
768
|
/* @__PURE__ */ t("p", { className: "text-[13px] font-medium", children: n ? "No visuals found" : "No visuals yet" }),
|
|
769
769
|
/* @__PURE__ */ t("p", { className: "text-[12px] text-muted-foreground", children: n ? "Try a different search." : "Create a saved visual to add it here." })
|
|
770
770
|
] }) : /* @__PURE__ */ t(
|
|
771
771
|
ss,
|
|
772
772
|
{
|
|
773
|
-
visuals:
|
|
773
|
+
visuals: M,
|
|
774
774
|
selectedIds: o,
|
|
775
775
|
allFilteredSelected: ye,
|
|
776
776
|
someFilteredSelected: x,
|
|
@@ -901,9 +901,9 @@ function ji({
|
|
|
901
901
|
/* @__PURE__ */ r(kt, { children: [
|
|
902
902
|
/* @__PURE__ */ r(Dt, { children: [
|
|
903
903
|
"Delete ",
|
|
904
|
-
|
|
904
|
+
Me,
|
|
905
905
|
" visual",
|
|
906
|
-
|
|
906
|
+
Me === 1 ? "" : "s",
|
|
907
907
|
"?"
|
|
908
908
|
] }),
|
|
909
909
|
/* @__PURE__ */ t(At, { children: "This cannot be undone. Visuals already added to dashboards may need to be removed from those dashboards separately." })
|
|
@@ -916,7 +916,7 @@ function ji({
|
|
|
916
916
|
onClick: (C) => {
|
|
917
917
|
C.preventDefault(), mt();
|
|
918
918
|
},
|
|
919
|
-
disabled: Z ||
|
|
919
|
+
disabled: Z || Me === 0,
|
|
920
920
|
children: [
|
|
921
921
|
Z ? /* @__PURE__ */ t(de, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ t(tt, { className: "h-3.5 w-3.5" }),
|
|
922
922
|
Z ? "Deleting..." : "Delete"
|
|
@@ -1213,7 +1213,7 @@ function qi(e, a, s = !1) {
|
|
|
1213
1213
|
}));
|
|
1214
1214
|
}, [u, o]), l;
|
|
1215
1215
|
}
|
|
1216
|
-
function
|
|
1216
|
+
function Mt(e) {
|
|
1217
1217
|
var a;
|
|
1218
1218
|
for (const s of e.cards)
|
|
1219
1219
|
if (s.type === "matrixTable" && !ar.safeParse((a = s.config) == null ? void 0 : a.matrix).success)
|
|
@@ -1227,7 +1227,7 @@ function gt({
|
|
|
1227
1227
|
const s = oe((o) => o.onSave), { getUpdatedFrame: n } = Pe();
|
|
1228
1228
|
function i() {
|
|
1229
1229
|
const o = n();
|
|
1230
|
-
|
|
1230
|
+
Mt(o) && (s == null || s(o));
|
|
1231
1231
|
}
|
|
1232
1232
|
return /* @__PURE__ */ r(
|
|
1233
1233
|
L,
|
|
@@ -1253,7 +1253,7 @@ function ls({
|
|
|
1253
1253
|
{
|
|
1254
1254
|
onClick: () => {
|
|
1255
1255
|
const p = l();
|
|
1256
|
-
if (!
|
|
1256
|
+
if (!Mt(p))
|
|
1257
1257
|
return;
|
|
1258
1258
|
const m = (c == null ? void 0 : c.visualId) || (u == null ? void 0 : u.id);
|
|
1259
1259
|
if (!m) {
|
|
@@ -1313,7 +1313,7 @@ function ds({
|
|
|
1313
1313
|
n(!0);
|
|
1314
1314
|
try {
|
|
1315
1315
|
const y = h();
|
|
1316
|
-
if (!
|
|
1316
|
+
if (!Mt(y)) {
|
|
1317
1317
|
n(!1);
|
|
1318
1318
|
return;
|
|
1319
1319
|
}
|
|
@@ -1439,7 +1439,7 @@ function cs({
|
|
|
1439
1439
|
] }),
|
|
1440
1440
|
/* @__PURE__ */ r("div", { className: "grid gap-4 py-4", children: [
|
|
1441
1441
|
/* @__PURE__ */ r("div", { className: "grid gap-2", children: [
|
|
1442
|
-
/* @__PURE__ */ t(
|
|
1442
|
+
/* @__PURE__ */ t(Re, { htmlFor: "name", children: "Name" }),
|
|
1443
1443
|
/* @__PURE__ */ t(
|
|
1444
1444
|
xe,
|
|
1445
1445
|
{
|
|
@@ -1452,7 +1452,7 @@ function cs({
|
|
|
1452
1452
|
)
|
|
1453
1453
|
] }),
|
|
1454
1454
|
/* @__PURE__ */ r("div", { className: "grid gap-2", children: [
|
|
1455
|
-
/* @__PURE__ */ t(
|
|
1455
|
+
/* @__PURE__ */ t(Re, { htmlFor: "description", children: "Description (optional)" }),
|
|
1456
1456
|
/* @__PURE__ */ t(
|
|
1457
1457
|
pa,
|
|
1458
1458
|
{
|
|
@@ -2722,7 +2722,7 @@ function Ds({
|
|
|
2722
2722
|
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: [
|
|
2723
2723
|
/* @__PURE__ */ t(It, { id: e, checked: s, onCheckedChange: n }),
|
|
2724
2724
|
/* @__PURE__ */ t(
|
|
2725
|
-
|
|
2725
|
+
Re,
|
|
2726
2726
|
{
|
|
2727
2727
|
htmlFor: e,
|
|
2728
2728
|
className: "cursor-pointer text-[12px] font-normal leading-[1.3]",
|
|
@@ -3049,7 +3049,7 @@ function Ps(e) {
|
|
|
3049
3049
|
function _s(e) {
|
|
3050
3050
|
return e.mode === "period" ? gr(e.spec) : void 0;
|
|
3051
3051
|
}
|
|
3052
|
-
const
|
|
3052
|
+
const Rt = "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", Os = {
|
|
3053
3053
|
connectionId: "",
|
|
3054
3054
|
connectionType: "",
|
|
3055
3055
|
mode: "semanticDomain",
|
|
@@ -3064,7 +3064,7 @@ function se({
|
|
|
3064
3064
|
}) {
|
|
3065
3065
|
return /* @__PURE__ */ r("div", { className: i, children: [
|
|
3066
3066
|
/* @__PURE__ */ r("div", { className: "mb-1 flex min-h-5 items-center justify-between gap-2", children: [
|
|
3067
|
-
/* @__PURE__ */ t("p", { className:
|
|
3067
|
+
/* @__PURE__ */ t("p", { className: Rt, children: e }),
|
|
3068
3068
|
s
|
|
3069
3069
|
] }),
|
|
3070
3070
|
n,
|
|
@@ -3097,27 +3097,27 @@ function zs(e) {
|
|
|
3097
3097
|
if (a)
|
|
3098
3098
|
return a.label || a.name;
|
|
3099
3099
|
}
|
|
3100
|
-
function
|
|
3100
|
+
function Ms(e) {
|
|
3101
3101
|
const a = Ot(e);
|
|
3102
3102
|
return a === "date" ? "date" : a === "string" ? "text" : a === "number" ? "number" : a === "boolean" ? "yes/no" : a;
|
|
3103
3103
|
}
|
|
3104
3104
|
const oa = "__new_calculated_field__";
|
|
3105
|
-
function
|
|
3105
|
+
function Rs({
|
|
3106
3106
|
draft: e,
|
|
3107
3107
|
onChange: a,
|
|
3108
3108
|
handle: s,
|
|
3109
3109
|
onCalculatedFieldOpenChange: n
|
|
3110
3110
|
}) {
|
|
3111
|
-
var _, te, Z, H, I, ae, j,
|
|
3111
|
+
var _, te, Z, H, I, ae, j, M, ne, ue, he, ye;
|
|
3112
3112
|
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) => {
|
|
3113
3113
|
p(x), n == null || n(x);
|
|
3114
|
-
}, { fields: y, isLoading: N, error: k } = Bs(e.mode === "data" ? e.dataSource : void 0), V = [...e.calculatedFields ?? [], ...y], B = (x) => x && (V.find((
|
|
3114
|
+
}, { 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 = [
|
|
3115
3115
|
...V,
|
|
3116
3116
|
...[e.field, e.sortField].filter(
|
|
3117
|
-
(x) => !!x && !B(x) && !V.some((
|
|
3117
|
+
(x) => !!x && !B(x) && !V.some((R) => R.id === x.id)
|
|
3118
3118
|
)
|
|
3119
3119
|
], O = ((Z = B(e.field)) == null ? void 0 : Z.id) ?? ((H = e.field) == null ? void 0 : H.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 = zs(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", G = {
|
|
3120
|
-
connectionId: ((
|
|
3120
|
+
connectionId: ((M = e.dataSource) == null ? void 0 : M.connectionId) || e.connectionId,
|
|
3121
3121
|
dataSource: e.dataSource,
|
|
3122
3122
|
config: e.conditions ? { filters: e.conditions } : {},
|
|
3123
3123
|
cardType: "text"
|
|
@@ -3126,10 +3126,10 @@ function Ms({
|
|
|
3126
3126
|
g(!0);
|
|
3127
3127
|
return;
|
|
3128
3128
|
}
|
|
3129
|
-
const
|
|
3130
|
-
if (!
|
|
3131
|
-
const $ = Yt(
|
|
3132
|
-
S({ field:
|
|
3129
|
+
const R = D.find((K) => K.id === x);
|
|
3130
|
+
if (!R) return;
|
|
3131
|
+
const $ = Yt(R).some((K) => K.value === e.get) && e.field !== void 0;
|
|
3132
|
+
S({ field: R, get: $ ? e.get : Xt(R) });
|
|
3133
3133
|
};
|
|
3134
3134
|
return h ? /* @__PURE__ */ t(
|
|
3135
3135
|
Fn,
|
|
@@ -3141,11 +3141,11 @@ function Ms({
|
|
|
3141
3141
|
cardId: e.id,
|
|
3142
3142
|
source: G,
|
|
3143
3143
|
onSave: (x) => {
|
|
3144
|
-
const
|
|
3144
|
+
const R = { ...x, fieldScope: x.fieldScope ?? "card" };
|
|
3145
3145
|
S({
|
|
3146
|
-
calculatedFields: [...(e.calculatedFields ?? []).filter(($) => $.id !==
|
|
3147
|
-
field:
|
|
3148
|
-
get: Xt(
|
|
3146
|
+
calculatedFields: [...(e.calculatedFields ?? []).filter(($) => $.id !== R.id), R],
|
|
3147
|
+
field: R,
|
|
3148
|
+
get: Xt(R)
|
|
3149
3149
|
}), g(!1);
|
|
3150
3150
|
}
|
|
3151
3151
|
}
|
|
@@ -3242,9 +3242,9 @@ function Ms({
|
|
|
3242
3242
|
incomingSelectedEntities: ((he = e.dataSource) == null ? void 0 : he.selectedEntities) ?? [],
|
|
3243
3243
|
onDataSourceChange: (x) => {
|
|
3244
3244
|
var $;
|
|
3245
|
-
const
|
|
3245
|
+
const R = JSON.stringify(x.selectedEntities) === JSON.stringify(($ = e.dataSource) == null ? void 0 : $.selectedEntities);
|
|
3246
3246
|
S(
|
|
3247
|
-
|
|
3247
|
+
R ? { dataSource: x } : { dataSource: x, field: void 0, sortField: void 0, conditions: null, calculatedFields: void 0 }
|
|
3248
3248
|
);
|
|
3249
3249
|
}
|
|
3250
3250
|
}
|
|
@@ -3255,7 +3255,7 @@ function Ms({
|
|
|
3255
3255
|
/* @__PURE__ */ r(De, { children: [
|
|
3256
3256
|
D.map((x) => /* @__PURE__ */ t(fe, { value: x.id, children: /* @__PURE__ */ r("span", { className: "flex items-center gap-2", children: [
|
|
3257
3257
|
/* @__PURE__ */ t("span", { children: x.label || x.name }),
|
|
3258
|
-
/* @__PURE__ */ t("span", { className: "text-muted-foreground", children:
|
|
3258
|
+
/* @__PURE__ */ t("span", { className: "text-muted-foreground", children: Ms(x.dataType) })
|
|
3259
3259
|
] }) }, x.id)),
|
|
3260
3260
|
/* @__PURE__ */ t(tr, {}),
|
|
3261
3261
|
/* @__PURE__ */ t(fe, { value: oa, children: /* @__PURE__ */ r("span", { className: "flex items-center gap-1.5", children: [
|
|
@@ -3293,23 +3293,23 @@ function Ms({
|
|
|
3293
3293
|
)
|
|
3294
3294
|
}
|
|
3295
3295
|
) : null,
|
|
3296
|
-
e.field && !
|
|
3296
|
+
e.field && !Mr(e.get) && e.get !== "only" ? /* @__PURE__ */ r("div", { className: J("col-span-2 grid gap-3", e.get === "list" ? "grid-cols-3" : "grid-cols-2"), children: [
|
|
3297
3297
|
/* @__PURE__ */ t(se, { label: "Order by", children: /* @__PURE__ */ r(
|
|
3298
3298
|
we,
|
|
3299
3299
|
{
|
|
3300
3300
|
value: `${b}|${e.sortDirection}`,
|
|
3301
3301
|
onValueChange: (x) => {
|
|
3302
|
-
const
|
|
3302
|
+
const R = x.lastIndexOf("|"), $ = x.slice(0, R), K = x.slice(R + 1);
|
|
3303
3303
|
S({ sortField: D.find((le) => le.id === $), sortDirection: K });
|
|
3304
3304
|
},
|
|
3305
3305
|
children: [
|
|
3306
3306
|
/* @__PURE__ */ t(Se, { size: "xs", "aria-label": "Order by", children: /* @__PURE__ */ t(ke, {}) }),
|
|
3307
3307
|
/* @__PURE__ */ t(De, { children: D.flatMap(
|
|
3308
|
-
(x) => ["asc", "desc"].map((
|
|
3308
|
+
(x) => ["asc", "desc"].map((R) => /* @__PURE__ */ r(fe, { value: `${x.id}|${R}`, children: [
|
|
3309
3309
|
x.label || x.name,
|
|
3310
3310
|
", ",
|
|
3311
|
-
$s(x,
|
|
3312
|
-
] }, `${x.id}|${
|
|
3311
|
+
$s(x, R)
|
|
3312
|
+
] }, `${x.id}|${R}`))
|
|
3313
3313
|
) })
|
|
3314
3314
|
]
|
|
3315
3315
|
}
|
|
@@ -3325,8 +3325,8 @@ function Ms({
|
|
|
3325
3325
|
value: e.listLimit ?? "",
|
|
3326
3326
|
placeholder: "10",
|
|
3327
3327
|
onChange: (x) => {
|
|
3328
|
-
const
|
|
3329
|
-
S({ listLimit: Number.isFinite(
|
|
3328
|
+
const R = Number.parseInt(x.target.value, 10);
|
|
3329
|
+
S({ listLimit: Number.isFinite(R) && R > 0 ? Math.min(R, st) : void 0 });
|
|
3330
3330
|
},
|
|
3331
3331
|
"aria-label": "Show up to"
|
|
3332
3332
|
}
|
|
@@ -3422,7 +3422,7 @@ function Qs({
|
|
|
3422
3422
|
}) {
|
|
3423
3423
|
var Z, H;
|
|
3424
3424
|
const n = w((I) => I.dashboard), i = w((I) => I.selectedSheetId), o = w((I) => I.actions.saveVariableChange), [l, u] = E(
|
|
3425
|
-
() => e ?
|
|
3425
|
+
() => e ? Rr(e) : Ur()
|
|
3426
3426
|
), [c, d] = E("data"), [h, p] = E(!1), m = (I) => {
|
|
3427
3427
|
p(I), s == null || s(I);
|
|
3428
3428
|
}, [f, g] = E([]), [y, N] = E(null), k = !e, V = Ws(l), B = Y(
|
|
@@ -3449,18 +3449,18 @@ function Qs({
|
|
|
3449
3449
|
X(!0);
|
|
3450
3450
|
let ae;
|
|
3451
3451
|
try {
|
|
3452
|
-
const
|
|
3453
|
-
if (!
|
|
3454
|
-
X(!1), g(
|
|
3452
|
+
const M = Nr(n, e ? { kind: "update", id: e.id, patch: I } : { kind: "add", variable: I });
|
|
3453
|
+
if (!M.ok) {
|
|
3454
|
+
X(!1), g(M.issues);
|
|
3455
3455
|
return;
|
|
3456
3456
|
}
|
|
3457
|
-
const [ne] =
|
|
3457
|
+
const [ne] = M.queryFrames;
|
|
3458
3458
|
ae = ne ? await G(ne, e ? { previousFrame: Cr(n, e) } : void 0) : { domainsById: {} };
|
|
3459
|
-
} catch (
|
|
3459
|
+
} catch (M) {
|
|
3460
3460
|
X(!1), g([
|
|
3461
3461
|
{
|
|
3462
3462
|
code: "queryMissing",
|
|
3463
|
-
message:
|
|
3463
|
+
message: M instanceof Error && M.message ? M.message : "The data source's details could not be loaded.",
|
|
3464
3464
|
fix: "Try again, or choose the source again."
|
|
3465
3465
|
}
|
|
3466
3466
|
]);
|
|
@@ -3478,7 +3478,7 @@ function Qs({
|
|
|
3478
3478
|
if (!e) return;
|
|
3479
3479
|
const ae = o({ kind: "remove", id: e.id, confirmed: I });
|
|
3480
3480
|
if (!ae.ok) {
|
|
3481
|
-
const j = ae.issues.find((
|
|
3481
|
+
const j = ae.issues.find((M) => M.code === "inUse");
|
|
3482
3482
|
if (j && !I) {
|
|
3483
3483
|
N(j);
|
|
3484
3484
|
return;
|
|
@@ -3500,7 +3500,7 @@ function Qs({
|
|
|
3500
3500
|
/* @__PURE__ */ r("div", { className: "min-w-0", children: [
|
|
3501
3501
|
/* @__PURE__ */ r("p", { className: "flex items-center gap-2", children: [
|
|
3502
3502
|
/* @__PURE__ */ t("span", { className: "truncate text-[13px] font-medium text-foreground", children: k ? "New variable" : e.label || e.name }),
|
|
3503
|
-
/* @__PURE__ */ t("span", { className:
|
|
3503
|
+
/* @__PURE__ */ t("span", { className: Rt, children: "Variable from data" })
|
|
3504
3504
|
] }),
|
|
3505
3505
|
/* @__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" })
|
|
3506
3506
|
] })
|
|
@@ -3535,7 +3535,7 @@ function Qs({
|
|
|
3535
3535
|
)) }),
|
|
3536
3536
|
/* @__PURE__ */ r("div", { className: J("min-h-0 flex-1 overflow-y-auto", c === "filters" || h ? "" : "space-y-4 px-4 py-4"), children: [
|
|
3537
3537
|
c === "data" ? /* @__PURE__ */ t(
|
|
3538
|
-
|
|
3538
|
+
Rs,
|
|
3539
3539
|
{
|
|
3540
3540
|
draft: l,
|
|
3541
3541
|
onChange: u,
|
|
@@ -3744,7 +3744,7 @@ function Js({
|
|
|
3744
3744
|
}
|
|
3745
3745
|
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: [
|
|
3746
3746
|
/* @__PURE__ */ r("div", { className: "flex items-center gap-3", children: [
|
|
3747
|
-
/* @__PURE__ */ t("span", { className:
|
|
3747
|
+
/* @__PURE__ */ t("span", { className: Rt, children: l ? "Preview on" : "Preview" }),
|
|
3748
3748
|
l ? /* @__PURE__ */ r(we, { value: d ?? "", onValueChange: c, disabled: !!n, children: [
|
|
3749
3749
|
/* @__PURE__ */ t(Se, { size: "xs", className: "h-6 w-auto gap-1.5 px-2 text-[12px]", "aria-label": "Preview place", children: /* @__PURE__ */ t(ke, {}) }),
|
|
3750
3750
|
/* @__PURE__ */ t(De, { children: o.map((v) => /* @__PURE__ */ t(fe, { value: v.id, children: v.title || v.id }, v.id)) })
|
|
@@ -4472,7 +4472,7 @@ const gi = {
|
|
|
4472
4472
|
runBriefingNow: $n
|
|
4473
4473
|
};
|
|
4474
4474
|
function ro(e) {
|
|
4475
|
-
return /* @__PURE__ */ t(
|
|
4475
|
+
return /* @__PURE__ */ t(Mn, { authToken: e.token ? { accessToken: e.token } : void 0, children: /* @__PURE__ */ t(Rn, { children: /* @__PURE__ */ t(bi, { ...e }) }) });
|
|
4476
4476
|
}
|
|
4477
4477
|
function bi({
|
|
4478
4478
|
dashboardId: e,
|
|
@@ -4497,14 +4497,14 @@ function bi({
|
|
|
4497
4497
|
h ?? "analytical_briefing"
|
|
4498
4498
|
), [T, F] = E("dashboard"), [G, P] = E(
|
|
4499
4499
|
[]
|
|
4500
|
-
), [Q, X] = E(null), _ = h && !N && !Q ? "list" : O, [te, Z] = E(!1), [H, I] = E(null), [ae, j] = E(null), [
|
|
4500
|
+
), [Q, X] = E(null), _ = h && !N && !Q ? "list" : O, [te, Z] = E(!1), [H, I] = E(null), [ae, j] = E(null), [M, ne] = E(
|
|
4501
4501
|
null
|
|
4502
4502
|
), [ue, he] = E(null), ye = et(null), x = et(B);
|
|
4503
4503
|
Ee(() => {
|
|
4504
4504
|
const A = B && !x.current;
|
|
4505
4505
|
x.current = B, !(!A || !h) && (X(null), F("dashboard"), v(h), b("author"), he(null));
|
|
4506
4506
|
}, [B, h]);
|
|
4507
|
-
const
|
|
4507
|
+
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);
|
|
4508
4508
|
Ee(() => {
|
|
4509
4509
|
if (!p || !$ || !K) return;
|
|
4510
4510
|
let A = !0;
|
|
@@ -4563,7 +4563,7 @@ function bi({
|
|
|
4563
4563
|
Ee(() => {
|
|
4564
4564
|
!B || _ !== "list" || !Oe || ce();
|
|
4565
4565
|
}, [Oe, _, ce, B]);
|
|
4566
|
-
const
|
|
4566
|
+
const Me = () => {
|
|
4567
4567
|
X(null), F("dashboard"), b("list"), D(!0);
|
|
4568
4568
|
}, C = (A) => {
|
|
4569
4569
|
X(null), v(A), b("author");
|
|
@@ -4595,7 +4595,7 @@ function bi({
|
|
|
4595
4595
|
A.id,
|
|
4596
4596
|
{ requestId: xi() }
|
|
4597
4597
|
);
|
|
4598
|
-
|
|
4598
|
+
R.track({ kind: "briefing", id: W.run.id, title: A.name, briefingId: A.id }), ce();
|
|
4599
4599
|
} catch (W) {
|
|
4600
4600
|
z.error(
|
|
4601
4601
|
W instanceof Error ? W.message : "Could not start the run."
|
|
@@ -4629,8 +4629,8 @@ function bi({
|
|
|
4629
4629
|
j(null);
|
|
4630
4630
|
}
|
|
4631
4631
|
}, Ne = async () => {
|
|
4632
|
-
if (!
|
|
4633
|
-
const A =
|
|
4632
|
+
if (!M || !$ || !K) return;
|
|
4633
|
+
const A = M;
|
|
4634
4634
|
j(A.id);
|
|
4635
4635
|
try {
|
|
4636
4636
|
await le.deleteBriefing(
|
|
@@ -4655,7 +4655,7 @@ function bi({
|
|
|
4655
4655
|
disabled: i || !Oe,
|
|
4656
4656
|
briefingCount: La,
|
|
4657
4657
|
className: o,
|
|
4658
|
-
onClick:
|
|
4658
|
+
onClick: Me
|
|
4659
4659
|
}
|
|
4660
4660
|
),
|
|
4661
4661
|
/* @__PURE__ */ r(
|
|
@@ -4796,7 +4796,7 @@ function bi({
|
|
|
4796
4796
|
/* @__PURE__ */ t(
|
|
4797
4797
|
wt,
|
|
4798
4798
|
{
|
|
4799
|
-
open: !!
|
|
4799
|
+
open: !!M,
|
|
4800
4800
|
onOpenChange: (A) => {
|
|
4801
4801
|
A || ne(null);
|
|
4802
4802
|
},
|
|
@@ -4805,12 +4805,12 @@ function bi({
|
|
|
4805
4805
|
/* @__PURE__ */ r(Dt, { children: [
|
|
4806
4806
|
"Delete",
|
|
4807
4807
|
" ",
|
|
4808
|
-
|
|
4808
|
+
M ? pe(M).noun : "briefing",
|
|
4809
4809
|
"?"
|
|
4810
4810
|
] }),
|
|
4811
4811
|
/* @__PURE__ */ r(At, { children: [
|
|
4812
4812
|
"This permanently deletes ",
|
|
4813
|
-
/* @__PURE__ */ t("strong", { children:
|
|
4813
|
+
/* @__PURE__ */ t("strong", { children: M == null ? void 0 : M.name }),
|
|
4814
4814
|
". Recipients will stop receiving it."
|
|
4815
4815
|
] })
|
|
4816
4816
|
] }),
|
|
@@ -4824,7 +4824,7 @@ function bi({
|
|
|
4824
4824
|
children: [
|
|
4825
4825
|
"Delete",
|
|
4826
4826
|
" ",
|
|
4827
|
-
|
|
4827
|
+
M ? pe(M).noun : "briefing"
|
|
4828
4828
|
]
|
|
4829
4829
|
}
|
|
4830
4830
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as o, Fragment as R } from "react/jsx-runtime";
|
|
2
|
-
import { bL as Fr, u as k, bM as $r, bN as Gr, bO as ot, bP as Vr, bQ as Hr, bR as jr, bS as qr, bT as zr, bU as Kr, b8 as Y, b5 as xe, bV as ve, bF as C, bW as Qr, bG as $t, bH as Gt, bJ as tt, bK as rt, bX as Vt, bY as it, bZ as Wr, b_ as ne, b$ as Yr, c0 as Jr, c1 as Ht, c2 as Xr, c3 as jt, c4 as Zr, bI as ea, c5 as ta, c6 as A, c7 as ra, c8 as aa, c9 as na, aS as sa, ca as oa, bv as ia, cb as da, bw as ca, p as la, aa as ua, am as Et, o as Be, x as ma, q as Xe, O as ha, cc as pa, cd as fa, a8 as ga, ce as ba, s as xa, cf as va, I as ya, cg as wa, ch as Na, ci as Sa, cj as At, ck as It, cl as Mt, cm as Da, bx as ka, cn as Ca, T as Ea, co as Aa, cp as Ia, cq as ae, cr as he, cs as Ma, ct as La, cu as Oa, cv as Lt, w as Pa, cw as _a, cx as Ta, cy as Ra, cz as Ua, cA as Ba, cB as Fa, cC as $a, cD as Ga, cE as Ot, Q as Va } from "./semaphor-ready-indicator-
|
|
2
|
+
import { bL as Fr, u as k, bM as $r, bN as Gr, bO as ot, bP as Vr, bQ as Hr, bR as jr, bS as qr, bT as zr, bU as Kr, b8 as Y, b5 as xe, bV as ve, bF as C, bW as Qr, bG as $t, bH as Gt, bJ as tt, bK as rt, bX as Vt, bY as it, bZ as Wr, b_ as ne, b$ as Yr, c0 as Jr, c1 as Ht, c2 as Xr, c3 as jt, c4 as Zr, bI as ea, c5 as ta, c6 as A, c7 as ra, c8 as aa, c9 as na, aS as sa, ca as oa, bv as ia, cb as da, bw as ca, p as la, aa as ua, am as Et, o as Be, x as ma, q as Xe, O as ha, cc as pa, cd as fa, a8 as ga, ce as ba, s as xa, cf as va, I as ya, cg as wa, ch as Na, ci as Sa, cj as At, ck as It, cl as Mt, cm as Da, bx as ka, cn as Ca, T as Ea, co as Aa, cp as Ia, cq as ae, cr as he, cs as Ma, ct as La, cu as Oa, cv as Lt, w as Pa, cw as _a, cx as Ta, cy as Ra, cz as Ua, cA as Ba, cB as Fa, cC as $a, cD as Ga, cE as Ot, Q as Va } from "./semaphor-ready-indicator-AOUJrUAJ.js";
|
|
3
3
|
import { c as ye, B as V, a3 as Ha, a4 as ja, a5 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-DM_Mw_sm.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-BlEWWX9O.js";
|
|
|
8
8
|
import "./matrix-operation-contract-CAanJeCj.js";
|
|
9
9
|
import "./analytics-base-schemas-8wz9vqn_.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 { c 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-CPh2B3Rf.js";
|
|
12
|
+
import { I as Dn } from "./card-filter-builder-CiafWE26.js";
|
|
13
|
+
import { c as kn, R as Cn } from "./report-preferences-dialog-GHvai50w.js";
|
|
14
14
|
import { createPortal as En } from "react-dom";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
15
|
+
import { fW as we, fX as dt, fY as Qt, t as An } from "./resolve-dashboard-input-context-BcQHmMlw.js";
|
|
16
|
+
import { aT as Wt } from "./pivot-result-contract-expectations-CaS0y823.js";
|
|
17
|
+
import { g as nt } from "./stored-dashboard-Cmtl_Obh.js";
|
|
18
18
|
import { r as In } from "./export-file-format-C-tJsxsf.js";
|
|
19
19
|
import { u as Mn, s as Ln } from "./normalize-dashboard-for-dirty-check-XKgH3GFX.js";
|
|
20
|
-
import {
|
|
21
|
-
import { d as On, a as Pn } from "./bookmark-impact-
|
|
20
|
+
import { A as Yt } from "./bookmark-state-Be2W3s6t.js";
|
|
21
|
+
import { d as On, a as Pn } from "./bookmark-impact-B0k90wq8.js";
|
|
22
22
|
import { S as _n } from "./save-C9CZAk6V.js";
|
|
23
23
|
import { P as Tn } from "./paintbrush-KeaU1L1a.js";
|
|
24
24
|
import { P as Rn } from "./palette-BcFJLeXB.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-AOUJrUAJ.js";
|
|
4
4
|
import { B as S, X as N, C as D } from "./style-sheet-parts-DM_Mw_sm.js";
|
|
5
5
|
import { c as J } from "./pickers-DkqmtnTL.js";
|
|
6
6
|
import "./validators-BlEWWX9O.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { d as D, e as h } from "./filter-reach-copy-
|
|
2
|
-
import { h as y, d as g, r as b, a as m, e as F } from "./resolve-dashboard-input-context-
|
|
1
|
+
import { d as D, e as h } from "./filter-reach-copy-CifrEFxj.js";
|
|
2
|
+
import { h as y, d as g, r as b, a as m, e as F } from "./resolve-dashboard-input-context-BcQHmMlw.js";
|
|
3
3
|
import "./validators-BlEWWX9O.js";
|
|
4
4
|
import "./matrix-operation-contract-CAanJeCj.js";
|
|
5
5
|
import "./analytics-base-schemas-8wz9vqn_.js";
|
|
6
6
|
import "zod";
|
|
7
|
-
import "./pivot-result-contract-expectations-
|
|
7
|
+
import "./pivot-result-contract-expectations-CaS0y823.js";
|
|
8
8
|
import "../value-format-preferences/index.js";
|
|
9
|
-
import {
|
|
9
|
+
import { D as w } from "./bookmark-state-Be2W3s6t.js";
|
|
10
10
|
import "./schema-C9NPiIru.js";
|
|
11
11
|
import "./index-CV_Kzou0.js";
|
|
12
12
|
import "./context-CVXTFljo.js";
|
|
13
|
-
import { p as N, r as T } from "./stored-dashboard-
|
|
14
|
-
import { g as C } from "./saved-dashboard-context-
|
|
13
|
+
import { p as N, r as T } from "./stored-dashboard-Cmtl_Obh.js";
|
|
14
|
+
import { g as C } from "./saved-dashboard-context-BHHEzmwM.js";
|
|
15
15
|
const M = ["hour", "day", "week", "month", "quarter", "year"], O = 12, P = {
|
|
16
16
|
automatic: "Automatic",
|
|
17
17
|
card: "Set on this card",
|