@lumerahq/ui 0.21.3 → 0.21.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.
- package/CHANGELOG.md +22 -0
- package/dist/{RecordSheet-C8dir0Jk.js → RecordSheet-1aS1sssQ.js} +5961 -1987
- package/dist/{audit-log-vQ6gnzav.js → audit-log-DW-ts7mh.js} +1 -1
- package/dist/{automations-CwXZdHMe.js → automations-4aVNe5uF.js} +18 -3
- package/dist/components/agent-chat/Markdown.d.ts.map +1 -1
- package/dist/components/agent-chat/chat-markdown.d.ts +5 -0
- package/dist/components/agent-chat/chat-markdown.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/{formatters-BuHr2I8Z.js → formatters-Ejvss8qz.js} +1 -2
- package/dist/highlighted-body-JLMTFACH-D1NSviFj.js +21 -0
- package/dist/hooks/index.js +2 -2
- package/dist/index.js +6 -6
- package/dist/lib/bridge.d.ts +1 -1
- package/dist/lib/bridge.d.ts.map +1 -1
- package/dist/lib/index.js +3 -3
- package/dist/mermaid-WFAXDIZX-f94Zh_PW.js +4 -0
- package/dist/{use-automation-run-C8Sz1K2R.js → use-automation-run-udyHkYbG.js} +1 -1
- package/dist/{use-sql-table-D4wkMzsk.js → use-sql-table-CgGHt8b8.js} +3 -3
- package/package.json +3 -3
- package/dist/highlighted-body-OFNGDK62-B8vEiteo.js +0 -19
- package/dist/mermaid-GHXKKRXX-B7c_UL36.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a3 as requestApi } from "./automations-
|
|
1
|
+
import { a3 as requestApi } from "./automations-4aVNe5uF.js";
|
|
2
2
|
const RECORD_AUDIT_EXPORT_LIMIT = 1e4;
|
|
3
3
|
const RECORD_AUDIT_MAX_COLLECTIONS = 20;
|
|
4
4
|
const normalizeRecordAuditPageSize = (value = 50) => Math.min(200, Math.max(1, Math.trunc(value) || 50));
|
|
@@ -222,6 +222,16 @@ function installCustomerAppUpdates(isTrustedParent) {
|
|
|
222
222
|
}
|
|
223
223
|
const __vite_import_meta_env__ = { "DEV": false };
|
|
224
224
|
const DEFAULT_TIMEOUT_MS = 15e3;
|
|
225
|
+
const APP_API_TIMEOUT_MS = 6e4;
|
|
226
|
+
const defaultRequestTimeout = (url) => {
|
|
227
|
+
try {
|
|
228
|
+
if (new URL(url, window.location.origin).pathname.startsWith("/api/app-api/")) {
|
|
229
|
+
return APP_API_TIMEOUT_MS;
|
|
230
|
+
}
|
|
231
|
+
} catch {
|
|
232
|
+
}
|
|
233
|
+
return DEFAULT_TIMEOUT_MS;
|
|
234
|
+
};
|
|
225
235
|
const viteEnv = __vite_import_meta_env__ ?? {};
|
|
226
236
|
const DEBUG = !!viteEnv.DEV;
|
|
227
237
|
const parseParentOrigins = (value) => (value ?? "").split(",").map((item) => item.trim()).filter(Boolean);
|
|
@@ -1212,7 +1222,7 @@ const parentApiRequest = async (request2) => {
|
|
|
1212
1222
|
}
|
|
1213
1223
|
ensureListener();
|
|
1214
1224
|
const id = generateId();
|
|
1215
|
-
const timeout = request2.timeout ??
|
|
1225
|
+
const timeout = request2.timeout ?? defaultRequestTimeout(request2.url);
|
|
1216
1226
|
return new Promise((resolve, reject) => {
|
|
1217
1227
|
const timeoutId = setTimeout(() => {
|
|
1218
1228
|
pendingRequests.delete(id);
|
|
@@ -1236,7 +1246,10 @@ const parentApiRequest = async (request2) => {
|
|
|
1236
1246
|
body: request2.body,
|
|
1237
1247
|
isBase64: request2.isBase64,
|
|
1238
1248
|
fileName: request2.fileName,
|
|
1239
|
-
formFieldName: request2.formFieldName
|
|
1249
|
+
formFieldName: request2.formFieldName,
|
|
1250
|
+
// The parent tells the backend, which resends to a waking App API
|
|
1251
|
+
// Lambda only when the app waits long enough.
|
|
1252
|
+
timeout
|
|
1240
1253
|
}
|
|
1241
1254
|
},
|
|
1242
1255
|
"*"
|
|
@@ -1279,7 +1292,9 @@ const parentApiStream = (request2, handlers) => {
|
|
|
1279
1292
|
...request2.headers
|
|
1280
1293
|
},
|
|
1281
1294
|
body: request2.body,
|
|
1282
|
-
isBase64: request2.isBase64
|
|
1295
|
+
isBase64: request2.isBase64,
|
|
1296
|
+
// Unset means no deadline; see parentApiRequest.
|
|
1297
|
+
timeout
|
|
1283
1298
|
}
|
|
1284
1299
|
},
|
|
1285
1300
|
"*"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Markdown.d.ts","sourceRoot":"","sources":["../../../src/components/agent-chat/Markdown.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAiB,EAAE,SAAS,EAAE,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"Markdown.d.ts","sourceRoot":"","sources":["../../../src/components/agent-chat/Markdown.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAiB,EAAE,SAAS,EAAE,EAAE,sBAAsB,2CA8BhH"}
|
|
@@ -4,5 +4,10 @@ import { Components } from 'streamdown';
|
|
|
4
4
|
* <picture><source srcset> is the other way a URL reaches the DOM.
|
|
5
5
|
*/
|
|
6
6
|
export declare const chatImageGuardComponents: Components;
|
|
7
|
+
/**
|
|
8
|
+
* Tables keep their full height in chat. Streamdown's default is a 300px box
|
|
9
|
+
* with its own scrollbar, too small for the tables finance answers are made of.
|
|
10
|
+
*/
|
|
11
|
+
export declare const CHAT_TABLE_MAX_HEIGHT = 0;
|
|
7
12
|
export declare const chatMarkdownComponents: Components;
|
|
8
13
|
//# sourceMappingURL=chat-markdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-markdown.d.ts","sourceRoot":"","sources":["../../../src/components/agent-chat/chat-markdown.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAsE7C;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,UAGtC,CAAC;AAcF,eAAO,MAAM,sBAAsB,EAAE,UAqCpC,CAAC"}
|
|
1
|
+
{"version":3,"file":"chat-markdown.d.ts","sourceRoot":"","sources":["../../../src/components/agent-chat/chat-markdown.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAsE7C;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,UAGtC,CAAC;AAcF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,eAAO,MAAM,sBAAsB,EAAE,UAqCpC,CAAC"}
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, a, b, c, d, e, f, g, h, D, i, j, k, R, S, T, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, B, C, E, F, G } from "../RecordSheet-
|
|
1
|
+
import { A, a, b, c, d, e, f, g, h, D, i, j, k, R, S, T, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, B, C, E, F, G } from "../RecordSheet-1aS1sssQ.js";
|
|
2
2
|
export {
|
|
3
3
|
A as ActivityStrip,
|
|
4
4
|
a as AgentChat,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { I as R, W as Wc, J as In } from "./RecordSheet-1aS1sssQ.js";
|
|
2
|
+
import { useContext, useState, useEffect } from "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
var T = ({ code: s, isIncomplete: l = false, language: e, maxHeight: d, raw: t, className: a, startLine: c$1, lineNumbers: p, ...f$1 }) => {
|
|
5
|
+
let { shikiTheme: r } = useContext(R), o = Wc(), [H, i] = useState(t);
|
|
6
|
+
return useEffect(() => {
|
|
7
|
+
if (!o) {
|
|
8
|
+
i(t);
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
let n = true, u = o.highlight({ code: s, isIncomplete: l, language: e, themes: r }, (B) => {
|
|
12
|
+
n && i(B);
|
|
13
|
+
});
|
|
14
|
+
return u && i(u), () => {
|
|
15
|
+
n = false;
|
|
16
|
+
};
|
|
17
|
+
}, [s, l, e, r, o, t]), jsx(In, { className: a, language: e, lineNumbers: p, maxHeight: d, result: H, startLine: c$1, ...f$1 });
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
T as HighlightedCodeBlockBody
|
|
21
|
+
};
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a, u, b, c, d } from "../use-automation-run-
|
|
2
|
-
import { u as u2, a as a2, b as b2, c as c2, d as d2, e, f, g } from "../use-sql-table-
|
|
1
|
+
import { a, u, b, c, d } from "../use-automation-run-udyHkYbG.js";
|
|
2
|
+
import { u as u2, a as a2, b as b2, c as c2, d as d2, e, f, g } from "../use-sql-table-CgGHt8b8.js";
|
|
3
3
|
export {
|
|
4
4
|
a as areAgentChatMutationsBlocked,
|
|
5
5
|
u as useAgentChat,
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A, a, b, c, d, e, f, g, h, D, i, j, k, R, S, T, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, B, C, E, F, G } from "./RecordSheet-
|
|
2
|
-
import { a as a2, u as u2, b as b2, c as c2, d as d2 } from "./use-automation-run-
|
|
3
|
-
import { u as u3, a as a3, b as b3, c as c3, d as d3, e as e2, f as f2, g as g2 } from "./use-sql-table-
|
|
4
|
-
import { B as B2, E as E2, a as a4, b as b4, c as c4, d as d4, e as e3, f as f3, g as g3, h as h2, i as i2, j as j2, k as k2, l as l2, m as m2, n as n2, o as o2, p as p2, q as q2, r as r2, s as s2, t as t2, u as u4, v as v2, w as w2, x as x2, y as y2, z as z2, A as A2, C as C2, D as D2, F as F2, G as G2, H, I, J, K, L, M, N, O, P, Q, R as R2, S as S2, T as T2, U, V, W, X, Y, Z, _, $, a0, a1, a2 as a22 } from "./automations-
|
|
5
|
-
import { c as c5, f as f4, a as a5, b as b5, d as d5, e as e4, g as g4, h as h3, i as i3, j as j3, k as k3, l as l3, m as m3, n as n3, o as o3, s as s3 } from "./formatters-
|
|
1
|
+
import { A, a, b, c, d, e, f, g, h, D, i, j, k, R, S, T, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, B, C, E, F, G } from "./RecordSheet-1aS1sssQ.js";
|
|
2
|
+
import { a as a2, u as u2, b as b2, c as c2, d as d2 } from "./use-automation-run-udyHkYbG.js";
|
|
3
|
+
import { u as u3, a as a3, b as b3, c as c3, d as d3, e as e2, f as f2, g as g2 } from "./use-sql-table-CgGHt8b8.js";
|
|
4
|
+
import { B as B2, E as E2, a as a4, b as b4, c as c4, d as d4, e as e3, f as f3, g as g3, h as h2, i as i2, j as j2, k as k2, l as l2, m as m2, n as n2, o as o2, p as p2, q as q2, r as r2, s as s2, t as t2, u as u4, v as v2, w as w2, x as x2, y as y2, z as z2, A as A2, C as C2, D as D2, F as F2, G as G2, H, I, J, K, L, M, N, O, P, Q, R as R2, S as S2, T as T2, U, V, W, X, Y, Z, _, $, a0, a1, a2 as a22 } from "./automations-4aVNe5uF.js";
|
|
5
|
+
import { c as c5, f as f4, a as a5, b as b5, d as d5, e as e4, g as g4, h as h3, i as i3, j as j3, k as k3, l as l3, m as m3, n as n3, o as o3, s as s3 } from "./formatters-Ejvss8qz.js";
|
|
6
6
|
import { q as q3 } from "./query-client-DdOWay4_.js";
|
|
7
|
-
import { R as R3, a as a6, b as b6, c as c6, f as f5, g as g5, l as l4, n as n4, d as d6, e as e5, r as r3 } from "./audit-log-
|
|
7
|
+
import { R as R3, a as a6, b as b6, c as c6, f as f5, g as g5, l as l4, n as n4, d as d6, e as e5, r as r3 } from "./audit-log-DW-ts7mh.js";
|
|
8
8
|
export {
|
|
9
9
|
A as ActivityStrip,
|
|
10
10
|
a as AgentChat,
|
package/dist/lib/bridge.d.ts
CHANGED
|
@@ -120,7 +120,7 @@ export type BridgeRequest = {
|
|
|
120
120
|
fileName?: string;
|
|
121
121
|
/** Multipart field name for fileName uploads. Defaults to `file`. */
|
|
122
122
|
formFieldName?: string;
|
|
123
|
-
/** Request timeout in milliseconds (default: 15000) */
|
|
123
|
+
/** Request timeout in milliseconds (default: 60000 for `/api/app-api/` calls, 15000 otherwise) */
|
|
124
124
|
timeout?: number;
|
|
125
125
|
};
|
|
126
126
|
/**
|
package/dist/lib/bridge.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bridge.d.ts","sourceRoot":"","sources":["../../src/lib/bridge.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bridge.d.ts","sourceRoot":"","sources":["../../src/lib/bridge.ts"],"names":[],"mappings":"AA4FA,eAAO,MAAM,sBAAsB,KAA0D,CAAC;AAQ9F,MAAM,MAAM,mBAAmB,GAAG;IAChC,sEAAsE;IACtE,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AA2CF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,GAAI,QAAQ,mBAAmB,KAAG,MAI1E,CAAC;AAMF;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,YAAY,GAAG,iBAAiB,CAAC;AAE/E,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;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,SAAS,CAUvF;AA6mBD;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,GAAI,WAAW,MAAM,KAAG,IAInD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,MAAM,QAAa,OAAO,CAAC,IAAI,CAG3C,CAAC;AA0SF;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,QAAQ,mBAAmB,KAAG,IAE7D,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU,QAAO,OAAsE,CAAC;AAErG;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,QAAO,IAqFnC,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,aAAa,GAAI,UAAU,CAAC,OAAO,EAAE,WAAW,GAAG,SAAS,KAAK,IAAI,KAAG,CAAC,MAAM,IAAI,CA6B/F,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,gBAAgB,GAAU,SAAS,aAAa,KAAG,OAAO,CAAC,cAAc,CA2DrF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,GAAI,SAAS,aAAa,EAAE,UAAU,oBAAoB,KAAG,YA4DxF,CAAC"}
|
package/dist/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B, E, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, C, D, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2 } from "../automations-
|
|
2
|
-
import { c as c2, f as f2, a as a3, b as b2, d as d2, e as e2, g as g2, h as h2, i as i2, j as j2, k as k2, l as l2, m as m2, n as n2, o as o2, s as s2 } from "../formatters-
|
|
1
|
+
import { B, E, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, C, D, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2 } from "../automations-4aVNe5uF.js";
|
|
2
|
+
import { c as c2, f as f2, a as a3, b as b2, d as d2, e as e2, g as g2, h as h2, i as i2, j as j2, k as k2, l as l2, m as m2, n as n2, o as o2, s as s2 } from "../formatters-Ejvss8qz.js";
|
|
3
3
|
import { q as q2 } from "../query-client-DdOWay4_.js";
|
|
4
|
-
import { R as R2, a as a4, b as b3, c as c3, f as f3, g as g3, l as l3, n as n3, d as d3, e as e3, r as r2 } from "../audit-log-
|
|
4
|
+
import { R as R2, a as a4, b as b3, c as c3, f as f3, g as g3, l as l3, n as n3, d as d3, e as e3, r as r2 } from "../audit-log-DW-ts7mh.js";
|
|
5
5
|
export {
|
|
6
6
|
B as BridgeError,
|
|
7
7
|
E as EXPECTED_PARENT_ORIGIN,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback, useLayoutEffect, useRef, useSyncExternalStore, useMemo } from "react";
|
|
2
|
-
import { a4 as updateBlockers, a5 as getDraftOwner, a6 as subscribeDraftOwner, i as ensureAutomationRun, g as createAutomationRun, c as cancelAutomationRun, a as automationStatuses, m as getAutomationRun } from "./automations-
|
|
2
|
+
import { a4 as updateBlockers, a5 as getDraftOwner, a6 as subscribeDraftOwner, i as ensureAutomationRun, g as createAutomationRun, c as cancelAutomationRun, a as automationStatuses, m as getAutomationRun } from "./automations-4aVNe5uF.js";
|
|
3
3
|
import { useQueryClient, useMutation, useQuery } from "@tanstack/react-query";
|
|
4
4
|
function isActiveStatus(status) {
|
|
5
5
|
return status === "queued" || status === "claimed" || status === "preparing" || status === "submitting" || status === "running";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useQueryClient, useQuery, useMutation, useInfiniteQuery } from "@tanstack/react-query";
|
|
2
2
|
import { useState, useCallback, useEffect, useMemo } from "react";
|
|
3
|
-
import { a as automationStatuses, H as listRunsByAgent, g as createAutomationRun, a2 as uploadFile, K as onInitMessage, U as pbSql, W as pbUpdateRecord } from "./automations-
|
|
4
|
-
import { d as useUpdateBlocker } from "./use-automation-run-
|
|
5
|
-
import { n as normalizeRecordAuditCollections, e as normalizeRecordAuditPageSize, l as listRecordAuditLog, g as getRecordAuditLogSnapshot } from "./audit-log-
|
|
3
|
+
import { a as automationStatuses, H as listRunsByAgent, g as createAutomationRun, a2 as uploadFile, K as onInitMessage, U as pbSql, W as pbUpdateRecord } from "./automations-4aVNe5uF.js";
|
|
4
|
+
import { d as useUpdateBlocker } from "./use-automation-run-udyHkYbG.js";
|
|
5
|
+
import { n as normalizeRecordAuditCollections, e as normalizeRecordAuditPageSize, l as listRecordAuditLog, g as getRecordAuditLogSnapshot } from "./audit-log-DW-ts7mh.js";
|
|
6
6
|
function useAutomationAgent({
|
|
7
7
|
agentId,
|
|
8
8
|
limit = 5,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumerahq/ui",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"class-variance-authority": "^0.7.1",
|
|
56
56
|
"clsx": "^2.1.1",
|
|
57
57
|
"lucide-react": "^1.7.0",
|
|
58
|
-
"streamdown": "^2.
|
|
58
|
+
"streamdown": "^2.7.1",
|
|
59
59
|
"tailwind-merge": "^3.4.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"tailwindcss": "^4.1.17",
|
|
74
74
|
"tw-animate-css": "^1.4.0",
|
|
75
75
|
"typescript": "~5.9.3",
|
|
76
|
-
"vite": "^7.
|
|
76
|
+
"vite": "^7.3.7",
|
|
77
77
|
"vite-plugin-dts": "^4.5.4"
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { I as R$1, L as Li, J as At } from "./RecordSheet-C8dir0Jk.js";
|
|
2
|
-
import { useContext, useState, useEffect } from "react";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
var R = ({ code: s, language: e, raw: t, className: h, startLine: d, lineNumbers: m, ...p }) => {
|
|
5
|
-
let { shikiTheme: l } = useContext(R$1), o = Li(), [a, i] = useState(t);
|
|
6
|
-
return useEffect(() => {
|
|
7
|
-
if (!o) {
|
|
8
|
-
i(t);
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
let r = o.highlight({ code: s, language: e, themes: l }, (c) => {
|
|
12
|
-
i(c);
|
|
13
|
-
});
|
|
14
|
-
r && i(r);
|
|
15
|
-
}, [s, e, l, o, t]), jsx(At, { className: h, language: e, lineNumbers: m, result: a, startLine: d, ...p });
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
R as HighlightedCodeBlockBody
|
|
19
|
-
};
|