@diagrammo/dgmo 0.72.0 → 0.74.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 +20 -11
- package/dist/advanced.js +115 -116
- package/dist/{analyzer-HQUXKZ5J.js → analyzer-FHRJUIMW.js} +3 -3
- package/dist/block.d.ts +2 -2
- package/dist/block.js +63 -75
- package/dist/calculator-CVQ54JNE.js +13 -0
- package/dist/{chart-meta-6JaOudSs.d.ts → chart-meta-lP8Rl19E.d.ts} +4 -3
- package/dist/chart-meta.d.ts +3 -3
- package/dist/chart-meta.js +49 -49
- package/dist/{charts-d3-6IHGTXBR.js → charts-d3-LWHTOVX7.js} +12 -12
- package/dist/{chunk-HKL66CKW.js → chunk-2MJSSDK5.js} +9 -9
- package/dist/{chunk-MFSTE3YG.js → chunk-2NRIGEHZ.js} +26 -18
- package/dist/{chunk-376ATV2Q.js → chunk-2QRIMMIH.js} +5 -5
- package/dist/{chunk-JIWDWOYA.js → chunk-3H4PDNP4.js} +4 -4
- package/dist/{chunk-MKNWMFZU.js → chunk-3SP6G4LN.js} +31 -27
- package/dist/{chunk-VE7PPEU3.js → chunk-474D3IUN.js} +8 -8
- package/dist/{chunk-MTPKBSTR.js → chunk-4SXHMFFP.js} +2 -2
- package/dist/{chunk-WPXHTYET.js → chunk-4YER7UCV.js} +4 -4
- package/dist/{chunk-P6RPHRX7.js → chunk-57Z2WXJ2.js} +6 -6
- package/dist/{chunk-7TSBM4BV.js → chunk-5KE6KHY6.js} +5 -5
- package/dist/{chunk-DZ34UUXC.js → chunk-5NAOTRLN.js} +11 -11
- package/dist/{chunk-MC2H32SM.js → chunk-5PFNUDXR.js} +4 -4
- package/dist/{chunk-OLMWTJVU.js → chunk-5SI6T5A5.js} +1 -1
- package/dist/{chunk-UJXCDF4E.js → chunk-5VMUVJO4.js} +2 -2
- package/dist/{chunk-ZGVVPILJ.js → chunk-6DYZ2JM6.js} +2 -2
- package/dist/{chunk-DPGI742S.js → chunk-76LHNLGX.js} +4 -4
- package/dist/{chunk-MX3BYU7V.js → chunk-76NHL5UG.js} +3 -3
- package/dist/{chunk-AEYRSPVV.js → chunk-7BMX2M3F.js} +3 -3
- package/dist/{chunk-FFD6A3B2.js → chunk-7NSNE52V.js} +18 -11
- package/dist/{chunk-2OTYNNHS.js → chunk-ALBVWTU4.js} +10 -10
- package/dist/{chunk-UF3EALKC.js → chunk-ALDU62VN.js} +10 -10
- package/dist/{chunk-W27BULCB.js → chunk-BBH5IAAR.js} +9 -9
- package/dist/{chunk-HWNF22ZZ.js → chunk-BWJLLNUX.js} +5 -5
- package/dist/{chunk-3HN32MEK.js → chunk-C2WH3BMS.js} +4 -4
- package/dist/{chunk-QITH5XOX.js → chunk-CDFIZHVD.js} +11 -11
- package/dist/{chunk-66VHK7PP.js → chunk-CMQJP5L4.js} +9 -9
- package/dist/{chunk-GK4AU57A.js → chunk-CQKD6GOC.js} +5 -5
- package/dist/{chunk-NUF7YTHA.js → chunk-CRLVJZWX.js} +3 -3
- package/dist/{chunk-WMHHNK44.js → chunk-DGPFFRLS.js} +2 -2
- package/dist/{chunk-UTVKOGFF.js → chunk-DJL5PO27.js} +94 -40
- package/dist/{chunk-RJI6MHHK.js → chunk-DU3OIBQE.js} +6 -6
- package/dist/{chunk-YYBQ55V2.js → chunk-DY7KDZUF.js} +4 -4
- package/dist/{chunk-BSI5EOAX.js → chunk-E3BJVEMZ.js} +7 -11
- package/dist/{chunk-7NK42OIB.js → chunk-E6PNTYRK.js} +2 -2
- package/dist/{chunk-VLXYWPPE.js → chunk-EPH4UMUE.js} +7 -7
- package/dist/{chunk-MUVASOBD.js → chunk-EV6BZMBZ.js} +10 -10
- package/dist/{chunk-MWWRIOEN.js → chunk-F4V67JXG.js} +3 -3
- package/dist/{chunk-HBVKOYZD.js → chunk-FGXBIOVK.js} +3 -3
- package/dist/{chunk-ELIGVSLE.js → chunk-FL5IKZQA.js} +12 -6
- package/dist/{chunk-W7SZKJR6.js → chunk-FPRMP6YA.js} +4 -4
- package/dist/{chunk-IKHV5IJB.js → chunk-GE5RO4BS.js} +2 -2
- package/dist/{chunk-CGLBK5Q4.js → chunk-GJQQCI63.js} +5 -4
- package/dist/{chunk-KWRW6BLG.js → chunk-GLREDNBA.js} +2 -2
- package/dist/{chunk-N5247W2W.js → chunk-GQJ35I2I.js} +61 -54
- package/dist/{chunk-VGLSKDDI.js → chunk-GRN44Z6A.js} +3 -3
- package/dist/{chunk-7U3NDE7T.js → chunk-HFCKU73Y.js} +7 -7
- package/dist/{chunk-KOVRFBGR.js → chunk-ICVIJLBA.js} +16 -11
- package/dist/{chunk-RRX4Z4TH.js → chunk-IHOFUR74.js} +2 -2
- package/dist/{chunk-UNM2PX5D.js → chunk-JLODGGN2.js} +4 -4
- package/dist/{chunk-UCGEBFUC.js → chunk-JSYAH7KR.js} +4 -4
- package/dist/{chunk-GCTKJDLY.js → chunk-KR432TCU.js} +10 -10
- package/dist/{chunk-PBV2C3BW.js → chunk-KRTLS3G6.js} +24 -20
- package/dist/{chunk-LTGOPJUV.js → chunk-KWSBNLSC.js} +3 -3
- package/dist/{chunk-XIZCHGP7.js → chunk-L2EA5YLO.js} +9 -9
- package/dist/{chunk-KJWIU5AM.js → chunk-LKS56RDT.js} +3 -3
- package/dist/{chunk-ET4R3AU5.js → chunk-LM3HY3VG.js} +2 -2
- package/dist/{chunk-O4OVVK6J.js → chunk-LSHMDQZQ.js} +7 -7
- package/dist/{chunk-FLXDMH7B.js → chunk-LXXVHLTH.js} +30 -24
- package/dist/{chunk-L3XB446I.js → chunk-LYLRNAX2.js} +2 -2
- package/dist/{chunk-UY77QQWU.js → chunk-M526IKKH.js} +11 -7
- package/dist/{chunk-YH5KJIO5.js → chunk-M5JT2AU7.js} +8 -8
- package/dist/{chunk-ZJJWON5O.js → chunk-M5OOAP65.js} +271 -5
- package/dist/{chunk-3SNE4CLI.js → chunk-MDEG62W7.js} +7 -7
- package/dist/{chunk-RTTELOOP.js → chunk-MS5574I7.js} +3 -3
- package/dist/{chunk-I55PVEIX.js → chunk-MSVQ2YCY.js} +2 -2
- package/dist/{chunk-FTPNAYL2.js → chunk-NHQ7HUAS.js} +4 -4
- package/dist/{chunk-2VBJCTSG.js → chunk-NW3VXCXR.js} +5 -5
- package/dist/{chunk-6PA32CUB.js → chunk-OKXWPKUC.js} +4 -4
- package/dist/{chunk-UKOOGXRF.js → chunk-PHRBLJ3K.js} +8 -8
- package/dist/{chunk-LSHROB27.js → chunk-Q6BAFS7I.js} +5 -5
- package/dist/{chunk-WRWUZ2C4.js → chunk-Q6LP67RP.js} +4 -4
- package/dist/{chunk-IW6N2JJL.js → chunk-Q74GP3GK.js} +2 -2
- package/dist/{chunk-IXVK7XCN.js → chunk-QMFIZQTB.js} +2 -2
- package/dist/{chunk-QAJFIXJE.js → chunk-QOVM5VRC.js} +28 -28
- package/dist/{chunk-6S53NO3M.js → chunk-QT5UMFPE.js} +5 -5
- package/dist/{chunk-HZQCKXPB.js → chunk-R5JPMW2F.js} +42 -42
- package/dist/{chunk-SPA7DCB3.js → chunk-RN3PAL4E.js} +3 -3
- package/dist/{chunk-REBTZP3W.js → chunk-RQ6SEQOT.js} +6 -6
- package/dist/{chunk-NTBHGUXY.js → chunk-RWFMOVHG.js} +4 -4
- package/dist/{chunk-QPG55HGH.js → chunk-S5P5Z5Y5.js} +5 -5
- package/dist/{chunk-WF2HDQPG.js → chunk-S6OXNZBM.js} +3 -3
- package/dist/{chunk-NEC7R2CB.js → chunk-SH4PPRU7.js} +3 -3
- package/dist/{chunk-UNTFANSM.js → chunk-SUA56ZSB.js} +15 -10
- package/dist/{chunk-7SEQPFBX.js → chunk-SWEKCK34.js} +33 -28
- package/dist/{chunk-BYSRXYRW.js → chunk-SXZS56YM.js} +6 -6
- package/dist/{chunk-7BHM774H.js → chunk-T6BO4VO6.js} +8 -8
- package/dist/{chunk-DHKVHP3Y.js → chunk-TC63QU4M.js} +18 -16
- package/dist/{chunk-NJKUTY4M.js → chunk-TDHD3HNO.js} +5 -5
- package/dist/{chunk-T7W5LM4N.js → chunk-TN754B3R.js} +5 -5
- package/dist/{chunk-DEVZWCD5.js → chunk-TPN7RJOM.js} +21 -12
- package/dist/{chunk-4VUFJ7UA.js → chunk-TTCXHFFB.js} +6 -6
- package/dist/{chunk-E36Q5ABQ.js → chunk-U74EGVOA.js} +7 -7
- package/dist/{chunk-NNMNHE3J.js → chunk-UCZBRGJN.js} +3 -3
- package/dist/{chunk-VMXV2CL5.js → chunk-UJBP57UJ.js} +29 -12
- package/dist/{chunk-PKTRDOBI.js → chunk-ULEWCCBN.js} +3 -3
- package/dist/{chunk-YTFA4VTW.js → chunk-VBJCGGNF.js} +3 -3
- package/dist/{chunk-TF7CFAZ5.js → chunk-W7UBPARG.js} +4 -4
- package/dist/{chunk-OQKP2X3D.js → chunk-WFA6IULY.js} +57 -3
- package/dist/{chunk-N34OTOGH.js → chunk-WQXD3IIN.js} +3 -3
- package/dist/{chunk-EETUTZ5C.js → chunk-WWQ6TUVK.js} +2 -2
- package/dist/{chunk-6OAKQTXQ.js → chunk-XCAEHWQB.js} +3 -3
- package/dist/{chunk-WEC3JPTN.js → chunk-XJLNQEQS.js} +8 -8
- package/dist/{chunk-EXNKNJ65.js → chunk-XOGQY4EC.js} +2 -2
- package/dist/{chunk-K6MQJ5IV.js → chunk-Y2CYNRL7.js} +3 -3
- package/dist/{chunk-PZVYUQJA.js → chunk-YDA46XHI.js} +4 -4
- package/dist/{chunk-U4NFAWQW.js → chunk-YJ5G2WRU.js} +9 -9
- package/dist/{chunk-6CLC26GU.js → chunk-YJMWEZOB.js} +2 -2
- package/dist/{chunk-6DGMS2WJ.js → chunk-YSMI6TNZ.js} +6 -6
- package/dist/{chunk-QX53GOI7.js → chunk-YT5ICQ4R.js} +2 -2
- package/dist/{chunk-7RAWNJI5.js → chunk-YXY6V2YN.js} +114 -107
- package/dist/{chunk-5DYDPP7K.js → chunk-Z7KVOVE4.js} +115 -240
- package/dist/{chunk-YG35ZCNW.js → chunk-ZM27UI5O.js} +36 -32
- package/dist/completion-registry.js +25 -21
- package/dist/countdown.js +26 -6
- package/dist/{d3-Bfhj-XBX.d.ts → d3--y67plmW.d.ts} +1 -1
- package/dist/{dgmo-router-Lya7cs3R.d.ts → dgmo-router-CY5j16Pl.d.ts} +1 -1
- package/dist/dgmo-router-KYNLRE7S.js +89 -0
- package/dist/dimensions-Q5SFPATB.js +22 -0
- package/dist/editor.js +1 -0
- package/dist/flowchart-parser-LY5GGQL2.js +21 -0
- package/dist/{flowchart-renderer-JMGOCLTQ.js → flowchart-renderer-TTUSBBQI.js} +12 -12
- package/dist/highlight.js +7 -18
- package/dist/index.d.ts +7 -7
- package/dist/index.js +60 -58
- package/dist/layout-5ILNODTP.js +15 -0
- package/dist/{layout-RD7GDM4I.js → layout-B5GQVXXY.js} +4 -4
- package/dist/{layout-5RUQ5FBZ.js → layout-DAYQ46PS.js} +3 -3
- package/dist/{layout-2DVT24YY.js → layout-EM4DLMAX.js} +6 -6
- package/dist/{layout-LVMWK4QY.js → layout-KQUSB45X.js} +4 -4
- package/dist/{layout-WIMQIHBU.js → layout-ROORJQ4X.js} +4 -4
- package/dist/layout-RV2T2YTT.js +15 -0
- package/dist/{layout-AWPST2S3.js → layout-UJ62RQQ3.js} +7 -7
- package/dist/layout-VUZ3MLOI.js +15 -0
- package/dist/{layout-BGXLVSXL.js → layout-ZAGUFT2G.js} +8 -8
- package/dist/{layout-search-C44CJQOB.js → layout-search-UOKEMER5.js} +4 -4
- package/dist/{legend-constants-FP5MFDD4.js → legend-constants-PLN2YHGM.js} +5 -5
- package/dist/{palettes-WQZ2TPVZ.js → palettes-54YSI3IX.js} +4 -4
- package/dist/parser-2GMHFSTS.js +16 -0
- package/dist/parser-3AOMUX5D.js +14 -0
- package/dist/parser-3KQONLXZ.js +11 -0
- package/dist/parser-4DLU4SNG.js +11 -0
- package/dist/parser-4KFJKLP2.js +11 -0
- package/dist/{parser-CDMP3UVH.js → parser-5XFGK5C5.js} +7 -7
- package/dist/parser-6FUESG4N.js +13 -0
- package/dist/parser-B2XQNHZM.js +11 -0
- package/dist/parser-CJNP7RKR.js +13 -0
- package/dist/parser-E3OHNNTH.js +12 -0
- package/dist/parser-EQ4I3TSH.js +20 -0
- package/dist/parser-F4ZKDGUZ.js +12 -0
- package/dist/parser-GCVSRQPY.js +17 -0
- package/dist/parser-H4ZUNLX4.js +15 -0
- package/dist/parser-JYIZEKAS.js +19 -0
- package/dist/{parser-ZIEEBJMU.js → parser-L7RXUKYN.js} +7 -7
- package/dist/{parser-TJ3SP2MJ.js → parser-L7T7FY3H.js} +7 -7
- package/dist/parser-LUOINP6H.js +15 -0
- package/dist/parser-LV7PQBUG.js +13 -0
- package/dist/parser-ML3LVNDV.js +13 -0
- package/dist/parser-PR3OR3LO.js +14 -0
- package/dist/parser-QOIZGW7I.js +17 -0
- package/dist/parser-RDBXEVI4.js +12 -0
- package/dist/parser-TA5TYZNL.js +18 -0
- package/dist/parser-UTR5WE4O.js +13 -0
- package/dist/parser-WCFG3DZA.js +11 -0
- package/dist/{parser-XM6JC3UK.js → parser-WMJEPZDC.js} +6 -6
- package/dist/{parser-O7GTECFP.js → parser-WQNT7T2P.js} +5 -5
- package/dist/parser-WWRRG2DV.js +15 -0
- package/dist/parser-XVSDFO56.js +11 -0
- package/dist/parser-YWQCC33R.js +16 -0
- package/dist/{parser-EX3AGFT5.js → parser-ZT3PU2HT.js} +6 -6
- package/dist/parser-ZXQZZK6W.js +15 -0
- package/dist/pert.d.ts +10 -0
- package/dist/{renderer-WLA3NQCC.js → renderer-227JWWHX.js} +13 -13
- package/dist/renderer-2WW35ZIW.js +23 -0
- package/dist/renderer-3FB56573.js +22 -0
- package/dist/renderer-3LD3ANCP.js +25 -0
- package/dist/renderer-46QQH33X.js +27 -0
- package/dist/{renderer-2T2RAFWX.js → renderer-4K6KR3U3.js} +14 -14
- package/dist/{renderer-UPTO25OX.js → renderer-55JP6AO4.js} +12 -12
- package/dist/renderer-6HRDO635.js +26 -0
- package/dist/renderer-6IGQEVTE.js +20 -0
- package/dist/renderer-6SSIELBC.js +16 -0
- package/dist/{renderer-IH5C7NQT.js → renderer-AA5CC4VJ.js} +6 -6
- package/dist/renderer-BUEFD2IF.js +21 -0
- package/dist/{renderer-VP4DPLDY.js → renderer-CF5TYQT4.js} +6 -6
- package/dist/{renderer-W7JC2CTQ.js → renderer-E5BYZTVH.js} +6 -6
- package/dist/renderer-EJXFEA5C.js +25 -0
- package/dist/{renderer-FAD65M5Z.js → renderer-EP4GRCDX.js} +6 -6
- package/dist/renderer-IPNSOM5J.js +26 -0
- package/dist/{renderer-ACGZ5KJG.js → renderer-N2X3WYBY.js} +17 -17
- package/dist/{renderer-Y3D36RIT.js → renderer-NECP7G4X.js} +11 -11
- package/dist/renderer-OTHBTGBN.js +16 -0
- package/dist/{renderer-ZRHTC24Q.js → renderer-OWBIWBMK.js} +11 -11
- package/dist/{renderer-IZFO3G22.js → renderer-P55KPBIX.js} +17 -17
- package/dist/{renderer-K73COK5L.js → renderer-QLZVE45Z.js} +8 -8
- package/dist/{renderer-QZRM6H4S.js → renderer-SCIHPARI.js} +5 -5
- package/dist/{renderer-Y4VC3VH4.js → renderer-TI7QABY7.js} +14 -15
- package/dist/renderer-U6PK5ZKD.js +24 -0
- package/dist/renderer-UUPNOGO5.js +25 -0
- package/dist/{renderer-CB44E262.js → renderer-UXZEYV2X.js} +13 -13
- package/dist/renderer-UYYBJ7OB.js +76 -0
- package/dist/{renderer-CL4X5S3T.js → renderer-W7RKBG6C.js} +12 -12
- package/dist/{renderer-VEN6AIWW.js → renderer-XBL6CLN2.js} +12 -12
- package/dist/{renderer-E42I44WZ.js → renderer-YM7PLDBF.js} +13 -13
- package/dist/{renderer-2MEPYGAP.js → renderer-YQI5U6KJ.js} +13 -13
- package/dist/renderer-radial-MZP3SVTZ.js +21 -0
- package/dist/{resolver-B3TXWNWF.js → resolver-H5E6V7LJ.js} +3 -3
- package/dist/state-parser-TPA67IXM.js +19 -0
- package/dist/{state-renderer-FJ2GT4MU.js → state-renderer-OPP6YOJI.js} +17 -17
- package/dist/{tag-groups-NUA2F1I5.d.ts → tag-groups-DrHT2tEc.d.ts} +10 -0
- package/dist/{themes-Dem5xalq.d.ts → themes-GWhsabnx.d.ts} +2 -2
- package/docs/language-reference.md +52 -13
- package/gallery/fixtures/countdown.dgmo +1 -1
- package/package.json +1 -1
- package/dist/calculator-4CNL2GKU.js +0 -13
- package/dist/dgmo-router-O55I5UXN.js +0 -89
- package/dist/dimensions-EFEBIRS6.js +0 -22
- package/dist/flowchart-parser-LZF2GW2P.js +0 -21
- package/dist/layout-4D5JRUHX.js +0 -15
- package/dist/layout-VMDNULKS.js +0 -15
- package/dist/layout-VVTXA3W2.js +0 -15
- package/dist/parser-2CXA7K5C.js +0 -13
- package/dist/parser-4E2TVMOK.js +0 -13
- package/dist/parser-52AZJ3BA.js +0 -17
- package/dist/parser-52BOCAVQ.js +0 -15
- package/dist/parser-5IPCYVXY.js +0 -12
- package/dist/parser-6BF5TJQH.js +0 -16
- package/dist/parser-6VZISXFY.js +0 -11
- package/dist/parser-6Y5BMNNJ.js +0 -14
- package/dist/parser-7HUZBXKW.js +0 -11
- package/dist/parser-AEJ73QJS.js +0 -11
- package/dist/parser-AWNEAGMJ.js +0 -12
- package/dist/parser-C2QRTZPJ.js +0 -13
- package/dist/parser-CBSYFN6U.js +0 -11
- package/dist/parser-CNKHKQKZ.js +0 -17
- package/dist/parser-GK3JWVHY.js +0 -18
- package/dist/parser-GZKR6BFA.js +0 -14
- package/dist/parser-K26KDCZN.js +0 -11
- package/dist/parser-LTJ5AKY4.js +0 -16
- package/dist/parser-NIGB4EYX.js +0 -12
- package/dist/parser-OHWDJGCP.js +0 -15
- package/dist/parser-QCVEWLCO.js +0 -15
- package/dist/parser-SUAOF72Y.js +0 -13
- package/dist/parser-W2HXBHNC.js +0 -11
- package/dist/parser-WF4R7225.js +0 -15
- package/dist/parser-XRZQ7SC7.js +0 -13
- package/dist/parser-YRJAGBV7.js +0 -19
- package/dist/parser-Z3LN7P6G.js +0 -20
- package/dist/renderer-4DFEFP4X.js +0 -26
- package/dist/renderer-52KYFTNZ.js +0 -16
- package/dist/renderer-B4Q6LUW2.js +0 -24
- package/dist/renderer-E3UQ24DE.js +0 -25
- package/dist/renderer-H5QR3LC3.js +0 -16
- package/dist/renderer-JHWGW4Q7.js +0 -25
- package/dist/renderer-KQIJV5WD.js +0 -19
- package/dist/renderer-MZ4N2SVV.js +0 -25
- package/dist/renderer-QMSFXMAL.js +0 -21
- package/dist/renderer-VOXE7V6L.js +0 -27
- package/dist/renderer-WBG576LB.js +0 -26
- package/dist/renderer-XR4SVKNE.js +0 -22
- package/dist/renderer-YROML2KW.js +0 -76
- package/dist/renderer-YXYEP46H.js +0 -23
- package/dist/renderer-radial-KZ3W4WXI.js +0 -21
- package/dist/state-parser-HJNCGIFT.js +0 -19
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
stripDefaultModifier,
|
|
10
10
|
tagAttrKey,
|
|
11
11
|
validateTagGroupNames
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-76LHNLGX.js";
|
|
13
13
|
import {
|
|
14
14
|
JOURNEY_MAP_REGISTRY,
|
|
15
15
|
OPTION_NOCOLON_RE,
|
|
@@ -20,16 +20,16 @@ import {
|
|
|
20
20
|
splitNameAndMeta,
|
|
21
21
|
warnUnknownMetaKeys,
|
|
22
22
|
withTagAliases
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-M5OOAP65.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveColorWithDiagnostic
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-XOGQY4EC.js";
|
|
27
27
|
import {
|
|
28
28
|
formatDgmoError,
|
|
29
29
|
makeDgmoError,
|
|
30
30
|
makeFail,
|
|
31
31
|
suggest
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-5SI6T5A5.js";
|
|
33
33
|
|
|
34
34
|
// src/journey-map/parser.ts
|
|
35
35
|
var PHASE_RE = /^\[(.+?)\]$/;
|
|
@@ -419,4 +419,4 @@ function parseStepLine(trimmed, lineNumber, counter, aliasMap, warn, diagnostics
|
|
|
419
419
|
export {
|
|
420
420
|
parseJourneyMap
|
|
421
421
|
};
|
|
422
|
-
//# sourceMappingURL=chunk-
|
|
422
|
+
//# sourceMappingURL=chunk-2QRIMMIH.js.map
|
|
@@ -9,19 +9,19 @@ import {
|
|
|
9
9
|
tagAttrKey,
|
|
10
10
|
validateTagGroupNames,
|
|
11
11
|
validateTagValues
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-76LHNLGX.js";
|
|
13
13
|
import {
|
|
14
14
|
extractColor,
|
|
15
15
|
fillModeFromToken,
|
|
16
16
|
measureIndent,
|
|
17
17
|
parseFirstLine
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-M5OOAP65.js";
|
|
19
19
|
import {
|
|
20
20
|
formatDgmoError,
|
|
21
21
|
makeDgmoError,
|
|
22
22
|
makeFail,
|
|
23
23
|
suggest
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5SI6T5A5.js";
|
|
25
25
|
|
|
26
26
|
// src/block/parser.ts
|
|
27
27
|
function parseBlock(content, palette) {
|
|
@@ -342,4 +342,4 @@ function parseBlockTail(tail, aliasMap) {
|
|
|
342
342
|
export {
|
|
343
343
|
parseBlock
|
|
344
344
|
};
|
|
345
|
-
//# sourceMappingURL=chunk-
|
|
345
|
+
//# sourceMappingURL=chunk-3H4PDNP4.js.map
|
|
@@ -9,8 +9,9 @@ import {
|
|
|
9
9
|
stripDefaultModifier,
|
|
10
10
|
tagAttrKey,
|
|
11
11
|
validateTagGroupNames
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-76LHNLGX.js";
|
|
13
13
|
import {
|
|
14
|
+
AliasRegistry,
|
|
14
15
|
KANBAN_REGISTRY,
|
|
15
16
|
OPTION_NOCOLON_RE,
|
|
16
17
|
extractColor,
|
|
@@ -21,16 +22,16 @@ import {
|
|
|
21
22
|
splitNameAndMeta,
|
|
22
23
|
warnUnknownMetaKeys,
|
|
23
24
|
withTagAliases
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-M5OOAP65.js";
|
|
25
26
|
import {
|
|
26
27
|
resolveColorWithDiagnostic
|
|
27
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XOGQY4EC.js";
|
|
28
29
|
import {
|
|
29
30
|
formatDgmoError,
|
|
30
31
|
makeDgmoError,
|
|
31
32
|
makeFail,
|
|
32
33
|
suggest
|
|
33
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-5SI6T5A5.js";
|
|
34
35
|
|
|
35
36
|
// src/kanban/parser.ts
|
|
36
37
|
var COLUMN_RE = /^\[(.+?)\]\s*(.*)$/;
|
|
@@ -74,11 +75,12 @@ function parseKanban(content, palette) {
|
|
|
74
75
|
let columnCounter = 0;
|
|
75
76
|
let cardCounter = 0;
|
|
76
77
|
const metaAliasMap = /* @__PURE__ */ new Map();
|
|
77
|
-
const nameAliasMap =
|
|
78
|
+
const nameAliasMap = new AliasRegistry();
|
|
78
79
|
const tagValueSets = /* @__PURE__ */ new Map();
|
|
79
80
|
for (let i = 0; i < lines.length; i++) {
|
|
80
81
|
const line = lines[i];
|
|
81
82
|
const lineNumber = i + 1;
|
|
83
|
+
nameAliasMap.at(lineNumber);
|
|
82
84
|
const trimmed = line.trim();
|
|
83
85
|
if (!trimmed) {
|
|
84
86
|
if (currentTagGroup) currentTagGroup = null;
|
|
@@ -137,26 +139,6 @@ function parseKanban(content, palette) {
|
|
|
137
139
|
continue;
|
|
138
140
|
}
|
|
139
141
|
}
|
|
140
|
-
if (!contentStarted && !currentTagGroup && measureIndent(line) === 0) {
|
|
141
|
-
const optMatch = trimmed.match(OPTION_NOCOLON_RE);
|
|
142
|
-
if (optMatch && !COLUMN_RE.test(trimmed)) {
|
|
143
|
-
const key = optMatch[1].trim().toLowerCase();
|
|
144
|
-
if (KNOWN_OPTIONS.has(key)) {
|
|
145
|
-
options[key] = optMatch[2].trim();
|
|
146
|
-
if (key === "active-tag") activeTagOptionLine = lineNumber;
|
|
147
|
-
continue;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
const removedMsg = REMOVED_BOOLEANS[trimmed.toLowerCase()];
|
|
151
|
-
if (removedMsg && !COLUMN_RE.test(trimmed)) {
|
|
152
|
-
warn(lineNumber, removedMsg);
|
|
153
|
-
continue;
|
|
154
|
-
}
|
|
155
|
-
if (KNOWN_BOOLEANS.has(trimmed.toLowerCase()) && !COLUMN_RE.test(trimmed)) {
|
|
156
|
-
options[trimmed.toLowerCase()] = "on";
|
|
157
|
-
continue;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
142
|
if (currentTagGroup && !contentStarted) {
|
|
161
143
|
const indent2 = measureIndent(line);
|
|
162
144
|
if (indent2 > 0) {
|
|
@@ -181,6 +163,26 @@ function parseKanban(content, palette) {
|
|
|
181
163
|
}
|
|
182
164
|
currentTagGroup = null;
|
|
183
165
|
}
|
|
166
|
+
if (!contentStarted && !currentTagGroup && measureIndent(line) === 0) {
|
|
167
|
+
const optMatch = trimmed.match(OPTION_NOCOLON_RE);
|
|
168
|
+
if (optMatch && !COLUMN_RE.test(trimmed)) {
|
|
169
|
+
const key = optMatch[1].trim().toLowerCase();
|
|
170
|
+
if (KNOWN_OPTIONS.has(key)) {
|
|
171
|
+
options[key] = optMatch[2].trim();
|
|
172
|
+
if (key === "active-tag") activeTagOptionLine = lineNumber;
|
|
173
|
+
continue;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
const removedMsg = REMOVED_BOOLEANS[trimmed.toLowerCase()];
|
|
177
|
+
if (removedMsg && !COLUMN_RE.test(trimmed)) {
|
|
178
|
+
warn(lineNumber, removedMsg);
|
|
179
|
+
continue;
|
|
180
|
+
}
|
|
181
|
+
if (KNOWN_BOOLEANS.has(trimmed.toLowerCase()) && !COLUMN_RE.test(trimmed)) {
|
|
182
|
+
options[trimmed.toLowerCase()] = "on";
|
|
183
|
+
continue;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
184
186
|
const indent = measureIndent(line);
|
|
185
187
|
const columnMatch = indent === 0 ? trimmed.match(COLUMN_RE) : null;
|
|
186
188
|
if (columnMatch) {
|
|
@@ -251,7 +253,8 @@ function parseKanban(content, palette) {
|
|
|
251
253
|
delete columnMetadata["collapsed"];
|
|
252
254
|
}
|
|
253
255
|
const colId = `col-${columnCounter}`;
|
|
254
|
-
if (colAlias) nameAliasMap.
|
|
256
|
+
if (colAlias) nameAliasMap.declare(colAlias, colId, lineNumber);
|
|
257
|
+
nameAliasMap.noteCanonical(colId, lineNumber);
|
|
255
258
|
currentColumn = {
|
|
256
259
|
id: colId,
|
|
257
260
|
name: colName,
|
|
@@ -359,6 +362,7 @@ function parseKanban(content, palette) {
|
|
|
359
362
|
if (activeTagWarning) {
|
|
360
363
|
warn(activeTagOptionLine || 1, activeTagWarning, "W_ACTIVE_TAG_NO_MATCH");
|
|
361
364
|
}
|
|
365
|
+
result.diagnostics.push(...nameAliasMap.finish());
|
|
362
366
|
return result;
|
|
363
367
|
}
|
|
364
368
|
function parseCardLine(trimmed, lineNumber, counter, metaAliasMap, _palette, diagnostics) {
|
|
@@ -396,4 +400,4 @@ function parseCardLine(trimmed, lineNumber, counter, metaAliasMap, _palette, dia
|
|
|
396
400
|
export {
|
|
397
401
|
parseKanban
|
|
398
402
|
};
|
|
399
|
-
//# sourceMappingURL=chunk-
|
|
403
|
+
//# sourceMappingURL=chunk-3SP6G4LN.js.map
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
initD3Chart,
|
|
12
12
|
renderChartTitle,
|
|
13
13
|
resolveExportPalette
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RN3PAL4E.js";
|
|
15
15
|
import {
|
|
16
16
|
layoutInlineHeader
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YJMWEZOB.js";
|
|
18
18
|
import {
|
|
19
19
|
TITLE_FONT_SIZE,
|
|
20
20
|
TITLE_FONT_WEIGHT,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-A4GOY3PE.js";
|
|
24
24
|
import {
|
|
25
25
|
computeLegendLayout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4SXHMFFP.js";
|
|
27
27
|
import {
|
|
28
28
|
FONT_FAMILY
|
|
29
29
|
} from "./chunk-UTCPNJND.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
LEGEND_HEIGHT,
|
|
34
34
|
LEGEND_PILL_FONT_SIZE,
|
|
35
35
|
legendChromeColors
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YT5ICQ4R.js";
|
|
37
37
|
import {
|
|
38
38
|
measureText
|
|
39
39
|
} from "./chunk-MTGGOCND.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
getSimpleChartLegendGroups,
|
|
43
43
|
parseChart,
|
|
44
44
|
parseExtendedChart
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-M526IKKH.js";
|
|
46
46
|
import {
|
|
47
47
|
EMPHASIS_DIM_OPACITY,
|
|
48
48
|
EMPHASIS_DIM_TEXT_OPACITY,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
} from "./chunk-2CW5ZTNH.js";
|
|
51
51
|
import {
|
|
52
52
|
tagAttrKey
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-76LHNLGX.js";
|
|
54
54
|
import {
|
|
55
55
|
contrastText,
|
|
56
56
|
getSegmentColors,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
mix,
|
|
61
61
|
shapeFill,
|
|
62
62
|
themeBaseBg
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-GLREDNBA.js";
|
|
64
64
|
|
|
65
65
|
// src/utils/legend-svg.ts
|
|
66
66
|
var CENTER = 'dominant-baseline="central"';
|
|
@@ -2151,4 +2151,4 @@ export {
|
|
|
2151
2151
|
supportsD3DataChart,
|
|
2152
2152
|
renderDataChartD3
|
|
2153
2153
|
};
|
|
2154
|
-
//# sourceMappingURL=chunk-
|
|
2154
|
+
//# sourceMappingURL=chunk-474D3IUN.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
LEGEND_TOGGLE_DOT_R,
|
|
14
14
|
measureLegendText,
|
|
15
15
|
truncateLegendText
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YT5ICQ4R.js";
|
|
17
17
|
|
|
18
18
|
// src/utils/number-format.ts
|
|
19
19
|
function compactNumber(n) {
|
|
@@ -566,4 +566,4 @@ export {
|
|
|
566
566
|
getMaxLegendReservedHeight,
|
|
567
567
|
getLegendExtent
|
|
568
568
|
};
|
|
569
|
-
//# sourceMappingURL=chunk-
|
|
569
|
+
//# sourceMappingURL=chunk-4SXHMFFP.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
tagAttrKey,
|
|
9
9
|
validateTagGroupNames,
|
|
10
10
|
validateTagValues
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-76LHNLGX.js";
|
|
12
12
|
import {
|
|
13
13
|
TREEMAP_REGISTRY,
|
|
14
14
|
extractColor,
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
stripQuotes,
|
|
22
22
|
warnUnknownMetaKeys,
|
|
23
23
|
withTagAliases
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-M5OOAP65.js";
|
|
25
25
|
import {
|
|
26
26
|
emit,
|
|
27
27
|
formatDgmoError,
|
|
28
28
|
makeDgmoError,
|
|
29
29
|
makeFail,
|
|
30
30
|
suggest
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5SI6T5A5.js";
|
|
32
32
|
|
|
33
33
|
// src/treemap/diagnostics.ts
|
|
34
34
|
var TREEMAP_DX = {
|
|
@@ -445,4 +445,4 @@ export {
|
|
|
445
445
|
TREEMAP_DIAGNOSTICS,
|
|
446
446
|
parseTreemap
|
|
447
447
|
};
|
|
448
|
-
//# sourceMappingURL=chunk-
|
|
448
|
+
//# sourceMappingURL=chunk-4YER7UCV.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-PDKUANDZ.js";
|
|
5
5
|
import {
|
|
6
6
|
layoutGraph
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GE5RO4BS.js";
|
|
8
8
|
import {
|
|
9
9
|
appendArrowheadMarkers
|
|
10
10
|
} from "./chunk-LP7EC4MI.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
renderNoteBadge,
|
|
15
15
|
renderNoteBox,
|
|
16
16
|
renderNoteConnector
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Q74GP3GK.js";
|
|
18
18
|
import {
|
|
19
19
|
EDGE_LABEL_KNOCKOUT_OPACITY,
|
|
20
20
|
EDGE_STROKE_WIDTH,
|
|
@@ -39,14 +39,14 @@ import {
|
|
|
39
39
|
} from "./chunk-MTGGOCND.js";
|
|
40
40
|
import {
|
|
41
41
|
parseFlowchart
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-DU3OIBQE.js";
|
|
43
43
|
import {
|
|
44
44
|
fillModeFromOptions
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-M5OOAP65.js";
|
|
46
46
|
import {
|
|
47
47
|
contrastText,
|
|
48
48
|
shapeFill
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-GLREDNBA.js";
|
|
50
50
|
|
|
51
51
|
// src/graph/flowchart-renderer.ts
|
|
52
52
|
import * as d3Selection from "d3-selection";
|
|
@@ -586,4 +586,4 @@ export {
|
|
|
586
586
|
renderFlowchart,
|
|
587
587
|
renderFlowchartForExport
|
|
588
588
|
};
|
|
589
|
-
//# sourceMappingURL=chunk-
|
|
589
|
+
//# sourceMappingURL=chunk-57Z2WXJ2.js.map
|
|
@@ -12,19 +12,19 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
resolveTagColor,
|
|
14
14
|
tagAttrKey
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-76LHNLGX.js";
|
|
16
16
|
import {
|
|
17
17
|
fillModeFromOptions
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-M5OOAP65.js";
|
|
19
19
|
import {
|
|
20
20
|
contrastText,
|
|
21
21
|
mix,
|
|
22
22
|
themeBaseBg
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GLREDNBA.js";
|
|
24
24
|
import {
|
|
25
25
|
CATEGORICAL_COLOR_ORDER,
|
|
26
26
|
resolveColor
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XOGQY4EC.js";
|
|
28
28
|
|
|
29
29
|
// src/swimlane/renderer.ts
|
|
30
30
|
import * as d3Selection from "d3-selection";
|
|
@@ -401,4 +401,4 @@ function drawCenteredLabel(g, label, cx, cy, fill, fontSize, tight = false, halo
|
|
|
401
401
|
export {
|
|
402
402
|
renderSwimlaneForExport
|
|
403
403
|
};
|
|
404
|
-
//# sourceMappingURL=chunk-
|
|
404
|
+
//# sourceMappingURL=chunk-5KE6KHY6.js.map
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-24YPR5EH.js";
|
|
26
26
|
import {
|
|
27
27
|
layoutInlineHeader
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YJMWEZOB.js";
|
|
29
29
|
import {
|
|
30
30
|
serializeSvg
|
|
31
31
|
} from "./chunk-RU2HHHYA.js";
|
|
@@ -35,11 +35,11 @@ import {
|
|
|
35
35
|
} from "./chunk-A4GOY3PE.js";
|
|
36
36
|
import {
|
|
37
37
|
renderIntegratedLegend
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QT5UMFPE.js";
|
|
39
39
|
import {
|
|
40
40
|
getLegendExtent,
|
|
41
41
|
getMaxLegendReservedHeight
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-4SXHMFFP.js";
|
|
43
43
|
import {
|
|
44
44
|
FONT_FAMILY
|
|
45
45
|
} from "./chunk-UTCPNJND.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
LEGEND_EYE_SIZE,
|
|
51
51
|
LEGEND_GROUP_GAP,
|
|
52
52
|
LEGEND_HEIGHT
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-YT5ICQ4R.js";
|
|
54
54
|
import {
|
|
55
55
|
measureText
|
|
56
56
|
} from "./chunk-MTGGOCND.js";
|
|
@@ -59,18 +59,18 @@ import {
|
|
|
59
59
|
} from "./chunk-IYULMRBE.js";
|
|
60
60
|
import {
|
|
61
61
|
tagAttrKey
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-76LHNLGX.js";
|
|
63
63
|
import {
|
|
64
64
|
fillModeFromOptions,
|
|
65
65
|
legendInlineRequested,
|
|
66
66
|
legendSuppressed
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-M5OOAP65.js";
|
|
68
68
|
import {
|
|
69
69
|
contrastText,
|
|
70
70
|
mix,
|
|
71
71
|
shapeFill,
|
|
72
72
|
themeBaseBg
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-GLREDNBA.js";
|
|
74
74
|
|
|
75
75
|
// src/sitemap/renderer.ts
|
|
76
76
|
import * as d3Selection from "d3-selection";
|
|
@@ -449,9 +449,9 @@ 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-
|
|
454
|
-
const { getPalette } = await import("./palettes-
|
|
452
|
+
const { parseSitemap } = await import("./parser-2GMHFSTS.js");
|
|
453
|
+
const { layoutSitemap } = await import("./layout-VUZ3MLOI.js");
|
|
454
|
+
const { getPalette } = await import("./palettes-54YSI3IX.js");
|
|
455
455
|
const isDark = theme === "dark";
|
|
456
456
|
const effectivePalette = palette ?? (isDark ? getPalette("nord").dark : getPalette("nord").light);
|
|
457
457
|
const parsed = parseSitemap(content, effectivePalette);
|
|
@@ -500,4 +500,4 @@ export {
|
|
|
500
500
|
renderSitemap,
|
|
501
501
|
renderSitemapForExport
|
|
502
502
|
};
|
|
503
|
-
//# sourceMappingURL=chunk-
|
|
503
|
+
//# sourceMappingURL=chunk-5NAOTRLN.js.map
|
|
@@ -8,18 +8,18 @@ import {
|
|
|
8
8
|
resolveActiveTagGroup,
|
|
9
9
|
stripDefaultModifier,
|
|
10
10
|
tagAttrKey
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-76LHNLGX.js";
|
|
12
12
|
import {
|
|
13
13
|
extractColor,
|
|
14
14
|
fillModeFromToken,
|
|
15
15
|
measureIndent,
|
|
16
16
|
parseFirstLine,
|
|
17
17
|
splitNameAndMeta
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-M5OOAP65.js";
|
|
19
19
|
import {
|
|
20
20
|
makeDgmoError,
|
|
21
21
|
makeFail
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5SI6T5A5.js";
|
|
23
23
|
|
|
24
24
|
// src/bracket/parser.ts
|
|
25
25
|
var BEATS_RE = /^(.+?)\s+beats\s+(.+)$/i;
|
|
@@ -392,4 +392,4 @@ function parseBracket(content, palette) {
|
|
|
392
392
|
export {
|
|
393
393
|
parseBracket
|
|
394
394
|
};
|
|
395
|
-
//# sourceMappingURL=chunk-
|
|
395
|
+
//# sourceMappingURL=chunk-5PFNUDXR.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-MTGGOCND.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveNotes
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-E6PNTYRK.js";
|
|
13
13
|
|
|
14
14
|
// src/er/layout.ts
|
|
15
15
|
import dagre from "@dagrejs/dagre";
|
|
@@ -326,4 +326,4 @@ function layoutERDiagram(parsed, options) {
|
|
|
326
326
|
export {
|
|
327
327
|
layoutERDiagram
|
|
328
328
|
};
|
|
329
|
-
//# sourceMappingURL=chunk-
|
|
329
|
+
//# sourceMappingURL=chunk-5VMUVJO4.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-RT7ACF77.js";
|
|
4
4
|
import {
|
|
5
5
|
makeDgmoError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5SI6T5A5.js";
|
|
7
7
|
|
|
8
8
|
// src/sketch/geometry.ts
|
|
9
9
|
var SKETCH_PHI = (1 + Math.sqrt(5)) / 2;
|
|
@@ -532,4 +532,4 @@ export {
|
|
|
532
532
|
SKETCH_AUTO_LAYOUT_DEFAULTS,
|
|
533
533
|
layoutSketch
|
|
534
534
|
};
|
|
535
|
-
//# sourceMappingURL=chunk-
|
|
535
|
+
//# sourceMappingURL=chunk-6DYZ2JM6.js.map
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
peelQuotedName,
|
|
3
3
|
stripQuotes,
|
|
4
4
|
tokenizeQuoteAware
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-M5OOAP65.js";
|
|
6
6
|
import {
|
|
7
7
|
CATEGORICAL_COLOR_ORDER,
|
|
8
8
|
RECOGNIZED_COLOR_NAMES,
|
|
9
9
|
resolveColor
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XOGQY4EC.js";
|
|
11
11
|
import {
|
|
12
12
|
suggest
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5SI6T5A5.js";
|
|
14
14
|
|
|
15
15
|
// src/utils/tag-groups.ts
|
|
16
16
|
function tagAttrKey(name) {
|
|
@@ -290,4 +290,4 @@ export {
|
|
|
290
290
|
activeTagNoMatchMessage,
|
|
291
291
|
matchTagBlockHeading
|
|
292
292
|
};
|
|
293
|
-
//# sourceMappingURL=chunk-
|
|
293
|
+
//# sourceMappingURL=chunk-76LHNLGX.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractColor,
|
|
3
3
|
measureIndent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M5OOAP65.js";
|
|
5
5
|
import {
|
|
6
6
|
makeDgmoError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5SI6T5A5.js";
|
|
8
8
|
|
|
9
9
|
// src/utils/notes/parse.ts
|
|
10
10
|
function parseNoteHeader(rest) {
|
|
@@ -73,4 +73,4 @@ function tryCollectNote(lines, index, indent, palette, diagnostics) {
|
|
|
73
73
|
export {
|
|
74
74
|
tryCollectNote
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
76
|
+
//# sourceMappingURL=chunk-76NHL5UG.js.map
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
extractColor,
|
|
3
3
|
measureIndent,
|
|
4
4
|
parseFirstLine
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-M5OOAP65.js";
|
|
6
6
|
import {
|
|
7
7
|
emit,
|
|
8
8
|
formatDgmoError,
|
|
9
9
|
makeFail,
|
|
10
10
|
suggest
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5SI6T5A5.js";
|
|
12
12
|
|
|
13
13
|
// src/version-control/diagnostics.ts
|
|
14
14
|
var VERSION_CONTROL_DX = {
|
|
@@ -507,4 +507,4 @@ export {
|
|
|
507
507
|
VERSION_CONTROL_DIAGNOSTICS,
|
|
508
508
|
parseVersionControl
|
|
509
509
|
};
|
|
510
|
-
//# sourceMappingURL=chunk-
|
|
510
|
+
//# sourceMappingURL=chunk-7BMX2M3F.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
parseArrow,
|
|
6
6
|
parseInArrowLabel
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IHOFUR74.js";
|
|
8
8
|
import {
|
|
9
9
|
displayName,
|
|
10
10
|
normalizeName
|
|
@@ -17,8 +17,9 @@ import {
|
|
|
17
17
|
stripDefaultModifier,
|
|
18
18
|
validateTagGroupNames,
|
|
19
19
|
validateTagValues
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-76LHNLGX.js";
|
|
21
21
|
import {
|
|
22
|
+
AliasRegistry,
|
|
22
23
|
FILL_FAMILY_TOKENS,
|
|
23
24
|
OPTION_NOCOLON_RE,
|
|
24
25
|
SEQUENCE_REGISTRY,
|
|
@@ -30,7 +31,7 @@ import {
|
|
|
30
31
|
splitNameAndMeta,
|
|
31
32
|
warnUnknownMetaKeys,
|
|
32
33
|
withTagAliases
|
|
33
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-M5OOAP65.js";
|
|
34
35
|
import {
|
|
35
36
|
NAME_DIAGNOSTIC_CODES,
|
|
36
37
|
formatDgmoError,
|
|
@@ -38,7 +39,7 @@ import {
|
|
|
38
39
|
makeFail,
|
|
39
40
|
nameMergedMessage,
|
|
40
41
|
suggest
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-5SI6T5A5.js";
|
|
42
43
|
|
|
43
44
|
// src/sequence/parser.ts
|
|
44
45
|
var KNOWN_SEQ_OPTIONS = /* @__PURE__ */ new Set(["active-tag"]);
|
|
@@ -48,7 +49,8 @@ var KNOWN_SEQ_BOOLEANS = /* @__PURE__ */ new Set([
|
|
|
48
49
|
"fill-outline",
|
|
49
50
|
"no-title",
|
|
50
51
|
"no-legend",
|
|
51
|
-
"legend-inline"
|
|
52
|
+
"legend-inline",
|
|
53
|
+
"autonumber"
|
|
52
54
|
]);
|
|
53
55
|
var NO_PREFIX_ONLY_BOOLEANS = /* @__PURE__ */ new Set(["activations"]);
|
|
54
56
|
var VALID_PARTICIPANT_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -210,10 +212,10 @@ function parseSequenceDgmo(content, palette) {
|
|
|
210
212
|
diagnostics: [],
|
|
211
213
|
error: null
|
|
212
214
|
};
|
|
213
|
-
const nameAliasMap =
|
|
215
|
+
const nameAliasMap = new AliasRegistry();
|
|
214
216
|
const resolveAlias = (token) => {
|
|
215
217
|
const trimmed = token.trim();
|
|
216
|
-
return nameAliasMap.
|
|
218
|
+
return nameAliasMap.resolve(trimmed) ?? trimmed;
|
|
217
219
|
};
|
|
218
220
|
const fail = makeFail(result);
|
|
219
221
|
const pushError = (line, message) => {
|
|
@@ -360,6 +362,7 @@ function parseSequenceDgmo(content, palette) {
|
|
|
360
362
|
const raw = lines[i];
|
|
361
363
|
const trimmed = raw.trim();
|
|
362
364
|
const lineNumber = i + 1;
|
|
365
|
+
nameAliasMap.at(lineNumber);
|
|
363
366
|
if (!trimmed) {
|
|
364
367
|
activeGroup = null;
|
|
365
368
|
currentTagGroup = null;
|
|
@@ -605,13 +608,14 @@ function parseSequenceDgmo(content, palette) {
|
|
|
605
608
|
typeStr
|
|
606
609
|
) ? typeStr : "default";
|
|
607
610
|
if (isAAlias !== void 0) {
|
|
608
|
-
nameAliasMap.
|
|
611
|
+
nameAliasMap.declare(isAAlias, id, lineNumber);
|
|
609
612
|
}
|
|
613
|
+
nameAliasMap.noteCanonical(id, lineNumber);
|
|
610
614
|
const asInRemainder = remainder.match(
|
|
611
615
|
/^(.*?)\s*\bas\s+([A-Za-z][A-Za-z0-9_]{0,11})\s*$/
|
|
612
616
|
);
|
|
613
617
|
if (asInRemainder) {
|
|
614
|
-
nameAliasMap.
|
|
618
|
+
nameAliasMap.declare(asInRemainder[2], id, lineNumber);
|
|
615
619
|
}
|
|
616
620
|
const position = takePosition(isAMeta, lineNumber);
|
|
617
621
|
const key = addParticipant(id, lineNumber, {
|
|
@@ -670,7 +674,9 @@ function parseSequenceDgmo(content, palette) {
|
|
|
670
674
|
if (/^\S+$/.test(bareCore) && !ARROW_PATTERN.test(bareCore) && (inGroup || !bodyStarted || bareMeta)) {
|
|
671
675
|
contentStarted = true;
|
|
672
676
|
const id = bareCore;
|
|
673
|
-
if (bareAlias !== void 0)
|
|
677
|
+
if (bareAlias !== void 0)
|
|
678
|
+
nameAliasMap.declare(bareAlias, id, lineNumber);
|
|
679
|
+
nameAliasMap.noteCanonical(id, lineNumber);
|
|
674
680
|
const position = takePosition(bareMeta, lineNumber);
|
|
675
681
|
const key = addParticipant(id, lineNumber, {
|
|
676
682
|
...position !== void 0 && { position },
|
|
@@ -1046,6 +1052,7 @@ function parseSequenceDgmo(content, palette) {
|
|
|
1046
1052
|
"W_ACTIVE_TAG_NO_MATCH"
|
|
1047
1053
|
);
|
|
1048
1054
|
}
|
|
1055
|
+
result.diagnostics.push(...nameAliasMap.finish());
|
|
1049
1056
|
return result;
|
|
1050
1057
|
}
|
|
1051
1058
|
function looksLikeSequence(content) {
|
|
@@ -1065,4 +1072,4 @@ export {
|
|
|
1065
1072
|
parseSequenceDgmo,
|
|
1066
1073
|
looksLikeSequence
|
|
1067
1074
|
};
|
|
1068
|
-
//# sourceMappingURL=chunk-
|
|
1075
|
+
//# sourceMappingURL=chunk-7NSNE52V.js.map
|