@diagrammo/dgmo 0.91.1 → 0.92.1

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 (281) hide show
  1. package/dist/advanced.d.ts +21 -12
  2. package/dist/advanced.js +123 -122
  3. package/dist/{analyzer-7ZGAZIE6.js → analyzer-G7PGOT3V.js} +2 -2
  4. package/dist/block.d.ts +10 -3
  5. package/dist/block.js +67 -66
  6. package/dist/{calculator-3LZUWOBK.js → calculator-BNH3GSJE.js} +4 -4
  7. package/dist/{chart-meta-B_WTMP0y.d.ts → chart-meta-BBqLnv5q.d.ts} +4 -3
  8. package/dist/chart-meta.d.ts +3 -3
  9. package/dist/chart-meta.js +22 -22
  10. package/dist/{chart-types-V2NcgN5O.d.ts → chart-types-CbXlZFLd.d.ts} +3 -2
  11. package/dist/charts-d3-QUUDVETP.js +31 -0
  12. package/dist/{chunk-634LDSN6.js → chunk-26BBJUBW.js} +2 -2
  13. package/dist/{chunk-ZJ4PYTCK.js → chunk-2BJW7FSF.js} +2 -2
  14. package/dist/{chunk-3YTAOMMN.js → chunk-2WQ3YZMN.js} +2 -2
  15. package/dist/{chunk-XLPJJ35N.js → chunk-2YAFDND3.js} +4 -4
  16. package/dist/{chunk-HLVGZXM5.js → chunk-2ZW4NBYX.js} +1 -1
  17. package/dist/{chunk-VGSSAMLA.js → chunk-3GUEYQGL.js} +8 -5
  18. package/dist/{chunk-HWXUQCDY.js → chunk-3KVUFHUJ.js} +2 -2
  19. package/dist/{chunk-2A4OFZ2Z.js → chunk-3PFMGNOM.js} +12 -9
  20. package/dist/{chunk-KSZHIAI2.js → chunk-3Y63RFJL.js} +1 -1
  21. package/dist/{chunk-CNUN5GO6.js → chunk-42UJ23H3.js} +1 -1
  22. package/dist/{chunk-TPEYEOXA.js → chunk-45QUTYPD.js} +15 -13
  23. package/dist/{chunk-HSGWR2FL.js → chunk-4QLGGQNO.js} +55 -23
  24. package/dist/{chunk-QKJ6MQXW.js → chunk-4SACN2C5.js} +2 -2
  25. package/dist/{chunk-D7PP35BA.js → chunk-4XYZJTFO.js} +2 -2
  26. package/dist/{chunk-5U6DXIMV.js → chunk-5EBYPETE.js} +2 -2
  27. package/dist/{chunk-K3BYD3WU.js → chunk-5KKZXA44.js} +3 -3
  28. package/dist/{chunk-UWJP4JSZ.js → chunk-5OTA2PUH.js} +2 -2
  29. package/dist/{chunk-CU2PZLZP.js → chunk-5SSTVFPX.js} +44 -9
  30. package/dist/{chunk-LKR4FACF.js → chunk-66JTY4AN.js} +2 -4
  31. package/dist/{chunk-AR4QVMWG.js → chunk-6BNNLVAR.js} +1 -1
  32. package/dist/{chunk-L24LESXF.js → chunk-6GXLAKUH.js} +1 -1
  33. package/dist/{chunk-XLAREWBK.js → chunk-6OIMUSDX.js} +9 -9
  34. package/dist/{chunk-RE27AX7O.js → chunk-6OSGENN5.js} +1 -1
  35. package/dist/{chunk-VMD2CYVP.js → chunk-6WVX4KNP.js} +44 -44
  36. package/dist/{chunk-IMHNZITR.js → chunk-6ZL2XYM7.js} +3 -3
  37. package/dist/{chunk-RMTOZALT.js → chunk-73EYNV4O.js} +3 -3
  38. package/dist/{chunk-4HG4PYHM.js → chunk-7ENDOHAA.js} +1 -1
  39. package/dist/{chunk-4YO7VJTP.js → chunk-7PJBJ2DU.js} +1 -1
  40. package/dist/{chunk-MI6SJJQU.js → chunk-A2A2I4Z4.js} +3 -3
  41. package/dist/{chunk-PSGSFRRE.js → chunk-A4PNWAUW.js} +3 -3
  42. package/dist/{chunk-7BBRSOKS.js → chunk-ADNIO3XY.js} +3 -3
  43. package/dist/{chunk-R7BSF7Z7.js → chunk-AQQUJEDN.js} +1 -1
  44. package/dist/{chunk-HYV6GSXM.js → chunk-AULZD45V.js} +2 -2
  45. package/dist/chunk-B5DHFFZP.js +15 -0
  46. package/dist/{chunk-ZB2Q67NO.js → chunk-B5PEKSRH.js} +2 -2
  47. package/dist/{chunk-EP7BT3HU.js → chunk-BEA4D7OS.js} +2 -2
  48. package/dist/{chunk-CVZBLHHW.js → chunk-BQMHJ6OW.js} +1 -1
  49. package/dist/{chunk-OYKNMFUY.js → chunk-BQO24BDM.js} +2 -2
  50. package/dist/{chunk-V3KHZQPK.js → chunk-BRGRIZQB.js} +2 -2
  51. package/dist/{chunk-IMKPFW67.js → chunk-BRSM6Z34.js} +10 -10
  52. package/dist/{chunk-PUZ63XZM.js → chunk-BZX7QCXJ.js} +21 -32
  53. package/dist/{chunk-37QQXKFV.js → chunk-CDM6XMOT.js} +3 -3
  54. package/dist/{chunk-53BJIOLF.js → chunk-CN4RDJDV.js} +3 -3
  55. package/dist/{chunk-OOCVGX4W.js → chunk-CYRB2JTN.js} +1 -1
  56. package/dist/{chunk-IHK3Y2HG.js → chunk-DEFBUZWV.js} +1 -1
  57. package/dist/{chunk-NTJ5HVV6.js → chunk-DGUGE67L.js} +3 -3
  58. package/dist/{chunk-3SLRZKLB.js → chunk-DRFGIOZ6.js} +4 -4
  59. package/dist/{chunk-EDPDAUBL.js → chunk-DUPZ2BBY.js} +17 -5
  60. package/dist/{chunk-HLE5QGZJ.js → chunk-EBIDNRSR.js} +2 -2
  61. package/dist/{chunk-N254IJM2.js → chunk-EBSFSOJC.js} +26 -10
  62. package/dist/{chunk-MKFQ5E7J.js → chunk-EBVVMUAA.js} +1 -1
  63. package/dist/{chunk-F2436VRR.js → chunk-FSJ3ZA6N.js} +5 -5
  64. package/dist/{chunk-Q3N7PI3B.js → chunk-FTUMRSGT.js} +115 -10
  65. package/dist/{chunk-57L2JPP2.js → chunk-GE7ICBX6.js} +6 -6
  66. package/dist/{chunk-ROCBGUJN.js → chunk-GI5R5B3S.js} +2 -2
  67. package/dist/{chunk-D7DXNQW5.js → chunk-H5UEVW6Q.js} +16 -10
  68. package/dist/{chunk-HFG7KQOY.js → chunk-H6BT45SN.js} +2 -2
  69. package/dist/{chunk-BDXC7MDK.js → chunk-H7AXCRO7.js} +1 -1
  70. package/dist/{chunk-GCDW3WAY.js → chunk-HIWHIYLD.js} +20 -11
  71. package/dist/{chunk-JJUDOR4I.js → chunk-HXULJZA2.js} +1 -1
  72. package/dist/{chunk-MJKQ5ZYY.js → chunk-IGKFOHBG.js} +5 -5
  73. package/dist/{chunk-WTE27AJT.js → chunk-J2E7EUER.js} +19 -10
  74. package/dist/{chunk-J2SQNZ6D.js → chunk-J7Q4AB23.js} +6 -3
  75. package/dist/{chunk-NS7L7YKH.js → chunk-JILEYZ2V.js} +2 -4
  76. package/dist/{chunk-5MDQMB6A.js → chunk-JKST4RTT.js} +3 -3
  77. package/dist/{chunk-RVTYIGWZ.js → chunk-JLU52ZDT.js} +9 -9
  78. package/dist/{chunk-KATED53P.js → chunk-JRWUHLRP.js} +1 -1
  79. package/dist/{chunk-IUBCDNT2.js → chunk-JXGSTBW6.js} +3 -3
  80. package/dist/{chunk-2ZVLI6GQ.js → chunk-KBDMEOLI.js} +2 -2
  81. package/dist/{chunk-TLPY4ZBI.js → chunk-KTGZDMDX.js} +38 -17
  82. package/dist/{chunk-II4XJETG.js → chunk-L5NW3PVL.js} +1 -1
  83. package/dist/{chunk-JJQWCI35.js → chunk-LKZCUFOW.js} +3 -3
  84. package/dist/{chunk-27KA4VV6.js → chunk-LRP5FXST.js} +7 -7
  85. package/dist/{chunk-JA2S7PHR.js → chunk-MDVJYRJT.js} +12 -16
  86. package/dist/{chunk-SWBHH2UW.js → chunk-MX4SZLSV.js} +4 -14
  87. package/dist/{chunk-5DIBB2QG.js → chunk-MXAP37W6.js} +2 -2
  88. package/dist/{chunk-273GB7WK.js → chunk-NBAAIRFP.js} +1 -3
  89. package/dist/{chunk-QVKTAU7P.js → chunk-NMS5XSLX.js} +4 -4
  90. package/dist/{chunk-BQVTV4LB.js → chunk-NO3UX6AP.js} +2 -2
  91. package/dist/{chunk-RHXIUUWB.js → chunk-NREU4JFE.js} +4 -4
  92. package/dist/{chunk-CXIPV2FY.js → chunk-NVZ7R4EK.js} +8 -8
  93. package/dist/{chunk-TCX5PMEY.js → chunk-NXU4N5WT.js} +1 -1
  94. package/dist/{chunk-FJCYK4K3.js → chunk-O5WUZGPV.js} +50 -17
  95. package/dist/{chunk-G22UV5AF.js → chunk-ONYO5WJW.js} +18 -15
  96. package/dist/{chunk-EWERNTOX.js → chunk-OQW4ETJX.js} +3 -6
  97. package/dist/{chunk-6QEXWMBP.js → chunk-PVWIBKV2.js} +4 -4
  98. package/dist/{chunk-YZG37S7L.js → chunk-Q2UFOKPB.js} +10 -10
  99. package/dist/{chunk-X6IZP2BD.js → chunk-Q6W2K33N.js} +4 -4
  100. package/dist/{chunk-WNTPJZU7.js → chunk-Q6ZQX2HX.js} +4 -4
  101. package/dist/{chunk-CPGKRI7H.js → chunk-QKY6W4NA.js} +17 -15
  102. package/dist/{chunk-IWTUXGHN.js → chunk-QQPNCXAO.js} +15 -13
  103. package/dist/{chunk-2AM6VA3A.js → chunk-QUGC7GWB.js} +10 -10
  104. package/dist/{chunk-IS6WFBX7.js → chunk-R6EGUTIV.js} +3 -3
  105. package/dist/{chunk-CDT33RHG.js → chunk-RBFJT23E.js} +3 -3
  106. package/dist/{chunk-G3EUQMV4.js → chunk-SOHZDW6N.js} +3 -3
  107. package/dist/{chunk-SPQVER4T.js → chunk-STFWGASB.js} +1 -1
  108. package/dist/{chunk-G2KHLANR.js → chunk-T7NWBVSC.js} +2 -2
  109. package/dist/{chunk-MPJQMMBZ.js → chunk-TIIZIAGS.js} +1 -1
  110. package/dist/{chunk-B6EUFLRP.js → chunk-TKAB3FTK.js} +11 -11
  111. package/dist/{chunk-SEKNYIMO.js → chunk-TOHTKLKE.js} +1 -1
  112. package/dist/{chunk-I6GGMCTV.js → chunk-UOCWYLYT.js} +1 -1
  113. package/dist/{chunk-6NO3MNBC.js → chunk-URQIWIKX.js} +3 -3
  114. package/dist/{chunk-I74AQRVD.js → chunk-V4D2ZQBE.js} +2 -2
  115. package/dist/{chunk-2UV627GG.js → chunk-VOR32OHN.js} +12 -12
  116. package/dist/{chunk-YRYKTYMQ.js → chunk-VSOZZYLK.js} +106 -12
  117. package/dist/{chunk-MNL547RV.js → chunk-WLLO3PZ3.js} +23 -9
  118. package/dist/{chunk-SKF7XLCM.js → chunk-WZBZXZ6T.js} +3 -6
  119. package/dist/{chunk-NWPMLX2V.js → chunk-X5BUX2GK.js} +79 -10
  120. package/dist/{chunk-XQTRGKQ3.js → chunk-XIUGSUE4.js} +2 -2
  121. package/dist/{chunk-KA5CSR44.js → chunk-Y2V5AEVG.js} +244 -181
  122. package/dist/{chunk-SMTWQ66K.js → chunk-Y3SIQN4J.js} +2 -2
  123. package/dist/{chunk-5VPWIC6T.js → chunk-YITHYQCL.js} +9 -9
  124. package/dist/{chunk-5WRI5ZAA.js → chunk-YLJ4XMA6.js} +5 -1
  125. package/dist/{chunk-PZVTFQI2.js → chunk-YO6AQU4A.js} +7 -7
  126. package/dist/{chunk-5NU7NII2.js → chunk-Z6QFHH4D.js} +3 -1
  127. package/dist/{chunk-F26ZPBSF.js → chunk-ZECJ7Q6C.js} +2 -2
  128. package/dist/{chunk-M6J25PAZ.js → chunk-ZJAK6C7Y.js} +1 -1
  129. package/dist/{chunk-DLX7MEN4.js → chunk-ZKP77MB3.js} +4 -4
  130. package/dist/cloud-reference.d.ts +5 -3
  131. package/dist/cloud-reference.js +2 -2
  132. package/dist/{collapse-SLINJQW6.js → collapse-BSPH3BFM.js} +1 -1
  133. package/dist/{collapse-ZWUFFCK2.js → collapse-TCVK3RPO.js} +1 -1
  134. package/dist/{collapse-JRGPUE67.js → collapse-VNYYXMUI.js} +1 -1
  135. package/dist/completion-registry.d.ts +2 -1
  136. package/dist/completion-registry.js +5 -5
  137. package/dist/{compute-2XWFVO7K.js → compute-II4G44IK.js} +1 -1
  138. package/dist/{d3-2S3PrXik.d.ts → d3-BThYBTQk.d.ts} +3 -2
  139. package/dist/dgmo-router-4UAPPIKN.js +94 -0
  140. package/dist/dimensions-SCNVYLRF.js +21 -0
  141. package/dist/{flowchart-parser-BLJ6RA53.js → flowchart-parser-NA75YQ77.js} +5 -5
  142. package/dist/{flowchart-renderer-FXRQKXAK.js → flowchart-renderer-6MGGX4RC.js} +14 -14
  143. package/dist/highlight.d.ts +2 -1
  144. package/dist/index.d.ts +9 -8
  145. package/dist/index.js +64 -64
  146. package/dist/{layout-ROAVGBUC.js → layout-2WESJYRE.js} +1 -1
  147. package/dist/{layout-RBLD5EGX.js → layout-5USEVQBY.js} +8 -5
  148. package/dist/{layout-YKGQRFDM.js → layout-BNLFQHSB.js} +5 -2
  149. package/dist/{layout-UPQGIT3N.js → layout-D4L44NRG.js} +1 -1
  150. package/dist/{layout-B7PQRAMB.js → layout-HF3PMI4H.js} +1 -1
  151. package/dist/{layout-VRJ5YFUE.js → layout-HFBK5UEG.js} +5 -5
  152. package/dist/{layout-RANVNAKI.js → layout-J3AGFZZ7.js} +1 -1
  153. package/dist/{layout-G42FDCF3.js → layout-JTIRCKAW.js} +7 -7
  154. package/dist/{layout-CCVCLZ6S.js → layout-KV27UW25.js} +2 -2
  155. package/dist/{layout-5HCEF7VO.js → layout-MBVBAMPA.js} +1 -1
  156. package/dist/layout-MXHR3P35.js +15 -0
  157. package/dist/layout-ND26WVX2.js +15 -0
  158. package/dist/{layout-CRUAP7JG.js → layout-RH3N46HP.js} +5 -5
  159. package/dist/{layout-JTNRSGOS.js → layout-S3RLVPH4.js} +8 -5
  160. package/dist/layout-WRG4APSJ.js +32 -0
  161. package/dist/{layout-search-L75YOBME.js → layout-search-PMYL3VWS.js} +8 -3
  162. package/dist/{legend-constants-HE7FVDJP.js → legend-constants-55MFBXYF.js} +4 -4
  163. package/dist/live-link-resolve.d.ts +2 -1
  164. package/dist/live-link-resolve.js +2 -2
  165. package/dist/{palettes-WQHELGVQ.js → palettes-IN7ZFRJM.js} +4 -4
  166. package/dist/{parser-YWZGIU3C.js → parser-2IKPQVKX.js} +6 -6
  167. package/dist/{parser-4QNRCGU5.js → parser-2NWH5JUS.js} +8 -8
  168. package/dist/parser-3LT3ZUUC.js +10 -0
  169. package/dist/{parser-6NSQLPTS.js → parser-3MK56JZC.js} +5 -5
  170. package/dist/parser-3QIFY5IN.js +10 -0
  171. package/dist/{parser-YVHO2NRM.js → parser-4TBSWULQ.js} +5 -5
  172. package/dist/parser-5LW5JDYG.js +12 -0
  173. package/dist/parser-5UZV32ZI.js +10 -0
  174. package/dist/{parser-XO5IAXMT.js → parser-6TDWUKM5.js} +5 -5
  175. package/dist/{parser-6LMB7BQQ.js → parser-BES6LV3G.js} +4 -4
  176. package/dist/{parser-H2DJEAPG.js → parser-BJ7RJNUM.js} +5 -5
  177. package/dist/parser-EAQPZX2B.js +13 -0
  178. package/dist/{parser-UEDPLM46.js → parser-EFF22GYO.js} +5 -5
  179. package/dist/{parser-QL4DEPVA.js → parser-FXDS4JDK.js} +5 -5
  180. package/dist/{parser-R6OETHWM.js → parser-GMQJISZ6.js} +5 -5
  181. package/dist/{parser-6X4GGH2R.js → parser-GX5YLRIP.js} +6 -6
  182. package/dist/parser-H5OODY5N.js +11 -0
  183. package/dist/parser-K2DI26SC.js +11 -0
  184. package/dist/parser-KKF6Y5MM.js +12 -0
  185. package/dist/parser-KLCSFQ3J.js +12 -0
  186. package/dist/{parser-MDSVVCJP.js → parser-L6RWDXQN.js} +6 -6
  187. package/dist/{parser-EYF4ZSZO.js → parser-LCJ76UXS.js} +5 -5
  188. package/dist/parser-LTRQASGB.js +11 -0
  189. package/dist/parser-PEZ7RN43.js +14 -0
  190. package/dist/{parser-ULSUK36C.js → parser-QYISOAGR.js} +6 -6
  191. package/dist/parser-RTWPFKXG.js +12 -0
  192. package/dist/{parser-Q3UAOLEZ.js → parser-SEUTXN6U.js} +5 -5
  193. package/dist/parser-SIKL4PLF.js +10 -0
  194. package/dist/parser-TUAEX6ML.js +12 -0
  195. package/dist/parser-VA7ZQQTA.js +10 -0
  196. package/dist/parser-X23GRTQJ.js +10 -0
  197. package/dist/{parser-AL6YL7KM.js → parser-XZUKNZPB.js} +4 -4
  198. package/dist/parser-YG625J5H.js +13 -0
  199. package/dist/{parser-UL6WN6W5.js → parser-YHDGKPZI.js} +5 -5
  200. package/dist/pert.d.ts +2 -1
  201. package/dist/renderer-2FVUPBGV.js +20 -0
  202. package/dist/{renderer-YDNWK6RI.js → renderer-36446HSH.js} +5 -5
  203. package/dist/{renderer-OPA4JJKX.js → renderer-3IHQI4A4.js} +12 -12
  204. package/dist/{renderer-43IVPARP.js → renderer-3JY6JAQJ.js} +9 -9
  205. package/dist/{renderer-SD4ZHHAR.js → renderer-3QAFDXEY.js} +11 -11
  206. package/dist/{renderer-7EAWN7MC.js → renderer-5TZVFQ7K.js} +11 -11
  207. package/dist/renderer-5VKPB4LL.js +28 -0
  208. package/dist/{renderer-B7B7BQM3.js → renderer-7ZZG5HR3.js} +12 -11
  209. package/dist/renderer-ALWVK3EJ.js +30 -0
  210. package/dist/{renderer-R7RK7FKI.js → renderer-DC7C5Q3G.js} +4 -4
  211. package/dist/renderer-DVNMCYHZ.js +40 -0
  212. package/dist/renderer-ISSDGK54.js +22 -0
  213. package/dist/{renderer-IPDCAACY.js → renderer-J5FKF423.js} +6 -6
  214. package/dist/{renderer-SE7Z5AOL.js → renderer-J666LZXJ.js} +11 -11
  215. package/dist/{renderer-I2LYSQBV.js → renderer-JEJT3YET.js} +7 -7
  216. package/dist/{renderer-TWKEZ3DD.js → renderer-LM4ICK6I.js} +11 -11
  217. package/dist/{renderer-3N64GVNM.js → renderer-LQP3AGEJ.js} +5 -5
  218. package/dist/{renderer-7SEXPBGM.js → renderer-MM27BSBO.js} +9 -9
  219. package/dist/{renderer-U5PD72G7.js → renderer-NDA2FFYB.js} +10 -10
  220. package/dist/{renderer-YQPZ7O2C.js → renderer-NHTR7IRR.js} +4 -4
  221. package/dist/{renderer-T2WUA7MC.js → renderer-O6DY46AV.js} +15 -15
  222. package/dist/{renderer-4MEZYGU6.js → renderer-OAR5VPH4.js} +6 -6
  223. package/dist/renderer-QGIHLZOJ.js +31 -0
  224. package/dist/{renderer-ZQ77CM6Y.js → renderer-RSK6QFWN.js} +12 -11
  225. package/dist/renderer-RUSFL7WU.js +27 -0
  226. package/dist/{renderer-S3NFBJCY.js → renderer-S3YCLJKL.js} +19 -19
  227. package/dist/renderer-TO2NVJP3.js +80 -0
  228. package/dist/{renderer-54GXA3UO.js → renderer-VPIELEE5.js} +12 -12
  229. package/dist/{renderer-R7OYCJEA.js → renderer-WIU5BJUK.js} +5 -5
  230. package/dist/{renderer-MRMFYYZT.js → renderer-XGG2UNXT.js} +5 -5
  231. package/dist/{renderer-QQNPJGAP.js → renderer-XO57LTU4.js} +10 -10
  232. package/dist/{renderer-RFP55AW7.js → renderer-ZGY7P4BM.js} +19 -19
  233. package/dist/{renderer-JUH6M3XF.js → renderer-ZHGHTSNG.js} +16 -16
  234. package/dist/{renderer-LWL3IJOF.js → renderer-ZZ6MWVB7.js} +10 -10
  235. package/dist/renderer-radial-WFUX3Z3C.js +20 -0
  236. package/dist/{resolver-6DJLZF6Y.js → resolver-33K6MBCT.js} +3 -3
  237. package/dist/{state-collapse-HCGD6IVJ.js → state-collapse-SE2G4K4I.js} +1 -1
  238. package/dist/{state-parser-NIIVOU2Y.js → state-parser-TIR2ORJY.js} +6 -6
  239. package/dist/{state-renderer-TVLEG32M.js → state-renderer-G6SUXU4J.js} +18 -18
  240. package/dist/{tag-groups-fgxWTyyB.d.ts → tag-groups-DsoVpAY-.d.ts} +2 -1
  241. package/dist/{themes-Cm2YBcT8.d.ts → themes-DRNjxX7Q.d.ts} +4 -3
  242. package/docs/language-reference.md +9 -3
  243. package/gallery/fixtures/map-undirected-edges.dgmo +5 -5
  244. package/package.json +5 -3
  245. package/dist/charts-d3-KSA5UKVJ.js +0 -31
  246. package/dist/dgmo-router-YHBMKTXY.js +0 -94
  247. package/dist/dimensions-QMGWJQTR.js +0 -21
  248. package/dist/layout-6PLSBB5X.js +0 -15
  249. package/dist/layout-IV4H2FLB.js +0 -15
  250. package/dist/layout-T2DQ4M77.js +0 -26
  251. package/dist/parser-2XCDVLSN.js +0 -11
  252. package/dist/parser-3MGA2MTM.js +0 -10
  253. package/dist/parser-4AR25MAS.js +0 -10
  254. package/dist/parser-D6YRVV75.js +0 -12
  255. package/dist/parser-EY3VJWBE.js +0 -12
  256. package/dist/parser-FDXUQ5TI.js +0 -11
  257. package/dist/parser-ILWAA3QJ.js +0 -14
  258. package/dist/parser-KMFMNZYI.js +0 -11
  259. package/dist/parser-OFTMA36M.js +0 -10
  260. package/dist/parser-UY3K4ROB.js +0 -10
  261. package/dist/parser-UYQNNQKT.js +0 -13
  262. package/dist/parser-VG747VR6.js +0 -12
  263. package/dist/parser-VK4PNDX4.js +0 -12
  264. package/dist/parser-WSONWDFN.js +0 -10
  265. package/dist/parser-X5FQ36KJ.js +0 -13
  266. package/dist/parser-ZFLSULFC.js +0 -12
  267. package/dist/parser-ZR7JAKSW.js +0 -10
  268. package/dist/renderer-J2LOMTBC.js +0 -20
  269. package/dist/renderer-KY6O5JTX.js +0 -80
  270. package/dist/renderer-LHTDI5RV.js +0 -28
  271. package/dist/renderer-NCIDGJ2R.js +0 -30
  272. package/dist/renderer-QMNC7TGN.js +0 -22
  273. package/dist/renderer-VCTKBUTR.js +0 -30
  274. package/dist/renderer-VNZTWATB.js +0 -27
  275. package/dist/renderer-YDOWBIUB.js +0 -40
  276. package/dist/renderer-radial-TNNEL3YN.js +0 -20
  277. /package/dist/{chunk-2M4IGSCY.js → chunk-3J7O3CU6.js} +0 -0
  278. /package/dist/{chunk-4QV26TEG.js → chunk-AXLF3KRE.js} +0 -0
  279. /package/dist/{chunk-EDXGEQW3.js → chunk-FOTH2WWP.js} +0 -0
  280. /package/dist/{chunk-DAOFNU6J.js → chunk-MKSTL6DR.js} +0 -0
  281. /package/dist/{chunk-ABP5BUD6.js → chunk-ZI6WC24V.js} +0 -0
@@ -1,7 +1,9 @@
1
1
  import {
2
2
  MONTH_ABBR,
3
- computeTimeTicks
4
- } from "./chunk-YRYKTYMQ.js";
3
+ capLabelColumn,
4
+ computeTimeTicks,
5
+ showFullOnHover
6
+ } from "./chunk-VSOZZYLK.js";
5
7
  import {
6
8
  ScaleContext
7
9
  } from "./chunk-24YPR5EH.js";
@@ -9,7 +11,7 @@ import {
9
11
  keepSwimlaneToggleFocus,
10
12
  renderIntegratedLegend,
11
13
  wireSwimlaneToggle
12
- } from "./chunk-QVKTAU7P.js";
14
+ } from "./chunk-NMS5XSLX.js";
13
15
  import {
14
16
  EDGE_DASH,
15
17
  GRID_DASH,
@@ -20,21 +22,21 @@ import {
20
22
  hideTooltip,
21
23
  renderChartTitle,
22
24
  showTooltip
23
- } from "./chunk-X6IZP2BD.js";
25
+ } from "./chunk-Q6W2K33N.js";
24
26
  import {
25
27
  FONT_FAMILY
26
28
  } from "./chunk-ICLB27PZ.js";
27
29
  import {
28
30
  parseTimelineDate
29
- } from "./chunk-OYKNMFUY.js";
31
+ } from "./chunk-BQO24BDM.js";
30
32
  import {
31
33
  DEFAULT_PALETTE_ID,
32
34
  getPalette
33
- } from "./chunk-4HG4PYHM.js";
35
+ } from "./chunk-7ENDOHAA.js";
34
36
  import {
35
37
  resolveTagColor,
36
38
  tagAttrKey
37
- } from "./chunk-QKJ6MQXW.js";
39
+ } from "./chunk-4SACN2C5.js";
38
40
  import {
39
41
  LEGEND_CAPSULE_PAD,
40
42
  LEGEND_DOT_R,
@@ -47,14 +49,17 @@ import {
47
49
  legendChromeColors,
48
50
  measureLegendText,
49
51
  truncateLegendText
50
- } from "./chunk-I6GGMCTV.js";
52
+ } from "./chunk-UOCWYLYT.js";
53
+ import {
54
+ measureText
55
+ } from "./chunk-KAO7JL4I.js";
51
56
  import {
52
57
  getEraColors,
53
58
  getSeriesColors,
54
59
  mix,
55
60
  shapeFill,
56
61
  themeBaseBg
57
- } from "./chunk-L24LESXF.js";
62
+ } from "./chunk-6GXLAKUH.js";
58
63
 
59
64
  // src/embed/escape.ts
60
65
  var HTML_ENTITIES = {
@@ -252,7 +257,8 @@ function renderTimeScale(g, scale, isVertical, innerWidth, innerHeight, textColo
252
257
  boundaryStart,
253
258
  boundaryEnd,
254
259
  boundaryStartLabel,
255
- boundaryEndLabel
260
+ boundaryEndLabel,
261
+ { fontSize: 10, vertical: isVertical }
256
262
  );
257
263
  if (ticks.length < 2) return;
258
264
  const tickLen = 6;
@@ -537,7 +543,7 @@ function makeTimelineHoverHelpers() {
537
543
  g.selectAll(".tl-era").attr("opacity", 1);
538
544
  }
539
545
  function fadeToTagValue(g, tagKey, tagValue) {
540
- const attrName = `data-tag-${tagKey}`;
546
+ const attrName = `data-tag-${tagAttrKey(tagKey)}`;
541
547
  g.selectAll(".tl-event").each(function() {
542
548
  const el = d3Selection.select(this);
543
549
  const val = el.attr(attrName);
@@ -564,7 +570,7 @@ function makeTimelineHoverHelpers() {
564
570
  }
565
571
  function setTagAttrs(evG, ev) {
566
572
  for (const [key, value] of Object.entries(ev.metadata)) {
567
- evG.attr(`data-tag-${key}`, value.toLowerCase());
573
+ evG.attr(`data-tag-${tagAttrKey(key)}`, value.toLowerCase());
568
574
  }
569
575
  }
570
576
  return {
@@ -1054,10 +1060,12 @@ function renderTimelineHorizontalGrouped(container, parsed, palette, isDark, set
1054
1060
  ...lanes.flatMap((l) => l.events.map((ev) => ev.label.length + 2))
1055
1061
  );
1056
1062
  const maxLeftLabelLen = Math.max(maxGroupNameLen, maxEventLabelLen);
1057
- const dynamicLeftMargin = Math.max(
1058
- ctx.aesthetic(140),
1059
- maxLeftLabelLen * sCharW + ctx.aesthetic(30)
1063
+ const labelColumn = capLabelColumn(
1064
+ Math.max(ctx.aesthetic(140), maxLeftLabelLen * sCharW + ctx.aesthetic(30)),
1065
+ width,
1066
+ ctx.aesthetic(140)
1060
1067
  );
1068
+ const dynamicLeftMargin = labelColumn.width;
1061
1069
  const baseTopMargin = title ? 50 : ctx.aesthetic(20);
1062
1070
  const margin = {
1063
1071
  top: baseTopMargin + topScaleH + eraReserve + markerReserve + tagLegendReserve,
@@ -1150,7 +1158,20 @@ function renderTimelineHorizontalGrouped(container, parsed, palette, isDark, set
1150
1158
  g.append("rect").attr("class", "tl-group-header-bg").attr("data-group", lane.name).attr("x", bandX).attr("y", bandY).attr("width", bandW).attr("height", bandH).attr("rx", sBandRx).attr("fill", shapeFill(palette, laneColor, isDark, { mode: fillMode })).style("pointer-events", "none");
1151
1159
  g.append("rect").attr("class", "tl-group-header-accent").attr("data-group", lane.name).attr("x", bandX).attr("y", bandY).attr("width", sBandAccentW).attr("height", bandH).attr("fill", laneColor).attr("clip-path", `url(#${clipId})`).style("pointer-events", "none");
1152
1160
  const headerG = g.append("g").attr("class", "tl-group-header").attr("data-group", lane.name).style("cursor", "pointer").on("mouseenter", () => fadeToGroup(g, lane.name)).on("mouseleave", () => fadeReset(g)).on("click", () => toggleGroup(lane.name));
1153
- headerG.append("text").attr("x", bandX + 5).attr("y", curY + sBarH / 2).attr("dy", "0.35em").attr("text-anchor", "start").attr("fill", textColor).attr("font-size", sLaneHeaderFont).attr("font-weight", "bold").text(`${toggleIcon} ${lane.name}`);
1161
+ const headerText = headerG.append("text").attr("x", bandX + 5).attr("y", curY + sBarH / 2).attr("dy", "0.35em").attr("text-anchor", "start").attr("fill", textColor).attr("font-size", sLaneHeaderFont).attr("font-weight", "bold");
1162
+ const headerFull = `${toggleIcon} ${lane.name}`;
1163
+ showFullOnHover(
1164
+ headerG,
1165
+ headerText,
1166
+ headerText,
1167
+ headerFull,
1168
+ labelColumn.fit(
1169
+ headerFull,
1170
+ bandX + 5 + margin.left,
1171
+ sLaneHeaderFont,
1172
+ true
1173
+ )
1174
+ );
1154
1175
  if (lane.events.length > 0) {
1155
1176
  const evDates = lane.events.map((ev) => parseTimelineDate(ev.date));
1156
1177
  const evEndDates = lane.events.filter((ev) => ev.endDate).map((ev) => parseTimelineDate(ev.endDate));
@@ -1206,7 +1227,19 @@ function renderTimelineHorizontalGrouped(container, parsed, palette, isDark, set
1206
1227
  const icon = isPoint ? "\u25C6" : "\u25CF";
1207
1228
  const labelEl = evG.append("text").attr("class", "tl-event-label").attr("x", -margin.left + ctx.aesthetic(20)).attr("y", y).attr("dy", "0.35em").attr("text-anchor", "start").attr("font-size", sEventFont).attr("fill", textColor);
1208
1229
  labelEl.append("tspan").attr("fill", evColor).text(icon);
1209
- labelEl.append("tspan").attr("fill", textColor).text(" " + ev.label);
1230
+ const labelTextEl = labelEl.append("tspan").attr("fill", textColor);
1231
+ showFullOnHover(
1232
+ evG,
1233
+ labelEl,
1234
+ labelTextEl,
1235
+ ev.label,
1236
+ labelColumn.fit(
1237
+ ev.label,
1238
+ ctx.aesthetic(20) + measureText(icon + " ", sEventFont),
1239
+ sEventFont
1240
+ ),
1241
+ " "
1242
+ );
1210
1243
  if (ev.endDate) {
1211
1244
  const x2 = xScale(parseTimelineDate(ev.endDate));
1212
1245
  const rectW = Math.max(x2 - x, 4);
@@ -1,19 +1,19 @@
1
+ import {
2
+ layoutERDiagram
3
+ } from "./chunk-MXAP37W6.js";
1
4
  import {
2
5
  NOTE_BADGE_RADIUS,
3
6
  noteConnectorPoints,
4
7
  renderNoteBadge,
5
8
  renderNoteBox,
6
9
  renderNoteConnector
7
- } from "./chunk-KATED53P.js";
8
- import {
9
- layoutERDiagram
10
- } from "./chunk-5DIBB2QG.js";
10
+ } from "./chunk-JRWUHLRP.js";
11
11
  import {
12
12
  ScaleContext
13
13
  } from "./chunk-24YPR5EH.js";
14
14
  import {
15
15
  renderIntegratedLegend
16
- } from "./chunk-QVKTAU7P.js";
16
+ } from "./chunk-NMS5XSLX.js";
17
17
  import {
18
18
  EDGE_LABEL_KNOCKOUT_OPACITY,
19
19
  EDGE_STROKE_WIDTH,
@@ -21,13 +21,13 @@ import {
21
21
  } from "./chunk-XCKNFFKM.js";
22
22
  import {
23
23
  layoutInlineHeader
24
- } from "./chunk-CNUN5GO6.js";
24
+ } from "./chunk-42UJ23H3.js";
25
25
  import {
26
26
  serializeSvg
27
- } from "./chunk-OOCVGX4W.js";
27
+ } from "./chunk-CYRB2JTN.js";
28
28
  import {
29
29
  getLegendExtent
30
- } from "./chunk-NS7L7YKH.js";
30
+ } from "./chunk-JILEYZ2V.js";
31
31
  import {
32
32
  TITLE_FONT_SIZE,
33
33
  TITLE_FONT_WEIGHT,
@@ -38,19 +38,19 @@ import {
38
38
  } from "./chunk-ICLB27PZ.js";
39
39
  import {
40
40
  parseERDiagram
41
- } from "./chunk-3SLRZKLB.js";
41
+ } from "./chunk-DRFGIOZ6.js";
42
42
  import {
43
43
  resolveTagColor,
44
44
  tagAttrKey
45
- } from "./chunk-QKJ6MQXW.js";
45
+ } from "./chunk-4SACN2C5.js";
46
46
  import {
47
47
  fillModeFromOptions,
48
48
  legendInlineRequested,
49
49
  legendSuppressed
50
- } from "./chunk-MPJQMMBZ.js";
50
+ } from "./chunk-TIIZIAGS.js";
51
51
  import {
52
52
  LEGEND_HEIGHT
53
- } from "./chunk-I6GGMCTV.js";
53
+ } from "./chunk-UOCWYLYT.js";
54
54
  import {
55
55
  measureText
56
56
  } from "./chunk-KAO7JL4I.js";
@@ -58,7 +58,7 @@ import {
58
58
  contrastText,
59
59
  getSeriesColors,
60
60
  shapeFill
61
- } from "./chunk-L24LESXF.js";
61
+ } from "./chunk-6GXLAKUH.js";
62
62
 
63
63
  // src/er/renderer.ts
64
64
  import * as d3Selection from "d3-selection";
@@ -430,12 +430,15 @@ function renderERDiagram(container, parsed, layout, palette, isDark, onClickItem
430
430
  const tagKey = tagAttrKey(activeTagGroup);
431
431
  const tagValue = node.metadata[tagKey];
432
432
  if (tagValue) {
433
- nodeG.attr(`data-tag-${tagKey}`, tagValue.toLowerCase());
433
+ nodeG.attr(`data-tag-${tagAttrKey(tagKey)}`, tagValue.toLowerCase());
434
434
  }
435
435
  }
436
436
  if (semanticRoles) {
437
437
  const role = semanticRoles.get(node.id);
438
- if (role) nodeG.attr("data-er-role", role);
438
+ if (role) {
439
+ nodeG.attr("data-er-role", role);
440
+ nodeG.attr("data-er-role-label", ROLE_LABELS[role]);
441
+ }
439
442
  }
440
443
  if (onClickItem) {
441
444
  nodeG.style("cursor", "pointer").on("click", () => {
@@ -5,11 +5,11 @@ import {
5
5
  splitNameAndMeta,
6
6
  tryParseSharedOption,
7
7
  warnUnknownMetaKeys
8
- } from "./chunk-MPJQMMBZ.js";
8
+ } from "./chunk-TIIZIAGS.js";
9
9
  import {
10
10
  RECOGNIZED_COLOR_NAMES,
11
11
  resolveColor
12
- } from "./chunk-2M4IGSCY.js";
12
+ } from "./chunk-3J7O3CU6.js";
13
13
  import {
14
14
  makeDgmoError,
15
15
  makeFail,
@@ -94,10 +94,7 @@ function parseRing(content) {
94
94
  if (color !== void 0) {
95
95
  const resolved = resolveColor(color);
96
96
  if (resolved === null) {
97
- const hint = suggest(
98
- color,
99
- RECOGNIZED_COLOR_NAMES
100
- );
97
+ const hint = suggest(color, RECOGNIZED_COLOR_NAMES);
101
98
  const suggestion = hint ? ` ${hint}` : "";
102
99
  warn(
103
100
  lineNum,
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  parseDateToken,
8
8
  toInternal
9
- } from "./chunk-DAOFNU6J.js";
9
+ } from "./chunk-MKSTL6DR.js";
10
10
  import {
11
11
  normalizeName
12
12
  } from "./chunk-NOTA6TEI.js";
@@ -17,7 +17,7 @@ import {
17
17
  stripDefaultModifier,
18
18
  tagAttrKey,
19
19
  validateTagGroupNames
20
- } from "./chunk-QKJ6MQXW.js";
20
+ } from "./chunk-4SACN2C5.js";
21
21
  import {
22
22
  AliasRegistry,
23
23
  GANTT_BOOLEAN_SET,
@@ -32,10 +32,10 @@ import {
32
32
  splitNameAndMeta,
33
33
  warnUnknownMetaKeys,
34
34
  withTagAliases
35
- } from "./chunk-MPJQMMBZ.js";
35
+ } from "./chunk-TIIZIAGS.js";
36
36
  import {
37
37
  getSeriesColors
38
- } from "./chunk-L24LESXF.js";
38
+ } from "./chunk-6GXLAKUH.js";
39
39
  import {
40
40
  formatDgmoError,
41
41
  makeDgmoError
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  layoutClassDiagram
3
- } from "./chunk-5U6DXIMV.js";
3
+ } from "./chunk-5EBYPETE.js";
4
4
  import {
5
5
  NOTE_BADGE_RADIUS,
6
6
  noteConnectorPoints,
7
7
  renderNoteBadge,
8
8
  renderNoteBox,
9
9
  renderNoteConnector
10
- } from "./chunk-KATED53P.js";
10
+ } from "./chunk-JRWUHLRP.js";
11
11
  import {
12
12
  ScaleContext
13
13
  } from "./chunk-24YPR5EH.js";
14
14
  import {
15
15
  renderIntegratedLegend
16
- } from "./chunk-QVKTAU7P.js";
16
+ } from "./chunk-NMS5XSLX.js";
17
17
  import {
18
18
  ARROWHEAD_HEIGHT,
19
19
  ARROWHEAD_WIDTH,
@@ -25,13 +25,13 @@ import {
25
25
  import {
26
26
  extractExportSvg,
27
27
  runInExportContainer
28
- } from "./chunk-SEKNYIMO.js";
28
+ } from "./chunk-TOHTKLKE.js";
29
29
  import {
30
30
  layoutInlineHeader
31
- } from "./chunk-CNUN5GO6.js";
31
+ } from "./chunk-42UJ23H3.js";
32
32
  import {
33
33
  getLegendExtent
34
- } from "./chunk-NS7L7YKH.js";
34
+ } from "./chunk-JILEYZ2V.js";
35
35
  import {
36
36
  TITLE_FONT_SIZE,
37
37
  TITLE_FONT_WEIGHT,
@@ -42,22 +42,22 @@ import {
42
42
  } from "./chunk-ICLB27PZ.js";
43
43
  import {
44
44
  parseClassDiagram
45
- } from "./chunk-WNTPJZU7.js";
45
+ } from "./chunk-Q6ZQX2HX.js";
46
46
  import {
47
47
  fillModeFromOptions,
48
48
  legendInlineRequested,
49
49
  legendSuppressed
50
- } from "./chunk-MPJQMMBZ.js";
50
+ } from "./chunk-TIIZIAGS.js";
51
51
  import {
52
52
  LEGEND_HEIGHT
53
- } from "./chunk-I6GGMCTV.js";
53
+ } from "./chunk-UOCWYLYT.js";
54
54
  import {
55
55
  measureText
56
56
  } from "./chunk-KAO7JL4I.js";
57
57
  import {
58
58
  contrastText,
59
59
  shapeFill
60
- } from "./chunk-L24LESXF.js";
60
+ } from "./chunk-6GXLAKUH.js";
61
61
 
62
62
  // src/class/renderer.ts
63
63
  import * as d3Selection from "d3-selection";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  paintRootBackground
3
- } from "./chunk-SEKNYIMO.js";
3
+ } from "./chunk-TOHTKLKE.js";
4
4
  import {
5
5
  serializeSvg
6
- } from "./chunk-OOCVGX4W.js";
6
+ } from "./chunk-CYRB2JTN.js";
7
7
  import {
8
8
  TITLE_FONT_SIZE,
9
9
  TITLE_FONT_WEIGHT,
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-ICLB27PZ.js";
15
15
  import {
16
16
  getSeriesColors
17
- } from "./chunk-L24LESXF.js";
17
+ } from "./chunk-6GXLAKUH.js";
18
18
 
19
19
  // src/utils/d3-helpers.ts
20
20
  import * as d3Selection from "d3-selection";
@@ -93,7 +93,7 @@ var EXPORT_WIDTH = 1200;
93
93
  var EXPORT_HEIGHT = 800;
94
94
  async function resolveExportPalette(theme, palette) {
95
95
  if (palette) return palette;
96
- const { getPalette, DEFAULT_PALETTE_ID } = await import("./palettes-WQHELGVQ.js");
96
+ const { getPalette, DEFAULT_PALETTE_ID } = await import("./palettes-IN7ZFRJM.js");
97
97
  const cfg = getPalette(DEFAULT_PALETTE_ID);
98
98
  return theme === "dark" ? cfg.dark : cfg.light;
99
99
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tryCollectNote
3
- } from "./chunk-KSZHIAI2.js";
3
+ } from "./chunk-3Y63RFJL.js";
4
4
  import {
5
5
  resolveNotes
6
6
  } from "./chunk-O753JUEZ.js";
@@ -13,17 +13,17 @@ import {
13
13
  } from "./chunk-NOTA6TEI.js";
14
14
  import {
15
15
  isTagBlockHeading
16
- } from "./chunk-QKJ6MQXW.js";
16
+ } from "./chunk-4SACN2C5.js";
17
17
  import {
18
18
  AliasRegistry,
19
19
  OPTION_NOCOLON_RE,
20
20
  measureIndent,
21
21
  parseFirstLine,
22
22
  tryParseSharedOption
23
- } from "./chunk-MPJQMMBZ.js";
23
+ } from "./chunk-TIIZIAGS.js";
24
24
  import {
25
25
  resolveColorWithDiagnostic
26
- } from "./chunk-2M4IGSCY.js";
26
+ } from "./chunk-3J7O3CU6.js";
27
27
  import {
28
28
  NAME_DIAGNOSTIC_CODES,
29
29
  formatDgmoError,
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  analyzePert
3
- } from "./chunk-EDXGEQW3.js";
3
+ } from "./chunk-FOTH2WWP.js";
4
4
  import {
5
5
  computeNodeSizing,
6
6
  layoutPert
7
- } from "./chunk-273GB7WK.js";
7
+ } from "./chunk-NBAAIRFP.js";
8
8
  import {
9
9
  ScaleContext
10
10
  } from "./chunk-24YPR5EH.js";
11
11
  import {
12
12
  renderIntegratedLegend
13
- } from "./chunk-QVKTAU7P.js";
13
+ } from "./chunk-NMS5XSLX.js";
14
14
  import {
15
15
  ARROWHEAD_HEIGHT,
16
16
  ARROWHEAD_WIDTH,
@@ -29,13 +29,13 @@ import {
29
29
  import {
30
30
  INLINE_HEADER_PAD,
31
31
  layoutInlineHeader
32
- } from "./chunk-CNUN5GO6.js";
32
+ } from "./chunk-42UJ23H3.js";
33
33
  import {
34
34
  serializeSvg
35
- } from "./chunk-OOCVGX4W.js";
35
+ } from "./chunk-CYRB2JTN.js";
36
36
  import {
37
37
  getLegendExtent
38
- } from "./chunk-NS7L7YKH.js";
38
+ } from "./chunk-JILEYZ2V.js";
39
39
  import {
40
40
  CAPTION_BOX_PADDING_X,
41
41
  CAPTION_BOX_PADDING_Y,
@@ -52,7 +52,7 @@ import {
52
52
  } from "./chunk-ICLB27PZ.js";
53
53
  import {
54
54
  parsePert
55
- } from "./chunk-37QQXKFV.js";
55
+ } from "./chunk-CDM6XMOT.js";
56
56
  import {
57
57
  addCalendarDays,
58
58
  formatDuration,
@@ -64,11 +64,12 @@ import {
64
64
  UNTAGGED_TAG_COLOR,
65
65
  resolveActiveTagGroup,
66
66
  resolveGroupTagColor,
67
- resolveTagColor
68
- } from "./chunk-QKJ6MQXW.js";
67
+ resolveTagColor,
68
+ tagAttrKey
69
+ } from "./chunk-4SACN2C5.js";
69
70
  import {
70
71
  LEGEND_HEIGHT
71
- } from "./chunk-I6GGMCTV.js";
72
+ } from "./chunk-UOCWYLYT.js";
72
73
  import {
73
74
  measureText,
74
75
  truncateText,
@@ -80,7 +81,7 @@ import {
80
81
  mix,
81
82
  shapeFill,
82
83
  themeBaseBg
83
- } from "./chunk-L24LESXF.js";
84
+ } from "./chunk-6GXLAKUH.js";
84
85
 
85
86
  // src/pert/renderer.ts
86
87
  import * as d3Selection from "d3-selection";
@@ -921,7 +922,10 @@ function renderNodes(root, _defs, resolved, layout, palette, isDark, sizing, onC
921
922
  const g = layer.append("g").attr("class", "pert-node").attr("transform", `translate(${node.x}, ${node.y})`).attr("data-activity-id", node.id).attr("data-line-number", String(r.activity.lineNumber)).attr("data-group-id", r.activity.groupId ?? "").attr("data-critical-path", String(isCritical)).attr("data-criticality-band", band ?? "").attr("data-duration-rank", isTopMu ? "top" : isBottomMu ? "bottom" : "");
922
923
  if (r.activity.tags) {
923
924
  for (const [tagKey, tagValue] of Object.entries(r.activity.tags)) {
924
- g.attr(`data-tag-${tagKey}`, String(tagValue).toLowerCase());
925
+ g.attr(
926
+ `data-tag-${tagAttrKey(tagKey)}`,
927
+ String(tagValue).toLowerCase()
928
+ );
925
929
  }
926
930
  }
927
931
  if (pinnedSet.has(node.id) && anchorKind) {
@@ -1017,9 +1021,7 @@ function renderNodes(root, _defs, resolved, layout, palette, isDark, sizing, onC
1017
1021
  }
1018
1022
  }
1019
1023
  function computeDurationEmphasis(activities) {
1020
- const ranked = activities.filter(
1021
- (r) => !r.activity.isMilestone && r.mu !== null && r.mu > 0
1022
- ).map((r) => ({ id: r.activity.id, mu: r.mu })).sort((a, b) => a.mu - b.mu);
1024
+ const ranked = activities.filter((r) => !r.activity.isMilestone && r.mu !== null && r.mu > 0).map((r) => ({ id: r.activity.id, mu: r.mu })).sort((a, b) => a.mu - b.mu);
1023
1025
  if (ranked.length < 5) {
1024
1026
  return { topMuIds: /* @__PURE__ */ new Set(), bottomMuIds: /* @__PURE__ */ new Set() };
1025
1027
  }
@@ -9,10 +9,10 @@ import {
9
9
  } from "./chunk-R2K5L4UA.js";
10
10
  import {
11
11
  formatDateLabel
12
- } from "./chunk-FJCYK4K3.js";
12
+ } from "./chunk-O5WUZGPV.js";
13
13
  import {
14
14
  renderIntegratedLegend
15
- } from "./chunk-QVKTAU7P.js";
15
+ } from "./chunk-NMS5XSLX.js";
16
16
  import {
17
17
  CARD_RADIUS,
18
18
  HAIRLINE_DASH,
@@ -23,10 +23,10 @@ import {
23
23
  } from "./chunk-XCKNFFKM.js";
24
24
  import {
25
25
  layoutInlineHeader
26
- } from "./chunk-CNUN5GO6.js";
26
+ } from "./chunk-42UJ23H3.js";
27
27
  import {
28
28
  getLegendExtent
29
- } from "./chunk-NS7L7YKH.js";
29
+ } from "./chunk-JILEYZ2V.js";
30
30
  import {
31
31
  TITLE_FONT_SIZE,
32
32
  TITLE_FONT_WEIGHT,
@@ -37,12 +37,13 @@ import {
37
37
  } from "./chunk-ICLB27PZ.js";
38
38
  import {
39
39
  parseTimelineDate
40
- } from "./chunk-OYKNMFUY.js";
40
+ } from "./chunk-BQO24BDM.js";
41
41
  import {
42
42
  UNTAGGED_TAG_COLOR,
43
43
  resolveActiveTagGroup,
44
- resolveTagColor
45
- } from "./chunk-QKJ6MQXW.js";
44
+ resolveTagColor,
45
+ tagAttrKey
46
+ } from "./chunk-4SACN2C5.js";
46
47
  import {
47
48
  CHAR_WIDTH_RATIO,
48
49
  wrapTextToWidth
@@ -53,10 +54,10 @@ import {
53
54
  mix,
54
55
  shapeFill,
55
56
  themeBaseBg
56
- } from "./chunk-L24LESXF.js";
57
+ } from "./chunk-6GXLAKUH.js";
57
58
  import {
58
59
  resolveColor
59
- } from "./chunk-2M4IGSCY.js";
60
+ } from "./chunk-3J7O3CU6.js";
60
61
 
61
62
  // src/event-line/renderer.ts
62
63
  import * as d3Selection from "d3-selection";
@@ -880,7 +881,7 @@ function applyHoverHooks(sel, p) {
880
881
  if (p.eraName) sel.attr("data-evt-era", p.eraName);
881
882
  if (p.event) {
882
883
  for (const [k, v] of Object.entries(p.event.metadata)) {
883
- sel.attr(`data-tag-${k.toLowerCase()}`, String(v).toLowerCase());
884
+ sel.attr(`data-tag-${tagAttrKey(k)}`, String(v).toLowerCase());
884
885
  }
885
886
  }
886
887
  }
@@ -909,7 +910,7 @@ function applyEvtFocus(root, spec) {
909
910
  });
910
911
  return;
911
912
  }
912
- const attr = `data-tag-${spec.group}`;
913
+ const attr = `data-tag-${tagAttrKey(spec.group)}`;
913
914
  const matches = (el) => el.getAttribute(attr) === spec.value;
914
915
  const bullets = [...root.querySelectorAll(".dgmo-evt-bullet")];
915
916
  const litEras = /* @__PURE__ */ new Set();
@@ -987,7 +988,8 @@ function applyEvtHidden(container, root) {
987
988
  if (sep < 0) continue;
988
989
  const group = key.slice(0, sep);
989
990
  const value = key.slice(sep + 1);
990
- if (el.getAttribute(`data-tag-${group}`) === value) return true;
991
+ if (el.getAttribute(`data-tag-${tagAttrKey(group)}`) === value)
992
+ return true;
991
993
  }
992
994
  return false;
993
995
  };
@@ -1135,7 +1137,7 @@ function renderBody(cardG, lines, bodyColor, palette, startBaseline = CARD_BODY_
1135
1137
  if (!lineMeta) return;
1136
1138
  el.attr("class", "dgmo-evt-bullet");
1137
1139
  for (const [k, v] of Object.entries(lineMeta))
1138
- el.attr(`data-tag-${k.toLowerCase()}`, String(v).toLowerCase());
1140
+ el.attr(`data-tag-${tagAttrKey(k)}`, String(v).toLowerCase());
1139
1141
  };
1140
1142
  for (const line of lines) {
1141
1143
  const isBullet = line.kind === "bullet-first" || line.kind === "bullet-cont";
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  looksLikePert
3
- } from "./chunk-37QQXKFV.js";
3
+ } from "./chunk-CDM6XMOT.js";
4
4
  import {
5
5
  isLiveLinkLine
6
- } from "./chunk-2ZVLI6GQ.js";
6
+ } from "./chunk-KBDMEOLI.js";
7
7
  import {
8
8
  looksLikeSequence
9
- } from "./chunk-ZB2Q67NO.js";
9
+ } from "./chunk-B5PEKSRH.js";
10
10
  import {
11
11
  looksLikeFlowchart
12
- } from "./chunk-634LDSN6.js";
12
+ } from "./chunk-26BBJUBW.js";
13
13
  import {
14
14
  looksLikeState
15
- } from "./chunk-XLPJJ35N.js";
15
+ } from "./chunk-2YAFDND3.js";
16
16
  import {
17
17
  looksLikeClassDiagram
18
- } from "./chunk-WNTPJZU7.js";
18
+ } from "./chunk-Q6ZQX2HX.js";
19
19
  import {
20
20
  looksLikeERDiagram
21
- } from "./chunk-3SLRZKLB.js";
21
+ } from "./chunk-DRFGIOZ6.js";
22
22
  import {
23
23
  looksLikeOrg
24
- } from "./chunk-UWJP4JSZ.js";
24
+ } from "./chunk-5OTA2PUH.js";
25
25
  import {
26
26
  looksLikeSitemap
27
- } from "./chunk-F26ZPBSF.js";
27
+ } from "./chunk-ZECJ7Q6C.js";
28
28
  import {
29
29
  parseFirstLine
30
- } from "./chunk-MPJQMMBZ.js";
30
+ } from "./chunk-TIIZIAGS.js";
31
31
 
32
32
  // src/chart-type-detect.ts
33
33
  var GANTT_DURATION_RE = /^\d+(?:\.\d+)?(?:min|bd|sp|d|w|m|q|y|h)(?:\?)?\s+/;
@@ -11,7 +11,7 @@ import {
11
11
  matchTagBlockHeading,
12
12
  stripDefaultModifier,
13
13
  tagAttrKey
14
- } from "./chunk-QKJ6MQXW.js";
14
+ } from "./chunk-4SACN2C5.js";
15
15
  import {
16
16
  FAMILY_PERSON_REGISTRY,
17
17
  FAMILY_UNION_REGISTRY,
@@ -26,11 +26,11 @@ import {
26
26
  tokenizeQuoteAware,
27
27
  tryParseSharedOption,
28
28
  withTagAliases
29
- } from "./chunk-MPJQMMBZ.js";
29
+ } from "./chunk-TIIZIAGS.js";
30
30
  import {
31
31
  nord,
32
32
  resolveColor
33
- } from "./chunk-2M4IGSCY.js";
33
+ } from "./chunk-3J7O3CU6.js";
34
34
  import {
35
35
  emit
36
36
  } from "./chunk-BYU54C3S.js";