@diagrammo/dgmo 0.77.0 → 0.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -13
- package/dist/advanced.d.ts +197 -23
- package/dist/advanced.js +161 -142
- package/dist/block.css +1 -1
- package/dist/block.d.ts +2 -2
- package/dist/block.js +62 -58
- package/dist/{calculator-CVQ54JNE.js → calculator-OHTCZSBW.js} +3 -3
- package/dist/{chart-meta-Cf_jkApJ.d.ts → chart-meta-B7lSmrzg.d.ts} +2 -2
- package/dist/chart-meta.d.ts +3 -3
- package/dist/chart-meta.js +45 -44
- package/dist/charts-d3-EST3Z5VG.js +31 -0
- package/dist/{chunk-U4DS2ODO.js → chunk-253E5ISJ.js} +9 -9
- package/dist/{chunk-7IATMZSA.js → chunk-26EVL454.js} +1 -25
- package/dist/{chunk-MG3DE3VO.js → chunk-2F7AG7LA.js} +4 -4
- package/dist/{chunk-OWVDD5EC.js → chunk-2R2M2C6V.js} +2 -2
- package/dist/{chunk-LYJ53DBK.js → chunk-2RAH6GVR.js} +56 -41
- package/dist/{chunk-Q74GP3GK.js → chunk-37NDM5NW.js} +3 -3
- package/dist/{chunk-N6MZSBOL.js → chunk-3BN3WCUD.js} +5 -2
- package/dist/chunk-3DPOIW3W.js +10 -0
- package/dist/{chunk-HDLRRY3N.js → chunk-3KFGPXHD.js} +195 -135
- package/dist/{chunk-NWNSXHA5.js → chunk-3KNA7OIO.js} +3 -3
- package/dist/{chunk-M5OOAP65.js → chunk-4CA7TJ44.js} +2 -1
- package/dist/{chunk-M5JT2AU7.js → chunk-4L43NPSQ.js} +10 -6
- package/dist/{chunk-4YER7UCV.js → chunk-4T6V7JJA.js} +3 -3
- package/dist/{chunk-3E4YB6TY.js → chunk-4YSWUQKZ.js} +12 -7
- package/dist/{chunk-6BVAW7KI.js → chunk-54JYWS7D.js} +50 -43
- package/dist/{chunk-7NSNE52V.js → chunk-55DMCFGM.js} +3 -3
- package/dist/{chunk-XPBJVSRY.js → chunk-5BV5MXLY.js} +38 -32
- package/dist/{chunk-5VMUVJO4.js → chunk-5DWF3N3V.js} +3 -3
- package/dist/{chunk-SSEAULA5.js → chunk-6775W3UW.js} +19 -15
- package/dist/{chunk-2QRIMMIH.js → chunk-6EMJRAEY.js} +3 -3
- package/dist/{chunk-OZOHREFQ.js → chunk-6FUIPWTS.js} +14 -15
- package/dist/{chunk-F4V67JXG.js → chunk-6JIMYPXR.js} +4 -4
- package/dist/{chunk-CHOK7NCJ.js → chunk-7AEMAUDF.js} +29 -25
- package/dist/{chunk-NVOU7N6C.js → chunk-7DCM3CB5.js} +2 -2
- package/dist/{chunk-UBDVAHGK.js → chunk-7EUTTKNU.js} +36 -31
- package/dist/{chunk-76NHL5UG.js → chunk-7I6NWTPE.js} +2 -2
- package/dist/{chunk-OKXWPKUC.js → chunk-7SHL2WME.js} +2 -2
- package/dist/{chunk-SWEKCK34.js → chunk-AFOHIR2O.js} +3 -3
- package/dist/{chunk-RWFMOVHG.js → chunk-AI7TZQ2R.js} +3 -3
- package/dist/{chunk-BWJLLNUX.js → chunk-ALVK3TBO.js} +3 -3
- package/dist/{chunk-GLREDNBA.js → chunk-AMQFJ7P7.js} +21 -2
- package/dist/{chunk-RGW26UAR.js → chunk-CCETDPLV.js} +11 -11
- package/dist/{chunk-5ZD4DDG7.js → chunk-CE654SL2.js} +17 -14
- package/dist/{chunk-TPN7RJOM.js → chunk-CFYTCBRH.js} +4 -4
- package/dist/{chunk-YT5ICQ4R.js → chunk-CKDYRVOC.js} +3 -3
- package/dist/{chunk-WQXD3IIN.js → chunk-CRBW2WS7.js} +11 -9
- package/dist/{chunk-J76YDS4V.js → chunk-CREALBZL.js} +3 -3
- package/dist/{chunk-MZEGUDTA.js → chunk-CSTYDCKB.js} +16 -16
- package/dist/{chunk-QBM5BURJ.js → chunk-DG5IQW74.js} +10 -10
- package/dist/{chunk-Y2CYNRL7.js → chunk-DN6K6QCF.js} +2 -2
- package/dist/{chunk-43AJKH2U.js → chunk-DQOCYWB6.js} +12 -10
- package/dist/{chunk-FTTB64OJ.js → chunk-EBEFYSVZ.js} +40 -40
- package/dist/{chunk-L65WI4HO.js → chunk-EDU2OCIQ.js} +2 -2
- package/dist/{chunk-SWUQJ5VR.js → chunk-EOG4QKKV.js} +108 -65
- package/dist/chunk-EPDBWATV.js +38 -0
- package/dist/{chunk-5GM6BZO7.js → chunk-F66R7CPY.js} +6 -3
- package/dist/{chunk-7BMX2M3F.js → chunk-FFDHZVEL.js} +2 -2
- package/dist/{chunk-WGC42WJU.js → chunk-FWNJDD4U.js} +6 -2
- package/dist/{chunk-SI3PYDL4.js → chunk-GWA6UGNX.js} +22 -22
- package/dist/{chunk-QMFIZQTB.js → chunk-HIOJSYDA.js} +7 -5
- package/dist/{chunk-NHQ7HUAS.js → chunk-HJ5DKZPO.js} +12 -10
- package/dist/{chunk-FPRMP6YA.js → chunk-HJZ4OET2.js} +32 -17
- package/dist/{chunk-N5NQIZ56.js → chunk-HLTVEXML.js} +25 -25
- package/dist/{chunk-6IN4F4RH.js → chunk-I6DFQQER.js} +42 -44
- package/dist/chunk-ICLB27PZ.js +11 -0
- package/dist/{chunk-R3XI2VC7.js → chunk-IDJGV6VM.js} +2 -1
- package/dist/{chunk-ZM27UI5O.js → chunk-IEK2FUWO.js} +19 -6
- package/dist/{chunk-FJ57274M.js → chunk-IIEI7VK5.js} +15 -1
- package/dist/{chunk-DY7KDZUF.js → chunk-IZK2H4KU.js} +3 -3
- package/dist/{chunk-CRLVJZWX.js → chunk-JOG6W3VS.js} +2 -2
- package/dist/{chunk-XFXJXLK7.js → chunk-JTLLQT34.js} +19 -19
- package/dist/{chunk-MS5574I7.js → chunk-K3K7JHZI.js} +2 -2
- package/dist/{chunk-GOW5VO6M.js → chunk-KHRZCKKG.js} +2 -2
- package/dist/{chunk-D3B6YEZK.js → chunk-KIF4UFD2.js} +20 -16
- package/dist/{chunk-EUVUOPRC.js → chunk-KYK6PMB5.js} +55 -34
- package/dist/{chunk-RU2HHHYA.js → chunk-LD2JSKU3.js} +12 -2
- package/dist/{chunk-CYMYZYLI.js → chunk-LJ7X6ZNV.js} +25 -28
- package/dist/{chunk-ICVIJLBA.js → chunk-LLYHYPYG.js} +4 -4
- package/dist/{chunk-VRPV6QXR.js → chunk-LLZVRWVS.js} +2 -2
- package/dist/{chunk-Z7KVOVE4.js → chunk-LXTMP3VT.js} +7 -4
- package/dist/{chunk-7CXW6EGX.js → chunk-MDUCF376.js} +28 -26
- package/dist/{chunk-KWSBNLSC.js → chunk-MQAD75AY.js} +2 -2
- package/dist/{chunk-XCFIAGT7.js → chunk-MUTZSF2A.js} +17 -16
- package/dist/{chunk-CF3I5SOG.js → chunk-NVI5G57O.js} +29 -27
- package/dist/{chunk-76LHNLGX.js → chunk-O2HU4AQN.js} +34 -5
- package/dist/{chunk-46KVXDUJ.js → chunk-O5QG5IFV.js} +12 -3
- package/dist/{chunk-V4NHFY22.js → chunk-OLRVGPJ3.js} +33 -20
- package/dist/{chunk-WHWUVDYK.js → chunk-OM6XZAKM.js} +7 -7
- package/dist/{chunk-DSXWJAOA.js → chunk-OMN4F42L.js} +17 -15
- package/dist/{chunk-LM3HY3VG.js → chunk-P4U5GST7.js} +3 -3
- package/dist/{chunk-BH3BQICT.js → chunk-PKW4TLJC.js} +88 -44
- package/dist/{chunk-GRN44Z6A.js → chunk-PQR7E3LY.js} +2 -2
- package/dist/{chunk-SH4PPRU7.js → chunk-Q5KGGW7Z.js} +2 -2
- package/dist/{chunk-RV5A3EGI.js → chunk-QDHOIBHZ.js} +21 -20
- package/dist/{chunk-UH5YTZN7.js → chunk-QDTFFVLT.js} +113 -23
- package/dist/chunk-QFIXL3OK.js +68 -0
- package/dist/{chunk-QXMHBIQG.js → chunk-QGXH64FT.js} +52 -49
- package/dist/{chunk-VS2M72PF.js → chunk-RLJKH4ZO.js} +4 -2
- package/dist/{chunk-6ZZKEYBS.js → chunk-RN3DOUOU.js} +17 -15
- package/dist/{chunk-VBJCGGNF.js → chunk-RPP3NHKV.js} +2 -2
- package/dist/{chunk-RTTZIX34.js → chunk-RVWWCQAB.js} +3 -3
- package/dist/{chunk-FR5EVD2X.js → chunk-RWF7TCGT.js} +68 -38
- package/dist/{chunk-LKS56RDT.js → chunk-S6GPBJWG.js} +2 -2
- package/dist/{chunk-UJBP57UJ.js → chunk-S7ZJEQPW.js} +4 -4
- package/dist/{chunk-3H4PDNP4.js → chunk-SEOM2BGQ.js} +3 -3
- package/dist/{chunk-5PFNUDXR.js → chunk-T3EW35M2.js} +3 -3
- package/dist/{chunk-3SP6G4LN.js → chunk-TPQ6Q7JP.js} +3 -3
- package/dist/{chunk-B52RL5VV.js → chunk-ULUZBEFO.js} +11 -11
- package/dist/{chunk-F4X5NVKY.js → chunk-UNYOWKEC.js} +13 -4
- package/dist/{chunk-DEW62ON3.js → chunk-VSPNH7LC.js} +2 -2
- package/dist/{chunk-C2WH3BMS.js → chunk-VTWUHX4H.js} +10 -7
- package/dist/{chunk-DJL5PO27.js → chunk-W4MC3KP6.js} +2 -2
- package/dist/{chunk-MU3CJPJF.js → chunk-W6DBWWPC.js} +3 -3
- package/dist/{chunk-JLODGGN2.js → chunk-WC72PTV4.js} +3 -3
- package/dist/{chunk-NCT22MOD.js → chunk-WMIKC5XO.js} +2 -2
- package/dist/{chunk-H7BYMIVK.js → chunk-WY4L675I.js} +70 -44
- package/dist/chunk-XBJJP2HN.js +37 -0
- package/dist/{chunk-KRTLS3G6.js → chunk-XDEEYDPQ.js} +4 -4
- package/dist/{chunk-S5P5Z5Y5.js → chunk-XNAMWOPJ.js} +3 -3
- package/dist/{chunk-2MTM4E6M.js → chunk-XND5JIJA.js} +68 -65
- package/dist/{chunk-S6OXNZBM.js → chunk-XWC4RQ7T.js} +4 -4
- package/dist/{chunk-UCZBRGJN.js → chunk-XXLAZQ5E.js} +2 -2
- package/dist/{chunk-LXXVHLTH.js → chunk-Y22BJKMK.js} +3 -3
- package/dist/{chunk-OO2L2LWV.js → chunk-Y2KFQX5K.js} +89 -66
- package/dist/{chunk-TI4YUUW6.js → chunk-Y3OLUMJH.js} +31 -30
- package/dist/{chunk-CIWFL2LM.js → chunk-Y3RYIGHZ.js} +17 -15
- package/dist/{chunk-MTGGOCND.js → chunk-YC6GVLTI.js} +61 -10
- package/dist/{chunk-TKIPK5P6.js → chunk-YD2HPT7W.js} +5 -7
- package/dist/{chunk-3O7ZYVJV.js → chunk-YPVP6I62.js} +19 -15
- package/dist/{chunk-FF7LRT5L.js → chunk-YQIZIKCK.js} +35 -27
- package/dist/{chunk-M526IKKH.js → chunk-Z4COUG7H.js} +2 -2
- package/dist/{chunk-LTTZX6RD.js → chunk-Z5ZCTCX4.js} +3 -3
- package/dist/{chunk-QOVM5VRC.js → chunk-ZASX45SU.js} +3 -3
- package/dist/{chunk-W7UBPARG.js → chunk-ZH3BWGTE.js} +3 -3
- package/dist/{chunk-TN754B3R.js → chunk-ZZZJVDIL.js} +2 -2
- package/dist/clock.js +11 -5
- package/dist/completion-registry.js +3 -3
- package/dist/countdown.js +26 -20
- package/dist/{d3-BiaJtaSw.d.ts → d3-Bje6Mla1.d.ts} +1 -1
- package/dist/dgmo-router-OXFV43XX.js +90 -0
- package/dist/{dgmo-router-BwXHZ_P3.d.ts → dgmo-router-zWf4Uxxg.d.ts} +1 -1
- package/dist/dimensions-AN34SPVX.js +22 -0
- package/dist/{flowchart-parser-NVBP3C5D.js → flowchart-parser-MRNAVG35.js} +4 -4
- package/dist/flowchart-renderer-IGSKJFMF.js +37 -0
- package/dist/index.d.ts +7 -7
- package/dist/index.js +75 -60
- package/dist/{layout-Y2V3LYV7.js → layout-5AYAYUJH.js} +2 -2
- package/dist/{layout-ZAGUFT2G.js → layout-6APS2RRG.js} +8 -7
- package/dist/{layout-B5GQVXXY.js → layout-6VUNAH6F.js} +8 -7
- package/dist/{layout-RV2T2YTT.js → layout-74HDWQYG.js} +6 -5
- package/dist/{layout-6SKHNQYO.js → layout-FCIYZV63.js} +4 -4
- package/dist/{layout-4LNMXLVK.js → layout-J2Z2SYH5.js} +3 -3
- package/dist/layout-LELNMRM5.js +16 -0
- package/dist/{layout-EM4DLMAX.js → layout-OPF6KTOH.js} +5 -5
- package/dist/layout-SUND6B7D.js +9 -0
- package/dist/layout-WASEHV3S.js +19 -0
- package/dist/{layout-SGYR6HBX.js → layout-XAJLQPI6.js} +3 -3
- package/dist/layout-XY45TFJ4.js +16 -0
- package/dist/layout-YPRXVCW5.js +19 -0
- package/dist/{layout-2OJ25STS.js → layout-ZJOWB27N.js} +9 -8
- package/dist/{layout-search-UOKEMER5.js → layout-search-3JKNSUTJ.js} +8 -7
- package/dist/{legend-constants-PLN2YHGM.js → legend-constants-RSWFR3L6.js} +4 -4
- package/dist/{palettes-54YSI3IX.js → palettes-IAF6WVL4.js} +5 -3
- package/dist/{parser-QOIZGW7I.js → parser-2Y7LWKNO.js} +4 -4
- package/dist/{parser-EQ4I3TSH.js → parser-4GUQUDAC.js} +5 -5
- package/dist/{parser-TA5TYZNL.js → parser-4OXANARZ.js} +5 -5
- package/dist/{parser-L7T7FY3H.js → parser-56UEMRXS.js} +4 -4
- package/dist/{parser-2GMHFSTS.js → parser-66QZQYGE.js} +4 -4
- package/dist/{parser-3AOMUX5D.js → parser-6SS7DKVW.js} +4 -4
- package/dist/{parser-QYAIFXLP.js → parser-AYURCBDZ.js} +4 -4
- package/dist/{parser-5XFGK5C5.js → parser-COPCQEHV.js} +6 -6
- package/dist/{parser-F4ZKDGUZ.js → parser-DEWJM5PX.js} +3 -3
- package/dist/{parser-ZXQZZK6W.js → parser-DQKZDA2J.js} +4 -3
- package/dist/{parser-WCFG3DZA.js → parser-EMPM3V35.js} +3 -3
- package/dist/{parser-6FUESG4N.js → parser-EP2JQJNV.js} +4 -4
- package/dist/{parser-ZYAFHXKQ.js → parser-FDDHTBRV.js} +4 -4
- package/dist/{parser-3KQONLXZ.js → parser-FDESUQ32.js} +3 -3
- package/dist/{parser-LV7PQBUG.js → parser-GK6CMK4P.js} +4 -4
- package/dist/{parser-WVE6SKB7.js → parser-H33OKBUB.js} +4 -4
- package/dist/{parser-ML3LVNDV.js → parser-HJBSWTDY.js} +4 -4
- package/dist/{parser-PR3OR3LO.js → parser-HRIKI5O3.js} +5 -5
- package/dist/{parser-H4ZUNLX4.js → parser-I77632XB.js} +3 -3
- package/dist/{parser-YWQCC33R.js → parser-JGMQE7FS.js} +4 -4
- package/dist/{parser-WMJEPZDC.js → parser-JIPG576H.js} +4 -4
- package/dist/{parser-E3OHNNTH.js → parser-JNJ2IFSO.js} +4 -4
- package/dist/{parser-CJNP7RKR.js → parser-LCUQTABE.js} +4 -4
- package/dist/{parser-4DLU4SNG.js → parser-LXU3MGG6.js} +3 -3
- package/dist/{parser-WWRRG2DV.js → parser-N4YB5EIZ.js} +4 -4
- package/dist/{parser-XVSDFO56.js → parser-NC36PRBR.js} +3 -3
- package/dist/{parser-RDBXEVI4.js → parser-O6WYAXTS.js} +4 -4
- package/dist/{parser-4KFJKLP2.js → parser-UHABNZBC.js} +3 -3
- package/dist/{parser-GCVSRQPY.js → parser-V6HULGXW.js} +4 -4
- package/dist/{parser-UTR5WE4O.js → parser-VVWZIMYS.js} +4 -4
- package/dist/{parser-B2XQNHZM.js → parser-YJGTPT7A.js} +3 -3
- package/dist/{parser-WQNT7T2P.js → parser-YQ5F7ATB.js} +3 -3
- package/dist/{parser-ZT3PU2HT.js → parser-ZUH2G7J2.js} +4 -4
- package/dist/renderer-2ZGZSSCV.js +39 -0
- package/dist/renderer-33AB7UAZ.js +35 -0
- package/dist/renderer-43KEDLTQ.js +23 -0
- package/dist/renderer-4E6NNPNU.js +29 -0
- package/dist/renderer-4HFT4HJG.js +39 -0
- package/dist/renderer-63MHARNI.js +20 -0
- package/dist/renderer-6HPV7BMG.js +23 -0
- package/dist/renderer-BVJ3NVRB.js +20 -0
- package/dist/renderer-DV44AS75.js +28 -0
- package/dist/renderer-FLLVGYUY.js +30 -0
- package/dist/renderer-FSV7MTW3.js +17 -0
- package/dist/renderer-H6XEVHKH.js +27 -0
- package/dist/renderer-HNEMQJXT.js +21 -0
- package/dist/{renderer-CVWQD442.js → renderer-IIN3RY4F.js} +6 -5
- package/dist/renderer-K2OWHNBV.js +25 -0
- package/dist/renderer-M6UIXQHH.js +27 -0
- package/dist/renderer-N5CRYFBI.js +31 -0
- package/dist/{renderer-VF7X66SL.js → renderer-O3O6A3RY.js} +16 -16
- package/dist/renderer-OVRX36WE.js +39 -0
- package/dist/renderer-PLKMHBAB.js +30 -0
- package/dist/{renderer-G2DPKJAN.js → renderer-REHVBQ57.js} +17 -16
- package/dist/{renderer-GHBF5PRH.js → renderer-RW446FGL.js} +6 -5
- package/dist/renderer-SJV75NUI.js +28 -0
- package/dist/renderer-TKWW45LZ.js +36 -0
- package/dist/{renderer-FTX67CYZ.js → renderer-UHLTPQTW.js} +7 -6
- package/dist/renderer-UNYFAMFE.js +16 -0
- package/dist/renderer-URXHBQOF.js +26 -0
- package/dist/renderer-VBAQQWDB.js +25 -0
- package/dist/renderer-VI72MVFW.js +77 -0
- package/dist/renderer-XGJIACBV.js +25 -0
- package/dist/renderer-XVTKGPYT.js +20 -0
- package/dist/{renderer-R5HIRN2M.js → renderer-YLIICO4R.js} +9 -9
- package/dist/renderer-ZG6GPWZF.js +27 -0
- package/dist/renderer-radial-7UHFYOOL.js +21 -0
- package/dist/{state-parser-TPA67IXM.js → state-parser-XT4ZPQAF.js} +5 -5
- package/dist/state-renderer-6TVII5ZJ.js +41 -0
- package/dist/{tag-groups-BAtkq0b_.d.ts → tag-groups-DIJV_50B.d.ts} +18 -9
- package/dist/{themes-DpsyRSO7.d.ts → themes-Bgkyh6gh.d.ts} +2 -2
- package/docs/architecture-report.md +3 -3
- package/docs/language-reference.md +128 -30
- package/docs/migration-sequence-color-to-tags.md +16 -8
- package/package.json +7 -6
- package/dist/charts-d3-HMEMHSSW.js +0 -29
- package/dist/chunk-53SEVJQM.js +0 -9
- package/dist/chunk-LP7EC4MI.js +0 -16
- package/dist/chunk-YM5RMLFO.js +0 -40
- package/dist/dgmo-router-A3LIHT6H.js +0 -89
- package/dist/dimensions-OFF4GRFL.js +0 -22
- package/dist/flowchart-renderer-BBJUPORB.js +0 -36
- package/dist/layout-5ILNODTP.js +0 -15
- package/dist/layout-IN53LAE6.js +0 -9
- package/dist/layout-KQUSB45X.js +0 -18
- package/dist/layout-ROORJQ4X.js +0 -18
- package/dist/layout-VUZ3MLOI.js +0 -15
- package/dist/renderer-2ANDPQWC.js +0 -16
- package/dist/renderer-2LDT4TUX.js +0 -25
- package/dist/renderer-2NYQDW37.js +0 -20
- package/dist/renderer-2RIIIO34.js +0 -39
- package/dist/renderer-3HFU3DTO.js +0 -25
- package/dist/renderer-4BF6ILP6.js +0 -27
- package/dist/renderer-5E2AH5TO.js +0 -38
- package/dist/renderer-62SLWRYF.js +0 -27
- package/dist/renderer-ANJUDBOS.js +0 -34
- package/dist/renderer-D6GJ6EVK.js +0 -30
- package/dist/renderer-DNFV2IQI.js +0 -36
- package/dist/renderer-EDVCGIQO.js +0 -76
- package/dist/renderer-EFQSMHID.js +0 -27
- package/dist/renderer-GZLRX764.js +0 -24
- package/dist/renderer-H2HYLFN3.js +0 -20
- package/dist/renderer-IR5655M7.js +0 -28
- package/dist/renderer-L237AOOZ.js +0 -16
- package/dist/renderer-LSJWYGOL.js +0 -39
- package/dist/renderer-LWXDMZOV.js +0 -28
- package/dist/renderer-MYSVPERC.js +0 -22
- package/dist/renderer-OL5QSZPC.js +0 -31
- package/dist/renderer-P26HH3NA.js +0 -30
- package/dist/renderer-RNFECJ5D.js +0 -21
- package/dist/renderer-RPZVNCTF.js +0 -26
- package/dist/renderer-SDNWZDUY.js +0 -23
- package/dist/renderer-UKHH4UWV.js +0 -25
- package/dist/renderer-Y3Y7PEUS.js +0 -20
- package/dist/renderer-radial-QNGCGKZP.js +0 -21
- package/dist/state-renderer-ELWDRXD6.js +0 -40
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7TF3QOOD.js";
|
|
4
4
|
import {
|
|
5
5
|
tryCollectNote
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7I6NWTPE.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveNotes
|
|
9
9
|
} from "./chunk-E6PNTYRK.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
measureIndent,
|
|
22
22
|
parseFirstLine,
|
|
23
23
|
tryParseSharedOption
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4CA7TJ44.js";
|
|
25
25
|
import {
|
|
26
26
|
NAME_DIAGNOSTIC_CODES,
|
|
27
27
|
emit,
|
|
@@ -474,4 +474,4 @@ export {
|
|
|
474
474
|
looksLikeFlowchart,
|
|
475
475
|
extractSymbols
|
|
476
476
|
};
|
|
477
|
-
//# sourceMappingURL=chunk-
|
|
477
|
+
//# sourceMappingURL=chunk-3KNA7OIO.js.map
|
|
@@ -1633,6 +1633,7 @@ export {
|
|
|
1633
1633
|
FILL_FAMILY_TOKENS,
|
|
1634
1634
|
fillModeFromToken,
|
|
1635
1635
|
fillModeFromOptions,
|
|
1636
|
+
recognizeGlobalBoolean,
|
|
1636
1637
|
tryParseSharedOption,
|
|
1637
1638
|
parseFirstLine,
|
|
1638
1639
|
detectBadChartTypeDeclaration,
|
|
@@ -1650,4 +1651,4 @@ export {
|
|
|
1650
1651
|
splitNameAndMeta,
|
|
1651
1652
|
warnUnknownMetaKeys
|
|
1652
1653
|
};
|
|
1653
|
-
//# sourceMappingURL=chunk-
|
|
1654
|
+
//# sourceMappingURL=chunk-4CA7TJ44.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryCollectNote
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7I6NWTPE.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveNotes
|
|
6
6
|
} from "./chunk-E6PNTYRK.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
tagAttrKey,
|
|
20
20
|
validateTagGroupNames,
|
|
21
21
|
validateTagValues
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-O2HU4AQN.js";
|
|
23
23
|
import {
|
|
24
24
|
ALL_CHART_TYPES,
|
|
25
25
|
FILL_FAMILY_TOKENS,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
parseMetadataRegion,
|
|
33
33
|
tryParseSharedOption,
|
|
34
34
|
withTagAliases
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4CA7TJ44.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveColorWithDiagnostic
|
|
38
38
|
} from "./chunk-XOGQY4EC.js";
|
|
@@ -319,7 +319,8 @@ function parseState(content, palette) {
|
|
|
319
319
|
i = noteResult.lastIndex;
|
|
320
320
|
continue;
|
|
321
321
|
}
|
|
322
|
-
const
|
|
322
|
+
const groupPeeled = trimmed.startsWith("[") ? peelStateMeta(trimmed) : { text: trimmed, meta: {} };
|
|
323
|
+
const groupMatch = groupPeeled.text.match(GROUP_BRACKET_RE);
|
|
323
324
|
if (groupMatch && groupMatch[1].trim() !== "*") {
|
|
324
325
|
const groupLabel = groupMatch[1].trim();
|
|
325
326
|
const groupColorName = groupMatch[2]?.trim();
|
|
@@ -336,7 +337,10 @@ function parseState(content, palette) {
|
|
|
336
337
|
nodeIds: [],
|
|
337
338
|
lineNumber,
|
|
338
339
|
...groupColor && { color: groupColor },
|
|
339
|
-
...groupCollapsed && { collapsed: true }
|
|
340
|
+
...groupCollapsed && { collapsed: true },
|
|
341
|
+
...Object.keys(groupPeeled.meta).length > 0 && {
|
|
342
|
+
metadata: groupPeeled.meta
|
|
343
|
+
}
|
|
340
344
|
};
|
|
341
345
|
groupIndent = indent;
|
|
342
346
|
groups.push(currentGroup);
|
|
@@ -543,4 +547,4 @@ export {
|
|
|
543
547
|
parseState,
|
|
544
548
|
looksLikeState
|
|
545
549
|
};
|
|
546
|
-
//# sourceMappingURL=chunk-
|
|
550
|
+
//# sourceMappingURL=chunk-4L43NPSQ.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
tagAttrKey,
|
|
9
9
|
validateTagGroupNames,
|
|
10
10
|
validateTagValues
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-O2HU4AQN.js";
|
|
12
12
|
import {
|
|
13
13
|
TREEMAP_REGISTRY,
|
|
14
14
|
extractColor,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
stripQuotes,
|
|
22
22
|
warnUnknownMetaKeys,
|
|
23
23
|
withTagAliases
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4CA7TJ44.js";
|
|
25
25
|
import {
|
|
26
26
|
emit,
|
|
27
27
|
formatDgmoError,
|
|
@@ -445,4 +445,4 @@ export {
|
|
|
445
445
|
TREEMAP_DIAGNOSTICS,
|
|
446
446
|
parseTreemap
|
|
447
447
|
};
|
|
448
|
-
//# sourceMappingURL=chunk-
|
|
448
|
+
//# sourceMappingURL=chunk-4T6V7JJA.js.map
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
paintRootBackground
|
|
3
|
+
} from "./chunk-QFIXL3OK.js";
|
|
1
4
|
import {
|
|
2
5
|
serializeSvg
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LD2JSKU3.js";
|
|
4
7
|
import {
|
|
5
8
|
TITLE_FONT_SIZE,
|
|
6
9
|
TITLE_FONT_WEIGHT,
|
|
7
10
|
TITLE_Y
|
|
8
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VSPNH7LC.js";
|
|
9
12
|
import {
|
|
10
13
|
FONT_FAMILY
|
|
11
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ICLB27PZ.js";
|
|
12
15
|
import {
|
|
13
16
|
getSeriesColors
|
|
14
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
15
18
|
|
|
16
19
|
// src/utils/d3-helpers.ts
|
|
17
20
|
import * as d3Selection from "d3-selection";
|
|
@@ -90,8 +93,9 @@ var EXPORT_WIDTH = 1200;
|
|
|
90
93
|
var EXPORT_HEIGHT = 800;
|
|
91
94
|
async function resolveExportPalette(theme, palette) {
|
|
92
95
|
if (palette) return palette;
|
|
93
|
-
const { getPalette } = await import("./palettes-
|
|
94
|
-
|
|
96
|
+
const { getPalette, DEFAULT_PALETTE_ID } = await import("./palettes-IAF6WVL4.js");
|
|
97
|
+
const cfg = getPalette(DEFAULT_PALETTE_ID);
|
|
98
|
+
return theme === "dark" ? cfg.dark : cfg.light;
|
|
95
99
|
}
|
|
96
100
|
function createExportContainer(width, height) {
|
|
97
101
|
const container = document.createElement("div");
|
|
@@ -113,6 +117,7 @@ function finalizeSvgExport(container, theme, palette) {
|
|
|
113
117
|
svgEl.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
114
118
|
svgEl.style.fontFamily = FONT_FAMILY;
|
|
115
119
|
svgEl.querySelectorAll("[data-export-ignore]").forEach((el) => el.remove());
|
|
120
|
+
paintRootBackground(svgEl, theme, palette.bg);
|
|
116
121
|
const svgHtml = serializeSvg(svgEl);
|
|
117
122
|
document.body.removeChild(container);
|
|
118
123
|
return svgHtml;
|
|
@@ -130,4 +135,4 @@ export {
|
|
|
130
135
|
createExportContainer,
|
|
131
136
|
finalizeSvgExport
|
|
132
137
|
};
|
|
133
|
-
//# sourceMappingURL=chunk-
|
|
138
|
+
//# sourceMappingURL=chunk-4YSWUQKZ.js.map
|
|
@@ -5,26 +5,31 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
ScaleContext
|
|
7
7
|
} from "./chunk-24YPR5EH.js";
|
|
8
|
+
import {
|
|
9
|
+
EDGE_DASH,
|
|
10
|
+
GRID_DASH,
|
|
11
|
+
HAIRLINE_DASH
|
|
12
|
+
} from "./chunk-IIEI7VK5.js";
|
|
8
13
|
import {
|
|
9
14
|
INLINE_HEADER_PAD,
|
|
10
15
|
layoutInlineHeader
|
|
11
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2F7AG7LA.js";
|
|
12
17
|
import {
|
|
13
18
|
TITLE_FONT_SIZE,
|
|
14
19
|
TITLE_FONT_WEIGHT,
|
|
15
20
|
TITLE_Y
|
|
16
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VSPNH7LC.js";
|
|
17
22
|
import {
|
|
18
23
|
renderIntegratedLegend
|
|
19
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-253E5ISJ.js";
|
|
20
25
|
import {
|
|
21
26
|
controlsGroupCapsuleWidth,
|
|
22
27
|
getLegendExtent,
|
|
23
28
|
getMaxLegendReservedHeight
|
|
24
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-LLZVRWVS.js";
|
|
25
30
|
import {
|
|
26
31
|
FONT_FAMILY
|
|
27
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ICLB27PZ.js";
|
|
28
33
|
import {
|
|
29
34
|
LEGEND_CAPSULE_PAD,
|
|
30
35
|
LEGEND_DOT_R,
|
|
@@ -39,26 +44,28 @@ import {
|
|
|
39
44
|
LEGEND_PILL_PAD,
|
|
40
45
|
measureLegendText,
|
|
41
46
|
truncateLegendText
|
|
42
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-CKDYRVOC.js";
|
|
43
48
|
import {
|
|
44
49
|
CHAR_WIDTH_RATIO,
|
|
45
50
|
measureText,
|
|
46
51
|
truncateText
|
|
47
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-YC6GVLTI.js";
|
|
48
53
|
import {
|
|
49
54
|
normalizeName
|
|
50
55
|
} from "./chunk-NOTA6TEI.js";
|
|
51
56
|
import {
|
|
57
|
+
UNTAGGED_TAG_COLOR,
|
|
52
58
|
resolveActiveTagGroup,
|
|
53
59
|
resolveTagColor,
|
|
54
60
|
tagAttrKey
|
|
55
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-O2HU4AQN.js";
|
|
56
62
|
import {
|
|
57
63
|
contrastText,
|
|
64
|
+
getEraColors,
|
|
58
65
|
getSeriesColors,
|
|
59
66
|
mix,
|
|
60
67
|
shapeFill
|
|
61
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
62
69
|
|
|
63
70
|
// src/gantt/renderer.ts
|
|
64
71
|
import * as d3Scale from "d3-scale";
|
|
@@ -391,10 +398,10 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
391
398
|
if (todayDate) {
|
|
392
399
|
todayX = xScale(dateToFractionalYear(todayDate));
|
|
393
400
|
if (todayX >= 0 && todayX <= innerWidth) {
|
|
394
|
-
const todayLine = g.append("line").attr("class", "gantt-today").attr("x1", todayX).attr("y1", 0).attr("x2", todayX).attr("y2", sInnerHeight + 10).attr("stroke", todayColor).attr("stroke-width", 2).attr("stroke-dasharray",
|
|
401
|
+
const todayLine = g.append("line").attr("class", "gantt-today").attr("x1", todayX).attr("y1", 0).attr("x2", todayX).attr("y2", sInnerHeight + 10).attr("stroke", todayColor).attr("stroke-width", 2).attr("stroke-dasharray", EDGE_DASH).attr("opacity", 0.7).attr("pointer-events", "none");
|
|
395
402
|
if (todayMarkerLineNum)
|
|
396
403
|
todayLine.attr("data-line-number", String(todayMarkerLineNum));
|
|
397
|
-
const todayLabel = g.append("text").attr("class", "gantt-today").attr("x", todayX).attr("y", sTodayLabelY).attr("text-anchor", "middle").attr("font-size",
|
|
404
|
+
const todayLabel = g.append("text").attr("class", "gantt-today").attr("x", todayX).attr("y", sTodayLabelY).attr("text-anchor", "middle").attr("font-size", sFont10).attr("fill", todayColor).attr("opacity", 0.7).attr("pointer-events", "none").text("Today");
|
|
398
405
|
if (todayMarkerLineNum)
|
|
399
406
|
todayLabel.attr("data-line-number", String(todayMarkerLineNum));
|
|
400
407
|
}
|
|
@@ -424,7 +431,7 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
424
431
|
let yOffset = sContentTopPad;
|
|
425
432
|
for (const row of rows) {
|
|
426
433
|
if (row.type === "lane-header") {
|
|
427
|
-
const laneColor = row.laneColor ===
|
|
434
|
+
const laneColor = row.laneColor === UNTAGGED_TAG_COLOR ? palette.textMuted : row.laneColor;
|
|
428
435
|
const toggleIcon = row.isCollapsed ? "\u25B6" : "\u25BC";
|
|
429
436
|
const labelX = 10;
|
|
430
437
|
let lx1 = 0;
|
|
@@ -472,7 +479,7 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
472
479
|
restoreHighlight();
|
|
473
480
|
hideGanttDateIndicators(g);
|
|
474
481
|
});
|
|
475
|
-
labelG.append("text").attr("x", labelX).attr("y", sMarginTop + yOffset + sBarH / 2).attr("dy", "0.35em").attr("text-anchor", "start").attr("font-size",
|
|
482
|
+
labelG.append("text").attr("x", labelX).attr("y", sMarginTop + yOffset + sBarH / 2).attr("dy", "0.35em").attr("text-anchor", "start").attr("font-size", sFont11).attr("font-weight", "bold").attr("fill", laneColor).text(
|
|
476
483
|
toggleIcon + " " + row.laneName + (row.aggregateProgress !== null ? ` ${Math.round(row.aggregateProgress)}%` : "")
|
|
477
484
|
);
|
|
478
485
|
if (laneBarWidth > 0) {
|
|
@@ -514,7 +521,7 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
514
521
|
currentActiveGroup,
|
|
515
522
|
true
|
|
516
523
|
);
|
|
517
|
-
const groupColor = tagColor && tagColor !==
|
|
524
|
+
const groupColor = tagColor && tagColor !== UNTAGGED_TAG_COLOR ? tagColor : group.color || palette.textMuted;
|
|
518
525
|
renderLabelBand(
|
|
519
526
|
svg,
|
|
520
527
|
sMarginTop + yOffset + sBarH / 2,
|
|
@@ -547,7 +554,7 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
547
554
|
});
|
|
548
555
|
const groupIndent = group.depth <= 2 ? group.depth * 14 : 2 * 14 + (group.depth - 2) * 8;
|
|
549
556
|
const labelX = 10 + groupIndent;
|
|
550
|
-
labelG.append("text").attr("x", labelX).attr("y", sMarginTop + yOffset + sBarH / 2).attr("dy", "0.35em").attr("text-anchor", "start").attr("font-size",
|
|
557
|
+
labelG.append("text").attr("x", labelX).attr("y", sMarginTop + yOffset + sBarH / 2).attr("dy", "0.35em").attr("text-anchor", "start").attr("font-size", sFont11).attr("font-weight", "bold").attr("fill", palette.text).text(
|
|
551
558
|
toggleIcon + " " + group.name + (group.progress !== null ? ` ${Math.round(group.progress)}%` : "")
|
|
552
559
|
);
|
|
553
560
|
const gStart = dateToFractionalYear(group.startDate);
|
|
@@ -597,7 +604,7 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
597
604
|
true
|
|
598
605
|
);
|
|
599
606
|
if (summaryPlacement) {
|
|
600
|
-
summaryG.append("text").attr("x", summaryPlacement.x).attr("y", yOffset + sBarH / 2).attr("dy", "0.35em").attr("font-size",
|
|
607
|
+
summaryG.append("text").attr("x", summaryPlacement.x).attr("y", yOffset + sBarH / 2).attr("dy", "0.35em").attr("font-size", sFont10).attr("font-weight", "bold").attr("text-anchor", summaryPlacement.anchor).attr("fill", summaryPlacement.fill).attr("pointer-events", "none").text(summaryPlacement.text);
|
|
601
608
|
}
|
|
602
609
|
groupPositions.set(group.name, {
|
|
603
610
|
x1: gx1,
|
|
@@ -646,7 +653,7 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
646
653
|
true
|
|
647
654
|
);
|
|
648
655
|
if (expandedPlacement) {
|
|
649
|
-
groupBarG.append("text").attr("x", expandedPlacement.x).attr("y", yOffset + sBarH / 2).attr("dy", "0.35em").attr("font-size",
|
|
656
|
+
groupBarG.append("text").attr("x", expandedPlacement.x).attr("y", yOffset + sBarH / 2).attr("dy", "0.35em").attr("font-size", sFont10).attr("font-weight", "bold").attr("text-anchor", expandedPlacement.anchor).attr("fill", expandedPlacement.fill).attr("pointer-events", "none").text(expandedPlacement.text);
|
|
650
657
|
}
|
|
651
658
|
}
|
|
652
659
|
}
|
|
@@ -665,7 +672,7 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
665
672
|
const indent = depth <= 2 ? depth * 14 : 2 * 14 + (depth - 2) * 8;
|
|
666
673
|
const taskLabelX = isTagMode ? 20 : 6 + indent;
|
|
667
674
|
const topGroup = rt.groupPath.length > 0 ? rt.groupPath[0] : null;
|
|
668
|
-
const taskLabel = svg.append("text").attr("class", "gantt-task-label").attr("x", taskLabelX).attr("y", sMarginTop + yOffset + sBarH / 2).attr("dy", "0.35em").attr("text-anchor", "start").attr("font-size",
|
|
675
|
+
const taskLabel = svg.append("text").attr("class", "gantt-task-label").attr("x", taskLabelX).attr("y", sMarginTop + yOffset + sBarH / 2).attr("dy", "0.35em").attr("text-anchor", "start").attr("font-size", sFont11).attr("fill", palette.text).attr("data-line-number", String(task.lineNumber)).attr("data-task-id", task.id).attr("data-group", topGroup).style("cursor", onClickItem ? "pointer" : "default").on("click", () => {
|
|
669
676
|
if (onClickItem) onClickItem(task.lineNumber);
|
|
670
677
|
}).on("mouseenter", () => {
|
|
671
678
|
if (rt.isMilestone) {
|
|
@@ -704,7 +711,7 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
704
711
|
sInnerHeight,
|
|
705
712
|
barColor
|
|
706
713
|
);
|
|
707
|
-
g.append("text").attr("class", "gantt-milestone-hover-label").attr("x", mx - sMilestoneSize - 4).attr("y", my).attr("dy", "0.35em").attr("text-anchor", "end").attr("font-size",
|
|
714
|
+
g.append("text").attr("class", "gantt-milestone-hover-label").attr("x", mx - sMilestoneSize - 4).attr("y", my).attr("dy", "0.35em").attr("text-anchor", "end").attr("font-size", sFont10).attr("fill", barColor).attr("font-weight", "bold").text(task.label);
|
|
708
715
|
}).on("mouseleave", () => {
|
|
709
716
|
restoreHighlight();
|
|
710
717
|
hideGanttDateIndicators(g);
|
|
@@ -799,7 +806,7 @@ function renderGantt(container, resolved, palette, isDark, options, exportDims)
|
|
|
799
806
|
sLabelGap
|
|
800
807
|
);
|
|
801
808
|
if (labelPlacement) {
|
|
802
|
-
taskG.append("text").attr("x", labelPlacement.x).attr("y", yOffset + sBarH / 2).attr("dy", "0.35em").attr("font-size",
|
|
809
|
+
taskG.append("text").attr("x", labelPlacement.x).attr("y", yOffset + sBarH / 2).attr("dy", "0.35em").attr("font-size", sFont10).attr("text-anchor", labelPlacement.anchor).attr("fill", labelPlacement.fill).attr("pointer-events", "none").text(labelPlacement.text);
|
|
803
810
|
}
|
|
804
811
|
taskPositions.set(task.id, {
|
|
805
812
|
x1,
|
|
@@ -989,7 +996,7 @@ function drawHolidayBand(g, svg, xScale, start, end, height, palette, _isDark, l
|
|
|
989
996
|
const labelX = chartLeftMargin + x1 + bandW / 2;
|
|
990
997
|
const textLen = measureText(label, 10) + 8;
|
|
991
998
|
const labelBg = svg.append("rect").attr("class", "gantt-holiday-hover-bg").attr("data-line-number", String(lineNumber)).attr("x", labelX - textLen / 2).attr("y", headerY - 11).attr("width", textLen).attr("height", 14).attr("rx", 3).attr("fill", palette.bg).attr("opacity", 0).attr("pointer-events", "none");
|
|
992
|
-
const labelText = svg.append("text").attr("class", "gantt-holiday-hover-label").attr("data-line-number", String(lineNumber)).attr("x", labelX).attr("y", headerY).attr("text-anchor", "middle").attr("font-size",
|
|
999
|
+
const labelText = svg.append("text").attr("class", "gantt-holiday-hover-label").attr("data-line-number", String(lineNumber)).attr("x", labelX).attr("y", headerY).attr("text-anchor", "middle").attr("font-size", 10).attr("font-weight", "normal").attr("fill", palette.text).attr("opacity", 0).attr("pointer-events", "none").text(label);
|
|
993
1000
|
bandG.on("mouseenter", () => {
|
|
994
1001
|
bandRect.attr("opacity", hoverOpacity);
|
|
995
1002
|
labelBg.attr("opacity", 1);
|
|
@@ -1379,12 +1386,12 @@ function renderTagLegend(svg, chartG, tagGroups, activeGroupName, chartLeftMargi
|
|
|
1379
1386
|
applyCriticalPathHighlight(svg, chartG);
|
|
1380
1387
|
}
|
|
1381
1388
|
}
|
|
1382
|
-
var ERA_COLORS = ["#3b6ea5", "#5b9357", "#c9a227", "#cc7a33", "#7d5ba6"];
|
|
1383
1389
|
function renderErasAndMarkers(g, svg, resolved, xScale, innerHeight, palette, eraLabelY, markerLabelY) {
|
|
1384
1390
|
for (let i = 0; i < resolved.eras.length; i++) {
|
|
1385
1391
|
const era = resolved.eras[i];
|
|
1386
1392
|
if (!era) continue;
|
|
1387
|
-
const
|
|
1393
|
+
const eraColors = getEraColors(palette);
|
|
1394
|
+
const color = era.color || eraColors[i % eraColors.length];
|
|
1388
1395
|
const sx = xScale(parseDateToFractionalYear(era.startDate));
|
|
1389
1396
|
const ex = xScale(parseDateToFractionalYear(era.endDate));
|
|
1390
1397
|
if (ex <= sx) continue;
|
|
@@ -1397,7 +1404,7 @@ function renderErasAndMarkers(g, svg, resolved, xScale, innerHeight, palette, er
|
|
|
1397
1404
|
const eraLabelMaxW = Math.max(0, ex - sx - 8);
|
|
1398
1405
|
const eraDisplayLabel = truncateLegendText(era.label, 10, eraLabelMaxW);
|
|
1399
1406
|
const eraTruncated = eraDisplayLabel !== era.label;
|
|
1400
|
-
const eraLabel = eraG.append("text").attr("class", "gantt-era-label").attr("x", (sx + ex) / 2).attr("y", eraLabelY).attr("text-anchor", "middle").attr("font-size",
|
|
1407
|
+
const eraLabel = eraG.append("text").attr("class", "gantt-era-label").attr("x", (sx + ex) / 2).attr("y", eraLabelY).attr("text-anchor", "middle").attr("font-size", 10).attr("fill", color).attr("opacity", 0.7).style("cursor", "pointer").text(eraDisplayLabel);
|
|
1401
1408
|
eraG.on("mouseenter", () => {
|
|
1402
1409
|
g.selectAll(".gantt-task").attr(
|
|
1403
1410
|
"opacity",
|
|
@@ -1470,12 +1477,12 @@ function renderErasAndMarkers(g, svg, resolved, xScale, innerHeight, palette, er
|
|
|
1470
1477
|
const markerTruncated = markerDisplayLabel !== marker.label;
|
|
1471
1478
|
const markerG = g.append("g").attr("class", "gantt-marker-group").attr("data-line-number", String(marker.lineNumber)).style("cursor", "pointer");
|
|
1472
1479
|
markerG.append("rect").attr("x", mx - 40).attr("y", labelY - 12).attr("width", 80).attr("height", innerHeight - labelY + 12).attr("fill", "transparent").attr("pointer-events", "all");
|
|
1473
|
-
const markerLabelEl = markerG.append("text").attr("class", "gantt-marker-label").attr("x", mx).attr("y", labelY).attr("text-anchor", "middle").attr("font-size",
|
|
1480
|
+
const markerLabelEl = markerG.append("text").attr("class", "gantt-marker-label").attr("x", mx).attr("y", labelY).attr("text-anchor", "middle").attr("font-size", 11).attr("font-weight", "bold").attr("fill", color).text(markerDisplayLabel);
|
|
1474
1481
|
markerG.append("path").attr(
|
|
1475
1482
|
"d",
|
|
1476
1483
|
`M${mx},${diamondY - diamondSize} l${diamondSize},${diamondSize} l-${diamondSize},${diamondSize} l-${diamondSize},-${diamondSize} Z`
|
|
1477
1484
|
).attr("fill", color).attr("opacity", 0.9);
|
|
1478
|
-
markerG.append("line").attr("class", "gantt-marker").attr("x1", mx).attr("y1", diamondY + diamondSize).attr("x2", mx).attr("y2", innerHeight).attr("stroke", color).attr("stroke-width", 1.5).attr("stroke-dasharray",
|
|
1485
|
+
markerG.append("line").attr("class", "gantt-marker").attr("x1", mx).attr("y1", diamondY + diamondSize).attr("x2", mx).attr("y2", innerHeight).attr("stroke", color).attr("stroke-width", 1.5).attr("stroke-dasharray", EDGE_DASH).attr("opacity", 0.5);
|
|
1479
1486
|
const markerLine = markerG.select(".gantt-marker");
|
|
1480
1487
|
const markerDiamond = markerG.select("path");
|
|
1481
1488
|
markerG.on("mouseenter", () => {
|
|
@@ -1552,9 +1559,9 @@ function renderSprintBands(g, svg, resolved, xScale, innerHeight, palette) {
|
|
|
1552
1559
|
if (sprint.number % 2 !== 0) {
|
|
1553
1560
|
sprintG.append("rect").attr("x", sx).attr("y", 0).attr("width", bandWidth).attr("height", innerHeight).attr("fill", "transparent");
|
|
1554
1561
|
}
|
|
1555
|
-
const sprintLabel = sprintG.append("text").attr("class", "gantt-sprint-label").attr("x", (sx + ex) / 2).attr("y", -22).attr("text-anchor", "middle").attr("font-size",
|
|
1562
|
+
const sprintLabel = sprintG.append("text").attr("class", "gantt-sprint-label").attr("x", (sx + ex) / 2).attr("y", -22).attr("text-anchor", "middle").attr("font-size", 10).attr("font-weight", "bold").attr("fill", bandColor).attr("opacity", 0.4).text(String(sprint.number));
|
|
1556
1563
|
if (i > 0 && rawSx >= chartMinX) {
|
|
1557
|
-
sprintG.append("line").attr("class", "gantt-sprint-boundary").attr("x1", sx).attr("y1", -6).attr("x2", sx).attr("y2", innerHeight).attr("stroke", bandColor).attr("stroke-width", 1).attr("stroke-dasharray",
|
|
1564
|
+
sprintG.append("line").attr("class", "gantt-sprint-boundary").attr("x1", sx).attr("y1", -6).attr("x2", sx).attr("y2", innerHeight).attr("stroke", bandColor).attr("stroke-width", 1).attr("stroke-dasharray", HAIRLINE_DASH).attr("opacity", SPRINT_BOUNDARY_OPACITY);
|
|
1558
1565
|
}
|
|
1559
1566
|
const sprintStartMs = sprint.startDate.getTime();
|
|
1560
1567
|
const sprintEndMs = sprint.endDate.getTime();
|
|
@@ -1654,17 +1661,17 @@ function renderSprintBands(g, svg, resolved, xScale, innerHeight, palette) {
|
|
|
1654
1661
|
);
|
|
1655
1662
|
}
|
|
1656
1663
|
const accentColor = palette.accent || palette.text || bandColor;
|
|
1657
|
-
sprintLabel.text(`Sprint ${sprint.number}`).attr("font-size",
|
|
1664
|
+
sprintLabel.text(`Sprint ${sprint.number}`).attr("font-size", 13).attr("font-weight", "bold").attr("fill", accentColor).attr("opacity", 1);
|
|
1658
1665
|
}).on("mouseleave", () => {
|
|
1659
1666
|
resetHighlight(g, svg);
|
|
1660
1667
|
sprintRect.attr("opacity", baseOpacity);
|
|
1661
|
-
sprintLabel.text(String(sprint.number)).attr("font-size",
|
|
1668
|
+
sprintLabel.text(String(sprint.number)).attr("font-size", 10).attr("font-weight", "bold").attr("fill", bandColor).attr("opacity", 0.4);
|
|
1662
1669
|
hideGanttDateIndicators(g);
|
|
1663
1670
|
});
|
|
1664
1671
|
}
|
|
1665
1672
|
const lastSprint = resolved.sprints[resolved.sprints.length - 1];
|
|
1666
1673
|
const lastEx = xScale(dateToFractionalYear(lastSprint.endDate));
|
|
1667
|
-
g.append("line").attr("class", "gantt-sprint-boundary").attr("x1", lastEx).attr("y1", -6).attr("x2", lastEx).attr("y2", innerHeight).attr("stroke", bandColor).attr("stroke-width", 1).attr("stroke-dasharray",
|
|
1674
|
+
g.append("line").attr("class", "gantt-sprint-boundary").attr("x1", lastEx).attr("y1", -6).attr("x2", lastEx).attr("y2", innerHeight).attr("stroke", bandColor).attr("stroke-width", 1).attr("stroke-dasharray", HAIRLINE_DASH).attr("opacity", SPRINT_BOUNDARY_OPACITY);
|
|
1668
1675
|
}
|
|
1669
1676
|
function parseDateStringToDate(s) {
|
|
1670
1677
|
const parts = s.split("-").map((p) => parseInt(p, 10));
|
|
@@ -2015,7 +2022,7 @@ function buildTagLaneRowList(resolved, swimlaneGroup, collapsedLanes) {
|
|
|
2015
2022
|
rows.push({
|
|
2016
2023
|
type: "lane-header",
|
|
2017
2024
|
laneName: noLaneName,
|
|
2018
|
-
laneColor:
|
|
2025
|
+
laneColor: UNTAGGED_TAG_COLOR,
|
|
2019
2026
|
aggregateProgress,
|
|
2020
2027
|
tagKey,
|
|
2021
2028
|
isCollapsed,
|
|
@@ -2070,10 +2077,10 @@ function showGanttDateIndicators(g, xScale, startDate, endDate, innerHeight, col
|
|
|
2070
2077
|
const startPos = xScale(dateToFractionalYear(startDate));
|
|
2071
2078
|
const startLabel = formatGanttDate(startDate);
|
|
2072
2079
|
if (!options?.skipStartLine) {
|
|
2073
|
-
hg.append("line").attr("class", "gantt-hover-date").attr("x1", startPos).attr("y1", -tickLen).attr("x2", startPos).attr("y2", innerHeight).attr("stroke", color).attr("stroke-width", 1.5).attr("stroke-dasharray",
|
|
2080
|
+
hg.append("line").attr("class", "gantt-hover-date").attr("x1", startPos).attr("y1", -tickLen).attr("x2", startPos).attr("y2", innerHeight).attr("stroke", color).attr("stroke-width", 1.5).attr("stroke-dasharray", GRID_DASH).attr("opacity", 0.6);
|
|
2074
2081
|
}
|
|
2075
|
-
hg.append("text").attr("class", "gantt-hover-date").attr("x", startPos).attr("y", -tickLen - 4).attr("text-anchor", "middle").attr("fill", color).attr("font-size",
|
|
2076
|
-
hg.append("text").attr("class", "gantt-hover-date").attr("x", startPos).attr("y", innerHeight + tickLen + 12).attr("text-anchor", "middle").attr("fill", color).attr("font-size",
|
|
2082
|
+
hg.append("text").attr("class", "gantt-hover-date").attr("x", startPos).attr("y", -tickLen - 4).attr("text-anchor", "middle").attr("fill", color).attr("font-size", 10).attr("font-weight", "bold").text(startLabel);
|
|
2083
|
+
hg.append("text").attr("class", "gantt-hover-date").attr("x", startPos).attr("y", innerHeight + tickLen + 12).attr("text-anchor", "middle").attr("fill", color).attr("font-size", 10).attr("font-weight", "bold").text(startLabel);
|
|
2077
2084
|
if (endDate && endDate.getTime() !== startDate.getTime()) {
|
|
2078
2085
|
const endPos = xScale(dateToFractionalYear(endDate));
|
|
2079
2086
|
const endLabel = formatGanttDate(endDate);
|
|
@@ -2090,7 +2097,7 @@ function showGanttDateIndicators(g, xScale, startDate, endDate, innerHeight, col
|
|
|
2090
2097
|
startAnchor = "middle";
|
|
2091
2098
|
endAnchor = "middle";
|
|
2092
2099
|
}
|
|
2093
|
-
hg.append("line").attr("class", "gantt-hover-date").attr("x1", endPos).attr("y1", -tickLen).attr("x2", endPos).attr("y2", innerHeight).attr("stroke", color).attr("stroke-width", 1.5).attr("stroke-dasharray",
|
|
2100
|
+
hg.append("line").attr("class", "gantt-hover-date").attr("x1", endPos).attr("y1", -tickLen).attr("x2", endPos).attr("y2", innerHeight).attr("stroke", color).attr("stroke-width", 1.5).attr("stroke-dasharray", GRID_DASH).attr("opacity", 0.6);
|
|
2094
2101
|
hg.selectAll("text.gantt-hover-date").each(
|
|
2095
2102
|
function() {
|
|
2096
2103
|
const el = d3Selection.select(this);
|
|
@@ -2099,8 +2106,8 @@ function showGanttDateIndicators(g, xScale, startDate, endDate, innerHeight, col
|
|
|
2099
2106
|
}
|
|
2100
2107
|
}
|
|
2101
2108
|
);
|
|
2102
|
-
hg.append("text").attr("class", "gantt-hover-date").attr("x", endLabelX).attr("y", -tickLen - 4).attr("text-anchor", endAnchor).attr("fill", color).attr("font-size",
|
|
2103
|
-
hg.append("text").attr("class", "gantt-hover-date").attr("x", endLabelX).attr("y", innerHeight + tickLen + 12).attr("text-anchor", endAnchor).attr("fill", color).attr("font-size",
|
|
2109
|
+
hg.append("text").attr("class", "gantt-hover-date").attr("x", endLabelX).attr("y", -tickLen - 4).attr("text-anchor", endAnchor).attr("fill", color).attr("font-size", 10).attr("font-weight", "bold").text(endLabel);
|
|
2110
|
+
hg.append("text").attr("class", "gantt-hover-date").attr("x", endLabelX).attr("y", innerHeight + tickLen + 12).attr("text-anchor", endAnchor).attr("fill", color).attr("font-size", 10).attr("font-weight", "bold").text(endLabel);
|
|
2104
2111
|
}
|
|
2105
2112
|
}
|
|
2106
2113
|
function hideGanttDateIndicators(g) {
|
|
@@ -2118,7 +2125,7 @@ function resolveTaskColor(rt, activeTagGroup, resolved, seriesColors, palette) {
|
|
|
2118
2125
|
resolved.tagGroups,
|
|
2119
2126
|
activeTagGroup
|
|
2120
2127
|
);
|
|
2121
|
-
if (tagColor && tagColor !==
|
|
2128
|
+
if (tagColor && tagColor !== UNTAGGED_TAG_COLOR) return tagColor;
|
|
2122
2129
|
if (rt.groupPath.length > 0) {
|
|
2123
2130
|
const topGroup = rt.groupPath[0];
|
|
2124
2131
|
const groupIdx = resolved.groups.findIndex((g) => g.name === topGroup);
|
|
@@ -2140,11 +2147,11 @@ function renderTimeScaleHorizontal(g, scale, _innerWidth, innerHeight, textColor
|
|
|
2140
2147
|
const opacity = 0.4;
|
|
2141
2148
|
const guideOpacity = 0.15;
|
|
2142
2149
|
for (const tick of ticks) {
|
|
2143
|
-
g.append("line").attr("class", "gantt-scale-tick").attr("x1", tick.pos).attr("y1", 0).attr("x2", tick.pos).attr("y2", innerHeight).attr("stroke", textColor).attr("stroke-width", 1).attr("stroke-dasharray",
|
|
2150
|
+
g.append("line").attr("class", "gantt-scale-tick").attr("x1", tick.pos).attr("y1", 0).attr("x2", tick.pos).attr("y2", innerHeight).attr("stroke", textColor).attr("stroke-width", 1).attr("stroke-dasharray", GRID_DASH).attr("opacity", guideOpacity);
|
|
2144
2151
|
g.append("line").attr("class", "gantt-scale-tick").attr("x1", tick.pos).attr("y1", 0).attr("x2", tick.pos).attr("y2", -tickLen).attr("stroke", textColor).attr("stroke-width", 1).attr("opacity", opacity);
|
|
2145
|
-
g.append("text").attr("class", "gantt-scale-tick").attr("x", tick.pos).attr("y", -tickLen - 4).attr("text-anchor", "middle").attr("dominant-baseline", "auto").attr("font-size",
|
|
2152
|
+
g.append("text").attr("class", "gantt-scale-tick").attr("x", tick.pos).attr("y", -tickLen - 4).attr("text-anchor", "middle").attr("dominant-baseline", "auto").attr("font-size", 10).attr("fill", textColor).attr("opacity", opacity).text(tick.label);
|
|
2146
2153
|
g.append("line").attr("class", "gantt-scale-tick").attr("x1", tick.pos).attr("y1", innerHeight).attr("x2", tick.pos).attr("y2", innerHeight + tickLen).attr("stroke", textColor).attr("stroke-width", 1).attr("opacity", opacity);
|
|
2147
|
-
g.append("text").attr("class", "gantt-scale-tick").attr("x", tick.pos).attr("y", innerHeight + tickLen + 12).attr("text-anchor", "middle").attr("font-size",
|
|
2154
|
+
g.append("text").attr("class", "gantt-scale-tick").attr("x", tick.pos).attr("y", innerHeight + tickLen + 12).attr("text-anchor", "middle").attr("font-size", 10).attr("fill", textColor).attr("opacity", opacity).text(tick.label);
|
|
2148
2155
|
}
|
|
2149
2156
|
}
|
|
2150
2157
|
|
|
@@ -2152,4 +2159,4 @@ export {
|
|
|
2152
2159
|
renderGantt,
|
|
2153
2160
|
buildTagLaneRowList
|
|
2154
2161
|
};
|
|
2155
|
-
//# sourceMappingURL=chunk-
|
|
2162
|
+
//# sourceMappingURL=chunk-54JYWS7D.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
stripDefaultModifier,
|
|
18
18
|
validateTagGroupNames,
|
|
19
19
|
validateTagValues
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-O2HU4AQN.js";
|
|
21
21
|
import {
|
|
22
22
|
AliasRegistry,
|
|
23
23
|
FILL_FAMILY_TOKENS,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
splitNameAndMeta,
|
|
32
32
|
warnUnknownMetaKeys,
|
|
33
33
|
withTagAliases
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-4CA7TJ44.js";
|
|
35
35
|
import {
|
|
36
36
|
NAME_DIAGNOSTIC_CODES,
|
|
37
37
|
formatDgmoError,
|
|
@@ -1072,4 +1072,4 @@ export {
|
|
|
1072
1072
|
parseSequenceDgmo,
|
|
1073
1073
|
looksLikeSequence
|
|
1074
1074
|
};
|
|
1075
|
-
//# sourceMappingURL=chunk-
|
|
1075
|
+
//# sourceMappingURL=chunk-55DMCFGM.js.map
|