@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
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GROUP_ONLY_METADATA,
|
|
3
3
|
STATE_KEYWORDS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CYF2X3CG.js";
|
|
5
5
|
import {
|
|
6
6
|
ALL_MARKERS
|
|
7
7
|
} from "./chunk-4WW3SGMH.js";
|
|
8
|
-
import
|
|
8
|
+
import {
|
|
9
|
+
BUILT_IN_PALETTE_IDS
|
|
10
|
+
} from "./chunk-3UR4F7FE.js";
|
|
11
|
+
import "./chunk-HX2KJEPD.js";
|
|
9
12
|
import {
|
|
10
13
|
ALL_CHART_TYPES,
|
|
11
14
|
chartTypes
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MPJQMMBZ.js";
|
|
13
16
|
import "./chunk-2M4IGSCY.js";
|
|
14
17
|
import "./chunk-BYU54C3S.js";
|
|
15
18
|
import "./chunk-5WRI5ZAA.js";
|
|
@@ -28,20 +31,9 @@ var BETA_CHART_TYPE_IDS = new Set(
|
|
|
28
31
|
// src/completion-registry.ts
|
|
29
32
|
var GLOBAL_DIRECTIVES = {
|
|
30
33
|
palette: {
|
|
31
|
-
description: "
|
|
32
|
-
values: [
|
|
33
|
-
|
|
34
|
-
"catppuccin",
|
|
35
|
-
"tokyo-night",
|
|
36
|
-
"atlas",
|
|
37
|
-
"blueprint",
|
|
38
|
-
"slate",
|
|
39
|
-
"tidewater"
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
theme: {
|
|
43
|
-
description: "Color theme",
|
|
44
|
-
values: ["light", "dark", "transparent"]
|
|
34
|
+
description: "Draw this diagram in a built-in palette, optionally pinned to light or dark",
|
|
35
|
+
values: [...BUILT_IN_PALETTE_IDS].sort(),
|
|
36
|
+
minPrefix: "pal"
|
|
45
37
|
},
|
|
46
38
|
"no-title": {
|
|
47
39
|
description: "Hide the diagram title"
|
|
@@ -749,6 +741,14 @@ var COMPLETION_REGISTRY = /* @__PURE__ */ new Map([
|
|
|
749
741
|
}
|
|
750
742
|
})
|
|
751
743
|
],
|
|
744
|
+
[
|
|
745
|
+
"whiteboard",
|
|
746
|
+
// Canvas-authored free placement: every line is an element; the only
|
|
747
|
+
// directives are the universal set plus `no-notes`, the two that act.
|
|
748
|
+
withGlobals({
|
|
749
|
+
"no-notes": { description: "Hide every sticky note" }
|
|
750
|
+
})
|
|
751
|
+
],
|
|
752
752
|
[
|
|
753
753
|
"map",
|
|
754
754
|
// Geographic map directives (§24B.2/.7). Cosmetics are ON by default — the
|
|
@@ -899,6 +899,21 @@ var STRUCTURAL_KEYWORDS = /* @__PURE__ */ new Map([
|
|
|
899
899
|
["treemap", ["tag"]],
|
|
900
900
|
["block", ["tag"]],
|
|
901
901
|
["sketch", ["tag"]],
|
|
902
|
+
[
|
|
903
|
+
"whiteboard",
|
|
904
|
+
[
|
|
905
|
+
"rectangle",
|
|
906
|
+
"ellipse",
|
|
907
|
+
"database",
|
|
908
|
+
"queue",
|
|
909
|
+
"note",
|
|
910
|
+
"arrow",
|
|
911
|
+
"line",
|
|
912
|
+
"text",
|
|
913
|
+
"image",
|
|
914
|
+
"ink"
|
|
915
|
+
]
|
|
916
|
+
],
|
|
902
917
|
["boxes-and-lines", ["tag"]],
|
|
903
918
|
["state", ["note", "tag"]],
|
|
904
919
|
["swimlane", ["lane", "tag"]],
|
|
@@ -1001,12 +1016,37 @@ var WIREFRAME_GROUP_ONLY_FLAGS = [
|
|
|
1001
1016
|
];
|
|
1002
1017
|
var PIPE_METADATA = /* @__PURE__ */ new Map([
|
|
1003
1018
|
[
|
|
1004
|
-
"
|
|
1019
|
+
"whiteboard",
|
|
1005
1020
|
{
|
|
1006
1021
|
node: {
|
|
1007
|
-
|
|
1008
|
-
description: "
|
|
1022
|
+
at: {
|
|
1023
|
+
description: "Top-left corner `at: X Y` in canvas px (integers, negative allowed)"
|
|
1024
|
+
},
|
|
1025
|
+
size: { description: "Width and height `size: W H` in px" },
|
|
1026
|
+
color: {
|
|
1027
|
+
description: "ink (default; yellow on a note), red, green, blue, teal, purple, orange, yellow, cyan or gray"
|
|
1028
|
+
},
|
|
1029
|
+
from: { description: "Arrow tail `from: X Y` in canvas px" },
|
|
1030
|
+
to: { description: "Arrow head `to: X Y` in canvas px" },
|
|
1031
|
+
style: {
|
|
1032
|
+
description: "Arrow or line stroke: `dashed` (solid is the default)"
|
|
1033
|
+
},
|
|
1034
|
+
heads: {
|
|
1035
|
+
description: "Arrow heads: `both` adds one at `from:`"
|
|
1009
1036
|
},
|
|
1037
|
+
bend: {
|
|
1038
|
+
description: "Arrow or line curve: whole px off the straight middle, + bends right"
|
|
1039
|
+
},
|
|
1040
|
+
fill: {
|
|
1041
|
+
description: "Shape fill: `solid` or `outline` (a pale tint is the default)"
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
],
|
|
1046
|
+
[
|
|
1047
|
+
"sketch",
|
|
1048
|
+
{
|
|
1049
|
+
node: {
|
|
1010
1050
|
at: {
|
|
1011
1051
|
description: "Half-slot position `at: C R` (integers; omit to flow-place)"
|
|
1012
1052
|
},
|
|
@@ -1287,6 +1327,10 @@ var METADATA_KEY_SET = /* @__PURE__ */ new Set([
|
|
|
1287
1327
|
// by completion (the §1.9 booleans are canonical) but still parse-accepted,
|
|
1288
1328
|
// so extractors must keep skipping it as a directive line.
|
|
1289
1329
|
"direction",
|
|
1330
|
+
// No longer offered (#1036) but still read by raci and wireframe, and still
|
|
1331
|
+
// in existing files, so extractors keep skipping them as directive lines.
|
|
1332
|
+
"palette",
|
|
1333
|
+
"theme",
|
|
1290
1334
|
...[...COMPLETION_REGISTRY.values()].flatMap(
|
|
1291
1335
|
(spec) => Object.keys(spec.directives)
|
|
1292
1336
|
)
|
package/dist/countdown.js
CHANGED
|
@@ -580,7 +580,7 @@ function updateNode(node, now2) {
|
|
|
580
580
|
}
|
|
581
581
|
if (clockFinale) updateGauges(svg, remaining);
|
|
582
582
|
const stamp = svg.querySelector("[data-dgmo-countdown-asof]");
|
|
583
|
-
if (stamp
|
|
583
|
+
if (stamp?.parentNode) stamp.parentNode.removeChild(stamp);
|
|
584
584
|
}
|
|
585
585
|
function tickCountdowns(root = document) {
|
|
586
586
|
if (typeof document === "undefined") return;
|
|
@@ -490,6 +490,17 @@ type RenderForExportOptions = {
|
|
|
490
490
|
*/
|
|
491
491
|
width?: number;
|
|
492
492
|
height?: number;
|
|
493
|
+
/**
|
|
494
|
+
* Whiteboard images: turn a ref (relative path or https URL) into an href.
|
|
495
|
+
* Supplied → its answer is final, `undefined` draws the placeholder box.
|
|
496
|
+
* Omitted → https refs pass through and the rest are placeholders.
|
|
497
|
+
*/
|
|
498
|
+
resolveImage?: (ref: string) => string | undefined;
|
|
499
|
+
/**
|
|
500
|
+
* Whiteboard sticky notes: `true` draws them and `false` hides them,
|
|
501
|
+
* whatever the board's `no-notes` says. Omitted → the directive decides.
|
|
502
|
+
*/
|
|
503
|
+
showNotes?: boolean;
|
|
493
504
|
};
|
|
494
505
|
declare function renderForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette?: PaletteColors, viewState?: CompactViewState, options?: RenderForExportOptions): Promise<string>;
|
|
495
506
|
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CHART_TYPE_DESCRIPTIONS,
|
|
3
|
+
chartTypeParsers,
|
|
4
|
+
getAllChartTypes,
|
|
5
|
+
getRenderCategory,
|
|
6
|
+
isExtendedChartType,
|
|
7
|
+
knownChartTypeIds,
|
|
8
|
+
parseDgmo
|
|
9
|
+
} from "./chunk-HIVJBESO.js";
|
|
10
|
+
import "./chunk-EOYPX6SF.js";
|
|
11
|
+
import "./chunk-ZJ4PYTCK.js";
|
|
12
|
+
import "./chunk-WFA6IULY.js";
|
|
13
|
+
import "./chunk-3DPOIW3W.js";
|
|
14
|
+
import "./chunk-TCX5PMEY.js";
|
|
15
|
+
import "./chunk-A2RUBBVT.js";
|
|
16
|
+
import "./chunk-X3WYJ5T7.js";
|
|
17
|
+
import "./chunk-SMEVBJJJ.js";
|
|
18
|
+
import "./chunk-BDXC7MDK.js";
|
|
19
|
+
import "./chunk-WHRIN7N3.js";
|
|
20
|
+
import "./chunk-2CW5ZTNH.js";
|
|
21
|
+
import "./chunk-MKFQ5E7J.js";
|
|
22
|
+
import "./chunk-NFWRIC2V.js";
|
|
23
|
+
import "./chunk-COPSI54O.js";
|
|
24
|
+
import "./chunk-M6J25PAZ.js";
|
|
25
|
+
import "./chunk-EWERNTOX.js";
|
|
26
|
+
import "./chunk-RNXX2GOQ.js";
|
|
27
|
+
import "./chunk-JX4RCC6B.js";
|
|
28
|
+
import "./chunk-XSVWUOUZ.js";
|
|
29
|
+
import "./chunk-4YO7VJTP.js";
|
|
30
|
+
import "./chunk-YE7D2S75.js";
|
|
31
|
+
import "./chunk-GXP344YZ.js";
|
|
32
|
+
import "./chunk-NMKLX57Y.js";
|
|
33
|
+
import "./chunk-NWSPPGIE.js";
|
|
34
|
+
import "./chunk-IHK3Y2HG.js";
|
|
35
|
+
import "./chunk-PNCKZFPE.js";
|
|
36
|
+
import "./chunk-C4W62JZO.js";
|
|
37
|
+
import "./chunk-QQJUTGQH.js";
|
|
38
|
+
import "./chunk-DNMICILX.js";
|
|
39
|
+
import "./chunk-RJYFHEP4.js";
|
|
40
|
+
import "./chunk-OYKNMFUY.js";
|
|
41
|
+
import "./chunk-SVQDLYX7.js";
|
|
42
|
+
import "./chunk-IRVQT4GR.js";
|
|
43
|
+
import "./chunk-LC5LY5V2.js";
|
|
44
|
+
import "./chunk-CUY56BK4.js";
|
|
45
|
+
import "./chunk-NUYWNKHH.js";
|
|
46
|
+
import {
|
|
47
|
+
looksLikeC4,
|
|
48
|
+
looksLikeGantt,
|
|
49
|
+
parseDgmoChartType
|
|
50
|
+
} from "./chunk-YWRZG6GN.js";
|
|
51
|
+
import "./chunk-I74AQRVD.js";
|
|
52
|
+
import "./chunk-AAC3XQWV.js";
|
|
53
|
+
import "./chunk-2SKMEL7V.js";
|
|
54
|
+
import "./chunk-2ZVLI6GQ.js";
|
|
55
|
+
import "./chunk-EQW6HOP4.js";
|
|
56
|
+
import "./chunk-DAOFNU6J.js";
|
|
57
|
+
import "./chunk-4HG4PYHM.js";
|
|
58
|
+
import "./chunk-62VWZ3SE.js";
|
|
59
|
+
import "./chunk-C3Z4DX3V.js";
|
|
60
|
+
import "./chunk-SLO22FPS.js";
|
|
61
|
+
import "./chunk-7TF3QOOD.js";
|
|
62
|
+
import "./chunk-NY56FM55.js";
|
|
63
|
+
import "./chunk-NXMESY4J.js";
|
|
64
|
+
import "./chunk-OSIUWQ3N.js";
|
|
65
|
+
import "./chunk-5TZPIKNV.js";
|
|
66
|
+
import "./chunk-KSZHIAI2.js";
|
|
67
|
+
import "./chunk-O753JUEZ.js";
|
|
68
|
+
import "./chunk-N7VMGZCU.js";
|
|
69
|
+
import "./chunk-FS2LZBHG.js";
|
|
70
|
+
import "./chunk-5M52RPAS.js";
|
|
71
|
+
import "./chunk-IYULMRBE.js";
|
|
72
|
+
import "./chunk-NOTA6TEI.js";
|
|
73
|
+
import "./chunk-CYF2X3CG.js";
|
|
74
|
+
import "./chunk-4WW3SGMH.js";
|
|
75
|
+
import "./chunk-3UR4F7FE.js";
|
|
76
|
+
import "./chunk-HX2KJEPD.js";
|
|
77
|
+
import "./chunk-MPJQMMBZ.js";
|
|
78
|
+
import "./chunk-5NU7NII2.js";
|
|
79
|
+
import "./chunk-L24LESXF.js";
|
|
80
|
+
import "./chunk-2M4IGSCY.js";
|
|
81
|
+
import "./chunk-BYU54C3S.js";
|
|
82
|
+
import "./chunk-5WRI5ZAA.js";
|
|
83
|
+
export {
|
|
84
|
+
CHART_TYPE_DESCRIPTIONS,
|
|
85
|
+
chartTypeParsers,
|
|
86
|
+
getAllChartTypes,
|
|
87
|
+
getRenderCategory,
|
|
88
|
+
isExtendedChartType,
|
|
89
|
+
knownChartTypeIds,
|
|
90
|
+
looksLikeC4,
|
|
91
|
+
looksLikeGantt,
|
|
92
|
+
parseDgmo,
|
|
93
|
+
parseDgmoChartType
|
|
94
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mapContentAspect,
|
|
3
3
|
mapExportDimensions
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-AHWA36O7.js";
|
|
5
|
+
import "./chunk-QRIW46LR.js";
|
|
6
6
|
import "./chunk-4QV26TEG.js";
|
|
7
7
|
import "./chunk-KMU65FYM.js";
|
|
8
|
+
import "./chunk-NS7L7YKH.js";
|
|
8
9
|
import "./chunk-VLC6WNRD.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-HX2KJEPD.js";
|
|
11
|
+
import "./chunk-MPJQMMBZ.js";
|
|
12
|
+
import "./chunk-I6GGMCTV.js";
|
|
11
13
|
import "./chunk-KAO7JL4I.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-44GP7PD5.js";
|
|
14
|
-
import "./chunk-7HWY4QAJ.js";
|
|
14
|
+
import "./chunk-L24LESXF.js";
|
|
15
15
|
import "./chunk-2M4IGSCY.js";
|
|
16
16
|
import "./chunk-BYU54C3S.js";
|
|
17
17
|
import "./chunk-5WRI5ZAA.js";
|
package/dist/editor.js
CHANGED
|
@@ -336,6 +336,13 @@ var DIRECTIVES_REGISTRY = [
|
|
|
336
336
|
{ token: "alert", category: "control" },
|
|
337
337
|
{ token: "progress", category: "control" },
|
|
338
338
|
{ token: "mobile", category: "control" },
|
|
339
|
+
// Whiteboard element leaders (§39). `image` is shared with wireframe above
|
|
340
|
+
// and `text` stays an ER modifier; `database` / `queue` are left plain
|
|
341
|
+
// because sketch and sequence use them as values, not line leaders.
|
|
342
|
+
{ token: "rectangle", category: "control" },
|
|
343
|
+
{ token: "ellipse", category: "control" },
|
|
344
|
+
{ token: "arrow", category: "control" },
|
|
345
|
+
{ token: "ink", category: "control" },
|
|
339
346
|
// ── Kanban status keywords (STATUS) ──────────────────────
|
|
340
347
|
{ token: "na", category: "status" },
|
|
341
348
|
{ token: "todo", category: "status" },
|
|
@@ -551,6 +558,11 @@ var chartTypesData = [
|
|
|
551
558
|
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",
|
|
552
559
|
beta: true
|
|
553
560
|
},
|
|
561
|
+
{
|
|
562
|
+
id: "whiteboard",
|
|
563
|
+
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",
|
|
564
|
+
beta: true
|
|
565
|
+
},
|
|
554
566
|
{
|
|
555
567
|
id: "goal",
|
|
556
568
|
description: "Single progress-toward-a-target value (now vs target) as a progress bar, thermometer, or gauge \u2014 KPIs, fundraising, quotas, completion"
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
extractSymbols,
|
|
3
3
|
looksLikeFlowchart,
|
|
4
4
|
parseFlowchart
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SLO22FPS.js";
|
|
6
6
|
import "./chunk-7TF3QOOD.js";
|
|
7
7
|
import "./chunk-NXMESY4J.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-KSZHIAI2.js";
|
|
9
9
|
import "./chunk-O753JUEZ.js";
|
|
10
10
|
import "./chunk-N7VMGZCU.js";
|
|
11
11
|
import "./chunk-NOTA6TEI.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-MPJQMMBZ.js";
|
|
13
13
|
import "./chunk-2M4IGSCY.js";
|
|
14
14
|
import "./chunk-BYU54C3S.js";
|
|
15
15
|
import "./chunk-5WRI5ZAA.js";
|
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderFlowchart,
|
|
3
3
|
renderFlowchartForExport
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-J3ODKAWN.js";
|
|
5
5
|
import "./chunk-26EVL454.js";
|
|
6
6
|
import "./chunk-ZNNVI5SR.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-XBJJP2HN.js";
|
|
7
|
+
import "./chunk-KATED53P.js";
|
|
9
8
|
import "./chunk-6EK55ART.js";
|
|
10
9
|
import "./chunk-RJNZHFNG.js";
|
|
11
10
|
import "./chunk-5DH3KYFH.js";
|
|
11
|
+
import "./chunk-XBJJP2HN.js";
|
|
12
12
|
import "./chunk-NPWVOFB3.js";
|
|
13
13
|
import "./chunk-S7W75MIM.js";
|
|
14
14
|
import "./chunk-Z6DXWULM.js";
|
|
15
15
|
import "./chunk-EPDBWATV.js";
|
|
16
16
|
import "./chunk-24YPR5EH.js";
|
|
17
17
|
import "./chunk-XCKNFFKM.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-OOCVGX4W.js";
|
|
19
19
|
import "./chunk-VLC6WNRD.js";
|
|
20
20
|
import "./chunk-ICLB27PZ.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-JRUEIRJB.js";
|
|
21
|
+
import "./chunk-SLO22FPS.js";
|
|
23
22
|
import "./chunk-7TF3QOOD.js";
|
|
24
23
|
import "./chunk-NXMESY4J.js";
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-KSZHIAI2.js";
|
|
26
25
|
import "./chunk-O753JUEZ.js";
|
|
27
26
|
import "./chunk-N7VMGZCU.js";
|
|
28
27
|
import "./chunk-NOTA6TEI.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-MPJQMMBZ.js";
|
|
29
|
+
import "./chunk-I6GGMCTV.js";
|
|
30
|
+
import "./chunk-KAO7JL4I.js";
|
|
31
|
+
import "./chunk-L24LESXF.js";
|
|
31
32
|
import "./chunk-2M4IGSCY.js";
|
|
32
33
|
import "./chunk-BYU54C3S.js";
|
|
33
34
|
import "./chunk-5WRI5ZAA.js";
|
package/dist/highlight.js
CHANGED
|
@@ -333,6 +333,13 @@ var DIRECTIVES_REGISTRY = [
|
|
|
333
333
|
{ token: "alert", category: "control" },
|
|
334
334
|
{ token: "progress", category: "control" },
|
|
335
335
|
{ token: "mobile", category: "control" },
|
|
336
|
+
// Whiteboard element leaders (§39). `image` is shared with wireframe above
|
|
337
|
+
// and `text` stays an ER modifier; `database` / `queue` are left plain
|
|
338
|
+
// because sketch and sequence use them as values, not line leaders.
|
|
339
|
+
{ token: "rectangle", category: "control" },
|
|
340
|
+
{ token: "ellipse", category: "control" },
|
|
341
|
+
{ token: "arrow", category: "control" },
|
|
342
|
+
{ token: "ink", category: "control" },
|
|
336
343
|
// ── Kanban status keywords (STATUS) ──────────────────────
|
|
337
344
|
{ token: "na", category: "status" },
|
|
338
345
|
{ token: "todo", category: "status" },
|
|
@@ -548,6 +555,11 @@ var chartTypesData = [
|
|
|
548
555
|
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",
|
|
549
556
|
beta: true
|
|
550
557
|
},
|
|
558
|
+
{
|
|
559
|
+
id: "whiteboard",
|
|
560
|
+
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",
|
|
561
|
+
beta: true
|
|
562
|
+
},
|
|
551
563
|
{
|
|
552
564
|
id: "goal",
|
|
553
565
|
description: "Single progress-toward-a-target value (now vs target) as a progress bar, thermometer, or gauge \u2014 KPIs, fundraising, quotas, completion"
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { b as DiagnosticSpec, P as PaletteConfig, C as CompactViewState, D as DgmoError } from './tag-groups-fgxWTyyB.js';
|
|
2
2
|
export { c as DgmoSeverity, d as DiagnosticParams, E as EmitOptions, a as PaletteColors, e as emit, f as formatDgmoError } from './tag-groups-fgxWTyyB.js';
|
|
3
|
-
import { T as Theme } from './themes-
|
|
4
|
-
export { M as MapCompletionOptions,
|
|
5
|
-
import { M as MapDataSource } from './d3-
|
|
6
|
-
export { G as Gazetteer, a as GazetteerEntry, b as MapData, R as RegionName, c as RegionNames } from './d3-
|
|
7
|
-
export { C as ChartTypeId, a as ChartTypeMeta, c as chartTypes, g as getPalette, r as resolvePaletteOrFallback } from './chart-types-
|
|
3
|
+
import { T as Theme } from './themes-Cm2YBcT8.js';
|
|
4
|
+
export { E as EncodeInkOptions, I as INK_DEFAULT_TOLERANCE, a as INK_PRESSURE_LEVELS, b as InkDecodeResult, c as InkPoint, M as MapCompletionOptions, d as MapLocationMatch, e as MapPlaceCompletion, f as MapRegionCompletion, g as completeMapPlaces, h as completeMapRegions, i as decodeInk, j as encodeInk, p as palettes, s as searchMapLocations, t as themes, k as validate } from './themes-Cm2YBcT8.js';
|
|
5
|
+
import { M as MapDataSource } from './d3-2S3PrXik.js';
|
|
6
|
+
export { G as Gazetteer, a as GazetteerEntry, b as MapData, R as RegionName, c as RegionNames } from './d3-2S3PrXik.js';
|
|
7
|
+
export { C as ChartTypeId, a as ChartTypeMeta, c as chartTypes, g as getPalette, r as resolvePaletteOrFallback } from './chart-types-V2NcgN5O.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Make an SVG produced by `@diagrammo/dgmo`'s static `render()` suitable for
|
|
@@ -186,6 +186,13 @@ interface RenderOptions {
|
|
|
186
186
|
* (e.g. `'catppuccin'`). Unknown ids fall back to the default palette.
|
|
187
187
|
*/
|
|
188
188
|
palette?: PaletteConfig | string;
|
|
189
|
+
/**
|
|
190
|
+
* A palette that beats the diagram's own `palette` line — for a deliberate
|
|
191
|
+
* per-embed choice such as a fence attribute or a CLI flag. Same forms as
|
|
192
|
+
* `palette`. Who wins, highest first: `paletteOverride`, the file's own
|
|
193
|
+
* `palette` line, `palette`, Slate.
|
|
194
|
+
*/
|
|
195
|
+
paletteOverride?: PaletteConfig | string;
|
|
189
196
|
/**
|
|
190
197
|
* How to handle parse errors:
|
|
191
198
|
* 'svg' — render an inline error SVG (default)
|
|
@@ -223,6 +230,20 @@ interface RenderOptions {
|
|
|
223
230
|
* diagnostic. Every other chart type ignores this option.
|
|
224
231
|
*/
|
|
225
232
|
mapData?: MapDataSource;
|
|
233
|
+
/**
|
|
234
|
+
* Whiteboard images: turn an image ref (a relative path such as
|
|
235
|
+
* `board.assets/9f3c.webp`, or an `https://` URL) into an href — a data URI
|
|
236
|
+
* or a URL. Supplied → its answer is final, and `undefined` draws a plain
|
|
237
|
+
* box labelled "image not uploaded". Omitted → `https://` refs pass through
|
|
238
|
+
* and everything else is that box. Every other chart type ignores it.
|
|
239
|
+
*/
|
|
240
|
+
resolveImage?: (ref: string) => string | undefined;
|
|
241
|
+
/**
|
|
242
|
+
* Whiteboard sticky notes: `true` draws them and `false` hides them,
|
|
243
|
+
* whatever the board's `no-notes` says. Omitted, the directive decides.
|
|
244
|
+
* Every other chart type ignores it.
|
|
245
|
+
*/
|
|
246
|
+
showNotes?: boolean;
|
|
226
247
|
}
|
|
227
248
|
|
|
228
249
|
interface RenderResult {
|