@marimo-team/islands 0.16.4 → 0.17.0
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-CCjhPKMy.js → ConnectedDataExplorerComponent-DJEUH6Bb.js} +78 -100
- package/dist/{_baseIsEqual-oN7pRNcM.js → _baseIsEqual-CN4oFUZ4.js} +20 -20
- package/dist/{_basePickBy-CYvzhRjy.js → _basePickBy-CzSvE_-f.js} +3 -3
- package/dist/{_baseProperty-DGUdIBuu.js → _baseProperty-DbbUiyUD.js} +5 -5
- package/dist/{_baseUniq-B5gfSl8S.js → _baseUniq-DwoC-LVO.js} +4 -4
- package/dist/any-language-editor-CEXn1vFs.js +156 -0
- package/dist/apl-DuVfHsPc.js +4 -0
- package/dist/architecture-O4VJ6CD3-lp-opOaL.js +21 -0
- package/dist/{architectureDiagram-W76B3OCA-DkEhipkW.js → architectureDiagram-W76B3OCA-CoBORy6u.js} +34 -34
- package/dist/asciiarmor-qIVWsi4F.js +4 -0
- package/dist/asn1-BjPqARr7.js +4 -0
- package/dist/assets/__vite-browser-external-lX-sn9m2.js +1 -0
- package/dist/assets/worker-vPn7gxWj.js +54 -0
- package/dist/{blockDiagram-QIGZ2CNN-DZOqLMYa.js → blockDiagram-QIGZ2CNN-0yzoLIar.js} +75 -86
- package/dist/brainfuck-DPGTVfkE.js +4 -0
- package/dist/{button-CEcjneWG.js → button-DcnBVpVa.js} +11 -14
- package/dist/{c4Diagram-FPNF74CW-DVaR7c9q.js → c4Diagram-FPNF74CW-CKsIA_DD.js} +27 -51
- package/dist/{channel-Uh0KpgGW.js → channel-3LVvQZcD.js} +1 -1
- package/dist/{check-BK9zDfQk.js → check-D7ifz5op.js} +1 -1
- package/dist/{chunk-3AY6CYHV-Dk2R2-S1.js → chunk-3AY6CYHV-B2C-aVc3.js} +35 -35
- package/dist/{chunk-4BX2VUAB-CqO6zUIz.js → chunk-4BX2VUAB-DEd4VI9L.js} +1 -1
- package/dist/{chunk-4KMFLZZN-CloTfTwP.js → chunk-4KMFLZZN-DnvP3O4K.js} +216 -325
- package/dist/{chunk-55IACEB6-I0rmqTua.js → chunk-55IACEB6-BcCzwOOl.js} +1 -1
- package/dist/{chunk-6OXUPJBA-BuROSTmo.js → chunk-6OXUPJBA-eNAAfJ3Q.js} +7 -7
- package/dist/{chunk-7GE3RBXV-B1-tsIPP.js → chunk-7GE3RBXV-CSAeQvLz.js} +1 -1
- package/dist/{chunk-ABZYJK2D-CLlso8tj.js → chunk-ABZYJK2D-CZcb_1iM.js} +16 -20
- package/dist/{chunk-BN7GFLIU-Db2-FjLn.js → chunk-BN7GFLIU-pBc5O5Rh.js} +1 -1
- package/dist/{chunk-CVBHYZKI-BONeiloK.js → chunk-CVBHYZKI-CivHZg9P.js} +3 -3
- package/dist/{chunk-CXMOBAN2-U9GJSP1d.js → chunk-CXMOBAN2-Dd0E6qb0.js} +46 -54
- package/dist/chunk-EXTU4WIE-GQ2ZWfJo.js +10 -0
- package/dist/{chunk-FMBD7UC4-DyV3BR_I.js → chunk-FMBD7UC4-C6YcisV6.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-C9A1076P.js → chunk-JA3XYJ7Z-DYeQaT57.js} +21 -25
- package/dist/{chunk-JEIROHC2-BGnFkSVq.js → chunk-JEIROHC2-B-EZMP4V.js} +1 -1
- package/dist/{chunk-K7UQS3LO-033LOsjK.js → chunk-K7UQS3LO-DENzlS-M.js} +7 -7
- package/dist/{chunk-KMC2YHZD-DT4Sq4Ld.js → chunk-KMC2YHZD-SckhHdEh.js} +1 -1
- package/dist/{chunk-QN33PNHL-gs44MZla.js → chunk-QN33PNHL-Cjq5b604.js} +2 -2
- package/dist/{chunk-QYVHNE3D-B8BO1AnT.js → chunk-QYVHNE3D-CNUuivie.js} +3 -4
- package/dist/{chunk-QZHKN3VN-CeN_GkU6.js → chunk-QZHKN3VN-DugEU_bA.js} +1 -1
- package/dist/chunk-S3R3BYOJ-itCT6Vif.js +380 -0
- package/dist/{chunk-T44TD3VJ-BwzD6YE0.js → chunk-T44TD3VJ-BLdfTX8J.js} +1 -1
- package/dist/{chunk-TVAH2DTR-Bi6jpQJQ.js → chunk-TVAH2DTR-BOnwF9d8.js} +7 -8
- package/dist/{chunk-TZMSLE5B-D8klz2H_.js → chunk-TZMSLE5B-DGs66AlL.js} +4 -5
- package/dist/{chunk-WFRQ32O7-CzSwSlN0.js → chunk-WFRQ32O7-CPsipkmJ.js} +1 -1
- package/dist/{chunk-WFWHJNB7-DN_cavM6.js → chunk-WFWHJNB7-Cmed18Pk.js} +1 -1
- package/dist/{chunk-XRWGC2XP-Bb5eGNM2.js → chunk-XRWGC2XP-DH5GDaY8.js} +1 -1
- package/dist/{chunk-ZPAFE4SF-S5UYNb0V.js → chunk-ZPAFE4SF-DPDwaqZm.js} +22 -22
- package/dist/classDiagram-KNZD7YFC-azuS_99k.js +39 -0
- package/dist/classDiagram-v2-RKCZMP56-CQpyQQOR.js +39 -0
- package/dist/{click-outside-container-DE4e7p1p.js → click-outside-container-CL_FkgGY.js} +7 -12
- package/dist/{clike-CxAz4p9E.js → clike-DYfRWWXk.js} +1 -1
- package/dist/{clike-Cg_DBrJ0.js → clike-bzZTreP4.js} +1 -1
- package/dist/clojure-ATksAecl.js +4 -0
- package/dist/{clone-Dk4FkKH0.js → clone-Msbhmn2a.js} +1 -1
- package/dist/cmake-CWylaz2C.js +4 -0
- package/dist/cobol-BiLLCZIQ.js +4 -0
- package/dist/coffeescript-Ca4jipi8.js +4 -0
- package/dist/commonlisp-BwFjyEC7.js +4 -0
- package/dist/{constants-Cjd_3kwd.js → constants-BCOEQoEQ.js} +3 -3
- package/dist/{copy-C5RFg7ok.js → copy-BkZ8PkBM.js} +6 -2
- package/dist/{cose-bilkent-S5V4N54A-B3iOTGu5.js → cose-bilkent-S5V4N54A-BZnbwyVD.js} +20 -20
- package/dist/crystal-BhUsQHbh.js +4 -0
- package/dist/css-Cf4wlIyV.js +5 -0
- package/dist/cypher-Dj8Hzgxa.js +4 -0
- package/dist/{cytoscape.esm-DTDV0Nbj.js → cytoscape.esm-BTpRoPd2.js} +586 -661
- package/dist/d-DZI7tbTy.js +4 -0
- package/dist/{dagre-5GWH7T2D-KM4Z11yT.js → dagre-5GWH7T2D-BGaiSZZO.js} +32 -37
- package/dist/{dagre-B0u1urxE.js → dagre-pyfDIOWJ.js} +57 -76
- package/dist/data-grid-overlay-editor-867aBz0Y.js +133 -0
- package/dist/{diagram-N5W7TBWH-CtO7az4G.js → diagram-N5W7TBWH-CzLE0jZB.js} +35 -51
- package/dist/diagram-QEK2KX5R-AGS60xEZ.js +245 -0
- package/dist/{diagram-S2PKOQOG-CiXElLNQ.js → diagram-S2PKOQOG-BxRoG6yW.js} +28 -28
- package/dist/diff-WQISUHG5.js +4 -0
- package/dist/{dist-CdE2C2In.js → dist-2Ne-33Xy.js} +15 -20
- package/dist/{dist-DKFaZRVk.js → dist-B0YD1aXi.js} +2 -2
- package/dist/{dist-DBhzmFyH.js → dist-B1Dv8Sdk.js} +3 -3
- package/dist/{dist-CGIZPq3J.js → dist-BFkr6kAQ.js} +2 -2
- package/dist/{dist-DL_ci7Yc.js → dist-BL2DSY0P.js} +1 -1
- package/dist/dist-BawZu0ix.js +10 -0
- package/dist/{dist-Bar1QnNM.js → dist-BhVFggab.js} +3 -3
- package/dist/{textile-Cy55fYGC.js → dist-BiOF7987.js} +4 -2
- package/dist/{dist-BQmQQqFH.js → dist-BpzZrRd6.js} +1 -1
- package/dist/{dist-CxD5E6Sh.js → dist-C7zhQ7K0.js} +24 -22
- package/dist/{dist-BqgkUnEN.js → dist-CBhnQKQ4.js} +3 -3
- package/dist/{dist-Dzk1C8l5.js → dist-CId4IPXu.js} +10 -13
- package/dist/{dist-CUnh_3Ii.js → dist-CYhQCVru.js} +2 -2
- package/dist/{dist-BBlFk9ki.js → dist-CZq5-ZyD.js} +1 -1
- package/dist/{dist-elblfNXO.js → dist-Cacac5HV.js} +2 -2
- package/dist/{dist-CChOkSUg.js → dist-CfQHSIQC.js} +3 -3
- package/dist/{dist-JCAky9ND.js → dist-CkvGMBAS.js} +17 -22
- package/dist/dist-Cs3McXEj.js +6 -0
- package/dist/{dist-o7fhJC7U.js → dist-CvyfRaIr.js} +3 -3
- package/dist/{dist-CZfRM7pE.js → dist-D-3fICwh.js} +2 -2
- package/dist/dist-D3aaithT.js +6 -0
- package/dist/{dist-CutXTm8t.js → dist-DBhEu3-F.js} +1 -1
- package/dist/dist-DELcMSpJ.js +6 -0
- package/dist/{dist-C7ASiFxI.js → dist-DMxl6Qbu.js} +273 -263
- package/dist/{dist-CLvpViod.js → dist-DS6nuHYK.js} +2 -3
- package/dist/dist-Dgts3WXd.js +6 -0
- package/dist/{dist--I6Htnlv.js → dist-DlHkZUnY.js} +5 -5
- package/dist/dist-Doiq_KIP.js +15 -0
- package/dist/dist-DtpUiDG_.js +6 -0
- package/dist/{dist-DzOpMdwb.js → dist-NUdHX0XE.js} +4 -4
- package/dist/{dist-C3WYsf4K.js → dist-PGgOcwbF.js} +4 -10
- package/dist/{dist-DNnYAdRE.js → dist-RdxOJbBw.js} +2 -2
- package/dist/{dist-BEvIw5Nh.js → dist-RwqAqkpG.js} +1 -1
- package/dist/dist-ZjnJq_jD.js +10 -0
- package/dist/{dist-CbRkrKrP.js → dist-biZ846D9.js} +5 -5
- package/dist/{dist-DW9er3Zq.js → dist-d5NxvX2s.js} +44 -23
- package/dist/{dist-C3QUag__.js → dist-ivwkJchV.js} +3 -3
- package/dist/dist-mof3iuBu.js +12 -0
- package/dist/{dist-Cib4sGDA.js → dist-reo2kYlN.js} +2 -2
- package/dist/{dist-BZBitvuL.js → dist-wHVprCkn.js} +1 -1
- package/dist/{dist-C5zMs_n5.js → dist-y8uoXYaE.js} +3 -3
- package/dist/{dist-DPF5TTUg.js → dist-z_iuDES7.js} +126 -115
- package/dist/{dockerfile-Dum_1b-5.js → dockerfile-sZMPcXVY.js} +1 -1
- package/dist/dtd-B2M8dhfC.js +4 -0
- package/dist/dylan-CU3Vt8SC.js +4 -0
- package/dist/ecl-B8ESAVq4.js +4 -0
- package/dist/eiffel-DDfMIKeA.js +4 -0
- package/dist/elm-Bj6rj8jf.js +4 -0
- package/dist/{erDiagram-AWTI2OKA-ZTIl9iQO.js → erDiagram-AWTI2OKA-CTxzb-U8.js} +20 -20
- package/dist/erlang-BxyshZUq.js +4 -0
- package/dist/{error-banner-OQIGTqFR.js → error-banner-npbEfanI.js} +13 -13
- package/dist/{esm-DxFkg7a6.js → esm-BdiY4QsX.js} +1528 -1492
- package/dist/{esm-d0g2RsOH.js → esm-CAWW9sum.js} +6 -8
- package/dist/{esm-1_Mp6VD2.js → esm-YY5zh7KV.js} +324 -395
- package/dist/{esm-BO9n_s6u.js → esm-svAVli9f.js} +5 -5
- package/dist/{factor-CdgiDGiu.js → factor-CRFTmP_a.js} +1 -1
- package/dist/factor-CYk6XT8r.js +5 -0
- package/dist/{flowDiagram-PVAE7QVJ-DsbofOzu.js → flowDiagram-PVAE7QVJ-Dck2hiJe.js} +22 -22
- package/dist/{formats-D5C6JAJf.js → formats-BnqXUb1V.js} +13 -17
- package/dist/forth-fcoJkd-f.js +4 -0
- package/dist/fortran-IxZHu4wc.js +4 -0
- package/dist/{fullscreen-D1yTiBlu.js → fullscreen-blsKUrtN.js} +741 -744
- package/dist/{ganttDiagram-OWAHRB6G-FnCH1Yj3.js → ganttDiagram-OWAHRB6G-AWzfzpup.js} +9 -9
- package/dist/gas-B8rmKcim.js +4 -0
- package/dist/gherkin-BTm-jIdJ.js +4 -0
- package/dist/gitGraph-ZV4HHKMB-DFg_OLQb.js +21 -0
- package/dist/{gitGraphDiagram-NY62KEGX-B0wvMNqU.js → gitGraphDiagram-NY62KEGX-GyNboWSV.js} +31 -34
- package/dist/{glide-data-editor-CYfKmSNp.js → glide-data-editor-DHuN8kQ8.js} +1701 -1771
- package/dist/{graphlib-BGmr7CYF.js → graphlib-hb3zmtVD.js} +5 -5
- package/dist/groovy-01kRHFMD.js +4 -0
- package/dist/haskell-B3PhE05w.js +4 -0
- package/dist/haxe-DEoAm8oA.js +5 -0
- package/dist/{hotkeys-yFrUwyJK.js → hotkeys-Ct2T3e9O.js} +4 -7
- package/dist/idl-DsDJU9cV.js +4 -0
- package/dist/info-63CPKGFF-D3DZmDBa.js +21 -0
- package/dist/infoDiagram-STP46IZ2-ec08vi_U.js +44 -0
- package/dist/{isArrayLikeObject-DiDsNamC.js → isArrayLikeObject-BlvK28do.js} +3 -5
- package/dist/{isEmpty-BBG-u1GM.js → isEmpty--odfYjh1.js} +2 -2
- package/dist/{isSymbol-BxF-_8BA.js → isSymbol-Cb1f2HgO.js} +1 -1
- package/dist/{javascript-Dfq1qI35.js → javascript-BfCTmOnk.js} +2 -2
- package/dist/javascript-gwczVhuU.js +5 -0
- package/dist/jinja2-AkZRdFk3.js +4 -0
- package/dist/{journeyDiagram-BIP6EPQ6-B3PotfAW.js → journeyDiagram-BIP6EPQ6-TmXYCUbT.js} +23 -24
- package/dist/julia-_s6qe3bf.js +4 -0
- package/dist/{kanban-definition-6OIFK2YF-BTrQZ3LN.js → kanban-definition-6OIFK2YF-B6ozleHo.js} +15 -15
- package/dist/{katex-dN__NFdn.js → katex-mPzRsXEy.js} +1 -1
- package/dist/{katex-BE4xflfm.js → katex-mkWmhPUh.js} +149 -173
- package/dist/{label-BinTsX-u.js → label-VVRKZmrP.js} +21 -24
- package/dist/{linear-DyTdUIqX.js → linear-iebAbJVD.js} +1 -1
- package/dist/livescript-CwPHQdv5.js +4 -0
- package/dist/{loader-Dijti3y4.js → loader-CM0VALo9.js} +19 -26
- package/dist/lua-s7nRxkCP.js +4 -0
- package/dist/main.js +8234 -8633
- package/dist/{marked.esm-3RjvXPoO.js → marked.esm-DJM8la36.js} +5 -5
- package/dist/mathematica-Ci36yd1q.js +4 -0
- package/dist/mbox-DbOYMNCO.js +4 -0
- package/dist/{memoize-Dq87l1O_.js → memoize-DYoRBSLn.js} +1 -1
- package/dist/{merge-BPDCIm8P.js → merge-BjuR6j_w.js} +1 -1
- package/dist/{mermaid-BlJDcO4M.js → mermaid-YPPMBmhk.js} +58 -76
- package/dist/{mermaid-parser.core-CSFx6MQ7.js → mermaid-parser.core-BLkyTSZj.js} +8 -8
- package/dist/{mhchem-DZ68WS0G.js → mhchem-Dw7wvXtr.js} +1 -1
- package/dist/{min-BzhKOmZo.js → min-B_i2ahn4.js} +7 -7
- package/dist/{mindmap-definition-Q6HEUPPD-9hhnrO1k.js → mindmap-definition-Q6HEUPPD-F6-JnXwq.js} +17 -17
- package/dist/mirc-VmNe8AwF.js +4 -0
- package/dist/mllike-BdD7SJEa.js +6 -0
- package/dist/modelica-BA4VqzC3.js +4 -0
- package/dist/mscgen-DF-5WHJm.js +6 -0
- package/dist/mumps-c_Uia_QN.js +4 -0
- package/dist/{node-sql-parser-13oju30e.js → node-sql-parser-BqKV-TpL.js} +14343 -14351
- package/dist/{now-DVBcRCoE.js → now-CwRqw0nS.js} +1 -1
- package/dist/nsis-BAANGODV.js +5 -0
- package/dist/{nsis-BW6_XagK.js → nsis-BWJEeUyS.js} +1 -1
- package/dist/ntriples-Bslqh2Ki.js +4 -0
- package/dist/{number-overlay-editor-D1YdiOrm.js → number-overlay-editor-CeyruAX4.js} +17 -23
- package/dist/octave-DYn5ltia.js +4 -0
- package/dist/oz-B_N-StZq.js +4 -0
- package/dist/packet-HUATNLJX-CkqjFdAv.js +21 -0
- package/dist/pascal-DU4CtAUu.js +4 -0
- package/dist/perl-Bae6k32u.js +4 -0
- package/dist/pie-WTHONI2E-D0rWwX5P.js +21 -0
- package/dist/{pieDiagram-ADFJNKIX-CSBC0ZgF.js → pieDiagram-ADFJNKIX-C5dSQVCn.js} +28 -28
- package/dist/pig-DSIxUEgX.js +4 -0
- package/dist/powershell-31lcPgIF.js +4 -0
- package/dist/powershell-BZx53Ujw.js +236 -0
- package/dist/properties-lmYbntDG.js +4 -0
- package/dist/protobuf-BTYoCEpV.js +4 -0
- package/dist/pug-DMFM7zzO.js +5 -0
- package/dist/{pug-Bmups_z0.js → pug-PJh82u1M.js} +1 -1
- package/dist/puppet-B0ub07d-.js +4 -0
- package/dist/python-C4jT87Nt.js +5 -0
- package/dist/{q-BzWcnVri.js → q-CMoUHJ5Q.js} +3 -2
- package/dist/q-YbPYlqRI.js +4 -0
- package/dist/{quadrantDiagram-LMRXKWRM-h7nHf8xG.js → quadrantDiagram-LMRXKWRM-DlahxNiy.js} +7 -7
- package/dist/r-OfNu6HAI.js +4 -0
- package/dist/radar-NJJJXTRR-Bxqv4O5a.js +21 -0
- package/dist/{range-CgK0-PEw.js → range-DxfkexCE.js} +3 -3
- package/dist/{react-plotly-BZakcxdv.js → react-plotly-D_IAfR8f.js} +4364 -4705
- package/dist/{requirementDiagram-4UW4RH46-BGEurQYq.js → requirementDiagram-4UW4RH46-DTkinyvU.js} +17 -17
- package/dist/rpm-D_3b5peD.js +5 -0
- package/dist/ruby-CehsJy_T.js +4 -0
- package/dist/{sankeyDiagram-GR3RE2ED-CxeJ_jfl.js → sankeyDiagram-GR3RE2ED-CsLnEnnq.js} +3 -3
- package/dist/sas-DwQHzPoF.js +4 -0
- package/dist/scheme-B6ArxiQu.js +4 -0
- package/dist/{sequenceDiagram-C3RYC4MD-CbFxwyr_.js → sequenceDiagram-C3RYC4MD-BdEOR6SC.js} +20 -30
- package/dist/shell-AHmQgDfc.js +4 -0
- package/dist/sieve-CgodKOcx.js +4 -0
- package/dist/{simple-mode-Cgyya8F-.js → simple-mode-BP3Jd4vf.js} +1 -1
- package/dist/{slides-component-BEyG25AH.js → slides-component-2bbal1YJ.js} +24 -46
- package/dist/smalltalk-BeFzDkbo.js +4 -0
- package/dist/sparql-BWxq-Lnx.js +4 -0
- package/dist/{src-BNNJRxz3.js → src-DZkaBUmt.js} +6 -6
- package/dist/{stateDiagram-KXAO66HF-A61bMf29.js → stateDiagram-KXAO66HF-DQLH2jhP.js} +39 -41
- package/dist/stateDiagram-v2-UMBNRL4Z-D9v8fKjF.js +38 -0
- package/dist/stex-Dvaq0qsm.js +5 -0
- package/dist/style.css +1 -1
- package/dist/stylus-Ge0ofWlZ.js +4 -0
- package/dist/swift-CjQfbVxV.js +4 -0
- package/dist/tcl-CAGDF11K.js +4 -0
- package/dist/textile-CrXreJtf.js +4 -0
- package/dist/{time-D3tzCqJ6.js → time-CFkXkVrt.js} +1 -1
- package/dist/{timeline-definition-XQNQX7LJ-BwdsB7CR.js → timeline-definition-XQNQX7LJ-bToVq14i.js} +4 -5
- package/dist/{timer-D3Zlu9ow.js → timer-CzOhIJuk.js} +2 -2
- package/dist/{toNumber-efKT08hh.js → toNumber-EFF1Z9T1.js} +2 -2
- package/dist/{toString-BvCd3yJc.js → toString-C2mCkasT.js} +2 -2
- package/dist/toml-AdLXKwEi.js +4 -0
- package/dist/{toml-CIUkU1CP.js → toml-eSl4PUAH.js} +6 -2
- package/dist/treemap-75Q7IDZK-Da9Jv6a_.js +21 -0
- package/dist/troff-C-LaM2ex.js +4 -0
- package/dist/ttcn-DTclUi6T.js +4 -0
- package/dist/ttcn-cfg-BtBPbmLX.js +4 -0
- package/dist/turtle-BODDDg5O.js +4 -0
- package/dist/{types-Dcb1hf55.js → types-CRXV0KD5.js} +385 -252
- package/dist/{useAsyncData-DAtPzJzP.js → useAsyncData-uMVTsDI9.js} +1 -1
- package/dist/{useDateFormatter-CiUlIu7v.js → useDateFormatter-Dcz7jstn.js} +6 -6
- package/dist/{useTheme-CmsvrO5o.js → useTheme-NbEx-ZNV.js} +14 -10
- package/dist/vb-Cb1HQHii.js +4 -0
- package/dist/vbscript-CpXOP4wZ.js +4 -0
- package/dist/{vega-component-B3LA6qbm.js → vega-component-hegVmfuS.js} +21 -21
- package/dist/{vega-loader.browser.module-Bi3ttvdj.js → vega-loader.browser.module-DcW8jnKp.js} +1 -2
- package/dist/velocity-Dz0rBQIk.js +4 -0
- package/dist/verilog-6Di9aLKw.js +4 -0
- package/dist/vhdl-BRNesXYc.js +4 -0
- package/dist/webidl-BpRNYIYn.js +4 -0
- package/dist/xquery-DXWcJ7b6.js +4 -0
- package/dist/{xychartDiagram-6GGTOJPD-BJRRi5HC.js → xychartDiagram-6GGTOJPD-C7Bhm_yt.js} +12 -13
- package/dist/yacas-DbSARPz4.js +4 -0
- package/dist/z80-DzslPj_l.js +4 -0
- package/dist/{zod-UPQf9SGn.js → zod-ChY6miG5.js} +71 -81
- package/package.json +12 -12
- package/src/__mocks__/requests.ts +2 -0
- package/src/__tests__/chat-history.test.ts +123 -0
- package/src/components/app-config/ai-config.tsx +23 -0
- package/src/components/app-config/mcp-config.tsx +42 -2
- package/src/components/app-config/user-config-form.tsx +29 -49
- package/src/components/chat/acp/__tests__/context-utils.test.ts +1 -1
- package/src/components/chat/acp/agent-panel.tsx +1 -1
- package/src/components/chat/acp/blocks.tsx +46 -53
- package/src/components/chat/acp/common.tsx +1 -1
- package/src/components/chat/acp/context-utils.ts +1 -1
- package/src/components/chat/acp/session-tabs.tsx +1 -1
- package/src/components/chat/chat-history-popover.tsx +125 -0
- package/src/components/chat/chat-history-utils.ts +69 -0
- package/src/components/chat/chat-panel.tsx +9 -57
- package/src/components/chat/chat-utils.ts +11 -4
- package/src/components/data-table/__tests__/header-items.test.tsx +117 -0
- package/src/components/data-table/column-header.tsx +4 -2
- package/src/components/data-table/columns.tsx +2 -1
- package/src/components/data-table/data-table.tsx +7 -2
- package/src/components/data-table/header-items.tsx +63 -10
- package/src/components/dependency-graph/custom-node.tsx +11 -11
- package/src/components/dependency-graph/elements.ts +9 -4
- package/src/components/dependency-graph/panels.tsx +6 -4
- package/src/components/editor/Output.tsx +6 -1
- package/src/components/editor/__tests__/data-attributes.test.tsx +1 -1
- package/src/components/editor/actions/useNotebookActions.tsx +2 -4
- package/src/components/editor/ai/__tests__/completion-utils.test.ts +23 -31
- package/src/components/editor/ai/ai-completion-editor.tsx +135 -5
- package/src/components/editor/ai/completion-handlers.tsx +106 -22
- package/src/components/editor/cell/CreateCellButton.tsx +14 -2
- package/src/components/editor/cell/code/cell-editor.tsx +6 -0
- package/src/components/editor/chrome/panels/cache-panel.tsx +216 -0
- package/src/components/editor/chrome/panels/empty-state.tsx +3 -1
- package/src/components/editor/chrome/types.ts +66 -22
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +2 -0
- package/src/components/editor/database/schemas.ts +2 -10
- package/src/components/editor/errors/auto-fix.tsx +138 -32
- package/src/components/editor/errors/fix-mode.ts +15 -0
- package/src/components/editor/navigation/__tests__/clipboard.test.ts +0 -5
- package/src/components/editor/navigation/clipboard.ts +2 -1
- package/src/components/editor/{Cell.tsx → notebook-cell.tsx} +25 -8
- package/src/components/editor/output/ConsoleOutput.tsx +27 -33
- package/src/components/editor/output/JsonOutput.tsx +9 -0
- package/src/components/editor/output/MarimoErrorOutput.tsx +4 -34
- package/src/components/editor/output/MarimoTracebackOutput.tsx +10 -7
- package/src/components/editor/output/__tests__/json-output.test.ts +43 -0
- package/src/components/editor/package-alert.tsx +3 -0
- package/src/components/editor/renderers/{CellArray.tsx → cell-array.tsx} +1 -1
- package/src/components/forms/__tests__/form-utils.test.ts +6 -4
- package/src/components/icons/copy-icon.tsx +11 -5
- package/src/components/mcp/hooks.ts +48 -0
- package/src/components/mcp/mcp-status-indicator.tsx +144 -0
- package/src/components/shortcuts/renderShortcut.tsx +3 -1
- package/src/components/ui/button.tsx +2 -0
- package/src/components/ui/confirmation-button.tsx +85 -0
- package/src/components/ui/number-field.tsx +4 -1
- package/src/components/ui/switch.tsx +2 -0
- package/src/core/ai/context/providers/__tests__/__snapshots__/tables.test.ts.snap +13 -19
- package/src/core/ai/context/providers/__tests__/cell-output.test.ts +0 -1
- package/src/core/ai/context/providers/__tests__/datasource.test.ts +14 -7
- package/src/core/ai/context/providers/__tests__/error.test.ts +24 -15
- package/src/core/ai/context/providers/cell-output.ts +5 -5
- package/src/core/ai/context/providers/common.ts +13 -4
- package/src/core/ai/context/providers/datasource.ts +56 -21
- package/src/core/ai/context/providers/error.ts +3 -4
- package/src/core/ai/context/providers/file.ts +2 -2
- package/src/core/ai/context/providers/tables.ts +36 -8
- package/src/core/ai/context/providers/variable.ts +2 -3
- package/src/core/ai/state.ts +6 -3
- package/src/core/ai/tools/__tests__/registry.test.ts +33 -8
- package/src/core/ai/tools/base.ts +81 -1
- package/src/core/ai/tools/registry.ts +36 -10
- package/src/core/ai/tools/sample-tool.ts +44 -8
- package/src/core/cache/requests.ts +5 -0
- package/src/core/cells/__tests__/cells.test.ts +6 -6
- package/src/core/cells/cells.ts +13 -14
- package/src/core/cells/scrollCellIntoView.ts +1 -1
- package/src/core/codemirror/__tests__/__snapshots__/setup.test.ts.snap +2 -0
- package/src/core/codemirror/__tests__/replace-editor-content.test.ts +336 -0
- package/src/core/codemirror/__tests__/setup.test.ts +1 -0
- package/src/core/codemirror/cm.ts +3 -2
- package/src/core/codemirror/find-replace/navigate.ts +2 -2
- package/src/core/codemirror/format.ts +2 -9
- package/src/core/codemirror/language/__tests__/sql.test.ts +24 -6
- package/src/core/codemirror/language/languages/python.ts +1 -3
- package/src/core/codemirror/language/languages/sql/sql.ts +23 -13
- package/src/core/codemirror/language/panel/panel.tsx +1 -6
- package/src/core/codemirror/language/utils.ts +3 -8
- package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +21 -14
- package/src/core/codemirror/lsp/federated-lsp.ts +20 -9
- package/src/core/codemirror/lsp/notebook-lsp.ts +35 -29
- package/src/core/codemirror/lsp/types.ts +0 -13
- package/src/core/codemirror/replace-editor-content.ts +87 -0
- package/src/core/config/__tests__/config-schema.test.ts +5 -0
- package/src/core/config/config-schema.ts +10 -0
- package/src/core/config/feature-flag.tsx +2 -6
- package/src/core/edit-app.tsx +1 -1
- package/src/core/errors/__tests__/errors.test.ts +1 -0
- package/src/core/errors/errors.ts +20 -6
- package/src/core/islands/bridge.ts +2 -0
- package/src/core/islands/main.ts +4 -0
- package/src/core/kernel/messages.ts +1 -0
- package/src/core/network/CachingRequestRegistry.ts +2 -2
- package/src/core/network/requests-network.ts +14 -0
- package/src/core/network/requests-static.ts +2 -0
- package/src/core/network/requests-toasting.ts +2 -0
- package/src/core/network/types.ts +5 -0
- package/src/core/saving/save-component.tsx +43 -36
- package/src/core/wasm/bridge.ts +2 -0
- package/src/core/websocket/useMarimoWebSocket.tsx +8 -0
- package/src/css/app/codemirror-completions.css +1 -1
- package/src/custom.d.ts +2 -0
- package/src/plugins/core/registerReactComponent.tsx +5 -1
- package/src/plugins/impl/DataTablePlugin.tsx +19 -19
- package/src/plugins/impl/__tests__/DateTimePickerPlugin.test.tsx +32 -0
- package/src/plugins/impl/chat/ChatPlugin.tsx +1 -1
- package/src/plugins/impl/chat/chat-ui.tsx +17 -2
- package/src/plugins/impl/chat/types.ts +1 -1
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +7 -2
- package/src/plugins/impl/plotly/__tests__/parse-from-template.test.ts +17 -0
- package/src/plugins/impl/plotly/parse-from-template.ts +2 -1
- package/src/stories/cell.stories.tsx +1 -1
- package/src/stories/layout/vertical/one-column.stories.tsx +1 -1
- package/src/utils/__tests__/formatting.test.ts +107 -0
- package/src/utils/__tests__/json-parser.test.ts +13 -0
- package/src/utils/copy.ts +6 -0
- package/src/utils/formatting.ts +51 -0
- package/src/utils/json/json-parser.ts +28 -3
- package/src/utils/numbers.ts +24 -1
- package/dist/any-language-editor-CVFQlioK.js +0 -156
- package/dist/apl-ChlaBfxB.js +0 -4
- package/dist/architecture-O4VJ6CD3-BVeaxUcM.js +0 -21
- package/dist/asciiarmor-CcJmm3l_.js +0 -4
- package/dist/asn1-ThRYxoBE.js +0 -4
- package/dist/assets/__vite-browser-external-BeNtI_tJ.js +0 -1
- package/dist/assets/worker-DnuXpGWN.js +0 -54
- package/dist/brainfuck-CEM0JgDn.js +0 -4
- package/dist/chunk-EXTU4WIE-DECT9AAK.js +0 -14
- package/dist/chunk-S3R3BYOJ-DMQ1yeyq.js +0 -386
- package/dist/classDiagram-KNZD7YFC-BG53O6Jt.js +0 -39
- package/dist/classDiagram-v2-RKCZMP56-BmKILsGU.js +0 -39
- package/dist/clojure-B7RHyE9t.js +0 -4
- package/dist/cmake-TeTMP4I5.js +0 -4
- package/dist/cobol-DI-mxUER.js +0 -4
- package/dist/coffeescript-DHUFLqWp.js +0 -4
- package/dist/commonlisp-SLiUrh1m.js +0 -4
- package/dist/crystal-B4fY1ZfJ.js +0 -4
- package/dist/css-Bdoq3TzK.js +0 -5
- package/dist/cypher-CBU182fp.js +0 -4
- package/dist/d-D8myDZeH.js +0 -4
- package/dist/data-grid-overlay-editor-qNmJk2x0.js +0 -135
- package/dist/diagram-QEK2KX5R-fu8Noi3H.js +0 -245
- package/dist/diff-DJF_UB7H.js +0 -4
- package/dist/dist-52-_pKoy.js +0 -6
- package/dist/dist-6DOMStFn.js +0 -6
- package/dist/dist-B334aW7p.js +0 -10
- package/dist/dist-BOI9lUz-.js +0 -12
- package/dist/dist-C06uhBzF.js +0 -6
- package/dist/dist-CGkpguCB.js +0 -6
- package/dist/dist-CrApzUED.js +0 -6
- package/dist/dist-Dp2GLdCl.js +0 -14
- package/dist/dist-WHFsbMDr.js +0 -6
- package/dist/dist-hyKcTPG9.js +0 -10
- package/dist/dtd-DY8q65lC.js +0 -4
- package/dist/dylan-CBLcjWCi.js +0 -4
- package/dist/ecl-BSXPNfOw.js +0 -4
- package/dist/eiffel-BJf0PQX-.js +0 -4
- package/dist/elm-DWQwPCZS.js +0 -4
- package/dist/erlang-BWBaGZ5e.js +0 -4
- package/dist/factor-DT1-MBPl.js +0 -5
- package/dist/forth-D9GDt3FB.js +0 -4
- package/dist/fortran-DHkRhDWw.js +0 -4
- package/dist/gas-7lQEOM0H.js +0 -4
- package/dist/gherkin-BLLyroYi.js +0 -4
- package/dist/gitGraph-ZV4HHKMB-z2v_cInC.js +0 -21
- package/dist/groovy-C-wabwj0.js +0 -4
- package/dist/haskell-DaxVQ_d1.js +0 -4
- package/dist/haxe-C2yLoC7h.js +0 -5
- package/dist/idl-DQBP8i7k.js +0 -4
- package/dist/info-63CPKGFF-GS4w6pCB.js +0 -21
- package/dist/infoDiagram-STP46IZ2-DE9YYPFg.js +0 -44
- package/dist/javascript-DRwFV9r5.js +0 -5
- package/dist/jinja2-CNoIpVmN.js +0 -4
- package/dist/julia-DXDf-GhP.js +0 -4
- package/dist/livescript-S2uhJQx7.js +0 -4
- package/dist/lua-Bvgs0y2G.js +0 -4
- package/dist/mathematica-D2zqfwIg.js +0 -4
- package/dist/mbox-SBcPaDuZ.js +0 -4
- package/dist/mirc-hkQc7sVF.js +0 -4
- package/dist/mllike-DRWPBlr9.js +0 -6
- package/dist/modelica-CO2ROGlP.js +0 -4
- package/dist/mscgen-BpX61bO6.js +0 -6
- package/dist/mumps-BCnFeIn6.js +0 -4
- package/dist/nsis-BaTOxlD1.js +0 -5
- package/dist/ntriples-zEo5BWjr.js +0 -4
- package/dist/octave-BE0RnCM9.js +0 -4
- package/dist/oz-C4_2Ttul.js +0 -4
- package/dist/packet-HUATNLJX-CjHqJIqk.js +0 -21
- package/dist/pascal-Q3jJucpw.js +0 -4
- package/dist/perl-DkXZIWHF.js +0 -4
- package/dist/pie-WTHONI2E-D67gLWtR.js +0 -21
- package/dist/pig-DCgEHdsu.js +0 -4
- package/dist/powershell-3rK_nRRJ.js +0 -236
- package/dist/powershell-Eo2-7MoM.js +0 -4
- package/dist/properties-C0IOX8WR.js +0 -4
- package/dist/protobuf--lGQUSRO.js +0 -4
- package/dist/pug-Cf8AQHMJ.js +0 -5
- package/dist/puppet-D7Z3dTJn.js +0 -4
- package/dist/python-FHIx_i8Y.js +0 -5
- package/dist/q-B7UA1feM.js +0 -4
- package/dist/r-Cc9R2A7N.js +0 -4
- package/dist/radar-NJJJXTRR-C-AZP_Te.js +0 -21
- package/dist/rpm-vhJNlrQ6.js +0 -5
- package/dist/ruby-CVluPY0M.js +0 -4
- package/dist/sas-A8DL8oy3.js +0 -4
- package/dist/scheme-6xHHcSXC.js +0 -4
- package/dist/shell-DHN-e5rf.js +0 -4
- package/dist/sieve-BuQwLY02.js +0 -4
- package/dist/smalltalk-BA4HPg2H.js +0 -4
- package/dist/sparql-Bf4yCuy3.js +0 -4
- package/dist/stateDiagram-v2-UMBNRL4Z-C_0FUzzk.js +0 -38
- package/dist/stex-D-I1cYeE.js +0 -5
- package/dist/stylus-BMeped2l.js +0 -4
- package/dist/swift-lwEdlZoC.js +0 -4
- package/dist/tcl-B03ipeqv.js +0 -4
- package/dist/toml-BLgrVtfu.js +0 -4
- package/dist/treemap-75Q7IDZK-DTvwfpWt.js +0 -21
- package/dist/troff-g6EjN2O2.js +0 -4
- package/dist/ttcn-Dzvba8jK.js +0 -4
- package/dist/ttcn-cfg-CadG0p1K.js +0 -4
- package/dist/turtle-DkXAMWo9.js +0 -4
- package/dist/vb-C5dCiel8.js +0 -4
- package/dist/vbscript-I4bDEQln.js +0 -4
- package/dist/velocity-mt0fDwFH.js +0 -4
- package/dist/verilog-Dxq3KJkc.js +0 -4
- package/dist/vhdl-Km0QUlV-.js +0 -4
- package/dist/webidl-B3lJ2MRL.js +0 -4
- package/dist/xquery-CcIxNPEe.js +0 -4
- package/dist/yacas-oMa-f-tN.js +0 -4
- package/dist/z80-D03Nvn6l.js +0 -4
- /package/dist/{apl-DZqo8Elt.js → apl-CEHentF4.js} +0 -0
- /package/dist/{asciiarmor-DTzHAIeX.js → asciiarmor-DURYiCS0.js} +0 -0
- /package/dist/{asn1-DrAXKsZH.js → asn1-ETAiEoXY.js} +0 -0
- /package/dist/{asterisk-oF4U3h48.js → asterisk-DTpbbXPb.js} +0 -0
- /package/dist/{brainfuck-BYgLey30.js → brainfuck-BWQep-SA.js} +0 -0
- /package/dist/{clojure-Bs2M3OUY.js → clojure-BzFapDkA.js} +0 -0
- /package/dist/{cmake-DpI8vxJN.js → cmake-DvlbIC8x.js} +0 -0
- /package/dist/{cobol-BQyrWo72.js → cobol-BrEI4cPR.js} +0 -0
- /package/dist/{coffeescript-9ke9UHmw.js → coffeescript-B6cvu8mO.js} +0 -0
- /package/dist/{common-keywords-BzgeAvH1.js → common-keywords-WqQm7W8t.js} +0 -0
- /package/dist/{commonlisp-DghUdrUH.js → commonlisp-BIT8PQqi.js} +0 -0
- /package/dist/{crystal-DEf_SInh.js → crystal-B_UcPArT.js} +0 -0
- /package/dist/{css-BzTU9lNO.js → css-dHbnt_zl.js} +0 -0
- /package/dist/{cypher-a2v0c11S.js → cypher-Dh3FOpL7.js} +0 -0
- /package/dist/{d-SAswny-M.js → d-CQD1IHee.js} +0 -0
- /package/dist/{diff-OJ-xLXcG.js → diff-CpF_IDx0.js} +0 -0
- /package/dist/{dtd-BsUf-rer.js → dtd-DYoNpy6c.js} +0 -0
- /package/dist/{duckdb-keywords-B0NOra5o.js → duckdb-keywords-CdIsl9L0.js} +0 -0
- /package/dist/{dylan-C0ZYngjn.js → dylan-Bc_2G1E-.js} +0 -0
- /package/dist/{ebnf-DF1xx0b_.js → ebnf-jGVT_YpN.js} +0 -0
- /package/dist/{ecl-Bsuvoouq.js → ecl-UIU-P-Ar.js} +0 -0
- /package/dist/{eiffel-DgfSpLi-.js → eiffel-C90Oyuix.js} +0 -0
- /package/dist/{elm-GNxDj-5E.js → elm-B9fWSySj.js} +0 -0
- /package/dist/{erlang-Ds3uY1kL.js → erlang-Ccff0UAn.js} +0 -0
- /package/dist/{fcl-CqBgSioc.js → fcl-CGR8NxAg.js} +0 -0
- /package/dist/{forth-JCaLysGk.js → forth-U1ROGcBY.js} +0 -0
- /package/dist/{fortran-Dc2AoKAl.js → fortran-3nOkjDmc.js} +0 -0
- /package/dist/{gas-Q4Uz82YW.js → gas-B_4H5FzV.js} +0 -0
- /package/dist/{gherkin-Dpxe49sQ.js → gherkin-B0eru5Uz.js} +0 -0
- /package/dist/{groovy-D8mTRCu6.js → groovy-dqjtZUVf.js} +0 -0
- /package/dist/{haskell-2_8cC4wY.js → haskell-DFzCCQzo.js} +0 -0
- /package/dist/{haxe-Bl9zkZlz.js → haxe-Da8Pj5RT.js} +0 -0
- /package/dist/{http-DKCqY6yS.js → http-1HACL_9s.js} +0 -0
- /package/dist/{idl-Dn-HNfGW.js → idl-D3NXs5iM.js} +0 -0
- /package/dist/{jinja2-JjFiAGKk.js → jinja2-gBHAxUdF.js} +0 -0
- /package/dist/{julia-R5wne8eu.js → julia-bG-6nJ-_.js} +0 -0
- /package/dist/{livescript-DSwokrYj.js → livescript-BlsRC8UJ.js} +0 -0
- /package/dist/{lua-CgXfrp2-.js → lua-BbDC0_5w.js} +0 -0
- /package/dist/{mathematica-BVli92MR.js → mathematica-YZTe3-PF.js} +0 -0
- /package/dist/{mbox-CMFlocdS.js → mbox-CY5idp08.js} +0 -0
- /package/dist/{mirc-BkW04Zpc.js → mirc-CbQuFZKk.js} +0 -0
- /package/dist/{mllike-DEjvHvNV.js → mllike-DsbHMX-5.js} +0 -0
- /package/dist/{modelica-CxDn-oje.js → modelica-CQuvsOQk.js} +0 -0
- /package/dist/{mscgen-D78wmE-w.js → mscgen-LIpBP9VR.js} +0 -0
- /package/dist/{mumps-Bi0IvPOV.js → mumps-Ct5NXoaG.js} +0 -0
- /package/dist/{nginx-DErPZFhX.js → nginx-Dvc62C8z.js} +0 -0
- /package/dist/{ntriples-Btyp6wRL.js → ntriples-jVkxWUuv.js} +0 -0
- /package/dist/{octave-CZA6-2F8.js → octave-jGOImUB0.js} +0 -0
- /package/dist/{oz-Bm6LSNfE.js → oz-Y0FKDMS2.js} +0 -0
- /package/dist/{pascal-B4J6a9BH.js → pascal-BaLtPWWB.js} +0 -0
- /package/dist/{perl-CzVqxS08.js → perl-CjfE0JLo.js} +0 -0
- /package/dist/{pig-Clh03cnn.js → pig-DE4epV99.js} +0 -0
- /package/dist/{properties-D7ch1Wyb.js → properties-CLyCG5C-.js} +0 -0
- /package/dist/{protobuf-DrkdrMPK.js → protobuf-BjBBs_V4.js} +0 -0
- /package/dist/{puppet-BtZG8zdO.js → puppet-ZImLuomA.js} +0 -0
- /package/dist/{python-B6FKOVIv.js → python-C9YN71pR.js} +0 -0
- /package/dist/{r-Dnvo5-96.js → r-DILmKWWW.js} +0 -0
- /package/dist/{rpm-B1DrgfnX.js → rpm-fpIsm1Kr.js} +0 -0
- /package/dist/{ruby-CelfUg17.js → ruby-BuiQI41h.js} +0 -0
- /package/dist/{sas-DfSQFMWG.js → sas-C76sJ1zF.js} +0 -0
- /package/dist/{scheme-BplhaWuO.js → scheme-DHjM-txv.js} +0 -0
- /package/dist/{shell-DqU5OS2c.js → shell--7NmGJ9p.js} +0 -0
- /package/dist/{sieve-BE4_IyGa.js → sieve-DaPvBv1M.js} +0 -0
- /package/dist/{smalltalk-B_WPL8Nx.js → smalltalk-KPvwrjCs.js} +0 -0
- /package/dist/{solr-DlJFg7H5.js → solr-PvZUtEDb.js} +0 -0
- /package/dist/{sparql-7XIlcOgW.js → sparql-CXSUIQer.js} +0 -0
- /package/dist/{spreadsheet-BdZSVwVp.js → spreadsheet-DPJdGPkx.js} +0 -0
- /package/dist/{sql-CCrq7lfJ.js → sql-Dp4ZLSIa.js} +0 -0
- /package/dist/{stex-BiFc8QAu.js → stex-CeXW4zzk.js} +0 -0
- /package/dist/{stylus-DlSH9xpH.js → stylus-BXcmrg9w.js} +0 -0
- /package/dist/{swift-e3tMTZgJ.js → swift-DD8I7hKP.js} +0 -0
- /package/dist/{tcl-DfZMC20G.js → tcl-B9Lp4GtA.js} +0 -0
- /package/dist/{textile-DaSeca5U.js → textile-qdiY0teq.js} +0 -0
- /package/dist/{tiddlywiki-dfoiz8pS.js → tiddlywiki-t32lkubq.js} +0 -0
- /package/dist/{tiki-yJbQzhma.js → tiki-B0qKrSMl.js} +0 -0
- /package/dist/{troff-FN_FrCXR.js → troff-105XJOEu.js} +0 -0
- /package/dist/{ttcn-7_i4HlyB.js → ttcn-1_BxDcM8.js} +0 -0
- /package/dist/{ttcn-cfg-B46AlBUV.js → ttcn-cfg-Cn_XgXiw.js} +0 -0
- /package/dist/{turtle-QQfeFveR.js → turtle-BI6LyfEu.js} +0 -0
- /package/dist/{vb-DToPVnLa.js → vb-BecoBfmr.js} +0 -0
- /package/dist/{vbscript-CtsNaTz4.js → vbscript-De-zpA4i.js} +0 -0
- /package/dist/{velocity-CAoNe6ns.js → velocity-DhlYJTrD.js} +0 -0
- /package/dist/{verilog-DrDOMiJq.js → verilog-BDZgxDOW.js} +0 -0
- /package/dist/{vhdl-DnO0OEPh.js → vhdl-CV0OKTbp.js} +0 -0
- /package/dist/{webidl-Or6d1ZfA.js → webidl-BOM1Fs0O.js} +0 -0
- /package/dist/{xquery-CEp_Mcpr.js → xquery-CltP_CGh.js} +0 -0
- /package/dist/{yacas-DgnYrSlp.js → yacas-Dch4E2Dg.js} +0 -0
- /package/dist/{z80-DlG_kyeB.js → z80-B5Yly27o.js} +0 -0
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import "./isArrayLikeObject-BlvK28do.js";
|
|
2
|
+
import "./isSymbol-Cb1f2HgO.js";
|
|
3
|
+
import "./toString-C2mCkasT.js";
|
|
4
|
+
import "./toNumber-EFF1Z9T1.js";
|
|
5
|
+
import "./_basePickBy-CzSvE_-f.js";
|
|
6
|
+
import "./_baseIsEqual-CN4oFUZ4.js";
|
|
7
|
+
import "./_baseUniq-DwoC-LVO.js";
|
|
8
|
+
import "./chunk-4KMFLZZN-DnvP3O4K.js";
|
|
9
|
+
import "./_baseProperty-DbbUiyUD.js";
|
|
10
|
+
import "./memoize-DYoRBSLn.js";
|
|
11
|
+
import "./merge-BjuR6j_w.js";
|
|
12
|
+
import "./_baseSlice-OgpvpOOJ.js";
|
|
13
|
+
import "./_arrayReduce-CVwxyrBP.js";
|
|
14
|
+
import "./clone-Msbhmn2a.js";
|
|
15
|
+
import "./min-B_i2ahn4.js";
|
|
16
|
+
import "./isEmpty--odfYjh1.js";
|
|
17
|
+
import "./main-Czi9-LVy.js";
|
|
18
|
+
import "./math-C7wLpe9K.js";
|
|
19
|
+
import "./step-IHYrujTc.js";
|
|
20
|
+
import { i as cleanAndMerge } from "./chunk-S3R3BYOJ-itCT6Vif.js";
|
|
21
|
+
import "./timer-CzOhIJuk.js";
|
|
22
|
+
import { i as log, r as __name } from "./src-DZkaBUmt.js";
|
|
23
|
+
import { B as setAccTitle, C as getDiagramTitle, T as getThemeVariables3, U as setDiagramTitle, _ as getAccDescription, a as clear, d as defaultConfig_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-CZcb_1iM.js";
|
|
24
|
+
import { t as selectSvgElement } from "./chunk-EXTU4WIE-GQ2ZWfJo.js";
|
|
25
|
+
import "./dist-CK8Gj3GX.js";
|
|
26
|
+
import "./chunk-JEIROHC2-B-EZMP4V.js";
|
|
27
|
+
import "./chunk-BN7GFLIU-pBc5O5Rh.js";
|
|
28
|
+
import "./chunk-T44TD3VJ-BLdfTX8J.js";
|
|
29
|
+
import "./chunk-KMC2YHZD-SckhHdEh.js";
|
|
30
|
+
import "./chunk-WFWHJNB7-Cmed18Pk.js";
|
|
31
|
+
import "./chunk-WFRQ32O7-CPsipkmJ.js";
|
|
32
|
+
import "./chunk-XRWGC2XP-DH5GDaY8.js";
|
|
33
|
+
import { t as populateCommonDb } from "./chunk-4BX2VUAB-DEd4VI9L.js";
|
|
34
|
+
import { t as parse } from "./mermaid-parser.core-BLkyTSZj.js";
|
|
35
|
+
var defaultOptions = {
|
|
36
|
+
showLegend: true,
|
|
37
|
+
ticks: 5,
|
|
38
|
+
max: null,
|
|
39
|
+
min: 0,
|
|
40
|
+
graticule: "circle"
|
|
41
|
+
}, defaultRadarData = {
|
|
42
|
+
axes: [],
|
|
43
|
+
curves: [],
|
|
44
|
+
options: defaultOptions
|
|
45
|
+
}, data = structuredClone(defaultRadarData), DEFAULT_RADAR_CONFIG = defaultConfig_default.radar, getConfig2 = /* @__PURE__ */ __name(() => cleanAndMerge({
|
|
46
|
+
...DEFAULT_RADAR_CONFIG,
|
|
47
|
+
...getConfig().radar
|
|
48
|
+
}), "getConfig"), getAxes = /* @__PURE__ */ __name(() => data.axes, "getAxes"), getCurves = /* @__PURE__ */ __name(() => data.curves, "getCurves"), getOptions = /* @__PURE__ */ __name(() => data.options, "getOptions"), setAxes = /* @__PURE__ */ __name((t) => {
|
|
49
|
+
data.axes = t.map((t2) => ({
|
|
50
|
+
name: t2.name,
|
|
51
|
+
label: t2.label ?? t2.name
|
|
52
|
+
}));
|
|
53
|
+
}, "setAxes"), setCurves = /* @__PURE__ */ __name((t) => {
|
|
54
|
+
data.curves = t.map((t2) => ({
|
|
55
|
+
name: t2.name,
|
|
56
|
+
label: t2.label ?? t2.name,
|
|
57
|
+
entries: computeCurveEntries(t2.entries)
|
|
58
|
+
}));
|
|
59
|
+
}, "setCurves"), computeCurveEntries = /* @__PURE__ */ __name((t) => {
|
|
60
|
+
if (t[0].axis == null) return t.map((t2) => t2.value);
|
|
61
|
+
let k = getAxes();
|
|
62
|
+
if (k.length === 0) throw Error("Axes must be populated before curves for reference entries");
|
|
63
|
+
return k.map((k2) => {
|
|
64
|
+
let A = t.find((t2) => {
|
|
65
|
+
var _a;
|
|
66
|
+
return ((_a = t2.axis) == null ? void 0 : _a.$refText) === k2.name;
|
|
67
|
+
});
|
|
68
|
+
if (A === void 0) throw Error("Missing entry for axis " + k2.label);
|
|
69
|
+
return A.value;
|
|
70
|
+
});
|
|
71
|
+
}, "computeCurveEntries"), db = {
|
|
72
|
+
getAxes,
|
|
73
|
+
getCurves,
|
|
74
|
+
getOptions,
|
|
75
|
+
setAxes,
|
|
76
|
+
setCurves,
|
|
77
|
+
setOptions: /* @__PURE__ */ __name((t) => {
|
|
78
|
+
var _a, _b, _c, _d, _e;
|
|
79
|
+
let k = t.reduce((t2, k2) => (t2[k2.name] = k2, t2), {});
|
|
80
|
+
data.options = {
|
|
81
|
+
showLegend: ((_a = k.showLegend) == null ? void 0 : _a.value) ?? defaultOptions.showLegend,
|
|
82
|
+
ticks: ((_b = k.ticks) == null ? void 0 : _b.value) ?? defaultOptions.ticks,
|
|
83
|
+
max: ((_c = k.max) == null ? void 0 : _c.value) ?? defaultOptions.max,
|
|
84
|
+
min: ((_d = k.min) == null ? void 0 : _d.value) ?? defaultOptions.min,
|
|
85
|
+
graticule: ((_e = k.graticule) == null ? void 0 : _e.value) ?? defaultOptions.graticule
|
|
86
|
+
};
|
|
87
|
+
}, "setOptions"),
|
|
88
|
+
getConfig: getConfig2,
|
|
89
|
+
clear: /* @__PURE__ */ __name(() => {
|
|
90
|
+
clear(), data = structuredClone(defaultRadarData);
|
|
91
|
+
}, "clear"),
|
|
92
|
+
setAccTitle,
|
|
93
|
+
getAccTitle,
|
|
94
|
+
setDiagramTitle,
|
|
95
|
+
getDiagramTitle,
|
|
96
|
+
getAccDescription,
|
|
97
|
+
setAccDescription
|
|
98
|
+
}, populate = /* @__PURE__ */ __name((t) => {
|
|
99
|
+
populateCommonDb(t, db);
|
|
100
|
+
let { axes: k, curves: A, options: j } = t;
|
|
101
|
+
db.setAxes(k), db.setCurves(A), db.setOptions(j);
|
|
102
|
+
}, "populate"), parser = { parse: /* @__PURE__ */ __name(async (t) => {
|
|
103
|
+
let A = await parse("radar", t);
|
|
104
|
+
log.debug(A), populate(A);
|
|
105
|
+
}, "parse") }, draw = /* @__PURE__ */ __name((t, k, A, j) => {
|
|
106
|
+
let M = j.db, N = M.getAxes(), P = M.getCurves(), F = M.getOptions(), I = M.getConfig(), L = M.getDiagramTitle(), R = drawFrame(selectSvgElement(k), I), z = F.max ?? Math.max(...P.map((t2) => Math.max(...t2.entries))), B = F.min, V = Math.min(I.width, I.height) / 2;
|
|
107
|
+
drawGraticule(R, N, V, F.ticks, F.graticule), drawAxes(R, N, V, I), drawCurves(R, N, P, B, z, F.graticule, I), drawLegend(R, P, F.showLegend, I), R.append("text").attr("class", "radarTitle").text(L).attr("x", 0).attr("y", -I.height / 2 - I.marginTop);
|
|
108
|
+
}, "draw"), drawFrame = /* @__PURE__ */ __name((t, k) => {
|
|
109
|
+
let A = k.width + k.marginLeft + k.marginRight, j = k.height + k.marginTop + k.marginBottom, M = {
|
|
110
|
+
x: k.marginLeft + k.width / 2,
|
|
111
|
+
y: k.marginTop + k.height / 2
|
|
112
|
+
};
|
|
113
|
+
return t.attr("viewbox", `0 0 ${A} ${j}`).attr("width", A).attr("height", j), t.append("g").attr("transform", `translate(${M.x}, ${M.y})`);
|
|
114
|
+
}, "drawFrame"), drawGraticule = /* @__PURE__ */ __name((t, k, A, j, M) => {
|
|
115
|
+
if (M === "circle") for (let k2 = 0; k2 < j; k2++) {
|
|
116
|
+
let M2 = A * (k2 + 1) / j;
|
|
117
|
+
t.append("circle").attr("r", M2).attr("class", "radarGraticule");
|
|
118
|
+
}
|
|
119
|
+
else if (M === "polygon") {
|
|
120
|
+
let M2 = k.length;
|
|
121
|
+
for (let N = 0; N < j; N++) {
|
|
122
|
+
let P = A * (N + 1) / j, F = k.map((t2, k2) => {
|
|
123
|
+
let A2 = 2 * k2 * Math.PI / M2 - Math.PI / 2;
|
|
124
|
+
return `${P * Math.cos(A2)},${P * Math.sin(A2)}`;
|
|
125
|
+
}).join(" ");
|
|
126
|
+
t.append("polygon").attr("points", F).attr("class", "radarGraticule");
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}, "drawGraticule"), drawAxes = /* @__PURE__ */ __name((t, k, A, j) => {
|
|
130
|
+
let M = k.length;
|
|
131
|
+
for (let N = 0; N < M; N++) {
|
|
132
|
+
let P = k[N].label, F = 2 * N * Math.PI / M - Math.PI / 2;
|
|
133
|
+
t.append("line").attr("x1", 0).attr("y1", 0).attr("x2", A * j.axisScaleFactor * Math.cos(F)).attr("y2", A * j.axisScaleFactor * Math.sin(F)).attr("class", "radarAxisLine"), t.append("text").text(P).attr("x", A * j.axisLabelFactor * Math.cos(F)).attr("y", A * j.axisLabelFactor * Math.sin(F)).attr("class", "radarAxisLabel");
|
|
134
|
+
}
|
|
135
|
+
}, "drawAxes");
|
|
136
|
+
function drawCurves(t, k, A, j, M, N, P) {
|
|
137
|
+
let F = k.length, I = Math.min(P.width, P.height) / 2;
|
|
138
|
+
A.forEach((k2, A2) => {
|
|
139
|
+
if (k2.entries.length !== F) return;
|
|
140
|
+
let L = k2.entries.map((t2, k3) => {
|
|
141
|
+
let A3 = 2 * Math.PI * k3 / F - Math.PI / 2, N2 = relativeRadius(t2, j, M, I);
|
|
142
|
+
return {
|
|
143
|
+
x: N2 * Math.cos(A3),
|
|
144
|
+
y: N2 * Math.sin(A3)
|
|
145
|
+
};
|
|
146
|
+
});
|
|
147
|
+
N === "circle" ? t.append("path").attr("d", closedRoundCurve(L, P.curveTension)).attr("class", `radarCurve-${A2}`) : N === "polygon" && t.append("polygon").attr("points", L.map((t2) => `${t2.x},${t2.y}`).join(" ")).attr("class", `radarCurve-${A2}`);
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
__name(drawCurves, "drawCurves");
|
|
151
|
+
function relativeRadius(t, k, A, j) {
|
|
152
|
+
return j * (Math.min(Math.max(t, k), A) - k) / (A - k);
|
|
153
|
+
}
|
|
154
|
+
__name(relativeRadius, "relativeRadius");
|
|
155
|
+
function closedRoundCurve(t, k) {
|
|
156
|
+
let A = t.length, j = `M${t[0].x},${t[0].y}`;
|
|
157
|
+
for (let M = 0; M < A; M++) {
|
|
158
|
+
let N = t[(M - 1 + A) % A], P = t[M], F = t[(M + 1) % A], I = t[(M + 2) % A], L = {
|
|
159
|
+
x: P.x + (F.x - N.x) * k,
|
|
160
|
+
y: P.y + (F.y - N.y) * k
|
|
161
|
+
}, R = {
|
|
162
|
+
x: F.x - (I.x - P.x) * k,
|
|
163
|
+
y: F.y - (I.y - P.y) * k
|
|
164
|
+
};
|
|
165
|
+
j += ` C${L.x},${L.y} ${R.x},${R.y} ${F.x},${F.y}`;
|
|
166
|
+
}
|
|
167
|
+
return `${j} Z`;
|
|
168
|
+
}
|
|
169
|
+
__name(closedRoundCurve, "closedRoundCurve");
|
|
170
|
+
function drawLegend(t, k, A, j) {
|
|
171
|
+
if (!A) return;
|
|
172
|
+
let M = (j.width / 2 + j.marginRight) * 3 / 4, N = -(j.height / 2 + j.marginTop) * 3 / 4;
|
|
173
|
+
k.forEach((k2, A2) => {
|
|
174
|
+
let j2 = t.append("g").attr("transform", `translate(${M}, ${N + A2 * 20})`);
|
|
175
|
+
j2.append("rect").attr("width", 12).attr("height", 12).attr("class", `radarLegendBox-${A2}`), j2.append("text").attr("x", 16).attr("y", 0).attr("class", "radarLegendText").text(k2.label);
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
__name(drawLegend, "drawLegend");
|
|
179
|
+
var renderer = { draw }, genIndexStyles = /* @__PURE__ */ __name((t, k) => {
|
|
180
|
+
let A = "";
|
|
181
|
+
for (let j = 0; j < t.THEME_COLOR_LIMIT; j++) {
|
|
182
|
+
let M = t[`cScale${j}`];
|
|
183
|
+
A += `
|
|
184
|
+
.radarCurve-${j} {
|
|
185
|
+
color: ${M};
|
|
186
|
+
fill: ${M};
|
|
187
|
+
fill-opacity: ${k.curveOpacity};
|
|
188
|
+
stroke: ${M};
|
|
189
|
+
stroke-width: ${k.curveStrokeWidth};
|
|
190
|
+
}
|
|
191
|
+
.radarLegendBox-${j} {
|
|
192
|
+
fill: ${M};
|
|
193
|
+
fill-opacity: ${k.curveOpacity};
|
|
194
|
+
stroke: ${M};
|
|
195
|
+
}
|
|
196
|
+
`;
|
|
197
|
+
}
|
|
198
|
+
return A;
|
|
199
|
+
}, "genIndexStyles"), buildRadarStyleOptions = /* @__PURE__ */ __name((k) => {
|
|
200
|
+
let A = cleanAndMerge(getThemeVariables3(), getConfig().themeVariables);
|
|
201
|
+
return {
|
|
202
|
+
themeVariables: A,
|
|
203
|
+
radarOptions: cleanAndMerge(A.radar, k)
|
|
204
|
+
};
|
|
205
|
+
}, "buildRadarStyleOptions"), diagram = {
|
|
206
|
+
parser,
|
|
207
|
+
db,
|
|
208
|
+
renderer,
|
|
209
|
+
styles: /* @__PURE__ */ __name(({ radar: t } = {}) => {
|
|
210
|
+
let { themeVariables: k, radarOptions: A } = buildRadarStyleOptions(t);
|
|
211
|
+
return `
|
|
212
|
+
.radarTitle {
|
|
213
|
+
font-size: ${k.fontSize};
|
|
214
|
+
color: ${k.titleColor};
|
|
215
|
+
dominant-baseline: hanging;
|
|
216
|
+
text-anchor: middle;
|
|
217
|
+
}
|
|
218
|
+
.radarAxisLine {
|
|
219
|
+
stroke: ${A.axisColor};
|
|
220
|
+
stroke-width: ${A.axisStrokeWidth};
|
|
221
|
+
}
|
|
222
|
+
.radarAxisLabel {
|
|
223
|
+
dominant-baseline: middle;
|
|
224
|
+
text-anchor: middle;
|
|
225
|
+
font-size: ${A.axisLabelFontSize}px;
|
|
226
|
+
color: ${A.axisColor};
|
|
227
|
+
}
|
|
228
|
+
.radarGraticule {
|
|
229
|
+
fill: ${A.graticuleColor};
|
|
230
|
+
fill-opacity: ${A.graticuleOpacity};
|
|
231
|
+
stroke: ${A.graticuleColor};
|
|
232
|
+
stroke-width: ${A.graticuleStrokeWidth};
|
|
233
|
+
}
|
|
234
|
+
.radarLegendText {
|
|
235
|
+
text-anchor: start;
|
|
236
|
+
font-size: ${A.legendFontSize}px;
|
|
237
|
+
dominant-baseline: hanging;
|
|
238
|
+
}
|
|
239
|
+
${genIndexStyles(k, A)}
|
|
240
|
+
`;
|
|
241
|
+
}, "styles")
|
|
242
|
+
};
|
|
243
|
+
export {
|
|
244
|
+
diagram
|
|
245
|
+
};
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
var _a;
|
|
2
|
-
import "./isArrayLikeObject-
|
|
3
|
-
import "./isSymbol-
|
|
4
|
-
import "./toString-
|
|
5
|
-
import "./toNumber-
|
|
6
|
-
import "./_basePickBy-
|
|
7
|
-
import "./_baseIsEqual-
|
|
8
|
-
import "./_baseUniq-
|
|
9
|
-
import "./chunk-4KMFLZZN-
|
|
10
|
-
import "./_baseProperty-
|
|
11
|
-
import "./memoize-
|
|
12
|
-
import "./merge-
|
|
2
|
+
import "./isArrayLikeObject-BlvK28do.js";
|
|
3
|
+
import "./isSymbol-Cb1f2HgO.js";
|
|
4
|
+
import "./toString-C2mCkasT.js";
|
|
5
|
+
import "./toNumber-EFF1Z9T1.js";
|
|
6
|
+
import "./_basePickBy-CzSvE_-f.js";
|
|
7
|
+
import "./_baseIsEqual-CN4oFUZ4.js";
|
|
8
|
+
import "./_baseUniq-DwoC-LVO.js";
|
|
9
|
+
import "./chunk-4KMFLZZN-DnvP3O4K.js";
|
|
10
|
+
import "./_baseProperty-DbbUiyUD.js";
|
|
11
|
+
import "./memoize-DYoRBSLn.js";
|
|
12
|
+
import "./merge-BjuR6j_w.js";
|
|
13
13
|
import "./_baseSlice-OgpvpOOJ.js";
|
|
14
14
|
import "./_arrayReduce-CVwxyrBP.js";
|
|
15
|
-
import "./clone-
|
|
16
|
-
import "./min-
|
|
17
|
-
import "./isEmpty
|
|
15
|
+
import "./clone-Msbhmn2a.js";
|
|
16
|
+
import "./min-B_i2ahn4.js";
|
|
17
|
+
import "./isEmpty--odfYjh1.js";
|
|
18
18
|
import "./main-Czi9-LVy.js";
|
|
19
19
|
import "./math-C7wLpe9K.js";
|
|
20
20
|
import "./step-IHYrujTc.js";
|
|
21
|
-
import { i as cleanAndMerge } from "./chunk-S3R3BYOJ-
|
|
22
|
-
import "./timer-
|
|
23
|
-
import { i as log, r as __name } from "./src-
|
|
24
|
-
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
25
|
-
import { t as selectSvgElement } from "./chunk-EXTU4WIE-
|
|
21
|
+
import { i as cleanAndMerge } from "./chunk-S3R3BYOJ-itCT6Vif.js";
|
|
22
|
+
import "./timer-CzOhIJuk.js";
|
|
23
|
+
import { i as log, r as __name } from "./src-DZkaBUmt.js";
|
|
24
|
+
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-CZcb_1iM.js";
|
|
25
|
+
import { t as selectSvgElement } from "./chunk-EXTU4WIE-GQ2ZWfJo.js";
|
|
26
26
|
import "./dist-CK8Gj3GX.js";
|
|
27
|
-
import "./chunk-JEIROHC2-
|
|
28
|
-
import "./chunk-BN7GFLIU-
|
|
29
|
-
import "./chunk-T44TD3VJ-
|
|
30
|
-
import "./chunk-KMC2YHZD-
|
|
31
|
-
import "./chunk-WFWHJNB7-
|
|
32
|
-
import "./chunk-WFRQ32O7-
|
|
33
|
-
import "./chunk-XRWGC2XP-
|
|
34
|
-
import { t as populateCommonDb } from "./chunk-4BX2VUAB-
|
|
35
|
-
import { t as parse } from "./mermaid-parser.core-
|
|
27
|
+
import "./chunk-JEIROHC2-B-EZMP4V.js";
|
|
28
|
+
import "./chunk-BN7GFLIU-pBc5O5Rh.js";
|
|
29
|
+
import "./chunk-T44TD3VJ-BLdfTX8J.js";
|
|
30
|
+
import "./chunk-KMC2YHZD-SckhHdEh.js";
|
|
31
|
+
import "./chunk-WFWHJNB7-Cmed18Pk.js";
|
|
32
|
+
import "./chunk-WFRQ32O7-CPsipkmJ.js";
|
|
33
|
+
import "./chunk-XRWGC2XP-DH5GDaY8.js";
|
|
34
|
+
import { t as populateCommonDb } from "./chunk-4BX2VUAB-DEd4VI9L.js";
|
|
35
|
+
import { t as parse } from "./mermaid-parser.core-BLkyTSZj.js";
|
|
36
36
|
var DEFAULT_PACKET_CONFIG = defaultConfig_default.packet, PacketDB = (_a = class {
|
|
37
37
|
constructor() {
|
|
38
38
|
this.packet = [], this.setAccTitle = setAccTitle, this.getAccTitle = getAccTitle, this.setDiagramTitle = setDiagramTitle, this.getDiagramTitle = getDiagramTitle, this.getAccDescription = getAccDescription, this.setAccDescription = setAccDescription;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as tags, I as syntaxTree, J as parseMixed, O as indentNodeProp, Tt as EditorSelection, Z as EditorView, m as bracketMatchingHandle, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-
|
|
2
|
-
import { r as cssLanguage, t as css } from "./dist-
|
|
3
|
-
import { c as typescriptLanguage, i as jsxLanguage, n as javascript, r as javascriptLanguage, s as tsxLanguage } from "./dist-
|
|
1
|
+
import { B as tags, I as syntaxTree, J as parseMixed, O as indentNodeProp, Tt as EditorSelection, Z as EditorView, m as bracketMatchingHandle, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-z_iuDES7.js";
|
|
2
|
+
import { r as cssLanguage, t as css } from "./dist-RwqAqkpG.js";
|
|
3
|
+
import { c as typescriptLanguage, i as jsxLanguage, n as javascript, r as javascriptLanguage, s as tsxLanguage } from "./dist-CYhQCVru.js";
|
|
4
4
|
var scriptText = 54, StartCloseScriptTag = 1, styleText = 55, StartCloseStyleTag = 2, textareaText = 56, StartCloseTextareaTag = 3, EndTag = 4, SelfClosingEndTag = 5, StartTag = 6, StartScriptTag = 7, StartStyleTag = 8, StartTextareaTag = 9, StartSelfClosingTag = 10, StartCloseTag = 11, NoMatchStartCloseTag = 12, MismatchedStartCloseTag = 13, missingCloseTag = 57, IncompleteCloseTag = 14, commentContent$1 = 58, Element = 20, TagName = 22, Attribute = 23, AttributeName = 24, AttributeValue = 26, UnquotedAttributeValue = 27, ScriptText = 28, StyleText = 31, TextareaText = 34, OpenTag = 36, CloseTag = 37, Dialect_noMatch = 0, Dialect_selfClosing = 1, selfClosers$1 = {
|
|
5
5
|
area: true,
|
|
6
6
|
base: true,
|
|
@@ -1133,11 +1133,11 @@ function completeStartTag(g, G, K, q) {
|
|
|
1133
1133
|
};
|
|
1134
1134
|
}
|
|
1135
1135
|
function completeAttrName(g, G, K, q, J) {
|
|
1136
|
-
let Y = findParentElement(K), X = Y ? G.tags[elementName(g.doc, Y)] : null, Z = X && X.attrs ? Object.keys(X.attrs) : []
|
|
1136
|
+
let Y = findParentElement(K), X = Y ? G.tags[elementName(g.doc, Y)] : null, Z = X && X.attrs ? Object.keys(X.attrs) : [];
|
|
1137
1137
|
return {
|
|
1138
1138
|
from: q,
|
|
1139
1139
|
to: J,
|
|
1140
|
-
options:
|
|
1140
|
+
options: (X && X.globalAttrs === false ? Z : Z.length ? Z.concat(G.globalAttrNames) : G.globalAttrNames).map((g2) => ({
|
|
1141
1141
|
label: g2,
|
|
1142
1142
|
type: "property"
|
|
1143
1143
|
})),
|
|
@@ -1271,12 +1271,10 @@ var jsonParser = /* @__PURE__ */ javascriptLanguage.parser.configure({ top: "Sin
|
|
|
1271
1271
|
}), htmlLanguage = /* @__PURE__ */ htmlPlain.configure({ wrap: /* @__PURE__ */ configureNesting(defaultNesting, defaultAttrs) });
|
|
1272
1272
|
function html(g = {}) {
|
|
1273
1273
|
let G = "", K;
|
|
1274
|
-
g.matchClosingTags === false && (G = "noMatch"), g.selfClosingTags === true && (G = (G ? G + " " : "") + "selfClosing"), (g.nestedLanguages && g.nestedLanguages.length || g.nestedAttributes && g.nestedAttributes.length) && (K = configureNesting((g.nestedLanguages || []).concat(defaultNesting), (g.nestedAttributes || []).concat(defaultAttrs)))
|
|
1275
|
-
let q = K ? htmlPlain.configure({
|
|
1274
|
+
return g.matchClosingTags === false && (G = "noMatch"), g.selfClosingTags === true && (G = (G ? G + " " : "") + "selfClosing"), (g.nestedLanguages && g.nestedLanguages.length || g.nestedAttributes && g.nestedAttributes.length) && (K = configureNesting((g.nestedLanguages || []).concat(defaultNesting), (g.nestedAttributes || []).concat(defaultAttrs))), new LanguageSupport(K ? htmlPlain.configure({
|
|
1276
1275
|
wrap: K,
|
|
1277
1276
|
dialect: G
|
|
1278
|
-
}) : G ? htmlLanguage.configure({ dialect: G }) : htmlLanguage
|
|
1279
|
-
return new LanguageSupport(q, [
|
|
1277
|
+
}) : G ? htmlLanguage.configure({ dialect: G }) : htmlLanguage, [
|
|
1280
1278
|
htmlLanguage.data.of({ autocomplete: htmlCompletionSourceWith(g) }),
|
|
1281
1279
|
g.autoCloseTags === false ? [] : autoCloseTags,
|
|
1282
1280
|
javascript().support,
|
|
@@ -1290,17 +1288,14 @@ var selfClosers = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col comm
|
|
|
1290
1288
|
let K2 = Q.doc.sliceString(g2.from - 1, g2.to) == Y, { head: q2 } = g2, X2 = syntaxTree(Q).resolveInner(q2, -1), Z2;
|
|
1291
1289
|
if (K2 && Y == ">" && X2.name == "EndTag") {
|
|
1292
1290
|
let G = X2.parent;
|
|
1293
|
-
if (((_b = (_a = G.parent) == null ? void 0 : _a.lastChild) == null ? void 0 : _b.name) != "CloseTag" && (Z2 = elementName(Q.doc, G.parent, q2)) && !selfClosers.has(Z2)) {
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
}
|
|
1302
|
-
};
|
|
1303
|
-
}
|
|
1291
|
+
if (((_b = (_a = G.parent) == null ? void 0 : _a.lastChild) == null ? void 0 : _b.name) != "CloseTag" && (Z2 = elementName(Q.doc, G.parent, q2)) && !selfClosers.has(Z2)) return {
|
|
1292
|
+
range: g2,
|
|
1293
|
+
changes: {
|
|
1294
|
+
from: q2,
|
|
1295
|
+
to: q2 + (Q.doc.sliceString(q2, q2 + 1) === ">" ? 1 : 0),
|
|
1296
|
+
insert: `</${Z2}>`
|
|
1297
|
+
}
|
|
1298
|
+
};
|
|
1304
1299
|
} else if (K2 && Y == "/" && X2.name == "IncompleteCloseTag") {
|
|
1305
1300
|
let g3 = X2.parent;
|
|
1306
1301
|
if (X2.from == q2 - 2 && ((_c = g3.lastChild) == null ? void 0 : _c.name) != "CloseTag" && (Z2 = elementName(Q.doc, g3, q2)) && !selfClosers.has(Z2)) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./dist-
|
|
2
|
-
import { i as defineCSSCompletionSource, n as cssCompletionSource, r as cssLanguage, t as css } from "./dist-
|
|
1
|
+
import "./dist-z_iuDES7.js";
|
|
2
|
+
import { i as defineCSSCompletionSource, n as cssCompletionSource, r as cssLanguage, t as css } from "./dist-RwqAqkpG.js";
|
|
3
3
|
export {
|
|
4
4
|
css,
|
|
5
5
|
cssCompletionSource,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./dist-
|
|
2
|
-
import "./dist-
|
|
3
|
-
import { i as pythonLanguage, n as localCompletionSource, r as python, t as globalCompletion } from "./dist-
|
|
1
|
+
import "./dist-z_iuDES7.js";
|
|
2
|
+
import "./dist-C7zhQ7K0.js";
|
|
3
|
+
import { i as pythonLanguage, n as localCompletionSource, r as python, t as globalCompletion } from "./dist-PGgOcwbF.js";
|
|
4
4
|
export {
|
|
5
5
|
globalCompletion,
|
|
6
6
|
localCompletionSource,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as tags, I as syntaxTree, J as parseMixed, O as indentNodeProp, Tt as EditorSelection, Z as EditorView, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-
|
|
2
|
-
import { n as html } from "./dist-
|
|
1
|
+
import { B as tags, I as syntaxTree, J as parseMixed, O as indentNodeProp, Tt as EditorSelection, Z as EditorView, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-z_iuDES7.js";
|
|
2
|
+
import { n as html } from "./dist-2Ne-33Xy.js";
|
|
3
3
|
var interpolationStart = 1, tagStart = 2, endTagStart = 3, text = 180, endrawTagStart = 4, rawText = 181, endcommentTagStart = 5, commentText = 182, InlineComment = 6;
|
|
4
4
|
function wordChar(_) {
|
|
5
5
|
return _ >= 65 && _ <= 90 || _ >= 97 && _ <= 122;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-
|
|
1
|
+
import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-z_iuDES7.js";
|
|
2
2
|
var closureParamDelim = 1, tpOpen = 2, tpClose = 3, RawString = 4, Float = 5, _b = 98, _e = 101, _f = 102, _r = 114, _E = 69, Zero = 48, Dot = 46, Plus = 43, Minus = 45, Hash = 35, Quote = 34, Pipe = 124, LessThan = 60, GreaterThan = 62;
|
|
3
3
|
function isNum(h) {
|
|
4
4
|
return h >= 48 && h <= 57;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as tags, J as parseMixed, i as LocalTokenGroup, r as LRParser, s as LRLanguage, u as LanguageSupport, z as styleTags } from "./dist-
|
|
2
|
-
import { n as html } from "./dist-
|
|
3
|
-
import { r as javascriptLanguage } from "./dist-
|
|
1
|
+
import { B as tags, J as parseMixed, i as LocalTokenGroup, r as LRParser, s as LRLanguage, u as LanguageSupport, z as styleTags } from "./dist-z_iuDES7.js";
|
|
2
|
+
import { n as html } from "./dist-2Ne-33Xy.js";
|
|
3
|
+
import { r as javascriptLanguage } from "./dist-CYhQCVru.js";
|
|
4
4
|
var parser = /* @__PURE__ */ LRParser.deserialize({
|
|
5
5
|
version: 14,
|
|
6
6
|
states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent, z as styleTags } from "./dist-
|
|
1
|
+
import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent, z as styleTags } from "./dist-z_iuDES7.js";
|
|
2
2
|
var RawString = 1, templateArgsEndFallback = 2, MacroName = 3, R = 82, L = 76, u = 117, U = 85, a = 97, z = 122, A = 65, Z = 90, Underscore = 95, Zero = 48, Quote = 34, ParenL = 40, ParenR = 41, Space = 32, GreaterThan = 62, rawString = new ExternalTokenizer((y) => {
|
|
3
3
|
if (y.next == L || y.next == U ? y.advance() : y.next == u && (y.advance(), y.next == Zero + 8 && y.advance()), y.next != R || (y.advance(), y.next != Quote)) return;
|
|
4
4
|
y.advance();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as ViewPlugin, At as RangeSet, Ct as CharCategory, Dt as Facet, Ft as Text, Ht as fromCodePoint, I as syntaxTree, It as Transaction, Lt as codePointAt, Mt as RangeValue, Nt as StateEffect, Ot as MapMode, Pt as StateField, Rt as codePointSize, Tt as EditorSelection, X as Direction, Y as Decoration, Z as EditorView, at as getTooltip, bt as Annotation, dt as keymap, et as WidgetType, j as indentUnit, kt as Prec, pt as logException, vt as showTooltip, zt as combineConfig } from "./dist-
|
|
1
|
+
import { $ as ViewPlugin, At as RangeSet, Ct as CharCategory, Dt as Facet, Ft as Text, Ht as fromCodePoint, I as syntaxTree, It as Transaction, Lt as codePointAt, Mt as RangeValue, Nt as StateEffect, Ot as MapMode, Pt as StateField, Rt as codePointSize, Tt as EditorSelection, X as Direction, Y as Decoration, Z as EditorView, at as getTooltip, bt as Annotation, dt as keymap, et as WidgetType, j as indentUnit, kt as Prec, pt as logException, vt as showTooltip, zt as combineConfig } from "./dist-z_iuDES7.js";
|
|
2
2
|
var CompletionContext = class {
|
|
3
3
|
constructor(r8, M, N, P) {
|
|
4
4
|
this.state = r8, this.pos = M, this.explicit = N, this.view = P, this.abortListeners = [], this.abortOnDocChange = false;
|
|
@@ -392,7 +392,7 @@ function score(r8) {
|
|
|
392
392
|
return (r8.boost || 0) * 100 + (r8.apply ? 10 : 0) + (r8.info ? 5 : 0) + (r8.type ? 1 : 0);
|
|
393
393
|
}
|
|
394
394
|
function sortOptions(r8, M) {
|
|
395
|
-
let N = [], P = null, F = (r9) => {
|
|
395
|
+
let N = [], P = null, F = null, I = (r9) => {
|
|
396
396
|
N.push(r9);
|
|
397
397
|
let { section: M2 } = r9.completion;
|
|
398
398
|
if (M2) {
|
|
@@ -400,32 +400,35 @@ function sortOptions(r8, M) {
|
|
|
400
400
|
let r10 = typeof M2 == "string" ? M2 : M2.name;
|
|
401
401
|
P.some((M3) => M3.name == r10) || P.push(typeof M2 == "string" ? { name: r10 } : M2);
|
|
402
402
|
}
|
|
403
|
-
},
|
|
403
|
+
}, L = M.facet(completionConfig);
|
|
404
404
|
for (let P2 of r8) if (P2.hasResult()) {
|
|
405
405
|
let r9 = P2.result.getMatch;
|
|
406
|
-
if (P2.result.filter === false) for (let M2 of P2.result.options)
|
|
406
|
+
if (P2.result.filter === false) for (let M2 of P2.result.options) I(new Option(M2, P2.source, r9 ? r9(M2) : [], 1e9 - N.length));
|
|
407
407
|
else {
|
|
408
|
-
let N2 = M.sliceDoc(P2.from, P2.to),
|
|
409
|
-
for (let M2 of P2.result.options) if (
|
|
410
|
-
let N3 = M2.displayLabel ? r9 ? r9(M2,
|
|
411
|
-
|
|
408
|
+
let N2 = M.sliceDoc(P2.from, P2.to), R2, z2 = L.filterStrict ? new StrictMatcher(N2) : new FuzzyMatcher(N2);
|
|
409
|
+
for (let M2 of P2.result.options) if (R2 = z2.match(M2.label)) {
|
|
410
|
+
let N3 = M2.displayLabel ? r9 ? r9(M2, R2.matched) : [] : R2.matched, L2 = R2.score + (M2.boost || 0);
|
|
411
|
+
if (I(new Option(M2, P2.source, N3, L2)), typeof M2.section == "object" && M2.section.rank === "dynamic") {
|
|
412
|
+
let { name: r10 } = M2.section;
|
|
413
|
+
F || (F = /* @__PURE__ */ Object.create(null)), F[r10] = Math.max(L2, F[r10] || -1e9);
|
|
414
|
+
}
|
|
412
415
|
}
|
|
413
416
|
}
|
|
414
417
|
}
|
|
415
418
|
if (P) {
|
|
416
|
-
let r9 = /* @__PURE__ */ Object.create(null), M2 = 0,
|
|
417
|
-
for (let N2 of P.sort(
|
|
419
|
+
let r9 = /* @__PURE__ */ Object.create(null), M2 = 0, I2 = (r10, M3) => (r10.rank === "dynamic" && M3.rank === "dynamic" ? F[M3.name] - F[r10.name] : 0) || (typeof r10.rank == "number" ? r10.rank : 1e9) - (typeof M3.rank == "number" ? M3.rank : 1e9) || (r10.name < M3.name ? -1 : 1);
|
|
420
|
+
for (let N2 of P.sort(I2)) M2 -= 1e5, r9[N2.name] = M2;
|
|
418
421
|
for (let M3 of N) {
|
|
419
422
|
let { section: N2 } = M3.completion;
|
|
420
423
|
N2 && (M3.score += r9[typeof N2 == "string" ? N2 : N2.name]);
|
|
421
424
|
}
|
|
422
425
|
}
|
|
423
|
-
let
|
|
424
|
-
for (let r9 of N.sort((r10, M2) => M2.score - r10.score ||
|
|
426
|
+
let R = [], z = null, B = L.compareCompletions;
|
|
427
|
+
for (let r9 of N.sort((r10, M2) => M2.score - r10.score || B(r10.completion, M2.completion))) {
|
|
425
428
|
let M2 = r9.completion;
|
|
426
|
-
!
|
|
429
|
+
!z || z.label != M2.label || z.detail != M2.detail || z.type != null && M2.type != null && z.type != M2.type || z.apply != M2.apply || z.boost != M2.boost ? R.push(r9) : score(r9.completion) > score(z) && (R[R.length - 1] = r9), z = r9.completion;
|
|
427
430
|
}
|
|
428
|
-
return
|
|
431
|
+
return R;
|
|
429
432
|
}
|
|
430
433
|
var CompletionDialog = class r {
|
|
431
434
|
constructor(r8, M, N, P, F, I) {
|
|
@@ -639,9 +642,9 @@ var acceptCompletion = (r8) => {
|
|
|
639
642
|
this.running.length && M.open && M.open.disabled && (this.debounceAccept = setTimeout(() => this.accept(), this.view.state.facet(completionConfig).updateSyncTime));
|
|
640
643
|
}
|
|
641
644
|
startQuery(r8) {
|
|
642
|
-
let { state: M } = this.view, N =
|
|
643
|
-
this.running.push(
|
|
644
|
-
|
|
645
|
+
let { state: M } = this.view, N = new CompletionContext(M, cur(M), r8.explicit, this.view), P = new RunningQuery(r8, N);
|
|
646
|
+
this.running.push(P), Promise.resolve(r8.source(N)).then((r9) => {
|
|
647
|
+
P.context.aborted || (P.done = r9 || null, this.scheduleAccept());
|
|
645
648
|
}, (r9) => {
|
|
646
649
|
this.view.dispatch({ effects: closeCompletionEffect.of(null) }), logException(this.view.state, r9);
|
|
647
650
|
});
|
|
@@ -807,16 +810,15 @@ var acceptCompletion = (r8) => {
|
|
|
807
810
|
let N = [], P = [M], F = r8.doc.lineAt(M), I = /^\s*/.exec(F.text)[0];
|
|
808
811
|
for (let F2 of this.lines) {
|
|
809
812
|
if (N.length) {
|
|
810
|
-
let N2 = I,
|
|
811
|
-
for (let M2 = 0; M2 <
|
|
812
|
-
P.push(M + N2.length -
|
|
813
|
+
let N2 = I, L = /^\t*/.exec(F2)[0].length;
|
|
814
|
+
for (let M2 = 0; M2 < L; M2++) N2 += r8.facet(indentUnit);
|
|
815
|
+
P.push(M + N2.length - L), F2 = N2 + F2.slice(L);
|
|
813
816
|
}
|
|
814
817
|
N.push(F2), M += F2.length + 1;
|
|
815
818
|
}
|
|
816
|
-
let L = this.fieldPositions.map((r9) => new FieldRange(r9.field, P[r9.line] + r9.from, P[r9.line] + r9.to));
|
|
817
819
|
return {
|
|
818
820
|
text: N,
|
|
819
|
-
ranges:
|
|
821
|
+
ranges: this.fieldPositions.map((r9) => new FieldRange(r9.field, P[r9.line] + r9.from, P[r9.line] + r9.to))
|
|
820
822
|
};
|
|
821
823
|
}
|
|
822
824
|
static parse(M) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./dist-
|
|
2
|
-
import "./dist-
|
|
3
|
-
import { a as localCompletionSource, c as typescriptLanguage, i as jsxLanguage, l as typescriptSnippets, n as javascript, o as snippets, r as javascriptLanguage, s as tsxLanguage, t as autoCloseTags } from "./dist-
|
|
1
|
+
import "./dist-z_iuDES7.js";
|
|
2
|
+
import "./dist-C7zhQ7K0.js";
|
|
3
|
+
import { a as localCompletionSource, c as typescriptLanguage, i as jsxLanguage, l as typescriptSnippets, n as javascript, o as snippets, r as javascriptLanguage, s as tsxLanguage, t as autoCloseTags } from "./dist-CYhQCVru.js";
|
|
4
4
|
export {
|
|
5
5
|
autoCloseTags,
|
|
6
6
|
javascript,
|
|
@@ -33,25 +33,22 @@ function filterProps(e, n, i) {
|
|
|
33
33
|
function styled(e) {
|
|
34
34
|
return (n) => {
|
|
35
35
|
let r = (r2, s2) => {
|
|
36
|
-
let { as: c = e, class: l = "" } = r2, u = n.propsAsIs === void 0 ? !(typeof c == "string" && c.indexOf("-") === -1 && !isCapital(c[0])) : n.propsAsIs,
|
|
37
|
-
|
|
38
|
-
let { vars:
|
|
39
|
-
if (
|
|
36
|
+
let { as: c = e, class: l = "" } = r2, u = filterProps(n.propsAsIs === void 0 ? !(typeof c == "string" && c.indexOf("-") === -1 && !isCapital(c[0])) : n.propsAsIs, r2, ["as", "class"]);
|
|
37
|
+
u.ref = s2, u.className = n.atomic ? cx_default(n.class, u.className || l) : cx_default(u.className || l, n.class);
|
|
38
|
+
let { vars: d } = n;
|
|
39
|
+
if (d) {
|
|
40
40
|
let e2 = {};
|
|
41
|
-
for (let i2 in
|
|
42
|
-
let a2 =
|
|
41
|
+
for (let i2 in d) {
|
|
42
|
+
let a2 = d[i2], o = a2[0], s3 = a2[1] || "", c2 = typeof o == "function" ? o(r2) : o;
|
|
43
43
|
n.name, e2[`--${i2}`] = `${c2}${s3}`;
|
|
44
44
|
}
|
|
45
|
-
let i =
|
|
45
|
+
let i = u.style || {}, a = Object.keys(i);
|
|
46
46
|
a.length > 0 && a.forEach((n2) => {
|
|
47
47
|
e2[n2] = i[n2];
|
|
48
|
-
}),
|
|
48
|
+
}), u.style = e2;
|
|
49
49
|
}
|
|
50
|
-
return e.__wyw_meta && e !== c ? (
|
|
51
|
-
}, s = import_react.forwardRef ? (0, import_react.forwardRef)(r) : ((e2) =>
|
|
52
|
-
let n2 = omit(e2, ["innerRef"]);
|
|
53
|
-
return r(n2, e2.innerRef);
|
|
54
|
-
});
|
|
50
|
+
return e.__wyw_meta && e !== c ? (u.as = c, (0, import_react.createElement)(e, u)) : (0, import_react.createElement)(c, u);
|
|
51
|
+
}, s = import_react.forwardRef ? (0, import_react.forwardRef)(r) : ((e2) => r(omit(e2, ["innerRef"]), e2.innerRef));
|
|
55
52
|
return s.displayName = n.name, s.__wyw_meta = {
|
|
56
53
|
className: n.class || "",
|
|
57
54
|
extends: e
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as tags, G as NodeWeakMap, I as syntaxTree, O as indentNodeProp, P as sublanguageProp, S as foldInside, Tt as EditorSelection, V as IterMode, Z as EditorView, _ as defineLanguageFacet, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent, z as styleTags } from "./dist-
|
|
2
|
-
import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-
|
|
1
|
+
import { B as tags, G as NodeWeakMap, I as syntaxTree, O as indentNodeProp, P as sublanguageProp, S as foldInside, Tt as EditorSelection, V as IterMode, Z as EditorView, _ as defineLanguageFacet, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent, z as styleTags } from "./dist-z_iuDES7.js";
|
|
2
|
+
import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-C7zhQ7K0.js";
|
|
3
3
|
var noSemi = 315, noSemiType = 316, incdec = 1, incdecPrefix = 2, questionDot = 3, JSXStartTag = 4, insertSemi = 317, spaces = 319, newline = 320, LineComment = 5, BlockComment = 6, Dialect_jsx = 0, space = [
|
|
4
4
|
9,
|
|
5
5
|
10,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent, z as styleTags } from "./dist-
|
|
1
|
+
import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent, z as styleTags } from "./dist-z_iuDES7.js";
|
|
2
2
|
var javaHighlighting = styleTags({
|
|
3
3
|
null: tags.null,
|
|
4
4
|
instanceof: tags.operatorKeyword,
|