@diagrammo/dgmo 0.87.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 +47 -11
- package/dist/advanced.js +110 -106
- package/dist/{analyzer-R5UBTRO2.js → analyzer-7ZGAZIE6.js} +2 -2
- package/dist/block.js +26 -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-44FTCIRI.js +438 -0
- 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-AGO3PFGS.js → chunk-7C2RAGPT.js} +46 -31
- 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-Q2U5635V.js → chunk-ABP5BUD6.js} +9 -430
- 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-FBKPSU3A.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-PJQZWJ5I.js → chunk-M2BCY7H3.js} +1015 -146
- 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-LPXC4I4R.js → chunk-UWKRPQZO.js} +61 -32
- 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 +28 -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-NX4YKWCJ.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-3CTUWCO7.js → renderer-VGQMJC5K.js} +12 -12
- package/dist/{renderer-ELYPDPNF.js → renderer-VYWCMRWA.js} +8 -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
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
noteCanvasShift
|
|
12
12
|
} from "./chunk-6EK55ART.js";
|
|
13
|
+
import {
|
|
14
|
+
resolveNotes
|
|
15
|
+
} from "./chunk-O753JUEZ.js";
|
|
13
16
|
import {
|
|
14
17
|
measureText,
|
|
15
18
|
wrapTextToWidth
|
|
16
19
|
} from "./chunk-KAO7JL4I.js";
|
|
17
|
-
import {
|
|
18
|
-
resolveNotes
|
|
19
|
-
} from "./chunk-O753JUEZ.js";
|
|
20
20
|
|
|
21
21
|
// src/boxes-and-lines/layout.ts
|
|
22
22
|
var MARGIN = 40;
|
|
@@ -107,7 +107,7 @@ function computeNodeSize(node, reserveValueRow) {
|
|
|
107
107
|
return { width: w, height: Math.max(NODE_HEIGHT, totalHeight) };
|
|
108
108
|
}
|
|
109
109
|
async function layoutBoxesAndLines(parsed, collapseInfo, layoutOptions) {
|
|
110
|
-
const { layoutBoxesAndLinesSearch } = await import("./layout-search-
|
|
110
|
+
const { layoutBoxesAndLinesSearch } = await import("./layout-search-YKUL4VBV.js");
|
|
111
111
|
const searchOpts = {
|
|
112
112
|
...layoutOptions?.hideDescriptions !== void 0 && {
|
|
113
113
|
hideDescriptions: layoutOptions.hideDescriptions
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutClassDiagram
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7Z2VFRP5.js";
|
|
4
4
|
import {
|
|
5
5
|
NOTE_BADGE_RADIUS,
|
|
6
6
|
noteConnectorPoints,
|
|
7
7
|
renderNoteBadge,
|
|
8
8
|
renderNoteBox,
|
|
9
9
|
renderNoteConnector
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KATED53P.js";
|
|
11
11
|
import {
|
|
12
12
|
ScaleContext
|
|
13
13
|
} from "./chunk-24YPR5EH.js";
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
extractExportSvg,
|
|
24
24
|
runInExportContainer
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-SEKNYIMO.js";
|
|
26
26
|
import {
|
|
27
27
|
layoutInlineHeader
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CNUN5GO6.js";
|
|
29
29
|
import {
|
|
30
30
|
TITLE_FONT_SIZE,
|
|
31
31
|
TITLE_FONT_WEIGHT,
|
|
@@ -33,31 +33,31 @@ import {
|
|
|
33
33
|
} from "./chunk-VLC6WNRD.js";
|
|
34
34
|
import {
|
|
35
35
|
renderIntegratedLegend
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-7SX4IY6T.js";
|
|
37
37
|
import {
|
|
38
38
|
getLegendExtent
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-NS7L7YKH.js";
|
|
40
40
|
import {
|
|
41
41
|
FONT_FAMILY
|
|
42
42
|
} from "./chunk-ICLB27PZ.js";
|
|
43
|
-
import {
|
|
44
|
-
LEGEND_HEIGHT
|
|
45
|
-
} from "./chunk-RH2PROYG.js";
|
|
46
|
-
import {
|
|
47
|
-
measureText
|
|
48
|
-
} from "./chunk-KAO7JL4I.js";
|
|
49
43
|
import {
|
|
50
44
|
parseClassDiagram
|
|
51
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-MFW6P7WH.js";
|
|
52
46
|
import {
|
|
53
47
|
fillModeFromOptions,
|
|
54
48
|
legendInlineRequested,
|
|
55
49
|
legendSuppressed
|
|
56
50
|
} from "./chunk-44GP7PD5.js";
|
|
51
|
+
import {
|
|
52
|
+
LEGEND_HEIGHT
|
|
53
|
+
} from "./chunk-I6GGMCTV.js";
|
|
54
|
+
import {
|
|
55
|
+
measureText
|
|
56
|
+
} from "./chunk-KAO7JL4I.js";
|
|
57
57
|
import {
|
|
58
58
|
contrastText,
|
|
59
59
|
shapeFill
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-L24LESXF.js";
|
|
61
61
|
|
|
62
62
|
// src/class/renderer.ts
|
|
63
63
|
import * as d3Selection from "d3-selection";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
analyzePert
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EDXGEQW3.js";
|
|
4
4
|
import {
|
|
5
5
|
computeNodeSizing,
|
|
6
6
|
layoutPert
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PMNITNPR.js";
|
|
8
8
|
import {
|
|
9
9
|
ScaleContext
|
|
10
10
|
} from "./chunk-24YPR5EH.js";
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
INLINE_HEADER_PAD,
|
|
28
28
|
layoutInlineHeader
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CNUN5GO6.js";
|
|
30
30
|
import {
|
|
31
31
|
serializeSvg
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-OOCVGX4W.js";
|
|
33
33
|
import {
|
|
34
34
|
CAPTION_BOX_PADDING_X,
|
|
35
35
|
CAPTION_BOX_PADDING_Y,
|
|
@@ -43,44 +43,44 @@ import {
|
|
|
43
43
|
} from "./chunk-VLC6WNRD.js";
|
|
44
44
|
import {
|
|
45
45
|
renderIntegratedLegend
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-7SX4IY6T.js";
|
|
47
47
|
import {
|
|
48
48
|
getLegendExtent
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-NS7L7YKH.js";
|
|
50
50
|
import {
|
|
51
51
|
FONT_FAMILY
|
|
52
52
|
} from "./chunk-ICLB27PZ.js";
|
|
53
|
-
import {
|
|
54
|
-
LEGEND_HEIGHT
|
|
55
|
-
} from "./chunk-RH2PROYG.js";
|
|
56
|
-
import {
|
|
57
|
-
measureText,
|
|
58
|
-
truncateText,
|
|
59
|
-
wrapTextToWidth
|
|
60
|
-
} from "./chunk-KAO7JL4I.js";
|
|
61
53
|
import {
|
|
62
54
|
parsePert
|
|
63
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-JVZ7KFAX.js";
|
|
64
56
|
import {
|
|
65
57
|
addCalendarDays,
|
|
66
58
|
formatDuration,
|
|
67
59
|
formatScheduleValue,
|
|
68
60
|
formatSlackValue,
|
|
69
61
|
formatSprintCell
|
|
70
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-2SKMEL7V.js";
|
|
71
63
|
import {
|
|
72
64
|
UNTAGGED_TAG_COLOR,
|
|
73
65
|
resolveActiveTagGroup,
|
|
74
66
|
resolveGroupTagColor,
|
|
75
67
|
resolveTagColor
|
|
76
68
|
} from "./chunk-L5AFONQU.js";
|
|
69
|
+
import {
|
|
70
|
+
LEGEND_HEIGHT
|
|
71
|
+
} from "./chunk-I6GGMCTV.js";
|
|
72
|
+
import {
|
|
73
|
+
measureText,
|
|
74
|
+
truncateText,
|
|
75
|
+
wrapTextToWidth
|
|
76
|
+
} from "./chunk-KAO7JL4I.js";
|
|
77
77
|
import {
|
|
78
78
|
contrastText,
|
|
79
79
|
groupFill,
|
|
80
80
|
mix,
|
|
81
81
|
shapeFill,
|
|
82
82
|
themeBaseBg
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-L24LESXF.js";
|
|
84
84
|
|
|
85
85
|
// src/pert/renderer.ts
|
|
86
86
|
import * as d3Selection from "d3-selection";
|
|
@@ -28,35 +28,24 @@ import {
|
|
|
28
28
|
} from "./chunk-XCKNFFKM.js";
|
|
29
29
|
import {
|
|
30
30
|
layoutInlineHeader
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-CNUN5GO6.js";
|
|
32
32
|
import {
|
|
33
33
|
serializeSvg
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-OOCVGX4W.js";
|
|
35
35
|
import {
|
|
36
36
|
TITLE_FONT_SIZE,
|
|
37
37
|
TITLE_FONT_WEIGHT
|
|
38
38
|
} from "./chunk-VLC6WNRD.js";
|
|
39
39
|
import {
|
|
40
40
|
renderIntegratedLegend
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-7SX4IY6T.js";
|
|
42
42
|
import {
|
|
43
43
|
getLegendExtent,
|
|
44
44
|
getMaxLegendReservedHeight
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-NS7L7YKH.js";
|
|
46
46
|
import {
|
|
47
47
|
FONT_FAMILY
|
|
48
48
|
} from "./chunk-ICLB27PZ.js";
|
|
49
|
-
import {
|
|
50
|
-
EYE_CLOSED_PATH,
|
|
51
|
-
EYE_OPEN_PATH,
|
|
52
|
-
LEGEND_EYE_GAP,
|
|
53
|
-
LEGEND_EYE_SIZE,
|
|
54
|
-
LEGEND_GROUP_GAP,
|
|
55
|
-
LEGEND_HEIGHT
|
|
56
|
-
} from "./chunk-RH2PROYG.js";
|
|
57
|
-
import {
|
|
58
|
-
measureText
|
|
59
|
-
} from "./chunk-KAO7JL4I.js";
|
|
60
49
|
import {
|
|
61
50
|
preprocessDescriptionLine
|
|
62
51
|
} from "./chunk-IYULMRBE.js";
|
|
@@ -68,12 +57,23 @@ import {
|
|
|
68
57
|
legendInlineRequested,
|
|
69
58
|
legendSuppressed
|
|
70
59
|
} from "./chunk-44GP7PD5.js";
|
|
60
|
+
import {
|
|
61
|
+
EYE_CLOSED_PATH,
|
|
62
|
+
EYE_OPEN_PATH,
|
|
63
|
+
LEGEND_EYE_GAP,
|
|
64
|
+
LEGEND_EYE_SIZE,
|
|
65
|
+
LEGEND_GROUP_GAP,
|
|
66
|
+
LEGEND_HEIGHT
|
|
67
|
+
} from "./chunk-I6GGMCTV.js";
|
|
68
|
+
import {
|
|
69
|
+
measureText
|
|
70
|
+
} from "./chunk-KAO7JL4I.js";
|
|
71
71
|
import {
|
|
72
72
|
contrastText,
|
|
73
73
|
mix,
|
|
74
74
|
shapeFill,
|
|
75
75
|
themeBaseBg
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-L24LESXF.js";
|
|
77
77
|
|
|
78
78
|
// src/sitemap/renderer.ts
|
|
79
79
|
import * as d3Selection from "d3-selection";
|
|
@@ -457,8 +457,8 @@ function renderLegend(parent, legendGroups, palette, isDark, activeTagGroup, fix
|
|
|
457
457
|
}
|
|
458
458
|
async function renderSitemapForExport(content, theme, palette) {
|
|
459
459
|
const { parseSitemap } = await import("./parser-OKB64MMN.js");
|
|
460
|
-
const { layoutSitemap } = await import("./layout-
|
|
461
|
-
const { getPalette, DEFAULT_PALETTE_ID } = await import("./palettes-
|
|
460
|
+
const { layoutSitemap } = await import("./layout-EFEZ533S.js");
|
|
461
|
+
const { getPalette, DEFAULT_PALETTE_ID } = await import("./palettes-WZAIQTEG.js");
|
|
462
462
|
const isDark = theme === "dark";
|
|
463
463
|
const defaultCfg = getPalette(DEFAULT_PALETTE_ID);
|
|
464
464
|
const effectivePalette = palette ?? (isDark ? defaultCfg.dark : defaultCfg.light);
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
layoutJourneyMap,
|
|
4
4
|
scoreToColor,
|
|
5
5
|
scoreToCurveY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ID2K3IHI.js";
|
|
7
7
|
import {
|
|
8
8
|
wrapNoteBody
|
|
9
9
|
} from "./chunk-RJNZHFNG.js";
|
|
@@ -24,21 +24,16 @@ import {
|
|
|
24
24
|
} from "./chunk-XCKNFFKM.js";
|
|
25
25
|
import {
|
|
26
26
|
serializeSvg
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OOCVGX4W.js";
|
|
28
28
|
import {
|
|
29
29
|
renderIntegratedLegend
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-7SX4IY6T.js";
|
|
31
31
|
import {
|
|
32
32
|
FONT_FAMILY
|
|
33
33
|
} from "./chunk-ICLB27PZ.js";
|
|
34
34
|
import {
|
|
35
35
|
parseJourneyMap
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import {
|
|
38
|
-
measureText,
|
|
39
|
-
truncateText,
|
|
40
|
-
wrapTextToWidth
|
|
41
|
-
} from "./chunk-KAO7JL4I.js";
|
|
36
|
+
} from "./chunk-B3S76BZO.js";
|
|
42
37
|
import {
|
|
43
38
|
resolveActiveTagGroup,
|
|
44
39
|
tagAttrKey
|
|
@@ -46,12 +41,17 @@ import {
|
|
|
46
41
|
import {
|
|
47
42
|
fillModeFromOptions
|
|
48
43
|
} from "./chunk-44GP7PD5.js";
|
|
44
|
+
import {
|
|
45
|
+
measureText,
|
|
46
|
+
truncateText,
|
|
47
|
+
wrapTextToWidth
|
|
48
|
+
} from "./chunk-KAO7JL4I.js";
|
|
49
49
|
import {
|
|
50
50
|
contrastText,
|
|
51
51
|
mix,
|
|
52
52
|
shapeFill,
|
|
53
53
|
themeBaseBg
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-L24LESXF.js";
|
|
55
55
|
|
|
56
56
|
// src/journey-map/renderer.ts
|
|
57
57
|
import * as d3 from "d3-selection";
|
|
@@ -18,24 +18,24 @@ import {
|
|
|
18
18
|
} from "./chunk-VLC6WNRD.js";
|
|
19
19
|
import {
|
|
20
20
|
renderIntegratedLegend
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7SX4IY6T.js";
|
|
22
22
|
import {
|
|
23
23
|
FONT_FAMILY
|
|
24
24
|
} from "./chunk-ICLB27PZ.js";
|
|
25
|
+
import {
|
|
26
|
+
fillModeFromOptions
|
|
27
|
+
} from "./chunk-44GP7PD5.js";
|
|
25
28
|
import {
|
|
26
29
|
LEGEND_HEIGHT
|
|
27
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-I6GGMCTV.js";
|
|
28
31
|
import {
|
|
29
32
|
measureText,
|
|
30
33
|
wrapTextToWidth
|
|
31
34
|
} from "./chunk-KAO7JL4I.js";
|
|
32
|
-
import {
|
|
33
|
-
fillModeFromOptions
|
|
34
|
-
} from "./chunk-44GP7PD5.js";
|
|
35
35
|
import {
|
|
36
36
|
contrastText,
|
|
37
37
|
shapeFill
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-L24LESXF.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveColor
|
|
41
41
|
} from "./chunk-2M4IGSCY.js";
|
|
@@ -7,25 +7,25 @@ import {
|
|
|
7
7
|
mutedFill,
|
|
8
8
|
resolveCellColor,
|
|
9
9
|
resolveColorMode
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HUNDJTTH.js";
|
|
11
11
|
import {
|
|
12
12
|
renderIntegratedLegend
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7SX4IY6T.js";
|
|
14
14
|
import {
|
|
15
15
|
getMaxLegendReservedHeight
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NS7L7YKH.js";
|
|
17
17
|
import {
|
|
18
18
|
FONT_FAMILY
|
|
19
19
|
} from "./chunk-ICLB27PZ.js";
|
|
20
|
+
import {
|
|
21
|
+
tagAttrKey
|
|
22
|
+
} from "./chunk-L5AFONQU.js";
|
|
20
23
|
import {
|
|
21
24
|
LEGEND_GROUP_GAP
|
|
22
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-I6GGMCTV.js";
|
|
23
26
|
import {
|
|
24
27
|
measureText
|
|
25
28
|
} from "./chunk-KAO7JL4I.js";
|
|
26
|
-
import {
|
|
27
|
-
tagAttrKey
|
|
28
|
-
} from "./chunk-L5AFONQU.js";
|
|
29
29
|
import {
|
|
30
30
|
contrastRatio,
|
|
31
31
|
contrastText,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
hexToHSL,
|
|
34
34
|
hslToHex,
|
|
35
35
|
relativeLuminance
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-L24LESXF.js";
|
|
37
37
|
|
|
38
38
|
// src/treemap/renderer-radial.ts
|
|
39
39
|
import * as d3Selection from "d3-selection";
|
|
@@ -5,6 +5,11 @@ import {
|
|
|
5
5
|
META_LINE_HEIGHT,
|
|
6
6
|
SEPARATOR_GAP
|
|
7
7
|
} from "./chunk-XCKNFFKM.js";
|
|
8
|
+
import {
|
|
9
|
+
injectDefaultTagMetadata,
|
|
10
|
+
resolveTagColor,
|
|
11
|
+
tagAttrKey
|
|
12
|
+
} from "./chunk-L5AFONQU.js";
|
|
8
13
|
import {
|
|
9
14
|
LEGEND_CAPSULE_PAD,
|
|
10
15
|
LEGEND_DOT_R,
|
|
@@ -18,15 +23,10 @@ import {
|
|
|
18
23
|
LEGEND_PILL_FONT_SIZE,
|
|
19
24
|
LEGEND_PILL_PAD,
|
|
20
25
|
measureLegendText
|
|
21
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-I6GGMCTV.js";
|
|
22
27
|
import {
|
|
23
28
|
measureText
|
|
24
29
|
} from "./chunk-KAO7JL4I.js";
|
|
25
|
-
import {
|
|
26
|
-
injectDefaultTagMetadata,
|
|
27
|
-
resolveTagColor,
|
|
28
|
-
tagAttrKey
|
|
29
|
-
} from "./chunk-L5AFONQU.js";
|
|
30
30
|
|
|
31
31
|
// src/sitemap/layout.ts
|
|
32
32
|
import dagre from "@dagrejs/dagre";
|
|
@@ -25,7 +25,7 @@ interface DirectiveValueSpec {
|
|
|
25
25
|
interface DirectiveSpec {
|
|
26
26
|
directives: Record<string, DirectiveValueSpec>;
|
|
27
27
|
}
|
|
28
|
-
/** Chart-type → directive specifications. Every chart type has at least
|
|
28
|
+
/** Chart-type → directive specifications. Every chart type has at least no-title + legend-inline. */
|
|
29
29
|
declare const COMPLETION_REGISTRY: Map<string, DirectiveSpec>;
|
|
30
30
|
declare const CHART_TYPES: ReadonlyArray<{
|
|
31
31
|
name: string;
|
|
@@ -27,22 +27,6 @@ var BETA_CHART_TYPE_IDS = new Set(
|
|
|
27
27
|
|
|
28
28
|
// src/completion-registry.ts
|
|
29
29
|
var GLOBAL_DIRECTIVES = {
|
|
30
|
-
palette: {
|
|
31
|
-
description: "Color palette name",
|
|
32
|
-
values: [
|
|
33
|
-
"nord",
|
|
34
|
-
"catppuccin",
|
|
35
|
-
"tokyo-night",
|
|
36
|
-
"atlas",
|
|
37
|
-
"blueprint",
|
|
38
|
-
"slate",
|
|
39
|
-
"tidewater"
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
theme: {
|
|
43
|
-
description: "Color theme",
|
|
44
|
-
values: ["light", "dark", "transparent"]
|
|
45
|
-
},
|
|
46
30
|
"no-title": {
|
|
47
31
|
description: "Hide the diagram title"
|
|
48
32
|
},
|
|
@@ -1287,6 +1271,10 @@ var METADATA_KEY_SET = /* @__PURE__ */ new Set([
|
|
|
1287
1271
|
// by completion (the §1.9 booleans are canonical) but still parse-accepted,
|
|
1288
1272
|
// so extractors must keep skipping it as a directive line.
|
|
1289
1273
|
"direction",
|
|
1274
|
+
// No longer offered (#1036) but still read by raci and wireframe, and still
|
|
1275
|
+
// in existing files, so extractors keep skipping them as directive lines.
|
|
1276
|
+
"palette",
|
|
1277
|
+
"theme",
|
|
1290
1278
|
...[...COMPLETION_REGISTRY.values()].flatMap(
|
|
1291
1279
|
(spec) => Object.keys(spec.directives)
|
|
1292
1280
|
)
|
package/dist/countdown.js
CHANGED
|
@@ -580,7 +580,7 @@ function updateNode(node, now2) {
|
|
|
580
580
|
}
|
|
581
581
|
if (clockFinale) updateGauges(svg, remaining);
|
|
582
582
|
const stamp = svg.querySelector("[data-dgmo-countdown-asof]");
|
|
583
|
-
if (stamp
|
|
583
|
+
if (stamp?.parentNode) stamp.parentNode.removeChild(stamp);
|
|
584
584
|
}
|
|
585
585
|
function tickCountdowns(root = document) {
|
|
586
586
|
if (typeof document === "undefined") return;
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
isExtendedChartType,
|
|
7
7
|
knownChartTypeIds,
|
|
8
8
|
parseDgmo
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Q6SQISHT.js";
|
|
10
10
|
import "./chunk-EOYPX6SF.js";
|
|
11
11
|
import "./chunk-WP2RLGDI.js";
|
|
12
12
|
import "./chunk-A2RUBBVT.js";
|
|
@@ -16,7 +16,7 @@ import "./chunk-7UDAIP6W.js";
|
|
|
16
16
|
import "./chunk-2CW5ZTNH.js";
|
|
17
17
|
import "./chunk-BDXC7MDK.js";
|
|
18
18
|
import "./chunk-WQ6G6FFM.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-B3S76BZO.js";
|
|
20
20
|
import "./chunk-PIXJL77H.js";
|
|
21
21
|
import "./chunk-3C2FWS2J.js";
|
|
22
22
|
import "./chunk-P3SKSKJI.js";
|
|
@@ -38,28 +38,29 @@ import "./chunk-6K7RODXG.js";
|
|
|
38
38
|
import "./chunk-66YFDTT6.js";
|
|
39
39
|
import "./chunk-GDJW64XE.js";
|
|
40
40
|
import "./chunk-QFHWYWQL.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-DPSMX4EY.js";
|
|
42
42
|
import "./chunk-GSYZZFI5.js";
|
|
43
43
|
import "./chunk-GUTZCRBT.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-ITSBBQTH.js";
|
|
45
45
|
import {
|
|
46
46
|
looksLikeC4,
|
|
47
47
|
looksLikeGantt,
|
|
48
48
|
parseDgmoChartType
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-K5XT7NHD.js";
|
|
50
50
|
import "./chunk-3RYBTEF5.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-JVZ7KFAX.js";
|
|
52
|
+
import "./chunk-2SKMEL7V.js";
|
|
53
53
|
import "./chunk-7WGCQE2E.js";
|
|
54
54
|
import "./chunk-EQW6HOP4.js";
|
|
55
55
|
import "./chunk-DAOFNU6J.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-NIUO2TNR.js";
|
|
57
|
+
import "./chunk-LFKSHDVI.js";
|
|
57
58
|
import "./chunk-C3Z4DX3V.js";
|
|
58
59
|
import "./chunk-JRUEIRJB.js";
|
|
59
60
|
import "./chunk-7TF3QOOD.js";
|
|
60
61
|
import "./chunk-AYOVY75O.js";
|
|
61
62
|
import "./chunk-NXMESY4J.js";
|
|
62
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-MFW6P7WH.js";
|
|
63
64
|
import "./chunk-WPL5PFXE.js";
|
|
64
65
|
import "./chunk-J64NZ6NF.js";
|
|
65
66
|
import "./chunk-O753JUEZ.js";
|
|
@@ -73,8 +74,7 @@ import "./chunk-4WW3SGMH.js";
|
|
|
73
74
|
import "./chunk-L5AFONQU.js";
|
|
74
75
|
import "./chunk-44GP7PD5.js";
|
|
75
76
|
import "./chunk-5NU7NII2.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-7HWY4QAJ.js";
|
|
77
|
+
import "./chunk-L24LESXF.js";
|
|
78
78
|
import "./chunk-2M4IGSCY.js";
|
|
79
79
|
import "./chunk-BYU54C3S.js";
|
|
80
80
|
import "./chunk-5WRI5ZAA.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mapContentAspect,
|
|
3
3
|
mapExportDimensions
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-7KPHRTND.js";
|
|
5
|
+
import "./chunk-LR6RRDWN.js";
|
|
6
6
|
import "./chunk-4QV26TEG.js";
|
|
7
7
|
import "./chunk-KMU65FYM.js";
|
|
8
8
|
import "./chunk-VLC6WNRD.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-RH2PROYG.js";
|
|
11
|
-
import "./chunk-KAO7JL4I.js";
|
|
9
|
+
import "./chunk-NS7L7YKH.js";
|
|
12
10
|
import "./chunk-L5AFONQU.js";
|
|
13
11
|
import "./chunk-44GP7PD5.js";
|
|
14
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-I6GGMCTV.js";
|
|
13
|
+
import "./chunk-KAO7JL4I.js";
|
|
14
|
+
import "./chunk-L24LESXF.js";
|
|
15
15
|
import "./chunk-2M4IGSCY.js";
|
|
16
16
|
import "./chunk-BYU54C3S.js";
|
|
17
17
|
import "./chunk-5WRI5ZAA.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderFlowchart,
|
|
3
3
|
renderFlowchartForExport
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AZ24RI5L.js";
|
|
5
5
|
import "./chunk-26EVL454.js";
|
|
6
6
|
import "./chunk-ZNNVI5SR.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-KATED53P.js";
|
|
8
8
|
import "./chunk-XBJJP2HN.js";
|
|
9
9
|
import "./chunk-6EK55ART.js";
|
|
10
10
|
import "./chunk-RJNZHFNG.js";
|
|
@@ -15,10 +15,9 @@ import "./chunk-Z6DXWULM.js";
|
|
|
15
15
|
import "./chunk-EPDBWATV.js";
|
|
16
16
|
import "./chunk-24YPR5EH.js";
|
|
17
17
|
import "./chunk-XCKNFFKM.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-OOCVGX4W.js";
|
|
19
19
|
import "./chunk-VLC6WNRD.js";
|
|
20
20
|
import "./chunk-ICLB27PZ.js";
|
|
21
|
-
import "./chunk-KAO7JL4I.js";
|
|
22
21
|
import "./chunk-JRUEIRJB.js";
|
|
23
22
|
import "./chunk-7TF3QOOD.js";
|
|
24
23
|
import "./chunk-NXMESY4J.js";
|
|
@@ -27,7 +26,9 @@ import "./chunk-O753JUEZ.js";
|
|
|
27
26
|
import "./chunk-N7VMGZCU.js";
|
|
28
27
|
import "./chunk-NOTA6TEI.js";
|
|
29
28
|
import "./chunk-44GP7PD5.js";
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-I6GGMCTV.js";
|
|
30
|
+
import "./chunk-KAO7JL4I.js";
|
|
31
|
+
import "./chunk-L24LESXF.js";
|
|
31
32
|
import "./chunk-2M4IGSCY.js";
|
|
32
33
|
import "./chunk-BYU54C3S.js";
|
|
33
34
|
import "./chunk-5WRI5ZAA.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { T as Theme } from './themes-CzuBdx1T.js';
|
|
|
4
4
|
export { M as MapCompletionOptions, a as MapLocationMatch, b as MapPlaceCompletion, c as MapRegionCompletion, d as completeMapPlaces, e as completeMapRegions, p as palettes, s as searchMapLocations, t as themes, f as validate } from './themes-CzuBdx1T.js';
|
|
5
5
|
import { M as MapDataSource } from './d3-B6524aaP.js';
|
|
6
6
|
export { G as Gazetteer, a as GazetteerEntry, b as MapData, R as RegionName, c as RegionNames } from './d3-B6524aaP.js';
|
|
7
|
-
export { C as ChartTypeId, a as ChartTypeMeta, c as chartTypes, g as getPalette, r as resolvePaletteOrFallback } from './chart-types-
|
|
7
|
+
export { C as ChartTypeId, a as ChartTypeMeta, c as chartTypes, g as getPalette, r as resolvePaletteOrFallback } from './chart-types-Bf8C5QQW.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Make an SVG produced by `@diagrammo/dgmo`'s static `render()` suitable for
|