@burdenoff/microfe-bigconsole 2026.1110.7 → 2026.1111.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.
@@ -56,6 +56,7 @@ var o = e(function({ value: e, type: o, onChange: s, readOnly: c = !1, height: l
56
56
  onMount: g,
57
57
  options: {
58
58
  readOnly: c,
59
+ editContext: !1,
59
60
  minimap: { enabled: !1 },
60
61
  lineNumbers: u ? "on" : "off",
61
62
  scrollBeyondLastLine: !1,
@@ -16,6 +16,17 @@ interface ParserCardProps {
16
16
  onDelete?: (id: string) => void;
17
17
  /** Whether this card's delete action is in progress */
18
18
  isDeleting?: boolean;
19
+ /** Card grid tile (default) or compact single-row presentation for the list view */
20
+ layout?: 'grid' | 'list';
19
21
  }
20
- export declare const ParserCard: import('react').MemoExoticComponent<({ parser, onView, onEdit, onTest, onExecute, onExport, onDelete, }: ParserCardProps) => import('react').JSX.Element>;
22
+ /**
23
+ * Trim an expression down to the first `maxLines` lines for the card preview.
24
+ * Returns the truncation flag separately so the caller can show an affordance
25
+ * rather than silently hiding the rest of the transform.
26
+ */
27
+ export declare function previewExpression(expression: string | null | undefined, maxLines: number): {
28
+ lines: string[];
29
+ truncated: boolean;
30
+ };
31
+ export declare const ParserCard: import('react').MemoExoticComponent<({ parser, onView, onEdit, onTest, onExecute, onExport, onDelete, isDeleting, layout, }: ParserCardProps) => import('react').JSX.Element>;
21
32
  export default ParserCard;
@@ -2,11 +2,13 @@ import { SECTION_FOCUS_RING as e } from "../common/sectionStyles.js";
2
2
  import { ParserStatusBadge as t } from "./ParserStatusBadge.js";
3
3
  import { ParserTypeBadge as n } from "./ParserTypeBadge.js";
4
4
  import "../common/index.js";
5
- import { memo as r, useCallback as i, useMemo as a } from "react";
6
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
5
+ import { useTr as r } from "../../../shared/hooks/useTr.js";
6
+ import { memo as i, useCallback as a, useMemo as o } from "react";
7
+ import { Database as s, Download as c, FlaskConical as l, Pencil as u, Play as d, Trash2 as f } from "lucide-react";
8
+ import { jsx as p, jsxs as m } from "react/jsx-runtime";
7
9
  // src/bigconsole/components/parser/ParserCard.tsx
8
- var c = `inline-flex h-control-md aspect-square items-center justify-center rounded-md text-text-secondary motion-safe:transition-colors hover:bg-bg-sunken hover:text-text-primary ${e}`;
9
- function l(e) {
10
+ var h = `inline-flex min-h-11 min-w-11 items-center justify-center rounded-md text-text-secondary motion-safe:transition-colors hover:bg-bg-sunken hover:text-text-primary disabled:cursor-not-allowed disabled:opacity-50 ${e}`, g = 6, _ = 2;
11
+ function v(e) {
10
12
  let t = new Date(e);
11
13
  return new Intl.DateTimeFormat("en-US", {
12
14
  month: "short",
@@ -16,249 +18,233 @@ function l(e) {
16
18
  minute: "2-digit"
17
19
  }).format(t);
18
20
  }
19
- function u(e) {
21
+ function y(e) {
20
22
  let t = new Date(e), n = Date.now() - t.getTime(), r = Math.floor(n / 6e4);
21
23
  if (r < 1) return "just now";
22
24
  if (r < 60) return `${r}m ago`;
23
25
  let i = Math.floor(r / 60);
24
26
  if (i < 24) return `${i}h ago`;
25
27
  let a = Math.floor(i / 24);
26
- return a < 7 ? `${a}d ago` : l(e);
28
+ return a < 7 ? `${a}d ago` : v(e);
27
29
  }
28
- var d = ({ className: e }) => /* @__PURE__ */ o("svg", {
29
- className: e,
30
- fill: "none",
31
- stroke: "currentColor",
32
- viewBox: "0 0 24 24",
33
- children: /* @__PURE__ */ o("path", {
34
- strokeLinecap: "round",
35
- strokeLinejoin: "round",
36
- strokeWidth: 1.5,
37
- d: "M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
38
- })
39
- }), f = ({ className: e }) => /* @__PURE__ */ o("svg", {
40
- className: e,
41
- fill: "none",
42
- stroke: "currentColor",
43
- viewBox: "0 0 24 24",
44
- children: /* @__PURE__ */ o("path", {
45
- strokeLinecap: "round",
46
- strokeLinejoin: "round",
47
- strokeWidth: 1.5,
48
- d: "M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"
49
- })
50
- }), p = ({ className: e }) => /* @__PURE__ */ o("svg", {
51
- className: e,
52
- fill: "none",
53
- stroke: "currentColor",
54
- viewBox: "0 0 24 24",
55
- children: /* @__PURE__ */ o("path", {
56
- strokeLinecap: "round",
57
- strokeLinejoin: "round",
58
- strokeWidth: 1.5,
59
- d: "M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4"
60
- })
61
- }), m = ({ className: e }) => /* @__PURE__ */ o("svg", {
62
- className: e,
63
- fill: "none",
64
- stroke: "currentColor",
65
- viewBox: "0 0 24 24",
66
- children: /* @__PURE__ */ o("path", {
67
- strokeLinecap: "round",
68
- strokeLinejoin: "round",
69
- strokeWidth: 2,
70
- d: "M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
71
- })
72
- }), h = ({ className: e }) => /* @__PURE__ */ s("svg", {
73
- className: e,
74
- fill: "none",
75
- stroke: "currentColor",
76
- viewBox: "0 0 24 24",
77
- children: [/* @__PURE__ */ o("path", {
78
- strokeLinecap: "round",
79
- strokeLinejoin: "round",
80
- strokeWidth: 2,
81
- d: "M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"
82
- }), /* @__PURE__ */ o("path", {
83
- strokeLinecap: "round",
84
- strokeLinejoin: "round",
85
- strokeWidth: 2,
86
- d: "M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
87
- })]
88
- }), g = ({ className: e }) => /* @__PURE__ */ o("svg", {
89
- className: e,
90
- fill: "none",
91
- stroke: "currentColor",
92
- viewBox: "0 0 24 24",
93
- children: /* @__PURE__ */ o("path", {
94
- strokeLinecap: "round",
95
- strokeLinejoin: "round",
96
- strokeWidth: 2,
97
- d: "M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"
98
- })
99
- }), _ = ({ className: e }) => /* @__PURE__ */ o("svg", {
100
- className: e,
101
- fill: "none",
102
- stroke: "currentColor",
103
- viewBox: "0 0 24 24",
104
- children: /* @__PURE__ */ o("path", {
105
- strokeLinecap: "round",
106
- strokeLinejoin: "round",
107
- strokeWidth: 2,
108
- d: "M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
109
- })
110
- }), v = ({ className: e }) => /* @__PURE__ */ o("svg", {
111
- className: e,
112
- fill: "none",
113
- stroke: "currentColor",
114
- viewBox: "0 0 24 24",
115
- children: /* @__PURE__ */ o("path", {
116
- strokeLinecap: "round",
117
- strokeLinejoin: "round",
118
- strokeWidth: 2,
119
- d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
120
- })
121
- }), y = r(function({ parser: r, onView: y, onEdit: b, onTest: x, onExecute: S, onExport: C, onDelete: w }) {
122
- let T = i(() => {
123
- y?.(r.id);
124
- }, [y, r.id]), E = i((e) => {
125
- e.stopPropagation(), y?.(r.id);
126
- }, [y, r.id]), D = i((e) => {
127
- e.stopPropagation(), x?.(r.id);
128
- }, [x, r.id]), O = i((e) => {
129
- e.stopPropagation(), S?.(r.id);
130
- }, [S, r.id]), k = i((e) => {
131
- e.stopPropagation(), b?.(r.id);
132
- }, [b, r.id]), A = i((e) => {
133
- e.stopPropagation(), C?.(r.id);
134
- }, [C, r.id]), j = i((e) => {
135
- e.stopPropagation(), w?.(r.id);
136
- }, [w, r.id]), M = a(() => {
137
- let e = "w-icon-sm h-icon-sm text-text-secondary";
138
- switch (r.type) {
139
- case "jq": return /* @__PURE__ */ o(d, { className: e });
140
- case "jsonata": return /* @__PURE__ */ o(f, { className: e });
141
- default: return /* @__PURE__ */ o(p, { className: e });
142
- }
143
- }, [r.type]);
144
- return /* @__PURE__ */ s("div", {
145
- onClick: T,
146
- className: "\n flex h-full flex-col\n bg-bg-elevated\n border border-[var(--color-border-default)]\n rounded-card\n overflow-hidden\n cursor-pointer\n hover:border-action-primary-bg\n motion-safe:transition-colors\n ",
147
- children: [/* @__PURE__ */ s("div", {
148
- className: "flex flex-wrap items-center justify-between gap-icon-gap border-b border-[var(--color-border-subtle)] bg-bg-sunken px-4 py-2",
149
- children: [/* @__PURE__ */ s("span", {
150
- className: "flex min-w-0 items-center gap-icon-gap",
151
- children: [M, /* @__PURE__ */ o(n, {
152
- type: r.type,
153
- size: "sm"
30
+ function b(e, t) {
31
+ if (!e) return {
32
+ lines: [],
33
+ truncated: !1
34
+ };
35
+ let n = e.replace(/\s+$/, "");
36
+ if (!n) return {
37
+ lines: [],
38
+ truncated: !1
39
+ };
40
+ let r = n.split("\n");
41
+ return {
42
+ lines: r.slice(0, t),
43
+ truncated: r.length > t
44
+ };
45
+ }
46
+ var x = i(function({ label: e, onClick: t, destructive: n, disabled: r, children: i }) {
47
+ return /* @__PURE__ */ p("button", {
48
+ type: "button",
49
+ onClick: t,
50
+ disabled: r,
51
+ "aria-label": e,
52
+ title: e,
53
+ className: `${h} ${n ? "hover:text-[var(--color-status-error-text)]" : ""}`,
54
+ children: i
55
+ });
56
+ }), S = i(function({ parser: i, onView: h, onEdit: S, onTest: C, onExecute: w, onExport: T, onDelete: E, isDeleting: D = !1, layout: O = "grid" }) {
57
+ let k = r(), A = i.name || k("bigconsole.parsers.view.untitled", "Untitled Parser"), j = a(() => {
58
+ h?.(i.id);
59
+ }, [h, i.id]), M = a((e) => {
60
+ e.stopPropagation(), h?.(i.id);
61
+ }, [h, i.id]), N = a((e) => {
62
+ e.stopPropagation(), C?.(i.id);
63
+ }, [C, i.id]), P = a((e) => {
64
+ e.stopPropagation(), w?.(i.id);
65
+ }, [w, i.id]), F = a((e) => {
66
+ e.stopPropagation(), S?.(i.id);
67
+ }, [S, i.id]), I = a((e) => {
68
+ e.stopPropagation(), T?.(i.id);
69
+ }, [T, i.id]), L = a((e) => {
70
+ e.stopPropagation(), E?.(i.id);
71
+ }, [E, i.id]), { lines: R, truncated: z } = o(() => b(i.expression, O === "list" ? _ : g), [i.expression, O]), B = "h-icon-sm w-icon-sm", V = /* @__PURE__ */ m("div", {
72
+ className: "flex shrink-0 flex-wrap items-center",
73
+ children: [
74
+ C && /* @__PURE__ */ p(x, {
75
+ label: k("bigconsole.parsers.card.test", "Test parser"),
76
+ onClick: N,
77
+ disabled: D,
78
+ children: /* @__PURE__ */ p(l, {
79
+ "aria-hidden": "true",
80
+ className: B
81
+ })
82
+ }),
83
+ w && /* @__PURE__ */ p(x, {
84
+ label: k("bigconsole.parsers.card.execute", "Execute parser"),
85
+ onClick: P,
86
+ disabled: D,
87
+ children: /* @__PURE__ */ p(d, {
88
+ "aria-hidden": "true",
89
+ className: B
90
+ })
91
+ }),
92
+ S && /* @__PURE__ */ p(x, {
93
+ label: k("bigconsole.parsers.card.edit", "Edit parser"),
94
+ onClick: F,
95
+ disabled: D,
96
+ children: /* @__PURE__ */ p(u, {
97
+ "aria-hidden": "true",
98
+ className: B
99
+ })
100
+ }),
101
+ T && /* @__PURE__ */ p(x, {
102
+ label: k("bigconsole.parsers.card.export", "Export parser"),
103
+ onClick: I,
104
+ disabled: D,
105
+ children: /* @__PURE__ */ p(c, {
106
+ "aria-hidden": "true",
107
+ className: B
108
+ })
109
+ }),
110
+ E && /* @__PURE__ */ p(x, {
111
+ label: k("bigconsole.parsers.card.delete", "Delete parser"),
112
+ onClick: L,
113
+ destructive: !0,
114
+ disabled: D,
115
+ children: /* @__PURE__ */ p(f, {
116
+ "aria-hidden": "true",
117
+ className: B
118
+ })
119
+ })
120
+ ]
121
+ }), H = i.inputSinkKey ? /* @__PURE__ */ m("span", {
122
+ className: "inline-flex min-w-0 items-center gap-icon-gap rounded-md border border-[var(--color-border-subtle)] bg-bg-sunken px-2 py-1 text-xs text-text-secondary",
123
+ title: `${i.inputSinkKey} → ${i.outputKey}`,
124
+ children: [/* @__PURE__ */ p(s, {
125
+ "aria-hidden": "true",
126
+ className: "h-3 w-3 shrink-0"
127
+ }), /* @__PURE__ */ p("span", {
128
+ className: "truncate font-mono",
129
+ children: i.inputSinkKey
130
+ })]
131
+ }) : /* @__PURE__ */ p("span", {
132
+ className: "text-xs text-text-muted",
133
+ children: k("bigconsole.parsers.view.noneConfigured", "None configured")
134
+ }), U = /* @__PURE__ */ p("span", {
135
+ className: "whitespace-nowrap tabular-nums",
136
+ title: `Last updated: ${v(i.updatedAt)}`,
137
+ children: y(i.updatedAt)
138
+ }), W = `
139
+ bg-bg-elevated
140
+ border border-[var(--color-border-default)]
141
+ rounded-card
142
+ cursor-pointer
143
+ hover:border-action-primary-bg
144
+ motion-safe:transition-colors
145
+ ${D ? "opacity-60 pointer-events-none" : ""}
146
+ `, G = /* @__PURE__ */ p("button", {
147
+ type: "button",
148
+ onClick: M,
149
+ disabled: D,
150
+ className: `block w-full min-w-0 truncate rounded-sm text-left ${e}`,
151
+ children: A
152
+ });
153
+ return O === "list" ? /* @__PURE__ */ m("div", {
154
+ onClick: j,
155
+ className: `${W} flex flex-wrap items-center gap-x-3 gap-y-2 p-3 sm:flex-nowrap`,
156
+ children: [
157
+ /* @__PURE__ */ p(n, {
158
+ type: i.type,
159
+ size: "sm"
160
+ }),
161
+ /* @__PURE__ */ m("div", {
162
+ className: "min-w-0 flex-1",
163
+ children: [/* @__PURE__ */ p("h3", {
164
+ className: "min-w-0 text-sm font-semibold text-text-primary",
165
+ children: G
166
+ }), /* @__PURE__ */ m("p", {
167
+ className: "mt-0.5 truncate font-mono text-xs text-text-secondary",
168
+ children: [
169
+ i.inputSinkKey || "—",
170
+ " → ",
171
+ i.outputKey || "—"
172
+ ]
154
173
  })]
155
- }), /* @__PURE__ */ o(t, {
156
- status: r.status,
174
+ }),
175
+ R.length > 0 && /* @__PURE__ */ p("pre", {
176
+ "aria-hidden": "true",
177
+ className: "hidden min-w-0 max-w-md flex-1 truncate whitespace-pre rounded-md border border-[var(--color-border-subtle)] bg-bg-sunken px-2 py-1 font-mono text-xs text-text-secondary lg:block",
178
+ children: R.join(" ")
179
+ }),
180
+ /* @__PURE__ */ p(t, {
181
+ status: i.status,
157
182
  size: "sm"
158
- })]
159
- }), /* @__PURE__ */ s("div", {
160
- className: "flex flex-1 flex-col p-4",
161
- children: [
162
- /* @__PURE__ */ s("div", {
163
- className: "flex flex-wrap items-start justify-between gap-icon-gap mb-2",
164
- children: [/* @__PURE__ */ s("div", {
165
- className: "flex-1 min-w-0",
166
- children: [/* @__PURE__ */ o("h3", {
167
- className: "min-w-0 text-sm font-semibold text-text-primary",
168
- children: /* @__PURE__ */ o("button", {
169
- type: "button",
170
- onClick: E,
171
- className: `block w-full truncate rounded-sm text-left ${e}`,
172
- children: r.name || "Untitled Parser"
173
- })
174
- }), /* @__PURE__ */ s("p", {
175
- className: "text-xs font-mono text-text-secondary truncate mt-0.5",
176
- title: `${r.inputSinkKey} → ${r.outputKey}`,
177
- children: [
178
- r.inputSinkKey,
179
- " → ",
180
- r.outputKey
181
- ]
182
- })]
183
- }), /* @__PURE__ */ s("div", {
184
- className: "flex flex-wrap items-center gap-icon-gap",
185
- children: [
186
- x && /* @__PURE__ */ s("button", {
187
- type: "button",
188
- onClick: D,
189
- className: c,
190
- title: "Test Parser",
191
- children: [/* @__PURE__ */ o("span", {
192
- className: "sr-only",
193
- children: "Test parser"
194
- }), /* @__PURE__ */ o(m, { className: "w-icon-sm h-icon-sm" })]
195
- }),
196
- S && /* @__PURE__ */ s("button", {
197
- type: "button",
198
- onClick: O,
199
- className: c,
200
- title: "Execute Parser",
201
- children: [/* @__PURE__ */ o("span", {
202
- className: "sr-only",
203
- children: "Execute parser"
204
- }), /* @__PURE__ */ o(h, { className: "w-icon-sm h-icon-sm" })]
205
- }),
206
- b && /* @__PURE__ */ s("button", {
207
- type: "button",
208
- onClick: k,
209
- className: c,
210
- title: "Edit Parser",
211
- children: [/* @__PURE__ */ o("span", {
212
- className: "sr-only",
213
- children: "Edit parser"
214
- }), /* @__PURE__ */ o(g, { className: "w-icon-sm h-icon-sm" })]
215
- }),
216
- C && /* @__PURE__ */ s("button", {
217
- type: "button",
218
- onClick: A,
219
- className: c,
220
- title: "Export Parser",
221
- children: [/* @__PURE__ */ o("span", {
222
- className: "sr-only",
223
- children: "Export parser"
224
- }), /* @__PURE__ */ o(v, { className: "w-icon-sm h-icon-sm" })]
225
- }),
226
- w && /* @__PURE__ */ s("button", {
227
- type: "button",
228
- onClick: j,
229
- className: `${c} hover:text-[var(--color-status-error-text)]`,
230
- title: "Delete Parser",
231
- children: [/* @__PURE__ */ o("span", {
232
- className: "sr-only",
233
- children: "Delete parser"
234
- }), /* @__PURE__ */ o(_, { className: "w-icon-sm h-icon-sm" })]
235
- })
236
- ]
183
+ }),
184
+ /* @__PURE__ */ p("span", {
185
+ className: "text-xs text-text-muted",
186
+ children: U
187
+ }),
188
+ V
189
+ ]
190
+ }) : /* @__PURE__ */ m("div", {
191
+ onClick: j,
192
+ className: `${W} flex h-full flex-col overflow-hidden`,
193
+ children: [
194
+ /* @__PURE__ */ m("div", {
195
+ className: "flex flex-wrap items-start justify-between gap-icon-gap p-4 pb-3",
196
+ children: [/* @__PURE__ */ m("div", {
197
+ className: "flex min-w-0 flex-1 items-center gap-icon-gap pt-2",
198
+ children: [/* @__PURE__ */ p(n, {
199
+ type: i.type,
200
+ size: "sm"
201
+ }), /* @__PURE__ */ p("h3", {
202
+ className: "min-w-0 flex-1 text-sm font-semibold text-text-primary",
203
+ children: G
204
+ })]
205
+ }), V]
206
+ }),
207
+ /* @__PURE__ */ p("div", {
208
+ className: "px-4",
209
+ children: R.length > 0 ? /* @__PURE__ */ m("pre", {
210
+ className: "min-h-28 overflow-x-auto rounded-md border border-[var(--color-border-subtle)] bg-bg-sunken p-3 font-mono text-xs leading-relaxed text-text-secondary",
211
+ children: [R.join("\n"), z && /* @__PURE__ */ p("span", {
212
+ className: "mt-1 block text-text-muted",
213
+ children: "…"
214
+ })]
215
+ }) : /* @__PURE__ */ p("div", {
216
+ className: "flex min-h-28 items-center justify-center rounded-md border border-[var(--color-border-subtle)] bg-bg-sunken text-xs text-text-muted",
217
+ children: k("bigconsole.parsers.card.noExpression", "No expression configured")
218
+ })
219
+ }),
220
+ i.description && /* @__PURE__ */ p("p", {
221
+ className: "line-clamp-2 px-4 pt-3 text-xs text-text-secondary",
222
+ children: i.description
223
+ }),
224
+ /* @__PURE__ */ m("div", {
225
+ className: "mt-auto flex flex-col gap-2 p-4 pt-3",
226
+ children: [/* @__PURE__ */ m("div", {
227
+ className: "flex flex-wrap items-center justify-between gap-icon-gap",
228
+ children: [H, /* @__PURE__ */ p(t, {
229
+ status: i.status,
230
+ size: "sm"
237
231
  })]
238
- }),
239
- r.description && /* @__PURE__ */ o("p", {
240
- className: "text-xs text-text-secondary mb-3 line-clamp-2",
241
- children: r.description
242
- }),
243
- /* @__PURE__ */ s("div", {
244
- className: "mt-auto flex flex-wrap items-center justify-between gap-x-3 gap-y-1 border-t border-[var(--color-border-subtle)] pt-2 text-xs text-text-muted",
245
- children: [/* @__PURE__ */ s("span", {
232
+ }), /* @__PURE__ */ m("div", {
233
+ className: "flex flex-wrap items-center justify-between gap-x-3 gap-y-1 border-t border-[var(--color-border-subtle)] pt-2 text-xs text-text-muted",
234
+ children: [/* @__PURE__ */ m("span", {
246
235
  className: "flex flex-wrap items-center gap-3",
247
- children: [/* @__PURE__ */ s("span", { children: ["v", r.version] }), r.ttl ? /* @__PURE__ */ s("span", {
248
- title: `Cache TTL: ${r.ttl} seconds`,
236
+ children: [i.version == null ? null : /* @__PURE__ */ m("span", { children: ["v", i.version] }), i.ttl ? /* @__PURE__ */ m("span", {
237
+ title: `Cache TTL: ${i.ttl} seconds`,
249
238
  children: [
250
239
  "TTL: ",
251
- r.ttl,
240
+ i.ttl,
252
241
  "s"
253
242
  ]
254
243
  }) : null]
255
- }), /* @__PURE__ */ o("span", {
256
- title: `Last updated: ${l(r.updatedAt)}`,
257
- children: u(r.updatedAt)
258
- })]
259
- })
260
- ]
261
- })]
244
+ }), U]
245
+ })]
246
+ })
247
+ ]
262
248
  });
263
249
  });
264
- export { y as ParserCard, y as default };
250
+ export { S as ParserCard, S as default, b as previewExpression };