@diagrammo/dgmo 0.78.0 → 0.80.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 (297) hide show
  1. package/dist/advanced.d.ts +272 -31
  2. package/dist/advanced.js +138 -123
  3. package/dist/{analyzer-QTDQEMS5.js → analyzer-NK3B6G2A.js} +3 -3
  4. package/dist/block.d.ts +2 -2
  5. package/dist/block.js +60 -60
  6. package/dist/calculator-ZW6DFOKR.js +13 -0
  7. package/dist/{chart-meta-BKN2ORkc.d.ts → chart-meta-B9RCaVah.d.ts} +2 -2
  8. package/dist/chart-meta.d.ts +3 -3
  9. package/dist/chart-meta.js +49 -48
  10. package/dist/charts-d3-ONIU5QN3.js +31 -0
  11. package/dist/{chunk-GINNZHVN.js → chunk-23MSLKPP.js} +5 -5
  12. package/dist/{chunk-AHN2CVCH.js → chunk-25HKORHH.js} +25 -13
  13. package/dist/{chunk-KGX5LIUG.js → chunk-2EBEML6J.js} +5 -5
  14. package/dist/{chunk-LMWXBFLA.js → chunk-2R2M2C6V.js} +2 -2
  15. package/dist/{chunk-57GSSHBR.js → chunk-2TTDR565.js} +4 -4
  16. package/dist/{chunk-LKS56RDT.js → chunk-37HNPLQA.js} +3 -3
  17. package/dist/{chunk-QVMV4KCA.js → chunk-3AWWQ2AI.js} +7 -7
  18. package/dist/{chunk-VBJCGGNF.js → chunk-3KGW6JUX.js} +3 -3
  19. package/dist/{chunk-RIXWLFB4.js → chunk-3MJ6ME2I.js} +3 -3
  20. package/dist/{chunk-3OWIYK52.js → chunk-3MNFBPFK.js} +4 -4
  21. package/dist/{chunk-XOGQY4EC.js → chunk-3NGB6XAX.js} +2 -2
  22. package/dist/{chunk-RUNI4OXP.js → chunk-3QC5FKYN.js} +8 -8
  23. package/dist/{chunk-7BMX2M3F.js → chunk-3VUWBXW2.js} +3 -3
  24. package/dist/{chunk-U4ND3J6C.js → chunk-3Y34QEEO.js} +6 -6
  25. package/dist/{chunk-NS3KIRSW.js → chunk-4ROEQ3XT.js} +15 -6
  26. package/dist/{chunk-UCZBRGJN.js → chunk-54E35DTP.js} +3 -3
  27. package/dist/{chunk-6B3M6LW6.js → chunk-5ACSKJD7.js} +4 -4
  28. package/dist/{chunk-LEBPWFVF.js → chunk-5EWJQARG.js} +51 -31
  29. package/dist/{chunk-ZMCFUGKO.js → chunk-5SKRHMWF.js} +9 -9
  30. package/dist/{chunk-GJH7ZEPH.js → chunk-6X4LJNV6.js} +24 -14
  31. package/dist/{chunk-NVOU7N6C.js → chunk-7DCM3CB5.js} +2 -2
  32. package/dist/{chunk-RC6GGF6X.js → chunk-7EHMSQVV.js} +5 -5
  33. package/dist/{chunk-Y2CYNRL7.js → chunk-7TTKMWTA.js} +3 -3
  34. package/dist/{chunk-GQEXY7XL.js → chunk-A57MQC7M.js} +3 -3
  35. package/dist/{chunk-MSVQ2YCY.js → chunk-ALKJBGIV.js} +2 -2
  36. package/dist/{chunk-X326N4GN.js → chunk-APL3HWFJ.js} +4 -4
  37. package/dist/{chunk-YVLTNNME.js → chunk-ARUQ55BK.js} +11 -2
  38. package/dist/{chunk-3XFOE3DQ.js → chunk-ASJM3OD6.js} +4 -4
  39. package/dist/{chunk-XDPJMLOH.js → chunk-AT5NLMH3.js} +16 -14
  40. package/dist/{chunk-6VTLVU7D.js → chunk-B66G5S4G.js} +4 -4
  41. package/dist/{chunk-7BNRHSSF.js → chunk-BKM2CJBC.js} +5 -5
  42. package/dist/{chunk-JOD2CK2M.js → chunk-BXRXX5PV.js} +8 -8
  43. package/dist/{chunk-VAA7QSZ7.js → chunk-CBLAF2JI.js} +7 -7
  44. package/dist/{chunk-IE47TYZT.js → chunk-CEIDIAVR.js} +108 -107
  45. package/dist/{chunk-GRN44Z6A.js → chunk-CS23VOZW.js} +3 -3
  46. package/dist/{chunk-L26M3X7K.js → chunk-DL52PKLV.js} +9 -9
  47. package/dist/{chunk-PIWUZFG7.js → chunk-E52IYUSJ.js} +14 -14
  48. package/dist/{chunk-L65WI4HO.js → chunk-EDU2OCIQ.js} +2 -2
  49. package/dist/{chunk-4AWLEWSD.js → chunk-F66R7CPY.js} +2 -2
  50. package/dist/{chunk-U2JIFCJN.js → chunk-FEKYZEYF.js} +17 -20
  51. package/dist/{chunk-CYLSQO4L.js → chunk-FHK5FRAN.js} +10 -11
  52. package/dist/{chunk-HHHYVTVS.js → chunk-FU4XFZN6.js} +7 -7
  53. package/dist/{chunk-B6PVPAS5.js → chunk-GCW3FSLR.js} +15 -6
  54. package/dist/{chunk-FLMXJMMY.js → chunk-GJ6XD5T7.js} +4 -4
  55. package/dist/{chunk-IMO46ROR.js → chunk-GLWIOOYS.js} +4 -4
  56. package/dist/{chunk-M3LZCDB6.js → chunk-GNQAHN6H.js} +11 -11
  57. package/dist/{chunk-A7Y32YD6.js → chunk-H4YK6Q7A.js} +21 -8
  58. package/dist/{chunk-OKXWPKUC.js → chunk-HFIS5H44.js} +4 -4
  59. package/dist/{chunk-36UQ77JV.js → chunk-HQR67NIZ.js} +11 -11
  60. package/dist/{chunk-67I3HFSF.js → chunk-HVNIHFEC.js} +5 -5
  61. package/dist/{chunk-3ZLQM6XN.js → chunk-I26QNBHS.js} +4 -4
  62. package/dist/{chunk-CRLVJZWX.js → chunk-I7BVPBPI.js} +3 -3
  63. package/dist/{chunk-KWSBNLSC.js → chunk-IHOX6RQZ.js} +3 -3
  64. package/dist/{chunk-IHOFUR74.js → chunk-IMA4D3ZK.js} +3 -3
  65. package/dist/{chunk-KO6DGOOB.js → chunk-ITLDMXEP.js} +2 -2
  66. package/dist/{chunk-QAPFXLAC.js → chunk-J5FSJRQN.js} +4 -4
  67. package/dist/{chunk-KAZQX2EY.js → chunk-JN3OA44O.js} +4 -4
  68. package/dist/{chunk-P2DM7Q5U.js → chunk-JOGEEMMO.js} +4 -4
  69. package/dist/{chunk-AN7T6VP7.js → chunk-JSQTQSZG.js} +6 -3
  70. package/dist/{chunk-2NLBIZEW.js → chunk-JSQXK2X7.js} +4 -4
  71. package/dist/{chunk-UCF6TKWV.js → chunk-JV457OT7.js} +7 -7
  72. package/dist/{chunk-GOW5VO6M.js → chunk-KHRZCKKG.js} +2 -2
  73. package/dist/{chunk-BJB4YDJP.js → chunk-KJKJTU6T.js} +11 -11
  74. package/dist/{chunk-IDGQB6XD.js → chunk-KKCWYBAG.js} +3 -3
  75. package/dist/{chunk-BSREARWG.js → chunk-KPXBNN3T.js} +9 -9
  76. package/dist/{chunk-MJYFPFZT.js → chunk-KW4QWOQH.js} +11 -11
  77. package/dist/{chunk-BB2ORSTF.js → chunk-KY2MOVRQ.js} +13 -13
  78. package/dist/{chunk-3GLTQZKE.js → chunk-LA4FDGQO.js} +5 -5
  79. package/dist/{chunk-R4YGH7DJ.js → chunk-LDJFPEQ5.js} +32 -5
  80. package/dist/{chunk-RC3FM3FE.js → chunk-LH77K2ZK.js} +4 -4
  81. package/dist/{chunk-32VR65TL.js → chunk-MGSOMBL3.js} +35 -18
  82. package/dist/{chunk-TLM3I4XF.js → chunk-MJEVGZDJ.js} +25 -12
  83. package/dist/{chunk-TO6TWNMF.js → chunk-MOVUBLAT.js} +4 -4
  84. package/dist/{chunk-5G55TS3H.js → chunk-MY23CJEU.js} +4 -4
  85. package/dist/{chunk-YKDZ3ZRI.js → chunk-NODI5ZNG.js} +12 -12
  86. package/dist/{chunk-4IGUEGD6.js → chunk-NZCJAJEY.js} +37 -13
  87. package/dist/{chunk-6Z2NUJSX.js → chunk-O4CG5ZRH.js} +14 -10
  88. package/dist/{chunk-5SI6T5A5.js → chunk-OAQE624Z.js} +2 -1
  89. package/dist/{chunk-M5OOAP65.js → chunk-OD42CAXD.js} +4 -3
  90. package/dist/{chunk-DGPFFRLS.js → chunk-PHMYEHLS.js} +2 -2
  91. package/dist/{chunk-JUNTVLOU.js → chunk-PN2WBRWF.js} +6 -6
  92. package/dist/{chunk-P64NBPSK.js → chunk-PPII63O6.js} +5 -5
  93. package/dist/{chunk-3SQJZMPO.js → chunk-PREUTERU.js} +2 -2
  94. package/dist/{chunk-TN754B3R.js → chunk-PYX7QA7B.js} +5 -5
  95. package/dist/{chunk-ENDB5YSV.js → chunk-Q3DEISTC.js} +24 -30
  96. package/dist/{chunk-LTTZX6RD.js → chunk-QMBVPA4R.js} +7 -7
  97. package/dist/{chunk-FJADQOFQ.js → chunk-QQLY52Q7.js} +5 -5
  98. package/dist/{chunk-VS2M72PF.js → chunk-RLJKH4ZO.js} +4 -2
  99. package/dist/{chunk-BPM52K3Z.js → chunk-RNLPI5PL.js} +32 -9
  100. package/dist/{chunk-EOB7XVYR.js → chunk-RVWWCQAB.js} +2 -2
  101. package/dist/{chunk-DCPD5SHV.js → chunk-S7QQ4U5O.js} +3 -3
  102. package/dist/{chunk-SNBEAO4Q.js → chunk-SF3RXIIM.js} +8 -8
  103. package/dist/{chunk-NWNSXHA5.js → chunk-SH6QDU4T.js} +6 -6
  104. package/dist/{chunk-SXD6VY7D.js → chunk-SJWLAA3G.js} +10 -10
  105. package/dist/{chunk-RHZZVIGA.js → chunk-THHXUZTB.js} +5 -5
  106. package/dist/{chunk-IZTU6WVR.js → chunk-TR5BFNRR.js} +2 -2
  107. package/dist/{chunk-76NHL5UG.js → chunk-TU5ZNZWE.js} +3 -3
  108. package/dist/{chunk-CTERZC4K.js → chunk-TZZ3CSDF.js} +4 -4
  109. package/dist/{chunk-VUJQ6RU6.js → chunk-U3BJC66Q.js} +4 -4
  110. package/dist/{chunk-P4SQV3XD.js → chunk-U3IPFKK7.js} +3 -3
  111. package/dist/{chunk-MFK7LF66.js → chunk-UDUJVGCZ.js} +3 -3
  112. package/dist/{chunk-7WTFX6OA.js → chunk-V4IRPJ6J.js} +3 -3
  113. package/dist/{chunk-7NNJXYXU.js → chunk-VHFZK72U.js} +4 -4
  114. package/dist/{chunk-VSPNH7LC.js → chunk-VLC6WNRD.js} +3 -1
  115. package/dist/{chunk-7SMVTA7I.js → chunk-VPSZKOKK.js} +243 -45
  116. package/dist/{chunk-UQY2VLUK.js → chunk-VPVSERIN.js} +8 -8
  117. package/dist/{chunk-E6PNTYRK.js → chunk-VS5WMPWM.js} +2 -2
  118. package/dist/{chunk-UDYJVX6Y.js → chunk-VZPVMHLL.js} +6 -6
  119. package/dist/{chunk-LGI735AJ.js → chunk-W6DBWWPC.js} +2 -2
  120. package/dist/{chunk-SFSJ6XWV.js → chunk-WM2CR4NX.js} +8 -8
  121. package/dist/{chunk-XCR3PDFF.js → chunk-WRQ54IZS.js} +5 -5
  122. package/dist/{chunk-M526IKKH.js → chunk-WT65QX7I.js} +4 -4
  123. package/dist/{chunk-N56W4R66.js → chunk-WV3RUC2Z.js} +5 -5
  124. package/dist/{chunk-SH4PPRU7.js → chunk-X36EJABT.js} +3 -3
  125. package/dist/{chunk-NN5IDH2I.js → chunk-XH4JUOYQ.js} +4 -4
  126. package/dist/{chunk-VZD3ZV4Y.js → chunk-XPINVXMF.js} +12 -12
  127. package/dist/{chunk-MTGGOCND.js → chunk-YC6GVLTI.js} +61 -10
  128. package/dist/{chunk-6PHOZBW5.js → chunk-YD2HPT7W.js} +2 -2
  129. package/dist/{chunk-ZGOBAMQ2.js → chunk-Z6N3O2OV.js} +11 -11
  130. package/dist/{chunk-VQGQF7O7.js → chunk-ZV5FSZ3W.js} +5 -5
  131. package/dist/{chunk-P54AX5XN.js → chunk-ZVGKM3UB.js} +6 -6
  132. package/dist/completion-registry.js +6 -6
  133. package/dist/{d3-CQT5bwpb.d.ts → d3-CTGUvjsH.d.ts} +1 -1
  134. package/dist/dgmo-router-62TSED7N.js +91 -0
  135. package/dist/{dgmo-router-C9CsswPZ.d.ts → dgmo-router-DNmcIut1.d.ts} +1 -1
  136. package/dist/dimensions-IGSAMCMH.js +22 -0
  137. package/dist/flowchart-parser-N4DNK6U6.js +21 -0
  138. package/dist/{flowchart-renderer-FDJ4QQXE.js → flowchart-renderer-NVBCUI2C.js} +15 -15
  139. package/dist/index.d.ts +7 -8
  140. package/dist/index.js +65 -247
  141. package/dist/{layout-5DZ2LI2R.js → layout-25CSTO66.js} +3 -3
  142. package/dist/layout-4KIWCVYT.js +16 -0
  143. package/dist/{layout-TCFXB5XH.js → layout-6ISNEL7W.js} +7 -7
  144. package/dist/{layout-CHWKNE3O.js → layout-FCIYZV63.js} +3 -3
  145. package/dist/{layout-YVY72CIG.js → layout-FG2MPG22.js} +7 -7
  146. package/dist/{layout-C2SCZV5M.js → layout-FQUQ6GHB.js} +9 -9
  147. package/dist/{layout-4LNMXLVK.js → layout-J2Z2SYH5.js} +3 -3
  148. package/dist/{layout-S53FSD6R.js → layout-QT7YRV3G.js} +7 -7
  149. package/dist/layout-SUIUWHQ5.js +16 -0
  150. package/dist/layout-SUND6B7D.js +9 -0
  151. package/dist/layout-TIF77QX4.js +19 -0
  152. package/dist/{layout-SGYR6HBX.js → layout-XAJLQPI6.js} +3 -3
  153. package/dist/layout-XTUGQPCZ.js +16 -0
  154. package/dist/{layout-6I6LSBUR.js → layout-YTNWNFDY.js} +9 -9
  155. package/dist/{layout-search-TSV4FURP.js → layout-search-GWCIKHO4.js} +7 -7
  156. package/dist/{legend-constants-SB4PLHV5.js → legend-constants-EDMTP4Y6.js} +6 -6
  157. package/dist/{palettes-YIPSRYXP.js → palettes-M6T5ENBU.js} +4 -4
  158. package/dist/parser-2A6KJT2A.js +12 -0
  159. package/dist/parser-2QAQWYUX.js +14 -0
  160. package/dist/{parser-WQNT7T2P.js → parser-2U3LTE3M.js} +5 -5
  161. package/dist/parser-2XE7VVEH.js +17 -0
  162. package/dist/{parser-6ZFQLLVE.js → parser-3GDLKPTU.js} +5 -5
  163. package/dist/parser-4UYQVTIR.js +12 -0
  164. package/dist/{parser-62VNEQRT.js → parser-5GVHFVVE.js} +6 -6
  165. package/dist/parser-5OM26GJZ.js +13 -0
  166. package/dist/parser-7A2HY3QJ.js +12 -0
  167. package/dist/parser-7DPIIILN.js +11 -0
  168. package/dist/parser-AT4F7FNV.js +15 -0
  169. package/dist/parser-AVMGVOPJ.js +11 -0
  170. package/dist/parser-CUZY3OK3.js +11 -0
  171. package/dist/parser-DFRYG3YK.js +20 -0
  172. package/dist/parser-HHHINIOH.js +15 -0
  173. package/dist/parser-IIM3B3DJ.js +13 -0
  174. package/dist/parser-J3JKGPH5.js +17 -0
  175. package/dist/parser-JLJWN5O2.js +11 -0
  176. package/dist/parser-K7B6OCJA.js +13 -0
  177. package/dist/{parser-3UNIPVNY.js → parser-M2TYYS2M.js} +7 -7
  178. package/dist/parser-M6X5IDP4.js +13 -0
  179. package/dist/parser-MAI2Q4A3.js +15 -0
  180. package/dist/{parser-BOPXE6RP.js → parser-N7FNNO2X.js} +6 -6
  181. package/dist/parser-NBSXY4LA.js +16 -0
  182. package/dist/{parser-4IHIVDJD.js → parser-O2YCFUZD.js} +7 -7
  183. package/dist/{parser-GKZWI5SZ.js → parser-PXGN5EEQ.js} +7 -7
  184. package/dist/parser-QEKXLSTK.js +19 -0
  185. package/dist/parser-QF722VMI.js +11 -0
  186. package/dist/parser-RC5JWJPX.js +16 -0
  187. package/dist/parser-SETVYTVM.js +14 -0
  188. package/dist/parser-TBKPRT33.js +18 -0
  189. package/dist/parser-WMKP2QI5.js +13 -0
  190. package/dist/parser-XI6KXGYB.js +11 -0
  191. package/dist/pert.d.ts +11 -0
  192. package/dist/renderer-2BB7NQOL.js +23 -0
  193. package/dist/renderer-2PKBM4AN.js +78 -0
  194. package/dist/renderer-3BDL37LP.js +27 -0
  195. package/dist/renderer-3NFIC7UT.js +25 -0
  196. package/dist/renderer-4PUPRFGG.js +28 -0
  197. package/dist/{renderer-FFGFTIT4.js → renderer-62CDL6X6.js} +15 -15
  198. package/dist/renderer-AFND3S3N.js +36 -0
  199. package/dist/renderer-AOL3X2AT.js +25 -0
  200. package/dist/renderer-AVSNWMQK.js +30 -0
  201. package/dist/{renderer-JC7MK7SD.js → renderer-HK3IPHLE.js} +6 -6
  202. package/dist/renderer-HLTZHXTP.js +24 -0
  203. package/dist/renderer-HVOZIG5Y.js +31 -0
  204. package/dist/{renderer-LGMIAG6N.js → renderer-HXRAKW5U.js} +5 -5
  205. package/dist/renderer-IIULR7PP.js +21 -0
  206. package/dist/renderer-IOPZ7CPD.js +27 -0
  207. package/dist/renderer-IRLNJRM6.js +27 -0
  208. package/dist/{renderer-AIVALEQR.js → renderer-IUX7EYDO.js} +8 -8
  209. package/dist/{renderer-KWNNWCGD.js → renderer-LIY43V2Z.js} +6 -6
  210. package/dist/renderer-LR2KSRCY.js +16 -0
  211. package/dist/renderer-M4NZDCFW.js +39 -0
  212. package/dist/renderer-MB2LMVEH.js +25 -0
  213. package/dist/renderer-N37MV6QX.js +30 -0
  214. package/dist/renderer-O3EM5RPJ.js +17 -0
  215. package/dist/renderer-PK64F2M2.js +20 -0
  216. package/dist/renderer-QKE4VHWG.js +35 -0
  217. package/dist/renderer-TNAPPEDK.js +29 -0
  218. package/dist/renderer-TQ7V2TGU.js +23 -0
  219. package/dist/renderer-VF4FR5SE.js +26 -0
  220. package/dist/{renderer-J7J3OVLQ.js → renderer-VMN4Q7G7.js} +17 -17
  221. package/dist/{renderer-JHQC5RGJ.js → renderer-W3TZYI5A.js} +15 -15
  222. package/dist/renderer-W72M5ZHU.js +39 -0
  223. package/dist/renderer-X4WS62JV.js +28 -0
  224. package/dist/renderer-YXS7GHVI.js +20 -0
  225. package/dist/renderer-radial-Q2SLYC4M.js +21 -0
  226. package/dist/{resolver-H5E6V7LJ.js → resolver-7GHPU2SV.js} +3 -3
  227. package/dist/state-parser-ZP7EAX7V.js +19 -0
  228. package/dist/state-renderer-Y6CCWLVQ.js +41 -0
  229. package/dist/{tag-groups-BoJg3lFV.d.ts → tag-groups-CFxENdtP.d.ts} +37 -1
  230. package/dist/{themes-CXYnNA4e.d.ts → themes-D_o7JLlR.d.ts} +2 -2
  231. package/docs/language-reference.md +7 -1
  232. package/package.json +6 -6
  233. package/dist/calculator-CVQ54JNE.js +0 -13
  234. package/dist/charts-d3-KEQ7XVSM.js +0 -31
  235. package/dist/dgmo-router-XZNCLYTV.js +0 -90
  236. package/dist/dimensions-SIZMZ4DC.js +0 -22
  237. package/dist/flowchart-parser-NVBP3C5D.js +0 -21
  238. package/dist/layout-IN53LAE6.js +0 -9
  239. package/dist/layout-K4KML2DL.js +0 -19
  240. package/dist/layout-XK6ZD7BU.js +0 -16
  241. package/dist/layout-YY6VH5XH.js +0 -16
  242. package/dist/layout-ZDN252GR.js +0 -16
  243. package/dist/parser-2BX2EJUB.js +0 -17
  244. package/dist/parser-3KQONLXZ.js +0 -11
  245. package/dist/parser-4DLU4SNG.js +0 -11
  246. package/dist/parser-4KFJKLP2.js +0 -11
  247. package/dist/parser-6JNJHQAG.js +0 -14
  248. package/dist/parser-B2XQNHZM.js +0 -11
  249. package/dist/parser-DFBQ2RID.js +0 -15
  250. package/dist/parser-EPKXJ2RL.js +0 -16
  251. package/dist/parser-F4ZKDGUZ.js +0 -12
  252. package/dist/parser-G7E2BURB.js +0 -13
  253. package/dist/parser-GFGU5ZLQ.js +0 -17
  254. package/dist/parser-H4ZUNLX4.js +0 -15
  255. package/dist/parser-HSPODF4H.js +0 -15
  256. package/dist/parser-IK3FXZ7D.js +0 -20
  257. package/dist/parser-LJWPKRDM.js +0 -13
  258. package/dist/parser-OYWUBQV4.js +0 -12
  259. package/dist/parser-PD4TP6NM.js +0 -13
  260. package/dist/parser-R2JHC7LQ.js +0 -12
  261. package/dist/parser-RMZ6YI7H.js +0 -13
  262. package/dist/parser-RUJNN5PK.js +0 -18
  263. package/dist/parser-WCFG3DZA.js +0 -11
  264. package/dist/parser-XVSDFO56.js +0 -11
  265. package/dist/parser-YWE7GHW6.js +0 -13
  266. package/dist/parser-Z5UK6ADF.js +0 -14
  267. package/dist/parser-ZO5YT5SV.js +0 -16
  268. package/dist/parser-ZYAFHXKQ.js +0 -19
  269. package/dist/renderer-5TPUPMZ7.js +0 -26
  270. package/dist/renderer-AMELXBNW.js +0 -23
  271. package/dist/renderer-BF7FYXG3.js +0 -25
  272. package/dist/renderer-CRRW7LTW.js +0 -17
  273. package/dist/renderer-CXU2MGSC.js +0 -27
  274. package/dist/renderer-DI66RLAG.js +0 -30
  275. package/dist/renderer-E2JTYQY5.js +0 -39
  276. package/dist/renderer-FA4BTAOL.js +0 -20
  277. package/dist/renderer-IVAM7Z3Y.js +0 -27
  278. package/dist/renderer-J6HK2KOW.js +0 -23
  279. package/dist/renderer-JRITSZY3.js +0 -28
  280. package/dist/renderer-KD5X4RIS.js +0 -35
  281. package/dist/renderer-LQN3FXAP.js +0 -77
  282. package/dist/renderer-LRL4SU43.js +0 -29
  283. package/dist/renderer-MBL64AJI.js +0 -24
  284. package/dist/renderer-NA3DTAWF.js +0 -39
  285. package/dist/renderer-OR5QHR7X.js +0 -31
  286. package/dist/renderer-SBVWHQVW.js +0 -30
  287. package/dist/renderer-TLOSBJKW.js +0 -36
  288. package/dist/renderer-UDWJRRIC.js +0 -27
  289. package/dist/renderer-VHK6UAW2.js +0 -20
  290. package/dist/renderer-W5UG2HWT.js +0 -16
  291. package/dist/renderer-WOOKJOBQ.js +0 -25
  292. package/dist/renderer-WYNLGZRF.js +0 -25
  293. package/dist/renderer-Y74Y54C3.js +0 -21
  294. package/dist/renderer-ZUAXGHFC.js +0 -28
  295. package/dist/renderer-radial-YVUDGR7C.js +0 -21
  296. package/dist/state-parser-CT5HQQ7E.js +0 -19
  297. package/dist/state-renderer-7O3QGNJ5.js +0 -41
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-WTTIODDV.js";
5
5
  import {
6
6
  buildPlacedNotes
7
- } from "./chunk-LMWXBFLA.js";
7
+ } from "./chunk-2R2M2C6V.js";
8
8
  import {
9
9
  noteCanvasShift
10
10
  } from "./chunk-6EK55ART.js";
@@ -12,10 +12,10 @@ import {
12
12
  measureText,
13
13
  truncateText,
14
14
  wrapTextToWidth
15
- } from "./chunk-MTGGOCND.js";
15
+ } from "./chunk-YC6GVLTI.js";
16
16
  import {
17
17
  resolveNotes
18
- } from "./chunk-E6PNTYRK.js";
18
+ } from "./chunk-VS5WMPWM.js";
19
19
 
20
20
  // src/boxes-and-lines/label-placement.ts
21
21
  var EDGE_LABEL_FONT_SIZE = 11;
@@ -312,7 +312,7 @@ function computeNodeSize(node, reserveValueRow) {
312
312
  return { width: w, height: Math.max(NODE_HEIGHT, totalHeight) };
313
313
  }
314
314
  async function layoutBoxesAndLines(parsed, collapseInfo, layoutOptions) {
315
- const { layoutBoxesAndLinesSearch } = await import("./layout-search-TSV4FURP.js");
315
+ const { layoutBoxesAndLinesSearch } = await import("./layout-search-GWCIKHO4.js");
316
316
  const searchOpts = {
317
317
  ...layoutOptions?.hideDescriptions !== void 0 && {
318
318
  hideDescriptions: layoutOptions.hideDescriptions
@@ -468,4 +468,4 @@ export {
468
468
  computeNodeSize,
469
469
  layoutBoxesAndLines
470
470
  };
471
- //# sourceMappingURL=chunk-RHZZVIGA.js.map
471
+ //# sourceMappingURL=chunk-THHXUZTB.js.map
@@ -13,7 +13,7 @@ import {
13
13
  LEGEND_TOGGLE_DOT_R,
14
14
  measureLegendText,
15
15
  truncateLegendText
16
- } from "./chunk-MFK7LF66.js";
16
+ } from "./chunk-UDUJVGCZ.js";
17
17
 
18
18
  // src/utils/number-format.ts
19
19
  function compactNumber(n) {
@@ -577,4 +577,4 @@ export {
577
577
  getMaxLegendReservedHeight,
578
578
  getLegendExtent
579
579
  };
580
- //# sourceMappingURL=chunk-IZTU6WVR.js.map
580
+ //# sourceMappingURL=chunk-TR5BFNRR.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  extractColor,
3
3
  measureIndent
4
- } from "./chunk-M5OOAP65.js";
4
+ } from "./chunk-OD42CAXD.js";
5
5
  import {
6
6
  makeDgmoError
7
- } from "./chunk-5SI6T5A5.js";
7
+ } from "./chunk-OAQE624Z.js";
8
8
 
9
9
  // src/utils/notes/parse.ts
10
10
  function parseNoteHeader(rest) {
@@ -73,4 +73,4 @@ function tryCollectNote(lines, index, indent, palette, diagnostics) {
73
73
  export {
74
74
  tryCollectNote
75
75
  };
76
- //# sourceMappingURL=chunk-76NHL5UG.js.map
76
+ //# sourceMappingURL=chunk-TU5ZNZWE.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  measureText,
3
3
  wrapTextToWidth
4
- } from "./chunk-MTGGOCND.js";
4
+ } from "./chunk-YC6GVLTI.js";
5
5
  import {
6
6
  fillModeFromOptions
7
- } from "./chunk-M5OOAP65.js";
7
+ } from "./chunk-OD42CAXD.js";
8
8
  import {
9
9
  mix,
10
10
  shapeFill
11
- } from "./chunk-YVLTNNME.js";
11
+ } from "./chunk-ARUQ55BK.js";
12
12
 
13
13
  // src/journey-map/layout.ts
14
14
  var PADDING = 24;
@@ -290,4 +290,4 @@ export {
290
290
  scoreToCurveY,
291
291
  layoutJourneyMap
292
292
  };
293
- //# sourceMappingURL=chunk-CTERZC4K.js.map
293
+ //# sourceMappingURL=chunk-TZZ3CSDF.js.map
@@ -8,7 +8,7 @@ import {
8
8
  tagAttrKey,
9
9
  validateTagGroupNames,
10
10
  validateTagValues
11
- } from "./chunk-R4YGH7DJ.js";
11
+ } from "./chunk-LDJFPEQ5.js";
12
12
  import {
13
13
  TREEMAP_REGISTRY,
14
14
  extractColor,
@@ -21,14 +21,14 @@ import {
21
21
  stripQuotes,
22
22
  warnUnknownMetaKeys,
23
23
  withTagAliases
24
- } from "./chunk-M5OOAP65.js";
24
+ } from "./chunk-OD42CAXD.js";
25
25
  import {
26
26
  emit,
27
27
  formatDgmoError,
28
28
  makeDgmoError,
29
29
  makeFail,
30
30
  suggest
31
- } from "./chunk-5SI6T5A5.js";
31
+ } from "./chunk-OAQE624Z.js";
32
32
 
33
33
  // src/treemap/diagnostics.ts
34
34
  var TREEMAP_DX = {
@@ -445,4 +445,4 @@ export {
445
445
  TREEMAP_DIAGNOSTICS,
446
446
  parseTreemap
447
447
  };
448
- //# sourceMappingURL=chunk-VUJQ6RU6.js.map
448
+ //# sourceMappingURL=chunk-U3BJC66Q.js.map
@@ -4,10 +4,10 @@ import {
4
4
  import {
5
5
  isTagBlockHeading,
6
6
  matchTagBlockHeading
7
- } from "./chunk-R4YGH7DJ.js";
7
+ } from "./chunk-LDJFPEQ5.js";
8
8
  import {
9
9
  makeDgmoError
10
- } from "./chunk-5SI6T5A5.js";
10
+ } from "./chunk-OAQE624Z.js";
11
11
 
12
12
  // src/pert/share-normalize.ts
13
13
  var START_DATE_NOW_RE = /^(\s*start-date\s+)now(\s*)$/i;
@@ -456,4 +456,4 @@ export {
456
456
  normalizePertSourceForShare,
457
457
  resolveOrgImports
458
458
  };
459
- //# sourceMappingURL=chunk-P4SQV3XD.js.map
459
+ //# sourceMappingURL=chunk-U3IPFKK7.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  measureText,
3
3
  truncateText
4
- } from "./chunk-MTGGOCND.js";
4
+ } from "./chunk-YC6GVLTI.js";
5
5
  import {
6
6
  mix
7
- } from "./chunk-YVLTNNME.js";
7
+ } from "./chunk-ARUQ55BK.js";
8
8
 
9
9
  // src/utils/legend-constants.ts
10
10
  var LEGEND_HEIGHT = 28;
@@ -59,4 +59,4 @@ export {
59
59
  LEGEND_TOGGLE_OFF_OPACITY,
60
60
  LEGEND_GEAR_PILL_W
61
61
  };
62
- //# sourceMappingURL=chunk-MFK7LF66.js.map
62
+ //# sourceMappingURL=chunk-UDUJVGCZ.js.map
@@ -16,11 +16,11 @@ import {
16
16
  fillModeFromToken,
17
17
  measureIndent,
18
18
  parseFirstLine
19
- } from "./chunk-M5OOAP65.js";
19
+ } from "./chunk-OD42CAXD.js";
20
20
  import {
21
21
  makeDgmoError,
22
22
  makeFail
23
- } from "./chunk-5SI6T5A5.js";
23
+ } from "./chunk-OAQE624Z.js";
24
24
 
25
25
  // src/countdown/parser.ts
26
26
  var RETIRED_SLOTS = /* @__PURE__ */ new Set(["on", "at", "from"]);
@@ -424,4 +424,4 @@ export {
424
424
  targetToMs2 as targetToMs,
425
425
  parseCountdown
426
426
  };
427
- //# sourceMappingURL=chunk-7WTFX6OA.js.map
427
+ //# sourceMappingURL=chunk-V4IRPJ6J.js.map
@@ -9,16 +9,16 @@ import {
9
9
  matchTagBlockHeading,
10
10
  stripDefaultModifier,
11
11
  tagAttrKey
12
- } from "./chunk-R4YGH7DJ.js";
12
+ } from "./chunk-LDJFPEQ5.js";
13
13
  import {
14
14
  extractColor,
15
15
  fillModeFromToken,
16
16
  measureIndent,
17
17
  parseFirstLine
18
- } from "./chunk-M5OOAP65.js";
18
+ } from "./chunk-OD42CAXD.js";
19
19
  import {
20
20
  emit
21
- } from "./chunk-5SI6T5A5.js";
21
+ } from "./chunk-OAQE624Z.js";
22
22
 
23
23
  // src/body/diagnostics.ts
24
24
  var BODY_DX = {
@@ -264,4 +264,4 @@ export {
264
264
  parseBody,
265
265
  extractSymbols
266
266
  };
267
- //# sourceMappingURL=chunk-7NNJXYXU.js.map
267
+ //# sourceMappingURL=chunk-VHFZK72U.js.map
@@ -4,6 +4,7 @@ var TITLE_FONT_WEIGHT = "bold";
4
4
  var TITLE_Y = 30;
5
5
  var TITLE_OFFSET = 40;
6
6
  var CAPTION_FONT_SIZE = 13;
7
+ var CAPTION_FONT_WEIGHT = "normal";
7
8
  var CAPTION_LINE_HEIGHT = 18;
8
9
  var CAPTION_TOP_GAP = 12;
9
10
  var CAPTION_BOX_PADDING_X = 16;
@@ -15,9 +16,10 @@ export {
15
16
  TITLE_Y,
16
17
  TITLE_OFFSET,
17
18
  CAPTION_FONT_SIZE,
19
+ CAPTION_FONT_WEIGHT,
18
20
  CAPTION_LINE_HEIGHT,
19
21
  CAPTION_TOP_GAP,
20
22
  CAPTION_BOX_PADDING_X,
21
23
  CAPTION_BOX_PADDING_Y
22
24
  };
23
- //# sourceMappingURL=chunk-VSPNH7LC.js.map
25
+ //# sourceMappingURL=chunk-VLC6WNRD.js.map
@@ -1,15 +1,19 @@
1
+ import {
2
+ MAP_DIAGNOSTICS
3
+ } from "./chunk-EOYPX6SF.js";
1
4
  import {
2
5
  parseClock
3
- } from "./chunk-SH4PPRU7.js";
6
+ } from "./chunk-X36EJABT.js";
4
7
  import {
5
8
  parseBracket
6
- } from "./chunk-6VTLVU7D.js";
9
+ } from "./chunk-B66G5S4G.js";
7
10
  import {
8
11
  parseRaci
9
- } from "./chunk-TN754B3R.js";
12
+ } from "./chunk-PYX7QA7B.js";
10
13
  import {
14
+ BODY_DIAGNOSTICS,
11
15
  parseBody
12
- } from "./chunk-7NNJXYXU.js";
16
+ } from "./chunk-VHFZK72U.js";
13
17
  import {
14
18
  EXTENDED_CHART_DOORS,
15
19
  parseChart,
@@ -18,81 +22,90 @@ import {
18
22
  parseHeatmap,
19
23
  parseSankey,
20
24
  parseScatter
21
- } from "./chunk-M526IKKH.js";
25
+ } from "./chunk-WT65QX7I.js";
22
26
  import {
23
27
  parseCycle
24
- } from "./chunk-CRLVJZWX.js";
28
+ } from "./chunk-I7BVPBPI.js";
25
29
  import {
26
30
  parseJourneyMap
27
- } from "./chunk-N56W4R66.js";
31
+ } from "./chunk-WV3RUC2Z.js";
28
32
  import {
29
33
  parsePyramid
30
- } from "./chunk-LKS56RDT.js";
34
+ } from "./chunk-37HNPLQA.js";
31
35
  import {
32
36
  parseRing
33
- } from "./chunk-OKXWPKUC.js";
37
+ } from "./chunk-HFIS5H44.js";
34
38
  import {
39
+ TREEMAP_DIAGNOSTICS,
35
40
  parseTreemap
36
- } from "./chunk-VUJQ6RU6.js";
41
+ } from "./chunk-U3BJC66Q.js";
37
42
  import {
38
43
  parseBlock
39
- } from "./chunk-2NLBIZEW.js";
44
+ } from "./chunk-JSQXK2X7.js";
40
45
  import {
41
46
  parseGoal
42
- } from "./chunk-KWSBNLSC.js";
47
+ } from "./chunk-IHOX6RQZ.js";
43
48
  import {
44
49
  parseCountdown
45
- } from "./chunk-7WTFX6OA.js";
50
+ } from "./chunk-V4IRPJ6J.js";
46
51
  import {
47
52
  parseMap
48
- } from "./chunk-7BNRHSSF.js";
53
+ } from "./chunk-BKM2CJBC.js";
49
54
  import {
50
55
  parseBoxesAndLines
51
- } from "./chunk-QVMV4KCA.js";
56
+ } from "./chunk-3AWWQ2AI.js";
52
57
  import {
53
58
  parseSketch
54
- } from "./chunk-B6PVPAS5.js";
59
+ } from "./chunk-GCW3FSLR.js";
60
+ import {
61
+ SKETCH_DIAGNOSTICS
62
+ } from "./chunk-EGY3TS62.js";
55
63
  import {
64
+ SWIMLANE_DIAGNOSTICS,
56
65
  parseSwimlane
57
- } from "./chunk-3ZLQM6XN.js";
66
+ } from "./chunk-I26QNBHS.js";
58
67
  import {
68
+ FAMILY_DIAGNOSTICS,
59
69
  parseFamily
60
- } from "./chunk-GINNZHVN.js";
70
+ } from "./chunk-23MSLKPP.js";
61
71
  import {
62
72
  parseMindmap
63
- } from "./chunk-57GSSHBR.js";
73
+ } from "./chunk-2TTDR565.js";
64
74
  import {
65
75
  parseTechRadar
66
- } from "./chunk-VBJCGGNF.js";
76
+ } from "./chunk-3KGW6JUX.js";
67
77
  import {
78
+ PERT_DIAGNOSTICS,
68
79
  looksLikePert,
69
80
  parsePert
70
- } from "./chunk-KAZQX2EY.js";
81
+ } from "./chunk-JN3OA44O.js";
71
82
  import {
72
83
  isLiveLinkLine,
73
84
  parseLiveLink
74
- } from "./chunk-Y2CYNRL7.js";
85
+ } from "./chunk-7TTKMWTA.js";
75
86
  import {
87
+ EVENT_LINE_DIAGNOSTICS,
76
88
  parseEventLine
77
- } from "./chunk-RC6GGF6X.js";
89
+ } from "./chunk-7EHMSQVV.js";
78
90
  import {
79
91
  parseTimelineEventLine
80
- } from "./chunk-UCZBRGJN.js";
92
+ } from "./chunk-54E35DTP.js";
81
93
  import {
94
+ VERSION_CONTROL_DIAGNOSTICS,
82
95
  parseVersionControl
83
- } from "./chunk-7BMX2M3F.js";
96
+ } from "./chunk-3VUWBXW2.js";
84
97
  import {
85
98
  parseKanban
86
- } from "./chunk-3GLTQZKE.js";
99
+ } from "./chunk-LA4FDGQO.js";
87
100
  import {
88
101
  parseC4
89
- } from "./chunk-A7Y32YD6.js";
102
+ } from "./chunk-H4YK6Q7A.js";
90
103
  import {
91
104
  parseInfra
92
- } from "./chunk-NS3KIRSW.js";
105
+ } from "./chunk-4ROEQ3XT.js";
93
106
  import {
94
107
  parseGantt
95
- } from "./chunk-FJADQOFQ.js";
108
+ } from "./chunk-QQLY52Q7.js";
96
109
  import {
97
110
  makeYearContext,
98
111
  parseDateToken,
@@ -102,42 +115,52 @@ import {
102
115
  import {
103
116
  looksLikeSequence,
104
117
  parseSequenceDgmo
105
- } from "./chunk-XCR3PDFF.js";
118
+ } from "./chunk-WRQ54IZS.js";
106
119
  import {
107
120
  looksLikeFlowchart,
108
121
  parseFlowchart
109
- } from "./chunk-NWNSXHA5.js";
122
+ } from "./chunk-SH6QDU4T.js";
123
+ import {
124
+ GRAPH_DIAGNOSTICS
125
+ } from "./chunk-7TF3QOOD.js";
110
126
  import {
111
127
  looksLikeState,
112
128
  parseState
113
- } from "./chunk-6Z2NUJSX.js";
129
+ } from "./chunk-O4CG5ZRH.js";
114
130
  import {
115
131
  looksLikeClassDiagram,
116
132
  parseClassDiagram
117
- } from "./chunk-LTTZX6RD.js";
133
+ } from "./chunk-QMBVPA4R.js";
118
134
  import {
119
135
  looksLikeERDiagram,
120
136
  parseERDiagram
121
- } from "./chunk-SFSJ6XWV.js";
137
+ } from "./chunk-WM2CR4NX.js";
138
+ import {
139
+ ARROW_DIAGNOSTIC_CODES
140
+ } from "./chunk-IMA4D3ZK.js";
122
141
  import {
123
142
  looksLikeOrg,
124
143
  parseOrg
125
- } from "./chunk-QAPFXLAC.js";
144
+ } from "./chunk-J5FSJRQN.js";
126
145
  import {
127
146
  looksLikeSitemap,
128
147
  parseSitemap
129
- } from "./chunk-NN5IDH2I.js";
148
+ } from "./chunk-XH4JUOYQ.js";
149
+ import {
150
+ RACI_DIAGNOSTICS
151
+ } from "./chunk-ALKJBGIV.js";
130
152
  import {
131
153
  parseWireframe
132
- } from "./chunk-3OWIYK52.js";
154
+ } from "./chunk-3MNFBPFK.js";
133
155
  import {
134
156
  matchTagBlockHeading,
135
157
  stripDefaultModifier,
136
158
  tagAttrKey,
137
159
  validateTagGroupNames,
138
160
  validateTagValues
139
- } from "./chunk-R4YGH7DJ.js";
161
+ } from "./chunk-LDJFPEQ5.js";
140
162
  import {
163
+ ALIAS_DIAGNOSTICS,
141
164
  TIMELINE_REGISTRY,
142
165
  chartTypes,
143
166
  collectIndentedValues,
@@ -149,19 +172,21 @@ import {
149
172
  peelTrailingColorName,
150
173
  splitNameAndMeta,
151
174
  withTagAliases
152
- } from "./chunk-M5OOAP65.js";
175
+ } from "./chunk-OD42CAXD.js";
153
176
  import {
154
177
  resolveColorWithDiagnostic
155
- } from "./chunk-XOGQY4EC.js";
178
+ } from "./chunk-3NGB6XAX.js";
156
179
  import {
157
180
  NEGATIVE_VALUE_DX,
158
181
  TITLE_DIRECTIVE_DX,
159
182
  dedupeDiagnostics,
160
183
  emit,
184
+ emptyMetadataValueMessage,
161
185
  formatDgmoError,
162
186
  makeDgmoError,
187
+ nameMergedMessage,
163
188
  suggest
164
- } from "./chunk-5SI6T5A5.js";
189
+ } from "./chunk-OAQE624Z.js";
165
190
 
166
191
  // src/visualizations/types.ts
167
192
  var DEFAULT_CLOUD_OPTIONS = {
@@ -1435,6 +1460,175 @@ function tokenizeFreeformText(text) {
1435
1460
  return Array.from(counts.entries()).map(([text2, count]) => ({ text: text2, weight: count, lineNumber: 0 })).sort((a, b) => b.weight - a.weight);
1436
1461
  }
1437
1462
 
1463
+ // src/utils/arrows-diagnostics.ts
1464
+ var ARROW_DIAGNOSTICS = [
1465
+ // --- ACTIVE (TD-13): emitted by validateLabelCharacters ---
1466
+ {
1467
+ code: ARROW_DIAGNOSTIC_CODES.ARROW_SUBSTRING_IN_LABEL,
1468
+ // 'E_ARROW_SUBSTRING_IN_LABEL'
1469
+ severity: "error",
1470
+ chartType: null,
1471
+ title: "Arrow symbol inside label",
1472
+ // Verbatim from validateLabelCharacters (arrows.ts, TD-13).
1473
+ message: 'Arrow symbols (-> or ~>) are not allowed inside a label. Reword the label without them \u2014 e.g. "A -chains to-> B". See "In-Arrow Message Labels" \u2192 Forbidden.',
1474
+ // 🔴 This said `A -> B: uses -> to chain` until 2026-09-01 — it recommended
1475
+ // the one syntax that breaks silently. In a sequence diagram the colon form
1476
+ // is a hard error; in boxes-and-lines it parses clean and invents a node
1477
+ // literally named "B: uses to chain" (verified: nodes come back
1478
+ // `["A","B: uses to chain"]` with zero diagnostics). The label belongs
1479
+ // BETWEEN the dashes, and it can never contain an arrow, so the repair is
1480
+ // to reword it rather than move it.
1481
+ hint: 'The label goes between the dashes \u2014 `A -chains to-> B` \u2014 and cannot contain an arrow at all, so reword it rather than move it. Do not use `A -> B: label`: outside sequence diagrams that silently creates a node named "B: label".',
1482
+ // End-to-end trigger via a symbolic parser (class), whose label is
1483
+ // everything after the target name, so the inner `~>` survives to the
1484
+ // validator instead of being absorbed as a second arrow token.
1485
+ example: "class\nFoo\n --|> Bar uses ~> chain"
1486
+ },
1487
+ // --- ACTIVE (TD-14): emitted by validateLabelCharacters ---
1488
+ {
1489
+ code: ARROW_DIAGNOSTIC_CODES.CONTROL_CHAR_IN_LABEL,
1490
+ // 'E_CONTROL_CHAR_IN_LABEL'
1491
+ severity: "error",
1492
+ chartType: null,
1493
+ title: "Control character in label",
1494
+ // Verbatim from validateLabelCharacters (arrows.ts, TD-14). The emitter
1495
+ // interpolates the offending codepoint as a 4-digit upper-hex string
1496
+ // (e.g. '0000'); tolerate `{}` for the param-less catalog view.
1497
+ message: (p) => `Label contains a control character (U+${typeof p.hex === "string" ? p.hex : "XXXX"}). Remove it and use plain text.`,
1498
+ hint: "Delete the control character (C0 U+0000\u2013U+001F except tab, or U+007F); use plain text.",
1499
+ // `\u0000` is a literal NUL inside the label, which triggers
1500
+ // E_CONTROL_CHAR_IN_LABEL end-to-end on any chain-tokenizing chart.
1501
+ // (Escaped, not a raw NUL byte, to keep the source file text-safe.)
1502
+ example: "sequence\nA -has\0nul-> B"
1503
+ }
1504
+ ];
1505
+
1506
+ // src/colors-diagnostics.ts
1507
+ var COLOR_DIAGNOSTICS = [
1508
+ {
1509
+ // src/colors.ts:317/347/359 — makeDgmoError(..., 'warning', INVALID_COLOR_CODE='E_INVALID_COLOR')
1510
+ // Runtime: emitted as warning despite E_ prefix
1511
+ code: "E_INVALID_COLOR",
1512
+ severity: "warning",
1513
+ chartType: null,
1514
+ title: "Invalid DGMO color",
1515
+ message: (p) => `Color "${String(
1516
+ p.token ?? p.color ?? ""
1517
+ )}" is not a valid DGMO color \u2014 DGMO accepts only these 11 named colors: <names> (no hex, no CSS color names).`,
1518
+ hint: "Use one of the 11 named palette colors instead of a hex/rgb()/hsl() or CSS color name.",
1519
+ example: `version-control
1520
+ main
1521
+ Initial commit
1522
+ develop from main crimson
1523
+ Set up CI
1524
+ `
1525
+ }
1526
+ ];
1527
+
1528
+ // src/diagnostics-registry.ts
1529
+ var UNIVERSAL_DIAGNOSTICS = [
1530
+ // ── Universal name handling ──
1531
+ {
1532
+ code: "I_NAME_MERGED",
1533
+ severity: "warning",
1534
+ chartType: null,
1535
+ title: "Names merged (case/whitespace)",
1536
+ message: (p) => nameMergedMessage({
1537
+ incomingDisplay: String(p.incomingDisplay ?? "Backend"),
1538
+ incomingLine: Number(p.incomingLine ?? 2),
1539
+ existingDisplay: String(p.existingDisplay ?? "backend"),
1540
+ existingLine: Number(p.existingLine ?? 1)
1541
+ }),
1542
+ hint: "Use one consistent spelling, or add `# allow-merge` on the line if the merge is intentional.",
1543
+ example: "infra\ninternet\n -> gw\ngw\n -> svc\nGW\n -> svc\n"
1544
+ },
1545
+ // ── Unified metadata grammar (0.18.0) ──
1546
+ {
1547
+ code: "E_TAG_DECLARED_AFTER_CONTENT",
1548
+ severity: "error",
1549
+ chartType: null,
1550
+ title: "Tag declared after content",
1551
+ message: "A `tag` declaration appears after the first content line \u2014 declare all tags before any content.",
1552
+ hint: "Move `tag` declarations to the top of the diagram.",
1553
+ example: "block\n[A]\ntag warn red"
1554
+ },
1555
+ {
1556
+ code: "W_ACTIVE_TAG_NO_MATCH",
1557
+ severity: "warning",
1558
+ chartType: null,
1559
+ title: "Active tag group not found",
1560
+ message: "`active-tag` names a group the diagram does not declare, so nothing is coloured.",
1561
+ hint: "Check the spelling against the declared `tag` groups, or use `active-tag none` to colour nothing on purpose.",
1562
+ // The group name in this example is misspelled on purpose — showing a name
1563
+ // that matches no declared group is the example's whole job. Ignored for
1564
+ // this file rather than added to cspell.json, which would excuse the same
1565
+ // typo anywhere in the library. cspell:ignore Rnak
1566
+ example: "org Crew\nactive-tag Rnak\n\ntag Rank as r\n Captain red\n\nBlackbeard r: Captain\n"
1567
+ },
1568
+ {
1569
+ code: "W_EMPTY_METADATA_VALUE",
1570
+ severity: "warning",
1571
+ chartType: null,
1572
+ title: "Empty metadata value",
1573
+ message: (p) => emptyMetadataValueMessage(String(p.key ?? "color")),
1574
+ hint: "Provide a value or remove the key.",
1575
+ example: "mindmap\nRoot color:\n Child"
1576
+ },
1577
+ {
1578
+ code: "W_LEGEND_INLINE_UNSUPPORTED",
1579
+ severity: "warning",
1580
+ chartType: null,
1581
+ title: "legend-inline not supported",
1582
+ message: () => "'legend-inline' isn't supported for this chart type \u2014 the title and legend render stacked.",
1583
+ hint: "Remove legend-inline, or use a chart type with a top-center capsule legend (e.g. bar, line, state, treemap, sequence, gantt).",
1584
+ example: "pie Share\nApples 30\nPears 70"
1585
+ },
1586
+ {
1587
+ code: "W_CANVAS_WIDTH_IGNORED",
1588
+ severity: "warning",
1589
+ chartType: null,
1590
+ title: "Requested width not applied",
1591
+ message: () => "This chart type sizes itself from its content, so the canvas came out wider than the width that was requested.",
1592
+ hint: "The width is a maximum for chart types that fit their content to it; one that lays out from its own nodes (org, sitemap, class, er, infra, and the rest of the structured family) is as wide as its content needs. Remove the width, or give the diagram less to draw.",
1593
+ example: "org Team\nJane\n Sam"
1594
+ },
1595
+ // ── Data-chart `title` directive (decision #48) ──
1596
+ TITLE_DIRECTIVE_DX,
1597
+ // ── Negative value on a magnitude channel (pie/polar-area/radar/funnel/
1598
+ // sankey/arc/wordcloud/treemap size/map size:/width:) ──
1599
+ NEGATIVE_VALUE_DX
1600
+ ];
1601
+ var REGISTRY = [
1602
+ ...UNIVERSAL_DIAGNOSTICS,
1603
+ ...SWIMLANE_DIAGNOSTICS,
1604
+ ...RACI_DIAGNOSTICS,
1605
+ ...TREEMAP_DIAGNOSTICS,
1606
+ ...EVENT_LINE_DIAGNOSTICS,
1607
+ ...BODY_DIAGNOSTICS,
1608
+ ...VERSION_CONTROL_DIAGNOSTICS,
1609
+ ...ARROW_DIAGNOSTICS,
1610
+ ...MAP_DIAGNOSTICS,
1611
+ ...PERT_DIAGNOSTICS,
1612
+ ...GRAPH_DIAGNOSTICS,
1613
+ ...COLOR_DIAGNOSTICS,
1614
+ ...SKETCH_DIAGNOSTICS,
1615
+ ...FAMILY_DIAGNOSTICS,
1616
+ ...ALIAS_DIAGNOSTICS
1617
+ ];
1618
+ function listDiagnosticCodes() {
1619
+ return [...REGISTRY].sort((a, b) => a.code.localeCompare(b.code));
1620
+ }
1621
+ function attachHints(diagnostics) {
1622
+ return diagnostics.map((d) => {
1623
+ if (d.hint !== void 0 || d.code === void 0) return d;
1624
+ const hint = getDiagnosticSpec(d.code)?.hint;
1625
+ return hint === void 0 ? d : { ...d, hint };
1626
+ });
1627
+ }
1628
+ function getDiagnosticSpec(code) {
1629
+ return REGISTRY.find((s) => s.code === code);
1630
+ }
1631
+
1438
1632
  // src/slope/parser.ts
1439
1633
  function parseSlope(content, palette) {
1440
1634
  return parseVisualization(content, palette);
@@ -1466,7 +1660,7 @@ function parseQuadrant(content, palette) {
1466
1660
  }
1467
1661
 
1468
1662
  // src/chart-type-registry.ts
1469
- var REGISTRY = {
1663
+ var REGISTRY2 = {
1470
1664
  // ── Structured diagrams ───────────────────────────────────
1471
1665
  sequence: { category: "diagram", parse: parseSequenceDgmo },
1472
1666
  flowchart: { category: "diagram", parse: parseFlowchart },
@@ -1541,7 +1735,7 @@ var REGISTRY = {
1541
1735
  // card sizes to its own text and scales to fit.
1542
1736
  "live-link": { category: "diagram", parse: parseLiveLink }
1543
1737
  };
1544
- var CHART_TYPE_REGISTRY = Object.entries(REGISTRY).map(([id, d]) => ({ id, ...d }));
1738
+ var CHART_TYPE_REGISTRY = Object.entries(REGISTRY2).map(([id, d]) => ({ id, ...d }));
1545
1739
  var REGISTRY_BY_ID = new Map(
1546
1740
  CHART_TYPE_REGISTRY.map((d) => [d.id, d])
1547
1741
  );
@@ -1617,7 +1811,9 @@ var ALL_KNOWN_TYPES = new Set(knownChartTypeIds);
1617
1811
  function parseDgmo(content) {
1618
1812
  const result = parseDgmoUndeduped(content);
1619
1813
  return {
1620
- diagnostics: dedupeDiagnostics(result.diagnostics),
1814
+ // `attachHints` backfills the registry's repair sentence by code, so the
1815
+ // hint travels however the diagnostic was constructed. See its own comment.
1816
+ diagnostics: attachHints(dedupeDiagnostics(result.diagnostics)),
1621
1817
  chartType: result.chartType
1622
1818
  };
1623
1819
  }
@@ -1705,6 +1901,8 @@ export {
1705
1901
  parseWordcloud,
1706
1902
  parseVenn,
1707
1903
  parseQuadrant,
1904
+ listDiagnosticCodes,
1905
+ getDiagnosticSpec,
1708
1906
  looksLikeGantt,
1709
1907
  looksLikeC4,
1710
1908
  parseDgmoChartType,
@@ -1716,4 +1914,4 @@ export {
1716
1914
  knownChartTypeIds,
1717
1915
  parseDgmo
1718
1916
  };
1719
- //# sourceMappingURL=chunk-7SMVTA7I.js.map
1917
+ //# sourceMappingURL=chunk-VPSZKOKK.js.map