@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
@@ -3,16 +3,16 @@ import { useAppNavigate as t } from "../contexts/NavigationContext.js";
3
3
  import "../contexts/index.js";
4
4
  import n from "../hooks/useParserOperations.js";
5
5
  import r from "../hooks/useExportParser.js";
6
- import { isNative as i, nativeConfirm as a, nativeImpact as o, nativeNotify as s } from "../../utils/nativeBridge.js";
7
- import c from "../components/parser/ParserCard.js";
8
- import ee from "../components/parser/ImportParserDialog.js";
9
- import { memo as l, useCallback as u, useMemo as te, useState as d } from "react";
10
- import { useParams as f } from "react-router-dom";
11
- import { AlertCircle as p, FileCode2 as ne, FolderOpen as re, Plus as m, Search as h, Upload as g, X as ie } from "lucide-react";
12
- import { jsx as _, jsxs as v } from "react/jsx-runtime";
13
- import { Badge as ae, Button as y, Card as b, CardContent as x, Input as oe, Select as S, SelectContent as C, SelectItem as w, SelectTrigger as T, SelectValue as E, Spinner as se } from "@burdenoff/fe-libs/ui";
6
+ import { isNative as i, nativeConfirm as a, nativeImpact as ee, nativeNotify as o } from "../../utils/nativeBridge.js";
7
+ import te from "../components/parser/ParserCard.js";
8
+ import ne from "../components/parser/ImportParserDialog.js";
9
+ import { memo as s, useCallback as c, useMemo as l, useState as u } from "react";
10
+ import { useParams as d } from "react-router-dom";
11
+ import { AlertCircle as f, FileCode2 as p, Plus as m, Search as re, Upload as ie, X as ae } from "lucide-react";
12
+ import { AuroraBackground as oe, Badge as h, Button as g, CTAOverflowMenu as _, Card as v, CardContent as y, GlassCard as b, GradientText as x, IllustratedEmptyState as S, Input as C, PagePurpose as se, Select as w, SelectContent as T, SelectItem as E, SelectTrigger as D, SelectValue as O, Spinner as ce } from "@burdenoff/fe-libs/ui";
13
+ import { jsx as k, jsxs as A } from "react/jsx-runtime";
14
14
  //#region src/bigconsole/pages/DataParsersPage.tsx
15
- var D = [
15
+ var le = [
16
16
  {
17
17
  value: "all",
18
18
  label: "All Types"
@@ -25,7 +25,7 @@ var D = [
25
25
  value: "jsonata",
26
26
  label: "JSONata"
27
27
  }
28
- ], O = [
28
+ ], ue = [
29
29
  {
30
30
  value: "all",
31
31
  label: "All Status"
@@ -38,35 +38,35 @@ var D = [
38
38
  value: "inactive",
39
39
  label: "Inactive"
40
40
  }
41
- ], k = "default", A = l(function() {
42
- let l = t(), { consoleId: A } = f(), j = A || k, M = e((e) => e.typeFilter), N = e((e) => e.statusFilter), P = e((e) => e.searchQuery), F = e((e) => e.setTypeFilter), I = e((e) => e.setStatusFilter), L = e((e) => e.setSearchQuery), [R, z] = d(!1), [B, V] = d(null), [H, U] = d(!1), { loading: W, error: G, parsers: K, deleteParser: q, refetch: J } = n({
43
- consoleId: j,
41
+ ], de = "default", j = s(function() {
42
+ let s = t(), { consoleId: j } = d(), M = j || de, N = e((e) => e.typeFilter), P = e((e) => e.statusFilter), F = e((e) => e.searchQuery), I = e((e) => e.setTypeFilter), L = e((e) => e.setStatusFilter), R = e((e) => e.setSearchQuery), [z, B] = u(!1), [V, H] = u(null), [fe, U] = u(!1), { loading: W, error: G, parsers: K, deleteParser: q, refetch: J } = n({
43
+ consoleId: M,
44
44
  skipFetch: !1
45
- }), { downloadParser: Y, loading: ce } = r(), X = te(() => K ? K.filter((e) => {
46
- if (M && e.type !== M || N && e.status !== N) return !1;
47
- if (P) {
48
- let t = P.toLowerCase(), n = e.name?.toLowerCase().includes(t), r = e.description?.toLowerCase().includes(t), i = e.inputSinkKey?.toLowerCase().includes(t), a = e.outputKey?.toLowerCase().includes(t);
45
+ }), { downloadParser: Y, loading: pe } = r(), X = l(() => K ? K.filter((e) => {
46
+ if (N && e.type !== N || P && e.status !== P) return !1;
47
+ if (F) {
48
+ let t = F.toLowerCase(), n = e.name?.toLowerCase().includes(t), r = e.description?.toLowerCase().includes(t), i = e.inputSinkKey?.toLowerCase().includes(t), a = e.outputKey?.toLowerCase().includes(t);
49
49
  if (!n && !r && !i && !a) return !1;
50
50
  }
51
51
  return !0;
52
52
  }) : [], [
53
53
  K,
54
- M,
55
54
  N,
56
- P
57
- ]), le = u((e) => {
58
- F(e === "all" ? null : e);
59
- }, [F]), ue = u((e) => {
55
+ P,
56
+ F
57
+ ]), me = c((e) => {
60
58
  I(e === "all" ? null : e);
61
- }, [I]), de = u((e) => {
62
- L(e.target.value);
63
- }, [L]), Z = u(() => {
64
- l(A ? `/dashboards/${A}/parsers/new` : "/parsers/new");
65
- }, [l, A]), fe = u((e) => {
66
- l(A ? `/dashboards/${A}/parsers/${e}` : `/parsers/${e}`);
67
- }, [l, A]), pe = u((e) => {
68
- l(A ? `/dashboards/${A}/parsers/${e}/edit` : `/parsers/${e}/edit`);
69
- }, [l, A]), me = u(async (e) => {
59
+ }, [I]), he = c((e) => {
60
+ L(e === "all" ? null : e);
61
+ }, [L]), ge = c((e) => {
62
+ R(e.target.value);
63
+ }, [R]), Z = c(() => {
64
+ s(j ? `/dashboards/${j}/parsers/new` : "/parsers/new");
65
+ }, [s, j]), _e = c((e) => {
66
+ s(j ? `/dashboards/${j}/parsers/${e}` : `/parsers/${e}`);
67
+ }, [s, j]), ve = c((e) => {
68
+ s(j ? `/dashboards/${j}/parsers/${e}/edit` : `/parsers/${e}/edit`);
69
+ }, [s, j]), ye = c(async (e) => {
70
70
  let t = await a({
71
71
  title: "Delete parser?",
72
72
  message: "Are you sure you want to delete this parser?",
@@ -74,39 +74,39 @@ var D = [
74
74
  cancelButtonTitle: "Cancel"
75
75
  });
76
76
  if (t === null ? window.confirm("Are you sure you want to delete this parser?") : t) {
77
- o("medium"), z(!0), V(e);
77
+ ee("medium"), B(!0), H(e);
78
78
  try {
79
- await q(e), i() && s("success");
79
+ await q(e), i() && o("success");
80
80
  } catch {
81
- i() && s("error");
81
+ i() && o("error");
82
82
  } finally {
83
- z(!1), V(null);
83
+ B(!1), H(null);
84
84
  }
85
85
  }
86
- }, [q]), Q = u(() => {
87
- F(null), I(null), L("");
86
+ }, [q]), Q = c(() => {
87
+ I(null), L(null), R("");
88
88
  }, [
89
- F,
90
89
  I,
91
- L
92
- ]), he = u(async (e) => {
90
+ L,
91
+ R
92
+ ]), be = c(async (e) => {
93
93
  let t = K.find((t) => t.id === e);
94
94
  t && await Y(e, t.name);
95
- }, [K, Y]), ge = u(() => {
95
+ }, [K, Y]), xe = c(() => {
96
96
  U(!0);
97
- }, []), _e = u((e, t, n) => {
97
+ }, []), Se = c((e, t, n) => {
98
98
  J();
99
- }, [J]), $ = M !== null || N !== null || (P?.length ?? 0) > 0;
100
- return G ? /* @__PURE__ */ _("div", {
99
+ }, [J]), $ = N !== null || P !== null || (F?.length ?? 0) > 0;
100
+ return G ? /* @__PURE__ */ k("div", {
101
101
  style: { padding: "var(--space-pagePadding)" },
102
- children: /* @__PURE__ */ _(b, {
102
+ children: /* @__PURE__ */ k(v, {
103
103
  style: {
104
104
  borderColor: "var(--color-status-error-border)",
105
105
  backgroundColor: "var(--color-status-error-bgSubtle)"
106
106
  },
107
- children: /* @__PURE__ */ _(x, {
107
+ children: /* @__PURE__ */ k(y, {
108
108
  style: { padding: "var(--space-pagePadding)" },
109
- children: /* @__PURE__ */ v("div", {
109
+ children: /* @__PURE__ */ A("div", {
110
110
  style: {
111
111
  display: "flex",
112
112
  flexDirection: "column",
@@ -114,20 +114,20 @@ var D = [
114
114
  textAlign: "center"
115
115
  },
116
116
  children: [
117
- /* @__PURE__ */ _("div", {
117
+ /* @__PURE__ */ k("div", {
118
118
  style: {
119
119
  padding: "var(--space-controlGap)",
120
120
  borderRadius: "50%",
121
121
  backgroundColor: "var(--color-status-error-bgSubtle)",
122
122
  marginBottom: "var(--space-formGap)"
123
123
  },
124
- children: /* @__PURE__ */ _(p, { style: {
124
+ children: /* @__PURE__ */ k(f, { style: {
125
125
  height: "var(--size-icon-xl)",
126
126
  width: "var(--size-icon-xl)",
127
127
  color: "var(--color-status-error-text)"
128
128
  } })
129
129
  }),
130
- /* @__PURE__ */ _("h3", {
130
+ /* @__PURE__ */ k("h3", {
131
131
  style: {
132
132
  fontSize: "var(--font-size-body-lg)",
133
133
  fontWeight: "var(--font-weight-medium)",
@@ -136,7 +136,7 @@ var D = [
136
136
  },
137
137
  children: "Failed to load Parsers"
138
138
  }),
139
- /* @__PURE__ */ _("p", {
139
+ /* @__PURE__ */ k("p", {
140
140
  style: {
141
141
  fontSize: "var(--font-size-body-sm)",
142
142
  color: "var(--color-text-secondary)",
@@ -144,7 +144,7 @@ var D = [
144
144
  },
145
145
  children: G.message
146
146
  }),
147
- /* @__PURE__ */ _(y, {
147
+ /* @__PURE__ */ k(g, {
148
148
  size: "sm",
149
149
  onClick: () => J(),
150
150
  children: "Try Again"
@@ -153,32 +153,29 @@ var D = [
153
153
  })
154
154
  })
155
155
  })
156
- }) : /* @__PURE__ */ v("div", {
156
+ }) : /* @__PURE__ */ A("div", {
157
157
  style: {
158
158
  minHeight: "100vh",
159
159
  backgroundColor: "var(--color-bg-canvas)"
160
160
  },
161
161
  children: [
162
- /* @__PURE__ */ _("div", {
163
- style: {
164
- borderBottom: "1px solid var(--color-border)",
165
- backgroundColor: "var(--color-bg-surface)"
166
- },
167
- children: /* @__PURE__ */ _("div", {
162
+ /* @__PURE__ */ A("div", {
163
+ className: "relative overflow-hidden border-b border-border-seam bg-gloss-card",
164
+ children: [/* @__PURE__ */ k(oe, { intensity: "subtle" }), /* @__PURE__ */ k("div", {
168
165
  style: { padding: "var(--space-pagePadding)" },
169
- children: /* @__PURE__ */ v("div", {
166
+ children: /* @__PURE__ */ A("div", {
170
167
  style: {
171
168
  display: "flex",
172
169
  alignItems: "center",
173
170
  justifyContent: "space-between"
174
171
  },
175
- children: [/* @__PURE__ */ v("div", {
172
+ children: [/* @__PURE__ */ A("div", {
176
173
  style: {
177
174
  display: "flex",
178
175
  alignItems: "center",
179
176
  gap: "var(--space-formGap)"
180
177
  },
181
- children: [/* @__PURE__ */ _("div", {
178
+ children: [/* @__PURE__ */ k("div", {
182
179
  style: {
183
180
  display: "flex",
184
181
  height: "var(--size-controlHeight-lg)",
@@ -188,20 +185,20 @@ var D = [
188
185
  borderRadius: "var(--radius-card)",
189
186
  backgroundColor: "var(--color-action-primary-bg)"
190
187
  },
191
- children: /* @__PURE__ */ _(ne, { style: {
188
+ children: /* @__PURE__ */ k(p, { style: {
192
189
  height: "var(--size-icon-lg)",
193
190
  width: "var(--size-icon-lg)",
194
191
  color: "var(--color-action-primary-text)"
195
192
  } })
196
- }), /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("h1", {
193
+ }), /* @__PURE__ */ A("div", { children: [/* @__PURE__ */ k("h1", {
197
194
  style: {
198
195
  fontSize: "var(--font-size-heading-h4)",
199
196
  fontWeight: "var(--font-weight-bold)",
200
197
  margin: 0,
201
198
  color: "var(--color-text-primary)"
202
199
  },
203
- children: "Data Parsers"
204
- }), /* @__PURE__ */ _("p", {
200
+ children: /* @__PURE__ */ k(x, { children: "Data Parsers" })
201
+ }), /* @__PURE__ */ k("p", {
205
202
  style: {
206
203
  fontSize: "var(--font-size-body-sm)",
207
204
  color: "var(--color-text-secondary)",
@@ -209,35 +206,36 @@ var D = [
209
206
  },
210
207
  children: "Transform and process data with JQ or JSONata expressions"
211
208
  })] })]
212
- }), /* @__PURE__ */ v("div", {
213
- style: {
214
- display: "flex",
215
- gap: "var(--space-controlGap)"
216
- },
217
- children: [/* @__PURE__ */ v(y, {
218
- variant: "outline",
219
- onClick: ge,
220
- children: [/* @__PURE__ */ _(g, { style: {
209
+ }), /* @__PURE__ */ k(_, {
210
+ primary: {
211
+ label: "Create Parser",
212
+ onSelect: Z,
213
+ icon: /* @__PURE__ */ k(m, { style: {
221
214
  marginRight: "var(--space-iconGap)",
222
215
  height: "var(--size-icon-sm)",
223
216
  width: "var(--size-icon-sm)"
224
- } }), "Import"]
225
- }), /* @__PURE__ */ v(y, {
226
- onClick: Z,
227
- children: [/* @__PURE__ */ _(m, { style: {
228
- marginRight: "var(--space-iconGap)",
217
+ } })
218
+ },
219
+ actions: [{
220
+ label: "Import",
221
+ onSelect: xe,
222
+ icon: /* @__PURE__ */ k(ie, { style: {
229
223
  height: "var(--size-icon-sm)",
230
224
  width: "var(--size-icon-sm)"
231
- } }), "Create Parser"]
232
- })]
225
+ } })
226
+ }]
233
227
  })]
234
228
  })
235
- })
229
+ })]
236
230
  }),
237
- /* @__PURE__ */ v("div", {
231
+ /* @__PURE__ */ A("div", {
238
232
  style: { padding: "var(--space-pagePadding)" },
239
233
  children: [
240
- /* @__PURE__ */ v("div", {
234
+ /* @__PURE__ */ k(se, {
235
+ className: "mb-[var(--space-sectionGap)]",
236
+ children: "Parsers define how raw input — log lines, CSVs, JSON, or arbitrary text — is read and mapped into structured fields. Build a parser once, test it against a sample, then reuse it across pipelines so every source lands in a consistent, queryable shape."
237
+ }),
238
+ /* @__PURE__ */ A("div", {
241
239
  style: {
242
240
  display: "flex",
243
241
  alignItems: "center",
@@ -246,13 +244,13 @@ var D = [
246
244
  flexWrap: "wrap"
247
245
  },
248
246
  children: [
249
- /* @__PURE__ */ v("div", {
247
+ /* @__PURE__ */ A("div", {
250
248
  style: {
251
249
  position: "relative",
252
250
  maxWidth: "400px",
253
251
  flex: 1
254
252
  },
255
- children: [/* @__PURE__ */ _(h, { style: {
253
+ children: [/* @__PURE__ */ k(re, { style: {
256
254
  position: "absolute",
257
255
  left: "var(--space-controlGap)",
258
256
  top: "50%",
@@ -260,50 +258,50 @@ var D = [
260
258
  height: "var(--size-icon-sm)",
261
259
  width: "var(--size-icon-sm)",
262
260
  color: "var(--color-text-muted)"
263
- } }), /* @__PURE__ */ _(oe, {
261
+ } }), /* @__PURE__ */ k(C, {
264
262
  type: "text",
265
263
  placeholder: "Search parsers...",
266
- value: P || "",
267
- onChange: de,
264
+ value: F || "",
265
+ onChange: ge,
268
266
  style: {
269
267
  paddingLeft: "var(--size-controlHeight-md)",
270
268
  height: "var(--size-controlHeight-md)"
271
269
  }
272
270
  })]
273
271
  }),
274
- /* @__PURE__ */ v(S, {
275
- value: M || "all",
276
- onValueChange: le,
277
- children: [/* @__PURE__ */ _(T, {
272
+ /* @__PURE__ */ A(w, {
273
+ value: N || "all",
274
+ onValueChange: me,
275
+ children: [/* @__PURE__ */ k(D, {
278
276
  style: { width: "150px" },
279
- children: /* @__PURE__ */ _(E, { placeholder: "All Types" })
280
- }), /* @__PURE__ */ _(C, { children: D.map((e) => /* @__PURE__ */ _(w, {
277
+ children: /* @__PURE__ */ k(O, { placeholder: "All Types" })
278
+ }), /* @__PURE__ */ k(T, { children: le.map((e) => /* @__PURE__ */ k(E, {
281
279
  value: e.value,
282
280
  children: e.label
283
281
  }, e.value)) })]
284
282
  }),
285
- /* @__PURE__ */ v(S, {
286
- value: N || "all",
287
- onValueChange: ue,
288
- children: [/* @__PURE__ */ _(T, {
283
+ /* @__PURE__ */ A(w, {
284
+ value: P || "all",
285
+ onValueChange: he,
286
+ children: [/* @__PURE__ */ k(D, {
289
287
  style: { width: "150px" },
290
- children: /* @__PURE__ */ _(E, { placeholder: "All Status" })
291
- }), /* @__PURE__ */ _(C, { children: O.map((e) => /* @__PURE__ */ _(w, {
288
+ children: /* @__PURE__ */ k(O, { placeholder: "All Status" })
289
+ }), /* @__PURE__ */ k(T, { children: ue.map((e) => /* @__PURE__ */ k(E, {
292
290
  value: e.value,
293
291
  children: e.label
294
292
  }, e.value)) })]
295
293
  }),
296
- $ && /* @__PURE__ */ v(y, {
294
+ $ && /* @__PURE__ */ A(g, {
297
295
  variant: "ghost",
298
296
  size: "sm",
299
297
  onClick: Q,
300
- children: [/* @__PURE__ */ _(ie, { style: {
298
+ children: [/* @__PURE__ */ k(ae, { style: {
301
299
  marginRight: "var(--space-iconGap)",
302
300
  height: "var(--size-icon-sm)",
303
301
  width: "var(--size-icon-sm)"
304
302
  } }), "Clear Filters"]
305
303
  }),
306
- /* @__PURE__ */ v(ae, {
304
+ /* @__PURE__ */ A(h, {
307
305
  variant: "secondary",
308
306
  style: { marginLeft: "auto" },
309
307
  children: [
@@ -314,20 +312,20 @@ var D = [
314
312
  })
315
313
  ]
316
314
  }),
317
- W && /* @__PURE__ */ _("div", {
315
+ W && /* @__PURE__ */ k("div", {
318
316
  style: {
319
317
  display: "flex",
320
318
  alignItems: "center",
321
319
  justifyContent: "center",
322
320
  padding: "80px 0"
323
321
  },
324
- children: /* @__PURE__ */ v("div", {
322
+ children: /* @__PURE__ */ A("div", {
325
323
  style: { textAlign: "center" },
326
- children: [/* @__PURE__ */ _(se, { style: {
324
+ children: [/* @__PURE__ */ k(ce, { style: {
327
325
  height: "var(--size-icon-xl)",
328
326
  width: "var(--size-icon-xl)",
329
327
  margin: "0 auto var(--space-formGap)"
330
- } }), /* @__PURE__ */ _("p", {
328
+ } }), /* @__PURE__ */ k("p", {
331
329
  style: {
332
330
  fontSize: "var(--font-size-body-sm)",
333
331
  color: "var(--color-text-muted)"
@@ -336,109 +334,65 @@ var D = [
336
334
  })]
337
335
  })
338
336
  }),
339
- !W && X.length === 0 && !$ && /* @__PURE__ */ _(b, {
340
- className: "border-dashed",
341
- children: /* @__PURE__ */ v(x, {
342
- style: {
343
- display: "flex",
344
- flexDirection: "column",
345
- alignItems: "center",
346
- justifyContent: "center",
347
- padding: "64px var(--space-pagePadding)"
348
- },
349
- children: [
350
- /* @__PURE__ */ _("div", {
351
- style: {
352
- display: "flex",
353
- height: "80px",
354
- width: "80px",
355
- alignItems: "center",
356
- justifyContent: "center",
357
- borderRadius: "50%",
358
- backgroundColor: "var(--color-bg-sunken)",
359
- marginBottom: "var(--space-sectionGap)"
360
- },
361
- children: /* @__PURE__ */ _(re, { style: {
362
- height: "var(--size-icon-xl)",
363
- width: "var(--size-icon-xl)",
364
- color: "var(--color-text-muted)"
365
- } })
366
- }),
367
- /* @__PURE__ */ _("h3", {
368
- style: {
369
- fontSize: "var(--font-size-heading-h4)",
370
- fontWeight: "var(--font-weight-semibold)",
371
- marginBottom: "var(--space-controlGap)"
372
- },
373
- children: "No Parsers yet"
374
- }),
375
- /* @__PURE__ */ _("p", {
376
- style: {
377
- fontSize: "var(--font-size-body-sm)",
378
- color: "var(--color-text-muted)",
379
- marginBottom: "var(--space-sectionGap)",
380
- textAlign: "center",
381
- maxWidth: "400px"
382
- },
383
- children: "Create your first parser to start transforming data with JQ or JSONata."
384
- }),
385
- /* @__PURE__ */ v(y, {
386
- onClick: Z,
387
- children: [/* @__PURE__ */ _(m, { style: {
388
- marginRight: "var(--space-iconGap)",
389
- height: "var(--size-icon-sm)",
390
- width: "var(--size-icon-sm)"
391
- } }), "Create Parser"]
392
- })
393
- ]
337
+ !W && X.length === 0 && !$ && /* @__PURE__ */ k(b, {
338
+ treatment: "insight",
339
+ className: "border-border-seam",
340
+ children: /* @__PURE__ */ k(S, {
341
+ illustration: "empty-data",
342
+ title: "No Parsers yet",
343
+ description: "Create your first parser to start transforming data with JQ or JSONata.",
344
+ action: /* @__PURE__ */ A(g, {
345
+ onClick: Z,
346
+ children: [/* @__PURE__ */ k(m, { style: {
347
+ marginRight: "var(--space-iconGap)",
348
+ height: "var(--size-icon-sm)",
349
+ width: "var(--size-icon-sm)"
350
+ } }), "Create Parser"]
351
+ })
394
352
  })
395
353
  }),
396
- !W && X.length === 0 && $ && /* @__PURE__ */ v("div", {
397
- style: {
398
- padding: "64px 0",
399
- textAlign: "center"
400
- },
401
- children: [/* @__PURE__ */ _("p", {
402
- style: {
403
- fontSize: "var(--font-size-body-sm)",
404
- color: "var(--color-text-muted)"
405
- },
406
- children: "No parsers match your filters"
407
- }), /* @__PURE__ */ _(y, {
408
- variant: "ghost",
409
- size: "sm",
410
- onClick: Q,
411
- style: { marginTop: "var(--space-formGap)" },
412
- children: "Clear Filters"
413
- })]
354
+ !W && X.length === 0 && $ && /* @__PURE__ */ k(b, {
355
+ treatment: "insight",
356
+ className: "border-border-seam",
357
+ children: /* @__PURE__ */ k(S, {
358
+ illustration: "empty-search",
359
+ title: "No matching parsers",
360
+ description: "No parsers match your filters",
361
+ action: /* @__PURE__ */ k(g, {
362
+ variant: "ghost",
363
+ size: "sm",
364
+ onClick: Q,
365
+ children: "Clear Filters"
366
+ })
367
+ })
414
368
  }),
415
- !W && X.length > 0 && /* @__PURE__ */ _("div", {
369
+ !W && X.length > 0 && /* @__PURE__ */ k("div", {
416
370
  style: {
417
371
  display: "grid",
418
372
  gridTemplateColumns: "repeat(auto-fill, minmax(320px, 1fr))",
419
373
  gap: "var(--space-formGap)"
420
374
  },
421
- children: X.map((e) => /* @__PURE__ */ _(c, {
375
+ children: X.map((e) => /* @__PURE__ */ k(te, {
422
376
  parser: e,
423
- onView: fe,
424
- onEdit: pe,
425
- onExport: he,
426
- onDelete: me,
427
- isDeleting: R && B === e.id
377
+ onView: _e,
378
+ onEdit: ve,
379
+ onExport: be,
380
+ onDelete: ye,
381
+ isDeleting: z && V === e.id
428
382
  }, e.id))
429
383
  })
430
384
  ]
431
385
  }),
432
- /* @__PURE__ */ _(ee, {
433
- isOpen: H,
386
+ /* @__PURE__ */ k(ne, {
387
+ isOpen: fe,
434
388
  onClose: () => U(!1),
435
- consoleId: j,
436
- onSuccess: _e
389
+ consoleId: M,
390
+ onSuccess: Se
437
391
  })
438
392
  ]
439
393
  });
440
394
  });
441
395
  //#endregion
442
- export { A as DataParsersPage, A as default };
396
+ export { j as DataParsersPage, j as default };
443
397
 
444
398
  //# sourceMappingURL=DataParsersPage.js.map