@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
|
@@ -5,141 +5,142 @@ import n from "../hooks/usePipelineOperations.js";
|
|
|
5
5
|
import { BIGCONSOLE_PERMISSIONS as r } from "../../constants/permissions.js";
|
|
6
6
|
import { isNative as i, nativeNotify as a } from "../../utils/nativeBridge.js";
|
|
7
7
|
import o from "../components/pipeline/PipelineStatusBadge.js";
|
|
8
|
-
import
|
|
9
|
-
import { memo as
|
|
10
|
-
import { useParams as
|
|
11
|
-
import { AccessDenied as
|
|
12
|
-
import { usePermissions as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
8
|
+
import ee from "../components/pipeline/PipelineDeleteDialog.js";
|
|
9
|
+
import { memo as s, useCallback as c, useEffect as l, useState as u } from "react";
|
|
10
|
+
import { useParams as te, useSearchParams as ne } from "react-router";
|
|
11
|
+
import { AccessDenied as d } from "@burdenoff/fe-libs/shared/components";
|
|
12
|
+
import { usePermissions as f } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
13
|
+
import { useI18n as p } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
14
|
+
import { GlassCard as m, IllustratedEmptyState as h, NextSteps as g, PagePurpose as re } from "@burdenoff/fe-libs/ui";
|
|
15
|
+
import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
15
16
|
//#region src/bigconsole/pages/PipelineViewPage.tsx
|
|
16
|
-
var
|
|
17
|
+
var b = ({ className: e }) => /* @__PURE__ */ v("svg", {
|
|
17
18
|
className: e,
|
|
18
19
|
fill: "none",
|
|
19
20
|
stroke: "currentColor",
|
|
20
21
|
viewBox: "0 0 24 24",
|
|
21
|
-
children: /* @__PURE__ */
|
|
22
|
+
children: /* @__PURE__ */ v("path", {
|
|
22
23
|
strokeLinecap: "round",
|
|
23
24
|
strokeLinejoin: "round",
|
|
24
25
|
strokeWidth: 2,
|
|
25
26
|
d: "M10 19l-7-7m0 0l7-7m-7 7h18"
|
|
26
27
|
})
|
|
27
|
-
}),
|
|
28
|
+
}), x = ({ className: e }) => /* @__PURE__ */ v("svg", {
|
|
28
29
|
className: e,
|
|
29
30
|
fill: "none",
|
|
30
31
|
stroke: "currentColor",
|
|
31
32
|
viewBox: "0 0 24 24",
|
|
32
|
-
children: /* @__PURE__ */
|
|
33
|
+
children: /* @__PURE__ */ v("path", {
|
|
33
34
|
strokeLinecap: "round",
|
|
34
35
|
strokeLinejoin: "round",
|
|
35
36
|
strokeWidth: 2,
|
|
36
37
|
d: "M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"
|
|
37
38
|
})
|
|
38
|
-
}),
|
|
39
|
+
}), S = ({ className: e }) => /* @__PURE__ */ v("svg", {
|
|
39
40
|
className: e,
|
|
40
41
|
fill: "none",
|
|
41
42
|
stroke: "currentColor",
|
|
42
43
|
viewBox: "0 0 24 24",
|
|
43
|
-
children: /* @__PURE__ */
|
|
44
|
+
children: /* @__PURE__ */ v("path", {
|
|
44
45
|
strokeLinecap: "round",
|
|
45
46
|
strokeLinejoin: "round",
|
|
46
47
|
strokeWidth: 2,
|
|
47
48
|
d: "M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
|
|
48
49
|
})
|
|
49
|
-
}),
|
|
50
|
+
}), C = ({ className: e }) => /* @__PURE__ */ y("svg", {
|
|
50
51
|
className: e,
|
|
51
52
|
fill: "none",
|
|
52
53
|
stroke: "currentColor",
|
|
53
54
|
viewBox: "0 0 24 24",
|
|
54
|
-
children: [/* @__PURE__ */
|
|
55
|
+
children: [/* @__PURE__ */ v("path", {
|
|
55
56
|
strokeLinecap: "round",
|
|
56
57
|
strokeLinejoin: "round",
|
|
57
58
|
strokeWidth: 2,
|
|
58
59
|
d: "M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"
|
|
59
|
-
}), /* @__PURE__ */
|
|
60
|
+
}), /* @__PURE__ */ v("path", {
|
|
60
61
|
strokeLinecap: "round",
|
|
61
62
|
strokeLinejoin: "round",
|
|
62
63
|
strokeWidth: 2,
|
|
63
64
|
d: "M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
|
|
64
65
|
})]
|
|
65
|
-
}),
|
|
66
|
+
}), w = ({ className: e }) => /* @__PURE__ */ v("svg", {
|
|
66
67
|
className: e,
|
|
67
68
|
fill: "none",
|
|
68
69
|
stroke: "currentColor",
|
|
69
70
|
viewBox: "0 0 24 24",
|
|
70
|
-
children: /* @__PURE__ */
|
|
71
|
+
children: /* @__PURE__ */ v("path", {
|
|
71
72
|
strokeLinecap: "round",
|
|
72
73
|
strokeLinejoin: "round",
|
|
73
74
|
strokeWidth: 2,
|
|
74
75
|
d: "M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
|
|
75
76
|
})
|
|
76
|
-
}),
|
|
77
|
+
}), T = ({ className: e }) => /* @__PURE__ */ v("svg", {
|
|
77
78
|
className: e,
|
|
78
79
|
fill: "none",
|
|
79
80
|
stroke: "currentColor",
|
|
80
81
|
viewBox: "0 0 24 24",
|
|
81
|
-
children: /* @__PURE__ */
|
|
82
|
+
children: /* @__PURE__ */ v("path", {
|
|
82
83
|
strokeLinecap: "round",
|
|
83
84
|
strokeLinejoin: "round",
|
|
84
85
|
strokeWidth: 2,
|
|
85
86
|
d: "M5 13l4 4L19 7"
|
|
86
87
|
})
|
|
87
|
-
}),
|
|
88
|
+
}), E = ({ className: e }) => /* @__PURE__ */ v("svg", {
|
|
88
89
|
className: e,
|
|
89
90
|
fill: "none",
|
|
90
91
|
stroke: "currentColor",
|
|
91
92
|
viewBox: "0 0 24 24",
|
|
92
|
-
children: /* @__PURE__ */
|
|
93
|
+
children: /* @__PURE__ */ v("path", {
|
|
93
94
|
strokeLinecap: "round",
|
|
94
95
|
strokeLinejoin: "round",
|
|
95
96
|
strokeWidth: 2,
|
|
96
97
|
d: "M14 5l7 7m0 0l-7 7m7-7H3"
|
|
97
98
|
})
|
|
98
|
-
}),
|
|
99
|
-
let t = {
|
|
99
|
+
}), D = ({ handling: e }) => {
|
|
100
|
+
let { t } = p(), n = {
|
|
100
101
|
fail: {
|
|
101
|
-
label: "Fail",
|
|
102
|
+
label: t("bigconsole.pipelines.view.errorHandlingFail", "Fail"),
|
|
102
103
|
className: "bg-status-error-bg/10 text-status-error-text"
|
|
103
104
|
},
|
|
104
105
|
skip: {
|
|
105
|
-
label: "Skip",
|
|
106
|
+
label: t("bigconsole.pipelines.view.errorHandlingSkip", "Skip"),
|
|
106
107
|
className: "bg-status-warning-bg/10 text-status-warning-text"
|
|
107
108
|
},
|
|
108
109
|
fallback: {
|
|
109
|
-
label: "Fallback",
|
|
110
|
+
label: t("bigconsole.pipelines.view.errorHandlingFallback", "Fallback"),
|
|
110
111
|
className: "bg-action-primary-bg/10 text-action-primary-bg"
|
|
111
112
|
}
|
|
112
|
-
},
|
|
113
|
-
return /* @__PURE__ */
|
|
114
|
-
className: `px-1.5 py-0.5 text-xs font-medium rounded ${
|
|
115
|
-
children:
|
|
113
|
+
}, r = n[e] || n.fail;
|
|
114
|
+
return /* @__PURE__ */ v("span", {
|
|
115
|
+
className: `px-1.5 py-0.5 text-xs font-medium rounded ${r.className}`,
|
|
116
|
+
children: r.label
|
|
116
117
|
});
|
|
117
|
-
},
|
|
118
|
-
let { pipelineId:
|
|
118
|
+
}, O = s(function() {
|
|
119
|
+
let { pipelineId: s } = te(), O = t(), { t: k } = p(), A = "default", [ie] = ne(), { hasPermission: j, isLoading: ae } = f(), M = j(r.PIPELINE_READ), N = j(r.PIPELINE_UPDATE), P = j(r.PIPELINE_DELETE), F = j(r.PIPELINE_TEST), [I, L] = u(null), [R, z] = u("{\n \"data\": \"sample\"\n}"), [B, V] = u(null), [H, U] = u(ie.get("test") === "true"), W = e((e) => e.deleteDialogOpen), G = e((e) => e.openDeleteDialog), K = e((e) => e.closeDeleteDialog), { loading: q, error: J, fetchPipeline: Y, deletePipeline: X, testPipeline: Z } = n({
|
|
119
120
|
consoleId: A,
|
|
120
121
|
skipFetch: !0
|
|
121
122
|
});
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
l(() => {
|
|
124
|
+
s && Y(s).then((e) => {
|
|
124
125
|
e && L(e);
|
|
125
126
|
});
|
|
126
|
-
}, [
|
|
127
|
-
let Q =
|
|
128
|
-
|
|
129
|
-
}, [
|
|
130
|
-
|
|
131
|
-
}, [
|
|
127
|
+
}, [s, Y]);
|
|
128
|
+
let Q = c(() => {
|
|
129
|
+
O("/pipelines");
|
|
130
|
+
}, [O]), $ = c(() => {
|
|
131
|
+
O(`/pipelines/${s}/edit`);
|
|
132
|
+
}, [O, s]), oe = c(() => {
|
|
132
133
|
I && G(I);
|
|
133
|
-
}, [I, G]),
|
|
134
|
-
I && (await X(I.id) ? (i() && a("success"), K(),
|
|
134
|
+
}, [I, G]), se = c(async () => {
|
|
135
|
+
I && (await X(I.id) ? (i() && a("success"), K(), O("/pipelines")) : i() && a("error"));
|
|
135
136
|
}, [
|
|
136
137
|
I,
|
|
137
138
|
X,
|
|
138
139
|
K,
|
|
139
|
-
|
|
140
|
-
]),
|
|
141
|
-
|
|
142
|
-
}, [
|
|
140
|
+
O
|
|
141
|
+
]), ce = c((e) => {
|
|
142
|
+
O(`/dashboards/${A}/parsers/${e}`);
|
|
143
|
+
}, [O, A]), le = c(async () => {
|
|
143
144
|
if (I) try {
|
|
144
145
|
let e = await Z({
|
|
145
146
|
pipelineId: I.id,
|
|
@@ -152,253 +153,249 @@ var S = ({ className: e }) => /* @__PURE__ */ b("svg", {
|
|
|
152
153
|
Z,
|
|
153
154
|
R
|
|
154
155
|
]);
|
|
155
|
-
return q && !I ? /* @__PURE__ */
|
|
156
|
+
return q && !I ? /* @__PURE__ */ v("div", {
|
|
156
157
|
className: "p-6",
|
|
157
|
-
children: /* @__PURE__ */
|
|
158
|
+
children: /* @__PURE__ */ y("div", {
|
|
158
159
|
className: "flex flex-col items-center justify-center py-16",
|
|
159
|
-
children: [/* @__PURE__ */
|
|
160
|
+
children: [/* @__PURE__ */ y("svg", {
|
|
160
161
|
className: "w-8 h-8 text-action-primary-bg animate-spin mb-4",
|
|
161
162
|
fill: "none",
|
|
162
163
|
viewBox: "0 0 24 24",
|
|
163
|
-
children: [/* @__PURE__ */
|
|
164
|
+
children: [/* @__PURE__ */ v("circle", {
|
|
164
165
|
className: "opacity-25",
|
|
165
166
|
cx: "12",
|
|
166
167
|
cy: "12",
|
|
167
168
|
r: "10",
|
|
168
169
|
stroke: "currentColor",
|
|
169
170
|
strokeWidth: "4"
|
|
170
|
-
}), /* @__PURE__ */
|
|
171
|
+
}), /* @__PURE__ */ v("path", {
|
|
171
172
|
className: "opacity-75",
|
|
172
173
|
fill: "currentColor",
|
|
173
174
|
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
174
175
|
})]
|
|
175
|
-
}), /* @__PURE__ */
|
|
176
|
+
}), /* @__PURE__ */ v("p", {
|
|
176
177
|
className: "text-sm text-text-secondary",
|
|
177
|
-
children: "Loading Pipeline..."
|
|
178
|
+
children: k("bigconsole.pipelines.view.loading", "Loading Pipeline...")
|
|
178
179
|
})]
|
|
179
180
|
})
|
|
180
|
-
}) : !
|
|
181
|
-
title: "Access Denied",
|
|
182
|
-
description: "You don't have permission to view this pipeline."
|
|
183
|
-
}) : J ? /* @__PURE__ */
|
|
181
|
+
}) : !ae && !M ? /* @__PURE__ */ v(d, {
|
|
182
|
+
title: k("bigconsole.pipelines.errors.accessDeniedTitle", "Access Denied"),
|
|
183
|
+
description: k("bigconsole.pipelines.errors.accessDeniedViewDescription", "You don't have permission to view this pipeline.")
|
|
184
|
+
}) : J ? /* @__PURE__ */ v("div", {
|
|
184
185
|
className: "p-6",
|
|
185
|
-
children: /* @__PURE__ */
|
|
186
|
+
children: /* @__PURE__ */ y("div", {
|
|
186
187
|
className: "flex flex-col items-center justify-center py-16 text-center",
|
|
187
188
|
children: [
|
|
188
|
-
/* @__PURE__ */
|
|
189
|
+
/* @__PURE__ */ v("div", {
|
|
189
190
|
className: "p-3 rounded-full bg-status-error-bg/10 mb-4",
|
|
190
|
-
children: /* @__PURE__ */
|
|
191
|
+
children: /* @__PURE__ */ v(w, { className: "w-8 h-8 text-status-error-text" })
|
|
191
192
|
}),
|
|
192
|
-
/* @__PURE__ */
|
|
193
|
+
/* @__PURE__ */ v("h3", {
|
|
193
194
|
className: "text-lg font-medium text-text-primary mb-2",
|
|
194
|
-
children: "Failed to load Pipeline"
|
|
195
|
+
children: k("bigconsole.pipelines.view.loadError", "Failed to load Pipeline")
|
|
195
196
|
}),
|
|
196
|
-
/* @__PURE__ */
|
|
197
|
+
/* @__PURE__ */ v("p", {
|
|
197
198
|
className: "text-sm text-text-secondary mb-4",
|
|
198
199
|
children: J.message
|
|
199
200
|
}),
|
|
200
|
-
/* @__PURE__ */
|
|
201
|
+
/* @__PURE__ */ v("button", {
|
|
201
202
|
type: "button",
|
|
202
203
|
onClick: Q,
|
|
203
204
|
className: "px-4 py-2 text-sm font-medium text-action-primary-fg bg-action-primary-bg hover:bg-action-primary-bgHover rounded-md transition-colors",
|
|
204
|
-
children: "Back to Pipelines"
|
|
205
|
+
children: k("bigconsole.pipelines.actions.backToPipelines", "Back to Pipelines")
|
|
205
206
|
})
|
|
206
207
|
]
|
|
207
208
|
})
|
|
208
|
-
}) : I ? /* @__PURE__ */
|
|
209
|
+
}) : I ? /* @__PURE__ */ y("div", {
|
|
209
210
|
className: "p-6",
|
|
210
211
|
children: [
|
|
211
|
-
/* @__PURE__ */
|
|
212
|
+
/* @__PURE__ */ y("div", {
|
|
212
213
|
className: "flex items-center justify-between mb-6",
|
|
213
|
-
children: [/* @__PURE__ */
|
|
214
|
+
children: [/* @__PURE__ */ y("div", {
|
|
214
215
|
className: "flex items-center gap-4",
|
|
215
|
-
children: [/* @__PURE__ */
|
|
216
|
+
children: [/* @__PURE__ */ v("button", {
|
|
216
217
|
type: "button",
|
|
217
218
|
onClick: Q,
|
|
218
219
|
className: "p-2 text-text-secondary hover:text-text-primary hover:bg-bg-sunken rounded-md transition-colors",
|
|
219
|
-
children: /* @__PURE__ */ b
|
|
220
|
-
}), /* @__PURE__ */
|
|
220
|
+
children: /* @__PURE__ */ v(b, { className: "w-5 h-5" })
|
|
221
|
+
}), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ y("div", {
|
|
221
222
|
className: "flex items-center gap-3",
|
|
222
|
-
children: [/* @__PURE__ */
|
|
223
|
+
children: [/* @__PURE__ */ v("h1", {
|
|
223
224
|
className: "text-2xl font-bold text-text-primary",
|
|
224
225
|
children: I.name
|
|
225
|
-
}), /* @__PURE__ */
|
|
226
|
-
}), I.description && /* @__PURE__ */
|
|
226
|
+
}), /* @__PURE__ */ v(o, { status: I.status })]
|
|
227
|
+
}), I.description && /* @__PURE__ */ v("p", {
|
|
227
228
|
className: "text-sm text-text-secondary mt-1",
|
|
228
229
|
children: I.description
|
|
229
230
|
})] })]
|
|
230
|
-
}), /* @__PURE__ */
|
|
231
|
+
}), /* @__PURE__ */ y("div", {
|
|
231
232
|
className: "flex items-center gap-2",
|
|
232
233
|
children: [
|
|
233
|
-
/* @__PURE__ */
|
|
234
|
+
/* @__PURE__ */ y("button", {
|
|
234
235
|
type: "button",
|
|
235
236
|
onClick: () => U(!H),
|
|
236
237
|
disabled: !F,
|
|
237
238
|
className: "inline-flex items-center gap-2 px-3 py-2 text-sm font-medium text-status-success-text bg-status-success-bg/10 hover:bg-status-success-bg/20 rounded-md transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
|
|
238
|
-
children: [/* @__PURE__ */
|
|
239
|
+
children: [/* @__PURE__ */ v(C, { className: "w-4 h-4" }), k("bigconsole.pipelines.actions.test", "Test")]
|
|
239
240
|
}),
|
|
240
|
-
/* @__PURE__ */
|
|
241
|
+
/* @__PURE__ */ y("button", {
|
|
241
242
|
type: "button",
|
|
242
243
|
onClick: $,
|
|
243
244
|
disabled: !N,
|
|
244
245
|
className: "inline-flex items-center gap-2 px-3 py-2 text-sm font-medium text-text-primary bg-bg-sunken hover:bg-border-default rounded-md transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
|
|
245
|
-
children: [/* @__PURE__ */
|
|
246
|
+
children: [/* @__PURE__ */ v(x, { className: "w-4 h-4" }), k("bigconsole.pipelines.actions.edit", "Edit")]
|
|
246
247
|
}),
|
|
247
|
-
P && /* @__PURE__ */
|
|
248
|
+
P && /* @__PURE__ */ y("button", {
|
|
248
249
|
type: "button",
|
|
249
|
-
onClick:
|
|
250
|
+
onClick: oe,
|
|
250
251
|
className: "inline-flex items-center gap-2 px-3 py-2 text-sm font-medium text-status-error-text bg-status-error-bg/10 hover:bg-status-error-bg/20 rounded-md transition-colors",
|
|
251
|
-
children: [/* @__PURE__ */
|
|
252
|
+
children: [/* @__PURE__ */ v(S, { className: "w-4 h-4" }), k("bigconsole.pipelines.actions.delete", "Delete")]
|
|
252
253
|
})
|
|
253
254
|
]
|
|
254
255
|
})]
|
|
255
256
|
}),
|
|
256
|
-
/* @__PURE__ */
|
|
257
|
+
/* @__PURE__ */ v(re, {
|
|
257
258
|
className: "mb-6",
|
|
258
|
-
children: "A pipeline chains parsers and a data sink into a repeatable flow. Review its stages here, test it with sample input to confirm the output, then edit the stages or run it to process real data into the connected sink."
|
|
259
|
+
children: k("bigconsole.pipelines.view.purpose", "A pipeline chains parsers and a data sink into a repeatable flow. Review its stages here, test it with sample input to confirm the output, then edit the stages or run it to process real data into the connected sink.")
|
|
259
260
|
}),
|
|
260
|
-
/* @__PURE__ */
|
|
261
|
+
/* @__PURE__ */ v(g, {
|
|
261
262
|
storageKey: "bigconsole-pipeline-view",
|
|
262
263
|
steps: [
|
|
263
264
|
...F ? [{
|
|
264
265
|
id: "test",
|
|
265
|
-
label: "Test with sample input",
|
|
266
|
-
description: "Run the pipeline against a sample to verify each stage.",
|
|
266
|
+
label: k("bigconsole.pipelines.view.nextStepTestLabel", "Test with sample input"),
|
|
267
|
+
description: k("bigconsole.pipelines.view.nextStepTestDescription", "Run the pipeline against a sample to verify each stage."),
|
|
267
268
|
onClick: () => U(!0)
|
|
268
269
|
}] : [],
|
|
269
270
|
...N ? [{
|
|
270
271
|
id: "edit",
|
|
271
|
-
label: "Edit the stages",
|
|
272
|
-
description: "Add, reorder, or configure the parsers in this pipeline.",
|
|
272
|
+
label: k("bigconsole.pipelines.view.nextStepEditLabel", "Edit the stages"),
|
|
273
|
+
description: k("bigconsole.pipelines.view.nextStepEditDescription", "Add, reorder, or configure the parsers in this pipeline."),
|
|
273
274
|
onClick: $
|
|
274
275
|
}] : [],
|
|
275
276
|
{
|
|
276
277
|
id: "sinks",
|
|
277
|
-
label: "Review the target data sink",
|
|
278
|
-
description: "See where the processed data lands.",
|
|
279
|
-
onClick: () =>
|
|
278
|
+
label: k("bigconsole.pipelines.view.nextStepSinksLabel", "Review the target data sink"),
|
|
279
|
+
description: k("bigconsole.pipelines.view.nextStepSinksDescription", "See where the processed data lands."),
|
|
280
|
+
onClick: () => O("/datasinks")
|
|
280
281
|
}
|
|
281
282
|
]
|
|
282
283
|
}),
|
|
283
|
-
/* @__PURE__ */
|
|
284
|
+
/* @__PURE__ */ y("div", {
|
|
284
285
|
className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
|
|
285
|
-
children: [/* @__PURE__ */
|
|
286
|
+
children: [/* @__PURE__ */ y("div", {
|
|
286
287
|
className: "lg:col-span-2 space-y-6",
|
|
287
|
-
children: [/* @__PURE__ */
|
|
288
|
+
children: [/* @__PURE__ */ y(m, {
|
|
288
289
|
treatment: "glass",
|
|
289
290
|
glow: !0,
|
|
290
291
|
className: "p-6",
|
|
291
|
-
children: [/* @__PURE__ */
|
|
292
|
+
children: [/* @__PURE__ */ v("h2", {
|
|
292
293
|
className: "text-lg font-semibold text-text-primary mb-4",
|
|
293
|
-
children:
|
|
294
|
-
|
|
295
|
-
I.stages?.length || 0,
|
|
296
|
-
")"
|
|
297
|
-
]
|
|
298
|
-
}), !I.stages || I.stages.length === 0 ? /* @__PURE__ */ b(_, {
|
|
294
|
+
children: k("bigconsole.pipelines.view.stagesHeading", "Pipeline Stages ({{count}})", { count: I.stages?.length || 0 })
|
|
295
|
+
}), !I.stages || I.stages.length === 0 ? /* @__PURE__ */ v(h, {
|
|
299
296
|
illustration: "empty-generic",
|
|
300
|
-
title: "No stages defined",
|
|
301
|
-
description: "Edit the pipeline to add parser stages."
|
|
302
|
-
}) : /* @__PURE__ */
|
|
297
|
+
title: k("bigconsole.pipelines.view.noStagesTitle", "No stages defined"),
|
|
298
|
+
description: k("bigconsole.pipelines.view.noStagesDescription", "Edit the pipeline to add parser stages.")
|
|
299
|
+
}) : /* @__PURE__ */ v("div", {
|
|
303
300
|
className: "space-y-3",
|
|
304
|
-
children: I.stages.map((e, t) => /* @__PURE__ */
|
|
301
|
+
children: I.stages.map((e, t) => /* @__PURE__ */ y("div", {
|
|
305
302
|
className: "flex items-center gap-3",
|
|
306
|
-
children: [/* @__PURE__ */
|
|
303
|
+
children: [/* @__PURE__ */ y("div", {
|
|
307
304
|
className: `
|
|
308
305
|
flex-1 p-4 rounded-lg border
|
|
309
306
|
${e.enabled ? "bg-bg-surface border-border-default" : "bg-bg-sunken border-border-default opacity-60"}
|
|
310
307
|
`,
|
|
311
308
|
children: [
|
|
312
|
-
/* @__PURE__ */
|
|
309
|
+
/* @__PURE__ */ y("div", {
|
|
313
310
|
className: "flex items-center justify-between mb-2",
|
|
314
|
-
children: [/* @__PURE__ */
|
|
311
|
+
children: [/* @__PURE__ */ y("div", {
|
|
315
312
|
className: "flex items-center gap-2",
|
|
316
313
|
children: [
|
|
317
|
-
/* @__PURE__ */
|
|
314
|
+
/* @__PURE__ */ v("span", {
|
|
318
315
|
className: "w-6 h-6 flex items-center justify-center text-xs font-medium bg-action-primary-bg/10 text-action-primary-bg rounded-full",
|
|
319
316
|
children: t + 1
|
|
320
317
|
}),
|
|
321
|
-
/* @__PURE__ */
|
|
318
|
+
/* @__PURE__ */ v("span", {
|
|
322
319
|
className: "font-medium text-text-primary",
|
|
323
|
-
children: e.parserName ||
|
|
320
|
+
children: e.parserName || k("bigconsole.pipelines.view.stageFallbackName", "Stage {{number}}", { number: t + 1 })
|
|
324
321
|
}),
|
|
325
|
-
e.parserType && /* @__PURE__ */
|
|
322
|
+
e.parserType && /* @__PURE__ */ v("span", {
|
|
326
323
|
className: "px-1.5 py-0.5 text-xs font-medium bg-bg-sunken text-text-secondary rounded",
|
|
327
324
|
children: e.parserType.toUpperCase()
|
|
328
325
|
})
|
|
329
326
|
]
|
|
330
|
-
}), /* @__PURE__ */
|
|
327
|
+
}), /* @__PURE__ */ y("div", {
|
|
331
328
|
className: "flex items-center gap-2",
|
|
332
|
-
children: [/* @__PURE__ */
|
|
329
|
+
children: [/* @__PURE__ */ v(D, { handling: e.onError }), !e.enabled && /* @__PURE__ */ v("span", {
|
|
333
330
|
className: "px-1.5 py-0.5 text-xs font-medium bg-bg-sunken text-text-secondary rounded",
|
|
334
|
-
children: "Disabled"
|
|
331
|
+
children: k("bigconsole.pipelines.view.stageDisabled", "Disabled")
|
|
335
332
|
})]
|
|
336
333
|
})]
|
|
337
334
|
}),
|
|
338
|
-
/* @__PURE__ */
|
|
335
|
+
/* @__PURE__ */ y("div", {
|
|
339
336
|
className: "flex items-center gap-2 text-xs text-text-secondary",
|
|
340
337
|
children: [
|
|
341
|
-
/* @__PURE__ */
|
|
338
|
+
/* @__PURE__ */ v("span", {
|
|
342
339
|
className: "font-mono bg-bg-sunken px-1.5 py-0.5 rounded",
|
|
343
340
|
children: e.inputKey
|
|
344
341
|
}),
|
|
345
|
-
/* @__PURE__ */
|
|
346
|
-
/* @__PURE__ */
|
|
342
|
+
/* @__PURE__ */ v(E, { className: "w-3 h-3" }),
|
|
343
|
+
/* @__PURE__ */ v("span", {
|
|
347
344
|
className: "font-mono bg-bg-sunken px-1.5 py-0.5 rounded",
|
|
348
345
|
children: e.outputKey
|
|
349
346
|
})
|
|
350
347
|
]
|
|
351
348
|
}),
|
|
352
|
-
e.description && /* @__PURE__ */
|
|
349
|
+
e.description && /* @__PURE__ */ v("p", {
|
|
353
350
|
className: "text-xs text-text-secondary mt-2",
|
|
354
351
|
children: e.description
|
|
355
352
|
}),
|
|
356
|
-
e.parserId && /* @__PURE__ */
|
|
353
|
+
e.parserId && /* @__PURE__ */ v("button", {
|
|
357
354
|
type: "button",
|
|
358
|
-
onClick: () =>
|
|
355
|
+
onClick: () => ce(e.parserId),
|
|
359
356
|
className: "mt-2 text-xs text-action-primary-bg hover:underline",
|
|
360
|
-
children: "View Parser"
|
|
357
|
+
children: k("bigconsole.pipelines.view.viewParser", "View Parser")
|
|
361
358
|
})
|
|
362
359
|
]
|
|
363
|
-
}), t < (I.stages?.length || 0) - 1 && /* @__PURE__ */
|
|
360
|
+
}), t < (I.stages?.length || 0) - 1 && /* @__PURE__ */ v(E, { className: "w-5 h-5 text-text-secondary flex-shrink-0 hidden md:block" })]
|
|
364
361
|
}, e.id))
|
|
365
362
|
})]
|
|
366
|
-
}), H && /* @__PURE__ */
|
|
363
|
+
}), H && /* @__PURE__ */ y("div", {
|
|
367
364
|
className: "bg-bg-surface border border-border-default rounded-lg p-6",
|
|
368
|
-
children: [/* @__PURE__ */
|
|
365
|
+
children: [/* @__PURE__ */ v("h2", {
|
|
369
366
|
className: "text-lg font-semibold text-text-primary mb-4",
|
|
370
|
-
children: "Test Pipeline"
|
|
371
|
-
}), /* @__PURE__ */
|
|
367
|
+
children: k("bigconsole.pipelines.view.testPanelHeading", "Test Pipeline")
|
|
368
|
+
}), /* @__PURE__ */ y("div", {
|
|
372
369
|
className: "space-y-4",
|
|
373
370
|
children: [
|
|
374
|
-
/* @__PURE__ */
|
|
371
|
+
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
|
|
375
372
|
className: "block text-sm font-medium text-text-primary mb-2",
|
|
376
|
-
children: "Input JSON"
|
|
377
|
-
}), /* @__PURE__ */
|
|
373
|
+
children: k("bigconsole.pipelines.view.inputJsonLabel", "Input JSON")
|
|
374
|
+
}), /* @__PURE__ */ v("textarea", {
|
|
378
375
|
value: R,
|
|
379
376
|
onChange: (e) => z(e.target.value),
|
|
380
377
|
className: "w-full h-32 px-3 py-2 text-sm font-mono text-text-primary bg-bg-sunken border border-border-default rounded-md focus:outline-none focus:ring-2 focus:ring-action-primary-bg resize-none",
|
|
381
378
|
placeholder: "{\"key\": \"value\"}"
|
|
382
379
|
})] }),
|
|
383
|
-
/* @__PURE__ */
|
|
380
|
+
/* @__PURE__ */ y("button", {
|
|
384
381
|
type: "button",
|
|
385
|
-
onClick:
|
|
382
|
+
onClick: le,
|
|
386
383
|
disabled: q || !F,
|
|
387
384
|
className: "inline-flex items-center gap-2 px-4 py-2 text-sm font-medium text-action-primary-fg bg-action-primary-bg hover:bg-action-primary-bgHover rounded-md transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
|
|
388
|
-
children: [/* @__PURE__ */
|
|
385
|
+
children: [/* @__PURE__ */ v(C, { className: "w-4 h-4" }), q ? k("bigconsole.pipelines.view.testRunning", "Running...") : k("bigconsole.pipelines.view.runTest", "Run Test")]
|
|
389
386
|
}),
|
|
390
|
-
B && /* @__PURE__ */
|
|
387
|
+
B && /* @__PURE__ */ y("div", {
|
|
391
388
|
className: "mt-4",
|
|
392
389
|
children: [
|
|
393
|
-
/* @__PURE__ */
|
|
390
|
+
/* @__PURE__ */ y("div", {
|
|
394
391
|
className: "flex items-center gap-2 mb-2",
|
|
395
|
-
children: [B.status === "completed" ? /* @__PURE__ */
|
|
392
|
+
children: [B.status === "completed" ? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(T, { className: "w-4 h-4 text-status-success-text" }), /* @__PURE__ */ v("span", {
|
|
396
393
|
className: "text-sm font-medium text-status-success-text",
|
|
397
|
-
children: "Test Passed"
|
|
398
|
-
})] }) : /* @__PURE__ */
|
|
394
|
+
children: k("bigconsole.pipelines.view.testPassed", "Test Passed")
|
|
395
|
+
})] }) : /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(w, { className: "w-4 h-4 text-status-error-text" }), /* @__PURE__ */ v("span", {
|
|
399
396
|
className: "text-sm font-medium text-status-error-text",
|
|
400
|
-
children: "Test Failed"
|
|
401
|
-
})] }), B.totalExecutionTimeMs && /* @__PURE__ */
|
|
397
|
+
children: k("bigconsole.pipelines.view.testFailed", "Test Failed")
|
|
398
|
+
})] }), B.totalExecutionTimeMs && /* @__PURE__ */ y("span", {
|
|
402
399
|
className: "text-xs text-text-secondary",
|
|
403
400
|
children: [
|
|
404
401
|
"(",
|
|
@@ -407,19 +404,19 @@ var S = ({ className: e }) => /* @__PURE__ */ b("svg", {
|
|
|
407
404
|
]
|
|
408
405
|
})]
|
|
409
406
|
}),
|
|
410
|
-
/* @__PURE__ */
|
|
407
|
+
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
|
|
411
408
|
className: "block text-sm font-medium text-text-primary mb-2",
|
|
412
|
-
children: "Output"
|
|
413
|
-
}), /* @__PURE__ */
|
|
409
|
+
children: k("bigconsole.pipelines.view.outputLabel", "Output")
|
|
410
|
+
}), /* @__PURE__ */ v("pre", {
|
|
414
411
|
className: "w-full p-3 text-xs font-mono text-text-primary bg-bg-sunken border border-border-default rounded-md overflow-auto max-h-48",
|
|
415
412
|
children: JSON.stringify(B.outputData, null, 2) || "null"
|
|
416
413
|
})] }),
|
|
417
|
-
B.error && /* @__PURE__ */
|
|
414
|
+
B.error && /* @__PURE__ */ y("div", {
|
|
418
415
|
className: "mt-2",
|
|
419
|
-
children: [/* @__PURE__ */
|
|
416
|
+
children: [/* @__PURE__ */ v("label", {
|
|
420
417
|
className: "block text-sm font-medium text-status-error-text mb-2",
|
|
421
|
-
children: "Error"
|
|
422
|
-
}), /* @__PURE__ */
|
|
418
|
+
children: k("bigconsole.pipelines.view.errorLabel", "Error")
|
|
419
|
+
}), /* @__PURE__ */ v("pre", {
|
|
423
420
|
className: "w-full p-3 text-xs font-mono text-status-error-text bg-status-error-bg/10 border border-status-error-border/20 rounded-md overflow-auto",
|
|
424
421
|
children: B.error
|
|
425
422
|
})]
|
|
@@ -429,55 +426,55 @@ var S = ({ className: e }) => /* @__PURE__ */ b("svg", {
|
|
|
429
426
|
]
|
|
430
427
|
})]
|
|
431
428
|
})]
|
|
432
|
-
}), /* @__PURE__ */
|
|
429
|
+
}), /* @__PURE__ */ v("div", {
|
|
433
430
|
className: "space-y-6",
|
|
434
|
-
children: /* @__PURE__ */
|
|
431
|
+
children: /* @__PURE__ */ y("div", {
|
|
435
432
|
className: "bg-bg-surface border border-border-default rounded-lg p-6",
|
|
436
|
-
children: [/* @__PURE__ */
|
|
433
|
+
children: [/* @__PURE__ */ v("h2", {
|
|
437
434
|
className: "text-lg font-semibold text-text-primary mb-4",
|
|
438
|
-
children: "Details"
|
|
439
|
-
}), /* @__PURE__ */
|
|
435
|
+
children: k("bigconsole.pipelines.view.detailsHeading", "Details")
|
|
436
|
+
}), /* @__PURE__ */ y("dl", {
|
|
440
437
|
className: "space-y-3",
|
|
441
438
|
children: [
|
|
442
|
-
/* @__PURE__ */
|
|
439
|
+
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
|
|
443
440
|
className: "text-xs text-text-secondary",
|
|
444
|
-
children: "Status"
|
|
445
|
-
}), /* @__PURE__ */
|
|
441
|
+
children: k("bigconsole.pipelines.view.detailStatus", "Status")
|
|
442
|
+
}), /* @__PURE__ */ v("dd", {
|
|
446
443
|
className: "mt-1",
|
|
447
|
-
children: /* @__PURE__ */
|
|
444
|
+
children: /* @__PURE__ */ v(o, { status: I.status })
|
|
448
445
|
})] }),
|
|
449
|
-
/* @__PURE__ */
|
|
446
|
+
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
|
|
450
447
|
className: "text-xs text-text-secondary",
|
|
451
|
-
children: "Stages"
|
|
452
|
-
}), /* @__PURE__ */
|
|
448
|
+
children: k("bigconsole.pipelines.view.detailStages", "Stages")
|
|
449
|
+
}), /* @__PURE__ */ v("dd", {
|
|
453
450
|
className: "text-sm text-text-primary",
|
|
454
451
|
children: I.stages?.length || 0
|
|
455
452
|
})] }),
|
|
456
|
-
/* @__PURE__ */
|
|
453
|
+
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
|
|
457
454
|
className: "text-xs text-text-secondary",
|
|
458
|
-
children: "Last Executed"
|
|
459
|
-
}), /* @__PURE__ */
|
|
455
|
+
children: k("bigconsole.pipelines.view.detailLastExecuted", "Last Executed")
|
|
456
|
+
}), /* @__PURE__ */ v("dd", {
|
|
460
457
|
className: "text-sm text-text-primary",
|
|
461
|
-
children: I.lastExecutedAt ? new Date(I.lastExecutedAt).toLocaleString() : "Never"
|
|
458
|
+
children: I.lastExecutedAt ? new Date(I.lastExecutedAt).toLocaleString() : k("bigconsole.pipelines.view.detailNever", "Never")
|
|
462
459
|
})] }),
|
|
463
|
-
/* @__PURE__ */
|
|
460
|
+
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
|
|
464
461
|
className: "text-xs text-text-secondary",
|
|
465
|
-
children: "Version"
|
|
466
|
-
}), /* @__PURE__ */
|
|
462
|
+
children: k("bigconsole.pipelines.view.detailVersion", "Version")
|
|
463
|
+
}), /* @__PURE__ */ v("dd", {
|
|
467
464
|
className: "text-sm text-text-primary",
|
|
468
465
|
children: I.version
|
|
469
466
|
})] }),
|
|
470
|
-
/* @__PURE__ */
|
|
467
|
+
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
|
|
471
468
|
className: "text-xs text-text-secondary",
|
|
472
|
-
children: "Created"
|
|
473
|
-
}), /* @__PURE__ */
|
|
469
|
+
children: k("bigconsole.pipelines.view.detailCreated", "Created")
|
|
470
|
+
}), /* @__PURE__ */ v("dd", {
|
|
474
471
|
className: "text-sm text-text-primary",
|
|
475
472
|
children: new Date(I.createdAt).toLocaleString()
|
|
476
473
|
})] }),
|
|
477
|
-
/* @__PURE__ */
|
|
474
|
+
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("dt", {
|
|
478
475
|
className: "text-xs text-text-secondary",
|
|
479
|
-
children: "Updated"
|
|
480
|
-
}), /* @__PURE__ */
|
|
476
|
+
children: k("bigconsole.pipelines.view.detailUpdated", "Updated")
|
|
477
|
+
}), /* @__PURE__ */ v("dd", {
|
|
481
478
|
className: "text-sm text-text-primary",
|
|
482
479
|
children: new Date(I.updatedAt).toLocaleString()
|
|
483
480
|
})] })
|
|
@@ -486,29 +483,29 @@ var S = ({ className: e }) => /* @__PURE__ */ b("svg", {
|
|
|
486
483
|
})
|
|
487
484
|
})]
|
|
488
485
|
}),
|
|
489
|
-
I && /* @__PURE__ */
|
|
486
|
+
I && /* @__PURE__ */ v(ee, {
|
|
490
487
|
pipeline: I,
|
|
491
488
|
isOpen: W,
|
|
492
489
|
onClose: K,
|
|
493
|
-
onConfirm:
|
|
490
|
+
onConfirm: se
|
|
494
491
|
})
|
|
495
492
|
]
|
|
496
|
-
}) : /* @__PURE__ */
|
|
493
|
+
}) : /* @__PURE__ */ v("div", {
|
|
497
494
|
className: "p-6",
|
|
498
|
-
children: /* @__PURE__ */
|
|
495
|
+
children: /* @__PURE__ */ v(h, {
|
|
499
496
|
illustration: "empty-data",
|
|
500
|
-
title: "Pipeline not found",
|
|
501
|
-
description: "The pipeline you're looking for doesn't exist or has been deleted.",
|
|
502
|
-
action: /* @__PURE__ */
|
|
497
|
+
title: k("bigconsole.pipelines.view.notFoundTitle", "Pipeline not found"),
|
|
498
|
+
description: k("bigconsole.pipelines.view.notFoundDescription", "The pipeline you're looking for doesn't exist or has been deleted."),
|
|
499
|
+
action: /* @__PURE__ */ v("button", {
|
|
503
500
|
type: "button",
|
|
504
501
|
onClick: Q,
|
|
505
502
|
className: "px-4 py-2 text-sm font-medium text-action-primary-fg bg-action-primary-bg hover:bg-action-primary-bgHover rounded-md transition-colors",
|
|
506
|
-
children: "Back to Pipelines"
|
|
503
|
+
children: k("bigconsole.pipelines.actions.backToPipelines", "Back to Pipelines")
|
|
507
504
|
})
|
|
508
505
|
})
|
|
509
506
|
});
|
|
510
507
|
});
|
|
511
508
|
//#endregion
|
|
512
|
-
export {
|
|
509
|
+
export { O as PipelineViewPage, O as default };
|
|
513
510
|
|
|
514
511
|
//# sourceMappingURL=PipelineViewPage.js.map
|