@marimo-team/islands 0.25.3-dev170 → 0.25.3-dev173
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-BbSXV-Xa.js → ConnectedDataExplorerComponent-Le_OBfmt.js} +9 -9
- package/dist/{ErrorBoundary-NE86qEWZ.js → ErrorBoundary-wT3f3iJ1.js} +8 -8
- package/dist/{abnfDiagram-VCTEODGH-D7n07nXf.js → abnfDiagram-VCTEODGH-Tf1ghyQQ.js} +2 -2
- package/dist/{any-language-editor-3E24SnCV.js → any-language-editor-B92WMzoC.js} +2 -2
- package/dist/{architectureDiagram-5GKGNRK7-D6CjRib5.js → architectureDiagram-5GKGNRK7-xlnbTG0T.js} +1 -1
- package/dist/{chat-ui-CC7GekpG.js → chat-ui-CuORr6fL.js} +70 -70
- package/dist/{check-SpOMoCLP.js → check-C9Mp9eCK.js} +1 -1
- package/dist/{chunk-IMKFNOWR-6dtPz7uS.js → chunk-IMKFNOWR-Cmd4a5jy.js} +1 -1
- package/dist/{chunk-SHT3W25Y-BwnFNKDA.js → chunk-SHT3W25Y-mSNp-WpO.js} +1 -1
- package/dist/{chunk-SVP7TREG-D2eV4vBJ.js → chunk-SVP7TREG-CWC49D8X.js} +1 -1
- package/dist/{chunk-TICWLB2K-BDs4-_-r.js → chunk-TICWLB2K-De9FINtG.js} +1 -1
- package/dist/{classDiagram-ZZMXUADV-DCJnf_8v.js → classDiagram-ZZMXUADV-DweTkYdp.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-BOmSzPBD.js → classDiagram-v2-VYDZK3BY-A6MR2TiE.js} +2 -2
- package/dist/{code-visibility-Bzvc6ajl.js → code-visibility-ZReaeMaF.js} +5 -5
- package/dist/{common-Ciw4zkh2.js → common-DCevHg1m.js} +231 -231
- package/dist/{copy-icon-C1trdvVt.js → copy-icon-De584pZ4.js} +2 -2
- package/dist/{cynefinDiagram-5FMLGOSQ-Bln_Soky.js → cynefinDiagram-5FMLGOSQ-BSvo5le-.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-D-nf7WzW.js → dagre-GXQ25YYZ-tXRQslO6.js} +1 -1
- package/dist/{data-grid-overlay-editor-AQREmxI7.js → data-grid-overlay-editor-CTC-bJus.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-PsgSMkY2.js → diagram-S7CK7UJ4-r3t5VtwI.js} +1 -1
- package/dist/{diagram-UQ7AKVKN-DfwfUuSw.js → diagram-UQ7AKVKN-qgbC8YnT.js} +1 -1
- package/dist/{diagram-VX7I27RA-C9_e-oMc.js → diagram-VX7I27RA-CiHxEwtp.js} +1 -1
- package/dist/{diagram-Z3DM3KII-CWLa5tuY.js → diagram-Z3DM3KII-D95u15Ev.js} +1 -1
- package/dist/{dialog-DgeqyrEZ.js → dialog-DVRfQuhD.js} +24 -24
- package/dist/{dropdown-menu-B6ftyzOg.js → dropdown-menu-DCMbbQ35.js} +691 -691
- package/dist/{ebnfDiagram-PWID7BFC-B1QRM58v.js → ebnfDiagram-PWID7BFC-P7e4bryK.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-DJK_FqvW.js → erDiagram-RLTQ6QDP-CUHZcmRj.js} +1 -1
- package/dist/{error-banner-D40pmfQQ.js → error-banner-DxJ3s8YO.js} +57 -57
- package/dist/{error-entries-DgK3wUJR.js → error-entries-CmWMEsY_.js} +984 -961
- package/dist/{feedback-button-8a6SETmT.js → feedback-button-DwXkmewo.js} +29 -29
- package/dist/{flowDiagram-HODETNUW-Uxc25XSJ.js → flowDiagram-HODETNUW-BGZ95AzI.js} +2 -2
- package/dist/{formats-DQCyPd5Z.js → formats-DI7HEVv7.js} +1 -1
- package/dist/{glide-data-editor-B70oke_v.js → glide-data-editor-BlmcP-lw.js} +10 -10
- package/dist/{glide-utils-Dz_F4pAY.js → glide-utils-D98laidb.js} +2 -2
- package/dist/{globals-Cxd5hNlI.js → globals-BdRitZ4p.js} +3 -3
- package/dist/{html-to-image-D4yG5Ru0.js → html-to-image-bpiQh7ND.js} +55 -55
- package/dist/{infoDiagram-27XIBGKW-DmjxqwL0.js → infoDiagram-27XIBGKW-BF0YX70D.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-NgCLHqQi.js → ishikawaDiagram-5VMMS53U-_itsAAn-.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-CZaG-iam.js → kanban-definition-UXKFOSKX-VNW2Beqh.js} +1 -1
- package/dist/{label-D9_-zSg-.js → label-Qvw1E97W.js} +1 -1
- package/dist/main.js +8159 -6508
- package/dist/{mermaid-CSvw7c71.js → mermaid-CZ6FrClS.js} +35 -35
- package/dist/{mindmap-definition-YA3MSWOX-DJYQBDH_.js → mindmap-definition-YA3MSWOX-DR4ripvd.js} +1 -1
- package/dist/{number-overlay-editor-ChK-SKUk.js → number-overlay-editor-DQG-hFHT.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-CHKO_dAe.js → pegDiagram-XKGWAZYB-CFr3XlGl.js} +2 -2
- package/dist/{pieDiagram-E7YTZNPT-DVevbMAo.js → pieDiagram-E7YTZNPT-j91XYSLY.js} +1 -1
- package/dist/{process-output-DxvBAeL3.js → process-output-BzloOI7F.js} +4 -4
- package/dist/{railroadDiagram-O6MQD6OU-Detj1kcB.js → railroadDiagram-O6MQD6OU-Cd47ZV9E.js} +2 -2
- package/dist/{requirementDiagram-BXWQKSXE-BLFD0T_Z.js → requirementDiagram-BXWQKSXE-eJH6gLtX.js} +1 -1
- package/dist/{reveal-component-CXMXeDZD.js → reveal-component-D3r3vSTK.js} +9 -9
- package/dist/{select-CkF_GBxO.js → select-2KOiReNY.js} +324 -324
- package/dist/{sequenceDiagram-WJ2MYXX4-BZBgatQV.js → sequenceDiagram-WJ2MYXX4-DdfFEIrm.js} +1 -1
- package/dist/{spec-Mnkn3XEr.js → spec-h69nC3SI.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-4BZW9-6_.js → stateDiagram-D77RDMKH-DkjDvip8.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-C4sKC8Iq.js → stateDiagram-v2-MP3YSRHH-DBHACnOo.js} +2 -2
- package/dist/{swimlanes-42K2YHIH-SL5yeGe2.js → swimlanes-42K2YHIH-ogImlOmp.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-DqPmAYUv.js → swimlanesDiagram-VR7AAH4N-D6x-zsci.js} +2 -2
- package/dist/{timeline-definition-24CTP7MA-BfXUMWkq.js → timeline-definition-24CTP7MA-DQpLtsHD.js} +1 -1
- package/dist/{toDate-TMubKIVL.js → toDate-CDzoofJo.js} +2 -2
- package/dist/{toast-Btbve3Lm.js → toast-B5t9o6s_.js} +47 -47
- package/dist/{tooltip-CJ4Rqasp.js → tooltip-s4zZxwKe.js} +67 -67
- package/dist/{use-restore-focus-CmGwRNId.js → use-restore-focus-BgDTd2tc.js} +1 -1
- package/dist/{useAsyncData-DjMGFzFy.js → useAsyncData-Bn8SxUqM.js} +1 -1
- package/dist/{useDateFormatter-eCL_SdeG.js → useDateFormatter-D3Tkfzej.js} +2 -2
- package/dist/{useDeepCompareMemoize-BQR5TJot.js → useDeepCompareMemoize-CC2tnPCk.js} +1 -1
- package/dist/{useLifecycle-C_GvKWbQ.js → useLifecycle-BJlxHqWa.js} +2 -2
- package/dist/{useTheme-Bns2gJZ6.js → useTheme-DMfQYmlG.js} +85 -85
- package/dist/{vega-component-BsVptuhz.js → vega-component-CovWHi60.js} +7 -7
- package/dist/{vennDiagram-4TSXK5OY-CH65znGa.js → vennDiagram-4TSXK5OY-BD-SL_vq.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-z9pWKb2_.js → wardleyDiagram-VM6X3IG4-BDgJV4ah.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-MxyaWjjq.js → xychartDiagram-S5SC5T6Z-1hIHN6Rl.js} +1 -1
- package/package.json +1 -1
- package/src/core/cells/__tests__/cells.test.ts +80 -48
- package/src/core/cells/__tests__/document.test.ts +37 -3
- package/src/core/cells/cells.ts +38 -34
- package/src/core/cells/document.ts +31 -2
- package/src/core/edit-app.tsx +7 -4
- package/src/core/islands/__tests__/bootstrap.test.ts +56 -0
- package/src/core/islands/__tests__/bridge.test.ts +42 -0
- package/src/core/islands/bootstrap.ts +24 -1
- package/src/core/islands/bridge.ts +46 -3
- package/src/core/kernel/__tests__/handlers.test.ts +7 -153
- package/src/core/kernel/handlers.ts +18 -59
- package/src/core/run-app.tsx +1 -7
- package/src/core/session/__tests__/useNotebookSession.hook.test.tsx +0 -6
- package/src/core/session/useNotebookSession.tsx +24 -35
|
@@ -2,35 +2,35 @@ import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
|
2
2
|
import { _ as t, c as n, f as r, g as i, h as a, m as o, n as s, p as c, r as l, t as u } from "./button-BQRdqQi1.js";
|
|
3
3
|
import { t as d } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as f } from "./compiler-runtime-CldRdSsv.js";
|
|
5
|
-
import { i as p, n as m, r as h, t as g } from "./copy-icon-
|
|
6
|
-
import { $ as _, A as v, B as y, D as b, E as x, F as S, H as C, M as w, N as T, Q as E, S as D, T as O, V as k, W as A, X as j, Y as M, Z as N, _ as P, g as F, n as I, r as L, s as R, t as z, u as B, v as ee, w as V, y as te, z as ne } from "./html-to-image-
|
|
7
|
-
import { a as re, d as ie, m as H, n as ae, o as oe, r as se, t as U } from "./tooltip-
|
|
8
|
-
import { $t as ce,
|
|
9
|
-
import { c as rt, i as it, r as at } from "./useLifecycle-
|
|
10
|
-
import { a as ot, i as st, n as ct, o as lt, r as ut, t as dt } from "./useDateFormatter-
|
|
11
|
-
import { t as ft } from "./check-
|
|
12
|
-
import { A as pt, C as mt, D as ht, M as gt, S as _t, _ as vt, b as yt, c as bt, d as xt, g as St, h as Ct, i as wt, l as Tt, m as Et, n as Dt, p as Ot, s as kt, t as At, u as jt, v as Mt, y as Nt } from "./select-
|
|
13
|
-
import { $ as Pt, $t as Ft, A as It, At as Lt, B as Rt, Bt as zt, C as Bt, Ct as Vt, D as Ht, Dt as Ut, E as Wt, Et as Gt, F as Kt, Ft as qt, G as Jt, Gt as Yt, H as Xt, Ht as Zt, I as Qt, It as $t, Jt as en, K as tn, Kt as nn, L as rn, Lt as an, M as on, Mt as sn, N as cn, Nt as ln, O as un, Ot as dn, P as fn, Pt as pn, Q as mn, Qt as hn, R as gn, Rt as _n, S as vn, St as yn, T as bn, Tt as xn, U as Sn, Ut as Cn, V as wn, Vt as Tn, W as En, Wt as Dn, X as On, Xt as kn, Y as An, Yt as jn, Z as Mn, Zt as Nn, _ as Pn, _n as Fn, _t as In, a as Ln, an as Rn, at as zn, b as Bn, bn as Vn, bt as Hn, ct as Un, d as Wn, dt as Gn, en as Kn, et as qn, f as Jn, fn as Yn, gn as Xn, gt as Zn, h as Qn, hn as $n, ht as er, i as tr, in as nr, it as rr, j as ir, jt as ar, k as or, kt as sr, l as cr, ln as lr, lt as ur, mn as dr, mt as fr, n as pr, nn as mr, nt as hr, o as gr, on as _r, ot as vr, pn as yr, pt as br, qt as xr, rt as Sr, s as Cr, sn as wr, st as Tr, t as Er, tn as Dr, tt as Or, u as kr, un as Ar, ut as jr, vn as Mr, vt as Nr, wt as Pr, x as Fr, xt as Ir, yn as Lr, yt as Rr, z as zr, zt as Br } from "./dropdown-menu-
|
|
14
|
-
import { a as Vr, c as Hr, d as Ur, i as Wr, l as Gr, n as Kr, o as qr, r as Jr, t as Yr, v as Xr, x as Zr, y as Qr } from "./toDate-
|
|
15
|
-
import { n as $r, t as ei } from "./ErrorBoundary-
|
|
5
|
+
import { i as p, n as m, r as h, t as g } from "./copy-icon-De584pZ4.js";
|
|
6
|
+
import { $ as _, A as v, B as y, D as b, E as x, F as S, H as C, M as w, N as T, Q as E, S as D, T as O, V as k, W as A, X as j, Y as M, Z as N, _ as P, g as F, n as I, r as L, s as R, t as z, u as B, v as ee, w as V, y as te, z as ne } from "./html-to-image-bpiQh7ND.js";
|
|
7
|
+
import { a as re, d as ie, m as H, n as ae, o as oe, r as se, t as U } from "./tooltip-s4zZxwKe.js";
|
|
8
|
+
import { $t as ce, Gt as le, Kt as ue, L as de, M as fe, O as pe, Qt as me, R as he, S as ge, T as _e, U as ve, Vt as ye, Y as be, Z as xe, _n as Se, _t as Ce, b as we, bt as Te, c as Ee, cn as De, ct as Oe, dn as ke, en as Ae, fn as je, ft as Me, h as Ne, in as Pe, jt as Fe, k as Ie, kt as Le, l as Re, ln as ze, lt as Be, mn as Ve, nt as He, on as Ue, pn as We, q as Ge, rn as Ke, t as qe, ut as Je, vn as Ye, w as Xe, x as Ze, xt as Qe, y as $e, yn as et, yt as tt, z as nt } from "./error-entries-CmWMEsY_.js";
|
|
9
|
+
import { c as rt, i as it, r as at } from "./useLifecycle-BJlxHqWa.js";
|
|
10
|
+
import { a as ot, i as st, n as ct, o as lt, r as ut, t as dt } from "./useDateFormatter-D3Tkfzej.js";
|
|
11
|
+
import { t as ft } from "./check-C9Mp9eCK.js";
|
|
12
|
+
import { A as pt, C as mt, D as ht, M as gt, S as _t, _ as vt, b as yt, c as bt, d as xt, g as St, h as Ct, i as wt, l as Tt, m as Et, n as Dt, p as Ot, s as kt, t as At, u as jt, v as Mt, y as Nt } from "./select-2KOiReNY.js";
|
|
13
|
+
import { $ as Pt, $t as Ft, A as It, At as Lt, B as Rt, Bt as zt, C as Bt, Ct as Vt, D as Ht, Dt as Ut, E as Wt, Et as Gt, F as Kt, Ft as qt, G as Jt, Gt as Yt, H as Xt, Ht as Zt, I as Qt, It as $t, Jt as en, K as tn, Kt as nn, L as rn, Lt as an, M as on, Mt as sn, N as cn, Nt as ln, O as un, Ot as dn, P as fn, Pt as pn, Q as mn, Qt as hn, R as gn, Rt as _n, S as vn, St as yn, T as bn, Tt as xn, U as Sn, Ut as Cn, V as wn, Vt as Tn, W as En, Wt as Dn, X as On, Xt as kn, Y as An, Yt as jn, Z as Mn, Zt as Nn, _ as Pn, _n as Fn, _t as In, a as Ln, an as Rn, at as zn, b as Bn, bn as Vn, bt as Hn, ct as Un, d as Wn, dt as Gn, en as Kn, et as qn, f as Jn, fn as Yn, gn as Xn, gt as Zn, h as Qn, hn as $n, ht as er, i as tr, in as nr, it as rr, j as ir, jt as ar, k as or, kt as sr, l as cr, ln as lr, lt as ur, mn as dr, mt as fr, n as pr, nn as mr, nt as hr, o as gr, on as _r, ot as vr, pn as yr, pt as br, qt as xr, rt as Sr, s as Cr, sn as wr, st as Tr, t as Er, tn as Dr, tt as Or, u as kr, un as Ar, ut as jr, vn as Mr, vt as Nr, wt as Pr, x as Fr, xt as Ir, yn as Lr, yt as Rr, z as zr, zt as Br } from "./dropdown-menu-DCMbbQ35.js";
|
|
14
|
+
import { a as Vr, c as Hr, d as Ur, i as Wr, l as Gr, n as Kr, o as qr, r as Jr, t as Yr, v as Xr, x as Zr, y as Qr } from "./toDate-CDzoofJo.js";
|
|
15
|
+
import { n as $r, t as ei } from "./ErrorBoundary-wT3f3iJ1.js";
|
|
16
16
|
import { t as ti } from "./clsx-CoeGtWvn.js";
|
|
17
17
|
import { t as ni } from "./react-dom-DUmH0GXv.js";
|
|
18
18
|
import { t as ri } from "./jsx-runtime-3BD1kT0s.js";
|
|
19
|
-
import { $ as ii,
|
|
20
|
-
import { a as Si, c as Ci, d as wi, f as Ti, h as Ei, l as Di, m as Oi, n as ki, o as Ai, p as ji, s as Mi, t as Ni, u as Pi } from "./error-banner-
|
|
21
|
-
import { i as Fi, n as Ii, o as Li, r as Ri, t as zi } from "./label-
|
|
22
|
-
import { c as Bi, n as Vi } from "./toast-
|
|
19
|
+
import { $ as ii, Ct as ai, Et as oi, L as si, Ot as ci, P as li, Q as ui, Tt as di, Y as fi, Z as pi, it as mi, kt as hi, nt as gi, ot as _i, st as vi, tt as yi, w as bi, wt as xi } from "./use-restore-focus-BgDTd2tc.js";
|
|
20
|
+
import { a as Si, c as Ci, d as wi, f as Ti, h as Ei, l as Di, m as Oi, n as ki, o as Ai, p as ji, s as Mi, t as Ni, u as Pi } from "./error-banner-DxJ3s8YO.js";
|
|
21
|
+
import { i as Fi, n as Ii, o as Li, r as Ri, t as zi } from "./label-Qvw1E97W.js";
|
|
22
|
+
import { c as Bi, n as Vi } from "./toast-B5t9o6s_.js";
|
|
23
23
|
import { o as Hi } from "./_baseMerge-BiGRwuqv.js";
|
|
24
|
-
import { A as Ui, C as Wi, D as Gi, E as Ki, S as qi, T as Ji, _ as Yi, b as Xi, d as Zi, f as Qi, k as $i, m as ea, n as ta, o as na, s as ra, v as ia, w as aa } from "./useTheme-
|
|
24
|
+
import { A as Ui, C as Wi, D as Gi, E as Ki, S as qi, T as Ji, _ as Yi, b as Xi, d as Zi, f as Qi, k as $i, m as ea, n as ta, o as na, s as ra, v as ia, w as aa } from "./useTheme-DMfQYmlG.js";
|
|
25
25
|
import { $ as oa } from "./dist-DoE4XJBC.js";
|
|
26
26
|
import { t as sa } from "./invariant-DLmrl-hA.js";
|
|
27
27
|
import { l as ca, t as la } from "./arrays-R6JsImiT.js";
|
|
28
28
|
import { t as ua } from "./objects-DCmMvZtn.js";
|
|
29
29
|
import { n as da, t as fa } from "./once-eG8Vmvjd.js";
|
|
30
30
|
import { o as pa } from "./dist-BorMD-uX.js";
|
|
31
|
-
import { a as ma, i as ha, n as ga, o as _a, r as va, t as ya } from "./dialog-
|
|
32
|
-
import { t as ba } from "./useAsyncData-
|
|
33
|
-
import { a as xa, i as Sa, n as Ca, r as wa, t as Ta } from "./formats-
|
|
31
|
+
import { a as ma, i as ha, n as ga, o as _a, r as va, t as ya } from "./dialog-DVRfQuhD.js";
|
|
32
|
+
import { t as ba } from "./useAsyncData-Bn8SxUqM.js";
|
|
33
|
+
import { a as xa, i as Sa, n as Ca, r as wa, t as Ta } from "./formats-DI7HEVv7.js";
|
|
34
34
|
import { n as W, t as G } from "./objectWithoutPropertiesLoose-BRDcTsfB.js";
|
|
35
35
|
import { D as Ea, n as Da } from "./vega-loader.browser-B9Pz0EGP.js";
|
|
36
36
|
import { a as Oa, n as ka, r as Aa, t as ja } from "./loader-DOVB0Syl.js";
|
|
@@ -707,8 +707,8 @@ var Na = H("arrow-down-wide-narrow", [
|
|
|
707
707
|
]), K = /* @__PURE__ */ e(d(), 1), q = ri(), bo = Object.defineProperty, xo = (e, t) => bo(e, "name", {
|
|
708
708
|
value: t,
|
|
709
709
|
configurable: !0
|
|
710
|
-
}), So = "ContextMenu", [Co, wo] =
|
|
711
|
-
let { __scopeContextMenu: t, children: n, onOpenChange: r, open: i, dir: a, modal: o = !0 } = e, s = K.useRef(!1), [c, l] =
|
|
710
|
+
}), So = "ContextMenu", [Co, wo] = ci(So, [dr]), To = dr(), [Eo, Do] = Co(So), Oo = /* @__PURE__ */ xo((e) => {
|
|
711
|
+
let { __scopeContextMenu: t, children: n, onOpenChange: r, open: i, dir: a, modal: o = !0 } = e, s = K.useRef(!1), [c, l] = di({
|
|
712
712
|
prop: i,
|
|
713
713
|
defaultProp: !1,
|
|
714
714
|
onChange: r,
|
|
@@ -746,7 +746,7 @@ var Na = H("arrow-down-wide-narrow", [
|
|
|
746
746
|
return K.useEffect(() => d, [d]), K.useEffect(() => void (r && d()), [r, d]), /* @__PURE__ */ (0, q.jsxs)(q.Fragment, { children: [/* @__PURE__ */ (0, q.jsx)(Kn, {
|
|
747
747
|
...o,
|
|
748
748
|
virtualRef: l
|
|
749
|
-
}), /* @__PURE__ */ (0, q.jsx)(
|
|
749
|
+
}), /* @__PURE__ */ (0, q.jsx)(hi.span, {
|
|
750
750
|
"data-state": a.open ? "open" : "closed",
|
|
751
751
|
"data-disabled": r ? "" : void 0,
|
|
752
752
|
...i,
|
|
@@ -869,7 +869,7 @@ xo(Ho, "whenTouchOrPen");
|
|
|
869
869
|
var Uo = Object.defineProperty, Wo = (e, t) => Uo(e, "name", {
|
|
870
870
|
value: t,
|
|
871
871
|
configurable: !0
|
|
872
|
-
}), Go = "Progress", Ko = 100, [qo, Jo] =
|
|
872
|
+
}), Go = "Progress", Ko = 100, [qo, Jo] = ci(Go), [Yo, Xo] = qo(Go), Zo = /* @__PURE__ */ K.forwardRef(/* @__PURE__ */ Wo(function(e, t) {
|
|
873
873
|
let { __scopeProgress: n, value: r = null, max: i, getValueLabel: a = es, ...o } = e;
|
|
874
874
|
(i || i === 0) && !rs(i) && console.error(as(`${i}`, "Progress"));
|
|
875
875
|
let s = rs(i) ? i : Ko;
|
|
@@ -879,7 +879,7 @@ var Uo = Object.defineProperty, Wo = (e, t) => Uo(e, "name", {
|
|
|
879
879
|
scope: n,
|
|
880
880
|
value: c,
|
|
881
881
|
max: s,
|
|
882
|
-
children: /* @__PURE__ */ (0, q.jsx)(
|
|
882
|
+
children: /* @__PURE__ */ (0, q.jsx)(hi.div, {
|
|
883
883
|
"aria-valuemax": s,
|
|
884
884
|
"aria-valuemin": 0,
|
|
885
885
|
"aria-valuenow": ns(c) ? c : void 0,
|
|
@@ -894,7 +894,7 @@ var Uo = Object.defineProperty, Wo = (e, t) => Uo(e, "name", {
|
|
|
894
894
|
});
|
|
895
895
|
}, "Progress")), Qo = "ProgressIndicator", $o = /* @__PURE__ */ K.forwardRef(/* @__PURE__ */ Wo(function(e, t) {
|
|
896
896
|
let { __scopeProgress: n, ...r } = e, i = Xo(Qo, n);
|
|
897
|
-
return /* @__PURE__ */ (0, q.jsx)(
|
|
897
|
+
return /* @__PURE__ */ (0, q.jsx)(hi.div, {
|
|
898
898
|
"data-state": ts(i.value, i.max),
|
|
899
899
|
"data-value": i.value ?? void 0,
|
|
900
900
|
"data-max": i.max,
|
|
@@ -940,7 +940,7 @@ Wo(os, "getInvalidValueError");
|
|
|
940
940
|
var ss = Object.defineProperty, cs = (e, t) => ss(e, "name", {
|
|
941
941
|
value: t,
|
|
942
942
|
configurable: !0
|
|
943
|
-
}), ls = "Radio", [us, ds] =
|
|
943
|
+
}), ls = "Radio", [us, ds] = ci(ls), [fs, ps] = us(ls);
|
|
944
944
|
function ms(e) {
|
|
945
945
|
let { __scopeRadio: t, checked: n = !1, children: r, disabled: i, form: a, name: o, onCheck: s, required: c, value: l = "on", internal_do_not_use_render: u } = e, [d, f] = K.useState(null), [p, m] = K.useState(null), [h, g] = K.useState(null), _ = {
|
|
946
946
|
checked: n,
|
|
@@ -967,7 +967,7 @@ function ms(e) {
|
|
|
967
967
|
cs(ms, "RadioProvider");
|
|
968
968
|
var hs = "RadioTrigger", gs = /* @__PURE__ */ K.forwardRef(/* @__PURE__ */ cs(function({ __scopeRadio: e, onClick: t, ...n }, r) {
|
|
969
969
|
let { checked: i, disabled: a, value: o, setControl: s, onCheck: l, onUserClick: u, isFormControl: d, bubbleInput: f } = ps(hs, e), p = c(r, s);
|
|
970
|
-
return /* @__PURE__ */ (0, q.jsx)(
|
|
970
|
+
return /* @__PURE__ */ (0, q.jsx)(hi.button, {
|
|
971
971
|
type: "button",
|
|
972
972
|
role: "radio",
|
|
973
973
|
"aria-checked": i,
|
|
@@ -986,7 +986,7 @@ var hs = "RadioTrigger", gs = /* @__PURE__ */ K.forwardRef(/* @__PURE__ */ cs(fu
|
|
|
986
986
|
let { __scopeRadio: n, forceMount: r, ...i } = e, a = ps(_s, n);
|
|
987
987
|
return /* @__PURE__ */ (0, q.jsx)(xi, {
|
|
988
988
|
present: r || a.checked,
|
|
989
|
-
children: /* @__PURE__ */ (0, q.jsx)(
|
|
989
|
+
children: /* @__PURE__ */ (0, q.jsx)(hi.span, {
|
|
990
990
|
"data-state": Ss(a.checked),
|
|
991
991
|
"data-disabled": a.disabled ? "" : void 0,
|
|
992
992
|
...i,
|
|
@@ -1016,7 +1016,7 @@ var hs = "RadioTrigger", gs = /* @__PURE__ */ K.forwardRef(/* @__PURE__ */ cs(fu
|
|
|
1016
1016
|
m
|
|
1017
1017
|
]);
|
|
1018
1018
|
let x = K.useRef(a);
|
|
1019
|
-
return /* @__PURE__ */ (0, q.jsx)(
|
|
1019
|
+
return /* @__PURE__ */ (0, q.jsx)(hi.input, {
|
|
1020
1020
|
type: "radio",
|
|
1021
1021
|
"aria-hidden": !0,
|
|
1022
1022
|
defaultChecked: x.current,
|
|
@@ -1055,8 +1055,8 @@ var Cs = [
|
|
|
1055
1055
|
"ArrowDown",
|
|
1056
1056
|
"ArrowLeft",
|
|
1057
1057
|
"ArrowRight"
|
|
1058
|
-
], ws = "RadioGroup", [Ts, Es] =
|
|
1059
|
-
let { __scopeRadioGroup: n, name: r, form: i, defaultValue: a, value: o, required: s = !1, disabled: l = !1, orientation: u, dir: d, loop: f = !0, onValueChange: p, ...m } = e, h = Ds(n), g = ht(d), [_, v] =
|
|
1058
|
+
], ws = "RadioGroup", [Ts, Es] = ci(ws, [Fn, ds]), Ds = Fn(), Os = ds(), [ks, As] = Ts(ws), js = /* @__PURE__ */ K.forwardRef(/* @__PURE__ */ cs(function(e, t) {
|
|
1059
|
+
let { __scopeRadioGroup: n, name: r, form: i, defaultValue: a, value: o, required: s = !1, disabled: l = !1, orientation: u, dir: d, loop: f = !0, onValueChange: p, ...m } = e, h = Ds(n), g = ht(d), [_, v] = di({
|
|
1060
1060
|
prop: o,
|
|
1061
1061
|
defaultProp: a ?? null,
|
|
1062
1062
|
onChange: p,
|
|
@@ -1086,7 +1086,7 @@ var Cs = [
|
|
|
1086
1086
|
orientation: u,
|
|
1087
1087
|
dir: g,
|
|
1088
1088
|
loop: f,
|
|
1089
|
-
children: /* @__PURE__ */ (0, q.jsx)(
|
|
1089
|
+
children: /* @__PURE__ */ (0, q.jsx)(hi.div, {
|
|
1090
1090
|
role: "radiogroup",
|
|
1091
1091
|
"aria-required": s,
|
|
1092
1092
|
"aria-orientation": u,
|
|
@@ -1169,9 +1169,9 @@ var Fs = /* @__PURE__ */ K.forwardRef(/* @__PURE__ */ cs(function(e, t) {
|
|
|
1169
1169
|
}, "RadioGroupIndicator")), zs = Object.defineProperty, Bs = (e, t) => zs(e, "name", {
|
|
1170
1170
|
value: t,
|
|
1171
1171
|
configurable: !0
|
|
1172
|
-
}), Vs = "Switch", [Hs, Us] =
|
|
1172
|
+
}), Vs = "Switch", [Hs, Us] = ci(Vs), [Ws, Gs] = Hs(Vs);
|
|
1173
1173
|
function Ks(e) {
|
|
1174
|
-
let { __scopeSwitch: t, checked: n, children: r, defaultChecked: i, disabled: a, form: o, name: s, onCheckedChange: c, required: l, value: u = "on", internal_do_not_use_render: d } = e, [f, p] =
|
|
1174
|
+
let { __scopeSwitch: t, checked: n, children: r, defaultChecked: i, disabled: a, form: o, name: s, onCheckedChange: c, required: l, value: u = "on", internal_do_not_use_render: d } = e, [f, p] = di({
|
|
1175
1175
|
prop: n,
|
|
1176
1176
|
defaultProp: i ?? !1,
|
|
1177
1177
|
onChange: c,
|
|
@@ -1212,7 +1212,7 @@ var qs = "SwitchTrigger", Js = /* @__PURE__ */ K.forwardRef(/* @__PURE__ */ Bs(f
|
|
|
1212
1212
|
i,
|
|
1213
1213
|
a,
|
|
1214
1214
|
f
|
|
1215
|
-
]), /* @__PURE__ */ (0, q.jsx)(
|
|
1215
|
+
]), /* @__PURE__ */ (0, q.jsx)(hi.button, {
|
|
1216
1216
|
type: "button",
|
|
1217
1217
|
role: "switch",
|
|
1218
1218
|
"aria-checked": l,
|
|
@@ -1251,7 +1251,7 @@ var qs = "SwitchTrigger", Js = /* @__PURE__ */ K.forwardRef(/* @__PURE__ */ Bs(f
|
|
|
1251
1251
|
});
|
|
1252
1252
|
}, "Switch")), Xs = "SwitchThumb", Zs = /* @__PURE__ */ K.forwardRef(/* @__PURE__ */ Bs(function(e, t) {
|
|
1253
1253
|
let { __scopeSwitch: n, ...r } = e, i = Gs(Xs, n);
|
|
1254
|
-
return /* @__PURE__ */ (0, q.jsx)(
|
|
1254
|
+
return /* @__PURE__ */ (0, q.jsx)(hi.span, {
|
|
1255
1255
|
"data-state": tc(i.checked),
|
|
1256
1256
|
"data-disabled": i.disabled ? "" : void 0,
|
|
1257
1257
|
...r,
|
|
@@ -1280,7 +1280,7 @@ var qs = "SwitchTrigger", Js = /* @__PURE__ */ K.forwardRef(/* @__PURE__ */ Bs(f
|
|
|
1280
1280
|
a
|
|
1281
1281
|
]);
|
|
1282
1282
|
let S = K.useRef(o);
|
|
1283
|
-
return /* @__PURE__ */ (0, q.jsx)(
|
|
1283
|
+
return /* @__PURE__ */ (0, q.jsx)(hi.input, {
|
|
1284
1284
|
type: "checkbox",
|
|
1285
1285
|
"aria-hidden": !0,
|
|
1286
1286
|
defaultChecked: s ?? S.current,
|
|
@@ -1322,8 +1322,8 @@ var nc = Object.defineProperty, rc = (e, t) => nc(e, "name", {
|
|
|
1322
1322
|
}), ic = {
|
|
1323
1323
|
Automatic: "automatic",
|
|
1324
1324
|
Manual: "manual"
|
|
1325
|
-
}, ac = "Tabs", [oc, sc] =
|
|
1326
|
-
let { __scopeTabs: n, value: r, onValueChange: i, defaultValue: a, orientation: o = "horizontal", dir: s, activationMode: c = ic.Automatic, ...l } = e, u = ht(s), [d, f] =
|
|
1325
|
+
}, ac = "Tabs", [oc, sc] = ci(ac, [Fn]), cc = Fn(), [lc, uc] = oc(ac), dc = /* @__PURE__ */ K.forwardRef(/* @__PURE__ */ rc(function(e, t) {
|
|
1326
|
+
let { __scopeTabs: n, value: r, onValueChange: i, defaultValue: a, orientation: o = "horizontal", dir: s, activationMode: c = ic.Automatic, ...l } = e, u = ht(s), [d, f] = di({
|
|
1327
1327
|
prop: r,
|
|
1328
1328
|
onChange: i,
|
|
1329
1329
|
defaultProp: a ?? "",
|
|
@@ -1331,13 +1331,13 @@ var nc = Object.defineProperty, rc = (e, t) => nc(e, "name", {
|
|
|
1331
1331
|
});
|
|
1332
1332
|
return /* @__PURE__ */ (0, q.jsx)(lc, {
|
|
1333
1333
|
scope: n,
|
|
1334
|
-
baseId:
|
|
1334
|
+
baseId: ai(),
|
|
1335
1335
|
value: d,
|
|
1336
1336
|
onValueChange: f,
|
|
1337
1337
|
orientation: o,
|
|
1338
1338
|
dir: u,
|
|
1339
1339
|
activationMode: c,
|
|
1340
|
-
children: /* @__PURE__ */ (0, q.jsx)(
|
|
1340
|
+
children: /* @__PURE__ */ (0, q.jsx)(hi.div, {
|
|
1341
1341
|
dir: u,
|
|
1342
1342
|
"data-orientation": o,
|
|
1343
1343
|
...l,
|
|
@@ -1352,7 +1352,7 @@ var nc = Object.defineProperty, rc = (e, t) => nc(e, "name", {
|
|
|
1352
1352
|
orientation: a.orientation,
|
|
1353
1353
|
dir: a.dir,
|
|
1354
1354
|
loop: r,
|
|
1355
|
-
children: /* @__PURE__ */ (0, q.jsx)(
|
|
1355
|
+
children: /* @__PURE__ */ (0, q.jsx)(hi.div, {
|
|
1356
1356
|
role: "tablist",
|
|
1357
1357
|
"aria-orientation": a.orientation,
|
|
1358
1358
|
...i,
|
|
@@ -1366,7 +1366,7 @@ var nc = Object.defineProperty, rc = (e, t) => nc(e, "name", {
|
|
|
1366
1366
|
...s,
|
|
1367
1367
|
focusable: !i,
|
|
1368
1368
|
active: u,
|
|
1369
|
-
children: /* @__PURE__ */ (0, q.jsx)(
|
|
1369
|
+
children: /* @__PURE__ */ (0, q.jsx)(hi.button, {
|
|
1370
1370
|
type: "button",
|
|
1371
1371
|
role: "tab",
|
|
1372
1372
|
"aria-selected": u,
|
|
@@ -1396,7 +1396,7 @@ var nc = Object.defineProperty, rc = (e, t) => nc(e, "name", {
|
|
|
1396
1396
|
return () => cancelAnimationFrame(e);
|
|
1397
1397
|
}, []), /* @__PURE__ */ (0, q.jsx)(xi, {
|
|
1398
1398
|
present: i || u,
|
|
1399
|
-
children: ({ present: n }) => /* @__PURE__ */ (0, q.jsx)(
|
|
1399
|
+
children: ({ present: n }) => /* @__PURE__ */ (0, q.jsx)(hi.div, {
|
|
1400
1400
|
"data-state": u ? "active" : "inactive",
|
|
1401
1401
|
"data-orientation": s.orientation,
|
|
1402
1402
|
role: "tabpanel",
|
|
@@ -6742,17 +6742,17 @@ function Qh(e) {
|
|
|
6742
6742
|
//#region src/core/codemirror/go-to-definition/utils.ts
|
|
6743
6743
|
function $h(e, t) {
|
|
6744
6744
|
let n = eg(e);
|
|
6745
|
-
return n ?
|
|
6745
|
+
return n ? He(n, t) : !1;
|
|
6746
6746
|
}
|
|
6747
6747
|
function eg(e) {
|
|
6748
|
-
return
|
|
6748
|
+
return Ee(e) ?? null;
|
|
6749
6749
|
}
|
|
6750
6750
|
Gi(null);
|
|
6751
6751
|
var tg = Gi(/* @__PURE__ */ new Map());
|
|
6752
6752
|
function ng(e) {
|
|
6753
6753
|
let t = {};
|
|
6754
6754
|
for (let [n, r] of e) r.size > 0 && (t[n] = [...r].toSorted((e, t) => e - t));
|
|
6755
|
-
|
|
6755
|
+
Le().sendSetBreakpoints({ breakpoints: t }).catch((e) => {
|
|
6756
6756
|
i.debug("Failed to sync breakpoints to kernel", { error: e });
|
|
6757
6757
|
});
|
|
6758
6758
|
}
|
|
@@ -6788,7 +6788,7 @@ var yg = "[cmdk-group=\"\"]", bg = "[cmdk-group-items=\"\"]", xg = "[cmdk-group-
|
|
|
6788
6788
|
items: /* @__PURE__ */ new Map(),
|
|
6789
6789
|
groups: /* @__PURE__ */ new Set()
|
|
6790
6790
|
}
|
|
6791
|
-
})), r = Kg(() => /* @__PURE__ */ new Set()), i = Kg(() => /* @__PURE__ */ new Map()), a = Kg(() => /* @__PURE__ */ new Map()), o = Kg(() => /* @__PURE__ */ new Set()), s = Wg(e), { label: c, children: l, value: u, onValueChange: d, filter: f, shouldFilter: p, loop: m, disablePointerSelection: h = !1, vimBindings: g = !0, ..._ } = e, v =
|
|
6791
|
+
})), r = Kg(() => /* @__PURE__ */ new Set()), i = Kg(() => /* @__PURE__ */ new Map()), a = Kg(() => /* @__PURE__ */ new Map()), o = Kg(() => /* @__PURE__ */ new Set()), s = Wg(e), { label: c, children: l, value: u, onValueChange: d, filter: f, shouldFilter: p, loop: m, disablePointerSelection: h = !1, vimBindings: g = !0, ..._ } = e, v = ai(), y = ai(), b = ai(), x = K.useRef(null), S = Yg();
|
|
6792
6792
|
Gg(() => {
|
|
6793
6793
|
if (u !== void 0) {
|
|
6794
6794
|
let e = u.trim();
|
|
@@ -6929,7 +6929,7 @@ var yg = "[cmdk-group=\"\"]", bg = "[cmdk-group-items=\"\"]", xg = "[cmdk-group-
|
|
|
6929
6929
|
}, L = (e) => {
|
|
6930
6930
|
e.preventDefault(), e.metaKey ? M(0) : e.altKey ? P(-1) : N(-1);
|
|
6931
6931
|
};
|
|
6932
|
-
return K.createElement(
|
|
6932
|
+
return K.createElement(hi.div, {
|
|
6933
6933
|
ref: t,
|
|
6934
6934
|
tabIndex: -1,
|
|
6935
6935
|
..._,
|
|
@@ -6976,7 +6976,7 @@ var yg = "[cmdk-group=\"\"]", bg = "[cmdk-group-items=\"\"]", xg = "[cmdk-group-
|
|
|
6976
6976
|
style: Qg
|
|
6977
6977
|
}, c), Zg(e, (e) => K.createElement(kg.Provider, { value: C }, K.createElement(Dg.Provider, { value: w }, e))));
|
|
6978
6978
|
}), Ng = K.forwardRef((e, t) => {
|
|
6979
|
-
let n =
|
|
6979
|
+
let n = ai(), i = K.useRef(null), a = K.useContext(jg), o = Og(), s = Wg(e), c = s.current?.forceMount ?? a?.forceMount;
|
|
6980
6980
|
Gg(() => {
|
|
6981
6981
|
if (!c) return o.item(n, a?.id);
|
|
6982
6982
|
}, [c]);
|
|
@@ -7002,7 +7002,7 @@ var yg = "[cmdk-group=\"\"]", bg = "[cmdk-group-items=\"\"]", xg = "[cmdk-group-
|
|
|
7002
7002
|
}
|
|
7003
7003
|
if (!f) return null;
|
|
7004
7004
|
let { disabled: h, value: g, onSelect: _, forceMount: v, keywords: y, ...b } = e;
|
|
7005
|
-
return K.createElement(
|
|
7005
|
+
return K.createElement(hi.div, {
|
|
7006
7006
|
ref: r(i, t),
|
|
7007
7007
|
...b,
|
|
7008
7008
|
id: n,
|
|
@@ -7016,7 +7016,7 @@ var yg = "[cmdk-group=\"\"]", bg = "[cmdk-group-items=\"\"]", xg = "[cmdk-group-
|
|
|
7016
7016
|
onClick: h ? void 0 : p
|
|
7017
7017
|
}, e.children);
|
|
7018
7018
|
}), Pg = K.forwardRef((e, t) => {
|
|
7019
|
-
let { heading: n, children: i, forceMount: a, ...o } = e, s =
|
|
7019
|
+
let { heading: n, children: i, forceMount: a, ...o } = e, s = ai(), c = K.useRef(null), l = K.useRef(null), u = ai(), d = Og(), f = qg((e) => a || d.filter() === !1 ? !0 : !e.search || e.filtered.groups.has(s));
|
|
7020
7020
|
Gg(() => d.group(s), []), Jg(s, c, [
|
|
7021
7021
|
e.value,
|
|
7022
7022
|
e.heading,
|
|
@@ -7026,7 +7026,7 @@ var yg = "[cmdk-group=\"\"]", bg = "[cmdk-group-items=\"\"]", xg = "[cmdk-group-
|
|
|
7026
7026
|
id: s,
|
|
7027
7027
|
forceMount: a
|
|
7028
7028
|
}), [a]);
|
|
7029
|
-
return K.createElement(
|
|
7029
|
+
return K.createElement(hi.div, {
|
|
7030
7030
|
ref: r(c, t),
|
|
7031
7031
|
...o,
|
|
7032
7032
|
"cmdk-group": "",
|
|
@@ -7044,7 +7044,7 @@ var yg = "[cmdk-group=\"\"]", bg = "[cmdk-group-items=\"\"]", xg = "[cmdk-group-
|
|
|
7044
7044
|
}, K.createElement(jg.Provider, { value: p }, e))));
|
|
7045
7045
|
}), Fg = K.forwardRef((e, t) => {
|
|
7046
7046
|
let { alwaysRender: n, ...i } = e, a = K.useRef(null), o = qg((e) => !e.search);
|
|
7047
|
-
return !n && !o ? null : K.createElement(
|
|
7047
|
+
return !n && !o ? null : K.createElement(hi.div, {
|
|
7048
7048
|
ref: r(a, t),
|
|
7049
7049
|
...i,
|
|
7050
7050
|
"cmdk-separator": "",
|
|
@@ -7054,7 +7054,7 @@ var yg = "[cmdk-group=\"\"]", bg = "[cmdk-group-items=\"\"]", xg = "[cmdk-group-
|
|
|
7054
7054
|
let { onValueChange: n, ...r } = e, i = e.value != null, a = Ag(), o = qg((e) => e.search), s = qg((e) => e.selectedItemId), c = Og();
|
|
7055
7055
|
return K.useEffect(() => {
|
|
7056
7056
|
e.value != null && a.setState("search", e.value);
|
|
7057
|
-
}, [e.value]), K.createElement(
|
|
7057
|
+
}, [e.value]), K.createElement(hi.input, {
|
|
7058
7058
|
ref: t,
|
|
7059
7059
|
...r,
|
|
7060
7060
|
"cmdk-input": "",
|
|
@@ -7088,7 +7088,7 @@ var yg = "[cmdk-group=\"\"]", bg = "[cmdk-group-items=\"\"]", xg = "[cmdk-group-
|
|
|
7088
7088
|
cancelAnimationFrame(n), r.unobserve(e);
|
|
7089
7089
|
};
|
|
7090
7090
|
}
|
|
7091
|
-
}, []), K.createElement(
|
|
7091
|
+
}, []), K.createElement(hi.div, {
|
|
7092
7092
|
ref: r(o, t),
|
|
7093
7093
|
...a,
|
|
7094
7094
|
"cmdk-list": "",
|
|
@@ -7103,13 +7103,13 @@ var yg = "[cmdk-group=\"\"]", bg = "[cmdk-group-items=\"\"]", xg = "[cmdk-group-
|
|
|
7103
7103
|
}, e)));
|
|
7104
7104
|
}), Rg = K.forwardRef((e, t) => {
|
|
7105
7105
|
let { open: n, onOpenChange: r, overlayClassName: i, contentClassName: a, container: o, ...s } = e;
|
|
7106
|
-
return K.createElement(
|
|
7106
|
+
return K.createElement(gi, {
|
|
7107
7107
|
open: n,
|
|
7108
7108
|
onOpenChange: r
|
|
7109
|
-
}, K.createElement(vi, { container: o }, K.createElement(
|
|
7109
|
+
}, K.createElement(vi, { container: o }, K.createElement(_i, {
|
|
7110
7110
|
"cmdk-overlay": "",
|
|
7111
7111
|
className: i
|
|
7112
|
-
}), K.createElement(
|
|
7112
|
+
}), K.createElement(mi, {
|
|
7113
7113
|
"aria-label": e.label,
|
|
7114
7114
|
"cmdk-dialog": "",
|
|
7115
7115
|
className: a
|
|
@@ -7117,14 +7117,14 @@ var yg = "[cmdk-group=\"\"]", bg = "[cmdk-group-items=\"\"]", xg = "[cmdk-group-
|
|
|
7117
7117
|
ref: t,
|
|
7118
7118
|
...s
|
|
7119
7119
|
}))));
|
|
7120
|
-
}), zg = K.forwardRef((e, t) => qg((e) => e.filtered.count === 0) ? K.createElement(
|
|
7120
|
+
}), zg = K.forwardRef((e, t) => qg((e) => e.filtered.count === 0) ? K.createElement(hi.div, {
|
|
7121
7121
|
ref: t,
|
|
7122
7122
|
...e,
|
|
7123
7123
|
"cmdk-empty": "",
|
|
7124
7124
|
role: "presentation"
|
|
7125
7125
|
}) : null), Bg = K.forwardRef((e, t) => {
|
|
7126
7126
|
let { progress: n, children: r, label: i = "Loading...", ...a } = e;
|
|
7127
|
-
return K.createElement(
|
|
7127
|
+
return K.createElement(hi.div, {
|
|
7128
7128
|
ref: t,
|
|
7129
7129
|
...a,
|
|
7130
7130
|
"cmdk-loading": "",
|
|
@@ -7347,7 +7347,7 @@ var l_ = (0, K.createContext)({
|
|
|
7347
7347
|
defaultProp: F,
|
|
7348
7348
|
onChange: f
|
|
7349
7349
|
}, t[25] = f, t[26] = h, t[27] = F, t[28] = I) : I = t[28];
|
|
7350
|
-
let [L, R] =
|
|
7350
|
+
let [L, R] = di(I), z = L !== void 0 && L, B;
|
|
7351
7351
|
t[29] === m ? B = t[30] : (B = (e) => {
|
|
7352
7352
|
m?.(e);
|
|
7353
7353
|
}, t[29] = m, t[30] = B);
|
|
@@ -7357,7 +7357,7 @@ var l_ = (0, K.createContext)({
|
|
|
7357
7357
|
defaultProp: s,
|
|
7358
7358
|
onChange: B
|
|
7359
7359
|
}, t[31] = s, t[32] = B, t[33] = D, t[34] = ee) : ee = t[34];
|
|
7360
|
-
let [V, te] =
|
|
7360
|
+
let [V, te] = di(ee), re;
|
|
7361
7361
|
t[35] === V ? re = t[36] : (re = (e) => Array.isArray(V) ? V.includes(e) : V === e, t[35] = V, t[36] = re);
|
|
7362
7362
|
let ie = re, H;
|
|
7363
7363
|
t[37] !== d || t[38] !== O || t[39] !== R || t[40] !== te || t[41] !== V ? (H = (e) => {
|
|
@@ -7438,31 +7438,31 @@ var l_ = (0, K.createContext)({
|
|
|
7438
7438
|
children: [_e, be]
|
|
7439
7439
|
})
|
|
7440
7440
|
}), t[84] = l, t[85] = A, t[86] = _e, t[87] = be, t[88] = xe) : xe = t[88];
|
|
7441
|
-
let
|
|
7442
|
-
t[89] !== z || t[90] !== ue || t[91] !== ge || t[92] !== xe ? (
|
|
7441
|
+
let Ce;
|
|
7442
|
+
t[89] !== z || t[90] !== ue || t[91] !== ge || t[92] !== xe ? (Ce = /* @__PURE__ */ (0, q.jsxs)(ne, {
|
|
7443
7443
|
open: z,
|
|
7444
7444
|
onOpenChange: ue,
|
|
7445
7445
|
children: [ge, xe]
|
|
7446
|
-
}), t[89] = z, t[90] = ue, t[91] = ge, t[92] = xe, t[93] =
|
|
7447
|
-
let
|
|
7448
|
-
t[94] !== N || t[95] !== r || t[96] !== P || t[97] !== c || t[98] !== ae || t[99] !== O || t[100] !== V ? (
|
|
7446
|
+
}), t[89] = z, t[90] = ue, t[91] = ge, t[92] = xe, t[93] = Ce) : Ce = t[93];
|
|
7447
|
+
let we;
|
|
7448
|
+
t[94] !== N || t[95] !== r || t[96] !== P || t[97] !== c || t[98] !== ae || t[99] !== O || t[100] !== V ? (we = O && N && /* @__PURE__ */ (0, q.jsx)("div", {
|
|
7449
7449
|
className: a("flex flex-col gap-1 items-start", r),
|
|
7450
7450
|
children: Array.isArray(V) && V.map((e) => e == null ? null : /* @__PURE__ */ (0, q.jsxs)(at, {
|
|
7451
7451
|
variant: "secondary",
|
|
7452
|
-
children: [c?.(e) ?? String(e), /* @__PURE__ */ (0, q.jsx)(
|
|
7452
|
+
children: [c?.(e) ?? String(e), /* @__PURE__ */ (0, q.jsx)(Se, {
|
|
7453
7453
|
onClick: () => {
|
|
7454
7454
|
P || ae(e);
|
|
7455
7455
|
},
|
|
7456
7456
|
className: a("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", P && "pointer-events-none")
|
|
7457
7457
|
})]
|
|
7458
7458
|
}, String(e)))
|
|
7459
|
-
}), t[94] = N, t[95] = r, t[96] = P, t[97] = c, t[98] = ae, t[99] = O, t[100] = V, t[101] =
|
|
7460
|
-
let
|
|
7461
|
-
return t[102] !== v || t[103] !==
|
|
7459
|
+
}), t[94] = N, t[95] = r, t[96] = P, t[97] = c, t[98] = ae, t[99] = O, t[100] = V, t[101] = we) : we = t[101];
|
|
7460
|
+
let Te;
|
|
7461
|
+
return t[102] !== v || t[103] !== Ce || t[104] !== we ? (Te = /* @__PURE__ */ (0, q.jsxs)("div", {
|
|
7462
7462
|
className: le,
|
|
7463
7463
|
...v,
|
|
7464
|
-
children: [
|
|
7465
|
-
}), t[102] = v, t[103] =
|
|
7464
|
+
children: [Ce, we]
|
|
7465
|
+
}), t[102] = v, t[103] = Ce, t[104] = we, t[105] = Te) : Te = t[105], Te;
|
|
7466
7466
|
}, d_ = K.forwardRef((e, t) => {
|
|
7467
7467
|
let n = (0, J.c)(20), { children: r, className: i, value: o, onSelect: s, disabled: c } = e, l = typeof o == "object" && "value" in o ? o.value : String(o), u = K.use(l_), d;
|
|
7468
7468
|
n[0] !== u || n[1] !== o ? (d = u.isSelected(o), n[0] = u, n[1] = o, n[2] = d) : d = n[2];
|
|
@@ -12870,7 +12870,7 @@ function NC(e) {
|
|
|
12870
12870
|
}
|
|
12871
12871
|
}
|
|
12872
12872
|
function PC(e, t) {
|
|
12873
|
-
let n =
|
|
12873
|
+
let n = me(e);
|
|
12874
12874
|
if (!Array.isArray(n)) return e;
|
|
12875
12875
|
let r = n.map((e) => VC(e, !0)).join(", ");
|
|
12876
12876
|
switch (t) {
|
|
@@ -13084,7 +13084,7 @@ var JC = (e) => {
|
|
|
13084
13084
|
}, XC = "Fix this notebook error.";
|
|
13085
13085
|
function ZC(e, t) {
|
|
13086
13086
|
let n, r;
|
|
13087
|
-
return "errors" in t ? (n = t.errors.map(qe).join("\n"), r = t.errors.flatMap((e) => "traceback" in e && e.traceback ? [
|
|
13087
|
+
return "errors" in t ? (n = t.errors.map(qe).join("\n"), r = t.errors.flatMap((e) => "traceback" in e && e.traceback ? [Xe(fe(e.traceback))] : []).join("\n\n")) : (r = t.tracebackFormat === "html" ? Xe(fe(t.traceback)) : t.traceback, n = r.split("\n").findLast((e) => e.length > 0) ?? ""), {
|
|
13088
13088
|
type: "cell-output",
|
|
13089
13089
|
cell_id: e,
|
|
13090
13090
|
output: {
|
|
@@ -13123,7 +13123,7 @@ var iw = "packages-install-input", aw = () => {
|
|
|
13123
13123
|
}, ow = (e) => {
|
|
13124
13124
|
e.openApplication("packages"), aw();
|
|
13125
13125
|
}, sw = "marimo:ai:chatState:v5", cw = Gi(null), lw = Gi(null);
|
|
13126
|
-
|
|
13126
|
+
Ke("marimo:ai:chatOptions", { webSearch: !1 }, Je), Ke("marimo:ai:includeOtherCells", !0, Je);
|
|
13127
13127
|
function uw(e) {
|
|
13128
13128
|
let t = /* @__PURE__ */ new Map();
|
|
13129
13129
|
for (let [n, r] of e.entries()) {
|
|
@@ -13136,7 +13136,7 @@ function uw(e) {
|
|
|
13136
13136
|
}
|
|
13137
13137
|
return t;
|
|
13138
13138
|
}
|
|
13139
|
-
var dw =
|
|
13139
|
+
var dw = Be({
|
|
13140
13140
|
toSerializable: (e) => ({
|
|
13141
13141
|
chats: [...uw(e.chats).entries()],
|
|
13142
13142
|
activeChatId: e.activeChatId
|
|
@@ -13145,7 +13145,7 @@ var dw = je({
|
|
|
13145
13145
|
chats: new Map(e.chats),
|
|
13146
13146
|
activeChatId: e.activeChatId
|
|
13147
13147
|
})
|
|
13148
|
-
}), fw =
|
|
13148
|
+
}), fw = Ke(sw, {
|
|
13149
13149
|
chats: /* @__PURE__ */ new Map(),
|
|
13150
13150
|
activeChatId: null
|
|
13151
13151
|
}, {
|
|
@@ -13281,10 +13281,10 @@ var vw = {
|
|
|
13281
13281
|
os: "os",
|
|
13282
13282
|
re: "re",
|
|
13283
13283
|
sys: "sys"
|
|
13284
|
-
}, yw =
|
|
13284
|
+
}, yw = Ke("marimo:acp:sessions:v1", {
|
|
13285
13285
|
sessions: [],
|
|
13286
13286
|
activeTabId: null
|
|
13287
|
-
},
|
|
13287
|
+
}, Je);
|
|
13288
13288
|
Gi((e) => {
|
|
13289
13289
|
let t = e(yw);
|
|
13290
13290
|
return t.activeTabId && t.sessions.find((e) => e.tabId === t.activeTabId) || null;
|
|
@@ -13303,7 +13303,7 @@ var bw = (e) => {
|
|
|
13303
13303
|
case "edit": return "edit_model";
|
|
13304
13304
|
}
|
|
13305
13305
|
}, xw = () => {
|
|
13306
|
-
let e = (0, J.c)(10), t = Ji(ea), { saveUserConfig: n } =
|
|
13306
|
+
let e = (0, J.c)(10), t = Ji(ea), { saveUserConfig: n } = Fe(), r;
|
|
13307
13307
|
e[0] !== n || e[1] !== t ? (r = async (e) => {
|
|
13308
13308
|
let r = { ai: e };
|
|
13309
13309
|
await n({ config: r }).then(() => {
|
|
@@ -13324,7 +13324,7 @@ var bw = (e) => {
|
|
|
13324
13324
|
saveModelChange: o,
|
|
13325
13325
|
saveModeChange: c
|
|
13326
13326
|
}, e[7] = c, e[8] = o, e[9] = l) : l = e[9], l;
|
|
13327
|
-
}, Sw =
|
|
13327
|
+
}, Sw = Ke("marimo:chrome:ai-panel-tab", "chat", Je);
|
|
13328
13328
|
function Cw() {
|
|
13329
13329
|
let e = (0, J.c)(3), [t, n] = Wi(Sw), r;
|
|
13330
13330
|
return e[0] !== t || e[1] !== n ? (r = {
|
|
@@ -13336,12 +13336,12 @@ function Cw() {
|
|
|
13336
13336
|
//#region src/components/editor/chrome/wrapper/useOpenAiAssistant.ts
|
|
13337
13337
|
var ww = "code_mode";
|
|
13338
13338
|
function Tw(e, t) {
|
|
13339
|
-
return e || (
|
|
13339
|
+
return e || (Me("external_agents") ? t : "chat");
|
|
13340
13340
|
}
|
|
13341
13341
|
function Ew() {
|
|
13342
|
-
let e = (0, J.c)(6), { openApplication: t } =
|
|
13342
|
+
let e = (0, J.c)(6), { openApplication: t } = Oe(), { setAiPanelTab: n } = Cw(), { saveModeChange: r } = xw(), i = Ji(lw), a = Ki(), o;
|
|
13343
13343
|
return e[0] !== t || e[1] !== r || e[2] !== n || e[3] !== i || e[4] !== a ? (o = async (e) => {
|
|
13344
|
-
let o = Tw(e.panel, a.get(Sw)), s = a.get(ra), c =
|
|
13344
|
+
let o = Tw(e.panel, a.get(Sw)), s = a.get(ra), c = Me("external_agents") && a.get(yw).sessions.length > 0;
|
|
13345
13345
|
if (!(o === "agents" ? c : s)) {
|
|
13346
13346
|
p({
|
|
13347
13347
|
title: o === "agents" ? "No agent session" : "AI not configured",
|
|
@@ -13361,7 +13361,7 @@ function Dw() {
|
|
|
13361
13361
|
}
|
|
13362
13362
|
//#endregion
|
|
13363
13363
|
//#region src/components/editor/errors/fix-mode.ts
|
|
13364
|
-
var Ow =
|
|
13364
|
+
var Ow = Ke("marimo:ai-autofix-mode", "autofix", Je);
|
|
13365
13365
|
function kw() {
|
|
13366
13366
|
let e = (0, J.c)(3), [t, n] = Wi(Ow), r;
|
|
13367
13367
|
return e[0] !== t || e[1] !== n ? (r = {
|
|
@@ -13377,7 +13377,7 @@ function Aw(e, t) {
|
|
|
13377
13377
|
return n ? `My code gives the following error. Please fix it:\n\n${n}` : "Please fix this error.";
|
|
13378
13378
|
}
|
|
13379
13379
|
var jw = (e) => {
|
|
13380
|
-
let t = (0, J.c)(25), { errors: n, cellId: r, className: i } = e, o = Ki(), { createNewCell: s } =
|
|
13380
|
+
let t = (0, J.c)(25), { errors: n, cellId: r, className: i } = e, o = Ki(), { createNewCell: s } = $e(), c = aa(na), l;
|
|
13381
13381
|
if (t[0] !== c || t[1] !== n) {
|
|
13382
13382
|
let e;
|
|
13383
13383
|
t[3] === c ? e = t[4] : (e = (e) => gw(e, { aiEnabled: c }), t[3] = c, t[4] = e), l = n.flatMap(e), t[0] = c, t[1] = n, t[2] = l;
|
|
@@ -13386,7 +13386,7 @@ var jw = (e) => {
|
|
|
13386
13386
|
if (d.length === 0) return null;
|
|
13387
13387
|
let m = d[0], h;
|
|
13388
13388
|
t[5] !== r || t[6] !== s || t[7] !== m || t[8] !== f || t[9] !== o ? (h = (e) => {
|
|
13389
|
-
let t = o.get(
|
|
13389
|
+
let t = o.get(Ne).cellHandles[r].current?.editorView;
|
|
13390
13390
|
m.onFix({
|
|
13391
13391
|
addCodeBelow: (e) => {
|
|
13392
13392
|
s({
|
|
@@ -13444,7 +13444,7 @@ var jw = (e) => {
|
|
|
13444
13444
|
description: "Open the AI sidebar to fix"
|
|
13445
13445
|
},
|
|
13446
13446
|
prompt: {
|
|
13447
|
-
Icon:
|
|
13447
|
+
Icon: Ue,
|
|
13448
13448
|
title: "Suggest a prompt",
|
|
13449
13449
|
description: "Edit the prompt before applying"
|
|
13450
13450
|
}
|
|
@@ -13535,13 +13535,13 @@ var jw = (e) => {
|
|
|
13535
13535
|
//#endregion
|
|
13536
13536
|
//#region src/core/saving/filename.ts
|
|
13537
13537
|
function Iw() {
|
|
13538
|
-
return aa(
|
|
13538
|
+
return aa(ye);
|
|
13539
13539
|
}
|
|
13540
13540
|
//#endregion
|
|
13541
13541
|
//#region src/components/editor/links/cell-link.tsx
|
|
13542
13542
|
var Lw = (e) => {
|
|
13543
|
-
let t = (0, J.c)(15), { className: n, cellId: r, variant: i, onClick: s, formatCellName: c, skipScroll: l } = e, u =
|
|
13544
|
-
t[0] === r ? m = t[1] : (m = r === "__scratch__" ? void 0 : `#${
|
|
13543
|
+
let t = (0, J.c)(15), { className: n, cellId: r, variant: i, onClick: s, formatCellName: c, skipScroll: l } = e, u = Ze()[r] ?? "", d = we().inOrderIds.indexOf(r), { showCellIfHidden: f } = $e(), p = c ?? Vw, m;
|
|
13544
|
+
t[0] === r ? m = t[1] : (m = r === "__scratch__" ? void 0 : `#${ue.create(r)}`, t[0] = r, t[1] = m);
|
|
13545
13545
|
let h;
|
|
13546
13546
|
t[2] === n ? h = t[3] : (h = a("inline-block cursor-pointer text-left text-link hover:underline focus-visible:outline focus-visible:outline-ring", n), t[2] = n, t[3] = h);
|
|
13547
13547
|
let g;
|
|
@@ -13549,7 +13549,7 @@ var Lw = (e) => {
|
|
|
13549
13549
|
if (!(e.defaultPrevented || e.button !== 0 || o.hasModifier(e))) {
|
|
13550
13550
|
if (r === "__scratch__") return !1;
|
|
13551
13551
|
f({ cellId: r }), e.stopPropagation(), e.preventDefault(), requestAnimationFrame(() => {
|
|
13552
|
-
Bw(r, i, l) && (
|
|
13552
|
+
Bw(r, i, l) && (ge(r, { preventScroll: !0 }), s?.());
|
|
13553
13553
|
});
|
|
13554
13554
|
}
|
|
13555
13555
|
}, t[4] = r, t[5] = s, t[6] = f, t[7] = l, t[8] = i, t[9] = g) : g = t[9];
|
|
@@ -13582,7 +13582,7 @@ var Lw = (e) => {
|
|
|
13582
13582
|
}), t[6] = n, t[7] = a, t[8] = o, t[9] = s) : s = t[9], s;
|
|
13583
13583
|
};
|
|
13584
13584
|
function Bw(e, t, n) {
|
|
13585
|
-
let r =
|
|
13585
|
+
let r = ue.create(e), a = document.getElementById(r), o = a?.classList.contains("has-error");
|
|
13586
13586
|
return a === null ? (i.error(`Cell ${r} not found on page.`), !1) : (n || a.scrollIntoView({
|
|
13587
13587
|
behavior: "smooth",
|
|
13588
13588
|
block: "center"
|
|
@@ -13639,12 +13639,12 @@ function Ww(e, t) {
|
|
|
13639
13639
|
//#endregion
|
|
13640
13640
|
//#region src/core/notebook/attachments.ts
|
|
13641
13641
|
var Gw = [], Kw = Gi((e) => {
|
|
13642
|
-
let t = e(
|
|
13642
|
+
let t = e(pe);
|
|
13643
13643
|
return t ? e(t.attachmentsAtom) : Gw;
|
|
13644
13644
|
});
|
|
13645
13645
|
function qw(e) {
|
|
13646
13646
|
let t = (0, J.c)(2), n;
|
|
13647
|
-
return t[0] === e ? n = t[1] : (n = e === void 0 ? Kw :
|
|
13647
|
+
return t[0] === e ? n = t[1] : (n = e === void 0 ? Kw : Pe(Kw, (t) => t.filter((t) => t.kind === e), Xi), t[0] = e, t[1] = n), aa(n);
|
|
13648
13648
|
}
|
|
13649
13649
|
function Jw(e) {
|
|
13650
13650
|
return e.name || "Agent";
|
|
@@ -13658,15 +13658,15 @@ function Yw(e) {
|
|
|
13658
13658
|
});
|
|
13659
13659
|
window.setTimeout(n, t);
|
|
13660
13660
|
}
|
|
13661
|
-
|
|
13662
|
-
command:
|
|
13663
|
-
hostEnabled:
|
|
13664
|
-
templates:
|
|
13665
|
-
prompt:
|
|
13666
|
-
notebook:
|
|
13667
|
-
session:
|
|
13668
|
-
token_file:
|
|
13669
|
-
token:
|
|
13661
|
+
li({
|
|
13662
|
+
command: si(),
|
|
13663
|
+
hostEnabled: bi().default(!1),
|
|
13664
|
+
templates: li({
|
|
13665
|
+
prompt: si(),
|
|
13666
|
+
notebook: si(),
|
|
13667
|
+
session: si(),
|
|
13668
|
+
token_file: si(),
|
|
13669
|
+
token: si()
|
|
13670
13670
|
})
|
|
13671
13671
|
});
|
|
13672
13672
|
var Xw = Gi(void 0);
|
|
@@ -13788,7 +13788,7 @@ function nT() {
|
|
|
13788
13788
|
//#endregion
|
|
13789
13789
|
//#region src/components/editor/actions/useRestartKernel.tsx
|
|
13790
13790
|
function rT() {
|
|
13791
|
-
let e = (0, J.c)(4), { openConfirm: t } = Ny(), n = Ji(
|
|
13791
|
+
let e = (0, J.c)(4), { openConfirm: t } = Ny(), n = Ji(Ge), { sendRestart: r } = Fe(), i;
|
|
13792
13792
|
return e[0] !== t || e[1] !== r || e[2] !== n ? (i = () => {
|
|
13793
13793
|
t({
|
|
13794
13794
|
title: "Restart Kernel",
|
|
@@ -13796,7 +13796,7 @@ function rT() {
|
|
|
13796
13796
|
variant: "destructive",
|
|
13797
13797
|
confirmAction: /* @__PURE__ */ (0, q.jsx)(Ti, {
|
|
13798
13798
|
onClick: async () => {
|
|
13799
|
-
n({ state:
|
|
13799
|
+
n({ state: be.CLOSING }), await r(), nT();
|
|
13800
13800
|
},
|
|
13801
13801
|
"aria-label": "Confirm Restart",
|
|
13802
13802
|
children: "Restart"
|
|
@@ -13847,7 +13847,7 @@ var iT = "Your dependency changes are saved. Restart the kernel to use the updat
|
|
|
13847
13847
|
//#endregion
|
|
13848
13848
|
//#region src/core/packages/useInstallPackage.ts
|
|
13849
13849
|
function cT() {
|
|
13850
|
-
let [e, t] = (0, K.useState)(!1), { addPackage: n } =
|
|
13850
|
+
let [e, t] = (0, K.useState)(!1), { addPackage: n } = Fe();
|
|
13851
13851
|
return {
|
|
13852
13852
|
loading: e,
|
|
13853
13853
|
handleInstallPackages: async (e, r) => {
|
|
@@ -13865,7 +13865,7 @@ function cT() {
|
|
|
13865
13865
|
}
|
|
13866
13866
|
//#endregion
|
|
13867
13867
|
//#region src/components/editor/output/console/text-rendering.tsx
|
|
13868
|
-
var lT = new
|
|
13868
|
+
var lT = new _e(), uT = (e) => {
|
|
13869
13869
|
let t = /* @__PURE__ */ RegExp("\x1B\\[[0-9;]*m", "g");
|
|
13870
13870
|
return e.replaceAll(t, "");
|
|
13871
13871
|
}, dT = /(pip\s+install|uv\s+add|uv\s+pip\s+install)\s+/gi;
|
|
@@ -13898,7 +13898,7 @@ function fT(e) {
|
|
|
13898
13898
|
function pT(e, t = "") {
|
|
13899
13899
|
if (!e) return null;
|
|
13900
13900
|
if (!/https?:\/\//.test(e)) return e;
|
|
13901
|
-
let n =
|
|
13901
|
+
let n = Ae(e);
|
|
13902
13902
|
return n.length === 1 && n[0].type === "text" ? e : /* @__PURE__ */ (0, q.jsx)(q.Fragment, { children: n.map((e, n) => {
|
|
13903
13903
|
let r = t ? `${t}-${n}` : n;
|
|
13904
13904
|
if (e.type === "url") {
|
|
@@ -14040,7 +14040,7 @@ var mT = (e) => {
|
|
|
14040
14040
|
children: a
|
|
14041
14041
|
}), t[7] = e.className, t[8] = a, t[9] = o) : o = t[9], o;
|
|
14042
14042
|
}, ST = (e) => {
|
|
14043
|
-
let t = (0, J.c)(44), { errors: n, cellId: r, code: i, className: o } = e, s =
|
|
14043
|
+
let t = (0, J.c)(44), { errors: n, cellId: r, code: i, className: o } = e, s = Oe(), c = aa(Qi).display.cell_output === "above", l = aa(Qr).mode !== "edit", d = "This cell wasn't run because it has errors", f = "destructive", p = "text-error", m = null;
|
|
14044
14044
|
if (n.some(CT)) d = "Interrupted";
|
|
14045
14045
|
else if (n.some(wT)) d = "An internal error occurred";
|
|
14046
14046
|
else if (n.some(TT)) d = "Ancestor prevented from running", f = "default", p = "text-secondary-foreground";
|
|
@@ -14223,7 +14223,7 @@ var mT = (e) => {
|
|
|
14223
14223
|
variant: "link",
|
|
14224
14224
|
className: "my-2 font-normal mx-0 px-0",
|
|
14225
14225
|
onClick: N,
|
|
14226
|
-
children: [/* @__PURE__ */ (0, q.jsx)(
|
|
14226
|
+
children: [/* @__PURE__ */ (0, q.jsx)(De, { className: "h-3" }), /* @__PURE__ */ (0, q.jsx)("span", { children: "Try the scratchpad" })]
|
|
14227
14227
|
}), /* @__PURE__ */ (0, q.jsx)("span", { children: "to experiment without restrictions on variable names." })]
|
|
14228
14228
|
})
|
|
14229
14229
|
})
|
|
@@ -14372,7 +14372,7 @@ var mT = (e) => {
|
|
|
14372
14372
|
children: [m, /* @__PURE__ */ (0, q.jsx)(U, {
|
|
14373
14373
|
content: "marimo didn't run this cell because it detected an error.",
|
|
14374
14374
|
delayDuration: 200,
|
|
14375
|
-
children: /* @__PURE__ */ (0, q.jsx)(
|
|
14375
|
+
children: /* @__PURE__ */ (0, q.jsx)(ke, { className: "size-3 cursor-help" })
|
|
14376
14376
|
})]
|
|
14377
14377
|
}), t[20] = m, t[21] = F);
|
|
14378
14378
|
let I;
|
|
@@ -15247,7 +15247,7 @@ function RD(e) {
|
|
|
15247
15247
|
return i ? (t.leading = i[1] ?? "", t.middle = i[2] ?? "", t.trailing = i[3] ?? "", t) : (t.middle = e, t);
|
|
15248
15248
|
}
|
|
15249
15249
|
async function zD(e) {
|
|
15250
|
-
return Array.isArray(e) ? e : e.startsWith("{") || e.startsWith("[") ?
|
|
15250
|
+
return Array.isArray(e) ? e : e.startsWith("{") || e.startsWith("[") ? me(e) : (e = await ka(e, { type: "json" }, { handleBigIntAndNumberLike: !0 }), e);
|
|
15251
15251
|
}
|
|
15252
15252
|
async function BD(e, t) {
|
|
15253
15253
|
return t ? Promise.all([zD(e), zD(t)]) : [await zD(e), void 0];
|
|
@@ -15343,7 +15343,7 @@ function $D(e, t, n) {
|
|
|
15343
15343
|
let r = e.options.meta?.rawData;
|
|
15344
15344
|
if (r) {
|
|
15345
15345
|
let e = r[t];
|
|
15346
|
-
if (
|
|
15346
|
+
if (xe(e)) return e[n];
|
|
15347
15347
|
}
|
|
15348
15348
|
}
|
|
15349
15349
|
//#endregion
|
|
@@ -17176,7 +17176,7 @@ function Fk(e) {
|
|
|
17176
17176
|
p = null;
|
|
17177
17177
|
break bb0;
|
|
17178
17178
|
}
|
|
17179
|
-
let m =
|
|
17179
|
+
let m = tt[i || "unknown"], h;
|
|
17180
17180
|
t[11] === n ? h = t[12] : (h = n.getColumnFormatting?.(), t[11] = n, t[12] = h);
|
|
17181
17181
|
let g = h;
|
|
17182
17182
|
c = cr, t[13] === m ? f = t[14] : (f = /* @__PURE__ */ (0, q.jsxs)(Wn, { children: [/* @__PURE__ */ (0, q.jsx)(m, { className: "mo-dropdown-icon" }), "Format"] }), t[13] = m, t[14] = f), s = gr, o = kr, t[15] === r ? l = t[16] : (l = /* @__PURE__ */ (0, q.jsxs)("div", {
|
|
@@ -19115,14 +19115,14 @@ function ij({ rowHeaders: e, selection: t, fieldTypes: n, chartSpecModel: r, tex
|
|
|
19115
19115
|
return (t === "single" || t === "multi") && b.unshift({
|
|
19116
19116
|
id: ej,
|
|
19117
19117
|
maxSize: 40,
|
|
19118
|
-
header: ({ table: e }) => t === "multi" ? /* @__PURE__ */ (0, q.jsx)(
|
|
19118
|
+
header: ({ table: e }) => t === "multi" ? /* @__PURE__ */ (0, q.jsx)(ve, {
|
|
19119
19119
|
"data-testid": "select-all-checkbox",
|
|
19120
19120
|
checked: e.getIsAllPageRowsSelected(),
|
|
19121
19121
|
onCheckedChange: (t) => e.toggleAllPageRowsSelected(!!t),
|
|
19122
19122
|
"aria-label": "Select all",
|
|
19123
19123
|
className: "mx-1.5 my-4"
|
|
19124
19124
|
}) : null,
|
|
19125
|
-
cell: ({ row: e }) => /* @__PURE__ */ (0, q.jsx)(
|
|
19125
|
+
cell: ({ row: e }) => /* @__PURE__ */ (0, q.jsx)(ve, {
|
|
19126
19126
|
"data-testid": "select-row-checkbox",
|
|
19127
19127
|
checked: e.getIsSelected(),
|
|
19128
19128
|
onCheckedChange: (t) => e.toggleSelected(!!t),
|
|
@@ -19279,7 +19279,7 @@ function fj({ column: e, renderValue: t, getValue: n, selectCell: r, cellStyles:
|
|
|
19279
19279
|
className: "max-h-64"
|
|
19280
19280
|
})
|
|
19281
19281
|
});
|
|
19282
|
-
let h =
|
|
19282
|
+
let h = Ae(p ? u : n);
|
|
19283
19283
|
return h.every((e) => e.type !== "text") || n.length < tj || f ? /* @__PURE__ */ (0, q.jsxs)("div", {
|
|
19284
19284
|
onClick: r,
|
|
19285
19285
|
className: a(o, f && "whitespace-pre-wrap min-w-[200px]"),
|
|
@@ -19305,7 +19305,7 @@ function fj({ column: e, renderValue: t, getValue: n, selectCell: r, cellStyles:
|
|
|
19305
19305
|
buttonText: "X",
|
|
19306
19306
|
children: /* @__PURE__ */ (0, q.jsx)(JA, {
|
|
19307
19307
|
content: n,
|
|
19308
|
-
parts:
|
|
19308
|
+
parts: Ae(n)
|
|
19309
19309
|
})
|
|
19310
19310
|
});
|
|
19311
19311
|
}
|
|
@@ -21360,7 +21360,7 @@ var mP = (e) => {
|
|
|
21360
21360
|
className: o
|
|
21361
21361
|
}, e), t[6] = o, t[7] = l, t[8] = e, t[9] = n, t[10] = c) : c = t[10];
|
|
21362
21362
|
let u;
|
|
21363
|
-
t[11] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ (0, q.jsx)(
|
|
21363
|
+
t[11] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ (0, q.jsx)(ze, { className: "h-5 w-5 text-muted-foreground" }), t[11] = u) : u = t[11];
|
|
21364
21364
|
let f = `max-${s}`, p;
|
|
21365
21365
|
t[12] !== r || t[13] !== a ? (p = (e) => a(r, e), t[12] = r, t[13] = a, t[14] = p) : p = t[14];
|
|
21366
21366
|
let h;
|
|
@@ -21831,7 +21831,7 @@ var LP = {
|
|
|
21831
21831
|
r([...e]);
|
|
21832
21832
|
},
|
|
21833
21833
|
children: [
|
|
21834
|
-
/* @__PURE__ */ (0, q.jsx)(
|
|
21834
|
+
/* @__PURE__ */ (0, q.jsx)(ve, {
|
|
21835
21835
|
checked: y,
|
|
21836
21836
|
"aria-label": "Select all",
|
|
21837
21837
|
className: "mr-3 h-3.5 w-3.5"
|
|
@@ -21853,7 +21853,7 @@ var LP = {
|
|
|
21853
21853
|
className: "not-last:border-b rounded-none px-3",
|
|
21854
21854
|
onSelect: () => m(t),
|
|
21855
21855
|
children: [
|
|
21856
|
-
/* @__PURE__ */ (0, q.jsx)(
|
|
21856
|
+
/* @__PURE__ */ (0, q.jsx)(ve, {
|
|
21857
21857
|
checked: i,
|
|
21858
21858
|
"aria-label": "Select row",
|
|
21859
21859
|
className: "mr-3 h-3.5 w-3.5"
|
|
@@ -22148,7 +22148,7 @@ var JP = ({ snapshot: e, table: t, calculateTopKRows: n, onClose: r, editIndex:
|
|
|
22148
22148
|
placeholder: "min",
|
|
22149
22149
|
className: "border-input flex-1 min-w-0"
|
|
22150
22150
|
}),
|
|
22151
|
-
/* @__PURE__ */ (0, q.jsx)(
|
|
22151
|
+
/* @__PURE__ */ (0, q.jsx)(ze, { className: "h-5 w-5 text-muted-foreground shrink-0" }),
|
|
22152
22152
|
/* @__PURE__ */ (0, q.jsx)(Pn, {
|
|
22153
22153
|
value: t.max,
|
|
22154
22154
|
onChange: (e) => i({
|
|
@@ -24103,7 +24103,7 @@ function eL(e) {
|
|
|
24103
24103
|
}
|
|
24104
24104
|
//#endregion
|
|
24105
24105
|
//#region src/components/ui/context-menu.tsx
|
|
24106
|
-
var tL = Oo, nL = Ao, rL =
|
|
24106
|
+
var tL = Oo, nL = Ao, rL = ui(jo), iL = ii(No), aL = ii(Vo), oL = K.forwardRef((e, t) => {
|
|
24107
24107
|
let n = (0, J.c)(14), r, i, a, o;
|
|
24108
24108
|
n[0] === e ? (r = n[1], i = n[2], a = n[3], o = n[4]) : ({className: i, inset: a, children: r, ...o} = e, n[0] = e, n[1] = r, n[2] = i, n[3] = a, n[4] = o);
|
|
24109
24109
|
let s;
|
|
@@ -24140,13 +24140,13 @@ var lL = K.forwardRef((e, t) => {
|
|
|
24140
24140
|
n[0] === e ? (r = n[1], i = n[2], o = n[3]) : ({className: r, scrollable: o, ...i} = e, n[0] = e, n[1] = r, n[2] = i, n[3] = o);
|
|
24141
24141
|
let s = o === void 0 || o, c;
|
|
24142
24142
|
n[4] !== r || n[5] !== s ? (c = a(Ot(), sL, s && "overflow-auto", r), n[4] = r, n[5] = s, n[6] = c) : c = n[6];
|
|
24143
|
-
let l = s ? `calc(var(--radix-context-menu-content-available-height) - ${
|
|
24143
|
+
let l = s ? `calc(var(--radix-context-menu-content-available-height) - ${fi}px)` : void 0, u;
|
|
24144
24144
|
n[7] !== i.style || n[8] !== l ? (u = {
|
|
24145
24145
|
...i.style,
|
|
24146
24146
|
maxHeight: l
|
|
24147
24147
|
}, n[7] = i.style, n[8] = l, n[9] = u) : u = n[9];
|
|
24148
24148
|
let d;
|
|
24149
|
-
return n[10] !== i || n[11] !== t || n[12] !== c || n[13] !== u ? (d = /* @__PURE__ */ (0, q.jsx)(rL, { children: /* @__PURE__ */ (0, q.jsx)(
|
|
24149
|
+
return n[10] !== i || n[11] !== t || n[12] !== c || n[13] !== u ? (d = /* @__PURE__ */ (0, q.jsx)(rL, { children: /* @__PURE__ */ (0, q.jsx)(yi, { children: /* @__PURE__ */ (0, q.jsx)(iL, {
|
|
24150
24150
|
ref: t,
|
|
24151
24151
|
className: c,
|
|
24152
24152
|
style: u,
|
|
@@ -24303,7 +24303,7 @@ var vL = (e) => {
|
|
|
24303
24303
|
}
|
|
24304
24304
|
let t = n.current;
|
|
24305
24305
|
if (c(t), !t) return;
|
|
24306
|
-
let r = a.current?.querySelector(`[${
|
|
24306
|
+
let r = a.current?.querySelector(`[${de}="${t.id}"]`);
|
|
24307
24307
|
if (!r) {
|
|
24308
24308
|
i.error("Context menu cell not found in table");
|
|
24309
24309
|
return;
|
|
@@ -24740,7 +24740,7 @@ var NL = ({ table: e, columns: t, rowViewerPanelOpen: n, getRowIndex: r, viewedR
|
|
|
24740
24740
|
tabIndex: 0,
|
|
24741
24741
|
role: e.options.enableCellSelection ? "gridcell" : void 0,
|
|
24742
24742
|
"aria-selected": e.options.enableCellSelection ? t.getIsSelected?.() : void 0,
|
|
24743
|
-
...
|
|
24743
|
+
...he(t.id),
|
|
24744
24744
|
key: t.id,
|
|
24745
24745
|
className: a("whitespace-pre truncate outline-hidden focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-ring border-r border-r-border/75", !i && "max-w-[300px]", t.column.getColumnWrapping && t.column.getColumnWrapping?.() === "wrap" && "whitespace-pre-wrap min-w-[200px]", "px-1.5 py-[0.18rem]", n),
|
|
24746
24746
|
style: o,
|
|
@@ -25169,12 +25169,12 @@ var qL = ({ currentPage: e, totalPages: t, onPageChange: n }) => {
|
|
|
25169
25169
|
});
|
|
25170
25170
|
};
|
|
25171
25171
|
function YL(e, t) {
|
|
25172
|
-
return `${vn(e, t)} ${new
|
|
25172
|
+
return `${vn(e, t)} ${new Ce("row").pluralize(e)}`;
|
|
25173
25173
|
}
|
|
25174
25174
|
var XL = ({ numRows: e, totalColumns: t, hiddenColumns: n, locale: r }) => {
|
|
25175
25175
|
let i = e === "too_many" ? "Unknown" : YL(e, r), a = n ?? 0, o = t - a;
|
|
25176
25176
|
return {
|
|
25177
|
-
rowsAndColumns: [i, a > 0 ? `${vn(o, r)} visible` : `${vn(t, r)} ${new
|
|
25177
|
+
rowsAndColumns: [i, a > 0 ? `${vn(o, r)} visible` : `${vn(t, r)} ${new Ce("column").pluralize(t)}`].join(", "),
|
|
25178
25178
|
hiddenSuffix: a > 0 ? `(${vn(a, r)} hidden)` : null
|
|
25179
25179
|
};
|
|
25180
25180
|
}, ZL = 3, QL = (e) => {
|
|
@@ -25403,8 +25403,8 @@ var oR = ({ pagination: e, hasNextPage: t, totalColumns: n, selection: r, onRowS
|
|
|
25403
25403
|
}, dR = (e) => {
|
|
25404
25404
|
let t = (0, J.c)(12), { columnName: n, dataType: r, className: i } = e, o, s;
|
|
25405
25405
|
if (t[0] !== r) {
|
|
25406
|
-
let e =
|
|
25407
|
-
o =
|
|
25406
|
+
let e = Qe(r);
|
|
25407
|
+
o = tt[e], s = Te(e), t[0] = r, t[1] = o, t[2] = s;
|
|
25408
25408
|
} else o = t[1], s = t[2];
|
|
25409
25409
|
let c = s, l;
|
|
25410
25410
|
t[3] === i ? l = t[4] : (l = a("flex flex-row items-center gap-1.5", i), t[3] = i, t[4] = l);
|
|
@@ -25499,7 +25499,7 @@ var hR = ({ table: e }) => {
|
|
|
25499
25499
|
disabled: r.length === 0,
|
|
25500
25500
|
onSelect: () => l([]),
|
|
25501
25501
|
className: "cursor-pointer",
|
|
25502
|
-
children: [/* @__PURE__ */ (0, q.jsx)(
|
|
25502
|
+
children: [/* @__PURE__ */ (0, q.jsx)(We, { className: "w-3 h-3 mr-1.5" }), "Show all"]
|
|
25503
25503
|
}),
|
|
25504
25504
|
/* @__PURE__ */ (0, q.jsxs)(c_, {
|
|
25505
25505
|
value: "__hide_all__",
|
|
@@ -25529,7 +25529,7 @@ var hR = ({ table: e }) => {
|
|
|
25529
25529
|
onSelect: e.run,
|
|
25530
25530
|
className: "cursor-pointer",
|
|
25531
25531
|
children: [
|
|
25532
|
-
e.kind === "select-matching" ? /* @__PURE__ */ (0, q.jsx)(Xa, { className: "w-3 h-3 mr-1.5" }) : /* @__PURE__ */ (0, q.jsx)(
|
|
25532
|
+
e.kind === "select-matching" ? /* @__PURE__ */ (0, q.jsx)(Xa, { className: "w-3 h-3 mr-1.5" }) : /* @__PURE__ */ (0, q.jsx)(We, { className: "w-3 h-3 mr-1.5" }),
|
|
25533
25533
|
e.kind === "select-matching" ? "Hide" : "Show",
|
|
25534
25534
|
" ",
|
|
25535
25535
|
e.items.length,
|
|
@@ -25562,7 +25562,7 @@ var hR = ({ table: e }) => {
|
|
|
25562
25562
|
iconClassName: "w-3 h-3"
|
|
25563
25563
|
}), /* @__PURE__ */ (0, q.jsx)("span", {
|
|
25564
25564
|
className: a(r ? "text-primary" : "text-muted-foreground"),
|
|
25565
|
-
children: r ? /* @__PURE__ */ (0, q.jsx)(Xa, { className: "w-3 h-3" }) : /* @__PURE__ */ (0, q.jsx)(
|
|
25565
|
+
children: r ? /* @__PURE__ */ (0, q.jsx)(Xa, { className: "w-3 h-3" }) : /* @__PURE__ */ (0, q.jsx)(We, { className: "w-3 h-3" })
|
|
25566
25566
|
})]
|
|
25567
25567
|
})]
|
|
25568
25568
|
})] }, t.value);
|
|
@@ -25855,7 +25855,7 @@ var FR = [
|
|
|
25855
25855
|
label: "JSON",
|
|
25856
25856
|
format: "json",
|
|
25857
25857
|
description: "Raw JSON data",
|
|
25858
|
-
icon:
|
|
25858
|
+
icon: et,
|
|
25859
25859
|
canDownload: !0,
|
|
25860
25860
|
canCopy: !0
|
|
25861
25861
|
},
|
|
@@ -25879,7 +25879,7 @@ var FR = [
|
|
|
25879
25879
|
label: "Markdown",
|
|
25880
25880
|
format: "markdown",
|
|
25881
25881
|
description: "Preserves hyperlinks and formatting",
|
|
25882
|
-
icon:
|
|
25882
|
+
icon: je,
|
|
25883
25883
|
canDownload: !1,
|
|
25884
25884
|
canCopy: !0
|
|
25885
25885
|
}
|
|
@@ -26019,28 +26019,28 @@ var QR = (e) => {
|
|
|
26019
26019
|
t[23] === r ? oe = t[24] : (oe = (e) => {
|
|
26020
26020
|
o(e), e || (F.current += 1, M(null), c(BR), D(null), f({ source: r }));
|
|
26021
26021
|
}, t[23] = r, t[24] = oe);
|
|
26022
|
-
let se = oe,
|
|
26023
|
-
t[25] === g ?
|
|
26022
|
+
let se = oe, le;
|
|
26023
|
+
t[25] === g ? le = t[26] : (le = () => {
|
|
26024
26024
|
let e = F.current + 1;
|
|
26025
26025
|
return F.current = e, g(null), e;
|
|
26026
|
-
}, t[25] = g, t[26] =
|
|
26027
|
-
let
|
|
26028
|
-
t[27] === g ?
|
|
26026
|
+
}, t[25] = g, t[26] = le);
|
|
26027
|
+
let ue = le, de;
|
|
26028
|
+
t[27] === g ? de = t[28] : (de = (e, t) => {
|
|
26029
26029
|
e === F.current && g(t);
|
|
26030
|
-
}, t[27] = g, t[28] =
|
|
26031
|
-
let
|
|
26032
|
-
t[29] !== E || t[30] !== e || t[31] !==
|
|
26030
|
+
}, t[27] = g, t[28] = de);
|
|
26031
|
+
let fe = de, pe;
|
|
26032
|
+
t[29] !== E || t[30] !== e || t[31] !== fe || t[32] !== s ? (pe = async (t, n, r) => {
|
|
26033
26033
|
let i = HR(s, t, n.destination), a = {
|
|
26034
26034
|
format: t,
|
|
26035
26035
|
...i ? { options: i } : {},
|
|
26036
26036
|
...IR(t) && E !== null ? { geometry_column: E } : {}
|
|
26037
26037
|
}, o = await e.downloadAs(a);
|
|
26038
|
-
return r === F.current ? o.missing_packages && o.missing_packages.length > 0 ? (
|
|
26038
|
+
return r === F.current ? o.missing_packages && o.missing_packages.length > 0 ? (fe(r, {
|
|
26039
26039
|
kind: "missing-packages",
|
|
26040
26040
|
packages: o.missing_packages,
|
|
26041
26041
|
description: o.error,
|
|
26042
26042
|
action: n
|
|
26043
|
-
}), null) : o.error || o.code || !o.url ? (
|
|
26043
|
+
}), null) : o.error || o.code || !o.url ? (fe(r, {
|
|
26044
26044
|
kind: "error",
|
|
26045
26045
|
title: KR(n),
|
|
26046
26046
|
description: o.error ?? "The export did not produce a file.",
|
|
@@ -26049,16 +26049,16 @@ var QR = (e) => {
|
|
|
26049
26049
|
url: o.url,
|
|
26050
26050
|
filename: o.filename
|
|
26051
26051
|
} : null;
|
|
26052
|
-
}, t[29] = E, t[30] = e, t[31] =
|
|
26053
|
-
let
|
|
26054
|
-
t[34] !==
|
|
26052
|
+
}, t[29] = E, t[30] = e, t[31] = fe, t[32] = s, t[33] = pe) : pe = t[33];
|
|
26053
|
+
let me = pe, he;
|
|
26054
|
+
t[34] !== ue || t[35] !== A || t[36] !== me || t[37] !== fe ? (he = async (e) => {
|
|
26055
26055
|
let t = {
|
|
26056
26056
|
destination: "download",
|
|
26057
26057
|
format: e
|
|
26058
|
-
}, n =
|
|
26058
|
+
}, n = ue(), r = GR(e, A);
|
|
26059
26059
|
try {
|
|
26060
26060
|
await wR(`Preparing ${r} export...`, async () => {
|
|
26061
|
-
let r = await
|
|
26061
|
+
let r = await me(e, t, n);
|
|
26062
26062
|
if (!r || n !== F.current) return !1;
|
|
26063
26063
|
let i = (r.filename ?? "").trim(), a = `${yR.withoutExtension(i) || "download"}.${e}`, o = r.url;
|
|
26064
26064
|
if (!o.startsWith("data:")) {
|
|
@@ -26072,18 +26072,18 @@ var QR = (e) => {
|
|
|
26072
26072
|
}) && p({ title: `${r} download started` });
|
|
26073
26073
|
} catch (e) {
|
|
26074
26074
|
let r = e;
|
|
26075
|
-
|
|
26075
|
+
fe(n, {
|
|
26076
26076
|
kind: "error",
|
|
26077
26077
|
title: KR(t),
|
|
26078
26078
|
description: qR(r),
|
|
26079
26079
|
action: t
|
|
26080
26080
|
});
|
|
26081
26081
|
}
|
|
26082
|
-
}, t[34] =
|
|
26083
|
-
let
|
|
26084
|
-
t[39] !== se || t[40] !== A || t[41] !==
|
|
26082
|
+
}, t[34] = ue, t[35] = A, t[36] = me, t[37] = fe, t[38] = he) : he = t[38];
|
|
26083
|
+
let ge = he, _e;
|
|
26084
|
+
t[39] !== se || t[40] !== A || t[41] !== me ? (_e = async (e, t, n) => {
|
|
26085
26085
|
await wR(`Preparing ${GR(e, A)} for clipboard...`, async () => {
|
|
26086
|
-
let r = LR[e], i = await
|
|
26086
|
+
let r = LR[e], i = await me(r, t, n);
|
|
26087
26087
|
if (!i) return;
|
|
26088
26088
|
let a;
|
|
26089
26089
|
bb190: switch (e) {
|
|
@@ -26099,7 +26099,7 @@ var QR = (e) => {
|
|
|
26099
26099
|
}
|
|
26100
26100
|
case "markdown": {
|
|
26101
26101
|
let e = await tz(i.url);
|
|
26102
|
-
a =
|
|
26102
|
+
a = ce(e);
|
|
26103
26103
|
break bb190;
|
|
26104
26104
|
}
|
|
26105
26105
|
default:
|
|
@@ -26108,31 +26108,31 @@ var QR = (e) => {
|
|
|
26108
26108
|
}
|
|
26109
26109
|
n === F.current && (await m(a), p({ title: "Copied to clipboard" }), se(!1));
|
|
26110
26110
|
});
|
|
26111
|
-
}, t[39] = se, t[40] = A, t[41] =
|
|
26112
|
-
let ve =
|
|
26113
|
-
t[43] !==
|
|
26111
|
+
}, t[39] = se, t[40] = A, t[41] = me, t[42] = _e) : _e = t[42];
|
|
26112
|
+
let ve = _e, ye;
|
|
26113
|
+
t[43] !== ue || t[44] !== ve || t[45] !== fe ? (ye = async (e) => {
|
|
26114
26114
|
let t = {
|
|
26115
26115
|
destination: "copy",
|
|
26116
26116
|
format: e
|
|
26117
|
-
}, n =
|
|
26117
|
+
}, n = ue();
|
|
26118
26118
|
try {
|
|
26119
26119
|
await ve(e, t, n);
|
|
26120
26120
|
} catch (e) {
|
|
26121
26121
|
let r = e;
|
|
26122
|
-
|
|
26122
|
+
fe(n, {
|
|
26123
26123
|
kind: "error",
|
|
26124
26124
|
title: KR(t),
|
|
26125
26125
|
description: qR(r),
|
|
26126
26126
|
action: t
|
|
26127
26127
|
});
|
|
26128
26128
|
}
|
|
26129
|
-
}, t[43] =
|
|
26129
|
+
}, t[43] = ue, t[44] = ve, t[45] = fe, t[46] = ye) : ye = t[46];
|
|
26130
26130
|
let be = ye, xe;
|
|
26131
|
-
t[47] !== be || t[48] !==
|
|
26132
|
-
e.destination === "download" ?
|
|
26133
|
-
}, t[47] = be, t[48] =
|
|
26131
|
+
t[47] !== be || t[48] !== ge ? (xe = (e) => {
|
|
26132
|
+
e.destination === "download" ? ge(e.format) : be(e.format);
|
|
26133
|
+
}, t[47] = be, t[48] = ge, t[49] = xe) : xe = t[49];
|
|
26134
26134
|
let Se = xe, Ce;
|
|
26135
|
-
t[50] !== E || t[51] !== n || t[52] !== y || t[53] !== S || t[54] !== Se || t[55] !==
|
|
26135
|
+
t[50] !== E || t[51] !== n || t[52] !== y || t[53] !== S || t[54] !== Se || t[55] !== fe || t[56] !== g ? (Ce = async (e, t) => {
|
|
26136
26136
|
if (!y(t)) return;
|
|
26137
26137
|
if (!IR(e.format) || !n) {
|
|
26138
26138
|
Se(e);
|
|
@@ -26153,7 +26153,7 @@ var QR = (e) => {
|
|
|
26153
26153
|
Se(e);
|
|
26154
26154
|
return;
|
|
26155
26155
|
case "obsolete-geometry":
|
|
26156
|
-
D(a.default_geometry_column),
|
|
26156
|
+
D(a.default_geometry_column), fe(r, {
|
|
26157
26157
|
kind: "error",
|
|
26158
26158
|
title: KR(e),
|
|
26159
26159
|
description: JR,
|
|
@@ -26168,48 +26168,48 @@ var QR = (e) => {
|
|
|
26168
26168
|
return;
|
|
26169
26169
|
default: mt(o);
|
|
26170
26170
|
}
|
|
26171
|
-
}, t[50] = E, t[51] = n, t[52] = y, t[53] = S, t[54] = Se, t[55] =
|
|
26172
|
-
let we = Ui(Ce),
|
|
26173
|
-
t[58] !== d || t[59] !== we ? (
|
|
26171
|
+
}, t[50] = E, t[51] = n, t[52] = y, t[53] = S, t[54] = Se, t[55] = fe, t[56] = g, t[57] = Ce) : Ce = t[57];
|
|
26172
|
+
let we = Ui(Ce), Te;
|
|
26173
|
+
t[58] !== d || t[59] !== we ? (Te = (e) => {
|
|
26174
26174
|
let t = d;
|
|
26175
26175
|
return () => {
|
|
26176
26176
|
we(e, t);
|
|
26177
26177
|
};
|
|
26178
|
-
}, t[58] = d, t[59] = we, t[60] =
|
|
26179
|
-
let
|
|
26180
|
-
t[61] === A ?
|
|
26178
|
+
}, t[58] = d, t[59] = we, t[60] = Te) : Te = t[60];
|
|
26179
|
+
let Ee = Te, De;
|
|
26180
|
+
t[61] === A ? De = t[62] : (De = (e) => {
|
|
26181
26181
|
!VR(e) && !(IR(e) && A) || M((t) => t === e ? null : e);
|
|
26182
|
-
}, t[61] = A, t[62] =
|
|
26183
|
-
let
|
|
26184
|
-
t[63] !== ae || t[64] !== V ? (
|
|
26182
|
+
}, t[61] = A, t[62] = De);
|
|
26183
|
+
let Oe = De, ke;
|
|
26184
|
+
t[63] !== ae || t[64] !== V ? (ke = V ? /* @__PURE__ */ (0, q.jsx)("span", {
|
|
26185
26185
|
tabIndex: 0,
|
|
26186
26186
|
className: "inline-flex",
|
|
26187
26187
|
children: ae
|
|
26188
26188
|
}) : /* @__PURE__ */ (0, q.jsx)(_a, {
|
|
26189
26189
|
asChild: !0,
|
|
26190
26190
|
children: ae
|
|
26191
|
-
}), t[63] = ae, t[64] = V, t[65] =
|
|
26192
|
-
let
|
|
26193
|
-
t[66] !==
|
|
26191
|
+
}), t[63] = ae, t[64] = V, t[65] = ke) : ke = t[65];
|
|
26192
|
+
let Ae;
|
|
26193
|
+
t[66] !== ke || t[67] !== te ? (Ae = /* @__PURE__ */ (0, q.jsx)(U, {
|
|
26194
26194
|
content: te,
|
|
26195
|
-
children:
|
|
26196
|
-
}), t[66] =
|
|
26197
|
-
let
|
|
26198
|
-
t[69] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
26195
|
+
children: ke
|
|
26196
|
+
}), t[66] = ke, t[67] = te, t[68] = Ae) : Ae = t[68];
|
|
26197
|
+
let je, Me;
|
|
26198
|
+
t[69] === Symbol.for("react.memo_cache_sentinel") ? (je = (e) => {
|
|
26199
26199
|
e.preventDefault(), P.current?.focus();
|
|
26200
|
-
},
|
|
26200
|
+
}, Me = (e) => {
|
|
26201
26201
|
e.preventDefault(), N.current?.focus();
|
|
26202
|
-
}, t[69] =
|
|
26203
|
-
let
|
|
26204
|
-
t[71] === se ?
|
|
26202
|
+
}, t[69] = je, t[70] = Me) : (je = t[69], Me = t[70]);
|
|
26203
|
+
let Ne;
|
|
26204
|
+
t[71] === se ? Ne = t[72] : (Ne = (e) => {
|
|
26205
26205
|
e.key === "Escape" && se(!1);
|
|
26206
|
-
}, t[71] = se, t[72] =
|
|
26206
|
+
}, t[71] = se, t[72] = Ne);
|
|
26207
|
+
let Pe;
|
|
26208
|
+
t[73] === Symbol.for("react.memo_cache_sentinel") ? (Pe = /* @__PURE__ */ (0, q.jsxs)(ha, { children: [/* @__PURE__ */ (0, q.jsx)(ma, { children: "Export table" }), /* @__PURE__ */ (0, q.jsx)(va, { children: "Download a file or copy to the clipboard." })] }), t[73] = Pe) : Pe = t[73];
|
|
26207
26209
|
let Fe;
|
|
26208
|
-
t[
|
|
26209
|
-
let Ie;
|
|
26210
|
-
if (t[74] !== De || t[75] !== j || t[76] !== h || t[77] !== E || t[78] !== n || t[79] !== be || t[80] !== he || t[81] !== A || t[82] !== C || t[83] !== T || t[84] !== S.refetch || t[85] !== s || t[86] !== ke) {
|
|
26210
|
+
if (t[74] !== Ee || t[75] !== j || t[76] !== h || t[77] !== E || t[78] !== n || t[79] !== be || t[80] !== ge || t[81] !== A || t[82] !== C || t[83] !== T || t[84] !== S.refetch || t[85] !== s || t[86] !== Oe) {
|
|
26211
26211
|
let e;
|
|
26212
|
-
t[88] === A ? e = t[89] : (e = (e) => e.format !== "geojson" || A, t[88] = A, t[89] = e),
|
|
26212
|
+
t[88] === A ? e = t[89] : (e = (e) => e.format !== "geojson" || A, t[88] = A, t[89] = e), Fe = FR.filter(e).map((e) => {
|
|
26213
26213
|
let t = GR(e.format, A), r = VR(e.format) || IR(e.format) && A ? e.format : null, i = r !== null && j === r, o = r ? "button" : "div", l = `export-options-${e.format}`, d = `${l}-description`, f = `${l}-summary`, p = h?.action.format === e.format ? h : null, m = IR(e.format) && A ? XR(E) ?? "Choose geometry" : WR(s, e.format), g = C?.geometry_columns.findIndex((e) => e.name === E) ?? -1, _ = IR(e.format) ? C?.formats[e.format] : void 0, v = IR(e.format) && C ? YR(C, e.format, E) : null, y = T ? `Could not load geometry options: ${T}` : _?.reason ?? ZR(v, t, E), b = p?.kind === "missing-packages" ? p : null, x = b?.packages ?? (_?.available === !1 ? _.missing_packages : []), w = IR(e.format) && (!!n && !C || v !== null), O = IR(e.format) && (w || x.length > 0);
|
|
26214
26214
|
return /* @__PURE__ */ (0, q.jsxs)("li", {
|
|
26215
26215
|
"data-testid": `export-row-${e.format}`,
|
|
@@ -26224,7 +26224,7 @@ var QR = (e) => {
|
|
|
26224
26224
|
"aria-describedby": r ? [d, m && f].filter(Boolean).join(" ") : void 0,
|
|
26225
26225
|
"aria-expanded": r ? i : void 0,
|
|
26226
26226
|
"aria-controls": r ? l : void 0,
|
|
26227
|
-
onClick: r ? () =>
|
|
26227
|
+
onClick: r ? () => Oe(e.format) : void 0,
|
|
26228
26228
|
children: [/* @__PURE__ */ (0, q.jsx)("span", {
|
|
26229
26229
|
"aria-hidden": !0,
|
|
26230
26230
|
className: "inline-flex h-6 w-6 items-center justify-center",
|
|
@@ -26268,7 +26268,7 @@ var QR = (e) => {
|
|
|
26268
26268
|
"aria-label": `Download ${t}`,
|
|
26269
26269
|
disabled: !e.canDownload || w || x.length > 0,
|
|
26270
26270
|
onClick: e.canDownload && !w && x.length === 0 ? () => {
|
|
26271
|
-
|
|
26271
|
+
ge(e.format);
|
|
26272
26272
|
} : void 0,
|
|
26273
26273
|
children: /* @__PURE__ */ (0, q.jsx)(qa, { className: "h-4 w-4" })
|
|
26274
26274
|
})
|
|
@@ -26345,7 +26345,7 @@ var QR = (e) => {
|
|
|
26345
26345
|
packages: x,
|
|
26346
26346
|
featureName: `${t} export`,
|
|
26347
26347
|
description: b?.description ?? _?.reason,
|
|
26348
|
-
onInstall:
|
|
26348
|
+
onInstall: Ee(b?.action ?? {
|
|
26349
26349
|
destination: "download",
|
|
26350
26350
|
format: e.format === "geojson" ? "geojson" : "parquet"
|
|
26351
26351
|
}),
|
|
@@ -26357,7 +26357,7 @@ var QR = (e) => {
|
|
|
26357
26357
|
children: /* @__PURE__ */ (0, q.jsxs)(Ca, {
|
|
26358
26358
|
variant: "destructive",
|
|
26359
26359
|
className: "p-3 has-[svg]:pl-9 [&>svg]:left-3 [&>svg]:top-3",
|
|
26360
|
-
children: [/* @__PURE__ */ (0, q.jsx)(
|
|
26360
|
+
children: [/* @__PURE__ */ (0, q.jsx)(Ye, { className: "h-4 w-4" }), /* @__PURE__ */ (0, q.jsxs)("div", { children: [/* @__PURE__ */ (0, q.jsx)(Sa, {
|
|
26361
26361
|
className: "text-sm",
|
|
26362
26362
|
children: p.title
|
|
26363
26363
|
}), /* @__PURE__ */ (0, q.jsx)(wa, {
|
|
@@ -26368,29 +26368,29 @@ var QR = (e) => {
|
|
|
26368
26368
|
})
|
|
26369
26369
|
]
|
|
26370
26370
|
}, e.format);
|
|
26371
|
-
}), t[74] =
|
|
26372
|
-
} else
|
|
26373
|
-
let
|
|
26374
|
-
t[90] ===
|
|
26371
|
+
}), t[74] = Ee, t[75] = j, t[76] = h, t[77] = E, t[78] = n, t[79] = be, t[80] = ge, t[81] = A, t[82] = C, t[83] = T, t[84] = S.refetch, t[85] = s, t[86] = Oe, t[87] = Fe;
|
|
26372
|
+
} else Fe = t[87];
|
|
26373
|
+
let Ie;
|
|
26374
|
+
t[90] === Fe ? Ie = t[91] : (Ie = /* @__PURE__ */ (0, q.jsx)("ul", {
|
|
26375
26375
|
"aria-label": "Export formats",
|
|
26376
26376
|
className: "list-none overflow-hidden rounded-md border divide-y",
|
|
26377
|
-
children:
|
|
26378
|
-
}), t[90] =
|
|
26379
|
-
let
|
|
26380
|
-
t[92] !==
|
|
26377
|
+
children: Fe
|
|
26378
|
+
}), t[90] = Fe, t[91] = Ie);
|
|
26379
|
+
let Le;
|
|
26380
|
+
t[92] !== Ne || t[93] !== Ie ? (Le = /* @__PURE__ */ (0, q.jsxs)(ga, {
|
|
26381
26381
|
ref: P,
|
|
26382
26382
|
className: "print:hidden gap-4 sm:max-w-[540px]",
|
|
26383
|
-
onOpenAutoFocus:
|
|
26384
|
-
onCloseAutoFocus:
|
|
26385
|
-
onKeyDown:
|
|
26386
|
-
children: [
|
|
26387
|
-
}), t[92] =
|
|
26388
|
-
let
|
|
26389
|
-
return t[95] !== i || t[96] !== se || t[97] !==
|
|
26383
|
+
onOpenAutoFocus: je,
|
|
26384
|
+
onCloseAutoFocus: Me,
|
|
26385
|
+
onKeyDown: Ne,
|
|
26386
|
+
children: [Pe, Ie]
|
|
26387
|
+
}), t[92] = Ne, t[93] = Ie, t[94] = Le) : Le = t[94];
|
|
26388
|
+
let Re;
|
|
26389
|
+
return t[95] !== i || t[96] !== se || t[97] !== Ae || t[98] !== Le ? (Re = /* @__PURE__ */ (0, q.jsxs)(ya, {
|
|
26390
26390
|
open: i,
|
|
26391
26391
|
onOpenChange: se,
|
|
26392
|
-
children: [
|
|
26393
|
-
}), t[95] = i, t[96] = se, t[97] =
|
|
26392
|
+
children: [Ae, Le]
|
|
26393
|
+
}), t[95] = i, t[96] = se, t[97] = Ae, t[98] = Le, t[99] = Re) : Re = t[99], Re;
|
|
26394
26394
|
}, $R = (e) => {
|
|
26395
26395
|
let t = (0, J.c)(31), { format: n, settings: r, onChange: i } = e, a = K.useId(), o;
|
|
26396
26396
|
t[0] !== a || t[1] !== i ? (o = (e, t) => /* @__PURE__ */ (0, q.jsx)(ez, {
|
|
@@ -26487,7 +26487,7 @@ var QR = (e) => {
|
|
|
26487
26487
|
children: r
|
|
26488
26488
|
}), t[0] = n, t[1] = r, t[2] = o) : o = t[2];
|
|
26489
26489
|
let s = `${r} help`, c;
|
|
26490
|
-
t[3] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ (0, q.jsx)(
|
|
26490
|
+
t[3] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ (0, q.jsx)(ke, { className: "h-3 w-3" }), t[3] = c) : c = t[3];
|
|
26491
26491
|
let l;
|
|
26492
26492
|
t[4] === s ? l = t[5] : (l = /* @__PURE__ */ (0, q.jsx)("button", {
|
|
26493
26493
|
type: "button",
|
|
@@ -26517,7 +26517,7 @@ var QR = (e) => {
|
|
|
26517
26517
|
}), t[14] = d, t[15] = f, t[16] = p) : p = t[16], p;
|
|
26518
26518
|
};
|
|
26519
26519
|
function tz(e) {
|
|
26520
|
-
return nz(e).then(
|
|
26520
|
+
return nz(e).then(me);
|
|
26521
26521
|
}
|
|
26522
26522
|
function nz(e) {
|
|
26523
26523
|
return fetch(e).then((e) => {
|
|
@@ -26839,7 +26839,7 @@ var pz = (e) => {
|
|
|
26839
26839
|
]
|
|
26840
26840
|
}), t[0] = r, t[1] = s, t[2] = c) : c = t[2];
|
|
26841
26841
|
let l = c, d;
|
|
26842
|
-
t[3] !== r || t[4] !== s ? (d = s === "html" ?
|
|
26842
|
+
t[3] !== r || t[4] !== s ? (d = s === "html" ? Xe(fe(r)) : r, t[3] = r, t[4] = s, t[5] = d) : d = t[5];
|
|
26843
26843
|
let f = d, p;
|
|
26844
26844
|
t[6] === f ? p = t[7] : (p = mz(f), t[6] = f, t[7] = p);
|
|
26845
26845
|
let g = p, _ = aa(na), v = Ew(), y;
|
|
@@ -26904,7 +26904,7 @@ var pz = (e) => {
|
|
|
26904
26904
|
size: "xs",
|
|
26905
26905
|
variant: "outline",
|
|
26906
26906
|
onClick: () => {
|
|
26907
|
-
|
|
26907
|
+
Le().sendPdb({ cellId: b.cellId });
|
|
26908
26908
|
},
|
|
26909
26909
|
children: [/* @__PURE__ */ (0, q.jsx)(Ia, { className: "h-3 w-3 mr-2" }), "Launch debugger"]
|
|
26910
26910
|
})
|
|
@@ -26930,7 +26930,7 @@ var pz = (e) => {
|
|
|
26930
26930
|
children: [
|
|
26931
26931
|
/* @__PURE__ */ (0, q.jsx)(Mr, { className: "h-4 w-4 mr-2" }),
|
|
26932
26932
|
"Search on Google",
|
|
26933
|
-
/* @__PURE__ */ (0, q.jsx)(
|
|
26933
|
+
/* @__PURE__ */ (0, q.jsx)(Ve, { className: "h-3 w-3 ml-auto" })
|
|
26934
26934
|
]
|
|
26935
26935
|
})
|
|
26936
26936
|
}),
|
|
@@ -26943,7 +26943,7 @@ var pz = (e) => {
|
|
|
26943
26943
|
children: [
|
|
26944
26944
|
/* @__PURE__ */ (0, q.jsx)(io, { className: "h-4 w-4 mr-2" }),
|
|
26945
26945
|
"Ask in Discord",
|
|
26946
|
-
/* @__PURE__ */ (0, q.jsx)(
|
|
26946
|
+
/* @__PURE__ */ (0, q.jsx)(Ve, { className: "h-3 w-3 ml-auto" })
|
|
26947
26947
|
]
|
|
26948
26948
|
})
|
|
26949
26949
|
}),
|
|
@@ -26981,7 +26981,7 @@ function mz(e) {
|
|
|
26981
26981
|
var hz = (e) => {
|
|
26982
26982
|
let t = Zh(e);
|
|
26983
26983
|
if (t?.kind === "cell") {
|
|
26984
|
-
let e =
|
|
26984
|
+
let e = Me("debugger"), n = e ? /* @__PURE__ */ (0, q.jsx)(yz, {}) : /* @__PURE__ */ (0, q.jsx)(vz, {});
|
|
26985
26985
|
return /* @__PURE__ */ (0, q.jsx)("span", {
|
|
26986
26986
|
className: "nb",
|
|
26987
26987
|
children: /* @__PURE__ */ (0, q.jsxs)("span", {
|
|
@@ -27000,7 +27000,7 @@ var hz = (e) => {
|
|
|
27000
27000
|
rg(t.cellId, t.lineNumber);
|
|
27001
27001
|
return;
|
|
27002
27002
|
}
|
|
27003
|
-
let n =
|
|
27003
|
+
let n = Re(t.cellId);
|
|
27004
27004
|
n && fz(n, t.lineNumber);
|
|
27005
27005
|
},
|
|
27006
27006
|
children: /* @__PURE__ */ (0, q.jsx)(Ia, { className: "h-3 w-3" })
|
|
@@ -27013,7 +27013,7 @@ var hz = (e) => {
|
|
|
27013
27013
|
type: "button",
|
|
27014
27014
|
className: "inline-block cursor-pointer text-destructive hover:underline",
|
|
27015
27015
|
onClick: () => {
|
|
27016
|
-
|
|
27016
|
+
Le().openFile({
|
|
27017
27017
|
path: t.filePath,
|
|
27018
27018
|
lineNumber: t.lineNumber
|
|
27019
27019
|
});
|
|
@@ -27333,7 +27333,7 @@ var wz = K.memo((e) => {
|
|
|
27333
27333
|
let t = (0, J.c)(17), { output: n, cellId: r, stale: i, loading: o, allowExpand: s, forceExpand: c, className: l } = e;
|
|
27334
27334
|
if (n == null || n.channel === "output" && n.data === "") return null;
|
|
27335
27335
|
let u = i ? "This output is stale" : void 0, d = s ? Dz : Tz, f;
|
|
27336
|
-
t[0] === r ? f = t[1] : (f =
|
|
27336
|
+
t[0] === r ? f = t[1] : (f = le.create(r), t[0] = r, t[1] = f);
|
|
27337
27337
|
let p = i && "marimo-output-stale", m = o && "marimo-output-loading", h;
|
|
27338
27338
|
t[2] !== l || t[3] !== p || t[4] !== m ? (h = a(p, m, l), t[2] = l, t[3] = p, t[4] = m, t[5] = h) : h = t[5];
|
|
27339
27339
|
let g;
|
|
@@ -27368,7 +27368,7 @@ function Ez() {
|
|
|
27368
27368
|
var Dz = K.memo((e) => {
|
|
27369
27369
|
let t = (0, J.c)(34), r, i, s, c;
|
|
27370
27370
|
t[0] === e ? (r = t[1], i = t[2], s = t[3], c = t[4]) : ({cellId: r, children: i, forceExpand: s, ...c} = e, t[0] = e, t[1] = r, t[2] = i, t[3] = s, t[4] = c);
|
|
27371
|
-
let l = (0, K.useRef)(null), [d, f] = R(r), p = cE(l), { hasFullscreen: m } = Ma(), h =
|
|
27371
|
+
let l = (0, K.useRef)(null), [d, f] = R(r), p = cE(l), { hasFullscreen: m } = Ma(), h = pi(l);
|
|
27372
27372
|
n(h ? document : null, "keydown", jz);
|
|
27373
27373
|
let g;
|
|
27374
27374
|
t[5] === m ? g = t[6] : (g = m && /* @__PURE__ */ (0, q.jsx)(U, {
|
|
@@ -27783,7 +27783,7 @@ function Yz(e) {
|
|
|
27783
27783
|
//#region src/components/slides/slide.tsx
|
|
27784
27784
|
var Xz = (0, K.memo)((e) => {
|
|
27785
27785
|
let t = (0, J.c)(7), { output: n, cellId: r, status: i, stale: a } = e, o;
|
|
27786
|
-
t[0] === i ? o = t[1] : (o =
|
|
27786
|
+
t[0] === i ? o = t[1] : (o = Ie(i), t[0] = i, t[1] = o);
|
|
27787
27787
|
let s = o, c;
|
|
27788
27788
|
return t[2] !== r || t[3] !== s || t[4] !== n || t[5] !== a ? (c = /* @__PURE__ */ (0, q.jsx)(wz, {
|
|
27789
27789
|
className: "contents",
|
|
@@ -27797,7 +27797,7 @@ var Xz = (0, K.memo)((e) => {
|
|
|
27797
27797
|
Xz.displayName = "Slide";
|
|
27798
27798
|
//#endregion
|
|
27799
27799
|
//#region src/components/slides/slide-form.tsx
|
|
27800
|
-
var Zz = "slide", Qz = "slide", $z = "center", eB = 36, tB =
|
|
27800
|
+
var Zz = "slide", Qz = "slide", $z = "center", eB = 36, tB = Ke("marimo:slides:config-open", !0, Je, { getOnInit: !0 }), nB = [
|
|
27801
27801
|
{
|
|
27802
27802
|
value: "slide",
|
|
27803
27803
|
label: "Slide",
|
|
@@ -28244,7 +28244,7 @@ function SB(e, t) {
|
|
|
28244
28244
|
return {
|
|
28245
28245
|
"data-cell-id": e,
|
|
28246
28246
|
"data-cell-name": t,
|
|
28247
|
-
id:
|
|
28247
|
+
id: ue.create(e)
|
|
28248
28248
|
};
|
|
28249
28249
|
}
|
|
28250
28250
|
//#endregion
|