@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,380 @@
|
|
|
1
|
+
var _a;
|
|
2
|
+
import { s as __toESM } from "./chunk-DgPTj83v.js";
|
|
3
|
+
import { t as memoize_default } from "./memoize-DYoRBSLn.js";
|
|
4
|
+
import { t as merge_default } from "./merge-BjuR6j_w.js";
|
|
5
|
+
import { _ as basis_default, a as monotoneX, c as catmullRomOpen_default, d as cardinalOpen_default, f as cardinalClosed_default, g as basisClosed_default, h as basisOpen_default, i as natural_default, l as catmullRomClosed_default, m as bundle_default, n as stepBefore, o as monotoneY, p as cardinal_default, r as step_default, s as linearClosed_default, t as stepAfter, u as catmullRom_default, v as linear_default } from "./step-IHYrujTc.js";
|
|
6
|
+
import { i as log, r as __name, t as select_default } from "./src-DZkaBUmt.js";
|
|
7
|
+
import { F as sanitizeDirective, f as detectType, m as directiveRegex, r as assignWithDepth_default, s as common_default } from "./chunk-ABZYJK2D-CZcb_1iM.js";
|
|
8
|
+
import { t as require_dist } from "./dist-CK8Gj3GX.js";
|
|
9
|
+
var Bump = class {
|
|
10
|
+
constructor(h, W) {
|
|
11
|
+
this._context = h, this._x = W;
|
|
12
|
+
}
|
|
13
|
+
areaStart() {
|
|
14
|
+
this._line = 0;
|
|
15
|
+
}
|
|
16
|
+
areaEnd() {
|
|
17
|
+
this._line = NaN;
|
|
18
|
+
}
|
|
19
|
+
lineStart() {
|
|
20
|
+
this._point = 0;
|
|
21
|
+
}
|
|
22
|
+
lineEnd() {
|
|
23
|
+
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
24
|
+
}
|
|
25
|
+
point(h, W) {
|
|
26
|
+
switch (h = +h, W = +W, this._point) {
|
|
27
|
+
case 0:
|
|
28
|
+
this._point = 1, this._line ? this._context.lineTo(h, W) : this._context.moveTo(h, W);
|
|
29
|
+
break;
|
|
30
|
+
case 1:
|
|
31
|
+
this._point = 2;
|
|
32
|
+
default:
|
|
33
|
+
this._x ? this._context.bezierCurveTo(this._x0 = (this._x0 + h) / 2, this._y0, this._x0, W, h, W) : this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + W) / 2, h, this._y0, h, W);
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
this._x0 = h, this._y0 = W;
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
function bumpX(h) {
|
|
40
|
+
return new Bump(h, true);
|
|
41
|
+
}
|
|
42
|
+
function bumpY(h) {
|
|
43
|
+
return new Bump(h, false);
|
|
44
|
+
}
|
|
45
|
+
var import_dist = /* @__PURE__ */ __toESM(require_dist(), 1), ZERO_WIDTH_SPACE = "\u200B", d3CurveTypes = {
|
|
46
|
+
curveBasis: basis_default,
|
|
47
|
+
curveBasisClosed: basisClosed_default,
|
|
48
|
+
curveBasisOpen: basisOpen_default,
|
|
49
|
+
curveBumpX: bumpX,
|
|
50
|
+
curveBumpY: bumpY,
|
|
51
|
+
curveBundle: bundle_default,
|
|
52
|
+
curveCardinalClosed: cardinalClosed_default,
|
|
53
|
+
curveCardinalOpen: cardinalOpen_default,
|
|
54
|
+
curveCardinal: cardinal_default,
|
|
55
|
+
curveCatmullRomClosed: catmullRomClosed_default,
|
|
56
|
+
curveCatmullRomOpen: catmullRomOpen_default,
|
|
57
|
+
curveCatmullRom: catmullRom_default,
|
|
58
|
+
curveLinear: linear_default,
|
|
59
|
+
curveLinearClosed: linearClosed_default,
|
|
60
|
+
curveMonotoneX: monotoneX,
|
|
61
|
+
curveMonotoneY: monotoneY,
|
|
62
|
+
curveNatural: natural_default,
|
|
63
|
+
curveStep: step_default,
|
|
64
|
+
curveStepAfter: stepAfter,
|
|
65
|
+
curveStepBefore: stepBefore
|
|
66
|
+
}, directiveWithoutOpen = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, detectInit = /* @__PURE__ */ __name(function(h, W) {
|
|
67
|
+
let G = detectDirective(h, /(?:init\b)|(?:initialize\b)/), K = {};
|
|
68
|
+
if (Array.isArray(G)) {
|
|
69
|
+
let h2 = G.map((h3) => h3.args);
|
|
70
|
+
sanitizeDirective(h2), K = assignWithDepth_default(K, [...h2]);
|
|
71
|
+
} else K = G.args;
|
|
72
|
+
if (!K) return;
|
|
73
|
+
let q = detectType(h, W), J = "config";
|
|
74
|
+
return K[J] !== void 0 && (q === "flowchart-v2" && (q = "flowchart"), K[q] = K[J], delete K[J]), K;
|
|
75
|
+
}, "detectInit"), detectDirective = /* @__PURE__ */ __name(function(h, W = null) {
|
|
76
|
+
var _a2, _b;
|
|
77
|
+
try {
|
|
78
|
+
let G = RegExp(`[%]{2}(?![{]${directiveWithoutOpen.source})(?=[}][%]{2}).*
|
|
79
|
+
`, "ig");
|
|
80
|
+
h = h.trim().replace(G, "").replace(/'/gm, '"'), log.debug(`Detecting diagram directive${W === null ? "" : " type:" + W} based on the text:${h}`);
|
|
81
|
+
let K, q = [];
|
|
82
|
+
for (; (K = directiveRegex.exec(h)) !== null; ) if (K.index === directiveRegex.lastIndex && directiveRegex.lastIndex++, K && !W || W && ((_a2 = K[1]) == null ? void 0 : _a2.match(W)) || W && ((_b = K[2]) == null ? void 0 : _b.match(W))) {
|
|
83
|
+
let h2 = K[1] ? K[1] : K[2], W2 = K[3] ? K[3].trim() : K[4] ? JSON.parse(K[4].trim()) : null;
|
|
84
|
+
q.push({
|
|
85
|
+
type: h2,
|
|
86
|
+
args: W2
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
return q.length === 0 ? {
|
|
90
|
+
type: h,
|
|
91
|
+
args: null
|
|
92
|
+
} : q.length === 1 ? q[0] : q;
|
|
93
|
+
} catch (G) {
|
|
94
|
+
return log.error(`ERROR: ${G.message} - Unable to parse directive type: '${W}' based on the text: '${h}'`), {
|
|
95
|
+
type: void 0,
|
|
96
|
+
args: null
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
}, "detectDirective"), removeDirectives = /* @__PURE__ */ __name(function(h) {
|
|
100
|
+
return h.replace(directiveRegex, "");
|
|
101
|
+
}, "removeDirectives"), isSubstringInArray = /* @__PURE__ */ __name(function(h, W) {
|
|
102
|
+
for (let [G, K] of W.entries()) if (K.match(h)) return G;
|
|
103
|
+
return -1;
|
|
104
|
+
}, "isSubstringInArray");
|
|
105
|
+
function interpolateToCurve(h, W) {
|
|
106
|
+
return h ? d3CurveTypes[`curve${h.charAt(0).toUpperCase() + h.slice(1)}`] ?? W : W;
|
|
107
|
+
}
|
|
108
|
+
__name(interpolateToCurve, "interpolateToCurve");
|
|
109
|
+
function formatUrl(h, W) {
|
|
110
|
+
let G = h.trim();
|
|
111
|
+
if (G) return W.securityLevel === "loose" ? G : (0, import_dist.sanitizeUrl)(G);
|
|
112
|
+
}
|
|
113
|
+
__name(formatUrl, "formatUrl");
|
|
114
|
+
var runFunc = /* @__PURE__ */ __name((h, ...W) => {
|
|
115
|
+
let G = h.split("."), K = G.length - 1, q = G[K], J = window;
|
|
116
|
+
for (let W2 = 0; W2 < K; W2++) if (J = J[G[W2]], !J) {
|
|
117
|
+
log.error(`Function name: ${h} not found in window`);
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
J[q](...W);
|
|
121
|
+
}, "runFunc");
|
|
122
|
+
function distance(h, W) {
|
|
123
|
+
return !h || !W ? 0 : Math.sqrt((W.x - h.x) ** 2 + (W.y - h.y) ** 2);
|
|
124
|
+
}
|
|
125
|
+
__name(distance, "distance");
|
|
126
|
+
function traverseEdge(h) {
|
|
127
|
+
let W, G = 0;
|
|
128
|
+
return h.forEach((h2) => {
|
|
129
|
+
G += distance(h2, W), W = h2;
|
|
130
|
+
}), calculatePoint(h, G / 2);
|
|
131
|
+
}
|
|
132
|
+
__name(traverseEdge, "traverseEdge");
|
|
133
|
+
function calcLabelPosition(h) {
|
|
134
|
+
return h.length === 1 ? h[0] : traverseEdge(h);
|
|
135
|
+
}
|
|
136
|
+
__name(calcLabelPosition, "calcLabelPosition");
|
|
137
|
+
var roundNumber = /* @__PURE__ */ __name((h, W = 2) => {
|
|
138
|
+
let G = 10 ** W;
|
|
139
|
+
return Math.round(h * G) / G;
|
|
140
|
+
}, "roundNumber"), calculatePoint = /* @__PURE__ */ __name((h, W) => {
|
|
141
|
+
let G, K = W;
|
|
142
|
+
for (let W2 of h) {
|
|
143
|
+
if (G) {
|
|
144
|
+
let h2 = distance(W2, G);
|
|
145
|
+
if (h2 === 0) return G;
|
|
146
|
+
if (h2 < K) K -= h2;
|
|
147
|
+
else {
|
|
148
|
+
let q = K / h2;
|
|
149
|
+
if (q <= 0) return G;
|
|
150
|
+
if (q >= 1) return {
|
|
151
|
+
x: W2.x,
|
|
152
|
+
y: W2.y
|
|
153
|
+
};
|
|
154
|
+
if (q > 0 && q < 1) return {
|
|
155
|
+
x: roundNumber((1 - q) * G.x + q * W2.x, 5),
|
|
156
|
+
y: roundNumber((1 - q) * G.y + q * W2.y, 5)
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
G = W2;
|
|
161
|
+
}
|
|
162
|
+
throw Error("Could not find a suitable point for the given distance");
|
|
163
|
+
}, "calculatePoint"), calcCardinalityPosition = /* @__PURE__ */ __name((h, W, G) => {
|
|
164
|
+
log.info(`our points ${JSON.stringify(W)}`), W[0] !== G && (W = W.reverse());
|
|
165
|
+
let K = calculatePoint(W, 25), q = h ? 10 : 5, J = Math.atan2(W[0].y - K.y, W[0].x - K.x), Y = {
|
|
166
|
+
x: 0,
|
|
167
|
+
y: 0
|
|
168
|
+
};
|
|
169
|
+
return Y.x = Math.sin(J) * q + (W[0].x + K.x) / 2, Y.y = -Math.cos(J) * q + (W[0].y + K.y) / 2, Y;
|
|
170
|
+
}, "calcCardinalityPosition");
|
|
171
|
+
function calcTerminalLabelPosition(h, W, G) {
|
|
172
|
+
let K = structuredClone(G);
|
|
173
|
+
log.info("our points", K), W !== "start_left" && W !== "start_right" && K.reverse();
|
|
174
|
+
let q = calculatePoint(K, 25 + h), J = 10 + h * 0.5, Y = Math.atan2(K[0].y - q.y, K[0].x - q.x), X = {
|
|
175
|
+
x: 0,
|
|
176
|
+
y: 0
|
|
177
|
+
};
|
|
178
|
+
return W === "start_left" ? (X.x = Math.sin(Y + Math.PI) * J + (K[0].x + q.x) / 2, X.y = -Math.cos(Y + Math.PI) * J + (K[0].y + q.y) / 2) : W === "end_right" ? (X.x = Math.sin(Y - Math.PI) * J + (K[0].x + q.x) / 2 - 5, X.y = -Math.cos(Y - Math.PI) * J + (K[0].y + q.y) / 2 - 5) : W === "end_left" ? (X.x = Math.sin(Y) * J + (K[0].x + q.x) / 2 - 5, X.y = -Math.cos(Y) * J + (K[0].y + q.y) / 2 - 5) : (X.x = Math.sin(Y) * J + (K[0].x + q.x) / 2, X.y = -Math.cos(Y) * J + (K[0].y + q.y) / 2), X;
|
|
179
|
+
}
|
|
180
|
+
__name(calcTerminalLabelPosition, "calcTerminalLabelPosition");
|
|
181
|
+
function getStylesFromArray(h) {
|
|
182
|
+
let W = "", G = "";
|
|
183
|
+
for (let K of h) K !== void 0 && (K.startsWith("color:") || K.startsWith("text-align:") ? G = G + K + ";" : W = W + K + ";");
|
|
184
|
+
return {
|
|
185
|
+
style: W,
|
|
186
|
+
labelStyle: G
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
__name(getStylesFromArray, "getStylesFromArray");
|
|
190
|
+
var cnt = 0, generateId = /* @__PURE__ */ __name(() => (cnt++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + cnt), "generateId");
|
|
191
|
+
function makeRandomHex(h) {
|
|
192
|
+
let W = "";
|
|
193
|
+
for (let G = 0; G < h; G++) W += "0123456789abcdef".charAt(Math.floor(Math.random() * 16));
|
|
194
|
+
return W;
|
|
195
|
+
}
|
|
196
|
+
__name(makeRandomHex, "makeRandomHex");
|
|
197
|
+
var random = /* @__PURE__ */ __name((h) => makeRandomHex(h.length), "random"), getTextObj = /* @__PURE__ */ __name(function() {
|
|
198
|
+
return {
|
|
199
|
+
x: 0,
|
|
200
|
+
y: 0,
|
|
201
|
+
fill: void 0,
|
|
202
|
+
anchor: "start",
|
|
203
|
+
style: "#666",
|
|
204
|
+
width: 100,
|
|
205
|
+
height: 100,
|
|
206
|
+
textMargin: 0,
|
|
207
|
+
rx: 0,
|
|
208
|
+
ry: 0,
|
|
209
|
+
valign: void 0,
|
|
210
|
+
text: ""
|
|
211
|
+
};
|
|
212
|
+
}, "getTextObj"), drawSimpleText = /* @__PURE__ */ __name(function(h, W) {
|
|
213
|
+
let G = W.text.replace(common_default.lineBreakRegex, " "), [, K] = parseFontSize(W.fontSize), q = h.append("text");
|
|
214
|
+
q.attr("x", W.x), q.attr("y", W.y), q.style("text-anchor", W.anchor), q.style("font-family", W.fontFamily), q.style("font-size", K), q.style("font-weight", W.fontWeight), q.attr("fill", W.fill), W.class !== void 0 && q.attr("class", W.class);
|
|
215
|
+
let J = q.append("tspan");
|
|
216
|
+
return J.attr("x", W.x + W.textMargin * 2), J.attr("fill", W.fill), J.text(G), q;
|
|
217
|
+
}, "drawSimpleText"), wrapLabel = memoize_default((h, W, G) => {
|
|
218
|
+
if (!h || (G = Object.assign({
|
|
219
|
+
fontSize: 12,
|
|
220
|
+
fontWeight: 400,
|
|
221
|
+
fontFamily: "Arial",
|
|
222
|
+
joinWith: "<br/>"
|
|
223
|
+
}, G), common_default.lineBreakRegex.test(h))) return h;
|
|
224
|
+
let K = h.split(" ").filter(Boolean), q = [], J = "";
|
|
225
|
+
return K.forEach((h2, Y) => {
|
|
226
|
+
let X = calculateTextWidth(`${h2} `, G), Z = calculateTextWidth(J, G);
|
|
227
|
+
if (X > W) {
|
|
228
|
+
let { hyphenatedStrings: K2, remainingWord: Y2 } = breakString(h2, W, "-", G);
|
|
229
|
+
q.push(J, ...K2), J = Y2;
|
|
230
|
+
} else Z + X >= W ? (q.push(J), J = h2) : J = [J, h2].filter(Boolean).join(" ");
|
|
231
|
+
Y + 1 === K.length && q.push(J);
|
|
232
|
+
}), q.filter((h2) => h2 !== "").join(G.joinWith);
|
|
233
|
+
}, (h, W, G) => `${h}${W}${G.fontSize}${G.fontWeight}${G.fontFamily}${G.joinWith}`), breakString = memoize_default((h, W, G = "-", K) => {
|
|
234
|
+
K = Object.assign({
|
|
235
|
+
fontSize: 12,
|
|
236
|
+
fontWeight: 400,
|
|
237
|
+
fontFamily: "Arial",
|
|
238
|
+
margin: 0
|
|
239
|
+
}, K);
|
|
240
|
+
let q = [...h], J = [], Y = "";
|
|
241
|
+
return q.forEach((h2, X) => {
|
|
242
|
+
let Z = `${Y}${h2}`;
|
|
243
|
+
if (calculateTextWidth(Z, K) >= W) {
|
|
244
|
+
let h3 = X + 1, W2 = q.length === h3, K2 = `${Z}${G}`;
|
|
245
|
+
J.push(W2 ? Z : K2), Y = "";
|
|
246
|
+
} else Y = Z;
|
|
247
|
+
}), {
|
|
248
|
+
hyphenatedStrings: J,
|
|
249
|
+
remainingWord: Y
|
|
250
|
+
};
|
|
251
|
+
}, (h, W, G = "-", K) => `${h}${W}${G}${K.fontSize}${K.fontWeight}${K.fontFamily}`);
|
|
252
|
+
function calculateTextHeight(h, W) {
|
|
253
|
+
return calculateTextDimensions(h, W).height;
|
|
254
|
+
}
|
|
255
|
+
__name(calculateTextHeight, "calculateTextHeight");
|
|
256
|
+
function calculateTextWidth(h, W) {
|
|
257
|
+
return calculateTextDimensions(h, W).width;
|
|
258
|
+
}
|
|
259
|
+
__name(calculateTextWidth, "calculateTextWidth");
|
|
260
|
+
var calculateTextDimensions = memoize_default((h, W) => {
|
|
261
|
+
let { fontSize: G = 12, fontFamily: K = "Arial", fontWeight: q = 400 } = W;
|
|
262
|
+
if (!h) return {
|
|
263
|
+
width: 0,
|
|
264
|
+
height: 0
|
|
265
|
+
};
|
|
266
|
+
let [, J] = parseFontSize(G), Y = ["sans-serif", K], X = h.split(common_default.lineBreakRegex), Z = [], Q = select_default("body");
|
|
267
|
+
if (!Q.remove) return {
|
|
268
|
+
width: 0,
|
|
269
|
+
height: 0,
|
|
270
|
+
lineHeight: 0
|
|
271
|
+
};
|
|
272
|
+
let $ = Q.append("svg");
|
|
273
|
+
for (let h2 of Y) {
|
|
274
|
+
let W2 = 0, G2 = {
|
|
275
|
+
width: 0,
|
|
276
|
+
height: 0,
|
|
277
|
+
lineHeight: 0
|
|
278
|
+
};
|
|
279
|
+
for (let K2 of X) {
|
|
280
|
+
let Y2 = getTextObj();
|
|
281
|
+
Y2.text = K2 || "\u200B";
|
|
282
|
+
let X2 = drawSimpleText($, Y2).style("font-size", J).style("font-weight", q).style("font-family", h2), Z2 = (X2._groups || X2)[0][0].getBBox();
|
|
283
|
+
if (Z2.width === 0 && Z2.height === 0) throw Error("svg element not in render tree");
|
|
284
|
+
G2.width = Math.round(Math.max(G2.width, Z2.width)), W2 = Math.round(Z2.height), G2.height += W2, G2.lineHeight = Math.round(Math.max(G2.lineHeight, W2));
|
|
285
|
+
}
|
|
286
|
+
Z.push(G2);
|
|
287
|
+
}
|
|
288
|
+
return $.remove(), Z[isNaN(Z[1].height) || isNaN(Z[1].width) || isNaN(Z[1].lineHeight) || Z[0].height > Z[1].height && Z[0].width > Z[1].width && Z[0].lineHeight > Z[1].lineHeight ? 0 : 1];
|
|
289
|
+
}, (h, W) => `${h}${W.fontSize}${W.fontWeight}${W.fontFamily}`), InitIDGenerator = (_a = class {
|
|
290
|
+
constructor(h = false, W) {
|
|
291
|
+
this.count = 0, this.count = W ? W.length : 0, this.next = h ? () => this.count++ : () => Date.now();
|
|
292
|
+
}
|
|
293
|
+
}, __name(_a, "InitIDGenerator"), _a), decoder, entityDecode = /* @__PURE__ */ __name(function(h) {
|
|
294
|
+
return decoder || (decoder = document.createElement("div")), h = escape(h).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), decoder.innerHTML = h, unescape(decoder.textContent);
|
|
295
|
+
}, "entityDecode");
|
|
296
|
+
function isDetailedError(h) {
|
|
297
|
+
return "str" in h;
|
|
298
|
+
}
|
|
299
|
+
__name(isDetailedError, "isDetailedError");
|
|
300
|
+
var insertTitle = /* @__PURE__ */ __name((h, W, G, K) => {
|
|
301
|
+
var _a2;
|
|
302
|
+
if (!K) return;
|
|
303
|
+
let q = (_a2 = h.node()) == null ? void 0 : _a2.getBBox();
|
|
304
|
+
q && h.append("text").text(K).attr("text-anchor", "middle").attr("x", q.x + q.width / 2).attr("y", -G).attr("class", W);
|
|
305
|
+
}, "insertTitle"), parseFontSize = /* @__PURE__ */ __name((h) => {
|
|
306
|
+
if (typeof h == "number") return [h, h + "px"];
|
|
307
|
+
let W = parseInt(h ?? "", 10);
|
|
308
|
+
return Number.isNaN(W) ? [void 0, void 0] : h === String(W) ? [W, h + "px"] : [W, h];
|
|
309
|
+
}, "parseFontSize");
|
|
310
|
+
function cleanAndMerge(h, W) {
|
|
311
|
+
return merge_default({}, h, W);
|
|
312
|
+
}
|
|
313
|
+
__name(cleanAndMerge, "cleanAndMerge");
|
|
314
|
+
var utils_default = {
|
|
315
|
+
assignWithDepth: assignWithDepth_default,
|
|
316
|
+
wrapLabel,
|
|
317
|
+
calculateTextHeight,
|
|
318
|
+
calculateTextWidth,
|
|
319
|
+
calculateTextDimensions,
|
|
320
|
+
cleanAndMerge,
|
|
321
|
+
detectInit,
|
|
322
|
+
detectDirective,
|
|
323
|
+
isSubstringInArray,
|
|
324
|
+
interpolateToCurve,
|
|
325
|
+
calcLabelPosition,
|
|
326
|
+
calcCardinalityPosition,
|
|
327
|
+
calcTerminalLabelPosition,
|
|
328
|
+
formatUrl,
|
|
329
|
+
getStylesFromArray,
|
|
330
|
+
generateId,
|
|
331
|
+
random,
|
|
332
|
+
runFunc,
|
|
333
|
+
entityDecode,
|
|
334
|
+
insertTitle,
|
|
335
|
+
isLabelCoordinateInPath,
|
|
336
|
+
parseFontSize,
|
|
337
|
+
InitIDGenerator
|
|
338
|
+
}, encodeEntities = /* @__PURE__ */ __name(function(h) {
|
|
339
|
+
let W = h;
|
|
340
|
+
return W = W.replace(/style.*:\S*#.*;/g, function(h2) {
|
|
341
|
+
return h2.substring(0, h2.length - 1);
|
|
342
|
+
}), W = W.replace(/classDef.*:\S*#.*;/g, function(h2) {
|
|
343
|
+
return h2.substring(0, h2.length - 1);
|
|
344
|
+
}), W = W.replace(/#\w+;/g, function(h2) {
|
|
345
|
+
let W2 = h2.substring(1, h2.length - 1);
|
|
346
|
+
return /^\+?\d+$/.test(W2) ? "\uFB02\xB0\xB0" + W2 + "\xB6\xDF" : "\uFB02\xB0" + W2 + "\xB6\xDF";
|
|
347
|
+
}), W;
|
|
348
|
+
}, "encodeEntities"), decodeEntities = /* @__PURE__ */ __name(function(h) {
|
|
349
|
+
return h.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
|
|
350
|
+
}, "decodeEntities"), getEdgeId = /* @__PURE__ */ __name((h, W, { counter: G = 0, prefix: K, suffix: q }, J) => J || `${K ? `${K}_` : ""}${h}_${W}_${G}${q ? `_${q}` : ""}`, "getEdgeId");
|
|
351
|
+
function handleUndefinedAttr(h) {
|
|
352
|
+
return h ?? null;
|
|
353
|
+
}
|
|
354
|
+
__name(handleUndefinedAttr, "handleUndefinedAttr");
|
|
355
|
+
function isLabelCoordinateInPath(h, W) {
|
|
356
|
+
let G = Math.round(h.x), K = Math.round(h.y), q = W.replace(/(\d+\.\d+)/g, (h2) => Math.round(parseFloat(h2)).toString());
|
|
357
|
+
return q.includes(G.toString()) || q.includes(K.toString());
|
|
358
|
+
}
|
|
359
|
+
__name(isLabelCoordinateInPath, "isLabelCoordinateInPath");
|
|
360
|
+
export {
|
|
361
|
+
wrapLabel as _,
|
|
362
|
+
decodeEntities as a,
|
|
363
|
+
getEdgeId as c,
|
|
364
|
+
interpolateToCurve as d,
|
|
365
|
+
isDetailedError as f,
|
|
366
|
+
utils_default as g,
|
|
367
|
+
removeDirectives as h,
|
|
368
|
+
cleanAndMerge as i,
|
|
369
|
+
getStylesFromArray as l,
|
|
370
|
+
random as m,
|
|
371
|
+
calculateTextHeight as n,
|
|
372
|
+
encodeEntities as o,
|
|
373
|
+
parseFontSize as p,
|
|
374
|
+
calculateTextWidth as r,
|
|
375
|
+
generateId as s,
|
|
376
|
+
ZERO_WIDTH_SPACE as t,
|
|
377
|
+
handleUndefinedAttr as u,
|
|
378
|
+
bumpX as v,
|
|
379
|
+
bumpY as y
|
|
380
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _a;
|
|
2
|
-
import { f as __name, g as createDefaultSharedCoreModule, h as createDefaultCoreModule, i as CommonValueConverter, m as inject, o as InfoGeneratedModule, p as EmptyFileSystem, s as MermaidGeneratedSharedModule, t as AbstractMermaidTokenBuilder } from "./chunk-4KMFLZZN-
|
|
2
|
+
import { f as __name, g as createDefaultSharedCoreModule, h as createDefaultCoreModule, i as CommonValueConverter, m as inject, o as InfoGeneratedModule, p as EmptyFileSystem, s as MermaidGeneratedSharedModule, t as AbstractMermaidTokenBuilder } from "./chunk-4KMFLZZN-DnvP3O4K.js";
|
|
3
3
|
var InfoTokenBuilder = (_a = class extends AbstractMermaidTokenBuilder {
|
|
4
4
|
constructor() {
|
|
5
5
|
super(["info", "showInfo"]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var _a;
|
|
2
|
-
import { g as utils_default, s as generateId } from "./chunk-S3R3BYOJ-
|
|
3
|
-
import { i as log, r as __name } from "./src-
|
|
4
|
-
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, s as common_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
5
|
-
import { r as render } from "./chunk-6OXUPJBA-
|
|
6
|
-
import { t as getDiagramElement } from "./chunk-55IACEB6-
|
|
7
|
-
import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-
|
|
2
|
+
import { g as utils_default, s as generateId } from "./chunk-S3R3BYOJ-itCT6Vif.js";
|
|
3
|
+
import { i as log, r as __name } from "./src-DZkaBUmt.js";
|
|
4
|
+
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, s as common_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-CZcb_1iM.js";
|
|
5
|
+
import { r as render } from "./chunk-6OXUPJBA-eNAAfJ3Q.js";
|
|
6
|
+
import { t as getDiagramElement } from "./chunk-55IACEB6-BcCzwOOl.js";
|
|
7
|
+
import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-Cjq5b604.js";
|
|
8
8
|
var parser = (function() {
|
|
9
9
|
var e = /* @__PURE__ */ __name(function(e2, b2, x2, S) {
|
|
10
10
|
for (x2 || (x2 = {}), S = e2.length; S--; x2[e2[S]] = b2) ;
|
|
@@ -1459,8 +1459,7 @@ var stateDiagram_default = parser, DEFAULT_DIAGRAM_DIRECTION = "TB", DEFAULT_NES
|
|
|
1459
1459
|
getDir
|
|
1460
1460
|
}, nodeDb = /* @__PURE__ */ new Map(), graphItemCount = 0;
|
|
1461
1461
|
function stateDomId(e = "", b = 0, x = "", S = DOMID_TYPE_SPACER) {
|
|
1462
|
-
|
|
1463
|
-
return `${DOMID_STATE}-${e}${C}-${b}`;
|
|
1462
|
+
return `${DOMID_STATE}-${e}${x !== null && x.length > 0 ? `${S}${x}` : ""}-${b}`;
|
|
1464
1463
|
}
|
|
1465
1464
|
__name(stateDomId, "stateDomId");
|
|
1466
1465
|
var setupDoc = /* @__PURE__ */ __name((e, b, S, C, w, T, E, D) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-DgPTj83v.js";
|
|
2
|
-
import { r as __name } from "./src-
|
|
3
|
-
import { k as lineBreakRegex } from "./chunk-ABZYJK2D-
|
|
2
|
+
import { r as __name } from "./src-DZkaBUmt.js";
|
|
3
|
+
import { k as lineBreakRegex } from "./chunk-ABZYJK2D-CZcb_1iM.js";
|
|
4
4
|
import { t as require_dist } from "./dist-CK8Gj3GX.js";
|
|
5
5
|
var import_dist = /* @__PURE__ */ __toESM(require_dist(), 1), drawRect = /* @__PURE__ */ __name((e, o) => {
|
|
6
6
|
let s = e.append("rect");
|
|
7
7
|
if (s.attr("x", o.x), s.attr("y", o.y), s.attr("fill", o.fill), s.attr("stroke", o.stroke), s.attr("width", o.width), s.attr("height", o.height), o.name && s.attr("name", o.name), o.rx && s.attr("rx", o.rx), o.ry && s.attr("ry", o.ry), o.attrs !== void 0) for (let e2 in o.attrs) s.attr(e2, o.attrs[e2]);
|
|
8
8
|
return o.class && s.attr("class", o.class), s;
|
|
9
9
|
}, "drawRect"), drawBackgroundRect = /* @__PURE__ */ __name((e, o) => {
|
|
10
|
-
|
|
10
|
+
drawRect(e, {
|
|
11
11
|
x: o.startx,
|
|
12
12
|
y: o.starty,
|
|
13
13
|
width: o.stopx - o.startx,
|
|
@@ -15,8 +15,7 @@ var import_dist = /* @__PURE__ */ __toESM(require_dist(), 1), drawRect = /* @__P
|
|
|
15
15
|
fill: o.fill,
|
|
16
16
|
stroke: o.stroke,
|
|
17
17
|
class: "rect"
|
|
18
|
-
};
|
|
19
|
-
drawRect(e, s).lower();
|
|
18
|
+
}).lower();
|
|
20
19
|
}, "drawBackgroundRect"), drawText = /* @__PURE__ */ __name((e, o) => {
|
|
21
20
|
let c = o.text.replace(lineBreakRegex, " "), l = e.append("text");
|
|
22
21
|
l.attr("x", o.x), l.attr("y", o.y), l.attr("class", "legend"), l.style("text-anchor", o.anchor), o.class && l.attr("class", o.class);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _a;
|
|
2
|
-
import { f as __name, g as createDefaultSharedCoreModule, h as createDefaultCoreModule, i as CommonValueConverter, m as inject, p as EmptyFileSystem, s as MermaidGeneratedSharedModule, t as AbstractMermaidTokenBuilder, u as RadarGeneratedModule } from "./chunk-4KMFLZZN-
|
|
2
|
+
import { f as __name, g as createDefaultSharedCoreModule, h as createDefaultCoreModule, i as CommonValueConverter, m as inject, p as EmptyFileSystem, s as MermaidGeneratedSharedModule, t as AbstractMermaidTokenBuilder, u as RadarGeneratedModule } from "./chunk-4KMFLZZN-DnvP3O4K.js";
|
|
3
3
|
var RadarTokenBuilder = (_a = class extends AbstractMermaidTokenBuilder {
|
|
4
4
|
constructor() {
|
|
5
5
|
super(["radar-beta"]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _a, _b;
|
|
2
|
-
import { f as __name, g as createDefaultSharedCoreModule, h as createDefaultCoreModule, l as PieGeneratedModule, m as inject, n as AbstractMermaidValueConverter, p as EmptyFileSystem, s as MermaidGeneratedSharedModule, t as AbstractMermaidTokenBuilder } from "./chunk-4KMFLZZN-
|
|
2
|
+
import { f as __name, g as createDefaultSharedCoreModule, h as createDefaultCoreModule, l as PieGeneratedModule, m as inject, n as AbstractMermaidValueConverter, p as EmptyFileSystem, s as MermaidGeneratedSharedModule, t as AbstractMermaidTokenBuilder } from "./chunk-4KMFLZZN-DnvP3O4K.js";
|
|
3
3
|
var PieTokenBuilder = (_a = class extends AbstractMermaidTokenBuilder {
|
|
4
4
|
constructor() {
|
|
5
5
|
super(["pie", "showData"]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _a, _b, _c;
|
|
2
|
-
import { d as TreemapGeneratedModule, f as __name, g as createDefaultSharedCoreModule, h as createDefaultCoreModule, m as inject, n as AbstractMermaidValueConverter, p as EmptyFileSystem, s as MermaidGeneratedSharedModule, t as AbstractMermaidTokenBuilder } from "./chunk-4KMFLZZN-
|
|
2
|
+
import { d as TreemapGeneratedModule, f as __name, g as createDefaultSharedCoreModule, h as createDefaultCoreModule, m as inject, n as AbstractMermaidValueConverter, p as EmptyFileSystem, s as MermaidGeneratedSharedModule, t as AbstractMermaidTokenBuilder } from "./chunk-4KMFLZZN-DnvP3O4K.js";
|
|
3
3
|
var TreemapTokenBuilder = (_a = class extends AbstractMermaidTokenBuilder {
|
|
4
4
|
constructor() {
|
|
5
5
|
super(["treemap"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as __name } from "./src-
|
|
1
|
+
import { r as __name } from "./src-DZkaBUmt.js";
|
|
2
2
|
function isNothing(c) {
|
|
3
3
|
return c == null;
|
|
4
4
|
}
|
|
@@ -155,25 +155,25 @@ __name(Schema$1, "Schema$1"), Schema$1.prototype.extend = /* @__PURE__ */ __name
|
|
|
155
155
|
var R = Object.create(Schema$1.prototype);
|
|
156
156
|
return R.implicit = (this.implicit || []).concat(I), R.explicit = (this.explicit || []).concat(L), R.compiledImplicit = compileList(R, "implicit"), R.compiledExplicit = compileList(R, "explicit"), R.compiledTypeMap = compileMap(R.compiledImplicit, R.compiledExplicit), R;
|
|
157
157
|
}, "extend");
|
|
158
|
-
var
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
158
|
+
var failsafe = new Schema$1({ explicit: [
|
|
159
|
+
new type("tag:yaml.org,2002:str", {
|
|
160
|
+
kind: "scalar",
|
|
161
|
+
construct: /* @__PURE__ */ __name(function(c) {
|
|
162
|
+
return c === null ? "" : c;
|
|
163
|
+
}, "construct")
|
|
164
|
+
}),
|
|
165
|
+
new type("tag:yaml.org,2002:seq", {
|
|
166
|
+
kind: "sequence",
|
|
167
|
+
construct: /* @__PURE__ */ __name(function(c) {
|
|
168
|
+
return c === null ? [] : c;
|
|
169
|
+
}, "construct")
|
|
170
|
+
}),
|
|
171
|
+
new type("tag:yaml.org,2002:map", {
|
|
172
|
+
kind: "mapping",
|
|
173
|
+
construct: /* @__PURE__ */ __name(function(c) {
|
|
174
|
+
return c === null ? {} : c;
|
|
175
|
+
}, "construct")
|
|
176
|
+
})
|
|
177
177
|
] });
|
|
178
178
|
function resolveYamlNull(c) {
|
|
179
179
|
if (c === null) return true;
|
|
@@ -1031,8 +1031,8 @@ function writeScalar(I, L, R, z, B) {
|
|
|
1031
1031
|
}
|
|
1032
1032
|
__name(writeScalar, "writeScalar");
|
|
1033
1033
|
function blockHeader(c, I) {
|
|
1034
|
-
var L = needIndentIndicator(c) ? String(I) : "", R = c[c.length - 1] === "\n"
|
|
1035
|
-
return L +
|
|
1034
|
+
var L = needIndentIndicator(c) ? String(I) : "", R = c[c.length - 1] === "\n";
|
|
1035
|
+
return L + (R && (c[c.length - 2] === "\n" || c === "\n") ? "+" : R ? "" : "-") + "\n";
|
|
1036
1036
|
}
|
|
1037
1037
|
__name(blockHeader, "blockHeader");
|
|
1038
1038
|
function dropEndingNewline(c) {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import "./isArrayLikeObject-BlvK28do.js";
|
|
2
|
+
import "./memoize-DYoRBSLn.js";
|
|
3
|
+
import "./merge-BjuR6j_w.js";
|
|
4
|
+
import "./marked.esm-DJM8la36.js";
|
|
5
|
+
import "./path-VDkDgx1I.js";
|
|
6
|
+
import "./math-C7wLpe9K.js";
|
|
7
|
+
import "./array-aAxy08hN.js";
|
|
8
|
+
import "./step-IHYrujTc.js";
|
|
9
|
+
import "./line-C6-zz71o.js";
|
|
10
|
+
import "./chunk-S3R3BYOJ-itCT6Vif.js";
|
|
11
|
+
import "./timer-CzOhIJuk.js";
|
|
12
|
+
import { r as __name } from "./src-DZkaBUmt.js";
|
|
13
|
+
import "./chunk-ABZYJK2D-CZcb_1iM.js";
|
|
14
|
+
import "./chunk-7GE3RBXV-CSAeQvLz.js";
|
|
15
|
+
import "./chunk-CVBHYZKI-CivHZg9P.js";
|
|
16
|
+
import "./chunk-QYVHNE3D-CNUuivie.js";
|
|
17
|
+
import "./dist-CK8Gj3GX.js";
|
|
18
|
+
import "./chunk-JA3XYJ7Z-DYeQaT57.js";
|
|
19
|
+
import "./chunk-CXMOBAN2-Dd0E6qb0.js";
|
|
20
|
+
import "./chunk-3AY6CYHV-B2C-aVc3.js";
|
|
21
|
+
import "./chunk-6OXUPJBA-eNAAfJ3Q.js";
|
|
22
|
+
import "./chunk-FMBD7UC4-C6YcisV6.js";
|
|
23
|
+
import "./chunk-55IACEB6-BcCzwOOl.js";
|
|
24
|
+
import "./chunk-QN33PNHL-Cjq5b604.js";
|
|
25
|
+
import { i as styles_default, n as classDiagram_default, r as classRenderer_v3_unified_default, t as ClassDB } from "./chunk-K7UQS3LO-DENzlS-M.js";
|
|
26
|
+
var diagram = {
|
|
27
|
+
parser: classDiagram_default,
|
|
28
|
+
get db() {
|
|
29
|
+
return new ClassDB();
|
|
30
|
+
},
|
|
31
|
+
renderer: classRenderer_v3_unified_default,
|
|
32
|
+
styles: styles_default,
|
|
33
|
+
init: /* @__PURE__ */ __name((e) => {
|
|
34
|
+
e.class || (e.class = {}), e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
35
|
+
}, "init")
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
diagram
|
|
39
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import "./isArrayLikeObject-BlvK28do.js";
|
|
2
|
+
import "./memoize-DYoRBSLn.js";
|
|
3
|
+
import "./merge-BjuR6j_w.js";
|
|
4
|
+
import "./marked.esm-DJM8la36.js";
|
|
5
|
+
import "./path-VDkDgx1I.js";
|
|
6
|
+
import "./math-C7wLpe9K.js";
|
|
7
|
+
import "./array-aAxy08hN.js";
|
|
8
|
+
import "./step-IHYrujTc.js";
|
|
9
|
+
import "./line-C6-zz71o.js";
|
|
10
|
+
import "./chunk-S3R3BYOJ-itCT6Vif.js";
|
|
11
|
+
import "./timer-CzOhIJuk.js";
|
|
12
|
+
import { r as __name } from "./src-DZkaBUmt.js";
|
|
13
|
+
import "./chunk-ABZYJK2D-CZcb_1iM.js";
|
|
14
|
+
import "./chunk-7GE3RBXV-CSAeQvLz.js";
|
|
15
|
+
import "./chunk-CVBHYZKI-CivHZg9P.js";
|
|
16
|
+
import "./chunk-QYVHNE3D-CNUuivie.js";
|
|
17
|
+
import "./dist-CK8Gj3GX.js";
|
|
18
|
+
import "./chunk-JA3XYJ7Z-DYeQaT57.js";
|
|
19
|
+
import "./chunk-CXMOBAN2-Dd0E6qb0.js";
|
|
20
|
+
import "./chunk-3AY6CYHV-B2C-aVc3.js";
|
|
21
|
+
import "./chunk-6OXUPJBA-eNAAfJ3Q.js";
|
|
22
|
+
import "./chunk-FMBD7UC4-C6YcisV6.js";
|
|
23
|
+
import "./chunk-55IACEB6-BcCzwOOl.js";
|
|
24
|
+
import "./chunk-QN33PNHL-Cjq5b604.js";
|
|
25
|
+
import { i as styles_default, n as classDiagram_default, r as classRenderer_v3_unified_default, t as ClassDB } from "./chunk-K7UQS3LO-DENzlS-M.js";
|
|
26
|
+
var diagram = {
|
|
27
|
+
parser: classDiagram_default,
|
|
28
|
+
get db() {
|
|
29
|
+
return new ClassDB();
|
|
30
|
+
},
|
|
31
|
+
renderer: classRenderer_v3_unified_default,
|
|
32
|
+
styles: styles_default,
|
|
33
|
+
init: /* @__PURE__ */ __name((e) => {
|
|
34
|
+
e.class || (e.class = {}), e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
35
|
+
}, "init")
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
diagram
|
|
39
|
+
};
|
|
@@ -192,9 +192,7 @@ var require__baseHas = /* @__PURE__ */ __commonJSMin(((f, V) => {
|
|
|
192
192
|
var H = require__assocIndexOf(), U = Array.prototype.splice;
|
|
193
193
|
function W(f2) {
|
|
194
194
|
var V2 = this.__data__, W2 = H(V2, f2);
|
|
195
|
-
|
|
196
|
-
var G = V2.length - 1;
|
|
197
|
-
return W2 == G ? V2.pop() : U.call(V2, W2, 1), --this.size, true;
|
|
195
|
+
return W2 < 0 ? false : (W2 == V2.length - 1 ? V2.pop() : U.call(V2, W2, 1), --this.size, true);
|
|
198
196
|
}
|
|
199
197
|
V.exports = W;
|
|
200
198
|
})), require__listCacheGet = /* @__PURE__ */ __commonJSMin(((f, V) => {
|
|
@@ -228,8 +226,7 @@ var require__baseHas = /* @__PURE__ */ __commonJSMin(((f, V) => {
|
|
|
228
226
|
}
|
|
229
227
|
q.prototype.clear = H, q.prototype.delete = U, q.prototype.get = W, q.prototype.has = G, q.prototype.set = K, V.exports = q;
|
|
230
228
|
})), require__Map = /* @__PURE__ */ __commonJSMin(((f, V) => {
|
|
231
|
-
|
|
232
|
-
V.exports = H(U, "Map");
|
|
229
|
+
V.exports = require__getNative()(require__root(), "Map");
|
|
233
230
|
})), require__mapCacheClear = /* @__PURE__ */ __commonJSMin(((f, V) => {
|
|
234
231
|
var H = require__Hash(), U = require__ListCache(), W = require__Map();
|
|
235
232
|
function G() {
|
|
@@ -502,13 +499,11 @@ var emptyCompactSelection, CompactSelection = (_a = class {
|
|
|
502
499
|
this.items = f;
|
|
503
500
|
}
|
|
504
501
|
offset(V) {
|
|
505
|
-
|
|
506
|
-
let H = this.items.map((f) => [f[0] + V, f[1] + V]);
|
|
507
|
-
return new _a(H);
|
|
502
|
+
return V === 0 ? this : new _a(this.items.map((f) => [f[0] + V, f[1] + V]));
|
|
508
503
|
}
|
|
509
504
|
add(V) {
|
|
510
|
-
let H = typeof V == "number" ? [V, V + 1] : V
|
|
511
|
-
return new _a(
|
|
505
|
+
let H = typeof V == "number" ? [V, V + 1] : V;
|
|
506
|
+
return new _a(mergeRanges([...this.items, H]));
|
|
512
507
|
}
|
|
513
508
|
remove(V) {
|
|
514
509
|
let H = [...this.items], U = typeof V == "number" ? V : V[0], W = typeof V == "number" ? V + 1 : V[1];
|
|
@@ -600,8 +595,8 @@ function blend(f, V) {
|
|
|
600
595
|
if (V === void 0) return f;
|
|
601
596
|
let [H, U, W, G] = parseToRgba(f);
|
|
602
597
|
if (G === 1) return f;
|
|
603
|
-
let [K, q, J, Y] = parseToRgba(V), X = G + Y * (1 - G)
|
|
604
|
-
return `rgba(${
|
|
598
|
+
let [K, q, J, Y] = parseToRgba(V), X = G + Y * (1 - G);
|
|
599
|
+
return `rgba(${(G * H + Y * K * (1 - G)) / X}, ${(G * U + Y * q * (1 - G)) / X}, ${(G * W + Y * J * (1 - G)) / X}, ${X})`;
|
|
605
600
|
}
|
|
606
601
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
607
602
|
function makeCSSStyle(f) {
|