@burdenoff/microfe-bigconsole 2026.1004.8 → 2026.1005.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.d.ts +7 -1
- package/dist/bigconsole/BigConsoleRoutes.d.ts.map +1 -1
- package/dist/bigconsole/BigConsoleRoutes.js +152 -146
- package/dist/bigconsole/BigConsoleRoutes.js.map +1 -1
- package/dist/bigconsole/components/workflow/WorkflowOpenGuard.d.ts +25 -0
- package/dist/bigconsole/components/workflow/WorkflowOpenGuard.d.ts.map +1 -0
- package/dist/bigconsole/components/workflow/WorkflowOpenGuard.js +89 -0
- package/dist/bigconsole/components/workflow/WorkflowOpenGuard.js.map +1 -0
- package/dist/bigconsole/pages/DataSinkViewPage.d.ts.map +1 -1
- package/dist/bigconsole/pages/DataSinkViewPage.js +287 -286
- package/dist/bigconsole/pages/DataSinkViewPage.js.map +1 -1
- package/dist/bigconsole/pages/WorkflowViewPage.js +4 -4
- package/dist/bigconsole/pages/WorkflowsPage.d.ts.map +1 -1
- package/dist/bigconsole/pages/WorkflowsPage.js +61 -60
- package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -1
- package/dist/bigconsole/workflowOpen.d.ts +78 -0
- package/dist/bigconsole/workflowOpen.d.ts.map +1 -0
- package/dist/bigconsole/workflowOpen.js +33 -0
- package/dist/bigconsole/workflowOpen.js.map +1 -0
- package/dist/generated/wspace-operations.d.ts +42 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -1
- package/dist/generated/wspace-operations.js +10 -2
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/translations/en.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,514 +1,515 @@
|
|
|
1
1
|
import { useDataSinkStore as e } from "../store/dataSinkStore.js";
|
|
2
2
|
import { useAppNavigate as t } from "../contexts/NavigationContext.js";
|
|
3
3
|
import "../contexts/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import { NEW_WORKFLOW_NAV as n } from "../workflowOpen.js";
|
|
5
|
+
import { newWorkflowPath as ee } from "../BigConsoleRoutes.js";
|
|
5
6
|
import "../components/common/sectionStyles.js";
|
|
6
|
-
import { Section as r, SectionStack as
|
|
7
|
+
import { Section as r, SectionStack as te } from "../components/common/Section.js";
|
|
7
8
|
import "../components/common/index.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { BIGCONSOLE_PERMISSIONS as
|
|
11
|
-
import
|
|
12
|
-
import { isNative as
|
|
13
|
-
import
|
|
14
|
-
import { formatByteSize as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import { memo as
|
|
22
|
-
import { useParams as
|
|
23
|
-
import { AccessDenied as
|
|
24
|
-
import { usePermissions as
|
|
25
|
-
import { AlertCircle as
|
|
26
|
-
import { Button as
|
|
27
|
-
import { Fragment as
|
|
28
|
-
import { useI18n as
|
|
29
|
-
import { formatDistanceToNow as
|
|
9
|
+
import ne from "../components/datasink/DataSinkTableViewer.js";
|
|
10
|
+
import re from "../hooks/useDataSinkOperations.js";
|
|
11
|
+
import { BIGCONSOLE_PERMISSIONS as i } from "../../constants/permissions.js";
|
|
12
|
+
import a from "../components/datasink/DataSinkStatusBadge.js";
|
|
13
|
+
import { isNative as o, nativeConfirm as ie, nativeImpact as ae, nativeNotify as s } from "../../utils/nativeBridge.js";
|
|
14
|
+
import oe from "../hooks/useDataSinkSubscription.js";
|
|
15
|
+
import { formatByteSize as se } from "../utils/format.js";
|
|
16
|
+
import ce from "../components/datasink/DataSinkDataViewer.js";
|
|
17
|
+
import le from "../components/datasink/LinkedWorkflowsPanel.js";
|
|
18
|
+
import ue from "../components/datasink/LinkedParsersPanel.js";
|
|
19
|
+
import de from "../components/datasink/WorkflowStatusPanel.js";
|
|
20
|
+
import fe from "../components/datasink/ExportDataSinkDialog.js";
|
|
21
|
+
import pe from "../components/datasink/ImportDataGuideDialog.js";
|
|
22
|
+
import { memo as c, useCallback as l, useEffect as me, useState as u } from "react";
|
|
23
|
+
import { useParams as he } from "react-router";
|
|
24
|
+
import { AccessDenied as ge, PermissionButton as d } from "@burdenoff/fe-libs/shared/components";
|
|
25
|
+
import { usePermissions as _e } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
26
|
+
import { AlertCircle as ve, ArrowLeft as f, Bell as ye, Code as be, Database as p, Download as xe, Edit as Se, Eye as Ce, EyeOff as we, Grid3X3 as Te, Loader2 as m, RefreshCw as Ee, Trash2 as De, Upload as h } from "lucide-react";
|
|
27
|
+
import { Button as g, IllustratedEmptyState as Oe, NextSteps as ke, PagePurpose as Ae } from "@burdenoff/fe-libs/ui";
|
|
28
|
+
import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
29
|
+
import { useI18n as je } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
30
|
+
import { formatDistanceToNow as b } from "date-fns";
|
|
30
31
|
//#region src/bigconsole/pages/DataSinkViewPage.tsx
|
|
31
|
-
var
|
|
32
|
-
let { dataSinkId:
|
|
33
|
-
|
|
34
|
-
dataSinkId:
|
|
35
|
-
enabled: !!
|
|
36
|
-
}),
|
|
37
|
-
|
|
38
|
-
}, [
|
|
39
|
-
let
|
|
40
|
-
|
|
41
|
-
}, [
|
|
42
|
-
|
|
43
|
-
}, [
|
|
44
|
-
if (
|
|
45
|
-
|
|
32
|
+
var x = "focus-visible:ring-inset focus-visible:ring-offset-0", S = c(function() {
|
|
33
|
+
let { dataSinkId: c } = he(), S = t(), { t: C } = je(), { hasPermission: Me, isLoading: Ne } = _e(), Pe = Me(i.DATASINK_READ), [w, T] = u(!1), [E, D] = u(!1), [O, k] = u(!1), [Fe, A] = u(!1), [Ie, j] = u(!1), [M, Le] = u(null), [N, P] = u(!1), [F, I] = u("table"), [L, Re] = u(100), [R, ze] = u(0), [z, Be] = u(null), [Ve, He] = u(!1), B = e((e) => c ? e.dataSinks.get(c) : void 0), { loading: Ue, error: V, fetchDataSink: H, getDataSinkData: U, refreshDataSink: W, updateDataSink: G, deleteDataSink: K } = re({ skipFetch: !0 });
|
|
34
|
+
oe({
|
|
35
|
+
dataSinkId: c,
|
|
36
|
+
enabled: !!c
|
|
37
|
+
}), me(() => {
|
|
38
|
+
c && H(c);
|
|
39
|
+
}, [c, H]);
|
|
40
|
+
let q = l(() => {
|
|
41
|
+
S("/datasinks");
|
|
42
|
+
}, [S]), We = l(() => {
|
|
43
|
+
S(`/datasinks/${c}/edit`);
|
|
44
|
+
}, [S, c]), J = l(async () => {
|
|
45
|
+
if (c) {
|
|
46
|
+
D(!0);
|
|
46
47
|
try {
|
|
47
|
-
await
|
|
48
|
+
await W({ id: c });
|
|
48
49
|
} catch {} finally {
|
|
49
|
-
|
|
50
|
+
D(!1);
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
|
-
}, [
|
|
53
|
-
if (!
|
|
54
|
-
let e = await
|
|
55
|
-
title:
|
|
56
|
-
message:
|
|
57
|
-
okButtonTitle:
|
|
58
|
-
cancelButtonTitle:
|
|
53
|
+
}, [c, W]), Ge = l(async () => {
|
|
54
|
+
if (!c) return;
|
|
55
|
+
let e = await ie({
|
|
56
|
+
title: C("bigconsole.dataSinks.view.deleteConfirmTitle", "Delete DataSink?"),
|
|
57
|
+
message: C("bigconsole.dataSinks.view.deleteConfirmMessage", "Are you sure you want to delete this DataSink?"),
|
|
58
|
+
okButtonTitle: C("bigconsole.dataSinks.view.delete", "Delete"),
|
|
59
|
+
cancelButtonTitle: C("bigconsole.dataSinks.view.cancel", "Cancel")
|
|
59
60
|
});
|
|
60
|
-
if (e === null ? window.confirm(
|
|
61
|
-
|
|
61
|
+
if (e === null ? window.confirm(C("bigconsole.dataSinks.view.deleteConfirmMessage", "Are you sure you want to delete this DataSink?")) : e) {
|
|
62
|
+
ae("medium"), k(!0);
|
|
62
63
|
try {
|
|
63
|
-
await
|
|
64
|
+
await K(c), o() && s("success"), S("/datasinks");
|
|
64
65
|
} catch {
|
|
65
|
-
|
|
66
|
+
o() && s("error");
|
|
66
67
|
} finally {
|
|
67
|
-
|
|
68
|
+
k(!1);
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
71
|
}, [
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
]),
|
|
76
|
-
if (
|
|
77
|
-
|
|
72
|
+
c,
|
|
73
|
+
K,
|
|
74
|
+
S,
|
|
75
|
+
C
|
|
76
|
+
]), Y = l(async (e, t) => {
|
|
77
|
+
if (c) {
|
|
78
|
+
P(!0);
|
|
78
79
|
try {
|
|
79
|
-
let n = await
|
|
80
|
+
let n = await U({ id: c }, {
|
|
80
81
|
limit: t,
|
|
81
82
|
offset: e
|
|
82
83
|
});
|
|
83
|
-
n && (
|
|
84
|
+
n && (Le(n.raw || {}), Be(typeof n.totalCount == "number" ? n.totalCount : null), He(!!n.hasMore), ze(e));
|
|
84
85
|
} catch {} finally {
|
|
85
|
-
|
|
86
|
+
P(!1);
|
|
86
87
|
}
|
|
87
88
|
}
|
|
88
|
-
}, [
|
|
89
|
-
if (
|
|
90
|
-
if (
|
|
91
|
-
|
|
89
|
+
}, [c, U]), X = l(async () => {
|
|
90
|
+
if (c) {
|
|
91
|
+
if (w) {
|
|
92
|
+
T(!1);
|
|
92
93
|
return;
|
|
93
94
|
}
|
|
94
|
-
await
|
|
95
|
+
await Y(0, L), T(!0);
|
|
95
96
|
}
|
|
96
97
|
}, [
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
]),
|
|
102
|
-
|
|
103
|
-
}, [
|
|
98
|
+
c,
|
|
99
|
+
w,
|
|
100
|
+
Y,
|
|
101
|
+
L
|
|
102
|
+
]), Ke = l((e) => {
|
|
103
|
+
Re(e), Y(0, e);
|
|
104
|
+
}, [Y]), Z = l(() => {
|
|
105
|
+
A(!0);
|
|
106
|
+
}, []), Q = l(() => {
|
|
107
|
+
A(!1);
|
|
108
|
+
}, []), $ = l(() => {
|
|
104
109
|
j(!0);
|
|
105
|
-
}, []),
|
|
110
|
+
}, []), qe = l(() => {
|
|
106
111
|
j(!1);
|
|
107
|
-
}, []),
|
|
108
|
-
|
|
109
|
-
}, []),
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}, [C]), Je = u(async (e) => {
|
|
114
|
-
if (!V || !await K({
|
|
115
|
-
id: V.id,
|
|
116
|
-
version: V.version,
|
|
112
|
+
}, []), Je = l(() => {
|
|
113
|
+
j(!1), S(ee(), n);
|
|
114
|
+
}, [S]), Ye = l(async (e) => {
|
|
115
|
+
if (!B || !await G({
|
|
116
|
+
id: B.id,
|
|
117
|
+
version: B.version,
|
|
117
118
|
data: e
|
|
118
119
|
})) return !1;
|
|
119
120
|
try {
|
|
120
|
-
await
|
|
121
|
+
await Y(0, L), T(!0);
|
|
121
122
|
} catch {}
|
|
122
123
|
return !0;
|
|
123
124
|
}, [
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
125
|
+
B,
|
|
126
|
+
G,
|
|
127
|
+
Y,
|
|
128
|
+
L
|
|
128
129
|
]);
|
|
129
|
-
return
|
|
130
|
+
return Ue && !B ? /* @__PURE__ */ v("div", {
|
|
130
131
|
className: "flex min-h-[240px] items-center justify-center p-card-padding",
|
|
131
|
-
children: /* @__PURE__ */
|
|
132
|
-
}) :
|
|
132
|
+
children: /* @__PURE__ */ v(m, { className: "h-icon-lg w-icon-lg animate-spin text-text-secondary" })
|
|
133
|
+
}) : V && !B ? /* @__PURE__ */ v("div", {
|
|
133
134
|
className: "p-card-padding",
|
|
134
|
-
children: /* @__PURE__ */
|
|
135
|
+
children: /* @__PURE__ */ v(r, {
|
|
135
136
|
tone: "danger",
|
|
136
137
|
headingLevel: 2,
|
|
137
|
-
title:
|
|
138
|
-
description:
|
|
139
|
-
icon: /* @__PURE__ */
|
|
140
|
-
actions: /* @__PURE__ */
|
|
141
|
-
onClick:
|
|
138
|
+
title: C("bigconsole.dataSinks.view.loadError", "Failed to load DataSink"),
|
|
139
|
+
description: V.message,
|
|
140
|
+
icon: /* @__PURE__ */ v(ve, { className: "h-icon-sm w-icon-sm" }),
|
|
141
|
+
actions: /* @__PURE__ */ y(g, {
|
|
142
|
+
onClick: q,
|
|
142
143
|
variant: "secondary",
|
|
143
144
|
size: "sm",
|
|
144
|
-
children: [/* @__PURE__ */
|
|
145
|
+
children: [/* @__PURE__ */ v(f, { className: "w-4 h-4 mr-2" }), C("bigconsole.dataSinks.view.goBack", "Go back")]
|
|
145
146
|
})
|
|
146
147
|
})
|
|
147
|
-
}) : !
|
|
148
|
-
title:
|
|
149
|
-
description:
|
|
150
|
-
}) :
|
|
148
|
+
}) : !Ne && !Pe ? /* @__PURE__ */ v(ge, {
|
|
149
|
+
title: C("bigconsole.dataSinks.view.accessDeniedTitle", "Access Denied"),
|
|
150
|
+
description: C("bigconsole.dataSinks.view.accessDeniedDescription", "You don't have permission to view this data sink.")
|
|
151
|
+
}) : B ? /* @__PURE__ */ y("div", {
|
|
151
152
|
className: "min-w-0 p-card-padding",
|
|
152
153
|
children: [
|
|
153
|
-
/* @__PURE__ */
|
|
154
|
+
/* @__PURE__ */ y("header", {
|
|
154
155
|
className: "mb-section-gap flex flex-col gap-form-gap sm:flex-row sm:items-start sm:justify-between",
|
|
155
|
-
children: [/* @__PURE__ */
|
|
156
|
+
children: [/* @__PURE__ */ y("div", {
|
|
156
157
|
className: "min-w-0 flex-1",
|
|
157
158
|
children: [
|
|
158
|
-
/* @__PURE__ */
|
|
159
|
-
onClick:
|
|
159
|
+
/* @__PURE__ */ y(g, {
|
|
160
|
+
onClick: q,
|
|
160
161
|
variant: "ghost",
|
|
161
162
|
size: "sm",
|
|
162
163
|
className: "mb-4",
|
|
163
|
-
children: [/* @__PURE__ */
|
|
164
|
+
children: [/* @__PURE__ */ v(f, { className: "w-4 h-4 mr-2" }), C("bigconsole.dataSinks.view.backToDataSinks", "Back to DataSinks")]
|
|
164
165
|
}),
|
|
165
|
-
/* @__PURE__ */
|
|
166
|
+
/* @__PURE__ */ y("div", {
|
|
166
167
|
className: "flex flex-wrap items-center gap-2",
|
|
167
168
|
children: [
|
|
168
|
-
/* @__PURE__ */
|
|
169
|
+
/* @__PURE__ */ v("h1", {
|
|
169
170
|
className: "text-2xl font-bold text-text-primary",
|
|
170
|
-
children:
|
|
171
|
+
children: B.name || C("bigconsole.dataSinks.view.untitled", "Untitled")
|
|
171
172
|
}),
|
|
172
|
-
/* @__PURE__ */
|
|
173
|
-
/* @__PURE__ */
|
|
173
|
+
/* @__PURE__ */ v(a, { status: B.status }),
|
|
174
|
+
/* @__PURE__ */ y("span", {
|
|
174
175
|
className: "rounded-pill border border-border-subtle px-2 py-1 text-xs text-text-secondary",
|
|
175
|
-
children: ["v",
|
|
176
|
+
children: ["v", B.version]
|
|
176
177
|
})
|
|
177
178
|
]
|
|
178
179
|
}),
|
|
179
|
-
/* @__PURE__ */
|
|
180
|
+
/* @__PURE__ */ v("p", {
|
|
180
181
|
className: "mt-1 break-all font-mono text-sm text-text-muted",
|
|
181
|
-
children:
|
|
182
|
+
children: B.key
|
|
182
183
|
}),
|
|
183
|
-
|
|
184
|
+
B.description && /* @__PURE__ */ v("p", {
|
|
184
185
|
className: "mt-2 text-sm text-text-secondary",
|
|
185
|
-
children:
|
|
186
|
+
children: B.description
|
|
186
187
|
})
|
|
187
188
|
]
|
|
188
|
-
}), /* @__PURE__ */
|
|
189
|
+
}), /* @__PURE__ */ y("div", {
|
|
189
190
|
className: "flex flex-wrap items-center gap-2",
|
|
190
191
|
children: [
|
|
191
|
-
/* @__PURE__ */
|
|
192
|
-
permission:
|
|
192
|
+
/* @__PURE__ */ v(d, {
|
|
193
|
+
permission: i.DATASINK_EXECUTE,
|
|
193
194
|
deniedBehavior: "disable",
|
|
194
|
-
children: /* @__PURE__ */
|
|
195
|
-
onClick:
|
|
196
|
-
disabled:
|
|
195
|
+
children: /* @__PURE__ */ y(g, {
|
|
196
|
+
onClick: J,
|
|
197
|
+
disabled: E,
|
|
197
198
|
variant: "default",
|
|
198
199
|
size: "default",
|
|
199
|
-
children: [/* @__PURE__ */
|
|
200
|
+
children: [/* @__PURE__ */ v(Ee, { className: `w-4 h-4 mr-2 ${E ? "animate-spin" : ""}` }), E ? C("bigconsole.dataSinks.view.refreshing", "Refreshing...") : C("bigconsole.dataSinks.view.refresh", "Refresh")]
|
|
200
201
|
})
|
|
201
202
|
}),
|
|
202
|
-
/* @__PURE__ */
|
|
203
|
+
/* @__PURE__ */ y(g, {
|
|
203
204
|
onClick: $,
|
|
204
205
|
variant: "secondary",
|
|
205
206
|
size: "default",
|
|
206
|
-
children: [/* @__PURE__ */
|
|
207
|
+
children: [/* @__PURE__ */ v(h, { className: "w-4 h-4 mr-2" }), C("bigconsole.dataSinks.view.importData", "Import Data")]
|
|
207
208
|
}),
|
|
208
|
-
/* @__PURE__ */
|
|
209
|
-
onClick:
|
|
209
|
+
/* @__PURE__ */ y(g, {
|
|
210
|
+
onClick: Z,
|
|
210
211
|
variant: "secondary",
|
|
211
212
|
size: "default",
|
|
212
|
-
children: [/* @__PURE__ */
|
|
213
|
+
children: [/* @__PURE__ */ v(xe, { className: "w-4 h-4 mr-2" }), C("bigconsole.dataSinks.view.export", "Export")]
|
|
213
214
|
}),
|
|
214
|
-
/* @__PURE__ */
|
|
215
|
-
onClick: () =>
|
|
215
|
+
/* @__PURE__ */ y(g, {
|
|
216
|
+
onClick: () => S(`/datasinks/${c}/alerts`),
|
|
216
217
|
variant: "secondary",
|
|
217
218
|
size: "default",
|
|
218
|
-
children: [/* @__PURE__ */
|
|
219
|
+
children: [/* @__PURE__ */ v(ye, { className: "w-4 h-4 mr-2" }), C("bigconsole.alerts.title", "Alerts")]
|
|
219
220
|
}),
|
|
220
|
-
/* @__PURE__ */
|
|
221
|
-
permission:
|
|
221
|
+
/* @__PURE__ */ v(d, {
|
|
222
|
+
permission: i.DATASINK_UPDATE,
|
|
222
223
|
deniedBehavior: "disable",
|
|
223
|
-
children: /* @__PURE__ */
|
|
224
|
-
onClick:
|
|
224
|
+
children: /* @__PURE__ */ y(g, {
|
|
225
|
+
onClick: We,
|
|
225
226
|
variant: "secondary",
|
|
226
227
|
size: "default",
|
|
227
|
-
children: [/* @__PURE__ */
|
|
228
|
+
children: [/* @__PURE__ */ v(Se, { className: "w-4 h-4 mr-2" }), C("bigconsole.dataSinks.view.edit", "Edit")]
|
|
228
229
|
})
|
|
229
230
|
}),
|
|
230
|
-
/* @__PURE__ */
|
|
231
|
-
permission:
|
|
231
|
+
/* @__PURE__ */ v(d, {
|
|
232
|
+
permission: i.DATASINK_DELETE,
|
|
232
233
|
deniedBehavior: "hide",
|
|
233
|
-
children: /* @__PURE__ */
|
|
234
|
-
onClick:
|
|
235
|
-
disabled:
|
|
234
|
+
children: /* @__PURE__ */ y(g, {
|
|
235
|
+
onClick: Ge,
|
|
236
|
+
disabled: O,
|
|
236
237
|
variant: "destructive",
|
|
237
238
|
size: "default",
|
|
238
|
-
children: [/* @__PURE__ */
|
|
239
|
+
children: [/* @__PURE__ */ v(De, { className: "w-4 h-4 mr-2" }), O ? C("bigconsole.dataSinks.view.deleting", "Deleting...") : C("bigconsole.dataSinks.view.delete", "Delete")]
|
|
239
240
|
})
|
|
240
241
|
})
|
|
241
242
|
]
|
|
242
243
|
})]
|
|
243
244
|
}),
|
|
244
|
-
/* @__PURE__ */
|
|
245
|
+
/* @__PURE__ */ v(Ae, {
|
|
245
246
|
className: "mb-section-gap",
|
|
246
|
-
children:
|
|
247
|
+
children: C("bigconsole.dataSinks.view.pagePurpose", "A data sink is a structured store that holds your processed data and serves it to dashboards. From here you can inspect its schema and stats, preview the cached rows, refresh it from its linked workflow, or export it.")
|
|
247
248
|
}),
|
|
248
|
-
/* @__PURE__ */
|
|
249
|
+
/* @__PURE__ */ y(te, {
|
|
249
250
|
className: "mt-section-gap",
|
|
250
|
-
children: [/* @__PURE__ */
|
|
251
|
+
children: [/* @__PURE__ */ y("div", {
|
|
251
252
|
className: "grid min-w-0 gap-section-gap lg:grid-cols-[minmax(0,2fr)_minmax(0,3fr)]",
|
|
252
|
-
children: [/* @__PURE__ */
|
|
253
|
+
children: [/* @__PURE__ */ v(r, {
|
|
253
254
|
headingLevel: 2,
|
|
254
|
-
title:
|
|
255
|
+
title: C("bigconsole.dataSinks.view.details", "Details"),
|
|
255
256
|
description: "Cache, refresh and storage settings for this sink.",
|
|
256
|
-
children: /* @__PURE__ */
|
|
257
|
+
children: /* @__PURE__ */ y("dl", {
|
|
257
258
|
className: "divide-y divide-[var(--color-border-subtle)] text-sm",
|
|
258
259
|
children: [
|
|
259
|
-
/* @__PURE__ */
|
|
260
|
+
/* @__PURE__ */ y("div", {
|
|
260
261
|
className: "flex flex-wrap items-center justify-between gap-x-form-gap gap-y-1 py-2 first:pt-0",
|
|
261
|
-
children: [/* @__PURE__ */
|
|
262
|
+
children: [/* @__PURE__ */ v("dt", {
|
|
262
263
|
className: "min-w-0 text-text-secondary",
|
|
263
|
-
children:
|
|
264
|
-
}), /* @__PURE__ */
|
|
265
|
-
status:
|
|
264
|
+
children: C("bigconsole.dataSinks.view.status", "Status")
|
|
265
|
+
}), /* @__PURE__ */ v("dd", { children: /* @__PURE__ */ v(a, {
|
|
266
|
+
status: B.status,
|
|
266
267
|
size: "sm"
|
|
267
268
|
}) })]
|
|
268
269
|
}),
|
|
269
|
-
/* @__PURE__ */
|
|
270
|
+
/* @__PURE__ */ y("div", {
|
|
270
271
|
className: "flex flex-wrap items-center justify-between gap-x-form-gap gap-y-1 py-2",
|
|
271
|
-
children: [/* @__PURE__ */
|
|
272
|
+
children: [/* @__PURE__ */ v("dt", {
|
|
272
273
|
className: "min-w-0 text-text-secondary",
|
|
273
|
-
children:
|
|
274
|
-
}), /* @__PURE__ */
|
|
274
|
+
children: C("bigconsole.dataSinks.view.cacheTtl", "Cache TTL")
|
|
275
|
+
}), /* @__PURE__ */ v("dd", {
|
|
275
276
|
className: "font-medium text-text-primary",
|
|
276
|
-
children:
|
|
277
|
+
children: B.ttl ? `${B.ttl}s` : C("bigconsole.dataSinks.view.none", "None")
|
|
277
278
|
})]
|
|
278
279
|
}),
|
|
279
|
-
/* @__PURE__ */
|
|
280
|
+
/* @__PURE__ */ y("div", {
|
|
280
281
|
className: "flex flex-wrap items-center justify-between gap-x-form-gap gap-y-1 py-2",
|
|
281
|
-
children: [/* @__PURE__ */
|
|
282
|
+
children: [/* @__PURE__ */ v("dt", {
|
|
282
283
|
className: "min-w-0 text-text-secondary",
|
|
283
|
-
children:
|
|
284
|
-
}), /* @__PURE__ */
|
|
284
|
+
children: C("bigconsole.dataSinks.view.refreshType", "Refresh Type")
|
|
285
|
+
}), /* @__PURE__ */ v("dd", {
|
|
285
286
|
className: "font-medium capitalize text-text-primary",
|
|
286
|
-
children:
|
|
287
|
+
children: B.refresh?.type || C("bigconsole.dataSinks.view.manual", "Manual")
|
|
287
288
|
})]
|
|
288
289
|
}),
|
|
289
|
-
/* @__PURE__ */
|
|
290
|
+
/* @__PURE__ */ y("div", {
|
|
290
291
|
className: "flex flex-wrap items-center justify-between gap-x-form-gap gap-y-1 py-2",
|
|
291
|
-
children: [/* @__PURE__ */
|
|
292
|
+
children: [/* @__PURE__ */ v("dt", {
|
|
292
293
|
className: "min-w-0 text-text-secondary",
|
|
293
|
-
children:
|
|
294
|
-
}), /* @__PURE__ */
|
|
294
|
+
children: C("bigconsole.dataSinks.view.size", "Size")
|
|
295
|
+
}), /* @__PURE__ */ v("dd", {
|
|
295
296
|
className: "font-medium text-text-primary",
|
|
296
|
-
children:
|
|
297
|
+
children: se(B.sizeBytes || 0)
|
|
297
298
|
})]
|
|
298
299
|
}),
|
|
299
|
-
/* @__PURE__ */
|
|
300
|
+
/* @__PURE__ */ y("div", {
|
|
300
301
|
className: "flex flex-wrap items-center justify-between gap-x-form-gap gap-y-1 py-2",
|
|
301
|
-
children: [/* @__PURE__ */
|
|
302
|
+
children: [/* @__PURE__ */ v("dt", {
|
|
302
303
|
className: "min-w-0 text-text-secondary",
|
|
303
|
-
children:
|
|
304
|
-
}), /* @__PURE__ */
|
|
304
|
+
children: C("bigconsole.dataSinks.view.version", "Version")
|
|
305
|
+
}), /* @__PURE__ */ v("dd", {
|
|
305
306
|
className: "font-medium text-text-primary",
|
|
306
|
-
children:
|
|
307
|
+
children: B.version || 1
|
|
307
308
|
})]
|
|
308
309
|
}),
|
|
309
|
-
/* @__PURE__ */
|
|
310
|
+
/* @__PURE__ */ y("div", {
|
|
310
311
|
className: "flex flex-wrap items-center justify-between gap-x-form-gap gap-y-1 py-2",
|
|
311
|
-
children: [/* @__PURE__ */
|
|
312
|
+
children: [/* @__PURE__ */ v("dt", {
|
|
312
313
|
className: "min-w-0 text-text-secondary",
|
|
313
|
-
children:
|
|
314
|
-
}), /* @__PURE__ */
|
|
314
|
+
children: C("bigconsole.dataSinks.view.lastRefreshed", "Last Refreshed")
|
|
315
|
+
}), /* @__PURE__ */ v("dd", {
|
|
315
316
|
className: "font-medium text-text-primary",
|
|
316
|
-
children:
|
|
317
|
+
children: B.lastRefreshedAt ? b(new Date(B.lastRefreshedAt), { addSuffix: !0 }) : C("bigconsole.dataSinks.view.never", "Never")
|
|
317
318
|
})]
|
|
318
319
|
}),
|
|
319
|
-
/* @__PURE__ */
|
|
320
|
+
/* @__PURE__ */ y("div", {
|
|
320
321
|
className: "flex flex-wrap items-center justify-between gap-x-form-gap gap-y-1 py-2 last:pb-0",
|
|
321
|
-
children: [/* @__PURE__ */
|
|
322
|
+
children: [/* @__PURE__ */ v("dt", {
|
|
322
323
|
className: "min-w-0 text-text-secondary",
|
|
323
|
-
children:
|
|
324
|
-
}), /* @__PURE__ */
|
|
324
|
+
children: C("bigconsole.dataSinks.view.created", "Created")
|
|
325
|
+
}), /* @__PURE__ */ v("dd", {
|
|
325
326
|
className: "font-medium text-text-primary",
|
|
326
|
-
children:
|
|
327
|
+
children: b(new Date(B.createdAt), { addSuffix: !0 })
|
|
327
328
|
})]
|
|
328
329
|
})
|
|
329
330
|
]
|
|
330
331
|
})
|
|
331
|
-
}), /* @__PURE__ */
|
|
332
|
+
}), /* @__PURE__ */ y(r, {
|
|
332
333
|
emphasis: "primary",
|
|
333
334
|
headingLevel: 2,
|
|
334
|
-
title:
|
|
335
|
+
title: C("bigconsole.dataSinks.view.dataPreview", "Data Preview"),
|
|
335
336
|
description: "The rows this sink is currently serving to dashboards.",
|
|
336
|
-
icon: /* @__PURE__ */
|
|
337
|
-
actions: /* @__PURE__ */
|
|
337
|
+
icon: /* @__PURE__ */ v(p, { className: "h-icon-sm w-icon-sm" }),
|
|
338
|
+
actions: /* @__PURE__ */ y(_, { children: [w && /* @__PURE__ */ y("div", {
|
|
338
339
|
role: "group",
|
|
339
|
-
"aria-label":
|
|
340
|
+
"aria-label": C("bigconsole.dataSinks.view.dataPreview", "Data Preview"),
|
|
340
341
|
className: "flex items-center overflow-hidden rounded-button border border-[var(--color-border-default)]",
|
|
341
|
-
children: [/* @__PURE__ */
|
|
342
|
+
children: [/* @__PURE__ */ v("button", {
|
|
342
343
|
type: "button",
|
|
343
|
-
onClick: () =>
|
|
344
|
-
"aria-pressed":
|
|
345
|
-
className: `flex h-control-md w-[var(--size-controlHeight-md)] items-center justify-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-bg-surface ${
|
|
346
|
-
title:
|
|
347
|
-
children: /* @__PURE__ */
|
|
348
|
-
}), /* @__PURE__ */
|
|
344
|
+
onClick: () => I("table"),
|
|
345
|
+
"aria-pressed": F === "table",
|
|
346
|
+
className: `flex h-control-md w-[var(--size-controlHeight-md)] items-center justify-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-bg-surface ${x} ${F === "table" ? "bg-bg-sunken text-text-primary" : "text-text-secondary hover:text-text-primary"}`,
|
|
347
|
+
title: C("bigconsole.dataSinks.view.tableView", "Table view"),
|
|
348
|
+
children: /* @__PURE__ */ v(Te, { className: "w-4 h-4" })
|
|
349
|
+
}), /* @__PURE__ */ v("button", {
|
|
349
350
|
type: "button",
|
|
350
|
-
onClick: () =>
|
|
351
|
-
"aria-pressed":
|
|
352
|
-
className: `flex h-control-md w-[var(--size-controlHeight-md)] items-center justify-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-bg-surface ${
|
|
353
|
-
title:
|
|
354
|
-
children: /* @__PURE__ */
|
|
351
|
+
onClick: () => I("json"),
|
|
352
|
+
"aria-pressed": F === "json",
|
|
353
|
+
className: `flex h-control-md w-[var(--size-controlHeight-md)] items-center justify-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-bg-surface ${x} ${F === "json" ? "bg-bg-sunken text-text-primary" : "text-text-secondary hover:text-text-primary"}`,
|
|
354
|
+
title: C("bigconsole.dataSinks.view.jsonView", "JSON view"),
|
|
355
|
+
children: /* @__PURE__ */ v(be, { className: "w-4 h-4" })
|
|
355
356
|
})]
|
|
356
|
-
}), /* @__PURE__ */
|
|
357
|
-
onClick:
|
|
358
|
-
disabled:
|
|
359
|
-
variant:
|
|
357
|
+
}), /* @__PURE__ */ v(g, {
|
|
358
|
+
onClick: X,
|
|
359
|
+
disabled: N,
|
|
360
|
+
variant: w ? "secondary" : "default",
|
|
360
361
|
size: "sm",
|
|
361
|
-
children:
|
|
362
|
+
children: N ? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(m, { className: "w-4 h-4 mr-2 animate-spin" }), C("bigconsole.dataSinks.view.loading", "Loading...")] }) : w ? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(we, { className: "w-4 h-4 mr-2" }), C("bigconsole.dataSinks.view.hideData", "Hide Data")] }) : /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(Ce, { className: "w-4 h-4 mr-2" }), C("bigconsole.dataSinks.view.showData", "Show Data")] })
|
|
362
363
|
})] }),
|
|
363
|
-
children: [
|
|
364
|
-
data:
|
|
364
|
+
children: [w && M && /* @__PURE__ */ y(_, { children: [v(F === "table" ? ne : ce, {
|
|
365
|
+
data: M,
|
|
365
366
|
maxHeight: "400px"
|
|
366
|
-
}),
|
|
367
|
+
}), z !== null && /* @__PURE__ */ y("div", {
|
|
367
368
|
className: "mt-form-gap flex flex-wrap items-center justify-between gap-form-gap border-t border-[var(--color-border-subtle)] pt-form-gap",
|
|
368
|
-
children: [/* @__PURE__ */
|
|
369
|
+
children: [/* @__PURE__ */ y("label", {
|
|
369
370
|
className: "flex items-center gap-2 text-sm text-text-secondary",
|
|
370
|
-
children: [/* @__PURE__ */
|
|
371
|
-
"aria-label":
|
|
371
|
+
children: [/* @__PURE__ */ v("span", { children: C("bigconsole.dataSinks.view.rowsPerPage", "Rows per page") }), /* @__PURE__ */ v("select", {
|
|
372
|
+
"aria-label": C("bigconsole.dataSinks.view.rowsPerPage", "Rows per page"),
|
|
372
373
|
className: "h-control-md rounded-input border border-[var(--color-border-default)] bg-bg-canvas px-2 text-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-bg-surface",
|
|
373
|
-
value:
|
|
374
|
-
onChange: (e) =>
|
|
374
|
+
value: L,
|
|
375
|
+
onChange: (e) => Ke(Number(e.target.value)),
|
|
375
376
|
children: [
|
|
376
377
|
100,
|
|
377
378
|
500,
|
|
378
379
|
1e3
|
|
379
|
-
].map((e) => /* @__PURE__ */
|
|
380
|
+
].map((e) => /* @__PURE__ */ v("option", {
|
|
380
381
|
value: e,
|
|
381
382
|
children: e
|
|
382
383
|
}, e))
|
|
383
384
|
})]
|
|
384
|
-
}), /* @__PURE__ */
|
|
385
|
+
}), /* @__PURE__ */ y("div", {
|
|
385
386
|
className: "flex flex-wrap items-center gap-control-gap text-sm text-text-secondary",
|
|
386
387
|
children: [
|
|
387
|
-
/* @__PURE__ */
|
|
388
|
-
start:
|
|
389
|
-
end: Math.min(
|
|
390
|
-
total:
|
|
388
|
+
/* @__PURE__ */ v("span", { children: z === 0 ? C("bigconsole.dataSinks.view.zeroRows", "0 rows") : C("bigconsole.dataSinks.view.rowRange", "{{start}}–{{end}} of {{total}}", {
|
|
389
|
+
start: R + 1,
|
|
390
|
+
end: Math.min(R + L, z),
|
|
391
|
+
total: z
|
|
391
392
|
}) }),
|
|
392
|
-
/* @__PURE__ */
|
|
393
|
+
/* @__PURE__ */ v(g, {
|
|
393
394
|
variant: "secondary",
|
|
394
395
|
size: "sm",
|
|
395
|
-
disabled:
|
|
396
|
-
onClick: () => void
|
|
397
|
-
children:
|
|
396
|
+
disabled: R === 0 || N,
|
|
397
|
+
onClick: () => void Y(Math.max(0, R - L), L),
|
|
398
|
+
children: C("bigconsole.dataSinks.view.previous", "Previous")
|
|
398
399
|
}),
|
|
399
|
-
/* @__PURE__ */
|
|
400
|
+
/* @__PURE__ */ v(g, {
|
|
400
401
|
variant: "secondary",
|
|
401
402
|
size: "sm",
|
|
402
|
-
disabled: !
|
|
403
|
-
onClick: () => void
|
|
404
|
-
children:
|
|
403
|
+
disabled: !Ve || N,
|
|
404
|
+
onClick: () => void Y(R + L, L),
|
|
405
|
+
children: C("bigconsole.dataSinks.view.next", "Next")
|
|
405
406
|
})
|
|
406
407
|
]
|
|
407
408
|
})]
|
|
408
|
-
})] }), !
|
|
409
|
+
})] }), !w && (B.sizeBytes > 0 || B.data && Object.keys(B.data).length > 0 ? /* @__PURE__ */ y("p", {
|
|
409
410
|
className: "flex items-center gap-icon-gap text-sm text-text-secondary",
|
|
410
|
-
children: [/* @__PURE__ */
|
|
411
|
+
children: [/* @__PURE__ */ v(p, {
|
|
411
412
|
"aria-hidden": "true",
|
|
412
413
|
className: "h-icon-sm w-icon-sm shrink-0 text-text-muted"
|
|
413
|
-
}),
|
|
414
|
-
}) : /* @__PURE__ */
|
|
414
|
+
}), C("bigconsole.dataSinks.view.showDataHint", "Click \"Show Data\" to preview the cached data.")]
|
|
415
|
+
}) : /* @__PURE__ */ y("div", {
|
|
415
416
|
className: "flex flex-col items-center gap-form-gap py-form-gap text-center",
|
|
416
417
|
children: [
|
|
417
|
-
/* @__PURE__ */
|
|
418
|
+
/* @__PURE__ */ v(p, {
|
|
418
419
|
"aria-hidden": "true",
|
|
419
420
|
className: "h-icon-lg w-icon-lg text-text-muted"
|
|
420
421
|
}),
|
|
421
|
-
/* @__PURE__ */
|
|
422
|
+
/* @__PURE__ */ v("p", {
|
|
422
423
|
className: "text-sm text-text-secondary",
|
|
423
|
-
children:
|
|
424
|
+
children: C("bigconsole.dataSinks.view.noDataYet", "This data sink has no data yet. Upload a CSV or build a workflow to import data.")
|
|
424
425
|
}),
|
|
425
|
-
/* @__PURE__ */
|
|
426
|
+
/* @__PURE__ */ y(g, {
|
|
426
427
|
onClick: $,
|
|
427
428
|
variant: "default",
|
|
428
429
|
size: "sm",
|
|
429
|
-
children: [/* @__PURE__ */
|
|
430
|
+
children: [/* @__PURE__ */ v(h, { className: "w-4 h-4 mr-2" }), C("bigconsole.dataSinks.view.importData", "Import Data")]
|
|
430
431
|
})
|
|
431
432
|
]
|
|
432
433
|
}))]
|
|
433
434
|
})]
|
|
434
|
-
}), /* @__PURE__ */
|
|
435
|
+
}), /* @__PURE__ */ y("div", {
|
|
435
436
|
className: "grid min-w-0 gap-section-gap md:grid-cols-2",
|
|
436
437
|
children: [
|
|
437
|
-
|
|
438
|
-
workflowId:
|
|
439
|
-
executionId:
|
|
440
|
-
lastRefreshedAt:
|
|
441
|
-
setupState:
|
|
442
|
-
status:
|
|
443
|
-
onRerunWorkflow:
|
|
444
|
-
disabled:
|
|
445
|
-
isRerunning:
|
|
438
|
+
B.fluidGridsWorkflowId && /* @__PURE__ */ v(de, {
|
|
439
|
+
workflowId: B.fluidGridsWorkflowId,
|
|
440
|
+
executionId: B.fluidGridsWorkflowExecutionId || void 0,
|
|
441
|
+
lastRefreshedAt: B.lastRefreshedAt || void 0,
|
|
442
|
+
setupState: B.setupState,
|
|
443
|
+
status: B.status,
|
|
444
|
+
onRerunWorkflow: J,
|
|
445
|
+
disabled: E,
|
|
446
|
+
isRerunning: E
|
|
446
447
|
}),
|
|
447
|
-
/* @__PURE__ */
|
|
448
|
-
/* @__PURE__ */
|
|
448
|
+
/* @__PURE__ */ v(le, { workflowLinks: B.workflowLinks }),
|
|
449
|
+
/* @__PURE__ */ v(ue, { dataSinkKey: B.key })
|
|
449
450
|
]
|
|
450
451
|
})]
|
|
451
452
|
}),
|
|
452
|
-
/* @__PURE__ */
|
|
453
|
+
/* @__PURE__ */ v(ke, {
|
|
453
454
|
storageKey: "bigconsole-datasink-view",
|
|
454
455
|
steps: [
|
|
455
456
|
{
|
|
456
457
|
id: "preview",
|
|
457
|
-
label:
|
|
458
|
-
description:
|
|
459
|
-
onClick:
|
|
458
|
+
label: C("bigconsole.dataSinks.view.nextSteps.previewLabel", "Preview the data"),
|
|
459
|
+
description: C("bigconsole.dataSinks.view.nextSteps.previewDescription", "Open the cached rows to confirm the sink holds what you expect."),
|
|
460
|
+
onClick: X
|
|
460
461
|
},
|
|
461
462
|
{
|
|
462
463
|
id: "refresh",
|
|
463
|
-
label:
|
|
464
|
-
description:
|
|
465
|
-
onClick:
|
|
464
|
+
label: C("bigconsole.dataSinks.view.nextSteps.refreshLabel", "Refresh from source"),
|
|
465
|
+
description: C("bigconsole.dataSinks.view.nextSteps.refreshDescription", "Re-run the linked workflow to pull the latest data."),
|
|
466
|
+
onClick: J
|
|
466
467
|
},
|
|
467
468
|
{
|
|
468
469
|
id: "build-dashboard",
|
|
469
|
-
label:
|
|
470
|
-
description:
|
|
471
|
-
onClick: () =>
|
|
470
|
+
label: C("bigconsole.dataSinks.view.nextSteps.dashboardLabel", "Visualize it on a dashboard"),
|
|
471
|
+
description: C("bigconsole.dataSinks.view.nextSteps.dashboardDescription", "Add widgets that query this sink to see your data live."),
|
|
472
|
+
onClick: () => S("/dashboards")
|
|
472
473
|
},
|
|
473
474
|
{
|
|
474
475
|
id: "export",
|
|
475
|
-
label:
|
|
476
|
-
description:
|
|
477
|
-
onClick:
|
|
476
|
+
label: C("bigconsole.dataSinks.view.nextSteps.exportLabel", "Export the data"),
|
|
477
|
+
description: C("bigconsole.dataSinks.view.nextSteps.exportDescription", "Download the contents for use elsewhere."),
|
|
478
|
+
onClick: Z
|
|
478
479
|
}
|
|
479
480
|
]
|
|
480
481
|
}),
|
|
481
|
-
/* @__PURE__ */
|
|
482
|
-
isOpen:
|
|
483
|
-
dataSinkId:
|
|
484
|
-
dataSinkName:
|
|
485
|
-
onClose:
|
|
482
|
+
/* @__PURE__ */ v(fe, {
|
|
483
|
+
isOpen: Fe,
|
|
484
|
+
dataSinkId: c || null,
|
|
485
|
+
dataSinkName: B.name || B.key,
|
|
486
|
+
onClose: Q
|
|
486
487
|
}),
|
|
487
|
-
/* @__PURE__ */
|
|
488
|
-
isOpen:
|
|
489
|
-
dataSinkName:
|
|
490
|
-
hasExistingData:
|
|
491
|
-
onClose:
|
|
492
|
-
onGoToWorkflows:
|
|
493
|
-
onImportCsv:
|
|
488
|
+
/* @__PURE__ */ v(pe, {
|
|
489
|
+
isOpen: Ie,
|
|
490
|
+
dataSinkName: B.name || B.key,
|
|
491
|
+
hasExistingData: B.sizeBytes > 0 || !!(B.data && Object.keys(B.data).length > 0),
|
|
492
|
+
onClose: qe,
|
|
493
|
+
onGoToWorkflows: Je,
|
|
494
|
+
onImportCsv: Ye
|
|
494
495
|
})
|
|
495
496
|
]
|
|
496
|
-
}) : /* @__PURE__ */
|
|
497
|
+
}) : /* @__PURE__ */ v("div", {
|
|
497
498
|
className: "flex min-h-[240px] items-center justify-center p-card-padding",
|
|
498
|
-
children: /* @__PURE__ */
|
|
499
|
+
children: /* @__PURE__ */ v(Oe, {
|
|
499
500
|
illustration: "empty-data",
|
|
500
|
-
title:
|
|
501
|
-
description:
|
|
502
|
-
action: /* @__PURE__ */
|
|
503
|
-
onClick:
|
|
501
|
+
title: C("bigconsole.dataSinks.view.notFoundTitle", "DataSink not found"),
|
|
502
|
+
description: C("bigconsole.dataSinks.view.notFoundDescription", "The DataSink you're looking for doesn't exist or has been deleted."),
|
|
503
|
+
action: /* @__PURE__ */ y(g, {
|
|
504
|
+
onClick: q,
|
|
504
505
|
variant: "default",
|
|
505
506
|
size: "default",
|
|
506
|
-
children: [/* @__PURE__ */
|
|
507
|
+
children: [/* @__PURE__ */ v(f, { className: "w-4 h-4 mr-2" }), C("bigconsole.dataSinks.view.goBackToDataSinks", "Go back to DataSinks")]
|
|
507
508
|
})
|
|
508
509
|
})
|
|
509
510
|
});
|
|
510
511
|
});
|
|
511
512
|
//#endregion
|
|
512
|
-
export {
|
|
513
|
+
export { S as DataSinkViewPage, S as default };
|
|
513
514
|
|
|
514
515
|
//# sourceMappingURL=DataSinkViewPage.js.map
|