@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
|
@@ -12,26 +12,26 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
FONT_FAMILY
|
|
14
14
|
} from "./chunk-ICLB27PZ.js";
|
|
15
|
-
import {
|
|
16
|
-
measureText,
|
|
17
|
-
truncateText,
|
|
18
|
-
wrapTextToWidth
|
|
19
|
-
} from "./chunk-KAO7JL4I.js";
|
|
20
15
|
import {
|
|
21
16
|
allTasks
|
|
22
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-I74AQRVD.js";
|
|
23
18
|
import {
|
|
24
19
|
VARIANTS
|
|
25
20
|
} from "./chunk-4WW3SGMH.js";
|
|
26
21
|
import {
|
|
27
22
|
fillModeFromOptions,
|
|
28
23
|
legendSuppressed
|
|
29
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
25
|
+
import {
|
|
26
|
+
measureText,
|
|
27
|
+
truncateText,
|
|
28
|
+
wrapTextToWidth
|
|
29
|
+
} from "./chunk-KAO7JL4I.js";
|
|
30
30
|
import {
|
|
31
31
|
contrastText,
|
|
32
32
|
mix,
|
|
33
33
|
themeBaseBg
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-L24LESXF.js";
|
|
35
35
|
|
|
36
36
|
// src/raci/renderer.ts
|
|
37
37
|
import * as d3Selection from "d3-selection";
|
|
@@ -480,7 +480,7 @@ function setupColumnHover(svg) {
|
|
|
480
480
|
const findRole = (target) => {
|
|
481
481
|
let el = target;
|
|
482
482
|
while (el && el !== node) {
|
|
483
|
-
const r = el.getAttribute
|
|
483
|
+
const r = el.getAttribute?.("data-role-id");
|
|
484
484
|
if (r) return r;
|
|
485
485
|
el = el.parentElement;
|
|
486
486
|
}
|
|
@@ -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
|
AliasRegistry,
|
|
15
15
|
KANBAN_REGISTRY,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
splitNameAndMeta,
|
|
23
23
|
warnUnknownMetaKeys,
|
|
24
24
|
withTagAliases
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
26
26
|
import {
|
|
27
27
|
resolveColorWithDiagnostic
|
|
28
28
|
} from "./chunk-2M4IGSCY.js";
|
|
@@ -332,7 +332,7 @@ function parseKanban(content, palette) {
|
|
|
332
332
|
const groupKey = metaAliasMap.get(tagKey.toLowerCase()) ?? tagKey.toLowerCase();
|
|
333
333
|
const validValues = tagValueSets.get(groupKey);
|
|
334
334
|
if (validValues && !validValues.has(tagValue.toLowerCase())) {
|
|
335
|
-
const entries = result.tagGroups.find((g) => g.name
|
|
335
|
+
const entries = result.tagGroups.find((g) => tagAttrKey(g.name) === groupKey)?.entries.map((e) => e.value);
|
|
336
336
|
let msg = `Unknown tag value "${tagValue}" for group "${groupKey}"`;
|
|
337
337
|
if (entries) {
|
|
338
338
|
const hint = suggest(tagValue, entries);
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
renderNoteBadge,
|
|
11
11
|
renderNoteBox,
|
|
12
12
|
renderNoteConnector
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KATED53P.js";
|
|
14
14
|
import {
|
|
15
15
|
appendArrowheadMarkers
|
|
16
16
|
} from "./chunk-XBJJP2HN.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-XCKNFFKM.js";
|
|
30
30
|
import {
|
|
31
31
|
serializeSvg
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-OOCVGX4W.js";
|
|
33
33
|
import {
|
|
34
34
|
TITLE_FONT_SIZE,
|
|
35
35
|
TITLE_FONT_WEIGHT,
|
|
@@ -38,19 +38,19 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
FONT_FAMILY
|
|
40
40
|
} from "./chunk-ICLB27PZ.js";
|
|
41
|
-
import {
|
|
42
|
-
measureText
|
|
43
|
-
} from "./chunk-KAO7JL4I.js";
|
|
44
41
|
import {
|
|
45
42
|
parseFlowchart
|
|
46
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-SLO22FPS.js";
|
|
47
44
|
import {
|
|
48
45
|
fillModeFromOptions
|
|
49
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
47
|
+
import {
|
|
48
|
+
measureText
|
|
49
|
+
} from "./chunk-KAO7JL4I.js";
|
|
50
50
|
import {
|
|
51
51
|
contrastText,
|
|
52
52
|
shapeFill
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-L24LESXF.js";
|
|
54
54
|
|
|
55
55
|
// src/graph/flowchart-renderer.ts
|
|
56
56
|
import * as d3Selection from "d3-selection";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutOrg
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GQVXYRPC.js";
|
|
4
4
|
import {
|
|
5
5
|
renderCollapseBar,
|
|
6
6
|
renderNodeCard
|
|
@@ -8,6 +8,9 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ScaleContext
|
|
10
10
|
} from "./chunk-24YPR5EH.js";
|
|
11
|
+
import {
|
|
12
|
+
renderIntegratedLegend
|
|
13
|
+
} from "./chunk-NJYA4QSN.js";
|
|
11
14
|
import {
|
|
12
15
|
CARD_RADIUS,
|
|
13
16
|
COLLAPSE_BAR_HEIGHT,
|
|
@@ -28,46 +31,43 @@ import {
|
|
|
28
31
|
import {
|
|
29
32
|
extractExportSvg,
|
|
30
33
|
runInExportContainer
|
|
31
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-SEKNYIMO.js";
|
|
35
|
+
import {
|
|
36
|
+
getMaxLegendReservedHeight
|
|
37
|
+
} from "./chunk-NS7L7YKH.js";
|
|
32
38
|
import {
|
|
33
39
|
TITLE_FONT_SIZE,
|
|
34
40
|
TITLE_FONT_WEIGHT
|
|
35
41
|
} from "./chunk-VLC6WNRD.js";
|
|
36
|
-
import {
|
|
37
|
-
renderIntegratedLegend
|
|
38
|
-
} from "./chunk-LHL6HDUL.js";
|
|
39
|
-
import {
|
|
40
|
-
getMaxLegendReservedHeight
|
|
41
|
-
} from "./chunk-FM3WAVB6.js";
|
|
42
42
|
import {
|
|
43
43
|
FONT_FAMILY
|
|
44
44
|
} from "./chunk-ICLB27PZ.js";
|
|
45
|
+
import {
|
|
46
|
+
parseOrg
|
|
47
|
+
} from "./chunk-FS2LZBHG.js";
|
|
48
|
+
import {
|
|
49
|
+
resolveTagColor,
|
|
50
|
+
tagAttrKey
|
|
51
|
+
} from "./chunk-HX2KJEPD.js";
|
|
52
|
+
import {
|
|
53
|
+
fillModeFromOptions
|
|
54
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
45
55
|
import {
|
|
46
56
|
EYE_CLOSED_PATH,
|
|
47
57
|
EYE_OPEN_PATH,
|
|
48
58
|
LEGEND_EYE_GAP,
|
|
49
59
|
LEGEND_EYE_SIZE,
|
|
50
60
|
LEGEND_HEIGHT
|
|
51
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-I6GGMCTV.js";
|
|
52
62
|
import {
|
|
53
63
|
measureText
|
|
54
64
|
} from "./chunk-KAO7JL4I.js";
|
|
55
|
-
import {
|
|
56
|
-
parseOrg
|
|
57
|
-
} from "./chunk-FJNXXGTR.js";
|
|
58
|
-
import {
|
|
59
|
-
resolveTagColor,
|
|
60
|
-
tagAttrKey
|
|
61
|
-
} from "./chunk-L5AFONQU.js";
|
|
62
|
-
import {
|
|
63
|
-
fillModeFromOptions
|
|
64
|
-
} from "./chunk-44GP7PD5.js";
|
|
65
65
|
import {
|
|
66
66
|
contrastText,
|
|
67
67
|
groupFill,
|
|
68
68
|
groupStroke,
|
|
69
69
|
shapeFill
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-L24LESXF.js";
|
|
71
71
|
|
|
72
72
|
// src/org/renderer.ts
|
|
73
73
|
import * as d3Selection from "d3-selection";
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
tagAttrKey,
|
|
10
10
|
validateTagGroupNames,
|
|
11
11
|
validateTagValues
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HX2KJEPD.js";
|
|
13
13
|
import {
|
|
14
14
|
extractColor,
|
|
15
15
|
fillModeFromToken,
|
|
16
16
|
measureIndent,
|
|
17
17
|
parseFirstLine
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
19
19
|
import {
|
|
20
20
|
formatDgmoError,
|
|
21
21
|
makeDgmoError,
|
|
@@ -7,6 +7,9 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
ScaleContext
|
|
9
9
|
} from "./chunk-24YPR5EH.js";
|
|
10
|
+
import {
|
|
11
|
+
renderIntegratedLegend
|
|
12
|
+
} from "./chunk-NJYA4QSN.js";
|
|
10
13
|
import {
|
|
11
14
|
ARROWHEAD_HEIGHT,
|
|
12
15
|
ARROWHEAD_WIDTH
|
|
@@ -16,26 +19,23 @@ import {
|
|
|
16
19
|
TITLE_FONT_WEIGHT,
|
|
17
20
|
TITLE_Y
|
|
18
21
|
} from "./chunk-VLC6WNRD.js";
|
|
19
|
-
import {
|
|
20
|
-
renderIntegratedLegend
|
|
21
|
-
} from "./chunk-LHL6HDUL.js";
|
|
22
22
|
import {
|
|
23
23
|
FONT_FAMILY
|
|
24
24
|
} from "./chunk-ICLB27PZ.js";
|
|
25
|
+
import {
|
|
26
|
+
fillModeFromOptions
|
|
27
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
25
28
|
import {
|
|
26
29
|
LEGEND_HEIGHT
|
|
27
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-I6GGMCTV.js";
|
|
28
31
|
import {
|
|
29
32
|
measureText,
|
|
30
33
|
wrapTextToWidth
|
|
31
34
|
} from "./chunk-KAO7JL4I.js";
|
|
32
|
-
import {
|
|
33
|
-
fillModeFromOptions
|
|
34
|
-
} from "./chunk-44GP7PD5.js";
|
|
35
35
|
import {
|
|
36
36
|
contrastText,
|
|
37
37
|
shapeFill
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-L24LESXF.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveColor
|
|
41
41
|
} from "./chunk-2M4IGSCY.js";
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
HEADER_HEIGHT
|
|
6
6
|
} from "./chunk-XCKNFFKM.js";
|
|
7
|
-
import {
|
|
8
|
-
measureText,
|
|
9
|
-
truncateText
|
|
10
|
-
} from "./chunk-KAO7JL4I.js";
|
|
11
7
|
import {
|
|
12
8
|
preprocessDescriptionLine
|
|
13
9
|
} from "./chunk-IYULMRBE.js";
|
|
14
10
|
import {
|
|
15
11
|
injectDefaultTagMetadata,
|
|
16
12
|
resolveTagColor
|
|
17
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HX2KJEPD.js";
|
|
14
|
+
import {
|
|
15
|
+
measureText,
|
|
16
|
+
truncateText
|
|
17
|
+
} from "./chunk-KAO7JL4I.js";
|
|
18
18
|
|
|
19
19
|
// src/mindmap/text-wrap.ts
|
|
20
20
|
var H_PAD = 16;
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
stripDefaultModifier,
|
|
19
19
|
tagAttrKey,
|
|
20
20
|
validateTagGroupNames
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HX2KJEPD.js";
|
|
22
22
|
import {
|
|
23
23
|
AliasRegistry,
|
|
24
24
|
C4_REGISTRY,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
splitNameAndMeta,
|
|
31
31
|
warnUnknownMetaKeys,
|
|
32
32
|
withTagAliases
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
34
34
|
import {
|
|
35
35
|
formatDgmoError,
|
|
36
36
|
makeDgmoError,
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
analyzePert
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EDXGEQW3.js";
|
|
4
4
|
import {
|
|
5
5
|
computeNodeSizing,
|
|
6
6
|
layoutPert
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-64KSPLU2.js";
|
|
8
8
|
import {
|
|
9
9
|
ScaleContext
|
|
10
10
|
} from "./chunk-24YPR5EH.js";
|
|
11
|
+
import {
|
|
12
|
+
renderIntegratedLegend
|
|
13
|
+
} from "./chunk-NJYA4QSN.js";
|
|
11
14
|
import {
|
|
12
15
|
ARROWHEAD_HEIGHT,
|
|
13
16
|
ARROWHEAD_WIDTH,
|
|
@@ -26,10 +29,13 @@ import {
|
|
|
26
29
|
import {
|
|
27
30
|
INLINE_HEADER_PAD,
|
|
28
31
|
layoutInlineHeader
|
|
29
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CNUN5GO6.js";
|
|
30
33
|
import {
|
|
31
34
|
serializeSvg
|
|
32
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-OOCVGX4W.js";
|
|
36
|
+
import {
|
|
37
|
+
getLegendExtent
|
|
38
|
+
} from "./chunk-NS7L7YKH.js";
|
|
33
39
|
import {
|
|
34
40
|
CAPTION_BOX_PADDING_X,
|
|
35
41
|
CAPTION_BOX_PADDING_Y,
|
|
@@ -41,46 +47,40 @@ import {
|
|
|
41
47
|
TITLE_FONT_WEIGHT,
|
|
42
48
|
TITLE_Y
|
|
43
49
|
} from "./chunk-VLC6WNRD.js";
|
|
44
|
-
import {
|
|
45
|
-
renderIntegratedLegend
|
|
46
|
-
} from "./chunk-LHL6HDUL.js";
|
|
47
|
-
import {
|
|
48
|
-
getLegendExtent
|
|
49
|
-
} from "./chunk-FM3WAVB6.js";
|
|
50
50
|
import {
|
|
51
51
|
FONT_FAMILY
|
|
52
52
|
} from "./chunk-ICLB27PZ.js";
|
|
53
|
-
import {
|
|
54
|
-
LEGEND_HEIGHT
|
|
55
|
-
} from "./chunk-RH2PROYG.js";
|
|
56
|
-
import {
|
|
57
|
-
measureText,
|
|
58
|
-
truncateText,
|
|
59
|
-
wrapTextToWidth
|
|
60
|
-
} from "./chunk-KAO7JL4I.js";
|
|
61
53
|
import {
|
|
62
54
|
parsePert
|
|
63
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-AAC3XQWV.js";
|
|
64
56
|
import {
|
|
65
57
|
addCalendarDays,
|
|
66
58
|
formatDuration,
|
|
67
59
|
formatScheduleValue,
|
|
68
60
|
formatSlackValue,
|
|
69
61
|
formatSprintCell
|
|
70
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-2SKMEL7V.js";
|
|
71
63
|
import {
|
|
72
64
|
UNTAGGED_TAG_COLOR,
|
|
73
65
|
resolveActiveTagGroup,
|
|
74
66
|
resolveGroupTagColor,
|
|
75
67
|
resolveTagColor
|
|
76
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-HX2KJEPD.js";
|
|
69
|
+
import {
|
|
70
|
+
LEGEND_HEIGHT
|
|
71
|
+
} from "./chunk-I6GGMCTV.js";
|
|
72
|
+
import {
|
|
73
|
+
measureText,
|
|
74
|
+
truncateText,
|
|
75
|
+
wrapTextToWidth
|
|
76
|
+
} from "./chunk-KAO7JL4I.js";
|
|
77
77
|
import {
|
|
78
78
|
contrastText,
|
|
79
79
|
groupFill,
|
|
80
80
|
mix,
|
|
81
81
|
shapeFill,
|
|
82
82
|
themeBaseBg
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-L24LESXF.js";
|
|
84
84
|
|
|
85
85
|
// src/pert/renderer.ts
|
|
86
86
|
import * as d3Selection from "d3-selection";
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
renderIntegratedLegend
|
|
3
|
+
} from "./chunk-NJYA4QSN.js";
|
|
1
4
|
import {
|
|
2
5
|
EDGE_DASH
|
|
3
6
|
} from "./chunk-XCKNFFKM.js";
|
|
4
7
|
import {
|
|
5
8
|
layoutInlineHeader
|
|
6
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CNUN5GO6.js";
|
|
10
|
+
import {
|
|
11
|
+
getLegendExtent,
|
|
12
|
+
getMaxLegendReservedHeight
|
|
13
|
+
} from "./chunk-NS7L7YKH.js";
|
|
7
14
|
import {
|
|
8
15
|
TITLE_FONT_SIZE,
|
|
9
16
|
TITLE_FONT_WEIGHT,
|
|
10
17
|
TITLE_Y
|
|
11
18
|
} from "./chunk-VLC6WNRD.js";
|
|
12
|
-
import {
|
|
13
|
-
renderIntegratedLegend
|
|
14
|
-
} from "./chunk-LHL6HDUL.js";
|
|
15
|
-
import {
|
|
16
|
-
getLegendExtent,
|
|
17
|
-
getMaxLegendReservedHeight
|
|
18
|
-
} from "./chunk-FM3WAVB6.js";
|
|
19
19
|
import {
|
|
20
20
|
FONT_FAMILY
|
|
21
21
|
} from "./chunk-ICLB27PZ.js";
|
|
22
22
|
import {
|
|
23
23
|
isBlockNode
|
|
24
24
|
} from "./chunk-XSVWUOUZ.js";
|
|
25
|
+
import {
|
|
26
|
+
resolveTagColor,
|
|
27
|
+
tagAttrKey
|
|
28
|
+
} from "./chunk-HX2KJEPD.js";
|
|
25
29
|
import {
|
|
26
30
|
LEGEND_GROUP_GAP
|
|
27
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-I6GGMCTV.js";
|
|
28
32
|
import {
|
|
29
33
|
measureText
|
|
30
34
|
} from "./chunk-KAO7JL4I.js";
|
|
31
|
-
import {
|
|
32
|
-
resolveTagColor,
|
|
33
|
-
tagAttrKey
|
|
34
|
-
} from "./chunk-L5AFONQU.js";
|
|
35
35
|
import {
|
|
36
36
|
mix,
|
|
37
37
|
themeBaseBg
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-L24LESXF.js";
|
|
39
39
|
|
|
40
40
|
// src/block/renderer.ts
|
|
41
41
|
import * as d3Selection from "d3-selection";
|
|
@@ -135,6 +135,11 @@ var chartTypesData = [
|
|
|
135
135
|
description: "GUI-first constrained canvas: uniformly-sized shapes placed freely on a snap grid, arrows between them, meaning through tags \u2014 the markup is generated by the canvas editor",
|
|
136
136
|
beta: true
|
|
137
137
|
},
|
|
138
|
+
{
|
|
139
|
+
id: "whiteboard",
|
|
140
|
+
description: "Free-form whiteboard on an infinite canvas: rectangles, ellipses, databases, queues, free arrows, text, pasted images and freehand ink at pixel positions \u2014 drawn in the canvas; AI writes shapes, arrows and text, never ink",
|
|
141
|
+
beta: true
|
|
142
|
+
},
|
|
138
143
|
{
|
|
139
144
|
id: "goal",
|
|
140
145
|
description: "Single progress-toward-a-target value (now vs target) as a progress bar, thermometer, or gauge \u2014 KPIs, fundraising, quotas, completion"
|
|
@@ -569,6 +574,13 @@ var DIRECTIVES_REGISTRY = [
|
|
|
569
574
|
{ token: "alert", category: "control" },
|
|
570
575
|
{ token: "progress", category: "control" },
|
|
571
576
|
{ token: "mobile", category: "control" },
|
|
577
|
+
// Whiteboard element leaders (§39). `image` is shared with wireframe above
|
|
578
|
+
// and `text` stays an ER modifier; `database` / `queue` are left plain
|
|
579
|
+
// because sketch and sequence use them as values, not line leaders.
|
|
580
|
+
{ token: "rectangle", category: "control" },
|
|
581
|
+
{ token: "ellipse", category: "control" },
|
|
582
|
+
{ token: "arrow", category: "control" },
|
|
583
|
+
{ token: "ink", category: "control" },
|
|
572
584
|
// ── Kanban status keywords (STATUS) ──────────────────────
|
|
573
585
|
{ token: "na", category: "status" },
|
|
574
586
|
{ token: "todo", category: "status" },
|