schematex 0.6.5 → 0.6.7
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 +3 -3
- package/dist/ai/ai-sdk.d.ts +3 -3
- 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-BIqZjEDf.d.ts → api-DIJM_mqp.d.ts} +2 -2
- package/dist/{api-BXkOT7GL.d.cts → api-JaBtsUT8.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-3C5DKCBJ.cjs → chunk-2SZJQVPN.cjs} +12 -12
- package/dist/{chunk-3C5DKCBJ.cjs.map → chunk-2SZJQVPN.cjs.map} +1 -1
- package/dist/{chunk-W3IXH6BN.cjs → chunk-34O3C6OC.cjs} +4 -4
- package/dist/chunk-34O3C6OC.cjs.map +1 -0
- package/dist/{chunk-RVHOCGHT.js → chunk-3GAPHXCE.js} +3 -3
- package/dist/{chunk-RVHOCGHT.js.map → chunk-3GAPHXCE.js.map} +1 -1
- package/dist/{chunk-HCBXTBFA.cjs → chunk-5FYPSIGD.cjs} +12 -12
- package/dist/{chunk-HCBXTBFA.cjs.map → chunk-5FYPSIGD.cjs.map} +1 -1
- package/dist/{chunk-B7ATOBL7.js → chunk-6NUAGU6O.js} +3 -3
- package/dist/{chunk-B7ATOBL7.js.map → chunk-6NUAGU6O.js.map} +1 -1
- package/dist/{chunk-WZ5QBGPZ.cjs → chunk-77GPD4YQ.cjs} +4 -4
- package/dist/{chunk-WZ5QBGPZ.cjs.map → chunk-77GPD4YQ.cjs.map} +1 -1
- package/dist/{chunk-S2CHBZ4A.cjs → chunk-BL57NQKN.cjs} +13 -13
- package/dist/{chunk-S2CHBZ4A.cjs.map → chunk-BL57NQKN.cjs.map} +1 -1
- package/dist/{chunk-EPKIJEH7.js → chunk-C7V57V6O.js} +54 -8
- package/dist/chunk-C7V57V6O.js.map +1 -0
- package/dist/{chunk-I6UJR4SG.cjs → chunk-DR3DDDQY.cjs} +4 -4
- package/dist/{chunk-I6UJR4SG.cjs.map → chunk-DR3DDDQY.cjs.map} +1 -1
- package/dist/{chunk-ZZHQBAC3.js → chunk-EVEPI423.js} +139 -5
- package/dist/chunk-EVEPI423.js.map +1 -0
- package/dist/{chunk-GV5QLYTW.js → chunk-HL5PS6MG.js} +3 -3
- package/dist/{chunk-GV5QLYTW.js.map → chunk-HL5PS6MG.js.map} +1 -1
- package/dist/{chunk-MKECYIWN.js → chunk-HPEAE3JM.js} +3 -3
- package/dist/{chunk-MKECYIWN.js.map → chunk-HPEAE3JM.js.map} +1 -1
- package/dist/{chunk-KPKGMOTS.js → chunk-JN6FHUC6.js} +3 -3
- package/dist/{chunk-KPKGMOTS.js.map → chunk-JN6FHUC6.js.map} +1 -1
- package/dist/{chunk-OANWVUBA.js → chunk-JTGTWBAD.js} +3 -3
- package/dist/chunk-JTGTWBAD.js.map +1 -0
- package/dist/{chunk-OHLNH7IO.js → chunk-K2D6VFLP.js} +3 -3
- package/dist/{chunk-OHLNH7IO.js.map → chunk-K2D6VFLP.js.map} +1 -1
- package/dist/{chunk-ZZFPXCAK.cjs → chunk-KGOZBABH.cjs} +12 -12
- package/dist/{chunk-ZZFPXCAK.cjs.map → chunk-KGOZBABH.cjs.map} +1 -1
- package/dist/{chunk-624UQ5R6.cjs → chunk-LDONE225.cjs} +1104 -442
- package/dist/chunk-LDONE225.cjs.map +1 -0
- package/dist/{chunk-XO7WW3I6.cjs → chunk-LPAWZYDU.cjs} +4 -4
- package/dist/{chunk-XO7WW3I6.cjs.map → chunk-LPAWZYDU.cjs.map} +1 -1
- package/dist/{chunk-IPEHLRTI.js → chunk-MPCSWRZC.js} +76 -14
- package/dist/chunk-MPCSWRZC.js.map +1 -0
- package/dist/{chunk-ROX5KEZM.cjs → chunk-NFZMNKOR.cjs} +15 -15
- package/dist/{chunk-ROX5KEZM.cjs.map → chunk-NFZMNKOR.cjs.map} +1 -1
- package/dist/{chunk-R5E2LSN2.cjs → chunk-NZT5P2XZ.cjs} +73 -2
- package/dist/chunk-NZT5P2XZ.cjs.map +1 -0
- package/dist/{chunk-GPC5BWLI.js → chunk-OFKRELZK.js} +3 -3
- package/dist/{chunk-GPC5BWLI.js.map → chunk-OFKRELZK.js.map} +1 -1
- package/dist/{chunk-XJJUJ2EF.cjs → chunk-QBS4F44Q.cjs} +517 -10
- package/dist/chunk-QBS4F44Q.cjs.map +1 -0
- package/dist/{chunk-SUIDD2C5.cjs → chunk-SHMG7BVF.cjs} +54 -8
- package/dist/chunk-SHMG7BVF.cjs.map +1 -0
- package/dist/{chunk-XEIVA2CT.js → chunk-T3FV73LM.js} +3 -3
- package/dist/{chunk-XEIVA2CT.js.map → chunk-T3FV73LM.js.map} +1 -1
- package/dist/{chunk-4THUHX2D.cjs → chunk-T5KHNJ67.cjs} +5 -5
- package/dist/{chunk-4THUHX2D.cjs.map → chunk-T5KHNJ67.cjs.map} +1 -1
- package/dist/{chunk-FXPOHPBE.cjs → chunk-TACTEF2N.cjs} +4 -4
- package/dist/{chunk-FXPOHPBE.cjs.map → chunk-TACTEF2N.cjs.map} +1 -1
- package/dist/{chunk-MI77LY6A.js → chunk-TRUJ4Q6V.js} +1044 -383
- package/dist/chunk-TRUJ4Q6V.js.map +1 -0
- package/dist/{chunk-BXNOXOE4.cjs → chunk-UHPGWO77.cjs} +77 -14
- package/dist/chunk-UHPGWO77.cjs.map +1 -0
- package/dist/{chunk-AORGFBEH.js → chunk-UK6HF6PE.js} +73 -3
- package/dist/chunk-UK6HF6PE.js.map +1 -0
- package/dist/{chunk-35XCP2E4.js → chunk-WAKRRGAV.js} +516 -10
- package/dist/chunk-WAKRRGAV.js.map +1 -0
- package/dist/{chunk-T3ZN5P32.cjs → chunk-WK36Z63Y.cjs} +141 -7
- package/dist/chunk-WK36Z63Y.cjs.map +1 -0
- package/dist/{chunk-LGFB4H5B.js → chunk-WU2N6ZVM.js} +3 -3
- package/dist/{chunk-LGFB4H5B.js.map → chunk-WU2N6ZVM.js.map} +1 -1
- package/dist/{chunk-FHZTWWI6.js → chunk-YMZTXOUG.js} +3 -3
- package/dist/{chunk-FHZTWWI6.js.map → chunk-YMZTXOUG.js.map} +1 -1
- package/dist/{chunk-XSPENTEG.js → chunk-YTGOLTLJ.js} +3 -3
- package/dist/{chunk-XSPENTEG.js.map → chunk-YTGOLTLJ.js.map} +1 -1
- package/dist/{chunk-VZO2SX6Q.cjs → chunk-Z3A2UNK2.cjs} +4 -4
- package/dist/{chunk-VZO2SX6Q.cjs.map → chunk-Z3A2UNK2.cjs.map} +1 -1
- package/dist/{diagnostics-CzHW0RCo.d.cts → diagnostics-BKRow1ur.d.cts} +15 -1
- package/dist/{diagnostics-CzHW0RCo.d.ts → diagnostics-BKRow1ur.d.ts} +15 -1
- package/dist/diagrams/blockdiagram/index.cjs +5 -5
- package/dist/diagrams/blockdiagram/index.d.cts +1 -1
- package/dist/diagrams/blockdiagram/index.d.ts +1 -1
- package/dist/diagrams/blockdiagram/index.js +1 -1
- package/dist/diagrams/circuit/index.cjs +12 -8
- package/dist/diagrams/circuit/index.d.cts +13 -2
- package/dist/diagrams/circuit/index.d.ts +13 -2
- 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 +11 -7
- package/dist/diagrams/orgchart/index.d.cts +27 -2
- package/dist/diagrams/orgchart/index.d.ts +27 -2
- 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-R0IwpG20.d.cts → index-DU2h1Y-a.d.cts} +1 -1
- package/dist/{index-DdR1Auby.d.ts → index-Dq3Mfxay.d.ts} +1 -1
- package/dist/index.cjs +79 -75
- 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-B7EqXLgD.d.ts → tools-A0HRZ8jj.d.ts} +11 -2
- package/dist/{tools-DHSVXHM9.d.cts → tools-OzOQnlnV.d.cts} +11 -2
- package/package.json +1 -1
- package/dist/chunk-35XCP2E4.js.map +0 -1
- package/dist/chunk-624UQ5R6.cjs.map +0 -1
- package/dist/chunk-AORGFBEH.js.map +0 -1
- package/dist/chunk-BXNOXOE4.cjs.map +0 -1
- package/dist/chunk-EPKIJEH7.js.map +0 -1
- package/dist/chunk-IPEHLRTI.js.map +0 -1
- package/dist/chunk-MI77LY6A.js.map +0 -1
- package/dist/chunk-OANWVUBA.js.map +0 -1
- package/dist/chunk-R5E2LSN2.cjs.map +0 -1
- package/dist/chunk-SUIDD2C5.cjs.map +0 -1
- package/dist/chunk-T3ZN5P32.cjs.map +0 -1
- package/dist/chunk-W3IXH6BN.cjs.map +0 -1
- package/dist/chunk-XJJUJ2EF.cjs.map +0 -1
- package/dist/chunk-ZZHQBAC3.js.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 chunkLDONE225_cjs = require('./chunk-LDONE225.cjs');
|
|
4
|
+
var chunkUHPGWO77_cjs = require('./chunk-UHPGWO77.cjs');
|
|
5
|
+
var chunkQBS4F44Q_cjs = require('./chunk-QBS4F44Q.cjs');
|
|
6
|
+
var chunkSHMG7BVF_cjs = require('./chunk-SHMG7BVF.cjs');
|
|
7
|
+
var chunkTACTEF2N_cjs = require('./chunk-TACTEF2N.cjs');
|
|
8
|
+
var chunk34O3C6OC_cjs = require('./chunk-34O3C6OC.cjs');
|
|
9
|
+
var chunk77GPD4YQ_cjs = require('./chunk-77GPD4YQ.cjs');
|
|
10
|
+
var chunkT5KHNJ67_cjs = require('./chunk-T5KHNJ67.cjs');
|
|
11
|
+
var chunkLPAWZYDU_cjs = require('./chunk-LPAWZYDU.cjs');
|
|
12
|
+
var chunkDR3DDDQY_cjs = require('./chunk-DR3DDDQY.cjs');
|
|
13
|
+
var chunkNFZMNKOR_cjs = require('./chunk-NFZMNKOR.cjs');
|
|
14
|
+
var chunk2SZJQVPN_cjs = require('./chunk-2SZJQVPN.cjs');
|
|
15
|
+
var chunkKGOZBABH_cjs = require('./chunk-KGOZBABH.cjs');
|
|
16
16
|
require('./chunk-3KRL2EGN.cjs');
|
|
17
|
-
var
|
|
18
|
-
var
|
|
17
|
+
var chunkBL57NQKN_cjs = require('./chunk-BL57NQKN.cjs');
|
|
18
|
+
var chunk5FYPSIGD_cjs = require('./chunk-5FYPSIGD.cjs');
|
|
19
19
|
require('./chunk-5UCXMYE7.cjs');
|
|
20
20
|
var chunk2F45Y2ON_cjs = require('./chunk-2F45Y2ON.cjs');
|
|
21
|
-
var
|
|
21
|
+
var chunkZ3A2UNK2_cjs = require('./chunk-Z3A2UNK2.cjs');
|
|
22
22
|
require('./chunk-SBB6C4OP.cjs');
|
|
23
|
-
var
|
|
23
|
+
var chunkNZT5P2XZ_cjs = require('./chunk-NZT5P2XZ.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
|
+
...chunkQBS4F44Q_cjs.SYMBOLS,
|
|
38
|
+
...chunkQBS4F44Q_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 = chunk34O3C6OC_cjs.renderSymbol(type);
|
|
95
95
|
} catch {
|
|
96
96
|
continue;
|
|
97
97
|
}
|
|
98
|
-
const g =
|
|
98
|
+
const g = chunk34O3C6OC_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(chunkLDONE225_cjs.GEOMETRY)) {
|
|
115
115
|
let inner;
|
|
116
116
|
try {
|
|
117
|
-
inner =
|
|
117
|
+
inner = chunkLDONE225_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 chunkDR3DDDQY_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, chunkDR3DDDQY_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 = chunkZ3A2UNK2_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 } = chunkLDONE225_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 = chunkLDONE225_cjs.drawDeviceIcon(device, { x: 0, y: 0, w, h });
|
|
232
232
|
} catch {
|
|
233
233
|
continue;
|
|
234
234
|
}
|
|
@@ -284,129 +284,133 @@ function getSymbolCatalog(type) {
|
|
|
284
284
|
return factory ? factory() : null;
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
+
Object.defineProperty(exports, "bowtie", {
|
|
288
|
+
enumerable: true,
|
|
289
|
+
get: function () { return chunkLDONE225_cjs.bowtie; }
|
|
290
|
+
});
|
|
287
291
|
Object.defineProperty(exports, "decisiontree", {
|
|
288
292
|
enumerable: true,
|
|
289
|
-
get: function () { return
|
|
293
|
+
get: function () { return chunkLDONE225_cjs.decisiontree; }
|
|
290
294
|
});
|
|
291
295
|
Object.defineProperty(exports, "faulttree", {
|
|
292
296
|
enumerable: true,
|
|
293
|
-
get: function () { return
|
|
297
|
+
get: function () { return chunkLDONE225_cjs.faulttree; }
|
|
294
298
|
});
|
|
295
299
|
Object.defineProperty(exports, "network", {
|
|
296
300
|
enumerable: true,
|
|
297
|
-
get: function () { return
|
|
301
|
+
get: function () { return chunkLDONE225_cjs.network; }
|
|
298
302
|
});
|
|
299
303
|
Object.defineProperty(exports, "parse", {
|
|
300
304
|
enumerable: true,
|
|
301
|
-
get: function () { return
|
|
305
|
+
get: function () { return chunkLDONE225_cjs.parse; }
|
|
302
306
|
});
|
|
303
307
|
Object.defineProperty(exports, "parseResult", {
|
|
304
308
|
enumerable: true,
|
|
305
|
-
get: function () { return
|
|
309
|
+
get: function () { return chunkLDONE225_cjs.parseResult; }
|
|
306
310
|
});
|
|
307
311
|
Object.defineProperty(exports, "pert", {
|
|
308
312
|
enumerable: true,
|
|
309
|
-
get: function () { return
|
|
313
|
+
get: function () { return chunkLDONE225_cjs.pert; }
|
|
310
314
|
});
|
|
311
315
|
Object.defineProperty(exports, "petri", {
|
|
312
316
|
enumerable: true,
|
|
313
|
-
get: function () { return
|
|
317
|
+
get: function () { return chunkLDONE225_cjs.petri; }
|
|
314
318
|
});
|
|
315
319
|
Object.defineProperty(exports, "pid", {
|
|
316
320
|
enumerable: true,
|
|
317
|
-
get: function () { return
|
|
321
|
+
get: function () { return chunkLDONE225_cjs.pid; }
|
|
318
322
|
});
|
|
319
323
|
Object.defineProperty(exports, "prisma", {
|
|
320
324
|
enumerable: true,
|
|
321
|
-
get: function () { return
|
|
325
|
+
get: function () { return chunkLDONE225_cjs.prisma; }
|
|
322
326
|
});
|
|
323
327
|
Object.defineProperty(exports, "render", {
|
|
324
328
|
enumerable: true,
|
|
325
|
-
get: function () { return
|
|
329
|
+
get: function () { return chunkLDONE225_cjs.render; }
|
|
326
330
|
});
|
|
327
331
|
Object.defineProperty(exports, "renderPreview", {
|
|
328
332
|
enumerable: true,
|
|
329
|
-
get: function () { return
|
|
333
|
+
get: function () { return chunkLDONE225_cjs.renderPreview; }
|
|
330
334
|
});
|
|
331
335
|
Object.defineProperty(exports, "renderResult", {
|
|
332
336
|
enumerable: true,
|
|
333
|
-
get: function () { return
|
|
337
|
+
get: function () { return chunkLDONE225_cjs.renderResult; }
|
|
334
338
|
});
|
|
335
339
|
Object.defineProperty(exports, "sequence", {
|
|
336
340
|
enumerable: true,
|
|
337
|
-
get: function () { return
|
|
341
|
+
get: function () { return chunkLDONE225_cjs.sequence; }
|
|
338
342
|
});
|
|
339
343
|
Object.defineProperty(exports, "state", {
|
|
340
344
|
enumerable: true,
|
|
341
|
-
get: function () { return
|
|
345
|
+
get: function () { return chunkLDONE225_cjs.state; }
|
|
342
346
|
});
|
|
343
347
|
Object.defineProperty(exports, "timeline", {
|
|
344
348
|
enumerable: true,
|
|
345
|
-
get: function () { return
|
|
349
|
+
get: function () { return chunkLDONE225_cjs.timeline; }
|
|
346
350
|
});
|
|
347
351
|
Object.defineProperty(exports, "umlclass", {
|
|
348
352
|
enumerable: true,
|
|
349
|
-
get: function () { return
|
|
353
|
+
get: function () { return chunkLDONE225_cjs.umlclass; }
|
|
350
354
|
});
|
|
351
355
|
Object.defineProperty(exports, "usecase", {
|
|
352
356
|
enumerable: true,
|
|
353
|
-
get: function () { return
|
|
357
|
+
get: function () { return chunkLDONE225_cjs.usecase; }
|
|
354
358
|
});
|
|
355
359
|
Object.defineProperty(exports, "orgchart", {
|
|
356
360
|
enumerable: true,
|
|
357
|
-
get: function () { return
|
|
361
|
+
get: function () { return chunkUHPGWO77_cjs.orgchart; }
|
|
358
362
|
});
|
|
359
363
|
Object.defineProperty(exports, "circuit", {
|
|
360
364
|
enumerable: true,
|
|
361
|
-
get: function () { return
|
|
365
|
+
get: function () { return chunkQBS4F44Q_cjs.circuit; }
|
|
362
366
|
});
|
|
363
367
|
Object.defineProperty(exports, "blockdiagram", {
|
|
364
368
|
enumerable: true,
|
|
365
|
-
get: function () { return
|
|
369
|
+
get: function () { return chunkSHMG7BVF_cjs.blockdiagram; }
|
|
366
370
|
});
|
|
367
371
|
Object.defineProperty(exports, "ladder", {
|
|
368
372
|
enumerable: true,
|
|
369
|
-
get: function () { return
|
|
373
|
+
get: function () { return chunkTACTEF2N_cjs.ladder; }
|
|
370
374
|
});
|
|
371
375
|
Object.defineProperty(exports, "sld", {
|
|
372
376
|
enumerable: true,
|
|
373
|
-
get: function () { return
|
|
377
|
+
get: function () { return chunk34O3C6OC_cjs.sld; }
|
|
374
378
|
});
|
|
375
379
|
Object.defineProperty(exports, "entity", {
|
|
376
380
|
enumerable: true,
|
|
377
|
-
get: function () { return
|
|
381
|
+
get: function () { return chunk77GPD4YQ_cjs.entity; }
|
|
378
382
|
});
|
|
379
383
|
Object.defineProperty(exports, "fishbone", {
|
|
380
384
|
enumerable: true,
|
|
381
|
-
get: function () { return
|
|
385
|
+
get: function () { return chunkT5KHNJ67_cjs.fishbone; }
|
|
382
386
|
});
|
|
383
387
|
Object.defineProperty(exports, "venn", {
|
|
384
388
|
enumerable: true,
|
|
385
|
-
get: function () { return
|
|
389
|
+
get: function () { return chunkLPAWZYDU_cjs.venn; }
|
|
386
390
|
});
|
|
387
391
|
Object.defineProperty(exports, "flowchart", {
|
|
388
392
|
enumerable: true,
|
|
389
|
-
get: function () { return
|
|
393
|
+
get: function () { return chunkDR3DDDQY_cjs.flowchart; }
|
|
390
394
|
});
|
|
391
395
|
Object.defineProperty(exports, "genogram", {
|
|
392
396
|
enumerable: true,
|
|
393
|
-
get: function () { return
|
|
397
|
+
get: function () { return chunkNFZMNKOR_cjs.genogram; }
|
|
394
398
|
});
|
|
395
399
|
Object.defineProperty(exports, "ecomap", {
|
|
396
400
|
enumerable: true,
|
|
397
|
-
get: function () { return
|
|
401
|
+
get: function () { return chunk2SZJQVPN_cjs.ecomap; }
|
|
398
402
|
});
|
|
399
403
|
Object.defineProperty(exports, "pedigree", {
|
|
400
404
|
enumerable: true,
|
|
401
|
-
get: function () { return
|
|
405
|
+
get: function () { return chunkKGOZBABH_cjs.pedigree; }
|
|
402
406
|
});
|
|
403
407
|
Object.defineProperty(exports, "phylo", {
|
|
404
408
|
enumerable: true,
|
|
405
|
-
get: function () { return
|
|
409
|
+
get: function () { return chunkBL57NQKN_cjs.phylo; }
|
|
406
410
|
});
|
|
407
411
|
Object.defineProperty(exports, "sociogram", {
|
|
408
412
|
enumerable: true,
|
|
409
|
-
get: function () { return
|
|
413
|
+
get: function () { return chunk5FYPSIGD_cjs.sociogram; }
|
|
410
414
|
});
|
|
411
415
|
Object.defineProperty(exports, "timing", {
|
|
412
416
|
enumerable: true,
|
|
@@ -414,67 +418,67 @@ Object.defineProperty(exports, "timing", {
|
|
|
414
418
|
});
|
|
415
419
|
Object.defineProperty(exports, "logic", {
|
|
416
420
|
enumerable: true,
|
|
417
|
-
get: function () { return
|
|
421
|
+
get: function () { return chunkZ3A2UNK2_cjs.logic; }
|
|
418
422
|
});
|
|
419
423
|
Object.defineProperty(exports, "BASE_THEMES", {
|
|
420
424
|
enumerable: true,
|
|
421
|
-
get: function () { return
|
|
425
|
+
get: function () { return chunkNZT5P2XZ_cjs.BASE_THEMES; }
|
|
422
426
|
});
|
|
423
427
|
Object.defineProperty(exports, "BIOLOGY_TOKENS", {
|
|
424
428
|
enumerable: true,
|
|
425
|
-
get: function () { return
|
|
429
|
+
get: function () { return chunkNZT5P2XZ_cjs.BIOLOGY_TOKENS; }
|
|
426
430
|
});
|
|
427
431
|
Object.defineProperty(exports, "NETWORK_TOKENS", {
|
|
428
432
|
enumerable: true,
|
|
429
|
-
get: function () { return
|
|
433
|
+
get: function () { return chunkNZT5P2XZ_cjs.NETWORK_TOKENS; }
|
|
430
434
|
});
|
|
431
435
|
Object.defineProperty(exports, "PERSON_TOKENS", {
|
|
432
436
|
enumerable: true,
|
|
433
|
-
get: function () { return
|
|
437
|
+
get: function () { return chunkNZT5P2XZ_cjs.PERSON_TOKENS; }
|
|
434
438
|
});
|
|
435
439
|
Object.defineProperty(exports, "PETRI_TOKENS", {
|
|
436
440
|
enumerable: true,
|
|
437
|
-
get: function () { return
|
|
441
|
+
get: function () { return chunkNZT5P2XZ_cjs.PETRI_TOKENS; }
|
|
438
442
|
});
|
|
439
443
|
Object.defineProperty(exports, "VENN_TOKENS", {
|
|
440
444
|
enumerable: true,
|
|
441
|
-
get: function () { return
|
|
445
|
+
get: function () { return chunkNZT5P2XZ_cjs.VENN_TOKENS; }
|
|
442
446
|
});
|
|
443
447
|
Object.defineProperty(exports, "resolveBaseTheme", {
|
|
444
448
|
enumerable: true,
|
|
445
|
-
get: function () { return
|
|
449
|
+
get: function () { return chunkNZT5P2XZ_cjs.resolveBaseTheme; }
|
|
446
450
|
});
|
|
447
451
|
Object.defineProperty(exports, "resolveBiologyTheme", {
|
|
448
452
|
enumerable: true,
|
|
449
|
-
get: function () { return
|
|
453
|
+
get: function () { return chunkNZT5P2XZ_cjs.resolveBiologyTheme; }
|
|
450
454
|
});
|
|
451
455
|
Object.defineProperty(exports, "resolveFishboneTheme", {
|
|
452
456
|
enumerable: true,
|
|
453
|
-
get: function () { return
|
|
457
|
+
get: function () { return chunkNZT5P2XZ_cjs.resolveFishboneTheme; }
|
|
454
458
|
});
|
|
455
459
|
Object.defineProperty(exports, "resolveGenogramTheme", {
|
|
456
460
|
enumerable: true,
|
|
457
|
-
get: function () { return
|
|
461
|
+
get: function () { return chunkNZT5P2XZ_cjs.resolveGenogramTheme; }
|
|
458
462
|
});
|
|
459
463
|
Object.defineProperty(exports, "resolveNetworkTheme", {
|
|
460
464
|
enumerable: true,
|
|
461
|
-
get: function () { return
|
|
465
|
+
get: function () { return chunkNZT5P2XZ_cjs.resolveNetworkTheme; }
|
|
462
466
|
});
|
|
463
467
|
Object.defineProperty(exports, "resolvePersonTheme", {
|
|
464
468
|
enumerable: true,
|
|
465
|
-
get: function () { return
|
|
469
|
+
get: function () { return chunkNZT5P2XZ_cjs.resolvePersonTheme; }
|
|
466
470
|
});
|
|
467
471
|
Object.defineProperty(exports, "resolvePetriTheme", {
|
|
468
472
|
enumerable: true,
|
|
469
|
-
get: function () { return
|
|
473
|
+
get: function () { return chunkNZT5P2XZ_cjs.resolvePetriTheme; }
|
|
470
474
|
});
|
|
471
475
|
Object.defineProperty(exports, "resolveTimelineTheme", {
|
|
472
476
|
enumerable: true,
|
|
473
|
-
get: function () { return
|
|
477
|
+
get: function () { return chunkNZT5P2XZ_cjs.resolveTimelineTheme; }
|
|
474
478
|
});
|
|
475
479
|
Object.defineProperty(exports, "resolveVennTheme", {
|
|
476
480
|
enumerable: true,
|
|
477
|
-
get: function () { return
|
|
481
|
+
get: function () { return chunkNZT5P2XZ_cjs.resolveVennTheme; }
|
|
478
482
|
});
|
|
479
483
|
exports.SYMBOL_CATALOG_TYPES = SYMBOL_CATALOG_TYPES;
|
|
480
484
|
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-JaBtsUT8.cjs';
|
|
2
|
+
import { D as DiagramPlugin, a as DiagramType } from './diagnostics-BKRow1ur.cjs';
|
|
3
|
+
export { S as SchematexDiagnostic, b as SchematexParseResult, c as SchematexRenderResult, d as SchematexResultStatus } from './diagnostics-BKRow1ur.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-DU2h1Y-a.cjs';
|
|
19
19
|
export { orgchart } from './diagrams/orgchart/index.cjs';
|
|
20
20
|
|
|
21
21
|
declare const decisiontree: DiagramPlugin;
|
|
@@ -42,6 +42,8 @@ declare const umlclass: DiagramPlugin;
|
|
|
42
42
|
|
|
43
43
|
declare const faulttree: DiagramPlugin;
|
|
44
44
|
|
|
45
|
+
declare const bowtie: DiagramPlugin;
|
|
46
|
+
|
|
45
47
|
/**
|
|
46
48
|
* Domain symbol catalogs — the real symbols an engine uses *inside* a diagram
|
|
47
49
|
* (circuit components, SLD apparatus, P&ID equipment, flowchart node icons),
|
|
@@ -69,4 +71,4 @@ interface SymbolCatalog {
|
|
|
69
71
|
declare const SYMBOL_CATALOG_TYPES: DiagramType[];
|
|
70
72
|
declare function getSymbolCatalog(type: string): SymbolCatalog | null;
|
|
71
73
|
|
|
72
|
-
export { SYMBOL_CATALOG_TYPES, type SymbolCatalog, type SymbolCatalogEntry, decisiontree, faulttree, getSymbolCatalog, network, pert, petri, pid, prisma, sequence, state, timeline, umlclass, usecase };
|
|
74
|
+
export { SYMBOL_CATALOG_TYPES, type SymbolCatalog, type SymbolCatalogEntry, bowtie, 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-DIJM_mqp.js';
|
|
2
|
+
import { D as DiagramPlugin, a as DiagramType } from './diagnostics-BKRow1ur.js';
|
|
3
|
+
export { S as SchematexDiagnostic, b as SchematexParseResult, c as SchematexRenderResult, d as SchematexResultStatus } from './diagnostics-BKRow1ur.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-Dq3Mfxay.js';
|
|
19
19
|
export { orgchart } from './diagrams/orgchart/index.js';
|
|
20
20
|
|
|
21
21
|
declare const decisiontree: DiagramPlugin;
|
|
@@ -42,6 +42,8 @@ declare const umlclass: DiagramPlugin;
|
|
|
42
42
|
|
|
43
43
|
declare const faulttree: DiagramPlugin;
|
|
44
44
|
|
|
45
|
+
declare const bowtie: DiagramPlugin;
|
|
46
|
+
|
|
45
47
|
/**
|
|
46
48
|
* Domain symbol catalogs — the real symbols an engine uses *inside* a diagram
|
|
47
49
|
* (circuit components, SLD apparatus, P&ID equipment, flowchart node icons),
|
|
@@ -69,4 +71,4 @@ interface SymbolCatalog {
|
|
|
69
71
|
declare const SYMBOL_CATALOG_TYPES: DiagramType[];
|
|
70
72
|
declare function getSymbolCatalog(type: string): SymbolCatalog | null;
|
|
71
73
|
|
|
72
|
-
export { SYMBOL_CATALOG_TYPES, type SymbolCatalog, type SymbolCatalogEntry, decisiontree, faulttree, getSymbolCatalog, network, pert, petri, pid, prisma, sequence, state, timeline, umlclass, usecase };
|
|
74
|
+
export { SYMBOL_CATALOG_TYPES, type SymbolCatalog, type SymbolCatalogEntry, bowtie, 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, faulttree, network, parse, parseResult, pert, petri, pid, prisma, render, renderPreview, renderResult, sequence, state, timeline, umlclass, usecase } 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 { iconSize, drawDeviceIcon, GEOMETRY, renderEquip } from './chunk-TRUJ4Q6V.js';
|
|
2
|
+
export { bowtie, decisiontree, faulttree, network, parse, parseResult, pert, petri, pid, prisma, render, renderPreview, renderResult, sequence, state, timeline, umlclass, usecase } from './chunk-TRUJ4Q6V.js';
|
|
3
|
+
export { orgchart } from './chunk-MPCSWRZC.js';
|
|
4
|
+
import { EXTRA_SYMBOLS, SYMBOLS } from './chunk-WAKRRGAV.js';
|
|
5
|
+
export { circuit } from './chunk-WAKRRGAV.js';
|
|
6
|
+
export { blockdiagram } from './chunk-C7V57V6O.js';
|
|
7
|
+
export { ladder } from './chunk-WU2N6ZVM.js';
|
|
8
|
+
import { renderSymbol, geometryFor } from './chunk-JTGTWBAD.js';
|
|
9
|
+
export { sld } from './chunk-JTGTWBAD.js';
|
|
10
|
+
export { entity } from './chunk-YMZTXOUG.js';
|
|
11
|
+
export { fishbone } from './chunk-YTGOLTLJ.js';
|
|
12
|
+
export { venn } from './chunk-T3FV73LM.js';
|
|
13
|
+
import { iconNames, renderIcon } from './chunk-HPEAE3JM.js';
|
|
14
|
+
export { flowchart } from './chunk-HPEAE3JM.js';
|
|
15
|
+
export { genogram } from './chunk-6NUAGU6O.js';
|
|
16
|
+
export { ecomap } from './chunk-K2D6VFLP.js';
|
|
17
|
+
export { pedigree } from './chunk-JN6FHUC6.js';
|
|
18
18
|
import './chunk-2KTQ75LN.js';
|
|
19
|
-
export { phylo } from './chunk-
|
|
20
|
-
export { sociogram } from './chunk-
|
|
19
|
+
export { phylo } from './chunk-HL5PS6MG.js';
|
|
20
|
+
export { sociogram } from './chunk-OFKRELZK.js';
|
|
21
21
|
import './chunk-FO7BLCEW.js';
|
|
22
22
|
export { timing } from './chunk-P26FCZP3.js';
|
|
23
|
-
import { getGateGeometry } from './chunk-
|
|
24
|
-
export { logic } from './chunk-
|
|
23
|
+
import { getGateGeometry } from './chunk-3GAPHXCE.js';
|
|
24
|
+
export { logic } from './chunk-3GAPHXCE.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-UK6HF6PE.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-
|
|
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 chunkLDONE225_cjs = require('./chunk-LDONE225.cjs');
|
|
4
|
+
require('./chunk-UHPGWO77.cjs');
|
|
5
|
+
require('./chunk-QBS4F44Q.cjs');
|
|
6
|
+
require('./chunk-SHMG7BVF.cjs');
|
|
7
|
+
require('./chunk-TACTEF2N.cjs');
|
|
8
|
+
require('./chunk-34O3C6OC.cjs');
|
|
9
|
+
require('./chunk-77GPD4YQ.cjs');
|
|
10
|
+
require('./chunk-T5KHNJ67.cjs');
|
|
11
|
+
require('./chunk-LPAWZYDU.cjs');
|
|
12
|
+
require('./chunk-DR3DDDQY.cjs');
|
|
13
|
+
require('./chunk-NFZMNKOR.cjs');
|
|
14
|
+
require('./chunk-2SZJQVPN.cjs');
|
|
15
|
+
require('./chunk-KGOZBABH.cjs');
|
|
16
16
|
require('./chunk-3KRL2EGN.cjs');
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-BL57NQKN.cjs');
|
|
18
|
+
require('./chunk-5FYPSIGD.cjs');
|
|
19
19
|
require('./chunk-5UCXMYE7.cjs');
|
|
20
20
|
require('./chunk-2F45Y2ON.cjs');
|
|
21
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-Z3A2UNK2.cjs');
|
|
22
22
|
require('./chunk-SBB6C4OP.cjs');
|
|
23
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-NZT5P2XZ.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 = chunkLDONE225_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-JaBtsUT8.cjs';
|
|
3
|
+
import './diagnostics-BKRow1ur.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-DIJM_mqp.js';
|
|
3
|
+
import './diagnostics-BKRow1ur.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-TRUJ4Q6V.js';
|
|
2
|
+
import './chunk-MPCSWRZC.js';
|
|
3
|
+
import './chunk-WAKRRGAV.js';
|
|
4
|
+
import './chunk-C7V57V6O.js';
|
|
5
|
+
import './chunk-WU2N6ZVM.js';
|
|
6
|
+
import './chunk-JTGTWBAD.js';
|
|
7
|
+
import './chunk-YMZTXOUG.js';
|
|
8
|
+
import './chunk-YTGOLTLJ.js';
|
|
9
|
+
import './chunk-T3FV73LM.js';
|
|
10
|
+
import './chunk-HPEAE3JM.js';
|
|
11
|
+
import './chunk-6NUAGU6O.js';
|
|
12
|
+
import './chunk-K2D6VFLP.js';
|
|
13
|
+
import './chunk-JN6FHUC6.js';
|
|
14
14
|
import './chunk-2KTQ75LN.js';
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
15
|
+
import './chunk-HL5PS6MG.js';
|
|
16
|
+
import './chunk-OFKRELZK.js';
|
|
17
17
|
import './chunk-FO7BLCEW.js';
|
|
18
18
|
import './chunk-P26FCZP3.js';
|
|
19
|
-
import './chunk-
|
|
19
|
+
import './chunk-3GAPHXCE.js';
|
|
20
20
|
import './chunk-PIV2A3HG.js';
|
|
21
|
-
import './chunk-
|
|
21
|
+
import './chunk-UK6HF6PE.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-DIJM_mqp.js';
|
|
2
|
+
import { a as DiagramType } from './diagnostics-BKRow1ur.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Diagram registry — metadata for every diagram type Schematex supports.
|
|
@@ -138,9 +138,18 @@ declare function getExamples(type: string, opts?: GetExamplesOptions): GetExampl
|
|
|
138
138
|
type ValidateDslResult = {
|
|
139
139
|
ok: true;
|
|
140
140
|
type: string | null;
|
|
141
|
+
/**
|
|
142
|
+
* `valid` = parsed cleanly; `partial` = parsed and renderable but the
|
|
143
|
+
* engine recovered from incomplete/incorrect input (see `warnings`). A
|
|
144
|
+
* `partial` result still renders — it is NOT a failure.
|
|
145
|
+
*/
|
|
146
|
+
status: "valid" | "partial";
|
|
147
|
+
/** Non-fatal lint findings (empty when `status` is `valid`). */
|
|
148
|
+
warnings: SchematexValidationError[];
|
|
141
149
|
} | {
|
|
142
150
|
ok: false;
|
|
143
151
|
type: string | null;
|
|
152
|
+
status: "invalid";
|
|
144
153
|
errors: SchematexValidationError[];
|
|
145
154
|
};
|
|
146
155
|
declare function validateDsl(type: string | undefined, dsl: string): ValidateDslResult;
|