@burdenoff/microfe-bigconsole 2026.624.2 → 2026.625.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 (71) hide show
  1. package/dist/bigconsole/BigConsoleRoutes.js +93 -93
  2. package/dist/bigconsole/assistant/assistantApi.js +215 -0
  3. package/dist/bigconsole/assistant/assistantApi.js.map +1 -0
  4. package/dist/bigconsole/assistant/createSandboxAssistantTransport.js +119 -0
  5. package/dist/bigconsole/assistant/createSandboxAssistantTransport.js.map +1 -0
  6. package/dist/bigconsole/assistant/index.js +2 -0
  7. package/dist/bigconsole/assistant/pageContext.js +51 -0
  8. package/dist/bigconsole/assistant/pageContext.js.map +1 -0
  9. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +48 -48
  10. package/dist/bigconsole/components/dashboard/DashboardToolbar.js +52 -52
  11. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js.map +1 -1
  12. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js +33 -33
  13. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +179 -179
  14. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js.map +1 -1
  15. package/dist/bigconsole/components/dashboard/WidgetPalette.js +38 -38
  16. package/dist/bigconsole/components/datasink/DataSinkTableViewer.js +32 -32
  17. package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js +31 -31
  18. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +98 -98
  19. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js.map +1 -1
  20. package/dist/bigconsole/components/parser/ExportParserDialog.js +31 -31
  21. package/dist/bigconsole/components/parser/ImportParserDialog.js +162 -162
  22. package/dist/bigconsole/components/parser/ImportParserDialog.js.map +1 -1
  23. package/dist/bigconsole/components/widgets/ActionConfigDialog.js +79 -79
  24. package/dist/bigconsole/components/widgets/ActionConfigDialog.js.map +1 -1
  25. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js.map +1 -1
  26. package/dist/bigconsole/components/widgets/PropertiesPanel.js +307 -307
  27. package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -1
  28. package/dist/bigconsole/components/widgets/WidgetConfigDialog.js +222 -222
  29. package/dist/bigconsole/components/widgets/WidgetConfigDialog.js.map +1 -1
  30. package/dist/bigconsole/components/widgets/WidgetTypeSelector.js +23 -23
  31. package/dist/bigconsole/index.js +3 -0
  32. package/dist/bigconsole/pages/DashboardBuilderPage.js +74 -74
  33. package/dist/bigconsole/pages/DashboardBuilderPage.js.map +1 -1
  34. package/dist/bigconsole/pages/DashboardViewPage.js +168 -189
  35. package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -1
  36. package/dist/bigconsole/pages/DashboardsPage.js +266 -310
  37. package/dist/bigconsole/pages/DashboardsPage.js.map +1 -1
  38. package/dist/bigconsole/pages/DataParsersPage.js +148 -194
  39. package/dist/bigconsole/pages/DataParsersPage.js.map +1 -1
  40. package/dist/bigconsole/pages/DataSinkBuilderPage.js +252 -246
  41. package/dist/bigconsole/pages/DataSinkBuilderPage.js.map +1 -1
  42. package/dist/bigconsole/pages/DataSinkViewPage.js +256 -231
  43. package/dist/bigconsole/pages/DataSinkViewPage.js.map +1 -1
  44. package/dist/bigconsole/pages/DataSinksPage.js +173 -219
  45. package/dist/bigconsole/pages/DataSinksPage.js.map +1 -1
  46. package/dist/bigconsole/pages/HomePage.js +125 -141
  47. package/dist/bigconsole/pages/HomePage.js.map +1 -1
  48. package/dist/bigconsole/pages/InsightsPage.js +159 -184
  49. package/dist/bigconsole/pages/InsightsPage.js.map +1 -1
  50. package/dist/bigconsole/pages/ParserBuilderPage.js +401 -393
  51. package/dist/bigconsole/pages/ParserBuilderPage.js.map +1 -1
  52. package/dist/bigconsole/pages/ParserViewPage.js +220 -201
  53. package/dist/bigconsole/pages/ParserViewPage.js.map +1 -1
  54. package/dist/bigconsole/pages/PipelineBuilderPage.js +212 -206
  55. package/dist/bigconsole/pages/PipelineBuilderPage.js.map +1 -1
  56. package/dist/bigconsole/pages/PipelineViewPage.js +204 -181
  57. package/dist/bigconsole/pages/PipelineViewPage.js.map +1 -1
  58. package/dist/bigconsole/pages/PipelinesPage.js +107 -150
  59. package/dist/bigconsole/pages/PipelinesPage.js.map +1 -1
  60. package/dist/bigconsole/pages/SettingsPage.js +184 -171
  61. package/dist/bigconsole/pages/SettingsPage.js.map +1 -1
  62. package/dist/bigconsole/pages/WidgetDemoPage.js +69 -81
  63. package/dist/bigconsole/pages/WidgetDemoPage.js.map +1 -1
  64. package/dist/bigconsole/pages/WorkflowViewPage.js +230 -216
  65. package/dist/bigconsole/pages/WorkflowViewPage.js.map +1 -1
  66. package/dist/bigconsole/pages/WorkflowsPage.js +106 -149
  67. package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -1
  68. package/dist/generated/wspace-operations.js +87 -36
  69. package/dist/generated/wspace-operations.js.map +1 -1
  70. package/dist/index.js +3 -1
  71. package/package.json +6 -2
@@ -1,355 +1,383 @@
1
1
  import { useParserStore as e } from "../store/parserStore.js";
2
- import { useAppNavigate as ee } from "../contexts/NavigationContext.js";
2
+ import { useAppNavigate as t } from "../contexts/NavigationContext.js";
3
3
  import "../contexts/index.js";
4
- import te from "../hooks/useDataSinkOperations.js";
5
- import ne from "../hooks/useParserOperations.js";
6
- import t from "../components/parser/ParserTypeBadge.js";
7
- import n from "../components/parser/ParserStatusBadge.js";
8
- import { isNative as r, nativeCopyText as re, nativeImpact as ie, nativeNotify as i, nativeToast as a } from "../../utils/nativeBridge.js";
9
- import ae from "../components/parser/ExpressionEditor.js";
10
- import oe from "../components/parser/ExportParserDialog.js";
11
- import { memo as o, useCallback as s, useEffect as c, useState as l } from "react";
12
- import { useParams as se } from "react-router-dom";
13
- import { AlertCircle as ce, AlertTriangle as le, ArrowDown as ue, ArrowLeft as u, Check as d, Copy as f, Database as p, Download as m, Edit as h, FileCode2 as g, Loader2 as de, Play as fe, Trash2 as pe } from "lucide-react";
14
- import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
15
- import { Badge as b, Button as x, Card as S, CardContent as C, CardHeader as w, CardTitle as T, Dialog as me, DialogContent as he, DialogDescription as E, DialogFooter as D, DialogHeader as O, DialogTitle as k } from "@burdenoff/fe-libs/ui";
4
+ import ee from "../hooks/useDataSinkOperations.js";
5
+ import te from "../hooks/useParserOperations.js";
6
+ import n from "../components/parser/ParserTypeBadge.js";
7
+ import r from "../components/parser/ParserStatusBadge.js";
8
+ import { isNative as i, nativeCopyText as a, nativeImpact as ne, nativeNotify as o, nativeToast as re } from "../../utils/nativeBridge.js";
9
+ import ie from "../components/parser/ExpressionEditor.js";
10
+ import ae from "../components/parser/ExportParserDialog.js";
11
+ import { memo as s, useCallback as c, useEffect as l, useState as u } from "react";
12
+ import { useParams as d } from "react-router-dom";
13
+ import { AlertCircle as f, AlertTriangle as oe, ArrowDown as se, ArrowLeft as p, Check as ce, Copy as le, Database as ue, Download as de, Edit as fe, FileCode2 as pe, Loader2 as m, Play as h, Trash2 as g } from "lucide-react";
14
+ import { Badge as _, Button as v, Card as y, CardContent as b, CardHeader as x, CardTitle as S, Dialog as me, DialogContent as he, DialogDescription as ge, DialogFooter as _e, DialogHeader as ve, DialogTitle as ye, GlassCard as C, IllustratedEmptyState as w, NextSteps as T, PagePurpose as E } from "@burdenoff/fe-libs/ui";
15
+ import { Fragment as D, jsx as O, jsxs as k } from "react/jsx-runtime";
16
16
  import { formatDistanceToNow as A } from "date-fns";
17
17
  //#region src/bigconsole/pages/ParserViewPage.tsx
18
- var j = "default", M = o(function() {
19
- let { parserId: o, consoleId: M } = se(), N = ee(), P = M || j, [F, I] = l(!1), [L, R] = l(!1), [ge, z] = l(!1), [B, V] = l(!1), [_e, H] = l(!1), [U, W] = l(null), G = e((e) => o ? e.parsers.get(o) : void 0), { loading: ve, error: K, fetchParser: q, deleteParser: J, executeParser: Y } = ne({
18
+ var j = "default", M = s(function() {
19
+ let { parserId: s, consoleId: M } = d(), N = t(), P = M || j, [F, I] = u(!1), [be, L] = u(!1), [xe, R] = u(!1), [z, B] = u(!1), [Se, V] = u(!1), [H, U] = u(null), W = e((e) => s ? e.parsers.get(s) : void 0), { loading: Ce, error: G, fetchParser: K, deleteParser: q, executeParser: J } = te({
20
20
  consoleId: P,
21
21
  skipFetch: !0
22
- }), { dataSinks: ye, fetchDataSinks: X } = te({ skipFetch: !0 });
23
- c(() => {
24
- o && q(o);
25
- }, [o, q]), c(() => {
26
- X();
27
- }, [X]);
28
- let Z = G?.inputSinkKey ? ye.find((e) => e.key === G.inputSinkKey) : null, Q = s(() => {
22
+ }), { dataSinks: we, fetchDataSinks: Y } = ee({ skipFetch: !0 });
23
+ l(() => {
24
+ s && K(s);
25
+ }, [s, K]), l(() => {
26
+ Y();
27
+ }, [Y]);
28
+ let X = W?.inputSinkKey ? we.find((e) => e.key === W.inputSinkKey) : null, Z = c(() => {
29
29
  N(M ? `/dashboards/${M}/parsers` : "/parsers");
30
- }, [N, M]), be = s(() => {
31
- N(M ? `/dashboards/${M}/parsers/${o}/edit` : `/parsers/${o}/edit`);
30
+ }, [N, M]), Q = c(() => {
31
+ N(M ? `/dashboards/${M}/parsers/${s}/edit` : `/parsers/${s}/edit`);
32
32
  }, [
33
33
  N,
34
- o,
34
+ s,
35
35
  M
36
- ]), xe = s(async () => {
37
- if (o) {
36
+ ]), Te = c(async () => {
37
+ if (s) {
38
38
  I(!0);
39
39
  try {
40
- await J(o) ? (r() && i("success"), N(M ? `/dashboards/${M}/parsers` : "/parsers")) : r() && i("error");
40
+ await q(s) ? (i() && o("success"), N(M ? `/dashboards/${M}/parsers` : "/parsers")) : i() && o("error");
41
41
  } catch {
42
- r() && i("error");
42
+ i() && o("error");
43
43
  } finally {
44
- I(!1), R(!1);
44
+ I(!1), L(!1);
45
45
  }
46
46
  }
47
47
  }, [
48
- o,
49
- J,
48
+ s,
49
+ q,
50
50
  N,
51
51
  M
52
- ]), Se = s(async () => {
53
- if (G?.expression) try {
54
- await re(G.expression), z(!0), r() && a("Expression copied"), setTimeout(() => z(!1), 2e3);
52
+ ]), Ee = c(async () => {
53
+ if (W?.expression) try {
54
+ await a(W.expression), R(!0), i() && re("Expression copied"), setTimeout(() => R(!1), 2e3);
55
55
  } catch {}
56
- }, [G?.expression]), Ce = s(async () => {
57
- if (o) {
58
- V(!0), W(null);
56
+ }, [W?.expression]), $ = c(async () => {
57
+ if (s) {
58
+ B(!0), U(null);
59
59
  try {
60
- let e = await Y(o);
61
- e && W({
60
+ let e = await J(s);
61
+ e && U({
62
62
  success: e.success,
63
63
  output: e.output,
64
64
  error: e.error,
65
65
  executionTimeMs: e.executionTimeMs
66
66
  });
67
67
  } catch (e) {
68
- W({
68
+ U({
69
69
  success: !1,
70
70
  output: null,
71
71
  error: e instanceof Error ? e.message : "Execution failed",
72
72
  executionTimeMs: 0
73
73
  });
74
74
  } finally {
75
- V(!1);
75
+ B(!1);
76
76
  }
77
77
  }
78
- }, [o, Y]), $ = s(() => {
79
- Z && N(`/datasinks/${Z.id}`);
80
- }, [N, Z]), we = s(() => {
81
- H(!0);
82
- }, []), Te = s(() => {
83
- H(!1);
78
+ }, [s, J]), De = c(() => {
79
+ X && N(`/datasinks/${X.id}`);
80
+ }, [N, X]), Oe = c(() => {
81
+ V(!0);
82
+ }, []), ke = c(() => {
83
+ V(!1);
84
84
  }, []);
85
- return ve && !G ? /* @__PURE__ */ v("div", {
85
+ return Ce && !W ? /* @__PURE__ */ O("div", {
86
86
  className: "flex items-center justify-center min-h-[400px]",
87
- children: /* @__PURE__ */ v(de, { className: "w-8 h-8 text-text-secondary animate-spin" })
88
- }) : K ? /* @__PURE__ */ v("div", {
87
+ children: /* @__PURE__ */ O(m, { className: "w-8 h-8 text-text-secondary animate-spin" })
88
+ }) : G ? /* @__PURE__ */ O("div", {
89
89
  className: "flex items-center justify-center min-h-[400px] p-card-padding",
90
- children: /* @__PURE__ */ y("div", {
90
+ children: /* @__PURE__ */ k("div", {
91
91
  className: "text-center",
92
92
  children: [
93
- /* @__PURE__ */ v(ce, { className: "w-12 h-12 text-state-error mx-auto mb-spacing-md" }),
94
- /* @__PURE__ */ v("p", {
93
+ /* @__PURE__ */ O(f, { className: "w-12 h-12 text-state-error mx-auto mb-spacing-md" }),
94
+ /* @__PURE__ */ O("p", {
95
95
  className: "text-state-error text-body-sm font-medium mb-spacing-sm",
96
96
  children: "Failed to load Parser"
97
97
  }),
98
- /* @__PURE__ */ v("p", {
98
+ /* @__PURE__ */ O("p", {
99
99
  className: "text-text-tertiary text-body-xs mb-spacing-lg",
100
- children: K.message
100
+ children: G.message
101
101
  }),
102
- /* @__PURE__ */ y(x, {
103
- onClick: Q,
102
+ /* @__PURE__ */ k(v, {
103
+ onClick: Z,
104
104
  variant: "ghost",
105
105
  size: "sm",
106
- children: [/* @__PURE__ */ v(u, { className: "w-4 h-4 mr-2" }), "Go back"]
106
+ children: [/* @__PURE__ */ O(p, { className: "w-4 h-4 mr-2" }), "Go back"]
107
107
  })
108
108
  ]
109
109
  })
110
- }) : G ? /* @__PURE__ */ y("div", {
110
+ }) : W ? /* @__PURE__ */ k("div", {
111
111
  className: "p-card-padding space-y-spacing-lg",
112
112
  children: [
113
- /* @__PURE__ */ y("div", {
113
+ /* @__PURE__ */ k("div", {
114
114
  className: "flex flex-col sm:flex-row sm:items-start sm:justify-between gap-spacing-md",
115
- children: [/* @__PURE__ */ y("div", {
115
+ children: [/* @__PURE__ */ k("div", {
116
116
  className: "flex-1",
117
117
  children: [
118
- /* @__PURE__ */ y(x, {
119
- onClick: Q,
118
+ /* @__PURE__ */ k(v, {
119
+ onClick: Z,
120
120
  variant: "ghost",
121
121
  size: "sm",
122
122
  className: "mb-spacing-md",
123
- children: [/* @__PURE__ */ v(u, { className: "w-4 h-4 mr-2" }), "Back to Parsers"]
123
+ children: [/* @__PURE__ */ O(p, { className: "w-4 h-4 mr-2" }), "Back to Parsers"]
124
124
  }),
125
- /* @__PURE__ */ y("div", {
125
+ /* @__PURE__ */ k("div", {
126
126
  className: "flex items-center gap-spacing-sm flex-wrap",
127
127
  children: [
128
- /* @__PURE__ */ v("h1", {
128
+ /* @__PURE__ */ O("h1", {
129
129
  className: "text-heading-h1 font-bold text-text-primary",
130
- children: G.name || "Untitled"
130
+ children: W.name || "Untitled"
131
131
  }),
132
- /* @__PURE__ */ v(t, { type: G.type }),
133
- /* @__PURE__ */ v(n, { status: G.status })
132
+ /* @__PURE__ */ O(n, { type: W.type }),
133
+ /* @__PURE__ */ O(r, { status: W.status })
134
134
  ]
135
135
  }),
136
- G.description && /* @__PURE__ */ v("p", {
136
+ W.description && /* @__PURE__ */ O("p", {
137
137
  className: "text-body-sm text-text-secondary mt-spacing-sm",
138
- children: G.description
138
+ children: W.description
139
139
  })
140
140
  ]
141
- }), /* @__PURE__ */ y("div", {
141
+ }), /* @__PURE__ */ k("div", {
142
142
  className: "flex items-center gap-spacing-sm flex-wrap",
143
143
  children: [
144
- /* @__PURE__ */ y(x, {
145
- onClick: Ce,
146
- disabled: B,
144
+ /* @__PURE__ */ k(v, {
145
+ onClick: $,
146
+ disabled: z,
147
147
  variant: "secondary",
148
148
  size: "default",
149
- children: [/* @__PURE__ */ v(fe, { className: "w-4 h-4 mr-2" }), B ? "Running..." : "Execute"]
149
+ children: [/* @__PURE__ */ O(h, { className: "w-4 h-4 mr-2" }), z ? "Running..." : "Execute"]
150
150
  }),
151
- /* @__PURE__ */ y(x, {
152
- onClick: we,
151
+ /* @__PURE__ */ k(v, {
152
+ onClick: Oe,
153
153
  variant: "secondary",
154
154
  size: "default",
155
- children: [/* @__PURE__ */ v(m, { className: "w-4 h-4 mr-2" }), "Export"]
155
+ children: [/* @__PURE__ */ O(de, { className: "w-4 h-4 mr-2" }), "Export"]
156
156
  }),
157
- /* @__PURE__ */ y(x, {
158
- onClick: be,
157
+ /* @__PURE__ */ k(v, {
158
+ onClick: Q,
159
159
  variant: "secondary",
160
160
  size: "default",
161
- children: [/* @__PURE__ */ v(h, { className: "w-4 h-4 mr-2" }), "Edit"]
161
+ children: [/* @__PURE__ */ O(fe, { className: "w-4 h-4 mr-2" }), "Edit"]
162
162
  }),
163
- /* @__PURE__ */ y(x, {
164
- onClick: () => R(!0),
163
+ /* @__PURE__ */ k(v, {
164
+ onClick: () => L(!0),
165
165
  disabled: F,
166
166
  variant: "destructive",
167
167
  size: "default",
168
- children: [/* @__PURE__ */ v(pe, { className: "w-4 h-4 mr-2" }), "Delete"]
168
+ children: [/* @__PURE__ */ O(g, { className: "w-4 h-4 mr-2" }), "Delete"]
169
169
  })
170
170
  ]
171
171
  })]
172
172
  }),
173
- /* @__PURE__ */ y("div", {
173
+ /* @__PURE__ */ O(E, { children: "A parser turns raw input into structured fields using its expression. Review or copy the expression, run it against a sample to see the output, then edit it or use it inside a pipeline to shape incoming data." }),
174
+ /* @__PURE__ */ O(T, {
175
+ storageKey: "bigconsole-parser-view",
176
+ steps: [
177
+ {
178
+ id: "execute",
179
+ label: "Run a test execution",
180
+ description: "Check the expression produces the fields you expect.",
181
+ onClick: $
182
+ },
183
+ {
184
+ id: "edit",
185
+ label: "Edit the expression",
186
+ description: "Refine how this parser maps your input.",
187
+ onClick: Q
188
+ },
189
+ {
190
+ id: "pipeline",
191
+ label: "Use it in a pipeline",
192
+ description: "Chain this parser with a data sink to process data end to end.",
193
+ onClick: () => N("/pipelines")
194
+ }
195
+ ]
196
+ }),
197
+ /* @__PURE__ */ k("div", {
174
198
  className: "grid gap-spacing-lg lg:grid-cols-3",
175
- children: [/* @__PURE__ */ y("div", {
199
+ children: [/* @__PURE__ */ k("div", {
176
200
  className: "lg:col-span-2 space-y-spacing-lg",
177
- children: [/* @__PURE__ */ y(S, { children: [/* @__PURE__ */ y(w, {
178
- className: "flex flex-row items-center justify-between space-y-0",
179
- children: [/* @__PURE__ */ y(T, {
180
- className: "flex items-center gap-spacing-sm",
181
- children: [
182
- /* @__PURE__ */ v(g, { className: "w-4 h-4 text-text-secondary" }),
183
- "Expression",
184
- /* @__PURE__ */ v(b, {
185
- variant: "secondary",
186
- className: "text-xs uppercase",
187
- children: G.type
188
- })
189
- ]
190
- }), /* @__PURE__ */ v(x, {
191
- onClick: Se,
192
- variant: "ghost",
193
- size: "sm",
194
- children: ge ? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(d, { className: "w-3.5 h-3.5 text-state-success mr-2" }), "Copied!"] }) : /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(f, { className: "w-3.5 h-3.5 mr-2" }), "Copy"] })
195
- })]
196
- }), /* @__PURE__ */ v(C, { children: /* @__PURE__ */ v(ae, {
197
- value: G.expression,
198
- type: G.type,
199
- readOnly: !0,
200
- height: "300px"
201
- }) })] }), U && /* @__PURE__ */ y(S, { children: [/* @__PURE__ */ y(w, {
201
+ children: [/* @__PURE__ */ k(C, {
202
+ treatment: "glass",
203
+ glow: !0,
204
+ children: [/* @__PURE__ */ k(x, {
205
+ className: "flex flex-row items-center justify-between space-y-0",
206
+ children: [/* @__PURE__ */ k(S, {
207
+ className: "flex items-center gap-spacing-sm",
208
+ children: [
209
+ /* @__PURE__ */ O(pe, { className: "w-4 h-4 text-text-secondary" }),
210
+ "Expression",
211
+ /* @__PURE__ */ O(_, {
212
+ variant: "secondary",
213
+ className: "text-xs uppercase",
214
+ children: W.type
215
+ })
216
+ ]
217
+ }), /* @__PURE__ */ O(v, {
218
+ onClick: Ee,
219
+ variant: "ghost",
220
+ size: "sm",
221
+ children: xe ? /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(ce, { className: "w-3.5 h-3.5 text-state-success mr-2" }), "Copied!"] }) : /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(le, { className: "w-3.5 h-3.5 mr-2" }), "Copy"] })
222
+ })]
223
+ }), /* @__PURE__ */ O(b, { children: /* @__PURE__ */ O(ie, {
224
+ value: W.expression,
225
+ type: W.type,
226
+ readOnly: !0,
227
+ height: "300px"
228
+ }) })]
229
+ }), H && /* @__PURE__ */ k(y, { children: [/* @__PURE__ */ k(x, {
202
230
  className: "flex flex-row items-center justify-between space-y-0",
203
- children: [/* @__PURE__ */ y(T, {
231
+ children: [/* @__PURE__ */ k(S, {
204
232
  className: "flex items-center gap-spacing-sm",
205
- children: ["Execution Result", /* @__PURE__ */ v(b, {
206
- variant: U.success ? "default" : "destructive",
207
- children: U.success ? "Success" : "Failed"
233
+ children: ["Execution Result", /* @__PURE__ */ O(_, {
234
+ variant: H.success ? "default" : "destructive",
235
+ children: H.success ? "Success" : "Failed"
208
236
  })]
209
- }), /* @__PURE__ */ y(b, {
237
+ }), /* @__PURE__ */ k(_, {
210
238
  variant: "secondary",
211
239
  className: "text-xs",
212
- children: [U.executionTimeMs, "ms"]
240
+ children: [H.executionTimeMs, "ms"]
213
241
  })]
214
- }), /* @__PURE__ */ v(C, { children: U.error ? /* @__PURE__ */ v("div", {
242
+ }), /* @__PURE__ */ O(b, { children: H.error ? /* @__PURE__ */ O("div", {
215
243
  className: "bg-state-error/5 border border-state-error/20 rounded-md p-spacing-md",
216
- children: /* @__PURE__ */ v("p", {
244
+ children: /* @__PURE__ */ O("p", {
217
245
  className: "text-body-sm text-state-error font-mono",
218
- children: U.error
246
+ children: H.error
219
247
  })
220
- }) : /* @__PURE__ */ v("pre", {
248
+ }) : /* @__PURE__ */ O("pre", {
221
249
  className: "text-body-sm text-text-primary font-mono bg-bg-sunken rounded-md p-spacing-md overflow-auto max-h-[300px]",
222
- children: JSON.stringify(U.output, null, 2)
250
+ children: JSON.stringify(H.output, null, 2)
223
251
  }) })] })]
224
- }), /* @__PURE__ */ y("div", {
252
+ }), /* @__PURE__ */ k("div", {
225
253
  className: "space-y-spacing-lg",
226
254
  children: [
227
- /* @__PURE__ */ y(S, { children: [/* @__PURE__ */ v(w, { children: /* @__PURE__ */ v(T, { children: "Data Flow" }) }), /* @__PURE__ */ v(C, { children: /* @__PURE__ */ y("div", {
255
+ /* @__PURE__ */ k(y, { children: [/* @__PURE__ */ O(x, { children: /* @__PURE__ */ O(S, { children: "Data Flow" }) }), /* @__PURE__ */ O(b, { children: /* @__PURE__ */ k("div", {
228
256
  className: "space-y-3",
229
257
  children: [
230
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
258
+ /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("label", {
231
259
  className: "text-xs font-medium text-text-secondary",
232
260
  children: "Source DataSink"
233
- }), G.inputSinkKey ? /* @__PURE__ */ y("div", {
261
+ }), W.inputSinkKey ? /* @__PURE__ */ k("div", {
234
262
  className: "mt-1",
235
- children: [/* @__PURE__ */ v("p", {
263
+ children: [/* @__PURE__ */ O("p", {
236
264
  className: "text-body-sm text-text-primary font-mono",
237
- children: G.inputSinkKey
238
- }), Z && /* @__PURE__ */ y(x, {
239
- onClick: $,
265
+ children: W.inputSinkKey
266
+ }), X && /* @__PURE__ */ k(v, {
267
+ onClick: De,
240
268
  variant: "link",
241
269
  size: "sm",
242
270
  className: "mt-1 p-0 h-auto",
243
271
  children: [
244
- /* @__PURE__ */ v(p, { className: "w-3 h-3 mr-1" }),
272
+ /* @__PURE__ */ O(ue, { className: "w-3 h-3 mr-1" }),
245
273
  "View ",
246
- Z.name || "DataSink"
274
+ X.name || "DataSink"
247
275
  ]
248
276
  })]
249
- }) : /* @__PURE__ */ v("p", {
277
+ }) : /* @__PURE__ */ O("p", {
250
278
  className: "text-body-sm text-text-tertiary mt-1",
251
279
  children: "None configured"
252
280
  })] }),
253
- /* @__PURE__ */ v("div", {
281
+ /* @__PURE__ */ O("div", {
254
282
  className: "flex items-center justify-center py-1",
255
- children: /* @__PURE__ */ v(ue, { className: "w-4 h-4 text-text-tertiary" })
283
+ children: /* @__PURE__ */ O(se, { className: "w-4 h-4 text-text-tertiary" })
256
284
  }),
257
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
285
+ /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("label", {
258
286
  className: "text-xs font-medium text-text-secondary",
259
287
  children: "Output Key"
260
- }), /* @__PURE__ */ v("p", {
288
+ }), /* @__PURE__ */ O("p", {
261
289
  className: "text-body-sm text-text-primary font-mono mt-1",
262
- children: G.outputKey || "Not configured"
290
+ children: W.outputKey || "Not configured"
263
291
  })] })
264
292
  ]
265
293
  }) })] }),
266
- /* @__PURE__ */ y(S, { children: [/* @__PURE__ */ v(w, { children: /* @__PURE__ */ v(T, { children: "Configuration" }) }), /* @__PURE__ */ v(C, { children: /* @__PURE__ */ y("dl", {
294
+ /* @__PURE__ */ k(y, { children: [/* @__PURE__ */ O(x, { children: /* @__PURE__ */ O(S, { children: "Configuration" }) }), /* @__PURE__ */ O(b, { children: /* @__PURE__ */ k("dl", {
267
295
  className: "space-y-spacing-md text-body-sm",
268
296
  children: [
269
- /* @__PURE__ */ y("div", {
297
+ /* @__PURE__ */ k("div", {
270
298
  className: "flex justify-between items-center",
271
- children: [/* @__PURE__ */ v("dt", {
299
+ children: [/* @__PURE__ */ O("dt", {
272
300
  className: "text-text-secondary",
273
301
  children: "Status"
274
- }), /* @__PURE__ */ v("dd", { children: /* @__PURE__ */ v(n, { status: G.status }) })]
302
+ }), /* @__PURE__ */ O("dd", { children: /* @__PURE__ */ O(r, { status: W.status }) })]
275
303
  }),
276
- /* @__PURE__ */ y("div", {
304
+ /* @__PURE__ */ k("div", {
277
305
  className: "flex justify-between items-center",
278
- children: [/* @__PURE__ */ v("dt", {
306
+ children: [/* @__PURE__ */ O("dt", {
279
307
  className: "text-text-secondary",
280
308
  children: "Type"
281
- }), /* @__PURE__ */ v("dd", { children: /* @__PURE__ */ v(t, { type: G.type }) })]
309
+ }), /* @__PURE__ */ O("dd", { children: /* @__PURE__ */ O(n, { type: W.type }) })]
282
310
  }),
283
- /* @__PURE__ */ y("div", {
311
+ /* @__PURE__ */ k("div", {
284
312
  className: "flex justify-between items-center",
285
- children: [/* @__PURE__ */ v("dt", {
313
+ children: [/* @__PURE__ */ O("dt", {
286
314
  className: "text-text-secondary",
287
315
  children: "Cache TTL"
288
- }), /* @__PURE__ */ v("dd", {
316
+ }), /* @__PURE__ */ O("dd", {
289
317
  className: "text-text-primary font-medium",
290
- children: G.ttl ? `${G.ttl}s` : "No caching"
318
+ children: W.ttl ? `${W.ttl}s` : "No caching"
291
319
  })]
292
320
  }),
293
- /* @__PURE__ */ y("div", {
321
+ /* @__PURE__ */ k("div", {
294
322
  className: "flex justify-between items-center",
295
- children: [/* @__PURE__ */ v("dt", {
323
+ children: [/* @__PURE__ */ O("dt", {
296
324
  className: "text-text-secondary",
297
325
  children: "Version"
298
- }), /* @__PURE__ */ v("dd", {
326
+ }), /* @__PURE__ */ O("dd", {
299
327
  className: "text-text-primary font-medium",
300
- children: G.version || 1
328
+ children: W.version || 1
301
329
  })]
302
330
  })
303
331
  ]
304
332
  }) })] }),
305
- /* @__PURE__ */ y(S, { children: [/* @__PURE__ */ v(w, { children: /* @__PURE__ */ v(T, { children: "Timestamps" }) }), /* @__PURE__ */ v(C, { children: /* @__PURE__ */ y("dl", {
333
+ /* @__PURE__ */ k(y, { children: [/* @__PURE__ */ O(x, { children: /* @__PURE__ */ O(S, { children: "Timestamps" }) }), /* @__PURE__ */ O(b, { children: /* @__PURE__ */ k("dl", {
306
334
  className: "space-y-spacing-md text-body-sm",
307
- children: [/* @__PURE__ */ y("div", {
335
+ children: [/* @__PURE__ */ k("div", {
308
336
  className: "flex justify-between items-center",
309
- children: [/* @__PURE__ */ v("dt", {
337
+ children: [/* @__PURE__ */ O("dt", {
310
338
  className: "text-text-secondary",
311
339
  children: "Created"
312
- }), /* @__PURE__ */ v("dd", {
340
+ }), /* @__PURE__ */ O("dd", {
313
341
  className: "text-text-primary font-medium",
314
- children: G.createdAt ? A(new Date(G.createdAt), { addSuffix: !0 }) : "Unknown"
342
+ children: W.createdAt ? A(new Date(W.createdAt), { addSuffix: !0 }) : "Unknown"
315
343
  })]
316
- }), /* @__PURE__ */ y("div", {
344
+ }), /* @__PURE__ */ k("div", {
317
345
  className: "flex justify-between items-center",
318
- children: [/* @__PURE__ */ v("dt", {
346
+ children: [/* @__PURE__ */ O("dt", {
319
347
  className: "text-text-secondary",
320
348
  children: "Updated"
321
- }), /* @__PURE__ */ v("dd", {
349
+ }), /* @__PURE__ */ O("dd", {
322
350
  className: "text-text-primary font-medium",
323
- children: G.updatedAt ? A(new Date(G.updatedAt), { addSuffix: !0 }) : "Unknown"
351
+ children: W.updatedAt ? A(new Date(W.updatedAt), { addSuffix: !0 }) : "Unknown"
324
352
  })]
325
353
  })]
326
354
  }) })] })
327
355
  ]
328
356
  })]
329
357
  }),
330
- /* @__PURE__ */ v(me, {
331
- open: L,
332
- onOpenChange: R,
333
- children: /* @__PURE__ */ y(he, { children: [
334
- /* @__PURE__ */ y(O, { children: [/* @__PURE__ */ v(k, { children: "Delete Parser" }), /* @__PURE__ */ y(E, { children: [
358
+ /* @__PURE__ */ O(me, {
359
+ open: be,
360
+ onOpenChange: L,
361
+ children: /* @__PURE__ */ k(he, { children: [
362
+ /* @__PURE__ */ k(ve, { children: [/* @__PURE__ */ O(ye, { children: "Delete Parser" }), /* @__PURE__ */ k(ge, { children: [
335
363
  "Are you sure you want to delete ",
336
- /* @__PURE__ */ v("strong", { children: G.name }),
364
+ /* @__PURE__ */ O("strong", { children: W.name }),
337
365
  "? This action cannot be undone."
338
366
  ] })] }),
339
- /* @__PURE__ */ y("div", {
367
+ /* @__PURE__ */ k("div", {
340
368
  className: "bg-state-warning/10 border border-state-warning/20 rounded-md p-spacing-md flex items-start gap-spacing-sm",
341
- children: [/* @__PURE__ */ v(le, { className: "w-4 h-4 text-state-warning flex-shrink-0 mt-0.5" }), /* @__PURE__ */ v("p", {
369
+ children: [/* @__PURE__ */ O(oe, { className: "w-4 h-4 text-state-warning flex-shrink-0 mt-0.5" }), /* @__PURE__ */ O("p", {
342
370
  className: "text-body-xs text-state-warning",
343
371
  children: "Widgets and pipelines using this parser may stop working correctly after deletion."
344
372
  })]
345
373
  }),
346
- /* @__PURE__ */ y(D, { children: [/* @__PURE__ */ v(x, {
347
- onClick: () => R(!1),
374
+ /* @__PURE__ */ k(_e, { children: [/* @__PURE__ */ O(v, {
375
+ onClick: () => L(!1),
348
376
  variant: "secondary",
349
377
  children: "Cancel"
350
- }), /* @__PURE__ */ v(x, {
378
+ }), /* @__PURE__ */ O(v, {
351
379
  onClick: () => {
352
- ie("medium"), xe();
380
+ ne("medium"), Te();
353
381
  },
354
382
  disabled: F,
355
383
  variant: "destructive",
@@ -357,34 +385,25 @@ var j = "default", M = o(function() {
357
385
  })] })
358
386
  ] })
359
387
  }),
360
- /* @__PURE__ */ v(oe, {
361
- isOpen: _e,
362
- parserId: o || null,
363
- parserName: G.name,
364
- onClose: Te
388
+ /* @__PURE__ */ O(ae, {
389
+ isOpen: Se,
390
+ parserId: s || null,
391
+ parserName: W.name,
392
+ onClose: ke
365
393
  })
366
394
  ]
367
- }) : /* @__PURE__ */ v("div", {
395
+ }) : /* @__PURE__ */ O("div", {
368
396
  className: "flex items-center justify-center min-h-[400px] p-card-padding",
369
- children: /* @__PURE__ */ y("div", {
370
- className: "text-center",
371
- children: [
372
- /* @__PURE__ */ v(g, { className: "w-12 h-12 text-text-tertiary mx-auto mb-spacing-md" }),
373
- /* @__PURE__ */ v("p", {
374
- className: "text-text-primary text-heading-h3 font-medium mb-spacing-sm",
375
- children: "Parser not found"
376
- }),
377
- /* @__PURE__ */ v("p", {
378
- className: "text-text-secondary text-body-sm mb-spacing-lg",
379
- children: "The Parser you're looking for doesn't exist or has been deleted."
380
- }),
381
- /* @__PURE__ */ y(x, {
382
- onClick: Q,
383
- variant: "default",
384
- size: "default",
385
- children: [/* @__PURE__ */ v(u, { className: "w-4 h-4 mr-2" }), "Go back to Parsers"]
386
- })
387
- ]
397
+ children: /* @__PURE__ */ O(w, {
398
+ illustration: "empty-data",
399
+ title: "Parser not found",
400
+ description: "The Parser you're looking for doesn't exist or has been deleted.",
401
+ action: /* @__PURE__ */ k(v, {
402
+ onClick: Z,
403
+ variant: "default",
404
+ size: "default",
405
+ children: [/* @__PURE__ */ O(p, { className: "w-4 h-4 mr-2" }), "Go back to Parsers"]
406
+ })
388
407
  })
389
408
  });
390
409
  });