@diagrammo/dgmo 0.78.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/dist/advanced.d.ts +186 -19
- package/dist/advanced.js +129 -114
- package/dist/block.d.ts +2 -2
- package/dist/block.js +53 -53
- package/dist/{calculator-CVQ54JNE.js → calculator-OHTCZSBW.js} +3 -3
- package/dist/{chart-meta-BKN2ORkc.d.ts → chart-meta-B7lSmrzg.d.ts} +2 -2
- package/dist/chart-meta.d.ts +3 -3
- package/dist/chart-meta.js +43 -43
- package/dist/{charts-d3-KEQ7XVSM.js → charts-d3-EST3Z5VG.js} +12 -12
- package/dist/{chunk-67I3HFSF.js → chunk-253E5ISJ.js} +5 -5
- package/dist/{chunk-FLMXJMMY.js → chunk-2F7AG7LA.js} +3 -3
- package/dist/{chunk-LMWXBFLA.js → chunk-2R2M2C6V.js} +2 -2
- package/dist/{chunk-GJH7ZEPH.js → chunk-2RAH6GVR.js} +22 -12
- package/dist/{chunk-KO6DGOOB.js → chunk-37NDM5NW.js} +2 -2
- package/dist/{chunk-AN7T6VP7.js → chunk-3BN3WCUD.js} +5 -2
- package/dist/{chunk-IE47TYZT.js → chunk-3KFGPXHD.js} +102 -101
- package/dist/{chunk-NWNSXHA5.js → chunk-3KNA7OIO.js} +3 -3
- package/dist/{chunk-M5OOAP65.js → chunk-4CA7TJ44.js} +2 -1
- package/dist/{chunk-6Z2NUJSX.js → chunk-4L43NPSQ.js} +10 -6
- package/dist/{chunk-VUJQ6RU6.js → chunk-4T6V7JJA.js} +3 -3
- package/dist/{chunk-3XFOE3DQ.js → chunk-4YSWUQKZ.js} +3 -3
- package/dist/{chunk-ZMCFUGKO.js → chunk-54JYWS7D.js} +8 -8
- package/dist/{chunk-XCR3PDFF.js → chunk-55DMCFGM.js} +3 -3
- package/dist/{chunk-IMO46ROR.js → chunk-5BV5MXLY.js} +3 -3
- package/dist/{chunk-5G55TS3H.js → chunk-5DWF3N3V.js} +3 -3
- package/dist/{chunk-U4ND3J6C.js → chunk-6775W3UW.js} +4 -4
- package/dist/{chunk-N56W4R66.js → chunk-6EMJRAEY.js} +3 -3
- package/dist/{chunk-RC3FM3FE.js → chunk-6FUIPWTS.js} +4 -4
- package/dist/{chunk-CTERZC4K.js → chunk-6JIMYPXR.js} +4 -4
- package/dist/{chunk-VZD3ZV4Y.js → chunk-7AEMAUDF.js} +11 -11
- package/dist/{chunk-NVOU7N6C.js → chunk-7DCM3CB5.js} +2 -2
- package/dist/{chunk-XDPJMLOH.js → chunk-7EUTTKNU.js} +15 -13
- package/dist/{chunk-76NHL5UG.js → chunk-7I6NWTPE.js} +2 -2
- package/dist/{chunk-OKXWPKUC.js → chunk-7SHL2WME.js} +2 -2
- package/dist/{chunk-QAPFXLAC.js → chunk-AFOHIR2O.js} +3 -3
- package/dist/{chunk-KAZQX2EY.js → chunk-AI7TZQ2R.js} +3 -3
- package/dist/{chunk-7BNRHSSF.js → chunk-ALVK3TBO.js} +3 -3
- package/dist/{chunk-YVLTNNME.js → chunk-AMQFJ7P7.js} +10 -1
- package/dist/{chunk-UDYJVX6Y.js → chunk-CCETDPLV.js} +4 -4
- package/dist/{chunk-L26M3X7K.js → chunk-CE654SL2.js} +8 -8
- package/dist/{chunk-FJADQOFQ.js → chunk-CFYTCBRH.js} +4 -4
- package/dist/{chunk-MFK7LF66.js → chunk-CKDYRVOC.js} +3 -3
- package/dist/{chunk-6B3M6LW6.js → chunk-CRBW2WS7.js} +4 -4
- package/dist/{chunk-DCPD5SHV.js → chunk-CREALBZL.js} +2 -2
- package/dist/{chunk-P64NBPSK.js → chunk-CSTYDCKB.js} +4 -4
- package/dist/{chunk-SNBEAO4Q.js → chunk-DG5IQW74.js} +7 -7
- package/dist/{chunk-Y2CYNRL7.js → chunk-DN6K6QCF.js} +2 -2
- package/dist/{chunk-VQGQF7O7.js → chunk-DQOCYWB6.js} +4 -4
- package/dist/{chunk-7SMVTA7I.js → chunk-EBEFYSVZ.js} +40 -40
- package/dist/{chunk-L65WI4HO.js → chunk-EDU2OCIQ.js} +2 -2
- package/dist/{chunk-4IGUEGD6.js → chunk-EOG4QKKV.js} +36 -12
- package/dist/{chunk-4AWLEWSD.js → chunk-F66R7CPY.js} +2 -2
- package/dist/{chunk-7BMX2M3F.js → chunk-FFDHZVEL.js} +2 -2
- package/dist/{chunk-BJB4YDJP.js → chunk-GWA6UGNX.js} +8 -8
- package/dist/{chunk-IDGQB6XD.js → chunk-HIOJSYDA.js} +3 -3
- package/dist/{chunk-KGX5LIUG.js → chunk-HJ5DKZPO.js} +5 -5
- package/dist/{chunk-AHN2CVCH.js → chunk-HJZ4OET2.js} +25 -13
- package/dist/{chunk-36UQ77JV.js → chunk-HLTVEXML.js} +10 -10
- package/dist/{chunk-M3LZCDB6.js → chunk-I6DFQQER.js} +10 -10
- package/dist/{chunk-A7Y32YD6.js → chunk-IEK2FUWO.js} +19 -6
- package/dist/{chunk-3OWIYK52.js → chunk-IZK2H4KU.js} +3 -3
- package/dist/{chunk-CRLVJZWX.js → chunk-JOG6W3VS.js} +2 -2
- package/dist/{chunk-HHHYVTVS.js → chunk-JTLLQT34.js} +5 -5
- package/dist/{chunk-RIXWLFB4.js → chunk-K3K7JHZI.js} +2 -2
- package/dist/{chunk-GOW5VO6M.js → chunk-KHRZCKKG.js} +2 -2
- package/dist/{chunk-RUNI4OXP.js → chunk-KIF4UFD2.js} +6 -6
- package/dist/{chunk-VAA7QSZ7.js → chunk-KYK6PMB5.js} +6 -6
- package/dist/{chunk-U2JIFCJN.js → chunk-LJ7X6ZNV.js} +16 -19
- package/dist/{chunk-SFSJ6XWV.js → chunk-LLYHYPYG.js} +4 -4
- package/dist/{chunk-IZTU6WVR.js → chunk-LLZVRWVS.js} +2 -2
- package/dist/{chunk-7WTFX6OA.js → chunk-LXTMP3VT.js} +2 -2
- package/dist/{chunk-UQY2VLUK.js → chunk-MDUCF376.js} +7 -7
- package/dist/{chunk-KWSBNLSC.js → chunk-MQAD75AY.js} +2 -2
- package/dist/{chunk-JUNTVLOU.js → chunk-MUTZSF2A.js} +4 -4
- package/dist/{chunk-YKDZ3ZRI.js → chunk-NVI5G57O.js} +10 -10
- package/dist/{chunk-R4YGH7DJ.js → chunk-O2HU4AQN.js} +30 -3
- package/dist/{chunk-NS3KIRSW.js → chunk-O5QG5IFV.js} +12 -3
- package/dist/{chunk-TLM3I4XF.js → chunk-OLRVGPJ3.js} +24 -11
- package/dist/{chunk-CYLSQO4L.js → chunk-OM6XZAKM.js} +6 -6
- package/dist/{chunk-SXD6VY7D.js → chunk-OMN4F42L.js} +9 -9
- package/dist/{chunk-P2DM7Q5U.js → chunk-P4U5GST7.js} +3 -3
- package/dist/{chunk-32VR65TL.js → chunk-PKW4TLJC.js} +33 -16
- package/dist/{chunk-GRN44Z6A.js → chunk-PQR7E3LY.js} +2 -2
- package/dist/{chunk-SH4PPRU7.js → chunk-Q5KGGW7Z.js} +2 -2
- package/dist/{chunk-BB2ORSTF.js → chunk-QDHOIBHZ.js} +12 -12
- package/dist/{chunk-MJYFPFZT.js → chunk-QDTFFVLT.js} +10 -10
- package/dist/{chunk-UCF6TKWV.js → chunk-QGXH64FT.js} +7 -7
- package/dist/{chunk-VS2M72PF.js → chunk-RLJKH4ZO.js} +4 -2
- package/dist/{chunk-ZGOBAMQ2.js → chunk-RN3DOUOU.js} +9 -9
- package/dist/{chunk-VBJCGGNF.js → chunk-RPP3NHKV.js} +2 -2
- package/dist/{chunk-EOB7XVYR.js → chunk-RVWWCQAB.js} +2 -2
- package/dist/{chunk-BPM52K3Z.js → chunk-RWF7TCGT.js} +31 -8
- package/dist/{chunk-LKS56RDT.js → chunk-S6GPBJWG.js} +2 -2
- package/dist/{chunk-RC6GGF6X.js → chunk-S7ZJEQPW.js} +4 -4
- package/dist/{chunk-2NLBIZEW.js → chunk-SEOM2BGQ.js} +3 -3
- package/dist/{chunk-6VTLVU7D.js → chunk-T3EW35M2.js} +3 -3
- package/dist/{chunk-3GLTQZKE.js → chunk-TPQ6Q7JP.js} +3 -3
- package/dist/{chunk-P54AX5XN.js → chunk-ULUZBEFO.js} +4 -4
- package/dist/{chunk-B6PVPAS5.js → chunk-UNYOWKEC.js} +13 -4
- package/dist/{chunk-X326N4GN.js → chunk-VTWUHX4H.js} +3 -3
- package/dist/{chunk-P4SQV3XD.js → chunk-W4MC3KP6.js} +2 -2
- package/dist/{chunk-LGI735AJ.js → chunk-W6DBWWPC.js} +2 -2
- package/dist/{chunk-7NNJXYXU.js → chunk-WC72PTV4.js} +3 -3
- package/dist/{chunk-ENDB5YSV.js → chunk-WY4L675I.js} +10 -24
- package/dist/{chunk-QVMV4KCA.js → chunk-XDEEYDPQ.js} +4 -4
- package/dist/{chunk-GINNZHVN.js → chunk-XNAMWOPJ.js} +3 -3
- package/dist/{chunk-GQEXY7XL.js → chunk-XND5JIJA.js} +2 -2
- package/dist/{chunk-RHZZVIGA.js → chunk-XWC4RQ7T.js} +4 -4
- package/dist/{chunk-UCZBRGJN.js → chunk-XXLAZQ5E.js} +2 -2
- package/dist/{chunk-NN5IDH2I.js → chunk-Y22BJKMK.js} +3 -3
- package/dist/{chunk-LEBPWFVF.js → chunk-Y2KFQX5K.js} +47 -28
- package/dist/{chunk-BSREARWG.js → chunk-Y3OLUMJH.js} +9 -9
- package/dist/{chunk-JOD2CK2M.js → chunk-Y3RYIGHZ.js} +8 -8
- package/dist/{chunk-MTGGOCND.js → chunk-YC6GVLTI.js} +61 -10
- package/dist/{chunk-6PHOZBW5.js → chunk-YD2HPT7W.js} +2 -2
- package/dist/{chunk-TO6TWNMF.js → chunk-YPVP6I62.js} +2 -2
- package/dist/{chunk-PIWUZFG7.js → chunk-YQIZIKCK.js} +13 -13
- package/dist/{chunk-M526IKKH.js → chunk-Z4COUG7H.js} +2 -2
- package/dist/{chunk-LTTZX6RD.js → chunk-Z5ZCTCX4.js} +3 -3
- package/dist/{chunk-57GSSHBR.js → chunk-ZASX45SU.js} +3 -3
- package/dist/{chunk-3ZLQM6XN.js → chunk-ZH3BWGTE.js} +3 -3
- package/dist/{chunk-TN754B3R.js → chunk-ZZZJVDIL.js} +2 -2
- package/dist/completion-registry.js +3 -3
- package/dist/{d3-CQT5bwpb.d.ts → d3-Bje6Mla1.d.ts} +1 -1
- package/dist/dgmo-router-OXFV43XX.js +90 -0
- package/dist/{dgmo-router-C9CsswPZ.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-FDJ4QQXE.js → flowchart-renderer-IGSKJFMF.js} +10 -10
- package/dist/index.d.ts +7 -7
- package/dist/index.js +53 -53
- package/dist/{layout-5DZ2LI2R.js → layout-5AYAYUJH.js} +2 -2
- package/dist/{layout-6I6LSBUR.js → layout-6APS2RRG.js} +7 -7
- package/dist/{layout-YVY72CIG.js → layout-6VUNAH6F.js} +5 -5
- package/dist/{layout-ZDN252GR.js → layout-74HDWQYG.js} +5 -5
- package/dist/{layout-CHWKNE3O.js → layout-FCIYZV63.js} +3 -3
- package/dist/{layout-4LNMXLVK.js → layout-J2Z2SYH5.js} +3 -3
- package/dist/layout-LELNMRM5.js +16 -0
- package/dist/{layout-K4KML2DL.js → layout-OPF6KTOH.js} +5 -5
- package/dist/layout-SUND6B7D.js +9 -0
- package/dist/{layout-S53FSD6R.js → layout-WASEHV3S.js} +5 -5
- package/dist/{layout-SGYR6HBX.js → layout-XAJLQPI6.js} +3 -3
- package/dist/layout-XY45TFJ4.js +16 -0
- package/dist/{layout-TCFXB5XH.js → layout-YPRXVCW5.js} +5 -5
- package/dist/{layout-C2SCZV5M.js → layout-ZJOWB27N.js} +6 -6
- package/dist/{layout-search-TSV4FURP.js → layout-search-3JKNSUTJ.js} +5 -5
- package/dist/{legend-constants-SB4PLHV5.js → legend-constants-RSWFR3L6.js} +4 -4
- package/dist/{palettes-YIPSRYXP.js → palettes-IAF6WVL4.js} +2 -2
- package/dist/{parser-GFGU5ZLQ.js → parser-2Y7LWKNO.js} +4 -4
- package/dist/{parser-IK3FXZ7D.js → parser-4GUQUDAC.js} +5 -5
- package/dist/{parser-RUJNN5PK.js → parser-4OXANARZ.js} +5 -5
- package/dist/{parser-GKZWI5SZ.js → parser-56UEMRXS.js} +4 -4
- package/dist/{parser-EPKXJ2RL.js → parser-66QZQYGE.js} +4 -4
- package/dist/{parser-Z5UK6ADF.js → parser-6SS7DKVW.js} +4 -4
- package/dist/{parser-HSPODF4H.js → parser-AYURCBDZ.js} +4 -4
- package/dist/{parser-4IHIVDJD.js → parser-COPCQEHV.js} +5 -5
- package/dist/{parser-F4ZKDGUZ.js → parser-DEWJM5PX.js} +3 -3
- package/dist/{parser-6ZFQLLVE.js → parser-DQKZDA2J.js} +3 -3
- package/dist/{parser-WCFG3DZA.js → parser-EMPM3V35.js} +3 -3
- package/dist/{parser-PD4TP6NM.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-LJWPKRDM.js → parser-GK6CMK4P.js} +4 -4
- package/dist/{parser-3UNIPVNY.js → parser-H33OKBUB.js} +4 -4
- package/dist/{parser-G7E2BURB.js → parser-HJBSWTDY.js} +4 -4
- package/dist/{parser-6JNJHQAG.js → parser-HRIKI5O3.js} +5 -5
- package/dist/{parser-H4ZUNLX4.js → parser-I77632XB.js} +3 -3
- package/dist/{parser-ZO5YT5SV.js → parser-JGMQE7FS.js} +4 -4
- package/dist/{parser-BOPXE6RP.js → parser-JIPG576H.js} +4 -4
- package/dist/{parser-R2JHC7LQ.js → parser-JNJ2IFSO.js} +4 -4
- package/dist/{parser-RMZ6YI7H.js → parser-LCUQTABE.js} +4 -4
- package/dist/{parser-4DLU4SNG.js → parser-LXU3MGG6.js} +3 -3
- package/dist/{parser-DFBQ2RID.js → parser-N4YB5EIZ.js} +4 -4
- package/dist/{parser-XVSDFO56.js → parser-NC36PRBR.js} +3 -3
- package/dist/{parser-OYWUBQV4.js → parser-O6WYAXTS.js} +4 -4
- package/dist/{parser-4KFJKLP2.js → parser-UHABNZBC.js} +3 -3
- package/dist/{parser-2BX2EJUB.js → parser-V6HULGXW.js} +4 -4
- package/dist/{parser-YWE7GHW6.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-62VNEQRT.js → parser-ZUH2G7J2.js} +4 -4
- package/dist/{renderer-E2JTYQY5.js → renderer-2ZGZSSCV.js} +16 -16
- package/dist/{renderer-KD5X4RIS.js → renderer-33AB7UAZ.js} +12 -12
- package/dist/renderer-43KEDLTQ.js +23 -0
- package/dist/{renderer-LRL4SU43.js → renderer-4E6NNPNU.js} +11 -11
- package/dist/{renderer-J7J3OVLQ.js → renderer-4HFT4HJG.js} +14 -14
- package/dist/{renderer-FA4BTAOL.js → renderer-63MHARNI.js} +5 -5
- package/dist/{renderer-J6HK2KOW.js → renderer-6HPV7BMG.js} +9 -9
- package/dist/{renderer-AIVALEQR.js → renderer-BVJ3NVRB.js} +5 -5
- package/dist/{renderer-JRITSZY3.js → renderer-DV44AS75.js} +11 -11
- package/dist/{renderer-DI66RLAG.js → renderer-FLLVGYUY.js} +12 -12
- package/dist/{renderer-CRRW7LTW.js → renderer-FSV7MTW3.js} +5 -5
- package/dist/{renderer-CXU2MGSC.js → renderer-H6XEVHKH.js} +10 -10
- package/dist/renderer-HNEMQJXT.js +21 -0
- package/dist/{renderer-KWNNWCGD.js → renderer-IIN3RY4F.js} +4 -4
- package/dist/{renderer-WYNLGZRF.js → renderer-K2OWHNBV.js} +10 -10
- package/dist/renderer-M6UIXQHH.js +27 -0
- package/dist/{renderer-OR5QHR7X.js → renderer-N5CRYFBI.js} +12 -12
- package/dist/{renderer-JHQC5RGJ.js → renderer-O3O6A3RY.js} +11 -11
- package/dist/{renderer-NA3DTAWF.js → renderer-OVRX36WE.js} +16 -16
- package/dist/{renderer-SBVWHQVW.js → renderer-PLKMHBAB.js} +12 -12
- package/dist/{renderer-FFGFTIT4.js → renderer-REHVBQ57.js} +11 -11
- package/dist/{renderer-JC7MK7SD.js → renderer-RW446FGL.js} +3 -3
- package/dist/{renderer-ZUAXGHFC.js → renderer-SJV75NUI.js} +11 -11
- package/dist/{renderer-TLOSBJKW.js → renderer-TKWW45LZ.js} +12 -12
- package/dist/{renderer-LGMIAG6N.js → renderer-UHLTPQTW.js} +3 -3
- package/dist/{renderer-W5UG2HWT.js → renderer-UNYFAMFE.js} +5 -5
- package/dist/{renderer-5TPUPMZ7.js → renderer-URXHBQOF.js} +10 -10
- package/dist/{renderer-WOOKJOBQ.js → renderer-VBAQQWDB.js} +10 -10
- package/dist/renderer-VI72MVFW.js +77 -0
- package/dist/{renderer-BF7FYXG3.js → renderer-XGJIACBV.js} +9 -9
- package/dist/{renderer-VHK6UAW2.js → renderer-XVTKGPYT.js} +7 -7
- package/dist/{renderer-MBL64AJI.js → renderer-YLIICO4R.js} +6 -6
- package/dist/{renderer-IVAM7Z3Y.js → renderer-ZG6GPWZF.js} +10 -10
- package/dist/renderer-radial-7UHFYOOL.js +21 -0
- package/dist/{state-parser-CT5HQQ7E.js → state-parser-XT4ZPQAF.js} +5 -5
- package/dist/{state-renderer-7O3QGNJ5.js → state-renderer-6TVII5ZJ.js} +15 -15
- package/dist/{tag-groups-BoJg3lFV.d.ts → tag-groups-DIJV_50B.d.ts} +26 -1
- package/dist/{themes-CXYnNA4e.d.ts → themes-Bgkyh6gh.d.ts} +2 -2
- package/docs/language-reference.md +6 -0
- package/package.json +4 -3
- package/dist/dgmo-router-XZNCLYTV.js +0 -90
- package/dist/dimensions-SIZMZ4DC.js +0 -22
- package/dist/layout-IN53LAE6.js +0 -9
- package/dist/layout-XK6ZD7BU.js +0 -16
- package/dist/layout-YY6VH5XH.js +0 -16
- package/dist/renderer-AMELXBNW.js +0 -23
- package/dist/renderer-LQN3FXAP.js +0 -77
- package/dist/renderer-UDWJRRIC.js +0 -27
- package/dist/renderer-Y74Y54C3.js +0 -21
- package/dist/renderer-radial-YVUDGR7C.js +0 -21
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryCollectNote
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7I6NWTPE.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveNotes
|
|
6
6
|
} from "./chunk-E6PNTYRK.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tagAttrKey,
|
|
21
21
|
validateTagGroupNames,
|
|
22
22
|
validateTagValues
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-O2HU4AQN.js";
|
|
24
24
|
import {
|
|
25
25
|
AliasRegistry,
|
|
26
26
|
BOXES_AND_LINES_REGISTRY,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
tryParseSharedOption,
|
|
34
34
|
warnUnknownMetaKeys,
|
|
35
35
|
withTagAliases
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-4CA7TJ44.js";
|
|
37
37
|
import {
|
|
38
38
|
makeDgmoError,
|
|
39
39
|
suggest
|
|
@@ -859,4 +859,4 @@ export {
|
|
|
859
859
|
looksLikeBoxesAndLines,
|
|
860
860
|
parseBoxesAndLines
|
|
861
861
|
};
|
|
862
|
-
//# sourceMappingURL=chunk-
|
|
862
|
+
//# sourceMappingURL=chunk-XDEEYDPQ.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
matchTagBlockHeading,
|
|
12
12
|
stripDefaultModifier,
|
|
13
13
|
tagAttrKey
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-O2HU4AQN.js";
|
|
15
15
|
import {
|
|
16
16
|
FAMILY_PERSON_REGISTRY,
|
|
17
17
|
FAMILY_UNION_REGISTRY,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
tokenizeQuoteAware,
|
|
27
27
|
tryParseSharedOption,
|
|
28
28
|
withTagAliases
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4CA7TJ44.js";
|
|
30
30
|
import {
|
|
31
31
|
nord,
|
|
32
32
|
resolveColor
|
|
@@ -571,4 +571,4 @@ export {
|
|
|
571
571
|
FAMILY_DIAGNOSTICS,
|
|
572
572
|
parseFamily
|
|
573
573
|
};
|
|
574
|
-
//# sourceMappingURL=chunk-
|
|
574
|
+
//# sourceMappingURL=chunk-XNAMWOPJ.js.map
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
getSeriesColors,
|
|
31
31
|
mix,
|
|
32
32
|
themeBaseBg
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
34
34
|
import {
|
|
35
35
|
resolveColor
|
|
36
36
|
} from "./chunk-XOGQY4EC.js";
|
|
@@ -1029,4 +1029,4 @@ export {
|
|
|
1029
1029
|
renderCountdown,
|
|
1030
1030
|
renderCountdownForExport
|
|
1031
1031
|
};
|
|
1032
|
-
//# sourceMappingURL=chunk-
|
|
1032
|
+
//# sourceMappingURL=chunk-XND5JIJA.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-WTTIODDV.js";
|
|
5
5
|
import {
|
|
6
6
|
buildPlacedNotes
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2R2M2C6V.js";
|
|
8
8
|
import {
|
|
9
9
|
noteCanvasShift
|
|
10
10
|
} from "./chunk-6EK55ART.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
measureText,
|
|
13
13
|
truncateText,
|
|
14
14
|
wrapTextToWidth
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YC6GVLTI.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveNotes
|
|
18
18
|
} from "./chunk-E6PNTYRK.js";
|
|
@@ -312,7 +312,7 @@ function computeNodeSize(node, reserveValueRow) {
|
|
|
312
312
|
return { width: w, height: Math.max(NODE_HEIGHT, totalHeight) };
|
|
313
313
|
}
|
|
314
314
|
async function layoutBoxesAndLines(parsed, collapseInfo, layoutOptions) {
|
|
315
|
-
const { layoutBoxesAndLinesSearch } = await import("./layout-search-
|
|
315
|
+
const { layoutBoxesAndLinesSearch } = await import("./layout-search-3JKNSUTJ.js");
|
|
316
316
|
const searchOpts = {
|
|
317
317
|
...layoutOptions?.hideDescriptions !== void 0 && {
|
|
318
318
|
hideDescriptions: layoutOptions.hideDescriptions
|
|
@@ -468,4 +468,4 @@ export {
|
|
|
468
468
|
computeNodeSize,
|
|
469
469
|
layoutBoxesAndLines
|
|
470
470
|
};
|
|
471
|
-
//# sourceMappingURL=chunk-
|
|
471
|
+
//# sourceMappingURL=chunk-XWC4RQ7T.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
splitNameAndMeta,
|
|
8
8
|
warnUnknownMetaKeys,
|
|
9
9
|
withTagAliases
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4CA7TJ44.js";
|
|
11
11
|
import {
|
|
12
12
|
makeDgmoError
|
|
13
13
|
} from "./chunk-5SI6T5A5.js";
|
|
@@ -314,4 +314,4 @@ export {
|
|
|
314
314
|
parseTimelineDate,
|
|
315
315
|
parseTimelineEventLine
|
|
316
316
|
};
|
|
317
|
-
//# sourceMappingURL=chunk-
|
|
317
|
+
//# sourceMappingURL=chunk-XXLAZQ5E.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
tagAttrKey,
|
|
14
14
|
validateTagGroupNames,
|
|
15
15
|
validateTagValues
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-O2HU4AQN.js";
|
|
17
17
|
import {
|
|
18
18
|
ALL_CHART_TYPES,
|
|
19
19
|
AliasRegistry,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
tryParseSharedOption,
|
|
28
28
|
warnUnknownMetaKeys,
|
|
29
29
|
withTagAliases
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-4CA7TJ44.js";
|
|
31
31
|
import {
|
|
32
32
|
formatDgmoError,
|
|
33
33
|
makeDgmoError,
|
|
@@ -527,4 +527,4 @@ export {
|
|
|
527
527
|
looksLikeSitemap,
|
|
528
528
|
parseSitemap
|
|
529
529
|
};
|
|
530
|
-
//# sourceMappingURL=chunk-
|
|
530
|
+
//# sourceMappingURL=chunk-Y22BJKMK.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
computeNodeSizing,
|
|
6
6
|
layoutPert
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KHRZCKKG.js";
|
|
8
8
|
import {
|
|
9
9
|
ScaleContext
|
|
10
10
|
} from "./chunk-24YPR5EH.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
INLINE_HEADER_PAD,
|
|
28
28
|
layoutInlineHeader
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2F7AG7LA.js";
|
|
30
30
|
import {
|
|
31
31
|
serializeSvg
|
|
32
32
|
} from "./chunk-LD2JSKU3.js";
|
|
@@ -42,24 +42,24 @@ import {
|
|
|
42
42
|
} from "./chunk-VSPNH7LC.js";
|
|
43
43
|
import {
|
|
44
44
|
renderIntegratedLegend
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-253E5ISJ.js";
|
|
46
46
|
import {
|
|
47
47
|
getLegendExtent
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-LLZVRWVS.js";
|
|
49
49
|
import {
|
|
50
50
|
FONT_FAMILY
|
|
51
51
|
} from "./chunk-ICLB27PZ.js";
|
|
52
52
|
import {
|
|
53
53
|
LEGEND_HEIGHT
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-CKDYRVOC.js";
|
|
55
55
|
import {
|
|
56
56
|
measureText,
|
|
57
57
|
truncateText,
|
|
58
58
|
wrapTextToWidth
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-YC6GVLTI.js";
|
|
60
60
|
import {
|
|
61
61
|
parsePert
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-AI7TZQ2R.js";
|
|
63
63
|
import {
|
|
64
64
|
addCalendarDays,
|
|
65
65
|
formatDuration,
|
|
@@ -70,14 +70,16 @@ import {
|
|
|
70
70
|
import {
|
|
71
71
|
UNTAGGED_TAG_COLOR,
|
|
72
72
|
resolveActiveTagGroup,
|
|
73
|
+
resolveGroupTagColor,
|
|
73
74
|
resolveTagColor
|
|
74
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-O2HU4AQN.js";
|
|
75
76
|
import {
|
|
76
77
|
contrastText,
|
|
78
|
+
groupFill,
|
|
77
79
|
mix,
|
|
78
80
|
shapeFill,
|
|
79
81
|
themeBaseBg
|
|
80
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
81
83
|
|
|
82
84
|
// src/pert/renderer.ts
|
|
83
85
|
import * as d3Selection from "d3-selection";
|
|
@@ -286,20 +288,30 @@ function renderPert(container, resolved, layout, palette, isDark, options = {})
|
|
|
286
288
|
}
|
|
287
289
|
const root = svg.append("g").attr("transform", `translate(${offsetX}, ${offsetY})`);
|
|
288
290
|
const sizing = computeNodeSizing(resolved);
|
|
289
|
-
renderGroups(
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
291
|
+
renderGroups(
|
|
292
|
+
root,
|
|
293
|
+
resolved,
|
|
294
|
+
layout,
|
|
295
|
+
palette,
|
|
296
|
+
isDark,
|
|
297
|
+
collapsedSet,
|
|
298
|
+
sizing,
|
|
299
|
+
{
|
|
300
|
+
nodeRadius: sNodeRadius,
|
|
301
|
+
nodeStrokeWidth: sNodeStrokeWidth,
|
|
302
|
+
containerRadius: sContainerRadius,
|
|
303
|
+
containerLabelFontSize: sContainerLabelFontSize,
|
|
304
|
+
containerHeaderHeight: sContainerHeaderHeight,
|
|
305
|
+
collapseBarHeight: sCollapseBarHeight,
|
|
306
|
+
nodeTopRowHeight: sNodeTopRowHeight,
|
|
307
|
+
nodeBottomRowHeight: sNodeBottomRowHeight,
|
|
308
|
+
nodeFontSize: sNodeFontSize,
|
|
309
|
+
nodeCellFontSize: sNodeCellFontSize,
|
|
310
|
+
pinIconW: sPinIconW,
|
|
311
|
+
pinIconH: sPinIconH
|
|
312
|
+
},
|
|
313
|
+
tagLegendActive
|
|
314
|
+
);
|
|
303
315
|
renderEdges(root, resolved, layout, palette, collapsedSet, {
|
|
304
316
|
edgeStrokeWidth: sEdgeStrokeWidth,
|
|
305
317
|
edgeLabelFontSize: ctx.text(10)
|
|
@@ -675,13 +687,13 @@ function buildArrowheads(defs, palette, arrowW = ARROWHEAD_WIDTH, arrowH = ARROW
|
|
|
675
687
|
mk("pert-arrow-green", palette.colors.green);
|
|
676
688
|
mk("pert-arrow-blue", palette.colors.blue);
|
|
677
689
|
}
|
|
678
|
-
function renderGroups(root, resolved, layout, palette, isDark, collapsedSet, sizing, sc = {}) {
|
|
690
|
+
function renderGroups(root, resolved, layout, palette, isDark, collapsedSet, sizing, sc = {}, activeTagGroup = null) {
|
|
679
691
|
if (layout.groups.length === 0) return;
|
|
680
692
|
const layer = root.append("g").attr("class", "pert-groups");
|
|
681
693
|
const unit = resolved.options.timeUnit;
|
|
682
694
|
const fillMode = resolved.options.fillMode;
|
|
683
|
-
const
|
|
684
|
-
const
|
|
695
|
+
const neutralContainerFill = mix(palette.surface, palette.bg, 40);
|
|
696
|
+
const neutralContainerStroke = palette.textMuted;
|
|
685
697
|
const mcOn = resolved.monteCarloResult !== null;
|
|
686
698
|
const groupHasCritical = (groupId) => resolved.activities.some(
|
|
687
699
|
(a) => a.activity.groupId === groupId && a.isCriticalPath
|
|
@@ -694,6 +706,13 @@ function renderGroups(root, resolved, layout, palette, isDark, collapsedSet, siz
|
|
|
694
706
|
const isCollapsed = collapsedSet.has(grp.id);
|
|
695
707
|
const memberBand = groupBand(grp.id, resolvedGroup?.criticality ?? null);
|
|
696
708
|
const memberCritical = groupHasCritical(grp.id);
|
|
709
|
+
const grpTagColor = resolveGroupTagColor(
|
|
710
|
+
resolvedGroup?.group.tags,
|
|
711
|
+
resolved.tagGroups,
|
|
712
|
+
activeTagGroup
|
|
713
|
+
);
|
|
714
|
+
const containerFill = grpTagColor ? groupFill(palette, isDark, grpTagColor) : neutralContainerFill;
|
|
715
|
+
const containerStroke = grpTagColor ?? neutralContainerStroke;
|
|
697
716
|
const g = layer.append("g").attr(
|
|
698
717
|
"class",
|
|
699
718
|
isCollapsed ? "pert-group pert-group-collapsed" : "pert-group"
|
|
@@ -779,7 +798,7 @@ function renderGroups(root, resolved, layout, palette, isDark, collapsedSet, siz
|
|
|
779
798
|
const sCLFS = sc.containerLabelFontSize ?? CONTAINER_LABEL_FONT_SIZE;
|
|
780
799
|
const sCHH = sc.containerHeaderHeight ?? CONTAINER_HEADER_HEIGHT;
|
|
781
800
|
const sNSW = sc.nodeStrokeWidth ?? NODE_STROKE_WIDTH;
|
|
782
|
-
g.append("rect").attr("x", grp.x).attr("y", grp.y).attr("width", grp.width).attr("height", grp.height).attr("rx", sCR).attr("ry", sCR).attr("fill", containerFill).attr("stroke", containerStroke).attr("stroke-opacity", 0.35).attr("stroke-width", sNSW);
|
|
801
|
+
g.append("rect").attr("x", grp.x).attr("y", grp.y).attr("width", grp.width).attr("height", grp.height).attr("rx", sCR).attr("ry", sCR).attr("fill", containerFill).attr("stroke", containerStroke).attr("stroke-opacity", grpTagColor ? 1 : 0.35).attr("stroke-width", sNSW);
|
|
783
802
|
g.append("text").attr("x", grp.x + grp.width / 2).attr("y", grp.y + sCHH / 2 + sCLFS / 2 - 2).attr("text-anchor", "middle").attr("font-family", FONT_FAMILY).attr("fill", palette.text).attr("font-size", sCLFS).attr("font-weight", "bold").text(label);
|
|
784
803
|
}
|
|
785
804
|
}
|
|
@@ -1712,4 +1731,4 @@ export {
|
|
|
1712
1731
|
measurePertAnalysisBlock,
|
|
1713
1732
|
renderPertAnalysisBlock
|
|
1714
1733
|
};
|
|
1715
|
-
//# sourceMappingURL=chunk-
|
|
1734
|
+
//# sourceMappingURL=chunk-Y2KFQX5K.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
layoutJourneyMap,
|
|
4
4
|
scoreToColor,
|
|
5
5
|
scoreToCurveY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6JIMYPXR.js";
|
|
7
7
|
import {
|
|
8
8
|
wrapNoteBody
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-W6DBWWPC.js";
|
|
10
10
|
import {
|
|
11
11
|
NOTE_BULLET_INDENT
|
|
12
12
|
} from "./chunk-5DH3KYFH.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-LD2JSKU3.js";
|
|
28
28
|
import {
|
|
29
29
|
renderIntegratedLegend
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-253E5ISJ.js";
|
|
31
31
|
import {
|
|
32
32
|
FONT_FAMILY
|
|
33
33
|
} from "./chunk-ICLB27PZ.js";
|
|
@@ -35,23 +35,23 @@ import {
|
|
|
35
35
|
measureText,
|
|
36
36
|
truncateText,
|
|
37
37
|
wrapTextToWidth
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-YC6GVLTI.js";
|
|
39
39
|
import {
|
|
40
40
|
parseJourneyMap
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-6EMJRAEY.js";
|
|
42
42
|
import {
|
|
43
43
|
resolveActiveTagGroup,
|
|
44
44
|
tagAttrKey
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-O2HU4AQN.js";
|
|
46
46
|
import {
|
|
47
47
|
fillModeFromOptions
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-4CA7TJ44.js";
|
|
49
49
|
import {
|
|
50
50
|
contrastText,
|
|
51
51
|
mix,
|
|
52
52
|
shapeFill,
|
|
53
53
|
themeBaseBg
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
55
55
|
|
|
56
56
|
// src/journey-map/renderer.ts
|
|
57
57
|
import * as d3 from "d3-selection";
|
|
@@ -878,4 +878,4 @@ export {
|
|
|
878
878
|
renderJourneyMap,
|
|
879
879
|
renderJourneyMapForExport
|
|
880
880
|
};
|
|
881
|
-
//# sourceMappingURL=chunk-
|
|
881
|
+
//# sourceMappingURL=chunk-Y3OLUMJH.js.map
|
|
@@ -7,25 +7,25 @@ import {
|
|
|
7
7
|
mutedFill,
|
|
8
8
|
resolveCellColor,
|
|
9
9
|
resolveColorMode
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VTWUHX4H.js";
|
|
11
11
|
import {
|
|
12
12
|
renderIntegratedLegend
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-253E5ISJ.js";
|
|
14
14
|
import {
|
|
15
15
|
getMaxLegendReservedHeight
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LLZVRWVS.js";
|
|
17
17
|
import {
|
|
18
18
|
FONT_FAMILY
|
|
19
19
|
} from "./chunk-ICLB27PZ.js";
|
|
20
20
|
import {
|
|
21
21
|
LEGEND_GROUP_GAP
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CKDYRVOC.js";
|
|
23
23
|
import {
|
|
24
24
|
measureText
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YC6GVLTI.js";
|
|
26
26
|
import {
|
|
27
27
|
tagAttrKey
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-O2HU4AQN.js";
|
|
29
29
|
import {
|
|
30
30
|
contrastRatio,
|
|
31
31
|
contrastText,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
hexToHSL,
|
|
34
34
|
hslToHex,
|
|
35
35
|
relativeLuminance
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
37
37
|
|
|
38
38
|
// src/treemap/renderer-radial.ts
|
|
39
39
|
import * as d3Selection from "d3-selection";
|
|
@@ -425,4 +425,4 @@ export {
|
|
|
425
425
|
renderTreemapRadialForExport,
|
|
426
426
|
renderTreemapRadial
|
|
427
427
|
};
|
|
428
|
-
//# sourceMappingURL=chunk-
|
|
428
|
+
//# sourceMappingURL=chunk-Y3RYIGHZ.js.map
|
|
@@ -575,6 +575,31 @@ function truncateText(text, fontSize, maxWidth, opts) {
|
|
|
575
575
|
}
|
|
576
576
|
return lo === 0 ? ellipsis : clusters.slice(0, lo).join("") + ellipsis;
|
|
577
577
|
}
|
|
578
|
+
function breakAtoms(word) {
|
|
579
|
+
const upper = (c) => c >= "A" && c <= "Z";
|
|
580
|
+
const lowerOrDigit = (c) => c >= "a" && c <= "z" || c >= "0" && c <= "9";
|
|
581
|
+
const out = [];
|
|
582
|
+
let current = "";
|
|
583
|
+
for (let i = 0; i < word.length; i++) {
|
|
584
|
+
const c = word[i];
|
|
585
|
+
current += c;
|
|
586
|
+
if (c === "_" || c === "-") {
|
|
587
|
+
out.push(current);
|
|
588
|
+
current = "";
|
|
589
|
+
continue;
|
|
590
|
+
}
|
|
591
|
+
const next = word[i + 1];
|
|
592
|
+
if (next === void 0) continue;
|
|
593
|
+
const boundary = lowerOrDigit(c) && upper(next) || // An acronym run ending where a capitalised word begins.
|
|
594
|
+
upper(c) && upper(next) && word[i + 2] !== void 0 && lowerOrDigit(word[i + 2]);
|
|
595
|
+
if (boundary) {
|
|
596
|
+
out.push(current);
|
|
597
|
+
current = "";
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
if (current) out.push(current);
|
|
601
|
+
return out.length > 0 ? out : [word];
|
|
602
|
+
}
|
|
578
603
|
function wrapTextToWidth(text, fontSize, maxWidth, opts) {
|
|
579
604
|
const words = text.split(/\s+/).filter((w) => w.length > 0);
|
|
580
605
|
if (words.length === 0) return [""];
|
|
@@ -583,23 +608,32 @@ function wrapTextToWidth(text, fontSize, maxWidth, opts) {
|
|
|
583
608
|
const lines = [];
|
|
584
609
|
let current = "";
|
|
585
610
|
let currentW = 0;
|
|
586
|
-
const
|
|
611
|
+
const atoms = [];
|
|
612
|
+
for (const word of words) {
|
|
613
|
+
const pieces = breakAtoms(word);
|
|
614
|
+
for (let k = 0; k < pieces.length; k++) {
|
|
615
|
+
atoms.push({ text: pieces[k], sep: k === 0 ? " " : "" });
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
const pushAtom = (atom) => {
|
|
619
|
+
const glue = current && atom.sep === " " ? spaceW : 0;
|
|
587
620
|
const testW = extendWidth(
|
|
588
|
-
current ? currentW +
|
|
589
|
-
|
|
621
|
+
current ? currentW + glue : 0,
|
|
622
|
+
atom.text,
|
|
590
623
|
fontSize,
|
|
591
624
|
opts
|
|
592
625
|
);
|
|
593
626
|
if (testW <= maxWidth || !current) {
|
|
594
|
-
current = current ? `${current} ${
|
|
627
|
+
current = current ? `${current}${atom.sep === " " ? " " : ""}${atom.text}` : atom.text;
|
|
595
628
|
currentW = testW;
|
|
596
629
|
} else {
|
|
597
630
|
lines.push(current);
|
|
598
|
-
current =
|
|
599
|
-
currentW = extendWidth(0,
|
|
631
|
+
current = atom.text;
|
|
632
|
+
currentW = extendWidth(0, atom.text, fontSize, opts);
|
|
600
633
|
}
|
|
601
634
|
};
|
|
602
|
-
for (const
|
|
635
|
+
for (const atom of atoms) {
|
|
636
|
+
const word = atom.text;
|
|
603
637
|
if (hardBreak && measureText(word, fontSize, opts) > maxWidth) {
|
|
604
638
|
if (current) {
|
|
605
639
|
lines.push(current);
|
|
@@ -623,16 +657,33 @@ function wrapTextToWidth(text, fontSize, maxWidth, opts) {
|
|
|
623
657
|
currentW = chunkW;
|
|
624
658
|
continue;
|
|
625
659
|
}
|
|
626
|
-
|
|
660
|
+
pushAtom(atom);
|
|
627
661
|
}
|
|
628
662
|
if (current) lines.push(current);
|
|
629
663
|
return lines.length > 0 ? lines : [""];
|
|
630
664
|
}
|
|
665
|
+
function fitWrapped(label, maxWidth, maxFont, minFont, maxLines = 2, opts = { bold: true }) {
|
|
666
|
+
const wrapOpts = { ...opts, hardBreak: true };
|
|
667
|
+
for (let fs = maxFont; fs >= minFont; fs--) {
|
|
668
|
+
const lines2 = wrapTextToWidth(label, fs, maxWidth, wrapOpts);
|
|
669
|
+
if (lines2.length <= maxLines) return { lines: lines2, fontSize: fs };
|
|
670
|
+
}
|
|
671
|
+
const lines = wrapTextToWidth(label, minFont, maxWidth, wrapOpts);
|
|
672
|
+
if (lines.length <= maxLines) return { lines, fontSize: minFont };
|
|
673
|
+
const kept = lines.slice(0, maxLines);
|
|
674
|
+
let last = kept[maxLines - 1];
|
|
675
|
+
while (last.length > 1 && measureText(`${last}\u2026`, minFont, opts) > maxWidth)
|
|
676
|
+
last = last.slice(0, -1);
|
|
677
|
+
kept[maxLines - 1] = `${last}\u2026`;
|
|
678
|
+
return { lines: kept, fontSize: minFont };
|
|
679
|
+
}
|
|
631
680
|
|
|
632
681
|
export {
|
|
633
682
|
CHAR_WIDTH_RATIO,
|
|
634
683
|
measureText,
|
|
635
684
|
truncateText,
|
|
636
|
-
|
|
685
|
+
breakAtoms,
|
|
686
|
+
wrapTextToWidth,
|
|
687
|
+
fitWrapped
|
|
637
688
|
};
|
|
638
|
-
//# sourceMappingURL=chunk-
|
|
689
|
+
//# sourceMappingURL=chunk-YC6GVLTI.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-ICLB27PZ.js";
|
|
5
5
|
import {
|
|
6
6
|
truncateText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YC6GVLTI.js";
|
|
8
8
|
|
|
9
9
|
// src/live-link/renderer.ts
|
|
10
10
|
var W = 560;
|
|
@@ -60,4 +60,4 @@ function escapeXml(s) {
|
|
|
60
60
|
export {
|
|
61
61
|
renderLiveLinkCard
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=chunk-
|
|
63
|
+
//# sourceMappingURL=chunk-YD2HPT7W.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
getSeriesColors,
|
|
15
15
|
mix
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveColor
|
|
19
19
|
} from "./chunk-XOGQY4EC.js";
|
|
@@ -447,4 +447,4 @@ export {
|
|
|
447
447
|
renderVersionControl,
|
|
448
448
|
renderVersionControlForExport
|
|
449
449
|
};
|
|
450
|
-
//# sourceMappingURL=chunk-
|
|
450
|
+
//# sourceMappingURL=chunk-YPVP6I62.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderNodeCard
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F66R7CPY.js";
|
|
4
4
|
import {
|
|
5
5
|
renderInlineText
|
|
6
6
|
} from "./chunk-FWNJDD4U.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-IIEI7VK5.js";
|
|
29
29
|
import {
|
|
30
30
|
layoutInlineHeader
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-2F7AG7LA.js";
|
|
32
32
|
import {
|
|
33
33
|
serializeSvg
|
|
34
34
|
} from "./chunk-LD2JSKU3.js";
|
|
@@ -38,11 +38,11 @@ import {
|
|
|
38
38
|
} from "./chunk-VSPNH7LC.js";
|
|
39
39
|
import {
|
|
40
40
|
renderIntegratedLegend
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-253E5ISJ.js";
|
|
42
42
|
import {
|
|
43
43
|
getLegendExtent,
|
|
44
44
|
getMaxLegendReservedHeight
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-LLZVRWVS.js";
|
|
46
46
|
import {
|
|
47
47
|
FONT_FAMILY
|
|
48
48
|
} from "./chunk-ICLB27PZ.js";
|
|
@@ -53,27 +53,27 @@ import {
|
|
|
53
53
|
LEGEND_EYE_SIZE,
|
|
54
54
|
LEGEND_GROUP_GAP,
|
|
55
55
|
LEGEND_HEIGHT
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-CKDYRVOC.js";
|
|
57
57
|
import {
|
|
58
58
|
measureText
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-YC6GVLTI.js";
|
|
60
60
|
import {
|
|
61
61
|
preprocessDescriptionLine
|
|
62
62
|
} from "./chunk-IYULMRBE.js";
|
|
63
63
|
import {
|
|
64
64
|
tagAttrKey
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-O2HU4AQN.js";
|
|
66
66
|
import {
|
|
67
67
|
fillModeFromOptions,
|
|
68
68
|
legendInlineRequested,
|
|
69
69
|
legendSuppressed
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-4CA7TJ44.js";
|
|
71
71
|
import {
|
|
72
72
|
contrastText,
|
|
73
73
|
mix,
|
|
74
74
|
shapeFill,
|
|
75
75
|
themeBaseBg
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
77
77
|
|
|
78
78
|
// src/sitemap/renderer.ts
|
|
79
79
|
import * as d3Selection from "d3-selection";
|
|
@@ -456,9 +456,9 @@ function renderLegend(parent, legendGroups, palette, isDark, activeTagGroup, fix
|
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
async function renderSitemapForExport(content, theme, palette) {
|
|
459
|
-
const { parseSitemap } = await import("./parser-
|
|
460
|
-
const { layoutSitemap } = await import("./layout-
|
|
461
|
-
const { getPalette, DEFAULT_PALETTE_ID } = await import("./palettes-
|
|
459
|
+
const { parseSitemap } = await import("./parser-66QZQYGE.js");
|
|
460
|
+
const { layoutSitemap } = await import("./layout-LELNMRM5.js");
|
|
461
|
+
const { getPalette, DEFAULT_PALETTE_ID } = await import("./palettes-IAF6WVL4.js");
|
|
462
462
|
const isDark = theme === "dark";
|
|
463
463
|
const defaultCfg = getPalette(DEFAULT_PALETTE_ID);
|
|
464
464
|
const effectivePalette = palette ?? (isDark ? defaultCfg.dark : defaultCfg.light);
|
|
@@ -508,4 +508,4 @@ export {
|
|
|
508
508
|
renderSitemap,
|
|
509
509
|
renderSitemapForExport
|
|
510
510
|
};
|
|
511
|
-
//# sourceMappingURL=chunk-
|
|
511
|
+
//# sourceMappingURL=chunk-YQIZIKCK.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
normalizeNumericToken,
|
|
14
14
|
parseFirstLine,
|
|
15
15
|
parseSeriesNames
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4CA7TJ44.js";
|
|
17
17
|
import {
|
|
18
18
|
RECOGNIZED_COLOR_NAMES,
|
|
19
19
|
resolveColorWithDiagnostic
|
|
@@ -1208,4 +1208,4 @@ export {
|
|
|
1208
1208
|
getSimpleChartLegendGroups,
|
|
1209
1209
|
getExtendedChartLegendGroups
|
|
1210
1210
|
};
|
|
1211
|
-
//# sourceMappingURL=chunk-
|
|
1211
|
+
//# sourceMappingURL=chunk-Z4COUG7H.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryCollectNote
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7I6NWTPE.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveNotes
|
|
6
6
|
} from "./chunk-E6PNTYRK.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
measureIndent,
|
|
18
18
|
parseFirstLine,
|
|
19
19
|
tryParseSharedOption
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4CA7TJ44.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveColorWithDiagnostic
|
|
23
23
|
} from "./chunk-XOGQY4EC.js";
|
|
@@ -454,4 +454,4 @@ export {
|
|
|
454
454
|
looksLikeClassDiagram,
|
|
455
455
|
extractSymbols
|
|
456
456
|
};
|
|
457
|
-
//# sourceMappingURL=chunk-
|
|
457
|
+
//# sourceMappingURL=chunk-Z5ZCTCX4.js.map
|