@burdenoff/microfe-bigconsole 2026.805.2 → 2026.805.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/builder/inspector/DataBindingSection.js +109 -113
- package/dist/bigconsole/components/builder/inspector/DataBindingSection.js.map +1 -1
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +115 -113
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js.map +1 -1
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js +71 -62
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js.map +1 -1
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js +90 -89
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js.map +1 -1
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +56 -54
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js.map +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +126 -125
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js.map +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +151 -150
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js.map +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +77 -76
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js.map +1 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +97 -96
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js.map +1 -1
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +172 -191
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js.map +1 -1
- package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +75 -83
- package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js.map +1 -1
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +151 -154
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js.map +1 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +181 -190
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js.map +1 -1
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -0
- package/dist/bigconsole/components/dashboard/WidgetPalette.js +110 -108
- package/dist/bigconsole/components/dashboard/WidgetPalette.js.map +1 -1
- package/dist/bigconsole/components/datasink/CacheTTLSelector.js +102 -103
- package/dist/bigconsole/components/datasink/CacheTTLSelector.js.map +1 -1
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +36 -41
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js.map +1 -1
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +38 -37
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js.map +1 -1
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +113 -117
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js.map +1 -1
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +182 -197
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js.map +1 -1
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +166 -168
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.js.map +1 -1
- package/dist/bigconsole/components/parser/DataSinkSelector.js +87 -86
- package/dist/bigconsole/components/parser/DataSinkSelector.js.map +1 -1
- package/dist/bigconsole/components/parser/ImportParserDialog.js +196 -211
- package/dist/bigconsole/components/parser/ImportParserDialog.js.map +1 -1
- package/dist/bigconsole/components/parser/ParserSelector.js +130 -128
- package/dist/bigconsole/components/parser/ParserSelector.js.map +1 -1
- package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js +66 -63
- package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js.map +1 -1
- package/dist/bigconsole/components/preview/AiPreviewPanel.js +95 -91
- package/dist/bigconsole/components/preview/AiPreviewPanel.js.map +1 -1
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js +222 -215
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js.map +1 -1
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +149 -145
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js.map +1 -1
- package/dist/bigconsole/components/widgets/PropertiesPanel.js +504 -470
- package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -1
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +44 -47
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/chart/ChartConfig.js +143 -142
- package/dist/bigconsole/components/widgets/chart/ChartConfig.js.map +1 -1
- package/dist/bigconsole/components/widgets/comments/WidgetComments.js +101 -88
- package/dist/bigconsole/components/widgets/comments/WidgetComments.js.map +1 -1
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +135 -134
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js.map +1 -1
- package/dist/bigconsole/components/widgets/form/FormWidget.js +167 -159
- package/dist/bigconsole/components/widgets/form/FormWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +69 -68
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js.map +1 -1
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +64 -72
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js.map +1 -1
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +60 -59
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/list/ListConfig.js +57 -56
- package/dist/bigconsole/components/widgets/list/ListConfig.js.map +1 -1
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +70 -69
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js.map +1 -1
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +35 -34
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js.map +1 -1
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +20 -19
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js.map +1 -1
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +178 -177
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js.map +1 -1
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +76 -75
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.js.map +1 -1
- package/dist/bigconsole/components/widgets/table/TableConfig.js +183 -168
- package/dist/bigconsole/components/widgets/table/TableConfig.js.map +1 -1
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +187 -180
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js.map +1 -1
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +40 -38
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js.map +1 -1
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +150 -148
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js.map +1 -1
- package/dist/bigconsole/pages/DashboardBuilderPage.js +181 -176
- package/dist/bigconsole/pages/DashboardBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/DashboardViewPage.js +196 -192
- package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -1
- package/dist/bigconsole/pages/DashboardsPage.js +223 -219
- package/dist/bigconsole/pages/DashboardsPage.js.map +1 -1
- package/dist/bigconsole/pages/DataParsersPage.js +167 -170
- package/dist/bigconsole/pages/DataParsersPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSinkBuilderPage.js +204 -189
- package/dist/bigconsole/pages/DataSinkBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSinkViewPage.js +175 -169
- package/dist/bigconsole/pages/DataSinkViewPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSourcesPage.js +8 -7
- package/dist/bigconsole/pages/DataSourcesPage.js.map +1 -1
- package/dist/bigconsole/pages/InsightsPage.js +238 -208
- package/dist/bigconsole/pages/InsightsPage.js.map +1 -1
- package/dist/bigconsole/pages/ParserBuilderPage.js +464 -412
- package/dist/bigconsole/pages/ParserBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/ParserViewPage.js +92 -90
- package/dist/bigconsole/pages/ParserViewPage.js.map +1 -1
- package/dist/bigconsole/pages/PipelineBuilderPage.js +221 -194
- package/dist/bigconsole/pages/PipelineBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/PipelineViewPage.js +181 -184
- package/dist/bigconsole/pages/PipelineViewPage.js.map +1 -1
- package/dist/bigconsole/pages/PipelinesPage.js +128 -127
- package/dist/bigconsole/pages/PipelinesPage.js.map +1 -1
- package/dist/bigconsole/pages/SettingsPage.js +177 -172
- package/dist/bigconsole/pages/SettingsPage.js.map +1 -1
- package/dist/bigconsole/pages/WidgetDemoPage.js +121 -83
- package/dist/bigconsole/pages/WidgetDemoPage.js.map +1 -1
- package/dist/bigconsole/pages/WorkflowViewPage.js +199 -193
- package/dist/bigconsole/pages/WorkflowViewPage.js.map +1 -1
- package/dist/bigconsole/pages/WorkflowsPage.js +129 -128
- package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -1
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +111 -109
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js.map +1 -1
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +127 -126
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js.map +1 -1
- package/dist/bigconsole/renderers/adapters/CustomRenderer.js +103 -103
- package/dist/bigconsole/renderers/adapters/CustomRenderer.js.map +1 -1
- package/package.json +2 -1
|
@@ -10,70 +10,70 @@ import { isNative as o, nativeConfirm as ee, nativeImpact as s, nativeNotify as
|
|
|
10
10
|
import { memo as l, useCallback as u, useEffect as d, useState as f } from "react";
|
|
11
11
|
import { AccessDenied as te, PermissionButton as p } from "@burdenoff/fe-libs/shared/components";
|
|
12
12
|
import { usePermissions as ne } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
13
|
-
import { Calendar as m, ChevronLeft as re, ChevronRight as ie, Copy as h, FileText as
|
|
14
|
-
import { useI18n as
|
|
15
|
-
import { AuroraBackground as
|
|
16
|
-
import { jsx as
|
|
13
|
+
import { Calendar as m, ChevronLeft as re, ChevronRight as ie, Copy as h, FileText as ae, Layers as g, LayoutDashboard as _, LayoutGrid as oe, List as se, Pencil as v, Plus as y, Search as ce, Trash2 as b, Upload as x } from "lucide-react";
|
|
14
|
+
import { useI18n as le } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
15
|
+
import { AuroraBackground as ue, Badge as S, Button as C, CTAOverflowMenu as de, Card as w, CardContent as T, GlassCard as fe, GradientText as pe, IllustratedEmptyState as me, Input as he, PagePurpose as ge, Spinner as E } from "@burdenoff/fe-libs/ui";
|
|
16
|
+
import { jsx as D, jsxs as O } from "react/jsx-runtime";
|
|
17
17
|
//#region src/bigconsole/pages/DashboardsPage.tsx
|
|
18
|
-
var
|
|
19
|
-
let l = e(), { t:
|
|
20
|
-
let n =
|
|
18
|
+
var k = "bf-bigconsole-dashboards-view", A = 12, j = l(function() {
|
|
19
|
+
let l = e(), { t: j } = le(), M = u((e, t) => {
|
|
20
|
+
let n = j(e);
|
|
21
21
|
return n === e ? t : n;
|
|
22
|
-
}, [
|
|
22
|
+
}, [j]), [N, _e] = f(""), [P, F] = f(1), [ve, I] = f(!1), [L, R] = f(!1), [ye, z] = f(!1), [B, be] = f(() => {
|
|
23
23
|
try {
|
|
24
|
-
return window.localStorage.getItem(
|
|
24
|
+
return window.localStorage.getItem(k) === "list" ? "list" : "grid";
|
|
25
25
|
} catch {
|
|
26
26
|
return "grid";
|
|
27
27
|
}
|
|
28
|
-
}),
|
|
29
|
-
|
|
28
|
+
}), V = u((e) => {
|
|
29
|
+
be(e);
|
|
30
30
|
try {
|
|
31
|
-
window.localStorage.setItem(
|
|
31
|
+
window.localStorage.setItem(k, e);
|
|
32
32
|
} catch {}
|
|
33
|
-
}, []), { loading:
|
|
33
|
+
}, []), { loading: H, error: U, dashboards: W, createDashboard: G, deleteDashboard: K, cloneDashboard: q, refetch: J } = n(), { hasPermission: Y, isLoading: xe } = ne(), Se = Y(r.DASHBOARD_READ), Ce = Y(r.DASHBOARD_CREATE), we = Y(r.DASHBOARD_IMPORT), X = W.filter((e) => e.name.toLowerCase().includes(N.toLowerCase()) || e.description?.toLowerCase().includes(N.toLowerCase())), Z = Math.max(1, Math.ceil(X.length / A)), Q = (P - 1) * A, $ = X.slice(Q, Q + A);
|
|
34
34
|
d(() => {
|
|
35
|
-
|
|
36
|
-
}, [
|
|
37
|
-
|
|
38
|
-
}, [
|
|
35
|
+
F(1);
|
|
36
|
+
}, [N, B]), d(() => {
|
|
37
|
+
P > Z && F(Z);
|
|
38
|
+
}, [P, Z]);
|
|
39
39
|
let Te = u(() => {
|
|
40
|
-
|
|
40
|
+
F((e) => Math.max(1, e - 1));
|
|
41
41
|
}, []), Ee = u(() => {
|
|
42
|
-
|
|
43
|
-
}, [
|
|
44
|
-
|
|
42
|
+
F((e) => Math.min(Z, e + 1));
|
|
43
|
+
}, [Z]), De = u((e) => {
|
|
44
|
+
F(e);
|
|
45
45
|
}, []), Oe = u(() => {
|
|
46
|
-
|
|
46
|
+
I(!0);
|
|
47
47
|
}, []), ke = u(({ dashboardId: e }) => {
|
|
48
|
-
|
|
49
|
-
}, [
|
|
50
|
-
|
|
51
|
-
}, [
|
|
52
|
-
|
|
48
|
+
J(), l(`/dashboards/${e}`);
|
|
49
|
+
}, [J, l]), Ae = u(() => {
|
|
50
|
+
L || I(!1);
|
|
51
|
+
}, [L]), je = u(async (e) => {
|
|
52
|
+
R(!0);
|
|
53
53
|
try {
|
|
54
|
-
let t = await
|
|
54
|
+
let t = await G({
|
|
55
55
|
name: e.name,
|
|
56
56
|
description: e.description,
|
|
57
57
|
category: e.category,
|
|
58
58
|
tags: e.tags
|
|
59
59
|
});
|
|
60
|
-
t && (
|
|
60
|
+
t && (I(!1), l(`/dashboards/${t.id}/builder`));
|
|
61
61
|
} catch (e) {
|
|
62
62
|
if (t(e, "project")) {
|
|
63
|
-
|
|
63
|
+
I(!1);
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
66
|
throw console.error("Failed to create dashboard:", e), o() && c("error"), e;
|
|
67
67
|
} finally {
|
|
68
|
-
|
|
68
|
+
R(!1);
|
|
69
69
|
}
|
|
70
|
-
}, [
|
|
70
|
+
}, [G, l]), Me = u((e) => {
|
|
71
71
|
l(`/dashboards/${e}`);
|
|
72
72
|
}, [l]), Ne = u((e, t) => {
|
|
73
73
|
t.stopPropagation(), l(`/dashboards/${e}/builder`);
|
|
74
74
|
}, [l]), Pe = u(async (e, t) => {
|
|
75
75
|
t.stopPropagation();
|
|
76
|
-
let n =
|
|
76
|
+
let n = M("bigconsole.dashboards.confirmDelete", "Are you sure you want to delete this dashboard?"), r = await ee({
|
|
77
77
|
title: "Delete dashboard?",
|
|
78
78
|
message: n,
|
|
79
79
|
okButtonTitle: "Delete",
|
|
@@ -82,18 +82,18 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
82
82
|
if (r === null ? window.confirm(n) : r) {
|
|
83
83
|
s("medium");
|
|
84
84
|
try {
|
|
85
|
-
await
|
|
85
|
+
await K(e), o() && c("success");
|
|
86
86
|
} catch (e) {
|
|
87
87
|
throw o() && c("error"), e;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
}, [
|
|
90
|
+
}, [K, M]), Fe = u(async (e, n, r) => {
|
|
91
91
|
r.stopPropagation();
|
|
92
|
-
let i =
|
|
92
|
+
let i = j("bigconsole.dashboards.clone.defaultSuffix", "{{sourceName}} (Copy)", { sourceName: n }), a = window.prompt(M("bigconsole.dashboards.clone.namePrompt", "Name for the cloned dashboard:"), i);
|
|
93
93
|
if (!(!a || !a.trim())) {
|
|
94
94
|
s("medium");
|
|
95
95
|
try {
|
|
96
|
-
let t = await
|
|
96
|
+
let t = await q(e, a.trim());
|
|
97
97
|
t && (o() && c("success"), l(`/dashboards/${t.id}`));
|
|
98
98
|
} catch (e) {
|
|
99
99
|
if (t(e, "project")) return;
|
|
@@ -101,80 +101,81 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
}, [
|
|
104
|
-
|
|
104
|
+
q,
|
|
105
105
|
l,
|
|
106
|
-
|
|
106
|
+
M,
|
|
107
|
+
j
|
|
107
108
|
]), Ie = u(() => {
|
|
108
|
-
|
|
109
|
+
z(!0);
|
|
109
110
|
}, []), Le = u(() => {
|
|
110
|
-
|
|
111
|
+
z(!1);
|
|
111
112
|
}, []), Re = u((e, t) => {
|
|
112
|
-
|
|
113
|
-
}, [
|
|
113
|
+
J();
|
|
114
|
+
}, [J]), ze = (e) => {
|
|
114
115
|
let t = new Date(e), n = /* @__PURE__ */ new Date(), r = n.getTime() - t.getTime(), i = Math.floor(r / 6e4), a = Math.floor(r / 36e5), o = Math.floor(r / 864e5);
|
|
115
|
-
return i < 1 ?
|
|
116
|
+
return i < 1 ? M("bigconsole.dashboards.time.justNow", "Just now") : i < 60 ? `${i}${M("bigconsole.dashboards.time.minutesAgoSuffix", "m ago")}` : a < 24 ? `${a}${M("bigconsole.dashboards.time.hoursAgoSuffix", "h ago")}` : o < 7 ? `${o}${M("bigconsole.dashboards.time.daysAgoSuffix", "d ago")}` : new Intl.DateTimeFormat("en-US", {
|
|
116
117
|
month: "short",
|
|
117
118
|
day: "numeric",
|
|
118
119
|
year: t.getFullYear() === n.getFullYear() ? void 0 : "numeric"
|
|
119
120
|
}).format(t);
|
|
120
121
|
}, Be = (e) => e.widgetCount ?? 0, Ve = (e) => e.pageCount || 0;
|
|
121
|
-
return
|
|
122
|
+
return U ? /* @__PURE__ */ D("div", {
|
|
122
123
|
style: { padding: "var(--space-pagePadding)" },
|
|
123
|
-
children: /* @__PURE__ */
|
|
124
|
+
children: /* @__PURE__ */ D(w, {
|
|
124
125
|
style: {
|
|
125
126
|
borderColor: "var(--color-status-error-border)",
|
|
126
127
|
backgroundColor: "var(--color-status-error-bgSubtle)"
|
|
127
128
|
},
|
|
128
|
-
children: /* @__PURE__ */
|
|
129
|
+
children: /* @__PURE__ */ O(T, {
|
|
129
130
|
style: { padding: "var(--space-pagePadding)" },
|
|
130
131
|
children: [
|
|
131
|
-
/* @__PURE__ */
|
|
132
|
+
/* @__PURE__ */ D("h3", {
|
|
132
133
|
style: {
|
|
133
134
|
fontSize: "var(--font-size-body-sm)",
|
|
134
135
|
fontWeight: "var(--font-weight-medium)",
|
|
135
136
|
color: "var(--color-status-error-text)"
|
|
136
137
|
},
|
|
137
|
-
children:
|
|
138
|
+
children: M("bigconsole.dashboards.error.title", "Error loading dashboards")
|
|
138
139
|
}),
|
|
139
|
-
/* @__PURE__ */
|
|
140
|
+
/* @__PURE__ */ D("p", {
|
|
140
141
|
style: {
|
|
141
142
|
fontSize: "var(--font-size-body-sm)",
|
|
142
143
|
color: "var(--color-text-secondary)",
|
|
143
144
|
marginTop: "var(--space-controlGap)"
|
|
144
145
|
},
|
|
145
|
-
children:
|
|
146
|
+
children: U.message
|
|
146
147
|
}),
|
|
147
|
-
/* @__PURE__ */
|
|
148
|
+
/* @__PURE__ */ D(C, {
|
|
148
149
|
size: "sm",
|
|
149
|
-
onClick: () =>
|
|
150
|
+
onClick: () => J(),
|
|
150
151
|
style: { marginTop: "var(--space-formGap)" },
|
|
151
|
-
children:
|
|
152
|
+
children: M("bigconsole.dashboards.error.retry", "Retry")
|
|
152
153
|
})
|
|
153
154
|
]
|
|
154
155
|
})
|
|
155
156
|
})
|
|
156
|
-
}) :
|
|
157
|
+
}) : xe ? /* @__PURE__ */ D("div", {
|
|
157
158
|
style: {
|
|
158
159
|
display: "flex",
|
|
159
160
|
alignItems: "center",
|
|
160
161
|
justifyContent: "center",
|
|
161
162
|
padding: "80px 0"
|
|
162
163
|
},
|
|
163
|
-
children: /* @__PURE__ */
|
|
164
|
+
children: /* @__PURE__ */ D(E, { style: {
|
|
164
165
|
height: "var(--size-icon-xl)",
|
|
165
166
|
width: "var(--size-icon-xl)"
|
|
166
167
|
} })
|
|
167
|
-
}) :
|
|
168
|
+
}) : Se ? /* @__PURE__ */ O("div", {
|
|
168
169
|
style: {
|
|
169
170
|
minHeight: "100vh",
|
|
170
171
|
backgroundColor: "var(--color-bg-canvas)"
|
|
171
172
|
},
|
|
172
173
|
children: [
|
|
173
|
-
/* @__PURE__ */
|
|
174
|
+
/* @__PURE__ */ O("div", {
|
|
174
175
|
className: "relative overflow-hidden border-b border-border-seam bg-gloss-card",
|
|
175
|
-
children: [/* @__PURE__ */
|
|
176
|
+
children: [/* @__PURE__ */ D(ue, { intensity: "subtle" }), /* @__PURE__ */ D("div", {
|
|
176
177
|
style: { padding: "var(--space-pagePadding)" },
|
|
177
|
-
children: /* @__PURE__ */
|
|
178
|
+
children: /* @__PURE__ */ O("div", {
|
|
178
179
|
style: {
|
|
179
180
|
display: "flex",
|
|
180
181
|
alignItems: "center",
|
|
@@ -182,14 +183,14 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
182
183
|
flexWrap: "wrap",
|
|
183
184
|
gap: "var(--space-formGap)"
|
|
184
185
|
},
|
|
185
|
-
children: [/* @__PURE__ */
|
|
186
|
+
children: [/* @__PURE__ */ O("div", {
|
|
186
187
|
style: {
|
|
187
188
|
display: "flex",
|
|
188
189
|
alignItems: "center",
|
|
189
190
|
gap: "var(--space-formGap)",
|
|
190
191
|
minWidth: 0
|
|
191
192
|
},
|
|
192
|
-
children: [/* @__PURE__ */
|
|
193
|
+
children: [/* @__PURE__ */ D("div", {
|
|
193
194
|
style: {
|
|
194
195
|
display: "flex",
|
|
195
196
|
height: "var(--size-controlHeight-lg)",
|
|
@@ -199,43 +200,43 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
199
200
|
borderRadius: "var(--radius-card)",
|
|
200
201
|
backgroundColor: "var(--color-action-primary-bg)"
|
|
201
202
|
},
|
|
202
|
-
children: /* @__PURE__ */
|
|
203
|
+
children: /* @__PURE__ */ D(_, { style: {
|
|
203
204
|
height: "var(--size-icon-lg)",
|
|
204
205
|
width: "var(--size-icon-lg)",
|
|
205
206
|
color: "var(--color-action-primary-text)"
|
|
206
207
|
} })
|
|
207
|
-
}), /* @__PURE__ */
|
|
208
|
+
}), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("h1", {
|
|
208
209
|
style: {
|
|
209
210
|
fontSize: "var(--font-size-heading-h4)",
|
|
210
211
|
fontWeight: "var(--font-weight-bold)",
|
|
211
212
|
margin: 0,
|
|
212
213
|
color: "var(--color-text-primary)"
|
|
213
214
|
},
|
|
214
|
-
children: /* @__PURE__ */
|
|
215
|
-
}), /* @__PURE__ */
|
|
215
|
+
children: /* @__PURE__ */ D(pe, { children: M("bigconsole.dashboards.title", "Dashboards") })
|
|
216
|
+
}), /* @__PURE__ */ D("p", {
|
|
216
217
|
style: {
|
|
217
218
|
fontSize: "var(--font-size-body-sm)",
|
|
218
219
|
color: "var(--color-text-secondary)",
|
|
219
220
|
margin: 0
|
|
220
221
|
},
|
|
221
|
-
children:
|
|
222
|
+
children: M("bigconsole.dashboards.subtitle", "Create and manage your analytics dashboards")
|
|
222
223
|
})] })]
|
|
223
|
-
}), /* @__PURE__ */
|
|
224
|
+
}), /* @__PURE__ */ D(de, {
|
|
224
225
|
primary: {
|
|
225
|
-
label:
|
|
226
|
+
label: M("bigconsole.dashboards.actions.create", "Create Dashboard"),
|
|
226
227
|
onSelect: Oe,
|
|
227
|
-
disabled: !
|
|
228
|
-
icon: /* @__PURE__ */
|
|
228
|
+
disabled: !Ce,
|
|
229
|
+
icon: /* @__PURE__ */ D(y, { style: {
|
|
229
230
|
marginRight: "var(--space-iconGap)",
|
|
230
231
|
height: "var(--size-icon-sm)",
|
|
231
232
|
width: "var(--size-icon-sm)"
|
|
232
233
|
} })
|
|
233
234
|
},
|
|
234
235
|
actions: [{
|
|
235
|
-
label:
|
|
236
|
+
label: M("bigconsole.dashboards.actions.import", "Import"),
|
|
236
237
|
onSelect: Ie,
|
|
237
|
-
disabled: !
|
|
238
|
-
icon: /* @__PURE__ */
|
|
238
|
+
disabled: !we,
|
|
239
|
+
icon: /* @__PURE__ */ D(x, { style: {
|
|
239
240
|
height: "var(--size-icon-sm)",
|
|
240
241
|
width: "var(--size-icon-sm)"
|
|
241
242
|
} })
|
|
@@ -244,14 +245,14 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
244
245
|
})
|
|
245
246
|
})]
|
|
246
247
|
}),
|
|
247
|
-
/* @__PURE__ */
|
|
248
|
+
/* @__PURE__ */ O("div", {
|
|
248
249
|
style: { padding: "var(--space-pagePadding)" },
|
|
249
250
|
children: [
|
|
250
|
-
/* @__PURE__ */
|
|
251
|
+
/* @__PURE__ */ D(ge, {
|
|
251
252
|
className: "mb-[var(--space-sectionGap)]",
|
|
252
253
|
children: "Dashboards are live, shareable views built from widgets that query your data sinks — charts, tables, metrics, and drill-downs in one place. Compose a board to monitor a system, share KPIs with your team, or explore data interactively."
|
|
253
254
|
}),
|
|
254
|
-
/* @__PURE__ */
|
|
255
|
+
/* @__PURE__ */ O("div", {
|
|
255
256
|
style: {
|
|
256
257
|
marginBottom: "var(--space-sectionGap)",
|
|
257
258
|
display: "flex",
|
|
@@ -260,14 +261,14 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
260
261
|
flexWrap: "wrap",
|
|
261
262
|
gap: "var(--space-formGap)"
|
|
262
263
|
},
|
|
263
|
-
children: [/* @__PURE__ */
|
|
264
|
+
children: [/* @__PURE__ */ O("div", {
|
|
264
265
|
style: {
|
|
265
266
|
position: "relative",
|
|
266
267
|
flex: 1,
|
|
267
268
|
minWidth: 0,
|
|
268
269
|
maxWidth: "400px"
|
|
269
270
|
},
|
|
270
|
-
children: [/* @__PURE__ */
|
|
271
|
+
children: [/* @__PURE__ */ D(ce, { style: {
|
|
271
272
|
position: "absolute",
|
|
272
273
|
left: "var(--space-controlGap)",
|
|
273
274
|
top: "50%",
|
|
@@ -275,17 +276,17 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
275
276
|
height: "var(--size-icon-sm)",
|
|
276
277
|
width: "var(--size-icon-sm)",
|
|
277
278
|
color: "var(--color-text-muted)"
|
|
278
|
-
} }), /* @__PURE__ */
|
|
279
|
+
} }), /* @__PURE__ */ D(he, {
|
|
279
280
|
type: "text",
|
|
280
|
-
placeholder:
|
|
281
|
-
value:
|
|
282
|
-
onChange: (e) =>
|
|
281
|
+
placeholder: M("bigconsole.dashboards.search.placeholder", "Search dashboards..."),
|
|
282
|
+
value: N,
|
|
283
|
+
onChange: (e) => _e(e.target.value),
|
|
283
284
|
style: {
|
|
284
285
|
paddingLeft: "var(--size-controlHeight-md)",
|
|
285
286
|
height: "var(--size-controlHeight-md)"
|
|
286
287
|
}
|
|
287
288
|
})]
|
|
288
|
-
}), /* @__PURE__ */
|
|
289
|
+
}), /* @__PURE__ */ O("div", {
|
|
289
290
|
style: {
|
|
290
291
|
display: "flex",
|
|
291
292
|
alignItems: "center",
|
|
@@ -294,89 +295,89 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
294
295
|
borderRadius: "var(--radius-button)",
|
|
295
296
|
backgroundColor: "var(--color-bg-sunken)"
|
|
296
297
|
},
|
|
297
|
-
children: [/* @__PURE__ */
|
|
298
|
-
variant:
|
|
298
|
+
children: [/* @__PURE__ */ D(C, {
|
|
299
|
+
variant: B === "grid" ? "default" : "ghost",
|
|
299
300
|
size: "sm",
|
|
300
|
-
onClick: () =>
|
|
301
|
-
"aria-label":
|
|
302
|
-
"aria-pressed":
|
|
303
|
-
title:
|
|
301
|
+
onClick: () => V("grid"),
|
|
302
|
+
"aria-label": M("bigconsole.dashboards.view.grid", "Grid view"),
|
|
303
|
+
"aria-pressed": B === "grid",
|
|
304
|
+
title: M("bigconsole.dashboards.view.grid", "Grid view"),
|
|
304
305
|
style: {
|
|
305
306
|
height: "var(--size-controlHeight-sm)",
|
|
306
307
|
width: "var(--size-controlHeight-sm)",
|
|
307
308
|
padding: 0,
|
|
308
309
|
borderRadius: "var(--radius-button)"
|
|
309
310
|
},
|
|
310
|
-
children: /* @__PURE__ */
|
|
311
|
+
children: /* @__PURE__ */ D(oe, { style: {
|
|
311
312
|
height: "var(--size-icon-sm)",
|
|
312
313
|
width: "var(--size-icon-sm)"
|
|
313
314
|
} })
|
|
314
|
-
}), /* @__PURE__ */
|
|
315
|
-
variant:
|
|
315
|
+
}), /* @__PURE__ */ D(C, {
|
|
316
|
+
variant: B === "list" ? "default" : "ghost",
|
|
316
317
|
size: "sm",
|
|
317
|
-
onClick: () =>
|
|
318
|
-
"aria-label":
|
|
319
|
-
"aria-pressed":
|
|
320
|
-
title:
|
|
318
|
+
onClick: () => V("list"),
|
|
319
|
+
"aria-label": M("bigconsole.dashboards.view.list", "List view"),
|
|
320
|
+
"aria-pressed": B === "list",
|
|
321
|
+
title: M("bigconsole.dashboards.view.list", "List view"),
|
|
321
322
|
style: {
|
|
322
323
|
height: "var(--size-controlHeight-sm)",
|
|
323
324
|
width: "var(--size-controlHeight-sm)",
|
|
324
325
|
padding: 0,
|
|
325
326
|
borderRadius: "var(--radius-button)"
|
|
326
327
|
},
|
|
327
|
-
children: /* @__PURE__ */
|
|
328
|
+
children: /* @__PURE__ */ D(se, { style: {
|
|
328
329
|
height: "var(--size-icon-sm)",
|
|
329
330
|
width: "var(--size-icon-sm)"
|
|
330
331
|
} })
|
|
331
332
|
})]
|
|
332
333
|
})]
|
|
333
334
|
}),
|
|
334
|
-
|
|
335
|
+
H && W.length === 0 && /* @__PURE__ */ D("div", {
|
|
335
336
|
style: {
|
|
336
337
|
display: "flex",
|
|
337
338
|
alignItems: "center",
|
|
338
339
|
justifyContent: "center",
|
|
339
340
|
padding: "80px 0"
|
|
340
341
|
},
|
|
341
|
-
children: /* @__PURE__ */
|
|
342
|
+
children: /* @__PURE__ */ O("div", {
|
|
342
343
|
style: { textAlign: "center" },
|
|
343
|
-
children: [/* @__PURE__ */
|
|
344
|
+
children: [/* @__PURE__ */ D(E, { style: {
|
|
344
345
|
height: "var(--size-icon-xl)",
|
|
345
346
|
width: "var(--size-icon-xl)",
|
|
346
347
|
margin: "0 auto var(--space-formGap)"
|
|
347
|
-
} }), /* @__PURE__ */
|
|
348
|
+
} }), /* @__PURE__ */ D("p", {
|
|
348
349
|
style: {
|
|
349
350
|
fontSize: "var(--font-size-body-sm)",
|
|
350
351
|
color: "var(--color-text-muted)"
|
|
351
352
|
},
|
|
352
|
-
children:
|
|
353
|
+
children: M("bigconsole.dashboards.loading", "Loading dashboards...")
|
|
353
354
|
})]
|
|
354
355
|
})
|
|
355
356
|
}),
|
|
356
|
-
!
|
|
357
|
+
!H && B === "grid" && X.length > 0 && /* @__PURE__ */ D("div", {
|
|
357
358
|
style: {
|
|
358
359
|
display: "grid",
|
|
359
360
|
gridTemplateColumns: "repeat(auto-fill, minmax(min(320px, 100%), 1fr))",
|
|
360
361
|
gap: "var(--space-formGap)"
|
|
361
362
|
},
|
|
362
|
-
children:
|
|
363
|
+
children: $.map((e) => /* @__PURE__ */ D(w, {
|
|
363
364
|
onClick: () => Me(e.id),
|
|
364
365
|
style: {
|
|
365
366
|
cursor: "pointer",
|
|
366
367
|
transition: "all 0.2s ease"
|
|
367
368
|
},
|
|
368
369
|
className: "hover:shadow-md hover:border-primary/50",
|
|
369
|
-
children: /* @__PURE__ */
|
|
370
|
+
children: /* @__PURE__ */ O(T, {
|
|
370
371
|
style: { padding: "var(--space-cardPadding)" },
|
|
371
372
|
children: [
|
|
372
|
-
/* @__PURE__ */
|
|
373
|
+
/* @__PURE__ */ O("div", {
|
|
373
374
|
style: {
|
|
374
375
|
display: "flex",
|
|
375
376
|
alignItems: "center",
|
|
376
377
|
gap: "var(--space-controlGap)",
|
|
377
378
|
marginBottom: "var(--space-formGap)"
|
|
378
379
|
},
|
|
379
|
-
children: [/* @__PURE__ */
|
|
380
|
+
children: [/* @__PURE__ */ D("div", {
|
|
380
381
|
style: {
|
|
381
382
|
display: "flex",
|
|
382
383
|
height: "var(--size-controlHeight-lg)",
|
|
@@ -387,17 +388,17 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
387
388
|
borderRadius: "var(--radius-button)",
|
|
388
389
|
backgroundColor: "var(--color-action-primary-bg)"
|
|
389
390
|
},
|
|
390
|
-
children: /* @__PURE__ */
|
|
391
|
+
children: /* @__PURE__ */ D(_, { style: {
|
|
391
392
|
height: "var(--size-icon-md)",
|
|
392
393
|
width: "var(--size-icon-md)",
|
|
393
394
|
color: "var(--color-action-primary-text)"
|
|
394
395
|
} })
|
|
395
|
-
}), /* @__PURE__ */
|
|
396
|
+
}), /* @__PURE__ */ O("div", {
|
|
396
397
|
style: {
|
|
397
398
|
flex: 1,
|
|
398
399
|
minWidth: 0
|
|
399
400
|
},
|
|
400
|
-
children: [/* @__PURE__ */
|
|
401
|
+
children: [/* @__PURE__ */ D("h3", {
|
|
401
402
|
style: {
|
|
402
403
|
fontWeight: "var(--font-weight-bold)",
|
|
403
404
|
fontSize: "var(--font-size-body-md)",
|
|
@@ -408,7 +409,7 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
408
409
|
whiteSpace: "nowrap"
|
|
409
410
|
},
|
|
410
411
|
children: e.name
|
|
411
|
-
}), e.category && /* @__PURE__ */
|
|
412
|
+
}), e.category && /* @__PURE__ */ D(S, {
|
|
412
413
|
variant: "secondary",
|
|
413
414
|
style: {
|
|
414
415
|
marginTop: "var(--space-controlGap)",
|
|
@@ -420,7 +421,7 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
420
421
|
})]
|
|
421
422
|
})]
|
|
422
423
|
}),
|
|
423
|
-
/* @__PURE__ */
|
|
424
|
+
/* @__PURE__ */ D("p", {
|
|
424
425
|
style: {
|
|
425
426
|
fontSize: "var(--font-size-body-sm)",
|
|
426
427
|
lineHeight: "var(--font-lineHeight-normal)",
|
|
@@ -432,9 +433,9 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
432
433
|
WebkitBoxOrient: "vertical",
|
|
433
434
|
overflow: "hidden"
|
|
434
435
|
},
|
|
435
|
-
children: e.description ||
|
|
436
|
+
children: e.description || M("bigconsole.dashboards.card.noDescription", "No description provided")
|
|
436
437
|
}),
|
|
437
|
-
/* @__PURE__ */
|
|
438
|
+
/* @__PURE__ */ O("div", {
|
|
438
439
|
style: {
|
|
439
440
|
display: "flex",
|
|
440
441
|
alignItems: "center",
|
|
@@ -445,19 +446,19 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
445
446
|
borderRadius: "var(--radius-button)"
|
|
446
447
|
},
|
|
447
448
|
children: [
|
|
448
|
-
/* @__PURE__ */
|
|
449
|
+
/* @__PURE__ */ O("div", {
|
|
449
450
|
style: {
|
|
450
451
|
display: "flex",
|
|
451
452
|
alignItems: "center",
|
|
452
453
|
gap: "var(--space-iconGap)"
|
|
453
454
|
},
|
|
454
455
|
children: [
|
|
455
|
-
/* @__PURE__ */
|
|
456
|
+
/* @__PURE__ */ D(g, { style: {
|
|
456
457
|
height: "var(--size-icon-sm)",
|
|
457
458
|
width: "var(--size-icon-sm)",
|
|
458
459
|
color: "var(--color-action-primary-bg)"
|
|
459
460
|
} }),
|
|
460
|
-
/* @__PURE__ */
|
|
461
|
+
/* @__PURE__ */ D("span", {
|
|
461
462
|
style: {
|
|
462
463
|
fontSize: "var(--font-size-body-sm)",
|
|
463
464
|
fontWeight: "var(--font-weight-semibold)",
|
|
@@ -465,33 +466,33 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
465
466
|
},
|
|
466
467
|
children: Ve(e)
|
|
467
468
|
}),
|
|
468
|
-
/* @__PURE__ */
|
|
469
|
+
/* @__PURE__ */ D("span", {
|
|
469
470
|
style: {
|
|
470
471
|
fontSize: "var(--font-size-body-sm)",
|
|
471
472
|
color: "var(--color-text-muted)"
|
|
472
473
|
},
|
|
473
|
-
children:
|
|
474
|
+
children: M("bigconsole.dashboards.card.pages", "pages")
|
|
474
475
|
})
|
|
475
476
|
]
|
|
476
477
|
}),
|
|
477
|
-
/* @__PURE__ */
|
|
478
|
+
/* @__PURE__ */ D("div", { style: {
|
|
478
479
|
width: "1px",
|
|
479
480
|
height: "var(--size-icon-sm)",
|
|
480
481
|
backgroundColor: "var(--color-border)"
|
|
481
482
|
} }),
|
|
482
|
-
/* @__PURE__ */
|
|
483
|
+
/* @__PURE__ */ O("div", {
|
|
483
484
|
style: {
|
|
484
485
|
display: "flex",
|
|
485
486
|
alignItems: "center",
|
|
486
487
|
gap: "var(--space-iconGap)"
|
|
487
488
|
},
|
|
488
489
|
children: [
|
|
489
|
-
/* @__PURE__ */
|
|
490
|
+
/* @__PURE__ */ D(ae, { style: {
|
|
490
491
|
height: "var(--size-icon-sm)",
|
|
491
492
|
width: "var(--size-icon-sm)",
|
|
492
493
|
color: "var(--color-action-primary-bg)"
|
|
493
494
|
} }),
|
|
494
|
-
/* @__PURE__ */
|
|
495
|
+
/* @__PURE__ */ D("span", {
|
|
495
496
|
style: {
|
|
496
497
|
fontSize: "var(--font-size-body-sm)",
|
|
497
498
|
fontWeight: "var(--font-weight-semibold)",
|
|
@@ -499,18 +500,18 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
499
500
|
},
|
|
500
501
|
children: Be(e)
|
|
501
502
|
}),
|
|
502
|
-
/* @__PURE__ */
|
|
503
|
+
/* @__PURE__ */ D("span", {
|
|
503
504
|
style: {
|
|
504
505
|
fontSize: "var(--font-size-body-sm)",
|
|
505
506
|
color: "var(--color-text-muted)"
|
|
506
507
|
},
|
|
507
|
-
children:
|
|
508
|
+
children: M("bigconsole.dashboards.card.widgets", "widgets")
|
|
508
509
|
})
|
|
509
510
|
]
|
|
510
511
|
})
|
|
511
512
|
]
|
|
512
513
|
}),
|
|
513
|
-
/* @__PURE__ */
|
|
514
|
+
/* @__PURE__ */ O("div", {
|
|
514
515
|
style: {
|
|
515
516
|
display: "flex",
|
|
516
517
|
alignItems: "center",
|
|
@@ -518,17 +519,17 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
518
519
|
paddingTop: "var(--space-controlGap)",
|
|
519
520
|
borderTop: "1px solid var(--color-border)"
|
|
520
521
|
},
|
|
521
|
-
children: [/* @__PURE__ */
|
|
522
|
+
children: [/* @__PURE__ */ O("div", {
|
|
522
523
|
style: {
|
|
523
524
|
display: "flex",
|
|
524
525
|
alignItems: "center",
|
|
525
526
|
gap: "var(--space-iconGap)"
|
|
526
527
|
},
|
|
527
|
-
children: [/* @__PURE__ */
|
|
528
|
+
children: [/* @__PURE__ */ D(m, { style: {
|
|
528
529
|
height: "var(--size-icon-sm)",
|
|
529
530
|
width: "var(--size-icon-sm)",
|
|
530
531
|
color: "var(--color-text-muted)"
|
|
531
|
-
} }), /* @__PURE__ */
|
|
532
|
+
} }), /* @__PURE__ */ D("span", {
|
|
532
533
|
style: {
|
|
533
534
|
fontSize: "var(--font-size-body-sm)",
|
|
534
535
|
fontWeight: "var(--font-weight-medium)",
|
|
@@ -536,17 +537,17 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
536
537
|
},
|
|
537
538
|
children: ze(e.updatedAt)
|
|
538
539
|
})]
|
|
539
|
-
}), /* @__PURE__ */
|
|
540
|
+
}), /* @__PURE__ */ O("div", {
|
|
540
541
|
style: {
|
|
541
542
|
display: "flex",
|
|
542
543
|
alignItems: "center",
|
|
543
544
|
gap: "var(--space-controlGap)"
|
|
544
545
|
},
|
|
545
546
|
children: [
|
|
546
|
-
/* @__PURE__ */
|
|
547
|
+
/* @__PURE__ */ D(p, {
|
|
547
548
|
permission: r.DASHBOARD_UPDATE,
|
|
548
549
|
deniedBehavior: "hide",
|
|
549
|
-
children: /* @__PURE__ */
|
|
550
|
+
children: /* @__PURE__ */ D(C, {
|
|
550
551
|
variant: "ghost",
|
|
551
552
|
size: "sm",
|
|
552
553
|
onClick: (t) => Ne(e.id, t),
|
|
@@ -556,17 +557,17 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
556
557
|
padding: 0,
|
|
557
558
|
borderRadius: "var(--radius-button)"
|
|
558
559
|
},
|
|
559
|
-
title:
|
|
560
|
-
children: /* @__PURE__ */
|
|
560
|
+
title: M("bigconsole.dashboards.actions.editTitle", "Edit Dashboard"),
|
|
561
|
+
children: /* @__PURE__ */ D(v, { style: {
|
|
561
562
|
height: "var(--size-icon-sm)",
|
|
562
563
|
width: "var(--size-icon-sm)"
|
|
563
564
|
} })
|
|
564
565
|
})
|
|
565
566
|
}),
|
|
566
|
-
/* @__PURE__ */
|
|
567
|
+
/* @__PURE__ */ D(p, {
|
|
567
568
|
permission: r.DASHBOARD_CREATE,
|
|
568
569
|
deniedBehavior: "hide",
|
|
569
|
-
children: /* @__PURE__ */
|
|
570
|
+
children: /* @__PURE__ */ D(C, {
|
|
570
571
|
variant: "ghost",
|
|
571
572
|
size: "sm",
|
|
572
573
|
onClick: (t) => Fe(e.id, e.name, t),
|
|
@@ -576,17 +577,17 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
576
577
|
padding: 0,
|
|
577
578
|
borderRadius: "var(--radius-button)"
|
|
578
579
|
},
|
|
579
|
-
title:
|
|
580
|
-
children: /* @__PURE__ */
|
|
580
|
+
title: M("bigconsole.dashboards.actions.cloneTitle", "Clone Dashboard"),
|
|
581
|
+
children: /* @__PURE__ */ D(h, { style: {
|
|
581
582
|
height: "var(--size-icon-sm)",
|
|
582
583
|
width: "var(--size-icon-sm)"
|
|
583
584
|
} })
|
|
584
585
|
})
|
|
585
586
|
}),
|
|
586
|
-
/* @__PURE__ */
|
|
587
|
+
/* @__PURE__ */ D(p, {
|
|
587
588
|
permission: r.DASHBOARD_DELETE,
|
|
588
589
|
deniedBehavior: "hide",
|
|
589
|
-
children: /* @__PURE__ */
|
|
590
|
+
children: /* @__PURE__ */ D(C, {
|
|
590
591
|
variant: "ghost",
|
|
591
592
|
size: "sm",
|
|
592
593
|
onClick: (t) => Pe(e.id, t),
|
|
@@ -597,8 +598,8 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
597
598
|
borderRadius: "var(--radius-button)"
|
|
598
599
|
},
|
|
599
600
|
className: "hover:text-status-error-text hover:bg-status-error-bg/10",
|
|
600
|
-
title:
|
|
601
|
-
children: /* @__PURE__ */
|
|
601
|
+
title: M("bigconsole.dashboards.actions.deleteTitle", "Delete Dashboard"),
|
|
602
|
+
children: /* @__PURE__ */ D(b, { style: {
|
|
602
603
|
height: "var(--size-icon-sm)",
|
|
603
604
|
width: "var(--size-icon-sm)"
|
|
604
605
|
} })
|
|
@@ -611,22 +612,22 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
611
612
|
})
|
|
612
613
|
}, e.id))
|
|
613
614
|
}),
|
|
614
|
-
!
|
|
615
|
+
!H && B === "list" && X.length > 0 && /* @__PURE__ */ D("div", {
|
|
615
616
|
style: {
|
|
616
617
|
display: "flex",
|
|
617
618
|
flexDirection: "column",
|
|
618
619
|
gap: "var(--space-controlGap)"
|
|
619
620
|
},
|
|
620
|
-
children:
|
|
621
|
+
children: $.map((e) => /* @__PURE__ */ D(w, {
|
|
621
622
|
onClick: () => Me(e.id),
|
|
622
623
|
style: {
|
|
623
624
|
cursor: "pointer",
|
|
624
625
|
transition: "all 0.2s ease"
|
|
625
626
|
},
|
|
626
627
|
className: "hover:shadow-md hover:border-primary/50",
|
|
627
|
-
children: /* @__PURE__ */
|
|
628
|
+
children: /* @__PURE__ */ D(T, {
|
|
628
629
|
style: { padding: "var(--space-cardPadding)" },
|
|
629
|
-
children: /* @__PURE__ */
|
|
630
|
+
children: /* @__PURE__ */ O("div", {
|
|
630
631
|
style: {
|
|
631
632
|
display: "flex",
|
|
632
633
|
alignItems: "center",
|
|
@@ -634,7 +635,7 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
634
635
|
flexWrap: "wrap"
|
|
635
636
|
},
|
|
636
637
|
children: [
|
|
637
|
-
/* @__PURE__ */
|
|
638
|
+
/* @__PURE__ */ D("div", {
|
|
638
639
|
style: {
|
|
639
640
|
display: "flex",
|
|
640
641
|
height: "var(--size-controlHeight-lg)",
|
|
@@ -645,25 +646,25 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
645
646
|
borderRadius: "var(--radius-button)",
|
|
646
647
|
backgroundColor: "var(--color-action-primary-bg)"
|
|
647
648
|
},
|
|
648
|
-
children: /* @__PURE__ */
|
|
649
|
+
children: /* @__PURE__ */ D(_, { style: {
|
|
649
650
|
height: "var(--size-icon-md)",
|
|
650
651
|
width: "var(--size-icon-md)",
|
|
651
652
|
color: "var(--color-action-primary-text)"
|
|
652
653
|
} })
|
|
653
654
|
}),
|
|
654
|
-
/* @__PURE__ */
|
|
655
|
+
/* @__PURE__ */ O("div", {
|
|
655
656
|
style: {
|
|
656
657
|
flex: 1,
|
|
657
658
|
minWidth: "180px"
|
|
658
659
|
},
|
|
659
|
-
children: [/* @__PURE__ */
|
|
660
|
+
children: [/* @__PURE__ */ O("div", {
|
|
660
661
|
style: {
|
|
661
662
|
display: "flex",
|
|
662
663
|
alignItems: "center",
|
|
663
664
|
gap: "var(--space-controlGap)",
|
|
664
665
|
flexWrap: "wrap"
|
|
665
666
|
},
|
|
666
|
-
children: [/* @__PURE__ */
|
|
667
|
+
children: [/* @__PURE__ */ D("h3", {
|
|
667
668
|
style: {
|
|
668
669
|
fontWeight: "var(--font-weight-bold)",
|
|
669
670
|
fontSize: "var(--font-size-body-md)",
|
|
@@ -675,7 +676,7 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
675
676
|
maxWidth: "100%"
|
|
676
677
|
},
|
|
677
678
|
children: e.name
|
|
678
|
-
}), e.category && /* @__PURE__ */
|
|
679
|
+
}), e.category && /* @__PURE__ */ D(S, {
|
|
679
680
|
variant: "secondary",
|
|
680
681
|
style: {
|
|
681
682
|
fontSize: "10px",
|
|
@@ -684,7 +685,7 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
684
685
|
},
|
|
685
686
|
children: e.category
|
|
686
687
|
})]
|
|
687
|
-
}), /* @__PURE__ */
|
|
688
|
+
}), /* @__PURE__ */ D("p", {
|
|
688
689
|
style: {
|
|
689
690
|
fontSize: "var(--font-size-body-sm)",
|
|
690
691
|
lineHeight: "var(--font-lineHeight-normal)",
|
|
@@ -694,10 +695,10 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
694
695
|
textOverflow: "ellipsis",
|
|
695
696
|
whiteSpace: "nowrap"
|
|
696
697
|
},
|
|
697
|
-
children: e.description ||
|
|
698
|
+
children: e.description || M("bigconsole.dashboards.card.noDescription", "No description provided")
|
|
698
699
|
})]
|
|
699
700
|
}),
|
|
700
|
-
/* @__PURE__ */
|
|
701
|
+
/* @__PURE__ */ O("div", {
|
|
701
702
|
style: {
|
|
702
703
|
display: "flex",
|
|
703
704
|
alignItems: "center",
|
|
@@ -705,19 +706,19 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
705
706
|
flexWrap: "wrap"
|
|
706
707
|
},
|
|
707
708
|
children: [
|
|
708
|
-
/* @__PURE__ */
|
|
709
|
+
/* @__PURE__ */ O("div", {
|
|
709
710
|
style: {
|
|
710
711
|
display: "flex",
|
|
711
712
|
alignItems: "center",
|
|
712
713
|
gap: "var(--space-iconGap)"
|
|
713
714
|
},
|
|
714
715
|
children: [
|
|
715
|
-
/* @__PURE__ */
|
|
716
|
+
/* @__PURE__ */ D(g, { style: {
|
|
716
717
|
height: "var(--size-icon-sm)",
|
|
717
718
|
width: "var(--size-icon-sm)",
|
|
718
719
|
color: "var(--color-action-primary-bg)"
|
|
719
720
|
} }),
|
|
720
|
-
/* @__PURE__ */
|
|
721
|
+
/* @__PURE__ */ D("span", {
|
|
721
722
|
style: {
|
|
722
723
|
fontSize: "var(--font-size-body-sm)",
|
|
723
724
|
fontWeight: "var(--font-weight-semibold)",
|
|
@@ -725,28 +726,28 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
725
726
|
},
|
|
726
727
|
children: Ve(e)
|
|
727
728
|
}),
|
|
728
|
-
/* @__PURE__ */
|
|
729
|
+
/* @__PURE__ */ D("span", {
|
|
729
730
|
style: {
|
|
730
731
|
fontSize: "var(--font-size-body-sm)",
|
|
731
732
|
color: "var(--color-text-muted)"
|
|
732
733
|
},
|
|
733
|
-
children:
|
|
734
|
+
children: M("bigconsole.dashboards.card.pages", "pages")
|
|
734
735
|
})
|
|
735
736
|
]
|
|
736
737
|
}),
|
|
737
|
-
/* @__PURE__ */
|
|
738
|
+
/* @__PURE__ */ O("div", {
|
|
738
739
|
style: {
|
|
739
740
|
display: "flex",
|
|
740
741
|
alignItems: "center",
|
|
741
742
|
gap: "var(--space-iconGap)"
|
|
742
743
|
},
|
|
743
744
|
children: [
|
|
744
|
-
/* @__PURE__ */
|
|
745
|
+
/* @__PURE__ */ D(ae, { style: {
|
|
745
746
|
height: "var(--size-icon-sm)",
|
|
746
747
|
width: "var(--size-icon-sm)",
|
|
747
748
|
color: "var(--color-action-primary-bg)"
|
|
748
749
|
} }),
|
|
749
|
-
/* @__PURE__ */
|
|
750
|
+
/* @__PURE__ */ D("span", {
|
|
750
751
|
style: {
|
|
751
752
|
fontSize: "var(--font-size-body-sm)",
|
|
752
753
|
fontWeight: "var(--font-weight-semibold)",
|
|
@@ -754,26 +755,26 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
754
755
|
},
|
|
755
756
|
children: Be(e)
|
|
756
757
|
}),
|
|
757
|
-
/* @__PURE__ */
|
|
758
|
+
/* @__PURE__ */ D("span", {
|
|
758
759
|
style: {
|
|
759
760
|
fontSize: "var(--font-size-body-sm)",
|
|
760
761
|
color: "var(--color-text-muted)"
|
|
761
762
|
},
|
|
762
|
-
children:
|
|
763
|
+
children: M("bigconsole.dashboards.card.widgets", "widgets")
|
|
763
764
|
})
|
|
764
765
|
]
|
|
765
766
|
}),
|
|
766
|
-
/* @__PURE__ */
|
|
767
|
+
/* @__PURE__ */ O("div", {
|
|
767
768
|
style: {
|
|
768
769
|
display: "flex",
|
|
769
770
|
alignItems: "center",
|
|
770
771
|
gap: "var(--space-iconGap)"
|
|
771
772
|
},
|
|
772
|
-
children: [/* @__PURE__ */
|
|
773
|
+
children: [/* @__PURE__ */ D(m, { style: {
|
|
773
774
|
height: "var(--size-icon-sm)",
|
|
774
775
|
width: "var(--size-icon-sm)",
|
|
775
776
|
color: "var(--color-text-muted)"
|
|
776
|
-
} }), /* @__PURE__ */
|
|
777
|
+
} }), /* @__PURE__ */ D("span", {
|
|
777
778
|
style: {
|
|
778
779
|
fontSize: "var(--font-size-body-sm)",
|
|
779
780
|
fontWeight: "var(--font-weight-medium)",
|
|
@@ -784,17 +785,17 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
784
785
|
})
|
|
785
786
|
]
|
|
786
787
|
}),
|
|
787
|
-
/* @__PURE__ */
|
|
788
|
+
/* @__PURE__ */ O("div", {
|
|
788
789
|
style: {
|
|
789
790
|
display: "flex",
|
|
790
791
|
alignItems: "center",
|
|
791
792
|
gap: "var(--space-controlGap)"
|
|
792
793
|
},
|
|
793
794
|
children: [
|
|
794
|
-
/* @__PURE__ */
|
|
795
|
+
/* @__PURE__ */ D(p, {
|
|
795
796
|
permission: r.DASHBOARD_UPDATE,
|
|
796
797
|
deniedBehavior: "hide",
|
|
797
|
-
children: /* @__PURE__ */
|
|
798
|
+
children: /* @__PURE__ */ D(C, {
|
|
798
799
|
variant: "ghost",
|
|
799
800
|
size: "sm",
|
|
800
801
|
onClick: (t) => Ne(e.id, t),
|
|
@@ -804,17 +805,17 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
804
805
|
padding: 0,
|
|
805
806
|
borderRadius: "var(--radius-button)"
|
|
806
807
|
},
|
|
807
|
-
title:
|
|
808
|
-
children: /* @__PURE__ */
|
|
808
|
+
title: M("bigconsole.dashboards.actions.editTitle", "Edit Dashboard"),
|
|
809
|
+
children: /* @__PURE__ */ D(v, { style: {
|
|
809
810
|
height: "var(--size-icon-sm)",
|
|
810
811
|
width: "var(--size-icon-sm)"
|
|
811
812
|
} })
|
|
812
813
|
})
|
|
813
814
|
}),
|
|
814
|
-
/* @__PURE__ */
|
|
815
|
+
/* @__PURE__ */ D(p, {
|
|
815
816
|
permission: r.DASHBOARD_CREATE,
|
|
816
817
|
deniedBehavior: "hide",
|
|
817
|
-
children: /* @__PURE__ */
|
|
818
|
+
children: /* @__PURE__ */ D(C, {
|
|
818
819
|
variant: "ghost",
|
|
819
820
|
size: "sm",
|
|
820
821
|
onClick: (t) => Fe(e.id, e.name, t),
|
|
@@ -824,17 +825,17 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
824
825
|
padding: 0,
|
|
825
826
|
borderRadius: "var(--radius-button)"
|
|
826
827
|
},
|
|
827
|
-
title:
|
|
828
|
-
children: /* @__PURE__ */
|
|
828
|
+
title: M("bigconsole.dashboards.actions.cloneTitle", "Clone Dashboard"),
|
|
829
|
+
children: /* @__PURE__ */ D(h, { style: {
|
|
829
830
|
height: "var(--size-icon-sm)",
|
|
830
831
|
width: "var(--size-icon-sm)"
|
|
831
832
|
} })
|
|
832
833
|
})
|
|
833
834
|
}),
|
|
834
|
-
/* @__PURE__ */
|
|
835
|
+
/* @__PURE__ */ D(p, {
|
|
835
836
|
permission: r.DASHBOARD_DELETE,
|
|
836
837
|
deniedBehavior: "hide",
|
|
837
|
-
children: /* @__PURE__ */
|
|
838
|
+
children: /* @__PURE__ */ D(C, {
|
|
838
839
|
variant: "ghost",
|
|
839
840
|
size: "sm",
|
|
840
841
|
onClick: (t) => Pe(e.id, t),
|
|
@@ -845,8 +846,8 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
845
846
|
borderRadius: "var(--radius-button)"
|
|
846
847
|
},
|
|
847
848
|
className: "hover:text-status-error-text hover:bg-status-error-bg/10",
|
|
848
|
-
title:
|
|
849
|
-
children: /* @__PURE__ */
|
|
849
|
+
title: M("bigconsole.dashboards.actions.deleteTitle", "Delete Dashboard"),
|
|
850
|
+
children: /* @__PURE__ */ D(b, { style: {
|
|
850
851
|
height: "var(--size-icon-sm)",
|
|
851
852
|
width: "var(--size-icon-sm)"
|
|
852
853
|
} })
|
|
@@ -859,7 +860,7 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
859
860
|
})
|
|
860
861
|
}, e.id))
|
|
861
862
|
}),
|
|
862
|
-
!
|
|
863
|
+
!H && X.length > A && /* @__PURE__ */ O("div", {
|
|
863
864
|
style: {
|
|
864
865
|
display: "flex",
|
|
865
866
|
alignItems: "center",
|
|
@@ -869,30 +870,30 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
869
870
|
marginTop: "var(--space-sectionGap)"
|
|
870
871
|
},
|
|
871
872
|
children: [
|
|
872
|
-
/* @__PURE__ */
|
|
873
|
+
/* @__PURE__ */ O(C, {
|
|
873
874
|
variant: "outline",
|
|
874
875
|
size: "sm",
|
|
875
876
|
onClick: Te,
|
|
876
|
-
disabled:
|
|
877
|
-
"aria-label":
|
|
878
|
-
children: [/* @__PURE__ */
|
|
877
|
+
disabled: P <= 1,
|
|
878
|
+
"aria-label": M("bigconsole.dashboards.pagination.previous", "Previous"),
|
|
879
|
+
children: [/* @__PURE__ */ D(re, { style: {
|
|
879
880
|
marginRight: "var(--space-iconGap)",
|
|
880
881
|
height: "var(--size-icon-sm)",
|
|
881
882
|
width: "var(--size-icon-sm)"
|
|
882
|
-
} }),
|
|
883
|
+
} }), M("bigconsole.dashboards.pagination.previous", "Previous")]
|
|
883
884
|
}),
|
|
884
|
-
/* @__PURE__ */
|
|
885
|
+
/* @__PURE__ */ D("div", {
|
|
885
886
|
style: {
|
|
886
887
|
display: "flex",
|
|
887
888
|
alignItems: "center",
|
|
888
889
|
gap: "var(--space-iconGap)",
|
|
889
890
|
flexWrap: "wrap"
|
|
890
891
|
},
|
|
891
|
-
children: Array.from({ length:
|
|
892
|
-
variant: e ===
|
|
892
|
+
children: Array.from({ length: Z }, (e, t) => t + 1).map((e) => /* @__PURE__ */ D(C, {
|
|
893
|
+
variant: e === P ? "default" : "ghost",
|
|
893
894
|
size: "sm",
|
|
894
895
|
onClick: () => De(e),
|
|
895
|
-
"aria-current": e ===
|
|
896
|
+
"aria-current": e === P ? "page" : void 0,
|
|
896
897
|
style: {
|
|
897
898
|
minWidth: "var(--size-controlHeight-sm)",
|
|
898
899
|
height: "var(--size-controlHeight-sm)",
|
|
@@ -902,64 +903,67 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
902
903
|
children: e
|
|
903
904
|
}, e))
|
|
904
905
|
}),
|
|
905
|
-
/* @__PURE__ */
|
|
906
|
+
/* @__PURE__ */ O(C, {
|
|
906
907
|
variant: "outline",
|
|
907
908
|
size: "sm",
|
|
908
909
|
onClick: Ee,
|
|
909
|
-
disabled:
|
|
910
|
-
"aria-label":
|
|
911
|
-
children: [
|
|
910
|
+
disabled: P >= Z,
|
|
911
|
+
"aria-label": M("bigconsole.dashboards.pagination.next", "Next"),
|
|
912
|
+
children: [M("bigconsole.dashboards.pagination.next", "Next"), /* @__PURE__ */ D(ie, { style: {
|
|
912
913
|
marginLeft: "var(--space-iconGap)",
|
|
913
914
|
height: "var(--size-icon-sm)",
|
|
914
915
|
width: "var(--size-icon-sm)"
|
|
915
916
|
} })]
|
|
916
917
|
}),
|
|
917
|
-
/* @__PURE__ */
|
|
918
|
+
/* @__PURE__ */ D("span", {
|
|
918
919
|
style: {
|
|
919
920
|
fontSize: "var(--font-size-body-sm)",
|
|
920
921
|
color: "var(--color-text-muted)",
|
|
921
922
|
marginLeft: "var(--space-controlGap)"
|
|
922
923
|
},
|
|
923
|
-
children:
|
|
924
|
+
children: j("bigconsole.dashboards.pagination.pageOf", "Page {{currentPage}} of {{totalPages}}", {
|
|
925
|
+
currentPage: P,
|
|
926
|
+
totalPages: Z
|
|
927
|
+
})
|
|
924
928
|
})
|
|
925
929
|
]
|
|
926
930
|
}),
|
|
927
|
-
!
|
|
931
|
+
!H && X.length === 0 && /* @__PURE__ */ D(fe, {
|
|
928
932
|
treatment: "insight",
|
|
929
933
|
className: "border-border-seam",
|
|
930
|
-
children: /* @__PURE__ */
|
|
931
|
-
illustration:
|
|
932
|
-
title:
|
|
933
|
-
description:
|
|
934
|
-
action:
|
|
934
|
+
children: /* @__PURE__ */ D(me, {
|
|
935
|
+
illustration: N ? "empty-search" : "empty-data",
|
|
936
|
+
title: N ? M("bigconsole.dashboards.empty.filteredTitle", "No dashboards found") : M("bigconsole.dashboards.empty.title", "No dashboards yet"),
|
|
937
|
+
description: N ? M("bigconsole.dashboards.empty.filteredDescription", "Try adjusting your search terms") : M("bigconsole.dashboards.empty.description", "Get started by creating your first dashboard to visualize your data"),
|
|
938
|
+
action: N ? void 0 : /* @__PURE__ */ O("div", {
|
|
935
939
|
style: {
|
|
936
940
|
display: "flex",
|
|
937
941
|
gap: "var(--space-controlGap)",
|
|
938
942
|
flexWrap: "wrap",
|
|
939
943
|
justifyContent: "center"
|
|
940
944
|
},
|
|
941
|
-
children: [/* @__PURE__ */
|
|
945
|
+
children: [/* @__PURE__ */ D(p, {
|
|
942
946
|
permission: r.DASHBOARD_CREATE,
|
|
943
947
|
deniedBehavior: "hide",
|
|
944
|
-
children: /* @__PURE__ */
|
|
948
|
+
children: /* @__PURE__ */ O(C, {
|
|
945
949
|
onClick: Oe,
|
|
946
|
-
children: [/* @__PURE__ */
|
|
950
|
+
children: [/* @__PURE__ */ D(y, { style: {
|
|
947
951
|
marginRight: "var(--space-iconGap)",
|
|
948
952
|
height: "var(--size-icon-sm)",
|
|
949
953
|
width: "var(--size-icon-sm)"
|
|
950
|
-
} }),
|
|
954
|
+
} }), M("bigconsole.dashboards.actions.create", "Create Dashboard")]
|
|
951
955
|
})
|
|
952
|
-
}), /* @__PURE__ */
|
|
956
|
+
}), /* @__PURE__ */ D(p, {
|
|
953
957
|
permission: r.DASHBOARD_IMPORT,
|
|
954
958
|
deniedBehavior: "hide",
|
|
955
|
-
children: /* @__PURE__ */
|
|
959
|
+
children: /* @__PURE__ */ O(C, {
|
|
956
960
|
variant: "outline",
|
|
957
961
|
onClick: Ie,
|
|
958
|
-
children: [/* @__PURE__ */
|
|
962
|
+
children: [/* @__PURE__ */ D(x, { style: {
|
|
959
963
|
marginRight: "var(--space-iconGap)",
|
|
960
964
|
height: "var(--size-icon-sm)",
|
|
961
965
|
width: "var(--size-icon-sm)"
|
|
962
|
-
} }),
|
|
966
|
+
} }), M("bigconsole.dashboards.actions.importDashboard", "Import Dashboard")]
|
|
963
967
|
})
|
|
964
968
|
})]
|
|
965
969
|
})
|
|
@@ -967,25 +971,25 @@ var A = "bf-bigconsole-dashboards-view", j = 12, M = l(function() {
|
|
|
967
971
|
})
|
|
968
972
|
]
|
|
969
973
|
}),
|
|
970
|
-
/* @__PURE__ */
|
|
971
|
-
isOpen:
|
|
972
|
-
isCreating:
|
|
974
|
+
/* @__PURE__ */ D(i, {
|
|
975
|
+
isOpen: ve,
|
|
976
|
+
isCreating: L,
|
|
973
977
|
onClose: Ae,
|
|
974
978
|
onCreate: je,
|
|
975
979
|
onTemplateInstalled: ke
|
|
976
980
|
}),
|
|
977
|
-
/* @__PURE__ */
|
|
978
|
-
isOpen:
|
|
981
|
+
/* @__PURE__ */ D(a, {
|
|
982
|
+
isOpen: ye,
|
|
979
983
|
onClose: Le,
|
|
980
984
|
onSuccess: Re
|
|
981
985
|
})
|
|
982
986
|
]
|
|
983
|
-
}) : /* @__PURE__ */
|
|
987
|
+
}) : /* @__PURE__ */ D(te, {
|
|
984
988
|
title: "Access Denied",
|
|
985
989
|
description: "You don't have permission to view dashboards."
|
|
986
990
|
});
|
|
987
991
|
});
|
|
988
992
|
//#endregion
|
|
989
|
-
export {
|
|
993
|
+
export { j as DashboardsPage, j as default };
|
|
990
994
|
|
|
991
995
|
//# sourceMappingURL=DashboardsPage.js.map
|