@diagrammo/dgmo 0.89.0 → 0.91.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 (233) hide show
  1. package/README.md +1 -1
  2. package/dist/advanced.d.ts +589 -15
  3. package/dist/advanced.js +813 -211
  4. package/dist/block.d.ts +11 -2
  5. package/dist/block.js +94 -64
  6. package/dist/{calculator-35YVW4QO.js → calculator-3LZUWOBK.js} +2 -2
  7. package/dist/{chart-meta-Bev5Ebjr.d.ts → chart-meta-B_WTMP0y.d.ts} +1 -1
  8. package/dist/chart-meta.d.ts +2 -2
  9. package/dist/chart-meta.js +18 -17
  10. package/dist/{chart-types-Bf8C5QQW.d.ts → chart-types-V2NcgN5O.d.ts} +4 -0
  11. package/dist/{charts-d3-KEQSUWKP.js → charts-d3-YXD6VGZQ.js} +8 -7
  12. package/dist/{chunk-PMNITNPR.js → chunk-273GB7WK.js} +6 -5
  13. package/dist/{chunk-HAMF4F3P.js → chunk-2A4OFZ2Z.js} +5 -5
  14. package/dist/{chunk-K5XT7NHD.js → chunk-2AM6VA3A.js} +10 -10
  15. package/dist/{chunk-XJ2TBXHA.js → chunk-2UV627GG.js} +9 -9
  16. package/dist/{chunk-7WGCQE2E.js → chunk-2ZVLI6GQ.js} +1 -1
  17. package/dist/{chunk-JVZ7KFAX.js → chunk-37QQXKFV.js} +9 -10
  18. package/dist/{chunk-M2BCY7H3.js → chunk-3LINSNJT.js} +199 -146
  19. package/dist/{chunk-WPL5PFXE.js → chunk-3SLRZKLB.js} +6 -6
  20. package/dist/chunk-3UR4F7FE.js +14 -0
  21. package/dist/{chunk-ZUCXFXLD.js → chunk-3YTAOMMN.js} +2 -2
  22. package/dist/{chunk-NIUO2TNR.js → chunk-4HG4PYHM.js} +197 -203
  23. package/dist/{chunk-BOO24UMJ.js → chunk-4YO7VJTP.js} +1 -1
  24. package/dist/{chunk-HUNDJTTH.js → chunk-53BJIOLF.js} +1 -1
  25. package/dist/{chunk-LR6RRDWN.js → chunk-57L2JPP2.js} +10 -6
  26. package/dist/{chunk-IIOLFAGJ.js → chunk-5DIBB2QG.js} +51 -32
  27. package/dist/{chunk-S2WE7TVK.js → chunk-5MDQMB6A.js} +1 -1
  28. package/dist/{chunk-7Z2VFRP5.js → chunk-5U6DXIMV.js} +47 -24
  29. package/dist/{chunk-QIOYTQDZ.js → chunk-5VPWIC6T.js} +9 -9
  30. package/dist/{chunk-JRUEIRJB.js → chunk-634LDSN6.js} +3 -3
  31. package/dist/{chunk-VEPIAUSK.js → chunk-6BQSDF77.js} +1 -5
  32. package/dist/{chunk-LPYYZCSI.js → chunk-6NO3MNBC.js} +3 -3
  33. package/dist/{chunk-ITSBBQTH.js → chunk-6QEXWMBP.js} +13 -17
  34. package/dist/{chunk-DDPGEGHB.js → chunk-7BBRSOKS.js} +3 -3
  35. package/dist/{chunk-WQ6G6FFM.js → chunk-AR4QVMWG.js} +5 -2
  36. package/dist/{chunk-BB6QKWHZ.js → chunk-B6EUFLRP.js} +10 -10
  37. package/dist/{chunk-C4FRGZGX.js → chunk-CDT33RHG.js} +1 -1
  38. package/dist/{chunk-WP22MHH6.js → chunk-CPGKRI7H.js} +10 -13
  39. package/dist/{chunk-ZNNVI5SR.js → chunk-CU2PZLZP.js} +53 -31
  40. package/dist/{chunk-CUYHST3B.js → chunk-CVZBLHHW.js} +1 -1
  41. package/dist/{chunk-Y7PSAHAY.js → chunk-CXIPV2FY.js} +3 -3
  42. package/dist/{chunk-NRPELUB6.js → chunk-D7DXNQW5.js} +2 -2
  43. package/dist/{chunk-YMFQLWZ2.js → chunk-D7PP35BA.js} +1 -1
  44. package/dist/{chunk-RGWYZR3S.js → chunk-DLX7MEN4.js} +2 -2
  45. package/dist/chunk-EDPDAUBL.js +825 -0
  46. package/dist/{chunk-GSYZZFI5.js → chunk-EP7BT3HU.js} +2 -2
  47. package/dist/{chunk-ICZ7M6IZ.js → chunk-EQJ3U5EW.js} +1 -1
  48. package/dist/{chunk-3C2FWS2J.js → chunk-EWERNTOX.js} +1 -1
  49. package/dist/{chunk-XUCQVKLQ.js → chunk-F2436VRR.js} +4 -4
  50. package/dist/{chunk-UG2XG57E.js → chunk-F26ZPBSF.js} +3 -3
  51. package/dist/{chunk-UWKRPQZO.js → chunk-FJCYK4K3.js} +25 -22
  52. package/dist/{chunk-FKLE6QA3.js → chunk-G22UV5AF.js} +12 -12
  53. package/dist/{chunk-GUTZCRBT.js → chunk-G3EUQMV4.js} +4 -4
  54. package/dist/{chunk-SOPM5PLO.js → chunk-GCDW3WAY.js} +14 -14
  55. package/dist/{chunk-7UDAIP6W.js → chunk-HFG7KQOY.js} +13 -15
  56. package/dist/{chunk-ID2K3IHI.js → chunk-HLE5QGZJ.js} +1 -1
  57. package/dist/{chunk-QFHWYWQL.js → chunk-HLVGZXM5.js} +2 -2
  58. package/dist/{chunk-7C2RAGPT.js → chunk-HSGWR2FL.js} +16 -16
  59. package/dist/{chunk-P3SKSKJI.js → chunk-HWXUQCDY.js} +3 -3
  60. package/dist/{chunk-HTWH2XQL.js → chunk-HYV6GSXM.js} +6 -3
  61. package/dist/{chunk-3RYBTEF5.js → chunk-I74AQRVD.js} +6 -12
  62. package/dist/chunk-IHK3Y2HG.js +781 -0
  63. package/dist/{chunk-7KPHRTND.js → chunk-II4XJETG.js} +1 -1
  64. package/dist/{chunk-RXIKESRI.js → chunk-IMHNZITR.js} +2 -2
  65. package/dist/{chunk-TAP2NZEU.js → chunk-IMKPFW67.js} +13 -13
  66. package/dist/{chunk-FKZ2Y3Q5.js → chunk-IS6WFBX7.js} +3 -3
  67. package/dist/{chunk-47E5UTXE.js → chunk-IUBCDNT2.js} +2 -2
  68. package/dist/{chunk-EXKCRXPO.js → chunk-IWTUXGHN.js} +12 -12
  69. package/dist/{chunk-C7QRRTAW.js → chunk-J2SQNZ6D.js} +2 -2
  70. package/dist/{chunk-DZPHN2WN.js → chunk-JA2S7PHR.js} +14 -14
  71. package/dist/{chunk-DPSMX4EY.js → chunk-JJQWCI35.js} +4 -4
  72. package/dist/chunk-JJUDOR4I.js +110 -0
  73. package/dist/{chunk-LYLNMN77.js → chunk-K3BYD3WU.js} +8 -3
  74. package/dist/{chunk-3AQJNY65.js → chunk-KFXY5IW2.js} +149 -43
  75. package/dist/{chunk-J64NZ6NF.js → chunk-KSZHIAI2.js} +1 -1
  76. package/dist/{chunk-LCJURK7L.js → chunk-LKR4FACF.js} +2 -4
  77. package/dist/{chunk-PIXJL77H.js → chunk-M6J25PAZ.js} +1 -1
  78. package/dist/{chunk-IJ27L3R4.js → chunk-MA42PIGJ.js} +1 -1
  79. package/dist/{chunk-IQ6P3HDE.js → chunk-MI6SJJQU.js} +2 -2
  80. package/dist/{chunk-N4BBSDWI.js → chunk-MJKQ5ZYY.js} +140 -151
  81. package/dist/{chunk-6K7RODXG.js → chunk-MKFQ5E7J.js} +1 -1
  82. package/dist/{chunk-AZ24RI5L.js → chunk-MNL547RV.js} +6 -6
  83. package/dist/{chunk-44GP7PD5.js → chunk-MPJQMMBZ.js} +12 -0
  84. package/dist/{chunk-ECMA6XE2.js → chunk-N254IJM2.js} +13 -13
  85. package/dist/{layout-search-YKUL4VBV.js → chunk-NWPMLX2V.js} +27 -30
  86. package/dist/{chunk-DV2VEJCC.js → chunk-NWSPPGIE.js} +6 -6
  87. package/dist/{chunk-GDJW64XE.js → chunk-OYKNMFUY.js} +1 -1
  88. package/dist/{chunk-B3S76BZO.js → chunk-PSGSFRRE.js} +4 -4
  89. package/dist/{chunk-4AJKOUBO.js → chunk-PUZ63XZM.js} +13 -11
  90. package/dist/{chunk-UQLHKLF4.js → chunk-PZVTFQI2.js} +8 -8
  91. package/dist/{chunk-W7QN5BC5.js → chunk-Q3N7PI3B.js} +180 -7
  92. package/dist/{chunk-L5AFONQU.js → chunk-QKJ6MQXW.js} +2 -4
  93. package/dist/{chunk-7SX4IY6T.js → chunk-QVKTAU7P.js} +1 -1
  94. package/dist/{chunk-SLQT3JP3.js → chunk-R7BSF7Z7.js} +1 -1
  95. package/dist/{chunk-4R6OMKXB.js → chunk-RHXIUUWB.js} +5 -5
  96. package/dist/{chunk-MHAYUS65.js → chunk-RMTOZALT.js} +8 -5
  97. package/dist/{chunk-HSRQDWV7.js → chunk-ROCBGUJN.js} +8 -17
  98. package/dist/{chunk-44FTCIRI.js → chunk-RVTYIGWZ.js} +9 -9
  99. package/dist/{chunk-RU725VCJ.js → chunk-SKF7XLCM.js} +10 -35
  100. package/dist/{chunk-RPKBWJBB.js → chunk-SMTWQ66K.js} +6 -6
  101. package/dist/{chunk-3AX6MCI6.js → chunk-SPQVER4T.js} +2 -2
  102. package/dist/{chunk-CX6OH5WP.js → chunk-SWBHH2UW.js} +4 -4
  103. package/dist/{chunk-WP2RLGDI.js → chunk-TCX5PMEY.js} +1 -1
  104. package/dist/{chunk-7TF3QOOD.js → chunk-TIVMAITN.js} +14 -0
  105. package/dist/{chunk-NSR2CGV6.js → chunk-TLPY4ZBI.js} +611 -437
  106. package/dist/{chunk-WRCAH3UO.js → chunk-TPEYEOXA.js} +15 -15
  107. package/dist/{chunk-FJNXXGTR.js → chunk-UWJP4JSZ.js} +3 -3
  108. package/dist/{chunk-MY6GUH26.js → chunk-V3KHZQPK.js} +3 -3
  109. package/dist/{chunk-66YFDTT6.js → chunk-VGSSAMLA.js} +4 -4
  110. package/dist/{chunk-Q6SQISHT.js → chunk-VMD2CYVP.js} +311 -74
  111. package/dist/{chunk-MFW6P7WH.js → chunk-WNTPJZU7.js} +3 -3
  112. package/dist/{chunk-7W4XLIVH.js → chunk-WTE27AJT.js} +14 -14
  113. package/dist/{chunk-UKJLPA7R.js → chunk-X6IZP2BD.js} +1 -1
  114. package/dist/{chunk-2GM7N5TV.js → chunk-XLAREWBK.js} +9 -9
  115. package/dist/{chunk-AYOVY75O.js → chunk-XLPJJ35N.js} +4 -4
  116. package/dist/{chunk-NGC3IZRY.js → chunk-XQTRGKQ3.js} +4 -4
  117. package/dist/{chunk-WEF6MXFG.js → chunk-YZG37S7L.js} +9 -9
  118. package/dist/{chunk-LFKSHDVI.js → chunk-ZB2Q67NO.js} +14 -13
  119. package/dist/{chunk-JQ57AWDL.js → chunk-ZJ4PYTCK.js} +1 -1
  120. package/dist/completion-registry.d.ts +6 -0
  121. package/dist/completion-registry.js +62 -6
  122. package/dist/{compute-JAP5E2E4.js → compute-2XWFVO7K.js} +1 -1
  123. package/dist/{d3-B6524aaP.d.ts → d3-2S3PrXik.d.ts} +11 -0
  124. package/dist/dgmo-router-YHBMKTXY.js +94 -0
  125. package/dist/{dimensions-7MF7VSGS.js → dimensions-QMGWJQTR.js} +5 -5
  126. package/dist/editor.js +12 -0
  127. package/dist/{flowchart-parser-GG7XBLQH.js → flowchart-parser-BLJ6RA53.js} +4 -4
  128. package/dist/{flowchart-renderer-DZQZRL2F.js → flowchart-renderer-FXRQKXAK.js} +12 -8
  129. package/dist/highlight.js +12 -0
  130. package/dist/index.d.ts +26 -5
  131. package/dist/index.js +84 -57
  132. package/dist/{layout-5VSMZPMG.js → layout-5HCEF7VO.js} +1 -1
  133. package/dist/{layout-6L3BIFEZ.js → layout-6PLSBB5X.js} +3 -3
  134. package/dist/{layout-UIV56NUA.js → layout-B7PQRAMB.js} +1 -1
  135. package/dist/{layout-IGAVGDME.js → layout-CCVCLZ6S.js} +1 -1
  136. package/dist/{layout-PP36LUTA.js → layout-CRUAP7JG.js} +3 -3
  137. package/dist/{layout-Q3RYSODA.js → layout-G42FDCF3.js} +3 -3
  138. package/dist/{layout-EFEZ533S.js → layout-IV4H2FLB.js} +3 -3
  139. package/dist/{layout-4RRC7XU7.js → layout-JTNRSGOS.js} +6 -3
  140. package/dist/{layout-H4K54IW3.js → layout-RBLD5EGX.js} +6 -3
  141. package/dist/{layout-SW3XWYKC.js → layout-ROAVGBUC.js} +1 -1
  142. package/dist/{layout-XUW444O5.js → layout-T2DQ4M77.js} +8 -4
  143. package/dist/{layout-MSSHF45T.js → layout-UPQGIT3N.js} +2 -2
  144. package/dist/{layout-DXVAYF6W.js → layout-VRJ5YFUE.js} +2 -2
  145. package/dist/{layout-ZP7XYVXF.js → layout-YKGQRFDM.js} +2 -4
  146. package/dist/layout-search-L75YOBME.js +42 -0
  147. package/dist/{palettes-WZAIQTEG.js → palettes-WQHELGVQ.js} +2 -1
  148. package/dist/{parser-ZLKYDFI5.js → parser-2XCDVLSN.js} +3 -3
  149. package/dist/{parser-GZ3LVF72.js → parser-3MGA2MTM.js} +2 -2
  150. package/dist/{parser-NOANDFJ4.js → parser-4AR25MAS.js} +2 -2
  151. package/dist/{parser-GCCWMBTU.js → parser-4QNRCGU5.js} +5 -4
  152. package/dist/{parser-LANGKWRG.js → parser-6LMB7BQQ.js} +2 -2
  153. package/dist/{parser-WEVTMBJ5.js → parser-6NSQLPTS.js} +3 -3
  154. package/dist/{parser-KYPP2DX6.js → parser-6X4GGH2R.js} +4 -4
  155. package/dist/parser-AL6YL7KM.js +12 -0
  156. package/dist/{parser-5655XSOR.js → parser-D6YRVV75.js} +3 -3
  157. package/dist/{parser-NGHQQGD2.js → parser-EY3VJWBE.js} +3 -3
  158. package/dist/{parser-TL3JA4RI.js → parser-EYF4ZSZO.js} +3 -3
  159. package/dist/{parser-256EIWB2.js → parser-FDXUQ5TI.js} +2 -2
  160. package/dist/{parser-JOOAVBJI.js → parser-H2DJEAPG.js} +3 -3
  161. package/dist/{parser-AKBVJHMK.js → parser-ILWAA3QJ.js} +3 -3
  162. package/dist/{parser-AN3MGHRL.js → parser-KMFMNZYI.js} +3 -3
  163. package/dist/{parser-IMM2JJX3.js → parser-MDSVVCJP.js} +4 -4
  164. package/dist/{parser-OVQTTTUJ.js → parser-OFTMA36M.js} +2 -2
  165. package/dist/{parser-LGS65QPN.js → parser-Q3UAOLEZ.js} +2 -2
  166. package/dist/{parser-DGF3ZEO6.js → parser-QL4DEPVA.js} +4 -4
  167. package/dist/{parser-XYY5NHP4.js → parser-R6OETHWM.js} +2 -2
  168. package/dist/{parser-GEKPWSSK.js → parser-UEDPLM46.js} +3 -3
  169. package/dist/{parser-KZMALSB2.js → parser-UL6WN6W5.js} +4 -4
  170. package/dist/{parser-J4DVNL4W.js → parser-ULSUK36C.js} +4 -4
  171. package/dist/{parser-KZMJNKDW.js → parser-UY3K4ROB.js} +2 -2
  172. package/dist/{parser-KFYRTGTC.js → parser-UYQNNQKT.js} +4 -4
  173. package/dist/{parser-DHSFIUPU.js → parser-VG747VR6.js} +3 -3
  174. package/dist/{parser-UTXFJG4X.js → parser-VK4PNDX4.js} +3 -3
  175. package/dist/{parser-SA3RAJFS.js → parser-WSONWDFN.js} +2 -2
  176. package/dist/{parser-NPXPJHWN.js → parser-X5FQ36KJ.js} +3 -3
  177. package/dist/{parser-OKB64MMN.js → parser-XO5IAXMT.js} +3 -3
  178. package/dist/{parser-HCGXNHHL.js → parser-YVHO2NRM.js} +3 -3
  179. package/dist/{parser-P4TOQYNN.js → parser-YWZGIU3C.js} +3 -3
  180. package/dist/{parser-337TACHB.js → parser-ZFLSULFC.js} +3 -3
  181. package/dist/{parser-7OEE7QT6.js → parser-ZR7JAKSW.js} +2 -2
  182. package/dist/{renderer-CHQZES6G.js → renderer-3N64GVNM.js} +2 -2
  183. package/dist/{renderer-JR2XNZAH.js → renderer-43IVPARP.js} +5 -5
  184. package/dist/{renderer-J4OS77PK.js → renderer-4MEZYGU6.js} +3 -3
  185. package/dist/{renderer-IR5GGAPB.js → renderer-54GXA3UO.js} +11 -7
  186. package/dist/{renderer-7VQOKAII.js → renderer-7EAWN7MC.js} +6 -6
  187. package/dist/{renderer-QQHQY3GT.js → renderer-7SEXPBGM.js} +5 -5
  188. package/dist/{renderer-P4XCRNCY.js → renderer-B7B7BQM3.js} +9 -9
  189. package/dist/{renderer-7HOSI6JJ.js → renderer-I2LYSQBV.js} +4 -4
  190. package/dist/{renderer-6OQM32X3.js → renderer-IPDCAACY.js} +3 -3
  191. package/dist/{renderer-JRVY7HAD.js → renderer-J2LOMTBC.js} +4 -4
  192. package/dist/renderer-JUH6M3XF.js +46 -0
  193. package/dist/renderer-KY6O5JTX.js +80 -0
  194. package/dist/{renderer-FCXRDYSJ.js → renderer-LHTDI5RV.js} +7 -7
  195. package/dist/{renderer-XHEMXBQM.js → renderer-LWL3IJOF.js} +5 -5
  196. package/dist/{renderer-BLHN3RCY.js → renderer-MRMFYYZT.js} +2 -2
  197. package/dist/{renderer-DBNDLKPE.js → renderer-NCIDGJ2R.js} +7 -7
  198. package/dist/{renderer-3AD4NDF5.js → renderer-OPA4JJKX.js} +6 -6
  199. package/dist/{renderer-XFEZ5UBE.js → renderer-QMNC7TGN.js} +6 -6
  200. package/dist/{renderer-5GZNGZU5.js → renderer-QQNPJGAP.js} +9 -7
  201. package/dist/{renderer-CEIX5JPA.js → renderer-R7OYCJEA.js} +2 -2
  202. package/dist/{renderer-WQ654YT5.js → renderer-R7RK7FKI.js} +1 -1
  203. package/dist/{renderer-4JE5ORRO.js → renderer-RFP55AW7.js} +13 -10
  204. package/dist/{renderer-NAA7D33G.js → renderer-S3NFBJCY.js} +15 -11
  205. package/dist/{renderer-43ESBXVY.js → renderer-SD4ZHHAR.js} +8 -6
  206. package/dist/{renderer-WB75JME5.js → renderer-SE7Z5AOL.js} +6 -6
  207. package/dist/{renderer-YTEZK3GC.js → renderer-T2WUA7MC.js} +7 -7
  208. package/dist/{renderer-VYWCMRWA.js → renderer-TWKEZ3DD.js} +5 -5
  209. package/dist/{renderer-DCJ4AQ3N.js → renderer-U5PD72G7.js} +5 -5
  210. package/dist/{renderer-EAORWLVK.js → renderer-VCTKBUTR.js} +7 -7
  211. package/dist/{renderer-7L7J4DHO.js → renderer-VNZTWATB.js} +7 -6
  212. package/dist/{renderer-2ZQ6DPVD.js → renderer-YDNWK6RI.js} +2 -2
  213. package/dist/{renderer-VGQMJC5K.js → renderer-YDOWBIUB.js} +11 -10
  214. package/dist/{renderer-7MCC6GKH.js → renderer-YQPZ7O2C.js} +2 -2
  215. package/dist/{renderer-ZXQXRNDR.js → renderer-ZQ77CM6Y.js} +6 -6
  216. package/dist/{renderer-radial-NA5DVBG4.js → renderer-radial-TNNEL3YN.js} +5 -5
  217. package/dist/{resolver-XSXE2TRX.js → resolver-6DJLZF6Y.js} +1 -1
  218. package/dist/{state-parser-FE3RF6XY.js → state-parser-NIIVOU2Y.js} +4 -4
  219. package/dist/{state-renderer-4S2C2CHB.js → state-renderer-TVLEG32M.js} +14 -10
  220. package/dist/{themes-CzuBdx1T.d.ts → themes-Cm2YBcT8.d.ts} +38 -2
  221. package/docs/ai-integration.md +4 -3
  222. package/docs/language-reference.md +162 -12
  223. package/gallery/fixtures/sketch.dgmo +2 -2
  224. package/gallery/fixtures/whiteboard.dgmo +18 -0
  225. package/package.json +2 -1
  226. package/dist/chunk-6EK55ART.js +0 -116
  227. package/dist/chunk-HTNLLT34.js +0 -72
  228. package/dist/dgmo-router-7WANZOBD.js +0 -92
  229. package/dist/renderer-TJJGFQGT.js +0 -78
  230. package/dist/{chunk-3FCSOYN4.js → chunk-5P2L5QXE.js} +0 -0
  231. package/dist/{chunk-HJRP6PXL.js → chunk-BQVTV4LB.js} +0 -0
  232. package/dist/{chunk-LYRDIVSY.js → chunk-GLCMUTO5.js} +0 -0
  233. package/dist/{chunk-5LE2CTLS.js → chunk-NTJ5HVV6.js} +3 -3
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tryCollectNote
3
- } from "./chunk-J64NZ6NF.js";
3
+ } from "./chunk-KSZHIAI2.js";
4
4
  import {
5
5
  resolveNotes
6
6
  } from "./chunk-O753JUEZ.js";
@@ -13,14 +13,14 @@ import {
13
13
  } from "./chunk-NOTA6TEI.js";
14
14
  import {
15
15
  isTagBlockHeading
16
- } from "./chunk-L5AFONQU.js";
16
+ } from "./chunk-QKJ6MQXW.js";
17
17
  import {
18
18
  AliasRegistry,
19
19
  OPTION_NOCOLON_RE,
20
20
  measureIndent,
21
21
  parseFirstLine,
22
22
  tryParseSharedOption
23
- } from "./chunk-44GP7PD5.js";
23
+ } from "./chunk-MPJQMMBZ.js";
24
24
  import {
25
25
  resolveColorWithDiagnostic
26
26
  } from "./chunk-2M4IGSCY.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  computeInfra
3
- } from "./chunk-ICZ7M6IZ.js";
3
+ } from "./chunk-EQJ3U5EW.js";
4
4
  import {
5
5
  layoutInfra
6
- } from "./chunk-3FCSOYN4.js";
6
+ } from "./chunk-5P2L5QXE.js";
7
7
  import {
8
8
  appendArrowheadMarkers
9
9
  } from "./chunk-XBJJP2HN.js";
@@ -13,6 +13,9 @@ import {
13
13
  import {
14
14
  ScaleContext
15
15
  } from "./chunk-24YPR5EH.js";
16
+ import {
17
+ renderIntegratedLegend
18
+ } from "./chunk-QVKTAU7P.js";
16
19
  import {
17
20
  ARROWHEAD_HEIGHT,
18
21
  ARROWHEAD_WIDTH,
@@ -26,35 +29,32 @@ import {
26
29
  import {
27
30
  layoutInlineHeader
28
31
  } from "./chunk-CNUN5GO6.js";
32
+ import {
33
+ getLegendExtent,
34
+ getMaxLegendReservedHeight
35
+ } from "./chunk-NS7L7YKH.js";
29
36
  import {
30
37
  TITLE_FONT_SIZE,
31
38
  TITLE_FONT_WEIGHT,
32
39
  TITLE_OFFSET,
33
40
  TITLE_Y
34
41
  } from "./chunk-VLC6WNRD.js";
35
- import {
36
- renderIntegratedLegend
37
- } from "./chunk-7SX4IY6T.js";
38
- import {
39
- getLegendExtent,
40
- getMaxLegendReservedHeight
41
- } from "./chunk-NS7L7YKH.js";
42
42
  import {
43
43
  FONT_FAMILY
44
44
  } from "./chunk-ICLB27PZ.js";
45
45
  import {
46
46
  parseInfra
47
- } from "./chunk-GUTZCRBT.js";
47
+ } from "./chunk-G3EUQMV4.js";
48
48
  import {
49
49
  preprocessDescriptionLine
50
50
  } from "./chunk-IYULMRBE.js";
51
51
  import {
52
52
  tagAttrKey
53
- } from "./chunk-L5AFONQU.js";
53
+ } from "./chunk-QKJ6MQXW.js";
54
54
  import {
55
55
  legendInlineRequested,
56
56
  legendSuppressed
57
- } from "./chunk-44GP7PD5.js";
57
+ } from "./chunk-MPJQMMBZ.js";
58
58
  import {
59
59
  LEGEND_CAPSULE_PAD,
60
60
  LEGEND_DOT_R,
@@ -1494,7 +1494,7 @@ function renderInfra(container, layout, palette, isDark, title, titleLineNumber,
1494
1494
  if (fixedTitleH) {
1495
1495
  const titleContainerW = container.clientWidth || totalWidth;
1496
1496
  const titleSvg = d3Selection.select(container).append("svg").attr("class", "infra-title-fixed").attr("width", "100%").attr("height", fixedTitleH).attr("viewBox", `0 0 ${titleContainerW} ${fixedTitleH}`).attr("preserveAspectRatio", "xMidYMid meet").style("display", "block");
1497
- titleSvg.append("text").attr("class", "chart-title").attr("x", titleContainerW / 2).attr("y", sc.sTitleY).attr("text-anchor", "middle").attr("font-family", FONT_FAMILY).attr("font-size", sc.sTitleFontSize).attr("font-weight", TITLE_FONT_WEIGHT).attr("fill", palette.text).attr("data-line-number", titleLineNumber != null ? titleLineNumber : "").text(title);
1497
+ titleSvg.append("text").attr("class", "chart-title").attr("x", titleContainerW / 2).attr("y", sc.sTitleY).attr("text-anchor", "middle").attr("font-family", FONT_FAMILY).attr("font-size", sc.sTitleFontSize).attr("font-weight", TITLE_FONT_WEIGHT).attr("fill", palette.text).attr("data-line-number", titleLineNumber ?? "").text(title);
1498
1498
  }
1499
1499
  const fixedOverheadH = (fixedLegend ? legendDynamicH + sc.sLegendFixedGap : 0) + fixedTitleH;
1500
1500
  const rootSvg = d3Selection.select(container).append("svg").attr("xmlns", "http://www.w3.org/2000/svg").attr("width", "100%").attr(
@@ -1552,7 +1552,7 @@ function renderInfra(container, layout, palette, isDark, title, titleLineNumber,
1552
1552
  `translate(0, ${contentTitleOffset + (header.inline ? 0 : legendOffset)})`
1553
1553
  );
1554
1554
  if (title && !fixedTitleH) {
1555
- rootSvg.append("text").attr("class", "chart-title").attr("x", header.titleX).attr("y", sc.sTitleY).attr("text-anchor", header.titleAnchor).attr("font-family", FONT_FAMILY).attr("font-size", sc.sTitleFontSize).attr("font-weight", TITLE_FONT_WEIGHT).attr("fill", palette.text).attr("data-line-number", titleLineNumber != null ? titleLineNumber : "").text(title);
1555
+ rootSvg.append("text").attr("class", "chart-title").attr("x", header.titleX).attr("y", sc.sTitleY).attr("text-anchor", header.titleAnchor).attr("font-family", FONT_FAMILY).attr("font-size", sc.sTitleFontSize).attr("font-weight", TITLE_FONT_WEIGHT).attr("fill", palette.text).attr("data-line-number", titleLineNumber ?? "").text(title);
1556
1556
  }
1557
1557
  renderGroups(svg, layout.groups, palette, isDark, sc, activeGroup, tagGroups);
1558
1558
  const speedMultiplier = playback?.speed ?? 1;
@@ -93,7 +93,7 @@ var EXPORT_WIDTH = 1200;
93
93
  var EXPORT_HEIGHT = 800;
94
94
  async function resolveExportPalette(theme, palette) {
95
95
  if (palette) return palette;
96
- const { getPalette, DEFAULT_PALETTE_ID } = await import("./palettes-WZAIQTEG.js");
96
+ const { getPalette, DEFAULT_PALETTE_ID } = await import("./palettes-WQHELGVQ.js");
97
97
  const cfg = getPalette(DEFAULT_PALETTE_ID);
98
98
  return theme === "dark" ? cfg.dark : cfg.light;
99
99
  }
@@ -5,6 +5,9 @@ import {
5
5
  import {
6
6
  EMPHASIS_DIM_OPACITY
7
7
  } from "./chunk-2CW5ZTNH.js";
8
+ import {
9
+ renderIntegratedLegend
10
+ } from "./chunk-QVKTAU7P.js";
8
11
  import {
9
12
  CARD_RADIUS,
10
13
  EDGE_DASH,
@@ -19,18 +22,15 @@ import {
19
22
  import {
20
23
  layoutInlineHeader
21
24
  } from "./chunk-CNUN5GO6.js";
25
+ import {
26
+ getLegendExtent,
27
+ getMaxLegendReservedHeight
28
+ } from "./chunk-NS7L7YKH.js";
22
29
  import {
23
30
  TITLE_FONT_SIZE,
24
31
  TITLE_FONT_WEIGHT,
25
32
  TITLE_Y
26
33
  } from "./chunk-VLC6WNRD.js";
27
- import {
28
- renderIntegratedLegend
29
- } from "./chunk-7SX4IY6T.js";
30
- import {
31
- getLegendExtent,
32
- getMaxLegendReservedHeight
33
- } from "./chunk-NS7L7YKH.js";
34
34
  import {
35
35
  FONT_FAMILY
36
36
  } from "./chunk-ICLB27PZ.js";
@@ -38,12 +38,12 @@ import {
38
38
  UNTAGGED_TAG_COLOR,
39
39
  resolveTagColor,
40
40
  tagAttrKey
41
- } from "./chunk-L5AFONQU.js";
41
+ } from "./chunk-QKJ6MQXW.js";
42
42
  import {
43
43
  fillModeFromOptions,
44
44
  legendInlineRequested,
45
45
  legendSuppressed
46
- } from "./chunk-44GP7PD5.js";
46
+ } from "./chunk-MPJQMMBZ.js";
47
47
  import {
48
48
  LEGEND_GROUP_GAP
49
49
  } from "./chunk-I6GGMCTV.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tryCollectNote
3
- } from "./chunk-J64NZ6NF.js";
3
+ } from "./chunk-KSZHIAI2.js";
4
4
  import {
5
5
  resolveNotes
6
6
  } from "./chunk-O753JUEZ.js";
@@ -19,7 +19,7 @@ import {
19
19
  tagAttrKey,
20
20
  validateTagGroupNames,
21
21
  validateTagValues
22
- } from "./chunk-L5AFONQU.js";
22
+ } from "./chunk-QKJ6MQXW.js";
23
23
  import {
24
24
  ALL_CHART_TYPES,
25
25
  FILL_FAMILY_TOKENS,
@@ -32,7 +32,7 @@ import {
32
32
  parseMetadataRegion,
33
33
  tryParseSharedOption,
34
34
  withTagAliases
35
- } from "./chunk-44GP7PD5.js";
35
+ } from "./chunk-MPJQMMBZ.js";
36
36
  import {
37
37
  resolveColorWithDiagnostic
38
38
  } from "./chunk-2M4IGSCY.js";
@@ -502,7 +502,7 @@ function parseState(content, palette) {
502
502
  (line, message) => {
503
503
  const diag = makeDgmoError(line, message);
504
504
  result.diagnostics.push(diag);
505
- if (!result.error) result.error = formatDgmoError(diag);
505
+ result.error ??= formatDgmoError(diag);
506
506
  }
507
507
  );
508
508
  }
@@ -11,7 +11,7 @@ import {
11
11
  tagAttrKey,
12
12
  validateTagGroupNames,
13
13
  validateTagValues
14
- } from "./chunk-L5AFONQU.js";
14
+ } from "./chunk-QKJ6MQXW.js";
15
15
  import {
16
16
  MINDMAP_REGISTRY,
17
17
  OPTION_NOCOLON_RE,
@@ -23,7 +23,7 @@ import {
23
23
  tryParseSharedOption,
24
24
  warnUnknownMetaKeys,
25
25
  withTagAliases
26
- } from "./chunk-44GP7PD5.js";
26
+ } from "./chunk-MPJQMMBZ.js";
27
27
  import {
28
28
  formatDgmoError,
29
29
  makeDgmoError,
@@ -48,7 +48,7 @@ function parseMindmap(content, palette) {
48
48
  const pushError = (line, message) => {
49
49
  const diag = makeDgmoError(line, message);
50
50
  result.diagnostics.push(diag);
51
- if (!result.error) result.error = formatDgmoError(diag);
51
+ result.error ??= formatDgmoError(diag);
52
52
  };
53
53
  const pushWarning = (line, message, code) => {
54
54
  result.diagnostics.push(makeDgmoError(line, message, "warning", code));
@@ -291,7 +291,7 @@ function parseNodeLine(trimmed, lineNumber, _palette, counter, aliasMap, diagnos
291
291
  }
292
292
  let collapsed = bareCollapsed ? true : void 0;
293
293
  if ("collapsed" in metadata) {
294
- collapsed = collapsed || metadata["collapsed"].toLowerCase() === "true";
294
+ collapsed ??= metadata["collapsed"].toLowerCase() === "true";
295
295
  delete metadata["collapsed"];
296
296
  }
297
297
  return {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  layoutClassDiagram
3
- } from "./chunk-7Z2VFRP5.js";
3
+ } from "./chunk-5U6DXIMV.js";
4
4
  import {
5
5
  NOTE_BADGE_RADIUS,
6
6
  noteConnectorPoints,
@@ -11,6 +11,9 @@ import {
11
11
  import {
12
12
  ScaleContext
13
13
  } from "./chunk-24YPR5EH.js";
14
+ import {
15
+ renderIntegratedLegend
16
+ } from "./chunk-QVKTAU7P.js";
14
17
  import {
15
18
  ARROWHEAD_HEIGHT,
16
19
  ARROWHEAD_WIDTH,
@@ -26,28 +29,25 @@ import {
26
29
  import {
27
30
  layoutInlineHeader
28
31
  } from "./chunk-CNUN5GO6.js";
32
+ import {
33
+ getLegendExtent
34
+ } from "./chunk-NS7L7YKH.js";
29
35
  import {
30
36
  TITLE_FONT_SIZE,
31
37
  TITLE_FONT_WEIGHT,
32
38
  TITLE_Y
33
39
  } from "./chunk-VLC6WNRD.js";
34
- import {
35
- renderIntegratedLegend
36
- } from "./chunk-7SX4IY6T.js";
37
- import {
38
- getLegendExtent
39
- } from "./chunk-NS7L7YKH.js";
40
40
  import {
41
41
  FONT_FAMILY
42
42
  } from "./chunk-ICLB27PZ.js";
43
43
  import {
44
44
  parseClassDiagram
45
- } from "./chunk-MFW6P7WH.js";
45
+ } from "./chunk-WNTPJZU7.js";
46
46
  import {
47
47
  fillModeFromOptions,
48
48
  legendInlineRequested,
49
49
  legendSuppressed
50
- } from "./chunk-44GP7PD5.js";
50
+ } from "./chunk-MPJQMMBZ.js";
51
51
  import {
52
52
  LEGEND_HEIGHT
53
53
  } from "./chunk-I6GGMCTV.js";
@@ -15,9 +15,10 @@ import {
15
15
  finalizeAutoTagColors,
16
16
  matchTagBlockHeading,
17
17
  stripDefaultModifier,
18
+ tagAttrKey,
18
19
  validateTagGroupNames,
19
20
  validateTagValues
20
- } from "./chunk-L5AFONQU.js";
21
+ } from "./chunk-QKJ6MQXW.js";
21
22
  import {
22
23
  AliasRegistry,
23
24
  FILL_FAMILY_TOKENS,
@@ -31,7 +32,7 @@ import {
31
32
  splitNameAndMeta,
32
33
  warnUnknownMetaKeys,
33
34
  withTagAliases
34
- } from "./chunk-44GP7PD5.js";
35
+ } from "./chunk-MPJQMMBZ.js";
35
36
  import {
36
37
  NAME_DIAGNOSTIC_CODES,
37
38
  formatDgmoError,
@@ -100,7 +101,7 @@ function parseNoteLine(trimmed, participants, participantIds, sortedParticipants
100
101
  const multiMatch = trimmed.match(NOTE_MULTI);
101
102
  if (multiMatch) {
102
103
  const position = multiMatch[1]?.toLowerCase() || "right";
103
- let participantId = multiMatch[2] || null;
104
+ let participantId = multiMatch[2] ?? null;
104
105
  if (!participantId) {
105
106
  if (!lastMsgFrom) return { kind: "skip" };
106
107
  participantId = lastMsgFrom;
@@ -238,7 +239,7 @@ function parseSequenceDgmo(content, palette) {
238
239
  const pushError = (line, message, code) => {
239
240
  const diag = makeDgmoError(line, message, "error", code);
240
241
  result.diagnostics.push(diag);
241
- if (!result.error) result.error = formatDgmoError(diag);
242
+ result.error ??= formatDgmoError(diag);
242
243
  };
243
244
  const pushWarning = (line, message, code) => {
244
245
  result.diagnostics.push(makeDgmoError(line, message, "warning", code));
@@ -415,7 +416,7 @@ function parseSequenceDgmo(content, palette) {
415
416
  const groupName = groupMatch[1].trim();
416
417
  const groupColor = groupMatch[2]?.trim();
417
418
  let groupMeta;
418
- let afterBracket = groupMatch[3]?.trim() || "";
419
+ let afterBracket = groupMatch[3]?.trim() ?? "";
419
420
  let isCollapsed = false;
420
421
  const barePeel = peelTrailingCollapsedFlag(afterBracket);
421
422
  if (barePeel.collapsed) {
@@ -511,12 +512,12 @@ function parseSequenceDgmo(content, palette) {
511
512
  if (tagBlockMatch.alias) {
512
513
  aliasMap.set(
513
514
  tagBlockMatch.alias.toLowerCase(),
514
- tagBlockMatch.name.toLowerCase()
515
+ tagAttrKey(tagBlockMatch.name)
515
516
  );
516
517
  }
517
518
  aliasMap.set(
518
519
  normalizeName(tagBlockMatch.name),
519
- tagBlockMatch.name.toLowerCase()
520
+ tagAttrKey(tagBlockMatch.name)
520
521
  );
521
522
  result.tagGroups.push(newTagGroup);
522
523
  continue;
@@ -657,7 +658,7 @@ function parseSequenceDgmo(content, palette) {
657
658
  contentStarted = true;
658
659
  const id = isAMatch[1];
659
660
  const typeStr = isAMatch[2].toLowerCase();
660
- const remainder = isAMatch[3]?.trim() || "";
661
+ const remainder = isAMatch[3]?.trim() ?? "";
661
662
  const participantType = VALID_PARTICIPANT_TYPES.has(
662
663
  typeStr
663
664
  ) ? typeStr : "default";
@@ -768,7 +769,7 @@ function parseSequenceDgmo(content, palette) {
768
769
  const colonPostfixAsync = arrowCore.match(
769
770
  /^(.+?)\s*~>\s*([^:"]+?)\s*:\s*(.+)$/
770
771
  );
771
- const colonPostfix = colonPostfixSync || colonPostfixAsync;
772
+ const colonPostfix = colonPostfixSync ?? colonPostfixAsync;
772
773
  if (colonPostfix) {
773
774
  const a = colonPostfix[1];
774
775
  const b = colonPostfix[2];
@@ -791,7 +792,7 @@ function parseSequenceDgmo(content, palette) {
791
792
  }
792
793
  const bareReturnSync = arrowCore.match(/^(.+?)\s*<-\s*(.+)$/);
793
794
  const bareReturnAsync = arrowCore.match(/^(.+?)\s*<~\s*(.+)$/);
794
- const bareReturn = bareReturnSync || bareReturnAsync;
795
+ const bareReturn = bareReturnSync ?? bareReturnAsync;
795
796
  if (bareReturn) {
796
797
  const to = bareReturn[1];
797
798
  const from = bareReturn[2];
@@ -803,7 +804,7 @@ function parseSequenceDgmo(content, palette) {
803
804
  }
804
805
  const bareCallSync = arrowCore.match(/^(.+?)\s*->\s*(.+)$/);
805
806
  const bareCallAsync = arrowCore.match(/^(.+?)\s*~>\s*(.+)$/);
806
- const bareCall = bareCallSync || bareCallAsync;
807
+ const bareCall = bareCallSync ?? bareCallAsync;
807
808
  if (bareCall) {
808
809
  contentStarted = true;
809
810
  bodyStarted = true;
@@ -866,7 +867,7 @@ function parseSequenceDgmo(content, palette) {
866
867
  const block = {
867
868
  kind: "block",
868
869
  type: "parallel",
869
- label: parallelMatch[1]?.trim() || "",
870
+ label: parallelMatch[1]?.trim() ?? "",
870
871
  children: [],
871
872
  elseChildren: [],
872
873
  lineNumber
@@ -894,7 +895,7 @@ function parseSequenceDgmo(content, palette) {
894
895
  children: [],
895
896
  lineNumber
896
897
  };
897
- if (!top.block.elseIfBranches) top.block.elseIfBranches = [];
898
+ top.block.elseIfBranches ??= [];
898
899
  const branches = top.block.elseIfBranches;
899
900
  branches.push(branch);
900
901
  top.activeElseIfBranch = branch;
@@ -16,7 +16,7 @@ import {
16
16
  fillModeFromToken,
17
17
  measureIndent,
18
18
  parseFirstLine
19
- } from "./chunk-44GP7PD5.js";
19
+ } from "./chunk-MPJQMMBZ.js";
20
20
  import {
21
21
  makeDgmoError,
22
22
  makeFail
@@ -20,6 +20,12 @@
20
20
  interface DirectiveValueSpec {
21
21
  description: string;
22
22
  values?: string[];
23
+ /**
24
+ * Offer this directive only once the word typed so far starts with this
25
+ * prefix — for a directive almost nobody needs, which must not crowd every
26
+ * empty line's list. Absent: offered on any line, as before.
27
+ */
28
+ minPrefix?: string;
23
29
  }
24
30
  /** Specification for a chart type's directives. */
25
31
  interface DirectiveSpec {
@@ -1,15 +1,18 @@
1
1
  import {
2
2
  GROUP_ONLY_METADATA,
3
3
  STATE_KEYWORDS
4
- } from "./chunk-HSRQDWV7.js";
4
+ } from "./chunk-ROCBGUJN.js";
5
5
  import {
6
6
  ALL_MARKERS
7
7
  } from "./chunk-4WW3SGMH.js";
8
- import "./chunk-L5AFONQU.js";
8
+ import {
9
+ BUILT_IN_PALETTE_IDS
10
+ } from "./chunk-3UR4F7FE.js";
11
+ import "./chunk-QKJ6MQXW.js";
9
12
  import {
10
13
  ALL_CHART_TYPES,
11
14
  chartTypes
12
- } from "./chunk-44GP7PD5.js";
15
+ } from "./chunk-MPJQMMBZ.js";
13
16
  import "./chunk-2M4IGSCY.js";
14
17
  import "./chunk-BYU54C3S.js";
15
18
  import "./chunk-5WRI5ZAA.js";
@@ -27,6 +30,11 @@ var BETA_CHART_TYPE_IDS = new Set(
27
30
 
28
31
  // src/completion-registry.ts
29
32
  var GLOBAL_DIRECTIVES = {
33
+ palette: {
34
+ description: "Draw this diagram in a built-in palette, optionally pinned to light or dark",
35
+ values: [...BUILT_IN_PALETTE_IDS].sort(),
36
+ minPrefix: "pal"
37
+ },
30
38
  "no-title": {
31
39
  description: "Hide the diagram title"
32
40
  },
@@ -733,6 +741,14 @@ var COMPLETION_REGISTRY = /* @__PURE__ */ new Map([
733
741
  }
734
742
  })
735
743
  ],
744
+ [
745
+ "whiteboard",
746
+ // Canvas-authored free placement: every line is an element; the only
747
+ // directives are the universal set plus `no-notes`, the two that act.
748
+ withGlobals({
749
+ "no-notes": { description: "Hide every sticky note" }
750
+ })
751
+ ],
736
752
  [
737
753
  "map",
738
754
  // Geographic map directives (§24B.2/.7). Cosmetics are ON by default — the
@@ -883,6 +899,21 @@ var STRUCTURAL_KEYWORDS = /* @__PURE__ */ new Map([
883
899
  ["treemap", ["tag"]],
884
900
  ["block", ["tag"]],
885
901
  ["sketch", ["tag"]],
902
+ [
903
+ "whiteboard",
904
+ [
905
+ "rectangle",
906
+ "ellipse",
907
+ "database",
908
+ "queue",
909
+ "note",
910
+ "arrow",
911
+ "line",
912
+ "text",
913
+ "image",
914
+ "ink"
915
+ ]
916
+ ],
886
917
  ["boxes-and-lines", ["tag"]],
887
918
  ["state", ["note", "tag"]],
888
919
  ["swimlane", ["lane", "tag"]],
@@ -985,12 +1016,37 @@ var WIREFRAME_GROUP_ONLY_FLAGS = [
985
1016
  ];
986
1017
  var PIPE_METADATA = /* @__PURE__ */ new Map([
987
1018
  [
988
- "sketch",
1019
+ "whiteboard",
989
1020
  {
990
1021
  node: {
991
- shape: {
992
- description: "Morph from the default rectangle: database, queue, person, document, note"
1022
+ at: {
1023
+ description: "Top-left corner `at: X Y` in canvas px (integers, negative allowed)"
993
1024
  },
1025
+ size: { description: "Width and height `size: W H` in px" },
1026
+ color: {
1027
+ description: "ink (default; yellow on a note), red, green, blue, teal, purple, orange, yellow, cyan or gray"
1028
+ },
1029
+ from: { description: "Arrow tail `from: X Y` in canvas px" },
1030
+ to: { description: "Arrow head `to: X Y` in canvas px" },
1031
+ style: {
1032
+ description: "Arrow or line stroke: `dashed` (solid is the default)"
1033
+ },
1034
+ heads: {
1035
+ description: "Arrow heads: `both` adds one at `from:`"
1036
+ },
1037
+ bend: {
1038
+ description: "Arrow or line curve: whole px off the straight middle, + bends right"
1039
+ },
1040
+ fill: {
1041
+ description: "Shape fill: `solid` or `outline` (a pale tint is the default)"
1042
+ }
1043
+ }
1044
+ }
1045
+ ],
1046
+ [
1047
+ "sketch",
1048
+ {
1049
+ node: {
994
1050
  at: {
995
1051
  description: "Half-slot position `at: C R` (integers; omit to flow-place)"
996
1052
  },
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  computeInfra
3
- } from "./chunk-ICZ7M6IZ.js";
3
+ } from "./chunk-EQJ3U5EW.js";
4
4
  import "./chunk-5WRI5ZAA.js";
5
5
  export {
6
6
  computeInfra
@@ -490,6 +490,17 @@ type RenderForExportOptions = {
490
490
  */
491
491
  width?: number;
492
492
  height?: number;
493
+ /**
494
+ * Whiteboard images: turn a ref (relative path or https URL) into an href.
495
+ * Supplied → its answer is final, `undefined` draws the placeholder box.
496
+ * Omitted → https refs pass through and the rest are placeholders.
497
+ */
498
+ resolveImage?: (ref: string) => string | undefined;
499
+ /**
500
+ * Whiteboard sticky notes: `true` draws them and `false` hides them,
501
+ * whatever the board's `no-notes` says. Omitted → the directive decides.
502
+ */
503
+ showNotes?: boolean;
493
504
  };
494
505
  declare function renderForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette?: PaletteColors, viewState?: CompactViewState, options?: RenderForExportOptions): Promise<string>;
495
506
 
@@ -0,0 +1,94 @@
1
+ import {
2
+ CHART_TYPE_DESCRIPTIONS,
3
+ chartTypeParsers,
4
+ getAllChartTypes,
5
+ getRenderCategory,
6
+ isExtendedChartType,
7
+ knownChartTypeIds,
8
+ parseDgmo
9
+ } from "./chunk-VMD2CYVP.js";
10
+ import "./chunk-EOYPX6SF.js";
11
+ import "./chunk-ZJ4PYTCK.js";
12
+ import "./chunk-WFA6IULY.js";
13
+ import "./chunk-3DPOIW3W.js";
14
+ import "./chunk-TCX5PMEY.js";
15
+ import "./chunk-A2RUBBVT.js";
16
+ import "./chunk-3YTAOMMN.js";
17
+ import "./chunk-IUBCDNT2.js";
18
+ import "./chunk-BDXC7MDK.js";
19
+ import "./chunk-HFG7KQOY.js";
20
+ import "./chunk-2CW5ZTNH.js";
21
+ import "./chunk-MKFQ5E7J.js";
22
+ import "./chunk-AR4QVMWG.js";
23
+ import "./chunk-PSGSFRRE.js";
24
+ import "./chunk-M6J25PAZ.js";
25
+ import "./chunk-EWERNTOX.js";
26
+ import "./chunk-HWXUQCDY.js";
27
+ import "./chunk-V3KHZQPK.js";
28
+ import "./chunk-XSVWUOUZ.js";
29
+ import "./chunk-4YO7VJTP.js";
30
+ import "./chunk-HYV6GSXM.js";
31
+ import "./chunk-RMTOZALT.js";
32
+ import "./chunk-SKF7XLCM.js";
33
+ import "./chunk-NWSPPGIE.js";
34
+ import "./chunk-IHK3Y2HG.js";
35
+ import "./chunk-J2SQNZ6D.js";
36
+ import "./chunk-IS6WFBX7.js";
37
+ import "./chunk-QQJUTGQH.js";
38
+ import "./chunk-XQTRGKQ3.js";
39
+ import "./chunk-VGSSAMLA.js";
40
+ import "./chunk-OYKNMFUY.js";
41
+ import "./chunk-HLVGZXM5.js";
42
+ import "./chunk-JJQWCI35.js";
43
+ import "./chunk-EP7BT3HU.js";
44
+ import "./chunk-G3EUQMV4.js";
45
+ import "./chunk-6QEXWMBP.js";
46
+ import {
47
+ looksLikeC4,
48
+ looksLikeGantt,
49
+ parseDgmoChartType
50
+ } from "./chunk-2AM6VA3A.js";
51
+ import "./chunk-I74AQRVD.js";
52
+ import "./chunk-37QQXKFV.js";
53
+ import "./chunk-2SKMEL7V.js";
54
+ import "./chunk-2ZVLI6GQ.js";
55
+ import "./chunk-EQW6HOP4.js";
56
+ import "./chunk-DAOFNU6J.js";
57
+ import "./chunk-4HG4PYHM.js";
58
+ import "./chunk-ZB2Q67NO.js";
59
+ import "./chunk-C3Z4DX3V.js";
60
+ import "./chunk-634LDSN6.js";
61
+ import "./chunk-TIVMAITN.js";
62
+ import "./chunk-XLPJJ35N.js";
63
+ import "./chunk-NXMESY4J.js";
64
+ import "./chunk-WNTPJZU7.js";
65
+ import "./chunk-3SLRZKLB.js";
66
+ import "./chunk-KSZHIAI2.js";
67
+ import "./chunk-O753JUEZ.js";
68
+ import "./chunk-N7VMGZCU.js";
69
+ import "./chunk-UWJP4JSZ.js";
70
+ import "./chunk-F26ZPBSF.js";
71
+ import "./chunk-IYULMRBE.js";
72
+ import "./chunk-NOTA6TEI.js";
73
+ import "./chunk-ROCBGUJN.js";
74
+ import "./chunk-4WW3SGMH.js";
75
+ import "./chunk-3UR4F7FE.js";
76
+ import "./chunk-QKJ6MQXW.js";
77
+ import "./chunk-MPJQMMBZ.js";
78
+ import "./chunk-5NU7NII2.js";
79
+ import "./chunk-L24LESXF.js";
80
+ import "./chunk-2M4IGSCY.js";
81
+ import "./chunk-BYU54C3S.js";
82
+ import "./chunk-5WRI5ZAA.js";
83
+ export {
84
+ CHART_TYPE_DESCRIPTIONS,
85
+ chartTypeParsers,
86
+ getAllChartTypes,
87
+ getRenderCategory,
88
+ isExtendedChartType,
89
+ knownChartTypeIds,
90
+ looksLikeC4,
91
+ looksLikeGantt,
92
+ parseDgmo,
93
+ parseDgmoChartType
94
+ };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  mapContentAspect,
3
3
  mapExportDimensions
4
- } from "./chunk-7KPHRTND.js";
5
- import "./chunk-LR6RRDWN.js";
4
+ } from "./chunk-II4XJETG.js";
5
+ import "./chunk-57L2JPP2.js";
6
6
  import "./chunk-4QV26TEG.js";
7
7
  import "./chunk-KMU65FYM.js";
8
- import "./chunk-VLC6WNRD.js";
9
8
  import "./chunk-NS7L7YKH.js";
10
- import "./chunk-L5AFONQU.js";
11
- import "./chunk-44GP7PD5.js";
9
+ import "./chunk-VLC6WNRD.js";
10
+ import "./chunk-QKJ6MQXW.js";
11
+ import "./chunk-MPJQMMBZ.js";
12
12
  import "./chunk-I6GGMCTV.js";
13
13
  import "./chunk-KAO7JL4I.js";
14
14
  import "./chunk-L24LESXF.js";