@diagrammo/dgmo 0.78.0 → 0.80.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/dist/advanced.d.ts +272 -31
- package/dist/advanced.js +138 -123
- package/dist/{analyzer-QTDQEMS5.js → analyzer-NK3B6G2A.js} +3 -3
- package/dist/block.d.ts +2 -2
- package/dist/block.js +60 -60
- package/dist/calculator-ZW6DFOKR.js +13 -0
- package/dist/{chart-meta-BKN2ORkc.d.ts → chart-meta-B9RCaVah.d.ts} +2 -2
- package/dist/chart-meta.d.ts +3 -3
- package/dist/chart-meta.js +49 -48
- package/dist/charts-d3-ONIU5QN3.js +31 -0
- package/dist/{chunk-GINNZHVN.js → chunk-23MSLKPP.js} +5 -5
- package/dist/{chunk-AHN2CVCH.js → chunk-25HKORHH.js} +25 -13
- package/dist/{chunk-KGX5LIUG.js → chunk-2EBEML6J.js} +5 -5
- package/dist/{chunk-LMWXBFLA.js → chunk-2R2M2C6V.js} +2 -2
- package/dist/{chunk-57GSSHBR.js → chunk-2TTDR565.js} +4 -4
- package/dist/{chunk-LKS56RDT.js → chunk-37HNPLQA.js} +3 -3
- package/dist/{chunk-QVMV4KCA.js → chunk-3AWWQ2AI.js} +7 -7
- package/dist/{chunk-VBJCGGNF.js → chunk-3KGW6JUX.js} +3 -3
- package/dist/{chunk-RIXWLFB4.js → chunk-3MJ6ME2I.js} +3 -3
- package/dist/{chunk-3OWIYK52.js → chunk-3MNFBPFK.js} +4 -4
- package/dist/{chunk-XOGQY4EC.js → chunk-3NGB6XAX.js} +2 -2
- package/dist/{chunk-RUNI4OXP.js → chunk-3QC5FKYN.js} +8 -8
- package/dist/{chunk-7BMX2M3F.js → chunk-3VUWBXW2.js} +3 -3
- package/dist/{chunk-U4ND3J6C.js → chunk-3Y34QEEO.js} +6 -6
- package/dist/{chunk-NS3KIRSW.js → chunk-4ROEQ3XT.js} +15 -6
- package/dist/{chunk-UCZBRGJN.js → chunk-54E35DTP.js} +3 -3
- package/dist/{chunk-6B3M6LW6.js → chunk-5ACSKJD7.js} +4 -4
- package/dist/{chunk-LEBPWFVF.js → chunk-5EWJQARG.js} +51 -31
- package/dist/{chunk-ZMCFUGKO.js → chunk-5SKRHMWF.js} +9 -9
- package/dist/{chunk-GJH7ZEPH.js → chunk-6X4LJNV6.js} +24 -14
- package/dist/{chunk-NVOU7N6C.js → chunk-7DCM3CB5.js} +2 -2
- package/dist/{chunk-RC6GGF6X.js → chunk-7EHMSQVV.js} +5 -5
- package/dist/{chunk-Y2CYNRL7.js → chunk-7TTKMWTA.js} +3 -3
- package/dist/{chunk-GQEXY7XL.js → chunk-A57MQC7M.js} +3 -3
- package/dist/{chunk-MSVQ2YCY.js → chunk-ALKJBGIV.js} +2 -2
- package/dist/{chunk-X326N4GN.js → chunk-APL3HWFJ.js} +4 -4
- package/dist/{chunk-YVLTNNME.js → chunk-ARUQ55BK.js} +11 -2
- package/dist/{chunk-3XFOE3DQ.js → chunk-ASJM3OD6.js} +4 -4
- package/dist/{chunk-XDPJMLOH.js → chunk-AT5NLMH3.js} +16 -14
- package/dist/{chunk-6VTLVU7D.js → chunk-B66G5S4G.js} +4 -4
- package/dist/{chunk-7BNRHSSF.js → chunk-BKM2CJBC.js} +5 -5
- package/dist/{chunk-JOD2CK2M.js → chunk-BXRXX5PV.js} +8 -8
- package/dist/{chunk-VAA7QSZ7.js → chunk-CBLAF2JI.js} +7 -7
- package/dist/{chunk-IE47TYZT.js → chunk-CEIDIAVR.js} +108 -107
- package/dist/{chunk-GRN44Z6A.js → chunk-CS23VOZW.js} +3 -3
- package/dist/{chunk-L26M3X7K.js → chunk-DL52PKLV.js} +9 -9
- package/dist/{chunk-PIWUZFG7.js → chunk-E52IYUSJ.js} +14 -14
- package/dist/{chunk-L65WI4HO.js → chunk-EDU2OCIQ.js} +2 -2
- package/dist/{chunk-4AWLEWSD.js → chunk-F66R7CPY.js} +2 -2
- package/dist/{chunk-U2JIFCJN.js → chunk-FEKYZEYF.js} +17 -20
- package/dist/{chunk-CYLSQO4L.js → chunk-FHK5FRAN.js} +10 -11
- package/dist/{chunk-HHHYVTVS.js → chunk-FU4XFZN6.js} +7 -7
- package/dist/{chunk-B6PVPAS5.js → chunk-GCW3FSLR.js} +15 -6
- package/dist/{chunk-FLMXJMMY.js → chunk-GJ6XD5T7.js} +4 -4
- package/dist/{chunk-IMO46ROR.js → chunk-GLWIOOYS.js} +4 -4
- package/dist/{chunk-M3LZCDB6.js → chunk-GNQAHN6H.js} +11 -11
- package/dist/{chunk-A7Y32YD6.js → chunk-H4YK6Q7A.js} +21 -8
- package/dist/{chunk-OKXWPKUC.js → chunk-HFIS5H44.js} +4 -4
- package/dist/{chunk-36UQ77JV.js → chunk-HQR67NIZ.js} +11 -11
- package/dist/{chunk-67I3HFSF.js → chunk-HVNIHFEC.js} +5 -5
- package/dist/{chunk-3ZLQM6XN.js → chunk-I26QNBHS.js} +4 -4
- package/dist/{chunk-CRLVJZWX.js → chunk-I7BVPBPI.js} +3 -3
- package/dist/{chunk-KWSBNLSC.js → chunk-IHOX6RQZ.js} +3 -3
- package/dist/{chunk-IHOFUR74.js → chunk-IMA4D3ZK.js} +3 -3
- package/dist/{chunk-KO6DGOOB.js → chunk-ITLDMXEP.js} +2 -2
- package/dist/{chunk-QAPFXLAC.js → chunk-J5FSJRQN.js} +4 -4
- package/dist/{chunk-KAZQX2EY.js → chunk-JN3OA44O.js} +4 -4
- package/dist/{chunk-P2DM7Q5U.js → chunk-JOGEEMMO.js} +4 -4
- package/dist/{chunk-AN7T6VP7.js → chunk-JSQTQSZG.js} +6 -3
- package/dist/{chunk-2NLBIZEW.js → chunk-JSQXK2X7.js} +4 -4
- package/dist/{chunk-UCF6TKWV.js → chunk-JV457OT7.js} +7 -7
- package/dist/{chunk-GOW5VO6M.js → chunk-KHRZCKKG.js} +2 -2
- package/dist/{chunk-BJB4YDJP.js → chunk-KJKJTU6T.js} +11 -11
- package/dist/{chunk-IDGQB6XD.js → chunk-KKCWYBAG.js} +3 -3
- package/dist/{chunk-BSREARWG.js → chunk-KPXBNN3T.js} +9 -9
- package/dist/{chunk-MJYFPFZT.js → chunk-KW4QWOQH.js} +11 -11
- package/dist/{chunk-BB2ORSTF.js → chunk-KY2MOVRQ.js} +13 -13
- package/dist/{chunk-3GLTQZKE.js → chunk-LA4FDGQO.js} +5 -5
- package/dist/{chunk-R4YGH7DJ.js → chunk-LDJFPEQ5.js} +32 -5
- package/dist/{chunk-RC3FM3FE.js → chunk-LH77K2ZK.js} +4 -4
- package/dist/{chunk-32VR65TL.js → chunk-MGSOMBL3.js} +35 -18
- package/dist/{chunk-TLM3I4XF.js → chunk-MJEVGZDJ.js} +25 -12
- package/dist/{chunk-TO6TWNMF.js → chunk-MOVUBLAT.js} +4 -4
- package/dist/{chunk-5G55TS3H.js → chunk-MY23CJEU.js} +4 -4
- package/dist/{chunk-YKDZ3ZRI.js → chunk-NODI5ZNG.js} +12 -12
- package/dist/{chunk-4IGUEGD6.js → chunk-NZCJAJEY.js} +37 -13
- package/dist/{chunk-6Z2NUJSX.js → chunk-O4CG5ZRH.js} +14 -10
- package/dist/{chunk-5SI6T5A5.js → chunk-OAQE624Z.js} +2 -1
- package/dist/{chunk-M5OOAP65.js → chunk-OD42CAXD.js} +4 -3
- package/dist/{chunk-DGPFFRLS.js → chunk-PHMYEHLS.js} +2 -2
- package/dist/{chunk-JUNTVLOU.js → chunk-PN2WBRWF.js} +6 -6
- package/dist/{chunk-P64NBPSK.js → chunk-PPII63O6.js} +5 -5
- package/dist/{chunk-3SQJZMPO.js → chunk-PREUTERU.js} +2 -2
- package/dist/{chunk-TN754B3R.js → chunk-PYX7QA7B.js} +5 -5
- package/dist/{chunk-ENDB5YSV.js → chunk-Q3DEISTC.js} +24 -30
- package/dist/{chunk-LTTZX6RD.js → chunk-QMBVPA4R.js} +7 -7
- package/dist/{chunk-FJADQOFQ.js → chunk-QQLY52Q7.js} +5 -5
- package/dist/{chunk-VS2M72PF.js → chunk-RLJKH4ZO.js} +4 -2
- package/dist/{chunk-BPM52K3Z.js → chunk-RNLPI5PL.js} +32 -9
- package/dist/{chunk-EOB7XVYR.js → chunk-RVWWCQAB.js} +2 -2
- package/dist/{chunk-DCPD5SHV.js → chunk-S7QQ4U5O.js} +3 -3
- package/dist/{chunk-SNBEAO4Q.js → chunk-SF3RXIIM.js} +8 -8
- package/dist/{chunk-NWNSXHA5.js → chunk-SH6QDU4T.js} +6 -6
- package/dist/{chunk-SXD6VY7D.js → chunk-SJWLAA3G.js} +10 -10
- package/dist/{chunk-RHZZVIGA.js → chunk-THHXUZTB.js} +5 -5
- package/dist/{chunk-IZTU6WVR.js → chunk-TR5BFNRR.js} +2 -2
- package/dist/{chunk-76NHL5UG.js → chunk-TU5ZNZWE.js} +3 -3
- package/dist/{chunk-CTERZC4K.js → chunk-TZZ3CSDF.js} +4 -4
- package/dist/{chunk-VUJQ6RU6.js → chunk-U3BJC66Q.js} +4 -4
- package/dist/{chunk-P4SQV3XD.js → chunk-U3IPFKK7.js} +3 -3
- package/dist/{chunk-MFK7LF66.js → chunk-UDUJVGCZ.js} +3 -3
- package/dist/{chunk-7WTFX6OA.js → chunk-V4IRPJ6J.js} +3 -3
- package/dist/{chunk-7NNJXYXU.js → chunk-VHFZK72U.js} +4 -4
- package/dist/{chunk-VSPNH7LC.js → chunk-VLC6WNRD.js} +3 -1
- package/dist/{chunk-7SMVTA7I.js → chunk-VPSZKOKK.js} +243 -45
- package/dist/{chunk-UQY2VLUK.js → chunk-VPVSERIN.js} +8 -8
- package/dist/{chunk-E6PNTYRK.js → chunk-VS5WMPWM.js} +2 -2
- package/dist/{chunk-UDYJVX6Y.js → chunk-VZPVMHLL.js} +6 -6
- package/dist/{chunk-LGI735AJ.js → chunk-W6DBWWPC.js} +2 -2
- package/dist/{chunk-SFSJ6XWV.js → chunk-WM2CR4NX.js} +8 -8
- package/dist/{chunk-XCR3PDFF.js → chunk-WRQ54IZS.js} +5 -5
- package/dist/{chunk-M526IKKH.js → chunk-WT65QX7I.js} +4 -4
- package/dist/{chunk-N56W4R66.js → chunk-WV3RUC2Z.js} +5 -5
- package/dist/{chunk-SH4PPRU7.js → chunk-X36EJABT.js} +3 -3
- package/dist/{chunk-NN5IDH2I.js → chunk-XH4JUOYQ.js} +4 -4
- package/dist/{chunk-VZD3ZV4Y.js → chunk-XPINVXMF.js} +12 -12
- package/dist/{chunk-MTGGOCND.js → chunk-YC6GVLTI.js} +61 -10
- package/dist/{chunk-6PHOZBW5.js → chunk-YD2HPT7W.js} +2 -2
- package/dist/{chunk-ZGOBAMQ2.js → chunk-Z6N3O2OV.js} +11 -11
- package/dist/{chunk-VQGQF7O7.js → chunk-ZV5FSZ3W.js} +5 -5
- package/dist/{chunk-P54AX5XN.js → chunk-ZVGKM3UB.js} +6 -6
- package/dist/completion-registry.js +6 -6
- package/dist/{d3-CQT5bwpb.d.ts → d3-CTGUvjsH.d.ts} +1 -1
- package/dist/dgmo-router-62TSED7N.js +91 -0
- package/dist/{dgmo-router-C9CsswPZ.d.ts → dgmo-router-DNmcIut1.d.ts} +1 -1
- package/dist/dimensions-IGSAMCMH.js +22 -0
- package/dist/flowchart-parser-N4DNK6U6.js +21 -0
- package/dist/{flowchart-renderer-FDJ4QQXE.js → flowchart-renderer-NVBCUI2C.js} +15 -15
- package/dist/index.d.ts +7 -8
- package/dist/index.js +65 -247
- package/dist/{layout-5DZ2LI2R.js → layout-25CSTO66.js} +3 -3
- package/dist/layout-4KIWCVYT.js +16 -0
- package/dist/{layout-TCFXB5XH.js → layout-6ISNEL7W.js} +7 -7
- package/dist/{layout-CHWKNE3O.js → layout-FCIYZV63.js} +3 -3
- package/dist/{layout-YVY72CIG.js → layout-FG2MPG22.js} +7 -7
- package/dist/{layout-C2SCZV5M.js → layout-FQUQ6GHB.js} +9 -9
- package/dist/{layout-4LNMXLVK.js → layout-J2Z2SYH5.js} +3 -3
- package/dist/{layout-S53FSD6R.js → layout-QT7YRV3G.js} +7 -7
- package/dist/layout-SUIUWHQ5.js +16 -0
- package/dist/layout-SUND6B7D.js +9 -0
- package/dist/layout-TIF77QX4.js +19 -0
- package/dist/{layout-SGYR6HBX.js → layout-XAJLQPI6.js} +3 -3
- package/dist/layout-XTUGQPCZ.js +16 -0
- package/dist/{layout-6I6LSBUR.js → layout-YTNWNFDY.js} +9 -9
- package/dist/{layout-search-TSV4FURP.js → layout-search-GWCIKHO4.js} +7 -7
- package/dist/{legend-constants-SB4PLHV5.js → legend-constants-EDMTP4Y6.js} +6 -6
- package/dist/{palettes-YIPSRYXP.js → palettes-M6T5ENBU.js} +4 -4
- package/dist/parser-2A6KJT2A.js +12 -0
- package/dist/parser-2QAQWYUX.js +14 -0
- package/dist/{parser-WQNT7T2P.js → parser-2U3LTE3M.js} +5 -5
- package/dist/parser-2XE7VVEH.js +17 -0
- package/dist/{parser-6ZFQLLVE.js → parser-3GDLKPTU.js} +5 -5
- package/dist/parser-4UYQVTIR.js +12 -0
- package/dist/{parser-62VNEQRT.js → parser-5GVHFVVE.js} +6 -6
- package/dist/parser-5OM26GJZ.js +13 -0
- package/dist/parser-7A2HY3QJ.js +12 -0
- package/dist/parser-7DPIIILN.js +11 -0
- package/dist/parser-AT4F7FNV.js +15 -0
- package/dist/parser-AVMGVOPJ.js +11 -0
- package/dist/parser-CUZY3OK3.js +11 -0
- package/dist/parser-DFRYG3YK.js +20 -0
- package/dist/parser-HHHINIOH.js +15 -0
- package/dist/parser-IIM3B3DJ.js +13 -0
- package/dist/parser-J3JKGPH5.js +17 -0
- package/dist/parser-JLJWN5O2.js +11 -0
- package/dist/parser-K7B6OCJA.js +13 -0
- package/dist/{parser-3UNIPVNY.js → parser-M2TYYS2M.js} +7 -7
- package/dist/parser-M6X5IDP4.js +13 -0
- package/dist/parser-MAI2Q4A3.js +15 -0
- package/dist/{parser-BOPXE6RP.js → parser-N7FNNO2X.js} +6 -6
- package/dist/parser-NBSXY4LA.js +16 -0
- package/dist/{parser-4IHIVDJD.js → parser-O2YCFUZD.js} +7 -7
- package/dist/{parser-GKZWI5SZ.js → parser-PXGN5EEQ.js} +7 -7
- package/dist/parser-QEKXLSTK.js +19 -0
- package/dist/parser-QF722VMI.js +11 -0
- package/dist/parser-RC5JWJPX.js +16 -0
- package/dist/parser-SETVYTVM.js +14 -0
- package/dist/parser-TBKPRT33.js +18 -0
- package/dist/parser-WMKP2QI5.js +13 -0
- package/dist/parser-XI6KXGYB.js +11 -0
- package/dist/pert.d.ts +11 -0
- package/dist/renderer-2BB7NQOL.js +23 -0
- package/dist/renderer-2PKBM4AN.js +78 -0
- package/dist/renderer-3BDL37LP.js +27 -0
- package/dist/renderer-3NFIC7UT.js +25 -0
- package/dist/renderer-4PUPRFGG.js +28 -0
- package/dist/{renderer-FFGFTIT4.js → renderer-62CDL6X6.js} +15 -15
- package/dist/renderer-AFND3S3N.js +36 -0
- package/dist/renderer-AOL3X2AT.js +25 -0
- package/dist/renderer-AVSNWMQK.js +30 -0
- package/dist/{renderer-JC7MK7SD.js → renderer-HK3IPHLE.js} +6 -6
- package/dist/renderer-HLTZHXTP.js +24 -0
- package/dist/renderer-HVOZIG5Y.js +31 -0
- package/dist/{renderer-LGMIAG6N.js → renderer-HXRAKW5U.js} +5 -5
- package/dist/renderer-IIULR7PP.js +21 -0
- package/dist/renderer-IOPZ7CPD.js +27 -0
- package/dist/renderer-IRLNJRM6.js +27 -0
- package/dist/{renderer-AIVALEQR.js → renderer-IUX7EYDO.js} +8 -8
- package/dist/{renderer-KWNNWCGD.js → renderer-LIY43V2Z.js} +6 -6
- package/dist/renderer-LR2KSRCY.js +16 -0
- package/dist/renderer-M4NZDCFW.js +39 -0
- package/dist/renderer-MB2LMVEH.js +25 -0
- package/dist/renderer-N37MV6QX.js +30 -0
- package/dist/renderer-O3EM5RPJ.js +17 -0
- package/dist/renderer-PK64F2M2.js +20 -0
- package/dist/renderer-QKE4VHWG.js +35 -0
- package/dist/renderer-TNAPPEDK.js +29 -0
- package/dist/renderer-TQ7V2TGU.js +23 -0
- package/dist/renderer-VF4FR5SE.js +26 -0
- package/dist/{renderer-J7J3OVLQ.js → renderer-VMN4Q7G7.js} +17 -17
- package/dist/{renderer-JHQC5RGJ.js → renderer-W3TZYI5A.js} +15 -15
- package/dist/renderer-W72M5ZHU.js +39 -0
- package/dist/renderer-X4WS62JV.js +28 -0
- package/dist/renderer-YXS7GHVI.js +20 -0
- package/dist/renderer-radial-Q2SLYC4M.js +21 -0
- package/dist/{resolver-H5E6V7LJ.js → resolver-7GHPU2SV.js} +3 -3
- package/dist/state-parser-ZP7EAX7V.js +19 -0
- package/dist/state-renderer-Y6CCWLVQ.js +41 -0
- package/dist/{tag-groups-BoJg3lFV.d.ts → tag-groups-CFxENdtP.d.ts} +37 -1
- package/dist/{themes-CXYnNA4e.d.ts → themes-D_o7JLlR.d.ts} +2 -2
- package/docs/language-reference.md +7 -1
- package/package.json +6 -6
- package/dist/calculator-CVQ54JNE.js +0 -13
- package/dist/charts-d3-KEQ7XVSM.js +0 -31
- package/dist/dgmo-router-XZNCLYTV.js +0 -90
- package/dist/dimensions-SIZMZ4DC.js +0 -22
- package/dist/flowchart-parser-NVBP3C5D.js +0 -21
- package/dist/layout-IN53LAE6.js +0 -9
- package/dist/layout-K4KML2DL.js +0 -19
- package/dist/layout-XK6ZD7BU.js +0 -16
- package/dist/layout-YY6VH5XH.js +0 -16
- package/dist/layout-ZDN252GR.js +0 -16
- package/dist/parser-2BX2EJUB.js +0 -17
- package/dist/parser-3KQONLXZ.js +0 -11
- package/dist/parser-4DLU4SNG.js +0 -11
- package/dist/parser-4KFJKLP2.js +0 -11
- package/dist/parser-6JNJHQAG.js +0 -14
- package/dist/parser-B2XQNHZM.js +0 -11
- package/dist/parser-DFBQ2RID.js +0 -15
- package/dist/parser-EPKXJ2RL.js +0 -16
- package/dist/parser-F4ZKDGUZ.js +0 -12
- package/dist/parser-G7E2BURB.js +0 -13
- package/dist/parser-GFGU5ZLQ.js +0 -17
- package/dist/parser-H4ZUNLX4.js +0 -15
- package/dist/parser-HSPODF4H.js +0 -15
- package/dist/parser-IK3FXZ7D.js +0 -20
- package/dist/parser-LJWPKRDM.js +0 -13
- package/dist/parser-OYWUBQV4.js +0 -12
- package/dist/parser-PD4TP6NM.js +0 -13
- package/dist/parser-R2JHC7LQ.js +0 -12
- package/dist/parser-RMZ6YI7H.js +0 -13
- package/dist/parser-RUJNN5PK.js +0 -18
- package/dist/parser-WCFG3DZA.js +0 -11
- package/dist/parser-XVSDFO56.js +0 -11
- package/dist/parser-YWE7GHW6.js +0 -13
- package/dist/parser-Z5UK6ADF.js +0 -14
- package/dist/parser-ZO5YT5SV.js +0 -16
- package/dist/parser-ZYAFHXKQ.js +0 -19
- package/dist/renderer-5TPUPMZ7.js +0 -26
- package/dist/renderer-AMELXBNW.js +0 -23
- package/dist/renderer-BF7FYXG3.js +0 -25
- package/dist/renderer-CRRW7LTW.js +0 -17
- package/dist/renderer-CXU2MGSC.js +0 -27
- package/dist/renderer-DI66RLAG.js +0 -30
- package/dist/renderer-E2JTYQY5.js +0 -39
- package/dist/renderer-FA4BTAOL.js +0 -20
- package/dist/renderer-IVAM7Z3Y.js +0 -27
- package/dist/renderer-J6HK2KOW.js +0 -23
- package/dist/renderer-JRITSZY3.js +0 -28
- package/dist/renderer-KD5X4RIS.js +0 -35
- package/dist/renderer-LQN3FXAP.js +0 -77
- package/dist/renderer-LRL4SU43.js +0 -29
- package/dist/renderer-MBL64AJI.js +0 -24
- package/dist/renderer-NA3DTAWF.js +0 -39
- package/dist/renderer-OR5QHR7X.js +0 -31
- package/dist/renderer-SBVWHQVW.js +0 -30
- package/dist/renderer-TLOSBJKW.js +0 -36
- package/dist/renderer-UDWJRRIC.js +0 -27
- package/dist/renderer-VHK6UAW2.js +0 -20
- package/dist/renderer-W5UG2HWT.js +0 -16
- package/dist/renderer-WOOKJOBQ.js +0 -25
- package/dist/renderer-WYNLGZRF.js +0 -25
- package/dist/renderer-Y74Y54C3.js +0 -21
- package/dist/renderer-ZUAXGHFC.js +0 -28
- package/dist/renderer-radial-YVUDGR7C.js +0 -21
- package/dist/state-parser-CT5HQQ7E.js +0 -19
- package/dist/state-renderer-7O3QGNJ5.js +0 -41
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
stripDefaultModifier,
|
|
10
10
|
tagAttrKey,
|
|
11
11
|
validateTagGroupNames
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LDJFPEQ5.js";
|
|
13
13
|
import {
|
|
14
14
|
AliasRegistry,
|
|
15
15
|
KANBAN_REGISTRY,
|
|
@@ -22,16 +22,16 @@ import {
|
|
|
22
22
|
splitNameAndMeta,
|
|
23
23
|
warnUnknownMetaKeys,
|
|
24
24
|
withTagAliases
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-OD42CAXD.js";
|
|
26
26
|
import {
|
|
27
27
|
resolveColorWithDiagnostic
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3NGB6XAX.js";
|
|
29
29
|
import {
|
|
30
30
|
formatDgmoError,
|
|
31
31
|
makeDgmoError,
|
|
32
32
|
makeFail,
|
|
33
33
|
suggest
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-OAQE624Z.js";
|
|
35
35
|
|
|
36
36
|
// src/kanban/parser.ts
|
|
37
37
|
var COLUMN_RE = /^\[(.+?)\]\s*(.*)$/;
|
|
@@ -400,4 +400,4 @@ function parseCardLine(trimmed, lineNumber, counter, metaAliasMap, _palette, dia
|
|
|
400
400
|
export {
|
|
401
401
|
parseKanban
|
|
402
402
|
};
|
|
403
|
-
//# sourceMappingURL=chunk-
|
|
403
|
+
//# sourceMappingURL=chunk-LA4FDGQO.js.map
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
peelQuotedName,
|
|
3
3
|
stripQuotes,
|
|
4
4
|
tokenizeQuoteAware
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OD42CAXD.js";
|
|
6
6
|
import {
|
|
7
7
|
CATEGORICAL_COLOR_ORDER,
|
|
8
8
|
RECOGNIZED_COLOR_NAMES,
|
|
9
9
|
resolveColor
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3NGB6XAX.js";
|
|
11
11
|
import {
|
|
12
12
|
suggest
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OAQE624Z.js";
|
|
14
14
|
|
|
15
15
|
// src/utils/tag-groups.ts
|
|
16
16
|
function tagAttrKey(name) {
|
|
@@ -133,13 +133,38 @@ function parseTagDeclaration(line) {
|
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
135
|
var UNTAGGED_TAG_COLOR = "#999999";
|
|
136
|
-
function
|
|
136
|
+
function resolveGroupTagColor(metadata, tagGroups, activeGroupName) {
|
|
137
|
+
if (!metadata || Object.keys(metadata).length === 0) return void 0;
|
|
138
|
+
const color = resolveTagColor(
|
|
139
|
+
{ ...metadata },
|
|
140
|
+
[...tagGroups],
|
|
141
|
+
activeGroupName,
|
|
142
|
+
true
|
|
143
|
+
);
|
|
144
|
+
return color && color !== UNTAGGED_TAG_COLOR ? color : void 0;
|
|
145
|
+
}
|
|
146
|
+
function resolveTagValue(metadata, tagGroups, activeGroupName, isContainer) {
|
|
137
147
|
if (!activeGroupName) return void 0;
|
|
138
148
|
const group = tagGroups.find(
|
|
139
149
|
(g) => tagAttrKey(g.name) === tagAttrKey(activeGroupName)
|
|
140
150
|
);
|
|
141
151
|
if (!group) return void 0;
|
|
142
152
|
const metaValue = metadata[tagAttrKey(group.name)] ?? (isContainer ? void 0 : group.defaultValue);
|
|
153
|
+
if (!metaValue) return void 0;
|
|
154
|
+
return group.entries.find((e) => e.value.toLowerCase() === metaValue.toLowerCase())?.value ?? metaValue;
|
|
155
|
+
}
|
|
156
|
+
function resolveTagColor(metadata, tagGroups, activeGroupName, isContainer) {
|
|
157
|
+
if (!activeGroupName) return void 0;
|
|
158
|
+
const group = tagGroups.find(
|
|
159
|
+
(g) => tagAttrKey(g.name) === tagAttrKey(activeGroupName)
|
|
160
|
+
);
|
|
161
|
+
if (!group) return void 0;
|
|
162
|
+
const metaValue = resolveTagValue(
|
|
163
|
+
metadata,
|
|
164
|
+
tagGroups,
|
|
165
|
+
activeGroupName,
|
|
166
|
+
isContainer
|
|
167
|
+
);
|
|
143
168
|
if (!metaValue) return UNTAGGED_TAG_COLOR;
|
|
144
169
|
return group.entries.find((e) => e.value.toLowerCase() === metaValue.toLowerCase())?.color ?? UNTAGGED_TAG_COLOR;
|
|
145
170
|
}
|
|
@@ -283,6 +308,8 @@ export {
|
|
|
283
308
|
finalizeAutoTagColors,
|
|
284
309
|
isTagBlockHeading,
|
|
285
310
|
UNTAGGED_TAG_COLOR,
|
|
311
|
+
resolveGroupTagColor,
|
|
312
|
+
resolveTagValue,
|
|
286
313
|
resolveTagColor,
|
|
287
314
|
validateTagValues,
|
|
288
315
|
validateTagGroupNames,
|
|
@@ -292,4 +319,4 @@ export {
|
|
|
292
319
|
activeTagNoMatchMessage,
|
|
293
320
|
matchTagBlockHeading
|
|
294
321
|
};
|
|
295
|
-
//# sourceMappingURL=chunk-
|
|
322
|
+
//# sourceMappingURL=chunk-LDJFPEQ5.js.map
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
measureText,
|
|
7
7
|
truncateText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YC6GVLTI.js";
|
|
9
9
|
import {
|
|
10
10
|
encodeDiagramUrl
|
|
11
11
|
} from "./chunk-U7VO6JAA.js";
|
|
12
12
|
import {
|
|
13
13
|
parseDgmoChartType
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VPSZKOKK.js";
|
|
15
15
|
import {
|
|
16
16
|
chartTypes
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-OD42CAXD.js";
|
|
18
18
|
|
|
19
19
|
// src/error-card.ts
|
|
20
20
|
var DOCS_BASE = "https://diagrammo.app/docs";
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
docsLink,
|
|
204
204
|
renderErrorCard
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=chunk-
|
|
206
|
+
//# sourceMappingURL=chunk-LH77K2ZK.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-ICZ7M6IZ.js";
|
|
4
4
|
import {
|
|
5
5
|
layoutInfra
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RLJKH4ZO.js";
|
|
7
7
|
import {
|
|
8
8
|
appendArrowheadMarkers
|
|
9
9
|
} from "./chunk-XBJJP2HN.js";
|
|
@@ -25,20 +25,20 @@ import {
|
|
|
25
25
|
} from "./chunk-IIEI7VK5.js";
|
|
26
26
|
import {
|
|
27
27
|
layoutInlineHeader
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-GJ6XD5T7.js";
|
|
29
29
|
import {
|
|
30
30
|
TITLE_FONT_SIZE,
|
|
31
31
|
TITLE_FONT_WEIGHT,
|
|
32
32
|
TITLE_OFFSET,
|
|
33
33
|
TITLE_Y
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VLC6WNRD.js";
|
|
35
35
|
import {
|
|
36
36
|
renderIntegratedLegend
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HVNIHFEC.js";
|
|
38
38
|
import {
|
|
39
39
|
getLegendExtent,
|
|
40
40
|
getMaxLegendReservedHeight
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-TR5BFNRR.js";
|
|
42
42
|
import {
|
|
43
43
|
FONT_FAMILY
|
|
44
44
|
} from "./chunk-ICLB27PZ.js";
|
|
@@ -52,33 +52,35 @@ import {
|
|
|
52
52
|
LEGEND_PILL_FONT_SIZE,
|
|
53
53
|
LEGEND_PILL_PAD,
|
|
54
54
|
measureLegendText
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-UDUJVGCZ.js";
|
|
56
56
|
import {
|
|
57
57
|
CHAR_WIDTH_RATIO,
|
|
58
58
|
measureText,
|
|
59
59
|
truncateText
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-YC6GVLTI.js";
|
|
61
61
|
import {
|
|
62
62
|
parseInfra
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-4ROEQ3XT.js";
|
|
64
64
|
import {
|
|
65
65
|
preprocessDescriptionLine
|
|
66
66
|
} from "./chunk-IYULMRBE.js";
|
|
67
67
|
import {
|
|
68
68
|
tagAttrKey
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-LDJFPEQ5.js";
|
|
70
70
|
import {
|
|
71
71
|
legendInlineRequested,
|
|
72
72
|
legendSuppressed
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-OD42CAXD.js";
|
|
74
74
|
import {
|
|
75
75
|
contrastText,
|
|
76
|
+
groupFill,
|
|
77
|
+
groupStroke,
|
|
76
78
|
mix,
|
|
77
79
|
shapeFill
|
|
78
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-ARUQ55BK.js";
|
|
79
81
|
import {
|
|
80
82
|
resolveColor
|
|
81
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-3NGB6XAX.js";
|
|
82
84
|
|
|
83
85
|
// src/infra/renderer.ts
|
|
84
86
|
import * as d3Selection from "d3-selection";
|
|
@@ -882,12 +884,27 @@ function nodeColor(_node, palette, isDark, severity, fillMode) {
|
|
|
882
884
|
function edgeColor(_edge, palette) {
|
|
883
885
|
return palette.textMuted;
|
|
884
886
|
}
|
|
885
|
-
function
|
|
887
|
+
function resolveGroupTagFill(metadata, activeGroup, tagGroups, palette) {
|
|
888
|
+
if (!metadata) return null;
|
|
889
|
+
const tg = tagGroups.find(
|
|
890
|
+
(t) => t.name.toLowerCase() === activeGroup.toLowerCase()
|
|
891
|
+
);
|
|
892
|
+
if (!tg) return null;
|
|
893
|
+
const tagVal = metadata[tagAttrKey(tg.name)];
|
|
894
|
+
if (!tagVal) return null;
|
|
895
|
+
const tv = tg.values.find(
|
|
896
|
+
(v) => v.name.toLowerCase() === tagVal.toLowerCase()
|
|
897
|
+
);
|
|
898
|
+
if (!tv?.color) return null;
|
|
899
|
+
return resolveColor(tv.color, palette);
|
|
900
|
+
}
|
|
901
|
+
function renderGroups(svg, groups, palette, isDark, sc = buildScaledConstants(ScaleContext.identity()), activeGroup, tagGroups) {
|
|
886
902
|
for (const group of groups) {
|
|
887
903
|
const g = svg.append("g").attr("class", "infra-group").attr("data-line-number", group.lineNumber).attr("data-node-toggle", group.id).style("cursor", "pointer");
|
|
888
|
-
const
|
|
889
|
-
const
|
|
890
|
-
|
|
904
|
+
const tagColor = activeGroup && tagGroups ? resolveGroupTagFill(group.metadata, activeGroup, tagGroups, palette) : null;
|
|
905
|
+
const frameFill = groupFill(palette, isDark, tagColor ?? void 0);
|
|
906
|
+
const frameStroke = groupStroke(palette, tagColor ?? void 0);
|
|
907
|
+
g.append("rect").attr("x", group.x).attr("y", group.y).attr("width", group.width).attr("height", group.height).attr("rx", 6).attr("fill", frameFill).attr("stroke", frameStroke).attr("stroke-opacity", tagColor ? 1 : 0.35).attr("stroke-width", 1);
|
|
891
908
|
g.append("text").attr("x", group.x + group.width / 2).attr("y", group.y + 16).attr("text-anchor", "middle").attr("font-family", FONT_FAMILY).attr("font-size", sc.sGroupLabelFontSize).attr("font-weight", "bold").attr("fill", palette.text).text(group.label);
|
|
892
909
|
const gi = typeof group.instances === "number" ? group.instances : typeof group.instances === "string" ? parseInt(String(group.instances), 10) || 0 : 0;
|
|
893
910
|
if (gi > 1) {
|
|
@@ -1537,7 +1554,7 @@ function renderInfra(container, layout, palette, isDark, title, titleLineNumber,
|
|
|
1537
1554
|
if (title && !fixedTitleH) {
|
|
1538
1555
|
rootSvg.append("text").attr("class", "chart-title").attr("x", header.titleX).attr("y", sc.sTitleY).attr("text-anchor", header.titleAnchor).attr("font-family", FONT_FAMILY).attr("font-size", sc.sTitleFontSize).attr("font-weight", TITLE_FONT_WEIGHT).attr("fill", palette.text).attr("data-line-number", titleLineNumber != null ? titleLineNumber : "").text(title);
|
|
1539
1556
|
}
|
|
1540
|
-
renderGroups(svg, layout.groups, palette, isDark, sc);
|
|
1557
|
+
renderGroups(svg, layout.groups, palette, isDark, sc, activeGroup, tagGroups);
|
|
1541
1558
|
const speedMultiplier = playback?.speed ?? 1;
|
|
1542
1559
|
renderEdgePaths(
|
|
1543
1560
|
svg,
|
|
@@ -1640,4 +1657,4 @@ export {
|
|
|
1640
1657
|
renderInfra,
|
|
1641
1658
|
parseAndLayoutInfra
|
|
1642
1659
|
};
|
|
1643
|
-
//# sourceMappingURL=chunk-
|
|
1660
|
+
//# sourceMappingURL=chunk-MGSOMBL3.js.map
|
|
@@ -13,39 +13,39 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
TITLE_FONT_SIZE,
|
|
15
15
|
TITLE_FONT_WEIGHT
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VLC6WNRD.js";
|
|
17
17
|
import {
|
|
18
18
|
renderIntegratedLegend
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HVNIHFEC.js";
|
|
20
20
|
import {
|
|
21
21
|
getMaxLegendReservedHeight
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TR5BFNRR.js";
|
|
23
23
|
import {
|
|
24
24
|
FONT_FAMILY
|
|
25
25
|
} from "./chunk-ICLB27PZ.js";
|
|
26
26
|
import {
|
|
27
27
|
LEGEND_HEIGHT,
|
|
28
28
|
measureLegendText
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UDUJVGCZ.js";
|
|
30
30
|
import {
|
|
31
31
|
measureText
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-YC6GVLTI.js";
|
|
33
33
|
import {
|
|
34
34
|
parseKanban
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-LA4FDGQO.js";
|
|
36
36
|
import {
|
|
37
37
|
tagAttrKey
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-LDJFPEQ5.js";
|
|
39
39
|
import {
|
|
40
40
|
fillModeFromOptions,
|
|
41
41
|
legendSuppressed
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-OD42CAXD.js";
|
|
43
43
|
import {
|
|
44
44
|
contrastText,
|
|
45
45
|
mix,
|
|
46
46
|
shapeFill,
|
|
47
47
|
themeBaseBg
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ARUQ55BK.js";
|
|
49
49
|
|
|
50
50
|
// src/kanban/renderer.ts
|
|
51
51
|
import * as d3Selection from "d3-selection";
|
|
@@ -208,6 +208,18 @@ function resolveCardTagColor(card, tagGroups, activeTagGroup) {
|
|
|
208
208
|
);
|
|
209
209
|
return entry?.color;
|
|
210
210
|
}
|
|
211
|
+
function resolveColumnTagColor(column, tagGroups, activeTagGroup) {
|
|
212
|
+
if (!activeTagGroup) return void 0;
|
|
213
|
+
const group = tagGroups.find(
|
|
214
|
+
(g) => g.name.toLowerCase() === activeTagGroup.toLowerCase()
|
|
215
|
+
);
|
|
216
|
+
if (!group) return void 0;
|
|
217
|
+
const value = column.metadata?.[tagAttrKey(group.name)];
|
|
218
|
+
if (!value) return void 0;
|
|
219
|
+
return group.entries.find(
|
|
220
|
+
(e) => e.value.toLowerCase() === value.toLowerCase()
|
|
221
|
+
)?.color;
|
|
222
|
+
}
|
|
211
223
|
function collapsedChips(cards, group) {
|
|
212
224
|
if (!group) return [];
|
|
213
225
|
const legendOrder = new Map(
|
|
@@ -544,8 +556,9 @@ function renderKanban(container, parsed, palette, isDark, options) {
|
|
|
544
556
|
const isColCollapsed = collapsedColumns?.has(col.id) ?? false;
|
|
545
557
|
const g = svg.append("g").attr("class", "kanban-column").attr("data-column-id", col.id).attr("data-line-number", col.lineNumber);
|
|
546
558
|
const thisColBg = defaultColBg;
|
|
547
|
-
const
|
|
548
|
-
const
|
|
559
|
+
const colColor = resolveColumnTagColor(col, parsed.tagGroups, activeTagGroup ?? null) ?? col.color;
|
|
560
|
+
const thisColHeaderBg = colColor ? shapeFill(palette, colColor, isDark, { mode: fillMode }) : defaultColHeaderBg;
|
|
561
|
+
const onHeaderText = colColor ? contrastText(
|
|
549
562
|
thisColHeaderBg,
|
|
550
563
|
palette.textOnFillLight,
|
|
551
564
|
palette.textOnFillDark
|
|
@@ -1154,4 +1167,4 @@ export {
|
|
|
1154
1167
|
renderKanban,
|
|
1155
1168
|
renderKanbanForExport
|
|
1156
1169
|
};
|
|
1157
|
-
//# sourceMappingURL=chunk-
|
|
1170
|
+
//# sourceMappingURL=chunk-MJEVGZDJ.js.map
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
TITLE_FONT_SIZE,
|
|
7
7
|
TITLE_FONT_WEIGHT,
|
|
8
8
|
TITLE_Y
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VLC6WNRD.js";
|
|
10
10
|
import {
|
|
11
11
|
FONT_FAMILY
|
|
12
12
|
} from "./chunk-ICLB27PZ.js";
|
|
13
13
|
import {
|
|
14
14
|
getSeriesColors,
|
|
15
15
|
mix
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ARUQ55BK.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveColor
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3NGB6XAX.js";
|
|
20
20
|
|
|
21
21
|
// src/version-control/renderer.ts
|
|
22
22
|
import * as d3Selection from "d3-selection";
|
|
@@ -447,4 +447,4 @@ export {
|
|
|
447
447
|
renderVersionControl,
|
|
448
448
|
renderVersionControlForExport
|
|
449
449
|
};
|
|
450
|
-
//# sourceMappingURL=chunk-
|
|
450
|
+
//# sourceMappingURL=chunk-MOVUBLAT.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildPlacedNotes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2R2M2C6V.js";
|
|
4
4
|
import {
|
|
5
5
|
noteCanvasShift
|
|
6
6
|
} from "./chunk-6EK55ART.js";
|
|
7
7
|
import {
|
|
8
8
|
measureText
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YC6GVLTI.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveNotes
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VS5WMPWM.js";
|
|
13
13
|
|
|
14
14
|
// src/er/layout.ts
|
|
15
15
|
import dagre from "@dagrejs/dagre";
|
|
@@ -326,4 +326,4 @@ function layoutERDiagram(parsed, options) {
|
|
|
326
326
|
export {
|
|
327
327
|
layoutERDiagram
|
|
328
328
|
};
|
|
329
|
-
//# sourceMappingURL=chunk-
|
|
329
|
+
//# sourceMappingURL=chunk-MY23CJEU.js.map
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-WMIKC5XO.js";
|
|
4
4
|
import {
|
|
5
5
|
renderNodeCard
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-F66R7CPY.js";
|
|
7
7
|
import {
|
|
8
8
|
renderInlineText
|
|
9
9
|
} from "./chunk-FWNJDD4U.js";
|
|
10
10
|
import {
|
|
11
11
|
formatDateLabel
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JV457OT7.js";
|
|
13
13
|
import {
|
|
14
14
|
CARD_RADIUS,
|
|
15
15
|
HAIRLINE_DASH,
|
|
@@ -20,43 +20,43 @@ import {
|
|
|
20
20
|
} from "./chunk-IIEI7VK5.js";
|
|
21
21
|
import {
|
|
22
22
|
layoutInlineHeader
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GJ6XD5T7.js";
|
|
24
24
|
import {
|
|
25
25
|
TITLE_FONT_SIZE,
|
|
26
26
|
TITLE_FONT_WEIGHT,
|
|
27
27
|
TITLE_Y
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VLC6WNRD.js";
|
|
29
29
|
import {
|
|
30
30
|
renderIntegratedLegend
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HVNIHFEC.js";
|
|
32
32
|
import {
|
|
33
33
|
getLegendExtent
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-TR5BFNRR.js";
|
|
35
35
|
import {
|
|
36
36
|
FONT_FAMILY
|
|
37
37
|
} from "./chunk-ICLB27PZ.js";
|
|
38
38
|
import {
|
|
39
39
|
CHAR_WIDTH_RATIO,
|
|
40
40
|
wrapTextToWidth
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-YC6GVLTI.js";
|
|
42
42
|
import {
|
|
43
43
|
parseTimelineDate
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-54E35DTP.js";
|
|
45
45
|
import {
|
|
46
46
|
UNTAGGED_TAG_COLOR,
|
|
47
47
|
resolveActiveTagGroup,
|
|
48
48
|
resolveTagColor
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-LDJFPEQ5.js";
|
|
50
50
|
import {
|
|
51
51
|
contrastText,
|
|
52
52
|
getSeriesColors,
|
|
53
53
|
mix,
|
|
54
54
|
shapeFill,
|
|
55
55
|
themeBaseBg
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-ARUQ55BK.js";
|
|
57
57
|
import {
|
|
58
58
|
resolveColor
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-3NGB6XAX.js";
|
|
60
60
|
|
|
61
61
|
// src/event-line/renderer.ts
|
|
62
62
|
import * as d3Selection from "d3-selection";
|
|
@@ -1163,4 +1163,4 @@ export {
|
|
|
1163
1163
|
focusEventLine,
|
|
1164
1164
|
renderEventLineForExport
|
|
1165
1165
|
};
|
|
1166
|
-
//# sourceMappingURL=chunk-
|
|
1166
|
+
//# sourceMappingURL=chunk-NODI5ZNG.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
layoutC4Containers,
|
|
5
5
|
layoutC4Context,
|
|
6
6
|
layoutC4Deployment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-25HKORHH.js";
|
|
8
8
|
import {
|
|
9
9
|
appendArrowheadMarkers,
|
|
10
10
|
appendReverseArrowheadMarkers
|
|
@@ -32,37 +32,39 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
TITLE_FONT_SIZE,
|
|
34
34
|
TITLE_FONT_WEIGHT
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VLC6WNRD.js";
|
|
36
36
|
import {
|
|
37
37
|
renderIntegratedLegend
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-HVNIHFEC.js";
|
|
39
39
|
import {
|
|
40
40
|
FONT_FAMILY
|
|
41
41
|
} from "./chunk-ICLB27PZ.js";
|
|
42
42
|
import {
|
|
43
43
|
LEGEND_HEIGHT
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-UDUJVGCZ.js";
|
|
45
45
|
import {
|
|
46
46
|
measureText,
|
|
47
47
|
wrapTextToWidth
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-YC6GVLTI.js";
|
|
49
49
|
import {
|
|
50
50
|
parseC4
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-H4YK6Q7A.js";
|
|
52
52
|
import {
|
|
53
53
|
preprocessDescriptionLine
|
|
54
54
|
} from "./chunk-IYULMRBE.js";
|
|
55
55
|
import {
|
|
56
|
+
resolveGroupTagColor,
|
|
56
57
|
tagAttrKey
|
|
57
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-LDJFPEQ5.js";
|
|
58
59
|
import {
|
|
59
60
|
fillModeFromOptions
|
|
60
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-OD42CAXD.js";
|
|
61
62
|
import {
|
|
62
63
|
contrastText,
|
|
64
|
+
groupFill,
|
|
63
65
|
mix,
|
|
64
66
|
shapeFill
|
|
65
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-ARUQ55BK.js";
|
|
66
68
|
|
|
67
69
|
// src/c4/renderer.ts
|
|
68
70
|
import * as d3Selection from "d3-selection";
|
|
@@ -681,6 +683,21 @@ function renderLegend(parent, layout, palette, isDark, activeTagGroup, fixedWidt
|
|
|
681
683
|
groups,
|
|
682
684
|
activeGroup: activeTagGroup ?? null,
|
|
683
685
|
mode: exportMode ? "export" : "preview",
|
|
686
|
+
// Keep inactive sibling tag groups visible as name-only pills, exactly as
|
|
687
|
+
// boxes-and-lines does. Without this a c4 reader cannot tell a second
|
|
688
|
+
// colouring dimension EXISTS — not merely that they cannot reach it: the
|
|
689
|
+
// author declared it and it rendered as nothing at all (#567).
|
|
690
|
+
//
|
|
691
|
+
// The pill carries `data-legend-group`, which is what the app walks up to
|
|
692
|
+
// on a click, and C4Preview already wires `onLegendGroupToggle` to flip the
|
|
693
|
+
// active dimension and write the `active-tag` directive back to source. So
|
|
694
|
+
// this needs no app change to be clickable.
|
|
695
|
+
//
|
|
696
|
+
// A CLI-rendered static SVG shows a pill nobody can click, and that is the
|
|
697
|
+
// accepted cost: knowing the dimension is there beats not knowing. Export
|
|
698
|
+
// mode is unaffected — `legend-layout.ts` drops non-active groups before
|
|
699
|
+
// this flag is consulted.
|
|
700
|
+
showInactivePills: true,
|
|
684
701
|
palette,
|
|
685
702
|
isDark,
|
|
686
703
|
width: containerWidth
|
|
@@ -752,16 +769,23 @@ function renderC4Containers(container, parsed, layout, palette, isDark, onClickI
|
|
|
752
769
|
boundaryG.append("text").attr("x", b.x + 12).attr("y", b.y + 16).attr("fill", palette.textMuted).attr("font-size", BOUNDARY_LABEL_FONT_SIZE).attr("font-style", "italic").text(`${b.label} \u2014 ${b.typeLabel}`);
|
|
753
770
|
}
|
|
754
771
|
if (layout.groupBoundaries.length > 0) {
|
|
755
|
-
const
|
|
756
|
-
const
|
|
772
|
+
const neutralFill = mix(palette.surface, palette.bg, 15);
|
|
773
|
+
const neutralStroke = mix(palette.textMuted, palette.bg, 60);
|
|
757
774
|
for (const gb of layout.groupBoundaries) {
|
|
775
|
+
const gbTagColor = resolveGroupTagColor(
|
|
776
|
+
gb.metadata,
|
|
777
|
+
parsed.tagGroups,
|
|
778
|
+
activeTagGroup ?? null
|
|
779
|
+
);
|
|
780
|
+
const groupFillColor = gbTagColor ? groupFill(palette, isDark, gbTagColor) : neutralFill;
|
|
781
|
+
const groupStrokeColor = gbTagColor ?? neutralStroke;
|
|
758
782
|
const gbG = contentG.append("g").attr("class", "c4-group-boundary").attr("data-line-number", String(gb.lineNumber));
|
|
759
783
|
if (onClickItem) {
|
|
760
784
|
gbG.style("cursor", "pointer").on("click", () => {
|
|
761
785
|
onClickItem(gb.lineNumber);
|
|
762
786
|
});
|
|
763
787
|
}
|
|
764
|
-
gbG.append("rect").attr("x", gb.x).attr("y", gb.y).attr("width", gb.width).attr("height", gb.height).attr("rx", CONTAINER_RADIUS).attr("ry", CONTAINER_RADIUS).attr("fill",
|
|
788
|
+
gbG.append("rect").attr("x", gb.x).attr("y", gb.y).attr("width", gb.width).attr("height", gb.height).attr("rx", CONTAINER_RADIUS).attr("ry", CONTAINER_RADIUS).attr("fill", groupFillColor).attr("stroke", groupStrokeColor).attr("stroke-width", NODE_STROKE_WIDTH);
|
|
765
789
|
gbG.append("text").attr("x", gb.x + 10).attr("y", gb.y + 14).attr("fill", palette.textMuted).attr("font-size", BOUNDARY_LABEL_FONT_SIZE).attr("font-style", "italic").text(gb.label);
|
|
766
790
|
}
|
|
767
791
|
}
|
|
@@ -1058,4 +1082,4 @@ export {
|
|
|
1058
1082
|
renderC4Deployment,
|
|
1059
1083
|
renderC4DeploymentForExport
|
|
1060
1084
|
};
|
|
1061
|
-
//# sourceMappingURL=chunk-
|
|
1085
|
+
//# sourceMappingURL=chunk-NZCJAJEY.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryCollectNote
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TU5ZNZWE.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveNotes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VS5WMPWM.js";
|
|
7
7
|
import {
|
|
8
8
|
parseInArrowLabel
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IMA4D3ZK.js";
|
|
10
10
|
import {
|
|
11
11
|
displayName,
|
|
12
12
|
normalizeName
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
tagAttrKey,
|
|
20
20
|
validateTagGroupNames,
|
|
21
21
|
validateTagValues
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LDJFPEQ5.js";
|
|
23
23
|
import {
|
|
24
24
|
ALL_CHART_TYPES,
|
|
25
25
|
FILL_FAMILY_TOKENS,
|
|
@@ -32,17 +32,17 @@ import {
|
|
|
32
32
|
parseMetadataRegion,
|
|
33
33
|
tryParseSharedOption,
|
|
34
34
|
withTagAliases
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-OD42CAXD.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveColorWithDiagnostic
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-3NGB6XAX.js";
|
|
39
39
|
import {
|
|
40
40
|
NAME_DIAGNOSTIC_CODES,
|
|
41
41
|
formatDgmoError,
|
|
42
42
|
makeDgmoError,
|
|
43
43
|
nameMergedMessage,
|
|
44
44
|
suggest
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-OAQE624Z.js";
|
|
46
46
|
|
|
47
47
|
// src/graph/state-parser.ts
|
|
48
48
|
var PSEUDOSTATE_ID = "pseudostate:[*]";
|
|
@@ -319,7 +319,8 @@ function parseState(content, palette) {
|
|
|
319
319
|
i = noteResult.lastIndex;
|
|
320
320
|
continue;
|
|
321
321
|
}
|
|
322
|
-
const
|
|
322
|
+
const groupPeeled = trimmed.startsWith("[") ? peelStateMeta(trimmed) : { text: trimmed, meta: {} };
|
|
323
|
+
const groupMatch = groupPeeled.text.match(GROUP_BRACKET_RE);
|
|
323
324
|
if (groupMatch && groupMatch[1].trim() !== "*") {
|
|
324
325
|
const groupLabel = groupMatch[1].trim();
|
|
325
326
|
const groupColorName = groupMatch[2]?.trim();
|
|
@@ -336,7 +337,10 @@ function parseState(content, palette) {
|
|
|
336
337
|
nodeIds: [],
|
|
337
338
|
lineNumber,
|
|
338
339
|
...groupColor && { color: groupColor },
|
|
339
|
-
...groupCollapsed && { collapsed: true }
|
|
340
|
+
...groupCollapsed && { collapsed: true },
|
|
341
|
+
...Object.keys(groupPeeled.meta).length > 0 && {
|
|
342
|
+
metadata: groupPeeled.meta
|
|
343
|
+
}
|
|
340
344
|
};
|
|
341
345
|
groupIndent = indent;
|
|
342
346
|
groups.push(currentGroup);
|
|
@@ -543,4 +547,4 @@ export {
|
|
|
543
547
|
parseState,
|
|
544
548
|
looksLikeState
|
|
545
549
|
};
|
|
546
|
-
//# sourceMappingURL=chunk-
|
|
550
|
+
//# sourceMappingURL=chunk-O4CG5ZRH.js.map
|
|
@@ -10,6 +10,7 @@ function emit(spec, line, params = {}, opts = {}) {
|
|
|
10
10
|
severity: spec.severity,
|
|
11
11
|
code: spec.code
|
|
12
12
|
};
|
|
13
|
+
if (spec.hint !== void 0) err.hint = spec.hint;
|
|
13
14
|
if (opts.column !== void 0) err.column = opts.column;
|
|
14
15
|
return err;
|
|
15
16
|
}
|
|
@@ -131,4 +132,4 @@ export {
|
|
|
131
132
|
NEGATIVE_VALUE_DX,
|
|
132
133
|
TITLE_DIRECTIVE_DX
|
|
133
134
|
};
|
|
134
|
-
//# sourceMappingURL=chunk-
|
|
135
|
+
//# sourceMappingURL=chunk-OAQE624Z.js.map
|