schematex 0.2.4 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/ai/ai-sdk.cjs +10 -10
- package/dist/ai/ai-sdk.d.cts +2 -2
- package/dist/ai/ai-sdk.d.ts +2 -2
- package/dist/ai/ai-sdk.js +5 -5
- package/dist/ai/index.cjs +13 -13
- package/dist/ai/index.d.cts +3 -3
- package/dist/ai/index.d.ts +3 -3
- package/dist/ai/index.js +5 -5
- package/dist/{api-bQZ98gkJ.d.cts → api-BuFilDQB.d.cts} +1 -1
- package/dist/{api-bQZ98gkJ.d.ts → api-BuFilDQB.d.ts} +1 -1
- package/dist/browser.cjs +7 -7
- package/dist/browser.d.cts +2 -2
- package/dist/browser.d.ts +2 -2
- package/dist/browser.js +5 -5
- package/dist/{chunk-UAGSCTYI.cjs → chunk-3FKS4KQK.cjs} +22 -6
- package/dist/chunk-3FKS4KQK.cjs.map +1 -0
- package/dist/{chunk-4S2WILLW.cjs → chunk-K2SOC3XF.cjs} +5 -3
- package/dist/chunk-K2SOC3XF.cjs.map +1 -0
- package/dist/{chunk-LR4X4ZRG.js → chunk-NB56L5QK.js} +18 -14
- package/dist/chunk-NB56L5QK.js.map +1 -0
- package/dist/{chunk-VPKCW4PB.js → chunk-NNU4RGT3.js} +2820 -20
- package/dist/chunk-NNU4RGT3.js.map +1 -0
- package/dist/{chunk-E65ITQXV.cjs → chunk-NZH4GWE6.cjs} +18 -14
- package/dist/chunk-NZH4GWE6.cjs.map +1 -0
- package/dist/{chunk-DPQYGWCT.cjs → chunk-SQKLKBBK.cjs} +32 -5
- package/dist/chunk-SQKLKBBK.cjs.map +1 -0
- package/dist/{chunk-J2LVOWVY.js → chunk-TYCHEOQX.js} +22 -6
- package/dist/chunk-TYCHEOQX.js.map +1 -0
- package/dist/{chunk-MR5HU5WU.js → chunk-VLMK7MQK.js} +30 -3
- package/dist/chunk-VLMK7MQK.js.map +1 -0
- package/dist/{chunk-MSYBSOU2.cjs → chunk-XTATRNUN.cjs} +2824 -22
- package/dist/chunk-XTATRNUN.cjs.map +1 -0
- package/dist/{chunk-PGALHQFF.js → chunk-XZNPAD6E.js} +5 -3
- package/dist/chunk-XZNPAD6E.js.map +1 -0
- package/dist/diagrams/blockdiagram/index.d.cts +1 -1
- package/dist/diagrams/blockdiagram/index.d.ts +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.cjs +6 -6
- package/dist/diagrams/ecomap/index.d.cts +1 -1
- package/dist/diagrams/ecomap/index.d.ts +1 -1
- package/dist/diagrams/ecomap/index.js +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.cjs +7 -7
- package/dist/diagrams/flowchart/index.d.cts +2 -2
- package/dist/diagrams/flowchart/index.d.ts +2 -2
- package/dist/diagrams/flowchart/index.js +1 -1
- 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.d.cts +1 -1
- package/dist/diagrams/sld/index.d.ts +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.d.cts +1 -1
- package/dist/diagrams/timing/index.d.ts +1 -1
- package/dist/diagrams/venn/index.d.cts +1 -1
- package/dist/diagrams/venn/index.d.ts +1 -1
- package/dist/{index-DcU88F9i.d.ts → index-CUwp4GXI.d.ts} +1 -1
- package/dist/{index-BTZEka65.d.cts → index-ivhNGsyU.d.cts} +1 -1
- package/dist/index.cjs +19 -11
- package/dist/index.d.cts +8 -4
- package/dist/index.d.ts +8 -4
- package/dist/index.js +4 -4
- package/dist/react.cjs +5 -5
- package/dist/react.d.cts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js +4 -4
- package/dist/{types-C4LnMEcB.d.cts → types-Bl-Pn7Wj.d.cts} +1 -1
- package/dist/{types-C4LnMEcB.d.ts → types-Bl-Pn7Wj.d.ts} +1 -1
- package/package.json +2 -2
- package/dist/chunk-4S2WILLW.cjs.map +0 -1
- package/dist/chunk-DPQYGWCT.cjs.map +0 -1
- package/dist/chunk-E65ITQXV.cjs.map +0 -1
- package/dist/chunk-J2LVOWVY.js.map +0 -1
- package/dist/chunk-LR4X4ZRG.js.map +0 -1
- package/dist/chunk-MR5HU5WU.js.map +0 -1
- package/dist/chunk-MSYBSOU2.cjs.map +0 -1
- package/dist/chunk-PGALHQFF.js.map +0 -1
- package/dist/chunk-UAGSCTYI.cjs.map +0 -1
- package/dist/chunk-VPKCW4PB.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3FKS4KQK_cjs = require('../../chunk-3FKS4KQK.cjs');
|
|
4
4
|
require('../../chunk-D7EHZFK4.cjs');
|
|
5
5
|
require('../../chunk-HDKDQAEQ.cjs');
|
|
6
6
|
|
|
@@ -8,27 +8,27 @@ require('../../chunk-HDKDQAEQ.cjs');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "FC_CONST", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk3FKS4KQK_cjs.FC_CONST; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "flowchart", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk3FKS4KQK_cjs.flowchart; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "layoutFlowchart", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk3FKS4KQK_cjs.layoutFlowchart; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "parseFlowchart", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk3FKS4KQK_cjs.parseFlowchart; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "renderFlowchart", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk3FKS4KQK_cjs.renderFlowchart; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "renderFlowchartAST", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk3FKS4KQK_cjs.renderFlowchartAST; }
|
|
32
32
|
});
|
|
33
33
|
//# sourceMappingURL=index.cjs.map
|
|
34
34
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../types-
|
|
2
|
-
export { F as FC_CONST, g as flowchart, n as layoutFlowchart, p as parseFlowchart, o as renderFlowchart, q as renderFlowchartAST } from '../../index-
|
|
1
|
+
import '../../types-Bl-Pn7Wj.cjs';
|
|
2
|
+
export { F as FC_CONST, g as flowchart, n as layoutFlowchart, p as parseFlowchart, o as renderFlowchart, q as renderFlowchartAST } from '../../index-ivhNGsyU.cjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../types-
|
|
2
|
-
export { F as FC_CONST, g as flowchart, n as layoutFlowchart, p as parseFlowchart, o as renderFlowchart, q as renderFlowchartAST } from '../../index-
|
|
1
|
+
import '../../types-Bl-Pn7Wj.js';
|
|
2
|
+
export { F as FC_CONST, g as flowchart, n as layoutFlowchart, p as parseFlowchart, o as renderFlowchart, q as renderFlowchartAST } from '../../index-CUwp4GXI.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { FC_CONST, flowchart, layoutFlowchart, parseFlowchart, renderFlowchart, renderFlowchartAST } from '../../chunk-
|
|
1
|
+
export { FC_CONST, flowchart, layoutFlowchart, parseFlowchart, renderFlowchart, renderFlowchartAST } from '../../chunk-TYCHEOQX.js';
|
|
2
2
|
import '../../chunk-2VNMKOUO.js';
|
|
3
3
|
import '../../chunk-KLJEK547.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
|
|
2
2
|
|
|
3
3
|
declare class ParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
|
|
2
2
|
|
|
3
3
|
declare class ParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as LadderAST, R as RenderConfig, f as LadderRung, g as LadderElement, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { e as LadderAST, R as RenderConfig, f as LadderRung, g as LadderElement, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
|
|
2
2
|
|
|
3
3
|
declare function parseLadderDSL(text: string): LadderAST;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as LadderAST, R as RenderConfig, f as LadderRung, g as LadderElement, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { e as LadderAST, R as RenderConfig, f as LadderRung, g as LadderElement, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
|
|
2
2
|
|
|
3
3
|
declare function parseLadderDSL(text: string): LadderAST;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
|
|
2
2
|
|
|
3
3
|
declare class PedigreeParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
|
|
2
2
|
|
|
3
3
|
declare class PedigreeParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PhyloTreeAST, c as PhyloLayoutNode, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { P as PhyloTreeAST, c as PhyloLayoutNode, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
|
|
2
2
|
|
|
3
3
|
declare class PhyloParseError extends Error {
|
|
4
4
|
constructor(message: string);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PhyloTreeAST, c as PhyloLayoutNode, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { P as PhyloTreeAST, c as PhyloLayoutNode, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
|
|
2
2
|
|
|
3
3
|
declare class PhyloParseError extends Error {
|
|
4
4
|
constructor(message: string);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SLDAST, R as RenderConfig, h as SLDNode, i as SLDNodeType, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { S as SLDAST, R as RenderConfig, h as SLDNode, i as SLDNodeType, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
|
|
2
2
|
|
|
3
3
|
declare function parseSLDDSL(text: string): SLDAST;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SLDAST, R as RenderConfig, h as SLDNode, i as SLDNodeType, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { S as SLDAST, R as RenderConfig, h as SLDNode, i as SLDNodeType, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
|
|
2
2
|
|
|
3
3
|
declare function parseSLDDSL(text: string): SLDAST;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as LegendOverrides, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { d as LegendOverrides, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
|
|
2
2
|
|
|
3
3
|
type SociogramLayout = "circular" | "force-directed" | "concentric";
|
|
4
4
|
type EdgeValence = "positive" | "negative" | "neutral";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as LegendOverrides, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { d as LegendOverrides, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
|
|
2
2
|
|
|
3
3
|
type SociogramLayout = "circular" | "force-directed" | "concentric";
|
|
4
4
|
type EdgeValence = "positive" | "negative" | "neutral";
|
package/dist/index.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXTATRNUN_cjs = require('./chunk-XTATRNUN.cjs');
|
|
4
4
|
var chunkA5D2IMOX_cjs = require('./chunk-A5D2IMOX.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkK2SOC3XF_cjs = require('./chunk-K2SOC3XF.cjs');
|
|
6
6
|
var chunkMCFQAUQV_cjs = require('./chunk-MCFQAUQV.cjs');
|
|
7
7
|
var chunkB6INLQBU_cjs = require('./chunk-B6INLQBU.cjs');
|
|
8
8
|
var chunk3YZ6FPQW_cjs = require('./chunk-3YZ6FPQW.cjs');
|
|
9
9
|
var chunkZNOD4VZT_cjs = require('./chunk-ZNOD4VZT.cjs');
|
|
10
10
|
var chunk5AEN2PLB_cjs = require('./chunk-5AEN2PLB.cjs');
|
|
11
11
|
var chunkQSQX77S2_cjs = require('./chunk-QSQX77S2.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunk3FKS4KQK_cjs = require('./chunk-3FKS4KQK.cjs');
|
|
13
13
|
var chunkMJGDP3CS_cjs = require('./chunk-MJGDP3CS.cjs');
|
|
14
|
-
var
|
|
14
|
+
var chunkNZH4GWE6_cjs = require('./chunk-NZH4GWE6.cjs');
|
|
15
15
|
var chunkB37IKTI7_cjs = require('./chunk-B37IKTI7.cjs');
|
|
16
16
|
var chunkX7RPFTTR_cjs = require('./chunk-X7RPFTTR.cjs');
|
|
17
17
|
var chunkCOLTVQWR_cjs = require('./chunk-COLTVQWR.cjs');
|
|
@@ -25,19 +25,27 @@ require('./chunk-HDKDQAEQ.cjs');
|
|
|
25
25
|
|
|
26
26
|
Object.defineProperty(exports, "decisiontree", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkXTATRNUN_cjs.decisiontree; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "parse", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkXTATRNUN_cjs.parse; }
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "pid", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () { return chunkXTATRNUN_cjs.pid; }
|
|
33
37
|
});
|
|
34
38
|
Object.defineProperty(exports, "render", {
|
|
35
39
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkXTATRNUN_cjs.render; }
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "state", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () { return chunkXTATRNUN_cjs.state; }
|
|
37
45
|
});
|
|
38
46
|
Object.defineProperty(exports, "timeline", {
|
|
39
47
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkXTATRNUN_cjs.timeline; }
|
|
41
49
|
});
|
|
42
50
|
Object.defineProperty(exports, "orgchart", {
|
|
43
51
|
enumerable: true,
|
|
@@ -45,7 +53,7 @@ Object.defineProperty(exports, "orgchart", {
|
|
|
45
53
|
});
|
|
46
54
|
Object.defineProperty(exports, "circuit", {
|
|
47
55
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkK2SOC3XF_cjs.circuit; }
|
|
49
57
|
});
|
|
50
58
|
Object.defineProperty(exports, "blockdiagram", {
|
|
51
59
|
enumerable: true,
|
|
@@ -73,7 +81,7 @@ Object.defineProperty(exports, "venn", {
|
|
|
73
81
|
});
|
|
74
82
|
Object.defineProperty(exports, "flowchart", {
|
|
75
83
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunk3FKS4KQK_cjs.flowchart; }
|
|
77
85
|
});
|
|
78
86
|
Object.defineProperty(exports, "genogram", {
|
|
79
87
|
enumerable: true,
|
|
@@ -81,7 +89,7 @@ Object.defineProperty(exports, "genogram", {
|
|
|
81
89
|
});
|
|
82
90
|
Object.defineProperty(exports, "ecomap", {
|
|
83
91
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkNZH4GWE6_cjs.ecomap; }
|
|
85
93
|
});
|
|
86
94
|
Object.defineProperty(exports, "pedigree", {
|
|
87
95
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SchematexConfig, p as parse, r as render } from './api-
|
|
1
|
+
export { S as SchematexConfig, p as parse, r as render } from './api-BuFilDQB.cjs';
|
|
2
2
|
export { genogram } from './diagrams/genogram/index.cjs';
|
|
3
3
|
export { ecomap } from './diagrams/ecomap/index.cjs';
|
|
4
4
|
export { pedigree } from './diagrams/pedigree/index.cjs';
|
|
@@ -13,12 +13,16 @@ export { sld } from './diagrams/sld/index.cjs';
|
|
|
13
13
|
export { entity } from './diagrams/entity/index.cjs';
|
|
14
14
|
export { fishbone } from './diagrams/fishbone/index.cjs';
|
|
15
15
|
export { venn } from './diagrams/venn/index.cjs';
|
|
16
|
-
export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, P as PERSON_TOKENS, d as PersonTokens, R as ResolvedTheme, T as ThemeName, e as TimelineTokens, V as VENN_TOKENS, f as VennTokens, g as flowchart, r as resolveBaseTheme, h as resolveBiologyTheme, i as resolveFishboneTheme, j as resolveGenogramTheme, k as resolvePersonTheme, l as resolveTimelineTheme, m as resolveVennTheme } from './index-
|
|
16
|
+
export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, P as PERSON_TOKENS, d as PersonTokens, R as ResolvedTheme, T as ThemeName, e as TimelineTokens, V as VENN_TOKENS, f as VennTokens, g as flowchart, r as resolveBaseTheme, h as resolveBiologyTheme, i as resolveFishboneTheme, j as resolveGenogramTheme, k as resolvePersonTheme, l as resolveTimelineTheme, m as resolveVennTheme } from './index-ivhNGsyU.cjs';
|
|
17
17
|
export { orgchart } from './diagrams/orgchart/index.cjs';
|
|
18
|
-
import { D as DiagramPlugin } from './types-
|
|
18
|
+
import { D as DiagramPlugin } from './types-Bl-Pn7Wj.cjs';
|
|
19
19
|
|
|
20
20
|
declare const decisiontree: DiagramPlugin;
|
|
21
21
|
|
|
22
22
|
declare const timeline: DiagramPlugin;
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
declare const state: DiagramPlugin;
|
|
25
|
+
|
|
26
|
+
declare const pid: DiagramPlugin;
|
|
27
|
+
|
|
28
|
+
export { decisiontree, pid, state, timeline };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SchematexConfig, p as parse, r as render } from './api-
|
|
1
|
+
export { S as SchematexConfig, p as parse, r as render } from './api-BuFilDQB.js';
|
|
2
2
|
export { genogram } from './diagrams/genogram/index.js';
|
|
3
3
|
export { ecomap } from './diagrams/ecomap/index.js';
|
|
4
4
|
export { pedigree } from './diagrams/pedigree/index.js';
|
|
@@ -13,12 +13,16 @@ export { sld } from './diagrams/sld/index.js';
|
|
|
13
13
|
export { entity } from './diagrams/entity/index.js';
|
|
14
14
|
export { fishbone } from './diagrams/fishbone/index.js';
|
|
15
15
|
export { venn } from './diagrams/venn/index.js';
|
|
16
|
-
export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, P as PERSON_TOKENS, d as PersonTokens, R as ResolvedTheme, T as ThemeName, e as TimelineTokens, V as VENN_TOKENS, f as VennTokens, g as flowchart, r as resolveBaseTheme, h as resolveBiologyTheme, i as resolveFishboneTheme, j as resolveGenogramTheme, k as resolvePersonTheme, l as resolveTimelineTheme, m as resolveVennTheme } from './index-
|
|
16
|
+
export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, P as PERSON_TOKENS, d as PersonTokens, R as ResolvedTheme, T as ThemeName, e as TimelineTokens, V as VENN_TOKENS, f as VennTokens, g as flowchart, r as resolveBaseTheme, h as resolveBiologyTheme, i as resolveFishboneTheme, j as resolveGenogramTheme, k as resolvePersonTheme, l as resolveTimelineTheme, m as resolveVennTheme } from './index-CUwp4GXI.js';
|
|
17
17
|
export { orgchart } from './diagrams/orgchart/index.js';
|
|
18
|
-
import { D as DiagramPlugin } from './types-
|
|
18
|
+
import { D as DiagramPlugin } from './types-Bl-Pn7Wj.js';
|
|
19
19
|
|
|
20
20
|
declare const decisiontree: DiagramPlugin;
|
|
21
21
|
|
|
22
22
|
declare const timeline: DiagramPlugin;
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
declare const state: DiagramPlugin;
|
|
25
|
+
|
|
26
|
+
declare const pid: DiagramPlugin;
|
|
27
|
+
|
|
28
|
+
export { decisiontree, pid, state, timeline };
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { decisiontree, parse, render, timeline } from './chunk-
|
|
1
|
+
export { decisiontree, parse, pid, render, state, timeline } from './chunk-NNU4RGT3.js';
|
|
2
2
|
export { orgchart } from './chunk-FCGHV6ZK.js';
|
|
3
|
-
export { circuit } from './chunk-
|
|
3
|
+
export { circuit } from './chunk-XZNPAD6E.js';
|
|
4
4
|
export { blockdiagram } from './chunk-UGCUNADI.js';
|
|
5
5
|
export { ladder } from './chunk-U6L3FAML.js';
|
|
6
6
|
export { sld } from './chunk-FE6GAUNW.js';
|
|
7
7
|
export { entity } from './chunk-M5B2UUNW.js';
|
|
8
8
|
export { fishbone } from './chunk-ZNDIGQJD.js';
|
|
9
9
|
export { venn } from './chunk-JDTB7IKL.js';
|
|
10
|
-
export { flowchart } from './chunk-
|
|
10
|
+
export { flowchart } from './chunk-TYCHEOQX.js';
|
|
11
11
|
export { genogram } from './chunk-H2OEUBPO.js';
|
|
12
|
-
export { ecomap } from './chunk-
|
|
12
|
+
export { ecomap } from './chunk-NB56L5QK.js';
|
|
13
13
|
export { pedigree } from './chunk-OC22GGQN.js';
|
|
14
14
|
export { phylo } from './chunk-YQANC7HQ.js';
|
|
15
15
|
export { sociogram } from './chunk-RP5UATRA.js';
|
package/dist/react.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXTATRNUN_cjs = require('./chunk-XTATRNUN.cjs');
|
|
4
4
|
require('./chunk-A5D2IMOX.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-K2SOC3XF.cjs');
|
|
6
6
|
require('./chunk-MCFQAUQV.cjs');
|
|
7
7
|
require('./chunk-B6INLQBU.cjs');
|
|
8
8
|
require('./chunk-3YZ6FPQW.cjs');
|
|
9
9
|
require('./chunk-ZNOD4VZT.cjs');
|
|
10
10
|
require('./chunk-5AEN2PLB.cjs');
|
|
11
11
|
require('./chunk-QSQX77S2.cjs');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-3FKS4KQK.cjs');
|
|
13
13
|
require('./chunk-MJGDP3CS.cjs');
|
|
14
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-NZH4GWE6.cjs');
|
|
15
15
|
require('./chunk-B37IKTI7.cjs');
|
|
16
16
|
require('./chunk-X7RPFTTR.cjs');
|
|
17
17
|
require('./chunk-COLTVQWR.cjs');
|
|
@@ -35,7 +35,7 @@ function SchematexDiagram({
|
|
|
35
35
|
}) {
|
|
36
36
|
const svg = react.useMemo(() => {
|
|
37
37
|
try {
|
|
38
|
-
return
|
|
38
|
+
return chunkXTATRNUN_cjs.render(dsl, { type, theme, fontFamily, padding });
|
|
39
39
|
} catch (err) {
|
|
40
40
|
const e = err instanceof Error ? err : new Error(String(err));
|
|
41
41
|
onError?.(e);
|
package/dist/react.d.cts
CHANGED
package/dist/react.d.ts
CHANGED
package/dist/react.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { render } from './chunk-
|
|
1
|
+
import { render } from './chunk-NNU4RGT3.js';
|
|
2
2
|
import './chunk-FCGHV6ZK.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-XZNPAD6E.js';
|
|
4
4
|
import './chunk-UGCUNADI.js';
|
|
5
5
|
import './chunk-U6L3FAML.js';
|
|
6
6
|
import './chunk-FE6GAUNW.js';
|
|
7
7
|
import './chunk-M5B2UUNW.js';
|
|
8
8
|
import './chunk-ZNDIGQJD.js';
|
|
9
9
|
import './chunk-JDTB7IKL.js';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-TYCHEOQX.js';
|
|
11
11
|
import './chunk-H2OEUBPO.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-NB56L5QK.js';
|
|
13
13
|
import './chunk-OC22GGQN.js';
|
|
14
14
|
import './chunk-YQANC7HQ.js';
|
|
15
15
|
import './chunk-RP5UATRA.js';
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* - Layout: DiagramAST → LayoutResult
|
|
9
9
|
* - Renderer: LayoutResult → SVG string
|
|
10
10
|
*/
|
|
11
|
-
type DiagramType = "genogram" | "ecomap" | "pedigree" | "phylo" | "sociogram" | "timing" | "logic" | "circuit" | "blockdiagram" | "ladder" | "sld" | "entity" | "fishbone" | "venn" | "flowchart" | "mindmap" | "matrix" | "orgchart" | "decisiontree" | "timeline";
|
|
11
|
+
type DiagramType = "genogram" | "ecomap" | "pedigree" | "phylo" | "sociogram" | "timing" | "logic" | "circuit" | "blockdiagram" | "ladder" | "sld" | "entity" | "fishbone" | "venn" | "flowchart" | "mindmap" | "matrix" | "orgchart" | "decisiontree" | "timeline" | "state" | "pid";
|
|
12
12
|
type GenogramMode = "medical" | "heritage";
|
|
13
13
|
/**
|
|
14
14
|
* Standard legend positions:
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* - Layout: DiagramAST → LayoutResult
|
|
9
9
|
* - Renderer: LayoutResult → SVG string
|
|
10
10
|
*/
|
|
11
|
-
type DiagramType = "genogram" | "ecomap" | "pedigree" | "phylo" | "sociogram" | "timing" | "logic" | "circuit" | "blockdiagram" | "ladder" | "sld" | "entity" | "fishbone" | "venn" | "flowchart" | "mindmap" | "matrix" | "orgchart" | "decisiontree" | "timeline";
|
|
11
|
+
type DiagramType = "genogram" | "ecomap" | "pedigree" | "phylo" | "sociogram" | "timing" | "logic" | "circuit" | "blockdiagram" | "ladder" | "sld" | "entity" | "fishbone" | "venn" | "flowchart" | "mindmap" | "matrix" | "orgchart" | "decisiontree" | "timeline" | "state" | "pid";
|
|
12
12
|
type GenogramMode = "medical" | "heritage";
|
|
13
13
|
/**
|
|
14
14
|
* Standard legend positions:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "schematex",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Every diagram a doctor, engineer, or lawyer would actually use.
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Every diagram a doctor, engineer, or lawyer would actually use. 22 industry-standard diagrams (genogram, pedigree, ladder logic, SLD, P&ID, UML state diagram, 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",
|
|
7
7
|
"module": "./dist/index.js",
|