@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
@@ -233,6 +233,8 @@ var v = [
233
233
  "data-testid": "widget-demo-empty",
234
234
  children: /* @__PURE__ */ h(f, {
235
235
  illustration: "empty-search",
236
+ kind: "no-results",
237
+ size: "panel",
236
238
  title: s("bigconsole.widgetDemo.emptyState.description", "Try a different search term to preview a widget type."),
237
239
  description: "The filter matches a widget's name and its one-line description."
238
240
  })
@@ -251,6 +251,8 @@ var he = ({ className: e }) => /* @__PURE__ */ _("svg", {
251
251
  className: ne("standard"),
252
252
  children: /* @__PURE__ */ _(m, {
253
253
  illustration: "empty-data",
254
+ kind: "not-found",
255
+ size: "page",
254
256
  title: b("bigconsole.workflows.view.notFoundTitle", "Workflow not found"),
255
257
  description: Pe?.message || b("bigconsole.workflows.view.notFoundDescription", "The workflow you are looking for does not exist.")
256
258
  })
@@ -518,6 +520,9 @@ var he = ({ className: e }) => /* @__PURE__ */ _("svg", {
518
520
  }),
519
521
  Z === 0 ? /* @__PURE__ */ _(m, {
520
522
  illustration: "empty-generic",
523
+ kind: "first-use",
524
+ glassIllustration: "data-tables",
525
+ size: "panel",
521
526
  title: b("bigconsole.workflows.view.noDataSinksTitle", "No data sinks linked"),
522
527
  description: b("bigconsole.workflows.view.noDataSinksDescription", "This workflow has no data sinks linked yet — its output isn't being stored.")
523
528
  }) : /* @__PURE__ */ _("ul", {
@@ -2,279 +2,300 @@ import { BIGCONSOLE_PERMISSIONS as e } from "../../constants/permissions.js";
2
2
  import { useAppNavigate as t } from "../contexts/NavigationContext.js";
3
3
  import "../contexts/index.js";
4
4
  import { isNative as n, nativeNotify as r } from "../../utils/nativeBridge.js";
5
- import { newWorkflowPath as i } from "../BigConsoleRoutes.js";
6
- import { NEW_WORKFLOW_NAV as a } from "../workflowOpen.js";
7
- import { SECTION_FOCUS_RING as o } from "../components/common/sectionStyles.js";
8
- import { Section as s, SectionStack as c } from "../components/common/Section.js";
9
- import l from "../hooks/useWorkflowOperations.js";
10
- import { useWorkflowStore as u } from "../store/workflowStore.js";
11
- import { WorkflowCard as d } from "../components/workflow/WorkflowCard.js";
12
- import { WorkflowDeleteDialog as f } from "../components/workflow/WorkflowDeleteDialog.js";
5
+ import { newWorkflowPath as ee } from "../BigConsoleRoutes.js";
6
+ import { NEW_WORKFLOW_NAV as i } from "../workflowOpen.js";
7
+ import { SECTION_FOCUS_RING as a } from "../components/common/sectionStyles.js";
8
+ import { Section as o, SectionStack as te } from "../components/common/Section.js";
9
+ import s from "../hooks/useWorkflowOperations.js";
10
+ import { useWorkflowStore as c } from "../store/workflowStore.js";
11
+ import { WorkflowCard as l } from "../components/workflow/WorkflowCard.js";
12
+ import { WorkflowDeleteDialog as u } from "../components/workflow/WorkflowDeleteDialog.js";
13
13
  import "../components/common/index.js";
14
- import { memo as p, useCallback as m, useMemo as h, useState as g } from "react";
15
- import { AccessDenied as _, PermissionButton as v } from "@burdenoff/fe-libs/shared/components";
16
- import { usePermissions as y } from "@burdenoff/fe-libs/shared/providers/shell";
17
- import { AlertCircle as b, Plus as x, Search as ee, Workflow as S } from "lucide-react";
18
- import { AuroraBackground as C, Button as w, GradientText as T, IllustratedEmptyState as E, Input as te, PagePurpose as ne, Spinner as re } from "@burdenoff/fe-libs/ui";
19
- import { useI18n as ie } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
20
- import { Fragment as ae, jsx as D, jsxs as O } from "react/jsx-runtime";
14
+ import { memo as d, useCallback as f, useMemo as p, useState as m } from "react";
15
+ import { AccessDenied as h, PermissionButton as g } from "@burdenoff/fe-libs/shared/components";
16
+ import { usePermissions as _ } from "@burdenoff/fe-libs/shared/providers/shell";
17
+ import { AlertCircle as v, Plus as y, Search as b, Workflow as x } from "lucide-react";
18
+ import { AuroraBackground as S, Button as C, EmptyState as ne, GradientText as re, IllustratedEmptyState as w, Input as ie, PagePurpose as ae, Spinner as oe, useGlassEmptyStates as se } from "@burdenoff/fe-libs/ui";
19
+ import { useI18n as ce } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
20
+ import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
21
21
  // src/bigconsole/pages/WorkflowsPage.tsx
22
- var k = p(function() {
23
- let p = t(), { t: k } = ie(), { hasPermission: A, isLoading: j } = y(), M = A(e.WORKFLOW_READ), N = A(e.WORKFLOW_UPDATE), P = A(e.WORKFLOW_DELETE), F = A(e.WORKFLOW_EXECUTE), [I, L] = g("all"), [R, z] = g(null), B = u((e) => e.searchQuery), V = u((e) => e.setSearchQuery), H = u((e) => e.deleteDialogOpen), U = u((e) => e.currentWorkflow), W = u((e) => e.openDeleteDialog), G = u((e) => e.closeDeleteDialog), { loading: K, error: q, workflows: J, deleteWorkflow: Y, refetch: oe } = l(), { executeWorkflow: X } = l({ skipFetch: !0 }), se = u((e) => e.workflowUIStates), Z = h(() => {
24
- let e = [...J];
22
+ var O = d(function() {
23
+ let d = t(), { t: O } = ce(), { hasPermission: k, isLoading: A } = _(), j = se(), M = k(e.WORKFLOW_READ), N = k(e.WORKFLOW_UPDATE), P = k(e.WORKFLOW_DELETE), F = k(e.WORKFLOW_EXECUTE), [I, L] = m("all"), [R, z] = m(null), B = c((e) => e.searchQuery), V = c((e) => e.setSearchQuery), le = c((e) => e.deleteDialogOpen), H = c((e) => e.currentWorkflow), U = c((e) => e.openDeleteDialog), W = c((e) => e.closeDeleteDialog), { loading: G, error: K, workflows: q, deleteWorkflow: J, refetch: Y } = s(), { executeWorkflow: X } = s({ skipFetch: !0 }), ue = c((e) => e.workflowUIStates), Z = p(() => {
24
+ let e = [...q];
25
25
  if (I !== "all" && (e = e.filter((e) => e.status === I)), B.trim()) {
26
26
  let t = B.toLowerCase();
27
27
  e = e.filter((e) => e.name.toLowerCase().includes(t) || e.key.toLowerCase().includes(t) || e.description?.toLowerCase().includes(t));
28
28
  }
29
29
  return e.sort((e, t) => new Date(t.updatedAt).getTime() - new Date(e.updatedAt).getTime());
30
30
  }, [
31
- J,
31
+ q,
32
32
  I,
33
33
  B
34
- ]), Q = m(() => {
35
- p(i(), a);
36
- }, [p]), ce = m((e) => {
37
- p(`/workflows/details/${e}`);
38
- }, [p]), le = m((e) => {
39
- let t = J.find((t) => t.id === e);
40
- t?.key && p(`/workflows/workflow/${encodeURIComponent(t.key)}/v1`);
41
- }, [p, J]), $ = m((e) => {
42
- let t = J.find((t) => t.id === e);
43
- t && W(t);
44
- }, [J, W]), ue = m(async (e) => {
45
- let t = J.find((t) => t.id === e);
34
+ ]), Q = f(() => {
35
+ d(ee(), i);
36
+ }, [d]), de = f((e) => {
37
+ d(`/workflows/details/${e}`);
38
+ }, [d]), fe = f((e) => {
39
+ let t = q.find((t) => t.id === e);
40
+ t?.key && d(`/workflows/workflow/${encodeURIComponent(t.key)}/v1`);
41
+ }, [d, q]), pe = f((e) => {
42
+ let t = q.find((t) => t.id === e);
43
+ t && U(t);
44
+ }, [q, U]), me = f(async (e) => {
45
+ let t = q.find((t) => t.id === e);
46
46
  t && (z(null), await X(e) ? (n() && r("success"), z({
47
47
  workflowName: t.name,
48
48
  ok: !0,
49
- message: k("bigconsole.workflows.run.triggered", "Run triggered. The execution count and last-run time update as the run progresses.")
49
+ message: O("bigconsole.workflows.run.triggered", "Run triggered. The execution count and last-run time update as the run progresses.")
50
50
  })) : (n() && r("error"), z({
51
51
  workflowName: t.name,
52
52
  ok: !1,
53
- message: k("bigconsole.workflows.run.failed", "The workflow could not be started. Nothing has been changed.")
53
+ message: O("bigconsole.workflows.run.failed", "The workflow could not be started. Nothing has been changed.")
54
54
  })));
55
55
  }, [
56
- J,
56
+ q,
57
57
  X,
58
- k
59
- ]), de = m(async () => {
60
- if (U) {
58
+ O
59
+ ]), he = f(async () => {
60
+ if (H) {
61
61
  try {
62
- await Y(U.id), n() && r("success");
62
+ await J(H.id), n() && r("success");
63
63
  } catch (e) {
64
64
  throw n() && r("error"), e;
65
65
  }
66
- G();
66
+ W();
67
67
  }
68
68
  }, [
69
- U,
70
- Y,
71
- G
72
- ]), fe = [
69
+ H,
70
+ J,
71
+ W
72
+ ]), ge = [
73
73
  {
74
74
  value: "all",
75
- label: k("bigconsole.workflows.filters.all", "All")
75
+ label: O("bigconsole.workflows.filters.all", "All")
76
76
  },
77
77
  {
78
78
  value: "draft",
79
- label: k("bigconsole.workflows.status.draft", "Draft")
79
+ label: O("bigconsole.workflows.status.draft", "Draft")
80
80
  },
81
81
  {
82
82
  value: "active",
83
- label: k("bigconsole.workflows.status.active", "Active")
83
+ label: O("bigconsole.workflows.status.active", "Active")
84
84
  },
85
85
  {
86
86
  value: "paused",
87
- label: k("bigconsole.workflows.status.paused", "Paused")
87
+ label: O("bigconsole.workflows.status.paused", "Paused")
88
88
  },
89
89
  {
90
90
  value: "error",
91
- label: k("bigconsole.workflows.status.error", "Error")
91
+ label: O("bigconsole.workflows.status.error", "Error")
92
92
  },
93
93
  {
94
94
  value: "archived",
95
- label: k("bigconsole.workflows.status.archived", "Archived")
95
+ label: O("bigconsole.workflows.status.archived", "Archived")
96
96
  }
97
97
  ];
98
- if (!j && !M) return /* @__PURE__ */ D(_, {
99
- title: k("bigconsole.workflows.errors.accessDeniedTitle", "Access Denied"),
100
- description: k("bigconsole.workflows.errors.accessDeniedListDescription", "You don't have permission to view workflows.")
98
+ if (!A && !M) return /* @__PURE__ */ E(h, {
99
+ title: O("bigconsole.workflows.errors.accessDeniedTitle", "Access Denied"),
100
+ description: O("bigconsole.workflows.errors.accessDeniedListDescription", "You don't have permission to view workflows.")
101
101
  });
102
- let pe = !K && J.length === 0, me = !K && Z.length === 0 && J.length > 0;
103
- return /* @__PURE__ */ O("div", {
102
+ let $ = !G && q.length === 0, _e = !G && Z.length === 0 && q.length > 0;
103
+ return /* @__PURE__ */ D("div", {
104
104
  "data-tour": "bigconsole-workflows-list",
105
105
  className: "min-h-dvh bg-bg-canvas",
106
106
  children: [
107
- /* @__PURE__ */ O("header", {
107
+ /* @__PURE__ */ D("header", {
108
108
  "data-section-emphasis": "bare",
109
109
  className: "relative min-w-0 overflow-hidden border-b border-[var(--color-border-seam)] bg-[image:var(--gradient-gloss-card)]",
110
- children: [/* @__PURE__ */ D(C, { intensity: "subtle" }), /* @__PURE__ */ O("div", {
110
+ children: [/* @__PURE__ */ E(S, { intensity: "subtle" }), /* @__PURE__ */ D("div", {
111
111
  className: "relative flex flex-col gap-form-gap p-[var(--space-pagePadding)] sm:flex-row sm:items-center sm:justify-between",
112
- children: [/* @__PURE__ */ O("div", {
112
+ children: [/* @__PURE__ */ D("div", {
113
113
  className: "flex min-w-0 items-center gap-form-gap",
114
- children: [/* @__PURE__ */ D("span", {
114
+ children: [/* @__PURE__ */ E("span", {
115
115
  "aria-hidden": "true",
116
116
  className: "flex h-control-lg w-[var(--size-controlHeight-lg)] shrink-0 items-center justify-center rounded-card bg-action-primary-bg",
117
- children: /* @__PURE__ */ D(S, { className: "h-icon-lg w-icon-lg text-action-primary-text" })
118
- }), /* @__PURE__ */ O("div", {
117
+ children: /* @__PURE__ */ E(x, { className: "h-icon-lg w-icon-lg text-action-primary-text" })
118
+ }), /* @__PURE__ */ D("div", {
119
119
  className: "min-w-0",
120
- children: [/* @__PURE__ */ D("h1", {
120
+ children: [/* @__PURE__ */ E("h1", {
121
121
  className: "text-2xl font-bold text-text-primary",
122
- children: /* @__PURE__ */ D(T, { children: k("bigconsole.workflows.list.title", "Workflows") })
123
- }), /* @__PURE__ */ D("p", {
122
+ children: /* @__PURE__ */ E(re, { children: O("bigconsole.workflows.list.title", "Workflows") })
123
+ }), /* @__PURE__ */ E("p", {
124
124
  className: "text-sm text-text-secondary",
125
- children: k("bigconsole.workflows.list.subtitle", "Design ETL workflows with FluidGrids and link them to DataSinks")
125
+ children: O("bigconsole.workflows.list.subtitle", "Design ETL workflows with FluidGrids and link them to DataSinks")
126
126
  })]
127
127
  })]
128
- }), /* @__PURE__ */ D("div", {
128
+ }), /* @__PURE__ */ E("div", {
129
129
  className: "flex flex-wrap items-center gap-control-gap",
130
- children: /* @__PURE__ */ D(v, {
130
+ children: /* @__PURE__ */ E(g, {
131
131
  permission: e.WORKFLOW_CREATE,
132
132
  deniedBehavior: "disable",
133
- children: /* @__PURE__ */ O(w, {
133
+ children: /* @__PURE__ */ D(C, {
134
134
  onClick: Q,
135
- children: [/* @__PURE__ */ D(x, { className: "h-icon-sm w-icon-sm" }), k("bigconsole.workflows.actions.designWorkflow", "Design Workflow")]
135
+ children: [/* @__PURE__ */ E(y, { className: "h-icon-sm w-icon-sm" }), O("bigconsole.workflows.actions.designWorkflow", "Design Workflow")]
136
136
  })
137
137
  })
138
138
  })]
139
139
  })]
140
140
  }),
141
- /* @__PURE__ */ D("div", {
141
+ /* @__PURE__ */ E("div", {
142
142
  className: "p-[var(--space-pagePadding)]",
143
- children: /* @__PURE__ */ O(c, { children: [/* @__PURE__ */ D(ne, { children: k("bigconsole.workflows.list.purpose", "Workflows are visual ETL jobs built with the FluidGrids builder — they fetch data from external systems, transform it, and load it into your BigConsole DataSinks on a schedule or on demand. Use them to keep dashboards fed with fresh, shaped data without writing glue code.") }), q ? /* @__PURE__ */ D(s, {
143
+ children: /* @__PURE__ */ D(te, { children: [/* @__PURE__ */ E(ae, { children: O("bigconsole.workflows.list.purpose", "Workflows are visual ETL jobs built with the FluidGrids builder — they fetch data from external systems, transform it, and load it into your BigConsole DataSinks on a schedule or on demand. Use them to keep dashboards fed with fresh, shaped data without writing glue code.") }), K && j ? /* @__PURE__ */ E("div", {
144
+ "data-testid": "workflows-error",
145
+ children: /* @__PURE__ */ E(ne, {
146
+ kind: "error",
147
+ size: "page",
148
+ title: O("bigconsole.workflows.errors.loadFailedTitle", "Failed to load Workflows"),
149
+ description: /* @__PURE__ */ D(T, { children: ["The workflow service did not respond. Nothing has been changed — retry when you are ready.", /* @__PURE__ */ E("span", {
150
+ className: "mt-1 block break-words",
151
+ children: K.message
152
+ })] }),
153
+ action: /* @__PURE__ */ E(C, {
154
+ size: "sm",
155
+ onClick: () => Y(),
156
+ children: O("bigconsole.workflows.actions.tryAgain", "Try Again")
157
+ })
158
+ })
159
+ }) : K ? /* @__PURE__ */ E(o, {
144
160
  headingLevel: 2,
145
161
  tone: "danger",
146
- title: k("bigconsole.workflows.errors.loadFailedTitle", "Failed to load Workflows"),
162
+ title: O("bigconsole.workflows.errors.loadFailedTitle", "Failed to load Workflows"),
147
163
  description: "The workflow service did not respond. Nothing has been changed — retry when you are ready.",
148
- icon: /* @__PURE__ */ D(b, { className: "h-icon-md w-icon-md" }),
149
- actions: /* @__PURE__ */ D(w, {
164
+ icon: /* @__PURE__ */ E(v, { className: "h-icon-md w-icon-md" }),
165
+ actions: /* @__PURE__ */ E(C, {
150
166
  size: "sm",
151
- onClick: () => oe(),
152
- children: k("bigconsole.workflows.actions.tryAgain", "Try Again")
167
+ onClick: () => Y(),
168
+ children: O("bigconsole.workflows.actions.tryAgain", "Try Again")
153
169
  }),
154
170
  "data-testid": "workflows-error",
155
- children: /* @__PURE__ */ D("p", {
171
+ children: /* @__PURE__ */ E("p", {
156
172
  className: "break-words text-sm text-[var(--color-status-error-text)]",
157
- children: q.message
173
+ children: K.message
158
174
  })
159
- }) : /* @__PURE__ */ O(ae, { children: [/* @__PURE__ */ D(s, {
175
+ }) : /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E(o, {
160
176
  headingLevel: 2,
161
177
  title: "Filters",
162
178
  description: "Narrow the list by status, or search by name, key or description.",
163
179
  padding: "compact",
164
180
  "data-testid": "workflows-filters",
165
- children: /* @__PURE__ */ O("div", {
181
+ children: /* @__PURE__ */ D("div", {
166
182
  className: "flex flex-col gap-form-gap lg:flex-row lg:items-center lg:justify-between",
167
- children: [/* @__PURE__ */ D("div", {
183
+ children: [/* @__PURE__ */ E("div", {
168
184
  role: "group",
169
185
  "aria-label": "Filter workflows by status",
170
186
  className: "flex flex-wrap items-center gap-1 rounded-card bg-bg-sunken p-1",
171
- children: fe.map((e) => /* @__PURE__ */ D("button", {
187
+ children: ge.map((e) => /* @__PURE__ */ E("button", {
172
188
  type: "button",
173
189
  "aria-pressed": I === e.value,
174
190
  onClick: () => L(e.value),
175
- className: `min-h-[var(--size-controlHeight-md)] rounded-button px-3 text-sm font-medium motion-safe:transition-colors ${o} ${I === e.value ? "bg-bg-surface text-text-primary shadow-[var(--shadow-elevation-1)]" : "text-text-secondary hover:text-text-primary"}`,
191
+ className: `min-h-[var(--size-controlHeight-md)] rounded-button px-3 text-sm font-medium motion-safe:transition-colors ${a} ${I === e.value ? "bg-bg-surface text-text-primary shadow-[var(--shadow-elevation-1)]" : "text-text-secondary hover:text-text-primary"}`,
176
192
  children: e.label
177
193
  }, e.value))
178
- }), /* @__PURE__ */ O("div", {
194
+ }), /* @__PURE__ */ D("div", {
179
195
  className: "relative w-full lg:max-w-[360px]",
180
- children: [/* @__PURE__ */ D(ee, {
196
+ children: [/* @__PURE__ */ E(b, {
181
197
  "aria-hidden": "true",
182
198
  className: "pointer-events-none absolute left-3 top-1/2 h-icon-sm w-icon-sm -translate-y-1/2 text-text-muted"
183
- }), /* @__PURE__ */ D(te, {
199
+ }), /* @__PURE__ */ E(ie, {
184
200
  type: "text",
185
- "aria-label": k("bigconsole.workflows.filters.searchPlaceholder", "Search workflows..."),
186
- placeholder: k("bigconsole.workflows.filters.searchPlaceholder", "Search workflows..."),
201
+ "aria-label": O("bigconsole.workflows.filters.searchPlaceholder", "Search workflows..."),
202
+ placeholder: O("bigconsole.workflows.filters.searchPlaceholder", "Search workflows..."),
187
203
  value: B,
188
204
  onChange: (e) => V(e.target.value),
189
205
  className: "h-control-md pl-10"
190
206
  })]
191
207
  })]
192
208
  })
193
- }), /* @__PURE__ */ O(s, {
209
+ }), /* @__PURE__ */ D(o, {
194
210
  headingLevel: 2,
195
211
  emphasis: "primary",
196
- title: k("bigconsole.workflows.list.title", "Workflows"),
212
+ title: O("bigconsole.workflows.list.title", "Workflows"),
197
213
  description: "Every workflow in this workspace, most recently updated first.",
198
- meta: /* @__PURE__ */ O("span", {
214
+ meta: /* @__PURE__ */ D("span", {
199
215
  className: "rounded-pill bg-bg-sunken px-2 py-0.5 text-xs font-medium text-text-secondary",
200
- children: [Z.length, Z.length === J.length ? "" : ` of ${J.length}`]
216
+ children: [Z.length, Z.length === q.length ? "" : ` of ${q.length}`]
201
217
  }),
202
218
  "data-testid": "workflows-results",
203
219
  children: [
204
- K && J.length === 0 && /* @__PURE__ */ D("div", {
220
+ G && q.length === 0 && /* @__PURE__ */ E("div", {
205
221
  className: "flex min-h-[240px] items-center justify-center",
206
- children: /* @__PURE__ */ O("div", {
222
+ children: /* @__PURE__ */ D("div", {
207
223
  className: "text-center",
208
- children: [/* @__PURE__ */ D(re, {
224
+ children: [/* @__PURE__ */ E(oe, {
209
225
  size: "lg",
210
226
  className: "mb-form-gap"
211
- }), /* @__PURE__ */ D("p", {
227
+ }), /* @__PURE__ */ E("p", {
212
228
  className: "text-sm text-text-muted",
213
- children: k("bigconsole.workflows.list.loading", "Loading workflows...")
229
+ children: O("bigconsole.workflows.list.loading", "Loading workflows...")
214
230
  })]
215
231
  })
216
232
  }),
217
- pe && /* @__PURE__ */ D(E, {
233
+ $ && /* @__PURE__ */ E(w, {
218
234
  illustration: "empty-data",
219
- title: k("bigconsole.workflows.list.emptyTitle", "No Workflows yet"),
220
- description: k("bigconsole.workflows.list.emptyDescription", "Design ETL workflows with the FluidGrids visual builder to fetch, transform, and deliver data into BigConsole DataSinks."),
221
- action: /* @__PURE__ */ D(v, {
235
+ kind: "first-use",
236
+ glassIllustration: "workflows",
237
+ size: "page",
238
+ title: O("bigconsole.workflows.list.emptyTitle", "No Workflows yet"),
239
+ description: O("bigconsole.workflows.list.emptyDescription", "Design ETL workflows with the FluidGrids visual builder to fetch, transform, and deliver data into BigConsole DataSinks."),
240
+ action: /* @__PURE__ */ E(g, {
222
241
  permission: e.WORKFLOW_CREATE,
223
242
  deniedBehavior: "disable",
224
- children: /* @__PURE__ */ O(w, {
243
+ children: /* @__PURE__ */ D(C, {
225
244
  onClick: Q,
226
- children: [/* @__PURE__ */ D(x, { className: "h-icon-sm w-icon-sm" }), k("bigconsole.workflows.actions.designWorkflow", "Design Workflow")]
245
+ children: [/* @__PURE__ */ E(y, { className: "h-icon-sm w-icon-sm" }), O("bigconsole.workflows.actions.designWorkflow", "Design Workflow")]
227
246
  })
228
247
  })
229
248
  }),
230
- me && /* @__PURE__ */ D(E, {
249
+ _e && /* @__PURE__ */ E(w, {
231
250
  illustration: "empty-search",
232
- title: k("bigconsole.workflows.list.noResultsTitle", "No matching workflows"),
233
- description: k("bigconsole.workflows.list.noResultsDescription", "No workflows match your filters")
251
+ kind: B.trim() ? "no-results" : "filtered",
252
+ size: "page",
253
+ title: O("bigconsole.workflows.list.noResultsTitle", "No matching workflows"),
254
+ description: O("bigconsole.workflows.list.noResultsDescription", "No workflows match your filters")
234
255
  }),
235
- R && /* @__PURE__ */ O("div", {
256
+ R && /* @__PURE__ */ D("div", {
236
257
  role: "status",
237
258
  "aria-live": "polite",
238
259
  className: `mb-form-gap flex flex-wrap items-center justify-between gap-icon-gap rounded-input border p-3 text-sm ${R.ok ? "border-[var(--color-status-success-border)] bg-[var(--color-status-success-bgSubtle)] text-[var(--color-status-success-text)]" : "border-[var(--color-status-error-border)] bg-[var(--color-status-error-bgSubtle)] text-[var(--color-status-error-text)]"}`,
239
260
  "data-testid": "workflows-run-outcome",
240
- children: [/* @__PURE__ */ O("span", {
261
+ children: [/* @__PURE__ */ D("span", {
241
262
  className: "min-w-0",
242
263
  children: [
243
- /* @__PURE__ */ D("strong", {
264
+ /* @__PURE__ */ E("strong", {
244
265
  className: "font-semibold",
245
266
  children: R.workflowName
246
267
  }),
247
268
  " — ",
248
269
  R.message
249
270
  ]
250
- }), /* @__PURE__ */ D("button", {
271
+ }), /* @__PURE__ */ E("button", {
251
272
  type: "button",
252
273
  onClick: () => z(null),
253
274
  className: "rounded-button px-2 py-1 text-xs font-medium underline-offset-2 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-bg-surface",
254
- children: k("bigconsole.workflows.run.dismiss", "Dismiss")
275
+ children: O("bigconsole.workflows.run.dismiss", "Dismiss")
255
276
  })]
256
277
  }),
257
- Z.length > 0 && /* @__PURE__ */ D("div", {
278
+ Z.length > 0 && /* @__PURE__ */ E("div", {
258
279
  className: "grid grid-cols-1 gap-form-gap sm:grid-cols-2 xl:grid-cols-3",
259
- children: Z.map((e) => /* @__PURE__ */ D(d, {
280
+ children: Z.map((e) => /* @__PURE__ */ E(l, {
260
281
  workflow: e,
261
- onView: ce,
262
- onEdit: N ? le : void 0,
263
- onDelete: P ? $ : void 0,
264
- onRun: F ? ue : void 0,
265
- isRunning: se.get(e.id)?.isExecuting ?? !1
282
+ onView: de,
283
+ onEdit: N ? fe : void 0,
284
+ onDelete: P ? pe : void 0,
285
+ onRun: F ? me : void 0,
286
+ isRunning: ue.get(e.id)?.isExecuting ?? !1
266
287
  }, e.id))
267
288
  })
268
289
  ]
269
290
  })] })] })
270
291
  }),
271
- U && /* @__PURE__ */ D(f, {
272
- workflow: U,
273
- isOpen: H,
274
- onClose: G,
275
- onConfirm: de
292
+ H && /* @__PURE__ */ E(u, {
293
+ workflow: H,
294
+ isOpen: le,
295
+ onClose: W,
296
+ onConfirm: he
276
297
  })
277
298
  ]
278
299
  });
279
300
  });
280
- export { k as WorkflowsPage, k as default };
301
+ export { O as WorkflowsPage, O as default };
@@ -48,7 +48,7 @@ function S({ children: r, onViewBilling: a }) {
48
48
  children: [/* @__PURE__ */ v("div", {
49
49
  className: "flex items-start gap-3",
50
50
  children: [/* @__PURE__ */ _("div", {
51
- className: "flex size-10 shrink-0 items-center justify-center rounded-full bg-status-warning-bg-subtle text-status-warning-text",
51
+ className: "flex size-10 shrink-0 items-center justify-center rounded-full bg-status-warning-bg-subtle text-[var(--color-status-warning-text)]",
52
52
  children: /* @__PURE__ */ _(c, {
53
53
  className: "size-5",
54
54
  "aria-hidden": "true"