schematex 0.6.2 → 0.6.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/dist/ai/ai-sdk.cjs +23 -23
- package/dist/ai/ai-sdk.d.cts +4 -4
- package/dist/ai/ai-sdk.d.ts +4 -4
- package/dist/ai/ai-sdk.js +18 -18
- package/dist/ai/index.cjs +29 -29
- package/dist/ai/index.d.cts +3 -3
- package/dist/ai/index.d.ts +3 -3
- package/dist/ai/index.js +18 -18
- package/dist/{api-XWHHAhQI.d.ts → api-BIqZjEDf.d.ts} +2 -2
- package/dist/{api-qVDutqXH.d.cts → api-BXkOT7GL.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-JVAJ6ZLO.js → chunk-35XCP2E4.js} +3 -3
- package/dist/{chunk-JVAJ6ZLO.js.map → chunk-35XCP2E4.js.map} +1 -1
- package/dist/{chunk-VTSH4YPT.cjs → chunk-3C5DKCBJ.cjs} +12 -12
- package/dist/{chunk-VTSH4YPT.cjs.map → chunk-3C5DKCBJ.cjs.map} +1 -1
- package/dist/{chunk-HWVBHU3O.cjs → chunk-4THUHX2D.cjs} +5 -5
- package/dist/{chunk-HWVBHU3O.cjs.map → chunk-4THUHX2D.cjs.map} +1 -1
- package/dist/{chunk-KSNUMQGS.cjs → chunk-624UQ5R6.cjs} +3756 -363
- package/dist/chunk-624UQ5R6.cjs.map +1 -0
- package/dist/{chunk-LRI4RH2N.js → chunk-AORGFBEH.js} +127 -3
- package/dist/chunk-AORGFBEH.js.map +1 -0
- package/dist/{chunk-DOK7LKLO.js → chunk-B7ATOBL7.js} +3 -3
- package/dist/{chunk-DOK7LKLO.js.map → chunk-B7ATOBL7.js.map} +1 -1
- package/dist/{chunk-FKJBXGWP.cjs → chunk-BXNOXOE4.cjs} +4 -4
- package/dist/{chunk-FKJBXGWP.cjs.map → chunk-BXNOXOE4.cjs.map} +1 -1
- package/dist/{chunk-H4MT5TJP.js → chunk-FHZTWWI6.js} +3 -3
- package/dist/{chunk-H4MT5TJP.js.map → chunk-FHZTWWI6.js.map} +1 -1
- package/dist/{chunk-2L4YXZAZ.cjs → chunk-FXPOHPBE.cjs} +5 -5
- package/dist/{chunk-2L4YXZAZ.cjs.map → chunk-FXPOHPBE.cjs.map} +1 -1
- package/dist/{chunk-3VB5AT4R.js → chunk-GPC5BWLI.js} +3 -3
- package/dist/{chunk-3VB5AT4R.js.map → chunk-GPC5BWLI.js.map} +1 -1
- package/dist/{chunk-MVIEIKOI.js → chunk-GV5QLYTW.js} +3 -3
- package/dist/{chunk-MVIEIKOI.js.map → chunk-GV5QLYTW.js.map} +1 -1
- package/dist/{chunk-WQDIZH2Z.cjs → chunk-HCBXTBFA.cjs} +12 -12
- package/dist/{chunk-WQDIZH2Z.cjs.map → chunk-HCBXTBFA.cjs.map} +1 -1
- package/dist/{chunk-6JI6FWLZ.cjs → chunk-I6UJR4SG.cjs} +4 -4
- package/dist/{chunk-6JI6FWLZ.cjs.map → chunk-I6UJR4SG.cjs.map} +1 -1
- package/dist/{chunk-RJMCWT7Z.js → chunk-IPEHLRTI.js} +3 -3
- package/dist/{chunk-RJMCWT7Z.js.map → chunk-IPEHLRTI.js.map} +1 -1
- package/dist/{chunk-N5B242WY.js → chunk-KPKGMOTS.js} +3 -3
- package/dist/{chunk-N5B242WY.js.map → chunk-KPKGMOTS.js.map} +1 -1
- package/dist/{chunk-TWLKXV2O.js → chunk-LGFB4H5B.js} +4 -4
- package/dist/{chunk-TWLKXV2O.js.map → chunk-LGFB4H5B.js.map} +1 -1
- package/dist/{chunk-IZWKJVIC.js → chunk-MI77LY6A.js} +3728 -337
- package/dist/chunk-MI77LY6A.js.map +1 -0
- package/dist/{chunk-7F76AWOI.js → chunk-MKECYIWN.js} +3 -3
- package/dist/{chunk-7F76AWOI.js.map → chunk-MKECYIWN.js.map} +1 -1
- package/dist/{chunk-LGABFD3L.js → chunk-OANWVUBA.js} +100 -25
- package/dist/chunk-OANWVUBA.js.map +1 -0
- package/dist/{chunk-YS6CGUNH.js → chunk-OHLNH7IO.js} +3 -3
- package/dist/{chunk-YS6CGUNH.js.map → chunk-OHLNH7IO.js.map} +1 -1
- package/dist/{chunk-L7POWM5B.cjs → chunk-R5E2LSN2.cjs} +129 -2
- package/dist/chunk-R5E2LSN2.cjs.map +1 -0
- package/dist/{chunk-S3RMAXH5.cjs → chunk-ROX5KEZM.cjs} +15 -15
- package/dist/{chunk-S3RMAXH5.cjs.map → chunk-ROX5KEZM.cjs.map} +1 -1
- package/dist/{chunk-3IE7KZY4.js → chunk-RVHOCGHT.js} +96 -10
- package/dist/chunk-RVHOCGHT.js.map +1 -0
- package/dist/{chunk-4UFR2LB6.cjs → chunk-S2CHBZ4A.cjs} +13 -13
- package/dist/{chunk-4UFR2LB6.cjs.map → chunk-S2CHBZ4A.cjs.map} +1 -1
- package/dist/{chunk-SD6VDTQR.cjs → chunk-T3ZN5P32.cjs} +305 -16
- package/dist/chunk-T3ZN5P32.cjs.map +1 -0
- package/dist/{chunk-R66QG3XT.cjs → chunk-VZO2SX6Q.cjs} +98 -10
- package/dist/chunk-VZO2SX6Q.cjs.map +1 -0
- package/dist/{chunk-ECD5XHBM.cjs → chunk-W3IXH6BN.cjs} +100 -25
- package/dist/chunk-W3IXH6BN.cjs.map +1 -0
- package/dist/{chunk-V4GILQR6.cjs → chunk-WZ5QBGPZ.cjs} +4 -4
- package/dist/{chunk-V4GILQR6.cjs.map → chunk-WZ5QBGPZ.cjs.map} +1 -1
- package/dist/{chunk-FBS3PACU.js → chunk-XEIVA2CT.js} +3 -3
- package/dist/{chunk-FBS3PACU.js.map → chunk-XEIVA2CT.js.map} +1 -1
- package/dist/{chunk-3JAI3OVG.cjs → chunk-XJJUJ2EF.cjs} +4 -4
- package/dist/{chunk-3JAI3OVG.cjs.map → chunk-XJJUJ2EF.cjs.map} +1 -1
- package/dist/{chunk-C5C5EF3W.cjs → chunk-XO7WW3I6.cjs} +4 -4
- package/dist/{chunk-C5C5EF3W.cjs.map → chunk-XO7WW3I6.cjs.map} +1 -1
- package/dist/{chunk-HAZALB7U.js → chunk-XSPENTEG.js} +3 -3
- package/dist/{chunk-HAZALB7U.js.map → chunk-XSPENTEG.js.map} +1 -1
- package/dist/{chunk-YB4XJY5L.cjs → chunk-ZZFPXCAK.cjs} +12 -12
- package/dist/{chunk-YB4XJY5L.cjs.map → chunk-ZZFPXCAK.cjs.map} +1 -1
- package/dist/{chunk-ITUPR7G5.js → chunk-ZZHQBAC3.js} +303 -14
- package/dist/chunk-ZZHQBAC3.js.map +1 -0
- package/dist/{diagnostics-DRxhodP6.d.ts → diagnostics-CzHW0RCo.d.cts} +7 -3
- package/dist/{diagnostics-DRxhodP6.d.cts → diagnostics-CzHW0RCo.d.ts} +7 -3
- package/dist/diagrams/blockdiagram/index.d.cts +1 -1
- package/dist/diagrams/blockdiagram/index.d.ts +1 -1
- package/dist/diagrams/circuit/index.cjs +8 -8
- 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 +7 -7
- package/dist/diagrams/ladder/index.d.cts +1 -1
- package/dist/diagrams/ladder/index.d.ts +1 -1
- package/dist/diagrams/ladder/index.js +3 -3
- package/dist/diagrams/logic/index.cjs +15 -6
- package/dist/diagrams/logic/index.d.cts +7 -2
- package/dist/diagrams/logic/index.d.ts +7 -2
- package/dist/diagrams/logic/index.js +3 -2
- package/dist/diagrams/orgchart/index.cjs +7 -7
- 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 +9 -9
- package/dist/diagrams/sld/index.d.cts +1 -1
- package/dist/diagrams/sld/index.d.ts +1 -1
- package/dist/diagrams/sld/index.js +3 -3
- 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-C7SN-FB3.d.ts → index-DdR1Auby.d.ts} +1 -1
- package/dist/{index-BRIkOPnd.d.cts → index-R0IwpG20.d.cts} +1 -1
- package/dist/index.cjs +80 -72
- package/dist/index.d.cts +9 -5
- package/dist/index.d.ts +9 -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-BVeUNdsU.d.ts → tools-B7EqXLgD.d.ts} +3 -3
- package/dist/{tools-DdhP1kWY.d.cts → tools-DHSVXHM9.d.cts} +3 -3
- package/package.json +1 -1
- package/dist/chunk-3IE7KZY4.js.map +0 -1
- package/dist/chunk-ECD5XHBM.cjs.map +0 -1
- package/dist/chunk-ITUPR7G5.js.map +0 -1
- package/dist/chunk-IZWKJVIC.js.map +0 -1
- package/dist/chunk-KSNUMQGS.cjs.map +0 -1
- package/dist/chunk-L7POWM5B.cjs.map +0 -1
- package/dist/chunk-LGABFD3L.js.map +0 -1
- package/dist/chunk-LRI4RH2N.js.map +0 -1
- package/dist/chunk-R66QG3XT.cjs.map +0 -1
- package/dist/chunk-SD6VDTQR.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
|
|
3
|
+
var chunk624UQ5R6_cjs = require('./chunk-624UQ5R6.cjs');
|
|
4
|
+
var chunkBXNOXOE4_cjs = require('./chunk-BXNOXOE4.cjs');
|
|
5
|
+
var chunkXJJUJ2EF_cjs = require('./chunk-XJJUJ2EF.cjs');
|
|
6
6
|
var chunkSUIDD2C5_cjs = require('./chunk-SUIDD2C5.cjs');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var chunkYB4XJY5L_cjs = require('./chunk-YB4XJY5L.cjs');
|
|
7
|
+
var chunkFXPOHPBE_cjs = require('./chunk-FXPOHPBE.cjs');
|
|
8
|
+
var chunkW3IXH6BN_cjs = require('./chunk-W3IXH6BN.cjs');
|
|
9
|
+
var chunkWZ5QBGPZ_cjs = require('./chunk-WZ5QBGPZ.cjs');
|
|
10
|
+
var chunk4THUHX2D_cjs = require('./chunk-4THUHX2D.cjs');
|
|
11
|
+
var chunkXO7WW3I6_cjs = require('./chunk-XO7WW3I6.cjs');
|
|
12
|
+
var chunkI6UJR4SG_cjs = require('./chunk-I6UJR4SG.cjs');
|
|
13
|
+
var chunkROX5KEZM_cjs = require('./chunk-ROX5KEZM.cjs');
|
|
14
|
+
var chunk3C5DKCBJ_cjs = require('./chunk-3C5DKCBJ.cjs');
|
|
15
|
+
var chunkZZFPXCAK_cjs = require('./chunk-ZZFPXCAK.cjs');
|
|
17
16
|
require('./chunk-3KRL2EGN.cjs');
|
|
18
|
-
var
|
|
19
|
-
var
|
|
17
|
+
var chunkS2CHBZ4A_cjs = require('./chunk-S2CHBZ4A.cjs');
|
|
18
|
+
var chunkHCBXTBFA_cjs = require('./chunk-HCBXTBFA.cjs');
|
|
20
19
|
require('./chunk-5UCXMYE7.cjs');
|
|
21
20
|
var chunk2F45Y2ON_cjs = require('./chunk-2F45Y2ON.cjs');
|
|
22
|
-
var
|
|
23
|
-
|
|
21
|
+
var chunkVZO2SX6Q_cjs = require('./chunk-VZO2SX6Q.cjs');
|
|
22
|
+
require('./chunk-SBB6C4OP.cjs');
|
|
23
|
+
var chunkR5E2LSN2_cjs = require('./chunk-R5E2LSN2.cjs');
|
|
24
24
|
require('./chunk-NAGUZFXX.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
|
+
...chunkXJJUJ2EF_cjs.SYMBOLS,
|
|
38
|
+
...chunkXJJUJ2EF_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 = chunkW3IXH6BN_cjs.renderSymbol(type);
|
|
95
95
|
} catch {
|
|
96
96
|
continue;
|
|
97
97
|
}
|
|
98
|
-
const g =
|
|
98
|
+
const g = chunkW3IXH6BN_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(chunk624UQ5R6_cjs.GEOMETRY)) {
|
|
115
115
|
let inner;
|
|
116
116
|
try {
|
|
117
|
-
inner =
|
|
117
|
+
inner = chunk624UQ5R6_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 chunkI6UJR4SG_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, chunkI6UJR4SG_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 = chunkVZO2SX6Q_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 } = chunk624UQ5R6_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 = chunk624UQ5R6_cjs.drawDeviceIcon(device, { x: 0, y: 0, w, h });
|
|
232
232
|
} catch {
|
|
233
233
|
continue;
|
|
234
234
|
}
|
|
@@ -286,71 +286,79 @@ function getSymbolCatalog(type) {
|
|
|
286
286
|
|
|
287
287
|
Object.defineProperty(exports, "decisiontree", {
|
|
288
288
|
enumerable: true,
|
|
289
|
-
get: function () { return
|
|
289
|
+
get: function () { return chunk624UQ5R6_cjs.decisiontree; }
|
|
290
|
+
});
|
|
291
|
+
Object.defineProperty(exports, "faulttree", {
|
|
292
|
+
enumerable: true,
|
|
293
|
+
get: function () { return chunk624UQ5R6_cjs.faulttree; }
|
|
290
294
|
});
|
|
291
295
|
Object.defineProperty(exports, "network", {
|
|
292
296
|
enumerable: true,
|
|
293
|
-
get: function () { return
|
|
297
|
+
get: function () { return chunk624UQ5R6_cjs.network; }
|
|
294
298
|
});
|
|
295
299
|
Object.defineProperty(exports, "parse", {
|
|
296
300
|
enumerable: true,
|
|
297
|
-
get: function () { return
|
|
301
|
+
get: function () { return chunk624UQ5R6_cjs.parse; }
|
|
298
302
|
});
|
|
299
303
|
Object.defineProperty(exports, "parseResult", {
|
|
300
304
|
enumerable: true,
|
|
301
|
-
get: function () { return
|
|
305
|
+
get: function () { return chunk624UQ5R6_cjs.parseResult; }
|
|
302
306
|
});
|
|
303
307
|
Object.defineProperty(exports, "pert", {
|
|
304
308
|
enumerable: true,
|
|
305
|
-
get: function () { return
|
|
309
|
+
get: function () { return chunk624UQ5R6_cjs.pert; }
|
|
306
310
|
});
|
|
307
311
|
Object.defineProperty(exports, "petri", {
|
|
308
312
|
enumerable: true,
|
|
309
|
-
get: function () { return
|
|
313
|
+
get: function () { return chunk624UQ5R6_cjs.petri; }
|
|
310
314
|
});
|
|
311
315
|
Object.defineProperty(exports, "pid", {
|
|
312
316
|
enumerable: true,
|
|
313
|
-
get: function () { return
|
|
317
|
+
get: function () { return chunk624UQ5R6_cjs.pid; }
|
|
314
318
|
});
|
|
315
319
|
Object.defineProperty(exports, "prisma", {
|
|
316
320
|
enumerable: true,
|
|
317
|
-
get: function () { return
|
|
321
|
+
get: function () { return chunk624UQ5R6_cjs.prisma; }
|
|
318
322
|
});
|
|
319
323
|
Object.defineProperty(exports, "render", {
|
|
320
324
|
enumerable: true,
|
|
321
|
-
get: function () { return
|
|
325
|
+
get: function () { return chunk624UQ5R6_cjs.render; }
|
|
322
326
|
});
|
|
323
327
|
Object.defineProperty(exports, "renderPreview", {
|
|
324
328
|
enumerable: true,
|
|
325
|
-
get: function () { return
|
|
329
|
+
get: function () { return chunk624UQ5R6_cjs.renderPreview; }
|
|
326
330
|
});
|
|
327
331
|
Object.defineProperty(exports, "renderResult", {
|
|
328
332
|
enumerable: true,
|
|
329
|
-
get: function () { return
|
|
333
|
+
get: function () { return chunk624UQ5R6_cjs.renderResult; }
|
|
330
334
|
});
|
|
331
335
|
Object.defineProperty(exports, "sequence", {
|
|
332
336
|
enumerable: true,
|
|
333
|
-
get: function () { return
|
|
337
|
+
get: function () { return chunk624UQ5R6_cjs.sequence; }
|
|
334
338
|
});
|
|
335
339
|
Object.defineProperty(exports, "state", {
|
|
336
340
|
enumerable: true,
|
|
337
|
-
get: function () { return
|
|
341
|
+
get: function () { return chunk624UQ5R6_cjs.state; }
|
|
338
342
|
});
|
|
339
343
|
Object.defineProperty(exports, "timeline", {
|
|
340
344
|
enumerable: true,
|
|
341
|
-
get: function () { return
|
|
345
|
+
get: function () { return chunk624UQ5R6_cjs.timeline; }
|
|
346
|
+
});
|
|
347
|
+
Object.defineProperty(exports, "umlclass", {
|
|
348
|
+
enumerable: true,
|
|
349
|
+
get: function () { return chunk624UQ5R6_cjs.umlclass; }
|
|
342
350
|
});
|
|
343
351
|
Object.defineProperty(exports, "usecase", {
|
|
344
352
|
enumerable: true,
|
|
345
|
-
get: function () { return
|
|
353
|
+
get: function () { return chunk624UQ5R6_cjs.usecase; }
|
|
346
354
|
});
|
|
347
355
|
Object.defineProperty(exports, "orgchart", {
|
|
348
356
|
enumerable: true,
|
|
349
|
-
get: function () { return
|
|
357
|
+
get: function () { return chunkBXNOXOE4_cjs.orgchart; }
|
|
350
358
|
});
|
|
351
359
|
Object.defineProperty(exports, "circuit", {
|
|
352
360
|
enumerable: true,
|
|
353
|
-
get: function () { return
|
|
361
|
+
get: function () { return chunkXJJUJ2EF_cjs.circuit; }
|
|
354
362
|
});
|
|
355
363
|
Object.defineProperty(exports, "blockdiagram", {
|
|
356
364
|
enumerable: true,
|
|
@@ -358,47 +366,47 @@ Object.defineProperty(exports, "blockdiagram", {
|
|
|
358
366
|
});
|
|
359
367
|
Object.defineProperty(exports, "ladder", {
|
|
360
368
|
enumerable: true,
|
|
361
|
-
get: function () { return
|
|
369
|
+
get: function () { return chunkFXPOHPBE_cjs.ladder; }
|
|
362
370
|
});
|
|
363
371
|
Object.defineProperty(exports, "sld", {
|
|
364
372
|
enumerable: true,
|
|
365
|
-
get: function () { return
|
|
373
|
+
get: function () { return chunkW3IXH6BN_cjs.sld; }
|
|
366
374
|
});
|
|
367
375
|
Object.defineProperty(exports, "entity", {
|
|
368
376
|
enumerable: true,
|
|
369
|
-
get: function () { return
|
|
377
|
+
get: function () { return chunkWZ5QBGPZ_cjs.entity; }
|
|
370
378
|
});
|
|
371
379
|
Object.defineProperty(exports, "fishbone", {
|
|
372
380
|
enumerable: true,
|
|
373
|
-
get: function () { return
|
|
381
|
+
get: function () { return chunk4THUHX2D_cjs.fishbone; }
|
|
374
382
|
});
|
|
375
383
|
Object.defineProperty(exports, "venn", {
|
|
376
384
|
enumerable: true,
|
|
377
|
-
get: function () { return
|
|
385
|
+
get: function () { return chunkXO7WW3I6_cjs.venn; }
|
|
378
386
|
});
|
|
379
387
|
Object.defineProperty(exports, "flowchart", {
|
|
380
388
|
enumerable: true,
|
|
381
|
-
get: function () { return
|
|
389
|
+
get: function () { return chunkI6UJR4SG_cjs.flowchart; }
|
|
382
390
|
});
|
|
383
391
|
Object.defineProperty(exports, "genogram", {
|
|
384
392
|
enumerable: true,
|
|
385
|
-
get: function () { return
|
|
393
|
+
get: function () { return chunkROX5KEZM_cjs.genogram; }
|
|
386
394
|
});
|
|
387
395
|
Object.defineProperty(exports, "ecomap", {
|
|
388
396
|
enumerable: true,
|
|
389
|
-
get: function () { return
|
|
397
|
+
get: function () { return chunk3C5DKCBJ_cjs.ecomap; }
|
|
390
398
|
});
|
|
391
399
|
Object.defineProperty(exports, "pedigree", {
|
|
392
400
|
enumerable: true,
|
|
393
|
-
get: function () { return
|
|
401
|
+
get: function () { return chunkZZFPXCAK_cjs.pedigree; }
|
|
394
402
|
});
|
|
395
403
|
Object.defineProperty(exports, "phylo", {
|
|
396
404
|
enumerable: true,
|
|
397
|
-
get: function () { return
|
|
405
|
+
get: function () { return chunkS2CHBZ4A_cjs.phylo; }
|
|
398
406
|
});
|
|
399
407
|
Object.defineProperty(exports, "sociogram", {
|
|
400
408
|
enumerable: true,
|
|
401
|
-
get: function () { return
|
|
409
|
+
get: function () { return chunkHCBXTBFA_cjs.sociogram; }
|
|
402
410
|
});
|
|
403
411
|
Object.defineProperty(exports, "timing", {
|
|
404
412
|
enumerable: true,
|
|
@@ -406,67 +414,67 @@ Object.defineProperty(exports, "timing", {
|
|
|
406
414
|
});
|
|
407
415
|
Object.defineProperty(exports, "logic", {
|
|
408
416
|
enumerable: true,
|
|
409
|
-
get: function () { return
|
|
417
|
+
get: function () { return chunkVZO2SX6Q_cjs.logic; }
|
|
410
418
|
});
|
|
411
419
|
Object.defineProperty(exports, "BASE_THEMES", {
|
|
412
420
|
enumerable: true,
|
|
413
|
-
get: function () { return
|
|
421
|
+
get: function () { return chunkR5E2LSN2_cjs.BASE_THEMES; }
|
|
414
422
|
});
|
|
415
423
|
Object.defineProperty(exports, "BIOLOGY_TOKENS", {
|
|
416
424
|
enumerable: true,
|
|
417
|
-
get: function () { return
|
|
425
|
+
get: function () { return chunkR5E2LSN2_cjs.BIOLOGY_TOKENS; }
|
|
418
426
|
});
|
|
419
427
|
Object.defineProperty(exports, "NETWORK_TOKENS", {
|
|
420
428
|
enumerable: true,
|
|
421
|
-
get: function () { return
|
|
429
|
+
get: function () { return chunkR5E2LSN2_cjs.NETWORK_TOKENS; }
|
|
422
430
|
});
|
|
423
431
|
Object.defineProperty(exports, "PERSON_TOKENS", {
|
|
424
432
|
enumerable: true,
|
|
425
|
-
get: function () { return
|
|
433
|
+
get: function () { return chunkR5E2LSN2_cjs.PERSON_TOKENS; }
|
|
426
434
|
});
|
|
427
435
|
Object.defineProperty(exports, "PETRI_TOKENS", {
|
|
428
436
|
enumerable: true,
|
|
429
|
-
get: function () { return
|
|
437
|
+
get: function () { return chunkR5E2LSN2_cjs.PETRI_TOKENS; }
|
|
430
438
|
});
|
|
431
439
|
Object.defineProperty(exports, "VENN_TOKENS", {
|
|
432
440
|
enumerable: true,
|
|
433
|
-
get: function () { return
|
|
441
|
+
get: function () { return chunkR5E2LSN2_cjs.VENN_TOKENS; }
|
|
434
442
|
});
|
|
435
443
|
Object.defineProperty(exports, "resolveBaseTheme", {
|
|
436
444
|
enumerable: true,
|
|
437
|
-
get: function () { return
|
|
445
|
+
get: function () { return chunkR5E2LSN2_cjs.resolveBaseTheme; }
|
|
438
446
|
});
|
|
439
447
|
Object.defineProperty(exports, "resolveBiologyTheme", {
|
|
440
448
|
enumerable: true,
|
|
441
|
-
get: function () { return
|
|
449
|
+
get: function () { return chunkR5E2LSN2_cjs.resolveBiologyTheme; }
|
|
442
450
|
});
|
|
443
451
|
Object.defineProperty(exports, "resolveFishboneTheme", {
|
|
444
452
|
enumerable: true,
|
|
445
|
-
get: function () { return
|
|
453
|
+
get: function () { return chunkR5E2LSN2_cjs.resolveFishboneTheme; }
|
|
446
454
|
});
|
|
447
455
|
Object.defineProperty(exports, "resolveGenogramTheme", {
|
|
448
456
|
enumerable: true,
|
|
449
|
-
get: function () { return
|
|
457
|
+
get: function () { return chunkR5E2LSN2_cjs.resolveGenogramTheme; }
|
|
450
458
|
});
|
|
451
459
|
Object.defineProperty(exports, "resolveNetworkTheme", {
|
|
452
460
|
enumerable: true,
|
|
453
|
-
get: function () { return
|
|
461
|
+
get: function () { return chunkR5E2LSN2_cjs.resolveNetworkTheme; }
|
|
454
462
|
});
|
|
455
463
|
Object.defineProperty(exports, "resolvePersonTheme", {
|
|
456
464
|
enumerable: true,
|
|
457
|
-
get: function () { return
|
|
465
|
+
get: function () { return chunkR5E2LSN2_cjs.resolvePersonTheme; }
|
|
458
466
|
});
|
|
459
467
|
Object.defineProperty(exports, "resolvePetriTheme", {
|
|
460
468
|
enumerable: true,
|
|
461
|
-
get: function () { return
|
|
469
|
+
get: function () { return chunkR5E2LSN2_cjs.resolvePetriTheme; }
|
|
462
470
|
});
|
|
463
471
|
Object.defineProperty(exports, "resolveTimelineTheme", {
|
|
464
472
|
enumerable: true,
|
|
465
|
-
get: function () { return
|
|
473
|
+
get: function () { return chunkR5E2LSN2_cjs.resolveTimelineTheme; }
|
|
466
474
|
});
|
|
467
475
|
Object.defineProperty(exports, "resolveVennTheme", {
|
|
468
476
|
enumerable: true,
|
|
469
|
-
get: function () { return
|
|
477
|
+
get: function () { return chunkR5E2LSN2_cjs.resolveVennTheme; }
|
|
470
478
|
});
|
|
471
479
|
exports.SYMBOL_CATALOG_TYPES = SYMBOL_CATALOG_TYPES;
|
|
472
480
|
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-BXkOT7GL.cjs';
|
|
2
|
+
import { D as DiagramPlugin, a as DiagramType } from './diagnostics-CzHW0RCo.cjs';
|
|
3
|
+
export { S as SchematexDiagnostic, b as SchematexParseResult, c as SchematexRenderResult, d as SchematexResultStatus } from './diagnostics-CzHW0RCo.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-R0IwpG20.cjs';
|
|
19
19
|
export { orgchart } from './diagrams/orgchart/index.cjs';
|
|
20
20
|
|
|
21
21
|
declare const decisiontree: DiagramPlugin;
|
|
@@ -38,6 +38,10 @@ declare const petri: DiagramPlugin;
|
|
|
38
38
|
|
|
39
39
|
declare const network: DiagramPlugin;
|
|
40
40
|
|
|
41
|
+
declare const umlclass: DiagramPlugin;
|
|
42
|
+
|
|
43
|
+
declare const faulttree: DiagramPlugin;
|
|
44
|
+
|
|
41
45
|
/**
|
|
42
46
|
* Domain symbol catalogs — the real symbols an engine uses *inside* a diagram
|
|
43
47
|
* (circuit components, SLD apparatus, P&ID equipment, flowchart node icons),
|
|
@@ -65,4 +69,4 @@ interface SymbolCatalog {
|
|
|
65
69
|
declare const SYMBOL_CATALOG_TYPES: DiagramType[];
|
|
66
70
|
declare function getSymbolCatalog(type: string): SymbolCatalog | null;
|
|
67
71
|
|
|
68
|
-
export { SYMBOL_CATALOG_TYPES, type SymbolCatalog, type SymbolCatalogEntry, decisiontree, getSymbolCatalog, network, pert, petri, pid, prisma, sequence, state, timeline, usecase };
|
|
72
|
+
export { SYMBOL_CATALOG_TYPES, type SymbolCatalog, type SymbolCatalogEntry, decisiontree, faulttree, getSymbolCatalog, network, pert, petri, pid, prisma, sequence, state, timeline, umlclass, usecase };
|
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-BIqZjEDf.js';
|
|
2
|
+
import { D as DiagramPlugin, a as DiagramType } from './diagnostics-CzHW0RCo.js';
|
|
3
|
+
export { S as SchematexDiagnostic, b as SchematexParseResult, c as SchematexRenderResult, d as SchematexResultStatus } from './diagnostics-CzHW0RCo.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-DdR1Auby.js';
|
|
19
19
|
export { orgchart } from './diagrams/orgchart/index.js';
|
|
20
20
|
|
|
21
21
|
declare const decisiontree: DiagramPlugin;
|
|
@@ -38,6 +38,10 @@ declare const petri: DiagramPlugin;
|
|
|
38
38
|
|
|
39
39
|
declare const network: DiagramPlugin;
|
|
40
40
|
|
|
41
|
+
declare const umlclass: DiagramPlugin;
|
|
42
|
+
|
|
43
|
+
declare const faulttree: DiagramPlugin;
|
|
44
|
+
|
|
41
45
|
/**
|
|
42
46
|
* Domain symbol catalogs — the real symbols an engine uses *inside* a diagram
|
|
43
47
|
* (circuit components, SLD apparatus, P&ID equipment, flowchart node icons),
|
|
@@ -65,4 +69,4 @@ interface SymbolCatalog {
|
|
|
65
69
|
declare const SYMBOL_CATALOG_TYPES: DiagramType[];
|
|
66
70
|
declare function getSymbolCatalog(type: string): SymbolCatalog | null;
|
|
67
71
|
|
|
68
|
-
export { SYMBOL_CATALOG_TYPES, type SymbolCatalog, type SymbolCatalogEntry, decisiontree, getSymbolCatalog, network, pert, petri, pid, prisma, sequence, state, timeline, usecase };
|
|
72
|
+
export { SYMBOL_CATALOG_TYPES, type SymbolCatalog, type SymbolCatalogEntry, decisiontree, faulttree, getSymbolCatalog, network, pert, petri, pid, prisma, sequence, state, timeline, umlclass, usecase };
|
package/dist/index.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { iconSize, drawDeviceIcon, GEOMETRY, renderEquip } from './chunk-
|
|
2
|
-
export { decisiontree, network, parse, parseResult, pert, petri, pid, prisma, render, renderPreview, renderResult, sequence, state, timeline, usecase } from './chunk-
|
|
3
|
-
export { orgchart } from './chunk-
|
|
4
|
-
import { EXTRA_SYMBOLS, SYMBOLS } from './chunk-
|
|
5
|
-
export { circuit } from './chunk-
|
|
1
|
+
import { iconSize, drawDeviceIcon, GEOMETRY, renderEquip } from './chunk-MI77LY6A.js';
|
|
2
|
+
export { decisiontree, faulttree, network, parse, parseResult, pert, petri, pid, prisma, render, renderPreview, renderResult, sequence, state, timeline, umlclass, usecase } from './chunk-MI77LY6A.js';
|
|
3
|
+
export { orgchart } from './chunk-IPEHLRTI.js';
|
|
4
|
+
import { EXTRA_SYMBOLS, SYMBOLS } from './chunk-35XCP2E4.js';
|
|
5
|
+
export { circuit } from './chunk-35XCP2E4.js';
|
|
6
6
|
export { blockdiagram } from './chunk-EPKIJEH7.js';
|
|
7
|
-
export { ladder } from './chunk-
|
|
8
|
-
import { renderSymbol, geometryFor } from './chunk-
|
|
9
|
-
export { sld } from './chunk-
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export { pedigree } from './chunk-N5B242WY.js';
|
|
7
|
+
export { ladder } from './chunk-LGFB4H5B.js';
|
|
8
|
+
import { renderSymbol, geometryFor } from './chunk-OANWVUBA.js';
|
|
9
|
+
export { sld } from './chunk-OANWVUBA.js';
|
|
10
|
+
export { entity } from './chunk-FHZTWWI6.js';
|
|
11
|
+
export { fishbone } from './chunk-XSPENTEG.js';
|
|
12
|
+
export { venn } from './chunk-XEIVA2CT.js';
|
|
13
|
+
import { iconNames, renderIcon } from './chunk-MKECYIWN.js';
|
|
14
|
+
export { flowchart } from './chunk-MKECYIWN.js';
|
|
15
|
+
export { genogram } from './chunk-B7ATOBL7.js';
|
|
16
|
+
export { ecomap } from './chunk-OHLNH7IO.js';
|
|
17
|
+
export { pedigree } from './chunk-KPKGMOTS.js';
|
|
19
18
|
import './chunk-2KTQ75LN.js';
|
|
20
|
-
export { phylo } from './chunk-
|
|
21
|
-
export { sociogram } from './chunk-
|
|
19
|
+
export { phylo } from './chunk-GV5QLYTW.js';
|
|
20
|
+
export { sociogram } from './chunk-GPC5BWLI.js';
|
|
22
21
|
import './chunk-FO7BLCEW.js';
|
|
23
22
|
export { timing } from './chunk-P26FCZP3.js';
|
|
24
|
-
import { getGateGeometry } from './chunk-
|
|
25
|
-
export { logic } from './chunk-
|
|
26
|
-
|
|
23
|
+
import { getGateGeometry } from './chunk-RVHOCGHT.js';
|
|
24
|
+
export { logic } from './chunk-RVHOCGHT.js';
|
|
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-AORGFBEH.js';
|
|
27
27
|
import './chunk-5IKOLUWK.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-
|
|
3
|
+
var chunk624UQ5R6_cjs = require('./chunk-624UQ5R6.cjs');
|
|
4
|
+
require('./chunk-BXNOXOE4.cjs');
|
|
5
|
+
require('./chunk-XJJUJ2EF.cjs');
|
|
6
6
|
require('./chunk-SUIDD2C5.cjs');
|
|
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-
|
|
16
|
-
require('./chunk-YB4XJY5L.cjs');
|
|
7
|
+
require('./chunk-FXPOHPBE.cjs');
|
|
8
|
+
require('./chunk-W3IXH6BN.cjs');
|
|
9
|
+
require('./chunk-WZ5QBGPZ.cjs');
|
|
10
|
+
require('./chunk-4THUHX2D.cjs');
|
|
11
|
+
require('./chunk-XO7WW3I6.cjs');
|
|
12
|
+
require('./chunk-I6UJR4SG.cjs');
|
|
13
|
+
require('./chunk-ROX5KEZM.cjs');
|
|
14
|
+
require('./chunk-3C5DKCBJ.cjs');
|
|
15
|
+
require('./chunk-ZZFPXCAK.cjs');
|
|
17
16
|
require('./chunk-3KRL2EGN.cjs');
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-S2CHBZ4A.cjs');
|
|
18
|
+
require('./chunk-HCBXTBFA.cjs');
|
|
20
19
|
require('./chunk-5UCXMYE7.cjs');
|
|
21
20
|
require('./chunk-2F45Y2ON.cjs');
|
|
22
|
-
require('./chunk-
|
|
23
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-VZO2SX6Q.cjs');
|
|
22
|
+
require('./chunk-SBB6C4OP.cjs');
|
|
23
|
+
require('./chunk-R5E2LSN2.cjs');
|
|
24
24
|
require('./chunk-NAGUZFXX.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 = chunk624UQ5R6_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-BXkOT7GL.cjs';
|
|
3
|
+
import './diagnostics-CzHW0RCo.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-BIqZjEDf.js';
|
|
3
|
+
import './diagnostics-CzHW0RCo.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-
|
|
1
|
+
import { renderResult } from './chunk-MI77LY6A.js';
|
|
2
|
+
import './chunk-IPEHLRTI.js';
|
|
3
|
+
import './chunk-35XCP2E4.js';
|
|
4
4
|
import './chunk-EPKIJEH7.js';
|
|
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-
|
|
14
|
-
import './chunk-N5B242WY.js';
|
|
5
|
+
import './chunk-LGFB4H5B.js';
|
|
6
|
+
import './chunk-OANWVUBA.js';
|
|
7
|
+
import './chunk-FHZTWWI6.js';
|
|
8
|
+
import './chunk-XSPENTEG.js';
|
|
9
|
+
import './chunk-XEIVA2CT.js';
|
|
10
|
+
import './chunk-MKECYIWN.js';
|
|
11
|
+
import './chunk-B7ATOBL7.js';
|
|
12
|
+
import './chunk-OHLNH7IO.js';
|
|
13
|
+
import './chunk-KPKGMOTS.js';
|
|
15
14
|
import './chunk-2KTQ75LN.js';
|
|
16
|
-
import './chunk-
|
|
17
|
-
import './chunk-
|
|
15
|
+
import './chunk-GV5QLYTW.js';
|
|
16
|
+
import './chunk-GPC5BWLI.js';
|
|
18
17
|
import './chunk-FO7BLCEW.js';
|
|
19
18
|
import './chunk-P26FCZP3.js';
|
|
20
|
-
import './chunk-
|
|
21
|
-
import './chunk-
|
|
19
|
+
import './chunk-RVHOCGHT.js';
|
|
20
|
+
import './chunk-PIV2A3HG.js';
|
|
21
|
+
import './chunk-AORGFBEH.js';
|
|
22
22
|
import './chunk-5IKOLUWK.js';
|
|
23
23
|
import './chunk-SYYBKDL7.js';
|
|
24
24
|
import { useMemo } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SchematexConfig } from './api-
|
|
2
|
-
import { a as DiagramType } from './diagnostics-
|
|
1
|
+
import { S as SchematexConfig } from './api-BIqZjEDf.js';
|
|
2
|
+
import { a as DiagramType } from './diagnostics-CzHW0RCo.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Diagram registry — metadata for every diagram type Schematex supports.
|
|
@@ -8,7 +8,7 @@ import { a as DiagramType } from './diagnostics-DRxhodP6.js';
|
|
|
8
8
|
* are tuned to help the model pick the right type for a user request.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
type DiagramCluster = "relationships" | "electrical-industrial" | "corporate-legal" | "causality-analysis" | "generic" | "strategy" | "knowledge" | "behavior-modeling" | "concurrency" | "research" | "project-management" | "network-infrastructure";
|
|
11
|
+
type DiagramCluster = "relationships" | "electrical-industrial" | "corporate-legal" | "causality-analysis" | "generic" | "strategy" | "knowledge" | "behavior-modeling" | "concurrency" | "research" | "project-management" | "network-infrastructure" | "software-uml" | "risk-reliability";
|
|
12
12
|
interface DiagramMeta {
|
|
13
13
|
/** Canonical type id — matches `DiagramType` and plugin keys. */
|
|
14
14
|
type: DiagramType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SchematexConfig } from './api-
|
|
2
|
-
import { a as DiagramType } from './diagnostics-
|
|
1
|
+
import { S as SchematexConfig } from './api-BXkOT7GL.cjs';
|
|
2
|
+
import { a as DiagramType } from './diagnostics-CzHW0RCo.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Diagram registry — metadata for every diagram type Schematex supports.
|
|
@@ -8,7 +8,7 @@ import { a as DiagramType } from './diagnostics-DRxhodP6.cjs';
|
|
|
8
8
|
* are tuned to help the model pick the right type for a user request.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
type DiagramCluster = "relationships" | "electrical-industrial" | "corporate-legal" | "causality-analysis" | "generic" | "strategy" | "knowledge" | "behavior-modeling" | "concurrency" | "research" | "project-management" | "network-infrastructure";
|
|
11
|
+
type DiagramCluster = "relationships" | "electrical-industrial" | "corporate-legal" | "causality-analysis" | "generic" | "strategy" | "knowledge" | "behavior-modeling" | "concurrency" | "research" | "project-management" | "network-infrastructure" | "software-uml" | "risk-reliability";
|
|
12
12
|
interface DiagramMeta {
|
|
13
13
|
/** Canonical type id — matches `DiagramType` and plugin keys. */
|
|
14
14
|
type: DiagramType;
|