mio-previewer 0.2.74 → 0.2.76

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 (280) hide show
  1. package/dist/_basePickBy-CXmXW7jd.js +166 -0
  2. package/dist/_basePickBy-CtuVwROD.cjs +1 -0
  3. package/dist/_baseUniq-CGoiOkSa.js +682 -0
  4. package/dist/_baseUniq-CYtOXxfV.cjs +1 -0
  5. package/dist/_createAssigner-DqH64jc7.cjs +1 -0
  6. package/dist/_createAssigner-IEX8lwxm.js +573 -0
  7. package/dist/arc-C78br9Yj.cjs +1 -0
  8. package/dist/arc-vLgDTVZZ.js +80 -0
  9. package/dist/architecture-O4VJ6CD3-B9qzjtV8.cjs +1 -0
  10. package/dist/architecture-O4VJ6CD3-wqAP4onK.js +2 -0
  11. package/dist/architectureDiagram-VXUJARFQ-CYbuyVAs.js +4039 -0
  12. package/dist/architectureDiagram-VXUJARFQ-DEGYSl1f.cjs +36 -0
  13. package/dist/array-CApNbSU9.js +6 -0
  14. package/dist/array-DZSRzHA_.cjs +1 -0
  15. package/dist/assets/parser.worker-Bzb1GItl.js +14 -0
  16. package/dist/blockDiagram-VD42YOAC-DaH3L5Ng.js +3009 -0
  17. package/dist/blockDiagram-VD42YOAC-DeX0dq72.cjs +122 -0
  18. package/dist/c4Diagram-YG6GDRKO-CIThIYo6.js +2959 -0
  19. package/dist/c4Diagram-YG6GDRKO-Dz6dif_9.cjs +10 -0
  20. package/dist/channel-BWHkpgVD.cjs +1 -0
  21. package/dist/channel-JT7eWw2w.js +5 -0
  22. package/dist/chunk-4BX2VUAB-BZTgbbzC.js +8 -0
  23. package/dist/chunk-4BX2VUAB-HXFjpyQg.cjs +1 -0
  24. package/dist/chunk-55IACEB6-DWUqxxdp.js +8 -0
  25. package/dist/chunk-55IACEB6-Hy_THNUs.cjs +1 -0
  26. package/dist/chunk-ABZYJK2D-CbIYYZa_.cjs +80 -0
  27. package/dist/chunk-ABZYJK2D-DDrmE3Q7.js +2518 -0
  28. package/dist/chunk-ATLVNIR6-DHlCNWnJ.js +67 -0
  29. package/dist/chunk-ATLVNIR6-shAOudT0.cjs +1 -0
  30. package/dist/chunk-B4BG7PRW-C67vroOS.cjs +165 -0
  31. package/dist/chunk-B4BG7PRW-DSYuK8dI.js +3116 -0
  32. package/dist/chunk-BNMv73og.cjs +1 -0
  33. package/dist/chunk-CVBHYZKI-CLVcv_xh.cjs +1 -0
  34. package/dist/chunk-CVBHYZKI-CiCGetln.js +12 -0
  35. package/dist/chunk-DI55MBZ5-BCvBgHrp.cjs +220 -0
  36. package/dist/chunk-DI55MBZ5-Clru0TyG.js +2000 -0
  37. package/dist/chunk-Dbv0sNQl.js +20 -0
  38. package/dist/chunk-FMBD7UC4-D4kohRVY.js +5 -0
  39. package/dist/{chunk-FMBD7UC4-DxkUZTpt.cjs → chunk-FMBD7UC4-DWMVCXKq.cjs} +2 -2
  40. package/dist/chunk-HN2XXSSU-BwmRMa2r.cjs +1 -0
  41. package/dist/chunk-HN2XXSSU-CJL8wAZ2.js +76 -0
  42. package/dist/chunk-JA3XYJ7Z-BaAdjYEy.cjs +70 -0
  43. package/dist/chunk-JA3XYJ7Z-CpKHrbOX.js +1849 -0
  44. package/dist/chunk-JZLCHNYA-CYo7ykJf.js +4863 -0
  45. package/dist/chunk-JZLCHNYA-CvPIQFXP.cjs +54 -0
  46. package/dist/chunk-QN33PNHL-BFbXAWI4.js +25 -0
  47. package/dist/chunk-QN33PNHL-Cu0FHarG.cjs +1 -0
  48. package/dist/chunk-QXUST7PY-CnnfdJrM.cjs +7 -0
  49. package/dist/chunk-QXUST7PY-CxCAwQqP.js +488 -0
  50. package/dist/chunk-QZHKN3VN-2e6nJr8c.cjs +1 -0
  51. package/dist/chunk-QZHKN3VN-Dal4kx9B.js +15 -0
  52. package/dist/chunk-S3R3BYOJ-B2ozcJNg.cjs +2 -0
  53. package/dist/chunk-S3R3BYOJ-CG6GoSCd.js +1119 -0
  54. package/dist/chunk-TZMSLE5B-CooeLs4Q.js +57 -0
  55. package/dist/chunk-TZMSLE5B-D92K1Ja5.cjs +1 -0
  56. package/dist/classDiagram-2ON5EDUG-Bv1XCvDZ.js +28 -0
  57. package/dist/classDiagram-2ON5EDUG-BzMV1CJW.cjs +1 -0
  58. package/dist/classDiagram-v2-WZHVMYZB-Bqxv5U7u.js +28 -0
  59. package/dist/classDiagram-v2-WZHVMYZB-BzMV1CJW.cjs +1 -0
  60. package/dist/clone-B0KDIkSS.js +8 -0
  61. package/dist/clone-wvtBTB6v.cjs +1 -0
  62. package/dist/cose-bilkent-S5V4N54A-DMHTv1aW.cjs +1 -0
  63. package/dist/cose-bilkent-S5V4N54A-bGPAcpg6.js +2250 -0
  64. package/dist/custom-Bl_fVJZ0.cjs +84 -0
  65. package/dist/custom-D-TzPpWT.js +5281 -0
  66. package/dist/cytoscape.esm-CElDUMAx.cjs +321 -0
  67. package/dist/cytoscape.esm-xf9dtmBj.js +18100 -0
  68. package/dist/dagre-6UL2VRFP-3bgUxzqG.js +294 -0
  69. package/dist/dagre-6UL2VRFP-B3NqmIxs.cjs +4 -0
  70. package/dist/dagre-BfAHSwtP.js +1472 -0
  71. package/dist/dagre-Buvkww-e.cjs +1 -0
  72. package/dist/defaultLocale-B5dSAwiC.js +201 -0
  73. package/dist/defaultLocale-G0HsdRIB.cjs +1 -0
  74. package/dist/diagram-PSM6KHXK-C4FjxUHt.cjs +24 -0
  75. package/dist/diagram-PSM6KHXK-CF8TkgzX.js +527 -0
  76. package/dist/diagram-QEK2KX5R-Dl3IHeA5.js +213 -0
  77. package/dist/diagram-QEK2KX5R-Z9DYjr44.cjs +43 -0
  78. package/dist/diagram-S2PKOQOG-Bib-zL2S.cjs +24 -0
  79. package/dist/diagram-S2PKOQOG-ZKvn7IEe.js +133 -0
  80. package/dist/dist-DC-lM4uX.cjs +1 -0
  81. package/dist/dist-zNcLEPGR.js +51 -0
  82. package/dist/erDiagram-Q2GNP2WA-DFMV9OUT.cjs +60 -0
  83. package/dist/erDiagram-Q2GNP2WA-DJYJEzEB.js +1600 -0
  84. package/dist/flowDiagram-NV44I4VS-7TxeawHS.cjs +162 -0
  85. package/dist/flowDiagram-NV44I4VS-CXa6ycqs.js +4128 -0
  86. package/dist/ganttDiagram-LVOFAZNH-DqT7pu4m.js +2869 -0
  87. package/dist/ganttDiagram-LVOFAZNH-iiExGpwF.cjs +267 -0
  88. package/dist/gitGraph-ZV4HHKMB-BjaEVcYh.cjs +1 -0
  89. package/dist/gitGraph-ZV4HHKMB-Cl2I6-l3.js +2 -0
  90. package/dist/gitGraphDiagram-NY62KEGX-Tphu_MeC.js +621 -0
  91. package/dist/gitGraphDiagram-NY62KEGX-k5xzXg7C.cjs +65 -0
  92. package/dist/graphlib-C3tPLMbC.js +225 -0
  93. package/dist/graphlib-Cdg0u3TT.cjs +1 -0
  94. package/dist/info-63CPKGFF-D2A5GDFo.js +2 -0
  95. package/dist/info-63CPKGFF-MRaucWlf.cjs +1 -0
  96. package/dist/infoDiagram-F6ZHWCRC-3Jwo4J0f.cjs +2 -0
  97. package/dist/infoDiagram-F6ZHWCRC-BUoruN76.js +19 -0
  98. package/dist/init-07zIhv_j.cjs +1 -0
  99. package/dist/init-Bwwdo3M6.js +15 -0
  100. package/dist/journeyDiagram-XKPGCS4Q-C_3oD9RV.cjs +139 -0
  101. package/dist/journeyDiagram-XKPGCS4Q-DB7INfrf.js +883 -0
  102. package/dist/kanban-definition-3W4ZIXB7-AVLIBuMF.js +968 -0
  103. package/dist/kanban-definition-3W4ZIXB7-txUXjKzB.cjs +89 -0
  104. package/dist/katex-6UpFeIdV.cjs +261 -0
  105. package/dist/katex-BHcJffnM.js +22112 -0
  106. package/dist/line-DYhVGH2B.js +34 -0
  107. package/dist/line-DdNAPGaw.cjs +1 -0
  108. package/dist/linear-n4_iirEu.js +289 -0
  109. package/dist/linear-rQLpRrSH.cjs +1 -0
  110. package/dist/loadCss-D6257oR0.js +8 -0
  111. package/dist/loadCss-DhrQh6-A.cjs +1 -0
  112. package/dist/markdown-it-Cz3KGZjR.cjs +2 -0
  113. package/dist/markdown-it-D-hH4G7k.js +173 -0
  114. package/dist/math-G8rF7UWn.cjs +1 -0
  115. package/dist/math-H49DsxYR.js +10 -0
  116. package/dist/mermaid-parser.core-B84fnaGG.js +11904 -0
  117. package/dist/mermaid-parser.core-C9EbhVVg.cjs +82 -0
  118. package/dist/mindmap-definition-VGOIOE7T-CXlyYsc6.cjs +68 -0
  119. package/dist/mindmap-definition-VGOIOE7T-VIt9sDN3.js +963 -0
  120. package/dist/mio-previewer.cjs.js +11 -21
  121. package/dist/mio-previewer.css +2 -9
  122. package/dist/mio-previewer.esm.js +4939 -0
  123. package/dist/ordinal-C55HfHHp.js +65 -0
  124. package/dist/ordinal-CUPR-p0T.cjs +1 -0
  125. package/dist/packet-HUATNLJX-CGNko_oS.cjs +1 -0
  126. package/dist/packet-HUATNLJX-CVx40lqO.js +2 -0
  127. package/dist/path-DNvJyUE8.js +85 -0
  128. package/dist/path-Kklx0M1v.cjs +1 -0
  129. package/dist/pie-WTHONI2E-BdPx0Cfg.cjs +1 -0
  130. package/dist/pie-WTHONI2E-DX5V8x0L.js +2 -0
  131. package/dist/pieDiagram-ADFJNKIX-BysReYfx.js +165 -0
  132. package/dist/pieDiagram-ADFJNKIX-CTT1YMsk.cjs +30 -0
  133. package/dist/plugins/custom.cjs.js +1 -1
  134. package/dist/plugins/custom.esm.js +2 -0
  135. package/dist/plugins/markdown-it.cjs.js +1 -3
  136. package/dist/plugins/markdown-it.esm.js +2 -0
  137. package/dist/quadrantDiagram-AYHSOK5B-8-V3cwsC.cjs +7 -0
  138. package/dist/quadrantDiagram-AYHSOK5B-DRutDK03.js +1974 -0
  139. package/dist/radar-NJJJXTRR-CTD6M8nl.js +2 -0
  140. package/dist/radar-NJJJXTRR-wJoTnQbj.cjs +1 -0
  141. package/dist/requirementDiagram-UZGBJVZJ-DFRpWnfW.cjs +64 -0
  142. package/dist/requirementDiagram-UZGBJVZJ-DNYoJyhG.js +2191 -0
  143. package/dist/sankeyDiagram-TZEHDZUN-B9fxDP0Q.cjs +10 -0
  144. package/dist/sankeyDiagram-TZEHDZUN-DD6bkI4Z.js +920 -0
  145. package/dist/sequenceDiagram-WL72ISMW-Bmptok1c.js +3562 -0
  146. package/dist/sequenceDiagram-WL72ISMW-D9sXtgAn.cjs +145 -0
  147. package/dist/src-BMjps4Ui.cjs +1 -0
  148. package/dist/src-BuisGndr.js +2149 -0
  149. package/dist/stateDiagram-FKZM4ZOC-Bmiw8fnW.js +217 -0
  150. package/dist/stateDiagram-FKZM4ZOC-DiD1WJPM.cjs +1 -0
  151. package/dist/stateDiagram-v2-4FDKWEC3-5ADhn1IF.js +27 -0
  152. package/dist/stateDiagram-v2-4FDKWEC3-BjhmCPL1.cjs +1 -0
  153. package/dist/timeline-definition-IT6M3QCI-C9VMls3W.js +830 -0
  154. package/dist/timeline-definition-IT6M3QCI-ZzbHXhNl.cjs +61 -0
  155. package/dist/treemap-75Q7IDZK-9TPMYr3R.cjs +1 -0
  156. package/dist/treemap-75Q7IDZK-u3p-cHDL.js +2 -0
  157. package/dist/types/plugins/custom/codeBlockPlugin.d.ts +8 -0
  158. package/dist/types/plugins/custom/mermaidPlugin.d.ts +4 -0
  159. package/dist/xychartDiagram-PRI3JC2R-BI6KuGZ2.cjs +7 -0
  160. package/dist/xychartDiagram-PRI3JC2R-BWabDL1u.js +2041 -0
  161. package/package.json +2 -2
  162. package/dist/_basePickBy-Be3yyf2d.js +0 -151
  163. package/dist/_basePickBy-Z0DtrAKQ.cjs +0 -1
  164. package/dist/_baseUniq-BXkA0Pgx.js +0 -614
  165. package/dist/_baseUniq-Dq2eV1vY.cjs +0 -1
  166. package/dist/arc-B-QGG8RZ.cjs +0 -1
  167. package/dist/arc-djW14lrn.js +0 -83
  168. package/dist/architecture-O4VJ6CD3-Cws_zM2K.cjs +0 -1
  169. package/dist/architecture-O4VJ6CD3-pdMXTCaT.js +0 -5
  170. package/dist/architectureDiagram-VXUJARFQ-BwchhvqL.js +0 -4661
  171. package/dist/architectureDiagram-VXUJARFQ-DxDLWGpO.cjs +0 -36
  172. package/dist/assets/parser.worker-67NQKZt5.js +0 -16
  173. package/dist/blockDiagram-VD42YOAC-B4Xc8gfX.cjs +0 -122
  174. package/dist/blockDiagram-VD42YOAC-DpPneP6J.js +0 -2261
  175. package/dist/c4Diagram-YG6GDRKO-695lQbrZ.cjs +0 -10
  176. package/dist/c4Diagram-YG6GDRKO-Cnlax2Xq.js +0 -1580
  177. package/dist/channel-D_ITz6Jy.cjs +0 -1
  178. package/dist/channel-sXy9EduO.js +0 -5
  179. package/dist/chunk-4BX2VUAB-Bdx3_f83.cjs +0 -1
  180. package/dist/chunk-4BX2VUAB-DRkGmgAZ.js +0 -8
  181. package/dist/chunk-55IACEB6-BB03hpRC.cjs +0 -1
  182. package/dist/chunk-55IACEB6-Ord5OQlh.js +0 -8
  183. package/dist/chunk-B4BG7PRW-Ca0fOgzA.cjs +0 -165
  184. package/dist/chunk-B4BG7PRW-D-cs8bDX.js +0 -1375
  185. package/dist/chunk-DI55MBZ5-BsRe2B2M.cjs +0 -220
  186. package/dist/chunk-DI55MBZ5-DSmlLD1s.js +0 -1370
  187. package/dist/chunk-FMBD7UC4-IYQmAMTo.js +0 -19
  188. package/dist/chunk-QN33PNHL-B7G6Qlf3.cjs +0 -1
  189. package/dist/chunk-QN33PNHL-EYMc4JVr.js +0 -19
  190. package/dist/chunk-QZHKN3VN-B8NJ6Ahx.cjs +0 -1
  191. package/dist/chunk-QZHKN3VN-C4WIG5z8.js +0 -15
  192. package/dist/chunk-TZMSLE5B-BoM53RHv.js +0 -64
  193. package/dist/chunk-TZMSLE5B-CgLDb48A.cjs +0 -1
  194. package/dist/classDiagram-2ON5EDUG-CxmdZvqc.js +0 -16
  195. package/dist/classDiagram-2ON5EDUG-DIRim8qa.cjs +0 -1
  196. package/dist/classDiagram-v2-WZHVMYZB-CxmdZvqc.js +0 -16
  197. package/dist/classDiagram-v2-WZHVMYZB-DIRim8qa.cjs +0 -1
  198. package/dist/clone-DOYxaT_d.js +0 -8
  199. package/dist/clone-DSlm33NG.cjs +0 -1
  200. package/dist/cose-bilkent-S5V4N54A-BD3p1OC_.cjs +0 -1
  201. package/dist/cose-bilkent-S5V4N54A-yLoaqH3G.js +0 -2608
  202. package/dist/cytoscape.esm-DHF7mANN.cjs +0 -331
  203. package/dist/cytoscape.esm-DfdJODL8.js +0 -18735
  204. package/dist/dagre-6UL2VRFP-DG1oQ4B2.cjs +0 -4
  205. package/dist/dagre-6UL2VRFP-VjboDBbp.js +0 -444
  206. package/dist/defaultLocale-D7EN2tov.js +0 -171
  207. package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
  208. package/dist/diagram-PSM6KHXK-C1p0l5TY.js +0 -531
  209. package/dist/diagram-PSM6KHXK-a4rni6rJ.cjs +0 -24
  210. package/dist/diagram-QEK2KX5R-CErKOsX1.cjs +0 -43
  211. package/dist/diagram-QEK2KX5R-CKmmuumX.js +0 -217
  212. package/dist/diagram-S2PKOQOG-B1M7qCNl.cjs +0 -24
  213. package/dist/diagram-S2PKOQOG-BMLCJExF.js +0 -142
  214. package/dist/erDiagram-Q2GNP2WA-BfuCa_Za.cjs +0 -60
  215. package/dist/erDiagram-Q2GNP2WA-fOTsQA-d.js +0 -841
  216. package/dist/flowDiagram-NV44I4VS-BEqeUuqz.cjs +0 -162
  217. package/dist/flowDiagram-NV44I4VS-DDwRAjVG.js +0 -1620
  218. package/dist/ganttDiagram-LVOFAZNH-BbuRS8g3.js +0 -2505
  219. package/dist/ganttDiagram-LVOFAZNH-BlVeWKRf.cjs +0 -267
  220. package/dist/gitGraph-ZV4HHKMB-Bmu8r_Iq.cjs +0 -1
  221. package/dist/gitGraph-ZV4HHKMB-DcQ2E4dF.js +0 -5
  222. package/dist/gitGraphDiagram-NY62KEGX-DcMEeNh7.cjs +0 -65
  223. package/dist/gitGraphDiagram-NY62KEGX-_sWVSKbL.js +0 -699
  224. package/dist/graph-DEnt0OtZ.js +0 -247
  225. package/dist/graph-Dgcjs2XL.cjs +0 -1
  226. package/dist/info-63CPKGFF-DVDDcoHy.js +0 -5
  227. package/dist/info-63CPKGFF-Dc3cWL0G.cjs +0 -1
  228. package/dist/infoDiagram-F6ZHWCRC-DoUSS0kC.js +0 -24
  229. package/dist/infoDiagram-F6ZHWCRC-ZeTrjgaE.cjs +0 -2
  230. package/dist/init-CHZsXQcr.cjs +0 -1
  231. package/dist/init-DjUOC4st.js +0 -16
  232. package/dist/journeyDiagram-XKPGCS4Q-DGe13iBu.js +0 -834
  233. package/dist/journeyDiagram-XKPGCS4Q-Ihl9g4mY.cjs +0 -139
  234. package/dist/kanban-definition-3W4ZIXB7-2qkrkVLK.cjs +0 -89
  235. package/dist/kanban-definition-3W4ZIXB7-BhWe5nMU.js +0 -719
  236. package/dist/katex-CmGeg_OO.js +0 -11692
  237. package/dist/katex-DEiiRhcn.cjs +0 -261
  238. package/dist/layout-BDNzBIaA.cjs +0 -1
  239. package/dist/layout-DTBfbHzy.js +0 -1324
  240. package/dist/linear-BRl2UYUr.cjs +0 -1
  241. package/dist/linear-CwbXkgvF.js +0 -259
  242. package/dist/loadCss-BbD6mdv-.cjs +0 -1
  243. package/dist/loadCss-DS0Fuaxe.js +0 -8
  244. package/dist/mermaid-parser.core-CJ1yJm0s.js +0 -12966
  245. package/dist/mermaid-parser.core-CxTcWSA2.cjs +0 -128
  246. package/dist/mindmap-definition-VGOIOE7T-BPUEmP7g.cjs +0 -68
  247. package/dist/mindmap-definition-VGOIOE7T-DSqZBgzR.js +0 -784
  248. package/dist/mio-previewer.es.js +0 -6171
  249. package/dist/ordinal-CagbB1m8.cjs +0 -1
  250. package/dist/ordinal-DfAQgscy.js +0 -61
  251. package/dist/packet-HUATNLJX-B-qfkr5X.cjs +0 -1
  252. package/dist/packet-HUATNLJX-Dxob_meO.js +0 -5
  253. package/dist/pie-WTHONI2E-BRtdTGWt.js +0 -5
  254. package/dist/pie-WTHONI2E-DK7f6qJw.cjs +0 -1
  255. package/dist/pieDiagram-ADFJNKIX-Dhq_bEzm.js +0 -161
  256. package/dist/pieDiagram-ADFJNKIX-V04ms3gr.cjs +0 -30
  257. package/dist/plugins/custom.es.js +0 -85
  258. package/dist/plugins/markdown-it.es.js +0 -173
  259. package/dist/quadrantDiagram-AYHSOK5B-C97bOmUE.js +0 -1022
  260. package/dist/quadrantDiagram-AYHSOK5B-DlqFPVhi.cjs +0 -7
  261. package/dist/radar-NJJJXTRR-B9jT3LP3.cjs +0 -1
  262. package/dist/radar-NJJJXTRR-D8plmle3.js +0 -5
  263. package/dist/requirementDiagram-UZGBJVZJ-BxVMLKfQ.js +0 -850
  264. package/dist/requirementDiagram-UZGBJVZJ-DENJ74Ew.cjs +0 -64
  265. package/dist/sankeyDiagram-TZEHDZUN-DwgW7Suq.js +0 -810
  266. package/dist/sankeyDiagram-TZEHDZUN-lTBLhaSq.cjs +0 -10
  267. package/dist/sequenceDiagram-WL72ISMW-BAOeX1dA.js +0 -2511
  268. package/dist/sequenceDiagram-WL72ISMW-BRVvH1X4.cjs +0 -145
  269. package/dist/stateDiagram-FKZM4ZOC-BrFQE7Gl.js +0 -263
  270. package/dist/stateDiagram-FKZM4ZOC-D8GjooGL.cjs +0 -1
  271. package/dist/stateDiagram-v2-4FDKWEC3-4VRIY-eH.cjs +0 -1
  272. package/dist/stateDiagram-v2-4FDKWEC3-DnrWD6a3.js +0 -16
  273. package/dist/timeline-definition-IT6M3QCI-BJMIlueb.js +0 -795
  274. package/dist/timeline-definition-IT6M3QCI-BQFGUuGP.cjs +0 -61
  275. package/dist/treemap-75Q7IDZK-BX1vBFWf.cjs +0 -1
  276. package/dist/treemap-75Q7IDZK-CMTkunTV.js +0 -5
  277. package/dist/viewer-CZUSHxhf.js +0 -19131
  278. package/dist/viewer-Canph5Zx.cjs +0 -305
  279. package/dist/xychartDiagram-PRI3JC2R-Sl8WX8wc.cjs +0 -7
  280. package/dist/xychartDiagram-PRI3JC2R-WnFI7Ezu.js +0 -1340
@@ -0,0 +1,968 @@
1
+ import { d as e, f as t, u as n } from "./custom-D-TzPpWT.js";
2
+ import { g as r, h as i } from "./src-BuisGndr.js";
3
+ import { $ as a, G as o, I as s, Q as c, Z as l, b as u, d } from "./chunk-ABZYJK2D-DDrmE3Q7.js";
4
+ import "./chunk-S3R3BYOJ-CG6GoSCd.js";
5
+ import "./chunk-CVBHYZKI-CiCGetln.js";
6
+ import "./chunk-ATLVNIR6-DHlCNWnJ.js";
7
+ import "./chunk-JA3XYJ7Z-CpKHrbOX.js";
8
+ import { a as f, c as p, i as m } from "./chunk-JZLCHNYA-CYo7ykJf.js";
9
+ import { t as h } from "./chunk-FMBD7UC4-D4kohRVY.js";
10
+ //#region node_modules/.pnpm/mermaid@11.12.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.mjs
11
+ var g = (function() {
12
+ var e = /* @__PURE__ */ i(function(e, t, n, r) {
13
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
14
+ return n;
15
+ }, "o"), t = [1, 4], n = [1, 13], r = [1, 12], a = [1, 15], o = [1, 16], s = [1, 20], c = [1, 19], l = [
16
+ 6,
17
+ 7,
18
+ 8
19
+ ], u = [1, 26], d = [1, 24], f = [1, 25], p = [
20
+ 6,
21
+ 7,
22
+ 11
23
+ ], m = [1, 31], h = [
24
+ 6,
25
+ 7,
26
+ 11,
27
+ 24
28
+ ], g = [
29
+ 1,
30
+ 6,
31
+ 13,
32
+ 16,
33
+ 17,
34
+ 20,
35
+ 23
36
+ ], _ = [1, 35], v = [1, 36], y = [
37
+ 1,
38
+ 6,
39
+ 7,
40
+ 11,
41
+ 13,
42
+ 16,
43
+ 17,
44
+ 20,
45
+ 23
46
+ ], b = [1, 38], x = {
47
+ trace: /* @__PURE__ */ i(function() {}, "trace"),
48
+ yy: {},
49
+ symbols_: {
50
+ error: 2,
51
+ start: 3,
52
+ mindMap: 4,
53
+ spaceLines: 5,
54
+ SPACELINE: 6,
55
+ NL: 7,
56
+ KANBAN: 8,
57
+ document: 9,
58
+ stop: 10,
59
+ EOF: 11,
60
+ statement: 12,
61
+ SPACELIST: 13,
62
+ node: 14,
63
+ shapeData: 15,
64
+ ICON: 16,
65
+ CLASS: 17,
66
+ nodeWithId: 18,
67
+ nodeWithoutId: 19,
68
+ NODE_DSTART: 20,
69
+ NODE_DESCR: 21,
70
+ NODE_DEND: 22,
71
+ NODE_ID: 23,
72
+ SHAPE_DATA: 24,
73
+ $accept: 0,
74
+ $end: 1
75
+ },
76
+ terminals_: {
77
+ 2: "error",
78
+ 6: "SPACELINE",
79
+ 7: "NL",
80
+ 8: "KANBAN",
81
+ 11: "EOF",
82
+ 13: "SPACELIST",
83
+ 16: "ICON",
84
+ 17: "CLASS",
85
+ 20: "NODE_DSTART",
86
+ 21: "NODE_DESCR",
87
+ 22: "NODE_DEND",
88
+ 23: "NODE_ID",
89
+ 24: "SHAPE_DATA"
90
+ },
91
+ productions_: [
92
+ 0,
93
+ [3, 1],
94
+ [3, 2],
95
+ [5, 1],
96
+ [5, 2],
97
+ [5, 2],
98
+ [4, 2],
99
+ [4, 3],
100
+ [10, 1],
101
+ [10, 1],
102
+ [10, 1],
103
+ [10, 2],
104
+ [10, 2],
105
+ [9, 3],
106
+ [9, 2],
107
+ [12, 3],
108
+ [12, 2],
109
+ [12, 2],
110
+ [12, 2],
111
+ [12, 1],
112
+ [12, 2],
113
+ [12, 1],
114
+ [12, 1],
115
+ [12, 1],
116
+ [12, 1],
117
+ [14, 1],
118
+ [14, 1],
119
+ [19, 3],
120
+ [18, 1],
121
+ [18, 4],
122
+ [15, 2],
123
+ [15, 1]
124
+ ],
125
+ performAction: /* @__PURE__ */ i(function(e, t, n, r, i, a, o) {
126
+ var s = a.length - 1;
127
+ switch (i) {
128
+ case 6:
129
+ case 7: return r;
130
+ case 8:
131
+ r.getLogger().trace("Stop NL ");
132
+ break;
133
+ case 9:
134
+ r.getLogger().trace("Stop EOF ");
135
+ break;
136
+ case 11:
137
+ r.getLogger().trace("Stop NL2 ");
138
+ break;
139
+ case 12:
140
+ r.getLogger().trace("Stop EOF2 ");
141
+ break;
142
+ case 15:
143
+ r.getLogger().info("Node: ", a[s - 1].id), r.addNode(a[s - 2].length, a[s - 1].id, a[s - 1].descr, a[s - 1].type, a[s]);
144
+ break;
145
+ case 16:
146
+ r.getLogger().info("Node: ", a[s].id), r.addNode(a[s - 1].length, a[s].id, a[s].descr, a[s].type);
147
+ break;
148
+ case 17:
149
+ r.getLogger().trace("Icon: ", a[s]), r.decorateNode({ icon: a[s] });
150
+ break;
151
+ case 18:
152
+ case 23:
153
+ r.decorateNode({ class: a[s] });
154
+ break;
155
+ case 19:
156
+ r.getLogger().trace("SPACELIST");
157
+ break;
158
+ case 20:
159
+ r.getLogger().trace("Node: ", a[s - 1].id), r.addNode(0, a[s - 1].id, a[s - 1].descr, a[s - 1].type, a[s]);
160
+ break;
161
+ case 21:
162
+ r.getLogger().trace("Node: ", a[s].id), r.addNode(0, a[s].id, a[s].descr, a[s].type);
163
+ break;
164
+ case 22:
165
+ r.decorateNode({ icon: a[s] });
166
+ break;
167
+ case 27:
168
+ r.getLogger().trace("node found ..", a[s - 2]), this.$ = {
169
+ id: a[s - 1],
170
+ descr: a[s - 1],
171
+ type: r.getType(a[s - 2], a[s])
172
+ };
173
+ break;
174
+ case 28:
175
+ this.$ = {
176
+ id: a[s],
177
+ descr: a[s],
178
+ type: 0
179
+ };
180
+ break;
181
+ case 29:
182
+ r.getLogger().trace("node found ..", a[s - 3]), this.$ = {
183
+ id: a[s - 3],
184
+ descr: a[s - 1],
185
+ type: r.getType(a[s - 2], a[s])
186
+ };
187
+ break;
188
+ case 30:
189
+ this.$ = a[s - 1] + a[s];
190
+ break;
191
+ case 31:
192
+ this.$ = a[s];
193
+ break;
194
+ }
195
+ }, "anonymous"),
196
+ table: [
197
+ {
198
+ 3: 1,
199
+ 4: 2,
200
+ 5: 3,
201
+ 6: [1, 5],
202
+ 8: t
203
+ },
204
+ { 1: [3] },
205
+ { 1: [2, 1] },
206
+ {
207
+ 4: 6,
208
+ 6: [1, 7],
209
+ 7: [1, 8],
210
+ 8: t
211
+ },
212
+ {
213
+ 6: n,
214
+ 7: [1, 10],
215
+ 9: 9,
216
+ 12: 11,
217
+ 13: r,
218
+ 14: 14,
219
+ 16: a,
220
+ 17: o,
221
+ 18: 17,
222
+ 19: 18,
223
+ 20: s,
224
+ 23: c
225
+ },
226
+ e(l, [2, 3]),
227
+ { 1: [2, 2] },
228
+ e(l, [2, 4]),
229
+ e(l, [2, 5]),
230
+ {
231
+ 1: [2, 6],
232
+ 6: n,
233
+ 12: 21,
234
+ 13: r,
235
+ 14: 14,
236
+ 16: a,
237
+ 17: o,
238
+ 18: 17,
239
+ 19: 18,
240
+ 20: s,
241
+ 23: c
242
+ },
243
+ {
244
+ 6: n,
245
+ 9: 22,
246
+ 12: 11,
247
+ 13: r,
248
+ 14: 14,
249
+ 16: a,
250
+ 17: o,
251
+ 18: 17,
252
+ 19: 18,
253
+ 20: s,
254
+ 23: c
255
+ },
256
+ {
257
+ 6: u,
258
+ 7: d,
259
+ 10: 23,
260
+ 11: f
261
+ },
262
+ e(p, [2, 24], {
263
+ 18: 17,
264
+ 19: 18,
265
+ 14: 27,
266
+ 16: [1, 28],
267
+ 17: [1, 29],
268
+ 20: s,
269
+ 23: c
270
+ }),
271
+ e(p, [2, 19]),
272
+ e(p, [2, 21], {
273
+ 15: 30,
274
+ 24: m
275
+ }),
276
+ e(p, [2, 22]),
277
+ e(p, [2, 23]),
278
+ e(h, [2, 25]),
279
+ e(h, [2, 26]),
280
+ e(h, [2, 28], { 20: [1, 32] }),
281
+ { 21: [1, 33] },
282
+ {
283
+ 6: u,
284
+ 7: d,
285
+ 10: 34,
286
+ 11: f
287
+ },
288
+ {
289
+ 1: [2, 7],
290
+ 6: n,
291
+ 12: 21,
292
+ 13: r,
293
+ 14: 14,
294
+ 16: a,
295
+ 17: o,
296
+ 18: 17,
297
+ 19: 18,
298
+ 20: s,
299
+ 23: c
300
+ },
301
+ e(g, [2, 14], {
302
+ 7: _,
303
+ 11: v
304
+ }),
305
+ e(y, [2, 8]),
306
+ e(y, [2, 9]),
307
+ e(y, [2, 10]),
308
+ e(p, [2, 16], {
309
+ 15: 37,
310
+ 24: m
311
+ }),
312
+ e(p, [2, 17]),
313
+ e(p, [2, 18]),
314
+ e(p, [2, 20], { 24: b }),
315
+ e(h, [2, 31]),
316
+ { 21: [1, 39] },
317
+ { 22: [1, 40] },
318
+ e(g, [2, 13], {
319
+ 7: _,
320
+ 11: v
321
+ }),
322
+ e(y, [2, 11]),
323
+ e(y, [2, 12]),
324
+ e(p, [2, 15], { 24: b }),
325
+ e(h, [2, 30]),
326
+ { 22: [1, 41] },
327
+ e(h, [2, 27]),
328
+ e(h, [2, 29])
329
+ ],
330
+ defaultActions: {
331
+ 2: [2, 1],
332
+ 6: [2, 2]
333
+ },
334
+ parseError: /* @__PURE__ */ i(function(e, t) {
335
+ if (t.recoverable) this.trace(e);
336
+ else {
337
+ var n = Error(e);
338
+ throw n.hash = t, n;
339
+ }
340
+ }, "parseError"),
341
+ parse: /* @__PURE__ */ i(function(e) {
342
+ var t = this, n = [0], r = [], 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: {} };
343
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
344
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
345
+ var v = h.yylloc;
346
+ o.push(v);
347
+ var y = h.options && h.options.ranges;
348
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
349
+ function b(e) {
350
+ n.length -= 2 * e, a.length -= e, o.length -= e;
351
+ }
352
+ i(b, "popStack");
353
+ function x() {
354
+ var e = r.pop() || h.lex() || p;
355
+ return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
356
+ }
357
+ i(x, "lex");
358
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
359
+ if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
360
+ var M = "";
361
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
362
+ 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, {
363
+ text: h.match,
364
+ token: this.terminals_[S] || S,
365
+ line: h.yylineno,
366
+ loc: v,
367
+ expected: j
368
+ });
369
+ }
370
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
371
+ switch (T[0]) {
372
+ case 1:
373
+ n.push(S), a.push(h.yytext), o.push(h.yylloc), n.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--);
374
+ break;
375
+ case 2:
376
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
377
+ first_line: o[o.length - (k || 1)].first_line,
378
+ last_line: o[o.length - 1].last_line,
379
+ first_column: o[o.length - (k || 1)].first_column,
380
+ last_column: o[o.length - 1].last_column
381
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
382
+ c,
383
+ u,
384
+ l,
385
+ g.yy,
386
+ T[1],
387
+ a,
388
+ o
389
+ ].concat(m)), E !== void 0) return E;
390
+ k && (n = n.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[n[n.length - 2]][n[n.length - 1]], n.push(A);
391
+ break;
392
+ case 3: return !0;
393
+ }
394
+ }
395
+ return !0;
396
+ }, "parse")
397
+ };
398
+ x.lexer = /* @__PURE__ */ (function() {
399
+ return {
400
+ EOF: 1,
401
+ parseError: /* @__PURE__ */ i(function(e, t) {
402
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
403
+ else throw Error(e);
404
+ }, "parseError"),
405
+ setInput: /* @__PURE__ */ i(function(e, t) {
406
+ 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 = {
407
+ first_line: 1,
408
+ first_column: 0,
409
+ last_line: 1,
410
+ last_column: 0
411
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
412
+ }, "setInput"),
413
+ input: /* @__PURE__ */ i(function() {
414
+ var e = this._input[0];
415
+ 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;
416
+ }, "input"),
417
+ unput: /* @__PURE__ */ i(function(e) {
418
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
419
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
420
+ var r = this.match.split(/(?:\r\n?|\n)/g);
421
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
422
+ var i = this.yylloc.range;
423
+ return this.yylloc = {
424
+ first_line: this.yylloc.first_line,
425
+ last_line: this.yylineno + 1,
426
+ first_column: this.yylloc.first_column,
427
+ 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
428
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
429
+ }, "unput"),
430
+ more: /* @__PURE__ */ i(function() {
431
+ return this._more = !0, this;
432
+ }, "more"),
433
+ reject: /* @__PURE__ */ i(function() {
434
+ if (this.options.backtrack_lexer) this._backtrack = !0;
435
+ 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(), {
436
+ text: "",
437
+ token: null,
438
+ line: this.yylineno
439
+ });
440
+ return this;
441
+ }, "reject"),
442
+ less: /* @__PURE__ */ i(function(e) {
443
+ this.unput(this.match.slice(e));
444
+ }, "less"),
445
+ pastInput: /* @__PURE__ */ i(function() {
446
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
447
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
448
+ }, "pastInput"),
449
+ upcomingInput: /* @__PURE__ */ i(function() {
450
+ var e = this.match;
451
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
452
+ }, "upcomingInput"),
453
+ showPosition: /* @__PURE__ */ i(function() {
454
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
455
+ return e + this.upcomingInput() + "\n" + t + "^";
456
+ }, "showPosition"),
457
+ test_match: /* @__PURE__ */ i(function(e, t) {
458
+ var n, r, i;
459
+ if (this.options.backtrack_lexer && (i = {
460
+ yylineno: this.yylineno,
461
+ yylloc: {
462
+ first_line: this.yylloc.first_line,
463
+ last_line: this.last_line,
464
+ first_column: this.yylloc.first_column,
465
+ last_column: this.yylloc.last_column
466
+ },
467
+ yytext: this.yytext,
468
+ match: this.match,
469
+ matches: this.matches,
470
+ matched: this.matched,
471
+ yyleng: this.yyleng,
472
+ offset: this.offset,
473
+ _more: this._more,
474
+ _input: this._input,
475
+ yy: this.yy,
476
+ conditionStack: this.conditionStack.slice(0),
477
+ done: this.done
478
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
479
+ first_line: this.yylloc.last_line,
480
+ last_line: this.yylineno + 1,
481
+ first_column: this.yylloc.last_column,
482
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
483
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
484
+ if (this._backtrack) {
485
+ for (var a in i) this[a] = i[a];
486
+ return !1;
487
+ }
488
+ return !1;
489
+ }, "test_match"),
490
+ next: /* @__PURE__ */ i(function() {
491
+ if (this.done) return this.EOF;
492
+ this._input || (this.done = !0);
493
+ var e, t, n, r;
494
+ this._more || (this.yytext = "", this.match = "");
495
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
496
+ if (t = n, r = a, this.options.backtrack_lexer) {
497
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
498
+ if (this._backtrack) {
499
+ t = !1;
500
+ continue;
501
+ } else return !1;
502
+ } else if (!this.options.flex) break;
503
+ }
504
+ 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(), {
505
+ text: "",
506
+ token: null,
507
+ line: this.yylineno
508
+ });
509
+ }, "next"),
510
+ lex: /* @__PURE__ */ i(function() {
511
+ return this.next() || this.lex();
512
+ }, "lex"),
513
+ begin: /* @__PURE__ */ i(function(e) {
514
+ this.conditionStack.push(e);
515
+ }, "begin"),
516
+ popState: /* @__PURE__ */ i(function() {
517
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
518
+ }, "popState"),
519
+ _currentRules: /* @__PURE__ */ i(function() {
520
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
521
+ }, "_currentRules"),
522
+ topState: /* @__PURE__ */ i(function(e) {
523
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
524
+ }, "topState"),
525
+ pushState: /* @__PURE__ */ i(function(e) {
526
+ this.begin(e);
527
+ }, "pushState"),
528
+ stateStackSize: /* @__PURE__ */ i(function() {
529
+ return this.conditionStack.length;
530
+ }, "stateStackSize"),
531
+ options: { "case-insensitive": !0 },
532
+ performAction: /* @__PURE__ */ i(function(e, t, n, r) {
533
+ switch (n) {
534
+ case 0: return this.pushState("shapeData"), t.yytext = "", 24;
535
+ case 1: return this.pushState("shapeDataStr"), 24;
536
+ case 2: return this.popState(), 24;
537
+ case 3: return t.yytext = t.yytext.replace(/\n\s*/g, "<br/>"), 24;
538
+ case 4: return 24;
539
+ case 5:
540
+ this.popState();
541
+ break;
542
+ case 6: return e.getLogger().trace("Found comment", t.yytext), 6;
543
+ case 7: return 8;
544
+ case 8:
545
+ this.begin("CLASS");
546
+ break;
547
+ case 9: return this.popState(), 17;
548
+ case 10:
549
+ this.popState();
550
+ break;
551
+ case 11:
552
+ e.getLogger().trace("Begin icon"), this.begin("ICON");
553
+ break;
554
+ case 12: return e.getLogger().trace("SPACELINE"), 6;
555
+ case 13: return 7;
556
+ case 14: return 16;
557
+ case 15:
558
+ e.getLogger().trace("end icon"), this.popState();
559
+ break;
560
+ case 16: return e.getLogger().trace("Exploding node"), this.begin("NODE"), 20;
561
+ case 17: return e.getLogger().trace("Cloud"), this.begin("NODE"), 20;
562
+ case 18: return e.getLogger().trace("Explosion Bang"), this.begin("NODE"), 20;
563
+ case 19: return e.getLogger().trace("Cloud Bang"), this.begin("NODE"), 20;
564
+ case 20: return this.begin("NODE"), 20;
565
+ case 21: return this.begin("NODE"), 20;
566
+ case 22: return this.begin("NODE"), 20;
567
+ case 23: return this.begin("NODE"), 20;
568
+ case 24: return 13;
569
+ case 25: return 23;
570
+ case 26: return 11;
571
+ case 27:
572
+ this.begin("NSTR2");
573
+ break;
574
+ case 28: return "NODE_DESCR";
575
+ case 29:
576
+ this.popState();
577
+ break;
578
+ case 30:
579
+ e.getLogger().trace("Starting NSTR"), this.begin("NSTR");
580
+ break;
581
+ case 31: return e.getLogger().trace("description:", t.yytext), "NODE_DESCR";
582
+ case 32:
583
+ this.popState();
584
+ break;
585
+ case 33: return this.popState(), e.getLogger().trace("node end ))"), "NODE_DEND";
586
+ case 34: return this.popState(), e.getLogger().trace("node end )"), "NODE_DEND";
587
+ case 35: return this.popState(), e.getLogger().trace("node end ...", t.yytext), "NODE_DEND";
588
+ case 36: return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
589
+ case 37: return this.popState(), e.getLogger().trace("node end (-"), "NODE_DEND";
590
+ case 38: return this.popState(), e.getLogger().trace("node end (-"), "NODE_DEND";
591
+ case 39: return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
592
+ case 40: return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
593
+ case 41: return e.getLogger().trace("Long description:", t.yytext), 21;
594
+ case 42: return e.getLogger().trace("Long description:", t.yytext), 21;
595
+ }
596
+ }, "anonymous"),
597
+ rules: [
598
+ /^(?:@\{)/i,
599
+ /^(?:["])/i,
600
+ /^(?:["])/i,
601
+ /^(?:[^\"]+)/i,
602
+ /^(?:[^}^"]+)/i,
603
+ /^(?:\})/i,
604
+ /^(?:\s*%%.*)/i,
605
+ /^(?:kanban\b)/i,
606
+ /^(?::::)/i,
607
+ /^(?:.+)/i,
608
+ /^(?:\n)/i,
609
+ /^(?:::icon\()/i,
610
+ /^(?:[\s]+[\n])/i,
611
+ /^(?:[\n]+)/i,
612
+ /^(?:[^\)]+)/i,
613
+ /^(?:\))/i,
614
+ /^(?:-\))/i,
615
+ /^(?:\(-)/i,
616
+ /^(?:\)\))/i,
617
+ /^(?:\))/i,
618
+ /^(?:\(\()/i,
619
+ /^(?:\{\{)/i,
620
+ /^(?:\()/i,
621
+ /^(?:\[)/i,
622
+ /^(?:[\s]+)/i,
623
+ /^(?:[^\(\[\n\)\{\}@]+)/i,
624
+ /^(?:$)/i,
625
+ /^(?:["][`])/i,
626
+ /^(?:[^`"]+)/i,
627
+ /^(?:[`]["])/i,
628
+ /^(?:["])/i,
629
+ /^(?:[^"]+)/i,
630
+ /^(?:["])/i,
631
+ /^(?:[\)]\))/i,
632
+ /^(?:[\)])/i,
633
+ /^(?:[\]])/i,
634
+ /^(?:\}\})/i,
635
+ /^(?:\(-)/i,
636
+ /^(?:-\))/i,
637
+ /^(?:\(\()/i,
638
+ /^(?:\()/i,
639
+ /^(?:[^\)\]\(\}]+)/i,
640
+ /^(?:.+(?!\(\())/i
641
+ ],
642
+ conditions: {
643
+ shapeDataEndBracket: {
644
+ rules: [],
645
+ inclusive: !1
646
+ },
647
+ shapeDataStr: {
648
+ rules: [2, 3],
649
+ inclusive: !1
650
+ },
651
+ shapeData: {
652
+ rules: [
653
+ 1,
654
+ 4,
655
+ 5
656
+ ],
657
+ inclusive: !1
658
+ },
659
+ CLASS: {
660
+ rules: [9, 10],
661
+ inclusive: !1
662
+ },
663
+ ICON: {
664
+ rules: [14, 15],
665
+ inclusive: !1
666
+ },
667
+ NSTR2: {
668
+ rules: [28, 29],
669
+ inclusive: !1
670
+ },
671
+ NSTR: {
672
+ rules: [31, 32],
673
+ inclusive: !1
674
+ },
675
+ NODE: {
676
+ rules: [
677
+ 27,
678
+ 30,
679
+ 33,
680
+ 34,
681
+ 35,
682
+ 36,
683
+ 37,
684
+ 38,
685
+ 39,
686
+ 40,
687
+ 41,
688
+ 42
689
+ ],
690
+ inclusive: !1
691
+ },
692
+ INITIAL: {
693
+ rules: [
694
+ 0,
695
+ 6,
696
+ 7,
697
+ 8,
698
+ 11,
699
+ 12,
700
+ 13,
701
+ 16,
702
+ 17,
703
+ 18,
704
+ 19,
705
+ 20,
706
+ 21,
707
+ 22,
708
+ 23,
709
+ 24,
710
+ 25,
711
+ 26
712
+ ],
713
+ inclusive: !0
714
+ }
715
+ }
716
+ };
717
+ })();
718
+ function S() {
719
+ this.yy = {};
720
+ }
721
+ return i(S, "Parser"), S.prototype = x, x.Parser = S, new S();
722
+ })();
723
+ g.parser = g;
724
+ var _ = g, v = [], y = [], b = 0, x = {}, S = /* @__PURE__ */ i(() => {
725
+ v = [], y = [], b = 0, x = {};
726
+ }, "clear"), C = /* @__PURE__ */ i((e) => {
727
+ if (v.length === 0) return null;
728
+ let t = v[0].level, n = null;
729
+ for (let e = v.length - 1; e >= 0; e--) if (v[e].level === t && !n && (n = v[e]), v[e].level < t) throw Error("Items without section detected, found section (\"" + v[e].label + "\")");
730
+ return e === n?.level ? null : n;
731
+ }, "getSection"), w = /* @__PURE__ */ i(function() {
732
+ return y;
733
+ }, "getSections"), T = /* @__PURE__ */ i(function() {
734
+ let e = [], t = [], n = w(), r = u();
735
+ for (let e of n) {
736
+ let n = {
737
+ id: e.id,
738
+ label: s(e.label ?? "", r),
739
+ isGroup: !0,
740
+ ticket: e.ticket,
741
+ shape: "kanbanSection",
742
+ level: e.level,
743
+ look: r.look
744
+ };
745
+ t.push(n);
746
+ let i = v.filter((t) => t.parentId === e.id);
747
+ for (let n of i) {
748
+ let i = {
749
+ id: n.id,
750
+ parentId: e.id,
751
+ label: s(n.label ?? "", r),
752
+ isGroup: !1,
753
+ ticket: n?.ticket,
754
+ priority: n?.priority,
755
+ assigned: n?.assigned,
756
+ icon: n?.icon,
757
+ shape: "kanbanItem",
758
+ level: n.level,
759
+ rx: 5,
760
+ ry: 5,
761
+ cssStyles: ["text-align: left"]
762
+ };
763
+ t.push(i);
764
+ }
765
+ }
766
+ return {
767
+ nodes: t,
768
+ edges: e,
769
+ other: {},
770
+ config: u()
771
+ };
772
+ }, "getData"), E = /* @__PURE__ */ i((t, r, i, a, o) => {
773
+ let c = u(), l = c.mindmap?.padding ?? d.mindmap.padding;
774
+ switch (a) {
775
+ case D.ROUNDED_RECT:
776
+ case D.RECT:
777
+ case D.HEXAGON: l *= 2;
778
+ }
779
+ let f = {
780
+ id: s(r, c) || "kbn" + b++,
781
+ level: t,
782
+ label: s(i, c),
783
+ width: c.mindmap?.maxNodeWidth ?? d.mindmap.maxNodeWidth,
784
+ padding: l,
785
+ isGroup: !1
786
+ };
787
+ if (o !== void 0) {
788
+ let t;
789
+ t = o.includes("\n") ? o + "\n" : "{\n" + o + "\n}";
790
+ let r = e(t, { schema: n });
791
+ if (r.shape && (r.shape !== r.shape.toLowerCase() || r.shape.includes("_"))) throw Error(`No such shape: ${r.shape}. Shape names should be lowercase.`);
792
+ r?.shape && r.shape === "kanbanItem" && (f.shape = r?.shape), r?.label && (f.label = r?.label), r?.icon && (f.icon = r?.icon.toString()), r?.assigned && (f.assigned = r?.assigned.toString()), r?.ticket && (f.ticket = r?.ticket.toString()), r?.priority && (f.priority = r?.priority);
793
+ }
794
+ let p = C(t);
795
+ p ? f.parentId = p.id || "kbn" + b++ : y.push(f), v.push(f);
796
+ }, "addNode"), D = {
797
+ DEFAULT: 0,
798
+ NO_BORDER: 0,
799
+ ROUNDED_RECT: 1,
800
+ RECT: 2,
801
+ CIRCLE: 3,
802
+ CLOUD: 4,
803
+ BANG: 5,
804
+ HEXAGON: 6
805
+ }, O = {
806
+ clear: S,
807
+ addNode: E,
808
+ getSections: w,
809
+ getData: T,
810
+ nodeType: D,
811
+ getType: /* @__PURE__ */ i((e, t) => {
812
+ switch (r.debug("In get type", e, t), e) {
813
+ case "[": return D.RECT;
814
+ case "(": return t === ")" ? D.ROUNDED_RECT : D.CLOUD;
815
+ case "((": return D.CIRCLE;
816
+ case ")": return D.CLOUD;
817
+ case "))": return D.BANG;
818
+ case "{{": return D.HEXAGON;
819
+ default: return D.DEFAULT;
820
+ }
821
+ }, "getType"),
822
+ setElementForId: /* @__PURE__ */ i((e, t) => {
823
+ x[e] = t;
824
+ }, "setElementForId"),
825
+ decorateNode: /* @__PURE__ */ i((e) => {
826
+ if (!e) return;
827
+ let t = u(), n = v[v.length - 1];
828
+ e.icon && (n.icon = s(e.icon, t)), e.class && (n.cssClasses = s(e.class, t));
829
+ }, "decorateNode"),
830
+ type2Str: /* @__PURE__ */ i((e) => {
831
+ switch (e) {
832
+ case D.DEFAULT: return "no-border";
833
+ case D.RECT: return "rect";
834
+ case D.ROUNDED_RECT: return "rounded-rect";
835
+ case D.CIRCLE: return "circle";
836
+ case D.CLOUD: return "cloud";
837
+ case D.BANG: return "bang";
838
+ case D.HEXAGON: return "hexgon";
839
+ default: return "no-border";
840
+ }
841
+ }, "type2Str"),
842
+ getLogger: /* @__PURE__ */ i(() => r, "getLogger"),
843
+ getElementById: /* @__PURE__ */ i((e) => x[e], "getElementById")
844
+ }, k = { draw: /* @__PURE__ */ i(async (e, n, i, a) => {
845
+ r.debug("Rendering kanban diagram\n" + e);
846
+ let s = a.db.getData(), c = u();
847
+ c.htmlLabels = !1;
848
+ let l = t(n), h = l.append("g");
849
+ h.attr("class", "sections");
850
+ let g = l.append("g");
851
+ g.attr("class", "items");
852
+ let _ = s.nodes.filter((e) => e.isGroup), v = 0, y = [], b = 25;
853
+ for (let e of _) {
854
+ let t = c?.kanban?.sectionWidth || 200;
855
+ v += 1, e.x = t * v + (v - 1) * 10 / 2, e.width = t, e.y = 0, e.height = t * 3, e.rx = 5, e.ry = 5, e.cssClasses = e.cssClasses + " section-" + v;
856
+ let n = await m(h, e);
857
+ b = Math.max(b, n?.labelBBox?.height), y.push(n);
858
+ }
859
+ let x = 0;
860
+ for (let e of _) {
861
+ let t = y[x];
862
+ x += 1;
863
+ let n = c?.kanban?.sectionWidth || 200, r = -n * 3 / 2 + b, i = r, a = s.nodes.filter((t) => t.parentId === e.id);
864
+ for (let t of a) {
865
+ if (t.isGroup) throw Error("Groups within groups are not allowed in Kanban diagrams");
866
+ t.x = e.x, t.width = n - 1.5 * 10;
867
+ let r = (await f(g, t, { config: c })).node().getBBox();
868
+ t.y = i + r.height / 2, await p(t), i = t.y + r.height / 2 + 10 / 2;
869
+ }
870
+ let o = t.cluster.select("rect"), l = Math.max(i - r + 30, 50) + (b - 25);
871
+ o.attr("height", l);
872
+ }
873
+ o(void 0, l, c.mindmap?.padding ?? d.kanban.padding, c.mindmap?.useMaxWidth ?? d.kanban.useMaxWidth);
874
+ }, "draw") }, A = /* @__PURE__ */ i((e) => {
875
+ let t = "";
876
+ for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) e["lineColor" + t] = e["lineColor" + t] || e["cScaleInv" + t], a(e["lineColor" + t]) ? e["lineColor" + t] = c(e["lineColor" + t], 20) : e["lineColor" + t] = l(e["lineColor" + t], 20);
877
+ let n = /* @__PURE__ */ i((t, n) => e.darkMode ? l(t, n) : c(t, n), "adjuster");
878
+ for (let r = 0; r < e.THEME_COLOR_LIMIT; r++) {
879
+ let i = "" + (17 - 3 * r);
880
+ t += `
881
+ .section-${r - 1} rect, .section-${r - 1} path, .section-${r - 1} circle, .section-${r - 1} polygon, .section-${r - 1} path {
882
+ fill: ${n(e["cScale" + r], 10)};
883
+ stroke: ${n(e["cScale" + r], 10)};
884
+
885
+ }
886
+ .section-${r - 1} text {
887
+ fill: ${e["cScaleLabel" + r]};
888
+ }
889
+ .node-icon-${r - 1} {
890
+ font-size: 40px;
891
+ color: ${e["cScaleLabel" + r]};
892
+ }
893
+ .section-edge-${r - 1}{
894
+ stroke: ${e["cScale" + r]};
895
+ }
896
+ .edge-depth-${r - 1}{
897
+ stroke-width: ${i};
898
+ }
899
+ .section-${r - 1} line {
900
+ stroke: ${e["cScaleInv" + r]} ;
901
+ stroke-width: 3;
902
+ }
903
+
904
+ .disabled, .disabled circle, .disabled text {
905
+ fill: lightgray;
906
+ }
907
+ .disabled text {
908
+ fill: #efefef;
909
+ }
910
+
911
+ .node rect,
912
+ .node circle,
913
+ .node ellipse,
914
+ .node polygon,
915
+ .node path {
916
+ fill: ${e.background};
917
+ stroke: ${e.nodeBorder};
918
+ stroke-width: 1px;
919
+ }
920
+
921
+ .kanban-ticket-link {
922
+ fill: ${e.background};
923
+ stroke: ${e.nodeBorder};
924
+ text-decoration: underline;
925
+ }
926
+ `;
927
+ }
928
+ return t;
929
+ }, "genSections"), j = {
930
+ db: O,
931
+ renderer: k,
932
+ parser: _,
933
+ styles: /* @__PURE__ */ i((e) => `
934
+ .edge {
935
+ stroke-width: 3;
936
+ }
937
+ ${A(e)}
938
+ .section-root rect, .section-root path, .section-root circle, .section-root polygon {
939
+ fill: ${e.git0};
940
+ }
941
+ .section-root text {
942
+ fill: ${e.gitBranchLabel0};
943
+ }
944
+ .icon-container {
945
+ height:100%;
946
+ display: flex;
947
+ justify-content: center;
948
+ align-items: center;
949
+ }
950
+ .edge {
951
+ fill: none;
952
+ }
953
+ .cluster-label, .label {
954
+ color: ${e.textColor};
955
+ fill: ${e.textColor};
956
+ }
957
+ .kanban-label {
958
+ dy: 1em;
959
+ alignment-baseline: middle;
960
+ text-anchor: middle;
961
+ dominant-baseline: middle;
962
+ text-align: center;
963
+ }
964
+ ${h()}
965
+ `, "getStyles")
966
+ };
967
+ //#endregion
968
+ export { j as diagram };