@marimo-team/islands 0.20.2 → 0.20.3-dev77
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-BMiGWK57.js → ConnectedDataExplorerComponent-DUS-zJoR.js} +12 -12
- package/dist/{_baseIsEqual-DN5YkPnl.js → _baseIsEqual-5cAxzk6f.js} +42 -41
- package/dist/_basePickBy-3JVb5wYm.js +47 -0
- package/dist/{_baseProperty-6juuyX7Z.js → _baseProperty-D1nWkRMz.js} +12 -12
- package/dist/_baseSlice-BrVixxuc.js +10 -0
- package/dist/{_baseUniq-BlF21ach.js → _baseUniq-DSSiFuIJ.js} +10 -6
- package/dist/{any-language-editor-1OMbohwD.js → any-language-editor-BL9o7y0_.js} +31 -30
- package/dist/apl-lHFVoxx7.js +4 -0
- package/dist/{arc-9nABupDE.js → arc-DXxE-tFl.js} +2 -2
- package/dist/architecture-7HQA4BMR-BxkNpYRp.js +6 -0
- package/dist/{architectureDiagram-VXUJARFQ-DhN0C3Xf.js → architectureDiagram-VXUJARFQ-DrJeyFHq.js} +19 -19
- package/dist/asciiarmor-DqCdZUHI.js +4 -0
- package/dist/asn1-DEcwtw-q.js +4 -0
- package/dist/{blockDiagram-VD42YOAC-DrBkIcbV.js → blockDiagram-VD42YOAC-BJrP6qKc.js} +53 -53
- package/dist/brainfuck-Bro9Oz5x.js +4 -0
- package/dist/{c4Diagram-YG6GDRKO-pWt4zmu0.js → c4Diagram-YG6GDRKO-Bo4gytQ5.js} +6 -6
- package/dist/{channel-C56Jz8EL.js → channel-IWLGkaBE.js} +1 -1
- package/dist/{chunk-4BX2VUAB-WmXmzRBr.js → chunk-4BX2VUAB-CwMMQLZ_.js} +1 -1
- package/dist/{chunk-S6J4BHB3-zfWjyfUg.js → chunk-4F5CHEZ2-CxKDFd-t.js} +2 -2
- package/dist/{chunk-55IACEB6-irYMvHJu.js → chunk-55IACEB6-Dj8CzJvE.js} +1 -1
- package/dist/{chunk-5FQGJX7Z-pOElJy8t.js → chunk-5FQGJX7Z-BkzUmppO.js} +2 -2
- package/dist/{chunk-ABZYJK2D-BwNsaa1P.js → chunk-ABZYJK2D-CRwanrkd.js} +3 -3
- package/dist/{chunk-ATLVNIR6-DtFMAawc.js → chunk-ATLVNIR6-CMMCMvOK.js} +2 -2
- package/dist/{chunk-FWNWRKHM-DmrwhAQr.js → chunk-B2363JML-e_W7KW1D.js} +2 -2
- package/dist/{chunk-B4BG7PRW-lfWcLlzS.js → chunk-B4BG7PRW-BNsHrGHG.js} +7 -7
- package/dist/{chunk-CVBHYZKI-Bb2XMuXJ.js → chunk-CVBHYZKI-D8iwHsLF.js} +1 -1
- package/dist/{chunk-DI55MBZ5-RhhAimfG.js → chunk-DI55MBZ5-DQeYbfMV.js} +6 -6
- package/dist/{chunk-XAJISQIX-CZ8Bi1-x.js → chunk-DR5Q36YT-D4q96vNV.js} +2 -2
- package/dist/{chunk-EXTU4WIE-Bmo660a9.js → chunk-EXTU4WIE-CV_DQeaX.js} +2 -2
- package/dist/{chunk-FMBD7UC4-C0DZU_4q.js → chunk-FMBD7UC4-XTL4xAvH.js} +1 -1
- package/dist/{chunk-LBM3YZW2-BkxsqkNK.js → chunk-FRFDVMJY-C7q09nvl.js} +2 -2
- package/dist/{chunk-HN2XXSSU-BsB4dtgF.js → chunk-HN2XXSSU-CzO5Phf0.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-n8UTzfok.js → chunk-JA3XYJ7Z-Cmt--e0q.js} +3 -3
- package/dist/{chunk-JZLCHNYA-ChKqHUdB.js → chunk-JZLCHNYA-CkyMJnI9.js} +6 -6
- package/dist/{chunk-MI3HLSF2-DeDZS-tQ.js → chunk-MI3HLSF2-DvCKDmpi.js} +1 -1
- package/dist/{chunk-N4CR4FBY-BxOHGL3P.js → chunk-N4CR4FBY-BJfHtJbD.js} +7 -7
- package/dist/{chunk-T53DSG4Q-Bewz1tiU.js → chunk-PL6DKKU2-ChKBqnoD.js} +2 -2
- package/dist/{chunk-QN33PNHL-Dda-55xY.js → chunk-QN33PNHL-WOLIPUAJ.js} +2 -2
- package/dist/{chunk-QXUST7PY-ClIEpoCT.js → chunk-QXUST7PY-DYuD50pU.js} +10 -10
- package/dist/{chunk-QZHKN3VN-Diy_Cdek.js → chunk-QZHKN3VN-CYbwZKgJ.js} +1 -1
- package/dist/{chunk-S3R3BYOJ-C_1SJcWo.js → chunk-S3R3BYOJ-CsnX6RKs.js} +8 -8
- package/dist/{chunk-76Q3JFCE-CQ6a2yGJ.js → chunk-SJTYNZTY-j6_1s5om.js} +2 -2
- package/dist/{chunk-FPAJGGOC-quWdfNUB.js → chunk-TCCFYFTB-DdLCbCTn.js} +3995 -3985
- package/dist/{chunk-LHMN2FUI-CgYPnxfN.js → chunk-TQ3KTPDO-CGsUIC73.js} +2 -2
- package/dist/{chunk-TZMSLE5B-XW3duOft.js → chunk-TZMSLE5B-B3eYTGCw.js} +3 -3
- package/dist/{chunk-O7ZBX7Z2-CdpLwOP0.js → chunk-UMXZTB3W--LdAK3Bv.js} +2 -2
- package/dist/classDiagram-2ON5EDUG-C7C-oefv.js +30 -0
- package/dist/classDiagram-v2-WZHVMYZB-UTw37Gg8.js +30 -0
- package/dist/{clike-B90WKs4D.js → clike-CLJYUAWw.js} +1 -1
- package/dist/clojure-B2uhdQPa.js +4 -0
- package/dist/{clone-V9hndNcj.js → clone-BJrS4PdE.js} +1 -1
- package/dist/cmake-B9WXyQcc.js +4 -0
- package/dist/cobol-CPD3EJfO.js +4 -0
- package/dist/{code-block-37QAKDTI-zh5AeoJo.js → code-block-37QAKDTI-DV_ZyoUh.js} +1 -1
- package/dist/coffeescript-KD9TnEnS.js +4 -0
- package/dist/commonlisp-DNEULz_Q.js +4 -0
- package/dist/{constants-BGRTDzdW.js → constants-D1Tbg_6B.js} +3 -2
- package/dist/{cose-bilkent-S5V4N54A-BK1nIR2J.js → cose-bilkent-S5V4N54A-BCDTZDay.js} +2 -2
- package/dist/crystal-DVPNgAPQ.js +4 -0
- package/dist/css-fq3a1AH1.js +4 -0
- package/dist/cypher-Dtzq0BP7.js +4 -0
- package/dist/d-DcZudIhJ.js +4 -0
- package/dist/{dagre-6UL2VRFP-BArPH353.js → dagre-6UL2VRFP-BgsUhJrV.js} +88 -87
- package/dist/{dagre-Dcgyn_Uy.js → dagre-CyZCGfV_.js} +41 -84
- package/dist/{data-grid-overlay-editor-BVFT970w.js → data-grid-overlay-editor-BD0BFHzy.js} +2 -2
- package/dist/{diagram-PSM6KHXK-B1xAkr9y.js → diagram-PSM6KHXK-BIUUOfKo.js} +22 -22
- package/dist/{diagram-QEK2KX5R-CaoqwzPb.js → diagram-QEK2KX5R-BFjolZQv.js} +17 -17
- package/dist/{diagram-S2PKOQOG-NXCsFLvR.js → diagram-S2PKOQOG-4jfkWoZw.js} +17 -17
- package/dist/diff-D9BPDC3o.js +4 -0
- package/dist/{dist-IlWGXVjO.js → dist-7ZF--V_D.js} +2 -2
- package/dist/dist-BAeGo2rp.js +5 -0
- package/dist/{dist-Ey9hP8-j.js → dist-BBcqvpvP.js} +1 -1
- package/dist/{dist-DpAbrLuF.js → dist-BFL9TlzD.js} +5 -5
- package/dist/{dist-CD7uLx0M.js → dist-BLThQiU4.js} +2 -2
- package/dist/{dist-CoZ8kKKW.js → dist-BT6_J2eq.js} +1 -1
- package/dist/{dist-C_9IMrtt.js → dist-BTQbjEKU.js} +1 -1
- package/dist/dist-BqwCMSEa.js +5 -0
- package/dist/{dist-CUOuFgHt.js → dist-BuapEdlD.js} +113 -58
- package/dist/dist-Bum8FwTO.js +6 -0
- package/dist/{dist-LNp8svLl.js → dist-BwQHkjA9.js} +4 -4
- package/dist/dist-C0YiOwt_.js +5 -0
- package/dist/dist-C2uPv4iU.js +5 -0
- package/dist/{dist-Dmr_nXF6.js → dist-C4XMUaob.js} +2 -2
- package/dist/dist-C5hOLsJN.js +8 -0
- package/dist/{dist-a6Obzr07.js → dist-C6z8U-ms.js} +2 -2
- package/dist/dist-C9NIAKMs.js +8 -0
- package/dist/{dist-EZFqUJhh.js → dist-CB6qhQ8K.js} +1 -1
- package/dist/dist-CCrzTtvk.js +5 -0
- package/dist/dist-CFS9i1rS.js +8 -0
- package/dist/{dist-CMOy93xY.js → dist-CFToYDWO.js} +2 -2
- package/dist/{dist-DF_77D2B.js → dist-COpDrwi-.js} +1 -1
- package/dist/{dist-D8EhXZ4S.js → dist-CYo3w-nC.js} +3 -3
- package/dist/{dist-Dv2Phbh5.js → dist-Cb3cLT39.js} +2 -2
- package/dist/{dist-DOLQQtWK.js → dist-Ch_JuCvc.js} +3 -3
- package/dist/{dist-Cb3iqED3.js → dist-Cqpjy6bK.js} +1 -1
- package/dist/{dist-BswsDM4k.js → dist-CsqiXw7J.js} +2 -2
- package/dist/{dist-BoagoQQw.js → dist-CwtEWuFb.js} +2 -2
- package/dist/dist-CyHZuhPH.js +5 -0
- package/dist/dist-CzcjWdIk.js +6 -0
- package/dist/{dist-BUEi7EKT.js → dist-D0f6Yrrb.js} +1 -1
- package/dist/{dist-C5QB1NtD.js → dist-D7ZGWV_9.js} +3 -3
- package/dist/{dist-CrAYcS_4.js → dist-DEFZ7dnD.js} +2 -2
- package/dist/{dist-DrC0QKFK.js → dist-DMS81OrU.js} +1 -1
- package/dist/{dist-iyBCcLRa.js → dist-DUxS2paD.js} +2 -2
- package/dist/dist-DaYyUSNC.js +5 -0
- package/dist/{dist-W6TdeACj.js → dist-De9X_Des.js} +1 -1
- package/dist/dist-DpDcJYNh.js +8 -0
- package/dist/{dist-bz6WguLy.js → dist-I8MQW60_.js} +2 -2
- package/dist/{dist-BGzkWRSl.js → dist-IW_ARJ3S.js} +4 -4
- package/dist/{dist-xCB683Dh.js → dist-Qjf6pcqK.js} +2 -2
- package/dist/{dist-B_i29Q6L.js → dist-UYm1IE5s.js} +2 -2
- package/dist/dist-U_BfxcPn.js +5 -0
- package/dist/{dist-iDeoXzdN.js → dist-ovDpXuSB.js} +1 -1
- package/dist/{dockerfile-D1Q_4uCN.js → dockerfile-BxhYdLHL.js} +1 -1
- package/dist/dtd-FhG-tVom.js +4 -0
- package/dist/dylan-HWpZOBPw.js +4 -0
- package/dist/ecl-B_rcje1I.js +4 -0
- package/dist/eiffel-oqHyHs6f.js +4 -0
- package/dist/elm-B62RQEds.js +4 -0
- package/dist/{erDiagram-Q2GNP2WA-DWCa11g5.js → erDiagram-Q2GNP2WA-Cq5Bz5lG.js} +15 -15
- package/dist/erlang-CjRjjA-B.js +4 -0
- package/dist/{esm-DZSk8vt3.js → esm-BxMbHo0y.js} +107 -107
- package/dist/factor-CGH_TnIV.js +4 -0
- package/dist/{factor--4HHM8Rw.js → factor-Png_OsVt.js} +1 -1
- package/dist/{flowDiagram-NV44I4VS-BQ5PQs4L.js → flowDiagram-NV44I4VS-6WPJVFl7.js} +17 -17
- package/dist/forth-5N06oHNp.js +4 -0
- package/dist/fortran-wZ-sNg3h.js +4 -0
- package/dist/{ganttDiagram-JELNMOA3-NTOuNWeT.js → ganttDiagram-JELNMOA3-AfDhh9CI.js} +10 -10
- package/dist/gas-3H4_FaS8.js +4 -0
- package/dist/gherkin-PEA2uy50.js +4 -0
- package/dist/{gitGraph-F6HP7TQM-DfRNsaDw.js → gitGraph-G5XIXVHT-C0o6gecv.js} +3 -3
- package/dist/{gitGraphDiagram-NY62KEGX-CYke62Ot.js → gitGraphDiagram-V2S2FVAM-BRSwuj0Q.js} +17 -17
- package/dist/{glide-data-editor-DttqGjrT.js → glide-data-editor-ByPNTNVG.js} +7 -7
- package/dist/graphlib-DZnBMcsX.js +228 -0
- package/dist/groovy-DZzbvCP1.js +4 -0
- package/dist/haskell-CExLTzho.js +4 -0
- package/dist/haxe-f3pVb8qU.js +5 -0
- package/dist/idl-BbWlJ0gk.js +4 -0
- package/dist/{info-NVLQJR56-CUaoPtis.js → info-VBDWY6EO-Bzsods6X.js} +3 -3
- package/dist/infoDiagram-HS3SLOUP-Cmxo6jKx.js +30 -0
- package/dist/{_baseFor-B69PDbIz.js → isArrayLikeObject-Btu-i6_P.js} +216 -44
- package/dist/{isEmpty-6z2uv6gM.js → isEmpty-CZvUtYFp.js} +2 -2
- package/dist/{isString-D6abkXrl.js → isString-CBr7TEb7.js} +1 -1
- package/dist/{isSymbol-hk7foJ70.js → isSymbol-BuQsMXhk.js} +1 -1
- package/dist/javascript-eMOhp6Aq.js +4 -0
- package/dist/{journeyDiagram-XKPGCS4Q-ahXD97kr.js → journeyDiagram-XKPGCS4Q-CKYr8cSR.js} +7 -7
- package/dist/julia-C6w3Rvqb.js +4 -0
- package/dist/{kanban-definition-3W4ZIXB7-CiTIpnhy.js → kanban-definition-3W4ZIXB7-DVvAZzQD.js} +12 -12
- package/dist/{katex-DaGuLbVh.js → katex-pyO_klYC.js} +1 -1
- package/dist/{label-Cc5tEavt.js → label-CV0KYhtH.js} +4 -10
- package/dist/{line-Bc27KE1D.js → line-C1k1rG3Z.js} +3 -3
- package/dist/{linear-Bnc6E9kA.js → linear-DIp6l9sg.js} +4 -4
- package/dist/livescript-ChQl9lD-.js +4 -0
- package/dist/{loader-Cob3XFOw.js → loader-eJCvvApN.js} +2 -2
- package/dist/lua-CiDvI96j.js +4 -0
- package/dist/main-Tj_-QTyF.js +4321 -0
- package/dist/main.js +2019 -5031
- package/dist/mathematica-ClVO4k7N.js +4 -0
- package/dist/mbox-BEI7DeUg.js +4 -0
- package/dist/{memoize-Ckyqzyu_.js → memoize-P1T1IGb9.js} +1 -1
- package/dist/merge-CGQkMGzr.js +51 -0
- package/dist/{mermaid-4DMBBIKO-BmJdHPwx.js → mermaid-4DMBBIKO-PVrJfEpX.js} +1 -1
- package/dist/{mermaid-B5xl_2hx.js → mermaid-COOB_abB.js} +46 -46
- package/dist/{mermaid-parser.core-BXj7Il0J.js → mermaid-parser.core-Cd-wu4tE.js} +8 -8
- package/dist/{mhchem-B_tiMbKF.js → mhchem-DckvwtV8.js} +1 -1
- package/dist/min-CMDDtXJP.js +89 -0
- package/dist/{mindmap-definition-VGOIOE7T-Mni766A_.js → mindmap-definition-VGOIOE7T-1ExmnvYy.js} +14 -14
- package/dist/mirc-DwidJ3iH.js +4 -0
- package/dist/mllike-Dspdy0xJ.js +6 -0
- package/dist/modelica-CIUejP-L.js +4 -0
- package/dist/mscgen-BWXU4Omp.js +6 -0
- package/dist/mumps-PHFFoPk5.js +4 -0
- package/dist/now-BxlRp0OQ.js +7 -0
- package/dist/nsis-B7xooKLf.js +4 -0
- package/dist/{nsis-B6EN9LWI.js → nsis-BrAITej_.js} +1 -1
- package/dist/ntriples-DnOgtCzG.js +4 -0
- package/dist/{number-overlay-editor-DKVJgXpp.js → number-overlay-editor-CQrncFlP.js} +1 -1
- package/dist/octave-Cn5kH_QT.js +4 -0
- package/dist/{once-C9dA9qgQ.js → once-BqS42WgZ.js} +1 -1
- package/dist/{ordinal-DLLbwLkP.js → ordinal-Dcvf4J1m.js} +1 -1
- package/dist/oz-DR-sROpu.js +4 -0
- package/dist/{packet-BFZMPI3H-DHtQCusE.js → packet-DYOGHKS2-Bf1CvFco.js} +3 -3
- package/dist/pascal-CPKK1zcS.js +4 -0
- package/dist/perl-D7FuFdyd.js +4 -0
- package/dist/{pie-7BOR55EZ-2sVLYbpR.js → pie-VRWISCQL-LY_wbqji.js} +3 -3
- package/dist/{pieDiagram-ADFJNKIX-PbXpgT8_.js → pieDiagram-ADFJNKIX-CJlIsdsU.js} +22 -22
- package/dist/pig-CEXnOAnI.js +4 -0
- package/dist/powershell-BKvWab7q.js +4 -0
- package/dist/{precisionRound-Duzbr5ur.js → precisionRound-BAc-kQ3q.js} +1 -1
- package/dist/properties-7jnK_vYx.js +4 -0
- package/dist/protobuf-4rslMjEN.js +4 -0
- package/dist/pug-BVwdEv4r.js +4 -0
- package/dist/{pug-xrm7jQ2R.js → pug-CH-17az-.js} +1 -1
- package/dist/puppet-iSHg_1Z2.js +4 -0
- package/dist/python-tK3wUCn0.js +4 -0
- package/dist/q-DP_Dcoox.js +4 -0
- package/dist/{quadrantDiagram-AYHSOK5B-BtXGnx8i.js → quadrantDiagram-AYHSOK5B-BU78RiaH.js} +5 -5
- package/dist/r-C32wHLYu.js +4 -0
- package/dist/{radar-NHE76QYJ-Be0pEUux.js → radar-ZZBFDIW7-Ro3iXZCk.js} +3 -3
- package/dist/range-Dh0_-r8P.js +30 -0
- package/dist/{react-vega-CCNu2JE0.js → react-vega-C6kwcd86.js} +18 -18
- package/dist/react-vega-CFUuchds.js +9 -0
- package/dist/reduce-BXFHs7IQ.js +268 -0
- package/dist/{requirementDiagram-UZGBJVZJ-DxzXQRgq.js → requirementDiagram-UZGBJVZJ-DACHtrFr.js} +14 -14
- package/dist/rpm-BbDBUfs9.js +5 -0
- package/dist/ruby-COfWUiIr.js +4 -0
- package/dist/{sankeyDiagram-TZEHDZUN-D-I7dJ0_.js → sankeyDiagram-TZEHDZUN-Bzg7_UWs.js} +5 -5
- package/dist/sas-y_Hue2-X.js +4 -0
- package/dist/scheme-7jTCqHw8.js +4 -0
- package/dist/{sequenceDiagram-WL72ISMW-VDme2ljw.js → sequenceDiagram-WL72ISMW-agybEe9J.js} +8 -8
- package/dist/shell-DAqJWXDk.js +4 -0
- package/dist/sieve-EaqnbCO3.js +4 -0
- package/dist/slides-component-B0yK5GXP.js +3057 -0
- package/dist/smalltalk-DL03YKLJ.js +4 -0
- package/dist/sparql-DTA-tQ_q.js +4 -0
- package/dist/{spec-GwhMEXwK.js → spec-Dq_reDGM.js} +4 -4
- package/dist/{src-jICM_d2B.js → src-CHUphWwL.js} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-g3GI1EcK.js → stateDiagram-FKZM4ZOC-DehQAt8g.js} +19 -19
- package/dist/stateDiagram-v2-4FDKWEC3-8VzeREl9.js +29 -0
- package/dist/{step-BqVgkWtk.js → step-BbmiiQdf.js} +1 -1
- package/dist/stex-KfRnSHzF.js +4 -0
- package/dist/style.css +1 -1
- package/dist/stylus-CfjeFry_.js +4 -0
- package/dist/swift-Dl0RRDbH.js +4 -0
- package/dist/tcl-wv9O7fLZ.js +4 -0
- package/dist/textile-DzMRCBcV.js +4 -0
- package/dist/{time-CrYsYnQU.js → time-DFFVNc1Q.js} +4 -4
- package/dist/{timeline-definition-IT6M3QCI-bhvLlX_b.js → timeline-definition-IT6M3QCI-CdCfdaCF.js} +4 -4
- package/dist/toNumber-By7s5JC_.js +28 -0
- package/dist/{toString-BwTJvlyD.js → toString-Ckpb50uw.js} +8 -8
- package/dist/toml-CyIWqgbe.js +4 -0
- package/dist/{treemap-KMMF4GRG-Ba9ifjpG.js → treemap-GDKQZRPO-DRxfDG65.js} +3 -3
- package/dist/troff-_huin_CY.js +4 -0
- package/dist/ttcn-BEiJuYYc.js +4 -0
- package/dist/ttcn-cfg-DB6Ksh67.js +4 -0
- package/dist/turtle-DzhzGEum.js +4 -0
- package/dist/{types-Dsh6yC4B.js → types-BwnzGcE4.js} +31 -32
- package/dist/uniq-cCc07Q8K.js +8 -0
- package/dist/{useAsyncData-BPpyKjTJ.js → useAsyncData-B4hMFGnF.js} +2 -2
- package/dist/{useDeepCompareMemoize-C8Ms87P-.js → useDeepCompareMemoize-DuPhOXzr.js} +3 -3
- package/dist/{useIframeCapabilities-C7z8VrZ1.js → useIframeCapabilities-CAt6D2EI.js} +1 -1
- package/dist/{useTheme-Cq-gIssy.js → useTheme-BNYQnvu-.js} +2 -2
- package/dist/vb-CngKZQHu.js +4 -0
- package/dist/vbscript-BV_8nbeM.js +4 -0
- package/dist/{vega-component-B5sxdjMq.js → vega-component-DouPy8AI.js} +12 -15
- package/dist/{vega-loader.browser-DqHiiBeQ.js → vega-loader.browser-CQ-lnUkI.js} +3 -3
- package/dist/velocity-IqE7qYKE.js +4 -0
- package/dist/verilog-xtyaWTnc.js +4 -0
- package/dist/vhdl-BaqXCtf3.js +4 -0
- package/dist/webidl-BDB8PTTO.js +4 -0
- package/dist/xquery-BIC-qj9Z.js +4 -0
- package/dist/{xychartDiagram-PRI3JC2R-CFxuifYY.js → xychartDiagram-PRI3JC2R-rEm_SIsC.js} +13 -13
- package/dist/yacas-ifv5tftd.js +4 -0
- package/dist/z80-B8zOMVNt.js +4 -0
- package/package.json +11 -11
- package/src/__mocks__/requests.ts +2 -0
- package/src/components/app-config/ai-config.tsx +1 -1
- package/src/components/app-config/user-config-form.tsx +27 -0
- package/src/components/data-table/__tests__/pagination.test.tsx +16 -24
- package/src/components/data-table/charts/lazy-chart.tsx +1 -1
- package/src/components/data-table/data-table.tsx +20 -18
- package/src/components/data-table/pagination.tsx +138 -56
- package/src/components/data-table/range-focus/__tests__/cell-selection-stats.test.tsx +365 -0
- package/src/components/data-table/range-focus/__tests__/test-utils.ts +77 -0
- package/src/components/data-table/range-focus/__tests__/utils.test.ts +205 -65
- package/src/components/data-table/range-focus/cell-selection-stats.tsx +79 -0
- package/src/components/data-table/range-focus/utils.ts +69 -7
- package/src/components/data-table/types.ts +4 -0
- package/src/components/databases/engine-variable.tsx +2 -1
- package/src/components/databases/icons/google-cloud-storage.svg +38 -0
- package/src/components/datasources/components.tsx +6 -2
- package/src/components/dependency-graph/minimap-content.tsx +3 -5
- package/src/components/dependency-graph/utils/__tests__/cell-preview.test.ts +143 -0
- package/src/components/dependency-graph/utils/cell-preview.ts +46 -0
- package/src/components/editor/Output.tsx +3 -28
- package/src/components/editor/actions/__tests__/pdf-export.test.ts +42 -0
- package/src/components/editor/actions/pdf-export.ts +26 -0
- package/src/components/editor/actions/useNotebookActions.tsx +86 -44
- package/src/components/editor/cell/cell-actions.tsx +6 -5
- package/src/components/editor/cell/cell-context-menu.tsx +11 -7
- package/src/components/editor/chrome/panels/components.tsx +88 -0
- package/src/components/editor/chrome/panels/file-explorer-panel.tsx +120 -7
- package/src/components/editor/chrome/panels/outline/floating-outline.tsx +27 -15
- package/src/components/editor/chrome/panels/session-panel.tsx +24 -35
- package/src/components/editor/controls/notebook-menu-dropdown.tsx +32 -29
- package/src/components/editor/file-tree/__tests__/requesting-tree.test.ts +17 -1
- package/src/components/editor/file-tree/file-explorer.tsx +38 -6
- package/src/components/editor/file-tree/file-header.tsx +61 -0
- package/src/components/editor/file-tree/file-viewer.tsx +88 -167
- package/src/components/editor/file-tree/renderers.tsx +142 -21
- package/src/components/editor/file-tree/requesting-tree.tsx +6 -2
- package/src/components/editor/output/console/ConsoleOutput.tsx +34 -2
- package/src/components/editor/output/console/__tests__/ConsoleOutput.test.tsx +13 -0
- package/src/components/icons/marimo-icons.tsx +173 -0
- package/src/components/markdown/markdown-renderer.tsx +3 -20
- package/src/components/pages/run-page.tsx +2 -2
- package/src/components/storage/components.tsx +86 -0
- package/src/components/storage/storage-file-viewer.tsx +225 -0
- package/src/components/storage/storage-inspector.tsx +610 -0
- package/src/core/ai/tools/__tests__/edit-notebook-tool.test.ts +79 -0
- package/src/core/ai/tools/edit-notebook-tool.ts +5 -0
- package/src/core/cells/__tests__/cells.test.ts +30 -0
- package/src/core/cells/cells.ts +6 -1
- package/src/core/cells/outline.ts +7 -1
- package/src/core/cells/outputs.ts +20 -8
- package/src/core/codemirror/language/languages/sql/sql.ts +76 -62
- package/src/core/codemirror/language/panel/sql.tsx +3 -3
- package/src/core/codemirror/lsp/__tests__/normalize-markdown-math.test.ts +123 -0
- package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +196 -0
- package/src/core/codemirror/lsp/normalize-markdown-math.ts +381 -0
- package/src/core/codemirror/lsp/notebook-lsp.ts +59 -3
- package/src/core/config/feature-flag.tsx +2 -0
- package/src/core/dom/__tests__/outline.test.ts +48 -0
- package/src/core/dom/outline.ts +13 -2
- package/src/core/islands/bridge.ts +2 -0
- package/src/core/islands/main.ts +2 -0
- package/src/core/network/__tests__/requests-network.test.ts +21 -0
- package/src/core/network/requests-lazy.ts +2 -0
- package/src/core/network/requests-network.ts +16 -0
- package/src/core/network/requests-static.ts +2 -0
- package/src/core/network/requests-toasting.tsx +2 -0
- package/src/core/network/types.ts +6 -0
- package/src/core/storage/__tests__/state.test.ts +345 -0
- package/src/core/storage/__tests__/types.test.ts +83 -0
- package/src/core/storage/__tests__/useStorageEntries.test.tsx +187 -0
- package/src/core/storage/request-registry.ts +36 -0
- package/src/core/storage/state.ts +132 -0
- package/src/core/storage/types.ts +57 -0
- package/src/core/wasm/bridge.ts +2 -0
- package/src/core/websocket/useMarimoKernelConnection.tsx +19 -1
- package/src/hooks/__tests__/useNonce.test.tsx +127 -0
- package/src/hooks/__tests__/useOverflowDetection.test.tsx +127 -0
- package/src/hooks/useNonce.ts +6 -5
- package/src/hooks/useOverflowDetection.ts +36 -0
- package/src/plugins/impl/MatrixPlugin.tsx +5 -2
- package/src/plugins/impl/__tests__/MatrixPlugin.test.tsx +1 -1
- package/src/plugins/impl/code/any-language-editor.tsx +14 -3
- package/src/utils/__tests__/download.test.tsx +39 -0
- package/src/utils/__tests__/filenames.test.ts +54 -1
- package/src/utils/download.ts +21 -1
- package/src/utils/filenames.ts +42 -0
- package/dist/apl-C1bki_dE.js +0 -4
- package/dist/architecture-U656AL7Q-Jd2CvPgJ.js +0 -6
- package/dist/asciiarmor-BdlkCCRr.js +0 -4
- package/dist/asn1-CvE30hox.js +0 -4
- package/dist/brainfuck-BalwWy1a.js +0 -4
- package/dist/classDiagram-2ON5EDUG-CUJlS_eo.js +0 -30
- package/dist/classDiagram-v2-WZHVMYZB-BhSPpbkE.js +0 -30
- package/dist/clojure-CUC2I1hM.js +0 -4
- package/dist/cmake-8PcMxXnB.js +0 -4
- package/dist/cobol-DkkkDz5v.js +0 -4
- package/dist/coffeescript-CCupxOZf.js +0 -4
- package/dist/commonlisp-DhUfGX6b.js +0 -4
- package/dist/crystal-DSaw6rFQ.js +0 -4
- package/dist/css-D4QDewkG.js +0 -4
- package/dist/cypher-CrYVqw_F.js +0 -4
- package/dist/d-Cr3H3pPx.js +0 -4
- package/dist/diff-ODiZJGls.js +0 -4
- package/dist/dist-BA-HK7pI.js +0 -5
- package/dist/dist-BD5GU948.js +0 -5
- package/dist/dist-BIYmAsND.js +0 -5
- package/dist/dist-BcKTJXJi.js +0 -5
- package/dist/dist-BgnrtcWg.js +0 -8
- package/dist/dist-C1njTlBq.js +0 -5
- package/dist/dist-CSKHwJYH.js +0 -5
- package/dist/dist-CSKKyiIq.js +0 -5
- package/dist/dist-CrQ_pOuK.js +0 -6
- package/dist/dist-Cskx1daf.js +0 -5
- package/dist/dist-D4i0Ef34.js +0 -8
- package/dist/dist-DOcn61TX.js +0 -8
- package/dist/dist-DwMejAPB.js +0 -6
- package/dist/dist-DzSe1wby.js +0 -8
- package/dist/dtd-C-t2Rk7F.js +0 -4
- package/dist/dylan-B4ctBLGp.js +0 -4
- package/dist/ecl-DqWfymni.js +0 -4
- package/dist/eiffel-DjBKKAr7.js +0 -4
- package/dist/elm--fxeC0FV.js +0 -4
- package/dist/erlang-CaKXCX6H.js +0 -4
- package/dist/factor-DlLO5EFS.js +0 -4
- package/dist/flatten-CWZjF1fc.js +0 -8
- package/dist/forth-rOO6LVj_.js +0 -4
- package/dist/fortran-CUg15VGR.js +0 -4
- package/dist/gas-BMRJspiW.js +0 -4
- package/dist/gherkin-DRxzijZU.js +0 -4
- package/dist/graphlib-CwMnCnQ9.js +0 -362
- package/dist/groovy-BmrQ8pUP.js +0 -4
- package/dist/haskell-BuaYfKOz.js +0 -4
- package/dist/haxe-DcH9eA0a.js +0 -5
- package/dist/idl-DGlcm4Ls.js +0 -4
- package/dist/infoDiagram-WHAUD3N6-B42WjAPh.js +0 -30
- package/dist/javascript-CeTk7rzr.js +0 -4
- package/dist/julia-BoP_q1gm.js +0 -4
- package/dist/livescript-B7IMN-ba.js +0 -4
- package/dist/lua-q1InavKb.js +0 -4
- package/dist/main-DmxVpB19.js +0 -1089
- package/dist/mathematica-DvR8-_EI.js +0 -4
- package/dist/mbox-7h5MNBS_.js +0 -4
- package/dist/merge-Db4Uulx4.js +0 -222
- package/dist/min-ypdVXicC.js +0 -38
- package/dist/mirc-D-XM8A5c.js +0 -4
- package/dist/mllike-BQGkkbmf.js +0 -6
- package/dist/modelica-D_yRj_WU.js +0 -4
- package/dist/mscgen-B-rltAjp.js +0 -6
- package/dist/mumps-2kh8TU2b.js +0 -4
- package/dist/now-Dwu5ou19.js +0 -31
- package/dist/nsis-CtusEqwb.js +0 -4
- package/dist/ntriples-BdAXw6zV.js +0 -4
- package/dist/octave-CsNFmVp5.js +0 -4
- package/dist/oz-odIXCrKd.js +0 -4
- package/dist/pascal-B9Mfk3Fo.js +0 -4
- package/dist/perl-C48inLcz.js +0 -4
- package/dist/pig-uwRtAssU.js +0 -4
- package/dist/powershell-CXqlca-i.js +0 -4
- package/dist/properties-D6Zu1rpK.js +0 -4
- package/dist/protobuf-BlNNWZaR.js +0 -4
- package/dist/pug-DytcK7bv.js +0 -4
- package/dist/puppet-lJ8Ok3iY.js +0 -4
- package/dist/python-cMaF7kUp.js +0 -4
- package/dist/q-Dgt2HYQh.js +0 -4
- package/dist/r-Bm4S4awf.js +0 -4
- package/dist/range-D9jxVFd_.js +0 -67
- package/dist/react-vega-1ub36dPZ.js +0 -9
- package/dist/reduce-C6NEPj6s.js +0 -133
- package/dist/rpm-_8LbzMVc.js +0 -5
- package/dist/ruby-Cr8IJ5VZ.js +0 -4
- package/dist/sas-CFcSfo2_.js +0 -4
- package/dist/scheme-N4XRoKgc.js +0 -4
- package/dist/shell-B4L7f_ds.js +0 -4
- package/dist/sieve-UI6J3Gm0.js +0 -4
- package/dist/slides-component-ql7-5GDI.js +0 -3048
- package/dist/smalltalk-BuaPZAZU.js +0 -4
- package/dist/sparql-1rKrq463.js +0 -4
- package/dist/stateDiagram-v2-4FDKWEC3-7i6jBXe6.js +0 -29
- package/dist/stex-D2rme5UG.js +0 -4
- package/dist/stylus-DvSovJEP.js +0 -4
- package/dist/swift-D-_E7Yyb.js +0 -4
- package/dist/tcl-Di5sAVHN.js +0 -4
- package/dist/textile-Benwt66z.js +0 -4
- package/dist/toml-CeOvPOkY.js +0 -4
- package/dist/troff-DJN9hfgu.js +0 -4
- package/dist/ttcn-DQW2Psjf.js +0 -4
- package/dist/ttcn-cfg-zFG_MNpg.js +0 -4
- package/dist/turtle-DHRyNlSc.js +0 -4
- package/dist/vb-CXWH9DD-.js +0 -4
- package/dist/vbscript-qr8qVck5.js +0 -4
- package/dist/velocity-C_9pUJRx.js +0 -4
- package/dist/verilog-DxBstgBa.js +0 -4
- package/dist/vhdl-odUxAbE6.js +0 -4
- package/dist/webidl-Dfn5Rku4.js +0 -4
- package/dist/xquery-CrJs6SXr.js +0 -4
- package/dist/yacas-B-uDDLZe.js +0 -4
- package/dist/z80-51gxgAXE.js +0 -4
- /package/dist/{ImageComparisonComponent-CRbA-1eg.js → ImageComparisonComponent-BYQfAfSR.js} +0 -0
- /package/dist/{Plot-C9vQQj4X.js → Plot-DfUav0o0.js} +0 -0
- /package/dist/{_arrayReduce-REKcIEj3.js → _arrayReduce-BfFy684W.js} +0 -0
- /package/dist/{_hasUnicode-DrSAc5A5.js → _hasUnicode-C32WqUu7.js} +0 -0
- /package/dist/{apl-Oc3bL26_.js → apl-DRxKiEot.js} +0 -0
- /package/dist/{array-CEIRxyh3.js → array-D-nrDupM.js} +0 -0
- /package/dist/{asciiarmor-DTbPh2VI.js → asciiarmor-C8HoXFIm.js} +0 -0
- /package/dist/{asn1-CGhwu1Ri.js → asn1-9Bo0DYT-.js} +0 -0
- /package/dist/{asterisk-Crp-Pien.js → asterisk-BsiuGzWq.js} +0 -0
- /package/dist/{brainfuck-CA0L8lRq.js → brainfuck-Db8njC-p.js} +0 -0
- /package/dist/{click-outside-container-C_k38vlR.js → click-outside-container-CKfwEZqH.js} +0 -0
- /package/dist/{clike-CEtUBPHD.js → clike-CFhUNtI5.js} +0 -0
- /package/dist/{clojure-BszjvdGo.js → clojure-CX7oovsp.js} +0 -0
- /package/dist/{cmake-B2Gvps8b.js → cmake-C29AR2kk.js} +0 -0
- /package/dist/{cobol-DuMch8nn.js → cobol-CNkuRW9i.js} +0 -0
- /package/dist/{coffeescript-L9aKXVsJ.js → coffeescript-BJAbfGam.js} +0 -0
- /package/dist/{colors-DR_aHfmQ.js → colors-6nB_pSln.js} +0 -0
- /package/dist/{common-keywords-NhoiR-2S.js → common-keywords-BAkLFdud.js} +0 -0
- /package/dist/{commonlisp-CrtdssxB.js → commonlisp-BTNhj2l9.js} +0 -0
- /package/dist/{crystal-vvNY0LpY.js → crystal-CZc0nIm9.js} +0 -0
- /package/dist/{css-B1GdzqT1.js → css-L2-0OTXc.js} +0 -0
- /package/dist/{cypher-BtZvV7bW.js → cypher-Dnc6MXl0.js} +0 -0
- /package/dist/{cytoscape.esm-CgJFiP_E.js → cytoscape.esm-BXzSsA6N.js} +0 -0
- /package/dist/{d-B0UN3V-Z.js → d-C6X9iIga.js} +0 -0
- /package/dist/{defaultLocale-DjFHq3Xk.js → defaultLocale-Bklbu-Tp.js} +0 -0
- /package/dist/{defaultLocale-B_A76Zpk.js → defaultLocale-CfQ4kBaV.js} +0 -0
- /package/dist/{diff-DOpgjj1W.js → diff-ZzKinYqY.js} +0 -0
- /package/dist/{dist-BYznkC5E.js → dist-Bymy0kEH.js} +0 -0
- /package/dist/{dtd-Ctnjxrle.js → dtd-CytEpkAo.js} +0 -0
- /package/dist/{duckdb-keywords-BnNtuiVz.js → duckdb-keywords-C1WxmSfG.js} +0 -0
- /package/dist/{dylan-DFXkoaZy.js → dylan-CZByFBEQ.js} +0 -0
- /package/dist/{ebnf-CFKHGc8c.js → ebnf-BF2FOt-m.js} +0 -0
- /package/dist/{ecl-C1NExZip.js → ecl-Cp7L1F5B.js} +0 -0
- /package/dist/{eiffel-uXVGgleg.js → eiffel-C66yjnFL.js} +0 -0
- /package/dist/{elm-CBOFnnib.js → elm-DtHo-73e.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm--WpIBtj8.js → emotion-is-prop-valid.esm-DtW2o230.js} +0 -0
- /package/dist/{erlang-DMnrT8XK.js → erlang-C_sj44mF.js} +0 -0
- /package/dist/{error-banner-vCG-EbUQ.js → error-banner-D0tXnwl4.js} +0 -0
- /package/dist/{esm-0_ieXYNc.js → esm-BWftfC-A.js} +0 -0
- /package/dist/{fcl-DPZwieM9.js → fcl-BhLcvRo_.js} +0 -0
- /package/dist/{forth-DDpxS4nw.js → forth-CIDHh56T.js} +0 -0
- /package/dist/{fortran-B6uYqQMz.js → fortran-BQrDVXRU.js} +0 -0
- /package/dist/{gas-BKnWzuFz.js → gas-D4HQPB0Q.js} +0 -0
- /package/dist/{gherkin-pBt0wT4X.js → gherkin-UB2gJHdT.js} +0 -0
- /package/dist/{groovy-DKsn4ppB.js → groovy-DVz6jkOx.js} +0 -0
- /package/dist/{haskell-BJVBJQcy.js → haskell-CpUdAPCz.js} +0 -0
- /package/dist/{haxe-rLN5UZU5.js → haxe-DCV5_cqD.js} +0 -0
- /package/dist/{http-AQJFxSug.js → http-C_TDb8VX.js} +0 -0
- /package/dist/{idl-B4mwMAo-.js → idl-D7WCIgHw.js} +0 -0
- /package/dist/{init-TaqZJsBY.js → init-Ci8VD8ZH.js} +0 -0
- /package/dist/{invariant-D-K49MfV.js → invariant-D9QLJ4SZ.js} +0 -0
- /package/dist/{javascript-Hf2NLNC0.js → javascript-B2Rn0Lmd.js} +0 -0
- /package/dist/{julia-GGpx21YN.js → julia-ApprtEaw.js} +0 -0
- /package/dist/{katex-Ba7xZPrx.js → katex-Bk_FvVSR.js} +0 -0
- /package/dist/{livescript-CSvXMspZ.js → livescript-BMLIlM7C.js} +0 -0
- /package/dist/{lua-CVMR5LMW.js → lua-DdDaW3tC.js} +0 -0
- /package/dist/{math-CTnb-N1W.js → math-HUZifhTs.js} +0 -0
- /package/dist/{mathematica-JENNt-p4.js → mathematica-PnNN7c2Z.js} +0 -0
- /package/dist/{mbox-mzifoc8E.js → mbox-B84OtHBK.js} +0 -0
- /package/dist/{mirc-BXoiItvN.js → mirc-BVWXJxIq.js} +0 -0
- /package/dist/{mllike-H-KR9OuH.js → mllike-BawXWupH.js} +0 -0
- /package/dist/{modelica-B6Hm3mMl.js → modelica-C8-X4Hf_.js} +0 -0
- /package/dist/{mscgen-D8TF_Hei.js → mscgen-BOM6dDj8.js} +0 -0
- /package/dist/{mumps-CD-kNPt4.js → mumps-DQOY8n05.js} +0 -0
- /package/dist/{nginx-hpek_Tnq.js → nginx-DkMgA__9.js} +0 -0
- /package/dist/{node-sql-parser-ChQUJk8A.js → node-sql-parser-D53LM_7b.js} +0 -0
- /package/dist/{ntriples-DgnpxU40.js → ntriples-DU8VrXdW.js} +0 -0
- /package/dist/{octave-CkobqyVm.js → octave-BzTIBsQ8.js} +0 -0
- /package/dist/{oz-ChDLd9tS.js → oz-DKFcZsoi.js} +0 -0
- /package/dist/{pascal-CvlkwK7E.js → pascal-DHBZ15pT.js} +0 -0
- /package/dist/{path-7gr7eZmp.js → path-BVI7RNUv.js} +0 -0
- /package/dist/{perl-BNEFTNbM.js → perl-75NMI3w0.js} +0 -0
- /package/dist/{pig-Cd1DMS7P.js → pig-B-HY1fo_.js} +0 -0
- /package/dist/{powershell-CPxA0zpc.js → powershell-DEH22U53.js} +0 -0
- /package/dist/{properties-BaFBm-Xa.js → properties-B1MzBoJC.js} +0 -0
- /package/dist/{protobuf-BQV_-X0H.js → protobuf-Dr14KV0p.js} +0 -0
- /package/dist/{puppet-LXLST0mx.js → puppet-C4z38l7v.js} +0 -0
- /package/dist/{purify.es-D4vaFt5N.js → purify.es-CyOIw8ru.js} +0 -0
- /package/dist/{python-DLjLzX4k.js → python-D2L7Nknt.js} +0 -0
- /package/dist/{q-DswTX1Y9.js → q-PxipHfgS.js} +0 -0
- /package/dist/{r-CO7NpMwE.js → r-CEMMu_Tf.js} +0 -0
- /package/dist/{range-DwpxnYuB.js → range-BToS7LsA.js} +0 -0
- /package/dist/{rpm-BlmEDT6r.js → rpm-D3xyahkR.js} +0 -0
- /package/dist/{ruby-BTPKgeZZ.js → ruby-DwEkwdiu.js} +0 -0
- /package/dist/{sas-DTDTiNO8.js → sas-L1W0BRft.js} +0 -0
- /package/dist/{scheme-UzAAg4GJ.js → scheme-CTybTrX0.js} +0 -0
- /package/dist/{shell-DQ0hQCsB.js → shell-BSx3LZnu.js} +0 -0
- /package/dist/{sieve-BVyYIx9u.js → sieve-BjUfbv-6.js} +0 -0
- /package/dist/{simple-mode-Dryu-fC9.js → simple-mode-IPZGFbI6.js} +0 -0
- /package/dist/{smalltalk-DAdMAHTu.js → smalltalk-BlzuYrMv.js} +0 -0
- /package/dist/{solr-BSTJW269.js → solr-Cj_9RM4d.js} +0 -0
- /package/dist/{sparql-Bi7quYgw.js → sparql-BXKjQ0cK.js} +0 -0
- /package/dist/{spreadsheet-CiBky1_y.js → spreadsheet-CifI10GO.js} +0 -0
- /package/dist/{sql-BXZovj-z.js → sql-B0bFyY1c.js} +0 -0
- /package/dist/{stex-DIvyJfNO.js → stex-BIsgBmK4.js} +0 -0
- /package/dist/{stylus-jhpzcQ6Y.js → stylus-CqrLLVnG.js} +0 -0
- /package/dist/{swift-BrO8qThZ.js → swift-DIqvj3_G.js} +0 -0
- /package/dist/{tcl-s5QI5gv3.js → tcl-B8bOIGVK.js} +0 -0
- /package/dist/{textile-ClhvJrxM.js → textile-DZsjavD_.js} +0 -0
- /package/dist/{tiddlywiki-DLTDKQCh.js → tiddlywiki-BbGdvEjx.js} +0 -0
- /package/dist/{tiki-tw_kBvbp.js → tiki-BYesmRDo.js} +0 -0
- /package/dist/{timer-DV8t68ti.js → timer-CPsmIOdm.js} +0 -0
- /package/dist/{toml-TFa3EJQE.js → toml-Uc7m08nl.js} +0 -0
- /package/dist/{treemap-CQJ0bIDy.js → treemap-DMn4tIJ7.js} +0 -0
- /package/dist/{troff-SqLg0heF.js → troff-GEl5wcXR.js} +0 -0
- /package/dist/{ttcn-cfg-Dopc-iwE.js → ttcn-cfg-dZQ_fWTH.js} +0 -0
- /package/dist/{ttcn-Cfrap7HJ.js → ttcn-pr4FDOLT.js} +0 -0
- /package/dist/{turtle-Dt52DvVH.js → turtle-TPRDOknA.js} +0 -0
- /package/dist/{vb-D1pAvfDe.js → vb-BJUAeTYr.js} +0 -0
- /package/dist/{vbscript-DZ7RBxn5.js → vbscript-CcJ6Z3ic.js} +0 -0
- /package/dist/{velocity-Csau7eZy.js → velocity-pq4ZMzU3.js} +0 -0
- /package/dist/{verilog-gXlZACs5.js → verilog-timMNjHt.js} +0 -0
- /package/dist/{vhdl-NaUWbI1B.js → vhdl-DYFbVKNm.js} +0 -0
- /package/dist/{webidl-BJmPjW01.js → webidl-pue9oqnb.js} +0 -0
- /package/dist/{xquery-CJIPsC0g.js → xquery-DeItGynK.js} +0 -0
- /package/dist/{yacas-8f2Vjiiz.js → yacas-By2Qrjba.js} +0 -0
- /package/dist/{z80-s5Xk2hCP.js → z80-C7iLsyPC.js} +0 -0
- /package/src/components/editor/file-tree/__tests__/{file-expolorer.test.ts → file-explorer.test.ts} +0 -0
package/dist/main-DmxVpB19.js
DELETED
|
@@ -1,1089 +0,0 @@
|
|
|
1
|
-
import { n as __esmMin, r as __export } from "./chunk-BNovOVIE.js";
|
|
2
|
-
var main_exports = /* @__PURE__ */ __export({
|
|
3
|
-
AnnotatedTextEdit: () => AnnotatedTextEdit,
|
|
4
|
-
ChangeAnnotation: () => ChangeAnnotation,
|
|
5
|
-
ChangeAnnotationIdentifier: () => ChangeAnnotationIdentifier,
|
|
6
|
-
CodeAction: () => CodeAction,
|
|
7
|
-
CodeActionContext: () => CodeActionContext,
|
|
8
|
-
CodeActionKind: () => CodeActionKind,
|
|
9
|
-
CodeActionTriggerKind: () => CodeActionTriggerKind,
|
|
10
|
-
CodeDescription: () => CodeDescription,
|
|
11
|
-
CodeLens: () => CodeLens,
|
|
12
|
-
Color: () => Color,
|
|
13
|
-
ColorInformation: () => ColorInformation,
|
|
14
|
-
ColorPresentation: () => ColorPresentation,
|
|
15
|
-
Command: () => Command,
|
|
16
|
-
CompletionItem: () => CompletionItem,
|
|
17
|
-
CompletionItemKind: () => CompletionItemKind,
|
|
18
|
-
CompletionItemLabelDetails: () => CompletionItemLabelDetails,
|
|
19
|
-
CompletionItemTag: () => CompletionItemTag,
|
|
20
|
-
CompletionList: () => CompletionList,
|
|
21
|
-
CreateFile: () => CreateFile,
|
|
22
|
-
DeleteFile: () => DeleteFile,
|
|
23
|
-
Diagnostic: () => Diagnostic,
|
|
24
|
-
DiagnosticRelatedInformation: () => DiagnosticRelatedInformation,
|
|
25
|
-
DiagnosticSeverity: () => DiagnosticSeverity,
|
|
26
|
-
DiagnosticTag: () => DiagnosticTag,
|
|
27
|
-
DocumentHighlight: () => DocumentHighlight,
|
|
28
|
-
DocumentHighlightKind: () => DocumentHighlightKind,
|
|
29
|
-
DocumentLink: () => DocumentLink,
|
|
30
|
-
DocumentSymbol: () => DocumentSymbol,
|
|
31
|
-
DocumentUri: () => DocumentUri,
|
|
32
|
-
EOL: () => EOL,
|
|
33
|
-
FoldingRange: () => FoldingRange,
|
|
34
|
-
FoldingRangeKind: () => FoldingRangeKind,
|
|
35
|
-
FormattingOptions: () => FormattingOptions,
|
|
36
|
-
Hover: () => Hover,
|
|
37
|
-
InlayHint: () => InlayHint,
|
|
38
|
-
InlayHintKind: () => InlayHintKind,
|
|
39
|
-
InlayHintLabelPart: () => InlayHintLabelPart,
|
|
40
|
-
InlineCompletionContext: () => InlineCompletionContext,
|
|
41
|
-
InlineCompletionItem: () => InlineCompletionItem,
|
|
42
|
-
InlineCompletionList: () => InlineCompletionList,
|
|
43
|
-
InlineCompletionTriggerKind: () => InlineCompletionTriggerKind,
|
|
44
|
-
InlineValueContext: () => InlineValueContext,
|
|
45
|
-
InlineValueEvaluatableExpression: () => InlineValueEvaluatableExpression,
|
|
46
|
-
InlineValueText: () => InlineValueText,
|
|
47
|
-
InlineValueVariableLookup: () => InlineValueVariableLookup,
|
|
48
|
-
InsertReplaceEdit: () => InsertReplaceEdit,
|
|
49
|
-
InsertTextFormat: () => InsertTextFormat,
|
|
50
|
-
InsertTextMode: () => InsertTextMode,
|
|
51
|
-
Location: () => Location,
|
|
52
|
-
LocationLink: () => LocationLink,
|
|
53
|
-
MarkedString: () => MarkedString,
|
|
54
|
-
MarkupContent: () => MarkupContent,
|
|
55
|
-
MarkupKind: () => MarkupKind,
|
|
56
|
-
OptionalVersionedTextDocumentIdentifier: () => OptionalVersionedTextDocumentIdentifier,
|
|
57
|
-
ParameterInformation: () => ParameterInformation,
|
|
58
|
-
Position: () => Position,
|
|
59
|
-
Range: () => Range,
|
|
60
|
-
RenameFile: () => RenameFile,
|
|
61
|
-
SelectedCompletionInfo: () => SelectedCompletionInfo,
|
|
62
|
-
SelectionRange: () => SelectionRange,
|
|
63
|
-
SemanticTokenModifiers: () => SemanticTokenModifiers,
|
|
64
|
-
SemanticTokenTypes: () => SemanticTokenTypes,
|
|
65
|
-
SemanticTokens: () => SemanticTokens,
|
|
66
|
-
SignatureInformation: () => SignatureInformation,
|
|
67
|
-
StringValue: () => StringValue,
|
|
68
|
-
SymbolInformation: () => SymbolInformation,
|
|
69
|
-
SymbolKind: () => SymbolKind,
|
|
70
|
-
SymbolTag: () => SymbolTag,
|
|
71
|
-
TextDocument: () => TextDocument,
|
|
72
|
-
TextDocumentEdit: () => TextDocumentEdit,
|
|
73
|
-
TextDocumentIdentifier: () => TextDocumentIdentifier,
|
|
74
|
-
TextDocumentItem: () => TextDocumentItem,
|
|
75
|
-
TextEdit: () => TextEdit,
|
|
76
|
-
URI: () => URI,
|
|
77
|
-
VersionedTextDocumentIdentifier: () => VersionedTextDocumentIdentifier,
|
|
78
|
-
WorkspaceChange: () => WorkspaceChange,
|
|
79
|
-
WorkspaceEdit: () => WorkspaceEdit,
|
|
80
|
-
WorkspaceFolder: () => WorkspaceFolder,
|
|
81
|
-
WorkspaceSymbol: () => WorkspaceSymbol,
|
|
82
|
-
integer: () => integer,
|
|
83
|
-
uinteger: () => uinteger
|
|
84
|
-
}, 1), DocumentUri, URI, integer, uinteger, Position, Range, Location, LocationLink, Color, ColorInformation, ColorPresentation, FoldingRangeKind, FoldingRange, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, CodeDescription, Diagnostic, Command, TextEdit, ChangeAnnotation, ChangeAnnotationIdentifier, AnnotatedTextEdit, TextDocumentEdit, CreateFile, RenameFile, DeleteFile, WorkspaceEdit, TextEditChangeImpl, ChangeAnnotations, WorkspaceChange, TextDocumentIdentifier, VersionedTextDocumentIdentifier, OptionalVersionedTextDocumentIdentifier, TextDocumentItem, MarkupKind, MarkupContent, CompletionItemKind, InsertTextFormat, CompletionItemTag, InsertReplaceEdit, InsertTextMode, CompletionItemLabelDetails, CompletionItem, CompletionList, MarkedString, Hover, ParameterInformation, SignatureInformation, DocumentHighlightKind, DocumentHighlight, SymbolKind, SymbolTag, SymbolInformation, WorkspaceSymbol, DocumentSymbol, CodeActionKind, CodeActionTriggerKind, CodeActionContext, CodeAction, CodeLens, FormattingOptions, DocumentLink, SelectionRange, SemanticTokenTypes, SemanticTokenModifiers, SemanticTokens, InlineValueText, InlineValueVariableLookup, InlineValueEvaluatableExpression, InlineValueContext, InlayHintKind, InlayHintLabelPart, InlayHint, StringValue, InlineCompletionItem, InlineCompletionList, InlineCompletionTriggerKind, SelectedCompletionInfo, InlineCompletionContext, WorkspaceFolder, EOL, TextDocument, FullTextDocument, Is, init_main = __esmMin((() => {
|
|
85
|
-
(function(p) {
|
|
86
|
-
function H(p2) {
|
|
87
|
-
return typeof p2 == "string";
|
|
88
|
-
}
|
|
89
|
-
p.is = H;
|
|
90
|
-
})(DocumentUri || (DocumentUri = {})), (function(p) {
|
|
91
|
-
function H(p2) {
|
|
92
|
-
return typeof p2 == "string";
|
|
93
|
-
}
|
|
94
|
-
p.is = H;
|
|
95
|
-
})(URI || (URI = {})), (function(p) {
|
|
96
|
-
p.MIN_VALUE = -2147483648, p.MAX_VALUE = 2147483647;
|
|
97
|
-
function H(H2) {
|
|
98
|
-
return typeof H2 == "number" && p.MIN_VALUE <= H2 && H2 <= p.MAX_VALUE;
|
|
99
|
-
}
|
|
100
|
-
p.is = H;
|
|
101
|
-
})(integer || (integer = {})), (function(p) {
|
|
102
|
-
p.MIN_VALUE = 0, p.MAX_VALUE = 2147483647;
|
|
103
|
-
function H(H2) {
|
|
104
|
-
return typeof H2 == "number" && p.MIN_VALUE <= H2 && H2 <= p.MAX_VALUE;
|
|
105
|
-
}
|
|
106
|
-
p.is = H;
|
|
107
|
-
})(uinteger || (uinteger = {})), (function(p) {
|
|
108
|
-
function H(p2, H2) {
|
|
109
|
-
return p2 === Number.MAX_VALUE && (p2 = uinteger.MAX_VALUE), H2 === Number.MAX_VALUE && (H2 = uinteger.MAX_VALUE), {
|
|
110
|
-
line: p2,
|
|
111
|
-
character: H2
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
p.create = H;
|
|
115
|
-
function U(p2) {
|
|
116
|
-
let H2 = p2;
|
|
117
|
-
return Is.objectLiteral(H2) && Is.uinteger(H2.line) && Is.uinteger(H2.character);
|
|
118
|
-
}
|
|
119
|
-
p.is = U;
|
|
120
|
-
})(Position || (Position = {})), (function(p) {
|
|
121
|
-
function H(p2, H2, U2, W) {
|
|
122
|
-
if (Is.uinteger(p2) && Is.uinteger(H2) && Is.uinteger(U2) && Is.uinteger(W)) return {
|
|
123
|
-
start: Position.create(p2, H2),
|
|
124
|
-
end: Position.create(U2, W)
|
|
125
|
-
};
|
|
126
|
-
if (Position.is(p2) && Position.is(H2)) return {
|
|
127
|
-
start: p2,
|
|
128
|
-
end: H2
|
|
129
|
-
};
|
|
130
|
-
throw Error(`Range#create called with invalid arguments[${p2}, ${H2}, ${U2}, ${W}]`);
|
|
131
|
-
}
|
|
132
|
-
p.create = H;
|
|
133
|
-
function U(p2) {
|
|
134
|
-
let H2 = p2;
|
|
135
|
-
return Is.objectLiteral(H2) && Position.is(H2.start) && Position.is(H2.end);
|
|
136
|
-
}
|
|
137
|
-
p.is = U;
|
|
138
|
-
})(Range || (Range = {})), (function(p) {
|
|
139
|
-
function H(p2, H2) {
|
|
140
|
-
return {
|
|
141
|
-
uri: p2,
|
|
142
|
-
range: H2
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
p.create = H;
|
|
146
|
-
function U(p2) {
|
|
147
|
-
let H2 = p2;
|
|
148
|
-
return Is.objectLiteral(H2) && Range.is(H2.range) && (Is.string(H2.uri) || Is.undefined(H2.uri));
|
|
149
|
-
}
|
|
150
|
-
p.is = U;
|
|
151
|
-
})(Location || (Location = {})), (function(p) {
|
|
152
|
-
function H(p2, H2, U2, W) {
|
|
153
|
-
return {
|
|
154
|
-
targetUri: p2,
|
|
155
|
-
targetRange: H2,
|
|
156
|
-
targetSelectionRange: U2,
|
|
157
|
-
originSelectionRange: W
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
p.create = H;
|
|
161
|
-
function U(p2) {
|
|
162
|
-
let H2 = p2;
|
|
163
|
-
return Is.objectLiteral(H2) && Range.is(H2.targetRange) && Is.string(H2.targetUri) && Range.is(H2.targetSelectionRange) && (Range.is(H2.originSelectionRange) || Is.undefined(H2.originSelectionRange));
|
|
164
|
-
}
|
|
165
|
-
p.is = U;
|
|
166
|
-
})(LocationLink || (LocationLink = {})), (function(p) {
|
|
167
|
-
function H(p2, H2, U2, W) {
|
|
168
|
-
return {
|
|
169
|
-
red: p2,
|
|
170
|
-
green: H2,
|
|
171
|
-
blue: U2,
|
|
172
|
-
alpha: W
|
|
173
|
-
};
|
|
174
|
-
}
|
|
175
|
-
p.create = H;
|
|
176
|
-
function U(p2) {
|
|
177
|
-
let H2 = p2;
|
|
178
|
-
return Is.objectLiteral(H2) && Is.numberRange(H2.red, 0, 1) && Is.numberRange(H2.green, 0, 1) && Is.numberRange(H2.blue, 0, 1) && Is.numberRange(H2.alpha, 0, 1);
|
|
179
|
-
}
|
|
180
|
-
p.is = U;
|
|
181
|
-
})(Color || (Color = {})), (function(p) {
|
|
182
|
-
function H(p2, H2) {
|
|
183
|
-
return {
|
|
184
|
-
range: p2,
|
|
185
|
-
color: H2
|
|
186
|
-
};
|
|
187
|
-
}
|
|
188
|
-
p.create = H;
|
|
189
|
-
function U(p2) {
|
|
190
|
-
let H2 = p2;
|
|
191
|
-
return Is.objectLiteral(H2) && Range.is(H2.range) && Color.is(H2.color);
|
|
192
|
-
}
|
|
193
|
-
p.is = U;
|
|
194
|
-
})(ColorInformation || (ColorInformation = {})), (function(p) {
|
|
195
|
-
function H(p2, H2, U2) {
|
|
196
|
-
return {
|
|
197
|
-
label: p2,
|
|
198
|
-
textEdit: H2,
|
|
199
|
-
additionalTextEdits: U2
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
|
-
p.create = H;
|
|
203
|
-
function U(p2) {
|
|
204
|
-
let H2 = p2;
|
|
205
|
-
return Is.objectLiteral(H2) && Is.string(H2.label) && (Is.undefined(H2.textEdit) || TextEdit.is(H2)) && (Is.undefined(H2.additionalTextEdits) || Is.typedArray(H2.additionalTextEdits, TextEdit.is));
|
|
206
|
-
}
|
|
207
|
-
p.is = U;
|
|
208
|
-
})(ColorPresentation || (ColorPresentation = {})), (function(p) {
|
|
209
|
-
p.Comment = "comment", p.Imports = "imports", p.Region = "region";
|
|
210
|
-
})(FoldingRangeKind || (FoldingRangeKind = {})), (function(p) {
|
|
211
|
-
function H(p2, H2, U2, W, G, K) {
|
|
212
|
-
let q = {
|
|
213
|
-
startLine: p2,
|
|
214
|
-
endLine: H2
|
|
215
|
-
};
|
|
216
|
-
return Is.defined(U2) && (q.startCharacter = U2), Is.defined(W) && (q.endCharacter = W), Is.defined(G) && (q.kind = G), Is.defined(K) && (q.collapsedText = K), q;
|
|
217
|
-
}
|
|
218
|
-
p.create = H;
|
|
219
|
-
function U(p2) {
|
|
220
|
-
let H2 = p2;
|
|
221
|
-
return Is.objectLiteral(H2) && Is.uinteger(H2.startLine) && Is.uinteger(H2.startLine) && (Is.undefined(H2.startCharacter) || Is.uinteger(H2.startCharacter)) && (Is.undefined(H2.endCharacter) || Is.uinteger(H2.endCharacter)) && (Is.undefined(H2.kind) || Is.string(H2.kind));
|
|
222
|
-
}
|
|
223
|
-
p.is = U;
|
|
224
|
-
})(FoldingRange || (FoldingRange = {})), (function(p) {
|
|
225
|
-
function H(p2, H2) {
|
|
226
|
-
return {
|
|
227
|
-
location: p2,
|
|
228
|
-
message: H2
|
|
229
|
-
};
|
|
230
|
-
}
|
|
231
|
-
p.create = H;
|
|
232
|
-
function U(p2) {
|
|
233
|
-
let H2 = p2;
|
|
234
|
-
return Is.defined(H2) && Location.is(H2.location) && Is.string(H2.message);
|
|
235
|
-
}
|
|
236
|
-
p.is = U;
|
|
237
|
-
})(DiagnosticRelatedInformation || (DiagnosticRelatedInformation = {})), (function(p) {
|
|
238
|
-
p.Error = 1, p.Warning = 2, p.Information = 3, p.Hint = 4;
|
|
239
|
-
})(DiagnosticSeverity || (DiagnosticSeverity = {})), (function(p) {
|
|
240
|
-
p.Unnecessary = 1, p.Deprecated = 2;
|
|
241
|
-
})(DiagnosticTag || (DiagnosticTag = {})), (function(p) {
|
|
242
|
-
function H(p2) {
|
|
243
|
-
let H2 = p2;
|
|
244
|
-
return Is.objectLiteral(H2) && Is.string(H2.href);
|
|
245
|
-
}
|
|
246
|
-
p.is = H;
|
|
247
|
-
})(CodeDescription || (CodeDescription = {})), (function(p) {
|
|
248
|
-
function H(p2, H2, U2, W, G, K) {
|
|
249
|
-
let q = {
|
|
250
|
-
range: p2,
|
|
251
|
-
message: H2
|
|
252
|
-
};
|
|
253
|
-
return Is.defined(U2) && (q.severity = U2), Is.defined(W) && (q.code = W), Is.defined(G) && (q.source = G), Is.defined(K) && (q.relatedInformation = K), q;
|
|
254
|
-
}
|
|
255
|
-
p.create = H;
|
|
256
|
-
function U(p2) {
|
|
257
|
-
var _a;
|
|
258
|
-
let H2 = p2;
|
|
259
|
-
return Is.defined(H2) && Range.is(H2.range) && Is.string(H2.message) && (Is.number(H2.severity) || Is.undefined(H2.severity)) && (Is.integer(H2.code) || Is.string(H2.code) || Is.undefined(H2.code)) && (Is.undefined(H2.codeDescription) || Is.string((_a = H2.codeDescription) == null ? void 0 : _a.href)) && (Is.string(H2.source) || Is.undefined(H2.source)) && (Is.undefined(H2.relatedInformation) || Is.typedArray(H2.relatedInformation, DiagnosticRelatedInformation.is));
|
|
260
|
-
}
|
|
261
|
-
p.is = U;
|
|
262
|
-
})(Diagnostic || (Diagnostic = {})), (function(p) {
|
|
263
|
-
function H(p2, H2, ...U2) {
|
|
264
|
-
let W = {
|
|
265
|
-
title: p2,
|
|
266
|
-
command: H2
|
|
267
|
-
};
|
|
268
|
-
return Is.defined(U2) && U2.length > 0 && (W.arguments = U2), W;
|
|
269
|
-
}
|
|
270
|
-
p.create = H;
|
|
271
|
-
function U(p2) {
|
|
272
|
-
let H2 = p2;
|
|
273
|
-
return Is.defined(H2) && Is.string(H2.title) && Is.string(H2.command);
|
|
274
|
-
}
|
|
275
|
-
p.is = U;
|
|
276
|
-
})(Command || (Command = {})), (function(p) {
|
|
277
|
-
function H(p2, H2) {
|
|
278
|
-
return {
|
|
279
|
-
range: p2,
|
|
280
|
-
newText: H2
|
|
281
|
-
};
|
|
282
|
-
}
|
|
283
|
-
p.replace = H;
|
|
284
|
-
function U(p2, H2) {
|
|
285
|
-
return {
|
|
286
|
-
range: {
|
|
287
|
-
start: p2,
|
|
288
|
-
end: p2
|
|
289
|
-
},
|
|
290
|
-
newText: H2
|
|
291
|
-
};
|
|
292
|
-
}
|
|
293
|
-
p.insert = U;
|
|
294
|
-
function W(p2) {
|
|
295
|
-
return {
|
|
296
|
-
range: p2,
|
|
297
|
-
newText: ""
|
|
298
|
-
};
|
|
299
|
-
}
|
|
300
|
-
p.del = W;
|
|
301
|
-
function G(p2) {
|
|
302
|
-
let H2 = p2;
|
|
303
|
-
return Is.objectLiteral(H2) && Is.string(H2.newText) && Range.is(H2.range);
|
|
304
|
-
}
|
|
305
|
-
p.is = G;
|
|
306
|
-
})(TextEdit || (TextEdit = {})), (function(p) {
|
|
307
|
-
function H(p2, H2, U2) {
|
|
308
|
-
let W = { label: p2 };
|
|
309
|
-
return H2 !== void 0 && (W.needsConfirmation = H2), U2 !== void 0 && (W.description = U2), W;
|
|
310
|
-
}
|
|
311
|
-
p.create = H;
|
|
312
|
-
function U(p2) {
|
|
313
|
-
let H2 = p2;
|
|
314
|
-
return Is.objectLiteral(H2) && Is.string(H2.label) && (Is.boolean(H2.needsConfirmation) || H2.needsConfirmation === void 0) && (Is.string(H2.description) || H2.description === void 0);
|
|
315
|
-
}
|
|
316
|
-
p.is = U;
|
|
317
|
-
})(ChangeAnnotation || (ChangeAnnotation = {})), (function(p) {
|
|
318
|
-
function H(p2) {
|
|
319
|
-
let H2 = p2;
|
|
320
|
-
return Is.string(H2);
|
|
321
|
-
}
|
|
322
|
-
p.is = H;
|
|
323
|
-
})(ChangeAnnotationIdentifier || (ChangeAnnotationIdentifier = {})), (function(p) {
|
|
324
|
-
function H(p2, H2, U2) {
|
|
325
|
-
return {
|
|
326
|
-
range: p2,
|
|
327
|
-
newText: H2,
|
|
328
|
-
annotationId: U2
|
|
329
|
-
};
|
|
330
|
-
}
|
|
331
|
-
p.replace = H;
|
|
332
|
-
function U(p2, H2, U2) {
|
|
333
|
-
return {
|
|
334
|
-
range: {
|
|
335
|
-
start: p2,
|
|
336
|
-
end: p2
|
|
337
|
-
},
|
|
338
|
-
newText: H2,
|
|
339
|
-
annotationId: U2
|
|
340
|
-
};
|
|
341
|
-
}
|
|
342
|
-
p.insert = U;
|
|
343
|
-
function W(p2, H2) {
|
|
344
|
-
return {
|
|
345
|
-
range: p2,
|
|
346
|
-
newText: "",
|
|
347
|
-
annotationId: H2
|
|
348
|
-
};
|
|
349
|
-
}
|
|
350
|
-
p.del = W;
|
|
351
|
-
function G(p2) {
|
|
352
|
-
let H2 = p2;
|
|
353
|
-
return TextEdit.is(H2) && (ChangeAnnotation.is(H2.annotationId) || ChangeAnnotationIdentifier.is(H2.annotationId));
|
|
354
|
-
}
|
|
355
|
-
p.is = G;
|
|
356
|
-
})(AnnotatedTextEdit || (AnnotatedTextEdit = {})), (function(p) {
|
|
357
|
-
function H(p2, H2) {
|
|
358
|
-
return {
|
|
359
|
-
textDocument: p2,
|
|
360
|
-
edits: H2
|
|
361
|
-
};
|
|
362
|
-
}
|
|
363
|
-
p.create = H;
|
|
364
|
-
function U(p2) {
|
|
365
|
-
let H2 = p2;
|
|
366
|
-
return Is.defined(H2) && OptionalVersionedTextDocumentIdentifier.is(H2.textDocument) && Array.isArray(H2.edits);
|
|
367
|
-
}
|
|
368
|
-
p.is = U;
|
|
369
|
-
})(TextDocumentEdit || (TextDocumentEdit = {})), (function(p) {
|
|
370
|
-
function H(p2, H2, U2) {
|
|
371
|
-
let W = {
|
|
372
|
-
kind: "create",
|
|
373
|
-
uri: p2
|
|
374
|
-
};
|
|
375
|
-
return H2 !== void 0 && (H2.overwrite !== void 0 || H2.ignoreIfExists !== void 0) && (W.options = H2), U2 !== void 0 && (W.annotationId = U2), W;
|
|
376
|
-
}
|
|
377
|
-
p.create = H;
|
|
378
|
-
function U(p2) {
|
|
379
|
-
let H2 = p2;
|
|
380
|
-
return H2 && H2.kind === "create" && Is.string(H2.uri) && (H2.options === void 0 || (H2.options.overwrite === void 0 || Is.boolean(H2.options.overwrite)) && (H2.options.ignoreIfExists === void 0 || Is.boolean(H2.options.ignoreIfExists))) && (H2.annotationId === void 0 || ChangeAnnotationIdentifier.is(H2.annotationId));
|
|
381
|
-
}
|
|
382
|
-
p.is = U;
|
|
383
|
-
})(CreateFile || (CreateFile = {})), (function(p) {
|
|
384
|
-
function H(p2, H2, U2, W) {
|
|
385
|
-
let G = {
|
|
386
|
-
kind: "rename",
|
|
387
|
-
oldUri: p2,
|
|
388
|
-
newUri: H2
|
|
389
|
-
};
|
|
390
|
-
return U2 !== void 0 && (U2.overwrite !== void 0 || U2.ignoreIfExists !== void 0) && (G.options = U2), W !== void 0 && (G.annotationId = W), G;
|
|
391
|
-
}
|
|
392
|
-
p.create = H;
|
|
393
|
-
function U(p2) {
|
|
394
|
-
let H2 = p2;
|
|
395
|
-
return H2 && H2.kind === "rename" && Is.string(H2.oldUri) && Is.string(H2.newUri) && (H2.options === void 0 || (H2.options.overwrite === void 0 || Is.boolean(H2.options.overwrite)) && (H2.options.ignoreIfExists === void 0 || Is.boolean(H2.options.ignoreIfExists))) && (H2.annotationId === void 0 || ChangeAnnotationIdentifier.is(H2.annotationId));
|
|
396
|
-
}
|
|
397
|
-
p.is = U;
|
|
398
|
-
})(RenameFile || (RenameFile = {})), (function(p) {
|
|
399
|
-
function H(p2, H2, U2) {
|
|
400
|
-
let W = {
|
|
401
|
-
kind: "delete",
|
|
402
|
-
uri: p2
|
|
403
|
-
};
|
|
404
|
-
return H2 !== void 0 && (H2.recursive !== void 0 || H2.ignoreIfNotExists !== void 0) && (W.options = H2), U2 !== void 0 && (W.annotationId = U2), W;
|
|
405
|
-
}
|
|
406
|
-
p.create = H;
|
|
407
|
-
function U(p2) {
|
|
408
|
-
let H2 = p2;
|
|
409
|
-
return H2 && H2.kind === "delete" && Is.string(H2.uri) && (H2.options === void 0 || (H2.options.recursive === void 0 || Is.boolean(H2.options.recursive)) && (H2.options.ignoreIfNotExists === void 0 || Is.boolean(H2.options.ignoreIfNotExists))) && (H2.annotationId === void 0 || ChangeAnnotationIdentifier.is(H2.annotationId));
|
|
410
|
-
}
|
|
411
|
-
p.is = U;
|
|
412
|
-
})(DeleteFile || (DeleteFile = {})), (function(p) {
|
|
413
|
-
function H(p2) {
|
|
414
|
-
let H2 = p2;
|
|
415
|
-
return H2 && (H2.changes !== void 0 || H2.documentChanges !== void 0) && (H2.documentChanges === void 0 || H2.documentChanges.every((p3) => Is.string(p3.kind) ? CreateFile.is(p3) || RenameFile.is(p3) || DeleteFile.is(p3) : TextDocumentEdit.is(p3)));
|
|
416
|
-
}
|
|
417
|
-
p.is = H;
|
|
418
|
-
})(WorkspaceEdit || (WorkspaceEdit = {})), TextEditChangeImpl = class {
|
|
419
|
-
constructor(p, H) {
|
|
420
|
-
this.edits = p, this.changeAnnotations = H;
|
|
421
|
-
}
|
|
422
|
-
insert(p, H, U) {
|
|
423
|
-
let W, G;
|
|
424
|
-
if (U === void 0 ? W = TextEdit.insert(p, H) : ChangeAnnotationIdentifier.is(U) ? (G = U, W = AnnotatedTextEdit.insert(p, H, U)) : (this.assertChangeAnnotations(this.changeAnnotations), G = this.changeAnnotations.manage(U), W = AnnotatedTextEdit.insert(p, H, G)), this.edits.push(W), G !== void 0) return G;
|
|
425
|
-
}
|
|
426
|
-
replace(p, H, U) {
|
|
427
|
-
let W, G;
|
|
428
|
-
if (U === void 0 ? W = TextEdit.replace(p, H) : ChangeAnnotationIdentifier.is(U) ? (G = U, W = AnnotatedTextEdit.replace(p, H, U)) : (this.assertChangeAnnotations(this.changeAnnotations), G = this.changeAnnotations.manage(U), W = AnnotatedTextEdit.replace(p, H, G)), this.edits.push(W), G !== void 0) return G;
|
|
429
|
-
}
|
|
430
|
-
delete(p, H) {
|
|
431
|
-
let U, W;
|
|
432
|
-
if (H === void 0 ? U = TextEdit.del(p) : ChangeAnnotationIdentifier.is(H) ? (W = H, U = AnnotatedTextEdit.del(p, H)) : (this.assertChangeAnnotations(this.changeAnnotations), W = this.changeAnnotations.manage(H), U = AnnotatedTextEdit.del(p, W)), this.edits.push(U), W !== void 0) return W;
|
|
433
|
-
}
|
|
434
|
-
add(p) {
|
|
435
|
-
this.edits.push(p);
|
|
436
|
-
}
|
|
437
|
-
all() {
|
|
438
|
-
return this.edits;
|
|
439
|
-
}
|
|
440
|
-
clear() {
|
|
441
|
-
this.edits.splice(0, this.edits.length);
|
|
442
|
-
}
|
|
443
|
-
assertChangeAnnotations(p) {
|
|
444
|
-
if (p === void 0) throw Error("Text edit change is not configured to manage change annotations.");
|
|
445
|
-
}
|
|
446
|
-
}, ChangeAnnotations = class {
|
|
447
|
-
constructor(p) {
|
|
448
|
-
this._annotations = p === void 0 ? /* @__PURE__ */ Object.create(null) : p, this._counter = 0, this._size = 0;
|
|
449
|
-
}
|
|
450
|
-
all() {
|
|
451
|
-
return this._annotations;
|
|
452
|
-
}
|
|
453
|
-
get size() {
|
|
454
|
-
return this._size;
|
|
455
|
-
}
|
|
456
|
-
manage(p, H) {
|
|
457
|
-
let U;
|
|
458
|
-
if (ChangeAnnotationIdentifier.is(p) ? U = p : (U = this.nextId(), H = p), this._annotations[U] !== void 0) throw Error(`Id ${U} is already in use.`);
|
|
459
|
-
if (H === void 0) throw Error(`No annotation provided for id ${U}`);
|
|
460
|
-
return this._annotations[U] = H, this._size++, U;
|
|
461
|
-
}
|
|
462
|
-
nextId() {
|
|
463
|
-
return this._counter++, this._counter.toString();
|
|
464
|
-
}
|
|
465
|
-
}, WorkspaceChange = class {
|
|
466
|
-
constructor(p) {
|
|
467
|
-
this._textEditChanges = /* @__PURE__ */ Object.create(null), p === void 0 ? this._workspaceEdit = {} : (this._workspaceEdit = p, p.documentChanges ? (this._changeAnnotations = new ChangeAnnotations(p.changeAnnotations), p.changeAnnotations = this._changeAnnotations.all(), p.documentChanges.forEach((p2) => {
|
|
468
|
-
if (TextDocumentEdit.is(p2)) {
|
|
469
|
-
let H = new TextEditChangeImpl(p2.edits, this._changeAnnotations);
|
|
470
|
-
this._textEditChanges[p2.textDocument.uri] = H;
|
|
471
|
-
}
|
|
472
|
-
})) : p.changes && Object.keys(p.changes).forEach((H) => {
|
|
473
|
-
let U = new TextEditChangeImpl(p.changes[H]);
|
|
474
|
-
this._textEditChanges[H] = U;
|
|
475
|
-
}));
|
|
476
|
-
}
|
|
477
|
-
get edit() {
|
|
478
|
-
return this.initDocumentChanges(), this._changeAnnotations !== void 0 && (this._changeAnnotations.size === 0 ? this._workspaceEdit.changeAnnotations = void 0 : this._workspaceEdit.changeAnnotations = this._changeAnnotations.all()), this._workspaceEdit;
|
|
479
|
-
}
|
|
480
|
-
getTextEditChange(p) {
|
|
481
|
-
if (OptionalVersionedTextDocumentIdentifier.is(p)) {
|
|
482
|
-
if (this.initDocumentChanges(), this._workspaceEdit.documentChanges === void 0) throw Error("Workspace edit is not configured for document changes.");
|
|
483
|
-
let H = {
|
|
484
|
-
uri: p.uri,
|
|
485
|
-
version: p.version
|
|
486
|
-
}, U = this._textEditChanges[H.uri];
|
|
487
|
-
if (!U) {
|
|
488
|
-
let p2 = [], W = {
|
|
489
|
-
textDocument: H,
|
|
490
|
-
edits: p2
|
|
491
|
-
};
|
|
492
|
-
this._workspaceEdit.documentChanges.push(W), U = new TextEditChangeImpl(p2, this._changeAnnotations), this._textEditChanges[H.uri] = U;
|
|
493
|
-
}
|
|
494
|
-
return U;
|
|
495
|
-
} else {
|
|
496
|
-
if (this.initChanges(), this._workspaceEdit.changes === void 0) throw Error("Workspace edit is not configured for normal text edit changes.");
|
|
497
|
-
let H = this._textEditChanges[p];
|
|
498
|
-
if (!H) {
|
|
499
|
-
let U = [];
|
|
500
|
-
this._workspaceEdit.changes[p] = U, H = new TextEditChangeImpl(U), this._textEditChanges[p] = H;
|
|
501
|
-
}
|
|
502
|
-
return H;
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
initDocumentChanges() {
|
|
506
|
-
this._workspaceEdit.documentChanges === void 0 && this._workspaceEdit.changes === void 0 && (this._changeAnnotations = new ChangeAnnotations(), this._workspaceEdit.documentChanges = [], this._workspaceEdit.changeAnnotations = this._changeAnnotations.all());
|
|
507
|
-
}
|
|
508
|
-
initChanges() {
|
|
509
|
-
this._workspaceEdit.documentChanges === void 0 && this._workspaceEdit.changes === void 0 && (this._workspaceEdit.changes = /* @__PURE__ */ Object.create(null));
|
|
510
|
-
}
|
|
511
|
-
createFile(p, H, U) {
|
|
512
|
-
if (this.initDocumentChanges(), this._workspaceEdit.documentChanges === void 0) throw Error("Workspace edit is not configured for document changes.");
|
|
513
|
-
let W;
|
|
514
|
-
ChangeAnnotation.is(H) || ChangeAnnotationIdentifier.is(H) ? W = H : U = H;
|
|
515
|
-
let G, K;
|
|
516
|
-
if (W === void 0 ? G = CreateFile.create(p, U) : (K = ChangeAnnotationIdentifier.is(W) ? W : this._changeAnnotations.manage(W), G = CreateFile.create(p, U, K)), this._workspaceEdit.documentChanges.push(G), K !== void 0) return K;
|
|
517
|
-
}
|
|
518
|
-
renameFile(p, H, U, W) {
|
|
519
|
-
if (this.initDocumentChanges(), this._workspaceEdit.documentChanges === void 0) throw Error("Workspace edit is not configured for document changes.");
|
|
520
|
-
let G;
|
|
521
|
-
ChangeAnnotation.is(U) || ChangeAnnotationIdentifier.is(U) ? G = U : W = U;
|
|
522
|
-
let K, q;
|
|
523
|
-
if (G === void 0 ? K = RenameFile.create(p, H, W) : (q = ChangeAnnotationIdentifier.is(G) ? G : this._changeAnnotations.manage(G), K = RenameFile.create(p, H, W, q)), this._workspaceEdit.documentChanges.push(K), q !== void 0) return q;
|
|
524
|
-
}
|
|
525
|
-
deleteFile(p, H, U) {
|
|
526
|
-
if (this.initDocumentChanges(), this._workspaceEdit.documentChanges === void 0) throw Error("Workspace edit is not configured for document changes.");
|
|
527
|
-
let W;
|
|
528
|
-
ChangeAnnotation.is(H) || ChangeAnnotationIdentifier.is(H) ? W = H : U = H;
|
|
529
|
-
let G, K;
|
|
530
|
-
if (W === void 0 ? G = DeleteFile.create(p, U) : (K = ChangeAnnotationIdentifier.is(W) ? W : this._changeAnnotations.manage(W), G = DeleteFile.create(p, U, K)), this._workspaceEdit.documentChanges.push(G), K !== void 0) return K;
|
|
531
|
-
}
|
|
532
|
-
}, (function(p) {
|
|
533
|
-
function H(p2) {
|
|
534
|
-
return { uri: p2 };
|
|
535
|
-
}
|
|
536
|
-
p.create = H;
|
|
537
|
-
function U(p2) {
|
|
538
|
-
let H2 = p2;
|
|
539
|
-
return Is.defined(H2) && Is.string(H2.uri);
|
|
540
|
-
}
|
|
541
|
-
p.is = U;
|
|
542
|
-
})(TextDocumentIdentifier || (TextDocumentIdentifier = {})), (function(p) {
|
|
543
|
-
function H(p2, H2) {
|
|
544
|
-
return {
|
|
545
|
-
uri: p2,
|
|
546
|
-
version: H2
|
|
547
|
-
};
|
|
548
|
-
}
|
|
549
|
-
p.create = H;
|
|
550
|
-
function U(p2) {
|
|
551
|
-
let H2 = p2;
|
|
552
|
-
return Is.defined(H2) && Is.string(H2.uri) && Is.integer(H2.version);
|
|
553
|
-
}
|
|
554
|
-
p.is = U;
|
|
555
|
-
})(VersionedTextDocumentIdentifier || (VersionedTextDocumentIdentifier = {})), (function(p) {
|
|
556
|
-
function H(p2, H2) {
|
|
557
|
-
return {
|
|
558
|
-
uri: p2,
|
|
559
|
-
version: H2
|
|
560
|
-
};
|
|
561
|
-
}
|
|
562
|
-
p.create = H;
|
|
563
|
-
function U(p2) {
|
|
564
|
-
let H2 = p2;
|
|
565
|
-
return Is.defined(H2) && Is.string(H2.uri) && (H2.version === null || Is.integer(H2.version));
|
|
566
|
-
}
|
|
567
|
-
p.is = U;
|
|
568
|
-
})(OptionalVersionedTextDocumentIdentifier || (OptionalVersionedTextDocumentIdentifier = {})), (function(p) {
|
|
569
|
-
function H(p2, H2, U2, W) {
|
|
570
|
-
return {
|
|
571
|
-
uri: p2,
|
|
572
|
-
languageId: H2,
|
|
573
|
-
version: U2,
|
|
574
|
-
text: W
|
|
575
|
-
};
|
|
576
|
-
}
|
|
577
|
-
p.create = H;
|
|
578
|
-
function U(p2) {
|
|
579
|
-
let H2 = p2;
|
|
580
|
-
return Is.defined(H2) && Is.string(H2.uri) && Is.string(H2.languageId) && Is.integer(H2.version) && Is.string(H2.text);
|
|
581
|
-
}
|
|
582
|
-
p.is = U;
|
|
583
|
-
})(TextDocumentItem || (TextDocumentItem = {})), (function(p) {
|
|
584
|
-
p.PlainText = "plaintext", p.Markdown = "markdown";
|
|
585
|
-
function H(H2) {
|
|
586
|
-
let U = H2;
|
|
587
|
-
return U === p.PlainText || U === p.Markdown;
|
|
588
|
-
}
|
|
589
|
-
p.is = H;
|
|
590
|
-
})(MarkupKind || (MarkupKind = {})), (function(p) {
|
|
591
|
-
function H(p2) {
|
|
592
|
-
let H2 = p2;
|
|
593
|
-
return Is.objectLiteral(p2) && MarkupKind.is(H2.kind) && Is.string(H2.value);
|
|
594
|
-
}
|
|
595
|
-
p.is = H;
|
|
596
|
-
})(MarkupContent || (MarkupContent = {})), (function(p) {
|
|
597
|
-
p.Text = 1, p.Method = 2, p.Function = 3, p.Constructor = 4, p.Field = 5, p.Variable = 6, p.Class = 7, p.Interface = 8, p.Module = 9, p.Property = 10, p.Unit = 11, p.Value = 12, p.Enum = 13, p.Keyword = 14, p.Snippet = 15, p.Color = 16, p.File = 17, p.Reference = 18, p.Folder = 19, p.EnumMember = 20, p.Constant = 21, p.Struct = 22, p.Event = 23, p.Operator = 24, p.TypeParameter = 25;
|
|
598
|
-
})(CompletionItemKind || (CompletionItemKind = {})), (function(p) {
|
|
599
|
-
p.PlainText = 1, p.Snippet = 2;
|
|
600
|
-
})(InsertTextFormat || (InsertTextFormat = {})), (function(p) {
|
|
601
|
-
p.Deprecated = 1;
|
|
602
|
-
})(CompletionItemTag || (CompletionItemTag = {})), (function(p) {
|
|
603
|
-
function H(p2, H2, U2) {
|
|
604
|
-
return {
|
|
605
|
-
newText: p2,
|
|
606
|
-
insert: H2,
|
|
607
|
-
replace: U2
|
|
608
|
-
};
|
|
609
|
-
}
|
|
610
|
-
p.create = H;
|
|
611
|
-
function U(p2) {
|
|
612
|
-
let H2 = p2;
|
|
613
|
-
return H2 && Is.string(H2.newText) && Range.is(H2.insert) && Range.is(H2.replace);
|
|
614
|
-
}
|
|
615
|
-
p.is = U;
|
|
616
|
-
})(InsertReplaceEdit || (InsertReplaceEdit = {})), (function(p) {
|
|
617
|
-
p.asIs = 1, p.adjustIndentation = 2;
|
|
618
|
-
})(InsertTextMode || (InsertTextMode = {})), (function(p) {
|
|
619
|
-
function H(p2) {
|
|
620
|
-
let H2 = p2;
|
|
621
|
-
return H2 && (Is.string(H2.detail) || H2.detail === void 0) && (Is.string(H2.description) || H2.description === void 0);
|
|
622
|
-
}
|
|
623
|
-
p.is = H;
|
|
624
|
-
})(CompletionItemLabelDetails || (CompletionItemLabelDetails = {})), (function(p) {
|
|
625
|
-
function H(p2) {
|
|
626
|
-
return { label: p2 };
|
|
627
|
-
}
|
|
628
|
-
p.create = H;
|
|
629
|
-
})(CompletionItem || (CompletionItem = {})), (function(p) {
|
|
630
|
-
function H(p2, H2) {
|
|
631
|
-
return {
|
|
632
|
-
items: p2 || [],
|
|
633
|
-
isIncomplete: !!H2
|
|
634
|
-
};
|
|
635
|
-
}
|
|
636
|
-
p.create = H;
|
|
637
|
-
})(CompletionList || (CompletionList = {})), (function(p) {
|
|
638
|
-
function H(p2) {
|
|
639
|
-
return p2.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&");
|
|
640
|
-
}
|
|
641
|
-
p.fromPlainText = H;
|
|
642
|
-
function U(p2) {
|
|
643
|
-
let H2 = p2;
|
|
644
|
-
return Is.string(H2) || Is.objectLiteral(H2) && Is.string(H2.language) && Is.string(H2.value);
|
|
645
|
-
}
|
|
646
|
-
p.is = U;
|
|
647
|
-
})(MarkedString || (MarkedString = {})), (function(p) {
|
|
648
|
-
function H(p2) {
|
|
649
|
-
let H2 = p2;
|
|
650
|
-
return !!H2 && Is.objectLiteral(H2) && (MarkupContent.is(H2.contents) || MarkedString.is(H2.contents) || Is.typedArray(H2.contents, MarkedString.is)) && (p2.range === void 0 || Range.is(p2.range));
|
|
651
|
-
}
|
|
652
|
-
p.is = H;
|
|
653
|
-
})(Hover || (Hover = {})), (function(p) {
|
|
654
|
-
function H(p2, H2) {
|
|
655
|
-
return H2 ? {
|
|
656
|
-
label: p2,
|
|
657
|
-
documentation: H2
|
|
658
|
-
} : { label: p2 };
|
|
659
|
-
}
|
|
660
|
-
p.create = H;
|
|
661
|
-
})(ParameterInformation || (ParameterInformation = {})), (function(p) {
|
|
662
|
-
function H(p2, H2, ...U) {
|
|
663
|
-
let W = { label: p2 };
|
|
664
|
-
return Is.defined(H2) && (W.documentation = H2), Is.defined(U) ? W.parameters = U : W.parameters = [], W;
|
|
665
|
-
}
|
|
666
|
-
p.create = H;
|
|
667
|
-
})(SignatureInformation || (SignatureInformation = {})), (function(p) {
|
|
668
|
-
p.Text = 1, p.Read = 2, p.Write = 3;
|
|
669
|
-
})(DocumentHighlightKind || (DocumentHighlightKind = {})), (function(p) {
|
|
670
|
-
function H(p2, H2) {
|
|
671
|
-
let U = { range: p2 };
|
|
672
|
-
return Is.number(H2) && (U.kind = H2), U;
|
|
673
|
-
}
|
|
674
|
-
p.create = H;
|
|
675
|
-
})(DocumentHighlight || (DocumentHighlight = {})), (function(p) {
|
|
676
|
-
p.File = 1, p.Module = 2, p.Namespace = 3, p.Package = 4, p.Class = 5, p.Method = 6, p.Property = 7, p.Field = 8, p.Constructor = 9, p.Enum = 10, p.Interface = 11, p.Function = 12, p.Variable = 13, p.Constant = 14, p.String = 15, p.Number = 16, p.Boolean = 17, p.Array = 18, p.Object = 19, p.Key = 20, p.Null = 21, p.EnumMember = 22, p.Struct = 23, p.Event = 24, p.Operator = 25, p.TypeParameter = 26;
|
|
677
|
-
})(SymbolKind || (SymbolKind = {})), (function(p) {
|
|
678
|
-
p.Deprecated = 1;
|
|
679
|
-
})(SymbolTag || (SymbolTag = {})), (function(p) {
|
|
680
|
-
function H(p2, H2, U, W, G) {
|
|
681
|
-
let K = {
|
|
682
|
-
name: p2,
|
|
683
|
-
kind: H2,
|
|
684
|
-
location: {
|
|
685
|
-
uri: W,
|
|
686
|
-
range: U
|
|
687
|
-
}
|
|
688
|
-
};
|
|
689
|
-
return G && (K.containerName = G), K;
|
|
690
|
-
}
|
|
691
|
-
p.create = H;
|
|
692
|
-
})(SymbolInformation || (SymbolInformation = {})), (function(p) {
|
|
693
|
-
function H(p2, H2, U, W) {
|
|
694
|
-
return W === void 0 ? {
|
|
695
|
-
name: p2,
|
|
696
|
-
kind: H2,
|
|
697
|
-
location: { uri: U }
|
|
698
|
-
} : {
|
|
699
|
-
name: p2,
|
|
700
|
-
kind: H2,
|
|
701
|
-
location: {
|
|
702
|
-
uri: U,
|
|
703
|
-
range: W
|
|
704
|
-
}
|
|
705
|
-
};
|
|
706
|
-
}
|
|
707
|
-
p.create = H;
|
|
708
|
-
})(WorkspaceSymbol || (WorkspaceSymbol = {})), (function(p) {
|
|
709
|
-
function H(p2, H2, U2, W, G, K) {
|
|
710
|
-
let q = {
|
|
711
|
-
name: p2,
|
|
712
|
-
detail: H2,
|
|
713
|
-
kind: U2,
|
|
714
|
-
range: W,
|
|
715
|
-
selectionRange: G
|
|
716
|
-
};
|
|
717
|
-
return K !== void 0 && (q.children = K), q;
|
|
718
|
-
}
|
|
719
|
-
p.create = H;
|
|
720
|
-
function U(p2) {
|
|
721
|
-
let H2 = p2;
|
|
722
|
-
return H2 && Is.string(H2.name) && Is.number(H2.kind) && Range.is(H2.range) && Range.is(H2.selectionRange) && (H2.detail === void 0 || Is.string(H2.detail)) && (H2.deprecated === void 0 || Is.boolean(H2.deprecated)) && (H2.children === void 0 || Array.isArray(H2.children)) && (H2.tags === void 0 || Array.isArray(H2.tags));
|
|
723
|
-
}
|
|
724
|
-
p.is = U;
|
|
725
|
-
})(DocumentSymbol || (DocumentSymbol = {})), (function(p) {
|
|
726
|
-
p.Empty = "", p.QuickFix = "quickfix", p.Refactor = "refactor", p.RefactorExtract = "refactor.extract", p.RefactorInline = "refactor.inline", p.RefactorRewrite = "refactor.rewrite", p.Source = "source", p.SourceOrganizeImports = "source.organizeImports", p.SourceFixAll = "source.fixAll";
|
|
727
|
-
})(CodeActionKind || (CodeActionKind = {})), (function(p) {
|
|
728
|
-
p.Invoked = 1, p.Automatic = 2;
|
|
729
|
-
})(CodeActionTriggerKind || (CodeActionTriggerKind = {})), (function(p) {
|
|
730
|
-
function H(p2, H2, U2) {
|
|
731
|
-
let W = { diagnostics: p2 };
|
|
732
|
-
return H2 != null && (W.only = H2), U2 != null && (W.triggerKind = U2), W;
|
|
733
|
-
}
|
|
734
|
-
p.create = H;
|
|
735
|
-
function U(p2) {
|
|
736
|
-
let H2 = p2;
|
|
737
|
-
return Is.defined(H2) && Is.typedArray(H2.diagnostics, Diagnostic.is) && (H2.only === void 0 || Is.typedArray(H2.only, Is.string)) && (H2.triggerKind === void 0 || H2.triggerKind === CodeActionTriggerKind.Invoked || H2.triggerKind === CodeActionTriggerKind.Automatic);
|
|
738
|
-
}
|
|
739
|
-
p.is = U;
|
|
740
|
-
})(CodeActionContext || (CodeActionContext = {})), (function(p) {
|
|
741
|
-
function H(p2, H2, U2) {
|
|
742
|
-
let W = { title: p2 }, G = true;
|
|
743
|
-
return typeof H2 == "string" ? (G = false, W.kind = H2) : Command.is(H2) ? W.command = H2 : W.edit = H2, G && U2 !== void 0 && (W.kind = U2), W;
|
|
744
|
-
}
|
|
745
|
-
p.create = H;
|
|
746
|
-
function U(p2) {
|
|
747
|
-
let H2 = p2;
|
|
748
|
-
return H2 && Is.string(H2.title) && (H2.diagnostics === void 0 || Is.typedArray(H2.diagnostics, Diagnostic.is)) && (H2.kind === void 0 || Is.string(H2.kind)) && (H2.edit !== void 0 || H2.command !== void 0) && (H2.command === void 0 || Command.is(H2.command)) && (H2.isPreferred === void 0 || Is.boolean(H2.isPreferred)) && (H2.edit === void 0 || WorkspaceEdit.is(H2.edit));
|
|
749
|
-
}
|
|
750
|
-
p.is = U;
|
|
751
|
-
})(CodeAction || (CodeAction = {})), (function(p) {
|
|
752
|
-
function H(p2, H2) {
|
|
753
|
-
let U2 = { range: p2 };
|
|
754
|
-
return Is.defined(H2) && (U2.data = H2), U2;
|
|
755
|
-
}
|
|
756
|
-
p.create = H;
|
|
757
|
-
function U(p2) {
|
|
758
|
-
let H2 = p2;
|
|
759
|
-
return Is.defined(H2) && Range.is(H2.range) && (Is.undefined(H2.command) || Command.is(H2.command));
|
|
760
|
-
}
|
|
761
|
-
p.is = U;
|
|
762
|
-
})(CodeLens || (CodeLens = {})), (function(p) {
|
|
763
|
-
function H(p2, H2) {
|
|
764
|
-
return {
|
|
765
|
-
tabSize: p2,
|
|
766
|
-
insertSpaces: H2
|
|
767
|
-
};
|
|
768
|
-
}
|
|
769
|
-
p.create = H;
|
|
770
|
-
function U(p2) {
|
|
771
|
-
let H2 = p2;
|
|
772
|
-
return Is.defined(H2) && Is.uinteger(H2.tabSize) && Is.boolean(H2.insertSpaces);
|
|
773
|
-
}
|
|
774
|
-
p.is = U;
|
|
775
|
-
})(FormattingOptions || (FormattingOptions = {})), (function(p) {
|
|
776
|
-
function H(p2, H2, U2) {
|
|
777
|
-
return {
|
|
778
|
-
range: p2,
|
|
779
|
-
target: H2,
|
|
780
|
-
data: U2
|
|
781
|
-
};
|
|
782
|
-
}
|
|
783
|
-
p.create = H;
|
|
784
|
-
function U(p2) {
|
|
785
|
-
let H2 = p2;
|
|
786
|
-
return Is.defined(H2) && Range.is(H2.range) && (Is.undefined(H2.target) || Is.string(H2.target));
|
|
787
|
-
}
|
|
788
|
-
p.is = U;
|
|
789
|
-
})(DocumentLink || (DocumentLink = {})), (function(p) {
|
|
790
|
-
function H(p2, H2) {
|
|
791
|
-
return {
|
|
792
|
-
range: p2,
|
|
793
|
-
parent: H2
|
|
794
|
-
};
|
|
795
|
-
}
|
|
796
|
-
p.create = H;
|
|
797
|
-
function U(H2) {
|
|
798
|
-
let U2 = H2;
|
|
799
|
-
return Is.objectLiteral(U2) && Range.is(U2.range) && (U2.parent === void 0 || p.is(U2.parent));
|
|
800
|
-
}
|
|
801
|
-
p.is = U;
|
|
802
|
-
})(SelectionRange || (SelectionRange = {})), (function(p) {
|
|
803
|
-
p.namespace = "namespace", p.type = "type", p.class = "class", p.enum = "enum", p.interface = "interface", p.struct = "struct", p.typeParameter = "typeParameter", p.parameter = "parameter", p.variable = "variable", p.property = "property", p.enumMember = "enumMember", p.event = "event", p.function = "function", p.method = "method", p.macro = "macro", p.keyword = "keyword", p.modifier = "modifier", p.comment = "comment", p.string = "string", p.number = "number", p.regexp = "regexp", p.operator = "operator", p.decorator = "decorator";
|
|
804
|
-
})(SemanticTokenTypes || (SemanticTokenTypes = {})), (function(p) {
|
|
805
|
-
p.declaration = "declaration", p.definition = "definition", p.readonly = "readonly", p.static = "static", p.deprecated = "deprecated", p.abstract = "abstract", p.async = "async", p.modification = "modification", p.documentation = "documentation", p.defaultLibrary = "defaultLibrary";
|
|
806
|
-
})(SemanticTokenModifiers || (SemanticTokenModifiers = {})), (function(p) {
|
|
807
|
-
function H(p2) {
|
|
808
|
-
let H2 = p2;
|
|
809
|
-
return Is.objectLiteral(H2) && (H2.resultId === void 0 || typeof H2.resultId == "string") && Array.isArray(H2.data) && (H2.data.length === 0 || typeof H2.data[0] == "number");
|
|
810
|
-
}
|
|
811
|
-
p.is = H;
|
|
812
|
-
})(SemanticTokens || (SemanticTokens = {})), (function(p) {
|
|
813
|
-
function H(p2, H2) {
|
|
814
|
-
return {
|
|
815
|
-
range: p2,
|
|
816
|
-
text: H2
|
|
817
|
-
};
|
|
818
|
-
}
|
|
819
|
-
p.create = H;
|
|
820
|
-
function U(p2) {
|
|
821
|
-
let H2 = p2;
|
|
822
|
-
return H2 != null && Range.is(H2.range) && Is.string(H2.text);
|
|
823
|
-
}
|
|
824
|
-
p.is = U;
|
|
825
|
-
})(InlineValueText || (InlineValueText = {})), (function(p) {
|
|
826
|
-
function H(p2, H2, U2) {
|
|
827
|
-
return {
|
|
828
|
-
range: p2,
|
|
829
|
-
variableName: H2,
|
|
830
|
-
caseSensitiveLookup: U2
|
|
831
|
-
};
|
|
832
|
-
}
|
|
833
|
-
p.create = H;
|
|
834
|
-
function U(p2) {
|
|
835
|
-
let H2 = p2;
|
|
836
|
-
return H2 != null && Range.is(H2.range) && Is.boolean(H2.caseSensitiveLookup) && (Is.string(H2.variableName) || H2.variableName === void 0);
|
|
837
|
-
}
|
|
838
|
-
p.is = U;
|
|
839
|
-
})(InlineValueVariableLookup || (InlineValueVariableLookup = {})), (function(p) {
|
|
840
|
-
function H(p2, H2) {
|
|
841
|
-
return {
|
|
842
|
-
range: p2,
|
|
843
|
-
expression: H2
|
|
844
|
-
};
|
|
845
|
-
}
|
|
846
|
-
p.create = H;
|
|
847
|
-
function U(p2) {
|
|
848
|
-
let H2 = p2;
|
|
849
|
-
return H2 != null && Range.is(H2.range) && (Is.string(H2.expression) || H2.expression === void 0);
|
|
850
|
-
}
|
|
851
|
-
p.is = U;
|
|
852
|
-
})(InlineValueEvaluatableExpression || (InlineValueEvaluatableExpression = {})), (function(p) {
|
|
853
|
-
function H(p2, H2) {
|
|
854
|
-
return {
|
|
855
|
-
frameId: p2,
|
|
856
|
-
stoppedLocation: H2
|
|
857
|
-
};
|
|
858
|
-
}
|
|
859
|
-
p.create = H;
|
|
860
|
-
function U(p2) {
|
|
861
|
-
let H2 = p2;
|
|
862
|
-
return Is.defined(H2) && Range.is(p2.stoppedLocation);
|
|
863
|
-
}
|
|
864
|
-
p.is = U;
|
|
865
|
-
})(InlineValueContext || (InlineValueContext = {})), (function(p) {
|
|
866
|
-
p.Type = 1, p.Parameter = 2;
|
|
867
|
-
function H(p2) {
|
|
868
|
-
return p2 === 1 || p2 === 2;
|
|
869
|
-
}
|
|
870
|
-
p.is = H;
|
|
871
|
-
})(InlayHintKind || (InlayHintKind = {})), (function(p) {
|
|
872
|
-
function H(p2) {
|
|
873
|
-
return { value: p2 };
|
|
874
|
-
}
|
|
875
|
-
p.create = H;
|
|
876
|
-
function U(p2) {
|
|
877
|
-
let H2 = p2;
|
|
878
|
-
return Is.objectLiteral(H2) && (H2.tooltip === void 0 || Is.string(H2.tooltip) || MarkupContent.is(H2.tooltip)) && (H2.location === void 0 || Location.is(H2.location)) && (H2.command === void 0 || Command.is(H2.command));
|
|
879
|
-
}
|
|
880
|
-
p.is = U;
|
|
881
|
-
})(InlayHintLabelPart || (InlayHintLabelPart = {})), (function(p) {
|
|
882
|
-
function H(p2, H2, U2) {
|
|
883
|
-
let W = {
|
|
884
|
-
position: p2,
|
|
885
|
-
label: H2
|
|
886
|
-
};
|
|
887
|
-
return U2 !== void 0 && (W.kind = U2), W;
|
|
888
|
-
}
|
|
889
|
-
p.create = H;
|
|
890
|
-
function U(p2) {
|
|
891
|
-
let H2 = p2;
|
|
892
|
-
return Is.objectLiteral(H2) && Position.is(H2.position) && (Is.string(H2.label) || Is.typedArray(H2.label, InlayHintLabelPart.is)) && (H2.kind === void 0 || InlayHintKind.is(H2.kind)) && H2.textEdits === void 0 || Is.typedArray(H2.textEdits, TextEdit.is) && (H2.tooltip === void 0 || Is.string(H2.tooltip) || MarkupContent.is(H2.tooltip)) && (H2.paddingLeft === void 0 || Is.boolean(H2.paddingLeft)) && (H2.paddingRight === void 0 || Is.boolean(H2.paddingRight));
|
|
893
|
-
}
|
|
894
|
-
p.is = U;
|
|
895
|
-
})(InlayHint || (InlayHint = {})), (function(p) {
|
|
896
|
-
function H(p2) {
|
|
897
|
-
return {
|
|
898
|
-
kind: "snippet",
|
|
899
|
-
value: p2
|
|
900
|
-
};
|
|
901
|
-
}
|
|
902
|
-
p.createSnippet = H;
|
|
903
|
-
})(StringValue || (StringValue = {})), (function(p) {
|
|
904
|
-
function H(p2, H2, U, W) {
|
|
905
|
-
return {
|
|
906
|
-
insertText: p2,
|
|
907
|
-
filterText: H2,
|
|
908
|
-
range: U,
|
|
909
|
-
command: W
|
|
910
|
-
};
|
|
911
|
-
}
|
|
912
|
-
p.create = H;
|
|
913
|
-
})(InlineCompletionItem || (InlineCompletionItem = {})), (function(p) {
|
|
914
|
-
function H(p2) {
|
|
915
|
-
return { items: p2 };
|
|
916
|
-
}
|
|
917
|
-
p.create = H;
|
|
918
|
-
})(InlineCompletionList || (InlineCompletionList = {})), (function(p) {
|
|
919
|
-
p.Invoked = 0, p.Automatic = 1;
|
|
920
|
-
})(InlineCompletionTriggerKind || (InlineCompletionTriggerKind = {})), (function(p) {
|
|
921
|
-
function H(p2, H2) {
|
|
922
|
-
return {
|
|
923
|
-
range: p2,
|
|
924
|
-
text: H2
|
|
925
|
-
};
|
|
926
|
-
}
|
|
927
|
-
p.create = H;
|
|
928
|
-
})(SelectedCompletionInfo || (SelectedCompletionInfo = {})), (function(p) {
|
|
929
|
-
function H(p2, H2) {
|
|
930
|
-
return {
|
|
931
|
-
triggerKind: p2,
|
|
932
|
-
selectedCompletionInfo: H2
|
|
933
|
-
};
|
|
934
|
-
}
|
|
935
|
-
p.create = H;
|
|
936
|
-
})(InlineCompletionContext || (InlineCompletionContext = {})), (function(p) {
|
|
937
|
-
function H(p2) {
|
|
938
|
-
let H2 = p2;
|
|
939
|
-
return Is.objectLiteral(H2) && URI.is(H2.uri) && Is.string(H2.name);
|
|
940
|
-
}
|
|
941
|
-
p.is = H;
|
|
942
|
-
})(WorkspaceFolder || (WorkspaceFolder = {})), EOL = [
|
|
943
|
-
"\n",
|
|
944
|
-
"\r\n",
|
|
945
|
-
"\r"
|
|
946
|
-
], (function(p) {
|
|
947
|
-
function H(p2, H2, U2, W2) {
|
|
948
|
-
return new FullTextDocument(p2, H2, U2, W2);
|
|
949
|
-
}
|
|
950
|
-
p.create = H;
|
|
951
|
-
function U(p2) {
|
|
952
|
-
let H2 = p2;
|
|
953
|
-
return !!(Is.defined(H2) && Is.string(H2.uri) && (Is.undefined(H2.languageId) || Is.string(H2.languageId)) && Is.uinteger(H2.lineCount) && Is.func(H2.getText) && Is.func(H2.positionAt) && Is.func(H2.offsetAt));
|
|
954
|
-
}
|
|
955
|
-
p.is = U;
|
|
956
|
-
function W(p2, H2) {
|
|
957
|
-
let U2 = p2.getText(), W2 = G(H2, (p3, H3) => {
|
|
958
|
-
let U3 = p3.range.start.line - H3.range.start.line;
|
|
959
|
-
return U3 === 0 ? p3.range.start.character - H3.range.start.character : U3;
|
|
960
|
-
}), K = U2.length;
|
|
961
|
-
for (let H3 = W2.length - 1; H3 >= 0; H3--) {
|
|
962
|
-
let G2 = W2[H3], q = p2.offsetAt(G2.range.start), J = p2.offsetAt(G2.range.end);
|
|
963
|
-
if (J <= K) U2 = U2.substring(0, q) + G2.newText + U2.substring(J, U2.length);
|
|
964
|
-
else throw Error("Overlapping edit");
|
|
965
|
-
K = q;
|
|
966
|
-
}
|
|
967
|
-
return U2;
|
|
968
|
-
}
|
|
969
|
-
p.applyEdits = W;
|
|
970
|
-
function G(p2, H2) {
|
|
971
|
-
if (p2.length <= 1) return p2;
|
|
972
|
-
let U2 = p2.length / 2 | 0, W2 = p2.slice(0, U2), K = p2.slice(U2);
|
|
973
|
-
G(W2, H2), G(K, H2);
|
|
974
|
-
let q = 0, J = 0, Y = 0;
|
|
975
|
-
for (; q < W2.length && J < K.length; ) H2(W2[q], K[J]) <= 0 ? p2[Y++] = W2[q++] : p2[Y++] = K[J++];
|
|
976
|
-
for (; q < W2.length; ) p2[Y++] = W2[q++];
|
|
977
|
-
for (; J < K.length; ) p2[Y++] = K[J++];
|
|
978
|
-
return p2;
|
|
979
|
-
}
|
|
980
|
-
})(TextDocument || (TextDocument = {})), FullTextDocument = class {
|
|
981
|
-
constructor(p, H, U, W) {
|
|
982
|
-
this._uri = p, this._languageId = H, this._version = U, this._content = W, this._lineOffsets = void 0;
|
|
983
|
-
}
|
|
984
|
-
get uri() {
|
|
985
|
-
return this._uri;
|
|
986
|
-
}
|
|
987
|
-
get languageId() {
|
|
988
|
-
return this._languageId;
|
|
989
|
-
}
|
|
990
|
-
get version() {
|
|
991
|
-
return this._version;
|
|
992
|
-
}
|
|
993
|
-
getText(p) {
|
|
994
|
-
if (p) {
|
|
995
|
-
let H = this.offsetAt(p.start), U = this.offsetAt(p.end);
|
|
996
|
-
return this._content.substring(H, U);
|
|
997
|
-
}
|
|
998
|
-
return this._content;
|
|
999
|
-
}
|
|
1000
|
-
update(p, H) {
|
|
1001
|
-
this._content = p.text, this._version = H, this._lineOffsets = void 0;
|
|
1002
|
-
}
|
|
1003
|
-
getLineOffsets() {
|
|
1004
|
-
if (this._lineOffsets === void 0) {
|
|
1005
|
-
let p = [], H = this._content, U = true;
|
|
1006
|
-
for (let W = 0; W < H.length; W++) {
|
|
1007
|
-
U && (U = (p.push(W), false));
|
|
1008
|
-
let G = H.charAt(W);
|
|
1009
|
-
U = G === "\r" || G === "\n", G === "\r" && W + 1 < H.length && H.charAt(W + 1) === "\n" && W++;
|
|
1010
|
-
}
|
|
1011
|
-
U && H.length > 0 && p.push(H.length), this._lineOffsets = p;
|
|
1012
|
-
}
|
|
1013
|
-
return this._lineOffsets;
|
|
1014
|
-
}
|
|
1015
|
-
positionAt(p) {
|
|
1016
|
-
p = Math.max(Math.min(p, this._content.length), 0);
|
|
1017
|
-
let H = this.getLineOffsets(), U = 0, W = H.length;
|
|
1018
|
-
if (W === 0) return Position.create(0, p);
|
|
1019
|
-
for (; U < W; ) {
|
|
1020
|
-
let G2 = Math.floor((U + W) / 2);
|
|
1021
|
-
H[G2] > p ? W = G2 : U = G2 + 1;
|
|
1022
|
-
}
|
|
1023
|
-
let G = U - 1;
|
|
1024
|
-
return Position.create(G, p - H[G]);
|
|
1025
|
-
}
|
|
1026
|
-
offsetAt(p) {
|
|
1027
|
-
let H = this.getLineOffsets();
|
|
1028
|
-
if (p.line >= H.length) return this._content.length;
|
|
1029
|
-
if (p.line < 0) return 0;
|
|
1030
|
-
let U = H[p.line], W = p.line + 1 < H.length ? H[p.line + 1] : this._content.length;
|
|
1031
|
-
return Math.max(Math.min(U + p.character, W), U);
|
|
1032
|
-
}
|
|
1033
|
-
get lineCount() {
|
|
1034
|
-
return this.getLineOffsets().length;
|
|
1035
|
-
}
|
|
1036
|
-
}, (function(p) {
|
|
1037
|
-
let H = Object.prototype.toString;
|
|
1038
|
-
function U(p2) {
|
|
1039
|
-
return p2 !== void 0;
|
|
1040
|
-
}
|
|
1041
|
-
p.defined = U;
|
|
1042
|
-
function W(p2) {
|
|
1043
|
-
return p2 === void 0;
|
|
1044
|
-
}
|
|
1045
|
-
p.undefined = W;
|
|
1046
|
-
function G(p2) {
|
|
1047
|
-
return p2 === true || p2 === false;
|
|
1048
|
-
}
|
|
1049
|
-
p.boolean = G;
|
|
1050
|
-
function K(p2) {
|
|
1051
|
-
return H.call(p2) === "[object String]";
|
|
1052
|
-
}
|
|
1053
|
-
p.string = K;
|
|
1054
|
-
function q(p2) {
|
|
1055
|
-
return H.call(p2) === "[object Number]";
|
|
1056
|
-
}
|
|
1057
|
-
p.number = q;
|
|
1058
|
-
function J(p2, U2, W2) {
|
|
1059
|
-
return H.call(p2) === "[object Number]" && U2 <= p2 && p2 <= W2;
|
|
1060
|
-
}
|
|
1061
|
-
p.numberRange = J;
|
|
1062
|
-
function Y(p2) {
|
|
1063
|
-
return H.call(p2) === "[object Number]" && -2147483648 <= p2 && p2 <= 2147483647;
|
|
1064
|
-
}
|
|
1065
|
-
p.integer = Y;
|
|
1066
|
-
function X(p2) {
|
|
1067
|
-
return H.call(p2) === "[object Number]" && 0 <= p2 && p2 <= 2147483647;
|
|
1068
|
-
}
|
|
1069
|
-
p.uinteger = X;
|
|
1070
|
-
function Z(p2) {
|
|
1071
|
-
return H.call(p2) === "[object Function]";
|
|
1072
|
-
}
|
|
1073
|
-
p.func = Z;
|
|
1074
|
-
function Q(p2) {
|
|
1075
|
-
return typeof p2 == "object" && !!p2;
|
|
1076
|
-
}
|
|
1077
|
-
p.objectLiteral = Q;
|
|
1078
|
-
function $(p2, H2) {
|
|
1079
|
-
return Array.isArray(p2) && p2.every(H2);
|
|
1080
|
-
}
|
|
1081
|
-
p.typedArray = $;
|
|
1082
|
-
})(Is || (Is = {}));
|
|
1083
|
-
}));
|
|
1084
|
-
export {
|
|
1085
|
-
main_exports as i,
|
|
1086
|
-
Range as n,
|
|
1087
|
-
init_main as r,
|
|
1088
|
-
Position as t
|
|
1089
|
-
};
|