@diagrammo/dgmo 0.69.0 → 0.71.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 +2 -0
- package/dist/advanced.d.ts +11 -4
- package/dist/advanced.js +90 -90
- package/dist/block.js +46 -46
- package/dist/{calculator-GU4NVYE2.js → calculator-4CNL2GKU.js} +3 -3
- package/dist/{chart-meta-DNsYpNbh.d.ts → chart-meta-6JaOudSs.d.ts} +8 -1
- package/dist/chart-meta.d.ts +2 -2
- package/dist/chart-meta.js +42 -42
- package/dist/{charts-d3-C6UIUGNF.js → charts-d3-6IHGTXBR.js} +5 -5
- package/dist/{chunk-J2IMCVKB.js → chunk-2JY7KE7C.js} +6 -6
- package/dist/{chunk-NPOUCNXP.js → chunk-376ATV2Q.js} +19 -5
- package/dist/{chunk-SI766DED.js → chunk-3HN32MEK.js} +2 -2
- package/dist/{chunk-EAGUQK5P.js → chunk-3SNE4CLI.js} +3 -3
- package/dist/{chunk-KO6FGEEG.js → chunk-4VUFJ7UA.js} +3 -3
- package/dist/{chunk-7YCHRBD3.js → chunk-5DYDPP7K.js} +2 -2
- package/dist/{chunk-R2UUKZ6R.js → chunk-5GTYY2XV.js} +3 -3
- package/dist/{chunk-42FSJTZB.js → chunk-6EDBUKC7.js} +2 -2
- package/dist/{chunk-IODPKTRZ.js → chunk-6PA32CUB.js} +2 -2
- package/dist/{chunk-QP773H5T.js → chunk-6S53NO3M.js} +5 -2
- package/dist/{chunk-GOR4VFYB.js → chunk-722TKHMS.js} +4 -4
- package/dist/{chunk-C3OPOLID.js → chunk-7BHM774H.js} +6 -6
- package/dist/{chunk-D6MVQTMK.js → chunk-7REARI5N.js} +2 -2
- package/dist/{chunk-JWJEYIQF.js → chunk-7SEQPFBX.js} +38 -7
- package/dist/{chunk-PUBBTLAA.js → chunk-7TSBM4BV.js} +3 -3
- package/dist/{chunk-3QLXP6QZ.js → chunk-AEYRSPVV.js} +2 -2
- package/dist/{chunk-C2YYMYNR.js → chunk-BYSRXYRW.js} +4 -4
- package/dist/{chunk-WVJ2S4LU.js → chunk-C3MVZ7EW.js} +3 -3
- package/dist/{chunk-WBFRYH52.js → chunk-CH4WODSG.js} +3 -3
- package/dist/{chunk-XQBZFQE2.js → chunk-CR5WIA6I.js} +2 -2
- package/dist/{chunk-U2OLG4PB.js → chunk-DEVZWCD5.js} +17 -5
- package/dist/{chunk-WKOQQDQO.js → chunk-DPGI742S.js} +31 -2
- package/dist/{chunk-GZY5WEOQ.js → chunk-E36Q5ABQ.js} +4 -4
- package/dist/{chunk-HC3I53WV.js → chunk-EETUTZ5C.js} +2 -2
- package/dist/{chunk-V6TRRCXS.js → chunk-ELIGVSLE.js} +10 -3
- package/dist/{chunk-7N7QLRR5.js → chunk-ENJWB5LU.js} +6 -6
- package/dist/{chunk-5B4ZSR6O.js → chunk-FAJS2N4O.js} +5 -5
- package/dist/{chunk-TDKWKVN3.js → chunk-FFD6A3B2.js} +22 -5
- package/dist/{chunk-LRGSJI5X.js → chunk-FLXDMH7B.js} +3 -3
- package/dist/{chunk-UJ4FJLBF.js → chunk-FX2USYOU.js} +13 -1
- package/dist/{chunk-5TESTTMF.js → chunk-HTGYAMOK.js} +3 -3
- package/dist/{chunk-6766D4YT.js → chunk-HWNF22ZZ.js} +20 -15
- package/dist/{chunk-Y37EDBPR.js → chunk-IFJIYUI6.js} +2 -2
- package/dist/{chunk-QQI4JTJB.js → chunk-IQ4W4Q2R.js} +2 -2
- package/dist/{chunk-2QCQHMQO.js → chunk-ISKO4MQ5.js} +4 -4
- package/dist/{chunk-4RYDF2IG.js → chunk-IWNHEK5K.js} +6 -6
- package/dist/{chunk-7LYXDGGT.js → chunk-JIWDWOYA.js} +3 -3
- package/dist/{chunk-HAGHVHR7.js → chunk-K6MQJ5IV.js} +2 -2
- package/dist/{chunk-MOMPLSQI.js → chunk-KJWIU5AM.js} +2 -2
- package/dist/{chunk-QILJY2UY.js → chunk-KOVRFBGR.js} +25 -4
- package/dist/{chunk-SHS3O7ZZ.js → chunk-LJS4Z326.js} +3 -3
- package/dist/{chunk-TXPB6TBM.js → chunk-LSHROB27.js} +3 -3
- package/dist/{chunk-Q7UM3R3Y.js → chunk-LTGOPJUV.js} +2 -2
- package/dist/{chunk-BQH75ZPE.js → chunk-LUI425JB.js} +3 -3
- package/dist/{chunk-N6P3F3FB.js → chunk-LXGUK56B.js} +5 -5
- package/dist/{chunk-KZZYRA5T.js → chunk-MC2H32SM.js} +3 -3
- package/dist/{chunk-GB5RPD4S.js → chunk-MFSTE3YG.js} +18 -4
- package/dist/{chunk-SICO5DVQ.js → chunk-MKNWMFZU.js} +15 -5
- package/dist/{chunk-6NWCQCJV.js → chunk-MWWRIOEN.js} +2 -2
- package/dist/{chunk-HK3JTWG3.js → chunk-MX3BYU7V.js} +2 -2
- package/dist/{chunk-76XAJN7L.js → chunk-NEC7R2CB.js} +2 -2
- package/dist/{chunk-DBWTM5IJ.js → chunk-NJKUTY4M.js} +3 -3
- package/dist/{chunk-D62K46CW.js → chunk-NNMNHE3J.js} +2 -2
- package/dist/{chunk-DTC6RVQX.js → chunk-NTBHGUXY.js} +13 -3
- package/dist/{chunk-YYFIZ3AO.js → chunk-NUF7YTHA.js} +2 -2
- package/dist/{chunk-ODSGYHFP.js → chunk-PBV2C3BW.js} +27 -6
- package/dist/{chunk-RXYYJRM5.js → chunk-PLSTP7P4.js} +40 -40
- package/dist/{chunk-CJGSCQNP.js → chunk-QAJFIXJE.js} +19 -5
- package/dist/{chunk-L44SMVRY.js → chunk-QPG55HGH.js} +3 -3
- package/dist/{chunk-VOYADVBN.js → chunk-REBTZP3W.js} +2 -2
- package/dist/{chunk-H7LQGRM3.js → chunk-RJI6MHHK.js} +3 -3
- package/dist/{chunk-CU56CB3V.js → chunk-RNSGPTOZ.js} +3 -3
- package/dist/{chunk-YN4VMZCL.js → chunk-T3LNWU7B.js} +6 -6
- package/dist/{chunk-G5UTJZFR.js → chunk-T7W5LM4N.js} +11 -3
- package/dist/{chunk-2VMPJRPH.js → chunk-TF7CFAZ5.js} +3 -3
- package/dist/{chunk-GJ42T24G.js → chunk-TGGKBY22.js} +58 -15
- package/dist/{chunk-F7SKUWWS.js → chunk-UIBPFSIT.js} +6 -6
- package/dist/{chunk-5J42K7HM.js → chunk-UNM2PX5D.js} +3 -3
- package/dist/{chunk-JR6H5MEF.js → chunk-UNTFANSM.js} +3 -3
- package/dist/{chunk-IPMHIKVA.js → chunk-UTVKOGFF.js} +2 -2
- package/dist/{chunk-XRDRIUUB.js → chunk-UVAOL2EO.js} +5 -5
- package/dist/{chunk-MGAWLZQE.js → chunk-UY77QQWU.js} +2 -2
- package/dist/{chunk-DR43UCVQ.js → chunk-VE7PPEU3.js} +105 -18
- package/dist/{chunk-MZBEPHFY.js → chunk-VGLSKDDI.js} +2 -2
- package/dist/{chunk-LPMYDZSO.js → chunk-VMXV2CL5.js} +21 -5
- package/dist/{chunk-5ZADM7W2.js → chunk-W27BULCB.js} +4 -4
- package/dist/{chunk-U4UKJPTE.js → chunk-W7SZKJR6.js} +3 -3
- package/dist/{chunk-XCWYBBKH.js → chunk-WEC3JPTN.js} +4 -4
- package/dist/{chunk-YUTT3PV7.js → chunk-WPXHTYET.js} +16 -11
- package/dist/{chunk-HQBY3N3S.js → chunk-X2NX2SK6.js} +2 -2
- package/dist/{chunk-ZEHF5OVE.js → chunk-XIZCHGP7.js} +3 -3
- package/dist/{chunk-VCNJRCG2.js → chunk-XJZSN42P.js} +188 -120
- package/dist/{chunk-GK2ZDR6X.js → chunk-XQW4KFJ4.js} +8 -8
- package/dist/{chunk-Z44WBXIC.js → chunk-YCOGUPHL.js} +4 -4
- package/dist/{chunk-RP53JR6M.js → chunk-YG35ZCNW.js} +20 -5
- package/dist/{chunk-Y65TFTLX.js → chunk-YH5KJIO5.js} +4 -4
- package/dist/{chunk-N5XT3OWL.js → chunk-YTFA4VTW.js} +2 -2
- package/dist/{chunk-F5DNAUXY.js → chunk-YYBQ55V2.js} +35 -74
- package/dist/{chunk-M2QQQWM3.js → chunk-ZJJWON5O.js} +15 -5
- package/dist/{chunk-MJDV4DKP.js → chunk-ZNHPCITV.js} +4 -4
- package/dist/collapse-JRGPUE67.js +13 -0
- package/dist/completion-registry.js +15 -10
- package/dist/dgmo-router-J6OWNMEJ.js +89 -0
- package/dist/{dgmo-router-EAW7XiBE.d.ts → dgmo-router-Lya7cs3R.d.ts} +28 -0
- package/dist/{dimensions-NB72XI2A.js → dimensions-EFEBIRS6.js} +5 -5
- package/dist/editor.js +6 -3
- package/dist/{flowchart-parser-A64T3OEL.js → flowchart-parser-LZF2GW2P.js} +4 -4
- package/dist/{flowchart-renderer-F6PDPKK7.js → flowchart-renderer-HB277GNE.js} +5 -5
- package/dist/highlight.d.ts +45 -1
- package/dist/highlight.js +30 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +55 -46
- package/dist/{layout-2D6VKW6G.js → layout-2DVT24YY.js} +3 -3
- package/dist/{layout-FFCYSTW7.js → layout-AWPST2S3.js} +3 -3
- package/dist/{layout-RNPKIRS6.js → layout-BGXLVSXL.js} +4 -4
- package/dist/{layout-4ICO4K3X.js → layout-BNR6ZDB6.js} +4 -4
- package/dist/{layout-A5AYRVOR.js → layout-N6ZOOAYT.js} +4 -4
- package/dist/{layout-OQUUQ7YW.js → layout-PBB2RQJ4.js} +4 -4
- package/dist/{parser-NIDJMNWX.js → parser-2CXA7K5C.js} +4 -4
- package/dist/{parser-43YM7XW3.js → parser-4E2TVMOK.js} +4 -4
- package/dist/{parser-V7HFGTVF.js → parser-52AZJ3BA.js} +4 -4
- package/dist/{parser-LYCYRROE.js → parser-52BOCAVQ.js} +4 -4
- package/dist/{parser-BL3KLB75.js → parser-5IPCYVXY.js} +4 -4
- package/dist/{parser-S7IV6DOA.js → parser-6BF5TJQH.js} +4 -4
- package/dist/{parser-SEFSLUXW.js → parser-6VZISXFY.js} +3 -3
- package/dist/{parser-H2CUQVPH.js → parser-6Y5BMNNJ.js} +5 -5
- package/dist/{parser-LJZIQJRA.js → parser-7HUZBXKW.js} +3 -3
- package/dist/{parser-PXI5UCVR.js → parser-AEJ73QJS.js} +3 -3
- package/dist/{parser-RTT3NOQC.js → parser-AWNEAGMJ.js} +4 -4
- package/dist/{parser-WGCE3G7P.js → parser-C2QRTZPJ.js} +4 -4
- package/dist/{parser-DLIBNGNQ.js → parser-CBSYFN6U.js} +3 -3
- package/dist/{parser-FYBJYHSN.js → parser-CDMP3UVH.js} +4 -4
- package/dist/{parser-XMWFEFEH.js → parser-CNKHKQKZ.js} +4 -4
- package/dist/{parser-ZNGAQ6NR.js → parser-EX3AGFT5.js} +4 -4
- package/dist/{parser-QZJIGMZR.js → parser-GK3JWVHY.js} +5 -5
- package/dist/{parser-H2P45TGS.js → parser-GZKR6BFA.js} +4 -4
- package/dist/{parser-YCRATNR6.js → parser-K26KDCZN.js} +3 -3
- package/dist/{parser-GLFHIKQC.js → parser-LTJ5AKY4.js} +4 -4
- package/dist/{parser-Q2K7TDEA.js → parser-NIGB4EYX.js} +3 -3
- package/dist/{parser-DAMYSBVY.js → parser-O7GTECFP.js} +3 -3
- package/dist/{parser-3QXKYLDG.js → parser-OHWDJGCP.js} +3 -3
- package/dist/{parser-RZIIZ3EW.js → parser-QCVEWLCO.js} +3 -3
- package/dist/{parser-DRZMT3IZ.js → parser-SUAOF72Y.js} +4 -4
- package/dist/{parser-TPQUTZPP.js → parser-TJ3SP2MJ.js} +4 -4
- package/dist/{parser-GEELVJ4X.js → parser-W2HXBHNC.js} +3 -3
- package/dist/{parser-HIHYCA3P.js → parser-WF4R7225.js} +4 -4
- package/dist/{parser-XLPLW3PI.js → parser-XM6JC3UK.js} +4 -4
- package/dist/{parser-FUBDH74F.js → parser-XRZQ7SC7.js} +4 -4
- package/dist/{parser-ZXI4IQ5Y.js → parser-YRJAGBV7.js} +4 -4
- package/dist/{parser-VBYTR624.js → parser-Z3LN7P6G.js} +5 -5
- package/dist/{parser-GGZTPX6F.js → parser-ZIEEBJMU.js} +4 -4
- package/dist/{renderer-JP6BTAST.js → renderer-2MEPYGAP.js} +7 -7
- package/dist/{renderer-UNHVCJ5Z.js → renderer-35HBBPIQ.js} +5 -5
- package/dist/{renderer-FTGHCZOE.js → renderer-3DSU72CP.js} +7 -7
- package/dist/{renderer-CH5U3R2K.js → renderer-4CUV63GT.js} +7 -7
- package/dist/{renderer-GN3HCUY6.js → renderer-4ORE7HJ3.js} +5 -5
- package/dist/{renderer-TQCVWCW4.js → renderer-5FQFMCBZ.js} +7 -7
- package/dist/{renderer-CP56XH3X.js → renderer-5YV6KP4U.js} +7 -7
- package/dist/{renderer-CEFMVEWU.js → renderer-7BGC4KPZ.js} +5 -5
- package/dist/{renderer-72UWS5MQ.js → renderer-7VPABTMS.js} +7 -7
- package/dist/{renderer-SZTUE5TE.js → renderer-ANWAX5QO.js} +6 -6
- package/dist/{renderer-U7INHN4J.js → renderer-BQWAUDEF.js} +4 -4
- package/dist/renderer-DGZDRRJW.js +76 -0
- package/dist/{renderer-7AG5MS32.js → renderer-E3UQ24DE.js} +5 -5
- package/dist/{renderer-HVEITTJC.js → renderer-FCIOD2QK.js} +5 -5
- package/dist/{renderer-MFZE5HBB.js → renderer-H5QR3LC3.js} +4 -4
- package/dist/{renderer-KVRTLE2D.js → renderer-JFZVWH2G.js} +3 -3
- package/dist/{renderer-2F3JUDTX.js → renderer-JHWGW4Q7.js} +5 -5
- package/dist/{renderer-RY7RQQ37.js → renderer-JWSO5O2L.js} +3 -3
- package/dist/{renderer-NRHU4AZ6.js → renderer-KFWZPVYT.js} +7 -7
- package/dist/{renderer-KBZ223H6.js → renderer-KQIJV5WD.js} +5 -5
- package/dist/{renderer-TQJWTC62.js → renderer-LVAUI6T6.js} +6 -6
- package/dist/{renderer-PD3Q7VKJ.js → renderer-MZ4N2SVV.js} +5 -5
- package/dist/{renderer-4LUPOZH2.js → renderer-QMSFXMAL.js} +5 -5
- package/dist/{renderer-OXOAUAVI.js → renderer-QOWN3XDI.js} +8 -6
- package/dist/{renderer-5L6INN2B.js → renderer-S5MGQHRQ.js} +6 -6
- package/dist/{renderer-FJ6VAUNW.js → renderer-V3PN5ZQS.js} +5 -5
- package/dist/{renderer-33U3KRCL.js → renderer-VOXE7V6L.js} +7 -7
- package/dist/{renderer-LPA6UC62.js → renderer-WBG576LB.js} +5 -5
- package/dist/{renderer-ZOP3SXFR.js → renderer-YXYEP46H.js} +6 -6
- package/dist/{renderer-BT6TOWBE.js → renderer-ZEPPPA3W.js} +3 -3
- package/dist/{renderer-radial-AZLCCE4C.js → renderer-radial-KZ3W4WXI.js} +6 -6
- package/dist/{state-parser-W6OCOJ2S.js → state-parser-HJNCGIFT.js} +5 -5
- package/dist/{state-renderer-26JXGKT6.js → state-renderer-776LP3NE.js} +7 -7
- package/docs/ai-integration.md +1 -1
- package/docs/language-reference.md +49 -31
- package/gallery/fixtures/event-line-now-color.dgmo +23 -0
- package/package.json +2 -1
- package/dist/collapse-CLPJD2RL.js +0 -11
- package/dist/dgmo-router-ND3PUDVF.js +0 -89
- package/dist/renderer-6YEVDIZJ.js +0 -76
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
tagAttrKey,
|
|
17
17
|
validateTagGroupNames,
|
|
18
18
|
validateTagValues
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DPGI742S.js";
|
|
20
20
|
import {
|
|
21
21
|
SKETCH_REGISTRY,
|
|
22
22
|
extractColor,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
stripQuotes,
|
|
28
28
|
warnUnknownMetaKeys,
|
|
29
29
|
withTagAliases
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ZJJWON5O.js";
|
|
31
31
|
import {
|
|
32
32
|
NAME_DIAGNOSTIC_CODES,
|
|
33
33
|
formatDgmoError,
|
|
@@ -632,4 +632,4 @@ export {
|
|
|
632
632
|
isSketchShapeKind,
|
|
633
633
|
parseSketch
|
|
634
634
|
};
|
|
635
|
-
//# sourceMappingURL=chunk-
|
|
635
|
+
//# sourceMappingURL=chunk-NJKUTY4M.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
splitNameAndMeta,
|
|
8
8
|
warnUnknownMetaKeys,
|
|
9
9
|
withTagAliases
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZJJWON5O.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-NNMNHE3J.js.map
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-NOTA6TEI.js";
|
|
14
14
|
import {
|
|
15
15
|
AUTO_TAG_COLOR_SENTINEL,
|
|
16
|
+
activeTagNoMatchMessage,
|
|
16
17
|
finalizeAutoTagColors,
|
|
17
18
|
injectDefaultTagMetadata,
|
|
18
19
|
matchTagBlockHeading,
|
|
@@ -20,7 +21,7 @@ import {
|
|
|
20
21
|
tagAttrKey,
|
|
21
22
|
validateTagGroupNames,
|
|
22
23
|
validateTagValues
|
|
23
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DPGI742S.js";
|
|
24
25
|
import {
|
|
25
26
|
PERT_REGISTRY,
|
|
26
27
|
extractColor,
|
|
@@ -30,7 +31,7 @@ import {
|
|
|
30
31
|
splitNameAndMeta,
|
|
31
32
|
warnUnknownMetaKeys,
|
|
32
33
|
withTagAliases
|
|
33
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ZJJWON5O.js";
|
|
34
35
|
import {
|
|
35
36
|
emit,
|
|
36
37
|
makeDgmoError,
|
|
@@ -438,6 +439,7 @@ function parsePert(content, parseOpts = {}) {
|
|
|
438
439
|
const references = [];
|
|
439
440
|
const groups = [];
|
|
440
441
|
const tagGroups = [];
|
|
442
|
+
let activeTagOptionLine = 0;
|
|
441
443
|
let currentTagGroup = null;
|
|
442
444
|
let contentStarted = false;
|
|
443
445
|
const metaAliasMap = /* @__PURE__ */ new Map();
|
|
@@ -690,6 +692,7 @@ function parsePert(content, parseOpts = {}) {
|
|
|
690
692
|
}
|
|
691
693
|
continue;
|
|
692
694
|
}
|
|
695
|
+
if (head === "active-tag") activeTagOptionLine = lineNumber;
|
|
693
696
|
applyDirective(head, value, lineNumber, options, error, warn, {
|
|
694
697
|
order: dateOrder,
|
|
695
698
|
baseYear,
|
|
@@ -949,6 +952,13 @@ function parsePert(content, parseOpts = {}) {
|
|
|
949
952
|
if (g.tags && Object.keys(g.tags).length === 0) delete g.tags;
|
|
950
953
|
}
|
|
951
954
|
}
|
|
955
|
+
const activeTagWarning = activeTagNoMatchMessage(
|
|
956
|
+
options.activeTag,
|
|
957
|
+
tagGroups
|
|
958
|
+
);
|
|
959
|
+
if (activeTagWarning) {
|
|
960
|
+
warn(activeTagOptionLine || 1, activeTagWarning, "W_ACTIVE_TAG_NO_MATCH");
|
|
961
|
+
}
|
|
952
962
|
const firstFatal = diagnostics.find((d) => d.severity === "error");
|
|
953
963
|
return {
|
|
954
964
|
title,
|
|
@@ -1258,4 +1268,4 @@ export {
|
|
|
1258
1268
|
extractPertSymbols,
|
|
1259
1269
|
looksLikePert
|
|
1260
1270
|
};
|
|
1261
|
-
//# sourceMappingURL=chunk-
|
|
1271
|
+
//# sourceMappingURL=chunk-NTBHGUXY.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
splitNameAndMeta,
|
|
6
6
|
tryParseSharedOption,
|
|
7
7
|
warnUnknownMetaKeys
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZJJWON5O.js";
|
|
9
9
|
import {
|
|
10
10
|
makeDgmoError,
|
|
11
11
|
makeFail
|
|
@@ -274,4 +274,4 @@ function parseCycle(content) {
|
|
|
274
274
|
export {
|
|
275
275
|
parseCycle
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=chunk-
|
|
277
|
+
//# sourceMappingURL=chunk-NUF7YTHA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryCollectNote
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MX3BYU7V.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveNotes
|
|
6
6
|
} from "./chunk-7NK42OIB.js";
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-NOTA6TEI.js";
|
|
13
13
|
import {
|
|
14
14
|
AUTO_TAG_COLOR_SENTINEL,
|
|
15
|
+
activeTagNoMatchMessage,
|
|
15
16
|
finalizeAutoTagColors,
|
|
16
17
|
injectDefaultTagMetadata,
|
|
17
18
|
matchTagBlockHeading,
|
|
@@ -19,7 +20,7 @@ import {
|
|
|
19
20
|
tagAttrKey,
|
|
20
21
|
validateTagGroupNames,
|
|
21
22
|
validateTagValues
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DPGI742S.js";
|
|
23
24
|
import {
|
|
24
25
|
BOXES_AND_LINES_REGISTRY,
|
|
25
26
|
OPTION_NOCOLON_RE,
|
|
@@ -31,7 +32,7 @@ import {
|
|
|
31
32
|
tryParseSharedOption,
|
|
32
33
|
warnUnknownMetaKeys,
|
|
33
34
|
withTagAliases
|
|
34
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ZJJWON5O.js";
|
|
35
36
|
import {
|
|
36
37
|
makeDgmoError,
|
|
37
38
|
suggest
|
|
@@ -116,6 +117,7 @@ function parseBoxesAndLines(content, palette) {
|
|
|
116
117
|
}
|
|
117
118
|
const groupStack = [];
|
|
118
119
|
let contentStarted = false;
|
|
120
|
+
let activeTagOptionLine = 0;
|
|
119
121
|
let currentTagGroup = null;
|
|
120
122
|
const metaAliasMap = /* @__PURE__ */ new Map();
|
|
121
123
|
const nameAliasMap = /* @__PURE__ */ new Map();
|
|
@@ -125,8 +127,10 @@ function parseBoxesAndLines(content, palette) {
|
|
|
125
127
|
if (!m) return { label: trimmed };
|
|
126
128
|
return { label: m[1].trim(), alias: m[2] };
|
|
127
129
|
}
|
|
128
|
-
const pushWarning = (lineNumber, message) => {
|
|
129
|
-
result.diagnostics.push(
|
|
130
|
+
const pushWarning = (lineNumber, message, code) => {
|
|
131
|
+
result.diagnostics.push(
|
|
132
|
+
makeDgmoError(lineNumber, message, "warning", code)
|
|
133
|
+
);
|
|
130
134
|
};
|
|
131
135
|
function currentGroupState() {
|
|
132
136
|
return groupStack.length > 0 ? groupStack[groupStack.length - 1] : null;
|
|
@@ -221,6 +225,7 @@ function parseBoxesAndLines(content, palette) {
|
|
|
221
225
|
const value = optMatch[2].trim();
|
|
222
226
|
if (key2 === "active-tag") {
|
|
223
227
|
options[key2] = value;
|
|
228
|
+
activeTagOptionLine = lineNum;
|
|
224
229
|
continue;
|
|
225
230
|
}
|
|
226
231
|
}
|
|
@@ -581,6 +586,22 @@ function parseBoxesAndLines(content, palette) {
|
|
|
581
586
|
if (!result.error) result.error = diag.message;
|
|
582
587
|
});
|
|
583
588
|
}
|
|
589
|
+
const activeTagWarning = activeTagNoMatchMessage(
|
|
590
|
+
options["active-tag"],
|
|
591
|
+
result.tagGroups,
|
|
592
|
+
// The value metric is a legitimate `active-tag` target here (§13.9), named
|
|
593
|
+
// by `box-metric` and defaulting to `Value` — but only when some box
|
|
594
|
+
// actually carries a value, which is what the renderer gates on.
|
|
595
|
+
result.nodes.some((n) => n.value !== void 0) ? [result.boxMetric?.trim() || "Value"] : [],
|
|
596
|
+
"the value metric"
|
|
597
|
+
);
|
|
598
|
+
if (activeTagWarning) {
|
|
599
|
+
pushWarning(
|
|
600
|
+
activeTagOptionLine || 1,
|
|
601
|
+
activeTagWarning,
|
|
602
|
+
"W_ACTIVE_TAG_NO_MATCH"
|
|
603
|
+
);
|
|
604
|
+
}
|
|
584
605
|
return result;
|
|
585
606
|
}
|
|
586
607
|
function parseNodeLine(trimmed, lineNum, metaAliasMap, diagnostics, nameAliasMap) {
|
|
@@ -834,4 +855,4 @@ export {
|
|
|
834
855
|
looksLikeBoxesAndLines,
|
|
835
856
|
parseBoxesAndLines
|
|
836
857
|
};
|
|
837
|
-
//# sourceMappingURL=chunk-
|
|
858
|
+
//# sourceMappingURL=chunk-PBV2C3BW.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseClock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NEC7R2CB.js";
|
|
4
4
|
import {
|
|
5
5
|
parseBracket
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MC2H32SM.js";
|
|
7
7
|
import {
|
|
8
8
|
allTasks,
|
|
9
9
|
parseRaci
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-T7W5LM4N.js";
|
|
11
11
|
import {
|
|
12
12
|
parseBody
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UNM2PX5D.js";
|
|
14
14
|
import {
|
|
15
15
|
EXTENDED_CHART_DOORS,
|
|
16
16
|
parseChart,
|
|
@@ -19,81 +19,81 @@ import {
|
|
|
19
19
|
parseHeatmap,
|
|
20
20
|
parseSankey,
|
|
21
21
|
parseScatter
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-UY77QQWU.js";
|
|
23
23
|
import {
|
|
24
24
|
parseCycle
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NUF7YTHA.js";
|
|
26
26
|
import {
|
|
27
27
|
parseJourneyMap
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-376ATV2Q.js";
|
|
29
29
|
import {
|
|
30
30
|
parsePyramid
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-KJWIU5AM.js";
|
|
32
32
|
import {
|
|
33
33
|
parseRing
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-6PA32CUB.js";
|
|
35
35
|
import {
|
|
36
36
|
parseTreemap
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-WPXHTYET.js";
|
|
38
38
|
import {
|
|
39
39
|
parseBlock
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-JIWDWOYA.js";
|
|
41
41
|
import {
|
|
42
42
|
parseGoal
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-LTGOPJUV.js";
|
|
44
44
|
import {
|
|
45
45
|
parseCountdown
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-5DYDPP7K.js";
|
|
47
47
|
import {
|
|
48
48
|
parseMap
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-HWNF22ZZ.js";
|
|
50
50
|
import {
|
|
51
51
|
parseBoxesAndLines
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-PBV2C3BW.js";
|
|
53
53
|
import {
|
|
54
54
|
parseSketch
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-NJKUTY4M.js";
|
|
56
56
|
import {
|
|
57
57
|
parseSwimlane
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-TF7CFAZ5.js";
|
|
59
59
|
import {
|
|
60
60
|
parseFamily
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-QPG55HGH.js";
|
|
62
62
|
import {
|
|
63
63
|
parseMindmap
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-QAJFIXJE.js";
|
|
65
65
|
import {
|
|
66
66
|
parseTechRadar
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-YTFA4VTW.js";
|
|
68
68
|
import {
|
|
69
69
|
looksLikePert,
|
|
70
70
|
parsePert
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-NTBHGUXY.js";
|
|
72
72
|
import {
|
|
73
73
|
isLiveLinkLine,
|
|
74
74
|
parseLiveLink
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-K6MQJ5IV.js";
|
|
76
76
|
import {
|
|
77
77
|
parseEventLine
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-VMXV2CL5.js";
|
|
79
79
|
import {
|
|
80
80
|
parseTimelineEventLine
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-NNMNHE3J.js";
|
|
82
82
|
import {
|
|
83
83
|
parseVersionControl
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-AEYRSPVV.js";
|
|
85
85
|
import {
|
|
86
86
|
parseKanban
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-MKNWMFZU.js";
|
|
88
88
|
import {
|
|
89
89
|
parseC4
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-YG35ZCNW.js";
|
|
91
91
|
import {
|
|
92
92
|
parseInfra
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-MFSTE3YG.js";
|
|
94
94
|
import {
|
|
95
95
|
parseGantt
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-DEVZWCD5.js";
|
|
97
97
|
import {
|
|
98
98
|
makeYearContext,
|
|
99
99
|
parseDateToken,
|
|
@@ -103,41 +103,41 @@ import {
|
|
|
103
103
|
import {
|
|
104
104
|
looksLikeSequence,
|
|
105
105
|
parseSequenceDgmo
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-FFD6A3B2.js";
|
|
107
107
|
import {
|
|
108
108
|
looksLikeFlowchart,
|
|
109
109
|
parseFlowchart
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-RJI6MHHK.js";
|
|
111
111
|
import {
|
|
112
112
|
looksLikeState,
|
|
113
113
|
parseState
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-YH5KJIO5.js";
|
|
115
115
|
import {
|
|
116
116
|
looksLikeClassDiagram,
|
|
117
117
|
parseClassDiagram
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-UNTFANSM.js";
|
|
119
119
|
import {
|
|
120
120
|
looksLikeERDiagram,
|
|
121
121
|
parseERDiagram
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-KOVRFBGR.js";
|
|
123
123
|
import {
|
|
124
124
|
looksLikeOrg,
|
|
125
125
|
parseOrg
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-7SEQPFBX.js";
|
|
127
127
|
import {
|
|
128
128
|
looksLikeSitemap,
|
|
129
129
|
parseSitemap
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-FLXDMH7B.js";
|
|
131
131
|
import {
|
|
132
132
|
parseWireframe
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-YYBQ55V2.js";
|
|
134
134
|
import {
|
|
135
135
|
matchTagBlockHeading,
|
|
136
136
|
stripDefaultModifier,
|
|
137
137
|
tagAttrKey,
|
|
138
138
|
validateTagGroupNames,
|
|
139
139
|
validateTagValues
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-DPGI742S.js";
|
|
141
141
|
import {
|
|
142
142
|
TIMELINE_REGISTRY,
|
|
143
143
|
chartTypes,
|
|
@@ -150,7 +150,7 @@ import {
|
|
|
150
150
|
peelTrailingColorName,
|
|
151
151
|
splitNameAndMeta,
|
|
152
152
|
withTagAliases
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-ZJJWON5O.js";
|
|
154
154
|
import {
|
|
155
155
|
resolveColorWithDiagnostic
|
|
156
156
|
} from "./chunk-EXNKNJ65.js";
|
|
@@ -2031,4 +2031,4 @@ export {
|
|
|
2031
2031
|
knownChartTypeIds,
|
|
2032
2032
|
parseDgmo
|
|
2033
2033
|
};
|
|
2034
|
-
//# sourceMappingURL=chunk-
|
|
2034
|
+
//# sourceMappingURL=chunk-PLSTP7P4.js.map
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-IYULMRBE.js";
|
|
4
4
|
import {
|
|
5
5
|
AUTO_TAG_COLOR_SENTINEL,
|
|
6
|
+
activeTagNoMatchMessage,
|
|
6
7
|
cascadeTagMetadata,
|
|
7
8
|
finalizeAutoTagColors,
|
|
8
9
|
matchTagBlockHeading,
|
|
@@ -10,7 +11,7 @@ import {
|
|
|
10
11
|
tagAttrKey,
|
|
11
12
|
validateTagGroupNames,
|
|
12
13
|
validateTagValues
|
|
13
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DPGI742S.js";
|
|
14
15
|
import {
|
|
15
16
|
MINDMAP_REGISTRY,
|
|
16
17
|
OPTION_NOCOLON_RE,
|
|
@@ -22,7 +23,7 @@ import {
|
|
|
22
23
|
tryParseSharedOption,
|
|
23
24
|
warnUnknownMetaKeys,
|
|
24
25
|
withTagAliases
|
|
25
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZJJWON5O.js";
|
|
26
27
|
import {
|
|
27
28
|
formatDgmoError,
|
|
28
29
|
makeDgmoError,
|
|
@@ -49,14 +50,15 @@ function parseMindmap(content, palette) {
|
|
|
49
50
|
result.diagnostics.push(diag);
|
|
50
51
|
if (!result.error) result.error = formatDgmoError(diag);
|
|
51
52
|
};
|
|
52
|
-
const pushWarning = (line, message) => {
|
|
53
|
-
result.diagnostics.push(makeDgmoError(line, message, "warning"));
|
|
53
|
+
const pushWarning = (line, message, code) => {
|
|
54
|
+
result.diagnostics.push(makeDgmoError(line, message, "warning", code));
|
|
54
55
|
};
|
|
55
56
|
if (!content?.trim()) {
|
|
56
57
|
return fail(0, "No content provided");
|
|
57
58
|
}
|
|
58
59
|
const lines = content.split("\n");
|
|
59
60
|
let contentStarted = false;
|
|
61
|
+
let activeTagOptionLine = 0;
|
|
60
62
|
let nodeCounter = 0;
|
|
61
63
|
let currentTagGroup = null;
|
|
62
64
|
const aliasMap = /* @__PURE__ */ new Map();
|
|
@@ -136,6 +138,7 @@ function parseMindmap(content, palette) {
|
|
|
136
138
|
const key = optMatch[1].trim().toLowerCase();
|
|
137
139
|
if (KNOWN_OPTIONS.has(key)) {
|
|
138
140
|
options[key] = optMatch[2].trim();
|
|
141
|
+
if (key === "active-tag") activeTagOptionLine = lineNumber;
|
|
139
142
|
continue;
|
|
140
143
|
}
|
|
141
144
|
}
|
|
@@ -239,6 +242,17 @@ function parseMindmap(content, palette) {
|
|
|
239
242
|
result.error = formatDgmoError(diag);
|
|
240
243
|
} else if (titleRoot?.children.length === 0 && result.roots.length === 1 && !result.error) {
|
|
241
244
|
}
|
|
245
|
+
const activeTagWarning = activeTagNoMatchMessage(
|
|
246
|
+
options["active-tag"],
|
|
247
|
+
result.tagGroups
|
|
248
|
+
);
|
|
249
|
+
if (activeTagWarning) {
|
|
250
|
+
pushWarning(
|
|
251
|
+
activeTagOptionLine || 1,
|
|
252
|
+
activeTagWarning,
|
|
253
|
+
"W_ACTIVE_TAG_NO_MATCH"
|
|
254
|
+
);
|
|
255
|
+
}
|
|
242
256
|
return result;
|
|
243
257
|
}
|
|
244
258
|
function parseNodeLine(trimmed, lineNumber, _palette, counter, aliasMap, diagnostics) {
|
|
@@ -323,4 +337,4 @@ function findMetadataParent(indent, indentStack) {
|
|
|
323
337
|
export {
|
|
324
338
|
parseMindmap
|
|
325
339
|
};
|
|
326
|
-
//# sourceMappingURL=chunk-
|
|
340
|
+
//# sourceMappingURL=chunk-QAJFIXJE.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
matchTagBlockHeading,
|
|
12
12
|
stripDefaultModifier,
|
|
13
13
|
tagAttrKey
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DPGI742S.js";
|
|
15
15
|
import {
|
|
16
16
|
FAMILY_PERSON_REGISTRY,
|
|
17
17
|
FAMILY_UNION_REGISTRY,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
tokenizeQuoteAware,
|
|
27
27
|
tryParseSharedOption,
|
|
28
28
|
withTagAliases
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ZJJWON5O.js";
|
|
30
30
|
import {
|
|
31
31
|
nord,
|
|
32
32
|
resolveColor
|
|
@@ -571,4 +571,4 @@ export {
|
|
|
571
571
|
FAMILY_DIAGNOSTICS,
|
|
572
572
|
parseFamily
|
|
573
573
|
};
|
|
574
|
-
//# sourceMappingURL=chunk-
|
|
574
|
+
//# sourceMappingURL=chunk-QPG55HGH.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-QX53GOI7.js";
|
|
23
23
|
import {
|
|
24
24
|
tagAttrKey
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DPGI742S.js";
|
|
26
26
|
import {
|
|
27
27
|
contrastRatio,
|
|
28
28
|
mix,
|
|
@@ -3365,4 +3365,4 @@ export {
|
|
|
3365
3365
|
albersSkewFallback,
|
|
3366
3366
|
layoutMap
|
|
3367
3367
|
};
|
|
3368
|
-
//# sourceMappingURL=chunk-
|
|
3368
|
+
//# sourceMappingURL=chunk-REBTZP3W.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7TF3QOOD.js";
|
|
4
4
|
import {
|
|
5
5
|
tryCollectNote
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MX3BYU7V.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveNotes
|
|
9
9
|
} from "./chunk-7NK42OIB.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
measureIndent,
|
|
22
22
|
parseFirstLine,
|
|
23
23
|
tryParseSharedOption
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ZJJWON5O.js";
|
|
25
25
|
import {
|
|
26
26
|
NAME_DIAGNOSTIC_CODES,
|
|
27
27
|
emit,
|
|
@@ -470,4 +470,4 @@ export {
|
|
|
470
470
|
looksLikeFlowchart,
|
|
471
471
|
extractSymbols
|
|
472
472
|
};
|
|
473
|
-
//# sourceMappingURL=chunk-
|
|
473
|
+
//# sourceMappingURL=chunk-RJI6MHHK.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-A4GOY3PE.js";
|
|
17
17
|
import {
|
|
18
18
|
renderIntegratedLegend
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6S53NO3M.js";
|
|
20
20
|
import {
|
|
21
21
|
controlsGroupCapsuleWidth,
|
|
22
22
|
getLegendExtent,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
resolveActiveTagGroup,
|
|
53
53
|
resolveTagColor,
|
|
54
54
|
tagAttrKey
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-DPGI742S.js";
|
|
56
56
|
import {
|
|
57
57
|
contrastText,
|
|
58
58
|
getSeriesColors,
|
|
@@ -2152,4 +2152,4 @@ export {
|
|
|
2152
2152
|
renderGantt,
|
|
2153
2153
|
buildTagLaneRowList
|
|
2154
2154
|
};
|
|
2155
|
-
//# sourceMappingURL=chunk-
|
|
2155
|
+
//# sourceMappingURL=chunk-RNSGPTOZ.js.map
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
} from "./chunk-A4GOY3PE.js";
|
|
36
36
|
import {
|
|
37
37
|
renderIntegratedLegend
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-6S53NO3M.js";
|
|
39
39
|
import {
|
|
40
40
|
getLegendExtent,
|
|
41
41
|
getMaxLegendReservedHeight
|
|
@@ -59,12 +59,12 @@ import {
|
|
|
59
59
|
} from "./chunk-IYULMRBE.js";
|
|
60
60
|
import {
|
|
61
61
|
tagAttrKey
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-DPGI742S.js";
|
|
63
63
|
import {
|
|
64
64
|
fillModeFromOptions,
|
|
65
65
|
legendInlineRequested,
|
|
66
66
|
legendSuppressed
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-ZJJWON5O.js";
|
|
68
68
|
import {
|
|
69
69
|
contrastText,
|
|
70
70
|
mix,
|
|
@@ -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-LTJ5AKY4.js");
|
|
453
|
+
const { layoutSitemap } = await import("./layout-PBB2RQJ4.js");
|
|
454
454
|
const { getPalette } = await import("./palettes-WQZ2TPVZ.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-T3LNWU7B.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
splitNameAndMeta,
|
|
17
17
|
tryParseSharedOption,
|
|
18
18
|
warnUnknownMetaKeys
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZJJWON5O.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveColorWithDiagnostic
|
|
22
22
|
} from "./chunk-EXNKNJ65.js";
|
|
@@ -30,11 +30,14 @@ import {
|
|
|
30
30
|
} from "./chunk-OLMWTJVU.js";
|
|
31
31
|
|
|
32
32
|
// src/raci/parser.ts
|
|
33
|
-
var KNOWN_OPTIONS = /* @__PURE__ */ new Set(["roles", "palette", "theme"
|
|
33
|
+
var KNOWN_OPTIONS = /* @__PURE__ */ new Set(["roles", "palette", "theme"]);
|
|
34
34
|
var KNOWN_BOOLEANS = /* @__PURE__ */ new Set(["no-title"]);
|
|
35
35
|
var REMOVED_BOOLEANS = {
|
|
36
36
|
"no-rule-enforcement": '"no-rule-enforcement" has been removed \u2014 RACI validation is always active.'
|
|
37
37
|
};
|
|
38
|
+
var INERT_OPTIONS = {
|
|
39
|
+
"active-tag": '"active-tag" does nothing on a raci chart \u2014 it has no tag groups. Colour comes from the roles; give a role its own with the block form of "roles".'
|
|
40
|
+
};
|
|
38
41
|
var PHASE_RE = /^\[(.+?)\]\s*(.*)$/;
|
|
39
42
|
var PHASE_PALETTE_COLOR_RE = /^(red|orange|yellow|green|blue|purple|teal|cyan|gray|black|white)\b/;
|
|
40
43
|
var ROLE_ASSIGNMENT_RE = /^([^:]+):\s*(.*)$/;
|
|
@@ -251,6 +254,11 @@ function parseRaci(content, palette) {
|
|
|
251
254
|
const optMatch = trimmed.match(OPTION_NOCOLON_RE);
|
|
252
255
|
if (optMatch) {
|
|
253
256
|
const key = optMatch[1].trim().toLowerCase();
|
|
257
|
+
const inertMsg = INERT_OPTIONS[key];
|
|
258
|
+
if (inertMsg) {
|
|
259
|
+
warn(lineNumber, inertMsg);
|
|
260
|
+
continue;
|
|
261
|
+
}
|
|
254
262
|
if (KNOWN_OPTIONS.has(key)) {
|
|
255
263
|
const value = optMatch[2].trim();
|
|
256
264
|
if (key === "roles") {
|
|
@@ -484,4 +492,4 @@ export {
|
|
|
484
492
|
parseRaci,
|
|
485
493
|
allTasks
|
|
486
494
|
};
|
|
487
|
-
//# sourceMappingURL=chunk-
|
|
495
|
+
//# sourceMappingURL=chunk-T7W5LM4N.js.map
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
matchTagBlockHeading,
|
|
5
5
|
stripDefaultModifier,
|
|
6
6
|
tagAttrKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DPGI742S.js";
|
|
8
8
|
import {
|
|
9
9
|
FILL_FAMILY_TOKENS,
|
|
10
10
|
extractColor,
|
|
11
11
|
measureIndent,
|
|
12
12
|
parseFirstLine
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZJJWON5O.js";
|
|
14
14
|
import {
|
|
15
15
|
emit
|
|
16
16
|
} from "./chunk-OLMWTJVU.js";
|
|
@@ -692,4 +692,4 @@ export {
|
|
|
692
692
|
SWIMLANE_DIAGNOSTICS,
|
|
693
693
|
parseSwimlane
|
|
694
694
|
};
|
|
695
|
-
//# sourceMappingURL=chunk-
|
|
695
|
+
//# sourceMappingURL=chunk-TF7CFAZ5.js.map
|