@diagrammo/dgmo 0.56.0 → 0.58.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 (210) hide show
  1. package/dist/advanced.d.ts +57 -7
  2. package/dist/advanced.js +206 -196
  3. package/dist/auto.css +60 -0
  4. package/dist/auto.js +185 -124
  5. package/dist/auto.mjs +6749 -6280
  6. package/dist/block.css +60 -0
  7. package/dist/block.d.ts +12 -0
  8. package/dist/block.js +132 -61
  9. package/dist/{chart-meta-CPNVUZ5J.d.ts → chart-meta-C6UaqhTP.d.ts} +1 -1
  10. package/dist/chart-meta.d.ts +2 -2
  11. package/dist/chart-meta.js +53 -51
  12. package/dist/{charts-d3-D67V6KHE.js → charts-d3-K5M5J5ZM.js} +5 -5
  13. package/dist/{chunk-GDGOVO2I.js → chunk-2JPEBOUQ.js} +71 -55
  14. package/dist/{chunk-FERE46TP.js → chunk-2UBTPFIF.js} +3 -3
  15. package/dist/{chunk-CXI6X54X.js → chunk-3DY7TNZ7.js} +2 -2
  16. package/dist/{chunk-D5FANMSG.js → chunk-3LMUMAUS.js} +2 -2
  17. package/dist/{chunk-D3WTEBGT.js → chunk-46NVO5UA.js} +2 -2
  18. package/dist/{chunk-5J2RQGFG.js → chunk-4CE2GOC2.js} +3 -3
  19. package/dist/{chunk-VKN7YW4Q.js → chunk-4ESLORPX.js} +7 -7
  20. package/dist/chunk-4UNGFVVY.js +181 -0
  21. package/dist/{chunk-Y2L2LET6.js → chunk-52KLHCXQ.js} +6 -6
  22. package/dist/{chunk-VSFAJUEF.js → chunk-5RPSN32F.js} +3 -3
  23. package/dist/{chunk-RBIX3HQQ.js → chunk-5RY4W7J6.js} +9 -9
  24. package/dist/{chunk-GUVVQW3Y.js → chunk-6F3MVYUW.js} +6 -6
  25. package/dist/{chunk-ST3ZNEUQ.js → chunk-6JYE3SDK.js} +2 -2
  26. package/dist/{chunk-FZECLCCU.js → chunk-6KTRV3O5.js} +3 -3
  27. package/dist/{chunk-KIGV66SP.js → chunk-7Q6HX7ON.js} +6 -6
  28. package/dist/{chunk-ULR3BVNH.js → chunk-7SGR7A5K.js} +4 -4
  29. package/dist/{chunk-5ZDHXS5N.js → chunk-7UZFAIKI.js} +7 -7
  30. package/dist/{chunk-WFX6AUQO.js → chunk-ATKB7VEN.js} +9 -4
  31. package/dist/{chunk-5VLUAAAE.js → chunk-AU4AQYOA.js} +3 -3
  32. package/dist/{chunk-4MB4UOT5.js → chunk-B4U7RRQ4.js} +2 -2
  33. package/dist/{chunk-QWUYFUNO.js → chunk-BFYPHZ5M.js} +2 -2
  34. package/dist/{chunk-NVQXIDLE.js → chunk-BIWMOFSE.js} +7 -7
  35. package/dist/{chunk-HPJITTF7.js → chunk-C7IKQOEQ.js} +15 -15
  36. package/dist/{chunk-YJUF2N3C.js → chunk-CBPFVH3N.js} +10 -10
  37. package/dist/{chunk-R7ECJQTB.js → chunk-CC6XIQDE.js} +3 -3
  38. package/dist/{chunk-3R67RRPC.js → chunk-CZIFUXI2.js} +7 -7
  39. package/dist/chunk-D3K4U3ZM.js +232 -0
  40. package/dist/{chunk-RQGNELB3.js → chunk-DWAQXY6T.js} +3 -3
  41. package/dist/{chunk-HIMDUQT7.js → chunk-DWMJLEBT.js} +7 -7
  42. package/dist/{chunk-YG5KQ55U.js → chunk-DZUDSGGQ.js} +13 -21
  43. package/dist/chunk-E55OZDFH.js +65 -0
  44. package/dist/{chunk-P6XFQVYY.js → chunk-E6CCWMTT.js} +19 -19
  45. package/dist/{chunk-3KOPPSUQ.js → chunk-E7HANW62.js} +12 -3
  46. package/dist/{chunk-ZMMYCERO.js → chunk-EDJYIQZM.js} +9 -233
  47. package/dist/{chunk-JXFB3APA.js → chunk-EEF7BUX7.js} +15 -15
  48. package/dist/{chunk-23THM67F.js → chunk-FWNJ45NW.js} +5 -5
  49. package/dist/{chunk-2UZVMWSQ.js → chunk-FXIG472W.js} +5 -5
  50. package/dist/{chunk-CQOC2MD6.js → chunk-GAFNYUNJ.js} +17 -16
  51. package/dist/{chunk-AIH6M5J6.js → chunk-GGKWKNOL.js} +4 -4
  52. package/dist/{chunk-U2BKSEKU.js → chunk-H52HJ26L.js} +2 -2
  53. package/dist/{chunk-BR2VSKHI.js → chunk-HBIGEWRC.js} +5 -5
  54. package/dist/{chunk-D64FRGKU.js → chunk-HUYAMTCD.js} +2 -2
  55. package/dist/{chunk-FCA2UGJT.js → chunk-HXTS54OV.js} +6 -6
  56. package/dist/{chunk-XN4ZSACM.js → chunk-ILZHMKYQ.js} +7 -7
  57. package/dist/{chunk-W2I2EXSC.js → chunk-IRN5GBBO.js} +15 -15
  58. package/dist/{chunk-YH62K5D4.js → chunk-JM65HLBZ.js} +13 -13
  59. package/dist/{chunk-DIKIHU52.js → chunk-KAG5JCZV.js} +3 -3
  60. package/dist/{chunk-4MJOBVY7.js → chunk-KNCY7YHC.js} +2 -2
  61. package/dist/{chunk-N2KO445N.js → chunk-L5DQB4C7.js} +16 -16
  62. package/dist/{chunk-5HWPEYWB.js → chunk-LDVUPGWC.js} +2 -2
  63. package/dist/{chunk-EEKGMS63.js → chunk-LLDNNANC.js} +3 -3
  64. package/dist/{chunk-SK7PCW4F.js → chunk-LSFZDBAP.js} +2 -2
  65. package/dist/{chunk-7SXTD7L6.js → chunk-LYQMN35H.js} +2 -2
  66. package/dist/{chunk-ES3MUYRX.js → chunk-MF4FDLFG.js} +3 -3
  67. package/dist/{chunk-YNAHUNMA.js → chunk-MPPOQOCF.js} +2 -2
  68. package/dist/{chunk-QDOYT6UW.js → chunk-N7PF5IRF.js} +4 -4
  69. package/dist/chunk-NCT22MOD.js +93 -0
  70. package/dist/{chunk-RK3Y4WMV.js → chunk-NGGVVTP2.js} +15 -15
  71. package/dist/{chunk-AMC2OGXF.js → chunk-NPBAV3QU.js} +13 -13
  72. package/dist/{chunk-HODUM6LY.js → chunk-NQGE76NC.js} +10 -10
  73. package/dist/{chunk-5XMDSXZT.js → chunk-NSUAU6JQ.js} +2 -2
  74. package/dist/{chunk-OHBIN74X.js → chunk-NW2K6UU2.js} +3 -3
  75. package/dist/{chunk-WOMXS5R7.js → chunk-NYCBN7YE.js} +3 -3
  76. package/dist/{chunk-FXVPSTDT.js → chunk-OMOU2V3W.js} +6 -6
  77. package/dist/chunk-ON4MEUC4.js +50 -0
  78. package/dist/{chunk-SOBGK35Z.js → chunk-OXANJRNK.js} +8 -8
  79. package/dist/{chunk-X32RDWT5.js → chunk-PH5WK6G5.js} +3 -3
  80. package/dist/{chunk-C3BWDEYN.js → chunk-PIIORN3Q.js} +7 -7
  81. package/dist/{chunk-YM2ZQIVG.js → chunk-QDOSCTL5.js} +9 -17
  82. package/dist/{chunk-CY5KE2P5.js → chunk-QS37VUFZ.js} +2 -2
  83. package/dist/{chunk-NFAHDPCG.js → chunk-RB3AFVPT.js} +3 -3
  84. package/dist/{chunk-LV5BFA24.js → chunk-RDHZRHDG.js} +3 -3
  85. package/dist/{chunk-AOJJSGXE.js → chunk-S3AZMBK7.js} +7 -7
  86. package/dist/{chunk-OWLGERJL.js → chunk-SBQXLX6Y.js} +6 -6
  87. package/dist/{chunk-PECYPUJJ.js → chunk-SQK4EKOW.js} +8 -8
  88. package/dist/{chunk-2JMNOEAU.js → chunk-STYJ6EOV.js} +163 -140
  89. package/dist/{chunk-AN465MXC.js → chunk-SZCZOA2L.js} +2 -2
  90. package/dist/{chunk-GG7TK3IA.js → chunk-TQC2SUMJ.js} +6 -6
  91. package/dist/{chunk-HE57UQHL.js → chunk-TXQXPJTG.js} +4 -4
  92. package/dist/{chunk-RV2N7COG.js → chunk-UFDLQKCR.js} +2 -2
  93. package/dist/{chunk-YWPWRR7W.js → chunk-UPTAWSCG.js} +2 -2
  94. package/dist/{chunk-ULONXAOD.js → chunk-VBSKNQUO.js} +6 -6
  95. package/dist/{chunk-UU6LUYUH.js → chunk-VJARCVMH.js} +2 -2
  96. package/dist/{chunk-HOPTF3ZP.js → chunk-VJYERZ2Q.js} +7 -7
  97. package/dist/{chunk-USFZQPJ2.js → chunk-W22JRLNA.js} +3 -3
  98. package/dist/{chunk-KSPCR75O.js → chunk-W2RU24DD.js} +6 -6
  99. package/dist/{chunk-NHZAYL2X.js → chunk-W6T5QRIR.js} +4 -4
  100. package/dist/{chunk-3HDBAXF5.js → chunk-WGC42WJU.js} +8 -1
  101. package/dist/{chunk-APD52YJV.js → chunk-WQWVLAA5.js} +4 -4
  102. package/dist/{chunk-VU3DOZ6C.js → chunk-WYG5VJY2.js} +4 -4
  103. package/dist/{chunk-VYEQPPS6.js → chunk-WYGLKR4I.js} +3 -3
  104. package/dist/{chunk-MGLJA5TK.js → chunk-X3YNX4DR.js} +2 -2
  105. package/dist/{chunk-A4DAZO3U.js → chunk-X4JEAY73.js} +13 -13
  106. package/dist/{chunk-JE3SMHRZ.js → chunk-XHTRLRZ5.js} +9 -9
  107. package/dist/{chunk-UZ6L5VQJ.js → chunk-XXAHWYQU.js} +3 -3
  108. package/dist/{chunk-HKKPUUNK.js → chunk-YAG7WAQE.js} +13 -13
  109. package/dist/{chunk-KF575IXC.js → chunk-YILSSUEL.js} +3 -3
  110. package/dist/{chunk-WK3UFCZC.js → chunk-YKMOI6ZG.js} +11 -11
  111. package/dist/{chunk-TGOMHUOV.js → chunk-ZEIYC7XO.js} +12 -1
  112. package/dist/{chunk-PFG3EVRD.js → chunk-ZKNSLC35.js} +3 -3
  113. package/dist/{chunk-U7ZQTUZT.js → chunk-ZW7LTYW2.js} +4 -4
  114. package/dist/cli.cjs +144 -143
  115. package/dist/cloud-reference.d.ts +76 -0
  116. package/dist/cloud-reference.js +18 -0
  117. package/dist/completion-registry.js +24 -5
  118. package/dist/dgmo-router-2637N4DY.js +90 -0
  119. package/dist/{dimensions-PLECMFTR.js → dimensions-HSIQYP5Z.js} +5 -5
  120. package/dist/editor.js +11 -2
  121. package/dist/element.js +188 -127
  122. package/dist/element.mjs +6749 -6280
  123. package/dist/{flowchart-parser-DA3V2SLH.js → flowchart-parser-I2TEUWAP.js} +4 -4
  124. package/dist/{flowchart-renderer-UQVXOUW4.js → flowchart-renderer-ER66DNCI.js} +12 -12
  125. package/dist/highlight.js +11 -2
  126. package/dist/index.d.ts +13 -4
  127. package/dist/index.js +65 -59
  128. package/dist/{layout-UXMNKETK.js → layout-3QMCSW6B.js} +8 -7
  129. package/dist/{layout-2BJDECLZ.js → layout-DH6GSKAH.js} +7 -6
  130. package/dist/{layout-HIK4ZJFQ.js → layout-HTDK3DMG.js} +4 -4
  131. package/dist/{layout-A5UVXINF.js → layout-K4S54TX7.js} +4 -4
  132. package/dist/{layout-UFZQI6SX.js → layout-RIS5VTGL.js} +7 -6
  133. package/dist/{layout-3XFPPFXI.js → layout-TCWNJ2OZ.js} +7 -6
  134. package/dist/{layout-SNIEAZ2I.js → layout-V5X3U3WB.js} +4 -4
  135. package/dist/{layout-QRVYYYZ3.js → layout-VFUHKLTS.js} +3 -3
  136. package/dist/{layout-WDXNSQQF.js → layout-VNEBCYPX.js} +4 -4
  137. package/dist/{layout-search-I4VNIRGT.js → layout-search-N6NQI5OQ.js} +10 -9
  138. package/dist/{parser-5UZWYSIV.js → parser-2RTQF2LA.js} +4 -4
  139. package/dist/{parser-4ZIJDGPG.js → parser-2VTOUMJY.js} +4 -4
  140. package/dist/{parser-HMQZPPOK.js → parser-3M3QQRCZ.js} +4 -4
  141. package/dist/{parser-RBNOWHGM.js → parser-4WSJVVG6.js} +4 -4
  142. package/dist/{parser-Q3KNFXQR.js → parser-67JHR6I6.js} +4 -4
  143. package/dist/{parser-MH62NYKM.js → parser-6GXEHNZD.js} +4 -4
  144. package/dist/{parser-O5XCVGZG.js → parser-6I3NOLKL.js} +3 -3
  145. package/dist/{parser-6CM27UPA.js → parser-7VNCLF77.js} +4 -4
  146. package/dist/{parser-QL2LBPFE.js → parser-AE7RC4IJ.js} +4 -4
  147. package/dist/{parser-DQ2DGDYO.js → parser-BDGMJSZB.js} +3 -3
  148. package/dist/{parser-WT3DSNPQ.js → parser-BVHECXAJ.js} +4 -4
  149. package/dist/{parser-QEWSTNEJ.js → parser-FLCLHHOM.js} +4 -4
  150. package/dist/{parser-VVTCMQWY.js → parser-FSSAJO2M.js} +5 -5
  151. package/dist/{parser-73YUU35J.js → parser-GH2Y6CR4.js} +3 -3
  152. package/dist/{parser-AYZTKZC3.js → parser-GUUNA7WE.js} +3 -3
  153. package/dist/{parser-GGCDY65M.js → parser-ISJJO7TJ.js} +5 -5
  154. package/dist/parser-J3FUTZAQ.js +12 -0
  155. package/dist/{parser-Q62VR2UJ.js → parser-JY7ZU5PP.js} +5 -5
  156. package/dist/{parser-4TX6U4ZU.js → parser-KKBW25LM.js} +3 -3
  157. package/dist/{parser-XWNSCDY6.js → parser-M74SVSPT.js} +4 -4
  158. package/dist/{parser-CCAUZLYI.js → parser-MKJ52TD7.js} +4 -4
  159. package/dist/{parser-A6M25MLK.js → parser-MPQTXCBQ.js} +3 -3
  160. package/dist/{parser-LQDEU22S.js → parser-N3AAAGTA.js} +4 -4
  161. package/dist/{parser-OPOGIKFR.js → parser-N7SSE4SK.js} +4 -4
  162. package/dist/{parser-D7YZX3CH.js → parser-NH6IAVZJ.js} +3 -3
  163. package/dist/{parser-IPBEW2DG.js → parser-NKHBUGAX.js} +4 -4
  164. package/dist/{parser-PQXN6SBB.js → parser-QVX4FR3J.js} +5 -5
  165. package/dist/{parser-JWAGGYLL.js → parser-S6QH3QIK.js} +5 -5
  166. package/dist/{parser-PEBXIOPX.js → parser-UODHU3EP.js} +4 -4
  167. package/dist/{parser-LNEAHGXF.js → parser-UVS6OHCO.js} +5 -5
  168. package/dist/{parser-SJ7ECFAP.js → parser-X3TCE7P5.js} +4 -4
  169. package/dist/{parser-QN3GJJ3J.js → parser-XQKSQBOT.js} +3 -3
  170. package/dist/{parser-KTVDCWHG.js → parser-XXYB4TRG.js} +4 -4
  171. package/dist/{registry-CaSw0PSH.d.ts → registry-C0HvobTb.d.ts} +17 -0
  172. package/dist/renderer-2G7Q3L5W.js +77 -0
  173. package/dist/{renderer-I5MAFUKX.js → renderer-2IO3H53I.js} +6 -6
  174. package/dist/{renderer-M6AFKVLS.js → renderer-2KDW3TWO.js} +5 -5
  175. package/dist/{renderer-CB2DOQ2O.js → renderer-2SK7UM4O.js} +5 -5
  176. package/dist/{renderer-P7O6OUYC.js → renderer-34GG6RHO.js} +9 -9
  177. package/dist/{renderer-WWC5VGHH.js → renderer-44EXXXRC.js} +7 -7
  178. package/dist/{renderer-MLDGFZDW.js → renderer-4SH6U6WF.js} +6 -6
  179. package/dist/{renderer-53FU55KK.js → renderer-4WQRF2SK.js} +6 -6
  180. package/dist/{renderer-CL4SAUA5.js → renderer-7AVFPE3Q.js} +5 -5
  181. package/dist/{renderer-52S6JM5R.js → renderer-BA6WTWVL.js} +8 -8
  182. package/dist/{renderer-JNC6VJMN.js → renderer-BLPXBLUP.js} +7 -7
  183. package/dist/{renderer-4VLQKKTV.js → renderer-C7LFE5CB.js} +15 -15
  184. package/dist/{renderer-5CU6GYF2.js → renderer-CUXXNHFU.js} +8 -8
  185. package/dist/{renderer-TOKGYFTG.js → renderer-DRNJJNAE.js} +5 -5
  186. package/dist/{renderer-OZIPP7VF.js → renderer-DVUKHOFB.js} +11 -11
  187. package/dist/{renderer-FRBPMKPP.js → renderer-I7Q5U2TU.js} +6 -6
  188. package/dist/{renderer-SYT4L7GE.js → renderer-JIUVU3PF.js} +3 -3
  189. package/dist/{renderer-J5TL5ZX4.js → renderer-LXIIZ3BH.js} +15 -15
  190. package/dist/{renderer-5G3PORFD.js → renderer-MTX6PLPA.js} +11 -11
  191. package/dist/{renderer-IWNHBIZ6.js → renderer-NKVIQA3C.js} +4 -4
  192. package/dist/{renderer-YWYX6WAI.js → renderer-QGZ2BOJG.js} +4 -4
  193. package/dist/{renderer-O4ECS2BI.js → renderer-SL5IQJKB.js} +10 -10
  194. package/dist/{renderer-3IETIUZB.js → renderer-SL5LE7MU.js} +8 -8
  195. package/dist/{renderer-KUIZNLAQ.js → renderer-SXZBGMEH.js} +5 -5
  196. package/dist/{renderer-J5MMVCGN.js → renderer-UPANX7XK.js} +8 -8
  197. package/dist/{renderer-DZ5N6BHW.js → renderer-VDCGDJ6L.js} +5 -5
  198. package/dist/{renderer-YVCD55ZX.js → renderer-XJFRVCF6.js} +9 -9
  199. package/dist/{renderer-Q3A7572V.js → renderer-XRC5R3OP.js} +5 -5
  200. package/dist/{renderer-2NU7M5PN.js → renderer-Y64MT4JM.js} +7 -7
  201. package/dist/{renderer-CRAIC4ER.js → renderer-ZLJ5CCSO.js} +6 -6
  202. package/dist/{renderer-QRX7Q2YN.js → renderer-ZY5TXTS5.js} +6 -6
  203. package/dist/{renderer-radial-QG644QYY.js → renderer-radial-4YKK4JNW.js} +6 -6
  204. package/dist/{state-parser-NQGVYSM3.js → state-parser-3PFFJO5M.js} +5 -5
  205. package/dist/{state-renderer-NKV5B3KH.js → state-renderer-2HDVRUNG.js} +14 -14
  206. package/dist/{themes-tbBkIVsn.d.ts → themes-l406Vj2z.d.ts} +1 -1
  207. package/docs/language-reference.md +29 -0
  208. package/package.json +5 -1
  209. package/dist/chunk-BMR4CIEO.js +0 -41
  210. package/dist/dgmo-router-GSWUPLP2.js +0 -88
@@ -0,0 +1,50 @@
1
+ // src/cloud-reference.ts
2
+ var CLOUD_API_BASE = "https://api.diagrammo.app";
3
+ var CLOUD_APP_BASE = "https://online.diagrammo.app";
4
+ var ID = String.raw`[A-Za-z0-9_-]{3,64}`;
5
+ var FENCE_RE = new RegExp(`^\\s*live-link\\s+(${ID})\\s*$`);
6
+ var EMBED_RE = new RegExp(
7
+ `^\\s*!\\[\\[\\s*live-link:\\s*(${ID})\\s*\\]\\]\\s*$`
8
+ );
9
+ var URL_PATH_RE = new RegExp(
10
+ `^/(?:public/diagrams/(${ID})/source|d/(${ID})|view/(${ID}))/?$`
11
+ );
12
+ function parseCloudReference(text) {
13
+ const fence = FENCE_RE.exec(text) ?? EMBED_RE.exec(text);
14
+ if (fence) return reference(fence[1]);
15
+ return parseCloudReferenceUrl(text);
16
+ }
17
+ function parseCloudReferenceUrl(text) {
18
+ let url;
19
+ try {
20
+ url = new URL(text.trim());
21
+ } catch {
22
+ return null;
23
+ }
24
+ if (url.protocol !== "https:" && url.protocol !== "http:") return null;
25
+ const match = URL_PATH_RE.exec(url.pathname);
26
+ if (!match) return null;
27
+ if (url.searchParams.has("at")) return null;
28
+ return reference(match[1] ?? match[2] ?? match[3]);
29
+ }
30
+ function reference(id) {
31
+ return id ? { id } : null;
32
+ }
33
+ function referenceSourceUrl(ref, options = {}) {
34
+ const base = (options.base ?? CLOUD_API_BASE).replace(/\/+$/, "");
35
+ return `${base}/public/diagrams/${ref.id}/source`;
36
+ }
37
+ function referenceShareUrl(ref, options = {}) {
38
+ const base = (options.base ?? CLOUD_APP_BASE).replace(/\/+$/, "");
39
+ return `${base}/d/${ref.id}`;
40
+ }
41
+
42
+ export {
43
+ CLOUD_API_BASE,
44
+ CLOUD_APP_BASE,
45
+ parseCloudReference,
46
+ parseCloudReferenceUrl,
47
+ referenceSourceUrl,
48
+ referenceShareUrl
49
+ };
50
+ //# sourceMappingURL=chunk-ON4MEUC4.js.map
@@ -1,9 +1,9 @@
1
- import {
2
- renderInlineText
3
- } from "./chunk-3HDBAXF5.js";
4
1
  import {
5
2
  wrapDescriptionLines
6
- } from "./chunk-BMR4CIEO.js";
3
+ } from "./chunk-NCT22MOD.js";
4
+ import {
5
+ renderInlineText
6
+ } from "./chunk-WGC42WJU.js";
7
7
  import {
8
8
  ScaleContext
9
9
  } from "./chunk-YYVTBZZC.js";
@@ -15,6 +15,9 @@ import {
15
15
  import {
16
16
  FONT_FAMILY
17
17
  } from "./chunk-6KFWC4CO.js";
18
+ import {
19
+ fillModeFromOptions
20
+ } from "./chunk-E7HANW62.js";
18
21
  import {
19
22
  CHAR_WIDTH_RATIO,
20
23
  measureText
@@ -24,9 +27,6 @@ import {
24
27
  getSeriesColors,
25
28
  shapeFill
26
29
  } from "./chunk-42IT4BG2.js";
27
- import {
28
- fillModeFromOptions
29
- } from "./chunk-3KOPPSUQ.js";
30
30
  import {
31
31
  resolveColor
32
32
  } from "./chunk-EXNKNJ65.js";
@@ -296,4 +296,4 @@ export {
296
296
  renderRing,
297
297
  renderRingForExport
298
298
  };
299
- //# sourceMappingURL=chunk-SOBGK35Z.js.map
299
+ //# sourceMappingURL=chunk-OXANJRNK.js.map
@@ -8,7 +8,7 @@ import {
8
8
  stripDefaultModifier,
9
9
  tagAttrKey,
10
10
  validateTagGroupNames
11
- } from "./chunk-D5FANMSG.js";
11
+ } from "./chunk-3LMUMAUS.js";
12
12
  import {
13
13
  KANBAN_REGISTRY,
14
14
  OPTION_NOCOLON_RE,
@@ -19,7 +19,7 @@ import {
19
19
  splitNameAndMeta,
20
20
  warnUnknownMetaKeys,
21
21
  withTagAliases
22
- } from "./chunk-3KOPPSUQ.js";
22
+ } from "./chunk-E7HANW62.js";
23
23
  import {
24
24
  resolveColorWithDiagnostic
25
25
  } from "./chunk-EXNKNJ65.js";
@@ -384,4 +384,4 @@ function parseCardLine(trimmed, lineNumber, counter, metaAliasMap, _palette, dia
384
384
  export {
385
385
  parseKanban
386
386
  };
387
- //# sourceMappingURL=chunk-X32RDWT5.js.map
387
+ //# sourceMappingURL=chunk-PH5WK6G5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  renderIntegratedLegend
3
- } from "./chunk-QDOYT6UW.js";
3
+ } from "./chunk-N7PF5IRF.js";
4
4
  import {
5
5
  FONT_FAMILY
6
6
  } from "./chunk-6KFWC4CO.js";
@@ -9,16 +9,16 @@ import {
9
9
  getPartGeom,
10
10
  resolvePartKey
11
11
  } from "./chunk-BDXC7MDK.js";
12
+ import {
13
+ resolveActiveTagGroup,
14
+ resolveTagColor,
15
+ tagAttrKey
16
+ } from "./chunk-3LMUMAUS.js";
12
17
  import {
13
18
  getSeriesColors,
14
19
  mix,
15
20
  themeBaseBg
16
21
  } from "./chunk-42IT4BG2.js";
17
- import {
18
- resolveActiveTagGroup,
19
- resolveTagColor,
20
- tagAttrKey
21
- } from "./chunk-D5FANMSG.js";
22
22
  import {
23
23
  resolveColor
24
24
  } from "./chunk-EXNKNJ65.js";
@@ -334,4 +334,4 @@ export {
334
334
  renderBody,
335
335
  renderBodyForExport
336
336
  };
337
- //# sourceMappingURL=chunk-C3BWDEYN.js.map
337
+ //# sourceMappingURL=chunk-PIIORN3Q.js.map
@@ -1,9 +1,9 @@
1
- import {
2
- renderInlineText
3
- } from "./chunk-3HDBAXF5.js";
4
1
  import {
5
2
  wrapDescriptionLines
6
- } from "./chunk-BMR4CIEO.js";
3
+ } from "./chunk-NCT22MOD.js";
4
+ import {
5
+ renderInlineText
6
+ } from "./chunk-WGC42WJU.js";
7
7
  import {
8
8
  ScaleContext
9
9
  } from "./chunk-YYVTBZZC.js";
@@ -15,6 +15,9 @@ import {
15
15
  import {
16
16
  FONT_FAMILY
17
17
  } from "./chunk-6KFWC4CO.js";
18
+ import {
19
+ fillModeFromOptions
20
+ } from "./chunk-E7HANW62.js";
18
21
  import {
19
22
  CHAR_WIDTH_RATIO,
20
23
  measureText
@@ -24,9 +27,6 @@ import {
24
27
  getSeriesColors,
25
28
  shapeFill
26
29
  } from "./chunk-42IT4BG2.js";
27
- import {
28
- fillModeFromOptions
29
- } from "./chunk-3KOPPSUQ.js";
30
30
  import {
31
31
  resolveColor
32
32
  } from "./chunk-EXNKNJ65.js";
@@ -418,15 +418,7 @@ function wrapDescription(lines, maxWidth, fontSize) {
418
418
  const normalized = lines.map(
419
419
  (l) => l.startsWith("- ") ? "\u2022 " + l.slice(2) : l
420
420
  );
421
- const out = [];
422
- for (const line of normalized) {
423
- if (line === "") {
424
- out.push({ text: "", kind: "plain" });
425
- continue;
426
- }
427
- out.push(...wrapDescriptionLines([line], maxChars));
428
- }
429
- return out;
421
+ return wrapDescriptionLines(normalized, maxChars);
430
422
  }
431
423
  function clamp(x, lo, hi) {
432
424
  return Math.max(lo, Math.min(hi, x));
@@ -436,4 +428,4 @@ export {
436
428
  renderPyramid,
437
429
  renderPyramidForExport
438
430
  };
439
- //# sourceMappingURL=chunk-YM2ZQIVG.js.map
431
+ //# sourceMappingURL=chunk-QDOSCTL5.js.map
@@ -12,7 +12,7 @@ import {
12
12
  normalizeNumericToken,
13
13
  parseFirstLine,
14
14
  parseSeriesNames
15
- } from "./chunk-3KOPPSUQ.js";
15
+ } from "./chunk-E7HANW62.js";
16
16
  import {
17
17
  RECOGNIZED_COLOR_NAMES,
18
18
  resolveColorWithDiagnostic
@@ -1204,4 +1204,4 @@ export {
1204
1204
  getSimpleChartLegendGroups,
1205
1205
  getExtendedChartLegendGroups
1206
1206
  };
1207
- //# sourceMappingURL=chunk-CY5KE2P5.js.map
1207
+ //# sourceMappingURL=chunk-QS37VUFZ.js.map
@@ -8,14 +8,14 @@ import {
8
8
  resolveActiveTagGroup,
9
9
  stripDefaultModifier,
10
10
  tagAttrKey
11
- } from "./chunk-D5FANMSG.js";
11
+ } from "./chunk-3LMUMAUS.js";
12
12
  import {
13
13
  extractColor,
14
14
  fillModeFromToken,
15
15
  measureIndent,
16
16
  parseFirstLine,
17
17
  splitNameAndMeta
18
- } from "./chunk-3KOPPSUQ.js";
18
+ } from "./chunk-E7HANW62.js";
19
19
  import {
20
20
  makeDgmoError,
21
21
  makeFail
@@ -392,4 +392,4 @@ function parseBracket(content, palette) {
392
392
  export {
393
393
  parseBracket
394
394
  };
395
- //# sourceMappingURL=chunk-NFAHDPCG.js.map
395
+ //# sourceMappingURL=chunk-RB3AFVPT.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-7TF3QOOD.js";
4
4
  import {
5
5
  tryCollectNote
6
- } from "./chunk-ST3ZNEUQ.js";
6
+ } from "./chunk-6JYE3SDK.js";
7
7
  import {
8
8
  resolveNotes
9
9
  } from "./chunk-7NK42OIB.js";
@@ -21,7 +21,7 @@ import {
21
21
  measureIndent,
22
22
  parseFirstLine,
23
23
  tryParseSharedOption
24
- } from "./chunk-3KOPPSUQ.js";
24
+ } from "./chunk-E7HANW62.js";
25
25
  import {
26
26
  NAME_DIAGNOSTIC_CODES,
27
27
  emit,
@@ -470,4 +470,4 @@ export {
470
470
  looksLikeFlowchart,
471
471
  extractSymbols
472
472
  };
473
- //# sourceMappingURL=chunk-LV5BFA24.js.map
473
+ //# sourceMappingURL=chunk-RDHZRHDG.js.map
@@ -1,19 +1,23 @@
1
1
  import {
2
2
  parseInlineMarkdown,
3
3
  safeHref
4
- } from "./chunk-3HDBAXF5.js";
4
+ } from "./chunk-WGC42WJU.js";
5
5
  import {
6
6
  ScaleContext
7
7
  } from "./chunk-YYVTBZZC.js";
8
8
  import {
9
9
  renderIntegratedLegend
10
- } from "./chunk-QDOYT6UW.js";
10
+ } from "./chunk-N7PF5IRF.js";
11
11
  import {
12
12
  getMaxLegendReservedHeight
13
13
  } from "./chunk-ES66QH6J.js";
14
14
  import {
15
15
  FONT_FAMILY
16
16
  } from "./chunk-6KFWC4CO.js";
17
+ import {
18
+ fillModeFromOptions,
19
+ legendSuppressed
20
+ } from "./chunk-E7HANW62.js";
17
21
  import {
18
22
  measureText,
19
23
  truncateText,
@@ -24,10 +28,6 @@ import {
24
28
  mix,
25
29
  shapeFill
26
30
  } from "./chunk-42IT4BG2.js";
27
- import {
28
- fillModeFromOptions,
29
- legendSuppressed
30
- } from "./chunk-3KOPPSUQ.js";
31
31
 
32
32
  // src/tech-radar/renderer.ts
33
33
  import * as d3Selection2 from "d3-selection";
@@ -1603,4 +1603,4 @@ export {
1603
1603
  renderTechRadar,
1604
1604
  renderTechRadarForExport
1605
1605
  };
1606
- //# sourceMappingURL=chunk-AOJJSGXE.js.map
1606
+ //# sourceMappingURL=chunk-S3AZMBK7.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-6VJCURWU.js";
4
4
  import {
5
5
  renderIntegratedLegend
6
- } from "./chunk-QDOYT6UW.js";
6
+ } from "./chunk-N7PF5IRF.js";
7
7
  import {
8
8
  getLegendExtent,
9
9
  getMaxLegendReservedHeight
@@ -19,6 +19,10 @@ import {
19
19
  import {
20
20
  isBlockNode
21
21
  } from "./chunk-XSVWUOUZ.js";
22
+ import {
23
+ resolveTagColor,
24
+ tagAttrKey
25
+ } from "./chunk-3LMUMAUS.js";
22
26
  import {
23
27
  LEGEND_GROUP_GAP
24
28
  } from "./chunk-SCJ7CAJF.js";
@@ -29,10 +33,6 @@ import {
29
33
  mix,
30
34
  themeBaseBg
31
35
  } from "./chunk-42IT4BG2.js";
32
- import {
33
- resolveTagColor,
34
- tagAttrKey
35
- } from "./chunk-D5FANMSG.js";
36
36
 
37
37
  // src/block/renderer.ts
38
38
  import * as d3Selection from "d3-selection";
@@ -396,4 +396,4 @@ export {
396
396
  renderBlock,
397
397
  authoredCollapsedIds
398
398
  };
399
- //# sourceMappingURL=chunk-OWLGERJL.js.map
399
+ //# sourceMappingURL=chunk-SBQXLX6Y.js.map
@@ -9,18 +9,18 @@ import {
9
9
  import {
10
10
  FONT_FAMILY
11
11
  } from "./chunk-6KFWC4CO.js";
12
- import {
13
- contrastText,
14
- mix,
15
- themeBaseBg
16
- } from "./chunk-42IT4BG2.js";
17
12
  import {
18
13
  resolveTagColor,
19
14
  tagAttrKey
20
- } from "./chunk-D5FANMSG.js";
15
+ } from "./chunk-3LMUMAUS.js";
21
16
  import {
22
17
  fillModeFromOptions
23
- } from "./chunk-3KOPPSUQ.js";
18
+ } from "./chunk-E7HANW62.js";
19
+ import {
20
+ contrastText,
21
+ mix,
22
+ themeBaseBg
23
+ } from "./chunk-42IT4BG2.js";
24
24
  import {
25
25
  CATEGORICAL_COLOR_ORDER,
26
26
  resolveColor
@@ -401,4 +401,4 @@ function drawCenteredLabel(g, label, cx, cy, fill, fontSize, tight = false, halo
401
401
  export {
402
402
  renderSwimlaneForExport
403
403
  };
404
- //# sourceMappingURL=chunk-PECYPUJJ.js.map
404
+ //# sourceMappingURL=chunk-SQK4EKOW.js.map