@burdenoff/microfe-bigconsole 2026.1004.3 → 2026.1004.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 (157) hide show
  1. package/dist/bigconsole/BigConsoleRoutes.d.ts +1 -1
  2. package/dist/bigconsole/BigConsoleRoutes.d.ts.map +1 -1
  3. package/dist/bigconsole/BigConsoleRoutes.js +15 -1
  4. package/dist/bigconsole/BigConsoleRoutes.js.map +1 -1
  5. package/dist/bigconsole/components/DrilldownDashboardRenderer.d.ts.map +1 -1
  6. package/dist/bigconsole/components/DrilldownDashboardRenderer.js +57 -56
  7. package/dist/bigconsole/components/DrilldownDashboardRenderer.js.map +1 -1
  8. package/dist/bigconsole/components/DrilldownModal.d.ts.map +1 -1
  9. package/dist/bigconsole/components/DrilldownModal.js +55 -53
  10. package/dist/bigconsole/components/DrilldownModal.js.map +1 -1
  11. package/dist/bigconsole/components/builder/inspector/DataBindingSection.d.ts +3 -1
  12. package/dist/bigconsole/components/builder/inspector/DataBindingSection.d.ts.map +1 -1
  13. package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +40 -39
  14. package/dist/bigconsole/components/builder/inspector/DataBindingSection.js.map +1 -1
  15. package/dist/bigconsole/components/dashboard/DashboardCanvas.d.ts.map +1 -1
  16. package/dist/bigconsole/components/dashboard/DashboardCanvas.js +184 -177
  17. package/dist/bigconsole/components/dashboard/DashboardCanvas.js.map +1 -1
  18. package/dist/bigconsole/components/dashboard/DashboardGrid.d.ts.map +1 -1
  19. package/dist/bigconsole/components/dashboard/DashboardGrid.js +40 -22
  20. package/dist/bigconsole/components/dashboard/DashboardGrid.js.map +1 -1
  21. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.d.ts.map +1 -1
  22. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js +31 -25
  23. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js.map +1 -1
  24. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.d.ts +1 -1
  25. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.d.ts.map +1 -1
  26. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +115 -80
  27. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js.map +1 -1
  28. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.d.ts.map +1 -1
  29. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +177 -146
  30. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js.map +1 -1
  31. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.d.ts +1 -1
  32. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.d.ts.map +1 -1
  33. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +375 -325
  34. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js.map +1 -1
  35. package/dist/bigconsole/components/datasink/CacheTTLSelector.d.ts.map +1 -1
  36. package/dist/bigconsole/components/datasink/CacheTTLSelector.js +7 -1
  37. package/dist/bigconsole/components/datasink/CacheTTLSelector.js.map +1 -1
  38. package/dist/bigconsole/components/parser/ParserSelector.d.ts +3 -1
  39. package/dist/bigconsole/components/parser/ParserSelector.d.ts.map +1 -1
  40. package/dist/bigconsole/components/parser/ParserSelector.js +94 -94
  41. package/dist/bigconsole/components/parser/ParserSelector.js.map +1 -1
  42. package/dist/bigconsole/components/pipeline/PipelineCard.d.ts.map +1 -1
  43. package/dist/bigconsole/components/pipeline/PipelineCard.js +111 -89
  44. package/dist/bigconsole/components/pipeline/PipelineCard.js.map +1 -1
  45. package/dist/bigconsole/components/pipeline/PipelineScopePicker.d.ts +8 -0
  46. package/dist/bigconsole/components/pipeline/PipelineScopePicker.d.ts.map +1 -0
  47. package/dist/bigconsole/components/pipeline/PipelineScopePicker.js +52 -0
  48. package/dist/bigconsole/components/pipeline/PipelineScopePicker.js.map +1 -0
  49. package/dist/bigconsole/components/widgets/PropertiesPanel.d.ts.map +1 -1
  50. package/dist/bigconsole/components/widgets/PropertiesPanel.js +257 -221
  51. package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -1
  52. package/dist/bigconsole/components/widgets/WidgetHeader.d.ts +1 -0
  53. package/dist/bigconsole/components/widgets/WidgetHeader.d.ts.map +1 -1
  54. package/dist/bigconsole/components/widgets/WidgetHeader.js +29 -29
  55. package/dist/bigconsole/components/widgets/WidgetHeader.js.map +1 -1
  56. package/dist/bigconsole/components/widgets/WidgetWrapper.d.ts +2 -0
  57. package/dist/bigconsole/components/widgets/WidgetWrapper.d.ts.map +1 -1
  58. package/dist/bigconsole/components/widgets/WidgetWrapper.js +247 -239
  59. package/dist/bigconsole/components/widgets/WidgetWrapper.js.map +1 -1
  60. package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.d.ts.map +1 -1
  61. package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.js +6 -4
  62. package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.js.map +1 -1
  63. package/dist/bigconsole/components/widgets/states/EmptyState.d.ts +1 -0
  64. package/dist/bigconsole/components/widgets/states/EmptyState.d.ts.map +1 -1
  65. package/dist/bigconsole/components/widgets/states/EmptyState.js +4 -4
  66. package/dist/bigconsole/components/widgets/states/EmptyState.js.map +1 -1
  67. package/dist/bigconsole/components/workflow/WorkflowDesignPreview.d.ts +7 -0
  68. package/dist/bigconsole/components/workflow/WorkflowDesignPreview.d.ts.map +1 -0
  69. package/dist/bigconsole/components/workflow/WorkflowDesignPreview.js +94 -0
  70. package/dist/bigconsole/components/workflow/WorkflowDesignPreview.js.map +1 -0
  71. package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.d.ts +7 -0
  72. package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.d.ts.map +1 -0
  73. package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js +101 -0
  74. package/dist/bigconsole/components/workflow/WorkflowSinkLinkForm.js.map +1 -0
  75. package/dist/bigconsole/hooks/useBigConsoleSettings.d.ts +16 -0
  76. package/dist/bigconsole/hooks/useBigConsoleSettings.d.ts.map +1 -0
  77. package/dist/bigconsole/hooks/useBigConsoleSettings.js +57 -0
  78. package/dist/bigconsole/hooks/useBigConsoleSettings.js.map +1 -0
  79. package/dist/bigconsole/hooks/useDashboardOperations.d.ts.map +1 -1
  80. package/dist/bigconsole/hooks/useDashboardOperations.js +102 -79
  81. package/dist/bigconsole/hooks/useDashboardOperations.js.map +1 -1
  82. package/dist/bigconsole/hooks/useExportDashboard.d.ts +3 -1
  83. package/dist/bigconsole/hooks/useExportDashboard.d.ts.map +1 -1
  84. package/dist/bigconsole/hooks/useExportDashboard.js +23 -13
  85. package/dist/bigconsole/hooks/useExportDashboard.js.map +1 -1
  86. package/dist/bigconsole/hooks/useFilterUrlSync.d.ts +18 -0
  87. package/dist/bigconsole/hooks/useFilterUrlSync.d.ts.map +1 -1
  88. package/dist/bigconsole/hooks/useFilterUrlSync.js +87 -57
  89. package/dist/bigconsole/hooks/useFilterUrlSync.js.map +1 -1
  90. package/dist/bigconsole/hooks/useGlobalFilters.d.ts.map +1 -1
  91. package/dist/bigconsole/hooks/useGlobalFilters.js +39 -29
  92. package/dist/bigconsole/hooks/useGlobalFilters.js.map +1 -1
  93. package/dist/bigconsole/hooks/usePageOperations.d.ts.map +1 -1
  94. package/dist/bigconsole/hooks/usePageOperations.js +1 -0
  95. package/dist/bigconsole/hooks/usePageOperations.js.map +1 -1
  96. package/dist/bigconsole/hooks/usePipelineOperations.d.ts.map +1 -1
  97. package/dist/bigconsole/hooks/usePipelineOperations.js +114 -112
  98. package/dist/bigconsole/hooks/usePipelineOperations.js.map +1 -1
  99. package/dist/bigconsole/hooks/useShareRecipients.d.ts +22 -0
  100. package/dist/bigconsole/hooks/useShareRecipients.d.ts.map +1 -0
  101. package/dist/bigconsole/hooks/useShareRecipients.js +198 -0
  102. package/dist/bigconsole/hooks/useShareRecipients.js.map +1 -0
  103. package/dist/bigconsole/pages/DashboardBuilderPage.d.ts.map +1 -1
  104. package/dist/bigconsole/pages/DashboardBuilderPage.js +198 -193
  105. package/dist/bigconsole/pages/DashboardBuilderPage.js.map +1 -1
  106. package/dist/bigconsole/pages/DashboardViewPage.d.ts.map +1 -1
  107. package/dist/bigconsole/pages/DashboardViewPage.js +171 -167
  108. package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -1
  109. package/dist/bigconsole/pages/DashboardsPage.d.ts.map +1 -1
  110. package/dist/bigconsole/pages/DashboardsPage.js +313 -266
  111. package/dist/bigconsole/pages/DashboardsPage.js.map +1 -1
  112. package/dist/bigconsole/pages/DataSinkBuilderPage.d.ts.map +1 -1
  113. package/dist/bigconsole/pages/DataSinkBuilderPage.js +84 -79
  114. package/dist/bigconsole/pages/DataSinkBuilderPage.js.map +1 -1
  115. package/dist/bigconsole/pages/DataSinkViewPage.d.ts.map +1 -1
  116. package/dist/bigconsole/pages/DataSinkViewPage.js +267 -257
  117. package/dist/bigconsole/pages/DataSinkViewPage.js.map +1 -1
  118. package/dist/bigconsole/pages/InsightsPage.d.ts.map +1 -1
  119. package/dist/bigconsole/pages/InsightsPage.js +465 -402
  120. package/dist/bigconsole/pages/InsightsPage.js.map +1 -1
  121. package/dist/bigconsole/pages/PipelineBuilderPage.d.ts.map +1 -1
  122. package/dist/bigconsole/pages/PipelineBuilderPage.js +169 -157
  123. package/dist/bigconsole/pages/PipelineBuilderPage.js.map +1 -1
  124. package/dist/bigconsole/pages/PipelineViewPage.d.ts.map +1 -1
  125. package/dist/bigconsole/pages/PipelineViewPage.js +370 -230
  126. package/dist/bigconsole/pages/PipelineViewPage.js.map +1 -1
  127. package/dist/bigconsole/pages/PipelinesPage.d.ts.map +1 -1
  128. package/dist/bigconsole/pages/PipelinesPage.js +181 -151
  129. package/dist/bigconsole/pages/PipelinesPage.js.map +1 -1
  130. package/dist/bigconsole/pages/SettingsPage.d.ts.map +1 -1
  131. package/dist/bigconsole/pages/SettingsPage.js +188 -208
  132. package/dist/bigconsole/pages/SettingsPage.js.map +1 -1
  133. package/dist/bigconsole/pages/WidgetDemoPage.d.ts.map +1 -1
  134. package/dist/bigconsole/pages/WidgetDemoPage.js +134 -117
  135. package/dist/bigconsole/pages/WidgetDemoPage.js.map +1 -1
  136. package/dist/bigconsole/pages/WorkflowViewPage.d.ts.map +1 -1
  137. package/dist/bigconsole/pages/WorkflowViewPage.js +315 -267
  138. package/dist/bigconsole/pages/WorkflowViewPage.js.map +1 -1
  139. package/dist/bigconsole/pages/WorkflowsPage.d.ts.map +1 -1
  140. package/dist/bigconsole/pages/WorkflowsPage.js +4 -3
  141. package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -1
  142. package/dist/bigconsole/types/index.d.ts +4 -0
  143. package/dist/bigconsole/types/index.d.ts.map +1 -1
  144. package/dist/bigconsole/utils/drilldownParams.d.ts +3 -0
  145. package/dist/bigconsole/utils/drilldownParams.d.ts.map +1 -0
  146. package/dist/bigconsole/utils/drilldownParams.js +8 -0
  147. package/dist/bigconsole/utils/drilldownParams.js.map +1 -0
  148. package/dist/generated/wspace-operations.d.ts +148 -0
  149. package/dist/generated/wspace-operations.d.ts.map +1 -1
  150. package/dist/generated/wspace-operations.js +172 -133
  151. package/dist/generated/wspace-operations.js.map +1 -1
  152. package/dist/generated/wspace-types.d.ts +21 -0
  153. package/dist/generated/wspace-types.d.ts.map +1 -1
  154. package/dist/generated/wspace-types.js.map +1 -1
  155. package/dist/microfe-bigconsole.css +1 -1
  156. package/dist/translations/en.d.ts.map +1 -1
  157. package/package.json +2 -1
@@ -4,48 +4,50 @@ import "../contexts/index.js";
4
4
  import { SECTION_FOCUS_RING as n, sectionSurfaceClasses as ee } from "../components/common/sectionStyles.js";
5
5
  import { Section as r, SectionStack as i } from "../components/common/Section.js";
6
6
  import "../components/common/index.js";
7
- import a from "../hooks/usePipelineOperations.js";
8
- import { BIGCONSOLE_PERMISSIONS as o } from "../../constants/permissions.js";
9
- import { isNative as s, nativeNotify as c } from "../../utils/nativeBridge.js";
10
- import l from "../components/pipeline/PipelineDeleteDialog.js";
11
- import u from "../components/pipeline/PipelineCard.js";
12
- import { memo as d, useCallback as f, useMemo as p, useState as m } from "react";
13
- import { AccessDenied as h, PermissionButton as g } from "@burdenoff/fe-libs/shared/components";
14
- import { usePermissions as _ } from "@burdenoff/fe-libs/shared/providers/shell";
15
- import { AlertCircle as v, GitBranch as y, Plus as b, Search as te } from "lucide-react";
16
- import { AuroraBackground as x, Button as S, GradientText as C, IllustratedEmptyState as w, Input as T, PagePurpose as E, Spinner as D } from "@burdenoff/fe-libs/ui";
17
- import { jsx as O, jsxs as k } from "react/jsx-runtime";
18
- import { useI18n as A } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
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";
13
+ import { memo as l, useCallback as u, useMemo as d, useState as f } from "react";
14
+ import { useSearchParams as p } from "react-router";
15
+ import { AccessDenied as m, PermissionButton as h } from "@burdenoff/fe-libs/shared/components";
16
+ 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";
19
21
  //#region src/bigconsole/pages/PipelinesPage.tsx
20
- var j = d(function() {
21
- let d = t(), { t: j } = A(), { hasPermission: M, isLoading: N } = _(), P = M(o.PIPELINE_READ), F = M(o.PIPELINE_UPDATE), I = M(o.PIPELINE_DELETE), L = M(o.PIPELINE_TEST), [R, z] = m("all"), 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: X } = a({ consoleId: "default" }), Z = p(() => {
22
+ 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(() => {
22
24
  let e = [...J];
23
- if (R !== "all" && (e = e.filter((e) => e.status === R)), B.trim()) {
25
+ if (N !== "all" && (e = e.filter((e) => e.status === N)), B.trim()) {
24
26
  let t = B.toLowerCase();
25
27
  e = e.filter((e) => e.name.toLowerCase().includes(t) || e.description?.toLowerCase().includes(t));
26
28
  }
27
29
  return e.sort((e, t) => new Date(t.updatedAt).getTime() - new Date(e.updatedAt).getTime());
28
30
  }, [
29
31
  J,
30
- R,
32
+ N,
31
33
  B
32
- ]), Q = f(() => {
33
- d("/pipelines/new");
34
- }, [d]), ne = f((e) => {
35
- d(`/pipelines/${e}`);
36
- }, [d]), re = f((e) => {
37
- d(`/pipelines/${e}/edit`);
38
- }, [d]), ie = f((e) => {
39
- d(`/pipelines/${e}?test=true`);
40
- }, [d]), ae = f((e) => {
34
+ ]), Z = u(() => {
35
+ l(`/pipelines/new?consoleId=${encodeURIComponent(L)}`);
36
+ }, [l, L]), fe = u((e) => {
37
+ l(`/pipelines/${e}`);
38
+ }, [l]), pe = u((e) => {
39
+ l(`/pipelines/${e}/edit`);
40
+ }, [l]), me = u((e) => {
41
+ l(`/pipelines/${e}?test=true`);
42
+ }, [l]), he = u((e) => {
41
43
  let t = J.find((t) => t.id === e);
42
44
  t && W(t);
43
- }, [J, W]), oe = f(async () => {
45
+ }, [J, W]), ge = u(async () => {
44
46
  if (U) {
45
47
  try {
46
- await Y(U.id), s() && c("success");
48
+ await Y(U.id), o() && s("success");
47
49
  } catch (e) {
48
- throw s() && c("error"), e;
50
+ throw o() && s("error"), e;
49
51
  }
50
52
  G();
51
53
  }
@@ -53,54 +55,54 @@ var j = d(function() {
53
55
  U,
54
56
  Y,
55
57
  G
56
- ]), se = f(() => {
57
- z("all"), V("");
58
- }, [V]), ce = [
58
+ ]), _e = u(() => {
59
+ P("all"), V("");
60
+ }, [V]), Q = [
59
61
  {
60
62
  value: "all",
61
- label: j("bigconsole.pipelines.filters.all", "All")
63
+ label: E("bigconsole.pipelines.filters.all", "All")
62
64
  },
63
65
  {
64
66
  value: "draft",
65
- label: j("bigconsole.pipelines.filters.draft", "Draft")
67
+ label: E("bigconsole.pipelines.filters.draft", "Draft")
66
68
  },
67
69
  {
68
70
  value: "active",
69
- label: j("bigconsole.pipelines.filters.active", "Active")
71
+ label: E("bigconsole.pipelines.filters.active", "Active")
70
72
  },
71
73
  {
72
74
  value: "inactive",
73
- label: j("bigconsole.pipelines.filters.inactive", "Inactive")
75
+ label: E("bigconsole.pipelines.filters.inactive", "Inactive")
74
76
  },
75
77
  {
76
78
  value: "error",
77
- label: j("bigconsole.pipelines.filters.error", "Error")
79
+ label: E("bigconsole.pipelines.filters.error", "Error")
78
80
  }
79
81
  ];
80
- if (N) return /* @__PURE__ */ O("div", {
82
+ if (O) return /* @__PURE__ */ C("div", {
81
83
  style: {
82
84
  display: "flex",
83
85
  alignItems: "center",
84
86
  justifyContent: "center",
85
87
  padding: "80px 0"
86
88
  },
87
- children: /* @__PURE__ */ O(D, { style: {
89
+ children: /* @__PURE__ */ C(S, { style: {
88
90
  height: "var(--size-icon-xl)",
89
91
  width: "var(--size-icon-xl)"
90
92
  } })
91
93
  });
92
- if (!P) return /* @__PURE__ */ O(h, {
93
- title: j("bigconsole.pipelines.errors.accessDeniedTitle", "Access Denied"),
94
- description: j("bigconsole.pipelines.errors.accessDeniedListDescription", "You don't have permission to view pipelines.")
94
+ if (!k) return /* @__PURE__ */ C(m, {
95
+ title: E("bigconsole.pipelines.errors.accessDeniedTitle", "Access Denied"),
96
+ description: E("bigconsole.pipelines.errors.accessDeniedListDescription", "You don't have permission to view pipelines.")
95
97
  });
96
- let $ = /* @__PURE__ */ k("header", {
98
+ let $ = /* @__PURE__ */ w("header", {
97
99
  className: "relative overflow-hidden border-b border-[var(--color-border-seam)] bg-[image:var(--gradient-gloss-card)]",
98
- children: [/* @__PURE__ */ O(x, { intensity: "subtle" }), /* @__PURE__ */ k("div", {
100
+ children: [/* @__PURE__ */ C(oe, { intensity: "subtle" }), /* @__PURE__ */ w("div", {
99
101
  className: "flex flex-col gap-form-gap sm:flex-row sm:items-center sm:justify-between",
100
102
  style: { padding: "var(--space-pagePadding)" },
101
- children: [/* @__PURE__ */ k("div", {
103
+ children: [/* @__PURE__ */ w("div", {
102
104
  className: "flex min-w-0 items-center gap-form-gap",
103
- children: [/* @__PURE__ */ O("span", {
105
+ children: [/* @__PURE__ */ C("span", {
104
106
  "aria-hidden": "true",
105
107
  className: "flex shrink-0 items-center justify-center rounded-card",
106
108
  style: {
@@ -108,201 +110,229 @@ var j = d(function() {
108
110
  width: "var(--size-controlHeight-lg)",
109
111
  backgroundColor: "var(--color-action-primary-bg)"
110
112
  },
111
- children: /* @__PURE__ */ O(y, { style: {
113
+ children: /* @__PURE__ */ C(v, { style: {
112
114
  height: "var(--size-icon-lg)",
113
115
  width: "var(--size-icon-lg)",
114
116
  color: "var(--color-action-primary-text)"
115
117
  } })
116
- }), /* @__PURE__ */ k("div", {
118
+ }), /* @__PURE__ */ w("div", {
117
119
  className: "min-w-0",
118
- children: [/* @__PURE__ */ O("h1", {
120
+ children: [/* @__PURE__ */ C("h1", {
119
121
  className: "text-2xl font-bold leading-tight text-text-primary",
120
- children: /* @__PURE__ */ O(C, { children: j("bigconsole.pipelines.list.heading", "Pipelines") })
121
- }), /* @__PURE__ */ O("p", {
122
+ children: /* @__PURE__ */ C(se, { children: E("bigconsole.pipelines.list.heading", "Pipelines") })
123
+ }), /* @__PURE__ */ C("p", {
122
124
  className: "text-sm text-text-secondary",
123
- children: j("bigconsole.pipelines.list.subtitle", "Create and manage sequential parser chains for data transformation")
125
+ children: E("bigconsole.pipelines.list.subtitle", "Create and manage sequential parser chains for data transformation")
124
126
  })]
125
127
  })]
126
- }), /* @__PURE__ */ O(g, {
127
- permission: o.PIPELINE_CREATE,
128
+ }), /* @__PURE__ */ C(h, {
129
+ permission: a.PIPELINE_CREATE,
128
130
  deniedBehavior: "disable",
129
- children: /* @__PURE__ */ k(S, {
130
- onClick: Q,
131
+ children: /* @__PURE__ */ w(x, {
132
+ onClick: Z,
131
133
  className: "w-full shrink-0 min-h-[var(--size-controlHeight-md)] sm:w-auto",
132
- children: [/* @__PURE__ */ O(b, { className: "h-icon-sm w-icon-sm" }), j("bigconsole.pipelines.actions.createPipeline", "Create Pipeline")]
134
+ children: [/* @__PURE__ */ C(b, { className: "h-icon-sm w-icon-sm" }), E("bigconsole.pipelines.actions.createPipeline", "Create Pipeline")]
133
135
  })
134
136
  })]
135
137
  })]
136
138
  });
137
- return q ? /* @__PURE__ */ k("div", {
139
+ return q ? /* @__PURE__ */ w("div", {
138
140
  className: "min-h-screen bg-bg-canvas",
139
- children: [$, /* @__PURE__ */ O("div", {
141
+ children: [$, /* @__PURE__ */ C("div", {
140
142
  style: { padding: "var(--space-pagePadding)" },
141
- children: /* @__PURE__ */ O(r, {
143
+ children: /* @__PURE__ */ C(r, {
142
144
  tone: "danger",
143
145
  headingLevel: 2,
144
- title: j("bigconsole.pipelines.errors.loadListTitle", "Failed to load Pipelines"),
146
+ title: E("bigconsole.pipelines.errors.loadListTitle", "Failed to load Pipelines"),
145
147
  description: q.message,
146
- icon: /* @__PURE__ */ O(v, { className: "h-icon-sm w-icon-sm" }),
147
- actions: /* @__PURE__ */ O(S, {
148
+ icon: /* @__PURE__ */ C(_, { className: "h-icon-sm w-icon-sm" }),
149
+ actions: /* @__PURE__ */ C(x, {
148
150
  size: "sm",
149
- onClick: () => X(),
150
- children: j("bigconsole.pipelines.actions.tryAgain", "Try Again")
151
+ onClick: () => de(),
152
+ children: E("bigconsole.pipelines.actions.tryAgain", "Try Again")
151
153
  }),
152
154
  "data-testid": "pipelines-error",
153
- children: /* @__PURE__ */ O("p", {
155
+ children: /* @__PURE__ */ C("p", {
154
156
  className: "text-sm text-text-secondary",
155
157
  children: "Nothing was changed. Retry once the console service is reachable again."
156
158
  })
157
159
  })
158
160
  })]
159
- }) : /* @__PURE__ */ k("div", {
161
+ }) : /* @__PURE__ */ w("div", {
160
162
  className: "min-h-screen bg-bg-canvas",
161
163
  children: [
162
164
  $,
163
- /* @__PURE__ */ O("div", {
165
+ /* @__PURE__ */ C("div", {
164
166
  style: { padding: "var(--space-pagePadding)" },
165
- children: /* @__PURE__ */ k(i, { children: [
166
- /* @__PURE__ */ O(E, {
167
+ children: /* @__PURE__ */ w(i, { children: [
168
+ /* @__PURE__ */ C(ue, {
167
169
  className: "max-w-[75ch]",
168
- children: j("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.")
170
+ 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.")
169
171
  }),
170
- /* @__PURE__ */ O("section", {
172
+ /* @__PURE__ */ w("section", {
171
173
  "aria-label": "Filter and search pipelines",
172
174
  "data-testid": "pipelines-toolbar",
173
175
  "data-section-emphasis": "bare",
174
176
  className: ee("bare", "neutral", "none"),
175
- children: /* @__PURE__ */ k("div", {
176
- className: "flex flex-col gap-control-gap md:flex-row md:items-center md:justify-between",
177
- children: [/* @__PURE__ */ O("div", {
178
- role: "group",
179
- "aria-label": "Filter by status",
180
- className: "flex min-w-0 max-w-full items-center gap-1 overflow-x-auto rounded-card bg-bg-sunken p-1",
181
- children: ce.map((e) => /* @__PURE__ */ O("button", {
182
- type: "button",
183
- "aria-pressed": R === e.value,
184
- onClick: () => z(e.value),
185
- className: `shrink-0 whitespace-nowrap rounded-button text-sm font-medium motion-safe:transition-colors ${n}`,
186
- style: {
187
- minHeight: "var(--size-controlHeight-md)",
188
- padding: "0 var(--space-formGap)",
189
- border: "none",
190
- cursor: "pointer",
191
- backgroundColor: R === e.value ? "var(--color-bg-surface)" : "transparent",
192
- color: R === e.value ? "var(--color-text-primary)" : "var(--color-text-secondary)",
193
- boxShadow: R === e.value ? "var(--shadow-elevation-1)" : "none"
194
- },
195
- children: e.label
196
- }, e.value))
197
- }), /* @__PURE__ */ k("div", {
198
- className: "relative w-full md:max-w-[320px]",
199
- children: [/* @__PURE__ */ O(te, {
200
- "aria-hidden": "true",
201
- style: {
202
- position: "absolute",
203
- left: "var(--space-controlGap)",
204
- top: "50%",
205
- transform: "translateY(-50%)",
206
- height: "var(--size-icon-sm)",
207
- width: "var(--size-icon-sm)",
208
- color: "var(--color-text-muted)"
209
- }
210
- }), /* @__PURE__ */ O(T, {
211
- type: "text",
212
- "aria-label": j("bigconsole.pipelines.list.searchPlaceholder", "Search pipelines..."),
213
- placeholder: j("bigconsole.pipelines.list.searchPlaceholder", "Search pipelines..."),
214
- value: B,
215
- onChange: (e) => V(e.target.value),
216
- style: {
217
- paddingLeft: "var(--size-controlHeight-md)",
218
- height: "var(--size-controlHeight-md)"
219
- }
220
- })]
221
- })]
222
- })
177
+ children: [/* @__PURE__ */ C(c, {
178
+ value: L,
179
+ onChange: (e) => {
180
+ let t = new URLSearchParams(F);
181
+ t.set("consoleId", e), I(t);
182
+ }
183
+ }), /* @__PURE__ */ w("div", {
184
+ className: "mt-form-gap flex flex-col gap-control-gap md:flex-row md:items-center md:justify-between",
185
+ children: [
186
+ /* @__PURE__ */ C("div", {
187
+ role: "group",
188
+ "aria-label": "Filter by status",
189
+ 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", {
191
+ type: "button",
192
+ "aria-pressed": N === e.value,
193
+ onClick: () => P(e.value),
194
+ className: `shrink-0 whitespace-nowrap rounded-button text-sm font-medium motion-safe:transition-colors ${n}`,
195
+ style: {
196
+ minHeight: "var(--size-controlHeight-md)",
197
+ padding: "0 var(--space-formGap)",
198
+ border: "none",
199
+ cursor: "pointer",
200
+ backgroundColor: N === e.value ? "var(--color-bg-surface)" : "transparent",
201
+ color: N === e.value ? "var(--color-text-primary)" : "var(--color-text-secondary)",
202
+ boxShadow: N === e.value ? "var(--shadow-elevation-1)" : "none"
203
+ },
204
+ children: e.label
205
+ }, e.value))
206
+ }),
207
+ /* @__PURE__ */ w("div", {
208
+ role: "group",
209
+ "aria-label": "Pipeline layout",
210
+ className: "flex shrink-0 gap-1",
211
+ children: [/* @__PURE__ */ C(x, {
212
+ variant: R === "grid" ? "secondary" : "ghost",
213
+ "aria-label": "Grid view",
214
+ "aria-pressed": R === "grid",
215
+ onClick: () => z("grid"),
216
+ children: /* @__PURE__ */ C(y, { className: "h-icon-sm w-icon-sm" })
217
+ }), /* @__PURE__ */ C(x, {
218
+ variant: R === "list" ? "secondary" : "ghost",
219
+ "aria-label": "List view",
220
+ "aria-pressed": R === "list",
221
+ onClick: () => z("list"),
222
+ children: /* @__PURE__ */ C(ie, { className: "h-icon-sm w-icon-sm" })
223
+ })]
224
+ }),
225
+ /* @__PURE__ */ w("div", {
226
+ className: "relative w-full md:max-w-[320px]",
227
+ children: [/* @__PURE__ */ C(ae, {
228
+ "aria-hidden": "true",
229
+ style: {
230
+ position: "absolute",
231
+ left: "var(--space-controlGap)",
232
+ top: "50%",
233
+ transform: "translateY(-50%)",
234
+ height: "var(--size-icon-sm)",
235
+ width: "var(--size-icon-sm)",
236
+ color: "var(--color-text-muted)"
237
+ }
238
+ }), /* @__PURE__ */ C(le, {
239
+ type: "text",
240
+ "aria-label": E("bigconsole.pipelines.list.searchPlaceholder", "Search pipelines..."),
241
+ placeholder: E("bigconsole.pipelines.list.searchPlaceholder", "Search pipelines..."),
242
+ value: B,
243
+ onChange: (e) => V(e.target.value),
244
+ style: {
245
+ paddingLeft: "var(--size-controlHeight-md)",
246
+ height: "var(--size-controlHeight-md)"
247
+ }
248
+ })]
249
+ })
250
+ ]
251
+ })]
223
252
  }),
224
- /* @__PURE__ */ k(r, {
253
+ /* @__PURE__ */ w(r, {
225
254
  emphasis: "primary",
226
255
  headingLevel: 2,
227
256
  title: "Your pipelines",
228
257
  description: "Open one to review its stages, or run a quick test against sample input.",
229
- meta: !K || J.length > 0 ? /* @__PURE__ */ k("span", {
258
+ meta: !K || J.length > 0 ? /* @__PURE__ */ w("span", {
230
259
  className: "rounded-pill bg-bg-sunken px-2 py-0.5 text-xs font-medium text-text-secondary",
231
- children: [Z.length, Z.length === J.length ? "" : ` of ${J.length}`]
260
+ children: [X.length, X.length === J.length ? "" : ` of ${J.length}`]
232
261
  }) : null,
233
262
  "data-testid": "pipelines-results",
234
263
  children: [
235
- K && J.length === 0 && /* @__PURE__ */ O("div", {
264
+ K && J.length === 0 && /* @__PURE__ */ C("div", {
236
265
  className: "flex items-center justify-center py-12",
237
266
  role: "status",
238
- children: /* @__PURE__ */ k("div", {
267
+ children: /* @__PURE__ */ w("div", {
239
268
  className: "text-center",
240
- children: [/* @__PURE__ */ O(D, { style: {
269
+ children: [/* @__PURE__ */ C(S, { style: {
241
270
  height: "var(--size-icon-xl)",
242
271
  width: "var(--size-icon-xl)",
243
272
  margin: "0 auto var(--space-formGap)"
244
- } }), /* @__PURE__ */ O("p", {
273
+ } }), /* @__PURE__ */ C("p", {
245
274
  className: "text-sm text-text-muted",
246
- children: j("bigconsole.pipelines.list.loading", "Loading pipelines...")
275
+ children: E("bigconsole.pipelines.list.loading", "Loading pipelines...")
247
276
  })]
248
277
  })
249
278
  }),
250
- !K && J.length === 0 && /* @__PURE__ */ O("div", {
279
+ !K && J.length === 0 && /* @__PURE__ */ C("div", {
251
280
  "data-testid": "pipelines-empty",
252
- children: /* @__PURE__ */ O(w, {
281
+ children: /* @__PURE__ */ C(ce, {
253
282
  illustration: "empty-data",
254
- title: j("bigconsole.pipelines.list.emptyTitle", "No Pipelines yet"),
255
- description: j("bigconsole.pipelines.list.emptyDescription", "Create a pipeline to chain parsers together for sequential data transformation. Each stage processes the output of the previous stage."),
256
- action: /* @__PURE__ */ O(g, {
257
- permission: o.PIPELINE_CREATE,
283
+ title: E("bigconsole.pipelines.list.emptyTitle", "No Pipelines yet"),
284
+ 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,
258
287
  deniedBehavior: "disable",
259
- children: /* @__PURE__ */ k(S, {
260
- onClick: Q,
288
+ children: /* @__PURE__ */ w(x, {
289
+ onClick: Z,
261
290
  className: "min-h-[var(--size-controlHeight-md)]",
262
- children: [/* @__PURE__ */ O(b, { className: "h-icon-sm w-icon-sm" }), j("bigconsole.pipelines.actions.createPipeline", "Create Pipeline")]
291
+ children: [/* @__PURE__ */ C(b, { className: "h-icon-sm w-icon-sm" }), E("bigconsole.pipelines.actions.createPipeline", "Create Pipeline")]
263
292
  })
264
293
  })
265
294
  })
266
295
  }),
267
- !K && Z.length === 0 && J.length > 0 && /* @__PURE__ */ O(r, {
296
+ !K && X.length === 0 && J.length > 0 && /* @__PURE__ */ C(r, {
268
297
  emphasis: "muted",
269
298
  tone: "info",
270
299
  padding: "compact",
271
300
  headingLevel: 3,
272
- title: j("bigconsole.pipelines.list.noResultsTitle", "No matching pipelines"),
273
- description: j("bigconsole.pipelines.list.noResultsDescription", "No pipelines match your filters"),
274
- actions: /* @__PURE__ */ O(S, {
301
+ title: E("bigconsole.pipelines.list.noResultsTitle", "No matching pipelines"),
302
+ description: E("bigconsole.pipelines.list.noResultsDescription", "No pipelines match your filters"),
303
+ actions: /* @__PURE__ */ C(x, {
275
304
  size: "sm",
276
305
  variant: "secondary",
277
- onClick: se,
306
+ onClick: _e,
278
307
  children: "Clear filters"
279
308
  }),
280
309
  "data-testid": "pipelines-no-results"
281
310
  }),
282
- Z.length > 0 && /* @__PURE__ */ O("div", {
283
- className: "grid grid-cols-1 gap-form-gap sm:grid-cols-2 xl:grid-cols-3",
284
- children: Z.map((e) => /* @__PURE__ */ O(u, {
311
+ X.length > 0 && /* @__PURE__ */ C("div", {
312
+ 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
+ "data-layout": R,
314
+ children: X.map((e) => /* @__PURE__ */ C(re, {
285
315
  pipeline: e,
286
- onView: ne,
287
- onEdit: F ? re : void 0,
288
- onTest: L ? ie : void 0,
289
- onDelete: I ? ae : void 0
316
+ onView: fe,
317
+ onEdit: A ? pe : void 0,
318
+ onTest: M ? me : void 0,
319
+ onDelete: j ? he : void 0
290
320
  }, e.id))
291
321
  })
292
322
  ]
293
323
  })
294
324
  ] })
295
325
  }),
296
- U && /* @__PURE__ */ O(l, {
326
+ U && /* @__PURE__ */ C(ne, {
297
327
  pipeline: U,
298
328
  isOpen: H,
299
329
  onClose: G,
300
- onConfirm: oe
330
+ onConfirm: ge
301
331
  })
302
332
  ]
303
333
  });
304
334
  });
305
335
  //#endregion
306
- export { j as PipelinesPage, j as default };
336
+ export { E as PipelinesPage, E as default };
307
337
 
308
338
  //# sourceMappingURL=PipelinesPage.js.map