@burdenoff/microfe-bigconsole 2026.1124.1 → 2026.1124.3
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/bigconsole/components/fleet/FleetChildrenPanel.d.ts +12 -0
- package/dist/bigconsole/components/fleet/FleetChildrenPanel.js +179 -184
- package/dist/bigconsole/components/fleet/FleetCopySection.d.ts +18 -0
- package/dist/bigconsole/components/fleet/FleetCopySection.js +263 -0
- package/dist/bigconsole/components/fleet/FleetWidgetActions.d.ts +36 -0
- package/dist/bigconsole/components/fleet/FleetWidgetActions.js +82 -0
- package/dist/bigconsole/components/widgets/WidgetMenu.js +146 -96
- package/dist/bigconsole/hooks/useFleetBreadcrumb.d.ts +8 -1
- package/dist/bigconsole/hooks/useFleetBreadcrumb.js +4 -1
- package/dist/bigconsole/hooks/useFleetChildren.d.ts +2 -0
- package/dist/bigconsole/hooks/useFleetChildren.js +10 -6
- package/dist/bigconsole/hooks/useFleetConfirm.d.ts +7 -0
- package/dist/bigconsole/hooks/useFleetConfirm.js +17 -0
- package/dist/bigconsole/hooks/useFleetCopyActions.d.ts +23 -0
- package/dist/bigconsole/hooks/useFleetCopyActions.js +74 -0
- package/dist/bigconsole/hooks/useFleetFlags.d.ts +16 -0
- package/dist/bigconsole/hooks/useFleetFlags.js +79 -0
- package/dist/bigconsole/hooks/useFleetWidgetActions.d.ts +10 -0
- package/dist/bigconsole/hooks/useFleetWidgetActions.js +41 -0
- package/dist/bigconsole/hooks/useOwnerBoundRun.d.ts +28 -0
- package/dist/bigconsole/hooks/useOwnerBoundRun.js +56 -0
- package/dist/bigconsole/hooks/useWidgetOperations.js +2 -0
- package/dist/bigconsole/pages/DashboardViewPage.js +335 -320
- package/dist/bigconsole/pages/DashboardsPage.js +13 -13
- package/dist/bigconsole/types/index.d.ts +4 -0
- package/dist/bigconsole/utils/fleetFlags.d.ts +22 -0
- package/dist/bigconsole/utils/fleetFlags.js +40 -0
- package/dist/bigconsole/utils/fleetNotices.d.ts +12 -0
- package/dist/bigconsole/utils/fleetNotices.js +5 -0
- package/dist/bigconsole/utils/fleetTree.d.ts +9 -0
- package/dist/bigconsole/utils/fleetTree.js +5 -1
- package/dist/bigconsole/utils/fleetWidgetMenu.d.ts +20 -0
- package/dist/bigconsole/utils/fleetWidgetMenu.js +13 -0
- package/dist/generated/wspace-operations.d.ts +155 -0
- package/dist/generated/wspace-operations.js +928 -99
- package/dist/generated/wspace-types.d.ts +395 -9
- package/dist/generated/wspace-types.js +6 -4
- package/package.json +1 -1
|
@@ -11,55 +11,58 @@ import te from "../hooks/useDashboardOperations.js";
|
|
|
11
11
|
import { FleetBreadcrumb as ne } from "../components/fleet/FleetBreadcrumb.js";
|
|
12
12
|
import { FleetChildrenPanel as re } from "../components/fleet/FleetChildrenPanel.js";
|
|
13
13
|
import ie from "../hooks/usePageOperations.js";
|
|
14
|
+
import { FleetWidgetActionsProvider as ae } from "../components/fleet/FleetWidgetActions.js";
|
|
15
|
+
import { AsOfProvider as c, HideWhenAsOf as l, useAsOf as oe } from "../asof/AsOfProvider.js";
|
|
16
|
+
import { useActionLock as se } from "../hooks/useOwnerBoundRun.js";
|
|
17
|
+
import { directMasterName as u } from "../utils/fleetTree.js";
|
|
14
18
|
import "../components/dashboard/index.js";
|
|
15
|
-
import {
|
|
16
|
-
import { useReconcileAgentTool as u } from "../components/reconcile/useReconcileAgentTool.js";
|
|
19
|
+
import { useReconcileAgentTool as d } from "../components/reconcile/useReconcileAgentTool.js";
|
|
17
20
|
import "../components/common/index.js";
|
|
18
21
|
import "../components/narrative/index.js";
|
|
22
|
+
import { DashboardCanvas as ce } from "../components/dashboard/DashboardCanvas.js";
|
|
19
23
|
import "../store/index.js";
|
|
20
|
-
import {
|
|
24
|
+
import { LiveCanvasToggle as le } from "../components/dashboard/LiveCanvasToggle.js";
|
|
25
|
+
import { ExportDashboardDialog as ue } from "../components/dashboard/ExportDashboardDialog.js";
|
|
26
|
+
import { DrilldownBreadcrumb as de } from "../components/dashboard/DrilldownBreadcrumb.js";
|
|
27
|
+
import { PublishToStoreDialog as fe } from "../components/dashboard/PublishToStoreDialog.js";
|
|
28
|
+
import { DashboardReviewDialog as pe } from "../components/dashboard/DashboardReviewDialog.js";
|
|
29
|
+
import { DashboardPresenceBar as me } from "../components/dashboard/DashboardPresenceBar.js";
|
|
30
|
+
import { DashboardCommentsDrawer as he } from "../components/dashboard/DashboardCommentsDrawer.js";
|
|
21
31
|
import "../hooks/index.js";
|
|
22
|
-
import {
|
|
23
|
-
import
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import { usePermissions as je } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
42
|
-
import { ArrowLeft as Me, MessageSquare as Ne, Network as Pe, Sparkles as Fe } from "lucide-react";
|
|
43
|
-
import { Button as h, IllustratedEmptyState as Ie } from "@burdenoff/fe-libs/ui";
|
|
44
|
-
import { useI18n as Le } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
45
|
-
import { useApolloClient as Re } from "@apollo/client/react";
|
|
46
|
-
import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
47
|
-
import { useAssistantPageControls as ze } from "@burdenoff/fe-libs/shared/assistant/appControls/useAssistantControl";
|
|
32
|
+
import ge, { parseUrlToGlobalFilterValues as _e } from "../hooks/useFilterUrlSync.js";
|
|
33
|
+
import ve from "../hooks/useActivePage.js";
|
|
34
|
+
import { dashboardPageTabs as ye } from "../assistant/pageControls.js";
|
|
35
|
+
import { loadBigConsoleSettings as be } from "../hooks/useBigConsoleSettings.js";
|
|
36
|
+
import { LIVE_STRUCTURE_POLL_MS as xe, isLiveDataRefreshDue as Se } from "../utils/liveBoardRefresh.js";
|
|
37
|
+
import { registerBreadcrumbName as Ce, unregisterBreadcrumbName as we } from "../utils/breadcrumbRegistry.js";
|
|
38
|
+
import { DigestPanel as Te } from "../components/narrative/DigestPanel.js";
|
|
39
|
+
import { GetWidgetDocument as Ee } from "../../generated/wspace-operations.js";
|
|
40
|
+
import { dashboardSuggestAnchorProps as De } from "../proactive/entities.js";
|
|
41
|
+
import { memo as f, useCallback as p, useEffect as m, useMemo as Oe, useRef as ke, useState as h } from "react";
|
|
42
|
+
import { useLocation as Ae, useParams as je } from "react-router";
|
|
43
|
+
import { AccessDenied as Me } from "@burdenoff/fe-libs/shared/components";
|
|
44
|
+
import { usePermissions as Ne } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
45
|
+
import { ArrowLeft as Pe, MessageSquare as Fe, Network as Ie, Sparkles as Le } from "lucide-react";
|
|
46
|
+
import { Button as g, IllustratedEmptyState as Re } from "@burdenoff/fe-libs/ui";
|
|
47
|
+
import { useI18n as ze } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
48
|
+
import { useApolloClient as Be } from "@apollo/client/react";
|
|
49
|
+
import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
50
|
+
import { useAssistantPageControls as Ve } from "@burdenoff/fe-libs/shared/assistant/appControls/useAssistantControl";
|
|
48
51
|
// src/bigconsole/pages/DashboardViewPage.tsx
|
|
49
|
-
var
|
|
50
|
-
let { dashboardId: r } =
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
var b = f(function() {
|
|
53
|
+
let { dashboardId: r } = je(), c = a(), d = i(), { t: f } = ze(), b = oe().asOf !== null, x = Be(), { hasPermission: S, isLoading: C } = Ne(), w = S(n.DASHBOARD_READ), T = S(n.DASHBOARD_UPDATE), Ue = S(n.DASHBOARD_EXPORT), We = S(n.DASHBOARD_PUBLISH), [Ge, E] = h(!1), [D, O] = h(!1), [Ke, k] = h(!1), [A, qe] = h(!1), [Je, Ye] = h(!1), [Xe, Ze] = h(!1), Qe = se(), [$e, et] = h(0), tt = p(() => et((e) => e + 1), []), [j, nt] = h(!1), { isInDrilldown: M, getContextFromUrl: rt, getDrilldownMetadata: it } = ge(), N = t((e) => e.currentDashboard), P = t((e) => e.setCurrentDashboard), F = t((e) => e.setGlobalFilterValue), at = t((e) => e.viewMode), ot = t((e) => e.setViewMode);
|
|
54
|
+
m(() => {
|
|
55
|
+
b && at === "edit" && ot("view");
|
|
53
56
|
}, [
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
+
b,
|
|
58
|
+
at,
|
|
59
|
+
ot
|
|
57
60
|
]);
|
|
58
|
-
let
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}, [
|
|
62
|
-
let
|
|
61
|
+
let st = e((e) => e.closeConfigPanel);
|
|
62
|
+
m(() => {
|
|
63
|
+
b && st();
|
|
64
|
+
}, [b, st]);
|
|
65
|
+
let ct = t((e) => e.clearAllGlobalFilters), lt = t((e) => e.setGlobalFilterValues), I = e((e) => e.widgets), ut = Ae(), { activePageId: L, setActivePage: R } = ve(N?.id === r ? N?.pages : void 0), z = e((e) => e.clipboardWidgetId), B = e((e) => e.clipboardAction), V = e((e) => e.clearClipboard), H = e((e) => e.selectWidget), { loading: U, error: W, fetchDashboard: G, updateDashboard: dt } = te(), { createWidget: ft, deleteWidget: pt, duplicateWidget: mt, batchUpdatePositions: ht, refetch: K } = ee(L || void 0, r), { createPage: gt, updatePage: _t, deletePage: vt, duplicatePage: yt, reorderPages: bt } = ie(), xt = p((e) => {
|
|
63
66
|
let t = e?.parentElement;
|
|
64
67
|
if (!e || !t) return;
|
|
65
68
|
let n = t;
|
|
@@ -78,100 +81,100 @@ var y = d(function() {
|
|
|
78
81
|
a.disconnect(), s.disconnect();
|
|
79
82
|
};
|
|
80
83
|
}, []);
|
|
81
|
-
|
|
84
|
+
m(() => {
|
|
82
85
|
if (!r) c("/dashboards");
|
|
83
|
-
else return
|
|
84
|
-
e ||
|
|
86
|
+
else return lt(_e(window.location.search, "filter_")), O(!1), G(r).then((e) => {
|
|
87
|
+
e || O(!0);
|
|
85
88
|
}), () => {
|
|
86
|
-
|
|
89
|
+
P(null), ct(), O(!1);
|
|
87
90
|
};
|
|
88
91
|
}, [
|
|
89
92
|
r,
|
|
90
93
|
c,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
]),
|
|
96
|
-
if (!
|
|
97
|
-
let e =
|
|
94
|
+
G,
|
|
95
|
+
P,
|
|
96
|
+
ct,
|
|
97
|
+
lt
|
|
98
|
+
]), m(() => {
|
|
99
|
+
if (!M) return;
|
|
100
|
+
let e = rt(), t = it();
|
|
98
101
|
Object.entries(e).forEach(([e, t]) => {
|
|
99
|
-
|
|
100
|
-
}), t.depth > 0 && (
|
|
102
|
+
F(`ctx_${e}`, t);
|
|
103
|
+
}), t.depth > 0 && (F("__drilldown_depth", t.depth), F("__drilldown_parent", t.parent), F("__drilldown_path", t.path)), Object.keys(e).length;
|
|
101
104
|
}, [
|
|
105
|
+
M,
|
|
106
|
+
rt,
|
|
107
|
+
it,
|
|
102
108
|
F,
|
|
103
|
-
|
|
104
|
-
Je,
|
|
105
|
-
R,
|
|
106
|
-
et.search
|
|
109
|
+
ut.search
|
|
107
110
|
]);
|
|
108
|
-
let
|
|
109
|
-
|
|
110
|
-
if (!
|
|
111
|
+
let St = ke(K);
|
|
112
|
+
St.current = K, m(() => {
|
|
113
|
+
if (!A || !r || b) return;
|
|
111
114
|
let e = null, n = () => {
|
|
112
115
|
if (typeof document < "u" && document.visibilityState !== "visible" || t.getState().viewMode === "edit") return;
|
|
113
|
-
|
|
116
|
+
G(r, { silent: !0 }), St.current();
|
|
114
117
|
let n = Date.now();
|
|
115
|
-
|
|
118
|
+
Se(e, n) && (e = n, x.refetchQueries({ include: [Ee] }).catch((e) => {
|
|
116
119
|
console.warn("[DashboardViewPage] Live widget data refresh failed", e);
|
|
117
120
|
}));
|
|
118
121
|
};
|
|
119
122
|
n();
|
|
120
|
-
let i = window.setInterval(n,
|
|
123
|
+
let i = window.setInterval(n, xe), a = () => {
|
|
121
124
|
document.visibilityState === "visible" && (e = null, n());
|
|
122
125
|
};
|
|
123
126
|
return document.addEventListener("visibilitychange", a), () => {
|
|
124
127
|
window.clearInterval(i), document.removeEventListener("visibilitychange", a);
|
|
125
128
|
};
|
|
126
129
|
}, [
|
|
127
|
-
|
|
130
|
+
A,
|
|
128
131
|
r,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
b,
|
|
133
|
+
G,
|
|
134
|
+
x
|
|
132
135
|
]);
|
|
133
|
-
let
|
|
134
|
-
if (r && !
|
|
135
|
-
|
|
136
|
+
let Ct = p(async () => {
|
|
137
|
+
if (r && !b) {
|
|
138
|
+
E(!0);
|
|
136
139
|
try {
|
|
137
|
-
let e = Array.from(
|
|
140
|
+
let e = Array.from(I.values());
|
|
138
141
|
if (e.length > 0) {
|
|
139
142
|
let t = e.map((e) => ({
|
|
140
143
|
id: e.id,
|
|
141
144
|
position: e.position
|
|
142
145
|
}));
|
|
143
|
-
await
|
|
146
|
+
await ht(t);
|
|
144
147
|
}
|
|
145
|
-
|
|
148
|
+
N && await dt({
|
|
146
149
|
id: r,
|
|
147
|
-
name:
|
|
148
|
-
description:
|
|
150
|
+
name: N.name,
|
|
151
|
+
description: N.description
|
|
149
152
|
});
|
|
150
153
|
} catch {} finally {
|
|
151
|
-
|
|
154
|
+
E(!1);
|
|
152
155
|
}
|
|
153
156
|
}
|
|
154
157
|
}, [
|
|
155
158
|
r,
|
|
156
|
-
|
|
157
|
-
z,
|
|
159
|
+
b,
|
|
158
160
|
I,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
161
|
+
N,
|
|
162
|
+
ht,
|
|
163
|
+
dt
|
|
164
|
+
]), wt = p(() => {
|
|
162
165
|
c("/dashboards");
|
|
163
|
-
}, [c]),
|
|
164
|
-
|
|
165
|
-
}, [
|
|
166
|
+
}, [c]), { ancestors: q, directMasterId: J } = s(b ? void 0 : r), Tt = p((e) => c(`/dashboards/${e}`), [c]), Y = p((e) => {
|
|
167
|
+
R(e);
|
|
168
|
+
}, [R]), X = Oe(() => (N?.pages || []).map((e, t) => ({
|
|
166
169
|
id: e.id,
|
|
167
|
-
name: e.name ||
|
|
170
|
+
name: e.name || f("bigconsole.dashboards.view.pageName", "Page {{count}}", { count: t + 1 }),
|
|
168
171
|
order: e.order ?? 0
|
|
169
|
-
})), [
|
|
170
|
-
|
|
171
|
-
if (r && Z) return
|
|
172
|
+
})), [N?.pages, f]), Z = N && N.id === r ? N.name : null, Q = L || N?.pages?.[0]?.id || null;
|
|
173
|
+
m(() => {
|
|
174
|
+
if (r && Z) return Ce(r, Z), () => we(r);
|
|
172
175
|
}, [r, Z]);
|
|
173
|
-
let
|
|
174
|
-
dashboardName: Z ||
|
|
176
|
+
let Et = Oe(() => !C && w && !W && !D && !U && Z !== null ? ye({
|
|
177
|
+
dashboardName: Z || f("bigconsole.dashboards.title", "Dashboards"),
|
|
175
178
|
tabs: X.map((e) => ({
|
|
176
179
|
id: e.id,
|
|
177
180
|
label: e.name
|
|
@@ -179,39 +182,39 @@ var y = d(function() {
|
|
|
179
182
|
current: Q,
|
|
180
183
|
select: Y
|
|
181
184
|
}) : null, [
|
|
182
|
-
S,
|
|
183
185
|
C,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
186
|
+
w,
|
|
187
|
+
W,
|
|
188
|
+
D,
|
|
189
|
+
U,
|
|
187
190
|
Z,
|
|
188
191
|
X,
|
|
189
192
|
Q,
|
|
190
193
|
Y,
|
|
191
|
-
|
|
194
|
+
f
|
|
192
195
|
]);
|
|
193
|
-
|
|
194
|
-
let
|
|
195
|
-
let e =
|
|
196
|
-
if (!
|
|
197
|
-
let t =
|
|
196
|
+
Ve(Et);
|
|
197
|
+
let Dt = p(async () => {
|
|
198
|
+
let e = L || N?.pages?.[0]?.id;
|
|
199
|
+
if (!z || !r || !e) return;
|
|
200
|
+
let t = I.get(z);
|
|
198
201
|
if (!t) {
|
|
199
|
-
|
|
202
|
+
V();
|
|
200
203
|
return;
|
|
201
204
|
}
|
|
202
205
|
let n = {
|
|
203
206
|
x: 0,
|
|
204
|
-
y: Array.from(
|
|
207
|
+
y: Array.from(I.values()).reduce((e, t) => {
|
|
205
208
|
let n = (t.positionY ?? 0) + (t.positionHeight ?? 4);
|
|
206
209
|
return Math.max(e, n);
|
|
207
210
|
}, 0),
|
|
208
|
-
width: Math.min(t.positionWidth ?? 4,
|
|
211
|
+
width: Math.min(t.positionWidth ?? 4, N?.pages.find((t) => t.id === e)?.gridColumns ?? 12),
|
|
209
212
|
height: t.positionHeight ?? 4
|
|
210
|
-
}, i =
|
|
213
|
+
}, i = B === "copy" ? f("bigconsole.dashboards.view.widgetCopyTitle", "{{title}} (Copy)", { title: t.title }) : t.title, a = null;
|
|
211
214
|
try {
|
|
212
|
-
a = await
|
|
215
|
+
a = await mt(z, n, i);
|
|
213
216
|
} catch {}
|
|
214
|
-
a ||= await
|
|
217
|
+
a ||= await ft({
|
|
215
218
|
pageId: e,
|
|
216
219
|
dashboardId: r,
|
|
217
220
|
type: t.type,
|
|
@@ -225,354 +228,366 @@ var y = d(function() {
|
|
|
225
228
|
position: n,
|
|
226
229
|
refreshInterval: t.refreshInterval ?? void 0,
|
|
227
230
|
metadata: t.metadata
|
|
228
|
-
}), a && (
|
|
231
|
+
}), a && (H(a.id), B === "cut" && await pt(z)), V();
|
|
229
232
|
}, [
|
|
230
|
-
|
|
231
|
-
U,
|
|
232
|
-
r,
|
|
233
|
+
z,
|
|
233
234
|
B,
|
|
235
|
+
r,
|
|
236
|
+
L,
|
|
237
|
+
N,
|
|
234
238
|
I,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
let e = (I.pages?.length || 0) + 1, t = d("bigconsole.dashboards.view.pageName", "Page {{count}}", { count: e }), n = await st({
|
|
239
|
+
mt,
|
|
240
|
+
ft,
|
|
241
|
+
pt,
|
|
242
|
+
H,
|
|
243
|
+
V,
|
|
244
|
+
f
|
|
245
|
+
]), Ot = p(() => {
|
|
246
|
+
k(!0);
|
|
247
|
+
}, []), [kt, At] = h(!1), jt = p(() => {
|
|
248
|
+
At(!0);
|
|
249
|
+
}, []), Mt = p(() => {
|
|
250
|
+
At(!1);
|
|
251
|
+
}, []), Nt = p(() => {
|
|
252
|
+
k(!1);
|
|
253
|
+
}, []), [Pt, $] = h(!1), Ft = p(() => $(!0), []), It = p(() => $(!1), []), Lt = p(async () => {
|
|
254
|
+
if (!N || !r || b) return;
|
|
255
|
+
let e = (N.pages?.length || 0) + 1, t = f("bigconsole.dashboards.view.pageName", "Page {{count}}", { count: e }), n = await gt({
|
|
253
256
|
dashboardId: r,
|
|
254
257
|
name: t,
|
|
255
|
-
gridColumns:
|
|
258
|
+
gridColumns: be().defaultGridColumns
|
|
256
259
|
});
|
|
257
|
-
n && (
|
|
258
|
-
...
|
|
259
|
-
pages: [...
|
|
260
|
-
}),
|
|
260
|
+
n && (P({
|
|
261
|
+
...N,
|
|
262
|
+
pages: [...N.pages || [], n]
|
|
263
|
+
}), R(n.id));
|
|
261
264
|
}, [
|
|
262
|
-
|
|
265
|
+
N,
|
|
263
266
|
r,
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
]),
|
|
270
|
-
|
|
267
|
+
b,
|
|
268
|
+
P,
|
|
269
|
+
gt,
|
|
270
|
+
R,
|
|
271
|
+
f
|
|
272
|
+
]), Rt = p(async (e, t) => {
|
|
273
|
+
N && !b && await _t({
|
|
271
274
|
id: e,
|
|
272
275
|
name: t
|
|
273
|
-
}) &&
|
|
274
|
-
...
|
|
275
|
-
pages:
|
|
276
|
+
}) && P({
|
|
277
|
+
...N,
|
|
278
|
+
pages: N.pages?.map((n) => n.id === e ? {
|
|
276
279
|
...n,
|
|
277
280
|
name: t
|
|
278
281
|
} : n)
|
|
279
282
|
});
|
|
280
283
|
}, [
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
]),
|
|
286
|
-
if (!
|
|
287
|
-
let t =
|
|
284
|
+
N,
|
|
285
|
+
b,
|
|
286
|
+
P,
|
|
287
|
+
_t
|
|
288
|
+
]), zt = p(async (e) => {
|
|
289
|
+
if (!N || !r || b) return;
|
|
290
|
+
let t = N.pages?.find((t) => t.id === e);
|
|
288
291
|
if (!t) return;
|
|
289
|
-
let n = await
|
|
290
|
-
n && (
|
|
291
|
-
...
|
|
292
|
-
pages: [...
|
|
293
|
-
}),
|
|
292
|
+
let n = await yt(e, f("bigconsole.dashboards.view.pageCopyName", "{{name}} (Copy)", { name: t.name ?? "" }));
|
|
293
|
+
n && (P({
|
|
294
|
+
...N,
|
|
295
|
+
pages: [...N.pages || [], n]
|
|
296
|
+
}), R(n.id));
|
|
294
297
|
}, [
|
|
295
|
-
|
|
298
|
+
N,
|
|
296
299
|
r,
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
]),
|
|
303
|
-
if (!(!
|
|
304
|
-
let t =
|
|
300
|
+
b,
|
|
301
|
+
P,
|
|
302
|
+
yt,
|
|
303
|
+
R,
|
|
304
|
+
f
|
|
305
|
+
]), Bt = p(async (e) => {
|
|
306
|
+
if (!(!N || b || (N.pages?.length || 0) <= 1) && await vt(e)) {
|
|
307
|
+
let t = N.pages?.filter((t) => t.id !== e).map((e, t) => ({
|
|
305
308
|
...e,
|
|
306
309
|
order: t
|
|
307
310
|
}));
|
|
308
|
-
|
|
309
|
-
...
|
|
311
|
+
P({
|
|
312
|
+
...N,
|
|
310
313
|
pages: t
|
|
311
314
|
});
|
|
312
315
|
let n = t?.[0]?.id;
|
|
313
|
-
|
|
316
|
+
L === e && n && R(n, { replace: !0 });
|
|
314
317
|
}
|
|
315
318
|
}, [
|
|
316
|
-
|
|
317
|
-
|
|
319
|
+
N,
|
|
320
|
+
b,
|
|
321
|
+
P,
|
|
318
322
|
L,
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
...I,
|
|
323
|
+
vt,
|
|
324
|
+
R
|
|
325
|
+
]), Vt = p(async (e) => {
|
|
326
|
+
if (!N || !r || b) return;
|
|
327
|
+
P({
|
|
328
|
+
...N,
|
|
326
329
|
pages: e.map((e, t) => ({
|
|
327
330
|
...e,
|
|
328
331
|
order: t
|
|
329
332
|
}))
|
|
330
333
|
});
|
|
331
334
|
let t = e.map((e) => e.id);
|
|
332
|
-
await
|
|
335
|
+
await bt(r, t);
|
|
333
336
|
}, [
|
|
334
|
-
|
|
337
|
+
N,
|
|
335
338
|
r,
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
+
b,
|
|
340
|
+
P,
|
|
341
|
+
bt
|
|
339
342
|
]);
|
|
340
|
-
return
|
|
343
|
+
return C ? /* @__PURE__ */ v("div", {
|
|
341
344
|
className: "flex items-center justify-center h-full",
|
|
342
|
-
children: /* @__PURE__ */
|
|
343
|
-
}) :
|
|
345
|
+
children: /* @__PURE__ */ v("div", { className: "animate-spin w-8 h-8 border-4 border-action-primary-bg border-t-transparent rounded-full" })
|
|
346
|
+
}) : w ? W ? /* @__PURE__ */ v("div", {
|
|
344
347
|
className: "flex h-full flex-col items-center justify-center",
|
|
345
348
|
style: { padding: "var(--space-pagePadding)" },
|
|
346
|
-
children: /* @__PURE__ */
|
|
349
|
+
children: /* @__PURE__ */ v(o, {
|
|
347
350
|
headingLevel: 2,
|
|
348
351
|
tone: "danger",
|
|
349
|
-
title:
|
|
350
|
-
description: /* @__PURE__ */
|
|
352
|
+
title: f("bigconsole.dashboards.view.errorTitle", "Error loading dashboard"),
|
|
353
|
+
description: /* @__PURE__ */ v("span", {
|
|
351
354
|
className: "break-words",
|
|
352
|
-
children:
|
|
355
|
+
children: W.message
|
|
353
356
|
}),
|
|
354
357
|
className: "w-full max-w-md",
|
|
355
358
|
"data-testid": "dashboard-view-error",
|
|
356
|
-
actions: /* @__PURE__ */
|
|
359
|
+
actions: /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(g, {
|
|
357
360
|
size: "sm",
|
|
358
|
-
onClick: () =>
|
|
359
|
-
children:
|
|
360
|
-
}), /* @__PURE__ */
|
|
361
|
+
onClick: () => G(r),
|
|
362
|
+
children: f("bigconsole.dashboards.view.retry", "Retry")
|
|
363
|
+
}), /* @__PURE__ */ v(g, {
|
|
361
364
|
size: "sm",
|
|
362
365
|
variant: "outline",
|
|
363
366
|
onClick: () => c("/dashboards"),
|
|
364
|
-
children:
|
|
367
|
+
children: f("bigconsole.dashboards.view.backToDashboards", "Back to Dashboards")
|
|
365
368
|
})] })
|
|
366
369
|
})
|
|
367
|
-
}) :
|
|
370
|
+
}) : D ? /* @__PURE__ */ v("div", {
|
|
368
371
|
className: "flex flex-col items-center justify-center h-full",
|
|
369
372
|
style: { padding: "var(--space-pagePadding)" },
|
|
370
|
-
children: /* @__PURE__ */
|
|
373
|
+
children: /* @__PURE__ */ v(Re, {
|
|
371
374
|
illustration: "empty-data",
|
|
372
375
|
kind: "not-found",
|
|
373
376
|
size: "page",
|
|
374
|
-
title:
|
|
375
|
-
description: /* @__PURE__ */
|
|
377
|
+
title: f("bigconsole.dashboards.view.notFoundTitle", "Dashboard not found"),
|
|
378
|
+
description: /* @__PURE__ */ y(_, { children: [f("bigconsole.dashboards.view.notFoundDescription", "The dashboard you're looking for doesn't exist or has been deleted."), /* @__PURE__ */ v("span", {
|
|
376
379
|
className: "mt-2 block font-mono text-xs text-text-muted break-all",
|
|
377
|
-
children:
|
|
380
|
+
children: f("bigconsole.dashboards.view.idLabel", "ID: {{id}}", { id: r ?? "" })
|
|
378
381
|
})] }),
|
|
379
|
-
action: /* @__PURE__ */
|
|
382
|
+
action: /* @__PURE__ */ v(g, {
|
|
380
383
|
onClick: () => c("/dashboards"),
|
|
381
|
-
children:
|
|
384
|
+
children: f("bigconsole.dashboards.view.backToDashboards", "Back to Dashboards")
|
|
382
385
|
})
|
|
383
386
|
})
|
|
384
|
-
}) :
|
|
387
|
+
}) : U || !N ? /* @__PURE__ */ v("div", {
|
|
385
388
|
className: "flex items-center justify-center h-full",
|
|
386
389
|
role: "status",
|
|
387
390
|
"aria-live": "polite",
|
|
388
|
-
children: /* @__PURE__ */
|
|
391
|
+
children: /* @__PURE__ */ y("div", {
|
|
389
392
|
className: "flex flex-col items-center gap-4",
|
|
390
|
-
children: [/* @__PURE__ */
|
|
393
|
+
children: [/* @__PURE__ */ v("div", { className: "animate-spin w-8 h-8 border-4 border-action-primary-bg border-t-transparent rounded-full" }), /* @__PURE__ */ v("p", {
|
|
391
394
|
className: "text-sm text-text-secondary",
|
|
392
|
-
children:
|
|
395
|
+
children: f("bigconsole.dashboards.view.loading", "Loading dashboard...")
|
|
393
396
|
})]
|
|
394
397
|
})
|
|
395
|
-
}) : /* @__PURE__ */
|
|
396
|
-
ref:
|
|
398
|
+
}) : /* @__PURE__ */ y(_, { children: [!b && /* @__PURE__ */ v(He, {}), /* @__PURE__ */ y("div", {
|
|
399
|
+
ref: xt,
|
|
397
400
|
className: "h-full flex flex-col overflow-hidden",
|
|
398
401
|
children: [
|
|
399
|
-
/* @__PURE__ */
|
|
402
|
+
/* @__PURE__ */ v(o, {
|
|
400
403
|
emphasis: "bare",
|
|
401
404
|
padding: "none",
|
|
402
405
|
"data-testid": "dashboard-route-header",
|
|
403
406
|
"aria-label": "Dashboard",
|
|
404
407
|
className: "flex-shrink-0 border-b border-[var(--color-border-subtle)] bg-bg-surface px-3 py-2",
|
|
405
408
|
headerClassName: "",
|
|
406
|
-
header: /* @__PURE__ */
|
|
409
|
+
header: /* @__PURE__ */ y("div", {
|
|
407
410
|
className: "flex flex-wrap items-center gap-control-gap",
|
|
408
411
|
children: [
|
|
409
|
-
/* @__PURE__ */
|
|
410
|
-
onClick:
|
|
412
|
+
/* @__PURE__ */ y(g, {
|
|
413
|
+
onClick: wt,
|
|
411
414
|
variant: "ghost",
|
|
412
415
|
size: "sm",
|
|
413
|
-
title:
|
|
414
|
-
"aria-label":
|
|
416
|
+
title: f("bigconsole.dashboards.view.backToDashboards", "Back to Dashboards"),
|
|
417
|
+
"aria-label": f("bigconsole.dashboards.view.backToDashboards", "Back to Dashboards"),
|
|
415
418
|
className: "flex-shrink-0",
|
|
416
|
-
children: [/* @__PURE__ */
|
|
419
|
+
children: [/* @__PURE__ */ v(Pe, { className: "w-4 h-4 mr-2" }), f("bigconsole.dashboards.view.back", "Back")]
|
|
417
420
|
}),
|
|
418
|
-
/* @__PURE__ */
|
|
421
|
+
/* @__PURE__ */ v("h1", {
|
|
419
422
|
className: "min-w-0 flex-1 truncate text-sm font-semibold text-text-primary",
|
|
420
|
-
title:
|
|
421
|
-
...
|
|
422
|
-
children:
|
|
423
|
+
title: N.name,
|
|
424
|
+
...De(N.id),
|
|
425
|
+
children: N.name
|
|
423
426
|
}),
|
|
424
|
-
!
|
|
425
|
-
dashboardId:
|
|
426
|
-
enabled: !
|
|
427
|
+
!b && /* @__PURE__ */ v(me, {
|
|
428
|
+
dashboardId: N.id,
|
|
429
|
+
enabled: !b
|
|
427
430
|
}),
|
|
428
|
-
/* @__PURE__ */
|
|
431
|
+
/* @__PURE__ */ v(l, { children: /* @__PURE__ */ v("div", {
|
|
429
432
|
className: "flex-shrink-0",
|
|
430
|
-
children: /* @__PURE__ */
|
|
431
|
-
onClick: () =>
|
|
432
|
-
variant:
|
|
433
|
+
children: /* @__PURE__ */ y(g, {
|
|
434
|
+
onClick: () => nt((e) => !e),
|
|
435
|
+
variant: j ? "secondary" : "ghost",
|
|
433
436
|
size: "sm",
|
|
434
|
-
"aria-pressed":
|
|
437
|
+
"aria-pressed": j,
|
|
435
438
|
"data-testid": "dashboard-comments-button",
|
|
436
|
-
title:
|
|
437
|
-
"aria-label":
|
|
438
|
-
children: [/* @__PURE__ */
|
|
439
|
+
title: f("bigconsole.dashboard.comments.openButton", "Console comments"),
|
|
440
|
+
"aria-label": f("bigconsole.dashboard.comments.openButton", "Console comments"),
|
|
441
|
+
children: [/* @__PURE__ */ v(Fe, { className: "w-4 h-4 mr-2" }), f("bigconsole.dashboard.comments.buttonLabel", "Comments")]
|
|
439
442
|
})
|
|
440
443
|
}) }),
|
|
441
|
-
!
|
|
444
|
+
!b && /* @__PURE__ */ v("div", {
|
|
442
445
|
className: "flex-shrink-0",
|
|
443
|
-
children: /* @__PURE__ */
|
|
444
|
-
isLive:
|
|
445
|
-
onToggle: () =>
|
|
446
|
+
children: /* @__PURE__ */ v(le, {
|
|
447
|
+
isLive: A,
|
|
448
|
+
onToggle: () => qe((e) => !e)
|
|
446
449
|
})
|
|
447
450
|
}),
|
|
448
|
-
/* @__PURE__ */
|
|
451
|
+
/* @__PURE__ */ v(l, { children: /* @__PURE__ */ v("div", {
|
|
449
452
|
className: "flex-shrink-0",
|
|
450
|
-
children: /* @__PURE__ */
|
|
451
|
-
onClick: () =>
|
|
453
|
+
children: /* @__PURE__ */ y(g, {
|
|
454
|
+
onClick: () => Ze((e) => !e),
|
|
452
455
|
variant: "ghost",
|
|
453
456
|
size: "sm",
|
|
454
|
-
"aria-pressed":
|
|
455
|
-
title:
|
|
456
|
-
"aria-label":
|
|
457
|
+
"aria-pressed": Xe,
|
|
458
|
+
title: f("bigconsole.fleet.children.title", "Children"),
|
|
459
|
+
"aria-label": f("bigconsole.fleet.children.title", "Children"),
|
|
457
460
|
"data-testid": "fleet-children-toggle",
|
|
458
|
-
children: [/* @__PURE__ */
|
|
461
|
+
children: [/* @__PURE__ */ v(Ie, { className: "w-4 h-4 mr-2" }), f("bigconsole.fleet.children.title", "Children")]
|
|
459
462
|
})
|
|
460
463
|
}) }),
|
|
461
|
-
/* @__PURE__ */
|
|
464
|
+
/* @__PURE__ */ v(l, { children: /* @__PURE__ */ v("div", {
|
|
462
465
|
className: "flex-shrink-0",
|
|
463
|
-
children: /* @__PURE__ */
|
|
464
|
-
onClick: () =>
|
|
466
|
+
children: /* @__PURE__ */ y(g, {
|
|
467
|
+
onClick: () => Ye((e) => !e),
|
|
465
468
|
variant: "ghost",
|
|
466
469
|
size: "sm",
|
|
467
|
-
"aria-pressed":
|
|
468
|
-
title:
|
|
469
|
-
"aria-label":
|
|
470
|
-
children: [/* @__PURE__ */
|
|
470
|
+
"aria-pressed": Je,
|
|
471
|
+
title: f("bigconsole.dashboards.view.digest", "Console digest"),
|
|
472
|
+
"aria-label": f("bigconsole.dashboards.view.digest", "Console digest"),
|
|
473
|
+
children: [/* @__PURE__ */ v(Le, { className: "w-4 h-4 mr-2" }), f("bigconsole.dashboards.view.digest", "Digest")]
|
|
471
474
|
})
|
|
472
475
|
}) })
|
|
473
476
|
]
|
|
474
477
|
})
|
|
475
478
|
}),
|
|
476
|
-
|
|
479
|
+
q.length > 0 && !b && /* @__PURE__ */ v("div", {
|
|
477
480
|
className: "flex-shrink-0 border-b border-[var(--color-border-subtle)] bg-bg-surface px-3 py-2",
|
|
478
|
-
children: /* @__PURE__ */
|
|
479
|
-
ancestors:
|
|
480
|
-
currentName:
|
|
481
|
-
onNavigate:
|
|
481
|
+
children: /* @__PURE__ */ v(ne, {
|
|
482
|
+
ancestors: q,
|
|
483
|
+
currentName: N.name,
|
|
484
|
+
onNavigate: Tt
|
|
482
485
|
})
|
|
483
486
|
}),
|
|
484
|
-
|
|
487
|
+
Xe && N && !b && /* @__PURE__ */ v("div", {
|
|
485
488
|
className: "flex-shrink-0 overflow-y-auto border-b border-[var(--color-border-subtle)] bg-bg-surface px-3 py-2 sm:px-4",
|
|
486
489
|
style: { maxHeight: "50vh" },
|
|
487
490
|
"data-testid": "fleet-children-scroll",
|
|
488
|
-
children: /* @__PURE__ */
|
|
491
|
+
children: /* @__PURE__ */ v("div", {
|
|
489
492
|
className: "mx-auto max-w-3xl",
|
|
490
|
-
children: /* @__PURE__ */
|
|
491
|
-
dashboardId:
|
|
492
|
-
dashboardName:
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
493
|
+
children: /* @__PURE__ */ v(re, {
|
|
494
|
+
dashboardId: N.id,
|
|
495
|
+
dashboardName: N.name,
|
|
496
|
+
masterName: u(q, J),
|
|
497
|
+
onBoardChanged: K,
|
|
498
|
+
lock: Qe,
|
|
499
|
+
changeToken: $e,
|
|
500
|
+
onClose: () => Ze(!1),
|
|
501
|
+
onOpenBoard: Tt
|
|
502
|
+
}, N.id)
|
|
496
503
|
})
|
|
497
504
|
}),
|
|
498
|
-
|
|
505
|
+
Je && N && /* @__PURE__ */ v(l, { children: /* @__PURE__ */ v("div", {
|
|
499
506
|
className: "flex-shrink-0 border-b border-[var(--color-border-subtle)] bg-bg-surface px-3 py-2 sm:px-4",
|
|
500
|
-
children: /* @__PURE__ */
|
|
507
|
+
children: /* @__PURE__ */ v("div", {
|
|
501
508
|
className: "mx-auto max-w-3xl",
|
|
502
|
-
children: /* @__PURE__ */
|
|
503
|
-
dashboardId:
|
|
504
|
-
onClose: () =>
|
|
509
|
+
children: /* @__PURE__ */ v(Te, {
|
|
510
|
+
dashboardId: N.id,
|
|
511
|
+
onClose: () => Ye(!1)
|
|
505
512
|
})
|
|
506
513
|
})
|
|
507
514
|
}) }),
|
|
508
|
-
|
|
509
|
-
currentDashboardId:
|
|
510
|
-
currentDashboardName:
|
|
511
|
-
basePath: `${
|
|
515
|
+
M && !b && /* @__PURE__ */ v(de, {
|
|
516
|
+
currentDashboardId: N.id,
|
|
517
|
+
currentDashboardName: N.name,
|
|
518
|
+
basePath: `${d}/dashboards`
|
|
512
519
|
}),
|
|
513
|
-
/* @__PURE__ */
|
|
520
|
+
/* @__PURE__ */ v("div", {
|
|
514
521
|
className: "flex-1 min-w-0 overflow-hidden",
|
|
515
|
-
children: /* @__PURE__ */
|
|
516
|
-
dashboardId:
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
522
|
+
children: /* @__PURE__ */ v(ae, {
|
|
523
|
+
dashboardId: N.id,
|
|
524
|
+
isActiveCopy: !b && J !== null,
|
|
525
|
+
masterName: u(q, J),
|
|
526
|
+
lock: Qe,
|
|
527
|
+
onBoardChanged: K,
|
|
528
|
+
onChanged: tt,
|
|
529
|
+
children: /* @__PURE__ */ v(ce, {
|
|
530
|
+
dashboardId: N.id,
|
|
531
|
+
pageId: L || N.pages?.[0]?.id,
|
|
532
|
+
title: N.name,
|
|
533
|
+
onPaste: Dt,
|
|
534
|
+
onSave: T && !b ? Ct : void 0,
|
|
535
|
+
isSaving: Ge,
|
|
536
|
+
onReview: b ? void 0 : Ft,
|
|
537
|
+
onExport: Ue && !b ? Ot : void 0,
|
|
538
|
+
onPublishTemplate: We && !b ? jt : void 0,
|
|
539
|
+
pages: X,
|
|
540
|
+
activePageId: Q ?? void 0,
|
|
541
|
+
onPageChange: Y,
|
|
542
|
+
onPageAdd: Lt,
|
|
543
|
+
onPageRename: Rt,
|
|
544
|
+
onPageDuplicate: zt,
|
|
545
|
+
onPageDelete: Bt,
|
|
546
|
+
onPagesReorder: Vt,
|
|
547
|
+
showPageTabs: !0
|
|
548
|
+
})
|
|
549
|
+
}, N.id)
|
|
535
550
|
}),
|
|
536
|
-
/* @__PURE__ */
|
|
537
|
-
open:
|
|
538
|
-
onClose:
|
|
539
|
-
dashboardId:
|
|
551
|
+
/* @__PURE__ */ v(pe, {
|
|
552
|
+
open: Pt && !b,
|
|
553
|
+
onClose: It,
|
|
554
|
+
dashboardId: N.id,
|
|
540
555
|
pages: X,
|
|
541
|
-
canFix:
|
|
556
|
+
canFix: T && !b
|
|
542
557
|
}),
|
|
543
|
-
/* @__PURE__ */
|
|
544
|
-
isOpen:
|
|
545
|
-
dashboardId:
|
|
546
|
-
dashboardName:
|
|
547
|
-
onClose:
|
|
558
|
+
/* @__PURE__ */ v(ue, {
|
|
559
|
+
isOpen: Ke && !b,
|
|
560
|
+
dashboardId: N.id,
|
|
561
|
+
dashboardName: N.name,
|
|
562
|
+
onClose: Nt
|
|
548
563
|
}),
|
|
549
|
-
!
|
|
550
|
-
dashboardId:
|
|
551
|
-
isOpen:
|
|
552
|
-
onClose: () =>
|
|
553
|
-
widgets: Array.from(
|
|
564
|
+
!b && /* @__PURE__ */ v(he, {
|
|
565
|
+
dashboardId: N.id,
|
|
566
|
+
isOpen: j && !b,
|
|
567
|
+
onClose: () => nt(!1),
|
|
568
|
+
widgets: Array.from(I.values()).map((e) => ({
|
|
554
569
|
id: e.id,
|
|
555
570
|
title: e.title || e.type
|
|
556
571
|
})),
|
|
557
|
-
onSelectWidget: (e) =>
|
|
572
|
+
onSelectWidget: (e) => H(e)
|
|
558
573
|
}),
|
|
559
|
-
/* @__PURE__ */
|
|
560
|
-
isOpen:
|
|
561
|
-
dashboardId:
|
|
562
|
-
dashboardName:
|
|
563
|
-
dashboardDescription:
|
|
564
|
-
onClose:
|
|
574
|
+
/* @__PURE__ */ v(fe, {
|
|
575
|
+
isOpen: kt && !b,
|
|
576
|
+
dashboardId: N.id,
|
|
577
|
+
dashboardName: N.name,
|
|
578
|
+
dashboardDescription: N.description,
|
|
579
|
+
onClose: Mt
|
|
565
580
|
})
|
|
566
581
|
]
|
|
567
|
-
})] }) : /* @__PURE__ */
|
|
568
|
-
title:
|
|
569
|
-
description:
|
|
582
|
+
})] }) : /* @__PURE__ */ v(Me, {
|
|
583
|
+
title: f("bigconsole.dashboards.view.accessDeniedTitle", "Access Denied"),
|
|
584
|
+
description: f("bigconsole.dashboards.view.accessDeniedDescription", "You don't have permission to view this dashboard.")
|
|
570
585
|
});
|
|
571
|
-
}),
|
|
586
|
+
}), He = () => (d(), null), x = f(function() {
|
|
572
587
|
let { workspaceId: e } = r();
|
|
573
|
-
return /* @__PURE__ */
|
|
588
|
+
return /* @__PURE__ */ v(c, {
|
|
574
589
|
workspaceId: e,
|
|
575
|
-
children: /* @__PURE__ */
|
|
590
|
+
children: /* @__PURE__ */ v(b, {})
|
|
576
591
|
});
|
|
577
592
|
});
|
|
578
|
-
export {
|
|
593
|
+
export { b as DashboardViewPage, x as default };
|