@burdenoff/microfe-bigconsole 2026.812.2 → 2026.827.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/components/builder/inspector/LayoutSection.js +71 -0
- package/dist/bigconsole/components/builder/inspector/LayoutSection.js.map +1 -0
- package/dist/bigconsole/components/builder/inspector/index.js +1 -0
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js +137 -121
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js.map +1 -1
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js +204 -93
- package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js.map +1 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +259 -133
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js.map +1 -1
- package/dist/bigconsole/components/dashboard/StoreTemplatePicker.js +87 -39
- package/dist/bigconsole/components/dashboard/StoreTemplatePicker.js.map +1 -1
- package/dist/bigconsole/components/datasink/DataSinkCard.js +88 -68
- package/dist/bigconsole/components/datasink/DataSinkCard.js.map +1 -1
- package/dist/bigconsole/components/widgets/PropertiesPanel.js +213 -199
- package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -1
- package/dist/bigconsole/components/workflow/WorkflowCard.js +46 -27
- package/dist/bigconsole/components/workflow/WorkflowCard.js.map +1 -1
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +44 -47
- package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js.map +1 -1
- package/dist/bigconsole/customWidget/proposalSource.js +31 -24
- package/dist/bigconsole/customWidget/proposalSource.js.map +1 -1
- package/dist/bigconsole/hooks/useDashboardOperations.js +74 -64
- package/dist/bigconsole/hooks/useDashboardOperations.js.map +1 -1
- package/dist/bigconsole/hooks/useDataSinkOperations.js +2 -2
- package/dist/bigconsole/hooks/useDataSinkOperations.js.map +1 -1
- package/dist/bigconsole/pages/DashboardBuilderPage.js +1 -1
- package/dist/bigconsole/pages/DashboardsPage.js +386 -316
- package/dist/bigconsole/pages/DashboardsPage.js.map +1 -1
- package/dist/bigconsole/pages/DataSinksPage.js +251 -206
- package/dist/bigconsole/pages/DataSinksPage.js.map +1 -1
- package/dist/bigconsole/pages/InsightsPage.js +646 -378
- package/dist/bigconsole/pages/InsightsPage.js.map +1 -1
- package/dist/bigconsole/pages/WorkflowsPage.js +153 -108
- package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -1
- package/dist/bigconsole/utils/format.js +18 -0
- package/dist/bigconsole/utils/format.js.map +1 -0
- package/dist/bigconsole/utils/widgetPositioning.js +1 -1
- package/dist/generated/wspace-operations.js +1 -0
- package/dist/generated/wspace-operations.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,118 +9,124 @@ import ne from "../hooks/useExportDataSink.js";
|
|
|
9
9
|
import { BIGCONSOLE_PERMISSIONS as i } from "../../constants/permissions.js";
|
|
10
10
|
import re from "../components/datasink/DataSinkStatusBadge.js";
|
|
11
11
|
import { isNative as a, nativeNotify as o } from "../../utils/nativeBridge.js";
|
|
12
|
-
import ie from "../
|
|
13
|
-
import ae from "../components/datasink/
|
|
14
|
-
import oe from "../components/datasink/
|
|
15
|
-
import se from "../components/datasink/
|
|
16
|
-
import ce from "../components/datasink/
|
|
12
|
+
import { formatByteSize as ie } from "../utils/format.js";
|
|
13
|
+
import ae from "../components/datasink/DataSinkCard.js";
|
|
14
|
+
import oe from "../components/datasink/DataSinkDeleteDialog.js";
|
|
15
|
+
import se from "../components/datasink/DataSinkRefreshDialog.js";
|
|
16
|
+
import ce from "../components/datasink/ImportDataSinkDialog.js";
|
|
17
|
+
import le from "../components/datasink/SetupStateBadge.js";
|
|
17
18
|
import { memo as s, useCallback as c, useMemo as l, useState as u } from "react";
|
|
18
|
-
import { AccessDenied as
|
|
19
|
-
import { usePermissions as
|
|
20
|
-
import { AlertCircle as
|
|
21
|
-
import { useI18n as
|
|
22
|
-
import { AuroraBackground as
|
|
19
|
+
import { AccessDenied as ue, PermissionButton as de } from "@burdenoff/fe-libs/shared/components";
|
|
20
|
+
import { usePermissions as fe } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
21
|
+
import { AlertCircle as pe, Container as me, Download as he, Eye as ge, LayoutGrid as _e, Pencil as ve, Plus as d, RefreshCw as ye, Search as be, Table2 as xe, Trash2 as Se, Upload as Ce, X as we } from "lucide-react";
|
|
22
|
+
import { useI18n as Te } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
23
|
+
import { AuroraBackground as Ee, Badge as De, Button as f, CTAOverflowMenu as Oe, GradientText as ke, IllustratedEmptyState as Ae, Input as je, PagePurpose as Me, Select as p, SelectContent as m, SelectItem as h, SelectTrigger as g, SelectValue as _, Spinner as Ne } from "@burdenoff/fe-libs/ui";
|
|
23
24
|
import { getProfileScopedKey as v } from "@burdenoff/fe-libs/shared/utils";
|
|
24
25
|
import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
26
|
+
import { formatDistanceToNow as S } from "date-fns";
|
|
25
27
|
//#region src/bigconsole/pages/DataSinksPage.tsx
|
|
26
|
-
var
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var Pe = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(--size-controlHeight-md)] items-center justify-center rounded-button border-0 bg-transparent text-text-muted hover:bg-bg-surface hover:text-text-primary motion-safe:transition-colors ${n}`, Fe = "focus-visible:ring-inset focus-visible:ring-offset-0", Ie = (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", Le = (e) => {
|
|
29
|
+
if (!e) return "—";
|
|
30
|
+
let t = new Date(e);
|
|
31
|
+
return Number.isNaN(t.getTime()) ? "—" : S(t, { addSuffix: !0 });
|
|
32
|
+
}, w = s(function() {
|
|
33
|
+
let s = t(), { t: S } = Te(), w = c((e, t) => {
|
|
34
|
+
let n = S(e);
|
|
29
35
|
return n === e ? t : n;
|
|
30
|
-
}, [
|
|
31
|
-
|
|
32
|
-
}, []),
|
|
36
|
+
}, [S]), { hasPermission: T, isLoading: Re } = fe(), ze = T(i.DATASINK_READ), E = T(i.DATASINK_CREATE), D = T(i.DATASINK_UPDATE), O = T(i.DATASINK_DELETE), k = T(i.DATASINK_EXECUTE), [A, j] = u("all"), [Be, M] = u(!1), [N, Ve] = u(() => localStorage.getItem(v(Pe)) || "grid"), P = c((e) => {
|
|
37
|
+
Ve(e), localStorage.setItem(v(Pe), e);
|
|
38
|
+
}, []), F = e((e) => e.statusFilter), I = e((e) => e.activeFilter), L = e((e) => e.searchQuery), R = e((e) => e.setStatusFilter), z = e((e) => e.setActiveFilter), B = e((e) => e.setSearchQuery), He = e((e) => e.deleteDialogOpen), Ue = e((e) => e.refreshDialogOpen), V = e((e) => e.currentDataSink), H = e((e) => e.openDeleteDialog), U = e((e) => e.closeDeleteDialog), W = e((e) => e.openRefreshDialog), G = e((e) => e.closeRefreshDialog), { loading: K, error: q, dataSinks: J, deleteDataSink: Y, refreshDataSink: We, refetch: X } = te(), { downloadDataSink: Ge } = ne(), Ke = l(() => J.map((e) => ({
|
|
33
39
|
dataSink: e,
|
|
34
|
-
setupState:
|
|
35
|
-
})), [
|
|
36
|
-
let e = [...
|
|
37
|
-
if (
|
|
38
|
-
let t =
|
|
40
|
+
setupState: Ie(e)
|
|
41
|
+
})), [J]), Z = l(() => {
|
|
42
|
+
let e = [...Ke];
|
|
43
|
+
if (A === "in_progress" ? e = e.filter((e) => e.setupState !== "completed") : A === "completed" && (e = e.filter((e) => e.setupState === "completed")), F !== null && (e = e.filter((e) => e.dataSink.status === F)), I !== null && (e = e.filter((e) => e.dataSink.isActive === I)), L.trim()) {
|
|
44
|
+
let t = L.toLowerCase();
|
|
39
45
|
e = e.filter((e) => e.dataSink.name?.toLowerCase().includes(t) || e.dataSink.key.toLowerCase().includes(t) || e.dataSink.description?.toLowerCase().includes(t));
|
|
40
46
|
}
|
|
41
47
|
return e.sort((e, t) => new Date(t.dataSink.updatedAt).getTime() - new Date(e.dataSink.updatedAt).getTime());
|
|
42
48
|
}, [
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
]),
|
|
49
|
+
Ke,
|
|
50
|
+
A,
|
|
51
|
+
F,
|
|
52
|
+
I,
|
|
53
|
+
L
|
|
54
|
+
]), qe = c(() => {
|
|
49
55
|
s("/datasinks/new");
|
|
50
56
|
}, [s]), Q = c((e) => {
|
|
51
57
|
s(`/datasinks/${e}`);
|
|
52
|
-
}, [s]),
|
|
58
|
+
}, [s]), Je = c((e) => {
|
|
53
59
|
s(`/datasinks/${e}/edit`);
|
|
54
|
-
}, [s]),
|
|
55
|
-
let t =
|
|
56
|
-
t &&
|
|
57
|
-
}, [
|
|
58
|
-
|
|
59
|
-
id:
|
|
60
|
+
}, [s]), Ye = c((e) => {
|
|
61
|
+
let t = J.find((t) => t.id === e);
|
|
62
|
+
t && W(t);
|
|
63
|
+
}, [J, W]), Xe = c(async (e) => {
|
|
64
|
+
V && (await We({
|
|
65
|
+
id: V.id,
|
|
60
66
|
forceRefresh: e
|
|
61
|
-
}),
|
|
67
|
+
}), G());
|
|
62
68
|
}, [
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
]),
|
|
67
|
-
let t =
|
|
68
|
-
t &&
|
|
69
|
-
}, [
|
|
70
|
-
if (
|
|
69
|
+
V,
|
|
70
|
+
We,
|
|
71
|
+
G
|
|
72
|
+
]), Ze = c((e) => {
|
|
73
|
+
let t = J.find((t) => t.id === e);
|
|
74
|
+
t && H(t);
|
|
75
|
+
}, [J, H]), Qe = c(async () => {
|
|
76
|
+
if (V) {
|
|
71
77
|
try {
|
|
72
|
-
await
|
|
78
|
+
await Y(V.id), a() && o("success");
|
|
73
79
|
} catch (e) {
|
|
74
80
|
throw a() && o("error"), e;
|
|
75
81
|
}
|
|
76
|
-
|
|
82
|
+
U();
|
|
77
83
|
}
|
|
78
84
|
}, [
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
]),
|
|
83
|
-
let t =
|
|
84
|
-
t && await
|
|
85
|
-
}, [
|
|
86
|
-
|
|
87
|
-
}, []),
|
|
85
|
+
V,
|
|
86
|
+
Y,
|
|
87
|
+
U
|
|
88
|
+
]), $e = c(async (e) => {
|
|
89
|
+
let t = J.find((t) => t.id === e);
|
|
90
|
+
t && await Ge(e, t.name || t.key);
|
|
91
|
+
}, [J, Ge]), et = c(() => {
|
|
92
|
+
M(!0);
|
|
93
|
+
}, []), tt = c((e, t, n) => {
|
|
88
94
|
X();
|
|
89
|
-
}, [X]),
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
95
|
+
}, [X]), nt = l(() => A !== "all" || F !== null || I !== null || L.trim() !== "", [
|
|
96
|
+
A,
|
|
97
|
+
F,
|
|
98
|
+
I,
|
|
99
|
+
L
|
|
94
100
|
]), $ = c(() => {
|
|
95
|
-
|
|
101
|
+
j("all"), R(null), z(null), B("");
|
|
96
102
|
}, [
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
]),
|
|
103
|
+
R,
|
|
104
|
+
z,
|
|
105
|
+
B
|
|
106
|
+
]), rt = [
|
|
101
107
|
{
|
|
102
108
|
value: "all",
|
|
103
|
-
label:
|
|
109
|
+
label: w("bigconsole.dataSinks.filters.setupState.all", "All")
|
|
104
110
|
},
|
|
105
111
|
{
|
|
106
112
|
value: "in_progress",
|
|
107
|
-
label:
|
|
113
|
+
label: w("bigconsole.dataSinks.filters.setupState.inProgress", "In Progress")
|
|
108
114
|
},
|
|
109
115
|
{
|
|
110
116
|
value: "completed",
|
|
111
|
-
label:
|
|
117
|
+
label: w("bigconsole.dataSinks.filters.setupState.completed", "Completed")
|
|
112
118
|
}
|
|
113
119
|
];
|
|
114
|
-
return !
|
|
115
|
-
title:
|
|
116
|
-
description:
|
|
120
|
+
return !Re && !ze ? /* @__PURE__ */ b(ue, {
|
|
121
|
+
title: w("bigconsole.dataSinks.accessDenied.title", "Access Denied"),
|
|
122
|
+
description: w("bigconsole.dataSinks.accessDenied.description", "You don't have permission to view data sinks.")
|
|
117
123
|
}) : /* @__PURE__ */ x("div", {
|
|
118
124
|
className: "min-w-0",
|
|
119
125
|
style: { backgroundColor: "var(--color-bg-canvas)" },
|
|
120
126
|
children: [
|
|
121
127
|
/* @__PURE__ */ x("header", {
|
|
122
128
|
className: "relative overflow-hidden border-b border-[var(--color-border-seam)] bg-[image:var(--gradient-gloss-card)]",
|
|
123
|
-
children: [/* @__PURE__ */ b(
|
|
129
|
+
children: [/* @__PURE__ */ b(Ee, { intensity: "subtle" }), /* @__PURE__ */ b("div", {
|
|
124
130
|
style: { padding: "var(--space-pagePadding)" },
|
|
125
131
|
children: /* @__PURE__ */ x("div", {
|
|
126
132
|
style: {
|
|
@@ -148,7 +154,7 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
148
154
|
borderRadius: "var(--radius-card)",
|
|
149
155
|
backgroundColor: "var(--color-action-primary-bg)"
|
|
150
156
|
},
|
|
151
|
-
children: /* @__PURE__ */ b(
|
|
157
|
+
children: /* @__PURE__ */ b(me, { style: {
|
|
152
158
|
height: "var(--size-icon-lg)",
|
|
153
159
|
width: "var(--size-icon-lg)",
|
|
154
160
|
color: "var(--color-action-primary-text)"
|
|
@@ -157,26 +163,26 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
157
163
|
style: { minWidth: 0 },
|
|
158
164
|
children: [/* @__PURE__ */ b("h1", {
|
|
159
165
|
className: "m-0 text-2xl font-bold text-text-primary",
|
|
160
|
-
children: /* @__PURE__ */ b(
|
|
166
|
+
children: /* @__PURE__ */ b(ke, { children: w("bigconsole.dataSinks.title", "Data Sinks") })
|
|
161
167
|
}), /* @__PURE__ */ b("p", {
|
|
162
168
|
className: "m-0 text-sm text-text-secondary",
|
|
163
|
-
children:
|
|
169
|
+
children: w("bigconsole.dataSinks.subtitle", "Manage pre-processed data from FluidGrids workflows")
|
|
164
170
|
})]
|
|
165
171
|
})]
|
|
166
|
-
}), /* @__PURE__ */ b(
|
|
167
|
-
primary:
|
|
168
|
-
label:
|
|
169
|
-
onSelect:
|
|
172
|
+
}), /* @__PURE__ */ b(Oe, {
|
|
173
|
+
primary: E ? {
|
|
174
|
+
label: w("bigconsole.dataSinks.actions.create", "Create Data Sink"),
|
|
175
|
+
onSelect: qe,
|
|
170
176
|
icon: /* @__PURE__ */ b(d, { style: {
|
|
171
177
|
marginRight: "var(--space-iconGap)",
|
|
172
178
|
height: "var(--size-icon-sm)",
|
|
173
179
|
width: "var(--size-icon-sm)"
|
|
174
180
|
} })
|
|
175
181
|
} : void 0,
|
|
176
|
-
actions:
|
|
177
|
-
label:
|
|
178
|
-
onSelect:
|
|
179
|
-
icon: /* @__PURE__ */ b(
|
|
182
|
+
actions: E ? [{
|
|
183
|
+
label: w("bigconsole.dataSinks.actions.import", "Import"),
|
|
184
|
+
onSelect: et,
|
|
185
|
+
icon: /* @__PURE__ */ b(Ce, { style: {
|
|
180
186
|
height: "var(--size-icon-sm)",
|
|
181
187
|
width: "var(--size-icon-sm)"
|
|
182
188
|
} })
|
|
@@ -187,29 +193,29 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
187
193
|
}),
|
|
188
194
|
/* @__PURE__ */ x("div", {
|
|
189
195
|
style: { padding: "var(--space-pagePadding)" },
|
|
190
|
-
children: [/* @__PURE__ */ b(
|
|
196
|
+
children: [/* @__PURE__ */ b(Me, {
|
|
191
197
|
className: "mb-[var(--space-sectionGap)]",
|
|
192
198
|
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."
|
|
193
|
-
}), /* @__PURE__ */ b(ee, { children:
|
|
199
|
+
}), /* @__PURE__ */ b(ee, { children: q ? /* @__PURE__ */ b(r, {
|
|
194
200
|
tone: "danger",
|
|
195
201
|
headingLevel: 2,
|
|
196
|
-
title:
|
|
197
|
-
description:
|
|
198
|
-
icon: /* @__PURE__ */ b(
|
|
202
|
+
title: w("bigconsole.dataSinks.error.title", "Failed to load Data Sinks"),
|
|
203
|
+
description: q.message,
|
|
204
|
+
icon: /* @__PURE__ */ b(pe, { className: "h-icon-sm w-icon-sm" }),
|
|
199
205
|
actions: /* @__PURE__ */ b(f, {
|
|
200
206
|
size: "sm",
|
|
201
207
|
onClick: () => X(),
|
|
202
|
-
children:
|
|
208
|
+
children: w("bigconsole.dataSinks.error.retry", "Try Again")
|
|
203
209
|
})
|
|
204
210
|
}) : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(r, {
|
|
205
211
|
headingLevel: 2,
|
|
206
212
|
padding: "compact",
|
|
207
|
-
title:
|
|
208
|
-
description:
|
|
213
|
+
title: w("bigconsole.dataSinks.filters.heading", "Filters"),
|
|
214
|
+
description: w("bigconsole.dataSinks.filters.description", "Narrow the list by setup progress, status, or name."),
|
|
209
215
|
bodyClassName: "space-y-form-gap",
|
|
210
216
|
children: /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("div", {
|
|
211
217
|
role: "group",
|
|
212
|
-
"aria-label":
|
|
218
|
+
"aria-label": w("bigconsole.dataSinks.filters.setupState.label", "Setup state"),
|
|
213
219
|
style: {
|
|
214
220
|
display: "flex",
|
|
215
221
|
alignItems: "center",
|
|
@@ -221,10 +227,10 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
221
227
|
maxWidth: "100%",
|
|
222
228
|
width: "fit-content"
|
|
223
229
|
},
|
|
224
|
-
children:
|
|
230
|
+
children: rt.map((e) => /* @__PURE__ */ b("button", {
|
|
225
231
|
type: "button",
|
|
226
|
-
"aria-pressed":
|
|
227
|
-
onClick: () =>
|
|
232
|
+
"aria-pressed": A === e.value,
|
|
233
|
+
onClick: () => j(e.value),
|
|
228
234
|
className: n,
|
|
229
235
|
style: {
|
|
230
236
|
minHeight: "var(--size-controlHeight-md)",
|
|
@@ -234,9 +240,9 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
234
240
|
borderRadius: "var(--radius-button)",
|
|
235
241
|
border: "none",
|
|
236
242
|
cursor: "pointer",
|
|
237
|
-
backgroundColor:
|
|
238
|
-
color:
|
|
239
|
-
boxShadow:
|
|
243
|
+
backgroundColor: A === e.value ? "var(--color-bg-surface)" : "transparent",
|
|
244
|
+
color: A === e.value ? "var(--color-text-primary)" : "var(--color-text-secondary)",
|
|
245
|
+
boxShadow: A === e.value ? "var(--shadow-elevation-1)" : "none"
|
|
240
246
|
},
|
|
241
247
|
children: e.label
|
|
242
248
|
}, e.value))
|
|
@@ -255,7 +261,7 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
255
261
|
minWidth: "min(100%, 240px)",
|
|
256
262
|
flex: "1 1 240px"
|
|
257
263
|
},
|
|
258
|
-
children: [/* @__PURE__ */ b(
|
|
264
|
+
children: [/* @__PURE__ */ b(be, { style: {
|
|
259
265
|
position: "absolute",
|
|
260
266
|
left: "var(--space-controlGap)",
|
|
261
267
|
top: "50%",
|
|
@@ -263,11 +269,11 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
263
269
|
height: "var(--size-icon-sm)",
|
|
264
270
|
width: "var(--size-icon-sm)",
|
|
265
271
|
color: "var(--color-text-muted)"
|
|
266
|
-
} }), /* @__PURE__ */ b(
|
|
272
|
+
} }), /* @__PURE__ */ b(je, {
|
|
267
273
|
type: "text",
|
|
268
|
-
placeholder:
|
|
269
|
-
value:
|
|
270
|
-
onChange: (e) =>
|
|
274
|
+
placeholder: w("bigconsole.dataSinks.search.placeholder", "Search data sinks..."),
|
|
275
|
+
value: L,
|
|
276
|
+
onChange: (e) => B(e.target.value),
|
|
271
277
|
style: {
|
|
272
278
|
paddingLeft: "var(--size-controlHeight-md)",
|
|
273
279
|
height: "var(--size-controlHeight-md)"
|
|
@@ -275,83 +281,83 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
275
281
|
})]
|
|
276
282
|
}),
|
|
277
283
|
/* @__PURE__ */ x(p, {
|
|
278
|
-
value:
|
|
279
|
-
onValueChange: (e) =>
|
|
284
|
+
value: F || "all",
|
|
285
|
+
onValueChange: (e) => R(e === "all" ? null : e),
|
|
280
286
|
children: [/* @__PURE__ */ b(g, {
|
|
281
287
|
style: { width: "min(100%, 150px)" },
|
|
282
|
-
children: /* @__PURE__ */ b(_, { placeholder:
|
|
288
|
+
children: /* @__PURE__ */ b(_, { placeholder: w("bigconsole.dataSinks.filters.status.placeholder", "All Statuses") })
|
|
283
289
|
}), /* @__PURE__ */ x(m, { children: [
|
|
284
290
|
/* @__PURE__ */ b(h, {
|
|
285
291
|
value: "all",
|
|
286
|
-
children:
|
|
292
|
+
children: w("bigconsole.dataSinks.filters.status.all", "All Statuses")
|
|
287
293
|
}),
|
|
288
294
|
/* @__PURE__ */ b(h, {
|
|
289
295
|
value: "ready",
|
|
290
|
-
children:
|
|
296
|
+
children: w("bigconsole.dataSinks.filters.status.ready", "Ready")
|
|
291
297
|
}),
|
|
292
298
|
/* @__PURE__ */ b(h, {
|
|
293
299
|
value: "error",
|
|
294
|
-
children:
|
|
300
|
+
children: w("bigconsole.dataSinks.filters.status.error", "Error")
|
|
295
301
|
}),
|
|
296
302
|
/* @__PURE__ */ b(h, {
|
|
297
303
|
value: "stale",
|
|
298
|
-
children:
|
|
304
|
+
children: w("bigconsole.dataSinks.filters.status.stale", "Stale")
|
|
299
305
|
}),
|
|
300
306
|
/* @__PURE__ */ b(h, {
|
|
301
307
|
value: "refreshing",
|
|
302
|
-
children:
|
|
308
|
+
children: w("bigconsole.dataSinks.filters.status.refreshing", "Refreshing")
|
|
303
309
|
})
|
|
304
310
|
] })]
|
|
305
311
|
}),
|
|
306
312
|
/* @__PURE__ */ x(p, {
|
|
307
|
-
value:
|
|
308
|
-
onValueChange: (e) =>
|
|
313
|
+
value: I === null ? "all" : I ? "true" : "false",
|
|
314
|
+
onValueChange: (e) => z(e === "all" ? null : e === "true"),
|
|
309
315
|
children: [/* @__PURE__ */ b(g, {
|
|
310
316
|
style: { width: "min(100%, 130px)" },
|
|
311
|
-
children: /* @__PURE__ */ b(_, { placeholder:
|
|
317
|
+
children: /* @__PURE__ */ b(_, { placeholder: w("bigconsole.dataSinks.filters.active.placeholder", "All") })
|
|
312
318
|
}), /* @__PURE__ */ x(m, { children: [
|
|
313
319
|
/* @__PURE__ */ b(h, {
|
|
314
320
|
value: "all",
|
|
315
|
-
children:
|
|
321
|
+
children: w("bigconsole.dataSinks.filters.active.all", "All")
|
|
316
322
|
}),
|
|
317
323
|
/* @__PURE__ */ b(h, {
|
|
318
324
|
value: "true",
|
|
319
|
-
children:
|
|
325
|
+
children: w("bigconsole.dataSinks.filters.active.active", "Active")
|
|
320
326
|
}),
|
|
321
327
|
/* @__PURE__ */ b(h, {
|
|
322
328
|
value: "false",
|
|
323
|
-
children:
|
|
329
|
+
children: w("bigconsole.dataSinks.filters.active.inactive", "Inactive")
|
|
324
330
|
})
|
|
325
331
|
] })]
|
|
326
332
|
}),
|
|
327
|
-
|
|
333
|
+
nt && /* @__PURE__ */ x(f, {
|
|
328
334
|
variant: "ghost",
|
|
329
335
|
size: "sm",
|
|
330
336
|
onClick: $,
|
|
331
|
-
children: [/* @__PURE__ */ b(
|
|
337
|
+
children: [/* @__PURE__ */ b(we, { style: {
|
|
332
338
|
marginRight: "var(--space-iconGap)",
|
|
333
339
|
height: "var(--size-icon-sm)",
|
|
334
340
|
width: "var(--size-icon-sm)"
|
|
335
|
-
} }),
|
|
341
|
+
} }), w("bigconsole.dataSinks.filters.clear", "Clear Filters")]
|
|
336
342
|
})
|
|
337
343
|
]
|
|
338
344
|
})] })
|
|
339
345
|
}), /* @__PURE__ */ b(r, {
|
|
340
346
|
emphasis: "primary",
|
|
341
347
|
headingLevel: 2,
|
|
342
|
-
title:
|
|
343
|
-
description:
|
|
344
|
-
meta: /* @__PURE__ */ x(
|
|
348
|
+
title: w("bigconsole.dataSinks.list.heading", "Data sinks"),
|
|
349
|
+
description: w("bigconsole.dataSinks.list.description", "Every sink in this workspace, most recently updated first."),
|
|
350
|
+
meta: /* @__PURE__ */ x(De, {
|
|
345
351
|
variant: "secondary",
|
|
346
352
|
children: [
|
|
347
353
|
Z.length,
|
|
348
354
|
" ",
|
|
349
|
-
Z.length === 1 ?
|
|
355
|
+
Z.length === 1 ? w("bigconsole.dataSinks.count.single", "Data Sink") : w("bigconsole.dataSinks.count.plural", "Data Sinks")
|
|
350
356
|
]
|
|
351
357
|
}),
|
|
352
358
|
actions: /* @__PURE__ */ x("div", {
|
|
353
359
|
role: "group",
|
|
354
|
-
"aria-label":
|
|
360
|
+
"aria-label": w("bigconsole.dataSinks.view.label", "List layout"),
|
|
355
361
|
style: {
|
|
356
362
|
display: "flex",
|
|
357
363
|
borderRadius: "var(--radius-button)",
|
|
@@ -360,99 +366,99 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
360
366
|
},
|
|
361
367
|
children: [/* @__PURE__ */ b("button", {
|
|
362
368
|
type: "button",
|
|
363
|
-
onClick: () =>
|
|
364
|
-
"aria-pressed":
|
|
365
|
-
title:
|
|
366
|
-
className: `flex h-control-md w-[var(--size-controlHeight-md)] items-center justify-center ${n} ${
|
|
369
|
+
onClick: () => P("grid"),
|
|
370
|
+
"aria-pressed": N === "grid",
|
|
371
|
+
title: w("bigconsole.dataSinks.view.grid", "Grid view"),
|
|
372
|
+
className: `flex h-control-md w-[var(--size-controlHeight-md)] items-center justify-center ${n} ${Fe}`,
|
|
367
373
|
style: {
|
|
368
374
|
border: "none",
|
|
369
375
|
cursor: "pointer",
|
|
370
|
-
backgroundColor:
|
|
371
|
-
color:
|
|
376
|
+
backgroundColor: N === "grid" ? "var(--color-bg-sunken)" : "transparent",
|
|
377
|
+
color: N === "grid" ? "var(--color-text-primary)" : "var(--color-text-muted)"
|
|
372
378
|
},
|
|
373
|
-
children: /* @__PURE__ */ b(
|
|
379
|
+
children: /* @__PURE__ */ b(_e, { size: 16 })
|
|
374
380
|
}), /* @__PURE__ */ b("button", {
|
|
375
381
|
type: "button",
|
|
376
|
-
onClick: () =>
|
|
377
|
-
"aria-pressed":
|
|
378
|
-
title:
|
|
379
|
-
className: `flex h-control-md w-[var(--size-controlHeight-md)] items-center justify-center ${n} ${
|
|
382
|
+
onClick: () => P("table"),
|
|
383
|
+
"aria-pressed": N === "table",
|
|
384
|
+
title: w("bigconsole.dataSinks.view.table", "Table view"),
|
|
385
|
+
className: `flex h-control-md w-[var(--size-controlHeight-md)] items-center justify-center ${n} ${Fe}`,
|
|
380
386
|
style: {
|
|
381
387
|
border: "none",
|
|
382
388
|
borderLeft: "1px solid var(--color-border)",
|
|
383
389
|
cursor: "pointer",
|
|
384
|
-
backgroundColor:
|
|
385
|
-
color:
|
|
390
|
+
backgroundColor: N === "table" ? "var(--color-bg-sunken)" : "transparent",
|
|
391
|
+
color: N === "table" ? "var(--color-text-primary)" : "var(--color-text-muted)"
|
|
386
392
|
},
|
|
387
|
-
children: /* @__PURE__ */ b(
|
|
393
|
+
children: /* @__PURE__ */ b(xe, { size: 16 })
|
|
388
394
|
})]
|
|
389
395
|
}),
|
|
390
396
|
children: /* @__PURE__ */ x(y, { children: [
|
|
391
|
-
|
|
397
|
+
K && J.length === 0 && /* @__PURE__ */ b("div", {
|
|
392
398
|
className: "flex items-center justify-center py-12",
|
|
393
399
|
children: /* @__PURE__ */ x("div", {
|
|
394
400
|
style: { textAlign: "center" },
|
|
395
|
-
children: [/* @__PURE__ */ b(
|
|
401
|
+
children: [/* @__PURE__ */ b(Ne, { style: {
|
|
396
402
|
height: "var(--size-icon-xl)",
|
|
397
403
|
width: "var(--size-icon-xl)",
|
|
398
404
|
margin: "0 auto var(--space-formGap)"
|
|
399
405
|
} }), /* @__PURE__ */ b("p", {
|
|
400
406
|
className: "text-sm text-text-muted",
|
|
401
|
-
children:
|
|
407
|
+
children: w("bigconsole.dataSinks.loading", "Loading data sinks...")
|
|
402
408
|
})]
|
|
403
409
|
})
|
|
404
410
|
}),
|
|
405
|
-
!
|
|
411
|
+
!K && J.length === 0 && /* @__PURE__ */ b(Ae, {
|
|
406
412
|
illustration: "empty-data",
|
|
407
|
-
title:
|
|
408
|
-
description:
|
|
409
|
-
action: /* @__PURE__ */ b(
|
|
413
|
+
title: w("bigconsole.dataSinks.empty.title", "No Data Sinks yet"),
|
|
414
|
+
description: w("bigconsole.dataSinks.empty.description", "Data Sinks store pre-processed data from FluidGrids workflows for fast access in widgets."),
|
|
415
|
+
action: /* @__PURE__ */ b(de, {
|
|
410
416
|
permission: i.DATASINK_CREATE,
|
|
411
417
|
deniedBehavior: "disable",
|
|
412
418
|
children: /* @__PURE__ */ x(f, {
|
|
413
|
-
onClick:
|
|
419
|
+
onClick: qe,
|
|
414
420
|
children: [/* @__PURE__ */ b(d, { style: {
|
|
415
421
|
marginRight: "var(--space-iconGap)",
|
|
416
422
|
height: "var(--size-icon-sm)",
|
|
417
423
|
width: "var(--size-icon-sm)"
|
|
418
|
-
} }),
|
|
424
|
+
} }), w("bigconsole.dataSinks.actions.create", "Create Data Sink")]
|
|
419
425
|
})
|
|
420
426
|
})
|
|
421
427
|
}),
|
|
422
|
-
!
|
|
428
|
+
!K && Z.length === 0 && J.length > 0 && /* @__PURE__ */ b(r, {
|
|
423
429
|
tone: "info",
|
|
424
430
|
emphasis: "muted",
|
|
425
431
|
padding: "compact",
|
|
426
432
|
headingLevel: 3,
|
|
427
|
-
title:
|
|
428
|
-
description:
|
|
433
|
+
title: w("bigconsole.dataSinks.empty.filteredTitle", "No matching data sinks"),
|
|
434
|
+
description: w("bigconsole.dataSinks.empty.filtered", "No data sinks match your filters"),
|
|
429
435
|
actions: /* @__PURE__ */ b(f, {
|
|
430
436
|
variant: "secondary",
|
|
431
437
|
size: "sm",
|
|
432
438
|
onClick: $,
|
|
433
|
-
children:
|
|
439
|
+
children: w("bigconsole.dataSinks.filters.clear", "Clear Filters")
|
|
434
440
|
})
|
|
435
441
|
}),
|
|
436
|
-
Z.length > 0 &&
|
|
442
|
+
Z.length > 0 && N === "grid" && /* @__PURE__ */ b("div", {
|
|
437
443
|
style: {
|
|
438
444
|
display: "grid",
|
|
439
445
|
gridTemplateColumns: "repeat(auto-fill, minmax(min(100%, 320px), 1fr))",
|
|
440
446
|
gap: "var(--space-formGap)"
|
|
441
447
|
},
|
|
442
|
-
children: Z.map((e) => /* @__PURE__ */ b(
|
|
448
|
+
children: Z.map((e) => /* @__PURE__ */ b(ae, {
|
|
443
449
|
dataSink: e.dataSink,
|
|
444
450
|
setupState: e.setupState,
|
|
445
451
|
onView: Q,
|
|
446
|
-
onEdit:
|
|
447
|
-
onRefresh:
|
|
448
|
-
onExport:
|
|
449
|
-
onDelete:
|
|
450
|
-
canEdit:
|
|
451
|
-
canRefresh:
|
|
452
|
-
canDelete:
|
|
452
|
+
onEdit: Je,
|
|
453
|
+
onRefresh: Ye,
|
|
454
|
+
onExport: $e,
|
|
455
|
+
onDelete: Ze,
|
|
456
|
+
canEdit: D,
|
|
457
|
+
canRefresh: k,
|
|
458
|
+
canDelete: O
|
|
453
459
|
}, e.dataSink.id))
|
|
454
460
|
}),
|
|
455
|
-
Z.length > 0 &&
|
|
461
|
+
Z.length > 0 && N === "table" && /* @__PURE__ */ b("div", {
|
|
456
462
|
className: "min-w-0",
|
|
457
463
|
style: { overflowX: "auto" },
|
|
458
464
|
children: /* @__PURE__ */ x("table", {
|
|
@@ -475,7 +481,7 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
475
481
|
color: "var(--color-text-secondary)",
|
|
476
482
|
whiteSpace: "nowrap"
|
|
477
483
|
},
|
|
478
|
-
children:
|
|
484
|
+
children: w("bigconsole.dataSinks.table.name", "Name")
|
|
479
485
|
}),
|
|
480
486
|
/* @__PURE__ */ b("th", {
|
|
481
487
|
style: {
|
|
@@ -485,7 +491,7 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
485
491
|
color: "var(--color-text-secondary)",
|
|
486
492
|
whiteSpace: "nowrap"
|
|
487
493
|
},
|
|
488
|
-
children:
|
|
494
|
+
children: w("bigconsole.dataSinks.table.key", "Key")
|
|
489
495
|
}),
|
|
490
496
|
/* @__PURE__ */ b("th", {
|
|
491
497
|
style: {
|
|
@@ -495,7 +501,7 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
495
501
|
color: "var(--color-text-secondary)",
|
|
496
502
|
whiteSpace: "nowrap"
|
|
497
503
|
},
|
|
498
|
-
children:
|
|
504
|
+
children: w("bigconsole.dataSinks.table.status", "Status")
|
|
499
505
|
}),
|
|
500
506
|
/* @__PURE__ */ b("th", {
|
|
501
507
|
style: {
|
|
@@ -505,7 +511,7 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
505
511
|
color: "var(--color-text-secondary)",
|
|
506
512
|
whiteSpace: "nowrap"
|
|
507
513
|
},
|
|
508
|
-
children:
|
|
514
|
+
children: w("bigconsole.dataSinks.table.setup", "Setup")
|
|
509
515
|
}),
|
|
510
516
|
/* @__PURE__ */ b("th", {
|
|
511
517
|
style: {
|
|
@@ -515,7 +521,7 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
515
521
|
color: "var(--color-text-secondary)",
|
|
516
522
|
whiteSpace: "nowrap"
|
|
517
523
|
},
|
|
518
|
-
children:
|
|
524
|
+
children: w("bigconsole.dataSinks.table.active", "Active")
|
|
519
525
|
}),
|
|
520
526
|
/* @__PURE__ */ b("th", {
|
|
521
527
|
style: {
|
|
@@ -525,7 +531,17 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
525
531
|
color: "var(--color-text-secondary)",
|
|
526
532
|
whiteSpace: "nowrap"
|
|
527
533
|
},
|
|
528
|
-
children:
|
|
534
|
+
children: w("bigconsole.dataSinks.table.version", "Version")
|
|
535
|
+
}),
|
|
536
|
+
/* @__PURE__ */ b("th", {
|
|
537
|
+
style: {
|
|
538
|
+
padding: "10px 12px",
|
|
539
|
+
textAlign: "right",
|
|
540
|
+
fontWeight: "var(--font-weight-medium)",
|
|
541
|
+
color: "var(--color-text-secondary)",
|
|
542
|
+
whiteSpace: "nowrap"
|
|
543
|
+
},
|
|
544
|
+
children: w("bigconsole.dataSinks.table.size", "Size")
|
|
529
545
|
}),
|
|
530
546
|
/* @__PURE__ */ b("th", {
|
|
531
547
|
style: {
|
|
@@ -535,7 +551,17 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
535
551
|
color: "var(--color-text-secondary)",
|
|
536
552
|
whiteSpace: "nowrap"
|
|
537
553
|
},
|
|
538
|
-
children:
|
|
554
|
+
children: w("bigconsole.dataSinks.table.lastRefreshed", "Last refreshed")
|
|
555
|
+
}),
|
|
556
|
+
/* @__PURE__ */ b("th", {
|
|
557
|
+
style: {
|
|
558
|
+
padding: "10px 12px",
|
|
559
|
+
textAlign: "left",
|
|
560
|
+
fontWeight: "var(--font-weight-medium)",
|
|
561
|
+
color: "var(--color-text-secondary)",
|
|
562
|
+
whiteSpace: "nowrap"
|
|
563
|
+
},
|
|
564
|
+
children: w("bigconsole.dataSinks.table.updated", "Updated")
|
|
539
565
|
}),
|
|
540
566
|
/* @__PURE__ */ b("th", {
|
|
541
567
|
style: {
|
|
@@ -545,7 +571,7 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
545
571
|
color: "var(--color-text-secondary)",
|
|
546
572
|
whiteSpace: "nowrap"
|
|
547
573
|
},
|
|
548
|
-
children:
|
|
574
|
+
children: w("bigconsole.dataSinks.table.actions", "Actions")
|
|
549
575
|
})
|
|
550
576
|
]
|
|
551
577
|
}) }), /* @__PURE__ */ b("tbody", { children: Z.map((e) => {
|
|
@@ -586,7 +612,7 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
586
612
|
}),
|
|
587
613
|
/* @__PURE__ */ b("td", {
|
|
588
614
|
style: { padding: "10px 12px" },
|
|
589
|
-
children: /* @__PURE__ */ b(
|
|
615
|
+
children: /* @__PURE__ */ b(le, { state: e.setupState })
|
|
590
616
|
}),
|
|
591
617
|
/* @__PURE__ */ b("td", {
|
|
592
618
|
style: {
|
|
@@ -601,7 +627,7 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
601
627
|
borderRadius: "50%",
|
|
602
628
|
backgroundColor: t.isActive ? "var(--color-status-success-bg)" : "var(--color-text-muted)"
|
|
603
629
|
},
|
|
604
|
-
title: t.isActive ?
|
|
630
|
+
title: t.isActive ? w("bigconsole.dataSinks.badges.active", "Active") : w("bigconsole.dataSinks.badges.inactive", "Inactive")
|
|
605
631
|
})
|
|
606
632
|
}),
|
|
607
633
|
/* @__PURE__ */ x("td", {
|
|
@@ -611,6 +637,25 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
611
637
|
},
|
|
612
638
|
children: ["v", t.version ?? 0]
|
|
613
639
|
}),
|
|
640
|
+
/* @__PURE__ */ b("td", {
|
|
641
|
+
style: {
|
|
642
|
+
padding: "10px 12px",
|
|
643
|
+
color: "var(--color-text-muted)",
|
|
644
|
+
textAlign: "right",
|
|
645
|
+
whiteSpace: "nowrap",
|
|
646
|
+
fontVariantNumeric: "tabular-nums"
|
|
647
|
+
},
|
|
648
|
+
children: ie(t.sizeBytes)
|
|
649
|
+
}),
|
|
650
|
+
/* @__PURE__ */ b("td", {
|
|
651
|
+
style: {
|
|
652
|
+
padding: "10px 12px",
|
|
653
|
+
color: "var(--color-text-muted)",
|
|
654
|
+
whiteSpace: "nowrap"
|
|
655
|
+
},
|
|
656
|
+
title: t.lastRefreshedAt ? new Date(t.lastRefreshedAt).toLocaleString() : void 0,
|
|
657
|
+
children: Le(t.lastRefreshedAt)
|
|
658
|
+
}),
|
|
614
659
|
/* @__PURE__ */ b("td", {
|
|
615
660
|
style: {
|
|
616
661
|
padding: "10px 12px",
|
|
@@ -634,43 +679,43 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
634
679
|
children: [
|
|
635
680
|
/* @__PURE__ */ b("button", {
|
|
636
681
|
type: "button",
|
|
637
|
-
title:
|
|
638
|
-
"aria-label":
|
|
682
|
+
title: w("bigconsole.dataSinks.actions.view", "View"),
|
|
683
|
+
"aria-label": w("bigconsole.dataSinks.actions.view", "View"),
|
|
639
684
|
onClick: () => Q(t.id),
|
|
640
685
|
className: C,
|
|
641
|
-
children: /* @__PURE__ */ b(
|
|
686
|
+
children: /* @__PURE__ */ b(ge, { size: 14 })
|
|
642
687
|
}),
|
|
643
|
-
|
|
688
|
+
D && /* @__PURE__ */ b("button", {
|
|
644
689
|
type: "button",
|
|
645
|
-
title:
|
|
646
|
-
"aria-label":
|
|
647
|
-
onClick: () =>
|
|
690
|
+
title: w("bigconsole.dataSinks.actions.edit", "Edit"),
|
|
691
|
+
"aria-label": w("bigconsole.dataSinks.actions.edit", "Edit"),
|
|
692
|
+
onClick: () => Je(t.id),
|
|
648
693
|
className: C,
|
|
649
|
-
children: /* @__PURE__ */ b(
|
|
694
|
+
children: /* @__PURE__ */ b(ve, { size: 14 })
|
|
650
695
|
}),
|
|
651
|
-
|
|
696
|
+
k && /* @__PURE__ */ b("button", {
|
|
652
697
|
type: "button",
|
|
653
|
-
title:
|
|
654
|
-
"aria-label":
|
|
655
|
-
onClick: () =>
|
|
698
|
+
title: w("bigconsole.dataSinks.actions.refresh", "Refresh"),
|
|
699
|
+
"aria-label": w("bigconsole.dataSinks.actions.refresh", "Refresh"),
|
|
700
|
+
onClick: () => Ye(t.id),
|
|
656
701
|
className: C,
|
|
657
|
-
children: /* @__PURE__ */ b(
|
|
702
|
+
children: /* @__PURE__ */ b(ye, { size: 14 })
|
|
658
703
|
}),
|
|
659
704
|
/* @__PURE__ */ b("button", {
|
|
660
705
|
type: "button",
|
|
661
|
-
title:
|
|
662
|
-
"aria-label":
|
|
663
|
-
onClick: () =>
|
|
706
|
+
title: w("bigconsole.dataSinks.actions.export", "Export"),
|
|
707
|
+
"aria-label": w("bigconsole.dataSinks.actions.export", "Export"),
|
|
708
|
+
onClick: () => $e(t.id),
|
|
664
709
|
className: C,
|
|
665
|
-
children: /* @__PURE__ */ b(
|
|
710
|
+
children: /* @__PURE__ */ b(he, { size: 14 })
|
|
666
711
|
}),
|
|
667
|
-
|
|
712
|
+
O && /* @__PURE__ */ b("button", {
|
|
668
713
|
type: "button",
|
|
669
|
-
title:
|
|
670
|
-
"aria-label":
|
|
671
|
-
onClick: () =>
|
|
714
|
+
title: w("bigconsole.dataSinks.actions.delete", "Delete"),
|
|
715
|
+
"aria-label": w("bigconsole.dataSinks.actions.delete", "Delete"),
|
|
716
|
+
onClick: () => Ze(t.id),
|
|
672
717
|
className: C,
|
|
673
|
-
children: /* @__PURE__ */ b(
|
|
718
|
+
children: /* @__PURE__ */ b(Se, { size: 14 })
|
|
674
719
|
})
|
|
675
720
|
]
|
|
676
721
|
})
|
|
@@ -683,26 +728,26 @@ var S = "bigconsole-datasinks-view-mode", C = `inline-flex h-control-md w-[var(-
|
|
|
683
728
|
] })
|
|
684
729
|
})] }) })]
|
|
685
730
|
}),
|
|
686
|
-
|
|
687
|
-
dataSink:
|
|
688
|
-
isOpen:
|
|
731
|
+
V && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(oe, {
|
|
732
|
+
dataSink: V,
|
|
733
|
+
isOpen: He,
|
|
734
|
+
onClose: U,
|
|
735
|
+
onConfirm: Qe
|
|
736
|
+
}), /* @__PURE__ */ b(se, {
|
|
737
|
+
dataSink: V,
|
|
738
|
+
isOpen: Ue,
|
|
689
739
|
onClose: G,
|
|
690
740
|
onConfirm: Xe
|
|
691
|
-
}), /* @__PURE__ */ b(oe, {
|
|
692
|
-
dataSink: U,
|
|
693
|
-
isOpen: ze,
|
|
694
|
-
onClose: q,
|
|
695
|
-
onConfirm: Je
|
|
696
741
|
})] }),
|
|
697
|
-
/* @__PURE__ */ b(
|
|
698
|
-
isOpen:
|
|
699
|
-
onClose: () =>
|
|
700
|
-
onSuccess:
|
|
742
|
+
/* @__PURE__ */ b(ce, {
|
|
743
|
+
isOpen: Be,
|
|
744
|
+
onClose: () => M(!1),
|
|
745
|
+
onSuccess: tt
|
|
701
746
|
})
|
|
702
747
|
]
|
|
703
748
|
});
|
|
704
749
|
});
|
|
705
750
|
//#endregion
|
|
706
|
-
export {
|
|
751
|
+
export { w as DataSinksPage, w as default };
|
|
707
752
|
|
|
708
753
|
//# sourceMappingURL=DataSinksPage.js.map
|