@pi-outpost/embed 0.14.0 → 0.16.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/PdfViewer-BEdoeHbS.cjs +1 -0
- package/dist/{PdfViewer-BHP5lV-o.js → PdfViewer-DvoTT6jM.js} +5 -5
- package/dist/{abnfDiagram-N423BO3Z-WMOVzCba.js → abnfDiagram-VCTEODGH-CYuCmqs8.js} +6 -6
- package/dist/abnfDiagram-VCTEODGH-SjZtzoAs.cjs +1 -0
- package/dist/{arc-BBnpgwVQ.js → arc-CtDF59mU.js} +8 -6
- package/dist/arc-Dh2Zrypi.cjs +1 -0
- package/dist/architecture-7GRP2DOG-BtgYGXkq.cjs +1 -0
- package/dist/architecture-7GRP2DOG-DBQ9eYgM.js +3 -0
- package/dist/{architectureDiagram-T3A2C74G-BH-F8FzB.js → architectureDiagram-5GKGNRK7-D2-hmLgN.js} +327 -318
- package/dist/architectureDiagram-5GKGNRK7-wrDPdf3y.cjs +36 -0
- package/dist/blockDiagram-OSKFZWR5-Boo8WJyt.cjs +129 -0
- package/dist/blockDiagram-OSKFZWR5-Bvi4xQOy.js +1922 -0
- package/dist/{browser-CynjNfkw.js → browser-BmmG9yeb.js} +40 -34
- package/dist/{browser-CAyUayTx.cjs → browser-CUQnQIhV.cjs} +5 -5
- package/dist/c-AHDGPWiJ.cjs +1 -0
- package/dist/{c-Cw4FsAeJ.js → c-BCMbpktW.js} +42 -31
- package/dist/c4Diagram-7LVT6UL2-BCrC0RQo.cjs +38 -0
- package/dist/{c4Diagram-5PPSVZJV-Cfnl6tZM.js → c4Diagram-7LVT6UL2-CU4tNaf1.js} +751 -703
- package/dist/{channel-Bq-0ENlK.js → channel-Cuipqk56.js} +1 -1
- package/dist/channel-DcrLLvcO.cjs +1 -0
- package/dist/{chunk-JQJVKLGR-CZorbEP3.js → chunk-3NF5O7KM-B-2znsHr.js} +155 -115
- package/dist/chunk-3NF5O7KM-B-DpUW2r.cjs +168 -0
- package/dist/chunk-4HAMMTFA-CtkrBT7X.cjs +62 -0
- package/dist/chunk-4HAMMTFA-dRm_HqMI.js +4188 -0
- package/dist/chunk-75Z2AOVW-DOXS9ORa.cjs +2 -0
- package/dist/{chunk-NSK5VX7P-DPxIxDdV.js → chunk-75Z2AOVW-Eg_bFxBJ.js} +60 -96
- package/dist/chunk-DU6HZSFF-3Hhp3Fo5.cjs +127 -0
- package/dist/{chunk-I66GZJ75-DexfhZwA.js → chunk-DU6HZSFF-CaHy-FdL.js} +527 -478
- package/dist/{chunk-2GRJ4B5K-DzaxUd3W.cjs → chunk-F27PBJKO-3UPgzIlN.cjs} +1 -1
- package/dist/{chunk-2GRJ4B5K-DXwE-yr5.js → chunk-F27PBJKO-BriqLvNp.js} +4 -4
- package/dist/{chunk-KEIR6QF5-BVnxrdHo.js → chunk-FOHPRMQF-BNNbqxGX.js} +424 -356
- package/dist/chunk-FOHPRMQF-tmTlwTeH.cjs +161 -0
- package/dist/chunk-GMAD6QVW-B6uvB_wz.cjs +72 -0
- package/dist/{chunk-WRU74C26-D4huAZcy.js → chunk-GMAD6QVW-DCCx2Rg1.js} +503 -267
- package/dist/chunk-GVQU2GXP-BRMv2gX3.js +37 -0
- package/dist/chunk-GVQU2GXP-iZT_vNLp.cjs +1 -0
- package/dist/{chunk-GF5L2VYU-BPBMCCz5.js → chunk-HLEWEB6X-DlG0X171.js} +16 -16
- package/dist/{chunk-GF5L2VYU-DgG-wovM.cjs → chunk-HLEWEB6X-aqFoPl02.cjs} +4 -4
- package/dist/chunk-L3NEJ4N5-DkoFQHrz.js +245 -0
- package/dist/chunk-L3NEJ4N5-vW3qRjIb.cjs +1 -0
- package/dist/{chunk-7Z6QIM7H-CIoK8R3m.js → chunk-OSK3NFVY-CxjvZYNR.js} +232 -150
- package/dist/chunk-OSK3NFVY-DU2FGOlI.cjs +10 -0
- package/dist/chunk-P2QGCYS3-DWeL9spl.cjs +1 -0
- package/dist/{chunk-W5SLKNZC-Djmw_p6f.js → chunk-P2QGCYS3-uCJfSNHC.js} +19 -19
- package/dist/{chunk-KBJHAD2P-CthZVYG5.cjs → chunk-POPQ4Y6H-BRQPB1-9.cjs} +1 -1
- package/dist/{chunk-KBJHAD2P-BlQyFndF.js → chunk-POPQ4Y6H-D2Z11lA3.js} +3 -3
- package/dist/{chunk-4I5QYGJK-LCSWSJfh.cjs → chunk-PWAF6VOD-CZZKCekP.cjs} +1 -1
- package/dist/{chunk-4I5QYGJK-JZmvuONC.js → chunk-PWAF6VOD-j4sFqhOF.js} +7 -9
- package/dist/{chunk-6Q2QTUOP-C5n08EA-.cjs → chunk-SVP7TREG-CTKSOFlx.cjs} +2 -2
- package/dist/{chunk-6Q2QTUOP-DvJxCxMM.js → chunk-SVP7TREG-CtJsmAIb.js} +4 -4
- package/dist/{chunk-XXDRQBXY-DsVp5qjg.js → chunk-XXDRQBXY-fOrVUHLI.js} +1 -1
- package/dist/{chunk-XXDRQBXY-gWcN0uCZ.cjs → chunk-XXDRQBXY-yMT3rT5Y.cjs} +1 -1
- package/dist/chunk-ZLD2IHE6-BZxKwfuv.cjs +231 -0
- package/dist/{chunk-5RXB4S5H-JthGygoA.js → chunk-ZLD2IHE6-tqumZV0E.js} +44 -48
- package/dist/classDiagram-CYGNFDIV-CQLOfBmz.cjs +1 -0
- package/dist/classDiagram-CYGNFDIV-DIu4rTyR.js +30 -0
- package/dist/classDiagram-v2-TLXNO2FR-BsYK4QnI.js +30 -0
- package/dist/classDiagram-v2-TLXNO2FR-CQLOfBmz.cjs +1 -0
- package/dist/{core-BO2hTFeF.js → core-B9pe29T7.js} +8 -7
- package/dist/core-BrupIPpc.cjs +3 -0
- package/dist/{cose-bilkent-JH36ORCC-BFo5zomD.js → cose-bilkent-JH36ORCC-1Ad4jvll.js} +65 -62
- package/dist/cose-bilkent-JH36ORCC-Cc2qvpLA.cjs +1 -0
- package/dist/{cpp-CeyO6lBG.js → cpp-CL2nTisp.js} +25 -14
- package/dist/cpp-DpAsh4uT.cjs +1 -0
- package/dist/{csharp-Ck6Fet_o.js → csharp-CK75iOSn.js} +37 -37
- package/dist/csharp-TOr_W-v9.cjs +1 -0
- package/dist/css-4wogsuks.cjs +1 -0
- package/dist/{css-ClSGJRju.js → css-DJr8nnnu.js} +6 -1
- package/dist/cynefin-OW5HDTMX-BmLJra-4.cjs +1 -0
- package/dist/cynefin-OW5HDTMX-CfYr_cVN.js +3 -0
- package/dist/{cynefinDiagram-MW4NZA55-CB4ZzMEN.js → cynefinDiagram-5FMLGOSQ-BSRTnQvp.js} +29 -23
- package/dist/cynefinDiagram-5FMLGOSQ-GvGZco52.cjs +62 -0
- package/dist/{cytoscape.esm-asYnbYTy.js → cytoscape.esm-Cq7KPj0t.js} +2480 -2480
- package/dist/cytoscape.esm-uHsEX1XI.cjs +321 -0
- package/dist/{dagre-BpqwxFKp.js → dagre-BMKbPnPh.js} +689 -456
- package/dist/dagre-EEW2OxRU.cjs +1 -0
- package/dist/dagre-OS7QT2EB-DFi6nnZc.cjs +4 -0
- package/dist/dagre-OS7QT2EB-DcpSzxsR.js +425 -0
- package/dist/{defaultLocale-up9-vqhM.js → defaultLocale-B4ncmkvI.js} +1 -4
- package/dist/defaultLocale-ybN1Vtvg.cjs +1 -0
- package/dist/diagram-S7CK7UJ4-BA67ZpiO.cjs +30 -0
- package/dist/{diagram-7IWD3JNH-Cschro8T.js → diagram-S7CK7UJ4-Cx2fQdp6.js} +39 -38
- package/dist/{diagram-UB23O5K3-D-yL2fvd.js → diagram-UQ7AKVKN-CvQH-Box.js} +12 -12
- package/dist/diagram-UQ7AKVKN-OteiyKD9.cjs +41 -0
- package/dist/{diagram-B4RE2ZJO-DKbKOwkP.cjs → diagram-VSXAHHWV-BjsZz1JJ.cjs} +1 -1
- package/dist/{diagram-B4RE2ZJO-B94mhDmV.js → diagram-VSXAHHWV-CCpCVOIq.js} +6 -6
- package/dist/diagram-VX7I27RA-Bx9fEhR0.cjs +24 -0
- package/dist/{diagram-Q27KOJAE-Cqn3IliP.js → diagram-VX7I27RA-HE5nQAXN.js} +64 -62
- package/dist/{diagram-LBJQPF4R-D0MEwBt6.js → diagram-Z3DM3KII-BEu4c4pP.js} +11 -11
- package/dist/diagram-Z3DM3KII-jy895UiZ.cjs +24 -0
- package/dist/{dist-D6LMt8nW.js → dist-Dtt9eY41.js} +1 -1
- package/dist/{dist-DNGlMOWd.cjs → dist-Dwv2VYAL.cjs} +1 -1
- package/dist/{ebnfDiagram-BXEA7PRR-B2HDWFYF.js → ebnfDiagram-PWID7BFC-B06rGL3A.js} +6 -6
- package/dist/ebnfDiagram-PWID7BFC-BQZKHpUr.cjs +1 -0
- package/dist/erDiagram-2YWLMYGG-CuEEIv1I.cjs +99 -0
- package/dist/{erDiagram-JOGREHBK-Badv_hu8.js → erDiagram-2YWLMYGG-IL4IhNXb.js} +1046 -807
- package/dist/eventmodeling-NTZA5JFV-D57pc07U.cjs +1 -0
- package/dist/eventmodeling-NTZA5JFV-DUbGOrrF.js +3 -0
- package/dist/flowDiagram-T62WH6J4-DdJo3Te1.js +16 -0
- package/dist/flowDiagram-T62WH6J4-YyzE7N5Z.cjs +1 -0
- package/dist/{ganttDiagram-PKOTCBZU-By0w7TmO.js → ganttDiagram-EL5Y4UJY-CIBhrOW6.js} +26 -36
- package/dist/ganttDiagram-EL5Y4UJY-PTWIufq8.cjs +292 -0
- package/dist/gitGraph-4MIJSDKK-CY4IuhXZ.js +3 -0
- package/dist/gitGraph-4MIJSDKK-D97vaDci.cjs +1 -0
- package/dist/{gitGraphDiagram-DS77QQ5N-B1uJYchG.js → gitGraphDiagram-WWUBYQGX-CjeedV4i.js} +16 -12
- package/dist/{gitGraphDiagram-DS77QQ5N-Fw8a66di.cjs → gitGraphDiagram-WWUBYQGX-D5yozoaq.cjs} +3 -3
- package/dist/{go-rg7jg1mu.js → go-B2E3I9E3.js} +4 -0
- package/dist/{go-D-pz-dmd.cjs → go-BDkypVKn.cjs} +1 -1
- package/dist/{graphlib-CkkG5MuS.cjs → graphlib-BaETKKSa.cjs} +1 -1
- package/dist/{graphlib-B0GbLif1.js → graphlib-CQa_B3rm.js} +5 -5
- package/dist/info-A6RAGUB7-Cx39sHYM.js +3 -0
- package/dist/info-A6RAGUB7-DT06-FB3.cjs +1 -0
- package/dist/{infoDiagram-6WML65LV-CkWm_KTB.js → infoDiagram-FKFFQAWI-BalzsRT4.js} +6 -6
- package/dist/infoDiagram-FKFFQAWI-NPtQF4vB.cjs +2 -0
- package/dist/init-BJdqMO10.cjs +1 -0
- package/dist/{init-CirqLVcp.js → init-CuXVI8k2.js} +1 -3
- package/dist/{ishikawaDiagram-WSZJBQD7-DTeFqC8L.js → ishikawaDiagram-5VMMS53U-BC2vrJSo.js} +14 -14
- package/dist/{ishikawaDiagram-WSZJBQD7-CQWHhozU.cjs → ishikawaDiagram-5VMMS53U-DN23jmFw.cjs} +3 -3
- package/dist/java-DFBMvIUR.cjs +1 -0
- package/dist/{java-HguKEfA2.js → java-T8Nr25pJ.js} +27 -22
- package/dist/{javascript-C8NCH8DE.js → javascript-CIP6I0eT.js} +6 -4
- package/dist/javascript-Gn0piXHk.cjs +1 -0
- package/dist/{journeyDiagram-NVQOT4AX-Cg6C3dFy.js → journeyDiagram-EYS64GPL-CLMBONXO.js} +14 -14
- package/dist/{journeyDiagram-NVQOT4AX-DLomv_vN.cjs → journeyDiagram-EYS64GPL-Co9rp-Q1.cjs} +3 -3
- package/dist/json-DOqjN5nI.js +42 -0
- package/dist/json-LMrXTXZM.cjs +1 -0
- package/dist/{kanban-definition-27J2QSJJ-B9Fog3W7.cjs → kanban-definition-UXKFOSKX-DzKPVjAq.cjs} +5 -5
- package/dist/{kanban-definition-27J2QSJJ-Bb7nb0gX.js → kanban-definition-UXKFOSKX-SNTHZo65.js} +31 -31
- package/dist/katex-CEF6MvLx.cjs +257 -0
- package/dist/katex-ohtLbxXc.js +21977 -0
- package/dist/{line-yqcJYv29.js → line-4_dF7rOW.js} +2 -2
- package/dist/{line-pOZ7Sdj7.cjs → line-D6gR53Af.cjs} +1 -1
- package/dist/{linear-CVhyaVzf.js → linear-C1gZJMVz.js} +8 -9
- package/dist/linear-Nt9BuHfn.cjs +1 -0
- package/dist/{markdown-CzgRofaE.js → markdown-BW-hB0s4.js} +2 -5
- package/dist/markdown-CTkHoGys.cjs +1 -0
- package/dist/{mermaid-parser.core-Cgsz0CdK.cjs → mermaid-parser.core-CBiDgMLi.cjs} +2 -2
- package/dist/{mermaid-parser.core-B8DQcCaz.js → mermaid-parser.core-DLNlSmfj.js} +31 -31
- package/dist/mermaid.core-B3QcBB1O.cjs +43 -0
- package/dist/mermaid.core-BIqYA7q2.js +3012 -0
- package/dist/{mindmap-definition-FAOFIHXS-9wa1P9NT.cjs → mindmap-definition-THT77NOG-Bo3D8RRT.cjs} +4 -4
- package/dist/{mindmap-definition-FAOFIHXS-DFG0Zs_1.js → mindmap-definition-THT77NOG-BtDuvAQ_.js} +27 -29
- package/dist/{ordinal-D0iNZ43g.cjs → ordinal-Bm_chml2.cjs} +1 -1
- package/dist/{ordinal-C1oQzsBn.js → ordinal-D3SPD7Kk.js} +2 -2
- package/dist/packet-AYTQ26CC-BGX2McoE.cjs +1 -0
- package/dist/packet-AYTQ26CC-IgkU2VYK.js +3 -0
- package/dist/path-DIS6ck99.cjs +1 -0
- package/dist/{path-mKa7UESy.js → path-PGqhG0Rz.js} +10 -11
- package/dist/{pdf-DyDm1M1B.js → pdf-B6zVkETi.js} +182 -220
- package/dist/pdf-cYqATYeW.cjs +54 -0
- package/dist/pegDiagram-XKGWAZYB-Cx-wZf4B.cjs +1 -0
- package/dist/{pegDiagram-VL7TDLO6-XOjprD-j.js → pegDiagram-XKGWAZYB-Ucd8o52_.js} +6 -6
- package/dist/{php-C9FOMGEA.js → php-Cn7gPoxt.js} +6 -0
- package/dist/{php-j6EhDZDE.cjs → php-DQmdBizx.cjs} +1 -1
- package/dist/pi-outpost-embed.cjs +47 -47
- package/dist/pi-outpost-embed.js +3750 -3717
- package/dist/pie-WAS4IAKB-CEyPj3UJ.cjs +1 -0
- package/dist/pie-WAS4IAKB-odE0A7fM.js +3 -0
- package/dist/pieDiagram-E7YTZNPT-BC-pW4cK.cjs +39 -0
- package/dist/{pieDiagram-7S7Q4E2Y-Cwe7fXgJ.js → pieDiagram-E7YTZNPT-DSx5wFMY.js} +20 -22
- package/dist/{python-DKAazMIE.js → python-BUfdXZqP.js} +6 -6
- package/dist/python-CrsffQw-.cjs +1 -0
- package/dist/{quadrantDiagram-CIZ2JOQS-CbaMHmYB.js → quadrantDiagram-AXDQQJYC-D8Y50xmh.js} +11 -11
- package/dist/{quadrantDiagram-CIZ2JOQS-CDfrU0dm.cjs → quadrantDiagram-AXDQQJYC-zPfqM9Q4.cjs} +2 -2
- package/dist/radar-RG4KPBEZ-ClYJNseM.cjs +1 -0
- package/dist/radar-RG4KPBEZ-DqbNqlJH.js +3 -0
- package/dist/railroad-74A4TZTK-Dzt4afqg.js +3 -0
- package/dist/railroad-74A4TZTK-hSKcr2y6.cjs +1 -0
- package/dist/railroad-abnf-HS5TGJTU-gq2RybTO.js +3 -0
- package/dist/railroad-abnf-HS5TGJTU-irEXz0eI.cjs +1 -0
- package/dist/railroad-ebnf-LZEXJU2U-CG19A1Xj.cjs +1 -0
- package/dist/railroad-ebnf-LZEXJU2U-D-pNpFrj.js +3 -0
- package/dist/railroad-peg-WCYAUIDC-BLdK3QCV.cjs +1 -0
- package/dist/railroad-peg-WCYAUIDC-Bo7wfe--.js +3 -0
- package/dist/railroadDiagram-O6MQD6OU-3JsgWyLe.cjs +1 -0
- package/dist/{railroadDiagram-AXF67PYL-CVXAv-Uu.js → railroadDiagram-O6MQD6OU-BTg2KtZO.js} +6 -6
- package/dist/{requirementDiagram-LRYGKXZP-Bzik4kgS.js → requirementDiagram-IS5BZ75X-C1OrS7DV.js} +25 -24
- package/dist/{requirementDiagram-LRYGKXZP-BGlGCftH.cjs → requirementDiagram-IS5BZ75X-D1BMLxZg.cjs} +4 -4
- package/dist/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
- package/dist/{rolldown-runtime-mLOUI7ql.cjs → rolldown-runtime-DF3sbh8G.cjs} +1 -1
- package/dist/{rough.esm-r0QOSzHM.cjs → rough.esm-ChRLLRha.cjs} +1 -1
- package/dist/{rough.esm-C5XyeDCN.js → rough.esm-D2JJJ0Ot.js} +60 -51
- package/dist/{ruby-ClR4zp-1.cjs → ruby-B1inj-Q8.cjs} +1 -1
- package/dist/{ruby-BAUeZQKZ.js → ruby-DYVKXPXk.js} +1 -1
- package/dist/{rust-DiTjMjP5.js → rust-BihXqTNi.js} +38 -25
- package/dist/rust-D39kF6re.cjs +1 -0
- package/dist/{sankeyDiagram-W5VNT64P-OeLUMuT6.cjs → sankeyDiagram-P5KCCOFB-D5BHxcxB.cjs} +2 -2
- package/dist/{sankeyDiagram-W5VNT64P-_8xZpo45.js → sankeyDiagram-P5KCCOFB-DTnkE4oO.js} +17 -15
- package/dist/{scss-CckAvQOx.js → scss-CzfrZ5cc.js} +6 -1
- package/dist/scss-t-vKjRr4.cjs +1 -0
- package/dist/{sequenceDiagram-SI44F4Z6-X4mzY21C.js → sequenceDiagram-WJ2MYXX4-Ba-z2rSx.js} +36 -48
- package/dist/sequenceDiagram-WJ2MYXX4-DlVJIIIl.cjs +162 -0
- package/dist/{sizeCapture-X5ZJPWSS-DKbHZNyz.js → sizeCapture-INFHLROL-B5Lg3qGn.js} +1 -1
- package/dist/{src-DJ4x3y2O.js → src-BMMAFeC3.js} +288 -291
- package/dist/src-D9o9TOtH.cjs +1 -0
- package/dist/{stateDiagram-OKZ733FA-CMM1orC_.js → stateDiagram-XQSTLZYL-BtcUS_dg.js} +21 -21
- package/dist/stateDiagram-XQSTLZYL-mSOJx_Wv.cjs +1 -0
- package/dist/stateDiagram-v2-IH3M54BS-DAa6SuH4.cjs +1 -0
- package/dist/stateDiagram-v2-IH3M54BS-E_Rhduzm.js +30 -0
- package/dist/swimlanes-V6O3JKXN-BooYLGtP.cjs +1 -0
- package/dist/{swimlanes-SLNWSIFB-C7LLK1V2.js → swimlanes-V6O3JKXN-xxlpXv1f.js} +1022 -1109
- package/dist/swimlanesDiagram-JKAHXJPX-BaMCBEUQ.cjs +8 -0
- package/dist/swimlanesDiagram-JKAHXJPX-DyQwD-QO.js +30 -0
- package/dist/timeline-definition-24CTP7MA-D6sSmprF.cjs +120 -0
- package/dist/{timeline-definition-Z64GVDOM-Cgc-2OmU.js → timeline-definition-24CTP7MA-Dr8ouzBO.js} +19 -19
- package/dist/treeView-Q6P3EWNA-BmkQxkVU.cjs +1 -0
- package/dist/treeView-Q6P3EWNA-CPEEGmNv.js +3 -0
- package/dist/treemap-WGGIJYW6-CGULpntJ.js +3 -0
- package/dist/treemap-WGGIJYW6-Dmi9HAR8.cjs +1 -0
- package/dist/typescript-BarIi8q9.cjs +1 -0
- package/dist/{typescript-mdYq8uqf.js → typescript-C93MG6Zk.js} +26 -24
- package/dist/vennDiagram-4TSXK5OY-D5MMYyff.cjs +34 -0
- package/dist/{vennDiagram-T6HMQDX7-BWj1BhMh.js → vennDiagram-4TSXK5OY-i6B1rhUA.js} +15 -15
- package/dist/wardley-WFR3VGLG-9zHZLKh9.js +3 -0
- package/dist/wardley-WFR3VGLG-B6YvLPJA.cjs +1 -0
- package/dist/{wardleyDiagram-T6FBY63Y-d_t4oVLE.js → wardleyDiagram-VM6X3IG4-1SFyFcXg.js} +46 -46
- package/dist/{wardleyDiagram-T6FBY63Y-OomvVIFj.cjs → wardleyDiagram-VM6X3IG4-DzZNzmB8.cjs} +36 -36
- package/dist/{workspacePath-BScUv3M_.js → workspacePath-CfDl0V4n.js} +1 -1
- package/dist/{workspacePath-kqTwbSP1.cjs → workspacePath-EgAFT36l.cjs} +1 -1
- package/dist/{xml-BamqaQOf.cjs → xml-B0vjUBag.cjs} +1 -1
- package/dist/{xml-DVYfB8uY.js → xml-GxASmsT7.js} +2 -6
- package/dist/{xychartDiagram-ELKLHX3M-BOSOdubI.cjs → xychartDiagram-S5SC5T6Z-BOsjfYJh.cjs} +4 -4
- package/dist/{xychartDiagram-ELKLHX3M-Ce-ai3a8.js → xychartDiagram-S5SC5T6Z-D6QDBBGJ.js} +263 -158
- package/dist/{yaml-_1BORZTQ.js → yaml-CHhF1kKQ.js} +25 -25
- package/dist/yaml-DZS9gzaB.cjs +1 -0
- package/package.json +2 -2
- package/dist/PdfViewer-BBmVq73v.cjs +0 -1
- package/dist/abnfDiagram-N423BO3Z-DOZfbvMH.cjs +0 -1
- package/dist/arc-DcUn9_NX.cjs +0 -1
- package/dist/architecture-TIHT7OUA-D-35jO9Y.cjs +0 -1
- package/dist/architecture-TIHT7OUA-DDyMqjR1.js +0 -3
- package/dist/architectureDiagram-T3A2C74G-RJUsi-Sx.cjs +0 -36
- package/dist/blockDiagram-VBNYF7ZC-Bz8oqXJQ.cjs +0 -132
- package/dist/blockDiagram-VBNYF7ZC-DYMmF9bV.js +0 -3160
- package/dist/c-4QgYfi8K.cjs +0 -1
- package/dist/c4Diagram-5PPSVZJV-DM6x-BYG.cjs +0 -10
- package/dist/channel-DoxF0tZj.cjs +0 -1
- package/dist/chunk-3NCLNEKW-CO28EZBG.cjs +0 -1
- package/dist/chunk-3NCLNEKW-dTH67Ne_.js +0 -10
- package/dist/chunk-5RXB4S5H-B5b3tdRl.cjs +0 -231
- package/dist/chunk-7BUUIJ7U-BFUeQBoS.js +0 -82
- package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +0 -1
- package/dist/chunk-7Z6QIM7H-Ctljl7Vq.cjs +0 -10
- package/dist/chunk-I66GZJ75-CrpH-Rmq.cjs +0 -127
- package/dist/chunk-J7OUQ5F2-DhMpZbAr.js +0 -57
- package/dist/chunk-J7OUQ5F2-b-MfW4O9.cjs +0 -1
- package/dist/chunk-JQJVKLGR-2AQwaWbm.cjs +0 -156
- package/dist/chunk-KEIR6QF5-Cy_QBNG6.cjs +0 -161
- package/dist/chunk-NSK5VX7P-D5CepZHI.cjs +0 -2
- package/dist/chunk-QR6OTTB3-CQ_jjYb-.js +0 -3736
- package/dist/chunk-QR6OTTB3-DSg3ZWNW.cjs +0 -62
- package/dist/chunk-RYQCIY6F-27FDzaaE.cjs +0 -1
- package/dist/chunk-RYQCIY6F-C-YC3QS_.js +0 -239
- package/dist/chunk-UBXNYLIW-BBncokef.js +0 -32
- package/dist/chunk-UBXNYLIW-DlNyCWjj.cjs +0 -1
- package/dist/chunk-W5SLKNZC-bHBkM2CL.cjs +0 -1
- package/dist/chunk-WRU74C26-9KZxhHnn.cjs +0 -70
- package/dist/chunk-ZIRB5QZD-BU6XQUGC.cjs +0 -32
- package/dist/chunk-ZIRB5QZD-Cj-y77rH.js +0 -1146
- package/dist/classDiagram-JCYQIIEL-DeHc-x8i.cjs +0 -1
- package/dist/classDiagram-JCYQIIEL-DlHKjVPc.js +0 -30
- package/dist/classDiagram-v2-OCEON4UE-DeHc-x8i.cjs +0 -1
- package/dist/classDiagram-v2-OCEON4UE-DlhHN57j.js +0 -30
- package/dist/core-2nR1zkKb.cjs +0 -3
- package/dist/cose-bilkent-JH36ORCC-AyWV1dUo.cjs +0 -1
- package/dist/cpp-BUtp-HE2.cjs +0 -1
- package/dist/csharp-BJu4kEpt.cjs +0 -1
- package/dist/css-DeFr0lev.cjs +0 -1
- package/dist/cynefin-VYW2F7L2-DHhUPDgc.cjs +0 -1
- package/dist/cynefin-VYW2F7L2-DwiVqvhg.js +0 -3
- package/dist/cynefinDiagram-MW4NZA55-By102s5I.cjs +0 -62
- package/dist/cytoscape.esm-ByjvpCPI.cjs +0 -321
- package/dist/dagre-BBlCxSvR.cjs +0 -1
- package/dist/dagre-VZM6K2ZE-5zrH2LqV.js +0 -328
- package/dist/dagre-VZM6K2ZE-CNe7-jhy.cjs +0 -4
- package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
- package/dist/diagram-7IWD3JNH-CSzLXhRw.cjs +0 -30
- package/dist/diagram-LBJQPF4R-DgD0a56I.cjs +0 -24
- package/dist/diagram-Q27KOJAE-DNWfiaD5.cjs +0 -24
- package/dist/diagram-UB23O5K3-DguyM6v_.cjs +0 -41
- package/dist/ebnfDiagram-BXEA7PRR-DuJrkFn-.cjs +0 -1
- package/dist/erDiagram-JOGREHBK-DtyaQROs.cjs +0 -85
- package/dist/eventmodeling-45OFAUF4-COTtdYDJ.js +0 -3
- package/dist/eventmodeling-45OFAUF4-CPEyr9kU.cjs +0 -1
- package/dist/flowDiagram-UKHOOZJN-C7t5VpYH.js +0 -17
- package/dist/flowDiagram-UKHOOZJN-CdkElxh8.cjs +0 -1
- package/dist/ganttDiagram-PKOTCBZU-CFgz4r57.cjs +0 -292
- package/dist/gitGraph-TEB2WS4Q-C3qBT0GM.js +0 -3
- package/dist/gitGraph-TEB2WS4Q-a8KsoPmR.cjs +0 -1
- package/dist/info-DKCQHKI2-BEYhR6ip.cjs +0 -1
- package/dist/info-DKCQHKI2-BPF6-pOb.js +0 -3
- package/dist/infoDiagram-6WML65LV-CB6z_iKE.cjs +0 -2
- package/dist/init-07zIhv_j.cjs +0 -1
- package/dist/java-CUN_usaq.cjs +0 -1
- package/dist/javascript-UZXSyUuu.cjs +0 -1
- package/dist/json-Cp01TR_B.js +0 -36
- package/dist/json-usH_MUzR.cjs +0 -1
- package/dist/linear-Cl2-QuPP.cjs +0 -1
- package/dist/map-CwPlMWPw.cjs +0 -1
- package/dist/map-DU12fF3s.js +0 -241
- package/dist/markdown-qeo95R0i.cjs +0 -1
- package/dist/mermaid.core-BIq27e0A.js +0 -1068
- package/dist/mermaid.core-DpsSj3iy.cjs +0 -10
- package/dist/packet-7NZHBO7P-DqvBYJTR.js +0 -3
- package/dist/packet-7NZHBO7P-Dz0O2bgq.cjs +0 -1
- package/dist/path-Kklx0M1v.cjs +0 -1
- package/dist/pdf-aU0TN69t.cjs +0 -54
- package/dist/pegDiagram-VL7TDLO6-B4FslsmM.cjs +0 -1
- package/dist/pie-RZYD4A2V-Hi9UdoE3.cjs +0 -1
- package/dist/pie-RZYD4A2V-qnruo9sH.js +0 -3
- package/dist/pieDiagram-7S7Q4E2Y-CNzUVS2d.cjs +0 -39
- package/dist/python-BYJzTRkK.cjs +0 -1
- package/dist/radar-I7S5WNFK-Dqdssa34.cjs +0 -1
- package/dist/radar-I7S5WNFK-np_pJCO-.js +0 -3
- package/dist/railroad-3IZDKUUU-NILjDQft.cjs +0 -1
- package/dist/railroad-3IZDKUUU-sjKBeXxB.js +0 -3
- package/dist/railroad-abnf-AHOZXSZD-BojH9sxV.cjs +0 -1
- package/dist/railroad-abnf-AHOZXSZD-x5cC_e_R.js +0 -3
- package/dist/railroad-ebnf-EBAXGLYW-2mlWpz38.js +0 -3
- package/dist/railroad-ebnf-EBAXGLYW-BKCSut1M.cjs +0 -1
- package/dist/railroad-peg-LSFZ7HO6-CsH-gnsp.cjs +0 -1
- package/dist/railroad-peg-LSFZ7HO6-D5vguo03.js +0 -3
- package/dist/railroadDiagram-AXF67PYL-EO1cBHEj.cjs +0 -1
- package/dist/rust-ghVvEWhm.cjs +0 -1
- package/dist/scss-CKxh5HRg.cjs +0 -1
- package/dist/sequenceDiagram-SI44F4Z6-CuaCFBtR.cjs +0 -162
- package/dist/src-CR--T_NF.cjs +0 -1
- package/dist/stateDiagram-OKZ733FA-Dq6hI_pq.cjs +0 -1
- package/dist/stateDiagram-v2-UEYNNEHI-BmWUstzl.js +0 -30
- package/dist/stateDiagram-v2-UEYNNEHI-DZULVhS9.cjs +0 -1
- package/dist/swimlanes-SLNWSIFB-BMS6R0BK.cjs +0 -1
- package/dist/swimlanesDiagram-ULZ7WXOC-DxHKX_pj.cjs +0 -8
- package/dist/swimlanesDiagram-ULZ7WXOC-uXMuqsao.js +0 -31
- package/dist/timeline-definition-Z64GVDOM-PPJqDdOy.cjs +0 -120
- package/dist/treeView-QDETBFTQ-Cpg_YeQ4.cjs +0 -1
- package/dist/treeView-QDETBFTQ-DdpEhzZX.js +0 -3
- package/dist/treemap-6X3UGDF4-BeCuRpkA.js +0 -3
- package/dist/treemap-6X3UGDF4-CFAmnKaf.cjs +0 -1
- package/dist/typescript-clWeqIBY.cjs +0 -1
- package/dist/vennDiagram-T6HMQDX7-DqY7YgNx.cjs +0 -34
- package/dist/wardley-OPB4EBWU-B0jnKd8x.cjs +0 -1
- package/dist/wardley-OPB4EBWU-DlIk2K0J.js +0 -3
- package/dist/yaml-bAgWofBg.cjs +0 -1
- /package/dist/{sizeCapture-X5ZJPWSS-bJ2ZX4Du.cjs → sizeCapture-INFHLROL-bJ2ZX4Du.cjs} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
|
|
2
|
-
import { m as t } from "./src-
|
|
3
|
-
import { D as n, H as r, K as i, U as a, a as o, b as s, c, f as l, v as u, w as d, y as f, z as p } from "./chunk-
|
|
4
|
-
import { t as m } from "./linear-
|
|
5
|
-
import { t as h } from "./ordinal-
|
|
6
|
-
import { t as g } from "./init-
|
|
7
|
-
import { i as _ } from "./chunk-
|
|
8
|
-
import { t as v } from "./line-
|
|
9
|
-
import
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import {
|
|
2
|
+
import { m as t } from "./src-BMMAFeC3.js";
|
|
3
|
+
import { D as n, H as r, K as i, U as a, a as o, b as s, c, f as l, v as u, w as d, y as f, z as p } from "./chunk-DU6HZSFF-CaHy-FdL.js";
|
|
4
|
+
import { t as m } from "./linear-C1gZJMVz.js";
|
|
5
|
+
import { t as h } from "./ordinal-D3SPD7Kk.js";
|
|
6
|
+
import { t as g } from "./init-CuXVI8k2.js";
|
|
7
|
+
import { i as _ } from "./chunk-75Z2AOVW-Eg_bFxBJ.js";
|
|
8
|
+
import { t as v } from "./line-4_dF7rOW.js";
|
|
9
|
+
import "./chunk-PWAF6VOD-j4sFqhOF.js";
|
|
10
|
+
import { t as y } from "./chunk-GMAD6QVW-DCCx2Rg1.js";
|
|
11
|
+
import { f as b } from "./mermaid.core-BIqYA7q2.js";
|
|
12
12
|
//#region ../node_modules/d3-array/src/range.js
|
|
13
13
|
function x(e, t, n) {
|
|
14
14
|
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
|
|
@@ -53,7 +53,7 @@ function S() {
|
|
|
53
53
|
}, g.apply(d(), arguments);
|
|
54
54
|
}
|
|
55
55
|
//#endregion
|
|
56
|
-
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-
|
|
56
|
+
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-S5SC5T6Z.mjs
|
|
57
57
|
var C = (function() {
|
|
58
58
|
var t = /* @__PURE__ */ e(function(e, t, n, r) {
|
|
59
59
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
@@ -401,9 +401,7 @@ var C = (function() {
|
|
|
401
401
|
case 42:
|
|
402
402
|
this.$ = a[s];
|
|
403
403
|
break;
|
|
404
|
-
case 43:
|
|
405
|
-
this.$ = a[s - 1] + "" + a[s];
|
|
406
|
-
break;
|
|
404
|
+
case 43: this.$ = a[s - 1] + "" + a[s];
|
|
407
405
|
}
|
|
408
406
|
}, "anonymous"),
|
|
409
407
|
table: [
|
|
@@ -721,7 +719,7 @@ var C = (function() {
|
|
|
721
719
|
var v = h.yylloc;
|
|
722
720
|
o.push(v);
|
|
723
721
|
var y = h.options && h.options.ranges;
|
|
724
|
-
typeof g.yy.parseError == "function" ?
|
|
722
|
+
this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
|
|
725
723
|
function b(e) {
|
|
726
724
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
727
725
|
}
|
|
@@ -874,10 +872,12 @@ var C = (function() {
|
|
|
874
872
|
if (this._backtrack) {
|
|
875
873
|
t = !1;
|
|
876
874
|
continue;
|
|
877
|
-
}
|
|
878
|
-
|
|
875
|
+
}
|
|
876
|
+
return !1;
|
|
877
|
+
}
|
|
878
|
+
if (!this.options.flex) break;
|
|
879
879
|
}
|
|
880
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
880
|
+
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
881
881
|
text: "",
|
|
882
882
|
token: null,
|
|
883
883
|
line: this.yylineno
|
|
@@ -1283,7 +1283,7 @@ var O = class {
|
|
|
1283
1283
|
height: 0
|
|
1284
1284
|
}, r = this.parentGroup.append("g").attr("visibility", "hidden").attr("font-size", t);
|
|
1285
1285
|
for (let i of e) {
|
|
1286
|
-
let e =
|
|
1286
|
+
let e = y(r, 1, i), a = e ? e.width : i.length * t, o = e ? e.height : t;
|
|
1287
1287
|
n.width = Math.max(n.width, a), n.height = Math.max(n.height, o);
|
|
1288
1288
|
}
|
|
1289
1289
|
return r.remove(), n;
|
|
@@ -1617,11 +1617,99 @@ var te = class {
|
|
|
1617
1617
|
}), e;
|
|
1618
1618
|
}
|
|
1619
1619
|
};
|
|
1620
|
-
function
|
|
1620
|
+
function P(e, t, n, r) {
|
|
1621
1621
|
return new te(new O(r), e, t, n);
|
|
1622
1622
|
}
|
|
1623
|
-
e(
|
|
1624
|
-
var re =
|
|
1623
|
+
e(P, "getChartTitleComponent");
|
|
1624
|
+
var ne = .75, re = .5, ie = .35;
|
|
1625
|
+
function F(e) {
|
|
1626
|
+
return {
|
|
1627
|
+
fontSize: e,
|
|
1628
|
+
markerSize: e * ne,
|
|
1629
|
+
markerSpacing: e * ie,
|
|
1630
|
+
itemSpacing: e * re
|
|
1631
|
+
};
|
|
1632
|
+
}
|
|
1633
|
+
e(F, "getLegendLayout");
|
|
1634
|
+
var ae = class {
|
|
1635
|
+
constructor(e, t, n, r) {
|
|
1636
|
+
this.textDimensionCalculator = e, this.chartConfig = t, this.chartData = n, this.chartThemeConfig = r, this.boundingRect = {
|
|
1637
|
+
x: 0,
|
|
1638
|
+
y: 0,
|
|
1639
|
+
width: 0,
|
|
1640
|
+
height: 0
|
|
1641
|
+
}, this.visiblePlots = [];
|
|
1642
|
+
}
|
|
1643
|
+
static {
|
|
1644
|
+
e(this, "ChartLegend");
|
|
1645
|
+
}
|
|
1646
|
+
setBoundingBoxXY(e) {
|
|
1647
|
+
this.boundingRect.x = e.x, this.boundingRect.y = e.y;
|
|
1648
|
+
}
|
|
1649
|
+
calculateSpace(e) {
|
|
1650
|
+
if (this.visiblePlots = this.chartConfig.showLegend ? this.chartData.plots.filter((e) => e.title) : [], this.visiblePlots.length === 0) return this.boundingRect.width = 0, this.boundingRect.height = 0, {
|
|
1651
|
+
width: 0,
|
|
1652
|
+
height: 0
|
|
1653
|
+
};
|
|
1654
|
+
let { fontSize: t, markerSize: n, markerSpacing: r, itemSpacing: i } = F(this.chartConfig.legendFontSize), a = this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map((e) => e.title), t), o = this.chartConfig.legendPadding * 2 + n + r + a.width, s = this.chartConfig.legendPadding * 2 + this.visiblePlots.length * t + (this.visiblePlots.length - 1) * i;
|
|
1655
|
+
return o <= e.width && s <= e.height ? (this.boundingRect.width = o, this.boundingRect.height = s) : (this.visiblePlots = [], this.boundingRect.width = 0, this.boundingRect.height = 0), {
|
|
1656
|
+
width: this.boundingRect.width,
|
|
1657
|
+
height: this.boundingRect.height
|
|
1658
|
+
};
|
|
1659
|
+
}
|
|
1660
|
+
getDrawableElements() {
|
|
1661
|
+
if (this.visiblePlots.length === 0) return [];
|
|
1662
|
+
let { fontSize: e, markerSize: t, markerSpacing: n, itemSpacing: r } = F(this.chartConfig.legendFontSize), i = e + r, a = this.boundingRect.x + this.chartConfig.legendPadding, o = this.boundingRect.y + this.chartConfig.legendPadding, s = [], c = [];
|
|
1663
|
+
for (let [e, n] of this.visiblePlots.entries()) if (T(n)) s.push({
|
|
1664
|
+
x: a,
|
|
1665
|
+
y: o + e * i,
|
|
1666
|
+
width: t,
|
|
1667
|
+
height: t,
|
|
1668
|
+
fill: n.fill,
|
|
1669
|
+
strokeFill: n.fill,
|
|
1670
|
+
strokeWidth: 0
|
|
1671
|
+
});
|
|
1672
|
+
else {
|
|
1673
|
+
let r = o + e * i + t / 2;
|
|
1674
|
+
c.push({
|
|
1675
|
+
path: `M ${a},${r} L ${a + t},${r}`,
|
|
1676
|
+
strokeFill: n.strokeFill,
|
|
1677
|
+
strokeWidth: n.strokeWidth
|
|
1678
|
+
});
|
|
1679
|
+
}
|
|
1680
|
+
return [
|
|
1681
|
+
{
|
|
1682
|
+
groupTexts: ["legend", "markers"],
|
|
1683
|
+
type: "rect",
|
|
1684
|
+
data: s
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
groupTexts: ["legend", "markers"],
|
|
1688
|
+
type: "path",
|
|
1689
|
+
data: c
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
groupTexts: ["legend", "label"],
|
|
1693
|
+
type: "text",
|
|
1694
|
+
data: this.visiblePlots.map((r, s) => ({
|
|
1695
|
+
text: r.title,
|
|
1696
|
+
x: a + t + n,
|
|
1697
|
+
y: o + s * i + t / 2,
|
|
1698
|
+
fill: this.chartThemeConfig.legendTextColor,
|
|
1699
|
+
fontSize: e,
|
|
1700
|
+
rotation: 0,
|
|
1701
|
+
verticalPos: "middle",
|
|
1702
|
+
horizontalPos: "left"
|
|
1703
|
+
}))
|
|
1704
|
+
}
|
|
1705
|
+
];
|
|
1706
|
+
}
|
|
1707
|
+
};
|
|
1708
|
+
function I(e, t, n, r) {
|
|
1709
|
+
return new ae(new O(r), e, t, n);
|
|
1710
|
+
}
|
|
1711
|
+
e(I, "getChartLegendComponent");
|
|
1712
|
+
var oe = class {
|
|
1625
1713
|
constructor(e, t, n, r, i) {
|
|
1626
1714
|
this.plotData = e, this.xAxis = t, this.yAxis = n, this.orientation = r, this.plotIndex = i;
|
|
1627
1715
|
}
|
|
@@ -1676,7 +1764,7 @@ var re = class {
|
|
|
1676
1764
|
}
|
|
1677
1765
|
return n;
|
|
1678
1766
|
}
|
|
1679
|
-
},
|
|
1767
|
+
}, se = class {
|
|
1680
1768
|
constructor(e, t, n, r, i, a) {
|
|
1681
1769
|
this.barData = e, this.boundingRect = t, this.xAxis = n, this.yAxis = r, this.orientation = i, this.plotIndex = a;
|
|
1682
1770
|
}
|
|
@@ -1711,7 +1799,7 @@ var re = class {
|
|
|
1711
1799
|
}))
|
|
1712
1800
|
}];
|
|
1713
1801
|
}
|
|
1714
|
-
},
|
|
1802
|
+
}, ce = class {
|
|
1715
1803
|
constructor(e, t, n) {
|
|
1716
1804
|
this.chartConfig = e, this.chartData = t, this.chartThemeConfig = n, this.boundingRect = {
|
|
1717
1805
|
x: 0,
|
|
@@ -1741,29 +1829,28 @@ var re = class {
|
|
|
1741
1829
|
for (let [t, n] of this.chartData.plots.entries()) switch (n.type) {
|
|
1742
1830
|
case "line":
|
|
1743
1831
|
{
|
|
1744
|
-
let r = new
|
|
1745
|
-
e.push(...r.getDrawableElement());
|
|
1746
|
-
}
|
|
1747
|
-
break;
|
|
1748
|
-
case "bar":
|
|
1749
|
-
{
|
|
1750
|
-
let r = new ie(n, this.boundingRect, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
|
|
1832
|
+
let r = new oe(n, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
|
|
1751
1833
|
e.push(...r.getDrawableElement());
|
|
1752
1834
|
}
|
|
1753
1835
|
break;
|
|
1836
|
+
case "bar": {
|
|
1837
|
+
let r = new se(n, this.boundingRect, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
|
|
1838
|
+
e.push(...r.getDrawableElement());
|
|
1839
|
+
}
|
|
1754
1840
|
}
|
|
1755
1841
|
return e;
|
|
1756
1842
|
}
|
|
1757
1843
|
};
|
|
1758
|
-
function
|
|
1759
|
-
return new
|
|
1844
|
+
function le(e, t, n) {
|
|
1845
|
+
return new ce(e, t, n);
|
|
1760
1846
|
}
|
|
1761
|
-
e(
|
|
1762
|
-
var
|
|
1847
|
+
e(le, "getPlotComponent");
|
|
1848
|
+
var ue = class {
|
|
1763
1849
|
constructor(e, t, n, r) {
|
|
1764
1850
|
this.chartConfig = e, this.chartData = t, this.componentStore = {
|
|
1765
|
-
title:
|
|
1766
|
-
plot:
|
|
1851
|
+
title: P(e, t, n, r),
|
|
1852
|
+
plot: le(e, t, n),
|
|
1853
|
+
legend: I(e, t, n, r),
|
|
1767
1854
|
xAxis: N(t.xAxis, e.xAxis, {
|
|
1768
1855
|
titleColor: n.xAxisTitleColor,
|
|
1769
1856
|
labelColor: n.xAxisLabelColor,
|
|
@@ -1782,57 +1869,75 @@ var oe = class {
|
|
|
1782
1869
|
e(this, "Orchestrator");
|
|
1783
1870
|
}
|
|
1784
1871
|
calculateVerticalSpace() {
|
|
1785
|
-
let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i =
|
|
1786
|
-
width:
|
|
1787
|
-
height:
|
|
1872
|
+
let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = {
|
|
1873
|
+
width: 0,
|
|
1874
|
+
height: 0
|
|
1875
|
+
}, a = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), o = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), s = this.componentStore.plot.calculateSpace({
|
|
1876
|
+
width: a,
|
|
1877
|
+
height: o
|
|
1788
1878
|
});
|
|
1789
|
-
e -=
|
|
1879
|
+
e -= s.width, t -= s.height, s = this.componentStore.title.calculateSpace({
|
|
1790
1880
|
width: this.chartConfig.width,
|
|
1791
1881
|
height: t
|
|
1792
|
-
}), r =
|
|
1882
|
+
}), r = s.height, t -= s.height, this.componentStore.xAxis.setAxisPosition("bottom"), s = this.componentStore.xAxis.calculateSpace({
|
|
1793
1883
|
width: e,
|
|
1794
1884
|
height: t
|
|
1795
|
-
}), t -=
|
|
1885
|
+
}), t -= s.height, this.componentStore.yAxis.setAxisPosition("left"), s = this.componentStore.yAxis.calculateSpace({
|
|
1796
1886
|
width: e,
|
|
1797
1887
|
height: t
|
|
1798
|
-
}), n =
|
|
1799
|
-
width:
|
|
1800
|
-
height:
|
|
1888
|
+
}), n = s.width, e -= s.width, i = this.componentStore.legend.calculateSpace({
|
|
1889
|
+
width: e,
|
|
1890
|
+
height: o
|
|
1891
|
+
}), e -= i.width, e > 0 && (a += e, e = 0), t > 0 && (o += t, t = 0), this.componentStore.plot.calculateSpace({
|
|
1892
|
+
width: a,
|
|
1893
|
+
height: o
|
|
1801
1894
|
}), this.componentStore.plot.setBoundingBoxXY({
|
|
1802
1895
|
x: n,
|
|
1803
1896
|
y: r
|
|
1804
|
-
}), this.componentStore.
|
|
1897
|
+
}), this.componentStore.legend.setBoundingBoxXY({
|
|
1898
|
+
x: n + a,
|
|
1899
|
+
y: r + Math.max((o - i.height) / 2, 0)
|
|
1900
|
+
}), this.componentStore.xAxis.setRange([n, n + a]), this.componentStore.xAxis.setBoundingBoxXY({
|
|
1805
1901
|
x: n,
|
|
1806
|
-
y: r +
|
|
1807
|
-
}), this.componentStore.yAxis.setRange([r, r +
|
|
1902
|
+
y: r + o
|
|
1903
|
+
}), this.componentStore.yAxis.setRange([r, r + o]), this.componentStore.yAxis.setBoundingBoxXY({
|
|
1808
1904
|
x: 0,
|
|
1809
1905
|
y: r
|
|
1810
1906
|
}), this.chartData.plots.some((e) => T(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
|
|
1811
1907
|
}
|
|
1812
1908
|
calculateHorizontalSpace() {
|
|
1813
|
-
let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = 0, a =
|
|
1814
|
-
width:
|
|
1815
|
-
height:
|
|
1909
|
+
let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = 0, a = {
|
|
1910
|
+
width: 0,
|
|
1911
|
+
height: 0
|
|
1912
|
+
}, o = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), s = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), c = this.componentStore.plot.calculateSpace({
|
|
1913
|
+
width: o,
|
|
1914
|
+
height: s
|
|
1816
1915
|
});
|
|
1817
|
-
e -=
|
|
1916
|
+
e -= c.width, t -= c.height, c = this.componentStore.title.calculateSpace({
|
|
1818
1917
|
width: this.chartConfig.width,
|
|
1819
1918
|
height: t
|
|
1820
|
-
}), n =
|
|
1919
|
+
}), n = c.height, t -= c.height, this.componentStore.xAxis.setAxisPosition("left"), c = this.componentStore.xAxis.calculateSpace({
|
|
1821
1920
|
width: e,
|
|
1822
1921
|
height: t
|
|
1823
|
-
}), e -=
|
|
1922
|
+
}), e -= c.width, r = c.width, this.componentStore.yAxis.setAxisPosition("top"), c = this.componentStore.yAxis.calculateSpace({
|
|
1824
1923
|
width: e,
|
|
1825
1924
|
height: t
|
|
1826
|
-
}), t -=
|
|
1827
|
-
width:
|
|
1828
|
-
height:
|
|
1925
|
+
}), t -= c.height, i = n + c.height, a = this.componentStore.legend.calculateSpace({
|
|
1926
|
+
width: e,
|
|
1927
|
+
height: s
|
|
1928
|
+
}), e -= a.width, e > 0 && (o += e, e = 0), t > 0 && (s += t, t = 0), this.componentStore.plot.calculateSpace({
|
|
1929
|
+
width: o,
|
|
1930
|
+
height: s
|
|
1829
1931
|
}), this.componentStore.plot.setBoundingBoxXY({
|
|
1830
1932
|
x: r,
|
|
1831
1933
|
y: i
|
|
1832
|
-
}), this.componentStore.
|
|
1934
|
+
}), this.componentStore.legend.setBoundingBoxXY({
|
|
1935
|
+
x: r + o,
|
|
1936
|
+
y: i + Math.max((s - a.height) / 2, 0)
|
|
1937
|
+
}), this.componentStore.yAxis.setRange([r, r + o]), this.componentStore.yAxis.setBoundingBoxXY({
|
|
1833
1938
|
x: r,
|
|
1834
1939
|
y: n
|
|
1835
|
-
}), this.componentStore.xAxis.setRange([i, i +
|
|
1940
|
+
}), this.componentStore.xAxis.setRange([i, i + s]), this.componentStore.xAxis.setBoundingBoxXY({
|
|
1836
1941
|
x: 0,
|
|
1837
1942
|
y: i
|
|
1838
1943
|
}), this.chartData.plots.some((e) => T(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
|
|
@@ -1847,25 +1952,25 @@ var oe = class {
|
|
|
1847
1952
|
for (let t of Object.values(this.componentStore)) e.push(...t.getDrawableElements());
|
|
1848
1953
|
return e;
|
|
1849
1954
|
}
|
|
1850
|
-
},
|
|
1955
|
+
}, de = class {
|
|
1851
1956
|
static {
|
|
1852
1957
|
e(this, "XYChartBuilder");
|
|
1853
1958
|
}
|
|
1854
1959
|
static build(e, t, n, r) {
|
|
1855
|
-
return new
|
|
1960
|
+
return new ue(e, t, n, r).getDrawableElement();
|
|
1856
1961
|
}
|
|
1857
|
-
},
|
|
1858
|
-
function
|
|
1962
|
+
}, L = 0, R, z = K(), B = G(), V = q(), H = B.plotColorPalette.split(",").map((e) => e.trim()), U = !1, W = !1;
|
|
1963
|
+
function G() {
|
|
1859
1964
|
let e = n(), t = s();
|
|
1860
1965
|
return _(e.xyChart, t.themeVariables.xyChart);
|
|
1861
1966
|
}
|
|
1862
|
-
e(
|
|
1863
|
-
function
|
|
1967
|
+
e(G, "getChartDefaultThemeConfig");
|
|
1968
|
+
function K() {
|
|
1864
1969
|
let e = s();
|
|
1865
1970
|
return _(l.xyChart, e.xyChart);
|
|
1866
1971
|
}
|
|
1867
|
-
e(
|
|
1868
|
-
function
|
|
1972
|
+
e(K, "getChartDefaultConfig");
|
|
1973
|
+
function q() {
|
|
1869
1974
|
return {
|
|
1870
1975
|
yAxis: {
|
|
1871
1976
|
type: "linear",
|
|
@@ -1882,73 +1987,73 @@ function G() {
|
|
|
1882
1987
|
plots: []
|
|
1883
1988
|
};
|
|
1884
1989
|
}
|
|
1885
|
-
e(
|
|
1886
|
-
function
|
|
1990
|
+
e(q, "getChartDefaultData");
|
|
1991
|
+
function J(e) {
|
|
1887
1992
|
let t = s();
|
|
1888
1993
|
return p(e.trim(), t);
|
|
1889
1994
|
}
|
|
1890
|
-
e(
|
|
1891
|
-
function
|
|
1892
|
-
|
|
1995
|
+
e(J, "textSanitizer");
|
|
1996
|
+
function Y(e) {
|
|
1997
|
+
R = e;
|
|
1893
1998
|
}
|
|
1894
|
-
e(
|
|
1895
|
-
function
|
|
1896
|
-
e === "horizontal" ?
|
|
1999
|
+
e(Y, "setTmpSVGG");
|
|
2000
|
+
function fe(e) {
|
|
2001
|
+
e === "horizontal" ? z.chartOrientation = "horizontal" : z.chartOrientation = "vertical";
|
|
1897
2002
|
}
|
|
1898
|
-
e(
|
|
1899
|
-
function
|
|
1900
|
-
|
|
2003
|
+
e(fe, "setOrientation");
|
|
2004
|
+
function pe(e) {
|
|
2005
|
+
V.xAxis.title = J(e.text);
|
|
1901
2006
|
}
|
|
1902
|
-
e(
|
|
2007
|
+
e(pe, "setXAxisTitle");
|
|
1903
2008
|
function X(e, t) {
|
|
1904
|
-
|
|
2009
|
+
V.xAxis = {
|
|
1905
2010
|
type: "linear",
|
|
1906
|
-
title:
|
|
2011
|
+
title: V.xAxis.title,
|
|
1907
2012
|
min: e,
|
|
1908
2013
|
max: t
|
|
1909
|
-
},
|
|
2014
|
+
}, U = !0;
|
|
1910
2015
|
}
|
|
1911
2016
|
e(X, "setXAxisRangeData");
|
|
1912
|
-
function
|
|
1913
|
-
|
|
2017
|
+
function me(e) {
|
|
2018
|
+
V.xAxis = {
|
|
1914
2019
|
type: "band",
|
|
1915
|
-
title:
|
|
1916
|
-
categories: e.map((e) =>
|
|
1917
|
-
},
|
|
2020
|
+
title: V.xAxis.title,
|
|
2021
|
+
categories: e.map((e) => J(e.text))
|
|
2022
|
+
}, U = !0;
|
|
1918
2023
|
}
|
|
1919
|
-
e(
|
|
1920
|
-
function
|
|
1921
|
-
|
|
2024
|
+
e(me, "setXAxisBand");
|
|
2025
|
+
function he(e) {
|
|
2026
|
+
V.yAxis.title = J(e.text);
|
|
1922
2027
|
}
|
|
1923
|
-
e(
|
|
1924
|
-
function
|
|
1925
|
-
|
|
2028
|
+
e(he, "setYAxisTitle");
|
|
2029
|
+
function Z(e, t) {
|
|
2030
|
+
V.yAxis = {
|
|
1926
2031
|
type: "linear",
|
|
1927
|
-
title:
|
|
2032
|
+
title: V.yAxis.title,
|
|
1928
2033
|
min: e,
|
|
1929
2034
|
max: t
|
|
1930
|
-
},
|
|
2035
|
+
}, W = !0;
|
|
1931
2036
|
}
|
|
1932
|
-
e(
|
|
1933
|
-
function
|
|
1934
|
-
let t = Math.min(...e), n = Math.max(...e), r = D(
|
|
1935
|
-
|
|
2037
|
+
e(Z, "setYAxisRangeData");
|
|
2038
|
+
function ge(e) {
|
|
2039
|
+
let t = Math.min(...e), n = Math.max(...e), r = D(V.yAxis) ? V.yAxis.min : Infinity, i = D(V.yAxis) ? V.yAxis.max : -Infinity;
|
|
2040
|
+
V.yAxis = {
|
|
1936
2041
|
type: "linear",
|
|
1937
|
-
title:
|
|
2042
|
+
title: V.yAxis.title,
|
|
1938
2043
|
min: Math.min(r, t),
|
|
1939
2044
|
max: Math.max(i, n)
|
|
1940
2045
|
};
|
|
1941
2046
|
}
|
|
1942
|
-
e(
|
|
1943
|
-
function
|
|
2047
|
+
e(ge, "setYAxisRangeFromPlotData");
|
|
2048
|
+
function Q(e) {
|
|
1944
2049
|
let t = [];
|
|
1945
2050
|
if (e.length === 0) return t;
|
|
1946
|
-
if (!
|
|
1947
|
-
let t = D(
|
|
2051
|
+
if (!U) {
|
|
2052
|
+
let t = D(V.xAxis) ? V.xAxis.min : Infinity, n = D(V.xAxis) ? V.xAxis.max : -Infinity;
|
|
1948
2053
|
X(Math.min(t, 1), Math.max(n, e.length));
|
|
1949
2054
|
}
|
|
1950
|
-
if (E(
|
|
1951
|
-
let n =
|
|
2055
|
+
if (E(V.xAxis) && e.length > V.xAxis.categories.length && (e = e.slice(0, V.xAxis.categories.length)), W || ge(e), E(V.xAxis) && (t = V.xAxis.categories.map((t, n) => [t, e[n]])), D(V.xAxis)) {
|
|
2056
|
+
let n = V.xAxis.min, r = V.xAxis.max;
|
|
1952
2057
|
if (e.length === 1) t = [[`${n}`, e[0]]];
|
|
1953
2058
|
else {
|
|
1954
2059
|
let i = (r - n) / (e.length - 1);
|
|
@@ -1957,54 +2062,56 @@ function Z(e) {
|
|
|
1957
2062
|
}
|
|
1958
2063
|
return t;
|
|
1959
2064
|
}
|
|
1960
|
-
e(
|
|
1961
|
-
function
|
|
1962
|
-
return
|
|
2065
|
+
e(Q, "transformDataWithoutCategory");
|
|
2066
|
+
function $(e) {
|
|
2067
|
+
return H[e === 0 ? 0 : e % H.length];
|
|
1963
2068
|
}
|
|
1964
|
-
e(
|
|
1965
|
-
function
|
|
1966
|
-
let n = t.map((e) => e.value), r = t.map((e) => e.label ?
|
|
1967
|
-
|
|
2069
|
+
e($, "getPlotColorFromPalette");
|
|
2070
|
+
function _e(e, t) {
|
|
2071
|
+
let n = t.map((e) => e.value), r = t.map((e) => e.label ? J(e.label) : ""), i = Q(n), a = r.some((e) => e !== "");
|
|
2072
|
+
V.plots.push({
|
|
1968
2073
|
type: "line",
|
|
1969
|
-
|
|
2074
|
+
title: J(e.text),
|
|
2075
|
+
strokeFill: $(L),
|
|
1970
2076
|
strokeWidth: 2,
|
|
1971
2077
|
data: i,
|
|
1972
2078
|
...a ? { pointLabels: r } : {}
|
|
1973
|
-
}),
|
|
2079
|
+
}), L++;
|
|
1974
2080
|
}
|
|
1975
|
-
e(
|
|
1976
|
-
function
|
|
1977
|
-
let n =
|
|
1978
|
-
|
|
2081
|
+
e(_e, "setLineData");
|
|
2082
|
+
function ve(e, t) {
|
|
2083
|
+
let n = Q(t.map((e) => e.value));
|
|
2084
|
+
V.plots.push({
|
|
1979
2085
|
type: "bar",
|
|
1980
|
-
|
|
2086
|
+
title: J(e.text),
|
|
2087
|
+
fill: $(L),
|
|
1981
2088
|
data: n
|
|
1982
|
-
}),
|
|
1983
|
-
}
|
|
1984
|
-
e(pe, "setBarData");
|
|
1985
|
-
function me() {
|
|
1986
|
-
if (z.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
|
|
1987
|
-
return z.title = d(), se.build(L, z, R, I);
|
|
2089
|
+
}), L++;
|
|
1988
2090
|
}
|
|
1989
|
-
e(
|
|
1990
|
-
function
|
|
1991
|
-
|
|
2091
|
+
e(ve, "setBarData");
|
|
2092
|
+
function ye() {
|
|
2093
|
+
if (V.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
|
|
2094
|
+
return V.title = d(), de.build(z, V, B, R);
|
|
1992
2095
|
}
|
|
1993
|
-
e(
|
|
1994
|
-
function
|
|
1995
|
-
return
|
|
2096
|
+
e(ye, "getDrawableElem");
|
|
2097
|
+
function be() {
|
|
2098
|
+
return B;
|
|
1996
2099
|
}
|
|
1997
|
-
e(
|
|
1998
|
-
function
|
|
2100
|
+
e(be, "getChartThemeConfig");
|
|
2101
|
+
function xe() {
|
|
1999
2102
|
return z;
|
|
2000
2103
|
}
|
|
2001
|
-
e(
|
|
2002
|
-
|
|
2104
|
+
e(xe, "getChartConfig");
|
|
2105
|
+
function Se() {
|
|
2106
|
+
return V;
|
|
2107
|
+
}
|
|
2108
|
+
e(Se, "getXYChartData");
|
|
2109
|
+
var Ce = {
|
|
2003
2110
|
parser: w,
|
|
2004
2111
|
db: {
|
|
2005
|
-
getDrawableElem:
|
|
2112
|
+
getDrawableElem: ye,
|
|
2006
2113
|
clear: /* @__PURE__ */ e(function() {
|
|
2007
|
-
o(),
|
|
2114
|
+
o(), L = 0, z = K(), V = q(), B = G(), H = B.plotColorPalette.split(",").map((e) => e.trim()), U = !1, W = !1;
|
|
2008
2115
|
}, "clear"),
|
|
2009
2116
|
setAccTitle: a,
|
|
2010
2117
|
getAccTitle: f,
|
|
@@ -2012,18 +2119,18 @@ var _e = {
|
|
|
2012
2119
|
getDiagramTitle: d,
|
|
2013
2120
|
getAccDescription: u,
|
|
2014
2121
|
setAccDescription: r,
|
|
2015
|
-
setOrientation:
|
|
2016
|
-
setXAxisTitle:
|
|
2122
|
+
setOrientation: fe,
|
|
2123
|
+
setXAxisTitle: pe,
|
|
2017
2124
|
setXAxisRangeData: X,
|
|
2018
|
-
setXAxisBand:
|
|
2019
|
-
setYAxisTitle:
|
|
2020
|
-
setYAxisRangeData:
|
|
2021
|
-
setLineData:
|
|
2022
|
-
setBarData:
|
|
2023
|
-
setTmpSVGG:
|
|
2024
|
-
getChartThemeConfig:
|
|
2025
|
-
getChartConfig:
|
|
2026
|
-
getXYChartData:
|
|
2125
|
+
setXAxisBand: me,
|
|
2126
|
+
setYAxisTitle: he,
|
|
2127
|
+
setYAxisRangeData: Z,
|
|
2128
|
+
setLineData: _e,
|
|
2129
|
+
setBarData: ve,
|
|
2130
|
+
setTmpSVGG: Y,
|
|
2131
|
+
getChartThemeConfig: be,
|
|
2132
|
+
getChartConfig: xe,
|
|
2133
|
+
getXYChartData: Se
|
|
2027
2134
|
},
|
|
2028
2135
|
renderer: { draw: /* @__PURE__ */ e((n, r, i, a) => {
|
|
2029
2136
|
let o = a.db, s = o.getChartThemeConfig(), l = o.getChartConfig(), u = o.getXYChartData().plots[0].data.map((e) => e[1]);
|
|
@@ -2039,10 +2146,10 @@ var _e = {
|
|
|
2039
2146
|
return `translate(${e.x}, ${e.y}) rotate(${e.rotation || 0})`;
|
|
2040
2147
|
}
|
|
2041
2148
|
e(p, "getTextTransformation"), t.debug("Rendering xychart chart\n" + n);
|
|
2042
|
-
let m =
|
|
2149
|
+
let m = b(r), h = m.append("g").attr("class", "main"), g = h.append("rect").attr("width", l.width).attr("height", l.height).attr("class", "background");
|
|
2043
2150
|
c(m, l.height, l.width, !0), m.attr("viewBox", `0 0 ${l.width} ${l.height}`), g.attr("fill", s.backgroundColor), o.setTmpSVGG(m.append("g").attr("class", "mermaid-tmp-group"));
|
|
2044
2151
|
let _ = o.getDrawableElem(), v = {};
|
|
2045
|
-
function
|
|
2152
|
+
function y(e) {
|
|
2046
2153
|
let t = h, n = "";
|
|
2047
2154
|
for (let [r] of e.entries()) {
|
|
2048
2155
|
let i = h;
|
|
@@ -2050,10 +2157,10 @@ var _e = {
|
|
|
2050
2157
|
}
|
|
2051
2158
|
return t;
|
|
2052
2159
|
}
|
|
2053
|
-
e(
|
|
2160
|
+
e(y, "getGroup");
|
|
2054
2161
|
for (let t of _) {
|
|
2055
2162
|
if (t.data.length === 0) continue;
|
|
2056
|
-
let n =
|
|
2163
|
+
let n = y(t.groupTexts);
|
|
2057
2164
|
switch (t.type) {
|
|
2058
2165
|
case "rect":
|
|
2059
2166
|
if (n.selectAll("rect").data(t.data).enter().append("rect").attr("x", (e) => e.x).attr("y", (e) => e.y).attr("width", (e) => e.width).attr("height", (e) => e.height).attr("fill", (e) => e.fill).attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth), l.showDataLabel) {
|
|
@@ -2094,12 +2201,10 @@ var _e = {
|
|
|
2094
2201
|
case "text":
|
|
2095
2202
|
n.selectAll("text").data(t.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (e) => e.fill).attr("font-size", (e) => e.fontSize).attr("dominant-baseline", (e) => d(e.verticalPos)).attr("text-anchor", (e) => f(e.horizontalPos)).attr("transform", (e) => p(e)).text((e) => e.text);
|
|
2096
2203
|
break;
|
|
2097
|
-
case "path":
|
|
2098
|
-
n.selectAll("path").data(t.data).enter().append("path").attr("d", (e) => e.path).attr("fill", (e) => e.fill ? e.fill : "none").attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth);
|
|
2099
|
-
break;
|
|
2204
|
+
case "path": n.selectAll("path").data(t.data).enter().append("path").attr("d", (e) => e.path).attr("fill", (e) => e.fill ? e.fill : "none").attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth);
|
|
2100
2205
|
}
|
|
2101
2206
|
}
|
|
2102
2207
|
}, "draw") }
|
|
2103
2208
|
};
|
|
2104
2209
|
//#endregion
|
|
2105
|
-
export {
|
|
2210
|
+
export { Ce as diagram };
|