@diagrammo/dgmo 0.72.0 → 0.74.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 (273) hide show
  1. package/dist/advanced.d.ts +20 -11
  2. package/dist/advanced.js +115 -116
  3. package/dist/{analyzer-HQUXKZ5J.js → analyzer-FHRJUIMW.js} +3 -3
  4. package/dist/block.d.ts +2 -2
  5. package/dist/block.js +63 -75
  6. package/dist/calculator-CVQ54JNE.js +13 -0
  7. package/dist/{chart-meta-6JaOudSs.d.ts → chart-meta-lP8Rl19E.d.ts} +4 -3
  8. package/dist/chart-meta.d.ts +3 -3
  9. package/dist/chart-meta.js +49 -49
  10. package/dist/{charts-d3-6IHGTXBR.js → charts-d3-LWHTOVX7.js} +12 -12
  11. package/dist/{chunk-HKL66CKW.js → chunk-2MJSSDK5.js} +9 -9
  12. package/dist/{chunk-MFSTE3YG.js → chunk-2NRIGEHZ.js} +26 -18
  13. package/dist/{chunk-376ATV2Q.js → chunk-2QRIMMIH.js} +5 -5
  14. package/dist/{chunk-JIWDWOYA.js → chunk-3H4PDNP4.js} +4 -4
  15. package/dist/{chunk-MKNWMFZU.js → chunk-3SP6G4LN.js} +31 -27
  16. package/dist/{chunk-VE7PPEU3.js → chunk-474D3IUN.js} +8 -8
  17. package/dist/{chunk-MTPKBSTR.js → chunk-4SXHMFFP.js} +2 -2
  18. package/dist/{chunk-WPXHTYET.js → chunk-4YER7UCV.js} +4 -4
  19. package/dist/{chunk-P6RPHRX7.js → chunk-57Z2WXJ2.js} +6 -6
  20. package/dist/{chunk-7TSBM4BV.js → chunk-5KE6KHY6.js} +5 -5
  21. package/dist/{chunk-DZ34UUXC.js → chunk-5NAOTRLN.js} +11 -11
  22. package/dist/{chunk-MC2H32SM.js → chunk-5PFNUDXR.js} +4 -4
  23. package/dist/{chunk-OLMWTJVU.js → chunk-5SI6T5A5.js} +1 -1
  24. package/dist/{chunk-UJXCDF4E.js → chunk-5VMUVJO4.js} +2 -2
  25. package/dist/{chunk-ZGVVPILJ.js → chunk-6DYZ2JM6.js} +2 -2
  26. package/dist/{chunk-DPGI742S.js → chunk-76LHNLGX.js} +4 -4
  27. package/dist/{chunk-MX3BYU7V.js → chunk-76NHL5UG.js} +3 -3
  28. package/dist/{chunk-AEYRSPVV.js → chunk-7BMX2M3F.js} +3 -3
  29. package/dist/{chunk-FFD6A3B2.js → chunk-7NSNE52V.js} +18 -11
  30. package/dist/{chunk-2OTYNNHS.js → chunk-ALBVWTU4.js} +10 -10
  31. package/dist/{chunk-UF3EALKC.js → chunk-ALDU62VN.js} +10 -10
  32. package/dist/{chunk-W27BULCB.js → chunk-BBH5IAAR.js} +9 -9
  33. package/dist/{chunk-HWNF22ZZ.js → chunk-BWJLLNUX.js} +5 -5
  34. package/dist/{chunk-3HN32MEK.js → chunk-C2WH3BMS.js} +4 -4
  35. package/dist/{chunk-QITH5XOX.js → chunk-CDFIZHVD.js} +11 -11
  36. package/dist/{chunk-66VHK7PP.js → chunk-CMQJP5L4.js} +9 -9
  37. package/dist/{chunk-GK4AU57A.js → chunk-CQKD6GOC.js} +5 -5
  38. package/dist/{chunk-NUF7YTHA.js → chunk-CRLVJZWX.js} +3 -3
  39. package/dist/{chunk-WMHHNK44.js → chunk-DGPFFRLS.js} +2 -2
  40. package/dist/{chunk-UTVKOGFF.js → chunk-DJL5PO27.js} +94 -40
  41. package/dist/{chunk-RJI6MHHK.js → chunk-DU3OIBQE.js} +6 -6
  42. package/dist/{chunk-YYBQ55V2.js → chunk-DY7KDZUF.js} +4 -4
  43. package/dist/{chunk-BSI5EOAX.js → chunk-E3BJVEMZ.js} +7 -11
  44. package/dist/{chunk-7NK42OIB.js → chunk-E6PNTYRK.js} +2 -2
  45. package/dist/{chunk-VLXYWPPE.js → chunk-EPH4UMUE.js} +7 -7
  46. package/dist/{chunk-MUVASOBD.js → chunk-EV6BZMBZ.js} +10 -10
  47. package/dist/{chunk-MWWRIOEN.js → chunk-F4V67JXG.js} +3 -3
  48. package/dist/{chunk-HBVKOYZD.js → chunk-FGXBIOVK.js} +3 -3
  49. package/dist/{chunk-ELIGVSLE.js → chunk-FL5IKZQA.js} +12 -6
  50. package/dist/{chunk-W7SZKJR6.js → chunk-FPRMP6YA.js} +4 -4
  51. package/dist/{chunk-IKHV5IJB.js → chunk-GE5RO4BS.js} +2 -2
  52. package/dist/{chunk-CGLBK5Q4.js → chunk-GJQQCI63.js} +5 -4
  53. package/dist/{chunk-KWRW6BLG.js → chunk-GLREDNBA.js} +2 -2
  54. package/dist/{chunk-N5247W2W.js → chunk-GQJ35I2I.js} +61 -54
  55. package/dist/{chunk-VGLSKDDI.js → chunk-GRN44Z6A.js} +3 -3
  56. package/dist/{chunk-7U3NDE7T.js → chunk-HFCKU73Y.js} +7 -7
  57. package/dist/{chunk-KOVRFBGR.js → chunk-ICVIJLBA.js} +16 -11
  58. package/dist/{chunk-RRX4Z4TH.js → chunk-IHOFUR74.js} +2 -2
  59. package/dist/{chunk-UNM2PX5D.js → chunk-JLODGGN2.js} +4 -4
  60. package/dist/{chunk-UCGEBFUC.js → chunk-JSYAH7KR.js} +4 -4
  61. package/dist/{chunk-GCTKJDLY.js → chunk-KR432TCU.js} +10 -10
  62. package/dist/{chunk-PBV2C3BW.js → chunk-KRTLS3G6.js} +24 -20
  63. package/dist/{chunk-LTGOPJUV.js → chunk-KWSBNLSC.js} +3 -3
  64. package/dist/{chunk-XIZCHGP7.js → chunk-L2EA5YLO.js} +9 -9
  65. package/dist/{chunk-KJWIU5AM.js → chunk-LKS56RDT.js} +3 -3
  66. package/dist/{chunk-ET4R3AU5.js → chunk-LM3HY3VG.js} +2 -2
  67. package/dist/{chunk-O4OVVK6J.js → chunk-LSHMDQZQ.js} +7 -7
  68. package/dist/{chunk-FLXDMH7B.js → chunk-LXXVHLTH.js} +30 -24
  69. package/dist/{chunk-L3XB446I.js → chunk-LYLRNAX2.js} +2 -2
  70. package/dist/{chunk-UY77QQWU.js → chunk-M526IKKH.js} +11 -7
  71. package/dist/{chunk-YH5KJIO5.js → chunk-M5JT2AU7.js} +8 -8
  72. package/dist/{chunk-ZJJWON5O.js → chunk-M5OOAP65.js} +271 -5
  73. package/dist/{chunk-3SNE4CLI.js → chunk-MDEG62W7.js} +7 -7
  74. package/dist/{chunk-RTTELOOP.js → chunk-MS5574I7.js} +3 -3
  75. package/dist/{chunk-I55PVEIX.js → chunk-MSVQ2YCY.js} +2 -2
  76. package/dist/{chunk-FTPNAYL2.js → chunk-NHQ7HUAS.js} +4 -4
  77. package/dist/{chunk-2VBJCTSG.js → chunk-NW3VXCXR.js} +5 -5
  78. package/dist/{chunk-6PA32CUB.js → chunk-OKXWPKUC.js} +4 -4
  79. package/dist/{chunk-UKOOGXRF.js → chunk-PHRBLJ3K.js} +8 -8
  80. package/dist/{chunk-LSHROB27.js → chunk-Q6BAFS7I.js} +5 -5
  81. package/dist/{chunk-WRWUZ2C4.js → chunk-Q6LP67RP.js} +4 -4
  82. package/dist/{chunk-IW6N2JJL.js → chunk-Q74GP3GK.js} +2 -2
  83. package/dist/{chunk-IXVK7XCN.js → chunk-QMFIZQTB.js} +2 -2
  84. package/dist/{chunk-QAJFIXJE.js → chunk-QOVM5VRC.js} +28 -28
  85. package/dist/{chunk-6S53NO3M.js → chunk-QT5UMFPE.js} +5 -5
  86. package/dist/{chunk-HZQCKXPB.js → chunk-R5JPMW2F.js} +42 -42
  87. package/dist/{chunk-SPA7DCB3.js → chunk-RN3PAL4E.js} +3 -3
  88. package/dist/{chunk-REBTZP3W.js → chunk-RQ6SEQOT.js} +6 -6
  89. package/dist/{chunk-NTBHGUXY.js → chunk-RWFMOVHG.js} +4 -4
  90. package/dist/{chunk-QPG55HGH.js → chunk-S5P5Z5Y5.js} +5 -5
  91. package/dist/{chunk-WF2HDQPG.js → chunk-S6OXNZBM.js} +3 -3
  92. package/dist/{chunk-NEC7R2CB.js → chunk-SH4PPRU7.js} +3 -3
  93. package/dist/{chunk-UNTFANSM.js → chunk-SUA56ZSB.js} +15 -10
  94. package/dist/{chunk-7SEQPFBX.js → chunk-SWEKCK34.js} +33 -28
  95. package/dist/{chunk-BYSRXYRW.js → chunk-SXZS56YM.js} +6 -6
  96. package/dist/{chunk-7BHM774H.js → chunk-T6BO4VO6.js} +8 -8
  97. package/dist/{chunk-DHKVHP3Y.js → chunk-TC63QU4M.js} +18 -16
  98. package/dist/{chunk-NJKUTY4M.js → chunk-TDHD3HNO.js} +5 -5
  99. package/dist/{chunk-T7W5LM4N.js → chunk-TN754B3R.js} +5 -5
  100. package/dist/{chunk-DEVZWCD5.js → chunk-TPN7RJOM.js} +21 -12
  101. package/dist/{chunk-4VUFJ7UA.js → chunk-TTCXHFFB.js} +6 -6
  102. package/dist/{chunk-E36Q5ABQ.js → chunk-U74EGVOA.js} +7 -7
  103. package/dist/{chunk-NNMNHE3J.js → chunk-UCZBRGJN.js} +3 -3
  104. package/dist/{chunk-VMXV2CL5.js → chunk-UJBP57UJ.js} +29 -12
  105. package/dist/{chunk-PKTRDOBI.js → chunk-ULEWCCBN.js} +3 -3
  106. package/dist/{chunk-YTFA4VTW.js → chunk-VBJCGGNF.js} +3 -3
  107. package/dist/{chunk-TF7CFAZ5.js → chunk-W7UBPARG.js} +4 -4
  108. package/dist/{chunk-OQKP2X3D.js → chunk-WFA6IULY.js} +57 -3
  109. package/dist/{chunk-N34OTOGH.js → chunk-WQXD3IIN.js} +3 -3
  110. package/dist/{chunk-EETUTZ5C.js → chunk-WWQ6TUVK.js} +2 -2
  111. package/dist/{chunk-6OAKQTXQ.js → chunk-XCAEHWQB.js} +3 -3
  112. package/dist/{chunk-WEC3JPTN.js → chunk-XJLNQEQS.js} +8 -8
  113. package/dist/{chunk-EXNKNJ65.js → chunk-XOGQY4EC.js} +2 -2
  114. package/dist/{chunk-K6MQJ5IV.js → chunk-Y2CYNRL7.js} +3 -3
  115. package/dist/{chunk-PZVYUQJA.js → chunk-YDA46XHI.js} +4 -4
  116. package/dist/{chunk-U4NFAWQW.js → chunk-YJ5G2WRU.js} +9 -9
  117. package/dist/{chunk-6CLC26GU.js → chunk-YJMWEZOB.js} +2 -2
  118. package/dist/{chunk-6DGMS2WJ.js → chunk-YSMI6TNZ.js} +6 -6
  119. package/dist/{chunk-QX53GOI7.js → chunk-YT5ICQ4R.js} +2 -2
  120. package/dist/{chunk-7RAWNJI5.js → chunk-YXY6V2YN.js} +114 -107
  121. package/dist/{chunk-5DYDPP7K.js → chunk-Z7KVOVE4.js} +115 -240
  122. package/dist/{chunk-YG35ZCNW.js → chunk-ZM27UI5O.js} +36 -32
  123. package/dist/completion-registry.js +25 -21
  124. package/dist/countdown.js +26 -6
  125. package/dist/{d3-Bfhj-XBX.d.ts → d3--y67plmW.d.ts} +1 -1
  126. package/dist/{dgmo-router-Lya7cs3R.d.ts → dgmo-router-CY5j16Pl.d.ts} +1 -1
  127. package/dist/dgmo-router-KYNLRE7S.js +89 -0
  128. package/dist/dimensions-Q5SFPATB.js +22 -0
  129. package/dist/editor.js +1 -0
  130. package/dist/flowchart-parser-LY5GGQL2.js +21 -0
  131. package/dist/{flowchart-renderer-JMGOCLTQ.js → flowchart-renderer-TTUSBBQI.js} +12 -12
  132. package/dist/highlight.js +7 -18
  133. package/dist/index.d.ts +7 -7
  134. package/dist/index.js +60 -58
  135. package/dist/layout-5ILNODTP.js +15 -0
  136. package/dist/{layout-RD7GDM4I.js → layout-B5GQVXXY.js} +4 -4
  137. package/dist/{layout-5RUQ5FBZ.js → layout-DAYQ46PS.js} +3 -3
  138. package/dist/{layout-2DVT24YY.js → layout-EM4DLMAX.js} +6 -6
  139. package/dist/{layout-LVMWK4QY.js → layout-KQUSB45X.js} +4 -4
  140. package/dist/{layout-WIMQIHBU.js → layout-ROORJQ4X.js} +4 -4
  141. package/dist/layout-RV2T2YTT.js +15 -0
  142. package/dist/{layout-AWPST2S3.js → layout-UJ62RQQ3.js} +7 -7
  143. package/dist/layout-VUZ3MLOI.js +15 -0
  144. package/dist/{layout-BGXLVSXL.js → layout-ZAGUFT2G.js} +8 -8
  145. package/dist/{layout-search-C44CJQOB.js → layout-search-UOKEMER5.js} +4 -4
  146. package/dist/{legend-constants-FP5MFDD4.js → legend-constants-PLN2YHGM.js} +5 -5
  147. package/dist/{palettes-WQZ2TPVZ.js → palettes-54YSI3IX.js} +4 -4
  148. package/dist/parser-2GMHFSTS.js +16 -0
  149. package/dist/parser-3AOMUX5D.js +14 -0
  150. package/dist/parser-3KQONLXZ.js +11 -0
  151. package/dist/parser-4DLU4SNG.js +11 -0
  152. package/dist/parser-4KFJKLP2.js +11 -0
  153. package/dist/{parser-CDMP3UVH.js → parser-5XFGK5C5.js} +7 -7
  154. package/dist/parser-6FUESG4N.js +13 -0
  155. package/dist/parser-B2XQNHZM.js +11 -0
  156. package/dist/parser-CJNP7RKR.js +13 -0
  157. package/dist/parser-E3OHNNTH.js +12 -0
  158. package/dist/parser-EQ4I3TSH.js +20 -0
  159. package/dist/parser-F4ZKDGUZ.js +12 -0
  160. package/dist/parser-GCVSRQPY.js +17 -0
  161. package/dist/parser-H4ZUNLX4.js +15 -0
  162. package/dist/parser-JYIZEKAS.js +19 -0
  163. package/dist/{parser-ZIEEBJMU.js → parser-L7RXUKYN.js} +7 -7
  164. package/dist/{parser-TJ3SP2MJ.js → parser-L7T7FY3H.js} +7 -7
  165. package/dist/parser-LUOINP6H.js +15 -0
  166. package/dist/parser-LV7PQBUG.js +13 -0
  167. package/dist/parser-ML3LVNDV.js +13 -0
  168. package/dist/parser-PR3OR3LO.js +14 -0
  169. package/dist/parser-QOIZGW7I.js +17 -0
  170. package/dist/parser-RDBXEVI4.js +12 -0
  171. package/dist/parser-TA5TYZNL.js +18 -0
  172. package/dist/parser-UTR5WE4O.js +13 -0
  173. package/dist/parser-WCFG3DZA.js +11 -0
  174. package/dist/{parser-XM6JC3UK.js → parser-WMJEPZDC.js} +6 -6
  175. package/dist/{parser-O7GTECFP.js → parser-WQNT7T2P.js} +5 -5
  176. package/dist/parser-WWRRG2DV.js +15 -0
  177. package/dist/parser-XVSDFO56.js +11 -0
  178. package/dist/parser-YWQCC33R.js +16 -0
  179. package/dist/{parser-EX3AGFT5.js → parser-ZT3PU2HT.js} +6 -6
  180. package/dist/parser-ZXQZZK6W.js +15 -0
  181. package/dist/pert.d.ts +10 -0
  182. package/dist/{renderer-WLA3NQCC.js → renderer-227JWWHX.js} +13 -13
  183. package/dist/renderer-2WW35ZIW.js +23 -0
  184. package/dist/renderer-3FB56573.js +22 -0
  185. package/dist/renderer-3LD3ANCP.js +25 -0
  186. package/dist/renderer-46QQH33X.js +27 -0
  187. package/dist/{renderer-2T2RAFWX.js → renderer-4K6KR3U3.js} +14 -14
  188. package/dist/{renderer-UPTO25OX.js → renderer-55JP6AO4.js} +12 -12
  189. package/dist/renderer-6HRDO635.js +26 -0
  190. package/dist/renderer-6IGQEVTE.js +20 -0
  191. package/dist/renderer-6SSIELBC.js +16 -0
  192. package/dist/{renderer-IH5C7NQT.js → renderer-AA5CC4VJ.js} +6 -6
  193. package/dist/renderer-BUEFD2IF.js +21 -0
  194. package/dist/{renderer-VP4DPLDY.js → renderer-CF5TYQT4.js} +6 -6
  195. package/dist/{renderer-W7JC2CTQ.js → renderer-E5BYZTVH.js} +6 -6
  196. package/dist/renderer-EJXFEA5C.js +25 -0
  197. package/dist/{renderer-FAD65M5Z.js → renderer-EP4GRCDX.js} +6 -6
  198. package/dist/renderer-IPNSOM5J.js +26 -0
  199. package/dist/{renderer-ACGZ5KJG.js → renderer-N2X3WYBY.js} +17 -17
  200. package/dist/{renderer-Y3D36RIT.js → renderer-NECP7G4X.js} +11 -11
  201. package/dist/renderer-OTHBTGBN.js +16 -0
  202. package/dist/{renderer-ZRHTC24Q.js → renderer-OWBIWBMK.js} +11 -11
  203. package/dist/{renderer-IZFO3G22.js → renderer-P55KPBIX.js} +17 -17
  204. package/dist/{renderer-K73COK5L.js → renderer-QLZVE45Z.js} +8 -8
  205. package/dist/{renderer-QZRM6H4S.js → renderer-SCIHPARI.js} +5 -5
  206. package/dist/{renderer-Y4VC3VH4.js → renderer-TI7QABY7.js} +14 -15
  207. package/dist/renderer-U6PK5ZKD.js +24 -0
  208. package/dist/renderer-UUPNOGO5.js +25 -0
  209. package/dist/{renderer-CB44E262.js → renderer-UXZEYV2X.js} +13 -13
  210. package/dist/renderer-UYYBJ7OB.js +76 -0
  211. package/dist/{renderer-CL4X5S3T.js → renderer-W7RKBG6C.js} +12 -12
  212. package/dist/{renderer-VEN6AIWW.js → renderer-XBL6CLN2.js} +12 -12
  213. package/dist/{renderer-E42I44WZ.js → renderer-YM7PLDBF.js} +13 -13
  214. package/dist/{renderer-2MEPYGAP.js → renderer-YQI5U6KJ.js} +13 -13
  215. package/dist/renderer-radial-MZP3SVTZ.js +21 -0
  216. package/dist/{resolver-B3TXWNWF.js → resolver-H5E6V7LJ.js} +3 -3
  217. package/dist/state-parser-TPA67IXM.js +19 -0
  218. package/dist/{state-renderer-FJ2GT4MU.js → state-renderer-OPP6YOJI.js} +17 -17
  219. package/dist/{tag-groups-NUA2F1I5.d.ts → tag-groups-DrHT2tEc.d.ts} +10 -0
  220. package/dist/{themes-Dem5xalq.d.ts → themes-GWhsabnx.d.ts} +2 -2
  221. package/docs/language-reference.md +52 -13
  222. package/gallery/fixtures/countdown.dgmo +1 -1
  223. package/package.json +1 -1
  224. package/dist/calculator-4CNL2GKU.js +0 -13
  225. package/dist/dgmo-router-O55I5UXN.js +0 -89
  226. package/dist/dimensions-EFEBIRS6.js +0 -22
  227. package/dist/flowchart-parser-LZF2GW2P.js +0 -21
  228. package/dist/layout-4D5JRUHX.js +0 -15
  229. package/dist/layout-VMDNULKS.js +0 -15
  230. package/dist/layout-VVTXA3W2.js +0 -15
  231. package/dist/parser-2CXA7K5C.js +0 -13
  232. package/dist/parser-4E2TVMOK.js +0 -13
  233. package/dist/parser-52AZJ3BA.js +0 -17
  234. package/dist/parser-52BOCAVQ.js +0 -15
  235. package/dist/parser-5IPCYVXY.js +0 -12
  236. package/dist/parser-6BF5TJQH.js +0 -16
  237. package/dist/parser-6VZISXFY.js +0 -11
  238. package/dist/parser-6Y5BMNNJ.js +0 -14
  239. package/dist/parser-7HUZBXKW.js +0 -11
  240. package/dist/parser-AEJ73QJS.js +0 -11
  241. package/dist/parser-AWNEAGMJ.js +0 -12
  242. package/dist/parser-C2QRTZPJ.js +0 -13
  243. package/dist/parser-CBSYFN6U.js +0 -11
  244. package/dist/parser-CNKHKQKZ.js +0 -17
  245. package/dist/parser-GK3JWVHY.js +0 -18
  246. package/dist/parser-GZKR6BFA.js +0 -14
  247. package/dist/parser-K26KDCZN.js +0 -11
  248. package/dist/parser-LTJ5AKY4.js +0 -16
  249. package/dist/parser-NIGB4EYX.js +0 -12
  250. package/dist/parser-OHWDJGCP.js +0 -15
  251. package/dist/parser-QCVEWLCO.js +0 -15
  252. package/dist/parser-SUAOF72Y.js +0 -13
  253. package/dist/parser-W2HXBHNC.js +0 -11
  254. package/dist/parser-WF4R7225.js +0 -15
  255. package/dist/parser-XRZQ7SC7.js +0 -13
  256. package/dist/parser-YRJAGBV7.js +0 -19
  257. package/dist/parser-Z3LN7P6G.js +0 -20
  258. package/dist/renderer-4DFEFP4X.js +0 -26
  259. package/dist/renderer-52KYFTNZ.js +0 -16
  260. package/dist/renderer-B4Q6LUW2.js +0 -24
  261. package/dist/renderer-E3UQ24DE.js +0 -25
  262. package/dist/renderer-H5QR3LC3.js +0 -16
  263. package/dist/renderer-JHWGW4Q7.js +0 -25
  264. package/dist/renderer-KQIJV5WD.js +0 -19
  265. package/dist/renderer-MZ4N2SVV.js +0 -25
  266. package/dist/renderer-QMSFXMAL.js +0 -21
  267. package/dist/renderer-VOXE7V6L.js +0 -27
  268. package/dist/renderer-WBG576LB.js +0 -26
  269. package/dist/renderer-XR4SVKNE.js +0 -22
  270. package/dist/renderer-YROML2KW.js +0 -76
  271. package/dist/renderer-YXYEP46H.js +0 -23
  272. package/dist/renderer-radial-KZ3W4WXI.js +0 -21
  273. package/dist/state-parser-HJNCGIFT.js +0 -19
@@ -11,8 +11,9 @@ import {
11
11
  tagAttrKey,
12
12
  validateTagGroupNames,
13
13
  validateTagValues
14
- } from "./chunk-DPGI742S.js";
14
+ } from "./chunk-76LHNLGX.js";
15
15
  import {
16
+ AliasRegistry,
16
17
  OPTION_NOCOLON_RE,
17
18
  ORG_REGISTRY,
18
19
  extractColor,
@@ -22,13 +23,13 @@ import {
22
23
  splitNameAndMeta,
23
24
  warnUnknownMetaKeys,
24
25
  withTagAliases
25
- } from "./chunk-ZJJWON5O.js";
26
+ } from "./chunk-M5OOAP65.js";
26
27
  import {
27
28
  formatDgmoError,
28
29
  makeDgmoError,
29
30
  makeFail,
30
31
  suggest
31
- } from "./chunk-OLMWTJVU.js";
32
+ } from "./chunk-5SI6T5A5.js";
32
33
 
33
34
  // src/org/parser.ts
34
35
  var CONTAINER_RE = /^\[([^\]]+)\](?:\s+collapsed:\s*(\S+))?$/;
@@ -90,11 +91,12 @@ function parseOrg(content, palette) {
90
91
  let activeTagOptionLine = 0;
91
92
  let currentTagGroup = null;
92
93
  const metaAliasMap = /* @__PURE__ */ new Map();
93
- const nameAliasMap = /* @__PURE__ */ new Map();
94
+ const nameAliasMap = new AliasRegistry();
94
95
  const indentStack = [];
95
96
  for (let i = 0; i < lines.length; i++) {
96
97
  const line = lines[i];
97
98
  const lineNumber = i + 1;
99
+ nameAliasMap.at(lineNumber);
98
100
  const trimmed = line.trim();
99
101
  if (!trimmed) {
100
102
  if (currentTagGroup) {
@@ -162,27 +164,6 @@ function parseOrg(content, palette) {
162
164
  result.tagGroups.push(currentTagGroup);
163
165
  continue;
164
166
  }
165
- if (!contentStarted && !currentTagGroup && measureIndent(line) === 0) {
166
- const optMatch = trimmed.match(OPTION_NOCOLON_RE);
167
- if (optMatch) {
168
- const key = optMatch[1].trim().toLowerCase();
169
- if (KNOWN_OPTIONS.has(key)) {
170
- options[key] = optMatch[2].trim();
171
- if (key === "focus") focusOptionLine = lineNumber;
172
- if (key === "active-tag") activeTagOptionLine = lineNumber;
173
- continue;
174
- }
175
- }
176
- if (KNOWN_BOOLEANS.has(trimmed.toLowerCase())) {
177
- const boolKey = trimmed.toLowerCase();
178
- if (boolKey === "direction-lr" || boolKey === "direction-tb") {
179
- delete options["direction-lr"];
180
- delete options["direction-tb"];
181
- }
182
- options[boolKey] = "on";
183
- continue;
184
- }
185
- }
186
167
  if (currentTagGroup && !contentStarted) {
187
168
  const indent2 = measureIndent(line);
188
169
  if (indent2 > 0) {
@@ -207,6 +188,27 @@ function parseOrg(content, palette) {
207
188
  }
208
189
  currentTagGroup = null;
209
190
  }
191
+ if (!contentStarted && !currentTagGroup && measureIndent(line) === 0) {
192
+ const optMatch = trimmed.match(OPTION_NOCOLON_RE);
193
+ if (optMatch) {
194
+ const key = optMatch[1].trim().toLowerCase();
195
+ if (KNOWN_OPTIONS.has(key)) {
196
+ options[key] = optMatch[2].trim();
197
+ if (key === "focus") focusOptionLine = lineNumber;
198
+ if (key === "active-tag") activeTagOptionLine = lineNumber;
199
+ continue;
200
+ }
201
+ }
202
+ if (KNOWN_BOOLEANS.has(trimmed.toLowerCase())) {
203
+ const boolKey = trimmed.toLowerCase();
204
+ if (boolKey === "direction-lr" || boolKey === "direction-tb") {
205
+ delete options["direction-lr"];
206
+ delete options["direction-tb"];
207
+ }
208
+ options[boolKey] = "on";
209
+ continue;
210
+ }
211
+ }
210
212
  contentStarted = true;
211
213
  currentTagGroup = null;
212
214
  const indent = measureIndent(line);
@@ -228,7 +230,8 @@ function parseOrg(content, palette) {
228
230
  const label = peelQuotedName(asMatch ? asMatch[1].trim() : rawLabel);
229
231
  containerCounter++;
230
232
  const containerId = `container-${containerCounter}`;
231
- if (asMatch) nameAliasMap.set(asMatch[2], containerId);
233
+ if (asMatch) nameAliasMap.declare(asMatch[2], containerId, lineNumber);
234
+ nameAliasMap.noteCanonical(containerId, lineNumber);
232
235
  const node = {
233
236
  id: containerId,
234
237
  label,
@@ -328,6 +331,7 @@ function parseOrg(content, palette) {
328
331
  );
329
332
  }
330
333
  result.direction = options["direction-lr"] ? "LR" : "TB";
334
+ result.diagnostics.push(...nameAliasMap.finish());
331
335
  return result;
332
336
  }
333
337
  function findOrgNodeIdByName(nodes, name) {
@@ -359,8 +363,9 @@ function parseNodeLabel(trimmed, _indent, lineNumber, _palette, counter, metaAli
359
363
  const peeled = peelQuotedName(split.name);
360
364
  const label = split.color !== void 0 ? `${peeled} ${split.color}` : peeled;
361
365
  if (split.alias) {
362
- nameAliasMap?.set(normalizeName(split.alias), id);
366
+ nameAliasMap?.declare(normalizeName(split.alias), id, lineNumber);
363
367
  }
368
+ nameAliasMap?.noteCanonical(id, lineNumber);
364
369
  const metadata = { ...split.meta };
365
370
  return {
366
371
  id,
@@ -418,4 +423,4 @@ export {
418
423
  parseOrg,
419
424
  findOrgNodeIdByName
420
425
  };
421
- //# sourceMappingURL=chunk-7SEQPFBX.js.map
426
+ //# sourceMappingURL=chunk-SWEKCK34.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  buildSwatches
3
- } from "./chunk-RTTELOOP.js";
3
+ } from "./chunk-MS5574I7.js";
4
4
  import {
5
5
  layoutMap,
6
6
  mapLegendConfig,
7
7
  mapLegendGroups,
8
8
  parsePathRings
9
- } from "./chunk-REBTZP3W.js";
9
+ } from "./chunk-RQ6SEQOT.js";
10
10
  import {
11
11
  TITLE_FONT_SIZE,
12
12
  TITLE_FONT_WEIGHT,
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-A4GOY3PE.js";
15
15
  import {
16
16
  renderIntegratedLegend
17
- } from "./chunk-6S53NO3M.js";
17
+ } from "./chunk-QT5UMFPE.js";
18
18
  import {
19
19
  FONT_FAMILY
20
20
  } from "./chunk-UTCPNJND.js";
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk-MTGGOCND.js";
24
24
  import {
25
25
  parseClock
26
- } from "./chunk-NEC7R2CB.js";
26
+ } from "./chunk-SH4PPRU7.js";
27
27
  import {
28
28
  fixedParts,
29
29
  formatTime,
@@ -34,7 +34,7 @@ import {
34
34
  import {
35
35
  mix,
36
36
  themeBaseBg
37
- } from "./chunk-KWRW6BLG.js";
37
+ } from "./chunk-GLREDNBA.js";
38
38
 
39
39
  // src/map/renderer.ts
40
40
  import * as d3Selection from "d3-selection";
@@ -781,4 +781,4 @@ export {
781
781
  renderMap,
782
782
  renderMapForExport
783
783
  };
784
- //# sourceMappingURL=chunk-BYSRXYRW.js.map
784
+ //# sourceMappingURL=chunk-SXZS56YM.js.map
@@ -4,7 +4,7 @@ import {
4
4
  layoutC4Containers,
5
5
  layoutC4Context,
6
6
  layoutC4Deployment
7
- } from "./chunk-W7SZKJR6.js";
7
+ } from "./chunk-FPRMP6YA.js";
8
8
  import {
9
9
  renderInlineText
10
10
  } from "./chunk-WGC42WJU.js";
@@ -24,34 +24,34 @@ import {
24
24
  } from "./chunk-A4GOY3PE.js";
25
25
  import {
26
26
  renderIntegratedLegend
27
- } from "./chunk-6S53NO3M.js";
27
+ } from "./chunk-QT5UMFPE.js";
28
28
  import {
29
29
  FONT_FAMILY
30
30
  } from "./chunk-UTCPNJND.js";
31
31
  import {
32
32
  LEGEND_HEIGHT
33
- } from "./chunk-QX53GOI7.js";
33
+ } from "./chunk-YT5ICQ4R.js";
34
34
  import {
35
35
  measureText,
36
36
  wrapTextToWidth
37
37
  } from "./chunk-MTGGOCND.js";
38
38
  import {
39
39
  parseC4
40
- } from "./chunk-YG35ZCNW.js";
40
+ } from "./chunk-ZM27UI5O.js";
41
41
  import {
42
42
  preprocessDescriptionLine
43
43
  } from "./chunk-IYULMRBE.js";
44
44
  import {
45
45
  tagAttrKey
46
- } from "./chunk-DPGI742S.js";
46
+ } from "./chunk-76LHNLGX.js";
47
47
  import {
48
48
  fillModeFromOptions
49
- } from "./chunk-ZJJWON5O.js";
49
+ } from "./chunk-M5OOAP65.js";
50
50
  import {
51
51
  contrastText,
52
52
  mix,
53
53
  shapeFill
54
- } from "./chunk-KWRW6BLG.js";
54
+ } from "./chunk-GLREDNBA.js";
55
55
 
56
56
  // src/c4/renderer.ts
57
57
  import * as d3Selection from "d3-selection";
@@ -1039,4 +1039,4 @@ export {
1039
1039
  renderC4Deployment,
1040
1040
  renderC4DeploymentForExport
1041
1041
  };
1042
- //# sourceMappingURL=chunk-7BHM774H.js.map
1042
+ //# sourceMappingURL=chunk-T6BO4VO6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  analyzePert
3
- } from "./chunk-CGLBK5Q4.js";
3
+ } from "./chunk-GJQQCI63.js";
4
4
  import {
5
5
  computeNodeSizing,
6
6
  layoutPert
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  INLINE_HEADER_PAD,
21
21
  layoutInlineHeader
22
- } from "./chunk-6CLC26GU.js";
22
+ } from "./chunk-YJMWEZOB.js";
23
23
  import {
24
24
  serializeSvg
25
25
  } from "./chunk-RU2HHHYA.js";
@@ -36,16 +36,16 @@ import {
36
36
  } from "./chunk-A4GOY3PE.js";
37
37
  import {
38
38
  renderIntegratedLegend
39
- } from "./chunk-6S53NO3M.js";
39
+ } from "./chunk-QT5UMFPE.js";
40
40
  import {
41
41
  getLegendExtent
42
- } from "./chunk-MTPKBSTR.js";
42
+ } from "./chunk-4SXHMFFP.js";
43
43
  import {
44
44
  FONT_FAMILY
45
45
  } from "./chunk-UTCPNJND.js";
46
46
  import {
47
47
  LEGEND_HEIGHT
48
- } from "./chunk-QX53GOI7.js";
48
+ } from "./chunk-YT5ICQ4R.js";
49
49
  import {
50
50
  measureText,
51
51
  truncateText,
@@ -53,7 +53,7 @@ import {
53
53
  } from "./chunk-MTGGOCND.js";
54
54
  import {
55
55
  parsePert
56
- } from "./chunk-NTBHGUXY.js";
56
+ } from "./chunk-RWFMOVHG.js";
57
57
  import {
58
58
  addCalendarDays,
59
59
  formatDuration,
@@ -64,13 +64,13 @@ import {
64
64
  import {
65
65
  resolveActiveTagGroup,
66
66
  resolveTagColor
67
- } from "./chunk-DPGI742S.js";
67
+ } from "./chunk-76LHNLGX.js";
68
68
  import {
69
69
  contrastText,
70
70
  mix,
71
71
  shapeFill,
72
72
  themeBaseBg
73
- } from "./chunk-KWRW6BLG.js";
73
+ } from "./chunk-GLREDNBA.js";
74
74
 
75
75
  // src/pert/renderer.ts
76
76
  import * as d3Selection from "d3-selection";
@@ -187,7 +187,7 @@ function renderPert(container, resolved, layout, palette, isDark, options = {})
187
187
  showFieldLegend: options.showFieldLegend ?? false
188
188
  });
189
189
  const standaloneFieldLegendWidthForExport = layout.width;
190
- const analysisBlockHeight = analysisLayer.analysisHasContent ? CAPTION_TOP_GAP + analysisLayer.analysisRowHeight : 0;
190
+ const analysisBlockHeightAt = (contentWidth) => analysisLayer.analysisHasContent ? CAPTION_TOP_GAP + analysisContentHeightAt(analysisLayer, contentWidth) : 0;
191
191
  const fieldLegendBlockHeight = analysisLayer.fieldLegendStandalone ? CAPTION_TOP_GAP + fieldLegendHeightFor(standaloneFieldLegendWidthForExport) : 0;
192
192
  const showLegend = options.showLegend ?? true;
193
193
  const tagLegendActive = resolveActiveTagGroup(
@@ -200,7 +200,7 @@ function renderPert(container, resolved, layout, palette, isDark, options = {})
200
200
  const naturalChartWidth = layout.width + DIAGRAM_PADDING * 2;
201
201
  const minAnalysisRowW = analysisLayer.analysisHasContent ? analysisLayer.minContentWidth + 2 * DIAGRAM_PADDING : 0;
202
202
  const naturalWidth = Math.max(naturalChartWidth, minAnalysisRowW);
203
- const naturalHeight = layout.height + DIAGRAM_PADDING * 2 + titleHeight + legendBlockHeight + analysisBlockHeight + fieldLegendBlockHeight;
203
+ const naturalHeight = layout.height + DIAGRAM_PADDING * 2 + titleHeight + legendBlockHeight + analysisBlockHeightAt(naturalWidth - DIAGRAM_PADDING * 2) + fieldLegendBlockHeight;
204
204
  const exportWidth = Math.max(
205
205
  options.exportDims?.width ?? naturalWidth,
206
206
  naturalWidth
@@ -236,7 +236,7 @@ function renderPert(container, resolved, layout, palette, isDark, options = {})
236
236
  const sPinIconW = ctx.structural(PIN_ICON_W);
237
237
  const sPinIconH = ctx.structural(PIN_ICON_H);
238
238
  const scaledWidth = layout.width + sDiagramPad * 2;
239
- const scaledHeight = layout.height + sDiagramPad * 2 + sTitleHeight + sLegendBlockHeight + analysisBlockHeight + fieldLegendBlockHeight;
239
+ const scaledHeight = layout.height + sDiagramPad * 2 + sTitleHeight + sLegendBlockHeight + analysisBlockHeightAt(scaledWidth - sDiagramPad * 2) + fieldLegendBlockHeight;
240
240
  const svgW = ctx.isBelowFloor ? exportWidth : scaledWidth;
241
241
  const svgH = ctx.isBelowFloor ? exportHeight : scaledHeight;
242
242
  const inlineRequested = resolved.options.legendInline === true && showTagLegend;
@@ -469,9 +469,11 @@ function analysisLayerHeightAt(state, availableWidth) {
469
469
  if (!state.analysisHasContent) {
470
470
  return state.fieldLegendStandalone ? CAPTION_TOP_GAP + fieldLegendHeightFor(availableWidth) : 0;
471
471
  }
472
- if (availableWidth >= state.minContentWidth) {
473
- return CAPTION_TOP_GAP + state.analysisRowHeight;
474
- }
472
+ return CAPTION_TOP_GAP + analysisContentHeightAt(state, availableWidth);
473
+ }
474
+ function analysisContentHeightAt(state, availableWidth) {
475
+ if (!state.analysisHasContent) return 0;
476
+ if (availableWidth >= state.minContentWidth) return state.analysisRowHeight;
475
477
  const rows = packRows(state, availableWidth);
476
478
  let total = 0;
477
479
  rows.forEach((row, i) => {
@@ -485,7 +487,7 @@ function analysisLayerHeightAt(state, availableWidth) {
485
487
  total += rowHeight;
486
488
  if (i < rows.length - 1) total += ANALYSIS_GAP;
487
489
  });
488
- return CAPTION_TOP_GAP + total;
490
+ return total;
489
491
  }
490
492
  function paintAnalysisLayer(svg, resolved, palette, isDark, state, captionBullets, x, y, availableWidth) {
491
493
  if (!state.analysisHasContent) {
@@ -1871,4 +1873,4 @@ export {
1871
1873
  measurePertAnalysisBlock,
1872
1874
  renderPertAnalysisBlock
1873
1875
  };
1874
- //# sourceMappingURL=chunk-DHKVHP3Y.js.map
1876
+ //# sourceMappingURL=chunk-TC63QU4M.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RT7ACF77.js";
4
4
  import {
5
5
  parseInArrowLabel
6
- } from "./chunk-RRX4Z4TH.js";
6
+ } from "./chunk-IHOFUR74.js";
7
7
  import {
8
8
  normalizeName
9
9
  } from "./chunk-NOTA6TEI.js";
@@ -16,7 +16,7 @@ import {
16
16
  tagAttrKey,
17
17
  validateTagGroupNames,
18
18
  validateTagValues
19
- } from "./chunk-DPGI742S.js";
19
+ } from "./chunk-76LHNLGX.js";
20
20
  import {
21
21
  SKETCH_REGISTRY,
22
22
  extractColor,
@@ -27,7 +27,7 @@ import {
27
27
  stripQuotes,
28
28
  warnUnknownMetaKeys,
29
29
  withTagAliases
30
- } from "./chunk-ZJJWON5O.js";
30
+ } from "./chunk-M5OOAP65.js";
31
31
  import {
32
32
  NAME_DIAGNOSTIC_CODES,
33
33
  formatDgmoError,
@@ -35,7 +35,7 @@ import {
35
35
  makeFail,
36
36
  nameMergedMessage,
37
37
  suggest
38
- } from "./chunk-OLMWTJVU.js";
38
+ } from "./chunk-5SI6T5A5.js";
39
39
 
40
40
  // src/sketch/types.ts
41
41
  var SKETCH_SHAPE_KINDS = [
@@ -632,4 +632,4 @@ export {
632
632
  isSketchShapeKind,
633
633
  parseSketch
634
634
  };
635
- //# sourceMappingURL=chunk-NJKUTY4M.js.map
635
+ //# sourceMappingURL=chunk-TDHD3HNO.js.map
@@ -7,7 +7,7 @@ import {
7
7
  RACI_DX,
8
8
  VARIANTS,
9
9
  inferVariant
10
- } from "./chunk-I55PVEIX.js";
10
+ } from "./chunk-MSVQ2YCY.js";
11
11
  import {
12
12
  OPTION_NOCOLON_RE,
13
13
  RACI_REGISTRY,
@@ -16,10 +16,10 @@ import {
16
16
  splitNameAndMeta,
17
17
  tryParseSharedOption,
18
18
  warnUnknownMetaKeys
19
- } from "./chunk-ZJJWON5O.js";
19
+ } from "./chunk-M5OOAP65.js";
20
20
  import {
21
21
  resolveColorWithDiagnostic
22
- } from "./chunk-EXNKNJ65.js";
22
+ } from "./chunk-XOGQY4EC.js";
23
23
  import {
24
24
  NAME_DIAGNOSTIC_CODES,
25
25
  emit,
@@ -27,7 +27,7 @@ import {
27
27
  makeFail,
28
28
  nameMergedMessage,
29
29
  suggest
30
- } from "./chunk-OLMWTJVU.js";
30
+ } from "./chunk-5SI6T5A5.js";
31
31
 
32
32
  // src/raci/parser.ts
33
33
  var KNOWN_OPTIONS = /* @__PURE__ */ new Set(["roles", "palette", "theme"]);
@@ -492,4 +492,4 @@ export {
492
492
  parseRaci,
493
493
  allTasks
494
494
  };
495
- //# sourceMappingURL=chunk-T7W5LM4N.js.map
495
+ //# sourceMappingURL=chunk-TN754B3R.js.map
@@ -17,8 +17,9 @@ import {
17
17
  stripDefaultModifier,
18
18
  tagAttrKey,
19
19
  validateTagGroupNames
20
- } from "./chunk-DPGI742S.js";
20
+ } from "./chunk-76LHNLGX.js";
21
21
  import {
22
+ AliasRegistry,
22
23
  GANTT_BOOLEAN_SET,
23
24
  GANTT_OPTION_SET,
24
25
  GANTT_REGISTRY,
@@ -31,14 +32,14 @@ import {
31
32
  splitNameAndMeta,
32
33
  warnUnknownMetaKeys,
33
34
  withTagAliases
34
- } from "./chunk-ZJJWON5O.js";
35
+ } from "./chunk-M5OOAP65.js";
35
36
  import {
36
37
  getSeriesColors
37
- } from "./chunk-KWRW6BLG.js";
38
+ } from "./chunk-GLREDNBA.js";
38
39
  import {
39
40
  formatDgmoError,
40
41
  makeDgmoError
41
- } from "./chunk-OLMWTJVU.js";
42
+ } from "./chunk-5SI6T5A5.js";
42
43
 
43
44
  // src/gantt/parser.ts
44
45
  var GROUP_RE = /^\[(.+?)\]\s*(.*)$/;
@@ -176,7 +177,7 @@ function parseGantt(content, palette) {
176
177
  diagnostics.push(makeDgmoError(line, message, "error"));
177
178
  };
178
179
  const metaAliasMap = /* @__PURE__ */ new Map();
179
- const nameAliasMap = /* @__PURE__ */ new Map();
180
+ const nameAliasMap = new AliasRegistry();
180
181
  function peelAlias(label) {
181
182
  const trimmed = label.trim();
182
183
  const m = trimmed.match(/^(.*?)\s+as\s+([A-Za-z][A-Za-z0-9_]{0,11})\s*$/);
@@ -184,7 +185,7 @@ function parseGantt(content, palette) {
184
185
  return { label: m[1].trim(), alias: m[2] };
185
186
  }
186
187
  function resolveAliasTarget(token) {
187
- return nameAliasMap.get(token.trim()) ?? token;
188
+ return nameAliasMap.resolve(token.trim()) ?? token;
188
189
  }
189
190
  const blockStack = [];
190
191
  const currentContainer = () => {
@@ -224,6 +225,7 @@ function parseGantt(content, palette) {
224
225
  const line = rawLine.trim();
225
226
  const indent = measureIndent(rawLine);
226
227
  const lineNumber = i + 1;
228
+ nameAliasMap.at(lineNumber);
227
229
  if (!line) {
228
230
  if (inHolidaysBlock && indent <= holidaysBlockIndent) {
229
231
  inHolidaysBlock = false;
@@ -438,7 +440,8 @@ function parseGantt(content, palette) {
438
440
  content2.explicitStart,
439
441
  content2.preExtracted
440
442
  );
441
- if (content2.alias) nameAliasMap.set(content2.alias, task.label);
443
+ if (content2.alias) nameAliasMap.declare(content2.alias, task.label);
444
+ nameAliasMap.noteCanonical(task.label);
442
445
  const taskNode = { kind: "task", ...task };
443
446
  if (lastTaskNode) {
444
447
  lastTaskNode.dependencies.push({
@@ -779,7 +782,8 @@ function parseGantt(content, palette) {
779
782
  explicitStart,
780
783
  preExtracted
781
784
  );
782
- if (split.alias) nameAliasMap.set(split.alias, task.label);
785
+ if (split.alias) nameAliasMap.declare(split.alias, task.label);
786
+ nameAliasMap.noteCanonical(task.label);
783
787
  const taskNode = { kind: "task", ...task };
784
788
  currentContainer().push(taskNode);
785
789
  const writableTaskN = taskNode;
@@ -1006,7 +1010,9 @@ function parseGantt(content, palette) {
1006
1010
  }
1007
1011
  const groupPeeled = peelAlias(gm[1]);
1008
1012
  const groupName = peelQuotedName(groupPeeled.label);
1009
- if (groupPeeled.alias) nameAliasMap.set(groupPeeled.alias, groupName);
1013
+ if (groupPeeled.alias)
1014
+ nameAliasMap.declare(groupPeeled.alias, groupName);
1015
+ nameAliasMap.noteCanonical(groupName);
1010
1016
  const group = {
1011
1017
  name: groupName,
1012
1018
  color: null,
@@ -1044,7 +1050,8 @@ function parseGantt(content, palette) {
1044
1050
  content2.explicitStart,
1045
1051
  content2.preExtracted
1046
1052
  );
1047
- if (content2.alias) nameAliasMap.set(content2.alias, task.label);
1053
+ if (content2.alias) nameAliasMap.declare(content2.alias, task.label);
1054
+ nameAliasMap.noteCanonical(task.label);
1048
1055
  if (lineOffset) {
1049
1056
  task.offset = lineOffset;
1050
1057
  }
@@ -1107,6 +1114,7 @@ function parseGantt(content, palette) {
1107
1114
  result.options.sprintNumber = 1;
1108
1115
  }
1109
1116
  }
1117
+ result.diagnostics.push(...nameAliasMap.finish());
1110
1118
  return result;
1111
1119
  function matchArrowLine(trimmedLine) {
1112
1120
  const leadMatch = trimmedLine.match(LEAD_ARROW_RE);
@@ -1252,7 +1260,8 @@ function parseGantt(content, palette) {
1252
1260
  }
1253
1261
  }
1254
1262
  label = peelQuotedName(label);
1255
- if (peeled.alias) nameAliasMap.set(peeled.alias, label);
1263
+ if (peeled.alias) nameAliasMap.declare(peeled.alias, label);
1264
+ nameAliasMap.noteCanonical(label);
1256
1265
  if (preExtractedMeta) {
1257
1266
  Object.assign(metadata, preExtractedMeta);
1258
1267
  }
@@ -1372,4 +1381,4 @@ export {
1372
1381
  GANTT_KNOWN_OPTIONS,
1373
1382
  GANTT_KNOWN_BOOLEANS
1374
1383
  };
1375
- //# sourceMappingURL=chunk-DEVZWCD5.js.map
1384
+ //# sourceMappingURL=chunk-TPN7RJOM.js.map
@@ -8,14 +8,14 @@ import {
8
8
  } from "./chunk-FJ57274M.js";
9
9
  import {
10
10
  layoutInlineHeader
11
- } from "./chunk-6CLC26GU.js";
11
+ } from "./chunk-YJMWEZOB.js";
12
12
  import {
13
13
  renderIntegratedLegend
14
- } from "./chunk-6S53NO3M.js";
14
+ } from "./chunk-QT5UMFPE.js";
15
15
  import {
16
16
  getLegendExtent,
17
17
  getMaxLegendReservedHeight
18
- } from "./chunk-MTPKBSTR.js";
18
+ } from "./chunk-4SXHMFFP.js";
19
19
  import {
20
20
  FONT_FAMILY
21
21
  } from "./chunk-UTCPNJND.js";
@@ -27,13 +27,13 @@ import {
27
27
  resolveActiveTagGroup,
28
28
  resolveTagColor,
29
29
  tagAttrKey
30
- } from "./chunk-DPGI742S.js";
30
+ } from "./chunk-76LHNLGX.js";
31
31
  import {
32
32
  contrastText,
33
33
  mix,
34
34
  shapeFill,
35
35
  themeBaseBg
36
- } from "./chunk-KWRW6BLG.js";
36
+ } from "./chunk-GLREDNBA.js";
37
37
 
38
38
  // src/sketch/renderer.ts
39
39
  import * as d3 from "d3-selection";
@@ -1127,4 +1127,4 @@ export {
1127
1127
  sketchEdgeGeometry,
1128
1128
  renderSketchForExport
1129
1129
  };
1130
- //# sourceMappingURL=chunk-4VUFJ7UA.js.map
1130
+ //# sourceMappingURL=chunk-TTCXHFFB.js.map
@@ -6,25 +6,25 @@ import {
6
6
  formatPct,
7
7
  resolveCellColor,
8
8
  resolveColorMode
9
- } from "./chunk-3HN32MEK.js";
9
+ } from "./chunk-C2WH3BMS.js";
10
10
  import {
11
11
  renderIntegratedLegend
12
- } from "./chunk-6S53NO3M.js";
12
+ } from "./chunk-QT5UMFPE.js";
13
13
  import {
14
14
  getMaxLegendReservedHeight
15
- } from "./chunk-MTPKBSTR.js";
15
+ } from "./chunk-4SXHMFFP.js";
16
16
  import {
17
17
  FONT_FAMILY
18
18
  } from "./chunk-UTCPNJND.js";
19
19
  import {
20
20
  LEGEND_GROUP_GAP
21
- } from "./chunk-QX53GOI7.js";
21
+ } from "./chunk-YT5ICQ4R.js";
22
22
  import {
23
23
  measureText
24
24
  } from "./chunk-MTGGOCND.js";
25
25
  import {
26
26
  tagAttrKey
27
- } from "./chunk-DPGI742S.js";
27
+ } from "./chunk-76LHNLGX.js";
28
28
  import {
29
29
  contrastRatio,
30
30
  contrastText,
@@ -32,7 +32,7 @@ import {
32
32
  hexToHSL,
33
33
  hslToHex,
34
34
  relativeLuminance
35
- } from "./chunk-KWRW6BLG.js";
35
+ } from "./chunk-GLREDNBA.js";
36
36
 
37
37
  // src/treemap/renderer-radial.ts
38
38
  import * as d3Selection from "d3-selection";
@@ -423,4 +423,4 @@ export {
423
423
  renderTreemapRadialForExport,
424
424
  renderTreemapRadial
425
425
  };
426
- //# sourceMappingURL=chunk-E36Q5ABQ.js.map
426
+ //# sourceMappingURL=chunk-U74EGVOA.js.map
@@ -7,10 +7,10 @@ import {
7
7
  splitNameAndMeta,
8
8
  warnUnknownMetaKeys,
9
9
  withTagAliases
10
- } from "./chunk-ZJJWON5O.js";
10
+ } from "./chunk-M5OOAP65.js";
11
11
  import {
12
12
  makeDgmoError
13
- } from "./chunk-OLMWTJVU.js";
13
+ } from "./chunk-5SI6T5A5.js";
14
14
 
15
15
  // src/timeline/parser.ts
16
16
  var TIMELINE_DURATION_RE = /^(\d+(?:\.\d{1,2})?)(min|[dwmyhs])(\?)?$/;
@@ -314,4 +314,4 @@ export {
314
314
  parseTimelineDate,
315
315
  parseTimelineEventLine
316
316
  };
317
- //# sourceMappingURL=chunk-NNMNHE3J.js.map
317
+ //# sourceMappingURL=chunk-UCZBRGJN.js.map