@marimo-team/islands 0.17.8 → 0.18.1
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/Combination-DN9sfYvo.js +2569 -0
- package/dist/{ConnectedDataExplorerComponent-WbiFXhKG.js → ConnectedDataExplorerComponent-Dhlx78se.js} +53 -53
- package/dist/angular-html-BQrFNFXr.js +7 -0
- package/dist/{angular-html-DOnHLneR.js → angular-html-NuAgzn7W.js} +1 -1
- package/dist/{angular-ts-ClZ_D57Q.js → angular-ts-DqCVY0oX.js} +5 -5
- package/dist/{any-language-editor-YPQMljy9.js → any-language-editor-C8uMYHwj.js} +16 -16
- package/dist/{apl-BQW_2HeZ.js → apl-CqAdrzTc.js} +6 -6
- package/dist/{arc-DqQgmHse.js → arc-JJltOFJh.js} +2 -2
- package/dist/{architecture-O4VJ6CD3-BAmYZukJ.js → architecture-O4VJ6CD3-D7BH29FP.js} +3 -3
- package/dist/{architectureDiagram-W76B3OCA-6PSfeg_h.js → architectureDiagram-W76B3OCA-BXXl3wYv.js} +22 -22
- package/dist/assets/__vite-browser-external-CSegkGa0.js +1 -0
- package/dist/assets/{worker-BrDpRi2I.js → worker-CiT2i-Vo.js} +2 -2
- package/dist/{astro-B_6-YJyf.js → astro-BhYIwlT9.js} +6 -6
- package/dist/{blade-J--jW6Qd.js → blade-C_4Ocghp.js} +8 -8
- package/dist/{blockDiagram-QIGZ2CNN-BBAMkEiZ.js → blockDiagram-QIGZ2CNN-BEJ-ovZ-.js} +16 -16
- package/dist/{bsl-DwRO_vPO.js → bsl-Cam9acj0.js} +1 -1
- package/dist/{button-Hye6-2X8.js → button-Css_i-3R.js} +73 -71
- package/dist/c-DYGEdS-r.js +4 -0
- package/dist/{c4Diagram-FPNF74CW-H3kajU-4.js → c4Diagram-FPNF74CW-Bec_XtUS.js} +8 -8
- package/dist/{cairo-C5YwJoRd.js → cairo-DzTxWLx8.js} +1 -1
- package/dist/{channel-DO61Dn1s.js → channel-SHZ3pH5W.js} +1 -1
- package/dist/{chunk-3AY6CYHV-PGaWKUmM.js → chunk-3AY6CYHV-CY56r15D.js} +10 -10
- package/dist/{chunk-4BX2VUAB-C2wFBih6.js → chunk-4BX2VUAB-DakkmKa6.js} +1 -1
- package/dist/{chunk-4KMFLZZN-BLk4DGEy.js → chunk-4KMFLZZN-PjonQa4P.js} +1 -1
- package/dist/{chunk-55IACEB6-DQd6AZ1u.js → chunk-55IACEB6-lM9AcPFI.js} +1 -1
- package/dist/{chunk-6OXUPJBA-KTKvUtax.js → chunk-6OXUPJBA-CtytfqPH.js} +7 -7
- package/dist/{chunk-7GE3RBXV-2QiFkaHl.js → chunk-7GE3RBXV-Ch2VFfx5.js} +1 -1
- package/dist/{chunk-ABZYJK2D-plHo87kc.js → chunk-ABZYJK2D-ChhHEVnH.js} +2 -2
- package/dist/{chunk-BN7GFLIU-D4EEpMya.js → chunk-BN7GFLIU-4gH4skZE.js} +1 -1
- package/dist/{chunk-CVBHYZKI-nBM-9qrT.js → chunk-CVBHYZKI-CvLGu9Zl.js} +1 -1
- package/dist/{chunk-CXMOBAN2-DQYc62lB.js → chunk-CXMOBAN2-DmuTyIC5.js} +6 -6
- package/dist/{chunk-EXTU4WIE-CzYdpCHC.js → chunk-EXTU4WIE-5gY1kHy6.js} +2 -2
- package/dist/{chunk-FMBD7UC4-5CTTj0Jv.js → chunk-FMBD7UC4-CktmbpHj.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-iN-ePWJa.js → chunk-JA3XYJ7Z-DoOh1zwr.js} +4 -4
- package/dist/{chunk-JEIROHC2-DJN5-Qfh.js → chunk-JEIROHC2-BxiaYL-E.js} +1 -1
- package/dist/{chunk-K7UQS3LO-BFLlfdsi.js → chunk-K7UQS3LO-jAauQP9f.js} +7 -7
- package/dist/{chunk-KMC2YHZD-BvIjRiOn.js → chunk-KMC2YHZD-DStgMcLU.js} +1 -1
- package/dist/{chunk-QN33PNHL-Brd7yTp3.js → chunk-QN33PNHL-a6Utqqtp.js} +2 -2
- package/dist/{chunk-QYVHNE3D-2JcHbPf-.js → chunk-QYVHNE3D-Di-okNtj.js} +2 -2
- package/dist/{chunk-QZHKN3VN-uMYxkooq.js → chunk-QZHKN3VN-uG0W9XCn.js} +1 -1
- package/dist/{chunk-S3R3BYOJ-F8AD9lHs.js → chunk-S3R3BYOJ-D8svDLcB.js} +4 -4
- package/dist/{chunk-T44TD3VJ-BuOpBf-m.js → chunk-T44TD3VJ-C5NCytxJ.js} +1 -1
- package/dist/{chunk-TVAH2DTR-CnMJAbv2.js → chunk-TVAH2DTR-CXLr85J9.js} +6 -6
- package/dist/{chunk-TZMSLE5B-FgoUBce3.js → chunk-TZMSLE5B-1E_YfHMJ.js} +3 -3
- package/dist/{chunk-WFRQ32O7-XYO_3xAi.js → chunk-WFRQ32O7-BKSf4yCO.js} +1 -1
- package/dist/{chunk-WFWHJNB7-CO2PO-xj.js → chunk-WFWHJNB7-B1Zzkj_f.js} +1 -1
- package/dist/{chunk-XRWGC2XP-NEUwjXBT.js → chunk-XRWGC2XP-Bo8DlVQO.js} +1 -1
- package/dist/{chunk-ZPAFE4SF-CyeNhdPx.js → chunk-ZPAFE4SF-CmteRP75.js} +1 -1
- package/dist/classDiagram-KNZD7YFC-ZbE61oE0.js +40 -0
- package/dist/classDiagram-v2-RKCZMP56-BqhgFvho.js +40 -0
- package/dist/cmake-l0t4JJ7s.js +4 -0
- package/dist/{cobol-lK28EtZf.js → cobol-DJP1EK1j.js} +4 -4
- package/dist/{coffee-BSXLyDD2.js → coffee-CC5nEIi9.js} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-Cj0MgFkf.js → cose-bilkent-S5V4N54A-DKXAkYs4.js} +3 -3
- package/dist/cpp-ANCO5onE.js +8 -0
- package/dist/{cpp-BChLOGjC.js → cpp-D9LYqqPp.js} +3 -3
- package/dist/{crystal-CO99xfcp.js → crystal-BRqcx7ej.js} +6 -6
- package/dist/csharp-Bz76NQ_J.js +4 -0
- package/dist/css-DAuWdYvT.js +4 -0
- package/dist/{dagre-5GWH7T2D-CfnBQe48.js → dagre-5GWH7T2D-NKT9rsKF.js} +17 -17
- package/dist/{data-grid-overlay-editor-Bcf9kFFc.js → data-grid-overlay-editor-awitGObA.js} +2 -2
- package/dist/{diagram-N5W7TBWH-04TOCf2a.js → diagram-N5W7TBWH-D7Lb6iTv.js} +24 -24
- package/dist/{diagram-QEK2KX5R-CUipzemR.js → diagram-QEK2KX5R-BGNlTTAr.js} +19 -19
- package/dist/{diagram-S2PKOQOG-ei2iw-oI.js → diagram-S2PKOQOG-DArsBfLb.js} +19 -19
- package/dist/diff-C7LSwbp8.js +4 -0
- package/dist/{dist-cqkd3NiL.js → dist-6NgnwCMd.js} +3 -3
- package/dist/{dist-CqazJcfk.js → dist-BDVas7u0.js} +1 -1
- package/dist/{dist-CGt0X2sV.js → dist-BeL8NYBI.js} +2 -2
- package/dist/dist-BhEY2Z_n.js +14 -0
- package/dist/{dist-R4ZaAXGr.js → dist-BkgFFOsz.js} +2 -2
- package/dist/{dist-v-r4jaY5.js → dist-BoehQujB.js} +1 -1
- package/dist/{dist-D7XZ_tXQ.js → dist-C2nw9RHE.js} +1 -1
- package/dist/{dist-BGDtO7aZ.js → dist-CAS8F-hC.js} +1 -1
- package/dist/{dist-s1LnJ5PG.js → dist-CS4N5B_G.js} +1 -1
- package/dist/{dist-B4S8pyFo.js → dist-Cc9Qz-U4.js} +3 -3
- package/dist/{dist-4FDGlo3i.js → dist-CljL8T10.js} +4 -4
- package/dist/dist-Cud0QD8Y.js +10 -0
- package/dist/{dist-Bi6qs7up.js → dist-D9rISDoI.js} +1 -1
- package/dist/dist-D9t6fT6i.js +10 -0
- package/dist/{dist-CTSMnLwu.js → dist-DC47GA46.js} +805 -643
- package/dist/{dist-D0KS-m2t.js → dist-Dh6pWjSH.js} +2 -2
- package/dist/{dist-DtSssmhN.js → dist-DlI9v2Hh.js} +2 -2
- package/dist/{dist-CSq74zEj.js → dist-DyXVT1vy.js} +1 -1
- package/dist/{dist-DO00gdpV.js → dist-TdQLXZKo.js} +3 -3
- package/dist/{dist-B9WB0SFB.js → dist-WvPZl2Sl.js} +1 -1
- package/dist/{dist-B4jO5BUT.js → dist-q94GwumS.js} +1 -1
- package/dist/{dist-CmEIe_wJ.js → dist-qGG7RM7P.js} +4 -4
- package/dist/{edge-BTCHQnL0.js → edge-DeFsqb1i.js} +5 -5
- package/dist/{elixir-CCIwO0SA.js → elixir-BGD3Ym80.js} +3 -3
- package/dist/{elm-Bd8GMb2w.js → elm-sXxjAPfa.js} +2 -2
- package/dist/{erDiagram-AWTI2OKA-DOO75nhy.js → erDiagram-AWTI2OKA-Dd30FpUG.js} +21 -21
- package/dist/{erb-C2XKicEJ.js → erb-CVVq1SHo.js} +19 -19
- package/dist/{erlang-BWIWBPfK.js → erlang-CoJZUhS4.js} +1 -1
- package/dist/{error-banner-BqE1uF21.js → error-banner-DDDPnVZA.js} +126 -124
- package/dist/esm-BC9Qw9UQ.js +4056 -0
- package/dist/{esm-hR1r0nyt.js → esm-DDjaZl5x.js} +14 -14
- package/dist/{flowDiagram-PVAE7QVJ-AUJeRwR9.js → flowDiagram-PVAE7QVJ-Dfo2-D8K.js} +23 -23
- package/dist/{formats-dvT8nDgH.js → formats-DClgE90A.js} +41 -21
- package/dist/{fortran-fixed-form-DOH2AovA.js → fortran-fixed-form-DUVqo01t.js} +1 -1
- package/dist/{fortran-free-form-DWQ7SFTN.js → fortran-free-form-e6UrnOjF.js} +1 -1
- package/dist/{fsharp-GbWUX1wo.js → fsharp-8cm272ry.js} +1 -1
- package/dist/{ganttDiagram-OWAHRB6G-d9HlXS4A.js → ganttDiagram-OWAHRB6G-CE9rMeMb.js} +10 -10
- package/dist/{gdresource-DJQ1WGjU.js → gdresource-ClFnPq3a.js} +2 -2
- package/dist/gdscript-B0LZbOIR.js +4 -0
- package/dist/gdshader-DFrJP5ei.js +4 -0
- package/dist/{git-commit-73gQ2jal.js → git-commit-BYaLl5ls.js} +1 -1
- package/dist/{git-rebase-tezkvplk.js → git-rebase-8n1RW6UD.js} +1 -1
- package/dist/{gitGraph-ZV4HHKMB-4c_I6adP.js → gitGraph-ZV4HHKMB-DGIos9rl.js} +3 -3
- package/dist/{gitGraphDiagram-NY62KEGX-BdOzqIF7.js → gitGraphDiagram-NY62KEGX-DJjzf0dH.js} +19 -19
- package/dist/{glide-data-editor-B26PhZvE.js → glide-data-editor-CdlLXwb-.js} +94 -94
- package/dist/{glimmer-js-B4yN_cyX.js → glimmer-js-Dai0PeIS.js} +4 -4
- package/dist/{glimmer-ts-BFwzJYHf.js → glimmer-ts-D_TjaTpy.js} +4 -4
- package/dist/glsl-CxEuvrWH.js +5 -0
- package/dist/{glsl-Da3zbemV.js → glsl-CyGXCGI2.js} +1 -1
- package/dist/go-DdqSEUJy.js +4 -0
- package/dist/{graphql-DHCTQXG8.js → graphql-B1Dx1rcM.js} +4 -4
- package/dist/graphql-cxjxtpev.js +8 -0
- package/dist/{hack-Bq2SPMdZ.js → hack-DaQhTJ_x.js} +4 -4
- package/dist/{haml-DKOqVKa_.js → haml-Bp5GoYpB.js} +2 -2
- package/dist/haml-CiyF8Brn.js +6 -0
- package/dist/{handlebars-lWgxxMwE.js → handlebars-ChGgzSRK.js} +4 -4
- package/dist/haxe-DCTL_FCo.js +4 -0
- package/dist/hlsl-Bfx4Ir_v.js +4 -0
- package/dist/{html-CHICwrWt.js → html-C4wWoZph.js} +2 -2
- package/dist/html-CEOIAVhY.js +6 -0
- package/dist/{html-derivative-BvtUczEO.js → html-derivative-BBqlL-a4.js} +1 -1
- package/dist/{html-derivative-PpMnWy1w.js → html-derivative-COo0pM2g.js} +4 -4
- package/dist/{http-CL7ORkDb.js → http-BBZ3n4Nc.js} +9 -9
- package/dist/{hxml-dX0MdapH.js → hxml-B3WEmVIR.js} +1 -1
- package/dist/{info-63CPKGFF-Bz8ia4ds.js → info-63CPKGFF-BJRf7NSB.js} +3 -3
- package/dist/{infoDiagram-STP46IZ2-2N5rOSVf.js → infoDiagram-STP46IZ2-wRiL7RAF.js} +15 -15
- package/dist/java-Dg_uLDO2.js +4 -0
- package/dist/javascript-UdF6t51O.js +4 -0
- package/dist/{jinja-DsZfQ7_N.js → jinja-DIY5F3JL.js} +3 -3
- package/dist/{jison-BspgGSu_.js → jison-NvMl7ZRB.js} +1 -1
- package/dist/{journeyDiagram-BIP6EPQ6-AkLtiVmB.js → journeyDiagram-BIP6EPQ6-xE-QKfW3.js} +9 -9
- package/dist/json-DhGO17Us.js +4 -0
- package/dist/jsx-BnWl0sfU.js +4 -0
- package/dist/{julia-B_C4JiTM.js → julia-B99Wf6ks.js} +8 -8
- package/dist/{kanban-definition-6OIFK2YF-Crxg_HOg.js → kanban-definition-6OIFK2YF-xTM_lSKu.js} +15 -15
- package/dist/{katex-CTMLv-Xd.js → katex-_B79i9h_.js} +1 -1
- package/dist/{label-D3LNCORf.js → label-DboGLjGa.js} +234 -203
- package/dist/{latex-DoiWAlAQ.js → latex-CZecqbCK.js} +2 -2
- package/dist/less-DZgWnAzP.js +4 -0
- package/dist/{line-DBxDZ2GZ.js → line-Bm50ongk.js} +3 -3
- package/dist/{linear-B8XR-NVr.js → linear-CUCOukde.js} +2 -2
- package/dist/{liquid-Bv5Ox8yg.js → liquid-CBTCQ-BA.js} +4 -4
- package/dist/{lua-BKJ_BAEH.js → lua-BAo0xbXr.js} +1 -1
- package/dist/lua-C4LdLFQB.js +5 -0
- package/dist/main.js +9322 -8755
- package/dist/markdown-DmoiORob.js +4 -0
- package/dist/{marko-DEzr-2oj.js → marko-aJY3NB2u.js} +4 -4
- package/dist/{mdc-GC7qNQda.js → mdc-DUOD_AOa.js} +6 -6
- package/dist/{mermaid-Dl3ywmV2.js → mermaid-DKh-bxRG.js} +24 -24
- package/dist/{mermaid-parser.core-C5kJ8cMb.js → mermaid-parser.core-BkBK5D-D.js} +8 -8
- package/dist/mermaid.core-BlYN1aB0.js +31 -0
- package/dist/{mermaid.core-2hDUD3tS.js → mermaid.core-DhviAB-E.js} +35 -35
- package/dist/{mhchem-ydsvRuzJ.js → mhchem-BLvV19Q1.js} +1 -1
- package/dist/{mindmap-definition-Q6HEUPPD-u3xALYXy.js → mindmap-definition-Q6HEUPPD-DhGkxCFl.js} +20 -20
- package/dist/{nginx-WYx0kjQD.js → nginx-C4wBmtSL.js} +2 -2
- package/dist/{nim-B59jjkdb.js → nim-7HUrH4-G.js} +8 -8
- package/dist/{number-overlay-editor-BJoc-iTp.js → number-overlay-editor-B7JKtSXW.js} +1 -1
- package/dist/{ordinal-DncHRC0c.js → ordinal-CgAjEHLv.js} +1 -1
- package/dist/{packet-HUATNLJX-DZeFAkmI.js → packet-HUATNLJX-COt0WQbt.js} +3 -3
- package/dist/{perl-BWXWNd9p.js → perl-DcIsham4.js} +6 -6
- package/dist/{php-B2IAnMDw.js → php-BMhhkMnI.js} +6 -6
- package/dist/php-BgNggqvM.js +11 -0
- package/dist/{pie-WTHONI2E-CcN2FpmZ.js → pie-WTHONI2E-7VABasD6.js} +3 -3
- package/dist/{pieDiagram-ADFJNKIX-B40sMFEq.js → pieDiagram-ADFJNKIX-CV46TPgr.js} +24 -24
- package/dist/postcss-BV0gPaAN.js +4 -0
- package/dist/{pug-jCrWgXoo.js → pug-C7hWP9pb.js} +3 -3
- package/dist/python-DrIYjHcK.js +4 -0
- package/dist/{qml-BvryPJl6.js → qml-4wNHxISd.js} +1 -1
- package/dist/{quadrantDiagram-LMRXKWRM-C-qFDzwP.js → quadrantDiagram-LMRXKWRM-0ohBNHBM.js} +5 -5
- package/dist/r-bWdZZY4p.js +4 -0
- package/dist/{radar-NJJJXTRR-DgOJ0Ctc.js → radar-NJJJXTRR-DEeA59xM.js} +3 -3
- package/dist/{razor-BsW9JZIF.js → razor-kE6VSkUw.js} +4 -4
- package/dist/react-vega-BFAvc6S7.js +25 -0
- package/dist/{react-vega-ypEMYp9o.js → react-vega-L8_x6Wjr.js} +50 -23
- package/dist/regexp-Du19WMsH.js +4 -0
- package/dist/{requirementDiagram-4UW4RH46-Cl_mIh_y.js → requirementDiagram-4UW4RH46-DSnND54_.js} +20 -20
- package/dist/{rst-CRU76Z1W.js → rst-CjWaqJB3.js} +22 -22
- package/dist/{ruby-9gRRZYzM.js → ruby-CX211_l4.js} +12 -12
- package/dist/ruby-Dsch-4qr.js +22 -0
- package/dist/{sankeyDiagram-GR3RE2ED-Dm9k3dHY.js → sankeyDiagram-GR3RE2ED-C4jd7w5x.js} +6 -6
- package/dist/{sas-BDTaEI61.js → sas-Bso79j2d.js} +1 -1
- package/dist/{scss-B1u4Hrbb.js → scss-B2x0kI7c.js} +1 -1
- package/dist/scss-BHcIhkao.js +5 -0
- package/dist/sdbl-CiVVvobW.js +4 -0
- package/dist/{sequenceDiagram-C3RYC4MD-DmU9oc42.js → sequenceDiagram-C3RYC4MD-4cYnu6yf.js} +10 -10
- package/dist/{shaderlab-Bm5WmYK9.js → shaderlab-B4l4__9m.js} +1 -1
- package/dist/shellscript-Carvxcyf.js +4 -0
- package/dist/{shellsession-CN-wC7WL.js → shellsession-D-krdWsh.js} +1 -1
- package/dist/{slides-component-CZksIptv.js → slides-component-Cm9g-y7F.js} +1 -1
- package/dist/{soy-CeMP2PMh.js → soy-wFhS-Vjb.js} +3 -3
- package/dist/{sparql-M76X2Hg1.js → sparql-D6Kv-L3I.js} +1 -1
- package/dist/{spec-qDDGe5hl.js → spec-B7BWIiD8.js} +3 -3
- package/dist/sql-CVP77J2a.js +4 -0
- package/dist/{src-CePha-_O.js → src-DopHipf8.js} +1 -1
- package/dist/{stata-BH7l4VD7.js → stata-1fehkWpU.js} +1 -1
- package/dist/{stateDiagram-KXAO66HF-D_SUaMYR.js → stateDiagram-KXAO66HF-Cq-ezNe-.js} +21 -21
- package/dist/stateDiagram-v2-UMBNRL4Z-QxkaR8xk.js +39 -0
- package/dist/{step-zYP-E-fB.js → step-Bixovd6W.js} +1 -1
- package/dist/stex-IzMc-wiJ.js +5 -0
- package/dist/style.css +1 -2
- package/dist/stylus-BTQe34gF.js +4 -0
- package/dist/{svelte-TwcowgfT.js → svelte-DZNFxgw8.js} +4 -4
- package/dist/{templ-BpG-MhQv.js → templ-unaxtPDu.js} +3 -3
- package/dist/tex-B02KkJuq.js +5 -0
- package/dist/{tex-CBM64lBG.js → tex-WcClzGDl.js} +1 -1
- package/dist/{time-DRnNkqSS.js → time-D5kvxFYj.js} +2 -2
- package/dist/{timeline-definition-XQNQX7LJ-BgkB1JzD.js → timeline-definition-XQNQX7LJ-HouMBLkR.js} +6 -6
- package/dist/{treemap-75Q7IDZK-CGM2jb5Y.js → treemap-75Q7IDZK-rIabFN59.js} +3 -3
- package/dist/{ts-tags-CywVDBFD.js → ts-tags-Dw16jybl.js} +9 -9
- package/dist/tsx-2o7mnE6q.js +4 -0
- package/dist/turtle-CDidgplC.js +4 -0
- package/dist/{twig-DKvQCGZl.js → twig-CTY0fjwf.js} +23 -23
- package/dist/{types-2eTEqSwS.js → types-8-7JTTaW.js} +176 -175
- package/dist/typescript-Z3djoets.js +4 -0
- package/dist/{useAsyncData-6gisQ4pR.js → useAsyncData-_ejUTnFA.js} +1 -1
- package/dist/{useTheme-B-2frT0L.js → useTheme-Cpx27F7Z.js} +5 -2
- package/dist/{vega-component-C-bCSv1b.js → vega-component-r6NkLfxM.js} +213 -212
- package/dist/{vue-CUZawI_b.js → vue-BjZgU5Nz.js} +6 -6
- package/dist/vue-DhUZPDmo.js +10 -0
- package/dist/{vue-html-Bx7_HmU0.js → vue-html-C4EmFqJx.js} +7 -7
- package/dist/{vue-vine-9w78JPDc.js → vue-vine-DrjIj56i.js} +11 -11
- package/dist/{xml-CEIIhUsl.js → xml-BgKyT7dU.js} +1 -1
- package/dist/xml-C7KksLEJ.js +5 -0
- package/dist/{xsl-BynZr4Sw.js → xsl-9daNus4h.js} +2 -2
- package/dist/{xychartDiagram-6GGTOJPD-u5660hzT.js → xychartDiagram-6GGTOJPD-DkDWjoGr.js} +16 -16
- package/dist/yaml-zmBXofFy.js +4 -0
- package/package.json +8 -8
- package/src/components/chat/acp/blocks.tsx +1 -1
- package/src/components/chat/chat-panel.tsx +7 -3
- package/src/components/chat/reasoning-accordion.tsx +1 -1
- package/src/components/data-table/TableActions.tsx +18 -14
- package/src/components/data-table/__tests__/columns.test.tsx +143 -1
- package/src/components/data-table/__tests__/url-detector.test.tsx +92 -1
- package/src/components/data-table/columns.tsx +34 -17
- package/src/components/data-table/data-table.tsx +3 -0
- package/src/components/data-table/download-actions.tsx +16 -8
- package/src/components/data-table/row-viewer-panel/row-viewer.tsx +5 -5
- package/src/components/data-table/url-detector.tsx +43 -0
- package/src/components/datasources/utils.ts +7 -0
- package/src/components/editor/ai/ai-completion-editor.tsx +6 -3
- package/src/components/editor/cell/CreateCellButton.tsx +98 -88
- package/src/components/editor/chrome/panels/packages-panel.tsx +3 -1
- package/src/components/editor/chrome/types.ts +7 -0
- package/src/components/editor/file-tree/__tests__/file-expolorer.test.ts +179 -0
- package/src/components/editor/file-tree/file-explorer.tsx +71 -1
- package/src/components/editor/notebook-cell.tsx +27 -25
- package/src/components/editor/output/__tests__/ansi-reduce.test.ts +8 -0
- package/src/components/editor/output/ansi-reduce.ts +7 -4
- package/src/components/editor/renderers/grid-layout/grid-layout.tsx +35 -3
- package/src/components/pages/home-page.tsx +8 -3
- package/src/components/ui/table.tsx +1 -1
- package/src/core/ai/tools/__tests__/edit-notebook-tool.test.ts +156 -10
- package/src/core/ai/tools/__tests__/registry.test.ts +41 -3
- package/src/core/ai/tools/edit-notebook-tool.ts +86 -45
- package/src/core/ai/tools/registry.ts +5 -2
- package/src/core/cells/__tests__/logs.test.ts +371 -0
- package/src/core/cells/__tests__/session.test.ts +0 -9
- package/src/core/cells/logs.ts +16 -5
- package/src/core/cells/session.ts +0 -1
- package/src/core/codemirror/__tests__/format.test.ts +28 -2
- package/src/core/codemirror/copilot/client.ts +21 -1
- package/src/core/codemirror/copilot/copilot-config.tsx +29 -1
- package/src/core/codemirror/editing/commands.ts +4 -3
- package/src/core/codemirror/format.ts +105 -7
- package/src/core/codemirror/language/languages/sql/completion-store.ts +1 -1
- package/src/core/codemirror/language/languages/sql/sql.ts +8 -1
- package/src/core/codemirror/language/languages/sql/utils.ts +15 -0
- package/src/core/codemirror/language/panel/panel.tsx +1 -1
- package/src/core/config/__tests__/config-schema.test.ts +2 -0
- package/src/core/config/config-schema.ts +4 -3
- package/src/core/packages/__tests__/package-input-utils.test.ts +93 -0
- package/src/core/packages/package-input-utils.ts +36 -0
- package/src/core/websocket/useMarimoWebSocket.tsx +1 -1
- package/src/css/app/Cell.css +6 -1
- package/src/css/md.css +5 -0
- package/src/plugins/core/__test__/sanitize.test.ts +1 -1
- package/src/plugins/core/sanitize.ts +3 -1
- package/src/plugins/impl/DataTablePlugin.tsx +10 -1
- package/src/plugins/impl/DateTimePickerPlugin.tsx +3 -1
- package/src/plugins/impl/__tests__/DateTimePickerPlugin.test.tsx +3 -0
- package/src/plugins/impl/chat/ChatPlugin.tsx +1 -0
- package/src/plugins/impl/chat/chat-ui.tsx +140 -10
- package/src/plugins/impl/common/error-banner.tsx +7 -3
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +1 -0
- package/src/plugins/impl/vega/VegaPlugin.tsx +1 -0
- package/src/plugins/impl/vega/vega-component.tsx +26 -5
- package/src/plugins/layout/NavigationMenuPlugin.tsx +14 -3
- package/src/plugins/layout/ProgressPlugin.tsx +8 -5
- package/src/plugins/layout/StatPlugin.tsx +11 -4
- package/src/plugins/layout/__test__/ProgressPlugin.test.ts +37 -21
- package/src/utils/__tests__/urls.test.ts +165 -1
- package/src/utils/urls.ts +120 -0
- package/src/utils/vitals.ts +1 -1
- package/dist/Combination-BH_L276x.js +0 -2503
- package/dist/angular-html-BcsYKZNy.js +0 -7
- package/dist/assets/__vite-browser-external-BTNiCQ6O.js +0 -1
- package/dist/c-RhvfrIXd.js +0 -4
- package/dist/classDiagram-KNZD7YFC-BwfV2ECJ.js +0 -40
- package/dist/classDiagram-v2-RKCZMP56-CdtBTwGN.js +0 -40
- package/dist/cmake-Dv9WBQ8F.js +0 -4
- package/dist/cpp-De3HlDQp.js +0 -8
- package/dist/csharp-DONDYcLD.js +0 -4
- package/dist/css-KrVDDZJI.js +0 -4
- package/dist/diff-C_xoFltE.js +0 -4
- package/dist/dist-C_ywAD_6.js +0 -10
- package/dist/dist-Umyw8yf9.js +0 -10
- package/dist/download-Bb5BCMXq.js +0 -145
- package/dist/esm-Cjo4c4Vw.js +0 -2188
- package/dist/gdscript-CCtCxlxC.js +0 -4
- package/dist/gdshader-DRsZz2Lo.js +0 -4
- package/dist/glsl-Bpd55IJK.js +0 -5
- package/dist/go-BZbX8CmG.js +0 -4
- package/dist/graphql-C3W9lZa9.js +0 -8
- package/dist/haml-0dNTXdjh.js +0 -6
- package/dist/haxe-D67WIBdi.js +0 -4
- package/dist/hlsl-A_Yq2Muj.js +0 -4
- package/dist/html-C6ObPTU5.js +0 -6
- package/dist/java-BFakZb2S.js +0 -4
- package/dist/javascript-B8ZNE_3R.js +0 -4
- package/dist/json-CVwA-VKM.js +0 -4
- package/dist/jsx-TsEBgZMR.js +0 -4
- package/dist/less-R7I1oHvn.js +0 -4
- package/dist/lua-CdOJTa1m.js +0 -5
- package/dist/markdown-Czm489_C.js +0 -4
- package/dist/mermaid.core-D5NqLRbX.js +0 -31
- package/dist/php-B2RrCM5T.js +0 -11
- package/dist/postcss-CK8yd697.js +0 -4
- package/dist/python-BAyuw8wl.js +0 -4
- package/dist/r-CMKGyVVD.js +0 -4
- package/dist/react-vega-BIDT9Ttp.js +0 -25
- package/dist/regexp-C-NGZx14.js +0 -4
- package/dist/ruby-DC1LiM9o.js +0 -22
- package/dist/scss-9LDy_1oh.js +0 -5
- package/dist/sdbl-Cauk10zS.js +0 -4
- package/dist/shellscript-DPV_oGnY.js +0 -4
- package/dist/sql-BuUisnb3.js +0 -4
- package/dist/stateDiagram-v2-UMBNRL4Z-DdAPrjTz.js +0 -39
- package/dist/stex-BPCIi6ix.js +0 -5
- package/dist/stylus-BzfQ5p6U.js +0 -4
- package/dist/tex-DKaqHjWi.js +0 -5
- package/dist/tsx-CAS2Oalp.js +0 -4
- package/dist/turtle-Dqog6asB.js +0 -4
- package/dist/typescript-DHHJAsKz.js +0 -4
- package/dist/vue-DiyvUvuo.js +0 -10
- package/dist/xml-wE_-A0vH.js +0 -5
- package/dist/yaml-5htSumZI.js +0 -4
- /package/dist/{ImageComparisonComponent-DTO3nRq-.js → ImageComparisonComponent-CXBJ7S4z.js} +0 -0
- /package/dist/{abap-Cnc1m8d-.js → abap-I2cGjSH1.js} +0 -0
- /package/dist/{actionscript-3-g8zBgLKw.js → actionscript-3-DL1yGs6S.js} +0 -0
- /package/dist/{ada-MlSLvfsc.js → ada-BkGUMHAC.js} +0 -0
- /package/dist/{andromeeda-CkQePh6_.js → andromeeda-BWSHGuDt.js} +0 -0
- /package/dist/{apache-Cp-BBvQI.js → apache-DRnLyMnR.js} +0 -0
- /package/dist/{apex-CID9_iW1.js → apex-CA0TS4zn.js} +0 -0
- /package/dist/{applescript-Bv6vEFim.js → applescript-B8vB3y-q.js} +0 -0
- /package/dist/{ara-l5FvBxcT.js → ara-C0et56O5.js} +0 -0
- /package/dist/{array-lX94FrxB.js → array-vD2Vw0bk.js} +0 -0
- /package/dist/{asciidoc-BpLzRCLD.js → asciidoc-a6FHzc0d.js} +0 -0
- /package/dist/{asm-CxMfzk9G.js → asm-3DPfbryP.js} +0 -0
- /package/dist/{asterisk-Cbdk9I7-.js → asterisk-CbqErmo8.js} +0 -0
- /package/dist/{aurora-x-BmJfZyvk.js → aurora-x-Cq0GoPAm.js} +0 -0
- /package/dist/{awk-DZbdMF01.js → awk-GgrsjT7w.js} +0 -0
- /package/dist/{ayu-dark-Ce21p_3j.js → ayu-dark-BOgp0yX0.js} +0 -0
- /package/dist/{ballerina-6WMbs5Nh.js → ballerina-DErPOQth.js} +0 -0
- /package/dist/{bat-D70SunD8.js → bat-CkhnPpIS.js} +0 -0
- /package/dist/{beancount-DtkuCj7H.js → beancount-Rkl6N3Po.js} +0 -0
- /package/dist/{berry-DbfHEJGk.js → berry-C0cFa9Eb.js} +0 -0
- /package/dist/{bibtex-Cl9qlt9d.js → bibtex-PErECouH.js} +0 -0
- /package/dist/{bicep-0zpjixSE.js → bicep-B9tJFYg8.js} +0 -0
- /package/dist/{c-0VtUNZe8.js → c-xZK3SMJX.js} +0 -0
- /package/dist/{cadence-D2-Gq0t7.js → cadence-D2lNr2F0.js} +0 -0
- /package/dist/{catppuccin-frappe-DFz6L_QP.js → catppuccin-frappe-CEY1tx7K.js} +0 -0
- /package/dist/{catppuccin-latte-DSTm5iMg.js → catppuccin-latte-BjeOZATb.js} +0 -0
- /package/dist/{catppuccin-macchiato-D5cPlFDN.js → catppuccin-macchiato-HTrdL1Py.js} +0 -0
- /package/dist/{catppuccin-mocha-BBVxciDI.js → catppuccin-mocha-DaNBfKBN.js} +0 -0
- /package/dist/{chunk-57QY23SG-B6p-8LKm.js → chunk-57QY23SG-CtPsoWDn.js} +0 -0
- /package/dist/{clarity-CTtLMvQr.js → clarity-Di3YnyD4.js} +0 -0
- /package/dist/{click-outside-container-CR-VHaIe.js → click-outside-container-DnKND-Y5.js} +0 -0
- /package/dist/{clojure-CQ_s11PN.js → clojure-BaI1cLwf.js} +0 -0
- /package/dist/{cmake-DF99YgK0.js → cmake-Ct5KlIlx.js} +0 -0
- /package/dist/{codeowners-CRbICvXw.js → codeowners-B47SmYv4.js} +0 -0
- /package/dist/{codeql-DzUBsQZ9.js → codeql-C-RyBs2A.js} +0 -0
- /package/dist/{colors-C2w3uhVQ.js → colors-c_1kHhMM.js} +0 -0
- /package/dist/{common-keywords-D7noiVjl.js → common-keywords-qG52oQhe.js} +0 -0
- /package/dist/{common-lisp-CkedN1Bk.js → common-lisp-BEkqGRVt.js} +0 -0
- /package/dist/{coq-B7OBnzDw.js → coq-BMELwi0x.js} +0 -0
- /package/dist/{csharp-nXluFhrZ.js → csharp-D8kGQl5L.js} +0 -0
- /package/dist/{css-CPr1yM7G.js → css-D91D9ZFJ.js} +0 -0
- /package/dist/{csv-BTyvW9Dm.js → csv-DsiEeqZB.js} +0 -0
- /package/dist/{cue-CtcusocM.js → cue-Bd4pPCrb.js} +0 -0
- /package/dist/{cypher-BCo9_Gxf.js → cypher-CY6X1_fR.js} +0 -0
- /package/dist/{cytoscape.esm-CeO110wc.js → cytoscape.esm-D3qnLru1.js} +0 -0
- /package/dist/{d-qe1Yx8Pk.js → d-Dq3ZvYXH.js} +0 -0
- /package/dist/{dark-plus-COhL9N0K.js → dark-plus-DAkssByr.js} +0 -0
- /package/dist/{dart-C-zwBpkD.js → dart-CRwsUVcK.js} +0 -0
- /package/dist/{dax-9HVn3jKI.js → dax-yCcjIsFY.js} +0 -0
- /package/dist/{desktop-DcOWBslk.js → desktop-F3trsLZp.js} +0 -0
- /package/dist/{diff-0HrJYevs.js → diff-oSoYkmE6.js} +0 -0
- /package/dist/{dist-Ck_uei4a.js → dist-BEBl1fVc.js} +0 -0
- /package/dist/{dist-BOoOMWpw.js → dist-L1A29jng.js} +0 -0
- /package/dist/{dist-CFOn9U6a.js → dist-RsSoJ-Ow.js} +0 -0
- /package/dist/{dist-BLj2WRAk.js → dist-WgdRzo73.js} +0 -0
- /package/dist/{dist-Dndqm_ya.js → dist-_HymStvo.js} +0 -0
- /package/dist/{dist-B9BklWGT.js → dist-zlCh7zB9.js} +0 -0
- /package/dist/{docker-oHtI3hEB.js → docker-CzW3fUnV.js} +0 -0
- /package/dist/{dockerfile-DSCH583m.js → dockerfile-TsgC6Bmm.js} +0 -0
- /package/dist/{dotenv-sY_xnKYe.js → dotenv-C5RAv6mV.js} +0 -0
- /package/dist/{dracula-Bh9RLqOx.js → dracula-0J2lfdjD.js} +0 -0
- /package/dist/{dracula-soft-Cvp6b01Z.js → dracula-soft-CZX9ZgRW.js} +0 -0
- /package/dist/{dream-maker-6snTsD3J.js → dream-maker-D668Dv7O.js} +0 -0
- /package/dist/{duckdb-keywords-BCq77yXm.js → duckdb-keywords-DHIKlX_6.js} +0 -0
- /package/dist/{ebnf-BnX_o_Yq.js → ebnf-spWsoNeW.js} +0 -0
- /package/dist/{emacs-lisp-C6oq3DLk.js → emacs-lisp-9r6Oy_vR.js} +0 -0
- /package/dist/{everforest-dark-BYBypIqM.js → everforest-dark-BV3p6ZTT.js} +0 -0
- /package/dist/{everforest-light-D4mfI1FM.js → everforest-light-D4viDjQH.js} +0 -0
- /package/dist/{fcl-DDKjgNry.js → fcl-DOHQxani.js} +0 -0
- /package/dist/{fennel-C4o5c4mv.js → fennel-DdgItcQL.js} +0 -0
- /package/dist/{fish-BD9AkN7o.js → fish-Dah-0_yV.js} +0 -0
- /package/dist/{fluent-eCvhADRq.js → fluent-Dkmhuwpv.js} +0 -0
- /package/dist/{fortran-free-form-CuTQJQMN.js → fortran-free-form-DNLybXh-.js} +0 -0
- /package/dist/{gdscript-B40Spm2S.js → gdscript-DtYBhJ1b.js} +0 -0
- /package/dist/{gdshader-BZSmNWVa.js → gdshader-BV2VMgVk.js} +0 -0
- /package/dist/{genie-Cy_D8EWg.js → genie-BFMUrkvN.js} +0 -0
- /package/dist/{gherkin-ct-w1STV.js → gherkin-DppeDWDv.js} +0 -0
- /package/dist/{github-dark-CbIY86Wd.js → github-dark-D29L3HCC.js} +0 -0
- /package/dist/{github-dark-default-BlPRzuGs.js → github-dark-default-n3il8rgM.js} +0 -0
- /package/dist/{github-dark-dimmed-CwyHPTp3.js → github-dark-dimmed-oz4y0Wki.js} +0 -0
- /package/dist/{github-dark-high-contrast-Ch3E28Ga.js → github-dark-high-contrast-By7F7Fv0.js} +0 -0
- /package/dist/{github-light-BM3RayZ2.js → github-light-CWUlQb3u.js} +0 -0
- /package/dist/{github-light-default-BWhIdJf6.js → github-light-default-BffED7Ak.js} +0 -0
- /package/dist/{github-light-high-contrast-CKsJGAYi.js → github-light-high-contrast-Pu6OZUhP.js} +0 -0
- /package/dist/{gleam-Cwu_dIV7.js → gleam-BUcDYi_k.js} +0 -0
- /package/dist/{gnuplot-W2uzVV04.js → gnuplot-C1MgslgQ.js} +0 -0
- /package/dist/{go-C0N7iCwo.js → go-CYZiZRxy.js} +0 -0
- /package/dist/{groovy-BCFsp4zc.js → groovy-ClTIQGUH.js} +0 -0
- /package/dist/{gruvbox-dark-hard-DMFH1kAD.js → gruvbox-dark-hard-Bp86g2V_.js} +0 -0
- /package/dist/{gruvbox-dark-medium-DiHZEQva.js → gruvbox-dark-medium-BK2iIEfy.js} +0 -0
- /package/dist/{gruvbox-dark-soft-De9URWso.js → gruvbox-dark-soft-B_0xgXvI.js} +0 -0
- /package/dist/{gruvbox-light-hard-DzokvGK_.js → gruvbox-light-hard-DBlpi77o.js} +0 -0
- /package/dist/{gruvbox-light-medium-C4psEnS5.js → gruvbox-light-medium-CAccdTaF.js} +0 -0
- /package/dist/{gruvbox-light-soft-DL0f_6un.js → gruvbox-light-soft-DcO-EcR5.js} +0 -0
- /package/dist/{haskell-CDLvQWXZ.js → haskell-A1vUYtej.js} +0 -0
- /package/dist/{haxe-CLjmCvGB.js → haxe-DnHFv-TV.js} +0 -0
- /package/dist/{hcl-COL_PBAE.js → hcl-CU6j-Xhf.js} +0 -0
- /package/dist/{hjson-DkR4GFDO.js → hjson-ClOjKSoB.js} +0 -0
- /package/dist/{hlsl-BJKnqnDQ.js → hlsl-Q52_rKUP.js} +0 -0
- /package/dist/{houston-DYwZabvW.js → houston-DGG5Ln2h.js} +0 -0
- /package/dist/{http-2MVb-dsB.js → http-BgHOhKz2.js} +0 -0
- /package/dist/{hy-OsbjMwY0.js → hy-Bja9Numd.js} +0 -0
- /package/dist/{imba-Ddkaio98.js → imba-HOr9EX5j.js} +0 -0
- /package/dist/{ini-CNrkD-OZ.js → ini-EvmYJ-83.js} +0 -0
- /package/dist/{init-BU4YGOOg.js → init-BsH2JjGd.js} +0 -0
- /package/dist/{java-Ci6qXyg1.js → java-91iGU5ap.js} +0 -0
- /package/dist/{javascript-URuDoMWW.js → javascript-CPeJGbMe.js} +0 -0
- /package/dist/{json-DX7TV6Gi.js → json-N0VDmGwx.js} +0 -0
- /package/dist/{json5-Djp3uvi3.js → json5-BC1TPZZb.js} +0 -0
- /package/dist/{jsonc-XlYTIqzR.js → jsonc-B88-mC9I.js} +0 -0
- /package/dist/{jsonl-GwfHzMab.js → jsonl-CXu8ax4T.js} +0 -0
- /package/dist/{jsonnet-CPv7P6JN.js → jsonnet-0HtPQpiV.js} +0 -0
- /package/dist/{jssm-DdbAawAp.js → jssm-Bk3koTsK.js} +0 -0
- /package/dist/{jsx-DkGuBjr4.js → jsx-Cbdt0xgS.js} +0 -0
- /package/dist/{kanagawa-dragon-Vs6U6z1S.js → kanagawa-dragon-6wkRCL1O.js} +0 -0
- /package/dist/{kanagawa-lotus-Buvs3lt0.js → kanagawa-lotus-21R5pwns.js} +0 -0
- /package/dist/{kanagawa-wave-Bj2TElAo.js → kanagawa-wave-DvIMpnk3.js} +0 -0
- /package/dist/{katex-DHhoxnpM.js → katex-Cymo3Ugt.js} +0 -0
- /package/dist/{kotlin-Cpc_0A7a.js → kotlin-Brxn_vmg.js} +0 -0
- /package/dist/{kusto-Co9wVBCz.js → kusto-CLSwwyw9.js} +0 -0
- /package/dist/{laserwave-Ca61-FAH.js → laserwave-D2HyGZu4.js} +0 -0
- /package/dist/{lean-C0Aa7Fsj.js → lean-C7cjnnxn.js} +0 -0
- /package/dist/{less-_PXFbiQM.js → less-Db3q8KJ4.js} +0 -0
- /package/dist/{light-plus-5ex0bkO5.js → light-plus-C2C7fw4Z.js} +0 -0
- /package/dist/{llvm-BbKHoWwP.js → llvm-DAIyCtJL.js} +0 -0
- /package/dist/{log-CAfpKA3d.js → log-vTaTH8PJ.js} +0 -0
- /package/dist/{logo-_JZv2_m7.js → logo-D9tY6FNo.js} +0 -0
- /package/dist/{luau-By4kXsmQ.js → luau-IjR5-Ywl.js} +0 -0
- /package/dist/{main-BeKMoTBP.js → main-CRpnHr48.js} +0 -0
- /package/dist/{make-BRzozWYB.js → make-Cu-cnuA_.js} +0 -0
- /package/dist/{markdown-DBlXv3d9.js → markdown-C5F3cvct.js} +0 -0
- /package/dist/{marked.esm-CqJtK50L.js → marked.esm-DpOvkPbZ.js} +0 -0
- /package/dist/{material-theme-UdvytYzK.js → material-theme-DC62_X77.js} +0 -0
- /package/dist/{material-theme-darker-ifWxjE_M.js → material-theme-darker-ZdvrV-zE.js} +0 -0
- /package/dist/{material-theme-lighter-BJMt_hpe.js → material-theme-lighter-CjF6eqam.js} +0 -0
- /package/dist/{material-theme-ocean-DBLAtuvq.js → material-theme-ocean-B1OEP8g-.js} +0 -0
- /package/dist/{material-theme-palenight-D_bLdV4c.js → material-theme-palenight-DG7XKA0s.js} +0 -0
- /package/dist/{math-B9kWnSVt.js → math-kvEWD7RZ.js} +0 -0
- /package/dist/{matlab-SZvC4TdD.js → matlab-Bkgl6cmi.js} +0 -0
- /package/dist/{mdx-FGsuIggU.js → mdx-B3dxoxO_.js} +0 -0
- /package/dist/{mermaid-Bq_9A0K_.js → mermaid-Vk73zc_P.js} +0 -0
- /package/dist/{min-dark-CXAX-ZXK.js → min-dark-BXnwqHsA.js} +0 -0
- /package/dist/{min-light-BCnp1thB.js → min-light-t8HWsGPD.js} +0 -0
- /package/dist/{mipsasm-B5qmQK6W.js → mipsasm-DM3DsUwR.js} +0 -0
- /package/dist/{mojo-GIDM7_y7.js → mojo-CgJHtiXY.js} +0 -0
- /package/dist/{monokai-DL7jaPcf.js → monokai-CRI7M-ed.js} +0 -0
- /package/dist/{move-DRJvkv3E.js → move-DQHQ0ily.js} +0 -0
- /package/dist/{narrat-v6fb47Is.js → narrat-UVO3rS1B.js} +0 -0
- /package/dist/{nextflow-C602gAKa.js → nextflow-DrtHoX7E.js} +0 -0
- /package/dist/{nginx-xAcu9XCN.js → nginx-DJ7UgEOR.js} +0 -0
- /package/dist/{night-owl-Q-U_lEu6.js → night-owl-Ci5d2mya.js} +0 -0
- /package/dist/{nix-BRjH373I.js → nix-Cgk0qZB-.js} +0 -0
- /package/dist/{nord-CRIAyay1.js → nord-D3dA8PCc.js} +0 -0
- /package/dist/{nushell-5Ddvrppp.js → nushell-smo4Ehcx.js} +0 -0
- /package/dist/{objective-c-zrea_Ajz.js → objective-c-CVuojEvS.js} +0 -0
- /package/dist/{objective-cpp-BMgGRJTH.js → objective-cpp-Bpp59CkK.js} +0 -0
- /package/dist/{ocaml-Cc5CTR8t.js → ocaml-DYQwODYU.js} +0 -0
- /package/dist/{one-dark-pro-cEF3x_tc.js → one-dark-pro-CdYrsWA6.js} +0 -0
- /package/dist/{one-light-B0buW1FQ.js → one-light-B0fXewxa.js} +0 -0
- /package/dist/{pascal-C5MhYtdx.js → pascal-G_r9auPk.js} +0 -0
- /package/dist/{path-B-wCTTNY.js → path-DIzMdTua.js} +0 -0
- /package/dist/{plastic-4xY83A97.js → plastic-CC7C-r0m.js} +0 -0
- /package/dist/{plsql-DiS5vMuw.js → plsql-DmZBDDMQ.js} +0 -0
- /package/dist/{po-CE5EllyY.js → po-Bdl0SmZa.js} +0 -0
- /package/dist/{poimandres-C02cLu8D.js → poimandres-BPoRyzO_.js} +0 -0
- /package/dist/{polar-NxJPG_A1.js → polar-DdEuU550.js} +0 -0
- /package/dist/{postcss-BKFdDTSc.js → postcss-DgtXUb_w.js} +0 -0
- /package/dist/{powerquery-ClOwEHrw.js → powerquery-D5rcV1b7.js} +0 -0
- /package/dist/{powershell-DtnsETbd.js → powershell-CreFd35r.js} +0 -0
- /package/dist/{prisma-DQRqqd02.js → prisma-BSSS_9KD.js} +0 -0
- /package/dist/{prolog-BXwR1iEr.js → prolog-Cxq7ex3-.js} +0 -0
- /package/dist/{proto-DbdCTNJQ.js → proto-Di89JUpw.js} +0 -0
- /package/dist/{puppet-C0fmEeZ8.js → puppet-D-8yt0A2.js} +0 -0
- /package/dist/{purescript-DCzClV2L.js → purescript-Dsyys8lw.js} +0 -0
- /package/dist/{python-C9XsBnIS.js → python-DyJn0gY6.js} +0 -0
- /package/dist/{qmldir-BgPLvM_B.js → qmldir-Djlda7Cs.js} +0 -0
- /package/dist/{qss-DH_QKtyV.js → qss-DtDj95Ib.js} +0 -0
- /package/dist/{r-CE7tet3U.js → r-9vHvMbjq.js} +0 -0
- /package/dist/{racket-BXFuJ8S4.js → racket-BQnOONmJ.js} +0 -0
- /package/dist/{raku-BV2f5Bfp.js → raku-DZArQH1C.js} +0 -0
- /package/dist/{react-plotly-BSDG5040.js → react-plotly-B8bzf42j.js} +0 -0
- /package/dist/{red-NReit8D_.js → red-DdIrZaxO.js} +0 -0
- /package/dist/{reg-y78MnffL.js → reg-CM_FOY35.js} +0 -0
- /package/dist/{regexp-BkaqnlX1.js → regexp-Dh_KbmYB.js} +0 -0
- /package/dist/{rel-ChUSBGxs.js → rel-Cf8vFh7G.js} +0 -0
- /package/dist/{riscv-Cw3bJM3f.js → riscv-DFLesDmH.js} +0 -0
- /package/dist/{rose-pine-C_LOz2fx.js → rose-pine-C6TQipgc.js} +0 -0
- /package/dist/{rose-pine-dawn-DAyopyJp.js → rose-pine-dawn-DUw8_6c0.js} +0 -0
- /package/dist/{rose-pine-moon-D65s7ycF.js → rose-pine-moon-5rpZhuOi.js} +0 -0
- /package/dist/{rust-CNYdgIe2.js → rust-CLaTh4j5.js} +0 -0
- /package/dist/{sass-CTLsc-He.js → sass-DXaowKfb.js} +0 -0
- /package/dist/{scala-DAvnmlLT.js → scala-BwYNCkHH.js} +0 -0
- /package/dist/{scheme-BQ8akAiY.js → scheme-Cwv1j_5J.js} +0 -0
- /package/dist/{sdbl-BqdEdxub.js → sdbl-ZWGgjiIv.js} +0 -0
- /package/dist/{shellscript-SX0nv4lc.js → shellscript-CHtXIYYk.js} +0 -0
- /package/dist/{slack-dark-DP48wn3J.js → slack-dark-CEL96wwz.js} +0 -0
- /package/dist/{slack-ochin-JvZjQMr4.js → slack-ochin-Ih8BUTjo.js} +0 -0
- /package/dist/{smalltalk-Cd_zoqRt.js → smalltalk-Bz_Wq6O1.js} +0 -0
- /package/dist/{snazzy-light-Dn5RlLOZ.js → snazzy-light-BtCbn8qt.js} +0 -0
- /package/dist/{solarized-dark-juR81_fw.js → solarized-dark-2ncbM9MD.js} +0 -0
- /package/dist/{solarized-light-U1mjAkaE.js → solarized-light-Bw0RlZC7.js} +0 -0
- /package/dist/{solidity-DfzZ5d-O.js → solidity-Dl1Szhqk.js} +0 -0
- /package/dist/{solr-CNZE5yrI.js → solr-Kwz1kGU1.js} +0 -0
- /package/dist/{splunk-K8fn70fG.js → splunk-D_aQa7Wj.js} +0 -0
- /package/dist/{spreadsheet-DQPJGjZQ.js → spreadsheet-D6FABxcn.js} +0 -0
- /package/dist/{sql-CAF6o9lq.js → sql-Bl2dBUIk.js} +0 -0
- /package/dist/{sql-DRtPaiem.js → sql-ZN4U_4B1.js} +0 -0
- /package/dist/{ssh-config-BXqbrXDi.js → ssh-config-BZDNWhA1.js} +0 -0
- /package/dist/{stex-D1sWhacG.js → stex-B5cVJDuZ.js} +0 -0
- /package/dist/{stylus-C_YQrfMD.js → stylus-ByL4A079.js} +0 -0
- /package/dist/{swift-Ceo6tYUp.js → swift-scoJKQVi.js} +0 -0
- /package/dist/{synthwave-84-CHXFapSW.js → synthwave-84-DKtuD_wy.js} +0 -0
- /package/dist/{system-verilog-D4CJAYbc.js → system-verilog-Bv-1IX35.js} +0 -0
- /package/dist/{systemd-CHq8PvwE.js → systemd-BzGxwp-W.js} +0 -0
- /package/dist/{talonscript-D6aZJv_Q.js → talonscript-BSbePVqO.js} +0 -0
- /package/dist/{tasl-BWmlUeU7.js → tasl-BA3aDFU3.js} +0 -0
- /package/dist/{tcl-C3YCHzLh.js → tcl-BAw9Lg69.js} +0 -0
- /package/dist/{terraform-y7dSvHa7.js → terraform-D50En-Co.js} +0 -0
- /package/dist/{tiddlywiki-DotFbxlj.js → tiddlywiki-Bl1_jWGY.js} +0 -0
- /package/dist/{tiki-cZC65BMY.js → tiki-BDy2Aqau.js} +0 -0
- /package/dist/{timer--XD4eQXe.js → timer-Dde4NBPL.js} +0 -0
- /package/dist/{tokyo-night-A0-IVocs.js → tokyo-night-DXO9qP_t.js} +0 -0
- /package/dist/{toml-OrfgdRYt.js → toml-Cubg1uUB.js} +0 -0
- /package/dist/{treemap-BjIqNFzX.js → treemap-BLQ6nYXt.js} +0 -0
- /package/dist/{tsv-B2Hf1H8S.js → tsv-vZzoqqJp.js} +0 -0
- /package/dist/{tsx-DGPbtVdN.js → tsx-LnCcyy2E.js} +0 -0
- /package/dist/{turtle-DsNtk6IM.js → turtle-CMwgyTdm.js} +0 -0
- /package/dist/{typescript-CCzz7yCV.js → typescript-B5rt_l9e.js} +0 -0
- /package/dist/{typespec-DUIO3iAy.js → typespec-CkLBOALm.js} +0 -0
- /package/dist/{typst-CzQn6sYd.js → typst-C-inGA8y.js} +0 -0
- /package/dist/{v-DDSEES9z.js → v-CFTQQNNR.js} +0 -0
- /package/dist/{vala-Cbu40xKX.js → vala-CEP8R4Sr.js} +0 -0
- /package/dist/{vb-DtlqoV5V.js → vb-LCy_gAYP.js} +0 -0
- /package/dist/{verilog-CCzhlD5Z.js → verilog-CjetHjeY.js} +0 -0
- /package/dist/{vesper-DJTKEjYY.js → vesper-C1ptU1oI.js} +0 -0
- /package/dist/{vhdl-DDdF26gx.js → vhdl-BwoGC9LM.js} +0 -0
- /package/dist/{viml-Csgqqvxa.js → viml-CydZIHfP.js} +0 -0
- /package/dist/{vitesse-black-B_9_MY9n.js → vitesse-black-C-p75DbZ.js} +0 -0
- /package/dist/{vitesse-dark-5oLbBBDP.js → vitesse-dark-Ai-v_ovz.js} +0 -0
- /package/dist/{vitesse-light-DY7aCeME.js → vitesse-light-DQ9NGEHC.js} +0 -0
- /package/dist/{vyper-CJCjsleu.js → vyper-BF3ELXiG.js} +0 -0
- /package/dist/{wasm-DtNse08w.js → wasm-OjKRvUGa.js} +0 -0
- /package/dist/{wasm-BSZ3My3r.js → wasm-sMdbPauS.js} +0 -0
- /package/dist/{wenyan-BvPQ-H9y.js → wenyan-jAkt3eQa.js} +0 -0
- /package/dist/{wgsl-B65N7iDC.js → wgsl-C164tHZL.js} +0 -0
- /package/dist/{wikitext-BIFkMlQo.js → wikitext-DVNWOcXh.js} +0 -0
- /package/dist/{wit-DP8045yv.js → wit-BiebwFst.js} +0 -0
- /package/dist/{wolfram-DHmulSSf.js → wolfram-Dej0TMYQ.js} +0 -0
- /package/dist/{yaml-BW6YUxU4.js → yaml-D1dcMKz3.js} +0 -0
- /package/dist/{zenscript-CkfsSip8.js → zenscript-DR8tpung.js} +0 -0
- /package/dist/{zig-DxQnpavN.js → zig-DqxNCCzt.js} +0 -0
- /package/src/components/{chat → markdown}/markdown-renderer.css +0 -0
- /package/src/components/{chat → markdown}/markdown-renderer.tsx +0 -0
|
@@ -2,15 +2,15 @@ import { s as __toESM } from "./chunk-DgPTj83v.js";
|
|
|
2
2
|
import { t as require_react } from "./react-DXQlph6m.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-DTozApu4.js";
|
|
4
4
|
import "./createLucideIcon-ixdBmsqu.js";
|
|
5
|
-
import {
|
|
5
|
+
import { C as CircleQuestionMark, h as asRemoteURL, i as Alert, n as useDeepCompareMemoize, o as AlertTitle, s as isValid, t as arrow } from "./formats-DClgE90A.js";
|
|
6
6
|
import "./clsx-JH8KOlt9.js";
|
|
7
|
-
import {
|
|
7
|
+
import { l as Events } from "./button-Css_i-3R.js";
|
|
8
8
|
import { o as Objects, s as Logger } from "./hotkeys-C3KM59Ph.js";
|
|
9
|
-
import "./Combination-
|
|
9
|
+
import "./Combination-DN9sfYvo.js";
|
|
10
10
|
import { t as require_jsx_runtime } from "./jsx-runtime-Duz3IlLt.js";
|
|
11
11
|
import "./react-dom-DBPBYhx0.js";
|
|
12
|
-
import {
|
|
13
|
-
import { m as useEvent_default, t as useTheme } from "./useTheme-
|
|
12
|
+
import { l as Tooltip, n as ErrorBanner } from "./error-banner-DDDPnVZA.js";
|
|
13
|
+
import { m as useEvent_default, t as useTheme } from "./useTheme-Cpx27F7Z.js";
|
|
14
14
|
import "./isArrayLikeObject-LulrZoeO.js";
|
|
15
15
|
import "./isSymbol-bQx0U8Lk.js";
|
|
16
16
|
import "./toNumber-C6hfsNmF.js";
|
|
@@ -24,26 +24,26 @@ import { a as tooltipHandler, n as vegaLoadData } from "./loader-BCInj1Mf.js";
|
|
|
24
24
|
import { t as uniq_default } from "./uniq-CMMw6UdM.js";
|
|
25
25
|
import "./zod-AnT9BweX.js";
|
|
26
26
|
import "./invariant-BEpJUgj9.js";
|
|
27
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
27
|
+
import { t as useAsyncData } from "./useAsyncData-_ejUTnFA.js";
|
|
28
28
|
import { n as formats } from "./vega-loader.browser-DQF9pFhs.js";
|
|
29
29
|
import "./precisionRound-vxMVRvgy.js";
|
|
30
|
-
import "./linear-
|
|
31
|
-
import { t as j } from "./react-vega-
|
|
32
|
-
import "./ordinal-
|
|
33
|
-
import "./time-
|
|
30
|
+
import "./linear-CUCOukde.js";
|
|
31
|
+
import { t as j } from "./react-vega-L8_x6Wjr.js";
|
|
32
|
+
import "./ordinal-CgAjEHLv.js";
|
|
33
|
+
import "./time-D5kvxFYj.js";
|
|
34
34
|
import "./range-CqZlY8CG.js";
|
|
35
35
|
import "./defaultLocale-C98cxApy.js";
|
|
36
36
|
import "./defaultLocale-CaLfYlVx.js";
|
|
37
|
-
import "./path-
|
|
38
|
-
import "./math-
|
|
39
|
-
import "./arc-
|
|
40
|
-
import "./array-
|
|
41
|
-
import "./step-
|
|
42
|
-
import "./line-
|
|
43
|
-
import "./init-
|
|
44
|
-
import "./timer
|
|
45
|
-
import "./colors-
|
|
46
|
-
import "./treemap-
|
|
37
|
+
import "./path-DIzMdTua.js";
|
|
38
|
+
import "./math-kvEWD7RZ.js";
|
|
39
|
+
import "./arc-JJltOFJh.js";
|
|
40
|
+
import "./array-vD2Vw0bk.js";
|
|
41
|
+
import "./step-Bixovd6W.js";
|
|
42
|
+
import "./line-Bm50ongk.js";
|
|
43
|
+
import "./init-BsH2JjGd.js";
|
|
44
|
+
import "./timer-Dde4NBPL.js";
|
|
45
|
+
import "./colors-c_1kHhMM.js";
|
|
46
|
+
import "./treemap-BLQ6nYXt.js";
|
|
47
47
|
var import_compiler_runtime = /* @__PURE__ */ __toESM(require_compiler_runtime(), 1), import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
48
48
|
function fixRelativeUrl(e) {
|
|
49
49
|
return e.data && "url" in e.data && (e.data.url = asRemoteURL(e.data.url).href), e;
|
|
@@ -71,23 +71,23 @@ var NON_INTERACTIVE_MARKS = /* @__PURE__ */ new Set([
|
|
|
71
71
|
]);
|
|
72
72
|
const Marks = {
|
|
73
73
|
getMarkType(e) {
|
|
74
|
-
let
|
|
75
|
-
if (NON_INTERACTIVE_MARKS.has(
|
|
76
|
-
return
|
|
74
|
+
let w = typeof e == "string" ? e : e.type;
|
|
75
|
+
if (NON_INTERACTIVE_MARKS.has(w)) throw Error("Not supported");
|
|
76
|
+
return w;
|
|
77
77
|
},
|
|
78
78
|
isInteractive(e) {
|
|
79
|
-
let
|
|
80
|
-
return !NON_INTERACTIVE_MARKS.has(
|
|
79
|
+
let w = typeof e == "string" ? e : e.type;
|
|
80
|
+
return !NON_INTERACTIVE_MARKS.has(w);
|
|
81
81
|
},
|
|
82
82
|
makeClickable(e) {
|
|
83
|
-
let
|
|
84
|
-
return
|
|
83
|
+
let w = typeof e == "string" ? e : e.type;
|
|
84
|
+
return w in Mark ? typeof e == "string" ? {
|
|
85
85
|
type: e,
|
|
86
86
|
cursor: "pointer",
|
|
87
87
|
tooltip: true
|
|
88
88
|
} : {
|
|
89
89
|
...e,
|
|
90
|
-
type:
|
|
90
|
+
type: w,
|
|
91
91
|
cursor: "pointer",
|
|
92
92
|
tooltip: true
|
|
93
93
|
} : e;
|
|
@@ -135,9 +135,9 @@ const Marks = {
|
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
137
|
},
|
|
138
|
-
interval(e,
|
|
138
|
+
interval(e, w) {
|
|
139
139
|
return {
|
|
140
|
-
name: ParamNames.interval(
|
|
140
|
+
name: ParamNames.interval(w),
|
|
141
141
|
select: {
|
|
142
142
|
type: "interval",
|
|
143
143
|
encodings: getEncodingAxisForMark(e),
|
|
@@ -152,9 +152,9 @@ const Marks = {
|
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
},
|
|
155
|
-
point(e,
|
|
155
|
+
point(e, w) {
|
|
156
156
|
return {
|
|
157
|
-
name: ParamNames.point(
|
|
157
|
+
name: ParamNames.point(w),
|
|
158
158
|
select: {
|
|
159
159
|
type: "point",
|
|
160
160
|
encodings: getEncodingAxisForMark(e),
|
|
@@ -203,8 +203,8 @@ function getEncodingAxisForMark(e) {
|
|
|
203
203
|
case Mark.arc:
|
|
204
204
|
return ["color"];
|
|
205
205
|
case Mark.bar: {
|
|
206
|
-
let
|
|
207
|
-
return
|
|
206
|
+
let w = getDirectionOfBar(e);
|
|
207
|
+
return w === "horizontal" ? ["y"] : w === "vertical" ? ["x"] : void 0;
|
|
208
208
|
}
|
|
209
209
|
case Mark.circle:
|
|
210
210
|
case Mark.geoshape:
|
|
@@ -224,23 +224,23 @@ function getSelectionParamNames(e) {
|
|
|
224
224
|
function getDirectionOfBar(e) {
|
|
225
225
|
var _a, _b;
|
|
226
226
|
if (!e || !("mark" in e)) return;
|
|
227
|
-
let
|
|
228
|
-
if (
|
|
229
|
-
if (
|
|
230
|
-
if (
|
|
227
|
+
let w = (_a = e.encoding) == null ? void 0 : _a.x, T = (_b = e.encoding) == null ? void 0 : _b.y;
|
|
228
|
+
if (w && "type" in w && w.type === "nominal") return "vertical";
|
|
229
|
+
if (T && "type" in T && T.type === "nominal" || w && "aggregate" in w) return "horizontal";
|
|
230
|
+
if (T && "aggregate" in T) return "vertical";
|
|
231
231
|
}
|
|
232
232
|
function getBinnedFields(e) {
|
|
233
233
|
if (!e.encoding) return [];
|
|
234
|
-
let
|
|
235
|
-
for (let
|
|
236
|
-
return
|
|
234
|
+
let w = [];
|
|
235
|
+
for (let T of Object.values(e.encoding)) T && typeof T == "object" && "bin" in T && T.bin && "field" in T && typeof T.field == "string" && w.push(T.field);
|
|
236
|
+
return w;
|
|
237
237
|
}
|
|
238
238
|
function findEncodedFields(e) {
|
|
239
239
|
if (!e || !("encoding" in e)) return [];
|
|
240
|
-
let { encoding:
|
|
241
|
-
return
|
|
242
|
-
let [
|
|
243
|
-
return !
|
|
240
|
+
let { encoding: w } = e;
|
|
241
|
+
return w ? Object.entries(w).flatMap((e2) => {
|
|
242
|
+
let [w2, T] = e2;
|
|
243
|
+
return !T || !ALLOWED_ENCODING_TYPES.has(w2) ? [] : "field" in T && typeof T.field == "string" ? [T.field] : "condition" in T && T.condition && typeof T.condition == "object" && "field" in T.condition && T.condition.field && typeof T.condition.field == "string" ? [T.condition.field] : [];
|
|
244
244
|
}) : [];
|
|
245
245
|
}
|
|
246
246
|
var ALLOWED_ENCODING_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -251,16 +251,16 @@ var ALLOWED_ENCODING_TYPES = /* @__PURE__ */ new Set([
|
|
|
251
251
|
"shape",
|
|
252
252
|
"size"
|
|
253
253
|
]);
|
|
254
|
-
function makeEncodingInteractive(e,
|
|
255
|
-
let
|
|
254
|
+
function makeEncodingInteractive(e, w, T, E) {
|
|
255
|
+
let D = T.filter((e2) => ParamNames.isBinColoring(e2)), O = { and: (D.length > 0 ? D : T).map((e2) => ({ param: e2 })) };
|
|
256
256
|
switch (e) {
|
|
257
257
|
case "opacity": {
|
|
258
|
-
let e2 = Marks.getOpacity(
|
|
258
|
+
let e2 = Marks.getOpacity(E) || 1;
|
|
259
259
|
return {
|
|
260
|
-
...
|
|
260
|
+
...w,
|
|
261
261
|
opacity: {
|
|
262
262
|
condition: {
|
|
263
|
-
test:
|
|
263
|
+
test: O,
|
|
264
264
|
value: e2
|
|
265
265
|
},
|
|
266
266
|
value: e2 / 5
|
|
@@ -268,197 +268,197 @@ function makeEncodingInteractive(e, D, O, k) {
|
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
270
|
default:
|
|
271
|
-
return
|
|
271
|
+
return w;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
function getParamSignature(e) {
|
|
275
275
|
if (!("select" in e) || !e.select) return JSON.stringify(e);
|
|
276
|
-
let
|
|
277
|
-
if (typeof
|
|
278
|
-
type:
|
|
276
|
+
let w = e.select;
|
|
277
|
+
if (typeof w == "string") return JSON.stringify({
|
|
278
|
+
type: w,
|
|
279
279
|
bind: e.bind
|
|
280
280
|
});
|
|
281
|
-
let
|
|
282
|
-
type:
|
|
283
|
-
encodings: "encodings" in
|
|
284
|
-
fields: "fields" in
|
|
281
|
+
let T = {
|
|
282
|
+
type: w.type,
|
|
283
|
+
encodings: "encodings" in w && w.encodings ? [...w.encodings].sort() : void 0,
|
|
284
|
+
fields: "fields" in w && w.fields ? [...w.fields].sort() : void 0,
|
|
285
285
|
bind: e.bind
|
|
286
286
|
};
|
|
287
|
-
return JSON.stringify(
|
|
287
|
+
return JSON.stringify(T);
|
|
288
288
|
}
|
|
289
289
|
function hoistParamsAndApplyOpacity(e) {
|
|
290
|
-
let
|
|
291
|
-
if (
|
|
292
|
-
let
|
|
293
|
-
return
|
|
294
|
-
...applyOpacityToNestedSpecs(removeSpecificParamsFromNestedSpecs(e, new Set(
|
|
295
|
-
params: [...e.params || [], ...
|
|
290
|
+
let w = collectAllUnitSpecParams(e);
|
|
291
|
+
if (w.length === 0) return e;
|
|
292
|
+
let T = findCommonParams(w);
|
|
293
|
+
return T.length === 0 ? e : {
|
|
294
|
+
...applyOpacityToNestedSpecs(removeSpecificParamsFromNestedSpecs(e, new Set(T.map((e2) => e2.name))), T.map((e2) => e2.name)),
|
|
295
|
+
params: [...e.params || [], ...T]
|
|
296
296
|
};
|
|
297
297
|
}
|
|
298
298
|
function collectAllUnitSpecParams(e) {
|
|
299
|
-
let
|
|
300
|
-
if ("vconcat" in e && Array.isArray(e.vconcat)) for (let
|
|
301
|
-
else if ("hconcat" in e && Array.isArray(e.hconcat)) for (let
|
|
299
|
+
let w = [];
|
|
300
|
+
if ("vconcat" in e && Array.isArray(e.vconcat)) for (let T of e.vconcat) w.push(...collectAllUnitSpecParams(T));
|
|
301
|
+
else if ("hconcat" in e && Array.isArray(e.hconcat)) for (let T of e.hconcat) w.push(...collectAllUnitSpecParams(T));
|
|
302
302
|
else if ("layer" in e) return [];
|
|
303
|
-
else "mark" in e && "params" in e && e.params && e.params.length > 0 &&
|
|
304
|
-
return
|
|
303
|
+
else "mark" in e && "params" in e && e.params && e.params.length > 0 && w.push({ params: e.params });
|
|
304
|
+
return w;
|
|
305
305
|
}
|
|
306
306
|
function findCommonParams(e) {
|
|
307
307
|
if (e.length === 0) return [];
|
|
308
|
-
let
|
|
309
|
-
for (let { params:
|
|
308
|
+
let w = /* @__PURE__ */ new Map(), T = e.length;
|
|
309
|
+
for (let { params: T2 } of e) {
|
|
310
310
|
let e2 = /* @__PURE__ */ new Set();
|
|
311
|
-
for (let
|
|
312
|
-
let
|
|
313
|
-
e2.has(
|
|
311
|
+
for (let E2 of T2) {
|
|
312
|
+
let T3 = getParamSignature(E2);
|
|
313
|
+
e2.has(T3) || (e2.add(T3), w.has(T3) || w.set(T3, {
|
|
314
314
|
count: 0,
|
|
315
|
-
param:
|
|
316
|
-
}),
|
|
315
|
+
param: E2
|
|
316
|
+
}), w.get(T3).count++);
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
|
-
let
|
|
320
|
-
for (let [, { count: e2, param:
|
|
321
|
-
return
|
|
319
|
+
let E = [];
|
|
320
|
+
for (let [, { count: e2, param: D }] of w) e2 === T && E.push(D);
|
|
321
|
+
return E;
|
|
322
322
|
}
|
|
323
|
-
function removeSpecificParamsFromNestedSpecs(e,
|
|
323
|
+
function removeSpecificParamsFromNestedSpecs(e, w) {
|
|
324
324
|
if ("vconcat" in e && Array.isArray(e.vconcat)) return {
|
|
325
325
|
...e,
|
|
326
|
-
vconcat: e.vconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2,
|
|
326
|
+
vconcat: e.vconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2, w))
|
|
327
327
|
};
|
|
328
328
|
if ("hconcat" in e && Array.isArray(e.hconcat)) return {
|
|
329
329
|
...e,
|
|
330
|
-
hconcat: e.hconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2,
|
|
330
|
+
hconcat: e.hconcat.map((e2) => removeSpecificParamsFromNestedSpecs(e2, w))
|
|
331
331
|
};
|
|
332
332
|
if ("mark" in e && "params" in e && e.params) {
|
|
333
|
-
let
|
|
334
|
-
for (let e2 of
|
|
333
|
+
let T = e.params, E = [];
|
|
334
|
+
for (let e2 of T) {
|
|
335
335
|
if (!e2 || typeof e2 != "object" || !("name" in e2)) {
|
|
336
|
-
|
|
336
|
+
E.push(e2);
|
|
337
337
|
continue;
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
w.has(e2.name) || E.push(e2);
|
|
340
340
|
}
|
|
341
|
-
if (
|
|
342
|
-
let { params:
|
|
343
|
-
return
|
|
341
|
+
if (E.length === 0) {
|
|
342
|
+
let { params: w2, ...T2 } = e;
|
|
343
|
+
return T2;
|
|
344
344
|
}
|
|
345
345
|
return {
|
|
346
346
|
...e,
|
|
347
|
-
params:
|
|
347
|
+
params: E
|
|
348
348
|
};
|
|
349
349
|
}
|
|
350
350
|
return e;
|
|
351
351
|
}
|
|
352
|
-
function applyOpacityToNestedSpecs(e,
|
|
352
|
+
function applyOpacityToNestedSpecs(e, w) {
|
|
353
353
|
return "vconcat" in e && Array.isArray(e.vconcat) ? {
|
|
354
354
|
...e,
|
|
355
|
-
vconcat: e.vconcat.map((e2) => applyOpacityToNestedSpecs(e2,
|
|
355
|
+
vconcat: e.vconcat.map((e2) => applyOpacityToNestedSpecs(e2, w))
|
|
356
356
|
} : "hconcat" in e && Array.isArray(e.hconcat) ? {
|
|
357
357
|
...e,
|
|
358
|
-
hconcat: e.hconcat.map((e2) => applyOpacityToNestedSpecs(e2,
|
|
358
|
+
hconcat: e.hconcat.map((e2) => applyOpacityToNestedSpecs(e2, w))
|
|
359
359
|
} : "layer" in e ? e : "mark" in e && Marks.isInteractive(e.mark) ? {
|
|
360
360
|
...e,
|
|
361
361
|
mark: Marks.makeClickable(e.mark),
|
|
362
|
-
encoding: makeEncodingInteractive("opacity", e.encoding || {},
|
|
362
|
+
encoding: makeEncodingInteractive("opacity", e.encoding || {}, w, e.mark)
|
|
363
363
|
} : e;
|
|
364
364
|
}
|
|
365
|
-
function makeSelectable(e,
|
|
365
|
+
function makeSelectable(e, w) {
|
|
366
366
|
var _a, _b;
|
|
367
|
-
let { chartSelection:
|
|
368
|
-
if (!
|
|
369
|
-
if (((_a = e.params) == null ? void 0 : _a.some((e2) => e2.bind === "legend")) && (
|
|
370
|
-
let
|
|
371
|
-
chartSelection:
|
|
372
|
-
fieldSelection:
|
|
367
|
+
let { chartSelection: T = true, fieldSelection: E = true } = w;
|
|
368
|
+
if (!T && !E) return e;
|
|
369
|
+
if (((_a = e.params) == null ? void 0 : _a.some((e2) => e2.bind === "legend")) && (E = false), ((_b = e.params) == null ? void 0 : _b.some((e2) => !e2.bind)) && (T = false), "vconcat" in e) {
|
|
370
|
+
let w2 = e.vconcat.map((e2) => "mark" in e2 ? makeSelectable(e2, {
|
|
371
|
+
chartSelection: T,
|
|
372
|
+
fieldSelection: E
|
|
373
373
|
}) : e2);
|
|
374
374
|
return hoistParamsAndApplyOpacity({
|
|
375
375
|
...e,
|
|
376
|
-
vconcat:
|
|
376
|
+
vconcat: w2
|
|
377
377
|
});
|
|
378
378
|
}
|
|
379
379
|
if ("hconcat" in e) {
|
|
380
|
-
let
|
|
381
|
-
chartSelection:
|
|
382
|
-
fieldSelection:
|
|
380
|
+
let w2 = e.hconcat.map((e2) => "mark" in e2 ? makeSelectable(e2, {
|
|
381
|
+
chartSelection: T,
|
|
382
|
+
fieldSelection: E
|
|
383
383
|
}) : e2);
|
|
384
384
|
return hoistParamsAndApplyOpacity({
|
|
385
385
|
...e,
|
|
386
|
-
hconcat:
|
|
386
|
+
hconcat: w2
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
if ("layer" in e) {
|
|
390
|
-
let
|
|
391
|
-
if (
|
|
392
|
-
let
|
|
393
|
-
|
|
390
|
+
let w2 = e.params && e.params.length > 0, D2 = E !== false && !w2, O = [];
|
|
391
|
+
if (D2) {
|
|
392
|
+
let w3 = e.layer.flatMap((e2) => "mark" in e2 ? findEncodedFields(e2) : []);
|
|
393
|
+
O = [...new Set(w3)], Array.isArray(E) && (O = O.filter((e2) => E.includes(e2)));
|
|
394
394
|
}
|
|
395
|
-
let
|
|
395
|
+
let k = e.layer.map((e2, w3) => {
|
|
396
396
|
if (!("mark" in e2)) return e2;
|
|
397
|
-
let
|
|
398
|
-
if (
|
|
399
|
-
let e3 =
|
|
400
|
-
|
|
401
|
-
...
|
|
402
|
-
params: [...
|
|
397
|
+
let E2 = e2;
|
|
398
|
+
if (w3 === 0 && O.length > 0) {
|
|
399
|
+
let e3 = O.map((e4) => Params.legend(e4));
|
|
400
|
+
E2 = {
|
|
401
|
+
...E2,
|
|
402
|
+
params: [...E2.params || [], ...e3]
|
|
403
403
|
};
|
|
404
404
|
}
|
|
405
|
-
return
|
|
405
|
+
return E2 = makeChartSelectable(E2, T, w3), E2 = makeChartInteractive(E2), w3 === 0 && (E2 = makeChartPanZoom(E2)), E2;
|
|
406
406
|
});
|
|
407
407
|
return {
|
|
408
408
|
...e,
|
|
409
|
-
layer:
|
|
409
|
+
layer: k
|
|
410
410
|
};
|
|
411
411
|
}
|
|
412
412
|
if (!("mark" in e) || !Marks.isInteractive(e.mark)) return e;
|
|
413
|
-
let
|
|
414
|
-
return
|
|
413
|
+
let D = e;
|
|
414
|
+
return D = makeLegendSelectable(D, E), D = makeChartSelectable(D, T, void 0), D = makeChartInteractive(D), D = makeChartPanZoom(D), D;
|
|
415
415
|
}
|
|
416
|
-
function makeLegendSelectable(e,
|
|
417
|
-
if (
|
|
418
|
-
let
|
|
419
|
-
Array.isArray(
|
|
420
|
-
let
|
|
416
|
+
function makeLegendSelectable(e, w) {
|
|
417
|
+
if (w === false) return e;
|
|
418
|
+
let T = findEncodedFields(e);
|
|
419
|
+
Array.isArray(w) && (T = T.filter((e2) => w.includes(e2)));
|
|
420
|
+
let E = T.map((e2) => Params.legend(e2)), D = [...e.params || [], ...E];
|
|
421
421
|
return {
|
|
422
422
|
...e,
|
|
423
|
-
params:
|
|
423
|
+
params: D
|
|
424
424
|
};
|
|
425
425
|
}
|
|
426
|
-
function makeChartSelectable(e,
|
|
427
|
-
if (
|
|
428
|
-
let
|
|
426
|
+
function makeChartSelectable(e, w, T) {
|
|
427
|
+
if (w === false) return e;
|
|
428
|
+
let E;
|
|
429
429
|
try {
|
|
430
|
-
|
|
430
|
+
E = Marks.getMarkType(e.mark);
|
|
431
431
|
} catch {
|
|
432
432
|
return e;
|
|
433
433
|
}
|
|
434
|
-
if (
|
|
435
|
-
let
|
|
436
|
-
if (!
|
|
437
|
-
let
|
|
438
|
-
return
|
|
434
|
+
if (E === "geoshape") return e;
|
|
435
|
+
let D = getBinnedFields(e), O = w === true ? D.length > 0 ? ["point"] : getBestSelectionForMark(E) : [w];
|
|
436
|
+
if (!O || O.length === 0) return e;
|
|
437
|
+
let k = O.map((w2) => w2 === "interval" ? Params.interval(e, T) : Params.point(e, T)), A = [...e.params || [], ...k];
|
|
438
|
+
return D.length > 0 && O.includes("point") && A.push(Params.binColoring(T)), {
|
|
439
439
|
...e,
|
|
440
|
-
params:
|
|
440
|
+
params: A
|
|
441
441
|
};
|
|
442
442
|
}
|
|
443
443
|
function makeChartPanZoom(e) {
|
|
444
|
-
let
|
|
444
|
+
let w;
|
|
445
445
|
try {
|
|
446
|
-
|
|
446
|
+
w = Marks.getMarkType(e.mark);
|
|
447
447
|
} catch {
|
|
448
448
|
}
|
|
449
|
-
if (
|
|
450
|
-
let
|
|
451
|
-
return
|
|
449
|
+
if (w === "geoshape") return e;
|
|
450
|
+
let T = e.params || [];
|
|
451
|
+
return T.some((e2) => e2.bind === "scales") ? e : {
|
|
452
452
|
...e,
|
|
453
|
-
params: [...
|
|
453
|
+
params: [...T, Params.panZoom()]
|
|
454
454
|
};
|
|
455
455
|
}
|
|
456
456
|
function makeChartInteractive(e) {
|
|
457
|
-
let
|
|
458
|
-
return
|
|
457
|
+
let w = "encoding" in e ? e.encoding : void 0, T = e.params || [], E = T.map((e2) => e2.name);
|
|
458
|
+
return T.length === 0 || !Marks.isInteractive(e.mark) ? e : {
|
|
459
459
|
...e,
|
|
460
460
|
mark: Marks.makeClickable(e.mark),
|
|
461
|
-
encoding: makeEncodingInteractive("opacity",
|
|
461
|
+
encoding: makeEncodingInteractive("opacity", w || {}, E, e.mark)
|
|
462
462
|
};
|
|
463
463
|
}
|
|
464
464
|
function getBestSelectionForMark(e) {
|
|
@@ -477,93 +477,97 @@ function getBestSelectionForMark(e) {
|
|
|
477
477
|
}
|
|
478
478
|
async function resolveVegaSpecData(e) {
|
|
479
479
|
if (!e) return e;
|
|
480
|
-
let
|
|
480
|
+
let w = "datasets" in e ? { ...e.datasets } : {}, T = async (e2) => {
|
|
481
481
|
if (!e2) return e2;
|
|
482
482
|
if ("layer" in e2) {
|
|
483
|
-
let
|
|
483
|
+
let w2 = await Promise.all(e2.layer.map(T));
|
|
484
484
|
e2 = {
|
|
485
485
|
...e2,
|
|
486
|
-
layer:
|
|
486
|
+
layer: w2
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
489
|
if ("hconcat" in e2) {
|
|
490
|
-
let
|
|
490
|
+
let w2 = await Promise.all(e2.hconcat.map(T));
|
|
491
491
|
e2 = {
|
|
492
492
|
...e2,
|
|
493
|
-
hconcat:
|
|
493
|
+
hconcat: w2
|
|
494
494
|
};
|
|
495
495
|
}
|
|
496
496
|
if ("vconcat" in e2) {
|
|
497
|
-
let
|
|
497
|
+
let w2 = await Promise.all(e2.vconcat.map(T));
|
|
498
498
|
e2 = {
|
|
499
499
|
...e2,
|
|
500
|
-
vconcat:
|
|
500
|
+
vconcat: w2
|
|
501
501
|
};
|
|
502
502
|
}
|
|
503
503
|
if ("spec" in e2 && (e2 = {
|
|
504
504
|
...e2,
|
|
505
|
-
spec: await
|
|
505
|
+
spec: await T(e2.spec)
|
|
506
506
|
}), !e2.data || !("url" in e2.data)) return e2;
|
|
507
|
-
let
|
|
507
|
+
let E2;
|
|
508
508
|
try {
|
|
509
|
-
|
|
509
|
+
E2 = asRemoteURL(e2.data.url);
|
|
510
510
|
} catch {
|
|
511
511
|
return e2;
|
|
512
512
|
}
|
|
513
|
-
let
|
|
514
|
-
return
|
|
513
|
+
let O = await vegaLoadData(E2.href, e2.data.format);
|
|
514
|
+
return w[E2.pathname] = O, {
|
|
515
515
|
...e2,
|
|
516
|
-
data: { name:
|
|
516
|
+
data: { name: E2.pathname }
|
|
517
517
|
};
|
|
518
|
-
},
|
|
519
|
-
return Object.keys(
|
|
520
|
-
...
|
|
521
|
-
datasets:
|
|
518
|
+
}, E = await T(e);
|
|
519
|
+
return Object.keys(w).length === 0 ? E : {
|
|
520
|
+
...E,
|
|
521
|
+
datasets: w
|
|
522
522
|
};
|
|
523
523
|
}
|
|
524
524
|
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
|
|
525
525
|
formats("arrow", arrow);
|
|
526
526
|
var VegaComponent = (e) => {
|
|
527
|
-
let
|
|
528
|
-
|
|
529
|
-
let { data:
|
|
530
|
-
if (
|
|
527
|
+
let w = (0, import_compiler_runtime.c)(12), { value: T, setValue: E, chartSelection: D, fieldSelection: O, spec: k, embedOptions: A } = e, M, N;
|
|
528
|
+
w[0] === k ? (M = w[1], N = w[2]) : (M = async () => resolveVegaSpecData(k), N = [k], w[0] = k, w[1] = M, w[2] = N);
|
|
529
|
+
let { data: P, error: F } = useAsyncData(M, N);
|
|
530
|
+
if (F) {
|
|
531
531
|
let e2;
|
|
532
|
-
return
|
|
532
|
+
return w[3] === F ? e2 = w[4] : (e2 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ErrorBanner, { error: F }), w[3] = F, w[4] = e2), e2;
|
|
533
533
|
}
|
|
534
|
-
if (!
|
|
535
|
-
let
|
|
536
|
-
return
|
|
537
|
-
value:
|
|
538
|
-
setValue:
|
|
539
|
-
chartSelection:
|
|
540
|
-
fieldSelection:
|
|
541
|
-
spec:
|
|
542
|
-
|
|
543
|
-
},
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
534
|
+
if (!P) return null;
|
|
535
|
+
let I;
|
|
536
|
+
return w[5] !== D || w[6] !== A || w[7] !== O || w[8] !== P || w[9] !== E || w[10] !== T ? (I = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LoadedVegaComponent, {
|
|
537
|
+
value: T,
|
|
538
|
+
setValue: E,
|
|
539
|
+
chartSelection: D,
|
|
540
|
+
fieldSelection: O,
|
|
541
|
+
spec: P,
|
|
542
|
+
embedOptions: A
|
|
543
|
+
}), w[5] = D, w[6] = A, w[7] = O, w[8] = P, w[9] = E, w[10] = T, w[11] = I) : I = w[11], I;
|
|
544
|
+
}, LoadedVegaComponent = ({ value: e, setValue: w, chartSelection: T, fieldSelection: D, spec: M, embedOptions: N }) => {
|
|
545
|
+
let { theme: L } = useTheme(), R = (0, import_react.useRef)(null), z = (0, import_react.useRef)(void 0), [B, V] = (0, import_react.useState)(), H = (0, import_react.useMemo)(() => N && "actions" in N ? N.actions : {
|
|
546
|
+
source: false,
|
|
547
|
+
compiled: false
|
|
548
|
+
}, [N]), U = useDeepCompareMemoize(M), W = (0, import_react.useMemo)(() => makeSelectable(fixRelativeUrl(U), {
|
|
549
|
+
chartSelection: T,
|
|
550
|
+
fieldSelection: D
|
|
547
551
|
}), [
|
|
548
552
|
U,
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
]), G = (0, import_react.useMemo)(() => getSelectionParamNames(W), [W]), K = useEvent_default((
|
|
552
|
-
|
|
553
|
+
T,
|
|
554
|
+
D
|
|
555
|
+
]), G = (0, import_react.useMemo)(() => getSelectionParamNames(W), [W]), K = useEvent_default((T2) => {
|
|
556
|
+
w({
|
|
553
557
|
...e,
|
|
554
|
-
...
|
|
558
|
+
...T2
|
|
555
559
|
});
|
|
556
|
-
}), q = (0, import_react.useMemo)(() => debounce_default((e2,
|
|
557
|
-
Logger.debug("[Vega signal]", e2,
|
|
558
|
-
let
|
|
559
|
-
|
|
560
|
-
}, 100), [K]), J = useDeepCompareMemoize(G), Y = (0, import_react.useMemo)(() => J.reduce((e2,
|
|
561
|
-
signalName:
|
|
562
|
-
handler: (e3,
|
|
560
|
+
}), q = (0, import_react.useMemo)(() => debounce_default((e2, w2) => {
|
|
561
|
+
Logger.debug("[Vega signal]", e2, w2);
|
|
562
|
+
let T2 = Objects.mapValues(w2, convertDatetimeToEpochMilliseconds);
|
|
563
|
+
T2 = Objects.mapValues(T2, convertSetToList), K({ [e2]: T2 });
|
|
564
|
+
}, 100), [K]), J = useDeepCompareMemoize(G), Y = (0, import_react.useMemo)(() => J.reduce((e2, w2) => (ParamNames.PAN_ZOOM === w2 || ParamNames.isBinColoring(w2) || e2.push({
|
|
565
|
+
signalName: w2,
|
|
566
|
+
handler: (e3, w3) => q(e3, w3)
|
|
563
567
|
}), e2), []), [J, q]), X = useEvent_default((e2) => {
|
|
564
|
-
Logger.error(e2), Logger.debug(W),
|
|
568
|
+
Logger.error(e2), Logger.debug(W), V(e2);
|
|
565
569
|
}), Z = useEvent_default((e2) => {
|
|
566
|
-
Logger.debug("[Vega view] created", e2),
|
|
570
|
+
Logger.debug("[Vega view] created", e2), z.current = e2, V(void 0);
|
|
567
571
|
}), Q = () => {
|
|
568
572
|
let e2 = [];
|
|
569
573
|
return ParamNames.hasPoint(G) && e2.push(["Point selection", "click to select a point; hold shift for multi-select"]), ParamNames.hasInterval(G) && e2.push(["Interval selection", "click and drag to select an interval"]), ParamNames.hasLegend(G) && e2.push(["Legend selection", "click to select a legend item; hold shift for multi-select"]), ParamNames.hasPanZoom(G) && e2.push(["Pan", "hold the meta key and drag"], ["Zoom", "hold the meta key and scroll"]), e2.length === 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
@@ -571,23 +575,23 @@ var VegaComponent = (e) => {
|
|
|
571
575
|
side: "left",
|
|
572
576
|
content: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
573
577
|
className: "text-xs flex flex-col",
|
|
574
|
-
children: e2.map((e3,
|
|
578
|
+
children: e2.map((e3, w2) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
|
|
575
579
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
576
580
|
className: "font-bold tracking-wide",
|
|
577
581
|
children: [e3[0], ":"]
|
|
578
582
|
}),
|
|
579
583
|
" ",
|
|
580
584
|
e3[1]
|
|
581
|
-
] },
|
|
585
|
+
] }, w2))
|
|
582
586
|
}),
|
|
583
587
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CircleQuestionMark, { className: "absolute bottom-1 right-0 m-2 h-4 w-4 cursor-help text-muted-foreground hover:text-foreground" })
|
|
584
588
|
});
|
|
585
589
|
}, $ = j({
|
|
586
|
-
ref:
|
|
590
|
+
ref: R,
|
|
587
591
|
spec: W,
|
|
588
592
|
options: {
|
|
589
|
-
theme:
|
|
590
|
-
actions,
|
|
593
|
+
theme: L === "dark" ? "dark" : void 0,
|
|
594
|
+
actions: H,
|
|
591
595
|
mode: "vega-lite",
|
|
592
596
|
tooltip: tooltipHandler.call,
|
|
593
597
|
renderer: "canvas"
|
|
@@ -595,34 +599,31 @@ var VegaComponent = (e) => {
|
|
|
595
599
|
onError: X,
|
|
596
600
|
onEmbed: Z
|
|
597
601
|
});
|
|
598
|
-
return (0, import_react.useEffect)(() => (Y.forEach(({ signalName: e2, handler:
|
|
602
|
+
return (0, import_react.useEffect)(() => (Y.forEach(({ signalName: e2, handler: w2 }) => {
|
|
599
603
|
try {
|
|
600
|
-
$ == null ? void 0 : $.view.addSignalListener(e2,
|
|
604
|
+
$ == null ? void 0 : $.view.addSignalListener(e2, w2);
|
|
601
605
|
} catch (e3) {
|
|
602
606
|
Logger.error(e3);
|
|
603
607
|
}
|
|
604
608
|
}), () => {
|
|
605
|
-
Y.forEach(({ signalName: e2, handler:
|
|
609
|
+
Y.forEach(({ signalName: e2, handler: w2 }) => {
|
|
606
610
|
try {
|
|
607
|
-
$ == null ? void 0 : $.view.removeSignalListener(e2,
|
|
611
|
+
$ == null ? void 0 : $.view.removeSignalListener(e2, w2);
|
|
608
612
|
} catch (e3) {
|
|
609
613
|
Logger.error(e3);
|
|
610
614
|
}
|
|
611
615
|
});
|
|
612
|
-
}), [$, Y]), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
616
|
+
}), [$, Y]), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [B && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Alert, {
|
|
613
617
|
variant: "destructive",
|
|
614
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertTitle, { children:
|
|
618
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertTitle, { children: B.message }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
615
619
|
className: "text-md",
|
|
616
|
-
children:
|
|
620
|
+
children: B.stack
|
|
617
621
|
})]
|
|
618
622
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
619
623
|
className: "relative",
|
|
620
624
|
onPointerDown: Events.stopPropagation(),
|
|
621
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { ref:
|
|
625
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { ref: R }), Q()]
|
|
622
626
|
})] });
|
|
623
|
-
}, actions = {
|
|
624
|
-
source: false,
|
|
625
|
-
compiled: false
|
|
626
627
|
};
|
|
627
628
|
function convertSetToList(e) {
|
|
628
629
|
return e instanceof Set ? [...e] : e;
|