@diagrammo/dgmo 0.71.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 +54 -37
- package/dist/advanced.js +116 -117
- package/dist/{analyzer-HQUXKZ5J.js → analyzer-KQWXVQOI.js} +3 -3
- package/dist/block.d.ts +2 -2
- package/dist/block.js +64 -76
- 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-YYVTBZZC.js → chunk-24YPR5EH.js} +1 -1
- 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-IFJIYUI6.js → chunk-3OKBXV3I.js} +4 -4
- package/dist/{chunk-LJS4Z326.js → chunk-3X3UD7PN.js} +6 -6
- 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-ZNHPCITV.js → chunk-A34AXXBO.js} +8 -8
- package/dist/{chunk-TGGKBY22.js → chunk-ABH626W7.js} +15 -10
- package/dist/{chunk-722TKHMS.js → chunk-AG3Z47VY.js} +11 -11
- package/dist/{chunk-T7W5LM4N.js → chunk-AMYMV4JZ.js} +5 -5
- package/dist/{chunk-KOVRFBGR.js → chunk-ARM4G2HJ.js} +16 -11
- package/dist/{chunk-XQW4KFJ4.js → chunk-B5CIHVBP.js} +11 -11
- package/dist/{chunk-MC2H32SM.js → chunk-BVNTXVYJ.js} +4 -4
- package/dist/{chunk-T3LNWU7B.js → chunk-CLKRRKV6.js} +12 -12
- package/dist/{chunk-UY77QQWU.js → chunk-CVGTEAIO.js} +11 -7
- package/dist/{chunk-6EDBUKC7.js → chunk-D5ZZOTE6.js} +3 -3
- package/dist/{chunk-WMHHNK44.js → chunk-DGPFFRLS.js} +2 -2
- package/dist/{chunk-EETUTZ5C.js → chunk-DTYZAXEH.js} +2 -2
- package/dist/{chunk-UIBPFSIT.js → chunk-DZC2OCK3.js} +11 -11
- 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-YCOGUPHL.js → chunk-FQDH6AL3.js} +10 -10
- 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-UVAOL2EO.js → chunk-H454ZVAS.js} +291 -29
- 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-HTGYAMOK.js → chunk-ITAFWUSB.js} +3 -3
- package/dist/{chunk-MX3BYU7V.js → chunk-JLSGQMRA.js} +3 -3
- package/dist/{chunk-5GTYY2XV.js → chunk-JPVRJS74.js} +7 -7
- package/dist/{chunk-C3MVZ7EW.js → chunk-K3O2CZTD.js} +7 -7
- package/dist/{chunk-2JY7KE7C.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-FAJS2N4O.js → chunk-KZKRK57S.js} +12 -12
- 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-ISKO4MQ5.js → chunk-PFZDLHHG.js} +10 -10
- package/dist/{chunk-ENJWB5LU.js → chunk-PJHYUVD3.js} +28 -24
- package/dist/{chunk-K6MQJ5IV.js → chunk-Q446PFCV.js} +3 -3
- package/dist/{chunk-IW6N2JJL.js → chunk-Q74GP3GK.js} +2 -2
- package/dist/{chunk-7REARI5N.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-IQ4W4Q2R.js → chunk-RXSAE6F5.js} +5 -5
- 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-CH4WODSG.js → chunk-TJS3J5B3.js} +19 -7
- package/dist/{chunk-7TSBM4BV.js → chunk-TP42IN23.js} +5 -5
- package/dist/{chunk-XJZSN42P.js → chunk-TTVHS3D5.js} +102 -100
- package/dist/{chunk-6PA32CUB.js → chunk-TXWW4UZM.js} +4 -4
- package/dist/{chunk-LUI425JB.js → chunk-V7E3RZLQ.js} +6 -6
- 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-LXGUK56B.js → chunk-WDKLODC3.js} +11 -11
- 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-CR5WIA6I.js → chunk-X6LVGU4W.js} +13 -4
- package/dist/{chunk-IWNHEK5K.js → chunk-X6LXZJPT.js} +8 -8
- package/dist/{chunk-X2NX2SK6.js → chunk-XGBUCXU7.js} +5 -5
- 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-RNSGPTOZ.js → chunk-XVJWAE2F.js} +8 -8
- package/dist/{chunk-PZVYUQJA.js → chunk-YDA46XHI.js} +4 -4
- package/dist/{chunk-PLSTP7P4.js → chunk-YGKYQ7LA.js} +72 -387
- 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-HB277GNE.js → flowchart-renderer-FY63GDRH.js} +13 -13
- package/dist/highlight.js +6 -18
- package/dist/index.d.ts +7 -7
- package/dist/index.js +65 -59
- 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-2DIH3YW6.js +27 -0
- package/dist/{renderer-JWSO5O2L.js → renderer-2E2Z5N66.js} +7 -7
- package/dist/renderer-4HGNWJRC.js +25 -0
- package/dist/renderer-6U6YW4HX.js +26 -0
- package/dist/renderer-AKZECRNK.js +39 -0
- package/dist/{renderer-7VPABTMS.js → renderer-BUMIZJIY.js} +15 -15
- package/dist/renderer-BY5AAKV7.js +25 -0
- package/dist/renderer-DU6D3S6K.js +27 -0
- package/dist/{renderer-5YV6KP4U.js → renderer-EAQNSDTC.js} +13 -13
- package/dist/{renderer-FAD65M5Z.js → renderer-EP4GRCDX.js} +6 -6
- package/dist/{renderer-LVAUI6T6.js → renderer-GQUJVPVA.js} +14 -14
- package/dist/renderer-HZCYBOAB.js +16 -0
- 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-NXOSBZPO.js +30 -0
- package/dist/renderer-ODDULMVE.js +20 -0
- package/dist/renderer-OTHBTGBN.js +16 -0
- package/dist/{renderer-ZEPPPA3W.js → renderer-R7Q72DM4.js} +7 -7
- package/dist/renderer-S42JPAZO.js +24 -0
- package/dist/{renderer-QZRM6H4S.js → renderer-SCIHPARI.js} +5 -5
- package/dist/{renderer-BQWAUDEF.js → renderer-SW5YUK6H.js} +9 -9
- package/dist/{renderer-KFWZPVYT.js → renderer-TBWE67FB.js} +13 -13
- package/dist/renderer-V7476J5G.js +39 -0
- package/dist/renderer-VG4C23TY.js +21 -0
- package/dist/{renderer-S5MGQHRQ.js → renderer-WG6CUDWI.js} +14 -14
- package/dist/{renderer-2MEPYGAP.js → renderer-XL54ZE4H.js} +13 -13
- package/dist/{renderer-QOWN3XDI.js → renderer-XNLRQWM6.js} +14 -14
- package/dist/renderer-YIJYYZZE.js +28 -0
- package/dist/{renderer-7BGC4KPZ.js → renderer-YX6S3U4L.js} +12 -12
- 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-IABX3URA.js +40 -0
- 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-J6OWNMEJ.js +0 -89
- package/dist/dimensions-EFEBIRS6.js +0 -22
- package/dist/flowchart-parser-LZF2GW2P.js +0 -21
- package/dist/layout-BNR6ZDB6.js +0 -15
- package/dist/layout-N6ZOOAYT.js +0 -15
- package/dist/layout-PBB2RQJ4.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-35HBBPIQ.js +0 -26
- package/dist/renderer-3DSU72CP.js +0 -30
- package/dist/renderer-4CUV63GT.js +0 -39
- package/dist/renderer-4ORE7HJ3.js +0 -28
- package/dist/renderer-52KYFTNZ.js +0 -16
- package/dist/renderer-5FQFMCBZ.js +0 -39
- package/dist/renderer-ANWAX5QO.js +0 -27
- package/dist/renderer-DGZDRRJW.js +0 -76
- package/dist/renderer-E3UQ24DE.js +0 -25
- package/dist/renderer-FCIOD2QK.js +0 -22
- package/dist/renderer-H5QR3LC3.js +0 -16
- package/dist/renderer-JFZVWH2G.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-V3PN5ZQS.js +0 -24
- package/dist/renderer-VOXE7V6L.js +0 -27
- package/dist/renderer-WBG576LB.js +0 -26
- package/dist/renderer-YXYEP46H.js +0 -23
- package/dist/renderer-radial-KZ3W4WXI.js +0 -21
- package/dist/state-parser-HJNCGIFT.js +0 -19
- package/dist/state-renderer-776LP3NE.js +0 -40
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutERDiagram
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5VMUVJO4.js";
|
|
4
4
|
import {
|
|
5
5
|
NOTE_BADGE_RADIUS,
|
|
6
6
|
noteConnectorPoints,
|
|
7
7
|
renderNoteBadge,
|
|
8
8
|
renderNoteBox,
|
|
9
9
|
renderNoteConnector
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Q74GP3GK.js";
|
|
11
11
|
import {
|
|
12
12
|
EDGE_STROKE_WIDTH,
|
|
13
13
|
NODE_STROKE_WIDTH
|
|
14
14
|
} from "./chunk-FJ57274M.js";
|
|
15
15
|
import {
|
|
16
16
|
ScaleContext
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-24YPR5EH.js";
|
|
18
18
|
import {
|
|
19
19
|
layoutInlineHeader
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YJMWEZOB.js";
|
|
21
21
|
import {
|
|
22
22
|
serializeSvg
|
|
23
23
|
} from "./chunk-RU2HHHYA.js";
|
|
@@ -28,36 +28,36 @@ import {
|
|
|
28
28
|
} from "./chunk-A4GOY3PE.js";
|
|
29
29
|
import {
|
|
30
30
|
renderIntegratedLegend
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-O7ZKDUDX.js";
|
|
32
32
|
import {
|
|
33
33
|
getLegendExtent
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-4SXHMFFP.js";
|
|
35
35
|
import {
|
|
36
36
|
FONT_FAMILY
|
|
37
37
|
} from "./chunk-UTCPNJND.js";
|
|
38
38
|
import {
|
|
39
39
|
LEGEND_HEIGHT
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-YT5ICQ4R.js";
|
|
41
41
|
import {
|
|
42
42
|
measureText
|
|
43
43
|
} from "./chunk-MTGGOCND.js";
|
|
44
44
|
import {
|
|
45
45
|
parseERDiagram
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-ARM4G2HJ.js";
|
|
47
47
|
import {
|
|
48
48
|
resolveTagColor,
|
|
49
49
|
tagAttrKey
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-4FKEI4MF.js";
|
|
51
51
|
import {
|
|
52
52
|
fillModeFromOptions,
|
|
53
53
|
legendInlineRequested,
|
|
54
54
|
legendSuppressed
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-MK55PZVB.js";
|
|
56
56
|
import {
|
|
57
57
|
contrastText,
|
|
58
58
|
getSeriesColors,
|
|
59
59
|
shapeFill
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-GLREDNBA.js";
|
|
61
61
|
|
|
62
62
|
// src/er/renderer.ts
|
|
63
63
|
import * as d3Selection from "d3-selection";
|
|
@@ -603,4 +603,4 @@ export {
|
|
|
603
603
|
renderERDiagram,
|
|
604
604
|
renderERDiagramForExport
|
|
605
605
|
};
|
|
606
|
-
//# sourceMappingURL=chunk-
|
|
606
|
+
//# sourceMappingURL=chunk-KZKRK57S.js.map
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
} from "./chunk-FJ57274M.js";
|
|
9
9
|
import {
|
|
10
10
|
layoutInlineHeader
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YJMWEZOB.js";
|
|
12
12
|
import {
|
|
13
13
|
renderIntegratedLegend
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-O7ZKDUDX.js";
|
|
15
15
|
import {
|
|
16
16
|
getLegendExtent,
|
|
17
17
|
getMaxLegendReservedHeight
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4SXHMFFP.js";
|
|
19
19
|
import {
|
|
20
20
|
FONT_FAMILY
|
|
21
21
|
} from "./chunk-UTCPNJND.js";
|
|
@@ -27,13 +27,13 @@ import {
|
|
|
27
27
|
resolveActiveTagGroup,
|
|
28
28
|
resolveTagColor,
|
|
29
29
|
tagAttrKey
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-4FKEI4MF.js";
|
|
31
31
|
import {
|
|
32
32
|
contrastText,
|
|
33
33
|
mix,
|
|
34
34
|
shapeFill,
|
|
35
35
|
themeBaseBg
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-GLREDNBA.js";
|
|
37
37
|
|
|
38
38
|
// src/sketch/renderer.ts
|
|
39
39
|
import * as d3 from "d3-selection";
|
|
@@ -1127,4 +1127,4 @@ export {
|
|
|
1127
1127
|
sketchEdgeGeometry,
|
|
1128
1128
|
renderSketchForExport
|
|
1129
1129
|
};
|
|
1130
|
-
//# sourceMappingURL=chunk-
|
|
1130
|
+
//# sourceMappingURL=chunk-LGASNVZE.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/class/layout.ts
|
|
15
15
|
import dagre from "@dagrejs/dagre";
|
|
@@ -201,4 +201,4 @@ function layoutClassDiagram(parsed, options) {
|
|
|
201
201
|
export {
|
|
202
202
|
layoutClassDiagram
|
|
203
203
|
};
|
|
204
|
-
//# sourceMappingURL=chunk-
|
|
204
|
+
//# sourceMappingURL=chunk-LM3HY3VG.js.map
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-7TF3QOOD.js";
|
|
4
4
|
import {
|
|
5
5
|
tryCollectNote
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JLSGQMRA.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveNotes
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E6PNTYRK.js";
|
|
10
10
|
import {
|
|
11
11
|
parseInArrowLabel
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IHOFUR74.js";
|
|
13
13
|
import {
|
|
14
14
|
displayName,
|
|
15
15
|
normalizeName
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
measureIndent,
|
|
22
22
|
parseFirstLine,
|
|
23
23
|
tryParseSharedOption
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MK55PZVB.js";
|
|
25
25
|
import {
|
|
26
26
|
NAME_DIAGNOSTIC_CODES,
|
|
27
27
|
emit,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
makeDgmoError,
|
|
30
30
|
nameMergedMessage,
|
|
31
31
|
suggest
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-5SI6T5A5.js";
|
|
33
33
|
|
|
34
34
|
// src/graph/flowchart-parser.ts
|
|
35
35
|
function nodeId(shape, label) {
|
|
@@ -470,4 +470,4 @@ export {
|
|
|
470
470
|
looksLikeFlowchart,
|
|
471
471
|
extractSymbols
|
|
472
472
|
};
|
|
473
|
-
//# sourceMappingURL=chunk-
|
|
473
|
+
//# sourceMappingURL=chunk-LMJKHQ4W.js.map
|
|
@@ -3,13 +3,14 @@ import {
|
|
|
3
3
|
invalidColorDiagnostic,
|
|
4
4
|
resolveColor,
|
|
5
5
|
resolveColorWithDiagnostic
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XOGQY4EC.js";
|
|
7
7
|
import {
|
|
8
8
|
METADATA_DIAGNOSTIC_CODES,
|
|
9
|
+
emit,
|
|
9
10
|
emptyMetadataValueMessage,
|
|
10
11
|
makeDgmoError,
|
|
11
12
|
suggest
|
|
12
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5SI6T5A5.js";
|
|
13
14
|
|
|
14
15
|
// src/directives-registry.ts
|
|
15
16
|
var DIRECTIVES_REGISTRY = [
|
|
@@ -834,6 +835,265 @@ var FAMILY_PERSON_REGISTRY = staticRegistry([
|
|
|
834
835
|
]);
|
|
835
836
|
var FAMILY_UNION_REGISTRY = staticRegistry(["m"]);
|
|
836
837
|
|
|
838
|
+
// src/alias-diagnostics.ts
|
|
839
|
+
var ALIAS_INVALID_FORMAT_DX = {
|
|
840
|
+
code: "E_ALIAS_INVALID_FORMAT",
|
|
841
|
+
severity: "error",
|
|
842
|
+
chartType: null,
|
|
843
|
+
title: "Malformed alias",
|
|
844
|
+
message: (p) => `Alias '${String(p.alias ?? "pm-cluster")}' must match [A-Za-z][A-Za-z0-9_]{0,11} (letter start, letters/digits/underscore, max 12 chars).`,
|
|
845
|
+
hint: "Shorten the alias or drop the hyphen \u2014 a malformed one is not peeled off, so the whole `Name as \u2026` string becomes the name.",
|
|
846
|
+
example: "org\nAlice as thirteencharss\n Bob as b\n"
|
|
847
|
+
};
|
|
848
|
+
var ALIAS_RESERVED_KEYWORD_DX = {
|
|
849
|
+
code: "E_ALIAS_RESERVED_KEYWORD",
|
|
850
|
+
severity: "error",
|
|
851
|
+
chartType: null,
|
|
852
|
+
title: "Alias is a reserved keyword",
|
|
853
|
+
message: (p) => `'${String(p.alias ?? "tag")}' is a reserved keyword and cannot be used as an alias.`,
|
|
854
|
+
hint: "Grammar keywords (`as`, `is`, `tag`, `alias`, `aka`) and chart-type names are reserved. Articles are not \u2014 `Alice as a` is fine.",
|
|
855
|
+
example: "org\nAlice as tag\n Bob as b\n"
|
|
856
|
+
};
|
|
857
|
+
var ALIAS_COLLISION_DX = {
|
|
858
|
+
code: "E_ALIAS_COLLISION",
|
|
859
|
+
severity: "error",
|
|
860
|
+
chartType: null,
|
|
861
|
+
title: "Alias already bound",
|
|
862
|
+
message: (p) => `Alias '${String(p.alias ?? "a")}' is already bound to '${String(p.previousCanonical ?? "Alice")}' (line ${String(p.previousLine ?? 2)}). Cannot rebind to '${String(p.canonical ?? "Bob")}'.`,
|
|
863
|
+
hint: "One alias literal has exactly one binding per source \u2014 choose a different alias.",
|
|
864
|
+
example: "org\nAlice as a\n Bob as a\n"
|
|
865
|
+
};
|
|
866
|
+
var ALIAS_REBINDING_DX = {
|
|
867
|
+
code: "E_ALIAS_REBINDING",
|
|
868
|
+
severity: "error",
|
|
869
|
+
chartType: null,
|
|
870
|
+
title: "Name aliased twice",
|
|
871
|
+
message: (p) => `'${String(p.canonical ?? "Alice")}' is already aliased as '${String(p.previousAlias ?? p.alias ?? "a")}' (line ${String(p.previousLine ?? 2)}). Cannot also alias as '${String(p.alias ?? "al")}'.`,
|
|
872
|
+
hint: "Keep one alias per name and use it everywhere.",
|
|
873
|
+
example: "org\nAlice as a\n Alice as al\n"
|
|
874
|
+
};
|
|
875
|
+
var ALIAS_SHADOWS_NAME_DX = {
|
|
876
|
+
code: "E_ALIAS_SHADOWS_NAME",
|
|
877
|
+
severity: "error",
|
|
878
|
+
chartType: null,
|
|
879
|
+
title: "Alias shadows a name",
|
|
880
|
+
message: (p) => `Alias '${String(p.alias ?? "Bob")}' would shadow an existing canonical name. Choose a different alias.`,
|
|
881
|
+
hint: "A token that is both a name and an alias reads as two things at every later use.",
|
|
882
|
+
example: "org\nAlice as Bob\n Bob as b\n"
|
|
883
|
+
};
|
|
884
|
+
var ALIAS_OF_ALIAS_DX = {
|
|
885
|
+
code: "E_ALIAS_OF_ALIAS",
|
|
886
|
+
severity: "error",
|
|
887
|
+
chartType: null,
|
|
888
|
+
title: "Alias of an alias",
|
|
889
|
+
message: (p) => `'${String(p.canonical ?? "a")}' is itself an alias for '${String(p.target ?? "Alice")}'. Cannot alias an alias \u2014 alias the canonical instead.`,
|
|
890
|
+
hint: "Write the canonical name on the left of `as`.",
|
|
891
|
+
example: "org\nAlice as a\n a as b\n"
|
|
892
|
+
};
|
|
893
|
+
var ALIAS_BEFORE_DECL_DX = {
|
|
894
|
+
code: "E_ALIAS_BEFORE_DECL",
|
|
895
|
+
severity: "error",
|
|
896
|
+
chartType: null,
|
|
897
|
+
title: "Alias used before declaration",
|
|
898
|
+
message: (p) => `Alias '${String(p.alias ?? "b")}' used before declaration. Declare '${String(p.canonical ?? "Bob")} as ${String(p.alias ?? "b")}' on or above this line.`,
|
|
899
|
+
hint: "DGMO is single-pass \u2014 move the declaration above its first use.",
|
|
900
|
+
example: "boxes-and-lines\n[A]\n b\n[B] as b\n"
|
|
901
|
+
};
|
|
902
|
+
var ALIAS_AFTER_CANONICAL_DX = {
|
|
903
|
+
code: "E_ALIAS_AFTER_CANONICAL",
|
|
904
|
+
severity: "error",
|
|
905
|
+
chartType: null,
|
|
906
|
+
title: "Alias declared after the name was used",
|
|
907
|
+
message: (p) => `'${String(p.canonical ?? "Alice")}' was already used as a canonical name (line ${String(p.firstLine ?? 2)}). Aliases must be declared on or before first use.`,
|
|
908
|
+
hint: "Declare the alias where the name first appears.",
|
|
909
|
+
example: "sequence\nAlice is an actor\nBob is a database\nAlice as a\n"
|
|
910
|
+
};
|
|
911
|
+
var ALIAS_DIAGNOSTICS = [
|
|
912
|
+
ALIAS_INVALID_FORMAT_DX,
|
|
913
|
+
ALIAS_RESERVED_KEYWORD_DX,
|
|
914
|
+
ALIAS_COLLISION_DX,
|
|
915
|
+
ALIAS_REBINDING_DX,
|
|
916
|
+
ALIAS_SHADOWS_NAME_DX,
|
|
917
|
+
ALIAS_OF_ALIAS_DX,
|
|
918
|
+
ALIAS_BEFORE_DECL_DX,
|
|
919
|
+
ALIAS_AFTER_CANONICAL_DX
|
|
920
|
+
];
|
|
921
|
+
|
|
922
|
+
// src/utils/alias-registry.ts
|
|
923
|
+
var ALIAS_TOKEN_RE = /^[A-Za-z][A-Za-z0-9_]{0,11}$/;
|
|
924
|
+
var ALIAS_ATTEMPT_RE = /\s+as\s+(\S+)\s*$/;
|
|
925
|
+
var RESERVED_ALIAS_TOKENS = /* @__PURE__ */ new Set([
|
|
926
|
+
"as",
|
|
927
|
+
"is",
|
|
928
|
+
"tag",
|
|
929
|
+
"alias",
|
|
930
|
+
"aka",
|
|
931
|
+
...CHART_TYPE_IDS
|
|
932
|
+
]);
|
|
933
|
+
function checkAliasSyntax(nameRegion, alias, line) {
|
|
934
|
+
if (alias !== void 0) {
|
|
935
|
+
return RESERVED_ALIAS_TOKENS.has(alias) ? [emit(ALIAS_RESERVED_KEYWORD_DX, line, { alias })] : [];
|
|
936
|
+
}
|
|
937
|
+
const attempt = ALIAS_ATTEMPT_RE.exec(nameRegion);
|
|
938
|
+
if (!attempt) return [];
|
|
939
|
+
const token = attempt[1];
|
|
940
|
+
if (ALIAS_TOKEN_RE.test(token)) return [];
|
|
941
|
+
return [emit(ALIAS_INVALID_FORMAT_DX, line, { alias: token })];
|
|
942
|
+
}
|
|
943
|
+
function foldName(name) {
|
|
944
|
+
return name.trim().toLowerCase();
|
|
945
|
+
}
|
|
946
|
+
var AliasRegistry = class {
|
|
947
|
+
declarations = [];
|
|
948
|
+
references = [];
|
|
949
|
+
/** Folded canonical name → the first line it was seen on as a canonical. */
|
|
950
|
+
canonicals = /* @__PURE__ */ new Map();
|
|
951
|
+
bindings = /* @__PURE__ */ new Map();
|
|
952
|
+
/**
|
|
953
|
+
* The line the parser is currently reading. Several parsers resolve
|
|
954
|
+
* references inside a closure that has no line in scope — `resolveNameRef`,
|
|
955
|
+
* `resolveAliasName`, `resolveSlot` — and threading one through every call
|
|
956
|
+
* site would be a far larger edit than the rule is worth. A parser sets this
|
|
957
|
+
* once per line in its main loop instead.
|
|
958
|
+
*
|
|
959
|
+
* A resolution that happens in a POST-pass therefore attributes its
|
|
960
|
+
* references to the last line read. That direction is deliberate: it can
|
|
961
|
+
* only make the strict-ordering rule miss an out-of-order reference, never
|
|
962
|
+
* invent one, because a reference dated after every declaration is in order
|
|
963
|
+
* by definition.
|
|
964
|
+
*/
|
|
965
|
+
currentLine = 0;
|
|
966
|
+
/** Tell the registry which line is being read (see {@link currentLine}). */
|
|
967
|
+
at(line) {
|
|
968
|
+
this.currentLine = line;
|
|
969
|
+
}
|
|
970
|
+
/** Record `<canonical> as <alias>` at `line`. */
|
|
971
|
+
declare(alias, canonical, line = this.currentLine) {
|
|
972
|
+
this.declarations.push({ alias, canonical, line });
|
|
973
|
+
if (!this.bindings.has(alias)) this.bindings.set(alias, canonical);
|
|
974
|
+
}
|
|
975
|
+
/** Record that `name` appeared as a canonical name (not as an alias). */
|
|
976
|
+
noteCanonical(name, line = this.currentLine) {
|
|
977
|
+
const key = foldName(name);
|
|
978
|
+
if (key === "") return;
|
|
979
|
+
if (!this.canonicals.has(key)) this.canonicals.set(key, line);
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
* Resolve a token that may be an alias, recording the reference so the
|
|
983
|
+
* ordering rule can be decided later. Returns `undefined` when the token
|
|
984
|
+
* is not a declared alias, so callers keep their existing fallback.
|
|
985
|
+
*/
|
|
986
|
+
resolve(token, line = this.currentLine) {
|
|
987
|
+
const key = token.trim();
|
|
988
|
+
if (key !== "") this.references.push({ token: key, line });
|
|
989
|
+
return this.bindings.get(key);
|
|
990
|
+
}
|
|
991
|
+
/** True when `token` is bound in this parse — a lookup with no reference recorded. */
|
|
992
|
+
has(token) {
|
|
993
|
+
return this.bindings.has(token.trim());
|
|
994
|
+
}
|
|
995
|
+
/**
|
|
996
|
+
* The canonical bound to `token`, WITHOUT recording a reference. For code
|
|
997
|
+
* asking a question about the namespace ("is this label the thing that
|
|
998
|
+
* alias points at?") rather than reading a name — recording those would
|
|
999
|
+
* date references to lines that never referred to anything.
|
|
1000
|
+
*/
|
|
1001
|
+
lookup(token) {
|
|
1002
|
+
return this.bindings.get(token.trim());
|
|
1003
|
+
}
|
|
1004
|
+
/**
|
|
1005
|
+
* Decide the six namespace rules over everything recorded, in source
|
|
1006
|
+
* order. Safe to call once; a parser calls it as it returns.
|
|
1007
|
+
*/
|
|
1008
|
+
finish() {
|
|
1009
|
+
const out = [];
|
|
1010
|
+
const owner = /* @__PURE__ */ new Map();
|
|
1011
|
+
const aliasedAsCanonical = /* @__PURE__ */ new Set();
|
|
1012
|
+
const reported = /* @__PURE__ */ new Set();
|
|
1013
|
+
const aliasedCanonical = /* @__PURE__ */ new Map();
|
|
1014
|
+
for (const decl of this.declarations) {
|
|
1015
|
+
const { alias, canonical, line } = decl;
|
|
1016
|
+
const previous = owner.get(alias);
|
|
1017
|
+
if (previous) {
|
|
1018
|
+
reported.add(decl);
|
|
1019
|
+
out.push(
|
|
1020
|
+
emit(
|
|
1021
|
+
previous.canonical === canonical ? ALIAS_REBINDING_DX : ALIAS_COLLISION_DX,
|
|
1022
|
+
line,
|
|
1023
|
+
{
|
|
1024
|
+
alias,
|
|
1025
|
+
canonical,
|
|
1026
|
+
previousCanonical: previous.canonical,
|
|
1027
|
+
previousLine: previous.line
|
|
1028
|
+
}
|
|
1029
|
+
)
|
|
1030
|
+
);
|
|
1031
|
+
continue;
|
|
1032
|
+
}
|
|
1033
|
+
owner.set(alias, decl);
|
|
1034
|
+
const aliasedTarget = owner.get(canonical);
|
|
1035
|
+
if (aliasedTarget && aliasedTarget !== decl && aliasedTarget.alias === canonical) {
|
|
1036
|
+
aliasedAsCanonical.add(foldName(canonical));
|
|
1037
|
+
out.push(
|
|
1038
|
+
emit(ALIAS_OF_ALIAS_DX, line, {
|
|
1039
|
+
alias,
|
|
1040
|
+
canonical,
|
|
1041
|
+
target: aliasedTarget.canonical
|
|
1042
|
+
})
|
|
1043
|
+
);
|
|
1044
|
+
}
|
|
1045
|
+
const already = aliasedCanonical.get(canonical);
|
|
1046
|
+
if (already) {
|
|
1047
|
+
reported.add(decl);
|
|
1048
|
+
out.push(
|
|
1049
|
+
emit(ALIAS_REBINDING_DX, line, {
|
|
1050
|
+
alias,
|
|
1051
|
+
canonical,
|
|
1052
|
+
previousAlias: already.alias,
|
|
1053
|
+
previousLine: already.line
|
|
1054
|
+
})
|
|
1055
|
+
);
|
|
1056
|
+
} else {
|
|
1057
|
+
aliasedCanonical.set(canonical, decl);
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
for (const decl of owner.values()) {
|
|
1061
|
+
const selfBound = foldName(decl.alias) === foldName(decl.canonical);
|
|
1062
|
+
const shadowed = selfBound ? void 0 : this.canonicals.get(foldName(decl.alias));
|
|
1063
|
+
if (shadowed !== void 0 && !aliasedAsCanonical.has(foldName(decl.alias))) {
|
|
1064
|
+
out.push(
|
|
1065
|
+
emit(ALIAS_SHADOWS_NAME_DX, decl.line, {
|
|
1066
|
+
alias: decl.alias,
|
|
1067
|
+
nameLine: shadowed
|
|
1068
|
+
})
|
|
1069
|
+
);
|
|
1070
|
+
}
|
|
1071
|
+
const firstUse = this.canonicals.get(foldName(decl.canonical));
|
|
1072
|
+
if (firstUse !== void 0 && firstUse < decl.line && !reported.has(decl)) {
|
|
1073
|
+
out.push(
|
|
1074
|
+
emit(ALIAS_AFTER_CANONICAL_DX, decl.line, {
|
|
1075
|
+
canonical: decl.canonical,
|
|
1076
|
+
firstLine: firstUse
|
|
1077
|
+
})
|
|
1078
|
+
);
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
for (const ref of this.references) {
|
|
1082
|
+
const decl = owner.get(ref.token);
|
|
1083
|
+
if (decl && ref.line < decl.line) {
|
|
1084
|
+
out.push(
|
|
1085
|
+
emit(ALIAS_BEFORE_DECL_DX, ref.line, {
|
|
1086
|
+
alias: ref.token,
|
|
1087
|
+
canonical: decl.canonical,
|
|
1088
|
+
declLine: decl.line
|
|
1089
|
+
})
|
|
1090
|
+
);
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
return out.sort((a, b) => a.line - b.line);
|
|
1094
|
+
}
|
|
1095
|
+
};
|
|
1096
|
+
|
|
837
1097
|
// src/utils/parsing.ts
|
|
838
1098
|
var RECOGNIZED_COLOR_SET = new Set(
|
|
839
1099
|
RECOGNIZED_COLOR_NAMES
|
|
@@ -1282,6 +1542,9 @@ function splitNameAndMeta(line, registry, aliasMap = /* @__PURE__ */ new Map(),
|
|
|
1282
1542
|
alias = aliasMatch[1];
|
|
1283
1543
|
postColorName = postColorName.substring(0, aliasMatch.index).trimEnd();
|
|
1284
1544
|
}
|
|
1545
|
+
if (diagnostics && lineNumber !== void 0) {
|
|
1546
|
+
diagnostics.push(...checkAliasSyntax(postColorName, alias, lineNumber));
|
|
1547
|
+
}
|
|
1285
1548
|
}
|
|
1286
1549
|
const meta = metaRegion.length > 0 ? parseMetadataRegion(metaRegion, aliasMap, diagnostics, lineNumber) : {};
|
|
1287
1550
|
void palette;
|
|
@@ -1357,6 +1620,8 @@ export {
|
|
|
1357
1620
|
RACI_REGISTRY,
|
|
1358
1621
|
FAMILY_PERSON_REGISTRY,
|
|
1359
1622
|
FAMILY_UNION_REGISTRY,
|
|
1623
|
+
ALIAS_DIAGNOSTICS,
|
|
1624
|
+
AliasRegistry,
|
|
1360
1625
|
ALL_CHART_TYPES,
|
|
1361
1626
|
measureIndent,
|
|
1362
1627
|
extractColor,
|
|
@@ -1384,4 +1649,4 @@ export {
|
|
|
1384
1649
|
splitNameAndMeta,
|
|
1385
1650
|
warnUnknownMetaKeys
|
|
1386
1651
|
};
|
|
1387
|
-
//# sourceMappingURL=chunk-
|
|
1652
|
+
//# sourceMappingURL=chunk-MK55PZVB.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mix
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GLREDNBA.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveColor
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XOGQY4EC.js";
|
|
7
7
|
|
|
8
8
|
// src/clock/swatches.ts
|
|
9
9
|
function buildSwatches(palette, muted) {
|
|
@@ -32,4 +32,4 @@ function buildSwatches(palette, muted) {
|
|
|
32
32
|
export {
|
|
33
33
|
buildSwatches
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=chunk-
|
|
35
|
+
//# sourceMappingURL=chunk-MS5574I7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
emit
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5SI6T5A5.js";
|
|
4
4
|
|
|
5
5
|
// src/raci/diagnostics.ts
|
|
6
6
|
var RACI_DX = {
|
|
@@ -481,4 +481,4 @@ export {
|
|
|
481
481
|
RACI_WARNING_CODES,
|
|
482
482
|
VARIANTS
|
|
483
483
|
};
|
|
484
|
-
//# sourceMappingURL=chunk-
|
|
484
|
+
//# sourceMappingURL=chunk-MSVQ2YCY.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
formatPct,
|
|
7
7
|
resolveCellColor,
|
|
8
8
|
resolveColorMode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-INOSOL3J.js";
|
|
10
10
|
import {
|
|
11
11
|
layoutInlineHeader
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YJMWEZOB.js";
|
|
13
13
|
import {
|
|
14
14
|
TITLE_FONT_SIZE,
|
|
15
15
|
TITLE_FONT_WEIGHT,
|
|
@@ -17,29 +17,29 @@ import {
|
|
|
17
17
|
} from "./chunk-A4GOY3PE.js";
|
|
18
18
|
import {
|
|
19
19
|
renderIntegratedLegend
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-O7ZKDUDX.js";
|
|
21
21
|
import {
|
|
22
22
|
getLegendExtent,
|
|
23
23
|
getMaxLegendReservedHeight
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4SXHMFFP.js";
|
|
25
25
|
import {
|
|
26
26
|
FONT_FAMILY
|
|
27
27
|
} from "./chunk-UTCPNJND.js";
|
|
28
28
|
import {
|
|
29
29
|
LEGEND_GROUP_GAP
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-YT5ICQ4R.js";
|
|
31
31
|
import {
|
|
32
32
|
measureText
|
|
33
33
|
} from "./chunk-MTGGOCND.js";
|
|
34
34
|
import {
|
|
35
35
|
tagAttrKey
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-4FKEI4MF.js";
|
|
37
37
|
import {
|
|
38
38
|
contrastText,
|
|
39
39
|
getSeriesColors,
|
|
40
40
|
mix,
|
|
41
41
|
themeBaseBg
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-GLREDNBA.js";
|
|
43
43
|
|
|
44
44
|
// src/treemap/renderer.ts
|
|
45
45
|
import * as d3Selection from "d3-selection";
|
|
@@ -439,4 +439,4 @@ export {
|
|
|
439
439
|
renderTreemapForExport,
|
|
440
440
|
renderTreemap
|
|
441
441
|
};
|
|
442
|
-
//# sourceMappingURL=chunk-
|
|
442
|
+
//# sourceMappingURL=chunk-MZMK474U.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
tagAttrKey,
|
|
22
22
|
validateTagGroupNames,
|
|
23
23
|
validateTagValues
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4FKEI4MF.js";
|
|
25
25
|
import {
|
|
26
26
|
PERT_REGISTRY,
|
|
27
27
|
extractColor,
|
|
@@ -31,12 +31,12 @@ import {
|
|
|
31
31
|
splitNameAndMeta,
|
|
32
32
|
warnUnknownMetaKeys,
|
|
33
33
|
withTagAliases
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-MK55PZVB.js";
|
|
35
35
|
import {
|
|
36
36
|
emit,
|
|
37
37
|
makeDgmoError,
|
|
38
38
|
suggest
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-5SI6T5A5.js";
|
|
40
40
|
|
|
41
41
|
// src/pert/diagnostics.ts
|
|
42
42
|
var PERT_DX = {
|
|
@@ -1268,4 +1268,4 @@ export {
|
|
|
1268
1268
|
extractPertSymbols,
|
|
1269
1269
|
looksLikePert
|
|
1270
1270
|
};
|
|
1271
|
-
//# sourceMappingURL=chunk-
|
|
1271
|
+
//# sourceMappingURL=chunk-NE7JHZCQ.js.map
|
|
@@ -9,19 +9,19 @@ import {
|
|
|
9
9
|
tagAttrKey,
|
|
10
10
|
validateTagGroupNames,
|
|
11
11
|
validateTagValues
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4FKEI4MF.js";
|
|
13
13
|
import {
|
|
14
14
|
extractColor,
|
|
15
15
|
fillModeFromToken,
|
|
16
16
|
measureIndent,
|
|
17
17
|
parseFirstLine
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MK55PZVB.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-NQJ7DDUT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeLegendLayout
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4SXHMFFP.js";
|
|
4
4
|
import {
|
|
5
5
|
FONT_FAMILY
|
|
6
6
|
} from "./chunk-UTCPNJND.js";
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
LEGEND_TOGGLE_OFF_OPACITY,
|
|
16
16
|
legendChromeColors,
|
|
17
17
|
measureLegendText
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YT5ICQ4R.js";
|
|
19
19
|
import {
|
|
20
20
|
tagAttrKey
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4FKEI4MF.js";
|
|
22
22
|
import {
|
|
23
23
|
valueRampStops
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GLREDNBA.js";
|
|
25
25
|
|
|
26
26
|
// src/utils/legend-d3.ts
|
|
27
27
|
function centerText(sel) {
|
|
@@ -294,4 +294,4 @@ export {
|
|
|
294
294
|
renderLegendD3,
|
|
295
295
|
renderIntegratedLegend
|
|
296
296
|
};
|
|
297
|
-
//# sourceMappingURL=chunk-
|
|
297
|
+
//# sourceMappingURL=chunk-O7ZKDUDX.js.map
|