@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
@@ -15,18 +15,18 @@ import {
15
15
  import {
16
16
  FONT_FAMILY
17
17
  } from "./chunk-ICLB27PZ.js";
18
+ import {
19
+ fillModeFromOptions
20
+ } from "./chunk-MPJQMMBZ.js";
18
21
  import {
19
22
  CHAR_WIDTH_RATIO,
20
23
  measureText
21
24
  } from "./chunk-KAO7JL4I.js";
22
- import {
23
- fillModeFromOptions
24
- } from "./chunk-44GP7PD5.js";
25
25
  import {
26
26
  contrastText,
27
27
  getSeriesColors,
28
28
  shapeFill
29
- } from "./chunk-7HWY4QAJ.js";
29
+ } from "./chunk-L24LESXF.js";
30
30
  import {
31
31
  resolveColor
32
32
  } from "./chunk-2M4IGSCY.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";
@@ -20,7 +20,7 @@ import {
20
20
  tagAttrKey,
21
21
  validateTagGroupNames,
22
22
  validateTagValues
23
- } from "./chunk-L5AFONQU.js";
23
+ } from "./chunk-HX2KJEPD.js";
24
24
  import {
25
25
  AliasRegistry,
26
26
  ER_REGISTRY,
@@ -34,7 +34,7 @@ import {
34
34
  tryParseSharedOption,
35
35
  warnUnknownMetaKeys,
36
36
  withTagAliases
37
- } from "./chunk-44GP7PD5.js";
37
+ } from "./chunk-MPJQMMBZ.js";
38
38
  import {
39
39
  resolveColorWithDiagnostic
40
40
  } from "./chunk-2M4IGSCY.js";
@@ -244,12 +244,12 @@ function parseERDiagram(content, palette) {
244
244
  if (tagBlockMatch.alias) {
245
245
  metaAliasMap.set(
246
246
  normalizeName(tagBlockMatch.alias),
247
- tagBlockMatch.name.toLowerCase()
247
+ tagAttrKey(tagBlockMatch.name)
248
248
  );
249
249
  }
250
250
  metaAliasMap.set(
251
251
  normalizeName(tagBlockMatch.name),
252
- tagBlockMatch.name.toLowerCase()
252
+ tagAttrKey(tagBlockMatch.name)
253
253
  );
254
254
  result.tagGroups.push(currentTagGroup);
255
255
  continue;
@@ -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-HX2KJEPD.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,
@@ -475,7 +476,7 @@ function parseSequenceDgmo(content, palette) {
475
476
  }
476
477
  if (trimmed.startsWith("[")) {
477
478
  const fallbackMatch = trimmed.match(GROUP_HEADING_FALLBACK);
478
- if (fallbackMatch && fallbackMatch[1].includes("|")) {
479
+ if (fallbackMatch?.[1].includes("|")) {
479
480
  const rawInside = fallbackMatch[1];
480
481
  const pipeIdx = rawInside.indexOf("|");
481
482
  const cleanName = rawInside.substring(0, pipeIdx).trim().replace(/\([^)]*\)$/, "").trim();
@@ -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;
@@ -1,12 +1,12 @@
1
- import {
2
- measureText
3
- } from "./chunk-KAO7JL4I.js";
4
1
  import {
5
2
  formatDuration,
6
3
  formatScheduleValue,
7
4
  formatSlackValue,
8
5
  formatSprintCell
9
- } from "./chunk-3TYUXC7D.js";
6
+ } from "./chunk-2SKMEL7V.js";
7
+ import {
8
+ measureText
9
+ } from "./chunk-KAO7JL4I.js";
10
10
 
11
11
  // src/pert/layout.ts
12
12
  import dagre from "@dagrejs/dagre";
@@ -352,7 +352,8 @@ function applySwimLanes(g, resolved, _memberToGroup, collapsedGroupIds) {
352
352
  if (members.length > laneSlots[li]) laneSlots[li] = members.length;
353
353
  }
354
354
  }
355
- const slotSize = isLR ? DEFAULT_NODE_HEIGHT : g.node(g.nodes()[0])?.width ?? DEFAULT_NODE_HEIGHT;
355
+ const firstNode = g.nodes()[0];
356
+ const slotSize = isLR ? DEFAULT_NODE_HEIGHT : (firstNode === void 0 ? void 0 : g.node(firstNode)?.width) ?? DEFAULT_NODE_HEIGHT;
356
357
  const laneSize = new Array(numLanes).fill(0);
357
358
  for (let i = 1; i < numLanes; i++) {
358
359
  const slots = laneSlots[i];
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SKETCH_DIAGNOSTIC_CODES
3
- } from "./chunk-DV2VEJCC.js";
3
+ } from "./chunk-NWSPPGIE.js";
4
4
  import {
5
5
  makeDgmoError
6
6
  } from "./chunk-BYU54C3S.js";
@@ -471,7 +471,6 @@ function layoutSketch(parsed, options = {}) {
471
471
  nodes.push({
472
472
  id: unit.node.id,
473
473
  label: unit.node.label,
474
- shape: unit.node.shape,
475
474
  metadata: unit.node.metadata,
476
475
  ...unit.node.description && { description: unit.node.description },
477
476
  lineNumber: unit.node.lineNumber,
@@ -487,7 +486,6 @@ function layoutSketch(parsed, options = {}) {
487
486
  nodes.push({
488
487
  id: unit.box.id,
489
488
  label: unit.box.label,
490
- shape: "rectangle",
491
489
  metadata: unit.box.metadata,
492
490
  lineNumber: unit.box.lineNumber,
493
491
  slot: cardSpot,
@@ -509,7 +507,6 @@ function layoutSketch(parsed, options = {}) {
509
507
  nodes.push({
510
508
  id: child.node.id,
511
509
  label: child.node.label,
512
- shape: child.node.shape,
513
510
  metadata: child.node.metadata,
514
511
  ...child.node.description && {
515
512
  description: child.node.description
@@ -551,7 +548,6 @@ function layoutSketch(parsed, options = {}) {
551
548
  nodes.push({
552
549
  id: gc.node.id,
553
550
  label: gc.node.label,
554
- shape: gc.node.shape,
555
551
  metadata: gc.node.metadata,
556
552
  ...gc.node.description && { description: gc.node.description },
557
553
  boxLabel: innerBox.label,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveTagColor,
3
3
  tagAttrKey
4
- } from "./chunk-L5AFONQU.js";
4
+ } from "./chunk-HX2KJEPD.js";
5
5
  import {
6
6
  mix
7
- } from "./chunk-7HWY4QAJ.js";
7
+ } from "./chunk-L24LESXF.js";
8
8
  import {
9
9
  resolveColor
10
10
  } from "./chunk-2M4IGSCY.js";
@@ -5,9 +5,6 @@ import {
5
5
  renderInlineText,
6
6
  stripInlineMarkdown
7
7
  } from "./chunk-S7W75MIM.js";
8
- import {
9
- FONT_FAMILY
10
- } from "./chunk-ICLB27PZ.js";
11
8
  import {
12
9
  DAY_MS,
13
10
  applyOrdinalTemplate,
@@ -25,12 +22,15 @@ import {
25
22
  import {
26
23
  now
27
24
  } from "./chunk-3DPOIW3W.js";
25
+ import {
26
+ FONT_FAMILY
27
+ } from "./chunk-ICLB27PZ.js";
28
28
  import {
29
29
  contrastText,
30
30
  getSeriesColors,
31
31
  mix,
32
32
  themeBaseBg
33
- } from "./chunk-7HWY4QAJ.js";
33
+ } from "./chunk-L24LESXF.js";
34
34
  import {
35
35
  resolveColor
36
36
  } from "./chunk-2M4IGSCY.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  formatLocalISODate
3
- } from "./chunk-3TYUXC7D.js";
3
+ } from "./chunk-2SKMEL7V.js";
4
4
  import {
5
5
  parseDuration
6
6
  } from "./chunk-EQW6HOP4.js";
@@ -21,7 +21,7 @@ import {
21
21
  tagAttrKey,
22
22
  validateTagGroupNames,
23
23
  validateTagValues
24
- } from "./chunk-L5AFONQU.js";
24
+ } from "./chunk-HX2KJEPD.js";
25
25
  import {
26
26
  PERT_REGISTRY,
27
27
  extractColor,
@@ -31,7 +31,7 @@ import {
31
31
  splitNameAndMeta,
32
32
  warnUnknownMetaKeys,
33
33
  withTagAliases
34
- } from "./chunk-44GP7PD5.js";
34
+ } from "./chunk-MPJQMMBZ.js";
35
35
  import {
36
36
  emit,
37
37
  makeDgmoError,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  buildMapProjection
3
- } from "./chunk-BV6PKJUS.js";
3
+ } from "./chunk-QRIW46LR.js";
4
4
  import {
5
5
  TITLE_FONT_SIZE,
6
6
  TITLE_Y
@@ -11,7 +11,7 @@ import {
11
11
  matchTagBlockHeading,
12
12
  stripDefaultModifier,
13
13
  tagAttrKey
14
- } from "./chunk-L5AFONQU.js";
14
+ } from "./chunk-HX2KJEPD.js";
15
15
  import {
16
16
  FAMILY_PERSON_REGISTRY,
17
17
  FAMILY_UNION_REGISTRY,
@@ -26,7 +26,7 @@ import {
26
26
  tokenizeQuoteAware,
27
27
  tryParseSharedOption,
28
28
  withTagAliases
29
- } from "./chunk-44GP7PD5.js";
29
+ } from "./chunk-MPJQMMBZ.js";
30
30
  import {
31
31
  nord,
32
32
  resolveColor
@@ -15,18 +15,18 @@ import {
15
15
  import {
16
16
  FONT_FAMILY
17
17
  } from "./chunk-ICLB27PZ.js";
18
+ import {
19
+ fillModeFromOptions
20
+ } from "./chunk-MPJQMMBZ.js";
18
21
  import {
19
22
  CHAR_WIDTH_RATIO,
20
23
  measureText
21
24
  } from "./chunk-KAO7JL4I.js";
22
- import {
23
- fillModeFromOptions
24
- } from "./chunk-44GP7PD5.js";
25
25
  import {
26
26
  contrastText,
27
27
  getSeriesColors,
28
28
  shapeFill
29
- } from "./chunk-7HWY4QAJ.js";
29
+ } from "./chunk-L24LESXF.js";
30
30
  import {
31
31
  resolveColor
32
32
  } from "./chunk-2M4IGSCY.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-VLC6WNRD.js";
5
5
  import {
6
6
  LEGEND_HEIGHT
7
- } from "./chunk-RH2PROYG.js";
7
+ } from "./chunk-I6GGMCTV.js";
8
8
  import {
9
9
  measureText
10
10
  } from "./chunk-KAO7JL4I.js";
@@ -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
  JOURNEY_MAP_REGISTRY,
15
15
  OPTION_NOCOLON_RE,
@@ -20,7 +20,7 @@ import {
20
20
  splitNameAndMeta,
21
21
  warnUnknownMetaKeys,
22
22
  withTagAliases
23
- } from "./chunk-44GP7PD5.js";
23
+ } from "./chunk-MPJQMMBZ.js";
24
24
  import {
25
25
  resolveColorWithDiagnostic
26
26
  } from "./chunk-2M4IGSCY.js";
@@ -317,7 +317,7 @@ function parseJourneyMap(content, palette) {
317
317
  const groupKey = aliasMap.get(tagKey.toLowerCase()) ?? tagKey.toLowerCase();
318
318
  const validValues = tagValueSets.get(groupKey);
319
319
  if (validValues && !validValues.has(tagValue.toLowerCase())) {
320
- const entries = result.tagGroups.find((g) => g.name.toLowerCase() === groupKey)?.entries.map((e) => e.value);
320
+ const entries = result.tagGroups.find((g) => tagAttrKey(g.name) === groupKey)?.entries.map((e) => e.value);
321
321
  let msg = `Unknown tag value "${tagValue}" for group "${groupKey}"`;
322
322
  if (entries) {
323
323
  const hint = suggest(tagValue, entries);
@@ -17,7 +17,7 @@ import {
17
17
  stripDefaultModifier,
18
18
  tagAttrKey,
19
19
  validateTagGroupNames
20
- } from "./chunk-L5AFONQU.js";
20
+ } from "./chunk-HX2KJEPD.js";
21
21
  import {
22
22
  AliasRegistry,
23
23
  INFRA_BEHAVIOR_KEY_SET,
@@ -31,7 +31,7 @@ import {
31
31
  tryParseSharedOption,
32
32
  warnUnknownMetaKeys,
33
33
  withTagAliases
34
- } from "./chunk-44GP7PD5.js";
34
+ } from "./chunk-MPJQMMBZ.js";
35
35
  import {
36
36
  isRecognizedColorName
37
37
  } from "./chunk-2M4IGSCY.js";
@@ -1,19 +1,18 @@
1
1
  import {
2
2
  isTagBlockHeading
3
- } from "./chunk-L5AFONQU.js";
3
+ } from "./chunk-HX2KJEPD.js";
4
4
  import {
5
5
  OPTION_NOCOLON_RE,
6
6
  measureIndent,
7
7
  parseFirstLine,
8
8
  tryParseSharedOption
9
- } from "./chunk-44GP7PD5.js";
9
+ } from "./chunk-MPJQMMBZ.js";
10
10
  import {
11
11
  formatDgmoError,
12
12
  makeDgmoError
13
13
  } from "./chunk-BYU54C3S.js";
14
14
 
15
15
  // src/wireframe/parser.ts
16
- var KNOWN_OPTIONS = /* @__PURE__ */ new Set(["palette", "theme"]);
17
16
  var INERT_OPTIONS = {
18
17
  "active-tag": '"active-tag" does nothing on a wireframe \u2014 it has no tag groups. Element appearance comes from the trailing state keywords (primary, disabled, selected, \u2026).'
19
18
  };
@@ -517,10 +516,6 @@ function parseWireframe(content) {
517
516
  pushWarning(lineNumber, inertMsg);
518
517
  continue;
519
518
  }
520
- if (KNOWN_OPTIONS.has(key)) {
521
- options[key] = optMatch[2] || "";
522
- continue;
523
- }
524
519
  }
525
520
  if (isTagBlockHeading(trimmed)) {
526
521
  refuseTagBlock(lineNumber);
@@ -544,10 +539,6 @@ function parseWireframe(content) {
544
539
  pushWarning(lineNumber, inertMsg);
545
540
  continue;
546
541
  }
547
- if (KNOWN_OPTIONS.has(key)) {
548
- options[key] = optMatch[2] || "";
549
- continue;
550
- }
551
542
  }
552
543
  }
553
544
  if (isTagBlockHeading(trimmed)) {
@@ -11,7 +11,7 @@ import {
11
11
  tagAttrKey,
12
12
  validateTagGroupNames,
13
13
  validateTagValues
14
- } from "./chunk-L5AFONQU.js";
14
+ } from "./chunk-HX2KJEPD.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,