@diagrammo/dgmo 0.88.0 → 0.90.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 (230) hide show
  1. package/README.md +5 -3
  2. package/dist/advanced.d.ts +472 -22
  3. package/dist/advanced.js +401 -240
  4. package/dist/{analyzer-R5UBTRO2.js → analyzer-7ZGAZIE6.js} +2 -2
  5. package/dist/block.d.ts +1 -1
  6. package/dist/block.js +95 -72
  7. package/dist/{calculator-35YVW4QO.js → calculator-PX3JHKAS.js} +2 -2
  8. package/dist/{chart-meta-PbgpGwYo.d.ts → chart-meta-B_WTMP0y.d.ts} +1 -1
  9. package/dist/chart-meta.d.ts +2 -2
  10. package/dist/chart-meta.js +22 -21
  11. package/dist/{chart-types-Db_EGf1o.d.ts → chart-types-V2NcgN5O.d.ts} +5 -1
  12. package/dist/{charts-d3-3BZRSZV6.js → charts-d3-QW4ERNUE.js} +13 -12
  13. package/dist/{chunk-O6MMQQLF.js → chunk-2EDJPHXQ.js} +17 -17
  14. package/dist/{chunk-7WGCQE2E.js → chunk-2ZVLI6GQ.js} +1 -1
  15. package/dist/{chunk-JLETTWUJ.js → chunk-3BQCSQQJ.js} +57 -28
  16. package/dist/{chunk-MVCPO6LI.js → chunk-3HBR3YAN.js} +37 -27
  17. package/dist/chunk-3UR4F7FE.js +14 -0
  18. package/dist/{chunk-IDJGV6VM.js → chunk-4HG4PYHM.js} +209 -1
  19. package/dist/{chunk-YMG7JDEY.js → chunk-4IYJOXGS.js} +78 -31
  20. package/dist/{chunk-BOO24UMJ.js → chunk-4YO7VJTP.js} +1 -1
  21. package/dist/{chunk-AAMCXQPP.js → chunk-54YUDXGP.js} +6 -6
  22. package/dist/{chunk-UG2XG57E.js → chunk-5M52RPAS.js} +2 -2
  23. package/dist/{chunk-UNAP6O26.js → chunk-5M6PMV5Z.js} +14 -14
  24. package/dist/{chunk-BMUWF77V.js → chunk-5MDQMB6A.js} +4 -4
  25. package/dist/{chunk-WPL5PFXE.js → chunk-5TZPIKNV.js} +5 -5
  26. package/dist/{chunk-VPASQOR3.js → chunk-62VWZ3SE.js} +6 -5
  27. package/dist/{chunk-N4XHXBDQ.js → chunk-64KSPLU2.js} +6 -5
  28. package/dist/{chunk-VEPIAUSK.js → chunk-6BQSDF77.js} +1 -5
  29. package/dist/{chunk-LNO3ASX5.js → chunk-A5EE66RQ.js} +2 -2
  30. package/dist/{chunk-5KGM44TG.js → chunk-A5PUOHIS.js} +4 -4
  31. package/dist/{chunk-UNNJCSSQ.js → chunk-AAC3XQWV.js} +3 -3
  32. package/dist/{chunk-VJ2KROJ5.js → chunk-AHWA36O7.js} +1 -1
  33. package/dist/{chunk-FKZ2Y3Q5.js → chunk-C4W62JZO.js} +2 -2
  34. package/dist/{chunk-6I5UN4FD.js → chunk-CDT33RHG.js} +4 -4
  35. package/dist/{chunk-3DOQOXXI.js → chunk-CNUN5GO6.js} +1 -1
  36. package/dist/{chunk-NF5YKFRH.js → chunk-COPSI54O.js} +3 -3
  37. package/dist/{chunk-GUTZCRBT.js → chunk-CUY56BK4.js} +2 -2
  38. package/dist/{chunk-HSRQDWV7.js → chunk-CYF2X3CG.js} +2 -11
  39. package/dist/{chunk-NGC3IZRY.js → chunk-DNMICILX.js} +2 -2
  40. package/dist/{chunk-CFBY77QJ.js → chunk-DXPT2HPH.js} +145 -156
  41. package/dist/{chunk-J7Q4VPBJ.js → chunk-EB7AEM2H.js} +28 -22
  42. package/dist/{chunk-MGBV4JEI.js → chunk-EDXGEQW3.js} +1 -1
  43. package/dist/{chunk-H2GEIFUF.js → chunk-EEYQFJVK.js} +154 -48
  44. package/dist/{chunk-FPXMCGS5.js → chunk-EK7JYFCL.js} +2 -2
  45. package/dist/{chunk-3C2FWS2J.js → chunk-EWERNTOX.js} +1 -1
  46. package/dist/{chunk-WZ23JJ7U.js → chunk-FDRHBQUG.js} +26 -24
  47. package/dist/{chunk-FJNXXGTR.js → chunk-FS2LZBHG.js} +2 -2
  48. package/dist/{chunk-ERNCPKD4.js → chunk-G2KHLANR.js} +1 -1
  49. package/dist/{chunk-XVSJYAK7.js → chunk-G5BGW4BX.js} +2 -2
  50. package/dist/{chunk-33FQ6HNV.js → chunk-GQVXYRPC.js} +9 -9
  51. package/dist/{chunk-MHAYUS65.js → chunk-GXP344YZ.js} +3 -3
  52. package/dist/{chunk-NJIGYGZS.js → chunk-GYBKG4Z6.js} +15 -10
  53. package/dist/{chunk-MSXRNVHB.js → chunk-HIVJBESO.js} +311 -72
  54. package/dist/{chunk-UY6TEJJH.js → chunk-HJRP6PXL.js} +1 -1
  55. package/dist/{chunk-DOXBS7F5.js → chunk-HLE5QGZJ.js} +4 -4
  56. package/dist/{chunk-L5AFONQU.js → chunk-HX2KJEPD.js} +1 -1
  57. package/dist/{chunk-LL6D3MES.js → chunk-I6FWHICD.js} +19 -19
  58. package/dist/{chunk-RH2PROYG.js → chunk-I6GGMCTV.js} +4 -2
  59. package/dist/{chunk-3RYBTEF5.js → chunk-I74AQRVD.js} +6 -12
  60. package/dist/{chunk-PLE2432T.js → chunk-ICYPGWOV.js} +3 -3
  61. package/dist/chunk-IHK3Y2HG.js +781 -0
  62. package/dist/{chunk-JD4RHBNX.js → chunk-IMHNZITR.js} +9 -9
  63. package/dist/{chunk-GUYVKGFN.js → chunk-IRVQT4GR.js} +3 -3
  64. package/dist/{chunk-XUDGZJTJ.js → chunk-J3ODKAWN.js} +8 -8
  65. package/dist/{chunk-UMRZPRAN.js → chunk-JRQ4LBQI.js} +20 -20
  66. package/dist/{chunk-MY6GUH26.js → chunk-JX4RCC6B.js} +2 -2
  67. package/dist/{chunk-DSG6GBUQ.js → chunk-K4GUO7FV.js} +8 -8
  68. package/dist/{chunk-HAH5X345.js → chunk-KATED53P.js} +1 -1
  69. package/dist/{chunk-J64NZ6NF.js → chunk-KSZHIAI2.js} +1 -1
  70. package/dist/{chunk-7HWY4QAJ.js → chunk-L24LESXF.js} +1 -0
  71. package/dist/{chunk-UIUXIDBX.js → chunk-LBRHDWEA.js} +5 -5
  72. package/dist/{chunk-GSYZZFI5.js → chunk-LC5LY5V2.js} +2 -2
  73. package/dist/{chunk-P5V63L35.js → chunk-LNQDICFJ.js} +22 -22
  74. package/dist/{chunk-PIXJL77H.js → chunk-M6J25PAZ.js} +1 -1
  75. package/dist/{chunk-RGI64U3A.js → chunk-MIVSVEK4.js} +14 -14
  76. package/dist/{chunk-6K7RODXG.js → chunk-MKFQ5E7J.js} +1 -1
  77. package/dist/{chunk-44GP7PD5.js → chunk-MPJQMMBZ.js} +12 -0
  78. package/dist/{chunk-WQ6G6FFM.js → chunk-NFWRIC2V.js} +1 -1
  79. package/dist/{chunk-LHL6HDUL.js → chunk-NJYA4QSN.js} +84 -12
  80. package/dist/{chunk-RU725VCJ.js → chunk-NMKLX57Y.js} +10 -35
  81. package/dist/{chunk-PPH6ILHL.js → chunk-NP2SE6MQ.js} +4 -4
  82. package/dist/{chunk-FM3WAVB6.js → chunk-NS7L7YKH.js} +1 -1
  83. package/dist/{chunk-HEYGGSNQ.js → chunk-NTJ5HVV6.js} +5 -5
  84. package/dist/{chunk-BAZT6CIF.js → chunk-NUYWNKHH.js} +9 -9
  85. package/dist/{chunk-DV2VEJCC.js → chunk-NWSPPGIE.js} +6 -6
  86. package/dist/{chunk-AYOVY75O.js → chunk-NY56FM55.js} +3 -3
  87. package/dist/{chunk-LD2JSKU3.js → chunk-OOCVGX4W.js} +15 -0
  88. package/dist/{chunk-A4XPI4YN.js → chunk-OSIUWQ3N.js} +29 -2
  89. package/dist/{chunk-LJFXC3IP.js → chunk-OWJVSJLA.js} +17 -17
  90. package/dist/{chunk-GDJW64XE.js → chunk-OYKNMFUY.js} +1 -1
  91. package/dist/{chunk-YK4N6TBN.js → chunk-PIHAUVA4.js} +10 -10
  92. package/dist/{chunk-C7QRRTAW.js → chunk-PNCKZFPE.js} +2 -2
  93. package/dist/{chunk-D4M25W6R.js → chunk-POBNN5DP.js} +6 -6
  94. package/dist/{chunk-N7XRBWXA.js → chunk-PQ5NW3QZ.js} +15 -15
  95. package/dist/{chunk-HTPZDZKQ.js → chunk-PXEUQ7EG.js} +22 -22
  96. package/dist/{chunk-XWYR5T52.js → chunk-QOZ4RVQY.js} +19 -19
  97. package/dist/{chunk-BV6PKJUS.js → chunk-QRIW46LR.js} +8 -8
  98. package/dist/{chunk-LSQGJN5H.js → chunk-R2PTZ6QM.js} +21 -21
  99. package/dist/{chunk-VW52W5F6.js → chunk-RCBHL2B5.js} +229 -159
  100. package/dist/{chunk-66YFDTT6.js → chunk-RJYFHEP4.js} +3 -3
  101. package/dist/{chunk-P3SKSKJI.js → chunk-RNXX2GOQ.js} +2 -2
  102. package/dist/{chunk-BT2WH2XT.js → chunk-RRBV4HIM.js} +3 -3
  103. package/dist/{chunk-WXPBP4IT.js → chunk-RY5RRKYN.js} +14 -14
  104. package/dist/{chunk-NZCSVD4M.js → chunk-S4LLHDGK.js} +8 -8
  105. package/dist/chunk-S7C32S2T.js +825 -0
  106. package/dist/{chunk-QFIXL3OK.js → chunk-SEKNYIMO.js} +1 -1
  107. package/dist/{chunk-JRUEIRJB.js → chunk-SLO22FPS.js} +2 -2
  108. package/dist/{chunk-47E5UTXE.js → chunk-SMEVBJJJ.js} +2 -2
  109. package/dist/{chunk-QFHWYWQL.js → chunk-SVQDLYX7.js} +1 -1
  110. package/dist/{chunk-WP2RLGDI.js → chunk-TCX5PMEY.js} +1 -1
  111. package/dist/{chunk-5LD7SHXO.js → chunk-TQ644YGV.js} +18 -18
  112. package/dist/{chunk-PUVTFUNH.js → chunk-U762HK4D.js} +28 -28
  113. package/dist/{chunk-DAX42XVH.js → chunk-VCHYS3RD.js} +14 -9
  114. package/dist/{chunk-XIFK423U.js → chunk-W7QN5BC5.js} +4 -4
  115. package/dist/{chunk-7UDAIP6W.js → chunk-WHRIN7N3.js} +1 -1
  116. package/dist/{chunk-ZUCXFXLD.js → chunk-X3WYJ5T7.js} +2 -2
  117. package/dist/{chunk-RE6TVIAV.js → chunk-X6IZP2BD.js} +4 -4
  118. package/dist/{chunk-LCJURK7L.js → chunk-Y6GQQ4Y2.js} +1 -1
  119. package/dist/{chunk-HTWH2XQL.js → chunk-YE7D2S75.js} +2 -2
  120. package/dist/{chunk-B7CU2HW5.js → chunk-YKGUSW6D.js} +17 -17
  121. package/dist/{chunk-AQIBKTPG.js → chunk-YWRZG6GN.js} +10 -10
  122. package/dist/{chunk-JQ57AWDL.js → chunk-ZJ4PYTCK.js} +1 -1
  123. package/dist/completion-registry.d.ts +7 -1
  124. package/dist/completion-registry.js +64 -20
  125. package/dist/countdown.js +1 -1
  126. package/dist/{d3-B6524aaP.d.ts → d3-2S3PrXik.d.ts} +11 -0
  127. package/dist/dgmo-router-BJBXSZMV.js +94 -0
  128. package/dist/{dimensions-6QAWEGIR.js → dimensions-AMA2S7RO.js} +7 -7
  129. package/dist/editor.js +12 -0
  130. package/dist/{flowchart-parser-GG7XBLQH.js → flowchart-parser-ADZIFVCH.js} +3 -3
  131. package/dist/{flowchart-renderer-THC6Y7EH.js → flowchart-renderer-CAG6ZNJ6.js} +10 -9
  132. package/dist/highlight.js +12 -0
  133. package/dist/index.d.ts +26 -5
  134. package/dist/index.js +94 -67
  135. package/dist/{layout-P6DTD4RT.js → layout-4RRC7XU7.js} +2 -2
  136. package/dist/{layout-LUQKAGGT.js → layout-6OSF2UGP.js} +5 -5
  137. package/dist/{layout-AM57TGN5.js → layout-C6MKMOBI.js} +3 -3
  138. package/dist/{layout-EHTYSMV4.js → layout-H4K54IW3.js} +2 -2
  139. package/dist/{layout-XUW444O5.js → layout-QS2SESBU.js} +3 -3
  140. package/dist/{layout-5NPBHV5F.js → layout-T2PGKQUQ.js} +4 -4
  141. package/dist/{layout-CUFA7XJD.js → layout-UFB2O4AO.js} +5 -5
  142. package/dist/{layout-MSSHF45T.js → layout-UPQGIT3N.js} +2 -2
  143. package/dist/{layout-QX5T6ZNE.js → layout-VQ2USZJ3.js} +5 -5
  144. package/dist/{layout-SOPAVXIH.js → layout-VRJ5YFUE.js} +3 -3
  145. package/dist/{layout-BOVTLAOT.js → layout-ZP7XYVXF.js} +2 -2
  146. package/dist/{layout-search-VKSBUCDM.js → layout-search-YKUL4VBV.js} +105 -6
  147. package/dist/{legend-constants-ZVO4FLAK.js → legend-constants-HE7FVDJP.js} +4 -2
  148. package/dist/{palettes-BIV54XLS.js → palettes-WQHELGVQ.js} +7 -4
  149. package/dist/{parser-KYPP2DX6.js → parser-223VOHSB.js} +4 -4
  150. package/dist/{parser-JOOAVBJI.js → parser-2PNV7UI3.js} +3 -3
  151. package/dist/{parser-GZ3LVF72.js → parser-3MGA2MTM.js} +2 -2
  152. package/dist/{parser-NOANDFJ4.js → parser-4AR25MAS.js} +2 -2
  153. package/dist/{parser-ACW6C6OY.js → parser-4B2PIXHI.js} +3 -3
  154. package/dist/{parser-KZMJNKDW.js → parser-57YQEEMC.js} +2 -2
  155. package/dist/{parser-J4DVNL4W.js → parser-5ZD2NKGU.js} +4 -4
  156. package/dist/{parser-LANGKWRG.js → parser-6LMB7BQQ.js} +2 -2
  157. package/dist/parser-AL6YL7KM.js +12 -0
  158. package/dist/{parser-5655XSOR.js → parser-B2FWP7ZO.js} +3 -3
  159. package/dist/{parser-GEKPWSSK.js → parser-BJDQX4KV.js} +3 -3
  160. package/dist/{parser-C327BBE3.js → parser-CA5WC5HF.js} +3 -3
  161. package/dist/{parser-KZMALSB2.js → parser-E5HFYL7B.js} +4 -4
  162. package/dist/{parser-WUK6CP5X.js → parser-ESZ5J5IJ.js} +6 -5
  163. package/dist/{parser-256EIWB2.js → parser-FDXUQ5TI.js} +2 -2
  164. package/dist/{parser-AN3MGHRL.js → parser-FV6RGALQ.js} +3 -3
  165. package/dist/{parser-DGF3ZEO6.js → parser-HPR7G7F6.js} +3 -3
  166. package/dist/{parser-OKB64MMN.js → parser-I4HZVIHX.js} +3 -3
  167. package/dist/{parser-JXS4426S.js → parser-J3BM2AP2.js} +4 -4
  168. package/dist/{parser-NPXPJHWN.js → parser-JFNDS5E5.js} +3 -3
  169. package/dist/{parser-PVIWHVGY.js → parser-KFIK3EOO.js} +3 -3
  170. package/dist/{parser-GPW4ZHPQ.js → parser-LGUT7KKH.js} +4 -3
  171. package/dist/{parser-KFYRTGTC.js → parser-MYRGCK7Q.js} +4 -4
  172. package/dist/{parser-ZLKYDFI5.js → parser-NAUUUCI3.js} +3 -3
  173. package/dist/{parser-DHSFIUPU.js → parser-NJ5VEZA3.js} +3 -3
  174. package/dist/{parser-OVQTTTUJ.js → parser-OFTMA36M.js} +2 -2
  175. package/dist/{parser-AKBVJHMK.js → parser-OV2WDSEV.js} +3 -3
  176. package/dist/{parser-LGS65QPN.js → parser-Q3UAOLEZ.js} +2 -2
  177. package/dist/{parser-XYY5NHP4.js → parser-R6OETHWM.js} +2 -2
  178. package/dist/{parser-7OEE7QT6.js → parser-RARXAHC7.js} +2 -2
  179. package/dist/{parser-NGHQQGD2.js → parser-T2RVIRDG.js} +3 -3
  180. package/dist/{parser-WEVTMBJ5.js → parser-W2DWCCLO.js} +3 -3
  181. package/dist/{parser-HCGXNHHL.js → parser-WFY4ZJUW.js} +3 -3
  182. package/dist/{parser-SA3RAJFS.js → parser-WSONWDFN.js} +2 -2
  183. package/dist/{renderer-2OOPQ4CH.js → renderer-3N64GVNM.js} +3 -3
  184. package/dist/{renderer-4BIMRO4X.js → renderer-3QM2DK7I.js} +7 -7
  185. package/dist/{renderer-4NZZ5J2F.js → renderer-3W5T3IU6.js} +8 -8
  186. package/dist/{renderer-RWJ45DWH.js → renderer-4Z7FRQ2A.js} +3 -3
  187. package/dist/{renderer-LODEVN3V.js → renderer-52CHSV6S.js} +13 -13
  188. package/dist/{renderer-X5A5VIRD.js → renderer-6OOJNEQE.js} +10 -10
  189. package/dist/{renderer-YDAVCRTP.js → renderer-A3PMPUO6.js} +15 -11
  190. package/dist/{renderer-NHPKNNBD.js → renderer-AM4VZSBQ.js} +11 -11
  191. package/dist/{renderer-SDUSBCJI.js → renderer-B3CPMS5R.js} +10 -10
  192. package/dist/{renderer-TPOZOAXR.js → renderer-B4KE3NM4.js} +17 -16
  193. package/dist/renderer-COSJM7UG.js +80 -0
  194. package/dist/{renderer-R34GJL7U.js → renderer-FXCVH2M5.js} +16 -15
  195. package/dist/{renderer-QM23SWAM.js → renderer-GWH5ACJ5.js} +4 -4
  196. package/dist/{renderer-222OTVQV.js → renderer-IG72UJHW.js} +5 -5
  197. package/dist/{renderer-A6ACVK4X.js → renderer-IO3D5E4E.js} +7 -7
  198. package/dist/{renderer-RMGN3Q7D.js → renderer-IPDCAACY.js} +5 -5
  199. package/dist/{renderer-XUPLAO4B.js → renderer-KK5BU5K2.js} +8 -8
  200. package/dist/{renderer-DCFQDBGJ.js → renderer-LD2H7WGP.js} +3 -3
  201. package/dist/{renderer-KVAQE7PQ.js → renderer-MK47ESCB.js} +8 -8
  202. package/dist/{renderer-4BHOELCE.js → renderer-MRMFYYZT.js} +3 -3
  203. package/dist/{renderer-6BUUTWVS.js → renderer-O5RQHGK2.js} +9 -9
  204. package/dist/{renderer-2KVQGGTT.js → renderer-OA5D3ZKB.js} +10 -10
  205. package/dist/{renderer-RENDISO5.js → renderer-ON4PTUHJ.js} +14 -14
  206. package/dist/{renderer-JKV2DBYP.js → renderer-OPDSKCQS.js} +7 -7
  207. package/dist/{renderer-XRALFCIN.js → renderer-PLRMST57.js} +10 -10
  208. package/dist/{renderer-WH2HWE5Z.js → renderer-PSMRAL72.js} +11 -11
  209. package/dist/{renderer-RNCYODNF.js → renderer-PXGCR7N4.js} +11 -10
  210. package/dist/{renderer-PQYO2HCE.js → renderer-R7OYCJEA.js} +4 -4
  211. package/dist/{renderer-36JH4OMC.js → renderer-SBXCPA3S.js} +12 -12
  212. package/dist/{renderer-A4LMOBZL.js → renderer-TMQNTUQS.js} +15 -15
  213. package/dist/renderer-TTKTBB4C.js +46 -0
  214. package/dist/{renderer-RAATRF6W.js → renderer-UVFGW2O6.js} +12 -10
  215. package/dist/{renderer-3FF4QVGW.js → renderer-W22GX72R.js} +10 -10
  216. package/dist/{renderer-BICLPGAH.js → renderer-WQ654YT5.js} +2 -2
  217. package/dist/{renderer-radial-XZ5TKUT4.js → renderer-radial-42LVSG74.js} +8 -8
  218. package/dist/{state-parser-FE3RF6XY.js → state-parser-ROKY5KSI.js} +4 -4
  219. package/dist/{state-renderer-5IQ4OJUI.js → state-renderer-MMG23G4W.js} +14 -14
  220. package/dist/{themes-CzuBdx1T.d.ts → themes-Cm2YBcT8.d.ts} +38 -2
  221. package/docs/ai-integration.md +8 -5
  222. package/docs/language-reference.md +163 -13
  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/dgmo-router-F2DSURTR.js +0 -92
  227. package/dist/renderer-YIZ7G4HU.js +0 -78
  228. package/dist/{chunk-3TYUXC7D.js → chunk-2SKMEL7V.js} +0 -0
  229. package/dist/{chunk-CLQIXD2C.js → chunk-7Z2VFRP5.js} +3 -3
  230. package/dist/{chunk-2A4DQAXG.js → chunk-IIOLFAGJ.js} +3 -3
@@ -12,26 +12,26 @@ import {
12
12
  import {
13
13
  FONT_FAMILY
14
14
  } from "./chunk-ICLB27PZ.js";
15
- import {
16
- measureText,
17
- truncateText,
18
- wrapTextToWidth
19
- } from "./chunk-KAO7JL4I.js";
20
15
  import {
21
16
  allTasks
22
- } from "./chunk-3RYBTEF5.js";
17
+ } from "./chunk-I74AQRVD.js";
23
18
  import {
24
19
  VARIANTS
25
20
  } from "./chunk-4WW3SGMH.js";
26
21
  import {
27
22
  fillModeFromOptions,
28
23
  legendSuppressed
29
- } from "./chunk-44GP7PD5.js";
24
+ } from "./chunk-MPJQMMBZ.js";
25
+ import {
26
+ measureText,
27
+ truncateText,
28
+ wrapTextToWidth
29
+ } from "./chunk-KAO7JL4I.js";
30
30
  import {
31
31
  contrastText,
32
32
  mix,
33
33
  themeBaseBg
34
- } from "./chunk-7HWY4QAJ.js";
34
+ } from "./chunk-L24LESXF.js";
35
35
 
36
36
  // src/raci/renderer.ts
37
37
  import * as d3Selection from "d3-selection";
@@ -480,7 +480,7 @@ function setupColumnHover(svg) {
480
480
  const findRole = (target) => {
481
481
  let el = target;
482
482
  while (el && el !== node) {
483
- const r = el.getAttribute && el.getAttribute("data-role-id");
483
+ const r = el.getAttribute?.("data-role-id");
484
484
  if (r) return r;
485
485
  el = el.parentElement;
486
486
  }
@@ -9,7 +9,7 @@ import {
9
9
  stripDefaultModifier,
10
10
  tagAttrKey,
11
11
  validateTagGroupNames
12
- } from "./chunk-L5AFONQU.js";
12
+ } from "./chunk-HX2KJEPD.js";
13
13
  import {
14
14
  AliasRegistry,
15
15
  KANBAN_REGISTRY,
@@ -22,7 +22,7 @@ import {
22
22
  splitNameAndMeta,
23
23
  warnUnknownMetaKeys,
24
24
  withTagAliases
25
- } from "./chunk-44GP7PD5.js";
25
+ } from "./chunk-MPJQMMBZ.js";
26
26
  import {
27
27
  resolveColorWithDiagnostic
28
28
  } from "./chunk-2M4IGSCY.js";
@@ -332,7 +332,7 @@ function parseKanban(content, palette) {
332
332
  const groupKey = metaAliasMap.get(tagKey.toLowerCase()) ?? tagKey.toLowerCase();
333
333
  const validValues = tagValueSets.get(groupKey);
334
334
  if (validValues && !validValues.has(tagValue.toLowerCase())) {
335
- const entries = result.tagGroups.find((g) => g.name.toLowerCase() === groupKey)?.entries.map((e) => e.value);
335
+ const entries = result.tagGroups.find((g) => tagAttrKey(g.name) === groupKey)?.entries.map((e) => e.value);
336
336
  let msg = `Unknown tag value "${tagValue}" for group "${groupKey}"`;
337
337
  if (entries) {
338
338
  const hint = suggest(tagValue, entries);
@@ -10,7 +10,7 @@ import {
10
10
  renderNoteBadge,
11
11
  renderNoteBox,
12
12
  renderNoteConnector
13
- } from "./chunk-HAH5X345.js";
13
+ } from "./chunk-KATED53P.js";
14
14
  import {
15
15
  appendArrowheadMarkers
16
16
  } from "./chunk-XBJJP2HN.js";
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-XCKNFFKM.js";
30
30
  import {
31
31
  serializeSvg
32
- } from "./chunk-LD2JSKU3.js";
32
+ } from "./chunk-OOCVGX4W.js";
33
33
  import {
34
34
  TITLE_FONT_SIZE,
35
35
  TITLE_FONT_WEIGHT,
@@ -38,19 +38,19 @@ import {
38
38
  import {
39
39
  FONT_FAMILY
40
40
  } from "./chunk-ICLB27PZ.js";
41
- import {
42
- measureText
43
- } from "./chunk-KAO7JL4I.js";
44
41
  import {
45
42
  parseFlowchart
46
- } from "./chunk-JRUEIRJB.js";
43
+ } from "./chunk-SLO22FPS.js";
47
44
  import {
48
45
  fillModeFromOptions
49
- } from "./chunk-44GP7PD5.js";
46
+ } from "./chunk-MPJQMMBZ.js";
47
+ import {
48
+ measureText
49
+ } from "./chunk-KAO7JL4I.js";
50
50
  import {
51
51
  contrastText,
52
52
  shapeFill
53
- } from "./chunk-7HWY4QAJ.js";
53
+ } from "./chunk-L24LESXF.js";
54
54
 
55
55
  // src/graph/flowchart-renderer.ts
56
56
  import * as d3Selection from "d3-selection";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  layoutOrg
3
- } from "./chunk-33FQ6HNV.js";
3
+ } from "./chunk-GQVXYRPC.js";
4
4
  import {
5
5
  renderCollapseBar,
6
6
  renderNodeCard
@@ -8,6 +8,9 @@ import {
8
8
  import {
9
9
  ScaleContext
10
10
  } from "./chunk-24YPR5EH.js";
11
+ import {
12
+ renderIntegratedLegend
13
+ } from "./chunk-NJYA4QSN.js";
11
14
  import {
12
15
  CARD_RADIUS,
13
16
  COLLAPSE_BAR_HEIGHT,
@@ -28,46 +31,43 @@ import {
28
31
  import {
29
32
  extractExportSvg,
30
33
  runInExportContainer
31
- } from "./chunk-QFIXL3OK.js";
34
+ } from "./chunk-SEKNYIMO.js";
35
+ import {
36
+ getMaxLegendReservedHeight
37
+ } from "./chunk-NS7L7YKH.js";
32
38
  import {
33
39
  TITLE_FONT_SIZE,
34
40
  TITLE_FONT_WEIGHT
35
41
  } from "./chunk-VLC6WNRD.js";
36
- import {
37
- renderIntegratedLegend
38
- } from "./chunk-LHL6HDUL.js";
39
- import {
40
- getMaxLegendReservedHeight
41
- } from "./chunk-FM3WAVB6.js";
42
42
  import {
43
43
  FONT_FAMILY
44
44
  } from "./chunk-ICLB27PZ.js";
45
+ import {
46
+ parseOrg
47
+ } from "./chunk-FS2LZBHG.js";
48
+ import {
49
+ resolveTagColor,
50
+ tagAttrKey
51
+ } from "./chunk-HX2KJEPD.js";
52
+ import {
53
+ fillModeFromOptions
54
+ } from "./chunk-MPJQMMBZ.js";
45
55
  import {
46
56
  EYE_CLOSED_PATH,
47
57
  EYE_OPEN_PATH,
48
58
  LEGEND_EYE_GAP,
49
59
  LEGEND_EYE_SIZE,
50
60
  LEGEND_HEIGHT
51
- } from "./chunk-RH2PROYG.js";
61
+ } from "./chunk-I6GGMCTV.js";
52
62
  import {
53
63
  measureText
54
64
  } from "./chunk-KAO7JL4I.js";
55
- import {
56
- parseOrg
57
- } from "./chunk-FJNXXGTR.js";
58
- import {
59
- resolveTagColor,
60
- tagAttrKey
61
- } from "./chunk-L5AFONQU.js";
62
- import {
63
- fillModeFromOptions
64
- } from "./chunk-44GP7PD5.js";
65
65
  import {
66
66
  contrastText,
67
67
  groupFill,
68
68
  groupStroke,
69
69
  shapeFill
70
- } from "./chunk-7HWY4QAJ.js";
70
+ } from "./chunk-L24LESXF.js";
71
71
 
72
72
  // src/org/renderer.ts
73
73
  import * as d3Selection from "d3-selection";
@@ -9,13 +9,13 @@ import {
9
9
  tagAttrKey,
10
10
  validateTagGroupNames,
11
11
  validateTagValues
12
- } from "./chunk-L5AFONQU.js";
12
+ } from "./chunk-HX2KJEPD.js";
13
13
  import {
14
14
  extractColor,
15
15
  fillModeFromToken,
16
16
  measureIndent,
17
17
  parseFirstLine
18
- } from "./chunk-44GP7PD5.js";
18
+ } from "./chunk-MPJQMMBZ.js";
19
19
  import {
20
20
  formatDgmoError,
21
21
  makeDgmoError,
@@ -7,6 +7,9 @@ import {
7
7
  import {
8
8
  ScaleContext
9
9
  } from "./chunk-24YPR5EH.js";
10
+ import {
11
+ renderIntegratedLegend
12
+ } from "./chunk-NJYA4QSN.js";
10
13
  import {
11
14
  ARROWHEAD_HEIGHT,
12
15
  ARROWHEAD_WIDTH
@@ -16,26 +19,23 @@ import {
16
19
  TITLE_FONT_WEIGHT,
17
20
  TITLE_Y
18
21
  } from "./chunk-VLC6WNRD.js";
19
- import {
20
- renderIntegratedLegend
21
- } from "./chunk-LHL6HDUL.js";
22
22
  import {
23
23
  FONT_FAMILY
24
24
  } from "./chunk-ICLB27PZ.js";
25
+ import {
26
+ fillModeFromOptions
27
+ } from "./chunk-MPJQMMBZ.js";
25
28
  import {
26
29
  LEGEND_HEIGHT
27
- } from "./chunk-RH2PROYG.js";
30
+ } from "./chunk-I6GGMCTV.js";
28
31
  import {
29
32
  measureText,
30
33
  wrapTextToWidth
31
34
  } from "./chunk-KAO7JL4I.js";
32
- import {
33
- fillModeFromOptions
34
- } from "./chunk-44GP7PD5.js";
35
35
  import {
36
36
  contrastText,
37
37
  shapeFill
38
- } from "./chunk-7HWY4QAJ.js";
38
+ } from "./chunk-L24LESXF.js";
39
39
  import {
40
40
  resolveColor
41
41
  } from "./chunk-2M4IGSCY.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-S7W75MIM.js";
12
12
  import {
13
13
  mix
14
- } from "./chunk-7HWY4QAJ.js";
14
+ } from "./chunk-L24LESXF.js";
15
15
 
16
16
  // src/utils/note-box/svg.ts
17
17
  var NOTE_STROKE_WIDTH = 0.6;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  extractColor,
3
3
  measureIndent
4
- } from "./chunk-44GP7PD5.js";
4
+ } from "./chunk-MPJQMMBZ.js";
5
5
  import {
6
6
  makeDgmoError
7
7
  } from "./chunk-BYU54C3S.js";
@@ -275,6 +275,7 @@ export {
275
275
  valueRampStops,
276
276
  relativeLuminance,
277
277
  contrastRatio,
278
+ apcaContrast,
278
279
  contrastText,
279
280
  themeBaseBg,
280
281
  groupFill,
@@ -4,17 +4,17 @@ import {
4
4
  import {
5
5
  HEADER_HEIGHT
6
6
  } from "./chunk-XCKNFFKM.js";
7
- import {
8
- measureText,
9
- truncateText
10
- } from "./chunk-KAO7JL4I.js";
11
7
  import {
12
8
  preprocessDescriptionLine
13
9
  } from "./chunk-IYULMRBE.js";
14
10
  import {
15
11
  injectDefaultTagMetadata,
16
12
  resolveTagColor
17
- } from "./chunk-L5AFONQU.js";
13
+ } from "./chunk-HX2KJEPD.js";
14
+ import {
15
+ measureText,
16
+ truncateText
17
+ } from "./chunk-KAO7JL4I.js";
18
18
 
19
19
  // src/mindmap/text-wrap.ts
20
20
  var H_PAD = 16;
@@ -18,7 +18,7 @@ import {
18
18
  stripDefaultModifier,
19
19
  tagAttrKey,
20
20
  validateTagGroupNames
21
- } from "./chunk-L5AFONQU.js";
21
+ } from "./chunk-HX2KJEPD.js";
22
22
  import {
23
23
  AliasRegistry,
24
24
  C4_REGISTRY,
@@ -30,7 +30,7 @@ import {
30
30
  splitNameAndMeta,
31
31
  warnUnknownMetaKeys,
32
32
  withTagAliases
33
- } from "./chunk-44GP7PD5.js";
33
+ } from "./chunk-MPJQMMBZ.js";
34
34
  import {
35
35
  formatDgmoError,
36
36
  makeDgmoError,
@@ -1,13 +1,16 @@
1
1
  import {
2
2
  analyzePert
3
- } from "./chunk-MGBV4JEI.js";
3
+ } from "./chunk-EDXGEQW3.js";
4
4
  import {
5
5
  computeNodeSizing,
6
6
  layoutPert
7
- } from "./chunk-N4XHXBDQ.js";
7
+ } from "./chunk-64KSPLU2.js";
8
8
  import {
9
9
  ScaleContext
10
10
  } from "./chunk-24YPR5EH.js";
11
+ import {
12
+ renderIntegratedLegend
13
+ } from "./chunk-NJYA4QSN.js";
11
14
  import {
12
15
  ARROWHEAD_HEIGHT,
13
16
  ARROWHEAD_WIDTH,
@@ -26,10 +29,13 @@ import {
26
29
  import {
27
30
  INLINE_HEADER_PAD,
28
31
  layoutInlineHeader
29
- } from "./chunk-3DOQOXXI.js";
32
+ } from "./chunk-CNUN5GO6.js";
30
33
  import {
31
34
  serializeSvg
32
- } from "./chunk-LD2JSKU3.js";
35
+ } from "./chunk-OOCVGX4W.js";
36
+ import {
37
+ getLegendExtent
38
+ } from "./chunk-NS7L7YKH.js";
33
39
  import {
34
40
  CAPTION_BOX_PADDING_X,
35
41
  CAPTION_BOX_PADDING_Y,
@@ -41,46 +47,40 @@ import {
41
47
  TITLE_FONT_WEIGHT,
42
48
  TITLE_Y
43
49
  } from "./chunk-VLC6WNRD.js";
44
- import {
45
- renderIntegratedLegend
46
- } from "./chunk-LHL6HDUL.js";
47
- import {
48
- getLegendExtent
49
- } from "./chunk-FM3WAVB6.js";
50
50
  import {
51
51
  FONT_FAMILY
52
52
  } from "./chunk-ICLB27PZ.js";
53
- import {
54
- LEGEND_HEIGHT
55
- } from "./chunk-RH2PROYG.js";
56
- import {
57
- measureText,
58
- truncateText,
59
- wrapTextToWidth
60
- } from "./chunk-KAO7JL4I.js";
61
53
  import {
62
54
  parsePert
63
- } from "./chunk-UNNJCSSQ.js";
55
+ } from "./chunk-AAC3XQWV.js";
64
56
  import {
65
57
  addCalendarDays,
66
58
  formatDuration,
67
59
  formatScheduleValue,
68
60
  formatSlackValue,
69
61
  formatSprintCell
70
- } from "./chunk-3TYUXC7D.js";
62
+ } from "./chunk-2SKMEL7V.js";
71
63
  import {
72
64
  UNTAGGED_TAG_COLOR,
73
65
  resolveActiveTagGroup,
74
66
  resolveGroupTagColor,
75
67
  resolveTagColor
76
- } from "./chunk-L5AFONQU.js";
68
+ } from "./chunk-HX2KJEPD.js";
69
+ import {
70
+ LEGEND_HEIGHT
71
+ } from "./chunk-I6GGMCTV.js";
72
+ import {
73
+ measureText,
74
+ truncateText,
75
+ wrapTextToWidth
76
+ } from "./chunk-KAO7JL4I.js";
77
77
  import {
78
78
  contrastText,
79
79
  groupFill,
80
80
  mix,
81
81
  shapeFill,
82
82
  themeBaseBg
83
- } from "./chunk-7HWY4QAJ.js";
83
+ } from "./chunk-L24LESXF.js";
84
84
 
85
85
  // src/pert/renderer.ts
86
86
  import * as d3Selection from "d3-selection";
@@ -5,7 +5,7 @@ import {
5
5
  splitNameAndMeta,
6
6
  tryParseSharedOption,
7
7
  warnUnknownMetaKeys
8
- } from "./chunk-44GP7PD5.js";
8
+ } from "./chunk-MPJQMMBZ.js";
9
9
  import {
10
10
  makeDgmoError,
11
11
  makeFail
@@ -1,41 +1,41 @@
1
+ import {
2
+ renderIntegratedLegend
3
+ } from "./chunk-NJYA4QSN.js";
1
4
  import {
2
5
  EDGE_DASH
3
6
  } from "./chunk-XCKNFFKM.js";
4
7
  import {
5
8
  layoutInlineHeader
6
- } from "./chunk-3DOQOXXI.js";
9
+ } from "./chunk-CNUN5GO6.js";
10
+ import {
11
+ getLegendExtent,
12
+ getMaxLegendReservedHeight
13
+ } from "./chunk-NS7L7YKH.js";
7
14
  import {
8
15
  TITLE_FONT_SIZE,
9
16
  TITLE_FONT_WEIGHT,
10
17
  TITLE_Y
11
18
  } from "./chunk-VLC6WNRD.js";
12
- import {
13
- renderIntegratedLegend
14
- } from "./chunk-LHL6HDUL.js";
15
- import {
16
- getLegendExtent,
17
- getMaxLegendReservedHeight
18
- } from "./chunk-FM3WAVB6.js";
19
19
  import {
20
20
  FONT_FAMILY
21
21
  } from "./chunk-ICLB27PZ.js";
22
22
  import {
23
23
  isBlockNode
24
24
  } from "./chunk-XSVWUOUZ.js";
25
+ import {
26
+ resolveTagColor,
27
+ tagAttrKey
28
+ } from "./chunk-HX2KJEPD.js";
25
29
  import {
26
30
  LEGEND_GROUP_GAP
27
- } from "./chunk-RH2PROYG.js";
31
+ } from "./chunk-I6GGMCTV.js";
28
32
  import {
29
33
  measureText
30
34
  } from "./chunk-KAO7JL4I.js";
31
- import {
32
- resolveTagColor,
33
- tagAttrKey
34
- } from "./chunk-L5AFONQU.js";
35
35
  import {
36
36
  mix,
37
37
  themeBaseBg
38
- } from "./chunk-7HWY4QAJ.js";
38
+ } from "./chunk-L24LESXF.js";
39
39
 
40
40
  // src/block/renderer.ts
41
41
  import * as d3Selection from "d3-selection";
@@ -5,7 +5,7 @@ import {
5
5
  parseFirstLine,
6
6
  splitNameAndMeta,
7
7
  warnUnknownMetaKeys
8
- } from "./chunk-44GP7PD5.js";
8
+ } from "./chunk-MPJQMMBZ.js";
9
9
  import {
10
10
  makeDgmoError,
11
11
  makeFail,
@@ -135,6 +135,11 @@ var chartTypesData = [
135
135
  description: "GUI-first constrained canvas: uniformly-sized shapes placed freely on a snap grid, arrows between them, meaning through tags \u2014 the markup is generated by the canvas editor",
136
136
  beta: true
137
137
  },
138
+ {
139
+ id: "whiteboard",
140
+ description: "Free-form whiteboard on an infinite canvas: rectangles, ellipses, databases, queues, free arrows, text, pasted images and freehand ink at pixel positions \u2014 drawn in the canvas; AI writes shapes, arrows and text, never ink",
141
+ beta: true
142
+ },
138
143
  {
139
144
  id: "goal",
140
145
  description: "Single progress-toward-a-target value (now vs target) as a progress bar, thermometer, or gauge \u2014 KPIs, fundraising, quotas, completion"
@@ -569,6 +574,13 @@ var DIRECTIVES_REGISTRY = [
569
574
  { token: "alert", category: "control" },
570
575
  { token: "progress", category: "control" },
571
576
  { token: "mobile", category: "control" },
577
+ // Whiteboard element leaders (§39). `image` is shared with wireframe above
578
+ // and `text` stays an ER modifier; `database` / `queue` are left plain
579
+ // because sketch and sequence use them as values, not line leaders.
580
+ { token: "rectangle", category: "control" },
581
+ { token: "ellipse", category: "control" },
582
+ { token: "arrow", category: "control" },
583
+ { token: "ink", category: "control" },
572
584
  // ── Kanban status keywords (STATUS) ──────────────────────
573
585
  { token: "na", category: "status" },
574
586
  { token: "todo", category: "status" },
@@ -5,7 +5,7 @@ import {
5
5
  splitNameAndMeta,
6
6
  tryParseSharedOption,
7
7
  warnUnknownMetaKeys
8
- } from "./chunk-44GP7PD5.js";
8
+ } from "./chunk-MPJQMMBZ.js";
9
9
  import {
10
10
  makeDgmoError,
11
11
  makeFail