@burdenoff/microfe-bigconsole 2026.624.2 → 2026.626.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/dist/bigconsole/BigConsoleRoutes.js +175 -118
- package/dist/bigconsole/BigConsoleRoutes.js.map +1 -1
- package/dist/bigconsole/assistant/assistantApi.js +215 -0
- package/dist/bigconsole/assistant/assistantApi.js.map +1 -0
- package/dist/bigconsole/assistant/createSandboxAssistantTransport.js +119 -0
- package/dist/bigconsole/assistant/createSandboxAssistantTransport.js.map +1 -0
- package/dist/bigconsole/assistant/index.js +2 -0
- package/dist/bigconsole/assistant/pageContext.js +51 -0
- package/dist/bigconsole/assistant/pageContext.js.map +1 -0
- package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +48 -48
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js +52 -52
- package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js.map +1 -1
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js +33 -33
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +179 -179
- package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js.map +1 -1
- package/dist/bigconsole/components/dashboard/WidgetPalette.js +38 -38
- package/dist/bigconsole/components/datasink/DataSinkTableViewer.js +32 -32
- package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js +31 -31
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +98 -98
- package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js.map +1 -1
- package/dist/bigconsole/components/parser/ExportParserDialog.js +31 -31
- package/dist/bigconsole/components/parser/ImportParserDialog.js +162 -162
- package/dist/bigconsole/components/parser/ImportParserDialog.js.map +1 -1
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js +79 -79
- package/dist/bigconsole/components/widgets/ActionConfigDialog.js.map +1 -1
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js.map +1 -1
- package/dist/bigconsole/components/widgets/PropertiesPanel.js +307 -307
- package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -1
- package/dist/bigconsole/components/widgets/WidgetConfigDialog.js +222 -222
- package/dist/bigconsole/components/widgets/WidgetConfigDialog.js.map +1 -1
- package/dist/bigconsole/components/widgets/WidgetTypeSelector.js +23 -23
- package/dist/bigconsole/index.js +3 -0
- package/dist/bigconsole/pages/DashboardBuilderPage.js +74 -74
- package/dist/bigconsole/pages/DashboardBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/DashboardViewPage.js +168 -189
- package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -1
- package/dist/bigconsole/pages/DashboardsPage.js +266 -310
- package/dist/bigconsole/pages/DashboardsPage.js.map +1 -1
- package/dist/bigconsole/pages/DataParsersPage.js +148 -194
- package/dist/bigconsole/pages/DataParsersPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSinkBuilderPage.js +252 -246
- package/dist/bigconsole/pages/DataSinkBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSinkViewPage.js +256 -231
- package/dist/bigconsole/pages/DataSinkViewPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSinksPage.js +173 -219
- package/dist/bigconsole/pages/DataSinksPage.js.map +1 -1
- package/dist/bigconsole/pages/HomePage.js +125 -141
- package/dist/bigconsole/pages/HomePage.js.map +1 -1
- package/dist/bigconsole/pages/InsightsPage.js +159 -184
- package/dist/bigconsole/pages/InsightsPage.js.map +1 -1
- package/dist/bigconsole/pages/ParserBuilderPage.js +401 -393
- package/dist/bigconsole/pages/ParserBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/ParserViewPage.js +220 -201
- package/dist/bigconsole/pages/ParserViewPage.js.map +1 -1
- package/dist/bigconsole/pages/PipelineBuilderPage.js +212 -206
- package/dist/bigconsole/pages/PipelineBuilderPage.js.map +1 -1
- package/dist/bigconsole/pages/PipelineViewPage.js +204 -181
- package/dist/bigconsole/pages/PipelineViewPage.js.map +1 -1
- package/dist/bigconsole/pages/PipelinesPage.js +107 -150
- package/dist/bigconsole/pages/PipelinesPage.js.map +1 -1
- package/dist/bigconsole/pages/SettingsPage.js +184 -171
- package/dist/bigconsole/pages/SettingsPage.js.map +1 -1
- package/dist/bigconsole/pages/WidgetDemoPage.js +69 -81
- package/dist/bigconsole/pages/WidgetDemoPage.js.map +1 -1
- package/dist/bigconsole/pages/WorkflowViewPage.js +230 -216
- package/dist/bigconsole/pages/WorkflowViewPage.js.map +1 -1
- package/dist/bigconsole/pages/WorkflowsPage.js +106 -149
- package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -1
- package/dist/generated/wspace-operations.js +87 -36
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/index.js +3 -1
- package/package.json +6 -2
|
@@ -11,21 +11,21 @@ import ie from "../components/datasink/DataSinkRefreshDialog.js";
|
|
|
11
11
|
import ae from "../components/datasink/ImportDataSinkDialog.js";
|
|
12
12
|
import oe from "../components/datasink/SetupStateBadge.js";
|
|
13
13
|
import { memo as a, useCallback as o, useMemo as s, useState as c } from "react";
|
|
14
|
-
import { AlertCircle as se, Container as ce, Download as le, Eye as ue,
|
|
15
|
-
import { useI18n as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
14
|
+
import { AlertCircle as se, Container as ce, Download as le, Eye as ue, LayoutGrid as de, Pencil as fe, Plus as l, RefreshCw as pe, Search as me, Table2 as he, Trash2 as ge, Upload as _e, X as ve } from "lucide-react";
|
|
15
|
+
import { useI18n as ye } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
16
|
+
import { AuroraBackground as be, Badge as xe, Button as u, CTAOverflowMenu as Se, Card as Ce, CardContent as we, GlassCard as d, GradientText as Te, IllustratedEmptyState as f, Input as Ee, PagePurpose as De, Select as p, SelectContent as m, SelectItem as h, SelectTrigger as g, SelectValue as _, Spinner as Oe } from "@burdenoff/fe-libs/ui";
|
|
17
|
+
import { getProfileScopedKey as v } from "@burdenoff/fe-libs/shared/utils";
|
|
18
|
+
import { Fragment as ke, jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
19
19
|
//#region src/bigconsole/pages/DataSinksPage.tsx
|
|
20
|
-
var x = "bigconsole-datasinks-view-mode",
|
|
21
|
-
let a = t(), { t: S } =
|
|
20
|
+
var x = "bigconsole-datasinks-view-mode", Ae = (e) => e.setupState === "completed" || e.ttl !== null && e.ttl !== void 0 && e.ttl > 0 || e.fluidGridsWorkflowId && e.data && Object.keys(e.data).length > 0 ? "completed" : e.fluidGridsWorkflowId ? "workflow_running" : "workflow_pending", S = a(function() {
|
|
21
|
+
let a = t(), { t: S } = ye(), C = o((e, t) => {
|
|
22
22
|
let n = S(e);
|
|
23
23
|
return n === e ? t : n;
|
|
24
|
-
}, [S]), [w, T] = c("all"), [
|
|
25
|
-
|
|
26
|
-
}, []), k = e((e) => e.statusFilter), A = e((e) => e.activeFilter), j = e((e) => e.searchQuery), M = e((e) => e.setStatusFilter), N = e((e) => e.setActiveFilter), P = e((e) => e.setSearchQuery),
|
|
24
|
+
}, [S]), [w, T] = c("all"), [je, E] = c(!1), [D, Me] = c(() => localStorage.getItem(v(x)) || "grid"), O = o((e) => {
|
|
25
|
+
Me(e), localStorage.setItem(v(x), e);
|
|
26
|
+
}, []), k = e((e) => e.statusFilter), A = e((e) => e.activeFilter), j = e((e) => e.searchQuery), M = e((e) => e.setStatusFilter), N = e((e) => e.setActiveFilter), P = e((e) => e.setSearchQuery), Ne = e((e) => e.deleteDialogOpen), Pe = e((e) => e.refreshDialogOpen), F = e((e) => e.currentDataSink), I = e((e) => e.openDeleteDialog), L = e((e) => e.closeDeleteDialog), R = e((e) => e.openRefreshDialog), z = e((e) => e.closeRefreshDialog), { loading: B, error: V, dataSinks: H, deleteDataSink: U, refreshDataSink: W, refetch: G } = n(), { downloadDataSink: K } = ee(), q = s(() => H.map((e) => ({
|
|
27
27
|
dataSink: e,
|
|
28
|
-
setupState:
|
|
28
|
+
setupState: Ae(e)
|
|
29
29
|
})), [H]), J = s(() => {
|
|
30
30
|
let e = [...q];
|
|
31
31
|
if (w === "in_progress" ? e = e.filter((e) => e.setupState !== "completed") : w === "completed" && (e = e.filter((e) => e.setupState === "completed")), k !== null && (e = e.filter((e) => e.dataSink.status === k)), A !== null && (e = e.filter((e) => e.dataSink.isActive === A)), j.trim()) {
|
|
@@ -48,7 +48,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
48
48
|
}, [a]), Q = o((e) => {
|
|
49
49
|
let t = H.find((t) => t.id === e);
|
|
50
50
|
t && R(t);
|
|
51
|
-
}, [H, R]),
|
|
51
|
+
}, [H, R]), Fe = o(async (e) => {
|
|
52
52
|
F && (await W({
|
|
53
53
|
id: F.id,
|
|
54
54
|
forceRefresh: e
|
|
@@ -60,7 +60,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
60
60
|
]), $ = o((e) => {
|
|
61
61
|
let t = H.find((t) => t.id === e);
|
|
62
62
|
t && I(t);
|
|
63
|
-
}, [H, I]),
|
|
63
|
+
}, [H, I]), Ie = o(async () => {
|
|
64
64
|
if (F) {
|
|
65
65
|
try {
|
|
66
66
|
await U(F.id), r() && i("success");
|
|
@@ -73,25 +73,25 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
73
73
|
F,
|
|
74
74
|
U,
|
|
75
75
|
L
|
|
76
|
-
]),
|
|
76
|
+
]), Le = o(async (e) => {
|
|
77
77
|
let t = H.find((t) => t.id === e);
|
|
78
78
|
t && await K(e, t.name || t.key);
|
|
79
|
-
}, [H, K]),
|
|
79
|
+
}, [H, K]), Re = o(() => {
|
|
80
80
|
E(!0);
|
|
81
|
-
}, []),
|
|
81
|
+
}, []), ze = o((e, t, n) => {
|
|
82
82
|
G();
|
|
83
|
-
}, [G]),
|
|
83
|
+
}, [G]), Be = s(() => w !== "all" || k !== null || A !== null || j.trim() !== "", [
|
|
84
84
|
w,
|
|
85
85
|
k,
|
|
86
86
|
A,
|
|
87
87
|
j
|
|
88
|
-
]),
|
|
88
|
+
]), Ve = o(() => {
|
|
89
89
|
T("all"), M(null), N(null), P("");
|
|
90
90
|
}, [
|
|
91
91
|
M,
|
|
92
92
|
N,
|
|
93
93
|
P
|
|
94
|
-
]),
|
|
94
|
+
]), He = [
|
|
95
95
|
{
|
|
96
96
|
value: "all",
|
|
97
97
|
label: C("bigconsole.dataSinks.filters.setupState.all", "All")
|
|
@@ -105,16 +105,16 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
105
105
|
label: C("bigconsole.dataSinks.filters.setupState.completed", "Completed")
|
|
106
106
|
}
|
|
107
107
|
];
|
|
108
|
-
return V ? /* @__PURE__ */
|
|
108
|
+
return V ? /* @__PURE__ */ y("div", {
|
|
109
109
|
style: { padding: "var(--space-pagePadding)" },
|
|
110
|
-
children: /* @__PURE__ */
|
|
110
|
+
children: /* @__PURE__ */ y(Ce, {
|
|
111
111
|
style: {
|
|
112
112
|
borderColor: "var(--color-status-error-border)",
|
|
113
113
|
backgroundColor: "var(--color-status-error-bgSubtle)"
|
|
114
114
|
},
|
|
115
|
-
children: /* @__PURE__ */
|
|
115
|
+
children: /* @__PURE__ */ y(we, {
|
|
116
116
|
style: { padding: "var(--space-pagePadding)" },
|
|
117
|
-
children: /* @__PURE__ */
|
|
117
|
+
children: /* @__PURE__ */ b("div", {
|
|
118
118
|
style: {
|
|
119
119
|
display: "flex",
|
|
120
120
|
flexDirection: "column",
|
|
@@ -122,20 +122,20 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
122
122
|
textAlign: "center"
|
|
123
123
|
},
|
|
124
124
|
children: [
|
|
125
|
-
/* @__PURE__ */
|
|
125
|
+
/* @__PURE__ */ y("div", {
|
|
126
126
|
style: {
|
|
127
127
|
padding: "var(--space-controlGap)",
|
|
128
128
|
borderRadius: "50%",
|
|
129
129
|
backgroundColor: "var(--color-status-error-bgSubtle)",
|
|
130
130
|
marginBottom: "var(--space-formGap)"
|
|
131
131
|
},
|
|
132
|
-
children: /* @__PURE__ */
|
|
132
|
+
children: /* @__PURE__ */ y(se, { style: {
|
|
133
133
|
height: "var(--size-icon-xl)",
|
|
134
134
|
width: "var(--size-icon-xl)",
|
|
135
135
|
color: "var(--color-status-error-text)"
|
|
136
136
|
} })
|
|
137
137
|
}),
|
|
138
|
-
/* @__PURE__ */
|
|
138
|
+
/* @__PURE__ */ y("h3", {
|
|
139
139
|
style: {
|
|
140
140
|
fontSize: "var(--font-size-body-lg)",
|
|
141
141
|
fontWeight: "var(--font-weight-medium)",
|
|
@@ -144,7 +144,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
144
144
|
},
|
|
145
145
|
children: C("bigconsole.dataSinks.error.title", "Failed to load Data Sinks")
|
|
146
146
|
}),
|
|
147
|
-
/* @__PURE__ */
|
|
147
|
+
/* @__PURE__ */ y("p", {
|
|
148
148
|
style: {
|
|
149
149
|
fontSize: "var(--font-size-body-sm)",
|
|
150
150
|
color: "var(--color-text-secondary)",
|
|
@@ -152,7 +152,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
152
152
|
},
|
|
153
153
|
children: V.message
|
|
154
154
|
}),
|
|
155
|
-
/* @__PURE__ */
|
|
155
|
+
/* @__PURE__ */ y(u, {
|
|
156
156
|
size: "sm",
|
|
157
157
|
onClick: () => G(),
|
|
158
158
|
children: C("bigconsole.dataSinks.error.retry", "Try Again")
|
|
@@ -161,32 +161,29 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
161
161
|
})
|
|
162
162
|
})
|
|
163
163
|
})
|
|
164
|
-
}) : /* @__PURE__ */
|
|
164
|
+
}) : /* @__PURE__ */ b("div", {
|
|
165
165
|
style: {
|
|
166
166
|
minHeight: "100vh",
|
|
167
167
|
backgroundColor: "var(--color-bg-canvas)"
|
|
168
168
|
},
|
|
169
169
|
children: [
|
|
170
|
-
/* @__PURE__ */
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
backgroundColor: "var(--color-bg-surface)"
|
|
174
|
-
},
|
|
175
|
-
children: /* @__PURE__ */ d("div", {
|
|
170
|
+
/* @__PURE__ */ b("div", {
|
|
171
|
+
className: "relative overflow-hidden border-b border-border-seam bg-gloss-card",
|
|
172
|
+
children: [/* @__PURE__ */ y(be, { intensity: "subtle" }), /* @__PURE__ */ y("div", {
|
|
176
173
|
style: { padding: "var(--space-pagePadding)" },
|
|
177
|
-
children: /* @__PURE__ */
|
|
174
|
+
children: /* @__PURE__ */ b("div", {
|
|
178
175
|
style: {
|
|
179
176
|
display: "flex",
|
|
180
177
|
alignItems: "center",
|
|
181
178
|
justifyContent: "space-between"
|
|
182
179
|
},
|
|
183
|
-
children: [/* @__PURE__ */
|
|
180
|
+
children: [/* @__PURE__ */ b("div", {
|
|
184
181
|
style: {
|
|
185
182
|
display: "flex",
|
|
186
183
|
alignItems: "center",
|
|
187
184
|
gap: "var(--space-formGap)"
|
|
188
185
|
},
|
|
189
|
-
children: [/* @__PURE__ */
|
|
186
|
+
children: [/* @__PURE__ */ y("div", {
|
|
190
187
|
style: {
|
|
191
188
|
display: "flex",
|
|
192
189
|
height: "var(--size-controlHeight-lg)",
|
|
@@ -196,20 +193,20 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
196
193
|
borderRadius: "var(--radius-card)",
|
|
197
194
|
backgroundColor: "var(--color-action-primary-bg)"
|
|
198
195
|
},
|
|
199
|
-
children: /* @__PURE__ */
|
|
196
|
+
children: /* @__PURE__ */ y(ce, { style: {
|
|
200
197
|
height: "var(--size-icon-lg)",
|
|
201
198
|
width: "var(--size-icon-lg)",
|
|
202
199
|
color: "var(--color-action-primary-text)"
|
|
203
200
|
} })
|
|
204
|
-
}), /* @__PURE__ */
|
|
201
|
+
}), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("h1", {
|
|
205
202
|
style: {
|
|
206
203
|
fontSize: "var(--font-size-heading-h4)",
|
|
207
204
|
fontWeight: "var(--font-weight-bold)",
|
|
208
205
|
margin: 0,
|
|
209
206
|
color: "var(--color-text-primary)"
|
|
210
207
|
},
|
|
211
|
-
children: C("bigconsole.dataSinks.title", "Data Sinks")
|
|
212
|
-
}), /* @__PURE__ */
|
|
208
|
+
children: /* @__PURE__ */ y(Te, { children: C("bigconsole.dataSinks.title", "Data Sinks") })
|
|
209
|
+
}), /* @__PURE__ */ y("p", {
|
|
213
210
|
style: {
|
|
214
211
|
fontSize: "var(--font-size-body-sm)",
|
|
215
212
|
color: "var(--color-text-secondary)",
|
|
@@ -217,37 +214,38 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
217
214
|
},
|
|
218
215
|
children: C("bigconsole.dataSinks.subtitle", "Manage pre-processed data from FluidGrids workflows")
|
|
219
216
|
})] })]
|
|
220
|
-
}), /* @__PURE__ */
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
children: [/* @__PURE__ */ f(p, {
|
|
226
|
-
variant: "outline",
|
|
227
|
-
onClick: Ne,
|
|
228
|
-
children: [/* @__PURE__ */ d(ve, { style: {
|
|
217
|
+
}), /* @__PURE__ */ y(Se, {
|
|
218
|
+
primary: {
|
|
219
|
+
label: C("bigconsole.dataSinks.actions.create", "Create Data Sink"),
|
|
220
|
+
onSelect: Y,
|
|
221
|
+
icon: /* @__PURE__ */ y(l, { style: {
|
|
229
222
|
marginRight: "var(--space-iconGap)",
|
|
230
223
|
height: "var(--size-icon-sm)",
|
|
231
224
|
width: "var(--size-icon-sm)"
|
|
232
|
-
} })
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
225
|
+
} })
|
|
226
|
+
},
|
|
227
|
+
actions: [{
|
|
228
|
+
label: C("bigconsole.dataSinks.actions.import", "Import"),
|
|
229
|
+
onSelect: Re,
|
|
230
|
+
icon: /* @__PURE__ */ y(_e, { style: {
|
|
237
231
|
height: "var(--size-icon-sm)",
|
|
238
232
|
width: "var(--size-icon-sm)"
|
|
239
|
-
} })
|
|
240
|
-
}
|
|
233
|
+
} })
|
|
234
|
+
}]
|
|
241
235
|
})]
|
|
242
236
|
})
|
|
243
|
-
})
|
|
237
|
+
})]
|
|
244
238
|
}),
|
|
245
|
-
/* @__PURE__ */
|
|
239
|
+
/* @__PURE__ */ b("div", {
|
|
246
240
|
style: { padding: "var(--space-pagePadding)" },
|
|
247
241
|
children: [
|
|
248
|
-
/* @__PURE__ */
|
|
242
|
+
/* @__PURE__ */ y(De, {
|
|
243
|
+
className: "mb-[var(--space-sectionGap)]",
|
|
244
|
+
children: "Data sinks are the structured destinations that hold your processed data — define a schema once and every pipeline, parser, and workflow can write into it. Dashboards then query sinks directly, so a sink is where your data lives and where your charts read from."
|
|
245
|
+
}),
|
|
246
|
+
/* @__PURE__ */ y("div", {
|
|
249
247
|
style: { marginBottom: "var(--space-formGap)" },
|
|
250
|
-
children: /* @__PURE__ */
|
|
248
|
+
children: /* @__PURE__ */ y("div", {
|
|
251
249
|
style: {
|
|
252
250
|
display: "flex",
|
|
253
251
|
alignItems: "center",
|
|
@@ -257,7 +255,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
257
255
|
borderRadius: "var(--radius-card)",
|
|
258
256
|
width: "fit-content"
|
|
259
257
|
},
|
|
260
|
-
children:
|
|
258
|
+
children: He.map((e) => /* @__PURE__ */ y("button", {
|
|
261
259
|
type: "button",
|
|
262
260
|
onClick: () => T(e.value),
|
|
263
261
|
style: {
|
|
@@ -276,7 +274,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
276
274
|
}, e.value))
|
|
277
275
|
})
|
|
278
276
|
}),
|
|
279
|
-
/* @__PURE__ */
|
|
277
|
+
/* @__PURE__ */ b("div", {
|
|
280
278
|
style: {
|
|
281
279
|
display: "flex",
|
|
282
280
|
alignItems: "center",
|
|
@@ -285,13 +283,13 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
285
283
|
flexWrap: "wrap"
|
|
286
284
|
},
|
|
287
285
|
children: [
|
|
288
|
-
/* @__PURE__ */
|
|
286
|
+
/* @__PURE__ */ b("div", {
|
|
289
287
|
style: {
|
|
290
288
|
position: "relative",
|
|
291
289
|
maxWidth: "400px",
|
|
292
290
|
flex: 1
|
|
293
291
|
},
|
|
294
|
-
children: [/* @__PURE__ */
|
|
292
|
+
children: [/* @__PURE__ */ y(me, { style: {
|
|
295
293
|
position: "absolute",
|
|
296
294
|
left: "var(--space-controlGap)",
|
|
297
295
|
top: "50%",
|
|
@@ -299,7 +297,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
299
297
|
height: "var(--size-icon-sm)",
|
|
300
298
|
width: "var(--size-icon-sm)",
|
|
301
299
|
color: "var(--color-text-muted)"
|
|
302
|
-
} }), /* @__PURE__ */
|
|
300
|
+
} }), /* @__PURE__ */ y(Ee, {
|
|
303
301
|
type: "text",
|
|
304
302
|
placeholder: C("bigconsole.dataSinks.search.placeholder", "Search data sinks..."),
|
|
305
303
|
value: j,
|
|
@@ -310,88 +308,88 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
310
308
|
}
|
|
311
309
|
})]
|
|
312
310
|
}),
|
|
313
|
-
/* @__PURE__ */
|
|
311
|
+
/* @__PURE__ */ b(p, {
|
|
314
312
|
value: k || "all",
|
|
315
313
|
onValueChange: (e) => M(e === "all" ? null : e),
|
|
316
|
-
children: [/* @__PURE__ */
|
|
314
|
+
children: [/* @__PURE__ */ y(g, {
|
|
317
315
|
style: { width: "150px" },
|
|
318
|
-
children: /* @__PURE__ */
|
|
319
|
-
}), /* @__PURE__ */
|
|
320
|
-
/* @__PURE__ */
|
|
316
|
+
children: /* @__PURE__ */ y(_, { placeholder: C("bigconsole.dataSinks.filters.status.placeholder", "All Statuses") })
|
|
317
|
+
}), /* @__PURE__ */ b(m, { children: [
|
|
318
|
+
/* @__PURE__ */ y(h, {
|
|
321
319
|
value: "all",
|
|
322
320
|
children: C("bigconsole.dataSinks.filters.status.all", "All Statuses")
|
|
323
321
|
}),
|
|
324
|
-
/* @__PURE__ */
|
|
322
|
+
/* @__PURE__ */ y(h, {
|
|
325
323
|
value: "ready",
|
|
326
324
|
children: C("bigconsole.dataSinks.filters.status.ready", "Ready")
|
|
327
325
|
}),
|
|
328
|
-
/* @__PURE__ */
|
|
326
|
+
/* @__PURE__ */ y(h, {
|
|
329
327
|
value: "error",
|
|
330
328
|
children: C("bigconsole.dataSinks.filters.status.error", "Error")
|
|
331
329
|
}),
|
|
332
|
-
/* @__PURE__ */
|
|
330
|
+
/* @__PURE__ */ y(h, {
|
|
333
331
|
value: "stale",
|
|
334
332
|
children: C("bigconsole.dataSinks.filters.status.stale", "Stale")
|
|
335
333
|
}),
|
|
336
|
-
/* @__PURE__ */
|
|
334
|
+
/* @__PURE__ */ y(h, {
|
|
337
335
|
value: "refreshing",
|
|
338
336
|
children: C("bigconsole.dataSinks.filters.status.refreshing", "Refreshing")
|
|
339
337
|
})
|
|
340
338
|
] })]
|
|
341
339
|
}),
|
|
342
|
-
/* @__PURE__ */
|
|
340
|
+
/* @__PURE__ */ b(p, {
|
|
343
341
|
value: A === null ? "all" : A ? "true" : "false",
|
|
344
342
|
onValueChange: (e) => N(e === "all" ? null : e === "true"),
|
|
345
|
-
children: [/* @__PURE__ */
|
|
343
|
+
children: [/* @__PURE__ */ y(g, {
|
|
346
344
|
style: { width: "130px" },
|
|
347
|
-
children: /* @__PURE__ */
|
|
348
|
-
}), /* @__PURE__ */
|
|
349
|
-
/* @__PURE__ */
|
|
345
|
+
children: /* @__PURE__ */ y(_, { placeholder: C("bigconsole.dataSinks.filters.active.placeholder", "All") })
|
|
346
|
+
}), /* @__PURE__ */ b(m, { children: [
|
|
347
|
+
/* @__PURE__ */ y(h, {
|
|
350
348
|
value: "all",
|
|
351
349
|
children: C("bigconsole.dataSinks.filters.active.all", "All")
|
|
352
350
|
}),
|
|
353
|
-
/* @__PURE__ */
|
|
351
|
+
/* @__PURE__ */ y(h, {
|
|
354
352
|
value: "true",
|
|
355
353
|
children: C("bigconsole.dataSinks.filters.active.active", "Active")
|
|
356
354
|
}),
|
|
357
|
-
/* @__PURE__ */
|
|
355
|
+
/* @__PURE__ */ y(h, {
|
|
358
356
|
value: "false",
|
|
359
357
|
children: C("bigconsole.dataSinks.filters.active.inactive", "Inactive")
|
|
360
358
|
})
|
|
361
359
|
] })]
|
|
362
360
|
}),
|
|
363
|
-
|
|
361
|
+
Be && /* @__PURE__ */ b(u, {
|
|
364
362
|
variant: "ghost",
|
|
365
363
|
size: "sm",
|
|
366
|
-
onClick:
|
|
367
|
-
children: [/* @__PURE__ */
|
|
364
|
+
onClick: Ve,
|
|
365
|
+
children: [/* @__PURE__ */ y(ve, { style: {
|
|
368
366
|
marginRight: "var(--space-iconGap)",
|
|
369
367
|
height: "var(--size-icon-sm)",
|
|
370
368
|
width: "var(--size-icon-sm)"
|
|
371
369
|
} }), C("bigconsole.dataSinks.filters.clear", "Clear Filters")]
|
|
372
370
|
}),
|
|
373
|
-
/* @__PURE__ */
|
|
371
|
+
/* @__PURE__ */ b("div", {
|
|
374
372
|
style: {
|
|
375
373
|
marginLeft: "auto",
|
|
376
374
|
display: "flex",
|
|
377
375
|
alignItems: "center",
|
|
378
376
|
gap: "var(--space-controlGap)"
|
|
379
377
|
},
|
|
380
|
-
children: [/* @__PURE__ */
|
|
378
|
+
children: [/* @__PURE__ */ b(xe, {
|
|
381
379
|
variant: "secondary",
|
|
382
380
|
children: [
|
|
383
381
|
J.length,
|
|
384
382
|
" ",
|
|
385
383
|
J.length === 1 ? C("bigconsole.dataSinks.count.single", "Data Sink") : C("bigconsole.dataSinks.count.plural", "Data Sinks")
|
|
386
384
|
]
|
|
387
|
-
}), /* @__PURE__ */
|
|
385
|
+
}), /* @__PURE__ */ b("div", {
|
|
388
386
|
style: {
|
|
389
387
|
display: "flex",
|
|
390
388
|
borderRadius: "var(--radius-button)",
|
|
391
389
|
border: "1px solid var(--color-border)",
|
|
392
390
|
overflow: "hidden"
|
|
393
391
|
},
|
|
394
|
-
children: [/* @__PURE__ */
|
|
392
|
+
children: [/* @__PURE__ */ y("button", {
|
|
395
393
|
type: "button",
|
|
396
394
|
onClick: () => O("grid"),
|
|
397
395
|
title: C("bigconsole.dataSinks.view.grid", "Grid view"),
|
|
@@ -402,8 +400,8 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
402
400
|
backgroundColor: D === "grid" ? "var(--color-bg-sunken)" : "transparent",
|
|
403
401
|
color: D === "grid" ? "var(--color-text-primary)" : "var(--color-text-muted)"
|
|
404
402
|
},
|
|
405
|
-
children: /* @__PURE__ */
|
|
406
|
-
}), /* @__PURE__ */
|
|
403
|
+
children: /* @__PURE__ */ y(de, { size: 16 })
|
|
404
|
+
}), /* @__PURE__ */ y("button", {
|
|
407
405
|
type: "button",
|
|
408
406
|
onClick: () => O("table"),
|
|
409
407
|
title: C("bigconsole.dataSinks.view.table", "Table view"),
|
|
@@ -415,26 +413,26 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
415
413
|
backgroundColor: D === "table" ? "var(--color-bg-sunken)" : "transparent",
|
|
416
414
|
color: D === "table" ? "var(--color-text-primary)" : "var(--color-text-muted)"
|
|
417
415
|
},
|
|
418
|
-
children: /* @__PURE__ */
|
|
416
|
+
children: /* @__PURE__ */ y(he, { size: 16 })
|
|
419
417
|
})]
|
|
420
418
|
})]
|
|
421
419
|
})
|
|
422
420
|
]
|
|
423
421
|
}),
|
|
424
|
-
B && H.length === 0 && /* @__PURE__ */
|
|
422
|
+
B && H.length === 0 && /* @__PURE__ */ y("div", {
|
|
425
423
|
style: {
|
|
426
424
|
display: "flex",
|
|
427
425
|
alignItems: "center",
|
|
428
426
|
justifyContent: "center",
|
|
429
427
|
padding: "80px 0"
|
|
430
428
|
},
|
|
431
|
-
children: /* @__PURE__ */
|
|
429
|
+
children: /* @__PURE__ */ b("div", {
|
|
432
430
|
style: { textAlign: "center" },
|
|
433
|
-
children: [/* @__PURE__ */
|
|
431
|
+
children: [/* @__PURE__ */ y(Oe, { style: {
|
|
434
432
|
height: "var(--size-icon-xl)",
|
|
435
433
|
width: "var(--size-icon-xl)",
|
|
436
434
|
margin: "0 auto var(--space-formGap)"
|
|
437
|
-
} }), /* @__PURE__ */
|
|
435
|
+
} }), /* @__PURE__ */ y("p", {
|
|
438
436
|
style: {
|
|
439
437
|
fontSize: "var(--font-size-body-sm)",
|
|
440
438
|
color: "var(--color-text-muted)"
|
|
@@ -443,119 +441,75 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
443
441
|
})]
|
|
444
442
|
})
|
|
445
443
|
}),
|
|
446
|
-
!B && H.length === 0 && /* @__PURE__ */ d
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
width: "80px",
|
|
462
|
-
alignItems: "center",
|
|
463
|
-
justifyContent: "center",
|
|
464
|
-
borderRadius: "50%",
|
|
465
|
-
backgroundColor: "var(--color-bg-sunken)",
|
|
466
|
-
marginBottom: "var(--space-sectionGap)"
|
|
467
|
-
},
|
|
468
|
-
children: /* @__PURE__ */ d(de, { style: {
|
|
469
|
-
height: "var(--size-icon-xl)",
|
|
470
|
-
width: "var(--size-icon-xl)",
|
|
471
|
-
color: "var(--color-text-muted)"
|
|
472
|
-
} })
|
|
473
|
-
}),
|
|
474
|
-
/* @__PURE__ */ d("h3", {
|
|
475
|
-
style: {
|
|
476
|
-
fontSize: "var(--font-size-heading-h4)",
|
|
477
|
-
fontWeight: "var(--font-weight-semibold)",
|
|
478
|
-
marginBottom: "var(--space-controlGap)"
|
|
479
|
-
},
|
|
480
|
-
children: C("bigconsole.dataSinks.empty.title", "No Data Sinks yet")
|
|
481
|
-
}),
|
|
482
|
-
/* @__PURE__ */ d("p", {
|
|
483
|
-
style: {
|
|
484
|
-
fontSize: "var(--font-size-body-sm)",
|
|
485
|
-
color: "var(--color-text-muted)",
|
|
486
|
-
marginBottom: "var(--space-sectionGap)",
|
|
487
|
-
textAlign: "center",
|
|
488
|
-
maxWidth: "400px"
|
|
489
|
-
},
|
|
490
|
-
children: C("bigconsole.dataSinks.empty.description", "Data Sinks store pre-processed data from FluidGrids workflows for fast access in widgets.")
|
|
491
|
-
}),
|
|
492
|
-
/* @__PURE__ */ f(p, {
|
|
493
|
-
onClick: Y,
|
|
494
|
-
children: [/* @__PURE__ */ d(l, { style: {
|
|
495
|
-
marginRight: "var(--space-iconGap)",
|
|
496
|
-
height: "var(--size-icon-sm)",
|
|
497
|
-
width: "var(--size-icon-sm)"
|
|
498
|
-
} }), C("bigconsole.dataSinks.actions.create", "Create Data Sink")]
|
|
499
|
-
})
|
|
500
|
-
]
|
|
444
|
+
!B && H.length === 0 && /* @__PURE__ */ y(d, {
|
|
445
|
+
treatment: "insight",
|
|
446
|
+
className: "border-border-seam",
|
|
447
|
+
children: /* @__PURE__ */ y(f, {
|
|
448
|
+
illustration: "empty-data",
|
|
449
|
+
title: C("bigconsole.dataSinks.empty.title", "No Data Sinks yet"),
|
|
450
|
+
description: C("bigconsole.dataSinks.empty.description", "Data Sinks store pre-processed data from FluidGrids workflows for fast access in widgets."),
|
|
451
|
+
action: /* @__PURE__ */ b(u, {
|
|
452
|
+
onClick: Y,
|
|
453
|
+
children: [/* @__PURE__ */ y(l, { style: {
|
|
454
|
+
marginRight: "var(--space-iconGap)",
|
|
455
|
+
height: "var(--size-icon-sm)",
|
|
456
|
+
width: "var(--size-icon-sm)"
|
|
457
|
+
} }), C("bigconsole.dataSinks.actions.create", "Create Data Sink")]
|
|
458
|
+
})
|
|
501
459
|
})
|
|
502
460
|
}),
|
|
503
|
-
!B && J.length === 0 && H.length > 0 && /* @__PURE__ */
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
onClick: Ie,
|
|
518
|
-
style: { marginTop: "var(--space-formGap)" },
|
|
519
|
-
children: C("bigconsole.dataSinks.filters.clear", "Clear Filters")
|
|
520
|
-
})]
|
|
461
|
+
!B && J.length === 0 && H.length > 0 && /* @__PURE__ */ y(d, {
|
|
462
|
+
treatment: "insight",
|
|
463
|
+
className: "border-border-seam",
|
|
464
|
+
children: /* @__PURE__ */ y(f, {
|
|
465
|
+
illustration: "empty-search",
|
|
466
|
+
title: C("bigconsole.dataSinks.empty.filteredTitle", "No matching data sinks"),
|
|
467
|
+
description: C("bigconsole.dataSinks.empty.filtered", "No data sinks match your filters"),
|
|
468
|
+
action: /* @__PURE__ */ y(u, {
|
|
469
|
+
variant: "ghost",
|
|
470
|
+
size: "sm",
|
|
471
|
+
onClick: Ve,
|
|
472
|
+
children: C("bigconsole.dataSinks.filters.clear", "Clear Filters")
|
|
473
|
+
})
|
|
474
|
+
})
|
|
521
475
|
}),
|
|
522
|
-
J.length > 0 && D === "grid" && /* @__PURE__ */
|
|
476
|
+
J.length > 0 && D === "grid" && /* @__PURE__ */ y("div", {
|
|
523
477
|
style: {
|
|
524
478
|
display: "grid",
|
|
525
479
|
gridTemplateColumns: "repeat(auto-fill, minmax(320px, 1fr))",
|
|
526
480
|
gap: "var(--space-formGap)"
|
|
527
481
|
},
|
|
528
|
-
children: J.map((e) => /* @__PURE__ */
|
|
482
|
+
children: J.map((e) => /* @__PURE__ */ y(ne, {
|
|
529
483
|
dataSink: e.dataSink,
|
|
530
484
|
setupState: e.setupState,
|
|
531
485
|
onView: X,
|
|
532
486
|
onEdit: Z,
|
|
533
487
|
onRefresh: Q,
|
|
534
|
-
onExport:
|
|
488
|
+
onExport: Le,
|
|
535
489
|
onDelete: $
|
|
536
490
|
}, e.dataSink.id))
|
|
537
491
|
}),
|
|
538
|
-
J.length > 0 && D === "table" && /* @__PURE__ */
|
|
492
|
+
J.length > 0 && D === "table" && /* @__PURE__ */ y("div", {
|
|
539
493
|
style: {
|
|
540
494
|
border: "1px solid var(--color-border)",
|
|
541
495
|
borderRadius: "var(--radius-card)",
|
|
542
496
|
overflow: "hidden"
|
|
543
497
|
},
|
|
544
|
-
children: /* @__PURE__ */
|
|
498
|
+
children: /* @__PURE__ */ y("div", {
|
|
545
499
|
style: { overflowX: "auto" },
|
|
546
|
-
children: /* @__PURE__ */
|
|
500
|
+
children: /* @__PURE__ */ b("table", {
|
|
547
501
|
style: {
|
|
548
502
|
width: "100%",
|
|
549
503
|
borderCollapse: "collapse",
|
|
550
504
|
fontSize: "var(--font-size-body-sm)"
|
|
551
505
|
},
|
|
552
|
-
children: [/* @__PURE__ */
|
|
506
|
+
children: [/* @__PURE__ */ y("thead", { children: /* @__PURE__ */ b("tr", {
|
|
553
507
|
style: {
|
|
554
508
|
backgroundColor: "var(--color-bg-sunken)",
|
|
555
509
|
borderBottom: "1px solid var(--color-border)"
|
|
556
510
|
},
|
|
557
511
|
children: [
|
|
558
|
-
/* @__PURE__ */
|
|
512
|
+
/* @__PURE__ */ y("th", {
|
|
559
513
|
style: {
|
|
560
514
|
padding: "10px 12px",
|
|
561
515
|
textAlign: "left",
|
|
@@ -565,7 +519,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
565
519
|
},
|
|
566
520
|
children: C("bigconsole.dataSinks.table.name", "Name")
|
|
567
521
|
}),
|
|
568
|
-
/* @__PURE__ */
|
|
522
|
+
/* @__PURE__ */ y("th", {
|
|
569
523
|
style: {
|
|
570
524
|
padding: "10px 12px",
|
|
571
525
|
textAlign: "left",
|
|
@@ -575,7 +529,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
575
529
|
},
|
|
576
530
|
children: C("bigconsole.dataSinks.table.key", "Key")
|
|
577
531
|
}),
|
|
578
|
-
/* @__PURE__ */
|
|
532
|
+
/* @__PURE__ */ y("th", {
|
|
579
533
|
style: {
|
|
580
534
|
padding: "10px 12px",
|
|
581
535
|
textAlign: "left",
|
|
@@ -585,7 +539,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
585
539
|
},
|
|
586
540
|
children: C("bigconsole.dataSinks.table.status", "Status")
|
|
587
541
|
}),
|
|
588
|
-
/* @__PURE__ */
|
|
542
|
+
/* @__PURE__ */ y("th", {
|
|
589
543
|
style: {
|
|
590
544
|
padding: "10px 12px",
|
|
591
545
|
textAlign: "left",
|
|
@@ -595,7 +549,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
595
549
|
},
|
|
596
550
|
children: C("bigconsole.dataSinks.table.setup", "Setup")
|
|
597
551
|
}),
|
|
598
|
-
/* @__PURE__ */
|
|
552
|
+
/* @__PURE__ */ y("th", {
|
|
599
553
|
style: {
|
|
600
554
|
padding: "10px 12px",
|
|
601
555
|
textAlign: "center",
|
|
@@ -605,7 +559,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
605
559
|
},
|
|
606
560
|
children: C("bigconsole.dataSinks.table.active", "Active")
|
|
607
561
|
}),
|
|
608
|
-
/* @__PURE__ */
|
|
562
|
+
/* @__PURE__ */ y("th", {
|
|
609
563
|
style: {
|
|
610
564
|
padding: "10px 12px",
|
|
611
565
|
textAlign: "left",
|
|
@@ -615,7 +569,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
615
569
|
},
|
|
616
570
|
children: C("bigconsole.dataSinks.table.version", "Version")
|
|
617
571
|
}),
|
|
618
|
-
/* @__PURE__ */
|
|
572
|
+
/* @__PURE__ */ y("th", {
|
|
619
573
|
style: {
|
|
620
574
|
padding: "10px 12px",
|
|
621
575
|
textAlign: "left",
|
|
@@ -625,7 +579,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
625
579
|
},
|
|
626
580
|
children: C("bigconsole.dataSinks.table.updated", "Updated")
|
|
627
581
|
}),
|
|
628
|
-
/* @__PURE__ */
|
|
582
|
+
/* @__PURE__ */ y("th", {
|
|
629
583
|
style: {
|
|
630
584
|
padding: "10px 12px",
|
|
631
585
|
textAlign: "right",
|
|
@@ -636,9 +590,9 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
636
590
|
children: C("bigconsole.dataSinks.table.actions", "Actions")
|
|
637
591
|
})
|
|
638
592
|
]
|
|
639
|
-
}) }), /* @__PURE__ */
|
|
593
|
+
}) }), /* @__PURE__ */ y("tbody", { children: J.map((e) => {
|
|
640
594
|
let t = e.dataSink;
|
|
641
|
-
return /* @__PURE__ */
|
|
595
|
+
return /* @__PURE__ */ b("tr", {
|
|
642
596
|
onClick: () => X(t.id),
|
|
643
597
|
style: {
|
|
644
598
|
borderBottom: "1px solid var(--color-border)",
|
|
@@ -652,7 +606,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
652
606
|
e.currentTarget.style.backgroundColor = "transparent";
|
|
653
607
|
},
|
|
654
608
|
children: [
|
|
655
|
-
/* @__PURE__ */
|
|
609
|
+
/* @__PURE__ */ y("td", {
|
|
656
610
|
style: {
|
|
657
611
|
padding: "10px 12px",
|
|
658
612
|
fontWeight: "var(--font-weight-medium)",
|
|
@@ -664,7 +618,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
664
618
|
},
|
|
665
619
|
children: t.name || t.key
|
|
666
620
|
}),
|
|
667
|
-
/* @__PURE__ */
|
|
621
|
+
/* @__PURE__ */ y("td", {
|
|
668
622
|
style: {
|
|
669
623
|
padding: "10px 12px",
|
|
670
624
|
color: "var(--color-text-muted)",
|
|
@@ -677,20 +631,20 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
677
631
|
},
|
|
678
632
|
children: t.key
|
|
679
633
|
}),
|
|
680
|
-
/* @__PURE__ */
|
|
634
|
+
/* @__PURE__ */ y("td", {
|
|
681
635
|
style: { padding: "10px 12px" },
|
|
682
|
-
children: /* @__PURE__ */
|
|
636
|
+
children: /* @__PURE__ */ y(te, { status: t.status })
|
|
683
637
|
}),
|
|
684
|
-
/* @__PURE__ */
|
|
638
|
+
/* @__PURE__ */ y("td", {
|
|
685
639
|
style: { padding: "10px 12px" },
|
|
686
|
-
children: /* @__PURE__ */
|
|
640
|
+
children: /* @__PURE__ */ y(oe, { state: e.setupState })
|
|
687
641
|
}),
|
|
688
|
-
/* @__PURE__ */
|
|
642
|
+
/* @__PURE__ */ y("td", {
|
|
689
643
|
style: {
|
|
690
644
|
padding: "10px 12px",
|
|
691
645
|
textAlign: "center"
|
|
692
646
|
},
|
|
693
|
-
children: /* @__PURE__ */
|
|
647
|
+
children: /* @__PURE__ */ y("span", {
|
|
694
648
|
style: {
|
|
695
649
|
display: "inline-block",
|
|
696
650
|
width: 8,
|
|
@@ -701,14 +655,14 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
701
655
|
title: t.isActive ? C("bigconsole.dataSinks.badges.active", "Active") : C("bigconsole.dataSinks.badges.inactive", "Inactive")
|
|
702
656
|
})
|
|
703
657
|
}),
|
|
704
|
-
/* @__PURE__ */
|
|
658
|
+
/* @__PURE__ */ b("td", {
|
|
705
659
|
style: {
|
|
706
660
|
padding: "10px 12px",
|
|
707
661
|
color: "var(--color-text-muted)"
|
|
708
662
|
},
|
|
709
663
|
children: ["v", t.version ?? 0]
|
|
710
664
|
}),
|
|
711
|
-
/* @__PURE__ */
|
|
665
|
+
/* @__PURE__ */ y("td", {
|
|
712
666
|
style: {
|
|
713
667
|
padding: "10px 12px",
|
|
714
668
|
color: "var(--color-text-muted)",
|
|
@@ -716,12 +670,12 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
716
670
|
},
|
|
717
671
|
children: new Date(t.updatedAt).toLocaleDateString()
|
|
718
672
|
}),
|
|
719
|
-
/* @__PURE__ */
|
|
673
|
+
/* @__PURE__ */ y("td", {
|
|
720
674
|
style: {
|
|
721
675
|
padding: "10px 12px",
|
|
722
676
|
textAlign: "right"
|
|
723
677
|
},
|
|
724
|
-
children: /* @__PURE__ */
|
|
678
|
+
children: /* @__PURE__ */ b("div", {
|
|
725
679
|
style: {
|
|
726
680
|
display: "flex",
|
|
727
681
|
gap: 4,
|
|
@@ -729,7 +683,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
729
683
|
},
|
|
730
684
|
onClick: (e) => e.stopPropagation(),
|
|
731
685
|
children: [
|
|
732
|
-
/* @__PURE__ */
|
|
686
|
+
/* @__PURE__ */ y("button", {
|
|
733
687
|
type: "button",
|
|
734
688
|
title: C("bigconsole.dataSinks.actions.view", "View"),
|
|
735
689
|
onClick: () => X(t.id),
|
|
@@ -741,9 +695,9 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
741
695
|
color: "var(--color-text-muted)",
|
|
742
696
|
borderRadius: 4
|
|
743
697
|
},
|
|
744
|
-
children: /* @__PURE__ */
|
|
698
|
+
children: /* @__PURE__ */ y(ue, { size: 14 })
|
|
745
699
|
}),
|
|
746
|
-
/* @__PURE__ */
|
|
700
|
+
/* @__PURE__ */ y("button", {
|
|
747
701
|
type: "button",
|
|
748
702
|
title: C("bigconsole.dataSinks.actions.edit", "Edit"),
|
|
749
703
|
onClick: () => Z(t.id),
|
|
@@ -755,9 +709,9 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
755
709
|
color: "var(--color-text-muted)",
|
|
756
710
|
borderRadius: 4
|
|
757
711
|
},
|
|
758
|
-
children: /* @__PURE__ */
|
|
712
|
+
children: /* @__PURE__ */ y(fe, { size: 14 })
|
|
759
713
|
}),
|
|
760
|
-
/* @__PURE__ */
|
|
714
|
+
/* @__PURE__ */ y("button", {
|
|
761
715
|
type: "button",
|
|
762
716
|
title: C("bigconsole.dataSinks.actions.refresh", "Refresh"),
|
|
763
717
|
onClick: () => Q(t.id),
|
|
@@ -769,12 +723,12 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
769
723
|
color: "var(--color-text-muted)",
|
|
770
724
|
borderRadius: 4
|
|
771
725
|
},
|
|
772
|
-
children: /* @__PURE__ */
|
|
726
|
+
children: /* @__PURE__ */ y(pe, { size: 14 })
|
|
773
727
|
}),
|
|
774
|
-
/* @__PURE__ */
|
|
728
|
+
/* @__PURE__ */ y("button", {
|
|
775
729
|
type: "button",
|
|
776
730
|
title: C("bigconsole.dataSinks.actions.export", "Export"),
|
|
777
|
-
onClick: () =>
|
|
731
|
+
onClick: () => Le(t.id),
|
|
778
732
|
style: {
|
|
779
733
|
padding: 4,
|
|
780
734
|
border: "none",
|
|
@@ -783,9 +737,9 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
783
737
|
color: "var(--color-text-muted)",
|
|
784
738
|
borderRadius: 4
|
|
785
739
|
},
|
|
786
|
-
children: /* @__PURE__ */
|
|
740
|
+
children: /* @__PURE__ */ y(le, { size: 14 })
|
|
787
741
|
}),
|
|
788
|
-
/* @__PURE__ */
|
|
742
|
+
/* @__PURE__ */ y("button", {
|
|
789
743
|
type: "button",
|
|
790
744
|
title: C("bigconsole.dataSinks.actions.delete", "Delete"),
|
|
791
745
|
onClick: () => $(t.id),
|
|
@@ -797,7 +751,7 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
797
751
|
color: "var(--color-text-muted)",
|
|
798
752
|
borderRadius: 4
|
|
799
753
|
},
|
|
800
|
-
children: /* @__PURE__ */
|
|
754
|
+
children: /* @__PURE__ */ y(ge, { size: 14 })
|
|
801
755
|
})
|
|
802
756
|
]
|
|
803
757
|
})
|
|
@@ -810,21 +764,21 @@ var x = "bigconsole-datasinks-view-mode", Te = (e) => e.setupState === "complete
|
|
|
810
764
|
})
|
|
811
765
|
]
|
|
812
766
|
}),
|
|
813
|
-
F && /* @__PURE__ */
|
|
767
|
+
F && /* @__PURE__ */ b(ke, { children: [/* @__PURE__ */ y(re, {
|
|
814
768
|
dataSink: F,
|
|
815
|
-
isOpen:
|
|
769
|
+
isOpen: Ne,
|
|
816
770
|
onClose: L,
|
|
817
|
-
onConfirm:
|
|
818
|
-
}), /* @__PURE__ */
|
|
771
|
+
onConfirm: Ie
|
|
772
|
+
}), /* @__PURE__ */ y(ie, {
|
|
819
773
|
dataSink: F,
|
|
820
|
-
isOpen:
|
|
774
|
+
isOpen: Pe,
|
|
821
775
|
onClose: z,
|
|
822
|
-
onConfirm:
|
|
776
|
+
onConfirm: Fe
|
|
823
777
|
})] }),
|
|
824
|
-
/* @__PURE__ */
|
|
825
|
-
isOpen:
|
|
778
|
+
/* @__PURE__ */ y(ae, {
|
|
779
|
+
isOpen: je,
|
|
826
780
|
onClose: () => E(!1),
|
|
827
|
-
onSuccess:
|
|
781
|
+
onSuccess: ze
|
|
828
782
|
})
|
|
829
783
|
]
|
|
830
784
|
});
|