@burdenoff/microfe-bigconsole 2026.1012.4 → 2026.1012.5
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/BigConsoleRoutes.js +149 -140
- package/dist/bigconsole/assistant/assistantProduct.js +4 -1
- package/dist/bigconsole/assistant/displayCopy.d.ts +32 -0
- package/dist/bigconsole/assistant/pageContext.d.ts +14 -0
- package/dist/bigconsole/assistant/pageContext.js +6 -1
- package/dist/bigconsole/assistant/pageControls.d.ts +81 -0
- package/dist/bigconsole/assistant/pageControls.js +169 -0
- package/dist/bigconsole/assistant/previewControl.d.ts +16 -0
- package/dist/bigconsole/assistant/previewControl.js +10 -0
- package/dist/bigconsole/assistant/recordAdapters.js +27 -26
- package/dist/bigconsole/assistant/usePreviewControl.d.ts +2 -0
- package/dist/bigconsole/assistant/usePreviewControl.js +20 -0
- package/dist/bigconsole/components/builder/inspector/AppearanceSection.js +9 -9
- package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +31 -31
- package/dist/bigconsole/components/common/SortBySelect.d.ts +11 -0
- package/dist/bigconsole/components/common/SortBySelect.js +29 -0
- package/dist/bigconsole/components/common/index.d.ts +1 -0
- package/dist/bigconsole/components/common/index.js +1 -0
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +44 -44
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js +36 -36
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js +59 -59
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +15 -15
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +30 -30
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +41 -41
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +34 -34
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +34 -34
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +153 -153
- package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +21 -21
- package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +46 -46
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +134 -134
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +101 -101
- package/dist/bigconsole/components/dashboard/TemplateInstallOptions.js +31 -31
- package/dist/bigconsole/components/dashboard/TemplateLayoutPreview.js +15 -15
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -1
- package/dist/bigconsole/components/dashboard/WidgetPalette.js +46 -46
- package/dist/bigconsole/components/datasink/AlertExecutionHistory.js +37 -37
- package/dist/bigconsole/components/datasink/AlertRuleEditor.js +66 -66
- package/dist/bigconsole/components/datasink/CacheTTLSelector.js +35 -35
- package/dist/bigconsole/components/datasink/DataSinkCard.js +51 -50
- package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +18 -18
- package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +20 -20
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +47 -47
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +91 -91
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +35 -35
- package/dist/bigconsole/components/parser/DataSinkSelector.js +40 -40
- package/dist/bigconsole/components/parser/ImportParserDialog.js +120 -120
- package/dist/bigconsole/components/parser/ParserSelector.js +51 -51
- package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +10 -10
- package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js +77 -76
- package/dist/bigconsole/components/preview/AiPreviewPanel.js +96 -95
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js +4 -4
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +93 -93
- package/dist/bigconsole/components/widgets/PropertiesPanel.js +507 -499
- package/dist/bigconsole/components/widgets/advanced/AdvancedWidgetConfig.js +14 -14
- package/dist/bigconsole/components/widgets/advanced/AdvancedWidgets.js +68 -67
- package/dist/bigconsole/components/widgets/advanced/boxPlotDescription.d.ts +7 -0
- package/dist/bigconsole/components/widgets/advanced/boxPlotDescription.js +12 -0
- package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +4 -4
- package/dist/bigconsole/components/widgets/chart/ChartConfig.js +48 -48
- package/dist/bigconsole/components/widgets/comments/WidgetComments.js +46 -46
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +61 -61
- package/dist/bigconsole/components/widgets/form/FormWidget.js +36 -36
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +42 -42
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +25 -25
- package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +4 -4
- package/dist/bigconsole/components/widgets/list/ListConfig.js +30 -30
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +38 -38
- package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +9 -9
- package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +9 -9
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +49 -49
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +39 -39
- package/dist/bigconsole/components/widgets/table/TableConfig.js +73 -73
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +64 -64
- package/dist/bigconsole/components/workflow/WorkflowOpenGuard.js +15 -15
- package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +15 -15
- package/dist/bigconsole/constants/backendErrors.js +94 -0
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +10 -10
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +67 -67
- package/dist/bigconsole/hooks/useDashboardLayoutBaseline.d.ts +14 -0
- package/dist/bigconsole/hooks/useDashboardLayoutBaseline.js +32 -0
- package/dist/bigconsole/hooks/useDataSinkAlerts.d.ts +23 -0
- package/dist/bigconsole/hooks/useDataSinkAlerts.js +138 -113
- package/dist/bigconsole/hooks/useDrilldown.js +3 -3
- package/dist/bigconsole/hooks/useGlobalFilters.js +3 -3
- package/dist/bigconsole/pages/AdminPage.js +130 -130
- package/dist/bigconsole/pages/DashboardBuilderPage.js +72 -60
- package/dist/bigconsole/pages/DashboardViewPage.js +244 -221
- package/dist/bigconsole/pages/DashboardsPage.js +269 -221
- package/dist/bigconsole/pages/DataParsersPage.js +180 -157
- package/dist/bigconsole/pages/DataSinkAlertsPage.js +62 -55
- package/dist/bigconsole/pages/DataSinkBuilderPage.js +252 -234
- package/dist/bigconsole/pages/DataSinkViewPage.js +1 -1
- package/dist/bigconsole/pages/DataSinksPage.js +335 -299
- package/dist/bigconsole/pages/DataSourcesPage.js +5 -5
- package/dist/bigconsole/pages/InsightsPage.js +279 -265
- package/dist/bigconsole/pages/OverviewPage.js +47 -47
- package/dist/bigconsole/pages/ParserBuilderPage.js +229 -213
- package/dist/bigconsole/pages/ParserViewPage.js +97 -97
- package/dist/bigconsole/pages/PipelineBuilderPage.js +256 -214
- package/dist/bigconsole/pages/PipelineViewPage.js +146 -146
- package/dist/bigconsole/pages/PipelinesPage.js +107 -88
- package/dist/bigconsole/pages/SettingsPage.js +179 -173
- package/dist/bigconsole/pages/WidgetDemoPage.js +42 -42
- package/dist/bigconsole/pages/WorkflowViewPage.js +1 -1
- package/dist/bigconsole/pages/WorkflowsPage.js +141 -141
- package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +12 -12
- package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +34 -34
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +69 -69
- package/dist/bigconsole/renderers/adapters/CustomRenderer.js +46 -46
- package/dist/bigconsole/store/widgetStore.d.ts +12 -0
- package/dist/bigconsole/store/widgetStore.js +3 -1
- package/dist/bigconsole/utils/backendError.d.ts +18 -0
- package/dist/bigconsole/utils/backendError.js +42 -0
- package/dist/bigconsole/utils/dashboardList.d.ts +28 -0
- package/dist/bigconsole/utils/dashboardList.js +15 -0
- package/dist/bigconsole/utils/dataSinkList.d.ts +15 -0
- package/dist/bigconsole/utils/dataSinkList.js +15 -0
- package/dist/bigconsole/utils/formDirty.d.ts +82 -0
- package/dist/bigconsole/utils/formDirty.js +21 -0
- package/dist/bigconsole/utils/insightsDraft.d.ts +29 -0
- package/dist/bigconsole/utils/insightsDraft.js +8 -0
- package/dist/bigconsole/utils/layoutBaseline.d.ts +130 -0
- package/dist/bigconsole/utils/layoutBaseline.js +96 -0
- package/dist/bigconsole/utils/listSort.d.ts +80 -0
- package/dist/bigconsole/utils/listSort.js +85 -0
- package/dist/bigconsole/utils/widgetFormDirty.d.ts +16 -0
- package/dist/bigconsole/utils/widgetFormDirty.js +13 -0
- package/dist/bigconsole/workflowOpen.js +15 -14
- package/package.json +3 -3
|
@@ -8,20 +8,20 @@ import o from "../components/overview/DataHealthCard.js";
|
|
|
8
8
|
import s from "../components/overview/OverviewQuickActions.js";
|
|
9
9
|
import c from "../components/overview/OverviewStatCard.js";
|
|
10
10
|
import te from "../components/overview/RecentDashboardsPanel.js";
|
|
11
|
-
import { formatRelativeTime as ne, resolveGuideDefaultExpanded as re, summarizeDashboards as
|
|
12
|
-
import { useOverviewData as
|
|
11
|
+
import { formatRelativeTime as ne, resolveGuideDefaultExpanded as re, summarizeDashboards as l, summarizeDataSinks as u } from "../components/overview/overviewModel.js";
|
|
12
|
+
import { useOverviewData as d } from "../components/overview/useOverviewData.js";
|
|
13
13
|
import "../components/overview/index.js";
|
|
14
|
-
import { memo as
|
|
15
|
-
import { usePermissions as
|
|
16
|
-
import { Database as
|
|
17
|
-
import { AuroraBackground as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
14
|
+
import { memo as f, useCallback as p, useEffect as m, useMemo as h, useRef as g, useState as _ } from "react";
|
|
15
|
+
import { usePermissions as v } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
16
|
+
import { Database as y, FileCode2 as b, LayoutDashboard as x, Plus as S, RefreshCw as ie, Sparkles as ae, Workflow as C } from "lucide-react";
|
|
17
|
+
import { AuroraBackground as oe, Button as se, GradientText as ce, PagePurpose as le } from "@burdenoff/fe-libs/ui";
|
|
18
|
+
import { useI18n as ue } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
19
|
+
import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
20
20
|
import { PageHeader as D } from "@burdenoff/fe-libs/chrome";
|
|
21
21
|
import { MotionItem as O, MotionList as k, MotionPage as A } from "@burdenoff/fe-libs/shared/motion";
|
|
22
22
|
//#region src/bigconsole/pages/OverviewPage.tsx
|
|
23
|
-
var j =
|
|
24
|
-
let
|
|
23
|
+
var j = f(function() {
|
|
24
|
+
let f = e(), j = ee(), { locale: M } = ue(), { hasPermission: N } = v(), { permissionsLoading: P, dashboards: F, dataSinks: I, parsers: L, pipelines: R, refetchAll: z } = d(), B = p((e) => f(e), [f]), V = h(() => l(F.data), [F.data]), H = h(() => u(I.data), [I.data]), U = p((e) => ne(e, /* @__PURE__ */ new Date(), j, M), [j, M]), W = p((e) => !P && N(e), [P, N]), de = h(() => i({
|
|
25
25
|
tr: j,
|
|
26
26
|
latestDashboard: V.latest,
|
|
27
27
|
permissions: {
|
|
@@ -38,13 +38,13 @@ var j = d(function() {
|
|
|
38
38
|
j,
|
|
39
39
|
W,
|
|
40
40
|
V.latest
|
|
41
|
-
]), fe =
|
|
41
|
+
]), fe = h(() => r(j, W(t.PROMPT_CREATE)), [j, W]), G = h(() => [
|
|
42
42
|
{
|
|
43
43
|
permission: t.DASHBOARD_CREATE,
|
|
44
44
|
action: {
|
|
45
45
|
id: "create-dashboard",
|
|
46
46
|
label: j("bigconsole.overview.actions.createDashboard", "Create Dashboard"),
|
|
47
|
-
icon: /* @__PURE__ */
|
|
47
|
+
icon: /* @__PURE__ */ T(S, {
|
|
48
48
|
className: "size-4",
|
|
49
49
|
"aria-hidden": "true"
|
|
50
50
|
}),
|
|
@@ -57,7 +57,7 @@ var j = d(function() {
|
|
|
57
57
|
action: {
|
|
58
58
|
id: "new-data-sink",
|
|
59
59
|
label: j("bigconsole.overview.actions.newDataSink", "New Data Sink"),
|
|
60
|
-
icon: /* @__PURE__ */
|
|
60
|
+
icon: /* @__PURE__ */ T(y, {
|
|
61
61
|
className: "size-4",
|
|
62
62
|
"aria-hidden": "true"
|
|
63
63
|
}),
|
|
@@ -69,7 +69,7 @@ var j = d(function() {
|
|
|
69
69
|
action: {
|
|
70
70
|
id: "new-parser",
|
|
71
71
|
label: j("bigconsole.overview.actions.newParser", "New Parser"),
|
|
72
|
-
icon: /* @__PURE__ */
|
|
72
|
+
icon: /* @__PURE__ */ T(b, {
|
|
73
73
|
className: "size-4",
|
|
74
74
|
"aria-hidden": "true"
|
|
75
75
|
}),
|
|
@@ -81,7 +81,7 @@ var j = d(function() {
|
|
|
81
81
|
action: {
|
|
82
82
|
id: "new-pipeline",
|
|
83
83
|
label: j("bigconsole.overview.actions.newPipeline", "New Pipeline"),
|
|
84
|
-
icon: /* @__PURE__ */
|
|
84
|
+
icon: /* @__PURE__ */ T(C, {
|
|
85
85
|
className: "size-4",
|
|
86
86
|
"aria-hidden": "true"
|
|
87
87
|
}),
|
|
@@ -93,26 +93,26 @@ var j = d(function() {
|
|
|
93
93
|
action: {
|
|
94
94
|
id: "generate-with-ai",
|
|
95
95
|
label: j("bigconsole.overview.actions.generateWithAi", "Generate with AI Insights"),
|
|
96
|
-
icon: /* @__PURE__ */
|
|
96
|
+
icon: /* @__PURE__ */ T(ae, {
|
|
97
97
|
className: "size-4",
|
|
98
98
|
"aria-hidden": "true"
|
|
99
99
|
}),
|
|
100
100
|
path: "/insights"
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
].filter(({ permission: e }) => W(e)).map(({ action: e }) => e), [j, W]), [pe, K] =
|
|
103
|
+
].filter(({ permission: e }) => W(e)).map(({ action: e }) => e), [j, W]), [pe, K] = _(!1), q = g(!1), J = re({
|
|
104
104
|
permissionsLoading: P,
|
|
105
105
|
dashboardsAllowed: F.allowed,
|
|
106
106
|
dashboardsLoading: F.loading,
|
|
107
107
|
dashboardsTotal: V.total,
|
|
108
108
|
dashboardsFailed: !!F.error
|
|
109
109
|
});
|
|
110
|
-
|
|
110
|
+
m(() => {
|
|
111
111
|
q.current || J === null || (q.current = !0, K(J));
|
|
112
112
|
}, [J]);
|
|
113
|
-
let me =
|
|
113
|
+
let me = p(() => {
|
|
114
114
|
q.current = !0, K((e) => !e);
|
|
115
|
-
}, []), he =
|
|
115
|
+
}, []), he = h(() => ({
|
|
116
116
|
title: j("bigconsole.overview.guide.title", "How to create a complete dashboard, end to end"),
|
|
117
117
|
subtitle: j("bigconsole.overview.guide.subtitle", "Follow these steps in order — each button takes you to the right place."),
|
|
118
118
|
show: j("bigconsole.overview.guide.show", "Show guide"),
|
|
@@ -126,10 +126,10 @@ var j = d(function() {
|
|
|
126
126
|
j("bigconsole.overview.guide.flow.share", "Share")
|
|
127
127
|
],
|
|
128
128
|
stepPrefix: (e) => j("bigconsole.overview.guide.stepPrefix", "Step {{number}}:", { number: e })
|
|
129
|
-
}), [j]), Y = F.loading && F.data !== void 0 || I.loading && I.data !== void 0 || L.loading && L.data !== void 0 || R.loading && R.data !== void 0, ge = P || F.allowed || I.allowed || L.allowed || R.allowed, X = !F.loading && !!F.error && V.total === void 0, Z = !I.loading && !!I.error && H.total === void 0, Q = j("bigconsole.overview.kpis.unavailable", "Currently unavailable"), $ = G.length > 0 ? /* @__PURE__ */
|
|
129
|
+
}), [j]), Y = F.loading && F.data !== void 0 || I.loading && I.data !== void 0 || L.loading && L.data !== void 0 || R.loading && R.data !== void 0, ge = P || F.allowed || I.allowed || L.allowed || R.allowed, X = !F.loading && !!F.error && V.total === void 0, Z = !I.loading && !!I.error && H.total === void 0, Q = j("bigconsole.overview.kpis.unavailable", "Currently unavailable"), $ = G.length > 0 ? /* @__PURE__ */ T(s, {
|
|
130
130
|
actions: G,
|
|
131
131
|
onNavigate: B
|
|
132
|
-
}) : null, _e = I.allowed ? /* @__PURE__ */
|
|
132
|
+
}) : null, _e = I.allowed ? /* @__PURE__ */ T(o, {
|
|
133
133
|
summary: H,
|
|
134
134
|
loading: I.loading,
|
|
135
135
|
error: I.error,
|
|
@@ -138,22 +138,22 @@ var j = d(function() {
|
|
|
138
138
|
onNavigate: B,
|
|
139
139
|
formatUpdated: U
|
|
140
140
|
}) : null;
|
|
141
|
-
return /* @__PURE__ */
|
|
141
|
+
return /* @__PURE__ */ T(A, {
|
|
142
142
|
className: "min-h-screen bg-bg-canvas p-[var(--space-pagePadding)]",
|
|
143
|
-
children: /* @__PURE__ */
|
|
143
|
+
children: /* @__PURE__ */ E("div", {
|
|
144
144
|
"data-testid": "overview-page",
|
|
145
145
|
className: "space-y-6",
|
|
146
146
|
children: [
|
|
147
|
-
/* @__PURE__ */
|
|
147
|
+
/* @__PURE__ */ E("div", {
|
|
148
148
|
className: "relative overflow-hidden rounded-card border border-border-subtle bg-bg-surface px-6 py-5",
|
|
149
|
-
children: [/* @__PURE__ */
|
|
150
|
-
title: /* @__PURE__ */
|
|
151
|
-
/* @__PURE__ */
|
|
149
|
+
children: [/* @__PURE__ */ T(oe, { intensity: "subtle" }), /* @__PURE__ */ T(D, {
|
|
150
|
+
title: /* @__PURE__ */ E(w, { children: [
|
|
151
|
+
/* @__PURE__ */ T(ce, { children: j("bigconsole.overview.titleNoun", "BigConsole") }),
|
|
152
152
|
" ",
|
|
153
153
|
j("bigconsole.overview.titleSuffix", "Overview")
|
|
154
154
|
] }),
|
|
155
155
|
description: j("bigconsole.overview.description", "Your dashboards and data at a glance"),
|
|
156
|
-
actions: /* @__PURE__ */
|
|
156
|
+
actions: /* @__PURE__ */ E(se, {
|
|
157
157
|
type: "button",
|
|
158
158
|
variant: "outline",
|
|
159
159
|
size: "sm",
|
|
@@ -161,67 +161,67 @@ var j = d(function() {
|
|
|
161
161
|
disabled: Y || P,
|
|
162
162
|
className: "min-h-11 sm:min-h-9",
|
|
163
163
|
"data-testid": "overview-refresh",
|
|
164
|
-
children: [/* @__PURE__ */
|
|
164
|
+
children: [/* @__PURE__ */ T(ie, {
|
|
165
165
|
className: `size-4 ${Y ? "motion-safe:animate-spin" : ""}`,
|
|
166
166
|
"aria-hidden": "true"
|
|
167
167
|
}), j("bigconsole.overview.refresh", "Refresh")]
|
|
168
168
|
})
|
|
169
169
|
})]
|
|
170
170
|
}),
|
|
171
|
-
ge ? /* @__PURE__ */
|
|
171
|
+
ge ? /* @__PURE__ */ E(k, {
|
|
172
172
|
"data-tour": "bigconsole-overview-stats",
|
|
173
173
|
"data-testid": "overview-kpis",
|
|
174
174
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-4",
|
|
175
175
|
stagger: .06,
|
|
176
176
|
children: [
|
|
177
|
-
P || F.allowed ? /* @__PURE__ */
|
|
177
|
+
P || F.allowed ? /* @__PURE__ */ T(O, {
|
|
178
178
|
variant: "fadeScale",
|
|
179
|
-
children: /* @__PURE__ */
|
|
179
|
+
children: /* @__PURE__ */ T(c, {
|
|
180
180
|
title: j("bigconsole.overview.kpis.dashboards", "Dashboards"),
|
|
181
181
|
value: V.total,
|
|
182
182
|
loading: P || F.loading,
|
|
183
183
|
subtitle: X ? Q : j("bigconsole.overview.kpis.dashboardsSubtitle", "Across this workspace"),
|
|
184
|
-
icon: /* @__PURE__ */
|
|
184
|
+
icon: /* @__PURE__ */ T(x, {}),
|
|
185
185
|
variant: X ? "warning" : "default",
|
|
186
186
|
onClick: () => B("/dashboards"),
|
|
187
187
|
"data-testid": "overview-kpi-dashboards"
|
|
188
188
|
})
|
|
189
189
|
}) : null,
|
|
190
|
-
P || I.allowed ? /* @__PURE__ */ w
|
|
190
|
+
P || I.allowed ? /* @__PURE__ */ T(w, { children: /* @__PURE__ */ T(O, {
|
|
191
191
|
variant: "fadeScale",
|
|
192
|
-
children: /* @__PURE__ */
|
|
192
|
+
children: /* @__PURE__ */ T(c, {
|
|
193
193
|
title: j("bigconsole.overview.kpis.dataSinks", "Data Sinks"),
|
|
194
194
|
value: H.total,
|
|
195
195
|
loading: P || I.loading,
|
|
196
196
|
subtitle: Z ? Q : H.ready === void 0 ? void 0 : j("bigconsole.overview.kpis.dataSinksReady", "{{count}} ready", { count: H.ready }),
|
|
197
|
-
icon: /* @__PURE__ */
|
|
197
|
+
icon: /* @__PURE__ */ T(y, {}),
|
|
198
198
|
variant: Z ? "warning" : "default",
|
|
199
199
|
onClick: () => B("/datasinks"),
|
|
200
200
|
"data-testid": "overview-kpi-data-sinks"
|
|
201
201
|
})
|
|
202
202
|
}) }) : null,
|
|
203
|
-
P || L.allowed ? /* @__PURE__ */
|
|
203
|
+
P || L.allowed ? /* @__PURE__ */ T(O, {
|
|
204
204
|
variant: "fadeScale",
|
|
205
|
-
children: /* @__PURE__ */
|
|
205
|
+
children: /* @__PURE__ */ T(c, {
|
|
206
206
|
title: j("bigconsole.overview.kpis.parsers", "Parsers"),
|
|
207
207
|
value: L.data?.listParsers.totalCount,
|
|
208
208
|
loading: P || L.loading,
|
|
209
209
|
subtitle: L.error ? Q : j("bigconsole.overview.kpis.defaultConsole", "In the default console"),
|
|
210
|
-
icon: /* @__PURE__ */
|
|
210
|
+
icon: /* @__PURE__ */ T(b, {}),
|
|
211
211
|
variant: L.error ? "warning" : "default",
|
|
212
212
|
onClick: () => B("/parsers"),
|
|
213
213
|
"data-testid": "overview-kpi-parsers"
|
|
214
214
|
})
|
|
215
215
|
}) : null,
|
|
216
|
-
P || R.allowed ? /* @__PURE__ */
|
|
216
|
+
P || R.allowed ? /* @__PURE__ */ T(O, {
|
|
217
217
|
variant: "fadeScale",
|
|
218
|
-
children: /* @__PURE__ */
|
|
218
|
+
children: /* @__PURE__ */ T(c, {
|
|
219
219
|
title: j("bigconsole.overview.kpis.pipelines", "Pipelines"),
|
|
220
220
|
value: R.data?.listPipelines.totalCount,
|
|
221
221
|
loading: P || R.loading,
|
|
222
222
|
valueSuffix: (R.data?.listPipelines.totalCount ?? 0) >= 25 ? "+" : void 0,
|
|
223
223
|
subtitle: R.error ? Q : j("bigconsole.overview.kpis.defaultConsole", "In the default console"),
|
|
224
|
-
icon: /* @__PURE__ */
|
|
224
|
+
icon: /* @__PURE__ */ T(C, {}),
|
|
225
225
|
variant: R.error ? "warning" : "default",
|
|
226
226
|
onClick: () => B("/pipelines"),
|
|
227
227
|
"data-testid": "overview-kpi-pipelines"
|
|
@@ -230,7 +230,7 @@ var j = d(function() {
|
|
|
230
230
|
]
|
|
231
231
|
}) : null,
|
|
232
232
|
$,
|
|
233
|
-
F.allowed ? /* @__PURE__ */
|
|
233
|
+
F.allowed ? /* @__PURE__ */ T(te, {
|
|
234
234
|
dashboards: V.recent,
|
|
235
235
|
loading: F.loading,
|
|
236
236
|
error: F.error,
|
|
@@ -240,12 +240,12 @@ var j = d(function() {
|
|
|
240
240
|
formatUpdated: U,
|
|
241
241
|
createDashboardPath: n
|
|
242
242
|
}) : null,
|
|
243
|
-
/* @__PURE__ */
|
|
244
|
-
icon: /* @__PURE__ */
|
|
243
|
+
/* @__PURE__ */ T(le, {
|
|
244
|
+
icon: /* @__PURE__ */ T(x, { className: "size-4" }),
|
|
245
245
|
className: "max-w-[80ch]",
|
|
246
246
|
children: j("bigconsole.overview.purpose", "Bring data into a Data Sink, optionally reshape it with a Parser, and turn it into live dashboards your team can share.")
|
|
247
247
|
}),
|
|
248
|
-
/* @__PURE__ */
|
|
248
|
+
/* @__PURE__ */ T(a, {
|
|
249
249
|
steps: de,
|
|
250
250
|
alternative: fe,
|
|
251
251
|
labels: he,
|