schematex 0.9.3 → 0.9.4
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 +21 -2
- package/README.zh-CN.md +2 -2
- 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-DXOhuK3e.d.ts → api-1xoGiseb.d.cts} +2 -2
- package/dist/{api-B7C7qGiG.d.cts → api-CgXRSnCn.d.ts} +2 -2
- 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-C2BNO3CI.cjs → chunk-35NGXDT2.cjs} +12 -12
- package/dist/{chunk-C2BNO3CI.cjs.map → chunk-35NGXDT2.cjs.map} +1 -1
- package/dist/{chunk-ZUK4BY55.js → chunk-3J4DZPZC.js} +3 -3
- package/dist/{chunk-ZUK4BY55.js.map → chunk-3J4DZPZC.js.map} +1 -1
- package/dist/{chunk-JEQGWH5N.js → chunk-3PH2MQGN.js} +3 -3
- package/dist/{chunk-JEQGWH5N.js.map → chunk-3PH2MQGN.js.map} +1 -1
- package/dist/{chunk-ZQECHIBI.js → chunk-3WX24RCH.js} +3 -3
- package/dist/{chunk-ZQECHIBI.js.map → chunk-3WX24RCH.js.map} +1 -1
- package/dist/{chunk-ATE7LD6I.cjs → chunk-4AC6I7KJ.cjs} +4 -4
- package/dist/{chunk-ATE7LD6I.cjs.map → chunk-4AC6I7KJ.cjs.map} +1 -1
- package/dist/{chunk-D4QZ6UDO.js → chunk-4MRVJI7G.js} +110 -3
- package/dist/chunk-4MRVJI7G.js.map +1 -0
- package/dist/{chunk-VOFND6ZQ.cjs → chunk-4OC3CTGE.cjs} +4 -4
- package/dist/{chunk-VOFND6ZQ.cjs.map → chunk-4OC3CTGE.cjs.map} +1 -1
- package/dist/{chunk-VG5LP5A4.cjs → chunk-5ZQRHDMQ.cjs} +4 -4
- package/dist/{chunk-VG5LP5A4.cjs.map → chunk-5ZQRHDMQ.cjs.map} +1 -1
- package/dist/{chunk-6W6RFZND.cjs → chunk-627GHE2N.cjs} +5 -5
- package/dist/{chunk-6W6RFZND.cjs.map → chunk-627GHE2N.cjs.map} +1 -1
- package/dist/{chunk-TDSGQT7R.js → chunk-64LABNTF.js} +3 -3
- package/dist/{chunk-TDSGQT7R.js.map → chunk-64LABNTF.js.map} +1 -1
- package/dist/{chunk-AEZVCGH4.cjs → chunk-6QZQTASC.cjs} +12 -12
- package/dist/{chunk-AEZVCGH4.cjs.map → chunk-6QZQTASC.cjs.map} +1 -1
- package/dist/{chunk-FFAJQ36U.cjs → chunk-6ZD7TCWO.cjs} +15 -15
- package/dist/{chunk-FFAJQ36U.cjs.map → chunk-6ZD7TCWO.cjs.map} +1 -1
- package/dist/{chunk-PUD7PIY5.js → chunk-AXMBXAEA.js} +3 -3
- package/dist/{chunk-PUD7PIY5.js.map → chunk-AXMBXAEA.js.map} +1 -1
- package/dist/{chunk-X3GEGVW2.js → chunk-B4CMWA6Y.js} +3 -3
- package/dist/{chunk-X3GEGVW2.js.map → chunk-B4CMWA6Y.js.map} +1 -1
- package/dist/{chunk-O6A2GJLI.cjs → chunk-C4Y24X3U.cjs} +4 -4
- package/dist/{chunk-O6A2GJLI.cjs.map → chunk-C4Y24X3U.cjs.map} +1 -1
- package/dist/{chunk-CAAMBDEN.cjs → chunk-ENUM7GMZ.cjs} +110 -2
- package/dist/chunk-ENUM7GMZ.cjs.map +1 -0
- package/dist/{chunk-IOD2EFMX.cjs → chunk-GAQ36VFD.cjs} +4 -4
- package/dist/{chunk-IOD2EFMX.cjs.map → chunk-GAQ36VFD.cjs.map} +1 -1
- package/dist/{chunk-AHSSFGDJ.cjs → chunk-GTCAJPQR.cjs} +1738 -217
- package/dist/chunk-GTCAJPQR.cjs.map +1 -0
- package/dist/{chunk-6GHXO3WQ.js → chunk-GYYYULBL.js} +3 -3
- package/dist/{chunk-6GHXO3WQ.js.map → chunk-GYYYULBL.js.map} +1 -1
- package/dist/{chunk-IU26USXA.cjs → chunk-INVLJYAE.cjs} +4 -4
- package/dist/{chunk-IU26USXA.cjs.map → chunk-INVLJYAE.cjs.map} +1 -1
- package/dist/{chunk-BXS53MLV.cjs → chunk-ITI3STJ6.cjs} +4 -4
- package/dist/{chunk-BXS53MLV.cjs.map → chunk-ITI3STJ6.cjs.map} +1 -1
- package/dist/{chunk-XAYD5NVJ.js → chunk-JEMAOC2D.js} +3 -3
- package/dist/{chunk-XAYD5NVJ.js.map → chunk-JEMAOC2D.js.map} +1 -1
- package/dist/{chunk-PZCYFT2A.js → chunk-M26ORU4P.js} +3 -3
- package/dist/{chunk-PZCYFT2A.js.map → chunk-M26ORU4P.js.map} +1 -1
- package/dist/{chunk-JCJWSW5Y.js → chunk-NIYB6CHH.js} +326 -4
- package/dist/chunk-NIYB6CHH.js.map +1 -0
- package/dist/{chunk-U4AJLMHC.js → chunk-NKYR4PAS.js} +3 -3
- package/dist/{chunk-U4AJLMHC.js.map → chunk-NKYR4PAS.js.map} +1 -1
- package/dist/{chunk-TFNH2NLJ.cjs → chunk-OJ3P4IC4.cjs} +4 -4
- package/dist/{chunk-TFNH2NLJ.cjs.map → chunk-OJ3P4IC4.cjs.map} +1 -1
- package/dist/{chunk-7P4C5DMD.js → chunk-PFZKW3HE.js} +3 -3
- package/dist/chunk-PFZKW3HE.js.map +1 -0
- package/dist/{chunk-QHZEGWE7.js → chunk-RDYACU2G.js} +3 -3
- package/dist/{chunk-QHZEGWE7.js.map → chunk-RDYACU2G.js.map} +1 -1
- package/dist/{chunk-UNLLWCQK.js → chunk-SXOAAQNY.js} +3 -3
- package/dist/{chunk-UNLLWCQK.js.map → chunk-SXOAAQNY.js.map} +1 -1
- package/dist/{chunk-LFJE64RD.cjs → chunk-TX3YWZZX.cjs} +328 -6
- package/dist/chunk-TX3YWZZX.cjs.map +1 -0
- package/dist/{chunk-BP6MLXJU.js → chunk-UFXDAIDD.js} +1552 -31
- package/dist/chunk-UFXDAIDD.js.map +1 -0
- package/dist/{chunk-MZWVJFTV.cjs → chunk-VY6UZYYL.cjs} +15 -15
- package/dist/{chunk-MZWVJFTV.cjs.map → chunk-VY6UZYYL.cjs.map} +1 -1
- package/dist/{chunk-Y4OBXYGW.cjs → chunk-VYQXB2RC.cjs} +12 -12
- package/dist/{chunk-Y4OBXYGW.cjs.map → chunk-VYQXB2RC.cjs.map} +1 -1
- package/dist/{chunk-JYAL26WQ.cjs → chunk-WJXLF42K.cjs} +4 -4
- package/dist/chunk-WJXLF42K.cjs.map +1 -0
- package/dist/{chunk-OND4N5ZZ.js → chunk-XCCXG6RR.js} +3 -3
- package/dist/{chunk-OND4N5ZZ.js.map → chunk-XCCXG6RR.js.map} +1 -1
- package/dist/{chunk-4CLAD7VZ.js → chunk-ZCHGIWJK.js} +3 -3
- package/dist/{chunk-4CLAD7VZ.js.map → chunk-ZCHGIWJK.js.map} +1 -1
- package/dist/{diagnostics-fyjWjeDa.d.ts → diagnostics-CDwnQ65n.d.cts} +1 -1
- package/dist/{diagnostics-fyjWjeDa.d.cts → diagnostics-CDwnQ65n.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-CFaKjWPy.d.ts → index-CYSH3_ca.d.ts} +1 -1
- package/dist/{index-DZNmJWGg.d.cts → index-DNOoLmYX.d.cts} +1 -1
- package/dist/index.cjs +86 -86
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- 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-BDNih0Mb.d.ts → tools-BhTti-oG.d.ts} +3 -3
- package/dist/{tools-C23t_WeN.d.cts → tools-CbYmQ3hH.d.cts} +3 -3
- package/package.json +1 -1
- package/dist/chunk-7P4C5DMD.js.map +0 -1
- package/dist/chunk-AHSSFGDJ.cjs.map +0 -1
- package/dist/chunk-BP6MLXJU.js.map +0 -1
- package/dist/chunk-CAAMBDEN.cjs.map +0 -1
- package/dist/chunk-D4QZ6UDO.js.map +0 -1
- package/dist/chunk-JCJWSW5Y.js.map +0 -1
- package/dist/chunk-JYAL26WQ.cjs.map +0 -1
- package/dist/chunk-LFJE64RD.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 chunkGTCAJPQR_cjs = require('./chunk-GTCAJPQR.cjs');
|
|
4
|
+
var chunk4OC3CTGE_cjs = require('./chunk-4OC3CTGE.cjs');
|
|
5
|
+
var chunk4AC6I7KJ_cjs = require('./chunk-4AC6I7KJ.cjs');
|
|
6
|
+
var chunkC4Y24X3U_cjs = require('./chunk-C4Y24X3U.cjs');
|
|
7
|
+
var chunkINVLJYAE_cjs = require('./chunk-INVLJYAE.cjs');
|
|
8
|
+
var chunkWJXLF42K_cjs = require('./chunk-WJXLF42K.cjs');
|
|
9
|
+
var chunkGAQ36VFD_cjs = require('./chunk-GAQ36VFD.cjs');
|
|
10
|
+
var chunk627GHE2N_cjs = require('./chunk-627GHE2N.cjs');
|
|
11
|
+
var chunkITI3STJ6_cjs = require('./chunk-ITI3STJ6.cjs');
|
|
12
|
+
var chunkOJ3P4IC4_cjs = require('./chunk-OJ3P4IC4.cjs');
|
|
13
|
+
var chunkVY6UZYYL_cjs = require('./chunk-VY6UZYYL.cjs');
|
|
14
|
+
var chunkVYQXB2RC_cjs = require('./chunk-VYQXB2RC.cjs');
|
|
15
|
+
var chunk6QZQTASC_cjs = require('./chunk-6QZQTASC.cjs');
|
|
16
16
|
require('./chunk-3KRL2EGN.cjs');
|
|
17
|
-
var
|
|
18
|
-
var
|
|
17
|
+
var chunk6ZD7TCWO_cjs = require('./chunk-6ZD7TCWO.cjs');
|
|
18
|
+
var chunk35NGXDT2_cjs = require('./chunk-35NGXDT2.cjs');
|
|
19
19
|
require('./chunk-5UCXMYE7.cjs');
|
|
20
20
|
var chunkJHJJT5H5_cjs = require('./chunk-JHJJT5H5.cjs');
|
|
21
|
-
var
|
|
21
|
+
var chunk5ZQRHDMQ_cjs = require('./chunk-5ZQRHDMQ.cjs');
|
|
22
22
|
require('./chunk-SBB6C4OP.cjs');
|
|
23
|
-
var
|
|
23
|
+
var chunkENUM7GMZ_cjs = require('./chunk-ENUM7GMZ.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
|
+
...chunk4AC6I7KJ_cjs.SYMBOLS,
|
|
38
|
+
...chunk4AC6I7KJ_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 = chunkWJXLF42K_cjs.renderSymbol(type);
|
|
95
95
|
} catch {
|
|
96
96
|
continue;
|
|
97
97
|
}
|
|
98
|
-
const g =
|
|
98
|
+
const g = chunkWJXLF42K_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(chunkGTCAJPQR_cjs.GEOMETRY)) {
|
|
115
115
|
let inner;
|
|
116
116
|
try {
|
|
117
|
-
inner =
|
|
117
|
+
inner = chunkGTCAJPQR_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 chunkOJ3P4IC4_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, chunkOJ3P4IC4_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 = chunk5ZQRHDMQ_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 } = chunkGTCAJPQR_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 = chunkGTCAJPQR_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(chunkGTCAJPQR_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,167 +312,167 @@ function getSymbolCatalog(type) {
|
|
|
312
312
|
|
|
313
313
|
Object.defineProperty(exports, "bowtie", {
|
|
314
314
|
enumerable: true,
|
|
315
|
-
get: function () { return
|
|
315
|
+
get: function () { return chunkGTCAJPQR_cjs.bowtie; }
|
|
316
316
|
});
|
|
317
317
|
Object.defineProperty(exports, "causalloop", {
|
|
318
318
|
enumerable: true,
|
|
319
|
-
get: function () { return
|
|
319
|
+
get: function () { return chunkGTCAJPQR_cjs.causalloop; }
|
|
320
320
|
});
|
|
321
321
|
Object.defineProperty(exports, "decisiontree", {
|
|
322
322
|
enumerable: true,
|
|
323
|
-
get: function () { return
|
|
323
|
+
get: function () { return chunkGTCAJPQR_cjs.decisiontree; }
|
|
324
324
|
});
|
|
325
325
|
Object.defineProperty(exports, "epc", {
|
|
326
326
|
enumerable: true,
|
|
327
|
-
get: function () { return
|
|
327
|
+
get: function () { return chunkGTCAJPQR_cjs.epc; }
|
|
328
328
|
});
|
|
329
329
|
Object.defineProperty(exports, "eventtree", {
|
|
330
330
|
enumerable: true,
|
|
331
|
-
get: function () { return
|
|
331
|
+
get: function () { return chunkGTCAJPQR_cjs.eventtree; }
|
|
332
332
|
});
|
|
333
333
|
Object.defineProperty(exports, "faulttree", {
|
|
334
334
|
enumerable: true,
|
|
335
|
-
get: function () { return
|
|
335
|
+
get: function () { return chunkGTCAJPQR_cjs.faulttree; }
|
|
336
336
|
});
|
|
337
337
|
Object.defineProperty(exports, "fmea", {
|
|
338
338
|
enumerable: true,
|
|
339
|
-
get: function () { return
|
|
339
|
+
get: function () { return chunkGTCAJPQR_cjs.fmea; }
|
|
340
340
|
});
|
|
341
341
|
Object.defineProperty(exports, "gitgraph", {
|
|
342
342
|
enumerable: true,
|
|
343
|
-
get: function () { return
|
|
343
|
+
get: function () { return chunkGTCAJPQR_cjs.gitgraph; }
|
|
344
344
|
});
|
|
345
345
|
Object.defineProperty(exports, "idef0", {
|
|
346
346
|
enumerable: true,
|
|
347
|
-
get: function () { return
|
|
347
|
+
get: function () { return chunkGTCAJPQR_cjs.idef0; }
|
|
348
348
|
});
|
|
349
349
|
Object.defineProperty(exports, "markov", {
|
|
350
350
|
enumerable: true,
|
|
351
|
-
get: function () { return
|
|
351
|
+
get: function () { return chunkGTCAJPQR_cjs.markov; }
|
|
352
352
|
});
|
|
353
353
|
Object.defineProperty(exports, "network", {
|
|
354
354
|
enumerable: true,
|
|
355
|
-
get: function () { return
|
|
355
|
+
get: function () { return chunkGTCAJPQR_cjs.network; }
|
|
356
356
|
});
|
|
357
357
|
Object.defineProperty(exports, "parse", {
|
|
358
358
|
enumerable: true,
|
|
359
|
-
get: function () { return
|
|
359
|
+
get: function () { return chunkGTCAJPQR_cjs.parse; }
|
|
360
360
|
});
|
|
361
361
|
Object.defineProperty(exports, "parseResult", {
|
|
362
362
|
enumerable: true,
|
|
363
|
-
get: function () { return
|
|
363
|
+
get: function () { return chunkGTCAJPQR_cjs.parseResult; }
|
|
364
364
|
});
|
|
365
365
|
Object.defineProperty(exports, "pert", {
|
|
366
366
|
enumerable: true,
|
|
367
|
-
get: function () { return
|
|
367
|
+
get: function () { return chunkGTCAJPQR_cjs.pert; }
|
|
368
368
|
});
|
|
369
369
|
Object.defineProperty(exports, "petri", {
|
|
370
370
|
enumerable: true,
|
|
371
|
-
get: function () { return
|
|
371
|
+
get: function () { return chunkGTCAJPQR_cjs.petri; }
|
|
372
372
|
});
|
|
373
373
|
Object.defineProperty(exports, "pid", {
|
|
374
374
|
enumerable: true,
|
|
375
|
-
get: function () { return
|
|
375
|
+
get: function () { return chunkGTCAJPQR_cjs.pid; }
|
|
376
376
|
});
|
|
377
377
|
Object.defineProperty(exports, "prisma", {
|
|
378
378
|
enumerable: true,
|
|
379
|
-
get: function () { return
|
|
379
|
+
get: function () { return chunkGTCAJPQR_cjs.prisma; }
|
|
380
380
|
});
|
|
381
381
|
Object.defineProperty(exports, "render", {
|
|
382
382
|
enumerable: true,
|
|
383
|
-
get: function () { return
|
|
383
|
+
get: function () { return chunkGTCAJPQR_cjs.render; }
|
|
384
384
|
});
|
|
385
385
|
Object.defineProperty(exports, "renderPreview", {
|
|
386
386
|
enumerable: true,
|
|
387
|
-
get: function () { return
|
|
387
|
+
get: function () { return chunkGTCAJPQR_cjs.renderPreview; }
|
|
388
388
|
});
|
|
389
389
|
Object.defineProperty(exports, "renderResult", {
|
|
390
390
|
enumerable: true,
|
|
391
|
-
get: function () { return
|
|
391
|
+
get: function () { return chunkGTCAJPQR_cjs.renderResult; }
|
|
392
392
|
});
|
|
393
393
|
Object.defineProperty(exports, "sequence", {
|
|
394
394
|
enumerable: true,
|
|
395
|
-
get: function () { return
|
|
395
|
+
get: function () { return chunkGTCAJPQR_cjs.sequence; }
|
|
396
396
|
});
|
|
397
397
|
Object.defineProperty(exports, "state", {
|
|
398
398
|
enumerable: true,
|
|
399
|
-
get: function () { return
|
|
399
|
+
get: function () { return chunkGTCAJPQR_cjs.state; }
|
|
400
400
|
});
|
|
401
401
|
Object.defineProperty(exports, "threatmodel", {
|
|
402
402
|
enumerable: true,
|
|
403
|
-
get: function () { return
|
|
403
|
+
get: function () { return chunkGTCAJPQR_cjs.threatmodel; }
|
|
404
404
|
});
|
|
405
405
|
Object.defineProperty(exports, "timeline", {
|
|
406
406
|
enumerable: true,
|
|
407
|
-
get: function () { return
|
|
407
|
+
get: function () { return chunkGTCAJPQR_cjs.timeline; }
|
|
408
408
|
});
|
|
409
409
|
Object.defineProperty(exports, "umlclass", {
|
|
410
410
|
enumerable: true,
|
|
411
|
-
get: function () { return
|
|
411
|
+
get: function () { return chunkGTCAJPQR_cjs.umlclass; }
|
|
412
412
|
});
|
|
413
413
|
Object.defineProperty(exports, "usecase", {
|
|
414
414
|
enumerable: true,
|
|
415
|
-
get: function () { return
|
|
415
|
+
get: function () { return chunkGTCAJPQR_cjs.usecase; }
|
|
416
416
|
});
|
|
417
417
|
Object.defineProperty(exports, "welding", {
|
|
418
418
|
enumerable: true,
|
|
419
|
-
get: function () { return
|
|
419
|
+
get: function () { return chunkGTCAJPQR_cjs.welding; }
|
|
420
420
|
});
|
|
421
421
|
Object.defineProperty(exports, "orgchart", {
|
|
422
422
|
enumerable: true,
|
|
423
|
-
get: function () { return
|
|
423
|
+
get: function () { return chunk4OC3CTGE_cjs.orgchart; }
|
|
424
424
|
});
|
|
425
425
|
Object.defineProperty(exports, "circuit", {
|
|
426
426
|
enumerable: true,
|
|
427
|
-
get: function () { return
|
|
427
|
+
get: function () { return chunk4AC6I7KJ_cjs.circuit; }
|
|
428
428
|
});
|
|
429
429
|
Object.defineProperty(exports, "blockdiagram", {
|
|
430
430
|
enumerable: true,
|
|
431
|
-
get: function () { return
|
|
431
|
+
get: function () { return chunkC4Y24X3U_cjs.blockdiagram; }
|
|
432
432
|
});
|
|
433
433
|
Object.defineProperty(exports, "ladder", {
|
|
434
434
|
enumerable: true,
|
|
435
|
-
get: function () { return
|
|
435
|
+
get: function () { return chunkINVLJYAE_cjs.ladder; }
|
|
436
436
|
});
|
|
437
437
|
Object.defineProperty(exports, "sld", {
|
|
438
438
|
enumerable: true,
|
|
439
|
-
get: function () { return
|
|
439
|
+
get: function () { return chunkWJXLF42K_cjs.sld; }
|
|
440
440
|
});
|
|
441
441
|
Object.defineProperty(exports, "entity", {
|
|
442
442
|
enumerable: true,
|
|
443
|
-
get: function () { return
|
|
443
|
+
get: function () { return chunkGAQ36VFD_cjs.entity; }
|
|
444
444
|
});
|
|
445
445
|
Object.defineProperty(exports, "fishbone", {
|
|
446
446
|
enumerable: true,
|
|
447
|
-
get: function () { return
|
|
447
|
+
get: function () { return chunk627GHE2N_cjs.fishbone; }
|
|
448
448
|
});
|
|
449
449
|
Object.defineProperty(exports, "venn", {
|
|
450
450
|
enumerable: true,
|
|
451
|
-
get: function () { return
|
|
451
|
+
get: function () { return chunkITI3STJ6_cjs.venn; }
|
|
452
452
|
});
|
|
453
453
|
Object.defineProperty(exports, "flowchart", {
|
|
454
454
|
enumerable: true,
|
|
455
|
-
get: function () { return
|
|
455
|
+
get: function () { return chunkOJ3P4IC4_cjs.flowchart; }
|
|
456
456
|
});
|
|
457
457
|
Object.defineProperty(exports, "genogram", {
|
|
458
458
|
enumerable: true,
|
|
459
|
-
get: function () { return
|
|
459
|
+
get: function () { return chunkVY6UZYYL_cjs.genogram; }
|
|
460
460
|
});
|
|
461
461
|
Object.defineProperty(exports, "ecomap", {
|
|
462
462
|
enumerable: true,
|
|
463
|
-
get: function () { return
|
|
463
|
+
get: function () { return chunkVYQXB2RC_cjs.ecomap; }
|
|
464
464
|
});
|
|
465
465
|
Object.defineProperty(exports, "pedigree", {
|
|
466
466
|
enumerable: true,
|
|
467
|
-
get: function () { return
|
|
467
|
+
get: function () { return chunk6QZQTASC_cjs.pedigree; }
|
|
468
468
|
});
|
|
469
469
|
Object.defineProperty(exports, "phylo", {
|
|
470
470
|
enumerable: true,
|
|
471
|
-
get: function () { return
|
|
471
|
+
get: function () { return chunk6ZD7TCWO_cjs.phylo; }
|
|
472
472
|
});
|
|
473
473
|
Object.defineProperty(exports, "sociogram", {
|
|
474
474
|
enumerable: true,
|
|
475
|
-
get: function () { return
|
|
475
|
+
get: function () { return chunk35NGXDT2_cjs.sociogram; }
|
|
476
476
|
});
|
|
477
477
|
Object.defineProperty(exports, "timing", {
|
|
478
478
|
enumerable: true,
|
|
@@ -480,67 +480,67 @@ Object.defineProperty(exports, "timing", {
|
|
|
480
480
|
});
|
|
481
481
|
Object.defineProperty(exports, "logic", {
|
|
482
482
|
enumerable: true,
|
|
483
|
-
get: function () { return
|
|
483
|
+
get: function () { return chunk5ZQRHDMQ_cjs.logic; }
|
|
484
484
|
});
|
|
485
485
|
Object.defineProperty(exports, "BASE_THEMES", {
|
|
486
486
|
enumerable: true,
|
|
487
|
-
get: function () { return
|
|
487
|
+
get: function () { return chunkENUM7GMZ_cjs.BASE_THEMES; }
|
|
488
488
|
});
|
|
489
489
|
Object.defineProperty(exports, "BIOLOGY_TOKENS", {
|
|
490
490
|
enumerable: true,
|
|
491
|
-
get: function () { return
|
|
491
|
+
get: function () { return chunkENUM7GMZ_cjs.BIOLOGY_TOKENS; }
|
|
492
492
|
});
|
|
493
493
|
Object.defineProperty(exports, "NETWORK_TOKENS", {
|
|
494
494
|
enumerable: true,
|
|
495
|
-
get: function () { return
|
|
495
|
+
get: function () { return chunkENUM7GMZ_cjs.NETWORK_TOKENS; }
|
|
496
496
|
});
|
|
497
497
|
Object.defineProperty(exports, "PERSON_TOKENS", {
|
|
498
498
|
enumerable: true,
|
|
499
|
-
get: function () { return
|
|
499
|
+
get: function () { return chunkENUM7GMZ_cjs.PERSON_TOKENS; }
|
|
500
500
|
});
|
|
501
501
|
Object.defineProperty(exports, "PETRI_TOKENS", {
|
|
502
502
|
enumerable: true,
|
|
503
|
-
get: function () { return
|
|
503
|
+
get: function () { return chunkENUM7GMZ_cjs.PETRI_TOKENS; }
|
|
504
504
|
});
|
|
505
505
|
Object.defineProperty(exports, "VENN_TOKENS", {
|
|
506
506
|
enumerable: true,
|
|
507
|
-
get: function () { return
|
|
507
|
+
get: function () { return chunkENUM7GMZ_cjs.VENN_TOKENS; }
|
|
508
508
|
});
|
|
509
509
|
Object.defineProperty(exports, "resolveBaseTheme", {
|
|
510
510
|
enumerable: true,
|
|
511
|
-
get: function () { return
|
|
511
|
+
get: function () { return chunkENUM7GMZ_cjs.resolveBaseTheme; }
|
|
512
512
|
});
|
|
513
513
|
Object.defineProperty(exports, "resolveBiologyTheme", {
|
|
514
514
|
enumerable: true,
|
|
515
|
-
get: function () { return
|
|
515
|
+
get: function () { return chunkENUM7GMZ_cjs.resolveBiologyTheme; }
|
|
516
516
|
});
|
|
517
517
|
Object.defineProperty(exports, "resolveFishboneTheme", {
|
|
518
518
|
enumerable: true,
|
|
519
|
-
get: function () { return
|
|
519
|
+
get: function () { return chunkENUM7GMZ_cjs.resolveFishboneTheme; }
|
|
520
520
|
});
|
|
521
521
|
Object.defineProperty(exports, "resolveGenogramTheme", {
|
|
522
522
|
enumerable: true,
|
|
523
|
-
get: function () { return
|
|
523
|
+
get: function () { return chunkENUM7GMZ_cjs.resolveGenogramTheme; }
|
|
524
524
|
});
|
|
525
525
|
Object.defineProperty(exports, "resolveNetworkTheme", {
|
|
526
526
|
enumerable: true,
|
|
527
|
-
get: function () { return
|
|
527
|
+
get: function () { return chunkENUM7GMZ_cjs.resolveNetworkTheme; }
|
|
528
528
|
});
|
|
529
529
|
Object.defineProperty(exports, "resolvePersonTheme", {
|
|
530
530
|
enumerable: true,
|
|
531
|
-
get: function () { return
|
|
531
|
+
get: function () { return chunkENUM7GMZ_cjs.resolvePersonTheme; }
|
|
532
532
|
});
|
|
533
533
|
Object.defineProperty(exports, "resolvePetriTheme", {
|
|
534
534
|
enumerable: true,
|
|
535
|
-
get: function () { return
|
|
535
|
+
get: function () { return chunkENUM7GMZ_cjs.resolvePetriTheme; }
|
|
536
536
|
});
|
|
537
537
|
Object.defineProperty(exports, "resolveTimelineTheme", {
|
|
538
538
|
enumerable: true,
|
|
539
|
-
get: function () { return
|
|
539
|
+
get: function () { return chunkENUM7GMZ_cjs.resolveTimelineTheme; }
|
|
540
540
|
});
|
|
541
541
|
Object.defineProperty(exports, "resolveVennTheme", {
|
|
542
542
|
enumerable: true,
|
|
543
|
-
get: function () { return
|
|
543
|
+
get: function () { return chunkENUM7GMZ_cjs.resolveVennTheme; }
|
|
544
544
|
});
|
|
545
545
|
exports.SYMBOL_CATALOG_TYPES = SYMBOL_CATALOG_TYPES;
|
|
546
546
|
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-1xoGiseb.cjs';
|
|
2
|
+
import { D as DiagramPlugin, a as DiagramType } from './diagnostics-CDwnQ65n.cjs';
|
|
3
|
+
export { S as SchematexDiagnostic, b as SchematexParseResult, c as SchematexRenderResult, d as SchematexResultStatus } from './diagnostics-CDwnQ65n.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-DNOoLmYX.cjs';
|
|
19
19
|
export { orgchart } from './diagrams/orgchart/index.cjs';
|
|
20
20
|
|
|
21
21
|
declare const decisiontree: DiagramPlugin;
|
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-CgXRSnCn.js';
|
|
2
|
+
import { D as DiagramPlugin, a as DiagramType } from './diagnostics-CDwnQ65n.js';
|
|
3
|
+
export { S as SchematexDiagnostic, b as SchematexParseResult, c as SchematexRenderResult, d as SchematexResultStatus } from './diagnostics-CDwnQ65n.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-CYSH3_ca.js';
|
|
19
19
|
export { orgchart } from './diagrams/orgchart/index.js';
|
|
20
20
|
|
|
21
21
|
declare const decisiontree: DiagramPlugin;
|
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, 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-UFXDAIDD.js';
|
|
2
|
+
export { bowtie, causalloop, decisiontree, epc, eventtree, faulttree, fmea, gitgraph, idef0, markov, network, parse, parseResult, pert, petri, pid, prisma, render, renderPreview, renderResult, sequence, state, threatmodel, timeline, umlclass, usecase, welding } from './chunk-UFXDAIDD.js';
|
|
3
|
+
export { orgchart } from './chunk-3J4DZPZC.js';
|
|
4
|
+
import { EXTRA_SYMBOLS, SYMBOLS } from './chunk-RDYACU2G.js';
|
|
5
|
+
export { circuit } from './chunk-RDYACU2G.js';
|
|
6
|
+
export { blockdiagram } from './chunk-3PH2MQGN.js';
|
|
7
|
+
export { ladder } from './chunk-B4CMWA6Y.js';
|
|
8
|
+
import { renderSymbol, geometryFor } from './chunk-PFZKW3HE.js';
|
|
9
|
+
export { sld } from './chunk-PFZKW3HE.js';
|
|
10
|
+
export { entity } from './chunk-JEMAOC2D.js';
|
|
11
|
+
export { fishbone } from './chunk-GYYYULBL.js';
|
|
12
|
+
export { venn } from './chunk-SXOAAQNY.js';
|
|
13
|
+
import { iconNames, renderIcon } from './chunk-AXMBXAEA.js';
|
|
14
|
+
export { flowchart } from './chunk-AXMBXAEA.js';
|
|
15
|
+
export { genogram } from './chunk-M26ORU4P.js';
|
|
16
|
+
export { ecomap } from './chunk-XCCXG6RR.js';
|
|
17
|
+
export { pedigree } from './chunk-ZCHGIWJK.js';
|
|
18
18
|
import './chunk-2KTQ75LN.js';
|
|
19
|
-
export { phylo } from './chunk-
|
|
20
|
-
export { sociogram } from './chunk-
|
|
19
|
+
export { phylo } from './chunk-3WX24RCH.js';
|
|
20
|
+
export { sociogram } from './chunk-64LABNTF.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-NKYR4PAS.js';
|
|
24
|
+
export { logic } from './chunk-NKYR4PAS.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-4MRVJI7G.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 chunkGTCAJPQR_cjs = require('./chunk-GTCAJPQR.cjs');
|
|
4
|
+
require('./chunk-4OC3CTGE.cjs');
|
|
5
|
+
require('./chunk-4AC6I7KJ.cjs');
|
|
6
|
+
require('./chunk-C4Y24X3U.cjs');
|
|
7
|
+
require('./chunk-INVLJYAE.cjs');
|
|
8
|
+
require('./chunk-WJXLF42K.cjs');
|
|
9
|
+
require('./chunk-GAQ36VFD.cjs');
|
|
10
|
+
require('./chunk-627GHE2N.cjs');
|
|
11
|
+
require('./chunk-ITI3STJ6.cjs');
|
|
12
|
+
require('./chunk-OJ3P4IC4.cjs');
|
|
13
|
+
require('./chunk-VY6UZYYL.cjs');
|
|
14
|
+
require('./chunk-VYQXB2RC.cjs');
|
|
15
|
+
require('./chunk-6QZQTASC.cjs');
|
|
16
16
|
require('./chunk-3KRL2EGN.cjs');
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-6ZD7TCWO.cjs');
|
|
18
|
+
require('./chunk-35NGXDT2.cjs');
|
|
19
19
|
require('./chunk-5UCXMYE7.cjs');
|
|
20
20
|
require('./chunk-JHJJT5H5.cjs');
|
|
21
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-5ZQRHDMQ.cjs');
|
|
22
22
|
require('./chunk-SBB6C4OP.cjs');
|
|
23
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-ENUM7GMZ.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 = chunkGTCAJPQR_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-1xoGiseb.cjs';
|
|
3
|
+
import './diagnostics-CDwnQ65n.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-CgXRSnCn.js';
|
|
3
|
+
import './diagnostics-CDwnQ65n.js';
|
|
4
4
|
|
|
5
5
|
interface SchematexDiagramProps {
|
|
6
6
|
/** DSL text to render */
|
package/dist/react.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { renderResult } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
1
|
+
import { renderResult } from './chunk-UFXDAIDD.js';
|
|
2
|
+
import './chunk-3J4DZPZC.js';
|
|
3
|
+
import './chunk-RDYACU2G.js';
|
|
4
|
+
import './chunk-3PH2MQGN.js';
|
|
5
|
+
import './chunk-B4CMWA6Y.js';
|
|
6
|
+
import './chunk-PFZKW3HE.js';
|
|
7
|
+
import './chunk-JEMAOC2D.js';
|
|
8
|
+
import './chunk-GYYYULBL.js';
|
|
9
|
+
import './chunk-SXOAAQNY.js';
|
|
10
|
+
import './chunk-AXMBXAEA.js';
|
|
11
|
+
import './chunk-M26ORU4P.js';
|
|
12
|
+
import './chunk-XCCXG6RR.js';
|
|
13
|
+
import './chunk-ZCHGIWJK.js';
|
|
14
14
|
import './chunk-2KTQ75LN.js';
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
15
|
+
import './chunk-3WX24RCH.js';
|
|
16
|
+
import './chunk-64LABNTF.js';
|
|
17
17
|
import './chunk-FO7BLCEW.js';
|
|
18
18
|
import './chunk-MTIZIHWE.js';
|
|
19
|
-
import './chunk-
|
|
19
|
+
import './chunk-NKYR4PAS.js';
|
|
20
20
|
import './chunk-PIV2A3HG.js';
|
|
21
|
-
import './chunk-
|
|
21
|
+
import './chunk-4MRVJI7G.js';
|
|
22
22
|
import './chunk-TO6PNBT3.js';
|
|
23
23
|
import './chunk-SYYBKDL7.js';
|
|
24
24
|
import { useMemo } from 'react';
|