@diagrammo/dgmo 0.77.0 → 0.79.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 +17 -13
- package/dist/advanced.d.ts +197 -23
- package/dist/advanced.js +161 -142
- package/dist/block.css +1 -1
- package/dist/block.d.ts +2 -2
- package/dist/block.js +62 -58
- package/dist/{calculator-CVQ54JNE.js → calculator-OHTCZSBW.js} +3 -3
- package/dist/{chart-meta-Cf_jkApJ.d.ts → chart-meta-B7lSmrzg.d.ts} +2 -2
- package/dist/chart-meta.d.ts +3 -3
- package/dist/chart-meta.js +45 -44
- package/dist/charts-d3-EST3Z5VG.js +31 -0
- package/dist/{chunk-U4DS2ODO.js → chunk-253E5ISJ.js} +9 -9
- package/dist/{chunk-7IATMZSA.js → chunk-26EVL454.js} +1 -25
- package/dist/{chunk-MG3DE3VO.js → chunk-2F7AG7LA.js} +4 -4
- package/dist/{chunk-OWVDD5EC.js → chunk-2R2M2C6V.js} +2 -2
- package/dist/{chunk-LYJ53DBK.js → chunk-2RAH6GVR.js} +56 -41
- package/dist/{chunk-Q74GP3GK.js → chunk-37NDM5NW.js} +3 -3
- package/dist/{chunk-N6MZSBOL.js → chunk-3BN3WCUD.js} +5 -2
- package/dist/chunk-3DPOIW3W.js +10 -0
- package/dist/{chunk-HDLRRY3N.js → chunk-3KFGPXHD.js} +195 -135
- package/dist/{chunk-NWNSXHA5.js → chunk-3KNA7OIO.js} +3 -3
- package/dist/{chunk-M5OOAP65.js → chunk-4CA7TJ44.js} +2 -1
- package/dist/{chunk-M5JT2AU7.js → chunk-4L43NPSQ.js} +10 -6
- package/dist/{chunk-4YER7UCV.js → chunk-4T6V7JJA.js} +3 -3
- package/dist/{chunk-3E4YB6TY.js → chunk-4YSWUQKZ.js} +12 -7
- package/dist/{chunk-6BVAW7KI.js → chunk-54JYWS7D.js} +50 -43
- package/dist/{chunk-7NSNE52V.js → chunk-55DMCFGM.js} +3 -3
- package/dist/{chunk-XPBJVSRY.js → chunk-5BV5MXLY.js} +38 -32
- package/dist/{chunk-5VMUVJO4.js → chunk-5DWF3N3V.js} +3 -3
- package/dist/{chunk-SSEAULA5.js → chunk-6775W3UW.js} +19 -15
- package/dist/{chunk-2QRIMMIH.js → chunk-6EMJRAEY.js} +3 -3
- package/dist/{chunk-OZOHREFQ.js → chunk-6FUIPWTS.js} +14 -15
- package/dist/{chunk-F4V67JXG.js → chunk-6JIMYPXR.js} +4 -4
- package/dist/{chunk-CHOK7NCJ.js → chunk-7AEMAUDF.js} +29 -25
- package/dist/{chunk-NVOU7N6C.js → chunk-7DCM3CB5.js} +2 -2
- package/dist/{chunk-UBDVAHGK.js → chunk-7EUTTKNU.js} +36 -31
- package/dist/{chunk-76NHL5UG.js → chunk-7I6NWTPE.js} +2 -2
- package/dist/{chunk-OKXWPKUC.js → chunk-7SHL2WME.js} +2 -2
- package/dist/{chunk-SWEKCK34.js → chunk-AFOHIR2O.js} +3 -3
- package/dist/{chunk-RWFMOVHG.js → chunk-AI7TZQ2R.js} +3 -3
- package/dist/{chunk-BWJLLNUX.js → chunk-ALVK3TBO.js} +3 -3
- package/dist/{chunk-GLREDNBA.js → chunk-AMQFJ7P7.js} +21 -2
- package/dist/{chunk-RGW26UAR.js → chunk-CCETDPLV.js} +11 -11
- package/dist/{chunk-5ZD4DDG7.js → chunk-CE654SL2.js} +17 -14
- package/dist/{chunk-TPN7RJOM.js → chunk-CFYTCBRH.js} +4 -4
- package/dist/{chunk-YT5ICQ4R.js → chunk-CKDYRVOC.js} +3 -3
- package/dist/{chunk-WQXD3IIN.js → chunk-CRBW2WS7.js} +11 -9
- package/dist/{chunk-J76YDS4V.js → chunk-CREALBZL.js} +3 -3
- package/dist/{chunk-MZEGUDTA.js → chunk-CSTYDCKB.js} +16 -16
- package/dist/{chunk-QBM5BURJ.js → chunk-DG5IQW74.js} +10 -10
- package/dist/{chunk-Y2CYNRL7.js → chunk-DN6K6QCF.js} +2 -2
- package/dist/{chunk-43AJKH2U.js → chunk-DQOCYWB6.js} +12 -10
- package/dist/{chunk-FTTB64OJ.js → chunk-EBEFYSVZ.js} +40 -40
- package/dist/{chunk-L65WI4HO.js → chunk-EDU2OCIQ.js} +2 -2
- package/dist/{chunk-SWUQJ5VR.js → chunk-EOG4QKKV.js} +108 -65
- package/dist/chunk-EPDBWATV.js +38 -0
- package/dist/{chunk-5GM6BZO7.js → chunk-F66R7CPY.js} +6 -3
- package/dist/{chunk-7BMX2M3F.js → chunk-FFDHZVEL.js} +2 -2
- package/dist/{chunk-WGC42WJU.js → chunk-FWNJDD4U.js} +6 -2
- package/dist/{chunk-SI3PYDL4.js → chunk-GWA6UGNX.js} +22 -22
- package/dist/{chunk-QMFIZQTB.js → chunk-HIOJSYDA.js} +7 -5
- package/dist/{chunk-NHQ7HUAS.js → chunk-HJ5DKZPO.js} +12 -10
- package/dist/{chunk-FPRMP6YA.js → chunk-HJZ4OET2.js} +32 -17
- package/dist/{chunk-N5NQIZ56.js → chunk-HLTVEXML.js} +25 -25
- package/dist/{chunk-6IN4F4RH.js → chunk-I6DFQQER.js} +42 -44
- package/dist/chunk-ICLB27PZ.js +11 -0
- package/dist/{chunk-R3XI2VC7.js → chunk-IDJGV6VM.js} +2 -1
- package/dist/{chunk-ZM27UI5O.js → chunk-IEK2FUWO.js} +19 -6
- package/dist/{chunk-FJ57274M.js → chunk-IIEI7VK5.js} +15 -1
- package/dist/{chunk-DY7KDZUF.js → chunk-IZK2H4KU.js} +3 -3
- package/dist/{chunk-CRLVJZWX.js → chunk-JOG6W3VS.js} +2 -2
- package/dist/{chunk-XFXJXLK7.js → chunk-JTLLQT34.js} +19 -19
- package/dist/{chunk-MS5574I7.js → chunk-K3K7JHZI.js} +2 -2
- package/dist/{chunk-GOW5VO6M.js → chunk-KHRZCKKG.js} +2 -2
- package/dist/{chunk-D3B6YEZK.js → chunk-KIF4UFD2.js} +20 -16
- package/dist/{chunk-EUVUOPRC.js → chunk-KYK6PMB5.js} +55 -34
- package/dist/{chunk-RU2HHHYA.js → chunk-LD2JSKU3.js} +12 -2
- package/dist/{chunk-CYMYZYLI.js → chunk-LJ7X6ZNV.js} +25 -28
- package/dist/{chunk-ICVIJLBA.js → chunk-LLYHYPYG.js} +4 -4
- package/dist/{chunk-VRPV6QXR.js → chunk-LLZVRWVS.js} +2 -2
- package/dist/{chunk-Z7KVOVE4.js → chunk-LXTMP3VT.js} +7 -4
- package/dist/{chunk-7CXW6EGX.js → chunk-MDUCF376.js} +28 -26
- package/dist/{chunk-KWSBNLSC.js → chunk-MQAD75AY.js} +2 -2
- package/dist/{chunk-XCFIAGT7.js → chunk-MUTZSF2A.js} +17 -16
- package/dist/{chunk-CF3I5SOG.js → chunk-NVI5G57O.js} +29 -27
- package/dist/{chunk-76LHNLGX.js → chunk-O2HU4AQN.js} +34 -5
- package/dist/{chunk-46KVXDUJ.js → chunk-O5QG5IFV.js} +12 -3
- package/dist/{chunk-V4NHFY22.js → chunk-OLRVGPJ3.js} +33 -20
- package/dist/{chunk-WHWUVDYK.js → chunk-OM6XZAKM.js} +7 -7
- package/dist/{chunk-DSXWJAOA.js → chunk-OMN4F42L.js} +17 -15
- package/dist/{chunk-LM3HY3VG.js → chunk-P4U5GST7.js} +3 -3
- package/dist/{chunk-BH3BQICT.js → chunk-PKW4TLJC.js} +88 -44
- package/dist/{chunk-GRN44Z6A.js → chunk-PQR7E3LY.js} +2 -2
- package/dist/{chunk-SH4PPRU7.js → chunk-Q5KGGW7Z.js} +2 -2
- package/dist/{chunk-RV5A3EGI.js → chunk-QDHOIBHZ.js} +21 -20
- package/dist/{chunk-UH5YTZN7.js → chunk-QDTFFVLT.js} +113 -23
- package/dist/chunk-QFIXL3OK.js +68 -0
- package/dist/{chunk-QXMHBIQG.js → chunk-QGXH64FT.js} +52 -49
- package/dist/{chunk-VS2M72PF.js → chunk-RLJKH4ZO.js} +4 -2
- package/dist/{chunk-6ZZKEYBS.js → chunk-RN3DOUOU.js} +17 -15
- package/dist/{chunk-VBJCGGNF.js → chunk-RPP3NHKV.js} +2 -2
- package/dist/{chunk-RTTZIX34.js → chunk-RVWWCQAB.js} +3 -3
- package/dist/{chunk-FR5EVD2X.js → chunk-RWF7TCGT.js} +68 -38
- package/dist/{chunk-LKS56RDT.js → chunk-S6GPBJWG.js} +2 -2
- package/dist/{chunk-UJBP57UJ.js → chunk-S7ZJEQPW.js} +4 -4
- package/dist/{chunk-3H4PDNP4.js → chunk-SEOM2BGQ.js} +3 -3
- package/dist/{chunk-5PFNUDXR.js → chunk-T3EW35M2.js} +3 -3
- package/dist/{chunk-3SP6G4LN.js → chunk-TPQ6Q7JP.js} +3 -3
- package/dist/{chunk-B52RL5VV.js → chunk-ULUZBEFO.js} +11 -11
- package/dist/{chunk-F4X5NVKY.js → chunk-UNYOWKEC.js} +13 -4
- package/dist/{chunk-DEW62ON3.js → chunk-VSPNH7LC.js} +2 -2
- package/dist/{chunk-C2WH3BMS.js → chunk-VTWUHX4H.js} +10 -7
- package/dist/{chunk-DJL5PO27.js → chunk-W4MC3KP6.js} +2 -2
- package/dist/{chunk-MU3CJPJF.js → chunk-W6DBWWPC.js} +3 -3
- package/dist/{chunk-JLODGGN2.js → chunk-WC72PTV4.js} +3 -3
- package/dist/{chunk-NCT22MOD.js → chunk-WMIKC5XO.js} +2 -2
- package/dist/{chunk-H7BYMIVK.js → chunk-WY4L675I.js} +70 -44
- package/dist/chunk-XBJJP2HN.js +37 -0
- package/dist/{chunk-KRTLS3G6.js → chunk-XDEEYDPQ.js} +4 -4
- package/dist/{chunk-S5P5Z5Y5.js → chunk-XNAMWOPJ.js} +3 -3
- package/dist/{chunk-2MTM4E6M.js → chunk-XND5JIJA.js} +68 -65
- package/dist/{chunk-S6OXNZBM.js → chunk-XWC4RQ7T.js} +4 -4
- package/dist/{chunk-UCZBRGJN.js → chunk-XXLAZQ5E.js} +2 -2
- package/dist/{chunk-LXXVHLTH.js → chunk-Y22BJKMK.js} +3 -3
- package/dist/{chunk-OO2L2LWV.js → chunk-Y2KFQX5K.js} +89 -66
- package/dist/{chunk-TI4YUUW6.js → chunk-Y3OLUMJH.js} +31 -30
- package/dist/{chunk-CIWFL2LM.js → chunk-Y3RYIGHZ.js} +17 -15
- package/dist/{chunk-MTGGOCND.js → chunk-YC6GVLTI.js} +61 -10
- package/dist/{chunk-TKIPK5P6.js → chunk-YD2HPT7W.js} +5 -7
- package/dist/{chunk-3O7ZYVJV.js → chunk-YPVP6I62.js} +19 -15
- package/dist/{chunk-FF7LRT5L.js → chunk-YQIZIKCK.js} +35 -27
- package/dist/{chunk-M526IKKH.js → chunk-Z4COUG7H.js} +2 -2
- package/dist/{chunk-LTTZX6RD.js → chunk-Z5ZCTCX4.js} +3 -3
- package/dist/{chunk-QOVM5VRC.js → chunk-ZASX45SU.js} +3 -3
- package/dist/{chunk-W7UBPARG.js → chunk-ZH3BWGTE.js} +3 -3
- package/dist/{chunk-TN754B3R.js → chunk-ZZZJVDIL.js} +2 -2
- package/dist/clock.js +11 -5
- package/dist/completion-registry.js +3 -3
- package/dist/countdown.js +26 -20
- package/dist/{d3-BiaJtaSw.d.ts → d3-Bje6Mla1.d.ts} +1 -1
- package/dist/dgmo-router-OXFV43XX.js +90 -0
- package/dist/{dgmo-router-BwXHZ_P3.d.ts → dgmo-router-zWf4Uxxg.d.ts} +1 -1
- package/dist/dimensions-AN34SPVX.js +22 -0
- package/dist/{flowchart-parser-NVBP3C5D.js → flowchart-parser-MRNAVG35.js} +4 -4
- package/dist/flowchart-renderer-IGSKJFMF.js +37 -0
- package/dist/index.d.ts +7 -7
- package/dist/index.js +75 -60
- package/dist/{layout-Y2V3LYV7.js → layout-5AYAYUJH.js} +2 -2
- package/dist/{layout-ZAGUFT2G.js → layout-6APS2RRG.js} +8 -7
- package/dist/{layout-B5GQVXXY.js → layout-6VUNAH6F.js} +8 -7
- package/dist/{layout-RV2T2YTT.js → layout-74HDWQYG.js} +6 -5
- package/dist/{layout-6SKHNQYO.js → layout-FCIYZV63.js} +4 -4
- package/dist/{layout-4LNMXLVK.js → layout-J2Z2SYH5.js} +3 -3
- package/dist/layout-LELNMRM5.js +16 -0
- package/dist/{layout-EM4DLMAX.js → layout-OPF6KTOH.js} +5 -5
- package/dist/layout-SUND6B7D.js +9 -0
- package/dist/layout-WASEHV3S.js +19 -0
- package/dist/{layout-SGYR6HBX.js → layout-XAJLQPI6.js} +3 -3
- package/dist/layout-XY45TFJ4.js +16 -0
- package/dist/layout-YPRXVCW5.js +19 -0
- package/dist/{layout-2OJ25STS.js → layout-ZJOWB27N.js} +9 -8
- package/dist/{layout-search-UOKEMER5.js → layout-search-3JKNSUTJ.js} +8 -7
- package/dist/{legend-constants-PLN2YHGM.js → legend-constants-RSWFR3L6.js} +4 -4
- package/dist/{palettes-54YSI3IX.js → palettes-IAF6WVL4.js} +5 -3
- package/dist/{parser-QOIZGW7I.js → parser-2Y7LWKNO.js} +4 -4
- package/dist/{parser-EQ4I3TSH.js → parser-4GUQUDAC.js} +5 -5
- package/dist/{parser-TA5TYZNL.js → parser-4OXANARZ.js} +5 -5
- package/dist/{parser-L7T7FY3H.js → parser-56UEMRXS.js} +4 -4
- package/dist/{parser-2GMHFSTS.js → parser-66QZQYGE.js} +4 -4
- package/dist/{parser-3AOMUX5D.js → parser-6SS7DKVW.js} +4 -4
- package/dist/{parser-QYAIFXLP.js → parser-AYURCBDZ.js} +4 -4
- package/dist/{parser-5XFGK5C5.js → parser-COPCQEHV.js} +6 -6
- package/dist/{parser-F4ZKDGUZ.js → parser-DEWJM5PX.js} +3 -3
- package/dist/{parser-ZXQZZK6W.js → parser-DQKZDA2J.js} +4 -3
- package/dist/{parser-WCFG3DZA.js → parser-EMPM3V35.js} +3 -3
- package/dist/{parser-6FUESG4N.js → parser-EP2JQJNV.js} +4 -4
- package/dist/{parser-ZYAFHXKQ.js → parser-FDDHTBRV.js} +4 -4
- package/dist/{parser-3KQONLXZ.js → parser-FDESUQ32.js} +3 -3
- package/dist/{parser-LV7PQBUG.js → parser-GK6CMK4P.js} +4 -4
- package/dist/{parser-WVE6SKB7.js → parser-H33OKBUB.js} +4 -4
- package/dist/{parser-ML3LVNDV.js → parser-HJBSWTDY.js} +4 -4
- package/dist/{parser-PR3OR3LO.js → parser-HRIKI5O3.js} +5 -5
- package/dist/{parser-H4ZUNLX4.js → parser-I77632XB.js} +3 -3
- package/dist/{parser-YWQCC33R.js → parser-JGMQE7FS.js} +4 -4
- package/dist/{parser-WMJEPZDC.js → parser-JIPG576H.js} +4 -4
- package/dist/{parser-E3OHNNTH.js → parser-JNJ2IFSO.js} +4 -4
- package/dist/{parser-CJNP7RKR.js → parser-LCUQTABE.js} +4 -4
- package/dist/{parser-4DLU4SNG.js → parser-LXU3MGG6.js} +3 -3
- package/dist/{parser-WWRRG2DV.js → parser-N4YB5EIZ.js} +4 -4
- package/dist/{parser-XVSDFO56.js → parser-NC36PRBR.js} +3 -3
- package/dist/{parser-RDBXEVI4.js → parser-O6WYAXTS.js} +4 -4
- package/dist/{parser-4KFJKLP2.js → parser-UHABNZBC.js} +3 -3
- package/dist/{parser-GCVSRQPY.js → parser-V6HULGXW.js} +4 -4
- package/dist/{parser-UTR5WE4O.js → parser-VVWZIMYS.js} +4 -4
- package/dist/{parser-B2XQNHZM.js → parser-YJGTPT7A.js} +3 -3
- package/dist/{parser-WQNT7T2P.js → parser-YQ5F7ATB.js} +3 -3
- package/dist/{parser-ZT3PU2HT.js → parser-ZUH2G7J2.js} +4 -4
- package/dist/renderer-2ZGZSSCV.js +39 -0
- package/dist/renderer-33AB7UAZ.js +35 -0
- package/dist/renderer-43KEDLTQ.js +23 -0
- package/dist/renderer-4E6NNPNU.js +29 -0
- package/dist/renderer-4HFT4HJG.js +39 -0
- package/dist/renderer-63MHARNI.js +20 -0
- package/dist/renderer-6HPV7BMG.js +23 -0
- package/dist/renderer-BVJ3NVRB.js +20 -0
- package/dist/renderer-DV44AS75.js +28 -0
- package/dist/renderer-FLLVGYUY.js +30 -0
- package/dist/renderer-FSV7MTW3.js +17 -0
- package/dist/renderer-H6XEVHKH.js +27 -0
- package/dist/renderer-HNEMQJXT.js +21 -0
- package/dist/{renderer-CVWQD442.js → renderer-IIN3RY4F.js} +6 -5
- package/dist/renderer-K2OWHNBV.js +25 -0
- package/dist/renderer-M6UIXQHH.js +27 -0
- package/dist/renderer-N5CRYFBI.js +31 -0
- package/dist/{renderer-VF7X66SL.js → renderer-O3O6A3RY.js} +16 -16
- package/dist/renderer-OVRX36WE.js +39 -0
- package/dist/renderer-PLKMHBAB.js +30 -0
- package/dist/{renderer-G2DPKJAN.js → renderer-REHVBQ57.js} +17 -16
- package/dist/{renderer-GHBF5PRH.js → renderer-RW446FGL.js} +6 -5
- package/dist/renderer-SJV75NUI.js +28 -0
- package/dist/renderer-TKWW45LZ.js +36 -0
- package/dist/{renderer-FTX67CYZ.js → renderer-UHLTPQTW.js} +7 -6
- package/dist/renderer-UNYFAMFE.js +16 -0
- package/dist/renderer-URXHBQOF.js +26 -0
- package/dist/renderer-VBAQQWDB.js +25 -0
- package/dist/renderer-VI72MVFW.js +77 -0
- package/dist/renderer-XGJIACBV.js +25 -0
- package/dist/renderer-XVTKGPYT.js +20 -0
- package/dist/{renderer-R5HIRN2M.js → renderer-YLIICO4R.js} +9 -9
- package/dist/renderer-ZG6GPWZF.js +27 -0
- package/dist/renderer-radial-7UHFYOOL.js +21 -0
- package/dist/{state-parser-TPA67IXM.js → state-parser-XT4ZPQAF.js} +5 -5
- package/dist/state-renderer-6TVII5ZJ.js +41 -0
- package/dist/{tag-groups-BAtkq0b_.d.ts → tag-groups-DIJV_50B.d.ts} +18 -9
- package/dist/{themes-DpsyRSO7.d.ts → themes-Bgkyh6gh.d.ts} +2 -2
- package/docs/architecture-report.md +3 -3
- package/docs/language-reference.md +128 -30
- package/docs/migration-sequence-color-to-tags.md +16 -8
- package/package.json +7 -6
- package/dist/charts-d3-HMEMHSSW.js +0 -29
- package/dist/chunk-53SEVJQM.js +0 -9
- package/dist/chunk-LP7EC4MI.js +0 -16
- package/dist/chunk-YM5RMLFO.js +0 -40
- package/dist/dgmo-router-A3LIHT6H.js +0 -89
- package/dist/dimensions-OFF4GRFL.js +0 -22
- package/dist/flowchart-renderer-BBJUPORB.js +0 -36
- package/dist/layout-5ILNODTP.js +0 -15
- package/dist/layout-IN53LAE6.js +0 -9
- package/dist/layout-KQUSB45X.js +0 -18
- package/dist/layout-ROORJQ4X.js +0 -18
- package/dist/layout-VUZ3MLOI.js +0 -15
- package/dist/renderer-2ANDPQWC.js +0 -16
- package/dist/renderer-2LDT4TUX.js +0 -25
- package/dist/renderer-2NYQDW37.js +0 -20
- package/dist/renderer-2RIIIO34.js +0 -39
- package/dist/renderer-3HFU3DTO.js +0 -25
- package/dist/renderer-4BF6ILP6.js +0 -27
- package/dist/renderer-5E2AH5TO.js +0 -38
- package/dist/renderer-62SLWRYF.js +0 -27
- package/dist/renderer-ANJUDBOS.js +0 -34
- package/dist/renderer-D6GJ6EVK.js +0 -30
- package/dist/renderer-DNFV2IQI.js +0 -36
- package/dist/renderer-EDVCGIQO.js +0 -76
- package/dist/renderer-EFQSMHID.js +0 -27
- package/dist/renderer-GZLRX764.js +0 -24
- package/dist/renderer-H2HYLFN3.js +0 -20
- package/dist/renderer-IR5655M7.js +0 -28
- package/dist/renderer-L237AOOZ.js +0 -16
- package/dist/renderer-LSJWYGOL.js +0 -39
- package/dist/renderer-LWXDMZOV.js +0 -28
- package/dist/renderer-MYSVPERC.js +0 -22
- package/dist/renderer-OL5QSZPC.js +0 -31
- package/dist/renderer-P26HH3NA.js +0 -30
- package/dist/renderer-RNFECJ5D.js +0 -21
- package/dist/renderer-RPZVNCTF.js +0 -26
- package/dist/renderer-SDNWZDUY.js +0 -23
- package/dist/renderer-UKHH4UWV.js +0 -25
- package/dist/renderer-Y3Y7PEUS.js +0 -20
- package/dist/renderer-radial-QNGCGKZP.js +0 -21
- package/dist/state-renderer-ELWDRXD6.js +0 -40
|
@@ -1,71 +1,77 @@
|
|
|
1
1
|
import {
|
|
2
2
|
edgeSplinePath,
|
|
3
|
-
fitDiagramToCanvas,
|
|
4
3
|
selfLoopArcPath
|
|
5
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-26EVL454.js";
|
|
6
5
|
import {
|
|
7
6
|
layoutGraph
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import {
|
|
10
|
-
appendArrowheadMarkers
|
|
11
|
-
} from "./chunk-LP7EC4MI.js";
|
|
7
|
+
} from "./chunk-3BN3WCUD.js";
|
|
12
8
|
import {
|
|
13
9
|
NOTE_BADGE_RADIUS,
|
|
14
10
|
noteConnectorPoints,
|
|
15
11
|
renderNoteBadge,
|
|
16
12
|
renderNoteBox,
|
|
17
13
|
renderNoteConnector
|
|
18
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-37NDM5NW.js";
|
|
19
15
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
appendArrowheadMarkers
|
|
17
|
+
} from "./chunk-XBJJP2HN.js";
|
|
18
|
+
import {
|
|
19
|
+
fitDiagramToCanvas
|
|
20
|
+
} from "./chunk-EPDBWATV.js";
|
|
23
21
|
import {
|
|
24
22
|
ScaleContext
|
|
25
23
|
} from "./chunk-24YPR5EH.js";
|
|
24
|
+
import {
|
|
25
|
+
ARROWHEAD_HEIGHT,
|
|
26
|
+
ARROWHEAD_WIDTH,
|
|
27
|
+
EDGE_LABEL_KNOCKOUT_OPACITY,
|
|
28
|
+
EDGE_STROKE_WIDTH,
|
|
29
|
+
NODE_STROKE_WIDTH
|
|
30
|
+
} from "./chunk-IIEI7VK5.js";
|
|
26
31
|
import {
|
|
27
32
|
layoutInlineHeader
|
|
28
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-2F7AG7LA.js";
|
|
29
34
|
import {
|
|
30
35
|
serializeSvg
|
|
31
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-LD2JSKU3.js";
|
|
32
37
|
import {
|
|
33
38
|
TITLE_FONT_SIZE,
|
|
34
39
|
TITLE_FONT_WEIGHT,
|
|
35
40
|
TITLE_Y
|
|
36
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VSPNH7LC.js";
|
|
37
42
|
import {
|
|
38
43
|
renderIntegratedLegend
|
|
39
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-253E5ISJ.js";
|
|
40
45
|
import {
|
|
41
46
|
getLegendExtent,
|
|
42
47
|
getMaxLegendReservedHeight
|
|
43
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-LLZVRWVS.js";
|
|
44
49
|
import {
|
|
45
50
|
FONT_FAMILY
|
|
46
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ICLB27PZ.js";
|
|
47
52
|
import {
|
|
48
53
|
measureText
|
|
49
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-YC6GVLTI.js";
|
|
50
55
|
import {
|
|
51
56
|
parseState
|
|
52
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-4L43NPSQ.js";
|
|
53
58
|
import {
|
|
54
59
|
resolveActiveTagGroup,
|
|
60
|
+
resolveGroupTagColor,
|
|
55
61
|
resolveTagColor,
|
|
56
62
|
tagAttrKey
|
|
57
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-O2HU4AQN.js";
|
|
58
64
|
import {
|
|
59
65
|
fillModeFromOptions,
|
|
60
66
|
legendInlineRequested,
|
|
61
67
|
legendSuppressed
|
|
62
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-4CA7TJ44.js";
|
|
63
69
|
import {
|
|
64
70
|
contrastText,
|
|
65
71
|
mix,
|
|
66
72
|
shapeFill,
|
|
67
73
|
themeBaseBg
|
|
68
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
69
75
|
|
|
70
76
|
// src/graph/state-renderer.ts
|
|
71
77
|
import * as d3Selection from "d3-selection";
|
|
@@ -74,8 +80,6 @@ var MAX_SCALE = 3;
|
|
|
74
80
|
var NODE_FONT_SIZE = 13;
|
|
75
81
|
var EDGE_LABEL_FONT_SIZE = 11;
|
|
76
82
|
var GROUP_LABEL_FONT_SIZE = 11;
|
|
77
|
-
var ARROWHEAD_W = 10;
|
|
78
|
-
var ARROWHEAD_H = 7;
|
|
79
83
|
var PSEUDOSTATE_RADIUS = 10;
|
|
80
84
|
var STATE_CORNER_RADIUS = 10;
|
|
81
85
|
var GROUP_EXTRA_PADDING = 12;
|
|
@@ -103,8 +107,8 @@ function renderState(container, graph, layout, palette, isDark, onClickItem, exp
|
|
|
103
107
|
const sGroupLabelFontSize = ctx.text(GROUP_LABEL_FONT_SIZE);
|
|
104
108
|
const sEdgeStrokeWidth = ctx.structural(EDGE_STROKE_WIDTH);
|
|
105
109
|
const sNodeStrokeWidth = ctx.structural(NODE_STROKE_WIDTH);
|
|
106
|
-
const sArrowheadW = ctx.structural(
|
|
107
|
-
const sArrowheadH = ctx.structural(
|
|
110
|
+
const sArrowheadW = ctx.structural(ARROWHEAD_WIDTH);
|
|
111
|
+
const sArrowheadH = ctx.structural(ARROWHEAD_HEIGHT);
|
|
108
112
|
const sPseudostateRadius = ctx.structural(PSEUDOSTATE_RADIUS);
|
|
109
113
|
const sStateCornerRadius = ctx.structural(STATE_CORNER_RADIUS);
|
|
110
114
|
const sGroupExtraPadding = ctx.aesthetic(GROUP_EXTRA_PADDING);
|
|
@@ -155,7 +159,7 @@ function renderState(container, graph, layout, palette, isDark, onClickItem, exp
|
|
|
155
159
|
});
|
|
156
160
|
const diagramW = layout.width;
|
|
157
161
|
const diagramH = layout.height;
|
|
158
|
-
const { scale, offsetX, offsetY, canvasHeight } = fitDiagramToCanvas({
|
|
162
|
+
const { scale, offsetX, offsetY, canvasHeight, canvasWidth } = fitDiagramToCanvas({
|
|
159
163
|
width,
|
|
160
164
|
height,
|
|
161
165
|
diagramW,
|
|
@@ -166,7 +170,7 @@ function renderState(container, graph, layout, palette, isDark, onClickItem, exp
|
|
|
166
170
|
maxScale: MAX_SCALE,
|
|
167
171
|
exportMode: !!exportDims
|
|
168
172
|
});
|
|
169
|
-
const svg = d3Selection.select(container).append("svg").attr("width",
|
|
173
|
+
const svg = d3Selection.select(container).append("svg").attr("width", canvasWidth).attr("height", canvasHeight).attr("viewBox", `0 0 ${canvasWidth} ${canvasHeight}`).attr("preserveAspectRatio", "xMidYMin meet").style("font-family", FONT_FAMILY);
|
|
170
174
|
if (ctx.isBelowFloor) {
|
|
171
175
|
svg.attr("width", "100%");
|
|
172
176
|
}
|
|
@@ -227,9 +231,10 @@ function renderState(container, graph, layout, palette, isDark, onClickItem, exp
|
|
|
227
231
|
const gy = group.y - sGroupExtraPadding - sGroupLabelFontSize - 4;
|
|
228
232
|
const gw = group.width + sGroupExtraPadding * 2;
|
|
229
233
|
const gh = group.height + sGroupExtraPadding * 2 + sGroupLabelFontSize + 4;
|
|
234
|
+
const groupColor = resolveGroupTagColor(group.metadata, tagGroups, activeTagGroup) ?? group.color;
|
|
230
235
|
const groupOutline = fillModeFromOptions(graph.options ?? {}) === "outline";
|
|
231
|
-
const fillColor = groupOutline ? themeBaseBg(palette, isDark) :
|
|
232
|
-
const strokeColor =
|
|
236
|
+
const fillColor = groupOutline ? themeBaseBg(palette, isDark) : groupColor ? mix(groupColor, themeBaseBg(palette, isDark), 10) : isDark ? palette.surface : mix(palette.border, palette.bg, 30);
|
|
237
|
+
const strokeColor = groupColor ?? palette.textMuted;
|
|
233
238
|
const groupWrapper = contentG.append("g").attr("class", "st-group-wrapper").attr("data-line-number", String(group.lineNumber)).attr("data-group-id", group.id).attr("data-group-toggle", group.id).attr("tabindex", "0").attr("role", "button").attr("aria-expanded", "true").attr("aria-label", `Collapse group ${group.label}`).style("cursor", "pointer");
|
|
234
239
|
groupWrapper.append("rect").attr("x", gx).attr("y", gy).attr("width", gw).attr("height", gh).attr("rx", 6).attr("fill", fillColor).attr("stroke", strokeColor).attr("stroke-width", 1).attr("stroke-opacity", 0.5).attr("class", "st-group");
|
|
235
240
|
groupWrapper.append("text").attr("x", gx + 8).attr("y", gy + sGroupLabelFontSize + 4).attr("fill", strokeColor).attr("font-size", sGroupLabelFontSize).attr("font-weight", "bold").attr("opacity", 0.7).attr("class", "st-group-label").text(group.label);
|
|
@@ -306,7 +311,7 @@ function renderState(container, graph, layout, palette, isDark, onClickItem, exp
|
|
|
306
311
|
}
|
|
307
312
|
const lp = labelPosMap.get(ei);
|
|
308
313
|
if (edge.label && lp) {
|
|
309
|
-
edgeG.append("rect").attr("x", lp.x - lp.w / 2).attr("y", lp.y - lp.h / 2 - 1).attr("width", lp.w).attr("height", lp.h).attr("rx", 3).attr("fill", palette.bg).attr("opacity",
|
|
314
|
+
edgeG.append("rect").attr("x", lp.x - lp.w / 2).attr("y", lp.y - lp.h / 2 - 1).attr("width", lp.w).attr("height", lp.h).attr("rx", 3).attr("fill", palette.bg).attr("opacity", EDGE_LABEL_KNOCKOUT_OPACITY).attr("class", "st-edge-label-bg");
|
|
310
315
|
edgeG.append("text").attr("x", lp.x).attr("y", lp.y + 4).attr("text-anchor", "middle").attr("fill", edgeColor).attr("font-size", sEdgeLabelFontSize).attr("class", "st-edge-label").text(edge.label);
|
|
311
316
|
}
|
|
312
317
|
}
|
|
@@ -465,4 +470,4 @@ export {
|
|
|
465
470
|
renderState,
|
|
466
471
|
renderStateForExport
|
|
467
472
|
};
|
|
468
|
-
//# sourceMappingURL=chunk-
|
|
473
|
+
//# sourceMappingURL=chunk-7EUTTKNU.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractColor,
|
|
3
3
|
measureIndent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4CA7TJ44.js";
|
|
5
5
|
import {
|
|
6
6
|
makeDgmoError
|
|
7
7
|
} from "./chunk-5SI6T5A5.js";
|
|
@@ -73,4 +73,4 @@ function tryCollectNote(lines, index, indent, palette, diagnostics) {
|
|
|
73
73
|
export {
|
|
74
74
|
tryCollectNote
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
76
|
+
//# sourceMappingURL=chunk-7I6NWTPE.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
splitNameAndMeta,
|
|
6
6
|
tryParseSharedOption,
|
|
7
7
|
warnUnknownMetaKeys
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4CA7TJ44.js";
|
|
9
9
|
import {
|
|
10
10
|
RECOGNIZED_COLOR_NAMES,
|
|
11
11
|
resolveColor
|
|
@@ -165,4 +165,4 @@ function parseRing(content) {
|
|
|
165
165
|
export {
|
|
166
166
|
parseRing
|
|
167
167
|
};
|
|
168
|
-
//# sourceMappingURL=chunk-
|
|
168
|
+
//# sourceMappingURL=chunk-7SHL2WME.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
tagAttrKey,
|
|
12
12
|
validateTagGroupNames,
|
|
13
13
|
validateTagValues
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-O2HU4AQN.js";
|
|
15
15
|
import {
|
|
16
16
|
AliasRegistry,
|
|
17
17
|
OPTION_NOCOLON_RE,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
splitNameAndMeta,
|
|
24
24
|
warnUnknownMetaKeys,
|
|
25
25
|
withTagAliases
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4CA7TJ44.js";
|
|
27
27
|
import {
|
|
28
28
|
formatDgmoError,
|
|
29
29
|
makeDgmoError,
|
|
@@ -423,4 +423,4 @@ export {
|
|
|
423
423
|
parseOrg,
|
|
424
424
|
findOrgNodeIdByName
|
|
425
425
|
};
|
|
426
|
-
//# sourceMappingURL=chunk-
|
|
426
|
+
//# sourceMappingURL=chunk-AFOHIR2O.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
tagAttrKey,
|
|
22
22
|
validateTagGroupNames,
|
|
23
23
|
validateTagValues
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-O2HU4AQN.js";
|
|
25
25
|
import {
|
|
26
26
|
PERT_REGISTRY,
|
|
27
27
|
extractColor,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
splitNameAndMeta,
|
|
32
32
|
warnUnknownMetaKeys,
|
|
33
33
|
withTagAliases
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-4CA7TJ44.js";
|
|
35
35
|
import {
|
|
36
36
|
emit,
|
|
37
37
|
makeDgmoError,
|
|
@@ -1268,4 +1268,4 @@ export {
|
|
|
1268
1268
|
extractPertSymbols,
|
|
1269
1269
|
looksLikePert
|
|
1270
1270
|
};
|
|
1271
|
-
//# sourceMappingURL=chunk-
|
|
1271
|
+
//# sourceMappingURL=chunk-AI7TZQ2R.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
stripDefaultModifier,
|
|
10
10
|
tagAttrKey,
|
|
11
11
|
validateTagGroupNames
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-O2HU4AQN.js";
|
|
13
13
|
import {
|
|
14
14
|
MAP_DIRECTIVE_KEY_SET,
|
|
15
15
|
MAP_REGISTRY,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
peelRampColors,
|
|
19
19
|
splitNameAndMeta,
|
|
20
20
|
withTagAliases
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4CA7TJ44.js";
|
|
22
22
|
import {
|
|
23
23
|
NEGATIVE_VALUE_DX,
|
|
24
24
|
emit,
|
|
@@ -657,4 +657,4 @@ export {
|
|
|
657
657
|
looksLikeMap,
|
|
658
658
|
parseMap
|
|
659
659
|
};
|
|
660
|
-
//# sourceMappingURL=chunk-
|
|
660
|
+
//# sourceMappingURL=chunk-ALVK3TBO.js.map
|
|
@@ -187,6 +187,13 @@ function contrastText(bg, lightText, darkText) {
|
|
|
187
187
|
function themeBaseBg(palette, isDark) {
|
|
188
188
|
return isDark ? palette.surface : palette.bg;
|
|
189
189
|
}
|
|
190
|
+
function groupFill(palette, isDark, color) {
|
|
191
|
+
if (color) return mix(color, themeBaseBg(palette, isDark), 10);
|
|
192
|
+
return mix(palette.surface, palette.bg, 40);
|
|
193
|
+
}
|
|
194
|
+
function groupStroke(palette, color) {
|
|
195
|
+
return color ?? palette.textMuted;
|
|
196
|
+
}
|
|
190
197
|
function shapeFill(palette, intent, isDark, opts) {
|
|
191
198
|
if (opts?.mode === "solid") return intent;
|
|
192
199
|
if (opts?.mode === "outline") return themeBaseBg(palette, isDark);
|
|
@@ -247,6 +254,15 @@ function politicalTints(palette, count, isDark) {
|
|
|
247
254
|
}
|
|
248
255
|
return out.slice(0, count);
|
|
249
256
|
}
|
|
257
|
+
function getEraColors(palette) {
|
|
258
|
+
return [
|
|
259
|
+
palette.colors.blue,
|
|
260
|
+
palette.colors.green,
|
|
261
|
+
palette.colors.yellow,
|
|
262
|
+
palette.colors.orange,
|
|
263
|
+
palette.colors.purple
|
|
264
|
+
];
|
|
265
|
+
}
|
|
250
266
|
|
|
251
267
|
export {
|
|
252
268
|
hexToHSL,
|
|
@@ -261,9 +277,12 @@ export {
|
|
|
261
277
|
contrastRatio,
|
|
262
278
|
contrastText,
|
|
263
279
|
themeBaseBg,
|
|
280
|
+
groupFill,
|
|
281
|
+
groupStroke,
|
|
264
282
|
shapeFill,
|
|
265
283
|
getSeriesColors,
|
|
266
284
|
getSegmentColors,
|
|
267
|
-
politicalTints
|
|
285
|
+
politicalTints,
|
|
286
|
+
getEraColors
|
|
268
287
|
};
|
|
269
|
-
//# sourceMappingURL=chunk-
|
|
288
|
+
//# sourceMappingURL=chunk-AMQFJ7P7.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
wrapDescriptionLines
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WMIKC5XO.js";
|
|
4
4
|
import {
|
|
5
5
|
renderInlineText
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FWNJDD4U.js";
|
|
7
7
|
import {
|
|
8
8
|
ScaleContext
|
|
9
9
|
} from "./chunk-24YPR5EH.js";
|
|
@@ -11,22 +11,22 @@ import {
|
|
|
11
11
|
TITLE_FONT_SIZE,
|
|
12
12
|
TITLE_FONT_WEIGHT,
|
|
13
13
|
TITLE_Y
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VSPNH7LC.js";
|
|
15
15
|
import {
|
|
16
16
|
FONT_FAMILY
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ICLB27PZ.js";
|
|
18
18
|
import {
|
|
19
19
|
CHAR_WIDTH_RATIO,
|
|
20
20
|
measureText
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YC6GVLTI.js";
|
|
22
22
|
import {
|
|
23
23
|
fillModeFromOptions
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4CA7TJ44.js";
|
|
25
25
|
import {
|
|
26
26
|
contrastText,
|
|
27
27
|
getSeriesColors,
|
|
28
28
|
shapeFill
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveColor
|
|
32
32
|
} from "./chunk-XOGQY4EC.js";
|
|
@@ -144,7 +144,7 @@ function renderPyramid(container, parsed, palette, isDark, onClickItem, exportDi
|
|
|
144
144
|
);
|
|
145
145
|
const labelFitsInside = Math.min(topHalf, botHalf) * 2 > measureText(layer.label, layout.labelFont, { bold: true });
|
|
146
146
|
const haloColor = textColor === palette.textOnFillLight ? palette.textOnFillDark : palette.textOnFillLight;
|
|
147
|
-
const labelText = layerG.append("text").attr("x", layout.pyramidCx).attr("y", midY).attr("dy", "0.35em").attr("text-anchor", "middle").attr("fill", textColor).attr("font-family", FONT_FAMILY).attr("font-size", layout.labelFont).attr("font-weight",
|
|
147
|
+
const labelText = layerG.append("text").attr("x", layout.pyramidCx).attr("y", midY).attr("dy", "0.35em").attr("text-anchor", "middle").attr("fill", textColor).attr("font-family", FONT_FAMILY).attr("font-size", layout.labelFont).attr("font-weight", "bold");
|
|
148
148
|
if (!labelFitsInside) {
|
|
149
149
|
labelText.attr("paint-order", "stroke fill").attr("stroke", haloColor).attr("stroke-width", 3).attr("stroke-linejoin", "round").attr("stroke-opacity", 0.6);
|
|
150
150
|
}
|
|
@@ -406,9 +406,9 @@ function renderDescriptionVariant(args) {
|
|
|
406
406
|
const y = startY + j * descLineHeight;
|
|
407
407
|
const isBullet = line.kind === "bullet-first" || line.kind === "bullet-cont";
|
|
408
408
|
if (line.kind === "bullet-first") {
|
|
409
|
-
descG.append("text").attr("x", bulletColLeftX).attr("y", y).attr("dy", "0.35em").attr("text-anchor", "start").attr("fill", palette.text).attr("font-family", FONT_FAMILY).attr("font-size", descFont).attr("font-weight",
|
|
409
|
+
descG.append("text").attr("x", bulletColLeftX).attr("y", y).attr("dy", "0.35em").attr("text-anchor", "start").attr("fill", palette.text).attr("font-family", FONT_FAMILY).attr("font-size", descFont).attr("font-weight", "normal").text("\u2022");
|
|
410
410
|
}
|
|
411
|
-
const t = descG.append("text").attr("x", isBullet ? bulletColLeftX + BULLET_BODY_INDENT : textX).attr("y", y).attr("dy", "0.35em").attr("text-anchor", isBullet ? "start" : textAnchor).attr("fill", palette.text).attr("font-family", FONT_FAMILY).attr("font-size", descFont).attr("font-weight",
|
|
411
|
+
const t = descG.append("text").attr("x", isBullet ? bulletColLeftX + BULLET_BODY_INDENT : textX).attr("y", y).attr("dy", "0.35em").attr("text-anchor", isBullet ? "start" : textAnchor).attr("fill", palette.text).attr("font-family", FONT_FAMILY).attr("font-size", descFont).attr("font-weight", "normal");
|
|
412
412
|
renderInlineText(t, line.text, palette);
|
|
413
413
|
}
|
|
414
414
|
}
|
|
@@ -428,4 +428,4 @@ export {
|
|
|
428
428
|
renderPyramid,
|
|
429
429
|
renderPyramidForExport
|
|
430
430
|
};
|
|
431
|
-
//# sourceMappingURL=chunk-
|
|
431
|
+
//# sourceMappingURL=chunk-CCETDPLV.js.map
|
|
@@ -1,38 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EDGE_DASH
|
|
3
|
+
} from "./chunk-IIEI7VK5.js";
|
|
1
4
|
import {
|
|
2
5
|
layoutInlineHeader
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2F7AG7LA.js";
|
|
4
7
|
import {
|
|
5
8
|
TITLE_FONT_SIZE,
|
|
6
9
|
TITLE_FONT_WEIGHT,
|
|
7
10
|
TITLE_Y
|
|
8
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VSPNH7LC.js";
|
|
9
12
|
import {
|
|
10
13
|
renderIntegratedLegend
|
|
11
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-253E5ISJ.js";
|
|
12
15
|
import {
|
|
13
16
|
getLegendExtent,
|
|
14
17
|
getMaxLegendReservedHeight
|
|
15
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LLZVRWVS.js";
|
|
16
19
|
import {
|
|
17
20
|
FONT_FAMILY
|
|
18
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ICLB27PZ.js";
|
|
19
22
|
import {
|
|
20
23
|
LEGEND_GROUP_GAP
|
|
21
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CKDYRVOC.js";
|
|
22
25
|
import {
|
|
23
26
|
measureText
|
|
24
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YC6GVLTI.js";
|
|
25
28
|
import {
|
|
26
29
|
isBlockNode
|
|
27
30
|
} from "./chunk-XSVWUOUZ.js";
|
|
28
31
|
import {
|
|
29
32
|
resolveTagColor,
|
|
30
33
|
tagAttrKey
|
|
31
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-O2HU4AQN.js";
|
|
32
35
|
import {
|
|
33
36
|
mix,
|
|
34
37
|
themeBaseBg
|
|
35
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
36
39
|
|
|
37
40
|
// src/block/renderer.ts
|
|
38
41
|
import * as d3Selection from "d3-selection";
|
|
@@ -303,7 +306,7 @@ function drawItems(g, items, ctx, path = []) {
|
|
|
303
306
|
const { palette, fillMode } = ctx;
|
|
304
307
|
for (const it of items) {
|
|
305
308
|
if (it.type === "empty") {
|
|
306
|
-
g.append("rect").attr("x", it.x).attr("y", it.y).attr("width", it.w).attr("height", it.h).attr("rx", 7).attr("fill", "none").attr("stroke", ctx.neutral).attr("stroke-width", 1).attr("stroke-dasharray",
|
|
309
|
+
g.append("rect").attr("x", it.x).attr("y", it.y).attr("width", it.w).attr("height", it.h).attr("rx", 7).attr("fill", "none").attr("stroke", ctx.neutral).attr("stroke-width", 1).attr("stroke-dasharray", EDGE_DASH).attr("opacity", 0.7);
|
|
307
310
|
continue;
|
|
308
311
|
}
|
|
309
312
|
const node = it.node;
|
|
@@ -322,7 +325,7 @@ function drawItems(g, items, ctx, path = []) {
|
|
|
322
325
|
const cid = `dgmo-block-clip-${clipCounter++}`;
|
|
323
326
|
cell.append("clipPath").attr("id", cid).append("rect").attr("x", it.x).attr("y", it.y).attr("width", it.w).attr("height", it.h).attr("rx", 10);
|
|
324
327
|
cell.append("rect").attr("x", it.x).attr("y", it.y).attr("width", it.w).attr("height", it.h).attr("rx", 10).attr("fill", fill2).attr("stroke", stroke).attr("stroke-width", 1.5);
|
|
325
|
-
cell.append("text").attr("x", it.x + it.w / 2).attr("y", it.y + it.h / 2 + 4).attr("text-anchor", "middle").attr("font-size", 12.5).attr("font-weight",
|
|
328
|
+
cell.append("text").attr("x", it.x + it.w / 2).attr("y", it.y + it.h / 2 + 4).attr("text-anchor", "middle").attr("font-size", 12.5).attr("font-weight", "bold").attr("fill", palette.text).text(clipLabel(it.label ?? "", it.w - 24, 12.5));
|
|
326
329
|
cell.append("rect").attr("x", it.x).attr("y", it.y + it.h - BLOCK_BAR_H).attr("width", it.w).attr("height", BLOCK_BAR_H).attr("fill", fillMode === "solid" && color ? palette.text : stroke).attr("clip-path", `url(#${cid})`);
|
|
327
330
|
bindToggle(cell, it, ctx, it.h);
|
|
328
331
|
continue;
|
|
@@ -338,7 +341,7 @@ function drawItems(g, items, ctx, path = []) {
|
|
|
338
341
|
const grow = (headerFs - 13) / (20 - 13);
|
|
339
342
|
const headerOpacity = 0.92 - grow * 0.3;
|
|
340
343
|
const headerY = it.y + Math.round(headerFs * 0.7) + 7;
|
|
341
|
-
cell.append("text").attr("x", it.x + it.w / 2).attr("y", headerY).attr("text-anchor", "middle").attr("font-size", headerFs).attr("font-weight",
|
|
344
|
+
cell.append("text").attr("x", it.x + it.w / 2).attr("y", headerY).attr("text-anchor", "middle").attr("font-size", headerFs).attr("font-weight", "bold").attr("fill", palette.text).attr("opacity", headerOpacity).text(clipLabel(it.label ?? "", it.w - 24, headerFs));
|
|
342
345
|
bindToggle(cell, it, ctx, BLOCK_HEADER_H);
|
|
343
346
|
if (it.inner) drawItems(g, it.inner, ctx, itemPath);
|
|
344
347
|
continue;
|
|
@@ -346,7 +349,7 @@ function drawItems(g, items, ctx, path = []) {
|
|
|
346
349
|
const fill = color ? fillMode === "solid" ? mix(color, palette.bg, 80) : fillMode === "outline" ? themeBaseBg(palette, ctx.isDark) : mix(color, palette.bg, 14) : palette.bg;
|
|
347
350
|
cell.attr("data-leaf", "true");
|
|
348
351
|
cell.append("rect").attr("x", it.x).attr("y", it.y).attr("width", it.w).attr("height", it.h).attr("rx", 8).attr("fill", fill).attr("stroke", stroke).attr("stroke-width", 1.25);
|
|
349
|
-
cell.append("text").attr("x", it.x + it.w / 2).attr("y", it.y + it.h / 2 + 5).attr("text-anchor", "middle").attr("font-size", 13).attr("font-weight",
|
|
352
|
+
cell.append("text").attr("x", it.x + it.w / 2).attr("y", it.y + it.h / 2 + 5).attr("text-anchor", "middle").attr("font-size", 13).attr("font-weight", "bold").attr("fill", palette.text).text(clipLabel(it.label ?? "", it.w - 16, 13));
|
|
350
353
|
}
|
|
351
354
|
}
|
|
352
355
|
function bindToggle(cell, it, ctx, hitH) {
|
|
@@ -397,4 +400,4 @@ export {
|
|
|
397
400
|
renderBlock,
|
|
398
401
|
authoredCollapsedIds
|
|
399
402
|
};
|
|
400
|
-
//# sourceMappingURL=chunk-
|
|
403
|
+
//# sourceMappingURL=chunk-CE654SL2.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
stripDefaultModifier,
|
|
18
18
|
tagAttrKey,
|
|
19
19
|
validateTagGroupNames
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-O2HU4AQN.js";
|
|
21
21
|
import {
|
|
22
22
|
AliasRegistry,
|
|
23
23
|
GANTT_BOOLEAN_SET,
|
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
splitNameAndMeta,
|
|
33
33
|
warnUnknownMetaKeys,
|
|
34
34
|
withTagAliases
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4CA7TJ44.js";
|
|
36
36
|
import {
|
|
37
37
|
getSeriesColors
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
39
39
|
import {
|
|
40
40
|
formatDgmoError,
|
|
41
41
|
makeDgmoError
|
|
@@ -1381,4 +1381,4 @@ export {
|
|
|
1381
1381
|
GANTT_KNOWN_OPTIONS,
|
|
1382
1382
|
GANTT_KNOWN_BOOLEANS
|
|
1383
1383
|
};
|
|
1384
|
-
//# sourceMappingURL=chunk-
|
|
1384
|
+
//# sourceMappingURL=chunk-CFYTCBRH.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
measureText,
|
|
3
3
|
truncateText
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YC6GVLTI.js";
|
|
5
5
|
import {
|
|
6
6
|
mix
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
8
8
|
|
|
9
9
|
// src/utils/legend-constants.ts
|
|
10
10
|
var LEGEND_HEIGHT = 28;
|
|
@@ -59,4 +59,4 @@ export {
|
|
|
59
59
|
LEGEND_TOGGLE_OFF_OPACITY,
|
|
60
60
|
LEGEND_GEAR_PILL_W
|
|
61
61
|
};
|
|
62
|
-
//# sourceMappingURL=chunk-
|
|
62
|
+
//# sourceMappingURL=chunk-CKDYRVOC.js.map
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HEADER_HEIGHT,
|
|
3
|
+
LABEL_FONT_SIZE,
|
|
4
|
+
META_FONT_SIZE,
|
|
5
|
+
META_LINE_HEIGHT,
|
|
6
|
+
SEPARATOR_GAP
|
|
7
|
+
} from "./chunk-IIEI7VK5.js";
|
|
1
8
|
import {
|
|
2
9
|
LEGEND_CAPSULE_PAD,
|
|
3
10
|
LEGEND_DOT_R,
|
|
@@ -11,20 +18,18 @@ import {
|
|
|
11
18
|
LEGEND_PILL_FONT_SIZE,
|
|
12
19
|
LEGEND_PILL_PAD,
|
|
13
20
|
measureLegendText
|
|
14
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CKDYRVOC.js";
|
|
15
22
|
import {
|
|
16
23
|
measureText
|
|
17
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YC6GVLTI.js";
|
|
18
25
|
import {
|
|
19
26
|
injectDefaultTagMetadata,
|
|
20
27
|
resolveTagColor,
|
|
21
28
|
tagAttrKey
|
|
22
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-O2HU4AQN.js";
|
|
23
30
|
|
|
24
31
|
// src/sitemap/layout.ts
|
|
25
32
|
import dagre from "@dagrejs/dagre";
|
|
26
|
-
var LABEL_FONT_SIZE = 13;
|
|
27
|
-
var META_FONT_SIZE = 11;
|
|
28
33
|
var CONTAINER_LABEL_FONT_SIZE = 13;
|
|
29
34
|
function clipToRectBorder(cx, cy, w, h, tx, ty) {
|
|
30
35
|
const dx = tx - cx;
|
|
@@ -37,9 +42,6 @@ function clipToRectBorder(cx, cy, w, h, tx, ty) {
|
|
|
37
42
|
const s = Math.min(sx, sy);
|
|
38
43
|
return { x: cx + dx * s, y: cy + dy * s };
|
|
39
44
|
}
|
|
40
|
-
var META_LINE_HEIGHT = 16;
|
|
41
|
-
var HEADER_HEIGHT = 28;
|
|
42
|
-
var SEPARATOR_GAP = 6;
|
|
43
45
|
var CARD_H_PAD = 20;
|
|
44
46
|
var CARD_V_PAD = 10;
|
|
45
47
|
var MIN_CARD_WIDTH = 140;
|
|
@@ -627,4 +629,4 @@ function layoutSitemap(parsed, hiddenCounts, activeTagGroup, hiddenAttributes, e
|
|
|
627
629
|
export {
|
|
628
630
|
layoutSitemap
|
|
629
631
|
};
|
|
630
|
-
//# sourceMappingURL=chunk-
|
|
632
|
+
//# sourceMappingURL=chunk-CRBW2WS7.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildMapProjection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OM6XZAKM.js";
|
|
4
4
|
import {
|
|
5
5
|
TITLE_FONT_SIZE,
|
|
6
6
|
TITLE_Y
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VSPNH7LC.js";
|
|
8
8
|
|
|
9
9
|
// src/map/dimensions.ts
|
|
10
10
|
import { geoPath } from "d3-geo";
|
|
@@ -51,4 +51,4 @@ export {
|
|
|
51
51
|
mapContentAspect,
|
|
52
52
|
mapExportDimensions
|
|
53
53
|
};
|
|
54
|
-
//# sourceMappingURL=chunk-
|
|
54
|
+
//# sourceMappingURL=chunk-CREALBZL.js.map
|