@diagrammo/dgmo 0.53.0 → 0.55.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 (212) hide show
  1. package/dist/advanced.d.ts +112 -9
  2. package/dist/advanced.js +188 -160
  3. package/dist/auto.js +147 -132
  4. package/dist/auto.mjs +2352 -746
  5. package/dist/block.js +65 -62
  6. package/dist/chart-meta.js +52 -49
  7. package/dist/{charts-d3-DH2XA45I.js → charts-d3-KZ6V4OP2.js} +10 -8
  8. package/dist/chunk-2CW5ZTNH.js +58 -0
  9. package/dist/{chunk-MA3HJZHB.js → chunk-2HX6ZGY7.js} +7 -7
  10. package/dist/{chunk-YG2BEIQU.js → chunk-2R6HG6D5.js} +11 -11
  11. package/dist/{chunk-65V6IRFN.js → chunk-2ZJXKJSI.js} +106 -60
  12. package/dist/{chunk-PYO4TJJ3.js → chunk-32HUNA33.js} +60 -18
  13. package/dist/{chunk-UK6DKJLD.js → chunk-3BFXELBL.js} +51 -4
  14. package/dist/{chunk-RW5PEJ7D.js → chunk-3BZJ5KD5.js} +7 -3
  15. package/dist/{chunk-FT7TPPZ5.js → chunk-3FUTFYSP.js} +65 -26
  16. package/dist/{chunk-QAALSCKI.js → chunk-4MZCJV4M.js} +12 -12
  17. package/dist/{chunk-ZXUAPTCK.js → chunk-4R5KIPNX.js} +2 -2
  18. package/dist/{chunk-QWIBT6DS.js → chunk-5D5VHDJM.js} +49 -14
  19. package/dist/{chunk-U7NKYLX2.js → chunk-5H5GWWA4.js} +55 -19
  20. package/dist/{chunk-P3H7QVDH.js → chunk-5K5XBEXT.js} +11 -6
  21. package/dist/{chunk-PT4SW76W.js → chunk-6NJWBMJV.js} +49 -14
  22. package/dist/{chunk-I46X5VUA.js → chunk-7TF3QOOD.js} +25 -1
  23. package/dist/{chunk-6DCOIN4W.js → chunk-A2ARDILY.js} +783 -3
  24. package/dist/{chunk-CK2GMDXD.js → chunk-A2PTRSAO.js} +2 -2
  25. package/dist/{chunk-APKUAJ2L.js → chunk-A2RUBBVT.js} +14 -1
  26. package/dist/{chunk-GMIJ35PW.js → chunk-A4UJP4IS.js} +68 -20
  27. package/dist/{chunk-LQHVDZYC.js → chunk-AKE6C2D7.js} +4 -4
  28. package/dist/{chunk-W5KMNC5U.js → chunk-ASPS5O6F.js} +9 -10
  29. package/dist/{chunk-FLDC7ZAK.js → chunk-AU75JHSR.js} +6 -3
  30. package/dist/chunk-BEOAKGNA.js +484 -0
  31. package/dist/{chunk-XY3UDKKH.js → chunk-COVYNAKJ.js} +4 -4
  32. package/dist/{chunk-4ASVFYB2.js → chunk-DS4MDEQ7.js} +5 -5
  33. package/dist/{chunk-7JDTNFAK.js → chunk-EFUQENO5.js} +76 -32
  34. package/dist/{chunk-BULHGPHK.js → chunk-EMSOFHEN.js} +2 -2
  35. package/dist/{chunk-3BEKKRH5.js → chunk-ETTDF3S2.js} +49 -11
  36. package/dist/{chunk-JHOAH4TI.js → chunk-ETYF5QZR.js} +2 -2
  37. package/dist/{chunk-AHXIMHDQ.js → chunk-F5ZNUMSY.js} +53 -14
  38. package/dist/{chunk-I64ECJX3.js → chunk-FBP33UM6.js} +3 -3
  39. package/dist/{chunk-VIRANCNY.js → chunk-FGAMFJNJ.js} +58 -20
  40. package/dist/{chunk-774C2FF3.js → chunk-GRXPFBYC.js} +24 -3
  41. package/dist/{chunk-NNYFQOTK.js → chunk-GTO5VCYG.js} +10 -8
  42. package/dist/{chunk-RJ5LBZ5U.js → chunk-HES4K6DV.js} +13 -13
  43. package/dist/{chunk-AZNXGWDC.js → chunk-HGKOVKAX.js} +7 -7
  44. package/dist/{chunk-DWUMPMV2.js → chunk-HLGOG44K.js} +2 -2
  45. package/dist/{chunk-VJHBSPGF.js → chunk-HUTP35XT.js} +5 -4
  46. package/dist/{chunk-3CZLWOCI.js → chunk-HX7QNHC6.js} +3 -3
  47. package/dist/{chunk-R5NH5BZG.js → chunk-IALX52TR.js} +6 -6
  48. package/dist/{chunk-A44USUV7.js → chunk-ICZ7M6IZ.js} +23 -17
  49. package/dist/{chunk-27STWBOK.js → chunk-IF4KYSJZ.js} +10 -8
  50. package/dist/{chunk-HORZ5H2L.js → chunk-IG6J7JWH.js} +61 -22
  51. package/dist/{chunk-VRRDUYOK.js → chunk-IIUYKQ5J.js} +3 -3
  52. package/dist/{chunk-GMAH572Z.js → chunk-INTAQV2Y.js} +2 -2
  53. package/dist/{chunk-6AUZPPAV.js → chunk-ITXL2KU5.js} +2 -2
  54. package/dist/{chunk-KKHCNSKK.js → chunk-IWG2ECAO.js} +5 -5
  55. package/dist/{chunk-GQ644SPD.js → chunk-JGCEFKZP.js} +14 -14
  56. package/dist/{chunk-HNBY6CNV.js → chunk-JQLSFZZP.js} +2 -2
  57. package/dist/{chunk-CMVZWP32.js → chunk-JR7Q6GHE.js} +2 -2
  58. package/dist/{chunk-LHILKFDP.js → chunk-KC3WBBI7.js} +9 -9
  59. package/dist/{chunk-GABSL6TH.js → chunk-KK3L5NVK.js} +3 -3
  60. package/dist/{chunk-LC3FFD43.js → chunk-L2DIXZUT.js} +98 -48
  61. package/dist/{chunk-4WGMGKCZ.js → chunk-LCRPGGGS.js} +11 -11
  62. package/dist/{chunk-6KY7OCZC.js → chunk-LKGQ46P4.js} +3 -3
  63. package/dist/{chunk-HE5J53SZ.js → chunk-LW7STMYZ.js} +3 -3
  64. package/dist/{chunk-BD3WGY4T.js → chunk-M53MDBIW.js} +2 -2
  65. package/dist/{chunk-AN2DQB3G.js → chunk-MEH4TJEX.js} +12 -12
  66. package/dist/{chunk-SGPFVDUL.js → chunk-MNS2ENXF.js} +6 -6
  67. package/dist/{chunk-FXCB7H5O.js → chunk-MSWIBF6J.js} +2 -2
  68. package/dist/{chunk-BR7AYN76.js → chunk-NL7FUIVD.js} +12 -12
  69. package/dist/{chunk-AIMLCDAO.js → chunk-NN5TF4OV.js} +2 -2
  70. package/dist/{chunk-7GUF6SDR.js → chunk-NPPUZ4SK.js} +9 -9
  71. package/dist/{chunk-4K42RUGC.js → chunk-NYOOPQFD.js} +47 -12
  72. package/dist/{chunk-FFXCKZOU.js → chunk-O4CZDTQA.js} +3 -3
  73. package/dist/{chunk-6HTRCTAS.js → chunk-P5XXIVEU.js} +6 -4
  74. package/dist/{chunk-XEAQDIMF.js → chunk-PC4YLEKA.js} +6 -6
  75. package/dist/{chunk-Q7AH665U.js → chunk-PCVXXPYU.js} +121 -38
  76. package/dist/{chunk-W2DINCHL.js → chunk-PKUWYPI5.js} +207 -24
  77. package/dist/{chunk-PV2QO7QL.js → chunk-PSIDVCBA.js} +2 -2
  78. package/dist/{chunk-YR43LJT5.js → chunk-PV7ND5WL.js} +58 -15
  79. package/dist/{chunk-QI3BOLQB.js → chunk-Q5CMQVWF.js} +4 -4
  80. package/dist/{chunk-4RGZFA7H.js → chunk-Q5IHQ4NW.js} +11 -1
  81. package/dist/{chunk-SG4PRYO3.js → chunk-QQXFYTLC.js} +391 -60
  82. package/dist/{chunk-GWQJKTFS.js → chunk-QZYGRDMM.js} +118 -99
  83. package/dist/{chunk-CQFNIIQN.js → chunk-RKBCKCSF.js} +2 -2
  84. package/dist/{chunk-FUKNRLIJ.js → chunk-RSBH2C7O.js} +6 -6
  85. package/dist/{chunk-2QC4HXCY.js → chunk-RYNCWA5X.js} +11 -10
  86. package/dist/{chunk-NNUMX6WX.js → chunk-RZWIPDZ2.js} +40 -15
  87. package/dist/{chunk-VKNCC2GX.js → chunk-S52F62GW.js} +13 -13
  88. package/dist/{chunk-UQRIKAMH.js → chunk-SCOHNGPG.js} +59 -18
  89. package/dist/{chunk-VGNIDAPQ.js → chunk-SSHS42QG.js} +4 -4
  90. package/dist/chunk-TGOMHUOV.js +218 -0
  91. package/dist/{chunk-UKP5HWB5.js → chunk-UBQU2BY6.js} +4 -4
  92. package/dist/{chunk-IQJCVREL.js → chunk-UES4P7FN.js} +6 -6
  93. package/dist/chunk-US3P2DQO.js +87 -0
  94. package/dist/{chunk-GAWKIIPO.js → chunk-UXXLE6AH.js} +8 -8
  95. package/dist/{chunk-22OQWBWD.js → chunk-VMWSZCAK.js} +12 -11
  96. package/dist/{chunk-XG4NWFPY.js → chunk-VVIRAGID.js} +13 -13
  97. package/dist/{chunk-X3RXGSCZ.js → chunk-VXTUWXFB.js} +54 -15
  98. package/dist/{chunk-J7HI6G3G.js → chunk-W4TSD3IP.js} +6 -6
  99. package/dist/{chunk-FGDSTT3F.js → chunk-WB3NA3JJ.js} +2 -2
  100. package/dist/{chunk-KUSAVOWZ.js → chunk-WITOJZGL.js} +8 -4
  101. package/dist/{chunk-UVDCHR4E.js → chunk-WVGNXDEE.js} +2 -2
  102. package/dist/{chunk-HOXKNRON.js → chunk-X3X4LZDC.js} +2 -2
  103. package/dist/{chunk-SQCBSFT5.js → chunk-XKKH2DPG.js} +51 -263
  104. package/dist/{chunk-NR5HCAUD.js → chunk-XSVWUOUZ.js} +1 -1
  105. package/dist/{chunk-BFDVEO5R.js → chunk-Y4BBGFKY.js} +2 -2
  106. package/dist/{chunk-VAO6ANGC.js → chunk-YP2T5YUP.js} +14 -9
  107. package/dist/{chunk-PKNNHU7H.js → chunk-YXKNXIWA.js} +19 -11
  108. package/dist/{chunk-UFQJMOVZ.js → chunk-ZGIBV36U.js} +6 -6
  109. package/dist/{chunk-XQ4KN6JQ.js → chunk-ZP265ICS.js} +16 -15
  110. package/dist/{chunk-JTMSWEIW.js → chunk-ZWVKTWK6.js} +4 -4
  111. package/dist/{chunk-ALYZ3MAA.js → chunk-ZXNHHO6D.js} +8 -476
  112. package/dist/cli.cjs +166 -149
  113. package/dist/clock.js +34 -1
  114. package/dist/completion-registry.d.ts +129 -0
  115. package/dist/completion-registry.js +1278 -0
  116. package/dist/{compute-G55RG53N.js → compute-JAP5E2E4.js} +2 -2
  117. package/dist/dgmo-router-T4HGLIGA.js +88 -0
  118. package/dist/{dimensions-K6PGYYGT.js → dimensions-3JINHSYK.js} +8 -8
  119. package/dist/editor.js +28 -1
  120. package/dist/element.js +148 -133
  121. package/dist/element.mjs +2352 -746
  122. package/dist/{flowchart-parser-LALR6J6F.js → flowchart-parser-M7KKTLX7.js} +5 -5
  123. package/dist/{flowchart-renderer-DXYB5YRF.js → flowchart-renderer-FFEQFQEU.js} +9 -9
  124. package/dist/highlight.js +28 -1
  125. package/dist/index.js +77 -64
  126. package/dist/{layout-ZE5DRJWX.js → layout-3ZZBKUQC.js} +4 -4
  127. package/dist/{layout-3BVDMKXI.js → layout-AUKTWGYL.js} +4 -4
  128. package/dist/{layout-4IHCMWZN.js → layout-CRLTSFYQ.js} +4 -4
  129. package/dist/{layout-WCAIKGZG.js → layout-FNZDJGKF.js} +5 -5
  130. package/dist/layout-GHWRJKZQ.js +15 -0
  131. package/dist/{layout-3V2A4MUE.js → layout-LGXOKUCD.js} +6 -5
  132. package/dist/{layout-WSMPBQ4Q.js → layout-NF4EWFLT.js} +3 -3
  133. package/dist/{layout-OL2XFJXA.js → layout-SP7HJWKA.js} +3 -3
  134. package/dist/{layout-E6HR6PXH.js → layout-UR7CYAHL.js} +3 -3
  135. package/dist/layout-UTMEVFHN.js +15 -0
  136. package/dist/{layout-search-34DPZD43.js → layout-search-U2H4ORFJ.js} +14 -7
  137. package/dist/{legend-constants-P5EQWRQQ.js → legend-constants-B77VKB3R.js} +7 -2
  138. package/dist/{parser-6PPHAXXH.js → parser-2AXPSKWB.js} +5 -5
  139. package/dist/{parser-5HQXCNOS.js → parser-2AZ2KQTO.js} +4 -4
  140. package/dist/{parser-3KIGEEJM.js → parser-2LF33IS2.js} +4 -4
  141. package/dist/{parser-NNIL3HXU.js → parser-3QJ2Z4H4.js} +3 -3
  142. package/dist/parser-5GCQFSTQ.js +13 -0
  143. package/dist/{parser-6B6SSZT7.js → parser-62OHBRU5.js} +3 -3
  144. package/dist/{parser-VOERD6XR.js → parser-7LYJFZCP.js} +4 -4
  145. package/dist/{parser-ZGNXYFPS.js → parser-BMOTF72G.js} +3 -3
  146. package/dist/{parser-IVGHXLZP.js → parser-CIFLYZYP.js} +4 -3
  147. package/dist/{parser-GN2MM5CC.js → parser-D2UL2G5U.js} +3 -3
  148. package/dist/{parser-GKP2MHHL.js → parser-DM2APTKB.js} +3 -3
  149. package/dist/{parser-27Z76SN3.js → parser-DYYTPLBL.js} +4 -4
  150. package/dist/{parser-5FGJSQNS.js → parser-GOUGUTPU.js} +4 -4
  151. package/dist/{parser-G26MTBFS.js → parser-HGVUVD6J.js} +3 -3
  152. package/dist/{parser-EXNBDNGY.js → parser-IEJD3CZB.js} +3 -3
  153. package/dist/{parser-ZQDQTB4X.js → parser-JBEWNLAV.js} +5 -5
  154. package/dist/{parser-5QPFOB5F.js → parser-JMXPHNZD.js} +4 -4
  155. package/dist/{parser-4E4I3GNT.js → parser-JMXSQY3K.js} +4 -4
  156. package/dist/{parser-FF4BMRSB.js → parser-LUXS7J32.js} +4 -4
  157. package/dist/{parser-3VSWEKBF.js → parser-M5BUHULF.js} +4 -4
  158. package/dist/{parser-IKWK2ZU3.js → parser-MESRHUS4.js} +4 -5
  159. package/dist/{parser-3CODK6RG.js → parser-OOYNI2UT.js} +4 -4
  160. package/dist/{parser-YSLNDFLV.js → parser-PVBUAVRR.js} +4 -5
  161. package/dist/{parser-CKA3QMAG.js → parser-QKRBSQLJ.js} +5 -5
  162. package/dist/{parser-UWRX52PC.js → parser-S6NWSIJO.js} +4 -4
  163. package/dist/{parser-RNLTBIJ6.js → parser-SFEK6Q7Z.js} +4 -4
  164. package/dist/{parser-7JVIDLLR.js → parser-SUV52NQW.js} +4 -4
  165. package/dist/{parser-CRKLXGW7.js → parser-SZHGLOOZ.js} +4 -4
  166. package/dist/{parser-275KP7JO.js → parser-TO7IENWL.js} +5 -6
  167. package/dist/{parser-XNKJCMMA.js → parser-TVAMC7CQ.js} +4 -4
  168. package/dist/{parser-FOOFEJQU.js → parser-VAW46R57.js} +4 -4
  169. package/dist/{parser-XVPTRWZ4.js → parser-XDSPOXSE.js} +4 -4
  170. package/dist/pert.d.ts +2 -0
  171. package/dist/{renderer-D3BRNOMV.js → renderer-3PWLOJPD.js} +11 -11
  172. package/dist/{renderer-7NQSTQMQ.js → renderer-5EMHIQL5.js} +4 -4
  173. package/dist/{renderer-ZBTEX2JK.js → renderer-5PODNLYP.js} +4 -4
  174. package/dist/{renderer-6WRYVM5R.js → renderer-AQJIQ2XU.js} +9 -8
  175. package/dist/{renderer-JCZG6AYU.js → renderer-BEW3AYFT.js} +10 -10
  176. package/dist/{renderer-YUKPS27O.js → renderer-C3UYAXA6.js} +10 -8
  177. package/dist/{renderer-AK2WO4EI.js → renderer-CENXCMWG.js} +4 -4
  178. package/dist/{renderer-HIFQVEJA.js → renderer-CXM3ARYN.js} +10 -9
  179. package/dist/{renderer-JTCX6PCG.js → renderer-DW6TEBLA.js} +10 -9
  180. package/dist/{renderer-VMH6L6CP.js → renderer-FE5M6SEZ.js} +10 -9
  181. package/dist/{renderer-TYHGXAVT.js → renderer-FXK6ZL3P.js} +4 -4
  182. package/dist/{renderer-UPF7NRTI.js → renderer-G5ESLCJB.js} +12 -11
  183. package/dist/{renderer-CWEFGEIC.js → renderer-HTDS4FED.js} +14 -13
  184. package/dist/{renderer-XTXSOK3L.js → renderer-IO4KCFVL.js} +10 -10
  185. package/dist/{renderer-SQ54MDSA.js → renderer-IRAFJNTK.js} +10 -9
  186. package/dist/{renderer-JWGQSTMR.js → renderer-MFTTFW32.js} +15 -14
  187. package/dist/{renderer-2C6DJRYN.js → renderer-MPXI4FVL.js} +8 -8
  188. package/dist/{renderer-5MPN7CXZ.js → renderer-NVBEMQ6L.js} +5 -5
  189. package/dist/{renderer-7ZNVOVFG.js → renderer-OOGDCR6K.js} +3 -3
  190. package/dist/{renderer-COLQFSFV.js → renderer-Q5P72O4A.js} +9 -9
  191. package/dist/{renderer-WCWI4I6A.js → renderer-QZESC66H.js} +2 -2
  192. package/dist/{renderer-NE5W7CQP.js → renderer-RDBUXW7P.js} +6 -5
  193. package/dist/{renderer-6EN5XXJZ.js → renderer-S4XB3JR2.js} +11 -11
  194. package/dist/{renderer-WFSUBKUL.js → renderer-SIWEEWJ5.js} +9 -8
  195. package/dist/{renderer-LVZAHRP6.js → renderer-TKTM2SL4.js} +12 -12
  196. package/dist/{renderer-QD2SJF2I.js → renderer-TXTTV4HA.js} +10 -9
  197. package/dist/{renderer-YUXGXGSW.js → renderer-UZIU4AHK.js} +10 -9
  198. package/dist/{renderer-RLMOTXZ6.js → renderer-V72VJIGG.js} +14 -13
  199. package/dist/{renderer-UKXW2QPE.js → renderer-VEGOEZOI.js} +10 -8
  200. package/dist/{renderer-WNFXYYGL.js → renderer-W6I6T2TA.js} +8 -8
  201. package/dist/{renderer-KARQF3F3.js → renderer-WSHJRR2T.js} +8 -8
  202. package/dist/{renderer-radial-WF6VOUOD.js → renderer-radial-AG75PBYD.js} +9 -9
  203. package/dist/{resolver-WFKZYBJ2.js → resolver-ZSFQQRTH.js} +3 -3
  204. package/dist/{state-parser-L7DHZIQO.js → state-parser-KIPZGIB4.js} +5 -5
  205. package/dist/{state-renderer-TFEUOP4H.js → state-renderer-U6OSJG52.js} +13 -12
  206. package/docs/language-reference.md +2 -1
  207. package/package.json +5 -1
  208. package/dist/chunk-YJVA3QUU.js +0 -734
  209. package/dist/dgmo-router-B4S23EBH.js +0 -86
  210. package/dist/layout-3M5UYJHY.js +0 -14
  211. package/dist/layout-KPQWJNAG.js +0 -14
  212. package/dist/parser-7JHWEWXM.js +0 -13
@@ -3,7 +3,7 @@ import {
3
3
  layoutJourneyMap,
4
4
  scoreToColor,
5
5
  scoreToCurveY
6
- } from "./chunk-J7HI6G3G.js";
6
+ } from "./chunk-W4TSD3IP.js";
7
7
  import {
8
8
  wrapNoteBody
9
9
  } from "./chunk-UU6LUYUH.js";
@@ -21,31 +21,31 @@ import {
21
21
  } from "./chunk-YYVTBZZC.js";
22
22
  import {
23
23
  renderIntegratedLegend
24
- } from "./chunk-W5KMNC5U.js";
24
+ } from "./chunk-ASPS5O6F.js";
25
25
  import {
26
26
  FONT_FAMILY
27
27
  } from "./chunk-6KFWC4CO.js";
28
28
  import {
29
29
  parseJourneyMap
30
- } from "./chunk-VJHBSPGF.js";
30
+ } from "./chunk-HUTP35XT.js";
31
+ import {
32
+ measureText,
33
+ truncateText,
34
+ wrapTextToWidth
35
+ } from "./chunk-4ASYQ347.js";
31
36
  import {
32
37
  contrastText,
33
38
  mix,
34
39
  shapeFill,
35
40
  themeBaseBg
36
41
  } from "./chunk-JYDMBWRP.js";
37
- import {
38
- measureText,
39
- truncateText,
40
- wrapTextToWidth
41
- } from "./chunk-4ASYQ347.js";
42
42
  import {
43
43
  resolveActiveTagGroup,
44
44
  tagAttrKey
45
- } from "./chunk-CMVZWP32.js";
45
+ } from "./chunk-JR7Q6GHE.js";
46
46
  import {
47
47
  fillModeFromOptions
48
- } from "./chunk-YJVA3QUU.js";
48
+ } from "./chunk-A2ARDILY.js";
49
49
 
50
50
  // src/journey-map/renderer.ts
51
51
  import * as d3 from "d3-selection";
@@ -868,4 +868,4 @@ export {
868
868
  renderJourneyMap,
869
869
  renderJourneyMapForExport
870
870
  };
871
- //# sourceMappingURL=chunk-4WGMGKCZ.js.map
871
+ //# sourceMappingURL=chunk-LCRPGGGS.js.map
@@ -17,10 +17,10 @@ import {
17
17
  import {
18
18
  resolveTagColor,
19
19
  tagAttrKey
20
- } from "./chunk-CMVZWP32.js";
20
+ } from "./chunk-JR7Q6GHE.js";
21
21
  import {
22
22
  fillModeFromOptions
23
- } from "./chunk-YJVA3QUU.js";
23
+ } from "./chunk-A2ARDILY.js";
24
24
  import {
25
25
  CATEGORICAL_COLOR_ORDER,
26
26
  resolveColor
@@ -401,4 +401,4 @@ function drawCenteredLabel(g, label, cx, cy, fill, fontSize, tight = false, halo
401
401
  export {
402
402
  renderSwimlaneForExport
403
403
  };
404
- //# sourceMappingURL=chunk-6KY7OCZC.js.map
404
+ //# sourceMappingURL=chunk-LKGQ46P4.js.map
@@ -11,7 +11,7 @@ import {
11
11
  LEGEND_PILL_FONT_SIZE,
12
12
  LEGEND_PILL_PAD,
13
13
  measureLegendText
14
- } from "./chunk-4RGZFA7H.js";
14
+ } from "./chunk-Q5IHQ4NW.js";
15
15
  import {
16
16
  measureText
17
17
  } from "./chunk-4ASYQ347.js";
@@ -19,7 +19,7 @@ import {
19
19
  injectDefaultTagMetadata,
20
20
  resolveTagColor,
21
21
  tagAttrKey
22
- } from "./chunk-CMVZWP32.js";
22
+ } from "./chunk-JR7Q6GHE.js";
23
23
 
24
24
  // src/sitemap/layout.ts
25
25
  import dagre from "@dagrejs/dagre";
@@ -617,4 +617,4 @@ function layoutSitemap(parsed, hiddenCounts, activeTagGroup, hiddenAttributes, e
617
617
  export {
618
618
  layoutSitemap
619
619
  };
620
- //# sourceMappingURL=chunk-HE5J53SZ.js.map
620
+ //# sourceMappingURL=chunk-LW7STMYZ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  compactNumber
3
- } from "./chunk-UVDCHR4E.js";
3
+ } from "./chunk-WVGNXDEE.js";
4
4
  import {
5
5
  parseInlineMarkdown
6
6
  } from "./chunk-3HDBAXF5.js";
@@ -361,4 +361,4 @@ export {
361
361
  renderGoal,
362
362
  renderGoalForExport
363
363
  };
364
- //# sourceMappingURL=chunk-BD3WGY4T.js.map
364
+ //# sourceMappingURL=chunk-M53MDBIW.js.map
@@ -1,15 +1,6 @@
1
- import {
2
- AUTO_TAG_COLOR_SENTINEL,
3
- finalizeAutoTagColors,
4
- matchTagBlockHeading,
5
- stripDefaultModifier,
6
- tagAttrKey,
7
- validateTagGroupNames,
8
- validateTagValues
9
- } from "./chunk-CMVZWP32.js";
10
1
  import {
11
2
  tryCollectNote
12
- } from "./chunk-ZXUAPTCK.js";
3
+ } from "./chunk-4R5KIPNX.js";
13
4
  import {
14
5
  resolveNotes
15
6
  } from "./chunk-QZAW5SFH.js";
@@ -20,6 +11,15 @@ import {
20
11
  displayName,
21
12
  normalizeName
22
13
  } from "./chunk-NOTA6TEI.js";
14
+ import {
15
+ AUTO_TAG_COLOR_SENTINEL,
16
+ finalizeAutoTagColors,
17
+ matchTagBlockHeading,
18
+ stripDefaultModifier,
19
+ tagAttrKey,
20
+ validateTagGroupNames,
21
+ validateTagValues
22
+ } from "./chunk-JR7Q6GHE.js";
23
23
  import {
24
24
  ALL_CHART_TYPES,
25
25
  FILL_FAMILY_TOKENS,
@@ -32,7 +32,7 @@ import {
32
32
  parseMetadataRegion,
33
33
  tryParseSharedOption,
34
34
  withTagAliases
35
- } from "./chunk-YJVA3QUU.js";
35
+ } from "./chunk-A2ARDILY.js";
36
36
  import {
37
37
  resolveColorWithDiagnostic
38
38
  } from "./chunk-ZKPPI6BF.js";
@@ -543,4 +543,4 @@ export {
543
543
  parseState,
544
544
  looksLikeState
545
545
  };
546
- //# sourceMappingURL=chunk-AN2DQB3G.js.map
546
+ //# sourceMappingURL=chunk-MEH4TJEX.js.map
@@ -1,3 +1,6 @@
1
+ import {
2
+ normalizeName
3
+ } from "./chunk-NOTA6TEI.js";
1
4
  import {
2
5
  AUTO_TAG_COLOR_SENTINEL,
3
6
  finalizeAutoTagColors,
@@ -7,10 +10,7 @@ import {
7
10
  tagAttrKey,
8
11
  validateTagGroupNames,
9
12
  validateTagValues
10
- } from "./chunk-CMVZWP32.js";
11
- import {
12
- normalizeName
13
- } from "./chunk-NOTA6TEI.js";
13
+ } from "./chunk-JR7Q6GHE.js";
14
14
  import {
15
15
  OPTION_NOCOLON_RE,
16
16
  ORG_REGISTRY,
@@ -20,7 +20,7 @@ import {
20
20
  splitNameAndMeta,
21
21
  warnUnknownMetaKeys,
22
22
  withTagAliases
23
- } from "./chunk-YJVA3QUU.js";
23
+ } from "./chunk-A2ARDILY.js";
24
24
  import {
25
25
  formatDgmoError,
26
26
  makeDgmoError,
@@ -362,4 +362,4 @@ export {
362
362
  looksLikeOrg,
363
363
  parseOrg
364
364
  };
365
- //# sourceMappingURL=chunk-SGPFVDUL.js.map
365
+ //# sourceMappingURL=chunk-MNS2ENXF.js.map
@@ -2,7 +2,7 @@ import {
2
2
  extractColor,
3
3
  measureIndent,
4
4
  parseFirstLine
5
- } from "./chunk-YJVA3QUU.js";
5
+ } from "./chunk-A2ARDILY.js";
6
6
  import {
7
7
  emit,
8
8
  formatDgmoError,
@@ -507,4 +507,4 @@ export {
507
507
  VERSION_CONTROL_DIAGNOSTICS,
508
508
  parseVersionControl
509
509
  };
510
- //# sourceMappingURL=chunk-FXCB7H5O.js.map
510
+ //# sourceMappingURL=chunk-MSWIBF6J.js.map
@@ -1,15 +1,6 @@
1
- import {
2
- AUTO_TAG_COLOR_SENTINEL,
3
- finalizeAutoTagColors,
4
- matchTagBlockHeading,
5
- stripDefaultModifier,
6
- tagAttrKey,
7
- validateTagGroupNames,
8
- validateTagValues
9
- } from "./chunk-CMVZWP32.js";
10
1
  import {
11
2
  tryCollectNote
12
- } from "./chunk-ZXUAPTCK.js";
3
+ } from "./chunk-4R5KIPNX.js";
13
4
  import {
14
5
  resolveNotes
15
6
  } from "./chunk-QZAW5SFH.js";
@@ -20,6 +11,15 @@ import {
20
11
  displayName,
21
12
  normalizeName
22
13
  } from "./chunk-NOTA6TEI.js";
14
+ import {
15
+ AUTO_TAG_COLOR_SENTINEL,
16
+ finalizeAutoTagColors,
17
+ matchTagBlockHeading,
18
+ stripDefaultModifier,
19
+ tagAttrKey,
20
+ validateTagGroupNames,
21
+ validateTagValues
22
+ } from "./chunk-JR7Q6GHE.js";
23
23
  import {
24
24
  ER_REGISTRY,
25
25
  OPTION_NOCOLON_RE,
@@ -32,7 +32,7 @@ import {
32
32
  tryParseSharedOption,
33
33
  warnUnknownMetaKeys,
34
34
  withTagAliases
35
- } from "./chunk-YJVA3QUU.js";
35
+ } from "./chunk-A2ARDILY.js";
36
36
  import {
37
37
  resolveColorWithDiagnostic
38
38
  } from "./chunk-ZKPPI6BF.js";
@@ -521,4 +521,4 @@ export {
521
521
  looksLikeERDiagram,
522
522
  extractSymbols
523
523
  };
524
- //# sourceMappingURL=chunk-BR7AYN76.js.map
524
+ //# sourceMappingURL=chunk-NL7FUIVD.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  isTagBlockHeading,
6
6
  matchTagBlockHeading
7
- } from "./chunk-CMVZWP32.js";
7
+ } from "./chunk-JR7Q6GHE.js";
8
8
  import {
9
9
  makeDgmoError
10
10
  } from "./chunk-4W2PE66Q.js";
@@ -401,4 +401,4 @@ export {
401
401
  normalizePertSourceForShare,
402
402
  resolveOrgImports
403
403
  };
404
- //# sourceMappingURL=chunk-AIMLCDAO.js.map
404
+ //# sourceMappingURL=chunk-NN5TF4OV.js.map
@@ -7,27 +7,27 @@ import {
7
7
  } from "./chunk-YYVTBZZC.js";
8
8
  import {
9
9
  renderIntegratedLegend
10
- } from "./chunk-W5KMNC5U.js";
10
+ } from "./chunk-ASPS5O6F.js";
11
11
  import {
12
12
  getMaxLegendReservedHeight
13
- } from "./chunk-774C2FF3.js";
13
+ } from "./chunk-GRXPFBYC.js";
14
14
  import {
15
15
  FONT_FAMILY
16
16
  } from "./chunk-6KFWC4CO.js";
17
- import {
18
- contrastText,
19
- mix,
20
- shapeFill
21
- } from "./chunk-JYDMBWRP.js";
22
17
  import {
23
18
  measureText,
24
19
  truncateText,
25
20
  wrapTextToWidth
26
21
  } from "./chunk-4ASYQ347.js";
22
+ import {
23
+ contrastText,
24
+ mix,
25
+ shapeFill
26
+ } from "./chunk-JYDMBWRP.js";
27
27
  import {
28
28
  fillModeFromOptions,
29
29
  legendSuppressed
30
- } from "./chunk-YJVA3QUU.js";
30
+ } from "./chunk-A2ARDILY.js";
31
31
 
32
32
  // src/tech-radar/renderer.ts
33
33
  import * as d3Selection2 from "d3-selection";
@@ -1603,4 +1603,4 @@ export {
1603
1603
  renderTechRadar,
1604
1604
  renderTechRadarForExport
1605
1605
  };
1606
- //# sourceMappingURL=chunk-7GUF6SDR.js.map
1606
+ //# sourceMappingURL=chunk-NPPUZ4SK.js.map
@@ -7,19 +7,20 @@ import {
7
7
  tagAttrKey,
8
8
  validateTagGroupNames,
9
9
  validateTagValues
10
- } from "./chunk-CMVZWP32.js";
10
+ } from "./chunk-JR7Q6GHE.js";
11
11
  import {
12
12
  TREEMAP_REGISTRY,
13
13
  extractColor,
14
14
  fillModeFromToken,
15
15
  measureIndent,
16
+ normalizeNumericToken,
16
17
  parseFirstLine,
17
18
  peelRampColors,
18
19
  splitNameAndMeta,
19
20
  stripQuotes,
20
21
  warnUnknownMetaKeys,
21
22
  withTagAliases
22
- } from "./chunk-YJVA3QUU.js";
23
+ } from "./chunk-A2ARDILY.js";
23
24
  import {
24
25
  emit,
25
26
  formatDgmoError,
@@ -48,6 +49,21 @@ var TREEMAP_DX = {
48
49
  hint: "Add a trailing number (e.g. `Lonely 40`) so the leaf gets a size.",
49
50
  example: "treemap T\nA\n Lonely"
50
51
  },
52
+ LEAF_VALUE_UNPARSEABLE: {
53
+ code: "W_TREEMAP_LEAF_VALUE_UNPARSEABLE",
54
+ severity: "warning",
55
+ chartType: "treemap",
56
+ title: "Leaf value could not be read as a number",
57
+ message: (p) => {
58
+ const token = p.token ?? "1,24,000";
59
+ return `Leaf "${p.label ?? "Cluster"}" \u2014 could not read "${token}" as a number, so it renders with zero size. Remove the grouping separators: ${token.replace(
60
+ /[,_]/g,
61
+ ""
62
+ )}`;
63
+ },
64
+ hint: "Grouping separators must split the digits into even groups \u2014 `1,240,000` or `1_240_000`. Anything else must be written plainly, e.g. `1240000`.",
65
+ example: "treemap T\nA\n Cluster 1,24,000"
66
+ },
51
67
  BRANCH_VALUE_IGNORED: {
52
68
  code: "W_TREEMAP_BRANCH_VALUE_IGNORED",
53
69
  severity: "warning",
@@ -61,7 +77,7 @@ var TREEMAP_DX = {
61
77
  var TREEMAP_DIAGNOSTICS = Object.values(TREEMAP_DX);
62
78
 
63
79
  // src/treemap/parser.ts
64
- var VALUE_TOKEN_RE = /^(.+?)\s+(-?\d[\d_.]*)$/;
80
+ var VALUE_TOKEN_RE = /^(.+?)\s+(-?\d[\d_,.]*)$/;
65
81
  function isFullyQuoted(s) {
66
82
  return s.length >= 2 && (s.startsWith('"') && s.endsWith('"') || s.startsWith("'") && s.endsWith("'"));
67
83
  }
@@ -102,6 +118,7 @@ function parseTreemap(content, palette) {
102
118
  const lines = content.split("\n");
103
119
  let contentStarted = false;
104
120
  let nodeCounter = 0;
121
+ const badValueTokens = /* @__PURE__ */ new Map();
105
122
  let currentTagGroup = null;
106
123
  const aliasMap = /* @__PURE__ */ new Map();
107
124
  const indentStack = [];
@@ -196,7 +213,8 @@ function parseTreemap(content, palette) {
196
213
  lineNumber,
197
214
  ++nodeCounter,
198
215
  aliasMap,
199
- result.diagnostics
216
+ result.diagnostics,
217
+ badValueTokens
200
218
  );
201
219
  if (node.heat !== void 0) result.hasHeat = true;
202
220
  attachNode(node, indent, indentStack, result);
@@ -223,8 +241,12 @@ function parseTreemap(content, palette) {
223
241
  delete node.value;
224
242
  }
225
243
  } else if (node.value === void 0) {
244
+ const bad = badValueTokens.get(n);
226
245
  result.diagnostics.push(
227
- emit(TREEMAP_DX.LEAF_NO_VALUE, node.lineNumber, {
246
+ bad !== void 0 ? emit(TREEMAP_DX.LEAF_VALUE_UNPARSEABLE, node.lineNumber, {
247
+ label: node.label,
248
+ token: bad
249
+ }) : emit(TREEMAP_DX.LEAF_NO_VALUE, node.lineNumber, {
228
250
  label: node.label
229
251
  })
230
252
  );
@@ -295,6 +317,10 @@ function handleDirective(trimmed, options, result, pushWarning, lineNumber) {
295
317
  else if (key === "legend") options.noLegend = true;
296
318
  return true;
297
319
  }
320
+ if (/^legend-inline\s*$/i.test(trimmed)) {
321
+ options.legendInline = true;
322
+ return true;
323
+ }
298
324
  {
299
325
  const fm = fillModeFromToken(trimmed);
300
326
  if (fm !== null) {
@@ -331,7 +357,7 @@ function resolveDefaultColorMode(result, pushWarning) {
331
357
  if (result.tagGroups.length > 0) return "tag";
332
358
  return "branch";
333
359
  }
334
- function parseNodeLine(trimmed, lineNumber, counter, aliasMap, diagnostics) {
360
+ function parseNodeLine(trimmed, lineNumber, counter, aliasMap, diagnostics, badValueTokens) {
335
361
  const registry = withTagAliases(TREEMAP_REGISTRY, new Set(aliasMap.keys()));
336
362
  const split = splitNameAndMeta(
337
363
  trimmed,
@@ -350,13 +376,15 @@ function parseNodeLine(trimmed, lineNumber, counter, aliasMap, diagnostics) {
350
376
  const metadata = { ...split.meta };
351
377
  let heat;
352
378
  if ("heat" in metadata) {
353
- const h = parseFloat(metadata["heat"].replace(/_/g, ""));
379
+ const rawHeat = metadata["heat"];
380
+ const h = parseFloat(normalizeNumericToken(rawHeat) ?? rawHeat);
354
381
  if (Number.isFinite(h)) heat = h;
355
382
  delete metadata["heat"];
356
383
  }
357
384
  const rawName = split.name;
358
385
  let label;
359
386
  let value;
387
+ let badValueToken;
360
388
  if (isFullyQuoted(rawName)) {
361
389
  label = stripQuotes(rawName);
362
390
  } else {
@@ -364,11 +392,16 @@ function parseNodeLine(trimmed, lineNumber, counter, aliasMap, diagnostics) {
364
392
  if (vm) {
365
393
  const labelPart = vm[1].trim();
366
394
  const token = vm[2];
367
- const cleaned = token.replace(/_/g, "");
368
- const parsed = parseFloat(cleaned);
395
+ const normalized = normalizeNumericToken(token);
396
+ const hasSeparators = /[,_]/.test(token);
397
+ const parsed = hasSeparators && normalized === null ? NaN : parseFloat(normalized ?? token);
398
+ const peeled = isFullyQuoted(labelPart) ? stripQuotes(labelPart) : labelPart;
369
399
  if (Number.isFinite(parsed)) {
370
400
  value = parsed;
371
- label = isFullyQuoted(labelPart) ? stripQuotes(labelPart) : labelPart;
401
+ label = peeled;
402
+ } else if (hasSeparators) {
403
+ label = peeled;
404
+ badValueToken = token;
372
405
  } else {
373
406
  label = rawName;
374
407
  }
@@ -376,7 +409,7 @@ function parseNodeLine(trimmed, lineNumber, counter, aliasMap, diagnostics) {
376
409
  label = rawName;
377
410
  }
378
411
  }
379
- return {
412
+ const node = {
380
413
  id: `treemap-node-${counter}`,
381
414
  label,
382
415
  ...value !== void 0 && { value },
@@ -385,6 +418,8 @@ function parseNodeLine(trimmed, lineNumber, counter, aliasMap, diagnostics) {
385
418
  children: [],
386
419
  lineNumber
387
420
  };
421
+ if (badValueToken !== void 0) badValueTokens.set(node, badValueToken);
422
+ return node;
388
423
  }
389
424
  function attachNode(node, indent, indentStack, result) {
390
425
  while (indentStack.length > 0) {
@@ -405,4 +440,4 @@ export {
405
440
  TREEMAP_DIAGNOSTICS,
406
441
  parseTreemap
407
442
  };
408
- //# sourceMappingURL=chunk-4K42RUGC.js.map
443
+ //# sourceMappingURL=chunk-NYOOPQFD.js.map
@@ -9,13 +9,13 @@ import {
9
9
  matchTagBlockHeading,
10
10
  stripDefaultModifier,
11
11
  tagAttrKey
12
- } from "./chunk-CMVZWP32.js";
12
+ } from "./chunk-JR7Q6GHE.js";
13
13
  import {
14
14
  extractColor,
15
15
  fillModeFromToken,
16
16
  measureIndent,
17
17
  parseFirstLine
18
- } from "./chunk-YJVA3QUU.js";
18
+ } from "./chunk-A2ARDILY.js";
19
19
  import {
20
20
  emit
21
21
  } from "./chunk-4W2PE66Q.js";
@@ -264,4 +264,4 @@ export {
264
264
  parseBody,
265
265
  extractSymbols
266
266
  };
267
- //# sourceMappingURL=chunk-FFXCKZOU.js.map
267
+ //# sourceMappingURL=chunk-O4CZDTQA.js.map
@@ -2,9 +2,10 @@ import {
2
2
  extractColor,
3
3
  fillModeFromOptions,
4
4
  measureIndent,
5
+ normalizeNumericToken,
5
6
  parseFirstLine,
6
7
  tryParseSharedOption
7
- } from "./chunk-YJVA3QUU.js";
8
+ } from "./chunk-A2ARDILY.js";
8
9
  import {
9
10
  makeDgmoError,
10
11
  makeFail
@@ -12,8 +13,9 @@ import {
12
13
 
13
14
  // src/goal/parser.ts
14
15
  function parseGoalNumber(token) {
15
- if (token.includes(",")) return null;
16
- const n = parseFloat(token.replace(/_/g, ""));
16
+ const normalized = normalizeNumericToken(token);
17
+ if (normalized === null && /[,_]/.test(token)) return null;
18
+ const n = parseFloat(normalized ?? token);
17
19
  return Number.isFinite(n) ? n : null;
18
20
  }
19
21
  function parseGoal(content, palette) {
@@ -156,4 +158,4 @@ function parseGoal(content, palette) {
156
158
  export {
157
159
  parseGoal
158
160
  };
159
- //# sourceMappingURL=chunk-6HTRCTAS.js.map
161
+ //# sourceMappingURL=chunk-P5XXIVEU.js.map
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  tryStripDescriptionKeyword
3
3
  } from "./chunk-IYULMRBE.js";
4
+ import {
5
+ normalizeName
6
+ } from "./chunk-NOTA6TEI.js";
4
7
  import {
5
8
  AUTO_TAG_COLOR_SENTINEL,
6
9
  finalizeAutoTagColors,
@@ -10,10 +13,7 @@ import {
10
13
  tagAttrKey,
11
14
  validateTagGroupNames,
12
15
  validateTagValues
13
- } from "./chunk-CMVZWP32.js";
14
- import {
15
- normalizeName
16
- } from "./chunk-NOTA6TEI.js";
16
+ } from "./chunk-JR7Q6GHE.js";
17
17
  import {
18
18
  ALL_CHART_TYPES,
19
19
  OPTION_NOCOLON_RE,
@@ -25,7 +25,7 @@ import {
25
25
  tryParseSharedOption,
26
26
  warnUnknownMetaKeys,
27
27
  withTagAliases
28
- } from "./chunk-YJVA3QUU.js";
28
+ } from "./chunk-A2ARDILY.js";
29
29
  import {
30
30
  formatDgmoError,
31
31
  makeDgmoError,
@@ -520,4 +520,4 @@ export {
520
520
  looksLikeSitemap,
521
521
  parseSitemap
522
522
  };
523
- //# sourceMappingURL=chunk-XEAQDIMF.js.map
523
+ //# sourceMappingURL=chunk-PC4YLEKA.js.map