@burdenoff/microfe-bigconsole 2026.1010.12 → 2026.1012.1

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