@burdenoff/microfe-bigconsole 2026.1008.14 → 2026.1009.10

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