@burdenoff/microfe-bigconsole 2026.1011.10 → 2026.1012.1
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/README.md +19 -0
- package/dist/bigconsole/BigConsoleRoot.js +88 -82
- package/dist/bigconsole/BigConsoleRoutes.js +163 -136
- package/dist/bigconsole/assistant/assistantProduct.js +1 -4
- package/dist/bigconsole/assistant/pageContext.d.ts +0 -14
- package/dist/bigconsole/assistant/pageContext.js +1 -6
- package/dist/bigconsole/assistant/recordAdapters.js +26 -27
- package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +31 -31
- package/dist/bigconsole/components/common/index.d.ts +0 -1
- package/dist/bigconsole/components/common/index.js +0 -1
- 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 +58 -57
- 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 +110 -110
- 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 +164 -173
- 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 +165 -163
- 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 +50 -51
- 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 +76 -77
- package/dist/bigconsole/components/preview/AiPreviewPanel.js +95 -96
- 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 +499 -507
- package/dist/bigconsole/components/widgets/WidgetRegistry.js +0 -1
- 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/custom/CustomWidget.js +73 -131
- 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/iframe-widget/IframeWidget.d.ts +28 -9
- package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.js +115 -42
- package/dist/bigconsole/components/widgets/iframe-widget/framePolicy.d.ts +20 -0
- package/dist/bigconsole/components/widgets/iframe-widget/framePolicy.js +10 -0
- package/dist/bigconsole/components/widgets/iframe-widget/index.d.ts +2 -1
- package/dist/bigconsole/components/widgets/iframe-widget/index.js +3 -2
- 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/text-widget/TextWidget.js +110 -27
- package/dist/bigconsole/components/widgets/text-widget/textData.d.ts +6 -0
- package/dist/bigconsole/components/widgets/text-widget/textData.js +17 -14
- 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/context/BigConsoleContext.d.ts +10 -0
- package/dist/bigconsole/context/BigConsoleContext.js +47 -30
- package/dist/bigconsole/context/index.d.ts +1 -1
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +58 -49
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +74 -72
- package/dist/bigconsole/customWidget/proposalPreview.d.ts +5 -0
- package/dist/bigconsole/customWidget/proposalPreview.js +31 -0
- package/dist/bigconsole/hooks/useDataSinkAlerts.d.ts +0 -23
- package/dist/bigconsole/hooks/useDataSinkAlerts.js +113 -138
- package/dist/bigconsole/hooks/useDataSinkOperations.d.ts +7 -0
- package/dist/bigconsole/hooks/useDataSinkOperations.js +109 -98
- package/dist/bigconsole/hooks/useDataSinkSubscription.js +0 -1
- package/dist/bigconsole/hooks/useDrilldown.js +68 -67
- package/dist/bigconsole/hooks/useExportDataSink.js +1 -1
- package/dist/bigconsole/hooks/useGlobalFilters.js +3 -3
- package/dist/bigconsole/hooks/useImportDataSink.js +102 -90
- package/dist/bigconsole/pages/AdminPage.js +130 -130
- package/dist/bigconsole/pages/DashboardBuilderPage.js +60 -72
- package/dist/bigconsole/pages/DashboardViewPage.js +235 -258
- package/dist/bigconsole/pages/DashboardsPage.js +221 -269
- package/dist/bigconsole/pages/DataParsersPage.js +157 -180
- package/dist/bigconsole/pages/DataSinkAlertsPage.js +55 -62
- package/dist/bigconsole/pages/DataSinkBuilderPage.js +318 -295
- package/dist/bigconsole/pages/DataSinkViewPage.js +256 -255
- package/dist/bigconsole/pages/DataSinksPage.js +216 -251
- package/dist/bigconsole/pages/DataSourcesPage.js +5 -5
- package/dist/bigconsole/pages/InsightsPage.js +265 -279
- package/dist/bigconsole/pages/OverviewPage.js +47 -47
- package/dist/bigconsole/pages/ParserBuilderPage.js +213 -229
- package/dist/bigconsole/pages/ParserViewPage.js +97 -97
- package/dist/bigconsole/pages/PipelineBuilderPage.js +214 -256
- package/dist/bigconsole/pages/PipelineViewPage.js +146 -146
- package/dist/bigconsole/pages/PipelinesPage.js +88 -107
- package/dist/bigconsole/pages/SettingsPage.js +173 -179
- 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 +235 -122
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.d.ts +6 -1
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +151 -151
- package/dist/bigconsole/renderers/adapters/CustomRenderer.js +46 -46
- package/dist/bigconsole/renderers/adapters/adaptiveCardContent.d.ts +29 -0
- package/dist/bigconsole/renderers/adapters/adaptiveCardContent.js +51 -0
- package/dist/bigconsole/store/widgetStore.d.ts +0 -12
- package/dist/bigconsole/store/widgetStore.js +1 -3
- package/dist/bigconsole/types/index.d.ts +17 -2
- package/dist/bigconsole/utils/backendError.d.ts +0 -18
- package/dist/bigconsole/utils/dataSinkPayload.d.ts +48 -0
- package/dist/bigconsole/utils/dataSinkPayload.js +38 -0
- package/dist/bigconsole/utils/index.d.ts +2 -0
- package/dist/bigconsole/utils/safeUrl.d.ts +79 -0
- package/dist/bigconsole/utils/safeUrl.js +93 -0
- package/dist/bigconsole/utils/sanitizeHtml.d.ts +16 -0
- package/dist/bigconsole/utils/sanitizeHtml.js +67 -0
- package/dist/bigconsole/workflowOpen.js +14 -15
- package/dist/generated/wspace-operations.d.ts +138 -8
- package/dist/generated/wspace-operations.js +281 -240
- package/dist/node_modules/dompurify/dist/purify.es.js +800 -0
- package/package.json +9 -5
- package/dist/bigconsole/assistant/displayCopy.d.ts +0 -32
- package/dist/bigconsole/assistant/pageControls.d.ts +0 -81
- package/dist/bigconsole/assistant/pageControls.js +0 -169
- package/dist/bigconsole/assistant/previewControl.d.ts +0 -16
- package/dist/bigconsole/assistant/previewControl.js +0 -10
- package/dist/bigconsole/assistant/usePreviewControl.d.ts +0 -2
- package/dist/bigconsole/assistant/usePreviewControl.js +0 -20
- package/dist/bigconsole/components/common/SortBySelect.d.ts +0 -11
- package/dist/bigconsole/components/common/SortBySelect.js +0 -29
- package/dist/bigconsole/constants/backendErrors.js +0 -94
- package/dist/bigconsole/hooks/useDashboardLayoutBaseline.d.ts +0 -14
- package/dist/bigconsole/hooks/useDashboardLayoutBaseline.js +0 -32
- package/dist/bigconsole/utils/backendError.js +0 -42
- package/dist/bigconsole/utils/dashboardList.d.ts +0 -28
- package/dist/bigconsole/utils/dashboardList.js +0 -15
- package/dist/bigconsole/utils/dataSinkList.d.ts +0 -15
- package/dist/bigconsole/utils/dataSinkList.js +0 -15
- package/dist/bigconsole/utils/formDirty.d.ts +0 -82
- package/dist/bigconsole/utils/formDirty.js +0 -21
- package/dist/bigconsole/utils/insightsDraft.d.ts +0 -29
- package/dist/bigconsole/utils/insightsDraft.js +0 -8
- package/dist/bigconsole/utils/layoutBaseline.d.ts +0 -130
- package/dist/bigconsole/utils/layoutBaseline.js +0 -96
- package/dist/bigconsole/utils/listSort.d.ts +0 -80
- package/dist/bigconsole/utils/listSort.js +0 -85
- package/dist/bigconsole/utils/widgetFormDirty.d.ts +0 -16
- package/dist/bigconsole/utils/widgetFormDirty.js +0 -13
|
@@ -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 ie, summarizeDataSinks as l } from "../components/overview/overviewModel.js";
|
|
12
|
+
import { useOverviewData as u } 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 d, useCallback as f, useEffect as p, useMemo as m, useRef as h, useState as g } from "react";
|
|
15
|
+
import { usePermissions as _ } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
16
|
+
import { Database as v, FileCode2 as y, LayoutDashboard as b, Plus as x, RefreshCw as ae, Sparkles as oe, Workflow as S } from "lucide-react";
|
|
17
|
+
import { AuroraBackground as se, Button as ce, GradientText as le, PagePurpose as ue } from "@burdenoff/fe-libs/ui";
|
|
18
|
+
import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
19
|
+
import { useI18n as E } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
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 = d(function() {
|
|
24
|
+
let d = e(), j = ee(), { locale: M } = E(), { hasPermission: N } = _(), { permissionsLoading: P, dashboards: F, dataSinks: I, parsers: L, pipelines: R, refetchAll: z } = u(), B = f((e) => d(e), [d]), V = m(() => ie(F.data), [F.data]), H = m(() => l(I.data), [I.data]), U = f((e) => ne(e, /* @__PURE__ */ new Date(), j, M), [j, M]), W = f((e) => !P && N(e), [P, N]), de = m(() => i({
|
|
25
25
|
tr: j,
|
|
26
26
|
latestDashboard: V.latest,
|
|
27
27
|
permissions: {
|
|
@@ -38,13 +38,13 @@ var j = f(function() {
|
|
|
38
38
|
j,
|
|
39
39
|
W,
|
|
40
40
|
V.latest
|
|
41
|
-
]), fe =
|
|
41
|
+
]), fe = m(() => r(j, W(t.PROMPT_CREATE)), [j, W]), G = m(() => [
|
|
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__ */ w(x, {
|
|
48
48
|
className: "size-4",
|
|
49
49
|
"aria-hidden": "true"
|
|
50
50
|
}),
|
|
@@ -57,7 +57,7 @@ var j = f(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__ */ w(v, {
|
|
61
61
|
className: "size-4",
|
|
62
62
|
"aria-hidden": "true"
|
|
63
63
|
}),
|
|
@@ -69,7 +69,7 @@ var j = f(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__ */ w(y, {
|
|
73
73
|
className: "size-4",
|
|
74
74
|
"aria-hidden": "true"
|
|
75
75
|
}),
|
|
@@ -81,7 +81,7 @@ var j = f(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__ */ w(S, {
|
|
85
85
|
className: "size-4",
|
|
86
86
|
"aria-hidden": "true"
|
|
87
87
|
}),
|
|
@@ -93,26 +93,26 @@ var j = f(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__ */ w(oe, {
|
|
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] = g(!1), q = h(!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
|
+
p(() => {
|
|
111
111
|
q.current || J === null || (q.current = !0, K(J));
|
|
112
112
|
}, [J]);
|
|
113
|
-
let me =
|
|
113
|
+
let me = f(() => {
|
|
114
114
|
q.current = !0, K((e) => !e);
|
|
115
|
-
}, []), he =
|
|
115
|
+
}, []), he = m(() => ({
|
|
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 = f(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__ */ w(s, {
|
|
130
130
|
actions: G,
|
|
131
131
|
onNavigate: B
|
|
132
|
-
}) : null, _e = I.allowed ? /* @__PURE__ */
|
|
132
|
+
}) : null, _e = I.allowed ? /* @__PURE__ */ w(o, {
|
|
133
133
|
summary: H,
|
|
134
134
|
loading: I.loading,
|
|
135
135
|
error: I.error,
|
|
@@ -138,22 +138,22 @@ var j = f(function() {
|
|
|
138
138
|
onNavigate: B,
|
|
139
139
|
formatUpdated: U
|
|
140
140
|
}) : null;
|
|
141
|
-
return /* @__PURE__ */
|
|
141
|
+
return /* @__PURE__ */ w(A, {
|
|
142
142
|
className: "min-h-screen bg-bg-canvas p-[var(--space-pagePadding)]",
|
|
143
|
-
children: /* @__PURE__ */
|
|
143
|
+
children: /* @__PURE__ */ T("div", {
|
|
144
144
|
"data-testid": "overview-page",
|
|
145
145
|
className: "space-y-6",
|
|
146
146
|
children: [
|
|
147
|
-
/* @__PURE__ */
|
|
147
|
+
/* @__PURE__ */ T("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__ */ w(se, { intensity: "subtle" }), /* @__PURE__ */ w(D, {
|
|
150
|
+
title: /* @__PURE__ */ T(C, { children: [
|
|
151
|
+
/* @__PURE__ */ w(le, { 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__ */ T(ce, {
|
|
157
157
|
type: "button",
|
|
158
158
|
variant: "outline",
|
|
159
159
|
size: "sm",
|
|
@@ -161,67 +161,67 @@ var j = f(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__ */ w(ae, {
|
|
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__ */ T(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__ */ w(O, {
|
|
178
178
|
variant: "fadeScale",
|
|
179
|
-
children: /* @__PURE__ */
|
|
179
|
+
children: /* @__PURE__ */ w(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__ */ w(b, {}),
|
|
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__ */
|
|
190
|
+
P || I.allowed ? /* @__PURE__ */ w(C, { children: /* @__PURE__ */ w(O, {
|
|
191
191
|
variant: "fadeScale",
|
|
192
|
-
children: /* @__PURE__ */
|
|
192
|
+
children: /* @__PURE__ */ w(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__ */ w(v, {}),
|
|
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__ */ w(O, {
|
|
204
204
|
variant: "fadeScale",
|
|
205
|
-
children: /* @__PURE__ */
|
|
205
|
+
children: /* @__PURE__ */ w(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__ */ w(y, {}),
|
|
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__ */ w(O, {
|
|
217
217
|
variant: "fadeScale",
|
|
218
|
-
children: /* @__PURE__ */
|
|
218
|
+
children: /* @__PURE__ */ w(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__ */ w(S, {}),
|
|
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 = f(function() {
|
|
|
230
230
|
]
|
|
231
231
|
}) : null,
|
|
232
232
|
$,
|
|
233
|
-
F.allowed ? /* @__PURE__ */
|
|
233
|
+
F.allowed ? /* @__PURE__ */ w(te, {
|
|
234
234
|
dashboards: V.recent,
|
|
235
235
|
loading: F.loading,
|
|
236
236
|
error: F.error,
|
|
@@ -240,12 +240,12 @@ var j = f(function() {
|
|
|
240
240
|
formatUpdated: U,
|
|
241
241
|
createDashboardPath: n
|
|
242
242
|
}) : null,
|
|
243
|
-
/* @__PURE__ */
|
|
244
|
-
icon: /* @__PURE__ */
|
|
243
|
+
/* @__PURE__ */ w(ue, {
|
|
244
|
+
icon: /* @__PURE__ */ w(b, { 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__ */ w(a, {
|
|
249
249
|
steps: de,
|
|
250
250
|
alternative: fe,
|
|
251
251
|
labels: he,
|