@marimo-team/frontend 0.23.9-dev3 → 0.23.9-dev32
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-Dm3YCiM6.js +1 -0
- package/dist/assets/ConnectedDataExplorerComponent-CduY7ZLg.js +1 -0
- package/dist/assets/DeferredRequestRegistry-CNldVcrP.js +1 -0
- package/dist/assets/ImperativeModal-B3Th7k4R.js +1 -0
- package/dist/assets/JsonOutput-DzATTBoP.js +53 -0
- package/dist/assets/LazyAnyLanguageCodeMirror-BEvXb3VX.js +2 -0
- package/dist/assets/MarimoErrorOutput-XPsNfvEO.js +7 -0
- package/dist/assets/RSPContexts-CdN1NyAt.js +1 -0
- package/dist/assets/RenderHTML-BvW-obUg.js +1 -0
- package/dist/assets/RunButton-BUq1ZIzv.js +1 -0
- package/dist/assets/add-cell-with-ai-C4H664zc.js +97 -0
- package/dist/assets/add-connection-dialog-DdJBM1-Q.js +167 -0
- package/dist/assets/agent-panel-BB1ZRQse.js +287 -0
- package/dist/assets/ai-model-dropdown-9UrkfG-1.js +5 -0
- package/dist/assets/any-language-editor-CXeLf_N8.js +1 -0
- package/dist/assets/apl-EAxnZS_5.js +1 -0
- package/dist/assets/app-config-button-N_G5k5XW.js +1 -0
- package/dist/assets/arc-CWuN1tfc.js +1 -0
- package/dist/assets/architecture-7HQA4BMR-DJtUfdk-.js +1 -0
- package/dist/assets/architectureDiagram-VXUJARFQ-Cgi4wo9P.js +36 -0
- package/dist/assets/arrow-right-pRnMoIOW.js +1 -0
- package/dist/assets/asciiarmor-zxnaShQE.js +1 -0
- package/dist/assets/asn1-7i28Os5R.js +1 -0
- package/dist/assets/blockDiagram-VD42YOAC-CsHap8-F.js +122 -0
- package/dist/assets/brainfuck-BZegPsXK.js +1 -0
- package/dist/assets/c4Diagram-YG6GDRKO-CZuArudM.js +10 -0
- package/dist/assets/cache-panel-DYiVMv5x.js +1 -0
- package/dist/assets/cell-editor-B-9MV21_.js +20 -0
- package/dist/assets/cell-link-Bkd6QnOS.js +1 -0
- package/dist/assets/cells-BP6kg4iF.js +229 -0
- package/dist/assets/channel-6XBTrC3Q.js +1 -0
- package/dist/assets/chat-display-76m4LMD2.js +1 -0
- package/dist/assets/chat-panel-BAIgHYyO.js +3 -0
- package/dist/assets/chat-ui-BggP20am.js +4 -0
- package/dist/assets/chunk-4BX2VUAB-Ca6WzYTr.js +1 -0
- package/dist/assets/chunk-55IACEB6-Cr4aqhf3.js +1 -0
- package/dist/assets/chunk-5FQGJX7Z-D9iBG0F7.js +113 -0
- package/dist/assets/chunk-ABZYJK2D-BG7Eb4WW.js +80 -0
- package/dist/assets/chunk-ATLVNIR6-CqLn9HI1.js +1 -0
- package/dist/assets/chunk-B4BG7PRW-D4SyZNjn.js +165 -0
- package/dist/assets/chunk-CVBHYZKI-C-NWvPQL.js +1 -0
- package/dist/assets/chunk-DI55MBZ5-t9uiMPiN.js +220 -0
- package/dist/assets/chunk-EXTU4WIE-BmVk7Fyq.js +1 -0
- package/dist/assets/chunk-FMBD7UC4-DlnzxSkO.js +15 -0
- package/dist/assets/chunk-HN2XXSSU-Bcaj5fRB.js +1 -0
- package/dist/assets/chunk-JA3XYJ7Z-B5b2QHOb.js +70 -0
- package/dist/assets/chunk-JZLCHNYA-1_sVfAnw.js +54 -0
- package/dist/assets/chunk-MI3HLSF2-DqzZqBCh.js +32 -0
- package/dist/assets/chunk-N4CR4FBY-CFJoD-EQ.js +2 -0
- package/dist/assets/chunk-QN33PNHL-BBE_bx9E.js +1 -0
- package/dist/assets/chunk-QXUST7PY-Cu1nR-L2.js +7 -0
- package/dist/assets/chunk-QZHKN3VN-BAnb9AKF.js +1 -0
- package/dist/assets/chunk-S3R3BYOJ-Cl0iW04v.js +2 -0
- package/dist/assets/chunk-TZMSLE5B-f5ix6iSd.js +1 -0
- package/dist/assets/classDiagram-2ON5EDUG-DlIMDu6i.js +1 -0
- package/dist/assets/classDiagram-v2-WZHVMYZB-CcIhhkQu.js +1 -0
- package/dist/assets/clike-bdcjLdZ4.js +1 -0
- package/dist/assets/clojure-VUVi7fTV.js +1 -0
- package/dist/assets/cmake-DZJIDbjY.js +1 -0
- package/dist/assets/cobol-klCRwlLm.js +1 -0
- package/dist/assets/code-block-37QAKDTI-B19XL3UR.js +2 -0
- package/dist/assets/coffeescript-C9foD9ub.js +1 -0
- package/dist/assets/column-preview-9_vf_vQt.js +1 -0
- package/dist/assets/command-KARR7KMq.js +1 -0
- package/dist/assets/command-palette-drFTNlvg.js +1 -0
- package/dist/assets/common-G2mwxgr_.js +1 -0
- package/dist/assets/commonlisp-tHxoA35J.js +1 -0
- package/dist/assets/components-D2tmc0KN.js +1 -0
- package/dist/assets/components-DvggA56E.js +1 -0
- package/dist/assets/config-hed0CaQL.js +1 -0
- package/dist/assets/context-QkTujrKn.js +1 -0
- package/dist/assets/copy-icon-OjtDb4gO.js +1 -0
- package/dist/assets/cose-bilkent-S5V4N54A-CQqSLzd1.js +1 -0
- package/dist/assets/crystal-CQ11GdrX.js +1 -0
- package/dist/assets/css-ACAb8MRM.js +1 -0
- package/dist/assets/cypher-CJ0Uzw29.js +1 -0
- package/dist/assets/d-DP0SUIt1.js +1 -0
- package/dist/assets/dagre-6UL2VRFP-CVKXpDlr.js +4 -0
- package/dist/assets/data-grid-overlay-editor-BdDYn72O.js +1 -0
- package/dist/assets/datasource-BjfZ5rCV.js +3 -0
- package/dist/assets/dates-CTxr0EqQ.js +1 -0
- package/dist/assets/dependency-graph-panel-BQlFSqu5.js +5 -0
- package/dist/assets/diagram-PSM6KHXK-BfzLNKp-.js +24 -0
- package/dist/assets/diagram-QEK2KX5R-D_H77Ni5.js +43 -0
- package/dist/assets/diagram-S2PKOQOG-DJmVBeMk.js +24 -0
- package/dist/assets/diff-CNs8MB38.js +1 -0
- package/dist/assets/dist-B7U5jPfs.js +1 -0
- package/dist/assets/dist-BF6UNR6V.js +1 -0
- package/dist/assets/dist-BQWswd1A.js +1 -0
- package/dist/assets/dist-BtL81uwZ.js +1 -0
- package/dist/assets/dist-Bww7hlVc.js +1 -0
- package/dist/assets/dist-CAIBlJtJ.js +1 -0
- package/dist/assets/dist-CBSMxaO_.js +6 -0
- package/dist/assets/dist-CJIOLS6O.js +7 -0
- package/dist/assets/dist-CKT_lJKW.js +1 -0
- package/dist/assets/dist-CNyMUs19.js +1 -0
- package/dist/assets/dist-CPF3W2Y-.js +1 -0
- package/dist/assets/dist-CUapWJe4.js +1 -0
- package/dist/assets/dist-CWeWT34c.js +1 -0
- package/dist/assets/dist-CciFN1z_.js +1 -0
- package/dist/assets/dist-CocyeH0q.js +1 -0
- package/dist/assets/dist-CpTFpfm_.js +1 -0
- package/dist/assets/dist-CpcTHxTt.js +1 -0
- package/dist/assets/dist-CqEym3Sr.js +1 -0
- package/dist/assets/dist-CuCuJBdf.js +1 -0
- package/dist/assets/dist-DH60fwgs.js +1 -0
- package/dist/assets/dist-DZPpMvcR.js +1 -0
- package/dist/assets/dist-DkcQg5xD.js +1 -0
- package/dist/assets/dist-DkzFxGAX.js +1 -0
- package/dist/assets/dist-DmBXXm0k.js +1 -0
- package/dist/assets/dist-DqVEVg0c.js +1 -0
- package/dist/assets/dist-Dr8mWwQ_.js +1 -0
- package/dist/assets/dist-W1iHBJeE.js +1 -0
- package/dist/assets/dist-_fyDen1v.js +1 -0
- package/dist/assets/dist-cgiAP5sW.js +1 -0
- package/dist/assets/dist-vkd1160q.js +1 -0
- package/dist/assets/dockerfile-BSMbgQQl.js +1 -0
- package/dist/assets/documentation-panel-BbVMQHz5.js +1 -0
- package/dist/assets/download-DrC3sFE3.js +9 -0
- package/dist/assets/dtd-BsD0uJw0.js +1 -0
- package/dist/assets/dylan-DbrGP1IP.js +1 -0
- package/dist/assets/ecl-C0rZlhHw.js +1 -0
- package/dist/assets/edit-page-ClIQhScA.js +9 -0
- package/dist/assets/eiffel-2ZX-OpSJ.js +1 -0
- package/dist/assets/elm-CbOSKldD.js +1 -0
- package/dist/assets/erDiagram-Q2GNP2WA-ROTNwSJz.js +60 -0
- package/dist/assets/erlang-BWiOgHIX.js +1 -0
- package/dist/assets/error-banner-LdWZDbqd.js +1 -0
- package/dist/assets/error-panel-aaHrLkBh.js +1 -0
- package/dist/assets/es-DGgq-Wes.js +5 -0
- package/dist/assets/esm-CqWdmSnV.js +1 -0
- package/dist/assets/esm-DeiyaVAJ.js +1 -0
- package/dist/assets/factor-C-_cRSDM.js +1 -0
- package/dist/assets/factor-CUwFIMOP.js +1 -0
- package/dist/assets/field-zLmMOSA4.js +1 -0
- package/dist/assets/file-explorer-panel-BQ9nMxks.js +26 -0
- package/dist/assets/file-icons-pUZ3DUy5.js +1 -0
- package/dist/assets/file-name-input-BNHbCr1E.js +3 -0
- package/dist/assets/fileToBase64-DZfwJMrG.js +1 -0
- package/dist/assets/floating-outline-CDjyi71K.js +1 -0
- package/dist/assets/flowDiagram-NV44I4VS--ee3IIVF.js +162 -0
- package/dist/assets/focus-D2kXD_rc.js +1 -0
- package/dist/assets/form-COQrUWdR.js +2 -0
- package/dist/assets/formats-b7Sf6DAK.js +1 -0
- package/dist/assets/formatting-CSG9kqNb.js +1 -0
- package/dist/assets/forth-BEQA4QQL.js +1 -0
- package/dist/assets/fortran-DoPpOZgG.js +1 -0
- package/dist/assets/gallery-page-Bcf7fYLy.js +1 -0
- package/dist/assets/ganttDiagram-JELNMOA3-BGhmW2aP.js +267 -0
- package/dist/assets/gas-BYovsvOE.js +1 -0
- package/dist/assets/gherkin-CFiRc1Pf.js +1 -0
- package/dist/assets/gitGraph-G5XIXVHT-DuJ_0c_E.js +1 -0
- package/dist/assets/gitGraphDiagram-V2S2FVAM-DXFCZcxr.js +65 -0
- package/dist/assets/glide-data-editor-7_pHQtPX.js +132 -0
- package/dist/assets/globals-Dd7eo1nD.js +1 -0
- package/dist/assets/groovy-DJNH7evt.js +1 -0
- package/dist/assets/haskell-duZvcePm.js +1 -0
- package/dist/assets/haxe-B2l95qvB.js +1 -0
- package/dist/assets/home-page-DNFOElFw.js +4 -0
- package/dist/assets/hooks-DjKf5pQ9.js +1 -0
- package/dist/assets/html-to-image-EYrNFuGt.js +2 -0
- package/dist/assets/idl-CZ_xwU8I.js +1 -0
- package/dist/assets/index-DAfPvCnw.css +2 -0
- package/dist/assets/index-DsF3qFAR.js +38 -0
- package/dist/assets/info-VBDWY6EO-DPQEAe2T.js +1 -0
- package/dist/assets/infoDiagram-HS3SLOUP-CaaUieFa.js +2 -0
- package/dist/assets/input-C3Hrdlqq.js +1 -0
- package/dist/assets/javascript-CF5KGSAj.js +1 -0
- package/dist/assets/journeyDiagram-XKPGCS4Q-9D2JCyrN.js +139 -0
- package/dist/assets/julia-BQlq5iZn.js +1 -0
- package/dist/assets/kanban-definition-3W4ZIXB7-DxV26rf-.js +89 -0
- package/dist/assets/katex-CzQ1KdW3.js +1 -0
- package/dist/assets/kiosk-mode-Ht1DwVD4.js +1 -0
- package/dist/assets/layout-CwCyg6Oq.js +9 -0
- package/dist/assets/line-x4bpd_8D.js +1 -0
- package/dist/assets/linear-CW_ww8od.js +1 -0
- package/dist/assets/links-1rtF1-eC.js +1 -0
- package/dist/assets/livescript-sRMenfqS.js +1 -0
- package/dist/assets/logs-panel-8V1eZbE7.js +1 -0
- package/dist/assets/loro_wasm_bg-CtNTubKN.js +1 -0
- package/dist/assets/lua-a56ITumN.js +1 -0
- package/dist/assets/markdown-renderer-d9Lol4Mr.js +5 -0
- package/dist/assets/mathematica-B3m4jXeH.js +1 -0
- package/dist/assets/mbox-BtL7aO2I.js +1 -0
- package/dist/assets/mermaid-4DMBBIKO-CekzuCTz.js +1 -0
- package/dist/assets/mermaid-DAflnvW9.js +11 -0
- package/dist/assets/mermaid-parser.core-aYU6qXxk.js +4 -0
- package/dist/assets/mhchem-8N2oE3tb.js +1 -0
- package/dist/assets/mindmap-definition-VGOIOE7T-DTJAbAQ8.js +68 -0
- package/dist/assets/mirc-S27kuZ31.js +1 -0
- package/dist/assets/mllike-B3kx3KeF.js +1 -0
- package/dist/assets/modelica-DgbW4dSi.js +1 -0
- package/dist/assets/mscgen-BIa_4d-0.js +1 -0
- package/dist/assets/mumps-4fnELyHs.js +1 -0
- package/dist/assets/name-cell-input-DDR4EexG.js +1 -0
- package/dist/assets/nsis-BGZ5EB-j.js +1 -0
- package/dist/assets/nsis-BfGyMssE.js +1 -0
- package/dist/assets/ntriples-DeY1n_tC.js +1 -0
- package/dist/assets/number-overlay-editor-DL4IwqDH.js +9 -0
- package/dist/assets/octave-7Qn21jzx.js +1 -0
- package/dist/assets/ordinal-_nQ2r1qQ.js +1 -0
- package/dist/assets/outline-panel-B-fr1jRf.js +1 -0
- package/dist/assets/oz-CiPFl3Ni.js +1 -0
- package/dist/assets/packages-panel-B4MR9Vnv.js +1 -0
- package/dist/assets/packet-DYOGHKS2-CxgeJpvT.js +1 -0
- package/dist/assets/pair-with-agent-modal-Derso4uY.js +4 -0
- package/dist/assets/panels-DsbaLR3B.js +1 -0
- package/dist/assets/pascal-BH9yQLzw.js +1 -0
- package/dist/assets/pathUtils-CJjndqMI.js +1 -0
- package/dist/assets/perl-DfMCx2i2.js +1 -0
- package/dist/assets/pie-VRWISCQL-GZ13ReaG.js +1 -0
- package/dist/assets/pieDiagram-ADFJNKIX-_3l2XiEo.js +30 -0
- package/dist/assets/pig-D9CNebQN.js +1 -0
- package/dist/assets/powershell-Dss0bU9F.js +1 -0
- package/dist/assets/precisionRound-Cl9k9ZmS.js +1 -0
- package/dist/assets/process-output-CJeKhzqO.js +1 -0
- package/dist/assets/properties-CHADYQUL.js +1 -0
- package/dist/assets/protobuf-DFN-V4SD.js +1 -0
- package/dist/assets/pug-CYW0agOo.js +1 -0
- package/dist/assets/pug-DOI9FnEk.js +1 -0
- package/dist/assets/puppet-BV0HAkDS.js +1 -0
- package/dist/assets/python-C83Db0-4.js +1 -0
- package/dist/assets/q-D84S4YaJ.js +1 -0
- package/dist/assets/quadrantDiagram-AYHSOK5B-CX3AMAvR.js +7 -0
- package/dist/assets/r-jmqrRzXv.js +1 -0
- package/dist/assets/radar-ZZBFDIW7-CbAjwmA0.js +1 -0
- package/dist/assets/radio-group-cvI-M2aa.js +1 -0
- package/dist/assets/react-vega-COx3Ibyn.js +1 -0
- package/dist/assets/react-vega-CXIQBUis.js +188 -0
- package/dist/assets/readonly-python-code-BmZ0KZKm.js +1 -0
- package/dist/assets/renderShortcut-CzUfgpdJ.js +1 -0
- package/dist/assets/request-registry--h6PWG50.js +1 -0
- package/dist/assets/requirementDiagram-UZGBJVZJ-ORHKBnkg.js +64 -0
- package/dist/assets/reveal-component-Bff44fKv.js +1069 -0
- package/dist/assets/rpm-DUjG0xRk.js +1 -0
- package/dist/assets/ruby-SP4FIzir.js +1 -0
- package/dist/assets/run-page-4im7P8v3.js +1 -0
- package/dist/assets/sankeyDiagram-TZEHDZUN-Dvb8kmWa.js +10 -0
- package/dist/assets/sas-BxaPz2EX.js +1 -0
- package/dist/assets/scheme-HBseLApj.js +1 -0
- package/dist/assets/scratchpad-panel-BFvydb89.js +1 -0
- package/dist/assets/secrets-panel-BBvdIhtU.js +1 -0
- package/dist/assets/sequenceDiagram-WL72ISMW-DQycpQtE.js +145 -0
- package/dist/assets/session-panel-CwggjKWr.js +1 -0
- package/dist/assets/share-DMwTZOTH.js +1 -0
- package/dist/assets/shell-w8ATY_lQ.js +1 -0
- package/dist/assets/sieve-Dyq0LGDO.js +1 -0
- package/dist/assets/smalltalk-D7mAtumc.js +1 -0
- package/dist/assets/snippets-panel-BmWXl5GE.js +1 -0
- package/dist/assets/sparql-DAeEYE_u.js +1 -0
- package/dist/assets/spec-CPQR_o92.js +1 -0
- package/dist/assets/state-BGDrw26V.js +1 -0
- package/dist/assets/state-DTislnZA.js +1 -0
- package/dist/assets/state-G8Xj60GT.js +3 -0
- package/dist/assets/state-d_LoPKHg.js +1 -0
- package/dist/assets/stateDiagram-FKZM4ZOC-D78DIR_F.js +1 -0
- package/dist/assets/stateDiagram-v2-4FDKWEC3-DX9rpmwh.js +1 -0
- package/dist/assets/step-D7xg1Moj.js +1 -0
- package/dist/assets/stex-Ccczot4V.js +1 -0
- package/dist/assets/stylus-Cw3Ugan7.js +1 -0
- package/dist/assets/swift-CPsNOBsX.js +1 -0
- package/dist/assets/swiper-component-YGJlBaCp.js +1 -0
- package/dist/assets/switch-YcZLs0mS.js +1 -0
- package/dist/assets/tcl-BfWyQdZa.js +1 -0
- package/dist/assets/terminal-BydBi1dE.js +62 -0
- package/dist/assets/textarea-DV6LIVoz.js +1 -0
- package/dist/assets/textile-BKgaSzSN.js +1 -0
- package/dist/assets/time-DLdI7jB3.js +1 -0
- package/dist/assets/timeline-definition-IT6M3QCI-DIywx3xf.js +61 -0
- package/dist/assets/toml-BSOdv04W.js +1 -0
- package/dist/assets/tracing-CvLPM0Wh.js +1 -0
- package/dist/assets/tracing-panel-iTdY5N_y.js +2 -0
- package/dist/assets/tree-actions-BM_EJr3E.js +1 -0
- package/dist/assets/treemap-GDKQZRPO-Dz_qZhuG.js +1 -0
- package/dist/assets/troff-C0hD9kig.js +1 -0
- package/dist/assets/ttcn-DEqPxhoh.js +1 -0
- package/dist/assets/ttcn-cfg-B-7jSlUe.js +1 -0
- package/dist/assets/turtle-BTtgFsu8.js +1 -0
- package/dist/assets/useBoolean-oqDq5zze.js +1 -0
- package/dist/assets/useCellActionButton-CsyGJEYN.js +1 -0
- package/dist/assets/useDateFormatter-ICIDGgHf.js +1 -0
- package/dist/assets/useDeleteCell-BQA5MqKt.js +1 -0
- package/dist/assets/useDependencyPanelTab-CIH_2h1J.js +1 -0
- package/dist/assets/useHotkey-BtqYcnxQ.js +1 -0
- package/dist/assets/useInstallPackage-DUF4IRRI.js +1 -0
- package/dist/assets/useNotebookActions-jRhy52S-.js +1 -0
- package/dist/assets/useNumberFormatter-ByUv-u9o.js +1 -0
- package/dist/assets/usePress-DQ_tAz5W.js +7 -0
- package/dist/assets/useRunCells-rD6HJnx6.js +1 -0
- package/dist/assets/useSplitCell-CqznVs7m.js +1 -0
- package/dist/assets/useTheme-KJ1rGmnj.js +1 -0
- package/dist/assets/utils-Bok_hGT2.js +1 -0
- package/dist/assets/utils-DCL4n9wx.js +61 -0
- package/dist/assets/vb-DfRPk_ji.js +1 -0
- package/dist/assets/vbscript-C8D4uv5N.js +1 -0
- package/dist/assets/vega-component-DOlcjhuV.js +1 -0
- package/dist/assets/vega-loader.browser-C8wT63Va.js +6 -0
- package/dist/assets/velocity-DxKr2FFC.js +1 -0
- package/dist/assets/verilog-CxVhamiH.js +1 -0
- package/dist/assets/vhdl-B-IpBNOA.js +1 -0
- package/dist/assets/webidl-CBjKmBwO.js +1 -0
- package/dist/assets/write-secret-modal-BFLlHwgU.js +1 -0
- package/dist/assets/xquery-ABGCbLv0.js +1 -0
- package/dist/assets/xychartDiagram-PRI3JC2R-CjS1dL8k.js +7 -0
- package/dist/assets/yacas-Ckyxh7oh.js +1 -0
- package/dist/assets/z80-Dr5sQweg.js +1 -0
- package/dist/index.html +116 -117
- package/package.json +1 -1
- package/src/components/ai/__tests__/ai-utils.test.ts +43 -38
- package/src/components/ai/ai-model-dropdown.tsx +2 -2
- package/src/components/app-config/ai-config.tsx +73 -1
- package/src/components/app-config/user-config-form.tsx +37 -1
- package/src/components/chat/__tests__/chat-utils.test.ts +269 -0
- package/src/components/chat/chat-panel.tsx +36 -3
- package/src/components/chat/chat-utils.ts +14 -58
- package/src/components/data-table/TableBottomBar.tsx +27 -6
- package/src/components/data-table/TableTopBar.tsx +7 -1
- package/src/components/data-table/__tests__/TableBottomBar.test.tsx +73 -0
- package/src/components/data-table/__tests__/column-explorer.test.tsx +128 -0
- package/src/components/data-table/__tests__/column-header.test.tsx +110 -277
- package/src/components/data-table/__tests__/data-table.test.tsx +52 -1
- package/src/components/data-table/__tests__/date-filter-inputs.test.tsx +33 -0
- package/src/components/data-table/__tests__/filter-pill-editor.test.tsx +75 -38
- package/src/components/data-table/__tests__/filter-pills.test.tsx +287 -0
- package/src/components/data-table/__tests__/filter-test-utils.ts +47 -0
- package/src/components/data-table/__tests__/filters.test.ts +5 -5
- package/src/components/data-table/__tests__/header-items.test.tsx +47 -1
- package/src/components/data-table/__tests__/useColumnVisibility.test.ts +42 -0
- package/src/components/data-table/add-filter-button.tsx +85 -0
- package/src/components/data-table/column-explorer-panel/column-explorer.tsx +98 -26
- package/src/components/data-table/column-header.tsx +94 -691
- package/src/components/data-table/columns.tsx +3 -4
- package/src/components/data-table/context-menu.tsx +26 -12
- package/src/components/data-table/data-table.tsx +125 -56
- package/src/components/data-table/date-filter-inputs.tsx +13 -10
- package/src/components/data-table/export-actions.tsx +17 -6
- package/src/components/data-table/filter-by-values-picker.tsx +13 -19
- package/src/components/data-table/filter-editor-context.tsx +34 -0
- package/src/components/data-table/filter-pill-editor.tsx +152 -175
- package/src/components/data-table/filter-pills.tsx +190 -153
- package/src/components/data-table/filters/builders.ts +102 -0
- package/src/components/data-table/filters/defaults.ts +31 -0
- package/src/components/data-table/filters/format.ts +131 -0
- package/src/components/data-table/filters/guards.ts +51 -0
- package/src/components/data-table/filters/index.ts +7 -0
- package/src/components/data-table/filters/operators.ts +76 -0
- package/src/components/data-table/filters/serialize.ts +186 -0
- package/src/components/data-table/filters/types.ts +33 -0
- package/src/components/data-table/header-items.tsx +25 -85
- package/src/components/data-table/hooks/use-column-visibility.ts +56 -0
- package/src/components/data-table/pagination.tsx +16 -3
- package/src/components/data-table/table-explorer-panel/table-explorer-panel.tsx +16 -6
- package/src/components/data-table/value-chips.tsx +52 -0
- package/src/components/databases/display.tsx +2 -0
- package/src/components/datasources/__tests__/utils.test.ts +82 -0
- package/src/components/datasources/utils.ts +16 -15
- package/src/components/editor/actions/pair-with-agent-modal.tsx +1 -0
- package/src/components/editor/errors/mangled-local-chip.tsx +50 -0
- package/src/components/editor/output/MarimoErrorOutput.tsx +110 -27
- package/src/components/editor/output/MarimoTracebackOutput.tsx +51 -34
- package/src/components/editor/renderers/slides-layout/slides-layout.tsx +1 -1
- package/src/components/slides/reveal-component.tsx +3 -3
- package/src/components/slides/slide-form.tsx +11 -3
- package/src/components/ui/number-field.tsx +13 -1
- package/src/core/ai/__tests__/model-registry.test.ts +72 -60
- package/src/core/ai/model-registry.ts +33 -28
- package/src/core/cells/__tests__/actions.test.ts +48 -0
- package/src/core/cells/actions.ts +5 -6
- package/src/core/codemirror/__tests__/setup.test.ts +29 -0
- package/src/core/codemirror/cells/traceback-decorations.ts +1 -1
- package/src/core/codemirror/cm.ts +3 -2
- package/src/core/codemirror/format.ts +1 -0
- package/src/core/codemirror/keymaps/vim.ts +63 -0
- package/src/core/codemirror/language/languages/sql/sql.ts +1 -0
- package/src/core/codemirror/language/languages/sql/utils.ts +2 -0
- package/src/core/config/__tests__/config-schema.test.ts +2 -0
- package/src/core/config/config-schema.ts +2 -0
- package/src/css/app/Cell.css +0 -1
- package/src/plugins/impl/DataTablePlugin.tsx +94 -33
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +1 -0
- package/src/plugins/impl/chat/ChatPlugin.tsx +7 -1
- package/src/plugins/impl/chat/__tests__/chat-ui.test.ts +278 -0
- package/src/plugins/impl/chat/chat-ui.tsx +106 -59
- package/src/plugins/impl/chat/types.ts +5 -0
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +8 -6
- package/src/stories/dataframe.stories.tsx +1 -0
- package/src/utils/__tests__/local-variables.test.ts +132 -0
- package/src/utils/dates.ts +39 -0
- package/src/utils/local-variables.ts +67 -0
- package/dist/assets/CellStatus-DGBvmSvq.js +0 -1
- package/dist/assets/ConnectedDataExplorerComponent-D-boDGAP.js +0 -1
- package/dist/assets/DeferredRequestRegistry-CzVJLtsG.js +0 -1
- package/dist/assets/ImperativeModal-DEC1mXgV.js +0 -1
- package/dist/assets/JsonOutput-05-R3eil.js +0 -53
- package/dist/assets/LazyAnyLanguageCodeMirror-GdhQ07zA.js +0 -2
- package/dist/assets/MarimoErrorOutput-XWqnhvJ6.js +0 -7
- package/dist/assets/RSPContexts-Bk1r00gJ.js +0 -1
- package/dist/assets/RenderHTML-B5r25cP5.js +0 -1
- package/dist/assets/RunButton-Dbak5hfa.js +0 -1
- package/dist/assets/add-cell-with-ai-BbZkMqv2.js +0 -97
- package/dist/assets/add-connection-dialog-CzxRpS5F.js +0 -167
- package/dist/assets/agent-panel-zPhlhkYL.js +0 -287
- package/dist/assets/ai-model-dropdown-CjhUqXgj.js +0 -5
- package/dist/assets/any-language-editor-Bdhmwznp.js +0 -1
- package/dist/assets/apl-Bl4yyYus.js +0 -1
- package/dist/assets/app-config-button-CCs8Jepz.js +0 -1
- package/dist/assets/arc-npelKso9.js +0 -1
- package/dist/assets/architecture-7HQA4BMR-CaNOiKrI.js +0 -1
- package/dist/assets/architectureDiagram-VXUJARFQ-BsWISGgz.js +0 -36
- package/dist/assets/asciiarmor-BlzLkEza.js +0 -1
- package/dist/assets/asn1-Khb778U5.js +0 -1
- package/dist/assets/blockDiagram-VD42YOAC-CzfQ0Exj.js +0 -122
- package/dist/assets/brainfuck-BzHxpB_u.js +0 -1
- package/dist/assets/c4Diagram-YG6GDRKO-D0FgqleO.js +0 -10
- package/dist/assets/cache-panel-VL13fWgF.js +0 -1
- package/dist/assets/cell-editor-ODyJXDT8.js +0 -20
- package/dist/assets/cell-link-PQYiMZw1.js +0 -1
- package/dist/assets/cells-Dnu4nDoy.js +0 -229
- package/dist/assets/channel-DjPEzqq3.js +0 -1
- package/dist/assets/chat-display-DetTBnqK.js +0 -1
- package/dist/assets/chat-panel-CEgw_vg0.js +0 -3
- package/dist/assets/chat-ui-D-Y7p_cT.js +0 -4
- package/dist/assets/chunk-4BX2VUAB-Br07KPs3.js +0 -1
- package/dist/assets/chunk-55IACEB6-BHM3yXYz.js +0 -1
- package/dist/assets/chunk-5FQGJX7Z-BSzccEgu.js +0 -113
- package/dist/assets/chunk-ABZYJK2D-pjI0V9vG.js +0 -80
- package/dist/assets/chunk-ATLVNIR6-DMcOYQJi.js +0 -1
- package/dist/assets/chunk-B4BG7PRW-jxe9_Hde.js +0 -165
- package/dist/assets/chunk-CVBHYZKI-DwNHftX6.js +0 -1
- package/dist/assets/chunk-DI55MBZ5-CNxnbO1g.js +0 -220
- package/dist/assets/chunk-EXTU4WIE-C7TYTuus.js +0 -1
- package/dist/assets/chunk-FMBD7UC4-jBIrJcS0.js +0 -15
- package/dist/assets/chunk-HN2XXSSU-COpG_X4X.js +0 -1
- package/dist/assets/chunk-JA3XYJ7Z-2W_JmZ4z.js +0 -70
- package/dist/assets/chunk-JZLCHNYA-DdjotIam.js +0 -54
- package/dist/assets/chunk-MI3HLSF2-D_z13ybc.js +0 -32
- package/dist/assets/chunk-N4CR4FBY-Y37VEUfx.js +0 -2
- package/dist/assets/chunk-QN33PNHL-BcKQMXSf.js +0 -1
- package/dist/assets/chunk-QXUST7PY-CU78e3vp.js +0 -7
- package/dist/assets/chunk-QZHKN3VN-g-7LWEK-.js +0 -1
- package/dist/assets/chunk-S3R3BYOJ-EEhIeeuI.js +0 -2
- package/dist/assets/chunk-TZMSLE5B-D1A_Dyzt.js +0 -1
- package/dist/assets/classDiagram-2ON5EDUG-CDgVuBLy.js +0 -1
- package/dist/assets/classDiagram-v2-WZHVMYZB-B2UHhBVi.js +0 -1
- package/dist/assets/clike-TW9KXOmZ.js +0 -1
- package/dist/assets/clojure-C_sT-_CQ.js +0 -1
- package/dist/assets/cmake-BjrhHx8m.js +0 -1
- package/dist/assets/cobol-Cs8YSzaw.js +0 -1
- package/dist/assets/code-block-37QAKDTI-U2R1jyOo.js +0 -2
- package/dist/assets/coffeescript-juXyFkA0.js +0 -1
- package/dist/assets/column-preview-BLIWbdOX.js +0 -1
- package/dist/assets/command-2NPJCYDa.js +0 -1
- package/dist/assets/command-palette-CeDe63_W.js +0 -1
- package/dist/assets/common-BaBE_ygg.js +0 -1
- package/dist/assets/commonlisp-Cmn_5nuv.js +0 -1
- package/dist/assets/components-CvGaLA5d.js +0 -1
- package/dist/assets/components-zB5yT_R8.js +0 -1
- package/dist/assets/config-C2lTvbuU.js +0 -1
- package/dist/assets/context-C1Tm_47t.js +0 -1
- package/dist/assets/copy-icon-BdZPgXgo.js +0 -1
- package/dist/assets/cose-bilkent-S5V4N54A-B7DsItpC.js +0 -1
- package/dist/assets/crystal-DJrWmXfk.js +0 -1
- package/dist/assets/css-BJpII9DZ.js +0 -1
- package/dist/assets/cypher-D549BT6Q.js +0 -1
- package/dist/assets/d-CQplIm4C.js +0 -1
- package/dist/assets/dagre-6UL2VRFP-F7ectrvx.js +0 -4
- package/dist/assets/data-grid-overlay-editor-Cvj8Susd.js +0 -1
- package/dist/assets/datasource-I-LOgxeP.js +0 -3
- package/dist/assets/dates-DI1TvEEK.js +0 -1
- package/dist/assets/dependency-graph-panel-ClI5byUa.js +0 -5
- package/dist/assets/diagram-PSM6KHXK-DLOGvjhP.js +0 -24
- package/dist/assets/diagram-QEK2KX5R-BEJdNpvg.js +0 -43
- package/dist/assets/diagram-S2PKOQOG-CqMnWWB8.js +0 -24
- package/dist/assets/diff-Dz2enOOE.js +0 -1
- package/dist/assets/dist-7TsTgeOV.js +0 -1
- package/dist/assets/dist-B0N0-Vx5.js +0 -1
- package/dist/assets/dist-BE3jO1WU.js +0 -1
- package/dist/assets/dist-BNfAUjeR.js +0 -1
- package/dist/assets/dist-BQxSimS-.js +0 -1
- package/dist/assets/dist-BSp3naSP.js +0 -1
- package/dist/assets/dist-BYShiqDa.js +0 -1
- package/dist/assets/dist-BZe5KYlj.js +0 -1
- package/dist/assets/dist-BZr6MMV-.js +0 -1
- package/dist/assets/dist-BbkYHvT2.js +0 -1
- package/dist/assets/dist-CAWvCIk5.js +0 -1
- package/dist/assets/dist-CK56b5MF.js +0 -1
- package/dist/assets/dist-COz0Y8UW.js +0 -1
- package/dist/assets/dist-CW3rweKM.js +0 -7
- package/dist/assets/dist-CodYQwM5.js +0 -1
- package/dist/assets/dist-D4Od5Ds4.js +0 -1
- package/dist/assets/dist-DCqxOggh.js +0 -6
- package/dist/assets/dist-DLjDyeX7.js +0 -1
- package/dist/assets/dist-DOY95WD5.js +0 -1
- package/dist/assets/dist-Da-HT0I8.js +0 -1
- package/dist/assets/dist-Dc1gTRL9.js +0 -1
- package/dist/assets/dist-Dn1-guC7.js +0 -1
- package/dist/assets/dist-Dwy8b-Zd.js +0 -1
- package/dist/assets/dist-DxEuZTVa.js +0 -1
- package/dist/assets/dist-LFeDu06u.js +0 -1
- package/dist/assets/dist-ThkhuYAm.js +0 -1
- package/dist/assets/dist-jwcsaiRe.js +0 -1
- package/dist/assets/dist-oedZSmHi.js +0 -1
- package/dist/assets/dist-r-YlHvr1.js +0 -1
- package/dist/assets/dist-v1cdVFWt.js +0 -1
- package/dist/assets/dockerfile-AiWrCVkd.js +0 -1
- package/dist/assets/documentation-panel-DMdFXuBf.js +0 -1
- package/dist/assets/download-B1QFVDP-.js +0 -9
- package/dist/assets/dtd-DxzWHAng.js +0 -1
- package/dist/assets/dylan-Bj1NVjKa.js +0 -1
- package/dist/assets/ecl-Ch-B_r8E.js +0 -1
- package/dist/assets/edit-page-ZFpn8-WM.js +0 -9
- package/dist/assets/eiffel-CICk6vIb.js +0 -1
- package/dist/assets/elm-C1O6zP9K.js +0 -1
- package/dist/assets/erDiagram-Q2GNP2WA-DlCxoG4y.js +0 -60
- package/dist/assets/erlang-BwL41NIP.js +0 -1
- package/dist/assets/error-banner-CLO6LFll.js +0 -1
- package/dist/assets/error-panel-iXznkJZ1.js +0 -1
- package/dist/assets/es-au8YY-8E.js +0 -5
- package/dist/assets/esm-BGRsx_Fp.js +0 -1
- package/dist/assets/esm-Cb2bnV6o.js +0 -1
- package/dist/assets/eye-off-BT-KOYV5.js +0 -1
- package/dist/assets/factor-DgyyQiBQ.js +0 -1
- package/dist/assets/factor-DjzhghfA.js +0 -1
- package/dist/assets/field-DNlzfMKW.js +0 -1
- package/dist/assets/file-explorer-panel-BVBKF1SH.js +0 -26
- package/dist/assets/file-icons-B6DaZdP0.js +0 -1
- package/dist/assets/file-name-input-g2H2sY2h.js +0 -3
- package/dist/assets/fileToBase64-BeYUTUzO.js +0 -1
- package/dist/assets/floating-outline-DbOtUfo-.js +0 -1
- package/dist/assets/flowDiagram-NV44I4VS-CXUevMnh.js +0 -162
- package/dist/assets/focus-BaOnnMs-.js +0 -1
- package/dist/assets/form-BjUJP6PJ.js +0 -2
- package/dist/assets/formats-BRq458WH.js +0 -1
- package/dist/assets/formatting-XTtGIhGk.js +0 -1
- package/dist/assets/forth-D9Pm6H-4.js +0 -1
- package/dist/assets/fortran-Bkmw-ITl.js +0 -1
- package/dist/assets/gallery-page-MrZHjySE.js +0 -1
- package/dist/assets/ganttDiagram-JELNMOA3-D8_HISpS.js +0 -267
- package/dist/assets/gas-hS11Npqh.js +0 -1
- package/dist/assets/gherkin-HvvvGZ2_.js +0 -1
- package/dist/assets/gitGraph-G5XIXVHT-DiktmQLx.js +0 -1
- package/dist/assets/gitGraphDiagram-V2S2FVAM-CN_m3FDa.js +0 -65
- package/dist/assets/glide-data-editor-4Wql6uq7.js +0 -132
- package/dist/assets/globals-CpVAcN9Z.js +0 -1
- package/dist/assets/groovy-BymCZpo_.js +0 -1
- package/dist/assets/haskell-D1PB_nO2.js +0 -1
- package/dist/assets/haxe-BbvC3Y-d.js +0 -1
- package/dist/assets/home-page-De1W6q6f.js +0 -4
- package/dist/assets/hooks-jWLD3t7P.js +0 -1
- package/dist/assets/html-to-image-D6SgvARi.js +0 -2
- package/dist/assets/idl-Do8pA7p2.js +0 -1
- package/dist/assets/index-B30qjBZM.css +0 -2
- package/dist/assets/index-ZA7t2ThT.js +0 -38
- package/dist/assets/info-VBDWY6EO-BH3NOLYF.js +0 -1
- package/dist/assets/infoDiagram-HS3SLOUP-C20LNJkf.js +0 -2
- package/dist/assets/input-CVE-gIjt.js +0 -1
- package/dist/assets/javascript-C0HGxgJT.js +0 -1
- package/dist/assets/journeyDiagram-XKPGCS4Q-CQWCJPyH.js +0 -139
- package/dist/assets/julia-B-Inh9cI.js +0 -1
- package/dist/assets/kanban-definition-3W4ZIXB7-CeH-UkBO.js +0 -89
- package/dist/assets/katex-Bci6q_jh.js +0 -1
- package/dist/assets/kiosk-mode-Czvj3vmL.js +0 -1
- package/dist/assets/layout-DEU6lX-9.js +0 -9
- package/dist/assets/line-BkpbatV-.js +0 -1
- package/dist/assets/linear-BHpZPQfO.js +0 -1
- package/dist/assets/links-Av1BIe0O.js +0 -1
- package/dist/assets/livescript-C6P4ddCY.js +0 -1
- package/dist/assets/logs-panel-BMAfoMJg.js +0 -1
- package/dist/assets/loro_wasm_bg-Bg3nlaci.js +0 -1
- package/dist/assets/lua-DTvhQBWH.js +0 -1
- package/dist/assets/markdown-renderer-BQ-BQLiJ.js +0 -5
- package/dist/assets/mathematica-wRwDN36m.js +0 -1
- package/dist/assets/mbox-BeQS3Xo8.js +0 -1
- package/dist/assets/mermaid-4DMBBIKO-C0OyyVdo.js +0 -1
- package/dist/assets/mermaid-CZhfODkT.js +0 -11
- package/dist/assets/mermaid-parser.core-867JpRcd.js +0 -4
- package/dist/assets/mhchem-BKhnkPip.js +0 -1
- package/dist/assets/mindmap-definition-VGOIOE7T-BNg30ltj.js +0 -68
- package/dist/assets/mirc-D0yC5rBL.js +0 -1
- package/dist/assets/mllike-sRDGjaMs.js +0 -1
- package/dist/assets/modelica-CTTCwBwt.js +0 -1
- package/dist/assets/mscgen-D9NVglDL.js +0 -1
- package/dist/assets/mumps-eJkJqAKw.js +0 -1
- package/dist/assets/name-cell-input-bwfAyC0i.js +0 -1
- package/dist/assets/nsis-B3ap5r7i.js +0 -1
- package/dist/assets/nsis-bDE8IZXy.js +0 -1
- package/dist/assets/ntriples-B2LCbtl9.js +0 -1
- package/dist/assets/number-overlay-editor-BOtWFe1E.js +0 -9
- package/dist/assets/octave-DhLlnMzQ.js +0 -1
- package/dist/assets/ordinal-BKex0QZH.js +0 -1
- package/dist/assets/outline-panel-CkZUQcZ1.js +0 -1
- package/dist/assets/oz-CLovtD0B.js +0 -1
- package/dist/assets/packages-panel-B3dRYuRM.js +0 -1
- package/dist/assets/packet-DYOGHKS2-BZAo-1WV.js +0 -1
- package/dist/assets/panels-DWhhEgv4.js +0 -1
- package/dist/assets/pascal-BJwozZXL.js +0 -1
- package/dist/assets/pathUtils-vgBYIo5B.js +0 -1
- package/dist/assets/perl-B3rIP59U.js +0 -1
- package/dist/assets/pie-VRWISCQL-DSqXSW1A.js +0 -1
- package/dist/assets/pieDiagram-ADFJNKIX-CkDeU73E.js +0 -30
- package/dist/assets/pig-BQrpamWX.js +0 -1
- package/dist/assets/powershell-Crqgmja1.js +0 -1
- package/dist/assets/precisionRound-NX56vp6K.js +0 -1
- package/dist/assets/process-output-9W-JyYdE.js +0 -1
- package/dist/assets/properties-BMPI0iSd.js +0 -1
- package/dist/assets/protobuf-BMPWl2Em.js +0 -1
- package/dist/assets/pug-BvTKD58f.js +0 -1
- package/dist/assets/pug-CcL3ml0F.js +0 -1
- package/dist/assets/puppet-B1rTmaHH.js +0 -1
- package/dist/assets/python-DGMqnM8m.js +0 -1
- package/dist/assets/q-BNL1PH4D.js +0 -1
- package/dist/assets/quadrantDiagram-AYHSOK5B-DAx3aobn.js +0 -7
- package/dist/assets/r-DOvfvYEk.js +0 -1
- package/dist/assets/radar-ZZBFDIW7-BPcQHRAq.js +0 -1
- package/dist/assets/radio-group-rsi1ibXY.js +0 -1
- package/dist/assets/react-vega-4VQqM03t.js +0 -188
- package/dist/assets/react-vega-5tTMnjwa.js +0 -1
- package/dist/assets/readonly-python-code-BKYj8PNf.js +0 -1
- package/dist/assets/renderShortcut-DK-VjfaX.js +0 -1
- package/dist/assets/request-registry-DKAymYdP.js +0 -1
- package/dist/assets/requirementDiagram-UZGBJVZJ-u-qLWr1t.js +0 -64
- package/dist/assets/reveal-component-DNpBzX6F.js +0 -1069
- package/dist/assets/rpm-B7R9RTHE.js +0 -1
- package/dist/assets/ruby-BGJp-XLA.js +0 -1
- package/dist/assets/run-page-CO2X6wso.js +0 -1
- package/dist/assets/sankeyDiagram-TZEHDZUN-VL3oPzoy.js +0 -10
- package/dist/assets/sas-CZmYq1Si.js +0 -1
- package/dist/assets/scheme-CdW_eMia.js +0 -1
- package/dist/assets/scratchpad-panel-CWfddArs.js +0 -1
- package/dist/assets/secrets-panel-DqHGq3V8.js +0 -1
- package/dist/assets/sequenceDiagram-WL72ISMW-CyhmzEul.js +0 -145
- package/dist/assets/session-panel-BP0QxaoM.js +0 -1
- package/dist/assets/share-oorMPghT.js +0 -1
- package/dist/assets/shell-oPdLMo8m.js +0 -1
- package/dist/assets/sieve-DEd8Bmn8.js +0 -1
- package/dist/assets/smalltalk-CnqQIV2W.js +0 -1
- package/dist/assets/snippets-panel-DFJd1ui5.js +0 -1
- package/dist/assets/sparql-DKyVXlni.js +0 -1
- package/dist/assets/spec-D1ptWKg6.js +0 -1
- package/dist/assets/state-BXNNuw9g.js +0 -3
- package/dist/assets/state-D-vYm99C.js +0 -1
- package/dist/assets/state-D9EoHCkz.js +0 -1
- package/dist/assets/state-dx303w7J.js +0 -1
- package/dist/assets/stateDiagram-FKZM4ZOC-eVhhAfzW.js +0 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-cGl1lSTF.js +0 -1
- package/dist/assets/step-vqKxn7TP.js +0 -1
- package/dist/assets/stex-C8c2RsN8.js +0 -1
- package/dist/assets/stylus-Dk_-yu_w.js +0 -1
- package/dist/assets/swift-CjrgUbUd.js +0 -1
- package/dist/assets/swiper-component-Da-gZjtJ.js +0 -1
- package/dist/assets/switch-BtkQp293.js +0 -1
- package/dist/assets/tcl-DCmY87p6.js +0 -1
- package/dist/assets/terminal-BSE1Vg5d.js +0 -62
- package/dist/assets/textarea-BBTcSr-i.js +0 -1
- package/dist/assets/textile-C_0nHQXl.js +0 -1
- package/dist/assets/time-Di7MbY-a.js +0 -1
- package/dist/assets/timeline-definition-IT6M3QCI-C01GhhW1.js +0 -61
- package/dist/assets/toml-DRTXXEvh.js +0 -1
- package/dist/assets/tracing-BQU8fBDM.js +0 -1
- package/dist/assets/tracing-panel-DEVpyGX3.js +0 -2
- package/dist/assets/tree-actions-DY8FUp3V.js +0 -1
- package/dist/assets/treemap-GDKQZRPO-Bqwz-MRa.js +0 -1
- package/dist/assets/troff-Cc6RCKwc.js +0 -1
- package/dist/assets/ttcn-B_hjyyZd.js +0 -1
- package/dist/assets/ttcn-cfg-C9kHEAnH.js +0 -1
- package/dist/assets/turtle-BpKw2L0C.js +0 -1
- package/dist/assets/useBoolean-B8LMGUHl.js +0 -1
- package/dist/assets/useCellActionButton-QaDO24oW.js +0 -1
- package/dist/assets/useDateFormatter-d3yglQmW.js +0 -1
- package/dist/assets/useDeleteCell-DFahVcdW.js +0 -1
- package/dist/assets/useDependencyPanelTab-BB_XeSAg.js +0 -1
- package/dist/assets/useHotkey-C04CW11R.js +0 -1
- package/dist/assets/useInstallPackage-hKfTes-m.js +0 -1
- package/dist/assets/useNotebookActions-CJEicFed.js +0 -4
- package/dist/assets/useNumberFormatter-CW4V-fpE.js +0 -1
- package/dist/assets/usePress-jH2RfcUG.js +0 -7
- package/dist/assets/useRunCells-C0BPo9m1.js +0 -1
- package/dist/assets/useSplitCell-BN53wD86.js +0 -1
- package/dist/assets/useTheme-Kwyx4PvL.js +0 -1
- package/dist/assets/utils-DQRuLEof.js +0 -61
- package/dist/assets/utils-Wvjk_Y4h.js +0 -1
- package/dist/assets/vb-DrexAmUA.js +0 -1
- package/dist/assets/vbscript-BxgSn4mU.js +0 -1
- package/dist/assets/vega-component-C9fDGx86.js +0 -1
- package/dist/assets/vega-loader.browser-xq8miGHn.js +0 -6
- package/dist/assets/velocity-FfkCaLcE.js +0 -1
- package/dist/assets/verilog-CqmLdpPq.js +0 -1
- package/dist/assets/vhdl-Brd1jg5j.js +0 -1
- package/dist/assets/webidl-I7JvNTQ0.js +0 -1
- package/dist/assets/write-secret-modal-Liv_9MXS.js +0 -1
- package/dist/assets/xquery-DryU6qzU.js +0 -1
- package/dist/assets/xychartDiagram-PRI3JC2R-CohoDL7X.js +0 -7
- package/dist/assets/yacas-CxNmk6Uw.js +0 -1
- package/dist/assets/z80-CIIYHJij.js +0 -1
- package/src/components/data-table/__tests__/column-header.test.ts +0 -65
- package/src/components/data-table/filters.ts +0 -386
- /package/dist/assets/{Deferred-DWBqOhWa.js → Deferred-CP7vq682.js} +0 -0
- /package/dist/assets/{ImageComparisonComponent-nhywlX8O.js → ImageComparisonComponent-BIetTBDq.js} +0 -0
- /package/dist/assets/{Inputs-COvM_tLq.js → Inputs-C6ftxLAJ.js} +0 -0
- /package/dist/assets/{Plot-BDBiXfv_.js → Plot-Ba3WGWNu.js} +0 -0
- /package/dist/assets/{SSRProvider-BIDQNg9Q.js → SSRProvider-CkFAAHXw.js} +0 -0
- /package/dist/assets/{alert-DrHguQlr.js → alert-yTS3WpF4.js} +0 -0
- /package/dist/assets/{apl-iXnrDoYq.js → apl-Byte72fT.js} +0 -0
- /package/dist/assets/{array-DdrmtJsl.js → array-CC7vZNGO.js} +0 -0
- /package/dist/assets/{asciiarmor-CK-aFa78.js → asciiarmor-BU-VnG1Y.js} +0 -0
- /package/dist/assets/{asn1-DWJdxrMP.js → asn1-hTvH3S4T.js} +0 -0
- /package/dist/assets/{asterisk-DmqsRS7E.js → asterisk-DIMri3P4.js} +0 -0
- /package/dist/assets/{azure-DBVzcmvx.js → azure-B42ls0Ui.js} +0 -0
- /package/dist/assets/{badge-DOX1Xxa9.js → badge-j3NGjqhR.js} +0 -0
- /package/dist/assets/{blob-3_FN0u9S.js → blob-Bgnx1kuY.js} +0 -0
- /package/dist/assets/{brainfuck-0bMZHpH_.js → brainfuck-C-q1Rv8J.js} +0 -0
- /package/dist/assets/{bundle.esm-BXIlAZ6T.js → bundle.esm-DjhGJy4I.js} +0 -0
- /package/dist/assets/{card-BFWJLptH.js → card--6HRj4T9.js} +0 -0
- /package/dist/assets/{chunk-4F5CHEZ2-BqEXxh1Z.js → chunk-4F5CHEZ2-eEwFz7fp.js} +0 -0
- /package/dist/assets/{chunk-B2363JML-BMBEdPpn.js → chunk-B2363JML-COExSe0d.js} +0 -0
- /package/dist/assets/{chunk-DR5Q36YT-DKTVLAfY.js → chunk-DR5Q36YT-OB6tC_dd.js} +0 -0
- /package/dist/assets/{chunk-FRFDVMJY-CfFB3K1V.js → chunk-FRFDVMJY-CO3-6rb4.js} +0 -0
- /package/dist/assets/{chunk-PL6DKKU2-B33xUOa0.js → chunk-PL6DKKU2-B9mDp5iV.js} +0 -0
- /package/dist/assets/{chunk-SJTYNZTY-8WPtvsjT.js → chunk-SJTYNZTY-Dh_h90Yu.js} +0 -0
- /package/dist/assets/{chunk-TQ3KTPDO-D2AjvUV_.js → chunk-TQ3KTPDO-CFybjK0M.js} +0 -0
- /package/dist/assets/{chunk-UMXZTB3W-BCNtLoey.js → chunk-UMXZTB3W-C3w83KpJ.js} +0 -0
- /package/dist/assets/{clear-button-pxtY_gQU.js → clear-button-Cfe8K4j_.js} +0 -0
- /package/dist/assets/{click-outside-container-C9uindjY.js → click-outside-container-BNVqwewc.js} +0 -0
- /package/dist/assets/{clike-5SQqmvx2.js → clike-BE-9Ct_H.js} +0 -0
- /package/dist/assets/{clojure-B0kIwyv8.js → clojure-Co-TLeNo.js} +0 -0
- /package/dist/assets/{cmake-CLXeINvH.js → cmake-B-Nm_Opd.js} +0 -0
- /package/dist/assets/{cobol-C9SsG--s.js → cobol-BGdihAZT.js} +0 -0
- /package/dist/assets/{coffeescript-UIQG6RnU.js → coffeescript-BUZXkMUO.js} +0 -0
- /package/dist/assets/{colors-CDxbWdyG.js → colors-BG8Z91CW.js} +0 -0
- /package/dist/assets/{common-keywords-Bf68gXm2.js → common-keywords-15xBKau4.js} +0 -0
- /package/dist/assets/{commonlisp-BBPumpJY.js → commonlisp-CFkPbxvX.js} +0 -0
- /package/dist/assets/{copy-Ch48HVPK.js → copy-LK56fFow.js} +0 -0
- /package/dist/assets/{crystal-CGN1wsuY.js → crystal-CqfqDl34.js} +0 -0
- /package/dist/assets/{css-aQ-Krb7T.js → css-DPEtZWJi.js} +0 -0
- /package/dist/assets/{cypher-DEE4_Yec.js → cypher-B0t8FJvU.js} +0 -0
- /package/dist/assets/{cytoscape.esm-DuXIsNbY.js → cytoscape.esm-DT8iy6p1.js} +0 -0
- /package/dist/assets/{d-CgJ8N-gL.js → d-DRa_XRSB.js} +0 -0
- /package/dist/assets/{defaultLocale-DPBdGRrH.js → defaultLocale-BLUna9fQ.js} +0 -0
- /package/dist/assets/{defaultLocale-Lfi0pexn.js → defaultLocale-DzliDDTm.js} +0 -0
- /package/dist/assets/{dialog-DqOQT_n4.js → dialog-DzC_QCtT.js} +0 -0
- /package/dist/assets/{diff-B8e18dKs.js → diff-GLneonpD.js} +0 -0
- /package/dist/assets/{dist-DP9Si-4r.js → dist-4ni0fia5.js} +0 -0
- /package/dist/assets/{dist-DjGavUj4.js → dist-A7swzSTR.js} +0 -0
- /package/dist/assets/{dist-BU26XwgJ.js → dist-B1U1kGCR.js} +0 -0
- /package/dist/assets/{dist-DGhKKgfN.js → dist-BQeNY9Zl.js} +0 -0
- /package/dist/assets/{dist-DQ3_8QJg.js → dist-BXRWfNwi.js} +0 -0
- /package/dist/assets/{dist-Scx61XLd.js → dist-BlOtCkpT.js} +0 -0
- /package/dist/assets/{dist-FS1xQUNb.js → dist-C78V1LRz.js} +0 -0
- /package/dist/assets/{dist-DkA__6UI.js → dist-CPczQFlJ.js} +0 -0
- /package/dist/assets/{dist-Bm0v4xuz.js → dist-CXBpwk_w.js} +0 -0
- /package/dist/assets/{dist-COs9gIu5.js → dist-ChF5Ln9c.js} +0 -0
- /package/dist/assets/{dist-EbJ2Bafg.js → dist-CsvFAFh9.js} +0 -0
- /package/dist/assets/{dist-CyKkoCYJ.js → dist-D70Tz1Kr.js} +0 -0
- /package/dist/assets/{dist-CTvZbFwy.js → dist-DUHHizRG.js} +0 -0
- /package/dist/assets/{dtd-DtwMcoo9.js → dtd-uVrZNVF0.js} +0 -0
- /package/dist/assets/{duckdb-keywords-BWKLsQSd.js → duckdb-keywords-CYQ5DEZJ.js} +0 -0
- /package/dist/assets/{dylan-Be6i1K-V.js → dylan-DkNeA4FZ.js} +0 -0
- /package/dist/assets/{ebnf-dezZofVm.js → ebnf-XMH6KY7E.js} +0 -0
- /package/dist/assets/{ecl-D5tlhe8s.js → ecl-CldUgvc9.js} +0 -0
- /package/dist/assets/{eiffel-8SQWO4xP.js → eiffel-CoMDRbRL.js} +0 -0
- /package/dist/assets/{elm-CtGe_7Jw.js → elm-Cb5XC6ev.js} +0 -0
- /package/dist/assets/{emotion-is-prop-valid.esm-Dangy3Bv.js → emotion-is-prop-valid.esm-C59xfSYt.js} +0 -0
- /package/dist/assets/{empty-state-CcobJSnG.js → empty-state-Cjt8SfMh.js} +0 -0
- /package/dist/assets/{en-US-C7vnqfgk.js → en-US-Cb8rIK52.js} +0 -0
- /package/dist/assets/{erlang-CNwX3Z_M.js → erlang-8H3fTZ3L.js} +0 -0
- /package/dist/assets/{errors-iwK4b4VF.js → errors-vr57w7Ul.js} +0 -0
- /package/dist/assets/{esm-CX-gNDKf.js → esm-1wf4HygE.js} +0 -0
- /package/dist/assets/{events-CBm-hwqS.js → events-CPoJAfgx.js} +0 -0
- /package/dist/assets/{extends-Dqvpuc10.js → extends-BiFDv3jB.js} +0 -0
- /package/dist/assets/{fcl-D566gDVV.js → fcl-DyFJAgkq.js} +0 -0
- /package/dist/assets/{file-HTLbeC2b.js → file-BrdxGLRX.js} +0 -0
- /package/dist/assets/{file-headphone-B3fuktN0.js → file-headphone-BrQspHac.js} +0 -0
- /package/dist/assets/{forth-CaVwPSxM.js → forth-B8kC4npz.js} +0 -0
- /package/dist/assets/{fortran-B28t9xoj.js → fortran-CNWGEL3c.js} +0 -0
- /package/dist/assets/{gas-BSiJHAcz.js → gas-DnZQNTHK.js} +0 -0
- /package/dist/assets/{gherkin-1QurHPOF.js → gherkin-JfGcGvci.js} +0 -0
- /package/dist/assets/{github-raQvpeuZ.js → github-BKS_2Qwn.js} +0 -0
- /package/dist/assets/{groovy-DFOLwJLv.js → groovy-D0FWiAVm.js} +0 -0
- /package/dist/assets/{haskell-CUN2jxPH.js → haskell-wUB3uX-G.js} +0 -0
- /package/dist/assets/{haxe-BYzKptPQ.js → haxe-g0JY6eL-.js} +0 -0
- /package/dist/assets/{house-D2ldnAB9.js → house-mGK3v0Mm.js} +0 -0
- /package/dist/assets/{http-Ms617AZI.js → http-ySzAzH5W.js} +0 -0
- /package/dist/assets/{icons-8tfAri2V.js → icons-Ol38nIbL.js} +0 -0
- /package/dist/assets/{idl-cdmrQY5J.js → idl-CV2cLkPc.js} +0 -0
- /package/dist/assets/{image-BIibSXT6.js → image-DQHXdEQn.js} +0 -0
- /package/dist/assets/{init-DiAYA_Co.js → init-DsZRk2YA.js} +0 -0
- /package/dist/assets/{isValid-DdlR4-BY.js → isValid-CklTTytn.js} +0 -0
- /package/dist/assets/{javascript-l5LYdpfx.js → javascript-CT6okXEZ.js} +0 -0
- /package/dist/assets/{julia-DxiTohY8.js → julia-CKC48ufo.js} +0 -0
- /package/dist/assets/{katex-CgXtp7UB.js → katex-BE4UDS50.js} +0 -0
- /package/dist/assets/{kbd-BJB2rf7K.js → kbd-CTUAEnEx.js} +0 -0
- /package/dist/assets/{link-CoJxTwWE.js → link-CfEtM3Rl.js} +0 -0
- /package/dist/assets/{links-B8WzCnbo.js → links-D1JoyKTt.js} +0 -0
- /package/dist/assets/{livescript-BZkzGFkJ.js → livescript-C43pZ6Ue.js} +0 -0
- /package/dist/assets/{loro_wasm_bg-C5TJxMR5.js → loro_wasm_bg-CXnd80ne.js} +0 -0
- /package/dist/assets/{lua-rVV1vLen.js → lua-Cs2mb10K.js} +0 -0
- /package/dist/assets/{marimo-icons-CUuBQ0ae.js → marimo-icons-CiwvnnsT.js} +0 -0
- /package/dist/assets/{math-CS811RUM.js → math-B-ZqhQTL.js} +0 -0
- /package/dist/assets/{mathematica-DktJ0aJB.js → mathematica-B5FMK3ma.js} +0 -0
- /package/dist/assets/{mbox-Ch6IVA7h.js → mbox-36Zrn5Bd.js} +0 -0
- /package/dist/assets/{message-circle-1YLdnr8A.js → message-circle-CWm2KnSx.js} +0 -0
- /package/dist/assets/{micromark-factory-space-BUQpMdx2.js → micromark-factory-space-BygYYKhs.js} +0 -0
- /package/dist/assets/{mirc-CdWws4At.js → mirc-BKTAABSX.js} +0 -0
- /package/dist/assets/{mllike-CB0tp4Bz.js → mllike-DbuClUqc.js} +0 -0
- /package/dist/assets/{modelica-DQGg_xsi.js → modelica-CKRvBm7N.js} +0 -0
- /package/dist/assets/{mscgen-vDSxnAXy.js → mscgen-B4BRgnCi.js} +0 -0
- /package/dist/assets/{mumps-BzlVzIzl.js → mumps-BFiMcyFV.js} +0 -0
- /package/dist/assets/{nginx-CNtYBWy9.js → nginx-Cz_XvoTm.js} +0 -0
- /package/dist/assets/{node-sql-parser-BvUFblwL.js → node-sql-parser-BtkrI4pN.js} +0 -0
- /package/dist/assets/{ntriples-BndMB6TK.js → ntriples-QQAkJYAR.js} +0 -0
- /package/dist/assets/{numbers-mY4EY0yG.js → numbers-C3BAdHZE.js} +0 -0
- /package/dist/assets/{objectWithoutPropertiesLoose-DoKw85w0.js → objectWithoutPropertiesLoose-DfWeGRFv.js} +0 -0
- /package/dist/assets/{octave-DhnkL0CH.js → octave-DsTphmGZ.js} +0 -0
- /package/dist/assets/{oz-DbZmNL9y.js → oz-CD9rr5Iz.js} +0 -0
- /package/dist/assets/{package-B8oXOUM-.js → package-Tv6ztuzw.js} +0 -0
- /package/dist/assets/{panel-context-DQWeG2KK.js → panel-context-BJbBGfoL.js} +0 -0
- /package/dist/assets/{pascal-DhE1sEjD.js → pascal-DdHEIlJE.js} +0 -0
- /package/dist/assets/{path-D1tAOolS.js → path-DvTahePH.js} +0 -0
- /package/dist/assets/{paths-SFhaqGlE.js → paths-D5zczhUD.js} +0 -0
- /package/dist/assets/{perl-BOZHK4Y3.js → perl-DHPJBQ1u.js} +0 -0
- /package/dist/assets/{pig-eswHTOE9.js → pig-Yz7ERgca.js} +0 -0
- /package/dist/assets/{play-5vQl-hy9.js → play-C7DcCsoO.js} +0 -0
- /package/dist/assets/{plus-CxkHs8QM.js → plus-BgB18UzY.js} +0 -0
- /package/dist/assets/{powershell-pm9G_Qg5.js → powershell-CHPZ_bsU.js} +0 -0
- /package/dist/assets/{preload-helper-DdZsAcJe.js → preload-helper-BPPi7vOr.js} +0 -0
- /package/dist/assets/{prop-types-DVDiRdwc.js → prop-types-DaaA-ptl.js} +0 -0
- /package/dist/assets/{properties-7VoeFdHR.js → properties-CI9nc7K4.js} +0 -0
- /package/dist/assets/{protobuf-BAsuCsmK.js → protobuf-BYSIv2pY.js} +0 -0
- /package/dist/assets/{puppet-DUYPK8CV.js → puppet-CEpLafZX.js} +0 -0
- /package/dist/assets/{purify.es-DvRMX74T.js → purify.es-B9KxLTTS.js} +0 -0
- /package/dist/assets/{python-UQl3_T6H.js → python-BndVuwG1.js} +0 -0
- /package/dist/assets/{q-CnvA_jxT.js → q-L_cetpiW.js} +0 -0
- /package/dist/assets/{r-fM1OLzJB.js → r-Dd37AKWk.js} +0 -0
- /package/dist/assets/{range-Dk7lXDev.js → range-gMGfxVwZ.js} +0 -0
- /package/dist/assets/{react-icons.esm--O4lBTlZ.js → react-icons.esm-BNzu6e7h.js} +0 -0
- /package/dist/assets/{react-resizable-panels.browser.esm-Ce2ksurd.js → react-resizable-panels.browser.esm-CV8-hvjx.js} +0 -0
- /package/dist/assets/{refresh-ccw-DLc784Sj.js → refresh-ccw-C-n2VFP5.js} +0 -0
- /package/dist/assets/{refresh-cw-a_9k9BK7.js → refresh-cw-DHwG4Mac.js} +0 -0
- /package/dist/assets/{rotate-ccw-DoQtGgvU.js → rotate-ccw-CNsAb2VZ.js} +0 -0
- /package/dist/assets/{rpm-D62D_dq6.js → rpm-CHrvhtlN.js} +0 -0
- /package/dist/assets/{ruby-DemvBD0m.js → ruby-BPOowfX6.js} +0 -0
- /package/dist/assets/{runs-Cn-NiTzH.js → runs-BD0G-C2A.js} +0 -0
- /package/dist/assets/{sas-CZjYQi4h.js → sas-BsEFSvEP.js} +0 -0
- /package/dist/assets/{save-DZ5aail6.js → save-Clg5dMoP.js} +0 -0
- /package/dist/assets/{scheme-nPNaP0Qp.js → scheme-B42INBu7.js} +0 -0
- /package/dist/assets/{semaphore-X3ApuO41.js → semaphore-FlZezxaf.js} +0 -0
- /package/dist/assets/{session-DGdfs0bJ.js → session-0B5NBztP.js} +0 -0
- /package/dist/assets/{settings-SnYErNWQ.js → settings-DfFe0dWD.js} +0 -0
- /package/dist/assets/{shell-BE2ANxN1.js → shell-BPea12OI.js} +0 -0
- /package/dist/assets/{sieve-DXFUN4C7.js → sieve-C-yPcLw5.js} +0 -0
- /package/dist/assets/{simple-mode-CZ1ts7NY.js → simple-mode-CFlvn0Mm.js} +0 -0
- /package/dist/assets/{smalltalk-DwXXlSAY.js → smalltalk-e7OO1ATb.js} +0 -0
- /package/dist/assets/{solr-DndbfGC6.js → solr-BAO4N63o.js} +0 -0
- /package/dist/assets/{sparkles-CC9Bko6a.js → sparkles-lWUAsPhp.js} +0 -0
- /package/dist/assets/{sparql-CgejAdiJ.js → sparql-B4I2Ledx.js} +0 -0
- /package/dist/assets/{spinner-UuZAUjoP.js → spinner-Bhir8k53.js} +0 -0
- /package/dist/assets/{spreadsheet-DHoeoJHd.js → spreadsheet-DWqd5foV.js} +0 -0
- /package/dist/assets/{sql-DzyjqiRG.js → sql-RBdzBYsM.js} +0 -0
- /package/dist/assets/{square-rACnnz-q.js → square-B5xWCt0a.js} +0 -0
- /package/dist/assets/{square-function-blYaQso8.js → square-function-uY_yJr5g.js} +0 -0
- /package/dist/assets/{src-D57-7XBB.js → src-BnrQkOKh.js} +0 -0
- /package/dist/assets/{stex-lcoTi-7o.js → stex-BGrE-q7N.js} +0 -0
- /package/dist/assets/{stylus-CslB9TS3.js → stylus-CBRbZwhN.js} +0 -0
- /package/dist/assets/{swift-5t7SQPo8.js → swift-B2hnU7ha.js} +0 -0
- /package/dist/assets/{table-DQE9hQzM.js → table-BGPSHfig.js} +0 -0
- /package/dist/assets/{tcl-Ddpe8YBc.js → tcl-BtyamtaZ.js} +0 -0
- /package/dist/assets/{textile-D_Db33mq.js → textile-M9mhyNE9.js} +0 -0
- /package/dist/assets/{tiddlywiki-Laz7iVQn.js → tiddlywiki-BsHUDwie.js} +0 -0
- /package/dist/assets/{tiki-Dd2_LAYu.js → tiki-ZqBe4Kjv.js} +0 -0
- /package/dist/assets/{toml-CgkLq_pv.js → toml-YxyxhyRy.js} +0 -0
- /package/dist/assets/{trash-2-BJLYnZpG.js → trash-2-rVklqqFF.js} +0 -0
- /package/dist/assets/{trash-wVOgGgQw.js → trash-DqeDe-Ua.js} +0 -0
- /package/dist/assets/{treemap-Cli48Hv9.js → treemap-DeGcO9km.js} +0 -0
- /package/dist/assets/{triangle-alert-CJ0ZIqcz.js → triangle-alert-D2p96PEF.js} +0 -0
- /package/dist/assets/{troff-6nX9d05T.js → troff-C7xpi05X.js} +0 -0
- /package/dist/assets/{ttcn-Dd4SMoHT.js → ttcn-D3YytrJU.js} +0 -0
- /package/dist/assets/{ttcn-cfg-ByNDYolW.js → ttcn-cfg-DlZ5vA9E.js} +0 -0
- /package/dist/assets/{turtle-LDF8uFGv.js → turtle-BSHvAsUe.js} +0 -0
- /package/dist/assets/{types-BYwxXaSY.js → types-W8WWuumF.js} +0 -0
- /package/dist/assets/{types-DZmRsGZN.js → types-a-yURniQ.js} +0 -0
- /package/dist/assets/{use-toast-ERM44-k9.js → use-toast-IPAtJGea.js} +0 -0
- /package/dist/assets/{useAsyncData-C5i0IRVM.js → useAsyncData-bgszE9F0.js} +0 -0
- /package/dist/assets/{useDebounce-_BZcy6gx.js → useDebounce-7xZwVnnu.js} +0 -0
- /package/dist/assets/{useDeepCompareMemoize-CWcgQCbT.js → useDeepCompareMemoize-zUHU--0D.js} +0 -0
- /package/dist/assets/{useIframeCapabilities-DPVTppnD.js → useIframeCapabilities-CcI1zSdn.js} +0 -0
- /package/dist/assets/{useInterval-CSOniNAx.js → useInterval-2YvvhIZI.js} +0 -0
- /package/dist/assets/{uuid-D_zLHhNi.js → uuid-e9lSomwA.js} +0 -0
- /package/dist/assets/{vb-DaLxM60T.js → vb-DdkIDLlO.js} +0 -0
- /package/dist/assets/{vbscript-CwitZ57u.js → vbscript-DhYGmk_p.js} +0 -0
- /package/dist/assets/{velocity-D6bc4mrP.js → velocity-DAXJNEw4.js} +0 -0
- /package/dist/assets/{verilog-CIyPdzYJ.js → verilog-jmuT_L3b.js} +0 -0
- /package/dist/assets/{vhdl-DfyhlM4K.js → vhdl-DcVQ97RU.js} +0 -0
- /package/dist/assets/{web-vitals-BaMazlva.js → web-vitals-xkV-JBVF.js} +0 -0
- /package/dist/assets/{webidl-C23hA3Le.js → webidl-B-YB_4OQ.js} +0 -0
- /package/dist/assets/{workflow-CgnDnnoN.js → workflow-Bm8qF7yj.js} +0 -0
- /package/dist/assets/{ws-Cb8IUKlU.js → ws-BnE9sl8z.js} +0 -0
- /package/dist/assets/{xquery-BAVQXrAf.js → xquery-DOmY3Oe8.js} +0 -0
- /package/dist/assets/{yacas-DrybVty2.js → yacas-pL3kJRXV.js} +0 -0
- /package/dist/assets/{youtube-3lRHw8NU.js → youtube-CbdpN8oL.js} +0 -0
- /package/dist/assets/{z80-8KI6AMtY.js → z80-VwVuI_MT.js} +0 -0
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
|
+
|
|
3
|
+
import type { UIMessage } from "ai";
|
|
4
|
+
import { describe, expect, it } from "vitest";
|
|
5
|
+
import { hasPendingToolCalls } from "../chat-utils";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* `hasPendingToolCalls` powers `sendAutomaticallyWhen` in `mo.ui.chat`:
|
|
9
|
+
* returns true only when the last assistant message *ends* with a tool
|
|
10
|
+
* call in a ready-to-round-trip state. Any trailing non-tool part (text,
|
|
11
|
+
* file, source-*, reasoning, data-*, new step-start) means the assistant
|
|
12
|
+
* has already answered and we leave the next turn to the user. The
|
|
13
|
+
* approval flow relies on this firing for `approval-responded`.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
const userMessage = (text: string): UIMessage => ({
|
|
17
|
+
id: `user-${text}`,
|
|
18
|
+
role: "user",
|
|
19
|
+
parts: [{ type: "text", text }],
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
const assistantToolMessage = (
|
|
23
|
+
parts: UIMessage["parts"],
|
|
24
|
+
id = "assistant-1",
|
|
25
|
+
): UIMessage => ({
|
|
26
|
+
id,
|
|
27
|
+
role: "assistant",
|
|
28
|
+
parts,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
describe("hasPendingToolCalls", () => {
|
|
32
|
+
it("returns false when there are no messages", () => {
|
|
33
|
+
expect(hasPendingToolCalls([])).toBe(false);
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
it("returns false when the last message is a user message", () => {
|
|
37
|
+
expect(hasPendingToolCalls([userMessage("hi")])).toBe(false);
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
it("returns false when the last assistant message has no tool parts", () => {
|
|
41
|
+
expect(
|
|
42
|
+
hasPendingToolCalls([
|
|
43
|
+
userMessage("hi"),
|
|
44
|
+
assistantToolMessage([{ type: "text", text: "hello!" }]),
|
|
45
|
+
]),
|
|
46
|
+
).toBe(false);
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
it("returns false while a tool is still streaming or awaiting approval", () => {
|
|
50
|
+
expect(
|
|
51
|
+
hasPendingToolCalls([
|
|
52
|
+
userMessage("delete it"),
|
|
53
|
+
assistantToolMessage([
|
|
54
|
+
{
|
|
55
|
+
type: "tool-delete_file",
|
|
56
|
+
toolCallId: "call-1",
|
|
57
|
+
state: "approval-requested",
|
|
58
|
+
input: { path: "secrets.env" },
|
|
59
|
+
approval: { id: "approval-1" },
|
|
60
|
+
} as unknown as UIMessage["parts"][number],
|
|
61
|
+
]),
|
|
62
|
+
]),
|
|
63
|
+
).toBe(false);
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
it("returns true when the user has responded to an approval request", () => {
|
|
67
|
+
// The chat must auto-resume as soon as Approve/Deny is clicked.
|
|
68
|
+
expect(
|
|
69
|
+
hasPendingToolCalls([
|
|
70
|
+
userMessage("delete it"),
|
|
71
|
+
assistantToolMessage([
|
|
72
|
+
{
|
|
73
|
+
type: "tool-delete_file",
|
|
74
|
+
toolCallId: "call-1",
|
|
75
|
+
state: "approval-responded",
|
|
76
|
+
input: { path: "secrets.env" },
|
|
77
|
+
approval: { id: "approval-1", approved: true },
|
|
78
|
+
} as unknown as UIMessage["parts"][number],
|
|
79
|
+
]),
|
|
80
|
+
]),
|
|
81
|
+
).toBe(true);
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
it("returns true when a tool reached a terminal output state", () => {
|
|
85
|
+
expect(
|
|
86
|
+
hasPendingToolCalls([
|
|
87
|
+
userMessage("run it"),
|
|
88
|
+
assistantToolMessage([
|
|
89
|
+
{
|
|
90
|
+
type: "tool-run_query",
|
|
91
|
+
toolCallId: "call-1",
|
|
92
|
+
state: "output-available",
|
|
93
|
+
input: { sql: "select 1" },
|
|
94
|
+
output: 1,
|
|
95
|
+
} as unknown as UIMessage["parts"][number],
|
|
96
|
+
]),
|
|
97
|
+
]),
|
|
98
|
+
).toBe(true);
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
it("returns false when only some tool calls are ready", () => {
|
|
102
|
+
expect(
|
|
103
|
+
hasPendingToolCalls([
|
|
104
|
+
userMessage("two things"),
|
|
105
|
+
assistantToolMessage([
|
|
106
|
+
{
|
|
107
|
+
type: "tool-first",
|
|
108
|
+
toolCallId: "call-1",
|
|
109
|
+
state: "output-available",
|
|
110
|
+
input: {},
|
|
111
|
+
output: 1,
|
|
112
|
+
} as unknown as UIMessage["parts"][number],
|
|
113
|
+
{
|
|
114
|
+
type: "tool-second",
|
|
115
|
+
toolCallId: "call-2",
|
|
116
|
+
state: "input-available",
|
|
117
|
+
input: {},
|
|
118
|
+
} as unknown as UIMessage["parts"][number],
|
|
119
|
+
]),
|
|
120
|
+
]),
|
|
121
|
+
).toBe(false);
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
it("returns false once the assistant has appended text after the tool result", () => {
|
|
125
|
+
expect(
|
|
126
|
+
hasPendingToolCalls([
|
|
127
|
+
userMessage("run it"),
|
|
128
|
+
assistantToolMessage([
|
|
129
|
+
{
|
|
130
|
+
type: "tool-run_query",
|
|
131
|
+
toolCallId: "call-1",
|
|
132
|
+
state: "output-available",
|
|
133
|
+
input: {},
|
|
134
|
+
output: 1,
|
|
135
|
+
} as unknown as UIMessage["parts"][number],
|
|
136
|
+
{ type: "text", text: "The query returned 1." },
|
|
137
|
+
]),
|
|
138
|
+
]),
|
|
139
|
+
).toBe(false);
|
|
140
|
+
});
|
|
141
|
+
|
|
142
|
+
it("returns false when a file part trails the completed tool call", () => {
|
|
143
|
+
// Regression: tool → text → file used to loop because only trailing
|
|
144
|
+
// text counted as "the assistant has answered".
|
|
145
|
+
expect(
|
|
146
|
+
hasPendingToolCalls([
|
|
147
|
+
userMessage("show me Starry Night"),
|
|
148
|
+
assistantToolMessage([
|
|
149
|
+
{ type: "step-start" },
|
|
150
|
+
{
|
|
151
|
+
type: "tool-search_artwork",
|
|
152
|
+
toolCallId: "call-1",
|
|
153
|
+
state: "output-available",
|
|
154
|
+
input: { artist: "Van Gogh" },
|
|
155
|
+
output: { title: "The Starry Night" },
|
|
156
|
+
} as unknown as UIMessage["parts"][number],
|
|
157
|
+
{ type: "text", text: "Here is the painting:" },
|
|
158
|
+
{
|
|
159
|
+
type: "file",
|
|
160
|
+
mediaType: "image/jpeg",
|
|
161
|
+
url: "https://example.com/starry-night.jpg",
|
|
162
|
+
} as unknown as UIMessage["parts"][number],
|
|
163
|
+
]),
|
|
164
|
+
]),
|
|
165
|
+
).toBe(false);
|
|
166
|
+
});
|
|
167
|
+
|
|
168
|
+
it("returns false when a source-url part trails the completed tool call", () => {
|
|
169
|
+
expect(
|
|
170
|
+
hasPendingToolCalls([
|
|
171
|
+
userMessage("cite your sources"),
|
|
172
|
+
assistantToolMessage([
|
|
173
|
+
{
|
|
174
|
+
type: "tool-web_search",
|
|
175
|
+
toolCallId: "call-1",
|
|
176
|
+
state: "output-available",
|
|
177
|
+
input: { q: "marimo notebook" },
|
|
178
|
+
output: "found",
|
|
179
|
+
} as unknown as UIMessage["parts"][number],
|
|
180
|
+
{ type: "text", text: "marimo is a reactive notebook." },
|
|
181
|
+
{
|
|
182
|
+
type: "source-url",
|
|
183
|
+
sourceId: "src-1",
|
|
184
|
+
url: "https://marimo.io",
|
|
185
|
+
} as unknown as UIMessage["parts"][number],
|
|
186
|
+
]),
|
|
187
|
+
]),
|
|
188
|
+
).toBe(false);
|
|
189
|
+
});
|
|
190
|
+
|
|
191
|
+
it("returns false when a reasoning part trails the completed tool call", () => {
|
|
192
|
+
expect(
|
|
193
|
+
hasPendingToolCalls([
|
|
194
|
+
userMessage("explain"),
|
|
195
|
+
assistantToolMessage([
|
|
196
|
+
{
|
|
197
|
+
type: "tool-lookup",
|
|
198
|
+
toolCallId: "call-1",
|
|
199
|
+
state: "output-available",
|
|
200
|
+
input: {},
|
|
201
|
+
output: 1,
|
|
202
|
+
} as unknown as UIMessage["parts"][number],
|
|
203
|
+
{
|
|
204
|
+
type: "reasoning",
|
|
205
|
+
text: "Now I'll summarize.",
|
|
206
|
+
} as unknown as UIMessage["parts"][number],
|
|
207
|
+
]),
|
|
208
|
+
]),
|
|
209
|
+
).toBe(false);
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
it("returns false when a new step-start follows the completed tool call", () => {
|
|
213
|
+
expect(
|
|
214
|
+
hasPendingToolCalls([
|
|
215
|
+
userMessage("multi-step"),
|
|
216
|
+
assistantToolMessage([
|
|
217
|
+
{ type: "step-start" },
|
|
218
|
+
{
|
|
219
|
+
type: "tool-run_query",
|
|
220
|
+
toolCallId: "call-1",
|
|
221
|
+
state: "output-available",
|
|
222
|
+
input: {},
|
|
223
|
+
output: 1,
|
|
224
|
+
} as unknown as UIMessage["parts"][number],
|
|
225
|
+
{ type: "step-start" },
|
|
226
|
+
]),
|
|
227
|
+
]),
|
|
228
|
+
).toBe(false);
|
|
229
|
+
});
|
|
230
|
+
|
|
231
|
+
it("ignores providerExecuted tools", () => {
|
|
232
|
+
// Provider-side tools are resolved by the model, not the runtime, so
|
|
233
|
+
// they must not drive an auto-resume.
|
|
234
|
+
expect(
|
|
235
|
+
hasPendingToolCalls([
|
|
236
|
+
userMessage("hi"),
|
|
237
|
+
assistantToolMessage([
|
|
238
|
+
{
|
|
239
|
+
type: "tool-web_search",
|
|
240
|
+
toolCallId: "call-1",
|
|
241
|
+
state: "output-available",
|
|
242
|
+
input: {},
|
|
243
|
+
output: 1,
|
|
244
|
+
providerExecuted: true,
|
|
245
|
+
} as unknown as UIMessage["parts"][number],
|
|
246
|
+
]),
|
|
247
|
+
]),
|
|
248
|
+
).toBe(false);
|
|
249
|
+
});
|
|
250
|
+
|
|
251
|
+
it("returns true for dynamic-tool parts in a terminal state", () => {
|
|
252
|
+
// `dynamic-tool` parts must drive auto-resume alongside `tool-*`.
|
|
253
|
+
expect(
|
|
254
|
+
hasPendingToolCalls([
|
|
255
|
+
userMessage("run it"),
|
|
256
|
+
assistantToolMessage([
|
|
257
|
+
{
|
|
258
|
+
type: "dynamic-tool",
|
|
259
|
+
toolName: "run_query",
|
|
260
|
+
toolCallId: "call-1",
|
|
261
|
+
state: "output-available",
|
|
262
|
+
input: {},
|
|
263
|
+
output: 1,
|
|
264
|
+
} as unknown as UIMessage["parts"][number],
|
|
265
|
+
]),
|
|
266
|
+
]),
|
|
267
|
+
).toBe(true);
|
|
268
|
+
});
|
|
269
|
+
});
|
|
@@ -15,11 +15,13 @@ import { useAtom, useAtomValue, useSetAtom, useStore } from "jotai";
|
|
|
15
15
|
import {
|
|
16
16
|
BotMessageSquareIcon,
|
|
17
17
|
HatGlasses,
|
|
18
|
+
ArrowRightIcon,
|
|
18
19
|
Loader2,
|
|
19
20
|
type LucideIcon,
|
|
20
21
|
MessageCircleIcon,
|
|
21
22
|
NotebookText,
|
|
22
23
|
PlusIcon,
|
|
24
|
+
SparklesIcon,
|
|
23
25
|
SettingsIcon,
|
|
24
26
|
} from "lucide-react";
|
|
25
27
|
import { memo, useEffect, useRef, useState } from "react";
|
|
@@ -53,11 +55,13 @@ import { aiAtom, aiEnabledAtom } from "@/core/config/config";
|
|
|
53
55
|
import { DEFAULT_AI_MODEL } from "@/core/config/config-schema";
|
|
54
56
|
import { useRequestClient } from "@/core/network/requests";
|
|
55
57
|
import { useRuntimeManager } from "@/core/runtime/config";
|
|
58
|
+
import { isWasm } from "@/core/wasm/utils";
|
|
56
59
|
import { ErrorBanner } from "@/plugins/impl/common/error-banner";
|
|
57
60
|
import { cn } from "@/utils/cn";
|
|
58
61
|
import { Logger } from "@/utils/Logger";
|
|
59
62
|
import { AIModelDropdown } from "../ai/ai-model-dropdown";
|
|
60
63
|
import { useOpenSettingsToTab } from "../app-config/state";
|
|
64
|
+
import { PairWithAgentModal } from "../editor/actions/pair-with-agent-modal";
|
|
61
65
|
import { PromptInput } from "../editor/ai/add-cell-with-ai";
|
|
62
66
|
import {
|
|
63
67
|
addContextCompletion,
|
|
@@ -65,6 +69,7 @@ import {
|
|
|
65
69
|
} from "../editor/ai/completion-utils";
|
|
66
70
|
import { PanelEmptyState } from "../editor/chrome/panels/empty-state";
|
|
67
71
|
import { CopyClipboardIcon } from "../icons/copy-icon";
|
|
72
|
+
import { useImperativeModal } from "../modal/ImperativeModal";
|
|
68
73
|
import { MCPStatusIndicator } from "../mcp/mcp-status-indicator";
|
|
69
74
|
import { Tooltip, TooltipProvider } from "../ui/tooltip";
|
|
70
75
|
import {
|
|
@@ -416,6 +421,26 @@ const ChatInput: React.FC<ChatInputProps> = memo(
|
|
|
416
421
|
|
|
417
422
|
ChatInput.displayName = "ChatInput";
|
|
418
423
|
|
|
424
|
+
const PairWithAgentCallout: React.FC<{
|
|
425
|
+
onPairWithAgent: () => void;
|
|
426
|
+
}> = ({ onPairWithAgent }) => {
|
|
427
|
+
if (isWasm()) {
|
|
428
|
+
return null;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
return (
|
|
432
|
+
<Button
|
|
433
|
+
variant="text"
|
|
434
|
+
className="gap-1.5 text-sm text-link hover:underline"
|
|
435
|
+
onClick={onPairWithAgent}
|
|
436
|
+
>
|
|
437
|
+
<SparklesIcon className="h-3.5 w-3.5 shrink-0" />
|
|
438
|
+
<span>Work on this notebook with your own agent</span>
|
|
439
|
+
<ArrowRightIcon className="h-3 w-3 shrink-0" />
|
|
440
|
+
</Button>
|
|
441
|
+
);
|
|
442
|
+
};
|
|
443
|
+
|
|
419
444
|
const ChatPanel = () => {
|
|
420
445
|
const aiConfigured = useAtomValue(aiEnabledAtom);
|
|
421
446
|
const { handleClick } = useOpenSettingsToTab();
|
|
@@ -455,6 +480,7 @@ const ChatPanelBody = () => {
|
|
|
455
480
|
const messagesEndRef = useRef<HTMLDivElement>(null);
|
|
456
481
|
const runtimeManager = useRuntimeManager();
|
|
457
482
|
const { invokeAiTool, sendRun } = useRequestClient();
|
|
483
|
+
const { openModal, closeModal } = useImperativeModal();
|
|
458
484
|
|
|
459
485
|
const activeChatId = activeChat?.id;
|
|
460
486
|
const store = useStore();
|
|
@@ -614,6 +640,10 @@ const ChatPanelBody = () => {
|
|
|
614
640
|
clearFiles();
|
|
615
641
|
});
|
|
616
642
|
|
|
643
|
+
const handlePairWithAgent = useEvent(() => {
|
|
644
|
+
openModal(<PairWithAgentModal onClose={closeModal} />);
|
|
645
|
+
});
|
|
646
|
+
|
|
617
647
|
const handleMessageEdit = useEvent((index: number, newValue: string) => {
|
|
618
648
|
const editedMessage = messages[index];
|
|
619
649
|
const fileParts = editedMessage.parts?.filter((p) => p.type === "file");
|
|
@@ -724,9 +754,12 @@ const ChatPanelBody = () => {
|
|
|
724
754
|
ref={scrollContainerRef}
|
|
725
755
|
>
|
|
726
756
|
{isNewThread && (
|
|
727
|
-
<div className="
|
|
728
|
-
|
|
729
|
-
|
|
757
|
+
<div className="flex flex-col gap-2">
|
|
758
|
+
<div className="rounded-md border bg-background">
|
|
759
|
+
{filesPills}
|
|
760
|
+
{chatInput}
|
|
761
|
+
</div>
|
|
762
|
+
<PairWithAgentCallout onPairWithAgent={handlePairWithAgent} />
|
|
730
763
|
</div>
|
|
731
764
|
)}
|
|
732
765
|
|
|
@@ -5,7 +5,8 @@ import {
|
|
|
5
5
|
type ChatAddToolOutputFunction,
|
|
6
6
|
type FileUIPart,
|
|
7
7
|
isToolUIPart,
|
|
8
|
-
|
|
8
|
+
lastAssistantMessageIsCompleteWithApprovalResponses,
|
|
9
|
+
lastAssistantMessageIsCompleteWithToolCalls,
|
|
9
10
|
type UIMessage,
|
|
10
11
|
} from "ai";
|
|
11
12
|
import { useState } from "react";
|
|
@@ -17,7 +18,6 @@ import type {
|
|
|
17
18
|
InvokeAiToolRequest,
|
|
18
19
|
InvokeAiToolResponse,
|
|
19
20
|
} from "@/core/network/types";
|
|
20
|
-
import { logNever } from "@/utils/assertNever";
|
|
21
21
|
import { blobToString } from "@/utils/fileToBase64";
|
|
22
22
|
import { Logger } from "@/utils/Logger";
|
|
23
23
|
import { getAICompletionBodyWithAttachments } from "../editor/ai/completion-utils";
|
|
@@ -169,69 +169,25 @@ export async function handleToolCall({
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
switch (state) {
|
|
178
|
-
case "output-available":
|
|
179
|
-
case "output-error":
|
|
180
|
-
case "output-denied":
|
|
181
|
-
case "approval-responded":
|
|
182
|
-
return true;
|
|
183
|
-
case "input-streaming":
|
|
184
|
-
case "input-available":
|
|
185
|
-
case "approval-requested":
|
|
186
|
-
return false;
|
|
187
|
-
default:
|
|
188
|
-
logNever(state);
|
|
189
|
-
return false;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* Checks if we should send a message automatically based on the messages.
|
|
195
|
-
* We auto-send when every tool call on the last assistant message has either
|
|
196
|
-
* finished (output-available/error/denied) or has just received a user
|
|
197
|
-
* approval response, and the assistant hasn't replied yet.
|
|
172
|
+
* Auto-send the next turn when the last assistant message ends with a
|
|
173
|
+
* tool call ready to round-trip. Any non-tool trailing part (text, file,
|
|
174
|
+
* source-*, reasoning, data-*, new step-start) means the assistant has
|
|
175
|
+
* already answered, so we leave the next turn to the user. State checks
|
|
176
|
+
* are delegated to the SDK to stay in sync with upstream.
|
|
198
177
|
*/
|
|
199
178
|
export function hasPendingToolCalls(messages: UIMessage[]): boolean {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
const lastMessage = messages[messages.length - 1];
|
|
205
|
-
const parts = lastMessage.parts;
|
|
206
|
-
|
|
207
|
-
if (parts.length === 0) {
|
|
208
|
-
return false;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
// Only auto-send if the last message is an assistant message
|
|
212
|
-
// Because assistant messages are the ones that can have tool calls
|
|
213
|
-
if (lastMessage.role !== "assistant") {
|
|
179
|
+
const lastMessage = messages.at(-1);
|
|
180
|
+
if (!lastMessage || lastMessage.role !== "assistant") {
|
|
214
181
|
return false;
|
|
215
182
|
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
if (toolParts.length === 0) {
|
|
183
|
+
const lastPart = lastMessage.parts.at(-1);
|
|
184
|
+
if (!lastPart || !isToolUIPart(lastPart)) {
|
|
220
185
|
return false;
|
|
221
186
|
}
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
187
|
+
return (
|
|
188
|
+
lastAssistantMessageIsCompleteWithToolCalls({ messages }) ||
|
|
189
|
+
lastAssistantMessageIsCompleteWithApprovalResponses({ messages })
|
|
225
190
|
);
|
|
226
|
-
|
|
227
|
-
// Check if the last part has any text content
|
|
228
|
-
const lastPart = parts[parts.length - 1];
|
|
229
|
-
const hasTextContent =
|
|
230
|
-
lastPart.type === "text" && lastPart.text?.trim().length > 0;
|
|
231
|
-
|
|
232
|
-
Logger.debug("All tool calls ready to send: %s", allToolCallsReady);
|
|
233
|
-
|
|
234
|
-
return allToolCallsReady && !hasTextContent;
|
|
235
191
|
}
|
|
236
192
|
|
|
237
193
|
export function useFileState() {
|
|
@@ -7,8 +7,13 @@ import type { GetRowIds } from "@/plugins/impl/DataTablePlugin";
|
|
|
7
7
|
import { cn } from "@/utils/cn";
|
|
8
8
|
import { Events } from "@/utils/events";
|
|
9
9
|
import { prettyNumber } from "@/utils/numbers";
|
|
10
|
+
import {
|
|
11
|
+
PANEL_TYPES,
|
|
12
|
+
type PanelType,
|
|
13
|
+
} from "../editor/chrome/panels/context-aware-panel/context-aware-panel";
|
|
10
14
|
import { Button } from "../ui/button";
|
|
11
15
|
import { toast } from "../ui/use-toast";
|
|
16
|
+
import { getColumnCountForDisplay } from "./hooks/use-column-visibility";
|
|
12
17
|
import { DataTablePagination, prettifyRowColumnCount } from "./pagination";
|
|
13
18
|
import { CellSelectionStats } from "./range-focus/cell-selection-stats";
|
|
14
19
|
import type { DataTableSelection } from "./types";
|
|
@@ -22,6 +27,7 @@ interface TableBottomBarProps<TData> {
|
|
|
22
27
|
getRowIds?: GetRowIds;
|
|
23
28
|
showPageSizeSelector?: boolean;
|
|
24
29
|
tableLoading?: boolean;
|
|
30
|
+
togglePanel?: (panelType: PanelType) => void;
|
|
25
31
|
part?: string;
|
|
26
32
|
className?: string;
|
|
27
33
|
}
|
|
@@ -35,6 +41,7 @@ export const TableBottomBar = <TData,>({
|
|
|
35
41
|
getRowIds,
|
|
36
42
|
showPageSizeSelector,
|
|
37
43
|
tableLoading,
|
|
44
|
+
togglePanel,
|
|
38
45
|
part,
|
|
39
46
|
className,
|
|
40
47
|
}: TableBottomBarProps<TData>) => {
|
|
@@ -140,13 +147,27 @@ export const TableBottomBar = <TData,>({
|
|
|
140
147
|
);
|
|
141
148
|
}
|
|
142
149
|
|
|
150
|
+
const { totalColumns: effectiveTotalColumns, hiddenColumns } =
|
|
151
|
+
getColumnCountForDisplay(table, totalColumns);
|
|
152
|
+
const { rowsAndColumns, hiddenSuffix } = prettifyRowColumnCount({
|
|
153
|
+
numRows: table.getRowCount(),
|
|
154
|
+
totalColumns: effectiveTotalColumns,
|
|
155
|
+
hiddenColumns,
|
|
156
|
+
locale,
|
|
157
|
+
});
|
|
158
|
+
|
|
143
159
|
return (
|
|
144
|
-
<span>
|
|
145
|
-
{
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
160
|
+
<span className="flex items-center gap-1">
|
|
161
|
+
<span>{rowsAndColumns}</span>
|
|
162
|
+
{hiddenSuffix && (
|
|
163
|
+
<button
|
|
164
|
+
type="button"
|
|
165
|
+
className="text-xs underline-offset-2 hover:underline cursor-pointer"
|
|
166
|
+
onClick={() => togglePanel?.(PANEL_TYPES.COLUMN_EXPLORER)}
|
|
167
|
+
>
|
|
168
|
+
{hiddenSuffix}
|
|
169
|
+
</button>
|
|
170
|
+
)}
|
|
150
171
|
</span>
|
|
151
172
|
);
|
|
152
173
|
};
|
|
@@ -35,6 +35,7 @@ interface TableTopBarProps extends Partial<ExportActionProps> {
|
|
|
35
35
|
togglePanel?: (panelType: PanelType) => void;
|
|
36
36
|
isAnyPanelOpen?: boolean;
|
|
37
37
|
sizeBytes?: number | null;
|
|
38
|
+
sizeBytesIsLoading?: boolean;
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
export const TableTopBar: React.FC<TableTopBarProps> = ({
|
|
@@ -50,6 +51,7 @@ export const TableTopBar: React.FC<TableTopBarProps> = ({
|
|
|
50
51
|
isAnyPanelOpen,
|
|
51
52
|
downloadAs,
|
|
52
53
|
sizeBytes,
|
|
54
|
+
sizeBytesIsLoading,
|
|
53
55
|
}) => {
|
|
54
56
|
const [internalValue, setInternalValue] = useState(searchQuery || "");
|
|
55
57
|
const debouncedSearch = useDebounce(internalValue, 500);
|
|
@@ -133,7 +135,11 @@ export const TableTopBar: React.FC<TableTopBarProps> = ({
|
|
|
133
135
|
</Button>
|
|
134
136
|
)}
|
|
135
137
|
{downloadAs && (
|
|
136
|
-
<ExportMenu
|
|
138
|
+
<ExportMenu
|
|
139
|
+
downloadAs={downloadAs}
|
|
140
|
+
sizeBytes={sizeBytes}
|
|
141
|
+
sizeBytesIsLoading={sizeBytesIsLoading}
|
|
142
|
+
/>
|
|
137
143
|
)}
|
|
138
144
|
</div>
|
|
139
145
|
</div>
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
|
+
"use no memo";
|
|
3
|
+
|
|
4
|
+
import { getCoreRowModel, useReactTable } from "@tanstack/react-table";
|
|
5
|
+
import { render, screen } from "@testing-library/react";
|
|
6
|
+
import { describe, expect, it, vi } from "vitest";
|
|
7
|
+
import { TooltipProvider } from "@/components/ui/tooltip";
|
|
8
|
+
import { CellSelectionProvider } from "../range-focus/provider";
|
|
9
|
+
import { TableBottomBar } from "../TableBottomBar";
|
|
10
|
+
|
|
11
|
+
function renderWithTable(opts: {
|
|
12
|
+
totalColumns: number;
|
|
13
|
+
hiddenColumns?: string[];
|
|
14
|
+
togglePanel?: (panelType: string) => void;
|
|
15
|
+
}) {
|
|
16
|
+
const Wrapper = () => {
|
|
17
|
+
const table = useReactTable({
|
|
18
|
+
data: [] as Array<Record<string, unknown>>,
|
|
19
|
+
columns: Array.from({ length: opts.totalColumns }, (_, i) => ({
|
|
20
|
+
id: `col${i}`,
|
|
21
|
+
enableHiding: true,
|
|
22
|
+
})),
|
|
23
|
+
getCoreRowModel: getCoreRowModel(),
|
|
24
|
+
locale: "en-US",
|
|
25
|
+
state: {
|
|
26
|
+
columnVisibility: Object.fromEntries(
|
|
27
|
+
(opts.hiddenColumns ?? []).map((c) => [c, false]),
|
|
28
|
+
),
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
return (
|
|
33
|
+
<TableBottomBar
|
|
34
|
+
pagination={false}
|
|
35
|
+
totalColumns={opts.totalColumns}
|
|
36
|
+
table={table}
|
|
37
|
+
togglePanel={opts.togglePanel}
|
|
38
|
+
/>
|
|
39
|
+
);
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
return render(
|
|
43
|
+
<TooltipProvider>
|
|
44
|
+
<CellSelectionProvider>
|
|
45
|
+
<Wrapper />
|
|
46
|
+
</CellSelectionProvider>
|
|
47
|
+
</TooltipProvider>,
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
describe("TableBottomBar — hidden column count", () => {
|
|
52
|
+
it("does not render '(n hidden)' when no columns are hidden", () => {
|
|
53
|
+
renderWithTable({ totalColumns: 3 });
|
|
54
|
+
expect(screen.queryByText(/hidden/)).toBeNull();
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
it("renders 'X visible (n hidden)' when columns are hidden", () => {
|
|
58
|
+
renderWithTable({ totalColumns: 3, hiddenColumns: ["col1"] });
|
|
59
|
+
expect(screen.getByText(/2 visible/)).toBeInTheDocument();
|
|
60
|
+
expect(screen.getByText(/\(1 hidden\)/)).toBeInTheDocument();
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
it("invokes togglePanel('column-explorer') when '(n hidden)' is clicked", () => {
|
|
64
|
+
const togglePanel = vi.fn();
|
|
65
|
+
renderWithTable({
|
|
66
|
+
totalColumns: 3,
|
|
67
|
+
hiddenColumns: ["col1"],
|
|
68
|
+
togglePanel,
|
|
69
|
+
});
|
|
70
|
+
screen.getByText(/\(1 hidden\)/).click();
|
|
71
|
+
expect(togglePanel).toHaveBeenCalledWith("column-explorer");
|
|
72
|
+
});
|
|
73
|
+
});
|