schematex 0.6.1 → 0.6.2
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 +11 -11
- package/dist/ai/ai-sdk.d.cts +3 -3
- package/dist/ai/ai-sdk.d.ts +3 -3
- package/dist/ai/ai-sdk.js +6 -6
- package/dist/ai/index.cjs +17 -17
- package/dist/ai/index.d.cts +3 -3
- package/dist/ai/index.d.ts +3 -3
- package/dist/ai/index.js +6 -6
- package/dist/{api-DFrSR3lw.d.ts → api-XWHHAhQI.d.ts} +1 -1
- package/dist/{api-BEJTXyBA.d.cts → api-qVDutqXH.d.cts} +1 -1
- package/dist/browser.cjs +12 -12
- package/dist/browser.d.cts +3 -3
- package/dist/browser.d.ts +3 -3
- package/dist/browser.js +6 -6
- package/dist/{chunk-ST5YRTTV.cjs → chunk-2F45Y2ON.cjs} +44 -5
- package/dist/chunk-2F45Y2ON.cjs.map +1 -0
- package/dist/{chunk-V4RO5KYY.cjs → chunk-3JAI3OVG.cjs} +81 -47
- package/dist/chunk-3JAI3OVG.cjs.map +1 -0
- package/dist/{chunk-R6VX5YTJ.cjs → chunk-ECD5XHBM.cjs} +2 -2
- package/dist/{chunk-R6VX5YTJ.cjs.map → chunk-ECD5XHBM.cjs.map} +1 -1
- package/dist/{chunk-MFAMNFPA.js → chunk-EPKIJEH7.js} +6 -63
- package/dist/chunk-EPKIJEH7.js.map +1 -0
- package/dist/{chunk-OTSVMKII.js → chunk-ITUPR7G5.js} +150 -48
- package/dist/chunk-ITUPR7G5.js.map +1 -0
- package/dist/{chunk-I2GQYOZ5.js → chunk-IZWKJVIC.js} +147 -107
- package/dist/chunk-IZWKJVIC.js.map +1 -0
- package/dist/{chunk-UWA5MWCI.js → chunk-JVAJ6ZLO.js} +81 -47
- package/dist/chunk-JVAJ6ZLO.js.map +1 -0
- package/dist/{chunk-4XR7X7XW.cjs → chunk-KSNUMQGS.cjs} +151 -111
- package/dist/chunk-KSNUMQGS.cjs.map +1 -0
- package/dist/{chunk-522WB2EH.js → chunk-LGABFD3L.js} +2 -2
- package/dist/{chunk-522WB2EH.js.map → chunk-LGABFD3L.js.map} +1 -1
- package/dist/{chunk-6URNSB6G.js → chunk-P26FCZP3.js} +44 -5
- package/dist/chunk-P26FCZP3.js.map +1 -0
- package/dist/{chunk-SSLNPHCL.cjs → chunk-SD6VDTQR.cjs} +152 -50
- package/dist/chunk-SD6VDTQR.cjs.map +1 -0
- package/dist/{chunk-XNCOSVNG.cjs → chunk-SUIDD2C5.cjs} +6 -63
- package/dist/chunk-SUIDD2C5.cjs.map +1 -0
- package/dist/{diagnostics-B-ffSEhl.d.ts → diagnostics-DRxhodP6.d.cts} +0 -8
- package/dist/{diagnostics-B-ffSEhl.d.cts → diagnostics-DRxhodP6.d.ts} +0 -8
- 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 +7 -7
- package/dist/diagrams/circuit/index.d.cts +1 -1
- package/dist/diagrams/circuit/index.d.ts +1 -1
- package/dist/diagrams/circuit/index.js +1 -1
- package/dist/diagrams/ecomap/index.d.cts +1 -1
- package/dist/diagrams/ecomap/index.d.ts +1 -1
- package/dist/diagrams/entity/index.d.cts +1 -1
- package/dist/diagrams/entity/index.d.ts +1 -1
- package/dist/diagrams/fishbone/index.d.cts +1 -1
- package/dist/diagrams/fishbone/index.d.ts +1 -1
- package/dist/diagrams/flowchart/index.d.cts +2 -2
- package/dist/diagrams/flowchart/index.d.ts +2 -2
- package/dist/diagrams/genogram/index.d.cts +1 -1
- package/dist/diagrams/genogram/index.d.ts +1 -1
- package/dist/diagrams/ladder/index.d.cts +1 -1
- package/dist/diagrams/ladder/index.d.ts +1 -1
- package/dist/diagrams/logic/index.d.cts +1 -1
- package/dist/diagrams/logic/index.d.ts +1 -1
- package/dist/diagrams/orgchart/index.d.cts +1 -1
- package/dist/diagrams/orgchart/index.d.ts +1 -1
- package/dist/diagrams/pedigree/index.d.cts +1 -1
- package/dist/diagrams/pedigree/index.d.ts +1 -1
- package/dist/diagrams/phylo/index.d.cts +1 -1
- package/dist/diagrams/phylo/index.d.ts +1 -1
- package/dist/diagrams/sld/index.cjs +7 -7
- package/dist/diagrams/sld/index.d.cts +1 -1
- package/dist/diagrams/sld/index.d.ts +1 -1
- package/dist/diagrams/sld/index.js +1 -1
- package/dist/diagrams/sociogram/index.d.cts +1 -1
- package/dist/diagrams/sociogram/index.d.ts +1 -1
- package/dist/diagrams/timing/index.cjs +4 -4
- package/dist/diagrams/timing/index.d.cts +1 -1
- package/dist/diagrams/timing/index.d.ts +1 -1
- package/dist/diagrams/timing/index.js +1 -1
- package/dist/diagrams/venn/index.d.cts +1 -1
- package/dist/diagrams/venn/index.d.ts +1 -1
- package/dist/{index-S0njakQ2.d.cts → index-BRIkOPnd.d.cts} +1 -1
- package/dist/{index-DPWdYfNx.d.ts → index-C7SN-FB3.d.ts} +1 -1
- package/dist/index.cjs +32 -32
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +8 -8
- package/dist/react.cjs +6 -6
- package/dist/react.d.cts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +5 -5
- package/dist/{tools-kK_enDwb.d.ts → tools-BVeUNdsU.d.ts} +2 -2
- package/dist/{tools-CeGGMCs7.d.cts → tools-DdhP1kWY.d.cts} +2 -2
- package/package.json +1 -1
- package/dist/chunk-4XR7X7XW.cjs.map +0 -1
- package/dist/chunk-6URNSB6G.js.map +0 -1
- package/dist/chunk-I2GQYOZ5.js.map +0 -1
- package/dist/chunk-MFAMNFPA.js.map +0 -1
- package/dist/chunk-OTSVMKII.js.map +0 -1
- package/dist/chunk-SSLNPHCL.cjs.map +0 -1
- package/dist/chunk-ST5YRTTV.cjs.map +0 -1
- package/dist/chunk-UWA5MWCI.js.map +0 -1
- package/dist/chunk-V4RO5KYY.cjs.map +0 -1
- package/dist/chunk-XNCOSVNG.cjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SchematexDiagnostic, n as SLDAST, R as RenderConfig, o as SLDNode, p as SLDNodeType, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { S as SchematexDiagnostic, n as SLDAST, R as RenderConfig, o as SLDNode, p as SLDNodeType, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* SLD standard-compatibility lint.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { layoutSLD, lintSLD, lintSLDAst, parseSLDDSL, renderSLD, sld } from '../../chunk-
|
|
1
|
+
export { layoutSLD, lintSLD, lintSLDAst, parseSLDDSL, renderSLD, sld } from '../../chunk-LGABFD3L.js';
|
|
2
2
|
import '../../chunk-PIV2A3HG.js';
|
|
3
3
|
import '../../chunk-2KTQ75LN.js';
|
|
4
4
|
import '../../chunk-LRI4RH2N.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as LegendOverrides, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { h as LegendOverrides, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.cjs';
|
|
2
2
|
|
|
3
3
|
type SociogramLayout = "circular" | "force-directed" | "concentric";
|
|
4
4
|
type EdgeValence = "positive" | "negative" | "neutral";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as LegendOverrides, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { h as LegendOverrides, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.js';
|
|
2
2
|
|
|
3
3
|
type SociogramLayout = "circular" | "force-directed" | "concentric";
|
|
4
4
|
type EdgeValence = "positive" | "negative" | "neutral";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2F45Y2ON_cjs = require('../../chunk-2F45Y2ON.cjs');
|
|
4
4
|
require('../../chunk-NAGUZFXX.cjs');
|
|
5
5
|
require('../../chunk-3WNW5Y7P.cjs');
|
|
6
6
|
|
|
@@ -8,15 +8,15 @@ require('../../chunk-3WNW5Y7P.cjs');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "parseTiming", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk2F45Y2ON_cjs.parseTiming; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "renderTiming", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk2F45Y2ON_cjs.renderTiming; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "timing", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk2F45Y2ON_cjs.timing; }
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=index.cjs.map
|
|
22
22
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as VennAST, s as VennLayoutResult, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { V as VennAST, s as VennLayoutResult, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Venn / Euler DSL parser (hand-written recursive descent).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as VennAST, s as VennLayoutResult, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { V as VennAST, s as VennLayoutResult, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Venn / Euler DSL parser (hand-written recursive descent).
|
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKSNUMQGS_cjs = require('./chunk-KSNUMQGS.cjs');
|
|
4
4
|
var chunkFKJBXGWP_cjs = require('./chunk-FKJBXGWP.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
5
|
+
var chunk3JAI3OVG_cjs = require('./chunk-3JAI3OVG.cjs');
|
|
6
|
+
var chunkSUIDD2C5_cjs = require('./chunk-SUIDD2C5.cjs');
|
|
7
7
|
var chunk2L4YXZAZ_cjs = require('./chunk-2L4YXZAZ.cjs');
|
|
8
|
-
var
|
|
8
|
+
var chunkECD5XHBM_cjs = require('./chunk-ECD5XHBM.cjs');
|
|
9
9
|
require('./chunk-SBB6C4OP.cjs');
|
|
10
10
|
var chunkV4GILQR6_cjs = require('./chunk-V4GILQR6.cjs');
|
|
11
11
|
var chunkHWVBHU3O_cjs = require('./chunk-HWVBHU3O.cjs');
|
|
@@ -18,7 +18,7 @@ require('./chunk-3KRL2EGN.cjs');
|
|
|
18
18
|
var chunk4UFR2LB6_cjs = require('./chunk-4UFR2LB6.cjs');
|
|
19
19
|
var chunkWQDIZH2Z_cjs = require('./chunk-WQDIZH2Z.cjs');
|
|
20
20
|
require('./chunk-5UCXMYE7.cjs');
|
|
21
|
-
var
|
|
21
|
+
var chunk2F45Y2ON_cjs = require('./chunk-2F45Y2ON.cjs');
|
|
22
22
|
var chunkR66QG3XT_cjs = require('./chunk-R66QG3XT.cjs');
|
|
23
23
|
var chunkL7POWM5B_cjs = require('./chunk-L7POWM5B.cjs');
|
|
24
24
|
require('./chunk-NAGUZFXX.cjs');
|
|
@@ -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
|
+
...chunk3JAI3OVG_cjs.SYMBOLS,
|
|
38
|
+
...chunk3JAI3OVG_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 = chunkECD5XHBM_cjs.renderSymbol(type);
|
|
95
95
|
} catch {
|
|
96
96
|
continue;
|
|
97
97
|
}
|
|
98
|
-
const g =
|
|
98
|
+
const g = chunkECD5XHBM_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(chunkKSNUMQGS_cjs.GEOMETRY)) {
|
|
115
115
|
let inner;
|
|
116
116
|
try {
|
|
117
|
-
inner =
|
|
117
|
+
inner = chunkKSNUMQGS_cjs.renderEquip(id, "");
|
|
118
118
|
} catch {
|
|
119
119
|
continue;
|
|
120
120
|
}
|
|
@@ -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 } = chunkKSNUMQGS_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 = chunkKSNUMQGS_cjs.drawDeviceIcon(device, { x: 0, y: 0, w, h });
|
|
232
232
|
} catch {
|
|
233
233
|
continue;
|
|
234
234
|
}
|
|
@@ -286,63 +286,63 @@ function getSymbolCatalog(type) {
|
|
|
286
286
|
|
|
287
287
|
Object.defineProperty(exports, "decisiontree", {
|
|
288
288
|
enumerable: true,
|
|
289
|
-
get: function () { return
|
|
289
|
+
get: function () { return chunkKSNUMQGS_cjs.decisiontree; }
|
|
290
290
|
});
|
|
291
291
|
Object.defineProperty(exports, "network", {
|
|
292
292
|
enumerable: true,
|
|
293
|
-
get: function () { return
|
|
293
|
+
get: function () { return chunkKSNUMQGS_cjs.network; }
|
|
294
294
|
});
|
|
295
295
|
Object.defineProperty(exports, "parse", {
|
|
296
296
|
enumerable: true,
|
|
297
|
-
get: function () { return
|
|
297
|
+
get: function () { return chunkKSNUMQGS_cjs.parse; }
|
|
298
298
|
});
|
|
299
299
|
Object.defineProperty(exports, "parseResult", {
|
|
300
300
|
enumerable: true,
|
|
301
|
-
get: function () { return
|
|
301
|
+
get: function () { return chunkKSNUMQGS_cjs.parseResult; }
|
|
302
302
|
});
|
|
303
303
|
Object.defineProperty(exports, "pert", {
|
|
304
304
|
enumerable: true,
|
|
305
|
-
get: function () { return
|
|
305
|
+
get: function () { return chunkKSNUMQGS_cjs.pert; }
|
|
306
306
|
});
|
|
307
307
|
Object.defineProperty(exports, "petri", {
|
|
308
308
|
enumerable: true,
|
|
309
|
-
get: function () { return
|
|
309
|
+
get: function () { return chunkKSNUMQGS_cjs.petri; }
|
|
310
310
|
});
|
|
311
311
|
Object.defineProperty(exports, "pid", {
|
|
312
312
|
enumerable: true,
|
|
313
|
-
get: function () { return
|
|
313
|
+
get: function () { return chunkKSNUMQGS_cjs.pid; }
|
|
314
314
|
});
|
|
315
315
|
Object.defineProperty(exports, "prisma", {
|
|
316
316
|
enumerable: true,
|
|
317
|
-
get: function () { return
|
|
317
|
+
get: function () { return chunkKSNUMQGS_cjs.prisma; }
|
|
318
318
|
});
|
|
319
319
|
Object.defineProperty(exports, "render", {
|
|
320
320
|
enumerable: true,
|
|
321
|
-
get: function () { return
|
|
321
|
+
get: function () { return chunkKSNUMQGS_cjs.render; }
|
|
322
322
|
});
|
|
323
323
|
Object.defineProperty(exports, "renderPreview", {
|
|
324
324
|
enumerable: true,
|
|
325
|
-
get: function () { return
|
|
325
|
+
get: function () { return chunkKSNUMQGS_cjs.renderPreview; }
|
|
326
326
|
});
|
|
327
327
|
Object.defineProperty(exports, "renderResult", {
|
|
328
328
|
enumerable: true,
|
|
329
|
-
get: function () { return
|
|
329
|
+
get: function () { return chunkKSNUMQGS_cjs.renderResult; }
|
|
330
330
|
});
|
|
331
331
|
Object.defineProperty(exports, "sequence", {
|
|
332
332
|
enumerable: true,
|
|
333
|
-
get: function () { return
|
|
333
|
+
get: function () { return chunkKSNUMQGS_cjs.sequence; }
|
|
334
334
|
});
|
|
335
335
|
Object.defineProperty(exports, "state", {
|
|
336
336
|
enumerable: true,
|
|
337
|
-
get: function () { return
|
|
337
|
+
get: function () { return chunkKSNUMQGS_cjs.state; }
|
|
338
338
|
});
|
|
339
339
|
Object.defineProperty(exports, "timeline", {
|
|
340
340
|
enumerable: true,
|
|
341
|
-
get: function () { return
|
|
341
|
+
get: function () { return chunkKSNUMQGS_cjs.timeline; }
|
|
342
342
|
});
|
|
343
343
|
Object.defineProperty(exports, "usecase", {
|
|
344
344
|
enumerable: true,
|
|
345
|
-
get: function () { return
|
|
345
|
+
get: function () { return chunkKSNUMQGS_cjs.usecase; }
|
|
346
346
|
});
|
|
347
347
|
Object.defineProperty(exports, "orgchart", {
|
|
348
348
|
enumerable: true,
|
|
@@ -350,11 +350,11 @@ Object.defineProperty(exports, "orgchart", {
|
|
|
350
350
|
});
|
|
351
351
|
Object.defineProperty(exports, "circuit", {
|
|
352
352
|
enumerable: true,
|
|
353
|
-
get: function () { return
|
|
353
|
+
get: function () { return chunk3JAI3OVG_cjs.circuit; }
|
|
354
354
|
});
|
|
355
355
|
Object.defineProperty(exports, "blockdiagram", {
|
|
356
356
|
enumerable: true,
|
|
357
|
-
get: function () { return
|
|
357
|
+
get: function () { return chunkSUIDD2C5_cjs.blockdiagram; }
|
|
358
358
|
});
|
|
359
359
|
Object.defineProperty(exports, "ladder", {
|
|
360
360
|
enumerable: true,
|
|
@@ -362,7 +362,7 @@ Object.defineProperty(exports, "ladder", {
|
|
|
362
362
|
});
|
|
363
363
|
Object.defineProperty(exports, "sld", {
|
|
364
364
|
enumerable: true,
|
|
365
|
-
get: function () { return
|
|
365
|
+
get: function () { return chunkECD5XHBM_cjs.sld; }
|
|
366
366
|
});
|
|
367
367
|
Object.defineProperty(exports, "entity", {
|
|
368
368
|
enumerable: true,
|
|
@@ -402,7 +402,7 @@ Object.defineProperty(exports, "sociogram", {
|
|
|
402
402
|
});
|
|
403
403
|
Object.defineProperty(exports, "timing", {
|
|
404
404
|
enumerable: true,
|
|
405
|
-
get: function () { return
|
|
405
|
+
get: function () { return chunk2F45Y2ON_cjs.timing; }
|
|
406
406
|
});
|
|
407
407
|
Object.defineProperty(exports, "logic", {
|
|
408
408
|
enumerable: true,
|
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-qVDutqXH.cjs';
|
|
2
|
+
import { D as DiagramPlugin, a as DiagramType } from './diagnostics-DRxhodP6.cjs';
|
|
3
|
+
export { S as SchematexDiagnostic, b as SchematexParseResult, c as SchematexRenderResult, d as SchematexResultStatus } from './diagnostics-DRxhodP6.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-BRIkOPnd.cjs';
|
|
19
19
|
export { orgchart } from './diagrams/orgchart/index.cjs';
|
|
20
20
|
|
|
21
21
|
declare const decisiontree: DiagramPlugin;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { S as SchematexConfig, p as parse, a as parseResult, r as render, b as renderPreview, c as renderResult } from './api-
|
|
2
|
-
import { D as DiagramPlugin, a as DiagramType } from './diagnostics-
|
|
3
|
-
export { S as SchematexDiagnostic, b as SchematexParseResult, c as SchematexRenderResult, d as SchematexResultStatus } from './diagnostics-
|
|
1
|
+
export { S as SchematexConfig, p as parse, a as parseResult, r as render, b as renderPreview, c as renderResult } from './api-XWHHAhQI.js';
|
|
2
|
+
import { D as DiagramPlugin, a as DiagramType } from './diagnostics-DRxhodP6.js';
|
|
3
|
+
export { S as SchematexDiagnostic, b as SchematexParseResult, c as SchematexRenderResult, d as SchematexResultStatus } from './diagnostics-DRxhodP6.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-C7SN-FB3.js';
|
|
19
19
|
export { orgchart } from './diagrams/orgchart/index.js';
|
|
20
20
|
|
|
21
21
|
declare const decisiontree: DiagramPlugin;
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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-
|
|
1
|
+
import { iconSize, drawDeviceIcon, GEOMETRY, renderEquip } from './chunk-IZWKJVIC.js';
|
|
2
|
+
export { decisiontree, network, parse, parseResult, pert, petri, pid, prisma, render, renderPreview, renderResult, sequence, state, timeline, usecase } from './chunk-IZWKJVIC.js';
|
|
3
3
|
export { orgchart } from './chunk-RJMCWT7Z.js';
|
|
4
|
-
import { EXTRA_SYMBOLS, SYMBOLS } from './chunk-
|
|
5
|
-
export { circuit } from './chunk-
|
|
6
|
-
export { blockdiagram } from './chunk-
|
|
4
|
+
import { EXTRA_SYMBOLS, SYMBOLS } from './chunk-JVAJ6ZLO.js';
|
|
5
|
+
export { circuit } from './chunk-JVAJ6ZLO.js';
|
|
6
|
+
export { blockdiagram } from './chunk-EPKIJEH7.js';
|
|
7
7
|
export { ladder } from './chunk-TWLKXV2O.js';
|
|
8
|
-
import { renderSymbol, geometryFor } from './chunk-
|
|
9
|
-
export { sld } from './chunk-
|
|
8
|
+
import { renderSymbol, geometryFor } from './chunk-LGABFD3L.js';
|
|
9
|
+
export { sld } from './chunk-LGABFD3L.js';
|
|
10
10
|
import './chunk-PIV2A3HG.js';
|
|
11
11
|
export { entity } from './chunk-H4MT5TJP.js';
|
|
12
12
|
export { fishbone } from './chunk-HAZALB7U.js';
|
|
@@ -20,7 +20,7 @@ import './chunk-2KTQ75LN.js';
|
|
|
20
20
|
export { phylo } from './chunk-MVIEIKOI.js';
|
|
21
21
|
export { sociogram } from './chunk-3VB5AT4R.js';
|
|
22
22
|
import './chunk-FO7BLCEW.js';
|
|
23
|
-
export { timing } from './chunk-
|
|
23
|
+
export { timing } from './chunk-P26FCZP3.js';
|
|
24
24
|
import { getGateGeometry } from './chunk-3IE7KZY4.js';
|
|
25
25
|
export { logic } from './chunk-3IE7KZY4.js';
|
|
26
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-LRI4RH2N.js';
|
package/dist/react.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKSNUMQGS_cjs = require('./chunk-KSNUMQGS.cjs');
|
|
4
4
|
require('./chunk-FKJBXGWP.cjs');
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-3JAI3OVG.cjs');
|
|
6
|
+
require('./chunk-SUIDD2C5.cjs');
|
|
7
7
|
require('./chunk-2L4YXZAZ.cjs');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-ECD5XHBM.cjs');
|
|
9
9
|
require('./chunk-SBB6C4OP.cjs');
|
|
10
10
|
require('./chunk-V4GILQR6.cjs');
|
|
11
11
|
require('./chunk-HWVBHU3O.cjs');
|
|
@@ -18,7 +18,7 @@ require('./chunk-3KRL2EGN.cjs');
|
|
|
18
18
|
require('./chunk-4UFR2LB6.cjs');
|
|
19
19
|
require('./chunk-WQDIZH2Z.cjs');
|
|
20
20
|
require('./chunk-5UCXMYE7.cjs');
|
|
21
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-2F45Y2ON.cjs');
|
|
22
22
|
require('./chunk-R66QG3XT.cjs');
|
|
23
23
|
require('./chunk-L7POWM5B.cjs');
|
|
24
24
|
require('./chunk-NAGUZFXX.cjs');
|
|
@@ -37,7 +37,7 @@ function SchematexDiagram({
|
|
|
37
37
|
onError
|
|
38
38
|
}) {
|
|
39
39
|
const svg = react.useMemo(() => {
|
|
40
|
-
const result =
|
|
40
|
+
const result = chunkKSNUMQGS_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-qVDutqXH.cjs';
|
|
3
|
+
import './diagnostics-DRxhodP6.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-XWHHAhQI.js';
|
|
3
|
+
import './diagnostics-DRxhodP6.js';
|
|
4
4
|
|
|
5
5
|
interface SchematexDiagramProps {
|
|
6
6
|
/** DSL text to render */
|
package/dist/react.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { renderResult } from './chunk-
|
|
1
|
+
import { renderResult } from './chunk-IZWKJVIC.js';
|
|
2
2
|
import './chunk-RJMCWT7Z.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-JVAJ6ZLO.js';
|
|
4
|
+
import './chunk-EPKIJEH7.js';
|
|
5
5
|
import './chunk-TWLKXV2O.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-LGABFD3L.js';
|
|
7
7
|
import './chunk-PIV2A3HG.js';
|
|
8
8
|
import './chunk-H4MT5TJP.js';
|
|
9
9
|
import './chunk-HAZALB7U.js';
|
|
@@ -16,7 +16,7 @@ import './chunk-2KTQ75LN.js';
|
|
|
16
16
|
import './chunk-MVIEIKOI.js';
|
|
17
17
|
import './chunk-3VB5AT4R.js';
|
|
18
18
|
import './chunk-FO7BLCEW.js';
|
|
19
|
-
import './chunk-
|
|
19
|
+
import './chunk-P26FCZP3.js';
|
|
20
20
|
import './chunk-3IE7KZY4.js';
|
|
21
21
|
import './chunk-LRI4RH2N.js';
|
|
22
22
|
import './chunk-5IKOLUWK.js';
|
|
@@ -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-XWHHAhQI.js';
|
|
2
|
+
import { a as DiagramType } from './diagnostics-DRxhodP6.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Diagram registry — metadata for every diagram type Schematex supports.
|
|
@@ -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-qVDutqXH.cjs';
|
|
2
|
+
import { a as DiagramType } from './diagnostics-DRxhodP6.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Diagram registry — metadata for every diagram type Schematex supports.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "schematex",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Every diagram a doctor, engineer, or lawyer would actually use. 31 industry-standard diagrams (genogram, pedigree, ladder logic, SLD, FBD, SFC, P&ID, UML use case, UML sequence, PRISMA, phylo, fishbone, entity structure, ...) from a text DSL. Free, fully open source, made for AI. Pure SVG, zero dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|