@marimo-team/islands 0.23.15-dev50 → 0.23.15-dev55
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-Cmq_9LVS.js → ConnectedDataExplorerComponent-DMcymmpc.js} +85 -84
- package/dist/{ErrorBoundary-CnMJ8jR9.js → ErrorBoundary-DXlxsrTF.js} +3 -3
- package/dist/{any-language-editor-DN1R-1KZ.js → any-language-editor-BfTj3PPF.js} +20 -20
- package/dist/apl-e1B5LPEL.js +4 -0
- package/dist/{arc-DfkSnvZm.js → arc-CTIpFoOn.js} +2 -2
- package/dist/architecture-7HQA4BMR-DHUrQjL4.js +6 -0
- package/dist/{architectureDiagram-VXUJARFQ-CT2SuxNw.js → architectureDiagram-VXUJARFQ-B3jN8fkV.js} +19 -19
- package/dist/asciiarmor-B-gwgesP.js +4 -0
- package/dist/asn1-DF2ckRB4.js +4 -0
- package/dist/{blockDiagram-VD42YOAC-Dy7hlFla.js → blockDiagram-VD42YOAC-Dq_8lAbz.js} +12 -12
- package/dist/brainfuck-4G-7_gq_.js +4 -0
- package/dist/{button-BacYv-bE.js → button-BcSml68y.js} +12 -65
- package/dist/{c4Diagram-YG6GDRKO-BXlAmZ8Z.js → c4Diagram-YG6GDRKO-BPzX9a9A.js} +6 -6
- package/dist/{capabilities-D_4LYhSU.js → capabilities-BYLFYTYv.js} +2 -2
- package/dist/{channel-D_PHgcig.js → channel-D_qwSlm9.js} +1 -1
- package/dist/{chat-ui-Dy0arY8E.js → chat-ui-CYGIiYqI.js} +144 -143
- package/dist/{check-C9OoNtR4.js → check-Cs-KV5XY.js} +1 -1
- package/dist/{chunk-4BX2VUAB-CzXltWHN.js → chunk-4BX2VUAB-iU5lQTDI.js} +1 -1
- package/dist/{chunk-4F5CHEZ2-D9nGEHV8.js → chunk-4F5CHEZ2-VlodlEGo.js} +1 -1
- package/dist/{chunk-55IACEB6-B-1mjMMC.js → chunk-55IACEB6-7h71GwyW.js} +1 -1
- package/dist/{chunk-5FQGJX7Z-BbqSm5gU.js → chunk-5FQGJX7Z-B9WoXK1R.js} +3 -3
- package/dist/{chunk-ABZYJK2D-Dz0-H2B5.js → chunk-ABZYJK2D-CDSMdLBr.js} +3 -3
- package/dist/{chunk-ATLVNIR6-o0Z5MZLd.js → chunk-ATLVNIR6-BAW0e_d_.js} +2 -2
- package/dist/{chunk-B2363JML-KEJpLGGP.js → chunk-B2363JML-zL3VngtH.js} +1 -1
- package/dist/{chunk-B4BG7PRW-BL98U9B4.js → chunk-B4BG7PRW-CfEI05WL.js} +7 -7
- package/dist/{chunk-CVBHYZKI-B_c5YBcW.js → chunk-CVBHYZKI-CwazXVlJ.js} +1 -1
- package/dist/{chunk-DI55MBZ5-Dwkn0LWm.js → chunk-DI55MBZ5-CZS7hhjV.js} +6 -6
- package/dist/{chunk-EXTU4WIE-9sNjmQrB.js → chunk-EXTU4WIE-DHwKB8ls.js} +2 -2
- package/dist/{chunk-FMBD7UC4-Ie8M9q0W.js → chunk-FMBD7UC4-quJmebXa.js} +1 -1
- package/dist/{chunk-FRFDVMJY-DzQqMWrl.js → chunk-FRFDVMJY-BHBqN-vD.js} +1 -1
- package/dist/{chunk-HN2XXSSU-E3n-Ys7Z.js → chunk-HN2XXSSU-Bv0QkeMr.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-C32Y7Epf.js → chunk-JA3XYJ7Z-Cy80gDpz.js} +3 -3
- package/dist/{chunk-JZLCHNYA-C6ftyVMN.js → chunk-JZLCHNYA-yfXq27Zq.js} +6 -6
- package/dist/{chunk-MI3HLSF2-CUYEasXO.js → chunk-MI3HLSF2-HGWI-8Pg.js} +1 -1
- package/dist/{chunk-N4CR4FBY-DUhGZhZs.js → chunk-N4CR4FBY-C9D3Wsot.js} +7 -7
- package/dist/{chunk-PL6DKKU2-D7km-08O.js → chunk-PL6DKKU2-CAHKc95s.js} +1 -1
- package/dist/{chunk-QN33PNHL-0K6SDYn3.js → chunk-QN33PNHL-Bh2YDyg7.js} +2 -2
- package/dist/{chunk-QXUST7PY-DMhsRpYK.js → chunk-QXUST7PY-kDpsCDoY.js} +10 -10
- package/dist/{chunk-QZHKN3VN-DRjXVwuJ.js → chunk-QZHKN3VN-Dym5BS7y.js} +1 -1
- package/dist/{chunk-S3R3BYOJ-oAe3dEbO.js → chunk-S3R3BYOJ-DkY8Kz3y.js} +4 -4
- package/dist/{chunk-SJTYNZTY-BkJrPRFC.js → chunk-SJTYNZTY-DnXoKWpW.js} +1 -1
- package/dist/{chunk-TCCFYFTB-D58KeXnC.js → chunk-TCCFYFTB-DPWJa9zL.js} +1 -1
- package/dist/{chunk-TQ3KTPDO-D_yA_wAb.js → chunk-TQ3KTPDO-CsDx6v37.js} +1 -1
- package/dist/{chunk-TZMSLE5B-yBKS_DQU.js → chunk-TZMSLE5B-CMZoW3vd.js} +3 -3
- package/dist/{chunk-UMXZTB3W-D7uwvNjd.js → chunk-UMXZTB3W-D1uHz8MN.js} +1 -1
- package/dist/classDiagram-2ON5EDUG-b2d3ZqfR.js +30 -0
- package/dist/classDiagram-v2-WZHVMYZB-RvnJbJ5M.js +30 -0
- package/dist/{clike-DTxNUn7l.js → clike-7lgyEYRk.js} +1 -1
- package/dist/clojure-CUybM11R.js +4 -0
- package/dist/cmake-BPjGcuDL.js +4 -0
- package/dist/cobol-BETk_nb6.js +4 -0
- package/dist/{code-block-37QAKDTI-O6IH6wAi.js → code-block-37QAKDTI-MSxEjskJ.js} +1 -1
- package/dist/{code-visibility-B5xe1Xp2.js → code-visibility-6VwDeiPl.js} +647 -646
- package/dist/coffeescript-CManZxXL.js +4 -0
- package/dist/commonlisp-DWkn7GW8.js +4 -0
- package/dist/{copy-COam1EG7.js → copy-Cs3yt6Vt.js} +2 -2
- package/dist/{cose-bilkent-S5V4N54A-kjoZoid4.js → cose-bilkent-S5V4N54A-BYj0aL7z.js} +2 -2
- package/dist/crystal-CCbg5EUH.js +4 -0
- package/dist/css-By8eo-XS.js +4 -0
- package/dist/cypher-DwfHg3nP.js +4 -0
- package/dist/d-Brs1wNbw.js +4 -0
- package/dist/{dagre-6UL2VRFP-J0JKgwOt.js → dagre-6UL2VRFP--ruFWg_S.js} +11 -11
- package/dist/{data-grid-overlay-editor-C6lxUJp-.js → data-grid-overlay-editor-BWRG2b_o.js} +2 -2
- package/dist/{diagram-PSM6KHXK-DYgJuNk9.js → diagram-PSM6KHXK-CGakapLj.js} +22 -22
- package/dist/{diagram-QEK2KX5R-CKdBR2sb.js → diagram-QEK2KX5R-CtqD8u_P.js} +17 -17
- package/dist/{diagram-S2PKOQOG-Dpi7mo5W.js → diagram-S2PKOQOG-BS1wa35J.js} +17 -17
- package/dist/diff-DJIRmJ1g.js +4 -0
- package/dist/{dist-Dv_Y15yk.js → dist-3MT9i_N5.js} +2 -2
- package/dist/{dist-CoXAujgg.js → dist-4-bJUNMb.js} +3 -3
- package/dist/{dist-DPrYzMY0.js → dist-9yiSURLw.js} +2 -2
- package/dist/dist-9zfbSqew.js +8 -0
- package/dist/{dist-GZXUmt0b.js → dist-B1k1NmGB.js} +1 -1
- package/dist/{dist-abid3KgM.js → dist-B69xyr_D.js} +1 -1
- package/dist/{dist--2Bqjvs0.js → dist-B96tMAst.js} +2 -2
- package/dist/{dist-t9Kf7xqC.js → dist-BFgLBSJb.js} +1 -1
- package/dist/{dist-DyyjKEYf.js → dist-BGLXXYL4.js} +1 -1
- package/dist/{dist-Bf7SHuNp.js → dist-BGj6VvC-.js} +4 -4
- package/dist/{dist-Bk75fBZA.js → dist-BGtkYshf.js} +1 -1
- package/dist/{dist-CpxNdDkw.js → dist-BIdzGb3O.js} +1 -1
- package/dist/dist-BZ_VEpg8.js +8 -0
- package/dist/{dist-7QfXoMdB.js → dist-BdYVjH1C.js} +1 -1
- package/dist/{dist-D8CDTVgf.js → dist-BiIoKp92.js} +2 -2
- package/dist/dist-Bow9AUXt.js +5 -0
- package/dist/{dist-BSAt6RhH.js → dist-BvCrjp81.js} +2 -2
- package/dist/{dist-DgGbNavJ.js → dist-C-RLuUaE.js} +1 -1
- package/dist/dist-C8odMDp5.js +8 -0
- package/dist/{dist-BY018Paw.js → dist-CLBjD8zw.js} +1 -1
- package/dist/dist-CLgjZx38.js +5 -0
- package/dist/{dist-C_Y3oV3C.js → dist-CNXNPADS.js} +1 -1
- package/dist/{dist-Du8WkPuU.js → dist-CV79CsQ0.js} +2 -2
- package/dist/dist-CnMOJtGP.js +5 -0
- package/dist/dist-D-5m1nDT.js +5 -0
- package/dist/dist-D8AXqiCV.js +5 -0
- package/dist/{dist-LTU8Hdvn.js → dist-DBN2w27P.js} +2 -2
- package/dist/{dist-DL6N_q-A.js → dist-DMuf8sZd.js} +1 -1
- package/dist/{dist-M9Vag9Y0.js → dist-DPH6RMhL.js} +1 -1
- package/dist/{dist-CcWX6tmx.js → dist-DgZczohI.js} +1 -1
- package/dist/dist-DszXOVSb.js +5 -0
- package/dist/dist-GW0m0q65.js +8 -0
- package/dist/{dist-Bf9f8MuT.js → dist-SXNmlE8A.js} +1 -1
- package/dist/{dist-CxJDU6Bh.js → dist-e29IFSI0.js} +3 -3
- package/dist/{dist-BaoDKvdy.js → dist-kcg3gjx6.js} +1 -1
- package/dist/{dist-BR_gyG9L.js → dist-tJic1rC-.js} +1 -1
- package/dist/{dockerfile-twL37N91.js → dockerfile-B82Pkz_V.js} +1 -1
- package/dist/dtd-Dyiazv4N.js +4 -0
- package/dist/dylan-D8Fcw7NA.js +4 -0
- package/dist/ecl-CjKp8Vii.js +4 -0
- package/dist/eiffel-K9ViOX5r.js +4 -0
- package/dist/elm-B5NVtRco.js +4 -0
- package/dist/{erDiagram-Q2GNP2WA-BU-m41EQ.js → erDiagram-Q2GNP2WA-DmtIJBsT.js} +15 -15
- package/dist/erlang-BnLzgk7R.js +4 -0
- package/dist/{error-banner-DFPfz_Qf.js → error-banner-DR7o3CbX.js} +68 -68
- package/dist/{esm-M837UxV5.js → esm-BxhNWHqh.js} +2 -2
- package/dist/{esm-ga2Bf3O2.js → esm-D6_uCZ4z.js} +104 -104
- package/dist/{extends-9MVIxxRo.js → extends-B88Yrunj.js} +4 -4
- package/dist/{factor-CajWS6mS.js → factor-Bq2mGIHt.js} +1 -1
- package/dist/factor-C7f9Jz5R.js +4 -0
- package/dist/{flowDiagram-NV44I4VS-CRoXKjGq.js → flowDiagram-NV44I4VS-DZsgBUcQ.js} +17 -17
- package/dist/{formats-CdvkxTS6.js → formats-DSfNdJLH.js} +3 -3
- package/dist/forth-rGM8jLao.js +4 -0
- package/dist/fortran-B3acSe0i.js +4 -0
- package/dist/{ganttDiagram-JELNMOA3-7mq5f9cO.js → ganttDiagram-JELNMOA3-CgFhg_6K.js} +10 -10
- package/dist/gas-Bb1Vmv_N.js +4 -0
- package/dist/gherkin-C9Lyidgd.js +4 -0
- package/dist/{gitGraph-G5XIXVHT-DiniR35k.js → gitGraph-G5XIXVHT-BjTx0kww.js} +3 -3
- package/dist/{gitGraphDiagram-V2S2FVAM-Dfuokq6w.js → gitGraphDiagram-V2S2FVAM-DPInyn1F.js} +17 -17
- package/dist/{glide-data-editor-D5w23DvC.js → glide-data-editor--CaN-f27.js} +13 -13
- package/dist/groovy-DQk6XcGH.js +4 -0
- package/dist/haskell-mV0Vw9gv.js +4 -0
- package/dist/haxe-DqxN89zH.js +5 -0
- package/dist/{html-to-image-f-kPEnn0.js → html-to-image-BoXPmWps.js} +397 -396
- package/dist/idl-ya8W561J.js +4 -0
- package/dist/{info-VBDWY6EO-DVZvGhkQ.js → info-VBDWY6EO-CA67FznA.js} +3 -3
- package/dist/infoDiagram-HS3SLOUP-ETAzKIiE.js +30 -0
- package/dist/{input-CF5Sgjba.js → input-DStQIuqD.js} +50 -50
- package/dist/javascript-CgqgptVu.js +4 -0
- package/dist/{journeyDiagram-XKPGCS4Q-8XYSU1GI.js → journeyDiagram-XKPGCS4Q-Bc94zDj1.js} +7 -7
- package/dist/julia-CFQ-HusI.js +4 -0
- package/dist/{kanban-definition-3W4ZIXB7--9pT9z1R.js → kanban-definition-3W4ZIXB7-DSk8Ebci.js} +12 -12
- package/dist/{katex-9-9QRhxz.js → katex-C4t-BmrK.js} +1 -1
- package/dist/{label-WfTSU8L4.js → label-DIk0QoFe.js} +2 -2
- package/dist/{line-C5s_12ee.js → line-C43FIPBd.js} +3 -3
- package/dist/{linear-B5-AFRiR.js → linear-H_vsH9ao.js} +4 -4
- package/dist/livescript-D__3TmDo.js +4 -0
- package/dist/{loader-Boph2xIS.js → loader-BUGT0KbC.js} +11 -22
- package/dist/lua-Bytcgj_W.js +4 -0
- package/dist/main.js +1245 -1244
- package/dist/mathematica-DJhvVKvl.js +4 -0
- package/dist/mbox-IGHPCjfR.js +4 -0
- package/dist/{mermaid-4DMBBIKO-Eg3D4FVz.js → mermaid-4DMBBIKO-FXbOziy9.js} +1 -1
- package/dist/{mermaid-BaZJ2mds.js → mermaid-CYkbfJHW.js} +47 -47
- package/dist/{mermaid-parser.core-C3XRsazI.js → mermaid-parser.core-DoivvxPd.js} +8 -8
- package/dist/{mhchem-yiCCuiEF.js → mhchem-EGhUZR1V.js} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-B-4mnfFG.js → mindmap-definition-VGOIOE7T-BYoCqVAJ.js} +14 -14
- package/dist/mirc-tcwvVugm.js +4 -0
- package/dist/mllike-Dx91i62r.js +6 -0
- package/dist/modelica-_SRt-yU5.js +4 -0
- package/dist/mscgen-GZrGS9gt.js +6 -0
- package/dist/mumps-Cv3ygyod.js +4 -0
- package/dist/nsis-BU7GeGbI.js +4 -0
- package/dist/{nsis-ClF3r5Tr.js → nsis-i9_sgigf.js} +1 -1
- package/dist/ntriples-CL-FCYXb.js +4 -0
- package/dist/{number-overlay-editor-BLJXvX9c.js → number-overlay-editor-Ck_mc_gT.js} +1 -1
- package/dist/objects-De59twF-.js +56 -0
- package/dist/octave-Dc6_3DIu.js +4 -0
- package/dist/{ordinal-ArJavP1Q.js → ordinal-Bkv2-veX.js} +1 -1
- package/dist/oz-DpUAJCXf.js +4 -0
- package/dist/{packet-DYOGHKS2-34raHOiB.js → packet-DYOGHKS2-Bkgofxf3.js} +3 -3
- package/dist/pascal-B17mncXs.js +4 -0
- package/dist/perl-BTpK97q9.js +4 -0
- package/dist/{pie-VRWISCQL-BaLlzZa3.js → pie-VRWISCQL-B1AMhN_7.js} +3 -3
- package/dist/{pieDiagram-ADFJNKIX-Cr3cNpZY.js → pieDiagram-ADFJNKIX-BaAU79Vb.js} +22 -22
- package/dist/pig-CFb638Ap.js +4 -0
- package/dist/powershell-Cxo-_2A5.js +4 -0
- package/dist/{precisionRound-Tqb4mg-H.js → precisionRound-CnHPY_5v.js} +1 -1
- package/dist/{process-output-O9FeFAVM.js → process-output-CbRRhwQo.js} +4 -4
- package/dist/properties-BPgT1xTB.js +4 -0
- package/dist/protobuf-BgHBaIIK.js +4 -0
- package/dist/pug-25-oS0SG.js +4 -0
- package/dist/{pug-B_rby2yb.js → pug-BhE2JRSg.js} +1 -1
- package/dist/puppet-DarIr20S.js +4 -0
- package/dist/python-BqmOsBsi.js +4 -0
- package/dist/q-D3QJCTup.js +4 -0
- package/dist/{quadrantDiagram-AYHSOK5B-BuNL8Q93.js → quadrantDiagram-AYHSOK5B-BmTWJxzo.js} +5 -5
- package/dist/r-Cz_yBX4z.js +4 -0
- package/dist/{radar-ZZBFDIW7-Ci7bfoZa.js → radar-ZZBFDIW7-C2b7A32s.js} +3 -3
- package/dist/{react-vega-B0sAlDTL.js → react-vega-DfJOSnj6.js} +372 -372
- package/dist/{requirementDiagram-UZGBJVZJ-BG2lLUN1.js → requirementDiagram-UZGBJVZJ-Jrs04ua1.js} +14 -14
- package/dist/{reveal-component-BkZp_qsV.js → reveal-component-BF9bUh1w.js} +622 -628
- package/dist/rpm-DGOtYwAI.js +5 -0
- package/dist/ruby-DBZu4rPc.js +4 -0
- package/dist/{sankeyDiagram-TZEHDZUN-DMal8sps.js → sankeyDiagram-TZEHDZUN-YJnhmG4N.js} +5 -5
- package/dist/sas-Dd1D9qTq.js +4 -0
- package/dist/scheme-BmDjvTHX.js +4 -0
- package/dist/{sequenceDiagram-WL72ISMW-DT6Tk-Eo.js → sequenceDiagram-WL72ISMW-D30L51Bn.js} +8 -8
- package/dist/shell-BL8zFSaj.js +4 -0
- package/dist/sieve-BAx2WqUP.js +4 -0
- package/dist/smalltalk-CYRzF7VV.js +4 -0
- package/dist/sparql-YWaDRO4A.js +4 -0
- package/dist/{spec-DxIove3q.js → spec-CnaxwDqy.js} +4 -4
- package/dist/{src-Bf2iLOlr.js → src-DV3ha_nA.js} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-CB_lodq3.js → stateDiagram-FKZM4ZOC-C0nZuUP8.js} +17 -17
- package/dist/stateDiagram-v2-4FDKWEC3-BmovmS-G.js +29 -0
- package/dist/{step-CWipAYTY.js → step-BqHnkgWE.js} +1 -1
- package/dist/stex-B5O-env2.js +4 -0
- package/dist/{strings-Dq_j3Rxw.js → strings-BYAhZnQi.js} +354 -354
- package/dist/stylus-lYsyLFc1.js +4 -0
- package/dist/swift-ClQz9z1n.js +4 -0
- package/dist/{swiper-component-5HoSsPi1.js → swiper-component-DE94711u.js} +4 -4
- package/dist/tcl-B3jhsfqY.js +4 -0
- package/dist/textile-Cb1Dw7Aq.js +4 -0
- package/dist/{time-CsmIF9YZ.js → time-Bb4A7I6a.js} +4 -4
- package/dist/{timeline-definition-IT6M3QCI-NfSKRvH0.js → timeline-definition-IT6M3QCI-DEoIEWAl.js} +4 -4
- package/dist/{toDate-CEOdz9nC.js → toDate-B3IRfHhw.js} +3 -3
- package/dist/toml-nHZhetdO.js +4 -0
- package/dist/{tooltip-Czds6Qr8.js → tooltip-B-qh7UPB.js} +3 -3
- package/dist/{treemap-GDKQZRPO-Cl6OQh8D.js → treemap-GDKQZRPO-SDux0AV8.js} +3 -3
- package/dist/troff-DuJAGWKH.js +4 -0
- package/dist/ttcn-BxrcwP21.js +4 -0
- package/dist/ttcn-cfg-BAg_9dcc.js +4 -0
- package/dist/turtle-zCq949as.js +4 -0
- package/dist/{types-C2Ir191_.js → types-DQl7jVYK.js} +1 -1
- package/dist/use-vega-container-remeasure-DGNrIQSk.js +27 -0
- package/dist/{useAsyncData-Cs0mpJTy.js → useAsyncData-CvO8WUy3.js} +1 -1
- package/dist/{useDateFormatter-CMnRuVmN.js → useDateFormatter-BSoGim-G.js} +2 -2
- package/dist/{useDeepCompareMemoize-DoOZicGb.js → useDeepCompareMemoize-J3MKRdA4.js} +1 -1
- package/dist/{useIframeCapabilities-DWIYvDh7.js → useIframeCapabilities-POcFXHbw.js} +1 -1
- package/dist/{useLifecycle-DR_F1d7F.js → useLifecycle-DqPxHgAN.js} +3 -3
- package/dist/{useTheme-BA-8MM7N.js → useTheme-XMq9mNf_.js} +2 -2
- package/dist/vb-De5hElus.js +4 -0
- package/dist/vbscript-Cypcpv4F.js +4 -0
- package/dist/{vega-component-BN0fz-QA.js → vega-component-uL9ZaXcH.js} +224 -222
- package/dist/vega-embed-container-DgZMMVL3.js +22 -0
- package/dist/{vega-loader.browser-CZ-J8Py3.js → vega-loader.browser-IU8eTDwM.js} +98 -86
- package/dist/velocity-Di7l-yhe.js +4 -0
- package/dist/verilog-Bzi-S3g2.js +4 -0
- package/dist/vhdl-B0ZZITaW.js +4 -0
- package/dist/webidl-0sviiRcN.js +4 -0
- package/dist/xquery-B4qMVWaB.js +4 -0
- package/dist/{xychartDiagram-PRI3JC2R-BvwftqMA.js → xychartDiagram-PRI3JC2R-iwKXEnYZ.js} +13 -13
- package/dist/yacas-Jt25Fuv8.js +4 -0
- package/dist/z80-CrcbYzmp.js +4 -0
- package/dist/{zod-CijjQh4u.js → zod-D0yOqoGe.js} +26 -26
- package/package.json +3 -1
- package/src/components/charts/lazy.tsx +3 -1
- package/src/components/charts/vega-embed-container.tsx +18 -0
- package/src/components/editor/RecoveryButton.tsx +2 -2
- package/src/components/slides/reveal-component.tsx +0 -13
- package/src/plugins/impl/vega/__tests__/use-vega-container-remeasure.test.ts +102 -0
- package/src/plugins/impl/vega/use-vega-container-remeasure.ts +39 -0
- package/src/plugins/impl/vega/vega-component.tsx +5 -4
- package/dist/apl-Bdc61P1y.js +0 -4
- package/dist/architecture-7HQA4BMR-Kyc44TmC.js +0 -6
- package/dist/asciiarmor-DVRHDGzT.js +0 -4
- package/dist/asn1-BmuKfkfu.js +0 -4
- package/dist/brainfuck-DPrRpyTV.js +0 -4
- package/dist/classDiagram-2ON5EDUG-QjoAcuFE.js +0 -30
- package/dist/classDiagram-v2-WZHVMYZB-bUCv4gu2.js +0 -30
- package/dist/clojure-DEttQW5T.js +0 -4
- package/dist/cmake-jNlx_DaM.js +0 -4
- package/dist/cobol-BvvIm5MJ.js +0 -4
- package/dist/coffeescript-DTpBMyFU.js +0 -4
- package/dist/commonlisp-BmmUG8jb.js +0 -4
- package/dist/crystal-BxyqmEWC.js +0 -4
- package/dist/css-BGoCtuG3.js +0 -4
- package/dist/cypher-BmCbdl3u.js +0 -4
- package/dist/d-CFrlbjZt.js +0 -4
- package/dist/diff-D6XwL6P8.js +0 -4
- package/dist/dist-BEXXyZig.js +0 -5
- package/dist/dist-BYj57OV4.js +0 -5
- package/dist/dist-BlSvQzNr.js +0 -5
- package/dist/dist-CCBlxAgS.js +0 -8
- package/dist/dist-CIDTVIUf.js +0 -5
- package/dist/dist-CqQyhAM8.js +0 -8
- package/dist/dist-CwRu2Xzh.js +0 -5
- package/dist/dist-D8DNB0nO.js +0 -8
- package/dist/dist-DOFbNV_b.js +0 -8
- package/dist/dist-cdmMjgsn.js +0 -5
- package/dist/dtd-Bw0lRN0-.js +0 -4
- package/dist/dylan-B55eBHTt.js +0 -4
- package/dist/ecl-C8G4p0wn.js +0 -4
- package/dist/eiffel-BmH46VJl.js +0 -4
- package/dist/elm-DhzeFqkl.js +0 -4
- package/dist/erlang-CY-wdlsU.js +0 -4
- package/dist/factor-DWkgl0xw.js +0 -4
- package/dist/forth-Cij_ie2t.js +0 -4
- package/dist/fortran-Br3X9cfm.js +0 -4
- package/dist/gas-DYsGcMN2.js +0 -4
- package/dist/gherkin-eVgXQ0fQ.js +0 -4
- package/dist/groovy-_NFHIXG7.js +0 -4
- package/dist/haskell-D6xNG_bH.js +0 -4
- package/dist/haxe-sU_rzAwn.js +0 -5
- package/dist/idl-Ds_VbrUx.js +0 -4
- package/dist/infoDiagram-HS3SLOUP-CEnzWruK.js +0 -30
- package/dist/javascript-CztfIl0i.js +0 -4
- package/dist/julia-DDv40QMV.js +0 -4
- package/dist/livescript-BEOngLLc.js +0 -4
- package/dist/lua-9-7BhQ4Y.js +0 -4
- package/dist/mathematica-DDa0Pfxm.js +0 -4
- package/dist/mbox-iO03mmoE.js +0 -4
- package/dist/mirc-C9z5LT4X.js +0 -4
- package/dist/mllike-jGJbdm_C.js +0 -6
- package/dist/modelica-DzF7oIEL.js +0 -4
- package/dist/mscgen-DB-u125o.js +0 -6
- package/dist/mumps-CRTFHhzh.js +0 -4
- package/dist/nsis-C4NPTuox.js +0 -4
- package/dist/ntriples-BCOoGph1.js +0 -4
- package/dist/octave-DTwNlazz.js +0 -4
- package/dist/oz-DD38AzSz.js +0 -4
- package/dist/pascal-BohSp9jV.js +0 -4
- package/dist/perl-f5OutoPM.js +0 -4
- package/dist/pig-Dv7wSmHb.js +0 -4
- package/dist/powershell-rYgjKB39.js +0 -4
- package/dist/properties-BFUNLRDN.js +0 -4
- package/dist/protobuf-B9QJQPPv.js +0 -4
- package/dist/pug-DzvWpaMC.js +0 -4
- package/dist/puppet-B_K-n_xK.js +0 -4
- package/dist/python-CAiFcaA2.js +0 -4
- package/dist/q-cLeFIBLK.js +0 -4
- package/dist/r-04Y-Wco3.js +0 -4
- package/dist/react-vega-B6ncY2Tp.js +0 -9
- package/dist/rpm-FUdrIia9.js +0 -5
- package/dist/ruby-DMjFXuEW.js +0 -4
- package/dist/sas-DzHZxjXK.js +0 -4
- package/dist/scheme-DxHd_Rb9.js +0 -4
- package/dist/shell-C8Kwypgf.js +0 -4
- package/dist/sieve-DdyqOKXZ.js +0 -4
- package/dist/smalltalk-pB7X1D9y.js +0 -4
- package/dist/sparql-NhBO6oOa.js +0 -4
- package/dist/stateDiagram-v2-4FDKWEC3-E0RGjKsm.js +0 -29
- package/dist/stex-KfRnSHzF.js +0 -4
- package/dist/stylus-SfWSnzPv.js +0 -4
- package/dist/swift-jRPdq2zR.js +0 -4
- package/dist/tcl-_hpTHGX3.js +0 -4
- package/dist/textile-C9h8slqH.js +0 -4
- package/dist/toml-DWvtinD4.js +0 -4
- package/dist/troff-Dwo_A0y7.js +0 -4
- package/dist/ttcn-V--CPFKq.js +0 -4
- package/dist/ttcn-cfg-CPSMchTG.js +0 -4
- package/dist/turtle-B4rPGBWu.js +0 -4
- package/dist/vb-DaMBBd4j.js +0 -4
- package/dist/vbscript-BMJQqcE2.js +0 -4
- package/dist/velocity-CGq2QRq2.js +0 -4
- package/dist/verilog-CUNo8F5u.js +0 -4
- package/dist/vhdl-CCzA0msW.js +0 -4
- package/dist/webidl-CqIMDIBL.js +0 -4
- package/dist/xquery-XC5Kbr-1.js +0 -4
- package/dist/yacas-CGOv7Dzy.js +0 -4
- package/dist/z80-CXhVmi-f.js +0 -4
- /package/dist/{ImageComparisonComponent-1i5IBhon.js → ImageComparisonComponent-C3y7L3eJ.js} +0 -0
- /package/dist/{Plot-CAYS29h9.js → Plot-YQOuVIei.js} +0 -0
- /package/dist/{apl-BCgCq9iM.js → apl-99A7dLQe.js} +0 -0
- /package/dist/{array-tvvEqPy7.js → array-O78LT16Y.js} +0 -0
- /package/dist/{asciiarmor-BtqU-KJQ.js → asciiarmor-DLEhpFDx.js} +0 -0
- /package/dist/{asn1-Dmb-dTMx.js → asn1-CMrcTsT4.js} +0 -0
- /package/dist/{asterisk-DaVJJDnV.js → asterisk-CqykImq7.js} +0 -0
- /package/dist/{brainfuck-C1HoZKlE.js → brainfuck-ChPt5yBe.js} +0 -0
- /package/dist/{chunk-DR5Q36YT-BflwErH1.js → chunk-DR5Q36YT-5Yp2GWwR.js} +0 -0
- /package/dist/{click-outside-container-BLPjMamz.js → click-outside-container-BSIeYt4y.js} +0 -0
- /package/dist/{clike-CdT0yHjt.js → clike-CE0fXfM_.js} +0 -0
- /package/dist/{clojure-CdyrCpUv.js → clojure-QkBEMU-g.js} +0 -0
- /package/dist/{cmake-BFlPxym7.js → cmake-CU1jX7Mo.js} +0 -0
- /package/dist/{cobol-CcJXewp8.js → cobol-DMOKzzky.js} +0 -0
- /package/dist/{coffeescript-DnKuIKRo.js → coffeescript-DjnjLyfk.js} +0 -0
- /package/dist/{colors-CQAOa8cK.js → colors-DmiH1bIH.js} +0 -0
- /package/dist/{common-keywords-FBrXPTcz.js → common-keywords-D3nPJNQP.js} +0 -0
- /package/dist/{commonlisp-B-kok83Z.js → commonlisp-CYd9iOSe.js} +0 -0
- /package/dist/{crystal-FYRYjI1I.js → crystal-Dy55yoYG.js} +0 -0
- /package/dist/{css-B45lc2V3.js → css-CNU8w3HJ.js} +0 -0
- /package/dist/{cypher-DZMLyVY_.js → cypher-q47DGzK7.js} +0 -0
- /package/dist/{cytoscape.esm-ayF70frT.js → cytoscape.esm-Dr8XzXWK.js} +0 -0
- /package/dist/{d-x-VVT4o9.js → d-jEkaLvxX.js} +0 -0
- /package/dist/{defaultLocale-u-3osm0P.js → defaultLocale-BpsHxBd7.js} +0 -0
- /package/dist/{defaultLocale-BoHTsDG6.js → defaultLocale-DoeErsX2.js} +0 -0
- /package/dist/{diff-Dxe2mpXk.js → diff-vb2-unFN.js} +0 -0
- /package/dist/{dist-D-W5ny5a.js → dist-95kpvRSY.js} +0 -0
- /package/dist/{dist-BzEzfugY.js → dist-B56Dml3A.js} +0 -0
- /package/dist/{dist-hT4QzYX-.js → dist-D3T8fCFo.js} +0 -0
- /package/dist/{dist-DZORgqKY.js → dist-DPdzbDlL.js} +0 -0
- /package/dist/{dist-A2846XWO.js → dist-Db1W16d-.js} +0 -0
- /package/dist/{dist-DZo4nSS0.js → dist-DijFs2Lk.js} +0 -0
- /package/dist/{dist-BGdYVvOu.js → dist-DsoKosxi.js} +0 -0
- /package/dist/{dist-Dax--nl9.js → dist-DvOfvWFi.js} +0 -0
- /package/dist/{dist-CIYBwstr.js → dist-Dx3eDsHX.js} +0 -0
- /package/dist/{dist-DMjWuVs8.js → dist-c6wTyIhD.js} +0 -0
- /package/dist/{dtd-C9VM_Wfu.js → dtd-C9kR-bXa.js} +0 -0
- /package/dist/{duckdb-keywords-CvJhR_Yd.js → duckdb-keywords-B6HYCMOT.js} +0 -0
- /package/dist/{dylan-DTSnEIFO.js → dylan-BLckrK-V.js} +0 -0
- /package/dist/{ebnf-2D4Ctp3y.js → ebnf-Cnp3L9jg.js} +0 -0
- /package/dist/{ecl-N04ptnRK.js → ecl-CEsf6XVg.js} +0 -0
- /package/dist/{eiffel-Dd8rpqr_.js → eiffel-2KGZNzx6.js} +0 -0
- /package/dist/{elm-GT2E866W.js → elm-D2s3K5wF.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-DzSb5hsH.js → emotion-is-prop-valid.esm-DdVSF4FD.js} +0 -0
- /package/dist/{erlang-Cf0Bp5pY.js → erlang-0PMFOndk.js} +0 -0
- /package/dist/{esm-BaaaPNGl.js → esm-CuQHjs36.js} +0 -0
- /package/dist/{fcl-Ccj8Z5Xd.js → fcl-D9nccAWI.js} +0 -0
- /package/dist/{forth-wd_XzGTg.js → forth-DG89iUsu.js} +0 -0
- /package/dist/{fortran-DcwUTZFe.js → fortran-ytKsAVvu.js} +0 -0
- /package/dist/{gas-DeALIER3.js → gas-Cg2Fm0N2.js} +0 -0
- /package/dist/{gherkin-CKTqaJNX.js → gherkin-B87FEnZ-.js} +0 -0
- /package/dist/{groovy-Bwdp_d8D.js → groovy-Dcs08AWD.js} +0 -0
- /package/dist/{haskell-DCdCcPLK.js → haskell-cwkOuhx6.js} +0 -0
- /package/dist/{haxe-DAyktQWJ.js → haxe-DWEo4q10.js} +0 -0
- /package/dist/{http-_DVAYWoR.js → http-B8jdG64J.js} +0 -0
- /package/dist/{idl-CBuZiRYu.js → idl-WWQwDcRV.js} +0 -0
- /package/dist/{init-uv0kkh4g.js → init-DNBbYZd_.js} +0 -0
- /package/dist/{javascript-DzigE11c.js → javascript-BeR74dxD.js} +0 -0
- /package/dist/{julia-PwfB-0Cm.js → julia-UlvCUYGL.js} +0 -0
- /package/dist/{katex-C_XRmjAP.js → katex-Bld7b-fk.js} +0 -0
- /package/dist/{livescript-BJLz1EbT.js → livescript-GPmFcmYV.js} +0 -0
- /package/dist/{lua-ZC-XC2jf.js → lua-DYoT_0zM.js} +0 -0
- /package/dist/{main-Tj_-QTyF.js → main-B1Jo_8pC.js} +0 -0
- /package/dist/{math-DFcdCCU8.js → math-CBNc2Ib0.js} +0 -0
- /package/dist/{mathematica-DCYMx6qB.js → mathematica-DSFIQlbG.js} +0 -0
- /package/dist/{mbox-OxMK_9XI.js → mbox-ej8lFMdL.js} +0 -0
- /package/dist/{micromark-factory-space-DF2w36zS.js → micromark-factory-space-CwHmg6iz.js} +0 -0
- /package/dist/{mirc-nJVyhA0H.js → mirc-CAdIdvHQ.js} +0 -0
- /package/dist/{mllike-DRO89bsU.js → mllike-CjTB1lHF.js} +0 -0
- /package/dist/{modelica-Don3E6ZD.js → modelica-BB68FYMa.js} +0 -0
- /package/dist/{mscgen-DJfqD3bN.js → mscgen-BkbzgGGI.js} +0 -0
- /package/dist/{mumps-SjGTvDYL.js → mumps-Cu-28E9F.js} +0 -0
- /package/dist/{nginx-DasThI7R.js → nginx-C1ofKPst.js} +0 -0
- /package/dist/{node-sql-parser-B8nBD36q.js → node-sql-parser-DLl_zNw0.js} +0 -0
- /package/dist/{ntriples-CNBKRl3I.js → ntriples-D9cQiZxZ.js} +0 -0
- /package/dist/{octave-DdeVHNlx.js → octave-BvtAnPX0.js} +0 -0
- /package/dist/{once-DPuqGUeo.js → once-B60G2fuJ.js} +0 -0
- /package/dist/{oz-CcKSoNvN.js → oz-COaVHk2E.js} +0 -0
- /package/dist/{pascal-6leftwNj.js → pascal-BFpqVD2x.js} +0 -0
- /package/dist/{path-BGaWgPKg.js → path-DwWbhZFI.js} +0 -0
- /package/dist/{perl-BhJIwWzN.js → perl-DaiORxHP.js} +0 -0
- /package/dist/{pig-r-xDHqRf.js → pig-DFzRhmsF.js} +0 -0
- /package/dist/{powershell-D-BELeNi.js → powershell-BG2LQNKN.js} +0 -0
- /package/dist/{properties-CnuDhbll.js → properties-CqJJR5QY.js} +0 -0
- /package/dist/{protobuf-CO8RBhvX.js → protobuf-WwDYV1yY.js} +0 -0
- /package/dist/{puppet-NmXHjLy8.js → puppet-QNY3w_uN.js} +0 -0
- /package/dist/{purify.es-H92eMd9-.js → purify.es-C-fIGuQm.js} +0 -0
- /package/dist/{python-DAQXi720.js → python-4QrQ3Ugi.js} +0 -0
- /package/dist/{q-DlikXfV0.js → q-DhwXuxE2.js} +0 -0
- /package/dist/{r-CuohilwT.js → r-Df-nkR25.js} +0 -0
- /package/dist/{range-C-rmrM1O.js → range-BOiA8qqU.js} +0 -0
- /package/dist/{rpm-0Pjwp0Pb.js → rpm-Cokue07s.js} +0 -0
- /package/dist/{ruby-Dq8NJTDG.js → ruby-DrYcL3qF.js} +0 -0
- /package/dist/{sas-CuwonyVP.js → sas-CoiPirA5.js} +0 -0
- /package/dist/{scheme-CYU-RRIf.js → scheme-CwFLjzHv.js} +0 -0
- /package/dist/{semaphore-CNDGTzkX.js → semaphore-C8rmHdhj.js} +0 -0
- /package/dist/{shell-COPmX2qE.js → shell-BFV-R24I.js} +0 -0
- /package/dist/{sieve-B_3zyLne.js → sieve-CxwXF5T9.js} +0 -0
- /package/dist/{simple-mode-DSBniks8.js → simple-mode-DTaJtKPt.js} +0 -0
- /package/dist/{smalltalk-DRft7iPv.js → smalltalk-QivVOCtX.js} +0 -0
- /package/dist/{solr-RZ9uTl59.js → solr-BLvysN-c.js} +0 -0
- /package/dist/{sparql-CN6qj55H.js → sparql-nKsFk8j7.js} +0 -0
- /package/dist/{spreadsheet-BNNUNXA2.js → spreadsheet-BWc8C2FT.js} +0 -0
- /package/dist/{sql-B4x8IkwU.js → sql-CWfUjlV1.js} +0 -0
- /package/dist/{stex-BIsgBmK4.js → stex-DtMAhV4-.js} +0 -0
- /package/dist/{stylus-Bn_ZjOQ3.js → stylus-BLKQAycn.js} +0 -0
- /package/dist/{swift-BLUJhMbz.js → swift-CJoKqiKj.js} +0 -0
- /package/dist/{tcl-C86fxecl.js → tcl-YTeYFNUc.js} +0 -0
- /package/dist/{textile-DmHh2rsK.js → textile-C6rKQqMQ.js} +0 -0
- /package/dist/{tiddlywiki-DI0mF2WJ.js → tiddlywiki-ZXwTHGNT.js} +0 -0
- /package/dist/{tiki-2HU6XLLn.js → tiki-C628O_u4.js} +0 -0
- /package/dist/{timer-YZl28NYN.js → timer-BpI_FKSA.js} +0 -0
- /package/dist/{toml-GWANRNAD.js → toml-DxlPGbRy.js} +0 -0
- /package/dist/{treemap-D-ka1hvx.js → treemap-DY3NBr79.js} +0 -0
- /package/dist/{troff-BHTsomIy.js → troff-DFCfH7Ku.js} +0 -0
- /package/dist/{ttcn-DQuhn5Mn.js → ttcn-DAW-ERVP.js} +0 -0
- /package/dist/{ttcn-cfg-HjFYtdB-.js → ttcn-cfg-CpJ8b7EN.js} +0 -0
- /package/dist/{turtle-nCay33Nv.js → turtle-BneV2f8L.js} +0 -0
- /package/dist/{vb-BG-XlqqJ.js → vb-D973Vxxh.js} +0 -0
- /package/dist/{vbscript-B6vyW0-D.js → vbscript-Dckaq3YO.js} +0 -0
- /package/dist/{velocity-CWegueqO.js → velocity-DKty-GUC.js} +0 -0
- /package/dist/{verilog-CzSQm4cG.js → verilog-aNaK_biA.js} +0 -0
- /package/dist/{vhdl-DqnNVL7r.js → vhdl-CQuehnQy.js} +0 -0
- /package/dist/{webidl-DXEUpDWH.js → webidl-Bhg8vaMr.js} +0 -0
- /package/dist/{xquery-Ba_NB5bD.js → xquery-D2q16GaM.js} +0 -0
- /package/dist/{yacas-HKQU6hyk.js → yacas-DHGOHnNa.js} +0 -0
- /package/dist/{z80-CXkHXLdj.js → z80-BPhTmO22.js} +0 -0
|
@@ -2,37 +2,38 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
5
|
-
import {
|
|
5
|
+
import { c as useEventListener, g as Logger, h as cn, t as Button } from "./button-BcSml68y.js";
|
|
6
6
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
7
7
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
8
|
-
import { r as toast } from "./copy-
|
|
9
|
-
import { C as Accordion, Dn as atomWithStorage, Dt as createVariableInfoElement, E as AccordionTrigger, F as base64ToDataURL, Fn as Wrench, H as renderHTML, In as Trash2, Jt as allTablesAtom, Kn as ExternalLink, Lt as jotaiJsonStorage, O as ChatBubbleIcon, Pt as generateUUID, Q as notebookAtom, Qt as getRequestClient, Rt as variablesAtom, S as AIContextRegistry, T as AccordionItem, Un as Info, Ut as PluralWord, Vn as LoaderCircle, Wn as FileText, Xt as getTableType, Yn as CircleX, Yt as dataSourceConnectionsAtom, _n as CellOutputId, an as isMarimoErrorsMime, b as contextToXml, bt as displayCellName, c as Popover, d as PopoverTrigger, f as isOutputEmpty, fn as ZodLocalStorage, g as formatDatasourceContextForCell, h as DatasourceContextProvider, in as isErrorMime, jt as moveToEndOfEditor, kn as Anchor2, n as Spinner, on as isTracebackMime, r as MarkdownRenderer, sn as singleFacet, st as parseHtmlContent, t as toPng, u as PopoverContent, v as Boosts, w as AccordionContent, x as AIContextProvider, y as Sections } from "./html-to-image-
|
|
10
|
-
import "./chunk-5FQGJX7Z-
|
|
11
|
-
import { u as createLucideIcon } from "./dist
|
|
12
|
-
import { C as logNever, I as X, R as ChevronDown, t as Strings } from "./strings-
|
|
13
|
-
import { C as DropdownMenuTrigger, a as NumberField, f as DropdownMenu, h as DropdownMenuItem, p as DropdownMenuContent, r as Input } from "./input-
|
|
14
|
-
import { p as isUrl, v as CircleQuestionMark } from "./toDate-
|
|
15
|
-
import { a as MarimoIncomingMessageEvent, d as Square, f as File$1, n as blobToString, t as processOutput, u as deserializeBlob } from "./process-output-
|
|
8
|
+
import { r as toast } from "./copy-Cs3yt6Vt.js";
|
|
9
|
+
import { C as Accordion, Dn as atomWithStorage, Dt as createVariableInfoElement, E as AccordionTrigger, F as base64ToDataURL, Fn as Wrench, H as renderHTML, In as Trash2, Jt as allTablesAtom, Kn as ExternalLink, Lt as jotaiJsonStorage, O as ChatBubbleIcon, Pt as generateUUID, Q as notebookAtom, Qt as getRequestClient, Rt as variablesAtom, S as AIContextRegistry, T as AccordionItem, Un as Info, Ut as PluralWord, Vn as LoaderCircle, Wn as FileText, Xt as getTableType, Yn as CircleX, Yt as dataSourceConnectionsAtom, _n as CellOutputId, an as isMarimoErrorsMime, b as contextToXml, bt as displayCellName, c as Popover, d as PopoverTrigger, f as isOutputEmpty, fn as ZodLocalStorage, g as formatDatasourceContextForCell, h as DatasourceContextProvider, in as isErrorMime, jt as moveToEndOfEditor, kn as Anchor2, n as Spinner, on as isTracebackMime, r as MarkdownRenderer, sn as singleFacet, st as parseHtmlContent, t as toPng, u as PopoverContent, v as Boosts, w as AccordionContent, x as AIContextProvider, y as Sections } from "./html-to-image-BoXPmWps.js";
|
|
10
|
+
import "./chunk-5FQGJX7Z-B9WoXK1R.js";
|
|
11
|
+
import { u as createLucideIcon } from "./dist-B96tMAst.js";
|
|
12
|
+
import { C as logNever, I as X, R as ChevronDown, t as Strings } from "./strings-BYAhZnQi.js";
|
|
13
|
+
import { C as DropdownMenuTrigger, a as NumberField, f as DropdownMenu, h as DropdownMenuItem, p as DropdownMenuContent, r as Input } from "./input-DStQIuqD.js";
|
|
14
|
+
import { p as isUrl, v as CircleQuestionMark } from "./toDate-B3IRfHhw.js";
|
|
15
|
+
import { a as MarimoIncomingMessageEvent, d as Square, f as File$1, n as blobToString, t as processOutput, u as deserializeBlob } from "./process-output-CbRRhwQo.js";
|
|
16
16
|
import "./react-dom-BTJzcVJ9.js";
|
|
17
17
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
18
|
-
import { A as looseObject, B as union, C as any, D as discriminatedUnion, E as custom, H as safeParseAsync, I as record, L as strictObject, M as never, N as number, O as lazy, P as object$1, R as string, S as _null, T as boolean, V as unknown, W as toJSONSchema, b as _enum, k as literal, w as array$1, x as _instanceof } from "./zod-
|
|
19
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
20
|
-
import { t as Label } from "./label-
|
|
21
|
-
import { t as Tooltip } from "./tooltip-
|
|
22
|
-
import { f as CopyClipboardIcon } from "./extends-
|
|
18
|
+
import { A as looseObject, B as union, C as any, D as discriminatedUnion, E as custom, H as safeParseAsync, I as record, L as strictObject, M as never, N as number, O as lazy, P as object$1, R as string, S as _null, T as boolean, V as unknown, W as toJSONSchema, b as _enum, k as literal, w as array$1, x as _instanceof } from "./zod-D0yOqoGe.js";
|
|
19
|
+
import { n as ErrorBanner } from "./error-banner-DR7o3CbX.js";
|
|
20
|
+
import { t as Label } from "./label-DIk0QoFe.js";
|
|
21
|
+
import { t as Tooltip } from "./tooltip-B-qh7UPB.js";
|
|
22
|
+
import { f as CopyClipboardIcon } from "./extends-B88Yrunj.js";
|
|
23
23
|
import { t as isEmpty_default } from "./isEmpty-CJJMn-QP.js";
|
|
24
|
-
import { A as useEvent_default, n as useTheme, w as useStore } from "./useTheme-
|
|
24
|
+
import { A as useEvent_default, n as useTheme, w as useStore } from "./useTheme-XMq9mNf_.js";
|
|
25
25
|
import { $ as EditorView, At as Facet, It as StateEffect, Lt as StateField, Mt as Prec, Z as Decoration, ft as hoverTooltip, kt as EditorState, nt as WidgetType, pt as keymap, tt as ViewPlugin, zt as Transaction } from "./dist-U4F-tbMs.js";
|
|
26
|
-
import {
|
|
27
|
-
import "./
|
|
28
|
-
import
|
|
29
|
-
import "./dist-
|
|
30
|
-
import "./dist-
|
|
31
|
-
import "./dist-
|
|
32
|
-
import "./dist-
|
|
33
|
-
import
|
|
34
|
-
import "./
|
|
35
|
-
import
|
|
26
|
+
import { t as Objects } from "./objects-De59twF-.js";
|
|
27
|
+
import { n as acceptCompletion, o as closeCompletion, r as autocompletion } from "./dist-D3T8fCFo.js";
|
|
28
|
+
import "./main-B1Jo_8pC.js";
|
|
29
|
+
import { a as markdown } from "./dist-3MT9i_N5.js";
|
|
30
|
+
import "./dist-BvCrjp81.js";
|
|
31
|
+
import "./dist-95kpvRSY.js";
|
|
32
|
+
import "./dist-DPH6RMhL.js";
|
|
33
|
+
import "./dist-CNXNPADS.js";
|
|
34
|
+
import { n as minimalSetup, t as esm_default } from "./esm-BxhNWHqh.js";
|
|
35
|
+
import "./purify.es-C-fIGuQm.js";
|
|
36
|
+
import { t as useAsyncData } from "./useAsyncData-CvO8WUy3.js";
|
|
36
37
|
var Ban = createLucideIcon("ban", [["path", {
|
|
37
38
|
d: "M4.929 4.929 19.07 19.071",
|
|
38
39
|
key: "196cmz"
|
|
@@ -6000,14 +6001,14 @@ Image URL: ${m.imageUrl}`)), contextToXml({
|
|
|
6000
6001
|
return getAttachmentsForOutputs(e18.map((e19) => e19.data.cellOutput), m, h);
|
|
6001
6002
|
}
|
|
6002
6003
|
};
|
|
6003
|
-
async function getAttachmentsForOutputs(e18, m,
|
|
6004
|
+
async function getAttachmentsForOutputs(e18, m, h) {
|
|
6004
6005
|
let _ = e18.filter((e19) => e19.shouldDownloadImage && e19.outputType === "media");
|
|
6005
6006
|
if (_.length === 0) return [];
|
|
6006
6007
|
let v = _.flatMap((e19) => {
|
|
6007
6008
|
let _2 = document.getElementById(CellOutputId.create(m));
|
|
6008
6009
|
return _2 ? {
|
|
6009
6010
|
cellId: m,
|
|
6010
|
-
cellName:
|
|
6011
|
+
cellName: h,
|
|
6011
6012
|
mimetype: e19.output.mimetype,
|
|
6012
6013
|
element: _2
|
|
6013
6014
|
} : (Logger.warn(`Output element not found for cell ${m}`), []);
|
|
@@ -6015,7 +6016,7 @@ async function getAttachmentsForOutputs(e18, m, g) {
|
|
|
6015
6016
|
try {
|
|
6016
6017
|
return await Promise.all(v.map(async (e19) => ({
|
|
6017
6018
|
type: "file",
|
|
6018
|
-
filename: `${
|
|
6019
|
+
filename: `${h}-output-screenshot`,
|
|
6019
6020
|
mediaType: "image/png",
|
|
6020
6021
|
url: await toPng(e19.element)
|
|
6021
6022
|
})));
|
|
@@ -6230,9 +6231,9 @@ var DEFAULT_FILE_SEARCH_CONFIG = {
|
|
|
6230
6231
|
return async (e18) => {
|
|
6231
6232
|
let m = e18.matchBefore(/#[^\s#]*/);
|
|
6232
6233
|
if (!m) return null;
|
|
6233
|
-
let
|
|
6234
|
-
if (!
|
|
6235
|
-
let _ =
|
|
6234
|
+
let h = m.text;
|
|
6235
|
+
if (!h.startsWith("#")) return null;
|
|
6236
|
+
let _ = h.slice(1);
|
|
6236
6237
|
if (_.length === 0) return this.getDefaultCompletions(m);
|
|
6237
6238
|
try {
|
|
6238
6239
|
let e19 = (await this.searchFiles(_) || []).map((e20) => {
|
|
@@ -6302,14 +6303,14 @@ var DEFAULT_FILE_SEARCH_CONFIG = {
|
|
|
6302
6303
|
return [];
|
|
6303
6304
|
}
|
|
6304
6305
|
formatCompletion(e18) {
|
|
6305
|
-
let { data: m, name:
|
|
6306
|
+
let { data: m, name: h } = e18, _ = m.isDirectory ? "\u{1F4C1}" : "\u{1F4C4}";
|
|
6306
6307
|
return {
|
|
6307
6308
|
...this.createBasicCompletion(e18),
|
|
6308
6309
|
type: "file",
|
|
6309
6310
|
section: Sections.FILE,
|
|
6310
6311
|
boost: m.isDirectory ? Boosts.MEDIUM : Boosts.LOW,
|
|
6311
6312
|
detail: m.path,
|
|
6312
|
-
displayLabel: `${_} ${
|
|
6313
|
+
displayLabel: `${_} ${h}`,
|
|
6313
6314
|
apply: async (e19, _2, v, y) => {
|
|
6314
6315
|
var _a;
|
|
6315
6316
|
let b = (_a = e19.state.facet(contextCallbacks)) == null ? void 0 : _a.addAttachment;
|
|
@@ -6317,20 +6318,20 @@ var DEFAULT_FILE_SEARCH_CONFIG = {
|
|
|
6317
6318
|
Logger.warn("No addAttachment callback provided");
|
|
6318
6319
|
return;
|
|
6319
6320
|
}
|
|
6320
|
-
let
|
|
6321
|
+
let S = await this.apiRequests.sendFileDetails({ path: m.path }).catch((e20) => (toast({
|
|
6321
6322
|
title: "Failed to get file details",
|
|
6322
6323
|
description: e20.message
|
|
6323
6324
|
}), null));
|
|
6324
|
-
if (!
|
|
6325
|
-
let C =
|
|
6326
|
-
if (C.startsWith("text/") || C.includes("json") || C.includes("xml")) w = new Blob([
|
|
6327
|
-
else if (
|
|
6328
|
-
w = deserializeBlob(base64ToDataURL(
|
|
6325
|
+
if (!S) return;
|
|
6326
|
+
let C = S.mimeType || "text/plain", w;
|
|
6327
|
+
if (C.startsWith("text/") || C.includes("json") || C.includes("xml")) w = new Blob([S.contents || ""], { type: C });
|
|
6328
|
+
else if (S.contents) try {
|
|
6329
|
+
w = deserializeBlob(base64ToDataURL(S.contents, C));
|
|
6329
6330
|
} catch {
|
|
6330
|
-
w = new Blob([
|
|
6331
|
+
w = new Blob([S.contents], { type: C });
|
|
6331
6332
|
}
|
|
6332
6333
|
else w = new Blob([""], { type: C });
|
|
6333
|
-
b(new File([w],
|
|
6334
|
+
b(new File([w], h, { type: C })), e19.dispatch({ changes: {
|
|
6334
6335
|
from: v,
|
|
6335
6336
|
to: y,
|
|
6336
6337
|
insert: ""
|
|
@@ -6339,8 +6340,8 @@ var DEFAULT_FILE_SEARCH_CONFIG = {
|
|
|
6339
6340
|
info: () => {
|
|
6340
6341
|
let e19 = document.createElement("div");
|
|
6341
6342
|
e19.classList.add("flex", "flex-col", "gap-1", "p-2");
|
|
6342
|
-
let
|
|
6343
|
-
|
|
6343
|
+
let g = document.createElement("div");
|
|
6344
|
+
g.classList.add("font-bold"), g.textContent = h, e19.append(g);
|
|
6344
6345
|
let _2 = document.createElement("div");
|
|
6345
6346
|
return _2.classList.add("text-xs", "text-muted-foreground"), _2.textContent = m.path, e19.append(_2), e19;
|
|
6346
6347
|
}
|
|
@@ -6605,20 +6606,20 @@ var import_compiler_runtime$8 = require_compiler_runtime();
|
|
|
6605
6606
|
const ReasoningAccordion = (e18) => {
|
|
6606
6607
|
let m = (0, import_compiler_runtime$8.c)(13), { reasoning: h, index: g, isStreaming: _ } = e18, v = g === void 0 ? 0 : g, y = _ === void 0 ? false : _, [b, x] = import_react.useState("");
|
|
6607
6608
|
if (!h && !y) return null;
|
|
6608
|
-
let
|
|
6609
|
+
let C = y ? "reasoning" : b, w;
|
|
6609
6610
|
m[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BotMessageSquare, { className: "h-3 w-3" }), m[0] = w) : w = m[0];
|
|
6610
|
-
let
|
|
6611
|
-
m[1] !==
|
|
6611
|
+
let E = y ? "Thinking" : "View reasoning", D = h.length > 0 && ` (${h.length} chars)`, O;
|
|
6612
|
+
m[1] !== E || m[2] !== D ? (O = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AccordionTrigger, {
|
|
6612
6613
|
className: "text-xs text-muted-foreground hover:bg-muted/50 px-2 py-1 h-auto rounded-sm [&[data-state=open]>svg]:rotate-180",
|
|
6613
6614
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
6614
6615
|
className: "flex items-center gap-2",
|
|
6615
6616
|
children: [
|
|
6616
6617
|
w,
|
|
6617
|
-
|
|
6618
|
+
E,
|
|
6618
6619
|
D
|
|
6619
6620
|
]
|
|
6620
6621
|
})
|
|
6621
|
-
}), m[1] =
|
|
6622
|
+
}), m[1] = E, m[2] = D, m[3] = O) : O = m[3];
|
|
6622
6623
|
let k;
|
|
6623
6624
|
m[4] === h ? k = m[5] : (k = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AccordionContent, {
|
|
6624
6625
|
className: "pb-2 px-2",
|
|
@@ -6637,14 +6638,14 @@ const ReasoningAccordion = (e18) => {
|
|
|
6637
6638
|
children: [O, k]
|
|
6638
6639
|
}), m[6] = O, m[7] = k, m[8] = A) : A = m[8];
|
|
6639
6640
|
let j;
|
|
6640
|
-
return m[9] !== v || m[10] !==
|
|
6641
|
+
return m[9] !== v || m[10] !== C || m[11] !== A ? (j = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Accordion, {
|
|
6641
6642
|
type: "single",
|
|
6642
6643
|
collapsible: true,
|
|
6643
6644
|
className: "w-full mb-2",
|
|
6644
|
-
value:
|
|
6645
|
+
value: C,
|
|
6645
6646
|
onValueChange: x,
|
|
6646
6647
|
children: A
|
|
6647
|
-
}, v), m[9] = v, m[10] =
|
|
6648
|
+
}, v), m[9] = v, m[10] = C, m[11] = A, m[12] = j) : j = m[12], j;
|
|
6648
6649
|
};
|
|
6649
6650
|
function formatToolName(e18) {
|
|
6650
6651
|
return e18.replace("tool-", "");
|
|
@@ -6673,7 +6674,7 @@ const ToolArgsRenderer = (e18) => {
|
|
|
6673
6674
|
};
|
|
6674
6675
|
var import_compiler_runtime$6 = require_compiler_runtime();
|
|
6675
6676
|
const ToolApprovalCard = (e18) => {
|
|
6676
|
-
let m = (0, import_compiler_runtime$6.c)(25), { toolName: h, input: g, approval:
|
|
6677
|
+
let m = (0, import_compiler_runtime$6.c)(25), { toolName: h, input: g, approval: y, onApprove: b, className: x } = e18, S;
|
|
6677
6678
|
m[0] === x ? S = m[1] : (S = cn("rounded-md border border-(--amber-6) bg-(--amber-2) p-3 space-y-3", x), m[0] = x, m[1] = S);
|
|
6678
6679
|
let C = `Approval required for ${formatToolName(h)}`, w;
|
|
6679
6680
|
m[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ShieldQuestionMark, { className: "h-4 w-4 text-(--amber-11) mt-0.5 shrink-0" }), m[2] = w) : w = m[2];
|
|
@@ -6702,24 +6703,24 @@ const ToolApprovalCard = (e18) => {
|
|
|
6702
6703
|
let O;
|
|
6703
6704
|
m[8] === g ? O = m[9] : (O = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ToolArgsRenderer, { input: g }), m[8] = g, m[9] = O);
|
|
6704
6705
|
let k;
|
|
6705
|
-
m[10] !==
|
|
6706
|
+
m[10] !== y.id || m[11] !== b ? (k = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
|
|
6706
6707
|
size: "xs",
|
|
6707
6708
|
variant: "outline",
|
|
6708
6709
|
onClick: () => b({
|
|
6709
|
-
id:
|
|
6710
|
+
id: y.id,
|
|
6710
6711
|
approved: false
|
|
6711
6712
|
}),
|
|
6712
6713
|
children: "Deny"
|
|
6713
|
-
}), m[10] =
|
|
6714
|
+
}), m[10] = y.id, m[11] = b, m[12] = k) : k = m[12];
|
|
6714
6715
|
let A;
|
|
6715
|
-
m[13] !==
|
|
6716
|
+
m[13] !== y.id || m[14] !== b ? (A = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
|
|
6716
6717
|
size: "xs",
|
|
6717
6718
|
onClick: () => b({
|
|
6718
|
-
id:
|
|
6719
|
+
id: y.id,
|
|
6719
6720
|
approved: true
|
|
6720
6721
|
}),
|
|
6721
6722
|
children: "Approve"
|
|
6722
|
-
}), m[13] =
|
|
6723
|
+
}), m[13] = y.id, m[14] = b, m[15] = A) : A = m[15];
|
|
6723
6724
|
let j;
|
|
6724
6725
|
m[16] !== k || m[17] !== A ? (j = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
6725
6726
|
className: "flex items-center justify-end gap-2",
|
|
@@ -6944,10 +6945,10 @@ function getTriggerToneClass(e18) {
|
|
|
6944
6945
|
}
|
|
6945
6946
|
}
|
|
6946
6947
|
const ToolHistoryRow = (e18) => {
|
|
6947
|
-
let m = (0, import_compiler_runtime$3.c)(34), { toolName: h, state: g, input: v, result: y, approval: b, index: x, className:
|
|
6948
|
+
let m = (0, import_compiler_runtime$3.c)(34), { toolName: h, state: g, input: v, result: y, approval: b, index: x, className: C, isActive: w } = e18, E = x === void 0 ? 0 : x, D = w === void 0 ? true : w, O;
|
|
6948
6949
|
m[0] !== D || m[1] !== g ? (O = !D && PENDING_STATES.has(g), m[0] = D, m[1] = g, m[2] = O) : O = m[2];
|
|
6949
|
-
let k = O, A = `tool-${
|
|
6950
|
-
m[3] ===
|
|
6950
|
+
let k = O, A = `tool-${E}`, j;
|
|
6951
|
+
m[3] === C ? j = m[4] : (j = cn("w-full", C), m[3] = C, m[4] = j);
|
|
6951
6952
|
let M;
|
|
6952
6953
|
m[5] !== k || m[6] !== g ? (M = cn("h-6 text-xs border-border shadow-none! ring-0! bg-muted/60 hover:bg-muted py-0 px-2 gap-1 rounded-sm [&[data-state=open]>svg]:rotate-180 hover:no-underline", k ? "text-muted-foreground" : getTriggerToneClass(g)), m[5] = k, m[6] = g, m[7] = M) : M = m[7];
|
|
6953
6954
|
let N;
|
|
@@ -6977,8 +6978,8 @@ const ToolHistoryRow = (e18) => {
|
|
|
6977
6978
|
className: M,
|
|
6978
6979
|
children: L
|
|
6979
6980
|
}), m[19] = L, m[20] = M, m[21] = R) : R = m[21];
|
|
6980
|
-
let
|
|
6981
|
-
m[22] !== b || m[23] !== v || m[24] !== y || m[25] !== g ? (
|
|
6981
|
+
let B;
|
|
6982
|
+
m[22] !== b || m[23] !== v || m[24] !== y || m[25] !== g ? (B = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AccordionContent, {
|
|
6982
6983
|
className: "py-2 px-2",
|
|
6983
6984
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(HistoryContent, {
|
|
6984
6985
|
state: g,
|
|
@@ -6986,13 +6987,13 @@ const ToolHistoryRow = (e18) => {
|
|
|
6986
6987
|
result: y,
|
|
6987
6988
|
approval: b
|
|
6988
6989
|
})
|
|
6989
|
-
}), m[22] = b, m[23] = v, m[24] = y, m[25] = g, m[26] =
|
|
6990
|
+
}), m[22] = b, m[23] = v, m[24] = y, m[25] = g, m[26] = B) : B = m[26];
|
|
6990
6991
|
let V;
|
|
6991
|
-
m[27] !== R || m[28] !==
|
|
6992
|
+
m[27] !== R || m[28] !== B ? (V = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(AccordionItem, {
|
|
6992
6993
|
value: "tool-call",
|
|
6993
6994
|
className: "border-0",
|
|
6994
|
-
children: [R,
|
|
6995
|
-
}), m[27] = R, m[28] =
|
|
6995
|
+
children: [R, B]
|
|
6996
|
+
}), m[27] = R, m[28] = B, m[29] = V) : V = m[29];
|
|
6996
6997
|
let H;
|
|
6997
6998
|
return m[30] !== V || m[31] !== A || m[32] !== j ? (H = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Accordion, {
|
|
6998
6999
|
type: "single",
|
|
@@ -7093,7 +7094,7 @@ const ToolCallView = (e18) => {
|
|
|
7093
7094
|
default:
|
|
7094
7095
|
return logNever(g), null;
|
|
7095
7096
|
}
|
|
7096
|
-
}, renderUIMessage = ({ message: e18, isStreamingReasoning: m, isLast:
|
|
7097
|
+
}, renderUIMessage = ({ message: e18, isStreamingReasoning: m, isLast: h, isActive: _, addToolApprovalResponse: v }) => {
|
|
7097
7098
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: e18.parts.map((e19, m2) => y(e19, m2)) });
|
|
7098
7099
|
function y(y2, b) {
|
|
7099
7100
|
if (isToolPart(y2)) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ToolCallView, {
|
|
@@ -7106,7 +7107,7 @@ const ToolCallView = (e18) => {
|
|
|
7106
7107
|
input: y2.input,
|
|
7107
7108
|
approval: y2.approval,
|
|
7108
7109
|
onApprove: v,
|
|
7109
|
-
isLive:
|
|
7110
|
+
isLive: h,
|
|
7110
7111
|
isActive: _
|
|
7111
7112
|
}, b);
|
|
7112
7113
|
if (isDataPart(y2)) return Logger.debug("Found data part", y2), null;
|
|
@@ -7117,7 +7118,7 @@ const ToolCallView = (e18) => {
|
|
|
7117
7118
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ReasoningAccordion, {
|
|
7118
7119
|
reasoning: y2.text,
|
|
7119
7120
|
index: b,
|
|
7120
|
-
isStreaming: m &&
|
|
7121
|
+
isStreaming: m && h && b === (e18.parts.length || 0) - 1
|
|
7121
7122
|
}, b);
|
|
7122
7123
|
case "file":
|
|
7123
7124
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AttachmentRenderer, { attachment: y2 }, b);
|
|
@@ -7130,7 +7131,7 @@ const ToolCallView = (e18) => {
|
|
|
7130
7131
|
input: y2.input,
|
|
7131
7132
|
approval: y2.approval,
|
|
7132
7133
|
onApprove: v,
|
|
7133
|
-
isLive:
|
|
7134
|
+
isLive: h,
|
|
7134
7135
|
isActive: _
|
|
7135
7136
|
}, b);
|
|
7136
7137
|
case "source-document":
|
|
@@ -7675,11 +7676,11 @@ function getRegistryResources(e18) {
|
|
|
7675
7676
|
return m.length === 0 ? NONE_RESOURCE : m;
|
|
7676
7677
|
}
|
|
7677
7678
|
function resourceExtension(e18) {
|
|
7678
|
-
let { language: m, store:
|
|
7679
|
+
let { language: m, store: h, onAddFiles: _ } = e18, v = () => getRegistryResources(h);
|
|
7679
7680
|
return [
|
|
7680
7681
|
m.data.of({ autocomplete: resourceCompletion(async () => v(), (e19) => {
|
|
7681
7682
|
var _a;
|
|
7682
|
-
return e19.type === NONE_RESOURCE_TYPE ? NONE_RESOURCE_FORMAT_COMPLETION : ((_a = getAIContextRegistry(
|
|
7683
|
+
return e19.type === NONE_RESOURCE_TYPE ? NONE_RESOURCE_FORMAT_COMPLETION : ((_a = getAIContextRegistry(h).getProvider(e19.type)) == null ? void 0 : _a.formatCompletion(e19)) || {};
|
|
7683
7684
|
}) }),
|
|
7684
7685
|
Prec.high(keymap.of([{
|
|
7685
7686
|
key: "Tab",
|
|
@@ -7692,12 +7693,12 @@ function resourceExtension(e18) {
|
|
|
7692
7693
|
resourceInputFilter,
|
|
7693
7694
|
resourceSync(v, { logger: Logger }),
|
|
7694
7695
|
resourcesField.init(() => {
|
|
7695
|
-
let e19 = getRegistryResources(
|
|
7696
|
+
let e19 = getRegistryResources(h);
|
|
7696
7697
|
return new Map(e19.map((e20) => [e20.uri, e20]));
|
|
7697
7698
|
}),
|
|
7698
7699
|
resourceTheme,
|
|
7699
7700
|
hoverResource({ createTooltip: (e19) => {
|
|
7700
|
-
let m2 = getAIContextRegistry(
|
|
7701
|
+
let m2 = getAIContextRegistry(h).getProvider(e19.type);
|
|
7701
7702
|
if (!m2) return Logger.warn("No provider found for resource", e19), asDom(e19.description || e19.name);
|
|
7702
7703
|
let _2 = m2.formatCompletion(e19), v2 = e19.description || e19.name;
|
|
7703
7704
|
if (!(_2 == null ? void 0 : _2.info)) return asDom(v2);
|
|
@@ -7806,26 +7807,26 @@ var import_compiler_runtime = require_compiler_runtime(), PopoverAnchor = Anchor
|
|
|
7806
7807
|
is_final: boolean().optional()
|
|
7807
7808
|
});
|
|
7808
7809
|
function routeIncomingChatChunk(e18, m) {
|
|
7809
|
-
let { controllerRef:
|
|
7810
|
+
let { controllerRef: h, activeRequestIdRef: _ } = m, v = h.current;
|
|
7810
7811
|
if (v === null) return "dropped-no-controller";
|
|
7811
7812
|
let y = _.current;
|
|
7812
7813
|
return y !== null && e18.message_id !== y ? (Logger.debug("Dropping stale chat chunk", {
|
|
7813
7814
|
chunkRequestId: e18.message_id,
|
|
7814
7815
|
activeRequestId: y
|
|
7815
|
-
}), "dropped-stale") : (e18.content && v.enqueue(e18.content), e18.is_final ? (v.close(),
|
|
7816
|
+
}), "dropped-stale") : (e18.content && v.enqueue(e18.content), e18.is_final ? (v.close(), h.current = null, _.current = null, "closed") : "enqueued");
|
|
7816
7817
|
}
|
|
7817
7818
|
const Chatbot = (e18) => {
|
|
7818
7819
|
var _a;
|
|
7819
|
-
let [m,
|
|
7820
|
+
let [m, y] = (0, import_react.useState)(""), [b, x] = (0, import_react.useState)(e18.config), [S, C] = (0, import_react.useState)(e18.config), [w, T] = (0, import_react.useState)(void 0), E = (0, import_react.useRef)(null), D = (0, import_react.useRef)(null), O = (0, import_react.useRef)(null), A = (0, import_react.useRef)(null);
|
|
7820
7821
|
Object.keys(e18.config).some((m2) => e18.config[m2] !== S[m2]) && (x(e18.config), C(e18.config));
|
|
7821
7822
|
let j = (0, import_react.useRef)(b);
|
|
7822
7823
|
j.current = b;
|
|
7823
|
-
let M = (0, import_react.useRef)(null), N = (0, import_react.useRef)(null), { data:
|
|
7824
|
+
let M = (0, import_react.useRef)(null), N = (0, import_react.useRef)(null), { data: F } = useAsyncData(async () => (await e18.get_chat_history({})).messages, []), I = e18.value.length > 0 ? e18.value : F, { messages: L, sendMessage: R, setMessages: z, status: B, stop: V, error: H, regenerate: U, clearError: W, addToolApprovalResponse: G } = useChat({
|
|
7824
7825
|
sendAutomaticallyWhen: ({ messages: e19 }) => hasPendingToolCalls(e19),
|
|
7825
|
-
transport: new DefaultChatTransport({ fetch: async (m2,
|
|
7826
|
+
transport: new DefaultChatTransport({ fetch: async (m2, h) => {
|
|
7826
7827
|
var _a2;
|
|
7827
|
-
if (
|
|
7828
|
-
let _ = JSON.parse(
|
|
7828
|
+
if (h === void 0) return fetch(m2);
|
|
7829
|
+
let _ = JSON.parse(h.body), v = h.signal, y2 = {
|
|
7829
7830
|
max_tokens: j.current.max_tokens,
|
|
7830
7831
|
temperature: j.current.temperature,
|
|
7831
7832
|
top_p: j.current.top_p,
|
|
@@ -7840,16 +7841,16 @@ const Chatbot = (e18) => {
|
|
|
7840
7841
|
...e19,
|
|
7841
7842
|
content: (_a3 = e19.parts) == null ? void 0 : _a3.map((e20) => "text" in e20 ? e20.text : "").join("\n")
|
|
7842
7843
|
};
|
|
7843
|
-
}),
|
|
7844
|
+
}), h2 = generateUUID(), b2 = new ReadableStream({
|
|
7844
7845
|
start(m4) {
|
|
7845
|
-
M.current = m4, N.current =
|
|
7846
|
+
M.current = m4, N.current = h2;
|
|
7846
7847
|
let _2 = () => {
|
|
7847
7848
|
try {
|
|
7848
7849
|
m4.close();
|
|
7849
7850
|
} catch (e19) {
|
|
7850
7851
|
Logger.debug("Controller may already be closed", { error: e19 });
|
|
7851
7852
|
}
|
|
7852
|
-
M.current = null, N.current = null, e18.cancel_prompt({ request_id:
|
|
7853
|
+
M.current = null, N.current = null, e18.cancel_prompt({ request_id: h2 }).catch((e19) => {
|
|
7853
7854
|
Logger.debug("cancel_prompt failed", { error: e19 });
|
|
7854
7855
|
});
|
|
7855
7856
|
};
|
|
@@ -7862,9 +7863,9 @@ const Chatbot = (e18) => {
|
|
|
7862
7863
|
}
|
|
7863
7864
|
});
|
|
7864
7865
|
return e18.send_prompt({
|
|
7865
|
-
request_id:
|
|
7866
|
+
request_id: h2,
|
|
7866
7867
|
messages: m3,
|
|
7867
|
-
config:
|
|
7868
|
+
config: y2
|
|
7868
7869
|
}).catch((e19) => {
|
|
7869
7870
|
var _a3;
|
|
7870
7871
|
(_a3 = M.current) == null ? void 0 : _a3.error(e19), M.current = null, N.current = null;
|
|
@@ -7893,8 +7894,8 @@ const Chatbot = (e18) => {
|
|
|
7893
7894
|
let K = B === "submitted" || B === "streaming", q = (m2) => {
|
|
7894
7895
|
let h = L.findIndex((e19) => e19.id === m2);
|
|
7895
7896
|
if (h !== -1) {
|
|
7896
|
-
let
|
|
7897
|
-
e18.delete_chat_message({ index: h }), z(
|
|
7897
|
+
let g = L.filter((e19) => e19.id !== m2);
|
|
7898
|
+
e18.delete_chat_message({ index: h }), z(g), e18.setValue(g);
|
|
7898
7899
|
}
|
|
7899
7900
|
}, J = Array.isArray(e18.allowAttachments) && e18.allowAttachments.length > 0 || e18.allowAttachments === true, Y = {
|
|
7900
7901
|
triggerCompletionRegex: /^\/(\w+)?/,
|
|
@@ -7906,11 +7907,11 @@ const Chatbot = (e18) => {
|
|
|
7906
7907
|
}, Z = e18.prompts.length > 0 ? "Type your message here, / for prompts" : "Type your message here...";
|
|
7907
7908
|
(0, import_react.useEffect)(() => {
|
|
7908
7909
|
var _a2;
|
|
7909
|
-
(_a2 =
|
|
7910
|
-
top:
|
|
7910
|
+
(_a2 = A.current) == null ? void 0 : _a2.scrollTo({
|
|
7911
|
+
top: A.current.scrollHeight,
|
|
7911
7912
|
behavior: "smooth"
|
|
7912
7913
|
});
|
|
7913
|
-
}, [L.length,
|
|
7914
|
+
}, [L.length, A]);
|
|
7914
7915
|
let Q = (_a = O.current) == null ? void 0 : _a.view, $ = () => {
|
|
7915
7916
|
if (Q) {
|
|
7916
7917
|
let e19 = Q.state.doc.length;
|
|
@@ -7920,7 +7921,7 @@ const Chatbot = (e18) => {
|
|
|
7920
7921
|
insert: ""
|
|
7921
7922
|
} });
|
|
7922
7923
|
}
|
|
7923
|
-
|
|
7924
|
+
y("");
|
|
7924
7925
|
};
|
|
7925
7926
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
7926
7927
|
className: "flex flex-col h-full bg-(--slate-1) rounded-lg shadow border border-(--slate-6) overflow-hidden relative",
|
|
@@ -7940,7 +7941,7 @@ const Chatbot = (e18) => {
|
|
|
7940
7941
|
}),
|
|
7941
7942
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
7942
7943
|
className: "grow overflow-y-auto gap-4 pt-8 pb-4 px-2 flex flex-col",
|
|
7943
|
-
ref:
|
|
7944
|
+
ref: A,
|
|
7944
7945
|
children: [
|
|
7945
7946
|
L.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
7946
7947
|
className: "flex flex-col items-center justify-center h-full text-muted-foreground text-center p-4",
|
|
@@ -7958,7 +7959,7 @@ const Chatbot = (e18) => {
|
|
|
7958
7959
|
}),
|
|
7959
7960
|
L.map((e19, m2) => {
|
|
7960
7961
|
var _a2;
|
|
7961
|
-
let h = (_a2 = e19.parts) == null ? void 0 : _a2.filter((e20) => e20.type === "text").map((e20) => e20.text).join("\n"),
|
|
7962
|
+
let h = (_a2 = e19.parts) == null ? void 0 : _a2.filter((e20) => e20.type === "text").map((e20) => e20.text).join("\n"), g = m2 === L.length - 1;
|
|
7962
7963
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
7963
7964
|
className: cn("flex flex-col group gap-2", e19.role === "user" ? "items-end" : "items-start"),
|
|
7964
7965
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -7966,9 +7967,9 @@ const Chatbot = (e18) => {
|
|
|
7966
7967
|
children: renderUIMessage({
|
|
7967
7968
|
message: e19,
|
|
7968
7969
|
isStreamingReasoning: B === "streaming",
|
|
7969
|
-
isLast:
|
|
7970
|
+
isLast: g,
|
|
7970
7971
|
isActive: K,
|
|
7971
|
-
addToolApprovalResponse:
|
|
7972
|
+
addToolApprovalResponse: g ? G : void 0
|
|
7972
7973
|
})
|
|
7973
7974
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
7974
7975
|
className: "flex justify-end text-xs gap-2 invisible group-hover:visible",
|
|
@@ -8003,13 +8004,13 @@ const Chatbot = (e18) => {
|
|
|
8003
8004
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("form", {
|
|
8004
8005
|
onSubmit: async (h) => {
|
|
8005
8006
|
if (h.preventDefault(), e18.disabled) return;
|
|
8006
|
-
let
|
|
8007
|
+
let g = w ? await convertToFileUIPart(w) : void 0;
|
|
8007
8008
|
R({
|
|
8008
8009
|
role: "user",
|
|
8009
8010
|
parts: [{
|
|
8010
8011
|
type: "text",
|
|
8011
8012
|
text: m
|
|
8012
|
-
}, ...
|
|
8013
|
+
}, ...g ?? []]
|
|
8013
8014
|
}), $();
|
|
8014
8015
|
},
|
|
8015
8016
|
ref: D,
|
|
@@ -8023,7 +8024,7 @@ const Chatbot = (e18) => {
|
|
|
8023
8024
|
e18.prompts.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PromptsPopover, {
|
|
8024
8025
|
prompts: e18.prompts,
|
|
8025
8026
|
onSelect: (e19) => {
|
|
8026
|
-
|
|
8027
|
+
y(e19), requestAnimationFrame(() => {
|
|
8027
8028
|
Q == null ? void 0 : Q.focus(), moveToEndOfEditor(Q);
|
|
8028
8029
|
});
|
|
8029
8030
|
}
|
|
@@ -8034,7 +8035,7 @@ const Chatbot = (e18) => {
|
|
|
8034
8035
|
value: m,
|
|
8035
8036
|
inputRef: O,
|
|
8036
8037
|
maxHeight: e18.maxHeight ? `${e18.maxHeight / 2}px` : void 0,
|
|
8037
|
-
onChange:
|
|
8038
|
+
onChange: y,
|
|
8038
8039
|
onSubmit: (e19, m2) => {
|
|
8039
8040
|
var _a2;
|
|
8040
8041
|
m2.trim() && ((_a2 = D.current) == null ? void 0 : _a2.requestSubmit());
|
|
@@ -8139,24 +8140,24 @@ var configDescriptions = {
|
|
|
8139
8140
|
description: "Penalizes new tokens (-2: favor, 2: avoid)"
|
|
8140
8141
|
}
|
|
8141
8142
|
}, ConfigPopup = (e18) => {
|
|
8142
|
-
let m = (0, import_compiler_runtime.c)(16), { config: h, onChange:
|
|
8143
|
-
m[0] !== h || m[1] !==
|
|
8144
|
-
let
|
|
8145
|
-
if (
|
|
8143
|
+
let m = (0, import_compiler_runtime.c)(16), { config: h, onChange: g } = e18, [_, y] = (0, import_react.useState)(false), b;
|
|
8144
|
+
m[0] !== h || m[1] !== g ? (b = (e19, m2) => {
|
|
8145
|
+
let _2 = m2 === null || Number.isNaN(m2) ? null : m2;
|
|
8146
|
+
if (_2 !== null) {
|
|
8146
8147
|
let { min: m3, max: h2 } = configDescriptions[e19];
|
|
8147
|
-
|
|
8148
|
+
_2 = Math.max(m3, Math.min(h2, _2));
|
|
8148
8149
|
}
|
|
8149
|
-
|
|
8150
|
+
g({
|
|
8150
8151
|
...h,
|
|
8151
|
-
[e19]:
|
|
8152
|
+
[e19]: _2
|
|
8152
8153
|
});
|
|
8153
|
-
}, m[0] = h, m[1] =
|
|
8154
|
-
let
|
|
8155
|
-
m[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
8156
|
-
e19.key === "Enter" && (e19.preventDefault(),
|
|
8157
|
-
}, m[3] =
|
|
8158
|
-
let
|
|
8159
|
-
m[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
8154
|
+
}, m[0] = h, m[1] = g, m[2] = b) : b = m[2];
|
|
8155
|
+
let x = b, S;
|
|
8156
|
+
m[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = (e19) => {
|
|
8157
|
+
e19.key === "Enter" && (e19.preventDefault(), y(false));
|
|
8158
|
+
}, m[3] = S) : S = m[3];
|
|
8159
|
+
let C = S, w;
|
|
8160
|
+
m[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
8160
8161
|
content: "Configuration",
|
|
8161
8162
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopoverTrigger, {
|
|
8162
8163
|
asChild: true,
|
|
@@ -8167,16 +8168,16 @@ var configDescriptions = {
|
|
|
8167
8168
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Settings, { className: "h-3 w-3" })
|
|
8168
8169
|
})
|
|
8169
8170
|
})
|
|
8170
|
-
}), m[4] =
|
|
8171
|
-
let
|
|
8172
|
-
m[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
8171
|
+
}), m[4] = w) : w = m[4];
|
|
8172
|
+
let T;
|
|
8173
|
+
m[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h4", {
|
|
8173
8174
|
className: "font-bold leading-none",
|
|
8174
8175
|
children: "Configuration"
|
|
8175
|
-
}), m[5] =
|
|
8176
|
-
let
|
|
8177
|
-
if (m[6] !== h || m[7] !==
|
|
8176
|
+
}), m[5] = T) : T = m[5];
|
|
8177
|
+
let E;
|
|
8178
|
+
if (m[6] !== h || m[7] !== x) {
|
|
8178
8179
|
let e19;
|
|
8179
|
-
m[9] ===
|
|
8180
|
+
m[9] === x ? e19 = m[10] : (e19 = (e20) => {
|
|
8180
8181
|
let [m2, h2] = e20;
|
|
8181
8182
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
8182
8183
|
className: "grid grid-cols-3 items-center gap-1",
|
|
@@ -8200,31 +8201,31 @@ var configDescriptions = {
|
|
|
8200
8201
|
minValue: configDescriptions[m2].min,
|
|
8201
8202
|
maxValue: configDescriptions[m2].max,
|
|
8202
8203
|
step: configDescriptions[m2].step ?? 1,
|
|
8203
|
-
onChange: (e21) =>
|
|
8204
|
-
onKeyDown:
|
|
8204
|
+
onChange: (e21) => x(m2, e21),
|
|
8205
|
+
onKeyDown: C,
|
|
8205
8206
|
className: "col-span-3"
|
|
8206
8207
|
})]
|
|
8207
8208
|
}, m2);
|
|
8208
|
-
}, m[9] =
|
|
8209
|
-
} else
|
|
8210
|
-
let
|
|
8211
|
-
m[11] ===
|
|
8209
|
+
}, m[9] = x, m[10] = e19), E = Objects.entries(h).map(e19), m[6] = h, m[7] = x, m[8] = E;
|
|
8210
|
+
} else E = m[8];
|
|
8211
|
+
let D;
|
|
8212
|
+
m[11] === E ? D = m[12] : (D = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopoverContent, {
|
|
8212
8213
|
className: "w-70 border",
|
|
8213
8214
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
8214
8215
|
className: "grid gap-3",
|
|
8215
|
-
children: [
|
|
8216
|
+
children: [T, E]
|
|
8216
8217
|
})
|
|
8217
|
-
}), m[11] =
|
|
8218
|
-
let
|
|
8219
|
-
return m[13] !==
|
|
8220
|
-
open:
|
|
8221
|
-
onOpenChange:
|
|
8222
|
-
children: [
|
|
8223
|
-
}), m[13] =
|
|
8218
|
+
}), m[11] = E, m[12] = D);
|
|
8219
|
+
let O;
|
|
8220
|
+
return m[13] !== _ || m[14] !== D ? (O = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Popover, {
|
|
8221
|
+
open: _,
|
|
8222
|
+
onOpenChange: y,
|
|
8223
|
+
children: [w, D]
|
|
8224
|
+
}), m[13] = _, m[14] = D, m[15] = O) : O = m[15], O;
|
|
8224
8225
|
}, PromptsPopover = (e18) => {
|
|
8225
|
-
let m = (0, import_compiler_runtime.c)(18), { prompts: h, onSelect: g } = e18, [_,
|
|
8226
|
+
let m = (0, import_compiler_runtime.c)(18), { prompts: h, onSelect: g } = e18, [_, y] = (0, import_react.useState)(false), [b, x] = (0, import_react.useState)(""), S;
|
|
8226
8227
|
m[0] === g ? S = m[1] : (S = (e19) => {
|
|
8227
|
-
[...e19.matchAll(/{{(\w+)}}/g)].length > 0 ? (x(e19),
|
|
8228
|
+
[...e19.matchAll(/{{(\w+)}}/g)].length > 0 ? (x(e19), y(true)) : g(e19);
|
|
8228
8229
|
}, m[0] = g, m[1] = S);
|
|
8229
8230
|
let C = S, w;
|
|
8230
8231
|
m[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
@@ -8257,7 +8258,7 @@ var configDescriptions = {
|
|
|
8257
8258
|
children: T
|
|
8258
8259
|
})] }) }), m[8] = T, m[9] = E);
|
|
8259
8260
|
let D;
|
|
8260
|
-
m[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = () =>
|
|
8261
|
+
m[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = () => y(false), m[10] = D) : D = m[10];
|
|
8261
8262
|
let O;
|
|
8262
8263
|
m[11] !== g || m[12] !== b ? (O = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopoverContent, {
|
|
8263
8264
|
side: "right",
|
|
@@ -8272,13 +8273,13 @@ var configDescriptions = {
|
|
|
8272
8273
|
let k;
|
|
8273
8274
|
return m[14] !== _ || m[15] !== E || m[16] !== O ? (k = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Popover, {
|
|
8274
8275
|
open: _,
|
|
8275
|
-
onOpenChange:
|
|
8276
|
+
onOpenChange: y,
|
|
8276
8277
|
children: [E, O]
|
|
8277
8278
|
}), m[14] = _, m[15] = E, m[16] = O, m[17] = k) : k = m[17], k;
|
|
8278
8279
|
}, PromptVariablesForm = (e18) => {
|
|
8279
|
-
let m = (0, import_compiler_runtime.c)(32), { prompt: h, onClose: g, onSelect: _ } = e18,
|
|
8280
|
-
m[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
8281
|
-
let [b, x] = (0, import_react.useState)(
|
|
8280
|
+
let m = (0, import_compiler_runtime.c)(32), { prompt: h, onClose: g, onSelect: _ } = e18, y;
|
|
8281
|
+
m[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = {}, m[0] = y) : y = m[0];
|
|
8282
|
+
let [b, x] = (0, import_react.useState)(y), S, C;
|
|
8282
8283
|
m[1] === h ? (S = m[2], C = m[3]) : (S = () => {
|
|
8283
8284
|
x([...h.matchAll(/{{(\w+)}}/g)].reduce(_temp2, {}));
|
|
8284
8285
|
}, C = [h], m[1] = h, m[2] = S, m[3] = C), (0, import_react.useEffect)(S, C);
|