@marimo-team/islands 0.21.2-dev92 → 0.21.2-dev94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Combination-B_FmEi05.js → Combination-B--d1_LV.js} +8 -8
- package/dist/{ConnectedDataExplorerComponent-CLLlotD4.js → ConnectedDataExplorerComponent-CTfvzyMi.js} +74 -75
- package/dist/_basePickBy-DEctY8Qy.js +117 -0
- package/dist/_baseSet-Bk810b_4.js +20 -0
- package/dist/_baseUniq-B1NzzhU7.js +557 -0
- package/dist/{any-language-editor-CSvBdMtG.js → any-language-editor-Bj-3432h.js} +20 -20
- package/dist/apl-Y7yFAg6_.js +4 -0
- package/dist/{arc-CHF8PiiF.js → arc-CEWBr4jc.js} +2 -2
- package/dist/architecture-7HQA4BMR-SvLOcNCN.js +6 -0
- package/dist/{architectureDiagram-VXUJARFQ-CIl7H_7A.js → architectureDiagram-VXUJARFQ-BKlUkb-q.js} +19 -19
- package/dist/arrays--2cd0hte.js +59 -0
- package/dist/asciiarmor-Bl8b2p0w.js +4 -0
- package/dist/asn1-BF6cywqm.js +4 -0
- package/dist/{blockDiagram-VD42YOAC-Bxg4bo7H.js → blockDiagram-VD42YOAC-DvgBlX1D.js} +14 -14
- package/dist/brainfuck-BuqydWe3.js +4 -0
- package/dist/{button-B1ZgJ7Cc.js → button-qsiIHncQ.js} +15 -11
- package/dist/{c4Diagram-YG6GDRKO-k4TEDUb8.js → c4Diagram-YG6GDRKO-BN-xpNUK.js} +6 -6
- package/dist/{capabilities-DAGZLwa6.js → capabilities-BC3mzKnw.js} +2 -2
- package/dist/{channel-CCR8wXOx.js → channel-Dz_ka_DS.js} +1 -1
- package/dist/{chat-ui-CN_DUtLR.js → chat-ui-BvK3aDSR.js} +2803 -2804
- package/dist/{check-B2OoWw2h.js → check-D_YwHEgY.js} +1 -1
- package/dist/{chunk-4BX2VUAB-BwfrWBqN.js → chunk-4BX2VUAB-BChPAwlt.js} +1 -1
- package/dist/{chunk-4F5CHEZ2-BigWQaTs.js → chunk-4F5CHEZ2-9eJ5uB6a.js} +1 -1
- package/dist/{chunk-55IACEB6-D8THf2mi.js → chunk-55IACEB6-wWyiO7Qo.js} +1 -1
- package/dist/{chunk-5FQGJX7Z-Cz2QbNIw.js → chunk-5FQGJX7Z-DHiDX6JT.js} +3 -3
- package/dist/{chunk-ABZYJK2D-NPoevJcI.js → chunk-ABZYJK2D-DYZpeLRO.js} +3 -3
- package/dist/{chunk-ATLVNIR6-DAhC1FCG.js → chunk-ATLVNIR6-9VSIMo3q.js} +2 -2
- package/dist/{chunk-B2363JML-DOYwB798.js → chunk-B2363JML-CkfqLBeZ.js} +1 -1
- package/dist/{chunk-B4BG7PRW-BDmytgmO.js → chunk-B4BG7PRW-CyIVj-RO.js} +7 -7
- package/dist/{chunk-CVBHYZKI-B6xhgaBd.js → chunk-CVBHYZKI-DqdOZevv.js} +1 -1
- package/dist/{chunk-DI55MBZ5-C6iNEV8U.js → chunk-DI55MBZ5-kmoX4_PJ.js} +6 -6
- package/dist/{chunk-EXTU4WIE-BtA6WdD4.js → chunk-EXTU4WIE-anbpETeD.js} +2 -2
- package/dist/{chunk-FMBD7UC4-CHdus51S.js → chunk-FMBD7UC4-WPL5C7Yr.js} +1 -1
- package/dist/{chunk-FRFDVMJY-Bo7Hv3UF.js → chunk-FRFDVMJY-DiBbw2aO.js} +1 -1
- package/dist/{chunk-HN2XXSSU-2Vfbq-kU.js → chunk-HN2XXSSU-GC9oeSst.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-BeXqAsc9.js → chunk-JA3XYJ7Z-DT9thFja.js} +3 -3
- package/dist/{chunk-JZLCHNYA-ibE7xTEx.js → chunk-JZLCHNYA-CoUG-3_5.js} +6 -6
- package/dist/{chunk-MI3HLSF2-Do0-KRc0.js → chunk-MI3HLSF2-CAUClZTk.js} +1 -1
- package/dist/{chunk-N4CR4FBY-CHAcubAf.js → chunk-N4CR4FBY-CgZCueW4.js} +7 -7
- package/dist/{chunk-PL6DKKU2-D3wYz-iW.js → chunk-PL6DKKU2-B93gSUY5.js} +1 -1
- package/dist/{chunk-QN33PNHL-CDWJY_kT.js → chunk-QN33PNHL-T-uF7h40.js} +2 -2
- package/dist/{chunk-QXUST7PY-CV37xRZd.js → chunk-QXUST7PY-D1a8s9iP.js} +10 -10
- package/dist/{chunk-QZHKN3VN-B_Mdb8GC.js → chunk-QZHKN3VN-cTJMhkeY.js} +1 -1
- package/dist/{chunk-S3R3BYOJ-CGlk8NH-.js → chunk-S3R3BYOJ-KAv7zltL.js} +6 -6
- package/dist/{chunk-SJTYNZTY-Bauwp2-p.js → chunk-SJTYNZTY-CxP2rIlm.js} +1 -1
- package/dist/{chunk-TCCFYFTB-C5_FjmXA.js → chunk-TCCFYFTB-BrhaBdR8.js} +17 -14
- package/dist/{chunk-TQ3KTPDO-TjHW8xfv.js → chunk-TQ3KTPDO-C0j_j938.js} +1 -1
- package/dist/{chunk-TZMSLE5B-DfY6C3FB.js → chunk-TZMSLE5B-BY2BhygM.js} +3 -3
- package/dist/{chunk-UMXZTB3W-DdRiIIOF.js → chunk-UMXZTB3W-BDwe1tzK.js} +1 -1
- package/dist/classDiagram-2ON5EDUG-LT-Hu_dE.js +30 -0
- package/dist/classDiagram-v2-WZHVMYZB-G4qrOqlY.js +30 -0
- package/dist/{clike-7lgyEYRk.js → clike-D8Yzpo0X.js} +1 -1
- package/dist/clojure-CAHAWK5H.js +4 -0
- package/dist/{clone-BM9_Wkaf.js → clone-DgKKB0qR.js} +1 -1
- package/dist/cmake-BogDc4GF.js +4 -0
- package/dist/cobol-DRnpeU4u.js +4 -0
- package/dist/{code-block-37QAKDTI-DW3JC11U.js → code-block-37QAKDTI-CdeP6GC3.js} +1 -1
- package/dist/coffeescript-9MgX7RN8.js +4 -0
- package/dist/commonlisp-CVz2KONN.js +4 -0
- package/dist/{constants-LmeAawHa.js → constants-CXiS0vdr.js} +1 -1
- package/dist/{copy-B7XqFjF_.js → copy-CBo9JcJW.js} +2 -2
- package/dist/{cose-bilkent-S5V4N54A-DXHZkJKX.js → cose-bilkent-S5V4N54A-CFYo67PX.js} +2 -2
- package/dist/crystal-td8mwLG5.js +4 -0
- package/dist/css-BK451dBn.js +4 -0
- package/dist/cypher-DuNPR6Ie.js +4 -0
- package/dist/d-DL6oP_-2.js +4 -0
- package/dist/{dagre-6UL2VRFP-B8UW0fXE.js → dagre-6UL2VRFP-CblBywCi.js} +33 -33
- package/dist/{dagre-B3-rUlCT.js → dagre-lLfkMavw.js} +36 -15
- package/dist/{data-grid-overlay-editor-CpL5Zajy.js → data-grid-overlay-editor-nQBPvGNe.js} +2 -2
- package/dist/{diagram-PSM6KHXK-DGD-j1bM.js → diagram-PSM6KHXK-CEWNAeex.js} +22 -22
- package/dist/{diagram-QEK2KX5R-DgsT6ZW4.js → diagram-QEK2KX5R-DvNPI6r6.js} +17 -17
- package/dist/{diagram-S2PKOQOG-CDh5Ij8z.js → diagram-S2PKOQOG-Bd8sWp1V.js} +17 -17
- package/dist/diff-D9CplOBj.js +4 -0
- package/dist/{dist-CpNdP46s.js → dist-5XnuIjzQ.js} +2 -2
- package/dist/{dist-DKr1M-ru.js → dist-B4HRhSlD.js} +1 -1
- package/dist/{dist-B6ZvKwIz.js → dist-B5pakFbT.js} +1 -1
- package/dist/{dist-DNSJBJI7.js → dist-B7Wxocl4.js} +2 -2
- package/dist/{dist-CsToCMcA.js → dist-B7pzGu3v.js} +2 -2
- package/dist/{dist-CwEBZkrQ.js → dist-BKKbDTix.js} +2 -2
- package/dist/dist-BOx8CJbo.js +5 -0
- package/dist/dist-BYoWtcAc.js +5 -0
- package/dist/dist-BaGdTXK1.js +5 -0
- package/dist/dist-BhGA2ia0.js +8 -0
- package/dist/{dist-Bg1YGq2b.js → dist-BmqJ8_Hr.js} +1 -1
- package/dist/{dist-B771Ewvn.js → dist-BnCNDnA7.js} +3 -3
- package/dist/{dist-mpvRA2Bc.js → dist-BnIjtwRq.js} +3 -3
- package/dist/dist-BoHuwe5C.js +5 -0
- package/dist/{dist-DlacJSaE.js → dist-BqO6WmbK.js} +2 -2
- package/dist/{dist-fRW2mZtS.js → dist-C-8pSTml.js} +2 -2
- package/dist/{dist-Bc-mOFlk.js → dist-C6R5LnmH.js} +2 -2
- package/dist/{dist-TuFHGVp2.js → dist-CD0aazOL.js} +1 -1
- package/dist/{dist-D2nC1On3.js → dist-CDXh0OSg.js} +2 -2
- package/dist/dist-CJ-2wW2z.js +8 -0
- package/dist/{dist-DSSPn3fP.js → dist-C_tLMuB0.js} +2 -2
- package/dist/dist-Ccbo2rCF.js +8 -0
- package/dist/{dist-Dl9_0tkc.js → dist-CgCO1-j-.js} +1 -1
- package/dist/{dist-QxBlbqgj.js → dist-Ck4gp1Wp.js} +3 -3
- package/dist/dist-CwayJLIO.js +5 -0
- package/dist/dist-D-jpfI6q.js +6 -0
- package/dist/{dist-BiNtCiQ9.js → dist-D2Rk1j4R.js} +2 -2
- package/dist/{dist-CwP9oyR8.js → dist-DFBgTyQ4.js} +2 -2
- package/dist/{dist-CJEfzjG5.js → dist-DInzmbT2.js} +4 -4
- package/dist/{dist-DqweMfpO.js → dist-DJ3EjUNc.js} +1 -1
- package/dist/{dist-DoO66t8e.js → dist-DM6PPTtq.js} +1 -1
- package/dist/{dist--MUqhsBh.js → dist-DS6k03oP.js} +1 -1
- package/dist/dist-DShjplLu.js +8 -0
- package/dist/{dist-DEmPLkH9.js → dist-DUY_SIWT.js} +4 -4
- package/dist/dist-DhBqFguQ.js +5 -0
- package/dist/dist-DiCgMCy4.js +6 -0
- package/dist/{dist-8-jPFKws.js → dist-DqWKkHpR.js} +2 -2
- package/dist/dist-Dqa-QKVa.js +5 -0
- package/dist/{dist-CXsGjNbR.js → dist-DqezbmBd.js} +2 -2
- package/dist/{dist-DvjVNme1.js → dist-Dv7FDx1_.js} +1 -1
- package/dist/dist-OFv2DOPe.js +5 -0
- package/dist/{dist-BsyHyGqX.js → dist-_k5rxRQI.js} +2 -2
- package/dist/{dist-BjYGwQ65.js → dist-n5m_P2Mr.js} +1 -1
- package/dist/{dist-DqT0O-4m.js → dist-nggqqIVv.js} +5 -5
- package/dist/{dist-CEmSeYaL.js → dist-xzh9kCE-.js} +2 -2
- package/dist/{dockerfile-DG6A2DdH.js → dockerfile-m9DOSpI5.js} +1 -1
- package/dist/dtd-Ce1c54UO.js +4 -0
- package/dist/dylan-B43wjIwg.js +4 -0
- package/dist/ecl-DK-fZmir.js +4 -0
- package/dist/eiffel-CNuvvPqD.js +4 -0
- package/dist/elm-DZEkBjgQ.js +4 -0
- package/dist/{erDiagram-Q2GNP2WA-CGK0SUdu.js → erDiagram-Q2GNP2WA-C5bM6dcx.js} +15 -15
- package/dist/erlang-Dw4PDZV_.js +4 -0
- package/dist/{error-banner-D-KBGvBj.js → error-banner-DkDzvax3.js} +25 -25
- package/dist/{esm-B_4hpmV_.js → esm-BBsFNcPe.js} +105 -105
- package/dist/{esm-Bcbo0Yvz.js → esm-C9_jY_wu.js} +6 -6
- package/dist/factor-C9JRv63g.js +4 -0
- package/dist/{factor-Bq2mGIHt.js → factor-Nva0iSXt.js} +1 -1
- package/dist/{flowDiagram-NV44I4VS-PjhviPI_.js → flowDiagram-NV44I4VS-CULNNnl6.js} +17 -17
- package/dist/forth-CKhoqn4e.js +4 -0
- package/dist/fortran-Do51bToK.js +4 -0
- package/dist/{ganttDiagram-JELNMOA3-CUVtQqgT.js → ganttDiagram-JELNMOA3-DIi-PAjP.js} +10 -10
- package/dist/gas-BZfL3Uwh.js +4 -0
- package/dist/get-CqYRpAGT.js +68 -0
- package/dist/gherkin-BwQh4ehw.js +4 -0
- package/dist/{gitGraph-G5XIXVHT-B6b-Z3mr.js → gitGraph-G5XIXVHT-S7ypWRtz.js} +3 -3
- package/dist/{gitGraphDiagram-V2S2FVAM-CNdrlK1I.js → gitGraphDiagram-V2S2FVAM-BGDZsLhF.js} +17 -17
- package/dist/{glide-data-editor-DQEuWuu_.js → glide-data-editor-D0IYL4_F.js} +72 -72
- package/dist/graphlib-TFMRsJse.js +225 -0
- package/dist/groovy-CG5kCGiv.js +4 -0
- package/dist/haskell-BKii9uTg.js +4 -0
- package/dist/haxe-Bsz30J8x.js +5 -0
- package/dist/idl-BlxgaPKj.js +4 -0
- package/dist/{info-VBDWY6EO-DfFl0Z8H.js → info-VBDWY6EO-CRCLLsdb.js} +3 -3
- package/dist/infoDiagram-HS3SLOUP-fkZhmVE7.js +30 -0
- package/dist/{input-B8CM-AuM.js → input-C5uUN4xL.js} +87 -87
- package/dist/isEmpty-D_Jzlmqv.js +42 -0
- package/dist/javascript-SNhUvTcB.js +4 -0
- package/dist/{journeyDiagram-XKPGCS4Q-CyoESVVb.js → journeyDiagram-XKPGCS4Q-DUANVNzR.js} +7 -7
- package/dist/julia-CGZzaDyk.js +4 -0
- package/dist/{kanban-definition-3W4ZIXB7-Doc2YV80.js → kanban-definition-3W4ZIXB7-dEyZPMAd.js} +12 -12
- package/dist/{katex-qPqrBHZ8.js → katex-Ckd8lBne.js} +1 -1
- package/dist/{label-e5-84vsp.js → label-DwSVaniz.js} +73 -80
- package/dist/{line-BWRi3U3S.js → line-LK_5q2B9.js} +3 -3
- package/dist/{linear-DZ8_CGCd.js → linear-CJ6ctpF3.js} +4 -4
- package/dist/livescript-Cj6cX-Ys.js +4 -0
- package/dist/{loader-C51Irhxm.js → loader-DrMJeyDu.js} +29 -35
- package/dist/lua-BcVHrD8f.js +4 -0
- package/dist/main.js +17474 -17436
- package/dist/mathematica-DLY8ZGoJ.js +4 -0
- package/dist/mbox-BNTsMWS5.js +4 -0
- package/dist/{mermaid-4DMBBIKO-DQdI9xDR.js → mermaid-4DMBBIKO-C2ajbN0u.js} +1 -1
- package/dist/{mermaid-CzWpf81s.js → mermaid-Bwy7OYzI.js} +48 -48
- package/dist/{mermaid-parser.core-CrrqF1ZZ.js → mermaid-parser.core-DDGHdNnp.js} +8 -8
- package/dist/{mhchem-BwoRNwg_.js → mhchem-DAXq6Zll.js} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-L2ybicpO.js → mindmap-definition-VGOIOE7T-jZ7-PfhM.js} +14 -14
- package/dist/mirc-oyeOBir2.js +4 -0
- package/dist/mllike-ByxznKQw.js +6 -0
- package/dist/modelica-DNLhoyD8.js +4 -0
- package/dist/mscgen-DkZltsli.js +6 -0
- package/dist/mumps-TTiQB1xv.js +4 -0
- package/dist/{nsis-i9_sgigf.js → nsis-DgKbDAVQ.js} +1 -1
- package/dist/nsis-RT1O1Ph8.js +4 -0
- package/dist/ntriples-CxsCiZ7Z.js +4 -0
- package/dist/{number-overlay-editor-D2Y0RpcH.js → number-overlay-editor-BqzX9dHu.js} +1 -1
- package/dist/octave-CkLh5tpW.js +4 -0
- package/dist/once-BfpiMcdf.js +26 -0
- package/dist/{ordinal-B4zYMadD.js → ordinal-COPPjmMz.js} +1 -1
- package/dist/oz-yI7U9eVH.js +4 -0
- package/dist/{packet-DYOGHKS2-DIf3Dotq.js → packet-DYOGHKS2-DPTC67cY.js} +3 -3
- package/dist/pascal-CQK8sfDe.js +4 -0
- package/dist/perl-BEG8-kZl.js +4 -0
- package/dist/{pie-VRWISCQL-Dj_gvPcD.js → pie-VRWISCQL-DfbgsrV5.js} +3 -3
- package/dist/{pieDiagram-ADFJNKIX-x5w7q6Yp.js → pieDiagram-ADFJNKIX-BiAFdzOP.js} +22 -22
- package/dist/pig-DLLCqQaR.js +4 -0
- package/dist/powershell-CtjMkVO_.js +4 -0
- package/dist/{precisionRound-C-DW449D.js → precisionRound-Duzbr5ur.js} +1 -1
- package/dist/{process-output-BfgNdve9.js → process-output-CT8hHGp6.js} +2349 -2387
- package/dist/properties-Domeb57z.js +4 -0
- package/dist/protobuf-0yk85TV6.js +4 -0
- package/dist/pug-B-BiNkM-.js +4 -0
- package/dist/{pug-BhE2JRSg.js → pug-CTpLcc1b.js} +1 -1
- package/dist/puppet-C0N4vevK.js +4 -0
- package/dist/python-BZFa8G3C.js +4 -0
- package/dist/q-gcj7dgJv.js +4 -0
- package/dist/{quadrantDiagram-AYHSOK5B-D5j_5qG_.js → quadrantDiagram-AYHSOK5B-CZjWO4oG.js} +5 -5
- package/dist/r-DavzTuPU.js +4 -0
- package/dist/{radar-ZZBFDIW7-DXDVq3gi.js → radar-ZZBFDIW7-B5Hwx2a8.js} +3 -3
- package/dist/react-vega-DfxWeueH.js +9 -0
- package/dist/{react-vega-BBUxfZoV.js → react-vega-JMnqwKtN.js} +18 -18
- package/dist/{requirementDiagram-UZGBJVZJ-3SoJH6yP.js → requirementDiagram-UZGBJVZJ-D9PkMDa5.js} +14 -14
- package/dist/rpm-bPj31ya8.js +5 -0
- package/dist/ruby-3UzzijjE.js +4 -0
- package/dist/{sankeyDiagram-TZEHDZUN-fGkFNe5q.js → sankeyDiagram-TZEHDZUN-DuCG1ouO.js} +5 -5
- package/dist/sas-D9upmCP9.js +4 -0
- package/dist/scheme-DqWYzIFR.js +4 -0
- package/dist/{sequenceDiagram-WL72ISMW-BE2uTn_d.js → sequenceDiagram-WL72ISMW-BLJqizTv.js} +8 -8
- package/dist/shell-w63nkNmU.js +4 -0
- package/dist/sieve-Dz_ISrl6.js +4 -0
- package/dist/{slides-component-Cjo6LzW9.js → slides-component-BsaaAy66.js} +2 -2
- package/dist/smalltalk-BXZ14pkr.js +4 -0
- package/dist/sparql-Boyc0wkb.js +4 -0
- package/dist/{spec-UGFYIDJb.js → spec-BLAZSydG.js} +3 -3
- package/dist/{src-BY0BGg6V.js → src-szye8OCw.js} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-Dmk9IAOx.js → stateDiagram-FKZM4ZOC-CmZfv4_-.js} +19 -19
- package/dist/stateDiagram-v2-4FDKWEC3-BpOH8Bgl.js +29 -0
- package/dist/{step-DGAGWg3y.js → step-1PmBKr2y.js} +1 -1
- package/dist/stex-DYK84lGq.js +4 -0
- package/dist/style.css +1 -1
- package/dist/stylus-m9L_f1X1.js +4 -0
- package/dist/swift-C4TGn99K.js +4 -0
- package/dist/tcl-D_L0cfYZ.js +4 -0
- package/dist/textile-BAofYdKN.js +4 -0
- package/dist/{time-C_pvjzP0.js → time-B8tcX_hU.js} +4 -4
- package/dist/{timeline-definition-IT6M3QCI-CvB4yGrN.js → timeline-definition-IT6M3QCI-C7yv4fEk.js} +4 -4
- package/dist/{toDate-COI3hP-5.js → toDate-BWaG12Pv.js} +4 -4
- package/dist/toml-DCDKACLL.js +4 -0
- package/dist/{tooltip-DnI4CwIS.js → tooltip-DGHTbHl5.js} +3 -3
- package/dist/{treemap-GDKQZRPO-CIG6WH-x.js → treemap-GDKQZRPO-B_LAAEIM.js} +3 -3
- package/dist/troff-JHOU2VZK.js +4 -0
- package/dist/ttcn-Cxhng3qq.js +4 -0
- package/dist/ttcn-cfg-DJgUIu5n.js +4 -0
- package/dist/turtle-DKYkKZjV.js +4 -0
- package/dist/types-Dqw69fPc.js +202 -0
- package/dist/{useAsyncData-BtHYXgXF.js → useAsyncData-Dqt2tV1E.js} +2 -2
- package/dist/useDeepCompareMemoize-D2PKDkrk.js +85 -0
- package/dist/{useIframeCapabilities-CzVvBDe8.js → useIframeCapabilities-DlwLttZw.js} +1 -1
- package/dist/useLifecycle-CJ_5Z4Mk.js +173 -0
- package/dist/{useTheme-5GTtjXjy.js → useTheme-BIAKDAh6.js} +47 -12
- package/dist/vb-C9rpn9hN.js +4 -0
- package/dist/vbscript-BQ7rxQU0.js +4 -0
- package/dist/{vega-component-BQNW4qnB.js → vega-component-CTOT0vRO.js} +16 -16
- package/dist/{vega-loader.browser-DnqN5nbz.js → vega-loader.browser-hMqVC9bf.js} +3 -3
- package/dist/velocity-C8WXmzLz.js +4 -0
- package/dist/verilog-BUXJEyEq.js +4 -0
- package/dist/vhdl-C18YIXfF.js +4 -0
- package/dist/webidl-D97EKzDx.js +4 -0
- package/dist/xquery-BZM6yzG2.js +4 -0
- package/dist/{xychartDiagram-PRI3JC2R-BbEInSqY.js → xychartDiagram-PRI3JC2R-DC0-6FAB.js} +13 -13
- package/dist/yacas-CXKck-Ok.js +4 -0
- package/dist/z80-BbF6ykWc.js +4 -0
- package/package.json +1 -1
- package/src/components/ai/ai-model-dropdown.tsx +1 -1
- package/src/components/chat/acp/agent-panel.tsx +4 -2
- package/src/components/chat/acp/blocks.tsx +1 -2
- package/src/components/chat/acp/state.ts +1 -1
- package/src/components/chat/tool-call-accordion.tsx +1 -0
- package/src/components/data-table/TableActions.tsx +25 -50
- package/src/components/data-table/charts/components/chart-items.tsx +1 -1
- package/src/components/data-table/charts/components/form-fields.tsx +1 -1
- package/src/components/data-table/charts/forms/common-chart.tsx +1 -1
- package/src/components/data-table/charts/storage.ts +1 -1
- package/src/components/data-table/column-explorer-panel/column-explorer.tsx +24 -13
- package/src/components/data-table/column-header.tsx +1 -1
- package/src/components/data-table/data-table.tsx +11 -9
- package/src/components/data-table/hooks/use-column-pinning.ts +1 -1
- package/src/components/data-table/hooks/use-panel-ownership.ts +15 -5
- package/src/components/data-table/pagination.tsx +1 -1
- package/src/components/data-table/row-viewer-panel/row-viewer.tsx +53 -44
- package/src/components/data-table/table-explorer-panel/table-explorer-panel.tsx +161 -0
- package/src/components/datasources/datasources.tsx +1 -1
- package/src/components/editor/actions/useNotebookActions.tsx +2 -2
- package/src/components/editor/chrome/panels/context-aware-panel/context-aware-panel.tsx +16 -9
- package/src/components/editor/chrome/wrapper/footer-items/backend-status.tsx +2 -2
- package/src/components/editor/connections/form-renderers.tsx +1 -1
- package/src/components/editor/renderers/grid-layout/grid-layout.tsx +2 -2
- package/src/components/editor/renderers/layout-select.tsx +2 -2
- package/src/components/variables/variables-table.tsx +1 -1
- package/src/core/cells/cells.ts +1 -1
- package/src/core/codemirror/rtc/extension.ts +1 -1
- package/src/core/network/requests-network.ts +1 -1
- package/src/core/rtc/state.ts +1 -1
- package/src/core/saving/state.ts +2 -1
- package/src/core/slots/slots.ts +1 -0
- package/src/core/state/jotai.ts +2 -1
- package/src/plugins/impl/DataTablePlugin.tsx +19 -22
- package/src/plugins/impl/RangeSliderPlugin.tsx +1 -1
- package/src/plugins/impl/chat/chat-ui.tsx +2 -2
- package/src/plugins/impl/data-editor/components.tsx +1 -1
- package/src/plugins/impl/data-explorer/components/query-form.tsx +2 -2
- package/src/plugins/impl/data-explorer/functions/types.ts +1 -2
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +1 -1
- package/src/plugins/impl/plotly/PlotlyPlugin.tsx +9 -4
- package/src/plugins/impl/plotly/usePlotlyLayout.ts +2 -2
- package/src/plugins/impl/vega/loader.ts +3 -4
- package/src/plugins/impl/vega/params.ts +1 -1
- package/src/utils/__tests__/arrays.test.ts +118 -0
- package/src/utils/__tests__/objects.test.ts +34 -0
- package/src/utils/__tests__/strings.test.ts +27 -1
- package/src/utils/arrays.ts +67 -0
- package/src/utils/objects.ts +14 -0
- package/src/utils/strings.ts +39 -19
- package/dist/_arrayReduce-6BJAuN54.js +0 -9
- package/dist/_baseIsEqual-QWfxbVqg.js +0 -226
- package/dist/_basePickBy-Do49cXgl.js +0 -34
- package/dist/_baseSlice-bwIVgwNq.js +0 -10
- package/dist/_baseUniq-vFmWNipH.js +0 -59
- package/dist/_hasUnicode-DOFcQHhs.js +0 -8
- package/dist/apl-e1B5LPEL.js +0 -4
- package/dist/architecture-7HQA4BMR-KeUc82D1.js +0 -6
- package/dist/asciiarmor-B-gwgesP.js +0 -4
- package/dist/asn1-DF2ckRB4.js +0 -4
- package/dist/brainfuck-4G-7_gq_.js +0 -4
- package/dist/classDiagram-2ON5EDUG-DbWOiPgs.js +0 -30
- package/dist/classDiagram-v2-WZHVMYZB-COnXBrRA.js +0 -30
- package/dist/clojure-CUybM11R.js +0 -4
- package/dist/cmake-BPjGcuDL.js +0 -4
- package/dist/cobol-BETk_nb6.js +0 -4
- package/dist/coffeescript-CManZxXL.js +0 -4
- package/dist/commonlisp-DWkn7GW8.js +0 -4
- package/dist/crystal-CCbg5EUH.js +0 -4
- package/dist/css-By8eo-XS.js +0 -4
- package/dist/cypher-DwfHg3nP.js +0 -4
- package/dist/d-Brs1wNbw.js +0 -4
- package/dist/diff-DJIRmJ1g.js +0 -4
- package/dist/dist-BK8Ch8me.js +0 -5
- package/dist/dist-BPlAe3w3.js +0 -6
- package/dist/dist-BQnLGf1A.js +0 -8
- package/dist/dist-BZRBnAnM.js +0 -5
- package/dist/dist-BmTKj-5m.js +0 -5
- package/dist/dist-C1UyhB0b.js +0 -5
- package/dist/dist-C1uqqTuH.js +0 -5
- package/dist/dist-CCeSY9xv.js +0 -5
- package/dist/dist-CMWhb0s1.js +0 -5
- package/dist/dist-DYoFz28E.js +0 -8
- package/dist/dist-DeSnQwvL.js +0 -6
- package/dist/dist-e8VqCQ_P.js +0 -5
- package/dist/dist-kGaha3sX.js +0 -8
- package/dist/dist-wQD8nhf9.js +0 -8
- package/dist/dtd-Dyiazv4N.js +0 -4
- package/dist/dylan-D8Fcw7NA.js +0 -4
- package/dist/ecl-CjKp8Vii.js +0 -4
- package/dist/eiffel-K9ViOX5r.js +0 -4
- package/dist/elm-B5NVtRco.js +0 -4
- package/dist/erlang-BnLzgk7R.js +0 -4
- package/dist/factor-C7f9Jz5R.js +0 -4
- package/dist/forth-rGM8jLao.js +0 -4
- package/dist/fortran-B3acSe0i.js +0 -4
- package/dist/gas-Bb1Vmv_N.js +0 -4
- package/dist/gherkin-C9Lyidgd.js +0 -4
- package/dist/graphlib-CIQjMxKw.js +0 -228
- package/dist/groovy-DQk6XcGH.js +0 -4
- package/dist/hasIn-eLCPDloT.js +0 -86
- package/dist/haskell-mV0Vw9gv.js +0 -4
- package/dist/haxe-DqxN89zH.js +0 -5
- package/dist/idl-ya8W561J.js +0 -4
- package/dist/infoDiagram-HS3SLOUP-DGimKb9k.js +0 -30
- package/dist/isEmpty-CI9akcsL.js +0 -16
- package/dist/isString-xiQUcgm4.js +0 -9
- package/dist/javascript-CgqgptVu.js +0 -4
- package/dist/julia-CFQ-HusI.js +0 -4
- package/dist/livescript-D__3TmDo.js +0 -4
- package/dist/lua-Bytcgj_W.js +0 -4
- package/dist/mathematica-DJhvVKvl.js +0 -4
- package/dist/mbox-IGHPCjfR.js +0 -4
- package/dist/min-IJGSWMpU.js +0 -89
- package/dist/mirc-tcwvVugm.js +0 -4
- package/dist/mllike-Dx91i62r.js +0 -6
- package/dist/modelica-_SRt-yU5.js +0 -4
- package/dist/mscgen-GZrGS9gt.js +0 -6
- package/dist/mumps-Cv3ygyod.js +0 -4
- package/dist/nsis-BU7GeGbI.js +0 -4
- package/dist/ntriples-CL-FCYXb.js +0 -4
- package/dist/octave-Dc6_3DIu.js +0 -4
- package/dist/once-DjP4Kbhy.js +0 -74
- package/dist/oz-DpUAJCXf.js +0 -4
- package/dist/pascal-B17mncXs.js +0 -4
- package/dist/perl-BTpK97q9.js +0 -4
- package/dist/pig-CFb638Ap.js +0 -4
- package/dist/powershell-Cxo-_2A5.js +0 -4
- package/dist/properties-BPgT1xTB.js +0 -4
- package/dist/protobuf-BgHBaIIK.js +0 -4
- package/dist/pug-25-oS0SG.js +0 -4
- package/dist/puppet-DarIr20S.js +0 -4
- package/dist/python-BqmOsBsi.js +0 -4
- package/dist/q-D3QJCTup.js +0 -4
- package/dist/r-Cz_yBX4z.js +0 -4
- package/dist/range-DffmqG6L.js +0 -31
- package/dist/react-vega-Cs3lfDw8.js +0 -9
- package/dist/reduce-CGwzfrDo.js +0 -275
- package/dist/rpm-DGOtYwAI.js +0 -5
- package/dist/ruby-DBZu4rPc.js +0 -4
- package/dist/sas-Dd1D9qTq.js +0 -4
- package/dist/scheme-BmDjvTHX.js +0 -4
- package/dist/shell-BL8zFSaj.js +0 -4
- package/dist/sieve-BAx2WqUP.js +0 -4
- package/dist/smalltalk-CYRzF7VV.js +0 -4
- package/dist/sparql-YWaDRO4A.js +0 -4
- package/dist/stateDiagram-v2-4FDKWEC3-BGF0BvU6.js +0 -29
- package/dist/stex-BvZqVamL.js +0 -4
- package/dist/stylus-lYsyLFc1.js +0 -4
- package/dist/swift-ClQz9z1n.js +0 -4
- package/dist/tcl-B3jhsfqY.js +0 -4
- package/dist/textile-Cb1Dw7Aq.js +0 -4
- package/dist/toInteger-BUeg_O0F.js +0 -15
- package/dist/toString-CtXX84W6.js +0 -23
- package/dist/toml-nHZhetdO.js +0 -4
- package/dist/troff-DuJAGWKH.js +0 -4
- package/dist/ttcn-BxrcwP21.js +0 -4
- package/dist/ttcn-cfg-BAg_9dcc.js +0 -4
- package/dist/turtle-zCq949as.js +0 -4
- package/dist/types-BqLAaq-i.js +0 -209
- package/dist/uniq-CCKqEs7T.js +0 -8
- package/dist/useDeepCompareMemoize-9dXEtK7u.js +0 -124
- package/dist/useLifecycle-Be1LUuEg.js +0 -427
- package/dist/vb-De5hElus.js +0 -4
- package/dist/vbscript-Cypcpv4F.js +0 -4
- package/dist/velocity-Di7l-yhe.js +0 -4
- package/dist/verilog-Bzi-S3g2.js +0 -4
- package/dist/vhdl-B0ZZITaW.js +0 -4
- package/dist/webidl-0sviiRcN.js +0 -4
- package/dist/xquery-B4qMVWaB.js +0 -4
- package/dist/yacas-Jt25Fuv8.js +0 -4
- package/dist/z80-CrcbYzmp.js +0 -4
- /package/dist/{ImageComparisonComponent-BC00mJmw.js → ImageComparisonComponent-B5q26YVi.js} +0 -0
- /package/dist/{Plot-B1ahrLui.js → Plot-syRHsk-l.js} +0 -0
- /package/dist/{apl-99A7dLQe.js → apl-BqjtmlWW.js} +0 -0
- /package/dist/{array-B-MVxRIF.js → array-D7wW5QoO.js} +0 -0
- /package/dist/{asciiarmor-DLEhpFDx.js → asciiarmor-D9C9bbeV.js} +0 -0
- /package/dist/{asn1-CMrcTsT4.js → asn1-D_zR1ubK.js} +0 -0
- /package/dist/{asterisk-BUZwqih-.js → asterisk-B0dLLA8Z.js} +0 -0
- /package/dist/{brainfuck-ChPt5yBe.js → brainfuck-79SC7EYA.js} +0 -0
- /package/dist/{chunk-DR5Q36YT-CP69aZS_.js → chunk-DR5Q36YT-BxPcQ21t.js} +0 -0
- /package/dist/{click-outside-container-DB_bTXRG.js → click-outside-container-DNfggvIW.js} +0 -0
- /package/dist/{clike-CE0fXfM_.js → clike-DFDX2jWq.js} +0 -0
- /package/dist/{clojure-QkBEMU-g.js → clojure-Bb3Od9By.js} +0 -0
- /package/dist/{cmake-CU1jX7Mo.js → cmake-DYGUYEtU.js} +0 -0
- /package/dist/{cobol-DMOKzzky.js → cobol-CcWmcAFT.js} +0 -0
- /package/dist/{coffeescript-DjnjLyfk.js → coffeescript-BVa1qoL6.js} +0 -0
- /package/dist/{colors-Cn2p_FA3.js → colors-6DRQ0kEF.js} +0 -0
- /package/dist/{common-keywords-hbLeU7VU.js → common-keywords-Bz8dNfWa.js} +0 -0
- /package/dist/{commonlisp-CYd9iOSe.js → commonlisp-zi51jgUH.js} +0 -0
- /package/dist/{crystal-Dy55yoYG.js → crystal-QjpegJHM.js} +0 -0
- /package/dist/{css-CNU8w3HJ.js → css-B_GfJtcK.js} +0 -0
- /package/dist/{cypher-q47DGzK7.js → cypher-BVuYJpGf.js} +0 -0
- /package/dist/{cytoscape.esm-WbbDoCfu.js → cytoscape.esm-BYAuS6uS.js} +0 -0
- /package/dist/{d-jEkaLvxX.js → d-BT97RiQI.js} +0 -0
- /package/dist/{defaultLocale-Dr6Bz4JK.js → defaultLocale-B_A76Zpk.js} +0 -0
- /package/dist/{defaultLocale-I3_GfJ4U.js → defaultLocale-DjFHq3Xk.js} +0 -0
- /package/dist/{diff-vb2-unFN.js → diff-CHd93v7L.js} +0 -0
- /package/dist/{dist-N1lm7LVK.js → dist-CORAUsE1.js} +0 -0
- /package/dist/{dist-C89sHDXk.js → dist-CqR8FBcH.js} +0 -0
- /package/dist/{dtd-C9kR-bXa.js → dtd-akLFIRuZ.js} +0 -0
- /package/dist/{duckdb-keywords-CZ_ZTscu.js → duckdb-keywords-CQAIHMbC.js} +0 -0
- /package/dist/{dylan-BLckrK-V.js → dylan-Iy-rgNOc.js} +0 -0
- /package/dist/{ebnf-WEXPLEWb.js → ebnf-CTkZpZPT.js} +0 -0
- /package/dist/{ecl-CEsf6XVg.js → ecl-BhUXC_aR.js} +0 -0
- /package/dist/{eiffel-2KGZNzx6.js → eiffel-DIRAlWPD.js} +0 -0
- /package/dist/{elm-D2s3K5wF.js → elm-BDgVzkJ4.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-CflmeIys.js → emotion-is-prop-valid.esm-DdzHpbbG.js} +0 -0
- /package/dist/{erlang-0PMFOndk.js → erlang-Djcs_NwB.js} +0 -0
- /package/dist/{esm-Bb_hbWan.js → esm-BRwAuUu2.js} +0 -0
- /package/dist/{fcl-B_Gv5Jfx.js → fcl-OXoT8w4k.js} +0 -0
- /package/dist/{forth-DG89iUsu.js → forth-c_NTahPv.js} +0 -0
- /package/dist/{fortran-ytKsAVvu.js → fortran-Bpxt27dn.js} +0 -0
- /package/dist/{gas-Cg2Fm0N2.js → gas-RVBts6ZK.js} +0 -0
- /package/dist/{gherkin-B87FEnZ-.js → gherkin-Hf6PTauh.js} +0 -0
- /package/dist/{groovy-Dcs08AWD.js → groovy-CKjO-cRi.js} +0 -0
- /package/dist/{haskell-cwkOuhx6.js → haskell-DC1Gan6v.js} +0 -0
- /package/dist/{haxe-DWEo4q10.js → haxe-Bpne--ot.js} +0 -0
- /package/dist/{http-Dc2fv19V.js → http-CPVO27fZ.js} +0 -0
- /package/dist/{idl-WWQwDcRV.js → idl-GRIbMIEq.js} +0 -0
- /package/dist/{init-D-g0ONX1.js → init-BfRhston.js} +0 -0
- /package/dist/{invariant-Ctm_8TNZ.js → invariant-CzjtdzpE.js} +0 -0
- /package/dist/{javascript-BeR74dxD.js → javascript-nS0zxWNO.js} +0 -0
- /package/dist/{julia-UlvCUYGL.js → julia-CQpdTxmO.js} +0 -0
- /package/dist/{katex-B7pMJpE0.js → katex-Dg42UEnr.js} +0 -0
- /package/dist/{livescript-GPmFcmYV.js → livescript-D5kqrQol.js} +0 -0
- /package/dist/{lua-DYoT_0zM.js → lua-CKifrpGK.js} +0 -0
- /package/dist/{main-sxFlUO_N.js → main-C01_ic0d.js} +0 -0
- /package/dist/{math-BYK36kWZ.js → math-BbMyrONz.js} +0 -0
- /package/dist/{mathematica-DSFIQlbG.js → mathematica-CxT3f_fi.js} +0 -0
- /package/dist/{mbox-ej8lFMdL.js → mbox-C2_n_I9h.js} +0 -0
- /package/dist/{memoize-zYM53m8l.js → memoize-CwWm-NpB.js} +0 -0
- /package/dist/{merge-CqBPpP0q.js → merge-Byt9w-nO.js} +0 -0
- /package/dist/{micromark-factory-space-DQCQsiYz.js → micromark-factory-space-YUxUai1y.js} +0 -0
- /package/dist/{mirc-CAdIdvHQ.js → mirc-BTQeASBH.js} +0 -0
- /package/dist/{mllike-CjTB1lHF.js → mllike-BxO6Hl5N.js} +0 -0
- /package/dist/{modelica-BB68FYMa.js → modelica-DuivZReX.js} +0 -0
- /package/dist/{mscgen-BkbzgGGI.js → mscgen-DwD83FOm.js} +0 -0
- /package/dist/{mumps-Cu-28E9F.js → mumps-CdVjp3OE.js} +0 -0
- /package/dist/{nginx-ComVAAGN.js → nginx-Bi9TuNqb.js} +0 -0
- /package/dist/{node-sql-parser-DNGGJ-Rw.js → node-sql-parser-Bet3kHkt.js} +0 -0
- /package/dist/{now-CnuN5fN5.js → now-uNLDfbuW.js} +0 -0
- /package/dist/{ntriples-D9cQiZxZ.js → ntriples-DBS60qLp.js} +0 -0
- /package/dist/{octave-BvtAnPX0.js → octave-BL0tQUFC.js} +0 -0
- /package/dist/{oz-COaVHk2E.js → oz-DBrG4vwi.js} +0 -0
- /package/dist/{pascal-BFpqVD2x.js → pascal-BWV9h8yS.js} +0 -0
- /package/dist/{path-Du6n3sOU.js → path-C_x2ySFi.js} +0 -0
- /package/dist/{perl-DaiORxHP.js → perl-Bm5a83JW.js} +0 -0
- /package/dist/{pig-DFzRhmsF.js → pig-CbJDoHaE.js} +0 -0
- /package/dist/{powershell-BG2LQNKN.js → powershell-tG44m5Cy.js} +0 -0
- /package/dist/{properties-CqJJR5QY.js → properties-DUZGzdb1.js} +0 -0
- /package/dist/{protobuf-WwDYV1yY.js → protobuf-CcoKXY0d.js} +0 -0
- /package/dist/{puppet-QNY3w_uN.js → puppet-BH73L_Gw.js} +0 -0
- /package/dist/{purify.es-Co_dANLh.js → purify.es-BwXbuO3r.js} +0 -0
- /package/dist/{python-4QrQ3Ugi.js → python-NJIxLTZp.js} +0 -0
- /package/dist/{q-DhwXuxE2.js → q-MotBNA65.js} +0 -0
- /package/dist/{r-Df-nkR25.js → r-BUgBPae7.js} +0 -0
- /package/dist/{range-Bn3no95s.js → range-DwpxnYuB.js} +0 -0
- /package/dist/{rpm-Cokue07s.js → rpm-C_PaGodG.js} +0 -0
- /package/dist/{ruby-DrYcL3qF.js → ruby-DFLM2XD8.js} +0 -0
- /package/dist/{sas-CoiPirA5.js → sas-BMyyu8oO.js} +0 -0
- /package/dist/{scheme-CwFLjzHv.js → scheme-Qet9zYAe.js} +0 -0
- /package/dist/{shell-BFV-R24I.js → shell-BKHx4Jjo.js} +0 -0
- /package/dist/{sieve-CxwXF5T9.js → sieve-CVo7dc4j.js} +0 -0
- /package/dist/{simple-mode-DTaJtKPt.js → simple-mode-CVFBIo6d.js} +0 -0
- /package/dist/{smalltalk-QivVOCtX.js → smalltalk-BHr2nCth.js} +0 -0
- /package/dist/{solr-DTkyqJ-Z.js → solr-Bt9XtM2H.js} +0 -0
- /package/dist/{sparql-nKsFk8j7.js → sparql-QSu0ZCcc.js} +0 -0
- /package/dist/{spreadsheet-CER0raqY.js → spreadsheet-BWfuwc0V.js} +0 -0
- /package/dist/{sql-ByOoEONQ.js → sql-BdV3YOCG.js} +0 -0
- /package/dist/{stex-7yEw16Ww.js → stex-Btoi8e7I.js} +0 -0
- /package/dist/{stylus-BLKQAycn.js → stylus-CLZH9-Ps.js} +0 -0
- /package/dist/{swift-CJoKqiKj.js → swift-JNDJdNIE.js} +0 -0
- /package/dist/{tcl-YTeYFNUc.js → tcl-J5aE7aj5.js} +0 -0
- /package/dist/{textile-C6rKQqMQ.js → textile-6Hn05XQM.js} +0 -0
- /package/dist/{tiddlywiki-Cr9xyOY1.js → tiddlywiki-BWn8rSwJ.js} +0 -0
- /package/dist/{tiki-D5JONyfZ.js → tiki-XORjA1c3.js} +0 -0
- /package/dist/{timer-D7JVdX9U.js → timer-pEiW44EO.js} +0 -0
- /package/dist/{toml-DxlPGbRy.js → toml-BceyeuiF.js} +0 -0
- /package/dist/{treemap-qFGzn7xk.js → treemap-BzS5cW_6.js} +0 -0
- /package/dist/{troff-DFCfH7Ku.js → troff-DeMyd5Pf.js} +0 -0
- /package/dist/{ttcn-DAW-ERVP.js → ttcn-DurvvcB-.js} +0 -0
- /package/dist/{ttcn-cfg-CpJ8b7EN.js → ttcn-cfg-BuYui6Rv.js} +0 -0
- /package/dist/{turtle-BneV2f8L.js → turtle-CD8Qf-tp.js} +0 -0
- /package/dist/{vb-D973Vxxh.js → vb-BklM-Nqk.js} +0 -0
- /package/dist/{vbscript-Dckaq3YO.js → vbscript-DbMEEX0d.js} +0 -0
- /package/dist/{velocity-DKty-GUC.js → velocity-CERL-_vq.js} +0 -0
- /package/dist/{verilog-aNaK_biA.js → verilog-BD6jNce6.js} +0 -0
- /package/dist/{vhdl-CQuehnQy.js → vhdl-U-1_N98i.js} +0 -0
- /package/dist/{webidl-Bhg8vaMr.js → webidl-IUn0dzoa.js} +0 -0
- /package/dist/{xquery-D2q16GaM.js → xquery-QeeHdSO2.js} +0 -0
- /package/dist/{yacas-DHGOHnNa.js → yacas-C9XcEPAJ.js} +0 -0
- /package/dist/{z80-BPhTmO22.js → z80-C-nD1oRy.js} +0 -0
|
@@ -24,7 +24,10 @@ import { useLocale } from "react-aria";
|
|
|
24
24
|
import { Table } from "@/components/ui/table";
|
|
25
25
|
import type { GetRowIds } from "@/plugins/impl/DataTablePlugin";
|
|
26
26
|
import { cn } from "@/utils/cn";
|
|
27
|
-
import
|
|
27
|
+
import {
|
|
28
|
+
PANEL_TYPES,
|
|
29
|
+
type PanelType,
|
|
30
|
+
} from "../editor/chrome/panels/context-aware-panel/context-aware-panel";
|
|
28
31
|
import { CellHoverTemplateFeature } from "./cell-hover-template/feature";
|
|
29
32
|
import { CellHoverTextFeature } from "./cell-hover-text/feature";
|
|
30
33
|
import { CellSelectionFeature } from "./cell-selection/feature";
|
|
@@ -97,10 +100,10 @@ interface DataTableProps<TData> extends Partial<DownloadActionProps> {
|
|
|
97
100
|
// Others
|
|
98
101
|
showChartBuilder?: boolean;
|
|
99
102
|
showPageSizeSelector?: boolean;
|
|
100
|
-
|
|
101
|
-
showRowExplorer?: boolean;
|
|
103
|
+
showTableExplorer?: boolean;
|
|
102
104
|
togglePanel?: (panelType: PanelType) => void;
|
|
103
105
|
isPanelOpen?: (panelType: PanelType) => boolean;
|
|
106
|
+
isAnyPanelOpen?: boolean;
|
|
104
107
|
}
|
|
105
108
|
|
|
106
109
|
const DataTableInternal = <TData,>({
|
|
@@ -142,10 +145,10 @@ const DataTableInternal = <TData,>({
|
|
|
142
145
|
toggleDisplayHeader,
|
|
143
146
|
showChartBuilder,
|
|
144
147
|
showPageSizeSelector,
|
|
145
|
-
|
|
146
|
-
showRowExplorer,
|
|
148
|
+
showTableExplorer,
|
|
147
149
|
togglePanel,
|
|
148
150
|
isPanelOpen,
|
|
151
|
+
isAnyPanelOpen,
|
|
149
152
|
viewedRowIdx,
|
|
150
153
|
onViewedRowChange,
|
|
151
154
|
}: DataTableProps<TData>) => {
|
|
@@ -272,7 +275,7 @@ const DataTableInternal = <TData,>({
|
|
|
272
275
|
},
|
|
273
276
|
});
|
|
274
277
|
|
|
275
|
-
const rowViewerPanelOpen = isPanelOpen?.(
|
|
278
|
+
const rowViewerPanelOpen = isPanelOpen?.(PANEL_TYPES.ROW_VIEWER) ?? false;
|
|
276
279
|
const virtualize = !pagination && data.length > MIN_ROWS_TO_VIRTUALIZE;
|
|
277
280
|
|
|
278
281
|
const tableRef = useScrollContainerHeight({ maxHeight, virtualize });
|
|
@@ -324,10 +327,9 @@ const DataTableInternal = <TData,>({
|
|
|
324
327
|
toggleDisplayHeader={toggleDisplayHeader}
|
|
325
328
|
showChartBuilder={showChartBuilder}
|
|
326
329
|
showPageSizeSelector={showPageSizeSelector}
|
|
327
|
-
|
|
328
|
-
showRowExplorer={showRowExplorer}
|
|
330
|
+
showTableExplorer={showTableExplorer}
|
|
329
331
|
togglePanel={togglePanel}
|
|
330
|
-
|
|
332
|
+
isAnyPanelOpen={isAnyPanelOpen}
|
|
331
333
|
tableLoading={reloading}
|
|
332
334
|
/>
|
|
333
335
|
</div>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use no memo";
|
|
3
3
|
|
|
4
4
|
import type { ColumnPinningState } from "@tanstack/react-table";
|
|
5
|
-
import { isEqual } from "
|
|
5
|
+
import { dequal as isEqual } from "dequal";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { useInternalStateWithSync } from "@/hooks/useInternalStateWithSync";
|
|
8
8
|
import { SELECT_COLUMN_ID } from "../types";
|
|
@@ -13,7 +13,10 @@ import { Logger } from "@/utils/Logger";
|
|
|
13
13
|
|
|
14
14
|
interface PanelOwnershipResult {
|
|
15
15
|
isPanelOpen: (panelType: PanelType) => boolean;
|
|
16
|
-
|
|
16
|
+
isAnyPanelOpen: boolean;
|
|
17
|
+
togglePanel: (panelType?: PanelType) => void;
|
|
18
|
+
panelType: PanelType | null;
|
|
19
|
+
setPanelType: (panelType: PanelType) => void;
|
|
17
20
|
}
|
|
18
21
|
|
|
19
22
|
export function usePanelOwnership(
|
|
@@ -55,24 +58,31 @@ export function usePanelOwnership(
|
|
|
55
58
|
setPanelOwner(panelId);
|
|
56
59
|
}
|
|
57
60
|
|
|
58
|
-
|
|
59
|
-
|
|
61
|
+
const isAnyPanelOpen = panelOwner === panelId && isContextAwarePanelOpen;
|
|
62
|
+
|
|
63
|
+
function togglePanel(requestedType?: PanelType) {
|
|
64
|
+
if (isAnyPanelOpen) {
|
|
60
65
|
setPanelOwner(null);
|
|
61
66
|
setContextAwarePanelOpen(false);
|
|
62
67
|
} else {
|
|
63
68
|
setPanelOwner(panelId);
|
|
64
|
-
// if cell-aware, we want to focus on this cell when toggled open
|
|
65
69
|
if (isPanelCellAware && cellId) {
|
|
66
70
|
focusCell({ cellId });
|
|
67
71
|
}
|
|
68
72
|
setContextAwarePanelOpen(true);
|
|
69
|
-
|
|
73
|
+
// Only set type if explicitly requested and no previous type exists
|
|
74
|
+
if (requestedType && !panelType) {
|
|
75
|
+
setPanelType(requestedType);
|
|
76
|
+
}
|
|
70
77
|
}
|
|
71
78
|
}
|
|
72
79
|
|
|
73
80
|
return {
|
|
74
81
|
isPanelOpen,
|
|
82
|
+
isAnyPanelOpen,
|
|
75
83
|
togglePanel,
|
|
84
|
+
panelType,
|
|
85
|
+
setPanelType,
|
|
76
86
|
};
|
|
77
87
|
}
|
|
78
88
|
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
"use no memo";
|
|
3
3
|
|
|
4
4
|
import type { Table } from "@tanstack/react-table";
|
|
5
|
-
import { range } from "lodash-es";
|
|
6
5
|
import {
|
|
7
6
|
ChevronDown,
|
|
8
7
|
ChevronLeft,
|
|
@@ -22,6 +21,7 @@ import {
|
|
|
22
21
|
DropdownMenuTrigger,
|
|
23
22
|
} from "@/components/ui/dropdown-menu";
|
|
24
23
|
import { Input } from "@/components/ui/input";
|
|
24
|
+
import { range } from "@/utils/arrays";
|
|
25
25
|
import { cn } from "@/utils/cn";
|
|
26
26
|
import { Events } from "@/utils/events";
|
|
27
27
|
import { prettyNumber } from "@/utils/numbers";
|
|
@@ -12,16 +12,16 @@ import {
|
|
|
12
12
|
ChevronsLeft,
|
|
13
13
|
ChevronsRight,
|
|
14
14
|
Info,
|
|
15
|
-
SearchIcon,
|
|
16
15
|
} from "lucide-react";
|
|
17
|
-
import { useRef, useState } from "react";
|
|
16
|
+
import { type KeyboardEvent, useId, useRef, useState } from "react";
|
|
18
17
|
import { useLocale } from "react-aria";
|
|
19
18
|
import { ColumnName } from "@/components/datasources/components";
|
|
20
19
|
import { CopyClipboardIcon } from "@/components/icons/copy-icon";
|
|
21
20
|
import { Spinner } from "@/components/icons/spinner";
|
|
22
21
|
import { KeyboardHotkeys } from "@/components/shortcuts/renderShortcut";
|
|
23
22
|
import { Button } from "@/components/ui/button";
|
|
24
|
-
import {
|
|
23
|
+
import { Checkbox } from "@/components/ui/checkbox";
|
|
24
|
+
import { Command, CommandInput } from "@/components/ui/command";
|
|
25
25
|
import {
|
|
26
26
|
Table,
|
|
27
27
|
TableBody,
|
|
@@ -32,7 +32,6 @@ import {
|
|
|
32
32
|
} from "@/components/ui/table";
|
|
33
33
|
import { DelayMount } from "@/components/utils/delay-mount";
|
|
34
34
|
import { useAsyncData } from "@/hooks/useAsyncData";
|
|
35
|
-
import { useKeydownOnElement } from "@/hooks/useHotkey";
|
|
36
35
|
import { Banner, ErrorBanner } from "@/plugins/impl/common/error-banner";
|
|
37
36
|
import type { GetRowResult } from "@/plugins/impl/DataTablePlugin";
|
|
38
37
|
import { NAMELESS_COLUMN_PREFIX, renderCellValue } from "../columns";
|
|
@@ -68,7 +67,7 @@ export const RowViewerPanel: React.FC<RowViewerPanelProps> = ({
|
|
|
68
67
|
}: RowViewerPanelProps) => {
|
|
69
68
|
const [searchQuery, setSearchQuery] = useState("");
|
|
70
69
|
const panelRef = useRef<HTMLDivElement>(null);
|
|
71
|
-
const
|
|
70
|
+
const checkboxId = useId();
|
|
72
71
|
const { locale } = useLocale();
|
|
73
72
|
|
|
74
73
|
const tooManyRows = totalRows === TOO_MANY_ROWS;
|
|
@@ -102,26 +101,29 @@ export const RowViewerPanel: React.FC<RowViewerPanelProps> = ({
|
|
|
102
101
|
setRow(totalRows - 1);
|
|
103
102
|
}
|
|
104
103
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
104
|
+
const handleKeyDown = (e: KeyboardEvent) => {
|
|
105
|
+
// Don't intercept keys when typing in an input
|
|
106
|
+
if (e.target instanceof HTMLInputElement) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
switch (e.key) {
|
|
110
|
+
case "ArrowLeft":
|
|
111
|
+
setRow(rowIdx - 1);
|
|
112
|
+
|
|
113
|
+
break;
|
|
114
|
+
|
|
115
|
+
case "ArrowRight":
|
|
116
|
+
setRow(rowIdx + 1);
|
|
117
|
+
|
|
118
|
+
break;
|
|
119
|
+
|
|
120
|
+
case " ":
|
|
121
|
+
e.preventDefault();
|
|
122
|
+
toggleRowSelection();
|
|
123
|
+
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
};
|
|
125
127
|
|
|
126
128
|
const buttonStyles = "h-6 w-6 p-0.5";
|
|
127
129
|
|
|
@@ -248,19 +250,29 @@ export const RowViewerPanel: React.FC<RowViewerPanelProps> = ({
|
|
|
248
250
|
className="flex flex-col gap-3 mt-4 focus:outline-hidden"
|
|
249
251
|
ref={panelRef}
|
|
250
252
|
tabIndex={-1}
|
|
253
|
+
onKeyDown={handleKeyDown}
|
|
251
254
|
>
|
|
252
|
-
<div className="flex flex-row gap-2 items-center mr-2">
|
|
255
|
+
<div className="flex flex-row gap-2 items-center mr-2 px-2">
|
|
253
256
|
{isSelectable && (
|
|
254
|
-
<div
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
257
|
+
<div
|
|
258
|
+
className="flex items-center"
|
|
259
|
+
title="Select/unselect the current row"
|
|
260
|
+
>
|
|
261
|
+
<div className="flex items-center gap-1.5">
|
|
262
|
+
<Checkbox
|
|
263
|
+
id={checkboxId}
|
|
264
|
+
checked={isRowSelected}
|
|
265
|
+
onCheckedChange={toggleRowSelection}
|
|
266
|
+
className="h-3.5 w-3.5"
|
|
267
|
+
/>
|
|
268
|
+
<label
|
|
269
|
+
htmlFor={checkboxId}
|
|
270
|
+
className="text-xs text-muted-foreground cursor-pointer"
|
|
271
|
+
>
|
|
272
|
+
Select
|
|
273
|
+
</label>
|
|
274
|
+
</div>
|
|
275
|
+
<KeyboardHotkeys shortcut="Space" className="scale-75" />
|
|
264
276
|
</div>
|
|
265
277
|
)}
|
|
266
278
|
|
|
@@ -315,17 +327,14 @@ export const RowViewerPanel: React.FC<RowViewerPanelProps> = ({
|
|
|
315
327
|
</Button>
|
|
316
328
|
</div>
|
|
317
329
|
|
|
318
|
-
<
|
|
319
|
-
<
|
|
320
|
-
ref={searchInputRef}
|
|
321
|
-
type="text"
|
|
330
|
+
<Command className="bg-background" shouldFilter={false}>
|
|
331
|
+
<CommandInput
|
|
322
332
|
placeholder="Search"
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
className="mb-0 border-border"
|
|
333
|
+
value={searchQuery}
|
|
334
|
+
onValueChange={setSearchQuery}
|
|
326
335
|
data-testid="selection-panel-search-input"
|
|
327
336
|
/>
|
|
328
|
-
</
|
|
337
|
+
</Command>
|
|
329
338
|
{renderTable()}
|
|
330
339
|
</div>
|
|
331
340
|
);
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
|
+
|
|
3
|
+
import { Fill } from "@marimo-team/react-slotz";
|
|
4
|
+
import type { OnChangeFn, RowSelectionState } from "@tanstack/react-table";
|
|
5
|
+
import type React from "react";
|
|
6
|
+
import { Button } from "@/components/ui/button";
|
|
7
|
+
import { Tabs, TabsContent } from "@/components/ui/tabs";
|
|
8
|
+
import { SlotNames } from "@/core/slots/slots";
|
|
9
|
+
import type {
|
|
10
|
+
GetRowResult,
|
|
11
|
+
PreviewColumn,
|
|
12
|
+
} from "@/plugins/impl/DataTablePlugin";
|
|
13
|
+
import { cn } from "@/utils/cn";
|
|
14
|
+
import {
|
|
15
|
+
PANEL_TYPES,
|
|
16
|
+
type PanelType,
|
|
17
|
+
} from "../../editor/chrome/panels/context-aware-panel/context-aware-panel";
|
|
18
|
+
import { ColumnExplorerPanel } from "../column-explorer-panel/column-explorer";
|
|
19
|
+
import { RowViewerPanel } from "../row-viewer-panel/row-viewer";
|
|
20
|
+
import type { FieldTypesWithExternalType, TooManyRows } from "../types";
|
|
21
|
+
|
|
22
|
+
export interface TableExplorerPanelProps {
|
|
23
|
+
// Row viewer props
|
|
24
|
+
rowIdx: number;
|
|
25
|
+
setRowIdx: (rowIdx: number) => void;
|
|
26
|
+
totalRows: number | TooManyRows;
|
|
27
|
+
fieldTypes: FieldTypesWithExternalType | undefined | null;
|
|
28
|
+
getRow: (rowIdx: number) => Promise<GetRowResult>;
|
|
29
|
+
isSelectable: boolean;
|
|
30
|
+
isRowSelected: boolean;
|
|
31
|
+
handleRowSelectionChange?: OnChangeFn<RowSelectionState>;
|
|
32
|
+
// Column explorer props
|
|
33
|
+
previewColumn?: PreviewColumn;
|
|
34
|
+
totalColumns: number;
|
|
35
|
+
tableId: string;
|
|
36
|
+
// Visibility flags
|
|
37
|
+
showRowExplorer: boolean;
|
|
38
|
+
showColumnExplorer: boolean;
|
|
39
|
+
// Tab state (driven by contextAwarePanelType atom)
|
|
40
|
+
activeTab: PanelType | null;
|
|
41
|
+
onTabChange: (tab: PanelType) => void;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const tabTriggerClassName =
|
|
45
|
+
"text-xs uppercase tracking-wide font-semibold cursor-pointer transition-colors";
|
|
46
|
+
const activeClassName = "text-primary";
|
|
47
|
+
const inactiveClassName = "hover:text-foreground";
|
|
48
|
+
|
|
49
|
+
export const TableExplorerPanel: React.FC<TableExplorerPanelProps> = ({
|
|
50
|
+
// Row viewer
|
|
51
|
+
rowIdx,
|
|
52
|
+
setRowIdx,
|
|
53
|
+
totalRows,
|
|
54
|
+
fieldTypes,
|
|
55
|
+
getRow,
|
|
56
|
+
isSelectable,
|
|
57
|
+
isRowSelected,
|
|
58
|
+
handleRowSelectionChange,
|
|
59
|
+
// Column explorer
|
|
60
|
+
previewColumn,
|
|
61
|
+
totalColumns,
|
|
62
|
+
tableId,
|
|
63
|
+
// Visibility
|
|
64
|
+
showRowExplorer,
|
|
65
|
+
showColumnExplorer,
|
|
66
|
+
// Tab state
|
|
67
|
+
activeTab,
|
|
68
|
+
onTabChange,
|
|
69
|
+
}) => {
|
|
70
|
+
const showTabs = showRowExplorer && showColumnExplorer;
|
|
71
|
+
|
|
72
|
+
const rowViewer = (
|
|
73
|
+
<RowViewerPanel
|
|
74
|
+
rowIdx={rowIdx}
|
|
75
|
+
setRowIdx={setRowIdx}
|
|
76
|
+
totalRows={totalRows}
|
|
77
|
+
fieldTypes={fieldTypes}
|
|
78
|
+
getRow={getRow}
|
|
79
|
+
isSelectable={isSelectable}
|
|
80
|
+
isRowSelected={isRowSelected}
|
|
81
|
+
handleRowSelectionChange={handleRowSelectionChange}
|
|
82
|
+
/>
|
|
83
|
+
);
|
|
84
|
+
|
|
85
|
+
const columnExplorer = previewColumn && (
|
|
86
|
+
<ColumnExplorerPanel
|
|
87
|
+
previewColumn={previewColumn}
|
|
88
|
+
fieldTypes={fieldTypes}
|
|
89
|
+
totalRows={totalRows}
|
|
90
|
+
totalColumns={totalColumns}
|
|
91
|
+
tableId={tableId}
|
|
92
|
+
/>
|
|
93
|
+
);
|
|
94
|
+
|
|
95
|
+
// If only one panel is visible, don't show tabs
|
|
96
|
+
if (!showTabs) {
|
|
97
|
+
if (showRowExplorer) {
|
|
98
|
+
return rowViewer;
|
|
99
|
+
}
|
|
100
|
+
if (showColumnExplorer) {
|
|
101
|
+
return columnExplorer;
|
|
102
|
+
}
|
|
103
|
+
return null;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// Resolve active tab — fall back to first available
|
|
107
|
+
const resolvedTab = activeTab ?? PANEL_TYPES.ROW_VIEWER;
|
|
108
|
+
|
|
109
|
+
return (
|
|
110
|
+
<Tabs
|
|
111
|
+
value={resolvedTab}
|
|
112
|
+
onValueChange={(value) => onTabChange(value as PanelType)}
|
|
113
|
+
className="h-full flex flex-col min-w-[350px]"
|
|
114
|
+
>
|
|
115
|
+
<Fill name={SlotNames.CONTEXT_AWARE_PANEL_HEADER}>
|
|
116
|
+
<div className="flex items-center gap-1">
|
|
117
|
+
<Button
|
|
118
|
+
variant="text"
|
|
119
|
+
size="xs"
|
|
120
|
+
onClick={() => onTabChange(PANEL_TYPES.ROW_VIEWER)}
|
|
121
|
+
className={cn(
|
|
122
|
+
tabTriggerClassName,
|
|
123
|
+
resolvedTab === PANEL_TYPES.ROW_VIEWER
|
|
124
|
+
? activeClassName
|
|
125
|
+
: inactiveClassName,
|
|
126
|
+
)}
|
|
127
|
+
>
|
|
128
|
+
Rows
|
|
129
|
+
</Button>
|
|
130
|
+
<span className="text-muted-foreground text-xs">|</span>
|
|
131
|
+
<Button
|
|
132
|
+
variant="text"
|
|
133
|
+
size="xs"
|
|
134
|
+
onClick={() => onTabChange(PANEL_TYPES.COLUMN_EXPLORER)}
|
|
135
|
+
className={cn(
|
|
136
|
+
tabTriggerClassName,
|
|
137
|
+
resolvedTab === PANEL_TYPES.COLUMN_EXPLORER
|
|
138
|
+
? activeClassName
|
|
139
|
+
: inactiveClassName,
|
|
140
|
+
)}
|
|
141
|
+
>
|
|
142
|
+
Explorer
|
|
143
|
+
</Button>
|
|
144
|
+
</div>
|
|
145
|
+
</Fill>
|
|
146
|
+
|
|
147
|
+
<TabsContent
|
|
148
|
+
value={PANEL_TYPES.ROW_VIEWER}
|
|
149
|
+
className="flex-1 overflow-auto"
|
|
150
|
+
>
|
|
151
|
+
{rowViewer}
|
|
152
|
+
</TabsContent>
|
|
153
|
+
<TabsContent
|
|
154
|
+
value={PANEL_TYPES.COLUMN_EXPLORER}
|
|
155
|
+
className="flex-1 overflow-auto"
|
|
156
|
+
>
|
|
157
|
+
{columnExplorer}
|
|
158
|
+
</TabsContent>
|
|
159
|
+
</Tabs>
|
|
160
|
+
);
|
|
161
|
+
};
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { CommandList } from "cmdk";
|
|
4
4
|
import { atom, useAtomValue, useSetAtom } from "jotai";
|
|
5
|
-
import { sortBy } from "lodash-es";
|
|
6
5
|
import { PlusIcon, PlusSquareIcon, XIcon } from "lucide-react";
|
|
7
6
|
import React from "react";
|
|
8
7
|
import { dbDisplayName } from "@/components/databases/display";
|
|
@@ -49,6 +48,7 @@ import { useRequestClient } from "@/core/network/requests";
|
|
|
49
48
|
import { variablesAtom } from "@/core/variables/state";
|
|
50
49
|
import type { VariableName } from "@/core/variables/types";
|
|
51
50
|
import { useAsyncData } from "@/hooks/useAsyncData";
|
|
51
|
+
import { sortBy } from "@/utils/arrays";
|
|
52
52
|
import { logNever } from "@/utils/assertNever";
|
|
53
53
|
import { cn } from "@/utils/cn";
|
|
54
54
|
import { Events } from "@/utils/events";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
2
|
|
|
3
3
|
import { useAtom, useAtomValue, useSetAtom } from "jotai";
|
|
4
|
-
import { startCase } from "lodash-es";
|
|
5
4
|
import {
|
|
6
5
|
BookMarkedIcon,
|
|
7
6
|
CheckIcon,
|
|
@@ -80,6 +79,7 @@ import {
|
|
|
80
79
|
import { Filenames } from "@/utils/filenames";
|
|
81
80
|
import { Objects } from "@/utils/objects";
|
|
82
81
|
import type { ProgressState } from "@/utils/progress";
|
|
82
|
+
import { Strings } from "@/utils/strings";
|
|
83
83
|
import { newNotebookURL } from "@/utils/urls";
|
|
84
84
|
import { useRunAllCells } from "../cell/useRunCells";
|
|
85
85
|
import { useChromeActions, useChromeState } from "../chrome/state";
|
|
@@ -385,7 +385,7 @@ export function useNotebookActions() {
|
|
|
385
385
|
return [];
|
|
386
386
|
}
|
|
387
387
|
return {
|
|
388
|
-
label: startCase(id),
|
|
388
|
+
label: Strings.startCase(id),
|
|
389
389
|
rightElement: renderCheckboxElement(selectedPanel === id),
|
|
390
390
|
icon: <Icon size={14} strokeWidth={1.5} />,
|
|
391
391
|
handle: () => toggleApplication(id),
|
|
@@ -21,7 +21,12 @@ import {
|
|
|
21
21
|
isPinnedAtom,
|
|
22
22
|
} from "./atoms";
|
|
23
23
|
|
|
24
|
-
export
|
|
24
|
+
export const PANEL_TYPES = {
|
|
25
|
+
ROW_VIEWER: "row-viewer",
|
|
26
|
+
COLUMN_EXPLORER: "column-explorer",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
29
|
+
export type PanelType = (typeof PANEL_TYPES)[keyof typeof PANEL_TYPES];
|
|
25
30
|
|
|
26
31
|
export const ContextAwarePanel: React.FC = () => {
|
|
27
32
|
const [owner, setOwner] = useAtom(contextAwarePanelOwner);
|
|
@@ -51,7 +56,7 @@ export const ContextAwarePanel: React.FC = () => {
|
|
|
51
56
|
aria-label={isPinned ? "Unpin panel" : "Pin panel"}
|
|
52
57
|
>
|
|
53
58
|
{isPinned ? (
|
|
54
|
-
<PinIcon className="w-4 h-4" />
|
|
59
|
+
<PinIcon className="w-4 h-4 text-primary" />
|
|
55
60
|
) : (
|
|
56
61
|
<PinOffIcon className="w-4 h-4" />
|
|
57
62
|
)}
|
|
@@ -95,16 +100,18 @@ export const ContextAwarePanel: React.FC = () => {
|
|
|
95
100
|
|
|
96
101
|
const renderBody = () => {
|
|
97
102
|
return (
|
|
98
|
-
<div className="
|
|
99
|
-
<div className="
|
|
103
|
+
<div className="pb-7 mb-4 h-full overflow-auto">
|
|
104
|
+
<div className="p-3 border-b flex justify-between items-center">
|
|
100
105
|
{renderModeToggle()}
|
|
106
|
+
<Slot name={SlotNames.CONTEXT_AWARE_PANEL_HEADER} />
|
|
101
107
|
<Button
|
|
102
|
-
variant="
|
|
103
|
-
size="
|
|
108
|
+
variant="text"
|
|
109
|
+
size="xs"
|
|
110
|
+
className="m-0"
|
|
104
111
|
onClick={closePanel}
|
|
105
112
|
aria-label="Close selection panel"
|
|
106
113
|
>
|
|
107
|
-
<XIcon className="w-4 h-4" />
|
|
114
|
+
<XIcon className="w-4 h-4 hover:text-destructive" />
|
|
108
115
|
</Button>
|
|
109
116
|
</div>
|
|
110
117
|
|
|
@@ -126,7 +133,7 @@ export const ContextAwarePanel: React.FC = () => {
|
|
|
126
133
|
onDragging={handleDragging}
|
|
127
134
|
className="resize-handle border-border z-20 print:hidden border-l"
|
|
128
135
|
/>
|
|
129
|
-
<Panel defaultSize={
|
|
136
|
+
<Panel defaultSize={25} minSize={25} maxSize={80}>
|
|
130
137
|
{renderBody()}
|
|
131
138
|
</Panel>
|
|
132
139
|
</>
|
|
@@ -150,7 +157,7 @@ interface ResizableComponentProps {
|
|
|
150
157
|
const ResizableComponent = ({ children }: ResizableComponentProps) => {
|
|
151
158
|
const { resizableDivRef, handleRefs, style } = useResizeHandle({
|
|
152
159
|
startingWidth: 400,
|
|
153
|
-
minWidth:
|
|
160
|
+
minWidth: 400,
|
|
154
161
|
maxWidth: 1500,
|
|
155
162
|
onResize: () => {
|
|
156
163
|
raf2(() => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
2
|
|
|
3
3
|
import { atom, useAtomValue, useSetAtom } from "jotai";
|
|
4
|
-
import { startCase } from "lodash-es";
|
|
5
4
|
import { AlertCircleIcon, CheckCircle2Icon, PowerOffIcon } from "lucide-react";
|
|
6
5
|
import type React from "react";
|
|
7
6
|
import { Spinner } from "@/components/icons/spinner";
|
|
@@ -18,6 +17,7 @@ import {
|
|
|
18
17
|
} from "@/core/websocket/connection-utils";
|
|
19
18
|
import { useAsyncData } from "@/hooks/useAsyncData";
|
|
20
19
|
import { useInterval } from "@/hooks/useInterval";
|
|
20
|
+
import { Strings } from "@/utils/strings";
|
|
21
21
|
|
|
22
22
|
const CHECK_HEALTH_INTERVAL_MS = 30_000;
|
|
23
23
|
|
|
@@ -84,7 +84,7 @@ export const BackendConnectionStatus: React.FC = () => {
|
|
|
84
84
|
return "Not connected to a runtime";
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
const baseStatus = startCase(connection.toLowerCase());
|
|
87
|
+
const baseStatus = Strings.startCase(connection.toLowerCase());
|
|
88
88
|
const healthInfo = data?.lastChecked
|
|
89
89
|
? data.isHealthy
|
|
90
90
|
? "✓ Healthy"
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
2
|
|
|
3
|
-
import { partition } from "lodash-es";
|
|
4
3
|
import { KeyIcon, PlusCircleIcon } from "lucide-react";
|
|
5
4
|
import { createContext, type ReactNode, use } from "react";
|
|
6
5
|
import { z } from "zod";
|
|
@@ -28,6 +27,7 @@ import { Input } from "@/components/ui/input";
|
|
|
28
27
|
import { NumberField } from "@/components/ui/number-field";
|
|
29
28
|
import { SECRETS_REGISTRY } from "@/core/secrets/request-registry";
|
|
30
29
|
import { useAsyncData } from "@/hooks/useAsyncData";
|
|
30
|
+
import { partition } from "@/utils/arrays";
|
|
31
31
|
import { cn } from "@/utils/cn";
|
|
32
32
|
import { Functions } from "@/utils/functions";
|
|
33
33
|
import {
|
|
@@ -15,7 +15,6 @@ import type { GridLayout, GridLayoutCellSide } from "./types";
|
|
|
15
15
|
import "react-grid-layout/css/styles.css";
|
|
16
16
|
import "./styles.css";
|
|
17
17
|
import { BorderAllIcon } from "@radix-ui/react-icons";
|
|
18
|
-
import { startCase } from "lodash-es";
|
|
19
18
|
import {
|
|
20
19
|
AlignEndVerticalIcon,
|
|
21
20
|
AlignHorizontalSpaceAroundIcon,
|
|
@@ -43,6 +42,7 @@ import { useIsDragging } from "@/hooks/useIsDragging";
|
|
|
43
42
|
import { cn } from "@/utils/cn";
|
|
44
43
|
import { Maps } from "@/utils/maps";
|
|
45
44
|
import { Objects } from "@/utils/objects";
|
|
45
|
+
import { Strings } from "@/utils/strings";
|
|
46
46
|
|
|
47
47
|
type Props = ICellRendererProps<GridLayout>;
|
|
48
48
|
|
|
@@ -637,7 +637,7 @@ const GridHoverActions: React.FC<GridHoverActionsProps> = ({
|
|
|
637
637
|
{Objects.entries(SIDE_TO_ICON).map(([option, Icon]) => (
|
|
638
638
|
<DropdownMenuItem key={option} onSelect={() => setSide(option)}>
|
|
639
639
|
<Icon className={"h-4 w-3 mr-2"} />
|
|
640
|
-
<span className="flex-1">{startCase(option)}</span>
|
|
640
|
+
<span className="flex-1">{Strings.startCase(option)}</span>
|
|
641
641
|
{option === side && <CheckIcon className="h-4 w-4" />}
|
|
642
642
|
</DropdownMenuItem>
|
|
643
643
|
))}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
2
|
|
|
3
|
-
import { startCase } from "lodash-es";
|
|
4
3
|
import {
|
|
5
4
|
Grid3x3Icon,
|
|
6
5
|
ListIcon,
|
|
@@ -21,6 +20,7 @@ import { getFeatureFlag } from "@/core/config/feature-flag";
|
|
|
21
20
|
import { useLayoutActions, useLayoutState } from "@/core/layout/layout";
|
|
22
21
|
import { isWasm } from "@/core/wasm/utils";
|
|
23
22
|
import { logNever } from "@/utils/assertNever";
|
|
23
|
+
import { Strings } from "@/utils/strings";
|
|
24
24
|
import { LAYOUT_TYPES, type LayoutType } from "./types";
|
|
25
25
|
|
|
26
26
|
export const LayoutSelect: React.FC = () => {
|
|
@@ -82,5 +82,5 @@ export function getLayoutIcon(layoutType: LayoutType) {
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
export function displayLayoutName(layoutType: LayoutType) {
|
|
85
|
-
return startCase(layoutType);
|
|
85
|
+
return Strings.startCase(layoutType);
|
|
86
86
|
}
|
|
@@ -11,7 +11,6 @@ import {
|
|
|
11
11
|
type SortingState,
|
|
12
12
|
useReactTable,
|
|
13
13
|
} from "@tanstack/react-table";
|
|
14
|
-
import { sortBy } from "lodash-es";
|
|
15
14
|
import { SquareEqualIcon, WorkflowIcon } from "lucide-react";
|
|
16
15
|
import React, { memo, useMemo } from "react";
|
|
17
16
|
import { useLocale } from "react-aria";
|
|
@@ -21,6 +20,7 @@ import type { CellId } from "@/core/cells/ids";
|
|
|
21
20
|
import { isInternalCellName } from "@/core/cells/names";
|
|
22
21
|
import { goToVariableDefinition } from "@/core/codemirror/go-to-definition/commands";
|
|
23
22
|
import type { Variable, Variables } from "@/core/variables/types";
|
|
23
|
+
import { sortBy } from "@/utils/arrays";
|
|
24
24
|
import { cn } from "@/utils/cn";
|
|
25
25
|
import { DataTableColumnHeader } from "../data-table/column-header";
|
|
26
26
|
import { CellLinkList } from "../editor/links/cell-link-list";
|
package/src/core/cells/cells.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
2
|
|
|
3
3
|
import { historyField } from "@codemirror/commands";
|
|
4
|
+
import { dequal as isEqual } from "dequal";
|
|
4
5
|
import { type Atom, atom, useAtom, useAtomValue } from "jotai";
|
|
5
6
|
import { atomFamily, selectAtom, splitAtom } from "jotai/utils";
|
|
6
|
-
import { isEqual } from "lodash-es";
|
|
7
7
|
import { createRef, type ReducerWithoutAction } from "react";
|
|
8
8
|
import type { CellHandle } from "@/components/editor/notebook-cell";
|
|
9
9
|
import {
|