@marimo-team/islands 0.25.2-dev0 → 0.25.2-dev100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ConnectedDataExplorerComponent-C2d9ysUI.js → ConnectedDataExplorerComponent-BZmqc_F0.js} +11 -11
- package/dist/{ErrorBoundary-2usl042r.js → ErrorBoundary-Dcb6Zg4M.js} +8 -8
- package/dist/{abnfDiagram-VCTEODGH-AFhOQTt8.js → abnfDiagram-VCTEODGH-C_Lmaa2j.js} +3 -3
- package/dist/{any-language-editor-CycIVIeP.js → any-language-editor-BFzqhOBR.js} +5 -5
- package/dist/{apl-BYaaig9_.js → apl-GEW9-ZP1.js} +1 -1
- package/dist/{architectureDiagram-5GKGNRK7-BngksAAQ.js → architectureDiagram-5GKGNRK7-BKMataHB.js} +5 -5
- package/dist/{asciiarmor-GKQFJXQG.js → asciiarmor-BWNxzkG7.js} +1 -1
- package/dist/{asn1-BsSb7HP5.js → asn1-Bcn2QutK.js} +1 -1
- package/dist/assets/__vite-browser-external-BqAtzd2P.js +1 -0
- package/dist/assets/{worker-D7hWi02M.js → worker-Bf8dt6S-.js} +5 -5
- package/dist/{asterisk-B3I8SNb5.js → asterisk-lE36-hJK.js} +1 -1
- package/dist/{blockDiagram-I7D4REHJ-CvBmppdy.js → blockDiagram-I7D4REHJ-BeHOjyDk.js} +9 -9
- package/dist/{brainfuck-DXjk3bQe.js → brainfuck-BQCYDheZ.js} +1 -1
- package/dist/{button-DdXAm8iz.js → button-BtsM2UqM.js} +312 -283
- package/dist/{c4Diagram-7LVT6UL2-EceL4_jH.js → c4Diagram-7LVT6UL2-Bao10t_O.js} +7 -7
- package/dist/{capabilities-B3ce_GNu.js → capabilities-A5jrzjCJ.js} +1 -1
- package/dist/{cells-Cv93oav_.js → cells-DZi0ioak.js} +4330 -4313
- package/dist/{channel-z7HZXHwv.js → channel-BxCkvUgE.js} +1 -1
- package/dist/{chat-ui-fVyVOhYN.js → chat-ui-CwOWzoSO.js} +46 -46
- package/dist/{check-B7cIK6gb.js → check-CNP79M3A.js} +1 -1
- package/dist/{chunk-4HAMMTFA-BPTTOOC5.js → chunk-4HAMMTFA-CH7Gpamd.js} +5 -5
- package/dist/{chunk-75Z2AOVW-C4AOleKf.js → chunk-75Z2AOVW-AI7CvgKn.js} +1 -1
- package/dist/{chunk-DU6HZSFF-1TwWR6gh.js → chunk-DU6HZSFF-BSvuTkX4.js} +1 -1
- package/dist/{chunk-F27PBJKO-DMI1PBe4.js → chunk-F27PBJKO-CLshwT9T.js} +1 -1
- package/dist/{chunk-GMAD6QVW-vStrMz2P.js → chunk-GMAD6QVW-wnHcn-lH.js} +3 -3
- package/dist/{chunk-GVQU2GXP-2HwWgs4u.js → chunk-GVQU2GXP-7O2p8hut.js} +2 -2
- package/dist/{chunk-IMKFNOWR-UOVZuZVn.js → chunk-IMKFNOWR-Bu0Vh_Yi.js} +6 -6
- package/dist/{chunk-L3NEJ4N5-RhC7i0I2.js → chunk-L3NEJ4N5-B9_Alrxb.js} +5 -5
- package/dist/{chunk-OSK3NFVY-CZV09N-U.js → chunk-OSK3NFVY-PeQPH2fD.js} +6 -6
- package/dist/{chunk-P2QGCYS3-0TAWai9C.js → chunk-P2QGCYS3-D9twiFuU.js} +1 -1
- package/dist/{chunk-POPQ4Y6H-Cc3_56GX.js → chunk-POPQ4Y6H-BUiNs18s.js} +1 -1
- package/dist/{chunk-PWAF6VOD-lNxB9k8z.js → chunk-PWAF6VOD-D8S9NPCy.js} +1 -1
- package/dist/{chunk-SHT3W25Y-CrEPyWy1.js → chunk-SHT3W25Y-B2dyNZ31.js} +8 -8
- package/dist/{chunk-SVP7TREG-uIyyySp6.js → chunk-SVP7TREG-D7UPvB10.js} +2 -2
- package/dist/{chunk-TICWLB2K-DdXM3eg6.js → chunk-TICWLB2K-BNaGoadd.js} +6 -6
- package/dist/classDiagram-ZZMXUADV-Bbo2n384.js +30 -0
- package/dist/classDiagram-v2-VYDZK3BY-xR8cGP0r.js +30 -0
- package/dist/{clike-E2lFbGVj.js → clike-CxK9W55Z.js} +1 -1
- package/dist/{clojure-Dn_K4RlK.js → clojure-Dzcvwpxk.js} +1 -1
- package/dist/{cmake-DpN2Top5.js → cmake-DYr-71zp.js} +1 -1
- package/dist/{cobol-Chf22-GM.js → cobol-DC3g37Kq.js} +1 -1
- package/dist/{code-visibility-rUDTB2Ce.js → code-visibility-DTB0i3UU.js} +6 -6
- package/dist/{coffeescript-BVe1OiD9.js → coffeescript-C-eFwH5N.js} +1 -1
- package/dist/{common-BVErJKjc.js → common-CaVEr6tY.js} +11801 -11503
- package/dist/{commonlisp-DxoBG7fU.js → commonlisp-CyaNXrJR.js} +1 -1
- package/dist/{copy-icon-CLdENY__.js → copy-icon-BY7jgcaV.js} +3 -3
- package/dist/{crystal-DCM3yc4r.js → crystal-ih5ax5tQ.js} +1 -1
- package/dist/{css-DkZ9mMyI.js → css-CN_wP7_R.js} +1 -1
- package/dist/{cynefinDiagram-5FMLGOSQ-zknaAsGy.js → cynefinDiagram-5FMLGOSQ-CCDn4Z9e.js} +3 -3
- package/dist/{cypher-Drw_8U5I.js → cypher-CqGRcmZo.js} +1 -1
- package/dist/{d-CsVGcKMF.js → d-Cj0sOW2z.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-BhMOoMGJ.js → dagre-GXQ25YYZ-BJiUO_SV.js} +10 -10
- package/dist/{data-grid-overlay-editor-7ANmo9c-.js → data-grid-overlay-editor-BzTuqI2T.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-V5-Z-EDY.js → diagram-S7CK7UJ4-BZfxFNRR.js} +4 -4
- package/dist/{diagram-UQ7AKVKN-qw8AjDal.js → diagram-UQ7AKVKN-1xcsiIMg.js} +3 -3
- package/dist/{diagram-VSXAHHWV-CR7BJygZ.js → diagram-VSXAHHWV-DPAWJ9Nw.js} +2 -2
- package/dist/{diagram-VX7I27RA-DfuqFb1E.js → diagram-VX7I27RA-DmRsnHYY.js} +5 -5
- package/dist/{diagram-Z3DM3KII-DpWwlYZB.js → diagram-Z3DM3KII--b49ryKx.js} +3 -3
- package/dist/{dialog-CgNq6y9-.js → dialog-CmExhUDI.js} +26 -26
- package/dist/{diff-CBikYCUF.js → diff-B_hUkiat.js} +1 -1
- package/dist/{dist-Df0wKI0F.js → dist-BK4Oj99o.js} +1 -1
- package/dist/{dist-BVGtK7Ht.js → dist-BLfKmR-l.js} +1 -1
- package/dist/{dist-B8D7McG3.js → dist-BMQf5zIS.js} +46 -46
- package/dist/{dist-C2KzV-vf.js → dist-BorMD-uX.js} +2 -2
- package/dist/{dist-Cs2FijYk.js → dist-BuaRHxOc.js} +2 -2
- package/dist/{dist-DPcEtqmG.js → dist-Bvs24R_E.js} +47 -47
- package/dist/{dist-lA1Cttkb.js → dist-C8fAKSH1.js} +41 -41
- package/dist/{dist-DszxuxS1.js → dist-CLdpGQVr.js} +2 -2
- package/dist/{dist-CO1AwwG_.js → dist-CN8zI-XC.js} +209 -209
- package/dist/{dist-D1PpnuZB.js → dist-CN_BeG2I.js} +1 -1
- package/dist/{dist-CPGxfVGX.js → dist-CSJ0MDRw.js} +1 -1
- package/dist/{dist-Cm3iAFMD.js → dist-CSbh1PNP.js} +3 -3
- package/dist/{dist-9x1ZRe-e.js → dist-Cg7gzw-a.js} +2 -2
- package/dist/{dist-B1vYLK28.js → dist-CkTTIdBe.js} +345 -345
- package/dist/{dist-BRxfaJgs.js → dist-CrSP_H1M.js} +296 -296
- package/dist/{dist-C2wDlYdD.js → dist-D-wwqlzJ.js} +2 -2
- package/dist/{dist-BtKIs9N-.js → dist-D6d86eNJ.js} +1 -1
- package/dist/{dist-DHOTQar0.js → dist-DBtSl3sf.js} +1 -1
- package/dist/{dist-KzZ7WELx.js → dist-DiDibOYr.js} +120 -120
- package/dist/{dist-Kxgjxakw.js → dist-DoE4XJBC.js} +1277 -1222
- package/dist/{dist-BHCHt1NI.js → dist-F8Ep36rk.js} +1 -1
- package/dist/{dist-C8xMLVYi.js → dist-OR1OnN-y.js} +44 -44
- package/dist/{dist-1HDa70oE.js → dist-PXYI_yuP.js} +3 -3
- package/dist/{dist-CMh_W4y4.js → dist-diIx5qJW.js} +2 -2
- package/dist/{dockerfile-DJnSntVB.js → dockerfile-D0VKN500.js} +2 -2
- package/dist/dropdown-menu-Cz4TdOJh.js +4678 -0
- package/dist/{dtd-BHa4v0Bn.js → dtd-B8FGSWWe.js} +1 -1
- package/dist/{dylan-BypL2Zz8.js → dylan-DbIBYIrw.js} +1 -1
- package/dist/{ebnf-5guncNu-.js → ebnf-D-YbYLdk.js} +1 -1
- package/dist/{ebnfDiagram-PWID7BFC-C20OnNMZ.js → ebnfDiagram-PWID7BFC-rSwVyh4y.js} +3 -3
- package/dist/{ecl-iRcVIKYZ.js → ecl-DBmkdWAd.js} +1 -1
- package/dist/{eiffel-BEqF9aU4.js → eiffel-CcWSDDzK.js} +1 -1
- package/dist/{elm-DYcfNE9c.js → elm-MC-b8a6C.js} +1 -1
- package/dist/{erDiagram-RLTQ6QDP-DBXLWO9v.js → erDiagram-RLTQ6QDP-Bfd3iAoC.js} +12 -12
- package/dist/{erlang-BtAuIoF0.js → erlang-AdO1-xtV.js} +1 -1
- package/dist/error-banner-D30nA9nE.js +362 -0
- package/dist/{error-entries-DLl0XqoW.js → error-entries-BovkFYNy.js} +2 -2
- package/dist/{esm-BElI3qKH.js → esm-D2gTsXEV.js} +579 -579
- package/dist/{esm-h8f7-1CJ.js → esm-DAVrGVKP.js} +378 -372
- package/dist/{factor-3nzOwLuN.js → factor-Ys-13HOP.js} +2 -2
- package/dist/{fcl-C90TGnJJ.js → fcl-DnwditDr.js} +1 -1
- package/dist/{feedback-button-K1inEVfd.js → feedback-button-CHGz2EXX.js} +10 -10
- package/dist/flowDiagram-HODETNUW-D7IBKS12.js +16 -0
- package/dist/{formats-Cl_67ghI.js → formats-DhhbdyAH.js} +3 -3
- package/dist/{forth-DEaRrLUi.js → forth-DiMuIXFe.js} +1 -1
- package/dist/{fortran-Bv6JRUjY.js → fortran-hkrF2eM4.js} +1 -1
- package/dist/{ganttDiagram-EL5Y4UJY-cRRaDt88.js → ganttDiagram-EL5Y4UJY-B4m_YsKa.js} +2 -2
- package/dist/{gas-JNerWj3-.js → gas-DlhqN9k8.js} +1 -1
- package/dist/{gherkin-CSrl-H70.js → gherkin-0SlhEZ3t.js} +1 -1
- package/dist/{gitGraphDiagram-WWUBYQGX-Pox5k9-Y.js → gitGraphDiagram-WWUBYQGX-QRBbvWXh.js} +2 -2
- package/dist/{glide-data-editor-D2fDO5aG.js → glide-data-editor-WxMsJlmb.js} +11 -11
- package/dist/{glide-utils-B3rUT5PI.js → glide-utils-BVJ4fkxX.js} +3 -3
- package/dist/{globals-NylFP0CX.js → globals-BROokniw.js} +3 -3
- package/dist/{groovy-X7euO_vE.js → groovy-YhcTMyvX.js} +1 -1
- package/dist/{haskell-C48Z70Az.js → haskell-CodLxrtT.js} +1 -1
- package/dist/{haxe-CAUWMmwR.js → haxe-CiRWNFkH.js} +1 -1
- package/dist/{html-to-image-CmkwfNkf.js → html-to-image-Cn1_16-x.js} +543 -565
- package/dist/{http-BrSBnhDH.js → http-Bh6HhdNR.js} +1 -1
- package/dist/{idl-BXuPleZv.js → idl-DZgBq75I.js} +1 -1
- package/dist/{infoDiagram-27XIBGKW-ntpxMfrq.js → infoDiagram-27XIBGKW-DVQFYvhg.js} +2 -2
- package/dist/{ishikawaDiagram-5VMMS53U-BllIlHE5.js → ishikawaDiagram-5VMMS53U-viPND-nm.js} +3 -3
- package/dist/{javascript-B4EPWJf_.js → javascript-BfNytHiM.js} +1 -1
- package/dist/{journeyDiagram-3NMN7TZE-EPJDPlt0.js → journeyDiagram-3NMN7TZE-BeeJdJo3.js} +2 -2
- package/dist/{julia-ke9Kh8b7.js → julia--tLIAG7q.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-GYtNMjtS.js → kanban-definition-UXKFOSKX-Dcl_ECO9.js} +9 -9
- package/dist/{label-BslhXqL6.js → label-DQO1jFjf.js} +96 -93
- package/dist/{livescript-Ce4uqGAC.js → livescript-CVPfYnY_.js} +1 -1
- package/dist/{loader-DEZSzvma.js → loader-Cm-ATtou.js} +1 -1
- package/dist/{lua-D6fti_Jk.js → lua-4Fa-T-qq.js} +1 -1
- package/dist/main.js +6966 -6827
- package/dist/{mathematica-DcEpZ3Vj.js → mathematica-CtYAy6GG.js} +1 -1
- package/dist/{mbox-DFBbOu0X.js → mbox-D0w9Ah1C.js} +1 -1
- package/dist/{mermaid-Dnzoxjt1.js → mermaid-BfhcnSj-.js} +54 -54
- package/dist/{mindmap-definition-YA3MSWOX-Cth76xgH.js → mindmap-definition-YA3MSWOX-BdxxhF-5.js} +11 -11
- package/dist/{mirc-CqeibO3N.js → mirc-De9aSAZM.js} +1 -1
- package/dist/{mllike-D54QZYTP.js → mllike-BbugeaY_.js} +1 -1
- package/dist/{modelica-DuML2-8V.js → modelica-BjJwWw1F.js} +1 -1
- package/dist/{mscgen-CJmKwp3b.js → mscgen-DwiRH5ma.js} +1 -1
- package/dist/{mumps-DaVgFtkd.js → mumps--plbDM9o.js} +1 -1
- package/dist/{nginx-BXN1rqI0.js → nginx-C4Df7REc.js} +1 -1
- package/dist/{nsis-CMfRqf0V.js → nsis-fiiOqLc3.js} +7 -7
- package/dist/{ntriples-BiOGlMDR.js → ntriples-jV77I4k8.js} +1 -1
- package/dist/{number-overlay-editor-B4XyCoMu.js → number-overlay-editor-DCj0MZgn.js} +1 -1
- package/dist/{octave-CgVnzxKk.js → octave-Cztd01tF.js} +1 -1
- package/dist/{oz-B2mky97X.js → oz-Bl8o3BDl.js} +1 -1
- package/dist/{pascal-BoZhBf6s.js → pascal-BO5JqysR.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-Cu4uOXii.js → pegDiagram-XKGWAZYB-Du5p2s0w.js} +3 -3
- package/dist/{perl-DjzMqXtt.js → perl-Drlh9s6m.js} +1 -1
- package/dist/{pieDiagram-E7YTZNPT-Bh3eDa9s.js → pieDiagram-E7YTZNPT-DJg-SOIq.js} +3 -3
- package/dist/{pig-B2mB-01d.js → pig-BWGR8wZw.js} +1 -1
- package/dist/{powershell-D0zT88Aj.js → powershell-DT99xlz_.js} +1 -1
- package/dist/{process-output-CYN5E-iO.js → process-output-CUG57KRp.js} +4 -4
- package/dist/{properties-3_5qCgOj.js → properties-Q-rkxld0.js} +1 -1
- package/dist/{protobuf-Dgoxfi1H.js → protobuf-DKyWZbs7.js} +1 -1
- package/dist/{pug-CNRdd8oG.js → pug-42ZJUbEC.js} +2 -2
- package/dist/{puppet-DzILxZfz.js → puppet-B4UozHhh.js} +1 -1
- package/dist/purify.es-DMv5zIkJ.js +866 -0
- package/dist/{python-AfVdMn_l.js → python-DREjAV__.js} +1 -1
- package/dist/{q-C6p-CGWh.js → q-Bi63IpBO.js} +1 -1
- package/dist/{quadrantDiagram-AXDQQJYC--kqzFC3w.js → quadrantDiagram-AXDQQJYC-keLfFx9f.js} +1 -1
- package/dist/{r-CzKF1D2X.js → r-DSwXWKMR.js} +1 -1
- package/dist/{railroadDiagram-O6MQD6OU-DG-M6Rnc.js → railroadDiagram-O6MQD6OU-C0ojm-6_.js} +3 -3
- package/dist/{requirementDiagram-BXWQKSXE-DCwsThh0.js → requirementDiagram-BXWQKSXE-CNwNBmI3.js} +11 -11
- package/dist/{reveal-component-Dtm5GH3p.js → reveal-component-CSY54dq4.js} +10 -10
- package/dist/{rpm-Bx7FkjTO.js → rpm-DPb1DeKM.js} +1 -1
- package/dist/{ruby-BMzgq2bf.js → ruby-U7fZA4DP.js} +2 -2
- package/dist/{sankeyDiagram-P5KCCOFB-BdzhT0BM.js → sankeyDiagram-P5KCCOFB-Bh4EsJox.js} +1 -1
- package/dist/{sas-ClGVnK3F.js → sas-CLk1JpTn.js} +1 -1
- package/dist/{scheme-C0MXqXep.js → scheme-CT-2k2Tl.js} +1 -1
- package/dist/select-Bs-nmvm6.js +1344 -0
- package/dist/{sequenceDiagram-WJ2MYXX4-CbXB1_PU.js → sequenceDiagram-WJ2MYXX4-DQaW5qBG.js} +4 -4
- package/dist/{shell-CiQZv6oG.js → shell-BLO7fcsk.js} +1 -1
- package/dist/{sieve-BiIMePvV.js → sieve-nG3C7WNH.js} +1 -1
- package/dist/{simple-mode-8ETW2RS6.js → simple-mode-C683Q7or.js} +1 -1
- package/dist/{smalltalk-9-llftyG.js → smalltalk-BROcZybA.js} +1 -1
- package/dist/{solr-CxCKEuwq.js → solr-mVltHNc5.js} +1 -1
- package/dist/{sparql-BRmy7pzx.js → sparql-Cv1Ksr4v.js} +1 -1
- package/dist/{spec-DQBRQSba.js → spec-DVsoMvYT.js} +116 -135
- package/dist/{spreadsheet-UCNUIGsn.js → spreadsheet-BwTnp5K_.js} +1 -1
- package/dist/{sql-D0hSGZ-H.js → sql-CjLt0122.js} +1 -1
- package/dist/{stateDiagram-D77RDMKH-A-Zf3Sb2.js → stateDiagram-D77RDMKH-BDa515QC.js} +13 -13
- package/dist/stateDiagram-v2-MP3YSRHH-ChNddepZ.js +30 -0
- package/dist/{stex-UeT_Aofp.js → stex-Btf3omL8.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{stylus-Fi4waA2H.js → stylus-Dt4VvLXL.js} +1 -1
- package/dist/{swift-NqPyaBye.js → swift-DHsn_CVI.js} +1 -1
- package/dist/{swimlanes-42K2YHIH-B_pMf0J4.js → swimlanes-42K2YHIH-M4IdGi8J.js} +10 -10
- package/dist/swimlanesDiagram-VR7AAH4N-FUSwmzEp.js +30 -0
- package/dist/{swiper-component-IOUowglM.js → swiper-component-CpN-hewZ.js} +2 -2
- package/dist/{tcl-B4f0xfmM.js → tcl-CV0OLBOl.js} +1 -1
- package/dist/{textile-CnNbnPTe.js → textile-D320oKVM.js} +1 -1
- package/dist/{tiddlywiki-CSGSOg38.js → tiddlywiki-BVVNvfy4.js} +1 -1
- package/dist/{tiki-9F02WBA6.js → tiki-BF2aDPlB.js} +1 -1
- package/dist/{timeline-definition-24CTP7MA-DTXFjTTM.js → timeline-definition-24CTP7MA-DH-kvakg.js} +3 -3
- package/dist/{toDate-C67bxMWn.js → toDate-vEi5kTfY.js} +4 -5
- package/dist/{toast-DvY70eFX.js → toast-DfEpJedt.js} +157 -161
- package/dist/{toml-AesZ6RBt.js → toml-CaUN7UHo.js} +1 -1
- package/dist/{tooltip-qB8NlSqV.js → tooltip-CuNWg2ay.js} +543 -579
- package/dist/{troff-DlfvveK1.js → troff-DQUFcClZ.js} +1 -1
- package/dist/{ttcn--YVSkGs_.js → ttcn-CQL1duJS.js} +1 -1
- package/dist/{ttcn-cfg-Bb1Knl_J.js → ttcn-cfg-BMmEFJPu.js} +1 -1
- package/dist/{turtle-DC24v1bz.js → turtle-C3esgsRr.js} +1 -1
- package/dist/{use-restore-focus-D5D9xEjZ.js → use-restore-focus-kmgwrL8q.js} +1833 -1625
- package/dist/{useAsyncData-BD6AStMt.js → useAsyncData-rkAlR_vh.js} +1 -1
- package/dist/{useDateFormatter-BXQGu86d.js → useDateFormatter-C-tz65rD.js} +52 -31
- package/dist/{useDeepCompareMemoize-D_HNdyvI.js → useDeepCompareMemoize-BlHFBj5_.js} +1 -1
- package/dist/{useIframeCapabilities-CVtNkI3Y.js → useIframeCapabilities-C1Bt04Iz.js} +1 -1
- package/dist/{useLifecycle-DPgiiwwU.js → useLifecycle-B68iY077.js} +3 -3
- package/dist/{useTheme-DzXmYZ5V.js → useTheme-BwSgeAFb.js} +2 -2
- package/dist/{vb-Dpc8vhvF.js → vb-RK1eDXRl.js} +1 -1
- package/dist/{vbscript-B-Y1XnZe.js → vbscript-BCOeM0de.js} +1 -1
- package/dist/{vega-component-tFOzgarw.js → vega-component-C-bPttRN.js} +9 -9
- package/dist/{velocity-DHMu9kc-.js → velocity-CZKOFbOI.js} +1 -1
- package/dist/{vennDiagram-4TSXK5OY-BPHjZo0R.js → vennDiagram-4TSXK5OY-d5g7XeiI.js} +3 -3
- package/dist/{verilog-DhiEaoUl.js → verilog-DqQTzVn8.js} +1 -1
- package/dist/{vhdl-D4X23YKO.js → vhdl-vQr2bfmi.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-6fTLYBuD.js → wardleyDiagram-VM6X3IG4-BfX3bSzR.js} +3 -3
- package/dist/{webidl-SyzNxWpJ.js → webidl-DzX7N40e.js} +1 -1
- package/dist/{xquery-BC2R4Hk6.js → xquery-Cw_Q_hGR.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-BYjwjrzE.js → xychartDiagram-S5SC5T6Z-C1QsLZg7.js} +5 -5
- package/dist/{yacas-DLNXPMmH.js → yacas-DiC4jJBE.js} +1 -1
- package/dist/{z80-CDXWHOO6.js → z80-CUOQDEJO.js} +1 -1
- package/package.json +24 -23
- package/src/__tests__/mount.test.ts +6 -6
- package/src/components/chat/__tests__/chat-history-popover.test.tsx +157 -0
- package/src/components/chat/chat-history-popover.tsx +98 -17
- package/src/components/chat/chat-panel.tsx +29 -0
- package/src/components/chat/tool-call/__tests__/tool-result.test.tsx +56 -0
- package/src/components/chat/tool-call/tool-result.tsx +3 -3
- package/src/components/data-table/TableTopBar.tsx +4 -0
- package/src/components/data-table/__tests__/export-actions.test.tsx +1111 -14
- package/src/components/data-table/__tests__/pagination.test.tsx +85 -1
- package/src/components/data-table/__tests__/schemas.test.ts +57 -0
- package/src/components/data-table/charts/__tests__/schemas.test.ts +25 -0
- package/src/components/data-table/charts/__tests__/slider-field.test.tsx +54 -0
- package/src/components/data-table/charts/__tests__/spec.test.ts +26 -23
- package/src/components/data-table/charts/components/form-fields.tsx +3 -1
- package/src/components/data-table/charts/constants.ts +11 -10
- package/src/components/data-table/charts/types.ts +1 -0
- package/src/components/data-table/data-table.tsx +3 -0
- package/src/components/data-table/export-actions.tsx +365 -81
- package/src/components/data-table/pagination.tsx +16 -2
- package/src/components/data-table/range-focus/__tests__/atoms.test.ts +11 -11
- package/src/components/data-table/schemas.ts +90 -14
- package/src/components/editor/actions/__tests__/pair-with-agent-commands.test.ts +32 -46
- package/src/components/editor/actions/__tests__/pair-with-agent-modal.test.tsx +29 -40
- package/src/components/editor/actions/__tests__/useSetOutputsExpanded.test.ts +42 -0
- package/src/components/editor/actions/pair-with-agent-commands.ts +3 -4
- package/src/components/editor/actions/pair-with-agent-modal.tsx +4 -7
- package/src/components/editor/actions/useNotebookActions.tsx +20 -0
- package/src/components/editor/actions/useRestartKernel.tsx +2 -2
- package/src/components/editor/actions/useSetOutputsExpanded.ts +67 -0
- package/src/components/editor/alerts/__tests__/connection-notice.test.tsx +224 -17
- package/src/components/editor/alerts/connection-details.tsx +61 -0
- package/src/components/editor/alerts/connection-notice.tsx +46 -53
- package/src/components/editor/alerts/startup-progress.tsx +73 -129
- package/src/components/editor/app-container.tsx +2 -2
- package/src/components/editor/boundary/__tests__/ErrorBoundary.test.tsx +2 -2
- package/src/components/editor/cell/CreateCellButton.tsx +2 -2
- package/src/components/editor/cell/DeleteButton.tsx +2 -2
- package/src/components/editor/cell/RunButton.tsx +3 -3
- package/src/components/editor/cell/StopButton.tsx +2 -2
- package/src/components/editor/chrome/components/__tests__/feedback-button.test.tsx +4 -4
- package/src/components/editor/chrome/components/feedback-button.tsx +3 -3
- package/src/components/editor/chrome/panels/__tests__/packages-panel.test.tsx +8 -8
- package/src/components/editor/chrome/panels/__tests__/{sandbox-details.test.tsx → runtime-details.test.tsx} +94 -22
- package/src/components/editor/chrome/panels/__tests__/sandbox-recovery.test.tsx +4 -4
- package/src/components/editor/chrome/panels/packages-panel.tsx +8 -29
- package/src/components/editor/chrome/panels/{sandbox-details-state.ts → runtime-details-state.ts} +1 -1
- package/src/components/editor/chrome/panels/{sandbox-panel.tsx → runtime-panel.tsx} +38 -66
- package/src/components/editor/chrome/panels/runtime-status-toggle.tsx +56 -0
- package/src/components/editor/chrome/panels/sandbox-controller.tsx +2 -2
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +3 -3
- package/src/components/editor/chrome/wrapper/footer-items/machine-stats.tsx +2 -2
- package/src/components/editor/controls/Controls.tsx +3 -3
- package/src/components/editor/controls/__tests__/notebook-menu-dropdown.test.tsx +2 -2
- package/src/components/editor/header/__tests__/status.test.tsx +4 -4
- package/src/components/editor/header/app-header.tsx +2 -2
- package/src/components/editor/header/status.tsx +3 -3
- package/src/components/editor/navigation/__tests__/navigation.test.ts +8 -8
- package/src/components/tracing/tracing.test.tsx +30 -30
- package/src/components/ui/__tests__/slider.test.tsx +37 -0
- package/src/components/ui/progress-stages.tsx +114 -0
- package/src/components/ui/slider.tsx +2 -0
- package/src/core/ai/__tests__/state.test.ts +120 -0
- package/src/core/ai/state.ts +36 -10
- package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +106 -5
- package/src/core/codemirror/lsp/notebook-lsp.ts +16 -2
- package/src/core/codemirror/readonly/__tests__/extension.test.ts +6 -6
- package/src/core/codemirror/readonly/extension.ts +2 -2
- package/src/core/config/pair.ts +0 -1
- package/src/core/datasets/__tests__/data-source-discovery.test.ts +2 -2
- package/src/core/edit-app.tsx +21 -1
- package/src/core/export/hooks.ts +2 -2
- package/src/core/hotkeys/hotkeys.ts +12 -0
- package/src/core/islands/bootstrap.ts +1 -0
- package/src/core/kernel/session.ts +9 -0
- package/src/core/network/__tests__/connection.test.ts +3 -3
- package/src/core/network/connection-notice.ts +5 -5
- package/src/core/network/connection.ts +9 -9
- package/src/core/network/requests-lazy.ts +2 -2
- package/src/core/packages/__tests__/useSandboxController.test.tsx +2 -2
- package/src/core/packages/useSandboxController.ts +6 -6
- package/src/core/runtime/__tests__/adapter.test.ts +6 -6
- package/src/core/runtime/adapter.ts +7 -7
- package/src/core/runtime/config.ts +2 -2
- package/src/core/saving/filename.ts +2 -2
- package/src/core/saving/save-component.tsx +5 -5
- package/src/core/saving/useAutoSave.ts +2 -2
- package/src/core/wasm/__tests__/bootstrap.test.ts +33 -1
- package/src/core/wasm/worker/bootstrap.ts +22 -3
- package/src/core/websocket/__tests__/useMarimoKernelConnection.hook.test.tsx +30 -25
- package/src/core/websocket/__tests__/useMarimoKernelConnection.test.ts +5 -5
- package/src/core/websocket/connection-utils.ts +21 -21
- package/src/core/websocket/types.ts +8 -9
- package/src/core/websocket/useMarimoKernelConnection.tsx +33 -22
- package/src/css/katex-css.test.ts +166 -0
- package/src/css/katex.min.css +169 -168
- package/src/mount.tsx +2 -2
- package/src/plugins/core/__test__/registerReactComponent.test.ts +55 -0
- package/src/plugins/core/registerReactComponent.tsx +3 -1
- package/src/plugins/impl/CheckboxPlugin.tsx +1 -1
- package/src/plugins/impl/DataTablePlugin.tsx +23 -2
- package/src/plugins/impl/DatePickerPlugin.tsx +5 -3
- package/src/plugins/impl/DateRangePlugin.tsx +5 -3
- package/src/plugins/impl/DateTimePickerPlugin.tsx +5 -3
- package/src/plugins/impl/DropdownPlugin.tsx +1 -1
- package/src/plugins/impl/FileBrowserPlugin.tsx +45 -15
- package/src/plugins/impl/MultiselectPlugin.tsx +1 -1
- package/src/plugins/impl/NumberPlugin.tsx +1 -1
- package/src/plugins/impl/RadioPlugin.tsx +5 -1
- package/src/plugins/impl/RangeSliderPlugin.tsx +1 -1
- package/src/plugins/impl/SearchableSelect.tsx +1 -1
- package/src/plugins/impl/SliderPlugin.tsx +5 -1
- package/src/plugins/impl/SwitchPlugin.tsx +6 -1
- package/src/plugins/impl/TextAreaPlugin.tsx +23 -4
- package/src/plugins/impl/TextInputPlugin.tsx +10 -2
- package/src/plugins/impl/__test__/slider-labels.test.tsx +136 -0
- package/src/plugins/impl/__test__/text-labels.test.tsx +141 -0
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +65 -8
- package/src/plugins/impl/__tests__/FileBrowserPlugin.test.tsx +85 -2
- package/src/plugins/impl/__tests__/widget-labels.test.tsx +122 -0
- package/src/plugins/impl/chat/ChatPlugin.tsx +1 -1
- package/src/plugins/impl/common/labeled.tsx +9 -3
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +15 -3
- package/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap +0 -22
- package/src/stories/cell.stories.tsx +2 -2
- package/src/stories/dataframe.stories.tsx +7 -0
- package/src/stories/layout/vertical/one-column.stories.tsx +5 -5
- package/src/stories/progress-stages.stories.tsx +62 -0
- package/src/stories/runtime-existing.stories.tsx +44 -0
- package/src/stories/runtime-maintenance.stories.tsx +40 -0
- package/src/stories/runtime-pixi.stories.tsx +28 -0
- package/src/stories/{sandbox.stories.tsx → runtime-story.tsx} +191 -152
- package/src/stories/runtime-uv.stories.tsx +56 -0
- package/dist/assets/__vite-browser-external-C9iR87Zl.js +0 -1
- package/dist/classDiagram-ZZMXUADV-BiATbBE4.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-JnH97GYw.js +0 -30
- package/dist/dropdown-menu-CZy06LAq.js +0 -4502
- package/dist/error-banner-B94dcDmP.js +0 -391
- package/dist/flowDiagram-HODETNUW-DL52nMkt.js +0 -16
- package/dist/purify.es-DgKyQviY.js +0 -805
- package/dist/select-C6plhmZr.js +0 -970
- package/dist/stateDiagram-v2-MP3YSRHH-D9YMnUGx.js +0 -30
- package/dist/swimlanesDiagram-VR7AAH4N-Ctgy-yGP.js +0 -30
- package/src/components/editor/chrome/panels/sandbox-toggle.tsx +0 -52
package/dist/select-C6plhmZr.js
DELETED
|
@@ -1,970 +0,0 @@
|
|
|
1
|
-
import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import { g as t, h as n, m as r, p as i, r as a, u as o } from "./button-DdXAm8iz.js";
|
|
3
|
-
import { t as s } from "./react-ofJbxM4x.js";
|
|
4
|
-
import { t as c } from "./compiler-runtime-Cj8ZWiNS.js";
|
|
5
|
-
import { c as l, d as u, g as d, l as f, m as p, s as m, u as h } from "./tooltip-qB8NlSqV.js";
|
|
6
|
-
import { t as g } from "./check-B7cIK6gb.js";
|
|
7
|
-
import { t as _ } from "./react-dom-BUgJ-ab_.js";
|
|
8
|
-
import { t as v } from "./jsx-runtime-DgDPJV9S.js";
|
|
9
|
-
import { Ct as y, Q as b, St as x, Tt as S, X as C, Y as w, ft as T, gt as E, lt as ee, mt as D, pt as O, ut as k, vt as A, wt as j, xt as te, yt as M } from "./use-restore-focus-D5D9xEjZ.js";
|
|
10
|
-
import { t as N } from "./invariant-DLmrl-hA.js";
|
|
11
|
-
var P = d("chevron-down", [["path", {
|
|
12
|
-
d: "m6 9 6 6 6-6",
|
|
13
|
-
key: "qrunsl"
|
|
14
|
-
}]]), ne = d("chevron-up", [["path", {
|
|
15
|
-
d: "m18 15-6-6-6 6",
|
|
16
|
-
key: "153udz"
|
|
17
|
-
}]]), F = d("x", [["path", {
|
|
18
|
-
d: "M18 6 6 18",
|
|
19
|
-
key: "1bl5f8"
|
|
20
|
-
}], ["path", {
|
|
21
|
-
d: "m6 6 12 12",
|
|
22
|
-
key: "d8bk6v"
|
|
23
|
-
}]]), I = /* @__PURE__ */ e(_(), 1), L = /* @__PURE__ */ e(s(), 1), R = v();
|
|
24
|
-
function z(e) {
|
|
25
|
-
let t = e + "CollectionProvider", [n, r] = j(t), [a, s] = n(t, {
|
|
26
|
-
collectionRef: { current: null },
|
|
27
|
-
itemMap: /* @__PURE__ */ new Map()
|
|
28
|
-
}), c = (e) => {
|
|
29
|
-
let { scope: t, children: n } = e, r = L.useRef(null), i = L.useRef(/* @__PURE__ */ new Map()).current;
|
|
30
|
-
return /* @__PURE__ */ (0, R.jsx)(a, {
|
|
31
|
-
scope: t,
|
|
32
|
-
itemMap: i,
|
|
33
|
-
collectionRef: r,
|
|
34
|
-
children: n
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
c.displayName = t;
|
|
38
|
-
let l = e + "CollectionSlot", u = o(l), d = L.forwardRef((e, t) => {
|
|
39
|
-
let { scope: n, children: r } = e, a = s(l, n), o = i(t, a.collectionRef);
|
|
40
|
-
return /* @__PURE__ */ (0, R.jsx)(u, {
|
|
41
|
-
ref: o,
|
|
42
|
-
children: r
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
d.displayName = l;
|
|
46
|
-
let f = e + "CollectionItemSlot", p = "data-radix-collection-item", m = o(f), h = L.forwardRef((e, t) => {
|
|
47
|
-
let { scope: n, children: r, ...a } = e, o = L.useRef(null), c = i(t, o), l = s(f, n);
|
|
48
|
-
return L.useEffect(() => (l.itemMap.set(o, {
|
|
49
|
-
ref: o,
|
|
50
|
-
...a
|
|
51
|
-
}), () => void l.itemMap.delete(o))), /* @__PURE__ */ (0, R.jsx)(m, {
|
|
52
|
-
[p]: "",
|
|
53
|
-
ref: c,
|
|
54
|
-
children: r
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
h.displayName = f;
|
|
58
|
-
function g(t) {
|
|
59
|
-
let n = s(e + "CollectionConsumer", t);
|
|
60
|
-
return L.useCallback(() => {
|
|
61
|
-
let e = n.collectionRef.current;
|
|
62
|
-
if (!e) return [];
|
|
63
|
-
let t = Array.from(e.querySelectorAll(`[${p}]`));
|
|
64
|
-
return Array.from(n.itemMap.values()).sort((e, n) => t.indexOf(e.ref.current) - t.indexOf(n.ref.current));
|
|
65
|
-
}, [n.collectionRef, n.itemMap]);
|
|
66
|
-
}
|
|
67
|
-
return [
|
|
68
|
-
{
|
|
69
|
-
Provider: c,
|
|
70
|
-
Slot: d,
|
|
71
|
-
ItemSlot: h
|
|
72
|
-
},
|
|
73
|
-
g,
|
|
74
|
-
r
|
|
75
|
-
];
|
|
76
|
-
}
|
|
77
|
-
//#endregion
|
|
78
|
-
//#region ../node_modules/.pnpm/@radix-ui+react-direction@1.1.1_@types+react@19.2.18_react@19.2.8/node_modules/@radix-ui/react-direction/dist/index.mjs
|
|
79
|
-
var B = L.createContext(void 0);
|
|
80
|
-
function V(e) {
|
|
81
|
-
let t = L.useContext(B);
|
|
82
|
-
return e || t || "ltr";
|
|
83
|
-
}
|
|
84
|
-
//#endregion
|
|
85
|
-
//#region ../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@19.2.18_react@19.2.8/node_modules/@radix-ui/react-use-previous/dist/index.mjs
|
|
86
|
-
function re(e) {
|
|
87
|
-
let t = L.useRef({
|
|
88
|
-
value: e,
|
|
89
|
-
previous: e
|
|
90
|
-
});
|
|
91
|
-
return L.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
|
|
92
|
-
}
|
|
93
|
-
//#endregion
|
|
94
|
-
//#region ../node_modules/.pnpm/@radix-ui+number@1.1.1/node_modules/@radix-ui/number/dist/index.mjs
|
|
95
|
-
function H(e, [t, n]) {
|
|
96
|
-
return Math.min(n, Math.max(t, e));
|
|
97
|
-
}
|
|
98
|
-
//#endregion
|
|
99
|
-
//#region ../node_modules/.pnpm/@radix-ui+react-select@2.2.6_@types+react-dom@19.2.5_@types+react@19.2.18__@types+react_222b751141b68a72c9a1f832b1f1e3a6/node_modules/@radix-ui/react-select/dist/index.mjs
|
|
100
|
-
var ie = [
|
|
101
|
-
" ",
|
|
102
|
-
"Enter",
|
|
103
|
-
"ArrowUp",
|
|
104
|
-
"ArrowDown"
|
|
105
|
-
], ae = [" ", "Enter"], U = "Select", [W, G, oe] = z(U), [K, se] = j(U, [oe, u]), q = u(), [ce, J] = K(U), [le, ue] = K(U), de = (e) => {
|
|
106
|
-
let { __scopeSelect: t, children: n, open: r, defaultOpen: i, onOpenChange: a, value: o, defaultValue: s, onValueChange: c, dir: l, name: u, autoComplete: d, disabled: f, required: p, form: m } = e, g = q(t), [_, v] = L.useState(null), [y, b] = L.useState(null), [x, S] = L.useState(!1), C = V(l), [w, T] = te({
|
|
107
|
-
prop: r,
|
|
108
|
-
defaultProp: i ?? !1,
|
|
109
|
-
onChange: a,
|
|
110
|
-
caller: U
|
|
111
|
-
}), [E, ee] = te({
|
|
112
|
-
prop: o,
|
|
113
|
-
defaultProp: s,
|
|
114
|
-
onChange: c,
|
|
115
|
-
caller: U
|
|
116
|
-
}), D = L.useRef(null), O = !_ || m || !!_.closest("form"), [k, A] = L.useState(/* @__PURE__ */ new Set()), j = Array.from(k).map((e) => e.props.value).join(";");
|
|
117
|
-
return /* @__PURE__ */ (0, R.jsx)(h, {
|
|
118
|
-
...g,
|
|
119
|
-
children: /* @__PURE__ */ (0, R.jsxs)(ce, {
|
|
120
|
-
required: p,
|
|
121
|
-
scope: t,
|
|
122
|
-
trigger: _,
|
|
123
|
-
onTriggerChange: v,
|
|
124
|
-
valueNode: y,
|
|
125
|
-
onValueNodeChange: b,
|
|
126
|
-
valueNodeHasChildren: x,
|
|
127
|
-
onValueNodeHasChildrenChange: S,
|
|
128
|
-
contentId: M(),
|
|
129
|
-
value: E,
|
|
130
|
-
onValueChange: ee,
|
|
131
|
-
open: w,
|
|
132
|
-
onOpenChange: T,
|
|
133
|
-
dir: C,
|
|
134
|
-
triggerPointerDownPosRef: D,
|
|
135
|
-
disabled: f,
|
|
136
|
-
children: [/* @__PURE__ */ (0, R.jsx)(W.Provider, {
|
|
137
|
-
scope: t,
|
|
138
|
-
children: /* @__PURE__ */ (0, R.jsx)(le, {
|
|
139
|
-
scope: e.__scopeSelect,
|
|
140
|
-
onNativeOptionAdd: L.useCallback((e) => {
|
|
141
|
-
A((t) => new Set(t).add(e));
|
|
142
|
-
}, []),
|
|
143
|
-
onNativeOptionRemove: L.useCallback((e) => {
|
|
144
|
-
A((t) => {
|
|
145
|
-
let n = new Set(t);
|
|
146
|
-
return n.delete(e), n;
|
|
147
|
-
});
|
|
148
|
-
}, []),
|
|
149
|
-
children: n
|
|
150
|
-
})
|
|
151
|
-
}), O ? /* @__PURE__ */ (0, R.jsxs)(nt, {
|
|
152
|
-
"aria-hidden": !0,
|
|
153
|
-
required: p,
|
|
154
|
-
tabIndex: -1,
|
|
155
|
-
name: u,
|
|
156
|
-
autoComplete: d,
|
|
157
|
-
value: E,
|
|
158
|
-
onChange: (e) => ee(e.target.value),
|
|
159
|
-
disabled: f,
|
|
160
|
-
form: m,
|
|
161
|
-
children: [E === void 0 ? /* @__PURE__ */ (0, R.jsx)("option", { value: "" }) : null, Array.from(k)]
|
|
162
|
-
}, j) : null]
|
|
163
|
-
})
|
|
164
|
-
});
|
|
165
|
-
};
|
|
166
|
-
de.displayName = U;
|
|
167
|
-
var fe = "SelectTrigger", pe = L.forwardRef((e, t) => {
|
|
168
|
-
let { __scopeSelect: n, disabled: r = !1, ...a } = e, o = q(n), s = J(fe, n), c = s.disabled || r, l = i(t, s.onTriggerChange), u = G(n), d = L.useRef("touch"), [f, p, h] = it((e) => {
|
|
169
|
-
let t = u().filter((e) => !e.disabled), n = at(t, e, t.find((e) => e.value === s.value));
|
|
170
|
-
n !== void 0 && s.onValueChange(n.value);
|
|
171
|
-
}), g = (e) => {
|
|
172
|
-
c || (s.onOpenChange(!0), h()), e && (s.triggerPointerDownPosRef.current = {
|
|
173
|
-
x: Math.round(e.pageX),
|
|
174
|
-
y: Math.round(e.pageY)
|
|
175
|
-
});
|
|
176
|
-
};
|
|
177
|
-
return /* @__PURE__ */ (0, R.jsx)(m, {
|
|
178
|
-
asChild: !0,
|
|
179
|
-
...o,
|
|
180
|
-
children: /* @__PURE__ */ (0, R.jsx)(S.button, {
|
|
181
|
-
type: "button",
|
|
182
|
-
role: "combobox",
|
|
183
|
-
"aria-controls": s.contentId,
|
|
184
|
-
"aria-expanded": s.open,
|
|
185
|
-
"aria-required": s.required,
|
|
186
|
-
"aria-autocomplete": "none",
|
|
187
|
-
dir: s.dir,
|
|
188
|
-
"data-state": s.open ? "open" : "closed",
|
|
189
|
-
disabled: c,
|
|
190
|
-
"data-disabled": c ? "" : void 0,
|
|
191
|
-
"data-placeholder": rt(s.value) ? "" : void 0,
|
|
192
|
-
...a,
|
|
193
|
-
ref: l,
|
|
194
|
-
onClick: y(a.onClick, (e) => {
|
|
195
|
-
e.currentTarget.focus(), d.current !== "mouse" && g(e);
|
|
196
|
-
}),
|
|
197
|
-
onPointerDown: y(a.onPointerDown, (e) => {
|
|
198
|
-
d.current = e.pointerType;
|
|
199
|
-
let t = e.target;
|
|
200
|
-
t.hasPointerCapture(e.pointerId) && t.releasePointerCapture(e.pointerId), e.button === 0 && e.ctrlKey === !1 && e.pointerType === "mouse" && (g(e), e.preventDefault());
|
|
201
|
-
}),
|
|
202
|
-
onKeyDown: y(a.onKeyDown, (e) => {
|
|
203
|
-
let t = f.current !== "";
|
|
204
|
-
!(e.ctrlKey || e.altKey || e.metaKey) && e.key.length === 1 && p(e.key), !(t && e.key === " ") && ie.includes(e.key) && (g(), e.preventDefault());
|
|
205
|
-
})
|
|
206
|
-
})
|
|
207
|
-
});
|
|
208
|
-
});
|
|
209
|
-
pe.displayName = fe;
|
|
210
|
-
var me = "SelectValue", he = L.forwardRef((e, t) => {
|
|
211
|
-
let { __scopeSelect: n, className: r, style: a, children: o, placeholder: s = "", ...c } = e, l = J(me, n), { onValueNodeHasChildrenChange: u } = l, d = o !== void 0, f = i(t, l.onValueNodeChange);
|
|
212
|
-
return x(() => {
|
|
213
|
-
u(d);
|
|
214
|
-
}, [u, d]), /* @__PURE__ */ (0, R.jsx)(S.span, {
|
|
215
|
-
...c,
|
|
216
|
-
ref: f,
|
|
217
|
-
style: { pointerEvents: "none" },
|
|
218
|
-
children: rt(l.value) ? /* @__PURE__ */ (0, R.jsx)(R.Fragment, { children: s }) : o
|
|
219
|
-
});
|
|
220
|
-
});
|
|
221
|
-
he.displayName = me;
|
|
222
|
-
var ge = "SelectIcon", _e = L.forwardRef((e, t) => {
|
|
223
|
-
let { __scopeSelect: n, children: r, ...i } = e;
|
|
224
|
-
return /* @__PURE__ */ (0, R.jsx)(S.span, {
|
|
225
|
-
"aria-hidden": !0,
|
|
226
|
-
...i,
|
|
227
|
-
ref: t,
|
|
228
|
-
children: r || "▼"
|
|
229
|
-
});
|
|
230
|
-
});
|
|
231
|
-
_e.displayName = ge;
|
|
232
|
-
var ve = "SelectPortal", ye = (e) => /* @__PURE__ */ (0, R.jsx)(O, {
|
|
233
|
-
asChild: !0,
|
|
234
|
-
...e
|
|
235
|
-
});
|
|
236
|
-
ye.displayName = ve;
|
|
237
|
-
var Y = "SelectContent", be = L.forwardRef((e, t) => {
|
|
238
|
-
let n = J(Y, e.__scopeSelect), [r, i] = L.useState();
|
|
239
|
-
if (x(() => {
|
|
240
|
-
i(new DocumentFragment());
|
|
241
|
-
}, []), !n.open) {
|
|
242
|
-
let t = r;
|
|
243
|
-
return t ? I.createPortal(/* @__PURE__ */ (0, R.jsx)(xe, {
|
|
244
|
-
scope: e.__scopeSelect,
|
|
245
|
-
children: /* @__PURE__ */ (0, R.jsx)(W.Slot, {
|
|
246
|
-
scope: e.__scopeSelect,
|
|
247
|
-
children: /* @__PURE__ */ (0, R.jsx)("div", { children: e.children })
|
|
248
|
-
})
|
|
249
|
-
}), t) : null;
|
|
250
|
-
}
|
|
251
|
-
return /* @__PURE__ */ (0, R.jsx)(we, {
|
|
252
|
-
...e,
|
|
253
|
-
ref: t
|
|
254
|
-
});
|
|
255
|
-
});
|
|
256
|
-
be.displayName = Y;
|
|
257
|
-
var X = 10, [xe, Z] = K(Y), Se = "SelectContentImpl", Ce = o("SelectContent.RemoveScroll"), we = L.forwardRef((e, t) => {
|
|
258
|
-
let { __scopeSelect: n, position: r = "item-aligned", onCloseAutoFocus: a, onEscapeKeyDown: o, onPointerDownOutside: s, side: c, sideOffset: l, align: u, alignOffset: d, arrowPadding: f, collisionBoundary: p, collisionPadding: m, sticky: h, hideWhenDetached: g, avoidCollisions: _, ...v } = e, b = J(Y, n), [x, S] = L.useState(null), [C, w] = L.useState(null), O = i(t, (e) => S(e)), [A, j] = L.useState(null), [te, M] = L.useState(null), N = G(n), [P, ne] = L.useState(!1), F = L.useRef(!1);
|
|
259
|
-
L.useEffect(() => {
|
|
260
|
-
if (x) return ee(x);
|
|
261
|
-
}, [x]), T();
|
|
262
|
-
let I = L.useCallback((e) => {
|
|
263
|
-
let [t, ...n] = N().map((e) => e.ref.current), [r] = n.slice(-1), i = document.activeElement;
|
|
264
|
-
for (let n of e) if (n === i || (n?.scrollIntoView({ block: "nearest" }), n === t && C && (C.scrollTop = 0), n === r && C && (C.scrollTop = C.scrollHeight), n?.focus(), document.activeElement !== i)) return;
|
|
265
|
-
}, [N, C]), z = L.useCallback(() => I([A, x]), [
|
|
266
|
-
I,
|
|
267
|
-
A,
|
|
268
|
-
x
|
|
269
|
-
]);
|
|
270
|
-
L.useEffect(() => {
|
|
271
|
-
P && z();
|
|
272
|
-
}, [P, z]);
|
|
273
|
-
let { onOpenChange: B, triggerPointerDownPosRef: V } = b;
|
|
274
|
-
L.useEffect(() => {
|
|
275
|
-
if (x) {
|
|
276
|
-
let e = {
|
|
277
|
-
x: 0,
|
|
278
|
-
y: 0
|
|
279
|
-
}, t = (t) => {
|
|
280
|
-
e = {
|
|
281
|
-
x: Math.abs(Math.round(t.pageX) - (V.current?.x ?? 0)),
|
|
282
|
-
y: Math.abs(Math.round(t.pageY) - (V.current?.y ?? 0))
|
|
283
|
-
};
|
|
284
|
-
}, n = (n) => {
|
|
285
|
-
e.x <= 10 && e.y <= 10 ? n.preventDefault() : x.contains(n.target) || B(!1), document.removeEventListener("pointermove", t), V.current = null;
|
|
286
|
-
};
|
|
287
|
-
return V.current !== null && (document.addEventListener("pointermove", t), document.addEventListener("pointerup", n, {
|
|
288
|
-
capture: !0,
|
|
289
|
-
once: !0
|
|
290
|
-
})), () => {
|
|
291
|
-
document.removeEventListener("pointermove", t), document.removeEventListener("pointerup", n, { capture: !0 });
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
}, [
|
|
295
|
-
x,
|
|
296
|
-
B,
|
|
297
|
-
V
|
|
298
|
-
]), L.useEffect(() => {
|
|
299
|
-
let e = () => B(!1);
|
|
300
|
-
return window.addEventListener("blur", e), window.addEventListener("resize", e), () => {
|
|
301
|
-
window.removeEventListener("blur", e), window.removeEventListener("resize", e);
|
|
302
|
-
};
|
|
303
|
-
}, [B]);
|
|
304
|
-
let [re, H] = it((e) => {
|
|
305
|
-
let t = N().filter((e) => !e.disabled), n = at(t, e, t.find((e) => e.ref.current === document.activeElement));
|
|
306
|
-
n && setTimeout(() => n.ref.current.focus());
|
|
307
|
-
}), ie = L.useCallback((e, t, n) => {
|
|
308
|
-
let r = !F.current && !n;
|
|
309
|
-
(b.value !== void 0 && b.value === t || r) && (j(e), r && (F.current = !0));
|
|
310
|
-
}, [b.value]), ae = L.useCallback(() => x?.focus(), [x]), U = L.useCallback((e, t, n) => {
|
|
311
|
-
let r = !F.current && !n;
|
|
312
|
-
(b.value !== void 0 && b.value === t || r) && M(e);
|
|
313
|
-
}, [b.value]), W = r === "popper" ? Oe : Ee, oe = W === Oe ? {
|
|
314
|
-
side: c,
|
|
315
|
-
sideOffset: l,
|
|
316
|
-
align: u,
|
|
317
|
-
alignOffset: d,
|
|
318
|
-
arrowPadding: f,
|
|
319
|
-
collisionBoundary: p,
|
|
320
|
-
collisionPadding: m,
|
|
321
|
-
sticky: h,
|
|
322
|
-
hideWhenDetached: g,
|
|
323
|
-
avoidCollisions: _
|
|
324
|
-
} : {};
|
|
325
|
-
return /* @__PURE__ */ (0, R.jsx)(xe, {
|
|
326
|
-
scope: n,
|
|
327
|
-
content: x,
|
|
328
|
-
viewport: C,
|
|
329
|
-
onViewportChange: w,
|
|
330
|
-
itemRefCallback: ie,
|
|
331
|
-
selectedItem: A,
|
|
332
|
-
onItemLeave: ae,
|
|
333
|
-
itemTextRefCallback: U,
|
|
334
|
-
focusSelectedItem: z,
|
|
335
|
-
selectedItemText: te,
|
|
336
|
-
position: r,
|
|
337
|
-
isPositioned: P,
|
|
338
|
-
searchRef: re,
|
|
339
|
-
children: /* @__PURE__ */ (0, R.jsx)(k, {
|
|
340
|
-
as: Ce,
|
|
341
|
-
allowPinchZoom: !0,
|
|
342
|
-
children: /* @__PURE__ */ (0, R.jsx)(D, {
|
|
343
|
-
asChild: !0,
|
|
344
|
-
trapped: b.open,
|
|
345
|
-
onMountAutoFocus: (e) => {
|
|
346
|
-
e.preventDefault();
|
|
347
|
-
},
|
|
348
|
-
onUnmountAutoFocus: y(a, (e) => {
|
|
349
|
-
b.trigger?.focus({ preventScroll: !0 }), e.preventDefault();
|
|
350
|
-
}),
|
|
351
|
-
children: /* @__PURE__ */ (0, R.jsx)(E, {
|
|
352
|
-
asChild: !0,
|
|
353
|
-
disableOutsidePointerEvents: !0,
|
|
354
|
-
onEscapeKeyDown: o,
|
|
355
|
-
onPointerDownOutside: s,
|
|
356
|
-
onFocusOutside: (e) => e.preventDefault(),
|
|
357
|
-
onDismiss: () => b.onOpenChange(!1),
|
|
358
|
-
children: /* @__PURE__ */ (0, R.jsx)(W, {
|
|
359
|
-
role: "listbox",
|
|
360
|
-
id: b.contentId,
|
|
361
|
-
"data-state": b.open ? "open" : "closed",
|
|
362
|
-
dir: b.dir,
|
|
363
|
-
onContextMenu: (e) => e.preventDefault(),
|
|
364
|
-
...v,
|
|
365
|
-
...oe,
|
|
366
|
-
onPlaced: () => ne(!0),
|
|
367
|
-
ref: O,
|
|
368
|
-
style: {
|
|
369
|
-
display: "flex",
|
|
370
|
-
flexDirection: "column",
|
|
371
|
-
outline: "none",
|
|
372
|
-
...v.style
|
|
373
|
-
},
|
|
374
|
-
onKeyDown: y(v.onKeyDown, (e) => {
|
|
375
|
-
let t = e.ctrlKey || e.altKey || e.metaKey;
|
|
376
|
-
if (e.key === "Tab" && e.preventDefault(), !t && e.key.length === 1 && H(e.key), [
|
|
377
|
-
"ArrowUp",
|
|
378
|
-
"ArrowDown",
|
|
379
|
-
"Home",
|
|
380
|
-
"End"
|
|
381
|
-
].includes(e.key)) {
|
|
382
|
-
let t = N().filter((e) => !e.disabled).map((e) => e.ref.current);
|
|
383
|
-
if (["ArrowUp", "End"].includes(e.key) && (t = t.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(e.key)) {
|
|
384
|
-
let n = e.target, r = t.indexOf(n);
|
|
385
|
-
t = t.slice(r + 1);
|
|
386
|
-
}
|
|
387
|
-
setTimeout(() => I(t)), e.preventDefault();
|
|
388
|
-
}
|
|
389
|
-
})
|
|
390
|
-
})
|
|
391
|
-
})
|
|
392
|
-
})
|
|
393
|
-
})
|
|
394
|
-
});
|
|
395
|
-
});
|
|
396
|
-
we.displayName = Se;
|
|
397
|
-
var Te = "SelectItemAlignedPosition", Ee = L.forwardRef((e, t) => {
|
|
398
|
-
let { __scopeSelect: n, onPlaced: r, ...a } = e, o = J(Y, n), s = Z(Y, n), [c, l] = L.useState(null), [u, d] = L.useState(null), f = i(t, (e) => d(e)), p = G(n), m = L.useRef(!1), h = L.useRef(!0), { viewport: g, selectedItem: _, selectedItemText: v, focusSelectedItem: y } = s, b = L.useCallback(() => {
|
|
399
|
-
if (o.trigger && o.valueNode && c && u && g && _ && v) {
|
|
400
|
-
let e = o.trigger.getBoundingClientRect(), t = u.getBoundingClientRect(), n = o.valueNode.getBoundingClientRect(), i = v.getBoundingClientRect();
|
|
401
|
-
if (o.dir !== "rtl") {
|
|
402
|
-
let r = i.left - t.left, a = n.left - r, o = e.left - a, s = e.width + o, l = Math.max(s, t.width), u = window.innerWidth - X, d = H(a, [X, Math.max(X, u - l)]);
|
|
403
|
-
c.style.minWidth = s + "px", c.style.left = d + "px";
|
|
404
|
-
} else {
|
|
405
|
-
let r = t.right - i.right, a = window.innerWidth - n.right - r, o = window.innerWidth - e.right - a, s = e.width + o, l = Math.max(s, t.width), u = window.innerWidth - X, d = H(a, [X, Math.max(X, u - l)]);
|
|
406
|
-
c.style.minWidth = s + "px", c.style.right = d + "px";
|
|
407
|
-
}
|
|
408
|
-
let a = p(), s = window.innerHeight - X * 2, l = g.scrollHeight, d = window.getComputedStyle(u), f = parseInt(d.borderTopWidth, 10), h = parseInt(d.paddingTop, 10), y = parseInt(d.borderBottomWidth, 10), b = parseInt(d.paddingBottom, 10), x = f + h + l + b + y, S = Math.min(_.offsetHeight * 5, x), C = window.getComputedStyle(g), w = parseInt(C.paddingTop, 10), T = parseInt(C.paddingBottom, 10), E = e.top + e.height / 2 - X, ee = s - E, D = _.offsetHeight / 2, O = _.offsetTop + D, k = f + h + O, A = x - k;
|
|
409
|
-
if (k <= E) {
|
|
410
|
-
let e = a.length > 0 && _ === a[a.length - 1].ref.current;
|
|
411
|
-
c.style.bottom = "0px";
|
|
412
|
-
let t = u.clientHeight - g.offsetTop - g.offsetHeight, n = k + Math.max(ee, D + (e ? T : 0) + t + y);
|
|
413
|
-
c.style.height = n + "px";
|
|
414
|
-
} else {
|
|
415
|
-
let e = a.length > 0 && _ === a[0].ref.current;
|
|
416
|
-
c.style.top = "0px";
|
|
417
|
-
let t = Math.max(E, f + g.offsetTop + (e ? w : 0) + D) + A;
|
|
418
|
-
c.style.height = t + "px", g.scrollTop = k - E + g.offsetTop;
|
|
419
|
-
}
|
|
420
|
-
c.style.margin = `${X}px 0`, c.style.minHeight = S + "px", c.style.maxHeight = s + "px", r?.(), requestAnimationFrame(() => m.current = !0);
|
|
421
|
-
}
|
|
422
|
-
}, [
|
|
423
|
-
p,
|
|
424
|
-
o.trigger,
|
|
425
|
-
o.valueNode,
|
|
426
|
-
c,
|
|
427
|
-
u,
|
|
428
|
-
g,
|
|
429
|
-
_,
|
|
430
|
-
v,
|
|
431
|
-
o.dir,
|
|
432
|
-
r
|
|
433
|
-
]);
|
|
434
|
-
x(() => b(), [b]);
|
|
435
|
-
let [C, w] = L.useState();
|
|
436
|
-
x(() => {
|
|
437
|
-
u && w(window.getComputedStyle(u).zIndex);
|
|
438
|
-
}, [u]);
|
|
439
|
-
let T = L.useCallback((e) => {
|
|
440
|
-
e && h.current === !0 && (b(), y?.(), h.current = !1);
|
|
441
|
-
}, [b, y]);
|
|
442
|
-
return /* @__PURE__ */ (0, R.jsx)(ke, {
|
|
443
|
-
scope: n,
|
|
444
|
-
contentWrapper: c,
|
|
445
|
-
shouldExpandOnScrollRef: m,
|
|
446
|
-
onScrollButtonChange: T,
|
|
447
|
-
children: /* @__PURE__ */ (0, R.jsx)("div", {
|
|
448
|
-
ref: l,
|
|
449
|
-
style: {
|
|
450
|
-
display: "flex",
|
|
451
|
-
flexDirection: "column",
|
|
452
|
-
position: "fixed",
|
|
453
|
-
zIndex: C
|
|
454
|
-
},
|
|
455
|
-
children: /* @__PURE__ */ (0, R.jsx)(S.div, {
|
|
456
|
-
...a,
|
|
457
|
-
ref: f,
|
|
458
|
-
style: {
|
|
459
|
-
boxSizing: "border-box",
|
|
460
|
-
maxHeight: "100%",
|
|
461
|
-
...a.style
|
|
462
|
-
}
|
|
463
|
-
})
|
|
464
|
-
})
|
|
465
|
-
});
|
|
466
|
-
});
|
|
467
|
-
Ee.displayName = Te;
|
|
468
|
-
var De = "SelectPopperPosition", Oe = L.forwardRef((e, t) => {
|
|
469
|
-
let { __scopeSelect: n, align: r = "start", collisionPadding: i = X, ...a } = e, o = q(n);
|
|
470
|
-
return /* @__PURE__ */ (0, R.jsx)(f, {
|
|
471
|
-
...o,
|
|
472
|
-
...a,
|
|
473
|
-
ref: t,
|
|
474
|
-
align: r,
|
|
475
|
-
collisionPadding: i,
|
|
476
|
-
style: {
|
|
477
|
-
boxSizing: "border-box",
|
|
478
|
-
...a.style,
|
|
479
|
-
"--radix-select-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
480
|
-
"--radix-select-content-available-width": "var(--radix-popper-available-width)",
|
|
481
|
-
"--radix-select-content-available-height": "var(--radix-popper-available-height)",
|
|
482
|
-
"--radix-select-trigger-width": "var(--radix-popper-anchor-width)",
|
|
483
|
-
"--radix-select-trigger-height": "var(--radix-popper-anchor-height)"
|
|
484
|
-
}
|
|
485
|
-
});
|
|
486
|
-
});
|
|
487
|
-
Oe.displayName = De;
|
|
488
|
-
var [ke, Ae] = K(Y, {}), je = "SelectViewport", Me = L.forwardRef((e, t) => {
|
|
489
|
-
let { __scopeSelect: n, nonce: r, ...a } = e, o = Z(je, n), s = Ae(je, n), c = i(t, o.onViewportChange), l = L.useRef(0);
|
|
490
|
-
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("style", {
|
|
491
|
-
dangerouslySetInnerHTML: { __html: "[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}" },
|
|
492
|
-
nonce: r
|
|
493
|
-
}), /* @__PURE__ */ (0, R.jsx)(W.Slot, {
|
|
494
|
-
scope: n,
|
|
495
|
-
children: /* @__PURE__ */ (0, R.jsx)(S.div, {
|
|
496
|
-
"data-radix-select-viewport": "",
|
|
497
|
-
role: "presentation",
|
|
498
|
-
...a,
|
|
499
|
-
ref: c,
|
|
500
|
-
style: {
|
|
501
|
-
position: "relative",
|
|
502
|
-
flex: 1,
|
|
503
|
-
overflow: "hidden auto",
|
|
504
|
-
...a.style
|
|
505
|
-
},
|
|
506
|
-
onScroll: y(a.onScroll, (e) => {
|
|
507
|
-
let t = e.currentTarget, { contentWrapper: n, shouldExpandOnScrollRef: r } = s;
|
|
508
|
-
if (r?.current && n) {
|
|
509
|
-
let e = Math.abs(l.current - t.scrollTop);
|
|
510
|
-
if (e > 0) {
|
|
511
|
-
let r = window.innerHeight - X * 2, i = parseFloat(n.style.minHeight), a = parseFloat(n.style.height), o = Math.max(i, a);
|
|
512
|
-
if (o < r) {
|
|
513
|
-
let i = o + e, a = Math.min(r, i), s = i - a;
|
|
514
|
-
n.style.height = a + "px", n.style.bottom === "0px" && (t.scrollTop = s > 0 ? s : 0, n.style.justifyContent = "flex-end");
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
l.current = t.scrollTop;
|
|
519
|
-
})
|
|
520
|
-
})
|
|
521
|
-
})] });
|
|
522
|
-
});
|
|
523
|
-
Me.displayName = je;
|
|
524
|
-
var Ne = "SelectGroup", [Pe, Fe] = K(Ne), Ie = L.forwardRef((e, t) => {
|
|
525
|
-
let { __scopeSelect: n, ...r } = e, i = M();
|
|
526
|
-
return /* @__PURE__ */ (0, R.jsx)(Pe, {
|
|
527
|
-
scope: n,
|
|
528
|
-
id: i,
|
|
529
|
-
children: /* @__PURE__ */ (0, R.jsx)(S.div, {
|
|
530
|
-
role: "group",
|
|
531
|
-
"aria-labelledby": i,
|
|
532
|
-
...r,
|
|
533
|
-
ref: t
|
|
534
|
-
})
|
|
535
|
-
});
|
|
536
|
-
});
|
|
537
|
-
Ie.displayName = Ne;
|
|
538
|
-
var Le = "SelectLabel", Re = L.forwardRef((e, t) => {
|
|
539
|
-
let { __scopeSelect: n, ...r } = e, i = Fe(Le, n);
|
|
540
|
-
return /* @__PURE__ */ (0, R.jsx)(S.div, {
|
|
541
|
-
id: i.id,
|
|
542
|
-
...r,
|
|
543
|
-
ref: t
|
|
544
|
-
});
|
|
545
|
-
});
|
|
546
|
-
Re.displayName = Le;
|
|
547
|
-
var ze = "SelectItem", [Be, Ve] = K(ze), He = L.forwardRef((e, t) => {
|
|
548
|
-
let { __scopeSelect: n, value: r, disabled: a = !1, textValue: o, ...s } = e, c = J(ze, n), l = Z(ze, n), u = c.value === r, [d, f] = L.useState(o ?? ""), [p, m] = L.useState(!1), h = i(t, (e) => l.itemRefCallback?.(e, r, a)), g = M(), _ = L.useRef("touch"), v = () => {
|
|
549
|
-
a || (c.onValueChange(r), c.onOpenChange(!1));
|
|
550
|
-
};
|
|
551
|
-
if (r === "") throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");
|
|
552
|
-
return /* @__PURE__ */ (0, R.jsx)(Be, {
|
|
553
|
-
scope: n,
|
|
554
|
-
value: r,
|
|
555
|
-
disabled: a,
|
|
556
|
-
textId: g,
|
|
557
|
-
isSelected: u,
|
|
558
|
-
onItemTextChange: L.useCallback((e) => {
|
|
559
|
-
f((t) => t || (e?.textContent ?? "").trim());
|
|
560
|
-
}, []),
|
|
561
|
-
children: /* @__PURE__ */ (0, R.jsx)(W.ItemSlot, {
|
|
562
|
-
scope: n,
|
|
563
|
-
value: r,
|
|
564
|
-
disabled: a,
|
|
565
|
-
textValue: d,
|
|
566
|
-
children: /* @__PURE__ */ (0, R.jsx)(S.div, {
|
|
567
|
-
role: "option",
|
|
568
|
-
"aria-labelledby": g,
|
|
569
|
-
"data-highlighted": p ? "" : void 0,
|
|
570
|
-
"aria-selected": u && p,
|
|
571
|
-
"data-state": u ? "checked" : "unchecked",
|
|
572
|
-
"aria-disabled": a || void 0,
|
|
573
|
-
"data-disabled": a ? "" : void 0,
|
|
574
|
-
tabIndex: a ? void 0 : -1,
|
|
575
|
-
...s,
|
|
576
|
-
ref: h,
|
|
577
|
-
onFocus: y(s.onFocus, () => m(!0)),
|
|
578
|
-
onBlur: y(s.onBlur, () => m(!1)),
|
|
579
|
-
onClick: y(s.onClick, () => {
|
|
580
|
-
_.current !== "mouse" && v();
|
|
581
|
-
}),
|
|
582
|
-
onPointerUp: y(s.onPointerUp, () => {
|
|
583
|
-
_.current === "mouse" && v();
|
|
584
|
-
}),
|
|
585
|
-
onPointerDown: y(s.onPointerDown, (e) => {
|
|
586
|
-
_.current = e.pointerType;
|
|
587
|
-
}),
|
|
588
|
-
onPointerMove: y(s.onPointerMove, (e) => {
|
|
589
|
-
_.current = e.pointerType, a ? l.onItemLeave?.() : _.current === "mouse" && e.currentTarget.focus({ preventScroll: !0 });
|
|
590
|
-
}),
|
|
591
|
-
onPointerLeave: y(s.onPointerLeave, (e) => {
|
|
592
|
-
e.currentTarget === document.activeElement && l.onItemLeave?.();
|
|
593
|
-
}),
|
|
594
|
-
onKeyDown: y(s.onKeyDown, (e) => {
|
|
595
|
-
(l.searchRef?.current === "" || e.key !== " ") && (ae.includes(e.key) && v(), e.key === " " && e.preventDefault());
|
|
596
|
-
})
|
|
597
|
-
})
|
|
598
|
-
})
|
|
599
|
-
});
|
|
600
|
-
});
|
|
601
|
-
He.displayName = ze;
|
|
602
|
-
var Q = "SelectItemText", Ue = L.forwardRef((e, t) => {
|
|
603
|
-
let { __scopeSelect: n, className: r, style: a, ...o } = e, s = J(Q, n), c = Z(Q, n), l = Ve(Q, n), u = ue(Q, n), [d, f] = L.useState(null), p = i(t, (e) => f(e), l.onItemTextChange, (e) => c.itemTextRefCallback?.(e, l.value, l.disabled)), m = d?.textContent, h = L.useMemo(() => /* @__PURE__ */ (0, R.jsx)("option", {
|
|
604
|
-
value: l.value,
|
|
605
|
-
disabled: l.disabled,
|
|
606
|
-
children: m
|
|
607
|
-
}, l.value), [
|
|
608
|
-
l.disabled,
|
|
609
|
-
l.value,
|
|
610
|
-
m
|
|
611
|
-
]), { onNativeOptionAdd: g, onNativeOptionRemove: _ } = u;
|
|
612
|
-
return x(() => (g(h), () => _(h)), [
|
|
613
|
-
g,
|
|
614
|
-
_,
|
|
615
|
-
h
|
|
616
|
-
]), /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(S.span, {
|
|
617
|
-
id: l.textId,
|
|
618
|
-
...o,
|
|
619
|
-
ref: p
|
|
620
|
-
}), l.isSelected && s.valueNode && !s.valueNodeHasChildren ? I.createPortal(o.children, s.valueNode) : null] });
|
|
621
|
-
});
|
|
622
|
-
Ue.displayName = Q;
|
|
623
|
-
var We = "SelectItemIndicator", Ge = L.forwardRef((e, t) => {
|
|
624
|
-
let { __scopeSelect: n, ...r } = e;
|
|
625
|
-
return Ve(We, n).isSelected ? /* @__PURE__ */ (0, R.jsx)(S.span, {
|
|
626
|
-
"aria-hidden": !0,
|
|
627
|
-
...r,
|
|
628
|
-
ref: t
|
|
629
|
-
}) : null;
|
|
630
|
-
});
|
|
631
|
-
Ge.displayName = We;
|
|
632
|
-
var Ke = "SelectScrollUpButton", qe = L.forwardRef((e, t) => {
|
|
633
|
-
let n = Z(Ke, e.__scopeSelect), r = Ae(Ke, e.__scopeSelect), [a, o] = L.useState(!1), s = i(t, r.onScrollButtonChange);
|
|
634
|
-
return x(() => {
|
|
635
|
-
if (n.viewport && n.isPositioned) {
|
|
636
|
-
let e = function() {
|
|
637
|
-
let e = t.scrollTop > 0;
|
|
638
|
-
o(e);
|
|
639
|
-
}, t = n.viewport;
|
|
640
|
-
return e(), t.addEventListener("scroll", e), () => t.removeEventListener("scroll", e);
|
|
641
|
-
}
|
|
642
|
-
}, [n.viewport, n.isPositioned]), a ? /* @__PURE__ */ (0, R.jsx)(Xe, {
|
|
643
|
-
...e,
|
|
644
|
-
ref: s,
|
|
645
|
-
onAutoScroll: () => {
|
|
646
|
-
let { viewport: e, selectedItem: t } = n;
|
|
647
|
-
e && t && (e.scrollTop -= t.offsetHeight);
|
|
648
|
-
}
|
|
649
|
-
}) : null;
|
|
650
|
-
});
|
|
651
|
-
qe.displayName = Ke;
|
|
652
|
-
var Je = "SelectScrollDownButton", Ye = L.forwardRef((e, t) => {
|
|
653
|
-
let n = Z(Je, e.__scopeSelect), r = Ae(Je, e.__scopeSelect), [a, o] = L.useState(!1), s = i(t, r.onScrollButtonChange);
|
|
654
|
-
return x(() => {
|
|
655
|
-
if (n.viewport && n.isPositioned) {
|
|
656
|
-
let e = function() {
|
|
657
|
-
let e = t.scrollHeight - t.clientHeight, n = Math.ceil(t.scrollTop) < e;
|
|
658
|
-
o(n);
|
|
659
|
-
}, t = n.viewport;
|
|
660
|
-
return e(), t.addEventListener("scroll", e), () => t.removeEventListener("scroll", e);
|
|
661
|
-
}
|
|
662
|
-
}, [n.viewport, n.isPositioned]), a ? /* @__PURE__ */ (0, R.jsx)(Xe, {
|
|
663
|
-
...e,
|
|
664
|
-
ref: s,
|
|
665
|
-
onAutoScroll: () => {
|
|
666
|
-
let { viewport: e, selectedItem: t } = n;
|
|
667
|
-
e && t && (e.scrollTop += t.offsetHeight);
|
|
668
|
-
}
|
|
669
|
-
}) : null;
|
|
670
|
-
});
|
|
671
|
-
Ye.displayName = Je;
|
|
672
|
-
var Xe = L.forwardRef((e, t) => {
|
|
673
|
-
let { __scopeSelect: n, onAutoScroll: r, ...i } = e, a = Z("SelectScrollButton", n), o = L.useRef(null), s = G(n), c = L.useCallback(() => {
|
|
674
|
-
o.current !== null && (window.clearInterval(o.current), o.current = null);
|
|
675
|
-
}, []);
|
|
676
|
-
return L.useEffect(() => () => c(), [c]), x(() => {
|
|
677
|
-
s().find((e) => e.ref.current === document.activeElement)?.ref.current?.scrollIntoView({ block: "nearest" });
|
|
678
|
-
}, [s]), /* @__PURE__ */ (0, R.jsx)(S.div, {
|
|
679
|
-
"aria-hidden": !0,
|
|
680
|
-
...i,
|
|
681
|
-
ref: t,
|
|
682
|
-
style: {
|
|
683
|
-
flexShrink: 0,
|
|
684
|
-
...i.style
|
|
685
|
-
},
|
|
686
|
-
onPointerDown: y(i.onPointerDown, () => {
|
|
687
|
-
o.current === null && (o.current = window.setInterval(r, 50));
|
|
688
|
-
}),
|
|
689
|
-
onPointerMove: y(i.onPointerMove, () => {
|
|
690
|
-
a.onItemLeave?.(), o.current === null && (o.current = window.setInterval(r, 50));
|
|
691
|
-
}),
|
|
692
|
-
onPointerLeave: y(i.onPointerLeave, () => {
|
|
693
|
-
c();
|
|
694
|
-
})
|
|
695
|
-
});
|
|
696
|
-
}), Ze = "SelectSeparator", Qe = L.forwardRef((e, t) => {
|
|
697
|
-
let { __scopeSelect: n, ...r } = e;
|
|
698
|
-
return /* @__PURE__ */ (0, R.jsx)(S.div, {
|
|
699
|
-
"aria-hidden": !0,
|
|
700
|
-
...r,
|
|
701
|
-
ref: t
|
|
702
|
-
});
|
|
703
|
-
});
|
|
704
|
-
Qe.displayName = Ze;
|
|
705
|
-
var $e = "SelectArrow", et = L.forwardRef((e, t) => {
|
|
706
|
-
let { __scopeSelect: n, ...r } = e, i = q(n), a = J($e, n), o = Z($e, n);
|
|
707
|
-
return a.open && o.position === "popper" ? /* @__PURE__ */ (0, R.jsx)(l, {
|
|
708
|
-
...i,
|
|
709
|
-
...r,
|
|
710
|
-
ref: t
|
|
711
|
-
}) : null;
|
|
712
|
-
});
|
|
713
|
-
et.displayName = $e;
|
|
714
|
-
var tt = "SelectBubbleInput", nt = L.forwardRef(({ __scopeSelect: e, value: t, ...n }, r) => {
|
|
715
|
-
let a = L.useRef(null), o = i(r, a), s = re(t);
|
|
716
|
-
return L.useEffect(() => {
|
|
717
|
-
let e = a.current;
|
|
718
|
-
if (!e) return;
|
|
719
|
-
let n = window.HTMLSelectElement.prototype, r = Object.getOwnPropertyDescriptor(n, "value").set;
|
|
720
|
-
if (s !== t && r) {
|
|
721
|
-
let n = new Event("change", { bubbles: !0 });
|
|
722
|
-
r.call(e, t), e.dispatchEvent(n);
|
|
723
|
-
}
|
|
724
|
-
}, [s, t]), /* @__PURE__ */ (0, R.jsx)(S.select, {
|
|
725
|
-
...n,
|
|
726
|
-
style: {
|
|
727
|
-
...p,
|
|
728
|
-
...n.style
|
|
729
|
-
},
|
|
730
|
-
ref: o,
|
|
731
|
-
defaultValue: t
|
|
732
|
-
});
|
|
733
|
-
});
|
|
734
|
-
nt.displayName = tt;
|
|
735
|
-
function rt(e) {
|
|
736
|
-
return e === "" || e === void 0;
|
|
737
|
-
}
|
|
738
|
-
function it(e) {
|
|
739
|
-
let t = A(e), n = L.useRef(""), r = L.useRef(0), i = L.useCallback((e) => {
|
|
740
|
-
let i = n.current + e;
|
|
741
|
-
t(i), (function e(t) {
|
|
742
|
-
n.current = t, window.clearTimeout(r.current), t !== "" && (r.current = window.setTimeout(() => e(""), 1e3));
|
|
743
|
-
})(i);
|
|
744
|
-
}, [t]), a = L.useCallback(() => {
|
|
745
|
-
n.current = "", window.clearTimeout(r.current);
|
|
746
|
-
}, []);
|
|
747
|
-
return L.useEffect(() => () => window.clearTimeout(r.current), []), [
|
|
748
|
-
n,
|
|
749
|
-
i,
|
|
750
|
-
a
|
|
751
|
-
];
|
|
752
|
-
}
|
|
753
|
-
function at(e, t, n) {
|
|
754
|
-
let r = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, i = n ? e.indexOf(n) : -1, a = ot(e, Math.max(i, 0));
|
|
755
|
-
r.length === 1 && (a = a.filter((e) => e !== n));
|
|
756
|
-
let o = a.find((e) => e.textValue.toLowerCase().startsWith(r.toLowerCase()));
|
|
757
|
-
return o === n ? void 0 : o;
|
|
758
|
-
}
|
|
759
|
-
function ot(e, t) {
|
|
760
|
-
return e.map((n, r) => e[(t + r) % e.length]);
|
|
761
|
-
}
|
|
762
|
-
var st = de, ct = pe, lt = he, ut = _e, dt = ye, ft = be, pt = Me, mt = Ie, ht = Re, gt = He, _t = Ue, vt = Ge, yt = qe, bt = Ye, xt = Qe;
|
|
763
|
-
//#endregion
|
|
764
|
-
//#region src/utils/assertNever.ts
|
|
765
|
-
function St(e) {
|
|
766
|
-
N(!1, `Unexpected object: ${e}`);
|
|
767
|
-
}
|
|
768
|
-
function Ct(e) {
|
|
769
|
-
return t.warn(`Unexpected object: ${JSON.stringify(e)}`), e;
|
|
770
|
-
}
|
|
771
|
-
//#endregion
|
|
772
|
-
//#region src/utils/strings.ts
|
|
773
|
-
function wt(e) {
|
|
774
|
-
return e ? e.charAt(0).toUpperCase() + e.slice(1) : "";
|
|
775
|
-
}
|
|
776
|
-
function Tt(e) {
|
|
777
|
-
if (!e) return "";
|
|
778
|
-
if (typeof e != "string") throw t.error(e), TypeError(`Expected string, got ${typeof e}`);
|
|
779
|
-
return /[A-Za-z]/.test(e) ? e.replaceAll(/([\da-z])([A-Z])/g, "$1 $2").replaceAll(/([A-Z]+)([A-Z][a-z])/g, "$1 $2").replaceAll(/[\s_-]+/g, " ").trim().split(" ").map(wt).join(" ") : e;
|
|
780
|
-
}
|
|
781
|
-
var Et = {
|
|
782
|
-
startCase: Tt,
|
|
783
|
-
htmlEscape: (e) => e && e.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll("\"", """).replaceAll("'", "'").replaceAll("\n", " "),
|
|
784
|
-
withTrailingSlash(e) {
|
|
785
|
-
return e.endsWith("/") ? e : `${e}/`;
|
|
786
|
-
},
|
|
787
|
-
withoutTrailingSlash(e) {
|
|
788
|
-
return e.endsWith("/") ? e.slice(0, -1) : e;
|
|
789
|
-
},
|
|
790
|
-
withoutLeadingSlash(e) {
|
|
791
|
-
return e.startsWith("/") ? e.slice(1) : e;
|
|
792
|
-
},
|
|
793
|
-
asString: (e) => {
|
|
794
|
-
if (typeof e == "string") return e;
|
|
795
|
-
try {
|
|
796
|
-
return JSON.stringify(e);
|
|
797
|
-
} catch {
|
|
798
|
-
return String(e);
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
}, $ = c(), Dt = a("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md forced-color-adjust-none forced-colors:border-[CanvasText] forced-colors:bg-[Canvas] forced-colors:text-[CanvasText]", { variants: { subcontent: { true: "shadow-lg" } } }), Ot = a("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground forced-color-adjust-none forced-colors:data-[highlighted]:bg-[Highlight] forced-colors:data-[highlighted]:text-[HighlightText] forced-colors:data-[state=open]:bg-[Highlight] forced-colors:data-[state=open]:text-[HighlightText]", { variants: { inset: { true: "pl-8" } } }), kt = "data-disabled:pointer-events-none data-disabled:opacity-50 forced-colors:data-disabled:text-[GrayText]", At = a(n("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground forced-color-adjust-none forced-colors:data-[highlighted]:bg-[Highlight] forced-colors:data-[highlighted]:text-[HighlightText]", kt), { variants: {} }), jt = a("absolute left-2 flex h-3.5 w-3.5 items-center justify-center", { variants: {} }), Mt = a("px-2 py-1.5 text-sm font-semibold", { variants: { inset: { true: "pl-8" } } }), Nt = a(n("menu-item relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden forced-color-adjust-none forced-colors:data-[highlighted]:bg-[Highlight] forced-colors:data-[highlighted]:text-[HighlightText] forced-colors:aria-selected:bg-[Highlight] forced-colors:aria-selected:text-[HighlightText]", kt), {
|
|
802
|
-
variants: {
|
|
803
|
-
inset: { true: "pl-8" },
|
|
804
|
-
variant: {
|
|
805
|
-
default: "data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground aria-selected:bg-accent aria-selected:text-accent-foreground",
|
|
806
|
-
danger: "data-[highlighted]:bg-(--red-5) data-[highlighted]:text-(--red-12) aria-selected:bg-(--red-5) aria-selected:text-(--red-12)",
|
|
807
|
-
muted: "data-[highlighted]:bg-muted/70 data-[highlighted]:text-muted-foreground aria-selected:bg-muted/70 aria-selected:text-muted-foreground",
|
|
808
|
-
success: "data-[highlighted]:bg-(--grass-3) data-[highlighted]:text-(--grass-11) aria-selected:bg-(--grass-3) aria-selected:text-(--grass-11)",
|
|
809
|
-
disabled: "text-muted-foreground"
|
|
810
|
-
}
|
|
811
|
-
},
|
|
812
|
-
defaultVariants: { variant: "default" }
|
|
813
|
-
}), Pt = a("-mx-1 my-1 h-px bg-border last:hidden", { variants: {} }), Ft = (e) => {
|
|
814
|
-
let t = (0, $.c)(8), r, i;
|
|
815
|
-
t[0] === e ? (r = t[1], i = t[2]) : ({className: r, ...i} = e, t[0] = e, t[1] = r, t[2] = i);
|
|
816
|
-
let a;
|
|
817
|
-
t[3] === r ? a = t[4] : (a = n("ml-auto text-xs tracking-widest opacity-60", r), t[3] = r, t[4] = a);
|
|
818
|
-
let o;
|
|
819
|
-
return t[5] !== i || t[6] !== a ? (o = /* @__PURE__ */ (0, R.jsx)("span", {
|
|
820
|
-
className: a,
|
|
821
|
-
...i
|
|
822
|
-
}), t[5] = i, t[6] = a, t[7] = o) : o = t[7], o;
|
|
823
|
-
};
|
|
824
|
-
Ft.displayName = "MenuShortcut";
|
|
825
|
-
//#endregion
|
|
826
|
-
//#region src/components/ui/native-select.tsx
|
|
827
|
-
var It = a("flex h-6 w-fit mb-1 items-center justify-between rounded-sm bg-background px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 cursor-pointer forced-color-adjust-none forced-colors:bg-[ButtonFace] forced-colors:text-[ButtonText] forced-colors:disabled:text-[GrayText]", {
|
|
828
|
-
variants: { variant: {
|
|
829
|
-
default: "shadow-xs-solid border border-input hover:shadow-sm-solid focus-visible:border-primary focus-visible:shadow-md-solid disabled:hover:shadow-xs-solid forced-colors:border-[ButtonText] forced-colors:disabled:border-[GrayText]",
|
|
830
|
-
ghost: "opacity-70 hover:opacity-100 focus:opacity-100"
|
|
831
|
-
} },
|
|
832
|
-
defaultVariants: { variant: "default" }
|
|
833
|
-
}), Lt = L.forwardRef((e, t) => {
|
|
834
|
-
let i = (0, $.c)(12), a, o, s;
|
|
835
|
-
i[0] === e ? (a = i[1], o = i[2], s = i[3]) : ({className: o, children: a, ...s} = e, i[0] = e, i[1] = a, i[2] = o, i[3] = s);
|
|
836
|
-
let c;
|
|
837
|
-
i[4] === Symbol.for("react.memo_cache_sentinel") ? (c = r.stopPropagation(), i[4] = c) : c = i[4];
|
|
838
|
-
let l;
|
|
839
|
-
i[5] === o ? l = i[6] : (l = n(It({}), o), i[5] = o, i[6] = l);
|
|
840
|
-
let u;
|
|
841
|
-
return i[7] !== a || i[8] !== s || i[9] !== t || i[10] !== l ? (u = /* @__PURE__ */ (0, R.jsx)("select", {
|
|
842
|
-
ref: t,
|
|
843
|
-
onClick: c,
|
|
844
|
-
className: l,
|
|
845
|
-
...s,
|
|
846
|
-
children: a
|
|
847
|
-
}), i[7] = a, i[8] = s, i[9] = t, i[10] = l, i[11] = u) : u = i[11], u;
|
|
848
|
-
});
|
|
849
|
-
Lt.displayName = "NativeSelect";
|
|
850
|
-
//#endregion
|
|
851
|
-
//#region src/components/ui/select.tsx
|
|
852
|
-
var Rt = st, zt = mt, Bt = w(dt), Vt = lt, Ht = L.forwardRef((e, t) => {
|
|
853
|
-
let r = (0, $.c)(21), i, a, o, s, c, l;
|
|
854
|
-
r[0] === e ? (i = r[1], a = r[2], o = r[3], s = r[4], c = r[5], l = r[6]) : ({className: a, children: i, onClear: o, variant: l, hideChevron: c, ...s} = e, r[0] = e, r[1] = i, r[2] = a, r[3] = o, r[4] = s, r[5] = c, r[6] = l);
|
|
855
|
-
let u = c !== void 0 && c, d;
|
|
856
|
-
r[7] !== a || r[8] !== l ? (d = n(It({ variant: l }), "mb-0", a), r[7] = a, r[8] = l, r[9] = d) : d = r[9];
|
|
857
|
-
let f;
|
|
858
|
-
r[10] !== u || r[11] !== o ? (f = o ? /* @__PURE__ */ (0, R.jsx)("span", {
|
|
859
|
-
onPointerDown: (e) => {
|
|
860
|
-
e.preventDefault(), e.stopPropagation(), o();
|
|
861
|
-
},
|
|
862
|
-
children: /* @__PURE__ */ (0, R.jsx)(F, { className: "h-4 w-4 opacity-50 hover:opacity-90" })
|
|
863
|
-
}) : !u && /* @__PURE__ */ (0, R.jsx)(P, { className: "h-4 w-4 opacity-50" }), r[10] = u, r[11] = o, r[12] = f) : f = r[12];
|
|
864
|
-
let p;
|
|
865
|
-
r[13] === f ? p = r[14] : (p = /* @__PURE__ */ (0, R.jsx)(ut, {
|
|
866
|
-
asChild: !0,
|
|
867
|
-
children: f
|
|
868
|
-
}), r[13] = f, r[14] = p);
|
|
869
|
-
let m;
|
|
870
|
-
return r[15] !== i || r[16] !== s || r[17] !== t || r[18] !== d || r[19] !== p ? (m = /* @__PURE__ */ (0, R.jsxs)(ct, {
|
|
871
|
-
ref: t,
|
|
872
|
-
className: d,
|
|
873
|
-
...s,
|
|
874
|
-
children: [i, p]
|
|
875
|
-
}), r[15] = i, r[16] = s, r[17] = t, r[18] = d, r[19] = p, r[20] = m) : m = r[20], m;
|
|
876
|
-
});
|
|
877
|
-
Ht.displayName = ct.displayName;
|
|
878
|
-
var Ut = C(ft), Wt = L.forwardRef((e, t) => {
|
|
879
|
-
let r = (0, $.c)(21), i, a, o, s;
|
|
880
|
-
r[0] === e ? (i = r[1], a = r[2], o = r[3], s = r[4]) : ({className: a, children: i, position: s, ...o} = e, r[0] = e, r[1] = i, r[2] = a, r[3] = o, r[4] = s);
|
|
881
|
-
let c = s === void 0 ? "popper" : s, l = c === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", u;
|
|
882
|
-
r[5] !== a || r[6] !== l ? (u = n("max-h-[300px] relative z-50 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", l, a), r[5] = a, r[6] = l, r[7] = u) : u = r[7];
|
|
883
|
-
let d;
|
|
884
|
-
r[8] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ (0, R.jsx)(yt, {
|
|
885
|
-
className: "flex items-center justify-center h-[20px] bg-background text-muted-foreground cursor-default",
|
|
886
|
-
children: /* @__PURE__ */ (0, R.jsx)(ne, { className: "h-4 w-4" })
|
|
887
|
-
}), r[8] = d) : d = r[8];
|
|
888
|
-
let f = c === "popper" && "h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)", p;
|
|
889
|
-
r[9] === f ? p = r[10] : (p = n("p-1", f), r[9] = f, r[10] = p);
|
|
890
|
-
let m;
|
|
891
|
-
r[11] !== i || r[12] !== p ? (m = /* @__PURE__ */ (0, R.jsx)(pt, {
|
|
892
|
-
className: p,
|
|
893
|
-
children: i
|
|
894
|
-
}), r[11] = i, r[12] = p, r[13] = m) : m = r[13];
|
|
895
|
-
let h;
|
|
896
|
-
r[14] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ (0, R.jsx)(bt, {
|
|
897
|
-
className: "flex items-center justify-center h-[20px] bg-background text-muted-foreground cursor-default",
|
|
898
|
-
children: /* @__PURE__ */ (0, R.jsx)(P, { className: "h-4 w-4 opacity-50" })
|
|
899
|
-
}), r[14] = h) : h = r[14];
|
|
900
|
-
let g;
|
|
901
|
-
return r[15] !== c || r[16] !== o || r[17] !== t || r[18] !== u || r[19] !== m ? (g = /* @__PURE__ */ (0, R.jsx)(Bt, { children: /* @__PURE__ */ (0, R.jsx)(b, { children: /* @__PURE__ */ (0, R.jsxs)(Ut, {
|
|
902
|
-
ref: t,
|
|
903
|
-
className: u,
|
|
904
|
-
position: c,
|
|
905
|
-
...o,
|
|
906
|
-
children: [
|
|
907
|
-
d,
|
|
908
|
-
m,
|
|
909
|
-
h
|
|
910
|
-
]
|
|
911
|
-
}) }) }), r[15] = c, r[16] = o, r[17] = t, r[18] = u, r[19] = m, r[20] = g) : g = r[20], g;
|
|
912
|
-
});
|
|
913
|
-
Wt.displayName = ft.displayName;
|
|
914
|
-
var Gt = L.forwardRef((e, t) => {
|
|
915
|
-
let r = (0, $.c)(9), i, a;
|
|
916
|
-
r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
|
|
917
|
-
let o;
|
|
918
|
-
r[3] === i ? o = r[4] : (o = n("px-2 py-1.5 text-sm font-semibold", i), r[3] = i, r[4] = o);
|
|
919
|
-
let s;
|
|
920
|
-
return r[5] !== a || r[6] !== t || r[7] !== o ? (s = /* @__PURE__ */ (0, R.jsx)(ht, {
|
|
921
|
-
ref: t,
|
|
922
|
-
className: o,
|
|
923
|
-
...a
|
|
924
|
-
}), r[5] = a, r[6] = t, r[7] = o, r[8] = s) : s = r[8], s;
|
|
925
|
-
});
|
|
926
|
-
Gt.displayName = ht.displayName;
|
|
927
|
-
var Kt = L.forwardRef((e, t) => {
|
|
928
|
-
let r = (0, $.c)(17), i, a, o, s;
|
|
929
|
-
r[0] === e ? (i = r[1], a = r[2], o = r[3], s = r[4]) : ({className: a, children: i, subtitle: s, ...o} = e, r[0] = e, r[1] = i, r[2] = a, r[3] = o, r[4] = s);
|
|
930
|
-
let c;
|
|
931
|
-
r[5] === a ? c = r[6] : (c = n("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-hidden data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground forced-colors:data-[highlighted]:bg-[Highlight] forced-colors:data-[highlighted]:text-[HighlightText]", kt, a), r[5] = a, r[6] = c);
|
|
932
|
-
let l;
|
|
933
|
-
r[7] === Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ (0, R.jsx)("span", {
|
|
934
|
-
className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
935
|
-
children: /* @__PURE__ */ (0, R.jsx)(vt, { children: /* @__PURE__ */ (0, R.jsx)(g, { className: "h-3 w-3" }) })
|
|
936
|
-
}), r[7] = l) : l = r[7];
|
|
937
|
-
let u = typeof i != "string" || void 0, d;
|
|
938
|
-
r[8] !== i || r[9] !== u ? (d = /* @__PURE__ */ (0, R.jsx)(_t, {
|
|
939
|
-
asChild: u,
|
|
940
|
-
className: "flex w-full flex-1",
|
|
941
|
-
children: i
|
|
942
|
-
}), r[8] = i, r[9] = u, r[10] = d) : d = r[10];
|
|
943
|
-
let f;
|
|
944
|
-
return r[11] !== o || r[12] !== t || r[13] !== s || r[14] !== c || r[15] !== d ? (f = /* @__PURE__ */ (0, R.jsxs)(gt, {
|
|
945
|
-
ref: t,
|
|
946
|
-
className: c,
|
|
947
|
-
...o,
|
|
948
|
-
children: [
|
|
949
|
-
l,
|
|
950
|
-
d,
|
|
951
|
-
s
|
|
952
|
-
]
|
|
953
|
-
}), r[11] = o, r[12] = t, r[13] = s, r[14] = c, r[15] = d, r[16] = f) : f = r[16], f;
|
|
954
|
-
});
|
|
955
|
-
Kt.displayName = gt.displayName;
|
|
956
|
-
var qt = L.forwardRef((e, t) => {
|
|
957
|
-
let r = (0, $.c)(9), i, a;
|
|
958
|
-
r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
|
|
959
|
-
let o;
|
|
960
|
-
r[3] === i ? o = r[4] : (o = n("-mx-1 my-1 h-px bg-muted", i), r[3] = i, r[4] = o);
|
|
961
|
-
let s;
|
|
962
|
-
return r[5] !== a || r[6] !== t || r[7] !== o ? (s = /* @__PURE__ */ (0, R.jsx)(xt, {
|
|
963
|
-
ref: t,
|
|
964
|
-
className: o,
|
|
965
|
-
...a
|
|
966
|
-
}), r[5] = a, r[6] = t, r[7] = o, r[8] = s) : s = r[8], s;
|
|
967
|
-
});
|
|
968
|
-
qt.displayName = xt.displayName;
|
|
969
|
-
//#endregion
|
|
970
|
-
export { F as A, Ct as C, re as D, H as E, P as M, V as O, St as S, ct as T, Mt as _, Gt as a, Et as b, Vt as c, kt as d, Ft as f, Nt as g, At as h, Kt as i, ne as j, z as k, Lt as l, jt as m, Wt as n, qt as o, Dt as p, zt as r, Ht as s, Rt as t, It as u, Pt as v, ut as w, wt as x, Ot as y };
|