@diagrammo/dgmo 0.58.0 → 0.59.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 (180) hide show
  1. package/dist/advanced.js +89 -89
  2. package/dist/auto.js +123 -123
  3. package/dist/auto.mjs +166 -64
  4. package/dist/block.js +46 -46
  5. package/dist/{calculator-BBKAAQGD.js → calculator-ORAKSL5D.js} +4 -2
  6. package/dist/chart-meta.js +42 -42
  7. package/dist/{charts-d3-K5M5J5ZM.js → charts-d3-JBNDV6TY.js} +5 -5
  8. package/dist/{chunk-4CE2GOC2.js → chunk-2NSR6INI.js} +3 -3
  9. package/dist/{chunk-E55OZDFH.js → chunk-2SUUYIFC.js} +2 -2
  10. package/dist/{chunk-W2RU24DD.js → chunk-3T2PKOTK.js} +4 -4
  11. package/dist/{chunk-NSUAU6JQ.js → chunk-4IFPX4J6.js} +2 -2
  12. package/dist/{chunk-DWMJLEBT.js → chunk-4KRYJGBY.js} +4 -4
  13. package/dist/{chunk-SBQXLX6Y.js → chunk-4YQI7ELC.js} +3 -3
  14. package/dist/{chunk-GAFNYUNJ.js → chunk-5XV3Z3UJ.js} +32 -12
  15. package/dist/{chunk-S3AZMBK7.js → chunk-65AMRH2N.js} +3 -3
  16. package/dist/{chunk-OMOU2V3W.js → chunk-6F74K4JL.js} +51 -14
  17. package/dist/{chunk-52KLHCXQ.js → chunk-6KWE5553.js} +30 -17
  18. package/dist/{chunk-NGGVVTP2.js → chunk-6M3QPUHL.js} +5 -5
  19. package/dist/{chunk-5RPSN32F.js → chunk-6XWZKCVS.js} +3 -3
  20. package/dist/{chunk-PH5WK6G5.js → chunk-6YY56KU2.js} +7 -5
  21. package/dist/{chunk-CZIFUXI2.js → chunk-75LW3IUQ.js} +3 -3
  22. package/dist/{chunk-UPTAWSCG.js → chunk-7XTJGMH6.js} +2 -2
  23. package/dist/{chunk-N7PF5IRF.js → chunk-A6L6W43V.js} +2 -2
  24. package/dist/{chunk-HBIGEWRC.js → chunk-AFBQEBKL.js} +3 -3
  25. package/dist/{chunk-VBSKNQUO.js → chunk-BFAU3OPW.js} +4 -4
  26. package/dist/{chunk-W22JRLNA.js → chunk-BG23Y7JD.js} +3 -3
  27. package/dist/{chunk-MF4FDLFG.js → chunk-BGBGWFUI.js} +3 -3
  28. package/dist/{chunk-NQGE76NC.js → chunk-BGT6SAR2.js} +3 -3
  29. package/dist/{chunk-6KTRV3O5.js → chunk-BVPRRSMX.js} +3 -3
  30. package/dist/{chunk-PIIORN3Q.js → chunk-CRE3BAKN.js} +3 -3
  31. package/dist/{chunk-4ESLORPX.js → chunk-DD6EA4DU.js} +3 -3
  32. package/dist/{chunk-RB3AFVPT.js → chunk-DDQ47BMP.js} +3 -3
  33. package/dist/{chunk-VJYERZ2Q.js → chunk-DH3NCG4B.js} +3 -3
  34. package/dist/{chunk-DUI5SMFX.js → chunk-DKG2ADEN.js} +8 -5
  35. package/dist/{chunk-7UZFAIKI.js → chunk-E6QWV2G4.js} +4 -4
  36. package/dist/{chunk-6F3MVYUW.js → chunk-EIRNPTLH.js} +3 -3
  37. package/dist/{chunk-KNCY7YHC.js → chunk-EKKS325Q.js} +2 -2
  38. package/dist/{chunk-YILSSUEL.js → chunk-EQGLGTU2.js} +3 -3
  39. package/dist/{chunk-B4U7RRQ4.js → chunk-EYP34TFP.js} +2 -2
  40. package/dist/{chunk-RDHZRHDG.js → chunk-GCZQAT4Z.js} +3 -3
  41. package/dist/{chunk-X3YNX4DR.js → chunk-GSVHOF3J.js} +2 -2
  42. package/dist/{chunk-7SGR7A5K.js → chunk-HQI7S72D.js} +4 -4
  43. package/dist/{chunk-TXQXPJTG.js → chunk-HSVVQZLC.js} +2 -2
  44. package/dist/{chunk-E6CCWMTT.js → chunk-I24URUTV.js} +5 -5
  45. package/dist/{chunk-2UBTPFIF.js → chunk-I53E3L5M.js} +9 -7
  46. package/dist/{chunk-W6T5QRIR.js → chunk-IH3GHOHU.js} +7 -6
  47. package/dist/{chunk-7Q6HX7ON.js → chunk-IMEWQLRD.js} +2 -2
  48. package/dist/{chunk-E7HANW62.js → chunk-IXY2IPOW.js} +19 -2
  49. package/dist/{chunk-4UNGFVVY.js → chunk-KJ3FIMPA.js} +2 -2
  50. package/dist/{chunk-AU4AQYOA.js → chunk-KZFAEMQQ.js} +3 -3
  51. package/dist/{chunk-FWNJ45NW.js → chunk-LBEZKYAR.js} +2 -2
  52. package/dist/{chunk-3LMUMAUS.js → chunk-LLA5C2TM.js} +14 -3
  53. package/dist/{chunk-QS37VUFZ.js → chunk-MM4Z32EH.js} +2 -2
  54. package/dist/{chunk-STYJ6EOV.js → chunk-NCW6NQPD.js} +84 -84
  55. package/dist/{chunk-DZUDSGGQ.js → chunk-O66TS32B.js} +5 -5
  56. package/dist/{chunk-X4JEAY73.js → chunk-OANGI4EI.js} +5 -5
  57. package/dist/{chunk-JM65HLBZ.js → chunk-OBWIIXSZ.js} +6 -6
  58. package/dist/{chunk-CBPFVH3N.js → chunk-OIL6MTVH.js} +4 -4
  59. package/dist/{chunk-FXIG472W.js → chunk-OJD4FU6H.js} +2 -2
  60. package/dist/{chunk-DWAQXY6T.js → chunk-OSXJY6SY.js} +3 -3
  61. package/dist/{chunk-YKMOI6ZG.js → chunk-PH36NIGK.js} +4 -4
  62. package/dist/{chunk-XHTRLRZ5.js → chunk-PNCACNE5.js} +3 -3
  63. package/dist/{chunk-WYGLKR4I.js → chunk-PSWWCLLI.js} +3 -3
  64. package/dist/{chunk-WYG5VJY2.js → chunk-QG3RU7YT.js} +2 -2
  65. package/dist/{chunk-QDOSCTL5.js → chunk-QTJZRAXM.js} +2 -2
  66. package/dist/{chunk-ATKB7VEN.js → chunk-R53THUTP.js} +4 -4
  67. package/dist/{chunk-5RY4W7J6.js → chunk-RVCBPDCK.js} +3 -3
  68. package/dist/{chunk-HUYAMTCD.js → chunk-S5OQWV54.js} +2 -2
  69. package/dist/{chunk-NPBAV3QU.js → chunk-SEPM6JZV.js} +5 -5
  70. package/dist/{chunk-6JYE3SDK.js → chunk-SJT4W23S.js} +2 -2
  71. package/dist/{chunk-MPPOQOCF.js → chunk-SLGHGT76.js} +2 -2
  72. package/dist/{chunk-WQWVLAA5.js → chunk-SQLVM3G7.js} +4 -4
  73. package/dist/{chunk-TQC2SUMJ.js → chunk-TDZRLG7I.js} +2 -2
  74. package/dist/{chunk-NYCBN7YE.js → chunk-TJV3J74Y.js} +3 -3
  75. package/dist/{chunk-UFDLQKCR.js → chunk-TL6WZWSZ.js} +2 -2
  76. package/dist/{chunk-IRN5GBBO.js → chunk-TLJPI6WL.js} +6 -6
  77. package/dist/{chunk-SQK4EKOW.js → chunk-TR7WNZFJ.js} +3 -3
  78. package/dist/{chunk-LYQMN35H.js → chunk-U5UKFXHB.js} +2 -2
  79. package/dist/{chunk-EDJYIQZM.js → chunk-UF7WAYBH.js} +2 -2
  80. package/dist/{chunk-C7IKQOEQ.js → chunk-UWJNAEMY.js} +6 -6
  81. package/dist/{chunk-LLDNNANC.js → chunk-UYY7MVJK.js} +3 -3
  82. package/dist/{chunk-3DY7TNZ7.js → chunk-V5PHEH2M.js} +2 -2
  83. package/dist/{chunk-HXTS54OV.js → chunk-VGFUVFJA.js} +17 -12
  84. package/dist/{chunk-L5DQB4C7.js → chunk-VIFFJOOR.js} +5 -5
  85. package/dist/{chunk-KAG5JCZV.js → chunk-W2Z4KS72.js} +6 -4
  86. package/dist/{chunk-YAG7WAQE.js → chunk-WBALHD3K.js} +6 -6
  87. package/dist/{chunk-ZW7LTYW2.js → chunk-WCSVZW2W.js} +2 -2
  88. package/dist/{chunk-BFYPHZ5M.js → chunk-XS7CL7NX.js} +2 -2
  89. package/dist/{chunk-XXAHWYQU.js → chunk-XVOGT46C.js} +2 -2
  90. package/dist/{chunk-OXANJRNK.js → chunk-Y7KHN3MQ.js} +2 -2
  91. package/dist/{chunk-GGKWKNOL.js → chunk-YOK3BMEW.js} +4 -4
  92. package/dist/{chunk-ILZHMKYQ.js → chunk-YPEMNAC7.js} +3 -3
  93. package/dist/{chunk-2JPEBOUQ.js → chunk-YURNIF7Q.js} +40 -40
  94. package/dist/{chunk-NW2K6UU2.js → chunk-ZBOSGLES.js} +8 -7
  95. package/dist/{chunk-EEF7BUX7.js → chunk-ZED4URQK.js} +6 -6
  96. package/dist/{chunk-ZKNSLC35.js → chunk-ZTSBP3AH.js} +8 -5
  97. package/dist/cli.cjs +147 -147
  98. package/dist/completion-registry.js +3 -3
  99. package/dist/dgmo-router-I2LJOEAQ.js +90 -0
  100. package/dist/{dimensions-HSIQYP5Z.js → dimensions-3IMJDSTT.js} +5 -5
  101. package/dist/element.js +124 -124
  102. package/dist/element.mjs +166 -64
  103. package/dist/{flowchart-parser-I2TEUWAP.js → flowchart-parser-PZQY2UC4.js} +4 -4
  104. package/dist/{flowchart-renderer-ER66DNCI.js → flowchart-renderer-CKUW63MB.js} +5 -5
  105. package/dist/index.js +46 -46
  106. package/dist/{layout-VNEBCYPX.js → layout-2NWRELPU.js} +4 -4
  107. package/dist/{layout-V5X3U3WB.js → layout-47LIQXNX.js} +4 -4
  108. package/dist/{layout-HTDK3DMG.js → layout-IXNU33JR.js} +4 -4
  109. package/dist/{layout-3QMCSW6B.js → layout-LH6LNIUV.js} +3 -3
  110. package/dist/{layout-VFUHKLTS.js → layout-MAMV4RZF.js} +3 -3
  111. package/dist/{layout-K4S54TX7.js → layout-NHNIMAHX.js} +4 -4
  112. package/dist/{parser-3M3QQRCZ.js → parser-2OJSWKXO.js} +4 -4
  113. package/dist/{parser-6I3NOLKL.js → parser-3QHLZK6F.js} +3 -3
  114. package/dist/{parser-X3TCE7P5.js → parser-453DEZ4P.js} +4 -4
  115. package/dist/{parser-67JHR6I6.js → parser-4QYDFXV2.js} +4 -4
  116. package/dist/{parser-S6QH3QIK.js → parser-55CSWK3N.js} +4 -4
  117. package/dist/{parser-QVX4FR3J.js → parser-56HMQG5C.js} +5 -5
  118. package/dist/{parser-AE7RC4IJ.js → parser-5BHZMV3O.js} +4 -4
  119. package/dist/{parser-FLCLHHOM.js → parser-5I7W54EA.js} +4 -4
  120. package/dist/{parser-J3FUTZAQ.js → parser-5KOJWHOR.js} +3 -3
  121. package/dist/{parser-ISJJO7TJ.js → parser-63LK7YBR.js} +5 -5
  122. package/dist/{parser-2RTQF2LA.js → parser-6HT34DZ3.js} +4 -4
  123. package/dist/{parser-MKJ52TD7.js → parser-6S65S3DX.js} +4 -4
  124. package/dist/{parser-6GXEHNZD.js → parser-7C5GZCAU.js} +4 -4
  125. package/dist/{parser-UVS6OHCO.js → parser-7W7DPIGR.js} +4 -4
  126. package/dist/{parser-KKBW25LM.js → parser-AD5OAVX6.js} +3 -3
  127. package/dist/{parser-MPQTXCBQ.js → parser-AWO3N6YH.js} +3 -3
  128. package/dist/{parser-N7SSE4SK.js → parser-BLCDJB7N.js} +4 -4
  129. package/dist/{parser-XXYB4TRG.js → parser-BNGLB2VS.js} +4 -4
  130. package/dist/{parser-BVHECXAJ.js → parser-BVC642CN.js} +4 -4
  131. package/dist/{parser-GH2Y6CR4.js → parser-CXLR6MAY.js} +3 -3
  132. package/dist/{parser-7VNCLF77.js → parser-DROHJTBZ.js} +4 -4
  133. package/dist/{parser-GUUNA7WE.js → parser-G7KP6LZH.js} +3 -3
  134. package/dist/{parser-4WSJVVG6.js → parser-IWQQY5VU.js} +4 -4
  135. package/dist/{parser-JY7ZU5PP.js → parser-NJGZF5MK.js} +5 -5
  136. package/dist/{parser-BDGMJSZB.js → parser-QCSDU4FU.js} +3 -3
  137. package/dist/{parser-FSSAJO2M.js → parser-QCYEJOLZ.js} +4 -4
  138. package/dist/{parser-UODHU3EP.js → parser-QJ7XK7AB.js} +4 -4
  139. package/dist/{parser-2VTOUMJY.js → parser-RMUGOZO3.js} +4 -4
  140. package/dist/{parser-N3AAAGTA.js → parser-TABGTEHH.js} +3 -3
  141. package/dist/{parser-NKHBUGAX.js → parser-TPCKCQ4Z.js} +4 -4
  142. package/dist/{parser-M74SVSPT.js → parser-UB6XGLTC.js} +4 -4
  143. package/dist/{parser-XQKSQBOT.js → parser-WI2B7IL3.js} +3 -3
  144. package/dist/{parser-NH6IAVZJ.js → parser-WXZU47Z4.js} +3 -3
  145. package/dist/{renderer-I7Q5U2TU.js → renderer-2OQMYNQD.js} +5 -5
  146. package/dist/{renderer-SL5LE7MU.js → renderer-4S5LOABJ.js} +7 -7
  147. package/dist/{renderer-VDCGDJ6L.js → renderer-6NQZLBMX.js} +5 -5
  148. package/dist/{renderer-2IO3H53I.js → renderer-73L6XERY.js} +5 -5
  149. package/dist/{renderer-CUXXNHFU.js → renderer-7EAS7J35.js} +6 -6
  150. package/dist/{renderer-2SK7UM4O.js → renderer-A2APCS6I.js} +5 -5
  151. package/dist/{renderer-LXIIZ3BH.js → renderer-AWFHCLXQ.js} +7 -7
  152. package/dist/{renderer-ZLJ5CCSO.js → renderer-CQBLODU3.js} +5 -5
  153. package/dist/{renderer-SL5IQJKB.js → renderer-F5YIKPAC.js} +7 -7
  154. package/dist/{renderer-QGZ2BOJG.js → renderer-G24W6J6H.js} +4 -4
  155. package/dist/{renderer-7AVFPE3Q.js → renderer-I3WY546K.js} +4 -4
  156. package/dist/{renderer-MTX6PLPA.js → renderer-KYWN5KRD.js} +6 -6
  157. package/dist/{renderer-Y64MT4JM.js → renderer-LDSHG26O.js} +6 -6
  158. package/dist/{renderer-44EXXXRC.js → renderer-LOTDM5WH.js} +7 -7
  159. package/dist/{renderer-BLPXBLUP.js → renderer-M225GOP2.js} +5 -5
  160. package/dist/{renderer-XRC5R3OP.js → renderer-NTKY64DL.js} +5 -5
  161. package/dist/{renderer-JIUVU3PF.js → renderer-PQXPBXKE.js} +3 -3
  162. package/dist/{renderer-C7LFE5CB.js → renderer-QFWLXG6G.js} +7 -7
  163. package/dist/{renderer-ZY5TXTS5.js → renderer-QGZBFYMZ.js} +5 -5
  164. package/dist/{renderer-34GG6RHO.js → renderer-QMOSWMHK.js} +6 -6
  165. package/dist/{renderer-BA6WTWVL.js → renderer-R7JEM7R7.js} +5 -5
  166. package/dist/{renderer-SXZBGMEH.js → renderer-RB3DGCF4.js} +3 -3
  167. package/dist/{renderer-4SH6U6WF.js → renderer-RNTCDM5N.js} +6 -6
  168. package/dist/{renderer-4WQRF2SK.js → renderer-RRIXAQSF.js} +5 -5
  169. package/dist/renderer-T3JBQLLW.js +77 -0
  170. package/dist/{renderer-DVUKHOFB.js → renderer-VHYLVS2K.js} +7 -7
  171. package/dist/{renderer-XJFRVCF6.js → renderer-VN3RCFHI.js} +7 -7
  172. package/dist/{renderer-DRNJJNAE.js → renderer-WAXZMPYS.js} +3 -3
  173. package/dist/{renderer-UPANX7XK.js → renderer-X75XWLQS.js} +7 -7
  174. package/dist/{renderer-2KDW3TWO.js → renderer-ZHGAY3Y6.js} +5 -5
  175. package/dist/{renderer-radial-4YKK4JNW.js → renderer-radial-C67KGADM.js} +6 -6
  176. package/dist/{state-parser-3PFFJO5M.js → state-parser-PNC2IHIA.js} +5 -5
  177. package/dist/{state-renderer-2HDVRUNG.js → state-renderer-U4QW5YMY.js} +7 -7
  178. package/package.json +1 -1
  179. package/dist/dgmo-router-2637N4DY.js +0 -90
  180. package/dist/renderer-2G7Q3L5W.js +0 -77
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  renderIntegratedLegend
3
- } from "./chunk-N7PF5IRF.js";
3
+ } from "./chunk-A6L6W43V.js";
4
4
  import {
5
5
  FONT_FAMILY
6
6
  } from "./chunk-6KFWC4CO.js";
@@ -13,7 +13,7 @@ import {
13
13
  resolveActiveTagGroup,
14
14
  resolveTagColor,
15
15
  tagAttrKey
16
- } from "./chunk-3LMUMAUS.js";
16
+ } from "./chunk-LLA5C2TM.js";
17
17
  import {
18
18
  getSeriesColors,
19
19
  mix,
@@ -334,4 +334,4 @@ export {
334
334
  renderBody,
335
335
  renderBodyForExport
336
336
  };
337
- //# sourceMappingURL=chunk-PIIORN3Q.js.map
337
+ //# sourceMappingURL=chunk-CRE3BAKN.js.map
@@ -35,10 +35,10 @@ import {
35
35
  } from "./chunk-6KFWC4CO.js";
36
36
  import {
37
37
  parseFlowchart
38
- } from "./chunk-RDHZRHDG.js";
38
+ } from "./chunk-GCZQAT4Z.js";
39
39
  import {
40
40
  fillModeFromOptions
41
- } from "./chunk-E7HANW62.js";
41
+ } from "./chunk-IXY2IPOW.js";
42
42
  import {
43
43
  measureText
44
44
  } from "./chunk-4ASYQ347.js";
@@ -585,4 +585,4 @@ export {
585
585
  renderFlowchart,
586
586
  renderFlowchartForExport
587
587
  };
588
- //# sourceMappingURL=chunk-4ESLORPX.js.map
588
+ //# sourceMappingURL=chunk-DD6EA4DU.js.map
@@ -8,14 +8,14 @@ import {
8
8
  resolveActiveTagGroup,
9
9
  stripDefaultModifier,
10
10
  tagAttrKey
11
- } from "./chunk-3LMUMAUS.js";
11
+ } from "./chunk-LLA5C2TM.js";
12
12
  import {
13
13
  extractColor,
14
14
  fillModeFromToken,
15
15
  measureIndent,
16
16
  parseFirstLine,
17
17
  splitNameAndMeta
18
- } from "./chunk-E7HANW62.js";
18
+ } from "./chunk-IXY2IPOW.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-RB3AFVPT.js.map
395
+ //# sourceMappingURL=chunk-DDQ47BMP.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-6VJCURWU.js";
7
7
  import {
8
8
  renderIntegratedLegend
9
- } from "./chunk-N7PF5IRF.js";
9
+ } from "./chunk-A6L6W43V.js";
10
10
  import {
11
11
  getLegendExtent,
12
12
  getMaxLegendReservedHeight
@@ -22,7 +22,7 @@ import {
22
22
  import {
23
23
  resolveTagColor,
24
24
  tagAttrKey
25
- } from "./chunk-3LMUMAUS.js";
25
+ } from "./chunk-LLA5C2TM.js";
26
26
  import {
27
27
  LEGEND_GROUP_GAP
28
28
  } from "./chunk-SCJ7CAJF.js";
@@ -994,4 +994,4 @@ export {
994
994
  renderBracket,
995
995
  renderBracketForExport
996
996
  };
997
- //# sourceMappingURL=chunk-VJYERZ2Q.js.map
997
+ //# sourceMappingURL=chunk-DH3NCG4B.js.map
@@ -6,6 +6,9 @@ import {
6
6
  import {
7
7
  normalizeName
8
8
  } from "./chunk-NOTA6TEI.js";
9
+ import {
10
+ peelQuotedName
11
+ } from "./chunk-IXY2IPOW.js";
9
12
  import {
10
13
  makeDgmoError
11
14
  } from "./chunk-OLMWTJVU.js";
@@ -33,10 +36,10 @@ function ambiguousTaskMessage(trimmed, suggestions) {
33
36
  return `Multiple tasks match "${trimmed}". Did you mean ${suggestions.map((s) => `\`${s}\``).join(" or ")}?`;
34
37
  }
35
38
  function resolveTaskName(name, allTasks) {
36
- let trimmed = name.trim();
39
+ let trimmed = peelQuotedName(name.trim()).trim();
37
40
  const bracketMatch = trimmed.match(BRACKET_GROUP_RE);
38
41
  if (bracketMatch) {
39
- trimmed = `${bracketMatch[1]}.${bracketMatch[2]}`;
42
+ trimmed = `${peelQuotedName(bracketMatch[1])}.${bracketMatch[2]}`;
40
43
  }
41
44
  const normTrimmed = normalizeName(trimmed);
42
45
  const exactMatches = allTasks.filter(
@@ -56,8 +59,8 @@ function resolveTaskName(name, allTasks) {
56
59
  }
57
60
  const lastDotIdx = trimmed.lastIndexOf(".");
58
61
  if (lastDotIdx > 0) {
59
- const groupPrefix = trimmed.substring(0, lastDotIdx);
60
- const taskLabel = trimmed.substring(lastDotIdx + 1);
62
+ const groupPrefix = peelQuotedName(trimmed.substring(0, lastDotIdx));
63
+ const taskLabel = peelQuotedName(trimmed.substring(lastDotIdx + 1));
61
64
  const normTaskLabel = normalizeName(taskLabel);
62
65
  const matches = allTasks.filter((t) => {
63
66
  if (normalizeName(t.label) !== normTaskLabel) return false;
@@ -784,4 +787,4 @@ export {
784
787
  resolveTaskName,
785
788
  calculateSchedule
786
789
  };
787
- //# sourceMappingURL=chunk-DUI5SMFX.js.map
790
+ //# sourceMappingURL=chunk-DKG2ADEN.js.map
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-NZ5QVASG.js";
26
26
  import {
27
27
  renderIntegratedLegend
28
- } from "./chunk-N7PF5IRF.js";
28
+ } from "./chunk-A6L6W43V.js";
29
29
  import {
30
30
  getLegendExtent
31
31
  } from "./chunk-ES66QH6J.js";
@@ -45,7 +45,7 @@ import {
45
45
  } from "./chunk-6KFWC4CO.js";
46
46
  import {
47
47
  parsePert
48
- } from "./chunk-KAG5JCZV.js";
48
+ } from "./chunk-W2Z4KS72.js";
49
49
  import {
50
50
  addCalendarDays,
51
51
  formatDuration,
@@ -56,7 +56,7 @@ import {
56
56
  import {
57
57
  resolveActiveTagGroup,
58
58
  resolveTagColor
59
- } from "./chunk-3LMUMAUS.js";
59
+ } from "./chunk-LLA5C2TM.js";
60
60
  import {
61
61
  LEGEND_HEIGHT
62
62
  } from "./chunk-SCJ7CAJF.js";
@@ -1868,4 +1868,4 @@ export {
1868
1868
  measurePertAnalysisBlock,
1869
1869
  renderPertAnalysisBlock
1870
1870
  };
1871
- //# sourceMappingURL=chunk-7UZFAIKI.js.map
1871
+ //# sourceMappingURL=chunk-E6QWV2G4.js.map
@@ -14,14 +14,14 @@ import {
14
14
  } from "./chunk-6KFWC4CO.js";
15
15
  import {
16
16
  allTasks
17
- } from "./chunk-TQC2SUMJ.js";
17
+ } from "./chunk-TDZRLG7I.js";
18
18
  import {
19
19
  VARIANTS
20
20
  } from "./chunk-I55PVEIX.js";
21
21
  import {
22
22
  fillModeFromOptions,
23
23
  legendSuppressed
24
- } from "./chunk-E7HANW62.js";
24
+ } from "./chunk-IXY2IPOW.js";
25
25
  import {
26
26
  measureText,
27
27
  truncateText,
@@ -789,4 +789,4 @@ export {
789
789
  renderRaci,
790
790
  renderRaciForExport
791
791
  };
792
- //# sourceMappingURL=chunk-6F3MVYUW.js.map
792
+ //# sourceMappingURL=chunk-EIRNPTLH.js.map
@@ -7,7 +7,7 @@ import {
7
7
  splitNameAndMeta,
8
8
  warnUnknownMetaKeys,
9
9
  withTagAliases
10
- } from "./chunk-E7HANW62.js";
10
+ } from "./chunk-IXY2IPOW.js";
11
11
  import {
12
12
  makeDgmoError
13
13
  } from "./chunk-OLMWTJVU.js";
@@ -314,4 +314,4 @@ export {
314
314
  parseTimelineDate,
315
315
  parseTimelineEventLine
316
316
  };
317
- //# sourceMappingURL=chunk-KNCY7YHC.js.map
317
+ //# sourceMappingURL=chunk-EKKS325Q.js.map
@@ -10,7 +10,7 @@ import {
10
10
  tagAttrKey,
11
11
  validateTagGroupNames,
12
12
  validateTagValues
13
- } from "./chunk-3LMUMAUS.js";
13
+ } from "./chunk-LLA5C2TM.js";
14
14
  import {
15
15
  MINDMAP_REGISTRY,
16
16
  OPTION_NOCOLON_RE,
@@ -22,7 +22,7 @@ import {
22
22
  tryParseSharedOption,
23
23
  warnUnknownMetaKeys,
24
24
  withTagAliases
25
- } from "./chunk-E7HANW62.js";
25
+ } from "./chunk-IXY2IPOW.js";
26
26
  import {
27
27
  formatDgmoError,
28
28
  makeDgmoError,
@@ -323,4 +323,4 @@ function findMetadataParent(indent, indentStack) {
323
323
  export {
324
324
  parseMindmap
325
325
  };
326
- //# sourceMappingURL=chunk-YILSSUEL.js.map
326
+ //# sourceMappingURL=chunk-EQGLGTU2.js.map
@@ -5,7 +5,7 @@ import {
5
5
  splitNameAndMeta,
6
6
  tryParseSharedOption,
7
7
  warnUnknownMetaKeys
8
- } from "./chunk-E7HANW62.js";
8
+ } from "./chunk-IXY2IPOW.js";
9
9
  import {
10
10
  makeDgmoError,
11
11
  makeFail
@@ -274,4 +274,4 @@ function parseCycle(content) {
274
274
  export {
275
275
  parseCycle
276
276
  };
277
- //# sourceMappingURL=chunk-B4U7RRQ4.js.map
277
+ //# sourceMappingURL=chunk-EYP34TFP.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-7TF3QOOD.js";
4
4
  import {
5
5
  tryCollectNote
6
- } from "./chunk-6JYE3SDK.js";
6
+ } from "./chunk-SJT4W23S.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-E7HANW62.js";
24
+ } from "./chunk-IXY2IPOW.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-RDHZRHDG.js.map
473
+ //# sourceMappingURL=chunk-GCZQAT4Z.js.map
@@ -5,7 +5,7 @@ import {
5
5
  splitNameAndMeta,
6
6
  tryParseSharedOption,
7
7
  warnUnknownMetaKeys
8
- } from "./chunk-E7HANW62.js";
8
+ } from "./chunk-IXY2IPOW.js";
9
9
  import {
10
10
  makeDgmoError,
11
11
  makeFail
@@ -127,4 +127,4 @@ function parsePyramid(content) {
127
127
  export {
128
128
  parsePyramid
129
129
  };
130
- //# sourceMappingURL=chunk-X3YNX4DR.js.map
130
+ //# sourceMappingURL=chunk-GSVHOF3J.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tryCollectNote
3
- } from "./chunk-6JYE3SDK.js";
3
+ } from "./chunk-SJT4W23S.js";
4
4
  import {
5
5
  resolveNotes
6
6
  } from "./chunk-7NK42OIB.js";
@@ -19,7 +19,7 @@ import {
19
19
  tagAttrKey,
20
20
  validateTagGroupNames,
21
21
  validateTagValues
22
- } from "./chunk-3LMUMAUS.js";
22
+ } from "./chunk-LLA5C2TM.js";
23
23
  import {
24
24
  ER_REGISTRY,
25
25
  OPTION_NOCOLON_RE,
@@ -32,7 +32,7 @@ import {
32
32
  tryParseSharedOption,
33
33
  warnUnknownMetaKeys,
34
34
  withTagAliases
35
- } from "./chunk-E7HANW62.js";
35
+ } from "./chunk-IXY2IPOW.js";
36
36
  import {
37
37
  resolveColorWithDiagnostic
38
38
  } from "./chunk-EXNKNJ65.js";
@@ -521,4 +521,4 @@ export {
521
521
  looksLikeERDiagram,
522
522
  extractSymbols
523
523
  };
524
- //# sourceMappingURL=chunk-7SGR7A5K.js.map
524
+ //# sourceMappingURL=chunk-HQI7S72D.js.map
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-6KFWC4CO.js";
11
11
  import {
12
12
  fillModeFromOptions
13
- } from "./chunk-E7HANW62.js";
13
+ } from "./chunk-IXY2IPOW.js";
14
14
  import {
15
15
  measureText
16
16
  } from "./chunk-4ASYQ347.js";
@@ -554,4 +554,4 @@ function renderModal(parent, node, ctx) {
554
554
  export {
555
555
  renderWireframe
556
556
  };
557
- //# sourceMappingURL=chunk-TXQXPJTG.js.map
557
+ //# sourceMappingURL=chunk-HSVVQZLC.js.map
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-6VJCURWU.js";
13
13
  import {
14
14
  renderIntegratedLegend
15
- } from "./chunk-N7PF5IRF.js";
15
+ } from "./chunk-A6L6W43V.js";
16
16
  import {
17
17
  getLegendExtent,
18
18
  getMaxLegendReservedHeight
@@ -29,16 +29,16 @@ import {
29
29
  isSequenceBlock,
30
30
  isSequenceNote,
31
31
  isSequenceSection
32
- } from "./chunk-2UBTPFIF.js";
32
+ } from "./chunk-I53E3L5M.js";
33
33
  import {
34
34
  resolveActiveTagGroup,
35
35
  tagAttrKey
36
- } from "./chunk-3LMUMAUS.js";
36
+ } from "./chunk-LLA5C2TM.js";
37
37
  import {
38
38
  fillModeFromOptions,
39
39
  legendInlineRequested,
40
40
  legendSuppressed
41
- } from "./chunk-E7HANW62.js";
41
+ } from "./chunk-IXY2IPOW.js";
42
42
  import {
43
43
  measureText,
44
44
  truncateText
@@ -1907,4 +1907,4 @@ export {
1907
1907
  renderSequenceDiagram,
1908
1908
  buildNoteMessageMap
1909
1909
  };
1910
- //# sourceMappingURL=chunk-E6CCWMTT.js.map
1910
+ //# sourceMappingURL=chunk-I24URUTV.js.map
@@ -16,7 +16,7 @@ import {
16
16
  stripDefaultModifier,
17
17
  validateTagGroupNames,
18
18
  validateTagValues
19
- } from "./chunk-3LMUMAUS.js";
19
+ } from "./chunk-LLA5C2TM.js";
20
20
  import {
21
21
  FILL_FAMILY_TOKENS,
22
22
  OPTION_NOCOLON_RE,
@@ -24,11 +24,12 @@ import {
24
24
  extractColor,
25
25
  measureIndent,
26
26
  parseFirstLine,
27
+ peelQuotedName,
27
28
  peelTrailingCollapsedFlag,
28
29
  splitNameAndMeta,
29
30
  warnUnknownMetaKeys,
30
31
  withTagAliases
31
- } from "./chunk-E7HANW62.js";
32
+ } from "./chunk-IXY2IPOW.js";
32
33
  import {
33
34
  NAME_DIAGNOSTIC_CODES,
34
35
  formatDgmoError,
@@ -84,7 +85,7 @@ function parseNoteLine(trimmed, participants, participantIds, sortedParticipants
84
85
  if (!lastMsgFrom) return { kind: "skip" };
85
86
  participantId = lastMsgFrom;
86
87
  }
87
- const lookupKey = normalizeName(participantId);
88
+ const lookupKey = normalizeName(peelQuotedName(participantId));
88
89
  if (participantIds.has(lookupKey)) {
89
90
  const found = participants.find((p) => normalizeName(p.id) === lookupKey);
90
91
  return {
@@ -248,8 +249,9 @@ function parseSequenceDgmo(content, palette) {
248
249
  const participantIds = /* @__PURE__ */ new Set();
249
250
  const idByKey = /* @__PURE__ */ new Map();
250
251
  const addParticipant = (name, lineNumber, extras) => {
251
- const key = normalizeName(name);
252
- const trimmed = name.trim();
252
+ const peeled = peelQuotedName(name);
253
+ const key = normalizeName(peeled);
254
+ const trimmed = peeled.trim();
253
255
  const incomingLabel = extras?.label ?? trimmed;
254
256
  if (participantIds.has(key)) {
255
257
  const existing = result.participants.find(
@@ -281,7 +283,7 @@ function parseSequenceDgmo(content, palette) {
281
283
  result.participants.push({
282
284
  id: trimmed,
283
285
  label: incomingLabel,
284
- type: extras?.type ?? inferParticipantType(name),
286
+ type: extras?.type ?? inferParticipantType(peeled),
285
287
  lineNumber,
286
288
  ...extras?.position !== void 0 ? { position: extras.position } : {},
287
289
  // takePosition() may have emptied the metadata record (position was
@@ -1040,4 +1042,4 @@ export {
1040
1042
  parseSequenceDgmo,
1041
1043
  looksLikeSequence
1042
1044
  };
1043
- //# sourceMappingURL=chunk-2UBTPFIF.js.map
1045
+ //# sourceMappingURL=chunk-I53E3L5M.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tryCollectNote
3
- } from "./chunk-6JYE3SDK.js";
3
+ } from "./chunk-SJT4W23S.js";
4
4
  import {
5
5
  resolveNotes
6
6
  } from "./chunk-7NK42OIB.js";
@@ -19,18 +19,19 @@ import {
19
19
  tagAttrKey,
20
20
  validateTagGroupNames,
21
21
  validateTagValues
22
- } from "./chunk-3LMUMAUS.js";
22
+ } from "./chunk-LLA5C2TM.js";
23
23
  import {
24
24
  BOXES_AND_LINES_REGISTRY,
25
25
  OPTION_NOCOLON_RE,
26
26
  extractColor,
27
27
  parseFirstLine,
28
+ peelQuotedName,
28
29
  peelRampColors,
29
30
  splitNameAndMeta,
30
31
  tryParseSharedOption,
31
32
  warnUnknownMetaKeys,
32
33
  withTagAliases
33
- } from "./chunk-E7HANW62.js";
34
+ } from "./chunk-IXY2IPOW.js";
34
35
  import {
35
36
  makeDgmoError,
36
37
  suggest
@@ -601,7 +602,7 @@ function parseNodeLine(trimmed, lineNum, metaAliasMap, diagnostics, nameAliasMap
601
602
  (msg) => diagnostics.push(makeDgmoError(lineNum, msg, "warning")),
602
603
  split.name
603
604
  );
604
- let label = split.name;
605
+ let label = peelQuotedName(split.name);
605
606
  const metadata = { ...split.meta };
606
607
  let description;
607
608
  if (split.color !== void 0) {
@@ -655,7 +656,7 @@ function resolveEndpoint(name, nameAliasMap) {
655
656
  const aliased = nameAliasMap.get(name.trim());
656
657
  if (aliased !== void 0) return aliased;
657
658
  }
658
- return name;
659
+ return peelQuotedName(name);
659
660
  }
660
661
  function parseEdgeLine(trimmed, lineNum, metaAliasMap, diagnostics, nameAliasMap) {
661
662
  const edgeRegistry = withTagAliases(
@@ -833,4 +834,4 @@ export {
833
834
  looksLikeBoxesAndLines,
834
835
  parseBoxesAndLines
835
836
  };
836
- //# sourceMappingURL=chunk-W6T5QRIR.js.map
837
+ //# sourceMappingURL=chunk-IH3GHOHU.js.map
@@ -2,7 +2,7 @@ import {
2
2
  injectDefaultTagMetadata,
3
3
  resolveTagColor,
4
4
  tagAttrKey
5
- } from "./chunk-3LMUMAUS.js";
5
+ } from "./chunk-LLA5C2TM.js";
6
6
  import {
7
7
  LEGEND_CAPSULE_PAD,
8
8
  LEGEND_DOT_R,
@@ -617,4 +617,4 @@ function layoutSitemap(parsed, hiddenCounts, activeTagGroup, hiddenAttributes, e
617
617
  export {
618
618
  layoutSitemap
619
619
  };
620
- //# sourceMappingURL=chunk-7Q6HX7ON.js.map
620
+ //# sourceMappingURL=chunk-IMEWQLRD.js.map
@@ -428,7 +428,12 @@ function staticRegistry(keys) {
428
428
  return { keys: new Set(keys), tagAliases: /* @__PURE__ */ new Set() };
429
429
  }
430
430
  function withTagAliases(base, aliases) {
431
- return { keys: base.keys, tagAliases: aliases };
431
+ const withSlugs = new Set(aliases);
432
+ for (const alias of aliases) withSlugs.add(tagSlug(alias));
433
+ return { keys: base.keys, tagAliases: withSlugs };
434
+ }
435
+ function tagSlug(name) {
436
+ return name.trim().toLowerCase().replace(/[^a-z0-9_-]+/g, "-").replace(/^-+|-+$/g, "");
432
437
  }
433
438
  function isReservedKey(registry, key) {
434
439
  return registry.keys.has(key) || registry.tagAliases.has(key);
@@ -794,6 +799,17 @@ function stripQuotes(token) {
794
799
  }
795
800
  return token;
796
801
  }
802
+ function peelQuotedName(name) {
803
+ const trimmed = name.trim();
804
+ if (trimmed.length < 2) return name;
805
+ const first = trimmed[0];
806
+ const last = trimmed[trimmed.length - 1];
807
+ if ((first !== '"' || last !== '"') && (first !== "'" || last !== "'"))
808
+ return name;
809
+ const inner = trimmed.slice(1, -1);
810
+ if (inner.length === 0 || inner.includes(first)) return name;
811
+ return inner;
812
+ }
797
813
  function tokenizeQuoteAware(input) {
798
814
  const tokens = [];
799
815
  let i = 0;
@@ -1167,6 +1183,7 @@ export {
1167
1183
  detectBadChartTypeDeclaration,
1168
1184
  normalizeNumericToken,
1169
1185
  stripQuotes,
1186
+ peelQuotedName,
1170
1187
  tokenizeQuoteAware,
1171
1188
  collectIndentedValues,
1172
1189
  parseSeriesNames,
@@ -1178,4 +1195,4 @@ export {
1178
1195
  splitNameAndMeta,
1179
1196
  warnUnknownMetaKeys
1180
1197
  };
1181
- //# sourceMappingURL=chunk-E7HANW62.js.map
1198
+ //# sourceMappingURL=chunk-IXY2IPOW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseFirstLine
3
- } from "./chunk-E7HANW62.js";
3
+ } from "./chunk-IXY2IPOW.js";
4
4
  import {
5
5
  parseCloudReference,
6
6
  parseCloudReferenceUrl
@@ -178,4 +178,4 @@ function parseLiveLink(content) {
178
178
  export {
179
179
  parseLiveLink
180
180
  };
181
- //# sourceMappingURL=chunk-4UNGFVVY.js.map
181
+ //# sourceMappingURL=chunk-KJ3FIMPA.js.map
@@ -4,13 +4,13 @@ import {
4
4
  matchTagBlockHeading,
5
5
  stripDefaultModifier,
6
6
  tagAttrKey
7
- } from "./chunk-3LMUMAUS.js";
7
+ } from "./chunk-LLA5C2TM.js";
8
8
  import {
9
9
  FILL_FAMILY_TOKENS,
10
10
  extractColor,
11
11
  measureIndent,
12
12
  parseFirstLine
13
- } from "./chunk-E7HANW62.js";
13
+ } from "./chunk-IXY2IPOW.js";
14
14
  import {
15
15
  emit
16
16
  } from "./chunk-OLMWTJVU.js";
@@ -692,4 +692,4 @@ export {
692
692
  SWIMLANE_DIAGNOSTICS,
693
693
  parseSwimlane
694
694
  };
695
- //# sourceMappingURL=chunk-AU4AQYOA.js.map
695
+ //# sourceMappingURL=chunk-KZFAEMQQ.js.map
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  injectDefaultTagMetadata,
9
9
  resolveTagColor
10
- } from "./chunk-3LMUMAUS.js";
10
+ } from "./chunk-LLA5C2TM.js";
11
11
  import {
12
12
  measureText,
13
13
  truncateText
@@ -547,4 +547,4 @@ export {
547
547
  computeNodeText,
548
548
  layoutMindmap
549
549
  };
550
- //# sourceMappingURL=chunk-FWNJ45NW.js.map
550
+ //# sourceMappingURL=chunk-LBEZKYAR.js.map
@@ -1,7 +1,8 @@
1
1
  import {
2
+ peelQuotedName,
2
3
  stripQuotes,
3
4
  tokenizeQuoteAware
4
- } from "./chunk-E7HANW62.js";
5
+ } from "./chunk-IXY2IPOW.js";
5
6
  import {
6
7
  CATEGORICAL_COLOR_ORDER,
7
8
  RECOGNIZED_COLOR_NAMES,
@@ -48,7 +49,17 @@ function assignAutoTagColors(group, palette) {
48
49
  }
49
50
  }
50
51
  function finalizeAutoTagColors(groups, palette) {
51
- for (const g of groups) assignAutoTagColors(g, palette);
52
+ for (const g of groups) {
53
+ for (let i = 0; i < g.entries.length; i++) {
54
+ const entry = g.entries[i];
55
+ const peeled = peelQuotedName(entry.value);
56
+ if (peeled !== entry.value) g.entries[i] = { ...entry, value: peeled };
57
+ }
58
+ if (g.defaultValue !== void 0) {
59
+ g.defaultValue = peelQuotedName(g.defaultValue);
60
+ }
61
+ assignAutoTagColors(g, palette);
62
+ }
52
63
  }
53
64
  var TAG_BLOCK_NOCOLON_RE = /^tag\s+/i;
54
65
  function isAliasToken(token) {
@@ -250,4 +261,4 @@ export {
250
261
  resolveActiveTagGroup,
251
262
  matchTagBlockHeading
252
263
  };
253
- //# sourceMappingURL=chunk-3LMUMAUS.js.map
264
+ //# sourceMappingURL=chunk-LLA5C2TM.js.map
@@ -12,7 +12,7 @@ import {
12
12
  normalizeNumericToken,
13
13
  parseFirstLine,
14
14
  parseSeriesNames
15
- } from "./chunk-E7HANW62.js";
15
+ } from "./chunk-IXY2IPOW.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-QS37VUFZ.js.map
1207
+ //# sourceMappingURL=chunk-MM4Z32EH.js.map