@diagrammo/dgmo 0.50.0 → 0.50.2
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.d.ts +11 -2
- package/dist/advanced.js +64 -64
- package/dist/auto.js +99 -99
- package/dist/auto.mjs +125 -27
- package/dist/block.d.ts +7 -0
- package/dist/block.js +38 -32
- package/dist/{charts-d3-DKUD7MQE.js → charts-d3-MUW3LTML.js} +4 -4
- package/dist/{chunk-PJUGRJHJ.js → chunk-2KGXHFYK.js} +4 -4
- package/dist/{chunk-6X4AKWLF.js → chunk-3LH5CLP4.js} +3 -3
- package/dist/{chunk-YA7D2N2O.js → chunk-3NODSS6A.js} +4 -4
- package/dist/{chunk-DMJJ3CEQ.js → chunk-3UIKSPFB.js} +8 -3
- package/dist/{chunk-RV26LTUU.js → chunk-3XGZF2QJ.js} +4 -4
- package/dist/{chunk-I4IFRCUB.js → chunk-3Y2DRD7S.js} +2 -2
- package/dist/{chunk-RV6A2B5S.js → chunk-3YPY3OXD.js} +2 -2
- package/dist/{chunk-4S723I74.js → chunk-4MJ7M6YL.js} +5 -5
- package/dist/{chunk-SGFZZAUO.js → chunk-5GJYGP5Z.js} +4 -4
- package/dist/{chunk-TWCLK2GA.js → chunk-5OWVC2A6.js} +3 -3
- package/dist/{chunk-7PQYTZMA.js → chunk-5WFIYXQ6.js} +5 -5
- package/dist/{chunk-F5UDBSJY.js → chunk-66NVRO4K.js} +4 -4
- package/dist/{chunk-XCLHOZAM.js → chunk-66RUL3XF.js} +3 -3
- package/dist/{chunk-YZLMKW4T.js → chunk-6HJBFVLO.js} +2 -2
- package/dist/{chunk-YB3FW24O.js → chunk-7L3R6I3U.js} +2 -2
- package/dist/{chunk-PLZI6KPM.js → chunk-7QKLIMRZ.js} +4 -4
- package/dist/{chunk-IA3FJYWR.js → chunk-7TV5Y53Y.js} +2 -2
- package/dist/{chunk-3TDRHT4J.js → chunk-BBGDM4NQ.js} +3 -3
- package/dist/{chunk-T4BRO3Z6.js → chunk-BH3UYK36.js} +2 -2
- package/dist/{chunk-UXOSVCLJ.js → chunk-C2CVAM3U.js} +2 -2
- package/dist/{chunk-UUS2GIJZ.js → chunk-DFTFPYUD.js} +5 -5
- package/dist/{chunk-L2ZTFHAY.js → chunk-DN66GPY5.js} +87 -8
- package/dist/{chunk-SU2VBK4L.js → chunk-DSWVNQVS.js} +2 -2
- package/dist/{chunk-5JSWBPZZ.js → chunk-DZXYF2F5.js} +12 -2
- package/dist/{chunk-6M5PJFQG.js → chunk-EAMEADTV.js} +2 -2
- package/dist/{chunk-KJXIHOVL.js → chunk-FA6K3FWM.js} +3 -3
- package/dist/{chunk-WCUHAQKB.js → chunk-FJUNPCYI.js} +1 -1
- package/dist/{chunk-FB2WHOEQ.js → chunk-GKC3HILQ.js} +2 -2
- package/dist/{chunk-QUJGFNFN.js → chunk-HEVYAHLW.js} +2 -2
- package/dist/{chunk-3ZPC476N.js → chunk-HLJVEAOF.js} +3 -3
- package/dist/{chunk-7G2ER4CY.js → chunk-HTMN2Z6U.js} +2 -2
- package/dist/{chunk-OHQEMBLI.js → chunk-I2WKW7C7.js} +2 -2
- package/dist/{chunk-R56LASIN.js → chunk-IUMPEA64.js} +2 -2
- package/dist/{chunk-QDFNCATJ.js → chunk-J6K7RP6P.js} +4 -4
- package/dist/{chunk-PMN3Q7RJ.js → chunk-JJUOHGX2.js} +2 -2
- package/dist/{chunk-QFQ35BTO.js → chunk-KFZYNWWO.js} +2 -2
- package/dist/{chunk-ER5SCQWQ.js → chunk-KHEYDLMT.js} +2 -2
- package/dist/{chunk-JFYIP7XU.js → chunk-KQ57MHRO.js} +25 -25
- package/dist/{chunk-X2NMFTG3.js → chunk-LE4MYMLI.js} +2 -2
- package/dist/{chunk-NFFIKVNO.js → chunk-MCZ5LBZD.js} +4 -4
- package/dist/{chunk-2JJ2KNPI.js → chunk-NU3XLTGP.js} +2 -2
- package/dist/{chunk-4BMJQFNK.js → chunk-NWED7CYO.js} +3 -3
- package/dist/{chunk-WWN566I7.js → chunk-OMNGQPEZ.js} +2 -2
- package/dist/{chunk-O76UD6VJ.js → chunk-OTQKUHRS.js} +2 -2
- package/dist/{chunk-5Z736BSU.js → chunk-P7CE7LXL.js} +2 -2
- package/dist/{chunk-CVV36CWI.js → chunk-PFHVU7UA.js} +2 -2
- package/dist/{chunk-6ZT4U37Q.js → chunk-QJJZSROI.js} +11 -4
- package/dist/{chunk-FAL7NOK3.js → chunk-QJP6PG7F.js} +5 -5
- package/dist/{chunk-URSQLCTR.js → chunk-QROYX7TT.js} +2 -2
- package/dist/{chunk-FL4IOQ37.js → chunk-QXKWYZNR.js} +2 -2
- package/dist/{chunk-3G6TMNVF.js → chunk-RZ6YKEUJ.js} +3 -3
- package/dist/{chunk-A3WQVFBS.js → chunk-SQLNBA64.js} +2 -2
- package/dist/{chunk-NISQC5KW.js → chunk-SVTI362O.js} +65 -65
- package/dist/{chunk-S5GRONXL.js → chunk-SXRTRMEE.js} +2 -2
- package/dist/{chunk-GPWHQ5FJ.js → chunk-T4VOVZT5.js} +2 -2
- package/dist/{chunk-GROQGHCT.js → chunk-T5SHNNGP.js} +89 -17
- package/dist/{chunk-JZNMXEIV.js → chunk-TN35C5KM.js} +2 -2
- package/dist/{chunk-O4VUFXIH.js → chunk-VBYSIOOY.js} +2 -2
- package/dist/{chunk-2QYTMIRR.js → chunk-VDOOQZUD.js} +2 -2
- package/dist/{chunk-XMVQ5F4M.js → chunk-VUJGMJE6.js} +2 -2
- package/dist/{chunk-ASS5YYIZ.js → chunk-VVW3F3MD.js} +4 -4
- package/dist/{chunk-7RB5Q6MB.js → chunk-WW32K72E.js} +5 -5
- package/dist/{chunk-EJTKV7CY.js → chunk-X6EZPSW6.js} +4 -4
- package/dist/{chunk-XDXNDSKO.js → chunk-XEGTMVYY.js} +4 -1
- package/dist/{chunk-OTP5KVLO.js → chunk-XJLKLU4D.js} +2 -2
- package/dist/cli.cjs +120 -120
- package/dist/{dgmo-router-QOMFCOOV.js → dgmo-router-CE2G67FV.js} +26 -26
- package/dist/{dimensions-P5FSX2QN.js → dimensions-OTBKC5M6.js} +4 -4
- package/dist/element.js +100 -100
- package/dist/element.mjs +125 -27
- package/dist/index.d.ts +27 -8
- package/dist/index.js +32 -30
- package/dist/{layout-T3OZU5QW.js → layout-7MZ5NF2N.js} +3 -3
- package/dist/{layout-WZHNDT2O.js → layout-FWODLIMP.js} +3 -3
- package/dist/{layout-VYELEAW7.js → layout-J36454XU.js} +3 -3
- package/dist/{layout-TJIWF7EM.js → layout-LD6XTLD6.js} +3 -3
- package/dist/{parser-ZSOWUBML.js → parser-36HVKU5U.js} +3 -3
- package/dist/{parser-QYYM4QVW.js → parser-4NO6VZ6S.js} +3 -3
- package/dist/{parser-DOKMZXVZ.js → parser-4WQQQXCG.js} +3 -3
- package/dist/{parser-O4QFCUW7.js → parser-5OXGPNBF.js} +3 -3
- package/dist/{parser-ZTBATMLX.js → parser-AGVYTQXV.js} +3 -3
- package/dist/{parser-D3QT6GWN.js → parser-AXKBDGNO.js} +3 -3
- package/dist/{parser-FMPCVFRK.js → parser-CVMEDULU.js} +3 -3
- package/dist/{parser-C2HF2C2E.js → parser-D5VILGN2.js} +3 -3
- package/dist/{parser-KUQWRPIT.js → parser-H3XEPFPV.js} +3 -3
- package/dist/{parser-YLKYBRIT.js → parser-IJBMRXMC.js} +3 -3
- package/dist/{parser-UQE5OWZI.js → parser-JJR52VAT.js} +3 -3
- package/dist/{parser-4P36TUVD.js → parser-K3XXLMUW.js} +3 -3
- package/dist/{parser-45DENHFZ.js → parser-KCR2WS3V.js} +3 -3
- package/dist/{parser-5AURY4A6.js → parser-MPCE5JBG.js} +3 -3
- package/dist/{parser-Q4QKCIWQ.js → parser-MTOMTWTD.js} +3 -3
- package/dist/{parser-RZMQP7MM.js → parser-O4HIUN6G.js} +3 -3
- package/dist/{parser-PGMQDD4G.js → parser-PSA4UBSP.js} +3 -3
- package/dist/{parser-I2UIJKVQ.js → parser-RV4M6AS2.js} +3 -3
- package/dist/{parser-QTOB4KFL.js → parser-TGQZJ5OT.js} +3 -3
- package/dist/{parser-SOUJOEYI.js → parser-TXND652E.js} +3 -3
- package/dist/{parser-A2BEFMGK.js → parser-VKOJM7KS.js} +3 -3
- package/dist/{parser-D5637H5H.js → parser-W4PQUGX3.js} +3 -3
- package/dist/pert.d.ts +8 -0
- package/dist/{renderer-BSW7SRIZ.js → renderer-2AZ5HJFK.js} +3 -3
- package/dist/{renderer-BZSBPTZJ.js → renderer-2QPMJ2DA.js} +5 -5
- package/dist/{renderer-KY4KQBTF.js → renderer-45PSOL3E.js} +4 -4
- package/dist/{renderer-FZUKFUNZ.js → renderer-5DSEWF74.js} +4 -4
- package/dist/{renderer-72LGR2YF.js → renderer-5KVCNMOJ.js} +2 -2
- package/dist/{renderer-TQMZGDAX.js → renderer-6OKF44KS.js} +5 -5
- package/dist/{renderer-67NPCBIS.js → renderer-7SD6MSBS.js} +5 -5
- package/dist/{renderer-ICJN2SA2.js → renderer-A5VE5BCI.js} +4 -4
- package/dist/{renderer-Q6ZKPLS6.js → renderer-AUW2BE6G.js} +5 -5
- package/dist/{renderer-35HSIDMZ.js → renderer-B5TBNZJE.js} +4 -4
- package/dist/{renderer-INEXO7B6.js → renderer-BSR2O2H6.js} +5 -5
- package/dist/{renderer-CXUC4KAD.js → renderer-CYB4LK3G.js} +5 -5
- package/dist/{renderer-O4JKUGKO.js → renderer-FF24KZCI.js} +4 -4
- package/dist/{renderer-BY533UWU.js → renderer-FPE3J5VZ.js} +5 -5
- package/dist/{renderer-TKG6LS4U.js → renderer-FYSVXL7M.js} +6 -6
- package/dist/{renderer-GO3FE3RA.js → renderer-HDCCZURL.js} +4 -4
- package/dist/{renderer-6GHYK7DX.js → renderer-JCCHNECZ.js} +4 -4
- package/dist/{renderer-OOGFODWP.js → renderer-KS7YZJE2.js} +6 -6
- package/dist/{renderer-KDYCFRBX.js → renderer-NGXZTRK6.js} +4 -4
- package/dist/{renderer-LBN65V45.js → renderer-ODUUOPVT.js} +4 -4
- package/dist/{renderer-G2NLGNKF.js → renderer-P5ROYQGU.js} +2 -2
- package/dist/{renderer-SZQ326M5.js → renderer-PPIHO5FI.js} +5 -5
- package/dist/{renderer-7SWMIFMM.js → renderer-PSMMZCKH.js} +4 -4
- package/dist/{renderer-MGBWOCXG.js → renderer-QAOBLRXV.js} +6 -6
- package/dist/{renderer-HPGR6USK.js → renderer-R2WNIC2C.js} +4 -4
- package/dist/{renderer-6RNGHC5Z.js → renderer-SBS3YWU5.js} +4 -4
- package/dist/{renderer-BBCEFILK.js → renderer-UYMQQCJK.js} +5 -5
- package/dist/{renderer-radial-JELMHQ24.js → renderer-radial-F7X5F2VU.js} +5 -5
- package/dist/{themes-1-CuKpeH.d.ts → themes-PdPR1-hC.d.ts} +8 -0
- package/docs/language-reference.md +5 -0
- package/gallery/fixtures/countdown-far.dgmo +2 -0
- package/gallery/fixtures/countdown.dgmo +3 -3
- package/package.json +1 -1
package/dist/element.mjs
CHANGED
|
@@ -13545,6 +13545,8 @@ function parseChart(content, palette) {
|
|
|
13545
13545
|
result.solidFill = true;
|
|
13546
13546
|
} else if (firstToken === "no-title") {
|
|
13547
13547
|
result.noTitle = true;
|
|
13548
|
+
} else if (firstToken === "no-auto-y") {
|
|
13549
|
+
result.noAutoY = true;
|
|
13548
13550
|
} else if (firstToken === "fill") {
|
|
13549
13551
|
result.fill = true;
|
|
13550
13552
|
} else if (firstToken === "hole") {
|
|
@@ -13839,6 +13841,7 @@ var init_chart = __esm({
|
|
|
13839
13841
|
"orientation-horizontal",
|
|
13840
13842
|
"solid-fill",
|
|
13841
13843
|
"no-title",
|
|
13844
|
+
"no-auto-y",
|
|
13842
13845
|
"fill",
|
|
13843
13846
|
"hole"
|
|
13844
13847
|
]);
|
|
@@ -20976,6 +20979,11 @@ function parseSketch(content, palette) {
|
|
|
20976
20979
|
currentTagGroup.entries.push({
|
|
20977
20980
|
value: label,
|
|
20978
20981
|
color: color ?? AUTO_TAG_COLOR_SENTINEL,
|
|
20982
|
+
// When a color resolved, the recognized name is the entry's last
|
|
20983
|
+
// token — keep it so a reparse can tell authored from auto.
|
|
20984
|
+
...color !== void 0 && {
|
|
20985
|
+
authoredColor: cleanEntry.trim().split(/\s+/).pop()
|
|
20986
|
+
},
|
|
20979
20987
|
lineNumber
|
|
20980
20988
|
});
|
|
20981
20989
|
}
|
|
@@ -20996,6 +21004,11 @@ function parseSketch(content, palette) {
|
|
|
20996
21004
|
currentTagGroup.entries.push({
|
|
20997
21005
|
value: label,
|
|
20998
21006
|
color: color ?? AUTO_TAG_COLOR_SENTINEL,
|
|
21007
|
+
// When a color resolved, the recognized name is the entry's last token
|
|
21008
|
+
// — keep it so a reparse can tell authored from auto.
|
|
21009
|
+
...color !== void 0 && {
|
|
21010
|
+
authoredColor: cleanEntry.trim().split(/\s+/).pop()
|
|
21011
|
+
},
|
|
20999
21012
|
lineNumber
|
|
21000
21013
|
});
|
|
21001
21014
|
continue;
|
|
@@ -30684,7 +30697,8 @@ function parseBody(content, palette) {
|
|
|
30684
30697
|
form: "muscle",
|
|
30685
30698
|
sex: "male",
|
|
30686
30699
|
views,
|
|
30687
|
-
noLegend: false
|
|
30700
|
+
noLegend: false,
|
|
30701
|
+
noTitle: false
|
|
30688
30702
|
};
|
|
30689
30703
|
const tagGroups = [];
|
|
30690
30704
|
const parts = [];
|
|
@@ -30744,6 +30758,10 @@ function parseBody(content, palette) {
|
|
|
30744
30758
|
options.noLegend = true;
|
|
30745
30759
|
continue;
|
|
30746
30760
|
}
|
|
30761
|
+
if (/^no-title$/i.test(trimmed)) {
|
|
30762
|
+
options.noTitle = true;
|
|
30763
|
+
continue;
|
|
30764
|
+
}
|
|
30747
30765
|
}
|
|
30748
30766
|
const tagBlockMatch = matchTagBlockHeading(trimmed);
|
|
30749
30767
|
if (tagBlockMatch && !contentStarted) {
|
|
@@ -31909,7 +31927,14 @@ function renderLine(svg, chart, width, height, colors, palette, isDark, textColo
|
|
|
31909
31927
|
hi = Math.max(hi, v);
|
|
31910
31928
|
}
|
|
31911
31929
|
if (!isFinite(lo)) return [0, 1];
|
|
31912
|
-
if (
|
|
31930
|
+
if (chart.noAutoY) {
|
|
31931
|
+
if (lo > 0) lo = 0;
|
|
31932
|
+
} else {
|
|
31933
|
+
const pad3 = (hi - lo) * 0.05 || Math.abs(hi) * 0.05 || 1;
|
|
31934
|
+
const nlo = lo - pad3;
|
|
31935
|
+
lo = lo >= 0 && nlo < 0 ? 0 : nlo;
|
|
31936
|
+
hi = hi + pad3;
|
|
31937
|
+
}
|
|
31913
31938
|
if (lo === hi) hi = lo + 1;
|
|
31914
31939
|
return [lo, hi];
|
|
31915
31940
|
};
|
|
@@ -34562,7 +34587,7 @@ function renderBody2(container, parsed, palette, _isDark, _onClickItem, exportDi
|
|
|
34562
34587
|
).attr("preserveAspectRatio", "xMidYMin meet").attr("xmlns", "http://www.w3.org/2000/svg").style("font-family", FONT_FAMILY);
|
|
34563
34588
|
if (defs.length) svg.append("defs").html(defs.join(""));
|
|
34564
34589
|
svg.append("g").html(body);
|
|
34565
|
-
if (parsed.title) {
|
|
34590
|
+
if (parsed.title && !parsed.options.noTitle) {
|
|
34566
34591
|
svg.append("text").attr("x", totalW / 2).attr("y", 40).attr("text-anchor", "middle").attr("font-size", 34).attr("font-weight", 700).attr("fill", palette.text).text(parsed.title);
|
|
34567
34592
|
}
|
|
34568
34593
|
if (!parsed.options.noLegend && parsed.tagGroups.length) {
|
|
@@ -72471,22 +72496,13 @@ function aLine(svg, x1, y1, x2, y2, stroke2, sw, opacity) {
|
|
|
72471
72496
|
if (opacity != null) l.attr("opacity", opacity);
|
|
72472
72497
|
}
|
|
72473
72498
|
function recurGlyph(svg, cx, cy, r, color) {
|
|
72474
|
-
const
|
|
72475
|
-
const
|
|
72476
|
-
|
|
72477
|
-
|
|
72478
|
-
|
|
72479
|
-
|
|
72480
|
-
|
|
72481
|
-
const [x1, y1] = pt(base + 175);
|
|
72482
|
-
svg.append("path").attr("d", `M ${x0} ${y0} A ${r} ${r} 0 0 1 ${x1} ${y1}`).attr("fill", "none").attr("stroke", color).attr("stroke-width", sw).attr("stroke-linecap", "round");
|
|
72483
|
-
const tang = (base + 175 + 90) * Math.PI / 180;
|
|
72484
|
-
const hl = r * 0.9;
|
|
72485
|
-
svg.append("path").attr(
|
|
72486
|
-
"d",
|
|
72487
|
-
`M ${x1} ${y1} l ${Math.cos(tang + 2.5) * hl} ${Math.sin(tang + 2.5) * hl} M ${x1} ${y1} l ${Math.cos(tang - 2.5) * hl} ${Math.sin(tang - 2.5) * hl}`
|
|
72488
|
-
).attr("fill", "none").attr("stroke", color).attr("stroke-width", sw).attr("stroke-linecap", "round");
|
|
72489
|
-
}
|
|
72499
|
+
const side = r * 2.4;
|
|
72500
|
+
const scale = side / 24;
|
|
72501
|
+
const swPx = Math.max(1.5, r * 0.34);
|
|
72502
|
+
svg.append("path").attr("d", REPEAT_ICON_PATH).attr(
|
|
72503
|
+
"transform",
|
|
72504
|
+
`translate(${cx - side / 2} ${cy - side / 2}) scale(${scale})`
|
|
72505
|
+
).attr("data-embed-ignore-bbox", "").attr("fill", "none").attr("stroke", color).attr("stroke-width", swPx / scale).attr("stroke-linecap", "round").attr("stroke-linejoin", "round");
|
|
72490
72506
|
}
|
|
72491
72507
|
function haloRect(svg, x, y, w, h, rx, C) {
|
|
72492
72508
|
aRect(svg, x - 1, y - 1, w + 2, h + 2, rx + 1, "none", C.bg, 2);
|
|
@@ -72495,6 +72511,7 @@ function haloRect(svg, x, y, w, h, rx, C) {
|
|
|
72495
72511
|
function pickBand(nowMs, resolvedMs, hasTime) {
|
|
72496
72512
|
const days = dayDelta(nowMs, resolvedMs);
|
|
72497
72513
|
if (hasTime && days <= 0) return "clock";
|
|
72514
|
+
if (days > 3 * 365) return "years";
|
|
72498
72515
|
if (days > 365) return "year";
|
|
72499
72516
|
if (days > 92) return "months";
|
|
72500
72517
|
if (days > 18) return "monthgrid";
|
|
@@ -72525,9 +72542,31 @@ function monthGridLayout(nowMs, resolvedMs, contentW) {
|
|
|
72525
72542
|
}
|
|
72526
72543
|
return { months, dim };
|
|
72527
72544
|
}
|
|
72545
|
+
function yearsLayout(nowMs, resolvedMs) {
|
|
72546
|
+
const y0 = new Date(nowMs).getFullYear();
|
|
72547
|
+
const y1 = new Date(resolvedMs).getFullYear();
|
|
72548
|
+
const d0 = Math.floor(y0 / 10) * 10;
|
|
72549
|
+
const d1 = Math.floor(y1 / 10) * 10;
|
|
72550
|
+
return { d0, d1, rows: (d1 - d0) / 10 + 1 };
|
|
72551
|
+
}
|
|
72528
72552
|
function bandHeightFor(kind, nowMs, resolvedMs, contentW) {
|
|
72529
72553
|
const clamp5 = (v, lo, hi) => Math.max(lo, Math.min(hi, v));
|
|
72530
72554
|
switch (kind) {
|
|
72555
|
+
case "years": {
|
|
72556
|
+
const { rows } = yearsLayout(nowMs, resolvedMs);
|
|
72557
|
+
const rowGap = 11;
|
|
72558
|
+
const labW = 54;
|
|
72559
|
+
const gap = 7;
|
|
72560
|
+
const cellW = (contentW - labW - 10 * gap) / 10;
|
|
72561
|
+
let cellH = clamp5(cellW * 0.5, 26, 40);
|
|
72562
|
+
const MAX = 380;
|
|
72563
|
+
let total = rows * cellH + (rows - 1) * rowGap;
|
|
72564
|
+
if (total > MAX) {
|
|
72565
|
+
cellH = Math.max(9, (MAX - (rows - 1) * rowGap) / rows);
|
|
72566
|
+
total = rows * cellH + (rows - 1) * rowGap;
|
|
72567
|
+
}
|
|
72568
|
+
return total;
|
|
72569
|
+
}
|
|
72531
72570
|
case "year": {
|
|
72532
72571
|
const R = new Date(resolvedMs).getFullYear() - new Date(nowMs).getFullYear() + 1;
|
|
72533
72572
|
const yearW = 66;
|
|
@@ -72566,6 +72605,61 @@ function bandHeightFor(kind, nowMs, resolvedMs, contentW) {
|
|
|
72566
72605
|
return clamp5(contentW * 0.22, 125, 170);
|
|
72567
72606
|
}
|
|
72568
72607
|
}
|
|
72608
|
+
function vizYears(svg, g, nowMs, resolvedMs, C) {
|
|
72609
|
+
const now = new Date(nowMs);
|
|
72610
|
+
const ev = new Date(resolvedMs);
|
|
72611
|
+
const nowY = now.getFullYear();
|
|
72612
|
+
const evY = ev.getFullYear();
|
|
72613
|
+
const { d0, rows } = yearsLayout(nowMs, resolvedMs);
|
|
72614
|
+
const labW = 54;
|
|
72615
|
+
const gap = 7;
|
|
72616
|
+
const rowGap = 11;
|
|
72617
|
+
const rowH = (g.height - rowGap * (rows - 1)) / rows;
|
|
72618
|
+
const cellH = rowH;
|
|
72619
|
+
const cellW = (g.contentW - labW - 10 * gap) / 10;
|
|
72620
|
+
const rx = Math.min(6, Math.min(cellW, cellH) * 0.22);
|
|
72621
|
+
const showLabel = cellH >= 18 && cellW >= 22;
|
|
72622
|
+
const yrFont = Math.min(12, cellW * 0.34, cellH * 0.5);
|
|
72623
|
+
for (let r = 0; r < rows; r++) {
|
|
72624
|
+
const dec = d0 + r * 10;
|
|
72625
|
+
const ry = g.top + r * (rowH + rowGap);
|
|
72626
|
+
aText(
|
|
72627
|
+
svg,
|
|
72628
|
+
g.left + labW - 12,
|
|
72629
|
+
ry + rowH / 2,
|
|
72630
|
+
Math.min(14, rowH * 0.5),
|
|
72631
|
+
C.muted,
|
|
72632
|
+
800,
|
|
72633
|
+
"end",
|
|
72634
|
+
`${dec}s`,
|
|
72635
|
+
{ "dominant-baseline": "central" }
|
|
72636
|
+
);
|
|
72637
|
+
for (let i = 0; i < 10; i++) {
|
|
72638
|
+
const yr = dec + i;
|
|
72639
|
+
const before = yr < nowY;
|
|
72640
|
+
const isNow = yr === nowY;
|
|
72641
|
+
const isEv = yr === evY;
|
|
72642
|
+
const between = yr > nowY && yr < evY;
|
|
72643
|
+
const st = isEv ? roleStyle(C, "event") : isNow ? roleStyle(C, "today") : between ? gradStyle(C, (yr - nowY) / (evY - nowY)) : roleStyle(C, before ? "past" : "future");
|
|
72644
|
+
const x = g.left + labW + i * (cellW + gap);
|
|
72645
|
+
aRect(svg, x, ry, cellW, cellH, rx, st.fill, st.stroke, 1);
|
|
72646
|
+
if (isEv) haloRect(svg, x, ry, cellW, cellH, rx, C);
|
|
72647
|
+
if (showLabel) {
|
|
72648
|
+
aText(
|
|
72649
|
+
svg,
|
|
72650
|
+
x + cellW / 2,
|
|
72651
|
+
ry + cellH / 2,
|
|
72652
|
+
yrFont,
|
|
72653
|
+
st.text,
|
|
72654
|
+
isNow || isEv ? 800 : 650,
|
|
72655
|
+
"middle",
|
|
72656
|
+
String(yr),
|
|
72657
|
+
{ "dominant-baseline": "central" }
|
|
72658
|
+
);
|
|
72659
|
+
}
|
|
72660
|
+
}
|
|
72661
|
+
}
|
|
72662
|
+
}
|
|
72569
72663
|
function vizYear(svg, g, nowMs, resolvedMs, C) {
|
|
72570
72664
|
const now = new Date(nowMs);
|
|
72571
72665
|
const ev = new Date(resolvedMs);
|
|
@@ -73077,6 +73171,8 @@ function pad22(n) {
|
|
|
73077
73171
|
}
|
|
73078
73172
|
function drawBand2(svg, kind, g, nowMs, resolvedMs, C) {
|
|
73079
73173
|
switch (kind) {
|
|
73174
|
+
case "years":
|
|
73175
|
+
return vizYears(svg, g, nowMs, resolvedMs, C);
|
|
73080
73176
|
case "year":
|
|
73081
73177
|
return vizYear(svg, g, nowMs, resolvedMs, C);
|
|
73082
73178
|
case "months":
|
|
@@ -73271,7 +73367,7 @@ function renderCountdown(container, parsed, palette, isDark, exportDims) {
|
|
|
73271
73367
|
function renderCountdownForExport(container, parsed, palette, isDark, exportDims) {
|
|
73272
73368
|
renderCountdown(container, parsed, palette, isDark, exportDims);
|
|
73273
73369
|
}
|
|
73274
|
-
var MON_ABBR, WD_ABBR, DAY_START, dayDelta, keyOf, MONTH_TARGET_PX;
|
|
73370
|
+
var MON_ABBR, WD_ABBR, DAY_START, dayDelta, keyOf, REPEAT_ICON_PATH, MONTH_TARGET_PX;
|
|
73275
73371
|
var init_renderer29 = __esm({
|
|
73276
73372
|
"src/countdown/renderer.ts"() {
|
|
73277
73373
|
"use strict";
|
|
@@ -73305,6 +73401,7 @@ var init_renderer29 = __esm({
|
|
|
73305
73401
|
const d = new Date(ms);
|
|
73306
73402
|
return d.getFullYear() * 1e4 + d.getMonth() * 100 + d.getDate();
|
|
73307
73403
|
};
|
|
73404
|
+
REPEAT_ICON_PATH = "m17 2 4 4-4 4 M3 11v-1a4 4 0 0 1 4-4h14 m7 22-4-4 4-4 M21 13v1a4 4 0 0 1-4 4H3";
|
|
73308
73405
|
MONTH_TARGET_PX = 200;
|
|
73309
73406
|
}
|
|
73310
73407
|
});
|
|
@@ -73755,13 +73852,13 @@ function drawRow(svg, entry, index, parsed, now, rowTop, rowH, geom, col) {
|
|
|
73755
73852
|
const mainFont = 48;
|
|
73756
73853
|
const baseY = center + 16;
|
|
73757
73854
|
const capTop = baseY - mainFont * 0.7;
|
|
73758
|
-
g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("x", contentLeft).attr("y", baseY).attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", mainFont).attr("font-weight", 600).style("font-variant-numeric", "tabular-nums").text(ts.main);
|
|
73759
73855
|
const sf = 20;
|
|
73760
73856
|
const mainW = [...ts.main].reduce(
|
|
73761
|
-
(w, c) => w + mainFont * (c === ":" ? 0.
|
|
73857
|
+
(w, c) => w + mainFont * (c === ":" ? 0.334 : 0.6),
|
|
73762
73858
|
0
|
|
73763
73859
|
);
|
|
73764
73860
|
const stackX = contentLeft + mainW + 5;
|
|
73861
|
+
g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("x", contentLeft).attr("y", baseY).attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", mainFont).attr("font-weight", 600).attr("textLength", mainW).attr("lengthAdjust", "spacing").style("font-variant-numeric", "tabular-nums").text(ts.main);
|
|
73765
73862
|
g.append("text").attr("data-dgmo-clock-digital-part", "sec").attr("x", stackX).attr("y", capTop + sf * 0.72).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", 600).style("font-variant-numeric", "tabular-nums").text(`:${ts.sec}`);
|
|
73766
73863
|
if (ts.ap)
|
|
73767
73864
|
g.append("text").attr("data-dgmo-clock-digital-part", "ap").attr("x", stackX).attr("y", baseY).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", 600).text(ts.ap);
|
|
@@ -73900,13 +73997,13 @@ function drawColumns(body, parsed, now, top, geom, col) {
|
|
|
73900
73997
|
const sf = 13;
|
|
73901
73998
|
const tf = fitFont(ts.main, 44, innerW - 30, 20);
|
|
73902
73999
|
const mainW = [...ts.main].reduce(
|
|
73903
|
-
(w, c) => w + tf * (c === ":" ? 0.
|
|
74000
|
+
(w, c) => w + tf * (c === ":" ? 0.334 : 0.6),
|
|
73904
74001
|
0
|
|
73905
74002
|
);
|
|
73906
74003
|
const stackW = Math.max(estWidth(`:${ts.sec}`, sf), estWidth(ts.ap, sf));
|
|
73907
74004
|
const gLeft = cx - (mainW + 7 + stackW) / 2;
|
|
73908
74005
|
const baseY = cy + tf * 0.34;
|
|
73909
|
-
g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("x", gLeft).attr("y", baseY).attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", tf).attr("font-weight", 600).style("font-variant-numeric", "tabular-nums").text(ts.main);
|
|
74006
|
+
g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("x", gLeft).attr("y", baseY).attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", tf).attr("font-weight", 600).attr("textLength", mainW).attr("lengthAdjust", "spacing").style("font-variant-numeric", "tabular-nums").text(ts.main);
|
|
73910
74007
|
const stackX = gLeft + mainW + 7;
|
|
73911
74008
|
g.append("text").attr("data-dgmo-clock-digital-part", "sec").attr("x", stackX).attr("y", baseY - tf * 0.32).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", 500).text(`:${ts.sec}`);
|
|
73912
74009
|
if (ts.ap)
|
|
@@ -81458,7 +81555,7 @@ async function render(content, options) {
|
|
|
81458
81555
|
try {
|
|
81459
81556
|
const raw = await renderDataChartD3(renderContent, theme, paletteColors);
|
|
81460
81557
|
const svg2 = injectHoverStyles(raw, chartType, { bakeHover });
|
|
81461
|
-
return { svg: svg2, diagnostics };
|
|
81558
|
+
return { svg: svg2, diagnostics, chartType: chartType ?? void 0 };
|
|
81462
81559
|
} finally {
|
|
81463
81560
|
releaseDom();
|
|
81464
81561
|
}
|
|
@@ -81499,7 +81596,7 @@ async function render(content, options) {
|
|
|
81499
81596
|
} catch {
|
|
81500
81597
|
}
|
|
81501
81598
|
}
|
|
81502
|
-
return { svg, diagnostics };
|
|
81599
|
+
return { svg, diagnostics, chartType: chartType ?? void 0 };
|
|
81503
81600
|
}
|
|
81504
81601
|
|
|
81505
81602
|
// src/countdown/ticker.ts
|
|
@@ -82707,6 +82804,7 @@ function resolveBlockOptions(opts) {
|
|
|
82707
82804
|
mode,
|
|
82708
82805
|
palette: opts.palette ?? "slate",
|
|
82709
82806
|
colorMode: opts.colorMode ?? "auto",
|
|
82807
|
+
background: opts.background ?? "auto",
|
|
82710
82808
|
showSource: opts.showSource ?? showcase,
|
|
82711
82809
|
showCopy: opts.showCopy ?? showcase,
|
|
82712
82810
|
showExpand: opts.showExpand ?? showcase,
|
|
@@ -82809,7 +82907,7 @@ var CSS = AUTO_BASE_CSS + "\n" + BLOCK_CSS + "\n" + darkScopedBlockCss(BLOCK_CSS
|
|
|
82809
82907
|
|
|
82810
82908
|
// src/auto/shared.ts
|
|
82811
82909
|
init_safe_href();
|
|
82812
|
-
var VERSION = "0.50.
|
|
82910
|
+
var VERSION = "0.50.2";
|
|
82813
82911
|
var ARIA_LABEL_MAX = 200;
|
|
82814
82912
|
var COPIED_INTERACTION_MS = 1500;
|
|
82815
82913
|
var LOG_PREFIX = "[dgmo]";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ab as DiagnosticSpec, a as PaletteConfig, J as Theme, C as CompactViewState, D as DgmoError } from './themes-
|
|
2
|
-
export { f as ChartTypeMeta, h as DgmoSeverity, ac as DiagnosticParams, ad as EmitOptions, j as Gazetteer, k as GazetteerEntry, l as MapCompletionOptions, M as MapData, o as MapLocationMatch, p as MapPlaceCompletion, s as MapRegionCompletion, P as PaletteColors, w as RegionName, x as RegionNames, N as chartTypes, O as completeMapPlaces, Q as completeMapRegions, ae as emit, X as formatDgmoError, _ as getPalette, a4 as palettes, af as resolvePaletteOrFallback, a8 as searchMapLocations, aa as themes, a5 as validate } from './themes-
|
|
1
|
+
import { ab as DiagnosticSpec, a as PaletteConfig, J as Theme, C as CompactViewState, D as DgmoError } from './themes-PdPR1-hC.js';
|
|
2
|
+
export { f as ChartTypeMeta, h as DgmoSeverity, ac as DiagnosticParams, ad as EmitOptions, j as Gazetteer, k as GazetteerEntry, l as MapCompletionOptions, M as MapData, o as MapLocationMatch, p as MapPlaceCompletion, s as MapRegionCompletion, P as PaletteColors, w as RegionName, x as RegionNames, N as chartTypes, O as completeMapPlaces, Q as completeMapRegions, ae as emit, X as formatDgmoError, _ as getPalette, a4 as palettes, af as resolvePaletteOrFallback, a8 as searchMapLocations, aa as themes, a5 as validate } from './themes-PdPR1-hC.js';
|
|
3
3
|
|
|
4
4
|
declare function getMinDimensions(content: string): {
|
|
5
5
|
width: number;
|
|
@@ -20,17 +20,36 @@ declare function getMinDimensions(content: string): {
|
|
|
20
20
|
* - Strip fixed `width="N"` / `height="N"` so CSS (e.g. `width:100%;
|
|
21
21
|
* height:auto`, or an aspect-ratio derived from the tight viewBox) controls
|
|
22
22
|
* sizing.
|
|
23
|
-
* - The root
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
23
|
+
* - The root background (the theme's opaque `palette.bg` — both the inline
|
|
24
|
+
* `background:` style and the full-canvas `<rect>` some renderers paint) is
|
|
25
|
+
* STRIPPED by default so the embed inherits the host page surface and blends
|
|
26
|
+
* into Obsidian / doc-site / arbitrary pages instead of showing a mismatched
|
|
27
|
+
* rectangle. Pass `{ background: 'opaque' }` to keep it — the embedder
|
|
28
|
+
* opt-out, and the automatic default for background-meaningful types like
|
|
29
|
+
* `map` (whose bg is the ocean) via `defaultEmbedBackground`. Standalone
|
|
30
|
+
* PNG/SVG export does NOT go through here and stays opaque.
|
|
27
31
|
*
|
|
28
32
|
* This is intentionally a string transform, not a DOM `getBBox()` step: dgmo
|
|
29
33
|
* can dual-render light/dark SVGs where one is hidden by color-mode CSS, and
|
|
30
34
|
* `getBBox()` returns 0 for the hidden copy. Parsing coordinates from the
|
|
31
35
|
* markup measures both copies reliably and works server-side (Node).
|
|
32
36
|
*/
|
|
33
|
-
|
|
37
|
+
interface NormalizeSvgForEmbedOptions {
|
|
38
|
+
/**
|
|
39
|
+
* `transparent` (default) strips the theme's opaque root background so the
|
|
40
|
+
* embed inherits the host page surface. `opaque` preserves it — the embedder
|
|
41
|
+
* opt-out for diagrams that need their own solid backdrop. Callers that know
|
|
42
|
+
* the chart type should resolve this via `defaultEmbedBackground`.
|
|
43
|
+
*/
|
|
44
|
+
background?: 'transparent' | 'opaque';
|
|
45
|
+
}
|
|
46
|
+
declare function normalizeSvgForEmbed(input: string, opts?: NormalizeSvgForEmbedOptions): string;
|
|
47
|
+
/**
|
|
48
|
+
* The embed background an embedder gets by default for a given chart type:
|
|
49
|
+
* `transparent` (blend into the host) for everything except
|
|
50
|
+
* background-meaningful types, which stay `opaque`.
|
|
51
|
+
*/
|
|
52
|
+
declare function defaultEmbedBackground(chartType?: string): 'transparent' | 'opaque';
|
|
34
53
|
/**
|
|
35
54
|
* Parse the content bounding box of a normalized embed SVG, if one can be
|
|
36
55
|
* derived. Returns `null` when no usable coordinates are found (e.g. an empty
|
|
@@ -163,4 +182,4 @@ interface DecodedDiagramUrl {
|
|
|
163
182
|
*/
|
|
164
183
|
declare function decodeDiagramUrl(url: string): DecodedDiagramUrl | null;
|
|
165
184
|
|
|
166
|
-
export { CompactViewState, D3_DATA_CHART_TYPES, type DataChartInteractionOpts, type DecodedDiagramUrl, DgmoError, DiagnosticSpec, type EncodeDiagramUrlOptions, type MountD3Opts, type MountedD3Chart, PaletteConfig, type RenderOptions, type RenderResult, Theme, attachDataChartInteractions, decodeDiagramUrl, encodeDiagramUrl, getDiagnosticSpec, getEmbedSvgViewBox, getMinDimensions, listDiagnosticCodes, mountD3DataChart, normalizeSvgForEmbed, render, supportsD3DataChart };
|
|
185
|
+
export { CompactViewState, D3_DATA_CHART_TYPES, type DataChartInteractionOpts, type DecodedDiagramUrl, DgmoError, DiagnosticSpec, type EncodeDiagramUrlOptions, type MountD3Opts, type MountedD3Chart, type NormalizeSvgForEmbedOptions, PaletteConfig, type RenderOptions, type RenderResult, Theme, attachDataChartInteractions, decodeDiagramUrl, defaultEmbedBackground, encodeDiagramUrl, getDiagnosticSpec, getEmbedSvgViewBox, getMinDimensions, listDiagnosticCodes, mountD3DataChart, normalizeSvgForEmbed, render, supportsD3DataChart };
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
+
defaultEmbedBackground,
|
|
2
3
|
getEmbedSvgViewBox,
|
|
3
4
|
normalizeSvgForEmbed,
|
|
4
5
|
renderErrorCard
|
|
5
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DN66GPY5.js";
|
|
6
7
|
import {
|
|
7
8
|
completeMapPlaces,
|
|
8
9
|
completeMapRegions,
|
|
@@ -16,33 +17,33 @@ import {
|
|
|
16
17
|
decodeDiagramUrl,
|
|
17
18
|
encodeDiagramUrl,
|
|
18
19
|
render
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-SVTI362O.js";
|
|
21
|
+
import "./chunk-66RUL3XF.js";
|
|
21
22
|
import "./chunk-YRYKTYMQ.js";
|
|
22
23
|
import "./chunk-YYVTBZZC.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-HEVYAHLW.js";
|
|
24
25
|
import {
|
|
25
26
|
REGISTRY_BY_ID,
|
|
26
27
|
chartTypes,
|
|
27
28
|
parseDgmo
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-KQ57MHRO.js";
|
|
29
30
|
import "./chunk-Q4V4XQWV.js";
|
|
30
31
|
import "./chunk-BTUTZMPT.js";
|
|
31
32
|
import "./chunk-YNRDWYZP.js";
|
|
32
33
|
import "./chunk-3XPUDB7B.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-QXKWYZNR.js";
|
|
34
35
|
import {
|
|
35
36
|
RACI_DIAGNOSTICS
|
|
36
37
|
} from "./chunk-PGEGPSCZ.js";
|
|
37
38
|
import {
|
|
38
39
|
BODY_DIAGNOSTICS
|
|
39
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-3UIKSPFB.js";
|
|
40
41
|
import "./chunk-BDXC7MDK.js";
|
|
41
42
|
import {
|
|
42
43
|
D3_DATA_CHART_TYPES,
|
|
43
44
|
renderDataChartD3,
|
|
44
45
|
supportsD3DataChart
|
|
45
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-QJJZSROI.js";
|
|
46
47
|
import "./chunk-HGN652MU.js";
|
|
47
48
|
import "./chunk-U6EQI3U6.js";
|
|
48
49
|
import "./chunk-7UEMZREK.js";
|
|
@@ -50,52 +51,52 @@ import "./chunk-A4GOY3PE.js";
|
|
|
50
51
|
import "./chunk-6KFWC4CO.js";
|
|
51
52
|
import "./chunk-HQCHYB5F.js";
|
|
52
53
|
import "./chunk-5LWQH6QV.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-XEGTMVYY.js";
|
|
55
|
+
import "./chunk-I2WKW7C7.js";
|
|
55
56
|
import "./chunk-TSA237IM.js";
|
|
56
57
|
import "./chunk-6IAA2QQ2.js";
|
|
57
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-6HJBFVLO.js";
|
|
58
59
|
import "./chunk-3P2DKJCG.js";
|
|
59
60
|
import "./chunk-3LKM6FMW.js";
|
|
60
61
|
import {
|
|
61
62
|
TREEMAP_DIAGNOSTICS
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
63
|
+
} from "./chunk-XJLKLU4D.js";
|
|
64
|
+
import "./chunk-7L3R6I3U.js";
|
|
64
65
|
import "./chunk-NNAAJVBU.js";
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-VUJGMJE6.js";
|
|
67
|
+
import "./chunk-C2CVAM3U.js";
|
|
68
|
+
import "./chunk-GKC3HILQ.js";
|
|
68
69
|
import "./chunk-U2HGPLZS.js";
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-DSWVNQVS.js";
|
|
71
|
+
import "./chunk-DZXYF2F5.js";
|
|
71
72
|
import {
|
|
72
73
|
SKETCH_DIAGNOSTICS
|
|
73
74
|
} from "./chunk-XHVV4NVW.js";
|
|
74
75
|
import {
|
|
75
76
|
SWIMLANE_DIAGNOSTICS
|
|
76
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-OMNGQPEZ.js";
|
|
77
78
|
import {
|
|
78
79
|
FAMILY_DIAGNOSTICS
|
|
79
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-VBYSIOOY.js";
|
|
80
81
|
import "./chunk-QQJUTGQH.js";
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-SXRTRMEE.js";
|
|
83
|
+
import "./chunk-NU3XLTGP.js";
|
|
84
|
+
import "./chunk-OTQKUHRS.js";
|
|
85
|
+
import "./chunk-SQLNBA64.js";
|
|
85
86
|
import {
|
|
86
87
|
PERT_DIAGNOSTICS
|
|
87
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-EAMEADTV.js";
|
|
88
89
|
import "./chunk-L3UHP6TD.js";
|
|
89
90
|
import "./chunk-USZW2HHU.js";
|
|
90
91
|
import {
|
|
91
92
|
EVENT_LINE_DIAGNOSTICS
|
|
92
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-HTMN2Z6U.js";
|
|
93
94
|
import "./chunk-I7F2A35O.js";
|
|
94
95
|
import {
|
|
95
96
|
VERSION_CONTROL_DIAGNOSTICS
|
|
96
97
|
} from "./chunk-6BFZKBGD.js";
|
|
97
|
-
import "./chunk-
|
|
98
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-3Y2DRD7S.js";
|
|
99
|
+
import "./chunk-QROYX7TT.js";
|
|
99
100
|
import "./chunk-IYULMRBE.js";
|
|
100
101
|
import {
|
|
101
102
|
getPalette,
|
|
@@ -103,9 +104,9 @@ import {
|
|
|
103
104
|
resolvePaletteOrFallback
|
|
104
105
|
} from "./chunk-R3XI2VC7.js";
|
|
105
106
|
import "./chunk-P6T66CCZ.js";
|
|
106
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-BH3UYK36.js";
|
|
107
108
|
import "./chunk-C3Z4DX3V.js";
|
|
108
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-FJUNPCYI.js";
|
|
109
110
|
import "./chunk-GBE54KY6.js";
|
|
110
111
|
import {
|
|
111
112
|
GRAPH_DIAGNOSTICS
|
|
@@ -866,6 +867,7 @@ export {
|
|
|
866
867
|
completeMapPlaces,
|
|
867
868
|
completeMapRegions,
|
|
868
869
|
decodeDiagramUrl2 as decodeDiagramUrl,
|
|
870
|
+
defaultEmbedBackground,
|
|
869
871
|
emit,
|
|
870
872
|
encodeDiagramUrl2 as encodeDiagramUrl,
|
|
871
873
|
formatDgmoError,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutMindmap
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7TV5Y53Y.js";
|
|
4
4
|
import "./chunk-YYVTBZZC.js";
|
|
5
5
|
import "./chunk-5LWQH6QV.js";
|
|
6
6
|
import "./chunk-IYULMRBE.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-FJUNPCYI.js";
|
|
8
8
|
import "./chunk-OTAL43EH.js";
|
|
9
9
|
import "./chunk-TLVIHFRO.js";
|
|
10
10
|
import "./chunk-CXK4DZH3.js";
|
|
@@ -12,4 +12,4 @@ import "./chunk-5WRI5ZAA.js";
|
|
|
12
12
|
export {
|
|
13
13
|
layoutMindmap
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=layout-
|
|
15
|
+
//# sourceMappingURL=layout-7MZ5NF2N.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
layoutC4Context,
|
|
7
7
|
layoutC4Deployment,
|
|
8
8
|
rollUpContextRelationships
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KFZYNWWO.js";
|
|
10
10
|
import "./chunk-HQCHYB5F.js";
|
|
11
11
|
import "./chunk-5LWQH6QV.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-FJUNPCYI.js";
|
|
13
13
|
import "./chunk-OTAL43EH.js";
|
|
14
14
|
import "./chunk-TLVIHFRO.js";
|
|
15
15
|
import "./chunk-CXK4DZH3.js";
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
layoutC4Deployment,
|
|
24
24
|
rollUpContextRelationships
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=layout-
|
|
26
|
+
//# sourceMappingURL=layout-FWODLIMP.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutOrg
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IUMPEA64.js";
|
|
4
4
|
import "./chunk-HQCHYB5F.js";
|
|
5
5
|
import "./chunk-5LWQH6QV.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-FJUNPCYI.js";
|
|
7
7
|
import "./chunk-OTAL43EH.js";
|
|
8
8
|
import "./chunk-TLVIHFRO.js";
|
|
9
9
|
import "./chunk-CXK4DZH3.js";
|
|
@@ -11,4 +11,4 @@ import "./chunk-5WRI5ZAA.js";
|
|
|
11
11
|
export {
|
|
12
12
|
layoutOrg
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=layout-
|
|
14
|
+
//# sourceMappingURL=layout-J36454XU.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutSitemap
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VDOOQZUD.js";
|
|
4
4
|
import "./chunk-HQCHYB5F.js";
|
|
5
5
|
import "./chunk-5LWQH6QV.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-FJUNPCYI.js";
|
|
7
7
|
import "./chunk-OTAL43EH.js";
|
|
8
8
|
import "./chunk-TLVIHFRO.js";
|
|
9
9
|
import "./chunk-CXK4DZH3.js";
|
|
@@ -11,4 +11,4 @@ import "./chunk-5WRI5ZAA.js";
|
|
|
11
11
|
export {
|
|
12
12
|
layoutSitemap
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=layout-
|
|
14
|
+
//# sourceMappingURL=layout-LD6XTLD6.js.map
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
GANTT_KNOWN_BOOLEANS,
|
|
3
3
|
GANTT_KNOWN_OPTIONS,
|
|
4
4
|
parseGantt
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-C2CVAM3U.js";
|
|
6
6
|
import "./chunk-U2HGPLZS.js";
|
|
7
7
|
import "./chunk-USZW2HHU.js";
|
|
8
8
|
import "./chunk-R3XI2VC7.js";
|
|
9
9
|
import "./chunk-P6T66CCZ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-FJUNPCYI.js";
|
|
11
11
|
import "./chunk-NOTA6TEI.js";
|
|
12
12
|
import "./chunk-OTAL43EH.js";
|
|
13
13
|
import "./chunk-TLVIHFRO.js";
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
GANTT_KNOWN_OPTIONS,
|
|
19
19
|
parseGantt
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=parser-
|
|
21
|
+
//# sourceMappingURL=parser-36HVKU5U.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseC4
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QROYX7TT.js";
|
|
4
4
|
import "./chunk-IYULMRBE.js";
|
|
5
5
|
import "./chunk-C3Z4DX3V.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-FJUNPCYI.js";
|
|
7
7
|
import "./chunk-FFUN5D66.js";
|
|
8
8
|
import "./chunk-NOTA6TEI.js";
|
|
9
9
|
import "./chunk-OTAL43EH.js";
|
|
@@ -13,4 +13,4 @@ import "./chunk-5WRI5ZAA.js";
|
|
|
13
13
|
export {
|
|
14
14
|
parseC4
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=parser-
|
|
16
|
+
//# sourceMappingURL=parser-4NO6VZ6S.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseEventLine
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HTMN2Z6U.js";
|
|
4
4
|
import "./chunk-I7F2A35O.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-FJUNPCYI.js";
|
|
6
6
|
import "./chunk-OTAL43EH.js";
|
|
7
7
|
import "./chunk-TLVIHFRO.js";
|
|
8
8
|
import "./chunk-CXK4DZH3.js";
|
|
@@ -10,4 +10,4 @@ import "./chunk-5WRI5ZAA.js";
|
|
|
10
10
|
export {
|
|
11
11
|
parseEventLine
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=parser-
|
|
13
|
+
//# sourceMappingURL=parser-4WQQQXCG.js.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
INFRA_TOP_LEVEL_OPTIONS,
|
|
3
3
|
extractSymbols,
|
|
4
4
|
parseInfra
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VUJGMJE6.js";
|
|
6
6
|
import "./chunk-U2HGPLZS.js";
|
|
7
7
|
import "./chunk-IYULMRBE.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-FJUNPCYI.js";
|
|
9
9
|
import "./chunk-I46X5VUA.js";
|
|
10
10
|
import "./chunk-FFUN5D66.js";
|
|
11
11
|
import "./chunk-NOTA6TEI.js";
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
extractSymbols,
|
|
19
19
|
parseInfra
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=parser-
|
|
21
|
+
//# sourceMappingURL=parser-5OXGPNBF.js.map
|