@sme.up/ketchup2 2.7.0 → 2.8.1

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 (288) hide show
  1. package/dist/abnfDiagram-VCTEODGH-DwAVRNNu.js +89 -0
  2. package/dist/{arc-CVbkjF8U.js → arc-DXfwi1YX.js} +8 -6
  3. package/dist/architecture-7GRP2DOG-BsytjMto.js +3 -0
  4. package/dist/{architectureDiagram-3BPJPVTR-B6VZAtZU.js → architectureDiagram-5GKGNRK7-N1aPr2hw.js} +636 -540
  5. package/dist/assets/svg/functions.svg +1 -0
  6. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  7. package/dist/basic-components/button-list/button-list-types.d.ts +2 -1
  8. package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
  9. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  10. package/dist/basic-components/cell/cell-types.d.ts +5 -0
  11. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  12. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  13. package/dist/basic-components/checkbox/checkbox-types.d.ts +5 -0
  14. package/dist/basic-components/checkbox/checkbox-types.d.ts.map +1 -1
  15. package/dist/basic-components/chips/chips-types.d.ts +15 -1
  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/chips-input/chips-input-types.d.ts +5 -0
  19. package/dist/basic-components/chips-input/chips-input-types.d.ts.map +1 -1
  20. package/dist/basic-components/chips-input/chips-input.d.ts.map +1 -1
  21. package/dist/basic-components/file-upload/file-upload-hook.d.ts.map +1 -1
  22. package/dist/basic-components/list/list.d.ts.map +1 -1
  23. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts +5 -0
  24. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.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-types.d.ts +5 -0
  27. package/dist/basic-components/multiple-select/multiple-select-types.d.ts.map +1 -1
  28. package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
  29. package/dist/basic-components/select/select.d.ts.map +1 -1
  30. package/dist/blockDiagram-I7D4REHJ-Cu18ws5-.js +1922 -0
  31. package/dist/{c4Diagram-AAUBKEIU-CdT8VCbo.js → c4Diagram-7LVT6UL2-B-uBy_NE.js} +899 -850
  32. package/dist/{channel-C-LAmObA.js → channel-CuEby436.js} +1 -1
  33. package/dist/chunk-2E4U76K2-ComA5SPA.js +348 -0
  34. package/dist/{chunk-QZHKN3VN-lYfzaOt9.js → chunk-2Q5K7J3B-kzxEEeTu.js} +2 -2
  35. package/dist/{chunk-3OPIFGDE-Bs2mXISw.js → chunk-4HAMMTFA-CZgIgrp_.js} +1667 -1145
  36. package/dist/{chunk-FMBD7UC4-BURT0llY.js → chunk-5VM5RSS4-Cr17nBXp.js} +2 -2
  37. package/dist/{chunk-5ZQYHXKU-B_nOC8-n.js → chunk-75Z2AOVW-Drsj7a97.js} +106 -136
  38. package/dist/chunk-CLGD4ZFX-CLGio9rD.js +14 -0
  39. package/dist/{chunk-CSCIHK7Q-BEk3YcEH.js → chunk-DU6HZSFF-waeanndy.js} +1005 -768
  40. package/dist/{chunk-ND2GUHAM-Ca12h-m9.js → chunk-F27PBJKO-jIrOJO87.js} +18 -17
  41. package/dist/{chunk-NNHCCRGN-BB1q5NkR.js → chunk-FOHPRMQF-LRqOLsSw.js} +5518 -4708
  42. package/dist/{chunk-O5CBEL6O-DbWeP4Au.js → chunk-GMAD6QVW-D80II4AD.js} +486 -520
  43. package/dist/chunk-GVQU2GXP-DP3t_9Rl.js +37 -0
  44. package/dist/{chunk-AQP2D5EJ-vJ_pitKp.js → chunk-IMKFNOWR-8ItzAAcf.js} +336 -318
  45. package/dist/{chunk-4BX2VUAB-zglw1T4d.js → chunk-JWPE2WC7-Ccb0QaC8.js} +2 -2
  46. package/dist/chunk-L3NEJ4N5-qPot4t6M.js +245 -0
  47. package/dist/chunk-LNGE3PJU-CtYcu9x8.js +1521 -0
  48. package/dist/{chunk-KSCS5N6A-BemQomLE.js → chunk-OSK3NFVY-CQhPF3Mc.js} +310 -198
  49. package/dist/chunk-P2QGCYS3-BUeNZ170.js +67 -0
  50. package/dist/chunk-POPQ4Y6H-CU9oz17Z.js +26 -0
  51. package/dist/chunk-PWAF6VOD-D37VoZ8H.js +275 -0
  52. package/dist/{flowDiagram-I6XJVG4X-DnsxKD0w.js → chunk-SHT3W25Y-Cri27Jke.js} +581 -543
  53. package/dist/chunk-SVP7TREG-CyJlOPau.js +490 -0
  54. package/dist/{chunk-727SXJPM-CDeV7mmg.js → chunk-TICWLB2K-Cw2iT_VD.js} +191 -185
  55. package/dist/{chunk-LZXEDZCA-J9irjuVP.js → chunk-TLUHSLCS-BdsLNXjt.js} +35 -25
  56. package/dist/chunk-XXDRQBXY-C1ZEFXGu.js +9 -0
  57. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  58. package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +30 -0
  59. package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +30 -0
  60. package/dist/components/activity-timeline/activity-timeline-types.d.ts +46 -0
  61. package/dist/components/activity-timeline/activity-timeline-types.d.ts.map +1 -0
  62. package/dist/components/activity-timeline/activity-timeline.d.ts +4 -0
  63. package/dist/components/activity-timeline/activity-timeline.d.ts.map +1 -0
  64. package/dist/components/app-bar/app-bar.d.ts.map +1 -1
  65. package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  66. package/dist/components/chat/chat.d.ts.map +1 -1
  67. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts +12 -0
  68. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts.map +1 -0
  69. package/dist/components/data-table/assets/data-table-row-actions.d.ts +11 -0
  70. package/dist/components/data-table/assets/data-table-row-actions.d.ts.map +1 -0
  71. package/dist/components/data-table/data-table-types.d.ts +52 -1
  72. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  73. package/dist/components/data-table/data-table.d.ts.map +1 -1
  74. package/dist/components/data-table/header/Header.d.ts.map +1 -1
  75. package/dist/components/data-table/header/header-types.d.ts +7 -1
  76. package/dist/components/data-table/header/header-types.d.ts.map +1 -1
  77. package/dist/components/echarts/echarts-graph.d.ts.map +1 -1
  78. package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
  79. package/dist/components/tab-bar/tab-bar-assets.d.ts +1 -0
  80. package/dist/components/tab-bar/tab-bar-assets.d.ts.map +1 -1
  81. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  82. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  83. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts +14 -0
  84. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -0
  85. package/dist/components/workflow-designer/workflow-designer-types.d.ts +40 -7
  86. package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -1
  87. package/dist/components/workflow-designer/workflow-designer-utils.d.ts +80 -1
  88. package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -1
  89. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts +2 -0
  90. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts.map +1 -0
  91. package/dist/components/workflow-designer/workflow-designer.d.ts +4 -3
  92. package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -1
  93. package/dist/{cose-bilkent-S5V4N54A-BhA3VnPW.js → cose-bilkent-JH36ORCC-Qs_Z6zBZ.js} +87 -83
  94. package/dist/cynefin-OW5HDTMX-BJXlKro0.js +3 -0
  95. package/dist/cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js +355 -0
  96. package/dist/{cytoscape.esm-BU21wl3m.js → cytoscape.esm-C5TvPYYm.js} +2749 -2701
  97. package/dist/{dagre-3-RnF0EK.js → dagre-D5csT9sx.js} +144 -146
  98. package/dist/dagre-GXQ25YYZ-Bg7xf6xn.js +425 -0
  99. package/dist/{defaultLocale-DnzPsei5.js → defaultLocale-N-0uLSyg.js} +1 -4
  100. package/dist/diagram-S7CK7UJ4-BuDHTdHA.js +301 -0
  101. package/dist/{diagram-2AECGRRQ-23vM90dy.js → diagram-UQ7AKVKN-uvzJGj43.js} +82 -81
  102. package/dist/{diagram-KO2AKTUF-BEnEQF6b.js → diagram-VSXAHHWV-CrQQCs-B.js} +66 -65
  103. package/dist/{diagram-OG6HWLK6-Cfbv6mIH.js → diagram-VX7I27RA-BNmG1sig.js} +92 -89
  104. package/dist/{diagram-LMA3HP47-OWxAHrmz.js → diagram-Z3DM3KII-B6BrLhP0.js} +21 -20
  105. package/dist/{dist-Btd8EZyy.js → dist-CsrMlyO_.js} +2 -3
  106. package/dist/ebnfDiagram-PWID7BFC-DMx8xAFO.js +100 -0
  107. package/dist/erDiagram-RLTQ6QDP-bkJ9nzVK.js +1966 -0
  108. package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +3 -0
  109. package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +17 -0
  110. package/dist/functional-components/multiple-field/multiple-field-types.d.ts +2 -0
  111. package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
  112. package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
  113. package/dist/functional-components/row/row-types.d.ts +5 -0
  114. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  115. package/dist/functional-components/row/row.d.ts.map +1 -1
  116. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +3 -1
  117. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  118. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  119. package/dist/functional-components/tree-picker/tree-picker-types.d.ts +42 -0
  120. package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -0
  121. package/dist/functional-components/tree-picker/tree-picker.d.ts +3 -0
  122. package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -0
  123. package/dist/{ganttDiagram-6RSMTGT7-CwbJqdwB.js → ganttDiagram-EL5Y4UJY-CL-ywzz_.js} +703 -710
  124. package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +3 -0
  125. package/dist/{gitGraphDiagram-PVQCEYII-mL2WiT98.js → gitGraphDiagram-WWUBYQGX-aXhNDG6P.js} +156 -151
  126. package/dist/{graphlib-VMWSbyYi.js → graphlib-XW-Jr8pF.js} +5 -5
  127. package/dist/index.d.ts +4 -1
  128. package/dist/index.d.ts.map +1 -1
  129. package/dist/info-A6RAGUB7-CmZJKEaW.js +3 -0
  130. package/dist/infoDiagram-27XIBGKW-Je4heBlk.js +20 -0
  131. package/dist/{init-MwSGRDIl.js → init-CsQUQz36.js} +1 -3
  132. package/dist/{ishikawaDiagram-YF4QCWOH-DGOgWzve.js → ishikawaDiagram-5VMMS53U-DK7HlH95.js} +142 -141
  133. package/dist/{journeyDiagram-JHISSGLW-CHVTMdrq.js → journeyDiagram-3NMN7TZE-CpuYEKcB.js} +192 -191
  134. package/dist/{kanban-definition-UN3LZRKU-upKA3b5x.js → kanban-definition-UXKFOSKX-aK8uKmyY.js} +149 -146
  135. package/dist/{katex-D-2KeLwt.js → katex-CT2p8LXT.js} +1627 -1650
  136. package/dist/ketchup2.css +1 -1
  137. package/dist/ketchup2.es.js +34744 -32755
  138. package/dist/{line-DIhSUgmA.js → line-DTqYMLoX.js} +2 -2
  139. package/dist/{linear-DUAteVwl.js → linear-CXc5xaa6.js} +8 -9
  140. package/dist/locale/en/translation.json.d.ts +16 -0
  141. package/dist/locale/it/translation.json.d.ts +16 -0
  142. package/dist/mermaid-parser.core-BwVmI_Rq.js +638 -0
  143. package/dist/{mindmap-definition-RKZ34NQL-C3YkCJDi.js → mindmap-definition-YA3MSWOX-ZMYcmi9J.js} +170 -170
  144. package/dist/{ordinal-D_ZgubzR.js → ordinal-BubEveRk.js} +1 -1
  145. package/dist/packet-AYTQ26CC-B3tgRshR.js +3 -0
  146. package/dist/{path-DGNPZRdx.js → path-CnWkkRiY.js} +10 -11
  147. package/dist/pegDiagram-XKGWAZYB-DsfILwZN.js +94 -0
  148. package/dist/pie-WAS4IAKB-BRiI8kbI.js +3 -0
  149. package/dist/pieDiagram-E7YTZNPT-DcSLcLdd.js +203 -0
  150. package/dist/{quadrantDiagram-W4KKPZXB-C2oA-eGZ.js → quadrantDiagram-AXDQQJYC-DSx3teop.js} +300 -300
  151. package/dist/radar-RG4KPBEZ-ASOMQXFw.js +3 -0
  152. package/dist/railroad-74A4TZTK-oS840SLr.js +3 -0
  153. package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +3 -0
  154. package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +3 -0
  155. package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +3 -0
  156. package/dist/railroadDiagram-O6MQD6OU-jOZRtNDi.js +76 -0
  157. package/dist/{requirementDiagram-4Y6WPE33-BEGryahw.js → requirementDiagram-BXWQKSXE-D14hkkez.js} +176 -173
  158. package/dist/{rough.esm-rcMoXTJj.js → rough.esm-DXYGHN3m.js} +60 -51
  159. package/dist/{sankeyDiagram-5OEKKPKP-VPzKV4zM.js → sankeyDiagram-P5KCCOFB-C0jmknYo.js} +123 -120
  160. package/dist/{sequenceDiagram-3UESZ5HK-Bc30_Cm2.js → sequenceDiagram-WJ2MYXX4-C00egnMz.js} +714 -722
  161. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  162. package/dist/{src-DjDATEq3.js → src-DQoflmwT.js} +499 -509
  163. package/dist/stateDiagram-D77RDMKH-YfzmviNY.js +220 -0
  164. package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +30 -0
  165. package/dist/swimlanes-42K2YHIH-CJcMmxXf.js +4979 -0
  166. package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +31 -0
  167. package/dist/{timeline-definition-PNZ67QCA-1z911Ume.js → timeline-definition-24CTP7MA-D2xfYuSV.js} +220 -219
  168. package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +3 -0
  169. package/dist/treemap-WGGIJYW6-Cjjk75wA.js +3 -0
  170. package/dist/types/translation.d.ts +17 -1
  171. package/dist/types/translation.d.ts.map +1 -1
  172. package/dist/utils/data-structures.d.ts +2 -1
  173. package/dist/utils/data-structures.d.ts.map +1 -1
  174. package/dist/{v4-BK7K-jy_.js → v4-DIjJgmR0.js} +1 -1
  175. package/dist/{vennDiagram-CIIHVFJN-BiLcQ0SR.js → vennDiagram-4TSXK5OY-C4XLgus_.js} +332 -310
  176. package/dist/wardley-WFR3VGLG-BamDiE0x.js +3 -0
  177. package/dist/{wardleyDiagram-YWT4CUSO-Bq-BejOl.js → wardleyDiagram-VM6X3IG4-DFoKuS9s.js} +156 -155
  178. package/dist/{xychartDiagram-2RQKCTM6-B13zquXC.js → xychartDiagram-S5SC5T6Z-BzKKgVBe.js} +740 -574
  179. package/package.json +41 -38
  180. package/dist/arc-w3BipdfE.cjs +0 -1
  181. package/dist/architecture-7EHR7CIX-Bzeobe9Y.cjs +0 -1
  182. package/dist/architecture-7EHR7CIX-C8NPmR2w.js +0 -3
  183. package/dist/architectureDiagram-3BPJPVTR-DlnXl9d5.cjs +0 -36
  184. package/dist/array-DZSRzHA_.cjs +0 -1
  185. package/dist/blockDiagram-GPEHLZMM-BohmRoCC.js +0 -3157
  186. package/dist/blockDiagram-GPEHLZMM-rfyR2Ffl.cjs +0 -132
  187. package/dist/c4Diagram-AAUBKEIU-Du1vqJYZ.cjs +0 -10
  188. package/dist/channel-DJpMBAs-.cjs +0 -1
  189. package/dist/chunk-2J33WTMH-BMqA-riF.js +0 -25
  190. package/dist/chunk-2J33WTMH-BQs9SXq8.cjs +0 -1
  191. package/dist/chunk-3OPIFGDE-Bk_ByTBh.cjs +0 -62
  192. package/dist/chunk-4BX2VUAB-C8VW0QW0.cjs +0 -1
  193. package/dist/chunk-55IACEB6-CNxnI3nm.cjs +0 -1
  194. package/dist/chunk-55IACEB6-CmKDx-YO.js +0 -8
  195. package/dist/chunk-5ZQYHXKU-DMrStm4M.cjs +0 -2
  196. package/dist/chunk-727SXJPM-Dj8nsm0O.cjs +0 -206
  197. package/dist/chunk-AQP2D5EJ-CYuEYK6i.cjs +0 -231
  198. package/dist/chunk-BSJP7CBP-CSCICPww.cjs +0 -1
  199. package/dist/chunk-BSJP7CBP-YsQACkyC.js +0 -82
  200. package/dist/chunk-CSCIHK7Q-BAdl6GW-.cjs +0 -124
  201. package/dist/chunk-FMBD7UC4-BIKI8zae.cjs +0 -15
  202. package/dist/chunk-KSCS5N6A-DsN7gJEf.cjs +0 -10
  203. package/dist/chunk-L5ZTLDWV-BQCNoMVG.js +0 -32
  204. package/dist/chunk-L5ZTLDWV-BbLRyKcx.cjs +0 -1
  205. package/dist/chunk-LZXEDZCA-rjLYyX5U.cjs +0 -1
  206. package/dist/chunk-ND2GUHAM-1o9Sjy2_.cjs +0 -1
  207. package/dist/chunk-NNHCCRGN-qV8bfiMQ.cjs +0 -159
  208. package/dist/chunk-NZK2D7GU-CPxdSJTy.js +0 -67
  209. package/dist/chunk-NZK2D7GU-CRneGIrP.cjs +0 -1
  210. package/dist/chunk-O5CBEL6O-Cd4Z5Dy9.cjs +0 -70
  211. package/dist/chunk-QZHKN3VN-ZJ4hLUIw.cjs +0 -1
  212. package/dist/chunk-WU5MYG2G-DuCEb9G-.js +0 -9
  213. package/dist/chunk-WU5MYG2G-ExiaHFbF.cjs +0 -1
  214. package/dist/chunk-XPW4576I-BybfDrup.cjs +0 -32
  215. package/dist/chunk-XPW4576I-D3DQ47oC.js +0 -1146
  216. package/dist/classDiagram-4FO5ZUOK-CRX1QumH.js +0 -29
  217. package/dist/classDiagram-4FO5ZUOK-yTAlLFG2.cjs +0 -1
  218. package/dist/classDiagram-v2-Q7XG4LA2-oM01mYfB.js +0 -29
  219. package/dist/classDiagram-v2-Q7XG4LA2-yTAlLFG2.cjs +0 -1
  220. package/dist/cose-bilkent-S5V4N54A-D7fhWOP4.cjs +0 -1
  221. package/dist/cytoscape.esm-CElDUMAx.cjs +0 -321
  222. package/dist/dagre-B2BBwKNb.cjs +0 -1
  223. package/dist/dagre-BM42HDAG-DfpR5Mml.js +0 -297
  224. package/dist/dagre-BM42HDAG-kORxgFz_.cjs +0 -4
  225. package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
  226. package/dist/diagram-2AECGRRQ-B0IEGKjr.cjs +0 -43
  227. package/dist/diagram-5GNKFQAL-BEY9x4us.js +0 -101
  228. package/dist/diagram-5GNKFQAL-vb6e35PR.cjs +0 -10
  229. package/dist/diagram-KO2AKTUF-9V_zu-2x.cjs +0 -3
  230. package/dist/diagram-LMA3HP47-BN_geiB9.cjs +0 -24
  231. package/dist/diagram-OG6HWLK6-6OnEK9-6.cjs +0 -24
  232. package/dist/dist-D8RD2QWc.cjs +0 -1
  233. package/dist/erDiagram-TEJ5UH35-6OEXIM6m.js +0 -1700
  234. package/dist/erDiagram-TEJ5UH35-CzsOt0l4.cjs +0 -85
  235. package/dist/eventmodeling-FCH6USID-Cued7Lz2.cjs +0 -1
  236. package/dist/eventmodeling-FCH6USID-mCB8hc7X.js +0 -3
  237. package/dist/flowDiagram-I6XJVG4X-DR1CMtZZ.cjs +0 -162
  238. package/dist/ganttDiagram-6RSMTGT7-C5t5_mjf.cjs +0 -292
  239. package/dist/gitGraph-WXDBUCRP-B23gOjfP.js +0 -3
  240. package/dist/gitGraph-WXDBUCRP-Bi-Y5dA7.cjs +0 -1
  241. package/dist/gitGraphDiagram-PVQCEYII-CLdgm7yJ.cjs +0 -106
  242. package/dist/graphlib-CkkG5MuS.cjs +0 -1
  243. package/dist/info-J43DQDTF-DC3N8SoX.js +0 -3
  244. package/dist/info-J43DQDTF-jRjlWVKj.cjs +0 -1
  245. package/dist/infoDiagram-5YYISTIA-BIM8xaiE.js +0 -19
  246. package/dist/infoDiagram-5YYISTIA-CbnHgs-I.cjs +0 -2
  247. package/dist/init-07zIhv_j.cjs +0 -1
  248. package/dist/ishikawaDiagram-YF4QCWOH-DAWMXD1l.cjs +0 -70
  249. package/dist/journeyDiagram-JHISSGLW-DfnmJPLn.cjs +0 -139
  250. package/dist/kanban-definition-UN3LZRKU-CbeoJJE7.cjs +0 -89
  251. package/dist/katex-CkiTumqg.cjs +0 -257
  252. package/dist/ketchup2.cjs.js +0 -485
  253. package/dist/line-CzwncDY3.cjs +0 -1
  254. package/dist/linear-1lpO_WlJ.cjs +0 -1
  255. package/dist/mermaid-parser.core-ADyJ_PY4.cjs +0 -3
  256. package/dist/mermaid-parser.core-D6xVjl2t.js +0 -373
  257. package/dist/mindmap-definition-RKZ34NQL-C8cZ7xN-.cjs +0 -96
  258. package/dist/ordinal-CUPR-p0T.cjs +0 -1
  259. package/dist/packet-YPE3B663-CGZxZ1Z0.cjs +0 -1
  260. package/dist/packet-YPE3B663-D2JW2EUF.js +0 -3
  261. package/dist/path-Kklx0M1v.cjs +0 -1
  262. package/dist/pie-LRSECV5Y-BHyd33ZA.js +0 -3
  263. package/dist/pie-LRSECV5Y-Ca_qbHEv.cjs +0 -1
  264. package/dist/pieDiagram-4H26LBE5-BvhguaHn.js +0 -165
  265. package/dist/pieDiagram-4H26LBE5-DpDrJBQK.cjs +0 -30
  266. package/dist/quadrantDiagram-W4KKPZXB-hWSN7YfD.cjs +0 -7
  267. package/dist/radar-GUYGQ44K-BpJWFTCm.js +0 -3
  268. package/dist/radar-GUYGQ44K-CYqWSxO_.cjs +0 -1
  269. package/dist/requirementDiagram-4Y6WPE33-GmjmsbiY.cjs +0 -84
  270. package/dist/rough.esm-r0QOSzHM.cjs +0 -1
  271. package/dist/sankeyDiagram-5OEKKPKP-DbGAx-Bm.cjs +0 -40
  272. package/dist/sequenceDiagram-3UESZ5HK-D85rpewi.cjs +0 -162
  273. package/dist/src-DEmZ9bFr.cjs +0 -1
  274. package/dist/stateDiagram-AJRCARHV-Bg4Y3HPa.cjs +0 -1
  275. package/dist/stateDiagram-AJRCARHV-wqjltbKb.js +0 -217
  276. package/dist/stateDiagram-v2-BHNVJYJU-Cgrf5tQC.js +0 -27
  277. package/dist/stateDiagram-v2-BHNVJYJU-D_Tzn4WM.cjs +0 -1
  278. package/dist/timeline-definition-PNZ67QCA-Dpu3hfhP.cjs +0 -120
  279. package/dist/treeView-BLDUP644-C9tQMbiq.js +0 -3
  280. package/dist/treeView-BLDUP644-DKh9BcaT.cjs +0 -1
  281. package/dist/treemap-LRROVOQU-2aferAph.cjs +0 -1
  282. package/dist/treemap-LRROVOQU-CBv3oGC3.js +0 -3
  283. package/dist/v4-Dyp-SQ1c.cjs +0 -1
  284. package/dist/vennDiagram-CIIHVFJN-BLBDqWTG.cjs +0 -34
  285. package/dist/wardley-L42UT6IY-CIM0_V5T.js +0 -3
  286. package/dist/wardley-L42UT6IY-DjjjOB8T.cjs +0 -1
  287. package/dist/wardleyDiagram-YWT4CUSO-dzyAWKiV.cjs +0 -78
  288. package/dist/xychartDiagram-2RQKCTM6-DA3O42Dk.cjs +0 -7
@@ -1,14 +1,15 @@
1
- import { h as e, p as t } from "./src-DjDATEq3.js";
2
- import { H as n, K as r, U as i, a, c as o, v as s, w as c, x as l, y as u } from "./chunk-CSCIHK7Q-BEk3YcEH.js";
3
- import { t as d } from "./arc-CVbkjF8U.js";
4
- import { t as f } from "./chunk-FMBD7UC4-BURT0llY.js";
5
- import { a as p, n as m, o as h, s as g } from "./chunk-ND2GUHAM-Ca12h-m9.js";
6
- //#region node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-JHISSGLW.mjs
1
+ import { p as e } from "./src-DQoflmwT.js";
2
+ import { H as t, K as n, U as r, a as i, c as a, v as o, w as s, x as c, y as l } from "./chunk-DU6HZSFF-waeanndy.js";
3
+ import { n as u } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
+ import { t as d } from "./arc-DXfwi1YX.js";
5
+ import { t as f } from "./chunk-5VM5RSS4-Cr17nBXp.js";
6
+ import { a as p, n as m, o as h, s as g } from "./chunk-F27PBJKO-jIrOJO87.js";
7
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-3NMN7TZE.mjs
7
8
  var _ = (function() {
8
- var t = /* @__PURE__ */ e(function(e, t, n, r) {
9
+ var e = /* @__PURE__ */ u(function(e, t, n, r) {
9
10
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
10
11
  return n;
11
- }, "o"), n = [
12
+ }, "o"), t = [
12
13
  6,
13
14
  8,
14
15
  10,
@@ -18,8 +19,8 @@ var _ = (function() {
18
19
  16,
19
20
  17,
20
21
  18
21
- ], r = [1, 9], i = [1, 10], a = [1, 11], o = [1, 12], s = [1, 13], c = [1, 14], l = {
22
- trace: /* @__PURE__ */ e(function() {}, "trace"),
22
+ ], n = [1, 9], r = [1, 10], i = [1, 11], a = [1, 12], o = [1, 13], s = [1, 14], c = {
23
+ trace: /* @__PURE__ */ u(function() {}, "trace"),
23
24
  yy: {},
24
25
  symbols_: {
25
26
  error: 2,
@@ -75,7 +76,7 @@ var _ = (function() {
75
76
  [9, 1],
76
77
  [9, 2]
77
78
  ],
78
- performAction: /* @__PURE__ */ e(function(e, t, n, r, i, a, o) {
79
+ performAction: /* @__PURE__ */ u(function(e, t, n, r, i, a, o) {
79
80
  var s = a.length - 1;
80
81
  switch (i) {
81
82
  case 1: return a[s - 1];
@@ -106,9 +107,7 @@ var _ = (function() {
106
107
  case 12:
107
108
  r.addSection(a[s].substr(8)), this.$ = a[s].substr(8);
108
109
  break;
109
- case 13:
110
- r.addTask(a[s - 1], a[s]), this.$ = "task";
111
- break;
110
+ case 13: r.addTask(a[s - 1], a[s]), this.$ = "task";
112
111
  }
113
112
  }, "anonymous"),
114
113
  table: [
@@ -117,74 +116,74 @@ var _ = (function() {
117
116
  4: [1, 2]
118
117
  },
119
118
  { 1: [3] },
120
- t(n, [2, 2], { 5: 3 }),
119
+ e(t, [2, 2], { 5: 3 }),
121
120
  {
122
121
  6: [1, 4],
123
122
  7: 5,
124
123
  8: [1, 6],
125
124
  9: 7,
126
125
  10: [1, 8],
127
- 11: r,
128
- 12: i,
129
- 14: a,
130
- 16: o,
131
- 17: s,
132
- 18: c
126
+ 11: n,
127
+ 12: r,
128
+ 14: i,
129
+ 16: a,
130
+ 17: o,
131
+ 18: s
133
132
  },
134
- t(n, [2, 7], { 1: [2, 1] }),
135
- t(n, [2, 3]),
133
+ e(t, [2, 7], { 1: [2, 1] }),
134
+ e(t, [2, 3]),
136
135
  {
137
136
  9: 15,
138
- 11: r,
139
- 12: i,
140
- 14: a,
141
- 16: o,
142
- 17: s,
143
- 18: c
137
+ 11: n,
138
+ 12: r,
139
+ 14: i,
140
+ 16: a,
141
+ 17: o,
142
+ 18: s
144
143
  },
145
- t(n, [2, 5]),
146
- t(n, [2, 6]),
147
- t(n, [2, 8]),
144
+ e(t, [2, 5]),
145
+ e(t, [2, 6]),
146
+ e(t, [2, 8]),
148
147
  { 13: [1, 16] },
149
148
  { 15: [1, 17] },
150
- t(n, [2, 11]),
151
- t(n, [2, 12]),
149
+ e(t, [2, 11]),
150
+ e(t, [2, 12]),
152
151
  { 19: [1, 18] },
153
- t(n, [2, 4]),
154
- t(n, [2, 9]),
155
- t(n, [2, 10]),
156
- t(n, [2, 13])
152
+ e(t, [2, 4]),
153
+ e(t, [2, 9]),
154
+ e(t, [2, 10]),
155
+ e(t, [2, 13])
157
156
  ],
158
157
  defaultActions: {},
159
- parseError: /* @__PURE__ */ e(function(e, t) {
158
+ parseError: /* @__PURE__ */ u(function(e, t) {
160
159
  if (t.recoverable) this.trace(e);
161
160
  else {
162
161
  var n = Error(e);
163
162
  throw n.hash = t, n;
164
163
  }
165
164
  }, "parseError"),
166
- parse: /* @__PURE__ */ e(function(t) {
167
- var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
165
+ parse: /* @__PURE__ */ u(function(e) {
166
+ 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: {} };
168
167
  for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
169
- h.setInput(t, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
168
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
170
169
  var v = h.yylloc;
171
- o.push(v);
170
+ a.push(v);
172
171
  var y = h.options && h.options.ranges;
173
- typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
172
+ this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
174
173
  function b(e) {
175
- r.length -= 2 * e, a.length -= e, o.length -= e;
174
+ n.length -= 2 * e, i.length -= e, a.length -= e;
176
175
  }
177
- e(b, "popStack");
176
+ u(b, "popStack");
178
177
  function x() {
179
- var e = i.pop() || h.lex() || p;
180
- return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
178
+ var e = r.pop() || h.lex() || p;
179
+ return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
181
180
  }
182
- e(x, "lex");
181
+ u(x, "lex");
183
182
  for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
184
- if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
183
+ 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]) {
185
184
  var M = "";
186
- for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
187
- 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, {
185
+ for (O in j = [], o[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
186
+ 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, {
188
187
  text: h.match,
189
188
  token: this.terminals_[S] || S,
190
189
  line: h.yylineno,
@@ -195,24 +194,24 @@ var _ = (function() {
195
194
  if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
196
195
  switch (T[0]) {
197
196
  case 1:
198
- r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
197
+ 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--);
199
198
  break;
200
199
  case 2:
201
- if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
202
- first_line: o[o.length - (k || 1)].first_line,
203
- last_line: o[o.length - 1].last_line,
204
- first_column: o[o.length - (k || 1)].first_column,
205
- last_column: o[o.length - 1].last_column
206
- }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
207
- c,
208
- u,
200
+ if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
201
+ first_line: a[a.length - (k || 1)].first_line,
202
+ last_line: a[a.length - 1].last_line,
203
+ first_column: a[a.length - (k || 1)].first_column,
204
+ last_column: a[a.length - 1].last_column
205
+ }, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
206
+ s,
209
207
  l,
208
+ c,
210
209
  g.yy,
211
210
  T[1],
212
- a,
213
- o
211
+ i,
212
+ a
214
213
  ].concat(m)), E !== void 0) return E;
215
- k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
214
+ k && (n = n.slice(0, -1 * k * 2), i = i.slice(0, -1 * k), a = a.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), i.push(D.$), a.push(D._$), A = o[n[n.length - 2]][n[n.length - 1]], n.push(A);
216
215
  break;
217
216
  case 3: return !0;
218
217
  }
@@ -220,14 +219,14 @@ var _ = (function() {
220
219
  return !0;
221
220
  }, "parse")
222
221
  };
223
- l.lexer = /* @__PURE__ */ (function() {
222
+ c.lexer = /* @__PURE__ */ (function() {
224
223
  return {
225
224
  EOF: 1,
226
- parseError: /* @__PURE__ */ e(function(e, t) {
225
+ parseError: /* @__PURE__ */ u(function(e, t) {
227
226
  if (this.yy.parser) this.yy.parser.parseError(e, t);
228
227
  else throw Error(e);
229
228
  }, "parseError"),
230
- setInput: /* @__PURE__ */ e(function(e, t) {
229
+ setInput: /* @__PURE__ */ u(function(e, t) {
231
230
  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 = {
232
231
  first_line: 1,
233
232
  first_column: 0,
@@ -235,11 +234,11 @@ var _ = (function() {
235
234
  last_column: 0
236
235
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
237
236
  }, "setInput"),
238
- input: /* @__PURE__ */ e(function() {
237
+ input: /* @__PURE__ */ u(function() {
239
238
  var e = this._input[0];
240
239
  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;
241
240
  }, "input"),
242
- unput: /* @__PURE__ */ e(function(e) {
241
+ unput: /* @__PURE__ */ u(function(e) {
243
242
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
244
243
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
245
244
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -252,10 +251,10 @@ var _ = (function() {
252
251
  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
253
252
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
254
253
  }, "unput"),
255
- more: /* @__PURE__ */ e(function() {
254
+ more: /* @__PURE__ */ u(function() {
256
255
  return this._more = !0, this;
257
256
  }, "more"),
258
- reject: /* @__PURE__ */ e(function() {
257
+ reject: /* @__PURE__ */ u(function() {
259
258
  if (this.options.backtrack_lexer) this._backtrack = !0;
260
259
  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(), {
261
260
  text: "",
@@ -264,22 +263,22 @@ var _ = (function() {
264
263
  });
265
264
  return this;
266
265
  }, "reject"),
267
- less: /* @__PURE__ */ e(function(e) {
266
+ less: /* @__PURE__ */ u(function(e) {
268
267
  this.unput(this.match.slice(e));
269
268
  }, "less"),
270
- pastInput: /* @__PURE__ */ e(function() {
269
+ pastInput: /* @__PURE__ */ u(function() {
271
270
  var e = this.matched.substr(0, this.matched.length - this.match.length);
272
271
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
273
272
  }, "pastInput"),
274
- upcomingInput: /* @__PURE__ */ e(function() {
273
+ upcomingInput: /* @__PURE__ */ u(function() {
275
274
  var e = this.match;
276
275
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
277
276
  }, "upcomingInput"),
278
- showPosition: /* @__PURE__ */ e(function() {
277
+ showPosition: /* @__PURE__ */ u(function() {
279
278
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
280
279
  return e + this.upcomingInput() + "\n" + t + "^";
281
280
  }, "showPosition"),
282
- test_match: /* @__PURE__ */ e(function(e, t) {
281
+ test_match: /* @__PURE__ */ u(function(e, t) {
283
282
  var n, r, i;
284
283
  if (this.options.backtrack_lexer && (i = {
285
284
  yylineno: this.yylineno,
@@ -312,7 +311,7 @@ var _ = (function() {
312
311
  }
313
312
  return !1;
314
313
  }, "test_match"),
315
- next: /* @__PURE__ */ e(function() {
314
+ next: /* @__PURE__ */ u(function() {
316
315
  if (this.done) return this.EOF;
317
316
  this._input || (this.done = !0);
318
317
  var e, t, n, r;
@@ -323,38 +322,40 @@ var _ = (function() {
323
322
  if (this._backtrack) {
324
323
  t = !1;
325
324
  continue;
326
- } else return !1;
327
- } else if (!this.options.flex) break;
325
+ }
326
+ return !1;
327
+ }
328
+ if (!this.options.flex) break;
328
329
  }
329
- return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
330
+ return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
330
331
  text: "",
331
332
  token: null,
332
333
  line: this.yylineno
333
334
  });
334
335
  }, "next"),
335
- lex: /* @__PURE__ */ e(function() {
336
+ lex: /* @__PURE__ */ u(function() {
336
337
  return this.next() || this.lex();
337
338
  }, "lex"),
338
- begin: /* @__PURE__ */ e(function(e) {
339
+ begin: /* @__PURE__ */ u(function(e) {
339
340
  this.conditionStack.push(e);
340
341
  }, "begin"),
341
- popState: /* @__PURE__ */ e(function() {
342
+ popState: /* @__PURE__ */ u(function() {
342
343
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
343
344
  }, "popState"),
344
- _currentRules: /* @__PURE__ */ e(function() {
345
+ _currentRules: /* @__PURE__ */ u(function() {
345
346
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
346
347
  }, "_currentRules"),
347
- topState: /* @__PURE__ */ e(function(e) {
348
+ topState: /* @__PURE__ */ u(function(e) {
348
349
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
349
350
  }, "topState"),
350
- pushState: /* @__PURE__ */ e(function(e) {
351
+ pushState: /* @__PURE__ */ u(function(e) {
351
352
  this.begin(e);
352
353
  }, "pushState"),
353
- stateStackSize: /* @__PURE__ */ e(function() {
354
+ stateStackSize: /* @__PURE__ */ u(function() {
354
355
  return this.conditionStack.length;
355
356
  }, "stateStackSize"),
356
357
  options: { "case-insensitive": !0 },
357
- performAction: /* @__PURE__ */ e(function(e, t, n, r) {
358
+ performAction: /* @__PURE__ */ u(function(e, t, n, r) {
358
359
  switch (n) {
359
360
  case 0: break;
360
361
  case 1: break;
@@ -441,28 +442,28 @@ var _ = (function() {
441
442
  }
442
443
  };
443
444
  })();
444
- function u() {
445
+ function l() {
445
446
  this.yy = {};
446
447
  }
447
- return e(u, "Parser"), u.prototype = l, l.Parser = u, new u();
448
+ return u(l, "Parser"), l.prototype = c, c.Parser = l, new l();
448
449
  })();
449
450
  _.parser = _;
450
- var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ e(function() {
451
- b.length = 0, x.length = 0, y = "", S.length = 0, a();
452
- }, "clear"), w = /* @__PURE__ */ e(function(e) {
451
+ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ u(function() {
452
+ b.length = 0, x.length = 0, y = "", S.length = 0, i();
453
+ }, "clear"), w = /* @__PURE__ */ u(function(e) {
453
454
  y = e, b.push(e);
454
- }, "addSection"), T = /* @__PURE__ */ e(function() {
455
+ }, "addSection"), T = /* @__PURE__ */ u(function() {
455
456
  return b;
456
- }, "getSections"), E = /* @__PURE__ */ e(function() {
457
+ }, "getSections"), E = /* @__PURE__ */ u(function() {
457
458
  let e = A(), t = 0;
458
459
  for (; !e && t < 100;) e = A(), t++;
459
460
  return x.push(...S), x;
460
- }, "getTasks"), D = /* @__PURE__ */ e(function() {
461
+ }, "getTasks"), D = /* @__PURE__ */ u(function() {
461
462
  let e = [];
462
463
  return x.forEach((t) => {
463
464
  t.people && e.push(...t.people);
464
465
  }), [...new Set(e)].sort();
465
- }, "updateActors"), O = /* @__PURE__ */ e(function(e, t) {
466
+ }, "updateActors"), O = /* @__PURE__ */ u(function(e, t) {
466
467
  let n = t.substr(1).split(":"), r = 0, i = [];
467
468
  n.length === 1 ? (r = Number(n[0]), i = []) : (r = Number(n[0]), i = n[1].split(","));
468
469
  let a = i.map((e) => e.trim()), o = {
@@ -473,7 +474,7 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ e(function() {
473
474
  score: r
474
475
  };
475
476
  S.push(o);
476
- }, "addTask"), k = /* @__PURE__ */ e(function(e) {
477
+ }, "addTask"), k = /* @__PURE__ */ u(function(e) {
477
478
  let t = {
478
479
  section: y,
479
480
  type: y,
@@ -482,30 +483,30 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ e(function() {
482
483
  classes: []
483
484
  };
484
485
  x.push(t);
485
- }, "addTaskOrg"), A = /* @__PURE__ */ e(function() {
486
- let t = /* @__PURE__ */ e(function(e) {
486
+ }, "addTaskOrg"), A = /* @__PURE__ */ u(function() {
487
+ let e = /* @__PURE__ */ u(function(e) {
487
488
  return S[e].processed;
488
- }, "compileTask"), n = !0;
489
- for (let [e, r] of S.entries()) t(e), n &&= r.processed;
490
- return n;
489
+ }, "compileTask"), t = !0;
490
+ for (let [n, r] of S.entries()) e(n), t &&= r.processed;
491
+ return t;
491
492
  }, "compileTasks"), j = {
492
- getConfig: /* @__PURE__ */ e(() => l().journey, "getConfig"),
493
+ getConfig: /* @__PURE__ */ u(() => c().journey, "getConfig"),
493
494
  clear: C,
494
- setDiagramTitle: r,
495
- getDiagramTitle: c,
496
- setAccTitle: i,
497
- getAccTitle: u,
498
- setAccDescription: n,
499
- getAccDescription: s,
495
+ setDiagramTitle: n,
496
+ getDiagramTitle: s,
497
+ setAccTitle: r,
498
+ getAccTitle: l,
499
+ setAccDescription: t,
500
+ getAccDescription: o,
500
501
  addSection: w,
501
502
  getSections: T,
502
503
  getTasks: E,
503
504
  addTask: O,
504
505
  addTaskOrg: k,
505
- getActors: /* @__PURE__ */ e(function() {
506
+ getActors: /* @__PURE__ */ u(function() {
506
507
  return D();
507
508
  }, "getActors")
508
- }, M = /* @__PURE__ */ e((e) => `.label {
509
+ }, M = /* @__PURE__ */ u((e) => `.label {
509
510
  font-family: ${e.fontFamily};
510
511
  color: ${e.textColor};
511
512
  }
@@ -555,7 +556,7 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ e(function() {
555
556
  fill: ${e.arrowheadColor};
556
557
  }
557
558
 
558
- .edgePath .path {
559
+ .edgePaths .path {
559
560
  stroke: ${e.lineColor};
560
561
  stroke-width: 1.5px;
561
562
  }
@@ -638,41 +639,41 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ e(function() {
638
639
  ${e.actor5 ? `fill: ${e.actor5}` : ""};
639
640
  }
640
641
  ${f()}
641
- `, "getStyles"), N = /* @__PURE__ */ e(function(e, t) {
642
+ `, "getStyles"), N = /* @__PURE__ */ u(function(e, t) {
642
643
  return p(e, t);
643
- }, "drawRect"), P = /* @__PURE__ */ e(function(t, n) {
644
- let r = t.append("circle").attr("cx", n.cx).attr("cy", n.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), i = t.append("g");
645
- i.append("circle").attr("cx", n.cx - 15 / 3).attr("cy", n.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), i.append("circle").attr("cx", n.cx + 15 / 3).attr("cy", n.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
644
+ }, "drawRect"), P = /* @__PURE__ */ u(function(e, t) {
645
+ 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");
646
+ 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");
647
+ function i(e) {
648
+ let n = d().startAngle(Math.PI / 2).endAngle(Math.PI / 2 * 3).innerRadius(15 / 2).outerRadius(15 / 2.2);
649
+ e.append("path").attr("class", "mouth").attr("d", n).attr("transform", "translate(" + t.cx + "," + (t.cy + 2) + ")");
650
+ }
651
+ u(i, "smile");
646
652
  function a(e) {
647
- let t = d().startAngle(Math.PI / 2).endAngle(Math.PI / 2 * 3).innerRadius(15 / 2).outerRadius(15 / 2.2);
648
- e.append("path").attr("class", "mouth").attr("d", t).attr("transform", "translate(" + n.cx + "," + (n.cy + 2) + ")");
653
+ let n = d().startAngle(3 * Math.PI / 2).endAngle(Math.PI / 2 * 5).innerRadius(15 / 2).outerRadius(15 / 2.2);
654
+ e.append("path").attr("class", "mouth").attr("d", n).attr("transform", "translate(" + t.cx + "," + (t.cy + 7) + ")");
649
655
  }
650
- e(a, "smile");
656
+ u(a, "sad");
651
657
  function o(e) {
652
- let t = d().startAngle(3 * Math.PI / 2).endAngle(Math.PI / 2 * 5).innerRadius(15 / 2).outerRadius(15 / 2.2);
653
- e.append("path").attr("class", "mouth").attr("d", t).attr("transform", "translate(" + n.cx + "," + (n.cy + 7) + ")");
654
- }
655
- e(o, "sad");
656
- function s(e) {
657
- e.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", n.cx - 5).attr("y1", n.cy + 7).attr("x2", n.cx + 5).attr("y2", n.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
658
+ 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");
658
659
  }
659
- return e(s, "ambivalent"), n.score > 3 ? a(i) : n.score < 3 ? o(i) : s(i), r;
660
- }, "drawFace"), F = /* @__PURE__ */ e(function(e, t) {
660
+ return u(o, "ambivalent"), t.score > 3 ? i(r) : t.score < 3 ? a(r) : o(r), n;
661
+ }, "drawFace"), F = /* @__PURE__ */ u(function(e, t) {
661
662
  let n = e.append("circle");
662
663
  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;
663
- }, "drawCircle"), I = /* @__PURE__ */ e(function(e, t) {
664
+ }, "drawCircle"), I = /* @__PURE__ */ u(function(e, t) {
664
665
  return h(e, t);
665
- }, "drawText"), L = /* @__PURE__ */ e(function(t, n) {
666
- function r(e, t, n, r, i) {
666
+ }, "drawText"), L = /* @__PURE__ */ u(function(e, t) {
667
+ function n(e, t, n, r, i) {
667
668
  return e + "," + t + " " + (e + n) + "," + t + " " + (e + n) + "," + (t + r - i) + " " + (e + n - i * 1.2) + "," + (t + r) + " " + e + "," + (t + r);
668
669
  }
669
- e(r, "genPoints");
670
- let i = t.append("polygon");
671
- i.attr("points", r(n.x, n.y, 50, 20, 7)), i.attr("class", "labelBox"), n.y += n.labelMargin, n.x += .5 * n.labelMargin, I(t, n);
672
- }, "drawLabel"), R = /* @__PURE__ */ e(function(e, t, n) {
670
+ u(n, "genPoints");
671
+ let r = e.append("polygon");
672
+ r.attr("points", n(t.x, t.y, 50, 20, 7)), r.attr("class", "labelBox"), t.y += t.labelMargin, t.x += .5 * t.labelMargin, I(e, t);
673
+ }, "drawLabel"), R = /* @__PURE__ */ u(function(e, t, n) {
673
674
  let r = e.append("g"), i = g();
674
675
  i.x = t.x, i.y = t.y, i.fill = t.fill, i.width = n.width * t.taskCount + n.diagramMarginX * (t.taskCount - 1), i.height = n.height, i.class = "journey-section section-type-" + t.num, i.rx = 3, i.ry = 3, N(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);
675
- }, "drawSection"), z = -1, B = /* @__PURE__ */ e(function(e, t, n, r) {
676
+ }, "drawSection"), z = -1, B = /* @__PURE__ */ u(function(e, t, n, r) {
676
677
  let i = t.x + n.width / 2, a = e.append("g");
677
678
  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"), P(a, {
678
679
  cx: i,
@@ -683,8 +684,7 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ e(function() {
683
684
  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, N(a, o);
684
685
  let s = t.x + 14;
685
686
  t.people.forEach((e) => {
686
- let n = t.actors[e].color;
687
- F(a, {
687
+ let n = t.actors[e].color, r = {
688
688
  cx: s,
689
689
  cy: t.y,
690
690
  r: 7,
@@ -692,33 +692,34 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ e(function() {
692
692
  stroke: "#000",
693
693
  title: e,
694
694
  pos: t.actors[e].position
695
- }), s += 10;
695
+ };
696
+ F(a, r), s += 10;
696
697
  }), H(n)(t.task, a, o.x, o.y, o.width, o.height, { class: "task" }, n, t.colour);
697
- }, "drawTask"), V = /* @__PURE__ */ e(function(e, t) {
698
+ }, "drawTask"), V = /* @__PURE__ */ u(function(e, t) {
698
699
  m(e, t);
699
700
  }, "drawBackgroundRect"), H = /* @__PURE__ */ (function() {
700
- function t(e, t, n, r, a, o, s, c) {
701
- i(t.append("text").attr("x", n + a / 2).attr("y", r + o / 2 + 5).style("font-color", c).style("text-anchor", "middle").text(e), s);
701
+ function e(e, t, n, i, a, o, s, c) {
702
+ 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);
702
703
  }
703
- e(t, "byText");
704
- function n(e, t, n, r, a, o, s, c, l) {
704
+ u(e, "byText");
705
+ function t(e, t, n, i, a, o, s, c, l) {
705
706
  let { taskFontSize: u, taskFontFamily: d } = c, f = e.split(/<br\s*\/?>/gi);
706
707
  for (let e = 0; e < f.length; e++) {
707
- let c = e * u - u * (f.length - 1) / 2, p = t.append("text").attr("x", n + a / 2).attr("y", r).attr("fill", l).style("text-anchor", "middle").style("font-size", u).style("font-family", d);
708
- p.append("tspan").attr("x", n + a / 2).attr("dy", c).text(f[e]), p.attr("y", r + o / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), i(p, s);
708
+ let c = e * u - u * (f.length - 1) / 2, p = t.append("text").attr("x", n + a / 2).attr("y", i).attr("fill", l).style("text-anchor", "middle").style("font-size", u).style("font-family", d);
709
+ 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);
709
710
  }
710
711
  }
711
- e(n, "byTspan");
712
- function r(e, t, r, a, o, s, c, l) {
713
- let u = t.append("switch"), d = u.append("foreignObject").attr("x", r).attr("y", a).attr("width", o).attr("height", s).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
714
- d.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(e), n(e, u, r, a, o, s, c, l), i(d, c);
712
+ u(t, "byTspan");
713
+ function n(e, n, i, a, o, s, c, l) {
714
+ 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%");
715
+ 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);
715
716
  }
716
- e(r, "byFo");
717
- function i(e, t) {
717
+ u(n, "byFo");
718
+ function r(e, t) {
718
719
  for (let n in t) n in t && e.attr(n, t[n]);
719
720
  }
720
- return e(i, "_setTextAttrs"), function(e) {
721
- return e.textPlacement === "fo" ? r : e.textPlacement === "old" ? t : n;
721
+ return u(r, "_setTextAttrs"), function(r) {
722
+ return r.textPlacement === "fo" ? n : r.textPlacement === "old" ? e : t;
722
723
  };
723
724
  })(), U = {
724
725
  drawRect: N,
@@ -728,16 +729,16 @@ var v = _, y = "", b = [], x = [], S = [], C = /* @__PURE__ */ e(function() {
728
729
  drawLabel: L,
729
730
  drawTask: B,
730
731
  drawBackgroundRect: V,
731
- initGraphics: /* @__PURE__ */ e(function(e, t) {
732
+ initGraphics: /* @__PURE__ */ u(function(e, t) {
732
733
  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");
733
734
  }, "initGraphics")
734
- }, W = /* @__PURE__ */ e(function(e) {
735
+ }, W = /* @__PURE__ */ u(function(e) {
735
736
  Object.keys(e).forEach(function(t) {
736
737
  J[t] = e[t];
737
738
  });
738
739
  }, "setConf"), G = {}, K = 0;
739
740
  function q(e) {
740
- let t = l().journey, n = t.maxLabelWidth;
741
+ let t = c().journey, n = t.maxLabelWidth;
741
742
  K = 0;
742
743
  let r = 60;
743
744
  Object.keys(G).forEach((i) => {
@@ -779,11 +780,11 @@ function q(e) {
779
780
  }), r += Math.max(20, l.length * 20);
780
781
  });
781
782
  }
782
- e(q, "drawActorLegend");
783
- var J = l().journey, Y = 0, ee = /* @__PURE__ */ e(function(e, n, r, i) {
784
- let a = l(), s = a.journey.titleColor, c = a.journey.titleFontSize, u = a.journey.titleFontFamily, d = a.securityLevel, f;
785
- d === "sandbox" && (f = t("#i" + n));
786
- let p = t(d === "sandbox" ? f.nodes()[0].contentDocument.body : "body");
783
+ u(q, "drawActorLegend");
784
+ var J = c().journey, Y = 0, ee = /* @__PURE__ */ u(function(t, n, r, i) {
785
+ let o = c(), s = o.journey.titleColor, l = o.journey.titleFontSize, u = o.journey.titleFontFamily, d = o.securityLevel, f;
786
+ d === "sandbox" && (f = e("#i" + n));
787
+ let p = e(d === "sandbox" ? f.nodes()[0].contentDocument.body : "body");
787
788
  X.init();
788
789
  let m = p.select("#" + n);
789
790
  U.initGraphics(m, n);
@@ -797,9 +798,9 @@ var J = l().journey, Y = 0, ee = /* @__PURE__ */ e(function(e, n, r, i) {
797
798
  }, v++;
798
799
  }), q(m), Y = J.leftMargin + K, X.insert(0, 0, Y, Object.keys(G).length * 50), te(m, h, 0, n);
799
800
  let y = X.getBounds();
800
- g && m.append("text").text(g).attr("x", Y).attr("font-size", c).attr("font-weight", "bold").attr("y", 25).attr("fill", s).attr("font-family", u);
801
+ g && m.append("text").text(g).attr("x", Y).attr("font-size", l).attr("font-weight", "bold").attr("y", 25).attr("fill", s).attr("font-family", u);
801
802
  let b = y.stopy - y.starty + 2 * J.diagramMarginY, x = Y + y.stopx + 2 * J.diagramMarginX;
802
- o(m, b, x, J.useMaxWidth), m.append("line").attr("x1", Y).attr("y1", J.height * 4).attr("x2", x - Y - 4).attr("y2", J.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#" + n + "-arrowhead)");
803
+ a(m, b, x, J.useMaxWidth), m.append("line").attr("x1", Y).attr("y1", J.height * 4).attr("x2", x - Y - 4).attr("y2", J.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#" + n + "-arrowhead)");
803
804
  let S = g ? 70 : 0;
804
805
  m.attr("viewBox", `${y.startx} -25 ${x} ${b + S}`), m.attr("preserveAspectRatio", "xMinYMin meet"), m.attr("height", b + S + 25);
805
806
  }, "draw"), X = {
@@ -811,7 +812,7 @@ var J = l().journey, Y = 0, ee = /* @__PURE__ */ e(function(e, n, r, i) {
811
812
  },
812
813
  verticalPos: 0,
813
814
  sequenceItems: [],
814
- init: /* @__PURE__ */ e(function() {
815
+ init: /* @__PURE__ */ u(function() {
815
816
  this.sequenceItems = [], this.data = {
816
817
  startx: void 0,
817
818
  stopx: void 0,
@@ -819,53 +820,53 @@ var J = l().journey, Y = 0, ee = /* @__PURE__ */ e(function(e, n, r, i) {
819
820
  stopy: void 0
820
821
  }, this.verticalPos = 0;
821
822
  }, "init"),
822
- updateVal: /* @__PURE__ */ e(function(e, t, n, r) {
823
- e[t] === void 0 ? e[t] = n : e[t] = r(n, e[t]);
823
+ updateVal: /* @__PURE__ */ u(function(e, t, n, r) {
824
+ e[t] = e[t] === void 0 ? n : r(n, e[t]);
824
825
  }, "updateVal"),
825
- updateBounds: /* @__PURE__ */ e(function(t, n, r, i) {
826
- let a = l().journey, o = this, s = 0;
827
- function c(c) {
828
- return /* @__PURE__ */ e(function(e) {
829
- s++;
830
- let l = o.sequenceItems.length - s + 1;
831
- o.updateVal(e, "starty", n - l * a.boxMargin, Math.min), o.updateVal(e, "stopy", i + l * a.boxMargin, Math.max), o.updateVal(X.data, "startx", t - l * a.boxMargin, Math.min), o.updateVal(X.data, "stopx", r + l * a.boxMargin, Math.max), c !== "activation" && (o.updateVal(e, "startx", t - l * a.boxMargin, Math.min), o.updateVal(e, "stopx", r + l * a.boxMargin, Math.max), o.updateVal(X.data, "starty", n - l * a.boxMargin, Math.min), o.updateVal(X.data, "stopy", i + l * a.boxMargin, Math.max));
826
+ updateBounds: /* @__PURE__ */ u(function(e, t, n, r) {
827
+ let i = c().journey, a = this, o = 0;
828
+ function s(s) {
829
+ return /* @__PURE__ */ u(function(c) {
830
+ o++;
831
+ let l = a.sequenceItems.length - o + 1;
832
+ a.updateVal(c, "starty", t - l * i.boxMargin, Math.min), a.updateVal(c, "stopy", r + l * i.boxMargin, Math.max), a.updateVal(X.data, "startx", e - l * i.boxMargin, Math.min), a.updateVal(X.data, "stopx", n + l * i.boxMargin, Math.max), s !== "activation" && (a.updateVal(c, "startx", e - l * i.boxMargin, Math.min), a.updateVal(c, "stopx", n + l * i.boxMargin, Math.max), a.updateVal(X.data, "starty", t - l * i.boxMargin, Math.min), a.updateVal(X.data, "stopy", r + l * i.boxMargin, Math.max));
832
833
  }, "updateItemBounds");
833
834
  }
834
- e(c, "updateFn"), this.sequenceItems.forEach(c());
835
+ u(s, "updateFn"), this.sequenceItems.forEach(s());
835
836
  }, "updateBounds"),
836
- insert: /* @__PURE__ */ e(function(e, t, n, r) {
837
+ insert: /* @__PURE__ */ u(function(e, t, n, r) {
837
838
  let i = Math.min(e, n), a = Math.max(e, n), o = Math.min(t, r), s = Math.max(t, r);
838
839
  this.updateVal(X.data, "startx", i, Math.min), this.updateVal(X.data, "starty", o, Math.min), this.updateVal(X.data, "stopx", a, Math.max), this.updateVal(X.data, "stopy", s, Math.max), this.updateBounds(i, o, a, s);
839
840
  }, "insert"),
840
- bumpVerticalPos: /* @__PURE__ */ e(function(e) {
841
+ bumpVerticalPos: /* @__PURE__ */ u(function(e) {
841
842
  this.verticalPos += e, this.data.stopy = this.verticalPos;
842
843
  }, "bumpVerticalPos"),
843
- getVerticalPos: /* @__PURE__ */ e(function() {
844
+ getVerticalPos: /* @__PURE__ */ u(function() {
844
845
  return this.verticalPos;
845
846
  }, "getVerticalPos"),
846
- getBounds: /* @__PURE__ */ e(function() {
847
+ getBounds: /* @__PURE__ */ u(function() {
847
848
  return this.data;
848
849
  }, "getBounds")
849
- }, Z = J.sectionFills, Q = J.sectionColours, te = /* @__PURE__ */ e(function(e, t, n, r) {
850
- let i = l().journey, a = "", o = n + (i.height * 2 + i.diagramMarginY), s = 0, c = "#CCC", u = "black", d = 0;
851
- for (let [n, l] of t.entries()) {
852
- if (a !== l.section) {
853
- c = Z[s % Z.length], d = s % Z.length, u = Q[s % Q.length];
854
- let r = 0, o = l.section;
850
+ }, Z = J.sectionFills, Q = J.sectionColours, te = /* @__PURE__ */ u(function(e, t, n, r) {
851
+ let i = c().journey, a = "", o = n + (i.height * 2 + i.diagramMarginY), s = 0, l = "#CCC", u = "black", d = 0;
852
+ for (let [n, c] of t.entries()) {
853
+ if (a !== c.section) {
854
+ l = Z[s % Z.length], d = s % Z.length, u = Q[s % Q.length];
855
+ let r = 0, o = c.section;
855
856
  for (let e = n; e < t.length && t[e].section == o; e++) r += 1;
856
857
  let f = {
857
858
  x: n * i.taskMargin + n * i.width + Y,
858
859
  y: 50,
859
- text: l.section,
860
- fill: c,
860
+ text: c.section,
861
+ fill: l,
861
862
  num: d,
862
863
  colour: u,
863
864
  taskCount: r
864
865
  };
865
- U.drawSection(e, f, i), a = l.section, s++;
866
+ U.drawSection(e, f, i), a = c.section, s++;
866
867
  }
867
- let f = l.people.reduce((e, t) => (G[t] && (e[t] = G[t]), e), {});
868
- l.x = n * i.taskMargin + n * i.width + Y, l.y = o, l.width = i.diagramMarginX, l.height = i.diagramMarginY, l.colour = u, l.fill = c, l.num = d, l.actors = f, U.drawTask(e, l, i, r), X.insert(l.x, l.y, l.x + l.width + i.taskMargin, 450);
868
+ let f = c.people.reduce((e, t) => (G[t] && (e[t] = G[t]), e), {});
869
+ c.x = n * i.taskMargin + n * i.width + Y, c.y = o, c.width = i.diagramMarginX, c.height = i.diagramMarginY, c.colour = u, c.fill = l, c.num = d, c.actors = f, U.drawTask(e, c, i, r), X.insert(c.x, c.y, c.x + c.width + i.taskMargin, 450);
869
870
  }
870
871
  }, "drawTasks"), $ = {
871
872
  setConf: W,
@@ -875,7 +876,7 @@ var J = l().journey, Y = 0, ee = /* @__PURE__ */ e(function(e, n, r, i) {
875
876
  db: j,
876
877
  renderer: $,
877
878
  styles: M,
878
- init: /* @__PURE__ */ e((e) => {
879
+ init: /* @__PURE__ */ u((e) => {
879
880
  $.setConf(e.journey), j.clear();
880
881
  }, "init")
881
882
  };