@marimo-team/islands 0.17.0 → 0.17.2
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/{fullscreen-blsKUrtN.js → Combination-De9yoNY5.js} +132 -69
- package/dist/{ConnectedDataExplorerComponent-DJEUH6Bb.js → ConnectedDataExplorerComponent-DuvpJOKp.js} +45 -44
- package/dist/{ImageComparisonComponent-D4Tv9QzJ.js → ImageComparisonComponent--etUl2pp.js} +2 -2
- package/dist/{_baseIsEqual-CN4oFUZ4.js → _baseIsEqual-BFlyFUxC.js} +1 -1
- package/dist/{_basePickBy-CzSvE_-f.js → _basePickBy-gCCvtjgp.js} +3 -3
- package/dist/{_baseProperty-DbbUiyUD.js → _baseProperty-BuqBC0Ie.js} +5 -5
- package/dist/{_baseUniq-DwoC-LVO.js → _baseUniq-CKN9mEDq.js} +5 -5
- package/dist/any-language-editor-Du2Q_6IK.js +156 -0
- package/dist/apl-CUm2DGqh.js +4 -0
- package/dist/{arc-B1iVbHTB.js → arc-C_O2hc-b.js} +2 -2
- package/dist/architecture-O4VJ6CD3-PFw3eFBY.js +21 -0
- package/dist/{architectureDiagram-W76B3OCA-CoBORy6u.js → architectureDiagram-W76B3OCA-CrK99pJi.js} +38 -37
- package/dist/asciiarmor-lqJ78U01.js +4 -0
- package/dist/asn1-CjwpSTlW.js +4 -0
- package/dist/assets/__vite-browser-external-DHoMWs4M.js +1 -0
- package/dist/assets/{worker-vPn7gxWj.js → worker-B6tH8gPO.js} +3 -3
- package/dist/{blockDiagram-QIGZ2CNN-0yzoLIar.js → blockDiagram-QIGZ2CNN-BJOEyO6w.js} +47 -46
- package/dist/brainfuck-ClvDI1dq.js +4 -0
- package/dist/{button-DcnBVpVa.js → button-ADXOb_gX.js} +27 -27
- package/dist/{c4Diagram-FPNF74CW-CKsIA_DD.js → c4Diagram-FPNF74CW-7Pz_X9wF.js} +12 -11
- package/dist/{channel-3LVvQZcD.js → channel-X-wRUxX6.js} +1 -1
- package/dist/{check-D7ifz5op.js → check-COlaG7Ss.js} +1 -1
- package/dist/{chunk-3AY6CYHV-B2C-aVc3.js → chunk-3AY6CYHV-BQH2fFpA.js} +10 -10
- package/dist/{chunk-4BX2VUAB-DEd4VI9L.js → chunk-4BX2VUAB-D-QtDCKM.js} +1 -1
- package/dist/{chunk-4KMFLZZN-DnvP3O4K.js → chunk-4KMFLZZN-BirZvvJS.js} +13 -13
- package/dist/{chunk-55IACEB6-BcCzwOOl.js → chunk-55IACEB6-DjtPYZKs.js} +1 -1
- package/dist/{chunk-6OXUPJBA-eNAAfJ3Q.js → chunk-6OXUPJBA-CTnnqlzw.js} +7 -7
- package/dist/{chunk-7GE3RBXV-CSAeQvLz.js → chunk-7GE3RBXV-CT47hCrL.js} +1 -1
- package/dist/{chunk-ABZYJK2D-CZcb_1iM.js → chunk-ABZYJK2D-B6ZsU6SR.js} +484 -1039
- package/dist/{chunk-BN7GFLIU-pBc5O5Rh.js → chunk-BN7GFLIU-DYWEsrG4.js} +1 -1
- package/dist/{chunk-CVBHYZKI-CivHZg9P.js → chunk-CVBHYZKI-BuzDGXz0.js} +1 -1
- package/dist/{chunk-CXMOBAN2-Dd0E6qb0.js → chunk-CXMOBAN2-Bas2S5w1.js} +6 -6
- package/dist/{chunk-EXTU4WIE-GQ2ZWfJo.js → chunk-EXTU4WIE-DXwNSukz.js} +2 -2
- package/dist/{chunk-FMBD7UC4-C6YcisV6.js → chunk-FMBD7UC4-CYKEpuPr.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-DYeQaT57.js → chunk-JA3XYJ7Z-DcxfkcDC.js} +4 -4
- package/dist/{chunk-JEIROHC2-B-EZMP4V.js → chunk-JEIROHC2-C01ZIcIG.js} +1 -1
- package/dist/{chunk-K7UQS3LO-DENzlS-M.js → chunk-K7UQS3LO-CmbT97MV.js} +7 -7
- package/dist/{chunk-KMC2YHZD-SckhHdEh.js → chunk-KMC2YHZD-D64m-1E1.js} +1 -1
- package/dist/{chunk-QN33PNHL-Cjq5b604.js → chunk-QN33PNHL-DjB0j8Dr.js} +2 -2
- package/dist/{chunk-QYVHNE3D-CNUuivie.js → chunk-QYVHNE3D-VA4W4oxG.js} +2 -2
- package/dist/{chunk-QZHKN3VN-DugEU_bA.js → chunk-QZHKN3VN-KT0fl3Em.js} +1 -1
- package/dist/{chunk-S3R3BYOJ-itCT6Vif.js → chunk-S3R3BYOJ-C5zmcMvn.js} +6 -6
- package/dist/{chunk-T44TD3VJ-BLdfTX8J.js → chunk-T44TD3VJ-BMOgu-Hk.js} +1 -1
- package/dist/{chunk-TVAH2DTR-BOnwF9d8.js → chunk-TVAH2DTR-eKm8SKnH.js} +6 -6
- package/dist/{chunk-TZMSLE5B-DGs66AlL.js → chunk-TZMSLE5B-CQxFRiI2.js} +3 -3
- package/dist/{chunk-WFRQ32O7-CPsipkmJ.js → chunk-WFRQ32O7-Dg51o277.js} +1 -1
- package/dist/{chunk-WFWHJNB7-Cmed18Pk.js → chunk-WFWHJNB7-DVLO98ge.js} +1 -1
- package/dist/{chunk-XRWGC2XP-DH5GDaY8.js → chunk-XRWGC2XP-UNFKdWQh.js} +1 -1
- package/dist/{chunk-ZPAFE4SF-DPDwaqZm.js → chunk-ZPAFE4SF-DbCSwfLK.js} +1 -1
- package/dist/classDiagram-KNZD7YFC-HUFFxNdk.js +40 -0
- package/dist/classDiagram-v2-RKCZMP56-Dw7Acmuf.js +40 -0
- package/dist/{click-outside-container-CL_FkgGY.js → click-outside-container-2BH589Bq.js} +2 -2
- package/dist/{clike-DYfRWWXk.js → clike-CytFO-kN.js} +1 -1
- package/dist/clojure-8GefCgPe.js +4 -0
- package/dist/{clone-Msbhmn2a.js → clone-CCgVUJ6x.js} +1 -1
- package/dist/cmake-yAhT9H0F.js +4 -0
- package/dist/cobol-BmltueOY.js +4 -0
- package/dist/coffeescript-C7KEQBcH.js +4 -0
- package/dist/commonlisp-CNbiJRU-.js +4 -0
- package/dist/{constants-BCOEQoEQ.js → constants-BaCMVd12.js} +3 -3
- package/dist/{copy-BkZ8PkBM.js → copy-GNcK40wy.js} +2 -2
- package/dist/{cose-bilkent-S5V4N54A-BZnbwyVD.js → cose-bilkent-S5V4N54A-BnvuJG6Y.js} +3 -3
- package/dist/crystal-OdjZZ8bc.js +4 -0
- package/dist/css-DhTxMmL_.js +5 -0
- package/dist/cypher-CgN8E3YI.js +4 -0
- package/dist/d-g41sJcBC.js +4 -0
- package/dist/{dagre-5GWH7T2D-BGaiSZZO.js → dagre-5GWH7T2D-rn7tZYaQ.js} +37 -36
- package/dist/{dagre-pyfDIOWJ.js → dagre-Bghq6VKO.js} +13 -13
- package/dist/{data-grid-overlay-editor-867aBz0Y.js → data-grid-overlay-editor-B4_Caieu.js} +4 -4
- package/dist/{diagram-N5W7TBWH-CzLE0jZB.js → diagram-N5W7TBWH-lbF94o-g.js} +41 -40
- package/dist/{diagram-QEK2KX5R-AGS60xEZ.js → diagram-QEK2KX5R-CKBhSzsO.js} +35 -34
- package/dist/{diagram-S2PKOQOG-BxRoG6yW.js → diagram-S2PKOQOG-161_1f53.js} +35 -34
- package/dist/diff-ViRYYhhg.js +4 -0
- package/dist/{dist-PGgOcwbF.js → dist-28HYzERB.js} +2 -2
- package/dist/{dist-CfQHSIQC.js → dist-4dtbqf8A.js} +3 -3
- package/dist/{dist-CYhQCVru.js → dist-71jYYbWP.js} +2 -2
- package/dist/{dist-Cacac5HV.js → dist-B8Pbw5ln.js} +2 -2
- package/dist/{dist-z_iuDES7.js → dist-BAqp4Vtl.js} +1 -1
- package/dist/{dist-RwqAqkpG.js → dist-BBhmkni2.js} +1 -1
- package/dist/{dist-DMxl6Qbu.js → dist-BNRdMfJH.js} +2 -2
- package/dist/{dist-Doiq_KIP.js → dist-BSyYM1Gi.js} +6 -6
- package/dist/{dist-NUdHX0XE.js → dist-BYHiiJB-.js} +2 -2
- package/dist/{dist-B0YD1aXi.js → dist-B_wjJqqS.js} +2 -2
- package/dist/{dist-DBhEu3-F.js → dist-BaPjLM6s.js} +1 -1
- package/dist/dist-BfJO8Bm9.js +12 -0
- package/dist/{dist-BFkr6kAQ.js → dist-BqdQPWpQ.js} +2 -2
- package/dist/{dist-DlHkZUnY.js → dist-C2IEc8og.js} +5 -5
- package/dist/{dist-DS6nuHYK.js → dist-C9-uHBqC.js} +1 -1
- package/dist/{dist-B1Dv8Sdk.js → dist-CJb8EiFO.js} +3 -3
- package/dist/dist-CLuF3AtO.js +6 -0
- package/dist/{dist-CId4IPXu.js → dist-CNAkUyxv.js} +1 -1
- package/dist/{dist-RdxOJbBw.js → dist-CNvMOZu9.js} +2 -2
- package/dist/{dist-C7zhQ7K0.js → dist-CPNnKuPh.js} +1 -1
- package/dist/{dist-ivwkJchV.js → dist-CTIyD_KU.js} +3 -3
- package/dist/dist-CU04U4NL.js +10 -0
- package/dist/{dist-D-3fICwh.js → dist-CWh5ZwcC.js} +2 -2
- package/dist/{dist-d5NxvX2s.js → dist-CWqB4bg8.js} +3 -3
- package/dist/{dist-biZ846D9.js → dist-CtOeHDJp.js} +5 -5
- package/dist/{dist-BL2DSY0P.js → dist-Cw0F6l-7.js} +1 -1
- package/dist/{dist-wHVprCkn.js → dist-CwZcC4om.js} +1 -1
- package/dist/dist-DNUT6b47.js +6 -0
- package/dist/{dist-CZq5-ZyD.js → dist-Da046MhT.js} +1 -1
- package/dist/{dist-reo2kYlN.js → dist-DaTVdKJa.js} +2 -2
- package/dist/dist-DbAb2sY7.js +6 -0
- package/dist/dist-DiDFQ2Rk.js +6 -0
- package/dist/{dist-BpzZrRd6.js → dist-DlK420ke.js} +1 -1
- package/dist/{dist-CvyfRaIr.js → dist-Drf3cyIW.js} +3 -3
- package/dist/{dist-2Ne-33Xy.js → dist-DxESp2-T.js} +3 -3
- package/dist/{dist-CkvGMBAS.js → dist-DzJem5xc.js} +1 -1
- package/dist/{dist-y8uoXYaE.js → dist-O0zVziwn.js} +3 -3
- package/dist/dist-SNAyAOJ-.js +6 -0
- package/dist/{dist-BhVFggab.js → dist-_4cudra1.js} +3 -3
- package/dist/dist-cbW5xJNV.js +6 -0
- package/dist/dist-h8eGLSbK.js +10 -0
- package/dist/{dist-CBhnQKQ4.js → dist-xLN9qCAp.js} +3 -3
- package/dist/{dockerfile-sZMPcXVY.js → dockerfile-Cmlcqk35.js} +1 -1
- package/dist/dtd-RplB6hDg.js +4 -0
- package/dist/dylan-BX8KJufP.js +4 -0
- package/dist/ecl-CWtLaNMH.js +4 -0
- package/dist/eiffel-C-mlZPMn.js +4 -0
- package/dist/elm-CWp06vcb.js +4 -0
- package/dist/{erDiagram-AWTI2OKA-CTxzb-U8.js → erDiagram-AWTI2OKA-BU7Qig7n.js} +30 -29
- package/dist/erlang-pfp22AZM.js +4 -0
- package/dist/error-banner-BAWlXn49.js +1012 -0
- package/dist/{esm-CAWW9sum.js → esm-AtKNNGYO.js} +1 -1
- package/dist/esm-B2pocBPL.js +26 -0
- package/dist/{esm-BdiY4QsX.js → esm-Oo8OvZ6m.js} +110 -110
- package/dist/{esm-YY5zh7KV.js → esm-YVnxJqkD.js} +20 -20
- package/dist/{factor-CRFTmP_a.js → factor-BZnBK3CG.js} +1 -1
- package/dist/factor-CEn53jua.js +5 -0
- package/dist/{flowDiagram-PVAE7QVJ-Dck2hiJe.js → flowDiagram-PVAE7QVJ-JKJebWeY.js} +39 -38
- package/dist/{formats-BnqXUb1V.js → formats-DOEuF6TR.js} +8 -8
- package/dist/forth-CL8vu_y8.js +4 -0
- package/dist/fortran-DsmXkYtE.js +4 -0
- package/dist/{ganttDiagram-OWAHRB6G-AWzfzpup.js → ganttDiagram-OWAHRB6G-BvWRfg05.js} +17 -16
- package/dist/gas-mYt9Rtlx.js +4 -0
- package/dist/gherkin-DHNCKBNj.js +4 -0
- package/dist/gitGraph-ZV4HHKMB-Cpd6k0O8.js +21 -0
- package/dist/{gitGraphDiagram-NY62KEGX-GyNboWSV.js → gitGraphDiagram-NY62KEGX-VEJJBf5L.js} +35 -34
- package/dist/{glide-data-editor-DHuN8kQ8.js → glide-data-editor-Bne10icG.js} +87 -85
- package/dist/{graphlib-hb3zmtVD.js → graphlib-DRS8CrjA.js} +5 -5
- package/dist/groovy-DzRtOS5a.js +4 -0
- package/dist/haskell-Bl9iT_Mp.js +4 -0
- package/dist/haxe-DqA0ED6k.js +5 -0
- package/dist/{hotkeys-Ct2T3e9O.js → hotkeys-DVxFjl2s.js} +12 -0
- package/dist/idl-WU2hil4i.js +4 -0
- package/dist/info-63CPKGFF-CG-xzUJo.js +21 -0
- package/dist/infoDiagram-STP46IZ2-zoRBGoup.js +45 -0
- package/dist/invariant-D3JoRb4I.js +6 -0
- package/dist/{isEmpty--odfYjh1.js → isEmpty-Do_v2sls.js} +2 -2
- package/dist/{isSymbol-Cb1f2HgO.js → isSymbol-CtkA8Y0a.js} +1 -1
- package/dist/javascript-QY2BGJeV.js +5 -0
- package/dist/jinja2-Czleq7Sk.js +4 -0
- package/dist/{journeyDiagram-BIP6EPQ6-TmXYCUbT.js → journeyDiagram-BIP6EPQ6-CsgEQgxh.js} +10 -9
- package/dist/julia-Dru3Qi0y.js +4 -0
- package/dist/{kanban-definition-6OIFK2YF-B6ozleHo.js → kanban-definition-6OIFK2YF-Bi8Ete2P.js} +42 -41
- package/dist/{katex-mPzRsXEy.js → katex-C-g3rKKt.js} +1 -1
- package/dist/{label-VVRKZmrP.js → label-BiVIU_wb.js} +245 -243
- package/dist/{line-C6-zz71o.js → line-B7-GoF1m.js} +3 -3
- package/dist/{linear-iebAbJVD.js → linear-DeGGALuc.js} +4 -4
- package/dist/livescript-Dxqi_HLT.js +4 -0
- package/dist/{loader-CM0VALo9.js → loader-BBqwtZWj.js} +3 -3
- package/dist/lua-ByH1cUQZ.js +4 -0
- package/dist/main.js +11785 -11529
- package/dist/mathematica-CWJIFuES.js +4 -0
- package/dist/mbox-qhPIGaUI.js +4 -0
- package/dist/{memoize-DYoRBSLn.js → memoize-D7eDkf3R.js} +1 -1
- package/dist/{merge-BjuR6j_w.js → merge-C_6cGM6o.js} +1 -1
- package/dist/{mermaid-YPPMBmhk.js → mermaid-BmtvsZ2m.js} +323 -321
- package/dist/{mermaid-parser.core-BLkyTSZj.js → mermaid-parser.core-geyG_6o0.js} +8 -8
- package/dist/{mhchem-Dw7wvXtr.js → mhchem-OhAaJ0fA.js} +1 -1
- package/dist/{min-B_i2ahn4.js → min-Dwa_NbP6.js} +7 -7
- package/dist/{mindmap-definition-Q6HEUPPD-F6-JnXwq.js → mindmap-definition-Q6HEUPPD-B-wmX1oG.js} +29 -28
- package/dist/mirc-yYcXhXBY.js +4 -0
- package/dist/mllike-BfT_Nl9x.js +6 -0
- package/dist/modelica-lVDtz1Rm.js +4 -0
- package/dist/mscgen-DvwdD1QJ.js +6 -0
- package/dist/mumps-BiY3GwKd.js +4 -0
- package/dist/{now-CwRqw0nS.js → now-DumxsrcX.js} +1 -1
- package/dist/{nsis-BWJEeUyS.js → nsis-D4bLR_Y1.js} +1 -1
- package/dist/nsis-Dk18Sq_4.js +5 -0
- package/dist/ntriples-Cj-8VqKF.js +4 -0
- package/dist/{number-overlay-editor-CeyruAX4.js → number-overlay-editor-D6r-48ka.js} +2 -2
- package/dist/octave-BgFAaYjU.js +4 -0
- package/dist/once-3OSMKEsL.js +74 -0
- package/dist/{ordinal-BXk5xAj2.js → ordinal-DpEbSVPc.js} +1 -1
- package/dist/oz-IsEG1I1m.js +4 -0
- package/dist/packet-HUATNLJX-Cafuo3IG.js +21 -0
- package/dist/pascal-BVf7FtIE.js +4 -0
- package/dist/perl-BM0-y4mZ.js +4 -0
- package/dist/pie-WTHONI2E-BE0pHBwB.js +21 -0
- package/dist/{pieDiagram-ADFJNKIX-C5dSQVCn.js → pieDiagram-ADFJNKIX-C3GvPNUL.js} +40 -39
- package/dist/pig-CLBjzQmc.js +4 -0
- package/dist/powershell-B_qvE33J.js +4 -0
- package/dist/{precisionRound-DbP73hkf.js → precisionRound-7YYJq2rW.js} +1 -1
- package/dist/properties-CUTpsH2y.js +4 -0
- package/dist/protobuf-DqCP8a-0.js +4 -0
- package/dist/pug-BvexKkw4.js +5 -0
- package/dist/{pug-PJh82u1M.js → pug-Dv3gE36O.js} +1 -1
- package/dist/puppet-CoIi0R3f.js +4 -0
- package/dist/purify.es-CrfFzTyi.js +536 -0
- package/dist/python-C-11-YMh.js +5 -0
- package/dist/q-CCVgEip7.js +4 -0
- package/dist/{quadrantDiagram-LMRXKWRM-DlahxNiy.js → quadrantDiagram-LMRXKWRM-DPXwGNVa.js} +8 -7
- package/dist/r-CIdR0Sfs.js +4 -0
- package/dist/radar-NJJJXTRR-0adgjw0u.js +21 -0
- package/dist/{range-DxfkexCE.js → range-CIbLpsrs.js} +3 -3
- package/dist/{react-plotly-D_IAfR8f.js → react-plotly-DYyvxcRD.js} +1 -1
- package/dist/{requirementDiagram-4UW4RH46-DTkinyvU.js → requirementDiagram-4UW4RH46-Cs3Hqnm0.js} +24 -23
- package/dist/rpm-Dwvm039g.js +5 -0
- package/dist/ruby-DpTnO5gb.js +4 -0
- package/dist/{sankeyDiagram-GR3RE2ED-CsLnEnnq.js → sankeyDiagram-GR3RE2ED-Be1d_Xf7.js} +7 -6
- package/dist/sas-CK9boxgv.js +4 -0
- package/dist/scheme-Y1aYL-Qq.js +4 -0
- package/dist/{sequenceDiagram-C3RYC4MD-BdEOR6SC.js → sequenceDiagram-C3RYC4MD-lbtovKTa.js} +14 -13
- package/dist/shell-D3eXGsHd.js +4 -0
- package/dist/sieve-BdwSFdWJ.js +4 -0
- package/dist/{slides-component-2bbal1YJ.js → slides-component-BoeQU7-s.js} +999 -998
- package/dist/smalltalk-BTYJquCm.js +4 -0
- package/dist/sparql-CYF0g4Cc.js +4 -0
- package/dist/{src-DZkaBUmt.js → src-BTqT1mA1.js} +1 -1
- package/dist/{stateDiagram-KXAO66HF-DQLH2jhP.js → stateDiagram-KXAO66HF-BmbR-Rol.js} +40 -39
- package/dist/stateDiagram-v2-UMBNRL4Z-DdJ7qVWc.js +39 -0
- package/dist/{step-IHYrujTc.js → step-2RJrMSSG.js} +1 -1
- package/dist/stex-CyWhoWHt.js +5 -0
- package/dist/style.css +1 -1
- package/dist/stylus-BBiKaI2h.js +4 -0
- package/dist/swift-COb15qFR.js +4 -0
- package/dist/tcl-Jik1LXu9.js +4 -0
- package/dist/textile-BFHPD3wr.js +4 -0
- package/dist/{time-CFkXkVrt.js → time-BB30r1tK.js} +4 -4
- package/dist/{timeline-definition-XQNQX7LJ-bToVq14i.js → timeline-definition-XQNQX7LJ-1mv5caPW.js} +16 -15
- package/dist/{toNumber-EFF1Z9T1.js → toNumber-D3Ystr3y.js} +2 -2
- package/dist/{toString-C2mCkasT.js → toString-CbuxCRDG.js} +2 -2
- package/dist/toml-Brp9fBXs.js +4 -0
- package/dist/treemap-75Q7IDZK-CyBT8_Wh.js +21 -0
- package/dist/troff-CcZRW4vg.js +4 -0
- package/dist/ttcn-Bz_6ifRd.js +4 -0
- package/dist/ttcn-cfg-v-yi2rKc.js +4 -0
- package/dist/turtle-CDOsZYhB.js +4 -0
- package/dist/{types-CRXV0KD5.js → types-BPohCsA7.js} +141 -210
- package/dist/{useAsyncData-uMVTsDI9.js → useAsyncData-DHBqeb9a.js} +3 -2
- package/dist/{useDateFormatter-Dcz7jstn.js → useDateFormatter-BkbjKw83.js} +9 -9
- package/dist/useIframeCapabilities-BEvvwlwt.js +46 -0
- package/dist/{useTheme-NbEx-ZNV.js → useTheme-CnMbo-iq.js} +23 -23
- package/dist/vb-CL7fRwRw.js +4 -0
- package/dist/vbscript-CR2xfxpw.js +4 -0
- package/dist/{vega-component-hegVmfuS.js → vega-component-BfFcXZxw.js} +40 -39
- package/dist/{vega-loader.browser.module-DcW8jnKp.js → vega-loader.browser.module-CFMtdrNw.js} +3 -3
- package/dist/velocity-CfuZoxPt.js +4 -0
- package/dist/verilog-CySTkzw_.js +4 -0
- package/dist/vhdl-Dvcd8KHW.js +4 -0
- package/dist/webidl-tbJt7sKk.js +4 -0
- package/dist/xquery-DJQVztyc.js +4 -0
- package/dist/{xychartDiagram-6GGTOJPD-C7Bhm_yt.js → xychartDiagram-6GGTOJPD-njc-naaw.js} +23 -22
- package/dist/yacas-BbgBReEH.js +4 -0
- package/dist/z80-DPyb8VGz.js +4 -0
- package/package.json +10 -6
- package/src/components/app-config/ai-config.tsx +1 -3
- package/src/components/app-config/common.tsx +14 -0
- package/src/components/app-config/data-form.tsx +282 -0
- package/src/components/app-config/user-config-form.tsx +36 -223
- package/src/components/chat/acp/__tests__/state.test.ts +75 -2
- package/src/components/chat/acp/agent-panel.tsx +143 -89
- package/src/components/chat/acp/blocks.tsx +77 -34
- package/src/components/chat/acp/state.ts +5 -1
- package/src/components/chat/acp/thread.tsx +12 -1
- package/src/components/chat/chat-panel.tsx +38 -5
- package/src/components/chat/chat-utils.ts +5 -1
- package/src/components/chat/markdown-renderer.css +1 -0
- package/src/components/chat/tool-call-accordion.tsx +7 -1
- package/src/components/data-table/charts/__tests__/storage.test.ts +12 -6
- package/src/components/data-table/charts/charts.tsx +8 -2
- package/src/components/data-table/charts/storage.ts +1 -1
- package/src/components/data-table/column-wrapping/feature.ts +2 -0
- package/src/components/data-table/columns.tsx +10 -2
- package/src/components/data-table/renderers.tsx +3 -2
- package/src/components/editor/Output.tsx +28 -24
- package/src/components/editor/actions/useCellActionButton.tsx +20 -4
- package/src/components/editor/ai/add-cell-with-ai.tsx +17 -3
- package/src/components/editor/ai/ai-completion-editor.tsx +79 -32
- package/src/components/editor/ai/completion-handlers.tsx +26 -7
- package/src/components/editor/cell/StagedAICell.tsx +81 -12
- package/src/components/editor/cell/code/cell-editor.tsx +2 -3
- package/src/components/editor/cell/useRunCells.ts +62 -30
- package/src/components/editor/chrome/panels/cache-panel.tsx +2 -2
- package/src/components/editor/chrome/panels/packages-panel.tsx +1 -1
- package/src/components/editor/chrome/state.ts +1 -1
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +2 -0
- package/src/components/editor/chrome/wrapper/minimap.tsx +2 -0
- package/src/components/editor/chrome/wrapper/pending-ai-cells.tsx +108 -0
- package/src/components/editor/chrome/wrapper/sidebar.tsx +1 -1
- package/src/components/editor/code/readonly-diff.tsx +49 -0
- package/src/components/editor/columns/storage.ts +1 -1
- package/src/components/editor/errors/fix-mode.ts +6 -1
- package/src/components/editor/inputs/Inputs.styles.ts +1 -1
- package/src/components/editor/output/CalloutOutput.tsx +1 -1
- package/src/components/editor/output/HtmlOutput.tsx +3 -2
- package/src/components/editor/output/JsonOutput.tsx +6 -1
- package/src/components/editor/output/MarimoTracebackOutput.tsx +59 -45
- package/src/components/editor/output/__tests__/HtmlOutput.test.tsx +134 -0
- package/src/components/editor/output/__tests__/traceback.test.tsx +8 -1
- package/src/components/editor/output/useWrapText.ts +6 -1
- package/src/components/editor/package-alert.tsx +34 -32
- package/src/components/editor/renderers/vertical-layout/vertical-layout-wrapper.tsx +5 -2
- package/src/components/home/state.ts +3 -2
- package/src/components/scratchpad/scratchpad-history.ts +6 -1
- package/src/components/slides/slides-component.tsx +25 -21
- package/src/components/ui/confirmation-button.tsx +1 -1
- package/src/components/ui/context-menu.tsx +14 -4
- package/src/components/ui/dropdown-menu.tsx +14 -4
- package/src/components/ui/fullscreen.tsx +115 -1
- package/src/components/ui/popover.tsx +11 -3
- package/src/components/ui/range-slider.tsx +1 -1
- package/src/components/ui/select.tsx +7 -3
- package/src/components/ui/slider.tsx +1 -1
- package/src/components/ui/tooltip.tsx +10 -3
- package/src/core/ai/__tests__/staged-cells.test.ts +189 -64
- package/src/core/ai/config.ts +6 -2
- package/src/core/ai/context/providers/__tests__/__snapshots__/cell-output.test.ts.snap +17 -0
- package/src/core/ai/context/providers/__tests__/cell-output.test.ts +194 -10
- package/src/core/ai/context/providers/cell-output.ts +170 -112
- package/src/core/ai/context/providers/tables.ts +2 -2
- package/src/core/ai/staged-cells.ts +32 -16
- package/src/core/ai/state.ts +2 -1
- package/src/core/ai/tools/__tests__/edit-notebook-tool.test.ts +556 -0
- package/src/core/ai/tools/__tests__/registry.test.ts +12 -4
- package/src/core/ai/tools/__tests__/run-cells-tool.test.ts +450 -0
- package/src/core/ai/tools/__tests__/utils.test.ts +87 -0
- package/src/core/ai/tools/base.ts +31 -8
- package/src/core/ai/tools/edit-notebook-tool.ts +239 -0
- package/src/core/ai/tools/registry.ts +13 -6
- package/src/core/ai/tools/run-cells-tool.ts +233 -0
- package/src/core/ai/tools/sample-tool.ts +10 -8
- package/src/core/ai/tools/utils.ts +23 -0
- package/src/core/cells/__tests__/cells.test.ts +19 -1
- package/src/core/cells/__tests__/session.test.ts +20 -3
- package/src/core/cells/cells.ts +12 -7
- package/src/core/cells/session.ts +1 -1
- package/src/core/codemirror/ai/resources.ts +13 -2
- package/src/core/codemirror/copilot/state.ts +4 -2
- package/src/core/codemirror/language/__tests__/extension.test.ts +10 -2
- package/src/core/codemirror/language/languages/markdown.ts +16 -153
- package/src/core/codemirror/language/languages/python.ts +12 -7
- package/src/core/codemirror/language/languages/sql/sql-mode.ts +6 -1
- package/src/core/codemirror/language/languages/sql/sql.ts +20 -293
- package/src/core/codemirror/language/panel/markdown.tsx +2 -1
- package/src/core/codemirror/language/panel/panel.tsx +1 -1
- package/src/core/codemirror/lsp/federated-lsp.ts +1 -1
- package/src/core/codemirror/lsp/transports.ts +7 -13
- package/src/core/config/config-schema.ts +4 -1
- package/src/core/hotkeys/hotkeys.ts +12 -0
- package/src/core/lsp/__tests__/transport.test.ts +233 -0
- package/src/core/lsp/transport.ts +139 -0
- package/src/core/rtc/state.ts +6 -1
- package/src/core/vscode/is-in-vscode.ts +9 -0
- package/src/core/wasm/store.ts +1 -1
- package/src/css/app/Cell.css +31 -0
- package/src/css/globals.css +5 -0
- package/src/hooks/useIframeCapabilities.ts +14 -0
- package/src/hooks/useLocalStorage.ts +1 -1
- package/src/plugins/core/RenderHTML.tsx +65 -5
- package/src/plugins/core/__test__/RenderHTML.test.ts +25 -23
- package/src/plugins/core/__test__/renderHTML-sanitization.test.tsx +131 -0
- package/src/plugins/core/__test__/sanitize.test.ts +465 -0
- package/src/plugins/core/registerReactComponent.tsx +14 -1
- package/src/plugins/core/sanitize.ts +76 -0
- package/src/plugins/impl/DataTablePlugin.tsx +1 -0
- package/src/plugins/impl/FileBrowserPlugin.tsx +1 -3
- package/src/plugins/impl/FileUploadPlugin.tsx +1 -3
- package/src/plugins/impl/__tests__/DateTimePickerPlugin.test.tsx +8 -1
- package/src/plugins/impl/__tests__/DropdownPlugin.test.tsx +6 -0
- package/src/plugins/impl/__tests__/MultiSelectPlugin.test.ts +8 -1
- package/src/plugins/impl/__tests__/NumberPlugin.test.tsx +3 -0
- package/src/plugins/impl/plotly/PlotlyPlugin.tsx +9 -2
- package/src/plugins/impl/plotly/parse-from-template.ts +1 -1
- package/src/utils/__tests__/arrays.test.ts +42 -0
- package/src/utils/__tests__/capabilities.test.ts +453 -0
- package/src/utils/__tests__/formatting.test.ts +13 -13
- package/src/utils/__tests__/local-storage.test.ts +1 -1
- package/src/utils/__tests__/storage.test.ts +21 -21
- package/src/utils/arrays.ts +25 -0
- package/src/utils/capabilities.ts +114 -0
- package/src/utils/numbers.ts +2 -2
- package/src/utils/{storage.ts → storage/jotai.ts} +16 -4
- package/src/utils/storage/storage.ts +57 -0
- package/src/utils/{localStorage.ts → storage/typed.ts} +22 -12
- package/dist/any-language-editor-CEXn1vFs.js +0 -156
- package/dist/apl-DuVfHsPc.js +0 -4
- package/dist/architecture-O4VJ6CD3-lp-opOaL.js +0 -21
- package/dist/asciiarmor-qIVWsi4F.js +0 -4
- package/dist/asn1-BjPqARr7.js +0 -4
- package/dist/assets/__vite-browser-external-lX-sn9m2.js +0 -1
- package/dist/brainfuck-DPGTVfkE.js +0 -4
- package/dist/classDiagram-KNZD7YFC-azuS_99k.js +0 -39
- package/dist/classDiagram-v2-RKCZMP56-CQpyQQOR.js +0 -39
- package/dist/clojure-ATksAecl.js +0 -4
- package/dist/cmake-CWylaz2C.js +0 -4
- package/dist/cobol-BiLLCZIQ.js +0 -4
- package/dist/coffeescript-Ca4jipi8.js +0 -4
- package/dist/commonlisp-BwFjyEC7.js +0 -4
- package/dist/crystal-BhUsQHbh.js +0 -4
- package/dist/css-Cf4wlIyV.js +0 -5
- package/dist/cypher-Dj8Hzgxa.js +0 -4
- package/dist/d-DZI7tbTy.js +0 -4
- package/dist/diff-WQISUHG5.js +0 -4
- package/dist/dist-BawZu0ix.js +0 -10
- package/dist/dist-BiOF7987.js +0 -6
- package/dist/dist-Cs3McXEj.js +0 -6
- package/dist/dist-D3aaithT.js +0 -6
- package/dist/dist-DELcMSpJ.js +0 -6
- package/dist/dist-Dgts3WXd.js +0 -6
- package/dist/dist-DtpUiDG_.js +0 -6
- package/dist/dist-ZjnJq_jD.js +0 -10
- package/dist/dist-mof3iuBu.js +0 -12
- package/dist/dtd-B2M8dhfC.js +0 -4
- package/dist/dylan-CU3Vt8SC.js +0 -4
- package/dist/ecl-B8ESAVq4.js +0 -4
- package/dist/eiffel-DDfMIKeA.js +0 -4
- package/dist/elm-Bj6rj8jf.js +0 -4
- package/dist/erlang-BxyshZUq.js +0 -4
- package/dist/error-banner-npbEfanI.js +0 -1012
- package/dist/esm-svAVli9f.js +0 -26
- package/dist/factor-CYk6XT8r.js +0 -5
- package/dist/forth-fcoJkd-f.js +0 -4
- package/dist/fortran-IxZHu4wc.js +0 -4
- package/dist/gas-B8rmKcim.js +0 -4
- package/dist/gherkin-BTm-jIdJ.js +0 -4
- package/dist/gitGraph-ZV4HHKMB-DFg_OLQb.js +0 -21
- package/dist/groovy-01kRHFMD.js +0 -4
- package/dist/haskell-B3PhE05w.js +0 -4
- package/dist/haxe-DEoAm8oA.js +0 -5
- package/dist/idl-DsDJU9cV.js +0 -4
- package/dist/info-63CPKGFF-D3DZmDBa.js +0 -21
- package/dist/infoDiagram-STP46IZ2-ec08vi_U.js +0 -44
- package/dist/javascript-gwczVhuU.js +0 -5
- package/dist/jinja2-AkZRdFk3.js +0 -4
- package/dist/julia-_s6qe3bf.js +0 -4
- package/dist/livescript-CwPHQdv5.js +0 -4
- package/dist/lua-s7nRxkCP.js +0 -4
- package/dist/mathematica-Ci36yd1q.js +0 -4
- package/dist/mbox-DbOYMNCO.js +0 -4
- package/dist/mirc-VmNe8AwF.js +0 -4
- package/dist/mllike-BdD7SJEa.js +0 -6
- package/dist/modelica-BA4VqzC3.js +0 -4
- package/dist/mscgen-DF-5WHJm.js +0 -6
- package/dist/mumps-c_Uia_QN.js +0 -4
- package/dist/nsis-BAANGODV.js +0 -5
- package/dist/ntriples-Bslqh2Ki.js +0 -4
- package/dist/octave-DYn5ltia.js +0 -4
- package/dist/oz-B_N-StZq.js +0 -4
- package/dist/packet-HUATNLJX-CkqjFdAv.js +0 -21
- package/dist/pascal-DU4CtAUu.js +0 -4
- package/dist/perl-Bae6k32u.js +0 -4
- package/dist/pie-WTHONI2E-D0rWwX5P.js +0 -21
- package/dist/pig-DSIxUEgX.js +0 -4
- package/dist/powershell-31lcPgIF.js +0 -4
- package/dist/properties-lmYbntDG.js +0 -4
- package/dist/protobuf-BTYoCEpV.js +0 -4
- package/dist/pug-DMFM7zzO.js +0 -5
- package/dist/puppet-B0ub07d-.js +0 -4
- package/dist/python-C4jT87Nt.js +0 -5
- package/dist/q-YbPYlqRI.js +0 -4
- package/dist/r-OfNu6HAI.js +0 -4
- package/dist/radar-NJJJXTRR-Bxqv4O5a.js +0 -21
- package/dist/rpm-D_3b5peD.js +0 -5
- package/dist/ruby-CehsJy_T.js +0 -4
- package/dist/sas-DwQHzPoF.js +0 -4
- package/dist/scheme-B6ArxiQu.js +0 -4
- package/dist/shell-AHmQgDfc.js +0 -4
- package/dist/sieve-CgodKOcx.js +0 -4
- package/dist/smalltalk-BeFzDkbo.js +0 -4
- package/dist/sparql-BWxq-Lnx.js +0 -4
- package/dist/stateDiagram-v2-UMBNRL4Z-D9v8fKjF.js +0 -38
- package/dist/stex-Dvaq0qsm.js +0 -5
- package/dist/stylus-Ge0ofWlZ.js +0 -4
- package/dist/swift-CjQfbVxV.js +0 -4
- package/dist/tcl-CAGDF11K.js +0 -4
- package/dist/textile-CrXreJtf.js +0 -4
- package/dist/toml-AdLXKwEi.js +0 -4
- package/dist/treemap-75Q7IDZK-Da9Jv6a_.js +0 -21
- package/dist/troff-C-LaM2ex.js +0 -4
- package/dist/ttcn-DTclUi6T.js +0 -4
- package/dist/ttcn-cfg-BtBPbmLX.js +0 -4
- package/dist/turtle-BODDDg5O.js +0 -4
- package/dist/vb-Cb1HQHii.js +0 -4
- package/dist/vbscript-CpXOP4wZ.js +0 -4
- package/dist/velocity-Dz0rBQIk.js +0 -4
- package/dist/verilog-6Di9aLKw.js +0 -4
- package/dist/vhdl-BRNesXYc.js +0 -4
- package/dist/webidl-BpRNYIYn.js +0 -4
- package/dist/xquery-DXWcJ7b6.js +0 -4
- package/dist/yacas-DbSARPz4.js +0 -4
- package/dist/z80-DzslPj_l.js +0 -4
- package/src/core/codemirror/language/__tests__/ast.test.ts +0 -124
- package/src/core/codemirror/language/utils/ast.ts +0 -84
- package/src/core/codemirror/language/utils/quotes.ts +0 -18
- /package/dist/{_arrayReduce-CVwxyrBP.js → _arrayReduce-Cd9xQjbl.js} +0 -0
- /package/dist/{_baseSlice-OgpvpOOJ.js → _baseSlice-CE9WsQZm.js} +0 -0
- /package/dist/{_hasUnicode-BgIggCqE.js → _hasUnicode-DkEebvtD.js} +0 -0
- /package/dist/{apl-CEHentF4.js → apl-aGhy11IM.js} +0 -0
- /package/dist/{array-aAxy08hN.js → array-DYSXIreg.js} +0 -0
- /package/dist/{asciiarmor-DURYiCS0.js → asciiarmor-DJKJ3Gkn.js} +0 -0
- /package/dist/{asn1-ETAiEoXY.js → asn1-C6f5IeNs.js} +0 -0
- /package/dist/{asterisk-DTpbbXPb.js → asterisk-DB1poX9_.js} +0 -0
- /package/dist/{brainfuck-BWQep-SA.js → brainfuck-Ch9vjun0.js} +0 -0
- /package/dist/{chunk-57QY23SG-0TxCfmy_.js → chunk-57QY23SG-BpXU7ph4.js} +0 -0
- /package/dist/{clike-bzZTreP4.js → clike-Bc2PZzZQ.js} +0 -0
- /package/dist/{clojure-BzFapDkA.js → clojure-B_lpr3zt.js} +0 -0
- /package/dist/{cmake-DvlbIC8x.js → cmake-DaocNF4I.js} +0 -0
- /package/dist/{cobol-BrEI4cPR.js → cobol-suTPtt7c.js} +0 -0
- /package/dist/{coffeescript-B6cvu8mO.js → coffeescript-CPLIvtqJ.js} +0 -0
- /package/dist/{colors-Cr_mZ2aH.js → colors-BXlG8Lmz.js} +0 -0
- /package/dist/{common-keywords-WqQm7W8t.js → common-keywords-Bhll7O3b.js} +0 -0
- /package/dist/{commonlisp-BIT8PQqi.js → commonlisp-BqM3qFK7.js} +0 -0
- /package/dist/{crystal-B_UcPArT.js → crystal-AsSFu4ke.js} +0 -0
- /package/dist/{css-dHbnt_zl.js → css-Df7Sdeyh.js} +0 -0
- /package/dist/{cypher-Dh3FOpL7.js → cypher-CaVKL6Gu.js} +0 -0
- /package/dist/{cytoscape.esm-BTpRoPd2.js → cytoscape.esm-BFEMljQI.js} +0 -0
- /package/dist/{d-CQD1IHee.js → d-DCGWK7NQ.js} +0 -0
- /package/dist/{defaultLocale-BAgEOGks.js → defaultLocale-CYgZlqDF.js} +0 -0
- /package/dist/{defaultLocale-471SYAPk.js → defaultLocale-Cto8YOmX.js} +0 -0
- /package/dist/{diff-CpF_IDx0.js → diff-CsxOM4Tr.js} +0 -0
- /package/dist/{dist-CK8Gj3GX.js → dist-C76MUPD3.js} +0 -0
- /package/dist/{dtd-DYoNpy6c.js → dtd-Dwr0Jmks.js} +0 -0
- /package/dist/{duckdb-keywords-CdIsl9L0.js → duckdb-keywords-7wAWf848.js} +0 -0
- /package/dist/{dylan-Bc_2G1E-.js → dylan-A7-ZBSey.js} +0 -0
- /package/dist/{ebnf-jGVT_YpN.js → ebnf-9_SaGDUz.js} +0 -0
- /package/dist/{ecl-UIU-P-Ar.js → ecl-BzJVIQDc.js} +0 -0
- /package/dist/{eiffel-C90Oyuix.js → eiffel-CO9eC_Op.js} +0 -0
- /package/dist/{elm-B9fWSySj.js → elm-CVAWj8SB.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-BHMWayAG.js → emotion-is-prop-valid.esm-C3Yi5GQt.js} +0 -0
- /package/dist/{erlang-Ccff0UAn.js → erlang-DWbZP546.js} +0 -0
- /package/dist/{fcl-CGR8NxAg.js → fcl-CM9t2iay.js} +0 -0
- /package/dist/{forth-U1ROGcBY.js → forth-BTYqUuu3.js} +0 -0
- /package/dist/{fortran-3nOkjDmc.js → fortran-DgAjHcCq.js} +0 -0
- /package/dist/{gas-B_4H5FzV.js → gas-BjDSWPZd.js} +0 -0
- /package/dist/{gherkin-B0eru5Uz.js → gherkin-ClRqqpKv.js} +0 -0
- /package/dist/{groovy-dqjtZUVf.js → groovy-BzNjnc8x.js} +0 -0
- /package/dist/{haskell-DFzCCQzo.js → haskell-DLdk34Jq.js} +0 -0
- /package/dist/{haxe-Da8Pj5RT.js → haxe-l6gaY_IS.js} +0 -0
- /package/dist/{http-1HACL_9s.js → http-6Qg7z_h2.js} +0 -0
- /package/dist/{idl-D3NXs5iM.js → idl-hlWT4D26.js} +0 -0
- /package/dist/{init-D6eDd7H0.js → init-tZ42Torz.js} +0 -0
- /package/dist/{isArrayLikeObject-BlvK28do.js → isArrayLikeObject-DU5MCuQM.js} +0 -0
- /package/dist/{javascript-BfCTmOnk.js → javascript-DGukg1sB.js} +0 -0
- /package/dist/{jinja2-gBHAxUdF.js → jinja2-DI5k_Er3.js} +0 -0
- /package/dist/{julia-bG-6nJ-_.js → julia-BvDZDiIT.js} +0 -0
- /package/dist/{katex-mkWmhPUh.js → katex-DgfMWJY9.js} +0 -0
- /package/dist/{livescript-BlsRC8UJ.js → livescript-2YMQfkfI.js} +0 -0
- /package/dist/{lua-BbDC0_5w.js → lua-DIUrQRfA.js} +0 -0
- /package/dist/{main-Czi9-LVy.js → main-BMTpe7M0.js} +0 -0
- /package/dist/{marked.esm-DJM8la36.js → marked.esm-DkVwEwtO.js} +0 -0
- /package/dist/{math-C7wLpe9K.js → math-qsHyz2Eo.js} +0 -0
- /package/dist/{mathematica-YZTe3-PF.js → mathematica-Dqmg_BwL.js} +0 -0
- /package/dist/{mbox-CY5idp08.js → mbox-Cng-P-F1.js} +0 -0
- /package/dist/{mirc-CbQuFZKk.js → mirc-CNDqOVhQ.js} +0 -0
- /package/dist/{mllike-DsbHMX-5.js → mllike-C1n2UDyX.js} +0 -0
- /package/dist/{modelica-CQuvsOQk.js → modelica-QqQC2pFj.js} +0 -0
- /package/dist/{mscgen-LIpBP9VR.js → mscgen-C3fl8uhp.js} +0 -0
- /package/dist/{mumps-Ct5NXoaG.js → mumps-BeCUbMej.js} +0 -0
- /package/dist/{nginx-Dvc62C8z.js → nginx-ejv7DsBz.js} +0 -0
- /package/dist/{node-sql-parser-BqKV-TpL.js → node-sql-parser-CoPWN4hn.js} +0 -0
- /package/dist/{ntriples-jVkxWUuv.js → ntriples-CUgUpcma.js} +0 -0
- /package/dist/{octave-jGOImUB0.js → octave-BD652tGl.js} +0 -0
- /package/dist/{oz-Y0FKDMS2.js → oz-DrRsFa0K.js} +0 -0
- /package/dist/{pascal-BaLtPWWB.js → pascal-hpcx9sVn.js} +0 -0
- /package/dist/{path-VDkDgx1I.js → path-Bbv2tLY1.js} +0 -0
- /package/dist/{perl-CjfE0JLo.js → perl-DW8XHeFc.js} +0 -0
- /package/dist/{pig-DE4epV99.js → pig-Cv7Nxbfo.js} +0 -0
- /package/dist/{powershell-BZx53Ujw.js → powershell-Dr7WZMDU.js} +0 -0
- /package/dist/{prop-types-0wNc-99T.js → prop-types-Bd16OEUP.js} +0 -0
- /package/dist/{properties-CLyCG5C-.js → properties-D-qJDXAM.js} +0 -0
- /package/dist/{protobuf-BjBBs_V4.js → protobuf-B48QZbd3.js} +0 -0
- /package/dist/{puppet-ZImLuomA.js → puppet-15JDyiY2.js} +0 -0
- /package/dist/{python-C9YN71pR.js → python-DWkQA94h.js} +0 -0
- /package/dist/{q-CMoUHJ5Q.js → q-BzRpKgfd.js} +0 -0
- /package/dist/{r-DILmKWWW.js → r-dcNRe_Q8.js} +0 -0
- /package/dist/{range-PcytnUSJ.js → range-CQvYp_qE.js} +0 -0
- /package/dist/{rpm-fpIsm1Kr.js → rpm-Djl3Dsf1.js} +0 -0
- /package/dist/{ruby-BuiQI41h.js → ruby-Dd2CZTip.js} +0 -0
- /package/dist/{sas-C76sJ1zF.js → sas-DYF5_Iqu.js} +0 -0
- /package/dist/{scheme-DHjM-txv.js → scheme-YtWcji1H.js} +0 -0
- /package/dist/{shell--7NmGJ9p.js → shell-C3uC3Y0Z.js} +0 -0
- /package/dist/{sieve-DaPvBv1M.js → sieve-DHB17sQG.js} +0 -0
- /package/dist/{simple-mode-BP3Jd4vf.js → simple-mode-BMmwP_vI.js} +0 -0
- /package/dist/{smalltalk-KPvwrjCs.js → smalltalk-Y5v1Np3H.js} +0 -0
- /package/dist/{solr-PvZUtEDb.js → solr-DvRJLlRD.js} +0 -0
- /package/dist/{sparql-CXSUIQer.js → sparql-BEt3GJwM.js} +0 -0
- /package/dist/{spreadsheet-DPJdGPkx.js → spreadsheet-Dp4B9_rc.js} +0 -0
- /package/dist/{sql-Dp4ZLSIa.js → sql-DBsUs8nQ.js} +0 -0
- /package/dist/{stex-CeXW4zzk.js → stex-C6-x52ei.js} +0 -0
- /package/dist/{stylus-BXcmrg9w.js → stylus-DroA8via.js} +0 -0
- /package/dist/{swift-DD8I7hKP.js → swift-DR0x1ESK.js} +0 -0
- /package/dist/{tcl-B9Lp4GtA.js → tcl-BeuTFc_c.js} +0 -0
- /package/dist/{textile-qdiY0teq.js → textile-C0ikhHN3.js} +0 -0
- /package/dist/{tiddlywiki-t32lkubq.js → tiddlywiki-C_2Nvsgu.js} +0 -0
- /package/dist/{tiki-B0qKrSMl.js → tiki-CKQlhmQQ.js} +0 -0
- /package/dist/{timer-CzOhIJuk.js → timer-CcUhugb0.js} +0 -0
- /package/dist/{toml-eSl4PUAH.js → toml-BqNUJWRI.js} +0 -0
- /package/dist/{treemap-BpgMKHv-.js → treemap-BYLUKIzA.js} +0 -0
- /package/dist/{troff-105XJOEu.js → troff-DkK0f2ZH.js} +0 -0
- /package/dist/{tslib.es6-DofFyd9S.js → tslib.es6-3ZL768sZ.js} +0 -0
- /package/dist/{ttcn-1_BxDcM8.js → ttcn-Bf8vrg-_.js} +0 -0
- /package/dist/{ttcn-cfg-Cn_XgXiw.js → ttcn-cfg-DjCKzd95.js} +0 -0
- /package/dist/{turtle-BI6LyfEu.js → turtle-SSc84S9m.js} +0 -0
- /package/dist/{vb-BecoBfmr.js → vb-CQ6DC3cL.js} +0 -0
- /package/dist/{vbscript-De-zpA4i.js → vbscript-Dw0gFssg.js} +0 -0
- /package/dist/{velocity-DhlYJTrD.js → velocity-BvJQyBmj.js} +0 -0
- /package/dist/{verilog-BDZgxDOW.js → verilog-CKGAvQjj.js} +0 -0
- /package/dist/{vhdl-CV0OKTbp.js → vhdl-B40_x6fM.js} +0 -0
- /package/dist/{webidl-BOM1Fs0O.js → webidl-Bi9hczCv.js} +0 -0
- /package/dist/{xquery-CltP_CGh.js → xquery-DwWUXvP3.js} +0 -0
- /package/dist/{yacas-Dch4E2Dg.js → yacas-ClUs0mmH.js} +0 -0
- /package/dist/{z80-B5Yly27o.js → z80-DPC4UGzR.js} +0 -0
- /package/dist/{zod-ChY6miG5.js → zod-mAEs2ITo.js} +0 -0
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-DgPTj83v.js";
|
|
2
2
|
import { t as require_react } from "./react-DHL_F5hS.js";
|
|
3
3
|
import { n as require_compiler_runtime, t as require_jsx_runtime } from "./jsx-runtime-DZyWJV5b.js";
|
|
4
|
-
import { C as
|
|
5
|
-
import { t as Check } from "./check-
|
|
6
|
-
import { C as menuLabelVariants, F as X, I as ChevronUp, L as ChevronDown,
|
|
7
|
-
import { c as composeRefs, d as cn, f as clsx_default, l as useComposedRefs, o as createSlot, t as Button, u as Events } from "./button-
|
|
8
|
-
import { s as Logger } from "./hotkeys-
|
|
4
|
+
import { C as useCallbackRef, D as createContextScope, O as composeEventHandlers, S as DismissableLayer, T as dispatchDiscreteCustomEvent, _ as Root2$1, a as MAX_HEIGHT_OFFSET, b as useId, c as StyleNamespace, d as useControllableState, f as Presence, g as Content, h as Arrow, i as useFocusGuards, k as createLucideIcon, m as Anchor, n as hideOthers, o as withFullScreenAsRoot, p as Portal, r as FocusScope, s as withSmartCollisionBoundary, t as Combination_default, v as createPopperScope, w as Primitive } from "./Combination-De9yoNY5.js";
|
|
5
|
+
import { t as Check } from "./check-COlaG7Ss.js";
|
|
6
|
+
import { C as menuLabelVariants, F as X, I as ChevronUp, L as ChevronDown, O as useDirection, P as upperFirst_default, S as menuItemVariants, T as menuSubTriggerVariants, b as menuControlCheckVariants, i as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, k as createCollection, n as $a916eb452884faea$export$b7a616150fdb9f44, r as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, s as $b5e257d569688ac6$export$619500959fc48b26, w as menuSeparatorVariants, x as menuControlVariants, y as menuContentCommon } from "./label-BiVIU_wb.js";
|
|
7
|
+
import { c as composeRefs, d as cn, f as clsx_default, l as useComposedRefs, o as createSlot, t as Button, u as Events } from "./button-ADXOb_gX.js";
|
|
8
|
+
import { s as Logger } from "./hotkeys-DVxFjl2s.js";
|
|
9
9
|
import { t as require_react_dom } from "./react-dom-CpBooCbY.js";
|
|
10
|
-
import {
|
|
11
|
-
import { t as toString_default } from "./toString-
|
|
12
|
-
import { r as debounce_default, t as Constants } from "./constants-
|
|
10
|
+
import { h as useEvent_default } from "./useTheme-CnMbo-iq.js";
|
|
11
|
+
import { t as toString_default } from "./toString-CbuxCRDG.js";
|
|
12
|
+
import { r as debounce_default, t as Constants } from "./constants-BaCMVd12.js";
|
|
13
|
+
import { t as invariant } from "./invariant-D3JoRb4I.js";
|
|
14
|
+
import { t as memoizeLastValue } from "./once-3OSMKEsL.js";
|
|
13
15
|
var ChevronRight = createLucideIcon("chevron-right", [["path", {
|
|
14
16
|
d: "m9 18 6-6-6-6",
|
|
15
17
|
key: "mthhwq"
|
|
@@ -56,74 +58,13 @@ function capitalize(e2) {
|
|
|
56
58
|
return upperFirst_default(toString_default(e2).toLowerCase());
|
|
57
59
|
}
|
|
58
60
|
var capitalize_default = capitalize;
|
|
59
|
-
function clamp(e2, t, n) {
|
|
60
|
-
return Math.min(Math.max(e2, t), n);
|
|
61
|
-
}
|
|
62
|
-
function arrayDelete(e2, t) {
|
|
63
|
-
let n = [...e2];
|
|
64
|
-
return n.splice(t, 1), n;
|
|
65
|
-
}
|
|
66
|
-
function arrayInsert(e2, t, n) {
|
|
67
|
-
t = clamp(t, 0, e2.length);
|
|
68
|
-
let r = [...e2];
|
|
69
|
-
return r.splice(t, 0, n), r;
|
|
70
|
-
}
|
|
71
|
-
function arrayMove(e2, t, n) {
|
|
72
|
-
let r = [...e2], [i] = r.splice(t, 1);
|
|
73
|
-
return r.splice(n, 0, i), r;
|
|
74
|
-
}
|
|
75
|
-
function arrayInsertMany(e2, t, n) {
|
|
76
|
-
if (e2.length === 0) return n;
|
|
77
|
-
t = clamp(t, 0, e2.length);
|
|
78
|
-
let r = [...e2];
|
|
79
|
-
return r.splice(t, 0, ...n), r;
|
|
80
|
-
}
|
|
81
|
-
function arrayShallowEquals(e2, t) {
|
|
82
|
-
if (e2 === t) return true;
|
|
83
|
-
if (e2.length !== t.length) return false;
|
|
84
|
-
for (let n = 0, r = e2.length; n < r; n++) if (e2[n] !== t[n]) return false;
|
|
85
|
-
return true;
|
|
86
|
-
}
|
|
87
|
-
const Arrays = {
|
|
88
|
-
EMPTY: [],
|
|
89
|
-
zip: (e2, t) => (invariant(e2.length === t.length, "Arrays must be the same length"), e2.map((e3, n) => [e3, t[n]]))
|
|
90
|
-
};
|
|
91
|
-
function uniqueBy(e2, t) {
|
|
92
|
-
let n = [], r = /* @__PURE__ */ new Set();
|
|
93
|
-
for (let i of e2) {
|
|
94
|
-
let e3 = t(i);
|
|
95
|
-
r.has(e3) || (r.add(e3), n.push(i));
|
|
96
|
-
}
|
|
97
|
-
return n;
|
|
98
|
-
}
|
|
99
|
-
function once(e2) {
|
|
100
|
-
let t, n = false;
|
|
101
|
-
return function(...r) {
|
|
102
|
-
return n || (n = true, t = e2.apply(this, r)), t;
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
function memoizeLastValue(e2) {
|
|
106
|
-
let t, n, r, i = false;
|
|
107
|
-
return function(...a) {
|
|
108
|
-
if (n === void 0 || !arrayShallowEquals(a, n)) {
|
|
109
|
-
try {
|
|
110
|
-
t = e2.apply(this, a), i = false, r = void 0;
|
|
111
|
-
} catch (e3) {
|
|
112
|
-
i = true, r = e3;
|
|
113
|
-
}
|
|
114
|
-
n = a;
|
|
115
|
-
}
|
|
116
|
-
if (i) throw r;
|
|
117
|
-
return t;
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
61
|
function assertNever(e2) {
|
|
121
62
|
invariant(false, `Unexpected object: ${e2}`);
|
|
122
63
|
}
|
|
123
64
|
function logNever(e2) {
|
|
124
65
|
return Logger.warn(`Unexpected object: ${JSON.stringify(e2)}`), e2;
|
|
125
66
|
}
|
|
126
|
-
var import_compiler_runtime$5 = /* @__PURE__ */ __toESM(require_compiler_runtime()), import_react = /* @__PURE__ */ __toESM(require_react());
|
|
67
|
+
var import_compiler_runtime$5 = /* @__PURE__ */ __toESM(require_compiler_runtime(), 1), import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
127
68
|
function useNonce() {
|
|
128
69
|
let e2 = (0, import_compiler_runtime$5.c)(2), [t, n] = (0, import_react.useState)(0), r;
|
|
129
70
|
return e2[0] === t ? r = e2[1] : (r = () => {
|
|
@@ -2516,7 +2457,7 @@ function $81397a9303501bda$export$23f548e970bdf099(e2, t, n) {
|
|
|
2516
2457
|
} }), P = $a916eb452884faea$export$b7a616150fdb9f44(p), F = (0, import_react.useMemo)(() => P.resolvedOptions(), [P]), I = $a916eb452884faea$export$b7a616150fdb9f44({
|
|
2517
2458
|
...p,
|
|
2518
2459
|
currencySign: void 0
|
|
2519
|
-
}), { spinButtonProps: L, incrementButtonProps:
|
|
2460
|
+
}), { spinButtonProps: L, incrementButtonProps: R, decrementButtonProps: z } = $d2e8511e6f209edf$export$e908e06f4b8e3402({
|
|
2520
2461
|
isDisabled: o,
|
|
2521
2462
|
isReadOnly: s,
|
|
2522
2463
|
isRequired: c,
|
|
@@ -2528,25 +2469,25 @@ function $81397a9303501bda$export$23f548e970bdf099(e2, t, n) {
|
|
|
2528
2469
|
onDecrementToMin: E,
|
|
2529
2470
|
value: D,
|
|
2530
2471
|
textValue: (0, import_react.useMemo)(() => isNaN(D) ? "" : I.format(D), [I, D])
|
|
2531
|
-
}), [
|
|
2472
|
+
}), [Fl, Il] = (0, import_react.useState)(false), { focusWithinProps: Ll } = $9ab94262bd0047c7$export$420e68273165f4ec({
|
|
2532
2473
|
isDisabled: o,
|
|
2533
|
-
onFocusWithinChange:
|
|
2474
|
+
onFocusWithinChange: Il
|
|
2534
2475
|
});
|
|
2535
2476
|
$7d0a636d7a4dcefd$export$2123ff2b87c81ca({
|
|
2536
2477
|
onScroll: (0, import_react.useCallback)((e3) => {
|
|
2537
2478
|
Math.abs(e3.deltaY) <= Math.abs(e3.deltaX) || (e3.deltaY > 0 ? C() : e3.deltaY < 0 && T());
|
|
2538
2479
|
}, [T, C]),
|
|
2539
|
-
isDisabled: x || o || s || !
|
|
2480
|
+
isDisabled: x || o || s || !Fl
|
|
2540
2481
|
}, n);
|
|
2541
2482
|
let V = (F.maximumFractionDigits ?? 0) > 0, H = t.minValue === void 0 || isNaN(t.minValue) || t.minValue < 0, U = "numeric";
|
|
2542
2483
|
$c87311424ea30a05$export$186c6964ca17d99() ? H ? U = "text" : V && (U = "decimal") : $c87311424ea30a05$export$a11b0059900ceec8() && (H ? U = "numeric" : V && (U = "decimal"));
|
|
2543
|
-
let
|
|
2484
|
+
let Rl = (e3) => {
|
|
2544
2485
|
t.validate(e3) && t.setInputValue(e3);
|
|
2545
|
-
},
|
|
2486
|
+
}, zl = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(e2), W = (0, import_react.useCallback)((e3) => {
|
|
2546
2487
|
e3.nativeEvent.isComposing || (e3.key === "Enter" ? (k(), A()) : e3.continuePropagation());
|
|
2547
|
-
}, [k, A]), { isInvalid: G, validationErrors:
|
|
2488
|
+
}, [k, A]), { isInvalid: G, validationErrors: Bl, validationDetails: Vl } = t.displayValidation, { labelProps: K, inputProps: Hl, descriptionProps: Ul, errorMessageProps: Wl } = $d841c8010a73d545$export$4f384c9210e583c3({
|
|
2548
2489
|
...S,
|
|
2549
|
-
...
|
|
2490
|
+
...zl,
|
|
2550
2491
|
name: void 0,
|
|
2551
2492
|
form: void 0,
|
|
2552
2493
|
label: f,
|
|
@@ -2564,7 +2505,7 @@ function $81397a9303501bda$export$23f548e970bdf099(e2, t, n) {
|
|
|
2564
2505
|
id: M,
|
|
2565
2506
|
type: "text",
|
|
2566
2507
|
inputMode: U,
|
|
2567
|
-
onChange:
|
|
2508
|
+
onChange: Rl,
|
|
2568
2509
|
onBlur: m,
|
|
2569
2510
|
onFocus: h,
|
|
2570
2511
|
onFocusChange: g,
|
|
@@ -2574,7 +2515,7 @@ function $81397a9303501bda$export$23f548e970bdf099(e2, t, n) {
|
|
|
2574
2515
|
errorMessage: b
|
|
2575
2516
|
}, t, n);
|
|
2576
2517
|
$99facab73266f662$export$5add1d006293d136(n, t.defaultNumberValue, t.setNumberValue);
|
|
2577
|
-
let q = $3ef42575df84b30b$export$9d1611c77c2fe928(L, N,
|
|
2518
|
+
let q = $3ef42575df84b30b$export$9d1611c77c2fe928(L, N, Hl, {
|
|
2578
2519
|
role: null,
|
|
2579
2520
|
"aria-roledescription": $c87311424ea30a05$export$fedb369cb70207f1() ? null : j.format("numberField"),
|
|
2580
2521
|
"aria-valuemax": null,
|
|
@@ -2590,7 +2531,7 @@ function $81397a9303501bda$export$23f548e970bdf099(e2, t, n) {
|
|
|
2590
2531
|
document.activeElement !== n.current && (e3.pointerType === "mouse" ? (t2 = n.current) == null || t2.focus() : e3.target.focus());
|
|
2591
2532
|
}, Y = e2["aria-label"] || (typeof e2.label == "string" ? e2.label : ""), Z;
|
|
2592
2533
|
Y || (Z = e2.label == null ? e2["aria-labelledby"] : K.id);
|
|
2593
|
-
let Q = $bdb11010cef70236$export$f680877a34711e37(), $ = $bdb11010cef70236$export$f680877a34711e37(),
|
|
2534
|
+
let Q = $bdb11010cef70236$export$f680877a34711e37(), $ = $bdb11010cef70236$export$f680877a34711e37(), Gl = $3ef42575df84b30b$export$9d1611c77c2fe928(R, {
|
|
2594
2535
|
"aria-label": a || j.format("increase", { fieldLabel: Y }).trim(),
|
|
2595
2536
|
id: Z && !a ? Q : null,
|
|
2596
2537
|
"aria-labelledby": Z && !a ? `${Q} ${Z}` : null,
|
|
@@ -2600,7 +2541,7 @@ function $81397a9303501bda$export$23f548e970bdf099(e2, t, n) {
|
|
|
2600
2541
|
allowFocusWhenDisabled: true,
|
|
2601
2542
|
isDisabled: !t.canIncrement,
|
|
2602
2543
|
onPressStart: J
|
|
2603
|
-
}),
|
|
2544
|
+
}), Kl = $3ef42575df84b30b$export$9d1611c77c2fe928(z, {
|
|
2604
2545
|
"aria-label": i || j.format("decrease", { fieldLabel: Y }).trim(),
|
|
2605
2546
|
id: Z && !i ? $ : null,
|
|
2606
2547
|
"aria-labelledby": Z && !i ? `${$} ${Z}` : null,
|
|
@@ -2613,20 +2554,20 @@ function $81397a9303501bda$export$23f548e970bdf099(e2, t, n) {
|
|
|
2613
2554
|
});
|
|
2614
2555
|
return {
|
|
2615
2556
|
groupProps: {
|
|
2616
|
-
...
|
|
2557
|
+
...Ll,
|
|
2617
2558
|
role: "group",
|
|
2618
2559
|
"aria-disabled": o,
|
|
2619
2560
|
"aria-invalid": G ? "true" : void 0
|
|
2620
2561
|
},
|
|
2621
2562
|
labelProps: K,
|
|
2622
2563
|
inputProps: q,
|
|
2623
|
-
incrementButtonProps:
|
|
2624
|
-
decrementButtonProps:
|
|
2625
|
-
errorMessageProps:
|
|
2626
|
-
descriptionProps:
|
|
2564
|
+
incrementButtonProps: Gl,
|
|
2565
|
+
decrementButtonProps: Kl,
|
|
2566
|
+
errorMessageProps: Wl,
|
|
2567
|
+
descriptionProps: Ul,
|
|
2627
2568
|
isInvalid: G,
|
|
2628
|
-
validationErrors:
|
|
2629
|
-
validationDetails:
|
|
2569
|
+
validationErrors: Bl,
|
|
2570
|
+
validationDetails: Vl
|
|
2630
2571
|
};
|
|
2631
2572
|
}
|
|
2632
2573
|
var $01b77f81d0f07f68$export$75b6ee27786ba447 = /* @__PURE__ */ (0, import_react.createContext)({}), $01b77f81d0f07f68$export$b04be29aa201d4f5 = /* @__PURE__ */ $f39a9eba43920ace$export$86427a43e3e48ebb(function(e2, t) {
|
|
@@ -2850,30 +2791,30 @@ var $514c0188e459b4c0$export$9afb8bc826b033ea = /* @__PURE__ */ (0, import_react
|
|
|
2850
2791
|
}));
|
|
2851
2792
|
RovingFocusGroup.displayName = GROUP_NAME$2;
|
|
2852
2793
|
var RovingFocusGroupImpl = import_react.forwardRef((e2, t) => {
|
|
2853
|
-
let { __scopeRovingFocusGroup: n, orientation: r, loop:
|
|
2794
|
+
let { __scopeRovingFocusGroup: n, orientation: r, loop: a = false, dir: s, currentTabStopId: c, defaultCurrentTabStopId: l, onCurrentTabStopIdChange: u, onEntryFocus: d, preventScrollOnEntryFocus: f = false, ...m } = e2, h = import_react.useRef(null), g = useComposedRefs(t, h), _ = useDirection(s), [v, y] = useControllableState({
|
|
2854
2795
|
prop: c,
|
|
2855
2796
|
defaultProp: l ?? null,
|
|
2856
2797
|
onChange: u,
|
|
2857
2798
|
caller: GROUP_NAME$2
|
|
2858
|
-
}), [b, x] = import_react.useState(false), S = useCallbackRef(d), C = useCollection$1(n), w = import_react.useRef(false), [
|
|
2799
|
+
}), [b, x] = import_react.useState(false), S = useCallbackRef(d), C = useCollection$1(n), w = import_react.useRef(false), [T, E] = import_react.useState(0);
|
|
2859
2800
|
return import_react.useEffect(() => {
|
|
2860
|
-
let e3 =
|
|
2801
|
+
let e3 = h.current;
|
|
2861
2802
|
if (e3) return e3.addEventListener(ENTRY_FOCUS, S), () => e3.removeEventListener(ENTRY_FOCUS, S);
|
|
2862
2803
|
}, [S]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RovingFocusProvider, {
|
|
2863
2804
|
scope: n,
|
|
2864
2805
|
orientation: r,
|
|
2865
2806
|
dir: _,
|
|
2866
|
-
loop:
|
|
2807
|
+
loop: a,
|
|
2867
2808
|
currentTabStopId: v,
|
|
2868
2809
|
onItemFocus: import_react.useCallback((e3) => y(e3), [y]),
|
|
2869
2810
|
onItemShiftTab: import_react.useCallback(() => x(true), []),
|
|
2870
|
-
onFocusableItemAdd: import_react.useCallback(() =>
|
|
2871
|
-
onFocusableItemRemove: import_react.useCallback(() =>
|
|
2811
|
+
onFocusableItemAdd: import_react.useCallback(() => E((e3) => e3 + 1), []),
|
|
2812
|
+
onFocusableItemRemove: import_react.useCallback(() => E((e3) => e3 - 1), []),
|
|
2872
2813
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.div, {
|
|
2873
|
-
tabIndex: b ||
|
|
2814
|
+
tabIndex: b || T === 0 ? -1 : 0,
|
|
2874
2815
|
"data-orientation": r,
|
|
2875
|
-
...
|
|
2876
|
-
ref:
|
|
2816
|
+
...m,
|
|
2817
|
+
ref: g,
|
|
2877
2818
|
style: {
|
|
2878
2819
|
outline: "none",
|
|
2879
2820
|
...e2.style
|
|
@@ -2900,7 +2841,7 @@ var RovingFocusGroupImpl = import_react.forwardRef((e2, t) => {
|
|
|
2900
2841
|
})
|
|
2901
2842
|
});
|
|
2902
2843
|
}), ITEM_NAME$2 = "RovingFocusGroupItem", RovingFocusGroupItem = import_react.forwardRef((e2, t) => {
|
|
2903
|
-
let { __scopeRovingFocusGroup: n, focusable: r = true, active: i = false, tabStopId: a, children:
|
|
2844
|
+
let { __scopeRovingFocusGroup: n, focusable: r = true, active: i = false, tabStopId: a, children: s, ...c } = e2, l = useId(), u = a || l, f = useRovingFocusContext(ITEM_NAME$2, n), p = f.currentTabStopId === u, m = useCollection$1(n), { onFocusableItemAdd: h, onFocusableItemRemove: g, currentTabStopId: _ } = f;
|
|
2904
2845
|
return import_react.useEffect(() => {
|
|
2905
2846
|
if (r) return h(), () => g();
|
|
2906
2847
|
}, [
|
|
@@ -2909,18 +2850,18 @@ var RovingFocusGroupImpl = import_react.forwardRef((e2, t) => {
|
|
|
2909
2850
|
g
|
|
2910
2851
|
]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Collection$1.ItemSlot, {
|
|
2911
2852
|
scope: n,
|
|
2912
|
-
id:
|
|
2853
|
+
id: u,
|
|
2913
2854
|
focusable: r,
|
|
2914
2855
|
active: i,
|
|
2915
2856
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.span, {
|
|
2916
2857
|
tabIndex: p ? 0 : -1,
|
|
2917
2858
|
"data-orientation": f.orientation,
|
|
2918
|
-
...
|
|
2859
|
+
...c,
|
|
2919
2860
|
ref: t,
|
|
2920
2861
|
onMouseDown: composeEventHandlers(e2.onMouseDown, (e3) => {
|
|
2921
|
-
r ? f.onItemFocus(
|
|
2862
|
+
r ? f.onItemFocus(u) : e3.preventDefault();
|
|
2922
2863
|
}),
|
|
2923
|
-
onFocus: composeEventHandlers(e2.onFocus, () => f.onItemFocus(
|
|
2864
|
+
onFocus: composeEventHandlers(e2.onFocus, () => f.onItemFocus(u)),
|
|
2924
2865
|
onKeyDown: composeEventHandlers(e2.onKeyDown, (e3) => {
|
|
2925
2866
|
if (e3.key === "Tab" && e3.shiftKey) {
|
|
2926
2867
|
f.onItemShiftTab();
|
|
@@ -2941,10 +2882,10 @@ var RovingFocusGroupImpl = import_react.forwardRef((e2, t) => {
|
|
|
2941
2882
|
setTimeout(() => focusFirst$1(n2));
|
|
2942
2883
|
}
|
|
2943
2884
|
}),
|
|
2944
|
-
children: typeof
|
|
2885
|
+
children: typeof s == "function" ? s({
|
|
2945
2886
|
isCurrentTabStop: p,
|
|
2946
2887
|
hasTabStop: _ != null
|
|
2947
|
-
}) :
|
|
2888
|
+
}) : s
|
|
2948
2889
|
})
|
|
2949
2890
|
});
|
|
2950
2891
|
});
|
|
@@ -2992,34 +2933,34 @@ var Root = RovingFocusGroup, Item = RovingFocusGroupItem, SELECTION_KEYS = ["Ent
|
|
|
2992
2933
|
createPopperScope,
|
|
2993
2934
|
createRovingFocusGroupScope
|
|
2994
2935
|
]), usePopperScope = createPopperScope(), useRovingFocusGroupScope = createRovingFocusGroupScope(), [MenuProvider, useMenuContext] = createMenuContext(MENU_NAME), [MenuRootProvider, useMenuRootContext] = createMenuContext(MENU_NAME), Menu = (e2) => {
|
|
2995
|
-
let { __scopeMenu: t, open: n = false, children: r, dir:
|
|
2936
|
+
let { __scopeMenu: t, open: n = false, children: r, dir: a, onOpenChange: o, modal: s = true } = e2, c = usePopperScope(t), [u, d] = import_react.useState(null), f = import_react.useRef(false), p = useCallbackRef(o), m = useDirection(a);
|
|
2996
2937
|
return import_react.useEffect(() => {
|
|
2997
2938
|
let e3 = () => {
|
|
2998
|
-
|
|
2939
|
+
f.current = true, document.addEventListener("pointerdown", t2, {
|
|
2999
2940
|
capture: true,
|
|
3000
2941
|
once: true
|
|
3001
2942
|
}), document.addEventListener("pointermove", t2, {
|
|
3002
2943
|
capture: true,
|
|
3003
2944
|
once: true
|
|
3004
2945
|
});
|
|
3005
|
-
}, t2 = () =>
|
|
2946
|
+
}, t2 = () => f.current = false;
|
|
3006
2947
|
return document.addEventListener("keydown", e3, { capture: true }), () => {
|
|
3007
2948
|
document.removeEventListener("keydown", e3, { capture: true }), document.removeEventListener("pointerdown", t2, { capture: true }), document.removeEventListener("pointermove", t2, { capture: true });
|
|
3008
2949
|
};
|
|
3009
2950
|
}, []), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Root2$1, {
|
|
3010
|
-
...
|
|
2951
|
+
...c,
|
|
3011
2952
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MenuProvider, {
|
|
3012
2953
|
scope: t,
|
|
3013
2954
|
open: n,
|
|
3014
|
-
onOpenChange:
|
|
3015
|
-
content:
|
|
3016
|
-
onContentChange:
|
|
2955
|
+
onOpenChange: p,
|
|
2956
|
+
content: u,
|
|
2957
|
+
onContentChange: d,
|
|
3017
2958
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MenuRootProvider, {
|
|
3018
2959
|
scope: t,
|
|
3019
|
-
onClose: import_react.useCallback(() =>
|
|
3020
|
-
isUsingKeyboardRef:
|
|
3021
|
-
dir:
|
|
3022
|
-
modal:
|
|
2960
|
+
onClose: import_react.useCallback(() => p(false), [p]),
|
|
2961
|
+
isUsingKeyboardRef: f,
|
|
2962
|
+
dir: m,
|
|
2963
|
+
modal: s,
|
|
3023
2964
|
children: r
|
|
3024
2965
|
})
|
|
3025
2966
|
})
|
|
@@ -3094,7 +3035,7 @@ var CONTENT_NAME$1 = "MenuContent", [MenuContentProvider, useMenuContentContext]
|
|
|
3094
3035
|
onDismiss: () => n.onOpenChange(false)
|
|
3095
3036
|
});
|
|
3096
3037
|
}), Slot = createSlot("MenuContent.ScrollLock"), MenuContentImpl = import_react.forwardRef((e2, t) => {
|
|
3097
|
-
let { __scopeMenu: n, loop: r = false, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus:
|
|
3038
|
+
let { __scopeMenu: n, loop: r = false, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: c, disableOutsidePointerEvents: l, onEntryFocus: u, onEscapeKeyDown: d, onPointerDownOutside: f, onFocusOutside: p, onInteractOutside: m, onDismiss: g, disableOutsideScroll: v, ...y } = e2, b = useMenuContext(CONTENT_NAME$1, n), x = useMenuRootContext(CONTENT_NAME$1, n), S = usePopperScope(n), w = useRovingFocusGroupScope(n), E = useCollection(n), [D, O] = import_react.useState(null), k = import_react.useRef(null), A = useComposedRefs(t, k, b.onContentChange), j = import_react.useRef(0), M = import_react.useRef(""), N = import_react.useRef(0), P = import_react.useRef(null), F = import_react.useRef("right"), I = import_react.useRef(0), L = v ? Combination_default : import_react.Fragment, R = v ? {
|
|
3098
3039
|
as: Slot,
|
|
3099
3040
|
allowPinchZoom: true
|
|
3100
3041
|
} : void 0, z = (e3) => {
|
|
@@ -3135,41 +3076,41 @@ var CONTENT_NAME$1 = "MenuContent", [MenuContentProvider, useMenuContentContext]
|
|
|
3135
3076
|
var _a;
|
|
3136
3077
|
e3.preventDefault(), (_a = k.current) == null ? void 0 : _a.focus({ preventScroll: true });
|
|
3137
3078
|
}),
|
|
3138
|
-
onUnmountAutoFocus:
|
|
3079
|
+
onUnmountAutoFocus: c,
|
|
3139
3080
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DismissableLayer, {
|
|
3140
3081
|
asChild: true,
|
|
3141
|
-
disableOutsidePointerEvents:
|
|
3142
|
-
onEscapeKeyDown:
|
|
3143
|
-
onPointerDownOutside:
|
|
3144
|
-
onFocusOutside:
|
|
3145
|
-
onInteractOutside:
|
|
3146
|
-
onDismiss:
|
|
3082
|
+
disableOutsidePointerEvents: l,
|
|
3083
|
+
onEscapeKeyDown: d,
|
|
3084
|
+
onPointerDownOutside: f,
|
|
3085
|
+
onFocusOutside: p,
|
|
3086
|
+
onInteractOutside: m,
|
|
3087
|
+
onDismiss: g,
|
|
3147
3088
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Root, {
|
|
3148
3089
|
asChild: true,
|
|
3149
|
-
...
|
|
3150
|
-
dir:
|
|
3090
|
+
...w,
|
|
3091
|
+
dir: x.dir,
|
|
3151
3092
|
orientation: "vertical",
|
|
3152
3093
|
loop: r,
|
|
3153
3094
|
currentTabStopId: D,
|
|
3154
3095
|
onCurrentTabStopIdChange: O,
|
|
3155
|
-
onEntryFocus: composeEventHandlers(
|
|
3156
|
-
|
|
3096
|
+
onEntryFocus: composeEventHandlers(u, (e3) => {
|
|
3097
|
+
x.isUsingKeyboardRef.current || e3.preventDefault();
|
|
3157
3098
|
}),
|
|
3158
3099
|
preventScrollOnEntryFocus: true,
|
|
3159
3100
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Content, {
|
|
3160
3101
|
role: "menu",
|
|
3161
3102
|
"aria-orientation": "vertical",
|
|
3162
|
-
"data-state": getOpenState(
|
|
3103
|
+
"data-state": getOpenState(b.open),
|
|
3163
3104
|
"data-radix-menu-content": "",
|
|
3164
|
-
dir:
|
|
3165
|
-
...
|
|
3166
|
-
...
|
|
3105
|
+
dir: x.dir,
|
|
3106
|
+
...S,
|
|
3107
|
+
...y,
|
|
3167
3108
|
ref: A,
|
|
3168
3109
|
style: {
|
|
3169
3110
|
outline: "none",
|
|
3170
|
-
...
|
|
3111
|
+
...y.style
|
|
3171
3112
|
},
|
|
3172
|
-
onKeyDown: composeEventHandlers(
|
|
3113
|
+
onKeyDown: composeEventHandlers(y.onKeyDown, (e3) => {
|
|
3173
3114
|
let t2 = e3.target.closest("[data-radix-menu-content]") === e3.currentTarget, n2 = e3.ctrlKey || e3.altKey || e3.metaKey, r2 = e3.key.length === 1;
|
|
3174
3115
|
t2 && (e3.key === "Tab" && e3.preventDefault(), !n2 && r2 && z(e3.key));
|
|
3175
3116
|
let i2 = k.current;
|
|
@@ -3211,18 +3152,18 @@ var LABEL_NAME$1 = "MenuLabel", MenuLabel = import_react.forwardRef((e2, t) => {
|
|
|
3211
3152
|
});
|
|
3212
3153
|
MenuLabel.displayName = LABEL_NAME$1;
|
|
3213
3154
|
var ITEM_NAME$1 = "MenuItem", ITEM_SELECT = "menu.itemSelect", MenuItem = import_react.forwardRef((e2, t) => {
|
|
3214
|
-
let { disabled: n = false, onSelect: r, ...
|
|
3215
|
-
let e3 =
|
|
3155
|
+
let { disabled: n = false, onSelect: r, ...i } = e2, a = import_react.useRef(null), s = useMenuRootContext(ITEM_NAME$1, e2.__scopeMenu), l = useMenuContentContext(ITEM_NAME$1, e2.__scopeMenu), u = useComposedRefs(t, a), d = import_react.useRef(false), f = () => {
|
|
3156
|
+
let e3 = a.current;
|
|
3216
3157
|
if (!n && e3) {
|
|
3217
3158
|
let t2 = new CustomEvent(ITEM_SELECT, {
|
|
3218
3159
|
bubbles: true,
|
|
3219
3160
|
cancelable: true
|
|
3220
3161
|
});
|
|
3221
|
-
e3.addEventListener(ITEM_SELECT, (e4) => r == null ? void 0 : r(e4), { once: true }), dispatchDiscreteCustomEvent(e3, t2), t2.defaultPrevented ? d.current = false :
|
|
3162
|
+
e3.addEventListener(ITEM_SELECT, (e4) => r == null ? void 0 : r(e4), { once: true }), dispatchDiscreteCustomEvent(e3, t2), t2.defaultPrevented ? d.current = false : s.onClose();
|
|
3222
3163
|
}
|
|
3223
3164
|
};
|
|
3224
3165
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MenuItemImpl, {
|
|
3225
|
-
...
|
|
3166
|
+
...i,
|
|
3226
3167
|
ref: u,
|
|
3227
3168
|
disabled: n,
|
|
3228
3169
|
onClick: composeEventHandlers(e2.onClick, f),
|
|
@@ -3242,31 +3183,31 @@ var ITEM_NAME$1 = "MenuItem", ITEM_SELECT = "menu.itemSelect", MenuItem = import
|
|
|
3242
3183
|
});
|
|
3243
3184
|
MenuItem.displayName = ITEM_NAME$1;
|
|
3244
3185
|
var MenuItemImpl = import_react.forwardRef((e2, t) => {
|
|
3245
|
-
let { __scopeMenu: n, disabled: r = false, textValue: i, ...a } = e2,
|
|
3186
|
+
let { __scopeMenu: n, disabled: r = false, textValue: i, ...a } = e2, s = useMenuContentContext(ITEM_NAME$1, n), c = useRovingFocusGroupScope(n), l = import_react.useRef(null), u = useComposedRefs(t, l), [d, f] = import_react.useState(false), [p, m] = import_react.useState("");
|
|
3246
3187
|
return import_react.useEffect(() => {
|
|
3247
|
-
let e3 =
|
|
3248
|
-
e3 &&
|
|
3188
|
+
let e3 = l.current;
|
|
3189
|
+
e3 && m((e3.textContent ?? "").trim());
|
|
3249
3190
|
}, [a.children]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Collection.ItemSlot, {
|
|
3250
3191
|
scope: n,
|
|
3251
3192
|
disabled: r,
|
|
3252
|
-
textValue: i ??
|
|
3193
|
+
textValue: i ?? p,
|
|
3253
3194
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Item, {
|
|
3254
3195
|
asChild: true,
|
|
3255
|
-
...
|
|
3196
|
+
...c,
|
|
3256
3197
|
focusable: !r,
|
|
3257
3198
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.div, {
|
|
3258
3199
|
role: "menuitem",
|
|
3259
|
-
"data-highlighted":
|
|
3200
|
+
"data-highlighted": d ? "" : void 0,
|
|
3260
3201
|
"aria-disabled": r || void 0,
|
|
3261
3202
|
"data-disabled": r ? "" : void 0,
|
|
3262
3203
|
...a,
|
|
3263
|
-
ref:
|
|
3204
|
+
ref: u,
|
|
3264
3205
|
onPointerMove: composeEventHandlers(e2.onPointerMove, whenMouse((e3) => {
|
|
3265
|
-
r ?
|
|
3206
|
+
r ? s.onItemLeave(e3) : (s.onItemEnter(e3), e3.defaultPrevented || e3.currentTarget.focus({ preventScroll: true }));
|
|
3266
3207
|
})),
|
|
3267
|
-
onPointerLeave: composeEventHandlers(e2.onPointerLeave, whenMouse((e3) =>
|
|
3268
|
-
onFocus: composeEventHandlers(e2.onFocus, () =>
|
|
3269
|
-
onBlur: composeEventHandlers(e2.onBlur, () =>
|
|
3208
|
+
onPointerLeave: composeEventHandlers(e2.onPointerLeave, whenMouse((e3) => s.onItemLeave(e3))),
|
|
3209
|
+
onFocus: composeEventHandlers(e2.onFocus, () => f(true)),
|
|
3210
|
+
onBlur: composeEventHandlers(e2.onBlur, () => f(false))
|
|
3270
3211
|
})
|
|
3271
3212
|
})
|
|
3272
3213
|
});
|
|
@@ -3291,13 +3232,13 @@ var RADIO_GROUP_NAME$1 = "MenuRadioGroup", [RadioGroupProvider, useRadioGroupCon
|
|
|
3291
3232
|
onValueChange: () => {
|
|
3292
3233
|
}
|
|
3293
3234
|
}), MenuRadioGroup = import_react.forwardRef((e2, t) => {
|
|
3294
|
-
let { value: n, onValueChange: r, ...
|
|
3235
|
+
let { value: n, onValueChange: r, ...a } = e2, o = useCallbackRef(r);
|
|
3295
3236
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioGroupProvider, {
|
|
3296
3237
|
scope: e2.__scopeMenu,
|
|
3297
3238
|
value: n,
|
|
3298
|
-
onValueChange:
|
|
3239
|
+
onValueChange: o,
|
|
3299
3240
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MenuGroup, {
|
|
3300
|
-
...
|
|
3241
|
+
...a,
|
|
3301
3242
|
ref: t
|
|
3302
3243
|
})
|
|
3303
3244
|
});
|
|
@@ -3354,21 +3295,21 @@ var ARROW_NAME$1 = "MenuArrow", MenuArrow = import_react.forwardRef((e2, t) => {
|
|
|
3354
3295
|
});
|
|
3355
3296
|
MenuArrow.displayName = ARROW_NAME$1;
|
|
3356
3297
|
var SUB_NAME = "MenuSub", [MenuSubProvider, useMenuSubContext] = createMenuContext(SUB_NAME), MenuSub = (e2) => {
|
|
3357
|
-
let { __scopeMenu: t, children: n, open: r = false, onOpenChange:
|
|
3358
|
-
return import_react.useEffect(() => (
|
|
3359
|
-
...
|
|
3298
|
+
let { __scopeMenu: t, children: n, open: r = false, onOpenChange: a } = e2, o = useMenuContext(SUB_NAME, t), s = usePopperScope(t), [c, u] = import_react.useState(null), [f, p] = import_react.useState(null), m = useCallbackRef(a);
|
|
3299
|
+
return import_react.useEffect(() => (o.open === false && m(false), () => m(false)), [o.open, m]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Root2$1, {
|
|
3300
|
+
...s,
|
|
3360
3301
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MenuProvider, {
|
|
3361
3302
|
scope: t,
|
|
3362
3303
|
open: r,
|
|
3363
|
-
onOpenChange:
|
|
3364
|
-
content:
|
|
3365
|
-
onContentChange:
|
|
3304
|
+
onOpenChange: m,
|
|
3305
|
+
content: f,
|
|
3306
|
+
onContentChange: p,
|
|
3366
3307
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MenuSubProvider, {
|
|
3367
3308
|
scope: t,
|
|
3368
3309
|
contentId: useId(),
|
|
3369
3310
|
triggerId: useId(),
|
|
3370
|
-
trigger:
|
|
3371
|
-
onTriggerChange:
|
|
3311
|
+
trigger: c,
|
|
3312
|
+
onTriggerChange: u,
|
|
3372
3313
|
children: n
|
|
3373
3314
|
})
|
|
3374
3315
|
})
|
|
@@ -3529,7 +3470,7 @@ function whenMouse(e2) {
|
|
|
3529
3470
|
return (t) => t.pointerType === "mouse" ? e2(t) : void 0;
|
|
3530
3471
|
}
|
|
3531
3472
|
var Root3 = Menu, Anchor2 = MenuAnchor, Portal$1 = MenuPortal, Content2$1 = MenuContent, Group = MenuGroup, Label = MenuLabel, Item2$1 = MenuItem, CheckboxItem = MenuCheckboxItem, RadioGroup = MenuRadioGroup, RadioItem = MenuRadioItem, ItemIndicator = MenuItemIndicator, Separator = MenuSeparator, Arrow2 = MenuArrow, Sub = MenuSub, SubTrigger = MenuSubTrigger, SubContent = MenuSubContent, DROPDOWN_MENU_NAME = "DropdownMenu", [createDropdownMenuContext, createDropdownMenuScope] = createContextScope(DROPDOWN_MENU_NAME, [createMenuScope]), useMenuScope = createMenuScope(), [DropdownMenuProvider, useDropdownMenuContext] = createDropdownMenuContext(DROPDOWN_MENU_NAME), DropdownMenu$1 = (e2) => {
|
|
3532
|
-
let { __scopeDropdownMenu: t, children: n, dir: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = true } = e2, c = useMenuScope(t), l = import_react.useRef(null), [u,
|
|
3473
|
+
let { __scopeDropdownMenu: t, children: n, dir: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = true } = e2, c = useMenuScope(t), l = import_react.useRef(null), [u, f] = useControllableState({
|
|
3533
3474
|
prop: i,
|
|
3534
3475
|
defaultProp: a ?? false,
|
|
3535
3476
|
onChange: o,
|
|
@@ -3541,13 +3482,13 @@ var Root3 = Menu, Anchor2 = MenuAnchor, Portal$1 = MenuPortal, Content2$1 = Menu
|
|
|
3541
3482
|
triggerRef: l,
|
|
3542
3483
|
contentId: useId(),
|
|
3543
3484
|
open: u,
|
|
3544
|
-
onOpenChange:
|
|
3545
|
-
onOpenToggle: import_react.useCallback(() =>
|
|
3485
|
+
onOpenChange: f,
|
|
3486
|
+
onOpenToggle: import_react.useCallback(() => f((e3) => !e3), [f]),
|
|
3546
3487
|
modal: s,
|
|
3547
3488
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Root3, {
|
|
3548
3489
|
...c,
|
|
3549
3490
|
open: u,
|
|
3550
|
-
onOpenChange:
|
|
3491
|
+
onOpenChange: f,
|
|
3551
3492
|
dir: r,
|
|
3552
3493
|
modal: s,
|
|
3553
3494
|
children: n
|
|
@@ -3556,10 +3497,10 @@ var Root3 = Menu, Anchor2 = MenuAnchor, Portal$1 = MenuPortal, Content2$1 = Menu
|
|
|
3556
3497
|
};
|
|
3557
3498
|
DropdownMenu$1.displayName = DROPDOWN_MENU_NAME;
|
|
3558
3499
|
var TRIGGER_NAME = "DropdownMenuTrigger", DropdownMenuTrigger$1 = import_react.forwardRef((e2, t) => {
|
|
3559
|
-
let { __scopeDropdownMenu: n, disabled: r = false, ...i } = e2, a = useDropdownMenuContext(TRIGGER_NAME, n),
|
|
3500
|
+
let { __scopeDropdownMenu: n, disabled: r = false, ...i } = e2, a = useDropdownMenuContext(TRIGGER_NAME, n), s = useMenuScope(n);
|
|
3560
3501
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Anchor2, {
|
|
3561
3502
|
asChild: true,
|
|
3562
|
-
...
|
|
3503
|
+
...s,
|
|
3563
3504
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.button, {
|
|
3564
3505
|
type: "button",
|
|
3565
3506
|
id: a.triggerId,
|
|
@@ -3740,7 +3681,7 @@ var SUB_CONTENT_NAME = "DropdownMenuSubContent", DropdownMenuSubContent$1 = impo
|
|
|
3740
3681
|
});
|
|
3741
3682
|
});
|
|
3742
3683
|
DropdownMenuSubContent$1.displayName = SUB_CONTENT_NAME;
|
|
3743
|
-
var Root2 = DropdownMenu$1, Trigger = DropdownMenuTrigger$1, Portal2 = DropdownMenuPortal$1, Content2 = DropdownMenuContent$1, Group2 = DropdownMenuGroup$1, Label2 = DropdownMenuLabel$1, Item2 = DropdownMenuItem$1, CheckboxItem2 = DropdownMenuCheckboxItem$1, RadioItem2 = DropdownMenuRadioItem$1, ItemIndicator2 = DropdownMenuItemIndicator, Separator2 = DropdownMenuSeparator$1, Sub2 = DropdownMenuSub$1, SubTrigger2 = DropdownMenuSubTrigger$1, SubContent2 = DropdownMenuSubContent$1, import_compiler_runtime$4 = /* @__PURE__ */ __toESM(require_compiler_runtime()), DropdownMenu = Root2, DropdownMenuTrigger = Trigger, DropdownMenuGroup = Group2, DropdownMenuPortal = withFullScreenAsRoot(Portal2), DropdownMenuSub = Sub2, DropdownMenuSubTrigger = import_react.forwardRef((e2, t) => {
|
|
3684
|
+
var Root2 = DropdownMenu$1, Trigger = DropdownMenuTrigger$1, Portal2 = DropdownMenuPortal$1, Content2 = DropdownMenuContent$1, Group2 = DropdownMenuGroup$1, Label2 = DropdownMenuLabel$1, Item2 = DropdownMenuItem$1, CheckboxItem2 = DropdownMenuCheckboxItem$1, RadioItem2 = DropdownMenuRadioItem$1, ItemIndicator2 = DropdownMenuItemIndicator, Separator2 = DropdownMenuSeparator$1, Sub2 = DropdownMenuSub$1, SubTrigger2 = DropdownMenuSubTrigger$1, SubContent2 = DropdownMenuSubContent$1, import_compiler_runtime$4 = /* @__PURE__ */ __toESM(require_compiler_runtime(), 1), DropdownMenu = Root2, DropdownMenuTrigger = Trigger, DropdownMenuGroup = Group2, DropdownMenuPortal = withFullScreenAsRoot(Portal2), InternalDropdownMenuContent = withSmartCollisionBoundary(Content2), InternalDropdownMenuSubContent = withSmartCollisionBoundary(SubContent2), DropdownMenuSub = Sub2, DropdownMenuSubTrigger = import_react.forwardRef((e2, t) => {
|
|
3744
3685
|
let n = (0, import_compiler_runtime$4.c)(17), r, i, a, o, s;
|
|
3745
3686
|
n[0] === e2 ? (r = n[1], i = n[2], a = n[3], o = n[4], s = n[5]) : ({ className: i, inset: a, showChevron: s, children: r, ...o } = e2, n[0] = e2, n[1] = r, n[2] = i, n[3] = a, n[4] = o, n[5] = s);
|
|
3746
3687
|
let c = s === void 0 ? true : s, l;
|
|
@@ -3765,7 +3706,7 @@ var DropdownMenuSubContent = import_react.forwardRef((e2, t) => {
|
|
|
3765
3706
|
let a;
|
|
3766
3707
|
n[3] === r ? a = n[4] : (a = cn(menuContentCommon({ subcontent: true }), "animate-in data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1", r), n[3] = r, n[4] = a);
|
|
3767
3708
|
let o;
|
|
3768
|
-
return n[5] !== i || n[6] !== t || n[7] !== a ? (o = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
3709
|
+
return n[5] !== i || n[6] !== t || n[7] !== a ? (o = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InternalDropdownMenuSubContent, {
|
|
3769
3710
|
ref: t,
|
|
3770
3711
|
className: a,
|
|
3771
3712
|
...i
|
|
@@ -3777,19 +3718,19 @@ var DropdownMenuContent = import_react.forwardRef((e2, t) => {
|
|
|
3777
3718
|
n[0] === e2 ? (r = n[1], i = n[2], a = n[3], o = n[4]) : ({ className: r, scrollable: a, sideOffset: o, ...i } = e2, n[0] = e2, n[1] = r, n[2] = i, n[3] = a, n[4] = o);
|
|
3778
3719
|
let s = a === void 0 ? true : a, c = o === void 0 ? 4 : o, l;
|
|
3779
3720
|
n[5] !== r || n[6] !== s ? (l = cn(menuContentCommon(), "animate-in 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", s && "overflow-auto", r), n[5] = r, n[6] = s, n[7] = l) : l = n[7];
|
|
3780
|
-
let
|
|
3781
|
-
n[8] !== i.style || n[9] !==
|
|
3721
|
+
let d = s ? `calc(var(--radix-dropdown-menu-content-available-height) - ${MAX_HEIGHT_OFFSET}px)` : void 0, p;
|
|
3722
|
+
n[8] !== i.style || n[9] !== d ? (p = {
|
|
3782
3723
|
...i.style,
|
|
3783
|
-
maxHeight:
|
|
3784
|
-
}, n[8] = i.style, n[9] =
|
|
3785
|
-
let
|
|
3786
|
-
return n[11] !== i || n[12] !== t || n[13] !== c || n[14] !== l || n[15] !==
|
|
3724
|
+
maxHeight: d
|
|
3725
|
+
}, n[8] = i.style, n[9] = d, n[10] = p) : p = n[10];
|
|
3726
|
+
let m;
|
|
3727
|
+
return n[11] !== i || n[12] !== t || n[13] !== c || n[14] !== l || n[15] !== p ? (m = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StyleNamespace, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InternalDropdownMenuContent, {
|
|
3787
3728
|
ref: t,
|
|
3788
3729
|
sideOffset: c,
|
|
3789
3730
|
className: l,
|
|
3790
|
-
style:
|
|
3731
|
+
style: p,
|
|
3791
3732
|
...i
|
|
3792
|
-
}) }) }), n[11] = i, n[12] = t, n[13] = c, n[14] = l, n[15] =
|
|
3733
|
+
}) }) }), n[11] = i, n[12] = t, n[13] = c, n[14] = l, n[15] = p, n[16] = m) : m = n[16], m;
|
|
3793
3734
|
});
|
|
3794
3735
|
DropdownMenuContent.displayName = Content2.displayName;
|
|
3795
3736
|
var DropdownMenuItem = import_react.forwardRef((e2, t) => {
|
|
@@ -3881,7 +3822,7 @@ var DropdownMenuSeparator = import_react.forwardRef((e2, t) => {
|
|
|
3881
3822
|
}), n[5] = i, n[6] = t, n[7] = a, n[8] = o) : o = n[8], o;
|
|
3882
3823
|
});
|
|
3883
3824
|
DropdownMenuSeparator.displayName = Separator2.displayName;
|
|
3884
|
-
var import_compiler_runtime$3 = /* @__PURE__ */ __toESM(require_compiler_runtime());
|
|
3825
|
+
var import_compiler_runtime$3 = /* @__PURE__ */ __toESM(require_compiler_runtime(), 1);
|
|
3885
3826
|
function useDebounce(e2, t) {
|
|
3886
3827
|
let n = (0, import_compiler_runtime$3.c)(4), [r, i] = (0, import_react.useState)(e2), a, o;
|
|
3887
3828
|
return n[0] !== t || n[1] !== e2 ? (a = () => {
|
|
@@ -3999,7 +3940,7 @@ function prettyEngineeringNumber(e2, t) {
|
|
|
3999
3940
|
}).format(e2).split("E");
|
|
4000
3941
|
return i in prefixes ? r + prefixes[i] : `${r}E${i}`;
|
|
4001
3942
|
}
|
|
4002
|
-
var import_compiler_runtime$2 = /* @__PURE__ */ __toESM(require_compiler_runtime());
|
|
3943
|
+
var import_compiler_runtime$2 = /* @__PURE__ */ __toESM(require_compiler_runtime(), 1);
|
|
4003
3944
|
const NumberField = import_react.forwardRef((e2, t) => {
|
|
4004
3945
|
let n = (0, import_compiler_runtime$2.c)(40), { placeholder: r, variant: i, ...a } = e2, o = i === void 0 ? "default" : i, { locale: s } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), c = $b91743d66a0ed188$export$63c5fa0b2fdccd2e, l;
|
|
4005
3946
|
n[0] === s ? l = n[1] : (l = maxFractionalDigits(s), n[0] = s, n[1] = l);
|
|
@@ -4062,12 +4003,12 @@ const NumberField = import_react.forwardRef((e2, t) => {
|
|
|
4062
4003
|
className: d,
|
|
4063
4004
|
children: [h, D]
|
|
4064
4005
|
}), n[31] = D, n[32] = d, n[33] = h, n[34] = O) : O = n[34];
|
|
4065
|
-
let
|
|
4066
|
-
return n[35] !== c || n[36] !== a || n[37] !== O || n[38] !== u ? (
|
|
4006
|
+
let k;
|
|
4007
|
+
return n[35] !== c || n[36] !== a || n[37] !== O || n[38] !== u ? (k = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(c, {
|
|
4067
4008
|
...a,
|
|
4068
4009
|
formatOptions: u,
|
|
4069
4010
|
children: O
|
|
4070
|
-
}), n[35] = c, n[36] = a, n[37] = O, n[38] = u, n[39] =
|
|
4011
|
+
}), n[35] = c, n[36] = a, n[37] = O, n[38] = u, n[39] = k) : k = n[39], k;
|
|
4071
4012
|
});
|
|
4072
4013
|
NumberField.displayName = "NumberField";
|
|
4073
4014
|
var StepperButton = (e2) => {
|
|
@@ -4082,7 +4023,7 @@ var StepperButton = (e2) => {
|
|
|
4082
4023
|
function _temp(e2) {
|
|
4083
4024
|
(e2.key === "ArrowUp" || e2.key === "ArrowDown") && e2.stopPropagation();
|
|
4084
4025
|
}
|
|
4085
|
-
var import_compiler_runtime$1 = /* @__PURE__ */ __toESM(require_compiler_runtime()), Input = import_react.forwardRef((e2, t) => {
|
|
4026
|
+
var import_compiler_runtime$1 = /* @__PURE__ */ __toESM(require_compiler_runtime(), 1), Input = import_react.forwardRef((e2, t) => {
|
|
4086
4027
|
let n = (0, import_compiler_runtime$1.c)(28), r, i, a, o, s, c, l;
|
|
4087
4028
|
if (n[0] !== t || n[1] !== e2) {
|
|
4088
4029
|
c = Symbol.for("react.early_return_sentinel");
|
|
@@ -4216,22 +4157,22 @@ const OnBlurredInput = import_react.forwardRef((e2, t) => {
|
|
|
4216
4157
|
n[8] === l ? (d = n[9], f = n[10]) : (d = () => {
|
|
4217
4158
|
s(l || "");
|
|
4218
4159
|
}, f = [l], n[8] = l, n[9] = d, n[10] = f), import_react.useEffect(d, f);
|
|
4219
|
-
let
|
|
4220
|
-
n[11] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
4221
|
-
let
|
|
4222
|
-
n[12] !== o || n[13] !== u ? (
|
|
4160
|
+
let m;
|
|
4161
|
+
n[11] === Symbol.for("react.memo_cache_sentinel") ? (m = (e3) => s(e3.target.value), n[11] = m) : m = n[11];
|
|
4162
|
+
let h, g;
|
|
4163
|
+
n[12] !== o || n[13] !== u ? (h = () => u(o || ""), g = (e3) => {
|
|
4223
4164
|
e3.key === "Enter" && u(o || "");
|
|
4224
|
-
}, n[12] = o, n[13] = u, n[14] =
|
|
4165
|
+
}, n[12] = o, n[13] = u, n[14] = h, n[15] = g) : (h = n[14], g = n[15]);
|
|
4225
4166
|
let _;
|
|
4226
|
-
return n[16] !== r || n[17] !== o || n[18] !== a || n[19] !== t || n[20] !==
|
|
4167
|
+
return n[16] !== r || n[17] !== o || n[18] !== a || n[19] !== t || n[20] !== h || n[21] !== g ? (_ = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Input, {
|
|
4227
4168
|
ref: t,
|
|
4228
4169
|
className: r,
|
|
4229
4170
|
...a,
|
|
4230
4171
|
value: o,
|
|
4231
|
-
onChange:
|
|
4232
|
-
onBlur:
|
|
4233
|
-
onKeyDown:
|
|
4234
|
-
}), n[16] = r, n[17] = o, n[18] = a, n[19] = t, n[20] =
|
|
4172
|
+
onChange: m,
|
|
4173
|
+
onBlur: h,
|
|
4174
|
+
onKeyDown: g
|
|
4175
|
+
}), n[16] = r, n[17] = o, n[18] = a, n[19] = t, n[20] = h, n[21] = g, n[22] = _) : _ = n[22], _;
|
|
4235
4176
|
});
|
|
4236
4177
|
OnBlurredInput.displayName = "OnBlurredInput";
|
|
4237
4178
|
var ErrorBoundaryContext = (0, import_react.createContext)(null), initialState = {
|
|
@@ -4295,7 +4236,7 @@ function hasArrayChanged() {
|
|
|
4295
4236
|
let e2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
4296
4237
|
return e2.length !== t.length || e2.some((e3, n) => !Object.is(e3, t[n]));
|
|
4297
4238
|
}
|
|
4298
|
-
var import_compiler_runtime = /* @__PURE__ */ __toESM(require_compiler_runtime());
|
|
4239
|
+
var import_compiler_runtime = /* @__PURE__ */ __toESM(require_compiler_runtime(), 1);
|
|
4299
4240
|
const ErrorBoundary$1 = (e2) => {
|
|
4300
4241
|
let t = (0, import_compiler_runtime.c)(2), n;
|
|
4301
4242
|
return t[0] === e2.children ? n = t[1] : (n = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ErrorBoundary, {
|
|
@@ -4352,7 +4293,7 @@ const BulkEdit = {
|
|
|
4352
4293
|
};
|
|
4353
4294
|
export {
|
|
4354
4295
|
$3ad3f6e1647bc98d$export$80f3e147d781571c as $,
|
|
4355
|
-
|
|
4296
|
+
Circle as $t,
|
|
4356
4297
|
$a049562f99e7db0e$export$f9c6924e160136d1 as A,
|
|
4357
4298
|
$c87311424ea30a05$export$fedb369cb70207f1 as At,
|
|
4358
4299
|
$d2e8511e6f209edf$export$e908e06f4b8e3402 as B,
|
|
@@ -4372,7 +4313,7 @@ export {
|
|
|
4372
4313
|
$d2b4bc8c273e7be6$export$24d547caef80ccd1 as I,
|
|
4373
4314
|
$d4ee10de306f2510$export$e58f029f0fbfdb29 as It,
|
|
4374
4315
|
$e5be200c675c3b3a$export$fc1a364ae1f3ff10 as J,
|
|
4375
|
-
|
|
4316
|
+
capitalize_default as Jt,
|
|
4376
4317
|
$e5be200c675c3b3a$export$aca958c65c314e6c as K,
|
|
4377
4318
|
assertNever as Kt,
|
|
4378
4319
|
$d2b4bc8c273e7be6$export$353f5b6fc5456de1 as L,
|
|
@@ -4386,7 +4327,7 @@ export {
|
|
|
4386
4327
|
$514c0188e459b4c0$export$5f1af8db9871e1d6 as P,
|
|
4387
4328
|
$d4ee10de306f2510$export$4282f70798064fe0 as Pt,
|
|
4388
4329
|
$9ab94262bd0047c7$export$420e68273165f4ec as Q,
|
|
4389
|
-
|
|
4330
|
+
Pencil as Qt,
|
|
4390
4331
|
$01b77f81d0f07f68$export$75b6ee27786ba447 as R,
|
|
4391
4332
|
$431fbd86ca7dc216$export$b204af158042fbac as Rt,
|
|
4392
4333
|
DropdownMenuSubTrigger as S,
|
|
@@ -4400,24 +4341,22 @@ export {
|
|
|
4400
4341
|
$e5be200c675c3b3a$export$75ee7c75d68f5b0e as W,
|
|
4401
4342
|
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as Wt,
|
|
4402
4343
|
$f7dceffc5ad7768b$export$4e328f61c538687f as X,
|
|
4403
|
-
|
|
4344
|
+
Search as Xt,
|
|
4404
4345
|
$2baaea4c71418dea$export$294aa081a6c6f55d as Y,
|
|
4405
|
-
|
|
4346
|
+
Trash as Yt,
|
|
4406
4347
|
$6179b936705e76d3$export$ae780daf29e6d456 as Z,
|
|
4407
|
-
|
|
4348
|
+
Plus as Zt,
|
|
4408
4349
|
DropdownMenuLabel as _,
|
|
4409
4350
|
$64fa3d84918910a7$export$fabf2dc03a41866e as _t,
|
|
4410
4351
|
Input as a,
|
|
4411
|
-
Trash as an,
|
|
4412
4352
|
$fca6afa0e843324b$export$87b761675e8eaa10 as at,
|
|
4413
4353
|
DropdownMenuSub as b,
|
|
4414
4354
|
$b4b717babfbb907b$export$4c063cf1350e6fed as bt,
|
|
4415
4355
|
prettyEngineeringNumber as c,
|
|
4416
|
-
Pencil as cn,
|
|
4417
4356
|
$5b160d28a433310d$export$c17fa47878dc55b6 as ct,
|
|
4418
4357
|
useDebounceControlledState as d,
|
|
4419
4358
|
$64fa3d84918910a7$export$29f1550f4b0d4415 as dt,
|
|
4420
|
-
|
|
4359
|
+
ChevronRight as en,
|
|
4421
4360
|
$507fabe10e71c6fb$export$630ff653c5ada6a9 as et,
|
|
4422
4361
|
useDebouncedCallback as f,
|
|
4423
4362
|
$64fa3d84918910a7$export$4d86445c2cf5e3 as ft,
|
|
@@ -4426,38 +4365,30 @@ export {
|
|
|
4426
4365
|
DropdownMenuGroup as h,
|
|
4427
4366
|
$64fa3d84918910a7$export$c62b8e45d58ddad9 as ht,
|
|
4428
4367
|
DebouncedNumberInput as i,
|
|
4429
|
-
capitalize_default as in,
|
|
4430
4368
|
_class_private_field_init as it,
|
|
4431
4369
|
$d3e0e05bdfcf66bd$export$c24727297075ec6a as j,
|
|
4432
4370
|
$7215afc6de606d6b$export$de79e2c695e052f3 as jt,
|
|
4433
4371
|
$a049562f99e7db0e$export$eb2fcfdbd7ba97d4 as k,
|
|
4434
4372
|
$c87311424ea30a05$export$a11b0059900ceec8 as kt,
|
|
4435
4373
|
prettyNumber as l,
|
|
4436
|
-
Circle as ln,
|
|
4437
4374
|
$319e236875307eab$export$a9b970dcc4ae71a9 as lt,
|
|
4438
4375
|
DropdownMenuContent as m,
|
|
4439
4376
|
$64fa3d84918910a7$export$c245e6201fed2f75 as mt,
|
|
4440
4377
|
ErrorBoundary$1 as n,
|
|
4441
|
-
uniqueBy as nn,
|
|
4442
4378
|
$ae1eeba8b9eafd08$export$5165eccb35aaadb5 as nt,
|
|
4443
4379
|
OnBlurredInput as o,
|
|
4444
|
-
Search as on,
|
|
4445
4380
|
$fca6afa0e843324b$export$f12b703ca79dfbb1 as ot,
|
|
4446
4381
|
DropdownMenu as p,
|
|
4447
4382
|
$64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as pt,
|
|
4448
4383
|
$e5be200c675c3b3a$export$dad6ae84456c676a as q,
|
|
4449
4384
|
logNever as qt,
|
|
4450
4385
|
DebouncedInput as r,
|
|
4451
|
-
clamp as rn,
|
|
4452
4386
|
$6c7bd7858deea686$export$cd11ab140839f11d as rt,
|
|
4453
4387
|
NumberField as s,
|
|
4454
|
-
Plus as sn,
|
|
4455
4388
|
$6db58dc88e78b024$export$2f817fcdc4b89ae0 as st,
|
|
4456
4389
|
BulkEdit as t,
|
|
4457
|
-
arrayShallowEquals as tn,
|
|
4458
4390
|
$f6c31cce2adf654f$export$45712eceda6fad21 as tt,
|
|
4459
4391
|
prettyScientificNumber as u,
|
|
4460
|
-
ChevronRight as un,
|
|
4461
4392
|
$64fa3d84918910a7$export$2881499e37b75b9a as ut,
|
|
4462
4393
|
DropdownMenuPortal as v,
|
|
4463
4394
|
$9446cca9a3875146$export$7d15b64cf5a3a4c4 as vt,
|