@marimo-team/frontend 0.23.10-dev9 → 0.23.11-dev1
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/assets/{CellStatus-CW_ZKa0D.js → CellStatus-e0ex7Iei.js} +1 -1
- package/dist/assets/{ConnectedDataExplorerComponent-W0UfNkj7.js → ConnectedDataExplorerComponent-pHNm56FY.js} +1 -1
- package/dist/assets/{ImperativeModal-B3Th7k4R.js → ImperativeModal-BW1dmntO.js} +1 -1
- package/dist/assets/JsonOutput-DRNPZOvX.js +53 -0
- package/dist/assets/LazyAnyLanguageCodeMirror-C7ALwTI_.js +2 -0
- package/dist/assets/{MarimoErrorOutput-z_AGcPFY.js → MarimoErrorOutput-BH6hs0Ir.js} +2 -2
- package/dist/assets/{RSPContexts-CdN1NyAt.js → RSPContexts-C3vBe8nL.js} +1 -1
- package/dist/assets/{RenderHTML-p2dN-EvB.js → RenderHTML-BQ1PO4Wd.js} +1 -1
- package/dist/assets/RunButton-F8pLIvFp.js +1 -0
- package/dist/assets/__vite-browser-external-CeH7R2Sf.js +1 -0
- package/dist/assets/__vite-browser-external-DTK_qJHK.js +1 -0
- package/dist/assets/{add-cell-with-ai-D42169BY.js → add-cell-with-ai-C2OtCghK.js} +21 -21
- package/dist/assets/add-connection-dialog-AhwxOztN.js +170 -0
- package/dist/assets/{agent-panel-C106sjaz.js → agent-panel-D6ryE8xb.js} +6 -6
- package/dist/assets/{ai-model-dropdown-CKlj3_3M.js → ai-model-dropdown-CG4B4rqH.js} +3 -3
- package/dist/assets/{alert-dialog-BqFLkbUc.js → alert-dialog-5BGIfskO.js} +2 -2
- package/dist/assets/{any-language-editor-DOLtgCLo.js → any-language-editor-Ds4PatYt.js} +1 -1
- package/dist/assets/apl-DpOiWl6J.js +1 -0
- package/dist/assets/{app-config-button-DijwNgwN.js → app-config-button-D_sFrSql.js} +1 -1
- package/dist/assets/{arc-CWuN1tfc.js → arc-xh3ZebK_.js} +1 -1
- package/dist/assets/{architecture-7HQA4BMR-DJtUfdk-.js → architecture-7HQA4BMR-CtZSskKa.js} +1 -1
- package/dist/assets/{architectureDiagram-VXUJARFQ-Cgi4wo9P.js → architectureDiagram-VXUJARFQ-BOj65Cij.js} +1 -1
- package/dist/assets/asciiarmor-DVIuYySe.js +1 -0
- package/dist/assets/asn1-CWHjZJq6.js +1 -0
- package/dist/assets/{blockDiagram-VD42YOAC-CsHap8-F.js → blockDiagram-VD42YOAC-C1dCrclf.js} +1 -1
- package/dist/assets/brainfuck-CIKJewgG.js +1 -0
- package/dist/assets/{c4Diagram-YG6GDRKO-CZuArudM.js → c4Diagram-YG6GDRKO-i2yUrWYM.js} +1 -1
- package/dist/assets/{cache-panel-lRBWNjiY.js → cache-panel-C2wbL8-g.js} +1 -1
- package/dist/assets/cell-editor-XNa3wJ3P.js +24 -0
- package/dist/assets/{cell-editor-Iey559K_.css → cell-editor-nqEF4IhQ.css} +1 -1
- package/dist/assets/{cell-link-CLgpQstl.js → cell-link-Bj4-yOIx.js} +1 -1
- package/dist/assets/{cells-DZIaNeAd.js → cells-DOA0Gew8.js} +76 -74
- package/dist/assets/cells-pu5xzE_v.css +2 -0
- package/dist/assets/channel-C8k5aAg8.js +1 -0
- package/dist/assets/{chat-display-CBAWsoRx.js → chat-display-CezkHLLR.js} +1 -1
- package/dist/assets/{chat-panel-D7wvdByY.js → chat-panel-DEBTPtwE.js} +2 -2
- package/dist/assets/{chat-ui-BBqT02Tj.js → chat-ui-CIr1o1hq.js} +4 -4
- package/dist/assets/{chunk-4BX2VUAB-Ca6WzYTr.js → chunk-4BX2VUAB-CHtIUBVX.js} +1 -1
- package/dist/assets/chunk-55IACEB6-DJtiFmZI.js +1 -0
- package/dist/assets/{chunk-5FQGJX7Z-D9iBG0F7.js → chunk-5FQGJX7Z-D91x7QHS.js} +42 -42
- package/dist/assets/{chunk-ABZYJK2D-BG7Eb4WW.js → chunk-ABZYJK2D-CW6LcQEi.js} +3 -3
- package/dist/assets/{chunk-ATLVNIR6-CqLn9HI1.js → chunk-ATLVNIR6-CaXl_ZVt.js} +1 -1
- package/dist/assets/{chunk-B4BG7PRW-D4SyZNjn.js → chunk-B4BG7PRW-Dkcioyxv.js} +1 -1
- package/dist/assets/{chunk-CVBHYZKI-C-NWvPQL.js → chunk-CVBHYZKI-Cx6_q0Bq.js} +1 -1
- package/dist/assets/{chunk-DI55MBZ5-t9uiMPiN.js → chunk-DI55MBZ5-CpmNjAbj.js} +1 -1
- package/dist/assets/{chunk-EXTU4WIE-BmVk7Fyq.js → chunk-EXTU4WIE-BfQ60QJd.js} +1 -1
- package/dist/assets/{chunk-FMBD7UC4-DlnzxSkO.js → chunk-FMBD7UC4-Dzk6L3_z.js} +1 -1
- package/dist/assets/{chunk-HN2XXSSU-Bcaj5fRB.js → chunk-HN2XXSSU-DKAgaU5O.js} +1 -1
- package/dist/assets/{chunk-JA3XYJ7Z-B5b2QHOb.js → chunk-JA3XYJ7Z-Cx9lJRz-.js} +1 -1
- package/dist/assets/{chunk-JZLCHNYA-1_sVfAnw.js → chunk-JZLCHNYA-LdSYK6Ej.js} +1 -1
- package/dist/assets/{chunk-MI3HLSF2-DqzZqBCh.js → chunk-MI3HLSF2-AJRVV4NE.js} +1 -1
- package/dist/assets/{chunk-N4CR4FBY-CFJoD-EQ.js → chunk-N4CR4FBY-DM96YL3R.js} +2 -2
- package/dist/assets/{chunk-QN33PNHL-BBE_bx9E.js → chunk-QN33PNHL-4cZDuwgu.js} +1 -1
- package/dist/assets/{chunk-QXUST7PY-Cu1nR-L2.js → chunk-QXUST7PY-Di5YbBao.js} +1 -1
- package/dist/assets/{chunk-QZHKN3VN-BAnb9AKF.js → chunk-QZHKN3VN-B2hZ4g68.js} +1 -1
- package/dist/assets/{chunk-S3R3BYOJ-Cl0iW04v.js → chunk-S3R3BYOJ-BAKX3hoQ.js} +1 -1
- package/dist/assets/{chunk-TZMSLE5B-f5ix6iSd.js → chunk-TZMSLE5B-BFdV9a1D.js} +1 -1
- package/dist/assets/classDiagram-2ON5EDUG-CFISa78E.js +1 -0
- package/dist/assets/classDiagram-v2-WZHVMYZB-BzMNKvre.js +1 -0
- package/dist/assets/{clike-bdcjLdZ4.js → clike-wo4CVrJj.js} +1 -1
- package/dist/assets/clojure-CTxjMkBI.js +1 -0
- package/dist/assets/cmake-aJ0aGjat.js +1 -0
- package/dist/assets/cobol-Dw9T4cw-.js +1 -0
- package/dist/assets/{code-block-37QAKDTI-B19XL3UR.js → code-block-37QAKDTI-Ci6cOC6s.js} +1 -1
- package/dist/assets/coffeescript-B5HCKl_0.js +1 -0
- package/dist/assets/column-preview-nu3Qo2OW.js +1 -0
- package/dist/assets/{command-KARR7KMq.js → command-BmOGG6-2.js} +1 -1
- package/dist/assets/{command-palette-BcLQY0if.js → command-palette-_VEEjmkI.js} +1 -1
- package/dist/assets/{common-ClJSmjpB.js → common-fDFYY_sv.js} +1 -1
- package/dist/assets/commonlisp-C578hhl1.js +1 -0
- package/dist/assets/components--C6N-DXq.js +1 -0
- package/dist/assets/{copy-icon-D_qz1txR.js → copy-icon-BuRdHNPA.js} +1 -1
- package/dist/assets/{cose-bilkent-S5V4N54A-CQqSLzd1.js → cose-bilkent-S5V4N54A-DsnN-_2o.js} +1 -1
- package/dist/assets/crystal-D84c1nzD.js +1 -0
- package/dist/assets/{css-ACAb8MRM.js → css-BJsW3aHa.js} +1 -1
- package/dist/assets/cypher-DBO3MHmN.js +1 -0
- package/dist/assets/d-KvHiAR3H.js +1 -0
- package/dist/assets/{dagre-6UL2VRFP-CVKXpDlr.js → dagre-6UL2VRFP-CHMBr-on.js} +1 -1
- package/dist/assets/{data-grid-overlay-editor-BdDYn72O.js → data-grid-overlay-editor-orng_e3E.js} +1 -1
- package/dist/assets/{datasource-D4PcWbjA.js → datasource-CR6RRpTi.js} +2 -2
- package/dist/assets/dependency-graph-panel-BEgkvdX0.js +5 -0
- package/dist/assets/{diagram-PSM6KHXK-BfzLNKp-.js → diagram-PSM6KHXK-BAkhyJz0.js} +1 -1
- package/dist/assets/{diagram-QEK2KX5R-D_H77Ni5.js → diagram-QEK2KX5R-OUubZf2n.js} +1 -1
- package/dist/assets/{diagram-S2PKOQOG-DJmVBeMk.js → diagram-S2PKOQOG-CGIZL2qm.js} +1 -1
- package/dist/assets/{dialog-DzC_QCtT.js → dialog-DRnNAWYl.js} +1 -1
- package/dist/assets/diff-BmUpKGx-.js +1 -0
- package/dist/assets/dist-0sLFAEuj.js +1 -0
- package/dist/assets/dist-2FedModH.js +7 -0
- package/dist/assets/{dist-CNyMUs19.js → dist-2TkSwR77.js} +1 -1
- package/dist/assets/{dist-CJIOLS6O.js → dist-6YVuqDQg.js} +1 -1
- package/dist/assets/dist-AQEMgdxp.js +1 -0
- package/dist/assets/dist-B65RnwM5.js +1 -0
- package/dist/assets/dist-BURue7-e.js +3 -0
- package/dist/assets/{dist-A7swzSTR.js → dist-BXcZeTeA.js} +1 -1
- package/dist/assets/dist-BXeHg5NQ.js +1 -0
- package/dist/assets/{dist-DqVEVg0c.js → dist-BcvGVYKl.js} +1 -1
- package/dist/assets/dist-BdKlcwR7.js +1 -0
- package/dist/assets/{dist-CsvFAFh9.js → dist-BieDRQs9.js} +1 -1
- package/dist/assets/{dist-HlsDto3K.js → dist-Bo13cFwO.js} +1 -1
- package/dist/assets/dist-Bqr3AzD8.js +1 -0
- package/dist/assets/{dist-C78V1LRz.js → dist-BscEQwf7.js} +1 -1
- package/dist/assets/{dist-CpTFpfm_.js → dist-BwnT-_gD.js} +1 -1
- package/dist/assets/dist-BznMRbTz.js +1 -0
- package/dist/assets/dist-C5PcfT25.js +1 -0
- package/dist/assets/{dist-BdyjRhEt.js → dist-CWMKC7yO.js} +1 -1
- package/dist/assets/dist-CZ5EKIth.js +1 -0
- package/dist/assets/dist-CdtVwSQt.js +1 -0
- package/dist/assets/{dist-Dr8mWwQ_.js → dist-ChrXdgjb.js} +1 -1
- package/dist/assets/{dist-CqEym3Sr.js → dist-CvuhNTbr.js} +1 -1
- package/dist/assets/{dist-CKT_lJKW.js → dist-CycP1Cdf.js} +1 -1
- package/dist/assets/{dist-BrR4M-k3.js → dist-D0HyMpgV.js} +12 -11
- package/dist/assets/{dist-CciFN1z_.js → dist-D2g-G0wk.js} +1 -1
- package/dist/assets/dist-D3lJti6y.js +1 -0
- package/dist/assets/dist-DBklo-uX.js +1 -0
- package/dist/assets/{dist-DUHHizRG.js → dist-DCzr8T5W.js} +1 -1
- package/dist/assets/{dist-BlOtCkpT.js → dist-DU8NrdIh.js} +1 -1
- package/dist/assets/dist-DUDjfnME.js +1 -0
- package/dist/assets/dist-DVkC-Qmw.js +2 -0
- package/dist/assets/{dist-CocyeH0q.js → dist-DgGMawx8.js} +1 -1
- package/dist/assets/dist-Dq1Qheae.js +1 -0
- package/dist/assets/{dist-D70Tz1Kr.js → dist-DxlQcmyw.js} +1 -1
- package/dist/assets/dist-GiCZ_RyY.js +1 -0
- package/dist/assets/{dist-CBSMxaO_.js → dist-HyCgERnW.js} +4 -4
- package/dist/assets/{dist-CpcTHxTt.js → dist-Otadb4Hb.js} +1 -1
- package/dist/assets/dist-PCikvPoP.js +1 -0
- package/dist/assets/{dist-4ni0fia5.js → dist-PHrL7abE.js} +3 -3
- package/dist/assets/{dist-BQeNY9Zl.js → dist-QqcJxlfK.js} +1 -1
- package/dist/assets/dist-RMRSa-Mj.js +13 -0
- package/dist/assets/dist-RnuaWZoB.js +1 -0
- package/dist/assets/{dist-C9ZB41s2.js → dist-YEXtMjTi.js} +2 -2
- package/dist/assets/dist-deBZx53p.js +1 -0
- package/dist/assets/{dist-BF6UNR6V.js → dist-flL-WW8v.js} +1 -1
- package/dist/assets/dist-rBRbke5D.js +1 -0
- package/dist/assets/{dockerfile-BSMbgQQl.js → dockerfile-DQFWVVcg.js} +1 -1
- package/dist/assets/documentation-panel-HvbKykbI.js +1 -0
- package/dist/assets/download-DhxnAw14.js +9 -0
- package/dist/assets/{dropdown-menu-CR7cnzLX.js → dropdown-menu-CZ4XbE-c.js} +1 -1
- package/dist/assets/dtd-Dwf-AbUl.js +1 -0
- package/dist/assets/dylan-VHUB-7ez.js +1 -0
- package/dist/assets/ecl-DvGrObaA.js +1 -0
- package/dist/assets/edit-page-D-02q6iz.js +9 -0
- package/dist/assets/eiffel-CUYga93e.js +1 -0
- package/dist/assets/elm-BhMhmEP6.js +1 -0
- package/dist/assets/{erDiagram-Q2GNP2WA-ROTNwSJz.js → erDiagram-Q2GNP2WA-Da5CNIuT.js} +1 -1
- package/dist/assets/erlang-D4xbdJFD.js +1 -0
- package/dist/assets/{error-banner-LdWZDbqd.js → error-banner-D0xvrLog.js} +1 -1
- package/dist/assets/{error-panel-DshWkCok.js → error-panel-WLBQ3q9p.js} +1 -1
- package/dist/assets/errors-D3F5g1xA.js +1 -0
- package/dist/assets/{es-DGgq-Wes.js → es-By9LYOsD.js} +1 -1
- package/dist/assets/{esm-DeiyaVAJ.js → esm-DgI-7XOj.js} +1 -1
- package/dist/assets/esm-xaw4Vy8N.js +1 -0
- package/dist/assets/eye-off-Cm6DdkeR.js +1 -0
- package/dist/assets/factor-C0grrWrC.js +1 -0
- package/dist/assets/{factor-C-_cRSDM.js → factor-Ccw_GUUV.js} +1 -1
- package/dist/assets/{field-zLmMOSA4.js → field-DCdxnSKm.js} +1 -1
- package/dist/assets/file-explorer-panel-DtzGlnzT.js +26 -0
- package/dist/assets/{file-icons-3sDTzIiO.js → file-icons-D2f3nfbq.js} +1 -1
- package/dist/assets/{file-name-input-BQHsY06u.js → file-name-input-BNYf9WWM.js} +3 -3
- package/dist/assets/{fileToBase64-DZfwJMrG.js → fileToBase64-D15LPv1Y.js} +1 -1
- package/dist/assets/{floating-outline-BwApXVjM.js → floating-outline-BvHFWRoz.js} +1 -1
- package/dist/assets/{flowDiagram-NV44I4VS--ee3IIVF.js → flowDiagram-NV44I4VS-BxZczAJ3.js} +1 -1
- package/dist/assets/focus-Ldqh99xE.js +1 -0
- package/dist/assets/{form-Dwj-zTw2.js → form-CxBAInfg.js} +2 -2
- package/dist/assets/formatting-DuH2AQgo.js +1 -0
- package/dist/assets/forth-CSTdXn4A.js +1 -0
- package/dist/assets/fortran-fENQO2l9.js +1 -0
- package/dist/assets/{fullscreen-eipL3i3Y.js → fullscreen-DFky0PAA.js} +3 -3
- package/dist/assets/{gallery-page-Bcf7fYLy.js → gallery-page-iZXf43Df.js} +1 -1
- package/dist/assets/{ganttDiagram-JELNMOA3-BGhmW2aP.js → ganttDiagram-JELNMOA3-D6lhmAdR.js} +1 -1
- package/dist/assets/gas-CPJMP4zj.js +1 -0
- package/dist/assets/gherkin-CiUmN4EE.js +1 -0
- package/dist/assets/{gitGraph-G5XIXVHT-DuJ_0c_E.js → gitGraph-G5XIXVHT-Du3ykVxi.js} +1 -1
- package/dist/assets/{gitGraphDiagram-V2S2FVAM-DXFCZcxr.js → gitGraphDiagram-V2S2FVAM-Cn2X9uyf.js} +1 -1
- package/dist/assets/{glide-data-editor-k70Tmujb.js → glide-data-editor-BbI6JGpY.js} +4 -4
- package/dist/assets/{globals-7JnRMGd4.js → globals-BivClSmn.js} +1 -1
- package/dist/assets/groovy-DMooZA1X.js +1 -0
- package/dist/assets/haskell-sDlThg6u.js +1 -0
- package/dist/assets/haxe-Do80ITri.js +1 -0
- package/dist/assets/home-page-DwFpLpXK.js +4 -0
- package/dist/assets/{hooks-TAU-thfD.js → hooks-5gNQitDd.js} +1 -1
- package/dist/assets/{html-to-image-E1XHwobR.js → html-to-image-CyAtzePO.js} +2 -2
- package/dist/assets/idl-DFPg6k4F.js +1 -0
- package/dist/assets/index-BAYF7dcV.css +2 -0
- package/dist/assets/index-CGCBsDqs.js +38 -0
- package/dist/assets/{info-VBDWY6EO-DPQEAe2T.js → info-VBDWY6EO-DfrFT_jr.js} +1 -1
- package/dist/assets/infoDiagram-HS3SLOUP-DkUueEWV.js +2 -0
- package/dist/assets/input-DA8xlX70.js +1 -0
- package/dist/assets/javascript-BGc4iHiT.js +1 -0
- package/dist/assets/{journeyDiagram-XKPGCS4Q-9D2JCyrN.js → journeyDiagram-XKPGCS4Q-D_8hf_60.js} +1 -1
- package/dist/assets/julia-BHNHVraD.js +1 -0
- package/dist/assets/{kanban-definition-3W4ZIXB7-DxV26rf-.js → kanban-definition-3W4ZIXB7-DLnwfoGw.js} +1 -1
- package/dist/assets/katex-Bty7Bcil.js +1 -0
- package/dist/assets/kiosk-mode-CTWHjzXs.js +1 -0
- package/dist/assets/{label-xHqFtfdz.js → label-C2_YQRio.js} +1 -1
- package/dist/assets/layout-D3pd3R21.js +9 -0
- package/dist/assets/{line-x4bpd_8D.js → line-VKarCWVL.js} +1 -1
- package/dist/assets/{linear-CW_ww8od.js → linear-BrLBJGJq.js} +1 -1
- package/dist/assets/livescript-Bv2FpOTI.js +1 -0
- package/dist/assets/{logs-panel-BgBoDU9c.js → logs-panel-BVLYycQb.js} +1 -1
- package/dist/assets/{loro_wasm_bg-CtNTubKN.js → loro_wasm_bg-Drxc4adW.js} +1 -1
- package/dist/assets/lua-BysKHKPZ.js +1 -0
- package/dist/assets/markdown-renderer-C9Ujvj0b.js +5 -0
- package/dist/assets/mathematica-BBTHoTvM.js +1 -0
- package/dist/assets/mbox-DeT9_lvk.js +1 -0
- package/dist/assets/{menu-items-DcP01QzW.js → menu-items-BP7Ju9ww.js} +1 -1
- package/dist/assets/mermaid-4DMBBIKO-DpGOMfON.js +1 -0
- package/dist/assets/{mermaid-Bes0ynI8.js → mermaid-DALU4jHa.js} +3 -3
- package/dist/assets/{mermaid-parser.core-aYU6qXxk.js → mermaid-parser.core-B73Gp-Wo.js} +2 -2
- package/dist/assets/{mhchem-8N2oE3tb.js → mhchem-LBCEVJFr.js} +1 -1
- package/dist/assets/{mindmap-definition-VGOIOE7T-DTJAbAQ8.js → mindmap-definition-VGOIOE7T-DO_Zb7LC.js} +1 -1
- package/dist/assets/mirc-D5fMSrXQ.js +1 -0
- package/dist/assets/mllike-BtxCpmpf.js +1 -0
- package/dist/assets/modelica-CRQcZpK6.js +1 -0
- package/dist/assets/mscgen-BfscU11q.js +1 -0
- package/dist/assets/multi-map-C4OANz8X.js +1 -0
- package/dist/assets/mumps-g7ooySbl.js +1 -0
- package/dist/assets/{name-cell-input-LhNS_uVp.js → name-cell-input-DabvuruX.js} +1 -1
- package/dist/assets/nsis-BtyCmCHZ.js +1 -0
- package/dist/assets/{nsis-BGZ5EB-j.js → nsis-CzZqoCdu.js} +1 -1
- package/dist/assets/ntriples-DLyxF-NO.js +1 -0
- package/dist/assets/{number-overlay-editor-DL4IwqDH.js → number-overlay-editor-DyhbXrfU.js} +1 -1
- package/dist/assets/numbers-DGxQfQ-A.js +1 -0
- package/dist/assets/octave-CFXP_zzr.js +1 -0
- package/dist/assets/{ordinal-_nQ2r1qQ.js → ordinal-DgI3JO68.js} +1 -1
- package/dist/assets/{outline-panel-CXyY4Ooa.js → outline-panel-B-ncbNWI.js} +1 -1
- package/dist/assets/oz-CrQbC0N_.js +1 -0
- package/dist/assets/{packages-panel-Dc1T948s.js → packages-panel-CESeW_3T.js} +1 -1
- package/dist/assets/{packet-DYOGHKS2-CxgeJpvT.js → packet-DYOGHKS2-DoIJcGk-.js} +1 -1
- package/dist/assets/{pair-with-agent-modal-1tufe5MP.js → pair-with-agent-modal-_SlYEcmZ.js} +1 -1
- package/dist/assets/{panels-wCFiLJ4T.js → panels-CTy3hq0L.js} +1 -1
- package/dist/assets/pascal-CCSZgYZH.js +1 -0
- package/dist/assets/perl-Bc1MycMl.js +1 -0
- package/dist/assets/{pie-VRWISCQL-GZ13ReaG.js → pie-VRWISCQL-DYulZZ0A.js} +1 -1
- package/dist/assets/{pieDiagram-ADFJNKIX-_3l2XiEo.js → pieDiagram-ADFJNKIX-Dxph8su5.js} +1 -1
- package/dist/assets/pig-CDr04RdE.js +1 -0
- package/dist/assets/{popover-Bz_0Vkyf.js → popover-CNCYAwbC.js} +1 -1
- package/dist/assets/powershell-DcvrUwmh.js +1 -0
- package/dist/assets/process-output-pPgH0ANl.js +1 -0
- package/dist/assets/properties-Y8OgFJMt.js +1 -0
- package/dist/assets/protobuf-Dyx-ENis.js +1 -0
- package/dist/assets/{pug-CYW0agOo.js → pug-BqLMXh-D.js} +1 -1
- package/dist/assets/pug-T7qjkmFh.js +1 -0
- package/dist/assets/puppet-BzYSg90u.js +1 -0
- package/dist/assets/python-D4S7tVrv.js +1 -0
- package/dist/assets/q-YpqabiSl.js +1 -0
- package/dist/assets/{quadrantDiagram-AYHSOK5B-CX3AMAvR.js → quadrantDiagram-AYHSOK5B-OK6c_k6c.js} +1 -1
- package/dist/assets/r-DzpuVbmQ.js +1 -0
- package/dist/assets/{radar-ZZBFDIW7-CbAjwmA0.js → radar-ZZBFDIW7-DsPiq6Fm.js} +1 -1
- package/dist/assets/radio-group-D7rh6Zek.js +1 -0
- package/dist/assets/{react-vega-COx3Ibyn.js → react-vega-CF0xMHAj.js} +1 -1
- package/dist/assets/{react-vega-CXIQBUis.js → react-vega-DiXzyRNd.js} +1 -1
- package/dist/assets/readonly-python-code-CvPx4CU_.js +1 -0
- package/dist/assets/{renderShortcut-CcFk3m01.js → renderShortcut--ku7VECI.js} +1 -1
- package/dist/assets/{requirementDiagram-UZGBJVZJ-ORHKBnkg.js → requirementDiagram-UZGBJVZJ-CHfh_UWf.js} +1 -1
- package/dist/assets/reveal-component-lTtEZQh1.js +1069 -0
- package/dist/assets/rpm-DlmAEsH3.js +1 -0
- package/dist/assets/ruby-BHSBK3B4.js +1 -0
- package/dist/assets/{run-page-CUGbf_dY.js → run-page-BB6ghGfO.js} +1 -1
- package/dist/assets/{sankeyDiagram-TZEHDZUN-Dvb8kmWa.js → sankeyDiagram-TZEHDZUN-DJTjdP71.js} +1 -1
- package/dist/assets/sas-DmQmrPAn.js +1 -0
- package/dist/assets/save-worker-Bcr7rl0C.js +77 -0
- package/dist/assets/scheme-CZHvt0eC.js +1 -0
- package/dist/assets/scratchpad-panel-Bvb8RxUv.js +1 -0
- package/dist/assets/{secrets-panel-Yt3orrjq.js → secrets-panel-BJEb16JJ.js} +1 -1
- package/dist/assets/{select-DZcFyKFQ.js → select-6suE6YM2.js} +1 -1
- package/dist/assets/{sequenceDiagram-WL72ISMW-DQycpQtE.js → sequenceDiagram-WL72ISMW-BbqjAz3N.js} +1 -1
- package/dist/assets/session-panel-CTJPYbAa.js +1 -0
- package/dist/assets/shell-BJzvpTMz.js +1 -0
- package/dist/assets/sieve-DGjPhm-6.js +1 -0
- package/dist/assets/smalltalk-DaG60CSr.js +1 -0
- package/dist/assets/{snippets-panel-CFcDYkZP.js → snippets-panel-BSgcoo-M.js} +1 -1
- package/dist/assets/sparql-CN49rXKB.js +1 -0
- package/dist/assets/{src-CvyFXpBy.js → src-Cf4NnJCp.js} +1 -1
- package/dist/assets/{state-S6iAjdOK.js → state-BWM3qRkR.js} +1 -1
- package/dist/assets/{state-Ddd_K3qS.js → state-C8yHPSLN.js} +3 -3
- package/dist/assets/state-DyKcYt57.js +1 -0
- package/dist/assets/{stateDiagram-FKZM4ZOC-D78DIR_F.js → stateDiagram-FKZM4ZOC-DF2xwZZf.js} +1 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-6MssSC6h.js +1 -0
- package/dist/assets/{step-D7xg1Moj.js → step-DGkZosD0.js} +1 -1
- package/dist/assets/stylus-CzHZ_0CL.js +1 -0
- package/dist/assets/swift-5fr5bTbW.js +1 -0
- package/dist/assets/{switch-BiU_sAcn.js → switch-Ac7CgLgh.js} +1 -1
- package/dist/assets/tcl-D5oaR_GS.js +1 -0
- package/dist/assets/{terminal-BYGihNNp.js → terminal-BJktwlxI.js} +1 -1
- package/dist/assets/{textarea-Cs-Nr1R_.js → textarea-bBuxbFm7.js} +1 -1
- package/dist/assets/textile-CJ5e8-7o.js +1 -0
- package/dist/assets/{time-DLdI7jB3.js → time-BCqVDrZA.js} +1 -1
- package/dist/assets/{timeline-definition-IT6M3QCI-DIywx3xf.js → timeline-definition-IT6M3QCI-5BUJBQNX.js} +1 -1
- package/dist/assets/toml-D9QwsDZO.js +1 -0
- package/dist/assets/{tooltip-DTV9tlSr.js → tooltip-B_PkSKN3.js} +1 -1
- package/dist/assets/{tracing-panel-BQdeG0Lh.js → tracing-panel-BveZ5DZw.js} +2 -2
- package/dist/assets/{tracing-CsmYUpPy.js → tracing-pt7eDHWc.js} +1 -1
- package/dist/assets/tree-actions-1KQDSu1H.js +1 -0
- package/dist/assets/{treemap-GDKQZRPO-Dz_qZhuG.js → treemap-GDKQZRPO-4ltp47XX.js} +1 -1
- package/dist/assets/troff-DlwQJbfr.js +1 -0
- package/dist/assets/ttcn-DUvoO9Vo.js +1 -0
- package/dist/assets/ttcn-cfg-Cj-t-B3M.js +1 -0
- package/dist/assets/turtle-DzvxCIjc.js +1 -0
- package/dist/assets/useBoolean-CE6PfxGj.js +1 -0
- package/dist/assets/useCellActionButton-C4V7J6PS.js +1 -0
- package/dist/assets/useDeleteCell-BvnurAZ9.js +1 -0
- package/dist/assets/useDependencyPanelTab-DNlXaxbt.js +1 -0
- package/dist/assets/useNotebookActions-BIQkawja.js +1 -0
- package/dist/assets/useRunCells-cSZpNqnR.js +1 -0
- package/dist/assets/useSplitCell-s7dSiBUa.js +1 -0
- package/dist/assets/vb-Caf126uo.js +1 -0
- package/dist/assets/vbscript-BgRl-LR8.js +1 -0
- package/dist/assets/{vega-component-COOhhZ3h.js → vega-component-HZvzjURu.js} +1 -1
- package/dist/assets/velocity-CpvfwasF.js +1 -0
- package/dist/assets/verilog-hsHogyKv.js +1 -0
- package/dist/assets/vhdl-FciHazR1.js +1 -0
- package/dist/assets/webidl-CqjZNx5V.js +1 -0
- package/dist/assets/{worker-B38WhSlZ.js → worker-Bp53hInb.js} +6 -6
- package/dist/assets/{write-secret-modal-CLc8TNUL.js → write-secret-modal-DM7t6LNp.js} +1 -1
- package/dist/assets/xquery-DpTaL2IT.js +1 -0
- package/dist/assets/{xychartDiagram-PRI3JC2R-CjS1dL8k.js → xychartDiagram-PRI3JC2R-Cqm5NYAj.js} +1 -1
- package/dist/assets/yacas-D6bbkHsk.js +1 -0
- package/dist/assets/z80-MlujNizn.js +1 -0
- package/dist/files/wasm-intro.py +11 -8
- package/dist/index.html +68 -70
- package/package.json +4 -3
- package/src/__tests__/setup.ts +16 -0
- package/src/components/chat/chat-display.tsx +2 -2
- package/src/components/data-table/TableBottomBar.tsx +1 -15
- package/src/components/data-table/TableTopBar.tsx +8 -13
- package/src/components/data-table/__tests__/TableBottomBar.test.tsx +6 -12
- package/src/components/data-table/__tests__/column-visibility-dropdown.test.tsx +227 -0
- package/src/components/data-table/column-visibility-dropdown.tsx +204 -0
- package/src/components/data-table/data-table.tsx +1 -1
- package/src/components/data-table/filter-by-values-picker.tsx +39 -17
- package/src/components/data-table/filter-pills.tsx +1 -1
- package/src/components/datasources/__tests__/filter-empty.test.ts +183 -0
- package/src/components/datasources/datasources.tsx +92 -3
- package/src/components/editor/ai/ai-completion-editor.tsx +6 -5
- package/src/components/editor/cell/code/cell-editor.tsx +70 -32
- package/src/components/editor/cell/code/code-placeholder.css +18 -0
- package/src/components/editor/cell/code/code-placeholder.tsx +47 -0
- package/src/components/editor/cell/code/language-toggle.tsx +7 -1
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +97 -52
- package/src/components/editor/chrome/wrapper/lazy-panels.ts +91 -0
- package/src/components/editor/chrome/wrapper/sidebar.tsx +2 -0
- package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +9 -2
- package/src/components/editor/connections/storage/__tests__/as-code.test.ts +62 -27
- package/src/components/editor/connections/storage/add-storage-form.tsx +5 -1
- package/src/components/editor/connections/storage/as-code.ts +20 -6
- package/src/components/editor/documentation.css +35 -0
- package/src/components/editor/file-tree/file-explorer.tsx +8 -18
- package/src/components/editor/file-tree/tree-actions.tsx +46 -1
- package/src/components/editor/notebook-cell.tsx +3 -3
- package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +20 -0
- package/src/components/editor/renderers/slides-layout/types.ts +1 -0
- package/src/components/markdown/__tests__/markdown-renderer.test.tsx +43 -0
- package/src/components/markdown/markdown-renderer.tsx +24 -1
- package/src/components/slides/__tests__/minimap-actions.test.tsx +166 -0
- package/src/components/slides/__tests__/reveal-component.test.ts +425 -0
- package/src/components/slides/minimap.tsx +127 -10
- package/src/components/slides/reveal-component.tsx +287 -61
- package/src/components/slides/slide-cell-view.tsx +26 -2
- package/src/components/slides/slide-form.tsx +26 -4
- package/src/components/storage/__tests__/storage-inspector.test.ts +180 -0
- package/src/components/storage/storage-inspector.tsx +535 -81
- package/src/components/ui/combobox.tsx +51 -32
- package/src/components/ui/number-field.tsx +5 -1
- package/src/components/ui/reorderable-list.tsx +13 -0
- package/src/components/ui/select-core/__tests__/use-select-list.test.ts +294 -0
- package/src/components/ui/select-core/__tests__/utils.test.ts +222 -0
- package/src/components/ui/select-core/index.ts +16 -0
- package/src/components/ui/select-core/option-row.tsx +33 -0
- package/src/components/ui/select-core/render-slot.ts +20 -0
- package/src/components/ui/select-core/select-list.tsx +248 -0
- package/src/components/ui/select-core/types.ts +44 -0
- package/src/components/ui/select-core/use-select-list.ts +347 -0
- package/src/components/ui/select-core/utils.ts +121 -0
- package/src/components/ui/toast.tsx +1 -0
- package/src/core/ai/__tests__/strip-wrapping-backticks.test.ts +133 -0
- package/src/core/ai/stream-completion-text.ts +48 -0
- package/src/core/ai/strip-wrapping-backticks.ts +88 -0
- package/src/core/cells/__tests__/document-changes.test.ts +2 -2
- package/src/core/cells/__tests__/focus.test.ts +45 -2
- package/src/core/cells/focus.ts +1 -1
- package/src/core/cells/scrollCellIntoView.ts +4 -0
- package/src/core/cells/utils.ts +1 -1
- package/src/core/codemirror/__tests__/editor-mount-scheduler.test.ts +143 -0
- package/src/core/codemirror/ai/request.ts +2 -14
- package/src/core/codemirror/copilot/getCodes.ts +3 -1
- package/src/core/codemirror/editor-mount-scheduler.ts +101 -0
- package/src/core/codemirror/language/languages/python.ts +2 -0
- package/src/core/codemirror/language/languages/sql/utils.ts +3 -1
- package/src/core/codemirror/lsp/__tests__/markdown-renderer.test.ts +41 -0
- package/src/core/codemirror/lsp/markdown-renderer.ts +59 -0
- package/src/core/datasets/data-source-connections.ts +2 -0
- package/src/core/errors/errors.ts +1 -1
- package/src/core/storage/__tests__/state.test.ts +49 -0
- package/src/core/storage/__tests__/useStorageEntries.test.tsx +199 -3
- package/src/core/storage/state.ts +124 -13
- package/src/core/storage/types.ts +6 -0
- package/src/core/wasm/worker/bootstrap.ts +12 -4
- package/src/plugins/core/__test__/registerReactComponent.test.ts +96 -0
- package/src/plugins/core/registerReactComponent.tsx +42 -10
- package/src/plugins/impl/MultiselectPlugin.tsx +19 -142
- package/src/plugins/impl/SearchableSelect.tsx +16 -97
- package/src/plugins/impl/SliderPlugin.tsx +132 -18
- package/src/plugins/impl/__tests__/DropdownPlugin.test.tsx +5 -2
- package/src/plugins/impl/__tests__/MultiSelectPlugin.test.ts +1 -1
- package/src/plugins/impl/__tests__/SliderPlugin.test.tsx +278 -8
- package/src/utils/__tests__/numbers.test.ts +20 -0
- package/src/utils/errors.ts +9 -0
- package/src/utils/lazy.ts +6 -1
- package/src/utils/numbers.ts +27 -0
- package/src/utils/schedule-task.ts +71 -0
- package/dist/assets/JsonOutput-CmKxNtru.js +0 -53
- package/dist/assets/LazyAnyLanguageCodeMirror-DXGWNDPu.js +0 -2
- package/dist/assets/RunButton-NDsrcmxR.js +0 -1
- package/dist/assets/__vite-browser-external-DuZehUbK.js +0 -1
- package/dist/assets/__vite-browser-external-Jpm67kL1.js +0 -1
- package/dist/assets/add-connection-dialog-DXpcs9M2.js +0 -167
- package/dist/assets/apl-EAxnZS_5.js +0 -1
- package/dist/assets/asciiarmor-zxnaShQE.js +0 -1
- package/dist/assets/asn1-7i28Os5R.js +0 -1
- package/dist/assets/brainfuck-BZegPsXK.js +0 -1
- package/dist/assets/cell-editor-B1wwg8iY.js +0 -20
- package/dist/assets/cells-jmgGt1lS.css +0 -2
- package/dist/assets/channel-6XBTrC3Q.js +0 -1
- package/dist/assets/chunk-55IACEB6-Cr4aqhf3.js +0 -1
- package/dist/assets/classDiagram-2ON5EDUG-DlIMDu6i.js +0 -1
- package/dist/assets/classDiagram-v2-WZHVMYZB-CcIhhkQu.js +0 -1
- package/dist/assets/clojure-VUVi7fTV.js +0 -1
- package/dist/assets/cmake-DZJIDbjY.js +0 -1
- package/dist/assets/cobol-klCRwlLm.js +0 -1
- package/dist/assets/coffeescript-C9foD9ub.js +0 -1
- package/dist/assets/column-preview-D6S-invN.js +0 -1
- package/dist/assets/commonlisp-tHxoA35J.js +0 -1
- package/dist/assets/components-BdJ56O4q.js +0 -1
- package/dist/assets/components-DLLO0jH-.js +0 -1
- package/dist/assets/crystal-CQ11GdrX.js +0 -1
- package/dist/assets/cypher-CJ0Uzw29.js +0 -1
- package/dist/assets/d-DP0SUIt1.js +0 -1
- package/dist/assets/dependency-graph-panel-B5HsauWV.js +0 -5
- package/dist/assets/diff-CNs8MB38.js +0 -1
- package/dist/assets/dist-B1U1kGCR.js +0 -1
- package/dist/assets/dist-B7U5jPfs.js +0 -1
- package/dist/assets/dist-BZX17NA8.js +0 -1
- package/dist/assets/dist-BtL81uwZ.js +0 -1
- package/dist/assets/dist-Bww7hlVc.js +0 -1
- package/dist/assets/dist-CAIBlJtJ.js +0 -1
- package/dist/assets/dist-CHcznzB-.js +0 -2
- package/dist/assets/dist-CPF3W2Y-.js +0 -1
- package/dist/assets/dist-CPczQFlJ.js +0 -3
- package/dist/assets/dist-CUapWJe4.js +0 -1
- package/dist/assets/dist-CWeWT34c.js +0 -1
- package/dist/assets/dist-CXBpwk_w.js +0 -7
- package/dist/assets/dist-ChF5Ln9c.js +0 -13
- package/dist/assets/dist-CuCuJBdf.js +0 -1
- package/dist/assets/dist-DH60fwgs.js +0 -1
- package/dist/assets/dist-DZPpMvcR.js +0 -1
- package/dist/assets/dist-DkcQg5xD.js +0 -1
- package/dist/assets/dist-DkzFxGAX.js +0 -1
- package/dist/assets/dist-DmBXXm0k.js +0 -1
- package/dist/assets/dist-W1iHBJeE.js +0 -1
- package/dist/assets/dist-_fyDen1v.js +0 -1
- package/dist/assets/dist-cgiAP5sW.js +0 -1
- package/dist/assets/dist-vkd1160q.js +0 -1
- package/dist/assets/documentation-panel-2PnKMw05.js +0 -1
- package/dist/assets/download-32D6oAIq.js +0 -9
- package/dist/assets/dtd-BsD0uJw0.js +0 -1
- package/dist/assets/dylan-DbrGP1IP.js +0 -1
- package/dist/assets/ecl-C0rZlhHw.js +0 -1
- package/dist/assets/edit-page-CgIpF5rg.js +0 -9
- package/dist/assets/eiffel-2ZX-OpSJ.js +0 -1
- package/dist/assets/ellipsis-vertical-CkwWkOQL.js +0 -1
- package/dist/assets/elm-CbOSKldD.js +0 -1
- package/dist/assets/erlang-BWiOgHIX.js +0 -1
- package/dist/assets/errors-vr57w7Ul.js +0 -1
- package/dist/assets/esm-CqWdmSnV.js +0 -1
- package/dist/assets/factor-CUwFIMOP.js +0 -1
- package/dist/assets/file-explorer-panel-Ba6mLeNn.js +0 -26
- package/dist/assets/focus-8kPvcQcq.js +0 -1
- package/dist/assets/formatting-CSG9kqNb.js +0 -1
- package/dist/assets/forth-BEQA4QQL.js +0 -1
- package/dist/assets/fortran-DoPpOZgG.js +0 -1
- package/dist/assets/gas-BYovsvOE.js +0 -1
- package/dist/assets/gherkin-CFiRc1Pf.js +0 -1
- package/dist/assets/groovy-DJNH7evt.js +0 -1
- package/dist/assets/haskell-duZvcePm.js +0 -1
- package/dist/assets/haxe-B2l95qvB.js +0 -1
- package/dist/assets/home-page-Dt8XHnbh.js +0 -4
- package/dist/assets/idl-CZ_xwU8I.js +0 -1
- package/dist/assets/index-BIw7BKLH.css +0 -2
- package/dist/assets/index-viGrdCLZ.js +0 -38
- package/dist/assets/infoDiagram-HS3SLOUP-CaaUieFa.js +0 -2
- package/dist/assets/input-C3Hrdlqq.js +0 -1
- package/dist/assets/javascript-CF5KGSAj.js +0 -1
- package/dist/assets/julia-BQlq5iZn.js +0 -1
- package/dist/assets/katex-CzQ1KdW3.js +0 -1
- package/dist/assets/kiosk-mode-x9vOLIH9.js +0 -1
- package/dist/assets/layout-C5tdHJmx.js +0 -9
- package/dist/assets/livescript-sRMenfqS.js +0 -1
- package/dist/assets/lua-a56ITumN.js +0 -1
- package/dist/assets/maps-n3GaPJwv.js +0 -1
- package/dist/assets/markdown-renderer-CbOSsdqB.js +0 -5
- package/dist/assets/mathematica-B3m4jXeH.js +0 -1
- package/dist/assets/mbox-BtL7aO2I.js +0 -1
- package/dist/assets/mermaid-4DMBBIKO-CekzuCTz.js +0 -1
- package/dist/assets/mirc-S27kuZ31.js +0 -1
- package/dist/assets/mllike-B3kx3KeF.js +0 -1
- package/dist/assets/modelica-DgbW4dSi.js +0 -1
- package/dist/assets/mscgen-BIa_4d-0.js +0 -1
- package/dist/assets/multi-map-CUuNtzHt.js +0 -1
- package/dist/assets/mumps-4fnELyHs.js +0 -1
- package/dist/assets/nsis-BfGyMssE.js +0 -1
- package/dist/assets/ntriples-DeY1n_tC.js +0 -1
- package/dist/assets/numbers-C3BAdHZE.js +0 -1
- package/dist/assets/octave-7Qn21jzx.js +0 -1
- package/dist/assets/oz-CiPFl3Ni.js +0 -1
- package/dist/assets/pascal-BH9yQLzw.js +0 -1
- package/dist/assets/perl-DfMCx2i2.js +0 -1
- package/dist/assets/pig-D9CNebQN.js +0 -1
- package/dist/assets/play-C7DcCsoO.js +0 -1
- package/dist/assets/powershell-Dss0bU9F.js +0 -1
- package/dist/assets/process-output-BN6KcCNl.js +0 -1
- package/dist/assets/properties-CHADYQUL.js +0 -1
- package/dist/assets/protobuf-DFN-V4SD.js +0 -1
- package/dist/assets/pug-DOI9FnEk.js +0 -1
- package/dist/assets/puppet-BV0HAkDS.js +0 -1
- package/dist/assets/python-C83Db0-4.js +0 -1
- package/dist/assets/q-D84S4YaJ.js +0 -1
- package/dist/assets/r-jmqrRzXv.js +0 -1
- package/dist/assets/radio-group-Hu4Rygaq.js +0 -1
- package/dist/assets/readonly-python-code-D5_r1Ld_.js +0 -1
- package/dist/assets/reveal-component-Da4UMw9R.js +0 -1069
- package/dist/assets/rpm-DUjG0xRk.js +0 -1
- package/dist/assets/ruby-SP4FIzir.js +0 -1
- package/dist/assets/sas-BxaPz2EX.js +0 -1
- package/dist/assets/save-worker-D2iQi-UK.js +0 -77
- package/dist/assets/scheme-HBseLApj.js +0 -1
- package/dist/assets/scratchpad-panel-gze3khJ_.js +0 -1
- package/dist/assets/session-panel-DU5bofPV.js +0 -1
- package/dist/assets/shell-w8ATY_lQ.js +0 -1
- package/dist/assets/sieve-Dyq0LGDO.js +0 -1
- package/dist/assets/smalltalk-D7mAtumc.js +0 -1
- package/dist/assets/sparql-DAeEYE_u.js +0 -1
- package/dist/assets/state-DTislnZA.js +0 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-DX9rpmwh.js +0 -1
- package/dist/assets/stylus-Cw3Ugan7.js +0 -1
- package/dist/assets/swift-CPsNOBsX.js +0 -1
- package/dist/assets/tcl-BfWyQdZa.js +0 -1
- package/dist/assets/textile-BKgaSzSN.js +0 -1
- package/dist/assets/toml-BSOdv04W.js +0 -1
- package/dist/assets/tree-actions-BM_EJr3E.js +0 -1
- package/dist/assets/troff-C0hD9kig.js +0 -1
- package/dist/assets/ttcn-DEqPxhoh.js +0 -1
- package/dist/assets/ttcn-cfg-B-7jSlUe.js +0 -1
- package/dist/assets/turtle-BTtgFsu8.js +0 -1
- package/dist/assets/useBoolean-Bp18o6XG.js +0 -1
- package/dist/assets/useCellActionButton-4SU7bBwp.js +0 -1
- package/dist/assets/useDeleteCell-BFTb3_aM.js +0 -1
- package/dist/assets/useDependencyPanelTab-BdH0hUXV.js +0 -1
- package/dist/assets/useNotebookActions-BJSAXPbi.js +0 -1
- package/dist/assets/useRunCells-CewdwjHg.js +0 -1
- package/dist/assets/useSplitCell-CzWUkJwg.js +0 -1
- package/dist/assets/vb-DfRPk_ji.js +0 -1
- package/dist/assets/vbscript-C8D4uv5N.js +0 -1
- package/dist/assets/velocity-DxKr2FFC.js +0 -1
- package/dist/assets/verilog-CxVhamiH.js +0 -1
- package/dist/assets/vhdl-B-IpBNOA.js +0 -1
- package/dist/assets/webidl-CBjKmBwO.js +0 -1
- package/dist/assets/xquery-ABGCbLv0.js +0 -1
- package/dist/assets/yacas-Ckyxh7oh.js +0 -1
- package/dist/assets/z80-Dr5sQweg.js +0 -1
- package/src/plugins/impl/multiselectFilterFn.tsx +0 -22
- /package/dist/assets/{ImageComparisonComponent-BIetTBDq.js → ImageComparisonComponent-_eB8PDFu.js} +0 -0
- /package/dist/assets/{Inputs-C6ftxLAJ.js → Inputs-CdyQ7nLC.js} +0 -0
- /package/dist/assets/{Plot-Ba3WGWNu.js → Plot-BEhgxy0k.js} +0 -0
- /package/dist/assets/{apl-Byte72fT.js → apl-CpVTW0fY.js} +0 -0
- /package/dist/assets/{array-CC7vZNGO.js → array-BKCdRGCR.js} +0 -0
- /package/dist/assets/{asciiarmor-BU-VnG1Y.js → asciiarmor-qDK46YPd.js} +0 -0
- /package/dist/assets/{asn1-hTvH3S4T.js → asn1-s2ZJql-T.js} +0 -0
- /package/dist/assets/{asterisk-DIMri3P4.js → asterisk-BCtKIQ_I.js} +0 -0
- /package/dist/assets/{azure-B42ls0Ui.js → azure-DHLkI9dd.js} +0 -0
- /package/dist/assets/{brainfuck-C-q1Rv8J.js → brainfuck-5fD7ZBSv.js} +0 -0
- /package/dist/assets/{card--6HRj4T9.js → card-C9wGDUuq.js} +0 -0
- /package/dist/assets/{chunk-4F5CHEZ2-eEwFz7fp.js → chunk-4F5CHEZ2-DyHrF3GO.js} +0 -0
- /package/dist/assets/{chunk-B2363JML-COExSe0d.js → chunk-B2363JML-DutzPsZq.js} +0 -0
- /package/dist/assets/{chunk-DR5Q36YT-OB6tC_dd.js → chunk-DR5Q36YT-CbaaAWZ2.js} +0 -0
- /package/dist/assets/{chunk-FRFDVMJY-CO3-6rb4.js → chunk-FRFDVMJY-2_jGMKZ2.js} +0 -0
- /package/dist/assets/{chunk-PL6DKKU2-B9mDp5iV.js → chunk-PL6DKKU2-Ce2JFCUf.js} +0 -0
- /package/dist/assets/{chunk-SJTYNZTY-Dh_h90Yu.js → chunk-SJTYNZTY-PWGFKpLd.js} +0 -0
- /package/dist/assets/{chunk-TQ3KTPDO-CFybjK0M.js → chunk-TQ3KTPDO-CNkbM7LT.js} +0 -0
- /package/dist/assets/{chunk-UMXZTB3W-C3w83KpJ.js → chunk-UMXZTB3W-emEajCOH.js} +0 -0
- /package/dist/assets/{clear-button-Cfe8K4j_.js → clear-button-UYLFbizO.js} +0 -0
- /package/dist/assets/{click-outside-container-BNVqwewc.js → click-outside-container-B4pJ8dzi.js} +0 -0
- /package/dist/assets/{clike-BE-9Ct_H.js → clike-D58k-9vu.js} +0 -0
- /package/dist/assets/{clojure-Co-TLeNo.js → clojure-Dkfjc-Fr.js} +0 -0
- /package/dist/assets/{cmake-B-Nm_Opd.js → cmake-ffkxaUPf.js} +0 -0
- /package/dist/assets/{cobol-BGdihAZT.js → cobol-CKARYRbQ.js} +0 -0
- /package/dist/assets/{coffeescript-BUZXkMUO.js → coffeescript-Dz_r13Pd.js} +0 -0
- /package/dist/assets/{colors-BG8Z91CW.js → colors-CUF0x3zZ.js} +0 -0
- /package/dist/assets/{common-keywords-15xBKau4.js → common-keywords-Dl8aWedN.js} +0 -0
- /package/dist/assets/{commonlisp-CFkPbxvX.js → commonlisp-EavL1_-N.js} +0 -0
- /package/dist/assets/{crystal-CqfqDl34.js → crystal-BQ8grXRY.js} +0 -0
- /package/dist/assets/{css-DPEtZWJi.js → css-Bmqfl4iE.js} +0 -0
- /package/dist/assets/{cypher-B0t8FJvU.js → cypher-BKXIqXpT.js} +0 -0
- /package/dist/assets/{cytoscape.esm-DT8iy6p1.js → cytoscape.esm-Dr1GhgW1.js} +0 -0
- /package/dist/assets/{d-DRa_XRSB.js → d-DRfFJaS4.js} +0 -0
- /package/dist/assets/{diff-GLneonpD.js → diff-BWk1g4qN.js} +0 -0
- /package/dist/assets/{dist-BQWswd1A.js → dist-3Zzc89mE.js} +0 -0
- /package/dist/assets/{dist-BXRWfNwi.js → dist-D_deoNzY.js} +0 -0
- /package/dist/assets/{dtd-uVrZNVF0.js → dtd-C1gvGnbI.js} +0 -0
- /package/dist/assets/{duckdb-keywords-CYQ5DEZJ.js → duckdb-keywords-C_J2q1mp.js} +0 -0
- /package/dist/assets/{dylan-DkNeA4FZ.js → dylan-D26gjyBo.js} +0 -0
- /package/dist/assets/{ebnf-XMH6KY7E.js → ebnf-VrI3aTER.js} +0 -0
- /package/dist/assets/{ecl-CldUgvc9.js → ecl-D_pghsRW.js} +0 -0
- /package/dist/assets/{eiffel-CoMDRbRL.js → eiffel-CQeRT5l7.js} +0 -0
- /package/dist/assets/{elm-Cb5XC6ev.js → elm-BMJejWwJ.js} +0 -0
- /package/dist/assets/{empty-state-Cjt8SfMh.js → empty-state-vCWg-_A9.js} +0 -0
- /package/dist/assets/{erlang-8H3fTZ3L.js → erlang-DTDt7sE1.js} +0 -0
- /package/dist/assets/{esm-1wf4HygE.js → esm-DAVeZ8YU.js} +0 -0
- /package/dist/assets/{fcl-DyFJAgkq.js → fcl-B9roOCQ-.js} +0 -0
- /package/dist/assets/{forth-B8kC4npz.js → forth-DLug1Uos.js} +0 -0
- /package/dist/assets/{fortran-CNWGEL3c.js → fortran-CfPd9x83.js} +0 -0
- /package/dist/assets/{gas-DnZQNTHK.js → gas-C1vwqe1-.js} +0 -0
- /package/dist/assets/{gherkin-JfGcGvci.js → gherkin-DxFhlJYL.js} +0 -0
- /package/dist/assets/{groovy-D0FWiAVm.js → groovy-AqjvKzmp.js} +0 -0
- /package/dist/assets/{haskell-wUB3uX-G.js → haskell-B9BMJXS_.js} +0 -0
- /package/dist/assets/{haxe-g0JY6eL-.js → haxe-CFd4aFZH.js} +0 -0
- /package/dist/assets/{http-ySzAzH5W.js → http-BM6n_euc.js} +0 -0
- /package/dist/assets/{idl-CV2cLkPc.js → idl-DKlFwAHI.js} +0 -0
- /package/dist/assets/{init-DsZRk2YA.js → init-DZpk0tdu.js} +0 -0
- /package/dist/assets/{javascript-CT6okXEZ.js → javascript-BMuus-3E.js} +0 -0
- /package/dist/assets/{julia-CKC48ufo.js → julia-DGv2rboF.js} +0 -0
- /package/dist/assets/{katex-BE4UDS50.js → katex-DL3QMY8n.js} +0 -0
- /package/dist/assets/{links-1rtF1-eC.js → links-DoPgJNku.js} +0 -0
- /package/dist/assets/{livescript-C43pZ6Ue.js → livescript-51GCvdcX.js} +0 -0
- /package/dist/assets/{loro_wasm_bg-CXnd80ne.js → loro_wasm_bg-DYsTic7p.js} +0 -0
- /package/dist/assets/{lua-Cs2mb10K.js → lua-BwsAaftY.js} +0 -0
- /package/dist/assets/{marimo-icons-CiwvnnsT.js → marimo-icons-CLbC-oB3.js} +0 -0
- /package/dist/assets/{math-B-ZqhQTL.js → math-PgJy15ir.js} +0 -0
- /package/dist/assets/{mathematica-B5FMK3ma.js → mathematica-Du4amQ2X.js} +0 -0
- /package/dist/assets/{mbox-36Zrn5Bd.js → mbox-DKL-l6mb.js} +0 -0
- /package/dist/assets/{micromark-factory-space-BygYYKhs.js → micromark-factory-space-bqhKsQDn.js} +0 -0
- /package/dist/assets/{mirc-BKTAABSX.js → mirc-CvS1f8zr.js} +0 -0
- /package/dist/assets/{mllike-DbuClUqc.js → mllike-VhUq11ot.js} +0 -0
- /package/dist/assets/{modelica-CKRvBm7N.js → modelica-CjlHUZat.js} +0 -0
- /package/dist/assets/{mscgen-B4BRgnCi.js → mscgen-26STiUsc.js} +0 -0
- /package/dist/assets/{multi-icon-NVkxesVZ.js → multi-icon-BvuxcR2m.js} +0 -0
- /package/dist/assets/{mumps-BFiMcyFV.js → mumps-4o8IRFVU.js} +0 -0
- /package/dist/assets/{nginx-Cz_XvoTm.js → nginx-Tk1rzBXg.js} +0 -0
- /package/dist/assets/{node-sql-parser-BtkrI4pN.js → node-sql-parser-BRpb-iwO.js} +0 -0
- /package/dist/assets/{ntriples-QQAkJYAR.js → ntriples-D0zMsGJ-.js} +0 -0
- /package/dist/assets/{octave-DsTphmGZ.js → octave-CpJ40RVG.js} +0 -0
- /package/dist/assets/{oz-CD9rr5Iz.js → oz-W9l5CbXg.js} +0 -0
- /package/dist/assets/{panel-context-BJbBGfoL.js → panel-context-D7Ggu8Nw.js} +0 -0
- /package/dist/assets/{pascal-DdHEIlJE.js → pascal-BZtdYBm4.js} +0 -0
- /package/dist/assets/{path-DvTahePH.js → path-dqkZlAhR.js} +0 -0
- /package/dist/assets/{pathUtils-CJjndqMI.js → pathUtils-DPJ-EgtH.js} +0 -0
- /package/dist/assets/{perl-DHPJBQ1u.js → perl-Q79ziUtd.js} +0 -0
- /package/dist/assets/{pig-Yz7ERgca.js → pig-Dn9ueYxG.js} +0 -0
- /package/dist/assets/{powershell-CHPZ_bsU.js → powershell-DfXPJ56g.js} +0 -0
- /package/dist/assets/{properties-CI9nc7K4.js → properties-DRrw--9g.js} +0 -0
- /package/dist/assets/{protobuf-BYSIv2pY.js → protobuf-5jBh6Y7Q.js} +0 -0
- /package/dist/assets/{puppet-CEpLafZX.js → puppet-Bql5dDjm.js} +0 -0
- /package/dist/assets/{python-BndVuwG1.js → python-C7HNB5A8.js} +0 -0
- /package/dist/assets/{q-L_cetpiW.js → q-CW9lnZXb.js} +0 -0
- /package/dist/assets/{r-Dd37AKWk.js → r-DmuxMz9j.js} +0 -0
- /package/dist/assets/{request-registry--h6PWG50.js → request-registry-BmtPM40k.js} +0 -0
- /package/dist/assets/{requests-DqJEWJ-Q.js → requests-QKoDeQkn.js} +0 -0
- /package/dist/assets/{rpm-CHrvhtlN.js → rpm-2BQZRXYJ.js} +0 -0
- /package/dist/assets/{ruby-BPOowfX6.js → ruby-B-FyRKB2.js} +0 -0
- /package/dist/assets/{runs-BD0G-C2A.js → runs-DSnhrBgK.js} +0 -0
- /package/dist/assets/{sas-BsEFSvEP.js → sas-Q-94el51.js} +0 -0
- /package/dist/assets/{scheme-B42INBu7.js → scheme-By445Ne_.js} +0 -0
- /package/dist/assets/{semaphore-FlZezxaf.js → semaphore-qUGKVeAE.js} +0 -0
- /package/dist/assets/{shell-BPea12OI.js → shell-CezKrT5T.js} +0 -0
- /package/dist/assets/{sieve-C-yPcLw5.js → sieve-MRWdUbX3.js} +0 -0
- /package/dist/assets/{simple-mode-CFlvn0Mm.js → simple-mode-BtxX-F6Z.js} +0 -0
- /package/dist/assets/{smalltalk-e7OO1ATb.js → smalltalk-C0KZrhPl.js} +0 -0
- /package/dist/assets/{solr-BAO4N63o.js → solr-DaMZCY5b.js} +0 -0
- /package/dist/assets/{sparql-B4I2Ledx.js → sparql-CIMoBhOL.js} +0 -0
- /package/dist/assets/{spreadsheet-DWqd5foV.js → spreadsheet-CAZFfDgv.js} +0 -0
- /package/dist/assets/{sql-RBdzBYsM.js → sql-bIHkMPYp.js} +0 -0
- /package/dist/assets/{src-BnrQkOKh.js → src-DvosOx8X.js} +0 -0
- /package/dist/assets/{state-BGDrw26V.js → state-B2X5_9Jc.js} +0 -0
- /package/dist/assets/{stylus-CBRbZwhN.js → stylus-BxV1gbJN.js} +0 -0
- /package/dist/assets/{swift-B2hnU7ha.js → swift-C7ozIpB2.js} +0 -0
- /package/dist/assets/{swiper-component-YGJlBaCp.js → swiper-component-BA40Nidc.js} +0 -0
- /package/dist/assets/{tcl-BtyamtaZ.js → tcl-D9BrnXdg.js} +0 -0
- /package/dist/assets/{textile-M9mhyNE9.js → textile-8cDJUs1C.js} +0 -0
- /package/dist/assets/{tiddlywiki-BsHUDwie.js → tiddlywiki-C-jC8X9Z.js} +0 -0
- /package/dist/assets/{tiki-ZqBe4Kjv.js → tiki-CJPdyY5i.js} +0 -0
- /package/dist/assets/{timer-B6DpdVnC.js → timer-ffBO1paY.js} +0 -0
- /package/dist/assets/{toml-YxyxhyRy.js → toml-Dtc3-sql.js} +0 -0
- /package/dist/assets/{treemap-DeGcO9km.js → treemap-8bMgVaTX.js} +0 -0
- /package/dist/assets/{troff-C7xpi05X.js → troff-CxUT34rC.js} +0 -0
- /package/dist/assets/{ttcn-D3YytrJU.js → ttcn-BiVwbsr5.js} +0 -0
- /package/dist/assets/{ttcn-cfg-DlZ5vA9E.js → ttcn-cfg-BLBfLtVM.js} +0 -0
- /package/dist/assets/{turtle-BSHvAsUe.js → turtle-DqTQI7WU.js} +0 -0
- /package/dist/assets/{types-a-yURniQ.js → types-Cpe-qFT-.js} +0 -0
- /package/dist/assets/{useDeepCompareMemoize-zUHU--0D.js → useDeepCompareMemoize-CVmg-GkP.js} +0 -0
- /package/dist/assets/{useInterval-2YvvhIZI.js → useInterval-COQ3SSh0.js} +0 -0
- /package/dist/assets/{vb-DdkIDLlO.js → vb-D-mN5USJ.js} +0 -0
- /package/dist/assets/{vbscript-DhYGmk_p.js → vbscript-BHlqX42l.js} +0 -0
- /package/dist/assets/{velocity-DAXJNEw4.js → velocity-BX6395is.js} +0 -0
- /package/dist/assets/{verilog-jmuT_L3b.js → verilog-CixbCKyb.js} +0 -0
- /package/dist/assets/{vhdl-DcVQ97RU.js → vhdl-CofOR-02.js} +0 -0
- /package/dist/assets/{web-vitals-xkV-JBVF.js → web-vitals-CpL_P378.js} +0 -0
- /package/dist/assets/{webidl-B-YB_4OQ.js → webidl-DAqkXtNt.js} +0 -0
- /package/dist/assets/{ws-BnE9sl8z.js → ws-K6nioC-Z.js} +0 -0
- /package/dist/assets/{xquery-DOmY3Oe8.js → xquery-wPbfv0-o.js} +0 -0
- /package/dist/assets/{yacas-pL3kJRXV.js → yacas-B5Zk1avC.js} +0 -0
- /package/dist/assets/{z80-VwVuI_MT.js → z80-C0HuDTqd.js} +0 -0
- /package/src/components/{data-table → ui}/value-chips.tsx +0 -0
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
|
+
|
|
3
|
+
import { describe, expect, it } from "vitest";
|
|
4
|
+
import type {
|
|
5
|
+
Database,
|
|
6
|
+
DatabaseSchema,
|
|
7
|
+
DataTable,
|
|
8
|
+
} from "@/core/kernel/messages";
|
|
9
|
+
import { filterEmptyDatabases } from "../datasources";
|
|
10
|
+
|
|
11
|
+
function makeTable(name: string): DataTable {
|
|
12
|
+
return {
|
|
13
|
+
name,
|
|
14
|
+
columns: [],
|
|
15
|
+
source: "memory",
|
|
16
|
+
source_type: "local",
|
|
17
|
+
type: "table",
|
|
18
|
+
engine: null,
|
|
19
|
+
indexes: null,
|
|
20
|
+
num_columns: null,
|
|
21
|
+
num_rows: null,
|
|
22
|
+
variable_name: null,
|
|
23
|
+
primary_keys: null,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function makeSchema(opts: {
|
|
28
|
+
name: string;
|
|
29
|
+
tables: DataTable[];
|
|
30
|
+
tables_resolved?: boolean;
|
|
31
|
+
}): DatabaseSchema {
|
|
32
|
+
return {
|
|
33
|
+
name: opts.name,
|
|
34
|
+
tables: opts.tables,
|
|
35
|
+
tables_resolved: opts.tables_resolved ?? true,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function makeDatabase(
|
|
40
|
+
name: string,
|
|
41
|
+
schemas: DatabaseSchema[],
|
|
42
|
+
schemas_resolved = true,
|
|
43
|
+
): Database {
|
|
44
|
+
return {
|
|
45
|
+
name,
|
|
46
|
+
dialect: "duckdb",
|
|
47
|
+
schemas,
|
|
48
|
+
schemas_resolved,
|
|
49
|
+
engine: null,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
describe("filterEmptyDatabases", () => {
|
|
54
|
+
it("hides schemas whose tables are resolved and empty", () => {
|
|
55
|
+
const databases = [
|
|
56
|
+
makeDatabase("memory", [
|
|
57
|
+
makeSchema({ name: "main", tables: [makeTable("t1")] }),
|
|
58
|
+
makeSchema({ name: "empty_schema", tables: [] }),
|
|
59
|
+
]),
|
|
60
|
+
];
|
|
61
|
+
|
|
62
|
+
expect(filterEmptyDatabases(databases)).toEqual([
|
|
63
|
+
makeDatabase("memory", [
|
|
64
|
+
makeSchema({ name: "main", tables: [makeTable("t1")] }),
|
|
65
|
+
]),
|
|
66
|
+
]);
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
it("preserves databases whose schemas have not been resolved yet (lazy state)", () => {
|
|
70
|
+
const databases = [
|
|
71
|
+
makeDatabase("not_loaded_yet", [], /* schemas_resolved */ false),
|
|
72
|
+
];
|
|
73
|
+
|
|
74
|
+
expect(filterEmptyDatabases(databases)).toEqual([
|
|
75
|
+
makeDatabase("not_loaded_yet", [], false),
|
|
76
|
+
]);
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
it("hides databases that have been resolved as empty", () => {
|
|
80
|
+
const databases = [
|
|
81
|
+
makeDatabase("really_empty", [], /* schemas_resolved */ true),
|
|
82
|
+
makeDatabase("has_tables", [
|
|
83
|
+
makeSchema({ name: "main", tables: [makeTable("t1")] }),
|
|
84
|
+
]),
|
|
85
|
+
];
|
|
86
|
+
|
|
87
|
+
expect(filterEmptyDatabases(databases)).toEqual([
|
|
88
|
+
makeDatabase("has_tables", [
|
|
89
|
+
makeSchema({ name: "main", tables: [makeTable("t1")] }),
|
|
90
|
+
]),
|
|
91
|
+
]);
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
it("hides databases whose schemas all filtered to empty", () => {
|
|
95
|
+
const databases = [
|
|
96
|
+
makeDatabase("only_empty", [
|
|
97
|
+
makeSchema({ name: "a", tables: [] }),
|
|
98
|
+
makeSchema({ name: "b", tables: [] }),
|
|
99
|
+
]),
|
|
100
|
+
makeDatabase("has_tables", [
|
|
101
|
+
makeSchema({ name: "main", tables: [makeTable("t1")] }),
|
|
102
|
+
]),
|
|
103
|
+
];
|
|
104
|
+
|
|
105
|
+
expect(filterEmptyDatabases(databases)).toEqual([
|
|
106
|
+
makeDatabase("has_tables", [
|
|
107
|
+
makeSchema({ name: "main", tables: [makeTable("t1")] }),
|
|
108
|
+
]),
|
|
109
|
+
]);
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
it("treats missing schemas_resolved as resolved (backward compatible)", () => {
|
|
113
|
+
const databases = [
|
|
114
|
+
{ name: "memory", dialect: "duckdb", schemas: [], engine: null },
|
|
115
|
+
] as Database[];
|
|
116
|
+
|
|
117
|
+
expect(filterEmptyDatabases(databases)).toEqual([]);
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
it("preserves schemas whose tables have not been resolved yet", () => {
|
|
121
|
+
const databases = [
|
|
122
|
+
makeDatabase("snowflake_db", [
|
|
123
|
+
// include_tables=False was used; the schema is not actually empty,
|
|
124
|
+
// tables will be fetched lazily on expand.
|
|
125
|
+
makeSchema({ name: "public", tables: [], tables_resolved: false }),
|
|
126
|
+
makeSchema({ name: "audit", tables: [], tables_resolved: false }),
|
|
127
|
+
makeSchema({
|
|
128
|
+
name: "really_empty",
|
|
129
|
+
tables: [],
|
|
130
|
+
tables_resolved: true,
|
|
131
|
+
}),
|
|
132
|
+
]),
|
|
133
|
+
];
|
|
134
|
+
|
|
135
|
+
expect(filterEmptyDatabases(databases)).toEqual([
|
|
136
|
+
makeDatabase("snowflake_db", [
|
|
137
|
+
makeSchema({ name: "public", tables: [], tables_resolved: false }),
|
|
138
|
+
makeSchema({ name: "audit", tables: [], tables_resolved: false }),
|
|
139
|
+
]),
|
|
140
|
+
]);
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
it("treats missing tables_resolved as resolved (backward compatible)", () => {
|
|
144
|
+
// Older payloads predating the new flag may omit it; default semantics
|
|
145
|
+
// treat the schema as resolved/authoritative.
|
|
146
|
+
const databases = [
|
|
147
|
+
makeDatabase("memory", [
|
|
148
|
+
{ name: "main", tables: [makeTable("t1")] },
|
|
149
|
+
{ name: "empty_schema", tables: [] },
|
|
150
|
+
] as DatabaseSchema[]),
|
|
151
|
+
];
|
|
152
|
+
|
|
153
|
+
expect(filterEmptyDatabases(databases)).toEqual([
|
|
154
|
+
makeDatabase("memory", [
|
|
155
|
+
{ name: "main", tables: [makeTable("t1")] },
|
|
156
|
+
] as DatabaseSchema[]),
|
|
157
|
+
]);
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
it("returns the same reference when nothing was filtered", () => {
|
|
161
|
+
const databases = [
|
|
162
|
+
makeDatabase("memory", [
|
|
163
|
+
makeSchema({ name: "main", tables: [makeTable("t1")] }),
|
|
164
|
+
]),
|
|
165
|
+
];
|
|
166
|
+
|
|
167
|
+
expect(filterEmptyDatabases(databases)).toBe(databases);
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
it("does not mutate the input", () => {
|
|
171
|
+
const databases = [
|
|
172
|
+
makeDatabase("memory", [
|
|
173
|
+
makeSchema({ name: "main", tables: [makeTable("t1")] }),
|
|
174
|
+
makeSchema({ name: "empty_schema", tables: [] }),
|
|
175
|
+
]),
|
|
176
|
+
];
|
|
177
|
+
const snapshot = JSON.parse(JSON.stringify(databases));
|
|
178
|
+
|
|
179
|
+
filterEmptyDatabases(databases);
|
|
180
|
+
|
|
181
|
+
expect(databases).toEqual(snapshot);
|
|
182
|
+
});
|
|
183
|
+
});
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
2
|
|
|
3
3
|
import { CommandList } from "cmdk";
|
|
4
|
-
import { atom, useAtomValue, useSetAtom } from "jotai";
|
|
4
|
+
import { atom, useAtom, useAtomValue, useSetAtom } from "jotai";
|
|
5
|
+
import { atomWithStorage } from "jotai/utils";
|
|
5
6
|
import { PlusIcon, PlusSquareIcon, XIcon } from "lucide-react";
|
|
6
7
|
import React from "react";
|
|
7
8
|
import { dbDisplayName } from "@/components/databases/display";
|
|
8
9
|
import { EngineVariable } from "@/components/databases/engine-variable";
|
|
9
10
|
import { DatabaseLogo } from "@/components/databases/icon";
|
|
10
|
-
import {
|
|
11
|
+
import {
|
|
12
|
+
RefreshIconButton,
|
|
13
|
+
VisibilityToggleButton,
|
|
14
|
+
} from "@/components/editor/file-tree/tree-actions";
|
|
11
15
|
import { CopyClipboardIcon } from "@/components/icons/copy-icon";
|
|
12
16
|
import { Button } from "@/components/ui/button";
|
|
13
17
|
import { Command, CommandInput, CommandItem } from "@/components/ui/command";
|
|
@@ -52,6 +56,7 @@ import { sortBy } from "@/utils/arrays";
|
|
|
52
56
|
import { logNever } from "@/utils/assertNever";
|
|
53
57
|
import { cn } from "@/utils/cn";
|
|
54
58
|
import { Events } from "@/utils/events";
|
|
59
|
+
import { jotaiJsonStorage } from "@/utils/storage/jotai";
|
|
55
60
|
import {
|
|
56
61
|
DatabaseIcon,
|
|
57
62
|
SchemaIcon,
|
|
@@ -116,6 +121,63 @@ const sortedTablesAtom = atom((get) => {
|
|
|
116
121
|
});
|
|
117
122
|
});
|
|
118
123
|
|
|
124
|
+
/**
|
|
125
|
+
* Whether to hide empty schemas and databases (those with no tables) in the
|
|
126
|
+
* datasources panel.
|
|
127
|
+
*/
|
|
128
|
+
export const hideEmptyDatasourcesAtom = atomWithStorage<boolean>(
|
|
129
|
+
"marimo:datasources:hideEmpty",
|
|
130
|
+
false,
|
|
131
|
+
jotaiJsonStorage,
|
|
132
|
+
{ getOnInit: true },
|
|
133
|
+
);
|
|
134
|
+
|
|
135
|
+
function isKnownEmptySchema(schema: DatabaseSchema): boolean {
|
|
136
|
+
return schema.tables_resolved !== false && schema.tables.length === 0;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Apply the "hide empty" filter to a connection's databases.
|
|
141
|
+
*
|
|
142
|
+
* - Schemas with confirmed-empty table lists are hidden.
|
|
143
|
+
* - Databases are hidden when either (a) their schemas have been enumerated
|
|
144
|
+
* and the list is empty, or (b) every schema in them was hidden by the
|
|
145
|
+
* schema-level filter.
|
|
146
|
+
* - Databases / schemas whose contents haven't been resolved yet (deferred
|
|
147
|
+
* discovery — `schemas_resolved === false` or `tables_resolved === false`)
|
|
148
|
+
* are preserved so the user can expand them to trigger a fetch.
|
|
149
|
+
*/
|
|
150
|
+
export function filterEmptyDatabases(databases: Database[]): Database[] {
|
|
151
|
+
let changed = false;
|
|
152
|
+
const result: Database[] = [];
|
|
153
|
+
for (const database of databases) {
|
|
154
|
+
// Known-empty database: schema list was enumerated and is empty.
|
|
155
|
+
if (database.schemas_resolved !== false && database.schemas.length === 0) {
|
|
156
|
+
changed = true;
|
|
157
|
+
continue;
|
|
158
|
+
}
|
|
159
|
+
// Deferred schema discovery — keep so the user can expand and load.
|
|
160
|
+
if (database.schemas.length === 0) {
|
|
161
|
+
result.push(database);
|
|
162
|
+
continue;
|
|
163
|
+
}
|
|
164
|
+
const visibleSchemas = database.schemas.filter(
|
|
165
|
+
(schema) => !isKnownEmptySchema(schema),
|
|
166
|
+
);
|
|
167
|
+
if (visibleSchemas.length === 0) {
|
|
168
|
+
changed = true;
|
|
169
|
+
continue;
|
|
170
|
+
}
|
|
171
|
+
if (visibleSchemas.length === database.schemas.length) {
|
|
172
|
+
result.push(database);
|
|
173
|
+
continue;
|
|
174
|
+
}
|
|
175
|
+
changed = true;
|
|
176
|
+
result.push({ ...database, schemas: visibleSchemas });
|
|
177
|
+
}
|
|
178
|
+
return changed ? result : databases;
|
|
179
|
+
}
|
|
180
|
+
|
|
119
181
|
/**
|
|
120
182
|
* This atom is used to get the data connections that are available to the user.
|
|
121
183
|
* It filters out the internal engines if it has no databases or if it has only the in-memory database and no schemas.
|
|
@@ -152,10 +214,27 @@ export const connectionsAtom = atom((get) => {
|
|
|
152
214
|
|
|
153
215
|
export const DataSources: React.FC = () => {
|
|
154
216
|
const [searchValue, setSearchValue] = React.useState<string>("");
|
|
217
|
+
const [hideEmpty, setHideEmpty] = useAtom(hideEmptyDatasourcesAtom);
|
|
155
218
|
|
|
156
219
|
const closeAllColumns = useSetAtom(closeAllColumnsAtom);
|
|
157
220
|
const tables = useAtomValue(sortedTablesAtom);
|
|
158
|
-
const
|
|
221
|
+
const rawConnections = useAtomValue(connectionsAtom);
|
|
222
|
+
|
|
223
|
+
const dataConnections = React.useMemo(() => {
|
|
224
|
+
if (!hideEmpty) {
|
|
225
|
+
return rawConnections;
|
|
226
|
+
}
|
|
227
|
+
let changed = false;
|
|
228
|
+
const filtered = rawConnections.map((connection) => {
|
|
229
|
+
const databases = filterEmptyDatabases(connection.databases);
|
|
230
|
+
if (databases === connection.databases) {
|
|
231
|
+
return connection;
|
|
232
|
+
}
|
|
233
|
+
changed = true;
|
|
234
|
+
return { ...connection, databases };
|
|
235
|
+
});
|
|
236
|
+
return changed ? filtered : rawConnections;
|
|
237
|
+
}, [rawConnections, hideEmpty]);
|
|
159
238
|
|
|
160
239
|
if (tables.length === 0 && dataConnections.length === 0) {
|
|
161
240
|
return (
|
|
@@ -204,6 +283,16 @@ export const DataSources: React.FC = () => {
|
|
|
204
283
|
</button>
|
|
205
284
|
)}
|
|
206
285
|
|
|
286
|
+
<VisibilityToggleButton
|
|
287
|
+
data-testid="datasources-hide-empty-button"
|
|
288
|
+
isVisible={!hideEmpty}
|
|
289
|
+
onToggle={() => setHideEmpty(!hideEmpty)}
|
|
290
|
+
showTooltip="Show empty schemas and databases"
|
|
291
|
+
hideTooltip="Hide empty schemas and databases"
|
|
292
|
+
size="sm"
|
|
293
|
+
className="px-2 rounded-none focus-visible:outline-hidden"
|
|
294
|
+
/>
|
|
295
|
+
|
|
207
296
|
<AddConnectionDialog>
|
|
208
297
|
<Button
|
|
209
298
|
variant="ghost"
|
|
@@ -27,7 +27,7 @@ import { Label } from "@/components/ui/label";
|
|
|
27
27
|
import { Switch } from "@/components/ui/switch";
|
|
28
28
|
import { Tooltip } from "@/components/ui/tooltip";
|
|
29
29
|
import { toast } from "@/components/ui/use-toast";
|
|
30
|
-
import {
|
|
30
|
+
import { stripWrappingBackticks } from "@/core/ai/strip-wrapping-backticks";
|
|
31
31
|
import { type AiCompletionCell, includeOtherCellsAtom } from "@/core/ai/state";
|
|
32
32
|
import type { CellId } from "@/core/cells/ids";
|
|
33
33
|
import { getCodes } from "@/core/codemirror/copilot/getCodes";
|
|
@@ -45,6 +45,7 @@ import {
|
|
|
45
45
|
RejectCompletionButton,
|
|
46
46
|
} from "./completion-handlers";
|
|
47
47
|
import { addContextCompletion, getAICompletionBody } from "./completion-utils";
|
|
48
|
+
import { stagedAICellsAtom } from "@/core/ai/staged-cells";
|
|
48
49
|
|
|
49
50
|
const Original = CodeMirrorMerge.Original;
|
|
50
51
|
const Modified = CodeMirrorMerge.Modified;
|
|
@@ -123,7 +124,6 @@ export const AiCompletionEditor: React.FC<Props> = ({
|
|
|
123
124
|
api: runtimeManager.getAiURL("completion").toString(),
|
|
124
125
|
headers: runtimeManager.headers(),
|
|
125
126
|
initialInput: initialPrompt,
|
|
126
|
-
streamProtocol: "text",
|
|
127
127
|
// Throttle the messages and data updates to 100ms
|
|
128
128
|
experimental_throttle: 100,
|
|
129
129
|
body: {
|
|
@@ -143,13 +143,14 @@ export const AiCompletionEditor: React.FC<Props> = ({
|
|
|
143
143
|
});
|
|
144
144
|
},
|
|
145
145
|
onFinish: (_prompt, completion) => {
|
|
146
|
-
|
|
147
|
-
setCompletion(completion.trimEnd());
|
|
146
|
+
setCompletion(stripWrappingBackticks(completion).trimEnd());
|
|
148
147
|
},
|
|
149
148
|
});
|
|
150
149
|
|
|
151
150
|
const inputRef = React.useRef<ReactCodeMirrorRef>(null);
|
|
152
|
-
const completion = untrimmedCompletion
|
|
151
|
+
const completion = stripWrappingBackticks(untrimmedCompletion, {
|
|
152
|
+
streaming: isLoading,
|
|
153
|
+
}).trimEnd();
|
|
153
154
|
|
|
154
155
|
const initialSubmit = useCallback(() => {
|
|
155
156
|
if (triggerImmediately && !isLoading && initialPrompt) {
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
import { historyField } from "@codemirror/commands";
|
|
3
3
|
import { EditorState, StateEffect } from "@codemirror/state";
|
|
4
4
|
import { EditorView, ViewPlugin } from "@codemirror/view";
|
|
5
|
+
import { useIntersectionObserver } from "@uidotdev/usehooks";
|
|
5
6
|
import { useAtom, useAtomValue } from "jotai";
|
|
6
|
-
import React, { memo, useEffect, useMemo, useRef } from "react";
|
|
7
|
+
import React, { memo, useEffect, useMemo, useRef, useState } from "react";
|
|
7
8
|
import useEvent from "react-use-event-hook";
|
|
8
9
|
import { Button } from "@/components/ui/button";
|
|
9
10
|
import { DelayMount } from "@/components/utils/delay-mount";
|
|
@@ -14,6 +15,7 @@ import { usePendingDeleteService } from "@/core/cells/pending-delete-service";
|
|
|
14
15
|
import type { CellData, CellRuntimeState } from "@/core/cells/types";
|
|
15
16
|
import { setupCodeMirror } from "@/core/codemirror/cm";
|
|
16
17
|
import { acceptCompletionOnEnterAtom } from "@/core/codemirror/completion/accept-on-enter-atom";
|
|
18
|
+
import { editorMountScheduler } from "@/core/codemirror/editor-mount-scheduler";
|
|
17
19
|
import {
|
|
18
20
|
getInitialLanguageAdapter,
|
|
19
21
|
languageAdapterState,
|
|
@@ -45,6 +47,7 @@ import {
|
|
|
45
47
|
} from "../../navigation/navigation";
|
|
46
48
|
import { useDeleteCellCallback } from "../useDeleteCell";
|
|
47
49
|
import { useSplitCellCallback } from "../useSplitCell";
|
|
50
|
+
import { CodePlaceholder } from "./code-placeholder";
|
|
48
51
|
import { LanguageToggles } from "./language-toggle";
|
|
49
52
|
|
|
50
53
|
export interface CellEditorProps
|
|
@@ -405,38 +408,45 @@ const CellEditorInternal = ({
|
|
|
405
408
|
// Clear the serialized state so that we don't re-create the editor next time
|
|
406
409
|
cellActions.clearSerializedEditorState({ cellId });
|
|
407
410
|
});
|
|
411
|
+
const [isEditorMounted, setIsEditorMounted] = useState(
|
|
412
|
+
serializedEditorState !== null,
|
|
413
|
+
);
|
|
408
414
|
|
|
415
|
+
// Build the editor. Deserialize eagerly; otherwise queue an async build so
|
|
416
|
+
// large notebooks stay responsive while editors come online progressively.
|
|
409
417
|
useEffect(() => {
|
|
410
|
-
if (
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
} else {
|
|
414
|
-
// If the editor already exists, reconfigure it with the new extensions.
|
|
415
|
-
handleReconfigureEditor();
|
|
416
|
-
}
|
|
417
|
-
} else {
|
|
418
|
-
handleDeserializeEditor();
|
|
418
|
+
if (editorViewRef.current !== null) {
|
|
419
|
+
setIsEditorMounted(true);
|
|
420
|
+
return;
|
|
419
421
|
}
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
editorViewParentRef.current !== null
|
|
425
|
-
) {
|
|
426
|
-
// Always replace the children in case the editor view was re-created.
|
|
427
|
-
editorViewParentRef.current.replaceChildren(editorViewRef.current.dom);
|
|
422
|
+
if (serializedEditorState !== null) {
|
|
423
|
+
handleDeserializeEditor();
|
|
424
|
+
setIsEditorMounted(true);
|
|
425
|
+
return;
|
|
428
426
|
}
|
|
427
|
+
editorMountScheduler.request(cellId, () => {
|
|
428
|
+
if (editorViewRef.current !== null) {
|
|
429
|
+
return;
|
|
430
|
+
}
|
|
431
|
+
handleInitializeEditor();
|
|
432
|
+
setIsEditorMounted(true);
|
|
433
|
+
});
|
|
434
|
+
return () => editorMountScheduler.cancel(cellId);
|
|
429
435
|
}, [
|
|
430
|
-
|
|
431
|
-
handleReconfigureEditor,
|
|
432
|
-
handleDeserializeEditor,
|
|
436
|
+
cellId,
|
|
433
437
|
editorViewRef,
|
|
434
|
-
|
|
438
|
+
handleDeserializeEditor,
|
|
439
|
+
handleInitializeEditor,
|
|
435
440
|
serializedEditorState,
|
|
436
|
-
// Props to trigger reconfiguration
|
|
437
|
-
extensions,
|
|
438
441
|
]);
|
|
439
442
|
|
|
443
|
+
useEffect(() => {
|
|
444
|
+
if (editorViewRef.current === null) {
|
|
445
|
+
return;
|
|
446
|
+
}
|
|
447
|
+
handleReconfigureEditor();
|
|
448
|
+
}, [handleReconfigureEditor, extensions, editorViewRef]);
|
|
449
|
+
|
|
440
450
|
// Destroy the editor when the component is unmounted
|
|
441
451
|
useEffect(() => {
|
|
442
452
|
const ev = editorViewRef.current;
|
|
@@ -445,6 +455,26 @@ const CellEditorInternal = ({
|
|
|
445
455
|
};
|
|
446
456
|
}, [editorViewRef]);
|
|
447
457
|
|
|
458
|
+
// Prioritize building this cell's editor when it scrolls into view, so the
|
|
459
|
+
// visible region fills in first instead of waiting for the top-to-bottom
|
|
460
|
+
// queue. The margin builds cells just before they reach the viewport.
|
|
461
|
+
// uidotdev sets threshold default to 1. Set it 0 so cells are prioritized
|
|
462
|
+
// at 300px.
|
|
463
|
+
const [intersectionRef, intersection] = useIntersectionObserver({
|
|
464
|
+
rootMargin: "300px 0px",
|
|
465
|
+
threshold: 0,
|
|
466
|
+
});
|
|
467
|
+
useEffect(() => {
|
|
468
|
+
if (isEditorMounted) {
|
|
469
|
+
return;
|
|
470
|
+
}
|
|
471
|
+
if (intersection?.isIntersecting) {
|
|
472
|
+
editorMountScheduler.prioritize(cellId);
|
|
473
|
+
} else {
|
|
474
|
+
editorMountScheduler.deprioritize(cellId);
|
|
475
|
+
}
|
|
476
|
+
}, [isEditorMounted, intersection?.isIntersecting, cellId]);
|
|
477
|
+
|
|
448
478
|
const navigationProps = useCellEditorNavigationProps(cellId, editorViewRef);
|
|
449
479
|
|
|
450
480
|
let editorClassName = "";
|
|
@@ -489,14 +519,22 @@ const CellEditorInternal = ({
|
|
|
489
519
|
runCell={handleRunCell}
|
|
490
520
|
outputArea={outputArea}
|
|
491
521
|
>
|
|
492
|
-
<div
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
522
|
+
<div
|
|
523
|
+
className="relative w-full"
|
|
524
|
+
ref={intersectionRef}
|
|
525
|
+
{...navigationProps}
|
|
526
|
+
>
|
|
527
|
+
{isEditorMounted ? (
|
|
528
|
+
<CellCodeMirrorEditor
|
|
529
|
+
className={editorClassName}
|
|
530
|
+
editorView={editorViewRef.current}
|
|
531
|
+
ref={editorViewParentRef}
|
|
532
|
+
hidden={hidden}
|
|
533
|
+
showHiddenCode={showHiddenCode}
|
|
534
|
+
/>
|
|
535
|
+
) : (
|
|
536
|
+
<CodePlaceholder code={code} className={editorClassName} />
|
|
537
|
+
)}
|
|
500
538
|
{!hidden && showLanguageToggles && (
|
|
501
539
|
<div className="absolute top-1 right-5">
|
|
502
540
|
<LanguageToggles
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
|
+
.mo-code-placeholder {
|
|
3
|
+
--mo-skeleton-bar: color-mix(in srgb, var(--muted), var(--foreground) 18%);
|
|
4
|
+
cursor: default;
|
|
5
|
+
padding: 4px 10px;
|
|
6
|
+
font-size: var(--cm-font-size, 0.875rem);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.mo-code-placeholder-line {
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
height: 1.5em;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.mo-code-placeholder-bar {
|
|
16
|
+
height: 0.7em;
|
|
17
|
+
background-color: var(--mo-skeleton-bar);
|
|
18
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
|
+
import "./code-placeholder.css";
|
|
3
|
+
import { Skeleton } from "@/components/ui/skeleton";
|
|
4
|
+
import { cn } from "@/utils/cn";
|
|
5
|
+
|
|
6
|
+
interface CodePlaceholderProps {
|
|
7
|
+
code: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// Bound the rendered bars so a very long cell does not create excessive nodes.
|
|
12
|
+
const MAX_LINES = 50;
|
|
13
|
+
const MIN_LINE_WIDTH_CH = 4;
|
|
14
|
+
const MAX_LINE_WIDTH_CH = 60;
|
|
15
|
+
|
|
16
|
+
function getLineWidthCh(length: number): number {
|
|
17
|
+
return Math.min(MAX_LINE_WIDTH_CH, Math.max(MIN_LINE_WIDTH_CH, length));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Stand-in shown while a cell's CodeMirror editor has not been built yet.
|
|
22
|
+
* one skeleton bar per code line, so the final render doesn't cause a big jump.
|
|
23
|
+
*/
|
|
24
|
+
export const CodePlaceholder = ({ code, className }: CodePlaceholderProps) => {
|
|
25
|
+
const lines = code.split("\n", MAX_LINES);
|
|
26
|
+
return (
|
|
27
|
+
<div
|
|
28
|
+
className={cn("cm", "mo-code-placeholder", className)}
|
|
29
|
+
data-testid="cell-editor-placeholder"
|
|
30
|
+
aria-hidden={true}
|
|
31
|
+
>
|
|
32
|
+
{lines.map((line, index) => {
|
|
33
|
+
const length = line.trimEnd().length;
|
|
34
|
+
return (
|
|
35
|
+
<div key={index} className="mo-code-placeholder-line">
|
|
36
|
+
{length > 0 && (
|
|
37
|
+
<Skeleton
|
|
38
|
+
className="mo-code-placeholder-bar"
|
|
39
|
+
style={{ width: `${getLineWidthCh(length)}ch` }}
|
|
40
|
+
/>
|
|
41
|
+
)}
|
|
42
|
+
</div>
|
|
43
|
+
);
|
|
44
|
+
})}
|
|
45
|
+
</div>
|
|
46
|
+
);
|
|
47
|
+
};
|
|
@@ -17,6 +17,11 @@ interface LanguageTogglesProps {
|
|
|
17
17
|
code: string;
|
|
18
18
|
currentLanguageAdapter: LanguageAdapter["type"] | undefined;
|
|
19
19
|
onAfterToggle: () => void;
|
|
20
|
+
/**
|
|
21
|
+
* Classes for the wrapper element. Defaults to the absolutely-positioned,
|
|
22
|
+
* hover-revealed placement used inside the notebook cell editor.
|
|
23
|
+
*/
|
|
24
|
+
className?: string;
|
|
20
25
|
}
|
|
21
26
|
|
|
22
27
|
export const LanguageToggles: React.FC<LanguageTogglesProps> = ({
|
|
@@ -24,6 +29,7 @@ export const LanguageToggles: React.FC<LanguageTogglesProps> = ({
|
|
|
24
29
|
code,
|
|
25
30
|
currentLanguageAdapter,
|
|
26
31
|
onAfterToggle,
|
|
32
|
+
className = "absolute right-3 top-2 z-20 flex hover-action gap-1",
|
|
27
33
|
}) => {
|
|
28
34
|
const canUseMarkdown = useMemo(
|
|
29
35
|
() => LanguageAdapters.markdown.isSupported(code) || code.trim() === "",
|
|
@@ -35,7 +41,7 @@ export const LanguageToggles: React.FC<LanguageTogglesProps> = ({
|
|
|
35
41
|
);
|
|
36
42
|
|
|
37
43
|
return (
|
|
38
|
-
<div className=
|
|
44
|
+
<div className={className}>
|
|
39
45
|
<LanguageToggle
|
|
40
46
|
editorView={editorView}
|
|
41
47
|
currentLanguageAdapter={currentLanguageAdapter}
|