react-semaphor 0.1.565 → 0.1.566
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 +50 -46
- package/dist/chunks/{assistant-chat-DNfb5fbF.js → assistant-chat-DNKAYSQL.js} +5 -5
- package/dist/chunks/{bookmark-impact-CHr7b1J2.js → bookmark-impact-BeUbq0jc.js} +1 -1
- package/dist/chunks/{card-filter-builder-CcEcfaYz.js → card-filter-builder-SXaRWbKr.js} +46 -46
- package/dist/chunks/{dashboard-CtIfxycc.js → dashboard-Cni7nGhg.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-D3mc6peE.js → dashboard-briefing-launcher-CXeXRTem.js} +202 -202
- package/dist/chunks/{dashboard-controls-BFv0zdws.js → dashboard-controls-CsqKybrf.js} +56 -56
- package/dist/chunks/{dashboard-json-CXn_3OYb.js → dashboard-json-WWmw3Piu.js} +1 -1
- package/dist/chunks/{dates-DcRxw17S.js → dates-DJRUS-he.js} +4 -4
- package/dist/chunks/{edit-dashboard-visual-Y6HatqBd.js → edit-dashboard-visual-BrIEaBhc.js} +213 -197
- package/dist/chunks/{filter-reach-copy-DbggA5B7.js → filter-reach-copy-D5LqgrUf.js} +852 -858
- package/dist/chunks/{index-DDa_rklN.js → index-Bq9UbCGk.js} +648 -574
- package/dist/chunks/{report-preferences-dialog-Db-b04B4.js → report-preferences-dialog-CeHioJwL.js} +7 -7
- package/dist/chunks/{resolve-dashboard-input-context-C18J-YZC.js → resolve-dashboard-input-context-CwS-2r-b.js} +3497 -3472
- package/dist/chunks/{saved-dashboard-context-DhC_EVus.js → saved-dashboard-context-c-MZZTx2.js} +2 -2
- package/dist/chunks/{semaphor-ready-indicator-T6TsiBMT.js → semaphor-ready-indicator-B2NpYRE-.js} +27601 -27648
- package/dist/chunks/{shelf-drop-preview-context-CNWL_b0S.js → shelf-drop-preview-context-DM7yypwC.js} +2 -2
- package/dist/chunks/{stored-dashboard-IdmtrNkA.js → stored-dashboard-DTWc2pzt.js} +204 -204
- package/dist/chunks/{variable-draft-3xseULxR.js → variable-draft-DFizFCJu.js} +2 -2
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.js +1669 -1642
- package/dist/index.js +11 -11
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/briefings/delivery-outcome.d.ts +37 -0
- package/dist/types/briefings/index.d.ts +2 -0
- package/dist/types/briefings/run-outcomes.d.ts +6 -0
- package/dist/types/components/briefings/briefing-author/run-model.d.ts +9 -0
- package/dist/types/lib/query-context/dashboard-filter-mapping-resolution.d.ts +15 -3
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/dashboard-filter-sql-subscription.d.ts +24 -0
- package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +20 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as e, jsxs as o, Fragment as
|
|
2
|
-
import { bz as Br, u as k, bA as Fr, bB as $r, bC as ot, bD as Gr, bE as Vr, bF as Hr, bG as jr, bH as qr, bI as zr, aU as Y, aR as xe, bJ as ve, bt as C, bK as Kr, bu as $t, bv as Gt, bx as tt, by as rt, bL as Vt, bM as it, bn as Qr, bN as ne, bO as Wr, bP as Yr, bQ as Ht, bR as Jr, bS as jt, bT as Xr, bw as Zr, bU as ea, bV as I, bW as ta, bX as ra, bY as aa, aC as na, bZ as sa, bf as oa, b_ as ia, bg as da, j as ca, W as la, a6 as Et, i as Be, p as ua, k as Xe, b$ as ma, c0 as ha, Q as pa, c1 as fa, s as ga, c2 as ba, c3 as xa, c4 as va, c5 as ya, c6 as At, c7 as It, c8 as Mt, c9 as wa, bh as Na, ca as Sa, cb as Da, cc as ka, cd as ae, ce as he, cf as Ca, cg as Ea, ch as Aa, ci as Lt, o as Ia, cj as Ma, ck as La, cl as Oa, cm as Pa, cn as _a, co as
|
|
1
|
+
import { jsx as e, jsxs as o, Fragment as T } from "react/jsx-runtime";
|
|
2
|
+
import { bz as Br, u as k, bA as Fr, bB as $r, bC as ot, bD as Gr, bE as Vr, bF as Hr, bG as jr, bH as qr, bI as zr, aU as Y, aR as xe, bJ as ve, bt as C, bK as Kr, bu as $t, bv as Gt, bx as tt, by as rt, bL as Vt, bM as it, bn as Qr, bN as ne, bO as Wr, bP as Yr, bQ as Ht, bR as Jr, bS as jt, bT as Xr, bw as Zr, bU as ea, bV as I, bW as ta, bX as ra, bY as aa, aC as na, bZ as sa, bf as oa, b_ as ia, bg as da, j as ca, W as la, a6 as Et, i as Be, p as ua, k as Xe, b$ as ma, c0 as ha, Q as pa, c1 as fa, s as ga, c2 as ba, c3 as xa, c4 as va, c5 as ya, c6 as At, c7 as It, c8 as Mt, c9 as wa, bh as Na, ca as Sa, cb as Da, cc as ka, cd as ae, ce as he, cf as Ca, cg as Ea, ch as Aa, ci as Lt, o as Ia, cj as Ma, ck as La, cl as Oa, cm as Pa, cn as _a, co as Ra, cp as Ta, cq as Ua, cr as Ot } from "./semaphor-ready-indicator-B2NpYRE-.js";
|
|
3
3
|
import { c as ye, B as V, a0 as Ba, a1 as Fa, a2 as at, L as $e, X as qt, n as $a, t as Ga, u as Va, v as Ha, w as ja, x as qa, P as za, a as Ka, d as Qa, z as Wa, o as Ya, p as Ja, q as Xa, I as Za, r as en, e as zt, b as Pt } from "./code-editor-DJNOsgJH.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 tn } from "react";
|
|
@@ -10,17 +10,17 @@ import "./analytics-base-schemas-BaIQrEzX.js";
|
|
|
10
10
|
import "zod";
|
|
11
11
|
import "../value-format-preferences/index.js";
|
|
12
12
|
import { c as be } from "./_commonjsHelpers-DimLPMtv.js";
|
|
13
|
-
import { u as rn, d as an, l as nn, c as sn, D as on, A as dn, a as cn, j as ln, m as un, V as mn, b as hn, e as pn, S as fn, T as gn, k as bn, i as xn, n as vn, U as yn } from "./dashboard-briefing-launcher-
|
|
14
|
-
import { I as wn } from "./card-filter-builder-
|
|
15
|
-
import { u as Nn, h as Sn, R as Dn, l as kn } from "./report-preferences-dialog-
|
|
13
|
+
import { u as rn, d as an, l as nn, c as sn, D as on, A as dn, a as cn, j as ln, m as un, V as mn, b as hn, e as pn, S as fn, T as gn, k as bn, i as xn, n as vn, U as yn } from "./dashboard-briefing-launcher-CXeXRTem.js";
|
|
14
|
+
import { I as wn } from "./card-filter-builder-SXaRWbKr.js";
|
|
15
|
+
import { u as Nn, h as Sn, R as Dn, l as kn } from "./report-preferences-dialog-CeHioJwL.js";
|
|
16
16
|
import { createPortal as Cn } from "react-dom";
|
|
17
|
-
import {
|
|
17
|
+
import { eW as we, eX as dt, eY as Qt, o as En } from "./resolve-dashboard-input-context-CwS-2r-b.js";
|
|
18
18
|
import { aH as Wt } from "./temporal-input-presentation--2r9BLr0.js";
|
|
19
|
-
import { k as nt } from "./stored-dashboard-
|
|
19
|
+
import { k as nt } from "./stored-dashboard-DTWc2pzt.js";
|
|
20
20
|
import { r as An } from "./export-file-format-C-tJsxsf.js";
|
|
21
21
|
import { u as In, s as Mn } from "./normalize-dashboard-for-dirty-check-XKgH3GFX.js";
|
|
22
22
|
import { y as Yt } from "./bookmark-state-ByODVqee.js";
|
|
23
|
-
import { d as Ln, a as On } from "./bookmark-impact-
|
|
23
|
+
import { d as Ln, a as On } from "./bookmark-impact-BeUbq0jc.js";
|
|
24
24
|
import { S as Pn } from "./save-D6pHmSSP.js";
|
|
25
25
|
import { P as _n } from "./palette-4vf2BEEg.js";
|
|
26
26
|
/**
|
|
@@ -29,7 +29,7 @@ import { P as _n } from "./palette-4vf2BEEg.js";
|
|
|
29
29
|
* This source code is licensed under the ISC license.
|
|
30
30
|
* See the LICENSE file in the root directory of this source tree.
|
|
31
31
|
*/
|
|
32
|
-
const
|
|
32
|
+
const Rn = ye("Moon", [
|
|
33
33
|
["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z", key: "a7tn18" }]
|
|
34
34
|
]);
|
|
35
35
|
/**
|
|
@@ -38,7 +38,7 @@ const Tn = ye("Moon", [
|
|
|
38
38
|
* This source code is licensed under the ISC license.
|
|
39
39
|
* See the LICENSE file in the root directory of this source tree.
|
|
40
40
|
*/
|
|
41
|
-
const
|
|
41
|
+
const Tn = ye("ShieldX", [
|
|
42
42
|
[
|
|
43
43
|
"path",
|
|
44
44
|
{
|
|
@@ -98,10 +98,10 @@ var st = { exports: {} }, Ze = {};
|
|
|
98
98
|
* This source code is licensed under the MIT license found in the
|
|
99
99
|
* LICENSE file in the root directory of this source tree.
|
|
100
100
|
*/
|
|
101
|
-
var
|
|
101
|
+
var Rt;
|
|
102
102
|
function Fn() {
|
|
103
|
-
if (
|
|
104
|
-
|
|
103
|
+
if (Rt) return Ze;
|
|
104
|
+
Rt = 1;
|
|
105
105
|
var t = Kt;
|
|
106
106
|
function n(i, f) {
|
|
107
107
|
return i === f && (i !== 0 || 1 / i === 1 / f) || i !== i && f !== f;
|
|
@@ -149,9 +149,9 @@ var et = {};
|
|
|
149
149
|
* This source code is licensed under the MIT license found in the
|
|
150
150
|
* LICENSE file in the root directory of this source tree.
|
|
151
151
|
*/
|
|
152
|
-
var
|
|
152
|
+
var Tt;
|
|
153
153
|
function $n() {
|
|
154
|
-
return
|
|
154
|
+
return Tt || (Tt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
155
155
|
function t(l, x) {
|
|
156
156
|
return l === x && (l !== 0 || 1 / l === 1 / x) || l !== l && x !== x;
|
|
157
157
|
}
|
|
@@ -213,7 +213,7 @@ function Vn() {
|
|
|
213
213
|
const u = Fe.includes(t) ? t : "system", m = Fe[(Fe.indexOf(u) + 1) % Fe.length];
|
|
214
214
|
n(m), a(m);
|
|
215
215
|
}
|
|
216
|
-
const s = t === "light" ? Un : t === "dark" ?
|
|
216
|
+
const s = t === "light" ? Un : t === "dark" ? Rn : Fr, c = t === "light" ? "Theme: light (click for dark)" : t === "dark" ? "Theme: dark (click for system)" : "Theme: system (click for light)";
|
|
217
217
|
return /* @__PURE__ */ e(
|
|
218
218
|
V,
|
|
219
219
|
{
|
|
@@ -766,14 +766,14 @@ function ms({
|
|
|
766
766
|
" member",
|
|
767
767
|
t.memberCount === 1 ? "" : "s"
|
|
768
768
|
] }),
|
|
769
|
-
s && /* @__PURE__ */ o(
|
|
769
|
+
s && /* @__PURE__ */ o(T, { children: [
|
|
770
770
|
/* @__PURE__ */ e("span", { className: "text-border", children: "·" }),
|
|
771
771
|
/* @__PURE__ */ o("span", { className: "inline-flex items-center gap-1", children: [
|
|
772
772
|
/* @__PURE__ */ e(jt, { className: "h-2.5 w-2.5" }),
|
|
773
773
|
s
|
|
774
774
|
] })
|
|
775
775
|
] }),
|
|
776
|
-
t.description && /* @__PURE__ */ o(
|
|
776
|
+
t.description && /* @__PURE__ */ o(T, { children: [
|
|
777
777
|
/* @__PURE__ */ e("span", { className: "text-border", children: "·" }),
|
|
778
778
|
/* @__PURE__ */ e("span", { className: "truncate text-muted-foreground", children: t.description })
|
|
779
779
|
] })
|
|
@@ -1154,10 +1154,10 @@ function fs({
|
|
|
1154
1154
|
onClick: f,
|
|
1155
1155
|
disabled: !i || g.isPending,
|
|
1156
1156
|
className: "inline-flex h-7 items-center gap-1.5 rounded-[5px] bg-foreground px-2.5 text-[12px] font-medium text-background hover:opacity-90 disabled:cursor-not-allowed disabled:opacity-60",
|
|
1157
|
-
children: g.isPending ? /* @__PURE__ */ o(
|
|
1157
|
+
children: g.isPending ? /* @__PURE__ */ o(T, { children: [
|
|
1158
1158
|
/* @__PURE__ */ e($e, { className: "h-3 w-3 animate-spin" }),
|
|
1159
1159
|
"Creating…"
|
|
1160
|
-
] }) : /* @__PURE__ */ o(
|
|
1160
|
+
] }) : /* @__PURE__ */ o(T, { children: [
|
|
1161
1161
|
/* @__PURE__ */ e(ne, { className: "h-3 w-3" }),
|
|
1162
1162
|
"Create group"
|
|
1163
1163
|
] })
|
|
@@ -1452,7 +1452,7 @@ function ws({
|
|
|
1452
1452
|
onScheduleReport: a,
|
|
1453
1453
|
onCreateAnalyticalBriefing: r
|
|
1454
1454
|
}) {
|
|
1455
|
-
return /* @__PURE__ */ o(
|
|
1455
|
+
return /* @__PURE__ */ o(T, { children: [
|
|
1456
1456
|
/* @__PURE__ */ e(
|
|
1457
1457
|
ys,
|
|
1458
1458
|
{
|
|
@@ -1577,7 +1577,7 @@ function Js() {
|
|
|
1577
1577
|
}), bt = G ? {
|
|
1578
1578
|
id: G.id,
|
|
1579
1579
|
title: (b == null ? void 0 : b.title) || G.title || "Dashboard"
|
|
1580
|
-
} : null, { handleAddNewFrame: xr } = pa(), [Ve, He] = N(!1), [vr, de] = N(!1), [je, Pe] = N("close"), ce = fa(Xe.DASHBOARD), [L, le] = N(null), yr = async (d,
|
|
1580
|
+
} : null, { handleAddNewFrame: xr } = pa(), [Ve, He] = N(!1), [vr, de] = N(!1), [je, Pe] = N("close"), ce = fa(Xe.DASHBOARD), [L, le] = N(null), yr = async (d, R) => {
|
|
1581
1581
|
if (!i) {
|
|
1582
1582
|
if (!(b != null && b.id)) {
|
|
1583
1583
|
console.log("No dashboard ID found");
|
|
@@ -1586,7 +1586,7 @@ function Js() {
|
|
|
1586
1586
|
console.log("Updating dashboard title:", {
|
|
1587
1587
|
dashboardId: b.id,
|
|
1588
1588
|
newTitle: d,
|
|
1589
|
-
previousTitle:
|
|
1589
|
+
previousTitle: R
|
|
1590
1590
|
}), ce.mutate(
|
|
1591
1591
|
{
|
|
1592
1592
|
resourceId: b.id,
|
|
@@ -1604,7 +1604,7 @@ function Js() {
|
|
|
1604
1604
|
onError: (_) => {
|
|
1605
1605
|
console.error("Failed to update dashboard title:", _), C.error("Failed to update dashboard title");
|
|
1606
1606
|
const re = k.getState().dashboard;
|
|
1607
|
-
(re == null ? void 0 : re.id) === b.id && re.title === d && Ne(
|
|
1607
|
+
(re == null ? void 0 : re.id) === b.id && re.title === d && Ne(R);
|
|
1608
1608
|
}
|
|
1609
1609
|
}
|
|
1610
1610
|
);
|
|
@@ -1614,10 +1614,10 @@ function Js() {
|
|
|
1614
1614
|
if (Oe && Oe.length > 0) {
|
|
1615
1615
|
const d = b == null ? void 0 : b.id;
|
|
1616
1616
|
if (d) {
|
|
1617
|
-
const
|
|
1617
|
+
const R = Oe.find(
|
|
1618
1618
|
(_) => _.id === d
|
|
1619
1619
|
);
|
|
1620
|
-
|
|
1620
|
+
R && gt(R);
|
|
1621
1621
|
}
|
|
1622
1622
|
}
|
|
1623
1623
|
}, [Oe, b == null ? void 0 : b.id, gt]);
|
|
@@ -1676,7 +1676,7 @@ function Js() {
|
|
|
1676
1676
|
Qe,
|
|
1677
1677
|
i,
|
|
1678
1678
|
p
|
|
1679
|
-
), vt = We || Dr,
|
|
1679
|
+
), vt = We || Dr, Re = Ve || ce.isPending, kr = () => {
|
|
1680
1680
|
if (i) {
|
|
1681
1681
|
L && Ke(L.dashboard, {
|
|
1682
1682
|
semanticExecutionPayload: L.semanticExecutionPayload
|
|
@@ -1710,19 +1710,19 @@ function Js() {
|
|
|
1710
1710
|
async function Ye(d) {
|
|
1711
1711
|
if (i)
|
|
1712
1712
|
return;
|
|
1713
|
-
const
|
|
1714
|
-
if (!
|
|
1713
|
+
const R = k.getState().dashboard;
|
|
1714
|
+
if (!R)
|
|
1715
1715
|
return;
|
|
1716
1716
|
const _ = (d == null ? void 0 : d.closeAfterSave) ?? ut, re = (d == null ? void 0 : d.navigateHomeAfterSave) ?? !1;
|
|
1717
1717
|
Le(_), _ && de(!1);
|
|
1718
|
-
const Pr = nt(
|
|
1718
|
+
const Pr = nt(R);
|
|
1719
1719
|
q(!0), K(null), Me([]), He(!0);
|
|
1720
1720
|
const _r = {
|
|
1721
|
-
template:
|
|
1721
|
+
template: R
|
|
1722
1722
|
};
|
|
1723
1723
|
ce.mutate(
|
|
1724
1724
|
{
|
|
1725
|
-
resourceId:
|
|
1725
|
+
resourceId: R.id,
|
|
1726
1726
|
data: _r
|
|
1727
1727
|
},
|
|
1728
1728
|
{
|
|
@@ -1734,17 +1734,17 @@ function Js() {
|
|
|
1734
1734
|
)
|
|
1735
1735
|
), q(!1), Le(!1), _ && (_e(), ue(), re && ie && Ge()), Pe("close");
|
|
1736
1736
|
},
|
|
1737
|
-
onError: (
|
|
1737
|
+
onError: (Rr) => {
|
|
1738
1738
|
He(!1), K("Failed to save dashboard. Please try again.");
|
|
1739
|
-
const Ue =
|
|
1739
|
+
const Ue = Rr.details, Tr = Array.isArray(
|
|
1740
1740
|
Ue == null ? void 0 : Ue.errors
|
|
1741
1741
|
) ? (Ue.errors || []).filter(
|
|
1742
1742
|
(Ur) => typeof Ur == "string"
|
|
1743
1743
|
) : [];
|
|
1744
1744
|
Me(
|
|
1745
1745
|
vs({
|
|
1746
|
-
errors:
|
|
1747
|
-
dashboard:
|
|
1746
|
+
errors: Tr,
|
|
1747
|
+
dashboard: R || void 0
|
|
1748
1748
|
})
|
|
1749
1749
|
), C.error("Failed to save dashboard");
|
|
1750
1750
|
}
|
|
@@ -1760,7 +1760,7 @@ function Js() {
|
|
|
1760
1760
|
const Mr = ie && !!(t != null && t.accessToken) && !!(n != null && n.apiServiceUrl), Lr = !i && Q.showDashboardHub && Mr, Or = !i && h && Q.showDashboardHub, W = (b == null ? void 0 : b.id) || null, wt = ba(
|
|
1761
1761
|
(Ct = n.config) == null ? void 0 : Ct.showBriefings,
|
|
1762
1762
|
r
|
|
1763
|
-
),
|
|
1763
|
+
), Te = an(W), Je = nn();
|
|
1764
1764
|
if (!h && !U)
|
|
1765
1765
|
return null;
|
|
1766
1766
|
const me = !U && h && !i, Nt = D && me;
|
|
@@ -1802,8 +1802,8 @@ function Js() {
|
|
|
1802
1802
|
canEditDashboard: p,
|
|
1803
1803
|
dashboardId: b == null ? void 0 : b.id
|
|
1804
1804
|
});
|
|
1805
|
-
const
|
|
1806
|
-
Ne(d), yr(d,
|
|
1805
|
+
const R = (b == null ? void 0 : b.title) || "";
|
|
1806
|
+
Ne(d), yr(d, R);
|
|
1807
1807
|
},
|
|
1808
1808
|
isEditable: ya({
|
|
1809
1809
|
isDashboardEditing: D,
|
|
@@ -1821,7 +1821,7 @@ function Js() {
|
|
|
1821
1821
|
] }),
|
|
1822
1822
|
/* @__PURE__ */ o("div", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
1823
1823
|
/* @__PURE__ */ o("div", { className: "-m-1 flex min-w-0 items-center gap-1.5 overflow-x-auto p-1 [scrollbar-width:thin] [&>*]:shrink-0", children: [
|
|
1824
|
-
U && /* @__PURE__ */ o(
|
|
1824
|
+
U && /* @__PURE__ */ o(T, { children: [
|
|
1825
1825
|
/* @__PURE__ */ e(dn, {}),
|
|
1826
1826
|
/* @__PURE__ */ e(cn, {})
|
|
1827
1827
|
] }),
|
|
@@ -1923,7 +1923,7 @@ function Js() {
|
|
|
1923
1923
|
variant: "outline",
|
|
1924
1924
|
size: "xs",
|
|
1925
1925
|
onClick: Ar,
|
|
1926
|
-
disabled:
|
|
1926
|
+
disabled: Re,
|
|
1927
1927
|
"aria-label": "Undo",
|
|
1928
1928
|
title: A.width === "sm" ? "Undo" : void 0,
|
|
1929
1929
|
className: A.width === "sm" ? "w-7 px-0" : void 0,
|
|
@@ -1938,11 +1938,11 @@ function Js() {
|
|
|
1938
1938
|
{
|
|
1939
1939
|
size: "xs",
|
|
1940
1940
|
className: be(!vt && "opacity-60"),
|
|
1941
|
-
disabled:
|
|
1941
|
+
disabled: Re || !vt,
|
|
1942
1942
|
onClick: () => Ye(),
|
|
1943
1943
|
children: [
|
|
1944
|
-
|
|
1945
|
-
|
|
1944
|
+
Re ? /* @__PURE__ */ e($e, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ e(Pn, { className: "h-3.5 w-3.5" }),
|
|
1945
|
+
Re ? "Saving..." : "Save"
|
|
1946
1946
|
]
|
|
1947
1947
|
}
|
|
1948
1948
|
),
|
|
@@ -1962,7 +1962,7 @@ function Js() {
|
|
|
1962
1962
|
}
|
|
1963
1963
|
)
|
|
1964
1964
|
] }),
|
|
1965
|
-
!U && h && /* @__PURE__ */ o(
|
|
1965
|
+
!U && h && /* @__PURE__ */ o(T, { children: [
|
|
1966
1966
|
/* @__PURE__ */ e(pn, {}),
|
|
1967
1967
|
m && p === !0 && !i && /* @__PURE__ */ e(fn, {})
|
|
1968
1968
|
] }),
|
|
@@ -1987,16 +1987,16 @@ function Js() {
|
|
|
1987
1987
|
className: "w-56 rounded-control border border-border/60 p-1 shadow-sm",
|
|
1988
1988
|
children: [
|
|
1989
1989
|
/* @__PURE__ */ e(ks, {}),
|
|
1990
|
-
|
|
1990
|
+
Te.available && Lr && /* @__PURE__ */ o(T, { children: [
|
|
1991
1991
|
/* @__PURE__ */ o(
|
|
1992
1992
|
I,
|
|
1993
1993
|
{
|
|
1994
|
-
disabled:
|
|
1995
|
-
onSelect:
|
|
1994
|
+
disabled: Te.disabled,
|
|
1995
|
+
onSelect: Te.toggle,
|
|
1996
1996
|
children: [
|
|
1997
1997
|
/* @__PURE__ */ e(ka, { className: "h-3.5 w-3.5" }),
|
|
1998
1998
|
/* @__PURE__ */ e("span", { className: "flex-1", children: "Default dashboard" }),
|
|
1999
|
-
|
|
1999
|
+
Te.isDefault && /* @__PURE__ */ e(zt, { className: "h-3.5 w-3.5" })
|
|
2000
2000
|
]
|
|
2001
2001
|
}
|
|
2002
2002
|
),
|
|
@@ -2034,7 +2034,7 @@ function Js() {
|
|
|
2034
2034
|
}
|
|
2035
2035
|
),
|
|
2036
2036
|
/* @__PURE__ */ e(ae, {}),
|
|
2037
|
-
(Q.showDashboardSharing || Q.showGroupManagement) && /* @__PURE__ */ o(
|
|
2037
|
+
(Q.showDashboardSharing || Q.showGroupManagement) && /* @__PURE__ */ o(T, { children: [
|
|
2038
2038
|
/* @__PURE__ */ e(he, { children: "Access" }),
|
|
2039
2039
|
Q.showDashboardSharing && /* @__PURE__ */ o(I, { onSelect: () => X(!0), children: [
|
|
2040
2040
|
/* @__PURE__ */ e(Aa, { className: "h-3.5 w-3.5" }),
|
|
@@ -2052,7 +2052,7 @@ function Js() {
|
|
|
2052
2052
|
),
|
|
2053
2053
|
/* @__PURE__ */ e(ae, {})
|
|
2054
2054
|
] }),
|
|
2055
|
-
Nt && /* @__PURE__ */ o(
|
|
2055
|
+
Nt && /* @__PURE__ */ o(T, { children: [
|
|
2056
2056
|
/* @__PURE__ */ e(he, { children: "Dashboard" }),
|
|
2057
2057
|
/* @__PURE__ */ o(I, { onSelect: Je.open, children: [
|
|
2058
2058
|
/* @__PURE__ */ e(Pt, { className: "h-3.5 w-3.5" }),
|
|
@@ -2066,7 +2066,7 @@ function Js() {
|
|
|
2066
2066
|
/* @__PURE__ */ e(jt, { className: "h-3.5 w-3.5" }),
|
|
2067
2067
|
"Report preferences"
|
|
2068
2068
|
] }),
|
|
2069
|
-
u && h && /* @__PURE__ */ o(
|
|
2069
|
+
u && h && /* @__PURE__ */ o(T, { children: [
|
|
2070
2070
|
/* @__PURE__ */ e(ae, {}),
|
|
2071
2071
|
/* @__PURE__ */ e(he, { children: "Developer" }),
|
|
2072
2072
|
/* @__PURE__ */ o(
|
|
@@ -2117,7 +2117,7 @@ function Js() {
|
|
|
2117
2117
|
{
|
|
2118
2118
|
onSelect: () => xn(n.apiServiceUrl),
|
|
2119
2119
|
children: [
|
|
2120
|
-
/* @__PURE__ */ e(
|
|
2120
|
+
/* @__PURE__ */ e(Tn, { className: "h-3.5 w-3.5" }),
|
|
2121
2121
|
"Invalidate token"
|
|
2122
2122
|
]
|
|
2123
2123
|
}
|
|
@@ -2201,13 +2201,13 @@ function Js() {
|
|
|
2201
2201
|
children: /* @__PURE__ */ o(Oa, { className: "max-w-sm", children: [
|
|
2202
2202
|
/* @__PURE__ */ o(Pa, { children: [
|
|
2203
2203
|
/* @__PURE__ */ e(_a, { children: z ? "Save failed" : "Saving dashboard" }),
|
|
2204
|
-
/* @__PURE__ */ e(
|
|
2204
|
+
/* @__PURE__ */ e(Ra, { className: "pt-2", children: z ? "We could not save the dashboard. Please try again." : "Please wait while we save your changes." }),
|
|
2205
2205
|
oe.length > 0 && /* @__PURE__ */ o("div", { className: "space-y-1 rounded-md border border-destructive/20 bg-destructive/5 p-3 text-left", children: [
|
|
2206
2206
|
/* @__PURE__ */ e("div", { className: "text-sm font-medium text-destructive", children: "What needs attention" }),
|
|
2207
2207
|
/* @__PURE__ */ e("ul", { className: "list-disc space-y-1 pl-4 text-xs text-muted-foreground", children: oe.slice(0, 5).map((d) => /* @__PURE__ */ e("li", { children: d }, d)) })
|
|
2208
2208
|
] })
|
|
2209
2209
|
] }),
|
|
2210
|
-
/* @__PURE__ */ e(
|
|
2210
|
+
/* @__PURE__ */ e(Ta, { className: "flex-col gap-2 sm:flex-row sm:justify-end", children: z ? /* @__PURE__ */ o(T, { children: [
|
|
2211
2211
|
/* @__PURE__ */ e(
|
|
2212
2212
|
Ua,
|
|
2213
2213
|
{
|
|
@@ -2257,7 +2257,7 @@ function Js() {
|
|
|
2257
2257
|
}
|
|
2258
2258
|
function ks() {
|
|
2259
2259
|
const t = kn();
|
|
2260
|
-
return t.length === 0 ? null : /* @__PURE__ */ o(
|
|
2260
|
+
return t.length === 0 ? null : /* @__PURE__ */ o(T, { children: [
|
|
2261
2261
|
t.map((n) => /* @__PURE__ */ o(I, { onSelect: n.onSelect, children: [
|
|
2262
2262
|
n.icon,
|
|
2263
2263
|
/* @__PURE__ */ e("span", { className: "flex-1", children: n.label }),
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
+
import { u as a } from "./semaphor-ready-indicator-B2NpYRE-.js";
|
|
4
4
|
import { B as S, X as N, C as D } from "./code-editor-DJNOsgJH.js";
|
|
5
5
|
import "./index-CuHybtft.js";
|
|
6
6
|
import "./validators-wtjw0aw6.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-CwS-2r-b.js";
|
|
2
|
+
import { d as h } from "./filter-reach-copy-D5LqgrUf.js";
|
|
3
3
|
import "./validators-wtjw0aw6.js";
|
|
4
4
|
import "./matrix-operation-contract-Eb6elidS.js";
|
|
5
5
|
import "./analytics-base-schemas-BaIQrEzX.js";
|
|
@@ -9,8 +9,8 @@ import "../value-format-preferences/index.js";
|
|
|
9
9
|
import { z as y } from "./bookmark-state-ByODVqee.js";
|
|
10
10
|
import "./index-RNaTnE3m.js";
|
|
11
11
|
import "./context-R31TSL5V.js";
|
|
12
|
-
import { p as C, r as N } from "./stored-dashboard-
|
|
13
|
-
import { g as q } from "./saved-dashboard-context-
|
|
12
|
+
import { p as C, r as N } from "./stored-dashboard-DTWc2pzt.js";
|
|
13
|
+
import { g as q } from "./saved-dashboard-context-c-MZZTx2.js";
|
|
14
14
|
function T(n, e) {
|
|
15
15
|
var s;
|
|
16
16
|
if (e.status === "blocked" || (s = n.sql) != null && s.trim()) return !1;
|