schematex 0.9.7 → 0.9.9
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 +43 -3
- package/dist/ai/ai-sdk.cjs +23 -23
- package/dist/ai/ai-sdk.d.cts +3 -3
- package/dist/ai/ai-sdk.d.ts +3 -3
- package/dist/ai/ai-sdk.js +18 -18
- package/dist/ai/index.cjs +32 -32
- package/dist/ai/index.d.cts +4 -4
- package/dist/ai/index.d.ts +4 -4
- package/dist/ai/index.js +19 -19
- package/dist/{api-BOJJlNb1.d.ts → api-D_d-JklT.d.ts} +1 -1
- package/dist/{api-v9t1T1v6.d.cts → api-DnTyW-6F.d.cts} +1 -1
- package/dist/browser.cjs +24 -24
- package/dist/browser.d.cts +3 -3
- package/dist/browser.d.ts +3 -3
- package/dist/browser.js +18 -18
- package/dist/{chunk-6QZQTASC.cjs → chunk-246OJILS.cjs} +12 -12
- package/dist/{chunk-6QZQTASC.cjs.map → chunk-246OJILS.cjs.map} +1 -1
- package/dist/{chunk-JEMAOC2D.js → chunk-2IRYXK4M.js} +3 -3
- package/dist/{chunk-JEMAOC2D.js.map → chunk-2IRYXK4M.js.map} +1 -1
- package/dist/{chunk-ITI3STJ6.cjs → chunk-3JN4762U.cjs} +4 -4
- package/dist/{chunk-ITI3STJ6.cjs.map → chunk-3JN4762U.cjs.map} +1 -1
- package/dist/{chunk-GAQ36VFD.cjs → chunk-4MANMKQ4.cjs} +4 -4
- package/dist/{chunk-GAQ36VFD.cjs.map → chunk-4MANMKQ4.cjs.map} +1 -1
- package/dist/{chunk-64LABNTF.js → chunk-7NO5LYLL.js} +3 -3
- package/dist/{chunk-64LABNTF.js.map → chunk-7NO5LYLL.js.map} +1 -1
- package/dist/{chunk-ENUM7GMZ.cjs → chunk-7OOUU6BL.cjs} +147 -2
- package/dist/chunk-7OOUU6BL.cjs.map +1 -0
- package/dist/{chunk-M26ORU4P.js → chunk-AETIGJXP.js} +3 -3
- package/dist/{chunk-M26ORU4P.js.map → chunk-AETIGJXP.js.map} +1 -1
- package/dist/{chunk-OJ3P4IC4.cjs → chunk-DLXDR2E7.cjs} +4 -4
- package/dist/{chunk-OJ3P4IC4.cjs.map → chunk-DLXDR2E7.cjs.map} +1 -1
- package/dist/{chunk-3J4DZPZC.js → chunk-EB7T5SEO.js} +3 -3
- package/dist/{chunk-3J4DZPZC.js.map → chunk-EB7T5SEO.js.map} +1 -1
- package/dist/{chunk-ECHPMEZX.cjs → chunk-EUN6FEGE.cjs} +181 -7
- package/dist/chunk-EUN6FEGE.cjs.map +1 -0
- package/dist/{chunk-VY6UZYYL.cjs → chunk-F5RYWDWO.cjs} +15 -15
- package/dist/{chunk-VY6UZYYL.cjs.map → chunk-F5RYWDWO.cjs.map} +1 -1
- package/dist/{chunk-INVLJYAE.cjs → chunk-GTCGATOL.cjs} +4 -4
- package/dist/{chunk-INVLJYAE.cjs.map → chunk-GTCGATOL.cjs.map} +1 -1
- package/dist/{chunk-ZCHGIWJK.js → chunk-HIWJMJJB.js} +3 -3
- package/dist/{chunk-ZCHGIWJK.js.map → chunk-HIWJMJJB.js.map} +1 -1
- package/dist/{chunk-RDYACU2G.js → chunk-IHX6J4HF.js} +3 -3
- package/dist/{chunk-RDYACU2G.js.map → chunk-IHX6J4HF.js.map} +1 -1
- package/dist/{chunk-4MRVJI7G.js → chunk-JVNV2T2T.js} +147 -3
- package/dist/chunk-JVNV2T2T.js.map +1 -0
- package/dist/{chunk-SXOAAQNY.js → chunk-KUSW5I2P.js} +3 -3
- package/dist/{chunk-SXOAAQNY.js.map → chunk-KUSW5I2P.js.map} +1 -1
- package/dist/{chunk-35NGXDT2.cjs → chunk-KYE7CRED.cjs} +12 -12
- package/dist/{chunk-35NGXDT2.cjs.map → chunk-KYE7CRED.cjs.map} +1 -1
- package/dist/{chunk-II4GLKGF.js → chunk-MVTYPWHO.js} +3 -3
- package/dist/chunk-MVTYPWHO.js.map +1 -0
- package/dist/{chunk-N3HU635X.cjs → chunk-MXV3XJFH.cjs} +4 -4
- package/dist/chunk-MXV3XJFH.cjs.map +1 -0
- package/dist/{chunk-XCCXG6RR.js → chunk-NB7MFQCZ.js} +3 -3
- package/dist/{chunk-XCCXG6RR.js.map → chunk-NB7MFQCZ.js.map} +1 -1
- package/dist/{chunk-GYYYULBL.js → chunk-NP7N3DZG.js} +3 -3
- package/dist/{chunk-GYYYULBL.js.map → chunk-NP7N3DZG.js.map} +1 -1
- package/dist/{chunk-6X7MVZZT.cjs → chunk-OY2CXLVY.cjs} +2156 -768
- package/dist/chunk-OY2CXLVY.cjs.map +1 -0
- package/dist/{chunk-3PH2MQGN.js → chunk-P4U565XH.js} +3 -3
- package/dist/{chunk-3PH2MQGN.js.map → chunk-P4U565XH.js.map} +1 -1
- package/dist/{chunk-VYQXB2RC.cjs → chunk-QC2RICQ4.cjs} +12 -12
- package/dist/{chunk-VYQXB2RC.cjs.map → chunk-QC2RICQ4.cjs.map} +1 -1
- package/dist/{chunk-3WX24RCH.js → chunk-QMJHLDGY.js} +3 -3
- package/dist/{chunk-3WX24RCH.js.map → chunk-QMJHLDGY.js.map} +1 -1
- package/dist/{chunk-DVRB64CN.js → chunk-RCR4UGKV.js} +179 -5
- package/dist/chunk-RCR4UGKV.js.map +1 -0
- package/dist/{chunk-C4Y24X3U.cjs → chunk-T55OQILI.cjs} +4 -4
- package/dist/{chunk-C4Y24X3U.cjs.map → chunk-T55OQILI.cjs.map} +1 -1
- package/dist/{chunk-3K4WCRVI.js → chunk-T5QOVX2I.js} +1953 -566
- package/dist/chunk-T5QOVX2I.js.map +1 -0
- package/dist/{chunk-6ZD7TCWO.cjs → chunk-TFUVNQNA.cjs} +15 -15
- package/dist/{chunk-6ZD7TCWO.cjs.map → chunk-TFUVNQNA.cjs.map} +1 -1
- package/dist/{chunk-4AC6I7KJ.cjs → chunk-TXWVJAMR.cjs} +4 -4
- package/dist/{chunk-4AC6I7KJ.cjs.map → chunk-TXWVJAMR.cjs.map} +1 -1
- package/dist/{chunk-4OC3CTGE.cjs → chunk-UHRNFBWY.cjs} +4 -4
- package/dist/{chunk-4OC3CTGE.cjs.map → chunk-UHRNFBWY.cjs.map} +1 -1
- package/dist/{chunk-B4CMWA6Y.js → chunk-W4UVDMUC.js} +3 -3
- package/dist/{chunk-B4CMWA6Y.js.map → chunk-W4UVDMUC.js.map} +1 -1
- package/dist/{chunk-5ZQRHDMQ.cjs → chunk-YDEQZSPQ.cjs} +4 -4
- package/dist/{chunk-5ZQRHDMQ.cjs.map → chunk-YDEQZSPQ.cjs.map} +1 -1
- package/dist/{chunk-627GHE2N.cjs → chunk-YFPDZVB7.cjs} +5 -5
- package/dist/{chunk-627GHE2N.cjs.map → chunk-YFPDZVB7.cjs.map} +1 -1
- package/dist/{chunk-NKYR4PAS.js → chunk-YXEPF3SL.js} +3 -3
- package/dist/{chunk-NKYR4PAS.js.map → chunk-YXEPF3SL.js.map} +1 -1
- package/dist/{chunk-AXMBXAEA.js → chunk-ZRFKIERV.js} +3 -3
- package/dist/{chunk-AXMBXAEA.js.map → chunk-ZRFKIERV.js.map} +1 -1
- package/dist/{diagnostics-5bVLlGNj.d.cts → diagnostics-D2qkBfFx.d.cts} +1 -1
- package/dist/{diagnostics-5bVLlGNj.d.ts → diagnostics-D2qkBfFx.d.ts} +1 -1
- package/dist/diagrams/blockdiagram/index.cjs +6 -6
- package/dist/diagrams/blockdiagram/index.d.cts +1 -1
- package/dist/diagrams/blockdiagram/index.d.ts +1 -1
- package/dist/diagrams/blockdiagram/index.js +2 -2
- package/dist/diagrams/circuit/index.cjs +9 -9
- package/dist/diagrams/circuit/index.d.cts +1 -1
- package/dist/diagrams/circuit/index.d.ts +1 -1
- package/dist/diagrams/circuit/index.js +2 -2
- package/dist/diagrams/ecomap/index.cjs +7 -7
- package/dist/diagrams/ecomap/index.d.cts +1 -1
- package/dist/diagrams/ecomap/index.d.ts +1 -1
- package/dist/diagrams/ecomap/index.js +2 -2
- package/dist/diagrams/entity/index.cjs +6 -6
- package/dist/diagrams/entity/index.d.cts +1 -1
- package/dist/diagrams/entity/index.d.ts +1 -1
- package/dist/diagrams/entity/index.js +2 -2
- package/dist/diagrams/fishbone/index.cjs +8 -8
- package/dist/diagrams/fishbone/index.d.cts +1 -1
- package/dist/diagrams/fishbone/index.d.ts +1 -1
- package/dist/diagrams/fishbone/index.js +2 -2
- package/dist/diagrams/flowchart/index.cjs +8 -8
- package/dist/diagrams/flowchart/index.d.cts +2 -2
- package/dist/diagrams/flowchart/index.d.ts +2 -2
- package/dist/diagrams/flowchart/index.js +2 -2
- package/dist/diagrams/genogram/index.cjs +9 -9
- package/dist/diagrams/genogram/index.d.cts +1 -1
- package/dist/diagrams/genogram/index.d.ts +1 -1
- package/dist/diagrams/genogram/index.js +2 -2
- package/dist/diagrams/ladder/index.cjs +6 -6
- package/dist/diagrams/ladder/index.d.cts +1 -1
- package/dist/diagrams/ladder/index.d.ts +1 -1
- package/dist/diagrams/ladder/index.js +2 -2
- package/dist/diagrams/logic/index.cjs +8 -8
- package/dist/diagrams/logic/index.d.cts +1 -1
- package/dist/diagrams/logic/index.d.ts +1 -1
- package/dist/diagrams/logic/index.js +2 -2
- package/dist/diagrams/orgchart/index.cjs +8 -8
- package/dist/diagrams/orgchart/index.d.cts +1 -1
- package/dist/diagrams/orgchart/index.d.ts +1 -1
- package/dist/diagrams/orgchart/index.js +2 -2
- package/dist/diagrams/pedigree/index.cjs +7 -7
- package/dist/diagrams/pedigree/index.d.cts +1 -1
- package/dist/diagrams/pedigree/index.d.ts +1 -1
- package/dist/diagrams/pedigree/index.js +2 -2
- package/dist/diagrams/phylo/index.cjs +7 -7
- package/dist/diagrams/phylo/index.d.cts +1 -1
- package/dist/diagrams/phylo/index.d.ts +1 -1
- package/dist/diagrams/phylo/index.js +2 -2
- package/dist/diagrams/sld/index.cjs +8 -8
- package/dist/diagrams/sld/index.d.cts +1 -1
- package/dist/diagrams/sld/index.d.ts +1 -1
- package/dist/diagrams/sld/index.js +2 -2
- package/dist/diagrams/sociogram/index.cjs +6 -6
- package/dist/diagrams/sociogram/index.d.cts +1 -1
- package/dist/diagrams/sociogram/index.d.ts +1 -1
- package/dist/diagrams/sociogram/index.js +2 -2
- package/dist/diagrams/timing/index.d.cts +1 -1
- package/dist/diagrams/timing/index.d.ts +1 -1
- package/dist/diagrams/venn/index.cjs +9 -9
- package/dist/diagrams/venn/index.d.cts +1 -1
- package/dist/diagrams/venn/index.d.ts +1 -1
- package/dist/diagrams/venn/index.js +2 -2
- package/dist/{index-syc0E5Ss.d.ts → index-D9u0YRxL.d.ts} +1 -1
- package/dist/{index-Cmf4Rcve.d.cts → index-JZlLiE6K.d.cts} +1 -1
- package/dist/index.cjs +91 -87
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +22 -22
- package/dist/react.cjs +18 -18
- package/dist/react.d.cts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +17 -17
- package/dist/{tools-B98iarLm.d.cts → tools-DAKYNcPv.d.cts} +2 -2
- package/dist/{tools-CCZ1IcIN.d.ts → tools-DM0aLCbc.d.ts} +2 -2
- package/package.json +1 -1
- package/dist/chunk-3K4WCRVI.js.map +0 -1
- package/dist/chunk-4MRVJI7G.js.map +0 -1
- package/dist/chunk-6X7MVZZT.cjs.map +0 -1
- package/dist/chunk-DVRB64CN.js.map +0 -1
- package/dist/chunk-ECHPMEZX.cjs.map +0 -1
- package/dist/chunk-ENUM7GMZ.cjs.map +0 -1
- package/dist/chunk-II4GLKGF.js.map +0 -1
- package/dist/chunk-N3HU635X.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
3
|
+
var chunkOY2CXLVY_cjs = require('./chunk-OY2CXLVY.cjs');
|
|
4
|
+
var chunkUHRNFBWY_cjs = require('./chunk-UHRNFBWY.cjs');
|
|
5
|
+
var chunkTXWVJAMR_cjs = require('./chunk-TXWVJAMR.cjs');
|
|
6
|
+
var chunkT55OQILI_cjs = require('./chunk-T55OQILI.cjs');
|
|
7
|
+
var chunkGTCGATOL_cjs = require('./chunk-GTCGATOL.cjs');
|
|
8
|
+
var chunkMXV3XJFH_cjs = require('./chunk-MXV3XJFH.cjs');
|
|
9
|
+
var chunk4MANMKQ4_cjs = require('./chunk-4MANMKQ4.cjs');
|
|
10
|
+
var chunkYFPDZVB7_cjs = require('./chunk-YFPDZVB7.cjs');
|
|
11
|
+
var chunk3JN4762U_cjs = require('./chunk-3JN4762U.cjs');
|
|
12
|
+
var chunkDLXDR2E7_cjs = require('./chunk-DLXDR2E7.cjs');
|
|
13
|
+
var chunkF5RYWDWO_cjs = require('./chunk-F5RYWDWO.cjs');
|
|
14
|
+
var chunkQC2RICQ4_cjs = require('./chunk-QC2RICQ4.cjs');
|
|
15
|
+
var chunk246OJILS_cjs = require('./chunk-246OJILS.cjs');
|
|
16
16
|
require('./chunk-3KRL2EGN.cjs');
|
|
17
|
-
var
|
|
18
|
-
var
|
|
17
|
+
var chunkTFUVNQNA_cjs = require('./chunk-TFUVNQNA.cjs');
|
|
18
|
+
var chunkKYE7CRED_cjs = require('./chunk-KYE7CRED.cjs');
|
|
19
19
|
require('./chunk-5UCXMYE7.cjs');
|
|
20
20
|
var chunkJHJJT5H5_cjs = require('./chunk-JHJJT5H5.cjs');
|
|
21
|
-
var
|
|
21
|
+
var chunkYDEQZSPQ_cjs = require('./chunk-YDEQZSPQ.cjs');
|
|
22
22
|
require('./chunk-SBB6C4OP.cjs');
|
|
23
|
-
var
|
|
23
|
+
var chunk7OOUU6BL_cjs = require('./chunk-7OOUU6BL.cjs');
|
|
24
24
|
require('./chunk-VHDSPI6A.cjs');
|
|
25
25
|
require('./chunk-3WNW5Y7P.cjs');
|
|
26
26
|
|
|
@@ -34,8 +34,8 @@ function svgDoc(viewBox, css, inner) {
|
|
|
34
34
|
var CIRCUIT_CSS = ".schematex-circuit-body{stroke:#0f172a;stroke-width:1.75;fill:none;stroke-linejoin:round;stroke-linecap:round}.schematex-circuit-fill{stroke:#0f172a;stroke-width:1.5;fill:#0f172a}.schematex-circuit-wire{stroke:#0f172a;stroke-width:1.75;fill:none;stroke-linecap:square}";
|
|
35
35
|
function circuitCatalog() {
|
|
36
36
|
const merged = {
|
|
37
|
-
...
|
|
38
|
-
...
|
|
37
|
+
...chunkTXWVJAMR_cjs.SYMBOLS,
|
|
38
|
+
...chunkTXWVJAMR_cjs.EXTRA_SYMBOLS
|
|
39
39
|
};
|
|
40
40
|
const out = [];
|
|
41
41
|
for (const [id, def] of Object.entries(merged)) {
|
|
@@ -91,11 +91,11 @@ function sldCatalog() {
|
|
|
91
91
|
for (const type of SLD_TYPES) {
|
|
92
92
|
let inner;
|
|
93
93
|
try {
|
|
94
|
-
inner =
|
|
94
|
+
inner = chunkMXV3XJFH_cjs.renderSymbol(type);
|
|
95
95
|
} catch {
|
|
96
96
|
continue;
|
|
97
97
|
}
|
|
98
|
-
const g =
|
|
98
|
+
const g = chunkMXV3XJFH_cjs.geometryFor(type);
|
|
99
99
|
const w = Math.max(g.halfWidth, 18) + 12;
|
|
100
100
|
const top = Math.min(g.topY, -22) - 8;
|
|
101
101
|
const bot = Math.max(g.bottomY, 22) + 8;
|
|
@@ -111,10 +111,10 @@ var PID_CSS = ".lt-pid-equip{fill:#ffffff;stroke:#1d1d1d;stroke-width:1.6}.lt-pi
|
|
|
111
111
|
function pidCatalog() {
|
|
112
112
|
const out = [];
|
|
113
113
|
const pad = 12;
|
|
114
|
-
for (const [id, g] of Object.entries(
|
|
114
|
+
for (const [id, g] of Object.entries(chunkOY2CXLVY_cjs.GEOMETRY)) {
|
|
115
115
|
let inner;
|
|
116
116
|
try {
|
|
117
|
-
inner =
|
|
117
|
+
inner = chunkOY2CXLVY_cjs.renderEquip(id, "");
|
|
118
118
|
} catch {
|
|
119
119
|
continue;
|
|
120
120
|
}
|
|
@@ -132,10 +132,10 @@ function pidCatalog() {
|
|
|
132
132
|
}
|
|
133
133
|
var FC_ICON_CSS = ".sx-fc-icon{stroke:#0f172a;fill:none}.sx-fc-icon-fill{fill:#0f172a}";
|
|
134
134
|
function flowchartIconCatalog() {
|
|
135
|
-
return
|
|
135
|
+
return chunkDLXDR2E7_cjs.iconNames().map((name) => ({
|
|
136
136
|
id: name,
|
|
137
137
|
label: humanize(name),
|
|
138
|
-
svg: svgDoc("-13 -13 26 26", FC_ICON_CSS,
|
|
138
|
+
svg: svgDoc("-13 -13 26 26", FC_ICON_CSS, chunkDLXDR2E7_cjs.renderIcon(name))
|
|
139
139
|
})).sort((a, b) => a.label.localeCompare(b.label));
|
|
140
140
|
}
|
|
141
141
|
var LOGIC_CSS = ".schematex-logic-gate-body{fill:none;stroke:#0f172a;stroke-width:1.75;stroke-linejoin:round}.schematex-logic-bubble{fill:#ffffff;stroke:#0f172a;stroke-width:1.5}.schematex-logic-wire{stroke:#0f172a;stroke-width:1.5;fill:none;stroke-linecap:square}.schematex-logic-gate-iec-label{font:bold 13px sans-serif;fill:#0f172a}";
|
|
@@ -170,7 +170,7 @@ function logicCatalog() {
|
|
|
170
170
|
for (const type of LOGIC_TYPES) {
|
|
171
171
|
let g;
|
|
172
172
|
try {
|
|
173
|
-
g =
|
|
173
|
+
g = chunkYDEQZSPQ_cjs.getGateGeometry(type, SINGLE_INPUT.has(type) ? 1 : 2);
|
|
174
174
|
} catch {
|
|
175
175
|
continue;
|
|
176
176
|
}
|
|
@@ -224,11 +224,11 @@ var NETWORK_KINDS = [
|
|
|
224
224
|
function networkCatalog() {
|
|
225
225
|
const out = [];
|
|
226
226
|
for (const kind of NETWORK_KINDS) {
|
|
227
|
-
const { w, h } =
|
|
227
|
+
const { w, h } = chunkOY2CXLVY_cjs.iconSize(kind);
|
|
228
228
|
const device = { id: kind, kind, label: humanize(kind), groups: [] };
|
|
229
229
|
let inner;
|
|
230
230
|
try {
|
|
231
|
-
inner =
|
|
231
|
+
inner = chunkOY2CXLVY_cjs.drawDeviceIcon(device, { x: 0, y: 0, w, h });
|
|
232
232
|
} catch {
|
|
233
233
|
continue;
|
|
234
234
|
}
|
|
@@ -245,7 +245,7 @@ function floorplanCatalog() {
|
|
|
245
245
|
const scale = 40;
|
|
246
246
|
const px = (m) => Math.round(m * scale * 100) / 100;
|
|
247
247
|
const out = [];
|
|
248
|
-
for (const [id, def] of Object.entries(
|
|
248
|
+
for (const [id, def] of Object.entries(chunkOY2CXLVY_cjs.FLOORPLAN_SYMBOLS)) {
|
|
249
249
|
const [mt, mr, mb, ml] = def.envelope ?? [0, 0, 0, 0];
|
|
250
250
|
const pad = 5;
|
|
251
251
|
const x0 = -px(ml) - pad;
|
|
@@ -312,171 +312,175 @@ function getSymbolCatalog(type) {
|
|
|
312
312
|
|
|
313
313
|
Object.defineProperty(exports, "bowtie", {
|
|
314
314
|
enumerable: true,
|
|
315
|
-
get: function () { return
|
|
315
|
+
get: function () { return chunkOY2CXLVY_cjs.bowtie; }
|
|
316
316
|
});
|
|
317
317
|
Object.defineProperty(exports, "causalloop", {
|
|
318
318
|
enumerable: true,
|
|
319
|
-
get: function () { return
|
|
319
|
+
get: function () { return chunkOY2CXLVY_cjs.causalloop; }
|
|
320
|
+
});
|
|
321
|
+
Object.defineProperty(exports, "comparison", {
|
|
322
|
+
enumerable: true,
|
|
323
|
+
get: function () { return chunkOY2CXLVY_cjs.comparison; }
|
|
320
324
|
});
|
|
321
325
|
Object.defineProperty(exports, "decisiontree", {
|
|
322
326
|
enumerable: true,
|
|
323
|
-
get: function () { return
|
|
327
|
+
get: function () { return chunkOY2CXLVY_cjs.decisiontree; }
|
|
324
328
|
});
|
|
325
329
|
Object.defineProperty(exports, "epc", {
|
|
326
330
|
enumerable: true,
|
|
327
|
-
get: function () { return
|
|
331
|
+
get: function () { return chunkOY2CXLVY_cjs.epc; }
|
|
328
332
|
});
|
|
329
333
|
Object.defineProperty(exports, "eventtree", {
|
|
330
334
|
enumerable: true,
|
|
331
|
-
get: function () { return
|
|
335
|
+
get: function () { return chunkOY2CXLVY_cjs.eventtree; }
|
|
332
336
|
});
|
|
333
337
|
Object.defineProperty(exports, "faulttree", {
|
|
334
338
|
enumerable: true,
|
|
335
|
-
get: function () { return
|
|
339
|
+
get: function () { return chunkOY2CXLVY_cjs.faulttree; }
|
|
336
340
|
});
|
|
337
341
|
Object.defineProperty(exports, "fmea", {
|
|
338
342
|
enumerable: true,
|
|
339
|
-
get: function () { return
|
|
343
|
+
get: function () { return chunkOY2CXLVY_cjs.fmea; }
|
|
340
344
|
});
|
|
341
345
|
Object.defineProperty(exports, "gitgraph", {
|
|
342
346
|
enumerable: true,
|
|
343
|
-
get: function () { return
|
|
347
|
+
get: function () { return chunkOY2CXLVY_cjs.gitgraph; }
|
|
344
348
|
});
|
|
345
349
|
Object.defineProperty(exports, "idef0", {
|
|
346
350
|
enumerable: true,
|
|
347
|
-
get: function () { return
|
|
351
|
+
get: function () { return chunkOY2CXLVY_cjs.idef0; }
|
|
348
352
|
});
|
|
349
353
|
Object.defineProperty(exports, "markov", {
|
|
350
354
|
enumerable: true,
|
|
351
|
-
get: function () { return
|
|
355
|
+
get: function () { return chunkOY2CXLVY_cjs.markov; }
|
|
352
356
|
});
|
|
353
357
|
Object.defineProperty(exports, "network", {
|
|
354
358
|
enumerable: true,
|
|
355
|
-
get: function () { return
|
|
359
|
+
get: function () { return chunkOY2CXLVY_cjs.network; }
|
|
356
360
|
});
|
|
357
361
|
Object.defineProperty(exports, "parse", {
|
|
358
362
|
enumerable: true,
|
|
359
|
-
get: function () { return
|
|
363
|
+
get: function () { return chunkOY2CXLVY_cjs.parse; }
|
|
360
364
|
});
|
|
361
365
|
Object.defineProperty(exports, "parseResult", {
|
|
362
366
|
enumerable: true,
|
|
363
|
-
get: function () { return
|
|
367
|
+
get: function () { return chunkOY2CXLVY_cjs.parseResult; }
|
|
364
368
|
});
|
|
365
369
|
Object.defineProperty(exports, "pert", {
|
|
366
370
|
enumerable: true,
|
|
367
|
-
get: function () { return
|
|
371
|
+
get: function () { return chunkOY2CXLVY_cjs.pert; }
|
|
368
372
|
});
|
|
369
373
|
Object.defineProperty(exports, "petri", {
|
|
370
374
|
enumerable: true,
|
|
371
|
-
get: function () { return
|
|
375
|
+
get: function () { return chunkOY2CXLVY_cjs.petri; }
|
|
372
376
|
});
|
|
373
377
|
Object.defineProperty(exports, "pid", {
|
|
374
378
|
enumerable: true,
|
|
375
|
-
get: function () { return
|
|
379
|
+
get: function () { return chunkOY2CXLVY_cjs.pid; }
|
|
376
380
|
});
|
|
377
381
|
Object.defineProperty(exports, "prisma", {
|
|
378
382
|
enumerable: true,
|
|
379
|
-
get: function () { return
|
|
383
|
+
get: function () { return chunkOY2CXLVY_cjs.prisma; }
|
|
380
384
|
});
|
|
381
385
|
Object.defineProperty(exports, "rbd", {
|
|
382
386
|
enumerable: true,
|
|
383
|
-
get: function () { return
|
|
387
|
+
get: function () { return chunkOY2CXLVY_cjs.rbd; }
|
|
384
388
|
});
|
|
385
389
|
Object.defineProperty(exports, "render", {
|
|
386
390
|
enumerable: true,
|
|
387
|
-
get: function () { return
|
|
391
|
+
get: function () { return chunkOY2CXLVY_cjs.render; }
|
|
388
392
|
});
|
|
389
393
|
Object.defineProperty(exports, "renderPreview", {
|
|
390
394
|
enumerable: true,
|
|
391
|
-
get: function () { return
|
|
395
|
+
get: function () { return chunkOY2CXLVY_cjs.renderPreview; }
|
|
392
396
|
});
|
|
393
397
|
Object.defineProperty(exports, "renderResult", {
|
|
394
398
|
enumerable: true,
|
|
395
|
-
get: function () { return
|
|
399
|
+
get: function () { return chunkOY2CXLVY_cjs.renderResult; }
|
|
396
400
|
});
|
|
397
401
|
Object.defineProperty(exports, "sequence", {
|
|
398
402
|
enumerable: true,
|
|
399
|
-
get: function () { return
|
|
403
|
+
get: function () { return chunkOY2CXLVY_cjs.sequence; }
|
|
400
404
|
});
|
|
401
405
|
Object.defineProperty(exports, "state", {
|
|
402
406
|
enumerable: true,
|
|
403
|
-
get: function () { return
|
|
407
|
+
get: function () { return chunkOY2CXLVY_cjs.state; }
|
|
404
408
|
});
|
|
405
409
|
Object.defineProperty(exports, "threatmodel", {
|
|
406
410
|
enumerable: true,
|
|
407
|
-
get: function () { return
|
|
411
|
+
get: function () { return chunkOY2CXLVY_cjs.threatmodel; }
|
|
408
412
|
});
|
|
409
413
|
Object.defineProperty(exports, "timeline", {
|
|
410
414
|
enumerable: true,
|
|
411
|
-
get: function () { return
|
|
415
|
+
get: function () { return chunkOY2CXLVY_cjs.timeline; }
|
|
412
416
|
});
|
|
413
417
|
Object.defineProperty(exports, "umlclass", {
|
|
414
418
|
enumerable: true,
|
|
415
|
-
get: function () { return
|
|
419
|
+
get: function () { return chunkOY2CXLVY_cjs.umlclass; }
|
|
416
420
|
});
|
|
417
421
|
Object.defineProperty(exports, "usecase", {
|
|
418
422
|
enumerable: true,
|
|
419
|
-
get: function () { return
|
|
423
|
+
get: function () { return chunkOY2CXLVY_cjs.usecase; }
|
|
420
424
|
});
|
|
421
425
|
Object.defineProperty(exports, "welding", {
|
|
422
426
|
enumerable: true,
|
|
423
|
-
get: function () { return
|
|
427
|
+
get: function () { return chunkOY2CXLVY_cjs.welding; }
|
|
424
428
|
});
|
|
425
429
|
Object.defineProperty(exports, "orgchart", {
|
|
426
430
|
enumerable: true,
|
|
427
|
-
get: function () { return
|
|
431
|
+
get: function () { return chunkUHRNFBWY_cjs.orgchart; }
|
|
428
432
|
});
|
|
429
433
|
Object.defineProperty(exports, "circuit", {
|
|
430
434
|
enumerable: true,
|
|
431
|
-
get: function () { return
|
|
435
|
+
get: function () { return chunkTXWVJAMR_cjs.circuit; }
|
|
432
436
|
});
|
|
433
437
|
Object.defineProperty(exports, "blockdiagram", {
|
|
434
438
|
enumerable: true,
|
|
435
|
-
get: function () { return
|
|
439
|
+
get: function () { return chunkT55OQILI_cjs.blockdiagram; }
|
|
436
440
|
});
|
|
437
441
|
Object.defineProperty(exports, "ladder", {
|
|
438
442
|
enumerable: true,
|
|
439
|
-
get: function () { return
|
|
443
|
+
get: function () { return chunkGTCGATOL_cjs.ladder; }
|
|
440
444
|
});
|
|
441
445
|
Object.defineProperty(exports, "sld", {
|
|
442
446
|
enumerable: true,
|
|
443
|
-
get: function () { return
|
|
447
|
+
get: function () { return chunkMXV3XJFH_cjs.sld; }
|
|
444
448
|
});
|
|
445
449
|
Object.defineProperty(exports, "entity", {
|
|
446
450
|
enumerable: true,
|
|
447
|
-
get: function () { return
|
|
451
|
+
get: function () { return chunk4MANMKQ4_cjs.entity; }
|
|
448
452
|
});
|
|
449
453
|
Object.defineProperty(exports, "fishbone", {
|
|
450
454
|
enumerable: true,
|
|
451
|
-
get: function () { return
|
|
455
|
+
get: function () { return chunkYFPDZVB7_cjs.fishbone; }
|
|
452
456
|
});
|
|
453
457
|
Object.defineProperty(exports, "venn", {
|
|
454
458
|
enumerable: true,
|
|
455
|
-
get: function () { return
|
|
459
|
+
get: function () { return chunk3JN4762U_cjs.venn; }
|
|
456
460
|
});
|
|
457
461
|
Object.defineProperty(exports, "flowchart", {
|
|
458
462
|
enumerable: true,
|
|
459
|
-
get: function () { return
|
|
463
|
+
get: function () { return chunkDLXDR2E7_cjs.flowchart; }
|
|
460
464
|
});
|
|
461
465
|
Object.defineProperty(exports, "genogram", {
|
|
462
466
|
enumerable: true,
|
|
463
|
-
get: function () { return
|
|
467
|
+
get: function () { return chunkF5RYWDWO_cjs.genogram; }
|
|
464
468
|
});
|
|
465
469
|
Object.defineProperty(exports, "ecomap", {
|
|
466
470
|
enumerable: true,
|
|
467
|
-
get: function () { return
|
|
471
|
+
get: function () { return chunkQC2RICQ4_cjs.ecomap; }
|
|
468
472
|
});
|
|
469
473
|
Object.defineProperty(exports, "pedigree", {
|
|
470
474
|
enumerable: true,
|
|
471
|
-
get: function () { return
|
|
475
|
+
get: function () { return chunk246OJILS_cjs.pedigree; }
|
|
472
476
|
});
|
|
473
477
|
Object.defineProperty(exports, "phylo", {
|
|
474
478
|
enumerable: true,
|
|
475
|
-
get: function () { return
|
|
479
|
+
get: function () { return chunkTFUVNQNA_cjs.phylo; }
|
|
476
480
|
});
|
|
477
481
|
Object.defineProperty(exports, "sociogram", {
|
|
478
482
|
enumerable: true,
|
|
479
|
-
get: function () { return
|
|
483
|
+
get: function () { return chunkKYE7CRED_cjs.sociogram; }
|
|
480
484
|
});
|
|
481
485
|
Object.defineProperty(exports, "timing", {
|
|
482
486
|
enumerable: true,
|
|
@@ -484,67 +488,67 @@ Object.defineProperty(exports, "timing", {
|
|
|
484
488
|
});
|
|
485
489
|
Object.defineProperty(exports, "logic", {
|
|
486
490
|
enumerable: true,
|
|
487
|
-
get: function () { return
|
|
491
|
+
get: function () { return chunkYDEQZSPQ_cjs.logic; }
|
|
488
492
|
});
|
|
489
493
|
Object.defineProperty(exports, "BASE_THEMES", {
|
|
490
494
|
enumerable: true,
|
|
491
|
-
get: function () { return
|
|
495
|
+
get: function () { return chunk7OOUU6BL_cjs.BASE_THEMES; }
|
|
492
496
|
});
|
|
493
497
|
Object.defineProperty(exports, "BIOLOGY_TOKENS", {
|
|
494
498
|
enumerable: true,
|
|
495
|
-
get: function () { return
|
|
499
|
+
get: function () { return chunk7OOUU6BL_cjs.BIOLOGY_TOKENS; }
|
|
496
500
|
});
|
|
497
501
|
Object.defineProperty(exports, "NETWORK_TOKENS", {
|
|
498
502
|
enumerable: true,
|
|
499
|
-
get: function () { return
|
|
503
|
+
get: function () { return chunk7OOUU6BL_cjs.NETWORK_TOKENS; }
|
|
500
504
|
});
|
|
501
505
|
Object.defineProperty(exports, "PERSON_TOKENS", {
|
|
502
506
|
enumerable: true,
|
|
503
|
-
get: function () { return
|
|
507
|
+
get: function () { return chunk7OOUU6BL_cjs.PERSON_TOKENS; }
|
|
504
508
|
});
|
|
505
509
|
Object.defineProperty(exports, "PETRI_TOKENS", {
|
|
506
510
|
enumerable: true,
|
|
507
|
-
get: function () { return
|
|
511
|
+
get: function () { return chunk7OOUU6BL_cjs.PETRI_TOKENS; }
|
|
508
512
|
});
|
|
509
513
|
Object.defineProperty(exports, "VENN_TOKENS", {
|
|
510
514
|
enumerable: true,
|
|
511
|
-
get: function () { return
|
|
515
|
+
get: function () { return chunk7OOUU6BL_cjs.VENN_TOKENS; }
|
|
512
516
|
});
|
|
513
517
|
Object.defineProperty(exports, "resolveBaseTheme", {
|
|
514
518
|
enumerable: true,
|
|
515
|
-
get: function () { return
|
|
519
|
+
get: function () { return chunk7OOUU6BL_cjs.resolveBaseTheme; }
|
|
516
520
|
});
|
|
517
521
|
Object.defineProperty(exports, "resolveBiologyTheme", {
|
|
518
522
|
enumerable: true,
|
|
519
|
-
get: function () { return
|
|
523
|
+
get: function () { return chunk7OOUU6BL_cjs.resolveBiologyTheme; }
|
|
520
524
|
});
|
|
521
525
|
Object.defineProperty(exports, "resolveFishboneTheme", {
|
|
522
526
|
enumerable: true,
|
|
523
|
-
get: function () { return
|
|
527
|
+
get: function () { return chunk7OOUU6BL_cjs.resolveFishboneTheme; }
|
|
524
528
|
});
|
|
525
529
|
Object.defineProperty(exports, "resolveGenogramTheme", {
|
|
526
530
|
enumerable: true,
|
|
527
|
-
get: function () { return
|
|
531
|
+
get: function () { return chunk7OOUU6BL_cjs.resolveGenogramTheme; }
|
|
528
532
|
});
|
|
529
533
|
Object.defineProperty(exports, "resolveNetworkTheme", {
|
|
530
534
|
enumerable: true,
|
|
531
|
-
get: function () { return
|
|
535
|
+
get: function () { return chunk7OOUU6BL_cjs.resolveNetworkTheme; }
|
|
532
536
|
});
|
|
533
537
|
Object.defineProperty(exports, "resolvePersonTheme", {
|
|
534
538
|
enumerable: true,
|
|
535
|
-
get: function () { return
|
|
539
|
+
get: function () { return chunk7OOUU6BL_cjs.resolvePersonTheme; }
|
|
536
540
|
});
|
|
537
541
|
Object.defineProperty(exports, "resolvePetriTheme", {
|
|
538
542
|
enumerable: true,
|
|
539
|
-
get: function () { return
|
|
543
|
+
get: function () { return chunk7OOUU6BL_cjs.resolvePetriTheme; }
|
|
540
544
|
});
|
|
541
545
|
Object.defineProperty(exports, "resolveTimelineTheme", {
|
|
542
546
|
enumerable: true,
|
|
543
|
-
get: function () { return
|
|
547
|
+
get: function () { return chunk7OOUU6BL_cjs.resolveTimelineTheme; }
|
|
544
548
|
});
|
|
545
549
|
Object.defineProperty(exports, "resolveVennTheme", {
|
|
546
550
|
enumerable: true,
|
|
547
|
-
get: function () { return
|
|
551
|
+
get: function () { return chunk7OOUU6BL_cjs.resolveVennTheme; }
|
|
548
552
|
});
|
|
549
553
|
exports.SYMBOL_CATALOG_TYPES = SYMBOL_CATALOG_TYPES;
|
|
550
554
|
exports.getSymbolCatalog = getSymbolCatalog;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { S as SchematexConfig, p as parse, a as parseResult, r as render, b as renderPreview, c as renderResult } from './api-
|
|
2
|
-
import { D as DiagramPlugin, a as DiagramType } from './diagnostics-
|
|
3
|
-
export { S as SchematexDiagnostic, b as SchematexParseResult, c as SchematexRenderResult, d as SchematexResultStatus } from './diagnostics-
|
|
1
|
+
export { S as SchematexConfig, p as parse, a as parseResult, r as render, b as renderPreview, c as renderResult } from './api-DnTyW-6F.cjs';
|
|
2
|
+
import { D as DiagramPlugin, a as DiagramType } from './diagnostics-D2qkBfFx.cjs';
|
|
3
|
+
export { S as SchematexDiagnostic, b as SchematexParseResult, c as SchematexRenderResult, d as SchematexResultStatus } from './diagnostics-D2qkBfFx.cjs';
|
|
4
4
|
export { genogram } from './diagrams/genogram/index.cjs';
|
|
5
5
|
export { ecomap } from './diagrams/ecomap/index.cjs';
|
|
6
6
|
export { pedigree } from './diagrams/pedigree/index.cjs';
|
|
@@ -15,7 +15,7 @@ export { sld } from './diagrams/sld/index.cjs';
|
|
|
15
15
|
export { entity } from './diagrams/entity/index.cjs';
|
|
16
16
|
export { fishbone } from './diagrams/fishbone/index.cjs';
|
|
17
17
|
export { venn } from './diagrams/venn/index.cjs';
|
|
18
|
-
export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, N as NETWORK_TOKENS, d as NetworkTokens, P as PERSON_TOKENS, e as PETRI_TOKENS, f as PersonTokens, g as PetriTokens, R as ResolvedTheme, T as ThemeName, h as TimelineTokens, V as VENN_TOKENS, i as VennTokens, j as flowchart, r as resolveBaseTheme, k as resolveBiologyTheme, l as resolveFishboneTheme, m as resolveGenogramTheme, n as resolveNetworkTheme, o as resolvePersonTheme, p as resolvePetriTheme, q as resolveTimelineTheme, s as resolveVennTheme } from './index-
|
|
18
|
+
export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, N as NETWORK_TOKENS, d as NetworkTokens, P as PERSON_TOKENS, e as PETRI_TOKENS, f as PersonTokens, g as PetriTokens, R as ResolvedTheme, T as ThemeName, h as TimelineTokens, V as VENN_TOKENS, i as VennTokens, j as flowchart, r as resolveBaseTheme, k as resolveBiologyTheme, l as resolveFishboneTheme, m as resolveGenogramTheme, n as resolveNetworkTheme, o as resolvePersonTheme, p as resolvePetriTheme, q as resolveTimelineTheme, s as resolveVennTheme } from './index-JZlLiE6K.cjs';
|
|
19
19
|
export { orgchart } from './diagrams/orgchart/index.cjs';
|
|
20
20
|
|
|
21
21
|
declare const decisiontree: DiagramPlugin;
|
|
@@ -76,6 +76,8 @@ declare const welding: DiagramPlugin;
|
|
|
76
76
|
|
|
77
77
|
declare const rbd: DiagramPlugin;
|
|
78
78
|
|
|
79
|
+
declare const comparison: DiagramPlugin;
|
|
80
|
+
|
|
79
81
|
/**
|
|
80
82
|
* Domain symbol catalogs — the real symbols an engine uses *inside* a diagram
|
|
81
83
|
* (circuit components, SLD apparatus, P&ID equipment, flowchart node icons),
|
|
@@ -103,4 +105,4 @@ interface SymbolCatalog {
|
|
|
103
105
|
declare const SYMBOL_CATALOG_TYPES: DiagramType[];
|
|
104
106
|
declare function getSymbolCatalog(type: string): SymbolCatalog | null;
|
|
105
107
|
|
|
106
|
-
export { SYMBOL_CATALOG_TYPES, type SymbolCatalog, type SymbolCatalogEntry, bowtie, causalloop, decisiontree, epc, eventtree, faulttree, fmea, getSymbolCatalog, gitgraph, idef0, markov, network, pert, petri, pid, prisma, rbd, sequence, state, threatmodel, timeline, umlclass, usecase, welding };
|
|
108
|
+
export { SYMBOL_CATALOG_TYPES, type SymbolCatalog, type SymbolCatalogEntry, bowtie, causalloop, comparison, decisiontree, epc, eventtree, faulttree, fmea, getSymbolCatalog, gitgraph, idef0, markov, network, pert, petri, pid, prisma, rbd, sequence, state, threatmodel, timeline, umlclass, usecase, welding };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { S as SchematexConfig, p as parse, a as parseResult, r as render, b as renderPreview, c as renderResult } from './api-
|
|
2
|
-
import { D as DiagramPlugin, a as DiagramType } from './diagnostics-
|
|
3
|
-
export { S as SchematexDiagnostic, b as SchematexParseResult, c as SchematexRenderResult, d as SchematexResultStatus } from './diagnostics-
|
|
1
|
+
export { S as SchematexConfig, p as parse, a as parseResult, r as render, b as renderPreview, c as renderResult } from './api-D_d-JklT.js';
|
|
2
|
+
import { D as DiagramPlugin, a as DiagramType } from './diagnostics-D2qkBfFx.js';
|
|
3
|
+
export { S as SchematexDiagnostic, b as SchematexParseResult, c as SchematexRenderResult, d as SchematexResultStatus } from './diagnostics-D2qkBfFx.js';
|
|
4
4
|
export { genogram } from './diagrams/genogram/index.js';
|
|
5
5
|
export { ecomap } from './diagrams/ecomap/index.js';
|
|
6
6
|
export { pedigree } from './diagrams/pedigree/index.js';
|
|
@@ -15,7 +15,7 @@ export { sld } from './diagrams/sld/index.js';
|
|
|
15
15
|
export { entity } from './diagrams/entity/index.js';
|
|
16
16
|
export { fishbone } from './diagrams/fishbone/index.js';
|
|
17
17
|
export { venn } from './diagrams/venn/index.js';
|
|
18
|
-
export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, N as NETWORK_TOKENS, d as NetworkTokens, P as PERSON_TOKENS, e as PETRI_TOKENS, f as PersonTokens, g as PetriTokens, R as ResolvedTheme, T as ThemeName, h as TimelineTokens, V as VENN_TOKENS, i as VennTokens, j as flowchart, r as resolveBaseTheme, k as resolveBiologyTheme, l as resolveFishboneTheme, m as resolveGenogramTheme, n as resolveNetworkTheme, o as resolvePersonTheme, p as resolvePetriTheme, q as resolveTimelineTheme, s as resolveVennTheme } from './index-
|
|
18
|
+
export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, N as NETWORK_TOKENS, d as NetworkTokens, P as PERSON_TOKENS, e as PETRI_TOKENS, f as PersonTokens, g as PetriTokens, R as ResolvedTheme, T as ThemeName, h as TimelineTokens, V as VENN_TOKENS, i as VennTokens, j as flowchart, r as resolveBaseTheme, k as resolveBiologyTheme, l as resolveFishboneTheme, m as resolveGenogramTheme, n as resolveNetworkTheme, o as resolvePersonTheme, p as resolvePetriTheme, q as resolveTimelineTheme, s as resolveVennTheme } from './index-D9u0YRxL.js';
|
|
19
19
|
export { orgchart } from './diagrams/orgchart/index.js';
|
|
20
20
|
|
|
21
21
|
declare const decisiontree: DiagramPlugin;
|
|
@@ -76,6 +76,8 @@ declare const welding: DiagramPlugin;
|
|
|
76
76
|
|
|
77
77
|
declare const rbd: DiagramPlugin;
|
|
78
78
|
|
|
79
|
+
declare const comparison: DiagramPlugin;
|
|
80
|
+
|
|
79
81
|
/**
|
|
80
82
|
* Domain symbol catalogs — the real symbols an engine uses *inside* a diagram
|
|
81
83
|
* (circuit components, SLD apparatus, P&ID equipment, flowchart node icons),
|
|
@@ -103,4 +105,4 @@ interface SymbolCatalog {
|
|
|
103
105
|
declare const SYMBOL_CATALOG_TYPES: DiagramType[];
|
|
104
106
|
declare function getSymbolCatalog(type: string): SymbolCatalog | null;
|
|
105
107
|
|
|
106
|
-
export { SYMBOL_CATALOG_TYPES, type SymbolCatalog, type SymbolCatalogEntry, bowtie, causalloop, decisiontree, epc, eventtree, faulttree, fmea, getSymbolCatalog, gitgraph, idef0, markov, network, pert, petri, pid, prisma, rbd, sequence, state, threatmodel, timeline, umlclass, usecase, welding };
|
|
108
|
+
export { SYMBOL_CATALOG_TYPES, type SymbolCatalog, type SymbolCatalogEntry, bowtie, causalloop, comparison, decisiontree, epc, eventtree, faulttree, fmea, getSymbolCatalog, gitgraph, idef0, markov, network, pert, petri, pid, prisma, rbd, sequence, state, threatmodel, timeline, umlclass, usecase, welding };
|
package/dist/index.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { FLOORPLAN_SYMBOLS, iconSize, drawDeviceIcon, GEOMETRY, renderEquip } from './chunk-
|
|
2
|
-
export { bowtie, causalloop, decisiontree, epc, eventtree, faulttree, fmea, gitgraph, idef0, markov, network, parse, parseResult, pert, petri, pid, prisma, rbd, render, renderPreview, renderResult, sequence, state, threatmodel, timeline, umlclass, usecase, welding } from './chunk-
|
|
3
|
-
export { orgchart } from './chunk-
|
|
4
|
-
import { EXTRA_SYMBOLS, SYMBOLS } from './chunk-
|
|
5
|
-
export { circuit } from './chunk-
|
|
6
|
-
export { blockdiagram } from './chunk-
|
|
7
|
-
export { ladder } from './chunk-
|
|
8
|
-
import { renderSymbol, geometryFor } from './chunk-
|
|
9
|
-
export { sld } from './chunk-
|
|
10
|
-
export { entity } from './chunk-
|
|
11
|
-
export { fishbone } from './chunk-
|
|
12
|
-
export { venn } from './chunk-
|
|
13
|
-
import { iconNames, renderIcon } from './chunk-
|
|
14
|
-
export { flowchart } from './chunk-
|
|
15
|
-
export { genogram } from './chunk-
|
|
16
|
-
export { ecomap } from './chunk-
|
|
17
|
-
export { pedigree } from './chunk-
|
|
1
|
+
import { FLOORPLAN_SYMBOLS, iconSize, drawDeviceIcon, GEOMETRY, renderEquip } from './chunk-T5QOVX2I.js';
|
|
2
|
+
export { bowtie, causalloop, comparison, decisiontree, epc, eventtree, faulttree, fmea, gitgraph, idef0, markov, network, parse, parseResult, pert, petri, pid, prisma, rbd, render, renderPreview, renderResult, sequence, state, threatmodel, timeline, umlclass, usecase, welding } from './chunk-T5QOVX2I.js';
|
|
3
|
+
export { orgchart } from './chunk-EB7T5SEO.js';
|
|
4
|
+
import { EXTRA_SYMBOLS, SYMBOLS } from './chunk-IHX6J4HF.js';
|
|
5
|
+
export { circuit } from './chunk-IHX6J4HF.js';
|
|
6
|
+
export { blockdiagram } from './chunk-P4U565XH.js';
|
|
7
|
+
export { ladder } from './chunk-W4UVDMUC.js';
|
|
8
|
+
import { renderSymbol, geometryFor } from './chunk-MVTYPWHO.js';
|
|
9
|
+
export { sld } from './chunk-MVTYPWHO.js';
|
|
10
|
+
export { entity } from './chunk-2IRYXK4M.js';
|
|
11
|
+
export { fishbone } from './chunk-NP7N3DZG.js';
|
|
12
|
+
export { venn } from './chunk-KUSW5I2P.js';
|
|
13
|
+
import { iconNames, renderIcon } from './chunk-ZRFKIERV.js';
|
|
14
|
+
export { flowchart } from './chunk-ZRFKIERV.js';
|
|
15
|
+
export { genogram } from './chunk-AETIGJXP.js';
|
|
16
|
+
export { ecomap } from './chunk-NB7MFQCZ.js';
|
|
17
|
+
export { pedigree } from './chunk-HIWJMJJB.js';
|
|
18
18
|
import './chunk-2KTQ75LN.js';
|
|
19
|
-
export { phylo } from './chunk-
|
|
20
|
-
export { sociogram } from './chunk-
|
|
19
|
+
export { phylo } from './chunk-QMJHLDGY.js';
|
|
20
|
+
export { sociogram } from './chunk-7NO5LYLL.js';
|
|
21
21
|
import './chunk-FO7BLCEW.js';
|
|
22
22
|
export { timing } from './chunk-MTIZIHWE.js';
|
|
23
|
-
import { getGateGeometry } from './chunk-
|
|
24
|
-
export { logic } from './chunk-
|
|
23
|
+
import { getGateGeometry } from './chunk-YXEPF3SL.js';
|
|
24
|
+
export { logic } from './chunk-YXEPF3SL.js';
|
|
25
25
|
import './chunk-PIV2A3HG.js';
|
|
26
|
-
export { BASE_THEMES, BIOLOGY_TOKENS, NETWORK_TOKENS, PERSON_TOKENS, PETRI_TOKENS, VENN_TOKENS, resolveBaseTheme, resolveBiologyTheme, resolveFishboneTheme, resolveGenogramTheme, resolveNetworkTheme, resolvePersonTheme, resolvePetriTheme, resolveTimelineTheme, resolveVennTheme } from './chunk-
|
|
26
|
+
export { BASE_THEMES, BIOLOGY_TOKENS, NETWORK_TOKENS, PERSON_TOKENS, PETRI_TOKENS, VENN_TOKENS, resolveBaseTheme, resolveBiologyTheme, resolveFishboneTheme, resolveGenogramTheme, resolveNetworkTheme, resolvePersonTheme, resolvePetriTheme, resolveTimelineTheme, resolveVennTheme } from './chunk-JVNV2T2T.js';
|
|
27
27
|
import './chunk-TO6PNBT3.js';
|
|
28
28
|
import './chunk-SYYBKDL7.js';
|
|
29
29
|
|
package/dist/react.cjs
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
3
|
+
var chunkOY2CXLVY_cjs = require('./chunk-OY2CXLVY.cjs');
|
|
4
|
+
require('./chunk-UHRNFBWY.cjs');
|
|
5
|
+
require('./chunk-TXWVJAMR.cjs');
|
|
6
|
+
require('./chunk-T55OQILI.cjs');
|
|
7
|
+
require('./chunk-GTCGATOL.cjs');
|
|
8
|
+
require('./chunk-MXV3XJFH.cjs');
|
|
9
|
+
require('./chunk-4MANMKQ4.cjs');
|
|
10
|
+
require('./chunk-YFPDZVB7.cjs');
|
|
11
|
+
require('./chunk-3JN4762U.cjs');
|
|
12
|
+
require('./chunk-DLXDR2E7.cjs');
|
|
13
|
+
require('./chunk-F5RYWDWO.cjs');
|
|
14
|
+
require('./chunk-QC2RICQ4.cjs');
|
|
15
|
+
require('./chunk-246OJILS.cjs');
|
|
16
16
|
require('./chunk-3KRL2EGN.cjs');
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-TFUVNQNA.cjs');
|
|
18
|
+
require('./chunk-KYE7CRED.cjs');
|
|
19
19
|
require('./chunk-5UCXMYE7.cjs');
|
|
20
20
|
require('./chunk-JHJJT5H5.cjs');
|
|
21
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-YDEQZSPQ.cjs');
|
|
22
22
|
require('./chunk-SBB6C4OP.cjs');
|
|
23
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-7OOUU6BL.cjs');
|
|
24
24
|
require('./chunk-VHDSPI6A.cjs');
|
|
25
25
|
require('./chunk-3WNW5Y7P.cjs');
|
|
26
26
|
var react = require('react');
|
|
@@ -37,7 +37,7 @@ function SchematexDiagram({
|
|
|
37
37
|
onError
|
|
38
38
|
}) {
|
|
39
39
|
const svg = react.useMemo(() => {
|
|
40
|
-
const result =
|
|
40
|
+
const result = chunkOY2CXLVY_cjs.renderResult(dsl, { type, theme, fontFamily, padding });
|
|
41
41
|
if (!result.ok) {
|
|
42
42
|
onError?.(new Error(result.diagnostics[0]?.message ?? "Schematex render failed"));
|
|
43
43
|
}
|
package/dist/react.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { S as SchematexConfig } from './api-
|
|
3
|
-
import './diagnostics-
|
|
2
|
+
import { S as SchematexConfig } from './api-DnTyW-6F.cjs';
|
|
3
|
+
import './diagnostics-D2qkBfFx.cjs';
|
|
4
4
|
|
|
5
5
|
interface SchematexDiagramProps {
|
|
6
6
|
/** DSL text to render */
|
package/dist/react.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { S as SchematexConfig } from './api-
|
|
3
|
-
import './diagnostics-
|
|
2
|
+
import { S as SchematexConfig } from './api-D_d-JklT.js';
|
|
3
|
+
import './diagnostics-D2qkBfFx.js';
|
|
4
4
|
|
|
5
5
|
interface SchematexDiagramProps {
|
|
6
6
|
/** DSL text to render */
|