@marimo-team/islands 0.25.2-dev13 → 0.25.2-dev131
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-CqhQmp74.js → ConnectedDataExplorerComponent-CNSxdKyJ.js} +15 -15
- package/dist/{ErrorBoundary-C901K0Pa.js → ErrorBoundary-B3SvRdNh.js} +12 -12
- package/dist/{ImageComparisonComponent-Cpfz30OZ.js → ImageComparisonComponent-uU8FSKZE.js} +3 -3
- package/dist/{Plot-CTyjbQDT.js → Plot-DdYOe1UK.js} +2 -2
- package/dist/{abnfDiagram-VCTEODGH-aLGD44M7.js → abnfDiagram-VCTEODGH-DQDjNXt3.js} +3 -3
- package/dist/{any-language-editor-dqxlUDlT.js → any-language-editor-B9REGlD9.js} +8 -8
- package/dist/{apl-BYaaig9_.js → apl-GEW9-ZP1.js} +1 -1
- package/dist/{architectureDiagram-5GKGNRK7-BGL5P81u.js → architectureDiagram-5GKGNRK7-Nmls7Wxn.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-BXYkiFsk.js +1 -0
- package/dist/assets/worker-HPY9fbhz.js +114 -0
- package/dist/{asterisk-B3I8SNb5.js → asterisk-lE36-hJK.js} +1 -1
- package/dist/{blockDiagram-I7D4REHJ-CvBmppdy.js → blockDiagram-I7D4REHJ-Cg25UrxT.js} +9 -9
- package/dist/{brainfuck-DXjk3bQe.js → brainfuck-BQCYDheZ.js} +1 -1
- package/dist/{button-B0Xgl-Qn.js → button-CvjkwdSk.js} +304 -287
- package/dist/{c4Diagram-7LVT6UL2-EceL4_jH.js → c4Diagram-7LVT6UL2-BxFgrnNV.js} +7 -7
- package/dist/{capabilities-D7Ad8-zw.js → capabilities-CQ5IjhzL.js} +1 -1
- package/dist/{cells-5ppES-Un.js → cells-CuYwqnV8.js} +5950 -4893
- package/dist/{channel-z7HZXHwv.js → channel-CPObtJXj.js} +1 -1
- package/dist/{chat-ui-Dv2V95k6.js → chat-ui-C6oDg4Zu.js} +1595 -1402
- package/dist/{check-DGZ74tV2.js → check-EDwSwP89.js} +1 -1
- package/dist/{chunk-4HAMMTFA-BPTTOOC5.js → chunk-4HAMMTFA-D4eFPyFh.js} +5 -5
- package/dist/{chunk-75Z2AOVW-C4AOleKf.js → chunk-75Z2AOVW-D7gxIs2Q.js} +1 -1
- package/dist/{chunk-DU6HZSFF-1TwWR6gh.js → chunk-DU6HZSFF-BwiyaNpg.js} +2 -2
- package/dist/{chunk-F27PBJKO-DMI1PBe4.js → chunk-F27PBJKO-ufseIn5y.js} +1 -1
- package/dist/{chunk-GMAD6QVW-vStrMz2P.js → chunk-GMAD6QVW-BhaJx0X3.js} +3 -3
- package/dist/{chunk-GVQU2GXP-2HwWgs4u.js → chunk-GVQU2GXP-Cwbt-lF0.js} +2 -2
- package/dist/{chunk-IMKFNOWR-Cm3RgLDj.js → chunk-IMKFNOWR-CoIFEo-1.js} +6 -6
- package/dist/{chunk-L3NEJ4N5-RhC7i0I2.js → chunk-L3NEJ4N5-n-zgIVSy.js} +5 -5
- package/dist/{chunk-OSK3NFVY-CZV09N-U.js → chunk-OSK3NFVY-DXa-Cxbn.js} +6 -6
- package/dist/{chunk-P2QGCYS3-0TAWai9C.js → chunk-P2QGCYS3-B_Zd3-X0.js} +1 -1
- package/dist/{chunk-POPQ4Y6H-Cc3_56GX.js → chunk-POPQ4Y6H-hYOXbYH_.js} +1 -1
- package/dist/{chunk-PWAF6VOD-lNxB9k8z.js → chunk-PWAF6VOD-CQw5qATZ.js} +1 -1
- package/dist/{chunk-SHT3W25Y-DedDYSP5.js → chunk-SHT3W25Y-lHiGx3ZC.js} +8 -8
- package/dist/{chunk-SVP7TREG-B2SFkCAL.js → chunk-SVP7TREG-BvsHIrY_.js} +2 -2
- package/dist/{chunk-TICWLB2K-DB6hjNOL.js → chunk-TICWLB2K-BC8YIm_n.js} +6 -6
- package/dist/{chunk-YOKDWASO-DrWbKnxA.js → chunk-YOKDWASO-DPZk8vhS.js} +6 -6
- package/dist/classDiagram-ZZMXUADV-Bt98lkkv.js +30 -0
- package/dist/classDiagram-v2-VYDZK3BY-D9bfbcC3.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-DbDN7P7-.js → code-visibility-DdJ92AV9.js} +7 -7
- package/dist/{coffeescript-BVe1OiD9.js → coffeescript-C-eFwH5N.js} +1 -1
- package/dist/{common-BT9gbOCH.js → common-BkR5VStb.js} +9639 -9291
- package/dist/{commonlisp-DxoBG7fU.js → commonlisp-CyaNXrJR.js} +1 -1
- package/dist/{compiler-runtime-Cj8ZWiNS.js → compiler-runtime-CldRdSsv.js} +2 -2
- package/dist/{copy-icon-qmRg_VTX.js → copy-icon-Ft7t9bqz.js} +6 -6
- 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-DzaZEqgD.js → cynefinDiagram-5FMLGOSQ-CgWra7wt.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-Cjf5GjU3.js → dagre-GXQ25YYZ-CFZ8-35c.js} +10 -10
- package/dist/{data-grid-overlay-editor-CVzcJKyS.js → data-grid-overlay-editor-DO_vB_uu.js} +7 -7
- package/dist/{data-grid-types-BucVmDDp.js → data-grid-types-BH_r7g7l.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-IhLt_khx.js → diagram-S7CK7UJ4-lCNQrW7d.js} +4 -4
- package/dist/{diagram-UQ7AKVKN-CQc6KLPB.js → diagram-UQ7AKVKN-CQPQ6pP_.js} +3 -3
- package/dist/{diagram-VSXAHHWV-CR7BJygZ.js → diagram-VSXAHHWV-BJWcVVJY.js} +2 -2
- package/dist/{diagram-VX7I27RA-DHmW9N1T.js → diagram-VX7I27RA-Cf3b0llz.js} +5 -5
- package/dist/{diagram-Z3DM3KII-zVKsg-Ty.js → diagram-Z3DM3KII-Bt4QLrpn.js} +3 -3
- package/dist/{dialog-CILKhbsG.js → dialog-CEBFZNyc.js} +29 -29
- 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-CcyKTBTF.js → dist-DpBpA_n1.js} +2 -2
- 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-CP_qCYHC.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-DDd5hCRC.js → ebnfDiagram-PWID7BFC-D3NAyPFY.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-D10NP0eI.js → erDiagram-RLTQ6QDP-Tlu09_Nm.js} +12 -12
- package/dist/{erlang-BtAuIoF0.js → erlang-AdO1-xtV.js} +1 -1
- package/dist/error-banner-Da600cwz.js +362 -0
- package/dist/{error-entries-B2Ux3Z2X.js → error-entries-zfHL6H60.js} +2 -2
- package/dist/{esm-h8f7-1CJ.js → esm-AMFssoNp.js} +380 -374
- package/dist/{esm-BElI3qKH.js → esm-D2gTsXEV.js} +579 -579
- 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-CglJWpZl.js → feedback-button-lyfTVLLs.js} +13 -13
- package/dist/flowDiagram-HODETNUW-CAYbpJmV.js +16 -0
- package/dist/{formats-Q9gwlLyD.js → formats-DLtvJPnj.js} +6 -6
- 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-BQT16JSc.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-D5nSIzdE.js} +2 -2
- package/dist/{glide-data-editor-DYVqOapE.js → glide-data-editor-lWcak3St.js} +60 -60
- package/dist/{glide-utils-CzzWU59p.js → glide-utils-DJyqh0EM.js} +4 -4
- package/dist/{globals-GIct2xJr.js → globals-CWqmfMYC.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/{highlighted-body-KPVGNVTW-Ad3MKZ18.js → highlighted-body-KPVGNVTW-zwjq21tf.js} +4 -4
- package/dist/{html-to-image-BZBwkkDG.js → html-to-image-BJJsbNZ1.js} +547 -569
- package/dist/{http-BrSBnhDH.js → http-Bh6HhdNR.js} +1 -1
- package/dist/{idl-BXuPleZv.js → idl-DZgBq75I.js} +1 -1
- package/dist/{infoDiagram-27XIBGKW-DrYu3UZC.js → infoDiagram-27XIBGKW-XrDxhr0x.js} +2 -2
- package/dist/{ishikawaDiagram-5VMMS53U-pmkGQJsA.js → ishikawaDiagram-5VMMS53U-CD1muzov.js} +3 -3
- package/dist/{javascript-B4EPWJf_.js → javascript-BfNytHiM.js} +1 -1
- package/dist/{journeyDiagram-3NMN7TZE-EPJDPlt0.js → journeyDiagram-3NMN7TZE-BaLqn-dZ.js} +2 -2
- package/dist/{jsx-runtime-DgDPJV9S.js → jsx-runtime-3BD1kT0s.js} +1 -1
- package/dist/{julia-ke9Kh8b7.js → julia--tLIAG7q.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-wWGD9VLW.js → kanban-definition-UXKFOSKX-Dg9W142_.js} +9 -9
- package/dist/{katex-BNCmKUol.js → katex-BIdZGsyO.js} +141 -116
- package/dist/label-BDKF3Afc.js +281 -0
- package/dist/{livescript-Ce4uqGAC.js → livescript-CVPfYnY_.js} +1 -1
- package/dist/{loader-C9OUkMrj.js → loader-BQOfjTIJ.js} +1 -1
- package/dist/{lua-D6fti_Jk.js → lua-4Fa-T-qq.js} +1 -1
- package/dist/main.js +7060 -6909
- package/dist/{mathematica-DcEpZ3Vj.js → mathematica-CtYAy6GG.js} +1 -1
- package/dist/{mbox-DFBbOu0X.js → mbox-D0w9Ah1C.js} +1 -1
- package/dist/{mermaid-Dfvntf3s.js → mermaid-CiAXjLpA.js} +57 -57
- package/dist/mermaid-HWGCJPDP-ByCsZnYF.js +2 -0
- package/dist/{mhchem-BEc7A1or.js → mhchem-CdWPJK6g.js} +1 -1
- package/dist/{mindmap-definition-YA3MSWOX-C2f1VIBR.js → mindmap-definition-YA3MSWOX-DgCidgYJ.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-D9ZV_sED.js → number-overlay-editor-DDayfCOW.js} +5 -5
- 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-D6v5dz4M.js → pegDiagram-XKGWAZYB-coOYYKB6.js} +3 -3
- package/dist/{perl-DjzMqXtt.js → perl-Drlh9s6m.js} +1 -1
- package/dist/{pieDiagram-E7YTZNPT-BwFAhpYD.js → pieDiagram-E7YTZNPT-BnXTc3bj.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-BSsWzfnY.js → process-output-C1GGFU6Q.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-Ccw0xMjN.js} +1 -1
- package/dist/{r-CzKF1D2X.js → r-DSwXWKMR.js} +1 -1
- package/dist/{railroadDiagram-O6MQD6OU-D6eOFr6Z.js → railroadDiagram-O6MQD6OU-B28-u83n.js} +3 -3
- package/dist/{react-dom-BUgJ-ab_.js → react-dom-DUmH0GXv.js} +29 -21
- package/dist/{react-ofJbxM4x.js → react-sHtZdjeP.js} +103 -94
- package/dist/{react-vega-ewj7q_U5.js → react-vega-BED0DjiB.js} +3 -3
- package/dist/{requirementDiagram-BXWQKSXE-CHYsMgDR.js → requirementDiagram-BXWQKSXE-CdYCTMu0.js} +11 -11
- package/dist/{reveal-component-Bl8NIAua.js → reveal-component-BGy4nlCs.js} +906 -878
- 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-ELvOcnZH.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-BButFi-d.js +1344 -0
- package/dist/{sequenceDiagram-WJ2MYXX4-BPAknhBp.js → sequenceDiagram-WJ2MYXX4-CM3aRAe_.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-D62vWpMT.js → spec-BwarBpUJ.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-Cq249IQ4.js → stateDiagram-D77RDMKH-DOZUMVj8.js} +13 -13
- package/dist/stateDiagram-v2-MP3YSRHH-CISYxma6.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-Bh_S_HKD.js → swimlanes-42K2YHIH-BkSppxp8.js} +10 -10
- package/dist/swimlanesDiagram-VR7AAH4N-c8G5pGxC.js +30 -0
- package/dist/{swiper-component-DkV7T44B.js → swiper-component-DKntyn8p.js} +5 -5
- 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-ByNMgBE7.js → timeline-definition-24CTP7MA-CaMQayqK.js} +3 -3
- package/dist/{toDate-DWVp6uE1.js → toDate-Dwcg_x_5.js} +5 -6
- package/dist/{toast-DcoJGS3-.js → toast-B9UMEi8u.js} +161 -165
- package/dist/{toml-AesZ6RBt.js → toml-CaUN7UHo.js} +1 -1
- package/dist/{tooltip-Bi36DgYh.js → tooltip-BO1REbqs.js} +548 -584
- 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-ZgG5Br63.js → use-restore-focus-BEM7sFWl.js} +2430 -2007
- package/dist/{use-vega-container-remeasure-4DwJbPWu.js → use-vega-container-remeasure-Bz4PZMtt.js} +2 -2
- package/dist/{useAsyncData-BD7NLQ3_.js → useAsyncData-Deh5kszT.js} +3 -3
- package/dist/{useDateFormatter-D8XWr8lL.js → useDateFormatter-D8XruNGG.js} +53 -32
- package/dist/{useDeepCompareMemoize-CawMGSRU.js → useDeepCompareMemoize-DXwzRINI.js} +2 -2
- package/dist/{useIframeCapabilities-BUMBOpsM.js → useIframeCapabilities-DBETvvPl.js} +2 -2
- package/dist/{useLifecycle-3vGhRa1o.js → useLifecycle-j7D9uD1o.js} +6 -6
- package/dist/{useTheme-BOw801nZ.js → useTheme-CRnjkku0.js} +7 -7
- 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-9siY74NS.js → vega-component-DLBAQLSf.js} +14 -14
- package/dist/{vega-embed-container-sSR5hAsy.js → vega-embed-container-BNHE18G9.js} +5 -5
- package/dist/{velocity-DHMu9kc-.js → velocity-CZKOFbOI.js} +1 -1
- package/dist/{vennDiagram-4TSXK5OY-DY8CySdO.js → vennDiagram-4TSXK5OY-CF8pfaK3.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-DYC1AFni.js → wardleyDiagram-VM6X3IG4-dGPu39d-.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-Df8LLnuY.js → xychartDiagram-S5SC5T6Z-CP6-9q56.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 +38 -37
- 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/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/pair-with-agent-commands.ts +3 -4
- package/src/components/editor/actions/pair-with-agent-modal.tsx +4 -7
- package/src/components/editor/actions/useRestartKernel.tsx +2 -2
- 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 +6 -5
- 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/editor/output/console/ConsoleOutput.tsx +5 -3
- package/src/components/editor/output/console/__tests__/ConsoleOutput.test.tsx +18 -0
- package/src/components/storage/__tests__/storage-file-viewer.test.tsx +2 -1
- 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/cells/__tests__/document-roundtrip.test.ts +16 -0
- package/src/core/codemirror/copilot/__tests__/completion-integration.test.ts +447 -0
- package/src/core/codemirror/copilot/__tests__/inline-completion.test.ts +395 -0
- package/src/core/codemirror/copilot/__tests__/language-server.test.ts +511 -2
- package/src/core/codemirror/copilot/__tests__/rpc-cancellation.test.ts +201 -0
- package/src/core/codemirror/copilot/extension.ts +22 -11
- package/src/core/codemirror/copilot/language-server.ts +109 -60
- package/src/core/codemirror/language/__tests__/sql.test.ts +4 -3
- package/src/core/codemirror/language/embedded/__tests__/embedded-python.test.ts +138 -26
- package/src/core/codemirror/language/embedded/embedded-python.ts +47 -13
- package/src/core/codemirror/language/embedded/latex.ts +20 -13
- 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 +20 -13
- package/src/core/edit-app.tsx +5 -1
- package/src/core/export/hooks.ts +2 -2
- package/src/core/islands/bootstrap.ts +1 -0
- package/src/core/islands/bridge.ts +2 -2
- package/src/core/kernel/messages.ts +1 -1
- package/src/core/kernel/session.ts +9 -0
- package/src/core/network/__tests__/api.test.ts +114 -1
- package/src/core/network/__tests__/connection.test.ts +3 -3
- package/src/core/network/api.ts +3 -2
- 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/bridge.ts +2 -2
- package/src/core/wasm/worker/bootstrap.ts +22 -3
- package/src/core/wasm/worker/types.ts +2 -2
- 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 +175 -169
- package/src/hooks/__tests__/useEventListener.test.tsx +45 -1
- package/src/hooks/useEventListener.ts +6 -1
- 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/MultiselectPlugin.tsx +1 -1
- package/src/plugins/impl/NumberPlugin.tsx +21 -4
- 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__/NumberPlugin.test.tsx +159 -1
- 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/assets/worker-D7hWi02M.js +0 -109
- package/dist/classDiagram-ZZMXUADV-BwYhrSEX.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-HecM04TM.js +0 -30
- package/dist/dropdown-menu-BaqM0t4N.js +0 -4502
- package/dist/error-banner-DzAmP0AQ.js +0 -391
- package/dist/flowDiagram-HODETNUW-DgcjSdPV.js +0 -16
- package/dist/label-MNhNNoN6.js +0 -278
- package/dist/mermaid-HWGCJPDP-DYCzSILp.js +0 -2
- package/dist/purify.es-DgKyQviY.js +0 -805
- package/dist/select-BcObMjGz.js +0 -970
- package/dist/stateDiagram-v2-MP3YSRHH-Dk5QgdXF.js +0 -30
- package/dist/swimlanesDiagram-VR7AAH4N-CbztusY8.js +0 -30
- package/src/components/editor/chrome/panels/sandbox-toggle.tsx +0 -52
|
@@ -1,391 +0,0 @@
|
|
|
1
|
-
import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import { d as t, g as n, h as r, n as i, p as a, r as o } from "./button-B0Xgl-Qn.js";
|
|
3
|
-
import { t as s } from "./react-ofJbxM4x.js";
|
|
4
|
-
import { t as c } from "./compiler-runtime-Cj8ZWiNS.js";
|
|
5
|
-
import { t as l } from "./jsx-runtime-DgDPJV9S.js";
|
|
6
|
-
import { $ as u, Ct as d, F as f, M as p, Q as m, Y as h, at as g, ct as _, et as v, it as y, nt as ee, ot as te, rt as ne, st as re, t as ie, tt as ae, wt as oe } from "./use-restore-focus-ZgG5Br63.js";
|
|
7
|
-
//#region ../node_modules/.pnpm/@radix-ui+react-alert-dialog@1.1.15_@types+react-dom@19.2.5_@types+react@19.2.18__@type_36e0b4da7f89163cc490cb4818f5dcd8/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs
|
|
8
|
-
var b = /* @__PURE__ */ e(s(), 1), x = l(), S = "AlertDialog", [se, ce] = oe(S, [_]), C = _(), w = (e) => {
|
|
9
|
-
let { __scopeAlertDialog: t, ...n } = e, r = C(t);
|
|
10
|
-
return /* @__PURE__ */ (0, x.jsx)(y, {
|
|
11
|
-
...r,
|
|
12
|
-
...n,
|
|
13
|
-
modal: !0
|
|
14
|
-
});
|
|
15
|
-
};
|
|
16
|
-
w.displayName = S;
|
|
17
|
-
var le = "AlertDialogTrigger", ue = b.forwardRef((e, t) => {
|
|
18
|
-
let { __scopeAlertDialog: n, ...r } = e, i = C(n);
|
|
19
|
-
return /* @__PURE__ */ (0, x.jsx)(te, {
|
|
20
|
-
...i,
|
|
21
|
-
...r,
|
|
22
|
-
ref: t
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
ue.displayName = le;
|
|
26
|
-
var de = "AlertDialogPortal", T = (e) => {
|
|
27
|
-
let { __scopeAlertDialog: t, ...n } = e, r = C(t);
|
|
28
|
-
return /* @__PURE__ */ (0, x.jsx)(ne, {
|
|
29
|
-
...r,
|
|
30
|
-
...n
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
T.displayName = de;
|
|
34
|
-
var fe = "AlertDialogOverlay", E = b.forwardRef((e, t) => {
|
|
35
|
-
let { __scopeAlertDialog: n, ...r } = e, i = C(n);
|
|
36
|
-
return /* @__PURE__ */ (0, x.jsx)(ee, {
|
|
37
|
-
...i,
|
|
38
|
-
...r,
|
|
39
|
-
ref: t
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
E.displayName = fe;
|
|
43
|
-
var D = "AlertDialogContent", [pe, me] = se(D), he = t("AlertDialogContent"), O = b.forwardRef((e, t) => {
|
|
44
|
-
let { __scopeAlertDialog: n, children: r, ...i } = e, o = C(n), s = b.useRef(null), c = a(t, s), l = b.useRef(null);
|
|
45
|
-
return /* @__PURE__ */ (0, x.jsx)(re, {
|
|
46
|
-
contentName: D,
|
|
47
|
-
titleName: k,
|
|
48
|
-
docsSlug: "alert-dialog",
|
|
49
|
-
children: /* @__PURE__ */ (0, x.jsx)(pe, {
|
|
50
|
-
scope: n,
|
|
51
|
-
cancelRef: l,
|
|
52
|
-
children: /* @__PURE__ */ (0, x.jsxs)(v, {
|
|
53
|
-
role: "alertdialog",
|
|
54
|
-
...o,
|
|
55
|
-
...i,
|
|
56
|
-
ref: c,
|
|
57
|
-
onOpenAutoFocus: d(i.onOpenAutoFocus, (e) => {
|
|
58
|
-
e.preventDefault(), l.current?.focus({ preventScroll: !0 });
|
|
59
|
-
}),
|
|
60
|
-
onPointerDownOutside: (e) => e.preventDefault(),
|
|
61
|
-
onInteractOutside: (e) => e.preventDefault(),
|
|
62
|
-
children: [/* @__PURE__ */ (0, x.jsx)(he, { children: r }), /* @__PURE__ */ (0, x.jsx)(ve, { contentRef: s })]
|
|
63
|
-
})
|
|
64
|
-
})
|
|
65
|
-
});
|
|
66
|
-
});
|
|
67
|
-
O.displayName = D;
|
|
68
|
-
var k = "AlertDialogTitle", A = b.forwardRef((e, t) => {
|
|
69
|
-
let { __scopeAlertDialog: n, ...r } = e, i = C(n);
|
|
70
|
-
return /* @__PURE__ */ (0, x.jsx)(g, {
|
|
71
|
-
...i,
|
|
72
|
-
...r,
|
|
73
|
-
ref: t
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
A.displayName = k;
|
|
77
|
-
var ge = "AlertDialogDescription", j = b.forwardRef((e, t) => {
|
|
78
|
-
let { __scopeAlertDialog: n, ...r } = e, i = C(n);
|
|
79
|
-
return /* @__PURE__ */ (0, x.jsx)(ae, {
|
|
80
|
-
...i,
|
|
81
|
-
...r,
|
|
82
|
-
ref: t
|
|
83
|
-
});
|
|
84
|
-
});
|
|
85
|
-
j.displayName = ge;
|
|
86
|
-
var _e = "AlertDialogAction", M = b.forwardRef((e, t) => {
|
|
87
|
-
let { __scopeAlertDialog: n, ...r } = e, i = C(n);
|
|
88
|
-
return /* @__PURE__ */ (0, x.jsx)(u, {
|
|
89
|
-
...i,
|
|
90
|
-
...r,
|
|
91
|
-
ref: t
|
|
92
|
-
});
|
|
93
|
-
});
|
|
94
|
-
M.displayName = _e;
|
|
95
|
-
var N = "AlertDialogCancel", P = b.forwardRef((e, t) => {
|
|
96
|
-
let { __scopeAlertDialog: n, ...r } = e, { cancelRef: i } = me(N, n), o = C(n), s = a(t, i);
|
|
97
|
-
return /* @__PURE__ */ (0, x.jsx)(u, {
|
|
98
|
-
...o,
|
|
99
|
-
...r,
|
|
100
|
-
ref: s
|
|
101
|
-
});
|
|
102
|
-
});
|
|
103
|
-
P.displayName = N;
|
|
104
|
-
var ve = ({ contentRef: e }) => {
|
|
105
|
-
let t = `\`${D}\` requires a description for the component to be accessible for screen reader users.
|
|
106
|
-
|
|
107
|
-
You can add a description to the \`${D}\` by passing a \`${ge}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
108
|
-
|
|
109
|
-
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${D}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|
110
|
-
|
|
111
|
-
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;
|
|
112
|
-
return b.useEffect(() => {
|
|
113
|
-
document.getElementById(e.current?.getAttribute("aria-describedby")) || console.warn(t);
|
|
114
|
-
}, [t, e]), null;
|
|
115
|
-
}, ye = w, F = T, I = E, L = O, R = M, z = P, B = A, V = j, H = c(), U = ye, W = h(({ children: e, ...t }) => /* @__PURE__ */ (0, x.jsx)(F, {
|
|
116
|
-
...t,
|
|
117
|
-
children: /* @__PURE__ */ (0, x.jsx)(m, { children: /* @__PURE__ */ (0, x.jsx)("div", {
|
|
118
|
-
className: "fixed inset-0 z-50 flex items-end justify-center sm:items-start sm:top-[15%]",
|
|
119
|
-
children: e
|
|
120
|
-
}) })
|
|
121
|
-
}));
|
|
122
|
-
W.displayName = F.displayName;
|
|
123
|
-
var G = b.forwardRef((e, t) => {
|
|
124
|
-
let n = (0, H.c)(9), i, a;
|
|
125
|
-
if (n[0] !== e) {
|
|
126
|
-
let { className: t, children: r, ...o } = e;
|
|
127
|
-
i = t, a = o, n[0] = e, n[1] = i, n[2] = a;
|
|
128
|
-
} else i = n[1], a = n[2];
|
|
129
|
-
let o;
|
|
130
|
-
n[3] === i ? o = n[4] : (o = r("fixed inset-0 z-50 bg-background/80 backdrop-blur-xs transition-opacity animate-in fade-in", i), n[3] = i, n[4] = o);
|
|
131
|
-
let s;
|
|
132
|
-
return n[5] !== a || n[6] !== t || n[7] !== o ? (s = /* @__PURE__ */ (0, x.jsx)(I, {
|
|
133
|
-
className: o,
|
|
134
|
-
...a,
|
|
135
|
-
ref: t
|
|
136
|
-
}), n[5] = a, n[6] = t, n[7] = o, n[8] = s) : s = n[8], s;
|
|
137
|
-
});
|
|
138
|
-
G.displayName = I.displayName;
|
|
139
|
-
var K = b.forwardRef((e, t) => {
|
|
140
|
-
let n = (0, H.c)(11), i, a;
|
|
141
|
-
n[0] === e ? (i = n[1], a = n[2]) : ({className: i, ...a} = e, n[0] = e, n[1] = i, n[2] = a);
|
|
142
|
-
let o = ie(), s;
|
|
143
|
-
n[3] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ (0, x.jsx)(G, {}), n[3] = s) : s = n[3];
|
|
144
|
-
let c;
|
|
145
|
-
n[4] === i ? c = n[5] : (c = r("fixed z-50 grid w-full max-w-2xl scale-100 gap-4 border bg-background p-6 opacity-100 shadow-sm animate-in fade-in-90 slide-in-from-bottom-10 sm:rounded-lg sm:zoom-in-90 sm:slide-in-from-bottom-0 md:w-full", i), n[4] = i, n[5] = c);
|
|
146
|
-
let l;
|
|
147
|
-
return n[6] !== a || n[7] !== t || n[8] !== o || n[9] !== c ? (l = /* @__PURE__ */ (0, x.jsxs)(W, { children: [s, /* @__PURE__ */ (0, x.jsx)(L, {
|
|
148
|
-
ref: t,
|
|
149
|
-
className: c,
|
|
150
|
-
...o,
|
|
151
|
-
...a
|
|
152
|
-
})] }), n[6] = a, n[7] = t, n[8] = o, n[9] = c, n[10] = l) : l = n[10], l;
|
|
153
|
-
});
|
|
154
|
-
K.displayName = L.displayName;
|
|
155
|
-
var q = (e) => {
|
|
156
|
-
let t = (0, H.c)(8), n, i;
|
|
157
|
-
t[0] === e ? (n = t[1], i = t[2]) : ({className: n, ...i} = e, t[0] = e, t[1] = n, t[2] = i);
|
|
158
|
-
let a;
|
|
159
|
-
t[3] === n ? a = t[4] : (a = r("flex flex-col space-y-2 text-center sm:text-left", n), t[3] = n, t[4] = a);
|
|
160
|
-
let o;
|
|
161
|
-
return t[5] !== i || t[6] !== a ? (o = /* @__PURE__ */ (0, x.jsx)("div", {
|
|
162
|
-
className: a,
|
|
163
|
-
...i
|
|
164
|
-
}), t[5] = i, t[6] = a, t[7] = o) : o = t[7], o;
|
|
165
|
-
};
|
|
166
|
-
q.displayName = "AlertDialogHeader";
|
|
167
|
-
var J = (e) => {
|
|
168
|
-
let t = (0, H.c)(8), n, i;
|
|
169
|
-
t[0] === e ? (n = t[1], i = t[2]) : ({className: n, ...i} = e, t[0] = e, t[1] = n, t[2] = i);
|
|
170
|
-
let a;
|
|
171
|
-
t[3] === n ? a = t[4] : (a = r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", n), t[3] = n, t[4] = a);
|
|
172
|
-
let o;
|
|
173
|
-
return t[5] !== i || t[6] !== a ? (o = /* @__PURE__ */ (0, x.jsx)("div", {
|
|
174
|
-
className: a,
|
|
175
|
-
...i
|
|
176
|
-
}), t[5] = i, t[6] = a, t[7] = o) : o = t[7], o;
|
|
177
|
-
};
|
|
178
|
-
J.displayName = "AlertDialogFooter";
|
|
179
|
-
var Y = b.forwardRef((e, t) => {
|
|
180
|
-
let n = (0, H.c)(9), i, a;
|
|
181
|
-
n[0] === e ? (i = n[1], a = n[2]) : ({className: i, ...a} = e, n[0] = e, n[1] = i, n[2] = a);
|
|
182
|
-
let o;
|
|
183
|
-
n[3] === i ? o = n[4] : (o = r("text-lg font-semibold", i), n[3] = i, n[4] = o);
|
|
184
|
-
let s;
|
|
185
|
-
return n[5] !== a || n[6] !== t || n[7] !== o ? (s = /* @__PURE__ */ (0, x.jsx)(B, {
|
|
186
|
-
ref: t,
|
|
187
|
-
className: o,
|
|
188
|
-
...a
|
|
189
|
-
}), n[5] = a, n[6] = t, n[7] = o, n[8] = s) : s = n[8], s;
|
|
190
|
-
});
|
|
191
|
-
Y.displayName = B.displayName;
|
|
192
|
-
var X = b.forwardRef((e, t) => {
|
|
193
|
-
let n = (0, H.c)(9), i, a;
|
|
194
|
-
n[0] === e ? (i = n[1], a = n[2]) : ({className: i, ...a} = e, n[0] = e, n[1] = i, n[2] = a);
|
|
195
|
-
let o;
|
|
196
|
-
n[3] === i ? o = n[4] : (o = r("text-muted-foreground", i), n[3] = i, n[4] = o);
|
|
197
|
-
let s;
|
|
198
|
-
return n[5] !== a || n[6] !== t || n[7] !== o ? (s = /* @__PURE__ */ (0, x.jsx)(V, {
|
|
199
|
-
ref: t,
|
|
200
|
-
className: o,
|
|
201
|
-
...a
|
|
202
|
-
}), n[5] = a, n[6] = t, n[7] = o, n[8] = s) : s = n[8], s;
|
|
203
|
-
});
|
|
204
|
-
X.displayName = V.displayName;
|
|
205
|
-
var Z = b.forwardRef((e, t) => {
|
|
206
|
-
let n = (0, H.c)(9), a, o;
|
|
207
|
-
n[0] === e ? (a = n[1], o = n[2]) : ({className: a, ...o} = e, n[0] = e, n[1] = a, n[2] = o);
|
|
208
|
-
let s;
|
|
209
|
-
n[3] === a ? s = n[4] : (s = r(i(), a), n[3] = a, n[4] = s);
|
|
210
|
-
let c;
|
|
211
|
-
return n[5] !== o || n[6] !== t || n[7] !== s ? (c = /* @__PURE__ */ (0, x.jsx)(R, {
|
|
212
|
-
ref: t,
|
|
213
|
-
className: s,
|
|
214
|
-
...o
|
|
215
|
-
}), n[5] = o, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
216
|
-
});
|
|
217
|
-
Z.displayName = R.displayName;
|
|
218
|
-
var Q = b.forwardRef((e, t) => {
|
|
219
|
-
let n = (0, H.c)(9), a, o;
|
|
220
|
-
n[0] === e ? (a = n[1], o = n[2]) : ({className: a, ...o} = e, n[0] = e, n[1] = a, n[2] = o);
|
|
221
|
-
let s;
|
|
222
|
-
n[3] === a ? s = n[4] : (s = r(i({ variant: "destructive" }), a), n[3] = a, n[4] = s);
|
|
223
|
-
let c;
|
|
224
|
-
return n[5] !== o || n[6] !== t || n[7] !== s ? (c = /* @__PURE__ */ (0, x.jsx)(R, {
|
|
225
|
-
ref: t,
|
|
226
|
-
className: s,
|
|
227
|
-
...o
|
|
228
|
-
}), n[5] = o, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
229
|
-
});
|
|
230
|
-
Q.displayName = "AlertDialogDestructiveAction";
|
|
231
|
-
var be = b.forwardRef((e, t) => {
|
|
232
|
-
let n = (0, H.c)(9), a, o;
|
|
233
|
-
n[0] === e ? (a = n[1], o = n[2]) : ({className: a, ...o} = e, n[0] = e, n[1] = a, n[2] = o);
|
|
234
|
-
let s;
|
|
235
|
-
n[3] === a ? s = n[4] : (s = r(i({ variant: "secondary" }), "mt-2 sm:mt-0", a), n[3] = a, n[4] = s);
|
|
236
|
-
let c;
|
|
237
|
-
return n[5] !== o || n[6] !== t || n[7] !== s ? (c = /* @__PURE__ */ (0, x.jsx)(z, {
|
|
238
|
-
ref: t,
|
|
239
|
-
className: s,
|
|
240
|
-
...o
|
|
241
|
-
}), n[5] = o, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
242
|
-
});
|
|
243
|
-
be.displayName = z.displayName;
|
|
244
|
-
//#endregion
|
|
245
|
-
//#region src/utils/errors.ts
|
|
246
|
-
var $ = p({ detail: f() }), xe = p({ error: f() });
|
|
247
|
-
function Se(e) {
|
|
248
|
-
if (!e) return "Unknown error";
|
|
249
|
-
if (e instanceof Error) {
|
|
250
|
-
let t = $.safeParse(e.cause);
|
|
251
|
-
return t.success ? t.data.detail : Ce(e.message);
|
|
252
|
-
}
|
|
253
|
-
if (typeof e == "object") {
|
|
254
|
-
let t = $.safeParse(e);
|
|
255
|
-
if (t.success) return t.data.detail;
|
|
256
|
-
let n = xe.safeParse(e);
|
|
257
|
-
if (n.success) return n.data.error;
|
|
258
|
-
}
|
|
259
|
-
try {
|
|
260
|
-
return JSON.stringify(e);
|
|
261
|
-
} catch {
|
|
262
|
-
return String(e);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
function Ce(e) {
|
|
266
|
-
let t = we(e);
|
|
267
|
-
if (!t) return e;
|
|
268
|
-
let n = $.safeParse(t);
|
|
269
|
-
if (n.success) return n.data.detail;
|
|
270
|
-
let r = xe.safeParse(t);
|
|
271
|
-
return r.success ? r.data.error : e;
|
|
272
|
-
}
|
|
273
|
-
function we(e) {
|
|
274
|
-
try {
|
|
275
|
-
return JSON.parse(e);
|
|
276
|
-
} catch {
|
|
277
|
-
return e;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
var Te = class extends Error {
|
|
281
|
-
constructor(e = "The cell containing this UI element has not been run yet. Please run the cell first.") {
|
|
282
|
-
super(e), this.name = "CellNotInitializedError";
|
|
283
|
-
}
|
|
284
|
-
}, Ee = class extends Error {
|
|
285
|
-
constructor(e = "This UI element could not reach its function on the kernel. Try re-running the cell.") {
|
|
286
|
-
super(e), this.name = "FunctionNotFoundError";
|
|
287
|
-
}
|
|
288
|
-
}, De = (e) => {
|
|
289
|
-
let t = (0, H.c)(23), { error: r, className: i, action: a } = e, [o, s] = (0, b.useState)(!1);
|
|
290
|
-
if (!r) return null;
|
|
291
|
-
n.error(r);
|
|
292
|
-
let c;
|
|
293
|
-
t[0] === r ? c = t[1] : (c = Se(r), t[0] = r, t[1] = c);
|
|
294
|
-
let l = c, u;
|
|
295
|
-
t[2] === Symbol.for("react.memo_cache_sentinel") ? (u = () => s(!0), t[2] = u) : u = t[2];
|
|
296
|
-
let d;
|
|
297
|
-
t[3] === l ? d = t[4] : (d = /* @__PURE__ */ (0, x.jsx)("span", {
|
|
298
|
-
className: "line-clamp-4",
|
|
299
|
-
children: l
|
|
300
|
-
}), t[3] = l, t[4] = d);
|
|
301
|
-
let f;
|
|
302
|
-
t[5] === a ? f = t[6] : (f = a && /* @__PURE__ */ (0, x.jsx)("div", {
|
|
303
|
-
className: "flex justify-end",
|
|
304
|
-
children: a
|
|
305
|
-
}), t[5] = a, t[6] = f);
|
|
306
|
-
let p;
|
|
307
|
-
t[7] !== i || t[8] !== d || t[9] !== f ? (p = /* @__PURE__ */ (0, x.jsxs)(ke, {
|
|
308
|
-
kind: "danger",
|
|
309
|
-
className: i,
|
|
310
|
-
clickable: !0,
|
|
311
|
-
onClick: u,
|
|
312
|
-
children: [d, f]
|
|
313
|
-
}), t[7] = i, t[8] = d, t[9] = f, t[10] = p) : p = t[10];
|
|
314
|
-
let m;
|
|
315
|
-
t[11] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ (0, x.jsx)(q, { children: /* @__PURE__ */ (0, x.jsx)(Y, {
|
|
316
|
-
className: "text-error",
|
|
317
|
-
children: "Error"
|
|
318
|
-
}) }), t[11] = m) : m = t[11];
|
|
319
|
-
let h;
|
|
320
|
-
t[12] === l ? h = t[13] : (h = /* @__PURE__ */ (0, x.jsx)(X, {
|
|
321
|
-
asChild: !0,
|
|
322
|
-
className: "text-error text-sm p-2 font-mono overflow-auto whitespace-pre-wrap",
|
|
323
|
-
children: /* @__PURE__ */ (0, x.jsx)("pre", { children: l })
|
|
324
|
-
}), t[12] = l, t[13] = h);
|
|
325
|
-
let g;
|
|
326
|
-
t[14] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ (0, x.jsx)(J, { children: /* @__PURE__ */ (0, x.jsx)(Z, {
|
|
327
|
-
autoFocus: !0,
|
|
328
|
-
onClick: () => s(!1),
|
|
329
|
-
children: "Ok"
|
|
330
|
-
}) }), t[14] = g) : g = t[14];
|
|
331
|
-
let _;
|
|
332
|
-
t[15] === h ? _ = t[16] : (_ = /* @__PURE__ */ (0, x.jsxs)(K, {
|
|
333
|
-
className: "max-w-[80%] max-h-[80%] overflow-hidden flex flex-col",
|
|
334
|
-
children: [
|
|
335
|
-
m,
|
|
336
|
-
h,
|
|
337
|
-
g
|
|
338
|
-
]
|
|
339
|
-
}), t[15] = h, t[16] = _);
|
|
340
|
-
let v;
|
|
341
|
-
t[17] !== o || t[18] !== _ ? (v = /* @__PURE__ */ (0, x.jsx)(U, {
|
|
342
|
-
open: o,
|
|
343
|
-
onOpenChange: s,
|
|
344
|
-
children: _
|
|
345
|
-
}), t[17] = o, t[18] = _, t[19] = v) : v = t[19];
|
|
346
|
-
let y;
|
|
347
|
-
return t[20] !== v || t[21] !== p ? (y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [p, v] }), t[20] = v, t[21] = p, t[22] = y) : y = t[22], y;
|
|
348
|
-
}, Oe = o("text-sm p-2 border whitespace-pre-wrap overflow-hidden", {
|
|
349
|
-
variants: {
|
|
350
|
-
kind: {
|
|
351
|
-
danger: "text-error border-(--red-6) shadow-md-solid shadow-error bg-(--red-1)",
|
|
352
|
-
info: "text-primary border-(--blue-6) shadow-md-solid shadow-accent bg-(--blue-1)",
|
|
353
|
-
warn: "border-(--yellow-6) bg-(--yellow-2) dark:bg-(--yellow-4) text-(--yellow-11) dark:text-(--yellow-12)"
|
|
354
|
-
},
|
|
355
|
-
clickable: { true: "cursor-pointer" }
|
|
356
|
-
},
|
|
357
|
-
compoundVariants: [
|
|
358
|
-
{
|
|
359
|
-
clickable: !0,
|
|
360
|
-
kind: "danger",
|
|
361
|
-
className: "hover:bg-(--red-3)"
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
clickable: !0,
|
|
365
|
-
kind: "info",
|
|
366
|
-
className: "hover:bg-(--blue-3)"
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
clickable: !0,
|
|
370
|
-
kind: "warn",
|
|
371
|
-
className: "hover:bg-(--yellow-3)"
|
|
372
|
-
}
|
|
373
|
-
],
|
|
374
|
-
defaultVariants: { kind: "info" }
|
|
375
|
-
}), ke = (e) => {
|
|
376
|
-
let t = (0, H.c)(14), n, i, a, o, s;
|
|
377
|
-
t[0] === e ? (n = t[1], i = t[2], a = t[3], o = t[4], s = t[5]) : ({kind: o, clickable: a, className: i, children: n, ...s} = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a, t[4] = o, t[5] = s);
|
|
378
|
-
let c;
|
|
379
|
-
t[6] !== i || t[7] !== a || t[8] !== o ? (c = r(Oe({
|
|
380
|
-
kind: o,
|
|
381
|
-
clickable: a
|
|
382
|
-
}), i), t[6] = i, t[7] = a, t[8] = o, t[9] = c) : c = t[9];
|
|
383
|
-
let l;
|
|
384
|
-
return t[10] !== n || t[11] !== s || t[12] !== c ? (l = /* @__PURE__ */ (0, x.jsx)("div", {
|
|
385
|
-
className: c,
|
|
386
|
-
...s,
|
|
387
|
-
children: n
|
|
388
|
-
}), t[10] = n, t[11] = s, t[12] = c, t[13] = l) : l = t[13], l;
|
|
389
|
-
};
|
|
390
|
-
//#endregion
|
|
391
|
-
export { Se as a, be as c, Q as d, J as f, Ee as i, K as l, Y as m, De as n, U as o, q as p, Te as r, Z as s, ke as t, X as u };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import "./chunk-75Z2AOVW-C4AOleKf.js";
|
|
2
|
-
import "./src-CA_m4ONl.js";
|
|
3
|
-
import "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
4
|
-
import "./chunk-P2QGCYS3-0TAWai9C.js";
|
|
5
|
-
import "./chunk-PWAF6VOD-lNxB9k8z.js";
|
|
6
|
-
import "./chunk-GMAD6QVW-vStrMz2P.js";
|
|
7
|
-
import "./chunk-4HAMMTFA-BPTTOOC5.js";
|
|
8
|
-
import "./chunk-GVQU2GXP-2HwWgs4u.js";
|
|
9
|
-
import "./chunk-L3NEJ4N5-RhC7i0I2.js";
|
|
10
|
-
import "./chunk-OSK3NFVY-CZV09N-U.js";
|
|
11
|
-
import "./mermaid-Dfvntf3s.js";
|
|
12
|
-
import "./chunk-F27PBJKO-DMI1PBe4.js";
|
|
13
|
-
import "./chunk-XXDRQBXY-Dnl5VBqG.js";
|
|
14
|
-
import "./chunk-POPQ4Y6H-Cc3_56GX.js";
|
|
15
|
-
import { n as e } from "./chunk-SHT3W25Y-DedDYSP5.js";
|
|
16
|
-
export { e as diagram };
|
package/dist/label-MNhNNoN6.js
DELETED
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import { h as t, r as n } from "./button-B0Xgl-Qn.js";
|
|
3
|
-
import { t as r } from "./react-ofJbxM4x.js";
|
|
4
|
-
import { t as i } from "./compiler-runtime-Cj8ZWiNS.js";
|
|
5
|
-
import { t as a } from "./jsx-runtime-DgDPJV9S.js";
|
|
6
|
-
import { Tt as o } from "./use-restore-focus-ZgG5Br63.js";
|
|
7
|
-
//#region ../node_modules/.pnpm/@radix-ui+react-label@2.1.7_@types+react-dom@19.2.5_@types+react@19.2.18__@types+react@_81412ca2c9e8ab48c66df9560ce8a98f/node_modules/@radix-ui/react-label/dist/index.mjs
|
|
8
|
-
var s = /* @__PURE__ */ e(r(), 1), c = a(), l = "Label", u = s.forwardRef((e, t) => /* @__PURE__ */ (0, c.jsx)(o.label, {
|
|
9
|
-
...e,
|
|
10
|
-
ref: t,
|
|
11
|
-
onMouseDown: (t) => {
|
|
12
|
-
t.target.closest("button, input, select, textarea") || (e.onMouseDown?.(t), !t.defaultPrevented && t.detail > 1 && t.preventDefault());
|
|
13
|
-
}
|
|
14
|
-
}));
|
|
15
|
-
u.displayName = l;
|
|
16
|
-
var d = u, f = {
|
|
17
|
-
prefix: String(Math.round(Math.random() * 1e10)),
|
|
18
|
-
current: 0
|
|
19
|
-
}, p = /*#__PURE__*/ s.createContext(f), m = /*#__PURE__*/ s.createContext(!1);
|
|
20
|
-
typeof window < "u" && window.document && window.document.createElement;
|
|
21
|
-
var h = /* @__PURE__ */ new WeakMap();
|
|
22
|
-
function g(e = !1) {
|
|
23
|
-
let t = (0, s.useContext)(p), n = (0, s.useRef)(null);
|
|
24
|
-
if (n.current === null && !e) {
|
|
25
|
-
let e = s.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
|
|
26
|
-
if (e) {
|
|
27
|
-
let n = h.get(e);
|
|
28
|
-
n == null ? h.set(e, {
|
|
29
|
-
id: t.current,
|
|
30
|
-
state: e.memoizedState
|
|
31
|
-
}) : e.memoizedState !== n.state && (t.current = n.id, h.delete(e));
|
|
32
|
-
}
|
|
33
|
-
n.current = ++t.current;
|
|
34
|
-
}
|
|
35
|
-
return n.current;
|
|
36
|
-
}
|
|
37
|
-
function _(e) {
|
|
38
|
-
let t = (0, s.useContext)(p), n = g(!!e), r = `react-aria${t.prefix}`;
|
|
39
|
-
return e || `${r}-${n}`;
|
|
40
|
-
}
|
|
41
|
-
function v(e) {
|
|
42
|
-
let t = s.useId(), [n] = (0, s.useState)(C()), r = n ? "react-aria" : `react-aria${f.prefix}`;
|
|
43
|
-
return e || `${r}-${t}`;
|
|
44
|
-
}
|
|
45
|
-
var y = typeof s.useId == "function" ? v : _;
|
|
46
|
-
function b() {
|
|
47
|
-
return !1;
|
|
48
|
-
}
|
|
49
|
-
function x() {
|
|
50
|
-
return !0;
|
|
51
|
-
}
|
|
52
|
-
function S(e) {
|
|
53
|
-
return () => {};
|
|
54
|
-
}
|
|
55
|
-
function C() {
|
|
56
|
-
return typeof s.useSyncExternalStore == "function" ? s.useSyncExternalStore(S, b, x) : (0, s.useContext)(m);
|
|
57
|
-
}
|
|
58
|
-
//#endregion
|
|
59
|
-
//#region ../node_modules/.pnpm/@react-aria+i18n@3.12.16_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@react-aria/i18n/dist/utils.mjs
|
|
60
|
-
var w = /* @__PURE__ */ new Set([
|
|
61
|
-
"Arab",
|
|
62
|
-
"Syrc",
|
|
63
|
-
"Samr",
|
|
64
|
-
"Mand",
|
|
65
|
-
"Thaa",
|
|
66
|
-
"Mend",
|
|
67
|
-
"Nkoo",
|
|
68
|
-
"Adlm",
|
|
69
|
-
"Rohg",
|
|
70
|
-
"Hebr"
|
|
71
|
-
]), T = /* @__PURE__ */ new Set([
|
|
72
|
-
"ae",
|
|
73
|
-
"ar",
|
|
74
|
-
"arc",
|
|
75
|
-
"bcc",
|
|
76
|
-
"bqi",
|
|
77
|
-
"ckb",
|
|
78
|
-
"dv",
|
|
79
|
-
"fa",
|
|
80
|
-
"glk",
|
|
81
|
-
"he",
|
|
82
|
-
"ku",
|
|
83
|
-
"mzn",
|
|
84
|
-
"nqo",
|
|
85
|
-
"pnb",
|
|
86
|
-
"ps",
|
|
87
|
-
"sd",
|
|
88
|
-
"ug",
|
|
89
|
-
"ur",
|
|
90
|
-
"yi"
|
|
91
|
-
]);
|
|
92
|
-
function E(e) {
|
|
93
|
-
if (Intl.Locale) {
|
|
94
|
-
let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;
|
|
95
|
-
if (n) return n.direction === "rtl";
|
|
96
|
-
if (t.script) return w.has(t.script);
|
|
97
|
-
}
|
|
98
|
-
let t = e.split("-")[0];
|
|
99
|
-
return T.has(t);
|
|
100
|
-
}
|
|
101
|
-
//#endregion
|
|
102
|
-
//#region ../node_modules/.pnpm/@react-aria+i18n@3.12.16_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@react-aria/i18n/dist/useDefaultLocale.mjs
|
|
103
|
-
var D = Symbol.for("react-aria.i18n.locale");
|
|
104
|
-
function O() {
|
|
105
|
-
let e = typeof window < "u" && window[D] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
|
|
106
|
-
try {
|
|
107
|
-
Intl.DateTimeFormat.supportedLocalesOf([e]);
|
|
108
|
-
} catch {
|
|
109
|
-
e = "en-US";
|
|
110
|
-
}
|
|
111
|
-
return {
|
|
112
|
-
locale: e,
|
|
113
|
-
direction: E(e) ? "rtl" : "ltr"
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
var k = O(), A = /* @__PURE__ */ new Set();
|
|
117
|
-
function j() {
|
|
118
|
-
k = O();
|
|
119
|
-
for (let e of A) e(k);
|
|
120
|
-
}
|
|
121
|
-
function M() {
|
|
122
|
-
let e = C(), [t, n] = (0, s.useState)(k);
|
|
123
|
-
return (0, s.useEffect)(() => (A.size === 0 && window.addEventListener("languagechange", j), A.add(n), () => {
|
|
124
|
-
A.delete(n), A.size === 0 && window.removeEventListener("languagechange", j);
|
|
125
|
-
}), []), e ? {
|
|
126
|
-
locale: typeof window < "u" && window[D] || "en-US",
|
|
127
|
-
direction: "ltr"
|
|
128
|
-
} : t;
|
|
129
|
-
}
|
|
130
|
-
//#endregion
|
|
131
|
-
//#region ../node_modules/.pnpm/@react-aria+i18n@3.12.16_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@react-aria/i18n/dist/context.mjs
|
|
132
|
-
var N = /*#__PURE__*/ s.createContext(null);
|
|
133
|
-
function P(e) {
|
|
134
|
-
let { locale: t, children: n } = e, r = s.useMemo(() => ({
|
|
135
|
-
locale: t,
|
|
136
|
-
direction: E(t) ? "rtl" : "ltr"
|
|
137
|
-
}), [t]);
|
|
138
|
-
return /*#__PURE__*/ s.createElement(N.Provider, { value: r }, n);
|
|
139
|
-
}
|
|
140
|
-
function F(e) {
|
|
141
|
-
let { children: t } = e, n = M();
|
|
142
|
-
return /*#__PURE__*/ s.createElement(N.Provider, { value: n }, t);
|
|
143
|
-
}
|
|
144
|
-
function I(e) {
|
|
145
|
-
let { locale: t, children: n } = e;
|
|
146
|
-
return t ? /*#__PURE__*/ s.createElement(P, {
|
|
147
|
-
locale: t,
|
|
148
|
-
children: n
|
|
149
|
-
}) : /*#__PURE__*/ s.createElement(F, { children: n });
|
|
150
|
-
}
|
|
151
|
-
function L() {
|
|
152
|
-
let e = M();
|
|
153
|
-
return (0, s.useContext)(N) || e;
|
|
154
|
-
}
|
|
155
|
-
//#endregion
|
|
156
|
-
//#region ../node_modules/.pnpm/@internationalized+number@3.6.5/node_modules/@internationalized/number/dist/NumberFormatter.mjs
|
|
157
|
-
var R = /* @__PURE__ */ new Map(), z = !1;
|
|
158
|
-
try {
|
|
159
|
-
z = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
|
|
160
|
-
} catch {}
|
|
161
|
-
var B = !1;
|
|
162
|
-
try {
|
|
163
|
-
B = new Intl.NumberFormat("de-DE", {
|
|
164
|
-
style: "unit",
|
|
165
|
-
unit: "degree"
|
|
166
|
-
}).resolvedOptions().style === "unit";
|
|
167
|
-
} catch {}
|
|
168
|
-
var V = { degree: { narrow: {
|
|
169
|
-
default: "°",
|
|
170
|
-
"ja-JP": " 度",
|
|
171
|
-
"zh-TW": "度",
|
|
172
|
-
"sl-SI": " °"
|
|
173
|
-
} } }, H = class {
|
|
174
|
-
format(e) {
|
|
175
|
-
let t = "";
|
|
176
|
-
if (t = !z && this.options.signDisplay != null ? W(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), this.options.style === "unit" && !B) {
|
|
177
|
-
let { unit: e, unitDisplay: n = "short", locale: r } = this.resolvedOptions();
|
|
178
|
-
if (!e) return t;
|
|
179
|
-
let i = V[e]?.[n];
|
|
180
|
-
t += i[r] || i.default;
|
|
181
|
-
}
|
|
182
|
-
return t;
|
|
183
|
-
}
|
|
184
|
-
formatToParts(e) {
|
|
185
|
-
return this.numberFormatter.formatToParts(e);
|
|
186
|
-
}
|
|
187
|
-
formatRange(e, t) {
|
|
188
|
-
if (typeof this.numberFormatter.formatRange == "function") return this.numberFormatter.formatRange(e, t);
|
|
189
|
-
if (t < e) throw RangeError("End date must be >= start date");
|
|
190
|
-
return `${this.format(e)} \u{2013} ${this.format(t)}`;
|
|
191
|
-
}
|
|
192
|
-
formatRangeToParts(e, t) {
|
|
193
|
-
if (typeof this.numberFormatter.formatRangeToParts == "function") return this.numberFormatter.formatRangeToParts(e, t);
|
|
194
|
-
if (t < e) throw RangeError("End date must be >= start date");
|
|
195
|
-
let n = this.numberFormatter.formatToParts(e), r = this.numberFormatter.formatToParts(t);
|
|
196
|
-
return [
|
|
197
|
-
...n.map((e) => ({
|
|
198
|
-
...e,
|
|
199
|
-
source: "startRange"
|
|
200
|
-
})),
|
|
201
|
-
{
|
|
202
|
-
type: "literal",
|
|
203
|
-
value: " – ",
|
|
204
|
-
source: "shared"
|
|
205
|
-
},
|
|
206
|
-
...r.map((e) => ({
|
|
207
|
-
...e,
|
|
208
|
-
source: "endRange"
|
|
209
|
-
}))
|
|
210
|
-
];
|
|
211
|
-
}
|
|
212
|
-
resolvedOptions() {
|
|
213
|
-
let e = this.numberFormatter.resolvedOptions();
|
|
214
|
-
return !z && this.options.signDisplay != null && (e = {
|
|
215
|
-
...e,
|
|
216
|
-
signDisplay: this.options.signDisplay
|
|
217
|
-
}), !B && this.options.style === "unit" && (e = {
|
|
218
|
-
...e,
|
|
219
|
-
style: "unit",
|
|
220
|
-
unit: this.options.unit,
|
|
221
|
-
unitDisplay: this.options.unitDisplay
|
|
222
|
-
}), e;
|
|
223
|
-
}
|
|
224
|
-
constructor(e, t = {}) {
|
|
225
|
-
this.numberFormatter = U(e, t), this.options = t;
|
|
226
|
-
}
|
|
227
|
-
};
|
|
228
|
-
function U(e, t = {}) {
|
|
229
|
-
let { numberingSystem: n } = t;
|
|
230
|
-
if (n && e.includes("-nu-") && (e.includes("-u-") || (e += "-u-"), e += `-nu-${n}`), t.style === "unit" && !B) {
|
|
231
|
-
let { unit: e, unitDisplay: n = "short" } = t;
|
|
232
|
-
if (!e) throw Error("unit option must be provided with style: \"unit\"");
|
|
233
|
-
if (!V[e]?.[n]) throw Error(`Unsupported unit ${e} with unitDisplay = ${n}`);
|
|
234
|
-
t = {
|
|
235
|
-
...t,
|
|
236
|
-
style: "decimal"
|
|
237
|
-
};
|
|
238
|
-
}
|
|
239
|
-
let r = e + (t ? Object.entries(t).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
|
|
240
|
-
if (R.has(r)) return R.get(r);
|
|
241
|
-
let i = new Intl.NumberFormat(e, t);
|
|
242
|
-
return R.set(r, i), i;
|
|
243
|
-
}
|
|
244
|
-
function W(e, t, n) {
|
|
245
|
-
if (t === "auto") return e.format(n);
|
|
246
|
-
if (t === "never") return e.format(Math.abs(n));
|
|
247
|
-
{
|
|
248
|
-
let r = !1;
|
|
249
|
-
if (t === "always" ? r = n > 0 || Object.is(n, 0) : t === "exceptZero" && (Object.is(n, -0) || Object.is(n, 0) ? n = Math.abs(n) : r = n > 0), r) {
|
|
250
|
-
let t = e.format(-n), r = e.format(n), i = t.replace(r, "").replace(/\u200e|\u061C/, "");
|
|
251
|
-
return [...i].length !== 1 && console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"), t.replace(r, "!!!").replace(i, "+").replace("!!!", r);
|
|
252
|
-
}
|
|
253
|
-
return e.format(n);
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
//#endregion
|
|
257
|
-
//#region ../node_modules/.pnpm/@react-aria+i18n@3.12.16_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@react-aria/i18n/dist/useNumberFormatter.mjs
|
|
258
|
-
function G(e = {}) {
|
|
259
|
-
let { locale: t } = L();
|
|
260
|
-
return (0, s.useMemo)(() => new H(t, e), [t, e]);
|
|
261
|
-
}
|
|
262
|
-
//#endregion
|
|
263
|
-
//#region src/components/ui/label.tsx
|
|
264
|
-
var K = i(), q = n("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), J = s.forwardRef((e, n) => {
|
|
265
|
-
let r = (0, K.c)(9), i, a;
|
|
266
|
-
r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
|
|
267
|
-
let o;
|
|
268
|
-
r[3] === i ? o = r[4] : (o = t(q(), i), r[3] = i, r[4] = o);
|
|
269
|
-
let s;
|
|
270
|
-
return r[5] !== a || r[6] !== n || r[7] !== o ? (s = /* @__PURE__ */ (0, c.jsx)(d, {
|
|
271
|
-
ref: n,
|
|
272
|
-
className: o,
|
|
273
|
-
...a
|
|
274
|
-
}), r[5] = a, r[6] = n, r[7] = o, r[8] = s) : s = r[8], s;
|
|
275
|
-
});
|
|
276
|
-
J.displayName = d.displayName;
|
|
277
|
-
//#endregion
|
|
278
|
-
export { I as a, L as i, G as n, C as o, H as r, y as s, J as t };
|