@diagrammo/dgmo 0.77.0 → 0.79.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 (280) hide show
  1. package/README.md +17 -13
  2. package/dist/advanced.d.ts +197 -23
  3. package/dist/advanced.js +161 -142
  4. package/dist/block.css +1 -1
  5. package/dist/block.d.ts +2 -2
  6. package/dist/block.js +62 -58
  7. package/dist/{calculator-CVQ54JNE.js → calculator-OHTCZSBW.js} +3 -3
  8. package/dist/{chart-meta-Cf_jkApJ.d.ts → chart-meta-B7lSmrzg.d.ts} +2 -2
  9. package/dist/chart-meta.d.ts +3 -3
  10. package/dist/chart-meta.js +45 -44
  11. package/dist/charts-d3-EST3Z5VG.js +31 -0
  12. package/dist/{chunk-U4DS2ODO.js → chunk-253E5ISJ.js} +9 -9
  13. package/dist/{chunk-7IATMZSA.js → chunk-26EVL454.js} +1 -25
  14. package/dist/{chunk-MG3DE3VO.js → chunk-2F7AG7LA.js} +4 -4
  15. package/dist/{chunk-OWVDD5EC.js → chunk-2R2M2C6V.js} +2 -2
  16. package/dist/{chunk-LYJ53DBK.js → chunk-2RAH6GVR.js} +56 -41
  17. package/dist/{chunk-Q74GP3GK.js → chunk-37NDM5NW.js} +3 -3
  18. package/dist/{chunk-N6MZSBOL.js → chunk-3BN3WCUD.js} +5 -2
  19. package/dist/chunk-3DPOIW3W.js +10 -0
  20. package/dist/{chunk-HDLRRY3N.js → chunk-3KFGPXHD.js} +195 -135
  21. package/dist/{chunk-NWNSXHA5.js → chunk-3KNA7OIO.js} +3 -3
  22. package/dist/{chunk-M5OOAP65.js → chunk-4CA7TJ44.js} +2 -1
  23. package/dist/{chunk-M5JT2AU7.js → chunk-4L43NPSQ.js} +10 -6
  24. package/dist/{chunk-4YER7UCV.js → chunk-4T6V7JJA.js} +3 -3
  25. package/dist/{chunk-3E4YB6TY.js → chunk-4YSWUQKZ.js} +12 -7
  26. package/dist/{chunk-6BVAW7KI.js → chunk-54JYWS7D.js} +50 -43
  27. package/dist/{chunk-7NSNE52V.js → chunk-55DMCFGM.js} +3 -3
  28. package/dist/{chunk-XPBJVSRY.js → chunk-5BV5MXLY.js} +38 -32
  29. package/dist/{chunk-5VMUVJO4.js → chunk-5DWF3N3V.js} +3 -3
  30. package/dist/{chunk-SSEAULA5.js → chunk-6775W3UW.js} +19 -15
  31. package/dist/{chunk-2QRIMMIH.js → chunk-6EMJRAEY.js} +3 -3
  32. package/dist/{chunk-OZOHREFQ.js → chunk-6FUIPWTS.js} +14 -15
  33. package/dist/{chunk-F4V67JXG.js → chunk-6JIMYPXR.js} +4 -4
  34. package/dist/{chunk-CHOK7NCJ.js → chunk-7AEMAUDF.js} +29 -25
  35. package/dist/{chunk-NVOU7N6C.js → chunk-7DCM3CB5.js} +2 -2
  36. package/dist/{chunk-UBDVAHGK.js → chunk-7EUTTKNU.js} +36 -31
  37. package/dist/{chunk-76NHL5UG.js → chunk-7I6NWTPE.js} +2 -2
  38. package/dist/{chunk-OKXWPKUC.js → chunk-7SHL2WME.js} +2 -2
  39. package/dist/{chunk-SWEKCK34.js → chunk-AFOHIR2O.js} +3 -3
  40. package/dist/{chunk-RWFMOVHG.js → chunk-AI7TZQ2R.js} +3 -3
  41. package/dist/{chunk-BWJLLNUX.js → chunk-ALVK3TBO.js} +3 -3
  42. package/dist/{chunk-GLREDNBA.js → chunk-AMQFJ7P7.js} +21 -2
  43. package/dist/{chunk-RGW26UAR.js → chunk-CCETDPLV.js} +11 -11
  44. package/dist/{chunk-5ZD4DDG7.js → chunk-CE654SL2.js} +17 -14
  45. package/dist/{chunk-TPN7RJOM.js → chunk-CFYTCBRH.js} +4 -4
  46. package/dist/{chunk-YT5ICQ4R.js → chunk-CKDYRVOC.js} +3 -3
  47. package/dist/{chunk-WQXD3IIN.js → chunk-CRBW2WS7.js} +11 -9
  48. package/dist/{chunk-J76YDS4V.js → chunk-CREALBZL.js} +3 -3
  49. package/dist/{chunk-MZEGUDTA.js → chunk-CSTYDCKB.js} +16 -16
  50. package/dist/{chunk-QBM5BURJ.js → chunk-DG5IQW74.js} +10 -10
  51. package/dist/{chunk-Y2CYNRL7.js → chunk-DN6K6QCF.js} +2 -2
  52. package/dist/{chunk-43AJKH2U.js → chunk-DQOCYWB6.js} +12 -10
  53. package/dist/{chunk-FTTB64OJ.js → chunk-EBEFYSVZ.js} +40 -40
  54. package/dist/{chunk-L65WI4HO.js → chunk-EDU2OCIQ.js} +2 -2
  55. package/dist/{chunk-SWUQJ5VR.js → chunk-EOG4QKKV.js} +108 -65
  56. package/dist/chunk-EPDBWATV.js +38 -0
  57. package/dist/{chunk-5GM6BZO7.js → chunk-F66R7CPY.js} +6 -3
  58. package/dist/{chunk-7BMX2M3F.js → chunk-FFDHZVEL.js} +2 -2
  59. package/dist/{chunk-WGC42WJU.js → chunk-FWNJDD4U.js} +6 -2
  60. package/dist/{chunk-SI3PYDL4.js → chunk-GWA6UGNX.js} +22 -22
  61. package/dist/{chunk-QMFIZQTB.js → chunk-HIOJSYDA.js} +7 -5
  62. package/dist/{chunk-NHQ7HUAS.js → chunk-HJ5DKZPO.js} +12 -10
  63. package/dist/{chunk-FPRMP6YA.js → chunk-HJZ4OET2.js} +32 -17
  64. package/dist/{chunk-N5NQIZ56.js → chunk-HLTVEXML.js} +25 -25
  65. package/dist/{chunk-6IN4F4RH.js → chunk-I6DFQQER.js} +42 -44
  66. package/dist/chunk-ICLB27PZ.js +11 -0
  67. package/dist/{chunk-R3XI2VC7.js → chunk-IDJGV6VM.js} +2 -1
  68. package/dist/{chunk-ZM27UI5O.js → chunk-IEK2FUWO.js} +19 -6
  69. package/dist/{chunk-FJ57274M.js → chunk-IIEI7VK5.js} +15 -1
  70. package/dist/{chunk-DY7KDZUF.js → chunk-IZK2H4KU.js} +3 -3
  71. package/dist/{chunk-CRLVJZWX.js → chunk-JOG6W3VS.js} +2 -2
  72. package/dist/{chunk-XFXJXLK7.js → chunk-JTLLQT34.js} +19 -19
  73. package/dist/{chunk-MS5574I7.js → chunk-K3K7JHZI.js} +2 -2
  74. package/dist/{chunk-GOW5VO6M.js → chunk-KHRZCKKG.js} +2 -2
  75. package/dist/{chunk-D3B6YEZK.js → chunk-KIF4UFD2.js} +20 -16
  76. package/dist/{chunk-EUVUOPRC.js → chunk-KYK6PMB5.js} +55 -34
  77. package/dist/{chunk-RU2HHHYA.js → chunk-LD2JSKU3.js} +12 -2
  78. package/dist/{chunk-CYMYZYLI.js → chunk-LJ7X6ZNV.js} +25 -28
  79. package/dist/{chunk-ICVIJLBA.js → chunk-LLYHYPYG.js} +4 -4
  80. package/dist/{chunk-VRPV6QXR.js → chunk-LLZVRWVS.js} +2 -2
  81. package/dist/{chunk-Z7KVOVE4.js → chunk-LXTMP3VT.js} +7 -4
  82. package/dist/{chunk-7CXW6EGX.js → chunk-MDUCF376.js} +28 -26
  83. package/dist/{chunk-KWSBNLSC.js → chunk-MQAD75AY.js} +2 -2
  84. package/dist/{chunk-XCFIAGT7.js → chunk-MUTZSF2A.js} +17 -16
  85. package/dist/{chunk-CF3I5SOG.js → chunk-NVI5G57O.js} +29 -27
  86. package/dist/{chunk-76LHNLGX.js → chunk-O2HU4AQN.js} +34 -5
  87. package/dist/{chunk-46KVXDUJ.js → chunk-O5QG5IFV.js} +12 -3
  88. package/dist/{chunk-V4NHFY22.js → chunk-OLRVGPJ3.js} +33 -20
  89. package/dist/{chunk-WHWUVDYK.js → chunk-OM6XZAKM.js} +7 -7
  90. package/dist/{chunk-DSXWJAOA.js → chunk-OMN4F42L.js} +17 -15
  91. package/dist/{chunk-LM3HY3VG.js → chunk-P4U5GST7.js} +3 -3
  92. package/dist/{chunk-BH3BQICT.js → chunk-PKW4TLJC.js} +88 -44
  93. package/dist/{chunk-GRN44Z6A.js → chunk-PQR7E3LY.js} +2 -2
  94. package/dist/{chunk-SH4PPRU7.js → chunk-Q5KGGW7Z.js} +2 -2
  95. package/dist/{chunk-RV5A3EGI.js → chunk-QDHOIBHZ.js} +21 -20
  96. package/dist/{chunk-UH5YTZN7.js → chunk-QDTFFVLT.js} +113 -23
  97. package/dist/chunk-QFIXL3OK.js +68 -0
  98. package/dist/{chunk-QXMHBIQG.js → chunk-QGXH64FT.js} +52 -49
  99. package/dist/{chunk-VS2M72PF.js → chunk-RLJKH4ZO.js} +4 -2
  100. package/dist/{chunk-6ZZKEYBS.js → chunk-RN3DOUOU.js} +17 -15
  101. package/dist/{chunk-VBJCGGNF.js → chunk-RPP3NHKV.js} +2 -2
  102. package/dist/{chunk-RTTZIX34.js → chunk-RVWWCQAB.js} +3 -3
  103. package/dist/{chunk-FR5EVD2X.js → chunk-RWF7TCGT.js} +68 -38
  104. package/dist/{chunk-LKS56RDT.js → chunk-S6GPBJWG.js} +2 -2
  105. package/dist/{chunk-UJBP57UJ.js → chunk-S7ZJEQPW.js} +4 -4
  106. package/dist/{chunk-3H4PDNP4.js → chunk-SEOM2BGQ.js} +3 -3
  107. package/dist/{chunk-5PFNUDXR.js → chunk-T3EW35M2.js} +3 -3
  108. package/dist/{chunk-3SP6G4LN.js → chunk-TPQ6Q7JP.js} +3 -3
  109. package/dist/{chunk-B52RL5VV.js → chunk-ULUZBEFO.js} +11 -11
  110. package/dist/{chunk-F4X5NVKY.js → chunk-UNYOWKEC.js} +13 -4
  111. package/dist/{chunk-DEW62ON3.js → chunk-VSPNH7LC.js} +2 -2
  112. package/dist/{chunk-C2WH3BMS.js → chunk-VTWUHX4H.js} +10 -7
  113. package/dist/{chunk-DJL5PO27.js → chunk-W4MC3KP6.js} +2 -2
  114. package/dist/{chunk-MU3CJPJF.js → chunk-W6DBWWPC.js} +3 -3
  115. package/dist/{chunk-JLODGGN2.js → chunk-WC72PTV4.js} +3 -3
  116. package/dist/{chunk-NCT22MOD.js → chunk-WMIKC5XO.js} +2 -2
  117. package/dist/{chunk-H7BYMIVK.js → chunk-WY4L675I.js} +70 -44
  118. package/dist/chunk-XBJJP2HN.js +37 -0
  119. package/dist/{chunk-KRTLS3G6.js → chunk-XDEEYDPQ.js} +4 -4
  120. package/dist/{chunk-S5P5Z5Y5.js → chunk-XNAMWOPJ.js} +3 -3
  121. package/dist/{chunk-2MTM4E6M.js → chunk-XND5JIJA.js} +68 -65
  122. package/dist/{chunk-S6OXNZBM.js → chunk-XWC4RQ7T.js} +4 -4
  123. package/dist/{chunk-UCZBRGJN.js → chunk-XXLAZQ5E.js} +2 -2
  124. package/dist/{chunk-LXXVHLTH.js → chunk-Y22BJKMK.js} +3 -3
  125. package/dist/{chunk-OO2L2LWV.js → chunk-Y2KFQX5K.js} +89 -66
  126. package/dist/{chunk-TI4YUUW6.js → chunk-Y3OLUMJH.js} +31 -30
  127. package/dist/{chunk-CIWFL2LM.js → chunk-Y3RYIGHZ.js} +17 -15
  128. package/dist/{chunk-MTGGOCND.js → chunk-YC6GVLTI.js} +61 -10
  129. package/dist/{chunk-TKIPK5P6.js → chunk-YD2HPT7W.js} +5 -7
  130. package/dist/{chunk-3O7ZYVJV.js → chunk-YPVP6I62.js} +19 -15
  131. package/dist/{chunk-FF7LRT5L.js → chunk-YQIZIKCK.js} +35 -27
  132. package/dist/{chunk-M526IKKH.js → chunk-Z4COUG7H.js} +2 -2
  133. package/dist/{chunk-LTTZX6RD.js → chunk-Z5ZCTCX4.js} +3 -3
  134. package/dist/{chunk-QOVM5VRC.js → chunk-ZASX45SU.js} +3 -3
  135. package/dist/{chunk-W7UBPARG.js → chunk-ZH3BWGTE.js} +3 -3
  136. package/dist/{chunk-TN754B3R.js → chunk-ZZZJVDIL.js} +2 -2
  137. package/dist/clock.js +11 -5
  138. package/dist/completion-registry.js +3 -3
  139. package/dist/countdown.js +26 -20
  140. package/dist/{d3-BiaJtaSw.d.ts → d3-Bje6Mla1.d.ts} +1 -1
  141. package/dist/dgmo-router-OXFV43XX.js +90 -0
  142. package/dist/{dgmo-router-BwXHZ_P3.d.ts → dgmo-router-zWf4Uxxg.d.ts} +1 -1
  143. package/dist/dimensions-AN34SPVX.js +22 -0
  144. package/dist/{flowchart-parser-NVBP3C5D.js → flowchart-parser-MRNAVG35.js} +4 -4
  145. package/dist/flowchart-renderer-IGSKJFMF.js +37 -0
  146. package/dist/index.d.ts +7 -7
  147. package/dist/index.js +75 -60
  148. package/dist/{layout-Y2V3LYV7.js → layout-5AYAYUJH.js} +2 -2
  149. package/dist/{layout-ZAGUFT2G.js → layout-6APS2RRG.js} +8 -7
  150. package/dist/{layout-B5GQVXXY.js → layout-6VUNAH6F.js} +8 -7
  151. package/dist/{layout-RV2T2YTT.js → layout-74HDWQYG.js} +6 -5
  152. package/dist/{layout-6SKHNQYO.js → layout-FCIYZV63.js} +4 -4
  153. package/dist/{layout-4LNMXLVK.js → layout-J2Z2SYH5.js} +3 -3
  154. package/dist/layout-LELNMRM5.js +16 -0
  155. package/dist/{layout-EM4DLMAX.js → layout-OPF6KTOH.js} +5 -5
  156. package/dist/layout-SUND6B7D.js +9 -0
  157. package/dist/layout-WASEHV3S.js +19 -0
  158. package/dist/{layout-SGYR6HBX.js → layout-XAJLQPI6.js} +3 -3
  159. package/dist/layout-XY45TFJ4.js +16 -0
  160. package/dist/layout-YPRXVCW5.js +19 -0
  161. package/dist/{layout-2OJ25STS.js → layout-ZJOWB27N.js} +9 -8
  162. package/dist/{layout-search-UOKEMER5.js → layout-search-3JKNSUTJ.js} +8 -7
  163. package/dist/{legend-constants-PLN2YHGM.js → legend-constants-RSWFR3L6.js} +4 -4
  164. package/dist/{palettes-54YSI3IX.js → palettes-IAF6WVL4.js} +5 -3
  165. package/dist/{parser-QOIZGW7I.js → parser-2Y7LWKNO.js} +4 -4
  166. package/dist/{parser-EQ4I3TSH.js → parser-4GUQUDAC.js} +5 -5
  167. package/dist/{parser-TA5TYZNL.js → parser-4OXANARZ.js} +5 -5
  168. package/dist/{parser-L7T7FY3H.js → parser-56UEMRXS.js} +4 -4
  169. package/dist/{parser-2GMHFSTS.js → parser-66QZQYGE.js} +4 -4
  170. package/dist/{parser-3AOMUX5D.js → parser-6SS7DKVW.js} +4 -4
  171. package/dist/{parser-QYAIFXLP.js → parser-AYURCBDZ.js} +4 -4
  172. package/dist/{parser-5XFGK5C5.js → parser-COPCQEHV.js} +6 -6
  173. package/dist/{parser-F4ZKDGUZ.js → parser-DEWJM5PX.js} +3 -3
  174. package/dist/{parser-ZXQZZK6W.js → parser-DQKZDA2J.js} +4 -3
  175. package/dist/{parser-WCFG3DZA.js → parser-EMPM3V35.js} +3 -3
  176. package/dist/{parser-6FUESG4N.js → parser-EP2JQJNV.js} +4 -4
  177. package/dist/{parser-ZYAFHXKQ.js → parser-FDDHTBRV.js} +4 -4
  178. package/dist/{parser-3KQONLXZ.js → parser-FDESUQ32.js} +3 -3
  179. package/dist/{parser-LV7PQBUG.js → parser-GK6CMK4P.js} +4 -4
  180. package/dist/{parser-WVE6SKB7.js → parser-H33OKBUB.js} +4 -4
  181. package/dist/{parser-ML3LVNDV.js → parser-HJBSWTDY.js} +4 -4
  182. package/dist/{parser-PR3OR3LO.js → parser-HRIKI5O3.js} +5 -5
  183. package/dist/{parser-H4ZUNLX4.js → parser-I77632XB.js} +3 -3
  184. package/dist/{parser-YWQCC33R.js → parser-JGMQE7FS.js} +4 -4
  185. package/dist/{parser-WMJEPZDC.js → parser-JIPG576H.js} +4 -4
  186. package/dist/{parser-E3OHNNTH.js → parser-JNJ2IFSO.js} +4 -4
  187. package/dist/{parser-CJNP7RKR.js → parser-LCUQTABE.js} +4 -4
  188. package/dist/{parser-4DLU4SNG.js → parser-LXU3MGG6.js} +3 -3
  189. package/dist/{parser-WWRRG2DV.js → parser-N4YB5EIZ.js} +4 -4
  190. package/dist/{parser-XVSDFO56.js → parser-NC36PRBR.js} +3 -3
  191. package/dist/{parser-RDBXEVI4.js → parser-O6WYAXTS.js} +4 -4
  192. package/dist/{parser-4KFJKLP2.js → parser-UHABNZBC.js} +3 -3
  193. package/dist/{parser-GCVSRQPY.js → parser-V6HULGXW.js} +4 -4
  194. package/dist/{parser-UTR5WE4O.js → parser-VVWZIMYS.js} +4 -4
  195. package/dist/{parser-B2XQNHZM.js → parser-YJGTPT7A.js} +3 -3
  196. package/dist/{parser-WQNT7T2P.js → parser-YQ5F7ATB.js} +3 -3
  197. package/dist/{parser-ZT3PU2HT.js → parser-ZUH2G7J2.js} +4 -4
  198. package/dist/renderer-2ZGZSSCV.js +39 -0
  199. package/dist/renderer-33AB7UAZ.js +35 -0
  200. package/dist/renderer-43KEDLTQ.js +23 -0
  201. package/dist/renderer-4E6NNPNU.js +29 -0
  202. package/dist/renderer-4HFT4HJG.js +39 -0
  203. package/dist/renderer-63MHARNI.js +20 -0
  204. package/dist/renderer-6HPV7BMG.js +23 -0
  205. package/dist/renderer-BVJ3NVRB.js +20 -0
  206. package/dist/renderer-DV44AS75.js +28 -0
  207. package/dist/renderer-FLLVGYUY.js +30 -0
  208. package/dist/renderer-FSV7MTW3.js +17 -0
  209. package/dist/renderer-H6XEVHKH.js +27 -0
  210. package/dist/renderer-HNEMQJXT.js +21 -0
  211. package/dist/{renderer-CVWQD442.js → renderer-IIN3RY4F.js} +6 -5
  212. package/dist/renderer-K2OWHNBV.js +25 -0
  213. package/dist/renderer-M6UIXQHH.js +27 -0
  214. package/dist/renderer-N5CRYFBI.js +31 -0
  215. package/dist/{renderer-VF7X66SL.js → renderer-O3O6A3RY.js} +16 -16
  216. package/dist/renderer-OVRX36WE.js +39 -0
  217. package/dist/renderer-PLKMHBAB.js +30 -0
  218. package/dist/{renderer-G2DPKJAN.js → renderer-REHVBQ57.js} +17 -16
  219. package/dist/{renderer-GHBF5PRH.js → renderer-RW446FGL.js} +6 -5
  220. package/dist/renderer-SJV75NUI.js +28 -0
  221. package/dist/renderer-TKWW45LZ.js +36 -0
  222. package/dist/{renderer-FTX67CYZ.js → renderer-UHLTPQTW.js} +7 -6
  223. package/dist/renderer-UNYFAMFE.js +16 -0
  224. package/dist/renderer-URXHBQOF.js +26 -0
  225. package/dist/renderer-VBAQQWDB.js +25 -0
  226. package/dist/renderer-VI72MVFW.js +77 -0
  227. package/dist/renderer-XGJIACBV.js +25 -0
  228. package/dist/renderer-XVTKGPYT.js +20 -0
  229. package/dist/{renderer-R5HIRN2M.js → renderer-YLIICO4R.js} +9 -9
  230. package/dist/renderer-ZG6GPWZF.js +27 -0
  231. package/dist/renderer-radial-7UHFYOOL.js +21 -0
  232. package/dist/{state-parser-TPA67IXM.js → state-parser-XT4ZPQAF.js} +5 -5
  233. package/dist/state-renderer-6TVII5ZJ.js +41 -0
  234. package/dist/{tag-groups-BAtkq0b_.d.ts → tag-groups-DIJV_50B.d.ts} +18 -9
  235. package/dist/{themes-DpsyRSO7.d.ts → themes-Bgkyh6gh.d.ts} +2 -2
  236. package/docs/architecture-report.md +3 -3
  237. package/docs/language-reference.md +128 -30
  238. package/docs/migration-sequence-color-to-tags.md +16 -8
  239. package/package.json +7 -6
  240. package/dist/charts-d3-HMEMHSSW.js +0 -29
  241. package/dist/chunk-53SEVJQM.js +0 -9
  242. package/dist/chunk-LP7EC4MI.js +0 -16
  243. package/dist/chunk-YM5RMLFO.js +0 -40
  244. package/dist/dgmo-router-A3LIHT6H.js +0 -89
  245. package/dist/dimensions-OFF4GRFL.js +0 -22
  246. package/dist/flowchart-renderer-BBJUPORB.js +0 -36
  247. package/dist/layout-5ILNODTP.js +0 -15
  248. package/dist/layout-IN53LAE6.js +0 -9
  249. package/dist/layout-KQUSB45X.js +0 -18
  250. package/dist/layout-ROORJQ4X.js +0 -18
  251. package/dist/layout-VUZ3MLOI.js +0 -15
  252. package/dist/renderer-2ANDPQWC.js +0 -16
  253. package/dist/renderer-2LDT4TUX.js +0 -25
  254. package/dist/renderer-2NYQDW37.js +0 -20
  255. package/dist/renderer-2RIIIO34.js +0 -39
  256. package/dist/renderer-3HFU3DTO.js +0 -25
  257. package/dist/renderer-4BF6ILP6.js +0 -27
  258. package/dist/renderer-5E2AH5TO.js +0 -38
  259. package/dist/renderer-62SLWRYF.js +0 -27
  260. package/dist/renderer-ANJUDBOS.js +0 -34
  261. package/dist/renderer-D6GJ6EVK.js +0 -30
  262. package/dist/renderer-DNFV2IQI.js +0 -36
  263. package/dist/renderer-EDVCGIQO.js +0 -76
  264. package/dist/renderer-EFQSMHID.js +0 -27
  265. package/dist/renderer-GZLRX764.js +0 -24
  266. package/dist/renderer-H2HYLFN3.js +0 -20
  267. package/dist/renderer-IR5655M7.js +0 -28
  268. package/dist/renderer-L237AOOZ.js +0 -16
  269. package/dist/renderer-LSJWYGOL.js +0 -39
  270. package/dist/renderer-LWXDMZOV.js +0 -28
  271. package/dist/renderer-MYSVPERC.js +0 -22
  272. package/dist/renderer-OL5QSZPC.js +0 -31
  273. package/dist/renderer-P26HH3NA.js +0 -30
  274. package/dist/renderer-RNFECJ5D.js +0 -21
  275. package/dist/renderer-RPZVNCTF.js +0 -26
  276. package/dist/renderer-SDNWZDUY.js +0 -23
  277. package/dist/renderer-UKHH4UWV.js +0 -25
  278. package/dist/renderer-Y3Y7PEUS.js +0 -20
  279. package/dist/renderer-radial-QNGCGKZP.js +0 -21
  280. package/dist/state-renderer-ELWDRXD6.js +0 -40
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  buildSwatches
3
- } from "./chunk-MS5574I7.js";
3
+ } from "./chunk-K3K7JHZI.js";
4
4
  import {
5
5
  FONT_FAMILY
6
- } from "./chunk-53SEVJQM.js";
6
+ } from "./chunk-ICLB27PZ.js";
7
7
  import {
8
8
  fixedParts,
9
9
  fixedTimeCells,
@@ -14,19 +14,22 @@ import {
14
14
  workStatus,
15
15
  zoneParts
16
16
  } from "./chunk-A2RUBBVT.js";
17
+ import {
18
+ now
19
+ } from "./chunk-3DPOIW3W.js";
17
20
  import {
18
21
  contrastText,
19
22
  mix,
20
23
  themeBaseBg
21
- } from "./chunk-GLREDNBA.js";
24
+ } from "./chunk-AMQFJ7P7.js";
22
25
  import {
23
26
  resolveColor
24
27
  } from "./chunk-XOGQY4EC.js";
25
28
 
26
29
  // src/clock/renderer.ts
27
30
  import * as d3Selection from "d3-selection";
28
- function partsFor(entry, now) {
29
- return entry.kind === "fixed" ? fixedParts(entry.fixedOffsetMin ?? 0, now) : zoneParts(entry.zone, now);
31
+ function partsFor(entry, now2) {
32
+ return entry.kind === "fixed" ? fixedParts(entry.fixedOffsetMin ?? 0, now2) : zoneParts(entry.zone, now2);
30
33
  }
31
34
  var PLACE_ACCENTS = [
32
35
  "blue",
@@ -143,7 +146,7 @@ function renderClock(container, parsed, palette, isDark, exportDims) {
143
146
  baseWidth,
144
147
  COL_MIN_W * Math.max(1, parsed.entries.length) + 2 * cardM
145
148
  ) : baseWidth);
146
- const now = Date.now();
149
+ const now2 = now();
147
150
  const baseBg = themeBaseBg(palette, isDark);
148
151
  const muted = mix(palette.text, baseBg, 55);
149
152
  const faint = mix(palette.text, baseBg, 72);
@@ -167,9 +170,9 @@ function renderClock(container, parsed, palette, isDark, exportDims) {
167
170
  const titleFont = 20;
168
171
  const meta = parsed.work ? `${hourLabel(parsed.work.startMin, parsed.hours12)}\u2013${hourLabel(parsed.work.endMin, parsed.hours12)} \xB7 ${daysLabel(parsed.work.days)}` : null;
169
172
  const metaW = meta ? estWidth(meta, 12) + 16 : 0;
170
- svg.append("text").attr("x", padX).attr("y", y + titleFont).attr("fill", palette.text).attr("font-family", FONT_FAMILY).attr("font-size", titleFont).attr("font-weight", 650).attr("data-line-number", parsed.titleLineNumber).text(ellipsize(parsed.title, titleFont, rightX - padX - metaW));
173
+ svg.append("text").attr("x", padX).attr("y", y + titleFont).attr("fill", palette.text).attr("font-family", FONT_FAMILY).attr("font-size", titleFont).attr("font-weight", "bold").attr("data-line-number", parsed.titleLineNumber).text(ellipsize(parsed.title, titleFont, rightX - padX - metaW));
171
174
  if (meta) {
172
- svg.append("text").attr("x", rightX).attr("y", y + titleFont - 3).attr("text-anchor", "end").attr("fill", faint).attr("font-family", FONT_FAMILY).attr("font-size", 12).attr("font-weight", 500).text(meta);
175
+ svg.append("text").attr("x", rightX).attr("y", y + titleFont - 3).attr("text-anchor", "end").attr("fill", faint).attr("font-family", FONT_FAMILY).attr("font-size", 12).attr("font-weight", "normal").text(meta);
173
176
  }
174
177
  y += titleFont + 12;
175
178
  svg.append("line").attr("x1", cardM).attr("x2", width - cardM).attr("y1", y).attr("y2", y).attr("stroke", mix(palette.text, palette.bg, 22)).attr("stroke-width", 1);
@@ -191,14 +194,14 @@ function renderClock(container, parsed, palette, isDark, exportDims) {
191
194
  };
192
195
  let bannerH;
193
196
  if (parsed.columns) {
194
- bannerH = drawColumns(body, parsed, now, rowsTop, { width, cardM }, col);
197
+ bannerH = drawColumns(body, parsed, now2, rowsTop, { width, cardM }, col);
195
198
  } else {
196
199
  let leftColW = rowH - 20;
197
200
  let mainW = 0;
198
201
  if (parsed.face === "digital") {
199
202
  let secW = 0;
200
203
  for (const e of parsed.entries) {
201
- const p = partsFor(e, now);
204
+ const p = partsFor(e, now2);
202
205
  const t = formatTime(p.h, p.m, p.s, parsed.hours12);
203
206
  mainW = Math.max(mainW, estWidth(t.main, 48));
204
207
  secW = Math.max(secW, estWidth(`:${t.sec}`, 16), estWidth(t.ap, 16));
@@ -211,7 +214,7 @@ function renderClock(container, parsed, palette, isDark, exportDims) {
211
214
  entry,
212
215
  i,
213
216
  parsed,
214
- now,
217
+ now2,
215
218
  rowsTop + i * rowH,
216
219
  rowH,
217
220
  { padX, rightX, width, leftColW, mainW },
@@ -230,13 +233,13 @@ function renderClock(container, parsed, palette, isDark, exportDims) {
230
233
  function zoneFillMode(entry, parsed, col) {
231
234
  return entry.color || parsed.colorBy === "place" ? col.fillMode : void 0;
232
235
  }
233
- function drawRow(svg, entry, index, parsed, now, rowTop, rowH, geom, col) {
236
+ function drawRow(svg, entry, index, parsed, now2, rowTop, rowH, geom, col) {
234
237
  const { padX } = geom;
235
238
  const { text, muted, line2, tick, sw, cardFill } = col;
236
239
  const center = rowTop + rowH / 2;
237
- const parts = partsFor(entry, now);
240
+ const parts = partsFor(entry, now2);
238
241
  const hasCoords = entry.lat !== null && entry.lon !== null;
239
- const sun = parsed.sun && hasCoords ? sunLine(now, entry.lat, entry.lon) : null;
242
+ const sun = parsed.sun && hasCoords ? sunLine(now2, entry.lat, entry.lon) : null;
240
243
  const up = sun ? sun.up : parts.h >= 6 && parts.h < 18;
241
244
  const stColor = up ? sw.day : sw.night;
242
245
  const stTint = up ? sw.dayTint : sw.nightTint;
@@ -309,14 +312,17 @@ function drawRow(svg, entry, index, parsed, now, rowTop, rowH, geom, col) {
309
312
  const capTop = baseY - mainFont * 0.7;
310
313
  const sf = 20;
311
314
  const gap = 5;
312
- const { cells, width: mainW } = fixedTimeCells(ts.main, contentLeft, mainFont);
315
+ const { cells, width: mainW } = fixedTimeCells(
316
+ ts.main,
317
+ contentLeft,
318
+ mainFont
319
+ );
313
320
  const stackX = contentLeft + mainW + gap;
314
- const mainText = g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("y", baseY).attr("text-anchor", "middle").attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", mainFont).attr("font-weight", 600).attr("data-dgmo-clock-x0", contentLeft).attr("data-dgmo-clock-fs", mainFont).attr("data-dgmo-clock-gap", gap);
315
- for (const c of cells)
316
- mainText.append("tspan").attr("x", c.x).text(c.ch);
317
- g.append("text").attr("data-dgmo-clock-digital-part", "sec").attr("x", stackX).attr("y", capTop + sf * 0.72).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", 600).style("font-variant-numeric", "tabular-nums").text(`:${ts.sec}`);
321
+ const mainText = g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("y", baseY).attr("text-anchor", "middle").attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", mainFont).attr("font-weight", "bold").attr("data-dgmo-clock-x0", contentLeft).attr("data-dgmo-clock-fs", mainFont).attr("data-dgmo-clock-gap", gap);
322
+ for (const c of cells) mainText.append("tspan").attr("x", c.x).text(c.ch);
323
+ g.append("text").attr("data-dgmo-clock-digital-part", "sec").attr("x", stackX).attr("y", capTop + sf * 0.72).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", "bold").style("font-variant-numeric", "tabular-nums").text(`:${ts.sec}`);
318
324
  if (ts.ap)
319
- g.append("text").attr("data-dgmo-clock-digital-part", "ap").attr("x", stackX).attr("y", baseY).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", 600).text(ts.ap);
325
+ g.append("text").attr("data-dgmo-clock-digital-part", "ap").attr("x", stackX).attr("y", baseY).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", "bold").text(ts.ap);
320
326
  }
321
327
  const midLeft = contentLeft + geom.leftColW + 26;
322
328
  const midMaxW = Math.max(40, rightColLeft - 12 - midLeft);
@@ -341,7 +347,7 @@ function drawRow(svg, entry, index, parsed, now, rowTop, rowH, geom, col) {
341
347
  const firstBase = aliasLines.length === 1 ? center + 16 : center - aliasLines.length * aliasLh / 2 + aliasFont * 0.72;
342
348
  const aliasFill = auto?.solid ?? mix(muted, text, Math.round((aliasFont - 17) / 31 * 55));
343
349
  aliasLines.forEach((ln, i) => {
344
- g.append("text").attr("x", midLeft).attr("y", firstBase + i * aliasLh).attr("fill", aliasFill).attr("font-family", FONT_FAMILY).attr("font-size", aliasFont).attr("font-weight", 650).text(ln);
350
+ g.append("text").attr("x", midLeft).attr("y", firstBase + i * aliasLh).attr("fill", aliasFill).attr("font-family", FONT_FAMILY).attr("font-size", aliasFont).attr("font-weight", "bold").text(ln);
345
351
  });
346
352
  const iconX = rightColLeft + 6;
347
353
  const textX = rightColLeft + 20;
@@ -357,11 +363,11 @@ function drawRow(svg, entry, index, parsed, now, rowTop, rowH, geom, col) {
357
363
  const yy = top + i * lh;
358
364
  if (ln.kind === "place") {
359
365
  g.append("path").attr("transform", `translate(${iconX},${yy - 5}) scale(1.25)`).attr("d", "M0,4 L-2.3,-0.6 A2.6,2.6 0 1 1 2.3,-0.6 Z").attr("fill", muted);
360
- g.append("text").attr("x", textX).attr("y", yy).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", 14).attr("font-weight", 500).text(ellipsize(entry.place, 14, textMax));
366
+ g.append("text").attr("x", textX).attr("y", yy).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", 14).attr("font-weight", "normal").text(ellipsize(entry.place, 14, textMax));
361
367
  } else if (ln.kind === "avail" && status) {
362
368
  const stCol = status.cls === "ok" ? sw.ok : status.cls === "soon" ? sw.soon : sw.off;
363
369
  drawStatusClock(g, iconX, yy - 5, 5, stCol);
364
- g.append("text").attr("data-dgmo-clock-status", "").attr("x", textX).attr("y", yy).attr("fill", stCol).attr("font-family", FONT_FAMILY).attr("font-size", 14).attr("font-weight", 600).text(ellipsize(status.text, 14, textMax));
370
+ g.append("text").attr("data-dgmo-clock-status", "").attr("x", textX).attr("y", yy).attr("fill", stCol).attr("font-family", FONT_FAMILY).attr("font-size", 14).attr("font-weight", "bold").text(ellipsize(status.text, 14, textMax));
365
371
  } else if (ln.kind === "sun" && sun) {
366
372
  drawSunMoon(g, iconX, yy - 5, up, sw, 1.25);
367
373
  g.append("text").attr("data-dgmo-clock-sun-line", "").attr("x", textX).attr("y", yy).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", 13.5).text(ellipsize(sun.text, 13.5, textMax));
@@ -394,7 +400,7 @@ function bakeAnchors(g, entry, parsed, sun, sw) {
394
400
  );
395
401
  }
396
402
  }
397
- function drawColumns(body, parsed, now, top, geom, col) {
403
+ function drawColumns(body, parsed, now2, top, geom, col) {
398
404
  const { width, cardM } = geom;
399
405
  const { text, muted, line2, tick, cardFill, sw } = col;
400
406
  const n = Math.max(1, parsed.entries.length);
@@ -406,9 +412,9 @@ function drawColumns(body, parsed, now, top, geom, col) {
406
412
  parsed.entries.forEach((entry, i) => {
407
413
  const x0 = cardM + i * colW;
408
414
  const cx = x0 + colW / 2;
409
- const parts = partsFor(entry, now);
415
+ const parts = partsFor(entry, now2);
410
416
  const hasCoords = entry.lat !== null && entry.lon !== null;
411
- const sun = parsed.sun && hasCoords ? sunLine(now, entry.lat, entry.lon) : null;
417
+ const sun = parsed.sun && hasCoords ? sunLine(now2, entry.lat, entry.lon) : null;
412
418
  const up = sun ? sun.up : parts.h >= 6 && parts.h < 18;
413
419
  const ts = formatTime(parts.h, parts.m, parts.s, parsed.hours12);
414
420
  const work = parsed.work ? {
@@ -476,13 +482,13 @@ function drawColumns(body, parsed, now, top, geom, col) {
476
482
  const stackW = Math.max(estWidth(`:${ts.sec}`, sf), estWidth(ts.ap, sf));
477
483
  const gLeft = cx - (mainW + gap + stackW) / 2;
478
484
  const baseY = cy + tf * 0.34;
479
- const mainText = g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("y", baseY).attr("text-anchor", "middle").attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", tf).attr("font-weight", 600).attr("data-dgmo-clock-x0", gLeft).attr("data-dgmo-clock-fs", tf).attr("data-dgmo-clock-gap", gap);
485
+ const mainText = g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("y", baseY).attr("text-anchor", "middle").attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", tf).attr("font-weight", "bold").attr("data-dgmo-clock-x0", gLeft).attr("data-dgmo-clock-fs", tf).attr("data-dgmo-clock-gap", gap);
480
486
  for (const c of fixedTimeCells(ts.main, gLeft, tf).cells)
481
487
  mainText.append("tspan").attr("x", c.x).text(c.ch);
482
488
  const stackX = gLeft + mainW + gap;
483
- g.append("text").attr("data-dgmo-clock-digital-part", "sec").attr("x", stackX).attr("y", baseY - tf * cap + sf * cap).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", 500).text(`:${ts.sec}`);
489
+ g.append("text").attr("data-dgmo-clock-digital-part", "sec").attr("x", stackX).attr("y", baseY - tf * cap + sf * cap).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", "normal").text(`:${ts.sec}`);
484
490
  if (ts.ap)
485
- g.append("text").attr("data-dgmo-clock-digital-part", "ap").attr("x", stackX).attr("y", baseY).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", 500).text(ts.ap);
491
+ g.append("text").attr("data-dgmo-clock-digital-part", "ap").attr("x", stackX).attr("y", baseY).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", "normal").text(ts.ap);
486
492
  cy += tf + 8;
487
493
  }
488
494
  const amax = colW - 14;
@@ -501,7 +507,7 @@ function drawColumns(body, parsed, now, top, geom, col) {
501
507
  const alh = af + 3;
502
508
  const aFill = auto?.solid ?? mix(muted, text, Math.round((af - 14) / 12 * 55));
503
509
  alines.forEach(
504
- (ln, j) => g.append("text").attr("x", cx).attr("y", cy + af * 0.72 + j * alh).attr("text-anchor", "middle").attr("fill", aFill).attr("font-family", FONT_FAMILY).attr("font-size", af).attr("font-weight", 650).text(ln)
510
+ (ln, j) => g.append("text").attr("x", cx).attr("y", cy + af * 0.72 + j * alh).attr("text-anchor", "middle").attr("fill", aFill).attr("font-family", FONT_FAMILY).attr("font-size", af).attr("font-weight", "bold").text(ln)
505
511
  );
506
512
  cy += alines.length * alh + 12;
507
513
  const kinds = [];
@@ -523,7 +529,7 @@ function drawColumns(body, parsed, now, top, geom, col) {
523
529
  } else if (kind === "avail" && status) {
524
530
  const stCol = status.cls === "ok" ? sw.ok : status.cls === "soon" ? sw.soon : sw.off;
525
531
  drawStatusClock(g, iconX, yy - 4, 4, stCol);
526
- g.append("text").attr("data-dgmo-clock-status", "").attr("x", textX).attr("y", yy).attr("fill", stCol).attr("font-family", FONT_FAMILY).attr("font-size", 12).attr("font-weight", 600).text(ellipsize(status.text, 12, tmax));
532
+ g.append("text").attr("data-dgmo-clock-status", "").attr("x", textX).attr("y", yy).attr("fill", stCol).attr("font-family", FONT_FAMILY).attr("font-size", 12).attr("font-weight", "bold").text(ellipsize(status.text, 12, tmax));
527
533
  } else if (kind === "sun" && sun) {
528
534
  drawSunMoon(g, iconX, yy - 4, up, sw, 1);
529
535
  g.append("text").attr("data-dgmo-clock-sun-line", "").attr("x", textX).attr("y", yy).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", 11.5).text(ellipsize(sun.text, 11.5, tmax));
@@ -558,4 +564,4 @@ export {
558
564
  renderClock,
559
565
  renderClockForExport
560
566
  };
561
- //# sourceMappingURL=chunk-XPBJVSRY.js.map
567
+ //# sourceMappingURL=chunk-5BV5MXLY.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  buildPlacedNotes
3
- } from "./chunk-OWVDD5EC.js";
3
+ } from "./chunk-2R2M2C6V.js";
4
4
  import {
5
5
  noteCanvasShift
6
6
  } from "./chunk-6EK55ART.js";
7
7
  import {
8
8
  measureText
9
- } from "./chunk-MTGGOCND.js";
9
+ } from "./chunk-YC6GVLTI.js";
10
10
  import {
11
11
  resolveNotes
12
12
  } from "./chunk-E6PNTYRK.js";
@@ -326,4 +326,4 @@ function layoutERDiagram(parsed, options) {
326
326
  export {
327
327
  layoutERDiagram
328
328
  };
329
- //# sourceMappingURL=chunk-5VMUVJO4.js.map
329
+ //# sourceMappingURL=chunk-5DWF3N3V.js.map
@@ -1,26 +1,32 @@
1
1
  import {
2
2
  appendArrowheadMarkers
3
- } from "./chunk-LP7EC4MI.js";
3
+ } from "./chunk-XBJJP2HN.js";
4
+ import {
5
+ ARROWHEAD_HEIGHT,
6
+ ARROWHEAD_WIDTH,
7
+ EDGE_DASH
8
+ } from "./chunk-IIEI7VK5.js";
4
9
  import {
5
10
  TITLE_FONT_SIZE,
6
11
  TITLE_FONT_WEIGHT,
7
12
  TITLE_Y
8
- } from "./chunk-DEW62ON3.js";
13
+ } from "./chunk-VSPNH7LC.js";
9
14
  import {
10
15
  FONT_FAMILY
11
- } from "./chunk-53SEVJQM.js";
16
+ } from "./chunk-ICLB27PZ.js";
12
17
  import {
18
+ UNTAGGED_TAG_COLOR,
13
19
  resolveTagColor,
14
20
  tagAttrKey
15
- } from "./chunk-76LHNLGX.js";
21
+ } from "./chunk-O2HU4AQN.js";
16
22
  import {
17
23
  fillModeFromOptions
18
- } from "./chunk-M5OOAP65.js";
24
+ } from "./chunk-4CA7TJ44.js";
19
25
  import {
20
26
  contrastText,
21
27
  mix,
22
28
  themeBaseBg
23
- } from "./chunk-GLREDNBA.js";
29
+ } from "./chunk-AMQFJ7P7.js";
24
30
  import {
25
31
  CATEGORICAL_COLOR_ORDER,
26
32
  resolveColor
@@ -36,8 +42,6 @@ var NODE_RX = 8;
36
42
  var NODE_STROKE = 1.5;
37
43
  var EDGE_STROKE = 1.6;
38
44
  var EDGE_CORNER_R = 11;
39
- var ARROW_W = 9;
40
- var ARROW_H = 6.4;
41
45
  var LANE_RADIUS = 10;
42
46
  var LANE_INSET = 2;
43
47
  function roundedPolyline(pts, radius) {
@@ -109,8 +113,8 @@ function renderSwimlaneForExport(container, parsed, layout, palette, isDark, opt
109
113
  };
110
114
  appendArrowheadMarkers(defs, {
111
115
  idPrefix: "sw",
112
- width: ARROW_W,
113
- height: ARROW_H,
116
+ width: ARROWHEAD_WIDTH,
117
+ height: ARROWHEAD_HEIGHT,
114
118
  baseFill: palette.textMuted,
115
119
  colors: [ev.error, ev.success]
116
120
  });
@@ -166,14 +170,14 @@ function renderSwimlaneForExport(container, parsed, layout, palette, isDark, opt
166
170
  isLR ? { tl: LANE_RADIUS, bl: LANE_RADIUS } : { tl: LANE_RADIUS, tr: LANE_RADIUS }
167
171
  )
168
172
  ).attr("fill", mix(hex, baseBg, 16)).attr("opacity", 0.6);
169
- laneG.append("text").attr("x", isLR ? bx + 12 : bx + bw / 2).attr("y", isLR ? by + bh / 2 : by + band.headerSize / 2).attr("text-anchor", isLR ? "start" : "middle").attr("dominant-baseline", "middle").attr("font-size", LANE_LABEL_FONT).attr("font-weight", "700").attr("fill", mix(hex, palette.text, 55)).text(band.label);
173
+ laneG.append("text").attr("x", isLR ? bx + 12 : bx + bw / 2).attr("y", isLR ? by + bh / 2 : by + band.headerSize / 2).attr("text-anchor", isLR ? "start" : "middle").attr("dominant-baseline", "middle").attr("font-size", LANE_LABEL_FONT).attr("font-weight", "bold").attr("fill", mix(hex, palette.text, 55)).text(band.label);
170
174
  }
171
175
  const phaseG = root.append("g").attr("class", "dgmo-swimlane-phases");
172
176
  layout.phases.forEach((band, idx) => {
173
177
  if (idx % 2 === 1) {
174
178
  phaseG.append("rect").attr("x", band.x).attr("y", band.y).attr("width", band.width).attr("height", band.height).attr("rx", LANE_RADIUS).attr("fill", palette.text).attr("opacity", 0.05).attr("pointer-events", "none");
175
179
  }
176
- phaseG.append("text").attr("x", isLR ? band.x + band.width / 2 : band.headerSize / 2).attr("y", isLR ? band.headerSize / 2 : band.y + band.height / 2).attr("text-anchor", "middle").attr("dominant-baseline", "middle").attr("font-size", PHASE_LABEL_FONT).attr("font-weight", "700").attr("letter-spacing", "0.06em").attr("fill", palette.textMuted).attr("data-line-number", String(band.lineNumber)).text(band.label);
180
+ phaseG.append("text").attr("x", isLR ? band.x + band.width / 2 : band.headerSize / 2).attr("y", isLR ? band.headerSize / 2 : band.y + band.height / 2).attr("text-anchor", "middle").attr("dominant-baseline", "middle").attr("font-size", PHASE_LABEL_FONT).attr("font-weight", "bold").attr("letter-spacing", "0.06em").attr("fill", palette.textMuted).attr("data-line-number", String(band.lineNumber)).text(band.label);
177
181
  });
178
182
  const activeTag = opts.activeTagGroup ?? null;
179
183
  const outline = fillMode === "outline";
@@ -182,7 +186,7 @@ function renderSwimlaneForExport(container, parsed, layout, palette, isDark, opt
182
186
  const key = tagAttrKey(activeTag);
183
187
  if (n.tags[key]) {
184
188
  const c = resolveTagColor(n.tags, [...parsed.tagGroups], activeTag);
185
- if (c && c !== "#999999")
189
+ if (c && c !== UNTAGGED_TAG_COLOR)
186
190
  return {
187
191
  fill: fillMode === "solid" ? c : outline ? baseBg : mix(c, baseBg, 22),
188
192
  stroke: c
@@ -233,7 +237,7 @@ function renderSwimlaneForExport(container, parsed, layout, palette, isDark, opt
233
237
  marker = `sw-arrow-${ev.success.replace("#", "")}`;
234
238
  }
235
239
  const d = roundedPolyline(e.points, EDGE_CORNER_R);
236
- edgeG.append("path").attr("class", "sw-edge sw-edge-group").attr("d", d).attr("fill", "none").attr("stroke", stroke).attr("stroke-width", EDGE_STROKE).attr("stroke-dasharray", e.back ? "5 4" : null).attr("marker-end", `url(#${marker})`).attr("data-line-number", String(e.lineNumber));
240
+ edgeG.append("path").attr("class", "sw-edge sw-edge-group").attr("d", d).attr("fill", "none").attr("stroke", stroke).attr("stroke-width", EDGE_STROKE).attr("stroke-dasharray", e.back ? EDGE_DASH : null).attr("marker-end", `url(#${marker})`).attr("data-line-number", String(e.lineNumber));
237
241
  if (e.label) {
238
242
  const segLen = [];
239
243
  let total = 0;
@@ -401,4 +405,4 @@ function drawCenteredLabel(g, label, cx, cy, fill, fontSize, tight = false, halo
401
405
  export {
402
406
  renderSwimlaneForExport
403
407
  };
404
- //# sourceMappingURL=chunk-SSEAULA5.js.map
408
+ //# sourceMappingURL=chunk-6775W3UW.js.map
@@ -9,7 +9,7 @@ import {
9
9
  stripDefaultModifier,
10
10
  tagAttrKey,
11
11
  validateTagGroupNames
12
- } from "./chunk-76LHNLGX.js";
12
+ } from "./chunk-O2HU4AQN.js";
13
13
  import {
14
14
  JOURNEY_MAP_REGISTRY,
15
15
  OPTION_NOCOLON_RE,
@@ -20,7 +20,7 @@ import {
20
20
  splitNameAndMeta,
21
21
  warnUnknownMetaKeys,
22
22
  withTagAliases
23
- } from "./chunk-M5OOAP65.js";
23
+ } from "./chunk-4CA7TJ44.js";
24
24
  import {
25
25
  resolveColorWithDiagnostic
26
26
  } from "./chunk-XOGQY4EC.js";
@@ -419,4 +419,4 @@ function parseStepLine(trimmed, lineNumber, counter, aliasMap, warn, diagnostics
419
419
  export {
420
420
  parseJourneyMap
421
421
  };
422
- //# sourceMappingURL=chunk-2QRIMMIH.js.map
422
+ //# sourceMappingURL=chunk-6EMJRAEY.js.map
@@ -1,19 +1,20 @@
1
1
  import {
2
- FONT_FAMILY
3
- } from "./chunk-53SEVJQM.js";
2
+ FONT_FAMILY,
3
+ MONO_FAMILY
4
+ } from "./chunk-ICLB27PZ.js";
4
5
  import {
5
6
  measureText,
6
7
  truncateText
7
- } from "./chunk-MTGGOCND.js";
8
+ } from "./chunk-YC6GVLTI.js";
8
9
  import {
9
10
  encodeDiagramUrl
10
11
  } from "./chunk-U7VO6JAA.js";
11
12
  import {
12
13
  parseDgmoChartType
13
- } from "./chunk-FTTB64OJ.js";
14
+ } from "./chunk-EBEFYSVZ.js";
14
15
  import {
15
16
  chartTypes
16
- } from "./chunk-M5OOAP65.js";
17
+ } from "./chunk-4CA7TJ44.js";
17
18
 
18
19
  // src/error-card.ts
19
20
  var DOCS_BASE = "https://diagrammo.app/docs";
@@ -25,7 +26,6 @@ function docsLink(source) {
25
26
  label: `Read the ${chartType} guide \u2197`
26
27
  } : { url: `${DOCS_BASE}/`, label: "Browse the DGMO docs \u2197" };
27
28
  }
28
- var MONO_FAMILY = "ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace";
29
29
  var W = 660;
30
30
  var PAD = 24;
31
31
  var CONTENT_W = W - PAD * 2;
@@ -48,8 +48,8 @@ function renderErrorCard(errors, source, palette, theme) {
48
48
  let y = PAD + 8;
49
49
  parts.push(frownMark(PAD + 14, y + 12, danger));
50
50
  parts.push(
51
- `<text x="${PAD + 38}" y="${y + 11}" fill="${text}" font-family="${FONT_FAMILY}" font-size="16" font-weight="700">Couldn't render this diagram</text>`,
52
- `<text x="${W - PAD}" y="${y + 10}" text-anchor="end" fill="${muted}" font-family="${FONT_FAMILY}" font-size="12" font-weight="600" letter-spacing="0.5">dgmo</text>`
51
+ `<text x="${PAD + 38}" y="${y + 11}" fill="${text}" font-family="${FONT_FAMILY}" font-size="16" font-weight="bold">Couldn't render this diagram</text>`,
52
+ `<text x="${W - PAD}" y="${y + 10}" text-anchor="end" fill="${muted}" font-family="${FONT_FAMILY}" font-size="12" font-weight="bold" letter-spacing="0.5">dgmo</text>`
53
53
  );
54
54
  y += 24;
55
55
  const errLabel = errors.length === 1 ? "1 error" : `${errors.length} errors`;
@@ -69,7 +69,7 @@ function renderErrorCard(errors, source, palette, theme) {
69
69
  const badgeW = 14 + label.length * 7;
70
70
  parts.push(
71
71
  `<rect x="${PAD}" y="${y - 13}" width="${badgeW}" height="19" rx="4" fill="${danger}"/>`,
72
- `<text x="${PAD + badgeW / 2}" y="${y + 1}" text-anchor="middle" fill="${c.bg}" font-family="${FONT_FAMILY}" font-size="11.5" font-weight="700">${escapeXml(label)}</text>`
72
+ `<text x="${PAD + badgeW / 2}" y="${y + 1}" text-anchor="middle" fill="${c.bg}" font-family="${FONT_FAMILY}" font-size="11.5" font-weight="bold">${escapeXml(label)}</text>`
73
73
  );
74
74
  msgX = PAD + badgeW + 12;
75
75
  }
@@ -105,13 +105,13 @@ function renderErrorCard(errors, source, palette, theme) {
105
105
  );
106
106
  }
107
107
  rowParts.push(
108
- `<text x="${PAD + 8}" y="${ry + 1}" fill="${isBad ? danger : muted}" font-family="${MONO_FAMILY}" font-size="${CODE_FS}" font-weight="${isBad ? 700 : 400}">${escapeXml(`${n}`)}</text>`,
108
+ `<text x="${PAD + 8}" y="${ry + 1}" fill="${isBad ? danger : muted}" font-family="${MONO_FAMILY}" font-size="${CODE_FS}" font-weight="${isBad ? "bold" : "normal"}">${escapeXml(`${n}`)}</text>`,
109
109
  `<text x="${codeX}" y="${ry + 1}" fill="${text}" font-family="${MONO_FAMILY}" font-size="${CODE_FS}" xml:space="preserve">${escapeXml(codeText)}</text>`
110
110
  );
111
111
  if (isBad && hasCaret) {
112
112
  const caretX = codeX + (e.column - 1) * CODE_FS * MONO_CH;
113
113
  rowParts.push(
114
- `<text x="${caretX}" y="${ry + 15}" fill="${danger}" font-family="${MONO_FAMILY}" font-size="${CODE_FS}" font-weight="700">^</text>`
114
+ `<text x="${caretX}" y="${ry + 15}" fill="${danger}" font-family="${MONO_FAMILY}" font-size="${CODE_FS}" font-weight="bold">^</text>`
115
115
  );
116
116
  ry += 14;
117
117
  }
@@ -142,12 +142,12 @@ function renderErrorCard(errors, source, palette, theme) {
142
142
  const iconSize = 18;
143
143
  const linkColor = c.colors.blue ?? c.text;
144
144
  parts.push(
145
- `<a href="${escapeXml(editUrl)}" target="_blank" rel="noopener noreferrer">` + diagrammoIcon(PAD, y - 14, iconSize) + `<text x="${PAD + iconSize + 8}" y="${y}" fill="${linkColor}" font-family="${FONT_FAMILY}" font-size="12.5" font-weight="600" text-decoration="underline">Edit &amp; fix this diagram at online.diagrammo.app \u2197</text></a>`
145
+ `<a href="${escapeXml(editUrl)}" target="_blank" rel="noopener noreferrer">` + diagrammoIcon(PAD, y - 14, iconSize) + `<text x="${PAD + iconSize + 8}" y="${y}" fill="${linkColor}" font-family="${FONT_FAMILY}" font-size="12.5" font-weight="bold" text-decoration="underline">Edit &amp; fix this diagram at online.diagrammo.app \u2197</text></a>`
146
146
  );
147
147
  y += 22;
148
148
  const docs = docsLink(source);
149
149
  parts.push(
150
- `<a href="${escapeXml(docs.url)}" target="_blank" rel="noopener noreferrer">` + docIcon(PAD, y - 14, iconSize, linkColor) + `<text x="${PAD + iconSize + 8}" y="${y}" fill="${linkColor}" font-family="${FONT_FAMILY}" font-size="12.5" font-weight="600" text-decoration="underline">${escapeXml(docs.label)}</text></a>`
150
+ `<a href="${escapeXml(docs.url)}" target="_blank" rel="noopener noreferrer">` + docIcon(PAD, y - 14, iconSize, linkColor) + `<text x="${PAD + iconSize + 8}" y="${y}" fill="${linkColor}" font-family="${FONT_FAMILY}" font-size="12.5" font-weight="bold" text-decoration="underline">${escapeXml(docs.label)}</text></a>`
151
151
  );
152
152
  y += 8;
153
153
  const height = Math.round(y + PAD - 14);
@@ -201,7 +201,6 @@ function escapeXml(s) {
201
201
 
202
202
  export {
203
203
  docsLink,
204
- MONO_FAMILY,
205
204
  renderErrorCard
206
205
  };
207
- //# sourceMappingURL=chunk-OZOHREFQ.js.map
206
+ //# sourceMappingURL=chunk-6FUIPWTS.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  measureText,
3
3
  wrapTextToWidth
4
- } from "./chunk-MTGGOCND.js";
4
+ } from "./chunk-YC6GVLTI.js";
5
5
  import {
6
6
  fillModeFromOptions
7
- } from "./chunk-M5OOAP65.js";
7
+ } from "./chunk-4CA7TJ44.js";
8
8
  import {
9
9
  mix,
10
10
  shapeFill
11
- } from "./chunk-GLREDNBA.js";
11
+ } from "./chunk-AMQFJ7P7.js";
12
12
 
13
13
  // src/journey-map/layout.ts
14
14
  var PADDING = 24;
@@ -290,4 +290,4 @@ export {
290
290
  scoreToCurveY,
291
291
  layoutJourneyMap
292
292
  };
293
- //# sourceMappingURL=chunk-F4V67JXG.js.map
293
+ //# sourceMappingURL=chunk-6JIMYPXR.js.map
@@ -1,59 +1,63 @@
1
1
  import {
2
2
  layoutClassDiagram
3
- } from "./chunk-LM3HY3VG.js";
3
+ } from "./chunk-P4U5GST7.js";
4
4
  import {
5
5
  NOTE_BADGE_RADIUS,
6
6
  noteConnectorPoints,
7
7
  renderNoteBadge,
8
8
  renderNoteBox,
9
9
  renderNoteConnector
10
- } from "./chunk-Q74GP3GK.js";
10
+ } from "./chunk-37NDM5NW.js";
11
11
  import {
12
- extractExportSvg,
13
- runInExportContainer
14
- } from "./chunk-YM5RMLFO.js";
12
+ ScaleContext
13
+ } from "./chunk-24YPR5EH.js";
15
14
  import {
15
+ ARROWHEAD_HEIGHT,
16
+ ARROWHEAD_WIDTH,
17
+ EDGE_DASH,
18
+ EDGE_LABEL_KNOCKOUT_OPACITY,
16
19
  EDGE_STROKE_WIDTH,
17
20
  NODE_STROKE_WIDTH
18
- } from "./chunk-FJ57274M.js";
21
+ } from "./chunk-IIEI7VK5.js";
19
22
  import {
20
- ScaleContext
21
- } from "./chunk-24YPR5EH.js";
23
+ extractExportSvg,
24
+ runInExportContainer
25
+ } from "./chunk-QFIXL3OK.js";
22
26
  import {
23
27
  layoutInlineHeader
24
- } from "./chunk-MG3DE3VO.js";
28
+ } from "./chunk-2F7AG7LA.js";
25
29
  import {
26
30
  TITLE_FONT_SIZE,
27
31
  TITLE_FONT_WEIGHT,
28
32
  TITLE_Y
29
- } from "./chunk-DEW62ON3.js";
33
+ } from "./chunk-VSPNH7LC.js";
30
34
  import {
31
35
  renderIntegratedLegend
32
- } from "./chunk-U4DS2ODO.js";
36
+ } from "./chunk-253E5ISJ.js";
33
37
  import {
34
38
  getLegendExtent
35
- } from "./chunk-VRPV6QXR.js";
39
+ } from "./chunk-LLZVRWVS.js";
36
40
  import {
37
41
  FONT_FAMILY
38
- } from "./chunk-53SEVJQM.js";
42
+ } from "./chunk-ICLB27PZ.js";
39
43
  import {
40
44
  LEGEND_HEIGHT
41
- } from "./chunk-YT5ICQ4R.js";
45
+ } from "./chunk-CKDYRVOC.js";
42
46
  import {
43
47
  measureText
44
- } from "./chunk-MTGGOCND.js";
48
+ } from "./chunk-YC6GVLTI.js";
45
49
  import {
46
50
  parseClassDiagram
47
- } from "./chunk-LTTZX6RD.js";
51
+ } from "./chunk-Z5ZCTCX4.js";
48
52
  import {
49
53
  fillModeFromOptions,
50
54
  legendInlineRequested,
51
55
  legendSuppressed
52
- } from "./chunk-M5OOAP65.js";
56
+ } from "./chunk-4CA7TJ44.js";
53
57
  import {
54
58
  contrastText,
55
59
  shapeFill
56
- } from "./chunk-GLREDNBA.js";
60
+ } from "./chunk-AMQFJ7P7.js";
57
61
 
58
62
  // src/class/renderer.ts
59
63
  import * as d3Selection from "d3-selection";
@@ -215,12 +219,12 @@ function renderClassDiagram(container, parsed, layout, palette, isDark, onClickI
215
219
  svg.attr("width", "100%");
216
220
  }
217
221
  const defs = svg.append("defs");
218
- const AW = 12;
219
- const AH = 8;
222
+ const AW = ARROWHEAD_WIDTH;
223
+ const AH = ARROWHEAD_HEIGHT;
220
224
  defs.append("marker").attr("id", "cd-arrow-inherit").attr("viewBox", `0 0 ${AW} ${AH}`).attr("refX", AW).attr("refY", AH / 2).attr("markerWidth", AW).attr("markerHeight", AH).attr("orient", "auto").append("polygon").attr("points", `0,0 ${AW},${AH / 2} 0,${AH}`).attr("fill", palette.textMuted).attr("stroke", palette.textMuted).attr("stroke-width", 1);
221
225
  defs.append("marker").attr("id", "cd-arrow-implement").attr("viewBox", `0 0 ${AW} ${AH}`).attr("refX", AW).attr("refY", AH / 2).attr("markerWidth", AW).attr("markerHeight", AH).attr("orient", "auto").append("polygon").attr("points", `0,0 ${AW},${AH / 2} 0,${AH}`).attr("fill", palette.bg).attr("stroke", palette.textMuted).attr("stroke-width", 1);
222
- const DW = 12;
223
- const DH = 8;
226
+ const DW = ARROWHEAD_WIDTH;
227
+ const DH = ARROWHEAD_HEIGHT;
224
228
  defs.append("marker").attr("id", "cd-arrow-compose").attr("viewBox", `0 0 ${DW} ${DH}`).attr("refX", 0).attr("refY", DH / 2).attr("markerWidth", DW).attr("markerHeight", DH).attr("orient", "auto").append("polygon").attr("points", `${DW / 2},0 ${DW},${DH / 2} ${DW / 2},${DH} 0,${DH / 2}`).attr("fill", palette.textMuted).attr("stroke", palette.textMuted).attr("stroke-width", 1);
225
229
  defs.append("marker").attr("id", "cd-arrow-aggregate").attr("viewBox", `0 0 ${DW} ${DH}`).attr("refX", 0).attr("refY", DH / 2).attr("markerWidth", DW).attr("markerHeight", DH).attr("orient", "auto").append("polygon").attr("points", `${DW / 2},0 ${DW},${DH / 2} ${DW / 2},${DH} 0,${DH / 2}`).attr("fill", palette.bg).attr("stroke", palette.textMuted).attr("stroke-width", 1);
226
230
  defs.append("marker").attr("id", "cd-arrow-depend").attr("viewBox", `0 0 ${AW} ${AH}`).attr("refX", AW).attr("refY", AH / 2).attr("markerWidth", AW).attr("markerHeight", AH).attr("orient", "auto").append("polyline").attr("points", `0,0 ${AW},${AH / 2} 0,${AH}`).attr("fill", "none").attr("stroke", palette.textMuted).attr("stroke-width", 1.5);
@@ -271,7 +275,7 @@ function renderClassDiagram(container, parsed, layout, palette, isDark, onClickI
271
275
  if (pathD) {
272
276
  const pathEl = edgeG.append("path").attr("d", pathD).attr("fill", "none").attr("stroke", edgeColor).attr("stroke-width", sEdgeStrokeWidth).attr("class", "cd-edge");
273
277
  if (dashed) {
274
- pathEl.attr("stroke-dasharray", "6 3");
278
+ pathEl.attr("stroke-dasharray", EDGE_DASH);
275
279
  }
276
280
  if (sourceMarker) {
277
281
  pathEl.attr("marker-start", `url(#${markerId})`);
@@ -284,7 +288,7 @@ function renderClassDiagram(container, parsed, layout, palette, isDark, onClickI
284
288
  const midPt = edge.points[midIdx];
285
289
  const bgW = measureText(edge.label, sEdgeLabelFontSize) + 8;
286
290
  const bgH = 16;
287
- edgeG.append("rect").attr("x", midPt.x - bgW / 2).attr("y", midPt.y - bgH / 2 - 1).attr("width", bgW).attr("height", bgH).attr("rx", 3).attr("fill", palette.bg).attr("opacity", 0.85).attr("class", "cd-edge-label-bg");
291
+ edgeG.append("rect").attr("x", midPt.x - bgW / 2).attr("y", midPt.y - bgH / 2 - 1).attr("width", bgW).attr("height", bgH).attr("rx", 3).attr("fill", palette.bg).attr("opacity", EDGE_LABEL_KNOCKOUT_OPACITY).attr("class", "cd-edge-label-bg");
288
292
  edgeG.append("text").attr("x", midPt.x).attr("y", midPt.y + 4).attr("text-anchor", "middle").attr("fill", edgeColor).attr("font-size", sEdgeLabelFontSize).attr("class", "cd-edge-label").text(edge.label);
289
293
  }
290
294
  }
@@ -448,4 +452,4 @@ export {
448
452
  renderClassDiagram,
449
453
  renderClassDiagramForExport
450
454
  };
451
- //# sourceMappingURL=chunk-CHOK7NCJ.js.map
455
+ //# sourceMappingURL=chunk-7AEMAUDF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  measureText
3
- } from "./chunk-MTGGOCND.js";
3
+ } from "./chunk-YC6GVLTI.js";
4
4
 
5
5
  // src/wireframe/layout.ts
6
6
  var DESKTOP_WIDTH = 1200;
@@ -302,4 +302,4 @@ function computeFieldAlignX(children) {
302
302
  export {
303
303
  layoutWireframe
304
304
  };
305
- //# sourceMappingURL=chunk-NVOU7N6C.js.map
305
+ //# sourceMappingURL=chunk-7DCM3CB5.js.map