@diagrammo/dgmo 0.50.2 → 0.52.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/.cursorrules +15 -19
- package/.github/copilot-instructions.md +15 -19
- package/.windsurfrules +15 -19
- package/SKILL.md +15 -19
- package/dist/advanced.d.ts +155 -65
- package/dist/advanced.js +231 -189
- package/dist/{analyzer-UYKBXAKR.js → analyzer-BJ54GIFB.js} +3 -3
- package/dist/auto.css +31 -8
- package/dist/auto.d.ts +6 -0
- package/dist/auto.js +171 -133
- package/dist/auto.mjs +3062 -1478
- package/dist/block.css +28 -8
- package/dist/block.js +138 -72
- package/dist/charts-d3-MXEP6BNP.js +26 -0
- package/dist/{chunk-3YPY3OXD.js → chunk-3HF5YEFJ.js} +17 -7
- package/dist/{chunk-4MJ7M6YL.js → chunk-3HGU63UY.js} +14 -13
- package/dist/chunk-3LK5DNED.js +35 -0
- package/dist/{chunk-3Y2DRD7S.js → chunk-3QD7VP3U.js} +9 -4
- package/dist/{chunk-6BFZKBGD.js → chunk-3YRPZ7ZZ.js} +2 -2
- package/dist/{chunk-WW32K72E.js → chunk-44VCIPHF.js} +25 -21
- package/dist/{chunk-TN35C5KM.js → chunk-4AQRFDXL.js} +2 -2
- package/dist/{chunk-HHXOONLX.js → chunk-4B5YISOR.js} +38 -1
- package/dist/{chunk-PGEGPSCZ.js → chunk-4IHAV6O7.js} +2 -2
- package/dist/{chunk-7L3R6I3U.js → chunk-4UNQ6X24.js} +10 -7
- package/dist/{chunk-O7NUCTFU.js → chunk-4YFKQ5WT.js} +7 -4
- package/dist/{chunk-5WFIYXQ6.js → chunk-5223KXFD.js} +122 -242
- package/dist/{chunk-PFHVU7UA.js → chunk-5BHJZH62.js} +3 -3
- package/dist/{chunk-QYTPPDAO.js → chunk-5HILBT7X.js} +2 -2
- package/dist/{chunk-GKC3HILQ.js → chunk-5NGAO4QK.js} +27 -4
- package/dist/{chunk-IAEC4KLA.js → chunk-5QKQSSPO.js} +2 -2
- package/dist/{chunk-DSWVNQVS.js → chunk-5RP7JRVP.js} +4 -59
- package/dist/{chunk-MCZ5LBZD.js → chunk-5SEVICBT.js} +8 -8
- package/dist/{chunk-GBE54KY6.js → chunk-6EJITS44.js} +8 -5
- package/dist/{chunk-BBGDM4NQ.js → chunk-6HQH6JZE.js} +35 -16
- package/dist/{chunk-66NVRO4K.js → chunk-6LBQ7ELG.js} +17 -18
- package/dist/{chunk-4XK3FLFB.js → chunk-6NYWYNBI.js} +3 -3
- package/dist/{chunk-VBYSIOOY.js → chunk-75G3Q4DK.js} +3 -3
- package/dist/{chunk-3NODSS6A.js → chunk-77FGAVZC.js} +13 -10
- package/dist/{chunk-6IAA2QQ2.js → chunk-7BIZCTAX.js} +2 -2
- package/dist/{chunk-TWQUYVP3.js → chunk-7DF4J4RL.js} +4 -4
- package/dist/{chunk-66RUL3XF.js → chunk-7KINELPI.js} +111 -49
- package/dist/{chunk-L3UHP6TD.js → chunk-7L4UJOY6.js} +1 -2
- package/dist/{chunk-QJP6PG7F.js → chunk-7QE3XMRK.js} +19 -18
- package/dist/{chunk-P7CE7LXL.js → chunk-AAXZDUOV.js} +18 -17
- package/dist/{chunk-SXRTRMEE.js → chunk-AL672HNE.js} +3 -3
- package/dist/chunk-APKUAJ2L.js +220 -0
- package/dist/{chunk-SCHXJTZL.js → chunk-ARGMQ3H4.js} +2 -2
- package/dist/{chunk-HEVYAHLW.js → chunk-AUIM2NVH.js} +5 -5
- package/dist/{chunk-3LH5CLP4.js → chunk-BKVOYV6I.js} +143 -6
- package/dist/{chunk-RZ6YKEUJ.js → chunk-BPIZNB5O.js} +17 -15
- package/dist/{chunk-QROYX7TT.js → chunk-BPY242XU.js} +6 -4
- package/dist/{chunk-OTAL43EH.js → chunk-BRENJ2BQ.js} +39 -3
- package/dist/{chunk-FA6K3FWM.js → chunk-CCNDLW7Z.js} +44 -22
- package/dist/{chunk-2KGXHFYK.js → chunk-CIRFIL4M.js} +49 -29
- package/dist/chunk-DAOFNU6J.js +283 -0
- package/dist/{chunk-QJJZSROI.js → chunk-DYWQFQJP.js} +48 -38
- package/dist/{chunk-XEGTMVYY.js → chunk-EMLPOL77.js} +15 -8
- package/dist/{chunk-NWED7CYO.js → chunk-FHGVORFO.js} +29 -25
- package/dist/{chunk-U2HGPLZS.js → chunk-FQ7HTV52.js} +17 -2
- package/dist/{chunk-H73FP42Q.js → chunk-FQMUHRVC.js} +70 -31
- package/dist/{chunk-BTUTZMPT.js → chunk-FT3ZYWET.js} +108 -42
- package/dist/{chunk-T5SHNNGP.js → chunk-FUPF2UYQ.js} +92 -34
- package/dist/{chunk-3XPUDB7B.js → chunk-FY5MSZAP.js} +279 -39
- package/dist/{chunk-M5RXSRO2.js → chunk-GCYTI3DE.js} +42 -33
- package/dist/{chunk-DN66GPY5.js → chunk-GJFAMOGK.js} +24 -3
- package/dist/{chunk-F2L5GCQ4.js → chunk-GU46PPT3.js} +3 -3
- package/dist/{chunk-6IUAK7RZ.js → chunk-H6PI3KJT.js} +2 -2
- package/dist/{chunk-ONA5KPV3.js → chunk-H7KENAZO.js} +18 -14
- package/dist/{chunk-SQLNBA64.js → chunk-HBPDFCQY.js} +3 -3
- package/dist/{chunk-SCQ5VPUF.js → chunk-HFMYN6N2.js} +2 -2
- package/dist/{chunk-FJUNPCYI.js → chunk-HHKO6SKY.js} +2 -2
- package/dist/{chunk-DZXYF2F5.js → chunk-HQQNCY7W.js} +21 -8
- package/dist/{chunk-7TV5Y53Y.js → chunk-HWX6ZHF3.js} +3 -3
- package/dist/{chunk-3P2DKJCG.js → chunk-ICPJPQ5C.js} +2 -2
- package/dist/{chunk-VUJGMJE6.js → chunk-IM6PDDCE.js} +4 -4
- package/dist/{chunk-JJUOHGX2.js → chunk-INE5YJBZ.js} +13 -8
- package/dist/{chunk-HTMN2Z6U.js → chunk-J6QROYDA.js} +58 -11
- package/dist/{chunk-NX4EQS3U.js → chunk-J76PIKAT.js} +2 -2
- package/dist/{chunk-SVTI362O.js → chunk-J7KJR3R6.js} +129 -109
- package/dist/{chunk-JEUJOX5X.js → chunk-J7TLCB2Q.js} +2 -2
- package/dist/{chunk-O7WP4ZD4.js → chunk-JED6ZDEE.js} +2 -2
- package/dist/{chunk-J6K7RP6P.js → chunk-JRCOYRRH.js} +19 -7
- package/dist/{chunk-7QKLIMRZ.js → chunk-K2I2XOZD.js} +46 -51
- package/dist/{chunk-EAMEADTV.js → chunk-K4EOKJA6.js} +96 -24
- package/dist/{chunk-5OWVC2A6.js → chunk-KGVZ5VGH.js} +13 -10
- package/dist/{chunk-DFTFPYUD.js → chunk-LBMS4AW6.js} +22 -21
- package/dist/{chunk-VVW3F3MD.js → chunk-LGT3PZCJ.js} +27 -19
- package/dist/{chunk-OMNGQPEZ.js → chunk-LTXOLDUZ.js} +9 -6
- package/dist/{chunk-Q4V4XQWV.js → chunk-MUE65OTD.js} +5 -4
- package/dist/{chunk-5GJYGP5Z.js → chunk-MUVJ57EP.js} +14 -18
- package/dist/{chunk-CLD2OKV7.js → chunk-MX2EY5Y7.js} +2 -2
- package/dist/{chunk-OTQKUHRS.js → chunk-NNS4E7CW.js} +6 -4
- package/dist/{chunk-NNAAJVBU.js → chunk-NR5HCAUD.js} +1 -1
- package/dist/{chunk-KFZYNWWO.js → chunk-ONU3U4GL.js} +4 -4
- package/dist/{chunk-YNRDWYZP.js → chunk-OQKP2X3D.js} +170 -51
- package/dist/{chunk-AHGF2YYA.js → chunk-OTOHI4JO.js} +2 -2
- package/dist/{chunk-EOFPYPAU.js → chunk-P3NRSSUU.js} +51 -11
- package/dist/{chunk-QXKWYZNR.js → chunk-PRI2OD4E.js} +10 -3
- package/dist/{chunk-U6EQI3U6.js → chunk-QBZYACOG.js} +3 -3
- package/dist/{chunk-C2CVAM3U.js → chunk-QGATPIPX.js} +170 -91
- package/dist/{chunk-PZFVK3IH.js → chunk-QHXCAEMX.js} +8 -5
- package/dist/{chunk-BH3UYK36.js → chunk-QJMKPUYK.js} +15 -5
- package/dist/{chunk-HQCHYB5F.js → chunk-QOOUC2J5.js} +2 -2
- package/dist/{chunk-Z6XJQ6KO.js → chunk-QVENJMNX.js} +2 -2
- package/dist/{chunk-IUMPEA64.js → chunk-QZX5S6R3.js} +4 -4
- package/dist/{chunk-I7F2A35O.js → chunk-R3YSD62R.js} +25 -47
- package/dist/{chunk-NU3XLTGP.js → chunk-REJAIQ5S.js} +4 -4
- package/dist/{chunk-2C56LEML.js → chunk-ROOE4R4Y.js} +8 -5
- package/dist/{chunk-XHVV4NVW.js → chunk-RT7ACF77.js} +12 -2
- package/dist/{chunk-I2WKW7C7.js → chunk-SMRFPVLQ.js} +3 -3
- package/dist/{chunk-VDOOQZUD.js → chunk-SWSIKFEB.js} +4 -4
- package/dist/{chunk-HLJVEAOF.js → chunk-T4A4TSTJ.js} +19 -45
- package/dist/{chunk-KHEYDLMT.js → chunk-TJVLKNGR.js} +20 -10
- package/dist/{chunk-GL5UZ6NY.js → chunk-TPFKKXCB.js} +3 -3
- package/dist/{chunk-X6EZPSW6.js → chunk-TTIM6YTT.js} +31 -21
- package/dist/{chunk-BCYVE3N5.js → chunk-TYS6CSS5.js} +2 -2
- package/dist/{chunk-T4VOVZT5.js → chunk-UBLHQTLV.js} +15 -14
- package/dist/{chunk-3LKM6FMW.js → chunk-UNURMIQO.js} +2 -2
- package/dist/{chunk-TSA237IM.js → chunk-VILVLS7P.js} +5 -3
- package/dist/{chunk-HGN652MU.js → chunk-VL2O2F3W.js} +2 -2
- package/dist/{chunk-3XGZF2QJ.js → chunk-VQOCMUWI.js} +39 -28
- package/dist/{chunk-P6T66CCZ.js → chunk-WBM7ZNDI.js} +3 -2
- package/dist/{chunk-CMCR5WBW.js → chunk-WBRZJOEC.js} +3 -3
- package/dist/{chunk-5LWQH6QV.js → chunk-WCT3NYCV.js} +1 -1
- package/dist/{chunk-C4GQDB5L.js → chunk-WRNFDFPU.js} +2 -2
- package/dist/{chunk-6HJBFVLO.js → chunk-XD6ZYURY.js} +9 -4
- package/dist/{chunk-C63UWAKM.js → chunk-Y2ZE3MSG.js} +2 -2
- package/dist/{chunk-7UEMZREK.js → chunk-YAA6IID3.js} +2 -2
- package/dist/{chunk-F7BFXWNQ.js → chunk-YIBAWQGJ.js} +7 -4
- package/dist/{chunk-PH5X4GIP.js → chunk-YTMTPUH4.js} +8 -5
- package/dist/{chunk-3UIKSPFB.js → chunk-Z5QVYKR7.js} +11 -3
- package/dist/{chunk-KQ57MHRO.js → chunk-ZEF5M5MB.js} +155 -87
- package/dist/{chunk-LE4MYMLI.js → chunk-ZJV7GYR4.js} +6 -6
- package/dist/{chunk-XJLKLU4D.js → chunk-ZNWAYU6N.js} +11 -7
- package/dist/cli.cjs +165 -148
- package/dist/clock.js +105 -25
- package/dist/countdown.js +208 -82
- package/dist/dgmo-router-X7ZGAPIE.js +86 -0
- package/dist/dimensions-45H6JQEY.js +22 -0
- package/dist/editor.js +17 -2
- package/dist/element.d.ts +6 -0
- package/dist/element.js +172 -134
- package/dist/element.mjs +3026 -1463
- package/dist/{flowchart-parser-OE4WHLTF.js → flowchart-parser-UKELHBSB.js} +4 -4
- package/dist/{flowchart-renderer-GPCSMTOR.js → flowchart-renderer-MNCDS7MV.js} +10 -10
- package/dist/highlight.d.ts +21 -1
- package/dist/highlight.js +106 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +59 -57
- package/dist/{layout-FWODLIMP.js → layout-2L3WMRYU.js} +6 -6
- package/dist/{layout-7SKMFYHL.js → layout-46N4JJYK.js} +5 -5
- package/dist/{layout-7H4H46CS.js → layout-7QXCNOVS.js} +3 -3
- package/dist/layout-A4XWNVID.js +14 -0
- package/dist/{layout-46366KBT.js → layout-A5UHRWVH.js} +3 -3
- package/dist/{layout-NXG63LWH.js → layout-AM2JWW3X.js} +4 -4
- package/dist/{layout-DC4TVXER.js → layout-EE6GE46Y.js} +5 -5
- package/dist/{layout-FGQWRYYW.js → layout-F4WO357A.js} +3 -3
- package/dist/layout-G23F7LDH.js +9 -0
- package/dist/{layout-QNUQLEHU.js → layout-GM4UGR7B.js} +5 -4
- package/dist/{layout-7MZ5NF2N.js → layout-GQQJXNYH.js} +5 -5
- package/dist/{layout-5BG6DFCU.js → layout-IIE2S5FK.js} +6 -6
- package/dist/{layout-34CLNICW.js → layout-OAC4PEAC.js} +5 -5
- package/dist/layout-VMCRX66I.js +14 -0
- package/dist/{layout-PUQCB6AN.js → layout-ZDOSXL5G.js} +7 -7
- package/dist/{layout-search-QS44PI5R.js → layout-search-55FU6HD3.js} +6 -157
- package/dist/map-data/gazetteer.json +1 -1
- package/dist/{palettes-PRJ2RI6D.js → palettes-UDLZ2SA4.js} +2 -2
- package/dist/{parser-D5VILGN2.js → parser-2ECN6JA2.js} +4 -4
- package/dist/{parser-LWKKBNSA.js → parser-4WTIHM5J.js} +3 -3
- package/dist/{parser-DFFEDKHH.js → parser-5H2BTSJQ.js} +3 -3
- package/dist/{parser-4NO6VZ6S.js → parser-75KVXUNS.js} +4 -4
- package/dist/{parser-VKOJM7KS.js → parser-774AC53T.js} +4 -4
- package/dist/{parser-IBWNAPY4.js → parser-BE4YCSRU.js} +3 -3
- package/dist/{parser-4AI5ZN5F.js → parser-CNGUQUQI.js} +3 -3
- package/dist/{parser-36HVKU5U.js → parser-DEUUSQIN.js} +7 -6
- package/dist/{parser-H3XEPFPV.js → parser-DQAFLUJB.js} +4 -4
- package/dist/{parser-5OXGPNBF.js → parser-EYCKNKQA.js} +5 -5
- package/dist/{parser-TGQZJ5OT.js → parser-FXISIU6A.js} +4 -4
- package/dist/{parser-JJR52VAT.js → parser-GTB4XC7P.js} +5 -5
- package/dist/{parser-AGVYTQXV.js → parser-GVEPAUSD.js} +4 -4
- package/dist/{parser-WAV5JRPT.js → parser-HSQGTY4G.js} +4 -4
- package/dist/{parser-YS7TOS2K.js → parser-HVKRINUS.js} +3 -3
- package/dist/{parser-W4PQUGX3.js → parser-J5MIEYO4.js} +5 -5
- package/dist/parser-KMZIXLDZ.js +13 -0
- package/dist/{parser-HYRTF3DO.js → parser-LJHXWSXU.js} +3 -3
- package/dist/{parser-KCR2WS3V.js → parser-PT3W72G5.js} +4 -4
- package/dist/{parser-CVMEDULU.js → parser-SBJQDPHL.js} +4 -4
- package/dist/{parser-RZPVAQVX.js → parser-SUWWWCMX.js} +4 -3
- package/dist/{parser-TXND652E.js → parser-SXDRNZOA.js} +4 -4
- package/dist/parser-UMILOW3M.js +14 -0
- package/dist/{parser-RV4M6AS2.js → parser-UP3AZ367.js} +4 -4
- package/dist/{parser-IJBMRXMC.js → parser-WHPRV3X5.js} +5 -5
- package/dist/{parser-MPCE5JBG.js → parser-WX3UODSJ.js} +4 -4
- package/dist/{parser-K3XXLMUW.js → parser-XCIEN3KN.js} +4 -4
- package/dist/{parser-AXKBDGNO.js → parser-XIRTUMVN.js} +5 -5
- package/dist/{parser-B5FVS7O6.js → parser-YKCGIG45.js} +3 -3
- package/dist/{parser-PSA4UBSP.js → parser-YKYMQG3B.js} +4 -4
- package/dist/{parser-MTOMTWTD.js → parser-ZGM2OJ6Y.js} +6 -5
- package/dist/{parser-CSFUN3CT.js → parser-ZL5QUFVH.js} +5 -4
- package/dist/pert.d.ts +2 -2
- package/dist/{renderer-PPIHO5FI.js → renderer-3F7OS2AX.js} +14 -13
- package/dist/{renderer-SBS3YWU5.js → renderer-4QB4K7Q3.js} +9 -9
- package/dist/{renderer-GHPZMFU2.js → renderer-5DAKMIU2.js} +3 -3
- package/dist/{renderer-R2WNIC2C.js → renderer-5H4SY7YY.js} +9 -9
- package/dist/{renderer-DAXMXIKD.js → renderer-5PIQPFOX.js} +5 -4
- package/dist/{renderer-45PSOL3E.js → renderer-6MU37QF5.js} +6 -6
- package/dist/renderer-AQVMWJ4M.js +27 -0
- package/dist/{renderer-A5VE5BCI.js → renderer-BDDW6K7N.js} +9 -9
- package/dist/{renderer-AUW2BE6G.js → renderer-BNB3VIDY.js} +10 -10
- package/dist/{renderer-4ITCHBT7.js → renderer-CQY6ATOS.js} +6 -6
- package/dist/{renderer-6OKF44KS.js → renderer-CVW75CXL.js} +15 -15
- package/dist/{renderer-7RH2SI3B.js → renderer-DT4XRFEP.js} +5 -4
- package/dist/{renderer-B5TBNZJE.js → renderer-ERHBSTQT.js} +9 -9
- package/dist/{renderer-HVCU2C3Z.js → renderer-HSHHVYWF.js} +5 -4
- package/dist/renderer-IDPVUFNB.js +28 -0
- package/dist/renderer-ILX6BGKR.js +21 -0
- package/dist/renderer-JP663HKG.js +22 -0
- package/dist/{renderer-KS7YZJE2.js → renderer-KNFTTOBL.js} +11 -11
- package/dist/{renderer-2AZ5HJFK.js → renderer-MVUZBESR.js} +5 -5
- package/dist/{renderer-QAOBLRXV.js → renderer-N4EBR2FV.js} +11 -11
- package/dist/{renderer-P5ROYQGU.js → renderer-NHO46CT2.js} +4 -4
- package/dist/{renderer-NGXZTRK6.js → renderer-NO2QJ5LZ.js} +10 -10
- package/dist/{renderer-FPE3J5VZ.js → renderer-OGFV5RXX.js} +12 -12
- package/dist/{renderer-ODUUOPVT.js → renderer-PDLESJMS.js} +15 -15
- package/dist/renderer-T4MTNINC.js +24 -0
- package/dist/renderer-TOUGFGTM.js +24 -0
- package/dist/{renderer-BSR2O2H6.js → renderer-U3KPD43Y.js} +14 -13
- package/dist/{renderer-JCCHNECZ.js → renderer-X334IJU2.js} +10 -10
- package/dist/{renderer-5DSEWF74.js → renderer-Y5OAMOCR.js} +9 -9
- package/dist/{renderer-5KVCNMOJ.js → renderer-YONAKAJU.js} +5 -3
- package/dist/{renderer-7SD6MSBS.js → renderer-YWMI6Y2U.js} +12 -12
- package/dist/{renderer-2QPMJ2DA.js → renderer-ZWIH4WDW.js} +10 -10
- package/dist/renderer-radial-7CGZMVMS.js +21 -0
- package/dist/{resolver-FHBCO3PL.js → resolver-EMTGNR3D.js} +4 -3
- package/dist/{state-parser-3REXRK3R.js → state-parser-BATWAID2.js} +4 -4
- package/dist/{state-renderer-XYLNRWXR.js → state-renderer-3FKZJ3LP.js} +10 -10
- package/dist/{themes-PdPR1-hC.d.ts → themes-32xj5ZTW.d.ts} +27 -0
- package/docs/ai-integration.md +15 -19
- package/docs/language-reference.md +106 -21
- package/gallery/fixtures/clock.dgmo +3 -3
- package/gallery/fixtures/countdown-tz.dgmo +5 -0
- package/package.json +1 -1
- package/dist/charts-d3-MUW3LTML.js +0 -26
- package/dist/dgmo-router-CE2G67FV.js +0 -84
- package/dist/dimensions-OTBKC5M6.js +0 -22
- package/dist/layout-6RDJHS6E.js +0 -9
- package/dist/layout-J36454XU.js +0 -14
- package/dist/layout-LD6XTLD6.js +0 -14
- package/dist/parser-4WQQQXCG.js +0 -13
- package/dist/parser-O4HIUN6G.js +0 -13
- package/dist/renderer-CYB4LK3G.js +0 -22
- package/dist/renderer-FF24KZCI.js +0 -24
- package/dist/renderer-FYSVXL7M.js +0 -28
- package/dist/renderer-HDCCZURL.js +0 -24
- package/dist/renderer-PSMMZCKH.js +0 -21
- package/dist/renderer-UYMQQCJK.js +0 -24
- package/dist/renderer-radial-F7X5F2VU.js +0 -21
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderTimeline
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7KINELPI.js";
|
|
4
4
|
import {
|
|
5
5
|
ScaleContext
|
|
6
6
|
} from "./chunk-YYVTBZZC.js";
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
parseVenn,
|
|
15
15
|
parseVisualization,
|
|
16
16
|
parseWordcloud
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZEF5M5MB.js";
|
|
18
18
|
import {
|
|
19
19
|
renderDataChartD3
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DYWQFQJP.js";
|
|
21
21
|
import {
|
|
22
22
|
computeQuadrantPointLabels
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VL2O2F3W.js";
|
|
24
24
|
import {
|
|
25
25
|
EXPORT_HEIGHT,
|
|
26
26
|
EXPORT_WIDTH,
|
|
@@ -32,14 +32,14 @@ import {
|
|
|
32
32
|
renderChartTitle,
|
|
33
33
|
resolveExportPalette,
|
|
34
34
|
showTooltip
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-QBZYACOG.js";
|
|
36
36
|
import {
|
|
37
37
|
FONT_FAMILY
|
|
38
38
|
} from "./chunk-6KFWC4CO.js";
|
|
39
39
|
import {
|
|
40
40
|
measureText,
|
|
41
41
|
wrapTextToWidth
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-WCT3NYCV.js";
|
|
43
43
|
import {
|
|
44
44
|
getPalette
|
|
45
45
|
} from "./chunk-R3XI2VC7.js";
|
|
@@ -47,11 +47,11 @@ import {
|
|
|
47
47
|
getSeriesColors,
|
|
48
48
|
mix,
|
|
49
49
|
themeBaseBg
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-WBM7ZNDI.js";
|
|
51
51
|
import {
|
|
52
52
|
resolveActiveTagGroup,
|
|
53
53
|
tagAttrKey
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-HHKO6SKY.js";
|
|
55
55
|
import {
|
|
56
56
|
__commonJS,
|
|
57
57
|
__toESM
|
|
@@ -814,8 +814,10 @@ var ARC_NODE_LABEL_Y_OFFSET = 20;
|
|
|
814
814
|
var ARC_STROKE_MIN = 1.5;
|
|
815
815
|
var ARC_STROKE_MAX = 6;
|
|
816
816
|
var ARC_BASELINE_STROKE_WIDTH = 1;
|
|
817
|
-
function renderArcDiagram(container, parsed, palette,
|
|
817
|
+
function renderArcDiagram(container, parsed, palette, isDark, onClickItem, exportDims) {
|
|
818
818
|
const { links, orientation, arcOrder, arcNodeGroups } = parsed;
|
|
819
|
+
const outlineDots = parsed.fillMode === "outline";
|
|
820
|
+
const hollowFill = themeBaseBg(palette, isDark);
|
|
819
821
|
const title = parsed.noTitle ? null : parsed.title;
|
|
820
822
|
if (links.length === 0) return;
|
|
821
823
|
const init = initD3Chart(container, palette, exportDims);
|
|
@@ -972,7 +974,10 @@ function renderArcDiagram(container, parsed, palette, _isDark, onClickItem, expo
|
|
|
972
974
|
const minY = Math.min(...positions) - bandPad;
|
|
973
975
|
const maxY = Math.max(...positions) + bandPad;
|
|
974
976
|
const midYBand = (minY + maxY) / 2;
|
|
975
|
-
g.append("rect").attr("class", "arc-group-band").attr("data-group", group.name).attr("data-line-number", String(group.lineNumber)).attr("x", bandLeft).attr("y", minY).attr("width", bandRight - bandLeft).attr("height", maxY - minY).attr("rx", sBandRadius).attr("fill", group.color ?? textColor).attr("fill-opacity", group.color ? 0.15 : 0.06).
|
|
977
|
+
g.append("rect").attr("class", "arc-group-band").attr("data-group", group.name).attr("data-line-number", String(group.lineNumber)).attr("x", bandLeft).attr("y", minY).attr("width", bandRight - bandLeft).attr("height", maxY - minY).attr("rx", sBandRadius).attr("fill", outlineDots ? "none" : group.color ?? textColor).attr("fill-opacity", group.color ? 0.15 : 0.06).call((sel) => {
|
|
978
|
+
if (outlineDots)
|
|
979
|
+
sel.attr("stroke", group.color ?? textColor).attr("stroke-width", 1.25);
|
|
980
|
+
}).style("cursor", "pointer").on("mouseenter", () => handleGroupEnter(group.name)).on("mouseleave", handleMouseLeave).on("click", () => {
|
|
976
981
|
if (onClickItem) onClickItem(group.lineNumber);
|
|
977
982
|
});
|
|
978
983
|
const nameX = bandLeft + vNameColW / 2;
|
|
@@ -1006,7 +1011,10 @@ function renderArcDiagram(container, parsed, palette, _isDark, onClickItem, expo
|
|
|
1006
1011
|
if (onClickItem && nodeLink?.lineNumber)
|
|
1007
1012
|
onClickItem(nodeLink.lineNumber);
|
|
1008
1013
|
});
|
|
1009
|
-
nodeG.append("circle").attr("cx", baseX).attr("cy", y).attr("r", sNodeRadius).attr("fill", nodeColor).attr("stroke", bgColor).attr(
|
|
1014
|
+
nodeG.append("circle").attr("cx", baseX).attr("cy", y).attr("r", sNodeRadius).attr("fill", outlineDots ? hollowFill : nodeColor).attr("stroke", outlineDots ? nodeColor : bgColor).attr(
|
|
1015
|
+
"stroke-width",
|
|
1016
|
+
outlineDots ? ctx.structural(2) : sNodeStrokeWidth
|
|
1017
|
+
);
|
|
1010
1018
|
nodeG.append("text").attr("x", baseX - sNodeLabelXOffset).attr("y", y).attr("dy", "0.35em").attr("text-anchor", "end").attr("fill", textColor).attr("font-size", `${sNodeLabelFont}px`).text(node);
|
|
1011
1019
|
}
|
|
1012
1020
|
} else {
|
|
@@ -1086,7 +1094,10 @@ function renderArcDiagram(container, parsed, palette, _isDark, onClickItem, expo
|
|
|
1086
1094
|
const bandFill = group.color ?? textColor;
|
|
1087
1095
|
const bandFillOpacity = group.color ? 0.15 : 0.06;
|
|
1088
1096
|
const nameY = baseY + nodeLabelDepth + sGroupLabelFont;
|
|
1089
|
-
g.append("rect").attr("class", "arc-group-band").attr("data-group", group.name).attr("data-line-number", String(group.lineNumber)).attr("x", bandLeft).attr("y", bandTopY).attr("width", bandRight - bandLeft).attr("height", bandBottomY - bandTopY).attr("rx", sBandRadius).attr("fill", bandFill).attr("fill-opacity", bandFillOpacity).
|
|
1097
|
+
g.append("rect").attr("class", "arc-group-band").attr("data-group", group.name).attr("data-line-number", String(group.lineNumber)).attr("x", bandLeft).attr("y", bandTopY).attr("width", bandRight - bandLeft).attr("height", bandBottomY - bandTopY).attr("rx", sBandRadius).attr("fill", outlineDots ? "none" : bandFill).attr("fill-opacity", bandFillOpacity).call((sel) => {
|
|
1098
|
+
if (outlineDots)
|
|
1099
|
+
sel.attr("stroke", bandFill).attr("stroke-width", 1.25);
|
|
1100
|
+
}).style("cursor", "pointer").on("mouseenter", () => handleGroupEnter(group.name)).on("mouseleave", handleMouseLeave).on("click", () => {
|
|
1090
1101
|
if (onClickItem) onClickItem(group.lineNumber);
|
|
1091
1102
|
});
|
|
1092
1103
|
g.append("text").attr("class", "arc-group-label").attr("data-group", group.name).attr("data-line-number", String(group.lineNumber)).attr("x", (minP + maxP) / 2).attr("y", nameY).attr("text-anchor", "middle").attr("fill", textColor).attr("font-size", `${sGroupLabelFont}px`).attr("font-weight", "600").attr("fill-opacity", 0.6).style("cursor", onClickItem ? "pointer" : "default").text(group.name).on("mouseenter", () => handleGroupEnter(group.name)).on("mouseleave", handleMouseLeave).on("click", () => {
|
|
@@ -1119,7 +1130,10 @@ function renderArcDiagram(container, parsed, palette, _isDark, onClickItem, expo
|
|
|
1119
1130
|
if (onClickItem && nodeLink?.lineNumber)
|
|
1120
1131
|
onClickItem(nodeLink.lineNumber);
|
|
1121
1132
|
});
|
|
1122
|
-
nodeG.append("circle").attr("cx", x).attr("cy", baseY).attr("r", sNodeRadius).attr("fill", nodeColor).attr("stroke", bgColor).attr(
|
|
1133
|
+
nodeG.append("circle").attr("cx", x).attr("cy", baseY).attr("r", sNodeRadius).attr("fill", outlineDots ? hollowFill : nodeColor).attr("stroke", outlineDots ? nodeColor : bgColor).attr(
|
|
1134
|
+
"stroke-width",
|
|
1135
|
+
outlineDots ? ctx.structural(2) : sNodeStrokeWidth
|
|
1136
|
+
);
|
|
1123
1137
|
const labelY = rotateLabels ? baseY + labelPivotGap : baseY + sNodeLabelYOffset;
|
|
1124
1138
|
const nodeLabel = nodeG.append("text").attr("x", x).attr("y", labelY).attr("text-anchor", rotateLabels ? "end" : "middle").attr("fill", textColor).attr("font-size", `${sNodeLabelFont}px`).text(node);
|
|
1125
1139
|
if (rotateLabels) {
|
|
@@ -1377,7 +1391,7 @@ function regionCentroid(circles, inside) {
|
|
|
1377
1391
|
}
|
|
1378
1392
|
function renderVenn(container, parsed, palette, _isDark, onClickItem, exportDims) {
|
|
1379
1393
|
const { vennSets, vennOverlaps } = parsed;
|
|
1380
|
-
const
|
|
1394
|
+
const fillMode = parsed.fillMode;
|
|
1381
1395
|
const title = parsed.noTitle ? null : parsed.title;
|
|
1382
1396
|
if (vennSets.length < 2 || vennSets.length > 3) return;
|
|
1383
1397
|
const init = initD3Chart(container, palette, exportDims);
|
|
@@ -1531,7 +1545,10 @@ function renderVenn(container, parsed, palette, _isDark, onClickItem, exportDims
|
|
|
1531
1545
|
const circleEls = [];
|
|
1532
1546
|
const circleGroup = svg.append("g");
|
|
1533
1547
|
circles.forEach((c, i) => {
|
|
1534
|
-
const el = circleGroup.append("circle").attr("cx", c.x).attr("cy", c.y).attr("r", c.r).attr("fill", setColors[i]).attr(
|
|
1548
|
+
const el = circleGroup.append("circle").attr("cx", c.x).attr("cy", c.y).attr("r", c.r).attr("fill", setColors[i]).attr(
|
|
1549
|
+
"fill-opacity",
|
|
1550
|
+
fillMode === "solid" ? 0.6 : fillMode === "outline" ? 0 : 0.35
|
|
1551
|
+
).attr("stroke", setColors[i]).attr("stroke-width", ctx.structural(2)).style("pointer-events", "none");
|
|
1535
1552
|
circleEls.push(el);
|
|
1536
1553
|
});
|
|
1537
1554
|
const defs = svg.append("defs");
|
|
@@ -2249,7 +2266,7 @@ function renderQuadrant(container, parsed, palette, isDark, onClickItem, exportD
|
|
|
2249
2266
|
if (placed.connectorLine) {
|
|
2250
2267
|
pointG.append("line").attr("x1", placed.connectorLine.x1).attr("y1", placed.connectorLine.y1).attr("x2", placed.connectorLine.x2).attr("y2", placed.connectorLine.y2).attr("stroke", pointColor).attr("stroke-width", 1).attr("opacity", 0.5);
|
|
2251
2268
|
}
|
|
2252
|
-
pointG.append("circle").attr("cx", cx).attr("cy", cy).attr("r", POINT_RADIUS).attr("fill", "#ffffff").attr("stroke", pointColor).attr("stroke-width", ctx.structural(2));
|
|
2269
|
+
pointG.append("circle").attr("cx", cx).attr("cy", cy).attr("r", POINT_RADIUS).attr("fill", parsed.fillMode === "outline" ? bg : "#ffffff").attr("stroke", pointColor).attr("stroke-width", ctx.structural(2));
|
|
2253
2270
|
const labelText = pointG.append("text").attr("x", placed.x).attr("y", placed.y).attr("text-anchor", placed.anchor).attr("dominant-baseline", "central").attr("fill", textColor).attr("font-size", `${POINT_LABEL_FONT_SIZE}px`).attr("font-weight", "700").style("text-shadow", `0 1px 2px ${shadowColor}`).style("transition", "y 120ms ease-out");
|
|
2254
2271
|
labelText.append("tspan").text(point.label);
|
|
2255
2272
|
const coordsTspan = labelText.append("tspan").attr("class", "point-coords").attr("x", placed.x).attr("dy", `${POINT_LABEL_FONT_SIZE}px`).attr("font-size", `${ctx.text(10)}px`).attr("font-weight", "500").attr("opacity", 0).text(`${point.x.toFixed(2)}, ${point.y.toFixed(2)}`);
|
|
@@ -2354,6 +2371,9 @@ function resolveArcChordOverride(content, detectedType, palette) {
|
|
|
2354
2371
|
if (!p.error && p.layout === "chord" && p.links.length) {
|
|
2355
2372
|
const emitted = [
|
|
2356
2373
|
`chord ${p.title ?? ""}`.trimEnd(),
|
|
2374
|
+
// §1.9 fill family survives the layout re-emit so the circular
|
|
2375
|
+
// renderer honors fill-solid / fill-outline authored on the arc.
|
|
2376
|
+
...p.fillMode ? [`fill-${p.fillMode}`] : [],
|
|
2357
2377
|
...p.links.map((l) => `${l.source} -> ${l.target} ${l.value}`)
|
|
2358
2378
|
].join("\n");
|
|
2359
2379
|
return { content: emitted, type: "chord" };
|
|
@@ -2363,13 +2383,13 @@ function resolveArcChordOverride(content, detectedType, palette) {
|
|
|
2363
2383
|
}
|
|
2364
2384
|
async function renderForExport(content, theme, palette, viewState, options) {
|
|
2365
2385
|
const exportMode = options?.exportMode ?? false;
|
|
2366
|
-
const { parseDgmoChartType } = await import("./dgmo-router-
|
|
2386
|
+
const { parseDgmoChartType } = await import("./dgmo-router-X7ZGAPIE.js");
|
|
2367
2387
|
const detectedTypeRaw = parseDgmoChartType(content);
|
|
2368
2388
|
const override = resolveArcChordOverride(content, detectedTypeRaw, palette);
|
|
2369
2389
|
const renderContent = override?.content ?? content;
|
|
2370
2390
|
const detectedType = override?.type ?? detectedTypeRaw;
|
|
2371
2391
|
if (detectedType !== null) {
|
|
2372
|
-
const { supportsD3DataChart, renderDataChartD3: renderDataChartD32 } = await import("./charts-d3-
|
|
2392
|
+
const { supportsD3DataChart, renderDataChartD3: renderDataChartD32 } = await import("./charts-d3-MXEP6BNP.js");
|
|
2373
2393
|
if (supportsD3DataChart(detectedType)) {
|
|
2374
2394
|
return renderDataChartD32(renderContent, theme, palette);
|
|
2375
2395
|
}
|
|
@@ -2391,8 +2411,8 @@ function ctxTagOverride(ctx) {
|
|
|
2391
2411
|
}
|
|
2392
2412
|
async function exportEventLine(ctx) {
|
|
2393
2413
|
const { content, theme, palette } = ctx;
|
|
2394
|
-
const { parseEventLine } = await import("./parser-
|
|
2395
|
-
const { renderEventLineForExport } = await import("./renderer-
|
|
2414
|
+
const { parseEventLine } = await import("./parser-UMILOW3M.js");
|
|
2415
|
+
const { renderEventLineForExport } = await import("./renderer-3F7OS2AX.js");
|
|
2396
2416
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2397
2417
|
const parsed = parseEventLine(content, effectivePalette);
|
|
2398
2418
|
if (parsed.error || parsed.events.length === 0) return "";
|
|
@@ -2409,8 +2429,8 @@ async function exportEventLine(ctx) {
|
|
|
2409
2429
|
}
|
|
2410
2430
|
async function exportBody(ctx) {
|
|
2411
2431
|
const { content, theme, palette } = ctx;
|
|
2412
|
-
const { parseBody } = await import("./parser-
|
|
2413
|
-
const { renderBodyForExport } = await import("./renderer-
|
|
2432
|
+
const { parseBody } = await import("./parser-SBJQDPHL.js");
|
|
2433
|
+
const { renderBodyForExport } = await import("./renderer-ILX6BGKR.js");
|
|
2414
2434
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2415
2435
|
const parsed = parseBody(content, effectivePalette);
|
|
2416
2436
|
if (parsed.error) return "";
|
|
@@ -2427,8 +2447,8 @@ async function exportBody(ctx) {
|
|
|
2427
2447
|
}
|
|
2428
2448
|
async function exportVersionControl(ctx) {
|
|
2429
2449
|
const { content, theme, palette } = ctx;
|
|
2430
|
-
const { parseVersionControl } = await import("./parser-
|
|
2431
|
-
const { renderVersionControlForExport } = await import("./renderer-
|
|
2450
|
+
const { parseVersionControl } = await import("./parser-CNGUQUQI.js");
|
|
2451
|
+
const { renderVersionControlForExport } = await import("./renderer-5DAKMIU2.js");
|
|
2432
2452
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2433
2453
|
const parsed = parseVersionControl(content, effectivePalette);
|
|
2434
2454
|
if (parsed.error || parsed.nodes.length === 0) return "";
|
|
@@ -2452,10 +2472,10 @@ function unionHiddenAttributes(hideOption, ha) {
|
|
|
2452
2472
|
}
|
|
2453
2473
|
async function exportOrg(ctx) {
|
|
2454
2474
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2455
|
-
const { parseOrg } = await import("./parser-
|
|
2456
|
-
const { layoutOrg } = await import("./layout-
|
|
2475
|
+
const { parseOrg } = await import("./parser-PT3W72G5.js");
|
|
2476
|
+
const { layoutOrg } = await import("./layout-VMCRX66I.js");
|
|
2457
2477
|
const { collapseOrgTree } = await import("./collapse-CLPJD2RL.js");
|
|
2458
|
-
const { renderOrg } = await import("./renderer-
|
|
2478
|
+
const { renderOrg } = await import("./renderer-IDPVUFNB.js");
|
|
2459
2479
|
const isDark = ctx.isDark;
|
|
2460
2480
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2461
2481
|
const orgParsed = parseOrg(content, effectivePalette);
|
|
@@ -2501,10 +2521,10 @@ async function exportOrg(ctx) {
|
|
|
2501
2521
|
}
|
|
2502
2522
|
async function exportSitemap(ctx) {
|
|
2503
2523
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2504
|
-
const { parseSitemap } = await import("./parser-
|
|
2505
|
-
const { layoutSitemap } = await import("./layout-
|
|
2524
|
+
const { parseSitemap } = await import("./parser-2ECN6JA2.js");
|
|
2525
|
+
const { layoutSitemap } = await import("./layout-A4XWNVID.js");
|
|
2506
2526
|
const { collapseSitemapTree } = await import("./collapse-ZWUFFCK2.js");
|
|
2507
|
-
const { renderSitemap } = await import("./renderer-
|
|
2527
|
+
const { renderSitemap } = await import("./renderer-X334IJU2.js");
|
|
2508
2528
|
const isDark = ctx.isDark;
|
|
2509
2529
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2510
2530
|
const sitemapParsed = parseSitemap(content, effectivePalette);
|
|
@@ -2548,8 +2568,8 @@ async function exportSitemap(ctx) {
|
|
|
2548
2568
|
}
|
|
2549
2569
|
async function exportKanban(ctx) {
|
|
2550
2570
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2551
|
-
const { parseKanban } = await import("./parser-
|
|
2552
|
-
const { renderKanban } = await import("./renderer-
|
|
2571
|
+
const { parseKanban } = await import("./parser-XCIEN3KN.js");
|
|
2572
|
+
const { renderKanban } = await import("./renderer-BNB3VIDY.js");
|
|
2553
2573
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2554
2574
|
const kanbanParsed = parseKanban(content, effectivePalette);
|
|
2555
2575
|
if (kanbanParsed.error || kanbanParsed.columns.length === 0) return "";
|
|
@@ -2580,9 +2600,9 @@ async function exportKanban(ctx) {
|
|
|
2580
2600
|
}
|
|
2581
2601
|
async function exportClass(ctx) {
|
|
2582
2602
|
const { content, theme, palette, exportMode } = ctx;
|
|
2583
|
-
const { parseClassDiagram } = await import("./parser-
|
|
2584
|
-
const { layoutClassDiagram } = await import("./layout-
|
|
2585
|
-
const { renderClassDiagram } = await import("./renderer-
|
|
2603
|
+
const { parseClassDiagram } = await import("./parser-HSQGTY4G.js");
|
|
2604
|
+
const { layoutClassDiagram } = await import("./layout-46N4JJYK.js");
|
|
2605
|
+
const { renderClassDiagram } = await import("./renderer-PDLESJMS.js");
|
|
2586
2606
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2587
2607
|
const classParsed = parseClassDiagram(content, effectivePalette);
|
|
2588
2608
|
if (classParsed.error || classParsed.classes.length === 0) return "";
|
|
@@ -2607,9 +2627,9 @@ async function exportClass(ctx) {
|
|
|
2607
2627
|
}
|
|
2608
2628
|
async function exportEr(ctx) {
|
|
2609
2629
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2610
|
-
const { parseERDiagram } = await import("./parser-
|
|
2611
|
-
const { layoutERDiagram } = await import("./layout-
|
|
2612
|
-
const { renderERDiagram } = await import("./renderer-
|
|
2630
|
+
const { parseERDiagram } = await import("./parser-WHPRV3X5.js");
|
|
2631
|
+
const { layoutERDiagram } = await import("./layout-EE6GE46Y.js");
|
|
2632
|
+
const { renderERDiagram } = await import("./renderer-CVW75CXL.js");
|
|
2613
2633
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2614
2634
|
const erParsed = parseERDiagram(content, effectivePalette);
|
|
2615
2635
|
if (erParsed.error || erParsed.tables.length === 0) return "";
|
|
@@ -2641,14 +2661,14 @@ async function exportEr(ctx) {
|
|
|
2641
2661
|
}
|
|
2642
2662
|
async function exportSketch(ctx) {
|
|
2643
2663
|
const { content, theme, viewState, exportMode } = ctx;
|
|
2644
|
-
const { parseSketch } = await import("./parser-
|
|
2664
|
+
const { parseSketch } = await import("./parser-J5MIEYO4.js");
|
|
2645
2665
|
const effectivePalette = await resolveExportPalette(theme, ctx.palette);
|
|
2646
2666
|
const parsed = parseSketch(content, effectivePalette);
|
|
2647
2667
|
if (parsed.error || parsed.nodes.length === 0 && parsed.boxes.length === 0) {
|
|
2648
2668
|
return "";
|
|
2649
2669
|
}
|
|
2650
|
-
const { layoutSketch } = await import("./layout-
|
|
2651
|
-
const { renderSketchForExport } = await import("./renderer-
|
|
2670
|
+
const { layoutSketch } = await import("./layout-A5UHRWVH.js");
|
|
2671
|
+
const { renderSketchForExport } = await import("./renderer-T4MTNINC.js");
|
|
2652
2672
|
const collapsedBoxes = viewState?.cg ? new Set(viewState.cg) : void 0;
|
|
2653
2673
|
const skLayout = layoutSketch(parsed, {
|
|
2654
2674
|
...collapsedBoxes !== void 0 && { collapsedBoxes }
|
|
@@ -2675,7 +2695,7 @@ async function exportSketch(ctx) {
|
|
|
2675
2695
|
}
|
|
2676
2696
|
async function exportBoxesAndLines(ctx) {
|
|
2677
2697
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2678
|
-
const { parseBoxesAndLines } = await import("./parser-
|
|
2698
|
+
const { parseBoxesAndLines } = await import("./parser-XIRTUMVN.js");
|
|
2679
2699
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2680
2700
|
const blParsed = parseBoxesAndLines(content, effectivePalette);
|
|
2681
2701
|
if (blParsed.error || blParsed.nodes.length === 0) return "";
|
|
@@ -2686,8 +2706,8 @@ async function exportBoxesAndLines(ctx) {
|
|
|
2686
2706
|
blHiddenTagValues.set(k, new Set(v));
|
|
2687
2707
|
}
|
|
2688
2708
|
}
|
|
2689
|
-
const { renderBoxesAndLinesForExport } = await import("./renderer-
|
|
2690
|
-
const { layoutBoxesAndLines } = await import("./layout-
|
|
2709
|
+
const { renderBoxesAndLinesForExport } = await import("./renderer-NO2QJ5LZ.js");
|
|
2710
|
+
const { layoutBoxesAndLines } = await import("./layout-OAC4PEAC.js");
|
|
2691
2711
|
const blLayout = await layoutBoxesAndLines(blParsed);
|
|
2692
2712
|
const PADDING = 20;
|
|
2693
2713
|
const titleOffset = blParsed.title ? 40 : 0;
|
|
@@ -2716,9 +2736,9 @@ async function exportBoxesAndLines(ctx) {
|
|
|
2716
2736
|
}
|
|
2717
2737
|
async function exportSwimlane(ctx) {
|
|
2718
2738
|
const { content, theme, palette } = ctx;
|
|
2719
|
-
const { parseSwimlane } = await import("./parser-
|
|
2720
|
-
const { layoutSwimlane } = await import("./layout-
|
|
2721
|
-
const { renderSwimlaneForExport } = await import("./renderer-
|
|
2739
|
+
const { parseSwimlane } = await import("./parser-WX3UODSJ.js");
|
|
2740
|
+
const { layoutSwimlane } = await import("./layout-ZDOSXL5G.js");
|
|
2741
|
+
const { renderSwimlaneForExport } = await import("./renderer-MVUZBESR.js");
|
|
2722
2742
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2723
2743
|
const swimParsed = parseSwimlane(content, effectivePalette);
|
|
2724
2744
|
if (swimParsed.error || swimParsed.nodes.length === 0) return "";
|
|
@@ -2748,9 +2768,9 @@ async function exportSwimlane(ctx) {
|
|
|
2748
2768
|
}
|
|
2749
2769
|
async function exportFamily(ctx) {
|
|
2750
2770
|
const { content, theme, palette } = ctx;
|
|
2751
|
-
const { parseFamily } = await import("./parser-
|
|
2752
|
-
const { layoutFamily } = await import("./layout-
|
|
2753
|
-
const { renderFamilyForExport } = await import("./renderer-
|
|
2771
|
+
const { parseFamily } = await import("./parser-FXISIU6A.js");
|
|
2772
|
+
const { layoutFamily } = await import("./layout-F4WO357A.js");
|
|
2773
|
+
const { renderFamilyForExport } = await import("./renderer-Y5OAMOCR.js");
|
|
2754
2774
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2755
2775
|
const parsed = parseFamily(content, effectivePalette);
|
|
2756
2776
|
if (parsed.error || parsed.persons.size === 0) return "";
|
|
@@ -2780,10 +2800,10 @@ async function exportFamily(ctx) {
|
|
|
2780
2800
|
}
|
|
2781
2801
|
async function exportMindmap(ctx) {
|
|
2782
2802
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2783
|
-
const { parseMindmap } = await import("./parser-
|
|
2784
|
-
const { layoutMindmap } = await import("./layout-
|
|
2803
|
+
const { parseMindmap } = await import("./parser-774AC53T.js");
|
|
2804
|
+
const { layoutMindmap } = await import("./layout-GQQJXNYH.js");
|
|
2785
2805
|
const { collapseMindmapTree } = await import("./collapse-SLINJQW6.js");
|
|
2786
|
-
const { renderMindmap } = await import("./renderer-
|
|
2806
|
+
const { renderMindmap } = await import("./renderer-N4EBR2FV.js");
|
|
2787
2807
|
const isDark = ctx.isDark;
|
|
2788
2808
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2789
2809
|
const mmParsed = parseMindmap(content, effectivePalette);
|
|
@@ -2833,9 +2853,9 @@ async function exportMindmap(ctx) {
|
|
|
2833
2853
|
}
|
|
2834
2854
|
async function exportWireframe(ctx) {
|
|
2835
2855
|
const { content, theme, palette } = ctx;
|
|
2836
|
-
const { parseWireframe } = await import("./parser-
|
|
2837
|
-
const { layoutWireframe } = await import("./layout-
|
|
2838
|
-
const { renderWireframe } = await import("./renderer-
|
|
2856
|
+
const { parseWireframe } = await import("./parser-YKYMQG3B.js");
|
|
2857
|
+
const { layoutWireframe } = await import("./layout-G23F7LDH.js");
|
|
2858
|
+
const { renderWireframe } = await import("./renderer-5PIQPFOX.js");
|
|
2839
2859
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2840
2860
|
const wireframeParsed = parseWireframe(content);
|
|
2841
2861
|
if (wireframeParsed.error || wireframeParsed.roots.length === 0 && wireframeParsed.modals.length === 0)
|
|
@@ -2858,14 +2878,14 @@ async function exportWireframe(ctx) {
|
|
|
2858
2878
|
}
|
|
2859
2879
|
async function exportC4(ctx) {
|
|
2860
2880
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
2861
|
-
const { parseC4 } = await import("./parser-
|
|
2881
|
+
const { parseC4 } = await import("./parser-75KVXUNS.js");
|
|
2862
2882
|
const {
|
|
2863
2883
|
layoutC4Context,
|
|
2864
2884
|
layoutC4Containers,
|
|
2865
2885
|
layoutC4Components,
|
|
2866
2886
|
layoutC4Deployment
|
|
2867
|
-
} = await import("./layout-
|
|
2868
|
-
const { renderC4Context, renderC4Containers } = await import("./renderer-
|
|
2887
|
+
} = await import("./layout-2L3WMRYU.js");
|
|
2888
|
+
const { renderC4Context, renderC4Containers } = await import("./renderer-KNFTTOBL.js");
|
|
2869
2889
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2870
2890
|
const c4Parsed = parseC4(content, effectivePalette);
|
|
2871
2891
|
if (c4Parsed.error || c4Parsed.elements.length === 0) return "";
|
|
@@ -2899,9 +2919,9 @@ async function exportC4(ctx) {
|
|
|
2899
2919
|
}
|
|
2900
2920
|
async function exportFlowchart(ctx) {
|
|
2901
2921
|
const { content, theme, palette } = ctx;
|
|
2902
|
-
const { parseFlowchart } = await import("./flowchart-parser-
|
|
2903
|
-
const { layoutGraph } = await import("./layout-
|
|
2904
|
-
const { renderFlowchart } = await import("./flowchart-renderer-
|
|
2922
|
+
const { parseFlowchart } = await import("./flowchart-parser-UKELHBSB.js");
|
|
2923
|
+
const { layoutGraph } = await import("./layout-IIE2S5FK.js");
|
|
2924
|
+
const { renderFlowchart } = await import("./flowchart-renderer-MNCDS7MV.js");
|
|
2905
2925
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2906
2926
|
const fcParsed = parseFlowchart(content, effectivePalette);
|
|
2907
2927
|
if (fcParsed.error || fcParsed.nodes.length === 0) return "";
|
|
@@ -2920,10 +2940,10 @@ async function exportFlowchart(ctx) {
|
|
|
2920
2940
|
}
|
|
2921
2941
|
async function exportInfra(ctx) {
|
|
2922
2942
|
const { content, theme, palette, viewState } = ctx;
|
|
2923
|
-
const { parseInfra } = await import("./parser-
|
|
2943
|
+
const { parseInfra } = await import("./parser-EYCKNKQA.js");
|
|
2924
2944
|
const { computeInfra } = await import("./compute-G55RG53N.js");
|
|
2925
|
-
const { layoutInfra } = await import("./layout-
|
|
2926
|
-
const { renderInfra, computeInfraLegendGroups } = await import("./renderer-
|
|
2945
|
+
const { layoutInfra } = await import("./layout-7QXCNOVS.js");
|
|
2946
|
+
const { renderInfra, computeInfraLegendGroups } = await import("./renderer-OGFV5RXX.js");
|
|
2927
2947
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2928
2948
|
const infraParsed = parseInfra(content);
|
|
2929
2949
|
if (infraParsed.error || infraParsed.nodes.length === 0) return "";
|
|
@@ -2970,10 +2990,10 @@ async function exportInfra(ctx) {
|
|
|
2970
2990
|
}
|
|
2971
2991
|
async function exportPert(ctx) {
|
|
2972
2992
|
const { content, theme, palette, viewState } = ctx;
|
|
2973
|
-
const { parsePert } = await import("./parser-
|
|
2974
|
-
const { analyzePert } = await import("./analyzer-
|
|
2975
|
-
const { layoutPert } = await import("./layout-
|
|
2976
|
-
const { renderPert, measurePertAnalysisBlock } = await import("./renderer-
|
|
2993
|
+
const { parsePert } = await import("./parser-ZGM2OJ6Y.js");
|
|
2994
|
+
const { analyzePert } = await import("./analyzer-BJ54GIFB.js");
|
|
2995
|
+
const { layoutPert } = await import("./layout-AM2JWW3X.js");
|
|
2996
|
+
const { renderPert, measurePertAnalysisBlock } = await import("./renderer-U3KPD43Y.js");
|
|
2977
2997
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
2978
2998
|
const pertParsed = parsePert(content, { palette: effectivePalette });
|
|
2979
2999
|
if (pertParsed.error || pertParsed.activities.length === 0) return "";
|
|
@@ -3011,9 +3031,9 @@ async function exportPert(ctx) {
|
|
|
3011
3031
|
}
|
|
3012
3032
|
async function exportGantt(ctx) {
|
|
3013
3033
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
3014
|
-
const { parseGantt } = await import("./parser-
|
|
3034
|
+
const { parseGantt } = await import("./parser-DEUUSQIN.js");
|
|
3015
3035
|
const { calculateSchedule } = await import("./calculator-LDYQCDDY.js");
|
|
3016
|
-
const { renderGantt } = await import("./renderer-
|
|
3036
|
+
const { renderGantt } = await import("./renderer-ERHBSTQT.js");
|
|
3017
3037
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3018
3038
|
const ganttParsed = parseGantt(content, effectivePalette);
|
|
3019
3039
|
const resolved = calculateSchedule(ganttParsed);
|
|
@@ -3054,9 +3074,9 @@ async function exportGantt(ctx) {
|
|
|
3054
3074
|
}
|
|
3055
3075
|
async function exportState(ctx) {
|
|
3056
3076
|
const { content, theme, palette, viewState } = ctx;
|
|
3057
|
-
const { parseState } = await import("./state-parser-
|
|
3058
|
-
const { layoutGraph } = await import("./layout-
|
|
3059
|
-
const { renderState } = await import("./state-renderer-
|
|
3077
|
+
const { parseState } = await import("./state-parser-BATWAID2.js");
|
|
3078
|
+
const { layoutGraph } = await import("./layout-IIE2S5FK.js");
|
|
3079
|
+
const { renderState } = await import("./state-renderer-3FKZJ3LP.js");
|
|
3060
3080
|
const { collapseStateGroups } = await import("./state-collapse-HCGD6IVJ.js");
|
|
3061
3081
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3062
3082
|
const stateParsed = parseState(content, effectivePalette);
|
|
@@ -3093,8 +3113,8 @@ async function exportState(ctx) {
|
|
|
3093
3113
|
}
|
|
3094
3114
|
async function exportTechRadar(ctx) {
|
|
3095
3115
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
3096
|
-
const { parseTechRadar } = await import("./parser-
|
|
3097
|
-
const { renderTechRadarForExport } = await import("./renderer-
|
|
3116
|
+
const { parseTechRadar } = await import("./parser-4WTIHM5J.js");
|
|
3117
|
+
const { renderTechRadarForExport } = await import("./renderer-5H4SY7YY.js");
|
|
3098
3118
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3099
3119
|
const radarParsed = parseTechRadar(content);
|
|
3100
3120
|
if (radarParsed.error || radarParsed.quadrants.length === 0) return "";
|
|
@@ -3114,9 +3134,9 @@ async function exportTechRadar(ctx) {
|
|
|
3114
3134
|
}
|
|
3115
3135
|
async function exportJourneyMap(ctx) {
|
|
3116
3136
|
const { content, theme, palette, exportMode } = ctx;
|
|
3117
|
-
const { parseJourneyMap } = await import("./parser-
|
|
3118
|
-
const { renderJourneyMap } = await import("./renderer-
|
|
3119
|
-
const { layoutJourneyMap } = await import("./layout-
|
|
3137
|
+
const { parseJourneyMap } = await import("./parser-UP3AZ367.js");
|
|
3138
|
+
const { renderJourneyMap } = await import("./renderer-YWMI6Y2U.js");
|
|
3139
|
+
const { layoutJourneyMap } = await import("./layout-GM4UGR7B.js");
|
|
3120
3140
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3121
3141
|
const jmParsed = parseJourneyMap(content, effectivePalette);
|
|
3122
3142
|
if (jmParsed.error || jmParsed.phases.length === 0 && jmParsed.steps.length === 0)
|
|
@@ -3136,8 +3156,8 @@ async function exportJourneyMap(ctx) {
|
|
|
3136
3156
|
}
|
|
3137
3157
|
async function exportCycle(ctx) {
|
|
3138
3158
|
const { content, theme, palette, viewState, exportMode } = ctx;
|
|
3139
|
-
const { parseCycle } = await import("./parser-
|
|
3140
|
-
const { renderCycleForExport } = await import("./renderer-
|
|
3159
|
+
const { parseCycle } = await import("./parser-5H2BTSJQ.js");
|
|
3160
|
+
const { renderCycleForExport } = await import("./renderer-4QB4K7Q3.js");
|
|
3141
3161
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3142
3162
|
const cycleParsed = parseCycle(content);
|
|
3143
3163
|
if (cycleParsed.error || cycleParsed.nodes.length === 0) return "";
|
|
@@ -3155,10 +3175,10 @@ async function exportCycle(ctx) {
|
|
|
3155
3175
|
}
|
|
3156
3176
|
async function exportMap(ctx) {
|
|
3157
3177
|
const { content, theme, palette, options } = ctx;
|
|
3158
|
-
const { parseMap } = await import("./parser-
|
|
3159
|
-
const { resolveMap } = await import("./resolver-
|
|
3160
|
-
const { renderMapForExport } = await import("./renderer-
|
|
3161
|
-
const { mapExportDimensions } = await import("./dimensions-
|
|
3178
|
+
const { parseMap } = await import("./parser-GTB4XC7P.js");
|
|
3179
|
+
const { resolveMap } = await import("./resolver-EMTGNR3D.js");
|
|
3180
|
+
const { renderMapForExport } = await import("./renderer-AQVMWJ4M.js");
|
|
3181
|
+
const { mapExportDimensions } = await import("./dimensions-45H6JQEY.js");
|
|
3162
3182
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3163
3183
|
const mapParsed = parseMap(content, effectivePalette);
|
|
3164
3184
|
let mapData = options?.mapData;
|
|
@@ -3190,8 +3210,8 @@ async function exportMap(ctx) {
|
|
|
3190
3210
|
}
|
|
3191
3211
|
async function exportPyramid(ctx) {
|
|
3192
3212
|
const { content, theme, palette } = ctx;
|
|
3193
|
-
const { parsePyramid } = await import("./parser-
|
|
3194
|
-
const { renderPyramidForExport } = await import("./renderer-
|
|
3213
|
+
const { parsePyramid } = await import("./parser-HVKRINUS.js");
|
|
3214
|
+
const { renderPyramidForExport } = await import("./renderer-DT4XRFEP.js");
|
|
3195
3215
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3196
3216
|
const pyramidParsed = parsePyramid(content);
|
|
3197
3217
|
if (pyramidParsed.error || pyramidParsed.layers.length === 0) return "";
|
|
@@ -3207,8 +3227,8 @@ async function exportPyramid(ctx) {
|
|
|
3207
3227
|
}
|
|
3208
3228
|
async function exportRing(ctx) {
|
|
3209
3229
|
const { content, theme, palette } = ctx;
|
|
3210
|
-
const { parseRing } = await import("./parser-
|
|
3211
|
-
const { renderRingForExport } = await import("./renderer-
|
|
3230
|
+
const { parseRing } = await import("./parser-BE4YCSRU.js");
|
|
3231
|
+
const { renderRingForExport } = await import("./renderer-HSHHVYWF.js");
|
|
3212
3232
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3213
3233
|
const ringParsed = parseRing(content);
|
|
3214
3234
|
if (ringParsed.error || ringParsed.layers.length === 0) return "";
|
|
@@ -3221,14 +3241,14 @@ async function exportRing(ctx) {
|
|
|
3221
3241
|
}
|
|
3222
3242
|
async function exportTreemap(ctx) {
|
|
3223
3243
|
const { content, theme, palette } = ctx;
|
|
3224
|
-
const { parseTreemap } = await import("./parser-
|
|
3244
|
+
const { parseTreemap } = await import("./parser-GVEPAUSD.js");
|
|
3225
3245
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3226
3246
|
const treemapParsed = parseTreemap(content, effectivePalette);
|
|
3227
3247
|
if (treemapParsed.error || treemapParsed.roots.length === 0) return "";
|
|
3228
3248
|
const container = createExportContainer(EXPORT_WIDTH, EXPORT_HEIGHT);
|
|
3229
3249
|
const dims = { width: EXPORT_WIDTH, height: EXPORT_HEIGHT };
|
|
3230
3250
|
if (treemapParsed.options.radial) {
|
|
3231
|
-
const { renderTreemapRadialForExport } = await import("./renderer-radial-
|
|
3251
|
+
const { renderTreemapRadialForExport } = await import("./renderer-radial-7CGZMVMS.js");
|
|
3232
3252
|
renderTreemapRadialForExport(
|
|
3233
3253
|
container,
|
|
3234
3254
|
treemapParsed,
|
|
@@ -3237,7 +3257,7 @@ async function exportTreemap(ctx) {
|
|
|
3237
3257
|
dims
|
|
3238
3258
|
);
|
|
3239
3259
|
} else {
|
|
3240
|
-
const { renderTreemapForExport } = await import("./renderer-
|
|
3260
|
+
const { renderTreemapForExport } = await import("./renderer-JP663HKG.js");
|
|
3241
3261
|
renderTreemapForExport(
|
|
3242
3262
|
container,
|
|
3243
3263
|
treemapParsed,
|
|
@@ -3250,8 +3270,8 @@ async function exportTreemap(ctx) {
|
|
|
3250
3270
|
}
|
|
3251
3271
|
async function exportBlock(ctx) {
|
|
3252
3272
|
const { content, theme, palette } = ctx;
|
|
3253
|
-
const { parseBlock } = await import("./parser-
|
|
3254
|
-
const { renderBlockForExport } = await import("./renderer-
|
|
3273
|
+
const { parseBlock } = await import("./parser-KMZIXLDZ.js");
|
|
3274
|
+
const { renderBlockForExport } = await import("./renderer-TOUGFGTM.js");
|
|
3255
3275
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3256
3276
|
const blockParsed = parseBlock(content, effectivePalette);
|
|
3257
3277
|
if (blockParsed.error || blockParsed.top.rows.length === 0) return "";
|
|
@@ -3264,8 +3284,8 @@ async function exportBlock(ctx) {
|
|
|
3264
3284
|
}
|
|
3265
3285
|
async function exportGoal(ctx) {
|
|
3266
3286
|
const { content, theme, palette } = ctx;
|
|
3267
|
-
const { parseGoal } = await import("./parser-
|
|
3268
|
-
const { renderGoalForExport } = await import("./renderer-
|
|
3287
|
+
const { parseGoal } = await import("./parser-YKCGIG45.js");
|
|
3288
|
+
const { renderGoalForExport } = await import("./renderer-6MU37QF5.js");
|
|
3269
3289
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3270
3290
|
const parsed = parseGoal(content, effectivePalette);
|
|
3271
3291
|
if (parsed.error) return "";
|
|
@@ -3278,8 +3298,8 @@ async function exportGoal(ctx) {
|
|
|
3278
3298
|
}
|
|
3279
3299
|
async function exportCountdown(ctx) {
|
|
3280
3300
|
const { content, theme, palette } = ctx;
|
|
3281
|
-
const { parseCountdown } = await import("./parser-
|
|
3282
|
-
const { renderCountdownForExport } = await import("./renderer-
|
|
3301
|
+
const { parseCountdown } = await import("./parser-ZL5QUFVH.js");
|
|
3302
|
+
const { renderCountdownForExport } = await import("./renderer-NHO46CT2.js");
|
|
3283
3303
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3284
3304
|
const parsed = parseCountdown(content, effectivePalette);
|
|
3285
3305
|
if (parsed.error) return "";
|
|
@@ -3292,8 +3312,8 @@ async function exportCountdown(ctx) {
|
|
|
3292
3312
|
}
|
|
3293
3313
|
async function exportClock(ctx) {
|
|
3294
3314
|
const { content, theme, palette } = ctx;
|
|
3295
|
-
const { parseClock } = await import("./parser-
|
|
3296
|
-
const { renderClockForExport } = await import("./renderer-
|
|
3315
|
+
const { parseClock } = await import("./parser-SUWWWCMX.js");
|
|
3316
|
+
const { renderClockForExport } = await import("./renderer-YONAKAJU.js");
|
|
3297
3317
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3298
3318
|
const parsed = parseClock(content, effectivePalette);
|
|
3299
3319
|
if (parsed.error) return "";
|
|
@@ -3306,8 +3326,8 @@ async function exportClock(ctx) {
|
|
|
3306
3326
|
}
|
|
3307
3327
|
async function exportBracket(ctx) {
|
|
3308
3328
|
const { content, theme, palette } = ctx;
|
|
3309
|
-
const { parseBracket } = await import("./parser-
|
|
3310
|
-
const { renderBracketForExport, bracketExportDimensions } = await import("./renderer-
|
|
3329
|
+
const { parseBracket } = await import("./parser-SXDRNZOA.js");
|
|
3330
|
+
const { renderBracketForExport, bracketExportDimensions } = await import("./renderer-BDDW6K7N.js");
|
|
3311
3331
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3312
3332
|
const parsed = parseBracket(content, effectivePalette);
|
|
3313
3333
|
if (parsed.error) return "";
|
|
@@ -3321,8 +3341,8 @@ async function exportBracket(ctx) {
|
|
|
3321
3341
|
}
|
|
3322
3342
|
async function exportRaci(ctx) {
|
|
3323
3343
|
const { content, theme, palette } = ctx;
|
|
3324
|
-
const { parseRaci } = await import("./parser-
|
|
3325
|
-
const { renderRaciForExport } = await import("./renderer-
|
|
3344
|
+
const { parseRaci } = await import("./parser-LJHXWSXU.js");
|
|
3345
|
+
const { renderRaciForExport } = await import("./renderer-CQY6ATOS.js");
|
|
3326
3346
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3327
3347
|
const raciParsed = parseRaci(content, effectivePalette);
|
|
3328
3348
|
if (raciParsed.error) return "";
|
|
@@ -3454,8 +3474,8 @@ async function exportVisualization(ctx) {
|
|
|
3454
3474
|
const effectivePalette = await resolveExportPalette(theme, palette);
|
|
3455
3475
|
const isDark = ctx.isDark;
|
|
3456
3476
|
const container = createExportContainer(EXPORT_WIDTH, EXPORT_HEIGHT);
|
|
3457
|
-
const { parseSequenceDgmo } = await import("./parser-
|
|
3458
|
-
const { renderSequenceDiagram } = await import("./renderer-
|
|
3477
|
+
const { parseSequenceDgmo } = await import("./parser-DQAFLUJB.js");
|
|
3478
|
+
const { renderSequenceDiagram } = await import("./renderer-ZWIH4WDW.js");
|
|
3459
3479
|
const seqParsed = parseSequenceDgmo(content, effectivePalette);
|
|
3460
3480
|
if (seqParsed.error || seqParsed.participants.length === 0) return "";
|
|
3461
3481
|
const collapsedSections = viewState?.cs ? new Set(viewState.cs) : void 0;
|
|
@@ -4077,8 +4097,8 @@ async function render(content, options) {
|
|
|
4077
4097
|
try {
|
|
4078
4098
|
const [{ parseMap }, { resolveMap }, { loadMapData }] = await Promise.all(
|
|
4079
4099
|
[
|
|
4080
|
-
import("./parser-
|
|
4081
|
-
import("./resolver-
|
|
4100
|
+
import("./parser-GTB4XC7P.js"),
|
|
4101
|
+
import("./resolver-EMTGNR3D.js"),
|
|
4082
4102
|
import("./load-data-EHDDZ5ZS.js")
|
|
4083
4103
|
]
|
|
4084
4104
|
);
|
|
@@ -4201,4 +4221,4 @@ export {
|
|
|
4201
4221
|
encodeDiagramUrl,
|
|
4202
4222
|
decodeDiagramUrl
|
|
4203
4223
|
};
|
|
4204
|
-
//# sourceMappingURL=chunk-
|
|
4224
|
+
//# sourceMappingURL=chunk-J7KJR3R6.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-3HDBAXF5.js";
|
|
12
12
|
import {
|
|
13
13
|
mix
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WBM7ZNDI.js";
|
|
15
15
|
|
|
16
16
|
// src/utils/note-box/svg.ts
|
|
17
17
|
var NOTE_STROKE_WIDTH = 0.6;
|
|
@@ -133,4 +133,4 @@ export {
|
|
|
133
133
|
NOTE_BADGE_RADIUS,
|
|
134
134
|
renderNoteBadge
|
|
135
135
|
};
|
|
136
|
-
//# sourceMappingURL=chunk-
|
|
136
|
+
//# sourceMappingURL=chunk-J7TLCB2Q.js.map
|