@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
@@ -0,0 +1,2 @@
1
+ import "./chunk-NGNAAXSQ-Tr--SG_c.js";
2
+ export { v as createRadarServices } from "./mermaid-parser.core-zUi7tSl-.js";
@@ -0,0 +1,2 @@
1
+ import "./chunk-NGNAAXSQ-Tr--SG_c.js";
2
+ export { g as createRailroadServices } from "./mermaid-parser.core-zUi7tSl-.js";
@@ -0,0 +1,2 @@
1
+ import "./chunk-NGNAAXSQ-Tr--SG_c.js";
2
+ export { m as createRailroadAbnfServices } from "./mermaid-parser.core-zUi7tSl-.js";
@@ -0,0 +1,2 @@
1
+ import "./chunk-NGNAAXSQ-Tr--SG_c.js";
2
+ export { f as createRailroadEbnfServices } from "./mermaid-parser.core-zUi7tSl-.js";
@@ -0,0 +1,2 @@
1
+ import "./chunk-NGNAAXSQ-Tr--SG_c.js";
2
+ export { u as createRailroadPegServices } from "./mermaid-parser.core-zUi7tSl-.js";
@@ -1,12 +1,12 @@
1
- import { m as e } from "./src-DQoflmwT.js";
2
- import "./chunk-DU6HZSFF-D9v_2L4Z.js";
3
- import { n as t } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
- import "./chunk-CLGD4ZFX-DdntjE3C.js";
5
- import { g as n, t as r } from "./mermaid-parser.core-BwVmI_Rq.js";
6
- import { n as i, r as a, t as o } from "./chunk-SVP7TREG-f53BROgh.js";
1
+ import "./chunk-DSNLSHJZ-B1A8wsiA.js";
2
+ import { n as e } from "./chunk-Y2CYZVJY-i11wjrBe.js";
3
+ import { m as t } from "./src-CY9Rz0Sf.js";
4
+ import "./chunk-OYAV6JZA-Cypx4hYu.js";
5
+ import { g as n, t as r } from "./mermaid-parser.core-zUi7tSl-.js";
6
+ import { n as i, r as a, t as o } from "./chunk-2E7WHVMD-DSYBrngB.js";
7
7
  import { t as s } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
8
- //#region node_modules/mermaid/dist/chunks/mermaid.core/railroadDiagram-O6MQD6OU.mjs
9
- var c = n().Railroad.parser.LangiumParser, l = /* @__PURE__ */ t((e) => {
8
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/railroadDiagram-Y72NRBL7.mjs
9
+ var c = n().Railroad.parser.LangiumParser, l = /* @__PURE__ */ e((e) => {
10
10
  switch (e.$type) {
11
11
  case "RailroadTerminalExpr": return {
12
12
  type: "terminal",
@@ -52,19 +52,19 @@ var c = n().Railroad.parser.LangiumParser, l = /* @__PURE__ */ t((e) => {
52
52
  };
53
53
  default: throw Error(`Unsupported railroad expression: ${e.$type}`);
54
54
  }
55
- }, "transformExpression"), u = /* @__PURE__ */ t((e) => ({
55
+ }, "transformExpression"), u = /* @__PURE__ */ e((e) => ({
56
56
  name: e.name,
57
57
  definition: l(e.definition)
58
- }), "transformRule"), d = /* @__PURE__ */ t((e) => {
58
+ }), "transformRule"), d = /* @__PURE__ */ e((e) => {
59
59
  s(e, o), e.title && o.setTitle(e.title), e.rules.map((e) => o.addRule(u(e)));
60
60
  }, "populateDb"), f = {
61
61
  parser: {
62
- parse: /* @__PURE__ */ t((t) => {
63
- o.clear(), e.debug("[Railroad Parser] Starting Langium parse");
64
- let n = c.parse(t);
62
+ parse: /* @__PURE__ */ e((e) => {
63
+ o.clear(), t.debug("[Railroad Parser] Starting Langium parse");
64
+ let n = c.parse(e);
65
65
  if (n.lexerErrors.length > 0 || n.parserErrors.length > 0) throw new r(n);
66
66
  let i = n.value;
67
- e.debug("[Railroad Parser] Parsed rules:", i.rules.length), d(i), e.debug("[Railroad Parser] Parse complete");
67
+ t.debug("[Railroad Parser] Parsed rules:", i.rules.length), d(i), t.debug("[Railroad Parser] Parse complete");
68
68
  }, "parse"),
69
69
  parser: { yy: o }
70
70
  },
@@ -1,20 +1,21 @@
1
- import { m as e } from "./src-DQoflmwT.js";
2
- import { H as t, K as n, U as r, a as i, b as a, v as o, w as s, x as c, y as l } from "./chunk-DU6HZSFF-D9v_2L4Z.js";
3
- import { n as u, t as d } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
- import { g as f } from "./chunk-75Z2AOVW-CLjRECiG.js";
5
- import "./chunk-P2QGCYS3-667SFjNY.js";
6
- import "./chunk-PWAF6VOD-z0rQy52m.js";
7
- import "./chunk-GMAD6QVW-Cnp61Cie.js";
8
- import "./chunk-4HAMMTFA-DBtV-sHy.js";
9
- import "./chunk-GVQU2GXP-BJ9OHC7T.js";
10
- import "./chunk-L3NEJ4N5-Dd1FmxFn.js";
11
- import "./chunk-OSK3NFVY-qg1q5TTI.js";
12
- import { r as p, t as m } from "./chunk-TLUHSLCS-Drk6ApJR.js";
13
- import { t as h } from "./chunk-XXDRQBXY-C1ZEFXGu.js";
14
- import { t as g } from "./chunk-POPQ4Y6H-YFNrkrJW.js";
15
- //#region node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-BXWQKSXE.mjs
16
- var _ = (function() {
17
- var e = /* @__PURE__ */ u(function(e, t, n, r) {
1
+ import { C as e, H as t, U as n, _ as r, a as i, b as a, q as o, v as s, y as c } from "./chunk-DSNLSHJZ-B1A8wsiA.js";
2
+ import { n as l, t as u } from "./chunk-Y2CYZVJY-i11wjrBe.js";
3
+ import { m as d } from "./src-CY9Rz0Sf.js";
4
+ import { _ as f } from "./chunk-7S6XSTFO-CN6S2H1-.js";
5
+ import "./chunk-UHW7PFBP-CoHGQVjo.js";
6
+ import "./chunk-YZO67HFG-Bcmpw0dX.js";
7
+ import "./chunk-AQDTSKZB-DuUha9al.js";
8
+ import { a as p, i as m, o as h, r as g } from "./chunk-J5ZVWO5B-CYzz6Pq8.js";
9
+ import "./chunk-HAGFOTED-IzyIoLzD.js";
10
+ import "./chunk-ZAUX2LTX-Bu7BRVL6.js";
11
+ import "./chunk-HNE4Q36P-7zVKLE_b.js";
12
+ import "./chunk-WQQL4CDK-BJE6isq-.js";
13
+ import { r as _, t as v } from "./chunk-EJLWFMJV-Cu6XnLfk.js";
14
+ import { t as y } from "./chunk-XXDRQBXY-CU-dbs05.js";
15
+ import { t as b } from "./chunk-VQ5W62QI-BSDHmyws.js";
16
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-EQYSW5RA.mjs
17
+ var x = (function() {
18
+ var e = /* @__PURE__ */ l(function(e, t, n, r) {
18
19
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
19
20
  return n;
20
21
  }, "o"), t = [1, 3], n = [1, 4], r = [1, 5], i = [1, 6], a = [
@@ -40,7 +41,7 @@ var _ = (function() {
40
41
  77,
41
42
  89,
42
43
  90
43
- ], o = [1, 22], s = [2, 7], c = [1, 26], l = [1, 27], d = [1, 28], f = [1, 29], p = [1, 33], m = [1, 34], h = [1, 35], g = [1, 36], _ = [1, 37], v = [1, 38], y = [1, 24], b = [1, 31], x = [1, 32], S = [1, 30], C = [1, 39], w = [1, 40], T = [
44
+ ], o = [1, 22], s = [2, 7], c = [1, 26], u = [1, 27], d = [1, 28], f = [1, 29], p = [1, 33], m = [1, 34], h = [1, 35], g = [1, 36], _ = [1, 37], v = [1, 38], y = [1, 24], b = [1, 31], x = [1, 32], S = [1, 30], C = [1, 39], w = [1, 40], T = [
44
45
  5,
45
46
  8,
46
47
  9,
@@ -190,7 +191,7 @@ var _ = (function() {
190
191
  89,
191
192
  90
192
193
  ], W = [1, 110], G = [1, 106], K = [1, 107], q = [1, 108], J = [1, 109], Y = [1, 111], X = [1, 116], Z = [1, 117], Q = [1, 114], $ = [1, 115], le = {
193
- trace: /* @__PURE__ */ u(function() {}, "trace"),
194
+ trace: /* @__PURE__ */ l(function() {}, "trace"),
194
195
  yy: {},
195
196
  symbols_: {
196
197
  error: 2,
@@ -443,7 +444,7 @@ var _ = (function() {
443
444
  [60, 1],
444
445
  [60, 1]
445
446
  ],
446
- performAction: /* @__PURE__ */ u(function(e, t, n, r, i, a, o) {
447
+ performAction: /* @__PURE__ */ l(function(e, t, n, r, i, a, o) {
447
448
  var s = a.length - 1;
448
449
  switch (i) {
449
450
  case 4:
@@ -641,7 +642,7 @@ var _ = (function() {
641
642
  19: 20,
642
643
  20: 21,
643
644
  21: c,
644
- 22: l,
645
+ 22: u,
645
646
  23: d,
646
647
  24: f,
647
648
  25: 23,
@@ -679,7 +680,7 @@ var _ = (function() {
679
680
  19: 20,
680
681
  20: 21,
681
682
  21: c,
682
- 22: l,
683
+ 22: u,
683
684
  23: d,
684
685
  24: f,
685
686
  25: 23,
@@ -713,7 +714,7 @@ var _ = (function() {
713
714
  19: 20,
714
715
  20: 21,
715
716
  21: c,
716
- 22: l,
717
+ 22: u,
717
718
  23: d,
718
719
  24: f,
719
720
  25: 23,
@@ -747,7 +748,7 @@ var _ = (function() {
747
748
  19: 20,
748
749
  20: 21,
749
750
  21: c,
750
- 22: l,
751
+ 22: u,
751
752
  23: d,
752
753
  24: f,
753
754
  25: 23,
@@ -781,7 +782,7 @@ var _ = (function() {
781
782
  19: 20,
782
783
  20: 21,
783
784
  21: c,
784
- 22: l,
785
+ 22: u,
785
786
  23: d,
786
787
  24: f,
787
788
  25: 23,
@@ -815,7 +816,7 @@ var _ = (function() {
815
816
  19: 20,
816
817
  20: 21,
817
818
  21: c,
818
- 22: l,
819
+ 22: u,
819
820
  23: d,
820
821
  24: f,
821
822
  25: 23,
@@ -849,7 +850,7 @@ var _ = (function() {
849
850
  19: 20,
850
851
  20: 21,
851
852
  21: c,
852
- 22: l,
853
+ 22: u,
853
854
  23: d,
854
855
  24: f,
855
856
  25: 23,
@@ -883,7 +884,7 @@ var _ = (function() {
883
884
  19: 20,
884
885
  20: 21,
885
886
  21: c,
886
- 22: l,
887
+ 22: u,
887
888
  23: d,
888
889
  24: f,
889
890
  25: 23,
@@ -917,7 +918,7 @@ var _ = (function() {
917
918
  19: 20,
918
919
  20: 21,
919
920
  21: c,
920
- 22: l,
921
+ 22: u,
921
922
  23: d,
922
923
  24: f,
923
924
  25: 23,
@@ -951,7 +952,7 @@ var _ = (function() {
951
952
  19: 20,
952
953
  20: 21,
953
954
  21: c,
954
- 22: l,
955
+ 22: u,
955
956
  23: d,
956
957
  24: f,
957
958
  25: 23,
@@ -1417,15 +1418,15 @@ var _ = (function() {
1417
1418
  150: [2, 89],
1418
1419
  151: [2, 90]
1419
1420
  },
1420
- parseError: /* @__PURE__ */ u(function(e, t) {
1421
+ parseError: /* @__PURE__ */ l(function(e, t) {
1421
1422
  if (t.recoverable) this.trace(e);
1422
1423
  else {
1423
1424
  var n = Error(e);
1424
1425
  throw n.hash = t, n;
1425
1426
  }
1426
1427
  }, "parseError"),
1427
- parse: /* @__PURE__ */ u(function(e) {
1428
- var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, d = 0, f = 2, p = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
1428
+ parse: /* @__PURE__ */ l(function(e) {
1429
+ var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, u = 0, d = 0, f = 2, p = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
1429
1430
  for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
1430
1431
  h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
1431
1432
  var v = h.yylloc;
@@ -1435,12 +1436,12 @@ var _ = (function() {
1435
1436
  function b(e) {
1436
1437
  n.length -= 2 * e, i.length -= e, a.length -= e;
1437
1438
  }
1438
- u(b, "popStack");
1439
+ l(b, "popStack");
1439
1440
  function x() {
1440
1441
  var e = r.pop() || h.lex() || p;
1441
1442
  return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
1442
1443
  }
1443
- u(x, "lex");
1444
+ l(x, "lex");
1444
1445
  for (var S, C, w, T, E, D = {}, O, k, ee, A;;) {
1445
1446
  if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = o[w] && o[w][S]), T === void 0 || !T.length || !T[0]) {
1446
1447
  var te = "";
@@ -1456,7 +1457,7 @@ var _ = (function() {
1456
1457
  if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
1457
1458
  switch (T[0]) {
1458
1459
  case 1:
1459
- n.push(S), i.push(h.yytext), a.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (l = h.yyleng, s = h.yytext, c = h.yylineno, v = h.yylloc, d > 0 && d--);
1460
+ n.push(S), i.push(h.yytext), a.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, s = h.yytext, c = h.yylineno, v = h.yylloc, d > 0 && d--);
1460
1461
  break;
1461
1462
  case 2:
1462
1463
  if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
@@ -1466,7 +1467,7 @@ var _ = (function() {
1466
1467
  last_column: a[a.length - 1].last_column
1467
1468
  }, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
1468
1469
  s,
1469
- l,
1470
+ u,
1470
1471
  c,
1471
1472
  g.yy,
1472
1473
  T[1],
@@ -1484,11 +1485,11 @@ var _ = (function() {
1484
1485
  le.lexer = /* @__PURE__ */ (function() {
1485
1486
  return {
1486
1487
  EOF: 1,
1487
- parseError: /* @__PURE__ */ u(function(e, t) {
1488
+ parseError: /* @__PURE__ */ l(function(e, t) {
1488
1489
  if (this.yy.parser) this.yy.parser.parseError(e, t);
1489
1490
  else throw Error(e);
1490
1491
  }, "parseError"),
1491
- setInput: /* @__PURE__ */ u(function(e, t) {
1492
+ setInput: /* @__PURE__ */ l(function(e, t) {
1492
1493
  return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1493
1494
  first_line: 1,
1494
1495
  first_column: 0,
@@ -1496,11 +1497,11 @@ var _ = (function() {
1496
1497
  last_column: 0
1497
1498
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1498
1499
  }, "setInput"),
1499
- input: /* @__PURE__ */ u(function() {
1500
+ input: /* @__PURE__ */ l(function() {
1500
1501
  var e = this._input[0];
1501
1502
  return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
1502
1503
  }, "input"),
1503
- unput: /* @__PURE__ */ u(function(e) {
1504
+ unput: /* @__PURE__ */ l(function(e) {
1504
1505
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1505
1506
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1506
1507
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -1513,10 +1514,10 @@ var _ = (function() {
1513
1514
  last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
1514
1515
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1515
1516
  }, "unput"),
1516
- more: /* @__PURE__ */ u(function() {
1517
+ more: /* @__PURE__ */ l(function() {
1517
1518
  return this._more = !0, this;
1518
1519
  }, "more"),
1519
- reject: /* @__PURE__ */ u(function() {
1520
+ reject: /* @__PURE__ */ l(function() {
1520
1521
  if (this.options.backtrack_lexer) this._backtrack = !0;
1521
1522
  else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
1522
1523
  text: "",
@@ -1525,22 +1526,22 @@ var _ = (function() {
1525
1526
  });
1526
1527
  return this;
1527
1528
  }, "reject"),
1528
- less: /* @__PURE__ */ u(function(e) {
1529
+ less: /* @__PURE__ */ l(function(e) {
1529
1530
  this.unput(this.match.slice(e));
1530
1531
  }, "less"),
1531
- pastInput: /* @__PURE__ */ u(function() {
1532
+ pastInput: /* @__PURE__ */ l(function() {
1532
1533
  var e = this.matched.substr(0, this.matched.length - this.match.length);
1533
1534
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1534
1535
  }, "pastInput"),
1535
- upcomingInput: /* @__PURE__ */ u(function() {
1536
+ upcomingInput: /* @__PURE__ */ l(function() {
1536
1537
  var e = this.match;
1537
1538
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1538
1539
  }, "upcomingInput"),
1539
- showPosition: /* @__PURE__ */ u(function() {
1540
+ showPosition: /* @__PURE__ */ l(function() {
1540
1541
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
1541
1542
  return e + this.upcomingInput() + "\n" + t + "^";
1542
1543
  }, "showPosition"),
1543
- test_match: /* @__PURE__ */ u(function(e, t) {
1544
+ test_match: /* @__PURE__ */ l(function(e, t) {
1544
1545
  var n, r, i;
1545
1546
  if (this.options.backtrack_lexer && (i = {
1546
1547
  yylineno: this.yylineno,
@@ -1573,7 +1574,7 @@ var _ = (function() {
1573
1574
  }
1574
1575
  return !1;
1575
1576
  }, "test_match"),
1576
- next: /* @__PURE__ */ u(function() {
1577
+ next: /* @__PURE__ */ l(function() {
1577
1578
  if (this.done) return this.EOF;
1578
1579
  this._input || (this.done = !0);
1579
1580
  var e, t, n, r;
@@ -1595,29 +1596,29 @@ var _ = (function() {
1595
1596
  line: this.yylineno
1596
1597
  });
1597
1598
  }, "next"),
1598
- lex: /* @__PURE__ */ u(function() {
1599
+ lex: /* @__PURE__ */ l(function() {
1599
1600
  return this.next() || this.lex();
1600
1601
  }, "lex"),
1601
- begin: /* @__PURE__ */ u(function(e) {
1602
+ begin: /* @__PURE__ */ l(function(e) {
1602
1603
  this.conditionStack.push(e);
1603
1604
  }, "begin"),
1604
- popState: /* @__PURE__ */ u(function() {
1605
+ popState: /* @__PURE__ */ l(function() {
1605
1606
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1606
1607
  }, "popState"),
1607
- _currentRules: /* @__PURE__ */ u(function() {
1608
+ _currentRules: /* @__PURE__ */ l(function() {
1608
1609
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1609
1610
  }, "_currentRules"),
1610
- topState: /* @__PURE__ */ u(function(e) {
1611
+ topState: /* @__PURE__ */ l(function(e) {
1611
1612
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1612
1613
  }, "topState"),
1613
- pushState: /* @__PURE__ */ u(function(e) {
1614
+ pushState: /* @__PURE__ */ l(function(e) {
1614
1615
  this.begin(e);
1615
1616
  }, "pushState"),
1616
- stateStackSize: /* @__PURE__ */ u(function() {
1617
+ stateStackSize: /* @__PURE__ */ l(function() {
1617
1618
  return this.conditionStack.length;
1618
1619
  }, "stateStackSize"),
1619
1620
  options: { "case-insensitive": !0 },
1620
- performAction: /* @__PURE__ */ u(function(e, t, n, r) {
1621
+ performAction: /* @__PURE__ */ l(function(e, t, n, r) {
1621
1622
  switch (n) {
1622
1623
  case 0: return "title";
1623
1624
  case 1: return this.begin("acc_title"), 9;
@@ -1916,10 +1917,10 @@ var _ = (function() {
1916
1917
  function ue() {
1917
1918
  this.yy = {};
1918
1919
  }
1919
- return u(ue, "Parser"), ue.prototype = le, le.Parser = ue, new ue();
1920
+ return l(ue, "Parser"), ue.prototype = le, le.Parser = ue, new ue();
1920
1921
  })();
1921
- _.parser = _;
1922
- var v = _, y = class {
1922
+ x.parser = x;
1923
+ var S = x, C = class {
1923
1924
  constructor() {
1924
1925
  this.relations = [], this.latestRequirement = this.getInitialRequirement(), this.requirements = /* @__PURE__ */ new Map(), this.latestElement = this.getInitialElement(), this.elements = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.direction = "TB", this.RequirementType = {
1925
1926
  REQUIREMENT: "Requirement",
@@ -1945,10 +1946,10 @@ var v = _, y = class {
1945
1946
  VERIFIES: "verifies",
1946
1947
  REFINES: "refines",
1947
1948
  TRACES: "traces"
1948
- }, this.setAccTitle = r, this.getAccTitle = l, this.setAccDescription = t, this.getAccDescription = o, this.setDiagramTitle = n, this.getDiagramTitle = s, this.getConfig = /* @__PURE__ */ u(() => c().requirement, "getConfig"), this.clear(), this.setDirection = this.setDirection.bind(this), this.addRequirement = this.addRequirement.bind(this), this.setNewReqId = this.setNewReqId.bind(this), this.setNewReqRisk = this.setNewReqRisk.bind(this), this.setNewReqText = this.setNewReqText.bind(this), this.setNewReqVerifyMethod = this.setNewReqVerifyMethod.bind(this), this.addElement = this.addElement.bind(this), this.setNewElementType = this.setNewElementType.bind(this), this.setNewElementDocRef = this.setNewElementDocRef.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setCssStyle = this.setCssStyle.bind(this), this.setClass = this.setClass.bind(this), this.defineClass = this.defineClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
1949
+ }, this.setAccTitle = n, this.getAccTitle = s, this.setAccDescription = t, this.getAccDescription = r, this.setDiagramTitle = o, this.getDiagramTitle = e, this.getConfig = /* @__PURE__ */ l(() => a().requirement, "getConfig"), this.clear(), this.setDirection = this.setDirection.bind(this), this.addRequirement = this.addRequirement.bind(this), this.setNewReqId = this.setNewReqId.bind(this), this.setNewReqRisk = this.setNewReqRisk.bind(this), this.setNewReqText = this.setNewReqText.bind(this), this.setNewReqVerifyMethod = this.setNewReqVerifyMethod.bind(this), this.addElement = this.addElement.bind(this), this.setNewElementType = this.setNewElementType.bind(this), this.setNewElementDocRef = this.setNewElementDocRef.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setCssStyle = this.setCssStyle.bind(this), this.setClass = this.setClass.bind(this), this.defineClass = this.defineClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
1949
1950
  }
1950
1951
  static {
1951
- u(this, "RequirementDB");
1952
+ l(this, "RequirementDB");
1952
1953
  }
1953
1954
  getDirection() {
1954
1955
  return this.direction;
@@ -2010,14 +2011,14 @@ var v = _, y = class {
2010
2011
  setNewReqVerifyMethod(e) {
2011
2012
  this.latestRequirement !== void 0 && (this.latestRequirement.verifyMethod = e);
2012
2013
  }
2013
- addElement(t) {
2014
- return this.elements.has(t) || (this.elements.set(t, {
2015
- name: t,
2014
+ addElement(e) {
2015
+ return this.elements.has(e) || (this.elements.set(e, {
2016
+ name: e,
2016
2017
  type: this.latestElement.type,
2017
2018
  docRef: this.latestElement.docRef,
2018
2019
  cssStyles: [],
2019
2020
  classes: ["default"]
2020
- }), e.info("Added new element: ", t)), this.resetLatestElement(), this.elements.get(t);
2021
+ }), d.info("Added new element: ", e)), this.resetLatestElement(), this.elements.get(e);
2021
2022
  }
2022
2023
  getElements() {
2023
2024
  return this.elements;
@@ -2082,7 +2083,7 @@ var v = _, y = class {
2082
2083
  return this.classes;
2083
2084
  }
2084
2085
  getData() {
2085
- let e = c(), t = [], n = [];
2086
+ let e = a(), t = [], n = [];
2086
2087
  for (let n of this.requirements.values()) {
2087
2088
  let r = n;
2088
2089
  r.id = n.name, r.cssStyles = n.cssStyles, r.cssClasses = n.classes.join(" "), r.shape = "requirementBox", r.look = e.look, r.colorIndex = t.length, t.push(r);
@@ -2119,27 +2120,30 @@ var v = _, y = class {
2119
2120
  direction: this.getDirection()
2120
2121
  };
2121
2122
  }
2122
- }, b = /* @__PURE__ */ u((e) => {
2123
- let { themeVariables: t, look: n } = a(), { bkgColorArray: r, borderColorArray: i } = t;
2124
- if (!i?.length) return "";
2125
- let o = "";
2126
- for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) o += `
2123
+ }, w = /* @__PURE__ */ l(() => {
2124
+ let e = c(), { theme: t, themeVariables: n } = e, { bkgColorArray: r, borderColorArray: i } = n;
2125
+ if (!m(t, i)) return "";
2126
+ let a = h(e.look), o = "", s = g(r);
2127
+ for (let e = 0; e < p(i); e++) {
2128
+ let t = i[e], n = s ? `fill: ${r[e % r.length]};` : "";
2129
+ o += `
2127
2130
 
2128
- [data-look="${n}"][data-color-id="color-${t}"].node path {
2129
- stroke: ${i[t]};
2130
- fill: ${r?.length ? r[t] : ""};
2131
+ [data-look="${a}"][data-color-id="color-${e}"].node path {
2132
+ stroke: ${t};
2133
+ ${n}
2131
2134
  }
2132
2135
 
2133
- [data-look="${n}"][data-color-id="color-${t}"].node rect {
2134
- stroke: ${i[t]};
2135
- fill: ${r?.length ? r[t] : ""};
2136
+ [data-look="${a}"][data-color-id="color-${e}"].node rect {
2137
+ stroke: ${t};
2138
+ ${n}
2136
2139
  }
2137
2140
  `;
2141
+ }
2138
2142
  return o;
2139
- }, "genColor"), x = /* @__PURE__ */ u((e) => {
2140
- let { look: t, themeVariables: n } = a(), { requirementEdgeLabelBackground: r } = n;
2143
+ }, "genColor"), T = /* @__PURE__ */ l((e) => {
2144
+ let { look: t, themeVariables: n } = c(), { requirementEdgeLabelBackground: r } = n;
2141
2145
  return `
2142
- ${b(e)}
2146
+ ${w()}
2143
2147
  marker {
2144
2148
  fill: ${e.relationColor};
2145
2149
  stroke: ${e.relationColor};
@@ -2206,19 +2210,19 @@ var v = _, y = class {
2206
2210
  }
2207
2211
 
2208
2212
  `;
2209
- }, "getStyles"), S = {};
2210
- d(S, { draw: () => C });
2211
- var C = /* @__PURE__ */ u(async function(t, n, r, i) {
2212
- e.info("REF0:"), e.info("Drawing requirement diagram (unified)", n);
2213
- let { securityLevel: a, state: o, layout: s, look: l } = c(), u = i.db.getData(), d = h(n, a);
2214
- u.type = i.type, u.layoutAlgorithm = m(s), u.nodeSpacing = o?.nodeSpacing ?? 50, u.rankSpacing = o?.rankSpacing ?? 50, u.markers = l === "neo" ? ["requirement_contains_neo", "requirement_arrow_neo"] : ["requirement_contains", "requirement_arrow"], u.diagramId = n, await p(u, d), f.insertTitle(d, "requirementDiagramTitleText", o?.titleTopMargin ?? 25, i.db.getDiagramTitle()), g(d, 8, "requirementDiagram", o?.useMaxWidth ?? !0);
2215
- }, "draw"), w = {
2216
- parser: v,
2213
+ }, "getStyles"), E = {};
2214
+ u(E, { draw: () => D });
2215
+ var D = /* @__PURE__ */ l(async function(e, t, n, r) {
2216
+ d.info("REF0:"), d.info("Drawing requirement diagram (unified)", t);
2217
+ let { securityLevel: i, state: o, layout: s, look: c } = a(), l = r.db.getData(), u = y(t, i);
2218
+ l.type = r.type, l.layoutAlgorithm = v(s), l.nodeSpacing = o?.nodeSpacing ?? 50, l.rankSpacing = o?.rankSpacing ?? 50, l.markers = c === "neo" ? ["requirement_contains_neo", "requirement_arrow_neo"] : ["requirement_contains", "requirement_arrow"], l.diagramId = t, await _(l, u), f.insertTitle(u, "requirementDiagramTitleText", o?.titleTopMargin ?? 25, r.db.getDiagramTitle()), b(u, 8, "requirementDiagram", o?.useMaxWidth ?? !0);
2219
+ }, "draw"), O = {
2220
+ parser: S,
2217
2221
  get db() {
2218
- return new y();
2222
+ return new C();
2219
2223
  },
2220
- renderer: S,
2221
- styles: x
2224
+ renderer: E,
2225
+ styles: T
2222
2226
  };
2223
2227
  //#endregion
2224
- export { w as diagram };
2228
+ export { O as diagram };
@@ -0,0 +1,23 @@
1
+ //#region \0rolldown/runtime.js
2
+ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, n) => {
3
+ let r = {};
4
+ for (var i in e) t(r, i, {
5
+ get: e[i],
6
+ enumerable: !0
7
+ });
8
+ return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
9
+ }, c = (e, i, o, s) => {
10
+ if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
11
+ get: ((e) => i[e]).bind(null, d),
12
+ enumerable: !(s = n(i, d)) || s.enumerable
13
+ });
14
+ return e;
15
+ }, l = (n, r, o) => (o = n == null ? {} : e(i(n)), c(r || !n || !n.__esModule || !a.call(n, "default") ? t(o, "default", {
16
+ value: n,
17
+ enumerable: !0
18
+ }) : o, n)), u = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
19
+ if (typeof require < "u") return require.apply(this, arguments);
20
+ throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
21
+ });
22
+ //#endregion
23
+ export { l as i, s as n, u as r, o as t };