@marimo-team/islands 0.25.3-dev191 → 0.25.3-dev193
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/dist/{ConnectedDataExplorerComponent-BBbOElk3.js → ConnectedDataExplorerComponent-BRuwLOIx.js} +9 -9
- package/dist/{ErrorBoundary--X0z83Yx.js → ErrorBoundary-BVu_xT-p.js} +2 -2
- package/dist/{abnfDiagram-VCTEODGH-DhMT6Uhd.js → abnfDiagram-VCTEODGH-LlJTOOU_.js} +2 -2
- package/dist/{architectureDiagram-5GKGNRK7-BVbEiJLq.js → architectureDiagram-5GKGNRK7-9PQtGLLZ.js} +1 -1
- package/dist/{arrays-R6JsImiT.js → arrays-DA6KkLfq.js} +6 -12
- package/dist/assets/__vite-browser-external-BCJsx8QS.js +1 -0
- package/dist/assets/{worker-C6e9ERyd.js → worker-DodjWT_Z.js} +2 -2
- package/dist/{capabilities-CI4xUPsp.js → capabilities-CvWU-ey_.js} +1 -1
- package/dist/{chat-ui-BguxTQEL.js → chat-ui-Bl2euMBD.js} +93 -93
- package/dist/{chunk-IMKFNOWR-By5hSbJJ.js → chunk-IMKFNOWR-DcXv-BD5.js} +1 -1
- package/dist/{chunk-SHT3W25Y-DFrEYG54.js → chunk-SHT3W25Y-VwnELN23.js} +1 -1
- package/dist/{chunk-SVP7TREG-DFXGc9ew.js → chunk-SVP7TREG-DgQpI5Zi.js} +1 -1
- package/dist/{chunk-TICWLB2K-DZdNIpoZ.js → chunk-TICWLB2K-CTg6VTJT.js} +1 -1
- package/dist/{classDiagram-ZZMXUADV-Cgj_eEQA.js → classDiagram-ZZMXUADV-UzmcFrnW.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-DLAUrSqj.js → classDiagram-v2-VYDZK3BY-DhjiI6IQ.js} +2 -2
- package/dist/{code-visibility-uDyLo9_i.js → code-visibility-BTVimCUw.js} +38 -42
- package/dist/{common-DWKY45Md.js → common-fTgq7gO-.js} +849 -849
- package/dist/{cynefinDiagram-5FMLGOSQ-Cikf9AKa.js → cynefinDiagram-5FMLGOSQ-O4ShIbJX.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-C5KEi5_l.js → dagre-GXQ25YYZ-dtHhhcPu.js} +1 -1
- package/dist/{data-grid-overlay-editor-CRnYWD1L.js → data-grid-overlay-editor-DAZZkLWg.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-BaoBTQjR.js → diagram-S7CK7UJ4-ppPYVZ6W.js} +1 -1
- package/dist/{diagram-UQ7AKVKN-DDufBsUA.js → diagram-UQ7AKVKN-CMZDf--k.js} +1 -1
- package/dist/{diagram-VX7I27RA-CY6RALJ8.js → diagram-VX7I27RA-CFvJdx-C.js} +1 -1
- package/dist/{diagram-Z3DM3KII-Bc-LHsD6.js → diagram-Z3DM3KII-Dt6_uFbv.js} +1 -1
- package/dist/{dropdown-menu-drDjxJyV.js → dropdown-menu-CeaOsjWZ.js} +2 -2
- package/dist/{ebnfDiagram-PWID7BFC-Cz0J-tcC.js → ebnfDiagram-PWID7BFC-DpRFrKK-.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-DTXTDgFu.js → erDiagram-RLTQ6QDP-CqAU4b0u.js} +1 -1
- package/dist/{error-entries-CZ1NQ6Kv.js → error-entries-CYGwr5-O.js} +5596 -6012
- package/dist/feedback-button-DzFFn-n4.js +374 -0
- package/dist/{flowDiagram-HODETNUW-RbwWf2zc.js → flowDiagram-HODETNUW-i8-Gw8HO.js} +2 -2
- package/dist/{formats-DbXnijtH.js → formats-BtoHHy42.js} +1 -1
- package/dist/{glide-data-editor-CvRiA49N.js → glide-data-editor-DFsqVbWR.js} +5 -5
- package/dist/{globals-BR4CmGOS.js → globals-Dr0MRANu.js} +2 -2
- package/dist/{html-to-image-D_4_hQ8U.js → html-to-image-Cy5UDpQJ.js} +56 -56
- package/dist/{infoDiagram-27XIBGKW-DlmzZjmI.js → infoDiagram-27XIBGKW-DpfOKdLL.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-EN3TYP_q.js → ishikawaDiagram-5VMMS53U-Dg7mrMG7.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-CK_-Ru7Q.js → kanban-definition-UXKFOSKX-QB6e3Jrj.js} +1 -1
- package/dist/main.js +5875 -5876
- package/dist/{mermaid-DU9ZRmkG.js → mermaid-CeWG4Egr.js} +48 -48
- package/dist/{mindmap-definition-YA3MSWOX-C-hqgUvF.js → mindmap-definition-YA3MSWOX-BTz3uTGe.js} +1 -1
- package/dist/{number-overlay-editor-DiYGbxNa.js → number-overlay-editor-DupOSYHx.js} +1 -1
- package/dist/{once-eG8Vmvjd.js → once-DWGO2mQ2.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-BiMejYPB.js → pegDiagram-XKGWAZYB-3ZIEa3mB.js} +2 -2
- package/dist/{pieDiagram-E7YTZNPT-B1zCZ1eq.js → pieDiagram-E7YTZNPT-BJAlk046.js} +1 -1
- package/dist/{process-output-DxSCHBWp.js → process-output-q9MTAIMX.js} +2 -2
- package/dist/{railroadDiagram-O6MQD6OU-BLcfaASl.js → railroadDiagram-O6MQD6OU-Dn3bsSRa.js} +2 -2
- package/dist/{requirementDiagram-BXWQKSXE-DtBOf52-.js → requirementDiagram-BXWQKSXE-wcOmQQCL.js} +1 -1
- package/dist/{reveal-component-D3DsXPIm.js → reveal-component-Bg8rP_Uo.js} +17 -17
- package/dist/{sequenceDiagram-WJ2MYXX4-DIwF19_n.js → sequenceDiagram-WJ2MYXX4-DSh_qxoF.js} +1 -1
- package/dist/{spec-DZDnnlgT.js → spec-C7Fos-If.js} +1 -1
- package/dist/{stateDiagram-D77RDMKH-sWk1AdYL.js → stateDiagram-D77RDMKH-DH_H8NMH.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-CiNo-OI7.js → stateDiagram-v2-MP3YSRHH-D_JM7MEK.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{swimlanes-42K2YHIH-Bj3hiOY5.js → swimlanes-42K2YHIH-CfoTJO-9.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-BzEo2r_N.js → swimlanesDiagram-VR7AAH4N-Z_QhvK0G.js} +2 -2
- package/dist/{swiper-component-BkCm-kLg.js → swiper-component-D2geL1Ku.js} +1 -1
- package/dist/{timeline-definition-24CTP7MA-CrPQk42H.js → timeline-definition-24CTP7MA-BFtdScaL.js} +1 -1
- package/dist/{toDate-Cu2pIZcC.js → toDate-CQAFSwos.js} +24 -24
- package/dist/{useAsyncData-DEhLdRIu.js → useAsyncData-BeyZyjso.js} +1 -1
- package/dist/{useDeepCompareMemoize-RjZGVhBV.js → useDeepCompareMemoize-DOQgae0W.js} +1 -1
- package/dist/{useIframeCapabilities-CSdWn6NP.js → useIframeCapabilities-DNvaj9wM.js} +1 -1
- package/dist/{useLifecycle-DtcB2s1z.js → useLifecycle-n2lnCFS8.js} +1 -1
- package/dist/{useTheme-CoEtr4mK.js → useTheme-CY777LXN.js} +303 -99
- package/dist/{vega-component-BhjTrP9-.js → vega-component-0nQzA-I8.js} +6 -6
- package/dist/{vennDiagram-4TSXK5OY-BaYMoIpj.js → vennDiagram-4TSXK5OY-BXY8IGCA.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-DjHeuj8p.js → wardleyDiagram-VM6X3IG4-D0tFe6eC.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-Bc_hcuXS.js → xychartDiagram-S5SC5T6Z-Dx8wFM-y.js} +1 -1
- package/package.json +1 -1
- package/src/__mocks__/notebook.ts +0 -1
- package/src/__mocks__/partial.ts +26 -0
- package/src/__tests__/main.test.tsx +24 -1
- package/src/components/app-config/app-config-form.tsx +5 -9
- package/src/components/editor/__tests__/data-attributes.test.tsx +0 -1
- package/src/components/editor/__tests__/output-persistence.test.tsx +0 -1
- package/src/components/editor/actions/useCellActionButton.tsx +6 -5
- package/src/components/editor/actions/useConfigActions.tsx +3 -4
- package/src/components/editor/actions/useNotebookActions.tsx +5 -4
- package/src/components/editor/cell/code/cell-editor.tsx +13 -6
- package/src/components/editor/cell/collapse.tsx +6 -1
- package/src/components/editor/chrome/components/feedback-button.tsx +1 -7
- package/src/components/editor/controls/Controls.tsx +1 -1
- package/src/components/editor/errors/__tests__/send-error-report-button.test.tsx +8 -6
- package/src/components/editor/navigation/__tests__/navigation.test.ts +15 -15
- package/src/components/editor/navigation/__tests__/selection.test.ts +44 -21
- package/src/components/editor/navigation/focus-utils.ts +19 -0
- package/src/components/editor/navigation/multi-cell-action-toolbar.tsx +6 -13
- package/src/components/editor/navigation/navigation.ts +52 -43
- package/src/components/editor/navigation/selection.ts +30 -29
- package/src/components/editor/notebook-cell.tsx +10 -18
- package/src/components/editor/renderers/cell-array.tsx +6 -5
- package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +0 -1
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +1 -1
- package/src/components/pages/edit-page.tsx +0 -13
- package/src/components/scratchpad/scratchpad.tsx +0 -1
- package/src/components/slides/reveal-component.tsx +1 -1
- package/src/components/slides/slide-cell-view.tsx +0 -1
- package/src/components/sort/SortableCellsProvider.tsx +6 -5
- package/src/core/MarimoApp.tsx +1 -1
- package/src/core/cells/__tests__/__snapshots__/cells.test.ts.snap +0 -37
- package/src/core/cells/__tests__/actions.test.ts +190 -80
- package/src/core/cells/__tests__/arrange.test.ts +263 -0
- package/src/core/cells/__tests__/cells.test.ts +11 -1101
- package/src/core/cells/__tests__/document.test.ts +3 -32
- package/src/core/cells/__tests__/editor.test.ts +57 -0
- package/src/core/cells/__tests__/harness.ts +82 -0
- package/src/core/cells/__tests__/layout.test.ts +189 -0
- package/src/core/cells/__tests__/notebook-outline.test.ts +7 -1
- package/src/core/cells/__tests__/session.test.ts +329 -174
- package/src/core/cells/__tests__/utils.test.ts +0 -1
- package/src/core/cells/actions.ts +247 -82
- package/src/core/cells/arrange.ts +341 -0
- package/src/core/cells/cells.ts +27 -516
- package/src/core/cells/document.ts +6 -5
- package/src/core/cells/edit.ts +30 -0
- package/src/core/cells/editor.ts +82 -0
- package/src/core/cells/layout.ts +152 -0
- package/src/core/cells/session.ts +75 -52
- package/src/core/cells/types.ts +0 -5
- package/src/core/cells/utils.ts +6 -4
- package/src/core/config/__tests__/app-config.test.ts +64 -0
- package/src/core/config/__tests__/config-schema.test.ts +1 -1
- package/src/core/config/config-schema.ts +6 -2
- package/src/core/config/config.ts +26 -12
- package/src/core/islands/bootstrap.ts +0 -1
- package/src/core/kernel/handlers.ts +1 -13
- package/src/core/meta/__tests__/code-visibility.test.tsx +78 -70
- package/src/core/meta/code-visibility.ts +18 -9
- package/src/core/notebook/__tests__/operations.test.ts +51 -0
- package/src/core/notebook/document/__tests__/codemirror.test.ts +15 -0
- package/src/core/notebook/index.ts +2 -1
- package/src/core/notebook/operations.ts +30 -0
- package/src/core/saving/__tests__/state.test.ts +111 -0
- package/src/core/saving/save-component.tsx +19 -33
- package/src/core/saving/state.ts +38 -39
- package/src/core/saving/useAutoSave.ts +8 -35
- package/src/core/session/__tests__/backend.test.ts +1 -0
- package/src/core/session/__tests__/useNotebookReplica.hook.test.tsx +1 -0
- package/src/core/session/active-notebook.ts +11 -0
- package/src/core/session/backend.ts +17 -19
- package/src/core/session/embedded.ts +7 -0
- package/src/core/session/useNotebookReplica.ts +3 -1
- package/src/core/session/useNotebookSession.tsx +7 -8
- package/src/core/transports/__tests__/static.test.ts +139 -8
- package/src/core/transports/static.ts +98 -16
- package/src/core/wasm/__tests__/bridge.test.ts +1 -0
- package/src/mount.tsx +19 -10
- package/src/stories/cell.stories.tsx +0 -2
- package/src/stories/layout/vertical/one-column.stories.tsx +0 -2
- package/src/utils/__tests__/id-tree.test.ts +20 -1548
- package/src/utils/id-tree.tsx +12 -537
- package/dist/assets/__vite-browser-external-C8gQho07.js +0 -1
- package/dist/feedback-button-CDf1yRm_.js +0 -379
- package/src/components/editor/navigation/__tests__/state.test.ts +0 -81
- package/src/components/editor/navigation/state.ts +0 -65
|
@@ -3,25 +3,25 @@ import { c as n, g as r, h as i, t as a } from "./button-BQRdqQi1.js";
|
|
|
3
3
|
import { t as o } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as s } from "./compiler-runtime-CldRdSsv.js";
|
|
5
5
|
import { i as c, t as l } from "./copy-icon-De584pZ4.js";
|
|
6
|
-
import { B as u, H as d, I as f, Q as p, S as m, U as h, W as g, X as _, Z as v, _ as y, a as b, b as x, f as S, g as C, h as w, l as T, m as E, n as D, p as O, r as k, t as A, u as ee, v as j, y as te } from "./html-to-image-
|
|
6
|
+
import { B as u, H as d, I as f, Q as p, S as m, U as h, W as g, X as _, Z as v, _ as y, a as b, b as x, f as S, g as C, h as w, l as T, m as E, n as D, p as O, r as k, t as A, u as ee, v as j, y as te } from "./html-to-image-Cy5UDpQJ.js";
|
|
7
7
|
import { m as M, t as ne } from "./tooltip-s4zZxwKe.js";
|
|
8
|
-
import { Ct as re,
|
|
9
|
-
import { A as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { C as
|
|
12
|
-
import { d as
|
|
13
|
-
import { t as
|
|
14
|
-
import { A as
|
|
15
|
-
import { n as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import {
|
|
8
|
+
import { Ct as re, Dt as ie, L as ae, Pt as oe, Rt as se, St as ce, Ut as le, Z as ue, ct as de, fn as fe, ht as pe, i as me, it as he, ln as ge, lt as _e, m as ve, on as ye, r as be, sn as xe, t as Se, tt as Ce, wt as we, x as Te } from "./error-entries-CYGwr5-O.js";
|
|
9
|
+
import { A as Ee, C as De, M as Oe, b as ke } from "./select-2KOiReNY.js";
|
|
10
|
+
import { _ as Ae, f as je, h as Me, i as Ne, n as Pe, t as Fe } from "./dropdown-menu-CeaOsjWZ.js";
|
|
11
|
+
import { C as Ie, d as Le } from "./toDate-CQAFSwos.js";
|
|
12
|
+
import { d as Re, f as ze, i as Be, n as Ve, t as He, u as Ue } from "./process-output-q9MTAIMX.js";
|
|
13
|
+
import { t as We } from "./jsx-runtime-3BD1kT0s.js";
|
|
14
|
+
import { A as Ge, B as Ke, C as qe, E as Je, I as Ye, L as Xe, M as Ze, N as Qe, O as $e, P as et, S as tt, T as nt, U as rt, V as it, b as at, k as ot, w as st, x as ct, y as lt, z as ut } from "./use-restore-focus-BgDTd2tc.js";
|
|
15
|
+
import { n as dt } from "./error-banner-DxJ3s8YO.js";
|
|
16
|
+
import { t as ft } from "./label-Qvw1E97W.js";
|
|
17
|
+
import { t as pt } from "./isEmpty-BSZ1LaUo.js";
|
|
18
|
+
import { E as mt, P as ht, R as gt, n as _t } from "./useTheme-CY777LXN.js";
|
|
19
19
|
import { t as vt } from "./objects-DCmMvZtn.js";
|
|
20
20
|
import { At as yt, Ct as bt, Et as xt, G as St, J as Ct, Nt as wt, U as Tt, jt as Et, ot as Dt, q as Ot, st as kt, wt as At } from "./dist-BmS-ZGjl.js";
|
|
21
21
|
import { n as jt, o as Mt, r as Nt } from "./dist-OUle2RT7.js";
|
|
22
22
|
import { n as Pt } from "./dist-DtGn9N4h.js";
|
|
23
23
|
import { n as Ft, t as It } from "./esm-mDQNEFe_.js";
|
|
24
|
-
import { t as Lt } from "./useAsyncData-
|
|
24
|
+
import { t as Lt } from "./useAsyncData-BeyZyjso.js";
|
|
25
25
|
var Rt = M("ban", [["circle", {
|
|
26
26
|
cx: "12",
|
|
27
27
|
cy: "12",
|
|
@@ -1251,12 +1251,12 @@ function ni(e, t) {
|
|
|
1251
1251
|
}
|
|
1252
1252
|
function ri(e, t) {
|
|
1253
1253
|
let n = t?.useReferences ?? !1;
|
|
1254
|
-
return Zr(() => $n(
|
|
1254
|
+
return Zr(() => $n(rt(e, {
|
|
1255
1255
|
target: "draft-7",
|
|
1256
1256
|
io: "input",
|
|
1257
1257
|
reused: n ? "ref" : "inline"
|
|
1258
1258
|
})), { validate: async (t) => {
|
|
1259
|
-
let n = await
|
|
1259
|
+
let n = await it(e, t);
|
|
1260
1260
|
return n.success ? {
|
|
1261
1261
|
success: !0,
|
|
1262
1262
|
value: n.data
|
|
@@ -1446,23 +1446,23 @@ function Fi(e, t) {
|
|
|
1446
1446
|
return n;
|
|
1447
1447
|
}
|
|
1448
1448
|
var W = {
|
|
1449
|
-
array:
|
|
1450
|
-
boolean:
|
|
1451
|
-
custom:
|
|
1452
|
-
discriminatedUnion:
|
|
1453
|
-
enum:
|
|
1454
|
-
instanceof:
|
|
1455
|
-
lazy:
|
|
1456
|
-
literal:
|
|
1457
|
-
looseObject:
|
|
1458
|
-
never:
|
|
1459
|
-
null:
|
|
1460
|
-
number:
|
|
1461
|
-
object:
|
|
1462
|
-
record:
|
|
1463
|
-
string:
|
|
1464
|
-
union:
|
|
1465
|
-
unknown:
|
|
1449
|
+
array: qe,
|
|
1450
|
+
boolean: st,
|
|
1451
|
+
custom: nt,
|
|
1452
|
+
discriminatedUnion: Je,
|
|
1453
|
+
enum: lt,
|
|
1454
|
+
instanceof: at,
|
|
1455
|
+
lazy: $e,
|
|
1456
|
+
literal: ot,
|
|
1457
|
+
looseObject: Ge,
|
|
1458
|
+
never: Ze,
|
|
1459
|
+
null: ct,
|
|
1460
|
+
number: Qe,
|
|
1461
|
+
object: et,
|
|
1462
|
+
record: Ye,
|
|
1463
|
+
string: Xe,
|
|
1464
|
+
union: ut,
|
|
1465
|
+
unknown: Ke
|
|
1466
1466
|
}, Ii = W.lazy(() => W.union([
|
|
1467
1467
|
W.null(),
|
|
1468
1468
|
W.string(),
|
|
@@ -3375,7 +3375,7 @@ var La = /* @__PURE__ */ t(((e, t) => {
|
|
|
3375
3375
|
};
|
|
3376
3376
|
}
|
|
3377
3377
|
t.exports = n;
|
|
3378
|
-
})), q = /* @__PURE__ */ e(o(), 1), Ra = /* @__PURE__ */ e(La(), 1), J =
|
|
3378
|
+
})), q = /* @__PURE__ */ e(o(), 1), Ra = /* @__PURE__ */ e(La(), 1), J = We(), za = (e, t, n) => {
|
|
3379
3379
|
if (!t.has(e)) throw TypeError("Cannot " + n);
|
|
3380
3380
|
}, Y = (e, t, n) => (za(e, t, "read from private field"), n ? n.call(e) : t.get(e)), X = (e, t, n) => {
|
|
3381
3381
|
if (t.has(e)) throw TypeError("Cannot add the same private member more than once");
|
|
@@ -3575,7 +3575,7 @@ var oo = class extends w {
|
|
|
3575
3575
|
super(), this.store = e;
|
|
3576
3576
|
}
|
|
3577
3577
|
getItems() {
|
|
3578
|
-
let e = this.store.get(
|
|
3578
|
+
let e = this.store.get(ve), t = [];
|
|
3579
3579
|
for (let n of e.cellIds.inOrderIds) {
|
|
3580
3580
|
let r = lo(n, e), i = r.cellOutput;
|
|
3581
3581
|
if (!i) continue;
|
|
@@ -3674,7 +3674,7 @@ async function so(e, t, n) {
|
|
|
3674
3674
|
}
|
|
3675
3675
|
function co(e) {
|
|
3676
3676
|
if (b(e)) return null;
|
|
3677
|
-
let t = e.mimetype, n = ao(t, String(e.data)) ? "media" : "text", r =
|
|
3677
|
+
let t = e.mimetype, n = ao(t, String(e.data)) ? "media" : "text", r = He(e), i, a = !1;
|
|
3678
3678
|
return n === "media" && (typeof e.data == "string" && e.data.startsWith("data:") || typeof e.data == "string" && e.data.startsWith("http") ? i = e.data : a = !0), {
|
|
3679
3679
|
processedContent: r,
|
|
3680
3680
|
imageUrl: i,
|
|
@@ -3684,7 +3684,7 @@ function co(e) {
|
|
|
3684
3684
|
};
|
|
3685
3685
|
}
|
|
3686
3686
|
function lo(e, t, n) {
|
|
3687
|
-
let { includeConsoleOutput: r = !1 } = n || {}, i = t.cellRuntime[e], a = t.cellData[e], o = t.cellIds.inOrderIds.indexOf(e), s =
|
|
3687
|
+
let { includeConsoleOutput: r = !1 } = n || {}, i = t.cellRuntime[e], a = t.cellData[e], o = t.cellIds.inOrderIds.indexOf(e), s = ae(a.name, o), c;
|
|
3688
3688
|
r && (c = i.consoleOutputs.map((e) => co(e)).filter((e) => e !== null));
|
|
3689
3689
|
let l, u = i.output;
|
|
3690
3690
|
return u && !b(u) && (l = co(u) ?? void 0), {
|
|
@@ -3716,7 +3716,7 @@ function fo(e, t) {
|
|
|
3716
3716
|
});
|
|
3717
3717
|
}
|
|
3718
3718
|
function po(e) {
|
|
3719
|
-
return e.errorData.length === 1 ?
|
|
3719
|
+
return e.errorData.length === 1 ? Se(e.errorData[0]) : e.errorData.length > 1 ? `${e.errorData.length} errors` : e.tracebackHtml ? Te(e.tracebackHtml).trim().split("\n").find((e) => e.trim())?.trim() || "traceback" : "error";
|
|
3720
3720
|
}
|
|
3721
3721
|
function mo(e) {
|
|
3722
3722
|
return `Error: ${e.cellName || `Cell ${e.cellId}`}`;
|
|
@@ -3795,7 +3795,7 @@ var ho = new pe("error", "errors"), go = class extends w {
|
|
|
3795
3795
|
formatContext(e) {
|
|
3796
3796
|
return (e.data.type === "all-errors" ? e.data.errors : [e.data.error]).map((e) => fo(e, this.store)).join("\n\n");
|
|
3797
3797
|
}
|
|
3798
|
-
}, _o =
|
|
3798
|
+
}, _o = oe(), vo = {
|
|
3799
3799
|
maxDepth: 3,
|
|
3800
3800
|
maxResults: 20,
|
|
3801
3801
|
defaultResultsLimit: 5,
|
|
@@ -3917,7 +3917,7 @@ var ho = new pe("error", "errors"), go = class extends w {
|
|
|
3917
3917
|
description: e.message
|
|
3918
3918
|
}), null));
|
|
3919
3919
|
if (!l) return;
|
|
3920
|
-
let u = l.mimeType || "text/plain", d =
|
|
3920
|
+
let u = l.mimeType || "text/plain", d = Ue({
|
|
3921
3921
|
contents: l.contents ?? "",
|
|
3922
3922
|
mimeType: u,
|
|
3923
3923
|
isBase64: l.isBase64 ?? !1
|
|
@@ -3996,10 +3996,10 @@ var ho = new pe("error", "errors"), go = class extends w {
|
|
|
3996
3996
|
displayLabel: t,
|
|
3997
3997
|
detail: n.source === "memory" ? "in-memory" : n.source,
|
|
3998
3998
|
boost: n.source_type === "local" ? S.LOCAL_TABLE : S.REMOTE_TABLE,
|
|
3999
|
-
type:
|
|
3999
|
+
type: we(n),
|
|
4000
4000
|
apply: `@${t}`,
|
|
4001
4001
|
section: {
|
|
4002
|
-
name:
|
|
4002
|
+
name: we(n) === "dataframe" ? "Dataframe" : "Table",
|
|
4003
4003
|
rank: O.TABLE.rank
|
|
4004
4004
|
},
|
|
4005
4005
|
info: () => this.createTableInfoElement(t, n)
|
|
@@ -4086,7 +4086,7 @@ var ho = new pe("error", "errors"), go = class extends w {
|
|
|
4086
4086
|
detail: n.dataType ?? "",
|
|
4087
4087
|
type: this.contextType,
|
|
4088
4088
|
section: O.VARIABLE,
|
|
4089
|
-
info: () =>
|
|
4089
|
+
info: () => ue(n)
|
|
4090
4090
|
};
|
|
4091
4091
|
}
|
|
4092
4092
|
formatContext(e) {
|
|
@@ -4104,11 +4104,11 @@ var ho = new pe("error", "errors"), go = class extends w {
|
|
|
4104
4104
|
//#endregion
|
|
4105
4105
|
//#region src/core/ai/context/context.ts
|
|
4106
4106
|
function So(e) {
|
|
4107
|
-
let t = e.get(
|
|
4107
|
+
let t = e.get(re), n = e.get(ce), r = e.get(_e);
|
|
4108
4108
|
return new C().register(new bo(n)).register(new xo(r, n)).register(new go(e)).register(new oo(e)).register(new T(t.connectionsMap, n));
|
|
4109
4109
|
}
|
|
4110
4110
|
function Co() {
|
|
4111
|
-
return new yo(
|
|
4111
|
+
return new yo(ie());
|
|
4112
4112
|
}
|
|
4113
4113
|
//#endregion
|
|
4114
4114
|
//#region src/components/editor/ai/completion-utils.ts
|
|
@@ -4128,7 +4128,7 @@ async function To(e) {
|
|
|
4128
4128
|
type: "file",
|
|
4129
4129
|
mediaType: e.type,
|
|
4130
4130
|
filename: e.name,
|
|
4131
|
-
url: await
|
|
4131
|
+
url: await Ve(e, "dataUrl")
|
|
4132
4132
|
})));
|
|
4133
4133
|
}
|
|
4134
4134
|
function Eo(e) {
|
|
@@ -4150,7 +4150,7 @@ var Do = (e) => {
|
|
|
4150
4150
|
}), t[0] = n.url, t[1] = e, t[2] = r) : r = t[2], r;
|
|
4151
4151
|
}
|
|
4152
4152
|
let r;
|
|
4153
|
-
t[3] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ (0, J.jsx)(
|
|
4153
|
+
t[3] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ (0, J.jsx)(ze, { className: "h-3 w-3 mt-0.5" }), t[3] = r) : r = t[3];
|
|
4154
4154
|
let i = n.filename || "Attachment", a;
|
|
4155
4155
|
return t[4] === i ? a = t[5] : (a = /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
4156
4156
|
className: "flex flex-row gap-1 items-center text-xs",
|
|
@@ -4178,7 +4178,7 @@ var Do = (e) => {
|
|
|
4178
4178
|
s
|
|
4179
4179
|
] }), t[4] = n, t[5] = o, t[6] = s, t[7] = c) : c = t[7];
|
|
4180
4180
|
let l = c;
|
|
4181
|
-
if (a &&
|
|
4181
|
+
if (a && Le(a)) {
|
|
4182
4182
|
let e = i ?? r, n;
|
|
4183
4183
|
return t[8] !== l || t[9] !== a || t[10] !== e ? (n = /* @__PURE__ */ (0, J.jsx)("a", {
|
|
4184
4184
|
href: a,
|
|
@@ -4365,7 +4365,7 @@ var jo = (e) => {
|
|
|
4365
4365
|
let y = c && "rotate-180", b;
|
|
4366
4366
|
t[12] === y ? b = t[13] : (b = i("h-3.5 w-3.5 shrink-0 transition-transform", y), t[12] = y, t[13] = b);
|
|
4367
4367
|
let x;
|
|
4368
|
-
t[14] === b ? x = t[15] : (x = /* @__PURE__ */ (0, J.jsx)(
|
|
4368
|
+
t[14] === b ? x = t[15] : (x = /* @__PURE__ */ (0, J.jsx)(Oe, { className: b }), t[14] = b, t[15] = x);
|
|
4369
4369
|
let S;
|
|
4370
4370
|
t[16] !== c || t[17] !== x || t[18] !== v ? (S = /* @__PURE__ */ (0, J.jsxs)("button", {
|
|
4371
4371
|
type: "button",
|
|
@@ -4401,15 +4401,15 @@ function Po(e) {
|
|
|
4401
4401
|
//#endregion
|
|
4402
4402
|
//#region src/components/chat/tool-call/tool-result.tsx
|
|
4403
4403
|
function Fo(e) {
|
|
4404
|
-
return e == null || typeof e == "object" &&
|
|
4405
|
-
}
|
|
4406
|
-
var Io =
|
|
4407
|
-
status:
|
|
4408
|
-
auth_required:
|
|
4409
|
-
action_url:
|
|
4410
|
-
next_steps:
|
|
4411
|
-
meta:
|
|
4412
|
-
message:
|
|
4404
|
+
return e == null || typeof e == "object" && pt(e);
|
|
4405
|
+
}
|
|
4406
|
+
var Io = Ge({
|
|
4407
|
+
status: Xe().default("success"),
|
|
4408
|
+
auth_required: st().default(!1),
|
|
4409
|
+
action_url: tt().optional(),
|
|
4410
|
+
next_steps: tt().optional(),
|
|
4411
|
+
meta: tt().optional(),
|
|
4412
|
+
message: Xe().nullish()
|
|
4413
4413
|
}), Lo = (e) => {
|
|
4414
4414
|
let t = (0, N.c)(12), { data: n } = e, r;
|
|
4415
4415
|
if (t[0] !== n) {
|
|
@@ -4439,7 +4439,7 @@ var Io = Ke({
|
|
|
4439
4439
|
let m;
|
|
4440
4440
|
t[10] === c ? m = t[11] : (m = c && /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
4441
4441
|
className: "flex items-start gap-2",
|
|
4442
|
-
children: [/* @__PURE__ */ (0, J.jsx)(
|
|
4442
|
+
children: [/* @__PURE__ */ (0, J.jsx)(ye, { className: "h-3 w-3 text-(--blue-11) mt-0.5 shrink-0" }), /* @__PURE__ */ (0, J.jsx)("div", {
|
|
4443
4443
|
className: "text-xs text-foreground",
|
|
4444
4444
|
children: c
|
|
4445
4445
|
})]
|
|
@@ -4519,7 +4519,7 @@ var Bo = {
|
|
|
4519
4519
|
return t[3] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ (0, J.jsx)(Rt, { className: "h-3 w-3 text-muted-foreground" }), t[3] = e) : e = t[3], e;
|
|
4520
4520
|
}
|
|
4521
4521
|
default: {
|
|
4522
|
-
|
|
4522
|
+
De(n);
|
|
4523
4523
|
let e;
|
|
4524
4524
|
return t[4] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ (0, J.jsx)(_, { className: "h-3 w-3" }), t[4] = e) : e = t[4], e;
|
|
4525
4525
|
}
|
|
@@ -4532,7 +4532,7 @@ function Uo(e) {
|
|
|
4532
4532
|
case "input-streaming":
|
|
4533
4533
|
case "input-available":
|
|
4534
4534
|
case "approval-responded": return "";
|
|
4535
|
-
default: return
|
|
4535
|
+
default: return De(e), "";
|
|
4536
4536
|
}
|
|
4537
4537
|
}
|
|
4538
4538
|
var Wo = (e) => {
|
|
@@ -4626,7 +4626,7 @@ var Wo = (e) => {
|
|
|
4626
4626
|
children: [e, i]
|
|
4627
4627
|
}), t[13] = e, t[14] = i, t[15] = o) : o = t[15], o;
|
|
4628
4628
|
}
|
|
4629
|
-
default: return
|
|
4629
|
+
default: return De(n), null;
|
|
4630
4630
|
}
|
|
4631
4631
|
}, Ko = (e) => {
|
|
4632
4632
|
let t = (0, N.c)(27), { toolName: n, state: r, result: i, errorText: a, input: o, approval: s, onApprove: c, index: l, className: u, isLive: d, isActive: f } = e, p = d === void 0 || d, m = f === void 0 || f;
|
|
@@ -4679,7 +4679,7 @@ var Wo = (e) => {
|
|
|
4679
4679
|
isActive: m
|
|
4680
4680
|
}), t[18] = s, t[19] = u, t[20] = l, t[21] = o, t[22] = m, t[23] = i, t[24] = r, t[25] = n, t[26] = e) : e = t[26], e;
|
|
4681
4681
|
}
|
|
4682
|
-
default: return
|
|
4682
|
+
default: return De(r), null;
|
|
4683
4683
|
}
|
|
4684
4684
|
}, qo = ({ message: e, isStreamingReasoning: t, isLast: n, isActive: i, addToolApprovalResponse: a }) => {
|
|
4685
4685
|
return /* @__PURE__ */ (0, J.jsx)(J.Fragment, { children: e.parts.map((e, t) => o(e, t)) });
|
|
@@ -4723,12 +4723,12 @@ var Wo = (e) => {
|
|
|
4723
4723
|
isActive: i
|
|
4724
4724
|
}, s);
|
|
4725
4725
|
case "source-document": return /* @__PURE__ */ (0, J.jsx)(Oo, {
|
|
4726
|
-
icon: /* @__PURE__ */ (0, J.jsx)(
|
|
4726
|
+
icon: /* @__PURE__ */ (0, J.jsx)(xe, { className: "h-3 w-3 shrink-0" }),
|
|
4727
4727
|
title: o.title,
|
|
4728
4728
|
subtitle: o.filename
|
|
4729
4729
|
}, s);
|
|
4730
4730
|
case "source-url": return /* @__PURE__ */ (0, J.jsx)(Oo, {
|
|
4731
|
-
icon: /* @__PURE__ */ (0, J.jsx)(
|
|
4731
|
+
icon: /* @__PURE__ */ (0, J.jsx)(ge, { className: "h-3 w-3 shrink-0" }),
|
|
4732
4732
|
title: o.title ?? o.url,
|
|
4733
4733
|
subtitle: o.title ? o.url : void 0,
|
|
4734
4734
|
href: o.url
|
|
@@ -4738,7 +4738,7 @@ var Wo = (e) => {
|
|
|
4738
4738
|
children: o.kind
|
|
4739
4739
|
}, s);
|
|
4740
4740
|
case "step-start": return null;
|
|
4741
|
-
default: return
|
|
4741
|
+
default: return De(o), null;
|
|
4742
4742
|
}
|
|
4743
4743
|
}
|
|
4744
4744
|
};
|
|
@@ -5303,11 +5303,11 @@ function Is(e) {
|
|
|
5303
5303
|
let t = document.createElement("div");
|
|
5304
5304
|
return t.textContent = e, { dom: t };
|
|
5305
5305
|
}
|
|
5306
|
-
|
|
5307
|
-
var Ls = "marimo:ai-prompt-history", Rs = new
|
|
5308
|
-
let t = (0, N.c)(35), { value: n, placeholder: r, inputRef: a, className: o, onChange: s, onSubmit: c, onKeyDown: l, onClose: u, onAddFiles: d, additionalCompletions: f, maxHeight: p } = e, m = c, h = u, g =
|
|
5306
|
+
mt("marimo:ai-language", "python", de);
|
|
5307
|
+
var Ls = "marimo:ai-prompt-history", Rs = new se(qe(Xe()), () => []), zs = (e) => {
|
|
5308
|
+
let t = (0, N.c)(35), { value: n, placeholder: r, inputRef: a, className: o, onChange: s, onSubmit: c, onKeyDown: l, onClose: u, onAddFiles: d, additionalCompletions: f, maxHeight: p } = e, m = c, h = u, g = ht(), { theme: _ } = _t(), v;
|
|
5309
5309
|
t[0] === f ? v = t[1] : (v = (e) => f ? wo([f.triggerCompletionRegex], f.completions)(e) : null, t[0] = f, t[1] = v);
|
|
5310
|
-
let y =
|
|
5310
|
+
let y = gt(v), b, x, S, C;
|
|
5311
5311
|
if (t[2] !== y || t[3] !== d || t[4] !== g) {
|
|
5312
5312
|
let e = Pt();
|
|
5313
5313
|
t[9] === Symbol.for("react.memo_cache_sentinel") ? (b = Nt({}), t[9] = b) : b = t[9], x = e, S = Fs({
|
|
@@ -5391,11 +5391,11 @@ function Vs(e) {
|
|
|
5391
5391
|
}
|
|
5392
5392
|
//#endregion
|
|
5393
5393
|
//#region src/plugins/impl/chat/chat-ui.tsx
|
|
5394
|
-
var Hs = g, Us =
|
|
5395
|
-
type:
|
|
5396
|
-
message_id:
|
|
5397
|
-
content:
|
|
5398
|
-
is_final:
|
|
5394
|
+
var Hs = g, Us = et({
|
|
5395
|
+
type: ot("stream_chunk"),
|
|
5396
|
+
message_id: Xe(),
|
|
5397
|
+
content: tt().nullable().transform((e) => e),
|
|
5398
|
+
is_final: st().optional()
|
|
5399
5399
|
});
|
|
5400
5400
|
function Ws(e, t) {
|
|
5401
5401
|
let { controllerRef: n, activeRequestIdRef: i } = t, a = n.current;
|
|
@@ -5431,7 +5431,7 @@ var Gs = (e) => {
|
|
|
5431
5431
|
let t = i.messages.map((e) => ({
|
|
5432
5432
|
...e,
|
|
5433
5433
|
content: e.parts?.map((e) => "text" in e ? e.text : "").join("\n")
|
|
5434
|
-
})), n =
|
|
5434
|
+
})), n = he();
|
|
5435
5435
|
T();
|
|
5436
5436
|
let s = new ReadableStream({
|
|
5437
5437
|
start(t) {
|
|
@@ -5491,7 +5491,7 @@ var Gs = (e) => {
|
|
|
5491
5491
|
r.error("An error occurred:", e);
|
|
5492
5492
|
}
|
|
5493
5493
|
});
|
|
5494
|
-
n(e.host,
|
|
5494
|
+
n(e.host, Be.TYPE, (e) => {
|
|
5495
5495
|
let t = Us.safeParse(e.detail.message);
|
|
5496
5496
|
if (t.success) {
|
|
5497
5497
|
if (t.data.content && t.data.message_id === x.current) {
|
|
@@ -5517,14 +5517,14 @@ var Gs = (e) => {
|
|
|
5517
5517
|
displayLabel: e,
|
|
5518
5518
|
apply: e
|
|
5519
5519
|
}))
|
|
5520
|
-
},
|
|
5520
|
+
}, ue = e.prompts.length > 0 ? "Type your message here, / for prompts" : "Type your message here...";
|
|
5521
5521
|
(0, q.useEffect)(() => {
|
|
5522
5522
|
_.current?.scrollTo({
|
|
5523
5523
|
top: _.current.scrollHeight,
|
|
5524
5524
|
behavior: "smooth"
|
|
5525
5525
|
});
|
|
5526
5526
|
}, [k.length, _]);
|
|
5527
|
-
let
|
|
5527
|
+
let de = () => {
|
|
5528
5528
|
let e = g.current?.view;
|
|
5529
5529
|
if (e) {
|
|
5530
5530
|
let t = e.state.doc.length;
|
|
@@ -5606,7 +5606,7 @@ var Gs = (e) => {
|
|
|
5606
5606
|
}),
|
|
5607
5607
|
M && /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
5608
5608
|
className: "flex items-center justify-center space-x-2 mb-4",
|
|
5609
|
-
children: [/* @__PURE__ */ (0, J.jsx)(
|
|
5609
|
+
children: [/* @__PURE__ */ (0, J.jsx)(dt, { error: M }), /* @__PURE__ */ (0, J.jsx)(a, {
|
|
5610
5610
|
variant: "outline",
|
|
5611
5611
|
size: "sm",
|
|
5612
5612
|
onClick: () => re(),
|
|
@@ -5632,7 +5632,7 @@ var Gs = (e) => {
|
|
|
5632
5632
|
type: "text",
|
|
5633
5633
|
text: t
|
|
5634
5634
|
}, ...r ?? []]
|
|
5635
|
-
}),
|
|
5635
|
+
}), de();
|
|
5636
5636
|
},
|
|
5637
5637
|
ref: h,
|
|
5638
5638
|
inert: e.disabled || void 0,
|
|
@@ -5647,13 +5647,13 @@ var Gs = (e) => {
|
|
|
5647
5647
|
onSelect: (e) => {
|
|
5648
5648
|
o(e), requestAnimationFrame(() => {
|
|
5649
5649
|
let e = g.current?.view;
|
|
5650
|
-
e?.focus(),
|
|
5650
|
+
e?.focus(), Ce(e);
|
|
5651
5651
|
});
|
|
5652
5652
|
}
|
|
5653
5653
|
}),
|
|
5654
5654
|
/* @__PURE__ */ (0, J.jsx)(zs, {
|
|
5655
5655
|
className: "rounded-sm mr-2",
|
|
5656
|
-
placeholder:
|
|
5656
|
+
placeholder: ue,
|
|
5657
5657
|
value: t,
|
|
5658
5658
|
inputRef: g,
|
|
5659
5659
|
maxHeight: e.maxHeight ? `${e.maxHeight / 2}px` : void 0,
|
|
@@ -5681,7 +5681,7 @@ var Gs = (e) => {
|
|
|
5681
5681
|
onClick: () => {
|
|
5682
5682
|
p(void 0), m.current && (m.current.value = "");
|
|
5683
5683
|
},
|
|
5684
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
5684
|
+
children: /* @__PURE__ */ (0, J.jsx)(Ee, { className: "size-3" })
|
|
5685
5685
|
}),
|
|
5686
5686
|
ce && /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)(a, {
|
|
5687
5687
|
type: "button",
|
|
@@ -5707,7 +5707,7 @@ var Gs = (e) => {
|
|
|
5707
5707
|
size: "xs",
|
|
5708
5708
|
onClick: () => te(),
|
|
5709
5709
|
className: "text-(--red-9) hover:text-(--red-11)",
|
|
5710
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
5710
|
+
children: /* @__PURE__ */ (0, J.jsx)(Re, { className: "h-4 w-4 fill-current" })
|
|
5711
5711
|
})
|
|
5712
5712
|
}) : /* @__PURE__ */ (0, J.jsx)(a, {
|
|
5713
5713
|
type: "submit",
|
|
@@ -5798,19 +5798,19 @@ var Gs = (e) => {
|
|
|
5798
5798
|
let [t, n] = e;
|
|
5799
5799
|
return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
5800
5800
|
className: "grid grid-cols-3 items-center gap-1",
|
|
5801
|
-
children: [/* @__PURE__ */ (0, J.jsxs)(
|
|
5801
|
+
children: [/* @__PURE__ */ (0, J.jsxs)(ft, {
|
|
5802
5802
|
htmlFor: t,
|
|
5803
5803
|
className: "flex w-full justify-between col-span-3 align-end",
|
|
5804
|
-
children: [
|
|
5804
|
+
children: [ke.startCase(t), /* @__PURE__ */ (0, J.jsx)(ne, {
|
|
5805
5805
|
delayDuration: 200,
|
|
5806
5806
|
side: "top",
|
|
5807
5807
|
content: /* @__PURE__ */ (0, J.jsx)("div", {
|
|
5808
5808
|
className: "text-xs flex flex-col",
|
|
5809
5809
|
children: Ks[t].description
|
|
5810
5810
|
}),
|
|
5811
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
5811
|
+
children: /* @__PURE__ */ (0, J.jsx)(Ie, { className: "h-3 w-3 cursor-help text-muted-foreground hover:text-foreground" })
|
|
5812
5812
|
})]
|
|
5813
|
-
}), /* @__PURE__ */ (0, J.jsx)(
|
|
5813
|
+
}), /* @__PURE__ */ (0, J.jsx)(Ae, {
|
|
5814
5814
|
id: t,
|
|
5815
5815
|
"aria-label": t,
|
|
5816
5816
|
value: n ?? NaN,
|
|
@@ -5847,7 +5847,7 @@ var Gs = (e) => {
|
|
|
5847
5847
|
let f = l, p;
|
|
5848
5848
|
t[2] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ (0, J.jsx)(ne, {
|
|
5849
5849
|
content: "Select a prompt",
|
|
5850
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
5850
|
+
children: /* @__PURE__ */ (0, J.jsx)(je, {
|
|
5851
5851
|
asChild: !0,
|
|
5852
5852
|
children: /* @__PURE__ */ (0, J.jsx)(a, {
|
|
5853
5853
|
variant: "outline",
|
|
@@ -5860,14 +5860,14 @@ var Gs = (e) => {
|
|
|
5860
5860
|
let h;
|
|
5861
5861
|
if (t[3] !== f || t[4] !== n) {
|
|
5862
5862
|
let e;
|
|
5863
|
-
t[6] === f ? e = t[7] : (e = (e, t) => /* @__PURE__ */ (0, J.jsx)(
|
|
5863
|
+
t[6] === f ? e = t[7] : (e = (e, t) => /* @__PURE__ */ (0, J.jsx)(Ne, {
|
|
5864
5864
|
onSelect: () => f(e),
|
|
5865
5865
|
className: "whitespace-normal text-left",
|
|
5866
5866
|
children: e
|
|
5867
5867
|
}, t), t[6] = f, t[7] = e), h = n.map(e), t[3] = f, t[4] = n, t[5] = h;
|
|
5868
5868
|
} else h = t[5];
|
|
5869
5869
|
let g;
|
|
5870
|
-
t[8] === h ? g = t[9] : (g = /* @__PURE__ */ (0, J.jsx)(Hs, { children: /* @__PURE__ */ (0, J.jsxs)(
|
|
5870
|
+
t[8] === h ? g = t[9] : (g = /* @__PURE__ */ (0, J.jsx)(Hs, { children: /* @__PURE__ */ (0, J.jsxs)(Fe, { children: [p, /* @__PURE__ */ (0, J.jsx)(Pe, {
|
|
5871
5871
|
side: "right",
|
|
5872
5872
|
align: "end",
|
|
5873
5873
|
onCloseAutoFocus: Xs,
|
|
@@ -5923,11 +5923,11 @@ var Gs = (e) => {
|
|
|
5923
5923
|
let [n, r] = e;
|
|
5924
5924
|
return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
5925
5925
|
className: "grid grid-cols-4 items-center gap-2",
|
|
5926
|
-
children: [/* @__PURE__ */ (0, J.jsx)(
|
|
5926
|
+
children: [/* @__PURE__ */ (0, J.jsx)(ft, {
|
|
5927
5927
|
htmlFor: n,
|
|
5928
5928
|
className: "font-semibold text-base",
|
|
5929
5929
|
children: n
|
|
5930
|
-
}), /* @__PURE__ */ (0, J.jsx)(
|
|
5930
|
+
}), /* @__PURE__ */ (0, J.jsx)(Me, {
|
|
5931
5931
|
id: n,
|
|
5932
5932
|
value: r,
|
|
5933
5933
|
onChange: (e) => u(n, e.target.value),
|
|
@@ -3,7 +3,7 @@ import { g as t, s as n } from "./chunk-75Z2AOVW-D7gxIs2Q.js";
|
|
|
3
3
|
import { n as r, t as i } from "./src-CA_m4ONl.js";
|
|
4
4
|
import { n as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
5
5
|
import { H as o, K as s, U as c, a as l, s as u, v as d, w as f, x as p, y as m } from "./chunk-DU6HZSFF-BwiyaNpg.js";
|
|
6
|
-
import { r as h } from "./mermaid-
|
|
6
|
+
import { r as h } from "./mermaid-CeWG4Egr.js";
|
|
7
7
|
import { t as g } from "./chunk-F27PBJKO-ufseIn5y.js";
|
|
8
8
|
import { t as _ } from "./chunk-XXDRQBXY-Dnl5VBqG.js";
|
|
9
9
|
import { t as v } from "./chunk-POPQ4Y6H-hYOXbYH_.js";
|
|
@@ -5,7 +5,7 @@ import { n as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
|
5
5
|
import { G as o, H as s, K as c, U as l, a as u, d, k as f, rt as p, s as ee, v as m, w as h, x as g, y as _ } from "./chunk-DU6HZSFF-BwiyaNpg.js";
|
|
6
6
|
import { t as te } from "./channel-CPObtJXj.js";
|
|
7
7
|
import { i as ne } from "./chunk-4HAMMTFA-D4eFPyFh.js";
|
|
8
|
-
import { a as re, i as v, n as y, r as b } from "./mermaid-
|
|
8
|
+
import { a as re, i as v, n as y, r as b } from "./mermaid-CeWG4Egr.js";
|
|
9
9
|
import { t as x } from "./chunk-5VM5RSS4-DKsmPCL6.js";
|
|
10
10
|
import { t as S } from "./chunk-F27PBJKO-ufseIn5y.js";
|
|
11
11
|
import { t as C } from "./chunk-XXDRQBXY-Dnl5VBqG.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./src-CA_m4ONl.js";
|
|
2
2
|
import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
3
3
|
import { D as n, a as r, b as i, c as a, x as o, z as s } from "./chunk-DU6HZSFF-BwiyaNpg.js";
|
|
4
|
-
import { p as c } from "./mermaid-
|
|
4
|
+
import { p as c } from "./mermaid-CeWG4Egr.js";
|
|
5
5
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-SVP7TREG.mjs
|
|
6
6
|
var l = "", u = "", d = "", f = [], p = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ t((e) => s(e, o()), "sanitizeText"), h = /* @__PURE__ */ t((e) => {
|
|
7
7
|
switch (e.type) {
|
|
@@ -3,7 +3,7 @@ import { c as t, g as n } from "./chunk-75Z2AOVW-D7gxIs2Q.js";
|
|
|
3
3
|
import { n as r, t as i } from "./src-CA_m4ONl.js";
|
|
4
4
|
import { n as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
5
5
|
import { H as o, K as s, M as c, U as l, a as u, s as d, v as f, w as p, x as m, y as h, z as g } from "./chunk-DU6HZSFF-BwiyaNpg.js";
|
|
6
|
-
import { n as _, r as v } from "./mermaid-
|
|
6
|
+
import { n as _, r as v } from "./mermaid-CeWG4Egr.js";
|
|
7
7
|
import { t as y } from "./chunk-5VM5RSS4-DKsmPCL6.js";
|
|
8
8
|
import { t as b } from "./chunk-F27PBJKO-ufseIn5y.js";
|
|
9
9
|
import { t as x } from "./chunk-XXDRQBXY-Dnl5VBqG.js";
|
|
@@ -9,11 +9,11 @@ import "./chunk-4HAMMTFA-D4eFPyFh.js";
|
|
|
9
9
|
import "./chunk-GVQU2GXP-Cwbt-lF0.js";
|
|
10
10
|
import "./chunk-L3NEJ4N5-n-zgIVSy.js";
|
|
11
11
|
import "./chunk-OSK3NFVY-DXa-Cxbn.js";
|
|
12
|
-
import "./mermaid-
|
|
12
|
+
import "./mermaid-CeWG4Egr.js";
|
|
13
13
|
import "./chunk-F27PBJKO-ufseIn5y.js";
|
|
14
14
|
import "./chunk-XXDRQBXY-Dnl5VBqG.js";
|
|
15
15
|
import "./chunk-POPQ4Y6H-hYOXbYH_.js";
|
|
16
|
-
import { i as t, n, r, t as i } from "./chunk-TICWLB2K-
|
|
16
|
+
import { i as t, n, r, t as i } from "./chunk-TICWLB2K-CTg6VTJT.js";
|
|
17
17
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-ZZMXUADV.mjs
|
|
18
18
|
var a = {
|
|
19
19
|
parser: n,
|
|
@@ -9,11 +9,11 @@ import "./chunk-4HAMMTFA-D4eFPyFh.js";
|
|
|
9
9
|
import "./chunk-GVQU2GXP-Cwbt-lF0.js";
|
|
10
10
|
import "./chunk-L3NEJ4N5-n-zgIVSy.js";
|
|
11
11
|
import "./chunk-OSK3NFVY-DXa-Cxbn.js";
|
|
12
|
-
import "./mermaid-
|
|
12
|
+
import "./mermaid-CeWG4Egr.js";
|
|
13
13
|
import "./chunk-F27PBJKO-ufseIn5y.js";
|
|
14
14
|
import "./chunk-XXDRQBXY-Dnl5VBqG.js";
|
|
15
15
|
import "./chunk-POPQ4Y6H-hYOXbYH_.js";
|
|
16
|
-
import { i as t, n, r, t as i } from "./chunk-TICWLB2K-
|
|
16
|
+
import { i as t, n, r, t as i } from "./chunk-TICWLB2K-CTg6VTJT.js";
|
|
17
17
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-VYDZK3BY.mjs
|
|
18
18
|
var a = {
|
|
19
19
|
parser: n,
|