@burdenoff/microfe-bigconsole 2026.1012.4 → 2026.1012.5

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 (129) hide show
  1. package/dist/bigconsole/BigConsoleRoutes.js +149 -140
  2. package/dist/bigconsole/assistant/assistantProduct.js +4 -1
  3. package/dist/bigconsole/assistant/displayCopy.d.ts +32 -0
  4. package/dist/bigconsole/assistant/pageContext.d.ts +14 -0
  5. package/dist/bigconsole/assistant/pageContext.js +6 -1
  6. package/dist/bigconsole/assistant/pageControls.d.ts +81 -0
  7. package/dist/bigconsole/assistant/pageControls.js +169 -0
  8. package/dist/bigconsole/assistant/previewControl.d.ts +16 -0
  9. package/dist/bigconsole/assistant/previewControl.js +10 -0
  10. package/dist/bigconsole/assistant/recordAdapters.js +27 -26
  11. package/dist/bigconsole/assistant/usePreviewControl.d.ts +2 -0
  12. package/dist/bigconsole/assistant/usePreviewControl.js +20 -0
  13. package/dist/bigconsole/components/builder/inspector/AppearanceSection.js +9 -9
  14. package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +31 -31
  15. package/dist/bigconsole/components/common/SortBySelect.d.ts +11 -0
  16. package/dist/bigconsole/components/common/SortBySelect.js +29 -0
  17. package/dist/bigconsole/components/common/index.d.ts +1 -0
  18. package/dist/bigconsole/components/common/index.js +1 -0
  19. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +44 -44
  20. package/dist/bigconsole/components/dashboard/DashboardCanvas.js +36 -36
  21. package/dist/bigconsole/components/dashboard/DashboardToolbar.js +59 -59
  22. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +15 -15
  23. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +30 -30
  24. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +41 -41
  25. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +34 -34
  26. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +34 -34
  27. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +153 -153
  28. package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +21 -21
  29. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +46 -46
  30. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +134 -134
  31. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +101 -101
  32. package/dist/bigconsole/components/dashboard/TemplateInstallOptions.js +31 -31
  33. package/dist/bigconsole/components/dashboard/TemplateLayoutPreview.js +15 -15
  34. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +1 -1
  35. package/dist/bigconsole/components/dashboard/WidgetPalette.js +46 -46
  36. package/dist/bigconsole/components/datasink/AlertExecutionHistory.js +37 -37
  37. package/dist/bigconsole/components/datasink/AlertRuleEditor.js +66 -66
  38. package/dist/bigconsole/components/datasink/CacheTTLSelector.js +35 -35
  39. package/dist/bigconsole/components/datasink/DataSinkCard.js +51 -50
  40. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +18 -18
  41. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +20 -20
  42. package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +47 -47
  43. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +91 -91
  44. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +35 -35
  45. package/dist/bigconsole/components/parser/DataSinkSelector.js +40 -40
  46. package/dist/bigconsole/components/parser/ImportParserDialog.js +120 -120
  47. package/dist/bigconsole/components/parser/ParserSelector.js +51 -51
  48. package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +10 -10
  49. package/dist/bigconsole/components/preview/AiPreviewMiniPanel.js +77 -76
  50. package/dist/bigconsole/components/preview/AiPreviewPanel.js +96 -95
  51. package/dist/bigconsole/components/widgets/ActionConfigDialog.js +4 -4
  52. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +93 -93
  53. package/dist/bigconsole/components/widgets/PropertiesPanel.js +507 -499
  54. package/dist/bigconsole/components/widgets/advanced/AdvancedWidgetConfig.js +14 -14
  55. package/dist/bigconsole/components/widgets/advanced/AdvancedWidgets.js +68 -67
  56. package/dist/bigconsole/components/widgets/advanced/boxPlotDescription.d.ts +7 -0
  57. package/dist/bigconsole/components/widgets/advanced/boxPlotDescription.js +12 -0
  58. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +4 -4
  59. package/dist/bigconsole/components/widgets/chart/ChartConfig.js +48 -48
  60. package/dist/bigconsole/components/widgets/comments/WidgetComments.js +46 -46
  61. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +61 -61
  62. package/dist/bigconsole/components/widgets/form/FormWidget.js +36 -36
  63. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +42 -42
  64. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +25 -25
  65. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +4 -4
  66. package/dist/bigconsole/components/widgets/list/ListConfig.js +30 -30
  67. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +38 -38
  68. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +9 -9
  69. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +9 -9
  70. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +49 -49
  71. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +39 -39
  72. package/dist/bigconsole/components/widgets/table/TableConfig.js +73 -73
  73. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +64 -64
  74. package/dist/bigconsole/components/workflow/WorkflowOpenGuard.js +15 -15
  75. package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +15 -15
  76. package/dist/bigconsole/constants/backendErrors.js +94 -0
  77. package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +10 -10
  78. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +67 -67
  79. package/dist/bigconsole/hooks/useDashboardLayoutBaseline.d.ts +14 -0
  80. package/dist/bigconsole/hooks/useDashboardLayoutBaseline.js +32 -0
  81. package/dist/bigconsole/hooks/useDataSinkAlerts.d.ts +23 -0
  82. package/dist/bigconsole/hooks/useDataSinkAlerts.js +138 -113
  83. package/dist/bigconsole/hooks/useDrilldown.js +3 -3
  84. package/dist/bigconsole/hooks/useGlobalFilters.js +3 -3
  85. package/dist/bigconsole/pages/AdminPage.js +130 -130
  86. package/dist/bigconsole/pages/DashboardBuilderPage.js +72 -60
  87. package/dist/bigconsole/pages/DashboardViewPage.js +244 -221
  88. package/dist/bigconsole/pages/DashboardsPage.js +269 -221
  89. package/dist/bigconsole/pages/DataParsersPage.js +180 -157
  90. package/dist/bigconsole/pages/DataSinkAlertsPage.js +62 -55
  91. package/dist/bigconsole/pages/DataSinkBuilderPage.js +252 -234
  92. package/dist/bigconsole/pages/DataSinkViewPage.js +1 -1
  93. package/dist/bigconsole/pages/DataSinksPage.js +335 -299
  94. package/dist/bigconsole/pages/DataSourcesPage.js +5 -5
  95. package/dist/bigconsole/pages/InsightsPage.js +279 -265
  96. package/dist/bigconsole/pages/OverviewPage.js +47 -47
  97. package/dist/bigconsole/pages/ParserBuilderPage.js +229 -213
  98. package/dist/bigconsole/pages/ParserViewPage.js +97 -97
  99. package/dist/bigconsole/pages/PipelineBuilderPage.js +256 -214
  100. package/dist/bigconsole/pages/PipelineViewPage.js +146 -146
  101. package/dist/bigconsole/pages/PipelinesPage.js +107 -88
  102. package/dist/bigconsole/pages/SettingsPage.js +179 -173
  103. package/dist/bigconsole/pages/WidgetDemoPage.js +42 -42
  104. package/dist/bigconsole/pages/WorkflowViewPage.js +1 -1
  105. package/dist/bigconsole/pages/WorkflowsPage.js +141 -141
  106. package/dist/bigconsole/providers/BigConsoleQuotaProvider.js +12 -12
  107. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +34 -34
  108. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +69 -69
  109. package/dist/bigconsole/renderers/adapters/CustomRenderer.js +46 -46
  110. package/dist/bigconsole/store/widgetStore.d.ts +12 -0
  111. package/dist/bigconsole/store/widgetStore.js +3 -1
  112. package/dist/bigconsole/utils/backendError.d.ts +18 -0
  113. package/dist/bigconsole/utils/backendError.js +42 -0
  114. package/dist/bigconsole/utils/dashboardList.d.ts +28 -0
  115. package/dist/bigconsole/utils/dashboardList.js +15 -0
  116. package/dist/bigconsole/utils/dataSinkList.d.ts +15 -0
  117. package/dist/bigconsole/utils/dataSinkList.js +15 -0
  118. package/dist/bigconsole/utils/formDirty.d.ts +82 -0
  119. package/dist/bigconsole/utils/formDirty.js +21 -0
  120. package/dist/bigconsole/utils/insightsDraft.d.ts +29 -0
  121. package/dist/bigconsole/utils/insightsDraft.js +8 -0
  122. package/dist/bigconsole/utils/layoutBaseline.d.ts +130 -0
  123. package/dist/bigconsole/utils/layoutBaseline.js +96 -0
  124. package/dist/bigconsole/utils/listSort.d.ts +80 -0
  125. package/dist/bigconsole/utils/listSort.js +85 -0
  126. package/dist/bigconsole/utils/widgetFormDirty.d.ts +16 -0
  127. package/dist/bigconsole/utils/widgetFormDirty.js +13 -0
  128. package/dist/bigconsole/workflowOpen.js +15 -14
  129. package/package.json +3 -3
@@ -1,26 +1,28 @@
1
1
  import { usePipelineStore as e } from "../store/pipelineStore.js";
2
2
  import { useAppNavigate as t } from "../contexts/NavigationContext.js";
3
3
  import "../contexts/index.js";
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";
4
+ import { SECTION_FOCUS_RING as ee, sectionSurfaceClasses as te } from "../components/common/sectionStyles.js";
5
+ import { Section as n, SectionStack as ne } from "../components/common/Section.js";
6
6
  import "../components/common/index.js";
7
- import te from "../hooks/usePipelineOperations.js";
8
- import { BIGCONSOLE_PERMISSIONS as a } from "../../constants/permissions.js";
9
- import { isNative as o, nativeNotify as s } from "../../utils/nativeBridge.js";
10
- import { PipelineScopePicker as c } from "../components/pipeline/PipelineScopePicker.js";
11
- import ne from "../components/pipeline/PipelineDeleteDialog.js";
12
- import re from "../components/pipeline/PipelineCard.js";
7
+ import re from "../hooks/usePipelineOperations.js";
8
+ import { BIGCONSOLE_PERMISSIONS as r } from "../../constants/permissions.js";
9
+ import { isNative as i, nativeNotify as a } from "../../utils/nativeBridge.js";
10
+ import { pipelinesListControls as o } from "../assistant/pageControls.js";
11
+ import { PipelineScopePicker as s } from "../components/pipeline/PipelineScopePicker.js";
12
+ import c from "../components/pipeline/PipelineDeleteDialog.js";
13
+ import ie from "../components/pipeline/PipelineCard.js";
13
14
  import { memo as l, useCallback as u, useMemo as d, useState as f } from "react";
14
15
  import { useSearchParams as p } from "react-router";
15
16
  import { AccessDenied as m, PermissionButton as h } from "@burdenoff/fe-libs/shared/components";
16
17
  import { usePermissions as g } from "@burdenoff/fe-libs/shared/providers/shell";
17
- import { AlertCircle as _, GitBranch as v, LayoutGrid as y, List as ie, Plus as b, Search as ae } from "lucide-react";
18
- import { AuroraBackground as oe, Button as x, GradientText as se, IllustratedEmptyState as ce, Input as le, PagePurpose as ue, Spinner as S } from "@burdenoff/fe-libs/ui";
19
- import { jsx as C, jsxs as w } from "react/jsx-runtime";
20
- import { useI18n as T } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
18
+ import { AlertCircle as _, GitBranch as ae, LayoutGrid as oe, List as se, Plus as v, Search as ce } from "lucide-react";
19
+ import { AuroraBackground as le, Button as y, GradientText as b, IllustratedEmptyState as ue, Input as de, PagePurpose as x, Spinner as S } from "@burdenoff/fe-libs/ui";
20
+ import { useI18n as C } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
21
+ import { jsx as w, jsxs as T } from "react/jsx-runtime";
22
+ import { useAssistantPageControls as fe } from "@burdenoff/fe-libs/shared/assistant/appControls/useAssistantControl";
21
23
  //#region src/bigconsole/pages/PipelinesPage.tsx
22
24
  var E = l(function() {
23
- let l = t(), { t: E } = T(), { hasPermission: D, isLoading: O } = g(), k = D(a.PIPELINE_READ), A = D(a.PIPELINE_UPDATE), j = D(a.PIPELINE_DELETE), M = D(a.PIPELINE_TEST), [N, P] = f("all"), [F, I] = p(), L = F.get("consoleId") || "default", [R, z] = f("grid"), B = e((e) => e.searchQuery), V = e((e) => e.setSearchQuery), H = e((e) => e.deleteDialogOpen), U = e((e) => e.currentPipeline), W = e((e) => e.openDeleteDialog), G = e((e) => e.closeDeleteDialog), { loading: K, error: q, pipelines: J, deletePipeline: Y, refetch: de } = te({ consoleId: L }), X = d(() => {
25
+ let l = t(), { t: E } = C(), { hasPermission: D, isLoading: O } = g(), k = D(r.PIPELINE_READ), A = D(r.PIPELINE_UPDATE), j = D(r.PIPELINE_DELETE), M = D(r.PIPELINE_TEST), [N, P] = f("all"), [F, I] = p(), L = F.get("consoleId") || "default", [R, z] = f("grid"), B = e((e) => e.searchQuery), V = e((e) => e.setSearchQuery), H = e((e) => e.deleteDialogOpen), U = e((e) => e.currentPipeline), W = e((e) => e.openDeleteDialog), G = e((e) => e.closeDeleteDialog), { loading: K, error: q, pipelines: J, deletePipeline: Y, refetch: pe } = re({ consoleId: L }), X = d(() => {
24
26
  let e = [...J];
25
27
  if (N !== "all" && (e = e.filter((e) => e.status === N)), B.trim()) {
26
28
  let t = B.toLowerCase();
@@ -33,21 +35,21 @@ var E = l(function() {
33
35
  B
34
36
  ]), Z = u(() => {
35
37
  l(`/pipelines/new?consoleId=${encodeURIComponent(L)}`);
36
- }, [l, L]), fe = u((e) => {
38
+ }, [l, L]), me = u((e) => {
37
39
  l(`/pipelines/${e}`);
38
- }, [l]), pe = u((e) => {
40
+ }, [l]), he = u((e) => {
39
41
  l(`/pipelines/${e}/edit`);
40
- }, [l]), me = u((e) => {
42
+ }, [l]), ge = u((e) => {
41
43
  l(`/pipelines/${e}?test=true`);
42
- }, [l]), he = u((e) => {
44
+ }, [l]), _e = u((e) => {
43
45
  let t = J.find((t) => t.id === e);
44
46
  t && W(t);
45
- }, [J, W]), ge = u(async () => {
47
+ }, [J, W]), ve = u(async () => {
46
48
  if (U) {
47
49
  try {
48
- await Y(U.id), o() && s("success");
50
+ await Y(U.id), i() && a("success");
49
51
  } catch (e) {
50
- throw o() && s("error"), e;
52
+ throw i() && a("error"), e;
51
53
  }
52
54
  G();
53
55
  }
@@ -55,9 +57,9 @@ var E = l(function() {
55
57
  U,
56
58
  Y,
57
59
  G
58
- ]), _e = u(() => {
60
+ ]), ye = u(() => {
59
61
  P("all"), V("");
60
- }, [V]), Q = [
62
+ }, [V]), Q = d(() => [
61
63
  {
62
64
  value: "all",
63
65
  label: E("bigconsole.pipelines.filters.all", "All")
@@ -78,31 +80,48 @@ var E = l(function() {
78
80
  value: "error",
79
81
  label: E("bigconsole.pipelines.filters.error", "Error")
80
82
  }
81
- ];
82
- if (O) return /* @__PURE__ */ C("div", {
83
+ ], [E]);
84
+ if (fe(d(() => !O && k && !q ? o({
85
+ tr: E,
86
+ statusOptions: Q,
87
+ status: N,
88
+ setStatus: (e) => {
89
+ let t = Q.find((t) => t.value === e);
90
+ t && P(t.value);
91
+ },
92
+ setSearch: V
93
+ }) : null, [
94
+ E,
95
+ O,
96
+ k,
97
+ q,
98
+ Q,
99
+ N,
100
+ V
101
+ ])), O) return /* @__PURE__ */ w("div", {
83
102
  style: {
84
103
  display: "flex",
85
104
  alignItems: "center",
86
105
  justifyContent: "center",
87
106
  padding: "80px 0"
88
107
  },
89
- children: /* @__PURE__ */ C(S, { style: {
108
+ children: /* @__PURE__ */ w(S, { style: {
90
109
  height: "var(--size-icon-xl)",
91
110
  width: "var(--size-icon-xl)"
92
111
  } })
93
112
  });
94
- if (!k) return /* @__PURE__ */ C(m, {
113
+ if (!k) return /* @__PURE__ */ w(m, {
95
114
  title: E("bigconsole.pipelines.errors.accessDeniedTitle", "Access Denied"),
96
115
  description: E("bigconsole.pipelines.errors.accessDeniedListDescription", "You don't have permission to view pipelines.")
97
116
  });
98
- let $ = /* @__PURE__ */ w("header", {
117
+ let $ = /* @__PURE__ */ T("header", {
99
118
  className: "relative overflow-hidden border-b border-[var(--color-border-seam)] bg-[image:var(--gradient-gloss-card)]",
100
- children: [/* @__PURE__ */ C(oe, { intensity: "subtle" }), /* @__PURE__ */ w("div", {
119
+ children: [/* @__PURE__ */ w(le, { intensity: "subtle" }), /* @__PURE__ */ T("div", {
101
120
  className: "flex flex-col gap-form-gap sm:flex-row sm:items-center sm:justify-between",
102
121
  style: { padding: "var(--space-pagePadding)" },
103
- children: [/* @__PURE__ */ w("div", {
122
+ children: [/* @__PURE__ */ T("div", {
104
123
  className: "flex min-w-0 items-center gap-form-gap",
105
- children: [/* @__PURE__ */ C("span", {
124
+ children: [/* @__PURE__ */ w("span", {
106
125
  "aria-hidden": "true",
107
126
  className: "flex shrink-0 items-center justify-center rounded-card",
108
127
  style: {
@@ -110,88 +129,88 @@ var E = l(function() {
110
129
  width: "var(--size-controlHeight-lg)",
111
130
  backgroundColor: "var(--color-action-primary-bg)"
112
131
  },
113
- children: /* @__PURE__ */ C(v, { style: {
132
+ children: /* @__PURE__ */ w(ae, { style: {
114
133
  height: "var(--size-icon-lg)",
115
134
  width: "var(--size-icon-lg)",
116
135
  color: "var(--color-action-primary-text)"
117
136
  } })
118
- }), /* @__PURE__ */ w("div", {
137
+ }), /* @__PURE__ */ T("div", {
119
138
  className: "min-w-0",
120
- children: [/* @__PURE__ */ C("h1", {
139
+ children: [/* @__PURE__ */ w("h1", {
121
140
  className: "text-2xl font-bold leading-tight text-text-primary",
122
- children: /* @__PURE__ */ C(se, { children: E("bigconsole.pipelines.list.heading", "Pipelines") })
123
- }), /* @__PURE__ */ C("p", {
141
+ children: /* @__PURE__ */ w(b, { children: E("bigconsole.pipelines.list.heading", "Pipelines") })
142
+ }), /* @__PURE__ */ w("p", {
124
143
  className: "text-sm text-text-secondary",
125
144
  children: E("bigconsole.pipelines.list.subtitle", "Create and manage sequential parser chains for data transformation")
126
145
  })]
127
146
  })]
128
- }), /* @__PURE__ */ C(h, {
129
- permission: a.PIPELINE_CREATE,
147
+ }), /* @__PURE__ */ w(h, {
148
+ permission: r.PIPELINE_CREATE,
130
149
  deniedBehavior: "disable",
131
- children: /* @__PURE__ */ w(x, {
150
+ children: /* @__PURE__ */ T(y, {
132
151
  onClick: Z,
133
152
  className: "w-full shrink-0 min-h-[var(--size-controlHeight-md)] sm:w-auto",
134
- children: [/* @__PURE__ */ C(b, { className: "h-icon-sm w-icon-sm" }), E("bigconsole.pipelines.actions.createPipeline", "Create Pipeline")]
153
+ children: [/* @__PURE__ */ w(v, { className: "h-icon-sm w-icon-sm" }), E("bigconsole.pipelines.actions.createPipeline", "Create Pipeline")]
135
154
  })
136
155
  })]
137
156
  })]
138
157
  });
139
- return q ? /* @__PURE__ */ w("div", {
158
+ return q ? /* @__PURE__ */ T("div", {
140
159
  className: "min-h-screen bg-bg-canvas",
141
- children: [$, /* @__PURE__ */ C("div", {
160
+ children: [$, /* @__PURE__ */ w("div", {
142
161
  style: { padding: "var(--space-pagePadding)" },
143
- children: /* @__PURE__ */ C(r, {
162
+ children: /* @__PURE__ */ w(n, {
144
163
  tone: "danger",
145
164
  headingLevel: 2,
146
165
  title: E("bigconsole.pipelines.errors.loadListTitle", "Failed to load Pipelines"),
147
166
  description: q.message,
148
- icon: /* @__PURE__ */ C(_, { className: "h-icon-sm w-icon-sm" }),
149
- actions: /* @__PURE__ */ C(x, {
167
+ icon: /* @__PURE__ */ w(_, { className: "h-icon-sm w-icon-sm" }),
168
+ actions: /* @__PURE__ */ w(y, {
150
169
  size: "sm",
151
- onClick: () => de(),
170
+ onClick: () => pe(),
152
171
  children: E("bigconsole.pipelines.actions.tryAgain", "Try Again")
153
172
  }),
154
173
  "data-testid": "pipelines-error",
155
- children: /* @__PURE__ */ C("p", {
174
+ children: /* @__PURE__ */ w("p", {
156
175
  className: "text-sm text-text-secondary",
157
176
  children: "Nothing was changed. Retry once the console service is reachable again."
158
177
  })
159
178
  })
160
179
  })]
161
- }) : /* @__PURE__ */ w("div", {
180
+ }) : /* @__PURE__ */ T("div", {
162
181
  className: "min-h-screen bg-bg-canvas",
163
182
  children: [
164
183
  $,
165
- /* @__PURE__ */ C("div", {
184
+ /* @__PURE__ */ w("div", {
166
185
  style: { padding: "var(--space-pagePadding)" },
167
- children: /* @__PURE__ */ w(i, { children: [
168
- /* @__PURE__ */ C(ue, {
186
+ children: /* @__PURE__ */ T(ne, { children: [
187
+ /* @__PURE__ */ w(x, {
169
188
  className: "max-w-[75ch]",
170
189
  children: E("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.")
171
190
  }),
172
- /* @__PURE__ */ w("section", {
191
+ /* @__PURE__ */ T("section", {
173
192
  "aria-label": "Filter and search pipelines",
174
193
  "data-testid": "pipelines-toolbar",
175
194
  "data-section-emphasis": "bare",
176
- className: ee("bare", "neutral", "none"),
177
- children: [/* @__PURE__ */ C(c, {
195
+ className: te("bare", "neutral", "none"),
196
+ children: [/* @__PURE__ */ w(s, {
178
197
  value: L,
179
198
  onChange: (e) => {
180
199
  let t = new URLSearchParams(F);
181
200
  t.set("consoleId", e), I(t);
182
201
  }
183
- }), /* @__PURE__ */ w("div", {
202
+ }), /* @__PURE__ */ T("div", {
184
203
  className: "mt-form-gap flex flex-col gap-control-gap md:flex-row md:items-center md:justify-between",
185
204
  children: [
186
- /* @__PURE__ */ C("div", {
205
+ /* @__PURE__ */ w("div", {
187
206
  role: "group",
188
207
  "aria-label": "Filter by status",
189
208
  className: "flex min-w-0 max-w-full items-center gap-1 overflow-x-auto rounded-card bg-bg-sunken p-1",
190
- children: Q.map((e) => /* @__PURE__ */ C("button", {
209
+ children: Q.map((e) => /* @__PURE__ */ w("button", {
191
210
  type: "button",
192
211
  "aria-pressed": N === e.value,
193
212
  onClick: () => P(e.value),
194
- className: `shrink-0 whitespace-nowrap rounded-button text-sm font-medium motion-safe:transition-colors ${n}`,
213
+ className: `shrink-0 whitespace-nowrap rounded-button text-sm font-medium motion-safe:transition-colors ${ee}`,
195
214
  style: {
196
215
  minHeight: "var(--size-controlHeight-md)",
197
216
  padding: "0 var(--space-formGap)",
@@ -204,27 +223,27 @@ var E = l(function() {
204
223
  children: e.label
205
224
  }, e.value))
206
225
  }),
207
- /* @__PURE__ */ w("div", {
226
+ /* @__PURE__ */ T("div", {
208
227
  role: "group",
209
228
  "aria-label": "Pipeline layout",
210
229
  className: "flex shrink-0 gap-1",
211
- children: [/* @__PURE__ */ C(x, {
230
+ children: [/* @__PURE__ */ w(y, {
212
231
  variant: R === "grid" ? "secondary" : "ghost",
213
232
  "aria-label": "Grid view",
214
233
  "aria-pressed": R === "grid",
215
234
  onClick: () => z("grid"),
216
- children: /* @__PURE__ */ C(y, { className: "h-icon-sm w-icon-sm" })
217
- }), /* @__PURE__ */ C(x, {
235
+ children: /* @__PURE__ */ w(oe, { className: "h-icon-sm w-icon-sm" })
236
+ }), /* @__PURE__ */ w(y, {
218
237
  variant: R === "list" ? "secondary" : "ghost",
219
238
  "aria-label": "List view",
220
239
  "aria-pressed": R === "list",
221
240
  onClick: () => z("list"),
222
- children: /* @__PURE__ */ C(ie, { className: "h-icon-sm w-icon-sm" })
241
+ children: /* @__PURE__ */ w(se, { className: "h-icon-sm w-icon-sm" })
223
242
  })]
224
243
  }),
225
- /* @__PURE__ */ w("div", {
244
+ /* @__PURE__ */ T("div", {
226
245
  className: "relative w-full md:max-w-[320px]",
227
- children: [/* @__PURE__ */ C(ae, {
246
+ children: [/* @__PURE__ */ w(ce, {
228
247
  "aria-hidden": "true",
229
248
  style: {
230
249
  position: "absolute",
@@ -235,7 +254,7 @@ var E = l(function() {
235
254
  width: "var(--size-icon-sm)",
236
255
  color: "var(--color-text-muted)"
237
256
  }
238
- }), /* @__PURE__ */ C(le, {
257
+ }), /* @__PURE__ */ w(de, {
239
258
  type: "text",
240
259
  "aria-label": E("bigconsole.pipelines.list.searchPlaceholder", "Search pipelines..."),
241
260
  placeholder: E("bigconsole.pipelines.list.searchPlaceholder", "Search pipelines..."),
@@ -250,84 +269,84 @@ var E = l(function() {
250
269
  ]
251
270
  })]
252
271
  }),
253
- /* @__PURE__ */ w(r, {
272
+ /* @__PURE__ */ T(n, {
254
273
  emphasis: "primary",
255
274
  headingLevel: 2,
256
275
  title: "Your pipelines",
257
276
  description: "Open one to review its stages, or run a quick test against sample input.",
258
- meta: !K || J.length > 0 ? /* @__PURE__ */ w("span", {
277
+ meta: !K || J.length > 0 ? /* @__PURE__ */ T("span", {
259
278
  className: "rounded-pill bg-bg-sunken px-2 py-0.5 text-xs font-medium text-text-secondary",
260
279
  children: [X.length, X.length === J.length ? "" : ` of ${J.length}`]
261
280
  }) : null,
262
281
  "data-testid": "pipelines-results",
263
282
  children: [
264
- K && J.length === 0 && /* @__PURE__ */ C("div", {
283
+ K && J.length === 0 && /* @__PURE__ */ w("div", {
265
284
  className: "flex items-center justify-center py-12",
266
285
  role: "status",
267
- children: /* @__PURE__ */ w("div", {
286
+ children: /* @__PURE__ */ T("div", {
268
287
  className: "text-center",
269
- children: [/* @__PURE__ */ C(S, { style: {
288
+ children: [/* @__PURE__ */ w(S, { style: {
270
289
  height: "var(--size-icon-xl)",
271
290
  width: "var(--size-icon-xl)",
272
291
  margin: "0 auto var(--space-formGap)"
273
- } }), /* @__PURE__ */ C("p", {
292
+ } }), /* @__PURE__ */ w("p", {
274
293
  className: "text-sm text-text-muted",
275
294
  children: E("bigconsole.pipelines.list.loading", "Loading pipelines...")
276
295
  })]
277
296
  })
278
297
  }),
279
- !K && J.length === 0 && /* @__PURE__ */ C("div", {
298
+ !K && J.length === 0 && /* @__PURE__ */ w("div", {
280
299
  "data-testid": "pipelines-empty",
281
- children: /* @__PURE__ */ C(ce, {
300
+ children: /* @__PURE__ */ w(ue, {
282
301
  illustration: "empty-data",
283
302
  title: E("bigconsole.pipelines.list.emptyTitle", "No Pipelines yet"),
284
303
  description: E("bigconsole.pipelines.list.emptyDescription", "Create a pipeline to chain parsers together for sequential data transformation. Each stage processes the output of the previous stage."),
285
- action: /* @__PURE__ */ C(h, {
286
- permission: a.PIPELINE_CREATE,
304
+ action: /* @__PURE__ */ w(h, {
305
+ permission: r.PIPELINE_CREATE,
287
306
  deniedBehavior: "disable",
288
- children: /* @__PURE__ */ w(x, {
307
+ children: /* @__PURE__ */ T(y, {
289
308
  onClick: Z,
290
309
  className: "min-h-[var(--size-controlHeight-md)]",
291
- children: [/* @__PURE__ */ C(b, { className: "h-icon-sm w-icon-sm" }), E("bigconsole.pipelines.actions.createPipeline", "Create Pipeline")]
310
+ children: [/* @__PURE__ */ w(v, { className: "h-icon-sm w-icon-sm" }), E("bigconsole.pipelines.actions.createPipeline", "Create Pipeline")]
292
311
  })
293
312
  })
294
313
  })
295
314
  }),
296
- !K && X.length === 0 && J.length > 0 && /* @__PURE__ */ C(r, {
315
+ !K && X.length === 0 && J.length > 0 && /* @__PURE__ */ w(n, {
297
316
  emphasis: "muted",
298
317
  tone: "info",
299
318
  padding: "compact",
300
319
  headingLevel: 3,
301
320
  title: E("bigconsole.pipelines.list.noResultsTitle", "No matching pipelines"),
302
321
  description: E("bigconsole.pipelines.list.noResultsDescription", "No pipelines match your filters"),
303
- actions: /* @__PURE__ */ C(x, {
322
+ actions: /* @__PURE__ */ w(y, {
304
323
  size: "sm",
305
324
  variant: "secondary",
306
- onClick: _e,
325
+ onClick: ye,
307
326
  children: "Clear filters"
308
327
  }),
309
328
  "data-testid": "pipelines-no-results"
310
329
  }),
311
- X.length > 0 && /* @__PURE__ */ C("div", {
330
+ X.length > 0 && /* @__PURE__ */ w("div", {
312
331
  className: R === "grid" ? "grid grid-cols-1 gap-form-gap sm:grid-cols-2 xl:grid-cols-3" : "grid grid-cols-1 gap-form-gap",
313
332
  "data-layout": R,
314
- children: X.map((e) => /* @__PURE__ */ C(re, {
333
+ children: X.map((e) => /* @__PURE__ */ w(ie, {
315
334
  pipeline: e,
316
- onView: fe,
317
- onEdit: A ? pe : void 0,
318
- onTest: M ? me : void 0,
319
- onDelete: j ? he : void 0
335
+ onView: me,
336
+ onEdit: A ? he : void 0,
337
+ onTest: M ? ge : void 0,
338
+ onDelete: j ? _e : void 0
320
339
  }, e.id))
321
340
  })
322
341
  ]
323
342
  })
324
343
  ] })
325
344
  }),
326
- U && /* @__PURE__ */ C(ne, {
345
+ U && /* @__PURE__ */ w(c, {
327
346
  pipeline: U,
328
347
  isOpen: H,
329
348
  onClose: G,
330
- onConfirm: ge
349
+ onConfirm: ve
331
350
  })
332
351
  ]
333
352
  });