@burdenoff/microfe-bigconsole 2026.1123.7 → 2026.1124.2
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/asof/AsOfControl.js +2 -2
- package/dist/bigconsole/components/dashboard/DashboardCommentsDrawer.js +107 -106
- package/dist/bigconsole/components/dashboard/DashboardGalleryCard.d.ts +34 -0
- package/dist/bigconsole/components/dashboard/DashboardGalleryCard.js +123 -0
- package/dist/bigconsole/components/dashboard/DashboardReviewDialog.js +1 -1
- package/dist/bigconsole/components/dashboard/DashboardStatusPill.js +19 -35
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +119 -116
- package/dist/bigconsole/components/dashboard/LiveCanvasToggle.js +1 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.d.ts +0 -1
- package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +172 -170
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +210 -208
- package/dist/bigconsole/components/dashboard/TemplateInstallOptions.js +97 -97
- package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -0
- package/dist/bigconsole/components/datasink/AlertExecutionHistory.js +92 -92
- package/dist/bigconsole/components/datasink/AlertRuleEditor.js +149 -149
- package/dist/bigconsole/components/datasink/AnomalyDetectorPanel.js +54 -54
- package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js +30 -37
- package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +4 -4
- package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +130 -129
- package/dist/bigconsole/components/datasink/SetupStateBadge.js +24 -33
- package/dist/bigconsole/components/datasink/SinkWorkflowLinkForm.js +38 -38
- package/dist/bigconsole/components/explore/CreateQueryWidget.js +57 -56
- package/dist/bigconsole/components/explore/SqlDraftEditor.js +140 -140
- package/dist/bigconsole/components/explore/VisualBuilder.js +85 -84
- package/dist/bigconsole/components/explore/queryAccess/GrantsPanel.js +168 -167
- package/dist/bigconsole/components/explore/queryAccess/QueryAccessAdmin.js +2 -2
- package/dist/bigconsole/components/explore/queryAccess/RelationEditor.js +118 -117
- package/dist/bigconsole/components/fleet/FleetChildrenPanel.d.ts +4 -0
- package/dist/bigconsole/components/fleet/FleetChildrenPanel.js +174 -184
- package/dist/bigconsole/components/fleet/FleetCopySection.d.ts +13 -0
- package/dist/bigconsole/components/fleet/FleetCopySection.js +266 -0
- package/dist/bigconsole/components/insights/BoardLintPanel.js +2 -2
- package/dist/bigconsole/components/insights/OutlierSpottingDialog.js +123 -123
- package/dist/bigconsole/components/kpi-change/KpiChangePanel.js +2 -2
- package/dist/bigconsole/components/narrative/NarrativePanel.js +1 -1
- package/dist/bigconsole/components/overview/DataHealthCard.js +3 -0
- package/dist/bigconsole/components/overview/RecentDashboardsPanel.js +3 -0
- package/dist/bigconsole/components/parser/ParserStatusBadge.js +25 -28
- package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +23 -22
- package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js +15 -26
- package/dist/bigconsole/components/reconcile/KpiReconcileDialog.js +24 -24
- package/dist/bigconsole/components/settings/WidgetCatalogSection.js +1 -1
- package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +188 -187
- package/dist/bigconsole/components/widgets/FilterNotAppliedNotice.js +1 -1
- package/dist/bigconsole/components/widgets/UnsupportedDataSourceNotice.js +1 -1
- package/dist/bigconsole/components/widgets/WidgetCompareView.js +3 -1
- package/dist/bigconsole/components/widgets/WidgetHeader.js +1 -1
- package/dist/bigconsole/components/widgets/advanced/AdvancedWidgetConfig.js +45 -44
- package/dist/bigconsole/components/widgets/chart/ChartConfig.js +151 -147
- package/dist/bigconsole/components/widgets/chart/ReferenceLinesEditor.js +48 -47
- package/dist/bigconsole/components/widgets/comments/WidgetComments.js +1 -1
- package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +139 -138
- package/dist/bigconsole/components/widgets/form/FormWidget.js +149 -148
- package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +80 -77
- package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +58 -56
- package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +75 -73
- package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +86 -85
- package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +80 -77
- package/dist/bigconsole/components/widgets/retention/RetentionView.js +1 -1
- package/dist/bigconsole/components/widgets/table/TableConfig.js +214 -211
- package/dist/bigconsole/components/widgets/table/TablePagination.js +59 -58
- package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +140 -138
- package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js +74 -66
- package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +48 -48
- package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js +28 -37
- package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +69 -69
- package/dist/bigconsole/hooks/useDashboardListQuery.d.ts +22 -0
- package/dist/bigconsole/hooks/useDashboardListQuery.js +39 -0
- package/dist/bigconsole/hooks/useFleetBreadcrumb.d.ts +8 -1
- package/dist/bigconsole/hooks/useFleetBreadcrumb.js +4 -1
- package/dist/bigconsole/hooks/useFleetChildren.d.ts +2 -0
- package/dist/bigconsole/hooks/useFleetChildren.js +10 -6
- package/dist/bigconsole/hooks/useFleetCopyActions.d.ts +23 -0
- package/dist/bigconsole/hooks/useFleetCopyActions.js +74 -0
- package/dist/bigconsole/hooks/useFleetFlags.d.ts +16 -0
- package/dist/bigconsole/hooks/useFleetFlags.js +79 -0
- package/dist/bigconsole/hooks/useOwnerBoundRun.d.ts +33 -0
- package/dist/bigconsole/hooks/useOwnerBoundRun.js +41 -0
- package/dist/bigconsole/pages/AdminPage.js +147 -146
- package/dist/bigconsole/pages/DashboardViewPage.js +292 -287
- package/dist/bigconsole/pages/DashboardsPage.js +647 -864
- package/dist/bigconsole/pages/DataParsersPage.js +5 -0
- package/dist/bigconsole/pages/DataSinkBuilderPage.js +4 -1
- package/dist/bigconsole/pages/DataSinkViewPage.js +263 -261
- package/dist/bigconsole/pages/DataSinksPage.js +210 -186
- package/dist/bigconsole/pages/InsightsPage.js +386 -383
- package/dist/bigconsole/pages/ParserBuilderPage.js +413 -413
- package/dist/bigconsole/pages/ParserViewPage.js +2 -0
- package/dist/bigconsole/pages/PipelineBuilderPage.js +279 -276
- package/dist/bigconsole/pages/PipelineViewPage.js +3 -0
- package/dist/bigconsole/pages/PipelinesPage.js +198 -165
- package/dist/bigconsole/pages/SettingsPage.js +160 -160
- package/dist/bigconsole/pages/WidgetDemoPage.js +2 -0
- package/dist/bigconsole/pages/WorkflowViewPage.js +5 -0
- package/dist/bigconsole/pages/WorkflowsPage.js +144 -123
- package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +1 -1
- package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +123 -122
- package/dist/bigconsole/utils/dashboardGallery.d.ts +84 -0
- package/dist/bigconsole/utils/dashboardGallery.js +93 -0
- package/dist/bigconsole/utils/fleetFlags.d.ts +22 -0
- package/dist/bigconsole/utils/fleetFlags.js +40 -0
- package/dist/bigconsole/utils/fleetTree.d.ts +9 -0
- package/dist/bigconsole/utils/fleetTree.js +5 -1
- package/dist/bigconsole/utils/statusTone.d.ts +17 -0
- package/dist/bigconsole/utils/statusTone.js +44 -0
- package/dist/generated/wspace-operations.d.ts +101 -0
- package/dist/generated/wspace-operations.js +609 -90
- package/dist/generated/wspace-types.js +6 -4
- package/package.json +4 -4
|
@@ -19,100 +19,100 @@ import { DataSinkRefreshDialog as pe } from "../components/datasink/DataSinkRefr
|
|
|
19
19
|
import { ImportDataSinkDialog as me } from "../components/datasink/ImportDataSinkDialog.js";
|
|
20
20
|
import "../components/common/index.js";
|
|
21
21
|
import { dataSinksListControls as he } from "../assistant/pageControls.js";
|
|
22
|
-
import { LIST_SORT_COPY as
|
|
23
|
-
import { selectDataSinks as
|
|
24
|
-
import { DataSinkStatusBadge as
|
|
25
|
-
import { SetupStateBadge as
|
|
26
|
-
import { memo as
|
|
27
|
-
import { AccessDenied as
|
|
28
|
-
import { usePermissions as
|
|
29
|
-
import { AlertCircle as
|
|
30
|
-
import { AuroraBackground as
|
|
31
|
-
import { useI18n as
|
|
22
|
+
import { LIST_SORT_COPY as ge, listSortOptions as _e } from "../utils/listSort.js";
|
|
23
|
+
import { selectDataSinks as ve } from "../utils/dataSinkList.js";
|
|
24
|
+
import { DataSinkStatusBadge as ye } from "../components/datasink/DataSinkStatusBadge.js";
|
|
25
|
+
import { SetupStateBadge as be } from "../components/datasink/SetupStateBadge.js";
|
|
26
|
+
import { memo as a, useCallback as o, useMemo as s, useState as c } from "react";
|
|
27
|
+
import { AccessDenied as xe, PermissionButton as Se } from "@burdenoff/fe-libs/shared/components";
|
|
28
|
+
import { usePermissions as Ce } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
29
|
+
import { AlertCircle as we, Container as Te, Download as Ee, Eye as De, LayoutGrid as Oe, Pencil as ke, Plus as Ae, RefreshCw as je, Search as Me, Table2 as Ne, Trash2 as Pe, Upload as Fe, X as Ie } from "lucide-react";
|
|
30
|
+
import { AuroraBackground as Le, Badge as Re, Button as l, CTAOverflowMenu as ze, EmptyState as u, GradientText as Be, IllustratedEmptyState as Ve, Input as He, PagePurpose as Ue, Select as d, SelectContent as f, SelectItem as p, SelectTrigger as m, SelectValue as h, Spinner as We, useGlassEmptyStates as Ge } from "@burdenoff/fe-libs/ui";
|
|
31
|
+
import { useI18n as Ke } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
32
32
|
import { getProfileScopedKey as g } from "@burdenoff/fe-libs/shared/utils";
|
|
33
33
|
import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
34
|
-
import { useAssistantPageControls as
|
|
34
|
+
import { useAssistantPageControls as qe } from "@burdenoff/fe-libs/shared/assistant/appControls/useAssistantControl";
|
|
35
35
|
import { formatDistanceToNow as b } from "date-fns";
|
|
36
36
|
// src/bigconsole/pages/DataSinksPage.tsx
|
|
37
|
-
var x = "bigconsole-datasinks-view-mode", S = `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}`, C = "focus-visible:ring-inset focus-visible:ring-offset-0",
|
|
37
|
+
var x = "bigconsole-datasinks-view-mode", S = `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}`, C = "focus-visible:ring-inset focus-visible:ring-offset-0", Je = (e) => {
|
|
38
38
|
if (!e) return "—";
|
|
39
39
|
let t = new Date(e);
|
|
40
40
|
return Number.isNaN(t.getTime()) ? "—" : b(t, { addSuffix: !0 });
|
|
41
|
-
}, w =
|
|
42
|
-
let w = t(), { t: T } =
|
|
41
|
+
}, w = a(function({ workspaceId: a, actorId: b }) {
|
|
42
|
+
let w = t(), { t: T } = Ke(), E = o((e, t) => {
|
|
43
43
|
let n = T(e);
|
|
44
44
|
return n === e ? t : n;
|
|
45
|
-
}, [T]), { hasPermission: D, isLoading: O } =
|
|
46
|
-
|
|
47
|
-
}, []),
|
|
45
|
+
}, [T]), { hasPermission: D, isLoading: O } = Ce(), k = Ge(), A = D(e.DATASINK_READ), Ye = D(e.DATASINK_CREATE), Xe = D(e.DATASINK_UPDATE), Ze = D(e.DATASINK_DELETE), Qe = D(e.DATASINK_EXECUTE), [j, M] = c("all"), [N, $e] = c("updated-desc"), [et, tt] = c(!1), [P, nt] = c(() => localStorage.getItem(g(x)) || "grid"), rt = o((e) => {
|
|
46
|
+
nt(e), localStorage.setItem(g(x), e);
|
|
47
|
+
}, []), F = i((e) => e.statusFilter), I = i((e) => e.activeFilter), L = i((e) => e.searchQuery), R = i((e) => e.setStatusFilter), z = i((e) => e.setActiveFilter), B = i((e) => e.setSearchQuery), it = i((e) => e.deleteDialogOpen), at = i((e) => e.refreshDialogOpen), V = i((e) => e.currentDataSink), ot = i((e) => e.openDeleteDialog), H = i((e) => e.closeDeleteDialog), st = i((e) => e.openRefreshDialog), U = i((e) => e.closeRefreshDialog), { loading: W, error: G, dataSinks: K, deleteDataSink: ct, refreshDataSink: lt, refetch: q } = ie(), { downloadDataSink: ut } = ae(), dt = s(() => K.map((e) => ({
|
|
48
48
|
dataSink: e,
|
|
49
49
|
setupState: se(e)
|
|
50
|
-
})), [
|
|
51
|
-
setupState:
|
|
52
|
-
status:
|
|
53
|
-
active:
|
|
54
|
-
search:
|
|
55
|
-
sort:
|
|
50
|
+
})), [K]), J = s(() => ve(dt, {
|
|
51
|
+
setupState: j,
|
|
52
|
+
status: F,
|
|
53
|
+
active: I,
|
|
54
|
+
search: L,
|
|
55
|
+
sort: N
|
|
56
56
|
}), [
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
dt,
|
|
58
|
+
j,
|
|
59
|
+
F,
|
|
59
60
|
I,
|
|
60
61
|
L,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
]), ct = s(() => {
|
|
62
|
+
N
|
|
63
|
+
]), ft = o(() => {
|
|
64
64
|
w("/datasinks/new");
|
|
65
|
-
}, [w]),
|
|
65
|
+
}, [w]), Y = o((e) => {
|
|
66
66
|
w(`/datasinks/${e}`);
|
|
67
|
-
}, [w]),
|
|
67
|
+
}, [w]), X = o((e) => {
|
|
68
68
|
w(`/datasinks/${e}/edit`);
|
|
69
|
-
}, [w]),
|
|
70
|
-
let t =
|
|
71
|
-
t &&
|
|
72
|
-
}, [
|
|
73
|
-
|
|
74
|
-
id:
|
|
69
|
+
}, [w]), pt = o((e) => {
|
|
70
|
+
let t = K.find((t) => t.id === e);
|
|
71
|
+
t && st(t);
|
|
72
|
+
}, [K, st]), mt = o(async (e) => {
|
|
73
|
+
V && (await lt({
|
|
74
|
+
id: V.id,
|
|
75
75
|
forceRefresh: e
|
|
76
|
-
}),
|
|
76
|
+
}), U());
|
|
77
77
|
}, [
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
]),
|
|
82
|
-
let t =
|
|
83
|
-
t &&
|
|
84
|
-
}, [
|
|
85
|
-
if (
|
|
78
|
+
V,
|
|
79
|
+
lt,
|
|
80
|
+
U
|
|
81
|
+
]), ht = o((e) => {
|
|
82
|
+
let t = K.find((t) => t.id === e);
|
|
83
|
+
t && ot(t);
|
|
84
|
+
}, [K, ot]), gt = o(async () => {
|
|
85
|
+
if (V) {
|
|
86
86
|
try {
|
|
87
|
-
await
|
|
87
|
+
await ct(V.id), ne() && re("success");
|
|
88
88
|
} catch (e) {
|
|
89
89
|
throw ne() && re("error"), e;
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
H();
|
|
92
92
|
}
|
|
93
93
|
}, [
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
]),
|
|
98
|
-
let t =
|
|
99
|
-
t && await
|
|
100
|
-
}, [
|
|
101
|
-
|
|
102
|
-
}, []),
|
|
103
|
-
|
|
104
|
-
}, [
|
|
105
|
-
|
|
94
|
+
V,
|
|
95
|
+
ct,
|
|
96
|
+
H
|
|
97
|
+
]), Z = o(async (e) => {
|
|
98
|
+
let t = K.find((t) => t.id === e);
|
|
99
|
+
t && await ut(e, t.name || t.key);
|
|
100
|
+
}, [K, ut]), _t = o(() => {
|
|
101
|
+
tt(!0);
|
|
102
|
+
}, []), vt = o((e, t, n) => {
|
|
103
|
+
q();
|
|
104
|
+
}, [q]), yt = s(() => j !== "all" || F !== null || I !== null || L.trim() !== "", [
|
|
105
|
+
j,
|
|
106
|
+
F,
|
|
106
107
|
I,
|
|
107
|
-
L
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
N("all"), z(null), B(null), V("");
|
|
108
|
+
L
|
|
109
|
+
]), Q = o(() => {
|
|
110
|
+
M("all"), R(null), z(null), B("");
|
|
111
111
|
}, [
|
|
112
|
+
R,
|
|
112
113
|
z,
|
|
113
|
-
B
|
|
114
|
-
|
|
115
|
-
]), $ = c(() => [
|
|
114
|
+
B
|
|
115
|
+
]), $ = s(() => [
|
|
116
116
|
{
|
|
117
117
|
value: "all",
|
|
118
118
|
label: E("bigconsole.dataSinks.filters.setupState.all", "All")
|
|
@@ -125,33 +125,33 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
125
125
|
value: "completed",
|
|
126
126
|
label: E("bigconsole.dataSinks.filters.setupState.completed", "Completed")
|
|
127
127
|
}
|
|
128
|
-
], [E]),
|
|
128
|
+
], [E]), bt = s(() => _e(E, !1), [E]), xt = s(() => !O && A && !G ? he({
|
|
129
129
|
tr: E,
|
|
130
130
|
setupStateOptions: $,
|
|
131
|
-
setupState:
|
|
132
|
-
setSetupState:
|
|
133
|
-
status:
|
|
134
|
-
setStatus:
|
|
135
|
-
active:
|
|
136
|
-
setActive:
|
|
137
|
-
setSearch:
|
|
138
|
-
sort:
|
|
139
|
-
setSort:
|
|
131
|
+
setupState: j,
|
|
132
|
+
setSetupState: M,
|
|
133
|
+
status: F,
|
|
134
|
+
setStatus: R,
|
|
135
|
+
active: I,
|
|
136
|
+
setActive: z,
|
|
137
|
+
setSearch: B,
|
|
138
|
+
sort: N,
|
|
139
|
+
setSort: $e
|
|
140
140
|
}) : null, [
|
|
141
141
|
E,
|
|
142
142
|
O,
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
A,
|
|
144
|
+
G,
|
|
145
145
|
$,
|
|
146
|
-
|
|
146
|
+
j,
|
|
147
|
+
F,
|
|
148
|
+
R,
|
|
147
149
|
I,
|
|
148
150
|
z,
|
|
149
|
-
L,
|
|
150
151
|
B,
|
|
151
|
-
|
|
152
|
-
P
|
|
152
|
+
N
|
|
153
153
|
]);
|
|
154
|
-
return
|
|
154
|
+
return qe(xt), !O && !A ? /* @__PURE__ */ v(xe, {
|
|
155
155
|
title: E("bigconsole.dataSinks.accessDenied.title", "Access Denied"),
|
|
156
156
|
description: E("bigconsole.dataSinks.accessDenied.description", "You don't have permission to view data sinks.")
|
|
157
157
|
}) : /* @__PURE__ */ y("div", {
|
|
@@ -160,7 +160,7 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
160
160
|
children: [
|
|
161
161
|
/* @__PURE__ */ y("header", {
|
|
162
162
|
className: "relative overflow-hidden border-b border-[var(--color-border-seam)] bg-[image:var(--gradient-gloss-card)]",
|
|
163
|
-
children: [/* @__PURE__ */ v(
|
|
163
|
+
children: [/* @__PURE__ */ v(Le, { intensity: "subtle" }), /* @__PURE__ */ v("div", {
|
|
164
164
|
style: { padding: "var(--space-pagePadding)" },
|
|
165
165
|
children: /* @__PURE__ */ y("div", {
|
|
166
166
|
style: {
|
|
@@ -188,7 +188,7 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
188
188
|
borderRadius: "var(--radius-card)",
|
|
189
189
|
backgroundColor: "var(--color-action-primary-bg)"
|
|
190
190
|
},
|
|
191
|
-
children: /* @__PURE__ */ v(
|
|
191
|
+
children: /* @__PURE__ */ v(Te, { style: {
|
|
192
192
|
height: "var(--size-icon-lg)",
|
|
193
193
|
width: "var(--size-icon-lg)",
|
|
194
194
|
color: "var(--color-action-primary-text)"
|
|
@@ -197,26 +197,26 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
197
197
|
style: { minWidth: 0 },
|
|
198
198
|
children: [/* @__PURE__ */ v("h1", {
|
|
199
199
|
className: "m-0 text-2xl font-bold text-text-primary",
|
|
200
|
-
children: /* @__PURE__ */ v(
|
|
200
|
+
children: /* @__PURE__ */ v(Be, { children: E("bigconsole.dataSinks.title", "Data Sinks") })
|
|
201
201
|
}), /* @__PURE__ */ v("p", {
|
|
202
202
|
className: "m-0 text-sm text-text-secondary",
|
|
203
203
|
children: E("bigconsole.dataSinks.subtitle", "Manage pre-processed data from FluidGrids workflows")
|
|
204
204
|
})]
|
|
205
205
|
})]
|
|
206
|
-
}), /* @__PURE__ */ v(
|
|
207
|
-
primary:
|
|
206
|
+
}), /* @__PURE__ */ v(ze, {
|
|
207
|
+
primary: Ye ? {
|
|
208
208
|
label: E("bigconsole.dataSinks.actions.create", "Create Data Sink"),
|
|
209
|
-
onSelect:
|
|
210
|
-
icon: /* @__PURE__ */ v(
|
|
209
|
+
onSelect: ft,
|
|
210
|
+
icon: /* @__PURE__ */ v(Ae, { style: {
|
|
211
211
|
marginRight: "var(--space-iconGap)",
|
|
212
212
|
height: "var(--size-icon-sm)",
|
|
213
213
|
width: "var(--size-icon-sm)"
|
|
214
214
|
} })
|
|
215
215
|
} : void 0,
|
|
216
|
-
actions:
|
|
216
|
+
actions: Ye ? [{
|
|
217
217
|
label: E("bigconsole.dataSinks.actions.import", "Import"),
|
|
218
|
-
onSelect:
|
|
219
|
-
icon: /* @__PURE__ */ v(
|
|
218
|
+
onSelect: _t,
|
|
219
|
+
icon: /* @__PURE__ */ v(Fe, { style: {
|
|
220
220
|
height: "var(--size-icon-sm)",
|
|
221
221
|
width: "var(--size-icon-sm)"
|
|
222
222
|
} })
|
|
@@ -227,24 +227,34 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
227
227
|
}),
|
|
228
228
|
/* @__PURE__ */ y("div", {
|
|
229
229
|
style: { padding: "var(--space-pagePadding)" },
|
|
230
|
-
children: [/* @__PURE__ */ v(
|
|
230
|
+
children: [/* @__PURE__ */ v(Ue, {
|
|
231
231
|
className: "mb-[var(--space-sectionGap)]",
|
|
232
232
|
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."
|
|
233
233
|
}), /* @__PURE__ */ y(ee, { children: [
|
|
234
|
-
!O &&
|
|
234
|
+
!O && A && a && b && /* @__PURE__ */ v(ce, {
|
|
235
235
|
actorId: b,
|
|
236
|
-
workspaceId:
|
|
236
|
+
workspaceId: a
|
|
237
237
|
}),
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
a && /* @__PURE__ */ v(le, { workspaceId: a }),
|
|
239
|
+
G && k ? /* @__PURE__ */ v(u, {
|
|
240
|
+
kind: "error",
|
|
241
|
+
size: "page",
|
|
242
|
+
title: E("bigconsole.dataSinks.error.title", "Failed to load Data Sinks"),
|
|
243
|
+
description: G.message,
|
|
244
|
+
action: /* @__PURE__ */ v(l, {
|
|
245
|
+
size: "sm",
|
|
246
|
+
onClick: () => q(),
|
|
247
|
+
children: E("bigconsole.dataSinks.error.retry", "Try Again")
|
|
248
|
+
})
|
|
249
|
+
}) : G ? /* @__PURE__ */ v(r, {
|
|
240
250
|
tone: "danger",
|
|
241
251
|
headingLevel: 2,
|
|
242
252
|
title: E("bigconsole.dataSinks.error.title", "Failed to load Data Sinks"),
|
|
243
|
-
description:
|
|
244
|
-
icon: /* @__PURE__ */ v(
|
|
245
|
-
actions: /* @__PURE__ */ v(
|
|
253
|
+
description: G.message,
|
|
254
|
+
icon: /* @__PURE__ */ v(we, { className: "h-icon-sm w-icon-sm" }),
|
|
255
|
+
actions: /* @__PURE__ */ v(l, {
|
|
246
256
|
size: "sm",
|
|
247
|
-
onClick: () =>
|
|
257
|
+
onClick: () => q(),
|
|
248
258
|
children: E("bigconsole.dataSinks.error.retry", "Try Again")
|
|
249
259
|
})
|
|
250
260
|
}) : /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(r, {
|
|
@@ -269,8 +279,8 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
269
279
|
},
|
|
270
280
|
children: $.map((e) => /* @__PURE__ */ v("button", {
|
|
271
281
|
type: "button",
|
|
272
|
-
"aria-pressed":
|
|
273
|
-
onClick: () =>
|
|
282
|
+
"aria-pressed": j === e.value,
|
|
283
|
+
onClick: () => M(e.value),
|
|
274
284
|
className: n,
|
|
275
285
|
style: {
|
|
276
286
|
minHeight: "var(--size-controlHeight-md)",
|
|
@@ -280,9 +290,9 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
280
290
|
borderRadius: "var(--radius-button)",
|
|
281
291
|
border: "none",
|
|
282
292
|
cursor: "pointer",
|
|
283
|
-
backgroundColor:
|
|
284
|
-
color:
|
|
285
|
-
boxShadow:
|
|
293
|
+
backgroundColor: j === e.value ? "var(--color-bg-surface)" : "transparent",
|
|
294
|
+
color: j === e.value ? "var(--color-text-primary)" : "var(--color-text-secondary)",
|
|
295
|
+
boxShadow: j === e.value ? "var(--shadow-elevation-1)" : "none"
|
|
286
296
|
},
|
|
287
297
|
children: e.label
|
|
288
298
|
}, e.value))
|
|
@@ -301,7 +311,7 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
301
311
|
minWidth: "min(100%, 240px)",
|
|
302
312
|
flex: "1 1 240px"
|
|
303
313
|
},
|
|
304
|
-
children: [/* @__PURE__ */ v(
|
|
314
|
+
children: [/* @__PURE__ */ v(Me, { style: {
|
|
305
315
|
position: "absolute",
|
|
306
316
|
left: "var(--space-controlGap)",
|
|
307
317
|
top: "50%",
|
|
@@ -309,11 +319,11 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
309
319
|
height: "var(--size-icon-sm)",
|
|
310
320
|
width: "var(--size-icon-sm)",
|
|
311
321
|
color: "var(--color-text-muted)"
|
|
312
|
-
} }), /* @__PURE__ */ v(
|
|
322
|
+
} }), /* @__PURE__ */ v(He, {
|
|
313
323
|
type: "text",
|
|
314
324
|
placeholder: E("bigconsole.dataSinks.search.placeholder", "Search data sinks..."),
|
|
315
|
-
value:
|
|
316
|
-
onChange: (e) =>
|
|
325
|
+
value: L,
|
|
326
|
+
onChange: (e) => B(e.target.value),
|
|
317
327
|
style: {
|
|
318
328
|
paddingLeft: "var(--size-controlHeight-md)",
|
|
319
329
|
height: "var(--size-controlHeight-md)"
|
|
@@ -321,8 +331,8 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
321
331
|
})]
|
|
322
332
|
}),
|
|
323
333
|
/* @__PURE__ */ y(d, {
|
|
324
|
-
value:
|
|
325
|
-
onValueChange: (e) =>
|
|
334
|
+
value: F || "all",
|
|
335
|
+
onValueChange: (e) => R(e === "all" ? null : e),
|
|
326
336
|
children: [/* @__PURE__ */ v(m, {
|
|
327
337
|
style: { width: "min(100%, 150px)" },
|
|
328
338
|
children: /* @__PURE__ */ v(h, { placeholder: E("bigconsole.dataSinks.filters.status.placeholder", "All Statuses") })
|
|
@@ -350,8 +360,8 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
350
360
|
] })]
|
|
351
361
|
}),
|
|
352
362
|
/* @__PURE__ */ y(d, {
|
|
353
|
-
value:
|
|
354
|
-
onValueChange: (e) =>
|
|
363
|
+
value: I === null ? "all" : I ? "true" : "false",
|
|
364
|
+
onValueChange: (e) => z(e === "all" ? null : e === "true"),
|
|
355
365
|
children: [/* @__PURE__ */ v(m, {
|
|
356
366
|
style: { width: "min(100%, 130px)" },
|
|
357
367
|
children: /* @__PURE__ */ v(h, { placeholder: E("bigconsole.dataSinks.filters.active.placeholder", "All") })
|
|
@@ -371,16 +381,16 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
371
381
|
] })]
|
|
372
382
|
}),
|
|
373
383
|
/* @__PURE__ */ v(te, {
|
|
374
|
-
label: E(
|
|
375
|
-
value:
|
|
376
|
-
options:
|
|
377
|
-
onChange:
|
|
384
|
+
label: E(ge.label.key, ge.label.en),
|
|
385
|
+
value: N,
|
|
386
|
+
options: bt,
|
|
387
|
+
onChange: $e
|
|
378
388
|
}),
|
|
379
|
-
|
|
389
|
+
yt && /* @__PURE__ */ y(l, {
|
|
380
390
|
variant: "ghost",
|
|
381
391
|
size: "sm",
|
|
382
392
|
onClick: Q,
|
|
383
|
-
children: [/* @__PURE__ */ v(
|
|
393
|
+
children: [/* @__PURE__ */ v(Ie, { style: {
|
|
384
394
|
marginRight: "var(--space-iconGap)",
|
|
385
395
|
height: "var(--size-icon-sm)",
|
|
386
396
|
width: "var(--size-icon-sm)"
|
|
@@ -393,12 +403,12 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
393
403
|
headingLevel: 2,
|
|
394
404
|
title: E("bigconsole.dataSinks.list.heading", "Data sinks"),
|
|
395
405
|
description: E("bigconsole.dataSinks.list.description", "Every sink in this workspace, most recently updated first."),
|
|
396
|
-
meta: /* @__PURE__ */ y(
|
|
406
|
+
meta: /* @__PURE__ */ y(Re, {
|
|
397
407
|
variant: "secondary",
|
|
398
408
|
children: [
|
|
399
|
-
|
|
409
|
+
J.length,
|
|
400
410
|
" ",
|
|
401
|
-
|
|
411
|
+
J.length === 1 ? E("bigconsole.dataSinks.count.single", "Data Sink") : E("bigconsole.dataSinks.count.plural", "Data Sinks")
|
|
402
412
|
]
|
|
403
413
|
}),
|
|
404
414
|
actions: /* @__PURE__ */ y("div", {
|
|
@@ -412,39 +422,39 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
412
422
|
},
|
|
413
423
|
children: [/* @__PURE__ */ v("button", {
|
|
414
424
|
type: "button",
|
|
415
|
-
onClick: () =>
|
|
416
|
-
"aria-pressed":
|
|
425
|
+
onClick: () => rt("grid"),
|
|
426
|
+
"aria-pressed": P === "grid",
|
|
417
427
|
title: E("bigconsole.dataSinks.view.grid", "Grid view"),
|
|
418
428
|
className: `flex h-control-md w-[var(--size-controlHeight-md)] items-center justify-center ${n} ${C}`,
|
|
419
429
|
style: {
|
|
420
430
|
border: "none",
|
|
421
431
|
cursor: "pointer",
|
|
422
|
-
backgroundColor:
|
|
423
|
-
color:
|
|
432
|
+
backgroundColor: P === "grid" ? "var(--color-bg-sunken)" : "transparent",
|
|
433
|
+
color: P === "grid" ? "var(--color-text-primary)" : "var(--color-text-muted)"
|
|
424
434
|
},
|
|
425
|
-
children: /* @__PURE__ */ v(
|
|
435
|
+
children: /* @__PURE__ */ v(Oe, { size: 16 })
|
|
426
436
|
}), /* @__PURE__ */ v("button", {
|
|
427
437
|
type: "button",
|
|
428
|
-
onClick: () =>
|
|
429
|
-
"aria-pressed":
|
|
438
|
+
onClick: () => rt("table"),
|
|
439
|
+
"aria-pressed": P === "table",
|
|
430
440
|
title: E("bigconsole.dataSinks.view.table", "Table view"),
|
|
431
441
|
className: `flex h-control-md w-[var(--size-controlHeight-md)] items-center justify-center ${n} ${C}`,
|
|
432
442
|
style: {
|
|
433
443
|
border: "none",
|
|
434
444
|
borderLeft: "1px solid var(--color-border)",
|
|
435
445
|
cursor: "pointer",
|
|
436
|
-
backgroundColor:
|
|
437
|
-
color:
|
|
446
|
+
backgroundColor: P === "table" ? "var(--color-bg-sunken)" : "transparent",
|
|
447
|
+
color: P === "table" ? "var(--color-text-primary)" : "var(--color-text-muted)"
|
|
438
448
|
},
|
|
439
|
-
children: /* @__PURE__ */ v(
|
|
449
|
+
children: /* @__PURE__ */ v(Ne, { size: 16 })
|
|
440
450
|
})]
|
|
441
451
|
}),
|
|
442
452
|
children: /* @__PURE__ */ y(_, { children: [
|
|
443
|
-
|
|
453
|
+
W && K.length === 0 && /* @__PURE__ */ v("div", {
|
|
444
454
|
className: "flex items-center justify-center py-12",
|
|
445
455
|
children: /* @__PURE__ */ y("div", {
|
|
446
456
|
style: { textAlign: "center" },
|
|
447
|
-
children: [/* @__PURE__ */ v(
|
|
457
|
+
children: [/* @__PURE__ */ v(We, { style: {
|
|
448
458
|
height: "var(--size-icon-xl)",
|
|
449
459
|
width: "var(--size-icon-xl)",
|
|
450
460
|
margin: "0 auto var(--space-formGap)"
|
|
@@ -454,16 +464,19 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
454
464
|
})]
|
|
455
465
|
})
|
|
456
466
|
}),
|
|
457
|
-
!
|
|
467
|
+
!W && K.length === 0 && /* @__PURE__ */ v(Ve, {
|
|
458
468
|
illustration: "empty-data",
|
|
469
|
+
kind: "first-use",
|
|
470
|
+
glassIllustration: "data-tables",
|
|
471
|
+
size: "page",
|
|
459
472
|
title: E("bigconsole.dataSinks.empty.title", "No Data Sinks yet"),
|
|
460
473
|
description: E("bigconsole.dataSinks.empty.description", "Data Sinks store pre-processed data from FluidGrids workflows for fast access in widgets."),
|
|
461
|
-
action: /* @__PURE__ */ v(
|
|
474
|
+
action: /* @__PURE__ */ v(Se, {
|
|
462
475
|
permission: e.DATASINK_CREATE,
|
|
463
476
|
deniedBehavior: "disable",
|
|
464
|
-
children: /* @__PURE__ */ y(
|
|
465
|
-
onClick:
|
|
466
|
-
children: [/* @__PURE__ */ v(
|
|
477
|
+
children: /* @__PURE__ */ y(l, {
|
|
478
|
+
onClick: ft,
|
|
479
|
+
children: [/* @__PURE__ */ v(Ae, { style: {
|
|
467
480
|
marginRight: "var(--space-iconGap)",
|
|
468
481
|
height: "var(--size-icon-sm)",
|
|
469
482
|
width: "var(--size-icon-sm)"
|
|
@@ -471,41 +484,52 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
471
484
|
})
|
|
472
485
|
})
|
|
473
486
|
}),
|
|
474
|
-
!
|
|
487
|
+
!W && J.length === 0 && K.length > 0 && (k ? /* @__PURE__ */ v(u, {
|
|
488
|
+
kind: L.trim() ? "no-results" : "filtered",
|
|
489
|
+
size: "panel",
|
|
490
|
+
title: E("bigconsole.dataSinks.empty.filteredTitle", "No matching data sinks"),
|
|
491
|
+
description: E("bigconsole.dataSinks.empty.filtered", "No data sinks match your filters"),
|
|
492
|
+
action: /* @__PURE__ */ v(l, {
|
|
493
|
+
variant: "secondary",
|
|
494
|
+
size: "sm",
|
|
495
|
+
onClick: Q,
|
|
496
|
+
children: E("bigconsole.dataSinks.filters.clear", "Clear Filters")
|
|
497
|
+
})
|
|
498
|
+
}) : /* @__PURE__ */ v(r, {
|
|
475
499
|
tone: "info",
|
|
476
500
|
emphasis: "muted",
|
|
477
501
|
padding: "compact",
|
|
478
502
|
headingLevel: 3,
|
|
479
503
|
title: E("bigconsole.dataSinks.empty.filteredTitle", "No matching data sinks"),
|
|
480
504
|
description: E("bigconsole.dataSinks.empty.filtered", "No data sinks match your filters"),
|
|
481
|
-
actions: /* @__PURE__ */ v(
|
|
505
|
+
actions: /* @__PURE__ */ v(l, {
|
|
482
506
|
variant: "secondary",
|
|
483
507
|
size: "sm",
|
|
484
508
|
onClick: Q,
|
|
485
509
|
children: E("bigconsole.dataSinks.filters.clear", "Clear Filters")
|
|
486
510
|
})
|
|
487
|
-
}),
|
|
488
|
-
|
|
511
|
+
})),
|
|
512
|
+
J.length > 0 && P === "grid" && /* @__PURE__ */ v("div", {
|
|
489
513
|
style: {
|
|
490
514
|
display: "grid",
|
|
491
515
|
gridTemplateColumns: "repeat(auto-fill, minmax(min(100%, 320px), 1fr))",
|
|
492
516
|
gap: "var(--space-formGap)"
|
|
493
517
|
},
|
|
494
|
-
children:
|
|
518
|
+
children: J.map((e) => /* @__PURE__ */ v(ue, {
|
|
495
519
|
dataSink: e.dataSink,
|
|
496
520
|
setupState: e.setupState,
|
|
497
|
-
onView:
|
|
498
|
-
onEdit:
|
|
499
|
-
onContinueSetup:
|
|
500
|
-
onRefresh:
|
|
501
|
-
onExport:
|
|
502
|
-
onDelete:
|
|
503
|
-
canEdit:
|
|
504
|
-
canRefresh:
|
|
505
|
-
canDelete:
|
|
521
|
+
onView: Y,
|
|
522
|
+
onEdit: X,
|
|
523
|
+
onContinueSetup: X,
|
|
524
|
+
onRefresh: pt,
|
|
525
|
+
onExport: Z,
|
|
526
|
+
onDelete: ht,
|
|
527
|
+
canEdit: Xe,
|
|
528
|
+
canRefresh: Qe,
|
|
529
|
+
canDelete: Ze
|
|
506
530
|
}, e.dataSink.id))
|
|
507
531
|
}),
|
|
508
|
-
|
|
532
|
+
J.length > 0 && P === "table" && /* @__PURE__ */ v("div", {
|
|
509
533
|
className: "min-w-0",
|
|
510
534
|
style: { overflowX: "auto" },
|
|
511
535
|
children: /* @__PURE__ */ y("table", {
|
|
@@ -621,11 +645,11 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
621
645
|
children: E("bigconsole.dataSinks.table.actions", "Actions")
|
|
622
646
|
})
|
|
623
647
|
]
|
|
624
|
-
}) }), /* @__PURE__ */ v("tbody", { children:
|
|
648
|
+
}) }), /* @__PURE__ */ v("tbody", { children: J.map((e) => {
|
|
625
649
|
let t = e.dataSink;
|
|
626
650
|
return /* @__PURE__ */ y("tr", {
|
|
627
651
|
...de(t.id),
|
|
628
|
-
onClick: () =>
|
|
652
|
+
onClick: () => Y(t.id),
|
|
629
653
|
className: "cursor-pointer hover:bg-bg-sunken motion-safe:transition-colors",
|
|
630
654
|
style: { borderBottom: "1px solid var(--color-border)" },
|
|
631
655
|
children: [
|
|
@@ -656,11 +680,11 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
656
680
|
}),
|
|
657
681
|
/* @__PURE__ */ v("td", {
|
|
658
682
|
style: { padding: "10px 12px" },
|
|
659
|
-
children: /* @__PURE__ */ v(
|
|
683
|
+
children: /* @__PURE__ */ v(ye, { status: t.status })
|
|
660
684
|
}),
|
|
661
685
|
/* @__PURE__ */ v("td", {
|
|
662
686
|
style: { padding: "10px 12px" },
|
|
663
|
-
children: /* @__PURE__ */ v(
|
|
687
|
+
children: /* @__PURE__ */ v(be, { state: e.setupState })
|
|
664
688
|
}),
|
|
665
689
|
/* @__PURE__ */ v("td", {
|
|
666
690
|
style: {
|
|
@@ -702,7 +726,7 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
702
726
|
whiteSpace: "nowrap"
|
|
703
727
|
},
|
|
704
728
|
title: t.lastRefreshedAt ? new Date(t.lastRefreshedAt).toLocaleString() : void 0,
|
|
705
|
-
children:
|
|
729
|
+
children: Je(t.lastRefreshedAt)
|
|
706
730
|
}),
|
|
707
731
|
/* @__PURE__ */ v("td", {
|
|
708
732
|
style: {
|
|
@@ -729,41 +753,41 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
729
753
|
type: "button",
|
|
730
754
|
title: E("bigconsole.dataSinks.actions.view", "View"),
|
|
731
755
|
"aria-label": E("bigconsole.dataSinks.actions.view", "View"),
|
|
732
|
-
onClick: () =>
|
|
756
|
+
onClick: () => Y(t.id),
|
|
733
757
|
className: S,
|
|
734
|
-
children: /* @__PURE__ */ v(
|
|
758
|
+
children: /* @__PURE__ */ v(De, { size: 14 })
|
|
735
759
|
}),
|
|
736
|
-
|
|
760
|
+
Xe && /* @__PURE__ */ v("button", {
|
|
737
761
|
type: "button",
|
|
738
762
|
title: E("bigconsole.dataSinks.actions.edit", "Edit"),
|
|
739
763
|
"aria-label": E("bigconsole.dataSinks.actions.edit", "Edit"),
|
|
740
|
-
onClick: () =>
|
|
764
|
+
onClick: () => X(t.id),
|
|
741
765
|
className: S,
|
|
742
|
-
children: /* @__PURE__ */ v(
|
|
766
|
+
children: /* @__PURE__ */ v(ke, { size: 14 })
|
|
743
767
|
}),
|
|
744
|
-
|
|
768
|
+
Qe && /* @__PURE__ */ v("button", {
|
|
745
769
|
type: "button",
|
|
746
770
|
title: E("bigconsole.dataSinks.actions.refresh", "Refresh"),
|
|
747
771
|
"aria-label": E("bigconsole.dataSinks.actions.refresh", "Refresh"),
|
|
748
|
-
onClick: () =>
|
|
772
|
+
onClick: () => pt(t.id),
|
|
749
773
|
className: S,
|
|
750
|
-
children: /* @__PURE__ */ v(
|
|
774
|
+
children: /* @__PURE__ */ v(je, { size: 14 })
|
|
751
775
|
}),
|
|
752
776
|
/* @__PURE__ */ v("button", {
|
|
753
777
|
type: "button",
|
|
754
778
|
title: E("bigconsole.dataSinks.actions.export", "Export"),
|
|
755
779
|
"aria-label": E("bigconsole.dataSinks.actions.export", "Export"),
|
|
756
|
-
onClick: () =>
|
|
780
|
+
onClick: () => Z(t.id),
|
|
757
781
|
className: S,
|
|
758
|
-
children: /* @__PURE__ */ v(
|
|
782
|
+
children: /* @__PURE__ */ v(Ee, { size: 14 })
|
|
759
783
|
}),
|
|
760
|
-
|
|
784
|
+
Ze && /* @__PURE__ */ v("button", {
|
|
761
785
|
type: "button",
|
|
762
786
|
title: E("bigconsole.dataSinks.actions.delete", "Delete"),
|
|
763
787
|
"aria-label": E("bigconsole.dataSinks.actions.delete", "Delete"),
|
|
764
|
-
onClick: () =>
|
|
788
|
+
onClick: () => ht(t.id),
|
|
765
789
|
className: S,
|
|
766
|
-
children: /* @__PURE__ */ v(
|
|
790
|
+
children: /* @__PURE__ */ v(Pe, { size: 14 })
|
|
767
791
|
})
|
|
768
792
|
]
|
|
769
793
|
})
|
|
@@ -777,21 +801,21 @@ var x = "bigconsole-datasinks-view-mode", S = `inline-flex h-control-md w-[var(-
|
|
|
777
801
|
})] })
|
|
778
802
|
] })]
|
|
779
803
|
}),
|
|
780
|
-
|
|
781
|
-
dataSink:
|
|
782
|
-
isOpen:
|
|
783
|
-
onClose:
|
|
784
|
-
onConfirm:
|
|
804
|
+
V && /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(fe, {
|
|
805
|
+
dataSink: V,
|
|
806
|
+
isOpen: it,
|
|
807
|
+
onClose: H,
|
|
808
|
+
onConfirm: gt
|
|
785
809
|
}), /* @__PURE__ */ v(pe, {
|
|
786
|
-
dataSink:
|
|
787
|
-
isOpen:
|
|
788
|
-
onClose:
|
|
789
|
-
onConfirm:
|
|
810
|
+
dataSink: V,
|
|
811
|
+
isOpen: at,
|
|
812
|
+
onClose: U,
|
|
813
|
+
onConfirm: mt
|
|
790
814
|
})] }),
|
|
791
815
|
/* @__PURE__ */ v(me, {
|
|
792
|
-
isOpen:
|
|
793
|
-
onClose: () =>
|
|
794
|
-
onSuccess:
|
|
816
|
+
isOpen: et,
|
|
817
|
+
onClose: () => tt(!1),
|
|
818
|
+
onSuccess: vt
|
|
795
819
|
})
|
|
796
820
|
]
|
|
797
821
|
});
|