@diagrammo/dgmo 0.73.0 → 0.74.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.
- package/dist/advanced.js +90 -90
- package/dist/{analyzer-KQWXVQOI.js → analyzer-FHRJUIMW.js} +2 -2
- package/dist/block.js +46 -46
- package/dist/{calculator-2Z5DUTOB.js → calculator-CVQ54JNE.js} +3 -3
- package/dist/chart-meta.js +42 -42
- package/dist/{charts-d3-S6JPQQFZ.js → charts-d3-LWHTOVX7.js} +5 -5
- package/dist/{chunk-PJHYUVD3.js → chunk-2MJSSDK5.js} +6 -6
- package/dist/{chunk-OYK45NY5.js → chunk-2NRIGEHZ.js} +3 -3
- package/dist/{chunk-ZIJXK3U5.js → chunk-2QRIMMIH.js} +3 -3
- package/dist/{chunk-NQJ7DDUT.js → chunk-3H4PDNP4.js} +3 -3
- package/dist/{chunk-7VMUKH2Z.js → chunk-3SP6G4LN.js} +3 -3
- package/dist/{chunk-54SJUHNY.js → chunk-474D3IUN.js} +3 -3
- package/dist/{chunk-4K5H6LON.js → chunk-4YER7UCV.js} +3 -3
- package/dist/{chunk-JPVRJS74.js → chunk-57Z2WXJ2.js} +3 -3
- package/dist/{chunk-TP42IN23.js → chunk-5KE6KHY6.js} +3 -3
- package/dist/{chunk-CLKRRKV6.js → chunk-5NAOTRLN.js} +6 -6
- package/dist/{chunk-BVNTXVYJ.js → chunk-5PFNUDXR.js} +3 -3
- package/dist/{chunk-4FKEI4MF.js → chunk-76LHNLGX.js} +2 -2
- package/dist/{chunk-JLSGQMRA.js → chunk-76NHL5UG.js} +2 -2
- package/dist/{chunk-KUDYLU3M.js → chunk-7BMX2M3F.js} +2 -2
- package/dist/{chunk-3AXUJ5PT.js → chunk-7NSNE52V.js} +5 -4
- package/dist/{chunk-WDKLODC3.js → chunk-ALBVWTU4.js} +5 -5
- package/dist/{chunk-B5CIHVBP.js → chunk-ALDU62VN.js} +5 -5
- package/dist/{chunk-OR3OX32W.js → chunk-BBH5IAAR.js} +4 -4
- package/dist/{chunk-WPEHUSUQ.js → chunk-BWJLLNUX.js} +3 -3
- package/dist/{chunk-INOSOL3J.js → chunk-C2WH3BMS.js} +2 -2
- package/dist/{chunk-KZKRK57S.js → chunk-CDFIZHVD.js} +5 -5
- package/dist/{chunk-K7P4SCB3.js → chunk-CMQJP5L4.js} +5 -5
- package/dist/{chunk-V7E3RZLQ.js → chunk-CQKD6GOC.js} +3 -3
- package/dist/{chunk-2M2UC5EU.js → chunk-CRLVJZWX.js} +2 -2
- package/dist/{chunk-KCHCOXAL.js → chunk-DJL5PO27.js} +2 -2
- package/dist/{chunk-LMJKHQ4W.js → chunk-DU3OIBQE.js} +3 -3
- package/dist/{chunk-VWIXRNY2.js → chunk-DY7KDZUF.js} +3 -3
- package/dist/{chunk-A34AXXBO.js → chunk-EPH4UMUE.js} +4 -4
- package/dist/{chunk-DZC2OCK3.js → chunk-EV6BZMBZ.js} +6 -6
- package/dist/{chunk-2TFWQM3E.js → chunk-F4V67JXG.js} +2 -2
- package/dist/{chunk-6G2GJGUC.js → chunk-FL5IKZQA.js} +2 -2
- package/dist/{chunk-RYHZFP7Y.js → chunk-FPRMP6YA.js} +3 -3
- package/dist/{chunk-2PU5XWLA.js → chunk-GJQQCI63.js} +4 -3
- package/dist/{chunk-ABH626W7.js → chunk-GQJ35I2I.js} +52 -50
- package/dist/{chunk-KI2L4DWM.js → chunk-GRN44Z6A.js} +2 -2
- package/dist/{chunk-X6LXZJPT.js → chunk-HFCKU73Y.js} +6 -6
- package/dist/{chunk-ARM4G2HJ.js → chunk-ICVIJLBA.js} +4 -4
- package/dist/{chunk-SNZFXGSE.js → chunk-JLODGGN2.js} +3 -3
- package/dist/{chunk-XGBUCXU7.js → chunk-JSYAH7KR.js} +2 -2
- package/dist/{chunk-AG3Z47VY.js → chunk-KR432TCU.js} +4 -4
- package/dist/{chunk-OMQ5V5NH.js → chunk-KRTLS3G6.js} +4 -4
- package/dist/{chunk-4NYJEK4R.js → chunk-KWSBNLSC.js} +2 -2
- package/dist/{chunk-FQFQGPWA.js → chunk-L2EA5YLO.js} +3 -3
- package/dist/{chunk-7GYSVN4Z.js → chunk-LKS56RDT.js} +2 -2
- package/dist/{chunk-XVJWAE2F.js → chunk-LSHMDQZQ.js} +3 -3
- package/dist/{chunk-3ATHNEOQ.js → chunk-LXXVHLTH.js} +3 -3
- package/dist/{chunk-QFHPGDR5.js → chunk-LYLRNAX2.js} +2 -2
- package/dist/{chunk-CVGTEAIO.js → chunk-M526IKKH.js} +2 -2
- package/dist/{chunk-W242EWZZ.js → chunk-M5JT2AU7.js} +4 -4
- package/dist/{chunk-MK55PZVB.js → chunk-M5OOAP65.js} +4 -3
- package/dist/{chunk-EPJHJF3J.js → chunk-MDEG62W7.js} +3 -3
- package/dist/{chunk-TJS3J5B3.js → chunk-NHQ7HUAS.js} +3 -3
- package/dist/{chunk-3X3UD7PN.js → chunk-NW3VXCXR.js} +3 -3
- package/dist/{chunk-TXWW4UZM.js → chunk-OKXWPKUC.js} +2 -2
- package/dist/{chunk-H454ZVAS.js → chunk-PHRBLJ3K.js} +5 -5
- package/dist/{chunk-T4L4LKXO.js → chunk-Q6BAFS7I.js} +3 -3
- package/dist/{chunk-RXSAE6F5.js → chunk-Q6LP67RP.js} +2 -2
- package/dist/{chunk-D5ZZOTE6.js → chunk-QMFIZQTB.js} +2 -2
- package/dist/{chunk-IDEJ3J4J.js → chunk-QOVM5VRC.js} +3 -3
- package/dist/{chunk-O7ZKDUDX.js → chunk-QT5UMFPE.js} +2 -2
- package/dist/{chunk-YGKYQ7LA.js → chunk-R5JPMW2F.js} +40 -40
- package/dist/{chunk-E27E4ZFN.js → chunk-RQ6SEQOT.js} +2 -2
- package/dist/{chunk-NE7JHZCQ.js → chunk-RWFMOVHG.js} +3 -3
- package/dist/{chunk-RJUMXXKR.js → chunk-S5P5Z5Y5.js} +3 -3
- package/dist/{chunk-XL2C26LV.js → chunk-SH4PPRU7.js} +2 -2
- package/dist/{chunk-XOOYMOIW.js → chunk-SUA56ZSB.js} +3 -3
- package/dist/{chunk-2AC2KTVM.js → chunk-SWEKCK34.js} +3 -3
- package/dist/{chunk-5EI23VVR.js → chunk-SXZS56YM.js} +4 -4
- package/dist/{chunk-25LXU4OQ.js → chunk-T6BO4VO6.js} +6 -6
- package/dist/{chunk-PFZDLHHG.js → chunk-TC63QU4M.js} +14 -12
- package/dist/{chunk-WTMP6VZ6.js → chunk-TDHD3HNO.js} +3 -3
- package/dist/{chunk-AMYMV4JZ.js → chunk-TN754B3R.js} +2 -2
- package/dist/{chunk-XUCHK3OJ.js → chunk-TPN7RJOM.js} +3 -3
- package/dist/{chunk-LGASNVZE.js → chunk-TTCXHFFB.js} +3 -3
- package/dist/{chunk-6LGPL4LP.js → chunk-U74EGVOA.js} +4 -4
- package/dist/{chunk-VQEW7XMN.js → chunk-UCZBRGJN.js} +2 -2
- package/dist/{chunk-HQ34V2XV.js → chunk-UJBP57UJ.js} +28 -11
- package/dist/{chunk-3OKBXV3I.js → chunk-ULEWCCBN.js} +2 -2
- package/dist/{chunk-7S5WQXI3.js → chunk-VBJCGGNF.js} +2 -2
- package/dist/{chunk-IEZYF5CN.js → chunk-W7UBPARG.js} +3 -3
- package/dist/{chunk-X6LVGU4W.js → chunk-WQXD3IIN.js} +2 -2
- package/dist/{chunk-DTYZAXEH.js → chunk-WWQ6TUVK.js} +2 -2
- package/dist/{chunk-ITAFWUSB.js → chunk-XCAEHWQB.js} +3 -3
- package/dist/{chunk-MZMK474U.js → chunk-XJLNQEQS.js} +4 -4
- package/dist/{chunk-Q446PFCV.js → chunk-Y2CYNRL7.js} +2 -2
- package/dist/{chunk-FQDH6AL3.js → chunk-YJ5G2WRU.js} +4 -4
- package/dist/{chunk-K3O2CZTD.js → chunk-YSMI6TNZ.js} +3 -3
- package/dist/{chunk-TTVHS3D5.js → chunk-YXY6V2YN.js} +101 -94
- package/dist/{chunk-ZQ5SROS2.js → chunk-Z7KVOVE4.js} +2 -2
- package/dist/{chunk-I4YT5KL6.js → chunk-ZM27UI5O.js} +3 -3
- package/dist/completion-registry.js +4 -3
- package/dist/dgmo-router-KYNLRE7S.js +89 -0
- package/dist/{dimensions-PRZSDFWR.js → dimensions-Q5SFPATB.js} +5 -5
- package/dist/editor.js +1 -0
- package/dist/{flowchart-parser-HR25V5AH.js → flowchart-parser-LY5GGQL2.js} +4 -4
- package/dist/{flowchart-renderer-FY63GDRH.js → flowchart-renderer-TTUSBBQI.js} +5 -5
- package/dist/highlight.js +1 -0
- package/dist/index.js +46 -46
- package/dist/{layout-PKGNLY6P.js → layout-5ILNODTP.js} +4 -4
- package/dist/{layout-O4PR46GN.js → layout-EM4DLMAX.js} +3 -3
- package/dist/{layout-BWHNERBW.js → layout-RV2T2YTT.js} +4 -4
- package/dist/{layout-43A4YMAH.js → layout-UJ62RQQ3.js} +3 -3
- package/dist/{layout-4URV4OXF.js → layout-VUZ3MLOI.js} +4 -4
- package/dist/{layout-U5OVRUOK.js → layout-ZAGUFT2G.js} +4 -4
- package/dist/{parser-XS7DL63K.js → parser-2GMHFSTS.js} +4 -4
- package/dist/{parser-23MYMNF6.js → parser-3AOMUX5D.js} +4 -4
- package/dist/{parser-XTSWP4N3.js → parser-3KQONLXZ.js} +3 -3
- package/dist/{parser-X5RGCC3C.js → parser-4DLU4SNG.js} +3 -3
- package/dist/{parser-AN4SUBQ6.js → parser-4KFJKLP2.js} +3 -3
- package/dist/{parser-W2LEO5QM.js → parser-5XFGK5C5.js} +4 -4
- package/dist/{parser-PDPZ2I6C.js → parser-6FUESG4N.js} +4 -4
- package/dist/{parser-GPZYL6ZE.js → parser-B2XQNHZM.js} +3 -3
- package/dist/{parser-W3QZBUOF.js → parser-CJNP7RKR.js} +4 -4
- package/dist/{parser-BTTFGJGI.js → parser-E3OHNNTH.js} +4 -4
- package/dist/{parser-A665TNOV.js → parser-EQ4I3TSH.js} +5 -5
- package/dist/{parser-2FNHLEBN.js → parser-F4ZKDGUZ.js} +3 -3
- package/dist/{parser-PCALQIW2.js → parser-GCVSRQPY.js} +4 -4
- package/dist/{parser-3JDQL7QF.js → parser-H4ZUNLX4.js} +3 -3
- package/dist/{parser-CAAFD3HB.js → parser-JYIZEKAS.js} +4 -4
- package/dist/{parser-SQMOEVG4.js → parser-L7RXUKYN.js} +4 -4
- package/dist/{parser-DIQ2E5MR.js → parser-L7T7FY3H.js} +4 -4
- package/dist/{parser-SQFNO6XG.js → parser-LUOINP6H.js} +4 -4
- package/dist/{parser-XGUJ7SMG.js → parser-LV7PQBUG.js} +4 -4
- package/dist/{parser-EDXD6ZGJ.js → parser-ML3LVNDV.js} +4 -4
- package/dist/{parser-DBOJKLDF.js → parser-PR3OR3LO.js} +5 -5
- package/dist/{parser-MDYNA6JL.js → parser-QOIZGW7I.js} +4 -4
- package/dist/{parser-BCQBK2XB.js → parser-RDBXEVI4.js} +4 -4
- package/dist/{parser-5RY6ID5M.js → parser-TA5TYZNL.js} +5 -5
- package/dist/{parser-6YBYIFS2.js → parser-UTR5WE4O.js} +4 -4
- package/dist/{parser-COBTDQPC.js → parser-WCFG3DZA.js} +3 -3
- package/dist/{parser-2FZ4BDEW.js → parser-WMJEPZDC.js} +4 -4
- package/dist/{parser-VQX2LVUJ.js → parser-WQNT7T2P.js} +3 -3
- package/dist/{parser-TATBFGQ2.js → parser-WWRRG2DV.js} +4 -4
- package/dist/{parser-BC2TAVB3.js → parser-XVSDFO56.js} +3 -3
- package/dist/{parser-5CAGM3ED.js → parser-YWQCC33R.js} +4 -4
- package/dist/{parser-VJEHPDOO.js → parser-ZT3PU2HT.js} +4 -4
- package/dist/{parser-WQCSMLUI.js → parser-ZXQZZK6W.js} +3 -3
- package/dist/{renderer-GQUJVPVA.js → renderer-227JWWHX.js} +6 -6
- package/dist/{renderer-IMZKZ6TV.js → renderer-2WW35ZIW.js} +6 -6
- package/dist/{renderer-MCWAHNQG.js → renderer-3FB56573.js} +5 -5
- package/dist/{renderer-MJCSBYAR.js → renderer-3LD3ANCP.js} +5 -5
- package/dist/{renderer-DU6D3S6K.js → renderer-46QQH33X.js} +7 -7
- package/dist/{renderer-BUMIZJIY.js → renderer-4K6KR3U3.js} +7 -7
- package/dist/{renderer-EAQNSDTC.js → renderer-55JP6AO4.js} +7 -7
- package/dist/{renderer-KJNTNI22.js → renderer-6HRDO635.js} +5 -5
- package/dist/{renderer-ODDULMVE.js → renderer-6IGQEVTE.js} +5 -5
- package/dist/{renderer-J2N5YBFP.js → renderer-6SSIELBC.js} +4 -4
- package/dist/{renderer-2E2Z5N66.js → renderer-AA5CC4VJ.js} +3 -3
- package/dist/{renderer-VG4C23TY.js → renderer-BUEFD2IF.js} +5 -5
- package/dist/{renderer-R7Q72DM4.js → renderer-CF5TYQT4.js} +3 -3
- package/dist/{renderer-HZCYBOAB.js → renderer-E5BYZTVH.js} +3 -3
- package/dist/{renderer-4HGNWJRC.js → renderer-EJXFEA5C.js} +5 -5
- package/dist/{renderer-6U6YW4HX.js → renderer-IPNSOM5J.js} +5 -5
- package/dist/{renderer-V7476J5G.js → renderer-N2X3WYBY.js} +7 -7
- package/dist/{renderer-YX6S3U4L.js → renderer-NECP7G4X.js} +5 -5
- package/dist/{renderer-2DIH3YW6.js → renderer-OWBIWBMK.js} +6 -6
- package/dist/{renderer-AKZECRNK.js → renderer-P55KPBIX.js} +7 -7
- package/dist/{renderer-SW5YUK6H.js → renderer-QLZVE45Z.js} +4 -4
- package/dist/{renderer-XNLRQWM6.js → renderer-TI7QABY7.js} +7 -8
- package/dist/{renderer-S42JPAZO.js → renderer-U6PK5ZKD.js} +5 -5
- package/dist/{renderer-BY5AAKV7.js → renderer-UUPNOGO5.js} +5 -5
- package/dist/{renderer-NXOSBZPO.js → renderer-UXZEYV2X.js} +7 -7
- package/dist/renderer-UYYBJ7OB.js +76 -0
- package/dist/{renderer-YIJYYZZE.js → renderer-W7RKBG6C.js} +5 -5
- package/dist/{renderer-TBWE67FB.js → renderer-XBL6CLN2.js} +7 -7
- package/dist/{renderer-WG6CUDWI.js → renderer-YM7PLDBF.js} +7 -7
- package/dist/{renderer-XL54ZE4H.js → renderer-YQI5U6KJ.js} +7 -7
- package/dist/{renderer-radial-ZZAAPDSY.js → renderer-radial-MZP3SVTZ.js} +6 -6
- package/dist/{state-parser-4DJ67MNV.js → state-parser-TPA67IXM.js} +5 -5
- package/dist/{state-renderer-IABX3URA.js → state-renderer-OPP6YOJI.js} +7 -7
- package/docs/language-reference.md +5 -4
- package/package.json +1 -1
- package/dist/dgmo-router-AE6FUBV3.js +0 -89
- package/dist/renderer-LKZZID6J.js +0 -76
|
@@ -4,6 +4,9 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
renderInlineText
|
|
6
6
|
} from "./chunk-WGC42WJU.js";
|
|
7
|
+
import {
|
|
8
|
+
COLLAPSE_BAR_HEIGHT
|
|
9
|
+
} from "./chunk-FJ57274M.js";
|
|
7
10
|
import {
|
|
8
11
|
ScaleContext
|
|
9
12
|
} from "./chunk-24YPR5EH.js";
|
|
@@ -17,7 +20,7 @@ import {
|
|
|
17
20
|
} from "./chunk-A4GOY3PE.js";
|
|
18
21
|
import {
|
|
19
22
|
renderIntegratedLegend
|
|
20
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-QT5UMFPE.js";
|
|
21
24
|
import {
|
|
22
25
|
getLegendExtent,
|
|
23
26
|
getMaxLegendReservedHeight
|
|
@@ -36,16 +39,16 @@ import {
|
|
|
36
39
|
isSequenceBlock,
|
|
37
40
|
isSequenceNote,
|
|
38
41
|
isSequenceSection
|
|
39
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-7NSNE52V.js";
|
|
40
43
|
import {
|
|
41
44
|
resolveActiveTagGroup,
|
|
42
45
|
tagAttrKey
|
|
43
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-76LHNLGX.js";
|
|
44
47
|
import {
|
|
45
48
|
fillModeFromOptions,
|
|
46
49
|
legendInlineRequested,
|
|
47
50
|
legendSuppressed
|
|
48
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-M5OOAP65.js";
|
|
49
52
|
import {
|
|
50
53
|
contrastText,
|
|
51
54
|
mix,
|
|
@@ -437,17 +440,6 @@ function summarizeSectionParticipation(messages, msgIndices) {
|
|
|
437
440
|
}
|
|
438
441
|
return summary;
|
|
439
442
|
}
|
|
440
|
-
function collapsedGroupMemberLine(labels, maxWidth, fontSize) {
|
|
441
|
-
if (labels.length === 0) return "";
|
|
442
|
-
const full = labels.join(" \xB7 ");
|
|
443
|
-
if (measureText(full, fontSize) <= maxWidth) return full;
|
|
444
|
-
for (let keep = labels.length - 1; keep >= 1; keep--) {
|
|
445
|
-
const line = `${labels.slice(0, keep).join(" \xB7 ")} +${labels.length - keep}`;
|
|
446
|
-
if (measureText(line, fontSize) <= maxWidth) return line;
|
|
447
|
-
}
|
|
448
|
-
const count = labels.length === 1 ? "1 member" : `${labels.length} members`;
|
|
449
|
-
return measureText(count, fontSize) <= maxWidth ? count : "";
|
|
450
|
-
}
|
|
451
443
|
function sectionMarkRadius(touches) {
|
|
452
444
|
if (touches >= 4) return 6;
|
|
453
445
|
if (touches >= 2) return 4.5;
|
|
@@ -654,6 +646,20 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
654
646
|
const elements = collapsed ? collapsed.elements : parsed.elements;
|
|
655
647
|
const groups = collapsed ? collapsed.groups : parsed.groups;
|
|
656
648
|
const collapsedSections = options?.collapsedSections;
|
|
649
|
+
const autonumber = parsedOptions["autonumber"]?.toLowerCase() === "on";
|
|
650
|
+
const sourceMessageNumberByLine = new Map(
|
|
651
|
+
parsed.messages.map((message, index) => [message.lineNumber, index + 1])
|
|
652
|
+
);
|
|
653
|
+
const displayMessageLabel = (step) => {
|
|
654
|
+
if (!autonumber) return step.label;
|
|
655
|
+
const message = messages[step.messageIndex];
|
|
656
|
+
if (!message) return step.label;
|
|
657
|
+
if (step.type === "return" && !step.label && (step.from !== message.from || step.to !== message.to))
|
|
658
|
+
return "";
|
|
659
|
+
const number = sourceMessageNumberByLine.get(message.lineNumber);
|
|
660
|
+
if (number === void 0) return step.label;
|
|
661
|
+
return step.label ? `${number}. ${step.label}` : String(number);
|
|
662
|
+
};
|
|
657
663
|
const sourceParticipants = collapsed ? collapsed.participants : parsed.participants;
|
|
658
664
|
const participants = applyPositionOverrides(
|
|
659
665
|
applyGroupOrdering(sourceParticipants, groups, messages)
|
|
@@ -775,7 +781,7 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
775
781
|
}
|
|
776
782
|
}
|
|
777
783
|
const allRenderSteps = buildRenderSequence(messages);
|
|
778
|
-
const stepSurvives = (s) => (hiddenMsgIndices.size === 0 || !hiddenMsgIndices.has(s.messageIndex)) && (s.type === "call" || !!s
|
|
784
|
+
const stepSurvives = (s) => (hiddenMsgIndices.size === 0 || !hiddenMsgIndices.has(s.messageIndex)) && (s.type === "call" || !!displayMessageLabel(s));
|
|
779
785
|
const renderSteps = [];
|
|
780
786
|
const allToFiltered = new Array(allRenderSteps.length);
|
|
781
787
|
for (let j = 0; j < allRenderSteps.length; j++) {
|
|
@@ -1014,7 +1020,7 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
1014
1020
|
let fi = 0;
|
|
1015
1021
|
for (let oi = 0; oi < allRenderSteps.length; oi++) {
|
|
1016
1022
|
const step = allRenderSteps[oi];
|
|
1017
|
-
if (!hiddenMsgIndices.has(step.messageIndex) && (step.type === "call" || step
|
|
1023
|
+
if (!hiddenMsgIndices.has(step.messageIndex) && (step.type === "call" || displayMessageLabel(step))) {
|
|
1018
1024
|
originalToFiltered.set(oi, fi);
|
|
1019
1025
|
fi++;
|
|
1020
1026
|
}
|
|
@@ -1059,10 +1065,6 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
1059
1065
|
const GROUP_LABEL_SIZE = 11;
|
|
1060
1066
|
const sGroupLabelSize = ctx.text(GROUP_LABEL_SIZE);
|
|
1061
1067
|
const GROUP_LABEL_WEIGHT = "bold";
|
|
1062
|
-
const GROUP_MEMBER_SIZE = 9;
|
|
1063
|
-
const sGroupMemberSize = ctx.text(GROUP_MEMBER_SIZE);
|
|
1064
|
-
const GROUP_MEMBER_GAP = 3;
|
|
1065
|
-
const GROUP_MEMBER_PADDING_X = 6;
|
|
1066
1068
|
const showTitle = !!title && parsedOptions["no-title"] !== "on";
|
|
1067
1069
|
const titleOffset = showTitle ? sTitleHeight : 0;
|
|
1068
1070
|
const LEGEND_FIXED_GAP = 8;
|
|
@@ -1224,7 +1226,8 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
1224
1226
|
if (step.from === step.to && step.from === rightmostId) {
|
|
1225
1227
|
const selfProj = sActivationWidth + sSelfCallWidth;
|
|
1226
1228
|
let labelProj = 0;
|
|
1227
|
-
|
|
1229
|
+
const label = displayMessageLabel(step);
|
|
1230
|
+
if (label) labelProj = measureText(label, 12) + 15;
|
|
1228
1231
|
rightProjection = Math.max(rightProjection, selfProj + labelProj);
|
|
1229
1232
|
}
|
|
1230
1233
|
}
|
|
@@ -1298,8 +1301,9 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
1298
1301
|
let contentLeft = 0;
|
|
1299
1302
|
let contentRight = svgWidth;
|
|
1300
1303
|
for (const step of renderSteps) {
|
|
1301
|
-
|
|
1302
|
-
|
|
1304
|
+
const displayLabel = displayMessageLabel(step);
|
|
1305
|
+
if (!displayLabel) continue;
|
|
1306
|
+
const labelW = measureText(displayLabel, 12);
|
|
1303
1307
|
if (step.from === step.to) {
|
|
1304
1308
|
const px = participantX.get(step.from);
|
|
1305
1309
|
if (px !== void 0) {
|
|
@@ -1409,6 +1413,9 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
1409
1413
|
const meta = collapsedGroupMeta.get(id);
|
|
1410
1414
|
return meta?.metadata ? getTagColor(meta.metadata[tagKey]) : void 0;
|
|
1411
1415
|
};
|
|
1416
|
+
const hasExpandedGroup = groups.some(
|
|
1417
|
+
(g) => g.participantIds.some((id) => participantX.has(id))
|
|
1418
|
+
);
|
|
1412
1419
|
for (const group of groups) {
|
|
1413
1420
|
if (group.participantIds.length === 0) continue;
|
|
1414
1421
|
const memberXs = group.participantIds.map((id) => participantX.get(id)).filter((x) => x !== void 0);
|
|
@@ -1487,10 +1494,12 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
1487
1494
|
);
|
|
1488
1495
|
if (isCollapsedGroup) {
|
|
1489
1496
|
const meta = collapsedGroupMeta.get(participant.id);
|
|
1490
|
-
const drillColor = effectiveTagColor
|
|
1491
|
-
const drillBarH =
|
|
1497
|
+
const drillColor = effectiveTagColor ?? mix(palette.textMuted, themeBaseBg(palette, isDark), 55);
|
|
1498
|
+
const drillBarH = ctx.structural(COLLAPSE_BAR_HEIGHT);
|
|
1492
1499
|
const boxW = sBoxW;
|
|
1493
|
-
const
|
|
1500
|
+
const padTop = hasExpandedGroup ? GROUP_PADDING_TOP : 0;
|
|
1501
|
+
const padBottom = hasExpandedGroup ? GROUP_PADDING_BOTTOM : 0;
|
|
1502
|
+
const fullH = sBoxH + padTop + padBottom;
|
|
1494
1503
|
const clipId = `clip-drill-group-${participant.id.replace(/[^a-zA-Z0-9-]/g, "-")}`;
|
|
1495
1504
|
const participantG = svg.select(
|
|
1496
1505
|
`.participant[data-participant-id="${participant.id}"]`
|
|
@@ -1501,22 +1510,13 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
1501
1510
|
).attr("cursor", "pointer");
|
|
1502
1511
|
const pFill = effectiveTagColor ? mix(effectiveTagColor, themeBaseBg(palette, isDark), isDark ? 30 : 40) : isDark ? mix(palette.overlay, palette.surface, 50) : mix(palette.bg, palette.surface, 50);
|
|
1503
1512
|
const pStroke = effectiveTagColor || palette.border;
|
|
1504
|
-
participantG.append("rect").attr("x", -boxW / 2).attr("y", -
|
|
1505
|
-
const
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
);
|
|
1510
|
-
const boxMidY = -GROUP_PADDING_TOP + fullH / 2;
|
|
1511
|
-
const nameY = memberLine ? boxMidY - (sGroupMemberSize + GROUP_MEMBER_GAP) / 2 : boxMidY;
|
|
1512
|
-
participantG.append("text").attr("x", 0).attr("y", nameY).attr("text-anchor", "middle").attr("dominant-baseline", "central").attr("fill", palette.text).attr("font-size", sGroupLabelSize).attr("font-weight", GROUP_LABEL_WEIGHT).attr("class", "collapsed-group-label").text(participant.label);
|
|
1513
|
-
if (memberLine) {
|
|
1514
|
-
participantG.append("text").attr("x", 0).attr("y", boxMidY + (sGroupLabelSize + GROUP_MEMBER_GAP) / 2).attr("text-anchor", "middle").attr("dominant-baseline", "central").attr("fill", palette.textMuted).attr("font-size", sGroupMemberSize).attr("class", "collapsed-group-members").text(memberLine);
|
|
1515
|
-
}
|
|
1516
|
-
participantG.append("clipPath").attr("id", clipId).append("rect").attr("x", -boxW / 2).attr("y", -GROUP_PADDING_TOP).attr("width", boxW).attr("height", fullH).attr("rx", 6);
|
|
1517
|
-
participantG.append("rect").attr("class", "sequence-drill-bar").attr("x", -boxW / 2).attr("y", -GROUP_PADDING_TOP + fullH - drillBarH).attr("width", boxW).attr("height", drillBarH).attr("fill", drillColor).attr("clip-path", `url(#${clipId})`);
|
|
1513
|
+
participantG.append("rect").attr("x", -boxW / 2).attr("y", -padTop).attr("width", boxW).attr("height", fullH).attr("rx", 6).attr("fill", pFill).attr("stroke", pStroke).attr("stroke-width", 1.5);
|
|
1514
|
+
const nameY = -padTop + (fullH - drillBarH) / 2;
|
|
1515
|
+
participantG.append("text").attr("x", 0).attr("y", nameY).attr("text-anchor", "middle").attr("dominant-baseline", "central").attr("fill", palette.text).attr("font-size", sLabelFontSize).attr("font-weight", 500).attr("class", "collapsed-group-label").text(truncateText(participant.label, sLabelFontSize, sLabelTextWidth));
|
|
1516
|
+
participantG.append("clipPath").attr("id", clipId).append("rect").attr("x", -boxW / 2).attr("y", -padTop).attr("width", boxW).attr("height", fullH).attr("rx", 6);
|
|
1517
|
+
participantG.append("rect").attr("class", "sequence-drill-bar").attr("x", -boxW / 2).attr("y", -padTop + fullH - drillBarH).attr("width", boxW).attr("height", drillBarH).attr("fill", drillColor).attr("clip-path", `url(#${clipId})`);
|
|
1518
1518
|
}
|
|
1519
|
-
const llY = isCollapsedGroup ? lifelineStartY + GROUP_PADDING_BOTTOM : participant.type === "actor" ? lifelineStartY + ACTOR_LABEL_CLEARANCE : lifelineStartY;
|
|
1519
|
+
const llY = isCollapsedGroup ? lifelineStartY + (hasExpandedGroup ? GROUP_PADDING_BOTTOM : 0) : participant.type === "actor" ? lifelineStartY + ACTOR_LABEL_CLEARANCE : lifelineStartY;
|
|
1520
1520
|
const llColor = effectiveTagColor || palette.textMuted;
|
|
1521
1521
|
for (const [segTop, segBottom] of lifelineSegments(
|
|
1522
1522
|
cx,
|
|
@@ -1830,12 +1830,13 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
1830
1830
|
if (tagKey && msgTagValue) {
|
|
1831
1831
|
selfCallEl.attr(`data-tag-${tagKey}`, msgTagValue.toLowerCase());
|
|
1832
1832
|
}
|
|
1833
|
-
|
|
1833
|
+
const displayLabel = displayMessageLabel(step);
|
|
1834
|
+
if (displayLabel) {
|
|
1834
1835
|
const labelEl = svg.append("text").attr("x", loopX + 5).attr("y", y + sSelfCallHeight / 2 + 4).attr("text-anchor", "start").attr("fill", arrowColor).attr("paint-order", "stroke fill").attr("stroke", palette.bg).attr("stroke-width", 4).attr("stroke-linejoin", "round").attr("font-size", 12).attr("class", "message-label").attr("data-line-number", String(msg.lineNumber)).attr("data-msg-index", String(step.messageIndex)).attr("data-step-index", String(i));
|
|
1835
1836
|
if (tagKey && msgTagValue) {
|
|
1836
1837
|
labelEl.attr(`data-tag-${tagKey}`, msgTagValue.toLowerCase());
|
|
1837
1838
|
}
|
|
1838
|
-
labelEl.text(
|
|
1839
|
+
labelEl.text(displayLabel);
|
|
1839
1840
|
}
|
|
1840
1841
|
} else {
|
|
1841
1842
|
const goingRight = fromX < toX;
|
|
@@ -1847,13 +1848,14 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
1847
1848
|
if (tagKey && msgTagValue) {
|
|
1848
1849
|
arrowEl.attr(`data-tag-${tagKey}`, msgTagValue.toLowerCase());
|
|
1849
1850
|
}
|
|
1850
|
-
|
|
1851
|
+
const displayLabel = displayMessageLabel(step);
|
|
1852
|
+
if (displayLabel) {
|
|
1851
1853
|
const midX = (x1 + x2) / 2;
|
|
1852
1854
|
const labelEl = svg.append("text").attr("x", midX).attr("y", y - 8).attr("text-anchor", "middle").attr("fill", arrowColor).attr("paint-order", "stroke fill").attr("stroke", palette.bg).attr("stroke-width", 4).attr("stroke-linejoin", "round").attr("font-size", 12).attr("class", "message-label").attr("data-line-number", String(msg.lineNumber)).attr("data-msg-index", String(step.messageIndex)).attr("data-step-index", String(i));
|
|
1853
1855
|
if (tagKey && msgTagValue) {
|
|
1854
1856
|
labelEl.attr(`data-tag-${tagKey}`, msgTagValue.toLowerCase());
|
|
1855
1857
|
}
|
|
1856
|
-
labelEl.text(
|
|
1858
|
+
labelEl.text(displayLabel);
|
|
1857
1859
|
}
|
|
1858
1860
|
}
|
|
1859
1861
|
} else {
|
|
@@ -1869,13 +1871,14 @@ function renderSequenceDiagram(container, parsed, palette, isDark, _onNavigateTo
|
|
|
1869
1871
|
if (tagKey && msgTagValue) {
|
|
1870
1872
|
returnEl.attr(`data-tag-${tagKey}`, msgTagValue.toLowerCase());
|
|
1871
1873
|
}
|
|
1872
|
-
|
|
1874
|
+
const displayLabel = displayMessageLabel(step);
|
|
1875
|
+
if (displayLabel) {
|
|
1873
1876
|
const midX = (x1 + x2) / 2;
|
|
1874
1877
|
const labelEl = svg.append("text").attr("x", midX).attr("y", y - 6).attr("text-anchor", "middle").attr("fill", returnColor).attr("paint-order", "stroke fill").attr("stroke", palette.bg).attr("stroke-width", 4).attr("stroke-linejoin", "round").attr("font-size", 11).attr("class", "message-label").attr("data-line-number", String(msg.lineNumber)).attr("data-msg-index", String(step.messageIndex)).attr("data-step-index", String(i));
|
|
1875
1878
|
if (tagKey && msgTagValue) {
|
|
1876
1879
|
labelEl.attr(`data-tag-${tagKey}`, msgTagValue.toLowerCase());
|
|
1877
1880
|
}
|
|
1878
|
-
labelEl.text(
|
|
1881
|
+
labelEl.text(displayLabel);
|
|
1879
1882
|
}
|
|
1880
1883
|
}
|
|
1881
1884
|
});
|
|
@@ -2062,7 +2065,6 @@ export {
|
|
|
2062
2065
|
applyCollapseProjection,
|
|
2063
2066
|
groupMessagesBySection,
|
|
2064
2067
|
summarizeSectionParticipation,
|
|
2065
|
-
collapsedGroupMemberLine,
|
|
2066
2068
|
buildRenderSequence,
|
|
2067
2069
|
computeActivations,
|
|
2068
2070
|
applyPositionOverrides,
|
|
@@ -2070,4 +2072,4 @@ export {
|
|
|
2070
2072
|
renderSequenceDiagram,
|
|
2071
2073
|
buildNoteMessageMap
|
|
2072
2074
|
};
|
|
2073
|
-
//# sourceMappingURL=chunk-
|
|
2075
|
+
//# sourceMappingURL=chunk-GQJ35I2I.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-NOTA6TEI.js";
|
|
9
9
|
import {
|
|
10
10
|
peelQuotedName
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M5OOAP65.js";
|
|
12
12
|
import {
|
|
13
13
|
makeDgmoError
|
|
14
14
|
} from "./chunk-5SI6T5A5.js";
|
|
@@ -787,4 +787,4 @@ export {
|
|
|
787
787
|
resolveTaskName,
|
|
788
788
|
calculateSchedule
|
|
789
789
|
};
|
|
790
|
-
//# sourceMappingURL=chunk-
|
|
790
|
+
//# sourceMappingURL=chunk-GRN44Z6A.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
layoutJourneyMap,
|
|
4
4
|
scoreToColor,
|
|
5
5
|
scoreToCurveY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-F4V67JXG.js";
|
|
7
7
|
import {
|
|
8
8
|
wrapNoteBody
|
|
9
9
|
} from "./chunk-MU3CJPJF.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-RU2HHHYA.js";
|
|
25
25
|
import {
|
|
26
26
|
renderIntegratedLegend
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QT5UMFPE.js";
|
|
28
28
|
import {
|
|
29
29
|
FONT_FAMILY
|
|
30
30
|
} from "./chunk-UTCPNJND.js";
|
|
@@ -35,14 +35,14 @@ import {
|
|
|
35
35
|
} from "./chunk-MTGGOCND.js";
|
|
36
36
|
import {
|
|
37
37
|
parseJourneyMap
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2QRIMMIH.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveActiveTagGroup,
|
|
41
41
|
tagAttrKey
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-76LHNLGX.js";
|
|
43
43
|
import {
|
|
44
44
|
fillModeFromOptions
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-M5OOAP65.js";
|
|
46
46
|
import {
|
|
47
47
|
contrastText,
|
|
48
48
|
mix,
|
|
@@ -877,4 +877,4 @@ export {
|
|
|
877
877
|
renderJourneyMap,
|
|
878
878
|
renderJourneyMapForExport
|
|
879
879
|
};
|
|
880
|
-
//# sourceMappingURL=chunk-
|
|
880
|
+
//# sourceMappingURL=chunk-HFCKU73Y.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryCollectNote
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-76NHL5UG.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveNotes
|
|
6
6
|
} from "./chunk-E6PNTYRK.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tagAttrKey,
|
|
21
21
|
validateTagGroupNames,
|
|
22
22
|
validateTagValues
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-76LHNLGX.js";
|
|
24
24
|
import {
|
|
25
25
|
AliasRegistry,
|
|
26
26
|
ER_REGISTRY,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
tryParseSharedOption,
|
|
35
35
|
warnUnknownMetaKeys,
|
|
36
36
|
withTagAliases
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-M5OOAP65.js";
|
|
38
38
|
import {
|
|
39
39
|
resolveColorWithDiagnostic
|
|
40
40
|
} from "./chunk-XOGQY4EC.js";
|
|
@@ -559,4 +559,4 @@ export {
|
|
|
559
559
|
looksLikeERDiagram,
|
|
560
560
|
extractSymbols
|
|
561
561
|
};
|
|
562
|
-
//# sourceMappingURL=chunk-
|
|
562
|
+
//# sourceMappingURL=chunk-ICVIJLBA.js.map
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
matchTagBlockHeading,
|
|
10
10
|
stripDefaultModifier,
|
|
11
11
|
tagAttrKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-76LHNLGX.js";
|
|
13
13
|
import {
|
|
14
14
|
extractColor,
|
|
15
15
|
fillModeFromToken,
|
|
16
16
|
measureIndent,
|
|
17
17
|
parseFirstLine
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-M5OOAP65.js";
|
|
19
19
|
import {
|
|
20
20
|
emit
|
|
21
21
|
} from "./chunk-5SI6T5A5.js";
|
|
@@ -264,4 +264,4 @@ export {
|
|
|
264
264
|
parseBody,
|
|
265
265
|
extractSymbols
|
|
266
266
|
};
|
|
267
|
-
//# sourceMappingURL=chunk-
|
|
267
|
+
//# sourceMappingURL=chunk-JLODGGN2.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-MTGGOCND.js";
|
|
22
22
|
import {
|
|
23
23
|
fillModeFromOptions
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-M5OOAP65.js";
|
|
25
25
|
import {
|
|
26
26
|
contrastText,
|
|
27
27
|
getSeriesColors,
|
|
@@ -296,4 +296,4 @@ export {
|
|
|
296
296
|
renderRing,
|
|
297
297
|
renderRingForExport
|
|
298
298
|
};
|
|
299
|
-
//# sourceMappingURL=chunk-
|
|
299
|
+
//# sourceMappingURL=chunk-JSYAH7KR.js.map
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-A4GOY3PE.js";
|
|
30
30
|
import {
|
|
31
31
|
renderIntegratedLegend
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-QT5UMFPE.js";
|
|
33
33
|
import {
|
|
34
34
|
getLegendExtent
|
|
35
35
|
} from "./chunk-4SXHMFFP.js";
|
|
@@ -44,12 +44,12 @@ import {
|
|
|
44
44
|
} from "./chunk-MTGGOCND.js";
|
|
45
45
|
import {
|
|
46
46
|
parseClassDiagram
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-SUA56ZSB.js";
|
|
48
48
|
import {
|
|
49
49
|
fillModeFromOptions,
|
|
50
50
|
legendInlineRequested,
|
|
51
51
|
legendSuppressed
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-M5OOAP65.js";
|
|
53
53
|
import {
|
|
54
54
|
contrastText,
|
|
55
55
|
shapeFill
|
|
@@ -448,4 +448,4 @@ export {
|
|
|
448
448
|
renderClassDiagram,
|
|
449
449
|
renderClassDiagramForExport
|
|
450
450
|
};
|
|
451
|
-
//# sourceMappingURL=chunk-
|
|
451
|
+
//# sourceMappingURL=chunk-KR432TCU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryCollectNote
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-76NHL5UG.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveNotes
|
|
6
6
|
} from "./chunk-E6PNTYRK.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tagAttrKey,
|
|
21
21
|
validateTagGroupNames,
|
|
22
22
|
validateTagValues
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-76LHNLGX.js";
|
|
24
24
|
import {
|
|
25
25
|
AliasRegistry,
|
|
26
26
|
BOXES_AND_LINES_REGISTRY,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
tryParseSharedOption,
|
|
34
34
|
warnUnknownMetaKeys,
|
|
35
35
|
withTagAliases
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-M5OOAP65.js";
|
|
37
37
|
import {
|
|
38
38
|
makeDgmoError,
|
|
39
39
|
suggest
|
|
@@ -859,4 +859,4 @@ export {
|
|
|
859
859
|
looksLikeBoxesAndLines,
|
|
860
860
|
parseBoxesAndLines
|
|
861
861
|
};
|
|
862
|
-
//# sourceMappingURL=chunk-
|
|
862
|
+
//# sourceMappingURL=chunk-KRTLS3G6.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
normalizeNumericToken,
|
|
6
6
|
parseFirstLine,
|
|
7
7
|
tryParseSharedOption
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-M5OOAP65.js";
|
|
9
9
|
import {
|
|
10
10
|
makeDgmoError,
|
|
11
11
|
makeFail
|
|
@@ -158,4 +158,4 @@ function parseGoal(content, palette) {
|
|
|
158
158
|
export {
|
|
159
159
|
parseGoal
|
|
160
160
|
};
|
|
161
|
-
//# sourceMappingURL=chunk-
|
|
161
|
+
//# sourceMappingURL=chunk-KWSBNLSC.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-A4GOY3PE.js";
|
|
12
12
|
import {
|
|
13
13
|
renderIntegratedLegend
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QT5UMFPE.js";
|
|
15
15
|
import {
|
|
16
16
|
getLegendExtent,
|
|
17
17
|
getMaxLegendReservedHeight
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
resolveTagColor,
|
|
30
30
|
tagAttrKey
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-76LHNLGX.js";
|
|
32
32
|
import {
|
|
33
33
|
contrastText,
|
|
34
34
|
getSeriesColors,
|
|
@@ -1001,4 +1001,4 @@ export {
|
|
|
1001
1001
|
renderBracket,
|
|
1002
1002
|
renderBracketForExport
|
|
1003
1003
|
};
|
|
1004
|
-
//# sourceMappingURL=chunk-
|
|
1004
|
+
//# sourceMappingURL=chunk-L2EA5YLO.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
splitNameAndMeta,
|
|
6
6
|
tryParseSharedOption,
|
|
7
7
|
warnUnknownMetaKeys
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-M5OOAP65.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-
|
|
130
|
+
//# sourceMappingURL=chunk-LKS56RDT.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-A4GOY3PE.js";
|
|
17
17
|
import {
|
|
18
18
|
renderIntegratedLegend
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QT5UMFPE.js";
|
|
20
20
|
import {
|
|
21
21
|
controlsGroupCapsuleWidth,
|
|
22
22
|
getLegendExtent,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
resolveActiveTagGroup,
|
|
53
53
|
resolveTagColor,
|
|
54
54
|
tagAttrKey
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-76LHNLGX.js";
|
|
56
56
|
import {
|
|
57
57
|
contrastText,
|
|
58
58
|
getSeriesColors,
|
|
@@ -2152,4 +2152,4 @@ export {
|
|
|
2152
2152
|
renderGantt,
|
|
2153
2153
|
buildTagLaneRowList
|
|
2154
2154
|
};
|
|
2155
|
-
//# sourceMappingURL=chunk-
|
|
2155
|
+
//# sourceMappingURL=chunk-LSHMDQZQ.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
tagAttrKey,
|
|
14
14
|
validateTagGroupNames,
|
|
15
15
|
validateTagValues
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-76LHNLGX.js";
|
|
17
17
|
import {
|
|
18
18
|
ALL_CHART_TYPES,
|
|
19
19
|
AliasRegistry,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
tryParseSharedOption,
|
|
28
28
|
warnUnknownMetaKeys,
|
|
29
29
|
withTagAliases
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-M5OOAP65.js";
|
|
31
31
|
import {
|
|
32
32
|
formatDgmoError,
|
|
33
33
|
makeDgmoError,
|
|
@@ -527,4 +527,4 @@ export {
|
|
|
527
527
|
looksLikeSitemap,
|
|
528
528
|
parseSitemap
|
|
529
529
|
};
|
|
530
|
-
//# sourceMappingURL=chunk-
|
|
530
|
+
//# sourceMappingURL=chunk-LXXVHLTH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MONO_FAMILY
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XCAEHWQB.js";
|
|
4
4
|
import {
|
|
5
5
|
FONT_FAMILY
|
|
6
6
|
} from "./chunk-UTCPNJND.js";
|
|
@@ -62,4 +62,4 @@ function escapeXml(s) {
|
|
|
62
62
|
export {
|
|
63
63
|
renderLiveLinkCard
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=chunk-
|
|
65
|
+
//# sourceMappingURL=chunk-LYLRNAX2.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
normalizeNumericToken,
|
|
14
14
|
parseFirstLine,
|
|
15
15
|
parseSeriesNames
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-M5OOAP65.js";
|
|
17
17
|
import {
|
|
18
18
|
RECOGNIZED_COLOR_NAMES,
|
|
19
19
|
resolveColorWithDiagnostic
|
|
@@ -1208,4 +1208,4 @@ export {
|
|
|
1208
1208
|
getSimpleChartLegendGroups,
|
|
1209
1209
|
getExtendedChartLegendGroups
|
|
1210
1210
|
};
|
|
1211
|
-
//# sourceMappingURL=chunk-
|
|
1211
|
+
//# sourceMappingURL=chunk-M526IKKH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryCollectNote
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-76NHL5UG.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveNotes
|
|
6
6
|
} from "./chunk-E6PNTYRK.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
tagAttrKey,
|
|
20
20
|
validateTagGroupNames,
|
|
21
21
|
validateTagValues
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-76LHNLGX.js";
|
|
23
23
|
import {
|
|
24
24
|
ALL_CHART_TYPES,
|
|
25
25
|
FILL_FAMILY_TOKENS,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
parseMetadataRegion,
|
|
33
33
|
tryParseSharedOption,
|
|
34
34
|
withTagAliases
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-M5OOAP65.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveColorWithDiagnostic
|
|
38
38
|
} from "./chunk-XOGQY4EC.js";
|
|
@@ -543,4 +543,4 @@ export {
|
|
|
543
543
|
parseState,
|
|
544
544
|
looksLikeState
|
|
545
545
|
};
|
|
546
|
-
//# sourceMappingURL=chunk-
|
|
546
|
+
//# sourceMappingURL=chunk-M5JT2AU7.js.map
|
|
@@ -229,6 +229,7 @@ var DIRECTIVES_REGISTRY = [
|
|
|
229
229
|
// ── Sequence ─────────────────────────────────────────────
|
|
230
230
|
{ token: "activations", category: "directive" },
|
|
231
231
|
{ token: "no-activations", category: "directive" },
|
|
232
|
+
{ token: "autonumber", category: "directive" },
|
|
232
233
|
// ── Map element leaders (not in DIRECTIVE_SET) ───────────
|
|
233
234
|
{ token: "poi", category: "directive" },
|
|
234
235
|
{ token: "route", category: "directive" },
|
|
@@ -1227,9 +1228,9 @@ function normalizeNumericToken(token) {
|
|
|
1227
1228
|
}
|
|
1228
1229
|
if (!unsigned) return null;
|
|
1229
1230
|
if (unsigned.includes(",")) {
|
|
1230
|
-
if (/^\d
|
|
1231
|
+
if (/^\d+(,\d{3})+$/.test(unsigned))
|
|
1231
1232
|
return sign + unsigned.replace(/,/g, "");
|
|
1232
|
-
if (/^\d
|
|
1233
|
+
if (/^\d+(,\d{3})+\.\d+$/.test(unsigned))
|
|
1233
1234
|
return sign + unsigned.replace(/,/g, "");
|
|
1234
1235
|
return null;
|
|
1235
1236
|
}
|
|
@@ -1649,4 +1650,4 @@ export {
|
|
|
1649
1650
|
splitNameAndMeta,
|
|
1650
1651
|
warnUnknownMetaKeys
|
|
1651
1652
|
};
|
|
1652
|
-
//# sourceMappingURL=chunk-
|
|
1653
|
+
//# sourceMappingURL=chunk-M5OOAP65.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-A4GOY3PE.js";
|
|
9
9
|
import {
|
|
10
10
|
renderIntegratedLegend
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QT5UMFPE.js";
|
|
12
12
|
import {
|
|
13
13
|
getLegendExtent,
|
|
14
14
|
getMaxLegendReservedHeight
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
resolveTagColor,
|
|
30
30
|
tagAttrKey
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-76LHNLGX.js";
|
|
32
32
|
import {
|
|
33
33
|
mix,
|
|
34
34
|
themeBaseBg
|
|
@@ -397,4 +397,4 @@ export {
|
|
|
397
397
|
renderBlock,
|
|
398
398
|
authoredCollapsedIds
|
|
399
399
|
};
|
|
400
|
-
//# sourceMappingURL=chunk-
|
|
400
|
+
//# sourceMappingURL=chunk-MDEG62W7.js.map
|