@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
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import {
|
|
2
|
+
normalizePertSourceForShare,
|
|
3
|
+
resolveOrgImports
|
|
4
|
+
} from "./chunk-AIMLCDAO.js";
|
|
5
|
+
import {
|
|
6
|
+
decodeDiagramUrl,
|
|
7
|
+
decodeViewState,
|
|
8
|
+
encodeDiagramUrl,
|
|
9
|
+
encodeViewState
|
|
10
|
+
} from "./chunk-U7VO6JAA.js";
|
|
11
|
+
import {
|
|
12
|
+
chartTypes,
|
|
13
|
+
parseDgmoChartType
|
|
14
|
+
} from "./chunk-SQCBSFT5.js";
|
|
15
|
+
import "./chunk-Q7AH665U.js";
|
|
16
|
+
import "./chunk-4K42RUGC.js";
|
|
17
|
+
import "./chunk-KUSAVOWZ.js";
|
|
18
|
+
import "./chunk-NR5HCAUD.js";
|
|
19
|
+
import "./chunk-6HTRCTAS.js";
|
|
20
|
+
import "./chunk-DWUMPMV2.js";
|
|
21
|
+
import "./chunk-OQKP2X3D.js";
|
|
22
|
+
import "./chunk-FLDC7ZAK.js";
|
|
23
|
+
import "./chunk-APKUAJ2L.js";
|
|
24
|
+
import "./chunk-RW5PEJ7D.js";
|
|
25
|
+
import {
|
|
26
|
+
parseRaci
|
|
27
|
+
} from "./chunk-ALYZ3MAA.js";
|
|
28
|
+
import "./chunk-FFXCKZOU.js";
|
|
29
|
+
import "./chunk-BDXC7MDK.js";
|
|
30
|
+
import "./chunk-MA3HJZHB.js";
|
|
31
|
+
import "./chunk-QQJUTGQH.js";
|
|
32
|
+
import "./chunk-3CZLWOCI.js";
|
|
33
|
+
import "./chunk-GABSL6TH.js";
|
|
34
|
+
import "./chunk-CK2GMDXD.js";
|
|
35
|
+
import "./chunk-HNBY6CNV.js";
|
|
36
|
+
import "./chunk-VJHBSPGF.js";
|
|
37
|
+
import "./chunk-JHOAH4TI.js";
|
|
38
|
+
import "./chunk-PV2QO7QL.js";
|
|
39
|
+
import "./chunk-FUKNRLIJ.js";
|
|
40
|
+
import "./chunk-PKNNHU7H.js";
|
|
41
|
+
import "./chunk-NNUMX6WX.js";
|
|
42
|
+
import "./chunk-2QC4HXCY.js";
|
|
43
|
+
import "./chunk-27STWBOK.js";
|
|
44
|
+
import "./chunk-6DCOIN4W.js";
|
|
45
|
+
import "./chunk-VKNCC2GX.js";
|
|
46
|
+
import "./chunk-VAO6ANGC.js";
|
|
47
|
+
import "./chunk-RT7ACF77.js";
|
|
48
|
+
import "./chunk-I64ECJX3.js";
|
|
49
|
+
import "./chunk-AN2DQB3G.js";
|
|
50
|
+
import "./chunk-VRRDUYOK.js";
|
|
51
|
+
import "./chunk-BR7AYN76.js";
|
|
52
|
+
import {
|
|
53
|
+
parseOrg
|
|
54
|
+
} from "./chunk-SGPFVDUL.js";
|
|
55
|
+
import "./chunk-XEAQDIMF.js";
|
|
56
|
+
import "./chunk-IYULMRBE.js";
|
|
57
|
+
import "./chunk-P3H7QVDH.js";
|
|
58
|
+
import "./chunk-3TYUXC7D.js";
|
|
59
|
+
import "./chunk-EQW6HOP4.js";
|
|
60
|
+
import "./chunk-UK6DKJLD.js";
|
|
61
|
+
import "./chunk-6AUZPPAV.js";
|
|
62
|
+
import "./chunk-DAOFNU6J.js";
|
|
63
|
+
import "./chunk-FXCB7H5O.js";
|
|
64
|
+
import {
|
|
65
|
+
getAvailablePalettes,
|
|
66
|
+
getPalette
|
|
67
|
+
} from "./chunk-R3XI2VC7.js";
|
|
68
|
+
import {
|
|
69
|
+
hexToHSLString
|
|
70
|
+
} from "./chunk-JYDMBWRP.js";
|
|
71
|
+
import "./chunk-22OQWBWD.js";
|
|
72
|
+
import "./chunk-C3Z4DX3V.js";
|
|
73
|
+
import "./chunk-CMVZWP32.js";
|
|
74
|
+
import "./chunk-JTMSWEIW.js";
|
|
75
|
+
import "./chunk-I46X5VUA.js";
|
|
76
|
+
import "./chunk-NXMESY4J.js";
|
|
77
|
+
import "./chunk-ZXUAPTCK.js";
|
|
78
|
+
import "./chunk-QZAW5SFH.js";
|
|
79
|
+
import "./chunk-WF64MW5G.js";
|
|
80
|
+
import "./chunk-NOTA6TEI.js";
|
|
81
|
+
import {
|
|
82
|
+
ALL_CHART_TYPES,
|
|
83
|
+
parseFirstLine
|
|
84
|
+
} from "./chunk-YJVA3QUU.js";
|
|
85
|
+
import "./chunk-ZKPPI6BF.js";
|
|
86
|
+
import "./chunk-4W2PE66Q.js";
|
|
87
|
+
import "./chunk-5WRI5ZAA.js";
|
|
88
|
+
export {
|
|
89
|
+
ALL_CHART_TYPES,
|
|
90
|
+
chartTypes,
|
|
91
|
+
decodeDiagramUrl,
|
|
92
|
+
decodeViewState,
|
|
93
|
+
encodeDiagramUrl,
|
|
94
|
+
encodeViewState,
|
|
95
|
+
getAvailablePalettes,
|
|
96
|
+
getPalette,
|
|
97
|
+
hexToHSLString,
|
|
98
|
+
normalizePertSourceForShare,
|
|
99
|
+
parseDgmoChartType,
|
|
100
|
+
parseFirstLine,
|
|
101
|
+
parseOrg,
|
|
102
|
+
parseRaci,
|
|
103
|
+
resolveOrgImports
|
|
104
|
+
};
|
|
105
|
+
//# sourceMappingURL=chart-meta.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
D3_DATA_CHART_TYPES,
|
|
3
|
+
renderDataChartD3,
|
|
4
|
+
supportsD3DataChart
|
|
5
|
+
} from "./chunk-SG4PRYO3.js";
|
|
6
|
+
import "./chunk-VHO3YBTB.js";
|
|
7
|
+
import "./chunk-ADYKAKE3.js";
|
|
8
|
+
import "./chunk-774C2FF3.js";
|
|
9
|
+
import "./chunk-A4GOY3PE.js";
|
|
10
|
+
import "./chunk-6KFWC4CO.js";
|
|
11
|
+
import "./chunk-Q7AH665U.js";
|
|
12
|
+
import "./chunk-R3XI2VC7.js";
|
|
13
|
+
import "./chunk-JYDMBWRP.js";
|
|
14
|
+
import "./chunk-4RGZFA7H.js";
|
|
15
|
+
import "./chunk-4ASYQ347.js";
|
|
16
|
+
import "./chunk-CMVZWP32.js";
|
|
17
|
+
import "./chunk-YJVA3QUU.js";
|
|
18
|
+
import "./chunk-ZKPPI6BF.js";
|
|
19
|
+
import "./chunk-4W2PE66Q.js";
|
|
20
|
+
import "./chunk-5WRI5ZAA.js";
|
|
21
|
+
export {
|
|
22
|
+
D3_DATA_CHART_TYPES,
|
|
23
|
+
renderDataChartD3,
|
|
24
|
+
supportsD3DataChart
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=charts-d3-DH2XA45I.js.map
|
|
@@ -8,25 +8,27 @@ import {
|
|
|
8
8
|
stripDefaultModifier,
|
|
9
9
|
validateTagGroupNames,
|
|
10
10
|
validateTagValues
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CMVZWP32.js";
|
|
12
12
|
import {
|
|
13
13
|
parseArrow,
|
|
14
14
|
parseInArrowLabel
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WF64MW5G.js";
|
|
16
16
|
import {
|
|
17
17
|
displayName,
|
|
18
18
|
normalizeName
|
|
19
19
|
} from "./chunk-NOTA6TEI.js";
|
|
20
20
|
import {
|
|
21
|
+
FILL_FAMILY_TOKENS,
|
|
21
22
|
OPTION_NOCOLON_RE,
|
|
22
23
|
SEQUENCE_REGISTRY,
|
|
23
24
|
extractColor,
|
|
24
25
|
measureIndent,
|
|
25
26
|
parseFirstLine,
|
|
27
|
+
peelTrailingCollapsedFlag,
|
|
26
28
|
splitNameAndMeta,
|
|
27
29
|
warnUnknownMetaKeys,
|
|
28
30
|
withTagAliases
|
|
29
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-YJVA3QUU.js";
|
|
30
32
|
import {
|
|
31
33
|
NAME_DIAGNOSTIC_CODES,
|
|
32
34
|
formatDgmoError,
|
|
@@ -34,11 +36,17 @@ import {
|
|
|
34
36
|
makeFail,
|
|
35
37
|
nameMergedMessage,
|
|
36
38
|
suggest
|
|
37
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-4W2PE66Q.js";
|
|
38
40
|
|
|
39
41
|
// src/sequence/parser.ts
|
|
40
42
|
var KNOWN_SEQ_OPTIONS = /* @__PURE__ */ new Set(["active-tag"]);
|
|
41
|
-
var KNOWN_SEQ_BOOLEANS = /* @__PURE__ */ new Set([
|
|
43
|
+
var KNOWN_SEQ_BOOLEANS = /* @__PURE__ */ new Set([
|
|
44
|
+
"fill-tint",
|
|
45
|
+
"fill-solid",
|
|
46
|
+
"fill-outline",
|
|
47
|
+
"no-title",
|
|
48
|
+
"no-legend"
|
|
49
|
+
]);
|
|
42
50
|
var NO_PREFIX_ONLY_BOOLEANS = /* @__PURE__ */ new Set(["activations"]);
|
|
43
51
|
var VALID_PARTICIPANT_TYPES = /* @__PURE__ */ new Set([
|
|
44
52
|
"database",
|
|
@@ -352,8 +360,13 @@ function parseSequenceDgmo(content, palette) {
|
|
|
352
360
|
const groupName = groupMatch[1].trim();
|
|
353
361
|
const groupColor = groupMatch[2]?.trim();
|
|
354
362
|
let groupMeta;
|
|
355
|
-
|
|
363
|
+
let afterBracket = groupMatch[3]?.trim() || "";
|
|
356
364
|
let isCollapsed = false;
|
|
365
|
+
const barePeel = peelTrailingCollapsedFlag(afterBracket);
|
|
366
|
+
if (barePeel.collapsed) {
|
|
367
|
+
isCollapsed = true;
|
|
368
|
+
afterBracket = barePeel.rest;
|
|
369
|
+
}
|
|
357
370
|
if (afterBracket) {
|
|
358
371
|
const groupRegistry = withTagAliases(
|
|
359
372
|
SEQUENCE_REGISTRY,
|
|
@@ -549,7 +562,7 @@ function parseSequenceDgmo(content, palette) {
|
|
|
549
562
|
continue;
|
|
550
563
|
}
|
|
551
564
|
}
|
|
552
|
-
if (KNOWN_SEQ_BOOLEANS.has(optLower)
|
|
565
|
+
if (KNOWN_SEQ_BOOLEANS.has(optLower)) {
|
|
553
566
|
if (contentStarted) {
|
|
554
567
|
pushError(
|
|
555
568
|
lineNumber,
|
|
@@ -557,6 +570,10 @@ function parseSequenceDgmo(content, palette) {
|
|
|
557
570
|
);
|
|
558
571
|
continue;
|
|
559
572
|
}
|
|
573
|
+
if (FILL_FAMILY_TOKENS.has(optLower)) {
|
|
574
|
+
for (const t of FILL_FAMILY_TOKENS) delete result.options[t];
|
|
575
|
+
if (optLower === "fill-tint") continue;
|
|
576
|
+
}
|
|
560
577
|
result.options[optLower] = "on";
|
|
561
578
|
continue;
|
|
562
579
|
}
|
|
@@ -1022,4 +1039,4 @@ export {
|
|
|
1022
1039
|
parseSequenceDgmo,
|
|
1023
1040
|
looksLikeSequence
|
|
1024
1041
|
};
|
|
1025
|
-
//# sourceMappingURL=chunk-
|
|
1042
|
+
//# sourceMappingURL=chunk-22OQWBWD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MAP_DIRECTIVE_KEY_SET
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6DCOIN4W.js";
|
|
4
4
|
import {
|
|
5
5
|
AUTO_TAG_COLOR_SENTINEL,
|
|
6
6
|
finalizeAutoTagColors,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
stripDefaultModifier,
|
|
9
9
|
tagAttrKey,
|
|
10
10
|
validateTagGroupNames
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CMVZWP32.js";
|
|
12
12
|
import {
|
|
13
13
|
parseInArrowLabel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WF64MW5G.js";
|
|
15
15
|
import {
|
|
16
16
|
MAP_REGISTRY,
|
|
17
17
|
extractColor,
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
peelRampColors,
|
|
20
20
|
splitNameAndMeta,
|
|
21
21
|
withTagAliases
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YJVA3QUU.js";
|
|
23
23
|
import {
|
|
24
24
|
formatDgmoError,
|
|
25
25
|
makeDgmoError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4W2PE66Q.js";
|
|
27
27
|
|
|
28
28
|
// src/map/parser.ts
|
|
29
29
|
var COORD_RE = /^[+-]?\d+(?:\.\d+)?\s+[+-]?\d+(?:\.\d+)?$/;
|
|
@@ -300,12 +300,14 @@ function parseMap(content, palette) {
|
|
|
300
300
|
d.noClusterPois = true;
|
|
301
301
|
break;
|
|
302
302
|
// ── Clock channel (BL-122). Activation is the per-POI `clock` flag (see
|
|
303
|
-
// handlePoi); `hours`/`
|
|
304
|
-
// raw and parsed at resolve.
|
|
303
|
+
// handlePoi); `hours`/`workweek` are the global availability window,
|
|
304
|
+
// stored raw and parsed at resolve. `days` is the legacy alias for
|
|
305
|
+
// `workweek` (decision #48). ──
|
|
305
306
|
case "hours":
|
|
306
307
|
dup(d.clockHours);
|
|
307
308
|
d.clockHours = value;
|
|
308
309
|
break;
|
|
310
|
+
case "workweek":
|
|
309
311
|
case "days":
|
|
310
312
|
dup(d.clockDays);
|
|
311
313
|
d.clockDays = value;
|
|
@@ -633,4 +635,4 @@ export {
|
|
|
633
635
|
looksLikeMap,
|
|
634
636
|
parseMap
|
|
635
637
|
};
|
|
636
|
-
//# sourceMappingURL=chunk-
|
|
638
|
+
//# sourceMappingURL=chunk-27STWBOK.js.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GANTT_BOOLEAN_SET,
|
|
3
3
|
GANTT_OPTION_SET
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6DCOIN4W.js";
|
|
5
5
|
import {
|
|
6
6
|
parseDuration,
|
|
7
7
|
parseOffset,
|
|
8
8
|
parseOffsetPrefix
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EQW6HOP4.js";
|
|
10
10
|
import {
|
|
11
11
|
parseDateToken,
|
|
12
12
|
toInternal
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DAOFNU6J.js";
|
|
14
14
|
import {
|
|
15
15
|
getSeriesColors
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JYDMBWRP.js";
|
|
17
17
|
import {
|
|
18
18
|
matchTagBlockHeading,
|
|
19
19
|
stripDefaultModifier,
|
|
20
20
|
tagAttrKey,
|
|
21
21
|
validateTagGroupNames
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CMVZWP32.js";
|
|
23
23
|
import {
|
|
24
24
|
normalizeName
|
|
25
25
|
} from "./chunk-NOTA6TEI.js";
|
|
@@ -29,27 +29,28 @@ import {
|
|
|
29
29
|
isReservedKey,
|
|
30
30
|
measureIndent,
|
|
31
31
|
parseFirstLine,
|
|
32
|
+
peelTrailingCollapsedFlag,
|
|
32
33
|
splitNameAndMeta,
|
|
33
34
|
warnUnknownMetaKeys,
|
|
34
35
|
withTagAliases
|
|
35
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YJVA3QUU.js";
|
|
36
37
|
import {
|
|
37
38
|
formatDgmoError,
|
|
38
39
|
makeDgmoError
|
|
39
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-4W2PE66Q.js";
|
|
40
41
|
|
|
41
42
|
// src/gantt/parser.ts
|
|
42
43
|
var GROUP_RE = /^\[(.+?)\]\s*(.*)$/;
|
|
43
44
|
var DEPENDENCY_RE = /^(?:-(.+?))?->\s*(.+)$/;
|
|
44
45
|
var COMMENT_RE = /^\/\//;
|
|
45
46
|
var WORKWEEK_RE = /^workweek\s+(.+)$/i;
|
|
46
|
-
var OFFSET_PREFIX_RE = /^\+(\d+(?:\.\d+)?(?:min|bd|d|w|m|q|y|h|s))\s+(.*)/;
|
|
47
|
-
var DURATION_TOKEN_RE = /^(\d+(?:\.\d+)?)(min|bd|d|w|m|q|y|h|s)(\?)?$/;
|
|
48
|
-
var LAG_ARROW_RE = /^-(\d+(?:\.\d+)?(?:min|bd|d|w|m|q|y|h|s))->\s*(.*)/;
|
|
49
|
-
var LEAD_ARROW_RE = /^--(\d+(?:\.\d+)?(?:min|bd|d|w|m|q|y|h|s))->\s*(.*)/;
|
|
47
|
+
var OFFSET_PREFIX_RE = /^\+(\d+(?:\.\d+)?(?:min|bd|sp|d|w|m|q|y|h|s))\s+(.*)/;
|
|
48
|
+
var DURATION_TOKEN_RE = /^(\d+(?:\.\d+)?)(min|bd|sp|d|w|m|q|y|h|s)(\?)?$/;
|
|
49
|
+
var LAG_ARROW_RE = /^-(\d+(?:\.\d+)?(?:min|bd|sp|d|w|m|q|y|h|s))->\s*(.*)/;
|
|
50
|
+
var LEAD_ARROW_RE = /^--(\d+(?:\.\d+)?(?:min|bd|sp|d|w|m|q|y|h|s))->\s*(.*)/;
|
|
50
51
|
var BASIC_ARROW_RE = /^->\s*(.*)/;
|
|
51
|
-
var ERA_OFFSET_RE = /^era\s+\+(\d+(?:\.\d+)?(?:min|bd|d|w|m|q|y|h|s))\s*(?:->|–>)\s*\+(\d+(?:\.\d+)?(?:min|bd|d|w|m|q|y|h|s))\s+(.+)$/i;
|
|
52
|
-
var MARKER_OFFSET_RE = /^marker\s+\+(\d+(?:\.\d+)?(?:min|bd|d|w|m|q|y|h|s))\s+(.+)$/i;
|
|
52
|
+
var ERA_OFFSET_RE = /^era\s+\+(\d+(?:\.\d+)?(?:min|bd|sp|d|w|m|q|y|h|s))\s*(?:->|–>)\s*\+(\d+(?:\.\d+)?(?:min|bd|sp|d|w|m|q|y|h|s))\s+(.+)$/i;
|
|
53
|
+
var MARKER_OFFSET_RE = /^marker\s+\+(\d+(?:\.\d+)?(?:min|bd|sp|d|w|m|q|y|h|s))\s+(.+)$/i;
|
|
53
54
|
var WEEKDAY_MAP = {
|
|
54
55
|
mon: "mon",
|
|
55
56
|
tue: "tue",
|
|
@@ -152,8 +153,9 @@ function parseGantt(content, palette) {
|
|
|
152
153
|
sprintNumber: null,
|
|
153
154
|
sprintStart: null,
|
|
154
155
|
sprintMode: null,
|
|
155
|
-
|
|
156
|
-
noTitle: false
|
|
156
|
+
fillMode: void 0,
|
|
157
|
+
noTitle: false,
|
|
158
|
+
noLegend: false
|
|
157
159
|
},
|
|
158
160
|
diagnostics,
|
|
159
161
|
error: null,
|
|
@@ -795,12 +797,21 @@ function parseGantt(content, palette) {
|
|
|
795
797
|
case "today-marker":
|
|
796
798
|
result.options.todayMarker = "on";
|
|
797
799
|
break;
|
|
798
|
-
case "solid
|
|
799
|
-
result.options.
|
|
800
|
+
case "fill-solid":
|
|
801
|
+
result.options.fillMode = "solid";
|
|
802
|
+
break;
|
|
803
|
+
case "fill-outline":
|
|
804
|
+
result.options.fillMode = "outline";
|
|
805
|
+
break;
|
|
806
|
+
case "fill-tint":
|
|
807
|
+
result.options.fillMode = void 0;
|
|
800
808
|
break;
|
|
801
809
|
case "no-title":
|
|
802
810
|
result.options.noTitle = true;
|
|
803
811
|
break;
|
|
812
|
+
case "no-legend":
|
|
813
|
+
result.options.noLegend = true;
|
|
814
|
+
break;
|
|
804
815
|
}
|
|
805
816
|
continue;
|
|
806
817
|
}
|
|
@@ -827,6 +838,9 @@ function parseGantt(content, palette) {
|
|
|
827
838
|
const value = optNoColonMatch[2].trim();
|
|
828
839
|
result.options.optionLineNumbers[key] = lineNumber;
|
|
829
840
|
switch (key) {
|
|
841
|
+
// `start-date` is canonical (decision #48, pert parity); bare `start`
|
|
842
|
+
// stays as an undocumented legacy alias.
|
|
843
|
+
case "start-date":
|
|
830
844
|
case "start":
|
|
831
845
|
result.options.start = wholeDate(value)?.iso ?? value;
|
|
832
846
|
break;
|
|
@@ -946,7 +960,13 @@ function parseGantt(content, palette) {
|
|
|
946
960
|
);
|
|
947
961
|
continue;
|
|
948
962
|
}
|
|
949
|
-
|
|
963
|
+
let afterBrackets = gm[2].trim();
|
|
964
|
+
let collapsed = false;
|
|
965
|
+
const barePeel = peelTrailingCollapsedFlag(afterBrackets);
|
|
966
|
+
if (barePeel.collapsed) {
|
|
967
|
+
collapsed = true;
|
|
968
|
+
afterBrackets = barePeel.rest;
|
|
969
|
+
}
|
|
950
970
|
let metadata = {};
|
|
951
971
|
if (afterBrackets) {
|
|
952
972
|
const groupRegistry = withTagAliases(
|
|
@@ -969,7 +989,6 @@ function parseGantt(content, palette) {
|
|
|
969
989
|
);
|
|
970
990
|
metadata = split.meta;
|
|
971
991
|
}
|
|
972
|
-
let collapsed = false;
|
|
973
992
|
if (metadata["collapsed"]?.toLowerCase() === "true") {
|
|
974
993
|
collapsed = true;
|
|
975
994
|
delete metadata["collapsed"];
|
|
@@ -1146,7 +1165,8 @@ function parseGantt(content, palette) {
|
|
|
1146
1165
|
for (let j = tokens.length - 1; j >= 0; j--) {
|
|
1147
1166
|
const m = tokens[j].match(DURATION_TOKEN_RE);
|
|
1148
1167
|
if (m) {
|
|
1149
|
-
|
|
1168
|
+
const unit = m[2] === "sp" ? "s" : m[2];
|
|
1169
|
+
duration = { amount: parseFloat(m[1]), unit };
|
|
1150
1170
|
uncertain = !!m[3];
|
|
1151
1171
|
name = tokens.slice(0, j).join(" ");
|
|
1152
1172
|
break;
|
|
@@ -1326,4 +1346,4 @@ export {
|
|
|
1326
1346
|
GANTT_KNOWN_OPTIONS,
|
|
1327
1347
|
GANTT_KNOWN_BOOLEANS
|
|
1328
1348
|
};
|
|
1329
|
-
//# sourceMappingURL=chunk-
|
|
1349
|
+
//# sourceMappingURL=chunk-2QC4HXCY.js.map
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-6EK55ART.js";
|
|
5
5
|
import {
|
|
6
6
|
noteBoxSize
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UU6LUYUH.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveNotes
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QZAW5SFH.js";
|
|
11
11
|
|
|
12
12
|
// src/graph/layout.ts
|
|
13
13
|
import dagre from "@dagrejs/dagre";
|
|
@@ -146,6 +146,7 @@ function layoutGraph(graph, options) {
|
|
|
146
146
|
shape: node.shape,
|
|
147
147
|
...node.color !== void 0 && { color: node.color },
|
|
148
148
|
...node.group !== void 0 && { group: node.group },
|
|
149
|
+
...node.metadata !== void 0 && { metadata: node.metadata },
|
|
149
150
|
lineNumber: node.lineNumber,
|
|
150
151
|
x: p.x,
|
|
151
152
|
y: p.y,
|
|
@@ -310,4 +311,4 @@ function layoutGraph(graph, options) {
|
|
|
310
311
|
export {
|
|
311
312
|
layoutGraph
|
|
312
313
|
};
|
|
313
|
-
//# sourceMappingURL=chunk-
|
|
314
|
+
//# sourceMappingURL=chunk-3B2GXZCX.js.map
|
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderCollapseBar,
|
|
3
3
|
renderNodeCard
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-H3HFC3SQ.js";
|
|
5
5
|
import {
|
|
6
6
|
CARD_RADIUS,
|
|
7
7
|
CONTAINER_RADIUS
|
|
8
8
|
} from "./chunk-3CIOJ5YJ.js";
|
|
9
9
|
import {
|
|
10
10
|
renderIntegratedLegend
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-W5KMNC5U.js";
|
|
12
12
|
import {
|
|
13
13
|
getMaxLegendReservedHeight
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-774C2FF3.js";
|
|
15
15
|
import {
|
|
16
16
|
FONT_FAMILY
|
|
17
17
|
} from "./chunk-6KFWC4CO.js";
|
|
18
|
-
import {
|
|
19
|
-
measureText,
|
|
20
|
-
wrapTextToWidth
|
|
21
|
-
} from "./chunk-WCT3NYCV.js";
|
|
22
18
|
import {
|
|
23
19
|
contrastText,
|
|
24
20
|
mix,
|
|
25
|
-
shapeFill
|
|
26
|
-
|
|
21
|
+
shapeFill,
|
|
22
|
+
themeBaseBg
|
|
23
|
+
} from "./chunk-JYDMBWRP.js";
|
|
24
|
+
import {
|
|
25
|
+
measureText,
|
|
26
|
+
wrapTextToWidth
|
|
27
|
+
} from "./chunk-4ASYQ347.js";
|
|
27
28
|
import {
|
|
28
29
|
resolveActiveTagGroup,
|
|
29
30
|
resolveTagColor,
|
|
30
31
|
tagAttrKey
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CMVZWP32.js";
|
|
32
33
|
|
|
33
34
|
// src/sketch/renderer.ts
|
|
34
35
|
import * as d3 from "d3-selection";
|
|
@@ -306,7 +307,7 @@ function renderSketch(container, parsed, layout, palette, isDark, options = {})
|
|
|
306
307
|
hideDescriptions = false
|
|
307
308
|
} = options;
|
|
308
309
|
const hideDesc = hideDescriptions || parsed.options.noDescriptions;
|
|
309
|
-
const neutralFill = mix(palette.textMuted, palette.bg, 12);
|
|
310
|
+
const neutralFill = parsed.options.fillMode === "outline" ? themeBaseBg(palette, isDark) : mix(palette.textMuted, palette.bg, 12);
|
|
310
311
|
const tagGroups = [...parsed.tagGroups];
|
|
311
312
|
const activeName = resolveActiveTagGroup(
|
|
312
313
|
tagGroups,
|
|
@@ -325,14 +326,14 @@ function renderSketch(container, parsed, layout, palette, isDark, options = {})
|
|
|
325
326
|
};
|
|
326
327
|
}
|
|
327
328
|
const fill = shapeFill(palette, tagColor, isDark, {
|
|
328
|
-
|
|
329
|
+
mode: parsed.options.fillMode
|
|
329
330
|
});
|
|
330
331
|
return {
|
|
331
332
|
fill,
|
|
332
333
|
stroke: tagColor,
|
|
333
334
|
// Label text takes the shape's own (tag) color — but for solid fills the
|
|
334
335
|
// tag color would vanish into the fill, so keep a contrast color there.
|
|
335
|
-
text: parsed.options.
|
|
336
|
+
text: parsed.options.fillMode === "solid" ? contrastText(fill, palette.textOnFillLight, palette.textOnFillDark) : tagColor
|
|
336
337
|
};
|
|
337
338
|
};
|
|
338
339
|
const showTitle = !!parsed.title;
|
|
@@ -581,8 +582,8 @@ function drawNode(layer, node, colors, palette, isDark, tagGroups) {
|
|
|
581
582
|
const rows = node.isCollapsedBox ? [] : metaRows(node.metadata, tagGroups);
|
|
582
583
|
const badge = node.shape !== "rectangle";
|
|
583
584
|
const labelInset = badge ? 22 : 0;
|
|
584
|
-
const
|
|
585
|
-
const ruleColor =
|
|
585
|
+
const solidLike = colors.stroke === colors.fill;
|
|
586
|
+
const ruleColor = solidLike ? colors.text : colors.stroke;
|
|
586
587
|
if (node.description && !node.isCollapsedBox) {
|
|
587
588
|
const fitH = fitWrapped(
|
|
588
589
|
node.label,
|
|
@@ -651,7 +652,7 @@ function drawNode(layer, node, colors, palette, isDark, tagGroups) {
|
|
|
651
652
|
lineHeight: CARD_META_FONT + 5,
|
|
652
653
|
separatorGap: 8,
|
|
653
654
|
separatorColor: ruleColor,
|
|
654
|
-
textColor:
|
|
655
|
+
textColor: solidLike ? colors.text : palette.text,
|
|
655
656
|
keyX: 12
|
|
656
657
|
}
|
|
657
658
|
} : {}
|
|
@@ -1058,4 +1059,4 @@ export {
|
|
|
1058
1059
|
sketchEdgeGeometry,
|
|
1059
1060
|
renderSketchForExport
|
|
1060
1061
|
};
|
|
1061
|
-
//# sourceMappingURL=chunk-
|
|
1062
|
+
//# sourceMappingURL=chunk-3BEKKRH5.js.map
|
|
@@ -10,24 +10,25 @@ import {
|
|
|
10
10
|
tagAttrKey,
|
|
11
11
|
validateTagGroupNames,
|
|
12
12
|
validateTagValues
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CMVZWP32.js";
|
|
14
14
|
import {
|
|
15
15
|
MINDMAP_REGISTRY,
|
|
16
16
|
OPTION_NOCOLON_RE,
|
|
17
17
|
extractColor,
|
|
18
18
|
measureIndent,
|
|
19
19
|
parseFirstLine,
|
|
20
|
+
peelTrailingCollapsedFlag,
|
|
20
21
|
splitNameAndMeta,
|
|
21
22
|
tryParseSharedOption,
|
|
22
23
|
warnUnknownMetaKeys,
|
|
23
24
|
withTagAliases
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YJVA3QUU.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/mindmap/parser.ts
|
|
33
34
|
var KNOWN_OPTIONS = /* @__PURE__ */ new Set(["active-tag"]);
|
|
@@ -241,9 +242,18 @@ function parseMindmap(content, palette) {
|
|
|
241
242
|
return result;
|
|
242
243
|
}
|
|
243
244
|
function parseNodeLine(trimmed, lineNumber, _palette, counter, aliasMap, diagnostics) {
|
|
245
|
+
let bareCollapsed = false;
|
|
246
|
+
let nodeText = trimmed;
|
|
247
|
+
{
|
|
248
|
+
const barePeel = peelTrailingCollapsedFlag(nodeText);
|
|
249
|
+
if (barePeel.collapsed && barePeel.rest) {
|
|
250
|
+
bareCollapsed = true;
|
|
251
|
+
nodeText = barePeel.rest;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
244
254
|
const registry = withTagAliases(MINDMAP_REGISTRY, new Set(aliasMap.keys()));
|
|
245
255
|
const split = splitNameAndMeta(
|
|
246
|
-
|
|
256
|
+
nodeText,
|
|
247
257
|
registry,
|
|
248
258
|
aliasMap,
|
|
249
259
|
void 0,
|
|
@@ -265,9 +275,9 @@ function parseNodeLine(trimmed, lineNumber, _palette, counter, aliasMap, diagnos
|
|
|
265
275
|
if (descVal) description = [descVal];
|
|
266
276
|
delete metadata["description"];
|
|
267
277
|
}
|
|
268
|
-
let collapsed;
|
|
278
|
+
let collapsed = bareCollapsed ? true : void 0;
|
|
269
279
|
if ("collapsed" in metadata) {
|
|
270
|
-
collapsed = metadata["collapsed"].toLowerCase() === "true";
|
|
280
|
+
collapsed = collapsed || metadata["collapsed"].toLowerCase() === "true";
|
|
271
281
|
delete metadata["collapsed"];
|
|
272
282
|
}
|
|
273
283
|
return {
|
|
@@ -313,4 +323,4 @@ function findMetadataParent(indent, indentStack) {
|
|
|
313
323
|
export {
|
|
314
324
|
parseMindmap
|
|
315
325
|
};
|
|
316
|
-
//# sourceMappingURL=chunk-
|
|
326
|
+
//# sourceMappingURL=chunk-3CZLWOCI.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-3HDBAXF5.js";
|
|
12
12
|
import {
|
|
13
13
|
mix
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JYDMBWRP.js";
|
|
15
15
|
|
|
16
16
|
// src/utils/note-box/svg.ts
|
|
17
17
|
var NOTE_STROKE_WIDTH = 0.6;
|
|
@@ -133,4 +133,4 @@ export {
|
|
|
133
133
|
NOTE_BADGE_RADIUS,
|
|
134
134
|
renderNoteBadge
|
|
135
135
|
};
|
|
136
|
-
//# sourceMappingURL=chunk-
|
|
136
|
+
//# sourceMappingURL=chunk-3IUHKMJI.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatDateKey,
|
|
3
3
|
parseGanttDate
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EQW6HOP4.js";
|
|
5
5
|
|
|
6
6
|
// src/pert/internal.ts
|
|
7
7
|
var CONFIDENCE_TABLE = {
|
|
@@ -97,4 +97,4 @@ export {
|
|
|
97
97
|
formatSprintCell,
|
|
98
98
|
formatSlackValue
|
|
99
99
|
};
|
|
100
|
-
//# sourceMappingURL=chunk-
|
|
100
|
+
//# sourceMappingURL=chunk-3TYUXC7D.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CHAR_WIDTH_RATIO,
|
|
3
3
|
measureText,
|
|
4
4
|
truncateText
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4ASYQ347.js";
|
|
6
6
|
|
|
7
7
|
// src/infra/layout.ts
|
|
8
8
|
import dagre from "@dagrejs/dagre";
|
|
@@ -587,4 +587,4 @@ export {
|
|
|
587
587
|
fixEdgeWaypoints,
|
|
588
588
|
layoutInfra
|
|
589
589
|
};
|
|
590
|
-
//# sourceMappingURL=chunk-
|
|
590
|
+
//# sourceMappingURL=chunk-43E26CDA.js.map
|