@marimo-team/islands 0.25.2-dev27 → 0.25.2-dev30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/{ErrorBoundary-B7xAB7tc.js → ErrorBoundary-Siz68Nx-.js} +1 -1
  2. package/dist/{abnfDiagram-VCTEODGH-aLGD44M7.js → abnfDiagram-VCTEODGH-Bd5MYz7g.js} +3 -3
  3. package/dist/{architectureDiagram-5GKGNRK7-BGL5P81u.js → architectureDiagram-5GKGNRK7-12FmGgo8.js} +5 -5
  4. package/dist/{blockDiagram-I7D4REHJ-CvBmppdy.js → blockDiagram-I7D4REHJ-BeHOjyDk.js} +9 -9
  5. package/dist/{c4Diagram-7LVT6UL2-EceL4_jH.js → c4Diagram-7LVT6UL2-Bao10t_O.js} +7 -7
  6. package/dist/{cells-5ppES-Un.js → cells-BUbzm9iX.js} +1 -1
  7. package/dist/{channel-z7HZXHwv.js → channel-BxCkvUgE.js} +1 -1
  8. package/dist/{chat-ui-Dv2V95k6.js → chat-ui-DJpsSmlB.js} +7 -7
  9. package/dist/{chunk-4HAMMTFA-BPTTOOC5.js → chunk-4HAMMTFA-CH7Gpamd.js} +5 -5
  10. package/dist/{chunk-75Z2AOVW-C4AOleKf.js → chunk-75Z2AOVW-AI7CvgKn.js} +1 -1
  11. package/dist/{chunk-DU6HZSFF-1TwWR6gh.js → chunk-DU6HZSFF-BSvuTkX4.js} +1 -1
  12. package/dist/{chunk-F27PBJKO-DMI1PBe4.js → chunk-F27PBJKO-CLshwT9T.js} +1 -1
  13. package/dist/{chunk-GMAD6QVW-vStrMz2P.js → chunk-GMAD6QVW-wnHcn-lH.js} +3 -3
  14. package/dist/{chunk-GVQU2GXP-2HwWgs4u.js → chunk-GVQU2GXP-7O2p8hut.js} +2 -2
  15. package/dist/{chunk-IMKFNOWR-Cm3RgLDj.js → chunk-IMKFNOWR-BlsbbLiS.js} +6 -6
  16. package/dist/{chunk-L3NEJ4N5-RhC7i0I2.js → chunk-L3NEJ4N5-B9_Alrxb.js} +5 -5
  17. package/dist/{chunk-OSK3NFVY-CZV09N-U.js → chunk-OSK3NFVY-PeQPH2fD.js} +6 -6
  18. package/dist/{chunk-P2QGCYS3-0TAWai9C.js → chunk-P2QGCYS3-D9twiFuU.js} +1 -1
  19. package/dist/{chunk-POPQ4Y6H-Cc3_56GX.js → chunk-POPQ4Y6H-BUiNs18s.js} +1 -1
  20. package/dist/{chunk-PWAF6VOD-lNxB9k8z.js → chunk-PWAF6VOD-D8S9NPCy.js} +1 -1
  21. package/dist/{chunk-SHT3W25Y-DedDYSP5.js → chunk-SHT3W25Y-DoIB7Bub.js} +8 -8
  22. package/dist/{chunk-SVP7TREG-B2SFkCAL.js → chunk-SVP7TREG-B0dScloT.js} +2 -2
  23. package/dist/{chunk-TICWLB2K-DB6hjNOL.js → chunk-TICWLB2K-C-lzn2th.js} +6 -6
  24. package/dist/classDiagram-ZZMXUADV-C5vpBHoS.js +30 -0
  25. package/dist/classDiagram-v2-VYDZK3BY-BS2Wadt0.js +30 -0
  26. package/dist/{code-visibility-BKuHUlSp.js → code-visibility-CP3A3ANH.js} +2 -2
  27. package/dist/{common-CB96Vrh1.js → common-DYbUXmkS.js} +3 -3
  28. package/dist/{cynefinDiagram-5FMLGOSQ-DzaZEqgD.js → cynefinDiagram-5FMLGOSQ-fxnL4mfp.js} +3 -3
  29. package/dist/{dagre-GXQ25YYZ-Cjf5GjU3.js → dagre-GXQ25YYZ-D5NkGE9i.js} +10 -10
  30. package/dist/{data-grid-overlay-editor-DkwfVJ5C.js → data-grid-overlay-editor-BgExvd3Z.js} +1 -1
  31. package/dist/{diagram-S7CK7UJ4-IhLt_khx.js → diagram-S7CK7UJ4-CATbk1XK.js} +4 -4
  32. package/dist/{diagram-UQ7AKVKN-CQc6KLPB.js → diagram-UQ7AKVKN-Cjha5vrC.js} +3 -3
  33. package/dist/{diagram-VSXAHHWV-CR7BJygZ.js → diagram-VSXAHHWV-DPAWJ9Nw.js} +2 -2
  34. package/dist/{diagram-VX7I27RA-DHmW9N1T.js → diagram-VX7I27RA-BHfAjgGw.js} +5 -5
  35. package/dist/{diagram-Z3DM3KII-zVKsg-Ty.js → diagram-Z3DM3KII-eAoDps6E.js} +3 -3
  36. package/dist/{ebnfDiagram-PWID7BFC-DDd5hCRC.js → ebnfDiagram-PWID7BFC-D8RYnIZC.js} +3 -3
  37. package/dist/{erDiagram-RLTQ6QDP-D10NP0eI.js → erDiagram-RLTQ6QDP-BfmoNNce.js} +12 -12
  38. package/dist/{error-entries-B2Ux3Z2X.js → error-entries-B9WBDeky.js} +1 -1
  39. package/dist/{feedback-button-DHTBJriu.js → feedback-button-CwhEpI_T.js} +4 -4
  40. package/dist/flowDiagram-HODETNUW-Du_I0oTA.js +16 -0
  41. package/dist/{ganttDiagram-EL5Y4UJY-cRRaDt88.js → ganttDiagram-EL5Y4UJY-B4m_YsKa.js} +2 -2
  42. package/dist/{gitGraphDiagram-WWUBYQGX-Pox5k9-Y.js → gitGraphDiagram-WWUBYQGX-QRBbvWXh.js} +2 -2
  43. package/dist/{glide-data-editor-28V-XtsS.js → glide-data-editor-CrSi-w0o.js} +3 -3
  44. package/dist/{globals-DM822_E_.js → globals-BfBZlRMW.js} +1 -1
  45. package/dist/{html-to-image-BZBwkkDG.js → html-to-image-Btymxku9.js} +1 -1
  46. package/dist/{infoDiagram-27XIBGKW-DrYu3UZC.js → infoDiagram-27XIBGKW-CHsocw1z.js} +2 -2
  47. package/dist/{ishikawaDiagram-5VMMS53U-pmkGQJsA.js → ishikawaDiagram-5VMMS53U-DZdZJdsT.js} +3 -3
  48. package/dist/{journeyDiagram-3NMN7TZE-EPJDPlt0.js → journeyDiagram-3NMN7TZE-BeeJdJo3.js} +2 -2
  49. package/dist/{kanban-definition-UXKFOSKX-wWGD9VLW.js → kanban-definition-UXKFOSKX-B1rrJRmN.js} +9 -9
  50. package/dist/main.js +122 -115
  51. package/dist/{mermaid-Dfvntf3s.js → mermaid-CEceCleL.js} +50 -50
  52. package/dist/{mindmap-definition-YA3MSWOX-C2f1VIBR.js → mindmap-definition-YA3MSWOX-C6-S9h9O.js} +11 -11
  53. package/dist/{number-overlay-editor-rRWcORH5.js → number-overlay-editor-BfFyQUmB.js} +1 -1
  54. package/dist/{pegDiagram-XKGWAZYB-D6v5dz4M.js → pegDiagram-XKGWAZYB-BL-R6P57.js} +3 -3
  55. package/dist/{pieDiagram-E7YTZNPT-BwFAhpYD.js → pieDiagram-E7YTZNPT-DuAOxSRy.js} +3 -3
  56. package/dist/{process-output-BSsWzfnY.js → process-output-CTQmCUD0.js} +2 -2
  57. package/dist/purify.es-DMv5zIkJ.js +866 -0
  58. package/dist/{quadrantDiagram-AXDQQJYC--kqzFC3w.js → quadrantDiagram-AXDQQJYC-keLfFx9f.js} +1 -1
  59. package/dist/{railroadDiagram-O6MQD6OU-D6eOFr6Z.js → railroadDiagram-O6MQD6OU-f-sfFoX9.js} +3 -3
  60. package/dist/{requirementDiagram-BXWQKSXE-CHYsMgDR.js → requirementDiagram-BXWQKSXE-BICupkaf.js} +11 -11
  61. package/dist/{reveal-component-b8UCRAp7.js → reveal-component-BJG6YrPy.js} +3 -3
  62. package/dist/{sankeyDiagram-P5KCCOFB-BdzhT0BM.js → sankeyDiagram-P5KCCOFB-Bh4EsJox.js} +1 -1
  63. package/dist/{sequenceDiagram-WJ2MYXX4-BPAknhBp.js → sequenceDiagram-WJ2MYXX4-DBFRnNGU.js} +4 -4
  64. package/dist/{stateDiagram-D77RDMKH-Cq249IQ4.js → stateDiagram-D77RDMKH-CUP7QQW8.js} +13 -13
  65. package/dist/stateDiagram-v2-MP3YSRHH-B5mAItmH.js +30 -0
  66. package/dist/{swimlanes-42K2YHIH-Bh_S_HKD.js → swimlanes-42K2YHIH-BtIMdg7b.js} +10 -10
  67. package/dist/swimlanesDiagram-VR7AAH4N-CGnrrHpw.js +30 -0
  68. package/dist/{timeline-definition-24CTP7MA-ByNMgBE7.js → timeline-definition-24CTP7MA-UwihiSH2.js} +3 -3
  69. package/dist/{vennDiagram-4TSXK5OY-DY8CySdO.js → vennDiagram-4TSXK5OY-D5LNVIRI.js} +3 -3
  70. package/dist/{wardleyDiagram-VM6X3IG4-DYC1AFni.js → wardleyDiagram-VM6X3IG4-BwKf-b0_.js} +3 -3
  71. package/dist/{xychartDiagram-S5SC5T6Z-Df8LLnuY.js → xychartDiagram-S5SC5T6Z-Cg_vyuW2.js} +5 -5
  72. package/package.json +2 -2
  73. package/src/components/chat/tool-call/__tests__/tool-result.test.tsx +56 -0
  74. package/src/components/chat/tool-call/tool-result.tsx +3 -3
  75. package/src/plugins/impl/CheckboxPlugin.tsx +1 -1
  76. package/src/plugins/impl/DatePickerPlugin.tsx +5 -3
  77. package/src/plugins/impl/DateRangePlugin.tsx +5 -3
  78. package/src/plugins/impl/DateTimePickerPlugin.tsx +5 -3
  79. package/src/plugins/impl/DropdownPlugin.tsx +1 -1
  80. package/src/plugins/impl/MultiselectPlugin.tsx +1 -1
  81. package/src/plugins/impl/NumberPlugin.tsx +1 -1
  82. package/src/plugins/impl/RadioPlugin.tsx +5 -1
  83. package/src/plugins/impl/RangeSliderPlugin.tsx +1 -1
  84. package/src/plugins/impl/SearchableSelect.tsx +1 -1
  85. package/src/plugins/impl/SliderPlugin.tsx +1 -1
  86. package/src/plugins/impl/SwitchPlugin.tsx +6 -1
  87. package/src/plugins/impl/__tests__/widget-labels.test.tsx +122 -0
  88. package/src/plugins/impl/chat/ChatPlugin.tsx +1 -1
  89. package/src/plugins/impl/common/labeled.tsx +9 -3
  90. package/dist/classDiagram-ZZMXUADV-BwYhrSEX.js +0 -30
  91. package/dist/classDiagram-v2-VYDZK3BY-HecM04TM.js +0 -30
  92. package/dist/flowDiagram-HODETNUW-DgcjSdPV.js +0 -16
  93. package/dist/purify.es-DgKyQviY.js +0 -805
  94. package/dist/stateDiagram-v2-MP3YSRHH-Dk5QgdXF.js +0 -30
  95. package/dist/swimlanesDiagram-VR7AAH4N-CbztusY8.js +0 -30
package/dist/main.js CHANGED
@@ -3,20 +3,20 @@ import { _ as a, c as o, f as s, g as c, h as l, i as u, l as d, m as f, n as p,
3
3
  import { t as y } from "./react-ofJbxM4x.js";
4
4
  import { t as b } from "./compiler-runtime-Cj8ZWiNS.js";
5
5
  import { i as x, n as S, r as C, t as w } from "./copy-icon-qmRg_VTX.js";
6
- import { C as T, F as E, G as D, I as O, J as k, K as A, L as j, P as M, R as N, X as P, Z as F, _ as I, a as L, b as R, g as ee, i as z, j as te, k as B, n as ne, o as re, q as ie, v as ae, y as oe } from "./html-to-image-BZBwkkDG.js";
6
+ import { C as T, F as E, G as D, I as O, J as k, K as A, L as j, P as M, R as N, X as P, Z as F, _ as I, a as L, b as R, g as ee, i as z, j as te, k as B, n as ne, o as re, q as ie, v as ae, y as oe } from "./html-to-image-Btymxku9.js";
7
7
  import { a as se, f as ce, g as V, i as le, n as ue, o as de, p as fe, r as pe, t as me } from "./tooltip-Bi36DgYh.js";
8
- import { $ as he, $t as ge, B as _e, Bt as ve, C as ye, Ct as be, D as xe, Dt as Se, Et as Ce, F as we, G as Te, Gt as Ee, Ht as De, I as Oe, J as ke, Jt as Ae, Kt as je, L as Me, O as Ne, Ot as Pe, P as Fe, Pt as Ie, Q as Le, Qt as Re, Rt as ze, S as Be, St as Ve, T as He, Tt as Ue, U as We, W as Ge, Wt as Ke, bt as qe, c as Je, cn as Ye, ct as Xe, d as Ze, dn as Qe, dt as $e, en as et, f as tt, fn as nt, ft as rt, g as it, gt as at, h as ot, hn as st, k as ct, l as lt, ln as ut, m as dt, mn as ft, n as pt, o as mt, on as ht, ot as gt, p as _t, q as vt, qt as yt, r as bt, rn as xt, rt as St, sn as Ct, st as wt, tn as Tt, u as Et, v as Dt, w as Ot, wt as kt, zt as At } from "./cells-5ppES-Un.js";
8
+ import { $ as he, $t as ge, B as _e, Bt as ve, C as ye, Ct as be, D as xe, Dt as Se, Et as Ce, F as we, G as Te, Gt as Ee, Ht as De, I as Oe, J as ke, Jt as Ae, Kt as je, L as Me, O as Ne, Ot as Pe, P as Fe, Pt as Ie, Q as Le, Qt as Re, Rt as ze, S as Be, St as Ve, T as He, Tt as Ue, U as We, W as Ge, Wt as Ke, bt as qe, c as Je, cn as Ye, ct as Xe, d as Ze, dn as Qe, dt as $e, en as et, f as tt, fn as nt, ft as rt, g as it, gt as at, h as ot, hn as st, k as ct, l as lt, ln as ut, m as dt, mn as ft, n as pt, o as mt, on as ht, ot as gt, p as _t, q as vt, qt as yt, r as bt, rn as xt, rt as St, sn as Ct, st as wt, tn as Tt, u as Et, v as Dt, w as Ot, wt as kt, zt as At } from "./cells-BUbzm9iX.js";
9
9
  import { D as jt, E as Mt, O as Nt, S as Pt, T as Ft, _ as It, a as Lt, c as Rt, d as zt, f as Bt, g as Vt, h as Ht, i as Ut, l as Wt, m as Gt, n as Kt, o as qt, p as Jt, r as Yt, s as Xt, t as Zt, u as Qt, v as $t, w as en, x as tn, y as nn } from "./spec-BSchR9UD.js";
10
- import { $t as rn, A as an, At as on, B as sn, Bt as cn, C as ln, Ct as un, D as dn, Dt as fn, E as pn, Et as mn, F as hn, Ft as gn, G as _n, Gt as vn, H as yn, Ht as bn, I as xn, It as Sn, J as Cn, Jt as wn, K as Tn, Kt as En, L as Dn, Lt as On, M as kn, Mt as An, N as jn, Nt as Mn, O as Nn, Ot as Pn, P as Fn, Pt as In, Qt as Ln, R as Rn, Rt as zn, S as Bn, St as Vn, T as Hn, Tt as Un, U as Wn, Ut as Gn, V as Kn, Vt as qn, W as Jn, Wt as Yn, X as Xn, Xt as Zn, Y as Qn, Yt as $n, Zt as er, _ as tr, _t as nr, an as rr, at as ir, b as ar, c as or, cn as sr, ct as cr, d as lr, dn as ur, dt as dr, en as fr, et as pr, f as mr, fn as hr, ft as gr, g as _r, gt as vr, h as yr, hn as br, ht as xr, in as Sr, it as Cr, j as wr, jt as Tr, k as Er, kt as Dr, ln as Or, lt as kr, m as Ar, mn as jr, mt as Mr, nn as Nr, nt as Pr, ot as Fr, p as Ir, pn as Lr, pt as Rr, q as zr, qt as Br, r as Vr, rn as Hr, rt as Ur, sn as Wr, st as Gr, t as Kr, tn as qr, tt as Jr, u as Yr, un as Xr, ut as Zr, v as Qr, vt as $r, w as ei, wt as ti, x as ni, y as ri, yt as ii, z as ai, zt as oi } from "./common-CB96Vrh1.js";
10
+ import { $t as rn, A as an, At as on, B as sn, Bt as cn, C as ln, Ct as un, D as dn, Dt as fn, E as pn, Et as mn, F as hn, Ft as gn, G as _n, Gt as vn, H as yn, Ht as bn, I as xn, It as Sn, J as Cn, Jt as wn, K as Tn, Kt as En, L as Dn, Lt as On, M as kn, Mt as An, N as jn, Nt as Mn, O as Nn, Ot as Pn, P as Fn, Pt as In, Qt as Ln, R as Rn, Rt as zn, S as Bn, St as Vn, T as Hn, Tt as Un, U as Wn, Ut as Gn, V as Kn, Vt as qn, W as Jn, Wt as Yn, X as Xn, Xt as Zn, Y as Qn, Yt as $n, Zt as er, _ as tr, _t as nr, an as rr, at as ir, b as ar, c as or, cn as sr, ct as cr, d as lr, dn as ur, dt as dr, en as fr, et as pr, f as mr, fn as hr, ft as gr, g as _r, gt as vr, h as yr, hn as br, ht as xr, in as Sr, it as Cr, j as wr, jt as Tr, k as Er, kt as Dr, ln as Or, lt as kr, m as Ar, mn as jr, mt as Mr, nn as Nr, nt as Pr, ot as Fr, p as Ir, pn as Lr, pt as Rr, q as zr, qt as Br, r as Vr, rn as Hr, rt as Ur, sn as Wr, st as Gr, t as Kr, tn as qr, tt as Jr, u as Yr, un as Xr, ut as Zr, v as Qr, vt as $r, w as ei, wt as ti, x as ni, y as ri, yt as ii, z as ai, zt as oi } from "./common-DYbUXmkS.js";
11
11
  import { c as si, i as ci, n as li, o as ui, t as di } from "./useLifecycle-3vGhRa1o.js";
12
12
  import { t as fi } from "./check-DGZ74tV2.js";
13
13
  import { A as pi, C as mi, D as hi, E as gi, M as _i, O as vi, S as yi, T as bi, a as xi, b as Si, c as Ci, i as wi, k as Ti, l as Ei, n as Di, o as Oi, r as ki, s as Ai, t as ji, w as Mi, x as Ni } from "./select-BcObMjGz.js";
14
14
  import { B as Pi, C as Fi, J as Ii, Mt as Li, Nt as Ri, S as zi, Vt as Bi, W as Vi, _ as Hi, a as Ui, at as Wi, c as Gi, dt as Ki, f as qi, fn as Ji, g as Yi, h as Xi, i as Zi, it as Qi, m as $i, n as ea, p as ta, pn as na, q as ra, r as ia, s as aa, t as oa, v as sa, vt as ca, x as la, z as ua } from "./dropdown-menu-BaqM0t4N.js";
15
15
  import { C as da, S as fa, T as pa, _ as ma, c as ha, d as ga, f as _a, g as va, h as ya, m as ba, u as xa, x as Sa, y as Ca } from "./toDate-DWVp6uE1.js";
16
- import { a as wa, c as Ta, d as Ea, f as Da, i as Oa, l as ka, n as Aa, o as ja, r as Ma, s as Na, t as Pa } from "./process-output-BSsWzfnY.js";
16
+ import { a as wa, c as Ta, d as Ea, f as Da, i as Oa, l as ka, n as Aa, o as ja, r as Ma, s as Na, t as Pa } from "./process-output-CTQmCUD0.js";
17
17
  import { a as Fa, c as Ia, d as La, i as Ra, l as za, r as Ba, u as Va } from "./glide-utils-CzzWU59p.js";
18
- import { n as Ha, t as Ua } from "./ErrorBoundary-B7xAB7tc.js";
19
- import { n as Wa, t as Ga } from "./globals-DM822_E_.js";
18
+ import { n as Ha, t as Ua } from "./ErrorBoundary-Siz68Nx-.js";
19
+ import { n as Wa, t as Ga } from "./globals-BfBZlRMW.js";
20
20
  import { t as Ka } from "./react-dom-BUgJ-ab_.js";
21
21
  import { t as qa } from "./jsx-runtime-DgDPJV9S.js";
22
22
  import { B as Ja, C as H, Ct as Ya, D as Xa, E as Za, Et as Qa, F as U, G as $a, H as eo, I as to, L as no, M as W, N as ro, O as io, P as ao, Q as oo, R as so, S as G, St as co, Tt as lo, U as uo, W as fo, Y as po, Z as mo, _ as ho, a as go, b as _o, bt as vo, c as yo, d as bo, dt as xo, f as So, g as Co, gt as wo, h as To, i as Eo, j as K, k as Do, l as Oo, m as ko, n as Ao, o as jo, p as Mo, r as No, s as Po, u as Fo, v as Io, vt as Lo, w as Ro, wt as zo, x as Bo, xt as Vo, y as Ho, yt as Uo } from "./use-restore-focus-ZgG5Br63.js";
@@ -39,7 +39,7 @@ import { t as Ns } from "./useAsyncData-BD7NLQ3_.js";
39
39
  import { i as Ps, n as Fs, r as Is } from "./formats-Q9gwlLyD.js";
40
40
  import { M as Ls, N as Rs } from "./vega-loader.browser-DNST6uVf.js";
41
41
  import { a as zs, n as Bs } from "./loader-C9OUkMrj.js";
42
- import { c as Vs, d as Hs, i as Us, l as Ws, o as Gs, s as Ks, t as qs, u as Js } from "./code-visibility-BKuHUlSp.js";
42
+ import { c as Vs, d as Hs, i as Us, l as Ws, o as Gs, s as Ks, t as qs, u as Js } from "./code-visibility-CP3A3ANH.js";
43
43
  import { t as Ys } from "./useDeepCompareMemoize-CawMGSRU.js";
44
44
  import { t as Xs } from "./esm-BElI3qKH.js";
45
45
  //#region ../node_modules/.pnpm/iconify-icon@2.3.0/node_modules/iconify-icon/dist/iconify-icon.mjs
@@ -9840,9 +9840,9 @@ function NS(e) {
9840
9840
  //#endregion
9841
9841
  //#region src/plugins/impl/common/labeled.tsx
9842
9842
  var PS = (e) => {
9843
- let t = (0, X.c)(27), { label: n, children: r, align: i, className: a, labelClassName: o, fullWidth: s, id: c } = e, u = i === void 0 ? "left" : i;
9844
- if (s && (u = "top"), !n) {
9845
- if (u === "top") {
9843
+ let t = (0, X.c)(28), { label: n, children: r, align: i, className: a, labelClassName: o, labelId: s, fullWidth: c, controlId: u } = e, d = i === void 0 ? "left" : i;
9844
+ if (c && (d = "top"), !n) {
9845
+ if (d === "top") {
9846
9846
  let e;
9847
9847
  return t[0] !== r || t[1] !== a ? (e = /* @__PURE__ */ (0, Y.jsx)("div", {
9848
9848
  className: a,
@@ -9857,27 +9857,28 @@ var PS = (e) => {
9857
9857
  children: r
9858
9858
  }), t[5] = r, t[6] = e, t[7] = n) : n = t[7], n;
9859
9859
  }
9860
- let d;
9861
- t[8] === o ? d = t[9] : (d = l("font-prose", o), t[8] = o, t[9] = d);
9862
9860
  let f;
9863
- t[10] === n ? f = t[11] : (f = E({ html: n }), t[10] = n, t[11] = f);
9861
+ t[8] === o ? f = t[9] : (f = l("font-prose", o), t[8] = o, t[9] = f);
9864
9862
  let p;
9865
- t[12] !== c || t[13] !== d || t[14] !== f ? (p = /* @__PURE__ */ (0, Y.jsx)("div", {
9863
+ t[10] === n ? p = t[11] : (p = E({ html: n }), t[10] = n, t[11] = p);
9864
+ let m;
9865
+ t[12] !== u || t[13] !== s || t[14] !== f || t[15] !== p ? (m = /* @__PURE__ */ (0, Y.jsx)("div", {
9866
9866
  part: "label",
9867
9867
  className: "inline-flex items-center m-0 p-0",
9868
9868
  children: /* @__PURE__ */ (0, Y.jsx)(Zo, {
9869
- htmlFor: c,
9870
- className: d,
9871
- children: f
9869
+ id: s,
9870
+ htmlFor: u,
9871
+ className: f,
9872
+ children: p
9872
9873
  })
9873
- }), t[12] = c, t[13] = d, t[14] = f, t[15] = p) : p = t[15];
9874
- let m = p, h = u === "top" && "flex-col items-start gap-y-2", g = u === "left" && "flex-row items-center gap-x-1.5 pr-2", _ = u === "right" && "flex-row-reverse items-center gap-x-1.5 pr-2", v = s && "block space-y-2", y = !s && "w-fit", b;
9875
- t[16] !== a || t[17] !== h || t[18] !== g || t[19] !== _ || t[20] !== v || t[21] !== y ? (b = l("mo-label inline-flex", "pt-0 pb-0 pl-0", h, g, _, v, y, a), t[16] = a, t[17] = h, t[18] = g, t[19] = _, t[20] = v, t[21] = y, t[22] = b) : b = t[22];
9876
- let x;
9877
- return t[23] !== r || t[24] !== m || t[25] !== b ? (x = /* @__PURE__ */ (0, Y.jsxs)("div", {
9878
- className: b,
9879
- children: [m, r]
9880
- }), t[23] = r, t[24] = m, t[25] = b, t[26] = x) : x = t[26], x;
9874
+ }), t[12] = u, t[13] = s, t[14] = f, t[15] = p, t[16] = m) : m = t[16];
9875
+ let h = m, g = d === "top" && "flex-col items-start gap-y-2", _ = d === "left" && "flex-row items-center gap-x-1.5 pr-2", v = d === "right" && "flex-row-reverse items-center gap-x-1.5 pr-2", y = c && "block space-y-2", b = !c && "w-fit", x;
9876
+ t[17] !== a || t[18] !== g || t[19] !== _ || t[20] !== v || t[21] !== y || t[22] !== b ? (x = l("mo-label inline-flex", "pt-0 pb-0 pl-0", g, _, v, y, b, a), t[17] = a, t[18] = g, t[19] = _, t[20] = v, t[21] = y, t[22] = b, t[23] = x) : x = t[23];
9877
+ let S;
9878
+ return t[24] !== r || t[25] !== h || t[26] !== x ? (S = /* @__PURE__ */ (0, Y.jsxs)("div", {
9879
+ className: x,
9880
+ children: [h, r]
9881
+ }), t[24] = r, t[25] = h, t[26] = x, t[27] = S) : S = t[27], S;
9881
9882
  }, FS = class {
9882
9883
  tagName = "marimo-checkbox";
9883
9884
  validator = W({
@@ -9905,7 +9906,7 @@ var PS = (e) => {
9905
9906
  return t[7] !== i.label || t[8] !== s || t[9] !== c ? (l = /* @__PURE__ */ (0, Y.jsx)(PS, {
9906
9907
  label: i.label,
9907
9908
  align: "right",
9908
- id: s,
9909
+ controlId: s,
9909
9910
  children: c
9910
9911
  }), t[7] = i.label, t[8] = s, t[9] = c, t[10] = l) : l = t[10], l;
9911
9912
  }, LS = class {
@@ -9991,7 +9992,7 @@ var PS = (e) => {
9991
9992
  output: t
9992
9993
  };
9993
9994
  } };
9994
- } }, BS = J.lazy(() => import("./chat-ui-Dv2V95k6.js").then((e) => ({ default: e.Chatbot }))), VS = G(W({
9995
+ } }, BS = J.lazy(() => import("./chat-ui-DJpsSmlB.js").then((e) => ({ default: e.Chatbot }))), VS = G(W({
9995
9996
  id: U(),
9996
9997
  role: Io([
9997
9998
  "system",
@@ -10000,7 +10001,7 @@ var PS = (e) => {
10000
10001
  ]),
10001
10002
  content: U().nullable(),
10002
10003
  parts: G(Bo()),
10003
- metadata: Bo().nullable()
10004
+ metadata: Bo().optional()
10004
10005
  })), HS = W({
10005
10006
  max_tokens: K().nullable(),
10006
10007
  temperature: K().nullable(),
@@ -10457,7 +10458,7 @@ function RC(e, t) {
10457
10458
  }
10458
10459
  //#endregion
10459
10460
  //#region src/plugins/impl/DataEditorPlugin.tsx
10460
- var zC = J.lazy(() => import("./glide-data-editor-28V-XtsS.js").then((e) => e.t)), BC = xS("marimo-data-editor", { cssStyles: [WS] }).withData(W({
10461
+ var zC = J.lazy(() => import("./glide-data-editor-CrSi-w0o.js").then((e) => e.t)), BC = xS("marimo-data-editor", { cssStyles: [WS] }).withData(W({
10461
10462
  initialValue: W({ edits: G(W({
10462
10463
  rowIdx: K(),
10463
10464
  columnId: U(),
@@ -10876,7 +10877,7 @@ var uw = class {
10876
10877
  let m;
10877
10878
  return t[12] !== o || t[13] !== l || t[14] !== r || t[15] !== p ? (m = /* @__PURE__ */ (0, Y.jsx)(PS, {
10878
10879
  label: r,
10879
- id: l,
10880
+ controlId: l,
10880
10881
  fullWidth: o,
10881
10882
  children: p
10882
10883
  }), t[12] = o, t[13] = l, t[14] = r, t[15] = p, t[16] = m) : m = t[16], m;
@@ -15141,34 +15142,36 @@ var UE = class {
15141
15142
  });
15142
15143
  }
15143
15144
  }, WE = (e) => {
15144
- let t = (0, X.c)(19), n;
15145
- t[0] === e ? n = t[1] : (n = (t) => {
15145
+ let t = (0, X.c)(21), n = (0, J.useId)(), r;
15146
+ t[0] === e ? r = t[1] : (r = (t) => {
15146
15147
  if (!t) return;
15147
15148
  let n = t.toString();
15148
15149
  e.setValue(n);
15149
- }, t[0] = e, t[1] = n);
15150
- let r = n, i = e.label, a = e.fullWidth, o;
15151
- t[2] === e.value ? o = t[3] : (o = qr(e.value), t[2] = e.value, t[3] = o);
15152
- let s = e.label ?? "date picker", c;
15153
- t[4] === e.start ? c = t[5] : (c = qr(e.start), t[4] = e.start, t[5] = c);
15154
- let l;
15155
- t[6] === e.stop ? l = t[7] : (l = qr(e.stop), t[6] = e.stop, t[7] = l);
15156
- let u;
15157
- t[8] !== r || t[9] !== e.disabled || t[10] !== o || t[11] !== s || t[12] !== c || t[13] !== l ? (u = /* @__PURE__ */ (0, Y.jsx)(_n, {
15150
+ }, t[0] = e, t[1] = r);
15151
+ let i = r, a = e.label, o = e.fullWidth, s;
15152
+ t[2] === e.value ? s = t[3] : (s = qr(e.value), t[2] = e.value, t[3] = s);
15153
+ let c = e.label ? n : void 0, l = e.label ? void 0 : "date picker", u;
15154
+ t[4] === e.start ? u = t[5] : (u = qr(e.start), t[4] = e.start, t[5] = u);
15155
+ let d;
15156
+ t[6] === e.stop ? d = t[7] : (d = qr(e.stop), t[6] = e.stop, t[7] = d);
15157
+ let f;
15158
+ t[8] !== i || t[9] !== e.disabled || t[10] !== s || t[11] !== c || t[12] !== l || t[13] !== u || t[14] !== d ? (f = /* @__PURE__ */ (0, Y.jsx)(_n, {
15158
15159
  granularity: "day",
15159
- value: o,
15160
- onChange: r,
15161
- "aria-label": s,
15162
- minValue: c,
15163
- maxValue: l,
15160
+ value: s,
15161
+ onChange: i,
15162
+ "aria-labelledby": c,
15163
+ "aria-label": l,
15164
+ minValue: u,
15165
+ maxValue: d,
15164
15166
  isDisabled: e.disabled
15165
- }), t[8] = r, t[9] = e.disabled, t[10] = o, t[11] = s, t[12] = c, t[13] = l, t[14] = u) : u = t[14];
15166
- let d;
15167
- return t[15] !== e.fullWidth || t[16] !== e.label || t[17] !== u ? (d = /* @__PURE__ */ (0, Y.jsx)(PS, {
15168
- label: i,
15169
- fullWidth: a,
15170
- children: u
15171
- }), t[15] = e.fullWidth, t[16] = e.label, t[17] = u, t[18] = d) : d = t[18], d;
15167
+ }), t[8] = i, t[9] = e.disabled, t[10] = s, t[11] = c, t[12] = l, t[13] = u, t[14] = d, t[15] = f) : f = t[15];
15168
+ let p;
15169
+ return t[16] !== n || t[17] !== e.fullWidth || t[18] !== e.label || t[19] !== f ? (p = /* @__PURE__ */ (0, Y.jsx)(PS, {
15170
+ labelId: n,
15171
+ label: a,
15172
+ fullWidth: o,
15173
+ children: f
15174
+ }), t[16] = n, t[17] = e.fullWidth, t[18] = e.label, t[19] = f, t[20] = p) : p = t[20], p;
15172
15175
  }, GE = class {
15173
15176
  tagName = "marimo-date-range";
15174
15177
  validator = W({
@@ -15188,41 +15191,43 @@ var UE = class {
15188
15191
  });
15189
15192
  }
15190
15193
  }, KE = (e) => {
15191
- let t = (0, X.c)(24), n;
15192
- t[0] === e ? n = t[1] : (n = (t) => {
15194
+ let t = (0, X.c)(26), n = (0, J.useId)(), r;
15195
+ t[0] === e ? r = t[1] : (r = (t) => {
15193
15196
  if (!t) return;
15194
15197
  let { start: n, end: r } = t, i = [n.toString(), r.toString()];
15195
15198
  e.setValue(i);
15196
- }, t[0] = e, t[1] = n);
15197
- let r = n, i = e.label, a = e.fullWidth, o;
15198
- t[2] === e.value[0] ? o = t[3] : (o = qr(e.value[0]), t[2] = e.value[0], t[3] = o);
15199
- let s;
15200
- t[4] === e.value[1] ? s = t[5] : (s = qr(e.value[1]), t[4] = e.value[1], t[5] = s);
15199
+ }, t[0] = e, t[1] = r);
15200
+ let i = r, a = e.label, o = e.fullWidth, s;
15201
+ t[2] === e.value[0] ? s = t[3] : (s = qr(e.value[0]), t[2] = e.value[0], t[3] = s);
15201
15202
  let c;
15202
- t[6] !== o || t[7] !== s ? (c = {
15203
- start: o,
15204
- end: s
15205
- }, t[6] = o, t[7] = s, t[8] = c) : c = t[8];
15206
- let l = e.label ?? "date range picker", u;
15207
- t[9] === e.start ? u = t[10] : (u = qr(e.start), t[9] = e.start, t[10] = u);
15208
- let d;
15209
- t[11] === e.stop ? d = t[12] : (d = qr(e.stop), t[11] = e.stop, t[12] = d);
15210
- let f;
15211
- t[13] !== r || t[14] !== e.disabled || t[15] !== c || t[16] !== l || t[17] !== u || t[18] !== d ? (f = /* @__PURE__ */ (0, Y.jsx)(Tn, {
15203
+ t[4] === e.value[1] ? c = t[5] : (c = qr(e.value[1]), t[4] = e.value[1], t[5] = c);
15204
+ let l;
15205
+ t[6] !== s || t[7] !== c ? (l = {
15206
+ start: s,
15207
+ end: c
15208
+ }, t[6] = s, t[7] = c, t[8] = l) : l = t[8];
15209
+ let u = e.label ? n : void 0, d = e.label ? void 0 : "date range picker", f;
15210
+ t[9] === e.start ? f = t[10] : (f = qr(e.start), t[9] = e.start, t[10] = f);
15211
+ let p;
15212
+ t[11] === e.stop ? p = t[12] : (p = qr(e.stop), t[11] = e.stop, t[12] = p);
15213
+ let m;
15214
+ t[13] !== i || t[14] !== e.disabled || t[15] !== l || t[16] !== u || t[17] !== d || t[18] !== f || t[19] !== p ? (m = /* @__PURE__ */ (0, Y.jsx)(Tn, {
15212
15215
  granularity: "day",
15213
- value: c,
15214
- onChange: r,
15215
- "aria-label": l,
15216
- minValue: u,
15217
- maxValue: d,
15216
+ value: l,
15217
+ onChange: i,
15218
+ "aria-labelledby": u,
15219
+ "aria-label": d,
15220
+ minValue: f,
15221
+ maxValue: p,
15218
15222
  isDisabled: e.disabled
15219
- }), t[13] = r, t[14] = e.disabled, t[15] = c, t[16] = l, t[17] = u, t[18] = d, t[19] = f) : f = t[19];
15220
- let p;
15221
- return t[20] !== e.fullWidth || t[21] !== e.label || t[22] !== f ? (p = /* @__PURE__ */ (0, Y.jsx)(PS, {
15222
- label: i,
15223
- fullWidth: a,
15224
- children: f
15225
- }), t[20] = e.fullWidth, t[21] = e.label, t[22] = f, t[23] = p) : p = t[23], p;
15223
+ }), t[13] = i, t[14] = e.disabled, t[15] = l, t[16] = u, t[17] = d, t[18] = f, t[19] = p, t[20] = m) : m = t[20];
15224
+ let h;
15225
+ return t[21] !== n || t[22] !== e.fullWidth || t[23] !== e.label || t[24] !== m ? (h = /* @__PURE__ */ (0, Y.jsx)(PS, {
15226
+ labelId: n,
15227
+ label: a,
15228
+ fullWidth: o,
15229
+ children: m
15230
+ }), t[21] = n, t[22] = e.fullWidth, t[23] = e.label, t[24] = m, t[25] = h) : h = t[25], h;
15226
15231
  }, qE = class {
15227
15232
  tagName = "marimo-datetime";
15228
15233
  validator = W({
@@ -15247,34 +15252,36 @@ var UE = class {
15247
15252
  });
15248
15253
  }
15249
15254
  }, JE = (e) => {
15250
- let t = (0, X.c)(20), n;
15251
- t[0] === e ? n = t[1] : (n = (t) => {
15255
+ let t = (0, X.c)(22), n = (0, J.useId)(), r;
15256
+ t[0] === e ? r = t[1] : (r = (t) => {
15252
15257
  if (!t) return;
15253
15258
  let n = t.toString();
15254
15259
  e.setValue(n);
15255
- }, t[0] = e, t[1] = n);
15256
- let r = n, i;
15257
- t[2] === e.value ? i = t[3] : (i = e.value ? fr(e.value) : void 0, t[2] = e.value, t[3] = i);
15258
- let a = i, o = e.label, s = e.fullWidth, c = e.precision, l = e.label ?? "date time picker", u;
15259
- t[4] === e.start ? u = t[5] : (u = fr(e.start), t[4] = e.start, t[5] = u);
15260
- let d;
15261
- t[6] === e.stop ? d = t[7] : (d = fr(e.stop), t[6] = e.stop, t[7] = d);
15262
- let f;
15263
- t[8] !== r || t[9] !== a || t[10] !== e.disabled || t[11] !== e.precision || t[12] !== l || t[13] !== u || t[14] !== d ? (f = /* @__PURE__ */ (0, Y.jsx)(_n, {
15264
- granularity: c,
15265
- value: a,
15266
- onChange: r,
15267
- "aria-label": l,
15268
- minValue: u,
15269
- maxValue: d,
15270
- isDisabled: e.disabled
15271
- }), t[8] = r, t[9] = a, t[10] = e.disabled, t[11] = e.precision, t[12] = l, t[13] = u, t[14] = d, t[15] = f) : f = t[15];
15260
+ }, t[0] = e, t[1] = r);
15261
+ let i = r, a;
15262
+ t[2] === e.value ? a = t[3] : (a = e.value ? fr(e.value) : void 0, t[2] = e.value, t[3] = a);
15263
+ let o = a, s = e.label, c = e.fullWidth, l = e.precision, u = e.label ? n : void 0, d = e.label ? void 0 : "date time picker", f;
15264
+ t[4] === e.start ? f = t[5] : (f = fr(e.start), t[4] = e.start, t[5] = f);
15272
15265
  let p;
15273
- return t[16] !== e.fullWidth || t[17] !== e.label || t[18] !== f ? (p = /* @__PURE__ */ (0, Y.jsx)(PS, {
15274
- label: o,
15275
- fullWidth: s,
15276
- children: f
15277
- }), t[16] = e.fullWidth, t[17] = e.label, t[18] = f, t[19] = p) : p = t[19], p;
15266
+ t[6] === e.stop ? p = t[7] : (p = fr(e.stop), t[6] = e.stop, t[7] = p);
15267
+ let m;
15268
+ t[8] !== i || t[9] !== o || t[10] !== e.disabled || t[11] !== e.precision || t[12] !== u || t[13] !== d || t[14] !== f || t[15] !== p ? (m = /* @__PURE__ */ (0, Y.jsx)(_n, {
15269
+ granularity: l,
15270
+ value: o,
15271
+ onChange: i,
15272
+ "aria-labelledby": u,
15273
+ "aria-label": d,
15274
+ minValue: f,
15275
+ maxValue: p,
15276
+ isDisabled: e.disabled
15277
+ }), t[8] = i, t[9] = o, t[10] = e.disabled, t[11] = e.precision, t[12] = u, t[13] = d, t[14] = f, t[15] = p, t[16] = m) : m = t[16];
15278
+ let h;
15279
+ return t[17] !== n || t[18] !== e.fullWidth || t[19] !== e.label || t[20] !== m ? (h = /* @__PURE__ */ (0, Y.jsx)(PS, {
15280
+ labelId: n,
15281
+ label: s,
15282
+ fullWidth: c,
15283
+ children: m
15284
+ }), t[17] = n, t[18] = e.fullWidth, t[19] = e.label, t[20] = m, t[21] = h) : h = t[21], h;
15278
15285
  }, YE = class {
15279
15286
  tagName = "marimo-dict";
15280
15287
  validator = W({
@@ -15330,7 +15337,7 @@ var UE = class {
15330
15337
  let g;
15331
15338
  return t[15] !== s || t[16] !== u || t[17] !== a || t[18] !== h ? (g = /* @__PURE__ */ (0, Y.jsx)(PS, {
15332
15339
  label: a,
15333
- id: u,
15340
+ controlId: u,
15334
15341
  fullWidth: s,
15335
15342
  children: h
15336
15343
  }), t[15] = s, t[16] = u, t[17] = a, t[18] = h, t[19] = g) : g = t[19], g;
@@ -15405,7 +15412,7 @@ var $E = class {
15405
15412
  let v;
15406
15413
  return t[20] !== s || t[21] !== u || t[22] !== n || t[23] !== _ ? (v = /* @__PURE__ */ (0, Y.jsx)(PS, {
15407
15414
  label: n,
15408
- id: u,
15415
+ controlId: u,
15409
15416
  fullWidth: s,
15410
15417
  children: _
15411
15418
  }), t[20] = s, t[21] = u, t[22] = n, t[23] = _, t[24] = v) : v = t[24], v;
@@ -20158,7 +20165,7 @@ var yA = (e) => {
20158
20165
  let S;
20159
20166
  return t[20] !== n || t[21] !== e.fullWidth || t[22] !== e.label || t[23] !== x ? (S = /* @__PURE__ */ (0, Y.jsx)(PS, {
20160
20167
  label: f,
20161
- id: p,
20168
+ controlId: p,
20162
20169
  fullWidth: m,
20163
20170
  children: x
20164
20171
  }), t[20] = n, t[21] = e.fullWidth, t[22] = e.label, t[23] = x, t[24] = S) : S = t[24], S;
@@ -20828,7 +20835,7 @@ var yj = class {
20828
20835
  let p;
20829
20836
  return t[13] !== n || t[14] !== e.label || t[15] !== i || t[16] !== f ? (p = /* @__PURE__ */ (0, Y.jsx)(PS, {
20830
20837
  label: r,
20831
- id: n,
20838
+ controlId: n,
20832
20839
  align: i,
20833
20840
  children: f
20834
20841
  }), t[13] = n, t[14] = e.label, t[15] = i, t[16] = f, t[17] = p) : p = t[17], p;
@@ -21022,7 +21029,7 @@ var Sj = class {
21022
21029
  let I;
21023
21030
  return t[43] !== f || t[44] !== h || t[45] !== n || t[46] !== F || t[47] !== x || t[48] !== C ? (I = /* @__PURE__ */ (0, Y.jsx)(PS, {
21024
21031
  label: n,
21025
- id: h,
21032
+ controlId: h,
21026
21033
  align: x,
21027
21034
  className: C,
21028
21035
  fullWidth: f,
@@ -21333,7 +21340,7 @@ var Pj = (e) => {
21333
21340
  let ne;
21334
21341
  return t[57] !== p || t[58] !== _ || t[59] !== n || t[60] !== B || t[61] !== k || t[62] !== j ? (ne = /* @__PURE__ */ (0, Y.jsx)(PS, {
21335
21342
  label: n,
21336
- id: _,
21343
+ controlId: _,
21337
21344
  align: k,
21338
21345
  fullWidth: p,
21339
21346
  className: j,
@@ -21363,7 +21370,7 @@ var Pj = (e) => {
21363
21370
  return t[5] !== i.label || t[6] !== a || t[7] !== o ? (s = /* @__PURE__ */ (0, Y.jsx)(PS, {
21364
21371
  label: i.label,
21365
21372
  align: "right",
21366
- id: a,
21373
+ controlId: a,
21367
21374
  labelClassName: "ml-1",
21368
21375
  children: o
21369
21376
  }), t[5] = i.label, t[6] = a, t[7] = o, t[8] = s) : s = t[8], s;
@@ -21954,7 +21961,7 @@ var Qj = class {
21954
21961
  themeVariables: e.data.theme_variables
21955
21962
  });
21956
21963
  }
21957
- }, _M = (0, J.lazy)(() => import("./mermaid-Dfvntf3s.js").then((e) => e.t));
21964
+ }, _M = (0, J.lazy)(() => import("./mermaid-CEceCleL.js").then((e) => e.t));
21958
21965
  //#endregion
21959
21966
  //#region src/components/editor/chrome/panels/outline/useActiveOutline.tsx
21960
21967
  function vM() {
@@ -29961,7 +29968,7 @@ function bR(e) {
29961
29968
  }
29962
29969
  //#endregion
29963
29970
  //#region src/components/editor/renderers/slides-layout/slides-layout.tsx
29964
- var xR = J.lazy(() => import("./reveal-component-b8UCRAp7.js")), SR = (e) => {
29971
+ var xR = J.lazy(() => import("./reveal-component-BJG6YrPy.js")), SR = (e) => {
29965
29972
  let t = (0, X.c)(33), { layout: n, setLayout: r, cells: i, mode: a } = e, o = rs(Ca), s = a === "read" || o, c = rs(_t) > 1, [l, u] = (0, J.useState)(null), d;
29966
29973
  t[0] !== i || t[1] !== n ? (d = vP(i, n), t[0] = i, t[1] = n, t[2] = d) : d = t[2];
29967
29974
  let { slideCells: f, skippedIds: p, noOutputIds: m, slideTypes: h, startCellIndex: g } = d, _;