@diagrammo/dgmo 0.51.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 +74 -77
- package/.github/copilot-instructions.md +74 -77
- package/.windsurfrules +74 -77
- package/SKILL.md +74 -77
- package/dist/advanced.d.ts +109 -246
- package/dist/advanced.js +296 -633
- package/dist/analyzer-TDN5KJFP.js +15 -0
- package/dist/auto.css +14 -6
- package/dist/auto.js +141 -129
- package/dist/auto.mjs +2062 -937
- package/dist/block.css +14 -6
- package/dist/block.js +123 -73
- 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-RLFVAKEO.js → chunk-22OQWBWD.js} +25 -8
- package/dist/{chunk-I2QZFCS2.js → chunk-27STWBOK.js} +10 -8
- package/dist/{chunk-5PZT4DQG.js → chunk-2QC4HXCY.js} +41 -21
- package/dist/{chunk-HFMYN6N2.js → chunk-3B2GXZCX.js} +4 -3
- package/dist/{chunk-F3FYUFUH.js → chunk-3BEKKRH5.js} +18 -17
- package/dist/{chunk-2UJSV2VT.js → chunk-3CZLWOCI.js} +17 -7
- package/dist/{chunk-JEUJOX5X.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-ZO27FGJS.js → chunk-4ASVFYB2.js} +10 -7
- package/dist/{chunk-WCT3NYCV.js → chunk-4ASYQ347.js} +33 -8
- package/dist/{chunk-2ILHQOL3.js → chunk-4K42RUGC.js} +41 -13
- 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-EXOQP75F.js → chunk-4WGMGKCZ.js} +53 -33
- package/dist/{chunk-JED6ZDEE.js → chunk-5HWPEYWB.js} +2 -2
- package/dist/{chunk-3YSQZ75W.js → chunk-65V6IRFN.js} +46 -33
- package/dist/{chunk-TMACGPW5.js → chunk-6AUZPPAV.js} +4 -4
- package/dist/{chunk-6H7O2OPM.js → chunk-6DCOIN4W.js} +36 -6
- package/dist/{chunk-GTWKD3QT.js → chunk-6HTRCTAS.js} +7 -6
- package/dist/{chunk-VB4UJ3H2.js → chunk-6KY7OCZC.js} +21 -11
- package/dist/{chunk-YAA6IID3.js → chunk-774C2FF3.js} +2 -2
- package/dist/{chunk-WJ7RW65H.js → chunk-7GUF6SDR.js} +22 -20
- package/dist/{chunk-QYTPPDAO.js → chunk-7JDTNFAK.js} +3 -3
- package/dist/{chunk-U6EQI3U6.js → chunk-ADYKAKE3.js} +3 -3
- package/dist/{chunk-VNSXLA6G.js → chunk-AHXIMHDQ.js} +84 -20
- package/dist/chunk-AIMLCDAO.js +404 -0
- package/dist/{chunk-6MNGECP2.js → chunk-ALYZ3MAA.js} +4 -4
- package/dist/{chunk-5F5ELR3V.js → chunk-AN2DQB3G.js} +151 -20
- package/dist/{chunk-IEWG6J7C.js → chunk-AZNXGWDC.js} +91 -36
- package/dist/{chunk-4XFBQT5O.js → chunk-B4XS2AF2.js} +3 -3
- package/dist/{chunk-CC4YRBWV.js → chunk-BD3WGY4T.js} +18 -8
- package/dist/{chunk-RAHVMKBG.js → chunk-BFDVEO5R.js} +2 -2
- package/dist/{chunk-332ZR4QU.js → chunk-BR7AYN76.js} +8 -8
- package/dist/{chunk-P3NRSSUU.js → chunk-BULHGPHK.js} +3 -3
- package/dist/{chunk-PZDBOK2Q.js → chunk-CK2GMDXD.js} +11 -5
- package/dist/{chunk-467TVMQL.js → chunk-CMVZWP32.js} +3 -3
- package/dist/{chunk-GNSFLJAA.js → chunk-CQFNIIQN.js} +7 -7
- package/dist/{chunk-RBDIYLA5.js → chunk-DAOFNU6J.js} +17 -1
- package/dist/{chunk-AFIEPDLX.js → chunk-DWUMPMV2.js} +23 -11
- package/dist/{chunk-USZW2HHU.js → chunk-EQW6HOP4.js} +4 -3
- package/dist/{chunk-6BQFET7X.js → chunk-FFXCKZOU.js} +12 -4
- package/dist/{chunk-WRNFDFPU.js → chunk-FGDSTT3F.js} +2 -2
- package/dist/{chunk-6NFYEQDX.js → chunk-FLDC7ZAK.js} +34 -7
- package/dist/{chunk-IUJODQKX.js → chunk-FT7TPPZ5.js} +25 -23
- package/dist/{chunk-IEDMFNU7.js → chunk-FUKNRLIJ.js} +19 -7
- package/dist/{chunk-JJXGQIRV.js → chunk-FXCB7H5O.js} +4 -4
- package/dist/{chunk-GGHRAITI.js → chunk-GABSL6TH.js} +4 -4
- package/dist/{chunk-RXKTSFDL.js → chunk-GAWKIIPO.js} +35 -43
- package/dist/{chunk-ZJ3LS7DW.js → chunk-GMAH572Z.js} +6 -6
- package/dist/{chunk-TRM2J7ZN.js → chunk-GMIJ35PW.js} +28 -29
- package/dist/{chunk-AB7INMR5.js → chunk-GQ644SPD.js} +26 -25
- package/dist/{chunk-5QKQSSPO.js → chunk-GRM2A4BG.js} +4 -4
- package/dist/{chunk-3ODS2VGL.js → chunk-GWQJKTFS.js} +161 -704
- package/dist/{chunk-OTOHI4JO.js → chunk-H3HFC3SQ.js} +2 -2
- package/dist/{chunk-JSSX2SX4.js → chunk-HE5J53SZ.js} +4 -4
- package/dist/{chunk-2EQMXBBQ.js → chunk-HNBY6CNV.js} +3 -3
- package/dist/{chunk-J76PIKAT.js → chunk-HO3RCNF6.js} +3 -3
- package/dist/{chunk-OJTXTQA2.js → chunk-HORZ5H2L.js} +38 -31
- package/dist/{chunk-MX2EY5Y7.js → chunk-HOXKNRON.js} +2 -2
- package/dist/{chunk-E7Y3SYKW.js → chunk-I64ECJX3.js} +18 -8
- package/dist/{chunk-JM4LEPY3.js → chunk-IQJCVREL.js} +11 -8
- package/dist/{chunk-3JLKYGBQ.js → chunk-J7HI6G3G.js} +9 -6
- package/dist/{chunk-Q62FEYK3.js → chunk-JHOAH4TI.js} +3 -3
- package/dist/{chunk-OZPBJM5Q.js → chunk-JTMSWEIW.js} +11 -8
- package/dist/{chunk-P6T66CCZ.js → chunk-JYDMBWRP.js} +37 -19
- package/dist/{chunk-7DF4J4RL.js → chunk-KKHCNSKK.js} +17 -11
- package/dist/{chunk-ENRS56GC.js → chunk-KUSAVOWZ.js} +11 -8
- package/dist/{chunk-BYJBIALT.js → chunk-LC3FFD43.js} +23 -18
- package/dist/{chunk-65WJYYKJ.js → chunk-LHILKFDP.js} +16 -11
- package/dist/{chunk-NEQ6GJXB.js → chunk-LQHVDZYC.js} +52 -16
- package/dist/{chunk-5WPNFSXP.js → chunk-MA3HJZHB.js} +5 -5
- package/dist/{chunk-Z6XJQ6KO.js → chunk-MEQYZZFR.js} +3 -3
- package/dist/{chunk-MVN25IF6.js → chunk-NNUMX6WX.js} +42 -12
- package/dist/{chunk-7DYOELRK.js → chunk-NNYFQOTK.js} +78 -38
- package/dist/{chunk-NNAAJVBU.js → chunk-NR5HCAUD.js} +1 -1
- package/dist/{chunk-H6PI3KJT.js → chunk-ODUT5WMC.js} +2 -2
- package/dist/{chunk-5PDTIBLV.js → chunk-P3H7QVDH.js} +56 -19
- package/dist/{chunk-ND76YJCN.js → chunk-PIXZTCKH.js} +84 -117
- package/dist/{chunk-3LV2NCB6.js → chunk-PKNNHU7H.js} +22 -9
- package/dist/{chunk-TK2VQQX2.js → chunk-PT4SW76W.js} +20 -18
- package/dist/{chunk-AE7II3E3.js → chunk-PV2QO7QL.js} +4 -4
- package/dist/{chunk-FTBZV6NE.js → chunk-PYO4TJJ3.js} +34 -26
- package/dist/{chunk-QZPEGJOM.js → chunk-Q7AH665U.js} +28 -14
- package/dist/{chunk-QHI5XVUJ.js → chunk-QAALSCKI.js} +27 -26
- package/dist/{chunk-GD6L76WD.js → chunk-QI3BOLQB.js} +23 -11
- package/dist/{chunk-Y6GBQTBK.js → chunk-QWIBT6DS.js} +50 -28
- package/dist/{chunk-GU46PPT3.js → chunk-QXGACPS2.js} +5 -5
- package/dist/{chunk-FMDSF3OV.js → chunk-QZAW5SFH.js} +2 -2
- package/dist/{chunk-YGJZWZTY.js → chunk-R5NH5BZG.js} +12 -9
- package/dist/{chunk-U5SI5NIM.js → chunk-RJ5LBZ5U.js} +43 -26
- package/dist/{chunk-XHVV4NVW.js → chunk-RT7ACF77.js} +12 -2
- package/dist/{chunk-XEQXCIBC.js → chunk-RW5PEJ7D.js} +18 -6
- package/dist/{chunk-4VWJ4LW2.js → chunk-SG4PRYO3.js} +61 -49
- package/dist/{chunk-RBHWPDBB.js → chunk-SGPFVDUL.js} +18 -7
- package/dist/{chunk-KJGG2JKQ.js → chunk-SQCBSFT5.js} +84 -79
- package/dist/{chunk-5X6YQA2J.js → chunk-U7NKYLX2.js} +18 -16
- package/dist/chunk-U7VO6JAA.js +566 -0
- package/dist/{chunk-32XPAAET.js → chunk-UFQJMOVZ.js} +10 -10
- package/dist/{chunk-Z72XRXD4.js → chunk-UJRTPOHH.js} +3 -3
- package/dist/{chunk-EDA6C7MV.js → chunk-UK6DKJLD.js} +34 -14
- package/dist/{chunk-GROLTAWZ.js → chunk-UKP5HWB5.js} +149 -89
- package/dist/{chunk-DY7XLRHK.js → chunk-UQRIKAMH.js} +28 -27
- package/dist/{chunk-TYS6CSS5.js → chunk-UU6LUYUH.js} +2 -2
- package/dist/{chunk-NI3XQBPB.js → chunk-UVDCHR4E.js} +18 -6
- package/dist/{chunk-6K2M4VSR.js → chunk-VAO6ANGC.js} +23 -10
- package/dist/{chunk-6NYWYNBI.js → chunk-VGNIDAPQ.js} +4 -4
- package/dist/{chunk-VL2O2F3W.js → chunk-VHO3YBTB.js} +2 -2
- package/dist/{chunk-IUO34HKW.js → chunk-VIRANCNY.js} +36 -32
- package/dist/{chunk-4QZ43D7I.js → chunk-VJHBSPGF.js} +12 -14
- package/dist/{chunk-BGP54HVR.js → chunk-VKNCC2GX.js} +12 -8
- package/dist/{chunk-FC5I2KXV.js → chunk-VRRDUYOK.js} +7 -7
- package/dist/{chunk-G3PF3S7P.js → chunk-W2DINCHL.js} +15 -15
- package/dist/{chunk-OU7HLO7I.js → chunk-W5KMNC5U.js} +8 -8
- package/dist/{chunk-FFUN5D66.js → chunk-WF64MW5G.js} +2 -2
- package/dist/{chunk-X7EC3L2H.js → chunk-X3RXGSCZ.js} +48 -30
- package/dist/{chunk-KFNWFNAA.js → chunk-XEAQDIMF.js} +7 -6
- package/dist/{chunk-AXW3M6OQ.js → chunk-XG4NWFPY.js} +38 -27
- package/dist/{chunk-B63YB7X3.js → chunk-XQ4KN6JQ.js} +127 -65
- package/dist/{chunk-WBRZJOEC.js → chunk-XY3UDKKH.js} +4 -4
- package/dist/{chunk-IE477RQZ.js → chunk-YG2BEIQU.js} +14 -13
- package/dist/{chunk-LV4BETUU.js → chunk-YJVA3QUU.js} +55 -5
- package/dist/{chunk-5SVOCD5W.js → chunk-YR43LJT5.js} +20 -16
- package/dist/{chunk-TLVIHFRO.js → chunk-ZKPPI6BF.js} +2 -2
- package/dist/{chunk-WQLMU7VG.js → chunk-ZXUAPTCK.js} +3 -3
- package/dist/cli.cjs +158 -155
- package/dist/clock.js +25 -23
- 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 +36 -6
- package/dist/element.js +143 -131
- package/dist/element.mjs +2062 -937
- package/dist/flowchart-parser-LALR6J6F.js +21 -0
- package/dist/{flowchart-renderer-AQSMEMYF.js → flowchart-renderer-DXYB5YRF.js} +14 -14
- package/dist/highlight.d.ts +21 -1
- package/dist/highlight.js +129 -8
- package/dist/index.d.ts +4 -2
- package/dist/index.js +80 -75
- package/dist/layout-3BVDMKXI.js +15 -0
- package/dist/layout-3M5UYJHY.js +14 -0
- package/dist/{layout-JDJAEQ3P.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-CB3XWCOI.js +10 -0
- 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-PRJ2RI6D.js → palettes-FGTNFARW.js} +4 -4
- package/dist/{parser-KKTJ6M3Y.js → parser-275KP7JO.js} +8 -8
- package/dist/parser-27Z76SN3.js +22 -0
- package/dist/parser-3CODK6RG.js +15 -0
- package/dist/{parser-EH5VE7ZN.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-5PDYJGWA.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-ZGNXYFPS.js +15 -0
- package/dist/parser-ZQDQTB4X.js +20 -0
- package/dist/pert.d.ts +4 -2
- 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-KQB7UGDS.js → renderer-AK2WO4EI.js} +7 -6
- package/dist/renderer-COLQFSFV.js +26 -0
- package/dist/renderer-CWEFGEIC.js +36 -0
- package/dist/renderer-D3BRNOMV.js +29 -0
- package/dist/renderer-HIFQVEJA.js +22 -0
- package/dist/renderer-JCZG6AYU.js +28 -0
- package/dist/{renderer-6RKQPNJI.js → renderer-JTCX6PCG.js} +13 -13
- package/dist/renderer-JWGQSTMR.js +37 -0
- package/dist/{renderer-3YPZHMOU.js → renderer-K7XLVPH5.js} +6 -6
- package/dist/renderer-KARQF3F3.js +22 -0
- package/dist/renderer-LVZAHRP6.js +34 -0
- package/dist/{renderer-QXGN5H3A.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-UV6MI64M.js → renderer-TYHGXAVT.js} +7 -6
- package/dist/renderer-UKXW2QPE.js +23 -0
- package/dist/renderer-UPF7NRTI.js +28 -0
- package/dist/renderer-VMH6L6CP.js +24 -0
- package/dist/{renderer-GHPZMFU2.js → renderer-WCWI4I6A.js} +5 -5
- package/dist/renderer-WFSUBKUL.js +25 -0
- package/dist/renderer-WNFXYYGL.js +21 -0
- package/dist/{renderer-RGIYOTKJ.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 +74 -77
- package/docs/language-reference.md +329 -290
- 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-7E4B4IMW.js +0 -26
- package/dist/dgmo-router-Y2VEX46B.js +0 -86
- package/dist/dimensions-F7B5C4BJ.js +0 -22
- package/dist/flowchart-parser-MY53QWTZ.js +0 -21
- package/dist/layout-46366KBT.js +0 -10
- package/dist/layout-46N4JJYK.js +0 -17
- package/dist/layout-4DIUOX2T.js +0 -14
- package/dist/layout-AM2JWW3X.js +0 -15
- package/dist/layout-CBCLPMSG.js +0 -15
- package/dist/layout-EE6GE46Y.js +0 -17
- package/dist/layout-G23F7LDH.js +0 -9
- package/dist/layout-HYZPWAK5.js +0 -18
- package/dist/layout-MUPRALE5.js +0 -14
- package/dist/layout-YVTNOTN4.js +0 -20
- package/dist/layout-ZDOSXL5G.js +0 -19
- package/dist/parser-2Q2T4C3B.js +0 -22
- package/dist/parser-3A42DZ72.js +0 -11
- package/dist/parser-4RFTKAQX.js +0 -15
- package/dist/parser-57ILIFZ2.js +0 -20
- package/dist/parser-5A2UWU6B.js +0 -11
- package/dist/parser-6BJEXUFX.js +0 -13
- package/dist/parser-6ZKABF5S.js +0 -22
- package/dist/parser-AIMHGJRR.js +0 -19
- package/dist/parser-AZJ25OKK.js +0 -13
- package/dist/parser-B77S5SZM.js +0 -11
- package/dist/parser-BEPSWJAD.js +0 -11
- package/dist/parser-BKI42XBQ.js +0 -16
- package/dist/parser-C3D7MVXY.js +0 -11
- package/dist/parser-CDG7CHV5.js +0 -14
- package/dist/parser-CZOJ7XQ6.js +0 -15
- package/dist/parser-E2RL6JYF.js +0 -18
- package/dist/parser-FQ6GZFMR.js +0 -13
- package/dist/parser-GKLZKEIK.js +0 -13
- package/dist/parser-H6ABKHZZ.js +0 -12
- package/dist/parser-I6GGFKOQ.js +0 -12
- package/dist/parser-JA7JQ7NF.js +0 -15
- package/dist/parser-OK22AC6Y.js +0 -14
- package/dist/parser-OK2ILHRT.js +0 -16
- package/dist/parser-OUTPNJWC.js +0 -11
- package/dist/parser-PORDUX5E.js +0 -15
- package/dist/parser-SRVFR7PM.js +0 -13
- package/dist/parser-UKFFZCFJ.js +0 -14
- package/dist/parser-UMWPLORP.js +0 -18
- package/dist/parser-Z4TZV2CB.js +0 -12
- package/dist/renderer-2AUFT3E2.js +0 -24
- package/dist/renderer-2HTNBIF2.js +0 -34
- package/dist/renderer-3K3IB7D5.js +0 -22
- package/dist/renderer-3YNIWF5I.js +0 -16
- package/dist/renderer-4WR6WMVF.js +0 -26
- package/dist/renderer-66MERVQ2.js +0 -24
- package/dist/renderer-ARMJBP6C.js +0 -28
- package/dist/renderer-CO2DW7S7.js +0 -37
- package/dist/renderer-EDJ2O4S5.js +0 -34
- package/dist/renderer-F7U3MFCV.js +0 -22
- package/dist/renderer-GD2COXVL.js +0 -16
- package/dist/renderer-GQIESYEM.js +0 -25
- package/dist/renderer-HCKJDFXD.js +0 -37
- package/dist/renderer-HYGHO4SJ.js +0 -28
- package/dist/renderer-JC3RDUT7.js +0 -23
- package/dist/renderer-NKJ24TEA.js +0 -19
- package/dist/renderer-OYO67VZK.js +0 -26
- package/dist/renderer-QIWVHWZO.js +0 -15
- package/dist/renderer-QRWACQRI.js +0 -21
- package/dist/renderer-QXPP4TA2.js +0 -27
- package/dist/renderer-RHT4MHFU.js +0 -24
- package/dist/renderer-RYR3TJ46.js +0 -36
- package/dist/renderer-SRKDNDFB.js +0 -27
- package/dist/renderer-TGTUABCI.js +0 -24
- package/dist/renderer-TXJFKPOG.js +0 -29
- package/dist/renderer-radial-FWABAZHB.js +0 -21
- package/dist/state-parser-6T6CNMPX.js +0 -18
- package/dist/state-renderer-AWZ3ECAX.js +0 -34
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
stripDefaultModifier,
|
|
6
6
|
tagAttrKey,
|
|
7
7
|
validateTagGroupNames
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CMVZWP32.js";
|
|
9
9
|
import {
|
|
10
10
|
normalizeName
|
|
11
11
|
} from "./chunk-NOTA6TEI.js";
|
|
@@ -15,26 +15,33 @@ import {
|
|
|
15
15
|
extractColor,
|
|
16
16
|
measureIndent,
|
|
17
17
|
parseFirstLine,
|
|
18
|
+
peelTrailingCollapsedFlag,
|
|
18
19
|
splitNameAndMeta,
|
|
19
20
|
warnUnknownMetaKeys,
|
|
20
21
|
withTagAliases
|
|
21
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YJVA3QUU.js";
|
|
22
23
|
import {
|
|
23
24
|
resolveColorWithDiagnostic
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZKPPI6BF.js";
|
|
25
26
|
import {
|
|
26
27
|
formatDgmoError,
|
|
27
28
|
makeDgmoError,
|
|
28
29
|
makeFail,
|
|
29
30
|
suggest
|
|
30
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4W2PE66Q.js";
|
|
31
32
|
|
|
32
33
|
// src/kanban/parser.ts
|
|
33
34
|
var COLUMN_RE = /^\[(.+?)\]\s*(.*)$/;
|
|
34
35
|
var PALETTE_COLOR_WORD_RE = /^(red|orange|yellow|green|blue|purple|teal|cyan|gray|black|white)\b/;
|
|
35
36
|
var AS_ALIAS_TOKEN_RE = /^as\s+([A-Za-z][A-Za-z0-9_]{0,11})\b/;
|
|
36
37
|
var KNOWN_OPTIONS = /* @__PURE__ */ new Set(["hide", "active-tag", "lane-by"]);
|
|
37
|
-
var KNOWN_BOOLEANS = /* @__PURE__ */ new Set([
|
|
38
|
+
var KNOWN_BOOLEANS = /* @__PURE__ */ new Set([
|
|
39
|
+
"fill-tint",
|
|
40
|
+
"fill-solid",
|
|
41
|
+
"fill-outline",
|
|
42
|
+
"no-title",
|
|
43
|
+
"no-legend"
|
|
44
|
+
]);
|
|
38
45
|
var REMOVED_BOOLEANS = {
|
|
39
46
|
"no-auto-color": '"no-auto-color" was removed \u2014 colors are always auto-assigned from the palette; delete this line.'
|
|
40
47
|
};
|
|
@@ -185,6 +192,12 @@ function parseKanban(content, palette) {
|
|
|
185
192
|
columnCounter++;
|
|
186
193
|
const colName = columnMatch[1].trim();
|
|
187
194
|
let tail = (columnMatch[2] ?? "").trim();
|
|
195
|
+
let colCollapsed = false;
|
|
196
|
+
const barePeel = peelTrailingCollapsedFlag(tail);
|
|
197
|
+
if (barePeel.collapsed) {
|
|
198
|
+
colCollapsed = true;
|
|
199
|
+
tail = barePeel.rest;
|
|
200
|
+
}
|
|
188
201
|
let colColor;
|
|
189
202
|
const colorMatch = tail.match(PALETTE_COLOR_WORD_RE);
|
|
190
203
|
if (colorMatch) {
|
|
@@ -229,7 +242,6 @@ function parseKanban(content, palette) {
|
|
|
229
242
|
const wipVal = parseInt(columnMetadata["wip"], 10);
|
|
230
243
|
if (!isNaN(wipVal)) wipLimit = wipVal;
|
|
231
244
|
}
|
|
232
|
-
let colCollapsed = false;
|
|
233
245
|
if (columnMetadata["collapsed"]?.toLowerCase() === "true") {
|
|
234
246
|
colCollapsed = true;
|
|
235
247
|
delete columnMetadata["collapsed"];
|
|
@@ -372,4 +384,4 @@ function parseCardLine(trimmed, lineNumber, counter, metaAliasMap, _palette, dia
|
|
|
372
384
|
export {
|
|
373
385
|
parseKanban
|
|
374
386
|
};
|
|
375
|
-
//# sourceMappingURL=chunk-
|
|
387
|
+
//# sourceMappingURL=chunk-FUKNRLIJ.js.map
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
extractColor,
|
|
3
3
|
measureIndent,
|
|
4
4
|
parseFirstLine
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YJVA3QUU.js";
|
|
6
6
|
import {
|
|
7
7
|
emit,
|
|
8
8
|
formatDgmoError,
|
|
9
9
|
makeFail,
|
|
10
10
|
suggest
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4W2PE66Q.js";
|
|
12
12
|
|
|
13
13
|
// src/version-control/diagnostics.ts
|
|
14
14
|
var VERSION_CONTROL_DX = {
|
|
@@ -221,7 +221,7 @@ function parseVersionControl(content, palette) {
|
|
|
221
221
|
if (hint) msg2 += ` ${hint}`;
|
|
222
222
|
return fail(lineNumber, msg2);
|
|
223
223
|
}
|
|
224
|
-
const dir = /^direction
|
|
224
|
+
const dir = /^direction[-\s]+(LR|TB)$/i.exec(trimmed);
|
|
225
225
|
if (dir) {
|
|
226
226
|
options.direction = dir[1].toUpperCase();
|
|
227
227
|
continue;
|
|
@@ -507,4 +507,4 @@ export {
|
|
|
507
507
|
VERSION_CONTROL_DIAGNOSTICS,
|
|
508
508
|
parseVersionControl
|
|
509
509
|
};
|
|
510
|
-
//# sourceMappingURL=chunk-
|
|
510
|
+
//# sourceMappingURL=chunk-FXCB7H5O.js.map
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
matchTagBlockHeading,
|
|
6
6
|
stripDefaultModifier,
|
|
7
7
|
validateTagGroupNames
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CMVZWP32.js";
|
|
9
9
|
import {
|
|
10
10
|
OPTION_NOCOLON_RE,
|
|
11
11
|
extractColor,
|
|
12
12
|
measureIndent,
|
|
13
13
|
parseFirstLine,
|
|
14
14
|
tryParseSharedOption
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YJVA3QUU.js";
|
|
16
16
|
import {
|
|
17
17
|
formatDgmoError,
|
|
18
18
|
makeDgmoError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4W2PE66Q.js";
|
|
20
20
|
|
|
21
21
|
// src/wireframe/parser.ts
|
|
22
22
|
var KNOWN_OPTIONS = /* @__PURE__ */ new Set(["palette", "theme", "active-tag"]);
|
|
@@ -729,4 +729,4 @@ export {
|
|
|
729
729
|
resetWireframeIds,
|
|
730
730
|
parseWireframe
|
|
731
731
|
};
|
|
732
|
-
//# sourceMappingURL=chunk-
|
|
732
|
+
//# sourceMappingURL=chunk-GABSL6TH.js.map
|
|
@@ -1,25 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSwatches
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B4XS2AF2.js";
|
|
4
4
|
import {
|
|
5
5
|
layoutMap,
|
|
6
6
|
mapLegendConfig,
|
|
7
7
|
mapLegendGroups,
|
|
8
8
|
parsePathRings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UFQJMOVZ.js";
|
|
10
10
|
import {
|
|
11
11
|
renderIntegratedLegend
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
parseClock
|
|
15
|
-
} from "./chunk-6NFYEQDX.js";
|
|
16
|
-
import {
|
|
17
|
-
fixedParts,
|
|
18
|
-
formatTime,
|
|
19
|
-
sunLine,
|
|
20
|
-
workStatus,
|
|
21
|
-
zoneParts
|
|
22
|
-
} from "./chunk-APKUAJ2L.js";
|
|
12
|
+
} from "./chunk-W5KMNC5U.js";
|
|
23
13
|
import {
|
|
24
14
|
TITLE_FONT_SIZE,
|
|
25
15
|
TITLE_FONT_WEIGHT,
|
|
@@ -29,12 +19,22 @@ import {
|
|
|
29
19
|
FONT_FAMILY
|
|
30
20
|
} from "./chunk-6KFWC4CO.js";
|
|
31
21
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./chunk-
|
|
22
|
+
parseClock
|
|
23
|
+
} from "./chunk-FLDC7ZAK.js";
|
|
24
|
+
import {
|
|
25
|
+
fixedParts,
|
|
26
|
+
formatTime,
|
|
27
|
+
sunLine,
|
|
28
|
+
workStatus,
|
|
29
|
+
zoneParts
|
|
30
|
+
} from "./chunk-APKUAJ2L.js";
|
|
34
31
|
import {
|
|
35
32
|
mix,
|
|
36
33
|
themeBaseBg
|
|
37
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-JYDMBWRP.js";
|
|
35
|
+
import {
|
|
36
|
+
measureText
|
|
37
|
+
} from "./chunk-4ASYQ347.js";
|
|
38
38
|
|
|
39
39
|
// src/map/renderer.ts
|
|
40
40
|
import * as d3Selection from "d3-selection";
|
|
@@ -72,7 +72,6 @@ function renderClockCards(gCards, layout, resolved, palette, isDark, now, frameW
|
|
|
72
72
|
const hasCoords = Number.isFinite(poi.lat) && Number.isFinite(poi.lon);
|
|
73
73
|
const isFixed = poi.tzFixedOffsetMin !== void 0;
|
|
74
74
|
const sun = !isFixed && hasCoords ? sunLine(now, poi.lat, poi.lon) : null;
|
|
75
|
-
const up = sun ? sun.up : parts.h >= 6 && parts.h < 18;
|
|
76
75
|
const ts = formatTime(parts.h, parts.m, parts.s, hours12);
|
|
77
76
|
const status = workStatus(parts, work);
|
|
78
77
|
const viewerWeekday = WEEKDAY_ABBR[new Date(now).getDay()];
|
|
@@ -80,16 +79,17 @@ function renderClockCards(gCards, layout, resolved, palette, isDark, now, frameW
|
|
|
80
79
|
const line2 = [showWeekday ? parts.weekday : null, status?.text].filter(Boolean).join(" \xB7 ");
|
|
81
80
|
const mainFont = 18;
|
|
82
81
|
const sf = 8;
|
|
83
|
-
const
|
|
84
|
-
const
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
const stackGap = 3;
|
|
89
|
-
const dotGap = 15;
|
|
82
|
+
const advance = (s, f) => [...s].reduce((w, c) => w + f * (c === ":" ? 0.334 : 0.6), 0);
|
|
83
|
+
const mainW = advance(ts.main, mainFont);
|
|
84
|
+
const secW = advance(`:${ts.sec}`, sf);
|
|
85
|
+
const stackW = Math.max(secW, ts.ap ? measureText(ts.ap, sf) : 0);
|
|
86
|
+
const stackGap = 6;
|
|
90
87
|
const padX = 9;
|
|
91
|
-
const
|
|
92
|
-
const
|
|
88
|
+
const iconR = 3.5;
|
|
89
|
+
const iconGap = 5;
|
|
90
|
+
const line2Icon = status ? iconR * 2 + iconGap : 0;
|
|
91
|
+
const line1W = mainW + stackGap + stackW;
|
|
92
|
+
const line2W = line2Icon + measureText(line2, 10.5);
|
|
93
93
|
const cardW = Math.max(line1W, line2W) + padX * 2;
|
|
94
94
|
const cardH = 44;
|
|
95
95
|
const leaderGap = 7;
|
|
@@ -119,27 +119,19 @@ function renderClockCards(gCards, layout, resolved, palette, isDark, now, frameW
|
|
|
119
119
|
const leaderX = clamp(cx, cardLeft + 10, cardLeft + cardW - 10);
|
|
120
120
|
g.append("line").attr("x1", cx).attr("y1", below ? lp.cy + lp.r : lp.cy - lp.r).attr("x2", leaderX).attr("y2", below ? cardTop : cardTop + cardH).attr("stroke", border).attr("stroke-width", 1);
|
|
121
121
|
g.append("rect").attr("x", cardLeft).attr("y", cardTop).attr("width", cardW).attr("height", cardH).attr("rx", 6).attr("fill", cardFill).attr("stroke", border).attr("stroke-width", 1);
|
|
122
|
-
const
|
|
122
|
+
const statusColor = (cls) => cls === "ok" ? sw.ok : cls === "soon" ? sw.soon : sw.off;
|
|
123
123
|
const line1Y = cardTop + 20;
|
|
124
|
-
const
|
|
125
|
-
|
|
126
|
-
const dc = status.cls === "ok" ? sw.ok : status.cls === "soon" ? sw.soon : sw.off;
|
|
127
|
-
if (status.cls === "off") {
|
|
128
|
-
dot.attr("fill", "none").attr("stroke", dc).attr("stroke-width", 1.4);
|
|
129
|
-
} else {
|
|
130
|
-
dot.attr("fill", dc);
|
|
131
|
-
}
|
|
132
|
-
} else {
|
|
133
|
-
dot.attr("fill", up ? sw.day : sw.night);
|
|
134
|
-
}
|
|
135
|
-
const timeX = cardLeft + padX + dotGap;
|
|
136
|
-
g.append("text").attr("data-dgmo-clock-digital-part", "main").attr("x", timeX).attr("y", line1Y).attr("font-family", FONT_FAMILY).attr("fill", palette.text).attr("font-size", mainFont).attr("font-weight", 600).style("font-variant-numeric", "tabular-nums").text(ts.main);
|
|
124
|
+
const timeX = cardLeft + padX;
|
|
125
|
+
g.append("text").attr("data-dgmo-clock-digital-part", "main").attr("x", timeX).attr("y", line1Y).attr("font-family", FONT_FAMILY).attr("fill", palette.text).attr("font-size", mainFont).attr("font-weight", 600).attr("textLength", mainW).attr("lengthAdjust", "spacing").style("font-variant-numeric", "tabular-nums").text(ts.main);
|
|
137
126
|
const stackX = timeX + mainW + stackGap;
|
|
138
127
|
const capTop = line1Y - mainFont * 0.7;
|
|
139
|
-
g.append("text").attr("data-dgmo-clock-digital-part", "sec").attr("x", stackX).attr("y", capTop + sf * 0.72).attr("font-family", FONT_FAMILY).attr("fill", muted).attr("font-size", sf).style("font-variant-numeric", "tabular-nums").text(`:${ts.sec}`);
|
|
128
|
+
g.append("text").attr("data-dgmo-clock-digital-part", "sec").attr("x", stackX).attr("y", capTop + sf * 0.72).attr("font-family", FONT_FAMILY).attr("fill", muted).attr("font-size", sf).attr("textLength", secW).attr("lengthAdjust", "spacing").style("font-variant-numeric", "tabular-nums").text(`:${ts.sec}`);
|
|
140
129
|
g.append("text").attr("data-dgmo-clock-digital-part", "ap").attr("x", stackX).attr("y", line1Y).attr("font-family", FONT_FAMILY).attr("fill", muted).attr("font-size", sf).text(ts.ap);
|
|
141
130
|
const line2Y = cardTop + 36;
|
|
142
|
-
|
|
131
|
+
if (status) {
|
|
132
|
+
g.append("circle").attr("data-dgmo-clock-status-icon", "").attr("cx", cardLeft + padX + iconR).attr("cy", line2Y - 3.5).attr("r", iconR).attr("fill", statusColor(status.cls));
|
|
133
|
+
}
|
|
134
|
+
const l2 = g.append("text").attr("x", cardLeft + padX + line2Icon).attr("y", line2Y).attr("font-family", FONT_FAMILY).attr("font-size", 10.5).attr("fill", muted);
|
|
143
135
|
let needSep = false;
|
|
144
136
|
if (showWeekday) {
|
|
145
137
|
l2.append("tspan").text(parts.weekday);
|
|
@@ -789,4 +781,4 @@ export {
|
|
|
789
781
|
renderMap,
|
|
790
782
|
renderMapForExport
|
|
791
783
|
};
|
|
792
|
-
//# sourceMappingURL=chunk-
|
|
784
|
+
//# sourceMappingURL=chunk-GAWKIIPO.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ScaleContext
|
|
3
3
|
} from "./chunk-YYVTBZZC.js";
|
|
4
|
-
import {
|
|
5
|
-
measureText,
|
|
6
|
-
truncateText
|
|
7
|
-
} from "./chunk-WCT3NYCV.js";
|
|
8
4
|
import {
|
|
9
5
|
preprocessDescriptionLine
|
|
10
6
|
} from "./chunk-IYULMRBE.js";
|
|
7
|
+
import {
|
|
8
|
+
measureText,
|
|
9
|
+
truncateText
|
|
10
|
+
} from "./chunk-4ASYQ347.js";
|
|
11
11
|
import {
|
|
12
12
|
injectDefaultTagMetadata,
|
|
13
13
|
resolveTagColor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CMVZWP32.js";
|
|
15
15
|
|
|
16
16
|
// src/mindmap/text-wrap.ts
|
|
17
17
|
var H_PAD = 16;
|
|
@@ -547,4 +547,4 @@ export {
|
|
|
547
547
|
computeNodeText,
|
|
548
548
|
layoutMindmap
|
|
549
549
|
};
|
|
550
|
-
//# sourceMappingURL=chunk-
|
|
550
|
+
//# sourceMappingURL=chunk-GMAH572Z.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-A44USUV7.js";
|
|
4
4
|
import {
|
|
5
5
|
layoutInfra
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-43E26CDA.js";
|
|
7
7
|
import {
|
|
8
8
|
renderInlineText
|
|
9
9
|
} from "./chunk-3HDBAXF5.js";
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
} from "./chunk-YYVTBZZC.js";
|
|
19
19
|
import {
|
|
20
20
|
renderIntegratedLegend
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-W5KMNC5U.js";
|
|
22
22
|
import {
|
|
23
23
|
getMaxLegendReservedHeight
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-774C2FF3.js";
|
|
25
25
|
import {
|
|
26
26
|
TITLE_FONT_SIZE,
|
|
27
27
|
TITLE_FONT_WEIGHT,
|
|
@@ -31,6 +31,17 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
FONT_FAMILY
|
|
33
33
|
} from "./chunk-6KFWC4CO.js";
|
|
34
|
+
import {
|
|
35
|
+
parseInfra
|
|
36
|
+
} from "./chunk-NNUMX6WX.js";
|
|
37
|
+
import {
|
|
38
|
+
preprocessDescriptionLine
|
|
39
|
+
} from "./chunk-IYULMRBE.js";
|
|
40
|
+
import {
|
|
41
|
+
contrastText,
|
|
42
|
+
mix,
|
|
43
|
+
shapeFill
|
|
44
|
+
} from "./chunk-JYDMBWRP.js";
|
|
34
45
|
import {
|
|
35
46
|
LEGEND_CAPSULE_PAD,
|
|
36
47
|
LEGEND_DOT_R,
|
|
@@ -41,29 +52,21 @@ import {
|
|
|
41
52
|
LEGEND_PILL_FONT_SIZE,
|
|
42
53
|
LEGEND_PILL_PAD,
|
|
43
54
|
measureLegendText
|
|
44
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-4RGZFA7H.js";
|
|
45
56
|
import {
|
|
46
57
|
CHAR_WIDTH_RATIO,
|
|
47
58
|
measureText,
|
|
48
59
|
truncateText
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import {
|
|
51
|
-
parseInfra
|
|
52
|
-
} from "./chunk-MVN25IF6.js";
|
|
53
|
-
import {
|
|
54
|
-
preprocessDescriptionLine
|
|
55
|
-
} from "./chunk-IYULMRBE.js";
|
|
56
|
-
import {
|
|
57
|
-
contrastText,
|
|
58
|
-
mix,
|
|
59
|
-
shapeFill
|
|
60
|
-
} from "./chunk-P6T66CCZ.js";
|
|
60
|
+
} from "./chunk-4ASYQ347.js";
|
|
61
61
|
import {
|
|
62
62
|
tagAttrKey
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-CMVZWP32.js";
|
|
64
|
+
import {
|
|
65
|
+
legendSuppressed
|
|
66
|
+
} from "./chunk-YJVA3QUU.js";
|
|
64
67
|
import {
|
|
65
68
|
resolveColor
|
|
66
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-ZKPPI6BF.js";
|
|
67
70
|
|
|
68
71
|
// src/infra/renderer.ts
|
|
69
72
|
import * as d3Selection from "d3-selection";
|
|
@@ -813,10 +816,10 @@ function worstNodeSeverity(node, slo) {
|
|
|
813
816
|
}
|
|
814
817
|
return worst;
|
|
815
818
|
}
|
|
816
|
-
function nodeColor(_node, palette, isDark, severity,
|
|
819
|
+
function nodeColor(_node, palette, isDark, severity, fillMode) {
|
|
817
820
|
if (severity === "overloaded") {
|
|
818
821
|
const fill = shapeFill(palette, COLOR_OVERLOADED, isDark, {
|
|
819
|
-
|
|
822
|
+
mode: fillMode
|
|
820
823
|
});
|
|
821
824
|
return {
|
|
822
825
|
fill,
|
|
@@ -829,9 +832,7 @@ function nodeColor(_node, palette, isDark, severity, solid) {
|
|
|
829
832
|
};
|
|
830
833
|
}
|
|
831
834
|
if (severity === "warning") {
|
|
832
|
-
const fill = shapeFill(palette, COLOR_WARNING, isDark, {
|
|
833
|
-
...solid !== void 0 && { solid }
|
|
834
|
-
});
|
|
835
|
+
const fill = shapeFill(palette, COLOR_WARNING, isDark, { mode: fillMode });
|
|
835
836
|
return {
|
|
836
837
|
fill,
|
|
837
838
|
stroke: COLOR_WARNING,
|
|
@@ -843,9 +844,7 @@ function nodeColor(_node, palette, isDark, severity, solid) {
|
|
|
843
844
|
};
|
|
844
845
|
}
|
|
845
846
|
if (severity === "healthy") {
|
|
846
|
-
const fill = shapeFill(palette, COLOR_HEALTHY, isDark, {
|
|
847
|
-
...solid !== void 0 && { solid }
|
|
848
|
-
});
|
|
847
|
+
const fill = shapeFill(palette, COLOR_HEALTHY, isDark, { mode: fillMode });
|
|
849
848
|
return {
|
|
850
849
|
fill,
|
|
851
850
|
stroke: COLOR_HEALTHY,
|
|
@@ -970,7 +969,7 @@ function renderNodes(svg, nodes, palette, isDark, animate, expandedNodeIds, acti
|
|
|
970
969
|
for (const node of nodes) {
|
|
971
970
|
const slo = !node.isEdge && diagramOptions ? resolveNodeSlo(node, diagramOptions) : null;
|
|
972
971
|
const severity = worstNodeSeverity(node, slo);
|
|
973
|
-
const nodeColors = nodeColor(node, palette, isDark, severity,
|
|
972
|
+
const nodeColors = nodeColor(node, palette, isDark, severity, void 0);
|
|
974
973
|
const textFill = nodeColors.textFill;
|
|
975
974
|
let { fill, stroke } = nodeColors;
|
|
976
975
|
if (activeGroup && tagGroups && !node.isEdge) {
|
|
@@ -1382,7 +1381,7 @@ function renderInfra(container, layout, palette, isDark, title, titleLineNumber,
|
|
|
1382
1381
|
palette,
|
|
1383
1382
|
layout.edges
|
|
1384
1383
|
);
|
|
1385
|
-
const hasLegend = legendGroups.length > 0 || !!playback && !appHostedPlayback;
|
|
1384
|
+
const hasLegend = (legendGroups.length > 0 || !!playback && !appHostedPlayback) && !legendSuppressed(layout.options);
|
|
1386
1385
|
const fixedLegend = !exportMode && hasLegend;
|
|
1387
1386
|
const legendDynamicH = hasLegend ? getMaxLegendReservedHeight(
|
|
1388
1387
|
{
|
|
@@ -1561,4 +1560,4 @@ export {
|
|
|
1561
1560
|
renderInfra,
|
|
1562
1561
|
parseAndLayoutInfra
|
|
1563
1562
|
};
|
|
1564
|
-
//# sourceMappingURL=chunk-
|
|
1563
|
+
//# sourceMappingURL=chunk-GMIJ35PW.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
renderCollapseBar,
|
|
7
7
|
renderNodeCard
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-H3HFC3SQ.js";
|
|
9
9
|
import {
|
|
10
10
|
CARD_RADIUS,
|
|
11
11
|
COLLAPSE_BAR_HEIGHT,
|
|
@@ -25,16 +25,16 @@ import {
|
|
|
25
25
|
} from "./chunk-3CIOJ5YJ.js";
|
|
26
26
|
import {
|
|
27
27
|
layoutOrg
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-UKP5HWB5.js";
|
|
29
29
|
import {
|
|
30
30
|
ScaleContext
|
|
31
31
|
} from "./chunk-YYVTBZZC.js";
|
|
32
32
|
import {
|
|
33
33
|
renderIntegratedLegend
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-W5KMNC5U.js";
|
|
35
35
|
import {
|
|
36
36
|
getMaxLegendReservedHeight
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-774C2FF3.js";
|
|
38
38
|
import {
|
|
39
39
|
TITLE_FONT_SIZE,
|
|
40
40
|
TITLE_FONT_WEIGHT
|
|
@@ -42,6 +42,15 @@ import {
|
|
|
42
42
|
import {
|
|
43
43
|
FONT_FAMILY
|
|
44
44
|
} from "./chunk-6KFWC4CO.js";
|
|
45
|
+
import {
|
|
46
|
+
parseOrg
|
|
47
|
+
} from "./chunk-SGPFVDUL.js";
|
|
48
|
+
import {
|
|
49
|
+
contrastText,
|
|
50
|
+
mix,
|
|
51
|
+
shapeFill,
|
|
52
|
+
themeBaseBg
|
|
53
|
+
} from "./chunk-JYDMBWRP.js";
|
|
45
54
|
import {
|
|
46
55
|
EYE_CLOSED_PATH,
|
|
47
56
|
EYE_OPEN_PATH,
|
|
@@ -49,23 +58,17 @@ import {
|
|
|
49
58
|
LEGEND_EYE_SIZE,
|
|
50
59
|
LEGEND_GROUP_GAP,
|
|
51
60
|
LEGEND_HEIGHT
|
|
52
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-4RGZFA7H.js";
|
|
53
62
|
import {
|
|
54
63
|
measureText
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import {
|
|
57
|
-
parseOrg
|
|
58
|
-
} from "./chunk-RBHWPDBB.js";
|
|
59
|
-
import {
|
|
60
|
-
contrastText,
|
|
61
|
-
mix,
|
|
62
|
-
shapeFill,
|
|
63
|
-
themeBaseBg
|
|
64
|
-
} from "./chunk-P6T66CCZ.js";
|
|
64
|
+
} from "./chunk-4ASYQ347.js";
|
|
65
65
|
import {
|
|
66
66
|
resolveTagColor,
|
|
67
67
|
tagAttrKey
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-CMVZWP32.js";
|
|
69
|
+
import {
|
|
70
|
+
fillModeFromOptions
|
|
71
|
+
} from "./chunk-YJVA3QUU.js";
|
|
69
72
|
|
|
70
73
|
// src/org/renderer.ts
|
|
71
74
|
import * as d3Selection from "d3-selection";
|
|
@@ -77,11 +80,9 @@ var ANCESTOR_LABEL_FONT_SIZE = 11;
|
|
|
77
80
|
var ANCESTOR_ROW_HEIGHT = 22;
|
|
78
81
|
var ANCESTOR_TRAIL_BOTTOM_GAP = 16;
|
|
79
82
|
var LEGEND_FIXED_GAP = 8;
|
|
80
|
-
function nodeFill(palette, isDark, nodeColor,
|
|
83
|
+
function nodeFill(palette, isDark, nodeColor, fillMode) {
|
|
81
84
|
const color = nodeColor ?? palette.primary;
|
|
82
|
-
return shapeFill(palette, color, isDark, {
|
|
83
|
-
...solid !== void 0 && { solid }
|
|
84
|
-
});
|
|
85
|
+
return shapeFill(palette, color, isDark, { mode: fillMode });
|
|
85
86
|
}
|
|
86
87
|
function nodeStroke(palette, nodeColor) {
|
|
87
88
|
return nodeColor ?? palette.primary;
|
|
@@ -285,12 +286,12 @@ function renderOrg(container, parsed, layout, palette, isDark, onClickItem, expo
|
|
|
285
286
|
onClickItem(node.lineNumber);
|
|
286
287
|
});
|
|
287
288
|
}
|
|
288
|
-
const
|
|
289
|
+
const fillMode = fillModeFromOptions(parsed.options);
|
|
289
290
|
const fill = nodeFill(
|
|
290
291
|
palette,
|
|
291
292
|
isDark,
|
|
292
293
|
colorOff ? void 0 : node.color,
|
|
293
|
-
|
|
294
|
+
fillMode
|
|
294
295
|
);
|
|
295
296
|
const stroke = nodeStroke(palette, colorOff ? void 0 : node.color);
|
|
296
297
|
const labelColor = contrastText(
|
|
@@ -319,7 +320,7 @@ function renderOrg(container, parsed, layout, palette, isDark, onClickItem, expo
|
|
|
319
320
|
fontSize: sMetaFontSize,
|
|
320
321
|
lineHeight: sMetaLineHeight,
|
|
321
322
|
separatorGap: sSeparatorGap,
|
|
322
|
-
separatorColor: solid ? labelColor : stroke,
|
|
323
|
+
separatorColor: fillMode === "solid" ? labelColor : stroke,
|
|
323
324
|
textColor: labelColor
|
|
324
325
|
}
|
|
325
326
|
}
|
|
@@ -331,7 +332,7 @@ function renderOrg(container, parsed, layout, palette, isDark, onClickItem, expo
|
|
|
331
332
|
barHeight: sCollapseBarHeight,
|
|
332
333
|
inset: sCollapseBarInset,
|
|
333
334
|
rx: sCardRadius,
|
|
334
|
-
fill: solid ? labelColor : nodeStroke(palette, colorOff ? void 0 : node.color),
|
|
335
|
+
fill: fillMode === "solid" ? labelColor : nodeStroke(palette, colorOff ? void 0 : node.color),
|
|
335
336
|
clipId: `clip-${node.id}`,
|
|
336
337
|
className: "org-collapse-bar"
|
|
337
338
|
});
|
|
@@ -484,4 +485,4 @@ export {
|
|
|
484
485
|
renderOrg,
|
|
485
486
|
renderOrgForExport
|
|
486
487
|
};
|
|
487
|
-
//# sourceMappingURL=chunk-
|
|
488
|
+
//# sourceMappingURL=chunk-GQ644SPD.js.map
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
META_LINE_HEIGHT,
|
|
9
9
|
SEPARATOR_GAP
|
|
10
10
|
} from "./chunk-3CIOJ5YJ.js";
|
|
11
|
-
import {
|
|
12
|
-
measureText
|
|
13
|
-
} from "./chunk-WCT3NYCV.js";
|
|
14
11
|
import {
|
|
15
12
|
buildCoupleQuotient,
|
|
16
13
|
rankClasses
|
|
17
14
|
} from "./chunk-QQJUTGQH.js";
|
|
15
|
+
import {
|
|
16
|
+
measureText
|
|
17
|
+
} from "./chunk-4ASYQ347.js";
|
|
18
18
|
|
|
19
19
|
// src/family/layout.ts
|
|
20
20
|
var MARGIN = 30;
|
|
@@ -489,4 +489,4 @@ export {
|
|
|
489
489
|
focusFamily,
|
|
490
490
|
layoutFamily
|
|
491
491
|
};
|
|
492
|
-
//# sourceMappingURL=chunk-
|
|
492
|
+
//# sourceMappingURL=chunk-GRM2A4BG.js.map
|