@diagrammo/dgmo 0.50.2 → 0.52.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 (257) hide show
  1. package/.cursorrules +15 -19
  2. package/.github/copilot-instructions.md +15 -19
  3. package/.windsurfrules +15 -19
  4. package/SKILL.md +15 -19
  5. package/dist/advanced.d.ts +155 -65
  6. package/dist/advanced.js +231 -189
  7. package/dist/{analyzer-UYKBXAKR.js → analyzer-BJ54GIFB.js} +3 -3
  8. package/dist/auto.css +31 -8
  9. package/dist/auto.d.ts +6 -0
  10. package/dist/auto.js +171 -133
  11. package/dist/auto.mjs +3062 -1478
  12. package/dist/block.css +28 -8
  13. package/dist/block.js +138 -72
  14. package/dist/charts-d3-MXEP6BNP.js +26 -0
  15. package/dist/{chunk-3YPY3OXD.js → chunk-3HF5YEFJ.js} +17 -7
  16. package/dist/{chunk-4MJ7M6YL.js → chunk-3HGU63UY.js} +14 -13
  17. package/dist/chunk-3LK5DNED.js +35 -0
  18. package/dist/{chunk-3Y2DRD7S.js → chunk-3QD7VP3U.js} +9 -4
  19. package/dist/{chunk-6BFZKBGD.js → chunk-3YRPZ7ZZ.js} +2 -2
  20. package/dist/{chunk-WW32K72E.js → chunk-44VCIPHF.js} +25 -21
  21. package/dist/{chunk-TN35C5KM.js → chunk-4AQRFDXL.js} +2 -2
  22. package/dist/{chunk-HHXOONLX.js → chunk-4B5YISOR.js} +38 -1
  23. package/dist/{chunk-PGEGPSCZ.js → chunk-4IHAV6O7.js} +2 -2
  24. package/dist/{chunk-7L3R6I3U.js → chunk-4UNQ6X24.js} +10 -7
  25. package/dist/{chunk-O7NUCTFU.js → chunk-4YFKQ5WT.js} +7 -4
  26. package/dist/{chunk-5WFIYXQ6.js → chunk-5223KXFD.js} +122 -242
  27. package/dist/{chunk-PFHVU7UA.js → chunk-5BHJZH62.js} +3 -3
  28. package/dist/{chunk-QYTPPDAO.js → chunk-5HILBT7X.js} +2 -2
  29. package/dist/{chunk-GKC3HILQ.js → chunk-5NGAO4QK.js} +27 -4
  30. package/dist/{chunk-IAEC4KLA.js → chunk-5QKQSSPO.js} +2 -2
  31. package/dist/{chunk-DSWVNQVS.js → chunk-5RP7JRVP.js} +4 -59
  32. package/dist/{chunk-MCZ5LBZD.js → chunk-5SEVICBT.js} +8 -8
  33. package/dist/{chunk-GBE54KY6.js → chunk-6EJITS44.js} +8 -5
  34. package/dist/{chunk-BBGDM4NQ.js → chunk-6HQH6JZE.js} +35 -16
  35. package/dist/{chunk-66NVRO4K.js → chunk-6LBQ7ELG.js} +17 -18
  36. package/dist/{chunk-4XK3FLFB.js → chunk-6NYWYNBI.js} +3 -3
  37. package/dist/{chunk-VBYSIOOY.js → chunk-75G3Q4DK.js} +3 -3
  38. package/dist/{chunk-3NODSS6A.js → chunk-77FGAVZC.js} +13 -10
  39. package/dist/{chunk-6IAA2QQ2.js → chunk-7BIZCTAX.js} +2 -2
  40. package/dist/{chunk-TWQUYVP3.js → chunk-7DF4J4RL.js} +4 -4
  41. package/dist/{chunk-66RUL3XF.js → chunk-7KINELPI.js} +111 -49
  42. package/dist/{chunk-L3UHP6TD.js → chunk-7L4UJOY6.js} +1 -2
  43. package/dist/{chunk-QJP6PG7F.js → chunk-7QE3XMRK.js} +19 -18
  44. package/dist/{chunk-P7CE7LXL.js → chunk-AAXZDUOV.js} +18 -17
  45. package/dist/{chunk-SXRTRMEE.js → chunk-AL672HNE.js} +3 -3
  46. package/dist/chunk-APKUAJ2L.js +220 -0
  47. package/dist/{chunk-SCHXJTZL.js → chunk-ARGMQ3H4.js} +2 -2
  48. package/dist/{chunk-HEVYAHLW.js → chunk-AUIM2NVH.js} +5 -5
  49. package/dist/{chunk-3LH5CLP4.js → chunk-BKVOYV6I.js} +143 -6
  50. package/dist/{chunk-RZ6YKEUJ.js → chunk-BPIZNB5O.js} +17 -15
  51. package/dist/{chunk-QROYX7TT.js → chunk-BPY242XU.js} +6 -4
  52. package/dist/{chunk-OTAL43EH.js → chunk-BRENJ2BQ.js} +39 -3
  53. package/dist/{chunk-FA6K3FWM.js → chunk-CCNDLW7Z.js} +44 -22
  54. package/dist/{chunk-2KGXHFYK.js → chunk-CIRFIL4M.js} +49 -29
  55. package/dist/chunk-DAOFNU6J.js +283 -0
  56. package/dist/{chunk-QJJZSROI.js → chunk-DYWQFQJP.js} +48 -38
  57. package/dist/{chunk-XEGTMVYY.js → chunk-EMLPOL77.js} +15 -8
  58. package/dist/{chunk-NWED7CYO.js → chunk-FHGVORFO.js} +29 -25
  59. package/dist/{chunk-U2HGPLZS.js → chunk-FQ7HTV52.js} +17 -2
  60. package/dist/{chunk-H73FP42Q.js → chunk-FQMUHRVC.js} +70 -31
  61. package/dist/{chunk-BTUTZMPT.js → chunk-FT3ZYWET.js} +108 -42
  62. package/dist/{chunk-T5SHNNGP.js → chunk-FUPF2UYQ.js} +92 -34
  63. package/dist/{chunk-3XPUDB7B.js → chunk-FY5MSZAP.js} +279 -39
  64. package/dist/{chunk-M5RXSRO2.js → chunk-GCYTI3DE.js} +42 -33
  65. package/dist/{chunk-DN66GPY5.js → chunk-GJFAMOGK.js} +24 -3
  66. package/dist/{chunk-F2L5GCQ4.js → chunk-GU46PPT3.js} +3 -3
  67. package/dist/{chunk-6IUAK7RZ.js → chunk-H6PI3KJT.js} +2 -2
  68. package/dist/{chunk-ONA5KPV3.js → chunk-H7KENAZO.js} +18 -14
  69. package/dist/{chunk-SQLNBA64.js → chunk-HBPDFCQY.js} +3 -3
  70. package/dist/{chunk-SCQ5VPUF.js → chunk-HFMYN6N2.js} +2 -2
  71. package/dist/{chunk-FJUNPCYI.js → chunk-HHKO6SKY.js} +2 -2
  72. package/dist/{chunk-DZXYF2F5.js → chunk-HQQNCY7W.js} +21 -8
  73. package/dist/{chunk-7TV5Y53Y.js → chunk-HWX6ZHF3.js} +3 -3
  74. package/dist/{chunk-3P2DKJCG.js → chunk-ICPJPQ5C.js} +2 -2
  75. package/dist/{chunk-VUJGMJE6.js → chunk-IM6PDDCE.js} +4 -4
  76. package/dist/{chunk-JJUOHGX2.js → chunk-INE5YJBZ.js} +13 -8
  77. package/dist/{chunk-HTMN2Z6U.js → chunk-J6QROYDA.js} +58 -11
  78. package/dist/{chunk-NX4EQS3U.js → chunk-J76PIKAT.js} +2 -2
  79. package/dist/{chunk-SVTI362O.js → chunk-J7KJR3R6.js} +129 -109
  80. package/dist/{chunk-JEUJOX5X.js → chunk-J7TLCB2Q.js} +2 -2
  81. package/dist/{chunk-O7WP4ZD4.js → chunk-JED6ZDEE.js} +2 -2
  82. package/dist/{chunk-J6K7RP6P.js → chunk-JRCOYRRH.js} +19 -7
  83. package/dist/{chunk-7QKLIMRZ.js → chunk-K2I2XOZD.js} +46 -51
  84. package/dist/{chunk-EAMEADTV.js → chunk-K4EOKJA6.js} +96 -24
  85. package/dist/{chunk-5OWVC2A6.js → chunk-KGVZ5VGH.js} +13 -10
  86. package/dist/{chunk-DFTFPYUD.js → chunk-LBMS4AW6.js} +22 -21
  87. package/dist/{chunk-VVW3F3MD.js → chunk-LGT3PZCJ.js} +27 -19
  88. package/dist/{chunk-OMNGQPEZ.js → chunk-LTXOLDUZ.js} +9 -6
  89. package/dist/{chunk-Q4V4XQWV.js → chunk-MUE65OTD.js} +5 -4
  90. package/dist/{chunk-5GJYGP5Z.js → chunk-MUVJ57EP.js} +14 -18
  91. package/dist/{chunk-CLD2OKV7.js → chunk-MX2EY5Y7.js} +2 -2
  92. package/dist/{chunk-OTQKUHRS.js → chunk-NNS4E7CW.js} +6 -4
  93. package/dist/{chunk-NNAAJVBU.js → chunk-NR5HCAUD.js} +1 -1
  94. package/dist/{chunk-KFZYNWWO.js → chunk-ONU3U4GL.js} +4 -4
  95. package/dist/{chunk-YNRDWYZP.js → chunk-OQKP2X3D.js} +170 -51
  96. package/dist/{chunk-AHGF2YYA.js → chunk-OTOHI4JO.js} +2 -2
  97. package/dist/{chunk-EOFPYPAU.js → chunk-P3NRSSUU.js} +51 -11
  98. package/dist/{chunk-QXKWYZNR.js → chunk-PRI2OD4E.js} +10 -3
  99. package/dist/{chunk-U6EQI3U6.js → chunk-QBZYACOG.js} +3 -3
  100. package/dist/{chunk-C2CVAM3U.js → chunk-QGATPIPX.js} +170 -91
  101. package/dist/{chunk-PZFVK3IH.js → chunk-QHXCAEMX.js} +8 -5
  102. package/dist/{chunk-BH3UYK36.js → chunk-QJMKPUYK.js} +15 -5
  103. package/dist/{chunk-HQCHYB5F.js → chunk-QOOUC2J5.js} +2 -2
  104. package/dist/{chunk-Z6XJQ6KO.js → chunk-QVENJMNX.js} +2 -2
  105. package/dist/{chunk-IUMPEA64.js → chunk-QZX5S6R3.js} +4 -4
  106. package/dist/{chunk-I7F2A35O.js → chunk-R3YSD62R.js} +25 -47
  107. package/dist/{chunk-NU3XLTGP.js → chunk-REJAIQ5S.js} +4 -4
  108. package/dist/{chunk-2C56LEML.js → chunk-ROOE4R4Y.js} +8 -5
  109. package/dist/{chunk-XHVV4NVW.js → chunk-RT7ACF77.js} +12 -2
  110. package/dist/{chunk-I2WKW7C7.js → chunk-SMRFPVLQ.js} +3 -3
  111. package/dist/{chunk-VDOOQZUD.js → chunk-SWSIKFEB.js} +4 -4
  112. package/dist/{chunk-HLJVEAOF.js → chunk-T4A4TSTJ.js} +19 -45
  113. package/dist/{chunk-KHEYDLMT.js → chunk-TJVLKNGR.js} +20 -10
  114. package/dist/{chunk-GL5UZ6NY.js → chunk-TPFKKXCB.js} +3 -3
  115. package/dist/{chunk-X6EZPSW6.js → chunk-TTIM6YTT.js} +31 -21
  116. package/dist/{chunk-BCYVE3N5.js → chunk-TYS6CSS5.js} +2 -2
  117. package/dist/{chunk-T4VOVZT5.js → chunk-UBLHQTLV.js} +15 -14
  118. package/dist/{chunk-3LKM6FMW.js → chunk-UNURMIQO.js} +2 -2
  119. package/dist/{chunk-TSA237IM.js → chunk-VILVLS7P.js} +5 -3
  120. package/dist/{chunk-HGN652MU.js → chunk-VL2O2F3W.js} +2 -2
  121. package/dist/{chunk-3XGZF2QJ.js → chunk-VQOCMUWI.js} +39 -28
  122. package/dist/{chunk-P6T66CCZ.js → chunk-WBM7ZNDI.js} +3 -2
  123. package/dist/{chunk-CMCR5WBW.js → chunk-WBRZJOEC.js} +3 -3
  124. package/dist/{chunk-5LWQH6QV.js → chunk-WCT3NYCV.js} +1 -1
  125. package/dist/{chunk-C4GQDB5L.js → chunk-WRNFDFPU.js} +2 -2
  126. package/dist/{chunk-6HJBFVLO.js → chunk-XD6ZYURY.js} +9 -4
  127. package/dist/{chunk-C63UWAKM.js → chunk-Y2ZE3MSG.js} +2 -2
  128. package/dist/{chunk-7UEMZREK.js → chunk-YAA6IID3.js} +2 -2
  129. package/dist/{chunk-F7BFXWNQ.js → chunk-YIBAWQGJ.js} +7 -4
  130. package/dist/{chunk-PH5X4GIP.js → chunk-YTMTPUH4.js} +8 -5
  131. package/dist/{chunk-3UIKSPFB.js → chunk-Z5QVYKR7.js} +11 -3
  132. package/dist/{chunk-KQ57MHRO.js → chunk-ZEF5M5MB.js} +155 -87
  133. package/dist/{chunk-LE4MYMLI.js → chunk-ZJV7GYR4.js} +6 -6
  134. package/dist/{chunk-XJLKLU4D.js → chunk-ZNWAYU6N.js} +11 -7
  135. package/dist/cli.cjs +165 -148
  136. package/dist/clock.js +105 -25
  137. package/dist/countdown.js +208 -82
  138. package/dist/dgmo-router-X7ZGAPIE.js +86 -0
  139. package/dist/dimensions-45H6JQEY.js +22 -0
  140. package/dist/editor.js +17 -2
  141. package/dist/element.d.ts +6 -0
  142. package/dist/element.js +172 -134
  143. package/dist/element.mjs +3026 -1463
  144. package/dist/{flowchart-parser-OE4WHLTF.js → flowchart-parser-UKELHBSB.js} +4 -4
  145. package/dist/{flowchart-renderer-GPCSMTOR.js → flowchart-renderer-MNCDS7MV.js} +10 -10
  146. package/dist/highlight.d.ts +21 -1
  147. package/dist/highlight.js +106 -3
  148. package/dist/index.d.ts +2 -2
  149. package/dist/index.js +59 -57
  150. package/dist/{layout-FWODLIMP.js → layout-2L3WMRYU.js} +6 -6
  151. package/dist/{layout-7SKMFYHL.js → layout-46N4JJYK.js} +5 -5
  152. package/dist/{layout-7H4H46CS.js → layout-7QXCNOVS.js} +3 -3
  153. package/dist/layout-A4XWNVID.js +14 -0
  154. package/dist/{layout-46366KBT.js → layout-A5UHRWVH.js} +3 -3
  155. package/dist/{layout-NXG63LWH.js → layout-AM2JWW3X.js} +4 -4
  156. package/dist/{layout-DC4TVXER.js → layout-EE6GE46Y.js} +5 -5
  157. package/dist/{layout-FGQWRYYW.js → layout-F4WO357A.js} +3 -3
  158. package/dist/layout-G23F7LDH.js +9 -0
  159. package/dist/{layout-QNUQLEHU.js → layout-GM4UGR7B.js} +5 -4
  160. package/dist/{layout-7MZ5NF2N.js → layout-GQQJXNYH.js} +5 -5
  161. package/dist/{layout-5BG6DFCU.js → layout-IIE2S5FK.js} +6 -6
  162. package/dist/{layout-34CLNICW.js → layout-OAC4PEAC.js} +5 -5
  163. package/dist/layout-VMCRX66I.js +14 -0
  164. package/dist/{layout-PUQCB6AN.js → layout-ZDOSXL5G.js} +7 -7
  165. package/dist/{layout-search-QS44PI5R.js → layout-search-55FU6HD3.js} +6 -157
  166. package/dist/map-data/gazetteer.json +1 -1
  167. package/dist/{palettes-PRJ2RI6D.js → palettes-UDLZ2SA4.js} +2 -2
  168. package/dist/{parser-D5VILGN2.js → parser-2ECN6JA2.js} +4 -4
  169. package/dist/{parser-LWKKBNSA.js → parser-4WTIHM5J.js} +3 -3
  170. package/dist/{parser-DFFEDKHH.js → parser-5H2BTSJQ.js} +3 -3
  171. package/dist/{parser-4NO6VZ6S.js → parser-75KVXUNS.js} +4 -4
  172. package/dist/{parser-VKOJM7KS.js → parser-774AC53T.js} +4 -4
  173. package/dist/{parser-IBWNAPY4.js → parser-BE4YCSRU.js} +3 -3
  174. package/dist/{parser-4AI5ZN5F.js → parser-CNGUQUQI.js} +3 -3
  175. package/dist/{parser-36HVKU5U.js → parser-DEUUSQIN.js} +7 -6
  176. package/dist/{parser-H3XEPFPV.js → parser-DQAFLUJB.js} +4 -4
  177. package/dist/{parser-5OXGPNBF.js → parser-EYCKNKQA.js} +5 -5
  178. package/dist/{parser-TGQZJ5OT.js → parser-FXISIU6A.js} +4 -4
  179. package/dist/{parser-JJR52VAT.js → parser-GTB4XC7P.js} +5 -5
  180. package/dist/{parser-AGVYTQXV.js → parser-GVEPAUSD.js} +4 -4
  181. package/dist/{parser-WAV5JRPT.js → parser-HSQGTY4G.js} +4 -4
  182. package/dist/{parser-YS7TOS2K.js → parser-HVKRINUS.js} +3 -3
  183. package/dist/{parser-W4PQUGX3.js → parser-J5MIEYO4.js} +5 -5
  184. package/dist/parser-KMZIXLDZ.js +13 -0
  185. package/dist/{parser-HYRTF3DO.js → parser-LJHXWSXU.js} +3 -3
  186. package/dist/{parser-KCR2WS3V.js → parser-PT3W72G5.js} +4 -4
  187. package/dist/{parser-CVMEDULU.js → parser-SBJQDPHL.js} +4 -4
  188. package/dist/{parser-RZPVAQVX.js → parser-SUWWWCMX.js} +4 -3
  189. package/dist/{parser-TXND652E.js → parser-SXDRNZOA.js} +4 -4
  190. package/dist/parser-UMILOW3M.js +14 -0
  191. package/dist/{parser-RV4M6AS2.js → parser-UP3AZ367.js} +4 -4
  192. package/dist/{parser-IJBMRXMC.js → parser-WHPRV3X5.js} +5 -5
  193. package/dist/{parser-MPCE5JBG.js → parser-WX3UODSJ.js} +4 -4
  194. package/dist/{parser-K3XXLMUW.js → parser-XCIEN3KN.js} +4 -4
  195. package/dist/{parser-AXKBDGNO.js → parser-XIRTUMVN.js} +5 -5
  196. package/dist/{parser-B5FVS7O6.js → parser-YKCGIG45.js} +3 -3
  197. package/dist/{parser-PSA4UBSP.js → parser-YKYMQG3B.js} +4 -4
  198. package/dist/{parser-MTOMTWTD.js → parser-ZGM2OJ6Y.js} +6 -5
  199. package/dist/{parser-CSFUN3CT.js → parser-ZL5QUFVH.js} +5 -4
  200. package/dist/pert.d.ts +2 -2
  201. package/dist/{renderer-PPIHO5FI.js → renderer-3F7OS2AX.js} +14 -13
  202. package/dist/{renderer-SBS3YWU5.js → renderer-4QB4K7Q3.js} +9 -9
  203. package/dist/{renderer-GHPZMFU2.js → renderer-5DAKMIU2.js} +3 -3
  204. package/dist/{renderer-R2WNIC2C.js → renderer-5H4SY7YY.js} +9 -9
  205. package/dist/{renderer-DAXMXIKD.js → renderer-5PIQPFOX.js} +5 -4
  206. package/dist/{renderer-45PSOL3E.js → renderer-6MU37QF5.js} +6 -6
  207. package/dist/renderer-AQVMWJ4M.js +27 -0
  208. package/dist/{renderer-A5VE5BCI.js → renderer-BDDW6K7N.js} +9 -9
  209. package/dist/{renderer-AUW2BE6G.js → renderer-BNB3VIDY.js} +10 -10
  210. package/dist/{renderer-4ITCHBT7.js → renderer-CQY6ATOS.js} +6 -6
  211. package/dist/{renderer-6OKF44KS.js → renderer-CVW75CXL.js} +15 -15
  212. package/dist/{renderer-7RH2SI3B.js → renderer-DT4XRFEP.js} +5 -4
  213. package/dist/{renderer-B5TBNZJE.js → renderer-ERHBSTQT.js} +9 -9
  214. package/dist/{renderer-HVCU2C3Z.js → renderer-HSHHVYWF.js} +5 -4
  215. package/dist/renderer-IDPVUFNB.js +28 -0
  216. package/dist/renderer-ILX6BGKR.js +21 -0
  217. package/dist/renderer-JP663HKG.js +22 -0
  218. package/dist/{renderer-KS7YZJE2.js → renderer-KNFTTOBL.js} +11 -11
  219. package/dist/{renderer-2AZ5HJFK.js → renderer-MVUZBESR.js} +5 -5
  220. package/dist/{renderer-QAOBLRXV.js → renderer-N4EBR2FV.js} +11 -11
  221. package/dist/{renderer-P5ROYQGU.js → renderer-NHO46CT2.js} +4 -4
  222. package/dist/{renderer-NGXZTRK6.js → renderer-NO2QJ5LZ.js} +10 -10
  223. package/dist/{renderer-FPE3J5VZ.js → renderer-OGFV5RXX.js} +12 -12
  224. package/dist/{renderer-ODUUOPVT.js → renderer-PDLESJMS.js} +15 -15
  225. package/dist/renderer-T4MTNINC.js +24 -0
  226. package/dist/renderer-TOUGFGTM.js +24 -0
  227. package/dist/{renderer-BSR2O2H6.js → renderer-U3KPD43Y.js} +14 -13
  228. package/dist/{renderer-JCCHNECZ.js → renderer-X334IJU2.js} +10 -10
  229. package/dist/{renderer-5DSEWF74.js → renderer-Y5OAMOCR.js} +9 -9
  230. package/dist/{renderer-5KVCNMOJ.js → renderer-YONAKAJU.js} +5 -3
  231. package/dist/{renderer-7SD6MSBS.js → renderer-YWMI6Y2U.js} +12 -12
  232. package/dist/{renderer-2QPMJ2DA.js → renderer-ZWIH4WDW.js} +10 -10
  233. package/dist/renderer-radial-7CGZMVMS.js +21 -0
  234. package/dist/{resolver-FHBCO3PL.js → resolver-EMTGNR3D.js} +4 -3
  235. package/dist/{state-parser-3REXRK3R.js → state-parser-BATWAID2.js} +4 -4
  236. package/dist/{state-renderer-XYLNRWXR.js → state-renderer-3FKZJ3LP.js} +10 -10
  237. package/dist/{themes-PdPR1-hC.d.ts → themes-32xj5ZTW.d.ts} +27 -0
  238. package/docs/ai-integration.md +15 -19
  239. package/docs/language-reference.md +106 -21
  240. package/gallery/fixtures/clock.dgmo +3 -3
  241. package/gallery/fixtures/countdown-tz.dgmo +5 -0
  242. package/package.json +1 -1
  243. package/dist/charts-d3-MUW3LTML.js +0 -26
  244. package/dist/dgmo-router-CE2G67FV.js +0 -84
  245. package/dist/dimensions-OTBKC5M6.js +0 -22
  246. package/dist/layout-6RDJHS6E.js +0 -9
  247. package/dist/layout-J36454XU.js +0 -14
  248. package/dist/layout-LD6XTLD6.js +0 -14
  249. package/dist/parser-4WQQQXCG.js +0 -13
  250. package/dist/parser-O4HIUN6G.js +0 -13
  251. package/dist/renderer-CYB4LK3G.js +0 -22
  252. package/dist/renderer-FF24KZCI.js +0 -24
  253. package/dist/renderer-FYSVXL7M.js +0 -28
  254. package/dist/renderer-HDCCZURL.js +0 -24
  255. package/dist/renderer-PSMMZCKH.js +0 -21
  256. package/dist/renderer-UYMQQCJK.js +0 -24
  257. package/dist/renderer-radial-F7X5F2VU.js +0 -21
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-BMR4CIEO.js";
13
13
  import {
14
14
  measureText
15
- } from "./chunk-5LWQH6QV.js";
15
+ } from "./chunk-WCT3NYCV.js";
16
16
 
17
17
  // src/utils/note-box/metrics.ts
18
18
  function normalizeBulletLine(line) {
@@ -49,4 +49,4 @@ export {
49
49
  wrapNoteBody,
50
50
  noteBoxSize
51
51
  };
52
- //# sourceMappingURL=chunk-BCYVE3N5.js.map
52
+ //# sourceMappingURL=chunk-TYS6CSS5.js.map
@@ -7,10 +7,10 @@ import {
7
7
  } from "./chunk-YYVTBZZC.js";
8
8
  import {
9
9
  renderIntegratedLegend
10
- } from "./chunk-HEVYAHLW.js";
10
+ } from "./chunk-AUIM2NVH.js";
11
11
  import {
12
12
  getMaxLegendReservedHeight
13
- } from "./chunk-7UEMZREK.js";
13
+ } from "./chunk-YAA6IID3.js";
14
14
  import {
15
15
  FONT_FAMILY
16
16
  } from "./chunk-6KFWC4CO.js";
@@ -18,12 +18,15 @@ import {
18
18
  measureText,
19
19
  truncateText,
20
20
  wrapTextToWidth
21
- } from "./chunk-5LWQH6QV.js";
21
+ } from "./chunk-WCT3NYCV.js";
22
22
  import {
23
23
  contrastText,
24
24
  mix,
25
25
  shapeFill
26
- } from "./chunk-P6T66CCZ.js";
26
+ } from "./chunk-WBM7ZNDI.js";
27
+ import {
28
+ fillModeFromOptions
29
+ } from "./chunk-BRENJ2BQ.js";
27
30
 
28
31
  // src/tech-radar/renderer.ts
29
32
  import * as d3Selection2 from "d3-selection";
@@ -440,7 +443,7 @@ function clearDim(root) {
440
443
  function renderHtmlPanel(panel, parsed, quadrant, qColor, palette, isDark, rootContainer, onClickItem) {
441
444
  const ringOrder = parsed.rings.map((r) => r.name);
442
445
  const fillColor = shapeFill(palette, qColor, isDark, {
443
- solid: parsed.options["solid-fill"] === "on"
446
+ mode: fillModeFromOptions(parsed.options)
444
447
  });
445
448
  let expandedLineNum = null;
446
449
  function render() {
@@ -819,7 +822,7 @@ function renderQuarterCircleStatic(svg, parsed, quadrant, qColor, palette, isDar
819
822
  function renderStaticHtmlPanel(panel, parsed, quadrant, qColor, palette, isDark) {
820
823
  const ringOrder = parsed.rings.map((r) => r.name);
821
824
  const fillColor = shapeFill(palette, qColor, isDark, {
822
- solid: parsed.options["solid-fill"] === "on"
825
+ mode: fillModeFromOptions(parsed.options)
823
826
  });
824
827
  for (const ringName of ringOrder) {
825
828
  const blips = quadrant.blips.filter((b) => b.ring === ringName);
@@ -1173,7 +1176,7 @@ function renderTechRadar(container, parsed, palette, isDark, onClickItem, export
1173
1176
  // Tech-radar opts out of solid-fill: blip popover stays in tinted
1174
1177
  // form so it reads consistently against the radar bg regardless of
1175
1178
  // the diagram's option setting.
1176
- false
1179
+ void 0
1177
1180
  );
1178
1181
  showBlipHighlight(lineNum, bx, by, blipGroup);
1179
1182
  }).on("mousemove", (event) => {
@@ -1202,7 +1205,7 @@ function renderTechRadar(container, parsed, palette, isDark, onClickItem, export
1202
1205
  // Tech-radar opts out of solid-fill: blip popover stays in tinted
1203
1206
  // form so it reads consistently against the radar bg regardless of
1204
1207
  // the diagram's option setting.
1205
- false
1208
+ void 0
1206
1209
  );
1207
1210
  popover.style.pointerEvents = "auto";
1208
1211
  showBlipHighlight(lineNum, bx, by, blipGroup);
@@ -1246,7 +1249,7 @@ function renderTechRadar(container, parsed, palette, isDark, onClickItem, export
1246
1249
  // Tech-radar opts out of solid-fill: blip popover stays in tinted
1247
1250
  // form so it reads consistently against the radar bg regardless of
1248
1251
  // the diagram's option setting.
1249
- false
1252
+ void 0
1250
1253
  );
1251
1254
  }
1252
1255
  const lineNum = String(blip.lineNumber);
@@ -1440,10 +1443,8 @@ function createBlipPopover(container, _palette, isDark) {
1440
1443
  container.appendChild(el);
1441
1444
  return el;
1442
1445
  }
1443
- function showBlipPopover(popover, blip, qColor, palette, isDark, event, solid) {
1444
- const fillColor = shapeFill(palette, qColor, isDark, {
1445
- ...solid !== void 0 && { solid }
1446
- });
1446
+ function showBlipPopover(popover, blip, qColor, palette, isDark, event, fillMode) {
1447
+ const fillColor = shapeFill(palette, qColor, isDark, { mode: fillMode });
1447
1448
  const hasDesc = blip.description.length > 0;
1448
1449
  const onFillText = contrastText(
1449
1450
  fillColor,
@@ -1601,4 +1602,4 @@ export {
1601
1602
  renderTechRadar,
1602
1603
  renderTechRadarForExport
1603
1604
  };
1604
- //# sourceMappingURL=chunk-T4VOVZT5.js.map
1605
+ //# sourceMappingURL=chunk-UBLHQTLV.js.map
@@ -5,7 +5,7 @@ import {
5
5
  splitNameAndMeta,
6
6
  tryParseSharedOption,
7
7
  warnUnknownMetaKeys
8
- } from "./chunk-OTAL43EH.js";
8
+ } from "./chunk-BRENJ2BQ.js";
9
9
  import {
10
10
  RECOGNIZED_COLOR_NAMES,
11
11
  resolveColor
@@ -165,4 +165,4 @@ function parseRing(content) {
165
165
  export {
166
166
  parseRing
167
167
  };
168
- //# sourceMappingURL=chunk-3LKM6FMW.js.map
168
+ //# sourceMappingURL=chunk-UNURMIQO.js.map
@@ -5,7 +5,7 @@ import {
5
5
  parseFirstLine,
6
6
  splitNameAndMeta,
7
7
  warnUnknownMetaKeys
8
- } from "./chunk-OTAL43EH.js";
8
+ } from "./chunk-BRENJ2BQ.js";
9
9
  import {
10
10
  makeDgmoError,
11
11
  makeFail,
@@ -29,7 +29,9 @@ var POSITION_ORDER = [
29
29
  var KNOWN_OPTIONS = /* @__PURE__ */ new Set([]);
30
30
  var KNOWN_BOOLEANS = /* @__PURE__ */ new Set([
31
31
  "show-blip-legend",
32
- "solid-fill",
32
+ "fill-tint",
33
+ "fill-solid",
34
+ "fill-outline",
33
35
  "no-title"
34
36
  ]);
35
37
  function parseTechRadar(content) {
@@ -332,4 +334,4 @@ function assignGlobalNumbers(result) {
332
334
  export {
333
335
  parseTechRadar
334
336
  };
335
- //# sourceMappingURL=chunk-TSA237IM.js.map
337
+ //# sourceMappingURL=chunk-VILVLS7P.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  measureText
3
- } from "./chunk-5LWQH6QV.js";
3
+ } from "./chunk-WCT3NYCV.js";
4
4
 
5
5
  // src/label-layout.ts
6
6
  function rectsOverlap(a, b) {
@@ -221,4 +221,4 @@ export {
221
221
  segmentsCross,
222
222
  computeQuadrantPointLabels
223
223
  };
224
- //# sourceMappingURL=chunk-HGN652MU.js.map
224
+ //# sourceMappingURL=chunk-VL2O2F3W.js.map
@@ -9,10 +9,10 @@ import {
9
9
  } from "./chunk-YYVTBZZC.js";
10
10
  import {
11
11
  renderIntegratedLegend
12
- } from "./chunk-HEVYAHLW.js";
12
+ } from "./chunk-AUIM2NVH.js";
13
13
  import {
14
14
  getMaxLegendReservedHeight
15
- } from "./chunk-7UEMZREK.js";
15
+ } from "./chunk-YAA6IID3.js";
16
16
  import {
17
17
  TITLE_FONT_SIZE,
18
18
  TITLE_FONT_WEIGHT,
@@ -24,22 +24,25 @@ import {
24
24
  import {
25
25
  measureText,
26
26
  truncateText
27
- } from "./chunk-5LWQH6QV.js";
27
+ } from "./chunk-WCT3NYCV.js";
28
28
  import {
29
29
  contrastText,
30
30
  mix,
31
31
  shapeFill,
32
32
  themeBaseBg
33
- } from "./chunk-P6T66CCZ.js";
33
+ } from "./chunk-WBM7ZNDI.js";
34
34
  import {
35
35
  isSequenceBlock,
36
36
  isSequenceNote,
37
37
  isSequenceSection
38
- } from "./chunk-BH3UYK36.js";
38
+ } from "./chunk-QJMKPUYK.js";
39
39
  import {
40
40
  resolveActiveTagGroup,
41
41
  tagAttrKey
42
- } from "./chunk-FJUNPCYI.js";
42
+ } from "./chunk-HHKO6SKY.js";
43
+ import {
44
+ fillModeFromOptions
45
+ } from "./chunk-BRENJ2BQ.js";
43
46
 
44
47
  // src/sequence/renderer.ts
45
48
  import * as d3Selection from "d3-selection";
@@ -286,15 +289,13 @@ function wrapLabelWords(words, maxWidth, fontSize) {
286
289
  if (current) lines.push(current);
287
290
  return lines;
288
291
  }
289
- var fill = (palette, isDark, color, solid) => color ? shapeFill(palette, color, isDark, {
290
- ...solid !== void 0 && { solid }
291
- }) : isDark ? mix(palette.overlay, palette.surface, 50) : mix(palette.bg, palette.surface, 50);
292
+ var fill = (palette, isDark, color, fillMode) => color ? shapeFill(palette, color, isDark, { mode: fillMode }) : isDark ? mix(palette.overlay, palette.surface, 50) : mix(palette.bg, palette.surface, 50);
292
293
  var stroke = (palette, color) => color || palette.border;
293
294
  var SW = 1.5;
294
295
  var W = PARTICIPANT_BOX_WIDTH;
295
296
  var H = PARTICIPANT_BOX_HEIGHT;
296
- function renderRectParticipant(g, palette, isDark, color, solid, w = W, h = H) {
297
- g.append("rect").attr("x", -w / 2).attr("y", 0).attr("width", w).attr("height", h).attr("rx", 2).attr("ry", 2).attr("fill", fill(palette, isDark, color, solid)).attr("stroke", stroke(palette, color)).attr("stroke-width", SW);
297
+ function renderRectParticipant(g, palette, isDark, color, fillMode, w = W, h = H) {
298
+ g.append("rect").attr("x", -w / 2).attr("y", 0).attr("width", w).attr("height", h).attr("rx", 2).attr("ry", 2).attr("fill", fill(palette, isDark, color, fillMode)).attr("stroke", stroke(palette, color)).attr("stroke-width", SW);
298
299
  }
299
300
  function renderActorParticipant(g, palette, color, h = H) {
300
301
  const sc = h / H;
@@ -315,11 +316,11 @@ function renderActorParticipant(g, palette, color, h = H) {
315
316
  g.append("line").attr("x1", cx).attr("y1", bodyBottomY).attr("x2", cx - legSpan).attr("y2", legY).attr("stroke", s).attr("stroke-width", actorSW);
316
317
  g.append("line").attr("x1", cx).attr("y1", bodyBottomY).attr("x2", cx + legSpan).attr("y2", legY).attr("stroke", s).attr("stroke-width", actorSW);
317
318
  }
318
- function renderDatabaseParticipant(g, palette, isDark, color, solid, w = W, h = H) {
319
+ function renderDatabaseParticipant(g, palette, isDark, color, fillMode, w = W, h = H) {
319
320
  const ry = 7;
320
321
  const topY = ry;
321
322
  const bodyH = h - ry * 2;
322
- const f = fill(palette, isDark, color, solid);
323
+ const f = fill(palette, isDark, color, fillMode);
323
324
  const s = stroke(palette, color);
324
325
  g.append("ellipse").attr("cx", 0).attr("cy", topY + bodyH).attr("rx", w / 2).attr("ry", ry).attr("fill", f).attr("stroke", s).attr("stroke-width", SW);
325
326
  g.append("rect").attr("class", "participant-body").attr("x", -w / 2).attr("y", topY).attr("width", w).attr("height", bodyH).attr("fill", f).attr("stroke", "none");
@@ -327,11 +328,11 @@ function renderDatabaseParticipant(g, palette, isDark, color, solid, w = W, h =
327
328
  g.append("line").attr("x1", w / 2).attr("y1", topY).attr("x2", w / 2).attr("y2", topY + bodyH).attr("stroke", s).attr("stroke-width", SW);
328
329
  g.append("ellipse").attr("cx", 0).attr("cy", topY).attr("rx", w / 2).attr("ry", ry).attr("fill", f).attr("stroke", s).attr("stroke-width", SW);
329
330
  }
330
- function renderQueueParticipant(g, palette, isDark, color, solid, w = W, h = H) {
331
+ function renderQueueParticipant(g, palette, isDark, color, fillMode, w = W, h = H) {
331
332
  const rx = 10;
332
333
  const leftX = -w / 2 + rx;
333
334
  const bodyW = w - rx * 2;
334
- const f = fill(palette, isDark, color, solid);
335
+ const f = fill(palette, isDark, color, fillMode);
335
336
  const s = stroke(palette, color);
336
337
  g.append("ellipse").attr("cx", leftX + bodyW).attr("cy", h / 2).attr("rx", rx).attr("ry", h / 2).attr("fill", f).attr("stroke", s).attr("stroke-width", SW);
337
338
  g.append("rect").attr("class", "participant-body").attr("x", leftX).attr("y", 0).attr("width", bodyW).attr("height", h).attr("fill", f).attr("stroke", "none");
@@ -339,11 +340,11 @@ function renderQueueParticipant(g, palette, isDark, color, solid, w = W, h = H)
339
340
  g.append("line").attr("x1", leftX).attr("y1", h).attr("x2", leftX + bodyW).attr("y2", h).attr("stroke", s).attr("stroke-width", SW);
340
341
  g.append("ellipse").attr("cx", leftX).attr("cy", h / 2).attr("rx", rx).attr("ry", h / 2).attr("fill", f).attr("stroke", s).attr("stroke-width", SW);
341
342
  }
342
- function renderCacheParticipant(g, palette, isDark, color, solid, w = W, h = H) {
343
+ function renderCacheParticipant(g, palette, isDark, color, fillMode, w = W, h = H) {
343
344
  const ry = 7;
344
345
  const topY = ry;
345
346
  const bodyH = h - ry * 2;
346
- const f = fill(palette, isDark, color, solid);
347
+ const f = fill(palette, isDark, color, fillMode);
347
348
  const s = stroke(palette, color);
348
349
  const dash = "4 3";
349
350
  g.append("ellipse").attr("cx", 0).attr("cy", topY + bodyH).attr("rx", w / 2).attr("ry", ry).attr("fill", f).attr("stroke", s).attr("stroke-width", SW).attr("stroke-dasharray", dash);
@@ -586,7 +587,7 @@ function applyGroupOrdering(participants, groups, messages = []) {
586
587
  function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateToLine, options) {
587
588
  d3Selection.select(container).selectAll("*").remove();
588
589
  const { title, options: parsedOptions } = parsed;
589
- const solid = parsedOptions["solid-fill"] === "on";
590
+ const fillMode = fillModeFromOptions(parsedOptions);
590
591
  const effectiveCollapsedGroups = options?.collapsedGroups ? new Set(options.collapsedGroups) : new Set(
591
592
  parsed.groups.filter((g) => g.collapsed).map((g) => g.lineNumber)
592
593
  );
@@ -1146,7 +1147,7 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
1146
1147
  }
1147
1148
  let rightMargin = Math.max(rightProjection + 10, sGap / 2);
1148
1149
  let leftMargin = sGap / 2;
1149
- const diagramWidth = participants.length * sGap;
1150
+ const diagramWidth = Math.max(0, participants.length - 1) * sGap;
1150
1151
  let totalWidth = Math.max(
1151
1152
  leftMargin + diagramWidth + rightMargin,
1152
1153
  sBoxW + 40
@@ -1327,7 +1328,7 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
1327
1328
  isDark,
1328
1329
  effectiveTagColor,
1329
1330
  pTagAttr,
1330
- solid,
1331
+ fillMode,
1331
1332
  sBoxW,
1332
1333
  sBoxH,
1333
1334
  sLabelTextWidth,
@@ -1551,7 +1552,9 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
1551
1552
  const actTagColor = getTagColor(actTagValue);
1552
1553
  const actBaseColor = actTagColor || palette.primary;
1553
1554
  svg.append("rect").attr("x", x).attr("y", y1).attr("width", sActivationWidth).attr("height", y2 - y1).attr("fill", themeBaseBg(palette, isDark));
1554
- const actFill = shapeFill(palette, actBaseColor, isDark, { solid });
1555
+ const actFill = shapeFill(palette, actBaseColor, isDark, {
1556
+ mode: fillMode
1557
+ });
1555
1558
  const actRect = svg.append("rect").attr("x", x).attr("y", y1).attr("width", sActivationWidth).attr("height", y2 - y1).attr("fill", actFill).attr("stroke", actBaseColor).attr("stroke-width", 1).attr("stroke-opacity", 0.5).attr("data-participant-id", act.participantId).attr("data-msg-lines", coveredLines.join(",")).attr("data-line-number", coveredLines[0] ?? "").attr("class", "activation");
1556
1559
  if (tagKey && actTagValue) {
1557
1560
  actRect.attr(`data-tag-${tagKey}`, actTagValue.toLowerCase());
@@ -1789,7 +1792,7 @@ function buildNoteMessageMap(elements) {
1789
1792
  walk(elements);
1790
1793
  return map;
1791
1794
  }
1792
- function renderParticipant(svg, participant, cx, cy, palette, isDark, color, tagAttr, solid, boxW = W, boxH = H, labelTextW = labelTextWidth(W), labelFontSize = LABEL_FONT_SIZE) {
1795
+ function renderParticipant(svg, participant, cx, cy, palette, isDark, color, tagAttr, fillMode, boxW = W, boxH = H, labelTextW = labelTextWidth(W), labelFontSize = LABEL_FONT_SIZE) {
1793
1796
  const g = svg.append("g").attr("transform", `translate(${cx}, ${cy})`).attr("class", "participant").attr("data-participant-id", participant.id);
1794
1797
  if (tagAttr) {
1795
1798
  g.attr(`data-tag-${tagAttr.key}`, tagAttr.value);
@@ -1799,16 +1802,24 @@ function renderParticipant(svg, participant, cx, cy, palette, isDark, color, tag
1799
1802
  renderActorParticipant(g, palette, color, boxH);
1800
1803
  break;
1801
1804
  case "database":
1802
- renderDatabaseParticipant(g, palette, isDark, color, solid, boxW, boxH);
1805
+ renderDatabaseParticipant(
1806
+ g,
1807
+ palette,
1808
+ isDark,
1809
+ color,
1810
+ fillMode,
1811
+ boxW,
1812
+ boxH
1813
+ );
1803
1814
  break;
1804
1815
  case "queue":
1805
- renderQueueParticipant(g, palette, isDark, color, solid, boxW, boxH);
1816
+ renderQueueParticipant(g, palette, isDark, color, fillMode, boxW, boxH);
1806
1817
  break;
1807
1818
  case "cache":
1808
- renderCacheParticipant(g, palette, isDark, color, solid, boxW, boxH);
1819
+ renderCacheParticipant(g, palette, isDark, color, fillMode, boxW, boxH);
1809
1820
  break;
1810
1821
  default:
1811
- renderRectParticipant(g, palette, isDark, color, solid, boxW, boxH);
1822
+ renderRectParticipant(g, palette, isDark, color, fillMode, boxW, boxH);
1812
1823
  break;
1813
1824
  }
1814
1825
  const isActor = participant.type === "actor";
@@ -1820,7 +1831,7 @@ function renderParticipant(svg, participant, cx, cy, palette, isDark, color, tag
1820
1831
  const fontSize = labelFontSize;
1821
1832
  const lineHeight = fontSize + 2;
1822
1833
  const labelFill = isActor ? palette.text : contrastText(
1823
- fill(palette, isDark, color, solid),
1834
+ fill(palette, isDark, color, fillMode),
1824
1835
  palette.textOnFillLight,
1825
1836
  palette.textOnFillDark
1826
1837
  );
@@ -1848,4 +1859,4 @@ export {
1848
1859
  renderSequenceDiagram,
1849
1860
  buildNoteMessageMap
1850
1861
  };
1851
- //# sourceMappingURL=chunk-3XGZF2QJ.js.map
1862
+ //# sourceMappingURL=chunk-VQOCMUWI.js.map
@@ -146,7 +146,8 @@ function themeBaseBg(palette, isDark) {
146
146
  return isDark ? palette.surface : palette.bg;
147
147
  }
148
148
  function shapeFill(palette, intent, isDark, opts) {
149
- if (opts?.solid) return intent;
149
+ if (opts?.mode === "solid") return intent;
150
+ if (opts?.mode === "outline") return themeBaseBg(palette, isDark);
150
151
  return mix(intent, themeBaseBg(palette, isDark), 25);
151
152
  }
152
153
  function getSeriesColors(palette) {
@@ -223,4 +224,4 @@ export {
223
224
  getSegmentColors,
224
225
  politicalTints
225
226
  };
226
- //# sourceMappingURL=chunk-P6T66CCZ.js.map
227
+ //# sourceMappingURL=chunk-WBM7ZNDI.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  buildPlacedNotes
3
- } from "./chunk-O7WP4ZD4.js";
3
+ } from "./chunk-JED6ZDEE.js";
4
4
  import {
5
5
  noteCanvasShift
6
6
  } from "./chunk-6EK55ART.js";
7
7
  import {
8
8
  measureText
9
- } from "./chunk-5LWQH6QV.js";
9
+ } from "./chunk-WCT3NYCV.js";
10
10
  import {
11
11
  resolveNotes
12
12
  } from "./chunk-FMDSF3OV.js";
@@ -201,4 +201,4 @@ function layoutClassDiagram(parsed, options) {
201
201
  export {
202
202
  layoutClassDiagram
203
203
  };
204
- //# sourceMappingURL=chunk-CMCR5WBW.js.map
204
+ //# sourceMappingURL=chunk-WBRZJOEC.js.map
@@ -157,4 +157,4 @@ export {
157
157
  truncateText,
158
158
  wrapTextToWidth
159
159
  };
160
- //# sourceMappingURL=chunk-5LWQH6QV.js.map
160
+ //# sourceMappingURL=chunk-WCT3NYCV.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  NODE_HEIGHT,
3
3
  NODE_WIDTH
4
- } from "./chunk-TWQUYVP3.js";
4
+ } from "./chunk-7DF4J4RL.js";
5
5
 
6
6
  // src/boxes-and-lines/layout-grouped.ts
7
7
  var NODESEP = 50;
@@ -689,4 +689,4 @@ export {
689
689
  acyclicOrient,
690
690
  groupedTierCandidates
691
691
  };
692
- //# sourceMappingURL=chunk-C4GQDB5L.js.map
692
+ //# sourceMappingURL=chunk-WRNFDFPU.js.map
@@ -8,7 +8,7 @@ import {
8
8
  stripDefaultModifier,
9
9
  tagAttrKey,
10
10
  validateTagGroupNames
11
- } from "./chunk-FJUNPCYI.js";
11
+ } from "./chunk-HHKO6SKY.js";
12
12
  import {
13
13
  JOURNEY_MAP_REGISTRY,
14
14
  OPTION_NOCOLON_RE,
@@ -19,7 +19,7 @@ import {
19
19
  splitNameAndMeta,
20
20
  warnUnknownMetaKeys,
21
21
  withTagAliases
22
- } from "./chunk-OTAL43EH.js";
22
+ } from "./chunk-BRENJ2BQ.js";
23
23
  import {
24
24
  resolveColorWithDiagnostic
25
25
  } from "./chunk-TLVIHFRO.js";
@@ -34,7 +34,12 @@ import {
34
34
  var PHASE_RE = /^\[(.+?)\]$/;
35
35
  var ANNOTATION_RE = /^(pain|opportunity|thought)\s*:\s*(.+)$/i;
36
36
  var KNOWN_OPTIONS = /* @__PURE__ */ new Set(["active-tag"]);
37
- var KNOWN_BOOLEANS = /* @__PURE__ */ new Set(["solid-fill", "no-title"]);
37
+ var KNOWN_BOOLEANS = /* @__PURE__ */ new Set([
38
+ "fill-tint",
39
+ "fill-solid",
40
+ "fill-outline",
41
+ "no-title"
42
+ ]);
38
43
  var REMOVED_BOOLEANS = {
39
44
  "no-legend": '"no-legend" has been removed \u2014 remove tag groups to hide the legend.'
40
45
  };
@@ -406,4 +411,4 @@ function parseStepLine(trimmed, lineNumber, counter, aliasMap, warn, diagnostics
406
411
  export {
407
412
  parseJourneyMap
408
413
  };
409
- //# sourceMappingURL=chunk-6HJBFVLO.js.map
414
+ //# sourceMappingURL=chunk-XD6ZYURY.js.map
@@ -2,7 +2,7 @@ import {
2
2
  CHAR_WIDTH_RATIO,
3
3
  measureText,
4
4
  truncateText
5
- } from "./chunk-5LWQH6QV.js";
5
+ } from "./chunk-WCT3NYCV.js";
6
6
 
7
7
  // src/infra/layout.ts
8
8
  import dagre from "@dagrejs/dagre";
@@ -587,4 +587,4 @@ export {
587
587
  fixEdgeWaypoints,
588
588
  layoutInfra
589
589
  };
590
- //# sourceMappingURL=chunk-C63UWAKM.js.map
590
+ //# sourceMappingURL=chunk-Y2ZE3MSG.js.map
@@ -13,7 +13,7 @@ import {
13
13
  LEGEND_TOGGLE_DOT_R,
14
14
  measureLegendText,
15
15
  truncateLegendText
16
- } from "./chunk-HQCHYB5F.js";
16
+ } from "./chunk-QOOUC2J5.js";
17
17
 
18
18
  // src/utils/number-format.ts
19
19
  function compactNumber(n) {
@@ -545,4 +545,4 @@ export {
545
545
  getLegendReservedHeight,
546
546
  getMaxLegendReservedHeight
547
547
  };
548
- //# sourceMappingURL=chunk-7UEMZREK.js.map
548
+ //# sourceMappingURL=chunk-YAA6IID3.js.map
@@ -1,11 +1,14 @@
1
1
  import {
2
2
  measureText,
3
3
  wrapTextToWidth
4
- } from "./chunk-5LWQH6QV.js";
4
+ } from "./chunk-WCT3NYCV.js";
5
5
  import {
6
6
  mix,
7
7
  shapeFill
8
- } from "./chunk-P6T66CCZ.js";
8
+ } from "./chunk-WBM7ZNDI.js";
9
+ import {
10
+ fillModeFromOptions
11
+ } from "./chunk-BRENJ2BQ.js";
9
12
 
10
13
  // src/journey-map/layout.ts
11
14
  var PADDING = 24;
@@ -210,7 +213,7 @@ function layoutJourneyMap(parsed, palette, options) {
210
213
  palette,
211
214
  scoreToColor(avgScore, palette),
212
215
  isDark,
213
- { solid: parsed.options["solid-fill"] === "on" }
216
+ { mode: fillModeFromOptions(parsed.options) }
214
217
  );
215
218
  const COLLAPSED_CARD_H = 26;
216
219
  const COLLAPSED_GAP = 6;
@@ -287,4 +290,4 @@ export {
287
290
  scoreToCurveY,
288
291
  layoutJourneyMap
289
292
  };
290
- //# sourceMappingURL=chunk-F7BFXWNQ.js.map
293
+ //# sourceMappingURL=chunk-YIBAWQGJ.js.map
@@ -10,12 +10,15 @@ import {
10
10
  } from "./chunk-6KFWC4CO.js";
11
11
  import {
12
12
  measureText
13
- } from "./chunk-5LWQH6QV.js";
13
+ } from "./chunk-WCT3NYCV.js";
14
14
  import {
15
15
  contrastText,
16
16
  mix,
17
17
  shapeFill
18
- } from "./chunk-P6T66CCZ.js";
18
+ } from "./chunk-WBM7ZNDI.js";
19
+ import {
20
+ fillModeFromOptions
21
+ } from "./chunk-BRENJ2BQ.js";
19
22
 
20
23
  // src/wireframe/renderer.ts
21
24
  import * as d3Selection from "d3-selection";
@@ -59,7 +62,7 @@ function renderWireframe(container, parsed, layout, palette, isDark, _onClickIte
59
62
  isTransparent: effectiveTheme === "transparent",
60
63
  isDark,
61
64
  showGroupLabels: opts.showGroupLabels ?? true,
62
- solid: parsed.options["solid-fill"] === "on"
65
+ fillMode: fillModeFromOptions(parsed.options)
63
66
  };
64
67
  if (!ctx.isTransparent) {
65
68
  svg.append("rect").attr("width", layout.width).attr("height", layout.height).attr("fill", palette.bg).attr("rx", 8);
@@ -443,7 +446,7 @@ function renderAlert(g, node, ctx) {
443
446
  const { palette, isDark, isTransparent } = ctx;
444
447
  const el = node.element;
445
448
  const color = getElementSemanticColor(el, palette) || palette.accent;
446
- const fill = isTransparent ? null : shapeFill(palette, color, isDark, { solid: ctx.solid });
449
+ const fill = isTransparent ? null : shapeFill(palette, color, isDark, { mode: ctx.fillMode });
447
450
  if (fill) {
448
451
  g.append("rect").attr("width", node.width).attr("height", node.height).attr("fill", fill).attr("rx", 4);
449
452
  }
@@ -551,4 +554,4 @@ function renderModal(parent, node, ctx) {
551
554
  export {
552
555
  renderWireframe
553
556
  };
554
- //# sourceMappingURL=chunk-PH5X4GIP.js.map
557
+ //# sourceMappingURL=chunk-YTMTPUH4.js.map
@@ -9,12 +9,13 @@ import {
9
9
  matchTagBlockHeading,
10
10
  stripDefaultModifier,
11
11
  tagAttrKey
12
- } from "./chunk-FJUNPCYI.js";
12
+ } from "./chunk-HHKO6SKY.js";
13
13
  import {
14
14
  extractColor,
15
+ fillModeFromToken,
15
16
  measureIndent,
16
17
  parseFirstLine
17
- } from "./chunk-OTAL43EH.js";
18
+ } from "./chunk-BRENJ2BQ.js";
18
19
  import {
19
20
  emit
20
21
  } from "./chunk-CXK4DZH3.js";
@@ -140,6 +141,13 @@ function parseBody(content, palette) {
140
141
  options.noTitle = true;
141
142
  continue;
142
143
  }
144
+ const fm = fillModeFromToken(trimmed);
145
+ if (fm !== null) {
146
+ if (fm === "tint") delete options.fillMode;
147
+ else options.fillMode = fm;
148
+ currentTagGroup = null;
149
+ continue;
150
+ }
143
151
  }
144
152
  const tagBlockMatch = matchTagBlockHeading(trimmed);
145
153
  if (tagBlockMatch && !contentStarted) {
@@ -256,4 +264,4 @@ export {
256
264
  parseBody,
257
265
  extractSymbols
258
266
  };
259
- //# sourceMappingURL=chunk-3UIKSPFB.js.map
267
+ //# sourceMappingURL=chunk-Z5QVYKR7.js.map