@diagrammo/dgmo 0.52.0 → 0.53.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 (329) hide show
  1. package/.cursorrules +59 -58
  2. package/.github/copilot-instructions.md +59 -58
  3. package/.windsurfrules +59 -58
  4. package/SKILL.md +59 -58
  5. package/dist/advanced.d.ts +65 -230
  6. package/dist/advanced.js +278 -611
  7. package/dist/analyzer-TDN5KJFP.js +15 -0
  8. package/dist/auto.css +14 -6
  9. package/dist/auto.js +142 -132
  10. package/dist/auto.mjs +1117 -452
  11. package/dist/block.css +14 -6
  12. package/dist/block.js +85 -72
  13. package/dist/calculator-VBIT6GQF.js +11 -0
  14. package/dist/chart-meta-CPNVUZ5J.d.ts +232 -0
  15. package/dist/chart-meta.d.ts +2 -0
  16. package/dist/chart-meta.js +105 -0
  17. package/dist/charts-d3-DH2XA45I.js +26 -0
  18. package/dist/{chunk-QJMKPUYK.js → chunk-22OQWBWD.js} +14 -7
  19. package/dist/{chunk-5NGAO4QK.js → chunk-27STWBOK.js} +10 -8
  20. package/dist/{chunk-QGATPIPX.js → chunk-2QC4HXCY.js} +31 -17
  21. package/dist/{chunk-HFMYN6N2.js → chunk-3B2GXZCX.js} +4 -3
  22. package/dist/{chunk-6HQH6JZE.js → chunk-3BEKKRH5.js} +10 -10
  23. package/dist/{chunk-AL672HNE.js → chunk-3CZLWOCI.js} +17 -7
  24. package/dist/{chunk-J7TLCB2Q.js → chunk-3IUHKMJI.js} +2 -2
  25. package/dist/{chunk-7L4UJOY6.js → chunk-3TYUXC7D.js} +2 -2
  26. package/dist/{chunk-Y2ZE3MSG.js → chunk-43E26CDA.js} +2 -2
  27. package/dist/{chunk-YTMTPUH4.js → chunk-4ASVFYB2.js} +6 -6
  28. package/dist/{chunk-WCT3NYCV.js → chunk-4ASYQ347.js} +33 -8
  29. package/dist/{chunk-ZNWAYU6N.js → chunk-4K42RUGC.js} +33 -9
  30. package/dist/{chunk-I5IGB56C.js → chunk-4QV26TEG.js} +41 -1
  31. package/dist/{chunk-QOOUC2J5.js → chunk-4RGZFA7H.js} +2 -2
  32. package/dist/{chunk-CXK4DZH3.js → chunk-4W2PE66Q.js} +12 -2
  33. package/dist/{chunk-CIRFIL4M.js → chunk-4WGMGKCZ.js} +13 -13
  34. package/dist/{chunk-JED6ZDEE.js → chunk-5HWPEYWB.js} +2 -2
  35. package/dist/{chunk-VQOCMUWI.js → chunk-65V6IRFN.js} +16 -14
  36. package/dist/{chunk-R3YSD62R.js → chunk-6AUZPPAV.js} +3 -3
  37. package/dist/{chunk-FQ7HTV52.js → chunk-6DCOIN4W.js} +33 -5
  38. package/dist/{chunk-MUE65OTD.js → chunk-6HTRCTAS.js} +4 -4
  39. package/dist/{chunk-TJVLKNGR.js → chunk-6KY7OCZC.js} +5 -5
  40. package/dist/{chunk-YAA6IID3.js → chunk-774C2FF3.js} +2 -2
  41. package/dist/{chunk-UBLHQTLV.js → chunk-7GUF6SDR.js} +15 -14
  42. package/dist/{chunk-5HILBT7X.js → chunk-7JDTNFAK.js} +3 -3
  43. package/dist/{chunk-QBZYACOG.js → chunk-ADYKAKE3.js} +3 -3
  44. package/dist/{chunk-H7KENAZO.js → chunk-AHXIMHDQ.js} +74 -14
  45. package/dist/chunk-AIMLCDAO.js +404 -0
  46. package/dist/{chunk-4IHAV6O7.js → chunk-ALYZ3MAA.js} +4 -4
  47. package/dist/{chunk-ROOE4R4Y.js → chunk-AN2DQB3G.js} +146 -18
  48. package/dist/{chunk-GCYTI3DE.js → chunk-AZNXGWDC.js} +56 -10
  49. package/dist/{chunk-3LK5DNED.js → chunk-B4XS2AF2.js} +3 -3
  50. package/dist/{chunk-3HF5YEFJ.js → chunk-BD3WGY4T.js} +4 -4
  51. package/dist/{chunk-4AQRFDXL.js → chunk-BFDVEO5R.js} +2 -2
  52. package/dist/{chunk-REJAIQ5S.js → chunk-BR7AYN76.js} +8 -8
  53. package/dist/{chunk-P3NRSSUU.js → chunk-BULHGPHK.js} +3 -3
  54. package/dist/{chunk-VILVLS7P.js → chunk-CK2GMDXD.js} +8 -4
  55. package/dist/{chunk-HHKO6SKY.js → chunk-CMVZWP32.js} +3 -3
  56. package/dist/{chunk-GJFAMOGK.js → chunk-CQFNIIQN.js} +7 -7
  57. package/dist/{chunk-FT3ZYWET.js → chunk-DWUMPMV2.js} +11 -10
  58. package/dist/{chunk-USZW2HHU.js → chunk-EQW6HOP4.js} +4 -3
  59. package/dist/{chunk-Z5QVYKR7.js → chunk-FFXCKZOU.js} +4 -4
  60. package/dist/{chunk-WRNFDFPU.js → chunk-FGDSTT3F.js} +2 -2
  61. package/dist/{chunk-FY5MSZAP.js → chunk-FLDC7ZAK.js} +21 -6
  62. package/dist/{chunk-AAXZDUOV.js → chunk-FT7TPPZ5.js} +17 -16
  63. package/dist/{chunk-3QD7VP3U.js → chunk-FUKNRLIJ.js} +14 -7
  64. package/dist/{chunk-3YRPZ7ZZ.js → chunk-FXCB7H5O.js} +4 -4
  65. package/dist/{chunk-SMRFPVLQ.js → chunk-GABSL6TH.js} +4 -4
  66. package/dist/{chunk-BKVOYV6I.js → chunk-GAWKIIPO.js} +17 -17
  67. package/dist/{chunk-HWX6ZHF3.js → chunk-GMAH572Z.js} +6 -6
  68. package/dist/{chunk-MUVJ57EP.js → chunk-GMIJ35PW.js} +23 -20
  69. package/dist/{chunk-7QE3XMRK.js → chunk-GQ644SPD.js} +18 -18
  70. package/dist/{chunk-5QKQSSPO.js → chunk-GRM2A4BG.js} +4 -4
  71. package/dist/{chunk-J7KJR3R6.js → chunk-GWQJKTFS.js} +133 -696
  72. package/dist/{chunk-OTOHI4JO.js → chunk-H3HFC3SQ.js} +2 -2
  73. package/dist/{chunk-SWSIKFEB.js → chunk-HE5J53SZ.js} +4 -4
  74. package/dist/{chunk-7BIZCTAX.js → chunk-HNBY6CNV.js} +3 -3
  75. package/dist/{chunk-J76PIKAT.js → chunk-HO3RCNF6.js} +3 -3
  76. package/dist/{chunk-44VCIPHF.js → chunk-HORZ5H2L.js} +26 -23
  77. package/dist/{chunk-MX2EY5Y7.js → chunk-HOXKNRON.js} +2 -2
  78. package/dist/{chunk-LTXOLDUZ.js → chunk-I64ECJX3.js} +12 -5
  79. package/dist/{chunk-4YFKQ5WT.js → chunk-IQJCVREL.js} +8 -8
  80. package/dist/{chunk-YIBAWQGJ.js → chunk-J7HI6G3G.js} +7 -7
  81. package/dist/{chunk-ICPJPQ5C.js → chunk-JHOAH4TI.js} +3 -3
  82. package/dist/{chunk-6EJITS44.js → chunk-JTMSWEIW.js} +6 -6
  83. package/dist/{chunk-WBM7ZNDI.js → chunk-JYDMBWRP.js} +35 -18
  84. package/dist/{chunk-7DF4J4RL.js → chunk-KKHCNSKK.js} +17 -11
  85. package/dist/{chunk-4UNQ6X24.js → chunk-KUSAVOWZ.js} +4 -4
  86. package/dist/{chunk-77FGAVZC.js → chunk-LC3FFD43.js} +21 -19
  87. package/dist/{chunk-INE5YJBZ.js → chunk-LHILKFDP.js} +10 -10
  88. package/dist/{chunk-ONU3U4GL.js → chunk-LQHVDZYC.js} +52 -16
  89. package/dist/{chunk-75G3Q4DK.js → chunk-MA3HJZHB.js} +5 -5
  90. package/dist/{chunk-QVENJMNX.js → chunk-MEQYZZFR.js} +2 -2
  91. package/dist/{chunk-IM6PDDCE.js → chunk-NNUMX6WX.js} +42 -12
  92. package/dist/{chunk-FQMUHRVC.js → chunk-NNYFQOTK.js} +14 -13
  93. package/dist/{chunk-H6PI3KJT.js → chunk-ODUT5WMC.js} +2 -2
  94. package/dist/{chunk-K4EOKJA6.js → chunk-P3H7QVDH.js} +42 -15
  95. package/dist/{chunk-FUPF2UYQ.js → chunk-PIXZTCKH.js} +51 -108
  96. package/dist/{chunk-BPY242XU.js → chunk-PKNNHU7H.js} +19 -8
  97. package/dist/{chunk-BPIZNB5O.js → chunk-PT4SW76W.js} +11 -11
  98. package/dist/{chunk-UNURMIQO.js → chunk-PV2QO7QL.js} +4 -4
  99. package/dist/{chunk-LGT3PZCJ.js → chunk-PYO4TJJ3.js} +17 -17
  100. package/dist/{chunk-EMLPOL77.js → chunk-Q7AH665U.js} +15 -8
  101. package/dist/{chunk-LBMS4AW6.js → chunk-QAALSCKI.js} +14 -14
  102. package/dist/{chunk-JRCOYRRH.js → chunk-QI3BOLQB.js} +8 -8
  103. package/dist/{chunk-CCNDLW7Z.js → chunk-QWIBT6DS.js} +13 -13
  104. package/dist/{chunk-GU46PPT3.js → chunk-QXGACPS2.js} +5 -5
  105. package/dist/{chunk-FMDSF3OV.js → chunk-QZAW5SFH.js} +2 -2
  106. package/dist/{chunk-QHXCAEMX.js → chunk-R5NH5BZG.js} +8 -8
  107. package/dist/{chunk-5223KXFD.js → chunk-RJ5LBZ5U.js} +7 -7
  108. package/dist/{chunk-PRI2OD4E.js → chunk-RW5PEJ7D.js} +11 -6
  109. package/dist/{chunk-DYWQFQJP.js → chunk-SG4PRYO3.js} +22 -20
  110. package/dist/{chunk-NNS4E7CW.js → chunk-SGPFVDUL.js} +15 -6
  111. package/dist/{chunk-ZEF5M5MB.js → chunk-SQCBSFT5.js} +72 -74
  112. package/dist/{chunk-3HGU63UY.js → chunk-U7NKYLX2.js} +14 -13
  113. package/dist/chunk-U7VO6JAA.js +566 -0
  114. package/dist/{chunk-ZJV7GYR4.js → chunk-UFQJMOVZ.js} +10 -10
  115. package/dist/{chunk-Z72XRXD4.js → chunk-UJRTPOHH.js} +3 -3
  116. package/dist/{chunk-J6QROYDA.js → chunk-UK6DKJLD.js} +26 -10
  117. package/dist/{chunk-QZX5S6R3.js → chunk-UKP5HWB5.js} +149 -89
  118. package/dist/{chunk-T4A4TSTJ.js → chunk-UQRIKAMH.js} +21 -19
  119. package/dist/{chunk-TYS6CSS5.js → chunk-UU6LUYUH.js} +2 -2
  120. package/dist/{chunk-5BHJZH62.js → chunk-UVDCHR4E.js} +18 -6
  121. package/dist/{chunk-HQQNCY7W.js → chunk-VAO6ANGC.js} +5 -5
  122. package/dist/{chunk-6NYWYNBI.js → chunk-VGNIDAPQ.js} +4 -4
  123. package/dist/{chunk-VL2O2F3W.js → chunk-VHO3YBTB.js} +2 -2
  124. package/dist/{chunk-FHGVORFO.js → chunk-VIRANCNY.js} +14 -14
  125. package/dist/{chunk-XD6ZYURY.js → chunk-VJHBSPGF.js} +7 -14
  126. package/dist/{chunk-5RP7JRVP.js → chunk-VKNCC2GX.js} +12 -8
  127. package/dist/{chunk-TPFKKXCB.js → chunk-VRRDUYOK.js} +7 -7
  128. package/dist/{chunk-K2I2XOZD.js → chunk-W2DINCHL.js} +11 -11
  129. package/dist/{chunk-AUIM2NVH.js → chunk-W5KMNC5U.js} +8 -8
  130. package/dist/{chunk-FFUN5D66.js → chunk-WF64MW5G.js} +2 -2
  131. package/dist/{chunk-6LBQ7ELG.js → chunk-X3RXGSCZ.js} +40 -21
  132. package/dist/{chunk-HBPDFCQY.js → chunk-XEAQDIMF.js} +7 -6
  133. package/dist/{chunk-TTIM6YTT.js → chunk-XG4NWFPY.js} +17 -16
  134. package/dist/{chunk-7KINELPI.js → chunk-XQ4KN6JQ.js} +23 -23
  135. package/dist/{chunk-WBRZJOEC.js → chunk-XY3UDKKH.js} +4 -4
  136. package/dist/{chunk-5SEVICBT.js → chunk-YG2BEIQU.js} +14 -13
  137. package/dist/{chunk-BRENJ2BQ.js → chunk-YJVA3QUU.js} +24 -4
  138. package/dist/{chunk-KGVZ5VGH.js → chunk-YR43LJT5.js} +16 -15
  139. package/dist/{chunk-TLVIHFRO.js → chunk-ZKPPI6BF.js} +2 -2
  140. package/dist/{chunk-ARGMQ3H4.js → chunk-ZXUAPTCK.js} +3 -3
  141. package/dist/cli.cjs +156 -154
  142. package/dist/clock.js +9 -1
  143. package/dist/countdown.js +4 -3
  144. package/dist/dgmo-router-B4S23EBH.js +86 -0
  145. package/dist/dimensions-K6PGYYGT.js +22 -0
  146. package/dist/editor.js +33 -5
  147. package/dist/element.js +142 -132
  148. package/dist/element.mjs +1117 -452
  149. package/dist/flowchart-parser-LALR6J6F.js +21 -0
  150. package/dist/{flowchart-renderer-MNCDS7MV.js → flowchart-renderer-DXYB5YRF.js} +14 -14
  151. package/dist/highlight.js +37 -6
  152. package/dist/index.d.ts +4 -2
  153. package/dist/index.js +78 -73
  154. package/dist/layout-3BVDMKXI.js +15 -0
  155. package/dist/layout-3M5UYJHY.js +14 -0
  156. package/dist/{layout-2L3WMRYU.js → layout-3V2A4MUE.js} +8 -8
  157. package/dist/layout-4IHCMWZN.js +19 -0
  158. package/dist/layout-5XGYNYVT.js +9 -0
  159. package/dist/layout-AZUPXWSK.js +15 -0
  160. package/dist/{layout-F4WO357A.js → layout-CAAKQX4W.js} +3 -3
  161. package/dist/{layout-A5UHRWVH.js → layout-CB3XWCOI.js} +3 -3
  162. package/dist/{layout-OAC4PEAC.js → layout-E6HR6PXH.js} +7 -7
  163. package/dist/{layout-7QXCNOVS.js → layout-HBWT2G23.js} +3 -3
  164. package/dist/layout-KPQWJNAG.js +14 -0
  165. package/dist/layout-OL2XFJXA.js +17 -0
  166. package/dist/layout-WCAIKGZG.js +19 -0
  167. package/dist/layout-WSMPBQ4Q.js +17 -0
  168. package/dist/layout-ZE5DRJWX.js +20 -0
  169. package/dist/{layout-search-55FU6HD3.js → layout-search-34DPZD43.js} +51 -35
  170. package/dist/legend-constants-P5EQWRQQ.js +49 -0
  171. package/dist/{palettes-UDLZ2SA4.js → palettes-FGTNFARW.js} +4 -4
  172. package/dist/{parser-EYCKNKQA.js → parser-275KP7JO.js} +8 -8
  173. package/dist/parser-27Z76SN3.js +22 -0
  174. package/dist/parser-3CODK6RG.js +15 -0
  175. package/dist/{parser-YKYMQG3B.js → parser-3KIGEEJM.js} +6 -6
  176. package/dist/parser-3VSWEKBF.js +15 -0
  177. package/dist/parser-4E4I3GNT.js +13 -0
  178. package/dist/parser-5FGJSQNS.js +12 -0
  179. package/dist/parser-5HQXCNOS.js +12 -0
  180. package/dist/parser-5QPFOB5F.js +12 -0
  181. package/dist/parser-6B6SSZT7.js +11 -0
  182. package/dist/parser-6PPHAXXH.js +14 -0
  183. package/dist/parser-7JHWEWXM.js +13 -0
  184. package/dist/{parser-DQAFLUJB.js → parser-7JVIDLLR.js} +7 -7
  185. package/dist/parser-CKA3QMAG.js +18 -0
  186. package/dist/parser-CRKLXGW7.js +13 -0
  187. package/dist/parser-EXNBDNGY.js +11 -0
  188. package/dist/parser-FF4BMRSB.js +16 -0
  189. package/dist/parser-FOOFEJQU.js +13 -0
  190. package/dist/parser-G26MTBFS.js +11 -0
  191. package/dist/parser-GKP2MHHL.js +11 -0
  192. package/dist/parser-GN2MM5CC.js +11 -0
  193. package/dist/parser-IKWK2ZU3.js +18 -0
  194. package/dist/parser-IVGHXLZP.js +14 -0
  195. package/dist/parser-NNIL3HXU.js +11 -0
  196. package/dist/parser-RNLTBIJ6.js +19 -0
  197. package/dist/parser-UWRX52PC.js +16 -0
  198. package/dist/parser-VOERD6XR.js +14 -0
  199. package/dist/parser-XNKJCMMA.js +13 -0
  200. package/dist/parser-XVPTRWZ4.js +15 -0
  201. package/dist/parser-YSLNDFLV.js +22 -0
  202. package/dist/{parser-ZL5QUFVH.js → parser-ZGNXYFPS.js} +5 -5
  203. package/dist/parser-ZQDQTB4X.js +20 -0
  204. package/dist/pert.d.ts +2 -0
  205. package/dist/registry-CaSw0PSH.d.ts +350 -0
  206. package/dist/renderer-2C6DJRYN.js +24 -0
  207. package/dist/renderer-5MPN7CXZ.js +19 -0
  208. package/dist/renderer-6EN5XXJZ.js +27 -0
  209. package/dist/renderer-6WRYVM5R.js +24 -0
  210. package/dist/renderer-7NQSTQMQ.js +16 -0
  211. package/dist/renderer-7ZNVOVFG.js +16 -0
  212. package/dist/{renderer-DT4XRFEP.js → renderer-AK2WO4EI.js} +7 -7
  213. package/dist/renderer-COLQFSFV.js +26 -0
  214. package/dist/{renderer-3F7OS2AX.js → renderer-CWEFGEIC.js} +15 -15
  215. package/dist/renderer-D3BRNOMV.js +29 -0
  216. package/dist/renderer-HIFQVEJA.js +22 -0
  217. package/dist/renderer-JCZG6AYU.js +28 -0
  218. package/dist/{renderer-ZWIH4WDW.js → renderer-JTCX6PCG.js} +13 -13
  219. package/dist/renderer-JWGQSTMR.js +37 -0
  220. package/dist/{renderer-NHO46CT2.js → renderer-K7XLVPH5.js} +6 -6
  221. package/dist/renderer-KARQF3F3.js +22 -0
  222. package/dist/renderer-LVZAHRP6.js +34 -0
  223. package/dist/{renderer-CQY6ATOS.js → renderer-NE5W7CQP.js} +8 -8
  224. package/dist/renderer-QD2SJF2I.js +34 -0
  225. package/dist/renderer-RLMOTXZ6.js +37 -0
  226. package/dist/renderer-SQ54MDSA.js +26 -0
  227. package/dist/{renderer-HSHHVYWF.js → renderer-TYHGXAVT.js} +7 -7
  228. package/dist/renderer-UKXW2QPE.js +23 -0
  229. package/dist/renderer-UPF7NRTI.js +28 -0
  230. package/dist/renderer-VMH6L6CP.js +24 -0
  231. package/dist/{renderer-5DAKMIU2.js → renderer-WCWI4I6A.js} +5 -5
  232. package/dist/renderer-WFSUBKUL.js +25 -0
  233. package/dist/renderer-WNFXYYGL.js +21 -0
  234. package/dist/{renderer-KNFTTOBL.js → renderer-XTXSOK3L.js} +14 -14
  235. package/dist/renderer-YUKPS27O.js +24 -0
  236. package/dist/renderer-YUXGXGSW.js +27 -0
  237. package/dist/renderer-ZBTEX2JK.js +16 -0
  238. package/dist/renderer-radial-WF6VOUOD.js +21 -0
  239. package/dist/{resolver-EMTGNR3D.js → resolver-WFKZYBJ2.js} +4 -4
  240. package/dist/state-parser-L7DHZIQO.js +19 -0
  241. package/dist/state-renderer-TFEUOP4H.js +38 -0
  242. package/dist/{themes-32xj5ZTW.d.ts → themes-tbBkIVsn.d.ts} +2 -349
  243. package/docs/ai-integration.md +59 -58
  244. package/docs/language-reference.md +323 -286
  245. package/fonts/Inter-Bold.woff2 +0 -0
  246. package/fonts/Inter-Regular.woff2 +0 -0
  247. package/gallery/fixtures/boxes-and-lines-diverging.dgmo +1 -2
  248. package/gallery/fixtures/boxes-and-lines.dgmo +1 -1
  249. package/gallery/fixtures/clock.dgmo +1 -1
  250. package/gallery/fixtures/event-line.dgmo +1 -1
  251. package/gallery/fixtures/gantt-full.dgmo +1 -1
  252. package/gallery/fixtures/gantt-sprints.dgmo +9 -9
  253. package/gallery/fixtures/gantt.dgmo +1 -1
  254. package/gallery/fixtures/legacy-syntax-backcompat.dgmo +16 -0
  255. package/gallery/fixtures/state-tags.dgmo +40 -0
  256. package/gallery/fixtures/swimlane.dgmo +1 -1
  257. package/gallery/fixtures/timeline-intraday.dgmo +1 -1
  258. package/package.json +5 -1
  259. package/dist/analyzer-BJ54GIFB.js +0 -15
  260. package/dist/calculator-LDYQCDDY.js +0 -11
  261. package/dist/charts-d3-MXEP6BNP.js +0 -26
  262. package/dist/dgmo-router-X7ZGAPIE.js +0 -86
  263. package/dist/dimensions-45H6JQEY.js +0 -22
  264. package/dist/flowchart-parser-UKELHBSB.js +0 -21
  265. package/dist/layout-46N4JJYK.js +0 -17
  266. package/dist/layout-A4XWNVID.js +0 -14
  267. package/dist/layout-AM2JWW3X.js +0 -15
  268. package/dist/layout-EE6GE46Y.js +0 -17
  269. package/dist/layout-G23F7LDH.js +0 -9
  270. package/dist/layout-GM4UGR7B.js +0 -19
  271. package/dist/layout-GQQJXNYH.js +0 -15
  272. package/dist/layout-IIE2S5FK.js +0 -20
  273. package/dist/layout-VMCRX66I.js +0 -14
  274. package/dist/layout-ZDOSXL5G.js +0 -19
  275. package/dist/parser-2ECN6JA2.js +0 -16
  276. package/dist/parser-4WTIHM5J.js +0 -11
  277. package/dist/parser-5H2BTSJQ.js +0 -11
  278. package/dist/parser-75KVXUNS.js +0 -16
  279. package/dist/parser-774AC53T.js +0 -13
  280. package/dist/parser-BE4YCSRU.js +0 -11
  281. package/dist/parser-CNGUQUQI.js +0 -11
  282. package/dist/parser-DEUUSQIN.js +0 -22
  283. package/dist/parser-FXISIU6A.js +0 -14
  284. package/dist/parser-GTB4XC7P.js +0 -18
  285. package/dist/parser-GVEPAUSD.js +0 -12
  286. package/dist/parser-HSQGTY4G.js +0 -19
  287. package/dist/parser-HVKRINUS.js +0 -11
  288. package/dist/parser-J5MIEYO4.js +0 -15
  289. package/dist/parser-KMZIXLDZ.js +0 -13
  290. package/dist/parser-LJHXWSXU.js +0 -14
  291. package/dist/parser-PT3W72G5.js +0 -15
  292. package/dist/parser-SBJQDPHL.js +0 -15
  293. package/dist/parser-SUWWWCMX.js +0 -12
  294. package/dist/parser-SXDRNZOA.js +0 -13
  295. package/dist/parser-UMILOW3M.js +0 -14
  296. package/dist/parser-UP3AZ367.js +0 -13
  297. package/dist/parser-WHPRV3X5.js +0 -20
  298. package/dist/parser-WX3UODSJ.js +0 -12
  299. package/dist/parser-XCIEN3KN.js +0 -13
  300. package/dist/parser-XIRTUMVN.js +0 -18
  301. package/dist/parser-YKCGIG45.js +0 -11
  302. package/dist/parser-ZGM2OJ6Y.js +0 -22
  303. package/dist/renderer-4QB4K7Q3.js +0 -24
  304. package/dist/renderer-5H4SY7YY.js +0 -22
  305. package/dist/renderer-5PIQPFOX.js +0 -16
  306. package/dist/renderer-6MU37QF5.js +0 -19
  307. package/dist/renderer-AQVMWJ4M.js +0 -27
  308. package/dist/renderer-BDDW6K7N.js +0 -24
  309. package/dist/renderer-BNB3VIDY.js +0 -26
  310. package/dist/renderer-CVW75CXL.js +0 -37
  311. package/dist/renderer-ERHBSTQT.js +0 -25
  312. package/dist/renderer-IDPVUFNB.js +0 -28
  313. package/dist/renderer-ILX6BGKR.js +0 -21
  314. package/dist/renderer-JP663HKG.js +0 -22
  315. package/dist/renderer-MVUZBESR.js +0 -16
  316. package/dist/renderer-N4EBR2FV.js +0 -28
  317. package/dist/renderer-NO2QJ5LZ.js +0 -27
  318. package/dist/renderer-OGFV5RXX.js +0 -34
  319. package/dist/renderer-PDLESJMS.js +0 -37
  320. package/dist/renderer-T4MTNINC.js +0 -24
  321. package/dist/renderer-TOUGFGTM.js +0 -24
  322. package/dist/renderer-U3KPD43Y.js +0 -34
  323. package/dist/renderer-X334IJU2.js +0 -26
  324. package/dist/renderer-Y5OAMOCR.js +0 -23
  325. package/dist/renderer-YONAKAJU.js +0 -16
  326. package/dist/renderer-YWMI6Y2U.js +0 -29
  327. package/dist/renderer-radial-7CGZMVMS.js +0 -21
  328. package/dist/state-parser-BATWAID2.js +0 -18
  329. package/dist/state-renderer-3FKZJ3LP.js +0 -34
@@ -0,0 +1,18 @@
1
+ import {
2
+ MAP_DIRECTIVE_SET,
3
+ looksLikeMap,
4
+ parseMap
5
+ } from "./chunk-27STWBOK.js";
6
+ import "./chunk-6DCOIN4W.js";
7
+ import "./chunk-CMVZWP32.js";
8
+ import "./chunk-WF64MW5G.js";
9
+ import "./chunk-YJVA3QUU.js";
10
+ import "./chunk-ZKPPI6BF.js";
11
+ import "./chunk-4W2PE66Q.js";
12
+ import "./chunk-5WRI5ZAA.js";
13
+ export {
14
+ MAP_DIRECTIVE_SET,
15
+ looksLikeMap,
16
+ parseMap
17
+ };
18
+ //# sourceMappingURL=parser-IKWK2ZU3.js.map
@@ -0,0 +1,14 @@
1
+ import {
2
+ allTasks,
3
+ parseRaci
4
+ } from "./chunk-ALYZ3MAA.js";
5
+ import "./chunk-NOTA6TEI.js";
6
+ import "./chunk-YJVA3QUU.js";
7
+ import "./chunk-ZKPPI6BF.js";
8
+ import "./chunk-4W2PE66Q.js";
9
+ import "./chunk-5WRI5ZAA.js";
10
+ export {
11
+ allTasks,
12
+ parseRaci
13
+ };
14
+ //# sourceMappingURL=parser-IVGHXLZP.js.map
@@ -0,0 +1,11 @@
1
+ import {
2
+ parseGoal
3
+ } from "./chunk-6HTRCTAS.js";
4
+ import "./chunk-YJVA3QUU.js";
5
+ import "./chunk-ZKPPI6BF.js";
6
+ import "./chunk-4W2PE66Q.js";
7
+ import "./chunk-5WRI5ZAA.js";
8
+ export {
9
+ parseGoal
10
+ };
11
+ //# sourceMappingURL=parser-NNIL3HXU.js.map
@@ -0,0 +1,19 @@
1
+ import {
2
+ extractSymbols,
3
+ looksLikeClassDiagram,
4
+ parseClassDiagram
5
+ } from "./chunk-VRRDUYOK.js";
6
+ import "./chunk-ZXUAPTCK.js";
7
+ import "./chunk-QZAW5SFH.js";
8
+ import "./chunk-WF64MW5G.js";
9
+ import "./chunk-NOTA6TEI.js";
10
+ import "./chunk-YJVA3QUU.js";
11
+ import "./chunk-ZKPPI6BF.js";
12
+ import "./chunk-4W2PE66Q.js";
13
+ import "./chunk-5WRI5ZAA.js";
14
+ export {
15
+ extractSymbols,
16
+ looksLikeClassDiagram,
17
+ parseClassDiagram
18
+ };
19
+ //# sourceMappingURL=parser-RNLTBIJ6.js.map
@@ -0,0 +1,16 @@
1
+ import {
2
+ looksLikeSitemap,
3
+ parseSitemap
4
+ } from "./chunk-XEAQDIMF.js";
5
+ import "./chunk-IYULMRBE.js";
6
+ import "./chunk-CMVZWP32.js";
7
+ import "./chunk-NOTA6TEI.js";
8
+ import "./chunk-YJVA3QUU.js";
9
+ import "./chunk-ZKPPI6BF.js";
10
+ import "./chunk-4W2PE66Q.js";
11
+ import "./chunk-5WRI5ZAA.js";
12
+ export {
13
+ looksLikeSitemap,
14
+ parseSitemap
15
+ };
16
+ //# sourceMappingURL=parser-UWRX52PC.js.map
@@ -0,0 +1,14 @@
1
+ import {
2
+ parseFamily
3
+ } from "./chunk-MA3HJZHB.js";
4
+ import "./chunk-QQJUTGQH.js";
5
+ import "./chunk-CMVZWP32.js";
6
+ import "./chunk-NOTA6TEI.js";
7
+ import "./chunk-YJVA3QUU.js";
8
+ import "./chunk-ZKPPI6BF.js";
9
+ import "./chunk-4W2PE66Q.js";
10
+ import "./chunk-5WRI5ZAA.js";
11
+ export {
12
+ parseFamily
13
+ };
14
+ //# sourceMappingURL=parser-VOERD6XR.js.map
@@ -0,0 +1,13 @@
1
+ import {
2
+ parseKanban
3
+ } from "./chunk-FUKNRLIJ.js";
4
+ import "./chunk-CMVZWP32.js";
5
+ import "./chunk-NOTA6TEI.js";
6
+ import "./chunk-YJVA3QUU.js";
7
+ import "./chunk-ZKPPI6BF.js";
8
+ import "./chunk-4W2PE66Q.js";
9
+ import "./chunk-5WRI5ZAA.js";
10
+ export {
11
+ parseKanban
12
+ };
13
+ //# sourceMappingURL=parser-XNKJCMMA.js.map
@@ -0,0 +1,15 @@
1
+ import {
2
+ looksLikeOrg,
3
+ parseOrg
4
+ } from "./chunk-SGPFVDUL.js";
5
+ import "./chunk-CMVZWP32.js";
6
+ import "./chunk-NOTA6TEI.js";
7
+ import "./chunk-YJVA3QUU.js";
8
+ import "./chunk-ZKPPI6BF.js";
9
+ import "./chunk-4W2PE66Q.js";
10
+ import "./chunk-5WRI5ZAA.js";
11
+ export {
12
+ looksLikeOrg,
13
+ parseOrg
14
+ };
15
+ //# sourceMappingURL=parser-XVPTRWZ4.js.map
@@ -0,0 +1,22 @@
1
+ import {
2
+ GANTT_KNOWN_BOOLEANS,
3
+ GANTT_KNOWN_OPTIONS,
4
+ parseGantt
5
+ } from "./chunk-2QC4HXCY.js";
6
+ import "./chunk-6DCOIN4W.js";
7
+ import "./chunk-EQW6HOP4.js";
8
+ import "./chunk-DAOFNU6J.js";
9
+ import "./chunk-R3XI2VC7.js";
10
+ import "./chunk-JYDMBWRP.js";
11
+ import "./chunk-CMVZWP32.js";
12
+ import "./chunk-NOTA6TEI.js";
13
+ import "./chunk-YJVA3QUU.js";
14
+ import "./chunk-ZKPPI6BF.js";
15
+ import "./chunk-4W2PE66Q.js";
16
+ import "./chunk-5WRI5ZAA.js";
17
+ export {
18
+ GANTT_KNOWN_BOOLEANS,
19
+ GANTT_KNOWN_OPTIONS,
20
+ parseGantt
21
+ };
22
+ //# sourceMappingURL=parser-YSLNDFLV.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  parseCountdown,
3
3
  targetToMs
4
- } from "./chunk-FT3ZYWET.js";
4
+ } from "./chunk-DWUMPMV2.js";
5
5
  import "./chunk-OQKP2X3D.js";
6
6
  import "./chunk-DAOFNU6J.js";
7
- import "./chunk-BRENJ2BQ.js";
8
- import "./chunk-TLVIHFRO.js";
9
- import "./chunk-CXK4DZH3.js";
7
+ import "./chunk-YJVA3QUU.js";
8
+ import "./chunk-ZKPPI6BF.js";
9
+ import "./chunk-4W2PE66Q.js";
10
10
  import "./chunk-5WRI5ZAA.js";
11
11
  export {
12
12
  parseCountdown,
13
13
  targetToMs
14
14
  };
15
- //# sourceMappingURL=parser-ZL5QUFVH.js.map
15
+ //# sourceMappingURL=parser-ZGNXYFPS.js.map
@@ -0,0 +1,20 @@
1
+ import {
2
+ extractSymbols,
3
+ looksLikeERDiagram,
4
+ parseERDiagram
5
+ } from "./chunk-BR7AYN76.js";
6
+ import "./chunk-CMVZWP32.js";
7
+ import "./chunk-ZXUAPTCK.js";
8
+ import "./chunk-QZAW5SFH.js";
9
+ import "./chunk-WF64MW5G.js";
10
+ import "./chunk-NOTA6TEI.js";
11
+ import "./chunk-YJVA3QUU.js";
12
+ import "./chunk-ZKPPI6BF.js";
13
+ import "./chunk-4W2PE66Q.js";
14
+ import "./chunk-5WRI5ZAA.js";
15
+ export {
16
+ extractSymbols,
17
+ looksLikeERDiagram,
18
+ parseERDiagram
19
+ };
20
+ //# sourceMappingURL=parser-ZQDQTB4X.js.map
package/dist/pert.d.ts CHANGED
@@ -133,6 +133,8 @@ interface PertOptions {
133
133
  anchor: Anchor;
134
134
  /** When true, the renderer suppresses the diagram banner title. */
135
135
  noTitle?: boolean;
136
+ /** §1.9 `no-legend` — suppress the tag legend and collapse its reserved band. */
137
+ noLegend?: boolean;
136
138
  /**
137
139
  * §1.9 fill family — `fill-solid` renders node/group card fills at full intent
138
140
  * saturation instead of the canonical 25% tint (via `shapeFill`).
@@ -0,0 +1,350 @@
1
+ type DgmoSeverity = 'error' | 'warning';
2
+ interface DgmoError {
3
+ line: number;
4
+ column?: number;
5
+ message: string;
6
+ severity: DgmoSeverity;
7
+ /**
8
+ * Optional stable diagnostic code (e.g. 'E_ARROW_SUBSTRING_IN_LABEL').
9
+ * Additive; pre-existing diagnostics omit this field and existing
10
+ * substring-on-`.message` assertions keep working unchanged.
11
+ */
12
+ code?: string;
13
+ }
14
+ declare function makeDgmoError(line: number, message: string, severity?: DgmoSeverity, code?: string): DgmoError;
15
+ /** Runtime params passed to `emit()` and forwarded to a message builder. */
16
+ type DiagnosticParams = Record<string, unknown>;
17
+ /**
18
+ * Parameter type for a `DiagnosticSpec.message` builder body. Typed loosely
19
+ * (`any`) on purpose: builders are hand-authored interpolation bags keyed by
20
+ * ad-hoc names, and dgmo's tsconfig enables `noPropertyAccessFromIndexSignature`
21
+ * (which forbids `p.name` dot-access on a `Record<string, unknown>`). Using
22
+ * `any` here keeps builder bodies readable (`p.name`) instead of forcing
23
+ * `p['name']` bracket access at every interpolation site.
24
+ */
25
+ type DiagnosticMessageParams = any;
26
+ interface DiagnosticSpec {
27
+ /** Stable diagnostic code, e.g. `'E_MAP_UNKNOWN_PLACE'`. */
28
+ code: string;
29
+ /** Severity — must agree with the `E_`/`W_`/`I_` code prefix. */
30
+ severity: DgmoSeverity;
31
+ /** Owning chart type (`'map'`, `'swimlane'`, …) or `null` for universal/global codes. */
32
+ chartType: string | null;
33
+ /** Short human label for the catalog UI. */
34
+ title: string;
35
+ /**
36
+ * Canonical message wording. A plain string for static messages, or a
37
+ * builder `(params) => string` when the message interpolates runtime
38
+ * values. The builder must tolerate being called with `{}` so the
39
+ * catalog can show a representative message without live params.
40
+ */
41
+ message: string | ((params: DiagnosticMessageParams) => string);
42
+ /** Optional fix guidance shown alongside the message. */
43
+ hint?: string;
44
+ /** Minimal `.dgmo` source that triggers this diagnostic (for docs/console). */
45
+ example?: string;
46
+ }
47
+ /** Optional extras when emitting (currently just an explicit column). */
48
+ interface EmitOptions {
49
+ column?: number;
50
+ }
51
+ /**
52
+ * Emit a diagnostic from its `DiagnosticSpec`. The code, severity, and
53
+ * canonical wording all come from the spec — call sites supply only the
54
+ * line and the interpolation params, so the code/severity can never drift
55
+ * out of sync with the declared spec. Replaces the per-parser
56
+ * `push`/`err`/`fail` wrappers that each re-declared this shape.
57
+ */
58
+ declare function emit(spec: DiagnosticSpec, line: number, params?: DiagnosticParams, opts?: EmitOptions): DgmoError;
59
+ declare function formatDgmoError(err: DgmoError): string;
60
+
61
+ /**
62
+ * Color definitions for a single mode (light or dark).
63
+ * 10 semantic UI colors + 9 named accent colors = 19 total.
64
+ *
65
+ * `readonly` on every field (and the nested `colors` map) by design —
66
+ * palettes flow from the registry into every renderer; nothing in the
67
+ * pipeline should ever mutate a palette in place.
68
+ */
69
+ interface PaletteColors {
70
+ /** Main background (#eceff4 light / #2e3440 dark for Nord) */
71
+ readonly bg: string;
72
+ /** Cards, panels (#e5e9f0 / #3b4252) */
73
+ readonly surface: string;
74
+ /** Popovers, dropdowns (#e5e9f0 / #434c5e) */
75
+ readonly overlay: string;
76
+ /** Borders, dividers, muted (#d8dee9 / #4c566a) */
77
+ readonly border: string;
78
+ /** Primary text (#2e3440 / #eceff4) */
79
+ readonly text: string;
80
+ /** Secondary/diminished text (#4c566a / #d8dee9) */
81
+ readonly textMuted: string;
82
+ /**
83
+ * Light-mode arg for `contrastText()` when text is rendered on a
84
+ * tinted shape fill (e.g. `shapeFill()` output). Must guarantee
85
+ * ≥ 4.5:1 WCAG AA against any `shapeFill()` the palette can produce.
86
+ * Distinct from `colors.white` because palette-aesthetic anchors don't
87
+ * always meet contrast requirements (TD-5).
88
+ */
89
+ readonly textOnFillLight: string;
90
+ /** Dark-mode counterpart to `textOnFillLight`. */
91
+ readonly textOnFillDark: string;
92
+ /** Primary accent — buttons, links */
93
+ readonly primary: string;
94
+ /** Secondary accent */
95
+ readonly secondary: string;
96
+ /** Tertiary accent */
97
+ readonly accent: string;
98
+ /** Error/danger */
99
+ readonly destructive: string;
100
+ /**
101
+ * Used for: inline annotations (red), pie charts, cScale,
102
+ * series rotation, journey actors, Gantt tasks.
103
+ */
104
+ readonly colors: {
105
+ readonly red: string;
106
+ readonly orange: string;
107
+ readonly yellow: string;
108
+ readonly green: string;
109
+ readonly blue: string;
110
+ readonly purple: string;
111
+ readonly teal: string;
112
+ readonly cyan: string;
113
+ readonly gray: string;
114
+ readonly black: string;
115
+ readonly white: string;
116
+ };
117
+ }
118
+ /**
119
+ * Complete palette definition. One object per color scheme.
120
+ * This is what palette authors create — the single artifact for NFR1.
121
+ *
122
+ * Palettes are immutable from the consumer's perspective; the registry
123
+ * hands out the same frozen-shape object on every `getPalette(id)`.
124
+ */
125
+ interface PaletteConfig {
126
+ /** Registry key: 'nord', 'slate', 'catppuccin' */
127
+ readonly id: string;
128
+ /** Display name: 'Nord', 'Slate', 'Catppuccin' */
129
+ readonly name: string;
130
+ /** Light mode color definitions */
131
+ readonly light: PaletteColors;
132
+ /** Dark mode color definitions */
133
+ readonly dark: PaletteColors;
134
+ }
135
+
136
+ /** A single entry inside a tag group: `Value color` */
137
+ interface TagEntry {
138
+ readonly value: string;
139
+ readonly color: string;
140
+ /**
141
+ * The color NAME the author wrote (one of the recognized palette names),
142
+ * when the entry declared an explicit color. Absent for bare/auto-colored
143
+ * entries. `color` above is always the RESOLVED hex (auto and explicit are
144
+ * indistinguishable there); this preserves the authored-vs-auto distinction
145
+ * so a GUI editor can round-trip an explicit color through a reparse.
146
+ */
147
+ readonly authoredColor?: string;
148
+ readonly lineNumber: number;
149
+ }
150
+ /**
151
+ * A tag group block: heading + entries.
152
+ *
153
+ * Parser internals build via `Writable<TagGroup>` from `utils/brand.ts`;
154
+ * once returned to a chart-type parser, consumers see the readonly view.
155
+ */
156
+ interface TagGroup {
157
+ readonly name: string;
158
+ readonly alias?: string;
159
+ readonly entries: readonly TagEntry[];
160
+ /** Default value for nodes without explicit metadata. First entry unless another is marked `default`. */
161
+ readonly defaultValue?: string;
162
+ readonly lineNumber: number;
163
+ }
164
+ /**
165
+ * DOM-safe key for a tag group — used wherever the group name becomes a
166
+ * `data-tag-*` attribute suffix, an entity metadata key, or an `active-tag`
167
+ * match target. For a single-identifier name (the only form the parser used to
168
+ * accept) this is exactly `name.toLowerCase()`, so swapping it in for existing
169
+ * diagrams is byte-identical. A quoted multi-word name (`tag "Trust Zone" as tz`)
170
+ * slugs to a hyphenated identifier (`trust-zone`) so it never produces an
171
+ * invalid DOM attribute name; the original `name` is kept for the legend label.
172
+ */
173
+ declare function tagAttrKey(name: string): string;
174
+ /**
175
+ * The categorical name cycle used to auto-assign colors to bare tag values,
176
+ * in deterministic order. Aliased to the shared {@link CATEGORICAL_COLOR_ORDER}
177
+ * (RGB-seeded, max-contrast, neutrals excluded) so tag swatches and data-chart
178
+ * series colors share one canonical rotation. If a group has more colorless
179
+ * entries than free categorical names, the cycle wraps.
180
+ */
181
+ declare const autoTagColorCycle: readonly string[];
182
+
183
+ /**
184
+ * Compact view state schema (ADR-6).
185
+ * All fields optional. Only non-default values are encoded.
186
+ * `tag: null` means "user chose none"; absent `tag` means "use DSL default" (ADR-5).
187
+ */
188
+ interface CompactViewState {
189
+ tag?: string | null;
190
+ cs?: number[];
191
+ cg?: string[];
192
+ swim?: string | null;
193
+ cl?: string[];
194
+ cc?: string[];
195
+ rm?: string;
196
+ htv?: Record<string, string[]>;
197
+ ha?: string[];
198
+ sem?: boolean;
199
+ cm?: boolean;
200
+ c4l?: string;
201
+ c4s?: string;
202
+ c4c?: string;
203
+ rps?: number;
204
+ spd?: number;
205
+ io?: Record<string, number>;
206
+ hd?: boolean;
207
+ cbd?: boolean;
208
+ rq?: string;
209
+ an?: boolean;
210
+ fl?: boolean;
211
+ }
212
+ interface DecodedDiagramUrl {
213
+ dsl: string;
214
+ viewState: CompactViewState;
215
+ palette?: string;
216
+ theme?: 'light' | 'dark';
217
+ filename?: string;
218
+ }
219
+ interface EncodeDiagramUrlOptions {
220
+ baseUrl?: string;
221
+ viewState?: CompactViewState;
222
+ palette?: string;
223
+ theme?: 'light' | 'dark';
224
+ filename?: string;
225
+ }
226
+ type EncodeDiagramUrlResult = {
227
+ url: string;
228
+ error?: undefined;
229
+ } | {
230
+ url?: undefined;
231
+ error: 'too-large';
232
+ compressedSize: number;
233
+ limit: number;
234
+ };
235
+ /**
236
+ * Encode a CompactViewState to a compressed string for URL embedding.
237
+ * Returns empty string if state has no keys (ADR-4).
238
+ */
239
+ declare function encodeViewState(state: CompactViewState): string;
240
+ /**
241
+ * Decode a compressed view state string back to CompactViewState.
242
+ * Returns empty object on failure (no crash).
243
+ */
244
+ declare function decodeViewState(encoded: string): CompactViewState;
245
+ /**
246
+ * Compress a DGMO DSL string into a shareable URL.
247
+ * Returns `{ url }` on success, or `{ error: 'too-large', compressedSize, limit }` if the
248
+ * compressed payload exceeds the 8 KB limit.
249
+ */
250
+ declare function encodeDiagramUrl(dsl: string, options?: EncodeDiagramUrlOptions): EncodeDiagramUrlResult;
251
+ /**
252
+ * Decode a DGMO DSL string and view state from a URL query string or hash.
253
+ * Accepts any of:
254
+ * - `?dgmo=<payload>&vs=<state>`
255
+ * - `#dgmo=<payload>&vs=<state>` (backwards compat)
256
+ * - `dgmo=<payload>`
257
+ * - `<bare payload>`
258
+ *
259
+ * Returns `{ dsl, viewState }`. The DSL is empty string on invalid input.
260
+ */
261
+ declare function decodeDiagramUrl(hash: string): DecodedDiagramUrl;
262
+
263
+ interface ChartTypeMeta {
264
+ readonly id: string;
265
+ readonly description: string;
266
+ readonly fallback?: true;
267
+ }
268
+ declare const chartTypes: readonly ChartTypeMeta[];
269
+
270
+ /** User-visible rendering category for dispatch and routing. */
271
+ type RenderCategory = 'data-chart' | 'visualization' | 'diagram';
272
+
273
+ /**
274
+ * Extracts the chart type from raw file content.
275
+ * First tries the first non-empty, non-comment line as a bare chart type name
276
+ * (e.g., `gantt Product Launch`).
277
+ * Falls back to inference when no explicit chart type is found.
278
+ */
279
+ declare function parseDgmoChartType(content: string): string | null;
280
+
281
+ /**
282
+ * Returns the render category for a given chart type, or `null` if unknown.
283
+ * Use this instead of the internal framework map for dispatch in consumers.
284
+ */
285
+ declare function getRenderCategory(chartType: string): RenderCategory | null;
286
+ /**
287
+ * Returns true if the chart type is an extended chart type
288
+ * handled by parseExtendedChart (scatter, sankey, function, heatmap, funnel).
289
+ * Returns false for standard chart types and all other types.
290
+ */
291
+ declare function isExtendedChartType(chartType: string): boolean;
292
+ /**
293
+ * Returns all supported chart type identifiers in canonical (tier) order,
294
+ * derived from `chartTypes`. Consumers that need alphabetical order should
295
+ * call `.sort()` explicitly.
296
+ */
297
+ declare function getAllChartTypes(): string[];
298
+ /**
299
+ * Canonical descriptions for every supported chart type. Derived from
300
+ * `chartTypes` so there is exactly one place to update when adding a new
301
+ * type. Consumed by the CLI `dgmo types` command, the editor autocomplete
302
+ * popup, and the MCP `list_chart_types` tool.
303
+ */
304
+ declare const CHART_TYPE_DESCRIPTIONS: Record<string, string>;
305
+ type ParseResult = {
306
+ diagnostics: readonly DgmoError[];
307
+ };
308
+ type ParseFn = (content: string) => ParseResult;
309
+ /**
310
+ * Maps every chart-type id to the parser that handles it, DERIVED from
311
+ * `CHART_TYPE_REGISTRY` (src/chart-type-registry.ts). Adding a new chart type
312
+ * means adding ONE descriptor there plus its `chartTypes` metadata entry; the
313
+ * `chart-type-registry.test.ts` cross-check asserts the registry, `chartTypes`,
314
+ * the render-category sites, and the export handlers all stay in sync.
315
+ */
316
+ declare const chartTypeParsers: ReadonlyArray<readonly [string, ParseFn]>;
317
+ /** Ids in the same order as `chartTypeParsers`; used for cross-checks. */
318
+ declare const knownChartTypeIds: readonly string[];
319
+ /**
320
+ * Parse DGMO content and return diagnostics without rendering.
321
+ * Useful for the CLI and editor to surface all errors before attempting render.
322
+ */
323
+ declare function parseDgmo(content: string): {
324
+ diagnostics: DgmoError[];
325
+ chartType: string | null;
326
+ };
327
+
328
+ /** Validate that a hex string is well-formed (#RGB or #RRGGBB). */
329
+ declare function isValidHex(value: string): boolean;
330
+ /**
331
+ * Register a palette. Called at module initialization.
332
+ * Validates that all 19 color fields per mode are present and valid hex.
333
+ * Throws on malformed palettes to catch errors at startup, not at render time.
334
+ */
335
+ declare function registerPalette(palette: PaletteConfig): void;
336
+ /** Get palette by id. Silently returns the default palette if id is unrecognized. */
337
+ declare function getPalette(id: string): PaletteConfig;
338
+ /**
339
+ * Resolve a palette by id, falling back to the default palette when the id is
340
+ * unregistered. If a `warn` callback is supplied, it is invoked once with a
341
+ * human-readable fallback message on a miss — the single place the "resolve,
342
+ * fall back, warn" policy lives, so each host can surface it its own way
343
+ * (console.warn, Obsidian Notice, MCP response). Silent when the id resolves or
344
+ * when no callback is passed.
345
+ */
346
+ declare function resolvePaletteOrFallback(id: string, warn?: (message: string) => void): PaletteConfig;
347
+ /** List all registered palettes alphabetically (for the selector UI). */
348
+ declare function getAvailablePalettes(): PaletteConfig[];
349
+
350
+ export { isValidHex as A, knownChartTypeIds as B, type CompactViewState as C, type DgmoError as D, type EmitOptions as E, makeDgmoError as F, parseDgmoChartType as G, registerPalette as H, tagAttrKey as I, type PaletteConfig as P, type RenderCategory as R, type TagGroup as T, type DiagnosticSpec as a, type ChartTypeMeta as b, type DgmoSeverity as c, type DiagnosticParams as d, type PaletteColors as e, chartTypes as f, emit as g, formatDgmoError as h, getPalette as i, type TagEntry as j, CHART_TYPE_DESCRIPTIONS as k, type DecodedDiagramUrl as l, type EncodeDiagramUrlOptions as m, type EncodeDiagramUrlResult as n, autoTagColorCycle as o, parseDgmo as p, chartTypeParsers as q, resolvePaletteOrFallback as r, decodeDiagramUrl as s, decodeViewState as t, encodeDiagramUrl as u, encodeViewState as v, getAllChartTypes as w, getAvailablePalettes as x, getRenderCategory as y, isExtendedChartType as z };
@@ -0,0 +1,24 @@
1
+ import {
2
+ renderCycle,
3
+ renderCycleForExport
4
+ } from "./chunk-LHILKFDP.js";
5
+ import "./chunk-3HDBAXF5.js";
6
+ import "./chunk-BMR4CIEO.js";
7
+ import "./chunk-YYVTBZZC.js";
8
+ import "./chunk-W5KMNC5U.js";
9
+ import "./chunk-774C2FF3.js";
10
+ import "./chunk-A4GOY3PE.js";
11
+ import "./chunk-6KFWC4CO.js";
12
+ import "./chunk-JYDMBWRP.js";
13
+ import "./chunk-4RGZFA7H.js";
14
+ import "./chunk-4ASYQ347.js";
15
+ import "./chunk-CMVZWP32.js";
16
+ import "./chunk-YJVA3QUU.js";
17
+ import "./chunk-ZKPPI6BF.js";
18
+ import "./chunk-4W2PE66Q.js";
19
+ import "./chunk-5WRI5ZAA.js";
20
+ export {
21
+ renderCycle,
22
+ renderCycleForExport
23
+ };
24
+ //# sourceMappingURL=renderer-2C6DJRYN.js.map
@@ -0,0 +1,19 @@
1
+ import {
2
+ renderGoal,
3
+ renderGoalForExport
4
+ } from "./chunk-BD3WGY4T.js";
5
+ import "./chunk-UVDCHR4E.js";
6
+ import "./chunk-3HDBAXF5.js";
7
+ import "./chunk-A4GOY3PE.js";
8
+ import "./chunk-6KFWC4CO.js";
9
+ import "./chunk-JYDMBWRP.js";
10
+ import "./chunk-CMVZWP32.js";
11
+ import "./chunk-YJVA3QUU.js";
12
+ import "./chunk-ZKPPI6BF.js";
13
+ import "./chunk-4W2PE66Q.js";
14
+ import "./chunk-5WRI5ZAA.js";
15
+ export {
16
+ renderGoal,
17
+ renderGoalForExport
18
+ };
19
+ //# sourceMappingURL=renderer-5MPN7CXZ.js.map
@@ -0,0 +1,27 @@
1
+ import {
2
+ renderMap,
3
+ renderMapForExport
4
+ } from "./chunk-GAWKIIPO.js";
5
+ import "./chunk-B4XS2AF2.js";
6
+ import "./chunk-UFQJMOVZ.js";
7
+ import "./chunk-4QV26TEG.js";
8
+ import "./chunk-VHO3YBTB.js";
9
+ import "./chunk-W5KMNC5U.js";
10
+ import "./chunk-774C2FF3.js";
11
+ import "./chunk-A4GOY3PE.js";
12
+ import "./chunk-6KFWC4CO.js";
13
+ import "./chunk-FLDC7ZAK.js";
14
+ import "./chunk-APKUAJ2L.js";
15
+ import "./chunk-JYDMBWRP.js";
16
+ import "./chunk-4RGZFA7H.js";
17
+ import "./chunk-4ASYQ347.js";
18
+ import "./chunk-CMVZWP32.js";
19
+ import "./chunk-YJVA3QUU.js";
20
+ import "./chunk-ZKPPI6BF.js";
21
+ import "./chunk-4W2PE66Q.js";
22
+ import "./chunk-5WRI5ZAA.js";
23
+ export {
24
+ renderMap,
25
+ renderMapForExport
26
+ };
27
+ //# sourceMappingURL=renderer-6EN5XXJZ.js.map
@@ -0,0 +1,24 @@
1
+ import {
2
+ bracketExportDimensions,
3
+ renderBracket,
4
+ renderBracketForExport
5
+ } from "./chunk-QWIBT6DS.js";
6
+ import "./chunk-3HDBAXF5.js";
7
+ import "./chunk-W5KMNC5U.js";
8
+ import "./chunk-774C2FF3.js";
9
+ import "./chunk-A4GOY3PE.js";
10
+ import "./chunk-6KFWC4CO.js";
11
+ import "./chunk-JYDMBWRP.js";
12
+ import "./chunk-4RGZFA7H.js";
13
+ import "./chunk-4ASYQ347.js";
14
+ import "./chunk-CMVZWP32.js";
15
+ import "./chunk-YJVA3QUU.js";
16
+ import "./chunk-ZKPPI6BF.js";
17
+ import "./chunk-4W2PE66Q.js";
18
+ import "./chunk-5WRI5ZAA.js";
19
+ export {
20
+ bracketExportDimensions,
21
+ renderBracket,
22
+ renderBracketForExport
23
+ };
24
+ //# sourceMappingURL=renderer-6WRYVM5R.js.map
@@ -0,0 +1,16 @@
1
+ import {
2
+ renderWireframe
3
+ } from "./chunk-4ASVFYB2.js";
4
+ import "./chunk-YYVTBZZC.js";
5
+ import "./chunk-A4GOY3PE.js";
6
+ import "./chunk-6KFWC4CO.js";
7
+ import "./chunk-JYDMBWRP.js";
8
+ import "./chunk-4ASYQ347.js";
9
+ import "./chunk-YJVA3QUU.js";
10
+ import "./chunk-ZKPPI6BF.js";
11
+ import "./chunk-4W2PE66Q.js";
12
+ import "./chunk-5WRI5ZAA.js";
13
+ export {
14
+ renderWireframe
15
+ };
16
+ //# sourceMappingURL=renderer-7NQSTQMQ.js.map