mio-previewer 0.2.73 → 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 (282) hide show
  1. package/README.md +1 -0
  2. package/README.zh-CN.md +2 -1
  3. package/dist/_basePickBy-CXmXW7jd.js +166 -0
  4. package/dist/_basePickBy-CtuVwROD.cjs +1 -0
  5. package/dist/_baseUniq-CGoiOkSa.js +682 -0
  6. package/dist/_baseUniq-CYtOXxfV.cjs +1 -0
  7. package/dist/_createAssigner-DqH64jc7.cjs +1 -0
  8. package/dist/_createAssigner-IEX8lwxm.js +573 -0
  9. package/dist/arc-C78br9Yj.cjs +1 -0
  10. package/dist/arc-vLgDTVZZ.js +80 -0
  11. package/dist/architecture-O4VJ6CD3-B9qzjtV8.cjs +1 -0
  12. package/dist/architecture-O4VJ6CD3-wqAP4onK.js +2 -0
  13. package/dist/architectureDiagram-VXUJARFQ-CYbuyVAs.js +4039 -0
  14. package/dist/architectureDiagram-VXUJARFQ-DEGYSl1f.cjs +36 -0
  15. package/dist/array-CApNbSU9.js +6 -0
  16. package/dist/array-DZSRzHA_.cjs +1 -0
  17. package/dist/assets/parser.worker-Bzb1GItl.js +14 -0
  18. package/dist/blockDiagram-VD42YOAC-DaH3L5Ng.js +3009 -0
  19. package/dist/blockDiagram-VD42YOAC-DeX0dq72.cjs +122 -0
  20. package/dist/c4Diagram-YG6GDRKO-CIThIYo6.js +2959 -0
  21. package/dist/c4Diagram-YG6GDRKO-Dz6dif_9.cjs +10 -0
  22. package/dist/channel-BWHkpgVD.cjs +1 -0
  23. package/dist/channel-JT7eWw2w.js +5 -0
  24. package/dist/chunk-4BX2VUAB-BZTgbbzC.js +8 -0
  25. package/dist/chunk-4BX2VUAB-HXFjpyQg.cjs +1 -0
  26. package/dist/chunk-55IACEB6-DWUqxxdp.js +8 -0
  27. package/dist/chunk-55IACEB6-Hy_THNUs.cjs +1 -0
  28. package/dist/chunk-ABZYJK2D-CbIYYZa_.cjs +80 -0
  29. package/dist/chunk-ABZYJK2D-DDrmE3Q7.js +2518 -0
  30. package/dist/chunk-ATLVNIR6-DHlCNWnJ.js +67 -0
  31. package/dist/chunk-ATLVNIR6-shAOudT0.cjs +1 -0
  32. package/dist/chunk-B4BG7PRW-C67vroOS.cjs +165 -0
  33. package/dist/chunk-B4BG7PRW-DSYuK8dI.js +3116 -0
  34. package/dist/chunk-BNMv73og.cjs +1 -0
  35. package/dist/chunk-CVBHYZKI-CLVcv_xh.cjs +1 -0
  36. package/dist/chunk-CVBHYZKI-CiCGetln.js +12 -0
  37. package/dist/chunk-DI55MBZ5-BCvBgHrp.cjs +220 -0
  38. package/dist/chunk-DI55MBZ5-Clru0TyG.js +2000 -0
  39. package/dist/chunk-Dbv0sNQl.js +20 -0
  40. package/dist/chunk-FMBD7UC4-D4kohRVY.js +5 -0
  41. package/dist/{chunk-FMBD7UC4-DxkUZTpt.cjs → chunk-FMBD7UC4-DWMVCXKq.cjs} +2 -2
  42. package/dist/chunk-HN2XXSSU-BwmRMa2r.cjs +1 -0
  43. package/dist/chunk-HN2XXSSU-CJL8wAZ2.js +76 -0
  44. package/dist/chunk-JA3XYJ7Z-BaAdjYEy.cjs +70 -0
  45. package/dist/chunk-JA3XYJ7Z-CpKHrbOX.js +1849 -0
  46. package/dist/chunk-JZLCHNYA-CYo7ykJf.js +4863 -0
  47. package/dist/chunk-JZLCHNYA-CvPIQFXP.cjs +54 -0
  48. package/dist/chunk-QN33PNHL-BFbXAWI4.js +25 -0
  49. package/dist/chunk-QN33PNHL-Cu0FHarG.cjs +1 -0
  50. package/dist/chunk-QXUST7PY-CnnfdJrM.cjs +7 -0
  51. package/dist/chunk-QXUST7PY-CxCAwQqP.js +488 -0
  52. package/dist/chunk-QZHKN3VN-2e6nJr8c.cjs +1 -0
  53. package/dist/chunk-QZHKN3VN-Dal4kx9B.js +15 -0
  54. package/dist/chunk-S3R3BYOJ-B2ozcJNg.cjs +2 -0
  55. package/dist/chunk-S3R3BYOJ-CG6GoSCd.js +1119 -0
  56. package/dist/chunk-TZMSLE5B-CooeLs4Q.js +57 -0
  57. package/dist/chunk-TZMSLE5B-D92K1Ja5.cjs +1 -0
  58. package/dist/classDiagram-2ON5EDUG-Bv1XCvDZ.js +28 -0
  59. package/dist/classDiagram-2ON5EDUG-BzMV1CJW.cjs +1 -0
  60. package/dist/classDiagram-v2-WZHVMYZB-Bqxv5U7u.js +28 -0
  61. package/dist/classDiagram-v2-WZHVMYZB-BzMV1CJW.cjs +1 -0
  62. package/dist/clone-B0KDIkSS.js +8 -0
  63. package/dist/clone-wvtBTB6v.cjs +1 -0
  64. package/dist/cose-bilkent-S5V4N54A-DMHTv1aW.cjs +1 -0
  65. package/dist/cose-bilkent-S5V4N54A-bGPAcpg6.js +2250 -0
  66. package/dist/custom-Bl_fVJZ0.cjs +84 -0
  67. package/dist/custom-D-TzPpWT.js +5281 -0
  68. package/dist/cytoscape.esm-CElDUMAx.cjs +321 -0
  69. package/dist/cytoscape.esm-xf9dtmBj.js +18100 -0
  70. package/dist/dagre-6UL2VRFP-3bgUxzqG.js +294 -0
  71. package/dist/dagre-6UL2VRFP-B3NqmIxs.cjs +4 -0
  72. package/dist/dagre-BfAHSwtP.js +1472 -0
  73. package/dist/dagre-Buvkww-e.cjs +1 -0
  74. package/dist/defaultLocale-B5dSAwiC.js +201 -0
  75. package/dist/defaultLocale-G0HsdRIB.cjs +1 -0
  76. package/dist/diagram-PSM6KHXK-C4FjxUHt.cjs +24 -0
  77. package/dist/diagram-PSM6KHXK-CF8TkgzX.js +527 -0
  78. package/dist/diagram-QEK2KX5R-Dl3IHeA5.js +213 -0
  79. package/dist/diagram-QEK2KX5R-Z9DYjr44.cjs +43 -0
  80. package/dist/diagram-S2PKOQOG-Bib-zL2S.cjs +24 -0
  81. package/dist/diagram-S2PKOQOG-ZKvn7IEe.js +133 -0
  82. package/dist/dist-DC-lM4uX.cjs +1 -0
  83. package/dist/dist-zNcLEPGR.js +51 -0
  84. package/dist/erDiagram-Q2GNP2WA-DFMV9OUT.cjs +60 -0
  85. package/dist/erDiagram-Q2GNP2WA-DJYJEzEB.js +1600 -0
  86. package/dist/flowDiagram-NV44I4VS-7TxeawHS.cjs +162 -0
  87. package/dist/flowDiagram-NV44I4VS-CXa6ycqs.js +4128 -0
  88. package/dist/ganttDiagram-LVOFAZNH-DqT7pu4m.js +2869 -0
  89. package/dist/ganttDiagram-LVOFAZNH-iiExGpwF.cjs +267 -0
  90. package/dist/gitGraph-ZV4HHKMB-BjaEVcYh.cjs +1 -0
  91. package/dist/gitGraph-ZV4HHKMB-Cl2I6-l3.js +2 -0
  92. package/dist/gitGraphDiagram-NY62KEGX-Tphu_MeC.js +621 -0
  93. package/dist/gitGraphDiagram-NY62KEGX-k5xzXg7C.cjs +65 -0
  94. package/dist/graphlib-C3tPLMbC.js +225 -0
  95. package/dist/graphlib-Cdg0u3TT.cjs +1 -0
  96. package/dist/info-63CPKGFF-D2A5GDFo.js +2 -0
  97. package/dist/info-63CPKGFF-MRaucWlf.cjs +1 -0
  98. package/dist/infoDiagram-F6ZHWCRC-3Jwo4J0f.cjs +2 -0
  99. package/dist/infoDiagram-F6ZHWCRC-BUoruN76.js +19 -0
  100. package/dist/init-07zIhv_j.cjs +1 -0
  101. package/dist/init-Bwwdo3M6.js +15 -0
  102. package/dist/journeyDiagram-XKPGCS4Q-C_3oD9RV.cjs +139 -0
  103. package/dist/journeyDiagram-XKPGCS4Q-DB7INfrf.js +883 -0
  104. package/dist/kanban-definition-3W4ZIXB7-AVLIBuMF.js +968 -0
  105. package/dist/kanban-definition-3W4ZIXB7-txUXjKzB.cjs +89 -0
  106. package/dist/katex-6UpFeIdV.cjs +261 -0
  107. package/dist/katex-BHcJffnM.js +22112 -0
  108. package/dist/line-DYhVGH2B.js +34 -0
  109. package/dist/line-DdNAPGaw.cjs +1 -0
  110. package/dist/linear-n4_iirEu.js +289 -0
  111. package/dist/linear-rQLpRrSH.cjs +1 -0
  112. package/dist/loadCss-D6257oR0.js +8 -0
  113. package/dist/loadCss-DhrQh6-A.cjs +1 -0
  114. package/dist/markdown-it-Cz3KGZjR.cjs +2 -0
  115. package/dist/markdown-it-D-hH4G7k.js +173 -0
  116. package/dist/math-G8rF7UWn.cjs +1 -0
  117. package/dist/math-H49DsxYR.js +10 -0
  118. package/dist/mermaid-parser.core-B84fnaGG.js +11904 -0
  119. package/dist/mermaid-parser.core-C9EbhVVg.cjs +82 -0
  120. package/dist/mindmap-definition-VGOIOE7T-CXlyYsc6.cjs +68 -0
  121. package/dist/mindmap-definition-VGOIOE7T-VIt9sDN3.js +963 -0
  122. package/dist/mio-previewer.cjs.js +11 -21
  123. package/dist/mio-previewer.css +2 -9
  124. package/dist/mio-previewer.esm.js +4939 -0
  125. package/dist/ordinal-C55HfHHp.js +65 -0
  126. package/dist/ordinal-CUPR-p0T.cjs +1 -0
  127. package/dist/packet-HUATNLJX-CGNko_oS.cjs +1 -0
  128. package/dist/packet-HUATNLJX-CVx40lqO.js +2 -0
  129. package/dist/path-DNvJyUE8.js +85 -0
  130. package/dist/path-Kklx0M1v.cjs +1 -0
  131. package/dist/pie-WTHONI2E-BdPx0Cfg.cjs +1 -0
  132. package/dist/pie-WTHONI2E-DX5V8x0L.js +2 -0
  133. package/dist/pieDiagram-ADFJNKIX-BysReYfx.js +165 -0
  134. package/dist/pieDiagram-ADFJNKIX-CTT1YMsk.cjs +30 -0
  135. package/dist/plugins/custom.cjs.js +1 -1
  136. package/dist/plugins/custom.esm.js +2 -0
  137. package/dist/plugins/markdown-it.cjs.js +1 -3
  138. package/dist/plugins/markdown-it.esm.js +2 -0
  139. package/dist/quadrantDiagram-AYHSOK5B-8-V3cwsC.cjs +7 -0
  140. package/dist/quadrantDiagram-AYHSOK5B-DRutDK03.js +1974 -0
  141. package/dist/radar-NJJJXTRR-CTD6M8nl.js +2 -0
  142. package/dist/radar-NJJJXTRR-wJoTnQbj.cjs +1 -0
  143. package/dist/requirementDiagram-UZGBJVZJ-DFRpWnfW.cjs +64 -0
  144. package/dist/requirementDiagram-UZGBJVZJ-DNYoJyhG.js +2191 -0
  145. package/dist/sankeyDiagram-TZEHDZUN-B9fxDP0Q.cjs +10 -0
  146. package/dist/sankeyDiagram-TZEHDZUN-DD6bkI4Z.js +920 -0
  147. package/dist/sequenceDiagram-WL72ISMW-Bmptok1c.js +3562 -0
  148. package/dist/sequenceDiagram-WL72ISMW-D9sXtgAn.cjs +145 -0
  149. package/dist/src-BMjps4Ui.cjs +1 -0
  150. package/dist/src-BuisGndr.js +2149 -0
  151. package/dist/stateDiagram-FKZM4ZOC-Bmiw8fnW.js +217 -0
  152. package/dist/stateDiagram-FKZM4ZOC-DiD1WJPM.cjs +1 -0
  153. package/dist/stateDiagram-v2-4FDKWEC3-5ADhn1IF.js +27 -0
  154. package/dist/stateDiagram-v2-4FDKWEC3-BjhmCPL1.cjs +1 -0
  155. package/dist/timeline-definition-IT6M3QCI-C9VMls3W.js +830 -0
  156. package/dist/timeline-definition-IT6M3QCI-ZzbHXhNl.cjs +61 -0
  157. package/dist/treemap-75Q7IDZK-9TPMYr3R.cjs +1 -0
  158. package/dist/treemap-75Q7IDZK-u3p-cHDL.js +2 -0
  159. package/dist/types/plugins/custom/codeBlockPlugin.d.ts +8 -0
  160. package/dist/types/plugins/custom/mermaidPlugin.d.ts +4 -0
  161. package/dist/xychartDiagram-PRI3JC2R-BI6KuGZ2.cjs +7 -0
  162. package/dist/xychartDiagram-PRI3JC2R-BWabDL1u.js +2041 -0
  163. package/package.json +2 -2
  164. package/dist/_basePickBy-Be3yyf2d.js +0 -151
  165. package/dist/_basePickBy-Z0DtrAKQ.cjs +0 -1
  166. package/dist/_baseUniq-BXkA0Pgx.js +0 -614
  167. package/dist/_baseUniq-Dq2eV1vY.cjs +0 -1
  168. package/dist/arc-B-QGG8RZ.cjs +0 -1
  169. package/dist/arc-djW14lrn.js +0 -83
  170. package/dist/architecture-O4VJ6CD3-Cws_zM2K.cjs +0 -1
  171. package/dist/architecture-O4VJ6CD3-pdMXTCaT.js +0 -5
  172. package/dist/architectureDiagram-VXUJARFQ-BwchhvqL.js +0 -4661
  173. package/dist/architectureDiagram-VXUJARFQ-DxDLWGpO.cjs +0 -36
  174. package/dist/assets/parser.worker-67NQKZt5.js +0 -16
  175. package/dist/blockDiagram-VD42YOAC-B4Xc8gfX.cjs +0 -122
  176. package/dist/blockDiagram-VD42YOAC-DpPneP6J.js +0 -2261
  177. package/dist/c4Diagram-YG6GDRKO-695lQbrZ.cjs +0 -10
  178. package/dist/c4Diagram-YG6GDRKO-Cnlax2Xq.js +0 -1580
  179. package/dist/channel-D_ITz6Jy.cjs +0 -1
  180. package/dist/channel-sXy9EduO.js +0 -5
  181. package/dist/chunk-4BX2VUAB-Bdx3_f83.cjs +0 -1
  182. package/dist/chunk-4BX2VUAB-DRkGmgAZ.js +0 -8
  183. package/dist/chunk-55IACEB6-BB03hpRC.cjs +0 -1
  184. package/dist/chunk-55IACEB6-Ord5OQlh.js +0 -8
  185. package/dist/chunk-B4BG7PRW-Ca0fOgzA.cjs +0 -165
  186. package/dist/chunk-B4BG7PRW-D-cs8bDX.js +0 -1375
  187. package/dist/chunk-DI55MBZ5-BsRe2B2M.cjs +0 -220
  188. package/dist/chunk-DI55MBZ5-DSmlLD1s.js +0 -1370
  189. package/dist/chunk-FMBD7UC4-IYQmAMTo.js +0 -19
  190. package/dist/chunk-QN33PNHL-B7G6Qlf3.cjs +0 -1
  191. package/dist/chunk-QN33PNHL-EYMc4JVr.js +0 -19
  192. package/dist/chunk-QZHKN3VN-B8NJ6Ahx.cjs +0 -1
  193. package/dist/chunk-QZHKN3VN-C4WIG5z8.js +0 -15
  194. package/dist/chunk-TZMSLE5B-BoM53RHv.js +0 -64
  195. package/dist/chunk-TZMSLE5B-CgLDb48A.cjs +0 -1
  196. package/dist/classDiagram-2ON5EDUG-CxmdZvqc.js +0 -16
  197. package/dist/classDiagram-2ON5EDUG-DIRim8qa.cjs +0 -1
  198. package/dist/classDiagram-v2-WZHVMYZB-CxmdZvqc.js +0 -16
  199. package/dist/classDiagram-v2-WZHVMYZB-DIRim8qa.cjs +0 -1
  200. package/dist/clone-DOYxaT_d.js +0 -8
  201. package/dist/clone-DSlm33NG.cjs +0 -1
  202. package/dist/cose-bilkent-S5V4N54A-BD3p1OC_.cjs +0 -1
  203. package/dist/cose-bilkent-S5V4N54A-yLoaqH3G.js +0 -2608
  204. package/dist/cytoscape.esm-DHF7mANN.cjs +0 -331
  205. package/dist/cytoscape.esm-DfdJODL8.js +0 -18735
  206. package/dist/dagre-6UL2VRFP-DG1oQ4B2.cjs +0 -4
  207. package/dist/dagre-6UL2VRFP-VjboDBbp.js +0 -444
  208. package/dist/defaultLocale-D7EN2tov.js +0 -171
  209. package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
  210. package/dist/diagram-PSM6KHXK-C1p0l5TY.js +0 -531
  211. package/dist/diagram-PSM6KHXK-a4rni6rJ.cjs +0 -24
  212. package/dist/diagram-QEK2KX5R-CErKOsX1.cjs +0 -43
  213. package/dist/diagram-QEK2KX5R-CKmmuumX.js +0 -217
  214. package/dist/diagram-S2PKOQOG-B1M7qCNl.cjs +0 -24
  215. package/dist/diagram-S2PKOQOG-BMLCJExF.js +0 -142
  216. package/dist/erDiagram-Q2GNP2WA-BfuCa_Za.cjs +0 -60
  217. package/dist/erDiagram-Q2GNP2WA-fOTsQA-d.js +0 -841
  218. package/dist/flowDiagram-NV44I4VS-BEqeUuqz.cjs +0 -162
  219. package/dist/flowDiagram-NV44I4VS-DDwRAjVG.js +0 -1620
  220. package/dist/ganttDiagram-LVOFAZNH-BbuRS8g3.js +0 -2505
  221. package/dist/ganttDiagram-LVOFAZNH-BlVeWKRf.cjs +0 -267
  222. package/dist/gitGraph-ZV4HHKMB-Bmu8r_Iq.cjs +0 -1
  223. package/dist/gitGraph-ZV4HHKMB-DcQ2E4dF.js +0 -5
  224. package/dist/gitGraphDiagram-NY62KEGX-DcMEeNh7.cjs +0 -65
  225. package/dist/gitGraphDiagram-NY62KEGX-_sWVSKbL.js +0 -699
  226. package/dist/graph-DEnt0OtZ.js +0 -247
  227. package/dist/graph-Dgcjs2XL.cjs +0 -1
  228. package/dist/info-63CPKGFF-DVDDcoHy.js +0 -5
  229. package/dist/info-63CPKGFF-Dc3cWL0G.cjs +0 -1
  230. package/dist/infoDiagram-F6ZHWCRC-DoUSS0kC.js +0 -24
  231. package/dist/infoDiagram-F6ZHWCRC-ZeTrjgaE.cjs +0 -2
  232. package/dist/init-CHZsXQcr.cjs +0 -1
  233. package/dist/init-DjUOC4st.js +0 -16
  234. package/dist/journeyDiagram-XKPGCS4Q-DGe13iBu.js +0 -834
  235. package/dist/journeyDiagram-XKPGCS4Q-Ihl9g4mY.cjs +0 -139
  236. package/dist/kanban-definition-3W4ZIXB7-2qkrkVLK.cjs +0 -89
  237. package/dist/kanban-definition-3W4ZIXB7-BhWe5nMU.js +0 -719
  238. package/dist/katex-CmGeg_OO.js +0 -11692
  239. package/dist/katex-DEiiRhcn.cjs +0 -261
  240. package/dist/layout-BDNzBIaA.cjs +0 -1
  241. package/dist/layout-DTBfbHzy.js +0 -1324
  242. package/dist/linear-BRl2UYUr.cjs +0 -1
  243. package/dist/linear-CwbXkgvF.js +0 -259
  244. package/dist/loadCss-BbD6mdv-.cjs +0 -1
  245. package/dist/loadCss-DS0Fuaxe.js +0 -8
  246. package/dist/mermaid-parser.core-CJ1yJm0s.js +0 -12966
  247. package/dist/mermaid-parser.core-CxTcWSA2.cjs +0 -128
  248. package/dist/mindmap-definition-VGOIOE7T-BPUEmP7g.cjs +0 -68
  249. package/dist/mindmap-definition-VGOIOE7T-DSqZBgzR.js +0 -784
  250. package/dist/mio-previewer.es.js +0 -6171
  251. package/dist/ordinal-CagbB1m8.cjs +0 -1
  252. package/dist/ordinal-DfAQgscy.js +0 -61
  253. package/dist/packet-HUATNLJX-B-qfkr5X.cjs +0 -1
  254. package/dist/packet-HUATNLJX-Dxob_meO.js +0 -5
  255. package/dist/pie-WTHONI2E-BRtdTGWt.js +0 -5
  256. package/dist/pie-WTHONI2E-DK7f6qJw.cjs +0 -1
  257. package/dist/pieDiagram-ADFJNKIX-Dhq_bEzm.js +0 -161
  258. package/dist/pieDiagram-ADFJNKIX-V04ms3gr.cjs +0 -30
  259. package/dist/plugins/custom.es.js +0 -85
  260. package/dist/plugins/markdown-it.es.js +0 -173
  261. package/dist/quadrantDiagram-AYHSOK5B-C97bOmUE.js +0 -1022
  262. package/dist/quadrantDiagram-AYHSOK5B-DlqFPVhi.cjs +0 -7
  263. package/dist/radar-NJJJXTRR-B9jT3LP3.cjs +0 -1
  264. package/dist/radar-NJJJXTRR-D8plmle3.js +0 -5
  265. package/dist/requirementDiagram-UZGBJVZJ-BxVMLKfQ.js +0 -850
  266. package/dist/requirementDiagram-UZGBJVZJ-DENJ74Ew.cjs +0 -64
  267. package/dist/sankeyDiagram-TZEHDZUN-DwgW7Suq.js +0 -810
  268. package/dist/sankeyDiagram-TZEHDZUN-lTBLhaSq.cjs +0 -10
  269. package/dist/sequenceDiagram-WL72ISMW-BAOeX1dA.js +0 -2511
  270. package/dist/sequenceDiagram-WL72ISMW-BRVvH1X4.cjs +0 -145
  271. package/dist/stateDiagram-FKZM4ZOC-BrFQE7Gl.js +0 -263
  272. package/dist/stateDiagram-FKZM4ZOC-D8GjooGL.cjs +0 -1
  273. package/dist/stateDiagram-v2-4FDKWEC3-4VRIY-eH.cjs +0 -1
  274. package/dist/stateDiagram-v2-4FDKWEC3-DnrWD6a3.js +0 -16
  275. package/dist/timeline-definition-IT6M3QCI-BJMIlueb.js +0 -795
  276. package/dist/timeline-definition-IT6M3QCI-BQFGUuGP.cjs +0 -61
  277. package/dist/treemap-75Q7IDZK-BX1vBFWf.cjs +0 -1
  278. package/dist/treemap-75Q7IDZK-CMTkunTV.js +0 -5
  279. package/dist/viewer-CZUSHxhf.js +0 -19131
  280. package/dist/viewer-Canph5Zx.cjs +0 -305
  281. package/dist/xychartDiagram-PRI3JC2R-Sl8WX8wc.cjs +0 -7
  282. package/dist/xychartDiagram-PRI3JC2R-WnFI7Ezu.js +0 -1340
@@ -1,61 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./viewer-Canph5Zx.cjs"),tt=require("./arc-B-QGG8RZ.cjs");var J=(function(){var r=n.__name(function(m,s,a,c){for(a=a||{},c=m.length;c--;a[m[c]]=s);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],i=[1,11],d=[1,12],h=[1,13],_=[1,16],f=[1,17],p={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:n.__name(function(s,a,c,u,g,o,w){var k=o.length-1;switch(g){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},r(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:i,16:d,17:h,18:14,19:15,20:_,21:f},r(t,[2,7],{1:[2,1]}),r(t,[2,3]),{9:18,11:e,12:l,14:i,16:d,17:h,18:14,19:15,20:_,21:f},r(t,[2,5]),r(t,[2,6]),r(t,[2,8]),{13:[1,19]},{15:[1,20]},r(t,[2,11]),r(t,[2,12]),r(t,[2,13]),r(t,[2,14]),r(t,[2,15]),r(t,[2,16]),r(t,[2,4]),r(t,[2,9]),r(t,[2,10])],defaultActions:{},parseError:n.__name(function(s,a){if(a.recoverable)this.trace(s);else{var c=new Error(s);throw c.hash=a,c}},"parseError"),parse:n.__name(function(s){var a=this,c=[0],u=[],g=[null],o=[],w=this.table,k="",I=0,H=0,z=2,G=1,M=o.slice.call(arguments,1),y=Object.create(this.lexer),b={yy:{}};for(var N in this.yy)Object.prototype.hasOwnProperty.call(this.yy,N)&&(b.yy[N]=this.yy[N]);y.setInput(s,b.yy),b.yy.lexer=y,b.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var $=y.yylloc;o.push($);var V=y.options&&y.options.ranges;typeof b.yy.parseError=="function"?this.parseError=b.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function q(E){c.length=c.length-2*E,g.length=g.length-E,o.length=o.length-E}n.__name(q,"popStack");function Y(){var E;return E=u.pop()||y.lex()||G,typeof E!="number"&&(E instanceof Array&&(u=E,E=u.pop()),E=a.symbols_[E]||E),E}n.__name(Y,"lex");for(var S,P,T,U,C={},W,L,D,B;;){if(P=c[c.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((S===null||typeof S>"u")&&(S=Y()),T=w[P]&&w[P][S]),typeof T>"u"||!T.length||!T[0]){var Z="";B=[];for(W in w[P])this.terminals_[W]&&W>z&&B.push("'"+this.terminals_[W]+"'");y.showPosition?Z="Parse error on line "+(I+1)+`:
2
- `+y.showPosition()+`
3
- Expecting `+B.join(", ")+", got '"+(this.terminals_[S]||S)+"'":Z="Parse error on line "+(I+1)+": Unexpected "+(S==G?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(Z,{text:y.match,token:this.terminals_[S]||S,line:y.yylineno,loc:$,expected:B})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+S);switch(T[0]){case 1:c.push(S),g.push(y.yytext),o.push(y.yylloc),c.push(T[1]),S=null,H=y.yyleng,k=y.yytext,I=y.yylineno,$=y.yylloc;break;case 2:if(L=this.productions_[T[1]][1],C.$=g[g.length-L],C._$={first_line:o[o.length-(L||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(L||1)].first_column,last_column:o[o.length-1].last_column},V&&(C._$.range=[o[o.length-(L||1)].range[0],o[o.length-1].range[1]]),U=this.performAction.apply(C,[k,H,I,b.yy,T[1],g,o].concat(M)),typeof U<"u")return U;L&&(c=c.slice(0,-1*L*2),g=g.slice(0,-1*L),o=o.slice(0,-1*L)),c.push(this.productions_[T[1]][0]),g.push(C.$),o.push(C._$),D=w[c[c.length-2]][c[c.length-1]],c.push(D);break;case 3:return!0}}return!0},"parse")},x=(function(){var m={EOF:1,parseError:n.__name(function(a,c){if(this.yy.parser)this.yy.parser.parseError(a,c);else throw new Error(a)},"parseError"),setInput:n.__name(function(s,a){return this.yy=a||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n.__name(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var a=s.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:n.__name(function(s){var a=s.length,c=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var g=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===u.length?this.yylloc.first_column:0)+u[u.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:n.__name(function(){return this._more=!0,this},"more"),reject:n.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;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).
4
- `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n.__name(function(s){this.unput(this.match.slice(s))},"less"),pastInput:n.__name(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n.__name(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n.__name(function(){var s=this.pastInput(),a=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
5
- `+a+"^"},"showPosition"),test_match:n.__name(function(s,a){var c,u,g;if(this.options.backtrack_lexer&&(g={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(g.yylloc.range=this.yylloc.range.slice(0))),u=s[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,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(s[0].length),this.matched+=s[0],c=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var o in g)this[o]=g[o];return!1}return!1},"test_match"),next:n.__name(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,a,c,u;this._more||(this.yytext="",this.match="");for(var g=this._currentRules(),o=0;o<g.length;o++)if(c=this._input.match(this.rules[g[o]]),c&&(!a||c[0].length>a[0].length)){if(a=c,u=o,this.options.backtrack_lexer){if(s=this.test_match(c,g[o]),s!==!1)return s;if(this._backtrack){a=!1;continue}else return!1}else if(!this.options.flex)break}return a?(s=this.test_match(a,g[u]),s!==!1?s:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:n.__name(function(){var a=this.next();return a||this.lex()},"lex"),begin:n.__name(function(a){this.conditionStack.push(a)},"begin"),popState:n.__name(function(){var a=this.conditionStack.length-1;return a>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:n.__name(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:n.__name(function(a){return a=this.conditionStack.length-1-Math.abs(a||0),a>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:n.__name(function(a){this.begin(a)},"pushState"),stateStackSize:n.__name(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:n.__name(function(a,c,u,g){switch(u){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};return m})();p.lexer=x;function v(){this.yy={}}return n.__name(v,"Parser"),v.prototype=p,p.Parser=v,new v})();J.parser=J;var _t=J,it={};n.__export(it,{addEvent:()=>ut,addSection:()=>ot,addTask:()=>dt,addTaskOrg:()=>pt,clear:()=>lt,default:()=>ft,getCommonDb:()=>at,getSections:()=>ct,getTasks:()=>ht});var R="",st=0,K=[],O=[],F=[],at=n.__name(()=>n.commonDb_exports,"getCommonDb"),lt=n.__name(function(){K.length=0,O.length=0,R="",F.length=0,n.clear()},"clear"),ot=n.__name(function(r){R=r,K.push(r)},"addSection"),ct=n.__name(function(){return K},"getSections"),ht=n.__name(function(){let r=et();const t=100;let e=0;for(;!r&&e<t;)r=et(),e++;return O.push(...F),O},"getTasks"),dt=n.__name(function(r,t,e){const l={id:st++,section:R,type:R,task:r,score:t||0,events:e?[e]:[]};F.push(l)},"addTask"),ut=n.__name(function(r){F.find(e=>e.id===st-1).events.push(r)},"addEvent"),pt=n.__name(function(r){const t={section:R,type:R,description:r,task:r,classes:[]};O.push(t)},"addTaskOrg"),et=n.__name(function(){const r=n.__name(function(e){return F[e].processed},"compileTask");let t=!0;for(const[e,l]of F.entries())r(e),t=t&&l.processed;return t},"compileTasks"),ft={clear:lt,getCommonDb:at,addSection:ot,getSections:ct,getTasks:ht,addTask:dt,addTaskOrg:pt,addEvent:ut},mt=12,j=n.__name(function(r,t){const e=r.append("rect");return e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),e.attr("rx",t.rx),e.attr("ry",t.ry),t.class!==void 0&&e.attr("class",t.class),e},"drawRect"),xt=n.__name(function(r,t){const l=r.append("circle").attr("cx",t.cx).attr("cy",t.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=r.append("g");i.append("circle").attr("cx",t.cx-15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",t.cx+15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function d(f){const p=tt.d3arc().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);f.append("path").attr("class","mouth").attr("d",p).attr("transform","translate("+t.cx+","+(t.cy+2)+")")}n.__name(d,"smile");function h(f){const p=tt.d3arc().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);f.append("path").attr("class","mouth").attr("d",p).attr("transform","translate("+t.cx+","+(t.cy+7)+")")}n.__name(h,"sad");function _(f){f.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")}return n.__name(_,"ambivalent"),t.score>3?d(i):t.score<3?h(i):_(i),l},"drawFace"),kt=n.__name(function(r,t){const e=r.append("circle");return e.attr("cx",t.cx),e.attr("cy",t.cy),e.attr("class","actor-"+t.pos),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("r",t.r),e.class!==void 0&&e.attr("class",e.class),t.title!==void 0&&e.append("title").text(t.title),e},"drawCircle"),gt=n.__name(function(r,t){const e=t.text.replace(/<br\s*\/?>/gi," "),l=r.append("text");l.attr("x",t.x),l.attr("y",t.y),l.attr("class","legend"),l.style("text-anchor",t.anchor),t.class!==void 0&&l.attr("class",t.class);const i=l.append("tspan");return i.attr("x",t.x+t.textMargin*2),i.text(e),l},"drawText"),vt=n.__name(function(r,t){function e(i,d,h,_,f){return i+","+d+" "+(i+h)+","+d+" "+(i+h)+","+(d+_-f)+" "+(i+h-f*1.2)+","+(d+_)+" "+i+","+(d+_)}n.__name(e,"genPoints");const l=r.append("polygon");l.attr("points",e(t.x,t.y,50,20,7)),l.attr("class","labelBox"),t.y=t.y+t.labelMargin,t.x=t.x+.5*t.labelMargin,gt(r,t)},"drawLabel"),bt=n.__name(function(r,t,e){const l=r.append("g"),i=Q();i.x=t.x,i.y=t.y,i.fill=t.fill,i.width=e.width,i.height=e.height,i.class="journey-section section-type-"+t.num,i.rx=3,i.ry=3,j(l,i),yt(e)(t.text,l,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+t.num},e,t.colour)},"drawSection"),nt=-1,wt=n.__name(function(r,t,e){const l=t.x+e.width/2,i=r.append("g");nt++,i.append("line").attr("id","task"+nt).attr("x1",l).attr("y1",t.y).attr("x2",l).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),xt(i,{cx:l,cy:300+(5-t.score)*30,score:t.score});const h=Q();h.x=t.x,h.y=t.y,h.fill=t.fill,h.width=e.width,h.height=e.height,h.class="task task-type-"+t.num,h.rx=3,h.ry=3,j(i,h),yt(e)(t.task,i,h.x,h.y,h.width,h.height,{class:"task"},e,t.colour)},"drawTask"),St=n.__name(function(r,t){j(r,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:"rect"}).lower()},"drawBackgroundRect"),Et=n.__name(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),Q=n.__name(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),yt=(function(){function r(i,d,h,_,f,p,x,v){const m=d.append("text").attr("x",h+f/2).attr("y",_+p/2+5).style("font-color",v).style("text-anchor","middle").text(i);l(m,x)}n.__name(r,"byText");function t(i,d,h,_,f,p,x,v,m){const{taskFontSize:s,taskFontFamily:a}=v,c=i.split(/<br\s*\/?>/gi);for(let u=0;u<c.length;u++){const g=u*s-s*(c.length-1)/2,o=d.append("text").attr("x",h+f/2).attr("y",_).attr("fill",m).style("text-anchor","middle").style("font-size",s).style("font-family",a);o.append("tspan").attr("x",h+f/2).attr("dy",g).text(c[u]),o.attr("y",_+p/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),l(o,x)}}n.__name(t,"byTspan");function e(i,d,h,_,f,p,x,v){const m=d.append("switch"),a=m.append("foreignObject").attr("x",h).attr("y",_).attr("width",f).attr("height",p).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");a.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(i),t(i,m,h,_,f,p,x,v),l(a,x)}n.__name(e,"byFo");function l(i,d){for(const h in d)h in d&&i.attr(h,d[h])}return n.__name(l,"_setTextAttrs"),function(i){return i.textPlacement==="fo"?e:i.textPlacement==="old"?r:t}})(),Tt=n.__name(function(r){r.append("defs").append("marker").attr("id","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")},"initGraphics");function X(r,t){r.each(function(){var e=n.select(this),l=e.text().split(/(\s+|<br>)/).reverse(),i,d=[],h=1.1,_=e.attr("y"),f=parseFloat(e.attr("dy")),p=e.text(null).append("tspan").attr("x",0).attr("y",_).attr("dy",f+"em");for(let x=0;x<l.length;x++)i=l[l.length-1-x],d.push(i),p.text(d.join(" ").trim()),(p.node().getComputedTextLength()>t||i==="<br>")&&(d.pop(),p.text(d.join(" ").trim()),i==="<br>"?d=[""]:d=[i],p=e.append("tspan").attr("x",0).attr("y",_).attr("dy",h+"em").text(i))})}n.__name(X,"wrap");var It=n.__name(function(r,t,e,l){const i=e%mt-1,d=r.append("g");t.section=i,d.attr("class",(t.class?t.class+" ":"")+"timeline-node "+("section-"+i));const h=d.append("g"),_=d.append("g"),p=_.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(X,t.width).node().getBBox(),x=l.fontSize?.replace?l.fontSize.replace("px",""):l.fontSize;return t.height=p.height+x*1.1*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width=t.width+2*t.padding,_.attr("transform","translate("+t.width/2+", "+t.padding/2+")"),$t(h,t,i,l),t},"drawNode"),Nt=n.__name(function(r,t,e){const l=r.append("g"),d=l.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(X,t.width).node().getBBox(),h=e.fontSize?.replace?e.fontSize.replace("px",""):e.fontSize;return l.remove(),d.height+h*1.1*.5+t.padding},"getVirtualNodeHeight"),$t=n.__name(function(r,t,e){r.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+t.type).attr("d",`M0 ${t.height-5} v${-t.height+10} q0,-5 5,-5 h${t.width-10} q5,0 5,5 v${t.height-5} H0 Z`),r.append("line").attr("class","node-line-"+e).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)},"defaultBkg"),A={drawRect:j,drawCircle:kt,drawSection:bt,drawText:gt,drawLabel:vt,drawTask:wt,drawBackgroundRect:St,getTextObj:Et,getNoteRect:Q,initGraphics:Tt,drawNode:It,getVirtualNodeHeight:Nt},Lt=n.__name(function(r,t,e,l){const i=n.getConfig2(),d=i.timeline?.leftMargin??50;n.log.debug("timeline",l.db);const h=i.securityLevel;let _;h==="sandbox"&&(_=n.select("#i"+t));const p=(h==="sandbox"?n.select(_.nodes()[0].contentDocument.body):n.select("body")).select("#"+t);p.append("g");const x=l.db.getTasks(),v=l.db.getCommonDb().getDiagramTitle();n.log.debug("task",x),A.initGraphics(p);const m=l.db.getSections();n.log.debug("sections",m);let s=0,a=0,c=0,u=0,g=50+d,o=50;u=50;let w=0,k=!0;m.forEach(function(M){const y={number:w,descr:M,section:w,width:150,padding:20,maxHeight:s},b=A.getVirtualNodeHeight(p,y,i);n.log.debug("sectionHeight before draw",b),s=Math.max(s,b+20)});let I=0,H=0;n.log.debug("tasks.length",x.length);for(const[M,y]of x.entries()){const b={number:M,descr:y,section:y.section,width:150,padding:20,maxHeight:a},N=A.getVirtualNodeHeight(p,b,i);n.log.debug("taskHeight before draw",N),a=Math.max(a,N+20),I=Math.max(I,y.events.length);let $=0;for(const V of y.events){const q={descr:V,section:y.section,number:y.section,width:150,padding:20,maxHeight:50};$+=A.getVirtualNodeHeight(p,q,i)}y.events.length>0&&($+=(y.events.length-1)*10),H=Math.max(H,$)}n.log.debug("maxSectionHeight before draw",s),n.log.debug("maxTaskHeight before draw",a),m&&m.length>0?m.forEach(M=>{const y=x.filter(V=>V.section===M),b={number:w,descr:M,section:w,width:200*Math.max(y.length,1)-50,padding:20,maxHeight:s};n.log.debug("sectionNode",b);const N=p.append("g"),$=A.drawNode(N,b,w,i);n.log.debug("sectionNode output",$),N.attr("transform",`translate(${g}, ${u})`),o+=s+50,y.length>0&&rt(p,y,w,g,o,a,i,I,H,s,!1),g+=200*Math.max(y.length,1),o=u,w++}):(k=!1,rt(p,x,w,g,o,a,i,I,H,s,!0));const z=p.node().getBBox();n.log.debug("bounds",z),v&&p.append("text").text(v).attr("x",z.width/2-d).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),c=k?s+a+150:a+100,p.append("g").attr("class","lineWrapper").append("line").attr("x1",d).attr("y1",c).attr("x2",z.width+3*d).attr("y2",c).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),n.setupGraphViewbox(void 0,p,i.timeline?.padding??50,i.timeline?.useMaxWidth??!1)},"draw"),rt=n.__name(function(r,t,e,l,i,d,h,_,f,p,x){for(const v of t){const m={descr:v.task,section:e,number:e,width:150,padding:20,maxHeight:d};n.log.debug("taskNode",m);const s=r.append("g").attr("class","taskWrapper"),c=A.drawNode(s,m,e,h).height;if(n.log.debug("taskHeight after draw",c),s.attr("transform",`translate(${l}, ${i})`),d=Math.max(d,c),v.events){const u=r.append("g").attr("class","lineWrapper");let g=d;i+=100,g=g+Mt(r,v.events,e,l,i,h),i-=100,u.append("line").attr("x1",l+190/2).attr("y1",i+d).attr("x2",l+190/2).attr("y2",i+d+100+f+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}l=l+200,x&&!h.timeline?.disableMulticolor&&e++}i=i-10},"drawTasks"),Mt=n.__name(function(r,t,e,l,i,d){let h=0;const _=i;i=i+100;for(const f of t){const p={descr:f,section:e,number:e,width:150,padding:20,maxHeight:50};n.log.debug("eventNode",p);const x=r.append("g").attr("class","eventWrapper"),m=A.drawNode(x,p,e,d).height;h=h+m,x.attr("transform",`translate(${l}, ${i})`),i=i+10+m}return i=_,h},"drawEvents"),Ht={setConf:n.__name(()=>{},"setConf"),draw:Lt},Pt=n.__name(r=>{let t="";for(let e=0;e<r.THEME_COLOR_LIMIT;e++)r["lineColor"+e]=r["lineColor"+e]||r["cScaleInv"+e],n.isDark(r["lineColor"+e])?r["lineColor"+e]=n.lighten(r["lineColor"+e],20):r["lineColor"+e]=n.darken(r["lineColor"+e],20);for(let e=0;e<r.THEME_COLOR_LIMIT;e++){const l=""+(17-3*e);t+=`
7
- .section-${e-1} rect, .section-${e-1} path, .section-${e-1} circle, .section-${e-1} path {
8
- fill: ${r["cScale"+e]};
9
- }
10
- .section-${e-1} text {
11
- fill: ${r["cScaleLabel"+e]};
12
- }
13
- .node-icon-${e-1} {
14
- font-size: 40px;
15
- color: ${r["cScaleLabel"+e]};
16
- }
17
- .section-edge-${e-1}{
18
- stroke: ${r["cScale"+e]};
19
- }
20
- .edge-depth-${e-1}{
21
- stroke-width: ${l};
22
- }
23
- .section-${e-1} line {
24
- stroke: ${r["cScaleInv"+e]} ;
25
- stroke-width: 3;
26
- }
27
-
28
- .lineWrapper line{
29
- stroke: ${r["cScaleLabel"+e]} ;
30
- }
31
-
32
- .disabled, .disabled circle, .disabled text {
33
- fill: lightgray;
34
- }
35
- .disabled text {
36
- fill: #efefef;
37
- }
38
- `}return t},"genSections"),At=n.__name(r=>`
39
- .edge {
40
- stroke-width: 3;
41
- }
42
- ${Pt(r)}
43
- .section-root rect, .section-root path, .section-root circle {
44
- fill: ${r.git0};
45
- }
46
- .section-root text {
47
- fill: ${r.gitBranchLabel0};
48
- }
49
- .icon-container {
50
- height:100%;
51
- display: flex;
52
- justify-content: center;
53
- align-items: center;
54
- }
55
- .edge {
56
- fill: none;
57
- }
58
- .eventWrapper {
59
- filter: brightness(120%);
60
- }
61
- `,"getStyles"),Ct=At,Rt={db:it,renderer:Ht,parser:_t,styles:Ct};exports.diagram=Rt;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-CxTcWSA2.cjs");exports.TreemapModule=e.TreemapModule;exports.createTreemapServices=e.createTreemapServices;
@@ -1,5 +0,0 @@
1
- import { T as a, h as m } from "./mermaid-parser.core-CJ1yJm0s.js";
2
- export {
3
- a as TreemapModule,
4
- m as createTreemapServices
5
- };