@marimo-team/islands 0.16.5 → 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-D96i9G-X.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-ChrNdVdJ.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-D_kEsT07.js → glide-data-editor-DHuN8kQ8.js} +1650 -1720
- 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 +8161 -8431
- 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-MWiyXDcI.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-1X1uZB4y.js → types-CRXV0KD5.js} +84 -95
- package/dist/{useAsyncData-C4IqQK0g.js → useAsyncData-uMVTsDI9.js} +1 -1
- package/dist/{useDateFormatter-BCsBqetx.js → useDateFormatter-Dcz7jstn.js} +6 -6
- package/dist/{useTheme-C2pgJzDH.js → useTheme-NbEx-ZNV.js} +13 -10
- package/dist/vb-Cb1HQHii.js +4 -0
- package/dist/vbscript-CpXOP4wZ.js +4 -0
- package/dist/{vega-component-Cv4J8CHz.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/components/app-config/user-config-form.tsx +29 -25
- 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/ai/ai-completion-editor.tsx +135 -5
- package/src/components/editor/ai/completion-handlers.tsx +106 -22
- package/src/components/editor/cell/code/cell-editor.tsx +5 -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/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/notebook-cell.tsx +20 -7
- package/src/components/editor/output/ConsoleOutput.tsx +27 -33
- package/src/components/editor/output/JsonOutput.tsx +9 -0
- 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/forms/__tests__/form-utils.test.ts +4 -2
- package/src/components/icons/copy-icon.tsx +11 -5
- 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/switch.tsx +2 -0
- package/src/core/ai/context/providers/__tests__/datasource.test.ts +9 -1
- package/src/core/ai/context/providers/datasource.ts +25 -1
- 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/cells.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/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 +3 -0
- package/src/core/config/config-schema.ts +8 -0
- package/src/core/config/feature-flag.tsx +2 -4
- 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/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/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/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-Dv_SHu1h.js +0 -1
- package/dist/assets/worker-DVOR9oZG.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
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
var _a, _b;
|
|
2
|
-
import "./isArrayLikeObject-
|
|
3
|
-
import "./isSymbol-
|
|
4
|
-
import "./toString-
|
|
5
|
-
import "./_baseIsEqual-
|
|
6
|
-
import "./_baseUniq-
|
|
7
|
-
import "./_baseProperty-
|
|
8
|
-
import "./memoize-
|
|
9
|
-
import "./merge-
|
|
2
|
+
import "./isArrayLikeObject-BlvK28do.js";
|
|
3
|
+
import "./isSymbol-Cb1f2HgO.js";
|
|
4
|
+
import "./toString-C2mCkasT.js";
|
|
5
|
+
import "./_baseIsEqual-CN4oFUZ4.js";
|
|
6
|
+
import "./_baseUniq-DwoC-LVO.js";
|
|
7
|
+
import "./_baseProperty-DbbUiyUD.js";
|
|
8
|
+
import "./memoize-DYoRBSLn.js";
|
|
9
|
+
import "./merge-BjuR6j_w.js";
|
|
10
10
|
import "./_arrayReduce-CVwxyrBP.js";
|
|
11
|
-
import { t as clone_default } from "./clone-
|
|
12
|
-
import "./isEmpty
|
|
13
|
-
import { t as Graph } from "./graphlib-
|
|
14
|
-
import "./marked.esm-
|
|
11
|
+
import { t as clone_default } from "./clone-Msbhmn2a.js";
|
|
12
|
+
import "./isEmpty--odfYjh1.js";
|
|
13
|
+
import { t as Graph } from "./graphlib-hb3zmtVD.js";
|
|
14
|
+
import "./marked.esm-DJM8la36.js";
|
|
15
15
|
import "./path-VDkDgx1I.js";
|
|
16
16
|
import "./math-C7wLpe9K.js";
|
|
17
17
|
import "./array-aAxy08hN.js";
|
|
18
18
|
import { _ as basis_default } from "./step-IHYrujTc.js";
|
|
19
19
|
import { t as line_default } from "./line-C6-zz71o.js";
|
|
20
|
-
import { a as decodeEntities, g as utils_default, l as getStylesFromArray } from "./chunk-S3R3BYOJ-
|
|
21
|
-
import "./timer-
|
|
22
|
-
import { i as log, r as __name, t as select_default } from "./src-
|
|
23
|
-
import { E as getUrl, I as sanitizeText, a as clear, b as getConfig2, c as configureSvgSize, et as rgba_default, h as evaluate, s as common_default, y as getConfig } from "./chunk-ABZYJK2D-
|
|
24
|
-
import { t as channel_default } from "./channel-
|
|
25
|
-
import { t as getLineFunctionsWithOffset } from "./chunk-7GE3RBXV-
|
|
26
|
-
import { t as getSubGraphTitleMargins } from "./chunk-CVBHYZKI-
|
|
20
|
+
import { a as decodeEntities, g as utils_default, l as getStylesFromArray } from "./chunk-S3R3BYOJ-itCT6Vif.js";
|
|
21
|
+
import "./timer-CzOhIJuk.js";
|
|
22
|
+
import { i as log, r as __name, t as select_default } from "./src-DZkaBUmt.js";
|
|
23
|
+
import { E as getUrl, I as sanitizeText, a as clear, b as getConfig2, c as configureSvgSize, et as rgba_default, h as evaluate, s as common_default, y as getConfig } from "./chunk-ABZYJK2D-CZcb_1iM.js";
|
|
24
|
+
import { t as channel_default } from "./channel-3LVvQZcD.js";
|
|
25
|
+
import { t as getLineFunctionsWithOffset } from "./chunk-7GE3RBXV-CSAeQvLz.js";
|
|
26
|
+
import { t as getSubGraphTitleMargins } from "./chunk-CVBHYZKI-CivHZg9P.js";
|
|
27
27
|
import "./dist-CK8Gj3GX.js";
|
|
28
|
-
import { a as replaceIconSubstring, n as createText } from "./chunk-JA3XYJ7Z-
|
|
29
|
-
import { t as getIconStyles } from "./chunk-FMBD7UC4-
|
|
28
|
+
import { a as replaceIconSubstring, n as createText } from "./chunk-JA3XYJ7Z-DYeQaT57.js";
|
|
29
|
+
import { t as getIconStyles } from "./chunk-FMBD7UC4-C6YcisV6.js";
|
|
30
30
|
var parser = (function() {
|
|
31
31
|
var e = /* @__PURE__ */ __name(function(e2, S2, C2, w2) {
|
|
32
32
|
for (C2 || (C2 = {}), w2 = e2.length; w2--; C2[e2[w2]] = S2) ;
|
|
@@ -1414,8 +1414,8 @@ var cnt = 0, blockDB_default = {
|
|
|
1414
1414
|
clear: clear2,
|
|
1415
1415
|
generateId: /* @__PURE__ */ __name(() => (cnt++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + cnt), "generateId")
|
|
1416
1416
|
}, fade = /* @__PURE__ */ __name((e, S) => {
|
|
1417
|
-
let C = channel_default
|
|
1418
|
-
return rgba_default(
|
|
1417
|
+
let C = channel_default;
|
|
1418
|
+
return rgba_default(C(e, "r"), C(e, "g"), C(e, "b"), S);
|
|
1419
1419
|
}, "fade"), styles_default = /* @__PURE__ */ __name((e) => `.label {
|
|
1420
1420
|
font-family: ${e.fontFamily};
|
|
1421
1421
|
color: ${e.nodeTextColor || e.textColor};
|
|
@@ -1565,18 +1565,15 @@ var cnt = 0, blockDB_default = {
|
|
|
1565
1565
|
function calculateBlockPosition(e, S) {
|
|
1566
1566
|
if (e === 0 || !Number.isInteger(e)) throw Error("Columns must be an integer !== 0.");
|
|
1567
1567
|
if (S < 0 || !Number.isInteger(S)) throw Error("Position must be a non-negative integer." + S);
|
|
1568
|
-
|
|
1568
|
+
return e < 0 ? {
|
|
1569
1569
|
px: S,
|
|
1570
1570
|
py: 0
|
|
1571
|
-
}
|
|
1572
|
-
if (e === 1) return {
|
|
1571
|
+
} : e === 1 ? {
|
|
1573
1572
|
px: 0,
|
|
1574
1573
|
py: S
|
|
1575
|
-
}
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
px: C,
|
|
1579
|
-
py: w
|
|
1574
|
+
} : {
|
|
1575
|
+
px: S % e,
|
|
1576
|
+
py: Math.floor(S / e)
|
|
1580
1577
|
};
|
|
1581
1578
|
}
|
|
1582
1579
|
__name(calculateBlockPosition, "calculateBlockPosition");
|
|
@@ -1695,11 +1692,11 @@ function layout(e) {
|
|
|
1695
1692
|
let S = e.getBlock("root");
|
|
1696
1693
|
if (!S) return;
|
|
1697
1694
|
setBlockSizes(S, e, 0, 0), layoutBlocks(S, e), log.debug("getBlocks", JSON.stringify(S, null, 2));
|
|
1698
|
-
let { minX: C, minY: w, maxX: T, maxY: E } = findBounds(S), D = E - w
|
|
1695
|
+
let { minX: C, minY: w, maxX: T, maxY: E } = findBounds(S), D = E - w;
|
|
1699
1696
|
return {
|
|
1700
1697
|
x: C,
|
|
1701
1698
|
y: w,
|
|
1702
|
-
width:
|
|
1699
|
+
width: T - C,
|
|
1703
1700
|
height: D
|
|
1704
1701
|
};
|
|
1705
1702
|
}
|
|
@@ -1717,15 +1714,12 @@ var createLabel_default = /* @__PURE__ */ __name(async (e, S, C, w) => {
|
|
|
1717
1714
|
let E = e || "";
|
|
1718
1715
|
typeof E == "object" && (E = E[0]);
|
|
1719
1716
|
let D = getConfig2();
|
|
1720
|
-
if (evaluate(D.flowchart.htmlLabels)) {
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
};
|
|
1727
|
-
return addHtmlLabel(C2, D);
|
|
1728
|
-
} else {
|
|
1717
|
+
if (evaluate(D.flowchart.htmlLabels)) return E = E.replace(/\\n|\n/g, "<br />"), log.debug("vertexText" + E), addHtmlLabel({
|
|
1718
|
+
isNode: w,
|
|
1719
|
+
label: await replaceIconSubstring(decodeEntities(E)),
|
|
1720
|
+
labelStyle: S.replace("fill:", "color:")
|
|
1721
|
+
}, D);
|
|
1722
|
+
{
|
|
1729
1723
|
let e2 = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
1730
1724
|
e2.setAttribute("style", S.replace("color:", "fill:"));
|
|
1731
1725
|
let w2 = [];
|
|
@@ -1802,46 +1796,46 @@ function setTerminalWidth(e, S) {
|
|
|
1802
1796
|
__name(setTerminalWidth, "setTerminalWidth");
|
|
1803
1797
|
var positionEdgeLabel = /* @__PURE__ */ __name((e, S) => {
|
|
1804
1798
|
log.debug("Moving label abc88 ", e.id, e.label, edgeLabels[e.id], S);
|
|
1805
|
-
let C = S.updatedPath ? S.updatedPath : S.originalPath,
|
|
1799
|
+
let C = S.updatedPath ? S.updatedPath : S.originalPath, { subGraphTitleTotalMargin: w } = getSubGraphTitleMargins(getConfig2());
|
|
1806
1800
|
if (e.label) {
|
|
1807
|
-
let
|
|
1801
|
+
let T = edgeLabels[e.id], D = e.x, k = e.y;
|
|
1808
1802
|
if (C) {
|
|
1809
|
-
let
|
|
1810
|
-
log.debug("Moving label " + e.label + " from (", D, ",", k, ") to (",
|
|
1803
|
+
let w2 = utils_default.calcLabelPosition(C);
|
|
1804
|
+
log.debug("Moving label " + e.label + " from (", D, ",", k, ") to (", w2.x, ",", w2.y, ") abc88"), S.updatedPath && (D = w2.x, k = w2.y);
|
|
1811
1805
|
}
|
|
1812
|
-
|
|
1806
|
+
T.attr("transform", `translate(${D}, ${k + w / 2})`);
|
|
1813
1807
|
}
|
|
1814
1808
|
if (e.startLabelLeft) {
|
|
1815
|
-
let S2 = terminalLabels[e.id].startLeft, w2 = e.x,
|
|
1809
|
+
let S2 = terminalLabels[e.id].startLeft, w2 = e.x, T = e.y;
|
|
1816
1810
|
if (C) {
|
|
1817
1811
|
let S3 = utils_default.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_left", C);
|
|
1818
|
-
w2 = S3.x,
|
|
1812
|
+
w2 = S3.x, T = S3.y;
|
|
1819
1813
|
}
|
|
1820
|
-
S2.attr("transform", `translate(${w2}, ${
|
|
1814
|
+
S2.attr("transform", `translate(${w2}, ${T})`);
|
|
1821
1815
|
}
|
|
1822
1816
|
if (e.startLabelRight) {
|
|
1823
|
-
let S2 = terminalLabels[e.id].startRight, w2 = e.x,
|
|
1817
|
+
let S2 = terminalLabels[e.id].startRight, w2 = e.x, T = e.y;
|
|
1824
1818
|
if (C) {
|
|
1825
1819
|
let S3 = utils_default.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_right", C);
|
|
1826
|
-
w2 = S3.x,
|
|
1820
|
+
w2 = S3.x, T = S3.y;
|
|
1827
1821
|
}
|
|
1828
|
-
S2.attr("transform", `translate(${w2}, ${
|
|
1822
|
+
S2.attr("transform", `translate(${w2}, ${T})`);
|
|
1829
1823
|
}
|
|
1830
1824
|
if (e.endLabelLeft) {
|
|
1831
|
-
let S2 = terminalLabels[e.id].endLeft, w2 = e.x,
|
|
1825
|
+
let S2 = terminalLabels[e.id].endLeft, w2 = e.x, T = e.y;
|
|
1832
1826
|
if (C) {
|
|
1833
1827
|
let S3 = utils_default.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_left", C);
|
|
1834
|
-
w2 = S3.x,
|
|
1828
|
+
w2 = S3.x, T = S3.y;
|
|
1835
1829
|
}
|
|
1836
|
-
S2.attr("transform", `translate(${w2}, ${
|
|
1830
|
+
S2.attr("transform", `translate(${w2}, ${T})`);
|
|
1837
1831
|
}
|
|
1838
1832
|
if (e.endLabelRight) {
|
|
1839
|
-
let S2 = terminalLabels[e.id].endRight, w2 = e.x,
|
|
1833
|
+
let S2 = terminalLabels[e.id].endRight, w2 = e.x, T = e.y;
|
|
1840
1834
|
if (C) {
|
|
1841
1835
|
let S3 = utils_default.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_right", C);
|
|
1842
|
-
w2 = S3.x,
|
|
1836
|
+
w2 = S3.x, T = S3.y;
|
|
1843
1837
|
}
|
|
1844
|
-
S2.attr("transform", `translate(${w2}, ${
|
|
1838
|
+
S2.attr("transform", `translate(${w2}, ${T})`);
|
|
1845
1839
|
}
|
|
1846
1840
|
}, "positionEdgeLabel"), outsideNode = /* @__PURE__ */ __name((e, S) => {
|
|
1847
1841
|
let C = e.x, w = e.y, T = Math.abs(S.x - C), E = Math.abs(S.y - w), D = e.width / 2, O = e.height / 2;
|
|
@@ -2462,28 +2456,28 @@ var note_default = /* @__PURE__ */ __name(async (e, S) => {
|
|
|
2462
2456
|
return intersect_default.rect(S, e2);
|
|
2463
2457
|
}, C;
|
|
2464
2458
|
}, "note"), formatClass = /* @__PURE__ */ __name((e) => e ? " " + e : "", "formatClass"), getClassesFromNode = /* @__PURE__ */ __name((e, S) => `${S || "node default"}${formatClass(e.classes)} ${formatClass(e.class)}`, "getClassesFromNode"), question = /* @__PURE__ */ __name(async (e, S) => {
|
|
2465
|
-
let { shapeSvg: C, bbox: w } = await labelHelper(e, S, getClassesFromNode(S, void 0), true), T = w.width + S.padding
|
|
2459
|
+
let { shapeSvg: C, bbox: w } = await labelHelper(e, S, getClassesFromNode(S, void 0), true), T = w.width + S.padding + (w.height + S.padding), E = [
|
|
2466
2460
|
{
|
|
2467
|
-
x:
|
|
2461
|
+
x: T / 2,
|
|
2468
2462
|
y: 0
|
|
2469
2463
|
},
|
|
2470
2464
|
{
|
|
2471
|
-
x:
|
|
2472
|
-
y: -
|
|
2465
|
+
x: T,
|
|
2466
|
+
y: -T / 2
|
|
2473
2467
|
},
|
|
2474
2468
|
{
|
|
2475
|
-
x:
|
|
2476
|
-
y: -
|
|
2469
|
+
x: T / 2,
|
|
2470
|
+
y: -T
|
|
2477
2471
|
},
|
|
2478
2472
|
{
|
|
2479
2473
|
x: 0,
|
|
2480
|
-
y: -
|
|
2474
|
+
y: -T / 2
|
|
2481
2475
|
}
|
|
2482
2476
|
];
|
|
2483
2477
|
log.info("Question main (Circle)");
|
|
2484
|
-
let
|
|
2485
|
-
return
|
|
2486
|
-
return log.warn("Intersect called"), intersect_default.polygon(S,
|
|
2478
|
+
let D = insertPolygonShape(C, T, T, E);
|
|
2479
|
+
return D.attr("style", S.style), updateNodeBounds(S, D), S.intersect = function(e2) {
|
|
2480
|
+
return log.warn("Intersect called"), intersect_default.polygon(S, E, e2);
|
|
2487
2481
|
}, C;
|
|
2488
2482
|
}, "question"), choice = /* @__PURE__ */ __name((e, S) => {
|
|
2489
2483
|
let C = e.insert("g").attr("class", "node default").attr("id", S.domId || S.id);
|
|
@@ -2685,8 +2679,8 @@ var note_default = /* @__PURE__ */ __name(async (e, S) => {
|
|
|
2685
2679
|
return intersect_default.polygon(S, D, e2);
|
|
2686
2680
|
}, C;
|
|
2687
2681
|
}, "rect_right_inv_arrow"), cylinder = /* @__PURE__ */ __name(async (e, S) => {
|
|
2688
|
-
let { shapeSvg: C, bbox: w } = await labelHelper(e, S, getClassesFromNode(S, void 0), true), T = w.width + S.padding, E = T / 2, D = E / (2.5 + T / 50), O = w.height + D + S.padding, k = "M 0," + D + " a " + E + "," + D + " 0,0,0 " + T + " 0 a " + E + "," + D + " 0,0,0 " + -T + " 0 l 0," + O + " a " + E + "," + D + " 0,0,0 " + T + " 0 l 0," + -O
|
|
2689
|
-
return updateNodeBounds(S,
|
|
2682
|
+
let { shapeSvg: C, bbox: w } = await labelHelper(e, S, getClassesFromNode(S, void 0), true), T = w.width + S.padding, E = T / 2, D = E / (2.5 + T / 50), O = w.height + D + S.padding, k = "M 0," + D + " a " + E + "," + D + " 0,0,0 " + T + " 0 a " + E + "," + D + " 0,0,0 " + -T + " 0 l 0," + O + " a " + E + "," + D + " 0,0,0 " + T + " 0 l 0," + -O;
|
|
2683
|
+
return updateNodeBounds(S, C.attr("label-offset-y", D).insert("path", ":first-child").attr("style", S.style).attr("d", k).attr("transform", "translate(" + -T / 2 + "," + -(O / 2 + D) + ")")), S.intersect = function(e2) {
|
|
2690
2684
|
let C2 = intersect_default.rect(S, e2), w2 = C2.x - S.x;
|
|
2691
2685
|
if (E != 0 && (Math.abs(w2) < S.width / 2 || Math.abs(w2) == S.width / 2 && Math.abs(C2.y - S.y) > S.height / 2 - D)) {
|
|
2692
2686
|
let T2 = D * D * (1 - w2 * w2 / (E * E));
|
|
@@ -2763,8 +2757,8 @@ var rectWithTitle = /* @__PURE__ */ __name(async (e, S) => {
|
|
|
2763
2757
|
return intersect_default.rect(S, e2);
|
|
2764
2758
|
}, w;
|
|
2765
2759
|
}, "rectWithTitle"), stadium = /* @__PURE__ */ __name(async (e, S) => {
|
|
2766
|
-
let { shapeSvg: C, bbox: w } = await labelHelper(e, S, getClassesFromNode(S, void 0), true), T = w.height + S.padding, E = w.width + T / 4 + S.padding
|
|
2767
|
-
return updateNodeBounds(S,
|
|
2760
|
+
let { shapeSvg: C, bbox: w } = await labelHelper(e, S, getClassesFromNode(S, void 0), true), T = w.height + S.padding, E = w.width + T / 4 + S.padding;
|
|
2761
|
+
return updateNodeBounds(S, C.insert("rect", ":first-child").attr("style", S.style).attr("rx", T / 2).attr("ry", T / 2).attr("x", -E / 2).attr("y", -T / 2).attr("width", E).attr("height", T)), S.intersect = function(e2) {
|
|
2768
2762
|
return intersect_default.rect(S, e2);
|
|
2769
2763
|
}, C;
|
|
2770
2764
|
}, "stadium"), circle2 = /* @__PURE__ */ __name(async (e, S) => {
|
|
@@ -2830,9 +2824,7 @@ var rectWithTitle = /* @__PURE__ */ __name(async (e, S) => {
|
|
|
2830
2824
|
}, C;
|
|
2831
2825
|
}, "start"), forkJoin = /* @__PURE__ */ __name((e, S, C) => {
|
|
2832
2826
|
let w = e.insert("g").attr("class", "node default").attr("id", S.domId || S.id), T = 70, E = 10;
|
|
2833
|
-
C === "LR" && (T = 10, E = 70)
|
|
2834
|
-
let D = w.append("rect").attr("x", -1 * T / 2).attr("y", -1 * E / 2).attr("width", T).attr("height", E).attr("class", "fork-join");
|
|
2835
|
-
return updateNodeBounds(S, D), S.height += S.padding / 2, S.width += S.padding / 2, S.intersect = function(e2) {
|
|
2827
|
+
return C === "LR" && (T = 10, E = 70), updateNodeBounds(S, w.append("rect").attr("x", -1 * T / 2).attr("y", -1 * E / 2).attr("width", T).attr("height", E).attr("class", "fork-join")), S.height += S.padding / 2, S.width += S.padding / 2, S.intersect = function(e2) {
|
|
2836
2828
|
return intersect_default.rect(S, e2);
|
|
2837
2829
|
}, w;
|
|
2838
2830
|
}, "forkJoin"), shapes = {
|
|
@@ -3033,22 +3025,19 @@ __name(getNodeFromBlock, "getNodeFromBlock");
|
|
|
3033
3025
|
async function calculateBlockSize(e, S, C) {
|
|
3034
3026
|
let w = getNodeFromBlock(S, C, false);
|
|
3035
3027
|
if (w.type === "group") return;
|
|
3036
|
-
let T =
|
|
3037
|
-
|
|
3038
|
-
width:
|
|
3039
|
-
height:
|
|
3028
|
+
let T = await insertNode(e, w, { config: getConfig() }), E = T.node().getBBox(), D = C.getBlock(w.id);
|
|
3029
|
+
D.size = {
|
|
3030
|
+
width: E.width,
|
|
3031
|
+
height: E.height,
|
|
3040
3032
|
x: 0,
|
|
3041
3033
|
y: 0,
|
|
3042
|
-
node:
|
|
3043
|
-
}, C.setBlock(
|
|
3034
|
+
node: T
|
|
3035
|
+
}, C.setBlock(D), T.remove();
|
|
3044
3036
|
}
|
|
3045
3037
|
__name(calculateBlockSize, "calculateBlockSize");
|
|
3046
3038
|
async function insertBlockPositioned(e, S, C) {
|
|
3047
3039
|
let w = getNodeFromBlock(S, C, true);
|
|
3048
|
-
|
|
3049
|
-
let C2 = getConfig();
|
|
3050
|
-
await insertNode(e, w, { config: C2 }), S.intersect = w == null ? void 0 : w.intersect, positionNode(w);
|
|
3051
|
-
}
|
|
3040
|
+
C.getBlock(w.id).type !== "space" && (await insertNode(e, w, { config: getConfig() }), S.intersect = w == null ? void 0 : w.intersect, positionNode(w));
|
|
3052
3041
|
}
|
|
3053
3042
|
__name(insertBlockPositioned, "insertBlockPositioned");
|
|
3054
3043
|
async function performOperations(e, S, C, w) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-DgPTj83v.js";
|
|
2
2
|
import { t as require_react } from "./react-DHL_F5hS.js";
|
|
3
3
|
import { n as require_compiler_runtime, t as require_jsx_runtime } from "./jsx-runtime-DZyWJV5b.js";
|
|
4
|
-
import { i as parseShortcut } from "./hotkeys-
|
|
4
|
+
import { i as parseShortcut } from "./hotkeys-Ct2T3e9O.js";
|
|
5
5
|
function r(e) {
|
|
6
6
|
var _, v, y = "";
|
|
7
7
|
if (typeof e == "string" || typeof e == "number") y += e;
|
|
@@ -78,10 +78,7 @@ var clsx_default = clsx, CLASS_PART_SEPARATOR = "-", createClassGroupUtils = (e)
|
|
|
78
78
|
validators: []
|
|
79
79
|
}), v = v.nextPart.get(e2);
|
|
80
80
|
}), v;
|
|
81
|
-
}, isThemeGetter = (e) => e.isThemeGetter, getPrefixedClassGroupEntries = (e, _) => _ ? e.map(([e2, v]) => {
|
|
82
|
-
let y = v.map((e3) => typeof e3 == "string" ? _ + e3 : typeof e3 == "object" ? Object.fromEntries(Object.entries(e3).map(([e4, v2]) => [_ + e4, v2])) : e3);
|
|
83
|
-
return [e2, y];
|
|
84
|
-
}) : e, createLruCache = (e) => {
|
|
81
|
+
}, isThemeGetter = (e) => e.isThemeGetter, getPrefixedClassGroupEntries = (e, _) => _ ? e.map(([e2, v]) => [e2, v.map((e3) => typeof e3 == "string" ? _ + e3 : typeof e3 == "object" ? Object.fromEntries(Object.entries(e3).map(([e4, v2]) => [_ + e4, v2])) : e3)]) : e, createLruCache = (e) => {
|
|
85
82
|
if (e < 1) return {
|
|
86
83
|
get: () => void 0,
|
|
87
84
|
set: () => {
|
|
@@ -117,12 +114,12 @@ var clsx_default = clsx, CLASS_PART_SEPARATOR = "-", createClassGroupUtils = (e)
|
|
|
117
114
|
}
|
|
118
115
|
E2 === "[" ? S2++ : E2 === "]" && S2--;
|
|
119
116
|
}
|
|
120
|
-
let T = v2.length === 0 ? e2 : e2.substring(C), E = T.startsWith(IMPORTANT_MODIFIER)
|
|
117
|
+
let T = v2.length === 0 ? e2 : e2.substring(C), E = T.startsWith(IMPORTANT_MODIFIER);
|
|
121
118
|
return {
|
|
122
119
|
modifiers: v2,
|
|
123
120
|
hasImportantModifier: E,
|
|
124
|
-
baseClassName:
|
|
125
|
-
maybePostfixModifierPosition:
|
|
121
|
+
baseClassName: E ? T.substring(1) : T,
|
|
122
|
+
maybePostfixModifierPosition: w && w > C ? w - C : void 0
|
|
126
123
|
};
|
|
127
124
|
};
|
|
128
125
|
return v ? (e2) => v({
|
|
@@ -180,8 +177,7 @@ var toValue = (e) => {
|
|
|
180
177
|
function createTailwindMerge(e, ..._) {
|
|
181
178
|
let v, y, b, x = S;
|
|
182
179
|
function S(S2) {
|
|
183
|
-
|
|
184
|
-
return v = createConfigUtils(w), y = v.cache.get, b = v.cache.set, x = C, C(S2);
|
|
180
|
+
return v = createConfigUtils(_.reduce((e2, _2) => _2(e2), e())), y = v.cache.get, b = v.cache.set, x = C, C(S2);
|
|
185
181
|
}
|
|
186
182
|
function C(e2) {
|
|
187
183
|
let _2 = y(e2);
|
|
@@ -1359,7 +1355,8 @@ const cx = clsx, cva = (e, _) => (v) => {
|
|
|
1359
1355
|
}), S = v && Object.entries(v).reduce((e2, _2) => {
|
|
1360
1356
|
let [v2, y2] = _2;
|
|
1361
1357
|
return y2 === void 0 || (e2[v2] = y2), e2;
|
|
1362
|
-
}, {})
|
|
1358
|
+
}, {});
|
|
1359
|
+
return cx(e, x, (_a = _ == null ? void 0 : _.compoundVariants) == null ? void 0 : _a.reduce((e2, _2) => {
|
|
1363
1360
|
let { class: v2, className: y2, ...x2 } = _2;
|
|
1364
1361
|
return Object.entries(x2).every((e3) => {
|
|
1365
1362
|
let [_3, v3] = e3;
|
|
@@ -1375,8 +1372,7 @@ const cx = clsx, cva = (e, _) => (v) => {
|
|
|
1375
1372
|
v2,
|
|
1376
1373
|
y2
|
|
1377
1374
|
] : e2;
|
|
1378
|
-
}, []);
|
|
1379
|
-
return cx(e, x, C, v == null ? void 0 : v.class, v == null ? void 0 : v.className);
|
|
1375
|
+
}, []), v == null ? void 0 : v.class, v == null ? void 0 : v.className);
|
|
1380
1376
|
};
|
|
1381
1377
|
var import_compiler_runtime$1 = /* @__PURE__ */ __toESM(require_compiler_runtime());
|
|
1382
1378
|
function isRefObject(e) {
|
|
@@ -1414,7 +1410,8 @@ var import_compiler_runtime = /* @__PURE__ */ __toESM(require_compiler_runtime()
|
|
|
1414
1410
|
text: cn("opacity-80 hover:opacity-100", "active:opacity-100"),
|
|
1415
1411
|
ghost: cn("border border-transparent", "hover:bg-accent hover:text-accent-foreground hover:shadow-xs", activeCommon, "active:text-accent-foreground"),
|
|
1416
1412
|
link: "underline-offset-4 hover:underline text-link",
|
|
1417
|
-
linkDestructive: "underline-offset-4 hover:underline text-destructive underline-destructive"
|
|
1413
|
+
linkDestructive: "underline-offset-4 hover:underline text-destructive underline-destructive",
|
|
1414
|
+
outlineDestructive: "border border-destructive text-destructive hover:bg-destructive/10"
|
|
1418
1415
|
},
|
|
1419
1416
|
size: {
|
|
1420
1417
|
default: "h-10 py-2 px-4",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var _a, _b;
|
|
2
2
|
import { s as __toESM } from "./chunk-DgPTj83v.js";
|
|
3
|
-
import "./isArrayLikeObject-
|
|
4
|
-
import "./memoize-
|
|
5
|
-
import "./merge-
|
|
3
|
+
import "./isArrayLikeObject-BlvK28do.js";
|
|
4
|
+
import "./memoize-DYoRBSLn.js";
|
|
5
|
+
import "./merge-BjuR6j_w.js";
|
|
6
6
|
import "./math-C7wLpe9K.js";
|
|
7
7
|
import "./step-IHYrujTc.js";
|
|
8
|
-
import { _ as wrapLabel, n as calculateTextHeight, r as calculateTextWidth } from "./chunk-S3R3BYOJ-
|
|
9
|
-
import "./timer-
|
|
10
|
-
import { i as log, r as __name, t as select_default } from "./src-
|
|
11
|
-
import { B as setAccTitle, I as sanitizeText, _ as getAccDescription, b as getConfig2, c as configureSvgSize, r as assignWithDepth_default, s as common_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
8
|
+
import { _ as wrapLabel, n as calculateTextHeight, r as calculateTextWidth } from "./chunk-S3R3BYOJ-itCT6Vif.js";
|
|
9
|
+
import "./timer-CzOhIJuk.js";
|
|
10
|
+
import { i as log, r as __name, t as select_default } from "./src-DZkaBUmt.js";
|
|
11
|
+
import { B as setAccTitle, I as sanitizeText, _ as getAccDescription, b as getConfig2, c as configureSvgSize, r as assignWithDepth_default, s as common_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-CZcb_1iM.js";
|
|
12
12
|
import { t as require_dist } from "./dist-CK8Gj3GX.js";
|
|
13
|
-
import { i as drawRect, o as getNoteRect } from "./chunk-TZMSLE5B-
|
|
13
|
+
import { i as drawRect, o as getNoteRect } from "./chunk-TZMSLE5B-DGs66AlL.js";
|
|
14
14
|
var import_dist = /* @__PURE__ */ __toESM(require_dist(), 1), parser = (function() {
|
|
15
15
|
var e = /* @__PURE__ */ __name(function(e2, t2, n2, r2) {
|
|
16
16
|
for (n2 || (n2 = {}), r2 = e2.length; r2--; n2[e2[r2]] = t2) ;
|
|
@@ -2724,8 +2724,7 @@ var c4Diagram_default = parser, c4ShapeArray = [], boundaryParseStack = [""], cu
|
|
|
2724
2724
|
"stroke-width": 1,
|
|
2725
2725
|
"stroke-dasharray": "7.0,7.0"
|
|
2726
2726
|
};
|
|
2727
|
-
t.nodeType && (s = { "stroke-width": 1 })
|
|
2728
|
-
let l = {
|
|
2727
|
+
t.nodeType && (s = { "stroke-width": 1 }), drawRect2(r, {
|
|
2729
2728
|
x: t.x,
|
|
2730
2729
|
y: t.y,
|
|
2731
2730
|
fill: i,
|
|
@@ -2735,10 +2734,9 @@ var c4Diagram_default = parser, c4ShapeArray = [], boundaryParseStack = [""], cu
|
|
|
2735
2734
|
rx: 2.5,
|
|
2736
2735
|
ry: 2.5,
|
|
2737
2736
|
attrs: s
|
|
2738
|
-
};
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
u.fontWeight = "bold", u.fontSize += 2, u.fontColor = o, _drawTextCandidateFunc(n)(t.label.text, r, t.x, t.y + t.label.Y, t.width, t.height, { fill: "#444444" }, u), t.type && t.type.text !== "" && (u = n.boundaryFont(), u.fontColor = o, _drawTextCandidateFunc(n)(t.type.text, r, t.x, t.y + t.type.Y, t.width, t.height, { fill: "#444444" }, u)), t.descr && t.descr.text !== "" && (u = n.boundaryFont(), u.fontSize -= 2, u.fontColor = o, _drawTextCandidateFunc(n)(t.descr.text, r, t.x, t.y + t.descr.Y, t.width, t.height, { fill: "#444444" }, u));
|
|
2737
|
+
});
|
|
2738
|
+
let l = n.boundaryFont();
|
|
2739
|
+
l.fontWeight = "bold", l.fontSize += 2, l.fontColor = o, _drawTextCandidateFunc(n)(t.label.text, r, t.x, t.y + t.label.Y, t.width, t.height, { fill: "#444444" }, l), t.type && t.type.text !== "" && (l = n.boundaryFont(), l.fontColor = o, _drawTextCandidateFunc(n)(t.type.text, r, t.x, t.y + t.type.Y, t.width, t.height, { fill: "#444444" }, l)), t.descr && t.descr.text !== "" && (l = n.boundaryFont(), l.fontSize -= 2, l.fontColor = o, _drawTextCandidateFunc(n)(t.descr.text, r, t.x, t.y + t.descr.Y, t.width, t.height, { fill: "#444444" }, l));
|
|
2742
2740
|
}, "drawBoundary"), drawC4Shape = /* @__PURE__ */ __name(function(e, t, n) {
|
|
2743
2741
|
var _a2;
|
|
2744
2742
|
let r = t.bgColor ? t.bgColor : n[t.typeC4Shape.text + "_bg_color"], i = t.borderColor ? t.borderColor : n[t.typeC4Shape.text + "_border_color"], a = t.fontColor ? t.fontColor : "#FFFFFF", o = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
|
|
@@ -2819,8 +2817,7 @@ var c4Diagram_default = parser, c4ShapeArray = [], boundaryParseStack = [""], cu
|
|
|
2819
2817
|
fontWeight: e[t + "FontWeight"]
|
|
2820
2818
|
}), "getC4ShapeFont"), _drawTextCandidateFunc = /* @__PURE__ */ (function() {
|
|
2821
2819
|
function e(e2, t2, n2, i, a, o, s) {
|
|
2822
|
-
|
|
2823
|
-
r(l, s);
|
|
2820
|
+
r(t2.append("text").attr("x", n2 + a / 2).attr("y", i + o / 2 + 5).style("text-anchor", "middle").text(e2), s);
|
|
2824
2821
|
}
|
|
2825
2822
|
__name(e, "byText");
|
|
2826
2823
|
function t(e2, t2, n2, i, a, o, s, l) {
|
|
@@ -2920,9 +2917,7 @@ __name(calcC4ShapeTextWH, "calcC4ShapeTextWH");
|
|
|
2920
2917
|
var drawBoundary2 = /* @__PURE__ */ __name(function(e, t, n) {
|
|
2921
2918
|
t.x = n.data.startx, t.y = n.data.starty, t.width = n.data.stopx - n.data.startx, t.height = n.data.stopy - n.data.starty, t.label.y = conf.c4ShapeMargin - 35;
|
|
2922
2919
|
let i = t.wrap && conf.wrap, a = boundaryFont(conf);
|
|
2923
|
-
a.fontSize += 2, a.fontWeight = "bold";
|
|
2924
|
-
let o = calculateTextWidth(t.label.text, a);
|
|
2925
|
-
calcC4ShapeTextWH("label", t, i, a, o), svgDraw_default.drawBoundary(e, t, conf);
|
|
2920
|
+
a.fontSize += 2, a.fontWeight = "bold", calcC4ShapeTextWH("label", t, i, a, calculateTextWidth(t.label.text, a)), svgDraw_default.drawBoundary(e, t, conf);
|
|
2926
2921
|
}, "drawBoundary"), drawC4ShapeArray = /* @__PURE__ */ __name(function(e, t, n, i) {
|
|
2927
2922
|
let a = 0;
|
|
2928
2923
|
for (let o of i) {
|
|
@@ -2940,21 +2935,9 @@ var drawBoundary2 = /* @__PURE__ */ __name(function(e, t, n) {
|
|
|
2940
2935
|
}
|
|
2941
2936
|
i2.sprite && (i2.image.width = 48, i2.image.height = 48, i2.image.Y = a, a = i2.image.Y + i2.image.height);
|
|
2942
2937
|
let l = i2.wrap && conf.wrap, u = conf.width - conf.c4ShapePadding * 2, d = c4ShapeFont(conf, i2.typeC4Shape.text);
|
|
2943
|
-
|
|
2944
|
-
i2.type.text = "[" + i2.type.text + "]";
|
|
2945
|
-
let e2 = c4ShapeFont(conf, i2.typeC4Shape.text);
|
|
2946
|
-
calcC4ShapeTextWH("type", i2, l, e2, u), i2.type.Y = a + 5, a = i2.type.Y + i2.type.height;
|
|
2947
|
-
} else if (i2.techn && i2.techn.text !== "") {
|
|
2948
|
-
i2.techn.text = "[" + i2.techn.text + "]";
|
|
2949
|
-
let e2 = c4ShapeFont(conf, i2.techn.text);
|
|
2950
|
-
calcC4ShapeTextWH("techn", i2, l, e2, u), i2.techn.Y = a + 5, a = i2.techn.Y + i2.techn.height;
|
|
2951
|
-
}
|
|
2938
|
+
d.fontSize += 2, d.fontWeight = "bold", calcC4ShapeTextWH("label", i2, l, d, u), i2.label.Y = a + 8, a = i2.label.Y + i2.label.height, i2.type && i2.type.text !== "" ? (i2.type.text = "[" + i2.type.text + "]", calcC4ShapeTextWH("type", i2, l, c4ShapeFont(conf, i2.typeC4Shape.text), u), i2.type.Y = a + 5, a = i2.type.Y + i2.type.height) : i2.techn && i2.techn.text !== "" && (i2.techn.text = "[" + i2.techn.text + "]", calcC4ShapeTextWH("techn", i2, l, c4ShapeFont(conf, i2.techn.text), u), i2.techn.Y = a + 5, a = i2.techn.Y + i2.techn.height);
|
|
2952
2939
|
let f = a, p = i2.label.width;
|
|
2953
|
-
|
|
2954
|
-
let e2 = c4ShapeFont(conf, i2.typeC4Shape.text);
|
|
2955
|
-
calcC4ShapeTextWH("descr", i2, l, e2, u), i2.descr.Y = a + 20, a = i2.descr.Y + i2.descr.height, p = Math.max(i2.label.width, i2.descr.width), f = a - i2.descr.textLines * 5;
|
|
2956
|
-
}
|
|
2957
|
-
p += conf.c4ShapePadding, i2.width = Math.max(i2.width || conf.width, p, conf.width), i2.height = Math.max(i2.height || conf.height, f, conf.height), i2.margin = i2.margin || conf.c4ShapeMargin, e.insert(i2), svgDraw_default.drawC4Shape(t, i2, conf);
|
|
2940
|
+
i2.descr && i2.descr.text !== "" && (calcC4ShapeTextWH("descr", i2, l, c4ShapeFont(conf, i2.typeC4Shape.text), u), i2.descr.Y = a + 20, a = i2.descr.Y + i2.descr.height, p = Math.max(i2.label.width, i2.descr.width), f = a - i2.descr.textLines * 5), p += conf.c4ShapePadding, i2.width = Math.max(i2.width || conf.width, p, conf.width), i2.height = Math.max(i2.height || conf.height, f, conf.height), i2.margin = i2.margin || conf.c4ShapeMargin, e.insert(i2), svgDraw_default.drawC4Shape(t, i2, conf);
|
|
2958
2941
|
}
|
|
2959
2942
|
e.bumpLastMargin(conf.c4ShapeMargin);
|
|
2960
2943
|
}, "drawC4ShapeArray"), Point = (_b = class {
|
|
@@ -2971,11 +2954,9 @@ var drawBoundary2 = /* @__PURE__ */ __name(function(e, t, n) {
|
|
|
2971
2954
|
};
|
|
2972
2955
|
n.x = t.x + t.width / 2, n.y = t.y + t.height / 2;
|
|
2973
2956
|
let r = getIntersectPoint(e, n);
|
|
2974
|
-
n.x = e.x + e.width / 2, n.y = e.y + e.height / 2
|
|
2975
|
-
let i = getIntersectPoint(t, n);
|
|
2976
|
-
return {
|
|
2957
|
+
return n.x = e.x + e.width / 2, n.y = e.y + e.height / 2, {
|
|
2977
2958
|
startPoint: r,
|
|
2978
|
-
endPoint:
|
|
2959
|
+
endPoint: getIntersectPoint(t, n)
|
|
2979
2960
|
};
|
|
2980
2961
|
}, "getIntersectPoints"), drawRels2 = /* @__PURE__ */ __name(function(e, t, n, i) {
|
|
2981
2962
|
let a = 0;
|
|
@@ -2985,8 +2966,8 @@ var drawBoundary2 = /* @__PURE__ */ __name(function(e, t, n) {
|
|
|
2985
2966
|
i.db.getC4Type() === "C4Dynamic" && (e2.label.text = a + ": " + e2.label.text);
|
|
2986
2967
|
let s = calculateTextWidth(e2.label.text, o);
|
|
2987
2968
|
calcC4ShapeTextWH("label", e2, t2, o, s), e2.techn && e2.techn.text !== "" && (s = calculateTextWidth(e2.techn.text, o), calcC4ShapeTextWH("techn", e2, t2, o, s)), e2.descr && e2.descr.text !== "" && (s = calculateTextWidth(e2.descr.text, o), calcC4ShapeTextWH("descr", e2, t2, o, s));
|
|
2988
|
-
let l = n(e2.from),
|
|
2989
|
-
e2.startPoint =
|
|
2969
|
+
let l = getIntersectPoints(n(e2.from), n(e2.to));
|
|
2970
|
+
e2.startPoint = l.startPoint, e2.endPoint = l.endPoint;
|
|
2990
2971
|
}
|
|
2991
2972
|
svgDraw_default.drawRels(e, t, conf);
|
|
2992
2973
|
}, "drawRels");
|
|
@@ -3001,12 +2982,7 @@ function drawInsideBoundary(e, t, n, r, i) {
|
|
|
3001
2982
|
Y: 0
|
|
3002
2983
|
}, s.sprite && (s.image.width = 48, s.image.height = 48, s.image.Y = r2, r2 = s.image.Y + s.image.height);
|
|
3003
2984
|
let l = s.wrap && conf.wrap, u = boundaryFont(conf);
|
|
3004
|
-
if (u.fontSize += 2, u.fontWeight = "bold", calcC4ShapeTextWH("label", s, l, u, a.data.widthLimit), s.label.Y = r2 + 8, r2 = s.label.Y + s.label.height, s.type && s.type.text !== "") {
|
|
3005
|
-
s.type.text = "[" + s.type.text + "]";
|
|
3006
|
-
let e2 = boundaryFont(conf);
|
|
3007
|
-
calcC4ShapeTextWH("type", s, l, e2, a.data.widthLimit), s.type.Y = r2 + 5, r2 = s.type.Y + s.type.height;
|
|
3008
|
-
}
|
|
3009
|
-
if (s.descr && s.descr.text !== "") {
|
|
2985
|
+
if (u.fontSize += 2, u.fontWeight = "bold", calcC4ShapeTextWH("label", s, l, u, a.data.widthLimit), s.label.Y = r2 + 8, r2 = s.label.Y + s.label.height, s.type && s.type.text !== "" && (s.type.text = "[" + s.type.text + "]", calcC4ShapeTextWH("type", s, l, boundaryFont(conf), a.data.widthLimit), s.type.Y = r2 + 5, r2 = s.type.Y + s.type.height), s.descr && s.descr.text !== "") {
|
|
3010
2986
|
let e2 = boundaryFont(conf);
|
|
3011
2987
|
e2.fontSize -= 2, calcC4ShapeTextWH("descr", s, l, e2, a.data.widthLimit), s.descr.Y = r2 + 20, r2 = s.descr.Y + s.descr.height;
|
|
3012
2988
|
}
|
|
@@ -3039,12 +3015,12 @@ var c4Renderer_default = {
|
|
|
3039
3015
|
svgDraw_default.insertComputerIcon(p), svgDraw_default.insertDatabaseIcon(p), svgDraw_default.insertClockIcon(p);
|
|
3040
3016
|
let m = new Bounds(r);
|
|
3041
3017
|
m.setData(conf.diagramMarginX, conf.diagramMarginX, conf.diagramMarginY, conf.diagramMarginY), m.data.widthLimit = screen.availWidth, globalBoundaryMaxX = conf.diagramMarginX, globalBoundaryMaxY = conf.diagramMarginY;
|
|
3042
|
-
let h = r.db.getTitle()
|
|
3043
|
-
drawInsideBoundary(p, "", m,
|
|
3044
|
-
let
|
|
3045
|
-
h && p.append("text").text(h).attr("x", (
|
|
3046
|
-
let
|
|
3047
|
-
p.attr("viewBox",
|
|
3018
|
+
let h = r.db.getTitle();
|
|
3019
|
+
drawInsideBoundary(p, "", m, r.db.getBoundaries(""), r), svgDraw_default.insertArrowHead(p), svgDraw_default.insertArrowEnd(p), svgDraw_default.insertArrowCrossHead(p), svgDraw_default.insertArrowFilledHead(p), drawRels2(p, r.db.getRels(), r.db.getC4Shape, r), m.data.stopx = globalBoundaryMaxX, m.data.stopy = globalBoundaryMaxY;
|
|
3020
|
+
let g = m.data, _ = g.stopy - g.starty + 2 * conf.diagramMarginY, v = g.stopx - g.startx + 2 * conf.diagramMarginX;
|
|
3021
|
+
h && p.append("text").text(h).attr("x", (g.stopx - g.startx) / 2 - 4 * conf.diagramMarginX).attr("y", g.starty + conf.diagramMarginY), configureSvgSize(p, _, v, conf.useMaxWidth);
|
|
3022
|
+
let y = h ? 60 : 0;
|
|
3023
|
+
p.attr("viewBox", g.startx - conf.diagramMarginX + " -" + (conf.diagramMarginY + y) + " " + v + " " + (_ + y)), log.debug("models:", g);
|
|
3048
3024
|
}, "draw")
|
|
3049
3025
|
}, diagram = {
|
|
3050
3026
|
parser: c4Diagram_default,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as utils_default, tt as color_default } from "./chunk-ABZYJK2D-
|
|
1
|
+
import { nt as utils_default, tt as color_default } from "./chunk-ABZYJK2D-CZcb_1iM.js";
|
|
2
2
|
var channel_default = (n, r) => utils_default.lang.round(color_default.parse(n)[r]);
|
|
3
3
|
export {
|
|
4
4
|
channel_default as t
|