@pi-outpost/embed 0.32.4 → 0.33.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 (234) hide show
  1. package/dist/{abnfDiagram-VCTEODGH-SjZtzoAs.cjs → abnfDiagram-YUKMZFIV-CgM8_qF6.cjs} +1 -1
  2. package/dist/{abnfDiagram-VCTEODGH-BX4P82Y6.js → abnfDiagram-YUKMZFIV-dNHR2FX4.js} +5 -5
  3. package/dist/architecture-WOLXFQ4H-DupyKILn.cjs +1 -0
  4. package/dist/architecture-WOLXFQ4H-X4ZWxzi-.js +3 -0
  5. package/dist/{architectureDiagram-5GKGNRK7-BRdxCCja.js → architectureDiagram-47P4ROYG-C_rUoWaO.js} +31 -31
  6. package/dist/{architectureDiagram-5GKGNRK7-wrDPdf3y.cjs → architectureDiagram-47P4ROYG-bflaQP1L.cjs} +3 -3
  7. package/dist/{blockDiagram-OSKFZWR5-Boo8WJyt.cjs → blockDiagram-E7TT5TSB-BKw9FE2U.cjs} +19 -8
  8. package/dist/{blockDiagram-OSKFZWR5-B1pU8Z2f.js → blockDiagram-E7TT5TSB-CEa2A5E9.js} +217 -193
  9. package/dist/c4Diagram-CRA5TL53-C-PuMGA5.cjs +38 -0
  10. package/dist/{c4Diagram-7LVT6UL2-WfERxhw2.js → c4Diagram-CRA5TL53-CtJh9DsO.js} +283 -273
  11. package/dist/channel-BjC1TKrU.cjs +1 -0
  12. package/dist/{channel-Cf_XiG-0.js → channel-DCXZw5aW.js} +1 -1
  13. package/dist/{chunk-OSK3NFVY-BUXOUgUl.js → chunk-2BW5OAIV-DWtmlmt_.js} +178 -154
  14. package/dist/chunk-2BW5OAIV-FkhgcL6B.cjs +10 -0
  15. package/dist/{chunk-75Z2AOVW-DoA8rENV.js → chunk-3YJQHVM4-BNbfg-7y.js} +235 -231
  16. package/dist/chunk-3YJQHVM4-ChvNe1M8.cjs +2 -0
  17. package/dist/chunk-4EA7E6EY-3OELTJ93.cjs +1 -0
  18. package/dist/{chunk-P2QGCYS3-BoMkrMIF.js → chunk-4EA7E6EY-B5P7n2an.js} +6 -6
  19. package/dist/{chunk-F27PBJKO-s9M3oGHp.js → chunk-7TKQ45FW-CD1KuemG.js} +2 -2
  20. package/dist/{chunk-F27PBJKO-3UPgzIlN.cjs → chunk-7TKQ45FW-Djscho_M.cjs} +1 -1
  21. package/dist/{chunk-SVP7TREG-CTKSOFlx.cjs → chunk-AW2ZBBNX-C4uNh90t.cjs} +3 -3
  22. package/dist/{chunk-SVP7TREG-weNUySou.js → chunk-AW2ZBBNX-CVsDDdv5.js} +33 -33
  23. package/dist/{chunk-GVQU2GXP-iZT_vNLp.cjs → chunk-DBDB3WZW-DSRcln4l.cjs} +1 -1
  24. package/dist/{chunk-GVQU2GXP-BhLneNgJ.js → chunk-DBDB3WZW-DpEOsLsQ.js} +3 -3
  25. package/dist/chunk-DUW6YSOI-2RXTEh_8.cjs +1 -0
  26. package/dist/chunk-DUW6YSOI-CVhxvrBO.js +10 -0
  27. package/dist/{chunk-GMAD6QVW-DZ2r0pLj.js → chunk-E2ZNV5FY-Bu796yUY.js} +354 -361
  28. package/dist/chunk-E2ZNV5FY-DIRTchKA.cjs +72 -0
  29. package/dist/chunk-EU5HNXII-DNBbmfcI.cjs +213 -0
  30. package/dist/{chunk-3NF5O7KM-DQV4G__C.js → chunk-EU5HNXII-DW-QTb0f.js} +426 -357
  31. package/dist/chunk-FVRAUYC3-Crqd-lTD.cjs +1 -0
  32. package/dist/chunk-FVRAUYC3-tiT7dtx-.js +356 -0
  33. package/dist/{chunk-PWAF6VOD-9dCi1q-p.js → chunk-HJ2JQQFS-CgYTXthn.js} +2 -2
  34. package/dist/{chunk-PWAF6VOD-CZZKCekP.cjs → chunk-HJ2JQQFS-DnrogIdt.cjs} +1 -1
  35. package/dist/chunk-HTAEGDNF-D4u24-lD.js +236 -0
  36. package/dist/chunk-HTAEGDNF-I4JlqwMr.cjs +1 -0
  37. package/dist/chunk-J5ZVWO5B-CK5HGA-t.cjs +1 -0
  38. package/dist/chunk-J5ZVWO5B-DEP-pB-1.js +12 -0
  39. package/dist/{chunk-POPQ4Y6H-BRQPB1-9.cjs → chunk-KQW6MTUR-C_XQxsme.cjs} +1 -1
  40. package/dist/{chunk-POPQ4Y6H-vLTNjxsT.js → chunk-KQW6MTUR-c0XOjr_c.js} +2 -2
  41. package/dist/chunk-NGNAAXSQ-DM0DL2MX.js +19836 -0
  42. package/dist/chunk-NGNAAXSQ-kHtfTQLE.cjs +136 -0
  43. package/dist/chunk-NTY3LDVX-CvRtOCpm.js +363 -0
  44. package/dist/chunk-NTY3LDVX-DBVRlnMJ.cjs +1 -0
  45. package/dist/chunk-VPRB5NB3-CT204jN6.cjs +129 -0
  46. package/dist/{chunk-DU6HZSFF-BW30DVuW.js → chunk-VPRB5NB3-DJh7spRO.js} +791 -611
  47. package/dist/chunk-XC4XBNZT-BTUjiQhE.cjs +62 -0
  48. package/dist/{chunk-4HAMMTFA-C2YXJpQw.js → chunk-XC4XBNZT-CSiWBPH9.js} +1378 -1079
  49. package/dist/classDiagram-v2-K4WV4PDN-BndXIwai.cjs +217 -0
  50. package/dist/{chunk-HLEWEB6X-BrzeadBj.js → classDiagram-v2-K4WV4PDN-C39xKke0.js} +254 -214
  51. package/dist/{conversationExport-D2ekPeYe.cjs → conversationExport-BeO-f3PY.cjs} +1 -1
  52. package/dist/{conversationExport-QWEGKkKB.js → conversationExport-DZ2Xi8Lb.js} +2 -2
  53. package/dist/{conversationHistory-BylZCAb1.js → conversationHistory-CT_-smUm.js} +9099 -6555
  54. package/dist/conversationHistory-CZD9jO6h.cjs +287 -0
  55. package/dist/cynefin-EF2NZ3EQ-BB_WO8YQ.js +3 -0
  56. package/dist/cynefin-EF2NZ3EQ-Du3-s5Z7.cjs +1 -0
  57. package/dist/{cynefinDiagram-5FMLGOSQ-GvGZco52.cjs → cynefinDiagram-3GCD6N5R-Bmvj-sQO.cjs} +1 -1
  58. package/dist/{cynefinDiagram-5FMLGOSQ-BEFzUfsd.js → cynefinDiagram-3GCD6N5R-C2CRSeJl.js} +14 -14
  59. package/dist/dagre-W4DXFKR2-ECmxkO0T.js +2356 -0
  60. package/dist/dagre-W4DXFKR2-aPKdYPEj.cjs +4 -0
  61. package/dist/diagram-2UJZ2QOL-B1JKtFHG.cjs +200 -0
  62. package/dist/diagram-2UJZ2QOL-CJRsGDwn.js +5081 -0
  63. package/dist/{diagram-VX7I27RA-Bx9fEhR0.cjs → diagram-OVF4WLC6-CwZeVpHT.cjs} +1 -1
  64. package/dist/{diagram-VX7I27RA-BK8jsKkD.js → diagram-OVF4WLC6-D6r6aTeO.js} +61 -61
  65. package/dist/{diagram-S7CK7UJ4-BH8mrGrv.js → diagram-PFPMY2P6-BpOJbdZ5.js} +15 -15
  66. package/dist/{diagram-S7CK7UJ4-BA67ZpiO.cjs → diagram-PFPMY2P6-DlLbGc_k.cjs} +3 -3
  67. package/dist/{diagram-Z3DM3KII-jy895UiZ.cjs → diagram-UMYRVEAY-BE-t_ZdV.cjs} +1 -1
  68. package/dist/{diagram-Z3DM3KII-CqouFf3D.js → diagram-UMYRVEAY-blW7NpUU.js} +14 -14
  69. package/dist/{diagram-UQ7AKVKN-Bvz7faiB.js → diagram-YEKJPTXX-BOgf87BN.js} +15 -15
  70. package/dist/{diagram-UQ7AKVKN-OteiyKD9.cjs → diagram-YEKJPTXX-CeQjir5H.cjs} +2 -2
  71. package/dist/diagram-ZIFT7M5P-BHePHmHl.cjs +3 -0
  72. package/dist/{diagram-VSXAHHWV-l9f6spkp.js → diagram-ZIFT7M5P-CZOnEYez.js} +40 -25
  73. package/dist/{docxExport-DK8uhXvT.js → docxExport-Cyk5ToUi.js} +1 -1
  74. package/dist/{docxExport-Dt55TJ2h.cjs → docxExport-DF-PXilo.cjs} +1 -1
  75. package/dist/{ebnfDiagram-PWID7BFC-Bwmmg23f.js → ebnfDiagram-VR2GEFS7-Cr0a3Ho_.js} +5 -5
  76. package/dist/{ebnfDiagram-PWID7BFC-BQZKHpUr.cjs → ebnfDiagram-VR2GEFS7-cgyTJ-Xs.cjs} +1 -1
  77. package/dist/elk-IJKZMXRS-NO3xNT-V.cjs +27 -0
  78. package/dist/elk-IJKZMXRS-V31is6hS.js +47984 -0
  79. package/dist/{erDiagram-2YWLMYGG-RTHTTqyH.js → erDiagram-O2IAPWRE-CP06GjjM.js} +60 -56
  80. package/dist/{erDiagram-2YWLMYGG-CuEEIv1I.cjs → erDiagram-O2IAPWRE-CnkFrABC.cjs} +13 -13
  81. package/dist/eventmodeling-K75KTNOO-CMoz0K5S.js +3 -0
  82. package/dist/eventmodeling-K75KTNOO-DZdZrgwl.cjs +1 -0
  83. package/dist/flowDiagram-OXPTDLAJ-BdYr7Idm.cjs +1 -0
  84. package/dist/flowDiagram-OXPTDLAJ-R_xf7pNW.js +16 -0
  85. package/dist/{ganttDiagram-EL5Y4UJY-PTWIufq8.cjs → ganttDiagram-R7TSEDQI-Jhax10tw.cjs} +3 -3
  86. package/dist/{ganttDiagram-EL5Y4UJY-BTvevd1z.js → ganttDiagram-R7TSEDQI-y1bDU8Ba.js} +103 -92
  87. package/dist/gitGraph-VSP46ZUC-DoTshgkY.js +3 -0
  88. package/dist/gitGraph-VSP46ZUC-lawIO6K6.cjs +1 -0
  89. package/dist/{gitGraphDiagram-WWUBYQGX-D5yozoaq.cjs → gitGraphDiagram-XJZIOB7I-CLZLQcPk.cjs} +5 -5
  90. package/dist/{gitGraphDiagram-WWUBYQGX-Bh9F7wif.js → gitGraphDiagram-XJZIOB7I-CYZa0-Ct.js} +45 -45
  91. package/dist/info-OHQRW6UA-DPTZOb30.js +3 -0
  92. package/dist/info-OHQRW6UA-deop1PPz.cjs +1 -0
  93. package/dist/infoDiagram-5W2HQ5XZ-D8fJK3ph.cjs +2 -0
  94. package/dist/{infoDiagram-FKFFQAWI-D6en39j4.js → infoDiagram-5W2HQ5XZ-Dw_D4zI1.js} +5 -5
  95. package/dist/{ishikawaDiagram-5VMMS53U-CvVqTWku.js → ishikawaDiagram-K3B6WC7H-BeLiZFVY.js} +25 -25
  96. package/dist/{ishikawaDiagram-5VMMS53U-DN23jmFw.cjs → ishikawaDiagram-K3B6WC7H-DtjgiZAB.cjs} +2 -2
  97. package/dist/{journeyDiagram-EYS64GPL-CqhBN0KZ.js → journeyDiagram-COXZFDF6-B-qvdudB.js} +31 -31
  98. package/dist/{journeyDiagram-EYS64GPL-Co9rp-Q1.cjs → journeyDiagram-COXZFDF6-Dge2AV0B.cjs} +4 -4
  99. package/dist/{kanban-definition-UXKFOSKX-DzKPVjAq.cjs → kanban-definition-P3RFRI5V-C02YfFZv.cjs} +4 -4
  100. package/dist/{kanban-definition-UXKFOSKX-CWx_Y40t.js → kanban-definition-P3RFRI5V-D0XAXDl8.js} +42 -42
  101. package/dist/{line-D6gR53Af.cjs → line-5eGinYgh.cjs} +1 -1
  102. package/dist/{line-CwYnx9Ke.js → line-BTenwQwq.js} +1 -1
  103. package/dist/loadReferencedImage-C60bzMNm.cjs +1 -0
  104. package/dist/{loadReferencedImage-BKEDAhWQ.js → loadReferencedImage-XQS67fhR.js} +3 -1
  105. package/dist/mermaid-parser.core-BHBS1DqP.cjs +6 -0
  106. package/dist/{mermaid-parser.core-DLNlSmfj.js → mermaid-parser.core-CI12FMcX.js} +163 -163
  107. package/dist/mermaid.core-4MZ-Iwu7.cjs +43 -0
  108. package/dist/{mermaid.core-DI1iFk6G.js → mermaid.core-BJkDCzqA.js} +875 -1150
  109. package/dist/{mindmap-definition-THT77NOG-Bo3D8RRT.cjs → mindmap-definition-LZFPQGKD-CXV1hV3a.cjs} +3 -3
  110. package/dist/{mindmap-definition-THT77NOG-B9hdpQgy.js → mindmap-definition-LZFPQGKD-gYumvdwo.js} +78 -78
  111. package/dist/packet-JDAUHWVQ-Bcik24Kz.js +3 -0
  112. package/dist/packet-JDAUHWVQ-CrY7ylWJ.cjs +1 -0
  113. package/dist/{pegDiagram-XKGWAZYB-Cx-wZf4B.cjs → pegDiagram-BGZESJAR-BICf3jMN.cjs} +1 -1
  114. package/dist/{pegDiagram-XKGWAZYB-CIBfY2Ob.js → pegDiagram-BGZESJAR-Dw9pRv5d.js} +5 -5
  115. package/dist/pi-outpost-embed.cjs +9 -10
  116. package/dist/pi-outpost-embed.js +2833 -2786
  117. package/dist/pie-XZMESJXO-BYQC-ufi.js +3 -0
  118. package/dist/pie-XZMESJXO-WjCBboSE.cjs +1 -0
  119. package/dist/{pieDiagram-E7YTZNPT-BC-pW4cK.cjs → pieDiagram-CAPJLFHJ-CF8cTQpC.cjs} +2 -2
  120. package/dist/{pieDiagram-E7YTZNPT-SG9oy_nV.js → pieDiagram-CAPJLFHJ-uz37FR9I.js} +18 -18
  121. package/dist/{quadrantDiagram-AXDQQJYC-C65HQ6gT.js → quadrantDiagram-GDMTTRAM-C4rt8LIh.js} +40 -40
  122. package/dist/{quadrantDiagram-AXDQQJYC-zPfqM9Q4.cjs → quadrantDiagram-GDMTTRAM-D9SYFJ_P.cjs} +2 -2
  123. package/dist/radar-ABXABTNO-BoQ7hH7Z.cjs +1 -0
  124. package/dist/radar-ABXABTNO-MxbyaZja.js +3 -0
  125. package/dist/railroad-I3PHUGI6-DckUArT-.js +3 -0
  126. package/dist/railroad-I3PHUGI6-DuGTlHry.cjs +1 -0
  127. package/dist/railroad-abnf-LNEFI6M7-DmAJaMEu.js +3 -0
  128. package/dist/railroad-abnf-LNEFI6M7-DoWf9u55.cjs +1 -0
  129. package/dist/railroad-ebnf-DWYD2UWJ-Bf05ZyW1.cjs +1 -0
  130. package/dist/railroad-ebnf-DWYD2UWJ-CS2AUYSv.js +3 -0
  131. package/dist/railroad-peg-JR7BVNR7-B-nctVbV.js +3 -0
  132. package/dist/railroad-peg-JR7BVNR7-CcV5KH4m.cjs +1 -0
  133. package/dist/{railroadDiagram-O6MQD6OU-3JsgWyLe.cjs → railroadDiagram-SM67HX2B-GgesxX7v.cjs} +1 -1
  134. package/dist/{railroadDiagram-O6MQD6OU-DLBEWyaH.js → railroadDiagram-SM67HX2B-T5SG0kEf.js} +5 -5
  135. package/dist/{requirementDiagram-IS5BZ75X-DwrHgMzq.js → requirementDiagram-X7JNWC4A-BEeCszC1.js} +49 -45
  136. package/dist/{requirementDiagram-IS5BZ75X-D1BMLxZg.cjs → requirementDiagram-X7JNWC4A-BVzf-VRr.cjs} +11 -11
  137. package/dist/{sankeyDiagram-P5KCCOFB-D5BHxcxB.cjs → sankeyDiagram-UM26HJRW-CdBXqklJ.cjs} +3 -3
  138. package/dist/{sankeyDiagram-P5KCCOFB-CcT0ZbW6.js → sankeyDiagram-UM26HJRW-DLDVzhPm.js} +16 -16
  139. package/dist/{sequenceDiagram-WJ2MYXX4-DM6BpXMT.js → sequenceDiagram-ZO4K6R2Y-B8wM6a-A.js} +704 -619
  140. package/dist/sequenceDiagram-ZO4K6R2Y-ytX57BES.cjs +169 -0
  141. package/dist/stateDiagram-v2-TBUQTH76-BTuAbG28.cjs +291 -0
  142. package/dist/{chunk-ZLD2IHE6-CqnVd2rq.js → stateDiagram-v2-TBUQTH76-PRnBJSrY.js} +271 -174
  143. package/dist/swimlanes-N4OXWK64-41SBE_L2.cjs +1 -0
  144. package/dist/{swimlanes-V6O3JKXN-BR7rwPmC.js → swimlanes-N4OXWK64-DipLcZla.js} +1006 -1219
  145. package/dist/swimlanesDiagram-K3J5GTZL-D6tIMgkj.cjs +8 -0
  146. package/dist/swimlanesDiagram-K3J5GTZL-_MehEHMi.js +27 -0
  147. package/dist/timeline-definition-YOQAKGHF-D_LWHCSA.cjs +120 -0
  148. package/dist/{timeline-definition-24CTP7MA-BQmq-H07.js → timeline-definition-YOQAKGHF-h8_spxIb.js} +210 -206
  149. package/dist/treeView-D4JQ5SDB-C3ticT1s.cjs +1 -0
  150. package/dist/treeView-D4JQ5SDB-CEuRf8gK.js +3 -0
  151. package/dist/treemap-SAJKECNS-BwIfwvl-.cjs +1 -0
  152. package/dist/treemap-SAJKECNS-DiC0668-.js +3 -0
  153. package/dist/usecaseDiagram-VIAY4XPW-DCfwvERR.js +7187 -0
  154. package/dist/usecaseDiagram-VIAY4XPW-PJHZiyJN.cjs +328 -0
  155. package/dist/{vennDiagram-4TSXK5OY-BdzbrV6i.js → vennDiagram-BLWOH2XV-_zHkfDVB.js} +43 -43
  156. package/dist/{vennDiagram-4TSXK5OY-D5MMYyff.cjs → vennDiagram-BLWOH2XV-niExkaFk.cjs} +3 -3
  157. package/dist/wardley-7MLQ67FV-BoIyQQ0E.cjs +1 -0
  158. package/dist/wardley-7MLQ67FV-CFF6IT1d.js +3 -0
  159. package/dist/{wardleyDiagram-VM6X3IG4-Ccz1enMd.js → wardleyDiagram-YMQ3BMBF-BKvQkiZP.js} +17 -17
  160. package/dist/{wardleyDiagram-VM6X3IG4-DzZNzmB8.cjs → wardleyDiagram-YMQ3BMBF-btlDrKA6.cjs} +3 -3
  161. package/dist/xychartDiagram-TAQBALBS-CkNZcyIi.cjs +7 -0
  162. package/dist/{xychartDiagram-S5SC5T6Z-B-sQkN_B.js → xychartDiagram-TAQBALBS-DlfKpBG9.js} +34 -30
  163. package/package.json +2 -2
  164. package/dist/architecture-7GRP2DOG-BtgYGXkq.cjs +0 -1
  165. package/dist/architecture-7GRP2DOG-DBQ9eYgM.js +0 -3
  166. package/dist/c4Diagram-7LVT6UL2-BCrC0RQo.cjs +0 -38
  167. package/dist/channel-DcrLLvcO.cjs +0 -1
  168. package/dist/chunk-3NF5O7KM-B-DpUW2r.cjs +0 -168
  169. package/dist/chunk-4HAMMTFA-CtkrBT7X.cjs +0 -62
  170. package/dist/chunk-75Z2AOVW-DOXS9ORa.cjs +0 -2
  171. package/dist/chunk-DU6HZSFF-3Hhp3Fo5.cjs +0 -127
  172. package/dist/chunk-FOHPRMQF-BNNbqxGX.js +0 -21456
  173. package/dist/chunk-FOHPRMQF-tmTlwTeH.cjs +0 -161
  174. package/dist/chunk-GMAD6QVW-B6uvB_wz.cjs +0 -72
  175. package/dist/chunk-HLEWEB6X-aqFoPl02.cjs +0 -206
  176. package/dist/chunk-L3NEJ4N5-BaR_9rF3.js +0 -245
  177. package/dist/chunk-L3NEJ4N5-vW3qRjIb.cjs +0 -1
  178. package/dist/chunk-OSK3NFVY-DU2FGOlI.cjs +0 -10
  179. package/dist/chunk-P2QGCYS3-DWeL9spl.cjs +0 -1
  180. package/dist/chunk-ZLD2IHE6-BZxKwfuv.cjs +0 -231
  181. package/dist/classDiagram-CYGNFDIV-CQLOfBmz.cjs +0 -1
  182. package/dist/classDiagram-CYGNFDIV-DsnY_WNO.js +0 -30
  183. package/dist/classDiagram-v2-TLXNO2FR-CQLOfBmz.cjs +0 -1
  184. package/dist/classDiagram-v2-TLXNO2FR-DeNpu9ZP.js +0 -30
  185. package/dist/conversationHistory-BmpdU77I.cjs +0 -286
  186. package/dist/cynefin-OW5HDTMX-BmLJra-4.cjs +0 -1
  187. package/dist/cynefin-OW5HDTMX-CfYr_cVN.js +0 -3
  188. package/dist/dagre-BMKbPnPh.js +0 -1934
  189. package/dist/dagre-EEW2OxRU.cjs +0 -1
  190. package/dist/dagre-OS7QT2EB-BtJ6v_Nc.js +0 -425
  191. package/dist/dagre-OS7QT2EB-DFi6nnZc.cjs +0 -4
  192. package/dist/diagram-VSXAHHWV-BjsZz1JJ.cjs +0 -3
  193. package/dist/eventmodeling-NTZA5JFV-D57pc07U.cjs +0 -1
  194. package/dist/eventmodeling-NTZA5JFV-DUbGOrrF.js +0 -3
  195. package/dist/flowDiagram-T62WH6J4-YyzE7N5Z.cjs +0 -1
  196. package/dist/flowDiagram-T62WH6J4-ptBWC6KI.js +0 -16
  197. package/dist/gitGraph-4MIJSDKK-CY4IuhXZ.js +0 -3
  198. package/dist/gitGraph-4MIJSDKK-D97vaDci.cjs +0 -1
  199. package/dist/info-A6RAGUB7-Cx39sHYM.js +0 -3
  200. package/dist/info-A6RAGUB7-DT06-FB3.cjs +0 -1
  201. package/dist/infoDiagram-FKFFQAWI-NPtQF4vB.cjs +0 -2
  202. package/dist/loadReferencedImage-DlRgJ4vm.cjs +0 -1
  203. package/dist/mermaid-parser.core-CBiDgMLi.cjs +0 -6
  204. package/dist/mermaid.core-B3QcBB1O.cjs +0 -43
  205. package/dist/packet-AYTQ26CC-BGX2McoE.cjs +0 -1
  206. package/dist/packet-AYTQ26CC-IgkU2VYK.js +0 -3
  207. package/dist/pie-WAS4IAKB-CEyPj3UJ.cjs +0 -1
  208. package/dist/pie-WAS4IAKB-odE0A7fM.js +0 -3
  209. package/dist/radar-RG4KPBEZ-ClYJNseM.cjs +0 -1
  210. package/dist/radar-RG4KPBEZ-DqbNqlJH.js +0 -3
  211. package/dist/railroad-74A4TZTK-Dzt4afqg.js +0 -3
  212. package/dist/railroad-74A4TZTK-hSKcr2y6.cjs +0 -1
  213. package/dist/railroad-abnf-HS5TGJTU-gq2RybTO.js +0 -3
  214. package/dist/railroad-abnf-HS5TGJTU-irEXz0eI.cjs +0 -1
  215. package/dist/railroad-ebnf-LZEXJU2U-CG19A1Xj.cjs +0 -1
  216. package/dist/railroad-ebnf-LZEXJU2U-D-pNpFrj.js +0 -3
  217. package/dist/railroad-peg-WCYAUIDC-BLdK3QCV.cjs +0 -1
  218. package/dist/railroad-peg-WCYAUIDC-Bo7wfe--.js +0 -3
  219. package/dist/sequenceDiagram-WJ2MYXX4-DlVJIIIl.cjs +0 -162
  220. package/dist/stateDiagram-XQSTLZYL-BhzcW44q.js +0 -220
  221. package/dist/stateDiagram-XQSTLZYL-mSOJx_Wv.cjs +0 -1
  222. package/dist/stateDiagram-v2-IH3M54BS-BE5CXOTu.js +0 -30
  223. package/dist/stateDiagram-v2-IH3M54BS-DAa6SuH4.cjs +0 -1
  224. package/dist/swimlanes-V6O3JKXN-BooYLGtP.cjs +0 -1
  225. package/dist/swimlanesDiagram-JKAHXJPX-BaMCBEUQ.cjs +0 -8
  226. package/dist/swimlanesDiagram-JKAHXJPX-lIPwQ8Mc.js +0 -30
  227. package/dist/timeline-definition-24CTP7MA-D6sSmprF.cjs +0 -120
  228. package/dist/treeView-Q6P3EWNA-BmkQxkVU.cjs +0 -1
  229. package/dist/treeView-Q6P3EWNA-CPEEGmNv.js +0 -3
  230. package/dist/treemap-WGGIJYW6-CGULpntJ.js +0 -3
  231. package/dist/treemap-WGGIJYW6-Dmi9HAR8.cjs +0 -1
  232. package/dist/wardley-WFR3VGLG-9zHZLKh9.js +0 -3
  233. package/dist/wardley-WFR3VGLG-B6YvLPJA.cjs +0 -1
  234. package/dist/xychartDiagram-S5SC5T6Z-BOsjfYJh.cjs +0 -7
@@ -1,31 +1,33 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
2
  import { m as t, p as n } from "./src-Dkp7vqs8.js";
3
- import { a as r, b as i, c as a, it as o, s, x as c } from "./chunk-DU6HZSFF-BW30DVuW.js";
4
- import { t as l } from "./channel-Cf_XiG-0.js";
5
- import { A as u, B as d, C as f, D as p, E as m, F as h, G as g, H as _, I as v, L as y, M as b, N as x, O as S, P as C, R as w, T, U as E, V as D, W as O, b as k, j as A, k as j, l as M, v as ee, w as te, z as ne } from "./chunk-75Z2AOVW-DoA8rENV.js";
6
- import "./chunk-PWAF6VOD-9dCi1q-p.js";
7
- import "./chunk-GMAD6QVW-DZ2r0pLj.js";
3
+ import { a as r, at as i, b as a, c as o, s, y as c } from "./chunk-VPRB5NB3-DJh7spRO.js";
4
+ import { t as l } from "./channel-DCXZw5aW.js";
5
+ import { A as u, B as d, D as f, E as p, F as m, G as h, H as g, I as _, K as v, L as y, M as b, N as x, O as S, P as C, R as w, T, U as E, V as D, W as O, j as k, k as A, u as j, w as M, x as ee, y as te, z as ne } from "./chunk-3YJQHVM4-BNbfg-7y.js";
6
+ import "./chunk-HJ2JQQFS-CgYTXthn.js";
7
+ import "./chunk-E2ZNV5FY-Bu796yUY.js";
8
8
  import { t as re } from "./chunk-5VM5RSS4-BMfgdMFU.js";
9
- import "./chunk-P2QGCYS3-BoMkrMIF.js";
10
- import "./chunk-4HAMMTFA-C2YXJpQw.js";
11
- import { i as ie, r as N } from "./chunk-GVQU2GXP-BhLneNgJ.js";
12
- import { a as ae, c as oe, i as se, s as ce } from "./chunk-OSK3NFVY-BUXOUgUl.js";
13
- import { t as le } from "./graphlib-CQa_B3rm.js";
9
+ import { t as ie } from "./chunk-DUW6YSOI-CVhxvrBO.js";
10
+ import "./chunk-4EA7E6EY-B5P7n2an.js";
11
+ import { i as ae, n as oe, o as se, r as ce, s as le } from "./chunk-J5ZVWO5B-DEP-pB-1.js";
12
+ import "./chunk-XC4XBNZT-CSiWBPH9.js";
13
+ import { i as ue, r as de } from "./chunk-DBDB3WZW-DpEOsLsQ.js";
14
+ import { a as fe, c as pe, i as me, l as he } from "./chunk-2BW5OAIV-DWtmlmt_.js";
15
+ import { t as ge } from "./graphlib-CQa_B3rm.js";
14
16
  //#region ../node_modules/es-toolkit/dist/compat/predicate/isArray.mjs
15
- function ue(e) {
17
+ function _e(e) {
16
18
  return Array.isArray(e);
17
19
  }
18
20
  //#endregion
19
21
  //#region ../node_modules/es-toolkit/dist/compat/object/clone.mjs
20
- function de(e) {
21
- if (k(e)) return e;
22
- let t = g(e);
23
- if (!fe(e)) return {};
24
- if (ue(e)) {
22
+ function ve(e) {
23
+ if (ee(e)) return e;
24
+ let t = v(e);
25
+ if (!ye(e)) return {};
26
+ if (_e(e)) {
25
27
  let t = Array.from(e);
26
28
  return e.length > 0 && typeof e[0] == "string" && Object.hasOwn(e, "index") && (t.index = e.index, t.input = e.input), t;
27
29
  }
28
- if (ee(e)) {
30
+ if (te(e)) {
29
31
  let t = e, n = t.constructor;
30
32
  return new n(t.buffer, t.byteOffset, t.length);
31
33
  }
@@ -36,7 +38,7 @@ function de(e) {
36
38
  }
37
39
  if (t === "[object Boolean]" || t === "[object Number]" || t === "[object String]") {
38
40
  let n = e.constructor, r = new n(e.valueOf());
39
- return t === "[object String]" ? me(r, e) : P(r, e), r;
41
+ return t === "[object String]" ? xe(r, e) : N(r, e), r;
40
42
  }
41
43
  if (t === "[object Date]") return new Date(Number(e));
42
44
  if (t === "[object RegExp]") {
@@ -58,59 +60,59 @@ function de(e) {
58
60
  }
59
61
  if (t === "[object Arguments]") {
60
62
  let t = e, n = {};
61
- return P(n, t), n.length = t.length, n[Symbol.iterator] = t[Symbol.iterator], n;
63
+ return N(n, t), n.length = t.length, n[Symbol.iterator] = t[Symbol.iterator], n;
62
64
  }
63
65
  let n = {};
64
- return he(n, e), P(n, e), pe(n, e), n;
66
+ return Se(n, e), N(n, e), be(n, e), n;
65
67
  }
66
- function fe(e) {
67
- switch (g(e)) {
68
- case f:
69
- case T:
70
- case te:
68
+ function ye(e) {
69
+ switch (v(e)) {
70
+ case M:
71
71
  case p:
72
- case m:
72
+ case T:
73
73
  case S:
74
- case j:
75
- case u:
76
- case x:
74
+ case f:
77
75
  case A:
78
- case b:
76
+ case u:
77
+ case k:
79
78
  case C:
80
- case h:
81
- case v:
79
+ case b:
80
+ case x:
81
+ case m:
82
+ case _:
82
83
  case y:
83
84
  case w:
84
85
  case ne:
85
86
  case d:
86
- case E:
87
- case O:
88
87
  case D:
89
- case _: return !0;
88
+ case O:
89
+ case h:
90
+ case g:
91
+ case E: return !0;
90
92
  default: return !1;
91
93
  }
92
94
  }
93
- function P(e, t) {
95
+ function N(e, t) {
94
96
  for (let n in t) Object.hasOwn(t, n) && (e[n] = t[n]);
95
97
  }
96
- function pe(e, t) {
98
+ function be(e, t) {
97
99
  let n = Object.getOwnPropertySymbols(t);
98
100
  for (let r = 0; r < n.length; r++) {
99
101
  let i = n[r];
100
102
  Object.prototype.propertyIsEnumerable.call(t, i) && (e[i] = t[i]);
101
103
  }
102
104
  }
103
- function me(e, t) {
105
+ function xe(e, t) {
104
106
  let n = t.valueOf().length;
105
107
  for (let r in t) Object.hasOwn(t, r) && (Number.isNaN(Number(r)) || Number(r) >= n) && (e[r] = t[r]);
106
108
  }
107
- function he(e, t) {
109
+ function Se(e, t) {
108
110
  let n = Object.getPrototypeOf(t);
109
111
  n !== null && typeof t.constructor == "function" && Object.setPrototypeOf(e, n);
110
112
  }
111
113
  //#endregion
112
- //#region ../node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-OSKFZWR5.mjs
113
- var F = (function() {
114
+ //#region ../node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-E7TT5TSB.mjs
115
+ var P = (function() {
114
116
  var t = /* @__PURE__ */ e(function(e, t, n, r) {
115
117
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
116
118
  return n;
@@ -1248,83 +1250,83 @@ var F = (function() {
1248
1250
  }
1249
1251
  return e(v, "Parser"), v.prototype = _, _.Parser = v, new v();
1250
1252
  })();
1251
- F.parser = F;
1252
- var ge = F, I = /* @__PURE__ */ new Map(), L = [], R = /* @__PURE__ */ new Map(), _e = "color", z = "fill", ve = "bgFill", ye = ",", B = /* @__PURE__ */ new Map(), V = "", be = /* @__PURE__ */ e((e) => s.sanitizeText(e, c()), "sanitizeText"), xe = /* @__PURE__ */ e(function(e, t = "") {
1253
- let n = B.get(e);
1253
+ P.parser = P;
1254
+ var Ce = P, F = /* @__PURE__ */ new Map(), I = [], L = /* @__PURE__ */ new Map(), R = "color", z = "fill", we = "bgFill", B = ",", V = /* @__PURE__ */ new Map(), H = "", Te = /* @__PURE__ */ e((e) => s.sanitizeText(e, a()), "sanitizeText"), Ee = /* @__PURE__ */ e(function(e, t = "") {
1255
+ let n = V.get(e);
1254
1256
  n || (n = {
1255
1257
  id: e,
1256
1258
  styles: [],
1257
1259
  textStyles: []
1258
- }, B.set(e, n)), t?.split(ye).forEach((e) => {
1260
+ }, V.set(e, n)), t?.split(B).forEach((e) => {
1259
1261
  let t = e.replace(/([^;]*);/, "$1").trim();
1260
- if (RegExp(_e).exec(e)) {
1261
- let e = t.replace(z, ve).replace(_e, z);
1262
+ if (RegExp(R).exec(e)) {
1263
+ let e = t.replace(z, we).replace(R, z);
1262
1264
  n.textStyles.push(e);
1263
1265
  }
1264
1266
  n.styles.push(t);
1265
1267
  });
1266
- }, "addStyleClass"), Se = /* @__PURE__ */ e(function(e, t = "") {
1267
- let n = I.get(e);
1268
- t != null && (n.styles = t.split(ye));
1269
- }, "addStyle2Node"), Ce = /* @__PURE__ */ e(function(e, t) {
1268
+ }, "addStyleClass"), De = /* @__PURE__ */ e(function(e, t = "") {
1269
+ let n = F.get(e);
1270
+ t != null && (n.styles = t.split(B));
1271
+ }, "addStyle2Node"), Oe = /* @__PURE__ */ e(function(e, t) {
1270
1272
  e.split(",").forEach(function(e) {
1271
- let n = I.get(e);
1273
+ let n = F.get(e);
1272
1274
  if (n === void 0) {
1273
1275
  let t = e.trim();
1274
1276
  n = {
1275
1277
  id: t,
1276
1278
  type: "na",
1277
1279
  children: []
1278
- }, I.set(t, n);
1280
+ }, F.set(t, n);
1279
1281
  }
1280
1282
  n.classes || (n.classes = []), n.classes.push(t);
1281
1283
  });
1282
- }, "setCssClass"), we = /* @__PURE__ */ e((e, n) => {
1284
+ }, "setCssClass"), U = 0, ke = /* @__PURE__ */ e((e, n) => {
1283
1285
  let r = e.flat(), i = [], a = r.find((e) => e?.type === "column-setting")?.columns ?? -1;
1284
1286
  for (let e of r) {
1285
- if (typeof a == "number" && a > 0 && e.type !== "column-setting" && typeof e.widthInColumns == "number" && e.widthInColumns > a && t.warn(`Block ${e.id} width ${e.widthInColumns} exceeds configured column width ${a}`), e.label &&= be(e.label), e.type === "classDef") {
1286
- xe(e.id, e.css);
1287
+ if (typeof a == "number" && a > 0 && e.type !== "column-setting" && typeof e.widthInColumns == "number" && e.widthInColumns > a && t.warn(`Block ${e.id} width ${e.widthInColumns} exceeds configured column width ${a}`), e.label &&= Te(e.label), e.type === "classDef") {
1288
+ Ee(e.id, e.css);
1287
1289
  continue;
1288
1290
  }
1289
1291
  if (e.type === "applyClass") {
1290
- Ce(e.id, e?.styleClass ?? "");
1292
+ Oe(e.id, e?.styleClass ?? "");
1291
1293
  continue;
1292
1294
  }
1293
1295
  if (e.type === "applyStyles") {
1294
- e?.stylesStr && Se(e.id, e?.stylesStr);
1296
+ e?.stylesStr && De(e.id, e?.stylesStr);
1295
1297
  continue;
1296
1298
  }
1297
1299
  if (e.type === "column-setting") n.columns = e.columns ?? -1;
1298
1300
  else if (e.type === "edge") {
1299
- let t = (R.get(e.id) ?? 0) + 1;
1300
- R.set(e.id, t), e.id = t + "-" + e.id, L.push(e);
1301
+ let t = (L.get(e.id) ?? 0) + 1;
1302
+ L.set(e.id, t), e.id = t + "-" + e.id, I.push(e);
1301
1303
  } else {
1302
1304
  e.label ||= e.type === "composite" ? "" : e.id;
1303
- let t = I.get(e.id);
1304
- if (t === void 0 ? I.set(e.id, e) : (e.type !== "na" && (t.type = e.type), e.label !== e.id && (t.label = e.label)), e.children && we(e.children, e), e.type === "space") {
1305
+ let t = F.get(e.id);
1306
+ if (t === void 0 ? (e.type === "composite" && (e.colorIndex = U++), F.set(e.id, e)) : (e.type !== "na" && (t.type = e.type), e.label !== e.id && (t.label = e.label)), e.children && ke(e.children, e), e.type === "space") {
1305
1307
  let t = e.width ?? 1;
1306
1308
  for (let n = 0; n < t; n++) {
1307
- let t = de(e);
1308
- t.id = t.id + "-" + n, I.set(t.id, t), i.push(t);
1309
+ let t = ve(e);
1310
+ t.id = t.id + "-" + n, F.set(t.id, t), i.push(t);
1309
1311
  }
1310
1312
  } else t === void 0 && i.push(e);
1311
1313
  }
1312
1314
  }
1313
1315
  n.children = i;
1314
- }, "populateBlockDatabase"), H = [], U = {
1316
+ }, "populateBlockDatabase"), W = [], G = {
1315
1317
  id: "root",
1316
1318
  type: "composite",
1317
1319
  children: [],
1318
1320
  columns: -1
1319
- }, Te = /* @__PURE__ */ e(() => {
1320
- t.debug("Clear called"), r(), U = {
1321
+ }, Ae = /* @__PURE__ */ e(() => {
1322
+ t.debug("Clear called"), r(), G = {
1321
1323
  id: "root",
1322
1324
  type: "composite",
1323
1325
  children: [],
1324
1326
  columns: -1
1325
- }, I = /* @__PURE__ */ new Map([["root", U]]), H = [], B = /* @__PURE__ */ new Map(), L = [], R = /* @__PURE__ */ new Map(), V = "";
1327
+ }, F = /* @__PURE__ */ new Map([["root", G]]), W = [], V = /* @__PURE__ */ new Map(), I = [], L = /* @__PURE__ */ new Map(), H = "", U = 0;
1326
1328
  }, "clear");
1327
- function Ee(e) {
1329
+ function je(e) {
1328
1330
  switch (t.debug("typeStr2Type", e), e) {
1329
1331
  case "[]": return "square";
1330
1332
  case "()": return t.debug("we have a round"), "round";
@@ -1344,15 +1346,15 @@ function Ee(e) {
1344
1346
  default: return "na";
1345
1347
  }
1346
1348
  }
1347
- e(Ee, "typeStr2Type");
1348
- function De(e) {
1349
+ e(je, "typeStr2Type");
1350
+ function Me(e) {
1349
1351
  switch (t.debug("typeStr2Type", e), e) {
1350
1352
  case "==": return "thick";
1351
1353
  default: return "normal";
1352
1354
  }
1353
1355
  }
1354
- e(De, "edgeTypeStr2Type");
1355
- function Oe(e) {
1356
+ e(Me, "edgeTypeStr2Type");
1357
+ function Ne(e) {
1356
1358
  switch (e.trim().slice(-1)) {
1357
1359
  case "x": return "arrow_cross";
1358
1360
  case "o": return "arrow_circle";
@@ -1360,8 +1362,8 @@ function Oe(e) {
1360
1362
  default: return "";
1361
1363
  }
1362
1364
  }
1363
- e(Oe, "edgeStrToEdgeData");
1364
- function ke(e) {
1365
+ e(Ne, "edgeStrToEdgeData");
1366
+ function Pe(e) {
1365
1367
  switch (e.trim().charAt(0)) {
1366
1368
  case "x": return "arrow_cross";
1367
1369
  case "o": return "arrow_circle";
@@ -1369,51 +1371,67 @@ function ke(e) {
1369
1371
  default: return "arrow_open";
1370
1372
  }
1371
1373
  }
1372
- e(ke, "edgeStrToEdgeStartData");
1373
- function Ae(e) {
1374
+ e(Pe, "edgeStrToEdgeStartData");
1375
+ function Fe(e) {
1374
1376
  return e.includes("==") ? "thick" : "normal";
1375
1377
  }
1376
- e(Ae, "edgeStrToThickness");
1377
- function W(e) {
1378
+ e(Fe, "edgeStrToThickness");
1379
+ function Ie(e) {
1378
1380
  return e.includes(".-") ? "dotted" : "solid";
1379
1381
  }
1380
- e(W, "edgeStrToPattern");
1381
- var G = 0, je = {
1382
- getConfig: /* @__PURE__ */ e(() => i().block, "getConfig"),
1383
- typeStr2Type: Ee,
1384
- edgeTypeStr2Type: De,
1385
- edgeStrToEdgeData: Oe,
1386
- edgeStrToEdgeStartData: ke,
1387
- edgeStrToThickness: Ae,
1388
- edgeStrToPattern: W,
1382
+ e(Ie, "edgeStrToPattern");
1383
+ var Le = 0, Re = {
1384
+ getConfig: /* @__PURE__ */ e(() => c().block, "getConfig"),
1385
+ typeStr2Type: je,
1386
+ edgeTypeStr2Type: Me,
1387
+ edgeStrToEdgeData: Ne,
1388
+ edgeStrToEdgeStartData: Pe,
1389
+ edgeStrToThickness: Fe,
1390
+ edgeStrToPattern: Ie,
1389
1391
  getLogger: /* @__PURE__ */ e(() => t, "getLogger"),
1390
- getBlocksFlat: /* @__PURE__ */ e(() => [...I.values()], "getBlocksFlat"),
1391
- getBlocks: /* @__PURE__ */ e(() => H || [], "getBlocks"),
1392
- getEdges: /* @__PURE__ */ e(() => L, "getEdges"),
1392
+ getBlocksFlat: /* @__PURE__ */ e(() => [...F.values()], "getBlocksFlat"),
1393
+ getBlocks: /* @__PURE__ */ e(() => W || [], "getBlocks"),
1394
+ getEdges: /* @__PURE__ */ e(() => I, "getEdges"),
1393
1395
  setHierarchy: /* @__PURE__ */ e((e) => {
1394
- U.children = e, we(e, U), H = U.children;
1396
+ G.children = e, ke(e, G), W = G.children;
1395
1397
  }, "setHierarchy"),
1396
- getBlock: /* @__PURE__ */ e((e) => I.get(e), "getBlock"),
1398
+ getBlock: /* @__PURE__ */ e((e) => F.get(e), "getBlock"),
1397
1399
  setBlock: /* @__PURE__ */ e((e) => {
1398
- I.set(e.id, e);
1400
+ F.set(e.id, e);
1399
1401
  }, "setBlock"),
1400
1402
  getColumns: /* @__PURE__ */ e((e) => {
1401
- let t = I.get(e);
1403
+ let t = F.get(e);
1402
1404
  return t ? t.columns ? t.columns : t.children ? t.children.length : -1 : -1;
1403
1405
  }, "getColumns"),
1404
1406
  getClasses: /* @__PURE__ */ e(function() {
1405
- return B;
1407
+ return V;
1406
1408
  }, "getClasses"),
1407
- clear: Te,
1408
- generateId: /* @__PURE__ */ e(() => (G++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + G), "generateId"),
1409
+ clear: Ae,
1410
+ generateId: /* @__PURE__ */ e(() => (Le++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + Le), "generateId"),
1409
1411
  setDiagramId: /* @__PURE__ */ e((e) => {
1410
- V = e;
1412
+ H = e;
1411
1413
  }, "setDiagramId"),
1412
- getDiagramId: /* @__PURE__ */ e(() => V, "getDiagramId")
1413
- }, K = /* @__PURE__ */ e((e, t) => {
1414
- let n = l, r = n(e, "r"), i = n(e, "g"), a = n(e, "b");
1415
- return o(r, i, a, t);
1416
- }, "fade"), Me = /* @__PURE__ */ e((e) => `.label {
1414
+ getDiagramId: /* @__PURE__ */ e(() => H, "getDiagramId")
1415
+ }, ze = /* @__PURE__ */ e((e) => {
1416
+ let { theme: t, bkgColorArray: n, borderColorArray: r } = e;
1417
+ if (!ae(t, r)) return "";
1418
+ let i = se(e.look), a = ce(n), o = "";
1419
+ for (let t = 0; t < oe(e.THEME_COLOR_LIMIT, r); t++) {
1420
+ let e = r[t % r.length], s = a ? `fill: ${n[t % n.length]};` : "", c = `[data-look="${i}"][data-color-id="color-${t}"]`;
1421
+ o += `
1422
+
1423
+ ${c}.node rect.composite {
1424
+ stroke: ${e};
1425
+ ${s}
1426
+ }
1427
+ `;
1428
+ }
1429
+ return o;
1430
+ }, "genColor"), K = /* @__PURE__ */ e((e, t) => {
1431
+ let n = l, r = n(e, "r"), a = n(e, "g"), o = n(e, "b");
1432
+ return i(r, a, o, t);
1433
+ }, "fade"), Be = /* @__PURE__ */ e((e) => `${ze(e)}
1434
+ .label {
1417
1435
  font-family: ${e.fontFamily};
1418
1436
  color: ${e.nodeTextColor || e.textColor};
1419
1437
  }
@@ -1438,7 +1456,11 @@ var G = 0, je = {
1438
1456
  .node path {
1439
1457
  fill: ${e.mainBkg};
1440
1458
  stroke: ${e.nodeBorder};
1441
- stroke-width: 1px;
1459
+ /* From the theme, as every other diagram does. Pinned at 1px here, so block drew a
1460
+ thinner border than an identical flowchart node under any theme asking for more --
1461
+ the neo theme asks for 2. Nothing downstream corrected it: the neo rules set stroke
1462
+ and filter, never stroke-width. */
1463
+ stroke-width: ${e.strokeWidth ?? 1}px;
1442
1464
  }
1443
1465
  .flowchart-label text {
1444
1466
  text-anchor: middle;
@@ -1461,7 +1483,7 @@ var G = 0, je = {
1461
1483
  fill: ${e.arrowheadColor};
1462
1484
  }
1463
1485
 
1464
- .edgePath .path {
1486
+ .edgePaths .path {
1465
1487
  stroke: ${e.lineColor};
1466
1488
  stroke-width: 2.0px;
1467
1489
  }
@@ -1552,7 +1574,7 @@ function q(e, t) {
1552
1574
  };
1553
1575
  }
1554
1576
  e(q, "calculateBlockPosition");
1555
- var Ne = /* @__PURE__ */ e((e) => {
1577
+ var Ve = /* @__PURE__ */ e((e) => {
1556
1578
  let n = 0, r = 0;
1557
1579
  for (let i of e.children) {
1558
1580
  let { width: e, height: a, x: o, y: s } = i.size ?? {
@@ -1580,7 +1602,7 @@ function J(e, n, r = 0, i = 0, a = 8) {
1580
1602
  let o = 0, s = 0;
1581
1603
  if (e.children?.length > 0) {
1582
1604
  for (let t of e.children) J(t, n, 0, 0, a);
1583
- let c = Ne(e);
1605
+ let c = Ve(e);
1584
1606
  o = c.width, s = c.height, t.debug("setBlockSizes abc95 maxWidth of", e.id, ":s children is ", o, s);
1585
1607
  for (let n of e.children) n.size && (t.debug(`abc95 Setting size of children of ${e.id} id=${n.id} ${o} ${s} ${JSON.stringify(n.size)}`), n.size.width = o * (n.widthInColumns ?? 1) + a * ((n.widthInColumns ?? 1) - 1), n.size.height = s, n.size.x = 0, n.size.y = 0, t.debug(`abc95 updating size of ${e.id} children child:${n.id} maxWidth:${o} maxHeight:${s}`));
1586
1608
  for (let t of e.children) J(t, n, o, s, a);
@@ -1681,85 +1703,85 @@ function X(e, { minX: t, minY: n, maxX: r, maxY: i } = {
1681
1703
  };
1682
1704
  }
1683
1705
  e(X, "findBounds");
1684
- function Z(e) {
1706
+ function He(e) {
1685
1707
  let n = e.getBlock("root");
1686
1708
  if (!n) return;
1687
- let r = c()?.block?.padding ?? 8;
1709
+ let r = a()?.block?.padding ?? 8;
1688
1710
  J(n, e, 0, 0, r), Y(n, e, r), t.debug("getBlocks", JSON.stringify(n, null, 2));
1689
- let { minX: i, minY: a, maxX: o, maxY: s } = X(n), l = s - a;
1711
+ let { minX: i, minY: o, maxX: s, maxY: c } = X(n), l = c - o;
1690
1712
  return {
1691
1713
  x: i,
1692
- y: a,
1693
- width: o - i,
1714
+ y: o,
1715
+ width: s - i,
1694
1716
  height: l
1695
1717
  };
1696
1718
  }
1697
- e(Z, "layout");
1698
- function Q(e, t, n = !1) {
1699
- let r = e, a = "default";
1700
- (r?.classes?.length || 0) > 0 && (a = (r?.classes ?? []).join(" ")), a += " flowchart-label";
1701
- let o = (r?.classes ?? []).flatMap((e) => t.getClasses().get(e)?.styles ?? []), s = 0, c = "rect", l;
1719
+ e(He, "layout");
1720
+ function Z(e, t, n = !1) {
1721
+ let r = e, i = "default";
1722
+ (r?.classes?.length || 0) > 0 && (i = (r?.classes ?? []).join(" ")), i += " flowchart-label";
1723
+ let a = (r?.classes ?? []).flatMap((e) => t.getClasses().get(e)?.styles ?? []), o = 0, s = "rect", l;
1702
1724
  switch (r.type) {
1703
1725
  case "round":
1704
- s = 5, c = "rect";
1726
+ o = 5, s = "rect";
1705
1727
  break;
1706
1728
  case "composite":
1707
- s = 0, c = "composite", l = 0;
1729
+ o = 0, s = "composite", l = 0;
1708
1730
  break;
1709
1731
  case "square":
1710
- c = "rect";
1732
+ s = "rect";
1711
1733
  break;
1712
1734
  case "diamond":
1713
- c = "question";
1735
+ s = "question";
1714
1736
  break;
1715
1737
  case "hexagon":
1716
- c = "hexagon";
1738
+ s = "hexagon";
1717
1739
  break;
1718
1740
  case "block_arrow":
1719
- c = "block_arrow";
1741
+ s = "block_arrow";
1720
1742
  break;
1721
1743
  case "odd":
1722
- c = "rect_left_inv_arrow";
1744
+ s = "rect_left_inv_arrow";
1723
1745
  break;
1724
1746
  case "lean_right":
1725
- c = "lean_right";
1747
+ s = "lean_right";
1726
1748
  break;
1727
1749
  case "lean_left":
1728
- c = "lean_left";
1750
+ s = "lean_left";
1729
1751
  break;
1730
1752
  case "trapezoid":
1731
- c = "trapezoid";
1753
+ s = "trapezoid";
1732
1754
  break;
1733
1755
  case "inv_trapezoid":
1734
- c = "inv_trapezoid";
1756
+ s = "inv_trapezoid";
1735
1757
  break;
1736
1758
  case "rect_left_inv_arrow":
1737
- c = "rect_left_inv_arrow";
1759
+ s = "rect_left_inv_arrow";
1738
1760
  break;
1739
1761
  case "circle":
1740
- c = "circle";
1762
+ s = "circle";
1741
1763
  break;
1742
1764
  case "ellipse":
1743
- c = "ellipse";
1765
+ s = "ellipse";
1744
1766
  break;
1745
1767
  case "stadium":
1746
- c = "stadium";
1768
+ s = "stadium";
1747
1769
  break;
1748
1770
  case "subroutine":
1749
- c = "subroutine";
1771
+ s = "subroutine";
1750
1772
  break;
1751
1773
  case "cylinder":
1752
- c = "cylinder";
1774
+ s = "cylinder";
1753
1775
  break;
1754
1776
  case "group":
1755
- c = "rect";
1777
+ s = "rect";
1756
1778
  break;
1757
1779
  case "doublecircle":
1758
- c = "doublecircle";
1780
+ s = "doublecircle";
1759
1781
  break;
1760
- default: c = "rect";
1782
+ default: s = "rect";
1761
1783
  }
1762
- let u = M(r?.styles ?? []), d = r.label, f = r.size ?? {
1784
+ let u = j(r?.styles ?? []), d = r.label, f = r.size ?? {
1763
1785
  width: 0,
1764
1786
  height: 0,
1765
1787
  x: 0,
@@ -1767,15 +1789,15 @@ function Q(e, t, n = !1) {
1767
1789
  }, p = t.getDiagramId();
1768
1790
  return {
1769
1791
  labelStyle: u.labelStyle,
1770
- shape: c,
1792
+ shape: s,
1771
1793
  label: d,
1772
1794
  labelText: d,
1773
- rx: s,
1774
- ry: s,
1775
- class: a,
1776
- cssClasses: a,
1795
+ rx: o,
1796
+ ry: o,
1797
+ class: i,
1798
+ cssClasses: i,
1777
1799
  cssStyles: r?.styles ?? [],
1778
- cssCompiledStyles: o,
1800
+ cssCompiledStyles: a,
1779
1801
  style: u.style,
1780
1802
  id: r.id,
1781
1803
  domId: p ? `${p}-${r.id}` : r.id,
@@ -1788,49 +1810,51 @@ function Q(e, t, n = !1) {
1788
1810
  y: f.y,
1789
1811
  positioned: n,
1790
1812
  intersect: void 0,
1791
- padding: l ?? i()?.block?.padding ?? 0,
1792
- widthInColumns: r.widthInColumns ?? 1
1813
+ padding: l ?? c()?.block?.padding ?? 0,
1814
+ widthInColumns: r.widthInColumns ?? 1,
1815
+ colorIndex: r.colorIndex,
1816
+ look: c().look
1793
1817
  };
1794
1818
  }
1795
- e(Q, "getNodeFromBlock");
1796
- async function Pe(e, t, n) {
1797
- let r = Q(t, n, !1);
1819
+ e(Z, "getNodeFromBlock");
1820
+ async function Ue(e, t, n) {
1821
+ let r = Z(t, n, !1);
1798
1822
  if (t.type === "group") return;
1799
- let a = i(), o = await N(e, r, { config: a }), s = o.node()?.getBBox() ?? {
1823
+ let i = c(), a = await de(e, r, { config: i }), o = a.node()?.getBBox() ?? {
1800
1824
  width: 0,
1801
1825
  height: 0
1802
- }, c = n.getBlock(r.id);
1803
- c.size = {
1804
- width: s.width,
1805
- height: s.height,
1826
+ }, s = n.getBlock(r.id);
1827
+ s.size = {
1828
+ width: o.width,
1829
+ height: o.height,
1806
1830
  x: 0,
1807
1831
  y: 0,
1808
- node: o
1809
- }, n.setBlock(c), o.remove();
1832
+ node: a
1833
+ }, n.setBlock(s), a.remove();
1810
1834
  }
1811
- e(Pe, "calculateBlockSize");
1812
- async function Fe(e, t, n) {
1813
- let r = Q(t, n, !0);
1835
+ e(Ue, "calculateBlockSize");
1836
+ async function We(e, t, n) {
1837
+ let r = Z(t, n, !0);
1814
1838
  if (n.getBlock(r.id).type !== "space") {
1815
- let n = i();
1816
- await N(e, r, { config: n }), t.intersect = r?.intersect, ie(r);
1839
+ let n = c(), i = await de(e, r, { config: n });
1840
+ r.colorIndex !== void 0 && le(i, r.colorIndex, n.theme, n.themeVariables?.borderColorArray), t.intersect = r?.intersect, ue(r);
1817
1841
  }
1818
1842
  }
1819
- e(Fe, "insertBlockPositioned");
1820
- async function $(e, t, n, r) {
1821
- for (let i of t) await r(e, i, n), i.children && await $(e, i.children, n, r);
1843
+ e(We, "insertBlockPositioned");
1844
+ async function Q(e, t, n, r) {
1845
+ for (let i of t) await r(e, i, n), i.children && await Q(e, i.children, n, r);
1822
1846
  }
1823
- e($, "performOperations");
1824
- async function Ie(e, t, n) {
1825
- await $(e, t, n, Pe);
1847
+ e(Q, "performOperations");
1848
+ async function Ge(e, t, n) {
1849
+ await Q(e, t, n, Ue);
1826
1850
  }
1827
- e(Ie, "calculateBlockSizes");
1828
- async function Le(e, t, n) {
1829
- await $(e, t, n, Fe);
1851
+ e(Ge, "calculateBlockSizes");
1852
+ async function Ke(e, t, n) {
1853
+ await Q(e, t, n, We);
1830
1854
  }
1831
- e(Le, "insertBlocks");
1832
- async function Re(e, t, n, r, i) {
1833
- let a = new le({
1855
+ e(Ke, "insertBlocks");
1856
+ async function $(e, t, n, r, i) {
1857
+ let a = new ge({
1834
1858
  multigraph: !0,
1835
1859
  compound: !0
1836
1860
  });
@@ -1863,14 +1887,14 @@ async function Re(e, t, n, r, i) {
1863
1887
  y: s.y
1864
1888
  }
1865
1889
  ], l = i ? `${i}-${n.id}` : n.id, u = `${n.thickness === "thick" ? "edge-thickness-thick" : "edge-thickness-normal"} ${n.pattern === "dotted" ? "edge-pattern-dotted" : "edge-pattern-solid"} flowchart-link LS-a1 LE-b1`;
1866
- se(e, {
1890
+ me(e, {
1867
1891
  ...n,
1868
1892
  id: l,
1869
1893
  arrowTypeEnd: n.arrowTypeEnd,
1870
1894
  arrowTypeStart: n.arrowTypeStart,
1871
1895
  points: c,
1872
1896
  classes: u
1873
- }, {}, "block", a.node(n.start), a.node(n.end), i), n.label && (await ae(e, {
1897
+ }, {}, "block", a.node(n.start), a.node(n.end), i), n.label && (await fe(e, {
1874
1898
  ...n,
1875
1899
  label: n.label,
1876
1900
  labelStyle: "stroke: #333; stroke-width: 1.5px;fill:none;",
@@ -1878,7 +1902,7 @@ async function Re(e, t, n, r, i) {
1878
1902
  arrowTypeStart: n.arrowTypeStart,
1879
1903
  points: c,
1880
1904
  classes: u
1881
- }), oe({
1905
+ }), he({
1882
1906
  ...n,
1883
1907
  x: c[1].x,
1884
1908
  y: c[1].y
@@ -1886,37 +1910,37 @@ async function Re(e, t, n, r, i) {
1886
1910
  }
1887
1911
  }
1888
1912
  }
1889
- e(Re, "insertEdges");
1890
- var ze = {
1891
- parser: ge,
1892
- db: je,
1913
+ e($, "insertEdges");
1914
+ var qe = {
1915
+ parser: Ce,
1916
+ db: Re,
1893
1917
  renderer: {
1894
- draw: /* @__PURE__ */ e(async function(e, r, o, s) {
1895
- let { securityLevel: c, block: l } = i(), u = s.db;
1918
+ draw: /* @__PURE__ */ e(async function(e, r, i, a) {
1919
+ let { securityLevel: s, block: l } = c(), u = a.db;
1896
1920
  u.setDiagramId(r);
1897
1921
  let d;
1898
- c === "sandbox" && (d = n("#i" + r));
1899
- let f = n(c === "sandbox" ? d.nodes()[0].contentDocument.body : "body"), p = c === "sandbox" ? f.select(`[id="${r}"]`) : n(`[id="${r}"]`);
1900
- ce(p, [
1922
+ s === "sandbox" && (d = n("#i" + r));
1923
+ let f = n(s === "sandbox" ? d.nodes()[0].contentDocument.body : "body"), p = s === "sandbox" ? f.select(`[id="${r}"]`) : n(`[id="${r}"]`);
1924
+ ie(p, c()), pe(p, [
1901
1925
  "point",
1902
1926
  "circle",
1903
1927
  "cross"
1904
- ], s.type, r);
1928
+ ], a.type, r);
1905
1929
  let m = u.getBlocks(), h = u.getBlocksFlat(), g = u.getEdges(), _ = p.insert("g").attr("class", "block");
1906
- await Ie(_, m, u);
1907
- let v = Z(u);
1908
- await Le(_, m, u), await Re(_, g, h, u, r);
1930
+ await Ge(_, m, u);
1931
+ let v = He(u);
1932
+ await Ke(_, m, u), await $(_, g, h, u, r);
1909
1933
  let y = _.node()?.getBBox(), b = y && Number.isFinite(y.width) && Number.isFinite(y.height) ? y : v;
1910
1934
  if (b) {
1911
1935
  let e = Math.max(1, Math.round(.125 * (b.width / b.height))), n = b.height + e + 10, r = b.width + 10, { useMaxWidth: i } = l;
1912
- a(p, n, r, !!i), t.debug("Here Bounds", v, b), p.attr("viewBox", `${b.x - 5} ${b.y - 5} ${b.width + 10} ${b.height + 10}`);
1936
+ o(p, n, r, !!i), t.debug("Here Bounds", v, b), p.attr("viewBox", `${b.x - 5} ${b.y - 5} ${b.width + 10} ${b.height + 10}`);
1913
1937
  }
1914
1938
  }, "draw"),
1915
1939
  getClasses: /* @__PURE__ */ e(function(e, t) {
1916
1940
  return t.db.getClasses();
1917
1941
  }, "getClasses")
1918
1942
  },
1919
- styles: Me
1943
+ styles: Be
1920
1944
  };
1921
1945
  //#endregion
1922
- export { ze as diagram };
1946
+ export { qe as diagram };