@diagrammo/dgmo 0.72.0 → 0.73.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-KQWXVQOI.js} +3 -3
- package/dist/block.d.ts +2 -2
- package/dist/block.js +63 -75
- package/dist/calculator-2Z5DUTOB.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-S6JPQQFZ.js} +12 -12
- package/dist/{chunk-7BHM774H.js → chunk-25LXU4OQ.js} +8 -8
- package/dist/{chunk-7SEQPFBX.js → chunk-2AC2KTVM.js} +33 -28
- package/dist/{chunk-NUF7YTHA.js → chunk-2M2UC5EU.js} +3 -3
- package/dist/{chunk-CGLBK5Q4.js → chunk-2PU5XWLA.js} +2 -2
- package/dist/{chunk-MWWRIOEN.js → chunk-2TFWQM3E.js} +3 -3
- package/dist/{chunk-FLXDMH7B.js → chunk-3ATHNEOQ.js} +30 -24
- package/dist/{chunk-FFD6A3B2.js → chunk-3AXUJ5PT.js} +16 -10
- package/dist/{chunk-PKTRDOBI.js → chunk-3OKBXV3I.js} +3 -3
- package/dist/{chunk-2VBJCTSG.js → chunk-3X3UD7PN.js} +5 -5
- package/dist/{chunk-DPGI742S.js → chunk-4FKEI4MF.js} +4 -4
- package/dist/{chunk-WPXHTYET.js → chunk-4K5H6LON.js} +4 -4
- package/dist/{chunk-LTGOPJUV.js → chunk-4NYJEK4R.js} +3 -3
- package/dist/{chunk-MTPKBSTR.js → chunk-4SXHMFFP.js} +2 -2
- package/dist/{chunk-VE7PPEU3.js → chunk-54SJUHNY.js} +8 -8
- package/dist/{chunk-BYSRXYRW.js → chunk-5EI23VVR.js} +6 -6
- 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-ELIGVSLE.js → chunk-6G2GJGUC.js} +12 -6
- package/dist/{chunk-E36Q5ABQ.js → chunk-6LGPL4LP.js} +7 -7
- package/dist/{chunk-KJWIU5AM.js → chunk-7GYSVN4Z.js} +3 -3
- package/dist/{chunk-YTFA4VTW.js → chunk-7S5WQXI3.js} +3 -3
- package/dist/{chunk-MKNWMFZU.js → chunk-7VMUKH2Z.js} +31 -27
- package/dist/{chunk-VLXYWPPE.js → chunk-A34AXXBO.js} +7 -7
- package/dist/{chunk-N5247W2W.js → chunk-ABH626W7.js} +14 -9
- package/dist/{chunk-GCTKJDLY.js → chunk-AG3Z47VY.js} +10 -10
- package/dist/{chunk-T7W5LM4N.js → chunk-AMYMV4JZ.js} +5 -5
- package/dist/{chunk-KOVRFBGR.js → chunk-ARM4G2HJ.js} +16 -11
- package/dist/{chunk-UF3EALKC.js → chunk-B5CIHVBP.js} +10 -10
- package/dist/{chunk-MC2H32SM.js → chunk-BVNTXVYJ.js} +4 -4
- package/dist/{chunk-DZ34UUXC.js → chunk-CLKRRKV6.js} +11 -11
- package/dist/{chunk-UY77QQWU.js → chunk-CVGTEAIO.js} +11 -7
- package/dist/{chunk-IXVK7XCN.js → chunk-D5ZZOTE6.js} +2 -2
- package/dist/{chunk-WMHHNK44.js → chunk-DGPFFRLS.js} +2 -2
- package/dist/{chunk-EETUTZ5C.js → chunk-DTYZAXEH.js} +2 -2
- package/dist/{chunk-MUVASOBD.js → chunk-DZC2OCK3.js} +10 -10
- package/dist/{chunk-REBTZP3W.js → chunk-E27E4ZFN.js} +6 -6
- package/dist/{chunk-BSI5EOAX.js → chunk-E3BJVEMZ.js} +7 -11
- package/dist/{chunk-7NK42OIB.js → chunk-E6PNTYRK.js} +2 -2
- package/dist/{chunk-3SNE4CLI.js → chunk-EPJHJF3J.js} +7 -7
- package/dist/{chunk-HBVKOYZD.js → chunk-FGXBIOVK.js} +3 -3
- package/dist/{chunk-U4NFAWQW.js → chunk-FQDH6AL3.js} +9 -9
- package/dist/{chunk-XIZCHGP7.js → chunk-FQFQGPWA.js} +9 -9
- package/dist/{chunk-IKHV5IJB.js → chunk-GE5RO4BS.js} +2 -2
- package/dist/{chunk-KWRW6BLG.js → chunk-GLREDNBA.js} +2 -2
- package/dist/{chunk-UKOOGXRF.js → chunk-H454ZVAS.js} +8 -8
- package/dist/{chunk-VMXV2CL5.js → chunk-HQ34V2XV.js} +5 -5
- package/dist/{chunk-YG35ZCNW.js → chunk-I4YT5KL6.js} +36 -32
- package/dist/{chunk-QAJFIXJE.js → chunk-IDEJ3J4J.js} +28 -28
- package/dist/{chunk-TF7CFAZ5.js → chunk-IEZYF5CN.js} +4 -4
- package/dist/{chunk-RRX4Z4TH.js → chunk-IHOFUR74.js} +2 -2
- package/dist/{chunk-3HN32MEK.js → chunk-INOSOL3J.js} +4 -4
- package/dist/{chunk-6OAKQTXQ.js → chunk-ITAFWUSB.js} +3 -3
- package/dist/{chunk-MX3BYU7V.js → chunk-JLSGQMRA.js} +3 -3
- package/dist/{chunk-P6RPHRX7.js → chunk-JPVRJS74.js} +6 -6
- package/dist/{chunk-6DGMS2WJ.js → chunk-K3O2CZTD.js} +6 -6
- package/dist/{chunk-66VHK7PP.js → chunk-K7P4SCB3.js} +9 -9
- package/dist/{chunk-UTVKOGFF.js → chunk-KCHCOXAL.js} +94 -40
- package/dist/{chunk-VGLSKDDI.js → chunk-KI2L4DWM.js} +3 -3
- package/dist/{chunk-AEYRSPVV.js → chunk-KUDYLU3M.js} +3 -3
- package/dist/{chunk-QITH5XOX.js → chunk-KZKRK57S.js} +11 -11
- package/dist/{chunk-4VUFJ7UA.js → chunk-LGASNVZE.js} +6 -6
- package/dist/{chunk-ET4R3AU5.js → chunk-LM3HY3VG.js} +2 -2
- package/dist/{chunk-RJI6MHHK.js → chunk-LMJKHQ4W.js} +6 -6
- package/dist/{chunk-ZJJWON5O.js → chunk-MK55PZVB.js} +268 -3
- package/dist/{chunk-RTTELOOP.js → chunk-MS5574I7.js} +3 -3
- package/dist/{chunk-I55PVEIX.js → chunk-MSVQ2YCY.js} +2 -2
- package/dist/{chunk-WEC3JPTN.js → chunk-MZMK474U.js} +8 -8
- package/dist/{chunk-NTBHGUXY.js → chunk-NE7JHZCQ.js} +4 -4
- package/dist/{chunk-JIWDWOYA.js → chunk-NQJ7DDUT.js} +4 -4
- package/dist/{chunk-6S53NO3M.js → chunk-O7ZKDUDX.js} +5 -5
- package/dist/{chunk-PBV2C3BW.js → chunk-OMQ5V5NH.js} +24 -20
- package/dist/{chunk-W27BULCB.js → chunk-OR3OX32W.js} +9 -9
- package/dist/{chunk-MFSTE3YG.js → chunk-OYK45NY5.js} +26 -18
- package/dist/{chunk-DHKVHP3Y.js → chunk-PFZDLHHG.js} +9 -9
- package/dist/{chunk-HKL66CKW.js → chunk-PJHYUVD3.js} +9 -9
- package/dist/{chunk-K6MQJ5IV.js → chunk-Q446PFCV.js} +3 -3
- package/dist/{chunk-IW6N2JJL.js → chunk-Q74GP3GK.js} +2 -2
- package/dist/{chunk-L3XB446I.js → chunk-QFHPGDR5.js} +2 -2
- package/dist/{chunk-QPG55HGH.js → chunk-RJUMXXKR.js} +5 -5
- package/dist/{chunk-SPA7DCB3.js → chunk-RN3PAL4E.js} +3 -3
- package/dist/{chunk-WRWUZ2C4.js → chunk-RXSAE6F5.js} +4 -4
- package/dist/{chunk-W7SZKJR6.js → chunk-RYHZFP7Y.js} +4 -4
- package/dist/{chunk-WF2HDQPG.js → chunk-S6OXNZBM.js} +3 -3
- package/dist/{chunk-UNM2PX5D.js → chunk-SNZFXGSE.js} +4 -4
- package/dist/{chunk-LSHROB27.js → chunk-T4L4LKXO.js} +5 -5
- package/dist/{chunk-FTPNAYL2.js → chunk-TJS3J5B3.js} +4 -4
- package/dist/{chunk-7TSBM4BV.js → chunk-TP42IN23.js} +5 -5
- package/dist/{chunk-7RAWNJI5.js → chunk-TTVHS3D5.js} +98 -98
- package/dist/{chunk-6PA32CUB.js → chunk-TXWW4UZM.js} +4 -4
- package/dist/{chunk-GK4AU57A.js → chunk-V7E3RZLQ.js} +5 -5
- package/dist/{chunk-NNMNHE3J.js → chunk-VQEW7XMN.js} +3 -3
- package/dist/{chunk-YYBQ55V2.js → chunk-VWIXRNY2.js} +4 -4
- package/dist/{chunk-YH5KJIO5.js → chunk-W242EWZZ.js} +8 -8
- package/dist/{chunk-2OTYNNHS.js → chunk-WDKLODC3.js} +10 -10
- package/dist/{chunk-OQKP2X3D.js → chunk-WFA6IULY.js} +57 -3
- package/dist/{chunk-HWNF22ZZ.js → chunk-WPEHUSUQ.js} +5 -5
- package/dist/{chunk-NJKUTY4M.js → chunk-WTMP6VZ6.js} +5 -5
- package/dist/{chunk-N34OTOGH.js → chunk-X6LVGU4W.js} +3 -3
- package/dist/{chunk-7U3NDE7T.js → chunk-X6LXZJPT.js} +7 -7
- package/dist/{chunk-UCGEBFUC.js → chunk-XGBUCXU7.js} +4 -4
- package/dist/{chunk-NEC7R2CB.js → chunk-XL2C26LV.js} +3 -3
- package/dist/{chunk-EXNKNJ65.js → chunk-XOGQY4EC.js} +2 -2
- package/dist/{chunk-UNTFANSM.js → chunk-XOOYMOIW.js} +15 -10
- package/dist/{chunk-DEVZWCD5.js → chunk-XUCHK3OJ.js} +21 -12
- package/dist/{chunk-O4OVVK6J.js → chunk-XVJWAE2F.js} +7 -7
- package/dist/{chunk-PZVYUQJA.js → chunk-YDA46XHI.js} +4 -4
- package/dist/{chunk-HZQCKXPB.js → chunk-YGKYQ7LA.js} +42 -42
- package/dist/{chunk-6CLC26GU.js → chunk-YJMWEZOB.js} +2 -2
- package/dist/{chunk-QX53GOI7.js → chunk-YT5ICQ4R.js} +2 -2
- package/dist/{chunk-376ATV2Q.js → chunk-ZIJXK3U5.js} +5 -5
- package/dist/{chunk-5DYDPP7K.js → chunk-ZQ5SROS2.js} +115 -240
- package/dist/completion-registry.js +24 -21
- package/dist/countdown.js +26 -6
- package/dist/{d3-Bfhj-XBX.d.ts → d3--y67plmW.d.ts} +1 -1
- package/dist/dgmo-router-AE6FUBV3.js +89 -0
- package/dist/{dgmo-router-Lya7cs3R.d.ts → dgmo-router-CY5j16Pl.d.ts} +1 -1
- package/dist/dimensions-PRZSDFWR.js +22 -0
- package/dist/flowchart-parser-HR25V5AH.js +21 -0
- package/dist/{flowchart-renderer-JMGOCLTQ.js → flowchart-renderer-FY63GDRH.js} +12 -12
- package/dist/highlight.js +6 -18
- package/dist/index.d.ts +7 -7
- package/dist/index.js +60 -58
- package/dist/{layout-AWPST2S3.js → layout-43A4YMAH.js} +7 -7
- package/dist/layout-4URV4OXF.js +15 -0
- package/dist/{layout-RD7GDM4I.js → layout-B5GQVXXY.js} +4 -4
- package/dist/layout-BWHNERBW.js +15 -0
- package/dist/{layout-5RUQ5FBZ.js → layout-DAYQ46PS.js} +3 -3
- package/dist/{layout-LVMWK4QY.js → layout-KQUSB45X.js} +4 -4
- package/dist/{layout-2DVT24YY.js → layout-O4PR46GN.js} +6 -6
- package/dist/layout-PKGNLY6P.js +15 -0
- package/dist/{layout-WIMQIHBU.js → layout-ROORJQ4X.js} +4 -4
- package/dist/{layout-BGXLVSXL.js → layout-U5OVRUOK.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-23MYMNF6.js +14 -0
- package/dist/parser-2FNHLEBN.js +12 -0
- package/dist/{parser-XM6JC3UK.js → parser-2FZ4BDEW.js} +6 -6
- package/dist/parser-3JDQL7QF.js +15 -0
- package/dist/parser-5CAGM3ED.js +16 -0
- package/dist/parser-5RY6ID5M.js +18 -0
- package/dist/parser-6YBYIFS2.js +13 -0
- package/dist/parser-A665TNOV.js +20 -0
- package/dist/parser-AN4SUBQ6.js +11 -0
- package/dist/parser-BC2TAVB3.js +11 -0
- package/dist/parser-BCQBK2XB.js +12 -0
- package/dist/parser-BTTFGJGI.js +12 -0
- package/dist/parser-CAAFD3HB.js +19 -0
- package/dist/parser-COBTDQPC.js +11 -0
- package/dist/parser-DBOJKLDF.js +14 -0
- package/dist/{parser-TJ3SP2MJ.js → parser-DIQ2E5MR.js} +7 -7
- package/dist/parser-EDXD6ZGJ.js +13 -0
- package/dist/parser-GPZYL6ZE.js +11 -0
- package/dist/parser-MDYNA6JL.js +17 -0
- package/dist/parser-PCALQIW2.js +17 -0
- package/dist/parser-PDPZ2I6C.js +13 -0
- package/dist/parser-SQFNO6XG.js +15 -0
- package/dist/{parser-ZIEEBJMU.js → parser-SQMOEVG4.js} +7 -7
- package/dist/parser-TATBFGQ2.js +15 -0
- package/dist/{parser-EX3AGFT5.js → parser-VJEHPDOO.js} +6 -6
- package/dist/{parser-O7GTECFP.js → parser-VQX2LVUJ.js} +5 -5
- package/dist/{parser-CDMP3UVH.js → parser-W2LEO5QM.js} +7 -7
- package/dist/parser-W3QZBUOF.js +13 -0
- package/dist/parser-WQCSMLUI.js +15 -0
- package/dist/parser-X5RGCC3C.js +11 -0
- package/dist/parser-XGUJ7SMG.js +13 -0
- package/dist/parser-XS7DL63K.js +16 -0
- package/dist/parser-XTSWP4N3.js +11 -0
- package/dist/pert.d.ts +10 -0
- package/dist/{renderer-ZRHTC24Q.js → renderer-2DIH3YW6.js} +11 -11
- package/dist/{renderer-IH5C7NQT.js → renderer-2E2Z5N66.js} +6 -6
- package/dist/renderer-4HGNWJRC.js +25 -0
- package/dist/renderer-6U6YW4HX.js +26 -0
- package/dist/{renderer-IZFO3G22.js → renderer-AKZECRNK.js} +17 -17
- package/dist/{renderer-2T2RAFWX.js → renderer-BUMIZJIY.js} +14 -14
- package/dist/renderer-BY5AAKV7.js +25 -0
- package/dist/renderer-DU6D3S6K.js +27 -0
- package/dist/{renderer-UPTO25OX.js → renderer-EAQNSDTC.js} +12 -12
- package/dist/{renderer-FAD65M5Z.js → renderer-EP4GRCDX.js} +6 -6
- package/dist/{renderer-WLA3NQCC.js → renderer-GQUJVPVA.js} +13 -13
- package/dist/{renderer-W7JC2CTQ.js → renderer-HZCYBOAB.js} +6 -6
- package/dist/renderer-IMZKZ6TV.js +23 -0
- package/dist/renderer-J2N5YBFP.js +16 -0
- package/dist/renderer-KJNTNI22.js +26 -0
- package/dist/renderer-LKZZID6J.js +76 -0
- package/dist/renderer-MCWAHNQG.js +22 -0
- package/dist/renderer-MJCSBYAR.js +25 -0
- package/dist/{renderer-CB44E262.js → renderer-NXOSBZPO.js} +13 -13
- package/dist/renderer-ODDULMVE.js +20 -0
- package/dist/renderer-OTHBTGBN.js +16 -0
- package/dist/{renderer-VP4DPLDY.js → renderer-R7Q72DM4.js} +6 -6
- package/dist/renderer-S42JPAZO.js +24 -0
- package/dist/{renderer-QZRM6H4S.js → renderer-SCIHPARI.js} +5 -5
- package/dist/{renderer-K73COK5L.js → renderer-SW5YUK6H.js} +8 -8
- package/dist/{renderer-VEN6AIWW.js → renderer-TBWE67FB.js} +12 -12
- package/dist/{renderer-ACGZ5KJG.js → renderer-V7476J5G.js} +17 -17
- package/dist/renderer-VG4C23TY.js +21 -0
- package/dist/{renderer-E42I44WZ.js → renderer-WG6CUDWI.js} +13 -13
- package/dist/{renderer-2MEPYGAP.js → renderer-XL54ZE4H.js} +13 -13
- package/dist/{renderer-Y4VC3VH4.js → renderer-XNLRQWM6.js} +13 -13
- package/dist/{renderer-CL4X5S3T.js → renderer-YIJYYZZE.js} +12 -12
- package/dist/{renderer-Y3D36RIT.js → renderer-YX6S3U4L.js} +11 -11
- package/dist/renderer-radial-ZZAAPDSY.js +21 -0
- package/dist/{resolver-B3TXWNWF.js → resolver-H5E6V7LJ.js} +3 -3
- package/dist/state-parser-4DJ67MNV.js +19 -0
- package/dist/{state-renderer-FJ2GT4MU.js → state-renderer-IABX3URA.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 +49 -11
- 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
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-C3Z4DX3V.js";
|
|
4
4
|
import {
|
|
5
5
|
parseInArrowLabel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IHOFUR74.js";
|
|
7
7
|
import {
|
|
8
8
|
tryStripDescriptionKeyword
|
|
9
9
|
} from "./chunk-IYULMRBE.js";
|
|
@@ -18,8 +18,9 @@ import {
|
|
|
18
18
|
stripDefaultModifier,
|
|
19
19
|
tagAttrKey,
|
|
20
20
|
validateTagGroupNames
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4FKEI4MF.js";
|
|
22
22
|
import {
|
|
23
|
+
AliasRegistry,
|
|
23
24
|
C4_REGISTRY,
|
|
24
25
|
OPTION_NOCOLON_RE,
|
|
25
26
|
extractColor,
|
|
@@ -29,13 +30,13 @@ import {
|
|
|
29
30
|
splitNameAndMeta,
|
|
30
31
|
warnUnknownMetaKeys,
|
|
31
32
|
withTagAliases
|
|
32
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-MK55PZVB.js";
|
|
33
34
|
import {
|
|
34
35
|
formatDgmoError,
|
|
35
36
|
makeDgmoError,
|
|
36
37
|
makeFail,
|
|
37
38
|
suggest
|
|
38
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-5SI6T5A5.js";
|
|
39
40
|
|
|
40
41
|
// src/c4/parser.ts
|
|
41
42
|
var CONTAINER_RE = /^\[([^\]]+)\](?:\s+(collapsed)|\s+collapsed:\s*(\S+))?$/;
|
|
@@ -182,10 +183,10 @@ function parseC4(content, palette) {
|
|
|
182
183
|
let inDeployment = false;
|
|
183
184
|
let currentTagGroup = null;
|
|
184
185
|
const metaAliasMap = /* @__PURE__ */ new Map();
|
|
185
|
-
const nameAliasMap =
|
|
186
|
+
const nameAliasMap = new AliasRegistry();
|
|
186
187
|
function resolveNameRef(rawName) {
|
|
187
188
|
const trimmed = rawName.trim();
|
|
188
|
-
return nameAliasMap.
|
|
189
|
+
return nameAliasMap.resolve(trimmed) ?? peelQuotedName(trimmed);
|
|
189
190
|
}
|
|
190
191
|
const knownNames = /* @__PURE__ */ new Map();
|
|
191
192
|
const elementMetadata = /* @__PURE__ */ new WeakMap();
|
|
@@ -195,6 +196,7 @@ function parseC4(content, palette) {
|
|
|
195
196
|
for (let i = 0; i < lines.length; i++) {
|
|
196
197
|
const line = lines[i];
|
|
197
198
|
const lineNumber = i + 1;
|
|
199
|
+
nameAliasMap.at(lineNumber);
|
|
198
200
|
const trimmed = line.trim();
|
|
199
201
|
if (!trimmed) {
|
|
200
202
|
if (currentTagGroup) currentTagGroup = null;
|
|
@@ -245,6 +247,30 @@ function parseC4(content, palette) {
|
|
|
245
247
|
result.tagGroups.push(currentTagGroup);
|
|
246
248
|
continue;
|
|
247
249
|
}
|
|
250
|
+
if (currentTagGroup && !contentStarted) {
|
|
251
|
+
const indent2 = measureIndent(line);
|
|
252
|
+
if (indent2 > 0) {
|
|
253
|
+
const { text: cleanEntry, isDefault } = stripDefaultModifier(trimmed);
|
|
254
|
+
const { label, color } = extractColor(
|
|
255
|
+
cleanEntry,
|
|
256
|
+
palette,
|
|
257
|
+
result.diagnostics,
|
|
258
|
+
lineNumber
|
|
259
|
+
);
|
|
260
|
+
if (isDefault) {
|
|
261
|
+
currentTagGroup.defaultValue = label;
|
|
262
|
+
} else if (currentTagGroup.entries.length === 0) {
|
|
263
|
+
currentTagGroup.defaultValue = label;
|
|
264
|
+
}
|
|
265
|
+
currentTagGroup.entries.push({
|
|
266
|
+
value: label,
|
|
267
|
+
color: color ?? AUTO_TAG_COLOR_SENTINEL,
|
|
268
|
+
lineNumber
|
|
269
|
+
});
|
|
270
|
+
continue;
|
|
271
|
+
}
|
|
272
|
+
currentTagGroup = null;
|
|
273
|
+
}
|
|
248
274
|
if (!contentStarted && !currentTagGroup && measureIndent(line) === 0) {
|
|
249
275
|
if (KNOWN_C4_BOOLEANS.has(trimmed.toLowerCase())) {
|
|
250
276
|
const boolKey = trimmed.toLowerCase();
|
|
@@ -272,30 +298,6 @@ function parseC4(content, palette) {
|
|
|
272
298
|
}
|
|
273
299
|
}
|
|
274
300
|
}
|
|
275
|
-
if (currentTagGroup && !contentStarted) {
|
|
276
|
-
const indent2 = measureIndent(line);
|
|
277
|
-
if (indent2 > 0) {
|
|
278
|
-
const { text: cleanEntry, isDefault } = stripDefaultModifier(trimmed);
|
|
279
|
-
const { label, color } = extractColor(
|
|
280
|
-
cleanEntry,
|
|
281
|
-
palette,
|
|
282
|
-
result.diagnostics,
|
|
283
|
-
lineNumber
|
|
284
|
-
);
|
|
285
|
-
if (isDefault) {
|
|
286
|
-
currentTagGroup.defaultValue = label;
|
|
287
|
-
} else if (currentTagGroup.entries.length === 0) {
|
|
288
|
-
currentTagGroup.defaultValue = label;
|
|
289
|
-
}
|
|
290
|
-
currentTagGroup.entries.push({
|
|
291
|
-
value: label,
|
|
292
|
-
color: color ?? AUTO_TAG_COLOR_SENTINEL,
|
|
293
|
-
lineNumber
|
|
294
|
-
});
|
|
295
|
-
continue;
|
|
296
|
-
}
|
|
297
|
-
currentTagGroup = null;
|
|
298
|
-
}
|
|
299
301
|
contentStarted = true;
|
|
300
302
|
currentTagGroup = null;
|
|
301
303
|
if (!sawChartType) {
|
|
@@ -528,7 +530,8 @@ function parseC4(content, palette) {
|
|
|
528
530
|
}
|
|
529
531
|
namePart = peelQuotedName(namePart);
|
|
530
532
|
if (declaredAlias !== void 0)
|
|
531
|
-
nameAliasMap.
|
|
533
|
+
nameAliasMap.declare(declaredAlias, namePart, lineNumber);
|
|
534
|
+
nameAliasMap.noteCanonical(namePart, lineNumber);
|
|
532
535
|
let elementType;
|
|
533
536
|
let explicitShape = null;
|
|
534
537
|
if (rawType === "external") {
|
|
@@ -750,6 +753,7 @@ function parseC4(content, palette) {
|
|
|
750
753
|
"W_ACTIVE_TAG_NO_MATCH"
|
|
751
754
|
);
|
|
752
755
|
}
|
|
756
|
+
result.diagnostics.push(...nameAliasMap.finish());
|
|
753
757
|
return result;
|
|
754
758
|
}
|
|
755
759
|
function findParentElement(indent, stack) {
|
|
@@ -845,4 +849,4 @@ function validateDeploymentRefs(result, knownNames, pushWarning) {
|
|
|
845
849
|
export {
|
|
846
850
|
parseC4
|
|
847
851
|
};
|
|
848
|
-
//# sourceMappingURL=chunk-
|
|
852
|
+
//# sourceMappingURL=chunk-I4YT5KL6.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
tagAttrKey,
|
|
12
12
|
validateTagGroupNames,
|
|
13
13
|
validateTagValues
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4FKEI4MF.js";
|
|
15
15
|
import {
|
|
16
16
|
MINDMAP_REGISTRY,
|
|
17
17
|
OPTION_NOCOLON_RE,
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
tryParseSharedOption,
|
|
24
24
|
warnUnknownMetaKeys,
|
|
25
25
|
withTagAliases
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MK55PZVB.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/mindmap/parser.ts
|
|
35
35
|
var KNOWN_OPTIONS = /* @__PURE__ */ new Set(["active-tag"]);
|
|
@@ -132,6 +132,30 @@ function parseMindmap(content, palette) {
|
|
|
132
132
|
result.tagGroups.push(currentTagGroup);
|
|
133
133
|
continue;
|
|
134
134
|
}
|
|
135
|
+
if (currentTagGroup && !contentStarted) {
|
|
136
|
+
const indent2 = measureIndent(line);
|
|
137
|
+
if (indent2 > 0) {
|
|
138
|
+
const { text: cleanEntry, isDefault } = stripDefaultModifier(trimmed);
|
|
139
|
+
const { label, color } = extractColor(
|
|
140
|
+
cleanEntry,
|
|
141
|
+
palette,
|
|
142
|
+
result.diagnostics,
|
|
143
|
+
lineNumber
|
|
144
|
+
);
|
|
145
|
+
if (isDefault) {
|
|
146
|
+
currentTagGroup.defaultValue = label;
|
|
147
|
+
} else if (currentTagGroup.entries.length === 0) {
|
|
148
|
+
currentTagGroup.defaultValue = label;
|
|
149
|
+
}
|
|
150
|
+
currentTagGroup.entries.push({
|
|
151
|
+
value: label,
|
|
152
|
+
color: color ?? AUTO_TAG_COLOR_SENTINEL,
|
|
153
|
+
lineNumber
|
|
154
|
+
});
|
|
155
|
+
continue;
|
|
156
|
+
}
|
|
157
|
+
currentTagGroup = null;
|
|
158
|
+
}
|
|
135
159
|
if (!contentStarted && !currentTagGroup && measureIndent(line) === 0) {
|
|
136
160
|
const optMatch = trimmed.match(OPTION_NOCOLON_RE);
|
|
137
161
|
if (optMatch) {
|
|
@@ -158,30 +182,6 @@ function parseMindmap(content, palette) {
|
|
|
158
182
|
continue;
|
|
159
183
|
}
|
|
160
184
|
}
|
|
161
|
-
if (currentTagGroup && !contentStarted) {
|
|
162
|
-
const indent2 = measureIndent(line);
|
|
163
|
-
if (indent2 > 0) {
|
|
164
|
-
const { text: cleanEntry, isDefault } = stripDefaultModifier(trimmed);
|
|
165
|
-
const { label, color } = extractColor(
|
|
166
|
-
cleanEntry,
|
|
167
|
-
palette,
|
|
168
|
-
result.diagnostics,
|
|
169
|
-
lineNumber
|
|
170
|
-
);
|
|
171
|
-
if (isDefault) {
|
|
172
|
-
currentTagGroup.defaultValue = label;
|
|
173
|
-
} else if (currentTagGroup.entries.length === 0) {
|
|
174
|
-
currentTagGroup.defaultValue = label;
|
|
175
|
-
}
|
|
176
|
-
currentTagGroup.entries.push({
|
|
177
|
-
value: label,
|
|
178
|
-
color: color ?? AUTO_TAG_COLOR_SENTINEL,
|
|
179
|
-
lineNumber
|
|
180
|
-
});
|
|
181
|
-
continue;
|
|
182
|
-
}
|
|
183
|
-
currentTagGroup = null;
|
|
184
|
-
}
|
|
185
185
|
contentStarted = true;
|
|
186
186
|
currentTagGroup = null;
|
|
187
187
|
const indent = measureIndent(line);
|
|
@@ -337,4 +337,4 @@ function findMetadataParent(indent, indentStack) {
|
|
|
337
337
|
export {
|
|
338
338
|
parseMindmap
|
|
339
339
|
};
|
|
340
|
-
//# sourceMappingURL=chunk-
|
|
340
|
+
//# sourceMappingURL=chunk-IDEJ3J4J.js.map
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
matchTagBlockHeading,
|
|
5
5
|
stripDefaultModifier,
|
|
6
6
|
tagAttrKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4FKEI4MF.js";
|
|
8
8
|
import {
|
|
9
9
|
FILL_FAMILY_TOKENS,
|
|
10
10
|
extractColor,
|
|
11
11
|
measureIndent,
|
|
12
12
|
parseFirstLine
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MK55PZVB.js";
|
|
14
14
|
import {
|
|
15
15
|
emit
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5SI6T5A5.js";
|
|
17
17
|
|
|
18
18
|
// src/swimlane/diagnostics.ts
|
|
19
19
|
var SWIMLANE_DX = {
|
|
@@ -692,4 +692,4 @@ export {
|
|
|
692
692
|
SWIMLANE_DIAGNOSTICS,
|
|
693
693
|
parseSwimlane
|
|
694
694
|
};
|
|
695
|
-
//# sourceMappingURL=chunk-
|
|
695
|
+
//# sourceMappingURL=chunk-IEZYF5CN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeDgmoError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5SI6T5A5.js";
|
|
4
4
|
|
|
5
5
|
// src/utils/arrows.ts
|
|
6
6
|
var ARROW_DIAGNOSTIC_CODES = {
|
|
@@ -94,4 +94,4 @@ export {
|
|
|
94
94
|
parseInArrowLabel,
|
|
95
95
|
parseArrow
|
|
96
96
|
};
|
|
97
|
-
//# sourceMappingURL=chunk-
|
|
97
|
+
//# sourceMappingURL=chunk-IHOFUR74.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveTagColor,
|
|
3
3
|
tagAttrKey
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4FKEI4MF.js";
|
|
5
5
|
import {
|
|
6
6
|
mix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GLREDNBA.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveColor
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XOGQY4EC.js";
|
|
11
11
|
|
|
12
12
|
// src/treemap/treemap-shared.ts
|
|
13
13
|
import { scaleLinear } from "d3-scale";
|
|
@@ -176,4 +176,4 @@ export {
|
|
|
176
176
|
formatPct,
|
|
177
177
|
buildLegend
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=chunk-
|
|
179
|
+
//# sourceMappingURL=chunk-INOSOL3J.js.map
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "./chunk-U7VO6JAA.js";
|
|
11
11
|
import {
|
|
12
12
|
parseDgmoChartType
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YGKYQ7LA.js";
|
|
14
14
|
import {
|
|
15
15
|
chartTypes
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MK55PZVB.js";
|
|
17
17
|
|
|
18
18
|
// src/error-card.ts
|
|
19
19
|
var DOCS_BASE = "https://diagrammo.app/docs";
|
|
@@ -204,4 +204,4 @@ export {
|
|
|
204
204
|
MONO_FAMILY,
|
|
205
205
|
renderErrorCard
|
|
206
206
|
};
|
|
207
|
-
//# sourceMappingURL=chunk-
|
|
207
|
+
//# sourceMappingURL=chunk-ITAFWUSB.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractColor,
|
|
3
3
|
measureIndent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MK55PZVB.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-JLSGQMRA.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-LMJKHQ4W.js";
|
|
43
43
|
import {
|
|
44
44
|
fillModeFromOptions
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-MK55PZVB.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-JPVRJS74.js.map
|
|
@@ -14,27 +14,27 @@ import {
|
|
|
14
14
|
} from "./chunk-A4GOY3PE.js";
|
|
15
15
|
import {
|
|
16
16
|
renderIntegratedLegend
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-O7ZKDUDX.js";
|
|
18
18
|
import {
|
|
19
19
|
FONT_FAMILY
|
|
20
20
|
} from "./chunk-UTCPNJND.js";
|
|
21
21
|
import {
|
|
22
22
|
LEGEND_HEIGHT
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YT5ICQ4R.js";
|
|
24
24
|
import {
|
|
25
25
|
measureText,
|
|
26
26
|
wrapTextToWidth
|
|
27
27
|
} from "./chunk-MTGGOCND.js";
|
|
28
28
|
import {
|
|
29
29
|
fillModeFromOptions
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-MK55PZVB.js";
|
|
31
31
|
import {
|
|
32
32
|
contrastText,
|
|
33
33
|
shapeFill
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GLREDNBA.js";
|
|
35
35
|
import {
|
|
36
36
|
resolveColor
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-XOGQY4EC.js";
|
|
38
38
|
|
|
39
39
|
// src/cycle/renderer.ts
|
|
40
40
|
import * as d3Selection from "d3-selection";
|
|
@@ -985,4 +985,4 @@ export {
|
|
|
985
985
|
renderCycle,
|
|
986
986
|
renderCycleForExport
|
|
987
987
|
};
|
|
988
|
-
//# sourceMappingURL=chunk-
|
|
988
|
+
//# sourceMappingURL=chunk-K3O2CZTD.js.map
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
} from "./chunk-FJ57274M.js";
|
|
17
17
|
import {
|
|
18
18
|
formatDateLabel
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-A34AXXBO.js";
|
|
20
20
|
import {
|
|
21
21
|
layoutInlineHeader
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YJMWEZOB.js";
|
|
23
23
|
import {
|
|
24
24
|
TITLE_FONT_SIZE,
|
|
25
25
|
TITLE_FONT_WEIGHT,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
} from "./chunk-A4GOY3PE.js";
|
|
28
28
|
import {
|
|
29
29
|
renderIntegratedLegend
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-O7ZKDUDX.js";
|
|
31
31
|
import {
|
|
32
32
|
getLegendExtent
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-4SXHMFFP.js";
|
|
34
34
|
import {
|
|
35
35
|
FONT_FAMILY
|
|
36
36
|
} from "./chunk-UTCPNJND.js";
|
|
@@ -40,21 +40,21 @@ import {
|
|
|
40
40
|
} from "./chunk-MTGGOCND.js";
|
|
41
41
|
import {
|
|
42
42
|
parseTimelineDate
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-VQEW7XMN.js";
|
|
44
44
|
import {
|
|
45
45
|
resolveActiveTagGroup,
|
|
46
46
|
resolveTagColor
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-4FKEI4MF.js";
|
|
48
48
|
import {
|
|
49
49
|
contrastText,
|
|
50
50
|
getSeriesColors,
|
|
51
51
|
mix,
|
|
52
52
|
shapeFill,
|
|
53
53
|
themeBaseBg
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-GLREDNBA.js";
|
|
55
55
|
import {
|
|
56
56
|
resolveColor
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-XOGQY4EC.js";
|
|
58
58
|
|
|
59
59
|
// src/event-line/renderer.ts
|
|
60
60
|
import * as d3Selection from "d3-selection";
|
|
@@ -1161,4 +1161,4 @@ export {
|
|
|
1161
1161
|
focusEventLine,
|
|
1162
1162
|
renderEventLineForExport
|
|
1163
1163
|
};
|
|
1164
|
-
//# sourceMappingURL=chunk-
|
|
1164
|
+
//# sourceMappingURL=chunk-K7P4SCB3.js.map
|