@burdenoff/microfe-bigconsole 2026.1123.7 → 2026.1124.2

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