@burdenoff/microfe-bigconsole 2026.1123.6 → 2026.1124.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) 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/insights/BoardLintPanel.js +2 -2
  29. package/dist/bigconsole/components/insights/OutlierSpottingDialog.js +123 -123
  30. package/dist/bigconsole/components/kpi-change/KpiChangePanel.js +2 -2
  31. package/dist/bigconsole/components/narrative/NarrativePanel.js +1 -1
  32. package/dist/bigconsole/components/overview/DataHealthCard.js +3 -0
  33. package/dist/bigconsole/components/overview/RecentDashboardsPanel.js +3 -0
  34. package/dist/bigconsole/components/parser/ParserStatusBadge.js +25 -28
  35. package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +23 -22
  36. package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js +15 -26
  37. package/dist/bigconsole/components/reconcile/KpiReconcileDialog.js +24 -24
  38. package/dist/bigconsole/components/settings/WidgetCatalogSection.js +1 -1
  39. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +188 -187
  40. package/dist/bigconsole/components/widgets/FilterNotAppliedNotice.js +1 -1
  41. package/dist/bigconsole/components/widgets/UnsupportedDataSourceNotice.js +1 -1
  42. package/dist/bigconsole/components/widgets/WidgetCompareView.js +3 -1
  43. package/dist/bigconsole/components/widgets/WidgetHeader.js +1 -1
  44. package/dist/bigconsole/components/widgets/advanced/AdvancedWidgetConfig.js +45 -44
  45. package/dist/bigconsole/components/widgets/chart/ChartConfig.js +151 -147
  46. package/dist/bigconsole/components/widgets/chart/ReferenceLinesEditor.js +48 -47
  47. package/dist/bigconsole/components/widgets/comments/WidgetComments.js +1 -1
  48. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +139 -138
  49. package/dist/bigconsole/components/widgets/form/FormWidget.js +149 -148
  50. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +80 -77
  51. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +58 -56
  52. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +75 -73
  53. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +86 -85
  54. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +80 -77
  55. package/dist/bigconsole/components/widgets/retention/RetentionView.js +1 -1
  56. package/dist/bigconsole/components/widgets/table/TableConfig.js +214 -211
  57. package/dist/bigconsole/components/widgets/table/TablePagination.js +59 -58
  58. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +140 -138
  59. package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js +74 -66
  60. package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +48 -48
  61. package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js +28 -37
  62. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +69 -69
  63. package/dist/bigconsole/hooks/useDashboardListQuery.d.ts +22 -0
  64. package/dist/bigconsole/hooks/useDashboardListQuery.js +39 -0
  65. package/dist/bigconsole/pages/AdminPage.js +147 -146
  66. package/dist/bigconsole/pages/DashboardViewPage.js +2 -0
  67. package/dist/bigconsole/pages/DashboardsPage.js +638 -855
  68. package/dist/bigconsole/pages/DataParsersPage.js +5 -0
  69. package/dist/bigconsole/pages/DataSinkBuilderPage.js +4 -1
  70. package/dist/bigconsole/pages/DataSinkViewPage.js +263 -261
  71. package/dist/bigconsole/pages/DataSinksPage.js +210 -186
  72. package/dist/bigconsole/pages/InsightsPage.js +386 -383
  73. package/dist/bigconsole/pages/ParserBuilderPage.js +413 -413
  74. package/dist/bigconsole/pages/ParserViewPage.js +2 -0
  75. package/dist/bigconsole/pages/PipelineBuilderPage.js +279 -276
  76. package/dist/bigconsole/pages/PipelineViewPage.js +3 -0
  77. package/dist/bigconsole/pages/PipelinesPage.js +198 -165
  78. package/dist/bigconsole/pages/SettingsPage.js +160 -160
  79. package/dist/bigconsole/pages/WidgetDemoPage.js +2 -0
  80. package/dist/bigconsole/pages/WorkflowViewPage.js +5 -0
  81. package/dist/bigconsole/pages/WorkflowsPage.js +144 -123
  82. package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +1 -1
  83. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +123 -122
  84. package/dist/bigconsole/utils/dashboardGallery.d.ts +84 -0
  85. package/dist/bigconsole/utils/dashboardGallery.js +93 -0
  86. package/dist/bigconsole/utils/statusTone.d.ts +17 -0
  87. package/dist/bigconsole/utils/statusTone.js +44 -0
  88. package/package.json +4 -4
@@ -243,6 +243,9 @@ var _ = "min-h-[var(--size-controlHeight-md)]", _e = "rounded-pill bg-bg-sunken
243
243
  "data-testid": "pipeline-stages",
244
244
  children: Q === 0 ? /* @__PURE__ */ h(pe, {
245
245
  illustration: "empty-generic",
246
+ kind: "first-use",
247
+ glassIllustration: "workflows",
248
+ size: "panel",
246
249
  title: w("bigconsole.pipelines.view.noStagesTitle", "No stages defined"),
247
250
  description: w("bigconsole.pipelines.view.noStagesDescription", "Edit the pipeline to add parser stages."),
248
251
  action: /* @__PURE__ */ g(p, {
@@ -2,126 +2,126 @@ import { PipelineScopePicker as e } from "../components/pipeline/PipelineScopePi
2
2
  import { useAppNavigate as t } from "../contexts/NavigationContext.js";
3
3
  import "../contexts/index.js";
4
4
  import { SECTION_FOCUS_RING as n, sectionSurfaceClasses as ee } from "../components/common/sectionStyles.js";
5
- import { Section as r, SectionStack as i } from "../components/common/Section.js";
6
- import { isNative as a, nativeNotify as o } from "../../utils/nativeBridge.js";
7
- import te from "../hooks/usePipelineOperations.js";
8
- import { usePipelineStore as s } from "../store/pipelineStore.js";
9
- import { PipelineCard as ne } from "../components/pipeline/PipelineCard.js";
10
- import { PipelineDeleteDialog as re } from "../components/pipeline/PipelineDeleteDialog.js";
5
+ import { Section as r, SectionStack as te } from "../components/common/Section.js";
6
+ import { isNative as i, nativeNotify as a } from "../../utils/nativeBridge.js";
7
+ import ne from "../hooks/usePipelineOperations.js";
8
+ import { usePipelineStore as o } from "../store/pipelineStore.js";
9
+ import { PipelineCard as re } from "../components/pipeline/PipelineCard.js";
10
+ import { PipelineDeleteDialog as ie } from "../components/pipeline/PipelineDeleteDialog.js";
11
11
  import "../components/common/index.js";
12
- import { pipelinesListControls as c } from "../assistant/pageControls.js";
13
- import { BIGCONSOLE_PERMISSIONS as l } from "../../constants/permissions.js";
14
- import { memo as u, useCallback as d, useMemo as f, useState as p } from "react";
15
- import { useSearchParams as ie } from "react-router";
16
- import { AccessDenied as ae, PermissionButton as m } from "@burdenoff/fe-libs/shared/components";
17
- import { usePermissions as oe } from "@burdenoff/fe-libs/shared/providers/shell";
18
- import { AlertCircle as se, GitBranch as ce, LayoutGrid as h, List as le, Plus as g, Search as _ } from "lucide-react";
19
- import { AuroraBackground as v, Button as y, GradientText as ue, IllustratedEmptyState as b, Input as x, PagePurpose as S, Spinner as C } from "@burdenoff/fe-libs/ui";
20
- import { useI18n as w } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
21
- import { jsx as T, jsxs as E } from "react/jsx-runtime";
22
- import { useAssistantPageControls as de } from "@burdenoff/fe-libs/shared/assistant/appControls/useAssistantControl";
12
+ import { pipelinesListControls as s } from "../assistant/pageControls.js";
13
+ import { BIGCONSOLE_PERMISSIONS as c } from "../../constants/permissions.js";
14
+ import { memo as l, useCallback as u, useMemo as d, useState as f } from "react";
15
+ import { useSearchParams as ae } from "react-router";
16
+ import { AccessDenied as oe, PermissionButton as p } from "@burdenoff/fe-libs/shared/components";
17
+ import { usePermissions as se } from "@burdenoff/fe-libs/shared/providers/shell";
18
+ import { AlertCircle as ce, GitBranch as le, LayoutGrid as ue, List as de, Plus as m, Search as fe } from "lucide-react";
19
+ import { AuroraBackground as pe, Button as h, EmptyState as g, GradientText as _, IllustratedEmptyState as v, Input as y, PagePurpose as me, Spinner as b, useGlassEmptyStates as he } from "@burdenoff/fe-libs/ui";
20
+ import { useI18n as ge } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
21
+ import { Fragment as _e, jsx as x, jsxs as S } from "react/jsx-runtime";
22
+ import { useAssistantPageControls as ve } from "@burdenoff/fe-libs/shared/assistant/appControls/useAssistantControl";
23
23
  // src/bigconsole/pages/PipelinesPage.tsx
24
- var D = u(function() {
25
- let u = t(), { t: D } = w(), { hasPermission: O, isLoading: k } = oe(), A = O(l.PIPELINE_READ), j = O(l.PIPELINE_UPDATE), M = O(l.PIPELINE_DELETE), N = O(l.PIPELINE_TEST), [P, F] = p("all"), [I, L] = ie(), R = I.get("consoleId") || "default", [z, B] = p("grid"), V = s((e) => e.searchQuery), H = s((e) => e.setSearchQuery), fe = s((e) => e.deleteDialogOpen), U = s((e) => e.currentPipeline), W = s((e) => e.openDeleteDialog), G = s((e) => e.closeDeleteDialog), { loading: K, error: q, pipelines: J, deletePipeline: Y, refetch: pe } = te({ consoleId: R }), X = f(() => {
26
- let e = [...J];
27
- if (P !== "all" && (e = e.filter((e) => e.status === P)), V.trim()) {
28
- let t = V.toLowerCase();
24
+ var C = l(function() {
25
+ let l = t(), { t: C } = ge(), { hasPermission: w, isLoading: T } = se(), E = he(), D = w(c.PIPELINE_READ), O = w(c.PIPELINE_UPDATE), k = w(c.PIPELINE_DELETE), A = w(c.PIPELINE_TEST), [j, M] = f("all"), [N, P] = ae(), F = N.get("consoleId") || "default", [I, L] = f("grid"), R = o((e) => e.searchQuery), z = o((e) => e.setSearchQuery), ye = o((e) => e.deleteDialogOpen), B = o((e) => e.currentPipeline), V = o((e) => e.openDeleteDialog), H = o((e) => e.closeDeleteDialog), { loading: U, error: W, pipelines: G, deletePipeline: K, refetch: q } = ne({ consoleId: F }), J = d(() => {
26
+ let e = [...G];
27
+ if (j !== "all" && (e = e.filter((e) => e.status === j)), R.trim()) {
28
+ let t = R.toLowerCase();
29
29
  e = e.filter((e) => e.name.toLowerCase().includes(t) || e.description?.toLowerCase().includes(t));
30
30
  }
31
31
  return e.sort((e, t) => new Date(t.updatedAt).getTime() - new Date(e.updatedAt).getTime());
32
32
  }, [
33
- J,
34
- P,
35
- V
36
- ]), Z = d(() => {
37
- u(`/pipelines/new?consoleId=${encodeURIComponent(R)}`);
38
- }, [u, R]), me = d((e) => {
39
- u(`/pipelines/${e}`);
40
- }, [u]), he = d((e) => {
41
- u(`/pipelines/${e}/edit`);
42
- }, [u]), ge = d((e) => {
43
- u(`/pipelines/${e}?test=true`);
44
- }, [u]), _e = d((e) => {
45
- let t = J.find((t) => t.id === e);
46
- t && W(t);
47
- }, [J, W]), ve = d(async () => {
48
- if (U) {
33
+ G,
34
+ j,
35
+ R
36
+ ]), Y = u(() => {
37
+ l(`/pipelines/new?consoleId=${encodeURIComponent(F)}`);
38
+ }, [l, F]), be = u((e) => {
39
+ l(`/pipelines/${e}`);
40
+ }, [l]), xe = u((e) => {
41
+ l(`/pipelines/${e}/edit`);
42
+ }, [l]), X = u((e) => {
43
+ l(`/pipelines/${e}?test=true`);
44
+ }, [l]), Se = u((e) => {
45
+ let t = G.find((t) => t.id === e);
46
+ t && V(t);
47
+ }, [G, V]), Ce = u(async () => {
48
+ if (B) {
49
49
  try {
50
- await Y(U.id), a() && o("success");
50
+ await K(B.id), i() && a("success");
51
51
  } catch (e) {
52
- throw a() && o("error"), e;
52
+ throw i() && a("error"), e;
53
53
  }
54
- G();
54
+ H();
55
55
  }
56
56
  }, [
57
- U,
58
- Y,
59
- G
60
- ]), ye = d(() => {
61
- F("all"), H("");
62
- }, [H]), Q = f(() => [
57
+ B,
58
+ K,
59
+ H
60
+ ]), Z = u(() => {
61
+ M("all"), z("");
62
+ }, [z]), Q = d(() => [
63
63
  {
64
64
  value: "all",
65
- label: D("bigconsole.pipelines.filters.all", "All")
65
+ label: C("bigconsole.pipelines.filters.all", "All")
66
66
  },
67
67
  {
68
68
  value: "draft",
69
- label: D("bigconsole.pipelines.filters.draft", "Draft")
69
+ label: C("bigconsole.pipelines.filters.draft", "Draft")
70
70
  },
71
71
  {
72
72
  value: "active",
73
- label: D("bigconsole.pipelines.filters.active", "Active")
73
+ label: C("bigconsole.pipelines.filters.active", "Active")
74
74
  },
75
75
  {
76
76
  value: "inactive",
77
- label: D("bigconsole.pipelines.filters.inactive", "Inactive")
77
+ label: C("bigconsole.pipelines.filters.inactive", "Inactive")
78
78
  },
79
79
  {
80
80
  value: "error",
81
- label: D("bigconsole.pipelines.filters.error", "Error")
81
+ label: C("bigconsole.pipelines.filters.error", "Error")
82
82
  }
83
- ], [D]), be = f(() => !k && A && !q ? c({
84
- tr: D,
83
+ ], [C]), we = d(() => !T && D && !W ? s({
84
+ tr: C,
85
85
  statusOptions: Q,
86
- status: P,
86
+ status: j,
87
87
  setStatus: (e) => {
88
88
  let t = Q.find((t) => t.value === e);
89
- t && F(t.value);
89
+ t && M(t.value);
90
90
  },
91
- setSearch: H
91
+ setSearch: z
92
92
  }) : null, [
93
+ C,
94
+ T,
93
95
  D,
94
- k,
95
- A,
96
- q,
96
+ W,
97
97
  Q,
98
- P,
99
- H
98
+ j,
99
+ z
100
100
  ]);
101
- if (de(be), k) return /* @__PURE__ */ T("div", {
101
+ if (ve(we), T) return /* @__PURE__ */ x("div", {
102
102
  style: {
103
103
  display: "flex",
104
104
  alignItems: "center",
105
105
  justifyContent: "center",
106
106
  padding: "80px 0"
107
107
  },
108
- children: /* @__PURE__ */ T(C, { style: {
108
+ children: /* @__PURE__ */ x(b, { style: {
109
109
  height: "var(--size-icon-xl)",
110
110
  width: "var(--size-icon-xl)"
111
111
  } })
112
112
  });
113
- if (!A) return /* @__PURE__ */ T(ae, {
114
- title: D("bigconsole.pipelines.errors.accessDeniedTitle", "Access Denied"),
115
- description: D("bigconsole.pipelines.errors.accessDeniedListDescription", "You don't have permission to view pipelines.")
113
+ if (!D) return /* @__PURE__ */ x(oe, {
114
+ title: C("bigconsole.pipelines.errors.accessDeniedTitle", "Access Denied"),
115
+ description: C("bigconsole.pipelines.errors.accessDeniedListDescription", "You don't have permission to view pipelines.")
116
116
  });
117
- let $ = /* @__PURE__ */ E("header", {
117
+ let $ = /* @__PURE__ */ S("header", {
118
118
  className: "relative overflow-hidden border-b border-[var(--color-border-seam)] bg-[image:var(--gradient-gloss-card)]",
119
- children: [/* @__PURE__ */ T(v, { intensity: "subtle" }), /* @__PURE__ */ E("div", {
119
+ children: [/* @__PURE__ */ x(pe, { intensity: "subtle" }), /* @__PURE__ */ S("div", {
120
120
  className: "flex flex-col gap-form-gap sm:flex-row sm:items-center sm:justify-between",
121
121
  style: { padding: "var(--space-pagePadding)" },
122
- children: [/* @__PURE__ */ E("div", {
122
+ children: [/* @__PURE__ */ S("div", {
123
123
  className: "flex min-w-0 items-center gap-form-gap",
124
- children: [/* @__PURE__ */ T("span", {
124
+ children: [/* @__PURE__ */ x("span", {
125
125
  "aria-hidden": "true",
126
126
  className: "flex shrink-0 items-center justify-center rounded-card",
127
127
  style: {
@@ -129,121 +129,137 @@ var D = u(function() {
129
129
  width: "var(--size-controlHeight-lg)",
130
130
  backgroundColor: "var(--color-action-primary-bg)"
131
131
  },
132
- children: /* @__PURE__ */ T(ce, { style: {
132
+ children: /* @__PURE__ */ x(le, { style: {
133
133
  height: "var(--size-icon-lg)",
134
134
  width: "var(--size-icon-lg)",
135
135
  color: "var(--color-action-primary-text)"
136
136
  } })
137
- }), /* @__PURE__ */ E("div", {
137
+ }), /* @__PURE__ */ S("div", {
138
138
  className: "min-w-0",
139
- children: [/* @__PURE__ */ T("h1", {
139
+ children: [/* @__PURE__ */ x("h1", {
140
140
  className: "text-2xl font-bold leading-tight text-text-primary",
141
- children: /* @__PURE__ */ T(ue, { children: D("bigconsole.pipelines.list.heading", "Pipelines") })
142
- }), /* @__PURE__ */ T("p", {
141
+ children: /* @__PURE__ */ x(_, { children: C("bigconsole.pipelines.list.heading", "Pipelines") })
142
+ }), /* @__PURE__ */ x("p", {
143
143
  className: "text-sm text-text-secondary",
144
- children: D("bigconsole.pipelines.list.subtitle", "Create and manage sequential parser chains for data transformation")
144
+ children: C("bigconsole.pipelines.list.subtitle", "Create and manage sequential parser chains for data transformation")
145
145
  })]
146
146
  })]
147
- }), /* @__PURE__ */ T(m, {
148
- permission: l.PIPELINE_CREATE,
147
+ }), /* @__PURE__ */ x(p, {
148
+ permission: c.PIPELINE_CREATE,
149
149
  deniedBehavior: "disable",
150
- children: /* @__PURE__ */ E(y, {
151
- onClick: Z,
150
+ children: /* @__PURE__ */ S(h, {
151
+ onClick: Y,
152
152
  className: "w-full shrink-0 min-h-[var(--size-controlHeight-md)] sm:w-auto",
153
- children: [/* @__PURE__ */ T(g, { className: "h-icon-sm w-icon-sm" }), D("bigconsole.pipelines.actions.createPipeline", "Create Pipeline")]
153
+ children: [/* @__PURE__ */ x(m, { className: "h-icon-sm w-icon-sm" }), C("bigconsole.pipelines.actions.createPipeline", "Create Pipeline")]
154
154
  })
155
155
  })]
156
156
  })]
157
157
  });
158
- return q ? /* @__PURE__ */ E("div", {
158
+ return W ? /* @__PURE__ */ S("div", {
159
159
  className: "min-h-screen bg-bg-canvas",
160
- children: [$, /* @__PURE__ */ T("div", {
160
+ children: [$, /* @__PURE__ */ x("div", {
161
161
  style: { padding: "var(--space-pagePadding)" },
162
- children: /* @__PURE__ */ T(r, {
162
+ children: E ? /* @__PURE__ */ x("div", {
163
+ "data-testid": "pipelines-error",
164
+ children: /* @__PURE__ */ x(g, {
165
+ kind: "error",
166
+ size: "page",
167
+ title: C("bigconsole.pipelines.errors.loadListTitle", "Failed to load Pipelines"),
168
+ description: /* @__PURE__ */ S(_e, { children: [W.message, /* @__PURE__ */ x("span", {
169
+ className: "mt-1 block",
170
+ children: "Nothing was changed. Retry once the console service is reachable again."
171
+ })] }),
172
+ action: /* @__PURE__ */ x(h, {
173
+ size: "sm",
174
+ onClick: () => q(),
175
+ children: C("bigconsole.pipelines.actions.tryAgain", "Try Again")
176
+ })
177
+ })
178
+ }) : /* @__PURE__ */ x(r, {
163
179
  tone: "danger",
164
180
  headingLevel: 2,
165
- title: D("bigconsole.pipelines.errors.loadListTitle", "Failed to load Pipelines"),
166
- description: q.message,
167
- icon: /* @__PURE__ */ T(se, { className: "h-icon-sm w-icon-sm" }),
168
- actions: /* @__PURE__ */ T(y, {
181
+ title: C("bigconsole.pipelines.errors.loadListTitle", "Failed to load Pipelines"),
182
+ description: W.message,
183
+ icon: /* @__PURE__ */ x(ce, { className: "h-icon-sm w-icon-sm" }),
184
+ actions: /* @__PURE__ */ x(h, {
169
185
  size: "sm",
170
- onClick: () => pe(),
171
- children: D("bigconsole.pipelines.actions.tryAgain", "Try Again")
186
+ onClick: () => q(),
187
+ children: C("bigconsole.pipelines.actions.tryAgain", "Try Again")
172
188
  }),
173
189
  "data-testid": "pipelines-error",
174
- children: /* @__PURE__ */ T("p", {
190
+ children: /* @__PURE__ */ x("p", {
175
191
  className: "text-sm text-text-secondary",
176
192
  children: "Nothing was changed. Retry once the console service is reachable again."
177
193
  })
178
194
  })
179
195
  })]
180
- }) : /* @__PURE__ */ E("div", {
196
+ }) : /* @__PURE__ */ S("div", {
181
197
  className: "min-h-screen bg-bg-canvas",
182
198
  children: [
183
199
  $,
184
- /* @__PURE__ */ T("div", {
200
+ /* @__PURE__ */ x("div", {
185
201
  style: { padding: "var(--space-pagePadding)" },
186
- children: /* @__PURE__ */ E(i, { children: [
187
- /* @__PURE__ */ T(S, {
202
+ children: /* @__PURE__ */ S(te, { children: [
203
+ /* @__PURE__ */ x(me, {
188
204
  className: "max-w-[75ch]",
189
- children: D("bigconsole.pipelines.list.purpose", "Pipelines chain parsers and data sinks into a repeatable flow — they take raw input, run it through your parsers, and route the structured result into a sink. Use them to turn messy logs, files, or API payloads into clean, queryable data your dashboards can use.")
205
+ children: C("bigconsole.pipelines.list.purpose", "Pipelines chain parsers and data sinks into a repeatable flow — they take raw input, run it through your parsers, and route the structured result into a sink. Use them to turn messy logs, files, or API payloads into clean, queryable data your dashboards can use.")
190
206
  }),
191
- /* @__PURE__ */ E("section", {
207
+ /* @__PURE__ */ S("section", {
192
208
  "aria-label": "Filter and search pipelines",
193
209
  "data-testid": "pipelines-toolbar",
194
210
  "data-section-emphasis": "bare",
195
211
  className: ee("bare", "neutral", "none"),
196
- children: [/* @__PURE__ */ T(e, {
197
- value: R,
212
+ children: [/* @__PURE__ */ x(e, {
213
+ value: F,
198
214
  onChange: (e) => {
199
- let t = new URLSearchParams(I);
200
- t.set("consoleId", e), L(t);
215
+ let t = new URLSearchParams(N);
216
+ t.set("consoleId", e), P(t);
201
217
  }
202
- }), /* @__PURE__ */ E("div", {
218
+ }), /* @__PURE__ */ S("div", {
203
219
  className: "mt-form-gap flex flex-col gap-control-gap md:flex-row md:items-center md:justify-between",
204
220
  children: [
205
- /* @__PURE__ */ T("div", {
221
+ /* @__PURE__ */ x("div", {
206
222
  role: "group",
207
223
  "aria-label": "Filter by status",
208
224
  className: "flex min-w-0 max-w-full items-center gap-1 overflow-x-auto rounded-card bg-bg-sunken p-1",
209
- children: Q.map((e) => /* @__PURE__ */ T("button", {
225
+ children: Q.map((e) => /* @__PURE__ */ x("button", {
210
226
  type: "button",
211
- "aria-pressed": P === e.value,
212
- onClick: () => F(e.value),
227
+ "aria-pressed": j === e.value,
228
+ onClick: () => M(e.value),
213
229
  className: `shrink-0 whitespace-nowrap rounded-button text-sm font-medium motion-safe:transition-colors ${n}`,
214
230
  style: {
215
231
  minHeight: "var(--size-controlHeight-md)",
216
232
  padding: "0 var(--space-formGap)",
217
233
  border: "none",
218
234
  cursor: "pointer",
219
- backgroundColor: P === e.value ? "var(--color-bg-surface)" : "transparent",
220
- color: P === e.value ? "var(--color-text-primary)" : "var(--color-text-secondary)",
221
- boxShadow: P === e.value ? "var(--shadow-elevation-1)" : "none"
235
+ backgroundColor: j === e.value ? "var(--color-bg-surface)" : "transparent",
236
+ color: j === e.value ? "var(--color-text-primary)" : "var(--color-text-secondary)",
237
+ boxShadow: j === e.value ? "var(--shadow-elevation-1)" : "none"
222
238
  },
223
239
  children: e.label
224
240
  }, e.value))
225
241
  }),
226
- /* @__PURE__ */ E("div", {
242
+ /* @__PURE__ */ S("div", {
227
243
  role: "group",
228
244
  "aria-label": "Pipeline layout",
229
245
  className: "flex shrink-0 gap-1",
230
- children: [/* @__PURE__ */ T(y, {
231
- variant: z === "grid" ? "secondary" : "ghost",
246
+ children: [/* @__PURE__ */ x(h, {
247
+ variant: I === "grid" ? "secondary" : "ghost",
232
248
  "aria-label": "Grid view",
233
- "aria-pressed": z === "grid",
234
- onClick: () => B("grid"),
235
- children: /* @__PURE__ */ T(h, { className: "h-icon-sm w-icon-sm" })
236
- }), /* @__PURE__ */ T(y, {
237
- variant: z === "list" ? "secondary" : "ghost",
249
+ "aria-pressed": I === "grid",
250
+ onClick: () => L("grid"),
251
+ children: /* @__PURE__ */ x(ue, { className: "h-icon-sm w-icon-sm" })
252
+ }), /* @__PURE__ */ x(h, {
253
+ variant: I === "list" ? "secondary" : "ghost",
238
254
  "aria-label": "List view",
239
- "aria-pressed": z === "list",
240
- onClick: () => B("list"),
241
- children: /* @__PURE__ */ T(le, { className: "h-icon-sm w-icon-sm" })
255
+ "aria-pressed": I === "list",
256
+ onClick: () => L("list"),
257
+ children: /* @__PURE__ */ x(de, { className: "h-icon-sm w-icon-sm" })
242
258
  })]
243
259
  }),
244
- /* @__PURE__ */ E("div", {
260
+ /* @__PURE__ */ S("div", {
245
261
  className: "relative w-full md:max-w-[320px]",
246
- children: [/* @__PURE__ */ T(_, {
262
+ children: [/* @__PURE__ */ x(fe, {
247
263
  "aria-hidden": "true",
248
264
  style: {
249
265
  position: "absolute",
@@ -254,12 +270,12 @@ var D = u(function() {
254
270
  width: "var(--size-icon-sm)",
255
271
  color: "var(--color-text-muted)"
256
272
  }
257
- }), /* @__PURE__ */ T(x, {
273
+ }), /* @__PURE__ */ x(y, {
258
274
  type: "text",
259
- "aria-label": D("bigconsole.pipelines.list.searchPlaceholder", "Search pipelines..."),
260
- placeholder: D("bigconsole.pipelines.list.searchPlaceholder", "Search pipelines..."),
261
- value: V,
262
- onChange: (e) => H(e.target.value),
275
+ "aria-label": C("bigconsole.pipelines.list.searchPlaceholder", "Search pipelines..."),
276
+ placeholder: C("bigconsole.pipelines.list.searchPlaceholder", "Search pipelines..."),
277
+ value: R,
278
+ onChange: (e) => z(e.target.value),
263
279
  style: {
264
280
  paddingLeft: "var(--size-controlHeight-md)",
265
281
  height: "var(--size-controlHeight-md)"
@@ -269,86 +285,103 @@ var D = u(function() {
269
285
  ]
270
286
  })]
271
287
  }),
272
- /* @__PURE__ */ E(r, {
288
+ /* @__PURE__ */ S(r, {
273
289
  emphasis: "primary",
274
290
  headingLevel: 2,
275
291
  title: "Your pipelines",
276
292
  description: "Open one to review its stages, or run a quick test against sample input.",
277
- meta: !K || J.length > 0 ? /* @__PURE__ */ E("span", {
293
+ meta: !U || G.length > 0 ? /* @__PURE__ */ S("span", {
278
294
  className: "rounded-pill bg-bg-sunken px-2 py-0.5 text-xs font-medium text-text-secondary",
279
- children: [X.length, X.length === J.length ? "" : ` of ${J.length}`]
295
+ children: [J.length, J.length === G.length ? "" : ` of ${G.length}`]
280
296
  }) : null,
281
297
  "data-testid": "pipelines-results",
282
298
  children: [
283
- K && J.length === 0 && /* @__PURE__ */ T("div", {
299
+ U && G.length === 0 && /* @__PURE__ */ x("div", {
284
300
  className: "flex items-center justify-center py-12",
285
301
  role: "status",
286
- children: /* @__PURE__ */ E("div", {
302
+ children: /* @__PURE__ */ S("div", {
287
303
  className: "text-center",
288
- children: [/* @__PURE__ */ T(C, { style: {
304
+ children: [/* @__PURE__ */ x(b, { style: {
289
305
  height: "var(--size-icon-xl)",
290
306
  width: "var(--size-icon-xl)",
291
307
  margin: "0 auto var(--space-formGap)"
292
- } }), /* @__PURE__ */ T("p", {
308
+ } }), /* @__PURE__ */ x("p", {
293
309
  className: "text-sm text-text-muted",
294
- children: D("bigconsole.pipelines.list.loading", "Loading pipelines...")
310
+ children: C("bigconsole.pipelines.list.loading", "Loading pipelines...")
295
311
  })]
296
312
  })
297
313
  }),
298
- !K && J.length === 0 && /* @__PURE__ */ T("div", {
314
+ !U && G.length === 0 && /* @__PURE__ */ x("div", {
299
315
  "data-testid": "pipelines-empty",
300
- children: /* @__PURE__ */ T(b, {
316
+ children: /* @__PURE__ */ x(v, {
301
317
  illustration: "empty-data",
302
- title: D("bigconsole.pipelines.list.emptyTitle", "No Pipelines yet"),
303
- description: D("bigconsole.pipelines.list.emptyDescription", "Create a pipeline to chain parsers together for sequential data transformation. Each stage processes the output of the previous stage."),
304
- action: /* @__PURE__ */ T(m, {
305
- permission: l.PIPELINE_CREATE,
318
+ kind: "first-use",
319
+ glassIllustration: "workflows",
320
+ size: "page",
321
+ title: C("bigconsole.pipelines.list.emptyTitle", "No Pipelines yet"),
322
+ description: C("bigconsole.pipelines.list.emptyDescription", "Create a pipeline to chain parsers together for sequential data transformation. Each stage processes the output of the previous stage."),
323
+ action: /* @__PURE__ */ x(p, {
324
+ permission: c.PIPELINE_CREATE,
306
325
  deniedBehavior: "disable",
307
- children: /* @__PURE__ */ E(y, {
308
- onClick: Z,
326
+ children: /* @__PURE__ */ S(h, {
327
+ onClick: Y,
309
328
  className: "min-h-[var(--size-controlHeight-md)]",
310
- children: [/* @__PURE__ */ T(g, { className: "h-icon-sm w-icon-sm" }), D("bigconsole.pipelines.actions.createPipeline", "Create Pipeline")]
329
+ children: [/* @__PURE__ */ x(m, { className: "h-icon-sm w-icon-sm" }), C("bigconsole.pipelines.actions.createPipeline", "Create Pipeline")]
311
330
  })
312
331
  })
313
332
  })
314
333
  }),
315
- !K && X.length === 0 && J.length > 0 && /* @__PURE__ */ T(r, {
334
+ !U && J.length === 0 && G.length > 0 && (E ? /* @__PURE__ */ x("div", {
335
+ "data-testid": "pipelines-no-results",
336
+ children: /* @__PURE__ */ x(g, {
337
+ kind: R.trim() ? "no-results" : "filtered",
338
+ size: "panel",
339
+ title: C("bigconsole.pipelines.list.noResultsTitle", "No matching pipelines"),
340
+ description: C("bigconsole.pipelines.list.noResultsDescription", "No pipelines match your filters"),
341
+ action: /* @__PURE__ */ x(h, {
342
+ size: "sm",
343
+ variant: "secondary",
344
+ onClick: Z,
345
+ children: "Clear filters"
346
+ })
347
+ })
348
+ }) : /* @__PURE__ */ x(r, {
316
349
  emphasis: "muted",
317
350
  tone: "info",
318
351
  padding: "compact",
319
352
  headingLevel: 3,
320
- title: D("bigconsole.pipelines.list.noResultsTitle", "No matching pipelines"),
321
- description: D("bigconsole.pipelines.list.noResultsDescription", "No pipelines match your filters"),
322
- actions: /* @__PURE__ */ T(y, {
353
+ title: C("bigconsole.pipelines.list.noResultsTitle", "No matching pipelines"),
354
+ description: C("bigconsole.pipelines.list.noResultsDescription", "No pipelines match your filters"),
355
+ actions: /* @__PURE__ */ x(h, {
323
356
  size: "sm",
324
357
  variant: "secondary",
325
- onClick: ye,
358
+ onClick: Z,
326
359
  children: "Clear filters"
327
360
  }),
328
361
  "data-testid": "pipelines-no-results"
329
- }),
330
- X.length > 0 && /* @__PURE__ */ T("div", {
331
- className: z === "grid" ? "grid grid-cols-1 gap-form-gap sm:grid-cols-2 xl:grid-cols-3" : "grid grid-cols-1 gap-form-gap",
332
- "data-layout": z,
333
- children: X.map((e) => /* @__PURE__ */ T(ne, {
362
+ })),
363
+ J.length > 0 && /* @__PURE__ */ x("div", {
364
+ className: I === "grid" ? "grid grid-cols-1 gap-form-gap sm:grid-cols-2 xl:grid-cols-3" : "grid grid-cols-1 gap-form-gap",
365
+ "data-layout": I,
366
+ children: J.map((e) => /* @__PURE__ */ x(re, {
334
367
  pipeline: e,
335
- onView: me,
336
- onEdit: j ? he : void 0,
337
- onTest: N ? ge : void 0,
338
- onDelete: M ? _e : void 0
368
+ onView: be,
369
+ onEdit: O ? xe : void 0,
370
+ onTest: A ? X : void 0,
371
+ onDelete: k ? Se : void 0
339
372
  }, e.id))
340
373
  })
341
374
  ]
342
375
  })
343
376
  ] })
344
377
  }),
345
- U && /* @__PURE__ */ T(re, {
346
- pipeline: U,
347
- isOpen: fe,
348
- onClose: G,
349
- onConfirm: ve
378
+ B && /* @__PURE__ */ x(ie, {
379
+ pipeline: B,
380
+ isOpen: ye,
381
+ onClose: H,
382
+ onConfirm: Ce
350
383
  })
351
384
  ]
352
385
  });
353
386
  });
354
- export { D as PipelinesPage, D as default };
387
+ export { C as PipelinesPage, C as default };