@diagrammo/dgmo 0.62.0 → 0.63.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 (59) hide show
  1. package/dist/advanced.d.ts +70 -1
  2. package/dist/advanced.js +104 -27
  3. package/dist/auto.js +99 -99
  4. package/dist/block.js +9 -9
  5. package/dist/chart-meta.js +2 -2
  6. package/dist/{charts-d3-3WMDA5Z5.js → charts-d3-M76E4TZU.js} +4 -4
  7. package/dist/{chunk-4C3BTTOL.js → chunk-2LN5C6FH.js} +2 -2
  8. package/dist/{chunk-FXLGBUIQ.js → chunk-34HQALZ5.js} +2 -2
  9. package/dist/{chunk-3PVUGECM.js → chunk-AA4M6F2P.js} +2 -2
  10. package/dist/{chunk-XJZCXNWR.js → chunk-BGITRLTR.js} +2 -2
  11. package/dist/{chunk-3OLO2MZ6.js → chunk-BPINSP65.js} +2 -2
  12. package/dist/{chunk-DZZWR6GT.js → chunk-DUHKYKI7.js} +2 -2
  13. package/dist/{chunk-536EBUPG.js → chunk-EOYPX6SF.js} +11 -3
  14. package/dist/{chunk-7FTGNJQ2.js → chunk-GCVTU64J.js} +17 -5
  15. package/dist/{chunk-CQ7Y3O67.js → chunk-KHTKMVKT.js} +2 -2
  16. package/dist/{chunk-7BJQUII6.js → chunk-KK5LQIN7.js} +2 -2
  17. package/dist/{chunk-L43KTQTW.js → chunk-L26ZAPNJ.js} +2 -2
  18. package/dist/{chunk-LRKGF7RN.js → chunk-L4B4GRVS.js} +2 -2
  19. package/dist/{chunk-OIK6Y2EJ.js → chunk-L57TSE53.js} +2 -2
  20. package/dist/{chunk-LFAQ4BLZ.js → chunk-MR2XKW35.js} +2 -2
  21. package/dist/{chunk-7QCYHZVO.js → chunk-NQH2Q2RR.js} +2 -2
  22. package/dist/{chunk-PFGJ7SCM.js → chunk-PUFWYDWP.js} +2 -2
  23. package/dist/{chunk-DHIBVN2D.js → chunk-QRHA7WIU.js} +34 -32
  24. package/dist/chunk-RU2HHHYA.js +23 -0
  25. package/dist/{chunk-SMHTYVMK.js → chunk-RZRMSNO7.js} +2 -2
  26. package/dist/{chunk-65QX6LYT.js → chunk-SJGZSPSW.js} +9 -3
  27. package/dist/{chunk-HJ6TMHQG.js → chunk-SV7F363F.js} +2 -2
  28. package/dist/{chunk-YJCILMEA.js → chunk-U22TKD3L.js} +2 -2
  29. package/dist/{chunk-PJDX4IKR.js → chunk-WMHHNK44.js} +2 -2
  30. package/dist/{chunk-4BEAHH6G.js → chunk-XXDEQSW4.js} +2 -2
  31. package/dist/{chunk-NEV5IW33.js → chunk-YVI3JL3S.js} +2 -2
  32. package/dist/{chunk-FVYHDZ6Q.js → chunk-ZXLXAOCM.js} +2 -2
  33. package/dist/{dgmo-router-Z5N6QLIC.js → dgmo-router-QWRF7ZKM.js} +3 -3
  34. package/dist/element.js +100 -100
  35. package/dist/{flowchart-renderer-XFDCX7MZ.js → flowchart-renderer-BCVCIZHF.js} +3 -3
  36. package/dist/index.js +9 -9
  37. package/dist/{parser-SRUPRH77.js → parser-5WIZGKNE.js} +2 -2
  38. package/dist/{renderer-CXRSD26Q.js → renderer-4VDSMPYU.js} +4 -4
  39. package/dist/{renderer-62FFDWMY.js → renderer-5HYDLCMX.js} +3 -3
  40. package/dist/{renderer-JSFWNV37.js → renderer-5SN6N5VN.js} +3 -3
  41. package/dist/{renderer-XSHOMUJQ.js → renderer-726UVOKE.js} +3 -3
  42. package/dist/{renderer-A5GFW2XH.js → renderer-CXAL2FYB.js} +5 -5
  43. package/dist/{renderer-VYMTBSF4.js → renderer-HPQJRSON.js} +3 -3
  44. package/dist/{renderer-GESKWINV.js → renderer-K3TH5PP7.js} +4 -4
  45. package/dist/{renderer-4RQ5PGHY.js → renderer-KHVAM4IY.js} +3 -3
  46. package/dist/{renderer-2PGIIOFN.js → renderer-KKNXTTFE.js} +5 -5
  47. package/dist/{renderer-IG5PQXEM.js → renderer-PKST5W6U.js} +4 -4
  48. package/dist/{renderer-6QW5OAJG.js → renderer-TTMBG2N6.js} +2 -2
  49. package/dist/{renderer-AS6LLDZM.js → renderer-XDL6PRLN.js} +3 -3
  50. package/dist/{renderer-63MLWS6L.js → renderer-XIJO7DYS.js} +3 -3
  51. package/dist/{resolver-ZLYSMILY.js → resolver-B3TXWNWF.js} +3 -3
  52. package/dist/{state-renderer-GBHDOEXR.js → state-renderer-MCWCZ76U.js} +3 -3
  53. package/fonts/Inter-Bold.ttf +0 -0
  54. package/fonts/Inter-Bold.woff2 +0 -0
  55. package/fonts/Inter-Regular.ttf +0 -0
  56. package/fonts/Inter-Regular.woff2 +0 -0
  57. package/fonts/coverage.json +1 -0
  58. package/package.json +9 -4
  59. package/dist/chunk-NZ5QVASG.js +0 -20
@@ -250,6 +250,12 @@ function parseSequenceDgmo(content, palette) {
250
250
  const idByKey = /* @__PURE__ */ new Map();
251
251
  const addParticipant = (name, lineNumber, extras) => {
252
252
  const peeled = peelQuotedName(name);
253
+ if (peeled === name.trim() && peeled.includes(":")) {
254
+ pushError(
255
+ lineNumber,
256
+ `'${peeled}' is not a participant name \u2014 a colon here means the rest of the line was read as the name. Put the message inside the arrow: 'A -message-> B'`
257
+ );
258
+ }
253
259
  const key = normalizeName(peeled);
254
260
  const trimmed = peeled.trim();
255
261
  const incomingLabel = extras?.label ?? trimmed;
@@ -727,10 +733,10 @@ function parseSequenceDgmo(content, palette) {
727
733
  continue;
728
734
  }
729
735
  const colonPostfixSync = arrowCore.match(
730
- /^(\S+)\s*->\s*([^\s:]+)\s*:\s*(.+)$/
736
+ /^(.+?)\s*->\s*([^:"]+?)\s*:\s*(.+)$/
731
737
  );
732
738
  const colonPostfixAsync = arrowCore.match(
733
- /^(\S+)\s*~>\s*([^\s:]+)\s*:\s*(.+)$/
739
+ /^(.+?)\s*~>\s*([^:"]+?)\s*:\s*(.+)$/
734
740
  );
735
741
  const colonPostfix = colonPostfixSync || colonPostfixAsync;
736
742
  if (colonPostfix) {
@@ -1042,4 +1048,4 @@ export {
1042
1048
  parseSequenceDgmo,
1043
1049
  looksLikeSequence
1044
1050
  };
1045
- //# sourceMappingURL=chunk-65QX6LYT.js.map
1051
+ //# sourceMappingURL=chunk-SJGZSPSW.js.map
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk-6VJCURWU.js";
23
23
  import {
24
24
  serializeSvg
25
- } from "./chunk-NZ5QVASG.js";
25
+ } from "./chunk-RU2HHHYA.js";
26
26
  import {
27
27
  CAPTION_BOX_PADDING_X,
28
28
  CAPTION_BOX_PADDING_Y,
@@ -1868,4 +1868,4 @@ export {
1868
1868
  measurePertAnalysisBlock,
1869
1869
  renderPertAnalysisBlock
1870
1870
  };
1871
- //# sourceMappingURL=chunk-HJ6TMHQG.js.map
1871
+ //# sourceMappingURL=chunk-SV7F363F.js.map
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  extractExportSvg,
13
13
  runInExportContainer
14
- } from "./chunk-L43KTQTW.js";
14
+ } from "./chunk-L26ZAPNJ.js";
15
15
  import {
16
16
  EDGE_STROKE_WIDTH,
17
17
  NODE_STROKE_WIDTH
@@ -448,4 +448,4 @@ export {
448
448
  renderClassDiagram,
449
449
  renderClassDiagramForExport
450
450
  };
451
- //# sourceMappingURL=chunk-YJCILMEA.js.map
451
+ //# sourceMappingURL=chunk-U22TKD3L.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-4QV26TEG.js";
10
10
  import {
11
11
  MAP_DX
12
- } from "./chunk-536EBUPG.js";
12
+ } from "./chunk-EOYPX6SF.js";
13
13
  import {
14
14
  formatOffsetLabel,
15
15
  isValidZone,
@@ -775,4 +775,4 @@ export {
775
775
  isSubNationalUsExtent,
776
776
  resolveMap
777
777
  };
778
- //# sourceMappingURL=chunk-PJDX4IKR.js.map
778
+ //# sourceMappingURL=chunk-WMHHNK44.js.map
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-6VJCURWU.js";
21
21
  import {
22
22
  serializeSvg
23
- } from "./chunk-NZ5QVASG.js";
23
+ } from "./chunk-RU2HHHYA.js";
24
24
  import {
25
25
  TITLE_FONT_SIZE,
26
26
  TITLE_FONT_WEIGHT,
@@ -603,4 +603,4 @@ export {
603
603
  renderERDiagram,
604
604
  renderERDiagramForExport
605
605
  };
606
- //# sourceMappingURL=chunk-4BEAHH6G.js.map
606
+ //# sourceMappingURL=chunk-XXDEQSW4.js.map
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-3CIOJ5YJ.js";
17
17
  import {
18
18
  formatDateLabel
19
- } from "./chunk-3OLO2MZ6.js";
19
+ } from "./chunk-BPINSP65.js";
20
20
  import {
21
21
  layoutInlineHeader
22
22
  } from "./chunk-6VJCURWU.js";
@@ -1157,4 +1157,4 @@ export {
1157
1157
  focusEventLine,
1158
1158
  renderEventLineForExport
1159
1159
  };
1160
- //# sourceMappingURL=chunk-NEV5IW33.js.map
1160
+ //# sourceMappingURL=chunk-YVI3JL3S.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MONO_FAMILY
3
- } from "./chunk-LFAQ4BLZ.js";
3
+ } from "./chunk-MR2XKW35.js";
4
4
  import {
5
5
  FONT_FAMILY
6
6
  } from "./chunk-6KFWC4CO.js";
@@ -62,4 +62,4 @@ function escapeXml(s) {
62
62
  export {
63
63
  renderLiveLinkCard
64
64
  };
65
- //# sourceMappingURL=chunk-FVYHDZ6Q.js.map
65
+ //# sourceMappingURL=chunk-ZXLXAOCM.js.map
@@ -9,7 +9,7 @@ import {
9
9
  looksLikeGantt,
10
10
  parseDgmo,
11
11
  parseDgmoChartType
12
- } from "./chunk-3PVUGECM.js";
12
+ } from "./chunk-AA4M6F2P.js";
13
13
  import "./chunk-2CMM36O7.js";
14
14
  import "./chunk-A2RUBBVT.js";
15
15
  import "./chunk-JWJBWNQL.js";
@@ -49,7 +49,7 @@ import "./chunk-I7IQ2NEJ.js";
49
49
  import "./chunk-O42EAZUV.js";
50
50
  import "./chunk-EQW6HOP4.js";
51
51
  import "./chunk-DAOFNU6J.js";
52
- import "./chunk-65QX6LYT.js";
52
+ import "./chunk-SJGZSPSW.js";
53
53
  import "./chunk-C3Z4DX3V.js";
54
54
  import "./chunk-CHOKOYSC.js";
55
55
  import "./chunk-7TF3QOOD.js";
@@ -86,4 +86,4 @@ export {
86
86
  parseDgmo,
87
87
  parseDgmoChartType
88
88
  };
89
- //# sourceMappingURL=dgmo-router-Z5N6QLIC.js.map
89
+ //# sourceMappingURL=dgmo-router-QWRF7ZKM.js.map