react-semaphor 0.1.562 → 0.1.564
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 +1 -1
- package/dist/chunks/{assistant-chat-R_yT8xH4.js → assistant-chat-D1BEEHUF.js} +103 -103
- package/dist/chunks/{bookmark-impact-D4Kl4amw.js → bookmark-impact-XOsVUAqW.js} +1 -1
- package/dist/chunks/{dashboard-Bp1y5oun.js → dashboard-DfYsASNd.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-S5FB3aUW.js → dashboard-briefing-launcher-lvYfJoUQ.js} +1429 -1379
- package/dist/chunks/{dashboard-controls-CfC_6Ztn.js → dashboard-controls-CJ8Dz50D.js} +58 -58
- package/dist/chunks/{dashboard-json-gYZT7ZQY.js → dashboard-json-D3uZxGO-.js} +1 -1
- package/dist/chunks/{dates-DFY7Gfss.js → dates-EvDtT25n.js} +5 -5
- package/dist/chunks/{edit-dashboard-visual-u7OI_g8Q.js → edit-dashboard-visual-CgHJXBQv.js} +8 -8
- package/dist/chunks/{filter-reach-copy-CvV7W5dd.js → filter-reach-copy-Cmb05jlE.js} +106 -106
- package/dist/chunks/{global-date-filter-utils-N1kcsOFE.js → global-date-filter-utils-ruJYwjgZ.js} +3034 -3023
- package/dist/chunks/{index-CNGkfUp4.js → index-CAgf2x4E.js} +2 -2
- package/dist/chunks/index-RNaTnE3m.js +585 -0
- package/dist/chunks/{report-preferences-dialog-C4RAR8u5.js → report-preferences-dialog-DMqxSU4X.js} +7 -7
- package/dist/chunks/{resolve-dashboard-input-context-DaDrZGuA.js → resolve-dashboard-input-context-i_jCSYae.js} +370 -370
- package/dist/chunks/{saved-dashboard-context-DFYBrE6O.js → saved-dashboard-context-Dg3oDmH_.js} +2 -2
- package/dist/chunks/{semaphor-ready-indicator-Cfuafnem.js → semaphor-ready-indicator-CFeCIuaw.js} +14575 -14536
- package/dist/chunks/{shelf-drop-preview-context-BR2GEYog.js → shelf-drop-preview-context-cEyVkKTF.js} +2 -2
- package/dist/chunks/{use-create-flow-overlay-state-DyzhWvRJ.js → use-create-flow-overlay-state-Dl6DCxh8.js} +2 -2
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.js +615 -594
- package/dist/index.js +13 -13
- package/dist/layouts/index.js +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/components/activity/activity-bell.d.ts +5 -1
- package/dist/types/components/activity/activity-types.d.ts +12 -4
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +6 -1
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +8 -1
- package/dist/types/shared/dashboard-authoring/measure-calculations/schemas.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunks/index-CJW5BdWT.js +0 -583
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
|
|
2
|
-
import { bP as Rr, u as k, bQ as Tr, bR as Ur, bS as st, bT as Br, bU as $r, bV as Fr, bW as Gr, bX as Vr, bY as jr, b8 as Y, b5 as ge, bZ as be, bJ as D, b_ as qr, bK as Ut, bL as Bt, bN as et, bO as tt, b$ as $t, aS as ot, bD as Hr, a$ as ae, c0 as zr, c1 as Kr, c2 as Ft, c3 as Qr, c4 as Gt, aR as Wr, bM as Yr, c5 as Jr, c6 as
|
|
2
|
+
import { bP as Rr, u as k, bQ as Tr, bR as Ur, bS as st, bT as Br, bU as $r, bV as Fr, bW as Gr, bX as Vr, bY as jr, b8 as Y, b5 as ge, bZ as be, bJ as D, b_ as qr, bK as Ut, bL as Bt, bN as et, bO as tt, b$ as $t, aS as ot, bD as Hr, a$ as ae, c0 as zr, c1 as Kr, c2 as Ft, c3 as Qr, c4 as Gt, aR as Wr, bM as Yr, c5 as Jr, c6 as O, c7 as Xr, c8 as Zr, c9 as ea, aC as ta, ca as ra, bv as aa, cb as na, bw as sa, j as oa, W as ia, a6 as Dt, i as Te, p as da, k as Je, cc as ca, cd as la, Q as ua, ce as ma, s as ha, cf as pa, cg as fa, ch as ga, ci as ba, cj as Ct, ck as Et, cl as At, cm as xa, bx as va, cn as ya, co as wa, cp as Na, cq as he, cr as Ue, cs as Sa, ct as ka, cu as Da, cv as It, o as Ca, cw as Ea, cx as Aa, cy as Ia, cz as Ma, cA as Oa, cB as La, cC as Pa, cD as _a, cE as Mt } from "./semaphor-ready-indicator-CFeCIuaw.js";
|
|
3
3
|
import { c as xe, B as V, a0 as Ra, a1 as Ta, a2 as rt, L as $e, X as Vt, m as Ua, s as Ba, t as $a, u as Fa, v as Ga, w as Va, P as ja, a as qa, b as Ha, y as za, n as Ka, o as Qa, p as Wa, I as Ya, q as Ja, d as jt } from "./switch-BW4yXSYs.js";
|
|
4
4
|
import * as E from "react";
|
|
5
|
-
import qt, { useMemo as j, useState as N, useEffect as pe, useRef as
|
|
5
|
+
import qt, { useMemo as j, useState as N, useEffect as pe, useRef as Ot, useLayoutEffect as Xa } from "react";
|
|
6
6
|
import "./index-CuHybtft.js";
|
|
7
7
|
import "./validators-BIM0FE31.js";
|
|
8
8
|
import "./matrix-operation-contract-DsLdFdSa.js";
|
|
@@ -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 fe } from "./_commonjsHelpers-DimLPMtv.js";
|
|
13
|
-
import { u as Za, d as en, c as tn, D as rn, A as an, a as nn, j as sn, V as on, b as dn, e as cn, S as ln, T as un, i as mn, k as hn, U as pn } from "./dashboard-briefing-launcher-
|
|
14
|
-
import { I as fn } from "./use-create-flow-overlay-state-
|
|
15
|
-
import { u as gn, h as bn, R as xn, l as vn } from "./report-preferences-dialog-
|
|
13
|
+
import { u as Za, d as en, c as tn, D as rn, A as an, a as nn, j as sn, V as on, b as dn, e as cn, S as ln, T as un, i as mn, k as hn, U as pn } from "./dashboard-briefing-launcher-lvYfJoUQ.js";
|
|
14
|
+
import { I as fn } from "./use-create-flow-overlay-state-Dl6DCxh8.js";
|
|
15
|
+
import { u as gn, h as bn, R as xn, l as vn } from "./report-preferences-dialog-DMqxSU4X.js";
|
|
16
16
|
import { createPortal as yn } from "react-dom";
|
|
17
|
-
import {
|
|
17
|
+
import { eM as ve, eN as it, eO as Ht, a$ as wn } from "./global-date-filter-utils-ruJYwjgZ.js";
|
|
18
18
|
import { aG as zt } from "./temporal-input-presentation-sk9gqLi6.js";
|
|
19
|
-
import { n as at } from "./resolve-dashboard-input-context-
|
|
19
|
+
import { n as at } from "./resolve-dashboard-input-context-i_jCSYae.js";
|
|
20
20
|
import { r as Nn } from "./export-file-format-C-tJsxsf.js";
|
|
21
21
|
import { u as Sn, s as kn } from "./normalize-dashboard-for-dirty-check-XKgH3GFX.js";
|
|
22
22
|
import { y as Kt } from "./bookmark-state-CWeoGbrx.js";
|
|
23
|
-
import { d as Dn, a as Cn } from "./bookmark-impact-
|
|
23
|
+
import { d as Dn, a as Cn } from "./bookmark-impact-XOsVUAqW.js";
|
|
24
24
|
import { S as En } from "./save-CHV1B1fL.js";
|
|
25
25
|
import { P as An } from "./palette-p1XSJFgB.js";
|
|
26
26
|
import { B as In } from "./braces-DzgoQC64.js";
|
|
@@ -39,7 +39,7 @@ const Mn = xe("Moon", [
|
|
|
39
39
|
* This source code is licensed under the ISC license.
|
|
40
40
|
* See the LICENSE file in the root directory of this source tree.
|
|
41
41
|
*/
|
|
42
|
-
const
|
|
42
|
+
const On = xe("ShieldX", [
|
|
43
43
|
[
|
|
44
44
|
"path",
|
|
45
45
|
{
|
|
@@ -56,7 +56,7 @@ const Ln = xe("ShieldX", [
|
|
|
56
56
|
* This source code is licensed under the ISC license.
|
|
57
57
|
* See the LICENSE file in the root directory of this source tree.
|
|
58
58
|
*/
|
|
59
|
-
const
|
|
59
|
+
const Ln = xe("Sun", [
|
|
60
60
|
["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
|
|
61
61
|
["path", { d: "M12 2v2", key: "tus03m" }],
|
|
62
62
|
["path", { d: "M12 20v2", key: "1lh1kg" }],
|
|
@@ -99,10 +99,10 @@ var nt = { exports: {} }, Xe = {};
|
|
|
99
99
|
* This source code is licensed under the MIT license found in the
|
|
100
100
|
* LICENSE file in the root directory of this source tree.
|
|
101
101
|
*/
|
|
102
|
-
var
|
|
102
|
+
var Lt;
|
|
103
103
|
function _n() {
|
|
104
|
-
if (
|
|
105
|
-
|
|
104
|
+
if (Lt) return Xe;
|
|
105
|
+
Lt = 1;
|
|
106
106
|
var t = qt;
|
|
107
107
|
function n(i, p) {
|
|
108
108
|
return i === p && (i !== 0 || 1 / i === 1 / p) || i !== i && p !== p;
|
|
@@ -170,16 +170,16 @@ function Rn() {
|
|
|
170
170
|
w = u({
|
|
171
171
|
inst: { value: f, getSnapshot: x }
|
|
172
172
|
});
|
|
173
|
-
var S = w[0].inst,
|
|
173
|
+
var S = w[0].inst, L = w[1];
|
|
174
174
|
return h(
|
|
175
175
|
function() {
|
|
176
|
-
S.value = f, S.getSnapshot = x, a(S) &&
|
|
176
|
+
S.value = f, S.getSnapshot = x, a(S) && L({ inst: S });
|
|
177
177
|
},
|
|
178
178
|
[l, f, x]
|
|
179
179
|
), m(
|
|
180
180
|
function() {
|
|
181
|
-
return a(S) &&
|
|
182
|
-
a(S) &&
|
|
181
|
+
return a(S) && L({ inst: S }), l(function() {
|
|
182
|
+
a(S) && L({ inst: S });
|
|
183
183
|
});
|
|
184
184
|
},
|
|
185
185
|
[l]
|
|
@@ -214,7 +214,7 @@ function Un() {
|
|
|
214
214
|
const u = Be.includes(t) ? t : "system", m = Be[(Be.indexOf(u) + 1) % Be.length];
|
|
215
215
|
n(m), a(m);
|
|
216
216
|
}
|
|
217
|
-
const s = t === "light" ?
|
|
217
|
+
const s = t === "light" ? Ln : t === "dark" ? Mn : Tr, c = t === "light" ? "Theme: light (click for dark)" : t === "dark" ? "Theme: dark (click for system)" : "Theme: system (click for light)";
|
|
218
218
|
return /* @__PURE__ */ e(
|
|
219
219
|
V,
|
|
220
220
|
{
|
|
@@ -538,7 +538,7 @@ function ss({
|
|
|
538
538
|
open: t,
|
|
539
539
|
onOpenChange: n
|
|
540
540
|
}) {
|
|
541
|
-
var
|
|
541
|
+
var L, b, $;
|
|
542
542
|
const { tokenProps: a } = Y(), { currentUser: r } = st(), s = (r == null ? void 0 : r.type) === "tenant", c = a == null ? void 0 : a.tenantId, {
|
|
543
543
|
groups: u,
|
|
544
544
|
isLoading: m,
|
|
@@ -595,7 +595,7 @@ function ss({
|
|
|
595
595
|
{
|
|
596
596
|
group: w,
|
|
597
597
|
isTenantViewer: s,
|
|
598
|
-
canEdit: ((
|
|
598
|
+
canEdit: ((L = w.permissions) == null ? void 0 : L.canEdit) ?? w.createdBy === (r == null ? void 0 : r.id),
|
|
599
599
|
canDelete: ((b = w.permissions) == null ? void 0 : b.canDelete) ?? w.createdBy === (r == null ? void 0 : r.id),
|
|
600
600
|
canManageMembers: (($ = w.permissions) == null ? void 0 : $.canManageMembers) ?? w.createdBy === (r == null ? void 0 : r.id),
|
|
601
601
|
onBack: () => p({ kind: "list" }),
|
|
@@ -846,7 +846,7 @@ function cs({
|
|
|
846
846
|
}), S = j(
|
|
847
847
|
() => new Set(l.map((v) => v.userId)),
|
|
848
848
|
[l]
|
|
849
|
-
),
|
|
849
|
+
), L = rs(), b = as(), $ = es(), [P, F] = N(!1), [I, C] = N(t.name), [ye, J] = N(!1), [X, Z] = N(t.description || ""), [ee, we] = N(""), [Ne, Se] = N(!1), ke = j(() => {
|
|
850
850
|
const v = ee.trim().toLowerCase();
|
|
851
851
|
return w.filter((B) => !S.has(B.id)).filter(
|
|
852
852
|
(B) => !v || (B.name || "").toLowerCase().includes(v) || (B.email || "").toLowerCase().includes(v)
|
|
@@ -875,7 +875,7 @@ function cs({
|
|
|
875
875
|
if (s) {
|
|
876
876
|
we(""), Se(!1);
|
|
877
877
|
try {
|
|
878
|
-
await
|
|
878
|
+
await L.mutateAsync({
|
|
879
879
|
groupId: t.id,
|
|
880
880
|
data: {
|
|
881
881
|
userIds: [v.id],
|
|
@@ -1018,7 +1018,7 @@ function cs({
|
|
|
1018
1018
|
candidates: ke,
|
|
1019
1019
|
showKindChip: !n,
|
|
1020
1020
|
onAdd: De,
|
|
1021
|
-
busy:
|
|
1021
|
+
busy: L.isPending
|
|
1022
1022
|
}
|
|
1023
1023
|
),
|
|
1024
1024
|
/* @__PURE__ */ e("div", { className: "flex-1 overflow-y-auto", children: g ? /* @__PURE__ */ e("div", { className: "space-y-px p-3", children: [1, 2, 3].map((v) => /* @__PURE__ */ e(
|
|
@@ -1177,7 +1177,7 @@ function us({
|
|
|
1177
1177
|
onAdd: u,
|
|
1178
1178
|
busy: m
|
|
1179
1179
|
}) {
|
|
1180
|
-
const h =
|
|
1180
|
+
const h = Ot(null), y = Ot(null), [g, i] = N(null);
|
|
1181
1181
|
Xa(() => {
|
|
1182
1182
|
if (!a) {
|
|
1183
1183
|
i(null);
|
|
@@ -1186,12 +1186,12 @@ function us({
|
|
|
1186
1186
|
const l = () => {
|
|
1187
1187
|
const x = h.current;
|
|
1188
1188
|
if (!x) return;
|
|
1189
|
-
const f = x.getBoundingClientRect(), w = 240,
|
|
1189
|
+
const f = x.getBoundingClientRect(), w = 240, L = window.innerHeight - f.bottom < w + 16 && f.top > w;
|
|
1190
1190
|
i({
|
|
1191
1191
|
left: f.left,
|
|
1192
|
-
top:
|
|
1192
|
+
top: L ? f.top - 6 : f.bottom + 6,
|
|
1193
1193
|
width: f.width,
|
|
1194
|
-
above:
|
|
1194
|
+
above: L
|
|
1195
1195
|
});
|
|
1196
1196
|
};
|
|
1197
1197
|
return l(), window.addEventListener("resize", l), window.addEventListener("scroll", l, !0), () => {
|
|
@@ -1442,7 +1442,7 @@ function fs({
|
|
|
1442
1442
|
visible: t,
|
|
1443
1443
|
onSelect: n
|
|
1444
1444
|
}) {
|
|
1445
|
-
return t ? /* @__PURE__ */ o(
|
|
1445
|
+
return t ? /* @__PURE__ */ o(O, { onSelect: n, children: [
|
|
1446
1446
|
/* @__PURE__ */ e(Xr, { className: "h-3.5 w-3.5" }),
|
|
1447
1447
|
"Schedule email report"
|
|
1448
1448
|
] }) : null;
|
|
@@ -1461,7 +1461,7 @@ function gs({
|
|
|
1461
1461
|
onSelect: a
|
|
1462
1462
|
}
|
|
1463
1463
|
),
|
|
1464
|
-
n ? /* @__PURE__ */ o(
|
|
1464
|
+
n ? /* @__PURE__ */ o(O, { onSelect: r, children: [
|
|
1465
1465
|
/* @__PURE__ */ e(ae, { className: "h-3.5 w-3.5" }),
|
|
1466
1466
|
"Create analytical briefing"
|
|
1467
1467
|
] }) : null
|
|
@@ -1545,7 +1545,7 @@ function Ks() {
|
|
|
1545
1545
|
inspectionMessage: g,
|
|
1546
1546
|
isInspectionMode: i,
|
|
1547
1547
|
isInspectionSurface: p
|
|
1548
|
-
} = aa(), { openBrandStudioPreview: l } = na(), { permissions: x } = Bn(), f = sa(), { isLoading: w } = oa(), S = k((d) => d.theme),
|
|
1548
|
+
} = aa(), { openBrandStudioPreview: l } = na(), { permissions: x } = Bn(), f = sa(), { isLoading: w } = oa(), S = k((d) => d.theme), L = k((d) => d.isDownloadingPdf), b = k((d) => d.dashboard), $ = k((d) => d.selectedSheetId), P = (wt = b == null ? void 0 : b.sheets) == null ? void 0 : wt.find(
|
|
1549
1549
|
(d) => d.id === $
|
|
1550
1550
|
), F = wn(P), I = F ? (Nt = P == null ? void 0 : P.document) == null ? void 0 : Nt.page : void 0, C = k(
|
|
1551
1551
|
(d) => d.isDashboardEditing
|
|
@@ -1578,7 +1578,7 @@ function Ks() {
|
|
|
1578
1578
|
}), gt = G ? {
|
|
1579
1579
|
id: G.id,
|
|
1580
1580
|
title: (b == null ? void 0 : b.title) || G.title || "Dashboard"
|
|
1581
|
-
} : null, { handleAddNewFrame: fr } = ua(), [Ge, Ve] = N(!1), [gr, ie] = N(!1), [je,
|
|
1581
|
+
} : null, { handleAddNewFrame: fr } = ua(), [Ge, Ve] = N(!1), [gr, ie] = N(!1), [je, Oe] = N("close"), de = ma(Je.DASHBOARD), [M, ce] = N(null), br = async (d, R) => {
|
|
1582
1582
|
if (!i) {
|
|
1583
1583
|
if (!(b != null && b.id)) {
|
|
1584
1584
|
console.log("No dashboard ID found");
|
|
@@ -1646,7 +1646,7 @@ function Ks() {
|
|
|
1646
1646
|
(d) => d.semanticExecutionPayload
|
|
1647
1647
|
), yr = () => {
|
|
1648
1648
|
ht(!0);
|
|
1649
|
-
},
|
|
1649
|
+
}, Le = () => {
|
|
1650
1650
|
ht(!1), pt(!1), ce(null);
|
|
1651
1651
|
};
|
|
1652
1652
|
pe(() => {
|
|
@@ -1681,10 +1681,10 @@ function Ks() {
|
|
|
1681
1681
|
if (i) {
|
|
1682
1682
|
M && ze(M.dashboard, {
|
|
1683
1683
|
semanticExecutionPayload: M.semanticExecutionPayload
|
|
1684
|
-
}),
|
|
1684
|
+
}), Le(), le();
|
|
1685
1685
|
return;
|
|
1686
1686
|
}
|
|
1687
|
-
bt() ? (
|
|
1687
|
+
bt() ? (Oe("close"), ie(!0)) : (Le(), le());
|
|
1688
1688
|
}, Sr = async () => {
|
|
1689
1689
|
await We({
|
|
1690
1690
|
closeAfterSave: !0,
|
|
@@ -1694,7 +1694,7 @@ function Ks() {
|
|
|
1694
1694
|
const d = je === "home" && !!oe;
|
|
1695
1695
|
M && ze(M.dashboard, {
|
|
1696
1696
|
semanticExecutionPayload: M.semanticExecutionPayload
|
|
1697
|
-
}),
|
|
1697
|
+
}), Le(), d && Fe(), Oe("close"), ie(!1), le();
|
|
1698
1698
|
}, Dr = () => {
|
|
1699
1699
|
M && (ze(M.dashboard, {
|
|
1700
1700
|
semanticExecutionPayload: M.semanticExecutionPayload
|
|
@@ -1702,7 +1702,7 @@ function Ks() {
|
|
|
1702
1702
|
}, Cr = () => {
|
|
1703
1703
|
if (oe) {
|
|
1704
1704
|
if (C && bt()) {
|
|
1705
|
-
|
|
1705
|
+
Oe("home"), ie(!0);
|
|
1706
1706
|
return;
|
|
1707
1707
|
}
|
|
1708
1708
|
Fe();
|
|
@@ -1718,13 +1718,13 @@ function Ks() {
|
|
|
1718
1718
|
Ie(_), _ && ie(!1);
|
|
1719
1719
|
const Mr = at(R);
|
|
1720
1720
|
H(!0), K(null), Ae([]), Ve(!0);
|
|
1721
|
-
const
|
|
1721
|
+
const Or = {
|
|
1722
1722
|
template: R
|
|
1723
1723
|
};
|
|
1724
1724
|
de.mutate(
|
|
1725
1725
|
{
|
|
1726
1726
|
resourceId: R.id,
|
|
1727
|
-
data:
|
|
1727
|
+
data: Or
|
|
1728
1728
|
},
|
|
1729
1729
|
{
|
|
1730
1730
|
onSuccess: () => {
|
|
@@ -1733,11 +1733,11 @@ function Ks() {
|
|
|
1733
1733
|
Mr,
|
|
1734
1734
|
k.getState().semanticExecutionPayload
|
|
1735
1735
|
)
|
|
1736
|
-
), H(!1), Ie(!1), _ && (
|
|
1736
|
+
), H(!1), Ie(!1), _ && (Le(), le(), re && oe && Fe()), Oe("close");
|
|
1737
1737
|
},
|
|
1738
|
-
onError: (
|
|
1738
|
+
onError: (Lr) => {
|
|
1739
1739
|
Ve(!1), K("Failed to save dashboard. Please try again.");
|
|
1740
|
-
const Re =
|
|
1740
|
+
const Re = Lr.details, Pr = Array.isArray(
|
|
1741
1741
|
Re == null ? void 0 : Re.errors
|
|
1742
1742
|
) ? (Re.errors || []).filter(
|
|
1743
1743
|
(_r) => typeof _r == "string"
|
|
@@ -1865,7 +1865,7 @@ function Ks() {
|
|
|
1865
1865
|
{
|
|
1866
1866
|
align: "end",
|
|
1867
1867
|
className: "z-[60] w-48 rounded-[6px] border-border/60 p-1 shadow-sm",
|
|
1868
|
-
children: /* @__PURE__ */ o(
|
|
1868
|
+
children: /* @__PURE__ */ o(O, { onClick: () => ut(!0), children: [
|
|
1869
1869
|
/* @__PURE__ */ e(ae, { className: "h-3.5 w-3.5" }),
|
|
1870
1870
|
"From library..."
|
|
1871
1871
|
] })
|
|
@@ -1988,7 +1988,7 @@ function Ks() {
|
|
|
1988
1988
|
/* @__PURE__ */ e(ys, {}),
|
|
1989
1989
|
_e.available && Ar && /* @__PURE__ */ o(U, { children: [
|
|
1990
1990
|
/* @__PURE__ */ o(
|
|
1991
|
-
|
|
1991
|
+
O,
|
|
1992
1992
|
{
|
|
1993
1993
|
disabled: _e.disabled,
|
|
1994
1994
|
onSelect: _e.toggle,
|
|
@@ -2003,9 +2003,9 @@ function Ks() {
|
|
|
2003
2003
|
] }),
|
|
2004
2004
|
/* @__PURE__ */ e(Ue, { children: "Reports & briefings" }),
|
|
2005
2005
|
/* @__PURE__ */ o(
|
|
2006
|
-
|
|
2006
|
+
O,
|
|
2007
2007
|
{
|
|
2008
|
-
disabled:
|
|
2008
|
+
disabled: L,
|
|
2009
2009
|
onSelect: () => B(!0),
|
|
2010
2010
|
children: [
|
|
2011
2011
|
/* @__PURE__ */ e(Sa, { className: "h-3.5 w-3.5" }),
|
|
@@ -2023,7 +2023,7 @@ function Ks() {
|
|
|
2023
2023
|
}
|
|
2024
2024
|
),
|
|
2025
2025
|
C && /* @__PURE__ */ o(
|
|
2026
|
-
|
|
2026
|
+
O,
|
|
2027
2027
|
{
|
|
2028
2028
|
onSelect: () => ke(!0),
|
|
2029
2029
|
children: [
|
|
@@ -2035,12 +2035,12 @@ function Ks() {
|
|
|
2035
2035
|
/* @__PURE__ */ e(he, {}),
|
|
2036
2036
|
(Q.showDashboardSharing || Q.showGroupManagement) && /* @__PURE__ */ o(U, { children: [
|
|
2037
2037
|
/* @__PURE__ */ e(Ue, { children: "Access" }),
|
|
2038
|
-
Q.showDashboardSharing && /* @__PURE__ */ o(
|
|
2038
|
+
Q.showDashboardSharing && /* @__PURE__ */ o(O, { onSelect: () => X(!0), children: [
|
|
2039
2039
|
/* @__PURE__ */ e(Da, { className: "h-3.5 w-3.5" }),
|
|
2040
2040
|
"Share"
|
|
2041
2041
|
] }),
|
|
2042
2042
|
Q.showGroupManagement && /* @__PURE__ */ o(
|
|
2043
|
-
|
|
2043
|
+
O,
|
|
2044
2044
|
{
|
|
2045
2045
|
onClick: () => ee(!0),
|
|
2046
2046
|
children: [
|
|
@@ -2052,7 +2052,7 @@ function Ks() {
|
|
|
2052
2052
|
/* @__PURE__ */ e(he, {})
|
|
2053
2053
|
] }),
|
|
2054
2054
|
/* @__PURE__ */ e(Ue, { children: "Preferences" }),
|
|
2055
|
-
/* @__PURE__ */ o(
|
|
2055
|
+
/* @__PURE__ */ o(O, { onClick: () => Ne(!0), children: [
|
|
2056
2056
|
/* @__PURE__ */ e(Gt, { className: "h-3.5 w-3.5" }),
|
|
2057
2057
|
"Report preferences"
|
|
2058
2058
|
] }),
|
|
@@ -2060,7 +2060,7 @@ function Ks() {
|
|
|
2060
2060
|
/* @__PURE__ */ e(he, {}),
|
|
2061
2061
|
/* @__PURE__ */ e(Ue, { children: "Developer" }),
|
|
2062
2062
|
/* @__PURE__ */ o(
|
|
2063
|
-
|
|
2063
|
+
O,
|
|
2064
2064
|
{
|
|
2065
2065
|
onSelect: () => {
|
|
2066
2066
|
var d;
|
|
@@ -2075,7 +2075,7 @@ function Ks() {
|
|
|
2075
2075
|
}
|
|
2076
2076
|
),
|
|
2077
2077
|
F && /* @__PURE__ */ o(
|
|
2078
|
-
|
|
2078
|
+
O,
|
|
2079
2079
|
{
|
|
2080
2080
|
disabled: !qe,
|
|
2081
2081
|
onSelect: () => {
|
|
@@ -2103,21 +2103,21 @@ function Ks() {
|
|
|
2103
2103
|
}
|
|
2104
2104
|
),
|
|
2105
2105
|
/* @__PURE__ */ o(
|
|
2106
|
-
|
|
2106
|
+
O,
|
|
2107
2107
|
{
|
|
2108
2108
|
onSelect: () => mn(n.apiServiceUrl),
|
|
2109
2109
|
children: [
|
|
2110
|
-
/* @__PURE__ */ e(
|
|
2110
|
+
/* @__PURE__ */ e(On, { className: "h-3.5 w-3.5" }),
|
|
2111
2111
|
"Invalidate token"
|
|
2112
2112
|
]
|
|
2113
2113
|
}
|
|
2114
2114
|
),
|
|
2115
|
-
/* @__PURE__ */ o(
|
|
2115
|
+
/* @__PURE__ */ o(O, { onSelect: l, children: [
|
|
2116
2116
|
/* @__PURE__ */ e(An, { className: "h-3.5 w-3.5" }),
|
|
2117
2117
|
"Brand Studio"
|
|
2118
2118
|
] }),
|
|
2119
2119
|
C && /* @__PURE__ */ o(
|
|
2120
|
-
|
|
2120
|
+
O,
|
|
2121
2121
|
{
|
|
2122
2122
|
onSelect: () => pt(!mt),
|
|
2123
2123
|
children: [
|
|
@@ -2190,8 +2190,8 @@ function Ks() {
|
|
|
2190
2190
|
},
|
|
2191
2191
|
children: /* @__PURE__ */ o(Ia, { className: "max-w-sm", children: [
|
|
2192
2192
|
/* @__PURE__ */ o(Ma, { children: [
|
|
2193
|
-
/* @__PURE__ */ e(
|
|
2194
|
-
/* @__PURE__ */ e(
|
|
2193
|
+
/* @__PURE__ */ e(Oa, { children: z ? "Save failed" : "Saving dashboard" }),
|
|
2194
|
+
/* @__PURE__ */ e(La, { className: "pt-2", children: z ? "We could not save the dashboard. Please try again." : "Please wait while we save your changes." }),
|
|
2195
2195
|
se.length > 0 && /* @__PURE__ */ o("div", { className: "space-y-1 rounded-md border border-destructive/20 bg-destructive/5 p-3 text-left", children: [
|
|
2196
2196
|
/* @__PURE__ */ e("div", { className: "text-sm font-medium text-destructive", children: "What needs attention" }),
|
|
2197
2197
|
/* @__PURE__ */ e("ul", { className: "list-disc space-y-1 pl-4 text-xs text-muted-foreground", children: se.slice(0, 5).map((d) => /* @__PURE__ */ e("li", { children: d }, d)) })
|
|
@@ -2248,7 +2248,7 @@ function Ks() {
|
|
|
2248
2248
|
function ys() {
|
|
2249
2249
|
const t = vn();
|
|
2250
2250
|
return t.length === 0 ? null : /* @__PURE__ */ o(U, { children: [
|
|
2251
|
-
t.map((n) => /* @__PURE__ */ o(
|
|
2251
|
+
t.map((n) => /* @__PURE__ */ o(O, { onSelect: n.onSelect, children: [
|
|
2252
2252
|
n.icon,
|
|
2253
2253
|
/* @__PURE__ */ e("span", { className: "flex-1", children: n.label }),
|
|
2254
2254
|
n.hint && /* @__PURE__ */ e("span", { className: "text-[11px] text-muted-foreground", children: n.hint }),
|
|
@@ -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-CFeCIuaw.js";
|
|
4
4
|
import { B as S, X as N, C as D } from "./switch-BW4yXSYs.js";
|
|
5
5
|
import "./index-CuHybtft.js";
|
|
6
6
|
import "./validators-BIM0FE31.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as D, b as F, r as b, g as f, a as g } from "./global-date-filter-utils-
|
|
2
|
-
import { g as h } from "./filter-reach-copy-
|
|
1
|
+
import { h as D, b as F, r as b, g as f, a as g } from "./global-date-filter-utils-ruJYwjgZ.js";
|
|
2
|
+
import { g as h } from "./filter-reach-copy-Cmb05jlE.js";
|
|
3
3
|
import "./validators-BIM0FE31.js";
|
|
4
4
|
import "./matrix-operation-contract-DsLdFdSa.js";
|
|
5
5
|
import "./analytics-base-schemas-BaIQrEzX.js";
|
|
@@ -7,10 +7,10 @@ import "zod";
|
|
|
7
7
|
import "./temporal-input-presentation-sk9gqLi6.js";
|
|
8
8
|
import "../value-format-preferences/index.js";
|
|
9
9
|
import { z as y } from "./bookmark-state-CWeoGbrx.js";
|
|
10
|
-
import "./index-
|
|
10
|
+
import "./index-RNaTnE3m.js";
|
|
11
11
|
import "./context-R31TSL5V.js";
|
|
12
|
-
import { p as C, r as N } from "./resolve-dashboard-input-context-
|
|
13
|
-
import { f as q } from "./saved-dashboard-context-
|
|
12
|
+
import { p as C, r as N } from "./resolve-dashboard-input-context-i_jCSYae.js";
|
|
13
|
+
import { f as q } from "./saved-dashboard-context-Dg3oDmH_.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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n, Fragment as me } from "react/jsx-runtime";
|
|
2
2
|
import * as rn from "react";
|
|
3
3
|
import sn, { useState as H, useEffect as Ce, useMemo as Z, useRef as Le, useCallback as lt, useId as Pa, useContext as Ir, Suspense as Dc } from "react";
|
|
4
|
-
import { F as Mc, P as Fc, a as Ic, b as _l, u as it, S as Qs, c as Js, r as Yl, E as Ec, T as Ac, A as Rc, d as Oc, e as ln, f as Pc, g as Lc, h as _c } from "./shelf-drop-preview-context-
|
|
4
|
+
import { F as Mc, P as Fc, a as Ic, b as _l, u as it, S as Qs, c as Js, r as Yl, E as Ec, T as Ac, A as Rc, d as Oc, e as ln, f as Pc, g as Lc, h as _c } from "./shelf-drop-preview-context-cEyVkKTF.js";
|
|
5
5
|
import "./index-CuHybtft.js";
|
|
6
6
|
import { H as Vl, a3 as Yc, R as Ws, t as on, u as Bl } from "./validators-BIM0FE31.js";
|
|
7
7
|
import "./matrix-operation-contract-DsLdFdSa.js";
|
|
@@ -9,25 +9,25 @@ import { y as Vc } from "./analytics-base-schemas-BaIQrEzX.js";
|
|
|
9
9
|
import "zod";
|
|
10
10
|
import { DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as xa } from "../value-format-preferences/index.js";
|
|
11
11
|
import { c as G } from "./_commonjsHelpers-DimLPMtv.js";
|
|
12
|
-
import {
|
|
12
|
+
import { dQ as $l, dR as La, dh as _a, dG as Er, dS as ja, dT as Ya, dU as Bc, a7 as Ne, dV as $c, bK as qt, bL as jt, bM as ea, bN as zt, bO as Ut, bI as Va, aO as Ct, aP as Ft, dW as He, bJ as dt, dX as Kl, dY as en, a$ as xt, aR as St, dj as ql, dZ as wa, aS as za, a6 as R, b4 as pt, d_ as jl, b8 as Yt, u as xe, c8 as Ar, d$ as Kc, e0 as zl, bD as Rr, e1 as qc, e2 as jc, e3 as zc, c9 as Hl, e4 as Hc, e5 as vn, dM as Ul, e6 as Uc, dn as Gl, e7 as Gc, cv as Or, dK as Qc, cx as Jc, cy as Wc, cz as Zc, cA as Xc, cB as ed, cC as td, cD as ad, cE as nd, b5 as Pr, b2 as aa, e8 as Ql, ch as cn, e9 as Jl, b3 as jn, bE as yn, bc as Wl, ea as Lr, bS as Nn, bZ as rd, cU as sd, eb as fr, aW as na, aX as ra, aY as sa, b0 as ld, cX as _r, ec as Yr, ed as Cn, ee as Zl, dy as Xl, ef as od, eg as id, eh as $t, ei as cd, ej as dd, ek as ud, el as md, em as eo, L as to, M as hd, da as pd, en as fd, dD as gd, eo as Vr, E as wn, e as Br, ep as ao, eq as xd, er as Zs, es as bd, et as no, eu as vd, ev as yd, ew as Nd, ex as Cd, ey as wd, ez as Sd, eA as dn, eB as kd, eC as Td, eD as ro, eE as so, eF as Dd, eG as Md, cQ as Fd, eH as Id, eI as lo, eJ as Ed, dA as Ad, cR as Sn, eK as kn, cj as $r, ck as Kr, cl as qr, eL as Rd, eM as Od, eN as ba, eO as Ba, eP as $a, eQ as Ka, b1 as Pd, eR as Ld, eS as _d, eT as Yd, eU as Vd, eV as Xs, eW as Bd, eX as oo, eY as io, b7 as co, b9 as $d, be as Kd, bf as qd, ba as jd, bb as zd, eZ as Hd, e_ as Ud, e$ as Gd, f0 as Qd, f1 as el, bh as Jd, bi as Wd, f2 as uo, f3 as ua, f4 as ma, f5 as ha, df as va, co as mo, c6 as Lt, cq as tl, cr as al, cs as gr, f6 as ho, f7 as Zd, f8 as Xd, f9 as eu, fa as tu, fb as Tn, fc as Be, fd as $e, fe as Ke, dH as au, dI as nu, ff as po, fg as fo, fh as ru, fi as jr, fj as zr, fk as su, fl as go, fm as lu, fn as ou, fo as xr, fp as iu, fq as cu, fr as du, fs as uu, ft as mu, fu as hu, fv as Wt, fw as Ma, fx as pu, fy as nl, fz as fu, fA as gu, fB as zn, fC as rl, fD as xu, fE as bu, bF as Hr, bG as qa, fF as Hn, fG as xo, fH as vu, fI as yu, fJ as Nu, fK as Cu, fL as bo, fM as vo, fN as wu, fO as Su, fP as yo, fQ as ku, fR as Tu, fS as No, dB as Du, dC as Mu, cS as Fu, dE as Iu, fT as Eu, fU as Co, dg as Ur, fV as wo, fW as Au, fX as So, fY as ko, fZ as Ru, f_ as Ou, f$ as Pu, g0 as Lu, g1 as _u, g2 as Gr, g3 as To, g4 as Do, g5 as tn, g6 as Mo, g7 as Fo, g8 as sl, g9 as Yu, ga as Vu, gb as Bu, dO as $u, gc as Ku, gd as ll, ge as Io, gf as qu, bH as ju, gg as zu, gh as Hu, gi as pa, gj as Eo, gk as Uu, gl as Gu, gm as Qu, gn as Ju, go as Wu, gp as un, gq as Xt, gr as br, gs as vr, gt as mn, gu as Ao, gv as Ro, gw as Oo, bj as Zu, gx as ol, dq as Xu, gy as em, dr as tm, dt as am, du as nm, i as rm, gz as sm, gA as lm, gB as om, gC as im, gD as cm, gE as dm, gF as um, a4 as mm, dN as hm, F as pm, gG as fm, bu as gm } from "./semaphor-ready-indicator-CFeCIuaw.js";
|
|
13
13
|
import { c as je, B as W, l as Po, g as Dn, m as Y, s as X, t as ee, u as te, v as ae, w as z, y as Et, X as qe, q as ut, n as gt, o as mt, p as ht, r as De, k as Qr, a4 as xm, P as bt, a as kt, b as vt, a3 as bm, L as Sa, C as ta, T as Gt, e as Qt, f as nt, h as It, d as la, I as ya, a5 as vm, a6 as ym, S as hn, a7 as yr, a8 as Lo, x as Te, R as il, j as _o, a9 as Nm } from "./switch-BW4yXSYs.js";
|
|
14
14
|
import { U as Yo } from "./upload-BnmuyPqW.js";
|
|
15
|
-
import {
|
|
15
|
+
import { gu as Cm, d6 as wm, gv as Sm, gw as Jr, gx as Na, gy as Vo, gz as km, gA as cl, gB as Tm, gC as Dm, gD as dl, Y as oa, cj as Bo, Z as ia, $ as Ha, eH as Kt, eI as fa, br as Mm, ec as Fm, eX as Ua, i as Im, b9 as Em, eS as Wr, eO as $o, n as Am, gE as Rm, gF as Om, gG as Pm, eR as Ht, fw as Lm, fv as _m, gH as Ym, gI as Ko, w as Vm, cz as Bm, gJ as qo, eT as $m, cX as Km, cV as Un, gK as qm, gL as jm, gM as zm, gN as Hm, eK as Um, _ as jo, eL as Gm, gO as Nr, gP as Qm, gQ as Jm, gR as Wm, gS as Zr, k as Zm, e1 as Xr, aA as Xm, ad as Cr, ei as eh, f0 as th, bF as zo, bI as ah, be as nh, bH as wr, bJ as an, cC as Ho, gT as rh, bd as sh, bj as lh, gU as oh, gV as ih, el as ch, gW as dh, ek as Uo, gX as uh, gY as mh, gZ as hh, g_ as wt, g$ as ph, h0 as fh, h1 as gh, h2 as xh, h3 as bh, h4 as vh, h5 as ul, h6 as ml, h7 as yh, g as Ca, h8 as Nh, h9 as Ch, ha as wh, hb as hl, hc as Sh, hd as kh, b5 as Th, eu as Dh, eA as Mh, af as Fh, f4 as Ih, he as Go, fK as Eh, hf as Ah, bK as Rh, hg as Oh, hh as Ph, fH as Gn, hi as Lh, hj as _h, hk as Yh, hl as Qo, hm as es, a as pn, eQ as Vh } from "./global-date-filter-utils-ruJYwjgZ.js";
|
|
16
16
|
import { D as Bh } from "./token-types-BUK06hU2.js";
|
|
17
|
-
import { b as $h, F as Kh, V as Jo, I as ot, u as qh, C as jh } from "./use-create-flow-overlay-state-
|
|
17
|
+
import { b as $h, F as Kh, V as Jo, I as ot, u as qh, C as jh } from "./use-create-flow-overlay-state-Dl6DCxh8.js";
|
|
18
18
|
import { aw as zh, av as Mn, au as ts, j as Hh, P as Uh, aA as Wo } from "./temporal-input-presentation-sk9gqLi6.js";
|
|
19
|
-
import { N as as, k as Gh, K as ga, L as Qh, M as Zo, O as Xo, P as ns, Q as rs, S as Jh } from "./filter-reach-copy-
|
|
19
|
+
import { N as as, k as Gh, K as ga, L as Qh, M as Zo, O as Xo, P as ns, Q as rs, S as Jh } from "./filter-reach-copy-Cmb05jlE.js";
|
|
20
20
|
import "./bookmark-state-CWeoGbrx.js";
|
|
21
|
-
import { i as ei } from "./index-
|
|
21
|
+
import { i as ei } from "./index-RNaTnE3m.js";
|
|
22
22
|
import "./context-R31TSL5V.js";
|
|
23
|
-
import { at as Wh, Z as Zh, au as Xh, av as ep, aw as tp, ax as ap, ay as np, e as rp, az as sp, al as ti, aA as lp, am as ai, aB as op, ag as ip, J as cp, aC as dp, aD as up, aE as mp, aF as hp, aG as pp, W as fp } from "./resolve-dashboard-input-context-
|
|
23
|
+
import { at as Wh, Z as Zh, au as Xh, av as ep, aw as tp, ax as ap, ay as np, e as rp, az as sp, al as ti, aA as lp, am as ai, aB as op, ag as ip, J as cp, aC as dp, aD as up, aE as mp, aF as hp, aG as pp, W as fp } from "./resolve-dashboard-input-context-i_jCSYae.js";
|
|
24
24
|
import "react-dom";
|
|
25
25
|
import { L as pl } from "./list-filter-BoeLBfL3.js";
|
|
26
26
|
import { r as gp } from "./export-file-format-C-tJsxsf.js";
|
|
27
27
|
import { u as xp } from "./appearance-context-DEYtWinQ.js";
|
|
28
28
|
import { D as bp } from "./metric-comparison-Bnso1cm1.js";
|
|
29
29
|
import { P as vp } from "./palette-p1XSJFgB.js";
|
|
30
|
-
import { r as yp } from "./dates-
|
|
30
|
+
import { r as yp } from "./dates-EvDtT25n.js";
|
|
31
31
|
/**
|
|
32
32
|
* @license lucide-react v0.453.0 - ISC
|
|
33
33
|
*
|