@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseGoal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MUE65OTD.js";
|
|
4
4
|
import {
|
|
5
5
|
parseCountdown
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FT3ZYWET.js";
|
|
7
7
|
import {
|
|
8
8
|
parseClock
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FY5MSZAP.js";
|
|
10
10
|
import {
|
|
11
11
|
parseBracket
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PRI2OD4E.js";
|
|
13
13
|
import {
|
|
14
14
|
allTasks,
|
|
15
15
|
parseRaci
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4IHAV6O7.js";
|
|
17
17
|
import {
|
|
18
18
|
parseBody
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Z5QVYKR7.js";
|
|
20
20
|
import {
|
|
21
21
|
EXTENDED_CHART_DOORS,
|
|
22
22
|
parseChart,
|
|
@@ -25,120 +25,127 @@ import {
|
|
|
25
25
|
parseHeatmap,
|
|
26
26
|
parseSankey,
|
|
27
27
|
parseScatter
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EMLPOL77.js";
|
|
29
29
|
import {
|
|
30
30
|
parseWireframe
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-SMRFPVLQ.js";
|
|
32
32
|
import {
|
|
33
33
|
parseTechRadar
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VILVLS7P.js";
|
|
35
35
|
import {
|
|
36
36
|
parseCycle
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-7BIZCTAX.js";
|
|
38
38
|
import {
|
|
39
39
|
parseJourneyMap
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XD6ZYURY.js";
|
|
41
41
|
import {
|
|
42
42
|
parsePyramid
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-ICPJPQ5C.js";
|
|
44
44
|
import {
|
|
45
45
|
parseRing
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-UNURMIQO.js";
|
|
47
47
|
import {
|
|
48
48
|
parseTreemap
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-ZNWAYU6N.js";
|
|
50
50
|
import {
|
|
51
51
|
parseBlock
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-4UNQ6X24.js";
|
|
53
53
|
import {
|
|
54
54
|
parseInfra
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-IM6PDDCE.js";
|
|
56
56
|
import {
|
|
57
57
|
parseGantt
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-QGATPIPX.js";
|
|
59
59
|
import {
|
|
60
60
|
parseMap
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-5NGAO4QK.js";
|
|
62
62
|
import {
|
|
63
63
|
parseBoxesAndLines
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-5RP7JRVP.js";
|
|
65
65
|
import {
|
|
66
66
|
parseSketch
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-HQQNCY7W.js";
|
|
68
68
|
import {
|
|
69
69
|
parseSwimlane
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-LTXOLDUZ.js";
|
|
71
71
|
import {
|
|
72
72
|
parseFamily
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-75G3Q4DK.js";
|
|
74
74
|
import {
|
|
75
75
|
parseMindmap
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-AL672HNE.js";
|
|
77
77
|
import {
|
|
78
78
|
looksLikeERDiagram,
|
|
79
79
|
parseERDiagram
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-REJAIQ5S.js";
|
|
81
81
|
import {
|
|
82
82
|
looksLikeOrg,
|
|
83
83
|
parseOrg
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-NNS4E7CW.js";
|
|
85
85
|
import {
|
|
86
86
|
looksLikeSitemap,
|
|
87
87
|
parseSitemap
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-HBPDFCQY.js";
|
|
89
89
|
import {
|
|
90
90
|
looksLikePert,
|
|
91
91
|
parsePert
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-K4EOKJA6.js";
|
|
93
93
|
import {
|
|
94
94
|
parseEventLine
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-J6QROYDA.js";
|
|
96
96
|
import {
|
|
97
97
|
parseTimelineEventLine
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-R3YSD62R.js";
|
|
99
|
+
import {
|
|
100
|
+
makeYearContext,
|
|
101
|
+
parseDateToken,
|
|
102
|
+
resolveTokenYear,
|
|
103
|
+
toInternal
|
|
104
|
+
} from "./chunk-DAOFNU6J.js";
|
|
99
105
|
import {
|
|
100
106
|
parseVersionControl
|
|
101
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-3YRPZ7ZZ.js";
|
|
102
108
|
import {
|
|
103
109
|
parseKanban
|
|
104
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-3QD7VP3U.js";
|
|
105
111
|
import {
|
|
106
112
|
parseC4
|
|
107
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-BPY242XU.js";
|
|
108
114
|
import {
|
|
109
115
|
looksLikeSequence,
|
|
110
116
|
parseSequenceDgmo
|
|
111
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-QJMKPUYK.js";
|
|
112
118
|
import {
|
|
113
119
|
matchTagBlockHeading,
|
|
114
120
|
stripDefaultModifier,
|
|
115
121
|
tagAttrKey,
|
|
116
122
|
validateTagGroupNames,
|
|
117
123
|
validateTagValues
|
|
118
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-HHKO6SKY.js";
|
|
119
125
|
import {
|
|
120
126
|
looksLikeFlowchart,
|
|
121
127
|
parseFlowchart
|
|
122
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-6EJITS44.js";
|
|
123
129
|
import {
|
|
124
130
|
looksLikeState,
|
|
125
131
|
parseState
|
|
126
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-ROOE4R4Y.js";
|
|
127
133
|
import {
|
|
128
134
|
looksLikeClassDiagram,
|
|
129
135
|
parseClassDiagram
|
|
130
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-TPFKKXCB.js";
|
|
131
137
|
import {
|
|
132
138
|
TIMELINE_REGISTRY,
|
|
133
139
|
collectIndentedValues,
|
|
134
140
|
extractColor,
|
|
141
|
+
fillModeFromToken,
|
|
135
142
|
measureIndent,
|
|
136
143
|
normalizeNumericToken,
|
|
137
144
|
parseFirstLine,
|
|
138
145
|
peelTrailingColorName,
|
|
139
146
|
splitNameAndMeta,
|
|
140
147
|
withTagAliases
|
|
141
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-BRENJ2BQ.js";
|
|
142
149
|
import {
|
|
143
150
|
resolveColorWithDiagnostic
|
|
144
151
|
} from "./chunk-TLVIHFRO.js";
|
|
@@ -212,6 +219,67 @@ function parseVisualizationFull(content, palette) {
|
|
|
212
219
|
return fail(0, "Empty content");
|
|
213
220
|
}
|
|
214
221
|
const lines = content.split("\n");
|
|
222
|
+
let tlDateOrder = "mdy";
|
|
223
|
+
let tlNoCurrentYear = false;
|
|
224
|
+
let tlDirectiveYear = null;
|
|
225
|
+
for (const raw of lines) {
|
|
226
|
+
const t = raw.trim().toLowerCase();
|
|
227
|
+
if (t === "no-current-year") tlNoCurrentYear = true;
|
|
228
|
+
else if (t === "date-order dmy") tlDateOrder = "dmy";
|
|
229
|
+
else if (t === "date-order mdy") tlDateOrder = "mdy";
|
|
230
|
+
else {
|
|
231
|
+
const ym = t.match(/^year\s+(\d{1,4})$/);
|
|
232
|
+
if (ym) tlDirectiveYear = parseInt(ym[1], 10);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
let tlPrescan = null;
|
|
236
|
+
for (const raw of lines) {
|
|
237
|
+
const t = raw.trim();
|
|
238
|
+
if (!t) continue;
|
|
239
|
+
const p = parseDateToken(t, { dateOrder: tlDateOrder });
|
|
240
|
+
if (p?.token.year != null) {
|
|
241
|
+
tlPrescan = p.token.sign * p.token.year;
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
const tlYearCtx = makeYearContext({
|
|
246
|
+
order: tlDateOrder,
|
|
247
|
+
directiveYear: tlDirectiveYear,
|
|
248
|
+
prescanYear: tlPrescan,
|
|
249
|
+
noCurrentYear: tlNoCurrentYear
|
|
250
|
+
});
|
|
251
|
+
const tlDateCtx = {
|
|
252
|
+
order: tlDateOrder,
|
|
253
|
+
resolve: (tok) => resolveTokenYear(tok, tlYearCtx)
|
|
254
|
+
};
|
|
255
|
+
const isTlDateDirective = (t) => t === "no-current-year" || t === "date-order dmy" || t === "date-order mdy" || /^year\s+\d{1,4}$/.test(t);
|
|
256
|
+
const tlBaseYear = tlDirectiveYear ?? tlPrescan;
|
|
257
|
+
const tlCurrentYear = (/* @__PURE__ */ new Date()).getFullYear();
|
|
258
|
+
const tlResolveYear = (tok) => {
|
|
259
|
+
if (tok.year != null) return toInternal(tok, tok.year);
|
|
260
|
+
if (tlBaseYear == null && tlNoCurrentYear) return null;
|
|
261
|
+
return toInternal(tok, tlBaseYear ?? tlCurrentYear);
|
|
262
|
+
};
|
|
263
|
+
const TL_TRAILING_COLOR = /\s+(red|orange|yellow|green|blue|purple|teal|cyan|gray|black|white)\s*$/;
|
|
264
|
+
const splitTrailingColor = (s) => {
|
|
265
|
+
const m = s.match(TL_TRAILING_COLOR);
|
|
266
|
+
return m ? { label: s.slice(0, m.index).trim(), color: m[1].toLowerCase() } : { label: s.trim(), color: null };
|
|
267
|
+
};
|
|
268
|
+
const tlLeadingDate = (s) => {
|
|
269
|
+
const res = parseDateToken(s, { dateOrder: tlDateOrder });
|
|
270
|
+
if (!res || res.consumed === 0 || res.token.invalidTime) return null;
|
|
271
|
+
const iso = tlResolveYear(res.token);
|
|
272
|
+
return iso == null ? null : { iso, rest: s.slice(res.consumed) };
|
|
273
|
+
};
|
|
274
|
+
const tlLeadingRange = (s) => {
|
|
275
|
+
const a = tlLeadingDate(s);
|
|
276
|
+
if (!a) return null;
|
|
277
|
+
const arrow = a.rest.match(/^\s*(?:->|–>)\s*/);
|
|
278
|
+
if (!arrow) return null;
|
|
279
|
+
const b = tlLeadingDate(a.rest.slice(arrow[0].length));
|
|
280
|
+
if (!b) return null;
|
|
281
|
+
return { start: a.iso, end: b.iso, rest: b.rest };
|
|
282
|
+
};
|
|
215
283
|
const freeformLines = [];
|
|
216
284
|
let currentArcGroup = null;
|
|
217
285
|
let currentTimelineGroup = null;
|
|
@@ -253,6 +321,9 @@ function parseVisualizationFull(content, palette) {
|
|
|
253
321
|
}
|
|
254
322
|
}
|
|
255
323
|
if (result.type === "timeline" && indent === 0) {
|
|
324
|
+
if (isTlDateDirective(line.toLowerCase())) {
|
|
325
|
+
continue;
|
|
326
|
+
}
|
|
256
327
|
const tagBlockMatch = matchTagBlockHeading(line);
|
|
257
328
|
if (tagBlockMatch) {
|
|
258
329
|
const newGroup = {
|
|
@@ -449,18 +520,15 @@ function parseVisualizationFull(content, palette) {
|
|
|
449
520
|
inTimelineEraBlock = false;
|
|
450
521
|
} else {
|
|
451
522
|
if (line.startsWith("//")) continue;
|
|
452
|
-
const
|
|
453
|
-
|
|
454
|
-
)
|
|
455
|
-
if (eraEntryMatch) {
|
|
456
|
-
const colorAnnotation = eraEntryMatch[4]?.trim() || null;
|
|
523
|
+
const eraRange = tlLeadingRange(line);
|
|
524
|
+
const eraParsed = eraRange && splitTrailingColor(eraRange.rest);
|
|
525
|
+
if (eraRange && eraParsed && eraParsed.label) {
|
|
457
526
|
result.timelineEras.push({
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
colorAnnotation,
|
|
527
|
+
startDate: eraRange.start,
|
|
528
|
+
endDate: eraRange.end,
|
|
529
|
+
label: eraParsed.label,
|
|
530
|
+
color: eraParsed.color ? resolveColorWithDiagnostic(
|
|
531
|
+
eraParsed.color,
|
|
464
532
|
lineNumber,
|
|
465
533
|
result.diagnostics,
|
|
466
534
|
palette
|
|
@@ -481,17 +549,14 @@ function parseVisualizationFull(content, palette) {
|
|
|
481
549
|
inTimelineMarkerBlock = false;
|
|
482
550
|
} else {
|
|
483
551
|
if (line.startsWith("//")) continue;
|
|
484
|
-
const
|
|
485
|
-
|
|
486
|
-
)
|
|
487
|
-
if (markerEntryMatch) {
|
|
488
|
-
const colorAnnotation = markerEntryMatch[3]?.trim() || null;
|
|
552
|
+
const markerLd = tlLeadingDate(line);
|
|
553
|
+
const markerParsed = markerLd && splitTrailingColor(markerLd.rest);
|
|
554
|
+
if (markerLd && markerParsed && markerParsed.label) {
|
|
489
555
|
result.timelineMarkers.push({
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
colorAnnotation,
|
|
556
|
+
date: markerLd.iso,
|
|
557
|
+
label: markerParsed.label,
|
|
558
|
+
color: markerParsed.color ? resolveColorWithDiagnostic(
|
|
559
|
+
markerParsed.color,
|
|
495
560
|
lineNumber,
|
|
496
561
|
result.diagnostics,
|
|
497
562
|
palette
|
|
@@ -518,18 +583,16 @@ function parseVisualizationFull(content, palette) {
|
|
|
518
583
|
timelineMarkerBlockIndent = indent;
|
|
519
584
|
continue;
|
|
520
585
|
}
|
|
521
|
-
const
|
|
522
|
-
|
|
523
|
-
);
|
|
524
|
-
if (
|
|
525
|
-
const colorAnnotation = eraMatch[4]?.trim() || null;
|
|
586
|
+
const eraInline = line.match(/^era\s+(.+)$/i);
|
|
587
|
+
const eraInlineRange = eraInline && tlLeadingRange(eraInline[1]);
|
|
588
|
+
const eraInlineParsed = eraInlineRange && splitTrailingColor(eraInlineRange.rest);
|
|
589
|
+
if (eraInlineRange && eraInlineParsed && eraInlineParsed.label) {
|
|
526
590
|
result.timelineEras.push({
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
colorAnnotation,
|
|
591
|
+
startDate: eraInlineRange.start,
|
|
592
|
+
endDate: eraInlineRange.end,
|
|
593
|
+
label: eraInlineParsed.label,
|
|
594
|
+
color: eraInlineParsed.color ? resolveColorWithDiagnostic(
|
|
595
|
+
eraInlineParsed.color,
|
|
533
596
|
lineNumber,
|
|
534
597
|
result.diagnostics,
|
|
535
598
|
palette
|
|
@@ -538,17 +601,15 @@ function parseVisualizationFull(content, palette) {
|
|
|
538
601
|
});
|
|
539
602
|
continue;
|
|
540
603
|
}
|
|
541
|
-
const
|
|
542
|
-
|
|
543
|
-
);
|
|
544
|
-
if (
|
|
545
|
-
const colorAnnotation = markerMatch[3]?.trim() || null;
|
|
604
|
+
const markerInline = line.match(/^marker\s+(.+)$/i);
|
|
605
|
+
const markerInlineLd = markerInline && tlLeadingDate(markerInline[1]);
|
|
606
|
+
const markerInlineParsed = markerInlineLd && splitTrailingColor(markerInlineLd.rest);
|
|
607
|
+
if (markerInlineLd && markerInlineParsed && markerInlineParsed.label) {
|
|
546
608
|
result.timelineMarkers.push({
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
colorAnnotation,
|
|
609
|
+
date: markerInlineLd.iso,
|
|
610
|
+
label: markerInlineParsed.label,
|
|
611
|
+
color: markerInlineParsed.color ? resolveColorWithDiagnostic(
|
|
612
|
+
markerInlineParsed.color,
|
|
552
613
|
lineNumber,
|
|
553
614
|
result.diagnostics,
|
|
554
615
|
palette
|
|
@@ -604,7 +665,8 @@ function parseVisualizationFull(content, palette) {
|
|
|
604
665
|
currentTimelineGroup,
|
|
605
666
|
currentTimelineGroupMeta,
|
|
606
667
|
timelineAliasMap,
|
|
607
|
-
tlRegistry
|
|
668
|
+
tlRegistry,
|
|
669
|
+
tlDateCtx
|
|
608
670
|
);
|
|
609
671
|
if (eventResult) {
|
|
610
672
|
result.diagnostics.push(...eventResult.diagnostics);
|
|
@@ -613,7 +675,7 @@ function parseVisualizationFull(content, palette) {
|
|
|
613
675
|
}
|
|
614
676
|
continue;
|
|
615
677
|
}
|
|
616
|
-
if (!/^(era|marker|tag|sort|active-tag|swimlanes|no-scale|lane-by)\b/i.test(
|
|
678
|
+
if (!/^(era|marker|tag|sort|active-tag|swimlanes|no-scale|lane-by|fill-tint|fill-solid|fill-outline)\b/i.test(
|
|
617
679
|
line
|
|
618
680
|
) && !line.startsWith("[")) {
|
|
619
681
|
warn(lineNumber, `Expected a date at the start \u2014 e.g., '1718 ${line}'`);
|
|
@@ -621,7 +683,9 @@ function parseVisualizationFull(content, palette) {
|
|
|
621
683
|
}
|
|
622
684
|
}
|
|
623
685
|
if (result.type === "venn") {
|
|
624
|
-
if (/^(
|
|
686
|
+
if (/^(fill-tint|fill-solid|fill-outline|no-name|no-value|no-percent|no-title)$/i.test(
|
|
687
|
+
line
|
|
688
|
+
)) {
|
|
625
689
|
} else if (/\+/.test(line)) {
|
|
626
690
|
const knownSetRefs = /* @__PURE__ */ new Set();
|
|
627
691
|
for (const s of result.vennSets) {
|
|
@@ -655,7 +719,9 @@ function parseVisualizationFull(content, palette) {
|
|
|
655
719
|
continue;
|
|
656
720
|
}
|
|
657
721
|
}
|
|
658
|
-
if (!/^(
|
|
722
|
+
if (!/^(fill-tint|fill-solid|fill-outline|no-name|no-value|no-percent|no-title)$/i.test(
|
|
723
|
+
line
|
|
724
|
+
)) {
|
|
659
725
|
const { label: lineWithoutColor, colorName } = peelTrailingColorName(line);
|
|
660
726
|
let color = null;
|
|
661
727
|
if (colorName) {
|
|
@@ -822,8 +888,10 @@ function parseVisualizationFull(content, palette) {
|
|
|
822
888
|
result.noPercent = true;
|
|
823
889
|
continue;
|
|
824
890
|
}
|
|
825
|
-
|
|
826
|
-
|
|
891
|
+
const fillFamily = fillModeFromToken(bareToken);
|
|
892
|
+
if (fillFamily !== null) {
|
|
893
|
+
if (fillFamily === "tint") delete result.fillMode;
|
|
894
|
+
else result.fillMode = fillFamily;
|
|
827
895
|
continue;
|
|
828
896
|
}
|
|
829
897
|
if (bareToken === "no-title") {
|
|
@@ -2162,4 +2230,4 @@ export {
|
|
|
2162
2230
|
knownChartTypeIds,
|
|
2163
2231
|
parseDgmo
|
|
2164
2232
|
};
|
|
2165
|
-
//# sourceMappingURL=chunk-
|
|
2233
|
+
//# sourceMappingURL=chunk-ZEF5M5MB.js.map
|
|
@@ -8,28 +8,28 @@ import {
|
|
|
8
8
|
rectsOverlap,
|
|
9
9
|
segmentRectOverlap,
|
|
10
10
|
segmentsCross
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VL2O2F3W.js";
|
|
12
12
|
import {
|
|
13
13
|
compactNumber,
|
|
14
14
|
computeLegendLayout
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YAA6IID3.js";
|
|
16
16
|
import {
|
|
17
17
|
TITLE_FONT_SIZE,
|
|
18
18
|
TITLE_Y
|
|
19
19
|
} from "./chunk-A4GOY3PE.js";
|
|
20
20
|
import {
|
|
21
21
|
measureLegendText
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QOOUC2J5.js";
|
|
23
23
|
import {
|
|
24
24
|
contrastRatio,
|
|
25
25
|
mix,
|
|
26
26
|
politicalTints,
|
|
27
27
|
relativeLuminance,
|
|
28
28
|
valueRampColor
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WBM7ZNDI.js";
|
|
30
30
|
import {
|
|
31
31
|
tagAttrKey
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HHKO6SKY.js";
|
|
33
33
|
import {
|
|
34
34
|
resolveColor
|
|
35
35
|
} from "./chunk-TLVIHFRO.js";
|
|
@@ -3177,4 +3177,4 @@ export {
|
|
|
3177
3177
|
albersSkewFallback,
|
|
3178
3178
|
layoutMap
|
|
3179
3179
|
};
|
|
3180
|
-
//# sourceMappingURL=chunk-
|
|
3180
|
+
//# sourceMappingURL=chunk-ZJV7GYR4.js.map
|
|
@@ -7,10 +7,11 @@ import {
|
|
|
7
7
|
tagAttrKey,
|
|
8
8
|
validateTagGroupNames,
|
|
9
9
|
validateTagValues
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HHKO6SKY.js";
|
|
11
11
|
import {
|
|
12
12
|
TREEMAP_REGISTRY,
|
|
13
13
|
extractColor,
|
|
14
|
+
fillModeFromToken,
|
|
14
15
|
measureIndent,
|
|
15
16
|
parseFirstLine,
|
|
16
17
|
peelRampColors,
|
|
@@ -18,7 +19,7 @@ import {
|
|
|
18
19
|
stripQuotes,
|
|
19
20
|
warnUnknownMetaKeys,
|
|
20
21
|
withTagAliases
|
|
21
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BRENJ2BQ.js";
|
|
22
23
|
import {
|
|
23
24
|
emit,
|
|
24
25
|
formatDgmoError,
|
|
@@ -71,7 +72,7 @@ function parseTreemap(content, palette) {
|
|
|
71
72
|
noPercent: false,
|
|
72
73
|
noHeaders: false,
|
|
73
74
|
noLegend: false,
|
|
74
|
-
|
|
75
|
+
fillMode: void 0,
|
|
75
76
|
radial: false
|
|
76
77
|
};
|
|
77
78
|
const result = {
|
|
@@ -288,9 +289,12 @@ function handleDirective(trimmed, options, result, pushWarning, lineNumber) {
|
|
|
288
289
|
else if (key === "legend") options.noLegend = true;
|
|
289
290
|
return true;
|
|
290
291
|
}
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
292
|
+
{
|
|
293
|
+
const fm = fillModeFromToken(trimmed);
|
|
294
|
+
if (fm !== null) {
|
|
295
|
+
options.fillMode = fm === "tint" ? void 0 : fm;
|
|
296
|
+
return true;
|
|
297
|
+
}
|
|
294
298
|
}
|
|
295
299
|
if (/^radial\s*$/i.test(trimmed)) {
|
|
296
300
|
options.radial = true;
|
|
@@ -377,4 +381,4 @@ export {
|
|
|
377
381
|
TREEMAP_DIAGNOSTICS,
|
|
378
382
|
parseTreemap
|
|
379
383
|
};
|
|
380
|
-
//# sourceMappingURL=chunk-
|
|
384
|
+
//# sourceMappingURL=chunk-ZNWAYU6N.js.map
|