@diagrammo/dgmo 0.88.0 → 0.89.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/README.md +4 -2
- package/dist/advanced.d.ts +41 -11
- package/dist/advanced.js +107 -105
- package/dist/{analyzer-R5UBTRO2.js → analyzer-7ZGAZIE6.js} +2 -2
- package/dist/block.js +25 -25
- package/dist/{chart-meta-PbgpGwYo.d.ts → chart-meta-Bev5Ebjr.d.ts} +1 -1
- package/dist/chart-meta.d.ts +2 -2
- package/dist/chart-meta.js +11 -11
- package/dist/{chart-types-Db_EGf1o.d.ts → chart-types-Bf8C5QQW.d.ts} +1 -1
- package/dist/{charts-d3-3BZRSZV6.js → charts-d3-KEQSUWKP.js} +10 -10
- package/dist/{chunk-LJFXC3IP.js → chunk-2GM7N5TV.js} +10 -10
- package/dist/{chunk-H2GEIFUF.js → chunk-3AQJNY65.js} +8 -8
- package/dist/{chunk-WXPBP4IT.js → chunk-44FTCIRI.js} +9 -9
- package/dist/{chunk-WZ23JJ7U.js → chunk-4AJKOUBO.js} +11 -11
- package/dist/{chunk-YK4N6TBN.js → chunk-4R6OMKXB.js} +7 -7
- package/dist/{chunk-HEYGGSNQ.js → chunk-5LE2CTLS.js} +2 -2
- package/dist/{chunk-MVCPO6LI.js → chunk-7C2RAGPT.js} +31 -21
- package/dist/{chunk-VJ2KROJ5.js → chunk-7KPHRTND.js} +1 -1
- package/dist/{chunk-LHL6HDUL.js → chunk-7SX4IY6T.js} +84 -12
- package/dist/{chunk-LSQGJN5H.js → chunk-7W4XLIVH.js} +15 -15
- package/dist/{chunk-XUDGZJTJ.js → chunk-AZ24RI5L.js} +6 -6
- package/dist/{chunk-UMRZPRAN.js → chunk-BB6QKWHZ.js} +15 -15
- package/dist/{chunk-6I5UN4FD.js → chunk-C4FRGZGX.js} +4 -4
- package/dist/{chunk-3DOQOXXI.js → chunk-CNUN5GO6.js} +1 -1
- package/dist/{chunk-5KGM44TG.js → chunk-CX6OH5WP.js} +1 -1
- package/dist/{chunk-D4M25W6R.js → chunk-DDPGEGHB.js} +5 -5
- package/dist/{chunk-B7CU2HW5.js → chunk-DZPHN2WN.js} +9 -9
- package/dist/{chunk-O6MMQQLF.js → chunk-ECMA6XE2.js} +10 -10
- package/dist/{chunk-MGBV4JEI.js → chunk-EDXGEQW3.js} +1 -1
- package/dist/{chunk-5LD7SHXO.js → chunk-EXKCRXPO.js} +9 -9
- package/dist/{chunk-HTPZDZKQ.js → chunk-FKLE6QA3.js} +13 -13
- package/dist/{chunk-ERNCPKD4.js → chunk-G2KHLANR.js} +1 -1
- package/dist/{chunk-NJIGYGZS.js → chunk-HAMF4F3P.js} +12 -7
- package/dist/{chunk-UY6TEJJH.js → chunk-HJRP6PXL.js} +1 -1
- package/dist/{chunk-LNO3ASX5.js → chunk-HUNDJTTH.js} +1 -1
- package/dist/{chunk-RH2PROYG.js → chunk-I6GGMCTV.js} +4 -2
- package/dist/{chunk-DOXBS7F5.js → chunk-ID2K3IHI.js} +4 -4
- package/dist/{chunk-33FQ6HNV.js → chunk-IQ6P3HDE.js} +9 -9
- package/dist/{chunk-BAZT6CIF.js → chunk-ITSBBQTH.js} +7 -7
- package/dist/{chunk-UNNJCSSQ.js → chunk-JVZ7KFAX.js} +1 -1
- package/dist/{chunk-AQIBKTPG.js → chunk-K5XT7NHD.js} +3 -3
- package/dist/{chunk-HAH5X345.js → chunk-KATED53P.js} +1 -1
- package/dist/{chunk-7HWY4QAJ.js → chunk-L24LESXF.js} +1 -0
- package/dist/{chunk-VPASQOR3.js → chunk-LFKSHDVI.js} +1 -1
- package/dist/{chunk-XVSJYAK7.js → chunk-LPYYZCSI.js} +2 -2
- package/dist/{chunk-BV6PKJUS.js → chunk-LR6RRDWN.js} +5 -5
- package/dist/{chunk-DAX42XVH.js → chunk-LYLNMN77.js} +8 -8
- package/dist/{chunk-VW52W5F6.js → chunk-M2BCY7H3.js} +101 -84
- package/dist/{chunk-A4XPI4YN.js → chunk-MFW6P7WH.js} +27 -0
- package/dist/{chunk-CFBY77QJ.js → chunk-N4BBSDWI.js} +9 -9
- package/dist/{chunk-IDJGV6VM.js → chunk-NIUO2TNR.js} +215 -1
- package/dist/{chunk-PLE2432T.js → chunk-NRPELUB6.js} +2 -2
- package/dist/{chunk-FM3WAVB6.js → chunk-NS7L7YKH.js} +1 -1
- package/dist/{chunk-YMG7JDEY.js → chunk-NSR2CGV6.js} +71 -24
- package/dist/{chunk-LD2JSKU3.js → chunk-OOCVGX4W.js} +15 -0
- package/dist/{chunk-N4XHXBDQ.js → chunk-PMNITNPR.js} +4 -4
- package/dist/{chunk-MSXRNVHB.js → chunk-Q6SQISHT.js} +12 -11
- package/dist/{chunk-UNAP6O26.js → chunk-QIOYTQDZ.js} +9 -9
- package/dist/{chunk-BT2WH2XT.js → chunk-RGWYZR3S.js} +1 -1
- package/dist/{chunk-PPH6ILHL.js → chunk-RPKBWJBB.js} +4 -4
- package/dist/{chunk-JD4RHBNX.js → chunk-RXIKESRI.js} +7 -7
- package/dist/{chunk-BMUWF77V.js → chunk-S2WE7TVK.js} +4 -4
- package/dist/{chunk-QFIXL3OK.js → chunk-SEKNYIMO.js} +1 -1
- package/dist/{chunk-FPXMCGS5.js → chunk-SLQT3JP3.js} +1 -1
- package/dist/{chunk-LL6D3MES.js → chunk-SOPM5PLO.js} +9 -9
- package/dist/{chunk-J7Q4VPBJ.js → chunk-TAP2NZEU.js} +22 -16
- package/dist/{chunk-RE6TVIAV.js → chunk-UKJLPA7R.js} +4 -4
- package/dist/{chunk-RGI64U3A.js → chunk-UQLHKLF4.js} +9 -9
- package/dist/{chunk-JLETTWUJ.js → chunk-UWKRPQZO.js} +49 -23
- package/dist/{chunk-XIFK423U.js → chunk-W7QN5BC5.js} +4 -4
- package/dist/{chunk-XWYR5T52.js → chunk-WEF6MXFG.js} +14 -14
- package/dist/{chunk-P5V63L35.js → chunk-WP22MHH6.js} +17 -17
- package/dist/{chunk-PUVTFUNH.js → chunk-WRCAH3UO.js} +18 -18
- package/dist/{chunk-N7XRBWXA.js → chunk-XJ2TBXHA.js} +10 -10
- package/dist/{chunk-DSG6GBUQ.js → chunk-XUCQVKLQ.js} +6 -6
- package/dist/{chunk-NZCSVD4M.js → chunk-Y7PSAHAY.js} +8 -8
- package/dist/{chunk-AAMCXQPP.js → chunk-YMFQLWZ2.js} +6 -6
- package/dist/completion-registry.d.ts +1 -1
- package/dist/completion-registry.js +4 -16
- package/dist/countdown.js +1 -1
- package/dist/{dgmo-router-F2DSURTR.js → dgmo-router-7WANZOBD.js} +11 -11
- package/dist/{dimensions-6QAWEGIR.js → dimensions-7MF7VSGS.js} +6 -6
- package/dist/{flowchart-renderer-THC6Y7EH.js → flowchart-renderer-DZQZRL2F.js} +6 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +27 -27
- package/dist/{layout-P6DTD4RT.js → layout-4RRC7XU7.js} +2 -2
- package/dist/{layout-QX5T6ZNE.js → layout-6L3BIFEZ.js} +4 -4
- package/dist/{layout-SOPAVXIH.js → layout-DXVAYF6W.js} +3 -3
- package/dist/{layout-LUQKAGGT.js → layout-EFEZ533S.js} +4 -4
- package/dist/{layout-EHTYSMV4.js → layout-H4K54IW3.js} +2 -2
- package/dist/{layout-AM57TGN5.js → layout-IGAVGDME.js} +3 -3
- package/dist/{layout-5NPBHV5F.js → layout-PP36LUTA.js} +2 -2
- package/dist/{layout-CUFA7XJD.js → layout-Q3RYSODA.js} +4 -4
- package/dist/layout-XUW444O5.js +1 -1
- package/dist/{layout-BOVTLAOT.js → layout-ZP7XYVXF.js} +2 -2
- package/dist/{layout-search-VKSBUCDM.js → layout-search-YKUL4VBV.js} +105 -6
- package/dist/{legend-constants-ZVO4FLAK.js → legend-constants-HE7FVDJP.js} +4 -2
- package/dist/{palettes-BIV54XLS.js → palettes-WZAIQTEG.js} +6 -4
- package/dist/{parser-ACW6C6OY.js → parser-337TACHB.js} +1 -1
- package/dist/{parser-WUK6CP5X.js → parser-GCCWMBTU.js} +3 -3
- package/dist/{parser-GPW4ZHPQ.js → parser-IMM2JJX3.js} +2 -1
- package/dist/{parser-JXS4426S.js → parser-P4TOQYNN.js} +2 -2
- package/dist/{parser-PVIWHVGY.js → parser-TL3JA4RI.js} +1 -1
- package/dist/{parser-C327BBE3.js → parser-UTXFJG4X.js} +1 -1
- package/dist/{renderer-RWJ45DWH.js → renderer-2ZQ6DPVD.js} +3 -3
- package/dist/{renderer-NHPKNNBD.js → renderer-3AD4NDF5.js} +9 -9
- package/dist/{renderer-2KVQGGTT.js → renderer-43ESBXVY.js} +8 -8
- package/dist/{renderer-A4LMOBZL.js → renderer-4JE5ORRO.js} +12 -12
- package/dist/{renderer-RAATRF6W.js → renderer-5GZNGZU5.js} +7 -7
- package/dist/{renderer-RMGN3Q7D.js → renderer-6OQM32X3.js} +3 -3
- package/dist/{renderer-222OTVQV.js → renderer-7HOSI6JJ.js} +4 -4
- package/dist/{renderer-RNCYODNF.js → renderer-7L7J4DHO.js} +8 -8
- package/dist/{renderer-DCFQDBGJ.js → renderer-7MCC6GKH.js} +2 -2
- package/dist/{renderer-3FF4QVGW.js → renderer-7VQOKAII.js} +8 -8
- package/dist/{renderer-4BHOELCE.js → renderer-BLHN3RCY.js} +3 -3
- package/dist/{renderer-PQYO2HCE.js → renderer-CEIX5JPA.js} +3 -3
- package/dist/{renderer-2OOPQ4CH.js → renderer-CHQZES6G.js} +3 -3
- package/dist/{renderer-36JH4OMC.js → renderer-DBNDLKPE.js} +9 -9
- package/dist/{renderer-KVAQE7PQ.js → renderer-DCJ4AQ3N.js} +7 -7
- package/dist/{renderer-LODEVN3V.js → renderer-EAORWLVK.js} +10 -10
- package/dist/{renderer-XRALFCIN.js → renderer-FCXRDYSJ.js} +8 -8
- package/dist/{renderer-YDAVCRTP.js → renderer-IR5GGAPB.js} +8 -8
- package/dist/{renderer-QM23SWAM.js → renderer-J4OS77PK.js} +2 -2
- package/dist/{renderer-4BIMRO4X.js → renderer-JR2XNZAH.js} +6 -6
- package/dist/{renderer-JKV2DBYP.js → renderer-JRVY7HAD.js} +6 -6
- package/dist/{renderer-R34GJL7U.js → renderer-NAA7D33G.js} +11 -11
- package/dist/{renderer-SDUSBCJI.js → renderer-P4XCRNCY.js} +7 -7
- package/dist/{renderer-A6ACVK4X.js → renderer-QQHQY3GT.js} +6 -6
- package/dist/{renderer-YIZ7G4HU.js → renderer-TJJGFQGT.js} +13 -13
- package/dist/{renderer-TPOZOAXR.js → renderer-VGQMJC5K.js} +12 -12
- package/dist/{renderer-XUPLAO4B.js → renderer-VYWCMRWA.js} +7 -7
- package/dist/{renderer-WH2HWE5Z.js → renderer-WB75JME5.js} +8 -8
- package/dist/{renderer-BICLPGAH.js → renderer-WQ654YT5.js} +2 -2
- package/dist/{renderer-6BUUTWVS.js → renderer-XFEZ5UBE.js} +8 -8
- package/dist/{renderer-4NZZ5J2F.js → renderer-XHEMXBQM.js} +7 -7
- package/dist/{renderer-RENDISO5.js → renderer-YTEZK3GC.js} +12 -12
- package/dist/{renderer-X5A5VIRD.js → renderer-ZXQXRNDR.js} +8 -8
- package/dist/{renderer-radial-XZ5TKUT4.js → renderer-radial-NA5DVBG4.js} +7 -7
- package/dist/{state-renderer-5IQ4OJUI.js → state-renderer-4S2C2CHB.js} +9 -9
- package/docs/ai-integration.md +5 -3
- package/docs/language-reference.md +2 -2
- package/package.json +1 -1
- package/dist/{chunk-3TYUXC7D.js → chunk-2SKMEL7V.js} +0 -0
- package/dist/{chunk-CLQIXD2C.js → chunk-7Z2VFRP5.js} +3 -3
- package/dist/{chunk-NF5YKFRH.js → chunk-B3S76BZO.js} +0 -0
- package/dist/{chunk-UIUXIDBX.js → chunk-CUYHST3B.js} +4 -4
- package/dist/{chunk-GUYVKGFN.js → chunk-DPSMX4EY.js} +0 -0
- package/dist/{chunk-2A4DQAXG.js → chunk-IIOLFAGJ.js} +3 -3
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
} from "./chunk-44GP7PD5.js";
|
|
36
36
|
import {
|
|
37
37
|
getSeriesColors
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-L24LESXF.js";
|
|
39
39
|
import {
|
|
40
40
|
formatDgmoError,
|
|
41
41
|
makeDgmoError
|
|
@@ -267,7 +267,7 @@ function parseGantt(content, palette) {
|
|
|
267
267
|
inHolidaysBlock = false;
|
|
268
268
|
} else {
|
|
269
269
|
const rangeMatch = leadingRange(line);
|
|
270
|
-
if (rangeMatch
|
|
270
|
+
if (rangeMatch?.rest.trim()) {
|
|
271
271
|
holidays.ranges.push({
|
|
272
272
|
startDate: rangeMatch.start,
|
|
273
273
|
endDate: rangeMatch.end,
|
|
@@ -312,7 +312,7 @@ function parseGantt(content, palette) {
|
|
|
312
312
|
} else {
|
|
313
313
|
if (COMMENT_RE.test(line)) continue;
|
|
314
314
|
const eraEntryMatch = leadingRange(line);
|
|
315
|
-
if (eraEntryMatch
|
|
315
|
+
if (eraEntryMatch?.rest.trim()) {
|
|
316
316
|
const eraLabelRaw = eraEntryMatch.rest.trim();
|
|
317
317
|
const eraExtracted = extractColor(
|
|
318
318
|
eraLabelRaw,
|
|
@@ -344,7 +344,7 @@ function parseGantt(content, palette) {
|
|
|
344
344
|
} else {
|
|
345
345
|
if (COMMENT_RE.test(line)) continue;
|
|
346
346
|
const markerEntryMatch = leadingDate(line);
|
|
347
|
-
if (markerEntryMatch
|
|
347
|
+
if (markerEntryMatch?.rest.trim()) {
|
|
348
348
|
const markerLabelRaw = markerEntryMatch.rest.trim();
|
|
349
349
|
const markerExtracted = extractColor(
|
|
350
350
|
markerLabelRaw,
|
|
@@ -673,7 +673,7 @@ function parseGantt(content, palette) {
|
|
|
673
673
|
const eraInlinePrefix = line.match(/^era\s+(.+)$/i);
|
|
674
674
|
if (eraInlinePrefix) {
|
|
675
675
|
const eraMatch = leadingRange(eraInlinePrefix[1]);
|
|
676
|
-
if (eraMatch
|
|
676
|
+
if (eraMatch?.rest.trim()) {
|
|
677
677
|
const eraLabelRaw = eraMatch.rest.trim();
|
|
678
678
|
const eraExtracted = extractColor(
|
|
679
679
|
eraLabelRaw,
|
|
@@ -699,7 +699,7 @@ function parseGantt(content, palette) {
|
|
|
699
699
|
const markerInlinePrefix = line.match(/^marker\s+(.+)$/i);
|
|
700
700
|
if (markerInlinePrefix) {
|
|
701
701
|
const markerMatch = leadingDate(markerInlinePrefix[1]);
|
|
702
|
-
if (markerMatch
|
|
702
|
+
if (markerMatch?.rest.trim()) {
|
|
703
703
|
const markerLabelRaw = markerMatch.rest.trim();
|
|
704
704
|
const markerExtracted = extractColor(
|
|
705
705
|
markerLabelRaw,
|
|
@@ -830,7 +830,7 @@ function parseGantt(content, palette) {
|
|
|
830
830
|
}
|
|
831
831
|
continue;
|
|
832
832
|
}
|
|
833
|
-
if (bareKeyword
|
|
833
|
+
if (bareKeyword?.[1].toLowerCase().startsWith("no-")) {
|
|
834
834
|
const base = bareKeyword[1].toLowerCase().substring(3);
|
|
835
835
|
if (KNOWN_BOOLEANS.has(base)) {
|
|
836
836
|
result.options.optionLineNumbers[base] = lineNumber;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
looksLikePert
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JVZ7KFAX.js";
|
|
4
4
|
import {
|
|
5
5
|
isLiveLinkLine
|
|
6
6
|
} from "./chunk-7WGCQE2E.js";
|
|
7
7
|
import {
|
|
8
8
|
looksLikeSequence
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LFKSHDVI.js";
|
|
10
10
|
import {
|
|
11
11
|
looksLikeFlowchart
|
|
12
12
|
} from "./chunk-JRUEIRJB.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-AYOVY75O.js";
|
|
16
16
|
import {
|
|
17
17
|
looksLikeClassDiagram
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MFW6P7WH.js";
|
|
19
19
|
import {
|
|
20
20
|
looksLikeERDiagram
|
|
21
21
|
} from "./chunk-WPL5PFXE.js";
|
|
@@ -475,7 +475,7 @@ function parseSequenceDgmo(content, palette) {
|
|
|
475
475
|
}
|
|
476
476
|
if (trimmed.startsWith("[")) {
|
|
477
477
|
const fallbackMatch = trimmed.match(GROUP_HEADING_FALLBACK);
|
|
478
|
-
if (fallbackMatch
|
|
478
|
+
if (fallbackMatch?.[1].includes("|")) {
|
|
479
479
|
const rawInside = fallbackMatch[1];
|
|
480
480
|
const pipeIdx = rawInside.indexOf("|");
|
|
481
481
|
const cleanName = rawInside.substring(0, pipeIdx).trim().replace(/\([^)]*\)$/, "").trim();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compactNumber
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HUNDJTTH.js";
|
|
4
4
|
import {
|
|
5
5
|
parseInlineMarkdown
|
|
6
6
|
} from "./chunk-S7W75MIM.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
mix,
|
|
19
19
|
shapeFill,
|
|
20
20
|
themeBaseBg
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-L24LESXF.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveColor
|
|
24
24
|
} from "./chunk-2M4IGSCY.js";
|
|
@@ -16,20 +16,20 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
compactNumber,
|
|
18
18
|
computeLegendLayout
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import {
|
|
21
|
-
measureLegendText
|
|
22
|
-
} from "./chunk-RH2PROYG.js";
|
|
19
|
+
} from "./chunk-NS7L7YKH.js";
|
|
23
20
|
import {
|
|
24
21
|
tagAttrKey
|
|
25
22
|
} from "./chunk-L5AFONQU.js";
|
|
23
|
+
import {
|
|
24
|
+
measureLegendText
|
|
25
|
+
} from "./chunk-I6GGMCTV.js";
|
|
26
26
|
import {
|
|
27
27
|
contrastRatio,
|
|
28
28
|
mix,
|
|
29
29
|
politicalTints,
|
|
30
30
|
relativeLuminance,
|
|
31
31
|
valueRampColor
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-L24LESXF.js";
|
|
33
33
|
import {
|
|
34
34
|
resolveColor
|
|
35
35
|
} from "./chunk-2M4IGSCY.js";
|
|
@@ -2,6 +2,13 @@ import {
|
|
|
2
2
|
META_FONT_SIZE,
|
|
3
3
|
META_LINE_HEIGHT
|
|
4
4
|
} from "./chunk-XCKNFFKM.js";
|
|
5
|
+
import {
|
|
6
|
+
UNTAGGED_TAG_COLOR,
|
|
7
|
+
tagAttrKey
|
|
8
|
+
} from "./chunk-L5AFONQU.js";
|
|
9
|
+
import {
|
|
10
|
+
legendSuppressed
|
|
11
|
+
} from "./chunk-44GP7PD5.js";
|
|
5
12
|
import {
|
|
6
13
|
LEGEND_CAPSULE_PAD,
|
|
7
14
|
LEGEND_DOT_R,
|
|
@@ -12,18 +19,11 @@ import {
|
|
|
12
19
|
LEGEND_PILL_FONT_SIZE,
|
|
13
20
|
LEGEND_PILL_PAD,
|
|
14
21
|
measureLegendText
|
|
15
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-I6GGMCTV.js";
|
|
16
23
|
import {
|
|
17
24
|
measureText,
|
|
18
25
|
wrapTextToWidth
|
|
19
26
|
} from "./chunk-KAO7JL4I.js";
|
|
20
|
-
import {
|
|
21
|
-
UNTAGGED_TAG_COLOR,
|
|
22
|
-
tagAttrKey
|
|
23
|
-
} from "./chunk-L5AFONQU.js";
|
|
24
|
-
import {
|
|
25
|
-
legendSuppressed
|
|
26
|
-
} from "./chunk-44GP7PD5.js";
|
|
27
27
|
|
|
28
28
|
// src/c4/layout.ts
|
|
29
29
|
import dagre from "@dagrejs/dagre";
|