schematex 0.9.3 → 0.9.5
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 +47 -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-B7C7qGiG.d.cts → api-BOJJlNb1.d.ts} +2 -2
- package/dist/{api-DXOhuK3e.d.ts → api-v9t1T1v6.d.cts} +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-LFJE64RD.cjs → chunk-7EWP4OD7.cjs} +508 -6
- package/dist/chunk-7EWP4OD7.cjs.map +1 -0
- 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-6GHXO3WQ.js → chunk-GYYYULBL.js} +3 -3
- package/dist/{chunk-6GHXO3WQ.js.map → chunk-GYYYULBL.js.map} +1 -1
- package/dist/{chunk-7P4C5DMD.js → chunk-II4GLKGF.js} +3 -3
- package/dist/chunk-II4GLKGF.js.map +1 -0
- 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-BP6MLXJU.js → chunk-LMNWUZMD.js} +2785 -611
- package/dist/chunk-LMNWUZMD.js.map +1 -0
- 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-JYAL26WQ.cjs → chunk-N3HU635X.cjs} +4 -4
- package/dist/chunk-N3HU635X.cjs.map +1 -0
- package/dist/{chunk-JCJWSW5Y.js → chunk-N524SY5D.js} +506 -4
- package/dist/chunk-N524SY5D.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-AHSSFGDJ.cjs → chunk-Q7CWX6HA.cjs} +2971 -796
- package/dist/chunk-Q7CWX6HA.cjs.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-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-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-5bVLlGNj.d.cts} +1 -1
- package/dist/{diagnostics-fyjWjeDa.d.cts → diagnostics-5bVLlGNj.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-DZNmJWGg.d.cts → index-Cmf4Rcve.d.cts} +1 -1
- package/dist/{index-CFaKjWPy.d.ts → index-syc0E5Ss.d.ts} +1 -1
- package/dist/index.cjs +90 -86
- 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-C23t_WeN.d.cts → tools-B98iarLm.d.cts} +3 -3
- package/dist/{tools-BDNih0Mb.d.ts → tools-CCZ1IcIN.d.ts} +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 chunkQ7CWX6HA_cjs = require('./chunk-Q7CWX6HA.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 chunkN3HU635X_cjs = require('./chunk-N3HU635X.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 = chunkN3HU635X_cjs.renderSymbol(type);
|
|
95
95
|
} catch {
|
|
96
96
|
continue;
|
|
97
97
|
}
|
|
98
|
-
const g =
|
|
98
|
+
const g = chunkN3HU635X_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(chunkQ7CWX6HA_cjs.GEOMETRY)) {
|
|
115
115
|
let inner;
|
|
116
116
|
try {
|
|
117
|
-
inner =
|
|
117
|
+
inner = chunkQ7CWX6HA_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 } = chunkQ7CWX6HA_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 = chunkQ7CWX6HA_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(chunkQ7CWX6HA_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,171 @@ function getSymbolCatalog(type) {
|
|
|
312
312
|
|
|
313
313
|
Object.defineProperty(exports, "bowtie", {
|
|
314
314
|
enumerable: true,
|
|
315
|
-
get: function () { return
|
|
315
|
+
get: function () { return chunkQ7CWX6HA_cjs.bowtie; }
|
|
316
316
|
});
|
|
317
317
|
Object.defineProperty(exports, "causalloop", {
|
|
318
318
|
enumerable: true,
|
|
319
|
-
get: function () { return
|
|
319
|
+
get: function () { return chunkQ7CWX6HA_cjs.causalloop; }
|
|
320
320
|
});
|
|
321
321
|
Object.defineProperty(exports, "decisiontree", {
|
|
322
322
|
enumerable: true,
|
|
323
|
-
get: function () { return
|
|
323
|
+
get: function () { return chunkQ7CWX6HA_cjs.decisiontree; }
|
|
324
324
|
});
|
|
325
325
|
Object.defineProperty(exports, "epc", {
|
|
326
326
|
enumerable: true,
|
|
327
|
-
get: function () { return
|
|
327
|
+
get: function () { return chunkQ7CWX6HA_cjs.epc; }
|
|
328
328
|
});
|
|
329
329
|
Object.defineProperty(exports, "eventtree", {
|
|
330
330
|
enumerable: true,
|
|
331
|
-
get: function () { return
|
|
331
|
+
get: function () { return chunkQ7CWX6HA_cjs.eventtree; }
|
|
332
332
|
});
|
|
333
333
|
Object.defineProperty(exports, "faulttree", {
|
|
334
334
|
enumerable: true,
|
|
335
|
-
get: function () { return
|
|
335
|
+
get: function () { return chunkQ7CWX6HA_cjs.faulttree; }
|
|
336
336
|
});
|
|
337
337
|
Object.defineProperty(exports, "fmea", {
|
|
338
338
|
enumerable: true,
|
|
339
|
-
get: function () { return
|
|
339
|
+
get: function () { return chunkQ7CWX6HA_cjs.fmea; }
|
|
340
340
|
});
|
|
341
341
|
Object.defineProperty(exports, "gitgraph", {
|
|
342
342
|
enumerable: true,
|
|
343
|
-
get: function () { return
|
|
343
|
+
get: function () { return chunkQ7CWX6HA_cjs.gitgraph; }
|
|
344
344
|
});
|
|
345
345
|
Object.defineProperty(exports, "idef0", {
|
|
346
346
|
enumerable: true,
|
|
347
|
-
get: function () { return
|
|
347
|
+
get: function () { return chunkQ7CWX6HA_cjs.idef0; }
|
|
348
348
|
});
|
|
349
349
|
Object.defineProperty(exports, "markov", {
|
|
350
350
|
enumerable: true,
|
|
351
|
-
get: function () { return
|
|
351
|
+
get: function () { return chunkQ7CWX6HA_cjs.markov; }
|
|
352
352
|
});
|
|
353
353
|
Object.defineProperty(exports, "network", {
|
|
354
354
|
enumerable: true,
|
|
355
|
-
get: function () { return
|
|
355
|
+
get: function () { return chunkQ7CWX6HA_cjs.network; }
|
|
356
356
|
});
|
|
357
357
|
Object.defineProperty(exports, "parse", {
|
|
358
358
|
enumerable: true,
|
|
359
|
-
get: function () { return
|
|
359
|
+
get: function () { return chunkQ7CWX6HA_cjs.parse; }
|
|
360
360
|
});
|
|
361
361
|
Object.defineProperty(exports, "parseResult", {
|
|
362
362
|
enumerable: true,
|
|
363
|
-
get: function () { return
|
|
363
|
+
get: function () { return chunkQ7CWX6HA_cjs.parseResult; }
|
|
364
364
|
});
|
|
365
365
|
Object.defineProperty(exports, "pert", {
|
|
366
366
|
enumerable: true,
|
|
367
|
-
get: function () { return
|
|
367
|
+
get: function () { return chunkQ7CWX6HA_cjs.pert; }
|
|
368
368
|
});
|
|
369
369
|
Object.defineProperty(exports, "petri", {
|
|
370
370
|
enumerable: true,
|
|
371
|
-
get: function () { return
|
|
371
|
+
get: function () { return chunkQ7CWX6HA_cjs.petri; }
|
|
372
372
|
});
|
|
373
373
|
Object.defineProperty(exports, "pid", {
|
|
374
374
|
enumerable: true,
|
|
375
|
-
get: function () { return
|
|
375
|
+
get: function () { return chunkQ7CWX6HA_cjs.pid; }
|
|
376
376
|
});
|
|
377
377
|
Object.defineProperty(exports, "prisma", {
|
|
378
378
|
enumerable: true,
|
|
379
|
-
get: function () { return
|
|
379
|
+
get: function () { return chunkQ7CWX6HA_cjs.prisma; }
|
|
380
|
+
});
|
|
381
|
+
Object.defineProperty(exports, "rbd", {
|
|
382
|
+
enumerable: true,
|
|
383
|
+
get: function () { return chunkQ7CWX6HA_cjs.rbd; }
|
|
380
384
|
});
|
|
381
385
|
Object.defineProperty(exports, "render", {
|
|
382
386
|
enumerable: true,
|
|
383
|
-
get: function () { return
|
|
387
|
+
get: function () { return chunkQ7CWX6HA_cjs.render; }
|
|
384
388
|
});
|
|
385
389
|
Object.defineProperty(exports, "renderPreview", {
|
|
386
390
|
enumerable: true,
|
|
387
|
-
get: function () { return
|
|
391
|
+
get: function () { return chunkQ7CWX6HA_cjs.renderPreview; }
|
|
388
392
|
});
|
|
389
393
|
Object.defineProperty(exports, "renderResult", {
|
|
390
394
|
enumerable: true,
|
|
391
|
-
get: function () { return
|
|
395
|
+
get: function () { return chunkQ7CWX6HA_cjs.renderResult; }
|
|
392
396
|
});
|
|
393
397
|
Object.defineProperty(exports, "sequence", {
|
|
394
398
|
enumerable: true,
|
|
395
|
-
get: function () { return
|
|
399
|
+
get: function () { return chunkQ7CWX6HA_cjs.sequence; }
|
|
396
400
|
});
|
|
397
401
|
Object.defineProperty(exports, "state", {
|
|
398
402
|
enumerable: true,
|
|
399
|
-
get: function () { return
|
|
403
|
+
get: function () { return chunkQ7CWX6HA_cjs.state; }
|
|
400
404
|
});
|
|
401
405
|
Object.defineProperty(exports, "threatmodel", {
|
|
402
406
|
enumerable: true,
|
|
403
|
-
get: function () { return
|
|
407
|
+
get: function () { return chunkQ7CWX6HA_cjs.threatmodel; }
|
|
404
408
|
});
|
|
405
409
|
Object.defineProperty(exports, "timeline", {
|
|
406
410
|
enumerable: true,
|
|
407
|
-
get: function () { return
|
|
411
|
+
get: function () { return chunkQ7CWX6HA_cjs.timeline; }
|
|
408
412
|
});
|
|
409
413
|
Object.defineProperty(exports, "umlclass", {
|
|
410
414
|
enumerable: true,
|
|
411
|
-
get: function () { return
|
|
415
|
+
get: function () { return chunkQ7CWX6HA_cjs.umlclass; }
|
|
412
416
|
});
|
|
413
417
|
Object.defineProperty(exports, "usecase", {
|
|
414
418
|
enumerable: true,
|
|
415
|
-
get: function () { return
|
|
419
|
+
get: function () { return chunkQ7CWX6HA_cjs.usecase; }
|
|
416
420
|
});
|
|
417
421
|
Object.defineProperty(exports, "welding", {
|
|
418
422
|
enumerable: true,
|
|
419
|
-
get: function () { return
|
|
423
|
+
get: function () { return chunkQ7CWX6HA_cjs.welding; }
|
|
420
424
|
});
|
|
421
425
|
Object.defineProperty(exports, "orgchart", {
|
|
422
426
|
enumerable: true,
|
|
423
|
-
get: function () { return
|
|
427
|
+
get: function () { return chunk4OC3CTGE_cjs.orgchart; }
|
|
424
428
|
});
|
|
425
429
|
Object.defineProperty(exports, "circuit", {
|
|
426
430
|
enumerable: true,
|
|
427
|
-
get: function () { return
|
|
431
|
+
get: function () { return chunk4AC6I7KJ_cjs.circuit; }
|
|
428
432
|
});
|
|
429
433
|
Object.defineProperty(exports, "blockdiagram", {
|
|
430
434
|
enumerable: true,
|
|
431
|
-
get: function () { return
|
|
435
|
+
get: function () { return chunkC4Y24X3U_cjs.blockdiagram; }
|
|
432
436
|
});
|
|
433
437
|
Object.defineProperty(exports, "ladder", {
|
|
434
438
|
enumerable: true,
|
|
435
|
-
get: function () { return
|
|
439
|
+
get: function () { return chunkINVLJYAE_cjs.ladder; }
|
|
436
440
|
});
|
|
437
441
|
Object.defineProperty(exports, "sld", {
|
|
438
442
|
enumerable: true,
|
|
439
|
-
get: function () { return
|
|
443
|
+
get: function () { return chunkN3HU635X_cjs.sld; }
|
|
440
444
|
});
|
|
441
445
|
Object.defineProperty(exports, "entity", {
|
|
442
446
|
enumerable: true,
|
|
443
|
-
get: function () { return
|
|
447
|
+
get: function () { return chunkGAQ36VFD_cjs.entity; }
|
|
444
448
|
});
|
|
445
449
|
Object.defineProperty(exports, "fishbone", {
|
|
446
450
|
enumerable: true,
|
|
447
|
-
get: function () { return
|
|
451
|
+
get: function () { return chunk627GHE2N_cjs.fishbone; }
|
|
448
452
|
});
|
|
449
453
|
Object.defineProperty(exports, "venn", {
|
|
450
454
|
enumerable: true,
|
|
451
|
-
get: function () { return
|
|
455
|
+
get: function () { return chunkITI3STJ6_cjs.venn; }
|
|
452
456
|
});
|
|
453
457
|
Object.defineProperty(exports, "flowchart", {
|
|
454
458
|
enumerable: true,
|
|
455
|
-
get: function () { return
|
|
459
|
+
get: function () { return chunkOJ3P4IC4_cjs.flowchart; }
|
|
456
460
|
});
|
|
457
461
|
Object.defineProperty(exports, "genogram", {
|
|
458
462
|
enumerable: true,
|
|
459
|
-
get: function () { return
|
|
463
|
+
get: function () { return chunkVY6UZYYL_cjs.genogram; }
|
|
460
464
|
});
|
|
461
465
|
Object.defineProperty(exports, "ecomap", {
|
|
462
466
|
enumerable: true,
|
|
463
|
-
get: function () { return
|
|
467
|
+
get: function () { return chunkVYQXB2RC_cjs.ecomap; }
|
|
464
468
|
});
|
|
465
469
|
Object.defineProperty(exports, "pedigree", {
|
|
466
470
|
enumerable: true,
|
|
467
|
-
get: function () { return
|
|
471
|
+
get: function () { return chunk6QZQTASC_cjs.pedigree; }
|
|
468
472
|
});
|
|
469
473
|
Object.defineProperty(exports, "phylo", {
|
|
470
474
|
enumerable: true,
|
|
471
|
-
get: function () { return
|
|
475
|
+
get: function () { return chunk6ZD7TCWO_cjs.phylo; }
|
|
472
476
|
});
|
|
473
477
|
Object.defineProperty(exports, "sociogram", {
|
|
474
478
|
enumerable: true,
|
|
475
|
-
get: function () { return
|
|
479
|
+
get: function () { return chunk35NGXDT2_cjs.sociogram; }
|
|
476
480
|
});
|
|
477
481
|
Object.defineProperty(exports, "timing", {
|
|
478
482
|
enumerable: true,
|
|
@@ -480,67 +484,67 @@ Object.defineProperty(exports, "timing", {
|
|
|
480
484
|
});
|
|
481
485
|
Object.defineProperty(exports, "logic", {
|
|
482
486
|
enumerable: true,
|
|
483
|
-
get: function () { return
|
|
487
|
+
get: function () { return chunk5ZQRHDMQ_cjs.logic; }
|
|
484
488
|
});
|
|
485
489
|
Object.defineProperty(exports, "BASE_THEMES", {
|
|
486
490
|
enumerable: true,
|
|
487
|
-
get: function () { return
|
|
491
|
+
get: function () { return chunkENUM7GMZ_cjs.BASE_THEMES; }
|
|
488
492
|
});
|
|
489
493
|
Object.defineProperty(exports, "BIOLOGY_TOKENS", {
|
|
490
494
|
enumerable: true,
|
|
491
|
-
get: function () { return
|
|
495
|
+
get: function () { return chunkENUM7GMZ_cjs.BIOLOGY_TOKENS; }
|
|
492
496
|
});
|
|
493
497
|
Object.defineProperty(exports, "NETWORK_TOKENS", {
|
|
494
498
|
enumerable: true,
|
|
495
|
-
get: function () { return
|
|
499
|
+
get: function () { return chunkENUM7GMZ_cjs.NETWORK_TOKENS; }
|
|
496
500
|
});
|
|
497
501
|
Object.defineProperty(exports, "PERSON_TOKENS", {
|
|
498
502
|
enumerable: true,
|
|
499
|
-
get: function () { return
|
|
503
|
+
get: function () { return chunkENUM7GMZ_cjs.PERSON_TOKENS; }
|
|
500
504
|
});
|
|
501
505
|
Object.defineProperty(exports, "PETRI_TOKENS", {
|
|
502
506
|
enumerable: true,
|
|
503
|
-
get: function () { return
|
|
507
|
+
get: function () { return chunkENUM7GMZ_cjs.PETRI_TOKENS; }
|
|
504
508
|
});
|
|
505
509
|
Object.defineProperty(exports, "VENN_TOKENS", {
|
|
506
510
|
enumerable: true,
|
|
507
|
-
get: function () { return
|
|
511
|
+
get: function () { return chunkENUM7GMZ_cjs.VENN_TOKENS; }
|
|
508
512
|
});
|
|
509
513
|
Object.defineProperty(exports, "resolveBaseTheme", {
|
|
510
514
|
enumerable: true,
|
|
511
|
-
get: function () { return
|
|
515
|
+
get: function () { return chunkENUM7GMZ_cjs.resolveBaseTheme; }
|
|
512
516
|
});
|
|
513
517
|
Object.defineProperty(exports, "resolveBiologyTheme", {
|
|
514
518
|
enumerable: true,
|
|
515
|
-
get: function () { return
|
|
519
|
+
get: function () { return chunkENUM7GMZ_cjs.resolveBiologyTheme; }
|
|
516
520
|
});
|
|
517
521
|
Object.defineProperty(exports, "resolveFishboneTheme", {
|
|
518
522
|
enumerable: true,
|
|
519
|
-
get: function () { return
|
|
523
|
+
get: function () { return chunkENUM7GMZ_cjs.resolveFishboneTheme; }
|
|
520
524
|
});
|
|
521
525
|
Object.defineProperty(exports, "resolveGenogramTheme", {
|
|
522
526
|
enumerable: true,
|
|
523
|
-
get: function () { return
|
|
527
|
+
get: function () { return chunkENUM7GMZ_cjs.resolveGenogramTheme; }
|
|
524
528
|
});
|
|
525
529
|
Object.defineProperty(exports, "resolveNetworkTheme", {
|
|
526
530
|
enumerable: true,
|
|
527
|
-
get: function () { return
|
|
531
|
+
get: function () { return chunkENUM7GMZ_cjs.resolveNetworkTheme; }
|
|
528
532
|
});
|
|
529
533
|
Object.defineProperty(exports, "resolvePersonTheme", {
|
|
530
534
|
enumerable: true,
|
|
531
|
-
get: function () { return
|
|
535
|
+
get: function () { return chunkENUM7GMZ_cjs.resolvePersonTheme; }
|
|
532
536
|
});
|
|
533
537
|
Object.defineProperty(exports, "resolvePetriTheme", {
|
|
534
538
|
enumerable: true,
|
|
535
|
-
get: function () { return
|
|
539
|
+
get: function () { return chunkENUM7GMZ_cjs.resolvePetriTheme; }
|
|
536
540
|
});
|
|
537
541
|
Object.defineProperty(exports, "resolveTimelineTheme", {
|
|
538
542
|
enumerable: true,
|
|
539
|
-
get: function () { return
|
|
543
|
+
get: function () { return chunkENUM7GMZ_cjs.resolveTimelineTheme; }
|
|
540
544
|
});
|
|
541
545
|
Object.defineProperty(exports, "resolveVennTheme", {
|
|
542
546
|
enumerable: true,
|
|
543
|
-
get: function () { return
|
|
547
|
+
get: function () { return chunkENUM7GMZ_cjs.resolveVennTheme; }
|
|
544
548
|
});
|
|
545
549
|
exports.SYMBOL_CATALOG_TYPES = SYMBOL_CATALOG_TYPES;
|
|
546
550
|
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-v9t1T1v6.cjs';
|
|
2
|
+
import { D as DiagramPlugin, a as DiagramType } from './diagnostics-5bVLlGNj.cjs';
|
|
3
|
+
export { S as SchematexDiagnostic, b as SchematexParseResult, c as SchematexRenderResult, d as SchematexResultStatus } from './diagnostics-5bVLlGNj.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-Cmf4Rcve.cjs';
|
|
19
19
|
export { orgchart } from './diagrams/orgchart/index.cjs';
|
|
20
20
|
|
|
21
21
|
declare const decisiontree: DiagramPlugin;
|
|
@@ -74,6 +74,8 @@ declare const threatmodel: DiagramPlugin;
|
|
|
74
74
|
|
|
75
75
|
declare const welding: DiagramPlugin;
|
|
76
76
|
|
|
77
|
+
declare const rbd: DiagramPlugin;
|
|
78
|
+
|
|
77
79
|
/**
|
|
78
80
|
* Domain symbol catalogs — the real symbols an engine uses *inside* a diagram
|
|
79
81
|
* (circuit components, SLD apparatus, P&ID equipment, flowchart node icons),
|
|
@@ -101,4 +103,4 @@ interface SymbolCatalog {
|
|
|
101
103
|
declare const SYMBOL_CATALOG_TYPES: DiagramType[];
|
|
102
104
|
declare function getSymbolCatalog(type: string): SymbolCatalog | null;
|
|
103
105
|
|
|
104
|
-
export { SYMBOL_CATALOG_TYPES, type SymbolCatalog, type SymbolCatalogEntry, bowtie, causalloop, decisiontree, epc, eventtree, faulttree, fmea, getSymbolCatalog, gitgraph, idef0, markov, network, pert, petri, pid, prisma, sequence, state, threatmodel, timeline, umlclass, usecase, welding };
|
|
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 };
|
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-BOJJlNb1.js';
|
|
2
|
+
import { D as DiagramPlugin, a as DiagramType } from './diagnostics-5bVLlGNj.js';
|
|
3
|
+
export { S as SchematexDiagnostic, b as SchematexParseResult, c as SchematexRenderResult, d as SchematexResultStatus } from './diagnostics-5bVLlGNj.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-syc0E5Ss.js';
|
|
19
19
|
export { orgchart } from './diagrams/orgchart/index.js';
|
|
20
20
|
|
|
21
21
|
declare const decisiontree: DiagramPlugin;
|
|
@@ -74,6 +74,8 @@ declare const threatmodel: DiagramPlugin;
|
|
|
74
74
|
|
|
75
75
|
declare const welding: DiagramPlugin;
|
|
76
76
|
|
|
77
|
+
declare const rbd: DiagramPlugin;
|
|
78
|
+
|
|
77
79
|
/**
|
|
78
80
|
* Domain symbol catalogs — the real symbols an engine uses *inside* a diagram
|
|
79
81
|
* (circuit components, SLD apparatus, P&ID equipment, flowchart node icons),
|
|
@@ -101,4 +103,4 @@ interface SymbolCatalog {
|
|
|
101
103
|
declare const SYMBOL_CATALOG_TYPES: DiagramType[];
|
|
102
104
|
declare function getSymbolCatalog(type: string): SymbolCatalog | null;
|
|
103
105
|
|
|
104
|
-
export { SYMBOL_CATALOG_TYPES, type SymbolCatalog, type SymbolCatalogEntry, bowtie, causalloop, decisiontree, epc, eventtree, faulttree, fmea, getSymbolCatalog, gitgraph, idef0, markov, network, pert, petri, pid, prisma, sequence, state, threatmodel, timeline, umlclass, usecase, welding };
|
|
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 };
|
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-LMNWUZMD.js';
|
|
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-LMNWUZMD.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-II4GLKGF.js';
|
|
9
|
+
export { sld } from './chunk-II4GLKGF.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 chunkQ7CWX6HA_cjs = require('./chunk-Q7CWX6HA.cjs');
|
|
4
|
+
require('./chunk-4OC3CTGE.cjs');
|
|
5
|
+
require('./chunk-4AC6I7KJ.cjs');
|
|
6
|
+
require('./chunk-C4Y24X3U.cjs');
|
|
7
|
+
require('./chunk-INVLJYAE.cjs');
|
|
8
|
+
require('./chunk-N3HU635X.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 = chunkQ7CWX6HA_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-v9t1T1v6.cjs';
|
|
3
|
+
import './diagnostics-5bVLlGNj.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-BOJJlNb1.js';
|
|
3
|
+
import './diagnostics-5bVLlGNj.js';
|
|
4
4
|
|
|
5
5
|
interface SchematexDiagramProps {
|
|
6
6
|
/** DSL text to render */
|