@diagrammo/dgmo 0.55.0 → 0.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/dist/advanced.d.ts +62 -2
  2. package/dist/advanced.js +190 -188
  3. package/dist/{analyzer-TDN5KJFP.js → analyzer-HQUXKZ5J.js} +3 -3
  4. package/dist/auto.css +24 -0
  5. package/dist/auto.js +155 -129
  6. package/dist/auto.mjs +1354 -729
  7. package/dist/block.css +24 -0
  8. package/dist/block.d.ts +12 -0
  9. package/dist/block.js +93 -63
  10. package/dist/{calculator-VBIT6GQF.js → calculator-BBKAAQGD.js} +3 -3
  11. package/dist/chart-meta.js +55 -55
  12. package/dist/charts-d3-Z6FOKUAL.js +29 -0
  13. package/dist/{chunk-IALX52TR.js → chunk-3D6LDLIH.js} +10 -10
  14. package/dist/{chunk-VVIRAGID.js → chunk-3G7BCZ4J.js} +20 -17
  15. package/dist/{chunk-A2ARDILY.js → chunk-3KOPPSUQ.js} +3 -3
  16. package/dist/{chunk-IWG2ECAO.js → chunk-3M6MKHIQ.js} +11 -9
  17. package/dist/{chunk-M53MDBIW.js → chunk-3NSOKT7C.js} +5 -5
  18. package/dist/{chunk-INTAQV2Y.js → chunk-3ZONSZOX.js} +5 -5
  19. package/dist/{chunk-JYDMBWRP.js → chunk-42IT4BG2.js} +2 -2
  20. package/dist/{chunk-ASPS5O6F.js → chunk-44GBBTMU.js} +7 -7
  21. package/dist/{chunk-COVYNAKJ.js → chunk-46NVO5UA.js} +3 -3
  22. package/dist/{chunk-JQLSFZZP.js → chunk-4MB4UOT5.js} +3 -3
  23. package/dist/{chunk-ITXL2KU5.js → chunk-4MJOBVY7.js} +3 -3
  24. package/dist/{chunk-LW7STMYZ.js → chunk-57RE4N22.js} +7 -7
  25. package/dist/{chunk-WITOJZGL.js → chunk-5J2RQGFG.js} +4 -4
  26. package/dist/{chunk-ZGIBV36U.js → chunk-5LBCOFA5.js} +8 -8
  27. package/dist/{chunk-FBP33UM6.js → chunk-5VLUAAAE.js} +4 -4
  28. package/dist/{chunk-P5XXIVEU.js → chunk-5XMDSXZT.js} +3 -3
  29. package/dist/{chunk-QZYGRDMM.js → chunk-6DR2GMDM.js} +100 -100
  30. package/dist/{chunk-6NJWBMJV.js → chunk-6HSRT6WI.js} +10 -10
  31. package/dist/{chunk-MEQYZZFR.js → chunk-6IVXRTXH.js} +96 -23
  32. package/dist/{chunk-FGAMFJNJ.js → chunk-6PRLPGJB.js} +14 -14
  33. package/dist/{chunk-US3P2DQO.js → chunk-6VJCURWU.js} +2 -2
  34. package/dist/{chunk-QZAW5SFH.js → chunk-7NK42OIB.js} +2 -2
  35. package/dist/{chunk-RKBCKCSF.js → chunk-7Q35X3AL.js} +2 -2
  36. package/dist/{chunk-NN5TF4OV.js → chunk-7SXTD7L6.js} +3 -3
  37. package/dist/{chunk-LCRPGGGS.js → chunk-7YPSFQFA.js} +20 -17
  38. package/dist/{chunk-JGCEFKZP.js → chunk-A6XELFU6.js} +15 -15
  39. package/dist/{chunk-RYNCWA5X.js → chunk-ADKDIWCW.js} +7 -7
  40. package/dist/{chunk-MEH4TJEX.js → chunk-APD52YJV.js} +8 -8
  41. package/dist/{chunk-PIXZTCKH.js → chunk-BIWMOFSE.js} +9 -9
  42. package/dist/{chunk-ZXNHHO6D.js → chunk-BQLJAYVB.js} +9 -9
  43. package/dist/{chunk-HO3RCNF6.js → chunk-CGLBK5Q4.js} +2 -2
  44. package/dist/{chunk-ADYKAKE3.js → chunk-CQ7Y3O67.js} +7 -4
  45. package/dist/{chunk-2R6HG6D5.js → chunk-CQJ5SE5T.js} +9 -9
  46. package/dist/{chunk-A2PTRSAO.js → chunk-CXI6X54X.js} +3 -3
  47. package/dist/{chunk-PCVXXPYU.js → chunk-CY5KE2P5.js} +57 -7
  48. package/dist/{chunk-JR7Q6GHE.js → chunk-D5FANMSG.js} +3 -3
  49. package/dist/{chunk-MSWIBF6J.js → chunk-D64FRGKU.js} +3 -3
  50. package/dist/{chunk-W4TSD3IP.js → chunk-D76B4DMV.js} +5 -5
  51. package/dist/{chunk-5K5XBEXT.js → chunk-DIKIHU52.js} +4 -4
  52. package/dist/{chunk-EMSOFHEN.js → chunk-DNSEG6P2.js} +2 -2
  53. package/dist/{chunk-UJRTPOHH.js → chunk-DUI5SMFX.js} +2 -2
  54. package/dist/{chunk-O4CZDTQA.js → chunk-EEKGMS63.js} +4 -4
  55. package/dist/{chunk-2HX6ZGY7.js → chunk-ES3MUYRX.js} +5 -5
  56. package/dist/{chunk-GRXPFBYC.js → chunk-ES66QH6J.js} +2 -2
  57. package/dist/{chunk-ZKPPI6BF.js → chunk-EXNKNJ65.js} +2 -2
  58. package/dist/{chunk-VMWSZCAK.js → chunk-FERE46TP.js} +5 -5
  59. package/dist/{chunk-GTO5VCYG.js → chunk-FMPYKUKI.js} +8 -8
  60. package/dist/{chunk-B4XS2AF2.js → chunk-FWVKPEG3.js} +3 -3
  61. package/dist/{chunk-KK3L5NVK.js → chunk-FZECLCCU.js} +4 -4
  62. package/dist/{chunk-ETTDF3S2.js → chunk-G3L4GWLA.js} +90 -59
  63. package/dist/{chunk-3IUHKMJI.js → chunk-H52HJ26L.js} +3 -3
  64. package/dist/{chunk-5H5GWWA4.js → chunk-HBRGNLF5.js} +19 -19
  65. package/dist/{chunk-BEOAKGNA.js → chunk-I55PVEIX.js} +2 -2
  66. package/dist/{chunk-EFUQENO5.js → chunk-IMXG673Y.js} +3 -3
  67. package/dist/{chunk-Y4BBGFKY.js → chunk-INU6ANOH.js} +2 -2
  68. package/dist/{chunk-32HUNA33.js → chunk-J6V3SMR3.js} +18 -15
  69. package/dist/{chunk-VXTUWXFB.js → chunk-K2GDF2ZR.js} +10 -10
  70. package/dist/{chunk-HX7QNHC6.js → chunk-KF575IXC.js} +4 -4
  71. package/dist/{chunk-5D5VHDJM.js → chunk-KH74OWHU.js} +13 -13
  72. package/dist/{chunk-ZP265ICS.js → chunk-KRKU6WRS.js} +10 -10
  73. package/dist/{chunk-JTSMEYIZ.js → chunk-L43KTQTW.js} +5 -2
  74. package/dist/{chunk-5HWPEYWB.js → chunk-LDVUPGWC.js} +2 -2
  75. package/dist/{chunk-3B2GXZCX.js → chunk-LSFZDBAP.js} +3 -3
  76. package/dist/{chunk-ZWVKTWK6.js → chunk-LV5BFA24.js} +6 -6
  77. package/dist/{chunk-IG6J7JWH.js → chunk-LZX3RLRP.js} +24 -21
  78. package/dist/{chunk-L2DIXZUT.js → chunk-M3IYDSI7.js} +24 -21
  79. package/dist/{chunk-KC3WBBI7.js → chunk-M65UOFJA.js} +12 -12
  80. package/dist/{chunk-HES4K6DV.js → chunk-MD2KWAXJ.js} +4 -4
  81. package/dist/{chunk-ETYF5QZR.js → chunk-MGLJA5TK.js} +3 -3
  82. package/dist/{chunk-RZWIPDZ2.js → chunk-MXDT446P.js} +8 -8
  83. package/dist/chunk-NCT22MOD.js +93 -0
  84. package/dist/{chunk-3BZJ5KD5.js → chunk-NFAHDPCG.js} +4 -4
  85. package/dist/{chunk-S52F62GW.js → chunk-NHZAYL2X.js} +7 -7
  86. package/dist/{chunk-YXKNXIWA.js → chunk-NIUE5VWY.js} +8 -8
  87. package/dist/chunk-NZ5QVASG.js +20 -0
  88. package/dist/{chunk-QQXFYTLC.js → chunk-OFEUXZPI.js} +38 -21
  89. package/dist/{chunk-PC4YLEKA.js → chunk-OHBIN74X.js} +4 -4
  90. package/dist/{chunk-4W2PE66Q.js → chunk-OLMWTJVU.js} +11 -1
  91. package/dist/{chunk-SCOHNGPG.js → chunk-ORZQVUGW.js} +33 -20
  92. package/dist/{chunk-4MZCJV4M.js → chunk-OYCIVSL3.js} +22 -19
  93. package/dist/{chunk-MNS2ENXF.js → chunk-PFG3EVRD.js} +4 -4
  94. package/dist/{chunk-UBQU2BY6.js → chunk-PKFW6GJD.js} +10 -10
  95. package/dist/{chunk-UXXLE6AH.js → chunk-PRKPFRC2.js} +6 -6
  96. package/dist/{chunk-AKE6C2D7.js → chunk-PUGUOFM6.js} +8 -8
  97. package/dist/{chunk-UES4P7FN.js → chunk-Q772PVKH.js} +11 -19
  98. package/dist/{chunk-F5ZNUMSY.js → chunk-QMOX5I3G.js} +22 -19
  99. package/dist/{chunk-HLGOG44K.js → chunk-QWUYFUNO.js} +3 -3
  100. package/dist/{chunk-WVGNXDEE.js → chunk-RB4HOOKP.js} +6 -6
  101. package/dist/{chunk-HUTP35XT.js → chunk-RQGNELB3.js} +5 -5
  102. package/dist/{chunk-WF64MW5G.js → chunk-RRX4Z4TH.js} +2 -2
  103. package/dist/{chunk-PSIDVCBA.js → chunk-RV2N7COG.js} +4 -4
  104. package/dist/{chunk-X3X4LZDC.js → chunk-S6QDCFEU.js} +2 -2
  105. package/dist/{chunk-NPPUZ4SK.js → chunk-SADYIA5Q.js} +9 -9
  106. package/dist/{chunk-Q5IHQ4NW.js → chunk-SCJ7CAJF.js} +2 -2
  107. package/dist/{chunk-LKGQ46P4.js → chunk-SFVG4AIG.js} +9 -9
  108. package/dist/{chunk-2ZJXKJSI.js → chunk-SQWWYGPT.js} +21 -21
  109. package/dist/{chunk-4R5KIPNX.js → chunk-ST3ZNEUQ.js} +3 -3
  110. package/dist/{chunk-SSHS42QG.js → chunk-SZCZOA2L.js} +3 -3
  111. package/dist/{chunk-HGKOVKAX.js → chunk-T2VMOWAM.js} +12 -9
  112. package/dist/{chunk-DS4MDEQ7.js → chunk-TZ72UBOA.js} +5 -5
  113. package/dist/{chunk-Q5CMQVWF.js → chunk-U3DGAE7L.js} +9 -9
  114. package/dist/{chunk-PV7ND5WL.js → chunk-U4FSWAOJ.js} +16 -16
  115. package/dist/{chunk-A4UJP4IS.js → chunk-UG4MWUXE.js} +18 -18
  116. package/dist/{chunk-NL7FUIVD.js → chunk-ULR3BVNH.js} +8 -8
  117. package/dist/{chunk-YP2T5YUP.js → chunk-USFZQPJ2.js} +5 -5
  118. package/dist/{chunk-UU6LUYUH.js → chunk-VJARCVMH.js} +2 -2
  119. package/dist/{chunk-PKUWYPI5.js → chunk-VS7DGDT3.js} +17 -25
  120. package/dist/{chunk-NYOOPQFD.js → chunk-VSFAJUEF.js} +4 -4
  121. package/dist/{chunk-XKKH2DPG.js → chunk-VYCV5WKH.js} +71 -52
  122. package/dist/{chunk-IIUYKQ5J.js → chunk-VYEQPPS6.js} +7 -7
  123. package/dist/{chunk-WB3NA3JJ.js → chunk-W4EKQ2P6.js} +2 -2
  124. package/dist/{chunk-3HDBAXF5.js → chunk-WGC42WJU.js} +8 -1
  125. package/dist/{chunk-IF4KYSJZ.js → chunk-WOMXS5R7.js} +20 -5
  126. package/dist/chunk-WTTIODDV.js +10 -0
  127. package/dist/{chunk-RSBH2C7O.js → chunk-X32RDWT5.js} +5 -5
  128. package/dist/{chunk-3FUTFYSP.js → chunk-X3ON4M5S.js} +15 -15
  129. package/dist/{chunk-3BFXELBL.js → chunk-XBTJJLAU.js} +10 -5
  130. package/dist/{chunk-AU75JHSR.js → chunk-YNAHUNMA.js} +3 -3
  131. package/dist/cli.cjs +153 -150
  132. package/dist/cloud-reference.d.ts +69 -0
  133. package/dist/cloud-reference.js +49 -0
  134. package/dist/completion-registry.js +6 -6
  135. package/dist/dgmo-router-PMEKTIJ7.js +88 -0
  136. package/dist/dimensions-XRWIPAFO.js +22 -0
  137. package/dist/element.js +156 -130
  138. package/dist/element.mjs +1354 -729
  139. package/dist/flowchart-parser-DA3V2SLH.js +21 -0
  140. package/dist/flowchart-renderer-JGLZB5P5.js +36 -0
  141. package/dist/index.js +70 -65
  142. package/dist/layout-5CX27X7I.js +21 -0
  143. package/dist/layout-AO3TPZUS.js +15 -0
  144. package/dist/layout-AQXLQVAJ.js +15 -0
  145. package/dist/layout-EQTOVNEE.js +15 -0
  146. package/dist/layout-NU5LQ4UP.js +21 -0
  147. package/dist/{layout-CB3XWCOI.js → layout-NX37NSRY.js} +3 -3
  148. package/dist/layout-OHAIIXBC.js +10 -0
  149. package/dist/layout-RIS5VTGL.js +18 -0
  150. package/dist/layout-TCWNJ2OZ.js +18 -0
  151. package/dist/{layout-CRLTSFYQ.js → layout-TZKPVXKJ.js} +6 -6
  152. package/dist/{layout-LGXOKUCD.js → layout-WHOOLGPO.js} +8 -8
  153. package/dist/{layout-search-U2H4ORFJ.js → layout-search-6CVR2MTZ.js} +320 -37
  154. package/dist/{legend-constants-B77VKB3R.js → legend-constants-QQU3QYBF.js} +5 -5
  155. package/dist/{palettes-FGTNFARW.js → palettes-WO3VA6NU.js} +4 -4
  156. package/dist/parser-4TX6U4ZU.js +11 -0
  157. package/dist/{parser-DYYTPLBL.js → parser-4ZIJDGPG.js} +6 -6
  158. package/dist/parser-5UZWYSIV.js +16 -0
  159. package/dist/{parser-PVBUAVRR.js → parser-5WMH55UA.js} +8 -8
  160. package/dist/parser-6CM27UPA.js +14 -0
  161. package/dist/parser-73YUU35J.js +11 -0
  162. package/dist/parser-A6M25MLK.js +11 -0
  163. package/dist/parser-AYZTKZC3.js +11 -0
  164. package/dist/parser-CCAUZLYI.js +15 -0
  165. package/dist/parser-D7YZX3CH.js +12 -0
  166. package/dist/parser-DQ2DGDYO.js +11 -0
  167. package/dist/parser-DTXM5ROT.js +14 -0
  168. package/dist/parser-HMQZPPOK.js +19 -0
  169. package/dist/parser-IPBEW2DG.js +13 -0
  170. package/dist/parser-IQLLBMBQ.js +15 -0
  171. package/dist/parser-KTVDCWHG.js +13 -0
  172. package/dist/parser-LMNFVTIV.js +16 -0
  173. package/dist/{parser-2LF33IS2.js → parser-MH62NYKM.js} +6 -6
  174. package/dist/parser-O5XCVGZG.js +11 -0
  175. package/dist/parser-OPOGIKFR.js +17 -0
  176. package/dist/parser-PEBXIOPX.js +12 -0
  177. package/dist/parser-PQXN6SBB.js +18 -0
  178. package/dist/parser-Q3KNFXQR.js +12 -0
  179. package/dist/parser-Q62VR2UJ.js +20 -0
  180. package/dist/parser-QEWSTNEJ.js +15 -0
  181. package/dist/{parser-SUV52NQW.js → parser-QL2LBPFE.js} +7 -7
  182. package/dist/{parser-BMOTF72G.js → parser-QN3GJJ3J.js} +5 -5
  183. package/dist/parser-RBNOWHGM.js +15 -0
  184. package/dist/parser-SJ7ECFAP.js +13 -0
  185. package/dist/parser-WT3DSNPQ.js +13 -0
  186. package/dist/{parser-TO7IENWL.js → parser-XQNM7BGD.js} +7 -7
  187. package/dist/parser-XWNSCDY6.js +13 -0
  188. package/dist/renderer-2TEGR3RX.js +26 -0
  189. package/dist/renderer-3WYLLPQL.js +27 -0
  190. package/dist/renderer-5BFS4NBL.js +24 -0
  191. package/dist/renderer-6OFPEBHG.js +25 -0
  192. package/dist/renderer-AK2X3VRY.js +30 -0
  193. package/dist/renderer-B6XOO6EE.js +20 -0
  194. package/dist/{renderer-TKTM2SL4.js → renderer-BNEO5W3E.js} +15 -15
  195. package/dist/renderer-BZZKS7KQ.js +38 -0
  196. package/dist/renderer-EJ3FETD2.js +28 -0
  197. package/dist/renderer-FQLFE3TQ.js +26 -0
  198. package/dist/renderer-HDLM6OY6.js +39 -0
  199. package/dist/renderer-HGWKAXS6.js +16 -0
  200. package/dist/renderer-I2P5FTZ2.js +39 -0
  201. package/dist/renderer-IAJMS5U5.js +30 -0
  202. package/dist/{renderer-CENXCMWG.js → renderer-JHYUK5TN.js} +8 -8
  203. package/dist/{renderer-RDBUXW7P.js → renderer-KXMKAXPQ.js} +9 -9
  204. package/dist/renderer-LMLSA457.js +25 -0
  205. package/dist/renderer-LNOBG226.js +29 -0
  206. package/dist/renderer-LRQ3OPNJ.js +27 -0
  207. package/dist/renderer-LU4R3BP2.js +16 -0
  208. package/dist/{renderer-IO4KCFVL.js → renderer-N4V7XVC3.js} +17 -16
  209. package/dist/{renderer-5EMHIQL5.js → renderer-ND7YIUHD.js} +6 -6
  210. package/dist/renderer-NKVIQA3C.js +17 -0
  211. package/dist/{renderer-TXTTV4HA.js → renderer-PLRNQ6T3.js} +15 -14
  212. package/dist/renderer-Q6TJ52B4.js +21 -0
  213. package/dist/{renderer-QZESC66H.js → renderer-RJT3MOUU.js} +5 -5
  214. package/dist/renderer-TIIHLRMM.js +19 -0
  215. package/dist/{renderer-DW6TEBLA.js → renderer-VWBNIZV3.js} +16 -16
  216. package/dist/renderer-W3JK5YVD.js +22 -0
  217. package/dist/renderer-W5GF5USI.js +25 -0
  218. package/dist/renderer-XKMG3SYD.js +23 -0
  219. package/dist/renderer-XSZ5MUIF.js +28 -0
  220. package/dist/renderer-radial-LZAPQVM5.js +21 -0
  221. package/dist/{resolver-ZSFQQRTH.js → resolver-W3WKLWDP.js} +3 -3
  222. package/dist/state-parser-NQGVYSM3.js +19 -0
  223. package/dist/state-renderer-KSAKMFQ2.js +40 -0
  224. package/docs/language-reference.md +9 -1
  225. package/package.json +6 -2
  226. package/dist/charts-d3-KZ6V4OP2.js +0 -28
  227. package/dist/chunk-BMR4CIEO.js +0 -41
  228. package/dist/dgmo-router-T4HGLIGA.js +0 -88
  229. package/dist/dimensions-3JINHSYK.js +0 -22
  230. package/dist/flowchart-parser-M7KKTLX7.js +0 -21
  231. package/dist/flowchart-renderer-FFEQFQEU.js +0 -35
  232. package/dist/layout-3ZZBKUQC.js +0 -20
  233. package/dist/layout-AUKTWGYL.js +0 -15
  234. package/dist/layout-FNZDJGKF.js +0 -19
  235. package/dist/layout-GHWRJKZQ.js +0 -15
  236. package/dist/layout-NF4EWFLT.js +0 -17
  237. package/dist/layout-SP7HJWKA.js +0 -17
  238. package/dist/layout-UR7CYAHL.js +0 -23
  239. package/dist/layout-UTMEVFHN.js +0 -15
  240. package/dist/parser-2AXPSKWB.js +0 -14
  241. package/dist/parser-2AZ2KQTO.js +0 -12
  242. package/dist/parser-3QJ2Z4H4.js +0 -11
  243. package/dist/parser-5GCQFSTQ.js +0 -13
  244. package/dist/parser-62OHBRU5.js +0 -11
  245. package/dist/parser-7LYJFZCP.js +0 -14
  246. package/dist/parser-CIFLYZYP.js +0 -15
  247. package/dist/parser-D2UL2G5U.js +0 -11
  248. package/dist/parser-DM2APTKB.js +0 -11
  249. package/dist/parser-GOUGUTPU.js +0 -12
  250. package/dist/parser-HGVUVD6J.js +0 -11
  251. package/dist/parser-IEJD3CZB.js +0 -11
  252. package/dist/parser-JBEWNLAV.js +0 -20
  253. package/dist/parser-JMXPHNZD.js +0 -12
  254. package/dist/parser-JMXSQY3K.js +0 -13
  255. package/dist/parser-LUXS7J32.js +0 -16
  256. package/dist/parser-M5BUHULF.js +0 -15
  257. package/dist/parser-MESRHUS4.js +0 -17
  258. package/dist/parser-OOYNI2UT.js +0 -15
  259. package/dist/parser-QKRBSQLJ.js +0 -18
  260. package/dist/parser-S6NWSIJO.js +0 -16
  261. package/dist/parser-SFEK6Q7Z.js +0 -19
  262. package/dist/parser-SZHGLOOZ.js +0 -13
  263. package/dist/parser-TVAMC7CQ.js +0 -13
  264. package/dist/parser-VAW46R57.js +0 -13
  265. package/dist/parser-XDSPOXSE.js +0 -15
  266. package/dist/renderer-3PWLOJPD.js +0 -29
  267. package/dist/renderer-5PODNLYP.js +0 -16
  268. package/dist/renderer-AQJIQ2XU.js +0 -25
  269. package/dist/renderer-BEW3AYFT.js +0 -28
  270. package/dist/renderer-C3UYAXA6.js +0 -26
  271. package/dist/renderer-CXM3ARYN.js +0 -23
  272. package/dist/renderer-FE5M6SEZ.js +0 -25
  273. package/dist/renderer-FXK6ZL3P.js +0 -20
  274. package/dist/renderer-G5ESLCJB.js +0 -29
  275. package/dist/renderer-HTDS4FED.js +0 -37
  276. package/dist/renderer-IRAFJNTK.js +0 -27
  277. package/dist/renderer-K7XLVPH5.js +0 -17
  278. package/dist/renderer-MFTTFW32.js +0 -38
  279. package/dist/renderer-MPXI4FVL.js +0 -24
  280. package/dist/renderer-NVBEMQ6L.js +0 -19
  281. package/dist/renderer-OOGDCR6K.js +0 -16
  282. package/dist/renderer-Q5P72O4A.js +0 -26
  283. package/dist/renderer-S4XB3JR2.js +0 -27
  284. package/dist/renderer-SIWEEWJ5.js +0 -26
  285. package/dist/renderer-UZIU4AHK.js +0 -28
  286. package/dist/renderer-V72VJIGG.js +0 -38
  287. package/dist/renderer-VEGOEZOI.js +0 -25
  288. package/dist/renderer-W6I6T2TA.js +0 -21
  289. package/dist/renderer-WSHJRR2T.js +0 -22
  290. package/dist/renderer-radial-AG75PBYD.js +0 -21
  291. package/dist/state-parser-KIPZGIB4.js +0 -19
  292. package/dist/state-renderer-U6OSJG52.js +0 -39
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RT7ACF77.js";
4
4
  import {
5
5
  makeDgmoError
6
- } from "./chunk-4W2PE66Q.js";
6
+ } from "./chunk-OLMWTJVU.js";
7
7
 
8
8
  // src/sketch/geometry.ts
9
9
  var SKETCH_PHI = (1 + Math.sqrt(5)) / 2;
@@ -72,6 +72,16 @@ function collapseSketch(parsed, collapsedLabels) {
72
72
  }
73
73
 
74
74
  // src/sketch/layout.ts
75
+ function resolveAutoFlags(f = {}) {
76
+ return {
77
+ normalizeOrigin: f.normalizeOrigin ?? true,
78
+ sortRootsBySource: f.sortRootsBySource ?? true,
79
+ resolveOverlap: f.resolveOverlap ?? true,
80
+ groupCollisionAsRect: f.groupCollisionAsRect ?? true,
81
+ flowPlaceUnpositioned: f.flowPlaceUnpositioned ?? true,
82
+ avoidEdges: f.avoidEdges ?? true
83
+ };
84
+ }
75
85
  function unitRect(c, r) {
76
86
  return { c, r, w: SKETCH_SEP, h: SKETCH_SEP };
77
87
  }
@@ -104,7 +114,7 @@ function nearestFree(base, occupied) {
104
114
  }
105
115
  return { c: base.c, r: base.r };
106
116
  }
107
- function layoutChildren(box, nodesById, warn) {
117
+ function layoutChildren(box, nodesById, warn, flags) {
108
118
  const occupied = [];
109
119
  const children = [];
110
120
  const pending = [];
@@ -116,13 +126,17 @@ function layoutChildren(box, nodesById, warn) {
116
126
  continue;
117
127
  }
118
128
  const target = unitRect(node.at.c, node.at.r);
119
- const spot = nearestFree(target, occupied);
129
+ const spot = flags.resolveOverlap ? nearestFree(target, occupied) : { c: node.at.c, r: node.at.r };
120
130
  if (spot.c !== node.at.c || spot.r !== node.at.r) {
121
131
  warn(node.lineNumber, node.label);
122
132
  }
123
133
  occupied.push(unitRect(spot.c, spot.r));
124
134
  children.push({ node, c: spot.c, r: spot.r });
125
135
  }
136
+ if (!flags.flowPlaceUnpositioned) {
137
+ for (const node of pending) children.push({ node, c: 0, r: 0 });
138
+ pending.length = 0;
139
+ }
126
140
  let flowRow = occupied.length > 0 ? Math.max(...occupied.map((o) => o.r)) + SKETCH_SEP : 0;
127
141
  let flowCol = 0;
128
142
  const wrapAt = Math.max(
@@ -169,6 +183,7 @@ function layoutSketch(parsed, options = {}) {
169
183
  )
170
184
  );
171
185
  };
186
+ const flags = resolveAutoFlags(options.autoLayout);
172
187
  const collapsed = collapseSketch(parsed, options.collapsedBoxes);
173
188
  const nodesById = new Map(collapsed.nodes.map((n) => [n.id, n]));
174
189
  const padHsX = SKETCH_GEOMETRY.boxPadPx / SKETCH_HALF_SLOT_X;
@@ -177,10 +192,39 @@ function layoutSketch(parsed, options = {}) {
177
192
  const boxLocal = /* @__PURE__ */ new Map();
178
193
  const inExpandedBox = /* @__PURE__ */ new Set();
179
194
  for (const box of collapsed.boxes) {
180
- const local = layoutChildren(box, nodesById, overlapWarn);
195
+ const local = layoutChildren(box, nodesById, overlapWarn, flags);
181
196
  boxLocal.set(box.id, local);
182
197
  for (const child of local.children) inExpandedBox.add(child.node.id);
183
198
  }
199
+ const allNodesById = new Map(parsed.nodes.map((n) => [n.id, n]));
200
+ const noWarn = () => {
201
+ };
202
+ const virtualLocal = /* @__PURE__ */ new Map();
203
+ for (const box of collapsed.virtualBoxes) {
204
+ virtualLocal.set(box.id, layoutChildren(box, allNodesById, noWarn, flags));
205
+ }
206
+ const footWs = SKETCH_FOOT_W / SKETCH_HALF_SLOT_X;
207
+ const footHs = SKETCH_FOOT_H / SKETCH_HALF_SLOT_Y;
208
+ const virtualCardSpot = (boxId, spot) => {
209
+ const local = virtualLocal.get(boxId);
210
+ if (local.children.length === 0) return { c: spot.c, r: spot.r };
211
+ let minC = Infinity;
212
+ let minR = Infinity;
213
+ let maxC = -Infinity;
214
+ let maxR = -Infinity;
215
+ for (const ch of local.children) {
216
+ minC = Math.min(minC, ch.c);
217
+ minR = Math.min(minR, ch.r);
218
+ maxC = Math.max(maxC, ch.c + footWs);
219
+ maxR = Math.max(maxR, ch.r + footHs);
220
+ }
221
+ const cx = spot.c + (minC + maxC) / 2;
222
+ const cy = spot.r + (minR + maxR) / 2 + (padHsY - bandHs) / 2;
223
+ return {
224
+ c: Math.round(cx - footWs / 2),
225
+ r: Math.round(cy - footHs / 2)
226
+ };
227
+ };
184
228
  const rootUnits = [];
185
229
  for (const node of collapsed.nodes) {
186
230
  if (!inExpandedBox.has(node.id)) rootUnits.push({ kind: "shape", node });
@@ -191,14 +235,27 @@ function layoutSketch(parsed, options = {}) {
191
235
  for (const box of collapsed.boxes) {
192
236
  rootUnits.push({ kind: "box", box });
193
237
  }
194
- rootUnits.sort((a, b) => {
195
- const la = a.kind === "shape" ? a.node.lineNumber : a.box.lineNumber;
196
- const lb = b.kind === "shape" ? b.node.lineNumber : b.box.lineNumber;
197
- return la - lb;
198
- });
238
+ const lineOf = (u) => u.kind === "shape" ? u.node.lineNumber : u.box.lineNumber;
239
+ const atOf = (u) => u.kind === "shape" ? u.node.at : u.box.at;
240
+ if (flags.sortRootsBySource) {
241
+ rootUnits.sort((a, b) => lineOf(a) - lineOf(b));
242
+ } else {
243
+ rootUnits.sort((a, b) => {
244
+ const aa = atOf(a);
245
+ const ba = atOf(b);
246
+ if (aa && ba) {
247
+ return aa.r - ba.r || aa.c - ba.c || lineOf(a) - lineOf(b);
248
+ }
249
+ if (aa) return -1;
250
+ if (ba) return 1;
251
+ return lineOf(a) - lineOf(b);
252
+ });
253
+ }
199
254
  const rectFor = (unit, c, r) => {
200
- if (unit.kind === "box") {
201
- const local = boxLocal.get(unit.box.id);
255
+ if (unit.kind !== "shape" && flags.groupCollisionAsRect) {
256
+ const local = (unit.kind === "box" ? boxLocal : virtualLocal).get(
257
+ unit.box.id
258
+ );
202
259
  return {
203
260
  c: c + local.extent.c - padHsX,
204
261
  r: r + local.extent.r - bandHs,
@@ -212,26 +269,31 @@ function layoutSketch(parsed, options = {}) {
212
269
  const placedAt = /* @__PURE__ */ new Map();
213
270
  const pending = [];
214
271
  for (const unit of rootUnits) {
215
- const at = unit.kind === "shape" ? unit.node.at : unit.box.at;
272
+ const at = atOf(unit);
216
273
  if (at === null) {
217
274
  pending.push(unit);
218
275
  continue;
219
276
  }
220
277
  const base = rectFor(unit, at.c, at.r);
221
278
  let spot = { c: at.c, r: at.r };
222
- if (collidesAny(base, occupied)) {
279
+ if (flags.resolveOverlap && unit.kind === "shape" && collidesAny(base, occupied)) {
223
280
  const freed = nearestFree(base, occupied);
224
281
  spot = {
225
282
  c: at.c + (freed.c - base.c),
226
283
  r: at.r + (freed.r - base.r)
227
284
  };
228
- const line = unit.kind === "shape" ? unit.node.lineNumber : unit.box.lineNumber;
229
- const label = unit.kind === "shape" ? unit.node.label : unit.box.label;
230
- overlapWarn(line, label);
285
+ overlapWarn(unit.node.lineNumber, unit.node.label);
231
286
  }
232
287
  occupied.push(rectFor(unit, spot.c, spot.r));
233
288
  placedAt.set(unit, spot);
234
289
  }
290
+ if (!flags.flowPlaceUnpositioned) {
291
+ for (const unit of pending) {
292
+ occupied.push(rectFor(unit, 0, 0));
293
+ placedAt.set(unit, { c: 0, r: 0 });
294
+ }
295
+ pending.length = 0;
296
+ }
235
297
  let flowRow = occupied.length > 0 ? Math.ceil(Math.max(...occupied.map((o) => o.r + o.h))) : 0;
236
298
  let flowCol = 0;
237
299
  const wrapAt = Math.max(
@@ -258,8 +320,10 @@ function layoutSketch(parsed, options = {}) {
258
320
  const spot = placedAt.get(u);
259
321
  return rectFor(u, spot.c, spot.r);
260
322
  });
261
- const cMin = allRects.length > 0 ? Math.min(...allRects.map((r) => r.c)) : 0;
262
- const rMin = allRects.length > 0 ? Math.min(...allRects.map((r) => r.r)) : 0;
323
+ const liveCMin = allRects.length > 0 ? Math.min(...allRects.map((r) => r.c)) : 0;
324
+ const liveRMin = allRects.length > 0 ? Math.min(...allRects.map((r) => r.r)) : 0;
325
+ const cMin = flags.normalizeOrigin ? liveCMin : Math.min(options.frozenOrigin?.c ?? liveCMin, liveCMin);
326
+ const rMin = flags.normalizeOrigin ? liveRMin : Math.min(options.frozenOrigin?.r ?? liveRMin, liveRMin);
263
327
  const toPx = (c, r) => ({
264
328
  x: (c - cMin) * SKETCH_HALF_SLOT_X,
265
329
  y: (r - rMin) * SKETCH_HALF_SLOT_Y
@@ -284,14 +348,15 @@ function layoutSketch(parsed, options = {}) {
284
348
  h: SKETCH_FOOT_H
285
349
  });
286
350
  } else if (unit.kind === "virtual") {
287
- const { x, y } = toPx(spot.c, spot.r);
351
+ const cardSpot = virtualCardSpot(unit.box.id, spot);
352
+ const { x, y } = toPx(cardSpot.c, cardSpot.r);
288
353
  nodes.push({
289
354
  id: unit.box.id,
290
355
  label: unit.box.label,
291
356
  shape: "rectangle",
292
357
  metadata: unit.box.metadata,
293
358
  lineNumber: unit.box.lineNumber,
294
- slot: spot,
359
+ slot: cardSpot,
295
360
  x,
296
361
  y,
297
362
  w: SKETCH_FOOT_W,
@@ -348,7 +413,13 @@ function layoutSketch(parsed, options = {}) {
348
413
  });
349
414
  }
350
415
  }
351
- {
416
+ if (flags.avoidEdges) {
417
+ const authored = /* @__PURE__ */ new Set();
418
+ for (const unit of rootUnits) {
419
+ if (atOf(unit) !== null) {
420
+ authored.add(unit.kind === "shape" ? unit.node.id : unit.box.id);
421
+ }
422
+ }
352
423
  const centerOf = (id) => {
353
424
  const n = nodes.find((nd) => nd.id === id);
354
425
  if (n) return { x: n.x + n.w / 2, y: n.y + n.h / 2 };
@@ -382,6 +453,7 @@ function layoutSketch(parsed, options = {}) {
382
453
  let moved = false;
383
454
  for (const n of nodes) {
384
455
  if (n.boxLabel) continue;
456
+ if (authored.has(n.id)) continue;
385
457
  for (const e of collapsed.edges) {
386
458
  if (e.sourceId === n.id || e.targetId === n.id) continue;
387
459
  const a = centerOf(e.sourceId);
@@ -432,7 +504,8 @@ function layoutSketch(parsed, options = {}) {
432
504
  edges: collapsed.edges,
433
505
  width,
434
506
  height,
435
- diagnostics
507
+ diagnostics,
508
+ origin: { c: cMin, r: rMin }
436
509
  };
437
510
  }
438
511
 
@@ -449,4 +522,4 @@ export {
449
522
  collapseSketch,
450
523
  layoutSketch
451
524
  };
452
- //# sourceMappingURL=chunk-MEQYZZFR.js.map
525
+ //# sourceMappingURL=chunk-6IVXRTXH.js.map
@@ -8,15 +8,15 @@ import {
8
8
  import {
9
9
  INLINE_HEADER_PAD,
10
10
  layoutInlineHeader
11
- } from "./chunk-US3P2DQO.js";
11
+ } from "./chunk-6VJCURWU.js";
12
12
  import {
13
13
  renderIntegratedLegend
14
- } from "./chunk-ASPS5O6F.js";
14
+ } from "./chunk-44GBBTMU.js";
15
15
  import {
16
16
  controlsGroupCapsuleWidth,
17
17
  getLegendExtent,
18
18
  getMaxLegendReservedHeight
19
- } from "./chunk-GRXPFBYC.js";
19
+ } from "./chunk-ES66QH6J.js";
20
20
  import {
21
21
  TITLE_FONT_SIZE,
22
22
  TITLE_FONT_WEIGHT,
@@ -25,6 +25,14 @@ import {
25
25
  import {
26
26
  FONT_FAMILY
27
27
  } from "./chunk-6KFWC4CO.js";
28
+ import {
29
+ normalizeName
30
+ } from "./chunk-NOTA6TEI.js";
31
+ import {
32
+ resolveActiveTagGroup,
33
+ resolveTagColor,
34
+ tagAttrKey
35
+ } from "./chunk-D5FANMSG.js";
28
36
  import {
29
37
  LEGEND_CAPSULE_PAD,
30
38
  LEGEND_DOT_R,
@@ -39,7 +47,7 @@ import {
39
47
  LEGEND_PILL_PAD,
40
48
  measureLegendText,
41
49
  truncateLegendText
42
- } from "./chunk-Q5IHQ4NW.js";
50
+ } from "./chunk-SCJ7CAJF.js";
43
51
  import {
44
52
  CHAR_WIDTH_RATIO,
45
53
  measureText,
@@ -50,15 +58,7 @@ import {
50
58
  getSeriesColors,
51
59
  mix,
52
60
  shapeFill
53
- } from "./chunk-JYDMBWRP.js";
54
- import {
55
- normalizeName
56
- } from "./chunk-NOTA6TEI.js";
57
- import {
58
- resolveActiveTagGroup,
59
- resolveTagColor,
60
- tagAttrKey
61
- } from "./chunk-JR7Q6GHE.js";
61
+ } from "./chunk-42IT4BG2.js";
62
62
 
63
63
  // src/gantt/renderer.ts
64
64
  import * as d3Scale from "d3-scale";
@@ -2143,4 +2143,4 @@ export {
2143
2143
  renderGantt,
2144
2144
  buildTagLaneRowList
2145
2145
  };
2146
- //# sourceMappingURL=chunk-FGAMFJNJ.js.map
2146
+ //# sourceMappingURL=chunk-6PRLPGJB.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-A4GOY3PE.js";
5
5
  import {
6
6
  LEGEND_HEIGHT
7
- } from "./chunk-Q5IHQ4NW.js";
7
+ } from "./chunk-SCJ7CAJF.js";
8
8
  import {
9
9
  measureText
10
10
  } from "./chunk-4ASYQ347.js";
@@ -84,4 +84,4 @@ export {
84
84
  INLINE_HEADER_PAD,
85
85
  layoutInlineHeader
86
86
  };
87
- //# sourceMappingURL=chunk-US3P2DQO.js.map
87
+ //# sourceMappingURL=chunk-6VJCURWU.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  makeDgmoError,
6
6
  suggest
7
- } from "./chunk-4W2PE66Q.js";
7
+ } from "./chunk-OLMWTJVU.js";
8
8
 
9
9
  // src/utils/notes/resolve.ts
10
10
  function resolveNotes(notes, targets, diagnostics) {
@@ -65,4 +65,4 @@ function resolveNotes(notes, targets, diagnostics) {
65
65
  export {
66
66
  resolveNotes
67
67
  };
68
- //# sourceMappingURL=chunk-QZAW5SFH.js.map
68
+ //# sourceMappingURL=chunk-7NK42OIB.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-U7VO6JAA.js";
7
7
  import {
8
8
  parseDgmoChartType
9
- } from "./chunk-XKKH2DPG.js";
9
+ } from "./chunk-VYCV5WKH.js";
10
10
  import {
11
11
  measureText,
12
12
  truncateText
@@ -428,4 +428,4 @@ export {
428
428
  defaultEmbedBackground,
429
429
  getEmbedSvgViewBox
430
430
  };
431
- //# sourceMappingURL=chunk-RKBCKCSF.js.map
431
+ //# sourceMappingURL=chunk-7Q35X3AL.js.map
@@ -4,10 +4,10 @@ import {
4
4
  import {
5
5
  isTagBlockHeading,
6
6
  matchTagBlockHeading
7
- } from "./chunk-JR7Q6GHE.js";
7
+ } from "./chunk-D5FANMSG.js";
8
8
  import {
9
9
  makeDgmoError
10
- } from "./chunk-4W2PE66Q.js";
10
+ } from "./chunk-OLMWTJVU.js";
11
11
 
12
12
  // src/pert/share-normalize.ts
13
13
  var START_DATE_NOW_RE = /^(\s*start-date\s+)now(\s*)$/i;
@@ -401,4 +401,4 @@ export {
401
401
  normalizePertSourceForShare,
402
402
  resolveOrgImports
403
403
  };
404
- //# sourceMappingURL=chunk-NN5TF4OV.js.map
404
+ //# sourceMappingURL=chunk-7SXTD7L6.js.map
@@ -3,31 +3,41 @@ import {
3
3
  layoutJourneyMap,
4
4
  scoreToColor,
5
5
  scoreToCurveY
6
- } from "./chunk-W4TSD3IP.js";
6
+ } from "./chunk-D76B4DMV.js";
7
7
  import {
8
8
  wrapNoteBody
9
- } from "./chunk-UU6LUYUH.js";
9
+ } from "./chunk-VJARCVMH.js";
10
10
  import {
11
11
  NOTE_BULLET_INDENT
12
12
  } from "./chunk-5DH3KYFH.js";
13
- import {
14
- renderInlineText
15
- } from "./chunk-3HDBAXF5.js";
16
13
  import {
17
14
  CARD_RADIUS
18
15
  } from "./chunk-3CIOJ5YJ.js";
16
+ import {
17
+ renderInlineText
18
+ } from "./chunk-WGC42WJU.js";
19
19
  import {
20
20
  ScaleContext
21
21
  } from "./chunk-YYVTBZZC.js";
22
+ import {
23
+ serializeSvg
24
+ } from "./chunk-NZ5QVASG.js";
22
25
  import {
23
26
  renderIntegratedLegend
24
- } from "./chunk-ASPS5O6F.js";
27
+ } from "./chunk-44GBBTMU.js";
25
28
  import {
26
29
  FONT_FAMILY
27
30
  } from "./chunk-6KFWC4CO.js";
28
31
  import {
29
32
  parseJourneyMap
30
- } from "./chunk-HUTP35XT.js";
33
+ } from "./chunk-RQGNELB3.js";
34
+ import {
35
+ resolveActiveTagGroup,
36
+ tagAttrKey
37
+ } from "./chunk-D5FANMSG.js";
38
+ import {
39
+ fillModeFromOptions
40
+ } from "./chunk-3KOPPSUQ.js";
31
41
  import {
32
42
  measureText,
33
43
  truncateText,
@@ -38,14 +48,7 @@ import {
38
48
  mix,
39
49
  shapeFill,
40
50
  themeBaseBg
41
- } from "./chunk-JYDMBWRP.js";
42
- import {
43
- resolveActiveTagGroup,
44
- tagAttrKey
45
- } from "./chunk-JR7Q6GHE.js";
46
- import {
47
- fillModeFromOptions
48
- } from "./chunk-A2ARDILY.js";
51
+ } from "./chunk-42IT4BG2.js";
49
52
 
50
53
  // src/journey-map/renderer.ts
51
54
  import * as d3 from "d3-selection";
@@ -861,11 +864,11 @@ function renderJourneyMapForExport(content, theme, palette) {
861
864
  const bgRect = svgEl.querySelector("rect:first-child");
862
865
  if (bgRect) bgRect.remove();
863
866
  }
864
- return svgEl.outerHTML;
867
+ return serializeSvg(svgEl);
865
868
  }
866
869
 
867
870
  export {
868
871
  renderJourneyMap,
869
872
  renderJourneyMapForExport
870
873
  };
871
- //# sourceMappingURL=chunk-LCRPGGGS.js.map
874
+ //# sourceMappingURL=chunk-7YPSFQFA.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  extractExportSvg,
3
3
  runInExportContainer
4
- } from "./chunk-JTSMEYIZ.js";
4
+ } from "./chunk-L43KTQTW.js";
5
5
  import {
6
6
  renderCollapseBar,
7
7
  renderNodeCard
@@ -25,16 +25,16 @@ import {
25
25
  } from "./chunk-3CIOJ5YJ.js";
26
26
  import {
27
27
  layoutOrg
28
- } from "./chunk-UBQU2BY6.js";
28
+ } from "./chunk-PKFW6GJD.js";
29
29
  import {
30
30
  ScaleContext
31
31
  } from "./chunk-YYVTBZZC.js";
32
32
  import {
33
33
  renderIntegratedLegend
34
- } from "./chunk-ASPS5O6F.js";
34
+ } from "./chunk-44GBBTMU.js";
35
35
  import {
36
36
  getMaxLegendReservedHeight
37
- } from "./chunk-GRXPFBYC.js";
37
+ } from "./chunk-ES66QH6J.js";
38
38
  import {
39
39
  TITLE_FONT_SIZE,
40
40
  TITLE_FONT_WEIGHT
@@ -44,7 +44,14 @@ import {
44
44
  } from "./chunk-6KFWC4CO.js";
45
45
  import {
46
46
  parseOrg
47
- } from "./chunk-MNS2ENXF.js";
47
+ } from "./chunk-PFG3EVRD.js";
48
+ import {
49
+ resolveTagColor,
50
+ tagAttrKey
51
+ } from "./chunk-D5FANMSG.js";
52
+ import {
53
+ fillModeFromOptions
54
+ } from "./chunk-3KOPPSUQ.js";
48
55
  import {
49
56
  EYE_CLOSED_PATH,
50
57
  EYE_OPEN_PATH,
@@ -52,7 +59,7 @@ import {
52
59
  LEGEND_EYE_SIZE,
53
60
  LEGEND_GROUP_GAP,
54
61
  LEGEND_HEIGHT
55
- } from "./chunk-Q5IHQ4NW.js";
62
+ } from "./chunk-SCJ7CAJF.js";
56
63
  import {
57
64
  measureText
58
65
  } from "./chunk-4ASYQ347.js";
@@ -61,14 +68,7 @@ import {
61
68
  mix,
62
69
  shapeFill,
63
70
  themeBaseBg
64
- } from "./chunk-JYDMBWRP.js";
65
- import {
66
- resolveTagColor,
67
- tagAttrKey
68
- } from "./chunk-JR7Q6GHE.js";
69
- import {
70
- fillModeFromOptions
71
- } from "./chunk-A2ARDILY.js";
71
+ } from "./chunk-42IT4BG2.js";
72
72
 
73
73
  // src/org/renderer.ts
74
74
  import * as d3Selection from "d3-selection";
@@ -485,4 +485,4 @@ export {
485
485
  renderOrg,
486
486
  renderOrgForExport
487
487
  };
488
- //# sourceMappingURL=chunk-JGCEFKZP.js.map
488
+ //# sourceMappingURL=chunk-A6XELFU6.js.map
@@ -7,9 +7,6 @@ import {
7
7
  parseDateToken,
8
8
  toInternal
9
9
  } from "./chunk-DAOFNU6J.js";
10
- import {
11
- getSeriesColors
12
- } from "./chunk-JYDMBWRP.js";
13
10
  import {
14
11
  normalizeName
15
12
  } from "./chunk-NOTA6TEI.js";
@@ -18,7 +15,7 @@ import {
18
15
  stripDefaultModifier,
19
16
  tagAttrKey,
20
17
  validateTagGroupNames
21
- } from "./chunk-JR7Q6GHE.js";
18
+ } from "./chunk-D5FANMSG.js";
22
19
  import {
23
20
  GANTT_BOOLEAN_SET,
24
21
  GANTT_OPTION_SET,
@@ -31,11 +28,14 @@ import {
31
28
  splitNameAndMeta,
32
29
  warnUnknownMetaKeys,
33
30
  withTagAliases
34
- } from "./chunk-A2ARDILY.js";
31
+ } from "./chunk-3KOPPSUQ.js";
32
+ import {
33
+ getSeriesColors
34
+ } from "./chunk-42IT4BG2.js";
35
35
  import {
36
36
  formatDgmoError,
37
37
  makeDgmoError
38
- } from "./chunk-4W2PE66Q.js";
38
+ } from "./chunk-OLMWTJVU.js";
39
39
 
40
40
  // src/gantt/parser.ts
41
41
  var GROUP_RE = /^\[(.+?)\]\s*(.*)$/;
@@ -1347,4 +1347,4 @@ export {
1347
1347
  GANTT_KNOWN_OPTIONS,
1348
1348
  GANTT_KNOWN_BOOLEANS
1349
1349
  };
1350
- //# sourceMappingURL=chunk-RYNCWA5X.js.map
1350
+ //# sourceMappingURL=chunk-ADKDIWCW.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  tryCollectNote
3
- } from "./chunk-4R5KIPNX.js";
3
+ } from "./chunk-ST3ZNEUQ.js";
4
4
  import {
5
5
  resolveNotes
6
- } from "./chunk-QZAW5SFH.js";
6
+ } from "./chunk-7NK42OIB.js";
7
7
  import {
8
8
  parseInArrowLabel
9
- } from "./chunk-WF64MW5G.js";
9
+ } from "./chunk-RRX4Z4TH.js";
10
10
  import {
11
11
  displayName,
12
12
  normalizeName
@@ -19,7 +19,7 @@ import {
19
19
  tagAttrKey,
20
20
  validateTagGroupNames,
21
21
  validateTagValues
22
- } from "./chunk-JR7Q6GHE.js";
22
+ } from "./chunk-D5FANMSG.js";
23
23
  import {
24
24
  ALL_CHART_TYPES,
25
25
  FILL_FAMILY_TOKENS,
@@ -32,17 +32,17 @@ import {
32
32
  parseMetadataRegion,
33
33
  tryParseSharedOption,
34
34
  withTagAliases
35
- } from "./chunk-A2ARDILY.js";
35
+ } from "./chunk-3KOPPSUQ.js";
36
36
  import {
37
37
  resolveColorWithDiagnostic
38
- } from "./chunk-ZKPPI6BF.js";
38
+ } from "./chunk-EXNKNJ65.js";
39
39
  import {
40
40
  NAME_DIAGNOSTIC_CODES,
41
41
  formatDgmoError,
42
42
  makeDgmoError,
43
43
  nameMergedMessage,
44
44
  suggest
45
- } from "./chunk-4W2PE66Q.js";
45
+ } from "./chunk-OLMWTJVU.js";
46
46
 
47
47
  // src/graph/state-parser.ts
48
48
  var PSEUDOSTATE_ID = "pseudostate:[*]";
@@ -543,4 +543,4 @@ export {
543
543
  parseState,
544
544
  looksLikeState
545
545
  };
546
- //# sourceMappingURL=chunk-MEH4TJEX.js.map
546
+ //# sourceMappingURL=chunk-APD52YJV.js.map
@@ -1,10 +1,10 @@
1
- import {
2
- parseInlineMarkdown,
3
- renderInlineText
4
- } from "./chunk-3HDBAXF5.js";
5
1
  import {
6
2
  wrapDescriptionLines
7
- } from "./chunk-BMR4CIEO.js";
3
+ } from "./chunk-NCT22MOD.js";
4
+ import {
5
+ renderInlineText,
6
+ stripInlineMarkdown
7
+ } from "./chunk-WGC42WJU.js";
8
8
  import {
9
9
  FONT_FAMILY
10
10
  } from "./chunk-6KFWC4CO.js";
@@ -27,10 +27,10 @@ import {
27
27
  getSeriesColors,
28
28
  mix,
29
29
  themeBaseBg
30
- } from "./chunk-JYDMBWRP.js";
30
+ } from "./chunk-42IT4BG2.js";
31
31
  import {
32
32
  resolveColor
33
- } from "./chunk-ZKPPI6BF.js";
33
+ } from "./chunk-EXNKNJ65.js";
34
34
 
35
35
  // src/countdown/renderer.ts
36
36
  import * as d3Selection from "d3-selection";
@@ -859,7 +859,7 @@ function renderCountdown(container, parsed, palette, isDark, exportDims) {
859
859
  const w = estWidth(t, base);
860
860
  return w <= maxW ? base : Math.max(min, Math.floor(base * maxW / w));
861
861
  };
862
- const dispLen = (s) => parseInlineMarkdown(s).reduce((n, sp) => n + sp.text.length, 0);
862
+ const dispLen = (s) => stripInlineMarkdown(s).length;
863
863
  const padX = Math.max(30, Math.round(width * 0.045));
864
864
  const padY = Math.max(26, Math.round(width * 0.03));
865
865
  const contentW = width - 2 * padX;
@@ -1030,4 +1030,4 @@ export {
1030
1030
  renderCountdown,
1031
1031
  renderCountdownForExport
1032
1032
  };
1033
- //# sourceMappingURL=chunk-PIXZTCKH.js.map
1033
+ //# sourceMappingURL=chunk-BIWMOFSE.js.map