@sme.up/ketchup2 2.10.0 → 2.11.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 (323) hide show
  1. package/dist/{abnfDiagram-VCTEODGH-jIDWUpNo.js → abnfDiagram-WEYOIA3C-BGzUWx_N.js} +18 -18
  2. package/dist/{arc-DXfwi1YX.js → arc-Cde31fHX.js} +1 -1
  3. package/dist/architecture-WOLXFQ4H-CjGAyYHf.js +2 -0
  4. package/dist/{architectureDiagram-5GKGNRK7-C1xA1c3c.js → architectureDiagram-ZHVYKT53-DH-D4G0y.js} +138 -153
  5. package/dist/assets/svg/magnify-minus.svg +1 -0
  6. package/dist/assets/svg/magnify-plus.svg +1 -0
  7. package/dist/basic-components/button-group/button-group.d.ts.map +1 -1
  8. package/dist/basic-components/cell/cell-types.d.ts +8 -0
  9. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  10. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  11. package/dist/basic-components/checkbox/checkbox.d.ts.map +1 -1
  12. package/dist/basic-components/chips/chips-types.d.ts +13 -0
  13. package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
  14. package/dist/basic-components/chips/chips.d.ts.map +1 -1
  15. package/dist/basic-components/date-picker/date-picker-types.d.ts +4 -0
  16. package/dist/basic-components/date-picker/date-picker-types.d.ts.map +1 -1
  17. package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -1
  18. package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
  19. package/dist/basic-components/radio/radio.d.ts.map +1 -1
  20. package/dist/basic-components/slider/slider.d.ts.map +1 -1
  21. package/dist/basic-components/text/text.d.ts.map +1 -1
  22. package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
  23. package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
  24. package/dist/basic-components/textfield/textfield-types.d.ts +7 -2
  25. package/dist/basic-components/textfield/textfield-types.d.ts.map +1 -1
  26. package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
  27. package/dist/basic-components/typography/typography.d.ts.map +1 -1
  28. package/dist/{blockDiagram-I7D4REHJ-C0hlmHW8.js → blockDiagram-RJAE7QA3-hRpbCaPL.js} +329 -316
  29. package/dist/{c4Diagram-7LVT6UL2-DwTMAxzR.js → c4Diagram-XDPPPE54-Bkqvkv8O.js} +350 -340
  30. package/dist/channel-CcHUzwZl.js +5 -0
  31. package/dist/{chunk-SVP7TREG-f53BROgh.js → chunk-2E7WHVMD-DSYBrngB.js} +77 -77
  32. package/dist/chunk-4EMNKR2T-CndbTVTA.js +236 -0
  33. package/dist/{chunk-F27PBJKO-DPhiW07t.js → chunk-55XCU76K-B1HtPImz.js} +16 -16
  34. package/dist/{chunk-75Z2AOVW-CLjRECiG.js → chunk-7S6XSTFO-CN6S2H1-.js} +304 -305
  35. package/dist/{chunk-GMAD6QVW-Cnp61Cie.js → chunk-AQDTSKZB-DuUha9al.js} +386 -433
  36. package/dist/{chunk-DU6HZSFF-D9v_2L4Z.js → chunk-DSNLSHJZ-B1A8wsiA.js} +1078 -984
  37. package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
  38. package/dist/chunk-EJLWFMJV-Cu6XnLfk.js +75 -0
  39. package/dist/chunk-HAGFOTED-IzyIoLzD.js +4487 -0
  40. package/dist/chunk-HNE4Q36P-7zVKLE_b.js +363 -0
  41. package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
  42. package/dist/{chunk-LNGE3PJU-CtYcu9x8.js → chunk-LNGE3PJU-ByFTjlja.js} +15 -19
  43. package/dist/chunk-NGNAAXSQ-Tr--SG_c.js +19832 -0
  44. package/dist/{chunk-SHT3W25Y-aBBFlrSX.js → chunk-NQOKRVIF-CEJ-prlJ.js} +483 -414
  45. package/dist/chunk-OYAV6JZA-Cypx4hYu.js +14 -0
  46. package/dist/{chunk-P2QGCYS3-667SFjNY.js → chunk-UHW7PFBP-CoHGQVjo.js} +6 -6
  47. package/dist/chunk-VQ5W62QI-BSDHmyws.js +26 -0
  48. package/dist/{chunk-OSK3NFVY-qg1q5TTI.js → chunk-WQQL4CDK-BJE6isq-.js} +312 -288
  49. package/dist/chunk-XXDRQBXY-CU-dbs05.js +9 -0
  50. package/dist/{chunk-PWAF6VOD-z0rQy52m.js → chunk-YZO67HFG-Bcmpw0dX.js} +28 -28
  51. package/dist/{chunk-GVQU2GXP-BJ9OHC7T.js → chunk-ZAUX2LTX-Bu7BRVL6.js} +14 -14
  52. package/dist/chunk-ZCHMQSOR-BA1QQ4D6.js +354 -0
  53. package/dist/{chunk-TICWLB2K-DzrOz9kL.js → classDiagram-v2-4MYWR3UA-Bnh650R8.js} +333 -293
  54. package/dist/components/app-bar/app-bar-utils.d.ts.map +1 -1
  55. package/dist/components/calendar/calendar-available-height.d.ts +14 -0
  56. package/dist/components/calendar/calendar-available-height.d.ts.map +1 -0
  57. package/dist/components/calendar/calendar-types.d.ts +20 -8
  58. package/dist/components/calendar/calendar-types.d.ts.map +1 -1
  59. package/dist/components/calendar/calendar-utils.d.ts +94 -37
  60. package/dist/components/calendar/calendar-utils.d.ts.map +1 -1
  61. package/dist/components/calendar/calendar.d.ts.map +1 -1
  62. package/dist/components/calendar/views/calendar-event-text.d.ts +14 -3
  63. package/dist/components/calendar/views/calendar-event-text.d.ts.map +1 -1
  64. package/dist/components/calendar/views/calendar-month-grid.d.ts +4 -4
  65. package/dist/components/calendar/views/calendar-month-grid.d.ts.map +1 -1
  66. package/dist/components/calendar/views/calendar-more-events.d.ts +1 -1
  67. package/dist/components/calendar/views/calendar-more-events.d.ts.map +1 -1
  68. package/dist/components/calendar/views/calendar-time-grid.d.ts +4 -0
  69. package/dist/components/calendar/views/calendar-time-grid.d.ts.map +1 -1
  70. package/dist/components/data-table/assets/data-table-row-actions.d.ts +1 -1
  71. package/dist/components/data-table/cell-actions/cell-actions-types.d.ts +12 -0
  72. package/dist/components/data-table/cell-actions/cell-actions-types.d.ts.map +1 -0
  73. package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts +29 -0
  74. package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts.map +1 -0
  75. package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts +2 -0
  76. package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts.map +1 -0
  77. package/dist/components/data-table/cell-actions/cell-actions.d.ts +6 -0
  78. package/dist/components/data-table/cell-actions/cell-actions.d.ts.map +1 -0
  79. package/dist/components/data-table/column-menu/column-menu-types.d.ts +32 -0
  80. package/dist/components/data-table/column-menu/column-menu-types.d.ts.map +1 -0
  81. package/dist/components/data-table/column-menu/column-menu.d.ts +11 -0
  82. package/dist/components/data-table/column-menu/column-menu.d.ts.map +1 -0
  83. package/dist/components/data-table/columns/columns-utils.d.ts +11 -2
  84. package/dist/components/data-table/columns/columns-utils.d.ts.map +1 -1
  85. package/dist/components/data-table/columns/useColumnWidths.d.ts +24 -1
  86. package/dist/components/data-table/columns/useColumnWidths.d.ts.map +1 -1
  87. package/dist/components/data-table/data-table-types.d.ts +191 -38
  88. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  89. package/dist/components/data-table/data-table.d.ts.map +1 -1
  90. package/dist/components/data-table/filtering/data-table-filter-utils.d.ts +19 -2
  91. package/dist/components/data-table/filtering/data-table-filter-utils.d.ts.map +1 -1
  92. package/dist/components/data-table/fixed/fixed-utils.d.ts +6 -0
  93. package/dist/components/data-table/fixed/fixed-utils.d.ts.map +1 -1
  94. package/dist/components/data-table/footer/footer-types.d.ts +22 -8
  95. package/dist/components/data-table/footer/footer-types.d.ts.map +1 -1
  96. package/dist/components/data-table/footer/footer.d.ts.map +1 -1
  97. package/dist/components/data-table/group-row/group-row-types.d.ts +29 -1
  98. package/dist/components/data-table/group-row/group-row-types.d.ts.map +1 -1
  99. package/dist/components/data-table/group-row/group-row.d.ts.map +1 -1
  100. package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts +11 -5
  101. package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts.map +1 -1
  102. package/dist/components/data-table/grouping/datatable-groups-utils.d.ts +11 -1
  103. package/dist/components/data-table/grouping/datatable-groups-utils.d.ts.map +1 -1
  104. package/dist/components/data-table/grouping/group-expansion.d.ts +16 -0
  105. package/dist/components/data-table/grouping/group-expansion.d.ts.map +1 -0
  106. package/dist/components/data-table/grouping/grouping-types.d.ts +9 -0
  107. package/dist/components/data-table/grouping/grouping-types.d.ts.map +1 -1
  108. package/dist/components/data-table/header/Header.d.ts.map +1 -1
  109. package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts +44 -0
  110. package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts.map +1 -0
  111. package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts +8 -0
  112. package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts.map +1 -0
  113. package/dist/components/data-table/header/header-types.d.ts +32 -21
  114. package/dist/components/data-table/header/header-types.d.ts.map +1 -1
  115. package/dist/components/data-table/load-more-row/load-more-row.d.ts +8 -0
  116. package/dist/components/data-table/load-more-row/load-more-row.d.ts.map +1 -0
  117. package/dist/components/data-table/load-more-row/load-more-types.d.ts +11 -0
  118. package/dist/components/data-table/load-more-row/load-more-types.d.ts.map +1 -0
  119. package/dist/components/data-table/sorting/buildDftSort.d.ts +16 -0
  120. package/dist/components/data-table/sorting/buildDftSort.d.ts.map +1 -0
  121. package/dist/components/data-table/sorting/buildDftSort.test.d.ts +2 -0
  122. package/dist/components/data-table/sorting/buildDftSort.test.d.ts.map +1 -0
  123. package/dist/components/data-table/sorting/parseDftSort.d.ts +4 -4
  124. package/dist/components/data-table/sorting/parseDftSort.d.ts.map +1 -1
  125. package/dist/components/data-table/sorting/sortTable-utils.d.ts +10 -0
  126. package/dist/components/data-table/sorting/sortTable-utils.d.ts.map +1 -1
  127. package/dist/components/data-table/sorting/useSortableTable.d.ts +10 -4
  128. package/dist/components/data-table/sorting/useSortableTable.d.ts.map +1 -1
  129. package/dist/components/data-table/state/datatable-state.d.ts +14 -7
  130. package/dist/components/data-table/state/datatable-state.d.ts.map +1 -1
  131. package/dist/components/data-table/stories/data-table-story-meta.d.ts +7 -0
  132. package/dist/components/data-table/stories/data-table-story-meta.d.ts.map +1 -0
  133. package/dist/components/data-table/useDataTableImperativeHandle.d.ts +23 -0
  134. package/dist/components/data-table/useDataTableImperativeHandle.d.ts.map +1 -0
  135. package/dist/components/data-table/useDataTableShortcuts.d.ts +19 -0
  136. package/dist/components/data-table/useDataTableShortcuts.d.ts.map +1 -0
  137. package/dist/components/echarts-graph/builders/echarts-graph-builders.d.ts.map +1 -1
  138. package/dist/components/echarts-graph/data/echarts-graph-data.d.ts +1 -1
  139. package/dist/components/echarts-graph/data/echarts-graph-data.d.ts.map +1 -1
  140. package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts +12 -0
  141. package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts.map +1 -0
  142. package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts +2 -0
  143. package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts.map +1 -0
  144. package/dist/components/echarts-graph/echarts-graph-canvas.d.ts +34 -0
  145. package/dist/components/echarts-graph/echarts-graph-canvas.d.ts.map +1 -0
  146. package/dist/components/echarts-graph/echarts-graph-from-table.d.ts +13 -0
  147. package/dist/components/echarts-graph/echarts-graph-from-table.d.ts.map +1 -0
  148. package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts +12 -0
  149. package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts.map +1 -0
  150. package/dist/components/echarts-graph/echarts-graph-hooks.d.ts +16 -0
  151. package/dist/components/echarts-graph/echarts-graph-hooks.d.ts.map +1 -0
  152. package/dist/components/echarts-graph/echarts-graph-types.d.ts +24 -5
  153. package/dist/components/echarts-graph/echarts-graph-types.d.ts.map +1 -1
  154. package/dist/components/echarts-graph/echarts-graph.d.ts +10 -7
  155. package/dist/components/echarts-graph/echarts-graph.d.ts.map +1 -1
  156. package/dist/components/input-panel/input-panel-types.d.ts +7 -1
  157. package/dist/components/input-panel/input-panel-types.d.ts.map +1 -1
  158. package/dist/components/input-panel/input-panel.d.ts.map +1 -1
  159. package/dist/components/json-form/document-adapter.test.d.ts +2 -0
  160. package/dist/components/json-form/document-adapter.test.d.ts.map +1 -0
  161. package/dist/components/json-form/expression-evaluator.test.d.ts +2 -0
  162. package/dist/components/json-form/expression-evaluator.test.d.ts.map +1 -0
  163. package/dist/components/json-form/model/document-adapter.d.ts +54 -0
  164. package/dist/components/json-form/model/document-adapter.d.ts.map +1 -0
  165. package/dist/components/json-form/model/json-form-ajv.d.ts +12 -0
  166. package/dist/components/json-form/model/json-form-ajv.d.ts.map +1 -0
  167. package/dist/components/json-form/model/json-pointer.d.ts +20 -0
  168. package/dist/components/json-form/model/json-pointer.d.ts.map +1 -0
  169. package/dist/components/json-form/model/native-json-types.d.ts +5 -0
  170. package/dist/components/json-form/model/native-json-types.d.ts.map +1 -0
  171. package/dist/components/json-form/model/shape-event-support.d.ts +10 -0
  172. package/dist/components/json-form/model/shape-event-support.d.ts.map +1 -0
  173. package/dist/components/json-form/rule-controller.test.d.ts +2 -0
  174. package/dist/components/json-form/rule-controller.test.d.ts.map +1 -0
  175. package/dist/components/json-form/rules/expression-evaluator.d.ts +58 -0
  176. package/dist/components/json-form/rules/expression-evaluator.d.ts.map +1 -0
  177. package/dist/components/json-form/rules/rule-controller.d.ts +50 -0
  178. package/dist/components/json-form/rules/rule-controller.d.ts.map +1 -0
  179. package/dist/components/pdf/assets/pdf-fixtures.d.ts +6 -0
  180. package/dist/components/pdf/assets/pdf-fixtures.d.ts.map +1 -0
  181. package/dist/components/pdf/pdf-types.d.ts +17 -2
  182. package/dist/components/pdf/pdf-types.d.ts.map +1 -1
  183. package/dist/components/pdf/pdf-utils.d.ts +30 -1
  184. package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
  185. package/dist/components/pdf/pdf.d.ts.map +1 -1
  186. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  187. package/dist/components/toolbar/toolbar-nodes/toolbar-plain-node.d.ts.map +1 -1
  188. package/dist/context/test-utils.d.ts.map +1 -1
  189. package/dist/{cose-bilkent-JH36ORCC-Qs_Z6zBZ.js → cose-bilkent-JH36ORCC-DYLyHByQ.js} +77 -89
  190. package/dist/cynefin-EF2NZ3EQ-DZ1CSrfW.js +2 -0
  191. package/dist/{cynefinDiagram-5FMLGOSQ-3SByb22K.js → cynefinDiagram-WF24UDRP-bU_4r-FZ.js} +64 -64
  192. package/dist/{cytoscape.esm-C5TvPYYm.js → cytoscape.esm-BvXLQ91B.js} +412 -513
  193. package/dist/dagre-NK4GIZVX-B72HOuil.js +2352 -0
  194. package/dist/{diagram-VX7I27RA-DX39g4aO.js → diagram-CBK3MWTC-B-q-tUxd.js} +80 -80
  195. package/dist/diagram-I5XIIV2D-CMzniFEf.js +134 -0
  196. package/dist/{diagram-S7CK7UJ4-IhyDbKSO.js → diagram-ODIL2UCW-CrlDp0MP.js} +46 -54
  197. package/dist/{diagram-VSXAHHWV-CdX3XaQX.js → diagram-PFBEJUXE-hnrdzEe4.js} +136 -121
  198. package/dist/{diagram-UQ7AKVKN-CPDZJAkA.js → diagram-RJA3I4VV-DZW7CxE5.js} +43 -43
  199. package/dist/diagram-TYUNFSNR-cRJNHRy2.js +5069 -0
  200. package/dist/{dist-CsrMlyO_.js → dist-Bj7IMbKd.js} +1 -1
  201. package/dist/{ebnfDiagram-PWID7BFC-D0cmYo-k.js → ebnfDiagram-V4P3TTPT-Bm7KtfLA.js} +17 -17
  202. package/dist/echarts-C7ehbnCk.js +15485 -0
  203. package/dist/elk-QONTBCTQ-gWOTRRj4.js +47505 -0
  204. package/dist/{erDiagram-RLTQ6QDP-C-nlwQZa.js → erDiagram-KYQIGQAA-WZEbQwWz.js} +150 -146
  205. package/dist/eventmodeling-K75KTNOO-CEn7YBG4.js +2 -0
  206. package/dist/flowDiagram-IUGLLWBU-CRV2Bl2C.js +16 -0
  207. package/dist/functional-components/filter-group/filter-builder-operators.d.ts +15 -0
  208. package/dist/functional-components/filter-group/filter-builder-operators.d.ts.map +1 -0
  209. package/dist/functional-components/filter-group/filter-builder.d.ts +15 -1
  210. package/dist/functional-components/filter-group/filter-builder.d.ts.map +1 -1
  211. package/dist/functional-components/group-bar/group-bar-types.d.ts +16 -0
  212. package/dist/functional-components/group-bar/group-bar-types.d.ts.map +1 -1
  213. package/dist/functional-components/group-bar/group-bar.d.ts.map +1 -1
  214. package/dist/functional-components/helper-text/helper-text-types.d.ts +1 -1
  215. package/dist/functional-components/row/row-types.d.ts +27 -1
  216. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  217. package/dist/functional-components/row/row.d.ts.map +1 -1
  218. package/dist/functional-components/tree-picker/tree-picker-types.d.ts +5 -0
  219. package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -1
  220. package/dist/{ganttDiagram-EL5Y4UJY-qQkBgEV6.js → ganttDiagram-R7GPNTJY-DFRGfQMr.js} +314 -310
  221. package/dist/gitGraph-VSP46ZUC-BSTikFaE.js +2 -0
  222. package/dist/{gitGraphDiagram-WWUBYQGX-D8cZBZXB.js → gitGraphDiagram-PDYL7XHY-nvoob8Ca.js} +250 -250
  223. package/dist/hooks/useVirtualListScroll.d.ts +7 -2
  224. package/dist/hooks/useVirtualListScroll.d.ts.map +1 -1
  225. package/dist/index.d.ts +2 -5
  226. package/dist/index.d.ts.map +1 -1
  227. package/dist/info-OHQRW6UA-BGb3N889.js +2 -0
  228. package/dist/infoDiagram-MVDRKAX5-BqO_morw.js +20 -0
  229. package/dist/installCanvasRenderer-CgRxxRBg.js +29799 -0
  230. package/dist/{ishikawaDiagram-5VMMS53U-B0RvuZyG.js → ishikawaDiagram-HPEHV2GE-BE3amLYE.js} +27 -29
  231. package/dist/{journeyDiagram-3NMN7TZE-Dh8_Vc4e.js → journeyDiagram-BOSHW7O7-DE8ndsCi.js} +111 -111
  232. package/dist/{kanban-definition-UXKFOSKX-C99A4PsR.js → kanban-definition-FNSA4HC5-D72kc4EN.js} +135 -135
  233. package/dist/{katex-CT2p8LXT.js → katex-CDhNh-ZQ.js} +919 -1040
  234. package/dist/ketchup2.css +1 -1
  235. package/dist/ketchup2.es.js +25049 -70453
  236. package/dist/{line-CkNoVxEr.js → line-ltPB6XbC.js} +1 -1
  237. package/dist/{linear-CXc5xaa6.js → linear-i6_MPSGL.js} +2 -3
  238. package/dist/locale/en/translation.json.d.ts +36 -5
  239. package/dist/locale/it/translation.json.d.ts +36 -5
  240. package/dist/{mermaid-parser.core-BwVmI_Rq.js → mermaid-parser.core-zUi7tSl-.js} +166 -172
  241. package/dist/{mindmap-definition-YA3MSWOX-D0ULN6M8.js → mindmap-definition-6OY57UG3-hH6Avsg4.js} +148 -145
  242. package/dist/packet-JDAUHWVQ-CKZoNg5j.js +2 -0
  243. package/dist/{pegDiagram-XKGWAZYB-BThnA3Uk.js → pegDiagram-ECIUJNBX-D3xLhrRh.js} +19 -19
  244. package/dist/pie-XZMESJXO-BnbWY8rE.js +2 -0
  245. package/dist/{pieDiagram-E7YTZNPT-CJ4LPitY.js → pieDiagram-GNMPY74T-Bd_UXypi.js} +39 -39
  246. package/dist/{quadrantDiagram-AXDQQJYC-nEwzg95_.js → quadrantDiagram-D57K4MC3-BAwweqT8.js} +149 -149
  247. package/dist/radar-ABXABTNO-D5CEmFBx.js +2 -0
  248. package/dist/railroad-I3PHUGI6-CxMiYaMH.js +2 -0
  249. package/dist/railroad-abnf-LNEFI6M7-C69KxGa-.js +2 -0
  250. package/dist/railroad-ebnf-DWYD2UWJ-D5Xd566k.js +2 -0
  251. package/dist/railroad-peg-JR7BVNR7-CD0OiqcS.js +2 -0
  252. package/dist/{railroadDiagram-O6MQD6OU-D_9gvx5m.js → railroadDiagram-Y72NRBL7-CPUbPgYX.js} +14 -14
  253. package/dist/{requirementDiagram-BXWQKSXE-BU3gTMjQ.js → requirementDiagram-EQYSW5RA-BXstYS3w.js} +97 -93
  254. package/dist/rolldown-runtime-5HNE8Q1r.js +23 -0
  255. package/dist/{sankeyDiagram-P5KCCOFB-BmNN-6y3.js → sankeyDiagram-SY24JHO5-Du-toJmg.js} +64 -64
  256. package/dist/{sequenceDiagram-WJ2MYXX4-QYJxbuz_.js → sequenceDiagram-BLEHNHQU-BNNnerZ-.js} +953 -868
  257. package/dist/{sizeCapture-INFHLROL-CHXIsPO_.js → sizeCapture-INFHLROL-DujrpAYz.js} +1 -1
  258. package/dist/{src-DQoflmwT.js → src-CY9Rz0Sf.js} +545 -566
  259. package/dist/{chunk-IMKFNOWR-yyUcHorm.js → stateDiagram-v2-A6IESKWZ-CfjPf8h7.js} +364 -267
  260. package/dist/{swimlanes-42K2YHIH-DkMzBkx7.js → swimlanes-B3ENRKFQ-Dumwq89C.js} +1356 -1590
  261. package/dist/swimlanesDiagram-AYQRV4AK-Boz_Azx7.js +28 -0
  262. package/dist/{timeline-definition-24CTP7MA-AvgVPsM_.js → timeline-definition-JXYKGLGB-ClzmRQCu.js} +354 -350
  263. package/dist/treeView-D4JQ5SDB-C3ue8DID.js +2 -0
  264. package/dist/treemap-SAJKECNS-BWis-Wpv.js +2 -0
  265. package/dist/types/data-structures.d.ts +11 -0
  266. package/dist/types/data-structures.d.ts.map +1 -1
  267. package/dist/types/global.d.ts +7 -2
  268. package/dist/types/global.d.ts.map +1 -1
  269. package/dist/types/translation.d.ts +35 -5
  270. package/dist/types/translation.d.ts.map +1 -1
  271. package/dist/usecaseDiagram-WPOLBNNX-ruZhXlYQ.js +7175 -0
  272. package/dist/utils/object-styles.d.ts +12 -0
  273. package/dist/utils/object-styles.d.ts.map +1 -0
  274. package/dist/utils/object-styles.test.d.ts +2 -0
  275. package/dist/utils/object-styles.test.d.ts.map +1 -0
  276. package/dist/utils/totals/totals-registry.d.ts +17 -0
  277. package/dist/utils/totals/totals-registry.d.ts.map +1 -0
  278. package/dist/utils/totals/totals-utils.d.ts +70 -7
  279. package/dist/utils/totals/totals-utils.d.ts.map +1 -1
  280. package/dist/utils/wrapper-types/list.d.ts.map +1 -1
  281. package/dist/{vennDiagram-4TSXK5OY-DBz_EnfL.js → vennDiagram-Q3Y3IDCW-L9GmqfCz.js} +118 -118
  282. package/dist/wardley-7MLQ67FV-DC0ayJCO.js +2 -0
  283. package/dist/{wardleyDiagram-VM6X3IG4-D4U_E7xl.js → wardleyDiagram-IVAIDKWA-Dz5K-UqN.js} +126 -126
  284. package/dist/{xychartDiagram-S5SC5T6Z-aHqeFP13.js → xychartDiagram-4URNHDU4-C2xwRx5F.js} +141 -137
  285. package/package.json +5 -3
  286. package/dist/architecture-7GRP2DOG-BsytjMto.js +0 -3
  287. package/dist/channel-BD0NTdCR.js +0 -5
  288. package/dist/chunk-2E4U76K2-CMCSmJ5_.js +0 -348
  289. package/dist/chunk-4HAMMTFA-DBtV-sHy.js +0 -4188
  290. package/dist/chunk-CLGD4ZFX-DdntjE3C.js +0 -14
  291. package/dist/chunk-FOHPRMQF-LRqOLsSw.js +0 -21456
  292. package/dist/chunk-L3NEJ4N5-Dd1FmxFn.js +0 -245
  293. package/dist/chunk-POPQ4Y6H-YFNrkrJW.js +0 -26
  294. package/dist/chunk-TLUHSLCS-Drk6ApJR.js +0 -59
  295. package/dist/chunk-XXDRQBXY-C1ZEFXGu.js +0 -9
  296. package/dist/classDiagram-ZZMXUADV-CaI6YU6r.js +0 -30
  297. package/dist/classDiagram-v2-VYDZK3BY-ClCVTcLo.js +0 -30
  298. package/dist/components/echart-graph-from-tree/echart-graph-from-tree-types.d.ts +0 -14
  299. package/dist/components/echart-graph-from-tree/echart-graph-from-tree-types.d.ts.map +0 -1
  300. package/dist/components/echart-graph-from-tree/echart-graph-from-tree.d.ts +0 -11
  301. package/dist/components/echart-graph-from-tree/echart-graph-from-tree.d.ts.map +0 -1
  302. package/dist/cynefin-OW5HDTMX-BJXlKro0.js +0 -3
  303. package/dist/dagre-D5csT9sx.js +0 -1934
  304. package/dist/dagre-GXQ25YYZ--Qf92cTs.js +0 -425
  305. package/dist/diagram-Z3DM3KII-DECfAI1l.js +0 -134
  306. package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +0 -3
  307. package/dist/flowDiagram-HODETNUW-LRjksS-j.js +0 -17
  308. package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +0 -3
  309. package/dist/info-A6RAGUB7-CmZJKEaW.js +0 -3
  310. package/dist/infoDiagram-27XIBGKW-DXO97_PJ.js +0 -20
  311. package/dist/packet-AYTQ26CC-B3tgRshR.js +0 -3
  312. package/dist/pie-WAS4IAKB-BRiI8kbI.js +0 -3
  313. package/dist/radar-RG4KPBEZ-ASOMQXFw.js +0 -3
  314. package/dist/railroad-74A4TZTK-oS840SLr.js +0 -3
  315. package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +0 -3
  316. package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +0 -3
  317. package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +0 -3
  318. package/dist/stateDiagram-D77RDMKH-0Jasv70t.js +0 -220
  319. package/dist/stateDiagram-v2-MP3YSRHH-JMSv8IGL.js +0 -30
  320. package/dist/swimlanesDiagram-VR7AAH4N-DtnUyaK5.js +0 -31
  321. package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +0 -3
  322. package/dist/treemap-WGGIJYW6-Cjjk75wA.js +0 -3
  323. package/dist/wardley-WFR3VGLG-BamDiE0x.js +0 -3
@@ -1,18 +1,19 @@
1
- import { _ as e, m as t, p as n, y as r } from "./src-DQoflmwT.js";
2
- import { H as i, J as a, K as o, U as s, a as c, b as l, f as u, v as d, w as f, x as p, y as m, z as h } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
3
- import { n as g } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
- import { c as _, i as v } from "./chunk-75Z2AOVW-CLjRECiG.js";
5
- import { t as y } from "./chunk-CLGD4ZFX-DdntjE3C.js";
6
- import { i as b, r as x, t as S } from "./chunk-PWAF6VOD-z0rQy52m.js";
7
- import { n as C } from "./chunk-GMAD6QVW-Cnp61Cie.js";
8
- import { n as w } from "./mermaid-parser.core-BwVmI_Rq.js";
1
+ import { i as e, t } from "./rolldown-runtime-5HNE8Q1r.js";
2
+ import { C as n, H as r, U as i, Y as a, _ as o, a as s, b as c, f as l, q as u, v as d, y as f, z as p } from "./chunk-DSNLSHJZ-B1A8wsiA.js";
3
+ import { n as m } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
+ import { m as h, p as g } from "./src-CY9Rz0Sf.js";
5
+ import { c as _, i as v } from "./chunk-7S6XSTFO-CN6S2H1-.js";
6
+ import { t as y } from "./chunk-OYAV6JZA-Cypx4hYu.js";
7
+ import { i as b, r as x, t as S } from "./chunk-YZO67HFG-Bcmpw0dX.js";
8
+ import { n as C } from "./chunk-AQDTSKZB-DuUha9al.js";
9
+ import { n as w } from "./mermaid-parser.core-zUi7tSl-.js";
9
10
  import { t as T } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
10
- import { t as E } from "./cytoscape.esm-C5TvPYYm.js";
11
+ import { t as E } from "./cytoscape.esm-BvXLQ91B.js";
11
12
  //#region node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js
12
- var D = /* @__PURE__ */ e(((e, t) => {
13
+ var D = /* @__PURE__ */ t(((e, t, n) => {
13
14
  (function(n, r) {
14
15
  typeof e == "object" && typeof t == "object" ? t.exports = r() : typeof define == "function" && define.amd ? define([], r) : typeof e == "object" ? e.layoutBase = r() : n.layoutBase = r();
15
- })(e, function() {
16
+ })(n, function() {
16
17
  return (function(e) {
17
18
  var t = {};
18
19
  function n(r) {
@@ -332,24 +333,23 @@ var D = /* @__PURE__ */ e(((e, t) => {
332
333
  return this.estimatedSize = e == 0 ? a.EMPTY_COMPOUND_NODE_SIZE : e / Math.sqrt(this.nodes.length), this.estimatedSize;
333
334
  }, f.prototype.updateConnected = function() {
334
335
  var e = this;
335
- if (this.nodes.length == 0) {
336
- this.isConnected = !0;
337
- return;
338
- }
339
- var t = new d(), n = /* @__PURE__ */ new Set(), r = this.nodes[0], i, a;
340
- for (r.withChildren().forEach(function(e) {
341
- t.push(e), n.add(e);
342
- }); t.length !== 0;) {
343
- r = t.shift(), i = r.getEdges();
344
- for (var o = i.length, s = 0; s < o; s++) a = i[s].getOtherEndInGraph(r, this), a != null && !n.has(a) && a.withChildren().forEach(function(e) {
336
+ if (this.nodes.length == 0) this.isConnected = !0;
337
+ else {
338
+ var t = new d(), n = /* @__PURE__ */ new Set(), r = this.nodes[0], i, a;
339
+ for (r.withChildren().forEach(function(e) {
345
340
  t.push(e), n.add(e);
346
- });
347
- }
348
- if (this.isConnected = !1, n.size >= this.nodes.length) {
349
- var c = 0;
350
- n.forEach(function(t) {
351
- t.owner == e && c++;
352
- }), c == this.nodes.length && (this.isConnected = !0);
341
+ }); t.length !== 0;) {
342
+ r = t.shift(), i = r.getEdges();
343
+ for (var o = i.length, s = 0; s < o; s++) a = i[s].getOtherEndInGraph(r, this), a != null && !n.has(a) && a.withChildren().forEach(function(e) {
344
+ t.push(e), n.add(e);
345
+ });
346
+ }
347
+ if (this.isConnected = !1, n.size >= this.nodes.length) {
348
+ var c = 0;
349
+ n.forEach(function(t) {
350
+ t.owner == e && c++;
351
+ }), c == this.nodes.length && (this.isConnected = !0);
352
+ }
353
353
  }
354
354
  }, e.exports = f;
355
355
  }),
@@ -450,20 +450,17 @@ var D = /* @__PURE__ */ e(((e, t) => {
450
450
  if (r = n.getParent(), r == null) break;
451
451
  if (r == t) return !0;
452
452
  if (n = r.getOwner(), n == null) break;
453
- } while (!0);
453
+ } while (1);
454
454
  n = t.getOwner();
455
455
  do {
456
456
  if (r = n.getParent(), r == null) break;
457
457
  if (r == e) return !0;
458
458
  if (n = r.getOwner(), n == null) break;
459
- } while (!0);
459
+ } while (1);
460
460
  return !1;
461
461
  }, a.prototype.calcLowestCommonAncestors = function() {
462
- for (var e, t, n, r, i, a = this.getAllEdges(), o = a.length, s = 0; s < o; s++) {
463
- if (e = a[s], t = e.source, n = e.target, e.lca = null, e.sourceInLca = t, e.targetInLca = n, t == n) {
464
- e.lca = t.getOwner();
465
- continue;
466
- }
462
+ for (var e, t, n, r, i, a = this.getAllEdges(), o = a.length, s = 0; s < o; s++) if (e = a[s], t = e.source, n = e.target, e.lca = null, e.sourceInLca = t, e.targetInLca = n, t == n) e.lca = t.getOwner();
463
+ else {
467
464
  for (r = t.getOwner(); e.lca == null;) {
468
465
  for (e.targetInLca = n, i = n.getOwner(); e.lca == null;) {
469
466
  if (i == r) {
@@ -489,9 +486,9 @@ var D = /* @__PURE__ */ e(((e, t) => {
489
486
  if (r == null) break;
490
487
  if (r == n) return r;
491
488
  r = r.getParent().getOwner();
492
- } while (!0);
489
+ } while (1);
493
490
  n = n.getParent().getOwner();
494
- } while (!0);
491
+ } while (1);
495
492
  return n;
496
493
  }, a.prototype.calcInclusionTreeDepths = function(e, t) {
497
494
  e == null && t == null && (e = this.rootGraph, t = 1);
@@ -797,7 +794,7 @@ var D = /* @__PURE__ */ e(((e, t) => {
797
794
  };
798
795
  function i() {}
799
796
  i.lastID = 0, i.createID = function(e) {
800
- return i.isPrimitive(e) ? e : e.uniqueID == null ? (e.uniqueID = i.getString(), i.lastID++, e.uniqueID) : e.uniqueID;
797
+ return i.isPrimitive(e) ? e : (e.uniqueID ?? (e.uniqueID = i.getString(), i.lastID++), e.uniqueID);
801
798
  }, i.getString = function(e) {
802
799
  return e ??= i.lastID, "Object#" + e;
803
800
  }, i.isPrimitive = function(e) {
@@ -1637,10 +1634,10 @@ var D = /* @__PURE__ */ e(((e, t) => {
1637
1634
  })
1638
1635
  ]);
1639
1636
  });
1640
- })), O = /* @__PURE__ */ e(((e, t) => {
1637
+ })), O = /* @__PURE__ */ t(((e, t, n) => {
1641
1638
  (function(n, r) {
1642
1639
  typeof e == "object" && typeof t == "object" ? t.exports = r(D()) : typeof define == "function" && define.amd ? define(["layout-base"], r) : typeof e == "object" ? e.coseBase = r(D()) : n.coseBase = r(n.layoutBase);
1643
- })(e, function(e) {
1640
+ })(n, function(e) {
1644
1641
  return (() => {
1645
1642
  var t = {
1646
1643
  45: ((e, t, n) => {
@@ -1804,8 +1801,7 @@ var D = /* @__PURE__ */ e(((e, t) => {
1804
1801
  });
1805
1802
  }
1806
1803
  if (c.RELAX_MOVEMENT_ON_CONSTRAINTS) this.shuffle = function(e) {
1807
- var t, n, r;
1808
- for (r = e.length - 1; r >= 2 * e.length / 3; r--) t = Math.floor(Math.random() * (r + 1)), n = e[r], e[r] = e[t], e[t] = n;
1804
+ for (var t, n, r = e.length - 1; r >= 2 * e.length / 3; r--) t = Math.floor(Math.random() * (r + 1)), n = e[r], e[r] = e[t], e[t] = n;
1809
1805
  return e;
1810
1806
  }, this.nodesInRelativeHorizontal = [], this.nodesInRelativeVertical = [], this.nodeToRelativeConstraintMapHorizontal = /* @__PURE__ */ new Map(), this.nodeToRelativeConstraintMapVertical = /* @__PURE__ */ new Map(), this.nodeToTempPositionMapHorizontal = /* @__PURE__ */ new Map(), this.nodeToTempPositionMapVertical = /* @__PURE__ */ new Map(), this.constraints.relativePlacementConstraint.forEach(function(t) {
1811
1807
  if (t.left) {
@@ -1953,14 +1949,12 @@ var D = /* @__PURE__ */ e(((e, t) => {
1953
1949
  }
1954
1950
  }
1955
1951
  }, x.prototype.calculateNodesToApplyGravitationTo = function() {
1956
- var e = [], t, n = this.graphManager.getGraphs(), r = n.length, i;
1957
- for (i = 0; i < r; i++) t = n[i], t.updateConnected(), t.isConnected || (e = e.concat(t.getNodes()));
1952
+ for (var e = [], t, n = this.graphManager.getGraphs(), r = n.length, i = 0; i < r; i++) t = n[i], t.updateConnected(), t.isConnected || (e = e.concat(t.getNodes()));
1958
1953
  return e;
1959
1954
  }, x.prototype.createBendpoints = function() {
1960
1955
  var e = [];
1961
1956
  e = e.concat(this.graphManager.getAllEdges());
1962
- var t = /* @__PURE__ */ new Set(), n;
1963
- for (n = 0; n < e.length; n++) {
1957
+ for (var t = /* @__PURE__ */ new Set(), n = 0; n < e.length; n++) {
1964
1958
  var r = e[n];
1965
1959
  if (!t.has(r)) {
1966
1960
  var i = r.getSource(), a = r.getTarget();
@@ -1968,12 +1962,9 @@ var D = /* @__PURE__ */ e(((e, t) => {
1968
1962
  else {
1969
1963
  var o = [];
1970
1964
  if (o = o.concat(i.getEdgeListToNode(a)), o = o.concat(a.getEdgeListToNode(i)), !t.has(o[0])) {
1971
- if (o.length > 1) {
1972
- var s;
1973
- for (s = 0; s < o.length; s++) {
1974
- var c = o[s];
1975
- c.getBendpoints().push(new p()), this.createDummyNodesForBendpoints(c);
1976
- }
1965
+ if (o.length > 1) for (var s = 0; s < o.length; s++) {
1966
+ var c = o[s];
1967
+ c.getBendpoints().push(new p()), this.createDummyNodesForBendpoints(c);
1977
1968
  }
1978
1969
  o.forEach(function(e) {
1979
1970
  t.add(e);
@@ -2087,11 +2078,8 @@ var D = /* @__PURE__ */ e(((e, t) => {
2087
2078
  for (var r = n.getNodes(), i = 0; i < r.length; i++) {
2088
2079
  var a = r[i];
2089
2080
  if (this.getNodeDegree(a) > 0) return this.toBeTiled[t] = !1, !1;
2090
- if (a.getChild() == null) {
2091
- this.toBeTiled[a.id] = !1;
2092
- continue;
2093
- }
2094
- if (!this.getToBeTiled(a)) return this.toBeTiled[t] = !1, !1;
2081
+ if (a.getChild() == null) this.toBeTiled[a.id] = !1;
2082
+ else if (!this.getToBeTiled(a)) return this.toBeTiled[t] = !1, !1;
2095
2083
  }
2096
2084
  return this.toBeTiled[t] = !0, !0;
2097
2085
  }, x.prototype.getNodeDegree = function(e) {
@@ -2783,10 +2771,10 @@ var D = /* @__PURE__ */ e(((e, t) => {
2783
2771
  return r(45);
2784
2772
  })();
2785
2773
  });
2786
- })), k = /* @__PURE__ */ r((/* @__PURE__ */ e(((e, t) => {
2774
+ })), k = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t, n) => {
2787
2775
  (function(n, r) {
2788
2776
  typeof e == "object" && typeof t == "object" ? t.exports = r(O()) : typeof define == "function" && define.amd ? define(["cose-base"], r) : typeof e == "object" ? e.cytoscapeFcose = r(O()) : n.cytoscapeFcose = r(n.coseBase);
2789
- })(e, function(e) {
2777
+ })(n, function(e) {
2790
2778
  return (() => {
2791
2779
  var t = {
2792
2780
  658: ((e) => {
@@ -3393,57 +3381,57 @@ var D = /* @__PURE__ */ e(((e, t) => {
3393
3381
  T: "top",
3394
3382
  B: "bottom"
3395
3383
  }, j = {
3396
- L: /* @__PURE__ */ g((e) => `${e},${e / 2} 0,${e} 0,0`, "L"),
3397
- R: /* @__PURE__ */ g((e) => `0,${e / 2} ${e},0 ${e},${e}`, "R"),
3398
- T: /* @__PURE__ */ g((e) => `0,0 ${e},0 ${e / 2},${e}`, "T"),
3399
- B: /* @__PURE__ */ g((e) => `${e / 2},0 ${e},${e} 0,${e}`, "B")
3384
+ L: /* @__PURE__ */ m((e) => `${e},${e / 2} 0,${e} 0,0`, "L"),
3385
+ R: /* @__PURE__ */ m((e) => `0,${e / 2} ${e},0 ${e},${e}`, "R"),
3386
+ T: /* @__PURE__ */ m((e) => `0,0 ${e},0 ${e / 2},${e}`, "T"),
3387
+ B: /* @__PURE__ */ m((e) => `${e / 2},0 ${e},${e} 0,${e}`, "B")
3400
3388
  }, M = {
3401
- L: /* @__PURE__ */ g((e, t) => e - t + 2, "L"),
3402
- R: /* @__PURE__ */ g((e, t) => e - 2, "R"),
3403
- T: /* @__PURE__ */ g((e, t) => e - t + 2, "T"),
3404
- B: /* @__PURE__ */ g((e, t) => e - 2, "B")
3405
- }, N = /* @__PURE__ */ g(function(e) {
3389
+ L: /* @__PURE__ */ m((e, t) => e - t + 2, "L"),
3390
+ R: /* @__PURE__ */ m((e, t) => e - 2, "R"),
3391
+ T: /* @__PURE__ */ m((e, t) => e - t + 2, "T"),
3392
+ B: /* @__PURE__ */ m((e, t) => e - 2, "B")
3393
+ }, N = /* @__PURE__ */ m(function(e) {
3406
3394
  return F(e) ? e === "L" ? "R" : "L" : e === "T" ? "B" : "T";
3407
- }, "getOppositeArchitectureDirection"), P = /* @__PURE__ */ g(function(e) {
3395
+ }, "getOppositeArchitectureDirection"), P = /* @__PURE__ */ m(function(e) {
3408
3396
  let t = e;
3409
3397
  return t === "L" || t === "R" || t === "T" || t === "B";
3410
- }, "isArchitectureDirection"), F = /* @__PURE__ */ g(function(e) {
3398
+ }, "isArchitectureDirection"), F = /* @__PURE__ */ m(function(e) {
3411
3399
  let t = e;
3412
3400
  return t === "L" || t === "R";
3413
- }, "isArchitectureDirectionX"), I = /* @__PURE__ */ g(function(e) {
3401
+ }, "isArchitectureDirectionX"), I = /* @__PURE__ */ m(function(e) {
3414
3402
  let t = e;
3415
3403
  return t === "T" || t === "B";
3416
- }, "isArchitectureDirectionY"), L = /* @__PURE__ */ g(function(e, t) {
3404
+ }, "isArchitectureDirectionY"), L = /* @__PURE__ */ m(function(e, t) {
3417
3405
  let n = F(e) && I(t), r = I(e) && F(t);
3418
3406
  return n || r;
3419
- }, "isArchitectureDirectionXY"), R = /* @__PURE__ */ g(function(e) {
3407
+ }, "isArchitectureDirectionXY"), R = /* @__PURE__ */ m(function(e) {
3420
3408
  let t = e[0], n = e[1], r = F(t) && I(n), i = I(t) && F(n);
3421
3409
  return r || i;
3422
- }, "isArchitecturePairXY"), z = /* @__PURE__ */ g(function(e) {
3410
+ }, "isArchitecturePairXY"), z = /* @__PURE__ */ m(function(e) {
3423
3411
  return e !== "LL" && e !== "RR" && e !== "TT" && e !== "BB";
3424
- }, "isValidArchitectureDirectionPair"), B = /* @__PURE__ */ g(function(e, t) {
3412
+ }, "isValidArchitectureDirectionPair"), B = /* @__PURE__ */ m(function(e, t) {
3425
3413
  let n = `${e}${t}`;
3426
3414
  return z(n) ? n : void 0;
3427
- }, "getArchitectureDirectionPair"), V = /* @__PURE__ */ g(function([e, t], n) {
3415
+ }, "getArchitectureDirectionPair"), V = /* @__PURE__ */ m(function([e, t], n) {
3428
3416
  let r = n[0], i = n[1];
3429
3417
  return F(r) ? I(i) ? [e + (r === "L" ? -1 : 1), t + (i === "T" ? 1 : -1)] : [e + (r === "L" ? -1 : 1), t] : F(i) ? [e + (i === "L" ? 1 : -1), t + (r === "T" ? 1 : -1)] : [e, t + (r === "T" ? 1 : -1)];
3430
- }, "shiftPositionByArchitectureDirectionPair"), ee = /* @__PURE__ */ g(function(e) {
3418
+ }, "shiftPositionByArchitectureDirectionPair"), ee = /* @__PURE__ */ m(function(e) {
3431
3419
  return e === "LT" || e === "TL" ? [1, 1] : e === "BL" || e === "LB" ? [1, -1] : e === "BR" || e === "RB" ? [-1, -1] : [-1, 1];
3432
- }, "getArchitectureDirectionXYFactors"), te = /* @__PURE__ */ g(function(e, t) {
3420
+ }, "getArchitectureDirectionXYFactors"), te = /* @__PURE__ */ m(function(e, t) {
3433
3421
  return L(e, t) ? "bend" : F(e) ? "horizontal" : "vertical";
3434
- }, "getArchitectureDirectionAlignment"), H = /* @__PURE__ */ g(function(e) {
3422
+ }, "getArchitectureDirectionAlignment"), H = /* @__PURE__ */ m(function(e) {
3435
3423
  return e.type === "service";
3436
- }, "isArchitectureService"), ne = /* @__PURE__ */ g(function(e) {
3424
+ }, "isArchitectureService"), ne = /* @__PURE__ */ m(function(e) {
3437
3425
  return e.type === "junction";
3438
- }, "isArchitectureJunction"), re = /* @__PURE__ */ g((e, t) => {
3426
+ }, "isArchitectureJunction"), re = /* @__PURE__ */ m((e, t) => {
3439
3427
  let [n, r] = [e, t].sort();
3440
3428
  return `${JSON.stringify(n)}-${JSON.stringify(r)}`;
3441
- }, "architectureGroupAlignmentKey"), U = /* @__PURE__ */ g((e) => e.data(), "edgeData"), W = /* @__PURE__ */ g((e) => e.data(), "nodeData"), G = u.architecture, ie = class {
3429
+ }, "architectureGroupAlignmentKey"), U = /* @__PURE__ */ m((e) => e.data(), "edgeData"), W = /* @__PURE__ */ m((e) => e.data(), "nodeData"), G = l.architecture, ie = class {
3442
3430
  constructor() {
3443
- this.nodes = /* @__PURE__ */ new Map(), this.groups = /* @__PURE__ */ new Map(), this.edges = [], this.layoutHints = [], this.registeredIds = /* @__PURE__ */ new Map(), this.elements = /* @__PURE__ */ new Map(), this.diagramId = "", this.setAccTitle = s, this.getAccTitle = m, this.setDiagramTitle = o, this.getDiagramTitle = f, this.getAccDescription = d, this.setAccDescription = i, this.clear();
3431
+ this.nodes = /* @__PURE__ */ new Map(), this.groups = /* @__PURE__ */ new Map(), this.edges = [], this.layoutHints = [], this.registeredIds = /* @__PURE__ */ new Map(), this.elements = /* @__PURE__ */ new Map(), this.diagramId = "", this.setAccTitle = i, this.getAccTitle = d, this.setDiagramTitle = u, this.getDiagramTitle = n, this.getAccDescription = o, this.setAccDescription = r, this.clear();
3444
3432
  }
3445
3433
  static {
3446
- g(this, "ArchitectureDB");
3434
+ m(this, "ArchitectureDB");
3447
3435
  }
3448
3436
  setDiagramId(e) {
3449
3437
  this.diagramId = e;
@@ -3452,7 +3440,7 @@ var D = /* @__PURE__ */ e(((e, t) => {
3452
3440
  return this.diagramId;
3453
3441
  }
3454
3442
  clear() {
3455
- this.nodes = /* @__PURE__ */ new Map(), this.groups = /* @__PURE__ */ new Map(), this.edges = [], this.layoutHints = [], this.registeredIds = /* @__PURE__ */ new Map(), this.dataStructures = void 0, this.elements = /* @__PURE__ */ new Map(), this.diagramId = "", c();
3443
+ this.nodes = /* @__PURE__ */ new Map(), this.groups = /* @__PURE__ */ new Map(), this.edges = [], this.layoutHints = [], this.registeredIds = /* @__PURE__ */ new Map(), this.dataStructures = void 0, this.elements = /* @__PURE__ */ new Map(), this.diagramId = "", s();
3456
3444
  }
3457
3445
  addService({ id: e, icon: t, in: n, title: r, iconText: i }) {
3458
3446
  if (this.registeredIds.has(e)) throw Error(`The service id [${e}] is already in use by another ${this.registeredIds.get(e)}`);
@@ -3573,7 +3561,7 @@ var D = /* @__PURE__ */ e(((e, t) => {
3573
3561
  }
3574
3562
  t.set(n, i);
3575
3563
  }
3576
- let n = /* @__PURE__ */ new Set(), r = new Set(t.keys()), i = /* @__PURE__ */ g((e) => {
3564
+ let n = /* @__PURE__ */ new Set(), r = new Set(t.keys()), i = /* @__PURE__ */ m((e) => {
3577
3565
  let i = /* @__PURE__ */ new Map([[e, [0, 0]]]), a = [e];
3578
3566
  for (; a.length > 0;) {
3579
3567
  let e = a.shift();
@@ -3612,13 +3600,13 @@ var D = /* @__PURE__ */ e(((e, t) => {
3612
3600
  getConfig() {
3613
3601
  return v({
3614
3602
  ...G,
3615
- ...l().architecture
3603
+ ...f().architecture
3616
3604
  });
3617
3605
  }
3618
3606
  getConfigField(e) {
3619
3607
  return this.getConfig()[e];
3620
3608
  }
3621
- }, K = /* @__PURE__ */ g((e, t) => {
3609
+ }, K = /* @__PURE__ */ m((e, t) => {
3622
3610
  T(e, t), e.groups.map((e) => t.addGroup(e)), e.services.map((e) => t.addService({
3623
3611
  ...e,
3624
3612
  type: "service"
@@ -3631,14 +3619,14 @@ var D = /* @__PURE__ */ e(((e, t) => {
3631
3619
  }));
3632
3620
  }, "populateDb"), q = {
3633
3621
  parser: { yy: void 0 },
3634
- parse: /* @__PURE__ */ g(async (e) => {
3635
- let n = await w("architecture", e);
3636
- t.debug(n);
3637
- let r = q.parser?.yy;
3638
- if (!(r instanceof ie)) throw Error("parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");
3639
- K(n, r);
3622
+ parse: /* @__PURE__ */ m(async (e) => {
3623
+ let t = await w("architecture", e);
3624
+ h.debug(t);
3625
+ let n = q.parser?.yy;
3626
+ if (!(n instanceof ie)) throw Error("parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");
3627
+ K(t, n);
3640
3628
  }, "parse")
3641
- }, ae = /* @__PURE__ */ g((e) => `
3629
+ }, ae = /* @__PURE__ */ m((e) => `
3642
3630
  .edge {
3643
3631
  stroke-width: ${e.archEdgeWidth};
3644
3632
  stroke: ${e.archEdgeColor};
@@ -3684,8 +3672,8 @@ function J(e, t) {
3684
3672
  Math.random = n;
3685
3673
  }
3686
3674
  }
3687
- g(J, "withSeededRandom");
3688
- var Y = /* @__PURE__ */ g((e) => `<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${e}</g>`, "wrapIcon"), X = {
3675
+ m(J, "withSeededRandom");
3676
+ var Y = /* @__PURE__ */ m((e) => `<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${e}</g>`, "wrapIcon"), X = {
3689
3677
  prefix: "mermaid-architecture",
3690
3678
  height: 80,
3691
3679
  width: 80,
@@ -3698,32 +3686,32 @@ var Y = /* @__PURE__ */ g((e) => `<g><rect width="80" height="80" style="fill: #
3698
3686
  unknown: b,
3699
3687
  blank: { body: Y("") }
3700
3688
  }
3701
- }, oe = /* @__PURE__ */ g(async function(e, t, n, r) {
3702
- let i = n.getConfigField("padding"), a = n.getConfigField("iconSize"), o = a / 2, s = a / 6, c = s / 2;
3689
+ }, oe = /* @__PURE__ */ m(async function(e, t, n, r) {
3690
+ let i = n.getConfigField("padding"), a = n.getConfigField("iconSize"), o = a / 2, s = a / 6, l = s / 2;
3703
3691
  await Promise.all(t.edges().map(async (t) => {
3704
- let { source: a, sourceDir: l, sourceArrow: u, sourceGroup: d, target: f, targetDir: m, targetArrow: h, targetGroup: g, label: v } = U(t), { x: y, y: b } = t[0].sourceEndpoint(), { x, y: S } = t[0].midpoint(), { x: w, y: T } = t[0].targetEndpoint(), E = i + 4;
3705
- if (d && (F(l) ? y += l === "L" ? -E : E : b += l === "T" ? -E : E + 18), g && (F(m) ? w += m === "L" ? -E : E : T += m === "T" ? -E : E + 18), !d && n.getNode(a)?.type === "junction" && (F(l) ? y += l === "L" ? o : -o : b += l === "T" ? o : -o), !g && n.getNode(f)?.type === "junction" && (F(m) ? w += m === "L" ? o : -o : T += m === "T" ? o : -o), t[0]._private.rscratch) {
3692
+ let { source: a, sourceDir: u, sourceArrow: d, sourceGroup: f, target: p, targetDir: m, targetArrow: h, targetGroup: g, label: v } = U(t), { x: y, y: b } = t[0].sourceEndpoint(), { x, y: S } = t[0].midpoint(), { x: w, y: T } = t[0].targetEndpoint(), E = i + 4;
3693
+ if (f && (F(u) ? y += u === "L" ? -E : E : b += u === "T" ? -E : E + 18), g && (F(m) ? w += m === "L" ? -E : E : T += m === "T" ? -E : E + 18), !f && n.getNode(a)?.type === "junction" && (F(u) ? y += u === "L" ? o : -o : b += u === "T" ? o : -o), !g && n.getNode(p)?.type === "junction" && (F(m) ? w += m === "L" ? o : -o : T += m === "T" ? o : -o), t[0]._private.rscratch) {
3706
3694
  let t = e.insert("g");
3707
- if (t.insert("path").attr("d", `M ${y},${b} L ${x},${S} L${w},${T} `).attr("class", "edge").attr("id", `${r}-${_(a, f, { prefix: "L" })}`), u) {
3708
- let e = F(l) ? M[l](y, s) : y - c, n = I(l) ? M[l](b, s) : b - c;
3709
- t.insert("polygon").attr("points", j[l](s)).attr("transform", `translate(${e},${n})`).attr("class", "arrow");
3695
+ if (t.insert("path").attr("d", `M ${y},${b} L ${x},${S} L${w},${T} `).attr("class", "edge").attr("id", `${r}-${_(a, p, { prefix: "L" })}`), d) {
3696
+ let e = F(u) ? M[u](y, s) : y - l, n = I(u) ? M[u](b, s) : b - l;
3697
+ t.insert("polygon").attr("points", j[u](s)).attr("transform", `translate(${e},${n})`).attr("class", "arrow");
3710
3698
  }
3711
3699
  if (h) {
3712
- let e = F(m) ? M[m](w, s) : w - c, n = I(m) ? M[m](T, s) : T - c;
3700
+ let e = F(m) ? M[m](w, s) : w - l, n = I(m) ? M[m](T, s) : T - l;
3713
3701
  t.insert("polygon").attr("points", j[m](s)).attr("transform", `translate(${e},${n})`).attr("class", "arrow");
3714
3702
  }
3715
3703
  if (v) {
3716
- let e = L(l, m) ? "XY" : F(l) ? "X" : "Y", n = 0;
3704
+ let e = L(u, m) ? "XY" : F(u) ? "X" : "Y", n = 0;
3717
3705
  n = e === "X" ? Math.abs(y - w) : e === "Y" ? Math.abs(b - T) / 1.5 : Math.abs(y - w) / 2;
3718
3706
  let r = t.append("g");
3719
3707
  if (await C(r, v, {
3720
3708
  useHtmlLabels: !1,
3721
3709
  width: n,
3722
3710
  classes: "architecture-service-label"
3723
- }, p()), r.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle"), e === "X") r.attr("transform", "translate(" + x + ", " + S + ")");
3711
+ }, c()), r.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle"), e === "X") r.attr("transform", "translate(" + x + ", " + S + ")");
3724
3712
  else if (e === "Y") r.attr("transform", "translate(" + x + ", " + S + ") rotate(-90)");
3725
3713
  else if (e === "XY") {
3726
- let e = B(l, m);
3714
+ let e = B(u, m);
3727
3715
  if (e && R(e)) {
3728
3716
  let t = r.node().getBoundingClientRect(), [n, i] = ee(e);
3729
3717
  r.attr("dominant-baseline", "auto").attr("transform", `rotate(${-1 * n * i * 45})`);
@@ -3738,14 +3726,14 @@ var Y = /* @__PURE__ */ g((e) => `<g><rect width="80" height="80" style="fill: #
3738
3726
  }
3739
3727
  }
3740
3728
  }));
3741
- }, "drawEdges"), Z = /* @__PURE__ */ g(async function(e, t, n, r) {
3729
+ }, "drawEdges"), Z = /* @__PURE__ */ m(async function(e, t, n, r) {
3742
3730
  let i = n.getConfigField("padding") * .75, a = n.getConfigField("fontSize"), o = n.getConfigField("iconSize") / 2;
3743
3731
  await Promise.all(t.nodes().map(async (t) => {
3744
3732
  let s = W(t);
3745
3733
  if (s.type === "group") {
3746
- let { h: c, w: l, x1: u, y1: d } = t.boundingBox(), f = e.append("rect");
3747
- f.attr("id", `${r}-group-${s.id}`).attr("x", u + o).attr("y", d + o).attr("width", l).attr("height", c).attr("class", "node-bkg");
3748
- let m = e.append("g"), h = u, g = d;
3734
+ let { h: l, w: u, x1: d, y1: f } = t.boundingBox(), p = e.append("rect");
3735
+ p.attr("id", `${r}-group-${s.id}`).attr("x", d + o).attr("y", f + o).attr("width", u).attr("height", l).attr("class", "node-bkg");
3736
+ let m = e.append("g"), h = d, g = f;
3749
3737
  if (s.icon) {
3750
3738
  let e = m.append("g");
3751
3739
  e.html(`<g>${await S(s.icon, {
@@ -3758,15 +3746,15 @@ var Y = /* @__PURE__ */ g((e) => `<g><rect width="80" height="80" style="fill: #
3758
3746
  let e = m.append("g");
3759
3747
  await C(e, s.label, {
3760
3748
  useHtmlLabels: !1,
3761
- width: l,
3749
+ width: u,
3762
3750
  classes: "architecture-service-label"
3763
- }, p()), e.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "start").attr("text-anchor", "start"), e.attr("transform", "translate(" + (h + o + 4) + ", " + (g + o + 2) + ")");
3751
+ }, c()), e.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "start").attr("text-anchor", "start"), e.attr("transform", "translate(" + (h + o + 4) + ", " + (g + o + 2) + ")");
3764
3752
  }
3765
- n.setElementForId(s.id, f);
3753
+ n.setElementForId(s.id, p);
3766
3754
  }
3767
3755
  }));
3768
- }, "drawGroups"), se = /* @__PURE__ */ g(async function(e, t, n, r) {
3769
- let i = p();
3756
+ }, "drawGroups"), se = /* @__PURE__ */ m(async function(e, t, n, r) {
3757
+ let i = c();
3770
3758
  for (let a of n) {
3771
3759
  let n = t.append("g"), o = e.getConfigField("iconSize");
3772
3760
  if (a.title) {
@@ -3789,7 +3777,7 @@ var Y = /* @__PURE__ */ g((e) => `<g><rect width="80" height="80" style="fill: #
3789
3777
  width: o,
3790
3778
  fallbackPrefix: X.prefix
3791
3779
  })}</g>`);
3792
- let e = s.append("g").append("foreignObject").attr("width", o).attr("height", o).append("div").attr("class", "node-icon-text").attr("style", `height: ${o}px;`).append("div").html(h(a.iconText, i)), t = parseInt(window.getComputedStyle(e.node(), null).getPropertyValue("font-size").replace(/\D/g, "")) ?? 16;
3780
+ let e = s.append("g").append("foreignObject").attr("width", o).attr("height", o).append("div").attr("class", "node-icon-text").attr("style", `height: ${o}px;`).append("div").html(p(a.iconText, i)), t = parseInt(window.getComputedStyle(e.node(), null).getPropertyValue("font-size").replace(/\D/g, "")) ?? 16;
3793
3781
  e.attr("style", `-webkit-line-clamp: ${Math.floor((o - 2) / t)};`);
3794
3782
  } else s.append("path").attr("class", "node-bkg").attr("id", `${r}-node-${a.id}`).attr("d", `M0,${o} V5 Q0,0 5,0 H${o - 5} Q${o},0 ${o},5 V${o} Z`);
3795
3783
  n.attr("id", `${r}-service-${a.id}`).attr("class", "architecture-service");
@@ -3797,7 +3785,7 @@ var Y = /* @__PURE__ */ g((e) => `<g><rect width="80" height="80" style="fill: #
3797
3785
  a.width = c, a.height = l, e.setElementForId(a.id, n);
3798
3786
  }
3799
3787
  return 0;
3800
- }, "drawServices"), ce = /* @__PURE__ */ g(function(e, t, n, r) {
3788
+ }, "drawServices"), ce = /* @__PURE__ */ m(function(e, t, n, r) {
3801
3789
  n.forEach((n) => {
3802
3790
  let i = t.append("g"), a = e.getConfigField("iconSize");
3803
3791
  i.append("g").append("rect").attr("id", `${r}-node-${n.id}`).attr("fill-opacity", "0").attr("width", a).attr("height", a), i.attr("class", "architecture-junction");
@@ -3826,7 +3814,7 @@ function le(e, t, n) {
3826
3814
  });
3827
3815
  });
3828
3816
  }
3829
- g(le, "addServices");
3817
+ m(le, "addServices");
3830
3818
  function ue(e, t, n) {
3831
3819
  e.forEach((e) => {
3832
3820
  t.add({
@@ -3842,14 +3830,14 @@ function ue(e, t, n) {
3842
3830
  });
3843
3831
  });
3844
3832
  }
3845
- g(ue, "addJunctions");
3833
+ m(ue, "addJunctions");
3846
3834
  function de(e, t) {
3847
3835
  t.nodes().map((t) => {
3848
3836
  let n = W(t);
3849
3837
  n.type !== "group" && (n.x = t.position().x, n.y = t.position().y, e.getElementById(n.id).attr("transform", "translate(" + (n.x || 0) + "," + (n.y || 0) + ")"));
3850
3838
  });
3851
3839
  }
3852
- g(de, "positionNodes");
3840
+ m(de, "positionNodes");
3853
3841
  function fe(e, t) {
3854
3842
  e.forEach((e) => {
3855
3843
  t.add({
@@ -3865,7 +3853,7 @@ function fe(e, t) {
3865
3853
  });
3866
3854
  });
3867
3855
  }
3868
- g(fe, "addGroups");
3856
+ m(fe, "addGroups");
3869
3857
  function pe(e, t) {
3870
3858
  e.forEach((e) => {
3871
3859
  let { lhsId: n, rhsId: r, lhsInto: i, lhsGroup: a, rhsInto: o, lhsDir: s, rhsDir: c, rhsGroup: l, title: u } = e, d = L(e.lhsDir, e.rhsDir) ? "segments" : "straight", f = {
@@ -3889,17 +3877,14 @@ function pe(e, t) {
3889
3877
  });
3890
3878
  });
3891
3879
  }
3892
- g(pe, "addEdges");
3880
+ m(pe, "addEdges");
3893
3881
  function me(e, t, n, r = []) {
3894
- let i = /* @__PURE__ */ g((e, t) => {
3882
+ let i = /* @__PURE__ */ m((e, t) => {
3895
3883
  let r = /* @__PURE__ */ new Map();
3896
3884
  for (let [i, a] of e.entries()) {
3897
3885
  let e = `${i}`, o = 0, s = [...a.entries()];
3898
- if (s.length === 1) {
3899
- r.set(e, s[0][1]);
3900
- continue;
3901
- }
3902
- for (let i = 0; i < s.length - 1; i++) for (let a = i + 1; a < s.length; a++) {
3886
+ if (s.length === 1) r.set(e, s[0][1]);
3887
+ else for (let i = 0; i < s.length - 1; i++) for (let a = i + 1; a < s.length; a++) {
3903
3888
  let [c, l] = s[i], [u, d] = s[a];
3904
3889
  if (n.get(re(c, u)) === t) r.set(e, [
3905
3890
  ...r.get(e) ?? [],
@@ -3937,7 +3922,7 @@ function me(e, t, n, r = []) {
3937
3922
  };
3938
3923
  }).reduce(([e, t], { horiz: n, vert: r }) => [[...e, ...n], [...t, ...r]], [[], []]), s = /* @__PURE__ */ new Set();
3939
3924
  r.forEach((e) => e.members.forEach((e) => s.add(e)));
3940
- let c = /* @__PURE__ */ g((e) => e.filter((e) => !e.some((e) => s.has(e))), "dropOverlapping"), l = c(a), u = c(o);
3925
+ let c = /* @__PURE__ */ m((e) => e.filter((e) => !e.some((e) => s.has(e))), "dropOverlapping"), l = c(a), u = c(o);
3941
3926
  return r.forEach((e) => {
3942
3927
  e.members.length < 2 || (e.direction === "row" ? l.push([...e.members]) : u.push([...e.members]));
3943
3928
  }), {
@@ -3945,7 +3930,7 @@ function me(e, t, n, r = []) {
3945
3930
  vertical: u
3946
3931
  };
3947
3932
  }
3948
- g(me, "getAlignments");
3933
+ m(me, "getAlignments");
3949
3934
  function he(e, t, n = []) {
3950
3935
  let r = [], i = t.getConfigField("iconSize"), a = t.getConfigField("idealEdgeLengthMultiplier"), o = a * i, s = /* @__PURE__ */ new Set();
3951
3936
  n.forEach((e) => {
@@ -3962,7 +3947,7 @@ function he(e, t, n = []) {
3962
3947
  });
3963
3948
  }
3964
3949
  });
3965
- let c = /* @__PURE__ */ g((e) => `${e[0]},${e[1]}`, "posToStr"), l = /* @__PURE__ */ g((e) => e.split(",").map((e) => parseInt(e)), "strToPos");
3950
+ let c = /* @__PURE__ */ m((e) => `${e[0]},${e[1]}`, "posToStr"), l = /* @__PURE__ */ m((e) => e.split(",").map((e) => parseInt(e)), "strToPos");
3966
3951
  return e.forEach((e) => {
3967
3952
  let t = new Map([...e.entries()].map(([e, t]) => [c(t), e])), n = [c([0, 0])], o = {}, u = {
3968
3953
  L: [-1, 0],
@@ -3993,10 +3978,10 @@ function he(e, t, n = []) {
3993
3978
  }
3994
3979
  }), r;
3995
3980
  }
3996
- g(he, "getRelativeConstraints");
3997
- function ge(e, r, i, a, o, { spatialMaps: s, groupAlignments: c }) {
3998
- return new Promise((l) => {
3999
- let u = n("body").append("div").attr("id", "cy").attr("style", "display:none"), d = E({
3981
+ m(he, "getRelativeConstraints");
3982
+ function ge(e, t, n, r, i, { spatialMaps: a, groupAlignments: o }) {
3983
+ return new Promise((s) => {
3984
+ let c = g("body").append("div").attr("id", "cy").attr("style", "display:none"), l = E({
4000
3985
  container: document.getElementById("cy"),
4001
3986
  style: [
4002
3987
  {
@@ -4031,7 +4016,7 @@ function ge(e, r, i, a, o, { spatialMaps: s, groupAlignments: c }) {
4031
4016
  style: {
4032
4017
  "text-valign": "bottom",
4033
4018
  "text-halign": "center",
4034
- "font-size": `${o.getConfigField("fontSize")}px`
4019
+ "font-size": `${i.getConfigField("fontSize")}px`
4035
4020
  }
4036
4021
  },
4037
4022
  {
@@ -4051,7 +4036,7 @@ function ge(e, r, i, a, o, { spatialMaps: s, groupAlignments: c }) {
4051
4036
  },
4052
4037
  {
4053
4038
  selector: ".node-group",
4054
- style: { padding: `${o.getConfigField("padding")}px` }
4039
+ style: { padding: `${i.getConfigField("padding")}px` }
4055
4040
  }
4056
4041
  ],
4057
4042
  layout: {
@@ -4064,13 +4049,13 @@ function ge(e, r, i, a, o, { spatialMaps: s, groupAlignments: c }) {
4064
4049
  }
4065
4050
  }
4066
4051
  });
4067
- u.remove(), fe(i, d), le(e, d, o), ue(r, d, o), pe(a, d);
4068
- let f = o.getLayoutHints(), p = me(o, s, c, f), m = he(s, o, f), h = o.getConfigField("iconSize"), _ = o.getConfigField("idealEdgeLengthMultiplier") * h, v = .5 * h, y = o.getConfigField("edgeElasticity"), b = o.getConfigField("seed"), x = d.layout({
4052
+ c.remove(), fe(n, l), le(e, l, i), ue(t, l, i), pe(r, l);
4053
+ let u = i.getLayoutHints(), d = me(i, a, o, u), f = he(a, i, u), p = i.getConfigField("iconSize"), _ = i.getConfigField("idealEdgeLengthMultiplier") * p, v = .5 * p, y = i.getConfigField("edgeElasticity"), b = i.getConfigField("seed"), x = l.layout({
4069
4054
  name: "fcose",
4070
4055
  quality: "proof",
4071
- randomize: o.getConfigField("randomize"),
4072
- nodeSeparation: o.getConfigField("nodeSeparation"),
4073
- numIter: o.getConfigField("numIter"),
4056
+ randomize: i.getConfigField("randomize"),
4057
+ nodeSeparation: i.getConfigField("nodeSeparation"),
4058
+ numIter: i.getConfigField("numIter"),
4074
4059
  styleEnabled: !1,
4075
4060
  animate: !1,
4076
4061
  nodeDimensionsIncludeLabels: !1,
@@ -4082,8 +4067,8 @@ function ge(e, r, i, a, o, { spatialMaps: s, groupAlignments: c }) {
4082
4067
  let [t, n] = e.connectedNodes(), { parent: r } = W(t), { parent: i } = W(n);
4083
4068
  return r === i ? y : .001;
4084
4069
  },
4085
- alignmentConstraint: p,
4086
- relativePlacementConstraint: m
4070
+ alignmentConstraint: d,
4071
+ relativePlacementConstraint: f
4087
4072
  });
4088
4073
  x.one("layoutstop", () => {
4089
4074
  function e(e, t, n, r) {
@@ -4110,33 +4095,33 @@ function ge(e, r, i, a, o, { spatialMaps: s, groupAlignments: c }) {
4110
4095
  weights: i
4111
4096
  };
4112
4097
  }
4113
- g(e, "getSegmentWeights"), d.startBatch();
4114
- for (let t of Object.values(d.edges())) if (t.data?.()) {
4098
+ m(e, "getSegmentWeights"), l.startBatch();
4099
+ for (let t of Object.values(l.edges())) if (t.data?.()) {
4115
4100
  let { x: n, y: r } = t.source().position(), { x: i, y: a } = t.target().position();
4116
4101
  if (n !== i && r !== a) {
4117
4102
  let n = t.sourceEndpoint(), r = t.targetEndpoint(), { sourceDir: i } = U(t), [a, o] = I(i) ? [n.x, r.y] : [r.x, n.y], { weights: s, distances: c } = e(n, r, a, o);
4118
4103
  t.style("segment-distances", c), t.style("segment-weights", s);
4119
4104
  }
4120
4105
  }
4121
- d.endBatch(), J(b, () => x.run());
4106
+ l.endBatch(), J(b, () => x.run());
4122
4107
  });
4123
4108
  try {
4124
4109
  J(b, () => x.run());
4125
4110
  } catch (e) {
4126
4111
  throw e instanceof RangeError && e.message.includes("Invalid array length") ? Error("Architecture layout failed: a declared `align row|column` directive likely contradicts the edge directions, or two declared alignments overlap on a shared node. Check that the order of members in each `align` chain is consistent with the edges between them, and that no node appears in two `align` directives along the same axis.") : e;
4127
4112
  }
4128
- d.ready((e) => {
4129
- t.info("Ready", e), l(d);
4113
+ l.ready((e) => {
4114
+ h.info("Ready", e), s(l);
4130
4115
  });
4131
4116
  });
4132
4117
  }
4133
- g(ge, "layoutArchitecture");
4118
+ m(ge, "layoutArchitecture");
4134
4119
  var _e = {
4135
4120
  parser: q,
4136
4121
  get db() {
4137
4122
  return new ie();
4138
4123
  },
4139
- renderer: { draw: /* @__PURE__ */ g(async (e, t, n, r) => {
4124
+ renderer: { draw: /* @__PURE__ */ m(async (e, t, n, r) => {
4140
4125
  let i = r.db;
4141
4126
  i.setDiagramId(t);
4142
4127
  let o = i.getServices(), s = i.getJunctions(), c = i.getGroups(), l = i.getEdges(), u = i.getDataStructures(), d = y(t), f = d.append("g");
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 24 24"><path d="M9,2A7,7 0 0,1 16,9C16,10.57 15.5,12 14.61,13.19L15.41,14H16L22,20L20,22L14,16V15.41L13.19,14.61C12,15.5 10.57,16 9,16A7,7 0 0,1 2,9A7,7 0 0,1 9,2M5,8V10H13V8H5Z" /></svg>