@burdenoff/microfe-bigconsole 2026.1115.3 → 2026.1115.4

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