@diagrammo/dgmo 0.91.1 → 0.92.1
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 +21 -12
- package/dist/advanced.js +123 -122
- package/dist/{analyzer-7ZGAZIE6.js → analyzer-G7PGOT3V.js} +2 -2
- package/dist/block.d.ts +10 -3
- package/dist/block.js +67 -66
- package/dist/{calculator-3LZUWOBK.js → calculator-BNH3GSJE.js} +4 -4
- package/dist/{chart-meta-B_WTMP0y.d.ts → chart-meta-BBqLnv5q.d.ts} +4 -3
- package/dist/chart-meta.d.ts +3 -3
- package/dist/chart-meta.js +22 -22
- package/dist/{chart-types-V2NcgN5O.d.ts → chart-types-CbXlZFLd.d.ts} +3 -2
- package/dist/charts-d3-QUUDVETP.js +31 -0
- package/dist/{chunk-634LDSN6.js → chunk-26BBJUBW.js} +2 -2
- package/dist/{chunk-ZJ4PYTCK.js → chunk-2BJW7FSF.js} +2 -2
- package/dist/{chunk-3YTAOMMN.js → chunk-2WQ3YZMN.js} +2 -2
- package/dist/{chunk-XLPJJ35N.js → chunk-2YAFDND3.js} +4 -4
- package/dist/{chunk-HLVGZXM5.js → chunk-2ZW4NBYX.js} +1 -1
- package/dist/{chunk-VGSSAMLA.js → chunk-3GUEYQGL.js} +8 -5
- package/dist/{chunk-HWXUQCDY.js → chunk-3KVUFHUJ.js} +2 -2
- package/dist/{chunk-2A4OFZ2Z.js → chunk-3PFMGNOM.js} +12 -9
- package/dist/{chunk-KSZHIAI2.js → chunk-3Y63RFJL.js} +1 -1
- package/dist/{chunk-CNUN5GO6.js → chunk-42UJ23H3.js} +1 -1
- package/dist/{chunk-TPEYEOXA.js → chunk-45QUTYPD.js} +15 -13
- package/dist/{chunk-HSGWR2FL.js → chunk-4QLGGQNO.js} +55 -23
- package/dist/{chunk-QKJ6MQXW.js → chunk-4SACN2C5.js} +2 -2
- package/dist/{chunk-D7PP35BA.js → chunk-4XYZJTFO.js} +2 -2
- package/dist/{chunk-5U6DXIMV.js → chunk-5EBYPETE.js} +2 -2
- package/dist/{chunk-K3BYD3WU.js → chunk-5KKZXA44.js} +3 -3
- package/dist/{chunk-UWJP4JSZ.js → chunk-5OTA2PUH.js} +2 -2
- package/dist/{chunk-CU2PZLZP.js → chunk-5SSTVFPX.js} +44 -9
- package/dist/{chunk-LKR4FACF.js → chunk-66JTY4AN.js} +2 -4
- package/dist/{chunk-AR4QVMWG.js → chunk-6BNNLVAR.js} +1 -1
- package/dist/{chunk-L24LESXF.js → chunk-6GXLAKUH.js} +1 -1
- package/dist/{chunk-XLAREWBK.js → chunk-6OIMUSDX.js} +9 -9
- package/dist/{chunk-RE27AX7O.js → chunk-6OSGENN5.js} +1 -1
- package/dist/{chunk-VMD2CYVP.js → chunk-6WVX4KNP.js} +44 -44
- package/dist/{chunk-IMHNZITR.js → chunk-6ZL2XYM7.js} +3 -3
- package/dist/{chunk-RMTOZALT.js → chunk-73EYNV4O.js} +3 -3
- package/dist/{chunk-4HG4PYHM.js → chunk-7ENDOHAA.js} +1 -1
- package/dist/{chunk-4YO7VJTP.js → chunk-7PJBJ2DU.js} +1 -1
- package/dist/{chunk-MI6SJJQU.js → chunk-A2A2I4Z4.js} +3 -3
- package/dist/{chunk-PSGSFRRE.js → chunk-A4PNWAUW.js} +3 -3
- package/dist/{chunk-7BBRSOKS.js → chunk-ADNIO3XY.js} +3 -3
- package/dist/{chunk-R7BSF7Z7.js → chunk-AQQUJEDN.js} +1 -1
- package/dist/{chunk-HYV6GSXM.js → chunk-AULZD45V.js} +2 -2
- package/dist/chunk-B5DHFFZP.js +15 -0
- package/dist/{chunk-ZB2Q67NO.js → chunk-B5PEKSRH.js} +2 -2
- package/dist/{chunk-EP7BT3HU.js → chunk-BEA4D7OS.js} +2 -2
- package/dist/{chunk-CVZBLHHW.js → chunk-BQMHJ6OW.js} +1 -1
- package/dist/{chunk-OYKNMFUY.js → chunk-BQO24BDM.js} +2 -2
- package/dist/{chunk-V3KHZQPK.js → chunk-BRGRIZQB.js} +2 -2
- package/dist/{chunk-IMKPFW67.js → chunk-BRSM6Z34.js} +10 -10
- package/dist/{chunk-PUZ63XZM.js → chunk-BZX7QCXJ.js} +21 -32
- package/dist/{chunk-37QQXKFV.js → chunk-CDM6XMOT.js} +3 -3
- package/dist/{chunk-53BJIOLF.js → chunk-CN4RDJDV.js} +3 -3
- package/dist/{chunk-OOCVGX4W.js → chunk-CYRB2JTN.js} +1 -1
- package/dist/{chunk-IHK3Y2HG.js → chunk-DEFBUZWV.js} +1 -1
- package/dist/{chunk-NTJ5HVV6.js → chunk-DGUGE67L.js} +3 -3
- package/dist/{chunk-3SLRZKLB.js → chunk-DRFGIOZ6.js} +4 -4
- package/dist/{chunk-EDPDAUBL.js → chunk-DUPZ2BBY.js} +17 -5
- package/dist/{chunk-HLE5QGZJ.js → chunk-EBIDNRSR.js} +2 -2
- package/dist/{chunk-N254IJM2.js → chunk-EBSFSOJC.js} +26 -10
- package/dist/{chunk-MKFQ5E7J.js → chunk-EBVVMUAA.js} +1 -1
- package/dist/{chunk-F2436VRR.js → chunk-FSJ3ZA6N.js} +5 -5
- package/dist/{chunk-Q3N7PI3B.js → chunk-FTUMRSGT.js} +115 -10
- package/dist/{chunk-57L2JPP2.js → chunk-GE7ICBX6.js} +6 -6
- package/dist/{chunk-ROCBGUJN.js → chunk-GI5R5B3S.js} +2 -2
- package/dist/{chunk-D7DXNQW5.js → chunk-H5UEVW6Q.js} +16 -10
- package/dist/{chunk-HFG7KQOY.js → chunk-H6BT45SN.js} +2 -2
- package/dist/{chunk-BDXC7MDK.js → chunk-H7AXCRO7.js} +1 -1
- package/dist/{chunk-GCDW3WAY.js → chunk-HIWHIYLD.js} +20 -11
- package/dist/{chunk-JJUDOR4I.js → chunk-HXULJZA2.js} +1 -1
- package/dist/{chunk-MJKQ5ZYY.js → chunk-IGKFOHBG.js} +5 -5
- package/dist/{chunk-WTE27AJT.js → chunk-J2E7EUER.js} +19 -10
- package/dist/{chunk-J2SQNZ6D.js → chunk-J7Q4AB23.js} +6 -3
- package/dist/{chunk-NS7L7YKH.js → chunk-JILEYZ2V.js} +2 -4
- package/dist/{chunk-5MDQMB6A.js → chunk-JKST4RTT.js} +3 -3
- package/dist/{chunk-RVTYIGWZ.js → chunk-JLU52ZDT.js} +9 -9
- package/dist/{chunk-KATED53P.js → chunk-JRWUHLRP.js} +1 -1
- package/dist/{chunk-IUBCDNT2.js → chunk-JXGSTBW6.js} +3 -3
- package/dist/{chunk-2ZVLI6GQ.js → chunk-KBDMEOLI.js} +2 -2
- package/dist/{chunk-TLPY4ZBI.js → chunk-KTGZDMDX.js} +38 -17
- package/dist/{chunk-II4XJETG.js → chunk-L5NW3PVL.js} +1 -1
- package/dist/{chunk-JJQWCI35.js → chunk-LKZCUFOW.js} +3 -3
- package/dist/{chunk-27KA4VV6.js → chunk-LRP5FXST.js} +7 -7
- package/dist/{chunk-JA2S7PHR.js → chunk-MDVJYRJT.js} +12 -16
- package/dist/{chunk-SWBHH2UW.js → chunk-MX4SZLSV.js} +4 -14
- package/dist/{chunk-5DIBB2QG.js → chunk-MXAP37W6.js} +2 -2
- package/dist/{chunk-273GB7WK.js → chunk-NBAAIRFP.js} +1 -3
- package/dist/{chunk-QVKTAU7P.js → chunk-NMS5XSLX.js} +4 -4
- package/dist/{chunk-BQVTV4LB.js → chunk-NO3UX6AP.js} +2 -2
- package/dist/{chunk-RHXIUUWB.js → chunk-NREU4JFE.js} +4 -4
- package/dist/{chunk-CXIPV2FY.js → chunk-NVZ7R4EK.js} +8 -8
- package/dist/{chunk-TCX5PMEY.js → chunk-NXU4N5WT.js} +1 -1
- package/dist/{chunk-FJCYK4K3.js → chunk-O5WUZGPV.js} +50 -17
- package/dist/{chunk-G22UV5AF.js → chunk-ONYO5WJW.js} +18 -15
- package/dist/{chunk-EWERNTOX.js → chunk-OQW4ETJX.js} +3 -6
- package/dist/{chunk-6QEXWMBP.js → chunk-PVWIBKV2.js} +4 -4
- package/dist/{chunk-YZG37S7L.js → chunk-Q2UFOKPB.js} +10 -10
- package/dist/{chunk-X6IZP2BD.js → chunk-Q6W2K33N.js} +4 -4
- package/dist/{chunk-WNTPJZU7.js → chunk-Q6ZQX2HX.js} +4 -4
- package/dist/{chunk-CPGKRI7H.js → chunk-QKY6W4NA.js} +17 -15
- package/dist/{chunk-IWTUXGHN.js → chunk-QQPNCXAO.js} +15 -13
- package/dist/{chunk-2AM6VA3A.js → chunk-QUGC7GWB.js} +10 -10
- package/dist/{chunk-IS6WFBX7.js → chunk-R6EGUTIV.js} +3 -3
- package/dist/{chunk-CDT33RHG.js → chunk-RBFJT23E.js} +3 -3
- package/dist/{chunk-G3EUQMV4.js → chunk-SOHZDW6N.js} +3 -3
- package/dist/{chunk-SPQVER4T.js → chunk-STFWGASB.js} +1 -1
- package/dist/{chunk-G2KHLANR.js → chunk-T7NWBVSC.js} +2 -2
- package/dist/{chunk-MPJQMMBZ.js → chunk-TIIZIAGS.js} +1 -1
- package/dist/{chunk-B6EUFLRP.js → chunk-TKAB3FTK.js} +11 -11
- package/dist/{chunk-SEKNYIMO.js → chunk-TOHTKLKE.js} +1 -1
- package/dist/{chunk-I6GGMCTV.js → chunk-UOCWYLYT.js} +1 -1
- package/dist/{chunk-6NO3MNBC.js → chunk-URQIWIKX.js} +3 -3
- package/dist/{chunk-I74AQRVD.js → chunk-V4D2ZQBE.js} +2 -2
- package/dist/{chunk-2UV627GG.js → chunk-VOR32OHN.js} +12 -12
- package/dist/{chunk-YRYKTYMQ.js → chunk-VSOZZYLK.js} +106 -12
- package/dist/{chunk-MNL547RV.js → chunk-WLLO3PZ3.js} +23 -9
- package/dist/{chunk-SKF7XLCM.js → chunk-WZBZXZ6T.js} +3 -6
- package/dist/{chunk-NWPMLX2V.js → chunk-X5BUX2GK.js} +79 -10
- package/dist/{chunk-XQTRGKQ3.js → chunk-XIUGSUE4.js} +2 -2
- package/dist/{chunk-KA5CSR44.js → chunk-Y2V5AEVG.js} +244 -181
- package/dist/{chunk-SMTWQ66K.js → chunk-Y3SIQN4J.js} +2 -2
- package/dist/{chunk-5VPWIC6T.js → chunk-YITHYQCL.js} +9 -9
- package/dist/{chunk-5WRI5ZAA.js → chunk-YLJ4XMA6.js} +5 -1
- package/dist/{chunk-PZVTFQI2.js → chunk-YO6AQU4A.js} +7 -7
- package/dist/{chunk-5NU7NII2.js → chunk-Z6QFHH4D.js} +3 -1
- package/dist/{chunk-F26ZPBSF.js → chunk-ZECJ7Q6C.js} +2 -2
- package/dist/{chunk-M6J25PAZ.js → chunk-ZJAK6C7Y.js} +1 -1
- package/dist/{chunk-DLX7MEN4.js → chunk-ZKP77MB3.js} +4 -4
- package/dist/cloud-reference.d.ts +5 -3
- package/dist/cloud-reference.js +2 -2
- package/dist/{collapse-SLINJQW6.js → collapse-BSPH3BFM.js} +1 -1
- package/dist/{collapse-ZWUFFCK2.js → collapse-TCVK3RPO.js} +1 -1
- package/dist/{collapse-JRGPUE67.js → collapse-VNYYXMUI.js} +1 -1
- package/dist/completion-registry.d.ts +2 -1
- package/dist/completion-registry.js +5 -5
- package/dist/{compute-2XWFVO7K.js → compute-II4G44IK.js} +1 -1
- package/dist/{d3-2S3PrXik.d.ts → d3-BThYBTQk.d.ts} +3 -2
- package/dist/dgmo-router-4UAPPIKN.js +94 -0
- package/dist/dimensions-SCNVYLRF.js +21 -0
- package/dist/{flowchart-parser-BLJ6RA53.js → flowchart-parser-NA75YQ77.js} +5 -5
- package/dist/{flowchart-renderer-FXRQKXAK.js → flowchart-renderer-6MGGX4RC.js} +14 -14
- package/dist/highlight.d.ts +2 -1
- package/dist/index.d.ts +9 -8
- package/dist/index.js +64 -64
- package/dist/{layout-ROAVGBUC.js → layout-2WESJYRE.js} +1 -1
- package/dist/{layout-RBLD5EGX.js → layout-5USEVQBY.js} +8 -5
- package/dist/{layout-YKGQRFDM.js → layout-BNLFQHSB.js} +5 -2
- package/dist/{layout-UPQGIT3N.js → layout-D4L44NRG.js} +1 -1
- package/dist/{layout-B7PQRAMB.js → layout-HF3PMI4H.js} +1 -1
- package/dist/{layout-VRJ5YFUE.js → layout-HFBK5UEG.js} +5 -5
- package/dist/{layout-RANVNAKI.js → layout-J3AGFZZ7.js} +1 -1
- package/dist/{layout-G42FDCF3.js → layout-JTIRCKAW.js} +7 -7
- package/dist/{layout-CCVCLZ6S.js → layout-KV27UW25.js} +2 -2
- package/dist/{layout-5HCEF7VO.js → layout-MBVBAMPA.js} +1 -1
- package/dist/layout-MXHR3P35.js +15 -0
- package/dist/layout-ND26WVX2.js +15 -0
- package/dist/{layout-CRUAP7JG.js → layout-RH3N46HP.js} +5 -5
- package/dist/{layout-JTNRSGOS.js → layout-S3RLVPH4.js} +8 -5
- package/dist/layout-WRG4APSJ.js +32 -0
- package/dist/{layout-search-L75YOBME.js → layout-search-PMYL3VWS.js} +8 -3
- package/dist/{legend-constants-HE7FVDJP.js → legend-constants-55MFBXYF.js} +4 -4
- package/dist/live-link-resolve.d.ts +2 -1
- package/dist/live-link-resolve.js +2 -2
- package/dist/{palettes-WQHELGVQ.js → palettes-IN7ZFRJM.js} +4 -4
- package/dist/{parser-YWZGIU3C.js → parser-2IKPQVKX.js} +6 -6
- package/dist/{parser-4QNRCGU5.js → parser-2NWH5JUS.js} +8 -8
- package/dist/parser-3LT3ZUUC.js +10 -0
- package/dist/{parser-6NSQLPTS.js → parser-3MK56JZC.js} +5 -5
- package/dist/parser-3QIFY5IN.js +10 -0
- package/dist/{parser-YVHO2NRM.js → parser-4TBSWULQ.js} +5 -5
- package/dist/parser-5LW5JDYG.js +12 -0
- package/dist/parser-5UZV32ZI.js +10 -0
- package/dist/{parser-XO5IAXMT.js → parser-6TDWUKM5.js} +5 -5
- package/dist/{parser-6LMB7BQQ.js → parser-BES6LV3G.js} +4 -4
- package/dist/{parser-H2DJEAPG.js → parser-BJ7RJNUM.js} +5 -5
- package/dist/parser-EAQPZX2B.js +13 -0
- package/dist/{parser-UEDPLM46.js → parser-EFF22GYO.js} +5 -5
- package/dist/{parser-QL4DEPVA.js → parser-FXDS4JDK.js} +5 -5
- package/dist/{parser-R6OETHWM.js → parser-GMQJISZ6.js} +5 -5
- package/dist/{parser-6X4GGH2R.js → parser-GX5YLRIP.js} +6 -6
- package/dist/parser-H5OODY5N.js +11 -0
- package/dist/parser-K2DI26SC.js +11 -0
- package/dist/parser-KKF6Y5MM.js +12 -0
- package/dist/parser-KLCSFQ3J.js +12 -0
- package/dist/{parser-MDSVVCJP.js → parser-L6RWDXQN.js} +6 -6
- package/dist/{parser-EYF4ZSZO.js → parser-LCJ76UXS.js} +5 -5
- package/dist/parser-LTRQASGB.js +11 -0
- package/dist/parser-PEZ7RN43.js +14 -0
- package/dist/{parser-ULSUK36C.js → parser-QYISOAGR.js} +6 -6
- package/dist/parser-RTWPFKXG.js +12 -0
- package/dist/{parser-Q3UAOLEZ.js → parser-SEUTXN6U.js} +5 -5
- package/dist/parser-SIKL4PLF.js +10 -0
- package/dist/parser-TUAEX6ML.js +12 -0
- package/dist/parser-VA7ZQQTA.js +10 -0
- package/dist/parser-X23GRTQJ.js +10 -0
- package/dist/{parser-AL6YL7KM.js → parser-XZUKNZPB.js} +4 -4
- package/dist/parser-YG625J5H.js +13 -0
- package/dist/{parser-UL6WN6W5.js → parser-YHDGKPZI.js} +5 -5
- package/dist/pert.d.ts +2 -1
- package/dist/renderer-2FVUPBGV.js +20 -0
- package/dist/{renderer-YDNWK6RI.js → renderer-36446HSH.js} +5 -5
- package/dist/{renderer-OPA4JJKX.js → renderer-3IHQI4A4.js} +12 -12
- package/dist/{renderer-43IVPARP.js → renderer-3JY6JAQJ.js} +9 -9
- package/dist/{renderer-SD4ZHHAR.js → renderer-3QAFDXEY.js} +11 -11
- package/dist/{renderer-7EAWN7MC.js → renderer-5TZVFQ7K.js} +11 -11
- package/dist/renderer-5VKPB4LL.js +28 -0
- package/dist/{renderer-B7B7BQM3.js → renderer-7ZZG5HR3.js} +12 -11
- package/dist/renderer-ALWVK3EJ.js +30 -0
- package/dist/{renderer-R7RK7FKI.js → renderer-DC7C5Q3G.js} +4 -4
- package/dist/renderer-DVNMCYHZ.js +40 -0
- package/dist/renderer-ISSDGK54.js +22 -0
- package/dist/{renderer-IPDCAACY.js → renderer-J5FKF423.js} +6 -6
- package/dist/{renderer-SE7Z5AOL.js → renderer-J666LZXJ.js} +11 -11
- package/dist/{renderer-I2LYSQBV.js → renderer-JEJT3YET.js} +7 -7
- package/dist/{renderer-TWKEZ3DD.js → renderer-LM4ICK6I.js} +11 -11
- package/dist/{renderer-3N64GVNM.js → renderer-LQP3AGEJ.js} +5 -5
- package/dist/{renderer-7SEXPBGM.js → renderer-MM27BSBO.js} +9 -9
- package/dist/{renderer-U5PD72G7.js → renderer-NDA2FFYB.js} +10 -10
- package/dist/{renderer-YQPZ7O2C.js → renderer-NHTR7IRR.js} +4 -4
- package/dist/{renderer-T2WUA7MC.js → renderer-O6DY46AV.js} +15 -15
- package/dist/{renderer-4MEZYGU6.js → renderer-OAR5VPH4.js} +6 -6
- package/dist/renderer-QGIHLZOJ.js +31 -0
- package/dist/{renderer-ZQ77CM6Y.js → renderer-RSK6QFWN.js} +12 -11
- package/dist/renderer-RUSFL7WU.js +27 -0
- package/dist/{renderer-S3NFBJCY.js → renderer-S3YCLJKL.js} +19 -19
- package/dist/renderer-TO2NVJP3.js +80 -0
- package/dist/{renderer-54GXA3UO.js → renderer-VPIELEE5.js} +12 -12
- package/dist/{renderer-R7OYCJEA.js → renderer-WIU5BJUK.js} +5 -5
- package/dist/{renderer-MRMFYYZT.js → renderer-XGG2UNXT.js} +5 -5
- package/dist/{renderer-QQNPJGAP.js → renderer-XO57LTU4.js} +10 -10
- package/dist/{renderer-RFP55AW7.js → renderer-ZGY7P4BM.js} +19 -19
- package/dist/{renderer-JUH6M3XF.js → renderer-ZHGHTSNG.js} +16 -16
- package/dist/{renderer-LWL3IJOF.js → renderer-ZZ6MWVB7.js} +10 -10
- package/dist/renderer-radial-WFUX3Z3C.js +20 -0
- package/dist/{resolver-6DJLZF6Y.js → resolver-33K6MBCT.js} +3 -3
- package/dist/{state-collapse-HCGD6IVJ.js → state-collapse-SE2G4K4I.js} +1 -1
- package/dist/{state-parser-NIIVOU2Y.js → state-parser-TIR2ORJY.js} +6 -6
- package/dist/{state-renderer-TVLEG32M.js → state-renderer-G6SUXU4J.js} +18 -18
- package/dist/{tag-groups-fgxWTyyB.d.ts → tag-groups-DsoVpAY-.d.ts} +2 -1
- package/dist/{themes-Cm2YBcT8.d.ts → themes-DRNjxX7Q.d.ts} +4 -3
- package/docs/language-reference.md +9 -3
- package/gallery/fixtures/map-undirected-edges.dgmo +5 -5
- package/package.json +5 -3
- package/dist/charts-d3-KSA5UKVJ.js +0 -31
- package/dist/dgmo-router-YHBMKTXY.js +0 -94
- package/dist/dimensions-QMGWJQTR.js +0 -21
- package/dist/layout-6PLSBB5X.js +0 -15
- package/dist/layout-IV4H2FLB.js +0 -15
- package/dist/layout-T2DQ4M77.js +0 -26
- package/dist/parser-2XCDVLSN.js +0 -11
- package/dist/parser-3MGA2MTM.js +0 -10
- package/dist/parser-4AR25MAS.js +0 -10
- package/dist/parser-D6YRVV75.js +0 -12
- package/dist/parser-EY3VJWBE.js +0 -12
- package/dist/parser-FDXUQ5TI.js +0 -11
- package/dist/parser-ILWAA3QJ.js +0 -14
- package/dist/parser-KMFMNZYI.js +0 -11
- package/dist/parser-OFTMA36M.js +0 -10
- package/dist/parser-UY3K4ROB.js +0 -10
- package/dist/parser-UYQNNQKT.js +0 -13
- package/dist/parser-VG747VR6.js +0 -12
- package/dist/parser-VK4PNDX4.js +0 -12
- package/dist/parser-WSONWDFN.js +0 -10
- package/dist/parser-X5FQ36KJ.js +0 -13
- package/dist/parser-ZFLSULFC.js +0 -12
- package/dist/parser-ZR7JAKSW.js +0 -10
- package/dist/renderer-J2LOMTBC.js +0 -20
- package/dist/renderer-KY6O5JTX.js +0 -80
- package/dist/renderer-LHTDI5RV.js +0 -28
- package/dist/renderer-NCIDGJ2R.js +0 -30
- package/dist/renderer-QMNC7TGN.js +0 -22
- package/dist/renderer-VCTKBUTR.js +0 -30
- package/dist/renderer-VNZTWATB.js +0 -27
- package/dist/renderer-YDOWBIUB.js +0 -40
- package/dist/renderer-radial-TNNEL3YN.js +0 -20
- /package/dist/{chunk-2M4IGSCY.js → chunk-3J7O3CU6.js} +0 -0
- /package/dist/{chunk-4QV26TEG.js → chunk-AXLF3KRE.js} +0 -0
- /package/dist/{chunk-EDXGEQW3.js → chunk-FOTH2WWP.js} +0 -0
- /package/dist/{chunk-DAOFNU6J.js → chunk-MKSTL6DR.js} +0 -0
- /package/dist/{chunk-ABP5BUD6.js → chunk-ZI6WC24V.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutBracket
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZI6WC24V.js";
|
|
4
4
|
import {
|
|
5
5
|
REGISTRY_BY_ID,
|
|
6
6
|
choosePalette,
|
|
@@ -14,25 +14,25 @@ import {
|
|
|
14
14
|
parseVenn,
|
|
15
15
|
parseVisualization,
|
|
16
16
|
parseWordcloud
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6WVX4KNP.js";
|
|
18
18
|
import {
|
|
19
19
|
MAP_DX
|
|
20
20
|
} from "./chunk-EOYPX6SF.js";
|
|
21
21
|
import {
|
|
22
22
|
parseCountdown
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2BJW7FSF.js";
|
|
24
24
|
import {
|
|
25
25
|
parseClock
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-NXU4N5WT.js";
|
|
27
27
|
import {
|
|
28
28
|
parseBracket
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2WQ3YZMN.js";
|
|
30
30
|
import {
|
|
31
31
|
parseBody
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-JXGSTBW6.js";
|
|
33
33
|
import {
|
|
34
34
|
renderDataChartD3
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-LRP5FXST.js";
|
|
36
36
|
import {
|
|
37
37
|
computeQuadrantPointLabels
|
|
38
38
|
} from "./chunk-KMU65FYM.js";
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
parseHeatmap,
|
|
44
44
|
parseSankey,
|
|
45
45
|
parseScatter
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-H6BT45SN.js";
|
|
47
47
|
import {
|
|
48
48
|
renderTimeline
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-O5WUZGPV.js";
|
|
50
50
|
import {
|
|
51
51
|
ScaleContext
|
|
52
52
|
} from "./chunk-24YPR5EH.js";
|
|
@@ -65,125 +65,125 @@ import {
|
|
|
65
65
|
renderChartTitle,
|
|
66
66
|
resolveExportPalette,
|
|
67
67
|
showTooltip
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-Q6W2K33N.js";
|
|
69
69
|
import {
|
|
70
70
|
legendInlineSupported
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-42UJ23H3.js";
|
|
72
72
|
import {
|
|
73
73
|
compactNumber
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-JILEYZ2V.js";
|
|
75
75
|
import {
|
|
76
76
|
FONT_FAMILY
|
|
77
77
|
} from "./chunk-ICLB27PZ.js";
|
|
78
78
|
import {
|
|
79
79
|
parseTechRadar
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-EBVVMUAA.js";
|
|
81
81
|
import {
|
|
82
82
|
parseCycle
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-6BNNLVAR.js";
|
|
84
84
|
import {
|
|
85
85
|
parseJourneyMap
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-A4PNWAUW.js";
|
|
87
87
|
import {
|
|
88
88
|
parsePyramid
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-ZJAK6C7Y.js";
|
|
90
90
|
import {
|
|
91
91
|
parseRing
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-OQW4ETJX.js";
|
|
93
93
|
import {
|
|
94
94
|
parseTreemap
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-3KVUFHUJ.js";
|
|
96
96
|
import {
|
|
97
97
|
parseBlock
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-BRGRIZQB.js";
|
|
99
99
|
import {
|
|
100
100
|
isBlockNode
|
|
101
101
|
} from "./chunk-XSVWUOUZ.js";
|
|
102
102
|
import {
|
|
103
103
|
parseGoal
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-7PJBJ2DU.js";
|
|
105
105
|
import {
|
|
106
106
|
parseMap
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-AULZD45V.js";
|
|
108
108
|
import {
|
|
109
109
|
parseBoxesAndLines
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-73EYNV4O.js";
|
|
111
111
|
import {
|
|
112
112
|
parseSketch
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-WZBZXZ6T.js";
|
|
114
114
|
import {
|
|
115
115
|
parseWhiteboard
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-DEFBUZWV.js";
|
|
117
117
|
import {
|
|
118
118
|
parseSwimlane
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-J7Q4AB23.js";
|
|
120
120
|
import {
|
|
121
121
|
parseFamily
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-R6EGUTIV.js";
|
|
123
123
|
import {
|
|
124
124
|
parseMindmap
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-XIUGSUE4.js";
|
|
126
126
|
import {
|
|
127
127
|
parseEventLine
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-3GUEYQGL.js";
|
|
129
129
|
import {
|
|
130
130
|
parseTimelineDate
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-BQO24BDM.js";
|
|
132
132
|
import {
|
|
133
133
|
parseVersionControl
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-2ZW4NBYX.js";
|
|
135
135
|
import {
|
|
136
136
|
parseKanban
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-LKZCUFOW.js";
|
|
138
138
|
import {
|
|
139
139
|
parseC4
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-BEA4D7OS.js";
|
|
141
141
|
import {
|
|
142
142
|
parseInfra
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-SOHZDW6N.js";
|
|
144
144
|
import {
|
|
145
145
|
parseGantt
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-PVWIBKV2.js";
|
|
147
147
|
import {
|
|
148
148
|
parseRaci
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-V4D2ZQBE.js";
|
|
150
150
|
import {
|
|
151
151
|
parsePert
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-CDM6XMOT.js";
|
|
153
153
|
import {
|
|
154
154
|
parseLiveLink
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-KBDMEOLI.js";
|
|
156
156
|
import {
|
|
157
157
|
getPalette
|
|
158
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-7ENDOHAA.js";
|
|
159
159
|
import {
|
|
160
160
|
parseSequenceDgmo
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-B5PEKSRH.js";
|
|
162
162
|
import {
|
|
163
163
|
parseFlowchart
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-26BBJUBW.js";
|
|
165
165
|
import {
|
|
166
166
|
parseState
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-2YAFDND3.js";
|
|
168
168
|
import {
|
|
169
169
|
parseClassDiagram
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-Q6ZQX2HX.js";
|
|
171
171
|
import {
|
|
172
172
|
parseERDiagram
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-DRFGIOZ6.js";
|
|
174
174
|
import {
|
|
175
175
|
parseOrg
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-5OTA2PUH.js";
|
|
177
177
|
import {
|
|
178
178
|
parseSitemap
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-ZECJ7Q6C.js";
|
|
180
180
|
import {
|
|
181
181
|
parseWireframe
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-GI5R5B3S.js";
|
|
183
183
|
import {
|
|
184
184
|
resolveActiveTagGroup,
|
|
185
185
|
tagAttrKey
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-4SACN2C5.js";
|
|
187
187
|
import {
|
|
188
188
|
measureText,
|
|
189
189
|
wrapTextToWidth
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
getSeriesColors,
|
|
193
193
|
mix,
|
|
194
194
|
themeBaseBg
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-6GXLAKUH.js";
|
|
196
196
|
import {
|
|
197
197
|
emit,
|
|
198
198
|
makeDgmoError
|
|
@@ -2083,13 +2083,13 @@ function resolveArcChordOverride(content, detectedType, palette) {
|
|
|
2083
2083
|
}
|
|
2084
2084
|
async function renderForExport(content, theme, palette, viewState, options) {
|
|
2085
2085
|
const exportMode = options?.exportMode ?? false;
|
|
2086
|
-
const { parseDgmoChartType } = await import("./dgmo-router-
|
|
2086
|
+
const { parseDgmoChartType } = await import("./dgmo-router-4UAPPIKN.js");
|
|
2087
2087
|
const detectedTypeRaw = parseDgmoChartType(content);
|
|
2088
2088
|
const override = resolveArcChordOverride(content, detectedTypeRaw, palette);
|
|
2089
2089
|
const renderContent = override?.content ?? content;
|
|
2090
2090
|
const detectedType = override?.type ?? detectedTypeRaw;
|
|
2091
2091
|
if (detectedType !== null) {
|
|
2092
|
-
const { supportsD3DataChart, renderDataChartD3: renderDataChartD32 } = await import("./charts-d3-
|
|
2092
|
+
const { supportsD3DataChart, renderDataChartD3: renderDataChartD32 } = await import("./charts-d3-QUUDVETP.js");
|
|
2093
2093
|
if (supportsD3DataChart(detectedType)) {
|
|
2094
2094
|
return renderDataChartD32(renderContent, theme, palette, {
|
|
2095
2095
|
...options?.width !== void 0 && { width: options.width },
|
|
@@ -2122,8 +2122,8 @@ function ctxTagOverride(ctx) {
|
|
|
2122
2122
|
}
|
|
2123
2123
|
async function exportEventLine(ctx) {
|
|
2124
2124
|
const { content, theme, palette } = ctx;
|
|
2125
|
-
const { parseEventLine: parseEventLine2 } = await import("./parser-
|
|
2126
|
-
const { renderEventLineForExport } = await import("./renderer-
|
|
2125
|
+
const { parseEventLine: parseEventLine2 } = await import("./parser-YG625J5H.js");
|
|
2126
|
+
const { renderEventLineForExport } = await import("./renderer-DVNMCYHZ.js");
|
|
2127
2127
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2128
2128
|
const parsed = parseEventLine2(content, effectivePalette);
|
|
2129
2129
|
if (parsed.error || parsed.events.length === 0) return "";
|
|
@@ -2141,8 +2141,8 @@ async function exportEventLine(ctx) {
|
|
|
2141
2141
|
}
|
|
2142
2142
|
async function exportBody(ctx) {
|
|
2143
2143
|
const { content, theme, palette } = ctx;
|
|
2144
|
-
const { parseBody: parseBody2 } = await import("./parser-
|
|
2145
|
-
const { renderBodyForExport } = await import("./renderer-
|
|
2144
|
+
const { parseBody: parseBody2 } = await import("./parser-PEZ7RN43.js");
|
|
2145
|
+
const { renderBodyForExport } = await import("./renderer-2FVUPBGV.js");
|
|
2146
2146
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2147
2147
|
const parsed = parseBody2(content, effectivePalette);
|
|
2148
2148
|
if (parsed.error) return "";
|
|
@@ -2159,8 +2159,8 @@ async function exportBody(ctx) {
|
|
|
2159
2159
|
}
|
|
2160
2160
|
async function exportVersionControl(ctx) {
|
|
2161
2161
|
const { content, theme, palette } = ctx;
|
|
2162
|
-
const { parseVersionControl: parseVersionControl2 } = await import("./parser-
|
|
2163
|
-
const { renderVersionControlForExport } = await import("./renderer-
|
|
2162
|
+
const { parseVersionControl: parseVersionControl2 } = await import("./parser-5UZV32ZI.js");
|
|
2163
|
+
const { renderVersionControlForExport } = await import("./renderer-DC7C5Q3G.js");
|
|
2164
2164
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2165
2165
|
const parsed = parseVersionControl2(content, effectivePalette);
|
|
2166
2166
|
if (parsed.error || parsed.nodes.length === 0) return "";
|
|
@@ -2184,10 +2184,10 @@ function unionHiddenAttributes(hideOption, ha) {
|
|
|
2184
2184
|
}
|
|
2185
2185
|
async function exportOrg(ctx) {
|
|
2186
2186
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2187
|
-
const { parseOrg: parseOrg2, findOrgNodeIdByName } = await import("./parser-
|
|
2188
|
-
const { layoutOrg } = await import("./layout-
|
|
2189
|
-
const { collapseOrgTree, focusOrgTree, unionCollapsedOrgNodes } = await import("./collapse-
|
|
2190
|
-
const { renderOrg, ancestorTrailReserve } = await import("./renderer-
|
|
2187
|
+
const { parseOrg: parseOrg2, findOrgNodeIdByName } = await import("./parser-BJ7RJNUM.js");
|
|
2188
|
+
const { layoutOrg } = await import("./layout-MXHR3P35.js");
|
|
2189
|
+
const { collapseOrgTree, focusOrgTree, unionCollapsedOrgNodes } = await import("./collapse-VNYYXMUI.js");
|
|
2190
|
+
const { renderOrg, ancestorTrailReserve } = await import("./renderer-ALWVK3EJ.js");
|
|
2191
2191
|
const isDark = ctx.isDark;
|
|
2192
2192
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2193
2193
|
const orgParsed = parseOrg2(content, effectivePalette);
|
|
@@ -2248,10 +2248,10 @@ async function exportOrg(ctx) {
|
|
|
2248
2248
|
}
|
|
2249
2249
|
async function exportSitemap(ctx) {
|
|
2250
2250
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2251
|
-
const { parseSitemap: parseSitemap2 } = await import("./parser-
|
|
2252
|
-
const { layoutSitemap } = await import("./layout-
|
|
2253
|
-
const { collapseSitemapTree } = await import("./collapse-
|
|
2254
|
-
const { renderSitemap } = await import("./renderer-
|
|
2251
|
+
const { parseSitemap: parseSitemap2 } = await import("./parser-6TDWUKM5.js");
|
|
2252
|
+
const { layoutSitemap } = await import("./layout-ND26WVX2.js");
|
|
2253
|
+
const { collapseSitemapTree } = await import("./collapse-TCVK3RPO.js");
|
|
2254
|
+
const { renderSitemap } = await import("./renderer-J666LZXJ.js");
|
|
2255
2255
|
const isDark = ctx.isDark;
|
|
2256
2256
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2257
2257
|
const sitemapParsed = parseSitemap2(content, effectivePalette);
|
|
@@ -2279,7 +2279,7 @@ async function exportSitemap(ctx) {
|
|
|
2279
2279
|
const {
|
|
2280
2280
|
LEGEND_HEIGHT: SITEMAP_LEGEND_HEIGHT,
|
|
2281
2281
|
LEGEND_GROUP_GAP: SITEMAP_LEGEND_GROUP_GAP
|
|
2282
|
-
} = await import("./legend-constants-
|
|
2282
|
+
} = await import("./legend-constants-55MFBXYF.js");
|
|
2283
2283
|
const suppressedLegendBand = sitemapLayout.legend.length > 0 && effectiveParsed.options["no-legend"] === "on" ? SITEMAP_LEGEND_HEIGHT + SITEMAP_LEGEND_GROUP_GAP : 0;
|
|
2284
2284
|
const exportWidth = sitemapLayout.width + PADDING * 2;
|
|
2285
2285
|
const exportHeight = sitemapLayout.height + PADDING * 2 + titleOffset - suppressedLegendBand;
|
|
@@ -2300,8 +2300,8 @@ async function exportSitemap(ctx) {
|
|
|
2300
2300
|
}
|
|
2301
2301
|
async function exportKanban(ctx) {
|
|
2302
2302
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2303
|
-
const { parseKanban: parseKanban2 } = await import("./parser-
|
|
2304
|
-
const { renderKanban } = await import("./renderer-
|
|
2303
|
+
const { parseKanban: parseKanban2 } = await import("./parser-KLCSFQ3J.js");
|
|
2304
|
+
const { renderKanban } = await import("./renderer-5TZVFQ7K.js");
|
|
2305
2305
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2306
2306
|
const kanbanParsed = parseKanban2(content, effectivePalette);
|
|
2307
2307
|
if (kanbanParsed.error || kanbanParsed.columns.length === 0) return "";
|
|
@@ -2332,9 +2332,9 @@ async function exportKanban(ctx) {
|
|
|
2332
2332
|
}
|
|
2333
2333
|
async function exportClass(ctx) {
|
|
2334
2334
|
const { content, theme, palette, exportMode } = ctx;
|
|
2335
|
-
const { parseClassDiagram: parseClassDiagram2 } = await import("./parser-
|
|
2336
|
-
const { layoutClassDiagram } = await import("./layout-
|
|
2337
|
-
const { renderClassDiagram } = await import("./renderer-
|
|
2335
|
+
const { parseClassDiagram: parseClassDiagram2 } = await import("./parser-L6RWDXQN.js");
|
|
2336
|
+
const { layoutClassDiagram } = await import("./layout-S3RLVPH4.js");
|
|
2337
|
+
const { renderClassDiagram } = await import("./renderer-ZGY7P4BM.js");
|
|
2338
2338
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2339
2339
|
const classParsed = parseClassDiagram2(content, effectivePalette);
|
|
2340
2340
|
if (classParsed.error || classParsed.classes.length === 0) return "";
|
|
@@ -2359,9 +2359,9 @@ async function exportClass(ctx) {
|
|
|
2359
2359
|
}
|
|
2360
2360
|
async function exportEr(ctx) {
|
|
2361
2361
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2362
|
-
const { parseERDiagram: parseERDiagram2 } = await import("./parser-
|
|
2363
|
-
const { layoutERDiagram } = await import("./layout-
|
|
2364
|
-
const { renderERDiagram } = await import("./renderer-
|
|
2362
|
+
const { parseERDiagram: parseERDiagram2 } = await import("./parser-QYISOAGR.js");
|
|
2363
|
+
const { layoutERDiagram } = await import("./layout-5USEVQBY.js");
|
|
2364
|
+
const { renderERDiagram } = await import("./renderer-S3YCLJKL.js");
|
|
2365
2365
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2366
2366
|
const erParsed = parseERDiagram2(content, effectivePalette);
|
|
2367
2367
|
if (erParsed.error || erParsed.tables.length === 0) return "";
|
|
@@ -2393,14 +2393,14 @@ async function exportEr(ctx) {
|
|
|
2393
2393
|
}
|
|
2394
2394
|
async function exportSketch(ctx) {
|
|
2395
2395
|
const { content, theme, viewState, exportMode } = ctx;
|
|
2396
|
-
const { parseSketch: parseSketch2 } = await import("./parser-
|
|
2396
|
+
const { parseSketch: parseSketch2 } = await import("./parser-YHDGKPZI.js");
|
|
2397
2397
|
const effectivePalette = await resolveExportPalette(theme, ctx.palette);
|
|
2398
2398
|
const parsed = parseSketch2(content, effectivePalette);
|
|
2399
2399
|
if (parsed.error || parsed.nodes.length === 0 && parsed.boxes.length === 0) {
|
|
2400
2400
|
return "";
|
|
2401
2401
|
}
|
|
2402
|
-
const { layoutSketch } = await import("./layout-
|
|
2403
|
-
const { renderSketchForExport } = await import("./renderer-
|
|
2402
|
+
const { layoutSketch } = await import("./layout-D4L44NRG.js");
|
|
2403
|
+
const { renderSketchForExport } = await import("./renderer-XO57LTU4.js");
|
|
2404
2404
|
const collapsedBoxes = viewState?.cg ? new Set(viewState.cg) : void 0;
|
|
2405
2405
|
const skLayout = layoutSketch(parsed, {
|
|
2406
2406
|
...collapsedBoxes !== void 0 && { collapsedBoxes }
|
|
@@ -2427,11 +2427,11 @@ async function exportSketch(ctx) {
|
|
|
2427
2427
|
}
|
|
2428
2428
|
async function exportWhiteboard(ctx) {
|
|
2429
2429
|
const { content, theme } = ctx;
|
|
2430
|
-
const { parseWhiteboard: parseWhiteboard2 } = await import("./parser-
|
|
2430
|
+
const { parseWhiteboard: parseWhiteboard2 } = await import("./parser-XZUKNZPB.js");
|
|
2431
2431
|
const effectivePalette = await resolveExportPalette(theme, ctx.palette);
|
|
2432
2432
|
const parsed = parseWhiteboard2(content, effectivePalette);
|
|
2433
2433
|
if (parsed.error || parsed.elements.length === 0) return "";
|
|
2434
|
-
const { renderWhiteboard } = await import("./renderer-
|
|
2434
|
+
const { renderWhiteboard } = await import("./renderer-ZHGHTSNG.js");
|
|
2435
2435
|
const container = createExportContainer(1, 1);
|
|
2436
2436
|
const resolveImage = ctx.options?.resolveImage;
|
|
2437
2437
|
const showNotes = ctx.options?.showNotes;
|
|
@@ -2443,7 +2443,7 @@ async function exportWhiteboard(ctx) {
|
|
|
2443
2443
|
}
|
|
2444
2444
|
async function exportBoxesAndLines(ctx) {
|
|
2445
2445
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2446
|
-
const { parseBoxesAndLines: parseBoxesAndLines2 } = await import("./parser-
|
|
2446
|
+
const { parseBoxesAndLines: parseBoxesAndLines2 } = await import("./parser-GX5YLRIP.js");
|
|
2447
2447
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2448
2448
|
const blParsed = parseBoxesAndLines2(content, effectivePalette);
|
|
2449
2449
|
if (blParsed.error || blParsed.nodes.length === 0) return "";
|
|
@@ -2454,8 +2454,8 @@ async function exportBoxesAndLines(ctx) {
|
|
|
2454
2454
|
blHiddenTagValues.set(k, new Set(v));
|
|
2455
2455
|
}
|
|
2456
2456
|
}
|
|
2457
|
-
const { renderBoxesAndLinesForExport } = await import("./renderer-
|
|
2458
|
-
const { layoutBoxesAndLines } = await import("./layout-
|
|
2457
|
+
const { renderBoxesAndLinesForExport } = await import("./renderer-RSK6QFWN.js");
|
|
2458
|
+
const { layoutBoxesAndLines } = await import("./layout-BNLFQHSB.js");
|
|
2459
2459
|
const blLayout = await layoutBoxesAndLines(blParsed);
|
|
2460
2460
|
const PADDING = 20;
|
|
2461
2461
|
const titleOffset = blParsed.title ? 40 : 0;
|
|
@@ -2484,9 +2484,9 @@ async function exportBoxesAndLines(ctx) {
|
|
|
2484
2484
|
}
|
|
2485
2485
|
async function exportSwimlane(ctx) {
|
|
2486
2486
|
const { content, theme, palette } = ctx;
|
|
2487
|
-
const { parseSwimlane: parseSwimlane2 } = await import("./parser-
|
|
2488
|
-
const { layoutSwimlane } = await import("./layout-
|
|
2489
|
-
const { renderSwimlaneForExport } = await import("./renderer-
|
|
2487
|
+
const { parseSwimlane: parseSwimlane2 } = await import("./parser-H5OODY5N.js");
|
|
2488
|
+
const { layoutSwimlane } = await import("./layout-J3AGFZZ7.js");
|
|
2489
|
+
const { renderSwimlaneForExport } = await import("./renderer-OAR5VPH4.js");
|
|
2490
2490
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2491
2491
|
const swimParsed = parseSwimlane2(content, effectivePalette);
|
|
2492
2492
|
if (swimParsed.error || swimParsed.nodes.length === 0) return "";
|
|
@@ -2516,9 +2516,9 @@ async function exportSwimlane(ctx) {
|
|
|
2516
2516
|
}
|
|
2517
2517
|
async function exportFamily(ctx) {
|
|
2518
2518
|
const { content, theme, palette } = ctx;
|
|
2519
|
-
const { parseFamily: parseFamily2 } = await import("./parser-
|
|
2520
|
-
const { layoutFamily } = await import("./layout-
|
|
2521
|
-
const { renderFamilyForExport } = await import("./renderer-
|
|
2519
|
+
const { parseFamily: parseFamily2 } = await import("./parser-EAQPZX2B.js");
|
|
2520
|
+
const { layoutFamily } = await import("./layout-MBVBAMPA.js");
|
|
2521
|
+
const { renderFamilyForExport } = await import("./renderer-ZZ6MWVB7.js");
|
|
2522
2522
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2523
2523
|
const parsed = parseFamily2(content, effectivePalette);
|
|
2524
2524
|
if (parsed.error || parsed.persons.size === 0) return "";
|
|
@@ -2548,10 +2548,10 @@ async function exportFamily(ctx) {
|
|
|
2548
2548
|
}
|
|
2549
2549
|
async function exportMindmap(ctx) {
|
|
2550
2550
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2551
|
-
const { parseMindmap: parseMindmap2 } = await import("./parser-
|
|
2552
|
-
const { layoutMindmap } = await import("./layout-
|
|
2553
|
-
const { collapseMindmapTree } = await import("./collapse-
|
|
2554
|
-
const { renderMindmap } = await import("./renderer-
|
|
2551
|
+
const { parseMindmap: parseMindmap2 } = await import("./parser-KKF6Y5MM.js");
|
|
2552
|
+
const { layoutMindmap } = await import("./layout-RH3N46HP.js");
|
|
2553
|
+
const { collapseMindmapTree } = await import("./collapse-BSPH3BFM.js");
|
|
2554
|
+
const { renderMindmap } = await import("./renderer-QGIHLZOJ.js");
|
|
2555
2555
|
const isDark = ctx.isDark;
|
|
2556
2556
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2557
2557
|
const mmParsed = parseMindmap2(content, effectivePalette);
|
|
@@ -2601,9 +2601,9 @@ async function exportMindmap(ctx) {
|
|
|
2601
2601
|
}
|
|
2602
2602
|
async function exportWireframe(ctx) {
|
|
2603
2603
|
const { content, theme, palette } = ctx;
|
|
2604
|
-
const { parseWireframe: parseWireframe2 } = await import("./parser-
|
|
2605
|
-
const { layoutWireframe } = await import("./layout-
|
|
2606
|
-
const { renderWireframe } = await import("./renderer-
|
|
2604
|
+
const { parseWireframe: parseWireframe2 } = await import("./parser-4TBSWULQ.js");
|
|
2605
|
+
const { layoutWireframe } = await import("./layout-HF3PMI4H.js");
|
|
2606
|
+
const { renderWireframe } = await import("./renderer-36446HSH.js");
|
|
2607
2607
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2608
2608
|
const wireframeParsed = parseWireframe2(content);
|
|
2609
2609
|
if (wireframeParsed.error || wireframeParsed.roots.length === 0 && wireframeParsed.modals.length === 0)
|
|
@@ -2626,14 +2626,14 @@ async function exportWireframe(ctx) {
|
|
|
2626
2626
|
}
|
|
2627
2627
|
async function exportC4(ctx) {
|
|
2628
2628
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2629
|
-
const { parseC4: parseC42 } = await import("./parser-
|
|
2629
|
+
const { parseC4: parseC42 } = await import("./parser-3MK56JZC.js");
|
|
2630
2630
|
const {
|
|
2631
2631
|
layoutC4Context,
|
|
2632
2632
|
layoutC4Containers,
|
|
2633
2633
|
layoutC4Components,
|
|
2634
2634
|
layoutC4Deployment
|
|
2635
|
-
} = await import("./layout-
|
|
2636
|
-
const { renderC4Context, renderC4Containers } = await import("./renderer-
|
|
2635
|
+
} = await import("./layout-JTIRCKAW.js");
|
|
2636
|
+
const { renderC4Context, renderC4Containers } = await import("./renderer-VPIELEE5.js");
|
|
2637
2637
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2638
2638
|
const c4Parsed = parseC42(content, effectivePalette);
|
|
2639
2639
|
if (c4Parsed.error || c4Parsed.elements.length === 0) return "";
|
|
@@ -2667,9 +2667,9 @@ async function exportC4(ctx) {
|
|
|
2667
2667
|
}
|
|
2668
2668
|
async function exportFlowchart(ctx) {
|
|
2669
2669
|
const { content, theme, palette } = ctx;
|
|
2670
|
-
const { parseFlowchart: parseFlowchart2 } = await import("./flowchart-parser-
|
|
2671
|
-
const { layoutGraph } = await import("./layout-
|
|
2672
|
-
const { renderFlowchart } = await import("./flowchart-renderer-
|
|
2670
|
+
const { parseFlowchart: parseFlowchart2 } = await import("./flowchart-parser-NA75YQ77.js");
|
|
2671
|
+
const { layoutGraph } = await import("./layout-WRG4APSJ.js");
|
|
2672
|
+
const { renderFlowchart } = await import("./flowchart-renderer-6MGGX4RC.js");
|
|
2673
2673
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2674
2674
|
const fcParsed = parseFlowchart2(content, effectivePalette);
|
|
2675
2675
|
if (fcParsed.error || fcParsed.nodes.length === 0) return "";
|
|
@@ -2688,10 +2688,10 @@ async function exportFlowchart(ctx) {
|
|
|
2688
2688
|
}
|
|
2689
2689
|
async function exportInfra(ctx) {
|
|
2690
2690
|
const { content, theme, palette, viewState } = ctx;
|
|
2691
|
-
const { parseInfra: parseInfra2 } = await import("./parser-
|
|
2692
|
-
const { computeInfra } = await import("./compute-
|
|
2693
|
-
const { layoutInfra } = await import("./layout-
|
|
2694
|
-
const { renderInfra, computeInfraLegendGroups } = await import("./renderer-
|
|
2691
|
+
const { parseInfra: parseInfra2 } = await import("./parser-FXDS4JDK.js");
|
|
2692
|
+
const { computeInfra } = await import("./compute-II4G44IK.js");
|
|
2693
|
+
const { layoutInfra } = await import("./layout-2WESJYRE.js");
|
|
2694
|
+
const { renderInfra, computeInfraLegendGroups } = await import("./renderer-7ZZG5HR3.js");
|
|
2695
2695
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2696
2696
|
const infraParsed = parseInfra2(content);
|
|
2697
2697
|
if (infraParsed.error || infraParsed.nodes.length === 0) return "";
|
|
@@ -2738,10 +2738,10 @@ async function exportInfra(ctx) {
|
|
|
2738
2738
|
}
|
|
2739
2739
|
async function exportPert(ctx) {
|
|
2740
2740
|
const { content, theme, palette, viewState } = ctx;
|
|
2741
|
-
const { parsePert: parsePert2 } = await import("./parser-
|
|
2742
|
-
const { analyzePert } = await import("./analyzer-
|
|
2743
|
-
const { layoutPert } = await import("./layout-
|
|
2744
|
-
const { renderPert, measurePertAnalysisBlock } = await import("./renderer-
|
|
2741
|
+
const { parsePert: parsePert2 } = await import("./parser-2IKPQVKX.js");
|
|
2742
|
+
const { analyzePert } = await import("./analyzer-G7PGOT3V.js");
|
|
2743
|
+
const { layoutPert } = await import("./layout-KV27UW25.js");
|
|
2744
|
+
const { renderPert, measurePertAnalysisBlock } = await import("./renderer-O6DY46AV.js");
|
|
2745
2745
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2746
2746
|
const pertParsed = parsePert2(content, { palette: effectivePalette });
|
|
2747
2747
|
if (pertParsed.error || pertParsed.activities.length === 0) return "";
|
|
@@ -2784,9 +2784,9 @@ async function exportPert(ctx) {
|
|
|
2784
2784
|
}
|
|
2785
2785
|
async function exportGantt(ctx) {
|
|
2786
2786
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2787
|
-
const { parseGantt: parseGantt2 } = await import("./parser-
|
|
2788
|
-
const { calculateSchedule } = await import("./calculator-
|
|
2789
|
-
const { renderGantt } = await import("./renderer-
|
|
2787
|
+
const { parseGantt: parseGantt2 } = await import("./parser-2NWH5JUS.js");
|
|
2788
|
+
const { calculateSchedule } = await import("./calculator-BNH3GSJE.js");
|
|
2789
|
+
const { renderGantt } = await import("./renderer-RUSFL7WU.js");
|
|
2790
2790
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2791
2791
|
const ganttParsed = parseGantt2(content, effectivePalette);
|
|
2792
2792
|
const resolved = calculateSchedule(ganttParsed);
|
|
@@ -2827,10 +2827,10 @@ async function exportGantt(ctx) {
|
|
|
2827
2827
|
}
|
|
2828
2828
|
async function exportState(ctx) {
|
|
2829
2829
|
const { content, theme, palette, viewState } = ctx;
|
|
2830
|
-
const { parseState: parseState2 } = await import("./state-parser-
|
|
2831
|
-
const { layoutGraph } = await import("./layout-
|
|
2832
|
-
const { renderState } = await import("./state-renderer-
|
|
2833
|
-
const { collapseStateGroups } = await import("./state-collapse-
|
|
2830
|
+
const { parseState: parseState2 } = await import("./state-parser-TIR2ORJY.js");
|
|
2831
|
+
const { layoutGraph } = await import("./layout-WRG4APSJ.js");
|
|
2832
|
+
const { renderState } = await import("./state-renderer-G6SUXU4J.js");
|
|
2833
|
+
const { collapseStateGroups } = await import("./state-collapse-SE2G4K4I.js");
|
|
2834
2834
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2835
2835
|
const stateParsed = parseState2(content, effectivePalette);
|
|
2836
2836
|
if (stateParsed.error || stateParsed.nodes.length === 0) return "";
|
|
@@ -2866,8 +2866,8 @@ async function exportState(ctx) {
|
|
|
2866
2866
|
}
|
|
2867
2867
|
async function exportTechRadar(ctx) {
|
|
2868
2868
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2869
|
-
const { parseTechRadar: parseTechRadar2 } = await import("./parser-
|
|
2870
|
-
const { renderTechRadarForExport } = await import("./renderer-
|
|
2869
|
+
const { parseTechRadar: parseTechRadar2 } = await import("./parser-3LT3ZUUC.js");
|
|
2870
|
+
const { renderTechRadarForExport } = await import("./renderer-MM27BSBO.js");
|
|
2871
2871
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2872
2872
|
const radarParsed = parseTechRadar2(content);
|
|
2873
2873
|
if (radarParsed.error || radarParsed.quadrants.length === 0) return "";
|
|
@@ -2887,9 +2887,9 @@ async function exportTechRadar(ctx) {
|
|
|
2887
2887
|
}
|
|
2888
2888
|
async function exportJourneyMap(ctx) {
|
|
2889
2889
|
const { content, theme, palette, exportMode } = ctx;
|
|
2890
|
-
const { parseJourneyMap: parseJourneyMap2 } = await import("./parser-
|
|
2891
|
-
const { renderJourneyMap } = await import("./renderer-
|
|
2892
|
-
const { layoutJourneyMap } = await import("./layout-
|
|
2890
|
+
const { parseJourneyMap: parseJourneyMap2 } = await import("./parser-5LW5JDYG.js");
|
|
2891
|
+
const { renderJourneyMap } = await import("./renderer-3IHQI4A4.js");
|
|
2892
|
+
const { layoutJourneyMap } = await import("./layout-HFBK5UEG.js");
|
|
2893
2893
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2894
2894
|
const jmParsed = parseJourneyMap2(content, effectivePalette);
|
|
2895
2895
|
if (jmParsed.error || jmParsed.phases.length === 0 && jmParsed.steps.length === 0)
|
|
@@ -2909,8 +2909,8 @@ async function exportJourneyMap(ctx) {
|
|
|
2909
2909
|
}
|
|
2910
2910
|
async function exportCycle(ctx) {
|
|
2911
2911
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2912
|
-
const { parseCycle: parseCycle2 } = await import("./parser-
|
|
2913
|
-
const { renderCycleForExport } = await import("./renderer-
|
|
2912
|
+
const { parseCycle: parseCycle2 } = await import("./parser-X23GRTQJ.js");
|
|
2913
|
+
const { renderCycleForExport } = await import("./renderer-3JY6JAQJ.js");
|
|
2914
2914
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2915
2915
|
const cycleParsed = parseCycle2(content);
|
|
2916
2916
|
if (cycleParsed.error || cycleParsed.nodes.length === 0) return "";
|
|
@@ -2928,10 +2928,10 @@ async function exportCycle(ctx) {
|
|
|
2928
2928
|
}
|
|
2929
2929
|
async function exportMap(ctx) {
|
|
2930
2930
|
const { content, theme, palette, options } = ctx;
|
|
2931
|
-
const { parseMap: parseMap2 } = await import("./parser-
|
|
2932
|
-
const { resolveMap } = await import("./resolver-
|
|
2933
|
-
const { renderMapForExport } = await import("./renderer-
|
|
2934
|
-
const { mapExportDimensions } = await import("./dimensions-
|
|
2931
|
+
const { parseMap: parseMap2 } = await import("./parser-EFF22GYO.js");
|
|
2932
|
+
const { resolveMap } = await import("./resolver-33K6MBCT.js");
|
|
2933
|
+
const { renderMapForExport } = await import("./renderer-5VKPB4LL.js");
|
|
2934
|
+
const { mapExportDimensions } = await import("./dimensions-SCNVYLRF.js");
|
|
2935
2935
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2936
2936
|
const mapParsed = parseMap2(content, effectivePalette);
|
|
2937
2937
|
const { data: mapData, reason } = await resolveMapDataSource(
|
|
@@ -2964,8 +2964,8 @@ async function exportMap(ctx) {
|
|
|
2964
2964
|
}
|
|
2965
2965
|
async function exportPyramid(ctx) {
|
|
2966
2966
|
const { content, theme, palette } = ctx;
|
|
2967
|
-
const { parsePyramid: parsePyramid2 } = await import("./parser-
|
|
2968
|
-
const { renderPyramidForExport } = await import("./renderer-
|
|
2967
|
+
const { parsePyramid: parsePyramid2 } = await import("./parser-VA7ZQQTA.js");
|
|
2968
|
+
const { renderPyramidForExport } = await import("./renderer-XGG2UNXT.js");
|
|
2969
2969
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2970
2970
|
const pyramidParsed = parsePyramid2(content);
|
|
2971
2971
|
if (pyramidParsed.error || pyramidParsed.layers.length === 0) return "";
|
|
@@ -2981,8 +2981,8 @@ async function exportPyramid(ctx) {
|
|
|
2981
2981
|
}
|
|
2982
2982
|
async function exportRing(ctx) {
|
|
2983
2983
|
const { content, theme, palette } = ctx;
|
|
2984
|
-
const { parseRing: parseRing2 } = await import("./parser-
|
|
2985
|
-
const { renderRingForExport } = await import("./renderer-
|
|
2984
|
+
const { parseRing: parseRing2 } = await import("./parser-SIKL4PLF.js");
|
|
2985
|
+
const { renderRingForExport } = await import("./renderer-LQP3AGEJ.js");
|
|
2986
2986
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2987
2987
|
const ringParsed = parseRing2(content);
|
|
2988
2988
|
if (ringParsed.error || ringParsed.layers.length === 0) return "";
|
|
@@ -2995,14 +2995,14 @@ async function exportRing(ctx) {
|
|
|
2995
2995
|
}
|
|
2996
2996
|
async function exportTreemap(ctx) {
|
|
2997
2997
|
const { content, theme, palette } = ctx;
|
|
2998
|
-
const { parseTreemap: parseTreemap2 } = await import("./parser-
|
|
2998
|
+
const { parseTreemap: parseTreemap2 } = await import("./parser-LTRQASGB.js");
|
|
2999
2999
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3000
3000
|
const treemapParsed = parseTreemap2(content, effectivePalette);
|
|
3001
3001
|
if (treemapParsed.error || treemapParsed.roots.length === 0) return "";
|
|
3002
3002
|
const container = createExportContainer(ctx.width, ctx.height);
|
|
3003
3003
|
const dims = { width: ctx.width, height: ctx.height };
|
|
3004
3004
|
if (treemapParsed.options.radial) {
|
|
3005
|
-
const { renderTreemapRadialForExport } = await import("./renderer-radial-
|
|
3005
|
+
const { renderTreemapRadialForExport } = await import("./renderer-radial-WFUX3Z3C.js");
|
|
3006
3006
|
renderTreemapRadialForExport(
|
|
3007
3007
|
container,
|
|
3008
3008
|
treemapParsed,
|
|
@@ -3011,7 +3011,7 @@ async function exportTreemap(ctx) {
|
|
|
3011
3011
|
dims
|
|
3012
3012
|
);
|
|
3013
3013
|
} else {
|
|
3014
|
-
const { renderTreemapForExport } = await import("./renderer-
|
|
3014
|
+
const { renderTreemapForExport } = await import("./renderer-ISSDGK54.js");
|
|
3015
3015
|
renderTreemapForExport(
|
|
3016
3016
|
container,
|
|
3017
3017
|
treemapParsed,
|
|
@@ -3024,15 +3024,15 @@ async function exportTreemap(ctx) {
|
|
|
3024
3024
|
}
|
|
3025
3025
|
async function exportLiveLink(ctx) {
|
|
3026
3026
|
const { content, theme, palette } = ctx;
|
|
3027
|
-
const { parseLiveLink: parseLiveLink2 } = await import("./parser-
|
|
3028
|
-
const { renderLiveLinkCard } = await import("./renderer-
|
|
3027
|
+
const { parseLiveLink: parseLiveLink2 } = await import("./parser-GMQJISZ6.js");
|
|
3028
|
+
const { renderLiveLinkCard } = await import("./renderer-TO2NVJP3.js");
|
|
3029
3029
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3030
3030
|
return renderLiveLinkCard(parseLiveLink2(content), effectivePalette, theme);
|
|
3031
3031
|
}
|
|
3032
3032
|
async function exportBlock(ctx) {
|
|
3033
3033
|
const { content, theme, palette } = ctx;
|
|
3034
|
-
const { parseBlock: parseBlock2 } = await import("./parser-
|
|
3035
|
-
const { renderBlockForExport } = await import("./renderer-
|
|
3034
|
+
const { parseBlock: parseBlock2 } = await import("./parser-TUAEX6ML.js");
|
|
3035
|
+
const { renderBlockForExport } = await import("./renderer-NDA2FFYB.js");
|
|
3036
3036
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3037
3037
|
const blockParsed = parseBlock2(content, effectivePalette);
|
|
3038
3038
|
if (blockParsed.error || blockParsed.top.rows.length === 0) return "";
|
|
@@ -3045,8 +3045,8 @@ async function exportBlock(ctx) {
|
|
|
3045
3045
|
}
|
|
3046
3046
|
async function exportGoal(ctx) {
|
|
3047
3047
|
const { content, theme, palette } = ctx;
|
|
3048
|
-
const { parseGoal: parseGoal2 } = await import("./parser-
|
|
3049
|
-
const { renderGoalForExport } = await import("./renderer-
|
|
3048
|
+
const { parseGoal: parseGoal2 } = await import("./parser-3QIFY5IN.js");
|
|
3049
|
+
const { renderGoalForExport } = await import("./renderer-JEJT3YET.js");
|
|
3050
3050
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3051
3051
|
const parsed = parseGoal2(content, effectivePalette);
|
|
3052
3052
|
if (parsed.error) return "";
|
|
@@ -3059,8 +3059,8 @@ async function exportGoal(ctx) {
|
|
|
3059
3059
|
}
|
|
3060
3060
|
async function exportCountdown(ctx) {
|
|
3061
3061
|
const { content, theme, palette } = ctx;
|
|
3062
|
-
const { parseCountdown: parseCountdown2 } = await import("./parser-
|
|
3063
|
-
const { renderCountdownForExport } = await import("./renderer-
|
|
3062
|
+
const { parseCountdown: parseCountdown2 } = await import("./parser-SEUTXN6U.js");
|
|
3063
|
+
const { renderCountdownForExport } = await import("./renderer-NHTR7IRR.js");
|
|
3064
3064
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3065
3065
|
const parsed = parseCountdown2(content, effectivePalette);
|
|
3066
3066
|
if (parsed.error) return "";
|
|
@@ -3073,8 +3073,8 @@ async function exportCountdown(ctx) {
|
|
|
3073
3073
|
}
|
|
3074
3074
|
async function exportClock(ctx) {
|
|
3075
3075
|
const { content, theme, palette } = ctx;
|
|
3076
|
-
const { parseClock: parseClock2 } = await import("./parser-
|
|
3077
|
-
const { renderClockForExport } = await import("./renderer-
|
|
3076
|
+
const { parseClock: parseClock2 } = await import("./parser-K2DI26SC.js");
|
|
3077
|
+
const { renderClockForExport } = await import("./renderer-WIU5BJUK.js");
|
|
3078
3078
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3079
3079
|
const parsed = parseClock2(content, effectivePalette);
|
|
3080
3080
|
if (parsed.error) return "";
|
|
@@ -3087,8 +3087,8 @@ async function exportClock(ctx) {
|
|
|
3087
3087
|
}
|
|
3088
3088
|
async function exportBracket(ctx) {
|
|
3089
3089
|
const { content, theme, palette } = ctx;
|
|
3090
|
-
const { parseBracket: parseBracket2 } = await import("./parser-
|
|
3091
|
-
const { renderBracketForExport, bracketExportDimensions } = await import("./renderer-
|
|
3090
|
+
const { parseBracket: parseBracket2 } = await import("./parser-RTWPFKXG.js");
|
|
3091
|
+
const { renderBracketForExport, bracketExportDimensions } = await import("./renderer-LM4ICK6I.js");
|
|
3092
3092
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3093
3093
|
const parsed = parseBracket2(content, effectivePalette);
|
|
3094
3094
|
if (parsed.error) return "";
|
|
@@ -3102,8 +3102,8 @@ async function exportBracket(ctx) {
|
|
|
3102
3102
|
}
|
|
3103
3103
|
async function exportRaci(ctx) {
|
|
3104
3104
|
const { content, theme, palette } = ctx;
|
|
3105
|
-
const { parseRaci: parseRaci2 } = await import("./parser-
|
|
3106
|
-
const { renderRaciForExport } = await import("./renderer-
|
|
3105
|
+
const { parseRaci: parseRaci2 } = await import("./parser-BES6LV3G.js");
|
|
3106
|
+
const { renderRaciForExport } = await import("./renderer-J5FKF423.js");
|
|
3107
3107
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3108
3108
|
const raciParsed = parseRaci2(content, effectivePalette);
|
|
3109
3109
|
if (raciParsed.error) return "";
|
|
@@ -3235,8 +3235,8 @@ async function exportVisualization(ctx) {
|
|
|
3235
3235
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3236
3236
|
const isDark = ctx.isDark;
|
|
3237
3237
|
const container = createExportContainer(ctx.width, ctx.height);
|
|
3238
|
-
const { parseSequenceDgmo: parseSequenceDgmo2 } = await import("./parser-
|
|
3239
|
-
const { renderSequenceDiagram } = await import("./renderer-
|
|
3238
|
+
const { parseSequenceDgmo: parseSequenceDgmo2 } = await import("./parser-LCJ76UXS.js");
|
|
3239
|
+
const { renderSequenceDiagram } = await import("./renderer-3QAFDXEY.js");
|
|
3240
3240
|
const seqParsed = parseSequenceDgmo2(content, effectivePalette);
|
|
3241
3241
|
if (seqParsed.error || seqParsed.participants.length === 0) return "";
|
|
3242
3242
|
const collapsedSections = viewState?.cs ? new Set(viewState.cs) : void 0;
|
|
@@ -3327,7 +3327,8 @@ function buildHoverCss(spec, derived = {}, emphasisOverride) {
|
|
|
3327
3327
|
emphasis === "lift" ? `svg:has(${g}:hover) ${g}:hover{${LIFT_DECL}}` : `svg:has(${g}:hover) ${g}:not(:hover){opacity:${dimOpacity}}`
|
|
3328
3328
|
);
|
|
3329
3329
|
} else if (spec.strategy === "enumerated" && spec.groupAttr) {
|
|
3330
|
-
const
|
|
3330
|
+
const legendInline = spec.legend && !spec.legendMarkSelector;
|
|
3331
|
+
const legendCount = legendInline ? values.length : 0;
|
|
3331
3332
|
if (values.length + legendCount > MAX_HOVER_GROUPS) {
|
|
3332
3333
|
base.push(
|
|
3333
3334
|
`/* hover: ${values.length} groups exceeds cap ${MAX_HOVER_GROUPS}; self-emphasis only */`
|
|
@@ -3344,7 +3345,7 @@ function buildHoverCss(spec, derived = {}, emphasisOverride) {
|
|
|
3344
3345
|
)
|
|
3345
3346
|
);
|
|
3346
3347
|
}
|
|
3347
|
-
if (
|
|
3348
|
+
if (legendInline) {
|
|
3348
3349
|
for (const v of values) {
|
|
3349
3350
|
cross.push(
|
|
3350
3351
|
legendRule(
|
|
@@ -3375,6 +3376,7 @@ function buildHoverCss(spec, derived = {}, emphasisOverride) {
|
|
|
3375
3376
|
}
|
|
3376
3377
|
}
|
|
3377
3378
|
const legendValues = derived.legendValues ?? [];
|
|
3379
|
+
const legendMark = spec.legendMarkSelector ?? spec.markSelector;
|
|
3378
3380
|
if (spec.legend && derived.legendAttr && legendValues.length) {
|
|
3379
3381
|
if (legendValues.length > MAX_HOVER_GROUPS) {
|
|
3380
3382
|
base.push(
|
|
@@ -3383,15 +3385,9 @@ function buildHoverCss(spec, derived = {}, emphasisOverride) {
|
|
|
3383
3385
|
} else {
|
|
3384
3386
|
for (const v of legendValues) {
|
|
3385
3387
|
cross.push(
|
|
3386
|
-
legendRule(
|
|
3387
|
-
spec.markSelector,
|
|
3388
|
-
derived.legendAttr,
|
|
3389
|
-
v,
|
|
3390
|
-
emphasis,
|
|
3391
|
-
dimOpacity
|
|
3392
|
-
),
|
|
3388
|
+
legendRule(legendMark, derived.legendAttr, v, emphasis, dimOpacity),
|
|
3393
3389
|
legendReverseRule(
|
|
3394
|
-
|
|
3390
|
+
legendMark,
|
|
3395
3391
|
derived.legendAttr,
|
|
3396
3392
|
v,
|
|
3397
3393
|
emphasis,
|
|
@@ -3468,10 +3464,14 @@ var HOVER_SPECS = {
|
|
|
3468
3464
|
groupAttr: "data-group",
|
|
3469
3465
|
legend: true
|
|
3470
3466
|
},
|
|
3467
|
+
// timeline: the same split as gantt — cross rules enumerate `data-group`,
|
|
3468
|
+
// the legend is a TAG-group legend, so the injector resolves `legendAttr`
|
|
3469
|
+
// from the marks' `data-tag-<slug>` (diagrammo/diagrammo#1215).
|
|
3471
3470
|
timeline: {
|
|
3472
3471
|
markSelector: ".tl-event",
|
|
3473
3472
|
strategy: "enumerated",
|
|
3474
|
-
groupAttr: "data-group"
|
|
3473
|
+
groupAttr: "data-group",
|
|
3474
|
+
legend: true
|
|
3475
3475
|
},
|
|
3476
3476
|
// raci cells AND column headers both carry `data-role-id`; keying on the bare
|
|
3477
3477
|
// attr makes hovering either lift the whole role (cross-column highlight).
|
|
@@ -3491,10 +3491,10 @@ var HOVER_SPECS = {
|
|
|
3491
3491
|
// — so it reads here purely as the legend's emphasis, and `dim` is what the
|
|
3492
3492
|
// app's own legend hover does (FamilyPreview `emphasizeCards`).
|
|
3493
3493
|
//
|
|
3494
|
-
//
|
|
3495
|
-
//
|
|
3496
|
-
//
|
|
3497
|
-
//
|
|
3494
|
+
// A chart that draws a legend but bakes no legend rule yet is named, with
|
|
3495
|
+
// its reason, in `LEGEND_HOVER_PENDING` (tests/hover-legend-coverage.test.ts),
|
|
3496
|
+
// which renders every gallery fixture and fails on any other one that draws a
|
|
3497
|
+
// `data-legend-entry` with no legend rule (diagrammo/diagrammo#1215).
|
|
3498
3498
|
// map — carries two tag kinds on different marks (see its row).
|
|
3499
3499
|
sequence: {
|
|
3500
3500
|
markSelector: ".participant",
|
|
@@ -3532,11 +3532,14 @@ var HOVER_SPECS = {
|
|
|
3532
3532
|
// injector reads the slug from `data-legend-active` (F9). `data-tag-*` values
|
|
3533
3533
|
// and `data-legend-entry` are both lowercased, so legend pairing casing lines
|
|
3534
3534
|
// up. (map is excluded — it carries two tag kinds on different marks.)
|
|
3535
|
+
// treemap: with no tag active it may draw a BRANCH legend (one entry per
|
|
3536
|
+
// top-level node), which pairs on the `data-branch` every cell carries.
|
|
3535
3537
|
treemap: {
|
|
3536
3538
|
markSelector: ".dgmo-treemap-cell",
|
|
3537
3539
|
strategy: "enumerated",
|
|
3538
3540
|
groupAttrMode: "tag-active",
|
|
3539
|
-
legend: true
|
|
3541
|
+
legend: true,
|
|
3542
|
+
legendAttr: "data-branch"
|
|
3540
3543
|
},
|
|
3541
3544
|
block: {
|
|
3542
3545
|
markSelector: ".dgmo-block-cell",
|
|
@@ -3622,6 +3625,8 @@ var HOVER_SPECS = {
|
|
|
3622
3625
|
legend: true,
|
|
3623
3626
|
emphasis: "dim"
|
|
3624
3627
|
},
|
|
3628
|
+
// class's legend names class KINDS (Class, Abstract, Interface, Enum), the
|
|
3629
|
+
// same keys `data-cd-type` carries.
|
|
3625
3630
|
class: {
|
|
3626
3631
|
markSelector: ".cd-class",
|
|
3627
3632
|
strategy: "connection",
|
|
@@ -3629,7 +3634,9 @@ var HOVER_SPECS = {
|
|
|
3629
3634
|
hoverAttr: "data-node-id",
|
|
3630
3635
|
edgeSelector: ".cd-edge-group",
|
|
3631
3636
|
fromAttr: "data-source",
|
|
3632
|
-
toAttr: "data-target"
|
|
3637
|
+
toAttr: "data-target",
|
|
3638
|
+
legend: true,
|
|
3639
|
+
legendAttr: "data-cd-type"
|
|
3633
3640
|
},
|
|
3634
3641
|
er: {
|
|
3635
3642
|
markSelector: ".er-table",
|
|
@@ -3640,6 +3647,8 @@ var HOVER_SPECS = {
|
|
|
3640
3647
|
fromAttr: "data-source",
|
|
3641
3648
|
toAttr: "data-target",
|
|
3642
3649
|
legend: true,
|
|
3650
|
+
// An untagged er draws the semantic ROLE legend instead of a tag legend.
|
|
3651
|
+
legendAttr: "data-er-role-label",
|
|
3643
3652
|
emphasis: "dim"
|
|
3644
3653
|
},
|
|
3645
3654
|
org: {
|
|
@@ -3697,24 +3706,33 @@ var HOVER_SPECS = {
|
|
|
3697
3706
|
// column into `:hover` and the others dim. `dim` (not lift) reads as
|
|
3698
3707
|
// "focus this column"; the marks' opacity is a presentation attr, which a
|
|
3699
3708
|
// `<style>` rule outranks (no RED-2 conflict).
|
|
3709
|
+
// Its tag legend pairs on the cards, which carry the active group's
|
|
3710
|
+
// `data-tag-<slug>` (diagrammo/diagrammo#1215).
|
|
3700
3711
|
kanban: {
|
|
3701
3712
|
markSelector: ".kanban-column",
|
|
3702
3713
|
strategy: "structural",
|
|
3703
3714
|
groupSelector: ".kanban-column",
|
|
3704
3715
|
emphasis: "dim",
|
|
3705
|
-
selfEmphasis: false
|
|
3716
|
+
selfEmphasis: false,
|
|
3717
|
+
legend: true,
|
|
3718
|
+
legendMarkSelector: ".kanban-card"
|
|
3706
3719
|
},
|
|
3707
3720
|
// line: each series is a `g.dgmo-series` wrapping its line + data dots + an
|
|
3708
3721
|
// invisible fat hit corridor (`.dgmo-series-hit`, renderer-baked) — without
|
|
3709
3722
|
// the corridor only the 2.5px stroke and 4px dots were hittable, so the
|
|
3710
3723
|
// baked hover read as dead in embeds. Hovering anywhere along a line puts
|
|
3711
|
-
// its group into `:hover` and the other series dim.
|
|
3724
|
+
// its group into `:hover` and the other series dim. A multi-series line
|
|
3725
|
+
// draws a SERIES legend (entries carry the lowercased series name), so the
|
|
3726
|
+
// legend pairs on the fixed `data-series-name` every series group carries
|
|
3727
|
+
// (diagrammo/diagrammo#1215); a single-series line draws no legend.
|
|
3712
3728
|
line: {
|
|
3713
3729
|
markSelector: "g.dgmo-series",
|
|
3714
3730
|
strategy: "structural",
|
|
3715
3731
|
groupSelector: "g.dgmo-series",
|
|
3716
3732
|
emphasis: "dim",
|
|
3717
|
-
selfEmphasis: false
|
|
3733
|
+
selfEmphasis: false,
|
|
3734
|
+
legend: true,
|
|
3735
|
+
legendAttr: "data-series-name"
|
|
3718
3736
|
},
|
|
3719
3737
|
swimlane: {
|
|
3720
3738
|
markSelector: "[data-lane]",
|
|
@@ -3731,10 +3749,15 @@ var HOVER_SPECS = {
|
|
|
3731
3749
|
},
|
|
3732
3750
|
// journey-map: faces carry data-score (the emotion). Hover a face → lift all
|
|
3733
3751
|
// same-score touchpoints across the journey.
|
|
3752
|
+
// A tag legend pairs on the steps and faces, which both carry the active
|
|
3753
|
+
// group's `data-tag-<slug>` — the same marks the app's own legend hover
|
|
3754
|
+
// emphasizes (diagrammo/diagrammo#1215).
|
|
3734
3755
|
"journey-map": {
|
|
3735
3756
|
markSelector: ".journey-face",
|
|
3736
3757
|
strategy: "enumerated",
|
|
3737
|
-
groupAttr: "data-score"
|
|
3758
|
+
groupAttr: "data-score",
|
|
3759
|
+
legend: true,
|
|
3760
|
+
legendMarkSelector: ":is(.journey-step,.journey-face)"
|
|
3738
3761
|
},
|
|
3739
3762
|
// mindmap: nodes carry a single data-tag-<group> when tagged (no
|
|
3740
3763
|
// legend-active marker → the single-tag fallback in deriveFromSvg resolves
|
|
@@ -3748,17 +3771,42 @@ var HOVER_SPECS = {
|
|
|
3748
3771
|
pyramid: { markSelector: ".pyramid-layer", strategy: "self" },
|
|
3749
3772
|
ring: { markSelector: ".ring-layer", strategy: "self" },
|
|
3750
3773
|
slope: { markSelector: ".slope-series", strategy: "self" },
|
|
3751
|
-
// function: each curve is a `.dgmo-datum` path — self-emphasis floor
|
|
3752
|
-
//
|
|
3753
|
-
function: {
|
|
3774
|
+
// function: each curve is a `.dgmo-datum` path — self-emphasis floor (thin
|
|
3775
|
+
// line, no group), plus its legend of curves pairing on `data-series-name`.
|
|
3776
|
+
function: {
|
|
3777
|
+
markSelector: ".dgmo-datum",
|
|
3778
|
+
strategy: "self",
|
|
3779
|
+
legend: true,
|
|
3780
|
+
legendAttr: "data-series-name"
|
|
3781
|
+
},
|
|
3754
3782
|
// map: POIs carry data-tag-<group> for the active legend group (resolved from
|
|
3755
3783
|
// data-legend-active). Hover a POI → lift same-group POIs. `lift` (never dim)
|
|
3756
3784
|
// sidesteps the decorative-layer / inactive-pill inline-opacity trap (F6).
|
|
3757
|
-
// Region-tag (choropleth) maps have no POIs → self-emphasis only.
|
|
3785
|
+
// Region-tag (choropleth) maps have no POIs → self-emphasis only. Its tag
|
|
3786
|
+
// legend pairs on every mark wearing the tag — tagged regions, POIs and
|
|
3787
|
+
// route legs (diagrammo/diagrammo#1215).
|
|
3758
3788
|
map: {
|
|
3759
3789
|
markSelector: "[data-poi]",
|
|
3760
3790
|
strategy: "enumerated",
|
|
3761
|
-
groupAttrMode: "tag-active"
|
|
3791
|
+
groupAttrMode: "tag-active",
|
|
3792
|
+
legend: true,
|
|
3793
|
+
legendMarkSelector: ":is(.dgmo-map-region,[data-poi],[data-from-id])"
|
|
3794
|
+
},
|
|
3795
|
+
// family and bracket: a tag legend only, pairing on the card / box that
|
|
3796
|
+
// carries the active group's `data-tag-<slug>`. family's card hover is its
|
|
3797
|
+
// own focus icon, so no self rule; `dim` is what FamilyPreview's legend
|
|
3798
|
+
// hover does (diagrammo/diagrammo#1215).
|
|
3799
|
+
family: {
|
|
3800
|
+
markSelector: ".family-card",
|
|
3801
|
+
strategy: "self",
|
|
3802
|
+
selfEmphasis: false,
|
|
3803
|
+
legend: true,
|
|
3804
|
+
emphasis: "dim"
|
|
3805
|
+
},
|
|
3806
|
+
bracket: {
|
|
3807
|
+
markSelector: ".dgmo-bracket-box",
|
|
3808
|
+
strategy: "self",
|
|
3809
|
+
legend: true
|
|
3762
3810
|
}
|
|
3763
3811
|
};
|
|
3764
3812
|
function resolveTagAttr(root, markSelector) {
|
|
@@ -3773,7 +3821,17 @@ function resolveTagAttr(root, markSelector) {
|
|
|
3773
3821
|
if (a.name.startsWith("data-tag-")) names.add(a.name);
|
|
3774
3822
|
}
|
|
3775
3823
|
});
|
|
3776
|
-
|
|
3824
|
+
if (names.size !== 1) return void 0;
|
|
3825
|
+
const only = [...names][0];
|
|
3826
|
+
const entries = /* @__PURE__ */ new Set();
|
|
3827
|
+
if (slug) {
|
|
3828
|
+
root.querySelectorAll("[data-legend-entry]").forEach((el) => entries.add(el.getAttribute("data-legend-entry")));
|
|
3829
|
+
}
|
|
3830
|
+
if (entries.size && !distinctAttrValues(root, markSelector, only).some(
|
|
3831
|
+
(v) => entries.has(v.toLowerCase())
|
|
3832
|
+
))
|
|
3833
|
+
return void 0;
|
|
3834
|
+
return only;
|
|
3777
3835
|
}
|
|
3778
3836
|
function distinctAttrValues(root, markSelector, attr) {
|
|
3779
3837
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -3790,16 +3848,21 @@ function deriveFromSvg(svg, spec) {
|
|
|
3790
3848
|
const root = holder.querySelector("svg");
|
|
3791
3849
|
if (!root) return {};
|
|
3792
3850
|
const legendExtra = () => {
|
|
3793
|
-
if (!spec.legend
|
|
3794
|
-
|
|
3795
|
-
|
|
3851
|
+
if (!spec.legend) return {};
|
|
3852
|
+
if (spec.groupAttrMode === "tag-active" && !spec.legendMarkSelector)
|
|
3853
|
+
return {};
|
|
3854
|
+
if (!root.querySelector("[data-legend-entry]")) return {};
|
|
3855
|
+
const mark = spec.legendMarkSelector ?? spec.markSelector;
|
|
3856
|
+
const attr = resolveTagAttr(root, mark) ?? spec.legendAttr;
|
|
3857
|
+
if (!attr) return {};
|
|
3858
|
+
if (attr === spec.groupAttr && !spec.legendMarkSelector) return {};
|
|
3796
3859
|
return {
|
|
3797
3860
|
legendAttr: attr,
|
|
3798
|
-
legendValues: distinctAttrValues(root,
|
|
3861
|
+
legendValues: distinctAttrValues(root, mark, attr)
|
|
3799
3862
|
};
|
|
3800
3863
|
};
|
|
3801
3864
|
if (spec.strategy === "enumerated") {
|
|
3802
|
-
const groupAttr = spec.groupAttrMode === "tag-active" ? resolveTagAttr(root, spec.markSelector) : spec.groupAttr;
|
|
3865
|
+
const groupAttr = spec.groupAttrMode === "tag-active" ? resolveTagAttr(root, spec.markSelector) ?? (root.querySelector("[data-legend-entry]") ? spec.legendAttr : void 0) : spec.groupAttr;
|
|
3803
3866
|
if (!groupAttr) return { ...legendExtra() };
|
|
3804
3867
|
return {
|
|
3805
3868
|
values: distinctAttrValues(root, spec.markSelector, groupAttr),
|