@sme.up/ketchup2 2.9.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 (384) hide show
  1. package/dist/{abnfDiagram-VCTEODGH-DwAVRNNu.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-N1aPr2hw.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/button-types.d.ts +2 -2
  8. package/dist/basic-components/button-group/button-group.d.ts.map +1 -1
  9. package/dist/basic-components/cell/cell-types.d.ts +15 -6
  10. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  11. package/dist/basic-components/cell/cell-utils.d.ts +10 -4
  12. package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
  13. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  14. package/dist/basic-components/checkbox/checkbox.d.ts.map +1 -1
  15. package/dist/basic-components/chips/chips-types.d.ts +13 -0
  16. package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
  17. package/dist/basic-components/chips/chips.d.ts.map +1 -1
  18. package/dist/basic-components/date-picker/date-picker-types.d.ts +6 -2
  19. package/dist/basic-components/date-picker/date-picker-types.d.ts.map +1 -1
  20. package/dist/basic-components/file-upload/file-upload-types.d.ts +2 -2
  21. package/dist/basic-components/file-upload/file-upload-types.d.ts.map +1 -1
  22. package/dist/basic-components/file-upload/file-upload.d.ts.map +1 -1
  23. package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -1
  24. package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
  25. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
  26. package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
  27. package/dist/basic-components/radio/radio.d.ts.map +1 -1
  28. package/dist/basic-components/slider/slider.d.ts.map +1 -1
  29. package/dist/basic-components/text/text-types.d.ts +3 -1
  30. package/dist/basic-components/text/text-types.d.ts.map +1 -1
  31. package/dist/basic-components/text/text.d.ts.map +1 -1
  32. package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
  33. package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
  34. package/dist/basic-components/textfield/textfield-types.d.ts +10 -5
  35. package/dist/basic-components/textfield/textfield-types.d.ts.map +1 -1
  36. package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
  37. package/dist/basic-components/time-picker/time-picker.d.ts.map +1 -1
  38. package/dist/basic-components/typography/typography.d.ts.map +1 -1
  39. package/dist/{blockDiagram-I7D4REHJ-Cu18ws5-.js → blockDiagram-RJAE7QA3-hRpbCaPL.js} +329 -316
  40. package/dist/{c4Diagram-7LVT6UL2-B-uBy_NE.js → c4Diagram-XDPPPE54-Bkqvkv8O.js} +350 -340
  41. package/dist/channel-CcHUzwZl.js +5 -0
  42. package/dist/{chunk-SVP7TREG-CyJlOPau.js → chunk-2E7WHVMD-DSYBrngB.js} +77 -77
  43. package/dist/chunk-4EMNKR2T-CndbTVTA.js +236 -0
  44. package/dist/{chunk-F27PBJKO-jIrOJO87.js → chunk-55XCU76K-B1HtPImz.js} +16 -16
  45. package/dist/{chunk-75Z2AOVW-Drsj7a97.js → chunk-7S6XSTFO-CN6S2H1-.js} +304 -305
  46. package/dist/{chunk-GMAD6QVW-D80II4AD.js → chunk-AQDTSKZB-DuUha9al.js} +386 -433
  47. package/dist/{chunk-DU6HZSFF-waeanndy.js → chunk-DSNLSHJZ-B1A8wsiA.js} +1227 -1043
  48. package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
  49. package/dist/chunk-EJLWFMJV-Cu6XnLfk.js +75 -0
  50. package/dist/chunk-HAGFOTED-IzyIoLzD.js +4487 -0
  51. package/dist/chunk-HNE4Q36P-7zVKLE_b.js +363 -0
  52. package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
  53. package/dist/{chunk-LNGE3PJU-CtYcu9x8.js → chunk-LNGE3PJU-ByFTjlja.js} +15 -19
  54. package/dist/chunk-NGNAAXSQ-Tr--SG_c.js +19832 -0
  55. package/dist/{chunk-SHT3W25Y-Cri27Jke.js → chunk-NQOKRVIF-CEJ-prlJ.js} +483 -414
  56. package/dist/chunk-OYAV6JZA-Cypx4hYu.js +14 -0
  57. package/dist/{chunk-P2QGCYS3-BUeNZ170.js → chunk-UHW7PFBP-CoHGQVjo.js} +6 -6
  58. package/dist/chunk-VQ5W62QI-BSDHmyws.js +26 -0
  59. package/dist/{chunk-OSK3NFVY-CQhPF3Mc.js → chunk-WQQL4CDK-BJE6isq-.js} +312 -288
  60. package/dist/chunk-XXDRQBXY-CU-dbs05.js +9 -0
  61. package/dist/{chunk-PWAF6VOD-D37VoZ8H.js → chunk-YZO67HFG-Bcmpw0dX.js} +28 -28
  62. package/dist/{chunk-GVQU2GXP-DP3t_9Rl.js → chunk-ZAUX2LTX-Bu7BRVL6.js} +14 -14
  63. package/dist/chunk-ZCHMQSOR-BA1QQ4D6.js +354 -0
  64. package/dist/{chunk-TICWLB2K-Cw2iT_VD.js → classDiagram-v2-4MYWR3UA-Bnh650R8.js} +333 -293
  65. package/dist/components/app-bar/app-bar-utils.d.ts.map +1 -1
  66. package/dist/components/app-bar/app-bar.data.d.ts.map +1 -1
  67. package/dist/components/box-list/box-list.d.ts.map +1 -1
  68. package/dist/components/calendar/calendar-available-height.d.ts +14 -0
  69. package/dist/components/calendar/calendar-available-height.d.ts.map +1 -0
  70. package/dist/components/calendar/calendar-types.d.ts +49 -4
  71. package/dist/components/calendar/calendar-types.d.ts.map +1 -1
  72. package/dist/components/calendar/calendar-utils.d.ts +160 -16
  73. package/dist/components/calendar/calendar-utils.d.ts.map +1 -1
  74. package/dist/components/calendar/calendar.d.ts.map +1 -1
  75. package/dist/components/calendar/views/calendar-event-text.d.ts +23 -0
  76. package/dist/components/calendar/views/calendar-event-text.d.ts.map +1 -0
  77. package/dist/components/calendar/views/calendar-month-grid.d.ts +12 -4
  78. package/dist/components/calendar/views/calendar-month-grid.d.ts.map +1 -1
  79. package/dist/components/calendar/views/calendar-more-events.d.ts +19 -0
  80. package/dist/components/calendar/views/calendar-more-events.d.ts.map +1 -0
  81. package/dist/components/calendar/views/calendar-time-grid.d.ts +16 -2
  82. package/dist/components/calendar/views/calendar-time-grid.d.ts.map +1 -1
  83. package/dist/components/data-table/assets/data-table-row-actions.d.ts +1 -1
  84. package/dist/components/data-table/cell-actions/cell-actions-types.d.ts +12 -0
  85. package/dist/components/data-table/cell-actions/cell-actions-types.d.ts.map +1 -0
  86. package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts +29 -0
  87. package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts.map +1 -0
  88. package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts +2 -0
  89. package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts.map +1 -0
  90. package/dist/components/data-table/cell-actions/cell-actions.d.ts +6 -0
  91. package/dist/components/data-table/cell-actions/cell-actions.d.ts.map +1 -0
  92. package/dist/components/data-table/column-menu/column-menu-types.d.ts +32 -0
  93. package/dist/components/data-table/column-menu/column-menu-types.d.ts.map +1 -0
  94. package/dist/components/data-table/column-menu/column-menu.d.ts +11 -0
  95. package/dist/components/data-table/column-menu/column-menu.d.ts.map +1 -0
  96. package/dist/components/data-table/columns/columns-utils.d.ts +11 -2
  97. package/dist/components/data-table/columns/columns-utils.d.ts.map +1 -1
  98. package/dist/components/data-table/columns/useColumnWidths.d.ts +24 -1
  99. package/dist/components/data-table/columns/useColumnWidths.d.ts.map +1 -1
  100. package/dist/components/data-table/data-table-types.d.ts +206 -38
  101. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  102. package/dist/components/data-table/data-table.d.ts.map +1 -1
  103. package/dist/components/data-table/filtering/data-table-filter-utils.d.ts +19 -2
  104. package/dist/components/data-table/filtering/data-table-filter-utils.d.ts.map +1 -1
  105. package/dist/components/data-table/fixed/fixed-utils.d.ts +69 -0
  106. package/dist/components/data-table/fixed/fixed-utils.d.ts.map +1 -0
  107. package/dist/components/data-table/footer/footer-types.d.ts +23 -6
  108. package/dist/components/data-table/footer/footer-types.d.ts.map +1 -1
  109. package/dist/components/data-table/footer/footer.d.ts.map +1 -1
  110. package/dist/components/data-table/group-row/group-row-types.d.ts +38 -1
  111. package/dist/components/data-table/group-row/group-row-types.d.ts.map +1 -1
  112. package/dist/components/data-table/group-row/group-row.d.ts.map +1 -1
  113. package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts +20 -5
  114. package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts.map +1 -1
  115. package/dist/components/data-table/grouping/datatable-groups-utils.d.ts +11 -1
  116. package/dist/components/data-table/grouping/datatable-groups-utils.d.ts.map +1 -1
  117. package/dist/components/data-table/grouping/group-expansion.d.ts +16 -0
  118. package/dist/components/data-table/grouping/group-expansion.d.ts.map +1 -0
  119. package/dist/components/data-table/grouping/grouping-types.d.ts +9 -0
  120. package/dist/components/data-table/grouping/grouping-types.d.ts.map +1 -1
  121. package/dist/components/data-table/header/Header.d.ts.map +1 -1
  122. package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts +44 -0
  123. package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts.map +1 -0
  124. package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts +8 -0
  125. package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts.map +1 -0
  126. package/dist/components/data-table/header/header-types.d.ts +37 -21
  127. package/dist/components/data-table/header/header-types.d.ts.map +1 -1
  128. package/dist/components/data-table/load-more-row/load-more-row.d.ts +8 -0
  129. package/dist/components/data-table/load-more-row/load-more-row.d.ts.map +1 -0
  130. package/dist/components/data-table/load-more-row/load-more-types.d.ts +11 -0
  131. package/dist/components/data-table/load-more-row/load-more-types.d.ts.map +1 -0
  132. package/dist/components/data-table/sorting/buildDftSort.d.ts +16 -0
  133. package/dist/components/data-table/sorting/buildDftSort.d.ts.map +1 -0
  134. package/dist/components/data-table/sorting/buildDftSort.test.d.ts +2 -0
  135. package/dist/components/data-table/sorting/buildDftSort.test.d.ts.map +1 -0
  136. package/dist/components/data-table/sorting/parseDftSort.d.ts +4 -4
  137. package/dist/components/data-table/sorting/parseDftSort.d.ts.map +1 -1
  138. package/dist/components/data-table/sorting/sortTable-utils.d.ts +10 -0
  139. package/dist/components/data-table/sorting/sortTable-utils.d.ts.map +1 -1
  140. package/dist/components/data-table/sorting/useSortableTable.d.ts +10 -4
  141. package/dist/components/data-table/sorting/useSortableTable.d.ts.map +1 -1
  142. package/dist/components/data-table/state/datatable-state.d.ts +15 -8
  143. package/dist/components/data-table/state/datatable-state.d.ts.map +1 -1
  144. package/dist/components/data-table/stories/data-table-story-meta.d.ts +7 -0
  145. package/dist/components/data-table/stories/data-table-story-meta.d.ts.map +1 -0
  146. package/dist/components/data-table/useDataTableImperativeHandle.d.ts +23 -0
  147. package/dist/components/data-table/useDataTableImperativeHandle.d.ts.map +1 -0
  148. package/dist/components/data-table/useDataTableShortcuts.d.ts +19 -0
  149. package/dist/components/data-table/useDataTableShortcuts.d.ts.map +1 -0
  150. package/dist/components/drawer/drawer.d.ts.map +1 -1
  151. package/dist/components/echarts-graph/builders/echarts-graph-builders-advanced.d.ts +26 -0
  152. package/dist/components/echarts-graph/builders/echarts-graph-builders-advanced.d.ts.map +1 -0
  153. package/dist/components/echarts-graph/builders/echarts-graph-builders.d.ts +17 -0
  154. package/dist/components/echarts-graph/builders/echarts-graph-builders.d.ts.map +1 -0
  155. package/dist/components/echarts-graph/data/echarts-graph-data.d.ts +151 -0
  156. package/dist/components/echarts-graph/data/echarts-graph-data.d.ts.map +1 -0
  157. package/dist/components/echarts-graph/data/echarts-graph-data.test.d.ts +2 -0
  158. package/dist/components/echarts-graph/data/echarts-graph-data.test.d.ts.map +1 -0
  159. package/dist/components/echarts-graph/data/echarts-graph-frame.d.ts +164 -0
  160. package/dist/components/echarts-graph/data/echarts-graph-frame.d.ts.map +1 -0
  161. package/dist/components/echarts-graph/data/echarts-graph-math.d.ts +26 -0
  162. package/dist/components/echarts-graph/data/echarts-graph-math.d.ts.map +1 -0
  163. package/dist/components/echarts-graph/data/echarts-graph-time.d.ts +42 -0
  164. package/dist/components/echarts-graph/data/echarts-graph-time.d.ts.map +1 -0
  165. package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts +12 -0
  166. package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts.map +1 -0
  167. package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts +2 -0
  168. package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts.map +1 -0
  169. package/dist/components/echarts-graph/data/echarts-graph-utils.d.ts +197 -0
  170. package/dist/components/echarts-graph/data/echarts-graph-utils.d.ts.map +1 -0
  171. package/dist/components/echarts-graph/data/echarts-graph-utils.test.d.ts +2 -0
  172. package/dist/components/echarts-graph/data/echarts-graph-utils.test.d.ts.map +1 -0
  173. package/dist/components/echarts-graph/echarts-graph-canvas.d.ts +34 -0
  174. package/dist/components/echarts-graph/echarts-graph-canvas.d.ts.map +1 -0
  175. package/dist/components/echarts-graph/echarts-graph-from-table.d.ts +13 -0
  176. package/dist/components/echarts-graph/echarts-graph-from-table.d.ts.map +1 -0
  177. package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts +12 -0
  178. package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts.map +1 -0
  179. package/dist/components/echarts-graph/echarts-graph-hooks.d.ts +16 -0
  180. package/dist/components/echarts-graph/echarts-graph-hooks.d.ts.map +1 -0
  181. package/dist/components/echarts-graph/echarts-graph-types.d.ts +229 -0
  182. package/dist/components/echarts-graph/echarts-graph-types.d.ts.map +1 -0
  183. package/dist/components/echarts-graph/echarts-graph.d.ts +18 -0
  184. package/dist/components/echarts-graph/echarts-graph.d.ts.map +1 -0
  185. package/dist/components/echarts-graph/theme/echarts-graph-color.d.ts +20 -0
  186. package/dist/components/echarts-graph/theme/echarts-graph-color.d.ts.map +1 -0
  187. package/dist/components/echarts-graph/theme/echarts-graph-color.test.d.ts +2 -0
  188. package/dist/components/echarts-graph/theme/echarts-graph-color.test.d.ts.map +1 -0
  189. package/dist/components/echarts-graph/theme/echarts-graph-theme.d.ts +58 -0
  190. package/dist/components/echarts-graph/theme/echarts-graph-theme.d.ts.map +1 -0
  191. package/dist/components/input-panel/assets/data.d.ts +1 -0
  192. package/dist/components/input-panel/assets/data.d.ts.map +1 -1
  193. package/dist/components/input-panel/input-panel-types.d.ts +7 -1
  194. package/dist/components/input-panel/input-panel-types.d.ts.map +1 -1
  195. package/dist/components/input-panel/input-panel-utils.d.ts.map +1 -1
  196. package/dist/components/input-panel/input-panel.d.ts.map +1 -1
  197. package/dist/components/json-form/document-adapter.test.d.ts +2 -0
  198. package/dist/components/json-form/document-adapter.test.d.ts.map +1 -0
  199. package/dist/components/json-form/expression-evaluator.test.d.ts +2 -0
  200. package/dist/components/json-form/expression-evaluator.test.d.ts.map +1 -0
  201. package/dist/components/json-form/model/document-adapter.d.ts +54 -0
  202. package/dist/components/json-form/model/document-adapter.d.ts.map +1 -0
  203. package/dist/components/json-form/model/json-form-ajv.d.ts +12 -0
  204. package/dist/components/json-form/model/json-form-ajv.d.ts.map +1 -0
  205. package/dist/components/json-form/model/json-pointer.d.ts +20 -0
  206. package/dist/components/json-form/model/json-pointer.d.ts.map +1 -0
  207. package/dist/components/json-form/model/native-json-types.d.ts +5 -0
  208. package/dist/components/json-form/model/native-json-types.d.ts.map +1 -0
  209. package/dist/components/json-form/model/shape-event-support.d.ts +10 -0
  210. package/dist/components/json-form/model/shape-event-support.d.ts.map +1 -0
  211. package/dist/components/json-form/rule-controller.test.d.ts +2 -0
  212. package/dist/components/json-form/rule-controller.test.d.ts.map +1 -0
  213. package/dist/components/json-form/rules/expression-evaluator.d.ts +58 -0
  214. package/dist/components/json-form/rules/expression-evaluator.d.ts.map +1 -0
  215. package/dist/components/json-form/rules/rule-controller.d.ts +50 -0
  216. package/dist/components/json-form/rules/rule-controller.d.ts.map +1 -0
  217. package/dist/components/pdf/assets/pdf-fixtures.d.ts +6 -0
  218. package/dist/components/pdf/assets/pdf-fixtures.d.ts.map +1 -0
  219. package/dist/components/pdf/pdf-types.d.ts +17 -2
  220. package/dist/components/pdf/pdf-types.d.ts.map +1 -1
  221. package/dist/components/pdf/pdf-utils.d.ts +30 -1
  222. package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
  223. package/dist/components/pdf/pdf.d.ts.map +1 -1
  224. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  225. package/dist/components/toolbar/toolbar-nodes/toolbar-plain-node.d.ts.map +1 -1
  226. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -1
  227. package/dist/context/interaction-context.d.ts +16 -0
  228. package/dist/context/interaction-context.d.ts.map +1 -0
  229. package/dist/context/test-utils.d.ts.map +1 -1
  230. package/dist/{cose-bilkent-JH36ORCC-Qs_Z6zBZ.js → cose-bilkent-JH36ORCC-DYLyHByQ.js} +77 -89
  231. package/dist/cynefin-EF2NZ3EQ-DZ1CSrfW.js +2 -0
  232. package/dist/{cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js → cynefinDiagram-WF24UDRP-bU_4r-FZ.js} +64 -64
  233. package/dist/{cytoscape.esm-C5TvPYYm.js → cytoscape.esm-BvXLQ91B.js} +412 -513
  234. package/dist/dagre-NK4GIZVX-B72HOuil.js +2352 -0
  235. package/dist/{diagram-VX7I27RA-BNmG1sig.js → diagram-CBK3MWTC-B-q-tUxd.js} +80 -80
  236. package/dist/diagram-I5XIIV2D-CMzniFEf.js +134 -0
  237. package/dist/{diagram-S7CK7UJ4-BuDHTdHA.js → diagram-ODIL2UCW-CrlDp0MP.js} +46 -54
  238. package/dist/{diagram-VSXAHHWV-CrQQCs-B.js → diagram-PFBEJUXE-hnrdzEe4.js} +136 -121
  239. package/dist/{diagram-UQ7AKVKN-uvzJGj43.js → diagram-RJA3I4VV-DZW7CxE5.js} +43 -43
  240. package/dist/diagram-TYUNFSNR-cRJNHRy2.js +5069 -0
  241. package/dist/{dist-CsrMlyO_.js → dist-Bj7IMbKd.js} +1 -1
  242. package/dist/{ebnfDiagram-PWID7BFC-DMx8xAFO.js → ebnfDiagram-V4P3TTPT-Bm7KtfLA.js} +17 -17
  243. package/dist/echarts-C7ehbnCk.js +15485 -0
  244. package/dist/elk-QONTBCTQ-gWOTRRj4.js +47505 -0
  245. package/dist/{erDiagram-RLTQ6QDP-bkJ9nzVK.js → erDiagram-KYQIGQAA-WZEbQwWz.js} +150 -146
  246. package/dist/eventmodeling-K75KTNOO-CEn7YBG4.js +2 -0
  247. package/dist/flowDiagram-IUGLLWBU-CRV2Bl2C.js +16 -0
  248. package/dist/functional-components/badge/badge-assets.d.ts +1 -0
  249. package/dist/functional-components/badge/badge-assets.d.ts.map +1 -1
  250. package/dist/functional-components/badge/badge-utils.d.ts +5 -0
  251. package/dist/functional-components/badge/badge-utils.d.ts.map +1 -1
  252. package/dist/functional-components/badge/badge.d.ts.map +1 -1
  253. package/dist/functional-components/filter-group/filter-builder-operators.d.ts +15 -0
  254. package/dist/functional-components/filter-group/filter-builder-operators.d.ts.map +1 -0
  255. package/dist/functional-components/filter-group/filter-builder.d.ts +15 -1
  256. package/dist/functional-components/filter-group/filter-builder.d.ts.map +1 -1
  257. package/dist/functional-components/group-bar/group-bar-types.d.ts +16 -0
  258. package/dist/functional-components/group-bar/group-bar-types.d.ts.map +1 -1
  259. package/dist/functional-components/group-bar/group-bar.d.ts.map +1 -1
  260. package/dist/functional-components/helper-text/helper-text-types.d.ts +1 -1
  261. package/dist/functional-components/multiple-field/multiple-field-types.d.ts +1 -0
  262. package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
  263. package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
  264. package/dist/functional-components/row/row-types.d.ts +50 -1
  265. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  266. package/dist/functional-components/row/row.d.ts.map +1 -1
  267. package/dist/functional-components/tree-picker/tree-picker-types.d.ts +5 -0
  268. package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -1
  269. package/dist/{ganttDiagram-EL5Y4UJY-CL-ywzz_.js → ganttDiagram-R7GPNTJY-DFRGfQMr.js} +314 -310
  270. package/dist/gitGraph-VSP46ZUC-BSTikFaE.js +2 -0
  271. package/dist/{gitGraphDiagram-WWUBYQGX-aXhNDG6P.js → gitGraphDiagram-PDYL7XHY-nvoob8Ca.js} +250 -250
  272. package/dist/hooks/useClickOutside/useClickOutside-assets.d.ts +14 -0
  273. package/dist/hooks/useClickOutside/useClickOutside-assets.d.ts.map +1 -0
  274. package/dist/hooks/useClickOutside/useClickOutside.d.ts.map +1 -0
  275. package/dist/hooks/useFloating.d.ts.map +1 -1
  276. package/dist/hooks/useVirtualListScroll.d.ts +14 -2
  277. package/dist/hooks/useVirtualListScroll.d.ts.map +1 -1
  278. package/dist/index.d.ts +5 -3
  279. package/dist/index.d.ts.map +1 -1
  280. package/dist/info-OHQRW6UA-BGb3N889.js +2 -0
  281. package/dist/infoDiagram-MVDRKAX5-BqO_morw.js +20 -0
  282. package/dist/installCanvasRenderer-CgRxxRBg.js +29799 -0
  283. package/dist/{ishikawaDiagram-5VMMS53U-DK7HlH95.js → ishikawaDiagram-HPEHV2GE-BE3amLYE.js} +27 -29
  284. package/dist/{journeyDiagram-3NMN7TZE-CpuYEKcB.js → journeyDiagram-BOSHW7O7-DE8ndsCi.js} +111 -111
  285. package/dist/{kanban-definition-UXKFOSKX-aK8uKmyY.js → kanban-definition-FNSA4HC5-D72kc4EN.js} +135 -135
  286. package/dist/{katex-CT2p8LXT.js → katex-CDhNh-ZQ.js} +919 -1040
  287. package/dist/ketchup2.css +1 -1
  288. package/dist/ketchup2.es.js +25778 -68770
  289. package/dist/{line-DTqYMLoX.js → line-ltPB6XbC.js} +1 -1
  290. package/dist/{linear-CXc5xaa6.js → linear-i6_MPSGL.js} +2 -3
  291. package/dist/locale/en/translation.json.d.ts +40 -4
  292. package/dist/locale/it/translation.json.d.ts +40 -4
  293. package/dist/{mermaid-parser.core-BwVmI_Rq.js → mermaid-parser.core-zUi7tSl-.js} +166 -172
  294. package/dist/{mindmap-definition-YA3MSWOX-ZMYcmi9J.js → mindmap-definition-6OY57UG3-hH6Avsg4.js} +148 -145
  295. package/dist/packet-JDAUHWVQ-CKZoNg5j.js +2 -0
  296. package/dist/{pegDiagram-XKGWAZYB-DsfILwZN.js → pegDiagram-ECIUJNBX-D3xLhrRh.js} +19 -19
  297. package/dist/pie-XZMESJXO-BnbWY8rE.js +2 -0
  298. package/dist/{pieDiagram-E7YTZNPT-DcSLcLdd.js → pieDiagram-GNMPY74T-Bd_UXypi.js} +39 -39
  299. package/dist/{quadrantDiagram-AXDQQJYC-DSx3teop.js → quadrantDiagram-D57K4MC3-BAwweqT8.js} +149 -149
  300. package/dist/radar-ABXABTNO-D5CEmFBx.js +2 -0
  301. package/dist/railroad-I3PHUGI6-CxMiYaMH.js +2 -0
  302. package/dist/railroad-abnf-LNEFI6M7-C69KxGa-.js +2 -0
  303. package/dist/railroad-ebnf-DWYD2UWJ-D5Xd566k.js +2 -0
  304. package/dist/railroad-peg-JR7BVNR7-CD0OiqcS.js +2 -0
  305. package/dist/{railroadDiagram-O6MQD6OU-jOZRtNDi.js → railroadDiagram-Y72NRBL7-CPUbPgYX.js} +14 -14
  306. package/dist/{requirementDiagram-BXWQKSXE-D14hkkez.js → requirementDiagram-EQYSW5RA-BXstYS3w.js} +97 -93
  307. package/dist/rolldown-runtime-5HNE8Q1r.js +23 -0
  308. package/dist/{sankeyDiagram-P5KCCOFB-C0jmknYo.js → sankeyDiagram-SY24JHO5-Du-toJmg.js} +64 -64
  309. package/dist/{sequenceDiagram-WJ2MYXX4-C00egnMz.js → sequenceDiagram-BLEHNHQU-BNNnerZ-.js} +953 -868
  310. package/dist/{sizeCapture-INFHLROL-CHXIsPO_.js → sizeCapture-INFHLROL-DujrpAYz.js} +1 -1
  311. package/dist/{src-DQoflmwT.js → src-CY9Rz0Sf.js} +545 -566
  312. package/dist/{chunk-IMKFNOWR-8ItzAAcf.js → stateDiagram-v2-A6IESKWZ-CfjPf8h7.js} +364 -267
  313. package/dist/{swimlanes-42K2YHIH-CJcMmxXf.js → swimlanes-B3ENRKFQ-Dumwq89C.js} +1356 -1590
  314. package/dist/swimlanesDiagram-AYQRV4AK-Boz_Azx7.js +28 -0
  315. package/dist/{timeline-definition-24CTP7MA-D2xfYuSV.js → timeline-definition-JXYKGLGB-ClzmRQCu.js} +354 -350
  316. package/dist/treeView-D4JQ5SDB-C3ue8DID.js +2 -0
  317. package/dist/treemap-SAJKECNS-BWis-Wpv.js +2 -0
  318. package/dist/types/data-structures.d.ts +16 -1
  319. package/dist/types/data-structures.d.ts.map +1 -1
  320. package/dist/types/global.d.ts +7 -2
  321. package/dist/types/global.d.ts.map +1 -1
  322. package/dist/types/translation.d.ts +40 -5
  323. package/dist/types/translation.d.ts.map +1 -1
  324. package/dist/usecaseDiagram-WPOLBNNX-ruZhXlYQ.js +7175 -0
  325. package/dist/utils/floating-layer.d.ts +11 -0
  326. package/dist/utils/floating-layer.d.ts.map +1 -0
  327. package/dist/utils/legacy.d.ts +7 -0
  328. package/dist/utils/legacy.d.ts.map +1 -1
  329. package/dist/utils/object-styles.d.ts +12 -0
  330. package/dist/utils/object-styles.d.ts.map +1 -0
  331. package/dist/utils/object-styles.test.d.ts +2 -0
  332. package/dist/utils/object-styles.test.d.ts.map +1 -0
  333. package/dist/utils/objects.d.ts +20 -1
  334. package/dist/utils/objects.d.ts.map +1 -1
  335. package/dist/utils/totals/totals-registry.d.ts +17 -0
  336. package/dist/utils/totals/totals-registry.d.ts.map +1 -0
  337. package/dist/utils/totals/totals-utils.d.ts +70 -7
  338. package/dist/utils/totals/totals-utils.d.ts.map +1 -1
  339. package/dist/utils/wrapper-types/list.d.ts.map +1 -1
  340. package/dist/{vennDiagram-4TSXK5OY-C4XLgus_.js → vennDiagram-Q3Y3IDCW-L9GmqfCz.js} +118 -118
  341. package/dist/wardley-7MLQ67FV-DC0ayJCO.js +2 -0
  342. package/dist/{wardleyDiagram-VM6X3IG4-DFoKuS9s.js → wardleyDiagram-IVAIDKWA-Dz5K-UqN.js} +126 -126
  343. package/dist/{xychartDiagram-S5SC5T6Z-BzKKgVBe.js → xychartDiagram-4URNHDU4-C2xwRx5F.js} +141 -137
  344. package/package.json +7 -5
  345. package/dist/architecture-7GRP2DOG-BsytjMto.js +0 -3
  346. package/dist/channel-CuEby436.js +0 -5
  347. package/dist/chunk-2E4U76K2-ComA5SPA.js +0 -348
  348. package/dist/chunk-4HAMMTFA-CZgIgrp_.js +0 -4188
  349. package/dist/chunk-CLGD4ZFX-CLGio9rD.js +0 -14
  350. package/dist/chunk-FOHPRMQF-LRqOLsSw.js +0 -21456
  351. package/dist/chunk-L3NEJ4N5-qPot4t6M.js +0 -245
  352. package/dist/chunk-POPQ4Y6H-CU9oz17Z.js +0 -26
  353. package/dist/chunk-TLUHSLCS-BdsLNXjt.js +0 -59
  354. package/dist/chunk-XXDRQBXY-C1ZEFXGu.js +0 -9
  355. package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +0 -30
  356. package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +0 -30
  357. package/dist/components/echarts/echarts-graph-types.d.ts +0 -8
  358. package/dist/components/echarts/echarts-graph-types.d.ts.map +0 -1
  359. package/dist/components/echarts/echarts-graph.d.ts +0 -4
  360. package/dist/components/echarts/echarts-graph.d.ts.map +0 -1
  361. package/dist/cynefin-OW5HDTMX-BJXlKro0.js +0 -3
  362. package/dist/dagre-D5csT9sx.js +0 -1934
  363. package/dist/dagre-GXQ25YYZ-Bg7xf6xn.js +0 -425
  364. package/dist/diagram-Z3DM3KII-B6BrLhP0.js +0 -134
  365. package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +0 -3
  366. package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +0 -17
  367. package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +0 -3
  368. package/dist/hooks/useClickOutside.d.ts.map +0 -1
  369. package/dist/info-A6RAGUB7-CmZJKEaW.js +0 -3
  370. package/dist/infoDiagram-27XIBGKW-Je4heBlk.js +0 -20
  371. package/dist/packet-AYTQ26CC-B3tgRshR.js +0 -3
  372. package/dist/pie-WAS4IAKB-BRiI8kbI.js +0 -3
  373. package/dist/radar-RG4KPBEZ-ASOMQXFw.js +0 -3
  374. package/dist/railroad-74A4TZTK-oS840SLr.js +0 -3
  375. package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +0 -3
  376. package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +0 -3
  377. package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +0 -3
  378. package/dist/stateDiagram-D77RDMKH-YfzmviNY.js +0 -220
  379. package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +0 -30
  380. package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +0 -31
  381. package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +0 -3
  382. package/dist/treemap-WGGIJYW6-Cjjk75wA.js +0 -3
  383. package/dist/wardley-WFR3VGLG-BamDiE0x.js +0 -3
  384. /package/dist/hooks/{useClickOutside.d.ts → useClickOutside/useClickOutside.d.ts} +0 -0
@@ -1,25 +1,25 @@
1
- import { m as e } from "./src-DQoflmwT.js";
2
- import { D as t, H as n, K as r, U as i, a, b as o, c as s, v as c, w as l, x as u, y as d } from "./chunk-DU6HZSFF-waeanndy.js";
3
- import { n as f } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
- import { i as p } from "./chunk-75Z2AOVW-Drsj7a97.js";
5
- import { t as m } from "./chunk-CLGD4ZFX-CLGio9rD.js";
6
- import { n as h } from "./mermaid-parser.core-BwVmI_Rq.js";
1
+ import { C as e, E as t, H as n, U as r, _ as i, a, b as o, c as s, q as c, v as l, y as u } from "./chunk-DSNLSHJZ-B1A8wsiA.js";
2
+ import { n as d } from "./chunk-Y2CYZVJY-i11wjrBe.js";
3
+ import { m as f } from "./src-CY9Rz0Sf.js";
4
+ import { i as p } from "./chunk-7S6XSTFO-CN6S2H1-.js";
5
+ import { t as m } from "./chunk-OYAV6JZA-Cypx4hYu.js";
6
+ import { n as h } from "./mermaid-parser.core-zUi7tSl-.js";
7
7
  import { t as g } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
8
- //#region node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-VM6X3IG4.mjs
9
- var _ = /* @__PURE__ */ f((e, t) => {
8
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-IVAIDKWA.mjs
9
+ var _ = /* @__PURE__ */ d((e, t) => {
10
10
  let n = e <= 1 ? e * 100 : e;
11
11
  if (n < 0 || n > 100) throw Error(`${t} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${e}`);
12
12
  return n;
13
- }, "toPercent"), v = /* @__PURE__ */ f((e, t, n) => ({
13
+ }, "toPercent"), v = /* @__PURE__ */ d((e, t, n) => ({
14
14
  x: _(t, `${n} evolution`),
15
15
  y: _(e, `${n} visibility`)
16
- }), "toCoordinates"), y = /* @__PURE__ */ f((e) => {
16
+ }), "toCoordinates"), y = /* @__PURE__ */ d((e) => {
17
17
  if (e) {
18
18
  if (e === "+<>") return "bidirectional";
19
19
  if (e === "+<") return "backward";
20
20
  if (e === "+>") return "forward";
21
21
  }
22
- }, "getFlowFromPort"), b = /* @__PURE__ */ f((e) => {
22
+ }, "getFlowFromPort"), b = /* @__PURE__ */ d((e) => {
23
23
  if (!e?.startsWith("+")) return {};
24
24
  let t = /^\+'([^']*)'/.exec(e)?.[1];
25
25
  return e.includes("<>") ? {
@@ -32,7 +32,7 @@ var _ = /* @__PURE__ */ f((e, t) => {
32
32
  flow: "forward",
33
33
  label: t
34
34
  } : { label: t };
35
- }, "extractFlowFromArrow"), x = /* @__PURE__ */ f((e, t) => {
35
+ }, "extractFlowFromArrow"), x = /* @__PURE__ */ d((e, t) => {
36
36
  if (g(e, t), e.size && t.setSize(e.size.width, e.size.height), e.evolution) {
37
37
  let n = e.evolution.stages.map((e) => e.secondName ? `${e.name.trim()} / ${e.secondName.trim()}` : e.name.trim()), r = e.evolution.stages.filter((e) => e.boundary !== void 0).map((e) => e.boundary);
38
38
  t.updateAxes({
@@ -87,19 +87,19 @@ var _ = /* @__PURE__ */ f((e, t) => {
87
87
  });
88
88
  }, "populateDb"), S = {
89
89
  parser: { yy: void 0 },
90
- parse: /* @__PURE__ */ f(async (t) => {
91
- let n = await h("wardley", t);
92
- e.debug(n);
93
- let r = S.parser?.yy;
94
- if (!r || typeof r.addNode != "function") throw Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");
95
- x(n, r);
90
+ parse: /* @__PURE__ */ d(async (e) => {
91
+ let t = await h("wardley", e);
92
+ f.debug(t);
93
+ let n = S.parser?.yy;
94
+ if (!n || typeof n.addNode != "function") throw Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");
95
+ x(t, n);
96
96
  }, "parse")
97
97
  }, C = new class {
98
98
  constructor() {
99
99
  this.nodes = /* @__PURE__ */ new Map(), this.links = [], this.trends = /* @__PURE__ */ new Map(), this.pipelines = /* @__PURE__ */ new Map(), this.annotations = [], this.notes = [], this.accelerators = [], this.deaccelerators = [], this.axes = {};
100
100
  }
101
101
  static {
102
- f(this, "WardleyBuilder");
102
+ d(this, "WardleyBuilder");
103
103
  }
104
104
  addNode(e) {
105
105
  let t = this.nodes.get(e.id) ?? {
@@ -197,9 +197,9 @@ var _ = /* @__PURE__ */ f((e, t) => {
197
197
  }
198
198
  }();
199
199
  function w() {
200
- return u()["wardley-beta"];
200
+ return o()["wardley-beta"];
201
201
  }
202
- f(w, "getConfig");
202
+ d(w, "getConfig");
203
203
  function T(e, t, n, r, i, a, o, s, c) {
204
204
  C.addNode({
205
205
  id: e,
@@ -213,7 +213,7 @@ function T(e, t, n, r, i, a, o, s, c) {
213
213
  sourceStrategy: c
214
214
  });
215
215
  }
216
- f(T, "addNode");
216
+ d(T, "addNode");
217
217
  function E(e, t, n = !1, r, i) {
218
218
  C.addLink({
219
219
  source: e,
@@ -223,7 +223,7 @@ function E(e, t, n = !1, r, i) {
223
223
  flow: i
224
224
  });
225
225
  }
226
- f(E, "addLink");
226
+ d(E, "addLink");
227
227
  function D(e, t, n) {
228
228
  C.addTrend({
229
229
  nodeId: e,
@@ -231,7 +231,7 @@ function D(e, t, n) {
231
231
  targetY: n
232
232
  });
233
233
  }
234
- f(D, "addTrend");
234
+ d(D, "addTrend");
235
235
  function O(e, t, n) {
236
236
  C.addAnnotation({
237
237
  number: e,
@@ -239,7 +239,7 @@ function O(e, t, n) {
239
239
  text: n
240
240
  });
241
241
  }
242
- f(O, "addAnnotation");
242
+ d(O, "addAnnotation");
243
243
  function k(e, t, n) {
244
244
  C.addNote({
245
245
  text: e,
@@ -247,7 +247,7 @@ function k(e, t, n) {
247
247
  y: n
248
248
  });
249
249
  }
250
- f(k, "addNote");
250
+ d(k, "addNote");
251
251
  function A(e, t, n) {
252
252
  C.addAccelerator({
253
253
  name: e,
@@ -255,7 +255,7 @@ function A(e, t, n) {
255
255
  y: n
256
256
  });
257
257
  }
258
- f(A, "addAccelerator");
258
+ d(A, "addAccelerator");
259
259
  function j(e, t, n) {
260
260
  C.addDeaccelerator({
261
261
  name: e,
@@ -263,43 +263,43 @@ function j(e, t, n) {
263
263
  y: n
264
264
  });
265
265
  }
266
- f(j, "addDeaccelerator");
266
+ d(j, "addDeaccelerator");
267
267
  function M(e, t) {
268
268
  C.setAnnotationsBox(e, t);
269
269
  }
270
- f(M, "setAnnotationsBox");
270
+ d(M, "setAnnotationsBox");
271
271
  function N(e, t) {
272
272
  C.setSize(e, t);
273
273
  }
274
- f(N, "setSize");
274
+ d(N, "setSize");
275
275
  function P(e) {
276
276
  C.startPipeline(e);
277
277
  }
278
- f(P, "startPipeline");
278
+ d(P, "startPipeline");
279
279
  function F(e, t) {
280
280
  C.addPipelineComponent(e, t);
281
281
  }
282
- f(F, "addPipelineComponent");
282
+ d(F, "addPipelineComponent");
283
283
  function I(e) {
284
284
  C.setAxes(e);
285
285
  }
286
- f(I, "updateAxes");
286
+ d(I, "updateAxes");
287
287
  function L(e) {
288
288
  return C.getNode(e);
289
289
  }
290
- f(L, "getNode");
290
+ d(L, "getNode");
291
291
  function R(e) {
292
292
  return C.resolveNodeId(e);
293
293
  }
294
- f(R, "resolveNodeId");
294
+ d(R, "resolveNodeId");
295
295
  function z() {
296
296
  return C.build();
297
297
  }
298
- f(z, "getWardleyData");
298
+ d(z, "getWardleyData");
299
299
  function B() {
300
300
  C.clear(), a();
301
301
  }
302
- f(B, "clear");
302
+ d(B, "clear");
303
303
  var V = {
304
304
  getConfig: w,
305
305
  addNode: T,
@@ -318,19 +318,19 @@ var V = {
318
318
  resolveNodeId: R,
319
319
  getWardleyData: z,
320
320
  clear: B,
321
- setAccTitle: i,
322
- getAccTitle: d,
323
- setDiagramTitle: r,
324
- getDiagramTitle: l,
325
- getAccDescription: c,
321
+ setAccTitle: r,
322
+ getAccTitle: l,
323
+ setDiagramTitle: c,
324
+ getDiagramTitle: e,
325
+ getAccDescription: i,
326
326
  setAccDescription: n
327
327
  }, H = [
328
328
  "Genesis",
329
329
  "Custom Built",
330
330
  "Product",
331
331
  "Commodity"
332
- ], U = /* @__PURE__ */ f(() => {
333
- let { themeVariables: e } = u();
332
+ ], U = /* @__PURE__ */ d(() => {
333
+ let { themeVariables: e } = o();
334
334
  return {
335
335
  backgroundColor: e.wardley?.backgroundColor ?? e.background ?? "#fff",
336
336
  axisColor: e.wardley?.axisColor ?? "#000",
@@ -345,8 +345,8 @@ var V = {
345
345
  annotationTextColor: e.wardley?.annotationTextColor ?? e.primaryTextColor ?? "#222",
346
346
  annotationFill: e.wardley?.annotationFill ?? e.background ?? "#fff"
347
347
  };
348
- }, "getTheme"), W = /* @__PURE__ */ f(() => {
349
- let e = u()["wardley-beta"];
348
+ }, "getTheme"), W = /* @__PURE__ */ d(() => {
349
+ let e = o()["wardley-beta"];
350
350
  return {
351
351
  width: e?.width ?? 900,
352
352
  height: e?.height ?? 600,
@@ -361,21 +361,21 @@ var V = {
361
361
  }, "getConfigValues"), G = {
362
362
  parser: S,
363
363
  db: V,
364
- renderer: { draw: /* @__PURE__ */ f((t, n, r, i) => {
365
- e.debug("Rendering Wardley map\n" + t);
366
- let a = W(), o = U(), c = a.nodeRadius * 1.6, l = i.db, u = l.getWardleyData(), d = l.getDiagramTitle(), p = u.size?.width ?? a.width, h = u.size?.height ?? a.height, g = m(n);
367
- g.selectAll("*").remove(), s(g, h, p, a.useMaxWidth), g.attr("viewBox", `0 0 ${p} ${h}`);
364
+ renderer: { draw: /* @__PURE__ */ d((e, t, n, r) => {
365
+ f.debug("Rendering Wardley map\n" + e);
366
+ let i = W(), a = U(), o = i.nodeRadius * 1.6, c = r.db, l = c.getWardleyData(), u = c.getDiagramTitle(), p = l.size?.width ?? i.width, h = l.size?.height ?? i.height, g = m(t);
367
+ g.selectAll("*").remove(), s(g, h, p, i.useMaxWidth), g.attr("viewBox", `0 0 ${p} ${h}`);
368
368
  let _ = g.append("g").attr("class", "wardley-map"), v = g.append("defs");
369
- v.append("marker").attr("id", `arrow-${n}`).attr("viewBox", "0 0 10 10").attr("refX", 9).attr("refY", 5).attr("markerWidth", 6).attr("markerHeight", 6).attr("orient", "auto-start-reverse").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("fill", o.evolutionStroke).attr("stroke", "none"), v.append("marker").attr("id", `link-arrow-end-${n}`).attr("viewBox", "0 0 10 10").attr("refX", 9).attr("refY", 5).attr("markerWidth", 5).attr("markerHeight", 5).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("fill", o.linkStroke).attr("stroke", "none"), v.append("marker").attr("id", `link-arrow-start-${n}`).attr("viewBox", "0 0 10 10").attr("refX", 1).attr("refY", 5).attr("markerWidth", 5).attr("markerHeight", 5).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 z").attr("fill", o.linkStroke).attr("stroke", "none"), _.append("rect").attr("class", "wardley-background").attr("width", p).attr("height", h).attr("fill", o.backgroundColor);
370
- let y = p - a.padding * 2, b = h - a.padding * 2;
371
- d && _.append("text").attr("class", "wardley-title").attr("x", p / 2).attr("y", a.padding / 2).attr("fill", o.axisTextColor).attr("font-size", a.axisFontSize * 1.05).attr("font-weight", "bold").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(d);
372
- let x = /* @__PURE__ */ f((e) => a.padding + e / 100 * y, "projectX"), S = /* @__PURE__ */ f((e) => h - a.padding - e / 100 * b, "projectY"), C = _.append("g").attr("class", "wardley-axes");
373
- C.append("line").attr("x1", a.padding).attr("x2", p - a.padding).attr("y1", h - a.padding).attr("y2", h - a.padding).attr("stroke", o.axisColor).attr("stroke-width", 1), C.append("line").attr("x1", a.padding).attr("x2", a.padding).attr("y1", a.padding).attr("y2", h - a.padding).attr("stroke", o.axisColor).attr("stroke-width", 1);
374
- let w = u.axes.xLabel ?? "Evolution", T = u.axes.yLabel ?? "Visibility";
375
- C.append("text").attr("class", "wardley-axis-label wardley-axis-label-x").attr("x", a.padding + y / 2).attr("y", h - a.padding / 4).attr("fill", o.axisTextColor).attr("font-size", a.axisFontSize).attr("font-weight", "bold").attr("text-anchor", "middle").text(w), C.append("text").attr("class", "wardley-axis-label wardley-axis-label-y").attr("x", a.padding / 3).attr("y", a.padding + b / 2).attr("fill", o.axisTextColor).attr("font-size", a.axisFontSize).attr("font-weight", "bold").attr("text-anchor", "middle").attr("transform", `rotate(-90 ${a.padding / 3} ${a.padding + b / 2})`).text(T);
376
- let E = u.axes.stages && u.axes.stages.length > 0 ? u.axes.stages : H;
369
+ v.append("marker").attr("id", `arrow-${t}`).attr("viewBox", "0 0 10 10").attr("refX", 9).attr("refY", 5).attr("markerWidth", 6).attr("markerHeight", 6).attr("orient", "auto-start-reverse").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("fill", a.evolutionStroke).attr("stroke", "none"), v.append("marker").attr("id", `link-arrow-end-${t}`).attr("viewBox", "0 0 10 10").attr("refX", 9).attr("refY", 5).attr("markerWidth", 5).attr("markerHeight", 5).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("fill", a.linkStroke).attr("stroke", "none"), v.append("marker").attr("id", `link-arrow-start-${t}`).attr("viewBox", "0 0 10 10").attr("refX", 1).attr("refY", 5).attr("markerWidth", 5).attr("markerHeight", 5).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 z").attr("fill", a.linkStroke).attr("stroke", "none"), _.append("rect").attr("class", "wardley-background").attr("width", p).attr("height", h).attr("fill", a.backgroundColor);
370
+ let y = p - i.padding * 2, b = h - i.padding * 2;
371
+ u && _.append("text").attr("class", "wardley-title").attr("x", p / 2).attr("y", i.padding / 2).attr("fill", a.axisTextColor).attr("font-size", i.axisFontSize * 1.05).attr("font-weight", "bold").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(u);
372
+ let x = /* @__PURE__ */ d((e) => i.padding + e / 100 * y, "projectX"), S = /* @__PURE__ */ d((e) => h - i.padding - e / 100 * b, "projectY"), C = _.append("g").attr("class", "wardley-axes");
373
+ C.append("line").attr("x1", i.padding).attr("x2", p - i.padding).attr("y1", h - i.padding).attr("y2", h - i.padding).attr("stroke", a.axisColor).attr("stroke-width", 1), C.append("line").attr("x1", i.padding).attr("x2", i.padding).attr("y1", i.padding).attr("y2", h - i.padding).attr("stroke", a.axisColor).attr("stroke-width", 1);
374
+ let w = l.axes.xLabel ?? "Evolution", T = l.axes.yLabel ?? "Visibility";
375
+ C.append("text").attr("class", "wardley-axis-label wardley-axis-label-x").attr("x", i.padding + y / 2).attr("y", h - i.padding / 4).attr("fill", a.axisTextColor).attr("font-size", i.axisFontSize).attr("font-weight", "bold").attr("text-anchor", "middle").text(w), C.append("text").attr("class", "wardley-axis-label wardley-axis-label-y").attr("x", i.padding / 3).attr("y", i.padding + b / 2).attr("fill", a.axisTextColor).attr("font-size", i.axisFontSize).attr("font-weight", "bold").attr("text-anchor", "middle").attr("transform", `rotate(-90 ${i.padding / 3} ${i.padding + b / 2})`).text(T);
376
+ let E = l.axes.stages && l.axes.stages.length > 0 ? l.axes.stages : H;
377
377
  if (E.length > 0) {
378
- let e = _.append("g").attr("class", "wardley-stages"), t = u.axes.stageBoundaries, n = [];
378
+ let e = _.append("g").attr("class", "wardley-stages"), t = l.axes.stageBoundaries, n = [];
379
379
  if (t && t.length === E.length) {
380
380
  let e = 0;
381
381
  t.forEach((t) => {
@@ -394,135 +394,135 @@ var V = {
394
394
  });
395
395
  }
396
396
  E.forEach((t, r) => {
397
- let i = n[r], s = a.padding + i.start * y, c = (s + (a.padding + i.end * y)) / 2;
398
- r > 0 && e.append("line").attr("x1", s).attr("x2", s).attr("y1", a.padding).attr("y2", h - a.padding).attr("stroke", "#000").attr("stroke-width", 1).attr("stroke-dasharray", "5 5").attr("opacity", .8), e.append("text").attr("class", "wardley-stage-label").attr("x", c).attr("y", h - a.padding / 1.5).attr("fill", o.axisTextColor).attr("font-size", a.axisFontSize - 2).attr("text-anchor", "middle").text(t);
397
+ let o = n[r], s = i.padding + o.start * y, c = (s + (i.padding + o.end * y)) / 2;
398
+ r > 0 && e.append("line").attr("x1", s).attr("x2", s).attr("y1", i.padding).attr("y2", h - i.padding).attr("stroke", "#000").attr("stroke-width", 1).attr("stroke-dasharray", "5 5").attr("opacity", .8), e.append("text").attr("class", "wardley-stage-label").attr("x", c).attr("y", h - i.padding / 1.5).attr("fill", a.axisTextColor).attr("font-size", i.axisFontSize - 2).attr("text-anchor", "middle").text(t);
399
399
  });
400
400
  }
401
- if (a.showGrid) {
401
+ if (i.showGrid) {
402
402
  let e = _.append("g").attr("class", "wardley-grid");
403
403
  for (let t = 1; t < 4; t++) {
404
- let n = t / 4, r = a.padding + y * n;
405
- e.append("line").attr("x1", r).attr("x2", r).attr("y1", a.padding).attr("y2", h - a.padding).attr("stroke", o.gridColor).attr("stroke-dasharray", "2 6"), e.append("line").attr("x1", a.padding).attr("x2", p - a.padding).attr("y1", h - a.padding - b * n).attr("y2", h - a.padding - b * n).attr("stroke", o.gridColor).attr("stroke-dasharray", "2 6");
404
+ let n = t / 4, r = i.padding + y * n;
405
+ e.append("line").attr("x1", r).attr("x2", r).attr("y1", i.padding).attr("y2", h - i.padding).attr("stroke", a.gridColor).attr("stroke-dasharray", "2 6"), e.append("line").attr("x1", i.padding).attr("x2", p - i.padding).attr("y1", h - i.padding - b * n).attr("y2", h - i.padding - b * n).attr("stroke", a.gridColor).attr("stroke-dasharray", "2 6");
406
406
  }
407
407
  }
408
408
  let D = /* @__PURE__ */ new Map();
409
- if (u.nodes.forEach((e) => {
409
+ if (l.nodes.forEach((e) => {
410
410
  D.set(e.id, {
411
411
  x: x(e.x),
412
412
  y: S(e.y),
413
413
  node: e
414
414
  });
415
- }), u.pipelines.length > 0) {
415
+ }), l.pipelines.length > 0) {
416
416
  let e = _.append("g").attr("class", "wardley-pipelines"), t = _.append("g").attr("class", "wardley-pipeline-links");
417
- u.pipelines.forEach((n) => {
417
+ l.pipelines.forEach((n) => {
418
418
  if (n.componentIds.length === 0) return;
419
419
  let r = n.componentIds.map((e) => ({
420
420
  id: e,
421
421
  pos: D.get(e),
422
- node: u.nodes.find((t) => t.id === e)
422
+ node: l.nodes.find((t) => t.id === e)
423
423
  })).filter((e) => e.pos && e.node).sort((e, t) => e.node.x - t.node.x);
424
424
  for (let e = 0; e < r.length - 1; e++) {
425
425
  let n = r[e], i = r[e + 1];
426
- t.append("line").attr("class", "wardley-pipeline-evolution-link").attr("x1", n.pos.x).attr("y1", n.pos.y).attr("x2", i.pos.x).attr("y2", i.pos.y).attr("stroke", o.linkStroke).attr("stroke-width", 1).attr("stroke-dasharray", "4 4");
426
+ t.append("line").attr("class", "wardley-pipeline-evolution-link").attr("x1", n.pos.x).attr("y1", n.pos.y).attr("x2", i.pos.x).attr("y2", i.pos.y).attr("stroke", a.linkStroke).attr("stroke-width", 1).attr("stroke-dasharray", "4 4");
427
427
  }
428
- let i = Infinity, s = -Infinity, l = 0;
428
+ let s = Infinity, c = -Infinity, u = 0;
429
429
  if (n.componentIds.forEach((e) => {
430
430
  let t = D.get(e);
431
- t && (i = Math.min(i, t.x), s = Math.max(s, t.x), l = t.y);
432
- }), i !== Infinity && s !== -Infinity) {
433
- let t = a.nodeRadius * 4, r = l - t / 2, u = D.get(n.nodeId);
434
- u && (u.x = (i + s) / 2, u.y = r - c / 6), e.append("rect").attr("class", "wardley-pipeline-box").attr("x", i - 15).attr("y", r).attr("width", s - i + 30).attr("height", t).attr("fill", "none").attr("stroke", o.axisColor).attr("stroke-width", 1.5).attr("rx", 4).attr("ry", 4);
431
+ t && (s = Math.min(s, t.x), c = Math.max(c, t.x), u = t.y);
432
+ }), s !== Infinity && c !== -Infinity) {
433
+ let t = i.nodeRadius * 4, r = u - t / 2, l = D.get(n.nodeId);
434
+ l && (l.x = (s + c) / 2, l.y = r - o / 6), e.append("rect").attr("class", "wardley-pipeline-box").attr("x", s - 15).attr("y", r).attr("width", c - s + 30).attr("height", t).attr("fill", "none").attr("stroke", a.axisColor).attr("stroke-width", 1.5).attr("rx", 4).attr("ry", 4);
435
435
  }
436
436
  });
437
437
  }
438
438
  let O = _.append("g").attr("class", "wardley-links"), k = /* @__PURE__ */ new Map();
439
- u.pipelines.forEach((e) => {
439
+ l.pipelines.forEach((e) => {
440
440
  k.set(e.nodeId, new Set(e.componentIds));
441
441
  });
442
- let A = u.links.filter((e) => !(!D.has(e.source) || !D.has(e.target) || k.get(e.target)?.has(e.source)));
442
+ let A = l.links.filter((e) => !(!D.has(e.source) || !D.has(e.target) || k.get(e.target)?.has(e.source)));
443
443
  O.selectAll("line").data(A).enter().append("line").attr("class", (e) => `wardley-link${e.dashed ? " wardley-link--dashed" : ""}`).attr("x1", (e) => {
444
- let t = D.get(e.source), n = D.get(e.target), r = u.nodes.find((t) => t.id === e.source).isPipelineParent ? c / Math.sqrt(2) : a.nodeRadius, i = n.x - t.x, o = n.y - t.y, s = Math.sqrt(i * i + o * o);
445
- return t.x + i / s * r;
444
+ let t = D.get(e.source), n = D.get(e.target), r = l.nodes.find((t) => t.id === e.source).isPipelineParent ? o / Math.sqrt(2) : i.nodeRadius, a = n.x - t.x, s = n.y - t.y, c = Math.sqrt(a * a + s * s);
445
+ return t.x + a / c * r;
446
446
  }).attr("y1", (e) => {
447
- let t = D.get(e.source), n = D.get(e.target), r = u.nodes.find((t) => t.id === e.source).isPipelineParent ? c / Math.sqrt(2) : a.nodeRadius, i = n.x - t.x, o = n.y - t.y, s = Math.sqrt(i * i + o * o);
448
- return t.y + o / s * r;
447
+ let t = D.get(e.source), n = D.get(e.target), r = l.nodes.find((t) => t.id === e.source).isPipelineParent ? o / Math.sqrt(2) : i.nodeRadius, a = n.x - t.x, s = n.y - t.y, c = Math.sqrt(a * a + s * s);
448
+ return t.y + s / c * r;
449
449
  }).attr("x2", (e) => {
450
- let t = D.get(e.source), n = D.get(e.target), r = u.nodes.find((t) => t.id === e.target).isPipelineParent ? c / Math.sqrt(2) : a.nodeRadius, i = t.x - n.x, o = t.y - n.y, s = Math.sqrt(i * i + o * o);
451
- return n.x + i / s * r;
450
+ let t = D.get(e.source), n = D.get(e.target), r = l.nodes.find((t) => t.id === e.target).isPipelineParent ? o / Math.sqrt(2) : i.nodeRadius, a = t.x - n.x, s = t.y - n.y, c = Math.sqrt(a * a + s * s);
451
+ return n.x + a / c * r;
452
452
  }).attr("y2", (e) => {
453
- let t = D.get(e.source), n = D.get(e.target), r = u.nodes.find((t) => t.id === e.target).isPipelineParent ? c / Math.sqrt(2) : a.nodeRadius, i = t.x - n.x, o = t.y - n.y, s = Math.sqrt(i * i + o * o);
454
- return n.y + o / s * r;
455
- }).attr("stroke", o.linkStroke).attr("stroke-width", 1).attr("stroke-dasharray", (e) => e.dashed ? "6 6" : null).attr("marker-end", (e) => e.flow === "forward" || e.flow === "bidirectional" ? `url(#link-arrow-end-${n})` : null).attr("marker-start", (e) => e.flow === "backward" || e.flow === "bidirectional" ? `url(#link-arrow-start-${n})` : null), O.selectAll("text").data(A.filter((e) => e.label)).enter().append("text").attr("class", "wardley-link-label").attr("x", (e) => {
453
+ let t = D.get(e.source), n = D.get(e.target), r = l.nodes.find((t) => t.id === e.target).isPipelineParent ? o / Math.sqrt(2) : i.nodeRadius, a = t.x - n.x, s = t.y - n.y, c = Math.sqrt(a * a + s * s);
454
+ return n.y + s / c * r;
455
+ }).attr("stroke", a.linkStroke).attr("stroke-width", 1).attr("stroke-dasharray", (e) => e.dashed ? "6 6" : null).attr("marker-end", (e) => e.flow === "forward" || e.flow === "bidirectional" ? `url(#link-arrow-end-${t})` : null).attr("marker-start", (e) => e.flow === "backward" || e.flow === "bidirectional" ? `url(#link-arrow-start-${t})` : null), O.selectAll("text").data(A.filter((e) => e.label)).enter().append("text").attr("class", "wardley-link-label").attr("x", (e) => {
456
456
  let t = D.get(e.source), n = D.get(e.target), r = (t.x + n.x) / 2, i = n.y - t.y, a = n.x - t.x;
457
457
  return r + i / Math.sqrt(a * a + i * i) * 8;
458
458
  }).attr("y", (e) => {
459
459
  let t = D.get(e.source), n = D.get(e.target), r = (t.y + n.y) / 2, i = n.x - t.x, a = n.y - t.y, o = Math.sqrt(i * i + a * a);
460
460
  return r + -i / o * 8;
461
- }).attr("fill", o.axisTextColor).attr("font-size", a.labelFontSize).attr("text-anchor", "middle").attr("dominant-baseline", "middle").attr("transform", (e) => {
461
+ }).attr("fill", a.axisTextColor).attr("font-size", i.labelFontSize).attr("text-anchor", "middle").attr("dominant-baseline", "middle").attr("transform", (e) => {
462
462
  let t = D.get(e.source), n = D.get(e.target), r = (t.x + n.x) / 2, i = (t.y + n.y) / 2, a = n.x - t.x, o = n.y - t.y, s = Math.sqrt(a * a + o * o), c = o / s, l = -a / s, u = r + c * 8, d = i + l * 8, f = Math.atan2(o, a) * 180 / Math.PI;
463
463
  return (f > 90 || f < -90) && (f += 180), `rotate(${f} ${u} ${d})`;
464
464
  }).text((e) => e.label);
465
- let j = _.append("g").attr("class", "wardley-trends"), M = u.trends.map((e) => {
465
+ let j = _.append("g").attr("class", "wardley-trends"), M = l.trends.map((e) => {
466
466
  let t = D.get(e.nodeId);
467
467
  if (!t) return null;
468
- let n = x(e.targetX), r = S(e.targetY), i = n - t.x, o = r - t.y, s = Math.sqrt(i * i + o * o), c = a.nodeRadius + 2;
468
+ let n = x(e.targetX), r = S(e.targetY), a = n - t.x, o = r - t.y, s = Math.sqrt(a * a + o * o), c = i.nodeRadius + 2;
469
469
  return {
470
470
  origin: t,
471
471
  targetX: n,
472
472
  targetY: r,
473
- adjustedX2: s > c ? n - i / s * c : n,
473
+ adjustedX2: s > c ? n - a / s * c : n,
474
474
  adjustedY2: s > c ? r - o / s * c : r
475
475
  };
476
476
  }).filter((e) => e !== null);
477
- j.selectAll("line").data(M).enter().append("line").attr("class", "wardley-trend").attr("x1", (e) => e.origin.x).attr("y1", (e) => e.origin.y).attr("x2", (e) => e.adjustedX2).attr("y2", (e) => e.adjustedY2).attr("stroke", o.evolutionStroke).attr("stroke-width", 1).attr("stroke-dasharray", "4 4").attr("marker-end", `url(#arrow-${n})`);
478
- let N = _.append("g").attr("class", "wardley-nodes").selectAll("g").data(u.nodes).enter().append("g").attr("class", (e) => ["wardley-node", e.className ? `wardley-node--${e.className}` : ""].filter(Boolean).join(" "));
479
- N.filter((e) => e.sourceStrategy === "outsource").append("circle").attr("class", "wardley-outsource-overlay").attr("cx", (e) => D.get(e.id).x).attr("cy", (e) => D.get(e.id).y).attr("r", a.nodeRadius * 2).attr("fill", "#666").attr("stroke", o.componentStroke).attr("stroke-width", 1), N.filter((e) => e.sourceStrategy === "buy").append("circle").attr("class", "wardley-buy-overlay").attr("cx", (e) => D.get(e.id).x).attr("cy", (e) => D.get(e.id).y).attr("r", a.nodeRadius * 2).attr("fill", "#ccc").attr("stroke", o.componentStroke).attr("stroke-width", 1), N.filter((e) => e.sourceStrategy === "build").append("circle").attr("class", "wardley-build-overlay").attr("cx", (e) => D.get(e.id).x).attr("cy", (e) => D.get(e.id).y).attr("r", a.nodeRadius * 2).attr("fill", "#eee").attr("stroke", "#000").attr("stroke-width", 1);
477
+ j.selectAll("line").data(M).enter().append("line").attr("class", "wardley-trend").attr("x1", (e) => e.origin.x).attr("y1", (e) => e.origin.y).attr("x2", (e) => e.adjustedX2).attr("y2", (e) => e.adjustedY2).attr("stroke", a.evolutionStroke).attr("stroke-width", 1).attr("stroke-dasharray", "4 4").attr("marker-end", `url(#arrow-${t})`);
478
+ let N = _.append("g").attr("class", "wardley-nodes").selectAll("g").data(l.nodes).enter().append("g").attr("class", (e) => ["wardley-node", e.className ? `wardley-node--${e.className}` : ""].filter(Boolean).join(" "));
479
+ N.filter((e) => e.sourceStrategy === "outsource").append("circle").attr("class", "wardley-outsource-overlay").attr("cx", (e) => D.get(e.id).x).attr("cy", (e) => D.get(e.id).y).attr("r", i.nodeRadius * 2).attr("fill", "#666").attr("stroke", a.componentStroke).attr("stroke-width", 1), N.filter((e) => e.sourceStrategy === "buy").append("circle").attr("class", "wardley-buy-overlay").attr("cx", (e) => D.get(e.id).x).attr("cy", (e) => D.get(e.id).y).attr("r", i.nodeRadius * 2).attr("fill", "#ccc").attr("stroke", a.componentStroke).attr("stroke-width", 1), N.filter((e) => e.sourceStrategy === "build").append("circle").attr("class", "wardley-build-overlay").attr("cx", (e) => D.get(e.id).x).attr("cy", (e) => D.get(e.id).y).attr("r", i.nodeRadius * 2).attr("fill", "#eee").attr("stroke", "#000").attr("stroke-width", 1);
480
480
  let P = N.filter((e) => e.sourceStrategy === "market");
481
- P.append("circle").attr("class", "wardley-market-overlay").attr("cx", (e) => D.get(e.id).x).attr("cy", (e) => D.get(e.id).y).attr("r", a.nodeRadius * 2).attr("fill", "white").attr("stroke", o.componentStroke).attr("stroke-width", 1), N.filter((e) => !e.isPipelineParent && e.sourceStrategy !== "market" && e.className !== "anchor").append("circle").attr("cx", (e) => D.get(e.id).x).attr("cy", (e) => D.get(e.id).y).attr("r", a.nodeRadius).attr("fill", o.componentFill).attr("stroke", o.componentStroke).attr("stroke-width", 1);
482
- let F = a.nodeRadius * .7, I = a.nodeRadius * 1.2;
483
- if (P.append("line").attr("class", "wardley-market-line").attr("x1", (e) => D.get(e.id).x).attr("y1", (e) => D.get(e.id).y - I).attr("x2", (e) => D.get(e.id).x - I * Math.cos(Math.PI / 6)).attr("y2", (e) => D.get(e.id).y + I * Math.sin(Math.PI / 6)).attr("stroke", o.componentStroke).attr("stroke-width", 1), P.append("line").attr("class", "wardley-market-line").attr("x1", (e) => D.get(e.id).x - I * Math.cos(Math.PI / 6)).attr("y1", (e) => D.get(e.id).y + I * Math.sin(Math.PI / 6)).attr("x2", (e) => D.get(e.id).x + I * Math.cos(Math.PI / 6)).attr("y2", (e) => D.get(e.id).y + I * Math.sin(Math.PI / 6)).attr("stroke", o.componentStroke).attr("stroke-width", 1), P.append("line").attr("class", "wardley-market-line").attr("x1", (e) => D.get(e.id).x + I * Math.cos(Math.PI / 6)).attr("y1", (e) => D.get(e.id).y + I * Math.sin(Math.PI / 6)).attr("x2", (e) => D.get(e.id).x).attr("y2", (e) => D.get(e.id).y - I).attr("stroke", o.componentStroke).attr("stroke-width", 1), P.append("circle").attr("class", "wardley-market-dot").attr("cx", (e) => D.get(e.id).x).attr("cy", (e) => D.get(e.id).y - I).attr("r", F).attr("fill", "white").attr("stroke", o.componentStroke).attr("stroke-width", 2), P.append("circle").attr("class", "wardley-market-dot").attr("cx", (e) => D.get(e.id).x - I * Math.cos(Math.PI / 6)).attr("cy", (e) => D.get(e.id).y + I * Math.sin(Math.PI / 6)).attr("r", F).attr("fill", "white").attr("stroke", o.componentStroke).attr("stroke-width", 2), P.append("circle").attr("class", "wardley-market-dot").attr("cx", (e) => D.get(e.id).x + I * Math.cos(Math.PI / 6)).attr("cy", (e) => D.get(e.id).y + I * Math.sin(Math.PI / 6)).attr("r", F).attr("fill", "white").attr("stroke", o.componentStroke).attr("stroke-width", 2), N.filter((e) => e.isPipelineParent === !0).append("rect").attr("x", (e) => D.get(e.id).x - c / 2).attr("y", (e) => D.get(e.id).y - c / 2).attr("width", c).attr("height", c).attr("fill", o.componentFill).attr("stroke", o.componentStroke).attr("stroke-width", 1), N.filter((e) => e.inertia === !0).append("line").attr("class", "wardley-inertia").attr("x1", (e) => {
484
- let t = D.get(e.id), n = e.isPipelineParent ? c / 2 + 15 : a.nodeRadius + 15;
485
- return e.sourceStrategy && (n += a.nodeRadius + 10), t.x + n;
481
+ P.append("circle").attr("class", "wardley-market-overlay").attr("cx", (e) => D.get(e.id).x).attr("cy", (e) => D.get(e.id).y).attr("r", i.nodeRadius * 2).attr("fill", "white").attr("stroke", a.componentStroke).attr("stroke-width", 1), N.filter((e) => !e.isPipelineParent && e.sourceStrategy !== "market" && e.className !== "anchor").append("circle").attr("cx", (e) => D.get(e.id).x).attr("cy", (e) => D.get(e.id).y).attr("r", i.nodeRadius).attr("fill", a.componentFill).attr("stroke", a.componentStroke).attr("stroke-width", 1);
482
+ let F = i.nodeRadius * .7, I = i.nodeRadius * 1.2;
483
+ if (P.append("line").attr("class", "wardley-market-line").attr("x1", (e) => D.get(e.id).x).attr("y1", (e) => D.get(e.id).y - I).attr("x2", (e) => D.get(e.id).x - I * Math.cos(Math.PI / 6)).attr("y2", (e) => D.get(e.id).y + I * Math.sin(Math.PI / 6)).attr("stroke", a.componentStroke).attr("stroke-width", 1), P.append("line").attr("class", "wardley-market-line").attr("x1", (e) => D.get(e.id).x - I * Math.cos(Math.PI / 6)).attr("y1", (e) => D.get(e.id).y + I * Math.sin(Math.PI / 6)).attr("x2", (e) => D.get(e.id).x + I * Math.cos(Math.PI / 6)).attr("y2", (e) => D.get(e.id).y + I * Math.sin(Math.PI / 6)).attr("stroke", a.componentStroke).attr("stroke-width", 1), P.append("line").attr("class", "wardley-market-line").attr("x1", (e) => D.get(e.id).x + I * Math.cos(Math.PI / 6)).attr("y1", (e) => D.get(e.id).y + I * Math.sin(Math.PI / 6)).attr("x2", (e) => D.get(e.id).x).attr("y2", (e) => D.get(e.id).y - I).attr("stroke", a.componentStroke).attr("stroke-width", 1), P.append("circle").attr("class", "wardley-market-dot").attr("cx", (e) => D.get(e.id).x).attr("cy", (e) => D.get(e.id).y - I).attr("r", F).attr("fill", "white").attr("stroke", a.componentStroke).attr("stroke-width", 2), P.append("circle").attr("class", "wardley-market-dot").attr("cx", (e) => D.get(e.id).x - I * Math.cos(Math.PI / 6)).attr("cy", (e) => D.get(e.id).y + I * Math.sin(Math.PI / 6)).attr("r", F).attr("fill", "white").attr("stroke", a.componentStroke).attr("stroke-width", 2), P.append("circle").attr("class", "wardley-market-dot").attr("cx", (e) => D.get(e.id).x + I * Math.cos(Math.PI / 6)).attr("cy", (e) => D.get(e.id).y + I * Math.sin(Math.PI / 6)).attr("r", F).attr("fill", "white").attr("stroke", a.componentStroke).attr("stroke-width", 2), N.filter((e) => e.isPipelineParent === !0).append("rect").attr("x", (e) => D.get(e.id).x - o / 2).attr("y", (e) => D.get(e.id).y - o / 2).attr("width", o).attr("height", o).attr("fill", a.componentFill).attr("stroke", a.componentStroke).attr("stroke-width", 1), N.filter((e) => e.inertia === !0).append("line").attr("class", "wardley-inertia").attr("x1", (e) => {
484
+ let t = D.get(e.id), n = e.isPipelineParent ? o / 2 + 15 : i.nodeRadius + 15;
485
+ return e.sourceStrategy && (n += i.nodeRadius + 10), t.x + n;
486
486
  }).attr("y1", (e) => {
487
- let t = D.get(e.id), n = e.isPipelineParent ? c : a.nodeRadius * 2;
487
+ let t = D.get(e.id), n = e.isPipelineParent ? o : i.nodeRadius * 2;
488
488
  return t.y - n / 2;
489
489
  }).attr("x2", (e) => {
490
- let t = D.get(e.id), n = e.isPipelineParent ? c / 2 + 15 : a.nodeRadius + 15;
491
- return e.sourceStrategy && (n += a.nodeRadius + 10), t.x + n;
490
+ let t = D.get(e.id), n = e.isPipelineParent ? o / 2 + 15 : i.nodeRadius + 15;
491
+ return e.sourceStrategy && (n += i.nodeRadius + 10), t.x + n;
492
492
  }).attr("y2", (e) => {
493
- let t = D.get(e.id), n = e.isPipelineParent ? c : a.nodeRadius * 2;
493
+ let t = D.get(e.id), n = e.isPipelineParent ? o : i.nodeRadius * 2;
494
494
  return t.y + n / 2;
495
- }).attr("stroke", o.componentStroke).attr("stroke-width", 6), N.append("text").attr("x", (e) => {
495
+ }).attr("stroke", a.componentStroke).attr("stroke-width", 6), N.append("text").attr("x", (e) => {
496
496
  let t = D.get(e.id);
497
497
  if (e.className === "anchor") return e.labelOffsetX === void 0 ? t.x : t.x + e.labelOffsetX;
498
- let n = a.nodeLabelOffset;
498
+ let n = i.nodeLabelOffset;
499
499
  e.sourceStrategy && e.labelOffsetX === void 0 && (n += 10);
500
500
  let r = e.labelOffsetX ?? n;
501
501
  return t.x + r;
502
502
  }).attr("y", (e) => {
503
503
  let t = D.get(e.id);
504
504
  if (e.className === "anchor") return e.labelOffsetY === void 0 ? t.y - 3 : t.y + e.labelOffsetY;
505
- let n = -a.nodeLabelOffset;
505
+ let n = -i.nodeLabelOffset;
506
506
  e.sourceStrategy && e.labelOffsetY === void 0 && (n -= 10);
507
507
  let r = e.labelOffsetY ?? n;
508
508
  return t.y + r;
509
- }).attr("class", "wardley-node-label").attr("fill", (e) => e.className === "evolved" ? o.evolutionStroke : e.className === "anchor" ? "#000" : o.componentLabelColor).attr("font-size", a.labelFontSize).attr("font-weight", (e) => e.className === "anchor" ? "bold" : "normal").attr("text-anchor", (e) => e.className === "anchor" ? "middle" : "start").attr("dominant-baseline", (e) => e.className === "anchor" ? "middle" : "auto").text((e) => e.label), u.annotations.length > 0) {
509
+ }).attr("class", "wardley-node-label").attr("fill", (e) => e.className === "evolved" ? a.evolutionStroke : e.className === "anchor" ? "#000" : a.componentLabelColor).attr("font-size", i.labelFontSize).attr("font-weight", (e) => e.className === "anchor" ? "bold" : "normal").attr("text-anchor", (e) => e.className === "anchor" ? "middle" : "start").attr("dominant-baseline", (e) => e.className === "anchor" ? "middle" : "auto").text((e) => e.label), l.annotations.length > 0) {
510
510
  let e = _.append("g").attr("class", "wardley-annotations");
511
- if (u.annotations.forEach((t) => {
511
+ if (l.annotations.forEach((t) => {
512
512
  let n = t.coordinates.map((e) => ({
513
513
  x: x(e.x),
514
514
  y: S(e.y)
515
515
  }));
516
- if (n.length > 1) for (let t = 0; t < n.length - 1; t++) e.append("line").attr("class", "wardley-annotation-line").attr("x1", n[t].x).attr("y1", n[t].y).attr("x2", n[t + 1].x).attr("y2", n[t + 1].y).attr("stroke", o.axisColor).attr("stroke-width", 1.5).attr("stroke-dasharray", "4 4");
516
+ if (n.length > 1) for (let t = 0; t < n.length - 1; t++) e.append("line").attr("class", "wardley-annotation-line").attr("x1", n[t].x).attr("y1", n[t].y).attr("x2", n[t + 1].x).attr("y2", n[t + 1].y).attr("stroke", a.axisColor).attr("stroke-width", 1.5).attr("stroke-dasharray", "4 4");
517
517
  n.forEach((n) => {
518
518
  let r = e.append("g").attr("class", "wardley-annotation");
519
- r.append("circle").attr("cx", n.x).attr("cy", n.y).attr("r", 10).attr("fill", "white").attr("stroke", o.axisColor).attr("stroke-width", 1.5), r.append("text").attr("x", n.x).attr("y", n.y).attr("text-anchor", "middle").attr("dominant-baseline", "central").attr("font-size", 10).attr("fill", o.axisTextColor).attr("font-weight", "bold").text(t.number);
519
+ r.append("circle").attr("cx", n.x).attr("cy", n.y).attr("r", 10).attr("fill", "white").attr("stroke", a.axisColor).attr("stroke-width", 1.5), r.append("text").attr("x", n.x).attr("y", n.y).attr("text-anchor", "middle").attr("dominant-baseline", "central").attr("font-size", 10).attr("fill", a.axisTextColor).attr("font-weight", "bold").text(t.number);
520
520
  });
521
- }), u.annotationsBox) {
522
- let t = x(u.annotationsBox.x), n = S(u.annotationsBox.y), r = e.append("g").attr("class", "wardley-annotations-box"), i = [...u.annotations].filter((e) => e.text).sort((e, t) => e.number - t.number), s = [];
523
- if (i.forEach((e, i) => {
524
- let a = r.append("text").attr("x", t + 10).attr("y", n + 10 + (i + 1) * 16).attr("font-size", 11).attr("fill", o.axisTextColor).attr("text-anchor", "start").attr("dominant-baseline", "middle").text(`${e.number}. ${e.text}`);
525
- s.push(a);
521
+ }), l.annotationsBox) {
522
+ let t = x(l.annotationsBox.x), n = S(l.annotationsBox.y), r = e.append("g").attr("class", "wardley-annotations-box"), o = [...l.annotations].filter((e) => e.text).sort((e, t) => e.number - t.number), s = [];
523
+ if (o.forEach((e, i) => {
524
+ let o = r.append("text").attr("x", t + 10).attr("y", n + 10 + (i + 1) * 16).attr("font-size", 11).attr("fill", a.axisTextColor).attr("text-anchor", "start").attr("dominant-baseline", "middle").text(`${e.number}. ${e.text}`);
525
+ s.push(o);
526
526
  }), s.length > 0) {
527
527
  let e = 0, c = 0;
528
528
  s.forEach((t) => {
@@ -531,23 +531,23 @@ var V = {
531
531
  let i = n.getBBox();
532
532
  c = Math.max(c, i.height);
533
533
  });
534
- let l = e + 20 + 105, u = i.length * 16 + 20 + c / 2, d = a.padding, f = p - a.padding - l, m = a.padding, g = h - a.padding - u;
534
+ let l = e + 20 + 105, u = o.length * 16 + 20 + c / 2, d = i.padding, f = p - i.padding - l, m = i.padding, g = h - i.padding - u;
535
535
  t = Math.max(d, Math.min(t, f)), n = Math.max(m, Math.min(n, g)), s.forEach((e, r) => {
536
536
  e.attr("x", t + 10).attr("y", n + 10 + (r + 1) * 16);
537
- }), r.insert("rect", "text").attr("x", t).attr("y", n).attr("width", l).attr("height", u).attr("fill", "white").attr("stroke", o.axisColor).attr("stroke-width", 1.5).attr("rx", 4).attr("ry", 4);
537
+ }), r.insert("rect", "text").attr("x", t).attr("y", n).attr("width", l).attr("height", u).attr("fill", "white").attr("stroke", a.axisColor).attr("stroke-width", 1.5).attr("rx", 4).attr("ry", 4);
538
538
  }
539
539
  }
540
540
  }
541
- if (u.notes.length > 0) {
541
+ if (l.notes.length > 0) {
542
542
  let e = _.append("g").attr("class", "wardley-notes");
543
- u.notes.forEach((t) => {
543
+ l.notes.forEach((t) => {
544
544
  let n = x(t.x), r = S(t.y);
545
- e.append("text").attr("x", n).attr("y", r).attr("text-anchor", "start").attr("font-size", 11).attr("fill", o.axisTextColor).attr("font-weight", "bold").text(t.text);
545
+ e.append("text").attr("x", n).attr("y", r).attr("text-anchor", "start").attr("font-size", 11).attr("fill", a.axisTextColor).attr("font-weight", "bold").text(t.text);
546
546
  });
547
547
  }
548
- if (u.accelerators.length > 0) {
548
+ if (l.accelerators.length > 0) {
549
549
  let e = _.append("g").attr("class", "wardley-accelerators");
550
- u.accelerators.forEach((t) => {
550
+ l.accelerators.forEach((t) => {
551
551
  let n = x(t.x), r = S(t.y), i = `
552
552
  M ${n} ${r - 15}
553
553
  L ${n + 60 - 20} ${r - 15}
@@ -558,12 +558,12 @@ var V = {
558
558
  L ${n} ${r + 15}
559
559
  Z
560
560
  `;
561
- e.append("path").attr("d", i).attr("fill", "white").attr("stroke", o.componentStroke).attr("stroke-width", 1), e.append("text").attr("x", n + 30).attr("y", r + 15 + 15).attr("text-anchor", "middle").attr("font-size", 10).attr("fill", o.axisTextColor).attr("font-weight", "bold").text(t.name);
561
+ e.append("path").attr("d", i).attr("fill", "white").attr("stroke", a.componentStroke).attr("stroke-width", 1), e.append("text").attr("x", n + 30).attr("y", r + 15 + 15).attr("text-anchor", "middle").attr("font-size", 10).attr("fill", a.axisTextColor).attr("font-weight", "bold").text(t.name);
562
562
  });
563
563
  }
564
- if (u.deaccelerators.length > 0) {
564
+ if (l.deaccelerators.length > 0) {
565
565
  let e = _.append("g").attr("class", "wardley-deaccelerators");
566
- u.deaccelerators.forEach((t) => {
566
+ l.deaccelerators.forEach((t) => {
567
567
  let n = x(t.x), r = S(t.y), i = `
568
568
  M ${n + 60} ${r - 15}
569
569
  L ${n + 20} ${r - 15}
@@ -574,12 +574,12 @@ var V = {
574
574
  L ${n + 60} ${r + 15}
575
575
  Z
576
576
  `;
577
- e.append("path").attr("d", i).attr("fill", "white").attr("stroke", o.componentStroke).attr("stroke-width", 1), e.append("text").attr("x", n + 30).attr("y", r + 15 + 15).attr("text-anchor", "middle").attr("font-size", 10).attr("fill", o.axisTextColor).attr("font-weight", "bold").text(t.name);
577
+ e.append("path").attr("d", i).attr("fill", "white").attr("stroke", a.componentStroke).attr("stroke-width", 1), e.append("text").attr("x", n + 30).attr("y", r + 15 + 15).attr("text-anchor", "middle").attr("font-size", 10).attr("fill", a.axisTextColor).attr("font-weight", "bold").text(t.name);
578
578
  });
579
579
  }
580
580
  }, "draw") },
581
- styles: /* @__PURE__ */ f(({ wardley: e } = {}) => {
582
- let n = t(), r = o(), i = p(n, r.themeVariables), a = p(i.wardley, e);
581
+ styles: /* @__PURE__ */ d(({ wardley: e } = {}) => {
582
+ let n = t(), r = u(), i = p(n, r.themeVariables), a = p(i.wardley, e);
583
583
  return `
584
584
  .wardley-background {
585
585
  fill: ${a.backgroundColor};