@burdenoff/microfe-bigconsole 2026.805.3 → 2026.812.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.
Files changed (247) hide show
  1. package/dist/bigconsole/components/DrilldownDashboardRenderer.js +118 -106
  2. package/dist/bigconsole/components/DrilldownDashboardRenderer.js.map +1 -1
  3. package/dist/bigconsole/components/DrilldownModal.js +54 -50
  4. package/dist/bigconsole/components/DrilldownModal.js.map +1 -1
  5. package/dist/bigconsole/components/builder/BuilderCanvas.js +2 -2
  6. package/dist/bigconsole/components/builder/BuilderCanvas.js.map +1 -1
  7. package/dist/bigconsole/components/builder/BuilderTopbar.js +3 -3
  8. package/dist/bigconsole/components/builder/BuilderTopbar.js.map +1 -1
  9. package/dist/bigconsole/components/builder/inspector/AdvancedSection.js +24 -25
  10. package/dist/bigconsole/components/builder/inspector/AdvancedSection.js.map +1 -1
  11. package/dist/bigconsole/components/builder/inspector/AppearanceSection.js +40 -29
  12. package/dist/bigconsole/components/builder/inspector/AppearanceSection.js.map +1 -1
  13. package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +135 -97
  14. package/dist/bigconsole/components/builder/inspector/DataBindingSection.js.map +1 -1
  15. package/dist/bigconsole/components/builder/inspector/GeneralSection.js +58 -44
  16. package/dist/bigconsole/components/builder/inspector/GeneralSection.js.map +1 -1
  17. package/dist/bigconsole/components/common/Section.js +70 -0
  18. package/dist/bigconsole/components/common/Section.js.map +1 -0
  19. package/dist/bigconsole/components/common/index.js +2 -0
  20. package/dist/bigconsole/components/common/sectionStyles.js +42 -0
  21. package/dist/bigconsole/components/common/sectionStyles.js.map +1 -0
  22. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +209 -193
  23. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js.map +1 -1
  24. package/dist/bigconsole/components/dashboard/DashboardCanvas.js +213 -231
  25. package/dist/bigconsole/components/dashboard/DashboardCanvas.js.map +1 -1
  26. package/dist/bigconsole/components/dashboard/DashboardGrid.js +12 -18
  27. package/dist/bigconsole/components/dashboard/DashboardGrid.js.map +1 -1
  28. package/dist/bigconsole/components/dashboard/DashboardToolbar.js +109 -102
  29. package/dist/bigconsole/components/dashboard/DashboardToolbar.js.map +1 -1
  30. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +81 -70
  31. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js.map +1 -1
  32. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js +125 -159
  33. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js.map +1 -1
  34. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +25 -23
  35. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js.map +1 -1
  36. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +3 -3
  37. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js.map +1 -1
  38. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +5 -3
  39. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js.map +1 -1
  40. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +170 -284
  41. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js.map +1 -1
  42. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +147 -151
  43. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js.map +1 -1
  44. package/dist/bigconsole/components/dashboard/LiveBoardBanner.js +45 -53
  45. package/dist/bigconsole/components/dashboard/LiveBoardBanner.js.map +1 -1
  46. package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.js +157 -148
  47. package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.js.map +1 -1
  48. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +17 -8
  49. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js.map +1 -1
  50. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +101 -95
  51. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js.map +1 -1
  52. package/dist/bigconsole/components/dashboard/StoreTemplatePicker.js +20 -18
  53. package/dist/bigconsole/components/dashboard/StoreTemplatePicker.js.map +1 -1
  54. package/dist/bigconsole/components/dashboard/TemplateSetupBanner.js +26 -58
  55. package/dist/bigconsole/components/dashboard/TemplateSetupBanner.js.map +1 -1
  56. package/dist/bigconsole/components/dashboard/WidgetPalette.js +307 -231
  57. package/dist/bigconsole/components/dashboard/WidgetPalette.js.map +1 -1
  58. package/dist/bigconsole/components/datasink/CacheTTLSelector.js +29 -29
  59. package/dist/bigconsole/components/datasink/CacheTTLSelector.js.map +1 -1
  60. package/dist/bigconsole/components/datasink/DataSinkCard.js +78 -79
  61. package/dist/bigconsole/components/datasink/DataSinkCard.js.map +1 -1
  62. package/dist/bigconsole/components/datasink/DataSinkDataViewer.js +33 -34
  63. package/dist/bigconsole/components/datasink/DataSinkDataViewer.js.map +1 -1
  64. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +79 -56
  65. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js.map +1 -1
  66. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +75 -65
  67. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js.map +1 -1
  68. package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js +1 -1
  69. package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js.map +1 -1
  70. package/dist/bigconsole/components/datasink/DataSinkTableViewer.js +20 -19
  71. package/dist/bigconsole/components/datasink/DataSinkTableViewer.js.map +1 -1
  72. package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js +127 -171
  73. package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js.map +1 -1
  74. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +263 -243
  75. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js.map +1 -1
  76. package/dist/bigconsole/components/datasink/LinkedParsersPanel.js +65 -66
  77. package/dist/bigconsole/components/datasink/LinkedParsersPanel.js.map +1 -1
  78. package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.js +121 -127
  79. package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.js.map +1 -1
  80. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +33 -26
  81. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js.map +1 -1
  82. package/dist/bigconsole/components/datasink/SetupStateBadge.js +3 -3
  83. package/dist/bigconsole/components/datasink/SetupStateBadge.js.map +1 -1
  84. package/dist/bigconsole/components/datasink/WorkflowStatusPanel.js +95 -95
  85. package/dist/bigconsole/components/datasink/WorkflowStatusPanel.js.map +1 -1
  86. package/dist/bigconsole/components/parser/DataSinkSelector.js +154 -123
  87. package/dist/bigconsole/components/parser/DataSinkSelector.js.map +1 -1
  88. package/dist/bigconsole/components/parser/ExpressionEditor.js +3 -3
  89. package/dist/bigconsole/components/parser/ExpressionEditor.js.map +1 -1
  90. package/dist/bigconsole/components/parser/ImportParserDialog.js +235 -275
  91. package/dist/bigconsole/components/parser/ImportParserDialog.js.map +1 -1
  92. package/dist/bigconsole/components/parser/ParserCard.js +133 -114
  93. package/dist/bigconsole/components/parser/ParserCard.js.map +1 -1
  94. package/dist/bigconsole/components/parser/ParserSelector.js +191 -174
  95. package/dist/bigconsole/components/parser/ParserSelector.js.map +1 -1
  96. package/dist/bigconsole/components/parser/ParserStatusBadge.js +2 -2
  97. package/dist/bigconsole/components/parser/ParserStatusBadge.js.map +1 -1
  98. package/dist/bigconsole/components/parser/ParserTypeBadge.js +4 -4
  99. package/dist/bigconsole/components/parser/ParserTypeBadge.js.map +1 -1
  100. package/dist/bigconsole/components/pipeline/PipelineCard.js +134 -89
  101. package/dist/bigconsole/components/pipeline/PipelineCard.js.map +1 -1
  102. package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.js +77 -64
  103. package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.js.map +1 -1
  104. package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js +7 -10
  105. package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js.map +1 -1
  106. package/dist/bigconsole/components/preview/AiPreviewContent.js +31 -32
  107. package/dist/bigconsole/components/preview/AiPreviewContent.js.map +1 -1
  108. package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js +152 -106
  109. package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js.map +1 -1
  110. package/dist/bigconsole/components/preview/AiPreviewPanel.js +193 -152
  111. package/dist/bigconsole/components/preview/AiPreviewPanel.js.map +1 -1
  112. package/dist/bigconsole/components/preview/previewShared.js +41 -23
  113. package/dist/bigconsole/components/preview/previewShared.js.map +1 -1
  114. package/dist/bigconsole/components/widgets/ActionConfigDialog.js +342 -308
  115. package/dist/bigconsole/components/widgets/ActionConfigDialog.js.map +1 -1
  116. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +262 -238
  117. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js.map +1 -1
  118. package/dist/bigconsole/components/widgets/PropertiesPanel.js +783 -867
  119. package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -1
  120. package/dist/bigconsole/components/widgets/WidgetErrorBoundary.js +7 -5
  121. package/dist/bigconsole/components/widgets/WidgetErrorBoundary.js.map +1 -1
  122. package/dist/bigconsole/components/widgets/WidgetHeader.js +7 -8
  123. package/dist/bigconsole/components/widgets/WidgetHeader.js.map +1 -1
  124. package/dist/bigconsole/components/widgets/WidgetRegistry.js +4 -4
  125. package/dist/bigconsole/components/widgets/WidgetRegistry.js.map +1 -1
  126. package/dist/bigconsole/components/widgets/WidgetWrapper.js +8 -7
  127. package/dist/bigconsole/components/widgets/WidgetWrapper.js.map +1 -1
  128. package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.js +1 -1
  129. package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.js.map +1 -1
  130. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +2 -2
  131. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js.map +1 -1
  132. package/dist/bigconsole/components/widgets/chart/ChartConfig.js +11 -5
  133. package/dist/bigconsole/components/widgets/chart/ChartConfig.js.map +1 -1
  134. package/dist/bigconsole/components/widgets/comments/WidgetComments.js +19 -15
  135. package/dist/bigconsole/components/widgets/comments/WidgetComments.js.map +1 -1
  136. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +154 -102
  137. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js.map +1 -1
  138. package/dist/bigconsole/components/widgets/gauge/CircularGauge.js +36 -32
  139. package/dist/bigconsole/components/widgets/gauge/CircularGauge.js.map +1 -1
  140. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +85 -60
  141. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js.map +1 -1
  142. package/dist/bigconsole/components/widgets/gauge/GaugeWidget.js +64 -35
  143. package/dist/bigconsole/components/widgets/gauge/GaugeWidget.js.map +1 -1
  144. package/dist/bigconsole/components/widgets/gauge/LinearGauge.js +46 -45
  145. package/dist/bigconsole/components/widgets/gauge/LinearGauge.js.map +1 -1
  146. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +35 -24
  147. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js.map +1 -1
  148. package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.js +2 -2
  149. package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.js.map +1 -1
  150. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +4 -4
  151. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js.map +1 -1
  152. package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.js +153 -90
  153. package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.js.map +1 -1
  154. package/dist/bigconsole/components/widgets/list/ListConfig.js +8 -2
  155. package/dist/bigconsole/components/widgets/list/ListConfig.js.map +1 -1
  156. package/dist/bigconsole/components/widgets/list/ListItem.js +1 -1
  157. package/dist/bigconsole/components/widgets/list/ListItem.js.map +1 -1
  158. package/dist/bigconsole/components/widgets/map-widget/MapWidget.js +1 -1
  159. package/dist/bigconsole/components/widgets/map-widget/MapWidget.js.map +1 -1
  160. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +14 -4
  161. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js.map +1 -1
  162. package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.js +112 -89
  163. package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.js.map +1 -1
  164. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +21 -13
  165. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js.map +1 -1
  166. package/dist/bigconsole/components/widgets/metric-card/index.js +4 -4
  167. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +3 -3
  168. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js.map +1 -1
  169. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +34 -25
  170. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js.map +1 -1
  171. package/dist/bigconsole/components/widgets/progress/ProgressWidget.js +129 -114
  172. package/dist/bigconsole/components/widgets/progress/ProgressWidget.js.map +1 -1
  173. package/dist/bigconsole/components/widgets/retention/RetentionWidget.js +3 -3
  174. package/dist/bigconsole/components/widgets/retention/RetentionWidget.js.map +1 -1
  175. package/dist/bigconsole/components/widgets/states/EmptyState.js +6 -4
  176. package/dist/bigconsole/components/widgets/states/EmptyState.js.map +1 -1
  177. package/dist/bigconsole/components/widgets/states/ErrorState.js +7 -5
  178. package/dist/bigconsole/components/widgets/states/ErrorState.js.map +1 -1
  179. package/dist/bigconsole/components/widgets/states/LoadingState.js +5 -4
  180. package/dist/bigconsole/components/widgets/states/LoadingState.js.map +1 -1
  181. package/dist/bigconsole/components/widgets/table/TableConfig.js +10 -4
  182. package/dist/bigconsole/components/widgets/table/TableConfig.js.map +1 -1
  183. package/dist/bigconsole/components/widgets/table/TableHeader.js +1 -1
  184. package/dist/bigconsole/components/widgets/table/TableHeader.js.map +1 -1
  185. package/dist/bigconsole/components/widgets/table/TableWidget.js +1 -1
  186. package/dist/bigconsole/components/widgets/table/TableWidget.js.map +1 -1
  187. package/dist/bigconsole/components/widgets/text-widget/TextWidget.js +1 -1
  188. package/dist/bigconsole/components/widgets/text-widget/TextWidget.js.map +1 -1
  189. package/dist/bigconsole/components/widgets/timeline/TimelineWidget.js +3 -3
  190. package/dist/bigconsole/components/widgets/timeline/TimelineWidget.js.map +1 -1
  191. package/dist/bigconsole/components/widgets/utils/conditionalFormat.js +2 -2
  192. package/dist/bigconsole/components/widgets/utils/conditionalFormat.js.map +1 -1
  193. package/dist/bigconsole/components/widgets/utils/targetProgress.js +13 -0
  194. package/dist/bigconsole/components/widgets/utils/targetProgress.js.map +1 -0
  195. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +112 -85
  196. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js.map +1 -1
  197. package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js +28 -20
  198. package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js.map +1 -1
  199. package/dist/bigconsole/components/workflow/WorkflowCard.js +92 -77
  200. package/dist/bigconsole/components/workflow/WorkflowCard.js.map +1 -1
  201. package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.js +70 -51
  202. package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.js.map +1 -1
  203. package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js +16 -17
  204. package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js.map +1 -1
  205. package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +6 -4
  206. package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js.map +1 -1
  207. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +360 -338
  208. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js.map +1 -1
  209. package/dist/bigconsole/hooks/useModalFocusTrap.js +53 -0
  210. package/dist/bigconsole/hooks/useModalFocusTrap.js.map +1 -0
  211. package/dist/bigconsole/pages/DashboardBuilderPage.js +209 -203
  212. package/dist/bigconsole/pages/DashboardBuilderPage.js.map +1 -1
  213. package/dist/bigconsole/pages/DashboardViewPage.js +126 -120
  214. package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -1
  215. package/dist/bigconsole/pages/DashboardsPage.js +838 -800
  216. package/dist/bigconsole/pages/DashboardsPage.js.map +1 -1
  217. package/dist/bigconsole/pages/DataParsersPage.js +263 -315
  218. package/dist/bigconsole/pages/DataParsersPage.js.map +1 -1
  219. package/dist/bigconsole/pages/DataSinkBuilderPage.js +301 -341
  220. package/dist/bigconsole/pages/DataSinkBuilderPage.js.map +1 -1
  221. package/dist/bigconsole/pages/DataSinkViewPage.js +346 -339
  222. package/dist/bigconsole/pages/DataSinkViewPage.js.map +1 -1
  223. package/dist/bigconsole/pages/DataSinksPage.js +356 -458
  224. package/dist/bigconsole/pages/DataSinksPage.js.map +1 -1
  225. package/dist/bigconsole/pages/DataSourcesPage.js +7 -2
  226. package/dist/bigconsole/pages/DataSourcesPage.js.map +1 -1
  227. package/dist/bigconsole/pages/HomePage.js +186 -193
  228. package/dist/bigconsole/pages/HomePage.js.map +1 -1
  229. package/dist/bigconsole/pages/InsightsPage.js +887 -740
  230. package/dist/bigconsole/pages/InsightsPage.js.map +1 -1
  231. package/dist/bigconsole/pages/ParserBuilderPage.js +679 -637
  232. package/dist/bigconsole/pages/ParserBuilderPage.js.map +1 -1
  233. package/dist/bigconsole/pages/ParserViewPage.js +368 -342
  234. package/dist/bigconsole/pages/ParserViewPage.js.map +1 -1
  235. package/dist/bigconsole/pages/PipelineBuilderPage.js +537 -444
  236. package/dist/bigconsole/pages/PipelineBuilderPage.js.map +1 -1
  237. package/dist/bigconsole/pages/PipelineViewPage.js +412 -377
  238. package/dist/bigconsole/pages/PipelineViewPage.js.map +1 -1
  239. package/dist/bigconsole/pages/PipelinesPage.js +248 -298
  240. package/dist/bigconsole/pages/PipelinesPage.js.map +1 -1
  241. package/dist/bigconsole/pages/WidgetDemoPage.js +251 -153
  242. package/dist/bigconsole/pages/WidgetDemoPage.js.map +1 -1
  243. package/dist/bigconsole/pages/WorkflowViewPage.js +381 -371
  244. package/dist/bigconsole/pages/WorkflowViewPage.js.map +1 -1
  245. package/dist/bigconsole/pages/WorkflowsPage.js +171 -286
  246. package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -1
  247. package/package.json +1 -1
@@ -1,181 +1,126 @@
1
1
  import { useDataSinkStore as e } from "../store/dataSinkStore.js";
2
2
  import { useAppNavigate as t } from "../contexts/NavigationContext.js";
3
3
  import "../contexts/index.js";
4
- import n from "../hooks/useDataSinkOperations.js";
5
- import ee from "../hooks/useExportDataSink.js";
6
- import { BIGCONSOLE_PERMISSIONS as r } from "../../constants/permissions.js";
7
- import te from "../components/datasink/DataSinkStatusBadge.js";
8
- import { isNative as i, nativeNotify as a } from "../../utils/nativeBridge.js";
9
- import ne from "../components/datasink/DataSinkCard.js";
10
- import re from "../components/datasink/DataSinkDeleteDialog.js";
11
- import ie from "../components/datasink/DataSinkRefreshDialog.js";
12
- import ae from "../components/datasink/ImportDataSinkDialog.js";
13
- import oe from "../components/datasink/SetupStateBadge.js";
14
- import { memo as o, useCallback as s, useMemo as c, useState as l } from "react";
15
- import { AccessDenied as se, PermissionButton as ce } from "@burdenoff/fe-libs/shared/components";
16
- import { usePermissions as le } from "@burdenoff/fe-libs/shared/providers/shell";
17
- import { AlertCircle as ue, Container as de, Download as fe, Eye as pe, LayoutGrid as me, Pencil as he, Plus as u, RefreshCw as ge, Search as _e, Table2 as ve, Trash2 as ye, Upload as be, X as xe } from "lucide-react";
18
- import { useI18n as Se } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
19
- import { AuroraBackground as Ce, Badge as we, Button as d, CTAOverflowMenu as Te, Card as Ee, CardContent as De, GlassCard as f, GradientText as Oe, IllustratedEmptyState as p, Input as ke, PagePurpose as Ae, Select as m, SelectContent as h, SelectItem as g, SelectTrigger as _, SelectValue as v, Spinner as je } from "@burdenoff/fe-libs/ui";
20
- import { getProfileScopedKey as y } from "@burdenoff/fe-libs/shared/utils";
21
- import { Fragment as Me, jsx as b, jsxs as x } from "react/jsx-runtime";
4
+ import { SECTION_FOCUS_RING as n } from "../components/common/sectionStyles.js";
5
+ import { Section as r, SectionStack as ee } from "../components/common/Section.js";
6
+ import "../components/common/index.js";
7
+ import te from "../hooks/useDataSinkOperations.js";
8
+ import ne from "../hooks/useExportDataSink.js";
9
+ import { BIGCONSOLE_PERMISSIONS as i } from "../../constants/permissions.js";
10
+ import re from "../components/datasink/DataSinkStatusBadge.js";
11
+ import { isNative as a, nativeNotify as o } from "../../utils/nativeBridge.js";
12
+ import ie from "../components/datasink/DataSinkCard.js";
13
+ import ae from "../components/datasink/DataSinkDeleteDialog.js";
14
+ import oe from "../components/datasink/DataSinkRefreshDialog.js";
15
+ import se from "../components/datasink/ImportDataSinkDialog.js";
16
+ import ce from "../components/datasink/SetupStateBadge.js";
17
+ import { memo as s, useCallback as c, useMemo as l, useState as u } from "react";
18
+ import { AccessDenied as le, PermissionButton as ue } from "@burdenoff/fe-libs/shared/components";
19
+ import { usePermissions as de } from "@burdenoff/fe-libs/shared/providers/shell";
20
+ import { AlertCircle as fe, Container as pe, Download as me, Eye as he, LayoutGrid as ge, Pencil as _e, Plus as d, RefreshCw as ve, Search as ye, Table2 as be, Trash2 as xe, Upload as Se, X as Ce } from "lucide-react";
21
+ import { useI18n as we } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
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 { getProfileScopedKey as v } from "@burdenoff/fe-libs/shared/utils";
24
+ import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
22
25
  //#region src/bigconsole/pages/DataSinksPage.tsx
23
- var S = "bigconsole-datasinks-view-mode", Ne = (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", C = o(function() {
24
- let o = t(), { t: C } = Se(), w = s((e, t) => {
25
- let n = C(e);
26
+ var S = "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}`, w = "focus-visible:ring-inset focus-visible:ring-offset-0", Ne = (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", T = s(function() {
27
+ let s = t(), { t: T } = we(), E = c((e, t) => {
28
+ let n = T(e);
26
29
  return n === e ? t : n;
27
- }, [C]), { hasPermission: T, isLoading: Pe } = le(), Fe = T(r.DATASINK_READ), E = T(r.DATASINK_CREATE), D = T(r.DATASINK_UPDATE), O = T(r.DATASINK_DELETE), k = T(r.DATASINK_EXECUTE), [A, j] = l("all"), [Ie, M] = l(!1), [N, Le] = l(() => localStorage.getItem(y(S)) || "grid"), P = s((e) => {
28
- Le(e), localStorage.setItem(y(S), e);
29
- }, []), 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), Re = e((e) => e.deleteDialogOpen), ze = 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: Be, refreshDataSink: Ve, refetch: Y } = n(), { downloadDataSink: He } = ee(), Ue = c(() => J.map((e) => ({
30
+ }, [T]), { hasPermission: D, isLoading: Pe } = de(), Fe = D(i.DATASINK_READ), O = D(i.DATASINK_CREATE), k = D(i.DATASINK_UPDATE), A = D(i.DATASINK_DELETE), j = D(i.DATASINK_EXECUTE), [M, N] = u("all"), [Ie, P] = u(!1), [F, Le] = u(() => localStorage.getItem(v(S)) || "grid"), I = c((e) => {
31
+ Le(e), localStorage.setItem(v(S), e);
32
+ }, []), L = e((e) => e.statusFilter), R = e((e) => e.activeFilter), z = e((e) => e.searchQuery), B = e((e) => e.setStatusFilter), V = e((e) => e.setActiveFilter), H = e((e) => e.setSearchQuery), Re = e((e) => e.deleteDialogOpen), ze = e((e) => e.refreshDialogOpen), U = e((e) => e.currentDataSink), W = e((e) => e.openDeleteDialog), G = e((e) => e.closeDeleteDialog), K = e((e) => e.openRefreshDialog), q = e((e) => e.closeRefreshDialog), { loading: J, error: Be, dataSinks: Y, deleteDataSink: Ve, refreshDataSink: He, refetch: X } = te(), { downloadDataSink: Ue } = ne(), We = l(() => Y.map((e) => ({
30
33
  dataSink: e,
31
34
  setupState: Ne(e)
32
- })), [J]), X = c(() => {
33
- let e = [...Ue];
34
- 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()) {
35
- let t = L.toLowerCase();
35
+ })), [Y]), Z = l(() => {
36
+ let e = [...We];
37
+ if (M === "in_progress" ? e = e.filter((e) => e.setupState !== "completed") : M === "completed" && (e = e.filter((e) => e.setupState === "completed")), L !== null && (e = e.filter((e) => e.dataSink.status === L)), R !== null && (e = e.filter((e) => e.dataSink.isActive === R)), z.trim()) {
38
+ let t = z.toLowerCase();
36
39
  e = e.filter((e) => e.dataSink.name?.toLowerCase().includes(t) || e.dataSink.key.toLowerCase().includes(t) || e.dataSink.description?.toLowerCase().includes(t));
37
40
  }
38
41
  return e.sort((e, t) => new Date(t.dataSink.updatedAt).getTime() - new Date(e.dataSink.updatedAt).getTime());
39
42
  }, [
40
- Ue,
41
- A,
42
- F,
43
- I,
44
- L
45
- ]), We = s(() => {
46
- o("/datasinks/new");
47
- }, [o]), Z = s((e) => {
48
- o(`/datasinks/${e}`);
49
- }, [o]), Ge = s((e) => {
50
- o(`/datasinks/${e}/edit`);
51
- }, [o]), Q = s((e) => {
52
- let t = J.find((t) => t.id === e);
53
- t && W(t);
54
- }, [J, W]), Ke = s(async (e) => {
55
- V && (await Ve({
56
- id: V.id,
43
+ We,
44
+ M,
45
+ L,
46
+ R,
47
+ z
48
+ ]), Ge = c(() => {
49
+ s("/datasinks/new");
50
+ }, [s]), Q = c((e) => {
51
+ s(`/datasinks/${e}`);
52
+ }, [s]), Ke = c((e) => {
53
+ s(`/datasinks/${e}/edit`);
54
+ }, [s]), qe = c((e) => {
55
+ let t = Y.find((t) => t.id === e);
56
+ t && K(t);
57
+ }, [Y, K]), Je = c(async (e) => {
58
+ U && (await He({
59
+ id: U.id,
57
60
  forceRefresh: e
58
- }), G());
61
+ }), q());
59
62
  }, [
60
- V,
61
- Ve,
62
- G
63
- ]), qe = s((e) => {
64
- let t = J.find((t) => t.id === e);
65
- t && H(t);
66
- }, [J, H]), Je = s(async () => {
67
- if (V) {
63
+ U,
64
+ He,
65
+ q
66
+ ]), Ye = c((e) => {
67
+ let t = Y.find((t) => t.id === e);
68
+ t && W(t);
69
+ }, [Y, W]), Xe = c(async () => {
70
+ if (U) {
68
71
  try {
69
- await Be(V.id), i() && a("success");
72
+ await Ve(U.id), a() && o("success");
70
73
  } catch (e) {
71
- throw i() && a("error"), e;
74
+ throw a() && o("error"), e;
72
75
  }
73
- U();
76
+ G();
74
77
  }
75
78
  }, [
76
- V,
77
- Be,
78
- U
79
- ]), Ye = s(async (e) => {
80
- let t = J.find((t) => t.id === e);
81
- t && await He(e, t.name || t.key);
82
- }, [J, He]), Xe = s(() => {
83
- M(!0);
84
- }, []), Ze = s((e, t, n) => {
85
- Y();
86
- }, [Y]), Qe = c(() => A !== "all" || F !== null || I !== null || L.trim() !== "", [
87
- A,
88
- F,
89
- I,
90
- L
91
- ]), $ = s(() => {
92
- j("all"), R(null), z(null), B("");
93
- }, [
79
+ U,
80
+ Ve,
81
+ G
82
+ ]), Ze = c(async (e) => {
83
+ let t = Y.find((t) => t.id === e);
84
+ t && await Ue(e, t.name || t.key);
85
+ }, [Y, Ue]), Qe = c(() => {
86
+ P(!0);
87
+ }, []), $e = c((e, t, n) => {
88
+ X();
89
+ }, [X]), et = l(() => M !== "all" || L !== null || R !== null || z.trim() !== "", [
90
+ M,
91
+ L,
94
92
  R,
95
- z,
96
- B
97
- ]), $e = [
93
+ z
94
+ ]), $ = c(() => {
95
+ N("all"), B(null), V(null), H("");
96
+ }, [
97
+ B,
98
+ V,
99
+ H
100
+ ]), tt = [
98
101
  {
99
102
  value: "all",
100
- label: w("bigconsole.dataSinks.filters.setupState.all", "All")
103
+ label: E("bigconsole.dataSinks.filters.setupState.all", "All")
101
104
  },
102
105
  {
103
106
  value: "in_progress",
104
- label: w("bigconsole.dataSinks.filters.setupState.inProgress", "In Progress")
107
+ label: E("bigconsole.dataSinks.filters.setupState.inProgress", "In Progress")
105
108
  },
106
109
  {
107
110
  value: "completed",
108
- label: w("bigconsole.dataSinks.filters.setupState.completed", "Completed")
111
+ label: E("bigconsole.dataSinks.filters.setupState.completed", "Completed")
109
112
  }
110
113
  ];
111
- return !Pe && !Fe ? /* @__PURE__ */ b(se, {
112
- title: w("bigconsole.dataSinks.accessDenied.title", "Access Denied"),
113
- description: w("bigconsole.dataSinks.accessDenied.description", "You don't have permission to view data sinks.")
114
- }) : q ? /* @__PURE__ */ b("div", {
115
- style: { padding: "var(--space-pagePadding)" },
116
- children: /* @__PURE__ */ b(Ee, {
117
- style: {
118
- borderColor: "var(--color-status-error-border)",
119
- backgroundColor: "var(--color-status-error-bgSubtle)"
120
- },
121
- children: /* @__PURE__ */ b(De, {
122
- style: { padding: "var(--space-pagePadding)" },
123
- children: /* @__PURE__ */ x("div", {
124
- style: {
125
- display: "flex",
126
- flexDirection: "column",
127
- alignItems: "center",
128
- textAlign: "center"
129
- },
130
- children: [
131
- /* @__PURE__ */ b("div", {
132
- style: {
133
- padding: "var(--space-controlGap)",
134
- borderRadius: "50%",
135
- backgroundColor: "var(--color-status-error-bgSubtle)",
136
- marginBottom: "var(--space-formGap)"
137
- },
138
- children: /* @__PURE__ */ b(ue, { style: {
139
- height: "var(--size-icon-xl)",
140
- width: "var(--size-icon-xl)",
141
- color: "var(--color-status-error-text)"
142
- } })
143
- }),
144
- /* @__PURE__ */ b("h3", {
145
- style: {
146
- fontSize: "var(--font-size-body-lg)",
147
- fontWeight: "var(--font-weight-medium)",
148
- color: "var(--color-status-error-text)",
149
- marginBottom: "var(--space-controlGap)"
150
- },
151
- children: w("bigconsole.dataSinks.error.title", "Failed to load Data Sinks")
152
- }),
153
- /* @__PURE__ */ b("p", {
154
- style: {
155
- fontSize: "var(--font-size-body-sm)",
156
- color: "var(--color-text-secondary)",
157
- marginBottom: "var(--space-formGap)"
158
- },
159
- children: q.message
160
- }),
161
- /* @__PURE__ */ b(d, {
162
- size: "sm",
163
- onClick: () => Y(),
164
- children: w("bigconsole.dataSinks.error.retry", "Try Again")
165
- })
166
- ]
167
- })
168
- })
169
- })
114
+ return !Pe && !Fe ? /* @__PURE__ */ b(le, {
115
+ title: E("bigconsole.dataSinks.accessDenied.title", "Access Denied"),
116
+ description: E("bigconsole.dataSinks.accessDenied.description", "You don't have permission to view data sinks.")
170
117
  }) : /* @__PURE__ */ x("div", {
171
- style: {
172
- minHeight: "100vh",
173
- backgroundColor: "var(--color-bg-canvas)"
174
- },
118
+ className: "min-w-0",
119
+ style: { backgroundColor: "var(--color-bg-canvas)" },
175
120
  children: [
176
- /* @__PURE__ */ x("div", {
177
- className: "relative overflow-hidden border-b border-border-seam bg-gloss-card",
178
- children: [/* @__PURE__ */ b(Ce, { intensity: "subtle" }), /* @__PURE__ */ b("div", {
121
+ /* @__PURE__ */ x("header", {
122
+ className: "relative overflow-hidden border-b border-[var(--color-border-seam)] bg-[image:var(--gradient-gloss-card)]",
123
+ children: [/* @__PURE__ */ b(Te, { intensity: "subtle" }), /* @__PURE__ */ b("div", {
179
124
  style: { padding: "var(--space-pagePadding)" },
180
125
  children: /* @__PURE__ */ x("div", {
181
126
  style: {
@@ -203,7 +148,7 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
203
148
  borderRadius: "var(--radius-card)",
204
149
  backgroundColor: "var(--color-action-primary-bg)"
205
150
  },
206
- children: /* @__PURE__ */ b(de, { style: {
151
+ children: /* @__PURE__ */ b(pe, { style: {
207
152
  height: "var(--size-icon-lg)",
208
153
  width: "var(--size-icon-lg)",
209
154
  color: "var(--color-action-primary-text)"
@@ -211,36 +156,27 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
211
156
  }), /* @__PURE__ */ x("div", {
212
157
  style: { minWidth: 0 },
213
158
  children: [/* @__PURE__ */ b("h1", {
214
- style: {
215
- fontSize: "var(--font-size-heading-h4)",
216
- fontWeight: "var(--font-weight-bold)",
217
- margin: 0,
218
- color: "var(--color-text-primary)"
219
- },
220
- children: /* @__PURE__ */ b(Oe, { children: w("bigconsole.dataSinks.title", "Data Sinks") })
159
+ className: "m-0 text-2xl font-bold text-text-primary",
160
+ children: /* @__PURE__ */ b(Oe, { children: E("bigconsole.dataSinks.title", "Data Sinks") })
221
161
  }), /* @__PURE__ */ b("p", {
222
- style: {
223
- fontSize: "var(--font-size-body-sm)",
224
- color: "var(--color-text-secondary)",
225
- margin: 0
226
- },
227
- children: w("bigconsole.dataSinks.subtitle", "Manage pre-processed data from FluidGrids workflows")
162
+ className: "m-0 text-sm text-text-secondary",
163
+ children: E("bigconsole.dataSinks.subtitle", "Manage pre-processed data from FluidGrids workflows")
228
164
  })]
229
165
  })]
230
- }), /* @__PURE__ */ b(Te, {
231
- primary: E ? {
232
- label: w("bigconsole.dataSinks.actions.create", "Create Data Sink"),
233
- onSelect: We,
234
- icon: /* @__PURE__ */ b(u, { style: {
166
+ }), /* @__PURE__ */ b(De, {
167
+ primary: O ? {
168
+ label: E("bigconsole.dataSinks.actions.create", "Create Data Sink"),
169
+ onSelect: Ge,
170
+ icon: /* @__PURE__ */ b(d, { style: {
235
171
  marginRight: "var(--space-iconGap)",
236
172
  height: "var(--size-icon-sm)",
237
173
  width: "var(--size-icon-sm)"
238
174
  } })
239
175
  } : void 0,
240
- actions: E ? [{
241
- label: w("bigconsole.dataSinks.actions.import", "Import"),
242
- onSelect: Xe,
243
- icon: /* @__PURE__ */ b(be, { style: {
176
+ actions: O ? [{
177
+ label: E("bigconsole.dataSinks.actions.import", "Import"),
178
+ onSelect: Qe,
179
+ icon: /* @__PURE__ */ b(Se, { style: {
244
180
  height: "var(--size-icon-sm)",
245
181
  width: "var(--size-icon-sm)"
246
182
  } })
@@ -251,48 +187,64 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
251
187
  }),
252
188
  /* @__PURE__ */ x("div", {
253
189
  style: { padding: "var(--space-pagePadding)" },
254
- children: [
255
- /* @__PURE__ */ b(Ae, {
256
- className: "mb-[var(--space-sectionGap)]",
257
- 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."
258
- }),
259
- /* @__PURE__ */ b("div", {
260
- style: { marginBottom: "var(--space-formGap)" },
261
- children: /* @__PURE__ */ b("div", {
190
+ children: [/* @__PURE__ */ b(je, {
191
+ className: "mb-[var(--space-sectionGap)]",
192
+ 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."
193
+ }), /* @__PURE__ */ b(ee, { children: Be ? /* @__PURE__ */ b(r, {
194
+ tone: "danger",
195
+ headingLevel: 2,
196
+ title: E("bigconsole.dataSinks.error.title", "Failed to load Data Sinks"),
197
+ description: Be.message,
198
+ icon: /* @__PURE__ */ b(fe, { className: "h-icon-sm w-icon-sm" }),
199
+ actions: /* @__PURE__ */ b(f, {
200
+ size: "sm",
201
+ onClick: () => X(),
202
+ children: E("bigconsole.dataSinks.error.retry", "Try Again")
203
+ })
204
+ }) : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(r, {
205
+ headingLevel: 2,
206
+ padding: "compact",
207
+ title: E("bigconsole.dataSinks.filters.heading", "Filters"),
208
+ description: E("bigconsole.dataSinks.filters.description", "Narrow the list by setup progress, status, or name."),
209
+ bodyClassName: "space-y-form-gap",
210
+ children: /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("div", {
211
+ role: "group",
212
+ "aria-label": E("bigconsole.dataSinks.filters.setupState.label", "Setup state"),
213
+ style: {
214
+ display: "flex",
215
+ alignItems: "center",
216
+ flexWrap: "wrap",
217
+ gap: "2px",
218
+ padding: "4px",
219
+ backgroundColor: "var(--color-bg-sunken)",
220
+ borderRadius: "var(--radius-card)",
221
+ maxWidth: "100%",
222
+ width: "fit-content"
223
+ },
224
+ children: tt.map((e) => /* @__PURE__ */ b("button", {
225
+ type: "button",
226
+ "aria-pressed": M === e.value,
227
+ onClick: () => N(e.value),
228
+ className: n,
262
229
  style: {
263
- display: "flex",
264
- alignItems: "center",
265
- gap: "2px",
266
- padding: "4px",
267
- backgroundColor: "var(--color-bg-sunken)",
268
- borderRadius: "var(--radius-card)",
269
- width: "fit-content"
230
+ minHeight: "var(--size-controlHeight-md)",
231
+ padding: "var(--space-controlGap) var(--space-formGap)",
232
+ fontSize: "var(--font-size-body-sm)",
233
+ fontWeight: "var(--font-weight-medium)",
234
+ borderRadius: "var(--radius-button)",
235
+ border: "none",
236
+ cursor: "pointer",
237
+ backgroundColor: M === e.value ? "var(--color-bg-surface)" : "transparent",
238
+ color: M === e.value ? "var(--color-text-primary)" : "var(--color-text-secondary)",
239
+ boxShadow: M === e.value ? "var(--shadow-elevation-1)" : "none"
270
240
  },
271
- children: $e.map((e) => /* @__PURE__ */ b("button", {
272
- type: "button",
273
- onClick: () => j(e.value),
274
- style: {
275
- padding: "var(--space-controlGap) var(--space-formGap)",
276
- fontSize: "var(--font-size-body-sm)",
277
- fontWeight: "var(--font-weight-medium)",
278
- borderRadius: "var(--radius-button)",
279
- border: "none",
280
- cursor: "pointer",
281
- transition: "all 0.2s ease",
282
- backgroundColor: A === e.value ? "var(--color-bg-surface)" : "transparent",
283
- color: A === e.value ? "var(--color-text-primary)" : "var(--color-text-secondary)",
284
- boxShadow: A === e.value ? "0 1px 2px rgba(0,0,0,0.05)" : "none"
285
- },
286
- children: e.label
287
- }, e.value))
288
- })
289
- }),
290
- /* @__PURE__ */ x("div", {
241
+ children: e.label
242
+ }, e.value))
243
+ }), /* @__PURE__ */ x("div", {
291
244
  style: {
292
245
  display: "flex",
293
246
  alignItems: "center",
294
247
  gap: "var(--space-controlGap)",
295
- marginBottom: "var(--space-sectionGap)",
296
248
  flexWrap: "wrap"
297
249
  },
298
250
  children: [
@@ -303,7 +255,7 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
303
255
  minWidth: "min(100%, 240px)",
304
256
  flex: "1 1 240px"
305
257
  },
306
- children: [/* @__PURE__ */ b(_e, { style: {
258
+ children: [/* @__PURE__ */ b(ye, { style: {
307
259
  position: "absolute",
308
260
  left: "var(--space-controlGap)",
309
261
  top: "50%",
@@ -311,212 +263,197 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
311
263
  height: "var(--size-icon-sm)",
312
264
  width: "var(--size-icon-sm)",
313
265
  color: "var(--color-text-muted)"
314
- } }), /* @__PURE__ */ b(ke, {
266
+ } }), /* @__PURE__ */ b(Ae, {
315
267
  type: "text",
316
- placeholder: w("bigconsole.dataSinks.search.placeholder", "Search data sinks..."),
317
- value: L,
318
- onChange: (e) => B(e.target.value),
268
+ placeholder: E("bigconsole.dataSinks.search.placeholder", "Search data sinks..."),
269
+ value: z,
270
+ onChange: (e) => H(e.target.value),
319
271
  style: {
320
272
  paddingLeft: "var(--size-controlHeight-md)",
321
273
  height: "var(--size-controlHeight-md)"
322
274
  }
323
275
  })]
324
276
  }),
325
- /* @__PURE__ */ x(m, {
326
- value: F || "all",
327
- onValueChange: (e) => R(e === "all" ? null : e),
328
- children: [/* @__PURE__ */ b(_, {
277
+ /* @__PURE__ */ x(p, {
278
+ value: L || "all",
279
+ onValueChange: (e) => B(e === "all" ? null : e),
280
+ children: [/* @__PURE__ */ b(g, {
329
281
  style: { width: "min(100%, 150px)" },
330
- children: /* @__PURE__ */ b(v, { placeholder: w("bigconsole.dataSinks.filters.status.placeholder", "All Statuses") })
331
- }), /* @__PURE__ */ x(h, { children: [
332
- /* @__PURE__ */ b(g, {
282
+ children: /* @__PURE__ */ b(_, { placeholder: E("bigconsole.dataSinks.filters.status.placeholder", "All Statuses") })
283
+ }), /* @__PURE__ */ x(m, { children: [
284
+ /* @__PURE__ */ b(h, {
333
285
  value: "all",
334
- children: w("bigconsole.dataSinks.filters.status.all", "All Statuses")
286
+ children: E("bigconsole.dataSinks.filters.status.all", "All Statuses")
335
287
  }),
336
- /* @__PURE__ */ b(g, {
288
+ /* @__PURE__ */ b(h, {
337
289
  value: "ready",
338
- children: w("bigconsole.dataSinks.filters.status.ready", "Ready")
290
+ children: E("bigconsole.dataSinks.filters.status.ready", "Ready")
339
291
  }),
340
- /* @__PURE__ */ b(g, {
292
+ /* @__PURE__ */ b(h, {
341
293
  value: "error",
342
- children: w("bigconsole.dataSinks.filters.status.error", "Error")
294
+ children: E("bigconsole.dataSinks.filters.status.error", "Error")
343
295
  }),
344
- /* @__PURE__ */ b(g, {
296
+ /* @__PURE__ */ b(h, {
345
297
  value: "stale",
346
- children: w("bigconsole.dataSinks.filters.status.stale", "Stale")
298
+ children: E("bigconsole.dataSinks.filters.status.stale", "Stale")
347
299
  }),
348
- /* @__PURE__ */ b(g, {
300
+ /* @__PURE__ */ b(h, {
349
301
  value: "refreshing",
350
- children: w("bigconsole.dataSinks.filters.status.refreshing", "Refreshing")
302
+ children: E("bigconsole.dataSinks.filters.status.refreshing", "Refreshing")
351
303
  })
352
304
  ] })]
353
305
  }),
354
- /* @__PURE__ */ x(m, {
355
- value: I === null ? "all" : I ? "true" : "false",
356
- onValueChange: (e) => z(e === "all" ? null : e === "true"),
357
- children: [/* @__PURE__ */ b(_, {
306
+ /* @__PURE__ */ x(p, {
307
+ value: R === null ? "all" : R ? "true" : "false",
308
+ onValueChange: (e) => V(e === "all" ? null : e === "true"),
309
+ children: [/* @__PURE__ */ b(g, {
358
310
  style: { width: "min(100%, 130px)" },
359
- children: /* @__PURE__ */ b(v, { placeholder: w("bigconsole.dataSinks.filters.active.placeholder", "All") })
360
- }), /* @__PURE__ */ x(h, { children: [
361
- /* @__PURE__ */ b(g, {
311
+ children: /* @__PURE__ */ b(_, { placeholder: E("bigconsole.dataSinks.filters.active.placeholder", "All") })
312
+ }), /* @__PURE__ */ x(m, { children: [
313
+ /* @__PURE__ */ b(h, {
362
314
  value: "all",
363
- children: w("bigconsole.dataSinks.filters.active.all", "All")
315
+ children: E("bigconsole.dataSinks.filters.active.all", "All")
364
316
  }),
365
- /* @__PURE__ */ b(g, {
317
+ /* @__PURE__ */ b(h, {
366
318
  value: "true",
367
- children: w("bigconsole.dataSinks.filters.active.active", "Active")
319
+ children: E("bigconsole.dataSinks.filters.active.active", "Active")
368
320
  }),
369
- /* @__PURE__ */ b(g, {
321
+ /* @__PURE__ */ b(h, {
370
322
  value: "false",
371
- children: w("bigconsole.dataSinks.filters.active.inactive", "Inactive")
323
+ children: E("bigconsole.dataSinks.filters.active.inactive", "Inactive")
372
324
  })
373
325
  ] })]
374
326
  }),
375
- Qe && /* @__PURE__ */ x(d, {
327
+ et && /* @__PURE__ */ x(f, {
376
328
  variant: "ghost",
377
329
  size: "sm",
378
330
  onClick: $,
379
- children: [/* @__PURE__ */ b(xe, { style: {
331
+ children: [/* @__PURE__ */ b(Ce, { style: {
380
332
  marginRight: "var(--space-iconGap)",
381
333
  height: "var(--size-icon-sm)",
382
334
  width: "var(--size-icon-sm)"
383
- } }), w("bigconsole.dataSinks.filters.clear", "Clear Filters")]
384
- }),
385
- /* @__PURE__ */ x("div", {
386
- style: {
387
- marginLeft: "auto",
388
- display: "flex",
389
- alignItems: "center",
390
- gap: "var(--space-controlGap)"
391
- },
392
- children: [/* @__PURE__ */ x(we, {
393
- variant: "secondary",
394
- children: [
395
- X.length,
396
- " ",
397
- X.length === 1 ? w("bigconsole.dataSinks.count.single", "Data Sink") : w("bigconsole.dataSinks.count.plural", "Data Sinks")
398
- ]
399
- }), /* @__PURE__ */ x("div", {
400
- style: {
401
- display: "flex",
402
- borderRadius: "var(--radius-button)",
403
- border: "1px solid var(--color-border)",
404
- overflow: "hidden"
405
- },
406
- children: [/* @__PURE__ */ b("button", {
407
- type: "button",
408
- onClick: () => P("grid"),
409
- title: w("bigconsole.dataSinks.view.grid", "Grid view"),
410
- style: {
411
- padding: "6px 8px",
412
- border: "none",
413
- cursor: "pointer",
414
- backgroundColor: N === "grid" ? "var(--color-bg-sunken)" : "transparent",
415
- color: N === "grid" ? "var(--color-text-primary)" : "var(--color-text-muted)"
416
- },
417
- children: /* @__PURE__ */ b(me, { size: 16 })
418
- }), /* @__PURE__ */ b("button", {
419
- type: "button",
420
- onClick: () => P("table"),
421
- title: w("bigconsole.dataSinks.view.table", "Table view"),
422
- style: {
423
- padding: "6px 8px",
424
- border: "none",
425
- borderLeft: "1px solid var(--color-border)",
426
- cursor: "pointer",
427
- backgroundColor: N === "table" ? "var(--color-bg-sunken)" : "transparent",
428
- color: N === "table" ? "var(--color-text-primary)" : "var(--color-text-muted)"
429
- },
430
- children: /* @__PURE__ */ b(ve, { size: 16 })
431
- })]
432
- })]
335
+ } }), E("bigconsole.dataSinks.filters.clear", "Clear Filters")]
433
336
  })
434
337
  ]
338
+ })] })
339
+ }), /* @__PURE__ */ b(r, {
340
+ emphasis: "primary",
341
+ headingLevel: 2,
342
+ title: E("bigconsole.dataSinks.list.heading", "Data sinks"),
343
+ description: E("bigconsole.dataSinks.list.description", "Every sink in this workspace, most recently updated first."),
344
+ meta: /* @__PURE__ */ x(Ee, {
345
+ variant: "secondary",
346
+ children: [
347
+ Z.length,
348
+ " ",
349
+ Z.length === 1 ? E("bigconsole.dataSinks.count.single", "Data Sink") : E("bigconsole.dataSinks.count.plural", "Data Sinks")
350
+ ]
435
351
  }),
436
- K && J.length === 0 && /* @__PURE__ */ b("div", {
352
+ actions: /* @__PURE__ */ x("div", {
353
+ role: "group",
354
+ "aria-label": E("bigconsole.dataSinks.view.label", "List layout"),
437
355
  style: {
438
356
  display: "flex",
439
- alignItems: "center",
440
- justifyContent: "center",
441
- padding: "80px 0"
357
+ borderRadius: "var(--radius-button)",
358
+ border: "1px solid var(--color-border)",
359
+ overflow: "hidden"
442
360
  },
443
- children: /* @__PURE__ */ x("div", {
444
- style: { textAlign: "center" },
445
- children: [/* @__PURE__ */ b(je, { style: {
446
- height: "var(--size-icon-xl)",
447
- width: "var(--size-icon-xl)",
448
- margin: "0 auto var(--space-formGap)"
449
- } }), /* @__PURE__ */ b("p", {
450
- style: {
451
- fontSize: "var(--font-size-body-sm)",
452
- color: "var(--color-text-muted)"
453
- },
454
- children: w("bigconsole.dataSinks.loading", "Loading data sinks...")
455
- })]
456
- })
361
+ children: [/* @__PURE__ */ b("button", {
362
+ type: "button",
363
+ onClick: () => I("grid"),
364
+ "aria-pressed": F === "grid",
365
+ title: E("bigconsole.dataSinks.view.grid", "Grid view"),
366
+ className: `flex h-control-md w-[var(--size-controlHeight-md)] items-center justify-center ${n} ${w}`,
367
+ style: {
368
+ border: "none",
369
+ cursor: "pointer",
370
+ backgroundColor: F === "grid" ? "var(--color-bg-sunken)" : "transparent",
371
+ color: F === "grid" ? "var(--color-text-primary)" : "var(--color-text-muted)"
372
+ },
373
+ children: /* @__PURE__ */ b(ge, { size: 16 })
374
+ }), /* @__PURE__ */ b("button", {
375
+ type: "button",
376
+ onClick: () => I("table"),
377
+ "aria-pressed": F === "table",
378
+ title: E("bigconsole.dataSinks.view.table", "Table view"),
379
+ className: `flex h-control-md w-[var(--size-controlHeight-md)] items-center justify-center ${n} ${w}`,
380
+ style: {
381
+ border: "none",
382
+ borderLeft: "1px solid var(--color-border)",
383
+ cursor: "pointer",
384
+ backgroundColor: F === "table" ? "var(--color-bg-sunken)" : "transparent",
385
+ color: F === "table" ? "var(--color-text-primary)" : "var(--color-text-muted)"
386
+ },
387
+ children: /* @__PURE__ */ b(be, { size: 16 })
388
+ })]
457
389
  }),
458
- !K && J.length === 0 && /* @__PURE__ */ b(f, {
459
- treatment: "insight",
460
- className: "border-border-seam",
461
- children: /* @__PURE__ */ b(p, {
390
+ children: /* @__PURE__ */ x(y, { children: [
391
+ J && Y.length === 0 && /* @__PURE__ */ b("div", {
392
+ className: "flex items-center justify-center py-12",
393
+ children: /* @__PURE__ */ x("div", {
394
+ style: { textAlign: "center" },
395
+ children: [/* @__PURE__ */ b(Me, { style: {
396
+ height: "var(--size-icon-xl)",
397
+ width: "var(--size-icon-xl)",
398
+ margin: "0 auto var(--space-formGap)"
399
+ } }), /* @__PURE__ */ b("p", {
400
+ className: "text-sm text-text-muted",
401
+ children: E("bigconsole.dataSinks.loading", "Loading data sinks...")
402
+ })]
403
+ })
404
+ }),
405
+ !J && Y.length === 0 && /* @__PURE__ */ b(ke, {
462
406
  illustration: "empty-data",
463
- title: w("bigconsole.dataSinks.empty.title", "No Data Sinks yet"),
464
- description: w("bigconsole.dataSinks.empty.description", "Data Sinks store pre-processed data from FluidGrids workflows for fast access in widgets."),
465
- action: /* @__PURE__ */ b(ce, {
466
- permission: r.DATASINK_CREATE,
407
+ title: E("bigconsole.dataSinks.empty.title", "No Data Sinks yet"),
408
+ description: E("bigconsole.dataSinks.empty.description", "Data Sinks store pre-processed data from FluidGrids workflows for fast access in widgets."),
409
+ action: /* @__PURE__ */ b(ue, {
410
+ permission: i.DATASINK_CREATE,
467
411
  deniedBehavior: "disable",
468
- children: /* @__PURE__ */ x(d, {
469
- onClick: We,
470
- children: [/* @__PURE__ */ b(u, { style: {
412
+ children: /* @__PURE__ */ x(f, {
413
+ onClick: Ge,
414
+ children: [/* @__PURE__ */ b(d, { style: {
471
415
  marginRight: "var(--space-iconGap)",
472
416
  height: "var(--size-icon-sm)",
473
417
  width: "var(--size-icon-sm)"
474
- } }), w("bigconsole.dataSinks.actions.create", "Create Data Sink")]
418
+ } }), E("bigconsole.dataSinks.actions.create", "Create Data Sink")]
475
419
  })
476
420
  })
477
- })
478
- }),
479
- !K && X.length === 0 && J.length > 0 && /* @__PURE__ */ b(f, {
480
- treatment: "insight",
481
- className: "border-border-seam",
482
- children: /* @__PURE__ */ b(p, {
483
- illustration: "empty-search",
484
- title: w("bigconsole.dataSinks.empty.filteredTitle", "No matching data sinks"),
485
- description: w("bigconsole.dataSinks.empty.filtered", "No data sinks match your filters"),
486
- action: /* @__PURE__ */ b(d, {
487
- variant: "ghost",
421
+ }),
422
+ !J && Z.length === 0 && Y.length > 0 && /* @__PURE__ */ b(r, {
423
+ tone: "info",
424
+ emphasis: "muted",
425
+ padding: "compact",
426
+ headingLevel: 3,
427
+ title: E("bigconsole.dataSinks.empty.filteredTitle", "No matching data sinks"),
428
+ description: E("bigconsole.dataSinks.empty.filtered", "No data sinks match your filters"),
429
+ actions: /* @__PURE__ */ b(f, {
430
+ variant: "secondary",
488
431
  size: "sm",
489
432
  onClick: $,
490
- children: w("bigconsole.dataSinks.filters.clear", "Clear Filters")
433
+ children: E("bigconsole.dataSinks.filters.clear", "Clear Filters")
491
434
  })
492
- })
493
- }),
494
- X.length > 0 && N === "grid" && /* @__PURE__ */ b("div", {
495
- style: {
496
- display: "grid",
497
- gridTemplateColumns: "repeat(auto-fill, minmax(min(100%, 320px), 1fr))",
498
- gap: "var(--space-formGap)"
499
- },
500
- children: X.map((e) => /* @__PURE__ */ b(ne, {
501
- dataSink: e.dataSink,
502
- setupState: e.setupState,
503
- onView: Z,
504
- onEdit: Ge,
505
- onRefresh: Q,
506
- onExport: Ye,
507
- onDelete: qe,
508
- canEdit: D,
509
- canRefresh: k,
510
- canDelete: O
511
- }, e.dataSink.id))
512
- }),
513
- X.length > 0 && N === "table" && /* @__PURE__ */ b("div", {
514
- style: {
515
- border: "1px solid var(--color-border)",
516
- borderRadius: "var(--radius-card)",
517
- overflow: "hidden"
518
- },
519
- children: /* @__PURE__ */ b("div", {
435
+ }),
436
+ Z.length > 0 && F === "grid" && /* @__PURE__ */ b("div", {
437
+ style: {
438
+ display: "grid",
439
+ gridTemplateColumns: "repeat(auto-fill, minmax(min(100%, 320px), 1fr))",
440
+ gap: "var(--space-formGap)"
441
+ },
442
+ children: Z.map((e) => /* @__PURE__ */ b(ie, {
443
+ dataSink: e.dataSink,
444
+ setupState: e.setupState,
445
+ onView: Q,
446
+ onEdit: Ke,
447
+ onRefresh: qe,
448
+ onExport: Ze,
449
+ onDelete: Ye,
450
+ canEdit: k,
451
+ canRefresh: j,
452
+ canDelete: A
453
+ }, e.dataSink.id))
454
+ }),
455
+ Z.length > 0 && F === "table" && /* @__PURE__ */ b("div", {
456
+ className: "min-w-0",
520
457
  style: { overflowX: "auto" },
521
458
  children: /* @__PURE__ */ x("table", {
522
459
  style: {
@@ -538,7 +475,7 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
538
475
  color: "var(--color-text-secondary)",
539
476
  whiteSpace: "nowrap"
540
477
  },
541
- children: w("bigconsole.dataSinks.table.name", "Name")
478
+ children: E("bigconsole.dataSinks.table.name", "Name")
542
479
  }),
543
480
  /* @__PURE__ */ b("th", {
544
481
  style: {
@@ -548,7 +485,7 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
548
485
  color: "var(--color-text-secondary)",
549
486
  whiteSpace: "nowrap"
550
487
  },
551
- children: w("bigconsole.dataSinks.table.key", "Key")
488
+ children: E("bigconsole.dataSinks.table.key", "Key")
552
489
  }),
553
490
  /* @__PURE__ */ b("th", {
554
491
  style: {
@@ -558,7 +495,7 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
558
495
  color: "var(--color-text-secondary)",
559
496
  whiteSpace: "nowrap"
560
497
  },
561
- children: w("bigconsole.dataSinks.table.status", "Status")
498
+ children: E("bigconsole.dataSinks.table.status", "Status")
562
499
  }),
563
500
  /* @__PURE__ */ b("th", {
564
501
  style: {
@@ -568,7 +505,7 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
568
505
  color: "var(--color-text-secondary)",
569
506
  whiteSpace: "nowrap"
570
507
  },
571
- children: w("bigconsole.dataSinks.table.setup", "Setup")
508
+ children: E("bigconsole.dataSinks.table.setup", "Setup")
572
509
  }),
573
510
  /* @__PURE__ */ b("th", {
574
511
  style: {
@@ -578,7 +515,7 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
578
515
  color: "var(--color-text-secondary)",
579
516
  whiteSpace: "nowrap"
580
517
  },
581
- children: w("bigconsole.dataSinks.table.active", "Active")
518
+ children: E("bigconsole.dataSinks.table.active", "Active")
582
519
  }),
583
520
  /* @__PURE__ */ b("th", {
584
521
  style: {
@@ -588,7 +525,7 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
588
525
  color: "var(--color-text-secondary)",
589
526
  whiteSpace: "nowrap"
590
527
  },
591
- children: w("bigconsole.dataSinks.table.version", "Version")
528
+ children: E("bigconsole.dataSinks.table.version", "Version")
592
529
  }),
593
530
  /* @__PURE__ */ b("th", {
594
531
  style: {
@@ -598,7 +535,7 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
598
535
  color: "var(--color-text-secondary)",
599
536
  whiteSpace: "nowrap"
600
537
  },
601
- children: w("bigconsole.dataSinks.table.updated", "Updated")
538
+ children: E("bigconsole.dataSinks.table.updated", "Updated")
602
539
  }),
603
540
  /* @__PURE__ */ b("th", {
604
541
  style: {
@@ -608,24 +545,15 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
608
545
  color: "var(--color-text-secondary)",
609
546
  whiteSpace: "nowrap"
610
547
  },
611
- children: w("bigconsole.dataSinks.table.actions", "Actions")
548
+ children: E("bigconsole.dataSinks.table.actions", "Actions")
612
549
  })
613
550
  ]
614
- }) }), /* @__PURE__ */ b("tbody", { children: X.map((e) => {
551
+ }) }), /* @__PURE__ */ b("tbody", { children: Z.map((e) => {
615
552
  let t = e.dataSink;
616
553
  return /* @__PURE__ */ x("tr", {
617
- onClick: () => Z(t.id),
618
- style: {
619
- borderBottom: "1px solid var(--color-border)",
620
- cursor: "pointer",
621
- transition: "background-color 0.15s"
622
- },
623
- onMouseEnter: (e) => {
624
- e.currentTarget.style.backgroundColor = "var(--color-bg-sunken)";
625
- },
626
- onMouseLeave: (e) => {
627
- e.currentTarget.style.backgroundColor = "transparent";
628
- },
554
+ onClick: () => Q(t.id),
555
+ className: "cursor-pointer hover:bg-bg-sunken motion-safe:transition-colors",
556
+ style: { borderBottom: "1px solid var(--color-border)" },
629
557
  children: [
630
558
  /* @__PURE__ */ b("td", {
631
559
  style: {
@@ -654,11 +582,11 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
654
582
  }),
655
583
  /* @__PURE__ */ b("td", {
656
584
  style: { padding: "10px 12px" },
657
- children: /* @__PURE__ */ b(te, { status: t.status })
585
+ children: /* @__PURE__ */ b(re, { status: t.status })
658
586
  }),
659
587
  /* @__PURE__ */ b("td", {
660
588
  style: { padding: "10px 12px" },
661
- children: /* @__PURE__ */ b(oe, { state: e.setupState })
589
+ children: /* @__PURE__ */ b(ce, { state: e.setupState })
662
590
  }),
663
591
  /* @__PURE__ */ b("td", {
664
592
  style: {
@@ -671,9 +599,9 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
671
599
  width: 8,
672
600
  height: 8,
673
601
  borderRadius: "50%",
674
- backgroundColor: t.isActive ? "#22c55e" : "var(--color-text-muted)"
602
+ backgroundColor: t.isActive ? "var(--color-status-success-bg)" : "var(--color-text-muted)"
675
603
  },
676
- title: t.isActive ? w("bigconsole.dataSinks.badges.active", "Active") : w("bigconsole.dataSinks.badges.inactive", "Inactive")
604
+ title: t.isActive ? E("bigconsole.dataSinks.badges.active", "Active") : E("bigconsole.dataSinks.badges.inactive", "Inactive")
677
605
  })
678
606
  }),
679
607
  /* @__PURE__ */ x("td", {
@@ -706,73 +634,43 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
706
634
  children: [
707
635
  /* @__PURE__ */ b("button", {
708
636
  type: "button",
709
- title: w("bigconsole.dataSinks.actions.view", "View"),
710
- onClick: () => Z(t.id),
711
- style: {
712
- padding: 4,
713
- border: "none",
714
- background: "none",
715
- cursor: "pointer",
716
- color: "var(--color-text-muted)",
717
- borderRadius: 4
718
- },
719
- children: /* @__PURE__ */ b(pe, { size: 14 })
720
- }),
721
- D && /* @__PURE__ */ b("button", {
722
- type: "button",
723
- title: w("bigconsole.dataSinks.actions.edit", "Edit"),
724
- onClick: () => Ge(t.id),
725
- style: {
726
- padding: 4,
727
- border: "none",
728
- background: "none",
729
- cursor: "pointer",
730
- color: "var(--color-text-muted)",
731
- borderRadius: 4
732
- },
637
+ title: E("bigconsole.dataSinks.actions.view", "View"),
638
+ "aria-label": E("bigconsole.dataSinks.actions.view", "View"),
639
+ onClick: () => Q(t.id),
640
+ className: C,
733
641
  children: /* @__PURE__ */ b(he, { size: 14 })
734
642
  }),
735
643
  k && /* @__PURE__ */ b("button", {
736
644
  type: "button",
737
- title: w("bigconsole.dataSinks.actions.refresh", "Refresh"),
738
- onClick: () => Q(t.id),
739
- style: {
740
- padding: 4,
741
- border: "none",
742
- background: "none",
743
- cursor: "pointer",
744
- color: "var(--color-text-muted)",
745
- borderRadius: 4
746
- },
747
- children: /* @__PURE__ */ b(ge, { size: 14 })
645
+ title: E("bigconsole.dataSinks.actions.edit", "Edit"),
646
+ "aria-label": E("bigconsole.dataSinks.actions.edit", "Edit"),
647
+ onClick: () => Ke(t.id),
648
+ className: C,
649
+ children: /* @__PURE__ */ b(_e, { size: 14 })
650
+ }),
651
+ j && /* @__PURE__ */ b("button", {
652
+ type: "button",
653
+ title: E("bigconsole.dataSinks.actions.refresh", "Refresh"),
654
+ "aria-label": E("bigconsole.dataSinks.actions.refresh", "Refresh"),
655
+ onClick: () => qe(t.id),
656
+ className: C,
657
+ children: /* @__PURE__ */ b(ve, { size: 14 })
748
658
  }),
749
659
  /* @__PURE__ */ b("button", {
750
660
  type: "button",
751
- title: w("bigconsole.dataSinks.actions.export", "Export"),
752
- onClick: () => Ye(t.id),
753
- style: {
754
- padding: 4,
755
- border: "none",
756
- background: "none",
757
- cursor: "pointer",
758
- color: "var(--color-text-muted)",
759
- borderRadius: 4
760
- },
761
- children: /* @__PURE__ */ b(fe, { size: 14 })
661
+ title: E("bigconsole.dataSinks.actions.export", "Export"),
662
+ "aria-label": E("bigconsole.dataSinks.actions.export", "Export"),
663
+ onClick: () => Ze(t.id),
664
+ className: C,
665
+ children: /* @__PURE__ */ b(me, { size: 14 })
762
666
  }),
763
- O && /* @__PURE__ */ b("button", {
667
+ A && /* @__PURE__ */ b("button", {
764
668
  type: "button",
765
- title: w("bigconsole.dataSinks.actions.delete", "Delete"),
766
- onClick: () => qe(t.id),
767
- style: {
768
- padding: 4,
769
- border: "none",
770
- background: "none",
771
- cursor: "pointer",
772
- color: "var(--color-text-muted)",
773
- borderRadius: 4
774
- },
775
- children: /* @__PURE__ */ b(ye, { size: 14 })
669
+ title: E("bigconsole.dataSinks.actions.delete", "Delete"),
670
+ "aria-label": E("bigconsole.dataSinks.actions.delete", "Delete"),
671
+ onClick: () => Ye(t.id),
672
+ className: C,
673
+ children: /* @__PURE__ */ b(xe, { size: 14 })
776
674
  })
777
675
  ]
778
676
  })
@@ -782,29 +680,29 @@ var S = "bigconsole-datasinks-view-mode", Ne = (e) => e.setupState === "complete
782
680
  }) })]
783
681
  })
784
682
  })
785
- })
786
- ]
683
+ ] })
684
+ })] }) })]
787
685
  }),
788
- V && /* @__PURE__ */ x(Me, { children: [/* @__PURE__ */ b(re, {
789
- dataSink: V,
686
+ U && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(ae, {
687
+ dataSink: U,
790
688
  isOpen: Re,
791
- onClose: U,
792
- onConfirm: Je
793
- }), /* @__PURE__ */ b(ie, {
794
- dataSink: V,
795
- isOpen: ze,
796
689
  onClose: G,
797
- onConfirm: Ke
690
+ onConfirm: Xe
691
+ }), /* @__PURE__ */ b(oe, {
692
+ dataSink: U,
693
+ isOpen: ze,
694
+ onClose: q,
695
+ onConfirm: Je
798
696
  })] }),
799
- /* @__PURE__ */ b(ae, {
697
+ /* @__PURE__ */ b(se, {
800
698
  isOpen: Ie,
801
- onClose: () => M(!1),
802
- onSuccess: Ze
699
+ onClose: () => P(!1),
700
+ onSuccess: $e
803
701
  })
804
702
  ]
805
703
  });
806
704
  });
807
705
  //#endregion
808
- export { C as DataSinksPage, C as default };
706
+ export { T as DataSinksPage, T as default };
809
707
 
810
708
  //# sourceMappingURL=DataSinksPage.js.map