@diagrammo/dgmo 0.57.0 → 0.58.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.d.ts +57 -7
- package/dist/advanced.js +127 -117
- package/dist/auto.css +38 -2
- package/dist/auto.js +161 -124
- package/dist/auto.mjs +1827 -1431
- package/dist/block.css +38 -2
- package/dist/block.js +94 -52
- package/dist/{chart-meta-CPNVUZ5J.d.ts → chart-meta-C6UaqhTP.d.ts} +1 -1
- package/dist/chart-meta.d.ts +2 -2
- package/dist/chart-meta.js +44 -42
- package/dist/{charts-d3-Z6FOKUAL.js → charts-d3-K5M5J5ZM.js} +5 -5
- package/dist/{chunk-VYCV5WKH.js → chunk-2JPEBOUQ.js} +60 -44
- package/dist/{chunk-FERE46TP.js → chunk-2UBTPFIF.js} +3 -3
- package/dist/{chunk-CXI6X54X.js → chunk-3DY7TNZ7.js} +2 -2
- package/dist/{chunk-D5FANMSG.js → chunk-3LMUMAUS.js} +2 -2
- package/dist/{chunk-5J2RQGFG.js → chunk-4CE2GOC2.js} +3 -3
- package/dist/{chunk-T2VMOWAM.js → chunk-4ESLORPX.js} +3 -3
- package/dist/chunk-4UNGFVVY.js +181 -0
- package/dist/{chunk-ADKDIWCW.js → chunk-52KLHCXQ.js} +3 -3
- package/dist/{chunk-VSFAJUEF.js → chunk-5RPSN32F.js} +3 -3
- package/dist/{chunk-PKFW6GJD.js → chunk-5RY4W7J6.js} +3 -3
- package/dist/{chunk-FMPYKUKI.js → chunk-6F3MVYUW.js} +3 -3
- package/dist/{chunk-ST3ZNEUQ.js → chunk-6JYE3SDK.js} +2 -2
- package/dist/{chunk-FZECLCCU.js → chunk-6KTRV3O5.js} +3 -3
- package/dist/{chunk-57RE4N22.js → chunk-7Q6HX7ON.js} +2 -2
- package/dist/{chunk-ULR3BVNH.js → chunk-7SGR7A5K.js} +4 -4
- package/dist/{chunk-J6V3SMR3.js → chunk-7UZFAIKI.js} +7 -7
- package/dist/{chunk-XBTJJLAU.js → chunk-ATKB7VEN.js} +4 -4
- package/dist/{chunk-5VLUAAAE.js → chunk-AU4AQYOA.js} +3 -3
- package/dist/{chunk-4MB4UOT5.js → chunk-B4U7RRQ4.js} +2 -2
- package/dist/{chunk-QWUYFUNO.js → chunk-BFYPHZ5M.js} +2 -2
- package/dist/{chunk-7YPSFQFA.js → chunk-C7IKQOEQ.js} +6 -6
- package/dist/{chunk-X3ON4M5S.js → chunk-CBPFVH3N.js} +4 -4
- package/dist/{chunk-3M6MKHIQ.js → chunk-CC6XIQDE.js} +2 -2
- package/dist/{chunk-G3L4GWLA.js → chunk-CZIFUXI2.js} +3 -3
- package/dist/chunk-D3K4U3ZM.js +232 -0
- package/dist/{chunk-RQGNELB3.js → chunk-DWAQXY6T.js} +3 -3
- package/dist/{chunk-KRKU6WRS.js → chunk-DWMJLEBT.js} +4 -4
- package/dist/{chunk-VS7DGDT3.js → chunk-DZUDSGGQ.js} +5 -5
- package/dist/chunk-E55OZDFH.js +65 -0
- package/dist/{chunk-SQWWYGPT.js → chunk-E6CCWMTT.js} +5 -5
- package/dist/{chunk-3KOPPSUQ.js → chunk-E7HANW62.js} +12 -3
- package/dist/{chunk-7Q35X3AL.js → chunk-EDJYIQZM.js} +9 -233
- package/dist/{chunk-HBRGNLF5.js → chunk-EEF7BUX7.js} +6 -6
- package/dist/{chunk-3ZONSZOX.js → chunk-FWNJ45NW.js} +2 -2
- package/dist/{chunk-RB4HOOKP.js → chunk-FXIG472W.js} +2 -2
- package/dist/{chunk-ORZQVUGW.js → chunk-GAFNYUNJ.js} +4 -4
- package/dist/{chunk-PRKPFRC2.js → chunk-GGKWKNOL.js} +4 -4
- package/dist/{chunk-OFEUXZPI.js → chunk-HBIGEWRC.js} +3 -3
- package/dist/{chunk-D64FRGKU.js → chunk-HUYAMTCD.js} +2 -2
- package/dist/{chunk-NIUE5VWY.js → chunk-HXTS54OV.js} +3 -3
- package/dist/{chunk-PUGUOFM6.js → chunk-ILZHMKYQ.js} +3 -3
- package/dist/{chunk-LZX3RLRP.js → chunk-IRN5GBBO.js} +6 -6
- package/dist/{chunk-OYCIVSL3.js → chunk-JM65HLBZ.js} +6 -6
- package/dist/{chunk-DIKIHU52.js → chunk-KAG5JCZV.js} +3 -3
- package/dist/{chunk-4MJOBVY7.js → chunk-KNCY7YHC.js} +2 -2
- package/dist/{chunk-M3IYDSI7.js → chunk-L5DQB4C7.js} +5 -5
- package/dist/{chunk-EEKGMS63.js → chunk-LLDNNANC.js} +3 -3
- package/dist/{chunk-7SXTD7L6.js → chunk-LYQMN35H.js} +2 -2
- package/dist/{chunk-ES3MUYRX.js → chunk-MF4FDLFG.js} +3 -3
- package/dist/{chunk-YNAHUNMA.js → chunk-MPPOQOCF.js} +2 -2
- package/dist/{chunk-44GBBTMU.js → chunk-N7PF5IRF.js} +2 -2
- package/dist/{chunk-QMOX5I3G.js → chunk-NGGVVTP2.js} +5 -5
- package/dist/{chunk-UG4MWUXE.js → chunk-NPBAV3QU.js} +5 -5
- package/dist/{chunk-6PRLPGJB.js → chunk-NQGE76NC.js} +3 -3
- package/dist/{chunk-5XMDSXZT.js → chunk-NSUAU6JQ.js} +2 -2
- package/dist/{chunk-OHBIN74X.js → chunk-NW2K6UU2.js} +3 -3
- package/dist/{chunk-WOMXS5R7.js → chunk-NYCBN7YE.js} +3 -3
- package/dist/{chunk-MXDT446P.js → chunk-OMOU2V3W.js} +3 -3
- package/dist/chunk-ON4MEUC4.js +50 -0
- package/dist/{chunk-3D6LDLIH.js → chunk-OXANJRNK.js} +2 -2
- package/dist/{chunk-X32RDWT5.js → chunk-PH5WK6G5.js} +3 -3
- package/dist/{chunk-U3DGAE7L.js → chunk-PIIORN3Q.js} +3 -3
- package/dist/{chunk-Q772PVKH.js → chunk-QDOSCTL5.js} +2 -2
- package/dist/{chunk-CY5KE2P5.js → chunk-QS37VUFZ.js} +2 -2
- package/dist/{chunk-NFAHDPCG.js → chunk-RB3AFVPT.js} +3 -3
- package/dist/{chunk-LV5BFA24.js → chunk-RDHZRHDG.js} +3 -3
- package/dist/{chunk-SADYIA5Q.js → chunk-S3AZMBK7.js} +3 -3
- package/dist/{chunk-6HSRT6WI.js → chunk-SBQXLX6Y.js} +3 -3
- package/dist/{chunk-SFVG4AIG.js → chunk-SQK4EKOW.js} +3 -3
- package/dist/{chunk-6DR2GMDM.js → chunk-STYJ6EOV.js} +157 -134
- package/dist/{chunk-BQLJAYVB.js → chunk-TQC2SUMJ.js} +2 -2
- package/dist/{chunk-TZ72UBOA.js → chunk-TXQXPJTG.js} +2 -2
- package/dist/{chunk-RV2N7COG.js → chunk-UFDLQKCR.js} +2 -2
- package/dist/{chunk-INU6ANOH.js → chunk-UPTAWSCG.js} +2 -2
- package/dist/{chunk-K2GDF2ZR.js → chunk-VBSKNQUO.js} +4 -4
- package/dist/{chunk-KH74OWHU.js → chunk-VJYERZ2Q.js} +3 -3
- package/dist/{chunk-USFZQPJ2.js → chunk-W22JRLNA.js} +3 -3
- package/dist/{chunk-CQJ5SE5T.js → chunk-W2RU24DD.js} +4 -4
- package/dist/{chunk-NHZAYL2X.js → chunk-W6T5QRIR.js} +4 -4
- package/dist/{chunk-APD52YJV.js → chunk-WQWVLAA5.js} +4 -4
- package/dist/{chunk-D76B4DMV.js → chunk-WYG5VJY2.js} +2 -2
- package/dist/{chunk-VYEQPPS6.js → chunk-WYGLKR4I.js} +3 -3
- package/dist/{chunk-MGLJA5TK.js → chunk-X3YNX4DR.js} +2 -2
- package/dist/{chunk-3G7BCZ4J.js → chunk-X4JEAY73.js} +5 -5
- package/dist/{chunk-M65UOFJA.js → chunk-XHTRLRZ5.js} +3 -3
- package/dist/{chunk-3NSOKT7C.js → chunk-XXAHWYQU.js} +2 -2
- package/dist/{chunk-A6XELFU6.js → chunk-YAG7WAQE.js} +8 -8
- package/dist/{chunk-KF575IXC.js → chunk-YILSSUEL.js} +3 -3
- package/dist/{chunk-U4FSWAOJ.js → chunk-YKMOI6ZG.js} +4 -4
- package/dist/{chunk-TGOMHUOV.js → chunk-ZEIYC7XO.js} +12 -1
- package/dist/{chunk-PFG3EVRD.js → chunk-ZKNSLC35.js} +3 -3
- package/dist/{chunk-5LBCOFA5.js → chunk-ZW7LTYW2.js} +2 -2
- package/dist/cli.cjs +143 -142
- package/dist/cloud-reference.d.ts +15 -8
- package/dist/cloud-reference.js +8 -39
- package/dist/completion-registry.js +24 -5
- package/dist/dgmo-router-2637N4DY.js +90 -0
- package/dist/{dimensions-XRWIPAFO.js → dimensions-HSIQYP5Z.js} +5 -5
- package/dist/editor.js +11 -2
- package/dist/element.js +164 -127
- package/dist/element.mjs +1827 -1431
- package/dist/{flowchart-parser-DA3V2SLH.js → flowchart-parser-I2TEUWAP.js} +4 -4
- package/dist/{flowchart-renderer-JGLZB5P5.js → flowchart-renderer-ER66DNCI.js} +5 -5
- package/dist/highlight.js +11 -2
- package/dist/index.d.ts +13 -4
- package/dist/index.js +55 -49
- package/dist/{layout-5CX27X7I.js → layout-3QMCSW6B.js} +3 -3
- package/dist/{layout-NU5LQ4UP.js → layout-DH6GSKAH.js} +2 -2
- package/dist/{layout-AO3TPZUS.js → layout-HTDK3DMG.js} +4 -4
- package/dist/{layout-EQTOVNEE.js → layout-K4S54TX7.js} +4 -4
- package/dist/{layout-WHOOLGPO.js → layout-V5X3U3WB.js} +4 -4
- package/dist/{layout-TZKPVXKJ.js → layout-VFUHKLTS.js} +3 -3
- package/dist/{layout-AQXLQVAJ.js → layout-VNEBCYPX.js} +4 -4
- package/dist/{layout-search-6CVR2MTZ.js → layout-search-N6NQI5OQ.js} +5 -5
- package/dist/{parser-5UZWYSIV.js → parser-2RTQF2LA.js} +4 -4
- package/dist/{parser-4ZIJDGPG.js → parser-2VTOUMJY.js} +4 -4
- package/dist/{parser-HMQZPPOK.js → parser-3M3QQRCZ.js} +4 -4
- package/dist/{parser-RBNOWHGM.js → parser-4WSJVVG6.js} +4 -4
- package/dist/{parser-Q3KNFXQR.js → parser-67JHR6I6.js} +4 -4
- package/dist/{parser-MH62NYKM.js → parser-6GXEHNZD.js} +4 -4
- package/dist/{parser-O5XCVGZG.js → parser-6I3NOLKL.js} +3 -3
- package/dist/{parser-6CM27UPA.js → parser-7VNCLF77.js} +4 -4
- package/dist/{parser-QL2LBPFE.js → parser-AE7RC4IJ.js} +4 -4
- package/dist/{parser-DQ2DGDYO.js → parser-BDGMJSZB.js} +3 -3
- package/dist/{parser-WT3DSNPQ.js → parser-BVHECXAJ.js} +4 -4
- package/dist/{parser-QEWSTNEJ.js → parser-FLCLHHOM.js} +4 -4
- package/dist/{parser-LMNFVTIV.js → parser-FSSAJO2M.js} +4 -4
- package/dist/{parser-73YUU35J.js → parser-GH2Y6CR4.js} +3 -3
- package/dist/{parser-AYZTKZC3.js → parser-GUUNA7WE.js} +3 -3
- package/dist/{parser-DTXM5ROT.js → parser-ISJJO7TJ.js} +5 -5
- package/dist/parser-J3FUTZAQ.js +12 -0
- package/dist/{parser-Q62VR2UJ.js → parser-JY7ZU5PP.js} +5 -5
- package/dist/{parser-4TX6U4ZU.js → parser-KKBW25LM.js} +3 -3
- package/dist/{parser-XWNSCDY6.js → parser-M74SVSPT.js} +4 -4
- package/dist/{parser-CCAUZLYI.js → parser-MKJ52TD7.js} +4 -4
- package/dist/{parser-A6M25MLK.js → parser-MPQTXCBQ.js} +3 -3
- package/dist/{parser-IQLLBMBQ.js → parser-N3AAAGTA.js} +3 -3
- package/dist/{parser-OPOGIKFR.js → parser-N7SSE4SK.js} +4 -4
- package/dist/{parser-D7YZX3CH.js → parser-NH6IAVZJ.js} +3 -3
- package/dist/{parser-IPBEW2DG.js → parser-NKHBUGAX.js} +4 -4
- package/dist/{parser-PQXN6SBB.js → parser-QVX4FR3J.js} +5 -5
- package/dist/{parser-XQNM7BGD.js → parser-S6QH3QIK.js} +4 -4
- package/dist/{parser-PEBXIOPX.js → parser-UODHU3EP.js} +4 -4
- package/dist/{parser-5WMH55UA.js → parser-UVS6OHCO.js} +4 -4
- package/dist/{parser-SJ7ECFAP.js → parser-X3TCE7P5.js} +4 -4
- package/dist/{parser-QN3GJJ3J.js → parser-XQKSQBOT.js} +3 -3
- package/dist/{parser-KTVDCWHG.js → parser-XXYB4TRG.js} +4 -4
- package/dist/{registry-CaSw0PSH.d.ts → registry-C0HvobTb.d.ts} +17 -0
- package/dist/renderer-2G7Q3L5W.js +77 -0
- package/dist/{renderer-2TEGR3RX.js → renderer-2IO3H53I.js} +5 -5
- package/dist/{renderer-Q6TJ52B4.js → renderer-2KDW3TWO.js} +5 -5
- package/dist/{renderer-W5GF5USI.js → renderer-2SK7UM4O.js} +5 -5
- package/dist/{renderer-BNEO5W3E.js → renderer-34GG6RHO.js} +6 -6
- package/dist/{renderer-LRQ3OPNJ.js → renderer-44EXXXRC.js} +7 -7
- package/dist/{renderer-XKMG3SYD.js → renderer-4SH6U6WF.js} +6 -6
- package/dist/{renderer-TIIHLRMM.js → renderer-4WQRF2SK.js} +5 -5
- package/dist/{renderer-KXMKAXPQ.js → renderer-7AVFPE3Q.js} +4 -4
- package/dist/{renderer-EJ3FETD2.js → renderer-BA6WTWVL.js} +5 -5
- package/dist/{renderer-5BFS4NBL.js → renderer-BLPXBLUP.js} +5 -5
- package/dist/{renderer-I2P5FTZ2.js → renderer-C7LFE5CB.js} +7 -7
- package/dist/{renderer-3WYLLPQL.js → renderer-CUXXNHFU.js} +6 -6
- package/dist/{renderer-B6XOO6EE.js → renderer-DRNJJNAE.js} +3 -3
- package/dist/{renderer-N4V7XVC3.js → renderer-DVUKHOFB.js} +7 -7
- package/dist/{renderer-6OFPEBHG.js → renderer-I7Q5U2TU.js} +5 -5
- package/dist/{renderer-ND7YIUHD.js → renderer-JIUVU3PF.js} +3 -3
- package/dist/{renderer-HDLM6OY6.js → renderer-LXIIZ3BH.js} +7 -7
- package/dist/{renderer-VWBNIZV3.js → renderer-MTX6PLPA.js} +6 -6
- package/dist/{renderer-LU4R3BP2.js → renderer-QGZ2BOJG.js} +4 -4
- package/dist/{renderer-AK2X3VRY.js → renderer-SL5IQJKB.js} +7 -7
- package/dist/{renderer-IAJMS5U5.js → renderer-SL5LE7MU.js} +7 -7
- package/dist/{renderer-JHYUK5TN.js → renderer-SXZBGMEH.js} +3 -3
- package/dist/{renderer-LNOBG226.js → renderer-UPANX7XK.js} +7 -7
- package/dist/{renderer-FQLFE3TQ.js → renderer-VDCGDJ6L.js} +5 -5
- package/dist/{renderer-BZZKS7KQ.js → renderer-XJFRVCF6.js} +7 -7
- package/dist/{renderer-LMLSA457.js → renderer-XRC5R3OP.js} +5 -5
- package/dist/{renderer-PLRNQ6T3.js → renderer-Y64MT4JM.js} +7 -7
- package/dist/{renderer-XSZ5MUIF.js → renderer-ZLJ5CCSO.js} +5 -5
- package/dist/{renderer-W3JK5YVD.js → renderer-ZY5TXTS5.js} +5 -5
- package/dist/{renderer-radial-LZAPQVM5.js → renderer-radial-4YKK4JNW.js} +6 -6
- package/dist/{state-parser-NQGVYSM3.js → state-parser-3PFFJO5M.js} +5 -5
- package/dist/{state-renderer-KSAKMFQ2.js → state-renderer-2HDVRUNG.js} +7 -7
- package/dist/{themes-tbBkIVsn.d.ts → themes-l406Vj2z.d.ts} +1 -1
- package/docs/language-reference.md +29 -0
- package/package.json +1 -1
- package/dist/dgmo-router-PMEKTIJ7.js +0 -88
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-6VJCURWU.js";
|
|
13
13
|
import {
|
|
14
14
|
renderIntegratedLegend
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-N7PF5IRF.js";
|
|
16
16
|
import {
|
|
17
17
|
getLegendExtent,
|
|
18
18
|
getMaxLegendReservedHeight
|
|
@@ -29,16 +29,16 @@ import {
|
|
|
29
29
|
isSequenceBlock,
|
|
30
30
|
isSequenceNote,
|
|
31
31
|
isSequenceSection
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2UBTPFIF.js";
|
|
33
33
|
import {
|
|
34
34
|
resolveActiveTagGroup,
|
|
35
35
|
tagAttrKey
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-3LMUMAUS.js";
|
|
37
37
|
import {
|
|
38
38
|
fillModeFromOptions,
|
|
39
39
|
legendInlineRequested,
|
|
40
40
|
legendSuppressed
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-E7HANW62.js";
|
|
42
42
|
import {
|
|
43
43
|
measureText,
|
|
44
44
|
truncateText
|
|
@@ -1907,4 +1907,4 @@ export {
|
|
|
1907
1907
|
renderSequenceDiagram,
|
|
1908
1908
|
buildNoteMessageMap
|
|
1909
1909
|
};
|
|
1910
|
-
//# sourceMappingURL=chunk-
|
|
1910
|
+
//# sourceMappingURL=chunk-E6CCWMTT.js.map
|
|
@@ -375,7 +375,14 @@ var DIRECTIVES_REGISTRY = [
|
|
|
375
375
|
{ token: "no-rounds", category: "modifier" },
|
|
376
376
|
{ token: "single-elim", category: "modifier" },
|
|
377
377
|
{ token: "double-elim", category: "modifier" },
|
|
378
|
-
{ token: "seeded", category: "modifier" }
|
|
378
|
+
{ token: "seeded", category: "modifier" },
|
|
379
|
+
// ── Live link (§38) ──────────────────────────────────────
|
|
380
|
+
// The pointer type's one directive. Registered so it highlights and
|
|
381
|
+
// autocompletes like `palette` does — §38 justifies the shape by calling it
|
|
382
|
+
// "the ordinary DGMO directive shape", and an unregistered `url` would make
|
|
383
|
+
// that sentence false in the editor: `editor/tokens.ts` specializes only
|
|
384
|
+
// against the keyword registries, so it would render as plain identifier text.
|
|
385
|
+
{ token: "url", category: "directive" }
|
|
379
386
|
];
|
|
380
387
|
function tokensWhere(pred) {
|
|
381
388
|
const out = /* @__PURE__ */ new Set();
|
|
@@ -636,7 +643,9 @@ var ALL_CHART_TYPES = /* @__PURE__ */ new Set([
|
|
|
636
643
|
"raci",
|
|
637
644
|
"map",
|
|
638
645
|
"family",
|
|
639
|
-
"bracket"
|
|
646
|
+
"bracket",
|
|
647
|
+
// pointer, not a drawing — internal (see ChartTypeMeta.internal)
|
|
648
|
+
"live-link"
|
|
640
649
|
]);
|
|
641
650
|
function measureIndent(line) {
|
|
642
651
|
let indent = 0;
|
|
@@ -1169,4 +1178,4 @@ export {
|
|
|
1169
1178
|
splitNameAndMeta,
|
|
1170
1179
|
warnUnknownMetaKeys
|
|
1171
1180
|
};
|
|
1172
|
-
//# sourceMappingURL=chunk-
|
|
1181
|
+
//# sourceMappingURL=chunk-E7HANW62.js.map
|
|
@@ -6,7 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-U7VO6JAA.js";
|
|
7
7
|
import {
|
|
8
8
|
parseDgmoChartType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2JPEBOUQ.js";
|
|
10
|
+
import {
|
|
11
|
+
chartTypes
|
|
12
|
+
} from "./chunk-ZEIYC7XO.js";
|
|
10
13
|
import {
|
|
11
14
|
measureText,
|
|
12
15
|
truncateText
|
|
@@ -16,7 +19,8 @@ import {
|
|
|
16
19
|
var DOCS_BASE = "https://diagrammo.app/docs";
|
|
17
20
|
function docsLink(source) {
|
|
18
21
|
const chartType = parseDgmoChartType(source);
|
|
19
|
-
|
|
22
|
+
const hasGuide = chartType !== null && !chartTypes.some((c) => c.id === chartType && c.internal);
|
|
23
|
+
return hasGuide ? {
|
|
20
24
|
url: `${DOCS_BASE}/chart-${chartType}/`,
|
|
21
25
|
label: `Read the ${chartType} guide \u2197`
|
|
22
26
|
} : { url: `${DOCS_BASE}/`, label: "Browse the DGMO docs \u2197" };
|
|
@@ -195,237 +199,9 @@ function escapeXml(s) {
|
|
|
195
199
|
return s.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
196
200
|
}
|
|
197
201
|
|
|
198
|
-
// src/utils/svg-embed.ts
|
|
199
|
-
function normalizeSvgForEmbed(input, opts = {}) {
|
|
200
|
-
let svg = input;
|
|
201
|
-
if ((opts.background ?? "transparent") === "transparent") {
|
|
202
|
-
svg = stripRootBackground(svg);
|
|
203
|
-
}
|
|
204
|
-
const rootMatch = svg.match(/<svg[^>]*>/);
|
|
205
|
-
const rootTag = rootMatch?.[0] ?? "";
|
|
206
|
-
if (rootTag && !rootTag.includes("viewBox")) {
|
|
207
|
-
const wh = rootTag.match(/width="(\d+)"[^>]*height="(\d+)"/);
|
|
208
|
-
if (wh) {
|
|
209
|
-
svg = svg.replace(/<svg/, `<svg viewBox="0 0 ${wh[1]} ${wh[2]}"`);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
const tight = computeBBox(svg);
|
|
213
|
-
if (tight && tight.width > 0 && tight.height > 0) {
|
|
214
|
-
const pad = 16;
|
|
215
|
-
const x = tight.x - pad;
|
|
216
|
-
const y = tight.y - pad;
|
|
217
|
-
const w = tight.width + pad * 2;
|
|
218
|
-
const h = tight.height + pad * 2;
|
|
219
|
-
const canvas = readViewBox(svg);
|
|
220
|
-
const TOL = 2;
|
|
221
|
-
const MIN_COVERAGE = 0.5;
|
|
222
|
-
const trustworthy = !canvas || x >= canvas.x - TOL && y >= canvas.y - TOL && x + w <= canvas.x + canvas.width + TOL && y + h <= canvas.y + canvas.height + TOL && w >= canvas.width * MIN_COVERAGE && h >= canvas.height * MIN_COVERAGE;
|
|
223
|
-
if (trustworthy) {
|
|
224
|
-
const vb = `${x} ${y} ${w} ${h}`;
|
|
225
|
-
svg = svg.replace(/(<svg[^>]*?)viewBox="[^"]*"/, `$1viewBox="${vb}"`);
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
svg = svg.replace(/(<svg[^>]*?) width="[^"]*"/g, "$1");
|
|
229
|
-
svg = svg.replace(/(<svg[^>]*?) height="[^"]*"/g, "$1");
|
|
230
|
-
svg = svg.replace(/<svg\s{2,}/g, "<svg ");
|
|
231
|
-
return svg;
|
|
232
|
-
}
|
|
233
|
-
var BG_MEANINGFUL_TYPES = /* @__PURE__ */ new Set(["map"]);
|
|
234
|
-
function defaultEmbedBackground(chartType) {
|
|
235
|
-
return chartType && BG_MEANINGFUL_TYPES.has(chartType) ? "opaque" : "transparent";
|
|
236
|
-
}
|
|
237
|
-
function stripRootBackground(svg) {
|
|
238
|
-
const rootMatch = svg.match(/<svg\b[^>]*>/);
|
|
239
|
-
if (!rootMatch) return svg;
|
|
240
|
-
const rootTag = rootMatch[0];
|
|
241
|
-
const styleMatch = rootTag.match(/style="([^"]*)"/);
|
|
242
|
-
const style = styleMatch?.[1] ?? "";
|
|
243
|
-
const bgMatch = style.match(/background:\s*([^;]+)/);
|
|
244
|
-
const bgColor = bgMatch ? normalizeColor(bgMatch[1]) : null;
|
|
245
|
-
const canvas = rootCanvas(rootTag, svg);
|
|
246
|
-
let out = svg;
|
|
247
|
-
if (bgMatch) {
|
|
248
|
-
const cleaned = style.replace(/background:\s*[^;]+;?/i, "").replace(/\s{2,}/g, " ").replace(/;\s*$/, "").trim();
|
|
249
|
-
const newRoot = (cleaned ? rootTag.replace(/style="[^"]*"/, `style="${cleaned}"`) : rootTag.replace(/\s*style="[^"]*"/, "")).replace(/<svg\s{2,}/, "<svg ");
|
|
250
|
-
out = out.replace(rootTag, newRoot);
|
|
251
|
-
}
|
|
252
|
-
if (bgColor && canvas) {
|
|
253
|
-
out = out.replace(
|
|
254
|
-
/<rect\b[^>]*?\/?>(?:\s*<\/rect>)?/g,
|
|
255
|
-
(m) => isFullCanvasFill(m, bgColor, canvas) ? "" : m
|
|
256
|
-
);
|
|
257
|
-
}
|
|
258
|
-
return out;
|
|
259
|
-
}
|
|
260
|
-
function isFullCanvasFill(tag, bgColor, canvas) {
|
|
261
|
-
const fm = tag.match(/\bfill="([^"]*)"/);
|
|
262
|
-
if (!fm || normalizeColor(fm[1]) !== bgColor) return false;
|
|
263
|
-
const w = numAttr(tag, "width");
|
|
264
|
-
const h = numAttr(tag, "height");
|
|
265
|
-
if (w === null || h === null) return false;
|
|
266
|
-
const x = numAttr(tag, "x") ?? 0;
|
|
267
|
-
const y = numAttr(tag, "y") ?? 0;
|
|
268
|
-
const T = 1.5;
|
|
269
|
-
return Math.abs(x) <= T && Math.abs(y) <= T && Math.abs(w - canvas.w) <= T && Math.abs(h - canvas.h) <= T;
|
|
270
|
-
}
|
|
271
|
-
function rootCanvas(rootTag, svg) {
|
|
272
|
-
const wm = rootTag.match(/\bwidth="([\d.]+)"/);
|
|
273
|
-
const hm = rootTag.match(/\bheight="([\d.]+)"/);
|
|
274
|
-
if (wm && hm) return { w: parseFloat(wm[1]), h: parseFloat(hm[1]) };
|
|
275
|
-
const vb = readViewBox(svg);
|
|
276
|
-
return vb ? { w: vb.width, h: vb.height } : null;
|
|
277
|
-
}
|
|
278
|
-
function numAttr(tag, name) {
|
|
279
|
-
const m = tag.match(new RegExp(`\\b${name}="([^"]*)"`));
|
|
280
|
-
if (!m) return null;
|
|
281
|
-
const n = parseFloat(m[1]);
|
|
282
|
-
return Number.isFinite(n) ? n : null;
|
|
283
|
-
}
|
|
284
|
-
function normalizeColor(c) {
|
|
285
|
-
const s = c.trim().toLowerCase();
|
|
286
|
-
const hex6 = s.match(/^#([0-9a-f]{6})$/);
|
|
287
|
-
if (hex6) {
|
|
288
|
-
const n = parseInt(hex6[1], 16);
|
|
289
|
-
return `${n >> 16 & 255},${n >> 8 & 255},${n & 255}`;
|
|
290
|
-
}
|
|
291
|
-
const hex3 = s.match(/^#([0-9a-f]{3})$/);
|
|
292
|
-
if (hex3) {
|
|
293
|
-
const [r, g, b] = hex3[1].split("").map((ch) => parseInt(ch + ch, 16));
|
|
294
|
-
return `${r},${g},${b}`;
|
|
295
|
-
}
|
|
296
|
-
const rgb = s.match(/^rgba?\(\s*(\d+)[,\s]+(\d+)[,\s]+(\d+)/);
|
|
297
|
-
if (rgb) return `${+rgb[1]},${+rgb[2]},${+rgb[3]}`;
|
|
298
|
-
return null;
|
|
299
|
-
}
|
|
300
|
-
function getEmbedSvgViewBox(svg) {
|
|
301
|
-
const tight = computeBBox(svg);
|
|
302
|
-
if (!tight || tight.width <= 0 || tight.height <= 0) return null;
|
|
303
|
-
const pad = 16;
|
|
304
|
-
return {
|
|
305
|
-
x: tight.x - pad,
|
|
306
|
-
y: tight.y - pad,
|
|
307
|
-
width: tight.width + pad * 2,
|
|
308
|
-
height: tight.height + pad * 2
|
|
309
|
-
};
|
|
310
|
-
}
|
|
311
|
-
function readViewBox(svg) {
|
|
312
|
-
const m = svg.match(/<svg[^>]*?\bviewBox="([^"]+)"/);
|
|
313
|
-
if (!m) return null;
|
|
314
|
-
const n = m[1].trim().split(/[\s,]+/).map(Number);
|
|
315
|
-
if (n.length !== 4 || n.some((v) => !Number.isFinite(v)) || n[2] <= 0 || n[3] <= 0)
|
|
316
|
-
return null;
|
|
317
|
-
return { x: n[0], y: n[1], width: n[2], height: n[3] };
|
|
318
|
-
}
|
|
319
|
-
function computeBBox(svg) {
|
|
320
|
-
const xs = [];
|
|
321
|
-
const ys = [];
|
|
322
|
-
function push(x, y) {
|
|
323
|
-
if (Number.isFinite(x) && Number.isFinite(y)) {
|
|
324
|
-
xs.push(x);
|
|
325
|
-
ys.push(y);
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
function attr(tag, name) {
|
|
329
|
-
const m = tag.match(new RegExp(`\\b${name}="([^"]*)"`));
|
|
330
|
-
if (!m) return null;
|
|
331
|
-
const n = parseFloat(m[1]);
|
|
332
|
-
return Number.isFinite(n) ? n : null;
|
|
333
|
-
}
|
|
334
|
-
for (const m of svg.matchAll(/<rect\b[^>]*?\/?>/g)) {
|
|
335
|
-
const tag = m[0];
|
|
336
|
-
const x = attr(tag, "x");
|
|
337
|
-
const y = attr(tag, "y");
|
|
338
|
-
const w = attr(tag, "width");
|
|
339
|
-
const h = attr(tag, "height");
|
|
340
|
-
if (x !== null && y !== null && w !== null && h !== null) {
|
|
341
|
-
push(x, y);
|
|
342
|
-
push(x + w, y + h);
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
for (const m of svg.matchAll(/<line\b[^>]*?\/?>/g)) {
|
|
346
|
-
const tag = m[0];
|
|
347
|
-
const x1 = attr(tag, "x1");
|
|
348
|
-
const y1 = attr(tag, "y1");
|
|
349
|
-
const x2 = attr(tag, "x2");
|
|
350
|
-
const y2 = attr(tag, "y2");
|
|
351
|
-
if (x1 !== null && y1 !== null && x2 !== null && y2 !== null) {
|
|
352
|
-
push(x1, y1);
|
|
353
|
-
push(x2, y2);
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
for (const m of svg.matchAll(/<circle\b[^>]*?\/?>/g)) {
|
|
357
|
-
const tag = m[0];
|
|
358
|
-
const cx = attr(tag, "cx");
|
|
359
|
-
const cy = attr(tag, "cy");
|
|
360
|
-
const r = attr(tag, "r");
|
|
361
|
-
if (cx !== null && cy !== null && r !== null) {
|
|
362
|
-
push(cx - r, cy - r);
|
|
363
|
-
push(cx + r, cy + r);
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
for (const m of svg.matchAll(/<ellipse\b[^>]*?\/?>/g)) {
|
|
367
|
-
const tag = m[0];
|
|
368
|
-
const cx = attr(tag, "cx");
|
|
369
|
-
const cy = attr(tag, "cy");
|
|
370
|
-
const rx = attr(tag, "rx");
|
|
371
|
-
const ry = attr(tag, "ry");
|
|
372
|
-
if (cx !== null && cy !== null && rx !== null && ry !== null) {
|
|
373
|
-
push(cx - rx, cy - ry);
|
|
374
|
-
push(cx + rx, cy + ry);
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
for (const m of svg.matchAll(/<text\b([^>]*?)>([\s\S]*?)<\/text>/g)) {
|
|
378
|
-
const tag = `<text${m[1]}>`;
|
|
379
|
-
const text = m[2].replace(/<[^>]+>/g, "");
|
|
380
|
-
const x = attr(tag, "x");
|
|
381
|
-
const y = attr(tag, "y");
|
|
382
|
-
if (x !== null && y !== null) {
|
|
383
|
-
const fontSize = attr(tag, "font-size") ?? (() => {
|
|
384
|
-
const s = tag.match(/font-size:\s*([\d.]+)/);
|
|
385
|
-
return s ? parseFloat(s[1]) : 14;
|
|
386
|
-
})();
|
|
387
|
-
const w = text.length * fontSize * 0.5;
|
|
388
|
-
const anchor = tag.match(/\btext-anchor="([^"]*)"/)?.[1] ?? "start";
|
|
389
|
-
const left = anchor === "middle" ? x - w / 2 : anchor === "end" ? x - w : x;
|
|
390
|
-
const right = anchor === "middle" ? x + w / 2 : anchor === "end" ? x : x + w;
|
|
391
|
-
push(left, y - fontSize * 0.9);
|
|
392
|
-
push(right, y + fontSize * 0.25);
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
for (const m of svg.matchAll(/<path\b[^>]*?>/g)) {
|
|
396
|
-
const tag = m[0];
|
|
397
|
-
if (tag.includes("data-embed-ignore-bbox")) continue;
|
|
398
|
-
const dm = tag.match(/\bd="([^"]+)"/);
|
|
399
|
-
if (!dm) continue;
|
|
400
|
-
const d = dm[1];
|
|
401
|
-
const nums = d.match(/-?\d+(?:\.\d+)?/g);
|
|
402
|
-
if (!nums) continue;
|
|
403
|
-
for (let i = 0; i + 1 < nums.length; i += 2) {
|
|
404
|
-
push(parseFloat(nums[i]), parseFloat(nums[i + 1]));
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
for (const m of svg.matchAll(
|
|
408
|
-
/<(?:polygon|polyline)\b[^>]*?\bpoints="([^"]+)"/g
|
|
409
|
-
)) {
|
|
410
|
-
const nums = m[1].match(/-?\d+(?:\.\d+)?/g);
|
|
411
|
-
if (!nums) continue;
|
|
412
|
-
for (let i = 0; i + 1 < nums.length; i += 2) {
|
|
413
|
-
push(parseFloat(nums[i]), parseFloat(nums[i + 1]));
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
if (xs.length === 0 || ys.length === 0) return null;
|
|
417
|
-
const minX = Math.min(...xs);
|
|
418
|
-
const maxX = Math.max(...xs);
|
|
419
|
-
const minY = Math.min(...ys);
|
|
420
|
-
const maxY = Math.max(...ys);
|
|
421
|
-
return { x: minX, y: minY, width: maxX - minX, height: maxY - minY };
|
|
422
|
-
}
|
|
423
|
-
|
|
424
202
|
export {
|
|
425
203
|
docsLink,
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
defaultEmbedBackground,
|
|
429
|
-
getEmbedSvgViewBox
|
|
204
|
+
MONO_FAMILY,
|
|
205
|
+
renderErrorCard
|
|
430
206
|
};
|
|
431
|
-
//# sourceMappingURL=chunk-
|
|
207
|
+
//# sourceMappingURL=chunk-EDJYIQZM.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeNodeText,
|
|
3
3
|
layoutMindmap
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FWNJ45NW.js";
|
|
5
5
|
import {
|
|
6
6
|
extractExportSvg,
|
|
7
7
|
runInExportContainer
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-6VJCURWU.js";
|
|
23
23
|
import {
|
|
24
24
|
renderIntegratedLegend
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-N7PF5IRF.js";
|
|
26
26
|
import {
|
|
27
27
|
getLegendExtent,
|
|
28
28
|
getMaxLegendReservedHeight
|
|
@@ -36,18 +36,18 @@ import {
|
|
|
36
36
|
} from "./chunk-6KFWC4CO.js";
|
|
37
37
|
import {
|
|
38
38
|
parseMindmap
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-YILSSUEL.js";
|
|
40
40
|
import {
|
|
41
41
|
preprocessDescriptionLine
|
|
42
42
|
} from "./chunk-IYULMRBE.js";
|
|
43
43
|
import {
|
|
44
44
|
tagAttrKey
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-3LMUMAUS.js";
|
|
46
46
|
import {
|
|
47
47
|
fillModeFromOptions,
|
|
48
48
|
legendInlineRequested,
|
|
49
49
|
legendSuppressed
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-E7HANW62.js";
|
|
51
51
|
import {
|
|
52
52
|
LEGEND_GROUP_GAP
|
|
53
53
|
} from "./chunk-SCJ7CAJF.js";
|
|
@@ -426,4 +426,4 @@ export {
|
|
|
426
426
|
renderMindmap,
|
|
427
427
|
renderMindmapForExport
|
|
428
428
|
};
|
|
429
|
-
//# sourceMappingURL=chunk-
|
|
429
|
+
//# sourceMappingURL=chunk-EEF7BUX7.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
injectDefaultTagMetadata,
|
|
9
9
|
resolveTagColor
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3LMUMAUS.js";
|
|
11
11
|
import {
|
|
12
12
|
measureText,
|
|
13
13
|
truncateText
|
|
@@ -547,4 +547,4 @@ export {
|
|
|
547
547
|
computeNodeText,
|
|
548
548
|
layoutMindmap
|
|
549
549
|
};
|
|
550
|
-
//# sourceMappingURL=chunk-
|
|
550
|
+
//# sourceMappingURL=chunk-FWNJ45NW.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveTagColor,
|
|
3
3
|
tagAttrKey
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3LMUMAUS.js";
|
|
5
5
|
import {
|
|
6
6
|
mix
|
|
7
7
|
} from "./chunk-42IT4BG2.js";
|
|
@@ -176,4 +176,4 @@ export {
|
|
|
176
176
|
formatPct,
|
|
177
177
|
buildLegend
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=chunk-
|
|
179
|
+
//# sourceMappingURL=chunk-FXIG472W.js.map
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-6VJCURWU.js";
|
|
25
25
|
import {
|
|
26
26
|
renderIntegratedLegend
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-N7PF5IRF.js";
|
|
28
28
|
import {
|
|
29
29
|
getLegendExtent,
|
|
30
30
|
getMaxLegendReservedHeight
|
|
@@ -39,12 +39,12 @@ import {
|
|
|
39
39
|
} from "./chunk-6KFWC4CO.js";
|
|
40
40
|
import {
|
|
41
41
|
resolveTagColor
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-3LMUMAUS.js";
|
|
43
43
|
import {
|
|
44
44
|
fillModeFromOptions,
|
|
45
45
|
legendInlineRequested,
|
|
46
46
|
legendSuppressed
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-E7HANW62.js";
|
|
48
48
|
import {
|
|
49
49
|
CHAR_WIDTH_RATIO,
|
|
50
50
|
measureText,
|
|
@@ -813,4 +813,4 @@ export {
|
|
|
813
813
|
renderBoxesAndLines,
|
|
814
814
|
renderBoxesAndLinesForExport
|
|
815
815
|
};
|
|
816
|
-
//# sourceMappingURL=chunk-
|
|
816
|
+
//# sourceMappingURL=chunk-GAFNYUNJ.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
mapLegendConfig,
|
|
7
7
|
mapLegendGroups,
|
|
8
8
|
parsePathRings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZW7LTYW2.js";
|
|
10
10
|
import {
|
|
11
11
|
renderIntegratedLegend
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N7PF5IRF.js";
|
|
13
13
|
import {
|
|
14
14
|
TITLE_FONT_SIZE,
|
|
15
15
|
TITLE_FONT_WEIGHT,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-6KFWC4CO.js";
|
|
21
21
|
import {
|
|
22
22
|
parseClock
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MPPOQOCF.js";
|
|
24
24
|
import {
|
|
25
25
|
fixedParts,
|
|
26
26
|
formatTime,
|
|
@@ -781,4 +781,4 @@ export {
|
|
|
781
781
|
renderMap,
|
|
782
782
|
renderMapForExport
|
|
783
783
|
};
|
|
784
|
-
//# sourceMappingURL=chunk-
|
|
784
|
+
//# sourceMappingURL=chunk-GGKWKNOL.js.map
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
getSimpleChartLegendGroups,
|
|
33
33
|
parseChart,
|
|
34
34
|
parseExtendedChart
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-QS37VUFZ.js";
|
|
36
36
|
import {
|
|
37
37
|
EMPHASIS_DIM_OPACITY,
|
|
38
38
|
EMPHASIS_DIM_TEXT_OPACITY,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-2CW5ZTNH.js";
|
|
41
41
|
import {
|
|
42
42
|
tagAttrKey
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-3LMUMAUS.js";
|
|
44
44
|
import {
|
|
45
45
|
LEGEND_DOT_R,
|
|
46
46
|
LEGEND_ENTRY_FONT_SIZE,
|
|
@@ -2061,4 +2061,4 @@ export {
|
|
|
2061
2061
|
supportsD3DataChart,
|
|
2062
2062
|
renderDataChartD3
|
|
2063
2063
|
};
|
|
2064
|
-
//# sourceMappingURL=chunk-
|
|
2064
|
+
//# sourceMappingURL=chunk-HBIGEWRC.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
extractColor,
|
|
3
3
|
measureIndent,
|
|
4
4
|
parseFirstLine
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-E7HANW62.js";
|
|
6
6
|
import {
|
|
7
7
|
emit,
|
|
8
8
|
formatDgmoError,
|
|
@@ -507,4 +507,4 @@ export {
|
|
|
507
507
|
VERSION_CONTROL_DIAGNOSTICS,
|
|
508
508
|
parseVersionControl
|
|
509
509
|
};
|
|
510
|
-
//# sourceMappingURL=chunk-
|
|
510
|
+
//# sourceMappingURL=chunk-HUYAMTCD.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
stripDefaultModifier,
|
|
18
18
|
tagAttrKey,
|
|
19
19
|
validateTagGroupNames
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3LMUMAUS.js";
|
|
21
21
|
import {
|
|
22
22
|
C4_REGISTRY,
|
|
23
23
|
OPTION_NOCOLON_RE,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
splitNameAndMeta,
|
|
28
28
|
warnUnknownMetaKeys,
|
|
29
29
|
withTagAliases
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-E7HANW62.js";
|
|
31
31
|
import {
|
|
32
32
|
formatDgmoError,
|
|
33
33
|
makeDgmoError,
|
|
@@ -825,4 +825,4 @@ function validateDeploymentRefs(result, knownNames, pushWarning) {
|
|
|
825
825
|
export {
|
|
826
826
|
parseC4
|
|
827
827
|
};
|
|
828
|
-
//# sourceMappingURL=chunk-
|
|
828
|
+
//# sourceMappingURL=chunk-HXTS54OV.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tagAttrKey
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3LMUMAUS.js";
|
|
4
4
|
import {
|
|
5
5
|
legendSuppressed
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-E7HANW62.js";
|
|
7
7
|
import {
|
|
8
8
|
LEGEND_CAPSULE_PAD,
|
|
9
9
|
LEGEND_DOT_R,
|
|
@@ -1718,4 +1718,4 @@ export {
|
|
|
1718
1718
|
layoutC4Components,
|
|
1719
1719
|
layoutC4Deployment
|
|
1720
1720
|
};
|
|
1721
|
-
//# sourceMappingURL=chunk-
|
|
1721
|
+
//# sourceMappingURL=chunk-ILZHMKYQ.js.map
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "./chunk-NZ5QVASG.js";
|
|
32
32
|
import {
|
|
33
33
|
renderIntegratedLegend
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-N7PF5IRF.js";
|
|
35
35
|
import {
|
|
36
36
|
getLegendExtent,
|
|
37
37
|
getMaxLegendReservedHeight
|
|
@@ -48,12 +48,12 @@ import {
|
|
|
48
48
|
} from "./chunk-IYULMRBE.js";
|
|
49
49
|
import {
|
|
50
50
|
tagAttrKey
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-3LMUMAUS.js";
|
|
52
52
|
import {
|
|
53
53
|
fillModeFromOptions,
|
|
54
54
|
legendInlineRequested,
|
|
55
55
|
legendSuppressed
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-E7HANW62.js";
|
|
57
57
|
import {
|
|
58
58
|
EYE_CLOSED_PATH,
|
|
59
59
|
EYE_OPEN_PATH,
|
|
@@ -449,8 +449,8 @@ function renderLegend(parent, legendGroups, palette, isDark, activeTagGroup, fix
|
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
async function renderSitemapForExport(content, theme, palette) {
|
|
452
|
-
const { parseSitemap } = await import("./parser-
|
|
453
|
-
const { layoutSitemap } = await import("./layout-
|
|
452
|
+
const { parseSitemap } = await import("./parser-2RTQF2LA.js");
|
|
453
|
+
const { layoutSitemap } = await import("./layout-K4S54TX7.js");
|
|
454
454
|
const { getPalette } = await import("./palettes-WO3VA6NU.js");
|
|
455
455
|
const isDark = theme === "dark";
|
|
456
456
|
const effectivePalette = palette ?? (isDark ? getPalette("nord").dark : getPalette("nord").light);
|
|
@@ -500,4 +500,4 @@ export {
|
|
|
500
500
|
renderSitemap,
|
|
501
501
|
renderSitemapForExport
|
|
502
502
|
};
|
|
503
|
-
//# sourceMappingURL=chunk-
|
|
503
|
+
//# sourceMappingURL=chunk-IRN5GBBO.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
layoutC4Containers,
|
|
5
5
|
layoutC4Context,
|
|
6
6
|
layoutC4Deployment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ILZHMKYQ.js";
|
|
8
8
|
import {
|
|
9
9
|
CARD_RADIUS,
|
|
10
10
|
EDGE_STROKE_WIDTH,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-NZ5QVASG.js";
|
|
21
21
|
import {
|
|
22
22
|
renderIntegratedLegend
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-N7PF5IRF.js";
|
|
24
24
|
import {
|
|
25
25
|
TITLE_FONT_SIZE,
|
|
26
26
|
TITLE_FONT_WEIGHT
|
|
@@ -30,16 +30,16 @@ import {
|
|
|
30
30
|
} from "./chunk-6KFWC4CO.js";
|
|
31
31
|
import {
|
|
32
32
|
parseC4
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-HXTS54OV.js";
|
|
34
34
|
import {
|
|
35
35
|
preprocessDescriptionLine
|
|
36
36
|
} from "./chunk-IYULMRBE.js";
|
|
37
37
|
import {
|
|
38
38
|
tagAttrKey
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-3LMUMAUS.js";
|
|
40
40
|
import {
|
|
41
41
|
fillModeFromOptions
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-E7HANW62.js";
|
|
43
43
|
import {
|
|
44
44
|
LEGEND_HEIGHT
|
|
45
45
|
} from "./chunk-SCJ7CAJF.js";
|
|
@@ -1039,4 +1039,4 @@ export {
|
|
|
1039
1039
|
renderC4Deployment,
|
|
1040
1040
|
renderC4DeploymentForExport
|
|
1041
1041
|
};
|
|
1042
|
-
//# sourceMappingURL=chunk-
|
|
1042
|
+
//# sourceMappingURL=chunk-JM65HLBZ.js.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tagAttrKey,
|
|
21
21
|
validateTagGroupNames,
|
|
22
22
|
validateTagValues
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3LMUMAUS.js";
|
|
24
24
|
import {
|
|
25
25
|
PERT_REGISTRY,
|
|
26
26
|
extractColor,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
splitNameAndMeta,
|
|
30
30
|
warnUnknownMetaKeys,
|
|
31
31
|
withTagAliases
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-E7HANW62.js";
|
|
33
33
|
import {
|
|
34
34
|
emit,
|
|
35
35
|
makeDgmoError,
|
|
@@ -1256,4 +1256,4 @@ export {
|
|
|
1256
1256
|
extractPertSymbols,
|
|
1257
1257
|
looksLikePert
|
|
1258
1258
|
};
|
|
1259
|
-
//# sourceMappingURL=chunk-
|
|
1259
|
+
//# sourceMappingURL=chunk-KAG5JCZV.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
splitNameAndMeta,
|
|
8
8
|
warnUnknownMetaKeys,
|
|
9
9
|
withTagAliases
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-E7HANW62.js";
|
|
11
11
|
import {
|
|
12
12
|
makeDgmoError
|
|
13
13
|
} from "./chunk-OLMWTJVU.js";
|
|
@@ -314,4 +314,4 @@ export {
|
|
|
314
314
|
parseTimelineDate,
|
|
315
315
|
parseTimelineEventLine
|
|
316
316
|
};
|
|
317
|
-
//# sourceMappingURL=chunk-
|
|
317
|
+
//# sourceMappingURL=chunk-KNCY7YHC.js.map
|