@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
package/dist/block.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { M as MapDataSource } from './export-context-Ceh3wr0E.js';
|
|
2
|
+
export { f as foldAtLine } from './fold-at-line-DmSAa1eU.js';
|
|
2
3
|
import './tag-groups-DydewK3D.js';
|
|
3
4
|
|
|
4
5
|
/**
|
|
@@ -152,6 +153,13 @@ interface DgmoBlockOptions {
|
|
|
152
153
|
* fetches it.
|
|
153
154
|
*/
|
|
154
155
|
mapData?: MapDataSource;
|
|
156
|
+
/**
|
|
157
|
+
* Whether fold toggles answer a click on this surface (#1741). Default:
|
|
158
|
+
* true. A host with no fold handler passes `false`, and each SVG is drawn
|
|
159
|
+
* without the toggles' pointer cursor, hover cue and button markup; the
|
|
160
|
+
* collapse bar stays. Forwarded to `render()`.
|
|
161
|
+
*/
|
|
162
|
+
interactiveFolds?: boolean;
|
|
155
163
|
/** Receives palette-fallback warnings. Default: console.warn. */
|
|
156
164
|
onWarn?: (message: string) => void;
|
|
157
165
|
}
|
package/dist/block.js
CHANGED
|
@@ -1,89 +1,94 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./chunk-D3K4U3ZM.js";
|
|
2
|
+
foldAtLine
|
|
3
|
+
} from "./chunk-QLNLRZ37.js";
|
|
5
4
|
import {
|
|
6
5
|
render
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-MJ725XHD.js";
|
|
7
|
+
import "./chunk-XCYGOCMS.js";
|
|
8
|
+
import {
|
|
9
|
+
defaultEmbedBackground,
|
|
10
|
+
normalizeSvgForEmbed
|
|
11
|
+
} from "./chunk-6K2W3FH7.js";
|
|
12
|
+
import "./chunk-YSDSFXQD.js";
|
|
9
13
|
import {
|
|
10
14
|
docsLink,
|
|
11
15
|
renderErrorCard
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-3PP746YM.js";
|
|
16
|
-
import "./chunk-NM5V5EKY.js";
|
|
17
|
-
import "./chunk-3KVUFHUJ.js";
|
|
16
|
+
} from "./chunk-YFWIFKRQ.js";
|
|
17
|
+
import "./chunk-2FMOLWX4.js";
|
|
18
|
+
import "./chunk-WPYJAHRP.js";
|
|
18
19
|
import "./chunk-EOYPX6SF.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-DKMZ4VMV.js";
|
|
21
|
+
import "./chunk-CGP7RGLJ.js";
|
|
22
|
+
import "./chunk-QLIZ7SB7.js";
|
|
23
|
+
import "./chunk-NBISN6FH.js";
|
|
24
|
+
import "./chunk-KNKZGRRB.js";
|
|
25
|
+
import "./chunk-R4SXMBGF.js";
|
|
26
|
+
import "./chunk-IUFTAFGN.js";
|
|
27
|
+
import "./chunk-AULFF7L2.js";
|
|
28
|
+
import "./chunk-SQBCNEJB.js";
|
|
29
|
+
import "./chunk-PZ5LAAO3.js";
|
|
30
|
+
import "./chunk-KTGJQJB3.js";
|
|
31
|
+
import "./chunk-35A3J4Z5.js";
|
|
32
|
+
import "./chunk-B7ZH5EQ2.js";
|
|
33
|
+
import "./chunk-3C4OXVZJ.js";
|
|
34
|
+
import "./chunk-TMB4YY3J.js";
|
|
35
|
+
import "./chunk-VQWLASDC.js";
|
|
36
|
+
import "./chunk-ZMVMGZAJ.js";
|
|
37
|
+
import "./chunk-K7RRXZHS.js";
|
|
38
|
+
import "./chunk-L3K5O3Z5.js";
|
|
35
39
|
import {
|
|
36
40
|
escapeAttr,
|
|
37
41
|
escapeHtml
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-EEIGHOJR.js";
|
|
43
|
+
import "./chunk-YIHRLY55.js";
|
|
44
|
+
import "./chunk-D67YE4LR.js";
|
|
45
|
+
import "./chunk-O3HRF25Z.js";
|
|
46
|
+
import "./chunk-J467QBZF.js";
|
|
43
47
|
import "./chunk-QQJUTGQH.js";
|
|
44
48
|
import "./chunk-2CW5ZTNH.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-NXU4N5WT.js";
|
|
49
|
+
import "./chunk-Q5Q5JLRT.js";
|
|
50
|
+
import "./chunk-6OUMYNAJ.js";
|
|
48
51
|
import "./chunk-A2RUBBVT.js";
|
|
49
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-EBJLT7PH.js";
|
|
50
53
|
import {
|
|
51
54
|
monthIndex,
|
|
52
55
|
weekdayIndex
|
|
53
56
|
} from "./chunk-URRAWU5D.js";
|
|
54
57
|
import "./chunk-3DPOIW3W.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-PLQZJZ2K.js";
|
|
59
|
+
import "./chunk-3IUMSK72.js";
|
|
60
|
+
import "./chunk-ZBJV4KNU.js";
|
|
61
|
+
import "./chunk-YLKPRT6U.js";
|
|
62
|
+
import "./chunk-5WZYJC2P.js";
|
|
63
|
+
import "./chunk-RC6PISCK.js";
|
|
61
64
|
import "./chunk-XSVWUOUZ.js";
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-FK6HZYGK.js";
|
|
66
|
+
import "./chunk-453IWXZ3.js";
|
|
67
|
+
import "./chunk-SNDCXT5R.js";
|
|
65
68
|
import "./chunk-24YPR5EH.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-LRTSTDJ6.js";
|
|
70
|
+
import "./chunk-REKLKGR6.js";
|
|
71
|
+
import "./chunk-GULGSH2Z.js";
|
|
72
|
+
import "./chunk-WH6E6SHC.js";
|
|
73
|
+
import "./chunk-DFEVFLEG.js";
|
|
74
|
+
import "./chunk-VVL2KKG4.js";
|
|
71
75
|
import {
|
|
72
76
|
encodeDiagramUrl
|
|
73
77
|
} from "./chunk-6OSGENN5.js";
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-5OTA2PUH.js";
|
|
79
|
-
import "./chunk-ZECJ7Q6C.js";
|
|
80
|
-
import "./chunk-CDM6XMOT.js";
|
|
78
|
+
import "./chunk-XEMCNQQW.js";
|
|
79
|
+
import "./chunk-6PUBFB6D.js";
|
|
80
|
+
import "./chunk-KMB754DO.js";
|
|
81
|
+
import "./chunk-CUTEHGXO.js";
|
|
81
82
|
import "./chunk-2SKMEL7V.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-65JFUANT.js";
|
|
84
|
+
import "./chunk-ROH4LYBL.js";
|
|
85
|
+
import "./chunk-YCIBBVI2.js";
|
|
86
|
+
import "./chunk-WXGFB2O2.js";
|
|
87
|
+
import "./chunk-EQW6HOP4.js";
|
|
88
|
+
import "./chunk-IAM3IDL4.js";
|
|
83
89
|
import "./chunk-TIVMAITN.js";
|
|
84
|
-
import "./chunk-LJGE43SG.js";
|
|
85
90
|
import "./chunk-NXMESY4J.js";
|
|
86
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-PSNRB75I.js";
|
|
87
92
|
import {
|
|
88
93
|
scanMonthNameDates
|
|
89
94
|
} from "./chunk-MKSTL6DR.js";
|
|
@@ -91,37 +96,37 @@ import {
|
|
|
91
96
|
choosePalette,
|
|
92
97
|
extractPaletteDirective
|
|
93
98
|
} from "./chunk-CYTFO2LF.js";
|
|
94
|
-
import "./chunk-S4SJ4LLY.js";
|
|
95
99
|
import "./chunk-C3Z4DX3V.js";
|
|
96
100
|
import "./chunk-IYULMRBE.js";
|
|
97
|
-
import "./chunk-
|
|
101
|
+
import "./chunk-H7DZYHQF.js";
|
|
98
102
|
import "./chunk-GXCDD6NG.js";
|
|
99
103
|
import {
|
|
100
104
|
getPalette,
|
|
101
105
|
resolvePaletteOrFallback
|
|
102
106
|
} from "./chunk-FMAVHTYB.js";
|
|
103
107
|
import "./chunk-N7VMGZCU.js";
|
|
104
|
-
import "./chunk-
|
|
108
|
+
import "./chunk-4TK26YHH.js";
|
|
105
109
|
import "./chunk-NOTA6TEI.js";
|
|
106
|
-
import "./chunk-
|
|
110
|
+
import "./chunk-CLW45YKE.js";
|
|
107
111
|
import "./chunk-7WEYXYLC.js";
|
|
108
112
|
import "./chunk-QKPOIJBT.js";
|
|
109
113
|
import "./chunk-ICLB27PZ.js";
|
|
110
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-VVZDBUHA.js";
|
|
111
115
|
import "./chunk-4WW3SGMH.js";
|
|
112
116
|
import "./chunk-3UR4F7FE.js";
|
|
113
|
-
import "./chunk-
|
|
117
|
+
import "./chunk-KW3CC7SB.js";
|
|
114
118
|
import {
|
|
115
119
|
CHART_TYPE_IDS,
|
|
116
120
|
REGISTRY_COLON_KEY_TOKENS,
|
|
117
121
|
REGISTRY_CONTROL_TOKENS,
|
|
118
122
|
REGISTRY_DIRECTIVE_TOKENS,
|
|
119
123
|
REGISTRY_MODIFIER_TOKENS,
|
|
120
|
-
REGISTRY_STATUS_TOKENS
|
|
121
|
-
|
|
124
|
+
REGISTRY_STATUS_TOKENS,
|
|
125
|
+
REGISTRY_TOKEN_CHART_TYPES
|
|
126
|
+
} from "./chunk-RFGQDIOI.js";
|
|
122
127
|
import "./chunk-Z6QFHH4D.js";
|
|
123
|
-
import "./chunk-
|
|
124
|
-
import "./chunk-
|
|
128
|
+
import "./chunk-OZXKW5NA.js";
|
|
129
|
+
import "./chunk-PU5X3P3T.js";
|
|
125
130
|
import "./chunk-6GXLAKUH.js";
|
|
126
131
|
import "./chunk-3J7O3CU6.js";
|
|
127
132
|
import "./chunk-BYU54C3S.js";
|
|
@@ -130,12 +135,16 @@ import "./chunk-YLJ4XMA6.js";
|
|
|
130
135
|
// src/editor/dgmo.grammar.js
|
|
131
136
|
import { LRParser } from "@lezer/lr";
|
|
132
137
|
|
|
138
|
+
// src/editor/tokens.ts
|
|
139
|
+
import { ContextTracker } from "@lezer/lr";
|
|
140
|
+
|
|
133
141
|
// src/editor/dgmo.grammar.terms.js
|
|
134
142
|
var ChartType = 1;
|
|
135
143
|
var TagKeyword = 2;
|
|
136
144
|
var DirectiveKeyword = 3;
|
|
137
145
|
var ControlKeyword = 4;
|
|
138
146
|
var ModifierKeyword = 5;
|
|
147
|
+
var Comment = 7;
|
|
139
148
|
|
|
140
149
|
// src/editor/keywords.ts
|
|
141
150
|
var CHART_TYPES = new Set(CHART_TYPE_IDS);
|
|
@@ -146,8 +155,66 @@ var STATUS_KEYWORDS = /* @__PURE__ */ new Set([...REGISTRY_STATUS_TOKENS]);
|
|
|
146
155
|
var MODIFIER_KEYWORDS = /* @__PURE__ */ new Set([...REGISTRY_MODIFIER_TOKENS]);
|
|
147
156
|
|
|
148
157
|
// src/editor/tokens.ts
|
|
149
|
-
|
|
158
|
+
var PENDING = 0;
|
|
159
|
+
var UNKNOWN = -1;
|
|
160
|
+
var CHART_TYPE_INDEX = new Map(
|
|
161
|
+
CHART_TYPE_IDS.map((id, i) => [id, i + 1])
|
|
162
|
+
);
|
|
163
|
+
function readToken(input, length) {
|
|
164
|
+
let s = "";
|
|
165
|
+
for (let i = 0; i < length; i++) s += String.fromCharCode(input.peek(i));
|
|
166
|
+
return s;
|
|
167
|
+
}
|
|
168
|
+
function decide(term, text) {
|
|
169
|
+
if (term !== ChartType) return UNKNOWN;
|
|
170
|
+
return CHART_TYPE_INDEX.get(text()) ?? UNKNOWN;
|
|
171
|
+
}
|
|
172
|
+
var chartTypeContext = new ContextTracker({
|
|
173
|
+
start: PENDING,
|
|
174
|
+
shift(context, term, stack, input) {
|
|
175
|
+
if (context !== PENDING) return context;
|
|
176
|
+
if (term >= stack.parser.nodeSet.types.length || term === Comment)
|
|
177
|
+
return context;
|
|
178
|
+
return decide(term, () => readToken(input, stack.pos - input.pos));
|
|
179
|
+
},
|
|
180
|
+
// A node reused from an earlier parse is not shifted token by token, so a
|
|
181
|
+
// reused first line has to decide the context here, from its first leaf.
|
|
182
|
+
// Not observed (2026-11-06, @lezer/lr 1.4.10: the first line sat in a
|
|
183
|
+
// re-parsed buffer in every probe), but nothing in Lezer promises that.
|
|
184
|
+
reuse(context, node, _stack, input) {
|
|
185
|
+
if (context !== PENDING) return context;
|
|
186
|
+
const cursor = node.cursor();
|
|
187
|
+
for (; ; ) {
|
|
188
|
+
if (cursor.firstChild()) continue;
|
|
189
|
+
const { from, to } = cursor;
|
|
190
|
+
const id = cursor.type.id;
|
|
191
|
+
if (id !== Comment && to > from) {
|
|
192
|
+
return decide(id, () => {
|
|
193
|
+
let s = "";
|
|
194
|
+
for (let i = from; i < to; i++)
|
|
195
|
+
s += String.fromCharCode(input.peek(i));
|
|
196
|
+
return s;
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
if (!advance(cursor)) return context;
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
hash: (context) => context
|
|
203
|
+
});
|
|
204
|
+
function advance(cursor) {
|
|
205
|
+
while (!cursor.nextSibling()) if (!cursor.parent()) return false;
|
|
206
|
+
return true;
|
|
207
|
+
}
|
|
208
|
+
function inScope(value, context) {
|
|
209
|
+
if (context <= PENDING) return true;
|
|
210
|
+
const scope = REGISTRY_TOKEN_CHART_TYPES.get(value);
|
|
211
|
+
if (scope === void 0 || scope === "all") return true;
|
|
212
|
+
return scope.has(CHART_TYPE_IDS[context - 1]);
|
|
213
|
+
}
|
|
214
|
+
function specializeKeyword(value, stack) {
|
|
150
215
|
if (CHART_TYPES.has(value)) return ChartType;
|
|
216
|
+
if (!inScope(value, stack?.context ?? UNKNOWN))
|
|
217
|
+
return -1;
|
|
151
218
|
if (value === TAG_KEYWORD) return TagKeyword;
|
|
152
219
|
if (DIRECTIVE_KEYWORDS.has(value)) return DirectiveKeyword;
|
|
153
220
|
if (CONTROL_KEYWORDS.has(value)) return ControlKeyword;
|
|
@@ -164,6 +231,7 @@ var parser = LRParser.deserialize({
|
|
|
164
231
|
goto: "!byPPPPPPPPzPPPPPPPPPPPPPPPPPPPPPPPPP!O!UPPPP!]TSOTQTORWTSROTRURVQORT",
|
|
165
232
|
nodeNames: "\u26A0 ChartType TagKeyword DirectiveKeyword ControlKeyword ModifierKeyword Document Comment ContentLine SyncArrow AsyncArrow Duration DateLiteral Percentage Number SectionMarker Url OpenBracket CloseBracket OpenParen CloseParen OpenAngle CloseAngle Pipe Colon Comma Plus Dash Tilde Star Question QuotedString Identifier Punct",
|
|
166
233
|
maxTerm: 40,
|
|
234
|
+
context: chartTypeContext,
|
|
167
235
|
skippedNodes: [0],
|
|
168
236
|
repeatNodeCount: 2,
|
|
169
237
|
tokenData: ">w~RzOX#uXY#zYZ$VZp#upq#zqr#urs$[st#uux#uxy%eyz%lz{%s{|%z|}&R}!O&Y!O!P#u!P!Q&i!Q!['Y![!]1|!]!^#u!^!_2T!_!`2[!`!a2i!a!b2p!b!c#u!c!}2w!}#O5}#O#P#u#P#Q6S#Q#R#u#R#S2w#S#T#u#T#[2w#[#]6Z#]#o2w#o#p#u#p#q>Z#q#r#u#r#s>b#s;'S#u;'S;=`>q<%lO#u~#zOq~~$PQv~XY#zpq#z~$[Ow~~$aUq~OY$sZr$srs%Ys;'S$s;'S;=`%_<%lO$s~$vUOY$sZr$srs%Ys;'S$s;'S;=`%_<%lO$s~%_Oo~~%bP;=`<%l$s~%lOc~q~~%sOd~q~~%zOm~q~~&ROj~q~~&YOi~q~~&aPk~q~!`!a&d~&iOX~~&nPq~!P!Q&q~&vSV~OY&qZ;'S&q;'S;=`'S<%lO&q~'VP;=`<%l&q~'a_^~q~uv(`|}(e}!O)b!O!P*l!P!Q,h!Q![-R#R#S1h#U#V+g#W#X+m#[#]+m#a#b+z#e#f+m#g#h,]#k#l+m#m#n+m~(eO]~~(hP!Q![(k~(nP!Q![(q~(tP!Q![(w~(|Q^~|}(e!O!P)S~)VP!Q![)Y~)_P^~!Q![)Y~)eP!Q![)h~)mQ[~}!O)s!Q![*d~)vP!Q![)y~)|P!Q![*P~*UP[~!Q![*X~*[P!Q![*_~*dO[~~*iP[~}!O)s~*oP!Q![*r~*wY^~uv(`!Q![*r#U#V+g#W#X+m#[#]+m#a#b+z#e#f+m#g#h,]#k#l+m#m#n+m~+jP#W#X+m~+rPZ~!a!b+u~+zOZ~~,PQZ~!a!b+u#]#^,V~,YP#b#c+m~,bQZ~!a!b+u#d#e+m~,kP!Q![,n~,sQ[~!P!Q)s!Q![,y~-OP[~!P!Q)s~-W_^~uv(`|}(e}!O)b!O!P*l!P!Q,h!Q![.V#R#S1h#U#V+g#W#X+m#[#]+m#a#b+z#e#f+m#g#h,]#k#l+m#m#n+m~.[]^~uv(`|}(e!O!P*l!Q![/T#R#S1h#U#V+g#W#X+m#[#]+m#a#b+z#e#f+m#g#h,]#k#l+m#m#n+m~/Y]^~uv(`}!O0R!O!P*l!Q![0m#R#S1h#U#V+g#W#X+m#[#]+m#a#b+z#e#f+m#g#h,]#k#l+m#m#n+m~0UP!Q![0X~0[P!Q![0_~0dP[~}!O0g~0jP!Q![*X~0r[^~uv(`!O!P*l!Q![0m#R#S1h#U#V+g#W#X+m#[#]+m#a#b+z#e#f+m#g#h,]#k#l+m#m#n+m~1kP!Q![1n~1sR^~!O!P)S!Q![1n#R#S1h~2TOh~q~~2[Oe~q~~2aPq~!_!`2d~2iO_~~2pOf~q~~2wOn~q~~3O_p~q~qr3}st3}vw3}wx3}{|3}}!O5R!O!P3}!P!Q3}!Q![3}!_!`3}!a!b3}!b!c3}!c!}3}#R#S3}#T#o3}~4S_p~qr3}st3}vw3}wx3}{|3}}!O5R!O!P3}!P!Q3}!Q![3}!_!`3}!a!b3}!b!c3}!c!}3}#R#S3}#T#o3}~5U]qr3}st3}vw3}wx3}{|3}!O!P3}!P!Q3}!_!`3}!a!b3}!b!c3}!c!}3}#R#S3}#T#o3}~6SOa~~6ZOb~q~~6bap~q~qr3}st3}vw3}wx3}{|3}}!O5R!O!P3}!P!Q3}!Q![3}!_!`3}!a!b3}!b!c3}!c!}3}#R#S3}#T#h3}#h#i7g#i#o3}~7lap~qr3}st3}vw3}wx3}{|3}}!O5R!O!P3}!P!Q3}!Q![3}!_!`3}!a!b3}!b!c3}!c!}3}#R#S3}#T#h3}#h#i8q#i#o3}~8vap~qr3}st3}vw3}wx3}{|3}}!O5R!O!P3}!P!Q3}!Q![3}!_!`3}!a!b3}!b!c3}!c!}3}#R#S3}#T#d3}#d#e9{#e#o3}~:Qbp~qr3}st3}vw3}wx3}{|3}}!O5R!O!P3}!P!Q3}!Q![3}![!];Y!_!`3}!a!b3}!b!c3}!c!}3}#R#S3}#T#g3}#g#h=S#h#o3}~;]P!P!Q;`~;cP!P!Q;f~;iYOX<XZp<Xqy<Xz|<X}!`<X!a#P<X#Q#p<X#q;'S<X;'S;=`<|<%lO<X~<^Y`~OX<XZp<Xqy<Xz|<X}!`<X!a#P<X#Q#p<X#q;'S<X;'S;=`<|<%lO<X~=PP;=`<%l<X~=X`p~qr3}st3}vw3}wx3}{|3}}!O5R!O!P3}!P!Q3}!Q![3}![!];Y!_!`3}!a!b3}!b!c3}!c!}3}#R#S3}#T#o3}~>bOg~q~~>iPl~q~!`!a>l~>qOY~~>tP;=`<%l#u",
|
|
@@ -318,7 +386,7 @@ var ATTRIBUTE_KEYS = /* @__PURE__ */ new Set([
|
|
|
318
386
|
"value",
|
|
319
387
|
"label",
|
|
320
388
|
"style",
|
|
321
|
-
//
|
|
389
|
+
// Shape morph + coordinate keys (`at:` is whiteboard's position)
|
|
322
390
|
"shape",
|
|
323
391
|
"at",
|
|
324
392
|
// Treemap + boxes-and-lines + map colour-by-value channel key
|
|
@@ -1073,6 +1141,7 @@ function resolveBlockOptions(opts) {
|
|
|
1073
1141
|
dataAttributes: opts.dataAttributes ?? {},
|
|
1074
1142
|
title: opts.title,
|
|
1075
1143
|
mapData: opts.mapData,
|
|
1144
|
+
interactiveFolds: opts.interactiveFolds ?? true,
|
|
1076
1145
|
onWarn: opts.onWarn ?? ((message) => console.warn(message))
|
|
1077
1146
|
};
|
|
1078
1147
|
}
|
|
@@ -1110,7 +1179,8 @@ async function renderDgmoBlock(source, options = {}) {
|
|
|
1110
1179
|
palette: palette.id,
|
|
1111
1180
|
...override !== void 0 && { paletteOverride: override.id },
|
|
1112
1181
|
theme,
|
|
1113
|
-
...opts.mapData !== void 0 ? { mapData: opts.mapData } : {}
|
|
1182
|
+
...opts.mapData !== void 0 ? { mapData: opts.mapData } : {},
|
|
1183
|
+
...!opts.interactiveFolds && { interactiveFolds: false }
|
|
1114
1184
|
});
|
|
1115
1185
|
chartType = r.chartType;
|
|
1116
1186
|
diagnostics.push(...r.diagnostics);
|
|
@@ -1206,5 +1276,6 @@ export {
|
|
|
1206
1276
|
EDITOR_BASE_URL,
|
|
1207
1277
|
buildDgmoBlockHtml,
|
|
1208
1278
|
errorBlockHtml,
|
|
1279
|
+
foldAtLine,
|
|
1209
1280
|
renderDgmoBlock
|
|
1210
1281
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
calculateSchedule
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TDUBTDXS.js";
|
|
4
4
|
import "./chunk-EQW6HOP4.js";
|
|
5
5
|
import "./chunk-NOTA6TEI.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-RFGQDIOI.js";
|
|
7
7
|
import "./chunk-3J7O3CU6.js";
|
|
8
8
|
import "./chunk-BYU54C3S.js";
|
|
9
9
|
import "./chunk-YLJ4XMA6.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as PaletteColors } from './chart-types-
|
|
1
|
+
import { c as PaletteColors } from './chart-types-Dxtv4XSz.js';
|
|
2
2
|
import { T as TagGroup, D as DgmoError } from './tag-groups-DydewK3D.js';
|
|
3
3
|
|
|
4
4
|
/** Convert hex (#RRGGBB or #RGB) to { h, s, l } with h in degrees, s/l as percentages. */
|
|
@@ -179,6 +179,8 @@ interface RaciPhase {
|
|
|
179
179
|
readonly tasks: readonly RaciTask[];
|
|
180
180
|
readonly lineNumber: number;
|
|
181
181
|
readonly endLineNumber: number;
|
|
182
|
+
/** Source `collapsed` marker on the `[Phase]` header line (#1741). */
|
|
183
|
+
readonly collapsed?: boolean;
|
|
182
184
|
}
|
|
183
185
|
/** Top-level parse result. */
|
|
184
186
|
interface ParsedRaci {
|
package/dist/chart-meta.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { a as ChartTypeId, b as ChartTypeMeta, C as CompactViewState, D as DecodedDiagramUrl, E as EncodeDiagramUrlOptions, e as EncodeDiagramUrlResult, c as PaletteColors, d as chartTypes, f as decodeDiagramUrl, h as decodeViewState, i as encodeDiagramUrl, j as encodeViewState, k as getAvailablePalettes, g as getPalette } from './chart-types-
|
|
2
|
-
export { A as ALL_CHART_TYPES, O as OrgNode, P as ParsedOrg, l as hexToHSLString, o as normalizePertSourceForShare, p as parseDgmoChartType, q as parseFirstLine, r as parseOrg, s as parseRaci, t as resolveOrgImports } from './chart-meta-
|
|
1
|
+
export { a as ChartTypeId, b as ChartTypeMeta, C as CompactViewState, D as DecodedDiagramUrl, E as EncodeDiagramUrlOptions, e as EncodeDiagramUrlResult, c as PaletteColors, d as chartTypes, f as decodeDiagramUrl, h as decodeViewState, i as encodeDiagramUrl, j as encodeViewState, k as getAvailablePalettes, g as getPalette } from './chart-types-Dxtv4XSz.js';
|
|
2
|
+
export { A as ALL_CHART_TYPES, O as OrgNode, P as ParsedOrg, l as hexToHSLString, o as normalizePertSourceForShare, p as parseDgmoChartType, q as parseFirstLine, r as parseOrg, s as parseRaci, t as resolveOrgImports } from './chart-meta-B7niEd52.js';
|
|
3
3
|
import './tag-groups-DydewK3D.js';
|
package/dist/chart-meta.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizePertSourceForShare,
|
|
3
3
|
resolveOrgImports
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EUPUVYWO.js";
|
|
5
5
|
import {
|
|
6
6
|
decodeDiagramUrl,
|
|
7
7
|
decodeViewState,
|
|
@@ -10,51 +10,51 @@ import {
|
|
|
10
10
|
} from "./chunk-6OSGENN5.js";
|
|
11
11
|
import {
|
|
12
12
|
parseDgmoChartType
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XEMCNQQW.js";
|
|
14
14
|
import {
|
|
15
15
|
parseRaci
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-6PUBFB6D.js";
|
|
17
|
+
import "./chunk-KMB754DO.js";
|
|
18
|
+
import "./chunk-CUTEHGXO.js";
|
|
19
|
+
import "./chunk-2SKMEL7V.js";
|
|
20
|
+
import "./chunk-65JFUANT.js";
|
|
21
|
+
import "./chunk-ROH4LYBL.js";
|
|
19
22
|
import {
|
|
20
23
|
parseOrg
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-IY62DXT2.js";
|
|
24
|
+
} from "./chunk-YCIBBVI2.js";
|
|
25
|
+
import "./chunk-WXGFB2O2.js";
|
|
26
|
+
import "./chunk-EQW6HOP4.js";
|
|
27
|
+
import "./chunk-IAM3IDL4.js";
|
|
26
28
|
import "./chunk-TIVMAITN.js";
|
|
27
|
-
import "./chunk-LJGE43SG.js";
|
|
28
29
|
import "./chunk-NXMESY4J.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-PSNRB75I.js";
|
|
30
31
|
import "./chunk-MKSTL6DR.js";
|
|
31
32
|
import "./chunk-CYTFO2LF.js";
|
|
32
|
-
import "./chunk-S4SJ4LLY.js";
|
|
33
33
|
import "./chunk-C3Z4DX3V.js";
|
|
34
34
|
import "./chunk-IYULMRBE.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-H7DZYHQF.js";
|
|
36
36
|
import "./chunk-GXCDD6NG.js";
|
|
37
37
|
import {
|
|
38
38
|
getAvailablePalettes,
|
|
39
39
|
getPalette
|
|
40
40
|
} from "./chunk-FMAVHTYB.js";
|
|
41
41
|
import "./chunk-N7VMGZCU.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-4TK26YHH.js";
|
|
43
43
|
import "./chunk-NOTA6TEI.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-CLW45YKE.js";
|
|
45
45
|
import "./chunk-7WEYXYLC.js";
|
|
46
46
|
import "./chunk-QKPOIJBT.js";
|
|
47
47
|
import "./chunk-ICLB27PZ.js";
|
|
48
48
|
import "./chunk-4WW3SGMH.js";
|
|
49
49
|
import "./chunk-3UR4F7FE.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-KW3CC7SB.js";
|
|
51
51
|
import {
|
|
52
52
|
ALL_CHART_TYPES,
|
|
53
53
|
chartTypes,
|
|
54
54
|
parseFirstLine
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-RFGQDIOI.js";
|
|
56
56
|
import "./chunk-Z6QFHH4D.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-PU5X3P3T.js";
|
|
58
58
|
import {
|
|
59
59
|
hexToHSLString
|
|
60
60
|
} from "./chunk-6GXLAKUH.js";
|
|
@@ -297,6 +297,9 @@ declare const chartTypesData: readonly [{
|
|
|
297
297
|
}, {
|
|
298
298
|
readonly id: "kanban";
|
|
299
299
|
readonly description: "Task board columns";
|
|
300
|
+
}, {
|
|
301
|
+
readonly id: "swot";
|
|
302
|
+
readonly description: "SWOT analysis: strengths, weaknesses, opportunities and threats in four fixed panels on helpful/harmful and internal/external axes";
|
|
300
303
|
}, {
|
|
301
304
|
readonly id: "raci";
|
|
302
305
|
readonly description: "Tasks × roles responsibility matrix with constraint linting";
|
|
@@ -324,13 +327,9 @@ declare const chartTypesData: readonly [{
|
|
|
324
327
|
}, {
|
|
325
328
|
readonly id: "block";
|
|
326
329
|
readonly description: "Block diagram: an author-controlled grid of rectangular blocks with nested, collapsible containers — system/hardware/architecture layouts where the 2-D arrangement is the meaning";
|
|
327
|
-
}, {
|
|
328
|
-
readonly id: "sketch";
|
|
329
|
-
readonly description: "GUI-first constrained canvas: uniformly-sized shapes placed freely on a snap grid, arrows between them, meaning through tags — the markup is generated by the canvas editor";
|
|
330
|
-
readonly beta: true;
|
|
331
330
|
}, {
|
|
332
331
|
readonly id: "whiteboard";
|
|
333
|
-
readonly description: "Free-form whiteboard on an infinite canvas: rectangles, ellipses, databases, queues, free arrows, text, pasted images and freehand ink at pixel positions — drawn in the canvas; AI writes shapes, arrows and text, never ink";
|
|
332
|
+
readonly description: "Free-form whiteboard on an infinite canvas: rectangles, ellipses, databases, queues, files, free arrows, text, pasted images and freehand ink at pixel positions — drawn in the canvas; AI writes shapes, arrows and text, never ink";
|
|
334
333
|
readonly beta: true;
|
|
335
334
|
}, {
|
|
336
335
|
readonly id: "goal";
|
|
@@ -2,25 +2,25 @@ import {
|
|
|
2
2
|
D3_DATA_CHART_TYPES,
|
|
3
3
|
renderDataChartD3,
|
|
4
4
|
supportsD3DataChart
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-XCYGOCMS.js";
|
|
6
|
+
import "./chunk-YSDSFXQD.js";
|
|
7
|
+
import "./chunk-WPYJAHRP.js";
|
|
8
|
+
import "./chunk-K7RRXZHS.js";
|
|
9
|
+
import "./chunk-YIHRLY55.js";
|
|
10
10
|
import "./chunk-2CW5ZTNH.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-Q5Q5JLRT.js";
|
|
12
|
+
import "./chunk-YLKPRT6U.js";
|
|
13
|
+
import "./chunk-REKLKGR6.js";
|
|
14
|
+
import "./chunk-GULGSH2Z.js";
|
|
15
|
+
import "./chunk-VVL2KKG4.js";
|
|
16
16
|
import "./chunk-GXCDD6NG.js";
|
|
17
17
|
import "./chunk-FMAVHTYB.js";
|
|
18
18
|
import "./chunk-ICLB27PZ.js";
|
|
19
19
|
import "./chunk-3UR4F7FE.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-KW3CC7SB.js";
|
|
21
|
+
import "./chunk-RFGQDIOI.js";
|
|
22
|
+
import "./chunk-OZXKW5NA.js";
|
|
23
|
+
import "./chunk-PU5X3P3T.js";
|
|
24
24
|
import "./chunk-6GXLAKUH.js";
|
|
25
25
|
import "./chunk-3J7O3CU6.js";
|
|
26
26
|
import "./chunk-BYU54C3S.js";
|