@diagrammo/dgmo 0.60.0 → 0.62.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 +1 -1
- package/dist/advanced.d.ts +382 -396
- package/dist/advanced.js +217 -105
- package/dist/auto.js +142 -141
- package/dist/block.js +51 -106
- package/dist/{calculator-ORAKSL5D.js → calculator-M326KQFW.js} +3 -3
- package/dist/{chart-meta-C6UaqhTP.d.ts → chart-meta-D98NbYDp.d.ts} +9 -3
- package/dist/chart-meta.d.ts +2 -2
- package/dist/chart-meta.js +44 -46
- package/dist/{charts-d3-FSNSASP7.js → charts-d3-3WMDA5Z5.js} +6 -6
- package/dist/{chunk-ON4MEUC4.js → chunk-23RWHHI5.js} +11 -2
- package/dist/{chunk-SLGHGT76.js → chunk-2CMM36O7.js} +2 -2
- package/dist/{chunk-XVOGT46C.js → chunk-2PTK46E2.js} +2 -2
- package/dist/{chunk-DXSRQLD4.js → chunk-37EHGTQ2.js} +2205 -2019
- package/dist/{chunk-4IFPX4J6.js → chunk-3A2HZBFD.js} +2 -2
- package/dist/{chunk-OJD4FU6H.js → chunk-3A7KMF33.js} +2 -2
- package/dist/{chunk-DKCEG3N6.js → chunk-3HYRJAXO.js} +4 -4
- package/dist/{chunk-V5OBLPLA.js → chunk-3OLO2MZ6.js} +4 -4
- package/dist/{chunk-P3343TTF.js → chunk-3PVUGECM.js} +95 -117
- package/dist/{chunk-Y5KXCKI5.js → chunk-4BEAHH6G.js} +5 -5
- package/dist/{chunk-ZPUVAJTW.js → chunk-4C3BTTOL.js} +4 -4
- package/dist/{chunk-EKKS325Q.js → chunk-4GQ6I46C.js} +2 -2
- package/dist/{chunk-4B5YISOR.js → chunk-536EBUPG.js} +16 -1
- package/dist/{chunk-DKG2ADEN.js → chunk-63WPPHOM.js} +2 -2
- package/dist/{chunk-I53E3L5M.js → chunk-65QX6LYT.js} +3 -3
- package/dist/{chunk-243KZTTS.js → chunk-6BVIZW5N.js} +7 -7
- package/dist/{chunk-6RR4XUOB.js → chunk-7BJQUII6.js} +6 -6
- package/dist/{chunk-X5CJAFZF.js → chunk-7FTGNJQ2.js} +3 -3
- package/dist/{chunk-PTYUSRGT.js → chunk-7QCYHZVO.js} +5 -5
- package/dist/{chunk-ZU2EXJEL.js → chunk-A34FVVVI.js} +2 -2
- package/dist/{chunk-BGBGWFUI.js → chunk-A5FNLWKP.js} +3 -3
- package/dist/{chunk-BG23Y7JD.js → chunk-AFCVHK3G.js} +3 -3
- package/dist/{chunk-QMKFLQL4.js → chunk-AKD3YZ54.js} +3 -3
- package/dist/{chunk-BVPRRSMX.js → chunk-B25BEH3F.js} +3 -3
- package/dist/{chunk-GCZQAT4Z.js → chunk-CHOKOYSC.js} +3 -3
- package/dist/{chunk-2NSR6INI.js → chunk-CSUF6PNF.js} +3 -3
- package/dist/{chunk-ZTSBP3AH.js → chunk-CUYDE77F.js} +3 -3
- package/dist/{chunk-VHO3YBTB.js → chunk-CVVICCSB.js} +24 -2
- package/dist/{chunk-K5L3LXT3.js → chunk-DHIBVN2D.js} +104 -93
- package/dist/{chunk-ZBOSGLES.js → chunk-DJC5M7VC.js} +3 -3
- package/dist/{chunk-6XWZKCVS.js → chunk-DPFCFU2K.js} +3 -3
- package/dist/{chunk-CDIBHGPW.js → chunk-DY4VJYG7.js} +3 -3
- package/dist/{chunk-32G7X6BX.js → chunk-DZZWR6GT.js} +6 -6
- package/dist/{chunk-6YY56KU2.js → chunk-E2GEV3BI.js} +3 -3
- package/dist/{chunk-PSWWCLLI.js → chunk-EK4QX7NQ.js} +3 -3
- package/dist/{chunk-N4NFZIXE.js → chunk-FVYHDZ6Q.js} +2 -2
- package/dist/{chunk-DC3EBYIG.js → chunk-FXLGBUIQ.js} +5 -5
- package/dist/{chunk-VVCYOF3P.js → chunk-HBSKE3ML.js} +3 -3
- package/dist/{chunk-IO436ODZ.js → chunk-HJ6TMHQG.js} +4 -4
- package/dist/{chunk-6F74K4JL.js → chunk-I7IQ2NEJ.js} +3 -3
- package/dist/{chunk-VGFUVFJA.js → chunk-IL5UVUMK.js} +3 -3
- package/dist/{chunk-S5OQWV54.js → chunk-INLEOJIX.js} +2 -2
- package/dist/{chunk-35SOKGIP.js → chunk-JU2VMFYC.js} +2 -2
- package/dist/{chunk-DDQ47BMP.js → chunk-JWJBWNQL.js} +3 -3
- package/dist/{chunk-ZJR2YBVN.js → chunk-KOHIF4LD.js} +2 -2
- package/dist/{chunk-CWOKQSBQ.js → chunk-KRTO7NRK.js} +2 -2
- package/dist/{chunk-TL6WZWSZ.js → chunk-LALFMQ7Q.js} +2 -2
- package/dist/{chunk-MROSEZHE.js → chunk-LFAQ4BLZ.js} +3 -3
- package/dist/{chunk-EYP34TFP.js → chunk-LQR46XGR.js} +2 -2
- package/dist/{chunk-QABZKAKF.js → chunk-LRKGF7RN.js} +6 -6
- package/dist/{chunk-LLA5C2TM.js → chunk-MDI5FMWO.js} +2 -2
- package/dist/{chunk-GZAKQDX7.js → chunk-MRD4QWFK.js} +3 -3
- package/dist/{chunk-EZGWUS5G.js → chunk-NEV5IW33.js} +5 -5
- package/dist/{chunk-HQI7S72D.js → chunk-NKRVFQGO.js} +4 -4
- package/dist/{chunk-V5PHEH2M.js → chunk-NMIWEUIG.js} +2 -2
- package/dist/{chunk-OSXJY6SY.js → chunk-NSJK7F2V.js} +3 -3
- package/dist/{chunk-6KWE5553.js → chunk-O42EAZUV.js} +3 -3
- package/dist/{chunk-LXUBC5H4.js → chunk-OIK6Y2EJ.js} +5 -5
- package/dist/{chunk-EQGLGTU2.js → chunk-OLPWKS5L.js} +3 -3
- package/dist/{chunk-IXY2IPOW.js → chunk-P2PUWV3Y.js} +233 -58
- package/dist/{chunk-4VFQPEC6.js → chunk-PFGJ7SCM.js} +6 -6
- package/dist/{chunk-DNSEG6P2.js → chunk-PJDX4IKR.js} +2 -2
- package/dist/{chunk-JAHV7RFV.js → chunk-PTKCX5ZE.js} +4 -4
- package/dist/{chunk-U5UKFXHB.js → chunk-Q3XVMFVF.js} +2 -2
- package/dist/{chunk-SJT4W23S.js → chunk-QE4GTFZS.js} +2 -2
- package/dist/{chunk-TR7WNZFJ.js → chunk-QFNRHY62.js} +3 -3
- package/dist/{chunk-R53THUTP.js → chunk-QMYJO4EL.js} +4 -4
- package/dist/{chunk-IH3GHOHU.js → chunk-QQADQBKG.js} +4 -4
- package/dist/{chunk-TDZRLG7I.js → chunk-RF5YDIYT.js} +2 -2
- package/dist/{chunk-HFOSP6E2.js → chunk-RKTIIU7Z.js} +3 -3
- package/dist/{chunk-SEDLXFTX.js → chunk-SBOG6R6A.js} +4 -4
- package/dist/{chunk-T7FMXKIG.js → chunk-SF3JAWMY.js} +3 -3
- package/dist/{chunk-GSSCUREO.js → chunk-SMHTYVMK.js} +6 -6
- package/dist/{chunk-SQLVM3G7.js → chunk-SR7NGZNM.js} +4 -4
- package/dist/{chunk-VGCL263O.js → chunk-SSR6JAR3.js} +2 -2
- package/dist/{chunk-HPNOT5GQ.js → chunk-TJCHULP5.js} +2 -2
- package/dist/{chunk-PLDCXGLQ.js → chunk-TRP7PC5Z.js} +5 -5
- package/dist/{chunk-3O3W2JS2.js → chunk-U42ZEK7L.js} +2 -2
- package/dist/{chunk-UYY7MVJK.js → chunk-U7CXUGQS.js} +3 -3
- package/dist/{chunk-IOUUQLDE.js → chunk-UKZ7K5GS.js} +2 -2
- package/dist/{chunk-X5AIFXB7.js → chunk-USHDV2AF.js} +4 -4
- package/dist/{chunk-TJV3J74Y.js → chunk-UTOELEK2.js} +3 -3
- package/dist/{chunk-E5G55SYS.js → chunk-UZ3JPYD3.js} +3 -3
- package/dist/{chunk-ZP2FV4WO.js → chunk-VWCGN2ST.js} +3 -3
- package/dist/{chunk-W2Z4KS72.js → chunk-VXBEG3IB.js} +3 -3
- package/dist/{chunk-Z4RFILRE.js → chunk-W32HMBPW.js} +3 -3
- package/dist/{chunk-KZFAEMQQ.js → chunk-X2X7MTKH.js} +3 -3
- package/dist/{chunk-5USRKIR3.js → chunk-X4FCKGK2.js} +4 -4
- package/dist/{chunk-MM4Z32EH.js → chunk-XC7BUB3P.js} +2 -2
- package/dist/{chunk-XS7CL7NX.js → chunk-XHFXA6RP.js} +2 -2
- package/dist/{chunk-JQDZHYGU.js → chunk-XJZCXNWR.js} +3 -3
- package/dist/{chunk-XZXXSZ7E.js → chunk-YJCILMEA.js} +4 -4
- package/dist/{chunk-GSVHOF3J.js → chunk-YXI6Y7YY.js} +2 -2
- package/dist/cloud-reference.d.ts +24 -4
- package/dist/cloud-reference.js +5 -1
- package/dist/completion-registry.js +5 -7
- package/dist/{registry-C0HvobTb.d.ts → dgmo-router-Dd5PTjxl.d.ts} +271 -98
- package/dist/dgmo-router-Z5N6QLIC.js +89 -0
- package/dist/{dimensions-PC6WLKCC.js → dimensions-ES6O2T4H.js} +6 -6
- package/dist/editor.d.ts +9 -2
- package/dist/editor.js +229 -57
- package/dist/element.js +143 -142
- package/dist/{flowchart-parser-PZQY2UC4.js → flowchart-parser-T4XZRSA7.js} +4 -4
- package/dist/{flowchart-renderer-RS6IRRE7.js → flowchart-renderer-XFDCX7MZ.js} +5 -5
- package/dist/highlight.js +229 -57
- package/dist/index.d.ts +21 -10
- package/dist/index.js +55 -66
- package/dist/{layout-GKWT37FH.js → layout-H4H4OFE4.js} +3 -3
- package/dist/{layout-W423CCED.js → layout-OH4VQ3OI.js} +4 -4
- package/dist/{layout-LH6LNIUV.js → layout-QTZO6CW5.js} +3 -3
- package/dist/{layout-AUAW5U74.js → layout-SKQMIXTG.js} +4 -4
- package/dist/{layout-GU6POUGD.js → layout-UU4VJTOP.js} +4 -4
- package/dist/{layout-MNQZ3Q45.js → layout-WCOEZPOI.js} +4 -4
- package/dist/live-link-resolve.js +1 -1
- package/dist/{parser-NJGZF5MK.js → parser-2BGDJJ2L.js} +5 -5
- package/dist/{parser-3QHLZK6F.js → parser-2K4Z7RNT.js} +3 -3
- package/dist/{parser-6HT34DZ3.js → parser-3KFNCRLD.js} +4 -4
- package/dist/{parser-WXZU47Z4.js → parser-4CMMKTRS.js} +3 -3
- package/dist/{parser-BNGLB2VS.js → parser-56746U6W.js} +4 -4
- package/dist/{parser-56HMQG5C.js → parser-5JS6VM6L.js} +5 -5
- package/dist/{parser-2OJSWKXO.js → parser-5ZUEF4WE.js} +4 -4
- package/dist/{parser-7C5GZCAU.js → parser-63BQDUWB.js} +4 -4
- package/dist/{parser-TPCKCQ4Z.js → parser-6VNVZO5F.js} +4 -4
- package/dist/{parser-6S65S3DX.js → parser-AZZHRVJF.js} +4 -4
- package/dist/{parser-WI2B7IL3.js → parser-BGX5ODHF.js} +3 -3
- package/dist/{parser-TABGTEHH.js → parser-DLUOCPMD.js} +3 -3
- package/dist/{parser-CXLR6MAY.js → parser-DSNINT2K.js} +3 -3
- package/dist/{parser-RMUGOZO3.js → parser-FTC7FZ6Z.js} +4 -4
- package/dist/{parser-5I7W54EA.js → parser-GHLWPCIX.js} +4 -4
- package/dist/{parser-BVC642CN.js → parser-J75RSQFI.js} +4 -4
- package/dist/{parser-IWQQY5VU.js → parser-JZPSIWRC.js} +4 -4
- package/dist/{parser-QCSDU4FU.js → parser-KN7H2RQC.js} +3 -3
- package/dist/{parser-4QYDFXV2.js → parser-KRF4S5RW.js} +4 -4
- package/dist/{parser-4OU5P3BM.js → parser-KSIYWKYF.js} +4 -4
- package/dist/{parser-UB6XGLTC.js → parser-MCUKPCYE.js} +4 -4
- package/dist/{parser-G7KP6LZH.js → parser-MUYBWGUB.js} +3 -3
- package/dist/{parser-QCYEJOLZ.js → parser-NWERESX3.js} +4 -4
- package/dist/{parser-63LK7YBR.js → parser-OEBFJHT4.js} +5 -5
- package/dist/{parser-DROHJTBZ.js → parser-P7T2BGAI.js} +4 -4
- package/dist/{parser-7W7DPIGR.js → parser-RAKD267X.js} +4 -4
- package/dist/{parser-AD5OAVX6.js → parser-RBY2UFTE.js} +3 -3
- package/dist/{parser-5BHZMV3O.js → parser-SRUPRH77.js} +4 -4
- package/dist/{parser-QJ7XK7AB.js → parser-SSUMVOJA.js} +4 -4
- package/dist/{parser-BLCDJB7N.js → parser-UKQC7N6K.js} +4 -4
- package/dist/{parser-AWO3N6YH.js → parser-VMGTNHP2.js} +3 -3
- package/dist/{parser-55CSWK3N.js → parser-WHDC7OV2.js} +4 -4
- package/dist/{parser-453DEZ4P.js → parser-YO2JBE52.js} +4 -4
- package/dist/{renderer-G24W6J6H.js → renderer-2DKA5QXA.js} +4 -4
- package/dist/{renderer-66YB63F4.js → renderer-2PGIIOFN.js} +7 -7
- package/dist/{renderer-RH5OJ6Q6.js → renderer-35F3XMZH.js} +5 -5
- package/dist/{renderer-3Z5MSBWR.js → renderer-4RQ5PGHY.js} +6 -6
- package/dist/{renderer-LGSSP3JI.js → renderer-62FFDWMY.js} +6 -6
- package/dist/{renderer-SHMFNFE4.js → renderer-63MLWS6L.js} +7 -7
- package/dist/{renderer-GFZT6Q5F.js → renderer-6QW5OAJG.js} +5 -5
- package/dist/renderer-A5GFW2XH.js +76 -0
- package/dist/{renderer-H5C2JN62.js → renderer-AMCTCBV3.js} +5 -5
- package/dist/{renderer-PGMTAQIE.js → renderer-AS6LLDZM.js} +5 -5
- package/dist/{renderer-YYG4LYKS.js → renderer-AVR3LBTS.js} +6 -6
- package/dist/{renderer-LPQUBMXZ.js → renderer-BBBN7QNX.js} +4 -4
- package/dist/{renderer-DQLSUTSU.js → renderer-CHHYNEK7.js} +5 -5
- package/dist/{renderer-J76L474X.js → renderer-CU6BEHHV.js} +3 -3
- package/dist/{renderer-NE2GQBAU.js → renderer-CXRSD26Q.js} +7 -7
- package/dist/{renderer-JO27QMZB.js → renderer-DJ5DP3RH.js} +5 -5
- package/dist/{renderer-ZMAPGMF2.js → renderer-DRLZELXM.js} +5 -5
- package/dist/{renderer-BTFZWWIG.js → renderer-GESKWINV.js} +7 -7
- package/dist/{renderer-RB4FJJYN.js → renderer-IG5PQXEM.js} +7 -7
- package/dist/{renderer-PTLCAUC6.js → renderer-JBF2PAVP.js} +5 -5
- package/dist/{renderer-RRIXAQSF.js → renderer-JL7L5Y5M.js} +5 -5
- package/dist/{renderer-A3QD5R2C.js → renderer-JSFWNV37.js} +6 -6
- package/dist/{renderer-U55GLRDJ.js → renderer-M7YOXAGC.js} +3 -3
- package/dist/{renderer-5INUWSXC.js → renderer-Q2YHQQSN.js} +8 -8
- package/dist/{renderer-2HFRMVHO.js → renderer-RN5ZFIEK.js} +6 -6
- package/dist/{renderer-CQWF3JE3.js → renderer-TDFRMG3O.js} +3 -3
- package/dist/{renderer-MFD57VGM.js → renderer-UTXVIAS7.js} +5 -5
- package/dist/{renderer-S7ZTD4XM.js → renderer-VYMTBSF4.js} +7 -7
- package/dist/{renderer-NVT3RP5Q.js → renderer-XSHOMUJQ.js} +7 -7
- package/dist/{renderer-T4DY572A.js → renderer-ZHBFOSK5.js} +5 -5
- package/dist/{renderer-radial-2DDUIUWA.js → renderer-radial-4J2KO4GZ.js} +6 -6
- package/dist/{resolver-W3WKLWDP.js → resolver-ZLYSMILY.js} +3 -3
- package/dist/{state-parser-PNC2IHIA.js → state-parser-3U4232LJ.js} +5 -5
- package/dist/{state-renderer-QGPK55TI.js → state-renderer-GBHDOEXR.js} +7 -7
- package/dist/{themes-l406Vj2z.d.ts → themes-DiUAG4Bf.d.ts} +37 -2
- package/docs/ai-integration.md +5 -5
- package/docs/language-reference.md +1 -1
- package/package.json +2 -21
- package/.claude/commands/dgmo-codebase-report.md +0 -172
- package/.claude/commands/dgmo-diagram-this.md +0 -60
- package/.claude/commands/dgmo-document-project.md +0 -128
- package/.claude/commands/dgmo.md +0 -313
- package/.cursorrules +0 -587
- package/.github/copilot-instructions.md +0 -597
- package/.windsurfrules +0 -587
- package/SKILL.md +0 -573
- package/dist/auto.d.ts +0 -60
- package/dist/auto.mjs +0 -88591
- package/dist/chunk-6MTWIQVO.js +0 -121
- package/dist/chunk-ZEIYC7XO.js +0 -229
- package/dist/cli.cjs +0 -489
- package/dist/dgmo-router-JD7THHB7.js +0 -90
- package/dist/element.d.ts +0 -68
- package/dist/element.mjs +0 -88457
- package/dist/load-data-EHDDZ5ZS.js +0 -8
- package/dist/renderer-MDCH52MC.js +0 -77
|
@@ -58,6 +58,86 @@ interface EmitOptions {
|
|
|
58
58
|
declare function emit(spec: DiagnosticSpec, line: number, params?: DiagnosticParams, opts?: EmitOptions): DgmoError;
|
|
59
59
|
declare function formatDgmoError(err: DgmoError): string;
|
|
60
60
|
|
|
61
|
+
/**
|
|
62
|
+
* Compact view state schema (ADR-6).
|
|
63
|
+
* All fields optional. Only non-default values are encoded.
|
|
64
|
+
* `tag: null` means "user chose none"; absent `tag` means "use DSL default" (ADR-5).
|
|
65
|
+
*/
|
|
66
|
+
interface CompactViewState {
|
|
67
|
+
tag?: string | null;
|
|
68
|
+
cs?: number[];
|
|
69
|
+
cg?: string[];
|
|
70
|
+
swim?: string | null;
|
|
71
|
+
cl?: string[];
|
|
72
|
+
cc?: string[];
|
|
73
|
+
rm?: string;
|
|
74
|
+
htv?: Record<string, string[]>;
|
|
75
|
+
ha?: string[];
|
|
76
|
+
sem?: boolean;
|
|
77
|
+
cm?: boolean;
|
|
78
|
+
c4l?: string;
|
|
79
|
+
c4s?: string;
|
|
80
|
+
c4c?: string;
|
|
81
|
+
rps?: number;
|
|
82
|
+
spd?: number;
|
|
83
|
+
io?: Record<string, number>;
|
|
84
|
+
hd?: boolean;
|
|
85
|
+
cbd?: boolean;
|
|
86
|
+
rq?: string;
|
|
87
|
+
an?: boolean;
|
|
88
|
+
fl?: boolean;
|
|
89
|
+
}
|
|
90
|
+
interface DecodedDiagramUrl {
|
|
91
|
+
dsl: string;
|
|
92
|
+
viewState: CompactViewState;
|
|
93
|
+
palette?: string;
|
|
94
|
+
theme?: 'light' | 'dark';
|
|
95
|
+
filename?: string;
|
|
96
|
+
}
|
|
97
|
+
interface EncodeDiagramUrlOptions {
|
|
98
|
+
baseUrl?: string;
|
|
99
|
+
viewState?: CompactViewState;
|
|
100
|
+
palette?: string;
|
|
101
|
+
theme?: 'light' | 'dark';
|
|
102
|
+
filename?: string;
|
|
103
|
+
}
|
|
104
|
+
type EncodeDiagramUrlResult = {
|
|
105
|
+
url: string;
|
|
106
|
+
error?: undefined;
|
|
107
|
+
} | {
|
|
108
|
+
url?: undefined;
|
|
109
|
+
error: 'too-large';
|
|
110
|
+
compressedSize: number;
|
|
111
|
+
limit: number;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Encode a CompactViewState to a compressed string for URL embedding.
|
|
115
|
+
* Returns empty string if state has no keys (ADR-4).
|
|
116
|
+
*/
|
|
117
|
+
declare function encodeViewState(state: CompactViewState): string;
|
|
118
|
+
/**
|
|
119
|
+
* Decode a compressed view state string back to CompactViewState.
|
|
120
|
+
* Returns empty object on failure (no crash).
|
|
121
|
+
*/
|
|
122
|
+
declare function decodeViewState(encoded: string): CompactViewState;
|
|
123
|
+
/**
|
|
124
|
+
* Compress a DGMO DSL string into a shareable URL.
|
|
125
|
+
* Returns `{ url }` on success, or `{ error: 'too-large', compressedSize, limit }` if the
|
|
126
|
+
* compressed payload exceeds the 8 KB limit.
|
|
127
|
+
*/
|
|
128
|
+
declare function encodeDiagramUrl(dsl: string, options?: EncodeDiagramUrlOptions): EncodeDiagramUrlResult;
|
|
129
|
+
/**
|
|
130
|
+
* Decode a DGMO DSL string and view state from a URL query string or hash.
|
|
131
|
+
* Accepts any of:
|
|
132
|
+
* - `?dgmo=<payload>&vs=<state>`
|
|
133
|
+
* - `#dgmo=<payload>&vs=<state>` (backwards compat)
|
|
134
|
+
* - `dgmo=<payload>`
|
|
135
|
+
* - `<bare payload>`
|
|
136
|
+
*
|
|
137
|
+
* Returns `{ dsl, viewState }`. The DSL is empty string on invalid input.
|
|
138
|
+
*/
|
|
139
|
+
declare function decodeDiagramUrl(hash: string): DecodedDiagramUrl;
|
|
140
|
+
|
|
61
141
|
/**
|
|
62
142
|
* Color definitions for a single mode (light or dark).
|
|
63
143
|
* 10 semantic UI colors + 9 named accent colors = 19 total.
|
|
@@ -180,85 +260,27 @@ declare function tagAttrKey(name: string): string;
|
|
|
180
260
|
*/
|
|
181
261
|
declare const autoTagColorCycle: readonly string[];
|
|
182
262
|
|
|
263
|
+
/** Validate that a hex string is well-formed (#RGB or #RRGGBB). */
|
|
264
|
+
declare function isValidHex(value: string): boolean;
|
|
183
265
|
/**
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
*/
|
|
188
|
-
interface CompactViewState {
|
|
189
|
-
tag?: string | null;
|
|
190
|
-
cs?: number[];
|
|
191
|
-
cg?: string[];
|
|
192
|
-
swim?: string | null;
|
|
193
|
-
cl?: string[];
|
|
194
|
-
cc?: string[];
|
|
195
|
-
rm?: string;
|
|
196
|
-
htv?: Record<string, string[]>;
|
|
197
|
-
ha?: string[];
|
|
198
|
-
sem?: boolean;
|
|
199
|
-
cm?: boolean;
|
|
200
|
-
c4l?: string;
|
|
201
|
-
c4s?: string;
|
|
202
|
-
c4c?: string;
|
|
203
|
-
rps?: number;
|
|
204
|
-
spd?: number;
|
|
205
|
-
io?: Record<string, number>;
|
|
206
|
-
hd?: boolean;
|
|
207
|
-
cbd?: boolean;
|
|
208
|
-
rq?: string;
|
|
209
|
-
an?: boolean;
|
|
210
|
-
fl?: boolean;
|
|
211
|
-
}
|
|
212
|
-
interface DecodedDiagramUrl {
|
|
213
|
-
dsl: string;
|
|
214
|
-
viewState: CompactViewState;
|
|
215
|
-
palette?: string;
|
|
216
|
-
theme?: 'light' | 'dark';
|
|
217
|
-
filename?: string;
|
|
218
|
-
}
|
|
219
|
-
interface EncodeDiagramUrlOptions {
|
|
220
|
-
baseUrl?: string;
|
|
221
|
-
viewState?: CompactViewState;
|
|
222
|
-
palette?: string;
|
|
223
|
-
theme?: 'light' | 'dark';
|
|
224
|
-
filename?: string;
|
|
225
|
-
}
|
|
226
|
-
type EncodeDiagramUrlResult = {
|
|
227
|
-
url: string;
|
|
228
|
-
error?: undefined;
|
|
229
|
-
} | {
|
|
230
|
-
url?: undefined;
|
|
231
|
-
error: 'too-large';
|
|
232
|
-
compressedSize: number;
|
|
233
|
-
limit: number;
|
|
234
|
-
};
|
|
235
|
-
/**
|
|
236
|
-
* Encode a CompactViewState to a compressed string for URL embedding.
|
|
237
|
-
* Returns empty string if state has no keys (ADR-4).
|
|
238
|
-
*/
|
|
239
|
-
declare function encodeViewState(state: CompactViewState): string;
|
|
240
|
-
/**
|
|
241
|
-
* Decode a compressed view state string back to CompactViewState.
|
|
242
|
-
* Returns empty object on failure (no crash).
|
|
243
|
-
*/
|
|
244
|
-
declare function decodeViewState(encoded: string): CompactViewState;
|
|
245
|
-
/**
|
|
246
|
-
* Compress a DGMO DSL string into a shareable URL.
|
|
247
|
-
* Returns `{ url }` on success, or `{ error: 'too-large', compressedSize, limit }` if the
|
|
248
|
-
* compressed payload exceeds the 8 KB limit.
|
|
266
|
+
* Register a palette. Called at module initialization.
|
|
267
|
+
* Validates that all 19 color fields per mode are present and valid hex.
|
|
268
|
+
* Throws on malformed palettes to catch errors at startup, not at render time.
|
|
249
269
|
*/
|
|
250
|
-
declare function
|
|
270
|
+
declare function registerPalette(palette: PaletteConfig): void;
|
|
271
|
+
/** Get palette by id. Silently returns the default palette if id is unrecognized. */
|
|
272
|
+
declare function getPalette(id: string): PaletteConfig;
|
|
251
273
|
/**
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
*
|
|
258
|
-
*
|
|
259
|
-
* Returns `{ dsl, viewState }`. The DSL is empty string on invalid input.
|
|
274
|
+
* Resolve a palette by id, falling back to the default palette when the id is
|
|
275
|
+
* unregistered. If a `warn` callback is supplied, it is invoked once with a
|
|
276
|
+
* human-readable fallback message on a miss — the single place the "resolve,
|
|
277
|
+
* fall back, warn" policy lives, so each host can surface it its own way
|
|
278
|
+
* (console.warn, Obsidian Notice, MCP response). Silent when the id resolves or
|
|
279
|
+
* when no callback is passed.
|
|
260
280
|
*/
|
|
261
|
-
declare function
|
|
281
|
+
declare function resolvePaletteOrFallback(id: string, warn?: (message: string) => void): PaletteConfig;
|
|
282
|
+
/** List all registered palettes alphabetically (for the selector UI). */
|
|
283
|
+
declare function getAvailablePalettes(): PaletteConfig[];
|
|
262
284
|
|
|
263
285
|
interface ChartTypeMeta {
|
|
264
286
|
readonly id: string;
|
|
@@ -282,6 +304,179 @@ interface ChartTypeMeta {
|
|
|
282
304
|
*/
|
|
283
305
|
readonly internal?: true;
|
|
284
306
|
}
|
|
307
|
+
declare const chartTypesData: readonly [{
|
|
308
|
+
readonly id: "journey-map";
|
|
309
|
+
readonly description: "User experience flow with emotion scores, phases, and annotations";
|
|
310
|
+
}, {
|
|
311
|
+
readonly id: "c4";
|
|
312
|
+
readonly description: "System architecture (context, container, component, deployment)";
|
|
313
|
+
}, {
|
|
314
|
+
readonly id: "er";
|
|
315
|
+
readonly description: "Database schemas and relationships";
|
|
316
|
+
}, {
|
|
317
|
+
readonly id: "class";
|
|
318
|
+
readonly description: "UML class hierarchies";
|
|
319
|
+
}, {
|
|
320
|
+
readonly id: "sequence";
|
|
321
|
+
readonly description: "Message request and response interaction flows";
|
|
322
|
+
readonly fallback: true;
|
|
323
|
+
}, {
|
|
324
|
+
readonly id: "state";
|
|
325
|
+
readonly description: "State machine / lifecycle transitions";
|
|
326
|
+
}, {
|
|
327
|
+
readonly id: "infra";
|
|
328
|
+
readonly description: "Infrastructure traffic flow with RPS computation";
|
|
329
|
+
}, {
|
|
330
|
+
readonly id: "gantt";
|
|
331
|
+
readonly description: "Project scheduling with task dependencies and milestones";
|
|
332
|
+
}, {
|
|
333
|
+
readonly id: "pert";
|
|
334
|
+
readonly description: "Project network with three-point estimates, critical path, and uncertainty (Beta-PERT, Monte Carlo)";
|
|
335
|
+
}, {
|
|
336
|
+
readonly id: "swimlane";
|
|
337
|
+
readonly description: "Cross-functional process flow with lanes, phases and gateways (BPMN-style)";
|
|
338
|
+
}, {
|
|
339
|
+
readonly id: "version-control";
|
|
340
|
+
readonly description: "Git / version-control branch-and-merge graph: commits, branches, merges, rebase, HEAD and remote-tracking (gitGraph-style)";
|
|
341
|
+
}, {
|
|
342
|
+
readonly id: "timeline";
|
|
343
|
+
readonly description: "Events, eras, and date ranges";
|
|
344
|
+
}, {
|
|
345
|
+
readonly id: "event-line";
|
|
346
|
+
readonly description: "Annotated narrative timeline — events on a horizontal line with descriptions (not the date-scaled timeline)";
|
|
347
|
+
}, {
|
|
348
|
+
readonly id: "body";
|
|
349
|
+
readonly description: "Human anatomy figure annotated by muscle/bone/joint name — for medical, exercise, and educational diagrams";
|
|
350
|
+
}, {
|
|
351
|
+
readonly id: "org";
|
|
352
|
+
readonly description: "Reporting hierarchy";
|
|
353
|
+
}, {
|
|
354
|
+
readonly id: "family";
|
|
355
|
+
readonly description: "Family tree / genealogy: unions (couples), children, remarriage, adoption, and GEDCOM-style metadata";
|
|
356
|
+
}, {
|
|
357
|
+
readonly id: "sitemap";
|
|
358
|
+
readonly description: "Site / app navigation structure";
|
|
359
|
+
}, {
|
|
360
|
+
readonly id: "bracket";
|
|
361
|
+
readonly description: "Single-elimination tournament bracket: winners auto-advance up a tree; seed the field for a day-0 skeleton or list results for a casual bracket, with two sides mirroring inward to a championship";
|
|
362
|
+
}, {
|
|
363
|
+
readonly id: "kanban";
|
|
364
|
+
readonly description: "Task board columns";
|
|
365
|
+
}, {
|
|
366
|
+
readonly id: "raci";
|
|
367
|
+
readonly description: "Tasks × roles responsibility matrix with constraint linting";
|
|
368
|
+
}, {
|
|
369
|
+
readonly id: "tech-radar";
|
|
370
|
+
readonly description: "Technology adoption quadrants (adopt/trial/assess/hold)";
|
|
371
|
+
}, {
|
|
372
|
+
readonly id: "mindmap";
|
|
373
|
+
readonly description: "Radial hierarchy of ideas branching from a central topic";
|
|
374
|
+
}, {
|
|
375
|
+
readonly id: "wireframe";
|
|
376
|
+
readonly description: "Low-fidelity UI layout with panels, controls, and annotations";
|
|
377
|
+
}, {
|
|
378
|
+
readonly id: "cycle";
|
|
379
|
+
readonly description: "Cyclical process visualization (PDCA, OODA, DevOps loops)";
|
|
380
|
+
}, {
|
|
381
|
+
readonly id: "pyramid";
|
|
382
|
+
readonly description: "Stacked hierarchy of layers with descriptions (Maslow, DIKW)";
|
|
383
|
+
}, {
|
|
384
|
+
readonly id: "ring";
|
|
385
|
+
readonly description: "Concentric rings showing nested or hierarchical categories (read core-out)";
|
|
386
|
+
}, {
|
|
387
|
+
readonly id: "treemap";
|
|
388
|
+
readonly description: "Nested rectangles sized by value — show a hierarchy’s proportions (budgets, disk usage, portfolios) with color by category, value heatmap, or branch";
|
|
389
|
+
}, {
|
|
390
|
+
readonly id: "block";
|
|
391
|
+
readonly description: "Block diagram: an author-controlled grid of rectangular blocks with nested, collapsible containers — system/hardware/architecture layouts where the 2-D arrangement is the meaning";
|
|
392
|
+
}, {
|
|
393
|
+
readonly id: "sketch";
|
|
394
|
+
readonly description: "GUI-first constrained canvas: uniformly-sized shapes placed freely on a snap grid, arrows between them, meaning through tags — the markup is generated by the canvas editor";
|
|
395
|
+
}, {
|
|
396
|
+
readonly id: "goal";
|
|
397
|
+
readonly description: "Single progress-toward-a-target value (now vs target) as a progress bar, thermometer, or gauge — KPIs, fundraising, quotas, completion";
|
|
398
|
+
}, {
|
|
399
|
+
readonly id: "countdown";
|
|
400
|
+
readonly description: "Live \"N days until X\" that ticks every second and is accurate on every load — trip dates, launches, deadlines; the only dynamic chart type";
|
|
401
|
+
}, {
|
|
402
|
+
readonly id: "clock";
|
|
403
|
+
readonly description: "Live world-clock board: current time for people/places across time zones, ticking every second, with optional working-hours status and sundown line";
|
|
404
|
+
}, {
|
|
405
|
+
readonly id: "map";
|
|
406
|
+
readonly description: "Geographic concept map: highlight/score regions, drop points of interest, connect with routes or edges";
|
|
407
|
+
}, {
|
|
408
|
+
readonly id: "quadrant";
|
|
409
|
+
readonly description: "2x2 positioning matrix";
|
|
410
|
+
}, {
|
|
411
|
+
readonly id: "venn";
|
|
412
|
+
readonly description: "Set overlaps";
|
|
413
|
+
}, {
|
|
414
|
+
readonly id: "funnel";
|
|
415
|
+
readonly description: "Conversion pipeline";
|
|
416
|
+
}, {
|
|
417
|
+
readonly id: "slope";
|
|
418
|
+
readonly description: "Change between 2 time periods";
|
|
419
|
+
}, {
|
|
420
|
+
readonly id: "sankey";
|
|
421
|
+
readonly description: "Flow / allocation visualization";
|
|
422
|
+
}, {
|
|
423
|
+
readonly id: "arc";
|
|
424
|
+
readonly description: "Network relationships (linear or circular via `layout`)";
|
|
425
|
+
}, {
|
|
426
|
+
readonly id: "wordcloud";
|
|
427
|
+
readonly description: "Term frequency visualization";
|
|
428
|
+
}, {
|
|
429
|
+
readonly id: "heatmap";
|
|
430
|
+
readonly description: "Matrix intensity visualization";
|
|
431
|
+
}, {
|
|
432
|
+
readonly id: "function";
|
|
433
|
+
readonly description: "Mathematical expressions";
|
|
434
|
+
}, {
|
|
435
|
+
readonly id: "bar";
|
|
436
|
+
readonly description: "Categorical comparisons for 3 - 5 figures";
|
|
437
|
+
readonly fallback: true;
|
|
438
|
+
}, {
|
|
439
|
+
readonly id: "line";
|
|
440
|
+
readonly description: "Trends over time";
|
|
441
|
+
readonly fallback: true;
|
|
442
|
+
}, {
|
|
443
|
+
readonly id: "pie";
|
|
444
|
+
readonly description: "Part-to-whole proportions";
|
|
445
|
+
}, {
|
|
446
|
+
readonly id: "radar";
|
|
447
|
+
readonly description: "Multi-dimensional metrics";
|
|
448
|
+
}, {
|
|
449
|
+
readonly id: "polar-area";
|
|
450
|
+
readonly description: "Radial bar chart";
|
|
451
|
+
}, {
|
|
452
|
+
readonly id: "scatter";
|
|
453
|
+
readonly description: "2D data points or bubble chart";
|
|
454
|
+
}, {
|
|
455
|
+
readonly id: "flowchart";
|
|
456
|
+
readonly description: "Decision trees and process flows";
|
|
457
|
+
readonly fallback: true;
|
|
458
|
+
}, {
|
|
459
|
+
readonly id: "boxes-and-lines";
|
|
460
|
+
readonly description: "General-purpose node-edge diagrams with groups and tags";
|
|
461
|
+
readonly fallback: true;
|
|
462
|
+
}, {
|
|
463
|
+
readonly id: "live-link";
|
|
464
|
+
readonly description: "A pointer to a diagram published at Diagrammo Cloud";
|
|
465
|
+
readonly internal: true;
|
|
466
|
+
}];
|
|
467
|
+
/**
|
|
468
|
+
* Every chart type the router can dispatch — the "routable" set.
|
|
469
|
+
*
|
|
470
|
+
* Distinct from the "offered" set (`utils/offered-types.ts`), which drops the
|
|
471
|
+
* `internal` types nobody hand-authors. A live link is routable but never
|
|
472
|
+
* offered.
|
|
473
|
+
*
|
|
474
|
+
* This union is the reason the id list lives here: `chart-type-registry.ts`
|
|
475
|
+
* keys its `Record` by it, so a chart type missing from the registry is a
|
|
476
|
+
* compile error, and `ALL_CHART_TYPES` / the editor's `CHART_TYPES` derive from
|
|
477
|
+
* the same array rather than restating it.
|
|
478
|
+
*/
|
|
479
|
+
type ChartTypeId = (typeof chartTypesData)[number]['id'];
|
|
285
480
|
declare const chartTypes: readonly ChartTypeMeta[];
|
|
286
481
|
|
|
287
482
|
/** User-visible rendering category for dispatch and routing. */
|
|
@@ -342,26 +537,4 @@ declare function parseDgmo(content: string): {
|
|
|
342
537
|
chartType: string | null;
|
|
343
538
|
};
|
|
344
539
|
|
|
345
|
-
|
|
346
|
-
declare function isValidHex(value: string): boolean;
|
|
347
|
-
/**
|
|
348
|
-
* Register a palette. Called at module initialization.
|
|
349
|
-
* Validates that all 19 color fields per mode are present and valid hex.
|
|
350
|
-
* Throws on malformed palettes to catch errors at startup, not at render time.
|
|
351
|
-
*/
|
|
352
|
-
declare function registerPalette(palette: PaletteConfig): void;
|
|
353
|
-
/** Get palette by id. Silently returns the default palette if id is unrecognized. */
|
|
354
|
-
declare function getPalette(id: string): PaletteConfig;
|
|
355
|
-
/**
|
|
356
|
-
* Resolve a palette by id, falling back to the default palette when the id is
|
|
357
|
-
* unregistered. If a `warn` callback is supplied, it is invoked once with a
|
|
358
|
-
* human-readable fallback message on a miss — the single place the "resolve,
|
|
359
|
-
* fall back, warn" policy lives, so each host can surface it its own way
|
|
360
|
-
* (console.warn, Obsidian Notice, MCP response). Silent when the id resolves or
|
|
361
|
-
* when no callback is passed.
|
|
362
|
-
*/
|
|
363
|
-
declare function resolvePaletteOrFallback(id: string, warn?: (message: string) => void): PaletteConfig;
|
|
364
|
-
/** List all registered palettes alphabetically (for the selector UI). */
|
|
365
|
-
declare function getAvailablePalettes(): PaletteConfig[];
|
|
366
|
-
|
|
367
|
-
export { isValidHex as A, knownChartTypeIds as B, type CompactViewState as C, type DgmoError as D, type EmitOptions as E, makeDgmoError as F, parseDgmoChartType as G, registerPalette as H, tagAttrKey as I, type PaletteConfig as P, type RenderCategory as R, type TagGroup as T, type DiagnosticSpec as a, type ChartTypeMeta as b, type DgmoSeverity as c, type DiagnosticParams as d, type PaletteColors as e, chartTypes as f, emit as g, formatDgmoError as h, getPalette as i, type TagEntry as j, CHART_TYPE_DESCRIPTIONS as k, type DecodedDiagramUrl as l, type EncodeDiagramUrlOptions as m, type EncodeDiagramUrlResult as n, autoTagColorCycle as o, parseDgmo as p, chartTypeParsers as q, resolvePaletteOrFallback as r, decodeDiagramUrl as s, decodeViewState as t, encodeDiagramUrl as u, encodeViewState as v, getAllChartTypes as w, getAvailablePalettes as x, getRenderCategory as y, isExtendedChartType as z };
|
|
540
|
+
export { isExtendedChartType as A, isValidHex as B, type CompactViewState as C, type DiagnosticSpec as D, type EmitOptions as E, knownChartTypeIds as F, makeDgmoError as G, parseDgmoChartType as H, registerPalette as I, tagAttrKey as J, type PaletteConfig as P, type RenderCategory as R, type TagGroup as T, type DgmoError as a, type ChartTypeId as b, type ChartTypeMeta as c, type DgmoSeverity as d, type DiagnosticParams as e, type PaletteColors as f, chartTypes as g, emit as h, formatDgmoError as i, getPalette as j, type TagEntry as k, CHART_TYPE_DESCRIPTIONS as l, type DecodedDiagramUrl as m, type EncodeDiagramUrlOptions as n, type EncodeDiagramUrlResult as o, parseDgmo as p, autoTagColorCycle as q, resolvePaletteOrFallback as r, chartTypeParsers as s, decodeDiagramUrl as t, decodeViewState as u, encodeDiagramUrl as v, encodeViewState as w, getAllChartTypes as x, getAvailablePalettes as y, getRenderCategory as z };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CHART_TYPE_DESCRIPTIONS,
|
|
3
|
+
chartTypeParsers,
|
|
4
|
+
getAllChartTypes,
|
|
5
|
+
getRenderCategory,
|
|
6
|
+
isExtendedChartType,
|
|
7
|
+
knownChartTypeIds,
|
|
8
|
+
looksLikeC4,
|
|
9
|
+
looksLikeGantt,
|
|
10
|
+
parseDgmo,
|
|
11
|
+
parseDgmoChartType
|
|
12
|
+
} from "./chunk-3PVUGECM.js";
|
|
13
|
+
import "./chunk-2CMM36O7.js";
|
|
14
|
+
import "./chunk-A2RUBBVT.js";
|
|
15
|
+
import "./chunk-JWJBWNQL.js";
|
|
16
|
+
import "./chunk-RF5YDIYT.js";
|
|
17
|
+
import "./chunk-U7CXUGQS.js";
|
|
18
|
+
import "./chunk-XC7BUB3P.js";
|
|
19
|
+
import "./chunk-2CW5ZTNH.js";
|
|
20
|
+
import "./chunk-BDXC7MDK.js";
|
|
21
|
+
import "./chunk-LQR46XGR.js";
|
|
22
|
+
import "./chunk-NSJK7F2V.js";
|
|
23
|
+
import "./chunk-YXI6Y7YY.js";
|
|
24
|
+
import "./chunk-LALFMQ7Q.js";
|
|
25
|
+
import "./chunk-DPFCFU2K.js";
|
|
26
|
+
import "./chunk-CSUF6PNF.js";
|
|
27
|
+
import "./chunk-XSVWUOUZ.js";
|
|
28
|
+
import "./chunk-3A2HZBFD.js";
|
|
29
|
+
import "./chunk-XHFXA6RP.js";
|
|
30
|
+
import "./chunk-OQKP2X3D.js";
|
|
31
|
+
import "./chunk-UTOELEK2.js";
|
|
32
|
+
import "./chunk-QQADQBKG.js";
|
|
33
|
+
import "./chunk-AFCVHK3G.js";
|
|
34
|
+
import "./chunk-RT7ACF77.js";
|
|
35
|
+
import "./chunk-X2X7MTKH.js";
|
|
36
|
+
import "./chunk-A5FNLWKP.js";
|
|
37
|
+
import "./chunk-QQJUTGQH.js";
|
|
38
|
+
import "./chunk-OLPWKS5L.js";
|
|
39
|
+
import "./chunk-NMIWEUIG.js";
|
|
40
|
+
import "./chunk-VXBEG3IB.js";
|
|
41
|
+
import "./chunk-3TYUXC7D.js";
|
|
42
|
+
import "./chunk-6BVIZW5N.js";
|
|
43
|
+
import "./chunk-QMYJO4EL.js";
|
|
44
|
+
import "./chunk-4GQ6I46C.js";
|
|
45
|
+
import "./chunk-INLEOJIX.js";
|
|
46
|
+
import "./chunk-E2GEV3BI.js";
|
|
47
|
+
import "./chunk-IL5UVUMK.js";
|
|
48
|
+
import "./chunk-I7IQ2NEJ.js";
|
|
49
|
+
import "./chunk-O42EAZUV.js";
|
|
50
|
+
import "./chunk-EQW6HOP4.js";
|
|
51
|
+
import "./chunk-DAOFNU6J.js";
|
|
52
|
+
import "./chunk-65QX6LYT.js";
|
|
53
|
+
import "./chunk-C3Z4DX3V.js";
|
|
54
|
+
import "./chunk-CHOKOYSC.js";
|
|
55
|
+
import "./chunk-7TF3QOOD.js";
|
|
56
|
+
import "./chunk-SR7NGZNM.js";
|
|
57
|
+
import "./chunk-NXMESY4J.js";
|
|
58
|
+
import "./chunk-EK4QX7NQ.js";
|
|
59
|
+
import "./chunk-NKRVFQGO.js";
|
|
60
|
+
import "./chunk-QE4GTFZS.js";
|
|
61
|
+
import "./chunk-7NK42OIB.js";
|
|
62
|
+
import "./chunk-RRX4Z4TH.js";
|
|
63
|
+
import "./chunk-CUYDE77F.js";
|
|
64
|
+
import "./chunk-DJC5M7VC.js";
|
|
65
|
+
import "./chunk-IYULMRBE.js";
|
|
66
|
+
import "./chunk-NOTA6TEI.js";
|
|
67
|
+
import "./chunk-I55PVEIX.js";
|
|
68
|
+
import "./chunk-B25BEH3F.js";
|
|
69
|
+
import "./chunk-MDI5FMWO.js";
|
|
70
|
+
import "./chunk-P2PUWV3Y.js";
|
|
71
|
+
import "./chunk-23RWHHI5.js";
|
|
72
|
+
import "./chunk-R3XI2VC7.js";
|
|
73
|
+
import "./chunk-42IT4BG2.js";
|
|
74
|
+
import "./chunk-EXNKNJ65.js";
|
|
75
|
+
import "./chunk-OLMWTJVU.js";
|
|
76
|
+
import "./chunk-5WRI5ZAA.js";
|
|
77
|
+
export {
|
|
78
|
+
CHART_TYPE_DESCRIPTIONS,
|
|
79
|
+
chartTypeParsers,
|
|
80
|
+
getAllChartTypes,
|
|
81
|
+
getRenderCategory,
|
|
82
|
+
isExtendedChartType,
|
|
83
|
+
knownChartTypeIds,
|
|
84
|
+
looksLikeC4,
|
|
85
|
+
looksLikeGantt,
|
|
86
|
+
parseDgmo,
|
|
87
|
+
parseDgmoChartType
|
|
88
|
+
};
|
|
89
|
+
//# sourceMappingURL=dgmo-router-Z5N6QLIC.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mapContentAspect,
|
|
3
3
|
mapExportDimensions
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-JU2VMFYC.js";
|
|
5
|
+
import "./chunk-37EHGTQ2.js";
|
|
6
6
|
import "./chunk-4QV26TEG.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-CVVICCSB.js";
|
|
8
8
|
import "./chunk-A4GOY3PE.js";
|
|
9
9
|
import "./chunk-ES66QH6J.js";
|
|
10
10
|
import "./chunk-SCJ7CAJF.js";
|
|
11
11
|
import "./chunk-4ASYQ347.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-MDI5FMWO.js";
|
|
13
|
+
import "./chunk-P2PUWV3Y.js";
|
|
14
14
|
import "./chunk-42IT4BG2.js";
|
|
15
15
|
import "./chunk-EXNKNJ65.js";
|
|
16
16
|
import "./chunk-OLMWTJVU.js";
|
|
@@ -19,4 +19,4 @@ export {
|
|
|
19
19
|
mapContentAspect,
|
|
20
20
|
mapExportDimensions
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=dimensions-
|
|
22
|
+
//# sourceMappingURL=dimensions-ES6O2T4H.js.map
|
package/dist/editor.d.ts
CHANGED
|
@@ -2,8 +2,15 @@ import * as _lezer_lr from '@lezer/lr';
|
|
|
2
2
|
import { LanguageSupport, LRLanguage } from '@codemirror/language';
|
|
3
3
|
import { NodePropSource } from '@lezer/common';
|
|
4
4
|
|
|
5
|
-
/**
|
|
6
|
-
|
|
5
|
+
/**
|
|
6
|
+
* All supported DGMO chart types.
|
|
7
|
+
*
|
|
8
|
+
* Derived from `chart-types.ts` — the same de-duplication already done for
|
|
9
|
+
* DIRECTIVE/CONTROL/STATUS/MODIFIER below, which this list was left out of.
|
|
10
|
+
* Internal types stay in: `live-link` must still highlight when one is open,
|
|
11
|
+
* even though no picker offers it.
|
|
12
|
+
*/
|
|
13
|
+
declare const CHART_TYPES: ReadonlySet<string>;
|
|
7
14
|
/** Metadata keys recognized across chart types. */
|
|
8
15
|
declare const METADATA_KEYS: Set<string>;
|
|
9
16
|
|