@diagrammo/dgmo 0.88.0 → 0.90.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 +5 -3
- package/dist/advanced.d.ts +472 -22
- package/dist/advanced.js +401 -240
- package/dist/{analyzer-R5UBTRO2.js → analyzer-7ZGAZIE6.js} +2 -2
- package/dist/block.d.ts +1 -1
- package/dist/block.js +95 -72
- package/dist/{calculator-35YVW4QO.js → calculator-PX3JHKAS.js} +2 -2
- package/dist/{chart-meta-PbgpGwYo.d.ts → chart-meta-B_WTMP0y.d.ts} +1 -1
- package/dist/chart-meta.d.ts +2 -2
- package/dist/chart-meta.js +22 -21
- package/dist/{chart-types-Db_EGf1o.d.ts → chart-types-V2NcgN5O.d.ts} +5 -1
- package/dist/{charts-d3-3BZRSZV6.js → charts-d3-QW4ERNUE.js} +13 -12
- package/dist/{chunk-O6MMQQLF.js → chunk-2EDJPHXQ.js} +17 -17
- package/dist/{chunk-7WGCQE2E.js → chunk-2ZVLI6GQ.js} +1 -1
- package/dist/{chunk-JLETTWUJ.js → chunk-3BQCSQQJ.js} +57 -28
- package/dist/{chunk-MVCPO6LI.js → chunk-3HBR3YAN.js} +37 -27
- package/dist/chunk-3UR4F7FE.js +14 -0
- package/dist/{chunk-IDJGV6VM.js → chunk-4HG4PYHM.js} +209 -1
- package/dist/{chunk-YMG7JDEY.js → chunk-4IYJOXGS.js} +78 -31
- package/dist/{chunk-BOO24UMJ.js → chunk-4YO7VJTP.js} +1 -1
- package/dist/{chunk-AAMCXQPP.js → chunk-54YUDXGP.js} +6 -6
- package/dist/{chunk-UG2XG57E.js → chunk-5M52RPAS.js} +2 -2
- package/dist/{chunk-UNAP6O26.js → chunk-5M6PMV5Z.js} +14 -14
- package/dist/{chunk-BMUWF77V.js → chunk-5MDQMB6A.js} +4 -4
- package/dist/{chunk-WPL5PFXE.js → chunk-5TZPIKNV.js} +5 -5
- package/dist/{chunk-VPASQOR3.js → chunk-62VWZ3SE.js} +6 -5
- package/dist/{chunk-N4XHXBDQ.js → chunk-64KSPLU2.js} +6 -5
- package/dist/{chunk-VEPIAUSK.js → chunk-6BQSDF77.js} +1 -5
- package/dist/{chunk-LNO3ASX5.js → chunk-A5EE66RQ.js} +2 -2
- package/dist/{chunk-5KGM44TG.js → chunk-A5PUOHIS.js} +4 -4
- package/dist/{chunk-UNNJCSSQ.js → chunk-AAC3XQWV.js} +3 -3
- package/dist/{chunk-VJ2KROJ5.js → chunk-AHWA36O7.js} +1 -1
- package/dist/{chunk-FKZ2Y3Q5.js → chunk-C4W62JZO.js} +2 -2
- package/dist/{chunk-6I5UN4FD.js → chunk-CDT33RHG.js} +4 -4
- package/dist/{chunk-3DOQOXXI.js → chunk-CNUN5GO6.js} +1 -1
- package/dist/{chunk-NF5YKFRH.js → chunk-COPSI54O.js} +3 -3
- package/dist/{chunk-GUTZCRBT.js → chunk-CUY56BK4.js} +2 -2
- package/dist/{chunk-HSRQDWV7.js → chunk-CYF2X3CG.js} +2 -11
- package/dist/{chunk-NGC3IZRY.js → chunk-DNMICILX.js} +2 -2
- package/dist/{chunk-CFBY77QJ.js → chunk-DXPT2HPH.js} +145 -156
- package/dist/{chunk-J7Q4VPBJ.js → chunk-EB7AEM2H.js} +28 -22
- package/dist/{chunk-MGBV4JEI.js → chunk-EDXGEQW3.js} +1 -1
- package/dist/{chunk-H2GEIFUF.js → chunk-EEYQFJVK.js} +154 -48
- package/dist/{chunk-FPXMCGS5.js → chunk-EK7JYFCL.js} +2 -2
- package/dist/{chunk-3C2FWS2J.js → chunk-EWERNTOX.js} +1 -1
- package/dist/{chunk-WZ23JJ7U.js → chunk-FDRHBQUG.js} +26 -24
- package/dist/{chunk-FJNXXGTR.js → chunk-FS2LZBHG.js} +2 -2
- package/dist/{chunk-ERNCPKD4.js → chunk-G2KHLANR.js} +1 -1
- package/dist/{chunk-XVSJYAK7.js → chunk-G5BGW4BX.js} +2 -2
- package/dist/{chunk-33FQ6HNV.js → chunk-GQVXYRPC.js} +9 -9
- package/dist/{chunk-MHAYUS65.js → chunk-GXP344YZ.js} +3 -3
- package/dist/{chunk-NJIGYGZS.js → chunk-GYBKG4Z6.js} +15 -10
- package/dist/{chunk-MSXRNVHB.js → chunk-HIVJBESO.js} +311 -72
- package/dist/{chunk-UY6TEJJH.js → chunk-HJRP6PXL.js} +1 -1
- package/dist/{chunk-DOXBS7F5.js → chunk-HLE5QGZJ.js} +4 -4
- package/dist/{chunk-L5AFONQU.js → chunk-HX2KJEPD.js} +1 -1
- package/dist/{chunk-LL6D3MES.js → chunk-I6FWHICD.js} +19 -19
- package/dist/{chunk-RH2PROYG.js → chunk-I6GGMCTV.js} +4 -2
- package/dist/{chunk-3RYBTEF5.js → chunk-I74AQRVD.js} +6 -12
- package/dist/{chunk-PLE2432T.js → chunk-ICYPGWOV.js} +3 -3
- package/dist/chunk-IHK3Y2HG.js +781 -0
- package/dist/{chunk-JD4RHBNX.js → chunk-IMHNZITR.js} +9 -9
- package/dist/{chunk-GUYVKGFN.js → chunk-IRVQT4GR.js} +3 -3
- package/dist/{chunk-XUDGZJTJ.js → chunk-J3ODKAWN.js} +8 -8
- package/dist/{chunk-UMRZPRAN.js → chunk-JRQ4LBQI.js} +20 -20
- package/dist/{chunk-MY6GUH26.js → chunk-JX4RCC6B.js} +2 -2
- package/dist/{chunk-DSG6GBUQ.js → chunk-K4GUO7FV.js} +8 -8
- package/dist/{chunk-HAH5X345.js → chunk-KATED53P.js} +1 -1
- package/dist/{chunk-J64NZ6NF.js → chunk-KSZHIAI2.js} +1 -1
- package/dist/{chunk-7HWY4QAJ.js → chunk-L24LESXF.js} +1 -0
- package/dist/{chunk-UIUXIDBX.js → chunk-LBRHDWEA.js} +5 -5
- package/dist/{chunk-GSYZZFI5.js → chunk-LC5LY5V2.js} +2 -2
- package/dist/{chunk-P5V63L35.js → chunk-LNQDICFJ.js} +22 -22
- package/dist/{chunk-PIXJL77H.js → chunk-M6J25PAZ.js} +1 -1
- package/dist/{chunk-RGI64U3A.js → chunk-MIVSVEK4.js} +14 -14
- package/dist/{chunk-6K7RODXG.js → chunk-MKFQ5E7J.js} +1 -1
- package/dist/{chunk-44GP7PD5.js → chunk-MPJQMMBZ.js} +12 -0
- package/dist/{chunk-WQ6G6FFM.js → chunk-NFWRIC2V.js} +1 -1
- package/dist/{chunk-LHL6HDUL.js → chunk-NJYA4QSN.js} +84 -12
- package/dist/{chunk-RU725VCJ.js → chunk-NMKLX57Y.js} +10 -35
- package/dist/{chunk-PPH6ILHL.js → chunk-NP2SE6MQ.js} +4 -4
- package/dist/{chunk-FM3WAVB6.js → chunk-NS7L7YKH.js} +1 -1
- package/dist/{chunk-HEYGGSNQ.js → chunk-NTJ5HVV6.js} +5 -5
- package/dist/{chunk-BAZT6CIF.js → chunk-NUYWNKHH.js} +9 -9
- package/dist/{chunk-DV2VEJCC.js → chunk-NWSPPGIE.js} +6 -6
- package/dist/{chunk-AYOVY75O.js → chunk-NY56FM55.js} +3 -3
- package/dist/{chunk-LD2JSKU3.js → chunk-OOCVGX4W.js} +15 -0
- package/dist/{chunk-A4XPI4YN.js → chunk-OSIUWQ3N.js} +29 -2
- package/dist/{chunk-LJFXC3IP.js → chunk-OWJVSJLA.js} +17 -17
- package/dist/{chunk-GDJW64XE.js → chunk-OYKNMFUY.js} +1 -1
- package/dist/{chunk-YK4N6TBN.js → chunk-PIHAUVA4.js} +10 -10
- package/dist/{chunk-C7QRRTAW.js → chunk-PNCKZFPE.js} +2 -2
- package/dist/{chunk-D4M25W6R.js → chunk-POBNN5DP.js} +6 -6
- package/dist/{chunk-N7XRBWXA.js → chunk-PQ5NW3QZ.js} +15 -15
- package/dist/{chunk-HTPZDZKQ.js → chunk-PXEUQ7EG.js} +22 -22
- package/dist/{chunk-XWYR5T52.js → chunk-QOZ4RVQY.js} +19 -19
- package/dist/{chunk-BV6PKJUS.js → chunk-QRIW46LR.js} +8 -8
- package/dist/{chunk-LSQGJN5H.js → chunk-R2PTZ6QM.js} +21 -21
- package/dist/{chunk-VW52W5F6.js → chunk-RCBHL2B5.js} +229 -159
- package/dist/{chunk-66YFDTT6.js → chunk-RJYFHEP4.js} +3 -3
- package/dist/{chunk-P3SKSKJI.js → chunk-RNXX2GOQ.js} +2 -2
- package/dist/{chunk-BT2WH2XT.js → chunk-RRBV4HIM.js} +3 -3
- package/dist/{chunk-WXPBP4IT.js → chunk-RY5RRKYN.js} +14 -14
- package/dist/{chunk-NZCSVD4M.js → chunk-S4LLHDGK.js} +8 -8
- package/dist/chunk-S7C32S2T.js +825 -0
- package/dist/{chunk-QFIXL3OK.js → chunk-SEKNYIMO.js} +1 -1
- package/dist/{chunk-JRUEIRJB.js → chunk-SLO22FPS.js} +2 -2
- package/dist/{chunk-47E5UTXE.js → chunk-SMEVBJJJ.js} +2 -2
- package/dist/{chunk-QFHWYWQL.js → chunk-SVQDLYX7.js} +1 -1
- package/dist/{chunk-WP2RLGDI.js → chunk-TCX5PMEY.js} +1 -1
- package/dist/{chunk-5LD7SHXO.js → chunk-TQ644YGV.js} +18 -18
- package/dist/{chunk-PUVTFUNH.js → chunk-U762HK4D.js} +28 -28
- package/dist/{chunk-DAX42XVH.js → chunk-VCHYS3RD.js} +14 -9
- package/dist/{chunk-XIFK423U.js → chunk-W7QN5BC5.js} +4 -4
- package/dist/{chunk-7UDAIP6W.js → chunk-WHRIN7N3.js} +1 -1
- package/dist/{chunk-ZUCXFXLD.js → chunk-X3WYJ5T7.js} +2 -2
- package/dist/{chunk-RE6TVIAV.js → chunk-X6IZP2BD.js} +4 -4
- package/dist/{chunk-LCJURK7L.js → chunk-Y6GQQ4Y2.js} +1 -1
- package/dist/{chunk-HTWH2XQL.js → chunk-YE7D2S75.js} +2 -2
- package/dist/{chunk-B7CU2HW5.js → chunk-YKGUSW6D.js} +17 -17
- package/dist/{chunk-AQIBKTPG.js → chunk-YWRZG6GN.js} +10 -10
- package/dist/{chunk-JQ57AWDL.js → chunk-ZJ4PYTCK.js} +1 -1
- package/dist/completion-registry.d.ts +7 -1
- package/dist/completion-registry.js +64 -20
- package/dist/countdown.js +1 -1
- package/dist/{d3-B6524aaP.d.ts → d3-2S3PrXik.d.ts} +11 -0
- package/dist/dgmo-router-BJBXSZMV.js +94 -0
- package/dist/{dimensions-6QAWEGIR.js → dimensions-AMA2S7RO.js} +7 -7
- package/dist/editor.js +12 -0
- package/dist/{flowchart-parser-GG7XBLQH.js → flowchart-parser-ADZIFVCH.js} +3 -3
- package/dist/{flowchart-renderer-THC6Y7EH.js → flowchart-renderer-CAG6ZNJ6.js} +10 -9
- package/dist/highlight.js +12 -0
- package/dist/index.d.ts +26 -5
- package/dist/index.js +94 -67
- package/dist/{layout-P6DTD4RT.js → layout-4RRC7XU7.js} +2 -2
- package/dist/{layout-LUQKAGGT.js → layout-6OSF2UGP.js} +5 -5
- package/dist/{layout-AM57TGN5.js → layout-C6MKMOBI.js} +3 -3
- package/dist/{layout-EHTYSMV4.js → layout-H4K54IW3.js} +2 -2
- package/dist/{layout-XUW444O5.js → layout-QS2SESBU.js} +3 -3
- package/dist/{layout-5NPBHV5F.js → layout-T2PGKQUQ.js} +4 -4
- package/dist/{layout-CUFA7XJD.js → layout-UFB2O4AO.js} +5 -5
- package/dist/{layout-MSSHF45T.js → layout-UPQGIT3N.js} +2 -2
- package/dist/{layout-QX5T6ZNE.js → layout-VQ2USZJ3.js} +5 -5
- package/dist/{layout-SOPAVXIH.js → layout-VRJ5YFUE.js} +3 -3
- package/dist/{layout-BOVTLAOT.js → layout-ZP7XYVXF.js} +2 -2
- package/dist/{layout-search-VKSBUCDM.js → layout-search-YKUL4VBV.js} +105 -6
- package/dist/{legend-constants-ZVO4FLAK.js → legend-constants-HE7FVDJP.js} +4 -2
- package/dist/{palettes-BIV54XLS.js → palettes-WQHELGVQ.js} +7 -4
- package/dist/{parser-KYPP2DX6.js → parser-223VOHSB.js} +4 -4
- package/dist/{parser-JOOAVBJI.js → parser-2PNV7UI3.js} +3 -3
- package/dist/{parser-GZ3LVF72.js → parser-3MGA2MTM.js} +2 -2
- package/dist/{parser-NOANDFJ4.js → parser-4AR25MAS.js} +2 -2
- package/dist/{parser-ACW6C6OY.js → parser-4B2PIXHI.js} +3 -3
- package/dist/{parser-KZMJNKDW.js → parser-57YQEEMC.js} +2 -2
- package/dist/{parser-J4DVNL4W.js → parser-5ZD2NKGU.js} +4 -4
- package/dist/{parser-LANGKWRG.js → parser-6LMB7BQQ.js} +2 -2
- package/dist/parser-AL6YL7KM.js +12 -0
- package/dist/{parser-5655XSOR.js → parser-B2FWP7ZO.js} +3 -3
- package/dist/{parser-GEKPWSSK.js → parser-BJDQX4KV.js} +3 -3
- package/dist/{parser-C327BBE3.js → parser-CA5WC5HF.js} +3 -3
- package/dist/{parser-KZMALSB2.js → parser-E5HFYL7B.js} +4 -4
- package/dist/{parser-WUK6CP5X.js → parser-ESZ5J5IJ.js} +6 -5
- package/dist/{parser-256EIWB2.js → parser-FDXUQ5TI.js} +2 -2
- package/dist/{parser-AN3MGHRL.js → parser-FV6RGALQ.js} +3 -3
- package/dist/{parser-DGF3ZEO6.js → parser-HPR7G7F6.js} +3 -3
- package/dist/{parser-OKB64MMN.js → parser-I4HZVIHX.js} +3 -3
- package/dist/{parser-JXS4426S.js → parser-J3BM2AP2.js} +4 -4
- package/dist/{parser-NPXPJHWN.js → parser-JFNDS5E5.js} +3 -3
- package/dist/{parser-PVIWHVGY.js → parser-KFIK3EOO.js} +3 -3
- package/dist/{parser-GPW4ZHPQ.js → parser-LGUT7KKH.js} +4 -3
- package/dist/{parser-KFYRTGTC.js → parser-MYRGCK7Q.js} +4 -4
- package/dist/{parser-ZLKYDFI5.js → parser-NAUUUCI3.js} +3 -3
- package/dist/{parser-DHSFIUPU.js → parser-NJ5VEZA3.js} +3 -3
- package/dist/{parser-OVQTTTUJ.js → parser-OFTMA36M.js} +2 -2
- package/dist/{parser-AKBVJHMK.js → parser-OV2WDSEV.js} +3 -3
- package/dist/{parser-LGS65QPN.js → parser-Q3UAOLEZ.js} +2 -2
- package/dist/{parser-XYY5NHP4.js → parser-R6OETHWM.js} +2 -2
- package/dist/{parser-7OEE7QT6.js → parser-RARXAHC7.js} +2 -2
- package/dist/{parser-NGHQQGD2.js → parser-T2RVIRDG.js} +3 -3
- package/dist/{parser-WEVTMBJ5.js → parser-W2DWCCLO.js} +3 -3
- package/dist/{parser-HCGXNHHL.js → parser-WFY4ZJUW.js} +3 -3
- package/dist/{parser-SA3RAJFS.js → parser-WSONWDFN.js} +2 -2
- package/dist/{renderer-2OOPQ4CH.js → renderer-3N64GVNM.js} +3 -3
- package/dist/{renderer-4BIMRO4X.js → renderer-3QM2DK7I.js} +7 -7
- package/dist/{renderer-4NZZ5J2F.js → renderer-3W5T3IU6.js} +8 -8
- package/dist/{renderer-RWJ45DWH.js → renderer-4Z7FRQ2A.js} +3 -3
- package/dist/{renderer-LODEVN3V.js → renderer-52CHSV6S.js} +13 -13
- package/dist/{renderer-X5A5VIRD.js → renderer-6OOJNEQE.js} +10 -10
- package/dist/{renderer-YDAVCRTP.js → renderer-A3PMPUO6.js} +15 -11
- package/dist/{renderer-NHPKNNBD.js → renderer-AM4VZSBQ.js} +11 -11
- package/dist/{renderer-SDUSBCJI.js → renderer-B3CPMS5R.js} +10 -10
- package/dist/{renderer-TPOZOAXR.js → renderer-B4KE3NM4.js} +17 -16
- package/dist/renderer-COSJM7UG.js +80 -0
- package/dist/{renderer-R34GJL7U.js → renderer-FXCVH2M5.js} +16 -15
- package/dist/{renderer-QM23SWAM.js → renderer-GWH5ACJ5.js} +4 -4
- package/dist/{renderer-222OTVQV.js → renderer-IG72UJHW.js} +5 -5
- package/dist/{renderer-A6ACVK4X.js → renderer-IO3D5E4E.js} +7 -7
- package/dist/{renderer-RMGN3Q7D.js → renderer-IPDCAACY.js} +5 -5
- package/dist/{renderer-XUPLAO4B.js → renderer-KK5BU5K2.js} +8 -8
- package/dist/{renderer-DCFQDBGJ.js → renderer-LD2H7WGP.js} +3 -3
- package/dist/{renderer-KVAQE7PQ.js → renderer-MK47ESCB.js} +8 -8
- package/dist/{renderer-4BHOELCE.js → renderer-MRMFYYZT.js} +3 -3
- package/dist/{renderer-6BUUTWVS.js → renderer-O5RQHGK2.js} +9 -9
- package/dist/{renderer-2KVQGGTT.js → renderer-OA5D3ZKB.js} +10 -10
- package/dist/{renderer-RENDISO5.js → renderer-ON4PTUHJ.js} +14 -14
- package/dist/{renderer-JKV2DBYP.js → renderer-OPDSKCQS.js} +7 -7
- package/dist/{renderer-XRALFCIN.js → renderer-PLRMST57.js} +10 -10
- package/dist/{renderer-WH2HWE5Z.js → renderer-PSMRAL72.js} +11 -11
- package/dist/{renderer-RNCYODNF.js → renderer-PXGCR7N4.js} +11 -10
- package/dist/{renderer-PQYO2HCE.js → renderer-R7OYCJEA.js} +4 -4
- package/dist/{renderer-36JH4OMC.js → renderer-SBXCPA3S.js} +12 -12
- package/dist/{renderer-A4LMOBZL.js → renderer-TMQNTUQS.js} +15 -15
- package/dist/renderer-TTKTBB4C.js +46 -0
- package/dist/{renderer-RAATRF6W.js → renderer-UVFGW2O6.js} +12 -10
- package/dist/{renderer-3FF4QVGW.js → renderer-W22GX72R.js} +10 -10
- package/dist/{renderer-BICLPGAH.js → renderer-WQ654YT5.js} +2 -2
- package/dist/{renderer-radial-XZ5TKUT4.js → renderer-radial-42LVSG74.js} +8 -8
- package/dist/{state-parser-FE3RF6XY.js → state-parser-ROKY5KSI.js} +4 -4
- package/dist/{state-renderer-5IQ4OJUI.js → state-renderer-MMG23G4W.js} +14 -14
- package/dist/{themes-CzuBdx1T.d.ts → themes-Cm2YBcT8.d.ts} +38 -2
- package/docs/ai-integration.md +8 -5
- package/docs/language-reference.md +163 -13
- package/gallery/fixtures/sketch.dgmo +2 -2
- package/gallery/fixtures/whiteboard.dgmo +18 -0
- package/package.json +2 -1
- package/dist/dgmo-router-F2DSURTR.js +0 -92
- package/dist/renderer-YIZ7G4HU.js +0 -78
- package/dist/{chunk-3TYUXC7D.js → chunk-2SKMEL7V.js} +0 -0
- package/dist/{chunk-CLQIXD2C.js → chunk-7Z2VFRP5.js} +3 -3
- package/dist/{chunk-2A4DQAXG.js → chunk-IIOLFAGJ.js} +3 -3
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
FONT_FAMILY
|
|
17
17
|
} from "./chunk-ICLB27PZ.js";
|
|
18
|
+
import {
|
|
19
|
+
fillModeFromOptions
|
|
20
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
18
21
|
import {
|
|
19
22
|
CHAR_WIDTH_RATIO,
|
|
20
23
|
measureText
|
|
21
24
|
} from "./chunk-KAO7JL4I.js";
|
|
22
|
-
import {
|
|
23
|
-
fillModeFromOptions
|
|
24
|
-
} from "./chunk-44GP7PD5.js";
|
|
25
25
|
import {
|
|
26
26
|
contrastText,
|
|
27
27
|
getSeriesColors,
|
|
28
28
|
shapeFill
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-L24LESXF.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveColor
|
|
32
32
|
} from "./chunk-2M4IGSCY.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryCollectNote
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KSZHIAI2.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveNotes
|
|
6
6
|
} from "./chunk-O753JUEZ.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tagAttrKey,
|
|
21
21
|
validateTagGroupNames,
|
|
22
22
|
validateTagValues
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HX2KJEPD.js";
|
|
24
24
|
import {
|
|
25
25
|
AliasRegistry,
|
|
26
26
|
ER_REGISTRY,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
tryParseSharedOption,
|
|
35
35
|
warnUnknownMetaKeys,
|
|
36
36
|
withTagAliases
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
38
38
|
import {
|
|
39
39
|
resolveColorWithDiagnostic
|
|
40
40
|
} from "./chunk-2M4IGSCY.js";
|
|
@@ -244,12 +244,12 @@ function parseERDiagram(content, palette) {
|
|
|
244
244
|
if (tagBlockMatch.alias) {
|
|
245
245
|
metaAliasMap.set(
|
|
246
246
|
normalizeName(tagBlockMatch.alias),
|
|
247
|
-
tagBlockMatch.name
|
|
247
|
+
tagAttrKey(tagBlockMatch.name)
|
|
248
248
|
);
|
|
249
249
|
}
|
|
250
250
|
metaAliasMap.set(
|
|
251
251
|
normalizeName(tagBlockMatch.name),
|
|
252
|
-
tagBlockMatch.name
|
|
252
|
+
tagAttrKey(tagBlockMatch.name)
|
|
253
253
|
);
|
|
254
254
|
result.tagGroups.push(currentTagGroup);
|
|
255
255
|
continue;
|
|
@@ -15,9 +15,10 @@ import {
|
|
|
15
15
|
finalizeAutoTagColors,
|
|
16
16
|
matchTagBlockHeading,
|
|
17
17
|
stripDefaultModifier,
|
|
18
|
+
tagAttrKey,
|
|
18
19
|
validateTagGroupNames,
|
|
19
20
|
validateTagValues
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HX2KJEPD.js";
|
|
21
22
|
import {
|
|
22
23
|
AliasRegistry,
|
|
23
24
|
FILL_FAMILY_TOKENS,
|
|
@@ -31,7 +32,7 @@ import {
|
|
|
31
32
|
splitNameAndMeta,
|
|
32
33
|
warnUnknownMetaKeys,
|
|
33
34
|
withTagAliases
|
|
34
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
35
36
|
import {
|
|
36
37
|
NAME_DIAGNOSTIC_CODES,
|
|
37
38
|
formatDgmoError,
|
|
@@ -475,7 +476,7 @@ function parseSequenceDgmo(content, palette) {
|
|
|
475
476
|
}
|
|
476
477
|
if (trimmed.startsWith("[")) {
|
|
477
478
|
const fallbackMatch = trimmed.match(GROUP_HEADING_FALLBACK);
|
|
478
|
-
if (fallbackMatch
|
|
479
|
+
if (fallbackMatch?.[1].includes("|")) {
|
|
479
480
|
const rawInside = fallbackMatch[1];
|
|
480
481
|
const pipeIdx = rawInside.indexOf("|");
|
|
481
482
|
const cleanName = rawInside.substring(0, pipeIdx).trim().replace(/\([^)]*\)$/, "").trim();
|
|
@@ -511,12 +512,12 @@ function parseSequenceDgmo(content, palette) {
|
|
|
511
512
|
if (tagBlockMatch.alias) {
|
|
512
513
|
aliasMap.set(
|
|
513
514
|
tagBlockMatch.alias.toLowerCase(),
|
|
514
|
-
tagBlockMatch.name
|
|
515
|
+
tagAttrKey(tagBlockMatch.name)
|
|
515
516
|
);
|
|
516
517
|
}
|
|
517
518
|
aliasMap.set(
|
|
518
519
|
normalizeName(tagBlockMatch.name),
|
|
519
|
-
tagBlockMatch.name
|
|
520
|
+
tagAttrKey(tagBlockMatch.name)
|
|
520
521
|
);
|
|
521
522
|
result.tagGroups.push(newTagGroup);
|
|
522
523
|
continue;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
measureText
|
|
3
|
-
} from "./chunk-KAO7JL4I.js";
|
|
4
1
|
import {
|
|
5
2
|
formatDuration,
|
|
6
3
|
formatScheduleValue,
|
|
7
4
|
formatSlackValue,
|
|
8
5
|
formatSprintCell
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2SKMEL7V.js";
|
|
7
|
+
import {
|
|
8
|
+
measureText
|
|
9
|
+
} from "./chunk-KAO7JL4I.js";
|
|
10
10
|
|
|
11
11
|
// src/pert/layout.ts
|
|
12
12
|
import dagre from "@dagrejs/dagre";
|
|
@@ -352,7 +352,8 @@ function applySwimLanes(g, resolved, _memberToGroup, collapsedGroupIds) {
|
|
|
352
352
|
if (members.length > laneSlots[li]) laneSlots[li] = members.length;
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
|
-
const
|
|
355
|
+
const firstNode = g.nodes()[0];
|
|
356
|
+
const slotSize = isLR ? DEFAULT_NODE_HEIGHT : (firstNode === void 0 ? void 0 : g.node(firstNode)?.width) ?? DEFAULT_NODE_HEIGHT;
|
|
356
357
|
const laneSize = new Array(numLanes).fill(0);
|
|
357
358
|
for (let i = 1; i < numLanes; i++) {
|
|
358
359
|
const slots = laneSlots[i];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SKETCH_DIAGNOSTIC_CODES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NWSPPGIE.js";
|
|
4
4
|
import {
|
|
5
5
|
makeDgmoError
|
|
6
6
|
} from "./chunk-BYU54C3S.js";
|
|
@@ -471,7 +471,6 @@ function layoutSketch(parsed, options = {}) {
|
|
|
471
471
|
nodes.push({
|
|
472
472
|
id: unit.node.id,
|
|
473
473
|
label: unit.node.label,
|
|
474
|
-
shape: unit.node.shape,
|
|
475
474
|
metadata: unit.node.metadata,
|
|
476
475
|
...unit.node.description && { description: unit.node.description },
|
|
477
476
|
lineNumber: unit.node.lineNumber,
|
|
@@ -487,7 +486,6 @@ function layoutSketch(parsed, options = {}) {
|
|
|
487
486
|
nodes.push({
|
|
488
487
|
id: unit.box.id,
|
|
489
488
|
label: unit.box.label,
|
|
490
|
-
shape: "rectangle",
|
|
491
489
|
metadata: unit.box.metadata,
|
|
492
490
|
lineNumber: unit.box.lineNumber,
|
|
493
491
|
slot: cardSpot,
|
|
@@ -509,7 +507,6 @@ function layoutSketch(parsed, options = {}) {
|
|
|
509
507
|
nodes.push({
|
|
510
508
|
id: child.node.id,
|
|
511
509
|
label: child.node.label,
|
|
512
|
-
shape: child.node.shape,
|
|
513
510
|
metadata: child.node.metadata,
|
|
514
511
|
...child.node.description && {
|
|
515
512
|
description: child.node.description
|
|
@@ -551,7 +548,6 @@ function layoutSketch(parsed, options = {}) {
|
|
|
551
548
|
nodes.push({
|
|
552
549
|
id: gc.node.id,
|
|
553
550
|
label: gc.node.label,
|
|
554
|
-
shape: gc.node.shape,
|
|
555
551
|
metadata: gc.node.metadata,
|
|
556
552
|
...gc.node.description && { description: gc.node.description },
|
|
557
553
|
boxLabel: innerBox.label,
|
|
@@ -5,9 +5,6 @@ import {
|
|
|
5
5
|
renderInlineText,
|
|
6
6
|
stripInlineMarkdown
|
|
7
7
|
} from "./chunk-S7W75MIM.js";
|
|
8
|
-
import {
|
|
9
|
-
FONT_FAMILY
|
|
10
|
-
} from "./chunk-ICLB27PZ.js";
|
|
11
8
|
import {
|
|
12
9
|
DAY_MS,
|
|
13
10
|
applyOrdinalTemplate,
|
|
@@ -25,12 +22,15 @@ import {
|
|
|
25
22
|
import {
|
|
26
23
|
now
|
|
27
24
|
} from "./chunk-3DPOIW3W.js";
|
|
25
|
+
import {
|
|
26
|
+
FONT_FAMILY
|
|
27
|
+
} from "./chunk-ICLB27PZ.js";
|
|
28
28
|
import {
|
|
29
29
|
contrastText,
|
|
30
30
|
getSeriesColors,
|
|
31
31
|
mix,
|
|
32
32
|
themeBaseBg
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-L24LESXF.js";
|
|
34
34
|
import {
|
|
35
35
|
resolveColor
|
|
36
36
|
} from "./chunk-2M4IGSCY.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatLocalISODate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2SKMEL7V.js";
|
|
4
4
|
import {
|
|
5
5
|
parseDuration
|
|
6
6
|
} from "./chunk-EQW6HOP4.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
tagAttrKey,
|
|
22
22
|
validateTagGroupNames,
|
|
23
23
|
validateTagValues
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HX2KJEPD.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-MPJQMMBZ.js";
|
|
35
35
|
import {
|
|
36
36
|
emit,
|
|
37
37
|
makeDgmoError,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
matchTagBlockHeading,
|
|
12
12
|
stripDefaultModifier,
|
|
13
13
|
tagAttrKey
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HX2KJEPD.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-MPJQMMBZ.js";
|
|
30
30
|
import {
|
|
31
31
|
nord,
|
|
32
32
|
resolveColor
|
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
FONT_FAMILY
|
|
17
17
|
} from "./chunk-ICLB27PZ.js";
|
|
18
|
+
import {
|
|
19
|
+
fillModeFromOptions
|
|
20
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
18
21
|
import {
|
|
19
22
|
CHAR_WIDTH_RATIO,
|
|
20
23
|
measureText
|
|
21
24
|
} from "./chunk-KAO7JL4I.js";
|
|
22
|
-
import {
|
|
23
|
-
fillModeFromOptions
|
|
24
|
-
} from "./chunk-44GP7PD5.js";
|
|
25
25
|
import {
|
|
26
26
|
contrastText,
|
|
27
27
|
getSeriesColors,
|
|
28
28
|
shapeFill
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-L24LESXF.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveColor
|
|
32
32
|
} from "./chunk-2M4IGSCY.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
stripDefaultModifier,
|
|
10
10
|
tagAttrKey,
|
|
11
11
|
validateTagGroupNames
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HX2KJEPD.js";
|
|
13
13
|
import {
|
|
14
14
|
JOURNEY_MAP_REGISTRY,
|
|
15
15
|
OPTION_NOCOLON_RE,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
splitNameAndMeta,
|
|
21
21
|
warnUnknownMetaKeys,
|
|
22
22
|
withTagAliases
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveColorWithDiagnostic
|
|
26
26
|
} from "./chunk-2M4IGSCY.js";
|
|
@@ -317,7 +317,7 @@ function parseJourneyMap(content, palette) {
|
|
|
317
317
|
const groupKey = aliasMap.get(tagKey.toLowerCase()) ?? tagKey.toLowerCase();
|
|
318
318
|
const validValues = tagValueSets.get(groupKey);
|
|
319
319
|
if (validValues && !validValues.has(tagValue.toLowerCase())) {
|
|
320
|
-
const entries = result.tagGroups.find((g) => g.name
|
|
320
|
+
const entries = result.tagGroups.find((g) => tagAttrKey(g.name) === groupKey)?.entries.map((e) => e.value);
|
|
321
321
|
let msg = `Unknown tag value "${tagValue}" for group "${groupKey}"`;
|
|
322
322
|
if (entries) {
|
|
323
323
|
const hint = suggest(tagValue, entries);
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
stripDefaultModifier,
|
|
18
18
|
tagAttrKey,
|
|
19
19
|
validateTagGroupNames
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HX2KJEPD.js";
|
|
21
21
|
import {
|
|
22
22
|
AliasRegistry,
|
|
23
23
|
INFRA_BEHAVIOR_KEY_SET,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
tryParseSharedOption,
|
|
32
32
|
warnUnknownMetaKeys,
|
|
33
33
|
withTagAliases
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
35
35
|
import {
|
|
36
36
|
isRecognizedColorName
|
|
37
37
|
} from "./chunk-2M4IGSCY.js";
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTagBlockHeading
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HX2KJEPD.js";
|
|
4
4
|
import {
|
|
5
5
|
OPTION_NOCOLON_RE,
|
|
6
6
|
measureIndent,
|
|
7
7
|
parseFirstLine,
|
|
8
8
|
tryParseSharedOption
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
10
10
|
import {
|
|
11
11
|
formatDgmoError,
|
|
12
12
|
makeDgmoError
|
|
13
13
|
} from "./chunk-BYU54C3S.js";
|
|
14
14
|
|
|
15
15
|
// src/wireframe/parser.ts
|
|
16
|
-
var KNOWN_OPTIONS = /* @__PURE__ */ new Set(["palette", "theme"]);
|
|
17
16
|
var INERT_OPTIONS = {
|
|
18
17
|
"active-tag": '"active-tag" does nothing on a wireframe \u2014 it has no tag groups. Element appearance comes from the trailing state keywords (primary, disabled, selected, \u2026).'
|
|
19
18
|
};
|
|
@@ -517,10 +516,6 @@ function parseWireframe(content) {
|
|
|
517
516
|
pushWarning(lineNumber, inertMsg);
|
|
518
517
|
continue;
|
|
519
518
|
}
|
|
520
|
-
if (KNOWN_OPTIONS.has(key)) {
|
|
521
|
-
options[key] = optMatch[2] || "";
|
|
522
|
-
continue;
|
|
523
|
-
}
|
|
524
519
|
}
|
|
525
520
|
if (isTagBlockHeading(trimmed)) {
|
|
526
521
|
refuseTagBlock(lineNumber);
|
|
@@ -544,10 +539,6 @@ function parseWireframe(content) {
|
|
|
544
539
|
pushWarning(lineNumber, inertMsg);
|
|
545
540
|
continue;
|
|
546
541
|
}
|
|
547
|
-
if (KNOWN_OPTIONS.has(key)) {
|
|
548
|
-
options[key] = optMatch[2] || "";
|
|
549
|
-
continue;
|
|
550
|
-
}
|
|
551
542
|
}
|
|
552
543
|
}
|
|
553
544
|
if (isTagBlockHeading(trimmed)) {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
tagAttrKey,
|
|
12
12
|
validateTagGroupNames,
|
|
13
13
|
validateTagValues
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HX2KJEPD.js";
|
|
15
15
|
import {
|
|
16
16
|
MINDMAP_REGISTRY,
|
|
17
17
|
OPTION_NOCOLON_RE,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
tryParseSharedOption,
|
|
24
24
|
warnUnknownMetaKeys,
|
|
25
25
|
withTagAliases
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
27
27
|
import {
|
|
28
28
|
formatDgmoError,
|
|
29
29
|
makeDgmoError,
|