@pi-outpost/embed 0.15.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.
Files changed (344) hide show
  1. package/dist/PdfViewer-BEdoeHbS.cjs +1 -0
  2. package/dist/{PdfViewer-BHP5lV-o.js → PdfViewer-DvoTT6jM.js} +5 -5
  3. package/dist/{abnfDiagram-N423BO3Z-WMOVzCba.js → abnfDiagram-VCTEODGH-CYuCmqs8.js} +6 -6
  4. package/dist/abnfDiagram-VCTEODGH-SjZtzoAs.cjs +1 -0
  5. package/dist/{arc-BBnpgwVQ.js → arc-CtDF59mU.js} +8 -6
  6. package/dist/arc-Dh2Zrypi.cjs +1 -0
  7. package/dist/architecture-7GRP2DOG-BtgYGXkq.cjs +1 -0
  8. package/dist/architecture-7GRP2DOG-DBQ9eYgM.js +3 -0
  9. package/dist/{architectureDiagram-T3A2C74G-BH-F8FzB.js → architectureDiagram-5GKGNRK7-D2-hmLgN.js} +327 -318
  10. package/dist/architectureDiagram-5GKGNRK7-wrDPdf3y.cjs +36 -0
  11. package/dist/blockDiagram-OSKFZWR5-Boo8WJyt.cjs +129 -0
  12. package/dist/blockDiagram-OSKFZWR5-Bvi4xQOy.js +1922 -0
  13. package/dist/{browser-CynjNfkw.js → browser-BmmG9yeb.js} +40 -34
  14. package/dist/{browser-CAyUayTx.cjs → browser-CUQnQIhV.cjs} +5 -5
  15. package/dist/c-AHDGPWiJ.cjs +1 -0
  16. package/dist/{c-Cw4FsAeJ.js → c-BCMbpktW.js} +42 -31
  17. package/dist/c4Diagram-7LVT6UL2-BCrC0RQo.cjs +38 -0
  18. package/dist/{c4Diagram-5PPSVZJV-Cfnl6tZM.js → c4Diagram-7LVT6UL2-CU4tNaf1.js} +751 -703
  19. package/dist/{channel-Bq-0ENlK.js → channel-Cuipqk56.js} +1 -1
  20. package/dist/channel-DcrLLvcO.cjs +1 -0
  21. package/dist/{chunk-JQJVKLGR-CZorbEP3.js → chunk-3NF5O7KM-B-2znsHr.js} +155 -115
  22. package/dist/chunk-3NF5O7KM-B-DpUW2r.cjs +168 -0
  23. package/dist/chunk-4HAMMTFA-CtkrBT7X.cjs +62 -0
  24. package/dist/chunk-4HAMMTFA-dRm_HqMI.js +4188 -0
  25. package/dist/chunk-75Z2AOVW-DOXS9ORa.cjs +2 -0
  26. package/dist/{chunk-NSK5VX7P-DPxIxDdV.js → chunk-75Z2AOVW-Eg_bFxBJ.js} +60 -96
  27. package/dist/chunk-DU6HZSFF-3Hhp3Fo5.cjs +127 -0
  28. package/dist/{chunk-I66GZJ75-DexfhZwA.js → chunk-DU6HZSFF-CaHy-FdL.js} +527 -478
  29. package/dist/{chunk-2GRJ4B5K-DzaxUd3W.cjs → chunk-F27PBJKO-3UPgzIlN.cjs} +1 -1
  30. package/dist/{chunk-2GRJ4B5K-DXwE-yr5.js → chunk-F27PBJKO-BriqLvNp.js} +4 -4
  31. package/dist/{chunk-KEIR6QF5-BVnxrdHo.js → chunk-FOHPRMQF-BNNbqxGX.js} +424 -356
  32. package/dist/chunk-FOHPRMQF-tmTlwTeH.cjs +161 -0
  33. package/dist/chunk-GMAD6QVW-B6uvB_wz.cjs +72 -0
  34. package/dist/{chunk-WRU74C26-D4huAZcy.js → chunk-GMAD6QVW-DCCx2Rg1.js} +503 -267
  35. package/dist/chunk-GVQU2GXP-BRMv2gX3.js +37 -0
  36. package/dist/chunk-GVQU2GXP-iZT_vNLp.cjs +1 -0
  37. package/dist/{chunk-GF5L2VYU-BPBMCCz5.js → chunk-HLEWEB6X-DlG0X171.js} +16 -16
  38. package/dist/{chunk-GF5L2VYU-DgG-wovM.cjs → chunk-HLEWEB6X-aqFoPl02.cjs} +4 -4
  39. package/dist/chunk-L3NEJ4N5-DkoFQHrz.js +245 -0
  40. package/dist/chunk-L3NEJ4N5-vW3qRjIb.cjs +1 -0
  41. package/dist/{chunk-7Z6QIM7H-CIoK8R3m.js → chunk-OSK3NFVY-CxjvZYNR.js} +232 -150
  42. package/dist/chunk-OSK3NFVY-DU2FGOlI.cjs +10 -0
  43. package/dist/chunk-P2QGCYS3-DWeL9spl.cjs +1 -0
  44. package/dist/{chunk-W5SLKNZC-Djmw_p6f.js → chunk-P2QGCYS3-uCJfSNHC.js} +19 -19
  45. package/dist/{chunk-KBJHAD2P-CthZVYG5.cjs → chunk-POPQ4Y6H-BRQPB1-9.cjs} +1 -1
  46. package/dist/{chunk-KBJHAD2P-BlQyFndF.js → chunk-POPQ4Y6H-D2Z11lA3.js} +3 -3
  47. package/dist/{chunk-4I5QYGJK-LCSWSJfh.cjs → chunk-PWAF6VOD-CZZKCekP.cjs} +1 -1
  48. package/dist/{chunk-4I5QYGJK-JZmvuONC.js → chunk-PWAF6VOD-j4sFqhOF.js} +7 -9
  49. package/dist/{chunk-6Q2QTUOP-C5n08EA-.cjs → chunk-SVP7TREG-CTKSOFlx.cjs} +2 -2
  50. package/dist/{chunk-6Q2QTUOP-DvJxCxMM.js → chunk-SVP7TREG-CtJsmAIb.js} +4 -4
  51. package/dist/{chunk-XXDRQBXY-DsVp5qjg.js → chunk-XXDRQBXY-fOrVUHLI.js} +1 -1
  52. package/dist/{chunk-XXDRQBXY-gWcN0uCZ.cjs → chunk-XXDRQBXY-yMT3rT5Y.cjs} +1 -1
  53. package/dist/chunk-ZLD2IHE6-BZxKwfuv.cjs +231 -0
  54. package/dist/{chunk-5RXB4S5H-JthGygoA.js → chunk-ZLD2IHE6-tqumZV0E.js} +44 -48
  55. package/dist/classDiagram-CYGNFDIV-CQLOfBmz.cjs +1 -0
  56. package/dist/classDiagram-CYGNFDIV-DIu4rTyR.js +30 -0
  57. package/dist/classDiagram-v2-TLXNO2FR-BsYK4QnI.js +30 -0
  58. package/dist/classDiagram-v2-TLXNO2FR-CQLOfBmz.cjs +1 -0
  59. package/dist/{core-BO2hTFeF.js → core-B9pe29T7.js} +8 -7
  60. package/dist/core-BrupIPpc.cjs +3 -0
  61. package/dist/{cose-bilkent-JH36ORCC-BFo5zomD.js → cose-bilkent-JH36ORCC-1Ad4jvll.js} +65 -62
  62. package/dist/cose-bilkent-JH36ORCC-Cc2qvpLA.cjs +1 -0
  63. package/dist/{cpp-CeyO6lBG.js → cpp-CL2nTisp.js} +25 -14
  64. package/dist/cpp-DpAsh4uT.cjs +1 -0
  65. package/dist/{csharp-Ck6Fet_o.js → csharp-CK75iOSn.js} +37 -37
  66. package/dist/csharp-TOr_W-v9.cjs +1 -0
  67. package/dist/css-4wogsuks.cjs +1 -0
  68. package/dist/{css-ClSGJRju.js → css-DJr8nnnu.js} +6 -1
  69. package/dist/cynefin-OW5HDTMX-BmLJra-4.cjs +1 -0
  70. package/dist/cynefin-OW5HDTMX-CfYr_cVN.js +3 -0
  71. package/dist/{cynefinDiagram-MW4NZA55-CB4ZzMEN.js → cynefinDiagram-5FMLGOSQ-BSRTnQvp.js} +29 -23
  72. package/dist/cynefinDiagram-5FMLGOSQ-GvGZco52.cjs +62 -0
  73. package/dist/{cytoscape.esm-asYnbYTy.js → cytoscape.esm-Cq7KPj0t.js} +2480 -2480
  74. package/dist/cytoscape.esm-uHsEX1XI.cjs +321 -0
  75. package/dist/{dagre-BpqwxFKp.js → dagre-BMKbPnPh.js} +689 -456
  76. package/dist/dagre-EEW2OxRU.cjs +1 -0
  77. package/dist/dagre-OS7QT2EB-DFi6nnZc.cjs +4 -0
  78. package/dist/dagre-OS7QT2EB-DcpSzxsR.js +425 -0
  79. package/dist/{defaultLocale-up9-vqhM.js → defaultLocale-B4ncmkvI.js} +1 -4
  80. package/dist/defaultLocale-ybN1Vtvg.cjs +1 -0
  81. package/dist/diagram-S7CK7UJ4-BA67ZpiO.cjs +30 -0
  82. package/dist/{diagram-7IWD3JNH-Cschro8T.js → diagram-S7CK7UJ4-Cx2fQdp6.js} +39 -38
  83. package/dist/{diagram-UB23O5K3-D-yL2fvd.js → diagram-UQ7AKVKN-CvQH-Box.js} +12 -12
  84. package/dist/diagram-UQ7AKVKN-OteiyKD9.cjs +41 -0
  85. package/dist/{diagram-B4RE2ZJO-DKbKOwkP.cjs → diagram-VSXAHHWV-BjsZz1JJ.cjs} +1 -1
  86. package/dist/{diagram-B4RE2ZJO-B94mhDmV.js → diagram-VSXAHHWV-CCpCVOIq.js} +6 -6
  87. package/dist/diagram-VX7I27RA-Bx9fEhR0.cjs +24 -0
  88. package/dist/{diagram-Q27KOJAE-Cqn3IliP.js → diagram-VX7I27RA-HE5nQAXN.js} +64 -62
  89. package/dist/{diagram-LBJQPF4R-D0MEwBt6.js → diagram-Z3DM3KII-BEu4c4pP.js} +11 -11
  90. package/dist/diagram-Z3DM3KII-jy895UiZ.cjs +24 -0
  91. package/dist/{dist-D6LMt8nW.js → dist-Dtt9eY41.js} +1 -1
  92. package/dist/{dist-DNGlMOWd.cjs → dist-Dwv2VYAL.cjs} +1 -1
  93. package/dist/{ebnfDiagram-BXEA7PRR-B2HDWFYF.js → ebnfDiagram-PWID7BFC-B06rGL3A.js} +6 -6
  94. package/dist/ebnfDiagram-PWID7BFC-BQZKHpUr.cjs +1 -0
  95. package/dist/erDiagram-2YWLMYGG-CuEEIv1I.cjs +99 -0
  96. package/dist/{erDiagram-JOGREHBK-Badv_hu8.js → erDiagram-2YWLMYGG-IL4IhNXb.js} +1046 -807
  97. package/dist/eventmodeling-NTZA5JFV-D57pc07U.cjs +1 -0
  98. package/dist/eventmodeling-NTZA5JFV-DUbGOrrF.js +3 -0
  99. package/dist/flowDiagram-T62WH6J4-DdJo3Te1.js +16 -0
  100. package/dist/flowDiagram-T62WH6J4-YyzE7N5Z.cjs +1 -0
  101. package/dist/{ganttDiagram-PKOTCBZU-By0w7TmO.js → ganttDiagram-EL5Y4UJY-CIBhrOW6.js} +26 -36
  102. package/dist/ganttDiagram-EL5Y4UJY-PTWIufq8.cjs +292 -0
  103. package/dist/gitGraph-4MIJSDKK-CY4IuhXZ.js +3 -0
  104. package/dist/gitGraph-4MIJSDKK-D97vaDci.cjs +1 -0
  105. package/dist/{gitGraphDiagram-DS77QQ5N-B1uJYchG.js → gitGraphDiagram-WWUBYQGX-CjeedV4i.js} +16 -12
  106. package/dist/{gitGraphDiagram-DS77QQ5N-Fw8a66di.cjs → gitGraphDiagram-WWUBYQGX-D5yozoaq.cjs} +3 -3
  107. package/dist/{go-rg7jg1mu.js → go-B2E3I9E3.js} +4 -0
  108. package/dist/{go-D-pz-dmd.cjs → go-BDkypVKn.cjs} +1 -1
  109. package/dist/{graphlib-CkkG5MuS.cjs → graphlib-BaETKKSa.cjs} +1 -1
  110. package/dist/{graphlib-B0GbLif1.js → graphlib-CQa_B3rm.js} +5 -5
  111. package/dist/info-A6RAGUB7-Cx39sHYM.js +3 -0
  112. package/dist/info-A6RAGUB7-DT06-FB3.cjs +1 -0
  113. package/dist/{infoDiagram-6WML65LV-CkWm_KTB.js → infoDiagram-FKFFQAWI-BalzsRT4.js} +6 -6
  114. package/dist/infoDiagram-FKFFQAWI-NPtQF4vB.cjs +2 -0
  115. package/dist/init-BJdqMO10.cjs +1 -0
  116. package/dist/{init-CirqLVcp.js → init-CuXVI8k2.js} +1 -3
  117. package/dist/{ishikawaDiagram-WSZJBQD7-DTeFqC8L.js → ishikawaDiagram-5VMMS53U-BC2vrJSo.js} +14 -14
  118. package/dist/{ishikawaDiagram-WSZJBQD7-CQWHhozU.cjs → ishikawaDiagram-5VMMS53U-DN23jmFw.cjs} +3 -3
  119. package/dist/java-DFBMvIUR.cjs +1 -0
  120. package/dist/{java-HguKEfA2.js → java-T8Nr25pJ.js} +27 -22
  121. package/dist/{javascript-C8NCH8DE.js → javascript-CIP6I0eT.js} +6 -4
  122. package/dist/javascript-Gn0piXHk.cjs +1 -0
  123. package/dist/{journeyDiagram-NVQOT4AX-Cg6C3dFy.js → journeyDiagram-EYS64GPL-CLMBONXO.js} +14 -14
  124. package/dist/{journeyDiagram-NVQOT4AX-DLomv_vN.cjs → journeyDiagram-EYS64GPL-Co9rp-Q1.cjs} +3 -3
  125. package/dist/json-DOqjN5nI.js +42 -0
  126. package/dist/json-LMrXTXZM.cjs +1 -0
  127. package/dist/{kanban-definition-27J2QSJJ-B9Fog3W7.cjs → kanban-definition-UXKFOSKX-DzKPVjAq.cjs} +5 -5
  128. package/dist/{kanban-definition-27J2QSJJ-Bb7nb0gX.js → kanban-definition-UXKFOSKX-SNTHZo65.js} +31 -31
  129. package/dist/katex-CEF6MvLx.cjs +257 -0
  130. package/dist/katex-ohtLbxXc.js +21977 -0
  131. package/dist/{line-yqcJYv29.js → line-4_dF7rOW.js} +2 -2
  132. package/dist/{line-pOZ7Sdj7.cjs → line-D6gR53Af.cjs} +1 -1
  133. package/dist/{linear-CVhyaVzf.js → linear-C1gZJMVz.js} +8 -9
  134. package/dist/linear-Nt9BuHfn.cjs +1 -0
  135. package/dist/{markdown-CzgRofaE.js → markdown-BW-hB0s4.js} +2 -5
  136. package/dist/markdown-CTkHoGys.cjs +1 -0
  137. package/dist/{mermaid-parser.core-Cgsz0CdK.cjs → mermaid-parser.core-CBiDgMLi.cjs} +2 -2
  138. package/dist/{mermaid-parser.core-B8DQcCaz.js → mermaid-parser.core-DLNlSmfj.js} +31 -31
  139. package/dist/mermaid.core-B3QcBB1O.cjs +43 -0
  140. package/dist/mermaid.core-BIqYA7q2.js +3012 -0
  141. package/dist/{mindmap-definition-FAOFIHXS-9wa1P9NT.cjs → mindmap-definition-THT77NOG-Bo3D8RRT.cjs} +4 -4
  142. package/dist/{mindmap-definition-FAOFIHXS-DFG0Zs_1.js → mindmap-definition-THT77NOG-BtDuvAQ_.js} +27 -29
  143. package/dist/{ordinal-D0iNZ43g.cjs → ordinal-Bm_chml2.cjs} +1 -1
  144. package/dist/{ordinal-C1oQzsBn.js → ordinal-D3SPD7Kk.js} +2 -2
  145. package/dist/packet-AYTQ26CC-BGX2McoE.cjs +1 -0
  146. package/dist/packet-AYTQ26CC-IgkU2VYK.js +3 -0
  147. package/dist/path-DIS6ck99.cjs +1 -0
  148. package/dist/{path-mKa7UESy.js → path-PGqhG0Rz.js} +10 -11
  149. package/dist/{pdf-DyDm1M1B.js → pdf-B6zVkETi.js} +182 -220
  150. package/dist/pdf-cYqATYeW.cjs +54 -0
  151. package/dist/pegDiagram-XKGWAZYB-Cx-wZf4B.cjs +1 -0
  152. package/dist/{pegDiagram-VL7TDLO6-XOjprD-j.js → pegDiagram-XKGWAZYB-Ucd8o52_.js} +6 -6
  153. package/dist/{php-C9FOMGEA.js → php-Cn7gPoxt.js} +6 -0
  154. package/dist/{php-j6EhDZDE.cjs → php-DQmdBizx.cjs} +1 -1
  155. package/dist/pi-outpost-embed.cjs +47 -47
  156. package/dist/pi-outpost-embed.js +3750 -3717
  157. package/dist/pie-WAS4IAKB-CEyPj3UJ.cjs +1 -0
  158. package/dist/pie-WAS4IAKB-odE0A7fM.js +3 -0
  159. package/dist/pieDiagram-E7YTZNPT-BC-pW4cK.cjs +39 -0
  160. package/dist/{pieDiagram-7S7Q4E2Y-Cwe7fXgJ.js → pieDiagram-E7YTZNPT-DSx5wFMY.js} +20 -22
  161. package/dist/{python-DKAazMIE.js → python-BUfdXZqP.js} +6 -6
  162. package/dist/python-CrsffQw-.cjs +1 -0
  163. package/dist/{quadrantDiagram-CIZ2JOQS-CbaMHmYB.js → quadrantDiagram-AXDQQJYC-D8Y50xmh.js} +11 -11
  164. package/dist/{quadrantDiagram-CIZ2JOQS-CDfrU0dm.cjs → quadrantDiagram-AXDQQJYC-zPfqM9Q4.cjs} +2 -2
  165. package/dist/radar-RG4KPBEZ-ClYJNseM.cjs +1 -0
  166. package/dist/radar-RG4KPBEZ-DqbNqlJH.js +3 -0
  167. package/dist/railroad-74A4TZTK-Dzt4afqg.js +3 -0
  168. package/dist/railroad-74A4TZTK-hSKcr2y6.cjs +1 -0
  169. package/dist/railroad-abnf-HS5TGJTU-gq2RybTO.js +3 -0
  170. package/dist/railroad-abnf-HS5TGJTU-irEXz0eI.cjs +1 -0
  171. package/dist/railroad-ebnf-LZEXJU2U-CG19A1Xj.cjs +1 -0
  172. package/dist/railroad-ebnf-LZEXJU2U-D-pNpFrj.js +3 -0
  173. package/dist/railroad-peg-WCYAUIDC-BLdK3QCV.cjs +1 -0
  174. package/dist/railroad-peg-WCYAUIDC-Bo7wfe--.js +3 -0
  175. package/dist/railroadDiagram-O6MQD6OU-3JsgWyLe.cjs +1 -0
  176. package/dist/{railroadDiagram-AXF67PYL-CVXAv-Uu.js → railroadDiagram-O6MQD6OU-BTg2KtZO.js} +6 -6
  177. package/dist/{requirementDiagram-LRYGKXZP-Bzik4kgS.js → requirementDiagram-IS5BZ75X-C1OrS7DV.js} +25 -24
  178. package/dist/{requirementDiagram-LRYGKXZP-BGlGCftH.cjs → requirementDiagram-IS5BZ75X-D1BMLxZg.cjs} +4 -4
  179. package/dist/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
  180. package/dist/{rolldown-runtime-mLOUI7ql.cjs → rolldown-runtime-DF3sbh8G.cjs} +1 -1
  181. package/dist/{rough.esm-r0QOSzHM.cjs → rough.esm-ChRLLRha.cjs} +1 -1
  182. package/dist/{rough.esm-C5XyeDCN.js → rough.esm-D2JJJ0Ot.js} +60 -51
  183. package/dist/{ruby-ClR4zp-1.cjs → ruby-B1inj-Q8.cjs} +1 -1
  184. package/dist/{ruby-BAUeZQKZ.js → ruby-DYVKXPXk.js} +1 -1
  185. package/dist/{rust-DiTjMjP5.js → rust-BihXqTNi.js} +38 -25
  186. package/dist/rust-D39kF6re.cjs +1 -0
  187. package/dist/{sankeyDiagram-W5VNT64P-OeLUMuT6.cjs → sankeyDiagram-P5KCCOFB-D5BHxcxB.cjs} +2 -2
  188. package/dist/{sankeyDiagram-W5VNT64P-_8xZpo45.js → sankeyDiagram-P5KCCOFB-DTnkE4oO.js} +17 -15
  189. package/dist/{scss-CckAvQOx.js → scss-CzfrZ5cc.js} +6 -1
  190. package/dist/scss-t-vKjRr4.cjs +1 -0
  191. package/dist/{sequenceDiagram-SI44F4Z6-X4mzY21C.js → sequenceDiagram-WJ2MYXX4-Ba-z2rSx.js} +36 -48
  192. package/dist/sequenceDiagram-WJ2MYXX4-DlVJIIIl.cjs +162 -0
  193. package/dist/{sizeCapture-X5ZJPWSS-DKbHZNyz.js → sizeCapture-INFHLROL-B5Lg3qGn.js} +1 -1
  194. package/dist/{src-DJ4x3y2O.js → src-BMMAFeC3.js} +288 -291
  195. package/dist/src-D9o9TOtH.cjs +1 -0
  196. package/dist/{stateDiagram-OKZ733FA-CMM1orC_.js → stateDiagram-XQSTLZYL-BtcUS_dg.js} +21 -21
  197. package/dist/stateDiagram-XQSTLZYL-mSOJx_Wv.cjs +1 -0
  198. package/dist/stateDiagram-v2-IH3M54BS-DAa6SuH4.cjs +1 -0
  199. package/dist/stateDiagram-v2-IH3M54BS-E_Rhduzm.js +30 -0
  200. package/dist/swimlanes-V6O3JKXN-BooYLGtP.cjs +1 -0
  201. package/dist/{swimlanes-SLNWSIFB-C7LLK1V2.js → swimlanes-V6O3JKXN-xxlpXv1f.js} +1022 -1109
  202. package/dist/swimlanesDiagram-JKAHXJPX-BaMCBEUQ.cjs +8 -0
  203. package/dist/swimlanesDiagram-JKAHXJPX-DyQwD-QO.js +30 -0
  204. package/dist/timeline-definition-24CTP7MA-D6sSmprF.cjs +120 -0
  205. package/dist/{timeline-definition-Z64GVDOM-Cgc-2OmU.js → timeline-definition-24CTP7MA-Dr8ouzBO.js} +19 -19
  206. package/dist/treeView-Q6P3EWNA-BmkQxkVU.cjs +1 -0
  207. package/dist/treeView-Q6P3EWNA-CPEEGmNv.js +3 -0
  208. package/dist/treemap-WGGIJYW6-CGULpntJ.js +3 -0
  209. package/dist/treemap-WGGIJYW6-Dmi9HAR8.cjs +1 -0
  210. package/dist/typescript-BarIi8q9.cjs +1 -0
  211. package/dist/{typescript-mdYq8uqf.js → typescript-C93MG6Zk.js} +26 -24
  212. package/dist/vennDiagram-4TSXK5OY-D5MMYyff.cjs +34 -0
  213. package/dist/{vennDiagram-T6HMQDX7-BWj1BhMh.js → vennDiagram-4TSXK5OY-i6B1rhUA.js} +15 -15
  214. package/dist/wardley-WFR3VGLG-9zHZLKh9.js +3 -0
  215. package/dist/wardley-WFR3VGLG-B6YvLPJA.cjs +1 -0
  216. package/dist/{wardleyDiagram-T6FBY63Y-d_t4oVLE.js → wardleyDiagram-VM6X3IG4-1SFyFcXg.js} +46 -46
  217. package/dist/{wardleyDiagram-T6FBY63Y-OomvVIFj.cjs → wardleyDiagram-VM6X3IG4-DzZNzmB8.cjs} +36 -36
  218. package/dist/{workspacePath-BScUv3M_.js → workspacePath-CfDl0V4n.js} +1 -1
  219. package/dist/{workspacePath-kqTwbSP1.cjs → workspacePath-EgAFT36l.cjs} +1 -1
  220. package/dist/{xml-BamqaQOf.cjs → xml-B0vjUBag.cjs} +1 -1
  221. package/dist/{xml-DVYfB8uY.js → xml-GxASmsT7.js} +2 -6
  222. package/dist/{xychartDiagram-ELKLHX3M-BOSOdubI.cjs → xychartDiagram-S5SC5T6Z-BOsjfYJh.cjs} +4 -4
  223. package/dist/{xychartDiagram-ELKLHX3M-Ce-ai3a8.js → xychartDiagram-S5SC5T6Z-D6QDBBGJ.js} +263 -158
  224. package/dist/{yaml-_1BORZTQ.js → yaml-CHhF1kKQ.js} +25 -25
  225. package/dist/yaml-DZS9gzaB.cjs +1 -0
  226. package/package.json +2 -2
  227. package/dist/PdfViewer-BBmVq73v.cjs +0 -1
  228. package/dist/abnfDiagram-N423BO3Z-DOZfbvMH.cjs +0 -1
  229. package/dist/arc-DcUn9_NX.cjs +0 -1
  230. package/dist/architecture-TIHT7OUA-D-35jO9Y.cjs +0 -1
  231. package/dist/architecture-TIHT7OUA-DDyMqjR1.js +0 -3
  232. package/dist/architectureDiagram-T3A2C74G-RJUsi-Sx.cjs +0 -36
  233. package/dist/blockDiagram-VBNYF7ZC-Bz8oqXJQ.cjs +0 -132
  234. package/dist/blockDiagram-VBNYF7ZC-DYMmF9bV.js +0 -3160
  235. package/dist/c-4QgYfi8K.cjs +0 -1
  236. package/dist/c4Diagram-5PPSVZJV-DM6x-BYG.cjs +0 -10
  237. package/dist/channel-DoxF0tZj.cjs +0 -1
  238. package/dist/chunk-3NCLNEKW-CO28EZBG.cjs +0 -1
  239. package/dist/chunk-3NCLNEKW-dTH67Ne_.js +0 -10
  240. package/dist/chunk-5RXB4S5H-B5b3tdRl.cjs +0 -231
  241. package/dist/chunk-7BUUIJ7U-BFUeQBoS.js +0 -82
  242. package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +0 -1
  243. package/dist/chunk-7Z6QIM7H-Ctljl7Vq.cjs +0 -10
  244. package/dist/chunk-I66GZJ75-CrpH-Rmq.cjs +0 -127
  245. package/dist/chunk-J7OUQ5F2-DhMpZbAr.js +0 -57
  246. package/dist/chunk-J7OUQ5F2-b-MfW4O9.cjs +0 -1
  247. package/dist/chunk-JQJVKLGR-2AQwaWbm.cjs +0 -156
  248. package/dist/chunk-KEIR6QF5-Cy_QBNG6.cjs +0 -161
  249. package/dist/chunk-NSK5VX7P-D5CepZHI.cjs +0 -2
  250. package/dist/chunk-QR6OTTB3-CQ_jjYb-.js +0 -3736
  251. package/dist/chunk-QR6OTTB3-DSg3ZWNW.cjs +0 -62
  252. package/dist/chunk-RYQCIY6F-27FDzaaE.cjs +0 -1
  253. package/dist/chunk-RYQCIY6F-C-YC3QS_.js +0 -239
  254. package/dist/chunk-UBXNYLIW-BBncokef.js +0 -32
  255. package/dist/chunk-UBXNYLIW-DlNyCWjj.cjs +0 -1
  256. package/dist/chunk-W5SLKNZC-bHBkM2CL.cjs +0 -1
  257. package/dist/chunk-WRU74C26-9KZxhHnn.cjs +0 -70
  258. package/dist/chunk-ZIRB5QZD-BU6XQUGC.cjs +0 -32
  259. package/dist/chunk-ZIRB5QZD-Cj-y77rH.js +0 -1146
  260. package/dist/classDiagram-JCYQIIEL-DeHc-x8i.cjs +0 -1
  261. package/dist/classDiagram-JCYQIIEL-DlHKjVPc.js +0 -30
  262. package/dist/classDiagram-v2-OCEON4UE-DeHc-x8i.cjs +0 -1
  263. package/dist/classDiagram-v2-OCEON4UE-DlhHN57j.js +0 -30
  264. package/dist/core-2nR1zkKb.cjs +0 -3
  265. package/dist/cose-bilkent-JH36ORCC-AyWV1dUo.cjs +0 -1
  266. package/dist/cpp-BUtp-HE2.cjs +0 -1
  267. package/dist/csharp-BJu4kEpt.cjs +0 -1
  268. package/dist/css-DeFr0lev.cjs +0 -1
  269. package/dist/cynefin-VYW2F7L2-DHhUPDgc.cjs +0 -1
  270. package/dist/cynefin-VYW2F7L2-DwiVqvhg.js +0 -3
  271. package/dist/cynefinDiagram-MW4NZA55-By102s5I.cjs +0 -62
  272. package/dist/cytoscape.esm-ByjvpCPI.cjs +0 -321
  273. package/dist/dagre-BBlCxSvR.cjs +0 -1
  274. package/dist/dagre-VZM6K2ZE-5zrH2LqV.js +0 -328
  275. package/dist/dagre-VZM6K2ZE-CNe7-jhy.cjs +0 -4
  276. package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
  277. package/dist/diagram-7IWD3JNH-CSzLXhRw.cjs +0 -30
  278. package/dist/diagram-LBJQPF4R-DgD0a56I.cjs +0 -24
  279. package/dist/diagram-Q27KOJAE-DNWfiaD5.cjs +0 -24
  280. package/dist/diagram-UB23O5K3-DguyM6v_.cjs +0 -41
  281. package/dist/ebnfDiagram-BXEA7PRR-DuJrkFn-.cjs +0 -1
  282. package/dist/erDiagram-JOGREHBK-DtyaQROs.cjs +0 -85
  283. package/dist/eventmodeling-45OFAUF4-COTtdYDJ.js +0 -3
  284. package/dist/eventmodeling-45OFAUF4-CPEyr9kU.cjs +0 -1
  285. package/dist/flowDiagram-UKHOOZJN-C7t5VpYH.js +0 -17
  286. package/dist/flowDiagram-UKHOOZJN-CdkElxh8.cjs +0 -1
  287. package/dist/ganttDiagram-PKOTCBZU-CFgz4r57.cjs +0 -292
  288. package/dist/gitGraph-TEB2WS4Q-C3qBT0GM.js +0 -3
  289. package/dist/gitGraph-TEB2WS4Q-a8KsoPmR.cjs +0 -1
  290. package/dist/info-DKCQHKI2-BEYhR6ip.cjs +0 -1
  291. package/dist/info-DKCQHKI2-BPF6-pOb.js +0 -3
  292. package/dist/infoDiagram-6WML65LV-CB6z_iKE.cjs +0 -2
  293. package/dist/init-07zIhv_j.cjs +0 -1
  294. package/dist/java-CUN_usaq.cjs +0 -1
  295. package/dist/javascript-UZXSyUuu.cjs +0 -1
  296. package/dist/json-Cp01TR_B.js +0 -36
  297. package/dist/json-usH_MUzR.cjs +0 -1
  298. package/dist/linear-Cl2-QuPP.cjs +0 -1
  299. package/dist/map-CwPlMWPw.cjs +0 -1
  300. package/dist/map-DU12fF3s.js +0 -241
  301. package/dist/markdown-qeo95R0i.cjs +0 -1
  302. package/dist/mermaid.core-BIq27e0A.js +0 -1068
  303. package/dist/mermaid.core-DpsSj3iy.cjs +0 -10
  304. package/dist/packet-7NZHBO7P-DqvBYJTR.js +0 -3
  305. package/dist/packet-7NZHBO7P-Dz0O2bgq.cjs +0 -1
  306. package/dist/path-Kklx0M1v.cjs +0 -1
  307. package/dist/pdf-aU0TN69t.cjs +0 -54
  308. package/dist/pegDiagram-VL7TDLO6-B4FslsmM.cjs +0 -1
  309. package/dist/pie-RZYD4A2V-Hi9UdoE3.cjs +0 -1
  310. package/dist/pie-RZYD4A2V-qnruo9sH.js +0 -3
  311. package/dist/pieDiagram-7S7Q4E2Y-CNzUVS2d.cjs +0 -39
  312. package/dist/python-BYJzTRkK.cjs +0 -1
  313. package/dist/radar-I7S5WNFK-Dqdssa34.cjs +0 -1
  314. package/dist/radar-I7S5WNFK-np_pJCO-.js +0 -3
  315. package/dist/railroad-3IZDKUUU-NILjDQft.cjs +0 -1
  316. package/dist/railroad-3IZDKUUU-sjKBeXxB.js +0 -3
  317. package/dist/railroad-abnf-AHOZXSZD-BojH9sxV.cjs +0 -1
  318. package/dist/railroad-abnf-AHOZXSZD-x5cC_e_R.js +0 -3
  319. package/dist/railroad-ebnf-EBAXGLYW-2mlWpz38.js +0 -3
  320. package/dist/railroad-ebnf-EBAXGLYW-BKCSut1M.cjs +0 -1
  321. package/dist/railroad-peg-LSFZ7HO6-CsH-gnsp.cjs +0 -1
  322. package/dist/railroad-peg-LSFZ7HO6-D5vguo03.js +0 -3
  323. package/dist/railroadDiagram-AXF67PYL-EO1cBHEj.cjs +0 -1
  324. package/dist/rust-ghVvEWhm.cjs +0 -1
  325. package/dist/scss-CKxh5HRg.cjs +0 -1
  326. package/dist/sequenceDiagram-SI44F4Z6-CuaCFBtR.cjs +0 -162
  327. package/dist/src-CR--T_NF.cjs +0 -1
  328. package/dist/stateDiagram-OKZ733FA-Dq6hI_pq.cjs +0 -1
  329. package/dist/stateDiagram-v2-UEYNNEHI-BmWUstzl.js +0 -30
  330. package/dist/stateDiagram-v2-UEYNNEHI-DZULVhS9.cjs +0 -1
  331. package/dist/swimlanes-SLNWSIFB-BMS6R0BK.cjs +0 -1
  332. package/dist/swimlanesDiagram-ULZ7WXOC-DxHKX_pj.cjs +0 -8
  333. package/dist/swimlanesDiagram-ULZ7WXOC-uXMuqsao.js +0 -31
  334. package/dist/timeline-definition-Z64GVDOM-PPJqDdOy.cjs +0 -120
  335. package/dist/treeView-QDETBFTQ-Cpg_YeQ4.cjs +0 -1
  336. package/dist/treeView-QDETBFTQ-DdpEhzZX.js +0 -3
  337. package/dist/treemap-6X3UGDF4-BeCuRpkA.js +0 -3
  338. package/dist/treemap-6X3UGDF4-CFAmnKaf.cjs +0 -1
  339. package/dist/typescript-clWeqIBY.cjs +0 -1
  340. package/dist/vennDiagram-T6HMQDX7-DqY7YgNx.cjs +0 -34
  341. package/dist/wardley-OPB4EBWU-B0jnKd8x.cjs +0 -1
  342. package/dist/wardley-OPB4EBWU-DlIk2K0J.js +0 -3
  343. package/dist/yaml-bAgWofBg.cjs +0 -1
  344. /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-DJ4x3y2O.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-I66GZJ75-DexfhZwA.js";
4
- import { t as m } from "./linear-CVhyaVzf.js";
5
- import { t as h } from "./ordinal-C1oQzsBn.js";
6
- import { t as g } from "./init-CirqLVcp.js";
7
- import { i as _ } from "./chunk-NSK5VX7P-DPxIxDdV.js";
8
- import { t as v } from "./line-yqcJYv29.js";
9
- import { t as y } from "./chunk-3NCLNEKW-dTH67Ne_.js";
10
- import "./chunk-4I5QYGJK-JZmvuONC.js";
11
- import { t as b } from "./chunk-WRU74C26-D4huAZcy.js";
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-ELKLHX3M.mjs
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" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
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
- } else return !1;
878
- } else if (!this.options.flex) break;
875
+ }
876
+ return !1;
877
+ }
878
+ if (!this.options.flex) break;
879
879
  }
880
- return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
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 = b(r, 1, i), a = e ? e.width : i.length * t, o = e ? e.height : t;
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 ne(e, t, n, r) {
1620
+ function P(e, t, n, r) {
1621
1621
  return new te(new O(r), e, t, n);
1622
1622
  }
1623
- e(ne, "getChartTitleComponent");
1624
- var re = class {
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
- }, ie = class {
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
- }, ae = class {
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 re(n, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
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 P(e, t, n) {
1759
- return new ae(e, t, n);
1844
+ function le(e, t, n) {
1845
+ return new ce(e, t, n);
1760
1846
  }
1761
- e(P, "getPlotComponent");
1762
- var oe = class {
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: ne(e, t, n, r),
1766
- plot: P(e, t, n),
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 = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), a = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), o = this.componentStore.plot.calculateSpace({
1786
- width: i,
1787
- height: a
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 -= o.width, t -= o.height, o = this.componentStore.title.calculateSpace({
1879
+ e -= s.width, t -= s.height, s = this.componentStore.title.calculateSpace({
1790
1880
  width: this.chartConfig.width,
1791
1881
  height: t
1792
- }), r = o.height, t -= o.height, this.componentStore.xAxis.setAxisPosition("bottom"), o = this.componentStore.xAxis.calculateSpace({
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 -= o.height, this.componentStore.yAxis.setAxisPosition("left"), o = this.componentStore.yAxis.calculateSpace({
1885
+ }), t -= s.height, this.componentStore.yAxis.setAxisPosition("left"), s = this.componentStore.yAxis.calculateSpace({
1796
1886
  width: e,
1797
1887
  height: t
1798
- }), n = o.width, e -= o.width, e > 0 && (i += e, e = 0), t > 0 && (a += t, t = 0), this.componentStore.plot.calculateSpace({
1799
- width: i,
1800
- height: a
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.xAxis.setRange([n, n + i]), this.componentStore.xAxis.setBoundingBoxXY({
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 + a
1807
- }), this.componentStore.yAxis.setRange([r, r + a]), this.componentStore.yAxis.setBoundingBoxXY({
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 = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), o = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), s = this.componentStore.plot.calculateSpace({
1814
- width: a,
1815
- height: o
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 -= s.width, t -= s.height, s = this.componentStore.title.calculateSpace({
1916
+ e -= c.width, t -= c.height, c = this.componentStore.title.calculateSpace({
1818
1917
  width: this.chartConfig.width,
1819
1918
  height: t
1820
- }), n = s.height, t -= s.height, this.componentStore.xAxis.setAxisPosition("left"), s = this.componentStore.xAxis.calculateSpace({
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 -= s.width, r = s.width, this.componentStore.yAxis.setAxisPosition("top"), s = this.componentStore.yAxis.calculateSpace({
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 -= s.height, i = n + s.height, e > 0 && (a += e, e = 0), t > 0 && (o += t, t = 0), this.componentStore.plot.calculateSpace({
1827
- width: a,
1828
- height: o
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.yAxis.setRange([r, r + a]), this.componentStore.yAxis.setBoundingBoxXY({
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 + o]), this.componentStore.xAxis.setBoundingBoxXY({
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
- }, se = class {
1955
+ }, de = class {
1851
1956
  static {
1852
1957
  e(this, "XYChartBuilder");
1853
1958
  }
1854
1959
  static build(e, t, n, r) {
1855
- return new oe(e, t, n, r).getDrawableElement();
1960
+ return new ue(e, t, n, r).getDrawableElement();
1856
1961
  }
1857
- }, F = 0, I, L = W(), R = U(), z = G(), B = R.plotColorPalette.split(",").map((e) => e.trim()), V = !1, H = !1;
1858
- function U() {
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(U, "getChartDefaultThemeConfig");
1863
- function W() {
1967
+ e(G, "getChartDefaultThemeConfig");
1968
+ function K() {
1864
1969
  let e = s();
1865
1970
  return _(l.xyChart, e.xyChart);
1866
1971
  }
1867
- e(W, "getChartDefaultConfig");
1868
- function G() {
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(G, "getChartDefaultData");
1886
- function K(e) {
1990
+ e(q, "getChartDefaultData");
1991
+ function J(e) {
1887
1992
  let t = s();
1888
1993
  return p(e.trim(), t);
1889
1994
  }
1890
- e(K, "textSanitizer");
1891
- function q(e) {
1892
- I = e;
1995
+ e(J, "textSanitizer");
1996
+ function Y(e) {
1997
+ R = e;
1893
1998
  }
1894
- e(q, "setTmpSVGG");
1895
- function J(e) {
1896
- e === "horizontal" ? L.chartOrientation = "horizontal" : L.chartOrientation = "vertical";
1999
+ e(Y, "setTmpSVGG");
2000
+ function fe(e) {
2001
+ e === "horizontal" ? z.chartOrientation = "horizontal" : z.chartOrientation = "vertical";
1897
2002
  }
1898
- e(J, "setOrientation");
1899
- function Y(e) {
1900
- z.xAxis.title = K(e.text);
2003
+ e(fe, "setOrientation");
2004
+ function pe(e) {
2005
+ V.xAxis.title = J(e.text);
1901
2006
  }
1902
- e(Y, "setXAxisTitle");
2007
+ e(pe, "setXAxisTitle");
1903
2008
  function X(e, t) {
1904
- z.xAxis = {
2009
+ V.xAxis = {
1905
2010
  type: "linear",
1906
- title: z.xAxis.title,
2011
+ title: V.xAxis.title,
1907
2012
  min: e,
1908
2013
  max: t
1909
- }, V = !0;
2014
+ }, U = !0;
1910
2015
  }
1911
2016
  e(X, "setXAxisRangeData");
1912
- function ce(e) {
1913
- z.xAxis = {
2017
+ function me(e) {
2018
+ V.xAxis = {
1914
2019
  type: "band",
1915
- title: z.xAxis.title,
1916
- categories: e.map((e) => K(e.text))
1917
- }, V = !0;
2020
+ title: V.xAxis.title,
2021
+ categories: e.map((e) => J(e.text))
2022
+ }, U = !0;
1918
2023
  }
1919
- e(ce, "setXAxisBand");
1920
- function le(e) {
1921
- z.yAxis.title = K(e.text);
2024
+ e(me, "setXAxisBand");
2025
+ function he(e) {
2026
+ V.yAxis.title = J(e.text);
1922
2027
  }
1923
- e(le, "setYAxisTitle");
1924
- function ue(e, t) {
1925
- z.yAxis = {
2028
+ e(he, "setYAxisTitle");
2029
+ function Z(e, t) {
2030
+ V.yAxis = {
1926
2031
  type: "linear",
1927
- title: z.yAxis.title,
2032
+ title: V.yAxis.title,
1928
2033
  min: e,
1929
2034
  max: t
1930
- }, H = !0;
2035
+ }, W = !0;
1931
2036
  }
1932
- e(ue, "setYAxisRangeData");
1933
- function de(e) {
1934
- let t = Math.min(...e), n = Math.max(...e), r = D(z.yAxis) ? z.yAxis.min : Infinity, i = D(z.yAxis) ? z.yAxis.max : -Infinity;
1935
- z.yAxis = {
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: z.yAxis.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(de, "setYAxisRangeFromPlotData");
1943
- function Z(e) {
2047
+ e(ge, "setYAxisRangeFromPlotData");
2048
+ function Q(e) {
1944
2049
  let t = [];
1945
2050
  if (e.length === 0) return t;
1946
- if (!V) {
1947
- let t = D(z.xAxis) ? z.xAxis.min : Infinity, n = D(z.xAxis) ? z.xAxis.max : -Infinity;
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(z.xAxis) && e.length > z.xAxis.categories.length && (e = e.slice(0, z.xAxis.categories.length)), H || de(e), E(z.xAxis) && (t = z.xAxis.categories.map((t, n) => [t, e[n]])), D(z.xAxis)) {
1951
- let n = z.xAxis.min, r = z.xAxis.max;
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(Z, "transformDataWithoutCategory");
1961
- function Q(e) {
1962
- return B[e === 0 ? 0 : e % B.length];
2065
+ e(Q, "transformDataWithoutCategory");
2066
+ function $(e) {
2067
+ return H[e === 0 ? 0 : e % H.length];
1963
2068
  }
1964
- e(Q, "getPlotColorFromPalette");
1965
- function fe(e, t) {
1966
- let n = t.map((e) => e.value), r = t.map((e) => e.label ? K(e.label) : ""), i = Z(n), a = r.some((e) => e !== "");
1967
- z.plots.push({
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
- strokeFill: Q(F),
2074
+ title: J(e.text),
2075
+ strokeFill: $(L),
1970
2076
  strokeWidth: 2,
1971
2077
  data: i,
1972
2078
  ...a ? { pointLabels: r } : {}
1973
- }), F++;
2079
+ }), L++;
1974
2080
  }
1975
- e(fe, "setLineData");
1976
- function pe(e, t) {
1977
- let n = Z(t.map((e) => e.value));
1978
- z.plots.push({
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
- fill: Q(F),
2086
+ title: J(e.text),
2087
+ fill: $(L),
1981
2088
  data: n
1982
- }), F++;
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(me, "getDrawableElem");
1990
- function he() {
1991
- return R;
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(he, "getChartThemeConfig");
1994
- function ge() {
1995
- return L;
2096
+ e(ye, "getDrawableElem");
2097
+ function be() {
2098
+ return B;
1996
2099
  }
1997
- e(ge, "getChartConfig");
1998
- function $() {
2100
+ e(be, "getChartThemeConfig");
2101
+ function xe() {
1999
2102
  return z;
2000
2103
  }
2001
- e($, "getXYChartData");
2002
- var _e = {
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: me,
2112
+ getDrawableElem: ye,
2006
2113
  clear: /* @__PURE__ */ e(function() {
2007
- o(), F = 0, L = W(), z = G(), R = U(), B = R.plotColorPalette.split(",").map((e) => e.trim()), V = !1, H = !1;
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: J,
2016
- setXAxisTitle: Y,
2122
+ setOrientation: fe,
2123
+ setXAxisTitle: pe,
2017
2124
  setXAxisRangeData: X,
2018
- setXAxisBand: ce,
2019
- setYAxisTitle: le,
2020
- setYAxisRangeData: ue,
2021
- setLineData: fe,
2022
- setBarData: pe,
2023
- setTmpSVGG: q,
2024
- getChartThemeConfig: he,
2025
- getChartConfig: ge,
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 = y(r), h = m.append("g").attr("class", "main"), g = h.append("rect").attr("width", l.width).attr("height", l.height).attr("class", "background");
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 b(e) {
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(b, "getGroup");
2160
+ e(y, "getGroup");
2054
2161
  for (let t of _) {
2055
2162
  if (t.data.length === 0) continue;
2056
- let n = b(t.groupTexts);
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 { _e as diagram };
2210
+ export { Ce as diagram };