@diagrammo/dgmo 0.54.0 → 0.56.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 (277) hide show
  1. package/dist/advanced.d.ts +138 -11
  2. package/dist/advanced.js +140 -115
  3. package/dist/{analyzer-TDN5KJFP.js → analyzer-HQUXKZ5J.js} +3 -3
  4. package/dist/auto.js +129 -126
  5. package/dist/auto.mjs +2731 -882
  6. package/dist/block.js +58 -56
  7. package/dist/{calculator-VBIT6GQF.js → calculator-BBKAAQGD.js} +3 -3
  8. package/dist/chart-meta.js +49 -49
  9. package/dist/charts-d3-D67V6KHE.js +29 -0
  10. package/dist/{chunk-5VXU6MND.js → chunk-23THM67F.js} +2 -2
  11. package/dist/{chunk-N7BSBAVP.js → chunk-2JMNOEAU.js} +117 -98
  12. package/dist/{chunk-6OYDOQ2Q.js → chunk-2UZVMWSQ.js} +4 -4
  13. package/dist/{chunk-3FRO35WW.js → chunk-3KOPPSUQ.js} +19 -5
  14. package/dist/{chunk-IYNKLCAZ.js → chunk-3R67RRPC.js} +126 -57
  15. package/dist/{chunk-JYDMBWRP.js → chunk-42IT4BG2.js} +2 -2
  16. package/dist/{chunk-O576GYAP.js → chunk-4MB4UOT5.js} +3 -3
  17. package/dist/{chunk-3KHJJP3J.js → chunk-4MJOBVY7.js} +3 -3
  18. package/dist/{chunk-3SEEP2JM.js → chunk-5J2RQGFG.js} +9 -5
  19. package/dist/{chunk-EAI6XJ7D.js → chunk-5VLUAAAE.js} +4 -4
  20. package/dist/{chunk-FVMKCZHF.js → chunk-5XMDSXZT.js} +3 -3
  21. package/dist/{chunk-LPJ6H5X4.js → chunk-5ZDHXS5N.js} +60 -15
  22. package/dist/{chunk-MEQYZZFR.js → chunk-6IVXRTXH.js} +96 -23
  23. package/dist/chunk-6VJCURWU.js +87 -0
  24. package/dist/{chunk-QZAW5SFH.js → chunk-7NK42OIB.js} +2 -2
  25. package/dist/{chunk-EQOMY4PY.js → chunk-7SXTD7L6.js} +3 -3
  26. package/dist/{chunk-APKUAJ2L.js → chunk-A2RUBBVT.js} +14 -1
  27. package/dist/{chunk-S7FOIURR.js → chunk-A4DAZO3U.js} +12 -9
  28. package/dist/{chunk-AJFHNS67.js → chunk-AIH6M5J6.js} +7 -7
  29. package/dist/{chunk-KS5ZSM5T.js → chunk-AMC2OGXF.js} +64 -16
  30. package/dist/{chunk-SSHS42QG.js → chunk-AN465MXC.js} +2 -2
  31. package/dist/{chunk-BZJIITYM.js → chunk-AOJJSGXE.js} +5 -5
  32. package/dist/{chunk-T7Y554OK.js → chunk-APD52YJV.js} +8 -8
  33. package/dist/{chunk-FFVFZLRT.js → chunk-BR2VSKHI.js} +377 -60
  34. package/dist/{chunk-7K6NDSXH.js → chunk-C3BWDEYN.js} +5 -5
  35. package/dist/{chunk-HO3RCNF6.js → chunk-CGLBK5Q4.js} +2 -2
  36. package/dist/{chunk-ADYKAKE3.js → chunk-CQ7Y3O67.js} +7 -4
  37. package/dist/{chunk-WKNAJ4BR.js → chunk-CQOC2MD6.js} +66 -13
  38. package/dist/{chunk-TLNVYWPA.js → chunk-CXI6X54X.js} +3 -3
  39. package/dist/{chunk-AQEYUVGJ.js → chunk-CY5KE2P5.js} +67 -10
  40. package/dist/{chunk-COVYNAKJ.js → chunk-D3WTEBGT.js} +2 -2
  41. package/dist/{chunk-AHTTKERF.js → chunk-D5FANMSG.js} +3 -3
  42. package/dist/{chunk-CCGWX6AO.js → chunk-D64FRGKU.js} +3 -3
  43. package/dist/{chunk-RRGKMJYL.js → chunk-DIKIHU52.js} +9 -4
  44. package/dist/{chunk-BULHGPHK.js → chunk-DNSEG6P2.js} +3 -3
  45. package/dist/{chunk-UJRTPOHH.js → chunk-DUI5SMFX.js} +2 -2
  46. package/dist/{chunk-VQFDBNYF.js → chunk-EEKGMS63.js} +4 -4
  47. package/dist/{chunk-MTZOXISJ.js → chunk-ES3MUYRX.js} +5 -5
  48. package/dist/{chunk-J7HQPVYH.js → chunk-ES66QH6J.js} +24 -3
  49. package/dist/{chunk-ZKPPI6BF.js → chunk-EXNKNJ65.js} +2 -2
  50. package/dist/{chunk-2NYXI35Z.js → chunk-FCA2UGJT.js} +7 -6
  51. package/dist/{chunk-M3H7ZE6C.js → chunk-FERE46TP.js} +7 -6
  52. package/dist/{chunk-B4XS2AF2.js → chunk-FWVKPEG3.js} +3 -3
  53. package/dist/{chunk-S7YFT3PO.js → chunk-FXVPSTDT.js} +6 -6
  54. package/dist/{chunk-BM7MG6HT.js → chunk-FZECLCCU.js} +4 -4
  55. package/dist/{chunk-SBOAZ7YK.js → chunk-GDGOVO2I.js} +60 -41
  56. package/dist/{chunk-QBYP2FBZ.js → chunk-GG7TK3IA.js} +5 -5
  57. package/dist/{chunk-GQ5ECRP4.js → chunk-GUVVQW3Y.js} +5 -5
  58. package/dist/{chunk-R5BGGBFF.js → chunk-HE57UQHL.js} +3 -3
  59. package/dist/{chunk-4ZIKWVSQ.js → chunk-HIMDUQT7.js} +7 -7
  60. package/dist/{chunk-CSHFU6LT.js → chunk-HKKPUUNK.js} +10 -10
  61. package/dist/{chunk-KINOX74I.js → chunk-HODUM6LY.js} +50 -12
  62. package/dist/{chunk-47JNEKJA.js → chunk-HOPTF3ZP.js} +47 -12
  63. package/dist/{chunk-WW4BQ744.js → chunk-HPJITTF7.js} +11 -8
  64. package/dist/{chunk-BEOAKGNA.js → chunk-I55PVEIX.js} +2 -2
  65. package/dist/{chunk-7JDTNFAK.js → chunk-IMXG673Y.js} +78 -34
  66. package/dist/{chunk-4T6OCSJ2.js → chunk-JE3SMHRZ.js} +6 -6
  67. package/dist/{chunk-KQYQECWQ.js → chunk-JXFB3APA.js} +52 -16
  68. package/dist/{chunk-OJ435DQZ.js → chunk-KF575IXC.js} +4 -4
  69. package/dist/{chunk-IOIMQHQ6.js → chunk-KIGV66SP.js} +3 -3
  70. package/dist/{chunk-ICKXIMBA.js → chunk-KSPCR75O.js} +7 -7
  71. package/dist/{chunk-JTSMEYIZ.js → chunk-L43KTQTW.js} +5 -2
  72. package/dist/{chunk-DLU643TF.js → chunk-LV5BFA24.js} +6 -6
  73. package/dist/{chunk-RJ5LBZ5U.js → chunk-MD2KWAXJ.js} +16 -16
  74. package/dist/{chunk-KDK5EKUR.js → chunk-MGLJA5TK.js} +3 -3
  75. package/dist/{chunk-FR6UFVSV.js → chunk-N2KO445N.js} +99 -46
  76. package/dist/{chunk-C2UORMIA.js → chunk-NFAHDPCG.js} +8 -4
  77. package/dist/{chunk-7UPFTBOW.js → chunk-NHZAYL2X.js} +7 -7
  78. package/dist/{chunk-PIXZTCKH.js → chunk-NVQXIDLE.js} +3 -3
  79. package/dist/chunk-NZ5QVASG.js +20 -0
  80. package/dist/{chunk-F7XM366V.js → chunk-OHBIN74X.js} +4 -4
  81. package/dist/{chunk-4W2PE66Q.js → chunk-OLMWTJVU.js} +11 -1
  82. package/dist/{chunk-HAA25PLC.js → chunk-OWLGERJL.js} +46 -11
  83. package/dist/{chunk-NUTWTV6G.js → chunk-P6XFQVYY.js} +103 -57
  84. package/dist/{chunk-GKYHWJXI.js → chunk-PECYPUJJ.js} +5 -5
  85. package/dist/{chunk-T3FAJAJT.js → chunk-PFG3EVRD.js} +4 -4
  86. package/dist/{chunk-2NZOHEP4.js → chunk-QDOYT6UW.js} +5 -5
  87. package/dist/{chunk-EPRF3ZRV.js → chunk-QWUYFUNO.js} +3 -3
  88. package/dist/{chunk-I47VHSPS.js → chunk-R7ECJQTB.js} +10 -8
  89. package/dist/{chunk-BWYFIVZF.js → chunk-RBIX3HQQ.js} +4 -4
  90. package/dist/{chunk-COJW2NEY.js → chunk-RK3Y4WMV.js} +57 -15
  91. package/dist/{chunk-KQ3FNRGR.js → chunk-RQGNELB3.js} +7 -6
  92. package/dist/{chunk-WF64MW5G.js → chunk-RRX4Z4TH.js} +2 -2
  93. package/dist/{chunk-W6PCFRPL.js → chunk-RV2N7COG.js} +4 -4
  94. package/dist/{chunk-UEU6IYKY.js → chunk-S6QDCFEU.js} +2 -2
  95. package/dist/{chunk-Q5IHQ4NW.js → chunk-SCJ7CAJF.js} +2 -2
  96. package/dist/{chunk-3B2GXZCX.js → chunk-SK7PCW4F.js} +2 -2
  97. package/dist/{chunk-6KL7TFLS.js → chunk-SOBGK35Z.js} +4 -4
  98. package/dist/{chunk-WWHECSYZ.js → chunk-ST3ZNEUQ.js} +3 -3
  99. package/dist/{chunk-3IUHKMJI.js → chunk-U2BKSEKU.js} +2 -2
  100. package/dist/{chunk-KBVOVDYP.js → chunk-U7ZQTUZT.js} +6 -6
  101. package/dist/{chunk-3SBHODJ4.js → chunk-ULONXAOD.js} +50 -11
  102. package/dist/{chunk-B7N5KYXQ.js → chunk-ULR3BVNH.js} +8 -8
  103. package/dist/{chunk-YENNFS5F.js → chunk-USFZQPJ2.js} +10 -5
  104. package/dist/{chunk-OR3R27CU.js → chunk-UZ6L5VQJ.js} +4 -4
  105. package/dist/{chunk-ADCHLNWT.js → chunk-VKN7YW4Q.js} +10 -7
  106. package/dist/{chunk-XWODFBHJ.js → chunk-VSFAJUEF.js} +8 -4
  107. package/dist/{chunk-HFEOOQ46.js → chunk-VU3DOZ6C.js} +3 -3
  108. package/dist/{chunk-M24VXUFG.js → chunk-VYEQPPS6.js} +7 -7
  109. package/dist/{chunk-5XSNLXU5.js → chunk-W2I2EXSC.js} +58 -16
  110. package/dist/{chunk-7U4OR7CD.js → chunk-W4EKQ2P6.js} +2 -2
  111. package/dist/{chunk-UIT7E6UF.js → chunk-WFX6AUQO.js} +52 -5
  112. package/dist/{chunk-RIEAN4D5.js → chunk-WK3UFCZC.js} +51 -11
  113. package/dist/{chunk-7SP4C6EV.js → chunk-WOMXS5R7.js} +24 -5
  114. package/dist/chunk-WTTIODDV.js +10 -0
  115. package/dist/{chunk-GK32ZFZY.js → chunk-X32RDWT5.js} +5 -5
  116. package/dist/{chunk-LRSW4JLE.js → chunk-XN4ZSACM.js} +4 -4
  117. package/dist/{chunk-NR5HCAUD.js → chunk-XSVWUOUZ.js} +1 -1
  118. package/dist/{chunk-OSXQKC3S.js → chunk-Y2L2LET6.js} +8 -5
  119. package/dist/{chunk-TJN2OIVG.js → chunk-YG5KQ55U.js} +182 -14
  120. package/dist/{chunk-DPGQ5UMO.js → chunk-YH62K5D4.js} +15 -12
  121. package/dist/{chunk-A3BDLDYG.js → chunk-YJUF2N3C.js} +62 -23
  122. package/dist/{chunk-VMSBMIHW.js → chunk-YM2ZQIVG.js} +4 -4
  123. package/dist/{chunk-KV4HLIJE.js → chunk-YNAHUNMA.js} +7 -4
  124. package/dist/{chunk-62Y27T4C.js → chunk-YWPWRR7W.js} +2 -2
  125. package/dist/{chunk-U4IN6AHE.js → chunk-ZMMYCERO.js} +2 -2
  126. package/dist/cli.cjs +155 -149
  127. package/dist/clock.js +34 -1
  128. package/dist/completion-registry.js +15 -7
  129. package/dist/dgmo-router-GSWUPLP2.js +88 -0
  130. package/dist/dimensions-PLECMFTR.js +22 -0
  131. package/dist/editor.js +10 -1
  132. package/dist/element.js +131 -128
  133. package/dist/element.mjs +2731 -882
  134. package/dist/flowchart-parser-DA3V2SLH.js +21 -0
  135. package/dist/{flowchart-renderer-DCFKUDDR.js → flowchart-renderer-UQVXOUW4.js} +13 -12
  136. package/dist/highlight.js +10 -1
  137. package/dist/index.js +72 -57
  138. package/dist/{layout-A6OIGZN2.js → layout-2BJDECLZ.js} +5 -8
  139. package/dist/{layout-NF4EWFLT.js → layout-3XFPPFXI.js} +4 -4
  140. package/dist/layout-A5UVXINF.js +15 -0
  141. package/dist/layout-HIK4ZJFQ.js +15 -0
  142. package/dist/{layout-CB3XWCOI.js → layout-NX37NSRY.js} +3 -3
  143. package/dist/layout-OHAIIXBC.js +10 -0
  144. package/dist/{layout-QBNAMEOA.js → layout-QRVYYYZ3.js} +6 -6
  145. package/dist/{layout-ITLPDG6M.js → layout-SNIEAZ2I.js} +8 -8
  146. package/dist/{layout-SP7HJWKA.js → layout-UFZQI6SX.js} +4 -4
  147. package/dist/{layout-G2ABQJQZ.js → layout-UXMNKETK.js} +7 -7
  148. package/dist/layout-WDXNSQQF.js +15 -0
  149. package/dist/{layout-search-LUI475P3.js → layout-search-I4VNIRGT.js} +320 -36
  150. package/dist/{legend-constants-B77VKB3R.js → legend-constants-QQU3QYBF.js} +5 -5
  151. package/dist/{palettes-FGTNFARW.js → palettes-WO3VA6NU.js} +4 -4
  152. package/dist/parser-4TX6U4ZU.js +11 -0
  153. package/dist/{parser-X5XLFY4Z.js → parser-4ZIJDGPG.js} +6 -6
  154. package/dist/parser-5UZWYSIV.js +16 -0
  155. package/dist/parser-6CM27UPA.js +14 -0
  156. package/dist/parser-73YUU35J.js +11 -0
  157. package/dist/parser-A6M25MLK.js +11 -0
  158. package/dist/parser-AYZTKZC3.js +11 -0
  159. package/dist/parser-CCAUZLYI.js +15 -0
  160. package/dist/parser-D7YZX3CH.js +12 -0
  161. package/dist/parser-DQ2DGDYO.js +11 -0
  162. package/dist/parser-GGCDY65M.js +14 -0
  163. package/dist/parser-HMQZPPOK.js +19 -0
  164. package/dist/parser-IPBEW2DG.js +13 -0
  165. package/dist/{parser-66RYGJRB.js → parser-JWAGGYLL.js} +7 -7
  166. package/dist/parser-KTVDCWHG.js +13 -0
  167. package/dist/{parser-OPIXXUY4.js → parser-LNEAHGXF.js} +7 -7
  168. package/dist/parser-LQDEU22S.js +15 -0
  169. package/dist/{parser-VVE4THG3.js → parser-MH62NYKM.js} +6 -6
  170. package/dist/parser-O5XCVGZG.js +11 -0
  171. package/dist/parser-OPOGIKFR.js +17 -0
  172. package/dist/parser-PEBXIOPX.js +12 -0
  173. package/dist/parser-PQXN6SBB.js +18 -0
  174. package/dist/parser-Q3KNFXQR.js +12 -0
  175. package/dist/parser-Q62VR2UJ.js +20 -0
  176. package/dist/parser-QEWSTNEJ.js +15 -0
  177. package/dist/{parser-7UI6UQ7B.js → parser-QL2LBPFE.js} +7 -7
  178. package/dist/{parser-LTA2BOZO.js → parser-QN3GJJ3J.js} +5 -5
  179. package/dist/parser-RBNOWHGM.js +15 -0
  180. package/dist/parser-SJ7ECFAP.js +13 -0
  181. package/dist/parser-VVTCMQWY.js +16 -0
  182. package/dist/parser-WT3DSNPQ.js +13 -0
  183. package/dist/parser-XWNSCDY6.js +13 -0
  184. package/dist/pert.d.ts +2 -0
  185. package/dist/{renderer-WVD6G2TS.js → renderer-2NU7M5PN.js} +14 -12
  186. package/dist/renderer-3IETIUZB.js +30 -0
  187. package/dist/renderer-4VLQKKTV.js +39 -0
  188. package/dist/{renderer-HQ4JFZOV.js → renderer-52S6JM5R.js} +12 -11
  189. package/dist/renderer-53FU55KK.js +19 -0
  190. package/dist/renderer-5CU6GYF2.js +27 -0
  191. package/dist/{renderer-LHVCKEWF.js → renderer-5G3PORFD.js} +13 -12
  192. package/dist/renderer-CB2DOQ2O.js +25 -0
  193. package/dist/{renderer-B7Y6I7JX.js → renderer-CL4SAUA5.js} +8 -8
  194. package/dist/{renderer-FXMGCSRP.js → renderer-CRAIC4ER.js} +12 -10
  195. package/dist/renderer-DZ5N6BHW.js +26 -0
  196. package/dist/renderer-FRBPMKPP.js +25 -0
  197. package/dist/renderer-HGWKAXS6.js +16 -0
  198. package/dist/renderer-I5MAFUKX.js +26 -0
  199. package/dist/{renderer-K7XLVPH5.js → renderer-IWNHBIZ6.js} +5 -5
  200. package/dist/renderer-J5MMVCGN.js +29 -0
  201. package/dist/renderer-J5TL5ZX4.js +39 -0
  202. package/dist/renderer-JNC6VJMN.js +24 -0
  203. package/dist/{renderer-X2LYSMLU.js → renderer-KUIZNLAQ.js} +6 -6
  204. package/dist/renderer-M6AFKVLS.js +21 -0
  205. package/dist/renderer-MLDGFZDW.js +23 -0
  206. package/dist/{renderer-YVMETH6V.js → renderer-O4ECS2BI.js} +13 -12
  207. package/dist/{renderer-YEFOOULC.js → renderer-OZIPP7VF.js} +14 -13
  208. package/dist/{renderer-C3RI4OPJ.js → renderer-P7O6OUYC.js} +13 -12
  209. package/dist/renderer-Q3A7572V.js +25 -0
  210. package/dist/renderer-QRX7Q2YN.js +22 -0
  211. package/dist/{renderer-WCWI4I6A.js → renderer-RJT3MOUU.js} +5 -5
  212. package/dist/{renderer-7HMZ5OCJ.js → renderer-SYT4L7GE.js} +6 -6
  213. package/dist/{renderer-G4UOW3RH.js → renderer-TOKGYFTG.js} +6 -6
  214. package/dist/renderer-WWC5VGHH.js +27 -0
  215. package/dist/{renderer-P3YQES7B.js → renderer-YVCD55ZX.js} +15 -13
  216. package/dist/renderer-YWYX6WAI.js +16 -0
  217. package/dist/renderer-radial-QG644QYY.js +21 -0
  218. package/dist/{resolver-WFKZYBJ2.js → resolver-W3WKLWDP.js} +4 -4
  219. package/dist/state-parser-NQGVYSM3.js +19 -0
  220. package/dist/state-renderer-NKV5B3KH.js +40 -0
  221. package/docs/language-reference.md +11 -2
  222. package/package.json +2 -2
  223. package/dist/charts-d3-25E4VWXO.js +0 -27
  224. package/dist/dgmo-router-TGZWFIZO.js +0 -88
  225. package/dist/dimensions-L6BXQXXL.js +0 -22
  226. package/dist/flowchart-parser-UKYOW3VM.js +0 -21
  227. package/dist/layout-25Y3VDYF.js +0 -19
  228. package/dist/layout-4SPLI4HG.js +0 -15
  229. package/dist/layout-CH4HFFRD.js +0 -15
  230. package/dist/layout-NY7MHJCL.js +0 -15
  231. package/dist/parser-2UWWNTFL.js +0 -12
  232. package/dist/parser-3RXYQSA7.js +0 -18
  233. package/dist/parser-5C3PEZK3.js +0 -11
  234. package/dist/parser-6GN5YJBJ.js +0 -13
  235. package/dist/parser-6MQM7WT3.js +0 -15
  236. package/dist/parser-B2A7XOAK.js +0 -12
  237. package/dist/parser-CCNJKDDA.js +0 -16
  238. package/dist/parser-ESHNUFME.js +0 -13
  239. package/dist/parser-F4FEU57T.js +0 -11
  240. package/dist/parser-FHRMFUNX.js +0 -15
  241. package/dist/parser-FPCWDYQV.js +0 -13
  242. package/dist/parser-FY3YFFBS.js +0 -20
  243. package/dist/parser-GML6V2KZ.js +0 -14
  244. package/dist/parser-HA3PF5FL.js +0 -15
  245. package/dist/parser-KTYF6WO5.js +0 -11
  246. package/dist/parser-LU7UAKNB.js +0 -13
  247. package/dist/parser-MHKYQPC2.js +0 -11
  248. package/dist/parser-MVSYFK63.js +0 -17
  249. package/dist/parser-O7YQYFEN.js +0 -15
  250. package/dist/parser-S4EJPNVN.js +0 -19
  251. package/dist/parser-T3D7BV6O.js +0 -11
  252. package/dist/parser-WPPJGB4R.js +0 -12
  253. package/dist/parser-XCPMEB2Z.js +0 -11
  254. package/dist/parser-XRDUX2AR.js +0 -14
  255. package/dist/parser-YPWYT46P.js +0 -16
  256. package/dist/parser-YULS5MLD.js +0 -13
  257. package/dist/renderer-2DME63VZ.js +0 -16
  258. package/dist/renderer-3VY3VXJE.js +0 -37
  259. package/dist/renderer-4A32DX5L.js +0 -24
  260. package/dist/renderer-4K5YYX5R.js +0 -28
  261. package/dist/renderer-6CFML5G3.js +0 -22
  262. package/dist/renderer-7ZNVOVFG.js +0 -16
  263. package/dist/renderer-CJ56SUMF.js +0 -26
  264. package/dist/renderer-COJZZ4F6.js +0 -25
  265. package/dist/renderer-OZX5KGQM.js +0 -21
  266. package/dist/renderer-PLVIARM7.js +0 -24
  267. package/dist/renderer-RA4PTAMF.js +0 -19
  268. package/dist/renderer-RMAM2SOJ.js +0 -28
  269. package/dist/renderer-SES7QZYL.js +0 -37
  270. package/dist/renderer-TQ5QDZOE.js +0 -22
  271. package/dist/renderer-V5SNTPAM.js +0 -27
  272. package/dist/renderer-Y3NXZINM.js +0 -24
  273. package/dist/renderer-YP3P6UVT.js +0 -24
  274. package/dist/renderer-Z4GNKNXO.js +0 -24
  275. package/dist/renderer-radial-VYBZAXXE.js +0 -21
  276. package/dist/state-parser-VIW2WNA5.js +0 -19
  277. package/dist/state-renderer-H22AQD3U.js +0 -38
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  renderIntegratedLegend
3
- } from "./chunk-2NZOHEP4.js";
3
+ } from "./chunk-QDOYT6UW.js";
4
4
  import {
5
5
  FONT_FAMILY
6
6
  } from "./chunk-6KFWC4CO.js";
@@ -13,15 +13,15 @@ import {
13
13
  getSeriesColors,
14
14
  mix,
15
15
  themeBaseBg
16
- } from "./chunk-JYDMBWRP.js";
16
+ } from "./chunk-42IT4BG2.js";
17
17
  import {
18
18
  resolveActiveTagGroup,
19
19
  resolveTagColor,
20
20
  tagAttrKey
21
- } from "./chunk-AHTTKERF.js";
21
+ } from "./chunk-D5FANMSG.js";
22
22
  import {
23
23
  resolveColor
24
- } from "./chunk-ZKPPI6BF.js";
24
+ } from "./chunk-EXNKNJ65.js";
25
25
 
26
26
  // src/body/renderer.ts
27
27
  import * as d3Selection from "d3-selection";
@@ -334,4 +334,4 @@ export {
334
334
  renderBody,
335
335
  renderBodyForExport
336
336
  };
337
- //# sourceMappingURL=chunk-7K6NDSXH.js.map
337
+ //# sourceMappingURL=chunk-C3BWDEYN.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-3TYUXC7D.js";
7
7
  import {
8
8
  makeDgmoError
9
- } from "./chunk-4W2PE66Q.js";
9
+ } from "./chunk-OLMWTJVU.js";
10
10
 
11
11
  // src/pert/monte-carlo.ts
12
12
  function lagDays(lag) {
@@ -1059,4 +1059,4 @@ export {
1059
1059
  buildSummary,
1060
1060
  buildProjectSubtitle
1061
1061
  };
1062
- //# sourceMappingURL=chunk-HO3RCNF6.js.map
1062
+ //# sourceMappingURL=chunk-CGLBK5Q4.js.map
@@ -1,3 +1,6 @@
1
+ import {
2
+ serializeSvg
3
+ } from "./chunk-NZ5QVASG.js";
1
4
  import {
2
5
  TITLE_FONT_SIZE,
3
6
  TITLE_FONT_WEIGHT,
@@ -8,7 +11,7 @@ import {
8
11
  } from "./chunk-6KFWC4CO.js";
9
12
  import {
10
13
  getSeriesColors
11
- } from "./chunk-JYDMBWRP.js";
14
+ } from "./chunk-42IT4BG2.js";
12
15
 
13
16
  // src/utils/d3-helpers.ts
14
17
  import * as d3Selection from "d3-selection";
@@ -87,7 +90,7 @@ var EXPORT_WIDTH = 1200;
87
90
  var EXPORT_HEIGHT = 800;
88
91
  async function resolveExportPalette(theme, palette) {
89
92
  if (palette) return palette;
90
- const { getPalette } = await import("./palettes-FGTNFARW.js");
93
+ const { getPalette } = await import("./palettes-WO3VA6NU.js");
91
94
  return theme === "dark" ? getPalette("nord").dark : getPalette("nord").light;
92
95
  }
93
96
  function createExportContainer(width, height) {
@@ -110,7 +113,7 @@ function finalizeSvgExport(container, theme, palette) {
110
113
  svgEl.setAttribute("xmlns", "http://www.w3.org/2000/svg");
111
114
  svgEl.style.fontFamily = FONT_FAMILY;
112
115
  svgEl.querySelectorAll("[data-export-ignore]").forEach((el) => el.remove());
113
- const svgHtml = svgEl.outerHTML;
116
+ const svgHtml = serializeSvg(svgEl);
114
117
  document.body.removeChild(container);
115
118
  return svgHtml;
116
119
  }
@@ -127,4 +130,4 @@ export {
127
130
  createExportContainer,
128
131
  finalizeSvgExport
129
132
  };
130
- //# sourceMappingURL=chunk-ADYKAKE3.js.map
133
+ //# sourceMappingURL=chunk-CQ7Y3O67.js.map
@@ -4,7 +4,7 @@ import {
4
4
  renderNoteBadge,
5
5
  renderNoteBox,
6
6
  renderNoteConnector
7
- } from "./chunk-3IUHKMJI.js";
7
+ } from "./chunk-U2BKSEKU.js";
8
8
  import {
9
9
  renderInlineText
10
10
  } from "./chunk-3HDBAXF5.js";
@@ -18,12 +18,16 @@ import {
18
18
  import {
19
19
  ScaleContext
20
20
  } from "./chunk-YYVTBZZC.js";
21
+ import {
22
+ layoutInlineHeader
23
+ } from "./chunk-6VJCURWU.js";
21
24
  import {
22
25
  renderIntegratedLegend
23
- } from "./chunk-2NZOHEP4.js";
26
+ } from "./chunk-QDOYT6UW.js";
24
27
  import {
28
+ getLegendExtent,
25
29
  getMaxLegendReservedHeight
26
- } from "./chunk-J7HQPVYH.js";
30
+ } from "./chunk-ES66QH6J.js";
27
31
  import {
28
32
  TITLE_FONT_SIZE,
29
33
  TITLE_FONT_WEIGHT,
@@ -44,17 +48,18 @@ import {
44
48
  shapeFill,
45
49
  themeBaseBg,
46
50
  valueRampColor
47
- } from "./chunk-JYDMBWRP.js";
51
+ } from "./chunk-42IT4BG2.js";
48
52
  import {
49
53
  resolveTagColor
50
- } from "./chunk-AHTTKERF.js";
54
+ } from "./chunk-D5FANMSG.js";
51
55
  import {
52
56
  fillModeFromOptions,
57
+ legendInlineRequested,
53
58
  legendSuppressed
54
- } from "./chunk-3FRO35WW.js";
59
+ } from "./chunk-3KOPPSUQ.js";
55
60
  import {
56
61
  resolveColor
57
- } from "./chunk-ZKPPI6BF.js";
62
+ } from "./chunk-EXNKNJ65.js";
58
63
 
59
64
  // src/boxes-and-lines/renderer.ts
60
65
  import * as d3Selection from "d3-selection";
@@ -315,6 +320,32 @@ function renderBoxesAndLines(container, parsed, layout, palette, isDark, options
315
320
  );
316
321
  const needsLegend = (legendGroups.length > 0 || hasAnyDescriptions && !!onToggleDescriptions) && !noLegend;
317
322
  const legendH = needsLegend ? sLegendHeight + 8 : 0;
323
+ const inlineRequested = legendInlineRequested(parsed.options);
324
+ const legendExtent = inlineRequested && needsLegend ? getLegendExtent(
325
+ {
326
+ groups: legendGroups,
327
+ position: {
328
+ placement: "top-center",
329
+ titleRelation: "inline-with-title"
330
+ },
331
+ mode: exportMode ? "export" : "preview",
332
+ showInactivePills: true
333
+ },
334
+ { activeGroup },
335
+ width
336
+ ) : { width: 0, height: 0 };
337
+ const header = layoutInlineHeader({
338
+ requested: inlineRequested,
339
+ title: parsed.title ?? "",
340
+ hasLegend: needsLegend,
341
+ legendWidth: legendExtent.width,
342
+ legendHeight: legendExtent.height,
343
+ containerWidth: width,
344
+ titleBandHeight: titleOffset,
345
+ legendReserve: legendH,
346
+ titleBaselineY: sTitleY,
347
+ titleFontSize: sTitleFontSize
348
+ });
318
349
  const groupLabelsSet = new Set(layout.groups.map((g) => g.label));
319
350
  let labelZoneExtension = 0;
320
351
  for (const group of parsed.groups) {
@@ -323,19 +354,20 @@ function renderBoxesAndLines(container, parsed, layout, palette, isDark, options
323
354
  }
324
355
  }
325
356
  const contentW = layout.width;
326
- const contentH = layout.height + titleOffset + legendH + labelZoneExtension;
357
+ const vOverhead = titleOffset + (header.inline ? 0 : legendH) + labelZoneExtension;
358
+ const availH = Math.max(1, height - vOverhead - sDiagramPadding * 2);
327
359
  const scaleX = width / (contentW + sDiagramPadding * 2);
328
- const scaleY = height / (contentH + sDiagramPadding * 2);
360
+ const scaleY = availH / layout.height;
329
361
  const scale = Math.min(scaleX, scaleY, 3);
330
362
  const offsetX = (width - contentW * scale) / 2;
331
- const offsetY = sDiagramPadding + titleOffset + legendH;
363
+ const offsetY = sDiagramPadding + titleOffset + (header.inline ? 0 : legendH);
332
364
  const svg = d3Selection.select(container).append("svg").attr("width", width).attr("height", height).attr("viewBox", `0 0 ${width} ${height}`).attr("preserveAspectRatio", "xMidYMin meet").style("font-family", FONT_FAMILY).style("background", palette.bg);
333
365
  if (sctx.isBelowFloor) {
334
366
  svg.attr("width", "100%");
335
367
  }
336
368
  const defs = svg.append("defs");
337
369
  if (showTitle) {
338
- svg.append("text").attr("x", width / 2).attr("y", sTitleY).attr("text-anchor", "middle").attr("font-size", sTitleFontSize).attr("font-weight", TITLE_FONT_WEIGHT).attr("fill", palette.text).text(parsed.title);
370
+ svg.append("text").attr("class", "chart-title").attr("x", header.titleX).attr("y", sTitleY).attr("text-anchor", header.titleAnchor).attr("font-size", sTitleFontSize).attr("font-weight", TITLE_FONT_WEIGHT).attr("fill", palette.text).text(parsed.title);
339
371
  }
340
372
  const diagramG = svg.append("g").attr("transform", `translate(${offsetX},${offsetY}) scale(${scale})`);
341
373
  const arrowColors = /* @__PURE__ */ new Set();
@@ -388,6 +420,18 @@ function renderBoxesAndLines(container, parsed, layout, palette, isDark, options
388
420
  for (let li = 0; li < fitted.lines.length; li++) {
389
421
  groupG.append("text").attr("class", "bl-group-label").attr("x", group.x).attr("y", group.y - totalH / 2 + lineH / 2 + li * lineH).attr("text-anchor", "middle").attr("dominant-baseline", "central").attr("font-family", FONT_FAMILY).attr("font-size", fitted.fontSize).attr("font-weight", "600").attr("fill", palette.text).text(fitted.lines[li]);
390
422
  }
423
+ if (group.childCount !== void 0 && group.childCount > 0) {
424
+ const chipFont = Math.max(9, sMinNodeFontSize - 2);
425
+ const chipH = chipFont + 7;
426
+ const chipW = Math.max(
427
+ chipH,
428
+ String(group.childCount).length * chipFont * 0.62 + 10
429
+ );
430
+ const chipCx = gx + group.width - chipW / 2 - 6;
431
+ const chipCy = gy + chipH / 2 + 6;
432
+ groupG.append("rect").attr("class", "bl-collapse-count").attr("x", chipCx - chipW / 2).attr("y", chipCy - chipH / 2).attr("width", chipW).attr("height", chipH).attr("rx", chipH / 2).attr("ry", chipH / 2).attr("fill", palette.textMuted).attr("fill-opacity", 0.18);
433
+ groupG.append("text").attr("class", "bl-collapse-count").attr("x", chipCx).attr("y", chipCy).attr("text-anchor", "middle").attr("dominant-baseline", "central").attr("font-family", FONT_FAMILY).attr("font-size", chipFont).attr("font-weight", "600").attr("fill", palette.text).text(String(group.childCount));
434
+ }
391
435
  } else {
392
436
  groupG.append("rect").attr("x", gx).attr("y", gy).attr("width", group.width).attr("height", groupHeight).attr("rx", GROUP_RX).attr("ry", GROUP_RX).attr("fill", mix(palette.surface, palette.bg, 40)).attr("stroke", palette.textMuted).attr("stroke-width", 1).attr("stroke-opacity", 0.35);
393
437
  groupG.append("text").attr("class", "bl-group-label").attr("x", gx + group.width / 2).attr("y", gy + 18).attr("text-anchor", "middle").attr("font-family", FONT_FAMILY).attr("font-size", sGroupLabelFontSize).attr("font-weight", "600").attr("fill", palette.text).text(group.label);
@@ -710,11 +754,20 @@ function renderBoxesAndLines(container, parsed, layout, palette, isDark, options
710
754
  }
711
755
  }
712
756
  };
713
- const legendG = svg.append("g").attr("transform", `translate(0,${titleOffset + 4})`);
757
+ const legendG = svg.append("g").attr(
758
+ "transform",
759
+ header.inline ? `translate(${header.legendX}, ${header.legendY})` : `translate(0,${titleOffset + 4})`
760
+ );
714
761
  renderIntegratedLegend(legendG, {
715
762
  groups: legendGroups,
716
763
  activeGroup,
717
764
  mode: exportMode ? "export" : "preview",
765
+ // Inline → left-origin so the wrapper's right-flush translate lands the
766
+ // legend at the chart's right edge; stacked → centered below the title.
767
+ position: {
768
+ placement: "top-center",
769
+ titleRelation: header.inline ? "inline-with-title" : "below-title"
770
+ },
718
771
  // Keep inactive sibling tag groups visible as collapsed pills so the user
719
772
  // can click one to flip the active colouring dimension (preview only).
720
773
  showInactivePills: true,
@@ -759,4 +812,4 @@ export {
759
812
  renderBoxesAndLines,
760
813
  renderBoxesAndLinesForExport
761
814
  };
762
- //# sourceMappingURL=chunk-WKNAJ4BR.js.map
815
+ //# sourceMappingURL=chunk-CQOC2MD6.js.map
@@ -5,12 +5,12 @@ import {
5
5
  parseFirstLine,
6
6
  splitNameAndMeta,
7
7
  warnUnknownMetaKeys
8
- } from "./chunk-3FRO35WW.js";
8
+ } from "./chunk-3KOPPSUQ.js";
9
9
  import {
10
10
  makeDgmoError,
11
11
  makeFail,
12
12
  suggest
13
- } from "./chunk-4W2PE66Q.js";
13
+ } from "./chunk-OLMWTJVU.js";
14
14
 
15
15
  // src/tech-radar/parser.ts
16
16
  var VALID_POSITIONS = [
@@ -338,4 +338,4 @@ function assignGlobalNumbers(result) {
338
338
  export {
339
339
  parseTechRadar
340
340
  };
341
- //# sourceMappingURL=chunk-TLNVYWPA.js.map
341
+ //# sourceMappingURL=chunk-CXI6X54X.js.map
@@ -12,20 +12,26 @@ import {
12
12
  normalizeNumericToken,
13
13
  parseFirstLine,
14
14
  parseSeriesNames
15
- } from "./chunk-3FRO35WW.js";
15
+ } from "./chunk-3KOPPSUQ.js";
16
16
  import {
17
17
  RECOGNIZED_COLOR_NAMES,
18
18
  resolveColorWithDiagnostic
19
- } from "./chunk-ZKPPI6BF.js";
19
+ } from "./chunk-EXNKNJ65.js";
20
20
  import {
21
+ NEGATIVE_VALUE_DX,
21
22
  TITLE_DIRECTIVE_DX,
22
23
  emit,
23
24
  formatDgmoError,
24
25
  makeDgmoError,
25
26
  suggest
26
- } from "./chunk-4W2PE66Q.js";
27
+ } from "./chunk-OLMWTJVU.js";
27
28
 
28
29
  // src/chart.ts
30
+ var CHANNEL_NAME = {
31
+ pie: "pie slices",
32
+ "polar-area": "polar-area wedges",
33
+ radar: "radar axis values"
34
+ };
29
35
  var VALID_TYPES = /* @__PURE__ */ new Set([
30
36
  "bar",
31
37
  "line",
@@ -57,6 +63,7 @@ var KNOWN_BOOLEANS = /* @__PURE__ */ new Set([
57
63
  "fill-outline",
58
64
  "no-title",
59
65
  "no-legend",
66
+ "legend-inline",
60
67
  "no-auto-y",
61
68
  "fill",
62
69
  "hole"
@@ -202,6 +209,8 @@ function parseChart(content, palette) {
202
209
  result.noTitle = true;
203
210
  } else if (firstToken === "no-legend") {
204
211
  result.noLegend = true;
212
+ } else if (firstToken === "legend-inline") {
213
+ result.legendInline = true;
205
214
  } else if (firstToken === "no-auto-y") {
206
215
  result.noAutoY = true;
207
216
  } else if (firstToken === "fill") {
@@ -359,6 +368,19 @@ function parseChart(content, palette) {
359
368
  lineNumber
360
369
  );
361
370
  const [first, ...rest] = dataValues.values;
371
+ if (result.type === "pie" || result.type === "polar-area" || result.type === "radar") {
372
+ const neg = dataValues.values.find((v) => v < 0);
373
+ if (neg !== void 0) {
374
+ result.diagnostics.push(
375
+ emit(NEGATIVE_VALUE_DX, lineNumber, {
376
+ value: neg,
377
+ label: rawLabel,
378
+ channel: CHANNEL_NAME[result.type]
379
+ })
380
+ );
381
+ continue;
382
+ }
383
+ }
362
384
  result.data.push({
363
385
  label: rawLabel,
364
386
  // parseDataRowValues guarantees values.length >= 1.
@@ -728,11 +750,22 @@ function parseExtendedChartFull(content, palette) {
728
750
  result.diagnostics,
729
751
  palette
730
752
  ) : void 0;
753
+ const linkValue = parseFloat(val);
754
+ if (linkValue < 0) {
755
+ result.diagnostics.push(
756
+ emit(NEGATIVE_VALUE_DX, lineNumber, {
757
+ value: linkValue,
758
+ label: `${source} -> ${target}`,
759
+ channel: "flow widths"
760
+ })
761
+ );
762
+ continue;
763
+ }
731
764
  if (!result.links) result.links = [];
732
765
  result.links.push({
733
766
  source,
734
767
  target,
735
- value: parseFloat(val),
768
+ value: linkValue,
736
769
  ...linkColor && { color: linkColor },
737
770
  directed: arrow === "->",
738
771
  lineNumber
@@ -770,12 +803,22 @@ function parseExtendedChartFull(content, palette) {
770
803
  if (!result.nodeColors) result.nodeColors = {};
771
804
  result.nodeColors[target] = targetColor;
772
805
  }
806
+ const childValue = dataRow2.values[0];
807
+ if (childValue < 0) {
808
+ result.diagnostics.push(
809
+ emit(NEGATIVE_VALUE_DX, lineNumber, {
810
+ value: childValue,
811
+ label: `${source} -> ${target}`,
812
+ channel: "flow widths"
813
+ })
814
+ );
815
+ continue;
816
+ }
773
817
  if (!result.links) result.links = [];
774
818
  result.links.push({
775
819
  source,
776
820
  target,
777
- // In-bounds by values.length === 1 guard above.
778
- value: dataRow2.values[0],
821
+ value: childValue,
779
822
  ...linkColor && { color: linkColor },
780
823
  lineNumber
781
824
  });
@@ -787,7 +830,7 @@ function parseExtendedChartFull(content, palette) {
787
830
  const spaceIdx2 = trimmed.indexOf(" ");
788
831
  const lastTok = trimmed.substring(trimmed.lastIndexOf(" ") + 1);
789
832
  const hasNumericSuffix = spaceIdx2 >= 0 && !isNaN(parseFloat(normalizeNumericToken(lastTok) ?? lastTok));
790
- const isBareKeywordOption = spaceIdx2 < 0 && /^(fill-tint|fill-solid|fill-outline|no-name|no-value|no-percent|shade|no-title)$/i.test(
833
+ const isBareKeywordOption = spaceIdx2 < 0 && /^(fill|fill-tint|fill-solid|fill-outline|no-name|no-value|no-percent|no-title)$/i.test(
791
834
  trimmed
792
835
  );
793
836
  const leadToken = spaceIdx2 >= 0 ? trimmed.substring(0, spaceIdx2).toLowerCase() : "";
@@ -919,8 +962,8 @@ function parseExtendedChartFull(content, palette) {
919
962
  result.noPercent = true;
920
963
  continue;
921
964
  }
922
- if (firstToken === "shade") {
923
- result.shade = true;
965
+ if (firstToken === "fill" && spaceIdx < 0) {
966
+ result.fill = true;
924
967
  continue;
925
968
  }
926
969
  const fillFamily = fillModeFromToken(firstToken);
@@ -937,6 +980,10 @@ function parseExtendedChartFull(content, palette) {
937
980
  result.noLegend = true;
938
981
  continue;
939
982
  }
983
+ if (firstToken === "legend-inline" && spaceIdx < 0) {
984
+ result.legendInline = true;
985
+ continue;
986
+ }
940
987
  if (firstToken.startsWith("no-") && spaceIdx < 0) {
941
988
  continue;
942
989
  }
@@ -1019,6 +1066,16 @@ function parseExtendedChartFull(content, palette) {
1019
1066
  result.diagnostics,
1020
1067
  lineNumber
1021
1068
  );
1069
+ if (result.type === "funnel" && dataRow.values[0] < 0) {
1070
+ result.diagnostics.push(
1071
+ emit(NEGATIVE_VALUE_DX, lineNumber, {
1072
+ value: dataRow.values[0],
1073
+ label: rawLabel,
1074
+ channel: "funnel stage sizes"
1075
+ })
1076
+ );
1077
+ continue;
1078
+ }
1022
1079
  result.data.push({
1023
1080
  label: rawLabel,
1024
1081
  // In-bounds by values.length === 1 guard above.
@@ -1147,4 +1204,4 @@ export {
1147
1204
  getSimpleChartLegendGroups,
1148
1205
  getExtendedChartLegendGroups
1149
1206
  };
1150
- //# sourceMappingURL=chunk-AQEYUVGJ.js.map
1207
+ //# sourceMappingURL=chunk-CY5KE2P5.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-6EK55ART.js";
7
7
  import {
8
8
  resolveNotes
9
- } from "./chunk-QZAW5SFH.js";
9
+ } from "./chunk-7NK42OIB.js";
10
10
  import {
11
11
  measureText
12
12
  } from "./chunk-4ASYQ347.js";
@@ -201,4 +201,4 @@ function layoutClassDiagram(parsed, options) {
201
201
  export {
202
202
  layoutClassDiagram
203
203
  };
204
- //# sourceMappingURL=chunk-COVYNAKJ.js.map
204
+ //# sourceMappingURL=chunk-D3WTEBGT.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  stripQuotes,
3
3
  tokenizeQuoteAware
4
- } from "./chunk-3FRO35WW.js";
4
+ } from "./chunk-3KOPPSUQ.js";
5
5
  import {
6
6
  CATEGORICAL_COLOR_ORDER,
7
7
  RECOGNIZED_COLOR_NAMES,
8
8
  resolveColor
9
- } from "./chunk-ZKPPI6BF.js";
9
+ } from "./chunk-EXNKNJ65.js";
10
10
 
11
11
  // src/utils/tag-groups.ts
12
12
  function tagAttrKey(name) {
@@ -250,4 +250,4 @@ export {
250
250
  resolveActiveTagGroup,
251
251
  matchTagBlockHeading
252
252
  };
253
- //# sourceMappingURL=chunk-AHTTKERF.js.map
253
+ //# sourceMappingURL=chunk-D5FANMSG.js.map
@@ -2,13 +2,13 @@ import {
2
2
  extractColor,
3
3
  measureIndent,
4
4
  parseFirstLine
5
- } from "./chunk-3FRO35WW.js";
5
+ } from "./chunk-3KOPPSUQ.js";
6
6
  import {
7
7
  emit,
8
8
  formatDgmoError,
9
9
  makeFail,
10
10
  suggest
11
- } from "./chunk-4W2PE66Q.js";
11
+ } from "./chunk-OLMWTJVU.js";
12
12
 
13
13
  // src/version-control/diagnostics.ts
14
14
  var VERSION_CONTROL_DX = {
@@ -507,4 +507,4 @@ export {
507
507
  VERSION_CONTROL_DIAGNOSTICS,
508
508
  parseVersionControl
509
509
  };
510
- //# sourceMappingURL=chunk-CCGWX6AO.js.map
510
+ //# sourceMappingURL=chunk-D64FRGKU.js.map
@@ -20,7 +20,7 @@ import {
20
20
  tagAttrKey,
21
21
  validateTagGroupNames,
22
22
  validateTagValues
23
- } from "./chunk-AHTTKERF.js";
23
+ } from "./chunk-D5FANMSG.js";
24
24
  import {
25
25
  PERT_REGISTRY,
26
26
  extractColor,
@@ -29,12 +29,12 @@ import {
29
29
  splitNameAndMeta,
30
30
  warnUnknownMetaKeys,
31
31
  withTagAliases
32
- } from "./chunk-3FRO35WW.js";
32
+ } from "./chunk-3KOPPSUQ.js";
33
33
  import {
34
34
  emit,
35
35
  makeDgmoError,
36
36
  suggest
37
- } from "./chunk-4W2PE66Q.js";
37
+ } from "./chunk-OLMWTJVU.js";
38
38
 
39
39
  // src/pert/diagnostics.ts
40
40
  var PERT_DX = {
@@ -144,6 +144,7 @@ var DIRECTIVE_KEYS = /* @__PURE__ */ new Set([
144
144
  "end-date",
145
145
  "no-title",
146
146
  "no-legend",
147
+ "legend-inline",
147
148
  "fill-tint",
148
149
  "fill-solid",
149
150
  "fill-outline",
@@ -1003,6 +1004,10 @@ function applyDirective(key, value, lineNumber, options, error, warn, dateCfg) {
1003
1004
  options.noLegend = true;
1004
1005
  return;
1005
1006
  }
1007
+ case "legend-inline": {
1008
+ options.legendInline = true;
1009
+ return;
1010
+ }
1006
1011
  case "fill-solid": {
1007
1012
  options.fillMode = "solid";
1008
1013
  return;
@@ -1251,4 +1256,4 @@ export {
1251
1256
  extractPertSymbols,
1252
1257
  looksLikePert
1253
1258
  };
1254
- //# sourceMappingURL=chunk-RRGKMJYL.js.map
1259
+ //# sourceMappingURL=chunk-DIKIHU52.js.map
@@ -14,12 +14,12 @@ import {
14
14
  formatOffsetLabel,
15
15
  isValidZone,
16
16
  parseFixedOffset
17
- } from "./chunk-APKUAJ2L.js";
17
+ } from "./chunk-A2RUBBVT.js";
18
18
  import {
19
19
  emit,
20
20
  formatDgmoError,
21
21
  suggest
22
- } from "./chunk-4W2PE66Q.js";
22
+ } from "./chunk-OLMWTJVU.js";
23
23
 
24
24
  // src/map/resolver.ts
25
25
  var WORLD_SPAN = 90;
@@ -775,4 +775,4 @@ export {
775
775
  isSubNationalUsExtent,
776
776
  resolveMap
777
777
  };
778
- //# sourceMappingURL=chunk-BULHGPHK.js.map
778
+ //# sourceMappingURL=chunk-DNSEG6P2.js.map
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-NOTA6TEI.js";
9
9
  import {
10
10
  makeDgmoError
11
- } from "./chunk-4W2PE66Q.js";
11
+ } from "./chunk-OLMWTJVU.js";
12
12
 
13
13
  // src/gantt/resolver.ts
14
14
  function isResolverError(r) {
@@ -784,4 +784,4 @@ export {
784
784
  resolveTaskName,
785
785
  calculateSchedule
786
786
  };
787
- //# sourceMappingURL=chunk-UJRTPOHH.js.map
787
+ //# sourceMappingURL=chunk-DUI5SMFX.js.map
@@ -9,16 +9,16 @@ import {
9
9
  matchTagBlockHeading,
10
10
  stripDefaultModifier,
11
11
  tagAttrKey
12
- } from "./chunk-AHTTKERF.js";
12
+ } from "./chunk-D5FANMSG.js";
13
13
  import {
14
14
  extractColor,
15
15
  fillModeFromToken,
16
16
  measureIndent,
17
17
  parseFirstLine
18
- } from "./chunk-3FRO35WW.js";
18
+ } from "./chunk-3KOPPSUQ.js";
19
19
  import {
20
20
  emit
21
- } from "./chunk-4W2PE66Q.js";
21
+ } from "./chunk-OLMWTJVU.js";
22
22
 
23
23
  // src/body/diagnostics.ts
24
24
  var BODY_DX = {
@@ -264,4 +264,4 @@ export {
264
264
  parseBody,
265
265
  extractSymbols
266
266
  };
267
- //# sourceMappingURL=chunk-VQFDBNYF.js.map
267
+ //# sourceMappingURL=chunk-EEKGMS63.js.map
@@ -11,7 +11,7 @@ import {
11
11
  matchTagBlockHeading,
12
12
  stripDefaultModifier,
13
13
  tagAttrKey
14
- } from "./chunk-AHTTKERF.js";
14
+ } from "./chunk-D5FANMSG.js";
15
15
  import {
16
16
  FAMILY_PERSON_REGISTRY,
17
17
  FAMILY_UNION_REGISTRY,
@@ -26,14 +26,14 @@ import {
26
26
  tokenizeQuoteAware,
27
27
  tryParseSharedOption,
28
28
  withTagAliases
29
- } from "./chunk-3FRO35WW.js";
29
+ } from "./chunk-3KOPPSUQ.js";
30
30
  import {
31
31
  nord,
32
32
  resolveColor
33
- } from "./chunk-ZKPPI6BF.js";
33
+ } from "./chunk-EXNKNJ65.js";
34
34
  import {
35
35
  emit
36
- } from "./chunk-4W2PE66Q.js";
36
+ } from "./chunk-OLMWTJVU.js";
37
37
 
38
38
  // src/family/diagnostics.ts
39
39
  var FAMILY_DX = {
@@ -571,4 +571,4 @@ export {
571
571
  FAMILY_DIAGNOSTICS,
572
572
  parseFamily
573
573
  };
574
- //# sourceMappingURL=chunk-MTZOXISJ.js.map
574
+ //# sourceMappingURL=chunk-ES3MUYRX.js.map
@@ -13,7 +13,7 @@ import {
13
13
  LEGEND_TOGGLE_DOT_R,
14
14
  measureLegendText,
15
15
  truncateLegendText
16
- } from "./chunk-Q5IHQ4NW.js";
16
+ } from "./chunk-SCJ7CAJF.js";
17
17
 
18
18
  // src/utils/number-format.ts
19
19
  function compactNumber(n) {
@@ -537,12 +537,33 @@ function getMaxLegendReservedHeight(config, containerWidth) {
537
537
  }
538
538
  return max;
539
539
  }
540
+ function getLegendExtent(config, state, containerWidth) {
541
+ const layout = computeLegendLayout(config, state, containerWidth);
542
+ let left = Infinity;
543
+ let right = 0;
544
+ let bottom = 0;
545
+ const track = (x, y, w, h) => {
546
+ left = Math.min(left, x);
547
+ right = Math.max(right, x + w);
548
+ bottom = Math.max(bottom, y + h);
549
+ };
550
+ if (layout.activeCapsule) {
551
+ const c = layout.activeCapsule;
552
+ track(c.x, c.y, c.width, c.height);
553
+ }
554
+ for (const pill of layout.pills) track(pill.x, pill.y, pill.width, pill.height);
555
+ return {
556
+ width: right - (left === Infinity ? 0 : left),
557
+ height: bottom || LEGEND_HEIGHT
558
+ };
559
+ }
540
560
 
541
561
  export {
542
562
  compactNumber,
543
563
  controlsGroupCapsuleWidth,
544
564
  computeLegendLayout,
545
565
  getLegendReservedHeight,
546
- getMaxLegendReservedHeight
566
+ getMaxLegendReservedHeight,
567
+ getLegendExtent
547
568
  };
548
- //# sourceMappingURL=chunk-J7HQPVYH.js.map
569
+ //# sourceMappingURL=chunk-ES66QH6J.js.map