@diagrammo/dgmo 0.95.0 → 0.97.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 +1 -1
- package/dist/advanced.d.ts +190 -568
- package/dist/advanced.js +259 -470
- package/dist/block.d.ts +8 -0
- package/dist/block.js +144 -73
- package/dist/{calculator-BNH3GSJE.js → calculator-CIGGTURF.js} +2 -2
- package/dist/{chart-meta-BbjsRY7o.d.ts → chart-meta-B7niEd52.d.ts} +3 -1
- package/dist/chart-meta.d.ts +2 -2
- package/dist/chart-meta.js +19 -19
- package/dist/{chart-types-Cppnp31G.d.ts → chart-types-Dxtv4XSz.d.ts} +4 -5
- package/dist/{charts-d3-SZV2SFTM.js → charts-d3-INWEGMSD.js} +14 -14
- package/dist/{chunk-P5XA627W.js → chunk-2FMOLWX4.js} +73 -65
- package/dist/{chunk-MLY5ALOV.js → chunk-2SZILMQT.js} +57 -15
- package/dist/chunk-35A3J4Z5.js +14 -0
- package/dist/{chunk-UXNA2H2V.js → chunk-3C4OXVZJ.js} +2 -2
- package/dist/{chunk-IZHGT5HD.js → chunk-3HL6NSSQ.js} +63 -18
- package/dist/{chunk-2WQ3YZMN.js → chunk-3IUMSK72.js} +2 -2
- package/dist/{chunk-LAXMUSGW.js → chunk-44RLIAYC.js} +17 -10
- package/dist/{chunk-H7AXCRO7.js → chunk-453IWXZ3.js} +0 -11
- package/dist/{chunk-2I4UQG7W.js → chunk-47INRTZ6.js} +2 -2
- package/dist/{chunk-IN7XI6NO.js → chunk-4NMRS6HW.js} +1 -1
- package/dist/{chunk-KLBTJEIK.js → chunk-4TK26YHH.js} +2 -2
- package/dist/{chunk-CN4RDJDV.js → chunk-5TGZBHEJ.js} +1 -1
- package/dist/{chunk-IXHWS2HI.js → chunk-5WZYJC2P.js} +2 -2
- package/dist/{chunk-KBDMEOLI.js → chunk-65JFUANT.js} +1 -1
- package/dist/{chunk-D3K4U3ZM.js → chunk-6K2W3FH7.js} +8 -5
- package/dist/{chunk-NXU4N5WT.js → chunk-6OUMYNAJ.js} +1 -1
- package/dist/{chunk-KRPLP5LP.js → chunk-6PUBFB6D.js} +24 -3
- package/dist/{chunk-EXHXTMVR.js → chunk-6S2H6EKN.js} +3 -3
- package/dist/{chunk-KSZB7TIY.js → chunk-6SDEXSJY.js} +42 -22
- package/dist/{chunk-IQN2NGEU.js → chunk-6YBZFOTA.js} +13 -13
- package/dist/{chunk-IHN6WDEY.js → chunk-74XR7Z3I.js} +13 -13
- package/dist/{chunk-2J2CWWWK.js → chunk-7ASVGFW3.js} +1 -1
- package/dist/{chunk-BH2SF4TT.js → chunk-7QKWU7FX.js} +3 -3
- package/dist/{chunk-A6YINTY6.js → chunk-7RACGVUY.js} +1 -1
- package/dist/{chunk-VB4VMB2I.js → chunk-7TEAFIEJ.js} +9 -5
- package/dist/{chunk-UNCCZ3NU.js → chunk-A3V72YIL.js} +14 -1
- package/dist/{chunk-BCV2VJTM.js → chunk-A5LFM62B.js} +3 -3
- package/dist/{chunk-U6VS3T2M.js → chunk-AULFF7L2.js} +4 -4
- package/dist/{chunk-LKZCUFOW.js → chunk-B7ZH5EQ2.js} +2 -2
- package/dist/{chunk-VGAMBOOC.js → chunk-C6ME2L4T.js} +2 -2
- package/dist/{chunk-3PP746YM.js → chunk-CGP7RGLJ.js} +1 -1
- package/dist/{chunk-67N26CER.js → chunk-CLW45YKE.js} +2 -1
- package/dist/{chunk-VTESGA5F.js → chunk-CUOMNKYW.js} +4 -4
- package/dist/{chunk-CDM6XMOT.js → chunk-CUTEHGXO.js} +2 -2
- package/dist/{chunk-NERQSSYD.js → chunk-D67YE4LR.js} +1 -1
- package/dist/{chunk-XOMIYMQ3.js → chunk-D7KZE2XJ.js} +39 -17
- package/dist/{chunk-NMS5XSLX.js → chunk-DFEVFLEG.js} +3 -3
- package/dist/{chunk-EBVVMUAA.js → chunk-DKMZ4VMV.js} +1 -1
- package/dist/{chunk-V5D6GDNK.js → chunk-DRY4W4W6.js} +36 -15
- package/dist/{chunk-XJQ6Z3FO.js → chunk-E6GHXMH2.js} +8 -8
- package/dist/{chunk-KBEWVCK3.js → chunk-EBJLT7PH.js} +1 -1
- package/dist/{chunk-TASRGDYP.js → chunk-EEIGHOJR.js} +92 -23
- package/dist/{chunk-AQQUJEDN.js → chunk-EUPUVYWO.js} +1 -1
- package/dist/{chunk-7IALGIOI.js → chunk-F2OAZHOX.js} +10 -5
- package/dist/{chunk-JXGSTBW6.js → chunk-FK6HZYGK.js} +4 -14
- package/dist/{chunk-OSSTOSXU.js → chunk-FTW2E2YH.js} +7 -10
- package/dist/{chunk-5P2L5QXE.js → chunk-FZVCS2XY.js} +4 -2
- package/dist/chunk-G24NSISJ.js +69 -0
- package/dist/{chunk-EBIDNRSR.js → chunk-GFQFLLP3.js} +2 -2
- package/dist/{chunk-RQTDUZUH.js → chunk-GLLYHYGT.js} +27 -17
- package/dist/{chunk-VLC6WNRD.js → chunk-GULGSH2Z.js} +4 -0
- package/dist/{chunk-H5NVCOEJ.js → chunk-GXBH7WNN.js} +2 -2
- package/dist/{chunk-C6G36F5S.js → chunk-H242TVAE.js} +9 -9
- package/dist/{chunk-5XBYLYYI.js → chunk-H7DZYHQF.js} +3 -3
- package/dist/{chunk-GLCMUTO5.js → chunk-HQNZJMNS.js} +1 -1
- package/dist/{chunk-IY62DXT2.js → chunk-IAM3IDL4.js} +2 -2
- package/dist/{chunk-IGJEKO2P.js → chunk-II6D6NWX.js} +8 -8
- package/dist/{chunk-AULZD45V.js → chunk-IUFTAFGN.js} +2 -2
- package/dist/{chunk-FWVE373X.js → chunk-IZEKHIV6.js} +3 -3
- package/dist/{chunk-BQMHJ6OW.js → chunk-J3YM6RA5.js} +22 -14
- package/dist/{chunk-R6EGUTIV.js → chunk-J467QBZF.js} +23 -3
- package/dist/{chunk-JJ7RGTAU.js → chunk-J7JF4QKA.js} +40 -30
- package/dist/{chunk-E7F76M3U.js → chunk-JULBDTNU.js} +61 -9
- package/dist/{chunk-EPDBWATV.js → chunk-K7RRXZHS.js} +4 -2
- package/dist/{chunk-ZECJ7Q6C.js → chunk-KMB754DO.js} +33 -6
- package/dist/chunk-KNKZGRRB.js +439 -0
- package/dist/{chunk-XIUGSUE4.js → chunk-KTGJQJB3.js} +6 -2
- package/dist/{chunk-4SACN2C5.js → chunk-KW3CC7SB.js} +1 -1
- package/dist/{chunk-3GUEYQGL.js → chunk-L3K5O3Z5.js} +3 -3
- package/dist/chunk-LRTSTDJ6.js +126 -0
- package/dist/{chunk-NBAAIRFP.js → chunk-LZATSXAA.js} +5 -2
- package/dist/{chunk-USE6HIOZ.js → chunk-MJ725XHD.js} +1156 -330
- package/dist/{chunk-3KVUFHUJ.js → chunk-NBISN6FH.js} +2 -2
- package/dist/{chunk-RITTLIDJ.js → chunk-NN5RUHXV.js} +84 -16
- package/dist/{chunk-62GLKE6Q.js → chunk-NOZMRPXI.js} +112 -157
- package/dist/{chunk-4XYZJTFO.js → chunk-NQFZ7LXC.js} +14 -6
- package/dist/chunk-NTDWVTEY.js +12 -0
- package/dist/{chunk-BQO24BDM.js → chunk-O3HRF25Z.js} +1 -1
- package/dist/{chunk-ZD3QCNB7.js → chunk-OSSA5UWA.js} +3 -3
- package/dist/{chunk-UOCWYLYT.js → chunk-OZXKW5NA.js} +1 -1
- package/dist/{chunk-NPDVWFAQ.js → chunk-PLQZJZ2K.js} +1 -1
- package/dist/chunk-PRG7NIUU.js +272 -0
- package/dist/{chunk-S4SJ4LLY.js → chunk-PSNRB75I.js} +3 -3
- package/dist/{chunk-QPQWY5RU.js → chunk-PT5VFY3B.js} +38 -14
- package/dist/{chunk-KAO7JL4I.js → chunk-PU5X3P3T.js} +6 -5
- package/dist/{chunk-J7Q4AB23.js → chunk-PZ5LAAO3.js} +2 -2
- package/dist/{chunk-TOHTKLKE.js → chunk-Q5Q5JLRT.js} +1 -1
- package/dist/{chunk-Y3SIQN4J.js → chunk-Q6V342WS.js} +17 -5
- package/dist/{chunk-RBVFNUAL.js → chunk-QDPTOIG7.js} +5 -5
- package/dist/{chunk-ERT7XDQW.js → chunk-QIITSGI5.js} +1 -1
- package/dist/{chunk-NM5V5EKY.js → chunk-QLIZ7SB7.js} +1 -1
- package/dist/chunk-QLNLRZ37.js +181 -0
- package/dist/{chunk-HHVIE45A.js → chunk-QOLRTPGH.js} +6 -6
- package/dist/{chunk-2ZW4NBYX.js → chunk-R4SXMBGF.js} +1 -1
- package/dist/chunk-R4U7IIRX.js +178 -0
- package/dist/{chunk-BRGRIZQB.js → chunk-RC6PISCK.js} +4 -2
- package/dist/{chunk-UIEKW4SG.js → chunk-REKLKGR6.js} +3 -4
- package/dist/{chunk-TIIZIAGS.js → chunk-RFGQDIOI.js} +843 -233
- package/dist/{chunk-FVTYJUXR.js → chunk-ROFSIFSY.js} +4 -4
- package/dist/{chunk-VSAKEMDD.js → chunk-ROH4LYBL.js} +71 -21
- package/dist/{chunk-4UVCTLRH.js → chunk-SNDCXT5R.js} +9 -7
- package/dist/{chunk-R46N5KR4.js → chunk-SQBCNEJB.js} +2 -1
- package/dist/{chunk-66JTY4AN.js → chunk-TDUBTDXS.js} +1 -1
- package/dist/{chunk-PGSGJLUR.js → chunk-TMB4YY3J.js} +34 -4
- package/dist/{chunk-UZ7EZW3B.js → chunk-TO53KK2P.js} +6 -1
- package/dist/{chunk-5KKZXA44.js → chunk-V3ICBS2O.js} +7 -5
- package/dist/{chunk-GWQRTA5W.js → chunk-V65EDV6S.js} +3 -3
- package/dist/{chunk-VF7IKIRS.js → chunk-VKT3BVRO.js} +35 -11
- package/dist/{chunk-L5S32VZJ.js → chunk-VOO65FKC.js} +12 -12
- package/dist/{chunk-PVWIBKV2.js → chunk-VQWLASDC.js} +2 -2
- package/dist/{chunk-JILEYZ2V.js → chunk-VVL2KKG4.js} +1 -1
- package/dist/{chunk-GI5R5B3S.js → chunk-VVZDBUHA.js} +2 -2
- package/dist/{chunk-PGBTUGDB.js → chunk-W46OMHOK.js} +23 -27
- package/dist/{chunk-XCKNFFKM.js → chunk-WH6E6SHC.js} +2 -4
- package/dist/{chunk-H6BT45SN.js → chunk-WPYJAHRP.js} +1 -1
- package/dist/{chunk-LJGE43SG.js → chunk-WXGFB2O2.js} +3 -3
- package/dist/{chunk-YQMIKX54.js → chunk-XCYGOCMS.js} +102 -52
- package/dist/{chunk-BTP2BMWN.js → chunk-XEMCNQQW.js} +15 -15
- package/dist/{chunk-NVZ7R4EK.js → chunk-XMUFXJI2.js} +6 -6
- package/dist/{chunk-AM42TLSZ.js → chunk-XZGXVN4T.js} +5 -5
- package/dist/{chunk-5OTA2PUH.js → chunk-YCIBBVI2.js} +2 -2
- package/dist/{chunk-V2NQV7VL.js → chunk-YFIDR7JH.js} +2 -2
- package/dist/{chunk-USZLHYEQ.js → chunk-YFWIFKRQ.js} +3 -3
- package/dist/{chunk-6XLMTAEX.js → chunk-YIHRLY55.js} +33 -6
- package/dist/{chunk-CYRB2JTN.js → chunk-YLKPRT6U.js} +1 -1
- package/dist/{chunk-KMU65FYM.js → chunk-YSDSFXQD.js} +1 -1
- package/dist/{chunk-ZI6WC24V.js → chunk-ZBJV4KNU.js} +1 -1
- package/dist/{chunk-4EX4OKGZ.js → chunk-ZCKVTZHD.js} +41 -19
- package/dist/{chunk-7PJBJ2DU.js → chunk-ZMVMGZAJ.js} +1 -1
- package/dist/{chunk-6EFCOES2.js → chunk-ZRW4B4KF.js} +48 -14
- package/dist/{chunk-A2A2I4Z4.js → chunk-ZTKO2RD4.js} +5 -5
- package/dist/collapse-6IGH2B24.js +31 -0
- package/dist/{collapse-BSPH3BFM.js → collapse-6X5S2S3G.js} +2 -1
- package/dist/collapse-GOWNCVHZ.js +7 -0
- package/dist/collapse-HNTPLB2Q.js +11 -0
- package/dist/collapse-NUM7DPJA.js +10 -0
- package/dist/completion-registry.js +28 -39
- package/dist/countdown.js +1 -1
- package/dist/dgmo-router-RSYWR5IS.js +101 -0
- package/dist/dimensions-KXAI7U2B.js +21 -0
- package/dist/editor.js +884 -222
- package/dist/{flowchart-parser-J3VWIFWB.js → flowchart-parser-UI5VZNGJ.js} +5 -5
- package/dist/{flowchart-renderer-FECH5KK5.js → flowchart-renderer-IYWPKPCF.js} +18 -18
- package/dist/fold-at-line-DmSAa1eU.d.ts +11 -0
- package/dist/highlight.js +886 -224
- package/dist/index.d.ts +89 -6
- package/dist/index.js +91 -70
- package/dist/{layout-TIBRMWHL.js → layout-6VY3DHYD.js} +6 -6
- package/dist/{layout-5SZ5A64I.js → layout-7C2QZCEZ.js} +10 -10
- package/dist/{layout-2WESJYRE.js → layout-7E7BNOGO.js} +3 -2
- package/dist/layout-BSK374N6.js +11 -0
- package/dist/{layout-RH3N46HP.js → layout-FJDBY3WG.js} +6 -5
- package/dist/{layout-YBMT74MG.js → layout-G3RVKEC4.js} +10 -10
- package/dist/{layout-KV27UW25.js → layout-GC5XX2RH.js} +2 -2
- package/dist/{layout-JTIRCKAW.js → layout-R6ULGQJK.js} +6 -6
- package/dist/{layout-HFBK5UEG.js → layout-ROI5KVSO.js} +3 -3
- package/dist/{layout-3TSVAGWH.js → layout-SPPS225I.js} +3 -3
- package/dist/{layout-HF3PMI4H.js → layout-VTGOYGRC.js} +2 -2
- package/dist/{layout-EWXHEXNS.js → layout-WBH5IHYK.js} +10 -10
- package/dist/layout-WTHBGTH2.js +15 -0
- package/dist/layout-ZCCABSV7.js +15 -0
- package/dist/{layout-search-AWPJWBKT.js → layout-search-DSIDKKQO.js} +8 -8
- package/dist/{legend-constants-55MFBXYF.js → legend-constants-KF3MKWL2.js} +2 -2
- package/dist/{parser-NUU3DVW4.js → parser-3PMYAVFL.js} +2 -2
- package/dist/{parser-KJPPUN4D.js → parser-5KVFS4RN.js} +2 -2
- package/dist/{parser-6TDWUKM5.js → parser-BA43YPIQ.js} +3 -3
- package/dist/{parser-EFF22GYO.js → parser-CFAYEWLF.js} +3 -3
- package/dist/{parser-A3AN76RQ.js → parser-DRFEX6OX.js} +3 -3
- package/dist/{parser-H5OODY5N.js → parser-DWVBRBB2.js} +3 -3
- package/dist/{parser-BJ7RJNUM.js → parser-E4B7HJT2.js} +3 -3
- package/dist/{parser-5UZV32ZI.js → parser-FWQY3HJX.js} +2 -2
- package/dist/{parser-RTWPFKXG.js → parser-GMCXCJSP.js} +3 -3
- package/dist/{parser-NL73FSFI.js → parser-IHFHPFL7.js} +3 -3
- package/dist/{parser-BTSTKY5G.js → parser-IU6425JW.js} +6 -6
- package/dist/{parser-ZRIZFDZY.js → parser-IZYIXDJX.js} +6 -6
- package/dist/{parser-4TBSWULQ.js → parser-JQGUTDSX.js} +3 -3
- package/dist/{parser-TUAEX6ML.js → parser-JRKPOO2Z.js} +3 -3
- package/dist/{parser-KMKVFET2.js → parser-KI2XYB2R.js} +2 -2
- package/dist/parser-LDVVBP7S.js +12 -0
- package/dist/{parser-YG625J5H.js → parser-MAGFK6OK.js} +4 -4
- package/dist/{parser-AR2GON37.js → parser-MH5BDN7X.js} +4 -4
- package/dist/{parser-EAQPZX2B.js → parser-MUHFEM4G.js} +3 -3
- package/dist/{parser-RCIEKN7Y.js → parser-P375HO7Q.js} +2 -2
- package/dist/{parser-GMQJISZ6.js → parser-PYY5BRLQ.js} +2 -2
- package/dist/parser-QEMFMVF5.js +12 -0
- package/dist/{parser-GDLKUBTO.js → parser-QIPDBT5M.js} +2 -2
- package/dist/{parser-BT4NI6JY.js → parser-RNBDDEGL.js} +3 -3
- package/dist/{parser-MA7L3XND.js → parser-RSWZGQA7.js} +6 -6
- package/dist/{parser-K2DI26SC.js → parser-SGX2PVR5.js} +2 -2
- package/dist/{parser-KKF6Y5MM.js → parser-SJUEFKNM.js} +4 -3
- package/dist/{parser-3QIFY5IN.js → parser-UMNBPXG2.js} +2 -2
- package/dist/{parser-F7NDRPMA.js → parser-WE4VSBBY.js} +3 -3
- package/dist/{parser-4Y6PODW6.js → parser-WKEYS7N3.js} +3 -3
- package/dist/{parser-KLCSFQ3J.js → parser-WPXUUNA2.js} +3 -3
- package/dist/{parser-LTRQASGB.js → parser-XP3RCOTN.js} +3 -3
- package/dist/{parser-2IKPQVKX.js → parser-YV4RBHG7.js} +3 -3
- package/dist/{parser-3LT3ZUUC.js → parser-YZ3J542U.js} +2 -2
- package/dist/{redraw-AHW7EUUF.js → redraw-BZ4GI6IC.js} +6 -4
- package/dist/{redraw-STZ4WJAI.js → redraw-LEOXS7C6.js} +3 -3
- package/dist/{renderer-IGSHD3OT.js → renderer-2V5NVI3V.js} +16 -16
- package/dist/renderer-4PKYVOYL.js +39 -0
- package/dist/{renderer-IVHD7ENY.js → renderer-66SCERH7.js} +14 -12
- package/dist/renderer-6IAXRZLK.js +85 -0
- package/dist/{renderer-XCLARXCK.js → renderer-6O5SV5YE.js} +10 -10
- package/dist/{renderer-IXBOT6DU.js → renderer-7OXMSF4R.js} +4 -4
- package/dist/{renderer-AM7P4LN7.js → renderer-A36NL2SS.js} +8 -8
- package/dist/{renderer-ACQQ2JXA.js → renderer-ASPBBACI.js} +13 -11
- package/dist/{renderer-W4MUMXJE.js → renderer-BXVTYE27.js} +7 -6
- package/dist/renderer-CC6O6GQK.js +18 -0
- package/dist/{renderer-Y47EM337.js → renderer-CNDB4JTZ.js} +17 -17
- package/dist/renderer-COV2DXTM.js +41 -0
- package/dist/renderer-DXCATVLO.js +30 -0
- package/dist/{renderer-JYHA6R2D.js → renderer-E5E3OJ42.js} +12 -11
- package/dist/{renderer-DAZWHNLI.js → renderer-E7LC7HCU.js} +5 -5
- package/dist/{renderer-RUSQJFFC.js → renderer-F3JYZERE.js} +4 -4
- package/dist/{renderer-7OGGV327.js → renderer-FAFSRFGR.js} +9 -9
- package/dist/renderer-HIB6LZWZ.js +26 -0
- package/dist/renderer-HLDRRFZB.js +28 -0
- package/dist/renderer-INQMQPNN.js +22 -0
- package/dist/renderer-ITJ67HXO.js +27 -0
- package/dist/{renderer-UTEEJDGB.js → renderer-JLOKFKOZ.js} +14 -13
- package/dist/{renderer-2LYX6NHN.js → renderer-KOPJ76GS.js} +10 -10
- package/dist/{renderer-MWZC7TMD.js → renderer-M2467III.js} +14 -13
- package/dist/{renderer-HX6ICPDX.js → renderer-MYKL6VG6.js} +6 -6
- package/dist/{renderer-BXD5KVSR.js → renderer-S6L3JR6C.js} +11 -11
- package/dist/{renderer-NOYLNVTI.js → renderer-SYWVZ4CY.js} +3 -3
- package/dist/renderer-TCTZZ5Y6.js +32 -0
- package/dist/{renderer-QTPWRRJ7.js → renderer-UIHCYXBY.js} +12 -12
- package/dist/{renderer-36446HSH.js → renderer-WIBVOPRC.js} +6 -4
- package/dist/{renderer-2QPHDBZY.js → renderer-XMJ6XZGL.js} +12 -11
- package/dist/{renderer-TINHO2IO.js → renderer-ZTHXOBXW.js} +8 -8
- package/dist/{renderer-radial-WFUX3Z3C.js → renderer-radial-FC25BDCZ.js} +8 -8
- package/dist/{state-parser-PMNHLHLE.js → state-parser-2PQRH5JE.js} +6 -6
- package/dist/state-renderer-YP6HWLJR.js +43 -0
- package/dist/{themes-DzIH3Hjv.d.ts → themes-DoLdhUXV.d.ts} +1 -1
- package/docs/ai-integration.md +4 -4
- package/docs/language-reference.md +154 -104
- package/gallery/fixtures/swot-relabel.dgmo +19 -0
- package/gallery/fixtures/swot-tags.dgmo +16 -0
- package/gallery/fixtures/swot.dgmo +13 -0
- package/gallery/fixtures/whiteboard.dgmo +1 -0
- package/package.json +1 -1
- package/dist/chunk-6BQSDF77.js +0 -734
- package/dist/chunk-NWSPPGIE.js +0 -60
- package/dist/chunk-R2K5L4UA.js +0 -49
- package/dist/chunk-VBMRZCMQ.js +0 -1465
- package/dist/chunk-WZBZXZ6T.js +0 -636
- package/dist/collapse-TCVK3RPO.js +0 -8
- package/dist/dgmo-router-6YLKM6WU.js +0 -101
- package/dist/dimensions-DS6FWLRY.js +0 -21
- package/dist/layout-D4L44NRG.js +0 -11
- package/dist/layout-MXHR3P35.js +0 -15
- package/dist/layout-ND26WVX2.js +0 -15
- package/dist/layout-VDCJOZSH.js +0 -11
- package/dist/parser-PEZ7RN43.js +0 -14
- package/dist/parser-YHDGKPZI.js +0 -14
- package/dist/renderer-4VGO27EE.js +0 -41
- package/dist/renderer-6BDK47V6.js +0 -30
- package/dist/renderer-ISQJ2ELA.js +0 -25
- package/dist/renderer-KJ3V5BYP.js +0 -26
- package/dist/renderer-O6RP52CQ.js +0 -22
- package/dist/renderer-P3WR7TKD.js +0 -39
- package/dist/renderer-UGW4N2W5.js +0 -28
- package/dist/renderer-WPN2SXGT.js +0 -29
- package/dist/renderer-XDX6S7OV.js +0 -30
- package/dist/renderer-ZV6KCLCL.js +0 -85
- package/dist/state-renderer-JQ5DS66J.js +0 -42
- package/gallery/fixtures/sketch.dgmo +0 -22
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-24YPR5EH.js";
|
|
4
4
|
import {
|
|
5
5
|
TITLE_FONT_SIZE
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GULGSH2Z.js";
|
|
7
7
|
import {
|
|
8
8
|
renderIntegratedLegend
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DFEVFLEG.js";
|
|
10
10
|
import {
|
|
11
11
|
getMaxLegendReservedHeight
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VVL2KKG4.js";
|
|
13
13
|
import {
|
|
14
14
|
parseInlineMarkdown,
|
|
15
15
|
safeHref
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
fillModeFromOptions,
|
|
22
22
|
legendSuppressed
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RFGQDIOI.js";
|
|
24
24
|
import {
|
|
25
25
|
measureText,
|
|
26
26
|
truncateText,
|
|
27
27
|
wrapTextToWidth
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PU5X3P3T.js";
|
|
29
29
|
import {
|
|
30
30
|
contrastText,
|
|
31
31
|
mix,
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import {
|
|
2
|
+
parseMindmap
|
|
3
|
+
} from "./chunk-KTGJQJB3.js";
|
|
4
|
+
import {
|
|
5
|
+
parseDgmoChartType
|
|
6
|
+
} from "./chunk-XEMCNQQW.js";
|
|
7
|
+
import {
|
|
8
|
+
parseSitemap
|
|
9
|
+
} from "./chunk-KMB754DO.js";
|
|
10
|
+
import {
|
|
11
|
+
parseOrg
|
|
12
|
+
} from "./chunk-YCIBBVI2.js";
|
|
13
|
+
|
|
14
|
+
// src/utils/collapse-marker.ts
|
|
15
|
+
var MARKER_VALUE = /collapsed:\s*\S+/;
|
|
16
|
+
var BARE_FLAG = /(?:\s*,)?[ \t]+collapsed\s*$/;
|
|
17
|
+
var META_KEY = /(?:^|[\s,|])[\w-]+\s*:/;
|
|
18
|
+
var hasBareFlag = (line, label) => line.trim() !== label && BARE_FLAG.test(line);
|
|
19
|
+
function applyCollapsedMarker(line, label, collapse) {
|
|
20
|
+
if (collapse) {
|
|
21
|
+
if (MARKER_VALUE.test(line)) {
|
|
22
|
+
return line.replace(MARKER_VALUE, "collapsed: true");
|
|
23
|
+
}
|
|
24
|
+
if (hasBareFlag(line, label)) return line;
|
|
25
|
+
const stripped = line.replace(/\s+$/, "");
|
|
26
|
+
const body = line.trimStart();
|
|
27
|
+
const hasMeta = body.startsWith(label) && META_KEY.test(body.slice(label.length));
|
|
28
|
+
return hasMeta ? `${stripped}, collapsed: true` : `${stripped} collapsed: true`;
|
|
29
|
+
}
|
|
30
|
+
const expanded = line.replace(/\s*,\s*collapsed:\s*[^,\s]+/, "").replace(/\bcollapsed:\s*[^,\s]+\s*,\s*/, "").replace(/\s+collapsed:\s*[^,\s]+/, "").replace(/\s+$/, "");
|
|
31
|
+
return hasBareFlag(expanded, label) ? expanded.replace(BARE_FLAG, "") : expanded;
|
|
32
|
+
}
|
|
33
|
+
function applyCollapsedMarkerAtLine(text, lineNumber, label, collapse) {
|
|
34
|
+
const lines = text.split("\n");
|
|
35
|
+
const idx = lineNumber - 1;
|
|
36
|
+
const target = lines[idx];
|
|
37
|
+
if (target === void 0) return text;
|
|
38
|
+
lines[idx] = applyCollapsedMarker(target, label, collapse);
|
|
39
|
+
return lines.join("\n");
|
|
40
|
+
}
|
|
41
|
+
function applyGroupHeaderCollapsedMarkerAtLine(text, lineNumber, collapse) {
|
|
42
|
+
const lines = text.split("\n");
|
|
43
|
+
const idx = lineNumber - 1;
|
|
44
|
+
const target = lines[idx];
|
|
45
|
+
if (target === void 0) return text;
|
|
46
|
+
const close = target.indexOf("]");
|
|
47
|
+
if (close === -1) return text;
|
|
48
|
+
const header = target.slice(0, close + 1).trimStart();
|
|
49
|
+
lines[idx] = applyCollapsedMarker(target, header, collapse);
|
|
50
|
+
return lines.join("\n");
|
|
51
|
+
}
|
|
52
|
+
var INDENT = (s) => s.length - s.trimStart().length;
|
|
53
|
+
var COLLAPSED_LINE = /^\s*collapsed:\s*\S+\s*$/;
|
|
54
|
+
function applyIndentedGroupCollapsedMarkerAtLine(text, headerLineNumber, collapse) {
|
|
55
|
+
const lines = text.split("\n");
|
|
56
|
+
const hIdx = headerLineNumber - 1;
|
|
57
|
+
const header = lines[hIdx];
|
|
58
|
+
if (header === void 0) return text;
|
|
59
|
+
const headerIndent = INDENT(header);
|
|
60
|
+
let blockEnd = lines.length;
|
|
61
|
+
let childIndent = null;
|
|
62
|
+
for (let i = hIdx + 1; i < lines.length; i++) {
|
|
63
|
+
const line = lines[i];
|
|
64
|
+
if (line.trim() === "") continue;
|
|
65
|
+
const ind = INDENT(line);
|
|
66
|
+
if (ind <= headerIndent) {
|
|
67
|
+
blockEnd = i;
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
70
|
+
childIndent ??= ind;
|
|
71
|
+
}
|
|
72
|
+
const indentStr = " ".repeat(childIndent ?? headerIndent + 2);
|
|
73
|
+
if (collapse) {
|
|
74
|
+
for (let i = hIdx + 1; i < blockEnd; i++) {
|
|
75
|
+
if (COLLAPSED_LINE.test(lines[i])) {
|
|
76
|
+
lines[i] = `${indentStr}collapsed: true`;
|
|
77
|
+
return lines.join("\n");
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
lines.splice(hIdx + 1, 0, `${indentStr}collapsed: true`);
|
|
81
|
+
return lines.join("\n");
|
|
82
|
+
}
|
|
83
|
+
for (let i = hIdx + 1; i < blockEnd; i++) {
|
|
84
|
+
if (COLLAPSED_LINE.test(lines[i])) {
|
|
85
|
+
lines.splice(i, 1);
|
|
86
|
+
return lines.join("\n");
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return text;
|
|
90
|
+
}
|
|
91
|
+
function applyNoteCollapsedMarkerAtLine(text, lineNumber, collapse) {
|
|
92
|
+
const lines = text.split("\n");
|
|
93
|
+
const idx = lineNumber - 1;
|
|
94
|
+
const target = lines[idx];
|
|
95
|
+
if (target === void 0) return text;
|
|
96
|
+
const head = target.trim().replace(/(?:\s*,)?\s+collapsed:\s*\S+$/, "").replace(BARE_FLAG, "");
|
|
97
|
+
if (!/^note(\s|$)/i.test(head)) return text;
|
|
98
|
+
lines[idx] = applyCollapsedMarker(target, head, collapse);
|
|
99
|
+
return lines.join("\n");
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// src/utils/fold-at-line.ts
|
|
103
|
+
var NODE_TREES = {
|
|
104
|
+
mindmap: (s) => parseMindmap(s).roots,
|
|
105
|
+
org: (s) => parseOrg(s).roots,
|
|
106
|
+
sitemap: (s) => parseSitemap(s).roots
|
|
107
|
+
};
|
|
108
|
+
var GROUP_HEADER_TYPES = /* @__PURE__ */ new Set([
|
|
109
|
+
"block",
|
|
110
|
+
"boxes-and-lines",
|
|
111
|
+
"event-line",
|
|
112
|
+
"gantt",
|
|
113
|
+
"infra",
|
|
114
|
+
"journey-map",
|
|
115
|
+
"kanban",
|
|
116
|
+
"org",
|
|
117
|
+
"pert",
|
|
118
|
+
"raci",
|
|
119
|
+
"sequence",
|
|
120
|
+
"sitemap",
|
|
121
|
+
"state",
|
|
122
|
+
"timeline"
|
|
123
|
+
]);
|
|
124
|
+
var GROUP_HEAD = /^(?:[+-]\S*\s+)?\[/;
|
|
125
|
+
var SECTION_LINE = /^==\s+\S/;
|
|
126
|
+
var SECTION_MARKER = /(?:\s*,)?\s+collapsed(?::\s*\S+)?\s*$/;
|
|
127
|
+
function labelAtLine(nodes, line) {
|
|
128
|
+
for (const n of nodes) {
|
|
129
|
+
if (n.lineNumber === line) return n.label;
|
|
130
|
+
const inner = labelAtLine(n.children, line);
|
|
131
|
+
if (inner !== null) return inner;
|
|
132
|
+
}
|
|
133
|
+
return null;
|
|
134
|
+
}
|
|
135
|
+
function foldSection(source, line, text, collapse) {
|
|
136
|
+
const label = text.trim().replace(SECTION_MARKER, "");
|
|
137
|
+
return applyCollapsedMarkerAtLine(source, line, label, collapse);
|
|
138
|
+
}
|
|
139
|
+
function foldGroupHeader(source, chartType, line, collapse) {
|
|
140
|
+
if (chartType === "infra" && !collapse) {
|
|
141
|
+
const next = applyIndentedGroupCollapsedMarkerAtLine(source, line, false);
|
|
142
|
+
if (next !== source) return next;
|
|
143
|
+
}
|
|
144
|
+
return applyGroupHeaderCollapsedMarkerAtLine(source, line, collapse);
|
|
145
|
+
}
|
|
146
|
+
function foldAtLine(source, line, collapse) {
|
|
147
|
+
if (!Number.isInteger(line) || line < 1) return null;
|
|
148
|
+
const chartType = parseDgmoChartType(source);
|
|
149
|
+
if (chartType === null) return null;
|
|
150
|
+
const text = source.split("\n")[line - 1];
|
|
151
|
+
if (text === void 0) return null;
|
|
152
|
+
const trimmed = text.trim();
|
|
153
|
+
let next = null;
|
|
154
|
+
if (GROUP_HEAD.test(trimmed)) {
|
|
155
|
+
if (GROUP_HEADER_TYPES.has(chartType)) {
|
|
156
|
+
next = foldGroupHeader(source, chartType, line, collapse);
|
|
157
|
+
}
|
|
158
|
+
} else if (chartType === "sequence") {
|
|
159
|
+
if (SECTION_LINE.test(trimmed)) {
|
|
160
|
+
next = foldSection(source, line, text, collapse);
|
|
161
|
+
} else if (/^note(\s|$)/i.test(trimmed)) {
|
|
162
|
+
next = applyNoteCollapsedMarkerAtLine(source, line, collapse);
|
|
163
|
+
}
|
|
164
|
+
} else {
|
|
165
|
+
const tree = NODE_TREES[chartType];
|
|
166
|
+
const label = tree ? labelAtLine(tree(source), line) : null;
|
|
167
|
+
if (label !== null) {
|
|
168
|
+
next = applyCollapsedMarkerAtLine(source, line, label, collapse);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
return next === null || next === source ? null : next;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export {
|
|
175
|
+
applyCollapsedMarker,
|
|
176
|
+
applyCollapsedMarkerAtLine,
|
|
177
|
+
applyGroupHeaderCollapsedMarkerAtLine,
|
|
178
|
+
applyIndentedGroupCollapsedMarkerAtLine,
|
|
179
|
+
applyNoteCollapsedMarkerAtLine,
|
|
180
|
+
foldAtLine
|
|
181
|
+
};
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
mapLegendConfig,
|
|
4
4
|
mapLegendGroups,
|
|
5
5
|
parsePathRings
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XZGXVN4T.js";
|
|
7
7
|
import {
|
|
8
8
|
buildSwatches
|
|
9
9
|
} from "./chunk-T7NWBVSC.js";
|
|
10
10
|
import {
|
|
11
11
|
parseClock
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6OUMYNAJ.js";
|
|
13
13
|
import {
|
|
14
14
|
fixedParts,
|
|
15
15
|
fixedTimeCells,
|
|
@@ -22,19 +22,19 @@ import {
|
|
|
22
22
|
TITLE_FONT_SIZE,
|
|
23
23
|
TITLE_FONT_WEIGHT,
|
|
24
24
|
TITLE_Y
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-GULGSH2Z.js";
|
|
26
26
|
import {
|
|
27
27
|
renderIntegratedLegend
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-DFEVFLEG.js";
|
|
29
29
|
import {
|
|
30
30
|
FONT_FAMILY
|
|
31
31
|
} from "./chunk-ICLB27PZ.js";
|
|
32
32
|
import {
|
|
33
33
|
tagAttrKey
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-KW3CC7SB.js";
|
|
35
35
|
import {
|
|
36
36
|
measureText
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-PU5X3P3T.js";
|
|
38
38
|
import {
|
|
39
39
|
mix,
|
|
40
40
|
themeBaseBg
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isSequenceBlock,
|
|
3
|
+
isSequenceNote,
|
|
4
|
+
isSequenceSection
|
|
5
|
+
} from "./chunk-ROH4LYBL.js";
|
|
6
|
+
|
|
7
|
+
// src/sequence/collapse.ts
|
|
8
|
+
function isCollapsibleGroup(group) {
|
|
9
|
+
return group.participantIds.length > 1;
|
|
10
|
+
}
|
|
11
|
+
function collapsedGroupId(group, groups) {
|
|
12
|
+
const shared = groups.some((g) => g !== group && g.name === group.name);
|
|
13
|
+
return shared ? `${group.name}@${group.lineNumber}` : group.name;
|
|
14
|
+
}
|
|
15
|
+
function applyCollapseProjection(parsed, requestedGroups) {
|
|
16
|
+
const collapsedGroups = new Set(
|
|
17
|
+
parsed.groups.filter((g) => requestedGroups.has(g.lineNumber) && isCollapsibleGroup(g)).map((g) => g.lineNumber)
|
|
18
|
+
);
|
|
19
|
+
if (collapsedGroups.size === 0) {
|
|
20
|
+
return {
|
|
21
|
+
participants: parsed.participants,
|
|
22
|
+
messages: parsed.messages,
|
|
23
|
+
elements: parsed.elements,
|
|
24
|
+
groups: parsed.groups,
|
|
25
|
+
collapsedGroupIds: /* @__PURE__ */ new Map()
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
const byName = new Map(parsed.groups.map((g) => [g.name, g]));
|
|
29
|
+
const insideCollapsed = (group) => {
|
|
30
|
+
let parentName = group.parent;
|
|
31
|
+
const seen = /* @__PURE__ */ new Set();
|
|
32
|
+
while (parentName !== void 0 && !seen.has(parentName)) {
|
|
33
|
+
seen.add(parentName);
|
|
34
|
+
const ancestor = byName.get(parentName);
|
|
35
|
+
if (!ancestor) return false;
|
|
36
|
+
if (collapsedGroups.has(ancestor.lineNumber)) return true;
|
|
37
|
+
parentName = ancestor.parent;
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
};
|
|
41
|
+
const memberToGroup = /* @__PURE__ */ new Map();
|
|
42
|
+
const virtualIds = /* @__PURE__ */ new Set();
|
|
43
|
+
const groupById = /* @__PURE__ */ new Map();
|
|
44
|
+
const byDepth = [...parsed.groups].sort((a, b) => a.depth - b.depth);
|
|
45
|
+
for (const group of byDepth) {
|
|
46
|
+
if (!collapsedGroups.has(group.lineNumber)) continue;
|
|
47
|
+
if (insideCollapsed(group)) continue;
|
|
48
|
+
const id = collapsedGroupId(group, parsed.groups);
|
|
49
|
+
virtualIds.add(id);
|
|
50
|
+
groupById.set(id, group);
|
|
51
|
+
for (const memberId of group.participantIds) {
|
|
52
|
+
if (!memberToGroup.has(memberId)) {
|
|
53
|
+
memberToGroup.set(memberId, id);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
const participants = [];
|
|
58
|
+
const insertedGroups = /* @__PURE__ */ new Set();
|
|
59
|
+
for (const p of parsed.participants) {
|
|
60
|
+
const groupId = memberToGroup.get(p.id);
|
|
61
|
+
if (groupId) {
|
|
62
|
+
if (!insertedGroups.has(groupId)) {
|
|
63
|
+
insertedGroups.add(groupId);
|
|
64
|
+
const group = groupById.get(groupId);
|
|
65
|
+
participants.push({
|
|
66
|
+
id: groupId,
|
|
67
|
+
label: group.name,
|
|
68
|
+
type: "default",
|
|
69
|
+
lineNumber: group.lineNumber
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
} else if (virtualIds.has(p.id)) {
|
|
73
|
+
} else {
|
|
74
|
+
participants.push(p);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
const remap = (id) => memberToGroup.get(id) ?? id;
|
|
78
|
+
const messages = parsed.messages.map((msg) => ({
|
|
79
|
+
...msg,
|
|
80
|
+
from: remap(msg.from),
|
|
81
|
+
to: remap(msg.to)
|
|
82
|
+
}));
|
|
83
|
+
const elements = remapElements(parsed.elements, memberToGroup);
|
|
84
|
+
const groups = parsed.groups.filter((g) => !collapsedGroups.has(g.lineNumber) && !insideCollapsed(g)).map((g) => {
|
|
85
|
+
const remapped = [];
|
|
86
|
+
for (const id of g.participantIds) {
|
|
87
|
+
const to = memberToGroup.get(id) ?? id;
|
|
88
|
+
if (!remapped.includes(to)) remapped.push(to);
|
|
89
|
+
}
|
|
90
|
+
return { ...g, participantIds: remapped };
|
|
91
|
+
});
|
|
92
|
+
return {
|
|
93
|
+
participants,
|
|
94
|
+
messages,
|
|
95
|
+
elements,
|
|
96
|
+
groups,
|
|
97
|
+
collapsedGroupIds: memberToGroup
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
function remapElements(elements, memberToGroup) {
|
|
101
|
+
const remap = (id) => memberToGroup.get(id) ?? id;
|
|
102
|
+
const result = [];
|
|
103
|
+
for (const el of elements) {
|
|
104
|
+
if (isSequenceSection(el)) {
|
|
105
|
+
result.push(el);
|
|
106
|
+
} else if (isSequenceNote(el)) {
|
|
107
|
+
result.push({
|
|
108
|
+
...el,
|
|
109
|
+
participantId: remap(el.participantId)
|
|
110
|
+
});
|
|
111
|
+
} else if (isSequenceBlock(el)) {
|
|
112
|
+
result.push({
|
|
113
|
+
...el,
|
|
114
|
+
children: remapElements(el.children, memberToGroup),
|
|
115
|
+
elseChildren: remapElements(el.elseChildren, memberToGroup),
|
|
116
|
+
...el.elseIfBranches ? {
|
|
117
|
+
elseIfBranches: el.elseIfBranches.map((branch) => ({
|
|
118
|
+
...branch,
|
|
119
|
+
children: remapElements(branch.children, memberToGroup)
|
|
120
|
+
}))
|
|
121
|
+
} : {}
|
|
122
|
+
});
|
|
123
|
+
} else {
|
|
124
|
+
const msg = el;
|
|
125
|
+
const from = remap(msg.from);
|
|
126
|
+
const to = remap(msg.to);
|
|
127
|
+
if (from === to && from !== msg.from && !msg.label) {
|
|
128
|
+
continue;
|
|
129
|
+
}
|
|
130
|
+
result.push({ ...msg, from, to });
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
return result;
|
|
134
|
+
}
|
|
135
|
+
function isFoldableSequenceNote(note) {
|
|
136
|
+
return note.text.includes("\n");
|
|
137
|
+
}
|
|
138
|
+
function collectNotes(els, out) {
|
|
139
|
+
for (const el of els) {
|
|
140
|
+
if (isSequenceNote(el)) out.push(el);
|
|
141
|
+
else if (isSequenceBlock(el)) {
|
|
142
|
+
collectNotes(el.children, out);
|
|
143
|
+
for (const branch of el.elseIfBranches ?? [])
|
|
144
|
+
collectNotes(branch.children, out);
|
|
145
|
+
collectNotes(el.elseChildren, out);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
return out;
|
|
149
|
+
}
|
|
150
|
+
function collapsedSequenceNoteLinesFromSource(parsed) {
|
|
151
|
+
return new Set(
|
|
152
|
+
collectNotes(parsed.elements, []).filter((n) => n.collapsed === true && isFoldableSequenceNote(n)).map((n) => n.lineNumber)
|
|
153
|
+
);
|
|
154
|
+
}
|
|
155
|
+
function unionCollapsedSequenceNotes(parsed, runtime) {
|
|
156
|
+
const out = collapsedSequenceNoteLinesFromSource(parsed);
|
|
157
|
+
if (runtime === void 0) return out;
|
|
158
|
+
const foldable = new Set(
|
|
159
|
+
collectNotes(parsed.elements, []).filter(isFoldableSequenceNote).map((n) => n.lineNumber)
|
|
160
|
+
);
|
|
161
|
+
for (const line of runtime) if (foldable.has(line)) out.add(line);
|
|
162
|
+
return out;
|
|
163
|
+
}
|
|
164
|
+
function collapsedSequenceSectionLinesFromSource(parsed) {
|
|
165
|
+
return new Set(
|
|
166
|
+
parsed.sections.filter((s) => s.collapsed === true).map((s) => s.lineNumber)
|
|
167
|
+
);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export {
|
|
171
|
+
isCollapsibleGroup,
|
|
172
|
+
collapsedGroupId,
|
|
173
|
+
applyCollapseProjection,
|
|
174
|
+
isFoldableSequenceNote,
|
|
175
|
+
collapsedSequenceNoteLinesFromSource,
|
|
176
|
+
unionCollapsedSequenceNotes,
|
|
177
|
+
collapsedSequenceSectionLinesFromSource
|
|
178
|
+
};
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
tagAttrKey,
|
|
10
10
|
validateTagGroupNames,
|
|
11
11
|
validateTagValues
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KW3CC7SB.js";
|
|
13
13
|
import {
|
|
14
14
|
extractColor,
|
|
15
15
|
fillModeFromToken,
|
|
16
16
|
measureIndent,
|
|
17
17
|
parseFirstLine
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RFGQDIOI.js";
|
|
19
19
|
import {
|
|
20
20
|
formatDgmoError,
|
|
21
21
|
makeDgmoError,
|
|
@@ -332,6 +332,8 @@ function parseBlockTail(tail, aliasMap) {
|
|
|
332
332
|
if (rawKey === "span") {
|
|
333
333
|
const num = parseInt(value, 10);
|
|
334
334
|
if (Number.isFinite(num) && num >= 1) span = num;
|
|
335
|
+
} else if (rawKey === "collapsed") {
|
|
336
|
+
collapsed = value.toLowerCase() === "true";
|
|
335
337
|
} else if (value) {
|
|
336
338
|
meta[aliasMap.get(rawKey) ?? rawKey] = value;
|
|
337
339
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TITLE_FONT_SIZE,
|
|
3
3
|
TITLE_Y
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GULGSH2Z.js";
|
|
5
5
|
import {
|
|
6
6
|
LEGEND_HEIGHT
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OZXKW5NA.js";
|
|
8
8
|
import {
|
|
9
9
|
measureText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PU5X3P3T.js";
|
|
11
11
|
|
|
12
12
|
// src/utils/inline-header.ts
|
|
13
13
|
var LEGEND_INLINE_SUPPORTED = /* @__PURE__ */ new Set([
|
|
@@ -28,7 +28,6 @@ var LEGEND_INLINE_SUPPORTED = /* @__PURE__ */ new Set([
|
|
|
28
28
|
"family",
|
|
29
29
|
"infra",
|
|
30
30
|
"sequence",
|
|
31
|
-
"sketch",
|
|
32
31
|
"bracket",
|
|
33
32
|
"gantt",
|
|
34
33
|
"pert",
|