@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,12 +1,13 @@
1
- import { m as e, p as t } from "./src-DQoflmwT.js";
2
- import { $ as n, J as r, a as i, b as a, et as o, nt as s, o as c, x as l } from "./chunk-DU6HZSFF-waeanndy.js";
3
- import { n as u, t as d } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
- import { t as f } from "./arc-DXfwi1YX.js";
5
- import { p } from "./chunk-75Z2AOVW-Drsj7a97.js";
6
- import { t as m } from "./chunk-CLGD4ZFX-CLGio9rD.js";
7
- //#region node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-24CTP7MA.mjs
8
- var h = (function() {
9
- var e = /* @__PURE__ */ u(function(e, t, n, r) {
1
+ import { Y as e, a as t, b as n, et as r, o as i, rt as a, tt as o, y as s } from "./chunk-DSNLSHJZ-B1A8wsiA.js";
2
+ import { n as c, t as l } from "./chunk-Y2CYZVJY-i11wjrBe.js";
3
+ import { m as u, p as d } from "./src-CY9Rz0Sf.js";
4
+ import { t as f } from "./arc-Cde31fHX.js";
5
+ import { m as p } from "./chunk-7S6XSTFO-CN6S2H1-.js";
6
+ import { t as m } from "./chunk-OYAV6JZA-Cypx4hYu.js";
7
+ import { i as h, n as g } from "./chunk-J5ZVWO5B-CYzz6Pq8.js";
8
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-JXYKGLGB.mjs
9
+ var _ = (function() {
10
+ var e = /* @__PURE__ */ c(function(e, t, n, r) {
10
11
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
11
12
  return n;
12
13
  }, "o"), t = [
@@ -20,8 +21,8 @@ var h = (function() {
20
21
  20,
21
22
  23,
22
23
  24
23
- ], n = [1, 12], r = [1, 13], i = [1, 14], a = [1, 15], o = [1, 16], s = [1, 19], c = [1, 20], l = {
24
- trace: /* @__PURE__ */ u(function() {}, "trace"),
24
+ ], n = [1, 12], r = [1, 13], i = [1, 14], a = [1, 15], o = [1, 16], s = [1, 19], l = [1, 20], u = {
25
+ trace: /* @__PURE__ */ c(function() {}, "trace"),
25
26
  yy: {},
26
27
  symbols_: {
27
28
  error: 2,
@@ -90,7 +91,7 @@ var h = (function() {
90
91
  [21, 1],
91
92
  [22, 1]
92
93
  ],
93
- performAction: /* @__PURE__ */ u(function(e, t, n, r, i, a, o) {
94
+ performAction: /* @__PURE__ */ c(function(e, t, n, r, i, a, o) {
94
95
  var s = a.length - 1;
95
96
  switch (i) {
96
97
  case 1: return a[s - 1];
@@ -160,7 +161,7 @@ var h = (function() {
160
161
  21: 17,
161
162
  22: 18,
162
163
  23: s,
163
- 24: c
164
+ 24: l
164
165
  },
165
166
  e(t, [2, 10], { 1: [2, 1] }),
166
167
  e(t, [2, 6]),
@@ -174,7 +175,7 @@ var h = (function() {
174
175
  21: 17,
175
176
  22: 18,
176
177
  23: s,
177
- 24: c
178
+ 24: l
178
179
  },
179
180
  e(t, [2, 8]),
180
181
  e(t, [2, 9]),
@@ -192,15 +193,15 @@ var h = (function() {
192
193
  e(t, [2, 13])
193
194
  ],
194
195
  defaultActions: {},
195
- parseError: /* @__PURE__ */ u(function(e, t) {
196
+ parseError: /* @__PURE__ */ c(function(e, t) {
196
197
  if (t.recoverable) this.trace(e);
197
198
  else {
198
199
  var n = Error(e);
199
200
  throw n.hash = t, n;
200
201
  }
201
202
  }, "parseError"),
202
- parse: /* @__PURE__ */ u(function(e) {
203
- 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: {} };
203
+ parse: /* @__PURE__ */ c(function(e) {
204
+ var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
204
205
  for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
205
206
  h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
206
207
  var v = h.yylloc;
@@ -210,17 +211,17 @@ var h = (function() {
210
211
  function b(e) {
211
212
  n.length -= 2 * e, i.length -= e, a.length -= e;
212
213
  }
213
- u(b, "popStack");
214
+ c(b, "popStack");
214
215
  function x() {
215
216
  var e = r.pop() || h.lex() || p;
216
217
  return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
217
218
  }
218
- u(x, "lex");
219
+ c(x, "lex");
219
220
  for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
220
221
  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]) {
221
222
  var M = "";
222
223
  for (O in j = [], o[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
223
- M = h.showPosition ? "Parse error on line " + (c + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
224
+ M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
224
225
  text: h.match,
225
226
  token: this.terminals_[S] || S,
226
227
  line: h.yylineno,
@@ -231,7 +232,7 @@ var h = (function() {
231
232
  if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
232
233
  switch (T[0]) {
233
234
  case 1:
234
- 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--);
235
+ 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, l = h.yylineno, v = h.yylloc, d > 0 && d--);
235
236
  break;
236
237
  case 2:
237
238
  if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
@@ -241,8 +242,8 @@ var h = (function() {
241
242
  last_column: a[a.length - 1].last_column
242
243
  }, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
243
244
  s,
245
+ u,
244
246
  l,
245
- c,
246
247
  g.yy,
247
248
  T[1],
248
249
  i,
@@ -256,14 +257,14 @@ var h = (function() {
256
257
  return !0;
257
258
  }, "parse")
258
259
  };
259
- l.lexer = /* @__PURE__ */ (function() {
260
+ u.lexer = /* @__PURE__ */ (function() {
260
261
  return {
261
262
  EOF: 1,
262
- parseError: /* @__PURE__ */ u(function(e, t) {
263
+ parseError: /* @__PURE__ */ c(function(e, t) {
263
264
  if (this.yy.parser) this.yy.parser.parseError(e, t);
264
265
  else throw Error(e);
265
266
  }, "parseError"),
266
- setInput: /* @__PURE__ */ u(function(e, t) {
267
+ setInput: /* @__PURE__ */ c(function(e, t) {
267
268
  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 = {
268
269
  first_line: 1,
269
270
  first_column: 0,
@@ -271,11 +272,11 @@ var h = (function() {
271
272
  last_column: 0
272
273
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
273
274
  }, "setInput"),
274
- input: /* @__PURE__ */ u(function() {
275
+ input: /* @__PURE__ */ c(function() {
275
276
  var e = this._input[0];
276
277
  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;
277
278
  }, "input"),
278
- unput: /* @__PURE__ */ u(function(e) {
279
+ unput: /* @__PURE__ */ c(function(e) {
279
280
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
280
281
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
281
282
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -288,10 +289,10 @@ var h = (function() {
288
289
  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
289
290
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
290
291
  }, "unput"),
291
- more: /* @__PURE__ */ u(function() {
292
+ more: /* @__PURE__ */ c(function() {
292
293
  return this._more = !0, this;
293
294
  }, "more"),
294
- reject: /* @__PURE__ */ u(function() {
295
+ reject: /* @__PURE__ */ c(function() {
295
296
  if (this.options.backtrack_lexer) this._backtrack = !0;
296
297
  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(), {
297
298
  text: "",
@@ -300,22 +301,22 @@ var h = (function() {
300
301
  });
301
302
  return this;
302
303
  }, "reject"),
303
- less: /* @__PURE__ */ u(function(e) {
304
+ less: /* @__PURE__ */ c(function(e) {
304
305
  this.unput(this.match.slice(e));
305
306
  }, "less"),
306
- pastInput: /* @__PURE__ */ u(function() {
307
+ pastInput: /* @__PURE__ */ c(function() {
307
308
  var e = this.matched.substr(0, this.matched.length - this.match.length);
308
309
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
309
310
  }, "pastInput"),
310
- upcomingInput: /* @__PURE__ */ u(function() {
311
+ upcomingInput: /* @__PURE__ */ c(function() {
311
312
  var e = this.match;
312
313
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
313
314
  }, "upcomingInput"),
314
- showPosition: /* @__PURE__ */ u(function() {
315
+ showPosition: /* @__PURE__ */ c(function() {
315
316
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
316
317
  return e + this.upcomingInput() + "\n" + t + "^";
317
318
  }, "showPosition"),
318
- test_match: /* @__PURE__ */ u(function(e, t) {
319
+ test_match: /* @__PURE__ */ c(function(e, t) {
319
320
  var n, r, i;
320
321
  if (this.options.backtrack_lexer && (i = {
321
322
  yylineno: this.yylineno,
@@ -348,7 +349,7 @@ var h = (function() {
348
349
  }
349
350
  return !1;
350
351
  }, "test_match"),
351
- next: /* @__PURE__ */ u(function() {
352
+ next: /* @__PURE__ */ c(function() {
352
353
  if (this.done) return this.EOF;
353
354
  this._input || (this.done = !0);
354
355
  var e, t, n, r;
@@ -370,29 +371,29 @@ var h = (function() {
370
371
  line: this.yylineno
371
372
  });
372
373
  }, "next"),
373
- lex: /* @__PURE__ */ u(function() {
374
+ lex: /* @__PURE__ */ c(function() {
374
375
  return this.next() || this.lex();
375
376
  }, "lex"),
376
- begin: /* @__PURE__ */ u(function(e) {
377
+ begin: /* @__PURE__ */ c(function(e) {
377
378
  this.conditionStack.push(e);
378
379
  }, "begin"),
379
- popState: /* @__PURE__ */ u(function() {
380
+ popState: /* @__PURE__ */ c(function() {
380
381
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
381
382
  }, "popState"),
382
- _currentRules: /* @__PURE__ */ u(function() {
383
+ _currentRules: /* @__PURE__ */ c(function() {
383
384
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
384
385
  }, "_currentRules"),
385
- topState: /* @__PURE__ */ u(function(e) {
386
+ topState: /* @__PURE__ */ c(function(e) {
386
387
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
387
388
  }, "topState"),
388
- pushState: /* @__PURE__ */ u(function(e) {
389
+ pushState: /* @__PURE__ */ c(function(e) {
389
390
  this.begin(e);
390
391
  }, "pushState"),
391
- stateStackSize: /* @__PURE__ */ u(function() {
392
+ stateStackSize: /* @__PURE__ */ c(function() {
392
393
  return this.conditionStack.length;
393
394
  }, "stateStackSize"),
394
395
  options: { "case-insensitive": !0 },
395
- performAction: /* @__PURE__ */ u(function(e, t, n, r) {
396
+ performAction: /* @__PURE__ */ c(function(e, t, n, r) {
396
397
  switch (n) {
397
398
  case 0: break;
398
399
  case 1: break;
@@ -485,124 +486,124 @@ var h = (function() {
485
486
  function d() {
486
487
  this.yy = {};
487
488
  }
488
- return u(d, "Parser"), d.prototype = l, l.Parser = d, new d();
489
+ return c(d, "Parser"), d.prototype = u, u.Parser = d, new d();
489
490
  })();
490
- h.parser = h;
491
- var g = h, _ = {};
492
- d(_, {
493
- addEvent: () => M,
494
- addSection: () => O,
495
- addTask: () => j,
496
- addTaskOrg: () => N,
497
- clear: () => T,
491
+ _.parser = _;
492
+ var v = _, y = {};
493
+ l(y, {
494
+ addEvent: () => P,
495
+ addSection: () => A,
496
+ addTask: () => N,
497
+ addTaskOrg: () => F,
498
+ clear: () => D,
498
499
  default: () => ee,
499
- getCommonDb: () => w,
500
- getDirection: () => D,
501
- getSections: () => k,
502
- getTasks: () => A,
503
- setDirection: () => E
500
+ getCommonDb: () => E,
501
+ getDirection: () => k,
502
+ getSections: () => j,
503
+ getTasks: () => M,
504
+ setDirection: () => O
504
505
  });
505
- var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ u(() => c, "getCommonDb"), T = /* @__PURE__ */ u(function() {
506
- x.length = 0, S.length = 0, v = "", C.length = 0, b = "LR", i();
507
- }, "clear"), E = /* @__PURE__ */ u(function(e) {
508
- b = e;
509
- }, "setDirection"), D = /* @__PURE__ */ u(function() {
510
- return b;
511
- }, "getDirection"), O = /* @__PURE__ */ u(function(e) {
512
- v = e, x.push(e);
513
- }, "addSection"), k = /* @__PURE__ */ u(function() {
514
- return x;
515
- }, "getSections"), A = /* @__PURE__ */ u(function() {
516
- let e = P(), t = 0;
517
- for (; !e && t < 100;) e = P(), t++;
518
- return S.push(...C), S;
519
- }, "getTasks"), j = /* @__PURE__ */ u(function(e, t, n) {
506
+ var b = "", x = 0, S = "LR", C = [], w = [], T = [], E = /* @__PURE__ */ c(() => i, "getCommonDb"), D = /* @__PURE__ */ c(function() {
507
+ C.length = 0, w.length = 0, b = "", T.length = 0, S = "LR", t();
508
+ }, "clear"), O = /* @__PURE__ */ c(function(e) {
509
+ S = e;
510
+ }, "setDirection"), k = /* @__PURE__ */ c(function() {
511
+ return S;
512
+ }, "getDirection"), A = /* @__PURE__ */ c(function(e) {
513
+ b = e, C.push(e);
514
+ }, "addSection"), j = /* @__PURE__ */ c(function() {
515
+ return C;
516
+ }, "getSections"), M = /* @__PURE__ */ c(function() {
517
+ let e = I(), t = 0;
518
+ for (; !e && t < 100;) e = I(), t++;
519
+ return w.push(...T), w;
520
+ }, "getTasks"), N = /* @__PURE__ */ c(function(e, t, n) {
520
521
  let r = {
521
- id: y++,
522
- section: v,
523
- type: v,
522
+ id: x++,
523
+ section: b,
524
+ type: b,
524
525
  task: e,
525
526
  score: t || 0,
526
527
  events: n ? [n] : []
527
528
  };
528
- C.push(r);
529
- }, "addTask"), M = /* @__PURE__ */ u(function(e) {
530
- C.find((e) => e.id === y - 1).events.push(e);
531
- }, "addEvent"), N = /* @__PURE__ */ u(function(e) {
529
+ T.push(r);
530
+ }, "addTask"), P = /* @__PURE__ */ c(function(e) {
531
+ T.find((e) => e.id === x - 1).events.push(e);
532
+ }, "addEvent"), F = /* @__PURE__ */ c(function(e) {
532
533
  let t = {
533
- section: v,
534
- type: v,
534
+ section: b,
535
+ type: b,
535
536
  description: e,
536
537
  task: e,
537
538
  classes: []
538
539
  };
539
- S.push(t);
540
- }, "addTaskOrg"), P = /* @__PURE__ */ u(function() {
541
- let e = /* @__PURE__ */ u(function(e) {
542
- return C[e].processed;
540
+ w.push(t);
541
+ }, "addTaskOrg"), I = /* @__PURE__ */ c(function() {
542
+ let e = /* @__PURE__ */ c(function(e) {
543
+ return T[e].processed;
543
544
  }, "compileTask"), t = !0;
544
- for (let [n, r] of C.entries()) e(n), t &&= r.processed;
545
+ for (let [n, r] of T.entries()) e(n), t &&= r.processed;
545
546
  return t;
546
547
  }, "compileTasks"), ee = {
547
- clear: T,
548
- getCommonDb: w,
549
- getDirection: D,
550
- setDirection: E,
551
- addSection: O,
552
- getSections: k,
553
- getTasks: A,
554
- addTask: j,
555
- addTaskOrg: N,
556
- addEvent: M
557
- }, F = 0, I = /* @__PURE__ */ u(function(e, t) {
548
+ clear: D,
549
+ getCommonDb: E,
550
+ getDirection: k,
551
+ setDirection: O,
552
+ addSection: A,
553
+ getSections: j,
554
+ getTasks: M,
555
+ addTask: N,
556
+ addTaskOrg: F,
557
+ addEvent: P
558
+ }, L = 0, R = /* @__PURE__ */ c(function(e, t) {
558
559
  let n = e.append("rect");
559
560
  return n.attr("x", t.x), n.attr("y", t.y), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("width", t.width), n.attr("height", t.height), n.attr("rx", t.rx), n.attr("ry", t.ry), t.class !== void 0 && n.attr("class", t.class), n;
560
- }, "drawRect"), te = /* @__PURE__ */ u(function(e, t) {
561
+ }, "drawRect"), te = /* @__PURE__ */ c(function(e, t) {
561
562
  let n = e.append("circle").attr("cx", t.cx).attr("cy", t.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), r = e.append("g");
562
563
  r.append("circle").attr("cx", t.cx - 5).attr("cy", t.cy - 5).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), r.append("circle").attr("cx", t.cx + 5).attr("cy", t.cy - 5).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
563
564
  function i(e) {
564
565
  let n = f().startAngle(Math.PI / 2).endAngle(Math.PI / 2 * 3).innerRadius(15 / 2).outerRadius(15 / 2.2);
565
566
  e.append("path").attr("class", "mouth").attr("d", n).attr("transform", "translate(" + t.cx + "," + (t.cy + 2) + ")");
566
567
  }
567
- u(i, "smile");
568
+ c(i, "smile");
568
569
  function a(e) {
569
570
  let n = f().startAngle(3 * Math.PI / 2).endAngle(Math.PI / 2 * 5).innerRadius(15 / 2).outerRadius(15 / 2.2);
570
571
  e.append("path").attr("class", "mouth").attr("d", n).attr("transform", "translate(" + t.cx + "," + (t.cy + 7) + ")");
571
572
  }
572
- u(a, "sad");
573
+ c(a, "sad");
573
574
  function o(e) {
574
575
  e.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", t.cx - 5).attr("y1", t.cy + 7).attr("x2", t.cx + 5).attr("y2", t.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
575
576
  }
576
- return u(o, "ambivalent"), t.score > 3 ? i(r) : t.score < 3 ? a(r) : o(r), n;
577
- }, "drawFace"), ne = /* @__PURE__ */ u(function(e, t) {
577
+ return c(o, "ambivalent"), t.score > 3 ? i(r) : t.score < 3 ? a(r) : o(r), n;
578
+ }, "drawFace"), ne = /* @__PURE__ */ c(function(e, t) {
578
579
  let n = e.append("circle");
579
580
  return n.attr("cx", t.cx), n.attr("cy", t.cy), n.attr("class", "actor-" + t.pos), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("r", t.r), n.class !== void 0 && n.attr("class", n.class), t.title !== void 0 && n.append("title").text(t.title), n;
580
- }, "drawCircle"), L = /* @__PURE__ */ u(function(e, t) {
581
+ }, "drawCircle"), z = /* @__PURE__ */ c(function(e, t) {
581
582
  let n = t.text.replace(/<br\s*\/?>/gi, " "), r = e.append("text");
582
583
  r.attr("x", t.x), r.attr("y", t.y), r.attr("class", "legend"), r.style("text-anchor", t.anchor), t.class !== void 0 && r.attr("class", t.class);
583
584
  let i = r.append("tspan");
584
585
  return i.attr("x", t.x + t.textMargin * 2), i.text(n), r;
585
- }, "drawText"), re = /* @__PURE__ */ u(function(e, t) {
586
+ }, "drawText"), re = /* @__PURE__ */ c(function(e, t) {
586
587
  function n(e, t, n, r, i) {
587
588
  return e + "," + t + " " + (e + n) + "," + t + " " + (e + n) + "," + (t + r - i) + " " + (e + n - i * 1.2) + "," + (t + r) + " " + e + "," + (t + r);
588
589
  }
589
- u(n, "genPoints");
590
+ c(n, "genPoints");
590
591
  let r = e.append("polygon");
591
- r.attr("points", n(t.x, t.y, 50, 20, 7)), r.attr("class", "labelBox"), t.y += t.labelMargin, t.x += .5 * t.labelMargin, L(e, t);
592
- }, "drawLabel"), R = /* @__PURE__ */ u(function(e, t, n) {
593
- let r = e.append("g"), i = B();
594
- i.x = t.x, i.y = t.y, i.fill = t.fill, i.width = n.width, i.height = n.height, i.class = "journey-section section-type-" + t.num, i.rx = 3, i.ry = 3, I(r, i), V(n)(t.text, r, i.x, i.y, i.width, i.height, { class: "journey-section section-type-" + t.num }, n, t.colour);
595
- }, "drawSection"), z = -1, ie = /* @__PURE__ */ u(function(e, t, n, r) {
592
+ r.attr("points", n(t.x, t.y, 50, 20, 7)), r.attr("class", "labelBox"), t.y += t.labelMargin, t.x += .5 * t.labelMargin, z(e, t);
593
+ }, "drawLabel"), ie = /* @__PURE__ */ c(function(e, t, n) {
594
+ let r = e.append("g"), i = V();
595
+ i.x = t.x, i.y = t.y, i.fill = t.fill, i.width = n.width, i.height = n.height, i.class = "journey-section section-type-" + t.num, i.rx = 3, i.ry = 3, R(r, i), H(n)(t.text, r, i.x, i.y, i.width, i.height, { class: "journey-section section-type-" + t.num }, n, t.colour);
596
+ }, "drawSection"), B = -1, ae = /* @__PURE__ */ c(function(e, t, n, r) {
596
597
  let i = t.x + n.width / 2, a = e.append("g");
597
- z++, a.append("line").attr("id", r + "-task" + z).attr("x1", i).attr("y1", t.y).attr("x2", i).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), te(a, {
598
+ B++, a.append("line").attr("id", r + "-task" + B).attr("x1", i).attr("y1", t.y).attr("x2", i).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), te(a, {
598
599
  cx: i,
599
600
  cy: 300 + (5 - t.score) * 30,
600
601
  score: t.score
601
602
  });
602
- let o = B();
603
- o.x = t.x, o.y = t.y, o.fill = t.fill, o.width = n.width, o.height = n.height, o.class = "task task-type-" + t.num, o.rx = 3, o.ry = 3, I(a, o), V(n)(t.task, a, o.x, o.y, o.width, o.height, { class: "task" }, n, t.colour);
604
- }, "drawTask"), ae = /* @__PURE__ */ u(function(e, t) {
605
- I(e, {
603
+ let o = V();
604
+ o.x = t.x, o.y = t.y, o.fill = t.fill, o.width = n.width, o.height = n.height, o.class = "task task-type-" + t.num, o.rx = 3, o.ry = 3, R(a, o), H(n)(t.task, a, o.x, o.y, o.width, o.height, { class: "task" }, n, t.colour);
605
+ }, "drawTask"), oe = /* @__PURE__ */ c(function(e, t) {
606
+ R(e, {
606
607
  x: t.startx,
607
608
  y: t.starty,
608
609
  width: t.stopx - t.startx,
@@ -610,7 +611,7 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ u(() =>
610
611
  fill: t.fill,
611
612
  class: "rect"
612
613
  }).lower();
613
- }, "drawBackgroundRect"), oe = /* @__PURE__ */ u(function() {
614
+ }, "drawBackgroundRect"), se = /* @__PURE__ */ c(function() {
614
615
  return {
615
616
  x: 0,
616
617
  y: 0,
@@ -622,7 +623,7 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ u(() =>
622
623
  rx: 0,
623
624
  ry: 0
624
625
  };
625
- }, "getTextObj"), B = /* @__PURE__ */ u(function() {
626
+ }, "getTextObj"), V = /* @__PURE__ */ c(function() {
626
627
  return {
627
628
  x: 0,
628
629
  y: 0,
@@ -632,11 +633,11 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ u(() =>
632
633
  rx: 0,
633
634
  ry: 0
634
635
  };
635
- }, "getNoteRect"), V = /* @__PURE__ */ (function() {
636
+ }, "getNoteRect"), H = /* @__PURE__ */ (function() {
636
637
  function e(e, t, n, i, a, o, s, c) {
637
638
  r(t.append("text").attr("x", n + a / 2).attr("y", i + o / 2 + 5).style("font-color", c).style("text-anchor", "middle").text(e), s);
638
639
  }
639
- u(e, "byText");
640
+ c(e, "byText");
640
641
  function t(e, t, n, i, a, o, s, c, l) {
641
642
  let { taskFontSize: u, taskFontFamily: d } = c, f = e.split(/<br\s*\/?>/gi);
642
643
  for (let e = 0; e < f.length; e++) {
@@ -644,297 +645,297 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ u(() =>
644
645
  p.append("tspan").attr("x", n + a / 2).attr("dy", c).text(f[e]), p.attr("y", i + o / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), r(p, s);
645
646
  }
646
647
  }
647
- u(t, "byTspan");
648
+ c(t, "byTspan");
648
649
  function n(e, n, i, a, o, s, c, l) {
649
650
  let u = n.append("switch"), d = u.append("foreignObject").attr("x", i).attr("y", a).attr("width", o).attr("height", s).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
650
651
  d.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(e), t(e, u, i, a, o, s, c, l), r(d, c);
651
652
  }
652
- u(n, "byFo");
653
+ c(n, "byFo");
653
654
  function r(e, t) {
654
655
  for (let n in t) n in t && e.attr(n, t[n]);
655
656
  }
656
- return u(r, "_setTextAttrs"), function(r) {
657
+ return c(r, "_setTextAttrs"), function(r) {
657
658
  return r.textPlacement === "fo" ? n : r.textPlacement === "old" ? e : t;
658
659
  };
659
- })(), se = /* @__PURE__ */ u(function(e, t) {
660
- F = 0, z = -1, e.append("defs").append("marker").attr("id", t + "-arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
660
+ })(), ce = /* @__PURE__ */ c(function(e, t) {
661
+ L = 0, B = -1, e.append("defs").append("marker").attr("id", t + "-arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
661
662
  }, "initGraphics");
662
- function H(e, n) {
663
+ function U(e, t) {
663
664
  e.each(function() {
664
- var e = t(this), r = e.text().split(/(\s+|<br>)/).reverse(), i, a = [], o = 1.1, s = e.attr("y"), c = parseFloat(e.attr("dy")), l = e.text(null).append("tspan").attr("x", 0).attr("y", s).attr("dy", c + "em");
665
- for (let t = 0; t < r.length; t++) i = r[r.length - 1 - t], a.push(i), l.text(a.join(" ").trim()), (l.node().getComputedTextLength() > n || i === "<br>") && (a.pop(), l.text(a.join(" ").trim()), a = i === "<br>" ? [""] : [i], l = e.append("tspan").attr("x", 0).attr("y", s).attr("dy", o + "em").text(i));
665
+ var e = d(this), n = e.text().split(/(\s+|<br>)/).reverse(), r, i = [], a = 1.1, o = e.attr("y"), s = parseFloat(e.attr("dy")), c = e.text(null).append("tspan").attr("x", 0).attr("y", o).attr("dy", s + "em");
666
+ for (let s = 0; s < n.length; s++) r = n[n.length - 1 - s], i.push(r), c.text(i.join(" ").trim()), (c.node().getComputedTextLength() > t || r === "<br>") && (i.pop(), c.text(i.join(" ").trim()), i = r === "<br>" ? [""] : [r], c = e.append("tspan").attr("x", 0).attr("y", o).attr("dy", a + "em").text(r));
666
667
  });
667
668
  }
668
- u(H, "wrap");
669
- var ce = /* @__PURE__ */ u(function(e, n, r, i, a, o = !1) {
670
- let { theme: s, look: c } = i, l = s?.includes("redux"), u = r % (i?.themeVariables?.THEME_COLOR_LIMIT ?? 12) - 1, d = e.append("g");
671
- n.section = u, d.attr("class", (n.class ? n.class + " " : "") + "timeline-node " + ("section-" + u));
672
- let f = d.append("g"), p = d.append("g"), m = p.append("text").text(n.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(H, n.width).node().getBBox(), h = i.fontSize?.replace ? i.fontSize.replace("px", "") : i.fontSize;
673
- if (n.height = m.height + h * 1.1 * .5 + n.padding, n.height = Math.max(n.height, n.maxHeight), n.width += 2 * n.padding, p.attr("transform", "translate(" + n.width / 2 + ", " + n.padding / 2 + ")"), l && p.attr("transform", `translate(${n.width / 2}, ${o ? n.padding / 2 + 3 : n.padding})`), ue(f, n, u, a, i), c === "neo" && (d.attr("data-look", "neo"), l)) {
674
- let n = s.includes("dark"), r = e.node()?.ownerSVGElement ?? e.node(), i = t(r), a = i.attr("id") ?? "", o = a ? `${a}-drop-shadow` : "drop-shadow";
675
- if (i.select(`#${o}`).empty()) {
676
- let e = i.select("defs");
677
- (e.empty() ? i.append("defs") : e).append("filter").attr("id", o).attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", n ? "0.2" : "0.06").attr("flood-color", n ? "#FFFFFF" : "#000000");
669
+ c(U, "wrap");
670
+ var le = /* @__PURE__ */ c(function(e, t, n, r, i, a = !1) {
671
+ let { theme: o, look: s } = r, c = o?.includes("redux"), l = n % (r?.themeVariables?.THEME_COLOR_LIMIT ?? 12) - 1, u = e.append("g");
672
+ t.section = l, u.attr("class", (t.class ? t.class + " " : "") + "timeline-node " + ("section-" + l));
673
+ let f = u.append("g"), p = u.append("g"), m = p.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(U, t.width).node().getBBox(), h = r.fontSize?.replace ? r.fontSize.replace("px", "") : r.fontSize;
674
+ if (t.height = m.height + h * 1.1 * .5 + t.padding, t.height = Math.max(t.height, t.maxHeight), t.width += 2 * t.padding, p.attr("transform", "translate(" + t.width / 2 + ", " + t.padding / 2 + ")"), c && p.attr("transform", `translate(${t.width / 2}, ${a ? t.padding / 2 + 3 : t.padding})`), de(f, t, l, i, r), s === "neo" && (u.attr("data-look", "neo"), c)) {
675
+ let t = o.includes("dark"), n = e.node()?.ownerSVGElement ?? e.node(), r = d(n), i = r.attr("id") ?? "", a = i ? `${i}-drop-shadow` : "drop-shadow";
676
+ if (r.select(`#${a}`).empty()) {
677
+ let e = r.select("defs");
678
+ (e.empty() ? r.append("defs") : e).append("filter").attr("id", a).attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", t ? "0.2" : "0.06").attr("flood-color", t ? "#FFFFFF" : "#000000");
678
679
  }
679
680
  }
680
- return n;
681
- }, "drawNode"), le = /* @__PURE__ */ u(function(e, t, n) {
682
- let r = e.append("g"), i = r.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(H, t.width).node().getBBox(), a = n.fontSize?.replace ? n.fontSize.replace("px", "") : n.fontSize;
681
+ return t;
682
+ }, "drawNode"), ue = /* @__PURE__ */ c(function(e, t, n) {
683
+ let r = e.append("g"), i = r.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(U, t.width).node().getBBox(), a = n.fontSize?.replace ? n.fontSize.replace("px", "") : n.fontSize;
683
684
  return r.remove(), i.height + a * 1.1 * .5 + t.padding;
684
- }, "getVirtualNodeHeight"), ue = /* @__PURE__ */ u(function(e, t, n, r, i) {
685
+ }, "getVirtualNodeHeight"), de = /* @__PURE__ */ c(function(e, t, n, r, i) {
685
686
  let { theme: a } = i, o = a?.includes("redux") ? 0 : 5, s = o > 0 ? `M0 ${t.height - 5} v${-t.height + 10} q0,-${o},${o},-${o} h${t.width - 10} q${o},0,${o},${o} v${t.height - 5} H0 Z` : `M0 ${t.height - 5} v${-(t.height - 5)} h${t.width} v${t.height} H0 Z`;
686
- e.append("path").attr("id", r + "-node-" + F++).attr("class", "node-bkg node-" + t.type).attr("d", s), a?.includes("redux") || e.append("line").attr("class", "node-line-" + n).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
687
- }, "defaultBkg"), U = {
688
- drawRect: I,
687
+ e.append("path").attr("id", r + "-node-" + L++).attr("class", "node-bkg node-" + t.type).attr("d", s), a?.includes("redux") || e.append("line").attr("class", "node-line-" + n).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
688
+ }, "defaultBkg"), W = {
689
+ drawRect: R,
689
690
  drawCircle: ne,
690
- drawSection: R,
691
- drawText: L,
691
+ drawSection: ie,
692
+ drawText: z,
692
693
  drawLabel: re,
693
- drawTask: ie,
694
- drawBackgroundRect: ae,
695
- getTextObj: oe,
696
- getNoteRect: B,
697
- initGraphics: se,
698
- drawNode: ce,
699
- getVirtualNodeHeight: le
700
- }, de = /* @__PURE__ */ u(function(n, i, a, o) {
701
- let s = l(), { look: c, theme: u, themeVariables: d } = s, { useGradient: f, gradientStart: p, gradientStop: m } = d, h = s.timeline?.leftMargin ?? 50;
702
- e.debug("timeline", o.db);
703
- let g = s.securityLevel, _;
704
- g === "sandbox" && (_ = t("#i" + i));
705
- let v = t(g === "sandbox" ? _.nodes()[0].contentDocument.body : "body").select("#" + i);
694
+ drawTask: ae,
695
+ drawBackgroundRect: oe,
696
+ getTextObj: se,
697
+ getNoteRect: V,
698
+ initGraphics: ce,
699
+ drawNode: le,
700
+ getVirtualNodeHeight: ue
701
+ }, fe = /* @__PURE__ */ c(function(t, r, i, a) {
702
+ let o = n(), { look: s, theme: c, themeVariables: l } = o, { useGradient: f, gradientStart: p, gradientStop: m } = l, h = o.timeline?.leftMargin ?? 50;
703
+ u.debug("timeline", a.db);
704
+ let g = o.securityLevel, _;
705
+ g === "sandbox" && (_ = d("#i" + r));
706
+ let v = d(g === "sandbox" ? _.nodes()[0].contentDocument.body : "body").select("#" + r);
706
707
  v.append("g");
707
- let y = o.db.getTasks(), b = o.db.getCommonDb().getDiagramTitle();
708
- e.debug("task", y), U.initGraphics(v, i);
709
- let x = o.db.getSections();
710
- e.debug("sections", x);
708
+ let y = a.db.getTasks(), b = a.db.getCommonDb().getDiagramTitle();
709
+ u.debug("task", y), W.initGraphics(v, r);
710
+ let x = a.db.getSections();
711
+ u.debug("sections", x);
711
712
  let S = 0, C = 0, w = 0, T = 0, E = 50 + h, D = 50;
712
713
  T = 50;
713
714
  let O = 0, k = !0;
714
- x.forEach(function(t) {
715
- let n = {
715
+ x.forEach(function(e) {
716
+ let t = {
716
717
  number: O,
717
- descr: t,
718
+ descr: e,
718
719
  section: O,
719
720
  width: 150,
720
721
  padding: 20,
721
722
  maxHeight: S
722
- }, r = U.getVirtualNodeHeight(v, n, s);
723
- e.debug("sectionHeight before draw", r), S = Math.max(S, r + 20);
723
+ }, n = W.getVirtualNodeHeight(v, t, o);
724
+ u.debug("sectionHeight before draw", n), S = Math.max(S, n + 20);
724
725
  });
725
726
  let A = 0, j = 0;
726
- e.debug("tasks.length", y.length);
727
- for (let [t, n] of y.entries()) {
728
- let r = {
729
- number: t,
730
- descr: n,
731
- section: n.section,
727
+ u.debug("tasks.length", y.length);
728
+ for (let [e, t] of y.entries()) {
729
+ let n = {
730
+ number: e,
731
+ descr: t,
732
+ section: t.section,
732
733
  width: 150,
733
734
  padding: 20,
734
735
  maxHeight: C
735
- }, i = U.getVirtualNodeHeight(v, r, s);
736
- e.debug("taskHeight before draw", i), C = Math.max(C, i + 20), A = Math.max(A, n.events.length);
737
- let a = 0;
738
- for (let e of n.events) {
739
- let t = {
736
+ }, r = W.getVirtualNodeHeight(v, n, o);
737
+ u.debug("taskHeight before draw", r), C = Math.max(C, r + 20), A = Math.max(A, t.events.length);
738
+ let i = 0;
739
+ for (let e of t.events) {
740
+ let n = {
740
741
  descr: e,
741
- section: n.section,
742
- number: n.section,
742
+ section: t.section,
743
+ number: t.section,
743
744
  width: 150,
744
745
  padding: 20,
745
746
  maxHeight: 50
746
747
  };
747
- a += U.getVirtualNodeHeight(v, t, s);
748
+ i += W.getVirtualNodeHeight(v, n, o);
748
749
  }
749
- n.events.length > 0 && (a += (n.events.length - 1) * 10), j = Math.max(j, a);
750
+ t.events.length > 0 && (i += (t.events.length - 1) * 10), j = Math.max(j, i);
750
751
  }
751
- e.debug("maxSectionHeight before draw", S), e.debug("maxTaskHeight before draw", C), x && x.length > 0 ? x.forEach((t) => {
752
- let n = y.filter((e) => e.section === t), r = {
752
+ u.debug("maxSectionHeight before draw", S), u.debug("maxTaskHeight before draw", C), x && x.length > 0 ? x.forEach((e) => {
753
+ let t = y.filter((t) => t.section === e), n = {
753
754
  number: O,
754
- descr: t,
755
+ descr: e,
755
756
  section: O,
756
- width: 200 * Math.max(n.length, 1) - 50,
757
+ width: 200 * Math.max(t.length, 1) - 50,
757
758
  padding: 20,
758
759
  maxHeight: S
759
760
  };
760
- e.debug("sectionNode", r);
761
- let a = v.append("g"), o = U.drawNode(a, r, O, s, i);
762
- e.debug("sectionNode output", o), a.attr("transform", `translate(${E}, ${T})`), D += S + 50, n.length > 0 && W(v, n, O, E, D, C, s, A, j, S, !1, i), E += 200 * Math.max(n.length, 1), D = T, O++;
763
- }) : (k = !1, W(v, y, O, E, D, C, s, A, j, S, !0, i));
761
+ u.debug("sectionNode", n);
762
+ let i = v.append("g"), a = W.drawNode(i, n, O, o, r);
763
+ u.debug("sectionNode output", a), i.attr("transform", `translate(${E}, ${T})`), D += S + 50, t.length > 0 && G(v, t, O, E, D, C, o, A, j, S, !1, r), E += 200 * Math.max(t.length, 1), D = T, O++;
764
+ }) : (k = !1, G(v, y, O, E, D, C, o, A, j, S, !0, r));
764
765
  let M = v.node().getBBox();
765
- if (e.debug("bounds", M), b && v.append("text").text(b).attr("x", c === "neo" ? M.x * 2 + h : M.width / 2 - h).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), w = k ? S + C + 150 : C + 100, v.append("g").attr("class", "lineWrapper").append("line").attr("x1", h).attr("y1", w).attr("x2", M.width + 3 * h).attr("y2", w).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", `url(#${i}-arrowhead)`), c === "neo" && f && u !== "neutral") {
766
+ if (u.debug("bounds", M), b && v.append("text").text(b).attr("x", s === "neo" ? M.x * 2 + h : M.width / 2 - h).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), w = k ? S + C + 150 : C + 100, v.append("g").attr("class", "lineWrapper").append("line").attr("x1", h).attr("y1", w).attr("x2", M.width + 3 * h).attr("y2", w).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", `url(#${r}-arrowhead)`), s === "neo" && f && c !== "neutral") {
766
767
  let e = v.select("defs"), t = (e.empty() ? v.append("defs") : e).append("linearGradient").attr("id", v.attr("id") + "-gradient").attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
767
768
  t.append("stop").attr("offset", "0%").attr("stop-color", p).attr("stop-opacity", 1), t.append("stop").attr("offset", "100%").attr("stop-color", m).attr("stop-opacity", 1);
768
769
  }
769
- r(void 0, v, s.timeline?.padding ?? 50, s.timeline?.useMaxWidth ?? !1);
770
- }, "draw"), W = /* @__PURE__ */ u(function(t, n, r, i, a, o, s, c, l, u, d, f) {
771
- for (let c of n) {
772
- let n = {
773
- descr: c.task,
774
- section: r,
775
- number: r,
770
+ e(void 0, v, o.timeline?.padding ?? 50, o.timeline?.useMaxWidth ?? !1);
771
+ }, "draw"), G = /* @__PURE__ */ c(function(e, t, n, r, i, a, o, s, c, l, d, f) {
772
+ for (let s of t) {
773
+ let t = {
774
+ descr: s.task,
775
+ section: n,
776
+ number: n,
776
777
  width: 150,
777
778
  padding: 20,
778
- maxHeight: o
779
+ maxHeight: a
779
780
  };
780
- e.debug("taskNode", n);
781
- let u = t.append("g").attr("class", "taskWrapper"), p = U.drawNode(u, n, r, s, f).height;
782
- if (e.debug("taskHeight after draw", p), u.attr("transform", `translate(${i}, ${a})`), o = Math.max(o, p), c.events) {
783
- let e = t.append("g").attr("class", "lineWrapper"), n = o;
784
- a += 100, n += fe(t, c.events, r, i, a, s, f), a -= 100, e.append("line").attr("x1", i + 95).attr("y1", a + o).attr("x2", i + 95).attr("y2", a + o + 100 + l + 100).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", `url(#${f}-arrowhead)`).attr("stroke-dasharray", "5,5");
781
+ u.debug("taskNode", t);
782
+ let l = e.append("g").attr("class", "taskWrapper"), p = W.drawNode(l, t, n, o, f).height;
783
+ if (u.debug("taskHeight after draw", p), l.attr("transform", `translate(${r}, ${i})`), a = Math.max(a, p), s.events) {
784
+ let t = e.append("g").attr("class", "lineWrapper"), l = a;
785
+ i += 100, l += pe(e, s.events, n, r, i, o, f), i -= 100, t.append("line").attr("x1", r + 95).attr("y1", i + a).attr("x2", r + 95).attr("y2", i + a + 100 + c + 100).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", `url(#${f}-arrowhead)`).attr("stroke-dasharray", "5,5");
785
786
  }
786
- i += 200, d && !s.timeline?.disableMulticolor && r++;
787
+ r += 200, d && !o.timeline?.disableMulticolor && n++;
787
788
  }
788
- a -= 10;
789
- }, "drawTasks"), fe = /* @__PURE__ */ u(function(t, n, r, i, a, o, s) {
790
- let c = 0, l = a;
791
- a += 100;
792
- for (let l of n) {
793
- let n = {
794
- descr: l,
795
- section: r,
796
- number: r,
789
+ i -= 10;
790
+ }, "drawTasks"), pe = /* @__PURE__ */ c(function(e, t, n, r, i, a, o) {
791
+ let s = 0, c = i;
792
+ i += 100;
793
+ for (let c of t) {
794
+ let t = {
795
+ descr: c,
796
+ section: n,
797
+ number: n,
797
798
  width: 150,
798
799
  padding: 20,
799
800
  maxHeight: 50
800
801
  };
801
- e.debug("eventNode", n);
802
- let u = t.append("g").attr("class", "eventWrapper"), d = U.drawNode(u, n, r, o, s, !0).height;
803
- c += d, u.attr("transform", `translate(${i}, ${a})`), a = a + 10 + d;
802
+ u.debug("eventNode", t);
803
+ let l = e.append("g").attr("class", "eventWrapper"), d = W.drawNode(l, t, n, a, o, !0).height;
804
+ s += d, l.attr("transform", `translate(${r}, ${i})`), i = i + 10 + d;
804
805
  }
805
- return a = l, c;
806
- }, "drawEvents"), pe = {
807
- setConf: /* @__PURE__ */ u(() => {}, "setConf"),
808
- draw: de
809
- }, G = 200, K = 5, me = G + K * 2, q = G + 100, he = q + K * 2, J = 10, ge = 0, Y = 20, X = 20, Z = 30, Q = 50, _e = /* @__PURE__ */ u(function(t, n, i, a) {
810
- let o = l(), s = o.timeline?.leftMargin ?? 50;
811
- e.debug("timeline", a.db);
812
- let c = m(n);
806
+ return i = c, s;
807
+ }, "drawEvents"), me = {
808
+ setConf: /* @__PURE__ */ c(() => {}, "setConf"),
809
+ draw: fe
810
+ }, K = 200, q = 5, he = K + q * 2, J = K + 100, ge = J + q * 2, Y = 10, _e = 0, X = 20, Z = 20, Q = 30, $ = 50, ve = /* @__PURE__ */ c(function(t, r, i, a) {
811
+ let o = n(), s = o.timeline?.leftMargin ?? 50;
812
+ u.debug("timeline", a.db);
813
+ let c = m(r);
813
814
  c.append("g");
814
- let u = a.db.getTasks(), d = a.db.getCommonDb().getDiagramTitle();
815
- e.debug("task", u), U.initGraphics(c);
815
+ let l = a.db.getTasks(), d = a.db.getCommonDb().getDiagramTitle();
816
+ u.debug("task", l), W.initGraphics(c);
816
817
  let f = a.db.getSections();
817
- e.debug("sections", f);
818
- let h = 0, g = 0, _ = 50 + s, v = 50, y = v, b = _, x = me + X, S = he + Q, C = b + x, w = 0, T = f && f.length > 0, E = T ? C : _ + x, D = Math.max(50, x + S - K * 2);
819
- f.forEach(function(t) {
820
- let n = {
818
+ u.debug("sections", f);
819
+ let h = 0, g = 0, _ = 50 + s, v = 50, y = v, b = _, x = he + Z, S = ge + $, C = b + x, w = 0, T = f && f.length > 0, E = T ? C : _ + x, D = Math.max(50, x + S - q * 2);
820
+ f.forEach(function(e) {
821
+ let t = {
821
822
  number: w,
822
- descr: t,
823
+ descr: e,
823
824
  section: w,
824
825
  width: D,
825
- padding: K,
826
+ padding: q,
826
827
  maxHeight: h
827
- }, r = U.getVirtualNodeHeight(c, n, o);
828
- e.debug("sectionHeight before draw", r), h = Math.max(h, r);
828
+ }, n = W.getVirtualNodeHeight(c, t, o);
829
+ u.debug("sectionHeight before draw", n), h = Math.max(h, n);
829
830
  });
830
831
  let O = 0;
831
- e.debug("tasks.length", u.length);
832
- for (let [t, n] of u.entries()) {
833
- let r = {
834
- number: t,
835
- descr: n,
836
- section: n.section,
837
- width: G,
838
- padding: K,
832
+ u.debug("tasks.length", l.length);
833
+ for (let [e, t] of l.entries()) {
834
+ let n = {
835
+ number: e,
836
+ descr: t,
837
+ section: t.section,
838
+ width: K,
839
+ padding: q,
839
840
  maxHeight: g
840
- }, i = U.getVirtualNodeHeight(c, r, o);
841
- e.debug("taskHeight before draw", i), g = Math.max(g, i);
842
- let a = 0;
843
- for (let e of n.events) {
844
- let t = {
841
+ }, r = W.getVirtualNodeHeight(c, n, o);
842
+ u.debug("taskHeight before draw", r), g = Math.max(g, r);
843
+ let i = 0;
844
+ for (let e of t.events) {
845
+ let n = {
845
846
  descr: e,
846
- section: n.section,
847
- number: n.section,
848
- width: q,
849
- padding: K,
847
+ section: t.section,
848
+ number: t.section,
849
+ width: J,
850
+ padding: q,
850
851
  maxHeight: 50
851
852
  };
852
- a += U.getVirtualNodeHeight(c, t, o);
853
+ i += W.getVirtualNodeHeight(c, n, o);
853
854
  }
854
- n.events.length > 0 && (a += (n.events.length - 1) * J), O = Math.max(O, a) + ge;
855
+ t.events.length > 0 && (i += (t.events.length - 1) * Y), O = Math.max(O, i) + _e;
855
856
  }
856
- e.debug("maxSectionHeight before draw", h), e.debug("maxTaskHeight before draw", g);
857
- let k = Math.max(g, O) + Z;
858
- T ? f.forEach((t) => {
859
- let n = u.filter((e) => e.section === t), r = {
857
+ u.debug("maxSectionHeight before draw", h), u.debug("maxTaskHeight before draw", g);
858
+ let k = Math.max(g, O) + Q;
859
+ T ? f.forEach((e) => {
860
+ let t = l.filter((t) => t.section === e), n = {
860
861
  number: w,
861
- descr: t,
862
+ descr: e,
862
863
  section: w,
863
864
  width: D,
864
- padding: K,
865
+ padding: q,
865
866
  maxHeight: h
866
867
  };
867
- e.debug("sectionNode", r);
868
- let i = c.append("g"), a = U.drawNode(i, r, w, o);
869
- e.debug("sectionNode output", a);
870
- let s = E - x;
871
- i.attr("transform", `translate(${s}, ${v})`);
872
- let l = v + a.height + Y;
873
- n.length > 0 && $(c, n, w, E, l, g, o, k, !1);
874
- let d = n.length, f = a.height + Y + k * Math.max(d, 1) - (d > 0 ? Z * 2 : 0);
868
+ u.debug("sectionNode", n);
869
+ let r = c.append("g"), i = W.drawNode(r, n, w, o);
870
+ u.debug("sectionNode output", i);
871
+ let a = E - x;
872
+ r.attr("transform", `translate(${a}, ${v})`);
873
+ let s = v + i.height + X;
874
+ t.length > 0 && ye(c, t, w, E, s, g, o, k, !1);
875
+ let d = t.length, f = i.height + X + k * Math.max(d, 1) - (d > 0 ? Q * 2 : 0);
875
876
  v += f, w++;
876
- }) : $(c, u, w, E, v, g, o, k, !0);
877
+ }) : ye(c, l, w, E, v, g, o, k, !0);
877
878
  let A = c.node()?.getBBox();
878
879
  if (!A) throw Error("bbox not found");
879
- if (e.debug("bounds", A), d) {
880
+ if (u.debug("bounds", A), d) {
880
881
  if (c.append("text").text(d).attr("x", A.width / 2 - s).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), A = c.node()?.getBBox(), !A) throw Error("bbox not found");
881
- e.debug("bounds after title", A);
882
+ u.debug("bounds after title", A);
882
883
  }
883
884
  let [j] = p(o.fontSize), M = (j ?? 16) * 2, N = (j ?? 16) * .5 + 20, P = c.append("g").attr("class", "lineWrapper");
884
- P.append("line").attr("x1", E).attr("y1", y - M).attr("x2", E).attr("y2", A.y + A.height + N).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), P.lower(), r(void 0, c, o.timeline?.padding ?? 50, o.timeline?.useMaxWidth ?? !1);
885
- }, "draw"), $ = /* @__PURE__ */ u(function(t, n, r, i, a, o, s, c, l) {
886
- for (let u of n) {
887
- let n = {
888
- descr: u.task,
889
- section: r,
890
- number: r,
891
- width: G,
892
- padding: K,
893
- maxHeight: o
885
+ P.append("line").attr("x1", E).attr("y1", y - M).attr("x2", E).attr("y2", A.y + A.height + N).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), P.lower(), e(void 0, c, o.timeline?.padding ?? 50, o.timeline?.useMaxWidth ?? !1);
886
+ }, "draw"), ye = /* @__PURE__ */ c(function(e, t, n, r, i, a, o, s, c) {
887
+ for (let l of t) {
888
+ let t = {
889
+ descr: l.task,
890
+ section: n,
891
+ number: n,
892
+ width: K,
893
+ padding: q,
894
+ maxHeight: a
894
895
  };
895
- e.debug("taskNode", n);
896
- let d = t.append("g").attr("class", "taskWrapper"), f = U.drawNode(d, n, r, s), p = f.height;
897
- e.debug("taskHeight after draw", p);
898
- let m = i - X - f.width;
899
- if (d.attr("transform", `translate(${m}, ${a})`), o = Math.max(o, p), u.events && u.events.length > 0) {
900
- let e = a, n = i + Q;
901
- ve(t, u.events, r, i, n, e, s);
896
+ u.debug("taskNode", t);
897
+ let d = e.append("g").attr("class", "taskWrapper"), f = W.drawNode(d, t, n, o), p = f.height;
898
+ u.debug("taskHeight after draw", p);
899
+ let m = r - Z - f.width;
900
+ if (d.attr("transform", `translate(${m}, ${i})`), a = Math.max(a, p), l.events && l.events.length > 0) {
901
+ let t = i, a = r + $;
902
+ be(e, l.events, n, r, a, t, o);
902
903
  }
903
- a += c, l && !s.timeline?.disableMulticolor && r++;
904
+ i += s, c && !o.timeline?.disableMulticolor && n++;
904
905
  }
905
- }, "drawTasks"), ve = /* @__PURE__ */ u(function(t, n, r, i, a, o, s) {
906
- let c = o;
907
- for (let o of n) {
908
- let n = {
909
- descr: o,
910
- section: r,
911
- number: r,
912
- width: q,
913
- padding: K,
906
+ }, "drawTasks"), be = /* @__PURE__ */ c(function(e, t, n, r, i, a, o) {
907
+ let s = a;
908
+ for (let a of t) {
909
+ let t = {
910
+ descr: a,
911
+ section: n,
912
+ number: n,
913
+ width: J,
914
+ padding: q,
914
915
  maxHeight: 0
915
916
  };
916
- e.debug("eventNode", n);
917
- let l = t.append("g").attr("class", "eventWrapper"), u = U.drawNode(l, n, r, s).height;
918
- l.attr("transform", `translate(${a}, ${c})`);
919
- let d = t.append("g").attr("class", "lineWrapper"), f = c + u / 2;
920
- d.append("line").attr("x1", i).attr("y1", f).attr("x2", a).attr("y2", f).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5"), c = c + u + J;
917
+ u.debug("eventNode", t);
918
+ let c = e.append("g").attr("class", "eventWrapper"), l = W.drawNode(c, t, n, o).height;
919
+ c.attr("transform", `translate(${i}, ${s})`);
920
+ let d = e.append("g").attr("class", "lineWrapper"), f = s + l / 2;
921
+ d.append("line").attr("x1", r).attr("y1", f).attr("x2", i).attr("y2", f).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5"), s = s + l + Y;
921
922
  }
922
- return c - o;
923
- }, "drawEvents"), ye = {
924
- setConf: /* @__PURE__ */ u(() => {}, "setConf"),
925
- draw: _e
926
- }, be = /* @__PURE__ */ u((e) => {
927
- let { theme: t } = a(), n = t?.includes("dark"), r = t?.includes("color"), i = e.svgId?.replace(/^#/, "") ?? "", o = i ? `url(#${i}-drop-shadow)` : e.dropShadow ?? "none", s = "";
928
- for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) {
929
- let i = `${17 - 3 * t}`, a = r ? e.borderColorArray[t] : e.mainBkg, c = r ? e.borderColorArray[t] : e.nodeBorder;
930
- s += `
923
+ return s - a;
924
+ }, "drawEvents"), xe = {
925
+ setConf: /* @__PURE__ */ c(() => {}, "setConf"),
926
+ draw: ve
927
+ }, Se = /* @__PURE__ */ c((e) => {
928
+ let { theme: t } = s(), n = t?.includes("dark"), r = h(t, e.borderColorArray), i = e.svgId?.replace(/^#/, "") ?? "", a = i ? `url(#${i}-drop-shadow)` : e.dropShadow ?? "none", o = "";
929
+ for (let t = 0; t < g(e.THEME_COLOR_LIMIT); t++) {
930
+ let i = `${17 - 3 * t}`, s = r ? e.borderColorArray[t % e.borderColorArray.length] : void 0, c = s ?? e.mainBkg, l = s ?? e.nodeBorder;
931
+ o += `
931
932
  .section-${t - 1} rect,
932
933
  .section-${t - 1} path,
933
934
  .section-${t - 1} circle {
934
- fill: ${n && r ? e.mainBkg : a};
935
- stroke: ${c};
935
+ fill: ${n && r ? e.mainBkg : c};
936
+ stroke: ${l};
936
937
  stroke-width: ${e.strokeWidth};
937
- filter: ${o};
938
+ filter: ${a};
938
939
  }
939
940
 
940
941
  .section-${t - 1} text {
@@ -976,36 +977,36 @@ var ce = /* @__PURE__ */ u(function(e, n, r, i, a, o = !1) {
976
977
  }
977
978
  `;
978
979
  }
979
- return s;
980
- }, "genReduxSections"), xe = /* @__PURE__ */ u((e) => {
981
- let t = "";
982
- for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) e["lineColor" + t] = e["lineColor" + t] || e["cScaleInv" + t], s(e["lineColor" + t]) ? e["lineColor" + t] = o(e["lineColor" + t], 20) : e["lineColor" + t] = n(e["lineColor" + t], 20);
983
- for (let n = 0; n < e.THEME_COLOR_LIMIT; n++) {
984
- let r = "" + (17 - 3 * n);
980
+ return o;
981
+ }, "genReduxSections"), Ce = /* @__PURE__ */ c((e) => {
982
+ let t = "", n = g(e.THEME_COLOR_LIMIT);
983
+ for (let t = 0; t < n; t++) e["lineColor" + t] = e["lineColor" + t] ?? e["cScaleInv" + t], a(e["lineColor" + t]) ? e["lineColor" + t] = o(e["lineColor" + t], 20) : e["lineColor" + t] = r(e["lineColor" + t], 20);
984
+ for (let r = 0; r < n; r++) {
985
+ let n = "" + (17 - 3 * r);
985
986
  t += `
986
- .section-${n - 1} rect, .section-${n - 1} path, .section-${n - 1} circle, .section-${n - 1} path {
987
- fill: ${e["cScale" + n]};
987
+ .section-${r - 1} rect, .section-${r - 1} path, .section-${r - 1} circle, .section-${r - 1} path {
988
+ fill: ${e["cScale" + r]};
988
989
  }
989
- .section-${n - 1} text {
990
- fill: ${e["cScaleLabel" + n]};
990
+ .section-${r - 1} text {
991
+ fill: ${e["cScaleLabel" + r]};
991
992
  }
992
- .node-icon-${n - 1} {
993
+ .node-icon-${r - 1} {
993
994
  font-size: 40px;
994
- color: ${e["cScaleLabel" + n]};
995
+ color: ${e["cScaleLabel" + r]};
995
996
  }
996
- .section-edge-${n - 1}{
997
- stroke: ${e["cScale" + n]};
997
+ .section-edge-${r - 1}{
998
+ stroke: ${e["cScale" + r]};
998
999
  }
999
- .edge-depth-${n - 1}{
1000
- stroke-width: ${r};
1000
+ .edge-depth-${r - 1}{
1001
+ stroke-width: ${n};
1001
1002
  }
1002
- .section-${n - 1} line {
1003
- stroke: ${e["cScaleInv" + n]} ;
1003
+ .section-${r - 1} line {
1004
+ stroke: ${e["cScaleInv" + r]} ;
1004
1005
  stroke-width: 3;
1005
1006
  }
1006
1007
 
1007
1008
  .lineWrapper line{
1008
- stroke: ${e["cScaleLabel" + n]} ;
1009
+ stroke: ${e["cScaleLabel" + r]} ;
1009
1010
  }
1010
1011
 
1011
1012
  .disabled, .disabled circle, .disabled text {
@@ -1017,33 +1018,36 @@ var ce = /* @__PURE__ */ u(function(e, n, r, i, a, o = !1) {
1017
1018
  `;
1018
1019
  }
1019
1020
  return t;
1020
- }, "genSections"), Se = {
1021
- db: _,
1021
+ }, "genSections"), we = {
1022
+ db: y,
1022
1023
  renderer: {
1023
- setConf: /* @__PURE__ */ u(() => {}, "setConf"),
1024
- draw: /* @__PURE__ */ u((e, t, n, r) => (r?.db?.getDirection?.() ?? "LR") === "TD" ? ye.draw(e, t, n, r) : pe.draw(e, t, n, r), "draw")
1024
+ setConf: /* @__PURE__ */ c(() => {}, "setConf"),
1025
+ draw: /* @__PURE__ */ c((e, t, n, r) => (r?.db?.getDirection?.() ?? "LR") === "TD" ? xe.draw(e, t, n, r) : me.draw(e, t, n, r), "draw")
1025
1026
  },
1026
- parser: g,
1027
- styles: /* @__PURE__ */ u((e) => {
1028
- let { theme: t } = a(), n = t?.includes("redux"), r = t === "neutral", i = e.svgId?.replace(/^#/, "") ?? "", o = "";
1029
- if (e.useGradient && i && e.THEME_COLOR_LIMIT && !r) for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) o += `
1030
- .section-${t - 1}[data-look="neo"] rect,
1031
- .section-${t - 1}[data-look="neo"] path,
1032
- .section-${t - 1}[data-look="neo"] circle {
1027
+ parser: v,
1028
+ styles: /* @__PURE__ */ c((e) => {
1029
+ let { theme: t } = s(), n = t?.includes("redux"), r = t === "neutral", i = e.svgId?.replace(/^#/, "") ?? "", a = "";
1030
+ if (e.useGradient && i && e.THEME_COLOR_LIMIT && !r) {
1031
+ let t = g(e.THEME_COLOR_LIMIT);
1032
+ for (let n = 0; n < t; n++) a += `
1033
+ .section-${n - 1}[data-look="neo"] rect,
1034
+ .section-${n - 1}[data-look="neo"] path,
1035
+ .section-${n - 1}[data-look="neo"] circle {
1033
1036
  fill: ${e.mainBkg};
1034
1037
  stroke: url(#${i}-gradient);
1035
1038
  stroke-width: 2;
1036
1039
  }
1037
- .section-${t - 1}[data-look="neo"] line {
1040
+ .section-${n - 1}[data-look="neo"] line {
1038
1041
  stroke: url(#${i}-gradient);
1039
1042
  stroke-width: 2;
1040
1043
  }`;
1044
+ }
1041
1045
  return `
1042
1046
  .edge {
1043
1047
  stroke-width: 3;
1044
1048
  }
1045
- ${n ? be(e) : xe(e)}
1046
- ${o}
1049
+ ${n ? Se(e) : Ce(e)}
1050
+ ${a}
1047
1051
  .section-root rect, .section-root path, .section-root circle {
1048
1052
  fill: ${e.git0};
1049
1053
  }
@@ -1066,4 +1070,4 @@ var ce = /* @__PURE__ */ u(function(e, n, r, i, a, o = !1) {
1066
1070
  }, "getStyles")
1067
1071
  };
1068
1072
  //#endregion
1069
- export { Se as diagram };
1073
+ export { we as diagram };