@sme.up/ketchup2 2.6.0 → 2.8.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 (598) hide show
  1. package/dist/abnfDiagram-VCTEODGH-C9blQ78p.cjs +1 -0
  2. package/dist/abnfDiagram-VCTEODGH-DZIaCwNE.js +89 -0
  3. package/dist/{arc-yUAZoqJP.js → arc-7ZXqzxve.js} +1 -1
  4. package/dist/{arc-CYi2lpSd.cjs → arc-DBilzVYt.cjs} +1 -1
  5. package/dist/architecture-7GRP2DOG-DYFsLst2.js +3 -0
  6. package/dist/architecture-7GRP2DOG-DdhuGtEz.cjs +1 -0
  7. package/dist/architectureDiagram-5GKGNRK7-B080D0D_.cjs +36 -0
  8. package/dist/{architectureDiagram-3BPJPVTR-CMX2LiQK.js → architectureDiagram-5GKGNRK7-BJvIxhbL.js} +338 -252
  9. package/dist/assets/svg/functions.svg +1 -0
  10. package/dist/basic-components/autocomplete/autocomplete-types.d.ts +2 -1
  11. package/dist/basic-components/autocomplete/autocomplete-types.d.ts.map +1 -1
  12. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  13. package/dist/basic-components/button/button-utils.d.ts.map +1 -1
  14. package/dist/basic-components/button-list/button-list-types.d.ts +2 -1
  15. package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
  16. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  17. package/dist/basic-components/cell/cell-types.d.ts +5 -0
  18. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  19. package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
  20. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  21. package/dist/basic-components/checkbox/checkbox-types.d.ts +5 -0
  22. package/dist/basic-components/checkbox/checkbox-types.d.ts.map +1 -1
  23. package/dist/basic-components/chips/chips-types.d.ts +15 -1
  24. package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
  25. package/dist/basic-components/chips/chips.d.ts.map +1 -1
  26. package/dist/basic-components/chips-input/chips-input-types.d.ts +5 -0
  27. package/dist/basic-components/chips-input/chips-input-types.d.ts.map +1 -1
  28. package/dist/basic-components/chips-input/chips-input.d.ts.map +1 -1
  29. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts +5 -0
  30. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts.map +1 -1
  31. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
  32. package/dist/basic-components/multiple-select/multiple-select-types.d.ts +5 -0
  33. package/dist/basic-components/multiple-select/multiple-select-types.d.ts.map +1 -1
  34. package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
  35. package/dist/blockDiagram-I7D4REHJ-C5aW9ypR.js +1919 -0
  36. package/dist/blockDiagram-I7D4REHJ-fT7Of27R.cjs +129 -0
  37. package/dist/c4Diagram-7LVT6UL2-B1n5PnN5.cjs +38 -0
  38. package/dist/{c4Diagram-AAUBKEIU-BUOgTWLR.js → c4Diagram-7LVT6UL2-JxFfT5VH.js} +808 -789
  39. package/dist/channel-BvUly9jN.cjs +1 -0
  40. package/dist/{channel-CAhFwf6U.js → channel-D6agWknC.js} +1 -1
  41. package/dist/chunk-2E4U76K2-BiZwNOhf.cjs +1 -0
  42. package/dist/chunk-2E4U76K2-C8vehurw.js +346 -0
  43. package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +1 -0
  44. package/dist/{chunk-QZHKN3VN-cS9OamWo.js → chunk-2Q5K7J3B-kzxEEeTu.js} +2 -2
  45. package/dist/chunk-4HAMMTFA-Db_fcZEn.cjs +62 -0
  46. package/dist/{chunk-3OPIFGDE-BYuWDDGY.js → chunk-4HAMMTFA-MZIwowe1.js} +1665 -1143
  47. package/dist/{chunk-FMBD7UC4-Cia16Ryi.js → chunk-5VM5RSS4-Cr17nBXp.js} +2 -2
  48. package/dist/{chunk-FMBD7UC4-BLLpskYF.cjs → chunk-5VM5RSS4-CwDmQ9T_.cjs} +1 -1
  49. package/dist/{chunk-5ZQYHXKU-BvO58_5C.js → chunk-75Z2AOVW-BwUD389x.js} +56 -55
  50. package/dist/chunk-75Z2AOVW-RbCLc-XL.cjs +2 -0
  51. package/dist/chunk-CLGD4ZFX-DKRy6g5T.js +10 -0
  52. package/dist/chunk-CLGD4ZFX-Dvn-kRD7.cjs +1 -0
  53. package/dist/{chunk-CSCIHK7Q-Drr_NBLR.js → chunk-DU6HZSFF-CNSdkWoH.js} +1584 -621
  54. package/dist/chunk-DU6HZSFF-mznJTFyO.cjs +127 -0
  55. package/dist/chunk-F27PBJKO-C5NrgqMI.cjs +1 -0
  56. package/dist/{chunk-ND2GUHAM-CKQ1Jk8O.js → chunk-F27PBJKO-DKsmevT5.js} +18 -17
  57. package/dist/chunk-FOHPRMQF-BYsnEQU5.cjs +161 -0
  58. package/dist/{chunk-NNHCCRGN-BB1q5NkR.js → chunk-FOHPRMQF-C49KxWOg.js} +5156 -4419
  59. package/dist/chunk-GMAD6QVW-BVSRANO9.cjs +72 -0
  60. package/dist/{chunk-O5CBEL6O-BIU6TcWp.js → chunk-GMAD6QVW-DKxKOKLF.js} +459 -503
  61. package/dist/chunk-GVQU2GXP-BiuaO1L5.cjs +1 -0
  62. package/dist/chunk-GVQU2GXP-w4KY-she.js +37 -0
  63. package/dist/chunk-IMKFNOWR-CusIwu2H.cjs +231 -0
  64. package/dist/{chunk-AQP2D5EJ-Cp3ieoZF.js → chunk-IMKFNOWR-DHxMOe_C.js} +313 -291
  65. package/dist/{chunk-4BX2VUAB-B74FMcxr.js → chunk-JWPE2WC7-Ccb0QaC8.js} +2 -2
  66. package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +1 -0
  67. package/dist/chunk-L3NEJ4N5-B8UQMgqc.cjs +1 -0
  68. package/dist/chunk-L3NEJ4N5-CvNbHpcd.js +245 -0
  69. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  70. package/dist/chunk-LNGE3PJU-TgsSSByc.cjs +34 -0
  71. package/dist/{chunk-KSCS5N6A-pd39ksIM.js → chunk-OSK3NFVY-BmtDbEvT.js} +304 -195
  72. package/dist/chunk-OSK3NFVY-DE9_ERt9.cjs +10 -0
  73. package/dist/chunk-P2QGCYS3-DRvvOWJ2.js +67 -0
  74. package/dist/chunk-P2QGCYS3-DqT85Q-S.cjs +1 -0
  75. package/dist/chunk-POPQ4Y6H-CaEkosGL.js +26 -0
  76. package/dist/chunk-POPQ4Y6H-QqO5seyb.cjs +1 -0
  77. package/dist/chunk-PWAF6VOD-CbmhQpgH.js +277 -0
  78. package/dist/chunk-PWAF6VOD-CjrO-QHU.cjs +1 -0
  79. package/dist/{flowDiagram-I6XJVG4X-Dx5d6cgt.js → chunk-SHT3W25Y-DJgD-hyF.js} +581 -538
  80. package/dist/chunk-SHT3W25Y-DuMn9iH6.cjs +168 -0
  81. package/dist/chunk-SVP7TREG-BNwvtyzm.js +490 -0
  82. package/dist/chunk-SVP7TREG-CiwWyOxx.cjs +88 -0
  83. package/dist/chunk-TICWLB2K-1u0p_luB.cjs +206 -0
  84. package/dist/{chunk-727SXJPM-BDsxon3G.js → chunk-TICWLB2K-DqSHwYf9.js} +185 -180
  85. package/dist/chunk-TLUHSLCS-ZDzqyqeY.cjs +1 -0
  86. package/dist/{chunk-LZXEDZCA-oQMllZja.js → chunk-TLUHSLCS-opHh7fd-.js} +35 -25
  87. package/dist/chunk-XXDRQBXY-BF71LTT1.cjs +1 -0
  88. package/dist/chunk-XXDRQBXY-BZK6GgVm.js +9 -0
  89. package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +1 -0
  90. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  91. package/dist/classDiagram-ZZMXUADV-BTRkvFx4.js +30 -0
  92. package/dist/classDiagram-ZZMXUADV-CwAl_N60.cjs +1 -0
  93. package/dist/classDiagram-v2-VYDZK3BY-CFutvfy-.js +30 -0
  94. package/dist/classDiagram-v2-VYDZK3BY-CwAl_N60.cjs +1 -0
  95. package/dist/components/activity-timeline/activity-timeline-types.d.ts +46 -0
  96. package/dist/components/activity-timeline/activity-timeline-types.d.ts.map +1 -0
  97. package/dist/components/activity-timeline/activity-timeline.d.ts +4 -0
  98. package/dist/components/activity-timeline/activity-timeline.d.ts.map +1 -0
  99. package/dist/components/box-list/box-list.d.ts.map +1 -1
  100. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts +12 -0
  101. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts.map +1 -0
  102. package/dist/components/data-table/assets/data-table-row-actions.d.ts +11 -0
  103. package/dist/components/data-table/assets/data-table-row-actions.d.ts.map +1 -0
  104. package/dist/components/data-table/columns/useColumnWidths.d.ts +6 -1
  105. package/dist/components/data-table/columns/useColumnWidths.d.ts.map +1 -1
  106. package/dist/components/data-table/data-table-types.d.ts +108 -4
  107. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  108. package/dist/components/data-table/data-table.d.ts.map +1 -1
  109. package/dist/components/data-table/header/Header.d.ts.map +1 -1
  110. package/dist/components/data-table/header/header-types.d.ts +14 -4
  111. package/dist/components/data-table/header/header-types.d.ts.map +1 -1
  112. package/dist/components/data-table/sorting/parseDftSort.d.ts +14 -0
  113. package/dist/components/data-table/sorting/parseDftSort.d.ts.map +1 -0
  114. package/dist/components/data-table/sorting/parseDftSort.test.d.ts +2 -0
  115. package/dist/components/data-table/sorting/parseDftSort.test.d.ts.map +1 -0
  116. package/dist/components/data-table/sorting/sortTable-utils.d.ts +8 -9
  117. package/dist/components/data-table/sorting/sortTable-utils.d.ts.map +1 -1
  118. package/dist/components/data-table/sorting/useSortableTable.d.ts +3 -5
  119. package/dist/components/data-table/sorting/useSortableTable.d.ts.map +1 -1
  120. package/dist/components/data-table/state/datatable-state.d.ts +1 -0
  121. package/dist/components/data-table/state/datatable-state.d.ts.map +1 -1
  122. package/dist/components/tab-bar/tab-bar-assets.d.ts +1 -0
  123. package/dist/components/tab-bar/tab-bar-assets.d.ts.map +1 -1
  124. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  125. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts +14 -0
  126. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -0
  127. package/dist/components/workflow-designer/workflow-designer-types.d.ts +109 -0
  128. package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -0
  129. package/dist/components/workflow-designer/workflow-designer-utils.d.ts +86 -0
  130. package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -0
  131. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts +2 -0
  132. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts.map +1 -0
  133. package/dist/components/workflow-designer/workflow-designer.d.ts +15 -0
  134. package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -0
  135. package/dist/{cose-bilkent-S5V4N54A-DZmA7Nat.js → cose-bilkent-JH36ORCC-CE0T5PqO.js} +23 -23
  136. package/dist/cose-bilkent-JH36ORCC-D6t9R42P.cjs +1 -0
  137. package/dist/cynefin-OW5HDTMX-CsZ3W32G.cjs +1 -0
  138. package/dist/cynefin-OW5HDTMX-DlKRHClQ.js +3 -0
  139. package/dist/cynefinDiagram-5FMLGOSQ-D5vkxB9p.js +349 -0
  140. package/dist/cynefinDiagram-5FMLGOSQ-D95Uad6U.cjs +62 -0
  141. package/dist/{cytoscape.esm-BU21wl3m.js → cytoscape.esm-BQqfb1oS.js} +2260 -2206
  142. package/dist/cytoscape.esm-TdwWzXkE.cjs +321 -0
  143. package/dist/dagre-GXQ25YYZ-CFXgAmuL.js +423 -0
  144. package/dist/dagre-GXQ25YYZ-NS5a_ezX.cjs +4 -0
  145. package/dist/{dagre-B2BBwKNb.cjs → dagre-nX1Mh32P.cjs} +1 -1
  146. package/dist/{dagre-3-RnF0EK.js → dagre-qXSFUdzO.js} +131 -131
  147. package/dist/diagram-S7CK7UJ4-CTj-4VAh.cjs +30 -0
  148. package/dist/diagram-S7CK7UJ4-DrGNegqs.js +301 -0
  149. package/dist/{diagram-2AECGRRQ-BITzWXbn.js → diagram-UQ7AKVKN-LU56O9S9.js} +82 -81
  150. package/dist/diagram-UQ7AKVKN-eskbTWOc.cjs +41 -0
  151. package/dist/{diagram-KO2AKTUF-DwTH3Hoo.js → diagram-VSXAHHWV-CaQnupEx.js} +66 -65
  152. package/dist/diagram-VSXAHHWV-DzHhzg5V.cjs +3 -0
  153. package/dist/diagram-VX7I27RA-D7Ibz__z.cjs +24 -0
  154. package/dist/{diagram-OG6HWLK6-CPzvG6Xi.js → diagram-VX7I27RA-DH-s9daK.js} +105 -104
  155. package/dist/diagram-Z3DM3KII-BpFP72Tr.cjs +24 -0
  156. package/dist/{diagram-LMA3HP47-nYPIM4Uq.js → diagram-Z3DM3KII-DWhRX2l9.js} +21 -20
  157. package/dist/{dist-BEmBi80K.js → dist-C7OpkiTz.js} +2 -3
  158. package/dist/dist-DrOEvFlx.cjs +1 -0
  159. package/dist/ebnfDiagram-PWID7BFC-CtT2erlt.js +100 -0
  160. package/dist/ebnfDiagram-PWID7BFC-DXCy8fra.cjs +1 -0
  161. package/dist/erDiagram-RLTQ6QDP-B-cUtqmN.cjs +99 -0
  162. package/dist/erDiagram-RLTQ6QDP-CxxAoCSs.js +1966 -0
  163. package/dist/eventmodeling-NTZA5JFV-5J5w1INt.js +3 -0
  164. package/dist/eventmodeling-NTZA5JFV-DcUTtbEf.cjs +1 -0
  165. package/dist/flowDiagram-HODETNUW-B6sXxv0S.cjs +1 -0
  166. package/dist/flowDiagram-HODETNUW-BUvMJJnE.js +17 -0
  167. package/dist/functional-components/action-list/action-list-types.d.ts +0 -7
  168. package/dist/functional-components/action-list/action-list-types.d.ts.map +1 -1
  169. package/dist/functional-components/action-list/action-list.d.ts.map +1 -1
  170. package/dist/functional-components/multiple-field/multiple-field-types.d.ts +2 -0
  171. package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
  172. package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
  173. package/dist/functional-components/row/row-types.d.ts +13 -0
  174. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  175. package/dist/functional-components/row/row.d.ts.map +1 -1
  176. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +3 -1
  177. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  178. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  179. package/dist/functional-components/tree-picker/tree-picker-types.d.ts +42 -0
  180. package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -0
  181. package/dist/functional-components/tree-picker/tree-picker.d.ts +3 -0
  182. package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -0
  183. package/dist/ganttDiagram-EL5Y4UJY-Bee0Pd-N.cjs +292 -0
  184. package/dist/{ganttDiagram-6RSMTGT7-CFuwKLrB.js → ganttDiagram-EL5Y4UJY-C04RZW4s.js} +642 -639
  185. package/dist/gitGraph-4MIJSDKK-BCt5iiZ5.js +3 -0
  186. package/dist/gitGraph-4MIJSDKK-BeFVwcRC.cjs +1 -0
  187. package/dist/{gitGraphDiagram-PVQCEYII-B2CaQTP_.js → gitGraphDiagram-WWUBYQGX-BTcuEGsY.js} +146 -145
  188. package/dist/gitGraphDiagram-WWUBYQGX-DA026nbS.cjs +106 -0
  189. package/dist/index.d.ts +6 -6
  190. package/dist/index.d.ts.map +1 -1
  191. package/dist/info-A6RAGUB7-C0KA0jej.cjs +1 -0
  192. package/dist/info-A6RAGUB7-DYBvudiC.js +3 -0
  193. package/dist/infoDiagram-27XIBGKW-B5nTXQEj.cjs +2 -0
  194. package/dist/infoDiagram-27XIBGKW-BoUOV42E.js +20 -0
  195. package/dist/{ishikawaDiagram-YF4QCWOH-CfOvUIo-.js → ishikawaDiagram-5VMMS53U-D15Hi9wp.js} +134 -133
  196. package/dist/{ishikawaDiagram-YF4QCWOH-CSRSkgHx.cjs → ishikawaDiagram-5VMMS53U-ptk0d5z2.cjs} +6 -6
  197. package/dist/{journeyDiagram-JHISSGLW-BMECXtd1.js → journeyDiagram-3NMN7TZE-BUb4frTN.js} +181 -180
  198. package/dist/{journeyDiagram-JHISSGLW-P42eSNEh.cjs → journeyDiagram-3NMN7TZE-CxVpPKa-.cjs} +8 -8
  199. package/dist/kanban-definition-UXKFOSKX-Cd_nphr7.cjs +89 -0
  200. package/dist/{kanban-definition-UN3LZRKU-DCzfGTs4.js → kanban-definition-UXKFOSKX-DkgBC20j.js} +141 -138
  201. package/dist/katex-DUe6VLjC.cjs +257 -0
  202. package/dist/{katex-D-2KeLwt.js → katex-Dyoqg6Cv.js} +1562 -1600
  203. package/dist/ketchup2.cjs.js +405 -101
  204. package/dist/ketchup2.css +1 -1
  205. package/dist/ketchup2.es.js +151183 -119083
  206. package/dist/{line-0G6sJTVA.js → line-BEo8vh4N.js} +1 -1
  207. package/dist/{line-CLmmMPn2.cjs → line-wiGgVVGi.cjs} +1 -1
  208. package/dist/{linear-BNWgac81.js → linear-BNesvT28.js} +1 -1
  209. package/dist/{linear-yBssgUAc.cjs → linear-YA14Lx5Z.cjs} +1 -1
  210. package/dist/locale/en/translation.json.d.ts +23 -0
  211. package/dist/locale/it/translation.json.d.ts +24 -1
  212. package/dist/mermaid-parser.core-CqChDTj1.cjs +6 -0
  213. package/dist/mermaid-parser.core-oFB-qEU8.js +638 -0
  214. package/dist/{mindmap-definition-RKZ34NQL-DbK4qO1Z.cjs → mindmap-definition-YA3MSWOX-0PG4raFG.cjs} +11 -11
  215. package/dist/{mindmap-definition-RKZ34NQL-DpX8ksst.js → mindmap-definition-YA3MSWOX-Cjs12XgD.js} +156 -154
  216. package/dist/packet-AYTQ26CC-BEwXWBE0.js +3 -0
  217. package/dist/packet-AYTQ26CC-DfXUrk97.cjs +1 -0
  218. package/dist/pegDiagram-XKGWAZYB-BuyVzOiH.js +94 -0
  219. package/dist/pegDiagram-XKGWAZYB-J7VwZsJf.cjs +1 -0
  220. package/dist/pie-WAS4IAKB-4NfHFfJd.cjs +1 -0
  221. package/dist/pie-WAS4IAKB-BOR5Wwai.js +3 -0
  222. package/dist/pieDiagram-E7YTZNPT-B-rPB0ZO.cjs +39 -0
  223. package/dist/pieDiagram-E7YTZNPT-D4bB4TDP.js +205 -0
  224. package/dist/{quadrantDiagram-W4KKPZXB-Bgw66PrU.js → quadrantDiagram-AXDQQJYC-B6Q9biU9.js} +293 -293
  225. package/dist/quadrantDiagram-AXDQQJYC-C5sdY1DW.cjs +7 -0
  226. package/dist/radar-RG4KPBEZ-BwLQFFzF.js +3 -0
  227. package/dist/radar-RG4KPBEZ-_epvvHKu.cjs +1 -0
  228. package/dist/railroad-74A4TZTK-CaWzRQE0.js +3 -0
  229. package/dist/railroad-74A4TZTK-D2qbdjOh.cjs +1 -0
  230. package/dist/railroad-abnf-HS5TGJTU-D2tm1mra.js +3 -0
  231. package/dist/railroad-abnf-HS5TGJTU-_ThxftPt.cjs +1 -0
  232. package/dist/railroad-ebnf-LZEXJU2U-CKpMMgXK.cjs +1 -0
  233. package/dist/railroad-ebnf-LZEXJU2U-KAuGgmQe.js +3 -0
  234. package/dist/railroad-peg-WCYAUIDC-B8bfIIor.cjs +1 -0
  235. package/dist/railroad-peg-WCYAUIDC-XB38GivH.js +3 -0
  236. package/dist/railroadDiagram-O6MQD6OU-C7LfgSGm.cjs +1 -0
  237. package/dist/railroadDiagram-O6MQD6OU-DFR4_PxB.js +76 -0
  238. package/dist/{requirementDiagram-4Y6WPE33-BzNEhq-x.js → requirementDiagram-BXWQKSXE-BfWCCTu8.js} +169 -166
  239. package/dist/requirementDiagram-BXWQKSXE-y2O3wvFe.cjs +84 -0
  240. package/dist/{sankeyDiagram-5OEKKPKP-06MsaQmt.js → sankeyDiagram-P5KCCOFB-B_3NESVW.js} +109 -108
  241. package/dist/sankeyDiagram-P5KCCOFB-z8VLw23o.cjs +40 -0
  242. package/dist/sequenceDiagram-WJ2MYXX4-3cWo24Xv.cjs +162 -0
  243. package/dist/{sequenceDiagram-3UESZ5HK-QEaDF4MY.js → sequenceDiagram-WJ2MYXX4-B8W9PUBb.js} +692 -688
  244. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  245. package/dist/sizeCapture-INFHLROL-bJ2ZX4Du.cjs +1 -0
  246. package/dist/src-B16ML7oM.cjs +1 -0
  247. package/dist/{src-GDFuItmC.js → src-D-6ZfKf9.js} +587 -579
  248. package/dist/stateDiagram-D77RDMKH-DghYG1f5.cjs +1 -0
  249. package/dist/stateDiagram-D77RDMKH-IwptGFzp.js +220 -0
  250. package/dist/stateDiagram-v2-MP3YSRHH-0rNAzd4v.cjs +1 -0
  251. package/dist/stateDiagram-v2-MP3YSRHH-NATCGJSV.js +30 -0
  252. package/dist/swimlanes-42K2YHIH-jhIjSCsq.js +4976 -0
  253. package/dist/swimlanes-42K2YHIH-svHo0tVy.cjs +1 -0
  254. package/dist/swimlanesDiagram-VR7AAH4N-DKxpX9Hj.js +31 -0
  255. package/dist/swimlanesDiagram-VR7AAH4N-DcDLe-u-.cjs +8 -0
  256. package/dist/{timeline-definition-PNZ67QCA-DoD4D5kw.js → timeline-definition-24CTP7MA-C6u6A92C.js} +212 -211
  257. package/dist/timeline-definition-24CTP7MA-CA62jwSB.cjs +120 -0
  258. package/dist/treeView-Q6P3EWNA-CkgGYPwy.js +3 -0
  259. package/dist/treeView-Q6P3EWNA-zIJfTe51.cjs +1 -0
  260. package/dist/treemap-WGGIJYW6-CooEnQQp.cjs +1 -0
  261. package/dist/treemap-WGGIJYW6-D4tTzsvR.js +3 -0
  262. package/dist/types/data-structures.d.ts +0 -1
  263. package/dist/types/data-structures.d.ts.map +1 -1
  264. package/dist/types/global.d.ts +1 -1
  265. package/dist/types/global.d.ts.map +1 -1
  266. package/dist/types/translation.d.ts +24 -1
  267. package/dist/types/translation.d.ts.map +1 -1
  268. package/dist/utils/data-structures.d.ts +2 -1
  269. package/dist/utils/data-structures.d.ts.map +1 -1
  270. package/dist/{vennDiagram-CIIHVFJN-Du1h-z8K.js → vennDiagram-4TSXK5OY-Bt9cyeRX.js} +324 -302
  271. package/dist/vennDiagram-4TSXK5OY-YKU1Lb_h.cjs +34 -0
  272. package/dist/wardley-WFR3VGLG-Cp2KFpcw.cjs +1 -0
  273. package/dist/wardley-WFR3VGLG-D1o3hFSK.js +3 -0
  274. package/dist/wardleyDiagram-VM6X3IG4-BvyabMK8.cjs +78 -0
  275. package/dist/{wardleyDiagram-YWT4CUSO-CjOm3Xnp.js → wardleyDiagram-VM6X3IG4-QkNx10Ny.js} +144 -143
  276. package/dist/{xychartDiagram-2RQKCTM6-D0hXWFFN.js → xychartDiagram-S5SC5T6Z-BSwoR01A.js} +729 -559
  277. package/dist/xychartDiagram-S5SC5T6Z-BtNTzcXw.cjs +7 -0
  278. package/package.json +6 -2
  279. package/dist/architecture-7EHR7CIX-Bzeobe9Y.cjs +0 -1
  280. package/dist/architecture-7EHR7CIX-C8NPmR2w.js +0 -3
  281. package/dist/architectureDiagram-3BPJPVTR-C8DI7_Rn.cjs +0 -36
  282. package/dist/assets/shapeListAssets.d.ts +0 -22
  283. package/dist/assets/shapeListAssets.d.ts.map +0 -1
  284. package/dist/basic-components/card/card-slot-resolver.d.ts +0 -6
  285. package/dist/basic-components/card/card-slot-resolver.d.ts.map +0 -1
  286. package/dist/basic-components/card/card-types.d.ts +0 -43
  287. package/dist/basic-components/card/card-types.d.ts.map +0 -1
  288. package/dist/basic-components/card/card.d.ts +0 -5
  289. package/dist/basic-components/card/card.d.ts.map +0 -1
  290. package/dist/basic-components/card/flow/aside/index.d.ts +0 -2
  291. package/dist/basic-components/card/flow/aside/index.d.ts.map +0 -1
  292. package/dist/basic-components/card/flow/compact/index.d.ts +0 -2
  293. package/dist/basic-components/card/flow/compact/index.d.ts.map +0 -1
  294. package/dist/basic-components/card/flow/editorial/index.d.ts +0 -2
  295. package/dist/basic-components/card/flow/editorial/index.d.ts.map +0 -1
  296. package/dist/basic-components/card/flow/minimal/index.d.ts +0 -2
  297. package/dist/basic-components/card/flow/minimal/index.d.ts.map +0 -1
  298. package/dist/basic-components/card/flow/overlay/index.d.ts +0 -2
  299. package/dist/basic-components/card/flow/overlay/index.d.ts.map +0 -1
  300. package/dist/basic-components/card/flow/shared/flow-layout.d.ts +0 -4
  301. package/dist/basic-components/card/flow/shared/flow-layout.d.ts.map +0 -1
  302. package/dist/basic-components/card/flow/split/index.d.ts +0 -2
  303. package/dist/basic-components/card/flow/split/index.d.ts.map +0 -1
  304. package/dist/basic-components/card/flow/spotlight/index.d.ts +0 -2
  305. package/dist/basic-components/card/flow/spotlight/index.d.ts.map +0 -1
  306. package/dist/basic-components/card/flow/tiles/index.d.ts +0 -2
  307. package/dist/basic-components/card/flow/tiles/index.d.ts.map +0 -1
  308. package/dist/basic-components/card/layout-registry.d.ts +0 -4
  309. package/dist/basic-components/card/layout-registry.d.ts.map +0 -1
  310. package/dist/basic-components/card/positional/collaborator/index.d.ts +0 -4
  311. package/dist/basic-components/card/positional/collaborator/index.d.ts.map +0 -1
  312. package/dist/basic-components/card/positional/detailed-object/index.d.ts +0 -5
  313. package/dist/basic-components/card/positional/detailed-object/index.d.ts.map +0 -1
  314. package/dist/basic-components/card/positional/financial/index.d.ts +0 -4
  315. package/dist/basic-components/card/positional/financial/index.d.ts.map +0 -1
  316. package/dist/basic-components/card/positional/folder-grid/index.d.ts +0 -4
  317. package/dist/basic-components/card/positional/folder-grid/index.d.ts.map +0 -1
  318. package/dist/basic-components/card/positional/hero/index.d.ts +0 -4
  319. package/dist/basic-components/card/positional/hero/index.d.ts.map +0 -1
  320. package/dist/basic-components/card/positional/product/index.d.ts +0 -4
  321. package/dist/basic-components/card/positional/product/index.d.ts.map +0 -1
  322. package/dist/basic-components/card/positional/shared/object-card.d.ts +0 -24
  323. package/dist/basic-components/card/positional/shared/object-card.d.ts.map +0 -1
  324. package/dist/basic-components/card/positional/shared/utils.d.ts +0 -26
  325. package/dist/basic-components/card/positional/shared/utils.d.ts.map +0 -1
  326. package/dist/basic-components/card/positional/simple-object/index.d.ts +0 -5
  327. package/dist/basic-components/card/positional/simple-object/index.d.ts.map +0 -1
  328. package/dist/basic-components/card/positional/tooltip/index.d.ts +0 -4
  329. package/dist/basic-components/card/positional/tooltip/index.d.ts.map +0 -1
  330. package/dist/basic-components/card/positional/trend/index.d.ts +0 -4
  331. package/dist/basic-components/card/positional/trend/index.d.ts.map +0 -1
  332. package/dist/blockDiagram-GPEHLZMM-C7mogpj_.cjs +0 -132
  333. package/dist/blockDiagram-GPEHLZMM-fcAaH_Ka.js +0 -3157
  334. package/dist/c4Diagram-AAUBKEIU-BjsHAdap.cjs +0 -10
  335. package/dist/cell-NyD4Bcyq.js +0 -6457
  336. package/dist/cell-dpOG-xr_.cjs +0 -6
  337. package/dist/channel-BzP1tmYc.cjs +0 -1
  338. package/dist/chunk-2J33WTMH-BulZYTKs.js +0 -25
  339. package/dist/chunk-2J33WTMH-DIfvCbWZ.cjs +0 -1
  340. package/dist/chunk-3OPIFGDE-Ohf7vgmX.cjs +0 -62
  341. package/dist/chunk-4BX2VUAB-DdliHvKq.cjs +0 -1
  342. package/dist/chunk-55IACEB6-D5PlvtBC.js +0 -8
  343. package/dist/chunk-55IACEB6-DzCdT-ru.cjs +0 -1
  344. package/dist/chunk-5ZQYHXKU-35HHGVyc.cjs +0 -2
  345. package/dist/chunk-727SXJPM-BCv3AEZb.cjs +0 -206
  346. package/dist/chunk-AQP2D5EJ-CPbTYzEZ.cjs +0 -231
  347. package/dist/chunk-BSJP7CBP-BjkTjHJ6.js +0 -82
  348. package/dist/chunk-BSJP7CBP-DtjFXF0S.cjs +0 -1
  349. package/dist/chunk-CSCIHK7Q-WWTYrQLt.cjs +0 -122
  350. package/dist/chunk-Dqa2HsxW.js +0 -20
  351. package/dist/chunk-KSCS5N6A-DSWnBtbV.cjs +0 -10
  352. package/dist/chunk-L5ZTLDWV-DXk-PQPS.js +0 -32
  353. package/dist/chunk-L5ZTLDWV-sRcGREMv.cjs +0 -1
  354. package/dist/chunk-LZXEDZCA-4kbGESh2.cjs +0 -1
  355. package/dist/chunk-ND2GUHAM-See9KDdJ.cjs +0 -1
  356. package/dist/chunk-NNHCCRGN-qV8bfiMQ.cjs +0 -159
  357. package/dist/chunk-NZK2D7GU-CqugOMaJ.js +0 -67
  358. package/dist/chunk-NZK2D7GU-FNVK0iHI.cjs +0 -1
  359. package/dist/chunk-O5CBEL6O-BU_i0jbb.cjs +0 -70
  360. package/dist/chunk-QZHKN3VN-DPdobKra.cjs +0 -1
  361. package/dist/chunk-WU5MYG2G-BL6T82Hi.js +0 -9
  362. package/dist/chunk-WU5MYG2G-qi7ZaL3o.cjs +0 -1
  363. package/dist/chunk-XPW4576I-B9aC8EBY.js +0 -1146
  364. package/dist/chunk-XPW4576I-Dsm0jctf.cjs +0 -32
  365. package/dist/chunk-mLOUI7ql.cjs +0 -1
  366. package/dist/classDiagram-4FO5ZUOK-Dc-Jypl3.js +0 -29
  367. package/dist/classDiagram-4FO5ZUOK-Dqxk6PU-.cjs +0 -1
  368. package/dist/classDiagram-v2-Q7XG4LA2-DZ44tKmY.js +0 -29
  369. package/dist/classDiagram-v2-Q7XG4LA2-Dqxk6PU-.cjs +0 -1
  370. package/dist/components/shape-list/components/error-boundary.d.ts +0 -16
  371. package/dist/components/shape-list/components/error-boundary.d.ts.map +0 -1
  372. package/dist/components/shape-list/components/shape-list-drill-down.d.ts +0 -4
  373. package/dist/components/shape-list/components/shape-list-drill-down.d.ts.map +0 -1
  374. package/dist/components/shape-list/components/toolbar/command-panel.d.ts +0 -15
  375. package/dist/components/shape-list/components/toolbar/command-panel.d.ts.map +0 -1
  376. package/dist/components/shape-list/components/toolbar/command-trigger.d.ts +0 -16
  377. package/dist/components/shape-list/components/toolbar/command-trigger.d.ts.map +0 -1
  378. package/dist/components/shape-list/components/toolbar/filter-picker.d.ts +0 -14
  379. package/dist/components/shape-list/components/toolbar/filter-picker.d.ts.map +0 -1
  380. package/dist/components/shape-list/components/toolbar/json-viewer.d.ts +0 -11
  381. package/dist/components/shape-list/components/toolbar/json-viewer.d.ts.map +0 -1
  382. package/dist/components/shape-list/components/toolbar/navigation-picker.d.ts +0 -15
  383. package/dist/components/shape-list/components/toolbar/navigation-picker.d.ts.map +0 -1
  384. package/dist/components/shape-list/components/toolbar/sort-picker.d.ts +0 -14
  385. package/dist/components/shape-list/components/toolbar/sort-picker.d.ts.map +0 -1
  386. package/dist/components/shape-list/context/shape-list-context.d.ts +0 -31
  387. package/dist/components/shape-list/context/shape-list-context.d.ts.map +0 -1
  388. package/dist/components/shape-list/context/shape-list-filter-context.d.ts +0 -9
  389. package/dist/components/shape-list/context/shape-list-filter-context.d.ts.map +0 -1
  390. package/dist/components/shape-list/context/shape-list-sort-context.d.ts +0 -9
  391. package/dist/components/shape-list/context/shape-list-sort-context.d.ts.map +0 -1
  392. package/dist/components/shape-list/context/shape-list-state-context.d.ts +0 -5
  393. package/dist/components/shape-list/context/shape-list-state-context.d.ts.map +0 -1
  394. package/dist/components/shape-list/hooks/useCommandPickers.d.ts +0 -13
  395. package/dist/components/shape-list/hooks/useCommandPickers.d.ts.map +0 -1
  396. package/dist/components/shape-list/hooks/useLazyShapeData.d.ts +0 -35
  397. package/dist/components/shape-list/hooks/useLazyShapeData.d.ts.map +0 -1
  398. package/dist/components/shape-list/hooks/useLazyShapeData.test.d.ts +0 -2
  399. package/dist/components/shape-list/hooks/useLazyShapeData.test.d.ts.map +0 -1
  400. package/dist/components/shape-list/hooks/useNavigation.d.ts +0 -16
  401. package/dist/components/shape-list/hooks/useNavigation.d.ts.map +0 -1
  402. package/dist/components/shape-list/hooks/useSelection.d.ts +0 -34
  403. package/dist/components/shape-list/hooks/useSelection.d.ts.map +0 -1
  404. package/dist/components/shape-list/hooks/useStripOverflow.d.ts +0 -17
  405. package/dist/components/shape-list/hooks/useStripOverflow.d.ts.map +0 -1
  406. package/dist/components/shape-list/items/node-content.d.ts +0 -47
  407. package/dist/components/shape-list/items/node-content.d.ts.map +0 -1
  408. package/dist/components/shape-list/items/shape.d.ts +0 -20
  409. package/dist/components/shape-list/items/shape.d.ts.map +0 -1
  410. package/dist/components/shape-list/navigation-modes/_shared/navigation-orchestrator.d.ts +0 -13
  411. package/dist/components/shape-list/navigation-modes/_shared/navigation-orchestrator.d.ts.map +0 -1
  412. package/dist/components/shape-list/navigation-modes/_shared/panel/context-menu.d.ts +0 -4
  413. package/dist/components/shape-list/navigation-modes/_shared/panel/context-menu.d.ts.map +0 -1
  414. package/dist/components/shape-list/navigation-modes/_shared/panel/index.d.ts +0 -7
  415. package/dist/components/shape-list/navigation-modes/_shared/panel/index.d.ts.map +0 -1
  416. package/dist/components/shape-list/navigation-modes/_shared/panel/item-content.d.ts +0 -11
  417. package/dist/components/shape-list/navigation-modes/_shared/panel/item-content.d.ts.map +0 -1
  418. package/dist/components/shape-list/navigation-modes/_shared/panel/panel.d.ts +0 -18
  419. package/dist/components/shape-list/navigation-modes/_shared/panel/panel.d.ts.map +0 -1
  420. package/dist/components/shape-list/navigation-modes/_shared/panel/rail-item.d.ts +0 -8
  421. package/dist/components/shape-list/navigation-modes/_shared/panel/rail-item.d.ts.map +0 -1
  422. package/dist/components/shape-list/navigation-modes/_shared/panel/section-view.d.ts +0 -6
  423. package/dist/components/shape-list/navigation-modes/_shared/panel/section-view.d.ts.map +0 -1
  424. package/dist/components/shape-list/navigation-modes/_shared/panel/shell.d.ts +0 -13
  425. package/dist/components/shape-list/navigation-modes/_shared/panel/shell.d.ts.map +0 -1
  426. package/dist/components/shape-list/navigation-modes/_shared/panel/tree-item.d.ts +0 -9
  427. package/dist/components/shape-list/navigation-modes/_shared/panel/tree-item.d.ts.map +0 -1
  428. package/dist/components/shape-list/navigation-modes/_shared/strip/index.d.ts +0 -4
  429. package/dist/components/shape-list/navigation-modes/_shared/strip/index.d.ts.map +0 -1
  430. package/dist/components/shape-list/navigation-modes/_shared/strip/strip-child-popup.d.ts +0 -5
  431. package/dist/components/shape-list/navigation-modes/_shared/strip/strip-child-popup.d.ts.map +0 -1
  432. package/dist/components/shape-list/navigation-modes/_shared/strip/strip-item.d.ts +0 -5
  433. package/dist/components/shape-list/navigation-modes/_shared/strip/strip-item.d.ts.map +0 -1
  434. package/dist/components/shape-list/navigation-modes/_shared/strip/strip-overflow-button.d.ts +0 -5
  435. package/dist/components/shape-list/navigation-modes/_shared/strip/strip-overflow-button.d.ts.map +0 -1
  436. package/dist/components/shape-list/navigation-modes/catalog/index.d.ts +0 -3
  437. package/dist/components/shape-list/navigation-modes/catalog/index.d.ts.map +0 -1
  438. package/dist/components/shape-list/navigation-modes/catalog/shape-list-catalog.d.ts +0 -5
  439. package/dist/components/shape-list/navigation-modes/catalog/shape-list-catalog.d.ts.map +0 -1
  440. package/dist/components/shape-list/navigation-modes/compact/index.d.ts +0 -3
  441. package/dist/components/shape-list/navigation-modes/compact/index.d.ts.map +0 -1
  442. package/dist/components/shape-list/navigation-modes/compact/shape-list-compact.d.ts +0 -5
  443. package/dist/components/shape-list/navigation-modes/compact/shape-list-compact.d.ts.map +0 -1
  444. package/dist/components/shape-list/navigation-modes/explorer/index.d.ts +0 -4
  445. package/dist/components/shape-list/navigation-modes/explorer/index.d.ts.map +0 -1
  446. package/dist/components/shape-list/navigation-modes/explorer/shape-list-explorer.d.ts +0 -5
  447. package/dist/components/shape-list/navigation-modes/explorer/shape-list-explorer.d.ts.map +0 -1
  448. package/dist/components/shape-list/navigation-modes/explorer/shape-list-tree.d.ts +0 -5
  449. package/dist/components/shape-list/navigation-modes/explorer/shape-list-tree.d.ts.map +0 -1
  450. package/dist/components/shape-list/navigation-modes/h-strip/index.d.ts +0 -3
  451. package/dist/components/shape-list/navigation-modes/h-strip/index.d.ts.map +0 -1
  452. package/dist/components/shape-list/navigation-modes/h-strip/shape-list-h-strip.d.ts +0 -5
  453. package/dist/components/shape-list/navigation-modes/h-strip/shape-list-h-strip.d.ts.map +0 -1
  454. package/dist/components/shape-list/navigation-modes/modal/index.d.ts +0 -3
  455. package/dist/components/shape-list/navigation-modes/modal/index.d.ts.map +0 -1
  456. package/dist/components/shape-list/navigation-modes/modal/shape-list-modal.d.ts +0 -5
  457. package/dist/components/shape-list/navigation-modes/modal/shape-list-modal.d.ts.map +0 -1
  458. package/dist/components/shape-list/navigation-modes/rail/index.d.ts +0 -3
  459. package/dist/components/shape-list/navigation-modes/rail/index.d.ts.map +0 -1
  460. package/dist/components/shape-list/navigation-modes/rail/shape-list-rail.d.ts +0 -11
  461. package/dist/components/shape-list/navigation-modes/rail/shape-list-rail.d.ts.map +0 -1
  462. package/dist/components/shape-list/navigation-modes/sidebar/index.d.ts +0 -3
  463. package/dist/components/shape-list/navigation-modes/sidebar/index.d.ts.map +0 -1
  464. package/dist/components/shape-list/navigation-modes/sidebar/shape-list-sidebar.d.ts +0 -11
  465. package/dist/components/shape-list/navigation-modes/sidebar/shape-list-sidebar.d.ts.map +0 -1
  466. package/dist/components/shape-list/navigation-modes/slideshow/index.d.ts +0 -3
  467. package/dist/components/shape-list/navigation-modes/slideshow/index.d.ts.map +0 -1
  468. package/dist/components/shape-list/navigation-modes/slideshow/shape-list-slideshow.d.ts +0 -5
  469. package/dist/components/shape-list/navigation-modes/slideshow/shape-list-slideshow.d.ts.map +0 -1
  470. package/dist/components/shape-list/navigation-modes/v-strip/index.d.ts +0 -3
  471. package/dist/components/shape-list/navigation-modes/v-strip/index.d.ts.map +0 -1
  472. package/dist/components/shape-list/navigation-modes/v-strip/shape-list-v-strip.d.ts +0 -5
  473. package/dist/components/shape-list/navigation-modes/v-strip/shape-list-v-strip.d.ts.map +0 -1
  474. package/dist/components/shape-list/navigation-modes/workspace/index.d.ts +0 -3
  475. package/dist/components/shape-list/navigation-modes/workspace/index.d.ts.map +0 -1
  476. package/dist/components/shape-list/navigation-modes/workspace/shape-list-workspace.d.ts +0 -11
  477. package/dist/components/shape-list/navigation-modes/workspace/shape-list-workspace.d.ts.map +0 -1
  478. package/dist/components/shape-list/shape-list.d.ts +0 -5
  479. package/dist/components/shape-list/shape-list.d.ts.map +0 -1
  480. package/dist/components/shape-list/slots/renderers/brand.d.ts +0 -6
  481. package/dist/components/shape-list/slots/renderers/brand.d.ts.map +0 -1
  482. package/dist/components/shape-list/slots/renderers/cta.d.ts +0 -9
  483. package/dist/components/shape-list/slots/renderers/cta.d.ts.map +0 -1
  484. package/dist/components/shape-list/slots/renderers/icon.d.ts +0 -11
  485. package/dist/components/shape-list/slots/renderers/icon.d.ts.map +0 -1
  486. package/dist/components/shape-list/slots/renderers/section-header.d.ts +0 -7
  487. package/dist/components/shape-list/slots/renderers/section-header.d.ts.map +0 -1
  488. package/dist/components/shape-list/slots/renderers/shape-cell.d.ts +0 -9
  489. package/dist/components/shape-list/slots/renderers/shape-cell.d.ts.map +0 -1
  490. package/dist/components/shape-list/slots/slot-config.d.ts +0 -7
  491. package/dist/components/shape-list/slots/slot-config.d.ts.map +0 -1
  492. package/dist/components/shape-list/slots/slot-model.d.ts +0 -6
  493. package/dist/components/shape-list/slots/slot-model.d.ts.map +0 -1
  494. package/dist/components/shape-list/slots/slot-node.d.ts +0 -9
  495. package/dist/components/shape-list/slots/slot-node.d.ts.map +0 -1
  496. package/dist/components/shape-list/slots/slot-render-utils.d.ts +0 -11
  497. package/dist/components/shape-list/slots/slot-render-utils.d.ts.map +0 -1
  498. package/dist/components/shape-list/slots/slot-types.d.ts +0 -151
  499. package/dist/components/shape-list/slots/slot-types.d.ts.map +0 -1
  500. package/dist/components/shape-list/slots/test/slot-model.test.d.ts +0 -2
  501. package/dist/components/shape-list/slots/test/slot-model.test.d.ts.map +0 -1
  502. package/dist/components/shape-list/types/shape-list-types.d.ts +0 -181
  503. package/dist/components/shape-list/types/shape-list-types.d.ts.map +0 -1
  504. package/dist/components/shape-list/utils/column-utils.d.ts +0 -9
  505. package/dist/components/shape-list/utils/column-utils.d.ts.map +0 -1
  506. package/dist/components/shape-list/utils/debug-utils.d.ts +0 -13
  507. package/dist/components/shape-list/utils/debug-utils.d.ts.map +0 -1
  508. package/dist/components/shape-list/utils/filter-utils.d.ts +0 -12
  509. package/dist/components/shape-list/utils/filter-utils.d.ts.map +0 -1
  510. package/dist/components/shape-list/utils/keyboard-utils.d.ts +0 -12
  511. package/dist/components/shape-list/utils/keyboard-utils.d.ts.map +0 -1
  512. package/dist/components/shape-list/utils/navigation-options.d.ts +0 -30
  513. package/dist/components/shape-list/utils/navigation-options.d.ts.map +0 -1
  514. package/dist/components/shape-list/utils/node-utils.d.ts +0 -12
  515. package/dist/components/shape-list/utils/node-utils.d.ts.map +0 -1
  516. package/dist/components/shape-list/utils/sort-utils.d.ts +0 -13
  517. package/dist/components/shape-list/utils/sort-utils.d.ts.map +0 -1
  518. package/dist/components/shape-list/utils/typeahead-utils.d.ts +0 -28
  519. package/dist/components/shape-list/utils/typeahead-utils.d.ts.map +0 -1
  520. package/dist/cose-bilkent-S5V4N54A-BxQyjZqX.cjs +0 -1
  521. package/dist/cytoscape.esm-CElDUMAx.cjs +0 -321
  522. package/dist/dagre-BM42HDAG-DwRqEen8.js +0 -297
  523. package/dist/dagre-BM42HDAG-E2Jw6uLH.cjs +0 -4
  524. package/dist/diagram-2AECGRRQ-BkwGTiAT.cjs +0 -43
  525. package/dist/diagram-5GNKFQAL-CvMOQgoH.cjs +0 -10
  526. package/dist/diagram-5GNKFQAL-bsRwDc-2.js +0 -101
  527. package/dist/diagram-KO2AKTUF-DKGDs9Ax.cjs +0 -3
  528. package/dist/diagram-LMA3HP47-BojSLu6w.cjs +0 -24
  529. package/dist/diagram-OG6HWLK6-bHqMXqif.cjs +0 -24
  530. package/dist/dist-Dwq87x4R.cjs +0 -1
  531. package/dist/erDiagram-TEJ5UH35-BxeM1F9k.js +0 -1700
  532. package/dist/erDiagram-TEJ5UH35-CqUBZsAh.cjs +0 -85
  533. package/dist/eventmodeling-FCH6USID-Cued7Lz2.cjs +0 -1
  534. package/dist/eventmodeling-FCH6USID-mCB8hc7X.js +0 -3
  535. package/dist/flowDiagram-I6XJVG4X-DsjMn89E.cjs +0 -162
  536. package/dist/functional-components/shape/index.d.ts +0 -9
  537. package/dist/functional-components/shape/index.d.ts.map +0 -1
  538. package/dist/functional-components/shape/shape-map.d.ts +0 -3
  539. package/dist/functional-components/shape/shape-map.d.ts.map +0 -1
  540. package/dist/functional-components/shape/shape-registry.d.ts +0 -25
  541. package/dist/functional-components/shape/shape-registry.d.ts.map +0 -1
  542. package/dist/functional-components/shape/shape-resolver.d.ts +0 -61
  543. package/dist/functional-components/shape/shape-resolver.d.ts.map +0 -1
  544. package/dist/functional-components/shape/shape-types.d.ts +0 -55
  545. package/dist/functional-components/shape/shape-types.d.ts.map +0 -1
  546. package/dist/functional-components/shape/shape.d.ts +0 -5
  547. package/dist/functional-components/shape/shape.d.ts.map +0 -1
  548. package/dist/functional-components/shape/slot-resolver.d.ts +0 -24
  549. package/dist/functional-components/shape/slot-resolver.d.ts.map +0 -1
  550. package/dist/functional-components/shape/slot-types.d.ts +0 -27
  551. package/dist/functional-components/shape/slot-types.d.ts.map +0 -1
  552. package/dist/functional-components/shape/useSlotResolver.d.ts +0 -13
  553. package/dist/functional-components/shape/useSlotResolver.d.ts.map +0 -1
  554. package/dist/ganttDiagram-6RSMTGT7-CG_knKFc.cjs +0 -292
  555. package/dist/gitGraph-WXDBUCRP-B23gOjfP.js +0 -3
  556. package/dist/gitGraph-WXDBUCRP-Bi-Y5dA7.cjs +0 -1
  557. package/dist/gitGraphDiagram-PVQCEYII-B-VOfNjd.cjs +0 -106
  558. package/dist/info-J43DQDTF-DC3N8SoX.js +0 -3
  559. package/dist/info-J43DQDTF-jRjlWVKj.cjs +0 -1
  560. package/dist/infoDiagram-5YYISTIA-22jaR465.cjs +0 -2
  561. package/dist/infoDiagram-5YYISTIA-CM-al6Jc.js +0 -19
  562. package/dist/jsx-runtime-DCATrIRp.js +0 -183
  563. package/dist/jsx-runtime-DtVwqYNW.cjs +0 -6
  564. package/dist/kanban-definition-UN3LZRKU-DplPe2EX.cjs +0 -89
  565. package/dist/katex-CkiTumqg.cjs +0 -257
  566. package/dist/mermaid-parser.core-ADyJ_PY4.cjs +0 -3
  567. package/dist/mermaid-parser.core-D6xVjl2t.js +0 -373
  568. package/dist/packet-YPE3B663-CGZxZ1Z0.cjs +0 -1
  569. package/dist/packet-YPE3B663-D2JW2EUF.js +0 -3
  570. package/dist/pie-LRSECV5Y-BHyd33ZA.js +0 -3
  571. package/dist/pie-LRSECV5Y-Ca_qbHEv.cjs +0 -1
  572. package/dist/pieDiagram-4H26LBE5-CCgLxjTB.js +0 -165
  573. package/dist/pieDiagram-4H26LBE5-DAhjc9WT.cjs +0 -30
  574. package/dist/purify.es-9OKVhuci.js +0 -735
  575. package/dist/purify.es-hdXGOu6N.cjs +0 -3
  576. package/dist/quadrantDiagram-W4KKPZXB-BBEQhVJy.cjs +0 -7
  577. package/dist/radar-GUYGQ44K-BpJWFTCm.js +0 -3
  578. package/dist/radar-GUYGQ44K-CYqWSxO_.cjs +0 -1
  579. package/dist/requirementDiagram-4Y6WPE33-L_lL0BcB.cjs +0 -84
  580. package/dist/sankeyDiagram-5OEKKPKP-Dy9K3F81.cjs +0 -40
  581. package/dist/sequenceDiagram-3UESZ5HK-C69YSjBM.cjs +0 -162
  582. package/dist/src-CFBvxm_0.cjs +0 -1
  583. package/dist/stateDiagram-AJRCARHV-BTzCb_Q-.js +0 -217
  584. package/dist/stateDiagram-AJRCARHV-CBbDL4Ct.cjs +0 -1
  585. package/dist/stateDiagram-v2-BHNVJYJU-BrQR0oUL.cjs +0 -1
  586. package/dist/stateDiagram-v2-BHNVJYJU-C7E3JbTB.js +0 -27
  587. package/dist/timeline-definition-PNZ67QCA-DJ9VKw6h.cjs +0 -120
  588. package/dist/treeView-BLDUP644-C9tQMbiq.js +0 -3
  589. package/dist/treeView-BLDUP644-DKh9BcaT.cjs +0 -1
  590. package/dist/treemap-LRROVOQU-2aferAph.cjs +0 -1
  591. package/dist/treemap-LRROVOQU-CBv3oGC3.js +0 -3
  592. package/dist/useObjectProtocol-3BhpCUjG.cjs +0 -3
  593. package/dist/useObjectProtocol-DZdggHDN.js +0 -4333
  594. package/dist/vennDiagram-CIIHVFJN-DeRVKdRG.cjs +0 -34
  595. package/dist/wardley-L42UT6IY-CIM0_V5T.js +0 -3
  596. package/dist/wardley-L42UT6IY-DjjjOB8T.cjs +0 -1
  597. package/dist/wardleyDiagram-YWT4CUSO-CaaSvy6n.cjs +0 -78
  598. package/dist/xychartDiagram-2RQKCTM6-CWncieig.cjs +0 -7
@@ -1,27 +1,22 @@
1
- import { t as e } from "./purify.es-9OKVhuci.js";
2
- import { g as t, h as n, p as r } from "./src-GDFuItmC.js";
3
- import { G as i, H as a, K as o, U as s, a as c, d as l, rt as u, s as d, v as f, w as ee, x as p, y as m } from "./chunk-CSCIHK7Q-Drr_NBLR.js";
4
- import { t as h } from "./channel-CAhFwf6U.js";
5
- import { c as g, g as _ } from "./chunk-5ZQYHXKU-BvO58_5C.js";
6
- import { n as te, t as ne } from "./chunk-XPW4576I-B9aC8EBY.js";
7
- import "./chunk-BSJP7CBP-BjkTjHJ6.js";
8
- import "./chunk-L5ZTLDWV-DXk-PQPS.js";
9
- import "./chunk-NZK2D7GU-CqugOMaJ.js";
10
- import "./chunk-O5CBEL6O-BIU6TcWp.js";
11
- import { o as re } from "./chunk-3OPIFGDE-BYuWDDGY.js";
12
- import "./chunk-KSCS5N6A-pd39ksIM.js";
13
- import { r as v, t as y } from "./chunk-LZXEDZCA-oQMllZja.js";
14
- import { t as b } from "./chunk-FMBD7UC4-Cia16Ryi.js";
15
- import { t as x } from "./chunk-ND2GUHAM-CKQ1Jk8O.js";
16
- import { t as S } from "./chunk-55IACEB6-D5PlvtBC.js";
17
- import { t as C } from "./chunk-2J33WTMH-BulZYTKs.js";
18
- //#region node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-I6XJVG4X.mjs
19
- var w = "flowchart-", T = class {
1
+ import { m as e, p as t } from "./src-D-6ZfKf9.js";
2
+ import { G as n, H as r, K as i, U as a, a as o, d as s, k as c, ot as l, rt as u, s as d, v as f, w as p, x as m, y as h } from "./chunk-DU6HZSFF-CNSdkWoH.js";
3
+ import { n as g } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
+ import { t as ee } from "./channel-D6agWknC.js";
5
+ import { c as _, g as te } from "./chunk-75Z2AOVW-BwUD389x.js";
6
+ import { i as ne } from "./chunk-4HAMMTFA-MZIwowe1.js";
7
+ import { n as re, t as v } from "./chunk-LNGE3PJU-CiGrDO_F.js";
8
+ import { r as y, t as b } from "./chunk-TLUHSLCS-opHh7fd-.js";
9
+ import { t as x } from "./chunk-5VM5RSS4-Cr17nBXp.js";
10
+ import { t as S } from "./chunk-F27PBJKO-DKsmevT5.js";
11
+ import { t as C } from "./chunk-XXDRQBXY-BZK6GgVm.js";
12
+ import { t as w } from "./chunk-POPQ4Y6H-CaEkosGL.js";
13
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-SHT3W25Y.mjs
14
+ var T = "flowchart-", E = class {
20
15
  constructor() {
21
- this.vertexCounter = 0, this.config = p(), this.diagramId = "", this.vertices = /* @__PURE__ */ new Map(), this.edges = [], this.classes = /* @__PURE__ */ new Map(), this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.tooltips = /* @__PURE__ */ new Map(), this.subCount = 0, this.firstGraphFlag = !0, this.secCount = -1, this.posCrossRef = [], this.funs = [], this.setAccTitle = s, this.setAccDescription = a, this.setDiagramTitle = o, this.getAccTitle = m, this.getAccDescription = f, this.getDiagramTitle = ee, this.funs.push(this.setupToolTips.bind(this)), this.addVertex = this.addVertex.bind(this), this.firstGraph = this.firstGraph.bind(this), this.setDirection = this.setDirection.bind(this), this.addSubGraph = this.addSubGraph.bind(this), this.addLink = this.addLink.bind(this), this.setLink = this.setLink.bind(this), this.updateLink = this.updateLink.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.destructLink = this.destructLink.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setTooltip = this.setTooltip.bind(this), this.updateLinkInterpolate = this.updateLinkInterpolate.bind(this), this.setClickFun = this.setClickFun.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.lex = { firstGraph: this.firstGraph.bind(this) }, this.clear(), this.setGen("gen-2");
16
+ this.vertexCounter = 0, this.config = m(), this.diagramId = "", this.vertices = /* @__PURE__ */ new Map(), this.edges = [], this.classes = /* @__PURE__ */ new Map(), this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.tooltips = /* @__PURE__ */ new Map(), this.subCount = 0, this.firstGraphFlag = !0, this.secCount = -1, this.posCrossRef = [], this.funs = [], this.setAccTitle = a, this.setAccDescription = r, this.setDiagramTitle = i, this.getAccTitle = h, this.getAccDescription = f, this.getDiagramTitle = p, this.funs.push(this.setupToolTips.bind(this)), this.addVertex = this.addVertex.bind(this), this.firstGraph = this.firstGraph.bind(this), this.setDirection = this.setDirection.bind(this), this.addSubGraph = this.addSubGraph.bind(this), this.addLink = this.addLink.bind(this), this.setLink = this.setLink.bind(this), this.updateLink = this.updateLink.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.destructLink = this.destructLink.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setTooltip = this.setTooltip.bind(this), this.updateLinkInterpolate = this.updateLinkInterpolate.bind(this), this.setClickFun = this.setClickFun.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.lex = { firstGraph: this.firstGraph.bind(this) }, this.clear(), this.setGen("gen-2");
22
17
  }
23
18
  static {
24
- n(this, "FlowDB");
19
+ g(this, "FlowDB");
25
20
  }
26
21
  sanitizeText(e) {
27
22
  return d.sanitizeText(e, this.config);
@@ -41,42 +36,50 @@ var w = "flowchart-", T = class {
41
36
  for (let t of this.vertices.values()) if (t.id === e) return this.diagramId ? `${this.diagramId}-${t.domId}` : t.domId;
42
37
  return this.diagramId ? `${this.diagramId}-${e}` : e;
43
38
  }
44
- addVertex(e, n, r, i, a, o, s = {}, c) {
45
- if (!e || e.trim().length === 0) return;
39
+ addVertex(t, n, r, i, a, o, s = {}, c) {
40
+ if (!t || t.trim().length === 0) return;
46
41
  let l;
47
42
  if (c !== void 0) {
48
43
  let e;
49
- e = c.includes("\n") ? c + "\n" : "{\n" + c + "\n}", l = te(e, { schema: ne });
44
+ e = c.includes("\n") ? c + "\n" : "{\n" + c + "\n}", l = re(e, { schema: v });
50
45
  }
51
- let u = this.edges.find((t) => t.id === e);
52
- if (u) {
46
+ let u = this.subGraphLookup.get(t);
47
+ if (u && l) {
48
+ u.metadata = {
49
+ ...u.metadata,
50
+ ...l
51
+ };
52
+ return;
53
+ }
54
+ let d = this.edges.find((e) => e.id === t);
55
+ if (d) {
53
56
  let e = l;
54
- e?.animate !== void 0 && (u.animate = e.animate), e?.animation !== void 0 && (u.animation = e.animation), e?.curve !== void 0 && (u.interpolate = e.curve);
57
+ e?.animate !== void 0 && (d.animate = e.animate), e?.animation !== void 0 && (d.animation = e.animation), e?.curve !== void 0 && (d.interpolate = e.curve);
55
58
  return;
56
59
  }
57
- let d, f = this.vertices.get(e);
58
- if (f === void 0 && (n === void 0 && r === void 0 && i != null && t.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`), f = {
59
- id: e,
60
+ let f, p = this.vertices.get(t);
61
+ if (p === void 0 && (n === void 0 && r === void 0 && i != null && e.warn(`Style applied to unknown node "${t}". This may indicate a typo. The node will be created automatically.`), p = {
62
+ id: t,
60
63
  labelType: "text",
61
- domId: w + e + "-" + this.vertexCounter,
64
+ domId: T + t + "-" + this.vertexCounter,
62
65
  styles: [],
63
66
  classes: []
64
- }, this.vertices.set(e, f)), this.vertexCounter++, n === void 0 ? f.text === void 0 && (f.text = e) : (this.config = p(), d = this.sanitizeText(n.text.trim()), f.labelType = n.type, d.startsWith("\"") && d.endsWith("\"") && (d = d.substring(1, d.length - 1)), f.text = d), r !== void 0 && (f.type = r), i?.forEach((e) => {
65
- f.styles.push(e);
67
+ }, this.vertices.set(t, p)), this.vertexCounter++, n === void 0 ? p.text === void 0 && (p.text = t) : (this.config = m(), f = this.sanitizeText(n.text.trim()), p.labelType = n.type, f.startsWith("\"") && f.endsWith("\"") && (f = f.substring(1, f.length - 1)), p.text = f), r !== void 0 && (p.type = r), i?.forEach((e) => {
68
+ p.styles.push(e);
66
69
  }), a?.forEach((e) => {
67
- f.classes.push(e);
68
- }), o !== void 0 && (f.dir = o), f.props === void 0 ? f.props = s : s !== void 0 && Object.assign(f.props, s), l !== void 0) {
70
+ p.classes.push(e);
71
+ }), o !== void 0 && (p.dir = o), p.props === void 0 ? p.props = s : s !== void 0 && Object.assign(p.props, s), l !== void 0) {
69
72
  if (l.shape) {
70
73
  if (l.shape !== l.shape.toLowerCase() || l.shape.includes("_")) throw Error(`No such shape: ${l.shape}. Shape names should be lowercase.`);
71
- if (!re(l.shape)) throw Error(`No such shape: ${l.shape}.`);
72
- f.type = l?.shape;
74
+ if (!ne(l.shape)) throw Error(`No such shape: ${l.shape}.`);
75
+ p.type = l?.shape;
73
76
  }
74
- l?.label && (f.text = l?.label, f.labelType = this.sanitizeNodeLabelType(l?.labelType)), l?.icon && (f.icon = l?.icon, !l.label?.trim() && f.text === e && (f.text = "")), l?.form && (f.form = l?.form), l?.pos && (f.pos = l?.pos), l?.img && (f.img = l?.img, !l.label?.trim() && f.text === e && (f.text = "")), l?.constraint && (f.constraint = l.constraint), l.w && (f.assetWidth = Number(l.w)), l.h && (f.assetHeight = Number(l.h));
77
+ l?.label && (p.text = l?.label, p.labelType = this.sanitizeNodeLabelType(l?.labelType)), l?.icon && (p.icon = l?.icon, !l.label?.trim() && p.text === t && (p.text = "")), l?.form && (p.form = l?.form), l?.pos && (p.pos = l?.pos), l?.img && (p.img = l?.img, !l.label?.trim() && p.text === t && (p.text = "")), l?.constraint && (p.constraint = l.constraint), l.w && (p.assetWidth = Number(l.w)), l.h && (p.assetHeight = Number(l.h));
75
78
  }
76
79
  }
77
- addSingleLink(e, n, r, i) {
80
+ addSingleLink(t, n, r, i) {
78
81
  let a = {
79
- start: e,
82
+ start: t,
80
83
  end: n,
81
84
  type: void 0,
82
85
  text: "",
@@ -85,20 +88,20 @@ var w = "flowchart-", T = class {
85
88
  isUserDefinedId: !1,
86
89
  interpolate: this.edges.defaultInterpolate
87
90
  };
88
- t.info("abc78 Got edge...", a);
91
+ e.info("abc78 Got edge...", a);
89
92
  let o = r.text;
90
93
  if (o !== void 0 && (a.text = this.sanitizeText(o.text.trim()), a.text.startsWith("\"") && a.text.endsWith("\"") && (a.text = a.text.substring(1, a.text.length - 1)), a.labelType = this.sanitizeNodeLabelType(o.type)), r !== void 0 && (a.type = r.type, a.stroke = r.stroke, a.length = r.length > 10 ? 10 : r.length), i && !this.edges.some((e) => e.id === i)) a.id = i, a.isUserDefinedId = !0;
91
94
  else {
92
95
  let e = this.edges.filter((e) => e.start === a.start && e.end === a.end);
93
- e.length === 0 ? a.id = g(a.start, a.end, {
96
+ e.length === 0 ? a.id = _(a.start, a.end, {
94
97
  counter: 0,
95
98
  prefix: "L"
96
- }) : a.id = g(a.start, a.end, {
99
+ }) : a.id = _(a.start, a.end, {
97
100
  counter: e.length + 1,
98
101
  prefix: "L"
99
102
  });
100
103
  }
101
- if (this.edges.length < (this.config.maxEdges ?? 500)) t.info("Pushing edge..."), this.edges.push(a);
104
+ if (this.edges.length < (this.config.maxEdges ?? 500)) e.info("Pushing edge..."), this.edges.push(a);
102
105
  else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
103
106
 
104
107
  Initialize mermaid with maxEdges set to a higher number to allow more edges.
@@ -108,12 +111,12 @@ You have to call mermaid.initialize.`);
108
111
  isLinkData(e) {
109
112
  return typeof e == "object" && !!e && "id" in e && typeof e.id == "string";
110
113
  }
111
- addLink(e, n, r) {
114
+ addLink(t, n, r) {
112
115
  let i = this.isLinkData(r) ? r.id.replace("@", "") : void 0;
113
- t.info("addLink", e, n, i);
114
- for (let t of e) for (let a of n) {
115
- let o = t === e[e.length - 1], s = a === n[0];
116
- o && s ? this.addSingleLink(t, a, r, i) : this.addSingleLink(t, a, r, void 0);
116
+ e.info("addLink", t, n, i);
117
+ for (let e of t) for (let a of n) {
118
+ let o = e === t[t.length - 1], s = a === n[0];
119
+ o && s ? this.addSingleLink(e, a, r, i) : this.addSingleLink(e, a, r, void 0);
117
120
  }
118
121
  }
119
122
  updateLinkInterpolate(e, t) {
@@ -164,7 +167,7 @@ You have to call mermaid.initialize.`);
164
167
  }
165
168
  }
166
169
  setClickFun(e, t, n) {
167
- if (p().securityLevel !== "loose" || t === void 0) return;
170
+ if (m().securityLevel !== "loose" || t === void 0) return;
168
171
  let r = [];
169
172
  if (typeof n == "string") {
170
173
  r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
@@ -178,14 +181,14 @@ You have to call mermaid.initialize.`);
178
181
  i && (i.haveCallback = !0, this.funs.push(() => {
179
182
  let n = this.lookUpDomId(e), i = document.querySelector(`[id="${n}"]`);
180
183
  i !== null && i.addEventListener("click", () => {
181
- _.runFunc(t, ...r);
184
+ te.runFunc(t, ...r);
182
185
  }, !1);
183
186
  }));
184
187
  }
185
188
  setLink(e, t, n) {
186
189
  e.split(",").forEach((e) => {
187
190
  let r = this.vertices.get(e);
188
- r !== void 0 && (r.link = _.formatUrl(t, this.config), r.linkTarget = n);
191
+ r !== void 0 && (r.link = te.formatUrl(t, this.config), r.linkTarget = n);
189
192
  }), this.setClass(e, "clickable");
190
193
  }
191
194
  getTooltip(e) {
@@ -213,19 +216,19 @@ You have to call mermaid.initialize.`);
213
216
  getClasses() {
214
217
  return this.classes;
215
218
  }
216
- setupToolTips(t) {
217
- let n = x();
218
- r(t).select("svg").selectAll("g.node").on("mouseover", (t) => {
219
- let i = r(t.currentTarget), a = i.attr("title");
220
- if (a === null) return;
221
- let o = t.currentTarget?.getBoundingClientRect();
222
- n.transition().duration(200).style("opacity", ".9"), n.text(i.attr("title")).style("left", window.scrollX + o.left + (o.right - o.left) / 2 + "px").style("top", window.scrollY + o.bottom + "px"), n.html(e.sanitize(a)), i.classed("hover", !0);
219
+ setupToolTips(e) {
220
+ let n = S();
221
+ t(e).select("svg").selectAll("g.node").on("mouseover", (e) => {
222
+ let r = t(e.currentTarget), i = r.attr("title");
223
+ if (i === null) return;
224
+ let a = e.currentTarget?.getBoundingClientRect();
225
+ n.transition().duration(200).style("opacity", ".9"), n.text(r.attr("title")).style("left", window.scrollX + a.left + (a.right - a.left) / 2 + "px").style("top", window.scrollY + a.bottom + "px"), n.html(l.sanitize(i)), r.classed("hover", !0);
223
226
  }).on("mouseout", (e) => {
224
- n.transition().duration(500).style("opacity", 0), r(e.currentTarget).classed("hover", !1);
227
+ n.transition().duration(500).style("opacity", 0), t(e.currentTarget).classed("hover", !1);
225
228
  });
226
229
  }
227
230
  clear(e = "gen-2") {
228
- this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.diagramId = "", this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = e, this.config = p(), c();
231
+ this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.diagramId = "", this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = e, this.config = m(), o();
229
232
  }
230
233
  setGen(e) {
231
234
  this.version = e || "gen-2";
@@ -233,10 +236,10 @@ You have to call mermaid.initialize.`);
233
236
  defaultStyle() {
234
237
  return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
235
238
  }
236
- addSubGraph(e, r, i) {
237
- let a = e.text.trim(), o = i.text;
238
- e === i && /\s/.exec(i.text) && (a = void 0);
239
- let s = (/* @__PURE__ */ n((e) => {
239
+ addSubGraph(t, n, r) {
240
+ let i = t.text.trim(), a = r.text;
241
+ t === r && /\s/.exec(r.text) && (i = void 0);
242
+ let o = (/* @__PURE__ */ g((e) => {
240
243
  let t = {
241
244
  boolean: {},
242
245
  number: {},
@@ -249,18 +252,18 @@ You have to call mermaid.initialize.`);
249
252
  }),
250
253
  dir: r
251
254
  };
252
- }, "uniq"))(r.flat()), c = s.nodeList, l = s.dir, u = p().flowchart ?? {};
253
- if (l ??= u.inheritDir ? this.getDirection() ?? p().direction ?? void 0 : void 0, this.version === "gen-1") for (let e = 0; e < c.length; e++) c[e] = this.lookUpDomId(c[e]);
254
- a ??= "subGraph" + this.subCount, o ||= "", o = this.sanitizeText(o), this.subCount += 1;
255
- let d = {
256
- id: a,
257
- nodes: c,
258
- title: o.trim(),
255
+ }, "uniq"))(n.flat()), s = o.nodeList, c = o.dir, l = m().flowchart ?? {};
256
+ if (c ??= l.inheritDir ? this.getDirection() ?? m().direction ?? void 0 : void 0, this.version === "gen-1") for (let e = 0; e < s.length; e++) s[e] = this.lookUpDomId(s[e]);
257
+ i ??= "subGraph" + this.subCount, a ||= "", a = this.sanitizeText(a), this.subCount += 1;
258
+ let u = {
259
+ id: i,
260
+ nodes: s,
261
+ title: a.trim(),
259
262
  classes: [],
260
- dir: l,
261
- labelType: this.sanitizeNodeLabelType(i?.type)
263
+ dir: c,
264
+ labelType: this.sanitizeNodeLabelType(r?.type)
262
265
  };
263
- return t.info("Adding", d.id, d.nodes, d.dir), d.nodes = this.makeUniq(d, this.subGraphs).nodes, this.subGraphs.push(d), this.subGraphLookup.set(a, d), a;
266
+ return e.info("Adding", u.id, u.nodes, u.dir), u.nodes = this.makeUniq(u, this.subGraphs).nodes, this.subGraphs.push(u), this.subGraphLookup.set(i, u), i;
264
267
  }
265
268
  getPosForId(e) {
266
269
  for (let [t, n] of this.subGraphs.entries()) if (n.id === e) return t;
@@ -465,15 +468,43 @@ You have to call mermaid.initialize.`);
465
468
  return t;
466
469
  }
467
470
  getData() {
468
- let e = p(), t = [], n = [], r = this.getSubGraphs(), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
471
+ let e = m(), t = [], n = [], r = this.getSubGraphs(), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
472
+ for (let e of r) for (let t of e.nodes) this.subGraphLookup.has(t) && o.set(t, e.id);
473
+ let s = /* @__PURE__ */ g((e) => this.subGraphLookup.get(e)?.metadata?.view === "collapsed", "isCollapsed"), c = /* @__PURE__ */ g((e) => {
474
+ let t, n = /* @__PURE__ */ new Set(), r = e;
475
+ for (; r !== void 0 && !n.has(r);) n.add(r), s(r) && (t = r), r = o.get(r);
476
+ return t;
477
+ }, "outermostCollapsed"), l = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Map();
478
+ for (let e of r) {
479
+ let t = c(e.id);
480
+ if (t !== void 0) {
481
+ e.id !== t && (l.add(e.id), u.set(e.id, t));
482
+ for (let n of e.nodes) n !== t && (l.add(n), u.set(n, t));
483
+ }
484
+ }
469
485
  for (let e = r.length - 1; e >= 0; e--) {
470
486
  let t = r[e];
471
- t.nodes.length > 0 && a.set(t.id, !0);
472
- for (let e of t.nodes) i.set(e, t.id);
487
+ if (!l.has(t.id)) {
488
+ t.nodes.length > 0 && a.set(t.id, !0);
489
+ for (let e of t.nodes) i.set(e, t.id);
490
+ }
473
491
  }
474
492
  for (let n = r.length - 1; n >= 0; n--) {
475
493
  let a = r[n];
476
- t.push({
494
+ l.has(a.id) || (a.metadata?.view === "collapsed" ? t.push({
495
+ id: a.id,
496
+ label: a.title,
497
+ labelStyle: "",
498
+ labelType: a.labelType,
499
+ parentId: i.get(a.id),
500
+ padding: 8,
501
+ cssCompiledStyles: this.getCompiledStyles(a.classes),
502
+ cssClasses: a.classes.join(" "),
503
+ shape: "collapsedGroup",
504
+ dir: a.dir,
505
+ isGroup: !1,
506
+ look: e.look
507
+ }) : t.push({
477
508
  id: a.id,
478
509
  label: a.title,
479
510
  labelStyle: "",
@@ -486,23 +517,24 @@ You have to call mermaid.initialize.`);
486
517
  dir: a.dir,
487
518
  isGroup: !0,
488
519
  look: e.look
489
- });
520
+ }));
490
521
  }
491
522
  this.getVertices().forEach((n) => {
492
- this.addNodeFromVertex(n, t, i, a, e, e.look || "classic");
523
+ l.has(n.id) || this.addNodeFromVertex(n, t, i, a, e, e.look || "classic");
493
524
  });
494
- let o = this.getEdges();
495
- return o.forEach((t, r) => {
496
- let { arrowTypeStart: i, arrowTypeEnd: a } = this.destructEdgeType(t.type), s = [...o.defaultStyle ?? []];
497
- t.style && s.push(...t.style);
498
- let c = {
499
- id: g(t.start, t.end, {
525
+ let d = this.getEdges();
526
+ return d.forEach((t, r) => {
527
+ let { arrowTypeStart: i, arrowTypeEnd: a } = this.destructEdgeType(t.type), o = [...d.defaultStyle ?? []], s = u.get(t.start) ?? t.start, c = u.get(t.end) ?? t.end;
528
+ if (s === c && (u.has(t.start) || u.has(t.end))) return;
529
+ t.style && o.push(...t.style);
530
+ let l = {
531
+ id: _(s, c, {
500
532
  counter: r,
501
533
  prefix: "L"
502
534
  }, t.id),
503
535
  isUserDefinedId: t.isUserDefinedId,
504
- start: t.start,
505
- end: t.end,
536
+ start: s,
537
+ end: c,
506
538
  type: t.type ?? "normal",
507
539
  label: t.text,
508
540
  labelType: t.labelType,
@@ -514,15 +546,15 @@ You have to call mermaid.initialize.`);
514
546
  arrowTypeEnd: t?.stroke === "invisible" || t?.type === "arrow_open" ? "none" : a,
515
547
  arrowheadStyle: "fill: #333",
516
548
  cssCompiledStyles: this.getCompiledStyles(t.classes),
517
- labelStyle: s,
518
- style: s,
549
+ labelStyle: o,
550
+ style: o,
519
551
  pattern: t.stroke,
520
552
  look: e.look,
521
553
  animate: t.animate,
522
554
  animation: t.animation,
523
555
  curve: t.interpolate || this.edges.defaultInterpolate || e.flowchart?.curve
524
556
  };
525
- n.push(c);
557
+ n.push(l);
526
558
  }), {
527
559
  nodes: t,
528
560
  edges: n,
@@ -531,32 +563,32 @@ You have to call mermaid.initialize.`);
531
563
  };
532
564
  }
533
565
  defaultConfig() {
534
- return l.flowchart;
566
+ return s.flowchart;
535
567
  }
536
- }, E = {
537
- getClasses: /* @__PURE__ */ n(function(e, t) {
568
+ }, D = {
569
+ getClasses: /* @__PURE__ */ g(function(e, t) {
538
570
  return t.db.getClasses();
539
571
  }, "getClasses"),
540
- draw: /* @__PURE__ */ n(async function(e, n, r, i) {
541
- t.info("REF0:"), t.info("Drawing state diagram (v2)", n);
542
- let { securityLevel: a, flowchart: o, layout: s } = p();
543
- i.db.setDiagramId(n), t.debug("Before getData: ");
572
+ draw: /* @__PURE__ */ g(async function(t, n, r, i) {
573
+ e.info("REF0:"), e.info("Drawing state diagram (v2)", n);
574
+ let { securityLevel: a, flowchart: o, layout: s } = m();
575
+ i.db.setDiagramId(n), e.debug("Before getData: ");
544
576
  let c = i.db.getData();
545
- t.debug("Data: ", c);
546
- let l = S(n, a), u = i.db.getDirection();
547
- c.type = i.type, c.layoutAlgorithm = y(s), c.layoutAlgorithm === "dagre" && s === "elk" && t.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."), c.direction = u, c.nodeSpacing = o?.nodeSpacing || 50, c.rankSpacing = o?.rankSpacing || 50, c.markers = [
577
+ e.debug("Data: ", c);
578
+ let l = C(n, a), u = i.db.getDirection();
579
+ c.type = i.type, c.layoutAlgorithm = b(s), c.layoutAlgorithm === "dagre" && s === "elk" && e.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."), c.direction = u, c.nodeSpacing = o?.nodeSpacing || 50, c.rankSpacing = o?.rankSpacing || 50, c.markers = [
548
580
  "point",
549
581
  "circle",
550
582
  "cross"
551
- ], c.diagramId = n, t.debug("REF1:", c), await v(c, l);
583
+ ], c.diagramId = n, e.debug("REF1:", c), await y(c, l);
552
584
  let d = c.config.flowchart?.diagramPadding ?? 8;
553
- _.insertTitle(l, "flowchartTitleText", o?.titleTopMargin || 0, i.db.getDiagramTitle()), C(l, d, "flowchart", o?.useMaxWidth || !1);
585
+ te.insertTitle(l, "flowchartTitleText", o?.titleTopMargin || 0, i.db.getDiagramTitle()), w(l, d, "flowchart", o?.useMaxWidth || !1);
554
586
  }, "draw")
555
- }, D = (function() {
556
- var e = /* @__PURE__ */ n(function(e, t, n, r) {
587
+ }, O = (function() {
588
+ var e = /* @__PURE__ */ g(function(e, t, n, r) {
557
589
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
558
590
  return n;
559
- }, "o"), t = [1, 4], r = [1, 3], i = [1, 5], a = [
591
+ }, "o"), t = [1, 4], n = [1, 3], r = [1, 5], i = [
560
592
  1,
561
593
  8,
562
594
  9,
@@ -587,7 +619,7 @@ You have to call mermaid.initialize.`);
587
619
  123,
588
620
  124,
589
621
  125
590
- ], o = [2, 2], s = [1, 13], c = [1, 14], l = [1, 15], u = [1, 16], d = [1, 23], f = [1, 25], ee = [1, 26], p = [1, 27], m = [1, 50], h = [1, 49], g = [1, 29], _ = [1, 30], te = [1, 31], ne = [1, 32], re = [1, 33], v = [1, 45], y = [1, 47], b = [1, 43], x = [1, 48], S = [1, 44], C = [1, 51], w = [1, 46], T = [1, 52], E = [1, 53], D = [1, 34], O = [1, 35], ie = [1, 36], ae = [1, 37], oe = [1, 38], k = [1, 58], A = [
622
+ ], a = [2, 2], o = [1, 13], s = [1, 14], c = [1, 15], l = [1, 16], u = [1, 23], d = [1, 25], f = [1, 26], p = [1, 27], m = [1, 50], h = [1, 49], ee = [1, 29], _ = [1, 30], te = [1, 31], ne = [1, 32], re = [1, 33], v = [1, 45], y = [1, 47], b = [1, 43], x = [1, 48], S = [1, 44], C = [1, 51], w = [1, 46], T = [1, 52], E = [1, 53], D = [1, 34], O = [1, 35], ie = [1, 36], ae = [1, 37], oe = [1, 38], k = [1, 58], A = [
591
623
  1,
592
624
  8,
593
625
  9,
@@ -838,7 +870,7 @@ You have to call mermaid.initialize.`);
838
870
  111,
839
871
  112
840
872
  ], rt = {
841
- trace: /* @__PURE__ */ n(function() {}, "trace"),
873
+ trace: /* @__PURE__ */ g(function() {}, "trace"),
842
874
  yy: {},
843
875
  symbols_: {
844
876
  error: 2,
@@ -1246,7 +1278,7 @@ You have to call mermaid.initialize.`);
1246
1278
  [33, 1],
1247
1279
  [33, 1]
1248
1280
  ],
1249
- performAction: /* @__PURE__ */ n(function(e, t, n, r, i, a, o) {
1281
+ performAction: /* @__PURE__ */ g(function(e, t, n, r, i, a, o) {
1250
1282
  var s = a.length - 1;
1251
1283
  switch (i) {
1252
1284
  case 2:
@@ -1638,22 +1670,22 @@ You have to call mermaid.initialize.`);
1638
1670
  3: 1,
1639
1671
  4: 2,
1640
1672
  9: t,
1641
- 10: r,
1642
- 12: i
1673
+ 10: n,
1674
+ 12: r
1643
1675
  },
1644
1676
  { 1: [3] },
1645
- e(a, o, { 5: 6 }),
1677
+ e(i, a, { 5: 6 }),
1646
1678
  {
1647
1679
  4: 7,
1648
1680
  9: t,
1649
- 10: r,
1650
- 12: i
1681
+ 10: n,
1682
+ 12: r
1651
1683
  },
1652
1684
  {
1653
1685
  4: 8,
1654
1686
  9: t,
1655
- 10: r,
1656
- 12: i
1687
+ 10: n,
1688
+ 12: r
1657
1689
  },
1658
1690
  {
1659
1691
  13: [1, 9],
@@ -1663,20 +1695,20 @@ You have to call mermaid.initialize.`);
1663
1695
  1: [2, 1],
1664
1696
  6: 11,
1665
1697
  7: 12,
1666
- 8: s,
1667
- 9: c,
1668
- 10: l,
1669
- 11: u,
1698
+ 8: o,
1699
+ 9: s,
1700
+ 10: c,
1701
+ 11: l,
1670
1702
  20: 17,
1671
1703
  22: 18,
1672
1704
  23: 19,
1673
1705
  24: 20,
1674
1706
  25: 21,
1675
1707
  26: 22,
1676
- 27: d,
1708
+ 27: u,
1677
1709
  33: 24,
1678
- 34: f,
1679
- 36: ee,
1710
+ 34: d,
1711
+ 36: f,
1680
1712
  38: p,
1681
1713
  42: 28,
1682
1714
  43: 39,
@@ -1684,7 +1716,7 @@ You have to call mermaid.initialize.`);
1684
1716
  45: 40,
1685
1717
  47: 41,
1686
1718
  60: h,
1687
- 84: g,
1719
+ 84: ee,
1688
1720
  85: _,
1689
1721
  86: te,
1690
1722
  87: ne,
@@ -1705,9 +1737,9 @@ You have to call mermaid.initialize.`);
1705
1737
  124: ae,
1706
1738
  125: oe
1707
1739
  },
1708
- e(a, [2, 9]),
1709
- e(a, [2, 10]),
1710
- e(a, [2, 11]),
1740
+ e(i, [2, 9]),
1741
+ e(i, [2, 10]),
1742
+ e(i, [2, 11]),
1711
1743
  {
1712
1744
  8: [1, 55],
1713
1745
  9: [1, 56],
@@ -1846,9 +1878,9 @@ You have to call mermaid.initialize.`);
1846
1878
  e(F, [2, 150]),
1847
1879
  e(F, [2, 151]),
1848
1880
  e(F, [2, 152]),
1849
- e(a, [2, 12]),
1850
- e(a, [2, 18]),
1851
- e(a, [2, 19]),
1881
+ e(i, [2, 12]),
1882
+ e(i, [2, 18]),
1883
+ e(i, [2, 19]),
1852
1884
  { 9: [1, 114] },
1853
1885
  e(xe, [2, 26], {
1854
1886
  18: 115,
@@ -1927,7 +1959,7 @@ You have to call mermaid.initialize.`);
1927
1959
  115: qe,
1928
1960
  116: Je
1929
1961
  },
1930
- e(Ye, o, { 5: 154 }),
1962
+ e(Ye, a, { 5: 154 }),
1931
1963
  e(A, [2, 37]),
1932
1964
  e(A, [2, 38]),
1933
1965
  e(se, [2, 48], { 44: Xe }),
@@ -2149,7 +2181,7 @@ You have to call mermaid.initialize.`);
2149
2181
  118: U
2150
2182
  },
2151
2183
  e(F, [2, 182]),
2152
- e(a, [2, 20]),
2184
+ e(i, [2, 20]),
2153
2185
  e(xe, [2, 25]),
2154
2186
  e(se, [2, 46], {
2155
2187
  39: 192,
@@ -2247,21 +2279,21 @@ You have to call mermaid.initialize.`);
2247
2279
  {
2248
2280
  6: 11,
2249
2281
  7: 12,
2250
- 8: s,
2251
- 9: c,
2252
- 10: l,
2253
- 11: u,
2282
+ 8: o,
2283
+ 9: s,
2284
+ 10: c,
2285
+ 11: l,
2254
2286
  20: 17,
2255
2287
  22: 18,
2256
2288
  23: 19,
2257
2289
  24: 20,
2258
2290
  25: 21,
2259
2291
  26: 22,
2260
- 27: d,
2292
+ 27: u,
2261
2293
  32: [1, 203],
2262
2294
  33: 24,
2263
- 34: f,
2264
- 36: ee,
2295
+ 34: d,
2296
+ 36: f,
2265
2297
  38: p,
2266
2298
  42: 28,
2267
2299
  43: 39,
@@ -2269,7 +2301,7 @@ You have to call mermaid.initialize.`);
2269
2301
  45: 40,
2270
2302
  47: 41,
2271
2303
  60: h,
2272
- 84: g,
2304
+ 84: ee,
2273
2305
  85: _,
2274
2306
  86: te,
2275
2307
  87: ne,
@@ -2522,7 +2554,7 @@ You have to call mermaid.initialize.`);
2522
2554
  117: H,
2523
2555
  118: U
2524
2556
  },
2525
- e(Ye, o, { 5: 238 }),
2557
+ e(Ye, a, { 5: 238 }),
2526
2558
  e(W, [2, 102]),
2527
2559
  e(A, [2, 35]),
2528
2560
  {
@@ -2682,21 +2714,21 @@ You have to call mermaid.initialize.`);
2682
2714
  {
2683
2715
  6: 11,
2684
2716
  7: 12,
2685
- 8: s,
2686
- 9: c,
2687
- 10: l,
2688
- 11: u,
2717
+ 8: o,
2718
+ 9: s,
2719
+ 10: c,
2720
+ 11: l,
2689
2721
  20: 17,
2690
2722
  22: 18,
2691
2723
  23: 19,
2692
2724
  24: 20,
2693
2725
  25: 21,
2694
2726
  26: 22,
2695
- 27: d,
2727
+ 27: u,
2696
2728
  32: [1, 267],
2697
2729
  33: 24,
2698
- 34: f,
2699
- 36: ee,
2730
+ 34: d,
2731
+ 36: f,
2700
2732
  38: p,
2701
2733
  42: 28,
2702
2734
  43: 39,
@@ -2704,7 +2736,7 @@ You have to call mermaid.initialize.`);
2704
2736
  45: 40,
2705
2737
  47: 41,
2706
2738
  60: h,
2707
- 84: g,
2739
+ 84: ee,
2708
2740
  85: _,
2709
2741
  86: te,
2710
2742
  87: ne,
@@ -2856,7 +2888,7 @@ You have to call mermaid.initialize.`);
2856
2888
  118: U
2857
2889
  },
2858
2890
  e(P, [2, 66]),
2859
- e(Ye, o, { 5: 284 }),
2891
+ e(Ye, a, { 5: 284 }),
2860
2892
  e(nt, [2, 131], {
2861
2893
  108: 270,
2862
2894
  10: G,
@@ -2910,21 +2942,21 @@ You have to call mermaid.initialize.`);
2910
2942
  {
2911
2943
  6: 11,
2912
2944
  7: 12,
2913
- 8: s,
2914
- 9: c,
2915
- 10: l,
2916
- 11: u,
2945
+ 8: o,
2946
+ 9: s,
2947
+ 10: c,
2948
+ 11: l,
2917
2949
  20: 17,
2918
2950
  22: 18,
2919
2951
  23: 19,
2920
2952
  24: 20,
2921
2953
  25: 21,
2922
2954
  26: 22,
2923
- 27: d,
2955
+ 27: u,
2924
2956
  32: [1, 288],
2925
2957
  33: 24,
2926
- 34: f,
2927
- 36: ee,
2958
+ 34: d,
2959
+ 36: f,
2928
2960
  38: p,
2929
2961
  42: 28,
2930
2962
  43: 39,
@@ -2932,7 +2964,7 @@ You have to call mermaid.initialize.`);
2932
2964
  45: 40,
2933
2965
  47: 41,
2934
2966
  60: h,
2935
- 84: g,
2967
+ 84: ee,
2936
2968
  85: _,
2937
2969
  86: te,
2938
2970
  87: ne,
@@ -2985,35 +3017,35 @@ You have to call mermaid.initialize.`);
2985
3017
  e(I, [2, 125], { 106: tt })
2986
3018
  ],
2987
3019
  defaultActions: {},
2988
- parseError: /* @__PURE__ */ n(function(e, t) {
3020
+ parseError: /* @__PURE__ */ g(function(e, t) {
2989
3021
  if (t.recoverable) this.trace(e);
2990
3022
  else {
2991
3023
  var n = Error(e);
2992
3024
  throw n.hash = t, n;
2993
3025
  }
2994
3026
  }, "parseError"),
2995
- parse: /* @__PURE__ */ n(function(e) {
2996
- var t = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, ee = 1, p = o.slice.call(arguments, 1), m = Object.create(this.lexer), h = { yy: {} };
2997
- for (var g in this.yy) Object.prototype.hasOwnProperty.call(this.yy, g) && (h.yy[g] = this.yy[g]);
3027
+ parse: /* @__PURE__ */ g(function(e) {
3028
+ var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2, f = 1, p = a.slice.call(arguments, 1), m = Object.create(this.lexer), h = { yy: {} };
3029
+ for (var ee in this.yy) Object.prototype.hasOwnProperty.call(this.yy, ee) && (h.yy[ee] = this.yy[ee]);
2998
3030
  m.setInput(e, h.yy), h.yy.lexer = m, h.yy.parser = this, m.yylloc === void 0 && (m.yylloc = {});
2999
3031
  var _ = m.yylloc;
3000
- o.push(_);
3032
+ a.push(_);
3001
3033
  var te = m.options && m.options.ranges;
3002
3034
  typeof h.yy.parseError == "function" ? this.parseError = h.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
3003
3035
  function ne(e) {
3004
- r.length -= 2 * e, a.length -= e, o.length -= e;
3036
+ n.length -= 2 * e, i.length -= e, a.length -= e;
3005
3037
  }
3006
- n(ne, "popStack");
3038
+ g(ne, "popStack");
3007
3039
  function re() {
3008
- var e = i.pop() || m.lex() || ee;
3009
- return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = t.symbols_[e] || e), e;
3040
+ var e = r.pop() || m.lex() || f;
3041
+ return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
3010
3042
  }
3011
- n(re, "lex");
3043
+ g(re, "lex");
3012
3044
  for (var v, y, b, x, S, C = {}, w, T, E, D;;) {
3013
- if (b = r[r.length - 1], this.defaultActions[b] ? x = this.defaultActions[b] : (v ??= re(), x = s[b] && s[b][v]), x === void 0 || !x.length || !x[0]) {
3045
+ if (b = n[n.length - 1], this.defaultActions[b] ? x = this.defaultActions[b] : (v ??= re(), x = o[b] && o[b][v]), x === void 0 || !x.length || !x[0]) {
3014
3046
  var O = "";
3015
- for (w in D = [], s[b]) this.terminals_[w] && w > f && D.push("'" + this.terminals_[w] + "'");
3016
- O = m.showPosition ? "Parse error on line " + (l + 1) + ":\n" + m.showPosition() + "\nExpecting " + D.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (v == ee ? "end of input" : "'" + (this.terminals_[v] || v) + "'"), this.parseError(O, {
3047
+ for (w in D = [], o[b]) this.terminals_[w] && w > d && D.push("'" + this.terminals_[w] + "'");
3048
+ O = m.showPosition ? "Parse error on line " + (c + 1) + ":\n" + m.showPosition() + "\nExpecting " + D.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (v == f ? "end of input" : "'" + (this.terminals_[v] || v) + "'"), this.parseError(O, {
3017
3049
  text: m.match,
3018
3050
  token: this.terminals_[v] || v,
3019
3051
  line: m.yylineno,
@@ -3024,24 +3056,24 @@ You have to call mermaid.initialize.`);
3024
3056
  if (x[0] instanceof Array && x.length > 1) throw Error("Parse Error: multiple actions possible at state: " + b + ", token: " + v);
3025
3057
  switch (x[0]) {
3026
3058
  case 1:
3027
- r.push(v), a.push(m.yytext), o.push(m.yylloc), r.push(x[1]), v = null, y ? (v = y, y = null) : (u = m.yyleng, c = m.yytext, l = m.yylineno, _ = m.yylloc, d > 0 && d--);
3059
+ n.push(v), i.push(m.yytext), a.push(m.yylloc), n.push(x[1]), v = null, y ? (v = y, y = null) : (l = m.yyleng, s = m.yytext, c = m.yylineno, _ = m.yylloc, u > 0 && u--);
3028
3060
  break;
3029
3061
  case 2:
3030
- if (T = this.productions_[x[1]][1], C.$ = a[a.length - T], C._$ = {
3031
- first_line: o[o.length - (T || 1)].first_line,
3032
- last_line: o[o.length - 1].last_line,
3033
- first_column: o[o.length - (T || 1)].first_column,
3034
- last_column: o[o.length - 1].last_column
3035
- }, te && (C._$.range = [o[o.length - (T || 1)].range[0], o[o.length - 1].range[1]]), S = this.performAction.apply(C, [
3036
- c,
3037
- u,
3062
+ if (T = this.productions_[x[1]][1], C.$ = i[i.length - T], C._$ = {
3063
+ first_line: a[a.length - (T || 1)].first_line,
3064
+ last_line: a[a.length - 1].last_line,
3065
+ first_column: a[a.length - (T || 1)].first_column,
3066
+ last_column: a[a.length - 1].last_column
3067
+ }, te && (C._$.range = [a[a.length - (T || 1)].range[0], a[a.length - 1].range[1]]), S = this.performAction.apply(C, [
3068
+ s,
3038
3069
  l,
3070
+ c,
3039
3071
  h.yy,
3040
3072
  x[1],
3041
- a,
3042
- o
3073
+ i,
3074
+ a
3043
3075
  ].concat(p)), S !== void 0) return S;
3044
- T && (r = r.slice(0, -1 * T * 2), a = a.slice(0, -1 * T), o = o.slice(0, -1 * T)), r.push(this.productions_[x[1]][0]), a.push(C.$), o.push(C._$), E = s[r[r.length - 2]][r[r.length - 1]], r.push(E);
3076
+ T && (n = n.slice(0, -1 * T * 2), i = i.slice(0, -1 * T), a = a.slice(0, -1 * T)), n.push(this.productions_[x[1]][0]), i.push(C.$), a.push(C._$), E = o[n[n.length - 2]][n[n.length - 1]], n.push(E);
3045
3077
  break;
3046
3078
  case 3: return !0;
3047
3079
  }
@@ -3052,11 +3084,11 @@ You have to call mermaid.initialize.`);
3052
3084
  rt.lexer = /* @__PURE__ */ (function() {
3053
3085
  return {
3054
3086
  EOF: 1,
3055
- parseError: /* @__PURE__ */ n(function(e, t) {
3087
+ parseError: /* @__PURE__ */ g(function(e, t) {
3056
3088
  if (this.yy.parser) this.yy.parser.parseError(e, t);
3057
3089
  else throw Error(e);
3058
3090
  }, "parseError"),
3059
- setInput: /* @__PURE__ */ n(function(e, t) {
3091
+ setInput: /* @__PURE__ */ g(function(e, t) {
3060
3092
  return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
3061
3093
  first_line: 1,
3062
3094
  first_column: 0,
@@ -3064,11 +3096,11 @@ You have to call mermaid.initialize.`);
3064
3096
  last_column: 0
3065
3097
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
3066
3098
  }, "setInput"),
3067
- input: /* @__PURE__ */ n(function() {
3099
+ input: /* @__PURE__ */ g(function() {
3068
3100
  var e = this._input[0];
3069
3101
  return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
3070
3102
  }, "input"),
3071
- unput: /* @__PURE__ */ n(function(e) {
3103
+ unput: /* @__PURE__ */ g(function(e) {
3072
3104
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
3073
3105
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
3074
3106
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -3081,10 +3113,10 @@ You have to call mermaid.initialize.`);
3081
3113
  last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
3082
3114
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
3083
3115
  }, "unput"),
3084
- more: /* @__PURE__ */ n(function() {
3116
+ more: /* @__PURE__ */ g(function() {
3085
3117
  return this._more = !0, this;
3086
3118
  }, "more"),
3087
- reject: /* @__PURE__ */ n(function() {
3119
+ reject: /* @__PURE__ */ g(function() {
3088
3120
  if (this.options.backtrack_lexer) this._backtrack = !0;
3089
3121
  else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
3090
3122
  text: "",
@@ -3093,22 +3125,22 @@ You have to call mermaid.initialize.`);
3093
3125
  });
3094
3126
  return this;
3095
3127
  }, "reject"),
3096
- less: /* @__PURE__ */ n(function(e) {
3128
+ less: /* @__PURE__ */ g(function(e) {
3097
3129
  this.unput(this.match.slice(e));
3098
3130
  }, "less"),
3099
- pastInput: /* @__PURE__ */ n(function() {
3131
+ pastInput: /* @__PURE__ */ g(function() {
3100
3132
  var e = this.matched.substr(0, this.matched.length - this.match.length);
3101
3133
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
3102
3134
  }, "pastInput"),
3103
- upcomingInput: /* @__PURE__ */ n(function() {
3135
+ upcomingInput: /* @__PURE__ */ g(function() {
3104
3136
  var e = this.match;
3105
3137
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
3106
3138
  }, "upcomingInput"),
3107
- showPosition: /* @__PURE__ */ n(function() {
3139
+ showPosition: /* @__PURE__ */ g(function() {
3108
3140
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
3109
3141
  return e + this.upcomingInput() + "\n" + t + "^";
3110
3142
  }, "showPosition"),
3111
- test_match: /* @__PURE__ */ n(function(e, t) {
3143
+ test_match: /* @__PURE__ */ g(function(e, t) {
3112
3144
  var n, r, i;
3113
3145
  if (this.options.backtrack_lexer && (i = {
3114
3146
  yylineno: this.yylineno,
@@ -3141,7 +3173,7 @@ You have to call mermaid.initialize.`);
3141
3173
  }
3142
3174
  return !1;
3143
3175
  }, "test_match"),
3144
- next: /* @__PURE__ */ n(function() {
3176
+ next: /* @__PURE__ */ g(function() {
3145
3177
  if (this.done) return this.EOF;
3146
3178
  this._input || (this.done = !0);
3147
3179
  var e, t, n, r;
@@ -3161,29 +3193,29 @@ You have to call mermaid.initialize.`);
3161
3193
  line: this.yylineno
3162
3194
  });
3163
3195
  }, "next"),
3164
- lex: /* @__PURE__ */ n(function() {
3196
+ lex: /* @__PURE__ */ g(function() {
3165
3197
  return this.next() || this.lex();
3166
3198
  }, "lex"),
3167
- begin: /* @__PURE__ */ n(function(e) {
3199
+ begin: /* @__PURE__ */ g(function(e) {
3168
3200
  this.conditionStack.push(e);
3169
3201
  }, "begin"),
3170
- popState: /* @__PURE__ */ n(function() {
3202
+ popState: /* @__PURE__ */ g(function() {
3171
3203
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
3172
3204
  }, "popState"),
3173
- _currentRules: /* @__PURE__ */ n(function() {
3205
+ _currentRules: /* @__PURE__ */ g(function() {
3174
3206
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
3175
3207
  }, "_currentRules"),
3176
- topState: /* @__PURE__ */ n(function(e) {
3208
+ topState: /* @__PURE__ */ g(function(e) {
3177
3209
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
3178
3210
  }, "topState"),
3179
- pushState: /* @__PURE__ */ n(function(e) {
3211
+ pushState: /* @__PURE__ */ g(function(e) {
3180
3212
  this.begin(e);
3181
3213
  }, "pushState"),
3182
- stateStackSize: /* @__PURE__ */ n(function() {
3214
+ stateStackSize: /* @__PURE__ */ g(function() {
3183
3215
  return this.conditionStack.length;
3184
3216
  }, "stateStackSize"),
3185
3217
  options: {},
3186
- performAction: /* @__PURE__ */ n(function(e, t, n, r) {
3218
+ performAction: /* @__PURE__ */ g(function(e, t, n, r) {
3187
3219
  switch (n) {
3188
3220
  case 0: return this.begin("acc_title"), 34;
3189
3221
  case 1: return this.popState(), "acc_title_value";
@@ -3249,14 +3281,14 @@ You have to call mermaid.initialize.`);
3249
3281
  case 35: return e.lex.firstGraph() && this.begin("dir"), 12;
3250
3282
  case 36: return e.lex.firstGraph() && this.begin("dir"), 12;
3251
3283
  case 37: return e.lex.firstGraph() && this.begin("dir"), 12;
3252
- case 38: return 27;
3253
- case 39: return 32;
3254
- case 40: return 98;
3284
+ case 38: return e.lex.firstGraph() && this.begin("dir"), 12;
3285
+ case 39: return 27;
3286
+ case 40: return 32;
3255
3287
  case 41: return 98;
3256
3288
  case 42: return 98;
3257
3289
  case 43: return 98;
3258
- case 44: return this.popState(), 13;
3259
- case 45: return this.popState(), 14;
3290
+ case 44: return 98;
3291
+ case 45: return this.popState(), 13;
3260
3292
  case 46: return this.popState(), 14;
3261
3293
  case 47: return this.popState(), 14;
3262
3294
  case 48: return this.popState(), 14;
@@ -3266,72 +3298,73 @@ You have to call mermaid.initialize.`);
3266
3298
  case 52: return this.popState(), 14;
3267
3299
  case 53: return this.popState(), 14;
3268
3300
  case 54: return this.popState(), 14;
3269
- case 55: return 121;
3270
- case 56: return 122;
3271
- case 57: return 123;
3272
- case 58: return 124;
3273
- case 59: return 125;
3274
- case 60: return 78;
3275
- case 61: return 105;
3276
- case 62: return 111;
3277
- case 63: return 46;
3278
- case 64: return 60;
3279
- case 65: return 44;
3280
- case 66: return 8;
3281
- case 67: return 106;
3282
- case 68: return 115;
3283
- case 69: return this.popState(), 77;
3284
- case 70: return this.pushState("edgeText"), 75;
3285
- case 71: return 119;
3286
- case 72: return this.popState(), 77;
3287
- case 73: return this.pushState("thickEdgeText"), 75;
3288
- case 74: return 119;
3289
- case 75: return this.popState(), 77;
3290
- case 76: return this.pushState("dottedEdgeText"), 75;
3291
- case 77: return 119;
3292
- case 78: return 77;
3293
- case 79: return this.popState(), 53;
3294
- case 80: return "TEXT";
3295
- case 81: return this.pushState("ellipseText"), 52;
3296
- case 82: return this.popState(), 55;
3297
- case 83: return this.pushState("text"), 54;
3298
- case 84: return this.popState(), 57;
3299
- case 85: return this.pushState("text"), 56;
3300
- case 86: return 58;
3301
- case 87: return this.pushState("text"), 67;
3302
- case 88: return this.popState(), 64;
3303
- case 89: return this.pushState("text"), 63;
3304
- case 90: return this.popState(), 49;
3305
- case 91: return this.pushState("text"), 48;
3306
- case 92: return this.popState(), 69;
3307
- case 93: return this.popState(), 71;
3308
- case 94: return 117;
3309
- case 95: return this.pushState("trapText"), 68;
3310
- case 96: return this.pushState("trapText"), 70;
3311
- case 97: return 118;
3312
- case 98: return 67;
3313
- case 99: return 90;
3314
- case 100: return "SEP";
3315
- case 101: return 89;
3316
- case 102: return 115;
3317
- case 103: return 111;
3318
- case 104: return 44;
3319
- case 105: return 109;
3320
- case 106: return 114;
3321
- case 107: return 116;
3322
- case 108: return this.popState(), 62;
3323
- case 109: return this.pushState("text"), 62;
3324
- case 110: return this.popState(), 51;
3325
- case 111: return this.pushState("text"), 50;
3326
- case 112: return this.popState(), 31;
3327
- case 113: return this.pushState("text"), 29;
3328
- case 114: return this.popState(), 66;
3329
- case 115: return this.pushState("text"), 65;
3330
- case 116: return "TEXT";
3331
- case 117: return "QUOTE";
3332
- case 118: return 9;
3333
- case 119: return 10;
3334
- case 120: return 11;
3301
+ case 55: return this.popState(), 14;
3302
+ case 56: return 121;
3303
+ case 57: return 122;
3304
+ case 58: return 123;
3305
+ case 59: return 124;
3306
+ case 60: return 125;
3307
+ case 61: return 78;
3308
+ case 62: return 105;
3309
+ case 63: return 111;
3310
+ case 64: return 46;
3311
+ case 65: return 60;
3312
+ case 66: return 44;
3313
+ case 67: return 8;
3314
+ case 68: return 106;
3315
+ case 69: return 115;
3316
+ case 70: return this.popState(), 77;
3317
+ case 71: return this.pushState("edgeText"), 75;
3318
+ case 72: return 119;
3319
+ case 73: return this.popState(), 77;
3320
+ case 74: return this.pushState("thickEdgeText"), 75;
3321
+ case 75: return 119;
3322
+ case 76: return this.popState(), 77;
3323
+ case 77: return this.pushState("dottedEdgeText"), 75;
3324
+ case 78: return 119;
3325
+ case 79: return 77;
3326
+ case 80: return this.popState(), 53;
3327
+ case 81: return "TEXT";
3328
+ case 82: return this.pushState("ellipseText"), 52;
3329
+ case 83: return this.popState(), 55;
3330
+ case 84: return this.pushState("text"), 54;
3331
+ case 85: return this.popState(), 57;
3332
+ case 86: return this.pushState("text"), 56;
3333
+ case 87: return 58;
3334
+ case 88: return this.pushState("text"), 67;
3335
+ case 89: return this.popState(), 64;
3336
+ case 90: return this.pushState("text"), 63;
3337
+ case 91: return this.popState(), 49;
3338
+ case 92: return this.pushState("text"), 48;
3339
+ case 93: return this.popState(), 69;
3340
+ case 94: return this.popState(), 71;
3341
+ case 95: return 117;
3342
+ case 96: return this.pushState("trapText"), 68;
3343
+ case 97: return this.pushState("trapText"), 70;
3344
+ case 98: return 118;
3345
+ case 99: return 67;
3346
+ case 100: return 90;
3347
+ case 101: return "SEP";
3348
+ case 102: return 89;
3349
+ case 103: return 115;
3350
+ case 104: return 111;
3351
+ case 105: return 44;
3352
+ case 106: return 109;
3353
+ case 107: return 114;
3354
+ case 108: return 116;
3355
+ case 109: return this.popState(), 62;
3356
+ case 110: return this.pushState("text"), 62;
3357
+ case 111: return this.popState(), 51;
3358
+ case 112: return this.pushState("text"), 50;
3359
+ case 113: return this.popState(), 31;
3360
+ case 114: return this.pushState("text"), 29;
3361
+ case 115: return this.popState(), 66;
3362
+ case 116: return this.pushState("text"), 65;
3363
+ case 117: return "TEXT";
3364
+ case 118: return "QUOTE";
3365
+ case 119: return 9;
3366
+ case 120: return 10;
3367
+ case 121: return 11;
3335
3368
  }
3336
3369
  }, "anonymous"),
3337
3370
  rules: [
@@ -3371,6 +3404,7 @@ You have to call mermaid.initialize.`);
3371
3404
  /^(?:[\s\n])/,
3372
3405
  /^(?:[^\s\n]*)/,
3373
3406
  /^(?:flowchart-elk\b)/,
3407
+ /^(?:swimlane-beta\b)/,
3374
3408
  /^(?:graph\b)/,
3375
3409
  /^(?:flowchart\b)/,
3376
3410
  /^(?:subgraph\b)/,
@@ -3462,18 +3496,18 @@ You have to call mermaid.initialize.`);
3462
3496
  rules: [
3463
3497
  21,
3464
3498
  24,
3465
- 78,
3466
- 81,
3467
- 83,
3468
- 85,
3469
- 89,
3470
- 91,
3471
- 95,
3499
+ 79,
3500
+ 82,
3501
+ 84,
3502
+ 86,
3503
+ 90,
3504
+ 92,
3472
3505
  96,
3473
- 109,
3474
- 111,
3475
- 113,
3476
- 115
3506
+ 97,
3507
+ 110,
3508
+ 112,
3509
+ 114,
3510
+ 116
3477
3511
  ],
3478
3512
  inclusive: !1
3479
3513
  },
@@ -3483,18 +3517,18 @@ You have to call mermaid.initialize.`);
3483
3517
  10,
3484
3518
  21,
3485
3519
  24,
3486
- 78,
3487
- 81,
3488
- 83,
3489
- 85,
3490
- 89,
3491
- 91,
3492
- 95,
3520
+ 79,
3521
+ 82,
3522
+ 84,
3523
+ 86,
3524
+ 90,
3525
+ 92,
3493
3526
  96,
3494
- 109,
3495
- 111,
3496
- 113,
3497
- 115
3527
+ 97,
3528
+ 110,
3529
+ 112,
3530
+ 114,
3531
+ 116
3498
3532
  ],
3499
3533
  inclusive: !1
3500
3534
  },
@@ -3505,18 +3539,18 @@ You have to call mermaid.initialize.`);
3505
3539
  12,
3506
3540
  21,
3507
3541
  24,
3508
- 78,
3509
- 81,
3510
- 83,
3511
- 85,
3512
- 89,
3513
- 91,
3514
- 95,
3542
+ 79,
3543
+ 82,
3544
+ 84,
3545
+ 86,
3546
+ 90,
3547
+ 92,
3515
3548
  96,
3516
- 109,
3517
- 111,
3518
- 113,
3519
- 115
3549
+ 97,
3550
+ 110,
3551
+ 112,
3552
+ 114,
3553
+ 116
3520
3554
  ],
3521
3555
  inclusive: !1
3522
3556
  },
@@ -3526,18 +3560,18 @@ You have to call mermaid.initialize.`);
3526
3560
  18,
3527
3561
  21,
3528
3562
  24,
3529
- 78,
3530
- 81,
3531
- 83,
3532
- 85,
3533
- 89,
3534
- 91,
3535
- 95,
3563
+ 79,
3564
+ 82,
3565
+ 84,
3566
+ 86,
3567
+ 90,
3568
+ 92,
3536
3569
  96,
3537
- 109,
3538
- 111,
3539
- 113,
3540
- 115
3570
+ 97,
3571
+ 110,
3572
+ 112,
3573
+ 114,
3574
+ 116
3541
3575
  ],
3542
3576
  inclusive: !1
3543
3577
  },
@@ -3548,18 +3582,18 @@ You have to call mermaid.initialize.`);
3548
3582
  16,
3549
3583
  21,
3550
3584
  24,
3551
- 78,
3552
- 81,
3553
- 83,
3554
- 85,
3555
- 89,
3556
- 91,
3557
- 95,
3585
+ 79,
3586
+ 82,
3587
+ 84,
3588
+ 86,
3589
+ 90,
3590
+ 92,
3558
3591
  96,
3559
- 109,
3560
- 111,
3561
- 113,
3562
- 115
3592
+ 97,
3593
+ 110,
3594
+ 112,
3595
+ 114,
3596
+ 116
3563
3597
  ],
3564
3598
  inclusive: !1
3565
3599
  },
@@ -3567,18 +3601,18 @@ You have to call mermaid.initialize.`);
3567
3601
  rules: [
3568
3602
  21,
3569
3603
  24,
3570
- 78,
3571
- 81,
3572
- 83,
3573
- 85,
3574
- 89,
3575
- 91,
3576
- 95,
3604
+ 79,
3605
+ 82,
3606
+ 84,
3607
+ 86,
3608
+ 90,
3609
+ 92,
3577
3610
  96,
3578
- 109,
3579
- 111,
3580
- 113,
3581
- 115
3611
+ 97,
3612
+ 110,
3613
+ 112,
3614
+ 114,
3615
+ 116
3582
3616
  ],
3583
3617
  inclusive: !1
3584
3618
  },
@@ -3588,18 +3622,18 @@ You have to call mermaid.initialize.`);
3588
3622
  24,
3589
3623
  33,
3590
3624
  34,
3591
- 78,
3592
- 81,
3593
- 83,
3594
- 85,
3595
- 89,
3596
- 91,
3597
- 95,
3625
+ 79,
3626
+ 82,
3627
+ 84,
3628
+ 86,
3629
+ 90,
3630
+ 92,
3598
3631
  96,
3599
- 109,
3600
- 111,
3601
- 113,
3602
- 115
3632
+ 97,
3633
+ 110,
3634
+ 112,
3635
+ 114,
3636
+ 116
3603
3637
  ],
3604
3638
  inclusive: !1
3605
3639
  },
@@ -3607,20 +3641,20 @@ You have to call mermaid.initialize.`);
3607
3641
  rules: [
3608
3642
  21,
3609
3643
  24,
3610
- 75,
3611
- 77,
3644
+ 76,
3612
3645
  78,
3613
- 81,
3614
- 83,
3615
- 85,
3616
- 89,
3617
- 91,
3618
- 95,
3646
+ 79,
3647
+ 82,
3648
+ 84,
3649
+ 86,
3650
+ 90,
3651
+ 92,
3619
3652
  96,
3620
- 109,
3621
- 111,
3622
- 113,
3623
- 115
3653
+ 97,
3654
+ 110,
3655
+ 112,
3656
+ 114,
3657
+ 116
3624
3658
  ],
3625
3659
  inclusive: !1
3626
3660
  },
@@ -3628,20 +3662,20 @@ You have to call mermaid.initialize.`);
3628
3662
  rules: [
3629
3663
  21,
3630
3664
  24,
3631
- 72,
3632
- 74,
3633
- 78,
3634
- 81,
3635
- 83,
3636
- 85,
3637
- 89,
3638
- 91,
3639
- 95,
3665
+ 73,
3666
+ 75,
3667
+ 79,
3668
+ 82,
3669
+ 84,
3670
+ 86,
3671
+ 90,
3672
+ 92,
3640
3673
  96,
3641
- 109,
3642
- 111,
3643
- 113,
3644
- 115
3674
+ 97,
3675
+ 110,
3676
+ 112,
3677
+ 114,
3678
+ 116
3645
3679
  ],
3646
3680
  inclusive: !1
3647
3681
  },
@@ -3649,20 +3683,20 @@ You have to call mermaid.initialize.`);
3649
3683
  rules: [
3650
3684
  21,
3651
3685
  24,
3652
- 69,
3653
- 71,
3654
- 78,
3655
- 81,
3656
- 83,
3657
- 85,
3658
- 89,
3659
- 91,
3660
- 95,
3686
+ 70,
3687
+ 72,
3688
+ 79,
3689
+ 82,
3690
+ 84,
3691
+ 86,
3692
+ 90,
3693
+ 92,
3661
3694
  96,
3662
- 109,
3663
- 111,
3664
- 113,
3665
- 115
3695
+ 97,
3696
+ 110,
3697
+ 112,
3698
+ 114,
3699
+ 116
3666
3700
  ],
3667
3701
  inclusive: !1
3668
3702
  },
@@ -3670,21 +3704,21 @@ You have to call mermaid.initialize.`);
3670
3704
  rules: [
3671
3705
  21,
3672
3706
  24,
3673
- 78,
3674
- 81,
3675
- 83,
3676
- 85,
3677
- 89,
3678
- 91,
3707
+ 79,
3708
+ 82,
3709
+ 84,
3710
+ 86,
3711
+ 90,
3679
3712
  92,
3680
3713
  93,
3681
3714
  94,
3682
3715
  95,
3683
3716
  96,
3684
- 109,
3685
- 111,
3686
- 113,
3687
- 115
3717
+ 97,
3718
+ 110,
3719
+ 112,
3720
+ 114,
3721
+ 116
3688
3722
  ],
3689
3723
  inclusive: !1
3690
3724
  },
@@ -3692,20 +3726,20 @@ You have to call mermaid.initialize.`);
3692
3726
  rules: [
3693
3727
  21,
3694
3728
  24,
3695
- 78,
3696
3729
  79,
3697
3730
  80,
3698
3731
  81,
3699
- 83,
3700
- 85,
3701
- 89,
3702
- 91,
3703
- 95,
3732
+ 82,
3733
+ 84,
3734
+ 86,
3735
+ 90,
3736
+ 92,
3704
3737
  96,
3705
- 109,
3706
- 111,
3707
- 113,
3708
- 115
3738
+ 97,
3739
+ 110,
3740
+ 112,
3741
+ 114,
3742
+ 116
3709
3743
  ],
3710
3744
  inclusive: !1
3711
3745
  },
@@ -3713,19 +3747,18 @@ You have to call mermaid.initialize.`);
3713
3747
  rules: [
3714
3748
  21,
3715
3749
  24,
3716
- 78,
3717
- 81,
3750
+ 79,
3718
3751
  82,
3719
3752
  83,
3720
3753
  84,
3721
3754
  85,
3722
- 88,
3755
+ 86,
3723
3756
  89,
3724
3757
  90,
3725
3758
  91,
3726
- 95,
3759
+ 92,
3727
3760
  96,
3728
- 108,
3761
+ 97,
3729
3762
  109,
3730
3763
  110,
3731
3764
  111,
@@ -3733,7 +3766,8 @@ You have to call mermaid.initialize.`);
3733
3766
  113,
3734
3767
  114,
3735
3768
  115,
3736
- 116
3769
+ 116,
3770
+ 117
3737
3771
  ],
3738
3772
  inclusive: !1
3739
3773
  },
@@ -3741,18 +3775,18 @@ You have to call mermaid.initialize.`);
3741
3775
  rules: [
3742
3776
  21,
3743
3777
  24,
3744
- 78,
3745
- 81,
3746
- 83,
3747
- 85,
3748
- 89,
3749
- 91,
3750
- 95,
3778
+ 79,
3779
+ 82,
3780
+ 84,
3781
+ 86,
3782
+ 90,
3783
+ 92,
3751
3784
  96,
3752
- 109,
3753
- 111,
3754
- 113,
3755
- 115
3785
+ 97,
3786
+ 110,
3787
+ 112,
3788
+ 114,
3789
+ 116
3756
3790
  ],
3757
3791
  inclusive: !1
3758
3792
  },
@@ -3760,7 +3794,6 @@ You have to call mermaid.initialize.`);
3760
3794
  rules: [
3761
3795
  21,
3762
3796
  24,
3763
- 44,
3764
3797
  45,
3765
3798
  46,
3766
3799
  47,
@@ -3771,18 +3804,19 @@ You have to call mermaid.initialize.`);
3771
3804
  52,
3772
3805
  53,
3773
3806
  54,
3774
- 78,
3775
- 81,
3776
- 83,
3777
- 85,
3778
- 89,
3779
- 91,
3780
- 95,
3807
+ 55,
3808
+ 79,
3809
+ 82,
3810
+ 84,
3811
+ 86,
3812
+ 90,
3813
+ 92,
3781
3814
  96,
3782
- 109,
3783
- 111,
3784
- 113,
3785
- 115
3815
+ 97,
3816
+ 110,
3817
+ 112,
3818
+ 114,
3819
+ 116
3786
3820
  ],
3787
3821
  inclusive: !1
3788
3822
  },
@@ -3792,18 +3826,18 @@ You have to call mermaid.initialize.`);
3792
3826
  6,
3793
3827
  21,
3794
3828
  24,
3795
- 78,
3796
- 81,
3797
- 83,
3798
- 85,
3799
- 89,
3800
- 91,
3801
- 95,
3829
+ 79,
3830
+ 82,
3831
+ 84,
3832
+ 86,
3833
+ 90,
3834
+ 92,
3802
3835
  96,
3803
- 109,
3804
- 111,
3805
- 113,
3806
- 115
3836
+ 97,
3837
+ 110,
3838
+ 112,
3839
+ 114,
3840
+ 116
3807
3841
  ],
3808
3842
  inclusive: !1
3809
3843
  },
@@ -3812,18 +3846,18 @@ You have to call mermaid.initialize.`);
3812
3846
  3,
3813
3847
  21,
3814
3848
  24,
3815
- 78,
3816
- 81,
3817
- 83,
3818
- 85,
3819
- 89,
3820
- 91,
3821
- 95,
3849
+ 79,
3850
+ 82,
3851
+ 84,
3852
+ 86,
3853
+ 90,
3854
+ 92,
3822
3855
  96,
3823
- 109,
3824
- 111,
3825
- 113,
3826
- 115
3856
+ 97,
3857
+ 110,
3858
+ 112,
3859
+ 114,
3860
+ 116
3827
3861
  ],
3828
3862
  inclusive: !1
3829
3863
  },
@@ -3832,18 +3866,18 @@ You have to call mermaid.initialize.`);
3832
3866
  1,
3833
3867
  21,
3834
3868
  24,
3835
- 78,
3836
- 81,
3837
- 83,
3838
- 85,
3839
- 89,
3840
- 91,
3841
- 95,
3869
+ 79,
3870
+ 82,
3871
+ 84,
3872
+ 86,
3873
+ 90,
3874
+ 92,
3842
3875
  96,
3843
- 109,
3844
- 111,
3845
- 113,
3846
- 115
3876
+ 97,
3877
+ 110,
3878
+ 112,
3879
+ 114,
3880
+ 116
3847
3881
  ],
3848
3882
  inclusive: !1
3849
3883
  },
@@ -3853,18 +3887,18 @@ You have to call mermaid.initialize.`);
3853
3887
  20,
3854
3888
  21,
3855
3889
  24,
3856
- 78,
3857
- 81,
3858
- 83,
3859
- 85,
3860
- 89,
3861
- 91,
3862
- 95,
3890
+ 79,
3891
+ 82,
3892
+ 84,
3893
+ 86,
3894
+ 90,
3895
+ 92,
3863
3896
  96,
3864
- 109,
3865
- 111,
3866
- 113,
3867
- 115
3897
+ 97,
3898
+ 110,
3899
+ 112,
3900
+ 114,
3901
+ 116
3868
3902
  ],
3869
3903
  inclusive: !1
3870
3904
  },
@@ -3874,18 +3908,18 @@ You have to call mermaid.initialize.`);
3874
3908
  22,
3875
3909
  23,
3876
3910
  24,
3877
- 78,
3878
- 81,
3879
- 83,
3880
- 85,
3881
- 89,
3882
- 91,
3883
- 95,
3911
+ 79,
3912
+ 82,
3913
+ 84,
3914
+ 86,
3915
+ 90,
3916
+ 92,
3884
3917
  96,
3885
- 109,
3886
- 111,
3887
- 113,
3888
- 115
3918
+ 97,
3919
+ 110,
3920
+ 112,
3921
+ 114,
3922
+ 116
3889
3923
  ],
3890
3924
  inclusive: !1
3891
3925
  },
@@ -3915,7 +3949,7 @@ You have to call mermaid.initialize.`);
3915
3949
  41,
3916
3950
  42,
3917
3951
  43,
3918
- 55,
3952
+ 44,
3919
3953
  56,
3920
3954
  57,
3921
3955
  58,
@@ -3931,19 +3965,19 @@ You have to call mermaid.initialize.`);
3931
3965
  68,
3932
3966
  69,
3933
3967
  70,
3934
- 72,
3968
+ 71,
3935
3969
  73,
3936
- 75,
3970
+ 74,
3937
3971
  76,
3938
- 78,
3939
- 81,
3940
- 83,
3941
- 85,
3972
+ 77,
3973
+ 79,
3974
+ 82,
3975
+ 84,
3942
3976
  86,
3943
3977
  87,
3944
- 89,
3945
- 91,
3946
- 95,
3978
+ 88,
3979
+ 90,
3980
+ 92,
3947
3981
  96,
3948
3982
  97,
3949
3983
  98,
@@ -3956,14 +3990,15 @@ You have to call mermaid.initialize.`);
3956
3990
  105,
3957
3991
  106,
3958
3992
  107,
3959
- 109,
3960
- 111,
3961
- 113,
3962
- 115,
3963
- 117,
3993
+ 108,
3994
+ 110,
3995
+ 112,
3996
+ 114,
3997
+ 116,
3964
3998
  118,
3965
3999
  119,
3966
- 120
4000
+ 120,
4001
+ 121
3967
4002
  ],
3968
4003
  inclusive: !0
3969
4004
  }
@@ -3973,24 +4008,18 @@ You have to call mermaid.initialize.`);
3973
4008
  function it() {
3974
4009
  this.yy = {};
3975
4010
  }
3976
- return n(it, "Parser"), it.prototype = rt, rt.Parser = it, new it();
4011
+ return g(it, "Parser"), it.prototype = rt, rt.Parser = it, new it();
3977
4012
  })();
3978
- D.parser = D;
3979
- var O = D, ie = Object.assign({}, O);
3980
- ie.parse = (e) => {
4013
+ O.parser = O;
4014
+ var ie = O, ae = Object.assign({}, ie);
4015
+ ae.parse = (e) => {
3981
4016
  let t = e.replace(/}\s*\n/g, "}\n");
3982
- return O.parse(t);
4017
+ return ie.parse(t);
3983
4018
  };
3984
- var ae = ie, oe = /* @__PURE__ */ n((e, t) => {
3985
- let n = h;
4019
+ var oe = ae, k = /* @__PURE__ */ g((e, t) => {
4020
+ let n = ee;
3986
4021
  return u(n(e, "r"), n(e, "g"), n(e, "b"), t);
3987
- }, "fade"), k = {
3988
- parser: ae,
3989
- get db() {
3990
- return new T();
3991
- },
3992
- renderer: E,
3993
- styles: /* @__PURE__ */ n((e) => `.label {
4022
+ }, "fade"), A = /* @__PURE__ */ g((e) => `.label {
3994
4023
  font-family: ${e.fontFamily};
3995
4024
  color: ${e.nodeTextColor || e.textColor};
3996
4025
  }
@@ -4021,12 +4050,6 @@ var ae = ie, oe = /* @__PURE__ */ n((e, t) => {
4021
4050
  .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
4022
4051
  text-anchor: middle;
4023
4052
  }
4024
- // .flowchart-label .text-outer-tspan {
4025
- // text-anchor: middle;
4026
- // }
4027
- // .flowchart-label .text-inner-tspan {
4028
- // text-anchor: start;
4029
- // }
4030
4053
 
4031
4054
  .node .katex path {
4032
4055
  fill: #000;
@@ -4052,7 +4075,7 @@ var ae = ie, oe = /* @__PURE__ */ n((e, t) => {
4052
4075
  fill: ${e.arrowheadColor};
4053
4076
  }
4054
4077
 
4055
- .edgePath .path {
4078
+ .edgePaths .path {
4056
4079
  stroke: ${e.lineColor};
4057
4080
  stroke-width: ${e.strokeWidth ?? 2}px;
4058
4081
  }
@@ -4077,7 +4100,7 @@ var ae = ie, oe = /* @__PURE__ */ n((e, t) => {
4077
4100
 
4078
4101
  /* For html labels only */
4079
4102
  .labelBkg {
4080
- background-color: ${oe(e.edgeLabelBackground, .5)};
4103
+ background-color: ${k(e.edgeLabelBackground, .5)};
4081
4104
  // background-color:
4082
4105
  }
4083
4106
 
@@ -4098,6 +4121,18 @@ var ae = ie, oe = /* @__PURE__ */ n((e, t) => {
4098
4121
  color: ${e.titleColor};
4099
4122
  } */
4100
4123
 
4124
+ /* Collapsed subgraph node (@{ view: collapsed }) */
4125
+ .node .collapsed-indicator {
4126
+ fill: ${e.clusterBorder};
4127
+ stroke: none;
4128
+ opacity: 0.6;
4129
+ }
4130
+
4131
+ .node .collapsed-separator {
4132
+ stroke: ${e.clusterBorder};
4133
+ stroke-width: 0.75px;
4134
+ }
4135
+
4101
4136
  div.mermaidTooltip {
4102
4137
  position: absolute;
4103
4138
  text-align: center;
@@ -4136,11 +4171,19 @@ var ae = ie, oe = /* @__PURE__ */ n((e, t) => {
4136
4171
  }
4137
4172
  text-align: center;
4138
4173
  }
4139
- ${b()}
4140
- `, "getStyles"),
4141
- init: /* @__PURE__ */ n((e) => {
4142
- e.flowchart ||= {}, e.layout && i({ layout: e.layout }), e.flowchart.arrowMarkerAbsolute = e.arrowMarkerAbsolute, i({ flowchart: { arrowMarkerAbsolute: e.arrowMarkerAbsolute } });
4174
+ ${x()}
4175
+ `, "getStyles"), j = /* @__PURE__ */ g(({ defaultLayout: e, styles: t = A } = {}) => ({
4176
+ parser: oe,
4177
+ get db() {
4178
+ return new E();
4179
+ },
4180
+ renderer: D,
4181
+ styles: t,
4182
+ init: /* @__PURE__ */ g((t) => {
4183
+ t.flowchart ||= {};
4184
+ let r = c().layout ?? e ?? t.layout;
4185
+ r && n({ layout: r }), t.flowchart.arrowMarkerAbsolute = t.arrowMarkerAbsolute, n({ flowchart: { arrowMarkerAbsolute: t.arrowMarkerAbsolute } });
4143
4186
  }, "init")
4144
- };
4187
+ }), "createFlowDiagram"), M = j();
4145
4188
  //#endregion
4146
- export { k as diagram };
4189
+ export { M as n, A as r, j as t };