@diagrammo/dgmo 0.52.0 → 0.53.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 +59 -58
- package/.github/copilot-instructions.md +59 -58
- package/.windsurfrules +59 -58
- package/SKILL.md +59 -58
- package/dist/advanced.d.ts +65 -230
- package/dist/advanced.js +278 -611
- package/dist/analyzer-TDN5KJFP.js +15 -0
- package/dist/auto.css +14 -6
- package/dist/auto.js +142 -132
- package/dist/auto.mjs +1117 -452
- package/dist/block.css +14 -6
- package/dist/block.js +85 -72
- package/dist/calculator-VBIT6GQF.js +11 -0
- package/dist/chart-meta-CPNVUZ5J.d.ts +232 -0
- package/dist/chart-meta.d.ts +2 -0
- package/dist/chart-meta.js +105 -0
- package/dist/charts-d3-DH2XA45I.js +26 -0
- package/dist/{chunk-QJMKPUYK.js → chunk-22OQWBWD.js} +14 -7
- package/dist/{chunk-5NGAO4QK.js → chunk-27STWBOK.js} +10 -8
- package/dist/{chunk-QGATPIPX.js → chunk-2QC4HXCY.js} +31 -17
- package/dist/{chunk-HFMYN6N2.js → chunk-3B2GXZCX.js} +4 -3
- package/dist/{chunk-6HQH6JZE.js → chunk-3BEKKRH5.js} +10 -10
- package/dist/{chunk-AL672HNE.js → chunk-3CZLWOCI.js} +17 -7
- package/dist/{chunk-J7TLCB2Q.js → chunk-3IUHKMJI.js} +2 -2
- package/dist/{chunk-7L4UJOY6.js → chunk-3TYUXC7D.js} +2 -2
- package/dist/{chunk-Y2ZE3MSG.js → chunk-43E26CDA.js} +2 -2
- package/dist/{chunk-YTMTPUH4.js → chunk-4ASVFYB2.js} +6 -6
- package/dist/{chunk-WCT3NYCV.js → chunk-4ASYQ347.js} +33 -8
- package/dist/{chunk-ZNWAYU6N.js → chunk-4K42RUGC.js} +33 -9
- package/dist/{chunk-I5IGB56C.js → chunk-4QV26TEG.js} +41 -1
- package/dist/{chunk-QOOUC2J5.js → chunk-4RGZFA7H.js} +2 -2
- package/dist/{chunk-CXK4DZH3.js → chunk-4W2PE66Q.js} +12 -2
- package/dist/{chunk-CIRFIL4M.js → chunk-4WGMGKCZ.js} +13 -13
- package/dist/{chunk-JED6ZDEE.js → chunk-5HWPEYWB.js} +2 -2
- package/dist/{chunk-VQOCMUWI.js → chunk-65V6IRFN.js} +16 -14
- package/dist/{chunk-R3YSD62R.js → chunk-6AUZPPAV.js} +3 -3
- package/dist/{chunk-FQ7HTV52.js → chunk-6DCOIN4W.js} +33 -5
- package/dist/{chunk-MUE65OTD.js → chunk-6HTRCTAS.js} +4 -4
- package/dist/{chunk-TJVLKNGR.js → chunk-6KY7OCZC.js} +5 -5
- package/dist/{chunk-YAA6IID3.js → chunk-774C2FF3.js} +2 -2
- package/dist/{chunk-UBLHQTLV.js → chunk-7GUF6SDR.js} +15 -14
- package/dist/{chunk-5HILBT7X.js → chunk-7JDTNFAK.js} +3 -3
- package/dist/{chunk-QBZYACOG.js → chunk-ADYKAKE3.js} +3 -3
- package/dist/{chunk-H7KENAZO.js → chunk-AHXIMHDQ.js} +74 -14
- package/dist/chunk-AIMLCDAO.js +404 -0
- package/dist/{chunk-4IHAV6O7.js → chunk-ALYZ3MAA.js} +4 -4
- package/dist/{chunk-ROOE4R4Y.js → chunk-AN2DQB3G.js} +146 -18
- package/dist/{chunk-GCYTI3DE.js → chunk-AZNXGWDC.js} +56 -10
- package/dist/{chunk-3LK5DNED.js → chunk-B4XS2AF2.js} +3 -3
- package/dist/{chunk-3HF5YEFJ.js → chunk-BD3WGY4T.js} +4 -4
- package/dist/{chunk-4AQRFDXL.js → chunk-BFDVEO5R.js} +2 -2
- package/dist/{chunk-REJAIQ5S.js → chunk-BR7AYN76.js} +8 -8
- package/dist/{chunk-P3NRSSUU.js → chunk-BULHGPHK.js} +3 -3
- package/dist/{chunk-VILVLS7P.js → chunk-CK2GMDXD.js} +8 -4
- package/dist/{chunk-HHKO6SKY.js → chunk-CMVZWP32.js} +3 -3
- package/dist/{chunk-GJFAMOGK.js → chunk-CQFNIIQN.js} +7 -7
- package/dist/{chunk-FT3ZYWET.js → chunk-DWUMPMV2.js} +11 -10
- package/dist/{chunk-USZW2HHU.js → chunk-EQW6HOP4.js} +4 -3
- package/dist/{chunk-Z5QVYKR7.js → chunk-FFXCKZOU.js} +4 -4
- package/dist/{chunk-WRNFDFPU.js → chunk-FGDSTT3F.js} +2 -2
- package/dist/{chunk-FY5MSZAP.js → chunk-FLDC7ZAK.js} +21 -6
- package/dist/{chunk-AAXZDUOV.js → chunk-FT7TPPZ5.js} +17 -16
- package/dist/{chunk-3QD7VP3U.js → chunk-FUKNRLIJ.js} +14 -7
- package/dist/{chunk-3YRPZ7ZZ.js → chunk-FXCB7H5O.js} +4 -4
- package/dist/{chunk-SMRFPVLQ.js → chunk-GABSL6TH.js} +4 -4
- package/dist/{chunk-BKVOYV6I.js → chunk-GAWKIIPO.js} +17 -17
- package/dist/{chunk-HWX6ZHF3.js → chunk-GMAH572Z.js} +6 -6
- package/dist/{chunk-MUVJ57EP.js → chunk-GMIJ35PW.js} +23 -20
- package/dist/{chunk-7QE3XMRK.js → chunk-GQ644SPD.js} +18 -18
- package/dist/{chunk-5QKQSSPO.js → chunk-GRM2A4BG.js} +4 -4
- package/dist/{chunk-J7KJR3R6.js → chunk-GWQJKTFS.js} +133 -696
- package/dist/{chunk-OTOHI4JO.js → chunk-H3HFC3SQ.js} +2 -2
- package/dist/{chunk-SWSIKFEB.js → chunk-HE5J53SZ.js} +4 -4
- package/dist/{chunk-7BIZCTAX.js → chunk-HNBY6CNV.js} +3 -3
- package/dist/{chunk-J76PIKAT.js → chunk-HO3RCNF6.js} +3 -3
- package/dist/{chunk-44VCIPHF.js → chunk-HORZ5H2L.js} +26 -23
- package/dist/{chunk-MX2EY5Y7.js → chunk-HOXKNRON.js} +2 -2
- package/dist/{chunk-LTXOLDUZ.js → chunk-I64ECJX3.js} +12 -5
- package/dist/{chunk-4YFKQ5WT.js → chunk-IQJCVREL.js} +8 -8
- package/dist/{chunk-YIBAWQGJ.js → chunk-J7HI6G3G.js} +7 -7
- package/dist/{chunk-ICPJPQ5C.js → chunk-JHOAH4TI.js} +3 -3
- package/dist/{chunk-6EJITS44.js → chunk-JTMSWEIW.js} +6 -6
- package/dist/{chunk-WBM7ZNDI.js → chunk-JYDMBWRP.js} +35 -18
- package/dist/{chunk-7DF4J4RL.js → chunk-KKHCNSKK.js} +17 -11
- package/dist/{chunk-4UNQ6X24.js → chunk-KUSAVOWZ.js} +4 -4
- package/dist/{chunk-77FGAVZC.js → chunk-LC3FFD43.js} +21 -19
- package/dist/{chunk-INE5YJBZ.js → chunk-LHILKFDP.js} +10 -10
- package/dist/{chunk-ONU3U4GL.js → chunk-LQHVDZYC.js} +52 -16
- package/dist/{chunk-75G3Q4DK.js → chunk-MA3HJZHB.js} +5 -5
- package/dist/{chunk-QVENJMNX.js → chunk-MEQYZZFR.js} +2 -2
- package/dist/{chunk-IM6PDDCE.js → chunk-NNUMX6WX.js} +42 -12
- package/dist/{chunk-FQMUHRVC.js → chunk-NNYFQOTK.js} +14 -13
- package/dist/{chunk-H6PI3KJT.js → chunk-ODUT5WMC.js} +2 -2
- package/dist/{chunk-K4EOKJA6.js → chunk-P3H7QVDH.js} +42 -15
- package/dist/{chunk-FUPF2UYQ.js → chunk-PIXZTCKH.js} +51 -108
- package/dist/{chunk-BPY242XU.js → chunk-PKNNHU7H.js} +19 -8
- package/dist/{chunk-BPIZNB5O.js → chunk-PT4SW76W.js} +11 -11
- package/dist/{chunk-UNURMIQO.js → chunk-PV2QO7QL.js} +4 -4
- package/dist/{chunk-LGT3PZCJ.js → chunk-PYO4TJJ3.js} +17 -17
- package/dist/{chunk-EMLPOL77.js → chunk-Q7AH665U.js} +15 -8
- package/dist/{chunk-LBMS4AW6.js → chunk-QAALSCKI.js} +14 -14
- package/dist/{chunk-JRCOYRRH.js → chunk-QI3BOLQB.js} +8 -8
- package/dist/{chunk-CCNDLW7Z.js → chunk-QWIBT6DS.js} +13 -13
- package/dist/{chunk-GU46PPT3.js → chunk-QXGACPS2.js} +5 -5
- package/dist/{chunk-FMDSF3OV.js → chunk-QZAW5SFH.js} +2 -2
- package/dist/{chunk-QHXCAEMX.js → chunk-R5NH5BZG.js} +8 -8
- package/dist/{chunk-5223KXFD.js → chunk-RJ5LBZ5U.js} +7 -7
- package/dist/{chunk-PRI2OD4E.js → chunk-RW5PEJ7D.js} +11 -6
- package/dist/{chunk-DYWQFQJP.js → chunk-SG4PRYO3.js} +22 -20
- package/dist/{chunk-NNS4E7CW.js → chunk-SGPFVDUL.js} +15 -6
- package/dist/{chunk-ZEF5M5MB.js → chunk-SQCBSFT5.js} +72 -74
- package/dist/{chunk-3HGU63UY.js → chunk-U7NKYLX2.js} +14 -13
- package/dist/chunk-U7VO6JAA.js +566 -0
- package/dist/{chunk-ZJV7GYR4.js → chunk-UFQJMOVZ.js} +10 -10
- package/dist/{chunk-Z72XRXD4.js → chunk-UJRTPOHH.js} +3 -3
- package/dist/{chunk-J6QROYDA.js → chunk-UK6DKJLD.js} +26 -10
- package/dist/{chunk-QZX5S6R3.js → chunk-UKP5HWB5.js} +149 -89
- package/dist/{chunk-T4A4TSTJ.js → chunk-UQRIKAMH.js} +21 -19
- package/dist/{chunk-TYS6CSS5.js → chunk-UU6LUYUH.js} +2 -2
- package/dist/{chunk-5BHJZH62.js → chunk-UVDCHR4E.js} +18 -6
- package/dist/{chunk-HQQNCY7W.js → chunk-VAO6ANGC.js} +5 -5
- package/dist/{chunk-6NYWYNBI.js → chunk-VGNIDAPQ.js} +4 -4
- package/dist/{chunk-VL2O2F3W.js → chunk-VHO3YBTB.js} +2 -2
- package/dist/{chunk-FHGVORFO.js → chunk-VIRANCNY.js} +14 -14
- package/dist/{chunk-XD6ZYURY.js → chunk-VJHBSPGF.js} +7 -14
- package/dist/{chunk-5RP7JRVP.js → chunk-VKNCC2GX.js} +12 -8
- package/dist/{chunk-TPFKKXCB.js → chunk-VRRDUYOK.js} +7 -7
- package/dist/{chunk-K2I2XOZD.js → chunk-W2DINCHL.js} +11 -11
- package/dist/{chunk-AUIM2NVH.js → chunk-W5KMNC5U.js} +8 -8
- package/dist/{chunk-FFUN5D66.js → chunk-WF64MW5G.js} +2 -2
- package/dist/{chunk-6LBQ7ELG.js → chunk-X3RXGSCZ.js} +40 -21
- package/dist/{chunk-HBPDFCQY.js → chunk-XEAQDIMF.js} +7 -6
- package/dist/{chunk-TTIM6YTT.js → chunk-XG4NWFPY.js} +17 -16
- package/dist/{chunk-7KINELPI.js → chunk-XQ4KN6JQ.js} +23 -23
- package/dist/{chunk-WBRZJOEC.js → chunk-XY3UDKKH.js} +4 -4
- package/dist/{chunk-5SEVICBT.js → chunk-YG2BEIQU.js} +14 -13
- package/dist/{chunk-BRENJ2BQ.js → chunk-YJVA3QUU.js} +24 -4
- package/dist/{chunk-KGVZ5VGH.js → chunk-YR43LJT5.js} +16 -15
- package/dist/{chunk-TLVIHFRO.js → chunk-ZKPPI6BF.js} +2 -2
- package/dist/{chunk-ARGMQ3H4.js → chunk-ZXUAPTCK.js} +3 -3
- package/dist/cli.cjs +156 -154
- package/dist/clock.js +9 -1
- package/dist/countdown.js +4 -3
- package/dist/dgmo-router-B4S23EBH.js +86 -0
- package/dist/dimensions-K6PGYYGT.js +22 -0
- package/dist/editor.js +33 -5
- package/dist/element.js +142 -132
- package/dist/element.mjs +1117 -452
- package/dist/flowchart-parser-LALR6J6F.js +21 -0
- package/dist/{flowchart-renderer-MNCDS7MV.js → flowchart-renderer-DXYB5YRF.js} +14 -14
- package/dist/highlight.js +37 -6
- package/dist/index.d.ts +4 -2
- package/dist/index.js +78 -73
- package/dist/layout-3BVDMKXI.js +15 -0
- package/dist/layout-3M5UYJHY.js +14 -0
- package/dist/{layout-2L3WMRYU.js → layout-3V2A4MUE.js} +8 -8
- package/dist/layout-4IHCMWZN.js +19 -0
- package/dist/layout-5XGYNYVT.js +9 -0
- package/dist/layout-AZUPXWSK.js +15 -0
- package/dist/{layout-F4WO357A.js → layout-CAAKQX4W.js} +3 -3
- package/dist/{layout-A5UHRWVH.js → layout-CB3XWCOI.js} +3 -3
- package/dist/{layout-OAC4PEAC.js → layout-E6HR6PXH.js} +7 -7
- package/dist/{layout-7QXCNOVS.js → layout-HBWT2G23.js} +3 -3
- package/dist/layout-KPQWJNAG.js +14 -0
- package/dist/layout-OL2XFJXA.js +17 -0
- package/dist/layout-WCAIKGZG.js +19 -0
- package/dist/layout-WSMPBQ4Q.js +17 -0
- package/dist/layout-ZE5DRJWX.js +20 -0
- package/dist/{layout-search-55FU6HD3.js → layout-search-34DPZD43.js} +51 -35
- package/dist/legend-constants-P5EQWRQQ.js +49 -0
- package/dist/{palettes-UDLZ2SA4.js → palettes-FGTNFARW.js} +4 -4
- package/dist/{parser-EYCKNKQA.js → parser-275KP7JO.js} +8 -8
- package/dist/parser-27Z76SN3.js +22 -0
- package/dist/parser-3CODK6RG.js +15 -0
- package/dist/{parser-YKYMQG3B.js → parser-3KIGEEJM.js} +6 -6
- package/dist/parser-3VSWEKBF.js +15 -0
- package/dist/parser-4E4I3GNT.js +13 -0
- package/dist/parser-5FGJSQNS.js +12 -0
- package/dist/parser-5HQXCNOS.js +12 -0
- package/dist/parser-5QPFOB5F.js +12 -0
- package/dist/parser-6B6SSZT7.js +11 -0
- package/dist/parser-6PPHAXXH.js +14 -0
- package/dist/parser-7JHWEWXM.js +13 -0
- package/dist/{parser-DQAFLUJB.js → parser-7JVIDLLR.js} +7 -7
- package/dist/parser-CKA3QMAG.js +18 -0
- package/dist/parser-CRKLXGW7.js +13 -0
- package/dist/parser-EXNBDNGY.js +11 -0
- package/dist/parser-FF4BMRSB.js +16 -0
- package/dist/parser-FOOFEJQU.js +13 -0
- package/dist/parser-G26MTBFS.js +11 -0
- package/dist/parser-GKP2MHHL.js +11 -0
- package/dist/parser-GN2MM5CC.js +11 -0
- package/dist/parser-IKWK2ZU3.js +18 -0
- package/dist/parser-IVGHXLZP.js +14 -0
- package/dist/parser-NNIL3HXU.js +11 -0
- package/dist/parser-RNLTBIJ6.js +19 -0
- package/dist/parser-UWRX52PC.js +16 -0
- package/dist/parser-VOERD6XR.js +14 -0
- package/dist/parser-XNKJCMMA.js +13 -0
- package/dist/parser-XVPTRWZ4.js +15 -0
- package/dist/parser-YSLNDFLV.js +22 -0
- package/dist/{parser-ZL5QUFVH.js → parser-ZGNXYFPS.js} +5 -5
- package/dist/parser-ZQDQTB4X.js +20 -0
- package/dist/pert.d.ts +2 -0
- package/dist/registry-CaSw0PSH.d.ts +350 -0
- package/dist/renderer-2C6DJRYN.js +24 -0
- package/dist/renderer-5MPN7CXZ.js +19 -0
- package/dist/renderer-6EN5XXJZ.js +27 -0
- package/dist/renderer-6WRYVM5R.js +24 -0
- package/dist/renderer-7NQSTQMQ.js +16 -0
- package/dist/renderer-7ZNVOVFG.js +16 -0
- package/dist/{renderer-DT4XRFEP.js → renderer-AK2WO4EI.js} +7 -7
- package/dist/renderer-COLQFSFV.js +26 -0
- package/dist/{renderer-3F7OS2AX.js → renderer-CWEFGEIC.js} +15 -15
- package/dist/renderer-D3BRNOMV.js +29 -0
- package/dist/renderer-HIFQVEJA.js +22 -0
- package/dist/renderer-JCZG6AYU.js +28 -0
- package/dist/{renderer-ZWIH4WDW.js → renderer-JTCX6PCG.js} +13 -13
- package/dist/renderer-JWGQSTMR.js +37 -0
- package/dist/{renderer-NHO46CT2.js → renderer-K7XLVPH5.js} +6 -6
- package/dist/renderer-KARQF3F3.js +22 -0
- package/dist/renderer-LVZAHRP6.js +34 -0
- package/dist/{renderer-CQY6ATOS.js → renderer-NE5W7CQP.js} +8 -8
- package/dist/renderer-QD2SJF2I.js +34 -0
- package/dist/renderer-RLMOTXZ6.js +37 -0
- package/dist/renderer-SQ54MDSA.js +26 -0
- package/dist/{renderer-HSHHVYWF.js → renderer-TYHGXAVT.js} +7 -7
- package/dist/renderer-UKXW2QPE.js +23 -0
- package/dist/renderer-UPF7NRTI.js +28 -0
- package/dist/renderer-VMH6L6CP.js +24 -0
- package/dist/{renderer-5DAKMIU2.js → renderer-WCWI4I6A.js} +5 -5
- package/dist/renderer-WFSUBKUL.js +25 -0
- package/dist/renderer-WNFXYYGL.js +21 -0
- package/dist/{renderer-KNFTTOBL.js → renderer-XTXSOK3L.js} +14 -14
- package/dist/renderer-YUKPS27O.js +24 -0
- package/dist/renderer-YUXGXGSW.js +27 -0
- package/dist/renderer-ZBTEX2JK.js +16 -0
- package/dist/renderer-radial-WF6VOUOD.js +21 -0
- package/dist/{resolver-EMTGNR3D.js → resolver-WFKZYBJ2.js} +4 -4
- package/dist/state-parser-L7DHZIQO.js +19 -0
- package/dist/state-renderer-TFEUOP4H.js +38 -0
- package/dist/{themes-32xj5ZTW.d.ts → themes-tbBkIVsn.d.ts} +2 -349
- package/docs/ai-integration.md +59 -58
- package/docs/language-reference.md +323 -286
- package/fonts/Inter-Bold.woff2 +0 -0
- package/fonts/Inter-Regular.woff2 +0 -0
- package/gallery/fixtures/boxes-and-lines-diverging.dgmo +1 -2
- package/gallery/fixtures/boxes-and-lines.dgmo +1 -1
- package/gallery/fixtures/clock.dgmo +1 -1
- package/gallery/fixtures/event-line.dgmo +1 -1
- package/gallery/fixtures/gantt-full.dgmo +1 -1
- package/gallery/fixtures/gantt-sprints.dgmo +9 -9
- package/gallery/fixtures/gantt.dgmo +1 -1
- package/gallery/fixtures/legacy-syntax-backcompat.dgmo +16 -0
- package/gallery/fixtures/state-tags.dgmo +40 -0
- package/gallery/fixtures/swimlane.dgmo +1 -1
- package/gallery/fixtures/timeline-intraday.dgmo +1 -1
- package/package.json +5 -1
- package/dist/analyzer-BJ54GIFB.js +0 -15
- package/dist/calculator-LDYQCDDY.js +0 -11
- package/dist/charts-d3-MXEP6BNP.js +0 -26
- package/dist/dgmo-router-X7ZGAPIE.js +0 -86
- package/dist/dimensions-45H6JQEY.js +0 -22
- package/dist/flowchart-parser-UKELHBSB.js +0 -21
- package/dist/layout-46N4JJYK.js +0 -17
- package/dist/layout-A4XWNVID.js +0 -14
- package/dist/layout-AM2JWW3X.js +0 -15
- package/dist/layout-EE6GE46Y.js +0 -17
- package/dist/layout-G23F7LDH.js +0 -9
- package/dist/layout-GM4UGR7B.js +0 -19
- package/dist/layout-GQQJXNYH.js +0 -15
- package/dist/layout-IIE2S5FK.js +0 -20
- package/dist/layout-VMCRX66I.js +0 -14
- package/dist/layout-ZDOSXL5G.js +0 -19
- package/dist/parser-2ECN6JA2.js +0 -16
- package/dist/parser-4WTIHM5J.js +0 -11
- package/dist/parser-5H2BTSJQ.js +0 -11
- package/dist/parser-75KVXUNS.js +0 -16
- package/dist/parser-774AC53T.js +0 -13
- package/dist/parser-BE4YCSRU.js +0 -11
- package/dist/parser-CNGUQUQI.js +0 -11
- package/dist/parser-DEUUSQIN.js +0 -22
- package/dist/parser-FXISIU6A.js +0 -14
- package/dist/parser-GTB4XC7P.js +0 -18
- package/dist/parser-GVEPAUSD.js +0 -12
- package/dist/parser-HSQGTY4G.js +0 -19
- package/dist/parser-HVKRINUS.js +0 -11
- package/dist/parser-J5MIEYO4.js +0 -15
- package/dist/parser-KMZIXLDZ.js +0 -13
- package/dist/parser-LJHXWSXU.js +0 -14
- package/dist/parser-PT3W72G5.js +0 -15
- package/dist/parser-SBJQDPHL.js +0 -15
- package/dist/parser-SUWWWCMX.js +0 -12
- package/dist/parser-SXDRNZOA.js +0 -13
- package/dist/parser-UMILOW3M.js +0 -14
- package/dist/parser-UP3AZ367.js +0 -13
- package/dist/parser-WHPRV3X5.js +0 -20
- package/dist/parser-WX3UODSJ.js +0 -12
- package/dist/parser-XCIEN3KN.js +0 -13
- package/dist/parser-XIRTUMVN.js +0 -18
- package/dist/parser-YKCGIG45.js +0 -11
- package/dist/parser-ZGM2OJ6Y.js +0 -22
- package/dist/renderer-4QB4K7Q3.js +0 -24
- package/dist/renderer-5H4SY7YY.js +0 -22
- package/dist/renderer-5PIQPFOX.js +0 -16
- package/dist/renderer-6MU37QF5.js +0 -19
- package/dist/renderer-AQVMWJ4M.js +0 -27
- package/dist/renderer-BDDW6K7N.js +0 -24
- package/dist/renderer-BNB3VIDY.js +0 -26
- package/dist/renderer-CVW75CXL.js +0 -37
- package/dist/renderer-ERHBSTQT.js +0 -25
- package/dist/renderer-IDPVUFNB.js +0 -28
- package/dist/renderer-ILX6BGKR.js +0 -21
- package/dist/renderer-JP663HKG.js +0 -22
- package/dist/renderer-MVUZBESR.js +0 -16
- package/dist/renderer-N4EBR2FV.js +0 -28
- package/dist/renderer-NO2QJ5LZ.js +0 -27
- package/dist/renderer-OGFV5RXX.js +0 -34
- package/dist/renderer-PDLESJMS.js +0 -37
- package/dist/renderer-T4MTNINC.js +0 -24
- package/dist/renderer-TOUGFGTM.js +0 -24
- package/dist/renderer-U3KPD43Y.js +0 -34
- package/dist/renderer-X334IJU2.js +0 -26
- package/dist/renderer-Y5OAMOCR.js +0 -23
- package/dist/renderer-YONAKAJU.js +0 -16
- package/dist/renderer-YWMI6Y2U.js +0 -29
- package/dist/renderer-radial-7CGZMVMS.js +0 -21
- package/dist/state-parser-BATWAID2.js +0 -18
- package/dist/state-renderer-3FKZJ3LP.js +0 -34
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-BMR4CIEO.js";
|
|
13
13
|
import {
|
|
14
14
|
measureText
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4ASYQ347.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/note-box/metrics.ts
|
|
18
18
|
function normalizeBulletLine(line) {
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
wrapNoteBody,
|
|
50
50
|
noteBoxSize
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=chunk-
|
|
52
|
+
//# sourceMappingURL=chunk-UU6LUYUH.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mix
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JYDMBWRP.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveTagColor,
|
|
6
6
|
tagAttrKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CMVZWP32.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveColor
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZKPPI6BF.js";
|
|
11
11
|
|
|
12
12
|
// src/treemap/treemap-shared.ts
|
|
13
13
|
import { scaleLinear } from "d3-scale";
|
|
@@ -19,12 +19,23 @@ function depthTint(hue, depth, bg) {
|
|
|
19
19
|
}
|
|
20
20
|
function resolveColorMode(parsed, override) {
|
|
21
21
|
let mode = override ?? parsed.defaultColorMode;
|
|
22
|
+
if (mode === "heat" && !parsed.hasHeat) {
|
|
23
|
+
mode = parsed.tagGroups.length > 0 ? "tag" : "branch";
|
|
24
|
+
}
|
|
22
25
|
if (mode === "tag" && parsed.tagGroups.length === 0) {
|
|
23
26
|
mode = parsed.hasHeat ? "heat" : "branch";
|
|
24
27
|
}
|
|
25
|
-
if (mode === "heat" && !parsed.hasHeat) mode = "branch";
|
|
26
28
|
return mode;
|
|
27
29
|
}
|
|
30
|
+
function activeTagGroupOf(parsed) {
|
|
31
|
+
if (parsed.tagGroups.length === 0) return null;
|
|
32
|
+
const at = parsed.activeTag?.trim().toLowerCase();
|
|
33
|
+
if (at) {
|
|
34
|
+
const g = parsed.tagGroups.find((x) => x.name.toLowerCase() === at);
|
|
35
|
+
if (g) return g;
|
|
36
|
+
}
|
|
37
|
+
return parsed.tagGroups[0];
|
|
38
|
+
}
|
|
28
39
|
function resolveCellColor(cell, ctx) {
|
|
29
40
|
if (ctx.mode === "heat") {
|
|
30
41
|
return cell.heat !== void 0 && ctx.heat ? ctx.heat.scale(cell.heat) : MUTED_FILL;
|
|
@@ -112,7 +123,7 @@ function buildLegend(activeMode, parsed, heat, seriesColors, colorOffset) {
|
|
|
112
123
|
const modeByName = /* @__PURE__ */ new Map();
|
|
113
124
|
let activeGroup = null;
|
|
114
125
|
if (parsed.tagGroups.length > 0) {
|
|
115
|
-
const tg = parsed
|
|
126
|
+
const tg = activeTagGroupOf(parsed);
|
|
116
127
|
const used = /* @__PURE__ */ new Set();
|
|
117
128
|
const collect = (nodes) => {
|
|
118
129
|
for (const n of nodes) {
|
|
@@ -158,10 +169,11 @@ function buildLegend(activeMode, parsed, heat, seriesColors, colorOffset) {
|
|
|
158
169
|
|
|
159
170
|
export {
|
|
160
171
|
resolveColorMode,
|
|
172
|
+
activeTagGroupOf,
|
|
161
173
|
resolveCellColor,
|
|
162
174
|
buildHeatScale,
|
|
163
175
|
compactNumber,
|
|
164
176
|
formatPct,
|
|
165
177
|
buildLegend
|
|
166
178
|
};
|
|
167
|
-
//# sourceMappingURL=chunk-
|
|
179
|
+
//# sourceMappingURL=chunk-UVDCHR4E.js.map
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
tagAttrKey,
|
|
11
11
|
validateTagGroupNames,
|
|
12
12
|
validateTagValues
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CMVZWP32.js";
|
|
14
14
|
import {
|
|
15
15
|
parseInArrowLabel
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WF64MW5G.js";
|
|
17
17
|
import {
|
|
18
18
|
normalizeName
|
|
19
19
|
} from "./chunk-NOTA6TEI.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
stripQuotes,
|
|
28
28
|
warnUnknownMetaKeys,
|
|
29
29
|
withTagAliases
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-YJVA3QUU.js";
|
|
31
31
|
import {
|
|
32
32
|
NAME_DIAGNOSTIC_CODES,
|
|
33
33
|
formatDgmoError,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
makeFail,
|
|
36
36
|
nameMergedMessage,
|
|
37
37
|
suggest
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-4W2PE66Q.js";
|
|
39
39
|
|
|
40
40
|
// src/sketch/types.ts
|
|
41
41
|
var SKETCH_SHAPE_KINDS = [
|
|
@@ -627,4 +627,4 @@ export {
|
|
|
627
627
|
isSketchShapeKind,
|
|
628
628
|
parseSketch
|
|
629
629
|
};
|
|
630
|
-
//# sourceMappingURL=chunk-
|
|
630
|
+
//# sourceMappingURL=chunk-VAO6ANGC.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildPlacedNotes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5HWPEYWB.js";
|
|
4
4
|
import {
|
|
5
5
|
noteCanvasShift
|
|
6
6
|
} from "./chunk-6EK55ART.js";
|
|
7
7
|
import {
|
|
8
8
|
measureText
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4ASYQ347.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveNotes
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QZAW5SFH.js";
|
|
13
13
|
|
|
14
14
|
// src/er/layout.ts
|
|
15
15
|
import dagre from "@dagrejs/dagre";
|
|
@@ -326,4 +326,4 @@ function layoutERDiagram(parsed, options) {
|
|
|
326
326
|
export {
|
|
327
327
|
layoutERDiagram
|
|
328
328
|
};
|
|
329
|
-
//# sourceMappingURL=chunk-
|
|
329
|
+
//# sourceMappingURL=chunk-VGNIDAPQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
measureText
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4ASYQ347.js";
|
|
4
4
|
|
|
5
5
|
// src/label-layout.ts
|
|
6
6
|
function rectsOverlap(a, b) {
|
|
@@ -221,4 +221,4 @@ export {
|
|
|
221
221
|
segmentsCross,
|
|
222
222
|
computeQuadrantPointLabels
|
|
223
223
|
};
|
|
224
|
-
//# sourceMappingURL=chunk-
|
|
224
|
+
//# sourceMappingURL=chunk-VHO3YBTB.js.map
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
} from "./chunk-YYVTBZZC.js";
|
|
8
8
|
import {
|
|
9
9
|
renderIntegratedLegend
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W5KMNC5U.js";
|
|
11
11
|
import {
|
|
12
12
|
controlsGroupCapsuleWidth,
|
|
13
13
|
getMaxLegendReservedHeight
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-774C2FF3.js";
|
|
15
15
|
import {
|
|
16
16
|
TITLE_FONT_SIZE,
|
|
17
17
|
TITLE_FONT_WEIGHT,
|
|
@@ -20,6 +20,12 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
FONT_FAMILY
|
|
22
22
|
} from "./chunk-6KFWC4CO.js";
|
|
23
|
+
import {
|
|
24
|
+
contrastText,
|
|
25
|
+
getSeriesColors,
|
|
26
|
+
mix,
|
|
27
|
+
shapeFill
|
|
28
|
+
} from "./chunk-JYDMBWRP.js";
|
|
23
29
|
import {
|
|
24
30
|
LEGEND_CAPSULE_PAD,
|
|
25
31
|
LEGEND_DOT_R,
|
|
@@ -34,23 +40,17 @@ import {
|
|
|
34
40
|
LEGEND_PILL_PAD,
|
|
35
41
|
measureLegendText,
|
|
36
42
|
truncateLegendText
|
|
37
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-4RGZFA7H.js";
|
|
38
44
|
import {
|
|
39
45
|
CHAR_WIDTH_RATIO,
|
|
40
46
|
measureText,
|
|
41
47
|
truncateText
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import {
|
|
44
|
-
contrastText,
|
|
45
|
-
getSeriesColors,
|
|
46
|
-
mix,
|
|
47
|
-
shapeFill
|
|
48
|
-
} from "./chunk-WBM7ZNDI.js";
|
|
48
|
+
} from "./chunk-4ASYQ347.js";
|
|
49
49
|
import {
|
|
50
50
|
resolveActiveTagGroup,
|
|
51
51
|
resolveTagColor,
|
|
52
52
|
tagAttrKey
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-CMVZWP32.js";
|
|
54
54
|
import {
|
|
55
55
|
normalizeName
|
|
56
56
|
} from "./chunk-NOTA6TEI.js";
|
|
@@ -177,7 +177,7 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
177
177
|
const showTitle = !!title && !resolved.options.noTitle;
|
|
178
178
|
const titleHeight = showTitle ? 50 : 20;
|
|
179
179
|
const containerWidth = exportDims?.width ?? (container.clientWidth || 800);
|
|
180
|
-
const hasTagLegend = resolved.tagGroups.length > 0 || hasCriticalPath || hasDependencies;
|
|
180
|
+
const hasTagLegend = !resolved.options.noLegend && (resolved.tagGroups.length > 0 || hasCriticalPath || hasDependencies);
|
|
181
181
|
const tagLegendReserve = hasTagLegend ? getMaxLegendReservedHeight(
|
|
182
182
|
{
|
|
183
183
|
groups: resolved.tagGroups.map((tg) => ({
|
|
@@ -238,7 +238,7 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
238
238
|
}
|
|
239
239
|
function drawLegend() {
|
|
240
240
|
svg.selectAll(".gantt-tag-legend-container").remove();
|
|
241
|
-
if (
|
|
241
|
+
if (hasTagLegend) {
|
|
242
242
|
const legendY = sTitleHeight;
|
|
243
243
|
renderTagLegend(
|
|
244
244
|
svg,
|
|
@@ -2105,4 +2105,4 @@ export {
|
|
|
2105
2105
|
renderGantt,
|
|
2106
2106
|
buildTagLaneRowList
|
|
2107
2107
|
};
|
|
2108
|
-
//# sourceMappingURL=chunk-
|
|
2108
|
+
//# sourceMappingURL=chunk-VIRANCNY.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
stripDefaultModifier,
|
|
9
9
|
tagAttrKey,
|
|
10
10
|
validateTagGroupNames
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CMVZWP32.js";
|
|
12
12
|
import {
|
|
13
13
|
JOURNEY_MAP_REGISTRY,
|
|
14
14
|
OPTION_NOCOLON_RE,
|
|
@@ -19,16 +19,16 @@ import {
|
|
|
19
19
|
splitNameAndMeta,
|
|
20
20
|
warnUnknownMetaKeys,
|
|
21
21
|
withTagAliases
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YJVA3QUU.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveColorWithDiagnostic
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZKPPI6BF.js";
|
|
26
26
|
import {
|
|
27
27
|
formatDgmoError,
|
|
28
28
|
makeDgmoError,
|
|
29
29
|
makeFail,
|
|
30
30
|
suggest
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4W2PE66Q.js";
|
|
32
32
|
|
|
33
33
|
// src/journey-map/parser.ts
|
|
34
34
|
var PHASE_RE = /^\[(.+?)\]$/;
|
|
@@ -38,11 +38,9 @@ var KNOWN_BOOLEANS = /* @__PURE__ */ new Set([
|
|
|
38
38
|
"fill-tint",
|
|
39
39
|
"fill-solid",
|
|
40
40
|
"fill-outline",
|
|
41
|
-
"no-title"
|
|
41
|
+
"no-title",
|
|
42
|
+
"no-legend"
|
|
42
43
|
]);
|
|
43
|
-
var REMOVED_BOOLEANS = {
|
|
44
|
-
"no-legend": '"no-legend" has been removed \u2014 remove tag groups to hide the legend.'
|
|
45
|
-
};
|
|
46
44
|
function parseJourneyMap(content, palette) {
|
|
47
45
|
const options = {};
|
|
48
46
|
const result = {
|
|
@@ -213,11 +211,6 @@ function parseJourneyMap(content, palette) {
|
|
|
213
211
|
continue;
|
|
214
212
|
}
|
|
215
213
|
}
|
|
216
|
-
const removedMsg = REMOVED_BOOLEANS[trimmed.toLowerCase()];
|
|
217
|
-
if (removedMsg && !PHASE_RE.test(trimmed)) {
|
|
218
|
-
warn(lineNumber, removedMsg);
|
|
219
|
-
continue;
|
|
220
|
-
}
|
|
221
214
|
if (KNOWN_BOOLEANS.has(trimmed.toLowerCase()) && !PHASE_RE.test(trimmed)) {
|
|
222
215
|
options[trimmed.toLowerCase()] = "on";
|
|
223
216
|
continue;
|
|
@@ -411,4 +404,4 @@ function parseStepLine(trimmed, lineNumber, counter, aliasMap, warn, diagnostics
|
|
|
411
404
|
export {
|
|
412
405
|
parseJourneyMap
|
|
413
406
|
};
|
|
414
|
-
//# sourceMappingURL=chunk-
|
|
407
|
+
//# sourceMappingURL=chunk-VJHBSPGF.js.map
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
tagAttrKey,
|
|
8
8
|
validateTagGroupNames,
|
|
9
9
|
validateTagValues
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CMVZWP32.js";
|
|
11
11
|
import {
|
|
12
12
|
tryCollectNote
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZXUAPTCK.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveNotes
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QZAW5SFH.js";
|
|
17
17
|
import {
|
|
18
18
|
parseInArrowLabel
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WF64MW5G.js";
|
|
20
20
|
import {
|
|
21
21
|
normalizeName
|
|
22
22
|
} from "./chunk-NOTA6TEI.js";
|
|
@@ -30,11 +30,11 @@ import {
|
|
|
30
30
|
tryParseSharedOption,
|
|
31
31
|
warnUnknownMetaKeys,
|
|
32
32
|
withTagAliases
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-YJVA3QUU.js";
|
|
34
34
|
import {
|
|
35
35
|
makeDgmoError,
|
|
36
36
|
suggest
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-4W2PE66Q.js";
|
|
38
38
|
|
|
39
39
|
// src/boxes-and-lines/parser.ts
|
|
40
40
|
var MAX_GROUP_DEPTH = 2;
|
|
@@ -172,7 +172,7 @@ function parseBoxesAndLines(content, palette) {
|
|
|
172
172
|
continue;
|
|
173
173
|
}
|
|
174
174
|
if (indent === 0) {
|
|
175
|
-
const dirMatch = trimmed.match(/^direction
|
|
175
|
+
const dirMatch = trimmed.match(/^direction[-\s]+(TB|LR)$/i);
|
|
176
176
|
if (dirMatch) {
|
|
177
177
|
result.direction = dirMatch[1].toUpperCase();
|
|
178
178
|
continue;
|
|
@@ -204,6 +204,10 @@ function parseBoxesAndLines(content, palette) {
|
|
|
204
204
|
if (low !== void 0) result.boxMetricLowColor = low;
|
|
205
205
|
continue;
|
|
206
206
|
}
|
|
207
|
+
if (/^no-value$/i.test(trimmed)) {
|
|
208
|
+
result.showValues = false;
|
|
209
|
+
continue;
|
|
210
|
+
}
|
|
207
211
|
if (/^show-values$/i.test(trimmed)) {
|
|
208
212
|
result.showValues = true;
|
|
209
213
|
continue;
|
|
@@ -829,4 +833,4 @@ export {
|
|
|
829
833
|
looksLikeBoxesAndLines,
|
|
830
834
|
parseBoxesAndLines
|
|
831
835
|
};
|
|
832
|
-
//# sourceMappingURL=chunk-
|
|
836
|
+
//# sourceMappingURL=chunk-VKNCC2GX.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryCollectNote
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZXUAPTCK.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveNotes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QZAW5SFH.js";
|
|
7
7
|
import {
|
|
8
8
|
validateLabelCharacters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WF64MW5G.js";
|
|
10
10
|
import {
|
|
11
11
|
displayName,
|
|
12
12
|
normalizeName
|
|
@@ -16,16 +16,16 @@ import {
|
|
|
16
16
|
measureIndent,
|
|
17
17
|
parseFirstLine,
|
|
18
18
|
tryParseSharedOption
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YJVA3QUU.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveColorWithDiagnostic
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZKPPI6BF.js";
|
|
23
23
|
import {
|
|
24
24
|
NAME_DIAGNOSTIC_CODES,
|
|
25
25
|
formatDgmoError,
|
|
26
26
|
makeDgmoError,
|
|
27
27
|
nameMergedMessage
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4W2PE66Q.js";
|
|
29
29
|
|
|
30
30
|
// src/class/parser.ts
|
|
31
31
|
function classId(name) {
|
|
@@ -445,4 +445,4 @@ export {
|
|
|
445
445
|
looksLikeClassDiagram,
|
|
446
446
|
extractSymbols
|
|
447
447
|
};
|
|
448
|
-
//# sourceMappingURL=chunk-
|
|
448
|
+
//# sourceMappingURL=chunk-VRRDUYOK.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-BMR4CIEO.js";
|
|
7
7
|
import {
|
|
8
8
|
renderNodeCard
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-H3HFC3SQ.js";
|
|
10
10
|
import {
|
|
11
11
|
CARD_RADIUS,
|
|
12
12
|
HEADER_HEIGHT,
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
} from "./chunk-3CIOJ5YJ.js";
|
|
17
17
|
import {
|
|
18
18
|
formatDateLabel
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XQ4KN6JQ.js";
|
|
20
20
|
import {
|
|
21
21
|
renderIntegratedLegend
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-W5KMNC5U.js";
|
|
23
23
|
import {
|
|
24
24
|
TITLE_FONT_SIZE,
|
|
25
25
|
TITLE_FONT_WEIGHT,
|
|
@@ -28,24 +28,24 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
FONT_FAMILY
|
|
30
30
|
} from "./chunk-6KFWC4CO.js";
|
|
31
|
-
import {
|
|
32
|
-
CHAR_WIDTH_RATIO,
|
|
33
|
-
wrapTextToWidth
|
|
34
|
-
} from "./chunk-WCT3NYCV.js";
|
|
35
31
|
import {
|
|
36
32
|
contrastText,
|
|
37
33
|
getSeriesColors,
|
|
38
34
|
mix,
|
|
39
35
|
shapeFill,
|
|
40
36
|
themeBaseBg
|
|
41
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-JYDMBWRP.js";
|
|
38
|
+
import {
|
|
39
|
+
CHAR_WIDTH_RATIO,
|
|
40
|
+
wrapTextToWidth
|
|
41
|
+
} from "./chunk-4ASYQ347.js";
|
|
42
42
|
import {
|
|
43
43
|
resolveActiveTagGroup,
|
|
44
44
|
resolveTagColor
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-CMVZWP32.js";
|
|
46
46
|
import {
|
|
47
47
|
resolveColor
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ZKPPI6BF.js";
|
|
49
49
|
|
|
50
50
|
// src/event-line/renderer.ts
|
|
51
51
|
import * as d3Selection from "d3-selection";
|
|
@@ -982,4 +982,4 @@ export {
|
|
|
982
982
|
focusEventLine,
|
|
983
983
|
renderEventLineForExport
|
|
984
984
|
};
|
|
985
|
-
//# sourceMappingURL=chunk-
|
|
985
|
+
//# sourceMappingURL=chunk-W2DINCHL.js.map
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeLegendLayout
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-774C2FF3.js";
|
|
4
4
|
import {
|
|
5
5
|
FONT_FAMILY
|
|
6
6
|
} from "./chunk-6KFWC4CO.js";
|
|
7
|
+
import {
|
|
8
|
+
mix,
|
|
9
|
+
valueRampStops
|
|
10
|
+
} from "./chunk-JYDMBWRP.js";
|
|
7
11
|
import {
|
|
8
12
|
CONTROLS_ICON_PATH,
|
|
9
13
|
LEGEND_DOT_R,
|
|
@@ -14,14 +18,10 @@ import {
|
|
|
14
18
|
LEGEND_TOGGLE_DOT_R,
|
|
15
19
|
LEGEND_TOGGLE_OFF_OPACITY,
|
|
16
20
|
measureLegendText
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import {
|
|
19
|
-
mix,
|
|
20
|
-
valueRampStops
|
|
21
|
-
} from "./chunk-WBM7ZNDI.js";
|
|
21
|
+
} from "./chunk-4RGZFA7H.js";
|
|
22
22
|
import {
|
|
23
23
|
tagAttrKey
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CMVZWP32.js";
|
|
25
25
|
|
|
26
26
|
// src/utils/legend-d3.ts
|
|
27
27
|
var LEGEND_TEXT_DY = "0.32em";
|
|
@@ -293,4 +293,4 @@ export {
|
|
|
293
293
|
renderLegendD3,
|
|
294
294
|
renderIntegratedLegend
|
|
295
295
|
};
|
|
296
|
-
//# sourceMappingURL=chunk-
|
|
296
|
+
//# sourceMappingURL=chunk-W5KMNC5U.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeDgmoError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4W2PE66Q.js";
|
|
4
4
|
|
|
5
5
|
// src/utils/arrows.ts
|
|
6
6
|
var ARROW_DIAGNOSTIC_CODES = {
|
|
@@ -94,4 +94,4 @@ export {
|
|
|
94
94
|
parseInArrowLabel,
|
|
95
95
|
parseArrow
|
|
96
96
|
};
|
|
97
|
-
//# sourceMappingURL=chunk-
|
|
97
|
+
//# sourceMappingURL=chunk-WF64MW5G.js.map
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
+
activeTagGroupOf,
|
|
2
3
|
buildHeatScale,
|
|
3
4
|
buildLegend,
|
|
4
5
|
compactNumber,
|
|
5
6
|
formatPct,
|
|
6
7
|
resolveCellColor,
|
|
7
8
|
resolveColorMode
|
|
8
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UVDCHR4E.js";
|
|
9
10
|
import {
|
|
10
11
|
renderIntegratedLegend
|
|
11
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-W5KMNC5U.js";
|
|
12
13
|
import {
|
|
13
14
|
getMaxLegendReservedHeight
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-774C2FF3.js";
|
|
15
16
|
import {
|
|
16
17
|
TITLE_FONT_SIZE,
|
|
17
18
|
TITLE_FONT_WEIGHT,
|
|
@@ -20,21 +21,21 @@ import {
|
|
|
20
21
|
import {
|
|
21
22
|
FONT_FAMILY
|
|
22
23
|
} from "./chunk-6KFWC4CO.js";
|
|
23
|
-
import {
|
|
24
|
-
LEGEND_GROUP_GAP
|
|
25
|
-
} from "./chunk-QOOUC2J5.js";
|
|
26
|
-
import {
|
|
27
|
-
measureText
|
|
28
|
-
} from "./chunk-WCT3NYCV.js";
|
|
29
24
|
import {
|
|
30
25
|
contrastText,
|
|
31
26
|
getSeriesColors,
|
|
32
27
|
mix,
|
|
33
28
|
themeBaseBg
|
|
34
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-JYDMBWRP.js";
|
|
30
|
+
import {
|
|
31
|
+
LEGEND_GROUP_GAP
|
|
32
|
+
} from "./chunk-4RGZFA7H.js";
|
|
33
|
+
import {
|
|
34
|
+
measureText
|
|
35
|
+
} from "./chunk-4ASYQ347.js";
|
|
35
36
|
import {
|
|
36
37
|
tagAttrKey
|
|
37
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-CMVZWP32.js";
|
|
38
39
|
|
|
39
40
|
// src/treemap/renderer.ts
|
|
40
41
|
import * as d3Selection from "d3-selection";
|
|
@@ -63,14 +64,31 @@ function toDatum(node) {
|
|
|
63
64
|
children: node.children.map((c) => toDatum(c))
|
|
64
65
|
};
|
|
65
66
|
}
|
|
66
|
-
function
|
|
67
|
+
function collectHeatAggs(root) {
|
|
68
|
+
const aggs = /* @__PURE__ */ new Map();
|
|
69
|
+
root.eachBefore((node) => {
|
|
70
|
+
if (node.children) return;
|
|
71
|
+
const heat = node.data.heat;
|
|
72
|
+
if (heat === void 0) return;
|
|
73
|
+
let p = node;
|
|
74
|
+
while (p) {
|
|
75
|
+
const agg = aggs.get(p);
|
|
76
|
+
if (agg) {
|
|
77
|
+
agg.sum += heat;
|
|
78
|
+
agg.count += 1;
|
|
79
|
+
} else {
|
|
80
|
+
aggs.set(p, { sum: heat, count: 1 });
|
|
81
|
+
}
|
|
82
|
+
p = p.parent;
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
return aggs;
|
|
86
|
+
}
|
|
87
|
+
function datumHeat(node, heatAggs) {
|
|
67
88
|
if (node.data.heat !== void 0) return node.data.heat;
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
if (xs.length === 0) return void 0;
|
|
73
|
-
return xs.reduce((a, b) => a + b, 0) / xs.length;
|
|
89
|
+
const agg = heatAggs.get(node);
|
|
90
|
+
if (agg === void 0) return void 0;
|
|
91
|
+
return agg.sum / agg.count;
|
|
74
92
|
}
|
|
75
93
|
function layoutTreemap(roots, opts) {
|
|
76
94
|
const maxDepth = opts.maxDepth ?? Infinity;
|
|
@@ -86,6 +104,7 @@ function layoutTreemap(roots, opts) {
|
|
|
86
104
|
d._topIndex = i;
|
|
87
105
|
});
|
|
88
106
|
});
|
|
107
|
+
const heatAggs = collectHeatAggs(hroot);
|
|
89
108
|
const cells = [];
|
|
90
109
|
for (const d of hroot.descendants()) {
|
|
91
110
|
if (d.depth === 0) continue;
|
|
@@ -99,7 +118,7 @@ function layoutTreemap(roots, opts) {
|
|
|
99
118
|
path.unshift(p.data.label);
|
|
100
119
|
p = p.parent;
|
|
101
120
|
}
|
|
102
|
-
const heatVal = datumHeat(d);
|
|
121
|
+
const heatVal = datumHeat(d, heatAggs);
|
|
103
122
|
cells.push({
|
|
104
123
|
node: d.data.ref ?? null,
|
|
105
124
|
label: d.data.label,
|
|
@@ -181,7 +200,7 @@ function renderTreemap(container, parsed, palette, isDark, exportDims, options =
|
|
|
181
200
|
const root = svg.append("g").attr("class", "dgmo-treemap-cells").attr("transform", `translate(${areaX},${areaY})`);
|
|
182
201
|
const seriesColors = seriesColorsTop;
|
|
183
202
|
const colorOffset = options.colorOffset ?? 0;
|
|
184
|
-
const activeGroup = parsed
|
|
203
|
+
const activeGroup = activeTagGroupOf(parsed)?.name ?? null;
|
|
185
204
|
const rootIndexByLabel = new Map(parsed.roots.map((r, i) => [r.label, i]));
|
|
186
205
|
const colorCtx = {
|
|
187
206
|
mode,
|
|
@@ -380,4 +399,4 @@ export {
|
|
|
380
399
|
renderTreemapForExport,
|
|
381
400
|
renderTreemap
|
|
382
401
|
};
|
|
383
|
-
//# sourceMappingURL=chunk-
|
|
402
|
+
//# sourceMappingURL=chunk-X3RXGSCZ.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
tagAttrKey,
|
|
11
11
|
validateTagGroupNames,
|
|
12
12
|
validateTagValues
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CMVZWP32.js";
|
|
14
14
|
import {
|
|
15
15
|
normalizeName
|
|
16
16
|
} from "./chunk-NOTA6TEI.js";
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
tryParseSharedOption,
|
|
26
26
|
warnUnknownMetaKeys,
|
|
27
27
|
withTagAliases
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YJVA3QUU.js";
|
|
29
29
|
import {
|
|
30
30
|
formatDgmoError,
|
|
31
31
|
makeDgmoError,
|
|
32
32
|
makeFail,
|
|
33
33
|
suggest
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-4W2PE66Q.js";
|
|
35
35
|
|
|
36
36
|
// src/sitemap/parser.ts
|
|
37
37
|
var CONTAINER_RE = /^\[([^\]]+)\]\s*(.*)$/;
|
|
@@ -176,8 +176,9 @@ function parseSitemap(content, palette) {
|
|
|
176
176
|
continue;
|
|
177
177
|
}
|
|
178
178
|
if (!contentStarted && !currentTagGroup && measureIndent(line) === 0 && !trimmed.includes("|") && !trimmed.includes("->") && !trimmed.includes(":")) {
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
const dirBool = trimmed.match(/^direction-(lr|tb)$/i);
|
|
180
|
+
if (dirBool) {
|
|
181
|
+
result.direction = dirBool[1].toUpperCase();
|
|
181
182
|
continue;
|
|
182
183
|
}
|
|
183
184
|
if (tryParseSharedOption(trimmed, options)) {
|
|
@@ -519,4 +520,4 @@ export {
|
|
|
519
520
|
looksLikeSitemap,
|
|
520
521
|
parseSitemap
|
|
521
522
|
};
|
|
522
|
-
//# sourceMappingURL=chunk-
|
|
523
|
+
//# sourceMappingURL=chunk-XEAQDIMF.js.map
|