@diagrammo/dgmo 0.79.0 → 0.81.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/advanced.d.ts +95 -21
- package/dist/advanced.js +187 -185
- package/dist/{analyzer-QTDQEMS5.js → analyzer-R5UBTRO2.js} +3 -3
- package/dist/block.d.ts +2 -2
- package/dist/block.js +66 -65
- package/dist/calculator-35YVW4QO.js +13 -0
- package/dist/{chart-meta-B7lSmrzg.d.ts → chart-meta-BnVwoPaA.d.ts} +11 -3
- package/dist/chart-meta.d.ts +3 -3
- package/dist/chart-meta.js +21 -56
- package/dist/{dgmo-router-zWf4Uxxg.d.ts → chart-types-CsUlmuiY.d.ts} +2 -60
- package/dist/{charts-d3-EST3Z5VG.js → charts-d3-KNAXWYX5.js} +14 -14
- package/dist/{chunk-XOGQY4EC.js → chunk-2M4IGSCY.js} +2 -2
- package/dist/{chunk-DGPFFRLS.js → chunk-3AX6MCI6.js} +2 -2
- package/dist/{chunk-7SHL2WME.js → chunk-3C2FWS2J.js} +4 -4
- package/dist/{chunk-MDUCF376.js → chunk-3PRG6ZQ4.js} +7 -7
- package/dist/{chunk-ZZZJVDIL.js → chunk-3RYBTEF5.js} +5 -5
- package/dist/{chunk-QDHOIBHZ.js → chunk-3TC2V76V.js} +12 -12
- package/dist/{chunk-253E5ISJ.js → chunk-3URBJ3MT.js} +5 -5
- package/dist/{chunk-3BN3WCUD.js → chunk-3XTIBO4O.js} +2 -2
- package/dist/{chunk-4CA7TJ44.js → chunk-44GP7PD5.js} +238 -238
- package/dist/{chunk-WC72PTV4.js → chunk-47E5UTXE.js} +5 -5
- package/dist/{chunk-KYK6PMB5.js → chunk-4QS2K7ON.js} +6 -6
- package/dist/{chunk-MSVQ2YCY.js → chunk-4WW3SGMH.js} +2 -2
- package/dist/{chunk-CSTYDCKB.js → chunk-4XAB672K.js} +4 -4
- package/dist/{chunk-CRBW2WS7.js → chunk-566WTT4S.js} +3 -3
- package/dist/{chunk-37NDM5NW.js → chunk-5JO443MB.js} +2 -2
- package/dist/{chunk-OMN4F42L.js → chunk-64NQHRHZ.js} +9 -9
- package/dist/{chunk-S7ZJEQPW.js → chunk-66YFDTT6.js} +8 -8
- package/dist/{chunk-YPVP6I62.js → chunk-67USWFFE.js} +4 -4
- package/dist/{chunk-55DMCFGM.js → chunk-6EV2F6W7.js} +5 -5
- package/dist/{chunk-6775W3UW.js → chunk-6HOVLE3H.js} +6 -6
- package/dist/{chunk-RPP3NHKV.js → chunk-6K7RODXG.js} +3 -3
- package/dist/{chunk-2RAH6GVR.js → chunk-6ZL5A5MQ.js} +16 -35
- package/dist/{chunk-AMQFJ7P7.js → chunk-7HWY4QAJ.js} +2 -2
- package/dist/{chunk-Y3OLUMJH.js → chunk-7TH4ELXZ.js} +9 -9
- package/dist/{chunk-Z4COUG7H.js → chunk-7UDAIP6W.js} +13 -5
- package/dist/{chunk-OM6XZAKM.js → chunk-7VX3KBF5.js} +9 -10
- package/dist/{chunk-Z5ZCTCX4.js → chunk-A4XPI4YN.js} +7 -7
- package/dist/{chunk-LLZVRWVS.js → chunk-A77XE4DY.js} +2 -2
- package/dist/{chunk-7EUTTKNU.js → chunk-AERZPALT.js} +11 -11
- package/dist/{chunk-4L43NPSQ.js → chunk-AYOVY75O.js} +8 -8
- package/dist/{chunk-HJZ4OET2.js → chunk-AZC23UWQ.js} +4 -4
- package/dist/{chunk-CFYTCBRH.js → chunk-BAZT6CIF.js} +5 -5
- package/dist/{chunk-MQAD75AY.js → chunk-BOO24UMJ.js} +3 -3
- package/dist/{chunk-XWC4RQ7T.js → chunk-BOQXIURQ.js} +64 -10
- package/dist/{chunk-5SI6T5A5.js → chunk-BYU54C3S.js} +41 -11
- package/dist/{chunk-ZH3BWGTE.js → chunk-C7QRRTAW.js} +12 -12
- package/dist/{chunk-EOG4QKKV.js → chunk-CUX5UNSX.js} +11 -11
- package/dist/{chunk-QGXH64FT.js → chunk-D6ACM5T3.js} +9 -9
- package/dist/{chunk-Y2KFQX5K.js → chunk-DTTCDQNZ.js} +12 -11
- package/dist/{chunk-EGY3TS62.js → chunk-DV2VEJCC.js} +2 -2
- package/dist/{chunk-PKW4TLJC.js → chunk-DW5X4NRC.js} +13 -13
- package/dist/chunk-ECIXBEG2.js +86 -0
- package/dist/{chunk-K3K7JHZI.js → chunk-ERNCPKD4.js} +3 -3
- package/dist/{chunk-AFOHIR2O.js → chunk-FJNXXGTR.js} +4 -4
- package/dist/{chunk-XNAMWOPJ.js → chunk-FKZ2Y3Q5.js} +5 -5
- package/dist/{chunk-W4MC3KP6.js → chunk-FPXMCGS5.js} +3 -3
- package/dist/{chunk-KIF4UFD2.js → chunk-GBHWYUAE.js} +7 -7
- package/dist/{chunk-XXLAZQ5E.js → chunk-GDJW64XE.js} +3 -3
- package/dist/{chunk-6JIMYPXR.js → chunk-GJFDPDPM.js} +3 -3
- package/dist/{chunk-CCETDPLV.js → chunk-GOPWP2LR.js} +5 -5
- package/dist/{chunk-IEK2FUWO.js → chunk-GSYZZFI5.js} +5 -5
- package/dist/{chunk-O5QG5IFV.js → chunk-GUTZCRBT.js} +6 -6
- package/dist/{chunk-TPQ6Q7JP.js → chunk-GUYVKGFN.js} +5 -5
- package/dist/{chunk-5BV5MXLY.js → chunk-HEYGGSNQ.js} +7 -7
- package/dist/{chunk-DN6K6QCF.js → chunk-HMWZQ53A.js} +3 -3
- package/dist/{chunk-IZK2H4KU.js → chunk-HSRQDWV7.js} +4 -4
- package/dist/{chunk-ALVK3TBO.js → chunk-HTWH2XQL.js} +5 -5
- package/dist/{chunk-GWA6UGNX.js → chunk-ITDRR5JA.js} +10 -10
- package/dist/{chunk-7I6NWTPE.js → chunk-J64NZ6NF.js} +3 -3
- package/dist/{chunk-XND5JIJA.js → chunk-JIPUBFAM.js} +3 -3
- package/dist/{chunk-W4EKQ2P6.js → chunk-JLGN6S4B.js} +56 -7
- package/dist/{chunk-LXTMP3VT.js → chunk-JQ57AWDL.js} +3 -3
- package/dist/{chunk-3KNA7OIO.js → chunk-JRUEIRJB.js} +6 -6
- package/dist/{chunk-P4U5GST7.js → chunk-JS2THRCB.js} +2 -2
- package/dist/{chunk-EBEFYSVZ.js → chunk-KABGWUND.js} +286 -118
- package/dist/{chunk-YQIZIKCK.js → chunk-KMOFMIMN.js} +12 -12
- package/dist/{chunk-O2HU4AQN.js → chunk-L5AFONQU.js} +4 -4
- package/dist/{chunk-HJ5DKZPO.js → chunk-LCAFKUGB.js} +4 -4
- package/dist/{chunk-PQR7E3LY.js → chunk-LCJURK7L.js} +3 -3
- package/dist/{chunk-VTWUHX4H.js → chunk-LNO3ASX5.js} +4 -4
- package/dist/{chunk-6FUIPWTS.js → chunk-LWWEQPJU.js} +3 -3
- package/dist/{chunk-HIOJSYDA.js → chunk-LZO4KL2O.js} +2 -2
- package/dist/{chunk-3SQJZMPO.js → chunk-MGBV4JEI.js} +2 -2
- package/dist/{chunk-XDEEYDPQ.js → chunk-MHAYUS65.js} +7 -7
- package/dist/{chunk-2F7AG7LA.js → chunk-MV4NT6ZS.js} +3 -3
- package/dist/{chunk-SEOM2BGQ.js → chunk-MY6GUH26.js} +4 -4
- package/dist/{chunk-7AEMAUDF.js → chunk-N6LCD676.js} +11 -11
- package/dist/{chunk-IHOFUR74.js → chunk-N7VMGZCU.js} +3 -3
- package/dist/{chunk-6EMJRAEY.js → chunk-NF5YKFRH.js} +5 -5
- package/dist/{chunk-ZASX45SU.js → chunk-NGC3IZRY.js} +4 -4
- package/dist/{chunk-DG5IQW74.js → chunk-NOKFJY5L.js} +16 -16
- package/dist/{chunk-Y3RYIGHZ.js → chunk-NWY4HVY6.js} +7 -7
- package/dist/{chunk-E6PNTYRK.js → chunk-O753JUEZ.js} +2 -2
- package/dist/{chunk-DQOCYWB6.js → chunk-OB34QYW2.js} +10 -10
- package/dist/{chunk-ULUZBEFO.js → chunk-OEQANTLL.js} +5 -5
- package/dist/{chunk-4T6V7JJA.js → chunk-P3SKSKJI.js} +4 -4
- package/dist/{chunk-S6GPBJWG.js → chunk-PIXJL77H.js} +3 -3
- package/dist/{chunk-I6DFQQER.js → chunk-PVJ2MQHP.js} +10 -10
- package/dist/{chunk-FFDHZVEL.js → chunk-QFHWYWQL.js} +8 -12
- package/dist/{chunk-RVWWCQAB.js → chunk-QLCER2HF.js} +4 -4
- package/dist/{chunk-4YSWUQKZ.js → chunk-RE6TVIAV.js} +4 -4
- package/dist/{chunk-UNYOWKEC.js → chunk-RU725VCJ.js} +7 -7
- package/dist/{chunk-S6QDCFEU.js → chunk-RYZNNXUV.js} +2 -2
- package/dist/{chunk-54JYWS7D.js → chunk-SLMETI5B.js} +8 -8
- package/dist/{chunk-OLRVGPJ3.js → chunk-STXGE3A7.js} +11 -11
- package/dist/{chunk-HLTVEXML.js → chunk-TPCGA3W3.js} +13 -13
- package/dist/{chunk-Y22BJKMK.js → chunk-UG2XG57E.js} +4 -4
- package/dist/{chunk-AI7TZQ2R.js → chunk-UNNJCSSQ.js} +4 -4
- package/dist/{chunk-CKDYRVOC.js → chunk-USSW5NJX.js} +2 -2
- package/dist/{chunk-NVI5G57O.js → chunk-UYCBJKE6.js} +12 -12
- package/dist/{chunk-3KFGPXHD.js → chunk-VABKWCTJ.js} +110 -110
- package/dist/{chunk-RWF7TCGT.js → chunk-VEPIAUSK.js} +3 -3
- package/dist/{chunk-CE654SL2.js → chunk-VIRDI7QP.js} +11 -11
- package/dist/{chunk-5DWF3N3V.js → chunk-VJ5RRUZO.js} +2 -2
- package/dist/{chunk-VSPNH7LC.js → chunk-VLC6WNRD.js} +3 -1
- package/dist/{chunk-QDTFFVLT.js → chunk-VMCT77PY.js} +19 -19
- package/dist/{chunk-JTLLQT34.js → chunk-VRV4C47J.js} +6 -6
- package/dist/{chunk-RN3DOUOU.js → chunk-WGOFIJUP.js} +13 -13
- package/dist/{chunk-LJ7X6ZNV.js → chunk-WKYBA5PC.js} +10 -10
- package/dist/{chunk-Q5KGGW7Z.js → chunk-WP2RLGDI.js} +3 -3
- package/dist/{chunk-LLYHYPYG.js → chunk-WPL5PFXE.js} +8 -8
- package/dist/{chunk-JOG6W3VS.js → chunk-WQ6G6FFM.js} +3 -3
- package/dist/{chunk-MUTZSF2A.js → chunk-XJJEHHEH.js} +5 -5
- package/dist/{chunk-CREALBZL.js → chunk-YKLN4VG5.js} +3 -3
- package/dist/{chunk-WY4L675I.js → chunk-ZGKVBVSQ.js} +20 -12
- package/dist/{chunk-T3EW35M2.js → chunk-ZUCXFXLD.js} +4 -4
- package/dist/completion-registry.js +8 -8
- package/dist/{d3-Bje6Mla1.d.ts → d3-CTGUvjsH.d.ts} +1 -1
- package/dist/dgmo-router-YW4SBNYB.js +93 -0
- package/dist/dimensions-IXTFLFDM.js +22 -0
- package/dist/flowchart-parser-GG7XBLQH.js +21 -0
- package/dist/{flowchart-renderer-IGSKJFMF.js → flowchart-renderer-2VQ4WOFU.js} +13 -13
- package/dist/index.d.ts +7 -8
- package/dist/index.js +72 -253
- package/dist/{layout-WASEHV3S.js → layout-2JDDT4E2.js} +4 -4
- package/dist/layout-FGGUKDE7.js +16 -0
- package/dist/{layout-OHAIIXBC.js → layout-JQ3IPJYR.js} +3 -3
- package/dist/{layout-YPRXVCW5.js → layout-K6OAQFKC.js} +4 -4
- package/dist/{layout-6APS2RRG.js → layout-KN2ZREUM.js} +8 -8
- package/dist/{layout-74HDWQYG.js → layout-KSJAARD4.js} +6 -6
- package/dist/{layout-ZJOWB27N.js → layout-MBQL6DJX.js} +7 -7
- package/dist/{layout-5AYAYUJH.js → layout-MSSHF45T.js} +4 -4
- package/dist/{layout-FCIYZV63.js → layout-N67E4MXG.js} +3 -3
- package/dist/{layout-OPF6KTOH.js → layout-QK3USIZ5.js} +6 -6
- package/dist/{layout-6VUNAH6F.js → layout-SE2EHP5T.js} +4 -4
- package/dist/layout-ZND4EET5.js +16 -0
- package/dist/{layout-search-3JKNSUTJ.js → layout-search-LPVJJ6E3.js} +48 -12
- package/dist/{legend-constants-RSWFR3L6.js → legend-constants-6CHRIU5T.js} +5 -5
- package/dist/{palettes-IAF6WVL4.js → palettes-BIV54XLS.js} +4 -4
- package/dist/parser-256EIWB2.js +12 -0
- package/dist/parser-5655XSOR.js +13 -0
- package/dist/{parser-56UEMRXS.js → parser-6PHQJO42.js} +7 -7
- package/dist/{parser-YQ5F7ATB.js → parser-6TXNMXNB.js} +5 -5
- package/dist/parser-7OEE7QT6.js +11 -0
- package/dist/parser-ACW6C6OY.js +13 -0
- package/dist/parser-AKBVJHMK.js +15 -0
- package/dist/parser-AN3MGHRL.js +12 -0
- package/dist/parser-C327BBE3.js +13 -0
- package/dist/{parser-H33OKBUB.js → parser-DGF3ZEO6.js} +7 -7
- package/dist/parser-DHSFIUPU.js +13 -0
- package/dist/parser-GEKPWSSK.js +17 -0
- package/dist/parser-GPW4ZHPQ.js +19 -0
- package/dist/parser-GZ3LVF72.js +11 -0
- package/dist/{parser-JIPG576H.js → parser-HCGXNHHL.js} +6 -6
- package/dist/parser-J4DVNL4W.js +20 -0
- package/dist/parser-JOOAVBJI.js +17 -0
- package/dist/{parser-ZUH2G7J2.js → parser-JXS4426S.js} +6 -6
- package/dist/parser-KFYRTGTC.js +14 -0
- package/dist/parser-KYPP2DX6.js +18 -0
- package/dist/parser-KZMALSB2.js +15 -0
- package/dist/parser-KZMJNKDW.js +11 -0
- package/dist/parser-LANGKWRG.js +15 -0
- package/dist/{parser-DQKZDA2J.js → parser-LGS65QPN.js} +5 -5
- package/dist/parser-NGHQQGD2.js +13 -0
- package/dist/parser-NOANDFJ4.js +11 -0
- package/dist/parser-NPXPJHWN.js +14 -0
- package/dist/parser-OKB64MMN.js +16 -0
- package/dist/parser-OVQTTTUJ.js +11 -0
- package/dist/parser-SA3RAJFS.js +11 -0
- package/dist/parser-WEVTMBJ5.js +16 -0
- package/dist/{parser-COPCQEHV.js → parser-WUK6CP5X.js} +7 -7
- package/dist/parser-ZLKYDFI5.js +12 -0
- package/dist/pert.d.ts +11 -0
- package/dist/renderer-3BD6RNEA.js +25 -0
- package/dist/{renderer-DV44AS75.js → renderer-3HZYAP5F.js} +12 -12
- package/dist/{renderer-33AB7UAZ.js → renderer-57IYUDQG.js} +14 -14
- package/dist/{renderer-YLIICO4R.js → renderer-5O5YV6QI.js} +9 -9
- package/dist/{renderer-TKWW45LZ.js → renderer-5RVERY6X.js} +14 -14
- package/dist/renderer-6BE3KOQ7.js +27 -0
- package/dist/renderer-6Q6H44XU.js +21 -0
- package/dist/renderer-BUOBHUL6.js +27 -0
- package/dist/renderer-FF2KKA63.js +25 -0
- package/dist/renderer-FJRHXL6G.js +29 -0
- package/dist/renderer-HC4GRKWG.js +26 -0
- package/dist/{renderer-RW446FGL.js → renderer-HWEGM72C.js} +6 -6
- package/dist/{renderer-4HFT4HJG.js → renderer-I2VM3N6S.js} +15 -15
- package/dist/renderer-JHKU3GRN.js +20 -0
- package/dist/renderer-KRQ2IP34.js +39 -0
- package/dist/{renderer-63MHARNI.js → renderer-LYZB32G7.js} +7 -7
- package/dist/renderer-MAFBZSLO.js +23 -0
- package/dist/{renderer-N5CRYFBI.js → renderer-MB3W3TEB.js} +13 -13
- package/dist/{renderer-UHLTPQTW.js → renderer-ML2CLU25.js} +5 -5
- package/dist/renderer-N6FPRVGH.js +30 -0
- package/dist/renderer-P7LQBDU2.js +17 -0
- package/dist/{renderer-IIN3RY4F.js → renderer-PQYO2HCE.js} +7 -7
- package/dist/renderer-SFYSXUUY.js +28 -0
- package/dist/renderer-UPLSSNQF.js +16 -0
- package/dist/renderer-VNHD4I5H.js +27 -0
- package/dist/renderer-VSS5HVOC.js +39 -0
- package/dist/{renderer-REHVBQ57.js → renderer-WMCMFUJM.js} +14 -14
- package/dist/{renderer-O3O6A3RY.js → renderer-X2IIJS7X.js} +14 -14
- package/dist/renderer-XHC5YBU6.js +79 -0
- package/dist/renderer-XSR2D7OT.js +23 -0
- package/dist/renderer-XWWL6RJH.js +25 -0
- package/dist/{renderer-BVJ3NVRB.js → renderer-YO4YVEEU.js} +7 -7
- package/dist/{renderer-FLLVGYUY.js → renderer-YQSUUU3W.js} +12 -12
- package/dist/renderer-radial-HG5WGKW3.js +21 -0
- package/dist/{resolver-H5E6V7LJ.js → resolver-XSXE2TRX.js} +3 -3
- package/dist/state-parser-FE3RF6XY.js +19 -0
- package/dist/{state-renderer-6TVII5ZJ.js → state-renderer-YRNO6ADY.js} +18 -18
- package/dist/{tag-groups-DIJV_50B.d.ts → tag-groups-CFxENdtP.d.ts} +11 -0
- package/dist/{themes-Bgkyh6gh.d.ts → themes-WjudZgda.d.ts} +53 -3
- package/docs/language-reference.md +1 -1
- package/package.json +3 -4
- package/dist/calculator-OHTCZSBW.js +0 -13
- package/dist/dgmo-router-OXFV43XX.js +0 -90
- package/dist/dimensions-AN34SPVX.js +0 -22
- package/dist/flowchart-parser-MRNAVG35.js +0 -21
- package/dist/layout-LELNMRM5.js +0 -16
- package/dist/layout-XY45TFJ4.js +0 -16
- package/dist/parser-2Y7LWKNO.js +0 -17
- package/dist/parser-4GUQUDAC.js +0 -20
- package/dist/parser-4OXANARZ.js +0 -18
- package/dist/parser-66QZQYGE.js +0 -16
- package/dist/parser-6SS7DKVW.js +0 -14
- package/dist/parser-AYURCBDZ.js +0 -15
- package/dist/parser-DEWJM5PX.js +0 -12
- package/dist/parser-EMPM3V35.js +0 -11
- package/dist/parser-EP2JQJNV.js +0 -13
- package/dist/parser-FDDHTBRV.js +0 -19
- package/dist/parser-FDESUQ32.js +0 -11
- package/dist/parser-GK6CMK4P.js +0 -13
- package/dist/parser-HJBSWTDY.js +0 -13
- package/dist/parser-HRIKI5O3.js +0 -14
- package/dist/parser-I77632XB.js +0 -15
- package/dist/parser-JGMQE7FS.js +0 -16
- package/dist/parser-JNJ2IFSO.js +0 -12
- package/dist/parser-LCUQTABE.js +0 -13
- package/dist/parser-LXU3MGG6.js +0 -11
- package/dist/parser-N4YB5EIZ.js +0 -15
- package/dist/parser-NC36PRBR.js +0 -11
- package/dist/parser-O6WYAXTS.js +0 -12
- package/dist/parser-UHABNZBC.js +0 -11
- package/dist/parser-V6HULGXW.js +0 -17
- package/dist/parser-VVWZIMYS.js +0 -13
- package/dist/parser-YJGTPT7A.js +0 -11
- package/dist/renderer-2ZGZSSCV.js +0 -39
- package/dist/renderer-43KEDLTQ.js +0 -23
- package/dist/renderer-4E6NNPNU.js +0 -29
- package/dist/renderer-6HPV7BMG.js +0 -23
- package/dist/renderer-FSV7MTW3.js +0 -17
- package/dist/renderer-H6XEVHKH.js +0 -27
- package/dist/renderer-HNEMQJXT.js +0 -21
- package/dist/renderer-K2OWHNBV.js +0 -25
- package/dist/renderer-M6UIXQHH.js +0 -27
- package/dist/renderer-OVRX36WE.js +0 -39
- package/dist/renderer-PLKMHBAB.js +0 -30
- package/dist/renderer-SJV75NUI.js +0 -28
- package/dist/renderer-UNYFAMFE.js +0 -16
- package/dist/renderer-URXHBQOF.js +0 -26
- package/dist/renderer-VBAQQWDB.js +0 -25
- package/dist/renderer-VI72MVFW.js +0 -77
- package/dist/renderer-XGJIACBV.js +0 -25
- package/dist/renderer-XVTKGPYT.js +0 -20
- package/dist/renderer-ZG6GPWZF.js +0 -27
- package/dist/renderer-radial-7UHFYOOL.js +0 -21
- package/dist/state-parser-XT4ZPQAF.js +0 -19
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryCollectNote
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J64NZ6NF.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveNotes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-O753JUEZ.js";
|
|
7
7
|
import {
|
|
8
8
|
validateLabelCharacters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-N7VMGZCU.js";
|
|
10
10
|
import {
|
|
11
11
|
displayName,
|
|
12
12
|
normalizeName
|
|
@@ -17,16 +17,16 @@ import {
|
|
|
17
17
|
measureIndent,
|
|
18
18
|
parseFirstLine,
|
|
19
19
|
tryParseSharedOption
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-44GP7PD5.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveColorWithDiagnostic
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2M4IGSCY.js";
|
|
24
24
|
import {
|
|
25
25
|
NAME_DIAGNOSTIC_CODES,
|
|
26
26
|
formatDgmoError,
|
|
27
27
|
makeDgmoError,
|
|
28
28
|
nameMergedMessage
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BYU54C3S.js";
|
|
30
30
|
|
|
31
31
|
// src/class/parser.ts
|
|
32
32
|
function classId(name) {
|
|
@@ -454,4 +454,4 @@ export {
|
|
|
454
454
|
looksLikeClassDiagram,
|
|
455
455
|
extractSymbols
|
|
456
456
|
};
|
|
457
|
-
//# sourceMappingURL=chunk-
|
|
457
|
+
//# sourceMappingURL=chunk-A4XPI4YN.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-USSW5NJX.js";
|
|
17
17
|
|
|
18
18
|
// src/utils/number-format.ts
|
|
19
19
|
function compactNumber(n) {
|
|
@@ -577,4 +577,4 @@ export {
|
|
|
577
577
|
getMaxLegendReservedHeight,
|
|
578
578
|
getLegendExtent
|
|
579
579
|
};
|
|
580
|
-
//# sourceMappingURL=chunk-
|
|
580
|
+
//# sourceMappingURL=chunk-A77XE4DY.js.map
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
} from "./chunk-26EVL454.js";
|
|
5
5
|
import {
|
|
6
6
|
layoutGraph
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3XTIBO4O.js";
|
|
8
8
|
import {
|
|
9
9
|
NOTE_BADGE_RADIUS,
|
|
10
10
|
noteConnectorPoints,
|
|
11
11
|
renderNoteBadge,
|
|
12
12
|
renderNoteBox,
|
|
13
13
|
renderNoteConnector
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5JO443MB.js";
|
|
15
15
|
import {
|
|
16
16
|
appendArrowheadMarkers
|
|
17
17
|
} from "./chunk-XBJJP2HN.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-IIEI7VK5.js";
|
|
31
31
|
import {
|
|
32
32
|
layoutInlineHeader
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-MV4NT6ZS.js";
|
|
34
34
|
import {
|
|
35
35
|
serializeSvg
|
|
36
36
|
} from "./chunk-LD2JSKU3.js";
|
|
@@ -38,14 +38,14 @@ import {
|
|
|
38
38
|
TITLE_FONT_SIZE,
|
|
39
39
|
TITLE_FONT_WEIGHT,
|
|
40
40
|
TITLE_Y
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VLC6WNRD.js";
|
|
42
42
|
import {
|
|
43
43
|
renderIntegratedLegend
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-3URBJ3MT.js";
|
|
45
45
|
import {
|
|
46
46
|
getLegendExtent,
|
|
47
47
|
getMaxLegendReservedHeight
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-A77XE4DY.js";
|
|
49
49
|
import {
|
|
50
50
|
FONT_FAMILY
|
|
51
51
|
} from "./chunk-ICLB27PZ.js";
|
|
@@ -54,24 +54,24 @@ import {
|
|
|
54
54
|
} from "./chunk-YC6GVLTI.js";
|
|
55
55
|
import {
|
|
56
56
|
parseState
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-AYOVY75O.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveActiveTagGroup,
|
|
60
60
|
resolveGroupTagColor,
|
|
61
61
|
resolveTagColor,
|
|
62
62
|
tagAttrKey
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-L5AFONQU.js";
|
|
64
64
|
import {
|
|
65
65
|
fillModeFromOptions,
|
|
66
66
|
legendInlineRequested,
|
|
67
67
|
legendSuppressed
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-44GP7PD5.js";
|
|
69
69
|
import {
|
|
70
70
|
contrastText,
|
|
71
71
|
mix,
|
|
72
72
|
shapeFill,
|
|
73
73
|
themeBaseBg
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-7HWY4QAJ.js";
|
|
75
75
|
|
|
76
76
|
// src/graph/state-renderer.ts
|
|
77
77
|
import * as d3Selection from "d3-selection";
|
|
@@ -470,4 +470,4 @@ export {
|
|
|
470
470
|
renderState,
|
|
471
471
|
renderStateForExport
|
|
472
472
|
};
|
|
473
|
-
//# sourceMappingURL=chunk-
|
|
473
|
+
//# sourceMappingURL=chunk-AERZPALT.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryCollectNote
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J64NZ6NF.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveNotes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-O753JUEZ.js";
|
|
7
7
|
import {
|
|
8
8
|
parseInArrowLabel
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-N7VMGZCU.js";
|
|
10
10
|
import {
|
|
11
11
|
displayName,
|
|
12
12
|
normalizeName
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
tagAttrKey,
|
|
20
20
|
validateTagGroupNames,
|
|
21
21
|
validateTagValues
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-L5AFONQU.js";
|
|
23
23
|
import {
|
|
24
24
|
ALL_CHART_TYPES,
|
|
25
25
|
FILL_FAMILY_TOKENS,
|
|
@@ -32,17 +32,17 @@ import {
|
|
|
32
32
|
parseMetadataRegion,
|
|
33
33
|
tryParseSharedOption,
|
|
34
34
|
withTagAliases
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-44GP7PD5.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveColorWithDiagnostic
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2M4IGSCY.js";
|
|
39
39
|
import {
|
|
40
40
|
NAME_DIAGNOSTIC_CODES,
|
|
41
41
|
formatDgmoError,
|
|
42
42
|
makeDgmoError,
|
|
43
43
|
nameMergedMessage,
|
|
44
44
|
suggest
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-BYU54C3S.js";
|
|
46
46
|
|
|
47
47
|
// src/graph/state-parser.ts
|
|
48
48
|
var PSEUDOSTATE_ID = "pseudostate:[*]";
|
|
@@ -547,4 +547,4 @@ export {
|
|
|
547
547
|
parseState,
|
|
548
548
|
looksLikeState
|
|
549
549
|
};
|
|
550
|
-
//# sourceMappingURL=chunk-
|
|
550
|
+
//# sourceMappingURL=chunk-AYOVY75O.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
LEGEND_PILL_FONT_SIZE,
|
|
13
13
|
LEGEND_PILL_PAD,
|
|
14
14
|
measureLegendText
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-USSW5NJX.js";
|
|
16
16
|
import {
|
|
17
17
|
measureText,
|
|
18
18
|
wrapTextToWidth
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
UNTAGGED_TAG_COLOR,
|
|
22
22
|
tagAttrKey
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-L5AFONQU.js";
|
|
24
24
|
import {
|
|
25
25
|
legendSuppressed
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-44GP7PD5.js";
|
|
27
27
|
|
|
28
28
|
// src/c4/layout.ts
|
|
29
29
|
import dagre from "@dagrejs/dagre";
|
|
@@ -1733,4 +1733,4 @@ export {
|
|
|
1733
1733
|
layoutC4Components,
|
|
1734
1734
|
layoutC4Deployment
|
|
1735
1735
|
};
|
|
1736
|
-
//# sourceMappingURL=chunk-
|
|
1736
|
+
//# sourceMappingURL=chunk-AZC23UWQ.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
stripDefaultModifier,
|
|
18
18
|
tagAttrKey,
|
|
19
19
|
validateTagGroupNames
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-L5AFONQU.js";
|
|
21
21
|
import {
|
|
22
22
|
AliasRegistry,
|
|
23
23
|
GANTT_BOOLEAN_SET,
|
|
@@ -32,14 +32,14 @@ import {
|
|
|
32
32
|
splitNameAndMeta,
|
|
33
33
|
warnUnknownMetaKeys,
|
|
34
34
|
withTagAliases
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-44GP7PD5.js";
|
|
36
36
|
import {
|
|
37
37
|
getSeriesColors
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-7HWY4QAJ.js";
|
|
39
39
|
import {
|
|
40
40
|
formatDgmoError,
|
|
41
41
|
makeDgmoError
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-BYU54C3S.js";
|
|
43
43
|
|
|
44
44
|
// src/gantt/parser.ts
|
|
45
45
|
var GROUP_RE = /^\[(.+?)\]\s*(.*)$/;
|
|
@@ -1381,4 +1381,4 @@ export {
|
|
|
1381
1381
|
GANTT_KNOWN_OPTIONS,
|
|
1382
1382
|
GANTT_KNOWN_BOOLEANS
|
|
1383
1383
|
};
|
|
1384
|
-
//# sourceMappingURL=chunk-
|
|
1384
|
+
//# sourceMappingURL=chunk-BAZT6CIF.js.map
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
normalizeNumericToken,
|
|
6
6
|
parseFirstLine,
|
|
7
7
|
tryParseSharedOption
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-44GP7PD5.js";
|
|
9
9
|
import {
|
|
10
10
|
makeDgmoError,
|
|
11
11
|
makeFail
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BYU54C3S.js";
|
|
13
13
|
|
|
14
14
|
// src/goal/parser.ts
|
|
15
15
|
function parseGoalNumber(token) {
|
|
@@ -158,4 +158,4 @@ function parseGoal(content, palette) {
|
|
|
158
158
|
export {
|
|
159
159
|
parseGoal
|
|
160
160
|
};
|
|
161
|
-
//# sourceMappingURL=chunk-
|
|
161
|
+
//# sourceMappingURL=chunk-BOO24UMJ.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-YC6GVLTI.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveNotes
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-O753JUEZ.js";
|
|
19
19
|
|
|
20
20
|
// src/boxes-and-lines/label-placement.ts
|
|
21
21
|
var EDGE_LABEL_FONT_SIZE = 11;
|
|
@@ -312,7 +312,7 @@ function computeNodeSize(node, reserveValueRow) {
|
|
|
312
312
|
return { width: w, height: Math.max(NODE_HEIGHT, totalHeight) };
|
|
313
313
|
}
|
|
314
314
|
async function layoutBoxesAndLines(parsed, collapseInfo, layoutOptions) {
|
|
315
|
-
const { layoutBoxesAndLinesSearch } = await import("./layout-search-
|
|
315
|
+
const { layoutBoxesAndLinesSearch } = await import("./layout-search-LPVJJ6E3.js");
|
|
316
316
|
const searchOpts = {
|
|
317
317
|
...layoutOptions?.hideDescriptions !== void 0 && {
|
|
318
318
|
hideDescriptions: layoutOptions.hideDescriptions
|
|
@@ -441,24 +441,78 @@ function applyParallelEdgeOffsets(layout) {
|
|
|
441
441
|
else groups.set(key, [i]);
|
|
442
442
|
});
|
|
443
443
|
if ([...groups.values()].every((g) => g.length < 2)) return layout;
|
|
444
|
+
const centre = /* @__PURE__ */ new Map();
|
|
445
|
+
for (const n of layout.nodes) centre.set(n.label, { x: n.x, y: n.y });
|
|
446
|
+
for (const g of layout.groups)
|
|
447
|
+
if (g.collapsed) centre.set("__group_" + g.label, { x: g.x, y: g.y });
|
|
444
448
|
const yOffset = new Array(layout.edges.length).fill(0);
|
|
445
449
|
const count = new Array(layout.edges.length).fill(1);
|
|
446
|
-
|
|
450
|
+
const normal = new Array(
|
|
451
|
+
layout.edges.length
|
|
452
|
+
).fill(void 0);
|
|
453
|
+
for (const [key, idxs] of groups) {
|
|
447
454
|
const capped = idxs.slice(0, MAX_PARALLEL_EDGES);
|
|
448
455
|
for (const drop of idxs.slice(MAX_PARALLEL_EDGES)) count[drop] = 0;
|
|
449
456
|
if (capped.length < 2) continue;
|
|
450
|
-
|
|
457
|
+
const sep = key.indexOf("\0");
|
|
458
|
+
const ca = centre.get(key.slice(0, sep));
|
|
459
|
+
const cb = centre.get(key.slice(sep + 1));
|
|
460
|
+
let nx = 0;
|
|
461
|
+
let ny = 1;
|
|
462
|
+
if (ca && cb) {
|
|
463
|
+
const dx = cb.x - ca.x;
|
|
464
|
+
const dy = cb.y - ca.y;
|
|
465
|
+
const len = Math.hypot(dx, dy);
|
|
466
|
+
if (len > 1e-6) {
|
|
467
|
+
nx = -dy / len;
|
|
468
|
+
ny = dx / len;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
const ordered = capped.map((idx) => {
|
|
472
|
+
const pts = layout.edges[idx].points;
|
|
473
|
+
const p0 = pts[0];
|
|
474
|
+
const p1 = pts[pts.length - 1];
|
|
475
|
+
const mx = ((p0?.x ?? 0) + (p1?.x ?? 0)) / 2;
|
|
476
|
+
const my = ((p0?.y ?? 0) + (p1?.y ?? 0)) / 2;
|
|
477
|
+
return { idx, along: mx * nx + my * ny };
|
|
478
|
+
}).sort((p, q) => p.along - q.along || p.idx - q.idx);
|
|
479
|
+
ordered.forEach(({ idx }, j) => {
|
|
451
480
|
yOffset[idx] = (j - (capped.length - 1) / 2) * PARALLEL_SPACING;
|
|
452
481
|
count[idx] = capped.length;
|
|
482
|
+
normal[idx] = { x: nx, y: ny };
|
|
453
483
|
});
|
|
454
484
|
}
|
|
455
485
|
return {
|
|
456
486
|
...layout,
|
|
457
|
-
edges: layout.edges.map((e, i) =>
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
parallelCount:
|
|
461
|
-
|
|
487
|
+
edges: layout.edges.map((e, i) => {
|
|
488
|
+
const off = yOffset[i];
|
|
489
|
+
const cnt = count[i];
|
|
490
|
+
const base = { ...e, yOffset: off, parallelCount: cnt };
|
|
491
|
+
if (off === 0 || cnt <= 1) return base;
|
|
492
|
+
const s = e.points[0];
|
|
493
|
+
const t = e.points[e.points.length - 1];
|
|
494
|
+
if (!s || !t) return base;
|
|
495
|
+
const n = normal[i] ?? { x: 0, y: 1 };
|
|
496
|
+
const at = (u, k) => ({
|
|
497
|
+
x: s.x + (t.x - s.x) * u + n.x * off * k,
|
|
498
|
+
y: s.y + (t.y - s.y) * u + n.y * off * k
|
|
499
|
+
});
|
|
500
|
+
return {
|
|
501
|
+
...base,
|
|
502
|
+
points: [
|
|
503
|
+
{ x: s.x, y: s.y },
|
|
504
|
+
// port
|
|
505
|
+
at(0.15, 0.5),
|
|
506
|
+
// separate
|
|
507
|
+
at(0.5, 1),
|
|
508
|
+
// full spread
|
|
509
|
+
at(0.85, 0.5),
|
|
510
|
+
// converge
|
|
511
|
+
{ x: t.x, y: t.y }
|
|
512
|
+
// port
|
|
513
|
+
]
|
|
514
|
+
};
|
|
515
|
+
})
|
|
462
516
|
};
|
|
463
517
|
}
|
|
464
518
|
|
|
@@ -468,4 +522,4 @@ export {
|
|
|
468
522
|
computeNodeSize,
|
|
469
523
|
layoutBoxesAndLines
|
|
470
524
|
};
|
|
471
|
-
//# sourceMappingURL=chunk-
|
|
525
|
+
//# sourceMappingURL=chunk-BOQXIURQ.js.map
|
|
@@ -10,6 +10,7 @@ function emit(spec, line, params = {}, opts = {}) {
|
|
|
10
10
|
severity: spec.severity,
|
|
11
11
|
code: spec.code
|
|
12
12
|
};
|
|
13
|
+
if (spec.hint !== void 0) err.hint = spec.hint;
|
|
13
14
|
if (opts.column !== void 0) err.column = opts.column;
|
|
14
15
|
return err;
|
|
15
16
|
}
|
|
@@ -38,28 +39,47 @@ function makeFail(result) {
|
|
|
38
39
|
function levenshtein(a, b) {
|
|
39
40
|
const m = a.length;
|
|
40
41
|
const n = b.length;
|
|
41
|
-
const dp = Array
|
|
42
|
+
const dp = Array.from(
|
|
43
|
+
{ length: m + 1 },
|
|
44
|
+
(_, i) => Array.from({ length: n + 1 }, (_2, j) => i === 0 ? j : j === 0 ? i : 0)
|
|
45
|
+
);
|
|
42
46
|
for (let i = 1; i <= m; i++) {
|
|
43
|
-
let prev = dp[0];
|
|
44
|
-
dp[0] = i;
|
|
45
47
|
for (let j = 1; j <= n; j++) {
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
const cost = a[i - 1] === b[j - 1] ? 0 : 1;
|
|
49
|
+
let best = Math.min(
|
|
50
|
+
dp[i - 1][j] + 1,
|
|
51
|
+
// deletion
|
|
52
|
+
dp[i][j - 1] + 1,
|
|
53
|
+
// insertion
|
|
54
|
+
dp[i - 1][j - 1] + cost
|
|
55
|
+
// substitution
|
|
56
|
+
);
|
|
57
|
+
if (i > 1 && j > 1 && a[i - 1] === b[j - 2] && a[i - 2] === b[j - 1]) {
|
|
58
|
+
best = Math.min(best, dp[i - 2][j - 2] + 1);
|
|
59
|
+
}
|
|
60
|
+
dp[i][j] = best;
|
|
49
61
|
}
|
|
50
62
|
}
|
|
51
|
-
return dp[n];
|
|
63
|
+
return dp[m][n];
|
|
52
64
|
}
|
|
53
65
|
function suggest(input, candidates) {
|
|
54
66
|
if (!input || candidates.length === 0) return null;
|
|
55
67
|
const lower = input.toLowerCase();
|
|
56
|
-
const threshold = Math.
|
|
68
|
+
const threshold = Math.min(
|
|
69
|
+
Math.max(2, Math.floor(lower.length / 3)),
|
|
70
|
+
lower.length - 1
|
|
71
|
+
);
|
|
57
72
|
let best = null;
|
|
58
73
|
let bestDist = Infinity;
|
|
74
|
+
let bestTie = Infinity;
|
|
59
75
|
for (const c of candidates) {
|
|
60
|
-
const
|
|
61
|
-
|
|
76
|
+
const lc = c.toLowerCase();
|
|
77
|
+
const dist = levenshtein(lower, lc);
|
|
78
|
+
if (dist === 0 || dist > threshold) continue;
|
|
79
|
+
const tie = (lower[0] === lc[0] ? 0 : 100) + Math.abs(lower.length - lc.length);
|
|
80
|
+
if (dist < bestDist || dist === bestDist && tie < bestTie) {
|
|
62
81
|
bestDist = dist;
|
|
82
|
+
bestTie = tie;
|
|
63
83
|
best = c;
|
|
64
84
|
}
|
|
65
85
|
}
|
|
@@ -107,6 +127,15 @@ var NEGATIVE_VALUE_DX = {
|
|
|
107
127
|
hint: 'Restate the data as positive magnitudes (e.g. "decline %"). If direction matters, use a bar chart \u2014 bars support negative values.',
|
|
108
128
|
example: "pie Budget\nRent 1200\nRefunds -300"
|
|
109
129
|
};
|
|
130
|
+
var MISTYPED_CHART_TYPE_DX = {
|
|
131
|
+
code: "W_CHART_TYPE_INFERRED",
|
|
132
|
+
severity: "warning",
|
|
133
|
+
chartType: null,
|
|
134
|
+
title: "First line almost names a chart type",
|
|
135
|
+
message: (p) => `'${p.word ?? "flowchar"}' is not a chart type, so this was drawn as a ${p.resolved ?? "sequence"} inferred from its content. ${p.suggestion ?? "Did you mean 'flowchart'?"}`,
|
|
136
|
+
hint: "Line 1 names the chart type. Correct the spelling, or delete the line if the content really should be inferred.",
|
|
137
|
+
example: "flowchar Deploy\n[A] -> [B]"
|
|
138
|
+
};
|
|
110
139
|
var TITLE_DIRECTIVE_DX = {
|
|
111
140
|
code: "E_TITLE_DIRECTIVE",
|
|
112
141
|
severity: "error",
|
|
@@ -129,6 +158,7 @@ export {
|
|
|
129
158
|
METADATA_DIAGNOSTIC_CODES,
|
|
130
159
|
emptyMetadataValueMessage,
|
|
131
160
|
NEGATIVE_VALUE_DX,
|
|
161
|
+
MISTYPED_CHART_TYPE_DX,
|
|
132
162
|
TITLE_DIRECTIVE_DX
|
|
133
163
|
};
|
|
134
|
-
//# sourceMappingURL=chunk-
|
|
164
|
+
//# sourceMappingURL=chunk-BYU54C3S.js.map
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
matchTagBlockHeading,
|
|
5
5
|
stripDefaultModifier,
|
|
6
6
|
tagAttrKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L5AFONQU.js";
|
|
8
8
|
import {
|
|
9
9
|
FILL_FAMILY_TOKENS,
|
|
10
10
|
extractColor,
|
|
11
11
|
measureIndent,
|
|
12
12
|
parseFirstLine
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-44GP7PD5.js";
|
|
14
14
|
import {
|
|
15
15
|
emit
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BYU54C3S.js";
|
|
17
17
|
|
|
18
18
|
// src/swimlane/diagnostics.ts
|
|
19
19
|
var SWIMLANE_DX = {
|
|
@@ -76,7 +76,7 @@ lane L
|
|
|
76
76
|
[Start]`
|
|
77
77
|
},
|
|
78
78
|
// One code, many wordings — the call site passes the exact `reason`:
|
|
79
|
-
// parseNodeToken: 'inclusive gateway (<o …>) is
|
|
79
|
+
// parseNodeToken: 'inclusive gateway (<o …>) is not supported', event-based,
|
|
80
80
|
// timer|message|signal events; declareNode: 'notes are
|
|
81
81
|
// deferred past v1', 'data objects are deferred past v1',
|
|
82
82
|
// `${k} events are fast-follow`; addChain: 'message flow
|
|
@@ -86,8 +86,8 @@ lane L
|
|
|
86
86
|
severity: "error",
|
|
87
87
|
chartType: "swimlane",
|
|
88
88
|
title: "Unsupported construct",
|
|
89
|
-
message: (p) => typeof p.reason === "string" && p.reason ? p.reason : "inclusive gateway (<o \u2026>) is
|
|
90
|
-
hint: "
|
|
89
|
+
message: (p) => typeof p.reason === "string" && p.reason ? p.reason : "inclusive gateway (<o \u2026>) is not supported",
|
|
90
|
+
hint: "Remove it, or use a supported shape, event, or flow.",
|
|
91
91
|
example: `swimlane T
|
|
92
92
|
lane L
|
|
93
93
|
L
|
|
@@ -116,7 +116,7 @@ function parseNodeToken(raw) {
|
|
|
116
116
|
shape: "exclusive",
|
|
117
117
|
event: "none",
|
|
118
118
|
label: inner.replace(/^o\s*/, "").trim(),
|
|
119
|
-
unsupported: "inclusive gateway (<o \u2026>) is
|
|
119
|
+
unsupported: "inclusive gateway (<o \u2026>) is not supported"
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
122
|
if (inner.startsWith("* ") || inner === "*") {
|
|
@@ -124,7 +124,7 @@ function parseNodeToken(raw) {
|
|
|
124
124
|
shape: "exclusive",
|
|
125
125
|
event: "none",
|
|
126
126
|
label: inner.replace(/^\*\s*/, "").trim(),
|
|
127
|
-
unsupported: "event-based gateway (<* \u2026>) is
|
|
127
|
+
unsupported: "event-based gateway (<* \u2026>) is not supported"
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
130
|
return { shape: "exclusive", event: "none", label: inner };
|
|
@@ -359,7 +359,7 @@ function parseSwimlane(content, palette) {
|
|
|
359
359
|
if (k === "note") {
|
|
360
360
|
diagnostics.push(
|
|
361
361
|
emit(SWIMLANE_DX.UNSUPPORTED, lineNum, {
|
|
362
|
-
reason: "notes are
|
|
362
|
+
reason: "notes are not supported"
|
|
363
363
|
})
|
|
364
364
|
);
|
|
365
365
|
continue;
|
|
@@ -367,7 +367,7 @@ function parseSwimlane(content, palette) {
|
|
|
367
367
|
if (k === "data") {
|
|
368
368
|
diagnostics.push(
|
|
369
369
|
emit(SWIMLANE_DX.UNSUPPORTED, lineNum, {
|
|
370
|
-
reason: "data objects are
|
|
370
|
+
reason: "data objects are not supported"
|
|
371
371
|
})
|
|
372
372
|
);
|
|
373
373
|
continue;
|
|
@@ -574,7 +574,7 @@ function parseSwimlane(content, palette) {
|
|
|
574
574
|
if (trimmed.includes("~>")) {
|
|
575
575
|
diagnostics.push(
|
|
576
576
|
emit(SWIMLANE_DX.UNSUPPORTED, lineNum, {
|
|
577
|
-
reason: "message flow (~>) is
|
|
577
|
+
reason: "message flow (~>) is not supported"
|
|
578
578
|
})
|
|
579
579
|
);
|
|
580
580
|
continue;
|
|
@@ -692,4 +692,4 @@ export {
|
|
|
692
692
|
SWIMLANE_DIAGNOSTICS,
|
|
693
693
|
parseSwimlane
|
|
694
694
|
};
|
|
695
|
-
//# sourceMappingURL=chunk-
|
|
695
|
+
//# sourceMappingURL=chunk-C7QRRTAW.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
layoutC4Containers,
|
|
5
5
|
layoutC4Context,
|
|
6
6
|
layoutC4Deployment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AZC23UWQ.js";
|
|
8
8
|
import {
|
|
9
9
|
appendArrowheadMarkers,
|
|
10
10
|
appendReverseArrowheadMarkers
|
|
@@ -32,39 +32,39 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
TITLE_FONT_SIZE,
|
|
34
34
|
TITLE_FONT_WEIGHT
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VLC6WNRD.js";
|
|
36
36
|
import {
|
|
37
37
|
renderIntegratedLegend
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-3URBJ3MT.js";
|
|
39
39
|
import {
|
|
40
40
|
FONT_FAMILY
|
|
41
41
|
} from "./chunk-ICLB27PZ.js";
|
|
42
|
+
import {
|
|
43
|
+
parseC4
|
|
44
|
+
} from "./chunk-GSYZZFI5.js";
|
|
42
45
|
import {
|
|
43
46
|
LEGEND_HEIGHT
|
|
44
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-USSW5NJX.js";
|
|
45
48
|
import {
|
|
46
49
|
measureText,
|
|
47
50
|
wrapTextToWidth
|
|
48
51
|
} from "./chunk-YC6GVLTI.js";
|
|
49
|
-
import {
|
|
50
|
-
parseC4
|
|
51
|
-
} from "./chunk-IEK2FUWO.js";
|
|
52
52
|
import {
|
|
53
53
|
preprocessDescriptionLine
|
|
54
54
|
} from "./chunk-IYULMRBE.js";
|
|
55
55
|
import {
|
|
56
56
|
resolveGroupTagColor,
|
|
57
57
|
tagAttrKey
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-L5AFONQU.js";
|
|
59
59
|
import {
|
|
60
60
|
fillModeFromOptions
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-44GP7PD5.js";
|
|
62
62
|
import {
|
|
63
63
|
contrastText,
|
|
64
64
|
groupFill,
|
|
65
65
|
mix,
|
|
66
66
|
shapeFill
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-7HWY4QAJ.js";
|
|
68
68
|
|
|
69
69
|
// src/c4/renderer.ts
|
|
70
70
|
import * as d3Selection from "d3-selection";
|
|
@@ -1082,4 +1082,4 @@ export {
|
|
|
1082
1082
|
renderC4Deployment,
|
|
1083
1083
|
renderC4DeploymentForExport
|
|
1084
1084
|
};
|
|
1085
|
-
//# sourceMappingURL=chunk-
|
|
1085
|
+
//# sourceMappingURL=chunk-CUX5UNSX.js.map
|
|
@@ -15,13 +15,16 @@ import {
|
|
|
15
15
|
hideTooltip,
|
|
16
16
|
renderChartTitle,
|
|
17
17
|
showTooltip
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RE6TVIAV.js";
|
|
19
19
|
import {
|
|
20
20
|
renderIntegratedLegend
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3URBJ3MT.js";
|
|
22
22
|
import {
|
|
23
23
|
FONT_FAMILY
|
|
24
24
|
} from "./chunk-ICLB27PZ.js";
|
|
25
|
+
import {
|
|
26
|
+
parseTimelineDate
|
|
27
|
+
} from "./chunk-GDJW64XE.js";
|
|
25
28
|
import {
|
|
26
29
|
LEGEND_CAPSULE_PAD,
|
|
27
30
|
LEGEND_DOT_R,
|
|
@@ -34,14 +37,11 @@ import {
|
|
|
34
37
|
legendChromeColors,
|
|
35
38
|
measureLegendText,
|
|
36
39
|
truncateLegendText
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import {
|
|
39
|
-
parseTimelineDate
|
|
40
|
-
} from "./chunk-XXLAZQ5E.js";
|
|
40
|
+
} from "./chunk-USSW5NJX.js";
|
|
41
41
|
import {
|
|
42
42
|
resolveTagColor,
|
|
43
43
|
tagAttrKey
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-L5AFONQU.js";
|
|
45
45
|
import {
|
|
46
46
|
DEFAULT_PALETTE_ID,
|
|
47
47
|
getPalette
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
mix,
|
|
53
53
|
shapeFill,
|
|
54
54
|
themeBaseBg
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-7HWY4QAJ.js";
|
|
56
56
|
|
|
57
57
|
// src/timeline/renderer.ts
|
|
58
58
|
import * as d3Scale from "d3-scale";
|
|
@@ -1675,4 +1675,4 @@ export {
|
|
|
1675
1675
|
formatDateLabel,
|
|
1676
1676
|
renderTimeline
|
|
1677
1677
|
};
|
|
1678
|
-
//# sourceMappingURL=chunk-
|
|
1678
|
+
//# sourceMappingURL=chunk-D6ACM5T3.js.map
|