schematex 0.4.3 → 0.5.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 +24 -3
- package/dist/ai/ai-sdk.cjs +9 -9
- package/dist/ai/ai-sdk.d.cts +2 -2
- package/dist/ai/ai-sdk.d.ts +2 -2
- package/dist/ai/ai-sdk.js +4 -4
- package/dist/ai/index.cjs +12 -12
- package/dist/ai/index.d.cts +3 -3
- package/dist/ai/index.d.ts +3 -3
- package/dist/ai/index.js +4 -4
- package/dist/{api-BIj9t4Oc.d.cts → api-C5UcmT7n.d.cts} +1 -1
- package/dist/{api-BIj9t4Oc.d.ts → api-C5UcmT7n.d.ts} +1 -1
- package/dist/browser.cjs +6 -6
- package/dist/browser.d.cts +2 -2
- package/dist/browser.d.ts +2 -2
- package/dist/browser.js +4 -4
- package/dist/{chunk-SMXU3KYA.cjs → chunk-3YUUC6RN.cjs} +5115 -282
- package/dist/chunk-3YUUC6RN.cjs.map +1 -0
- package/dist/{chunk-KWQTF6ZL.js → chunk-GTDQAN2Z.js} +5110 -280
- package/dist/chunk-GTDQAN2Z.js.map +1 -0
- package/dist/{chunk-J7JWMQD5.js → chunk-HUPDIRBX.js} +119 -4
- package/dist/chunk-HUPDIRBX.js.map +1 -0
- package/dist/{chunk-UBTKM2TB.js → chunk-IM4RCUHA.js} +210 -22
- package/dist/chunk-IM4RCUHA.js.map +1 -0
- package/dist/{chunk-N3SLYVNW.cjs → chunk-NWPCY65Z.cjs} +212 -24
- package/dist/{chunk-UBTKM2TB.js.map → chunk-NWPCY65Z.cjs.map} +1 -1
- package/dist/{chunk-VITE3MZQ.cjs → chunk-QTNPMIO2.cjs} +99 -5
- package/dist/chunk-QTNPMIO2.cjs.map +1 -0
- package/dist/{chunk-6IGSKU6D.js → chunk-UFTYX73U.js} +99 -5
- package/dist/chunk-UFTYX73U.js.map +1 -0
- package/dist/{chunk-2Z543TC3.cjs → chunk-XRCY75UV.cjs} +119 -4
- package/dist/chunk-XRCY75UV.cjs.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.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.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-DYpJXJcy.d.cts → index-C9A0h-CB.d.cts} +1 -1
- package/dist/{index-BeUVaQiD.d.ts → index-CJai_TEZ.d.ts} +1 -1
- package/dist/index.cjs +23 -11
- package/dist/index.d.cts +10 -4
- package/dist/index.d.ts +10 -4
- package/dist/index.js +3 -3
- package/dist/react.cjs +4 -4
- package/dist/react.d.cts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js +3 -3
- package/dist/{types-DKdo-Ua_.d.cts → types-BOAsqHoU.d.cts} +2 -2
- package/dist/{types-DKdo-Ua_.d.ts → types-BOAsqHoU.d.ts} +2 -2
- package/package.json +2 -2
- package/dist/chunk-2Z543TC3.cjs.map +0 -1
- package/dist/chunk-6IGSKU6D.js.map +0 -1
- package/dist/chunk-J7JWMQD5.js.map +0 -1
- package/dist/chunk-KWQTF6ZL.js.map +0 -1
- package/dist/chunk-N3SLYVNW.cjs.map +0 -1
- package/dist/chunk-SMXU3KYA.cjs.map +0 -1
- package/dist/chunk-VITE3MZQ.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXRCY75UV_cjs = require('../../chunk-XRCY75UV.cjs');
|
|
4
4
|
require('../../chunk-D7EHZFK4.cjs');
|
|
5
5
|
require('../../chunk-NAGUZFXX.cjs');
|
|
6
6
|
require('../../chunk-3WNW5Y7P.cjs');
|
|
@@ -9,27 +9,27 @@ require('../../chunk-3WNW5Y7P.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "circuit", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkXRCY75UV_cjs.circuit; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "layoutCircuit", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkXRCY75UV_cjs.layoutCircuit; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "layoutCircuitNetlist", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkXRCY75UV_cjs.layoutCircuitNetlist; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "parseCircuit", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkXRCY75UV_cjs.parseCircuit; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "parseNetlist", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkXRCY75UV_cjs.parseNetlist; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "renderCircuit", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkXRCY75UV_cjs.renderCircuit; }
|
|
33
33
|
});
|
|
34
34
|
//# sourceMappingURL=index.cjs.map
|
|
35
35
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CircuitAST, R as RenderConfig, p as CircuitComponent, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { C as CircuitAST, R as RenderConfig, p as CircuitComponent, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Top-level circuit parser. Detects two DSL modes:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CircuitAST, R as RenderConfig, p as CircuitComponent, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { C as CircuitAST, R as RenderConfig, p as CircuitComponent, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Top-level circuit parser. Detects two DSL modes:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { circuit, layoutCircuit, layoutCircuitNetlist, parseCircuit, parseNetlist, renderCircuit } from '../../chunk-
|
|
1
|
+
export { circuit, layoutCircuit, layoutCircuitNetlist, parseCircuit, parseNetlist, renderCircuit } from '../../chunk-HUPDIRBX.js';
|
|
2
2
|
import '../../chunk-2VNMKOUO.js';
|
|
3
3
|
import '../../chunk-5IKOLUWK.js';
|
|
4
4
|
import '../../chunk-SYYBKDL7.js';
|
|
@@ -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-BOAsqHoU.cjs';
|
|
2
2
|
|
|
3
3
|
declare class EcomapParseError 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-BOAsqHoU.js';
|
|
2
2
|
|
|
3
3
|
declare class EcomapParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EntityAST, R as RenderConfig, j as EntityNode, k as EntityEdge, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { E as EntityAST, R as RenderConfig, j as EntityNode, k as EntityEdge, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
|
|
2
2
|
|
|
3
3
|
declare function parseEntityDSL(text: string): EntityAST;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EntityAST, R as RenderConfig, j as EntityNode, k as EntityEdge, D as DiagramPlugin } from '../../types-
|
|
1
|
+
import { E as EntityAST, R as RenderConfig, j as EntityNode, k as EntityEdge, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
|
|
2
2
|
|
|
3
3
|
declare function parseEntityDSL(text: string): EntityAST;
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQTNPMIO2_cjs = require('../../chunk-QTNPMIO2.cjs');
|
|
4
4
|
require('../../chunk-3KRL2EGN.cjs');
|
|
5
5
|
require('../../chunk-D7EHZFK4.cjs');
|
|
6
6
|
require('../../chunk-3WNW5Y7P.cjs');
|
|
@@ -9,27 +9,27 @@ require('../../chunk-3WNW5Y7P.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "FC_CONST", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkQTNPMIO2_cjs.FC_CONST; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "flowchart", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkQTNPMIO2_cjs.flowchart; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "layoutFlowchart", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkQTNPMIO2_cjs.layoutFlowchart; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "parseFlowchart", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkQTNPMIO2_cjs.parseFlowchart; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "renderFlowchart", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkQTNPMIO2_cjs.renderFlowchart; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "renderFlowchartAST", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkQTNPMIO2_cjs.renderFlowchartAST; }
|
|
33
33
|
});
|
|
34
34
|
//# sourceMappingURL=index.cjs.map
|
|
35
35
|
//# 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-BOAsqHoU.cjs';
|
|
2
|
+
export { F as FC_CONST, g as flowchart, n as layoutFlowchart, p as parseFlowchart, o as renderFlowchart, q as renderFlowchartAST } from '../../index-C9A0h-CB.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-BOAsqHoU.js';
|
|
2
|
+
export { F as FC_CONST, g as flowchart, n as layoutFlowchart, p as parseFlowchart, o as renderFlowchart, q as renderFlowchartAST } from '../../index-CJai_TEZ.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-UFTYX73U.js';
|
|
2
2
|
import '../../chunk-2KTQ75LN.js';
|
|
3
3
|
import '../../chunk-2VNMKOUO.js';
|
|
4
4
|
import '../../chunk-SYYBKDL7.js';
|
|
@@ -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-BOAsqHoU.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-BOAsqHoU.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-BOAsqHoU.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-BOAsqHoU.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-BOAsqHoU.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-BOAsqHoU.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-BOAsqHoU.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-BOAsqHoU.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-BOAsqHoU.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-BOAsqHoU.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-BOAsqHoU.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-BOAsqHoU.js';
|
|
2
2
|
|
|
3
3
|
type SociogramLayout = "circular" | "force-directed" | "concentric";
|
|
4
4
|
type EdgeValence = "positive" | "negative" | "neutral";
|
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3YUUC6RN_cjs = require('./chunk-3YUUC6RN.cjs');
|
|
4
4
|
var chunkQUKVGHN4_cjs = require('./chunk-QUKVGHN4.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkXRCY75UV_cjs = require('./chunk-XRCY75UV.cjs');
|
|
6
6
|
var chunkSUIDD2C5_cjs = require('./chunk-SUIDD2C5.cjs');
|
|
7
7
|
var chunkN7W5KZK7_cjs = require('./chunk-N7W5KZK7.cjs');
|
|
8
8
|
var chunk3M6WB62Y_cjs = require('./chunk-3M6WB62Y.cjs');
|
|
@@ -10,7 +10,7 @@ require('./chunk-SBB6C4OP.cjs');
|
|
|
10
10
|
var chunkRYVV5UVI_cjs = require('./chunk-RYVV5UVI.cjs');
|
|
11
11
|
var chunkVFZOPRQP_cjs = require('./chunk-VFZOPRQP.cjs');
|
|
12
12
|
var chunkBW4KGTV7_cjs = require('./chunk-BW4KGTV7.cjs');
|
|
13
|
-
var
|
|
13
|
+
var chunkQTNPMIO2_cjs = require('./chunk-QTNPMIO2.cjs');
|
|
14
14
|
var chunkTZTCIAYW_cjs = require('./chunk-TZTCIAYW.cjs');
|
|
15
15
|
var chunkVZ5LDNHK_cjs = require('./chunk-VZ5LDNHK.cjs');
|
|
16
16
|
var chunkEGSUMHCS_cjs = require('./chunk-EGSUMHCS.cjs');
|
|
@@ -28,27 +28,39 @@ require('./chunk-3WNW5Y7P.cjs');
|
|
|
28
28
|
|
|
29
29
|
Object.defineProperty(exports, "decisiontree", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk3YUUC6RN_cjs.decisiontree; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "parse", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk3YUUC6RN_cjs.parse; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "pert", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunk3YUUC6RN_cjs.pert; }
|
|
36
40
|
});
|
|
37
41
|
Object.defineProperty(exports, "pid", {
|
|
38
42
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk3YUUC6RN_cjs.pid; }
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "prisma", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return chunk3YUUC6RN_cjs.prisma; }
|
|
40
48
|
});
|
|
41
49
|
Object.defineProperty(exports, "render", {
|
|
42
50
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunk3YUUC6RN_cjs.render; }
|
|
44
52
|
});
|
|
45
53
|
Object.defineProperty(exports, "state", {
|
|
46
54
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunk3YUUC6RN_cjs.state; }
|
|
48
56
|
});
|
|
49
57
|
Object.defineProperty(exports, "timeline", {
|
|
50
58
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk3YUUC6RN_cjs.timeline; }
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, "usecase", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () { return chunk3YUUC6RN_cjs.usecase; }
|
|
52
64
|
});
|
|
53
65
|
Object.defineProperty(exports, "orgchart", {
|
|
54
66
|
enumerable: true,
|
|
@@ -56,7 +68,7 @@ Object.defineProperty(exports, "orgchart", {
|
|
|
56
68
|
});
|
|
57
69
|
Object.defineProperty(exports, "circuit", {
|
|
58
70
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkXRCY75UV_cjs.circuit; }
|
|
60
72
|
});
|
|
61
73
|
Object.defineProperty(exports, "blockdiagram", {
|
|
62
74
|
enumerable: true,
|
|
@@ -84,7 +96,7 @@ Object.defineProperty(exports, "venn", {
|
|
|
84
96
|
});
|
|
85
97
|
Object.defineProperty(exports, "flowchart", {
|
|
86
98
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkQTNPMIO2_cjs.flowchart; }
|
|
88
100
|
});
|
|
89
101
|
Object.defineProperty(exports, "genogram", {
|
|
90
102
|
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-C5UcmT7n.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,9 +13,9 @@ 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-C9A0h-CB.cjs';
|
|
17
17
|
export { orgchart } from './diagrams/orgchart/index.cjs';
|
|
18
|
-
import { D as DiagramPlugin } from './types-
|
|
18
|
+
import { D as DiagramPlugin } from './types-BOAsqHoU.cjs';
|
|
19
19
|
|
|
20
20
|
declare const decisiontree: DiagramPlugin;
|
|
21
21
|
|
|
@@ -25,4 +25,10 @@ declare const state: DiagramPlugin;
|
|
|
25
25
|
|
|
26
26
|
declare const pid: DiagramPlugin;
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
declare const prisma: DiagramPlugin;
|
|
29
|
+
|
|
30
|
+
declare const usecase: DiagramPlugin;
|
|
31
|
+
|
|
32
|
+
declare const pert: DiagramPlugin;
|
|
33
|
+
|
|
34
|
+
export { decisiontree, pert, pid, prisma, state, timeline, usecase };
|
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-C5UcmT7n.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,9 +13,9 @@ 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-CJai_TEZ.js';
|
|
17
17
|
export { orgchart } from './diagrams/orgchart/index.js';
|
|
18
|
-
import { D as DiagramPlugin } from './types-
|
|
18
|
+
import { D as DiagramPlugin } from './types-BOAsqHoU.js';
|
|
19
19
|
|
|
20
20
|
declare const decisiontree: DiagramPlugin;
|
|
21
21
|
|
|
@@ -25,4 +25,10 @@ declare const state: DiagramPlugin;
|
|
|
25
25
|
|
|
26
26
|
declare const pid: DiagramPlugin;
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
declare const prisma: DiagramPlugin;
|
|
29
|
+
|
|
30
|
+
declare const usecase: DiagramPlugin;
|
|
31
|
+
|
|
32
|
+
declare const pert: DiagramPlugin;
|
|
33
|
+
|
|
34
|
+
export { decisiontree, pert, pid, prisma, state, timeline, usecase };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { decisiontree, parse, pid, render, state, timeline } from './chunk-
|
|
1
|
+
export { decisiontree, parse, pert, pid, prisma, render, state, timeline, usecase } from './chunk-GTDQAN2Z.js';
|
|
2
2
|
export { orgchart } from './chunk-I55HO32M.js';
|
|
3
|
-
export { circuit } from './chunk-
|
|
3
|
+
export { circuit } from './chunk-HUPDIRBX.js';
|
|
4
4
|
export { blockdiagram } from './chunk-EPKIJEH7.js';
|
|
5
5
|
export { ladder } from './chunk-IBRW3UOA.js';
|
|
6
6
|
export { sld } from './chunk-6OSUNBZY.js';
|
|
@@ -8,7 +8,7 @@ import './chunk-PIV2A3HG.js';
|
|
|
8
8
|
export { entity } from './chunk-SZK376QB.js';
|
|
9
9
|
export { fishbone } from './chunk-3M6T7KB4.js';
|
|
10
10
|
export { venn } from './chunk-L3CTXXVZ.js';
|
|
11
|
-
export { flowchart } from './chunk-
|
|
11
|
+
export { flowchart } from './chunk-UFTYX73U.js';
|
|
12
12
|
export { genogram } from './chunk-VJGMEGMR.js';
|
|
13
13
|
export { ecomap } from './chunk-JHDR56XO.js';
|
|
14
14
|
export { pedigree } from './chunk-ZL5RB4UV.js';
|
package/dist/react.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3YUUC6RN_cjs = require('./chunk-3YUUC6RN.cjs');
|
|
4
4
|
require('./chunk-QUKVGHN4.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-XRCY75UV.cjs');
|
|
6
6
|
require('./chunk-SUIDD2C5.cjs');
|
|
7
7
|
require('./chunk-N7W5KZK7.cjs');
|
|
8
8
|
require('./chunk-3M6WB62Y.cjs');
|
|
@@ -10,7 +10,7 @@ require('./chunk-SBB6C4OP.cjs');
|
|
|
10
10
|
require('./chunk-RYVV5UVI.cjs');
|
|
11
11
|
require('./chunk-VFZOPRQP.cjs');
|
|
12
12
|
require('./chunk-BW4KGTV7.cjs');
|
|
13
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-QTNPMIO2.cjs');
|
|
14
14
|
require('./chunk-TZTCIAYW.cjs');
|
|
15
15
|
require('./chunk-VZ5LDNHK.cjs');
|
|
16
16
|
require('./chunk-EGSUMHCS.cjs');
|
|
@@ -38,7 +38,7 @@ function SchematexDiagram({
|
|
|
38
38
|
}) {
|
|
39
39
|
const svg = react.useMemo(() => {
|
|
40
40
|
try {
|
|
41
|
-
return
|
|
41
|
+
return chunk3YUUC6RN_cjs.render(dsl, { type, theme, fontFamily, padding });
|
|
42
42
|
} catch (err) {
|
|
43
43
|
const e = err instanceof Error ? err : new Error(String(err));
|
|
44
44
|
onError?.(e);
|
package/dist/react.d.cts
CHANGED
package/dist/react.d.ts
CHANGED
package/dist/react.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { render } from './chunk-
|
|
1
|
+
import { render } from './chunk-GTDQAN2Z.js';
|
|
2
2
|
import './chunk-I55HO32M.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-HUPDIRBX.js';
|
|
4
4
|
import './chunk-EPKIJEH7.js';
|
|
5
5
|
import './chunk-IBRW3UOA.js';
|
|
6
6
|
import './chunk-6OSUNBZY.js';
|
|
@@ -8,7 +8,7 @@ import './chunk-PIV2A3HG.js';
|
|
|
8
8
|
import './chunk-SZK376QB.js';
|
|
9
9
|
import './chunk-3M6T7KB4.js';
|
|
10
10
|
import './chunk-L3CTXXVZ.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-UFTYX73U.js';
|
|
12
12
|
import './chunk-VJGMEGMR.js';
|
|
13
13
|
import './chunk-JHDR56XO.js';
|
|
14
14
|
import './chunk-ZL5RB4UV.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" | "state" | "pid" | "erd" | "breadboard" | "bpmn" | "fbd" | "sfc";
|
|
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" | "erd" | "breadboard" | "bpmn" | "fbd" | "sfc" | "prisma" | "usecase" | "pert";
|
|
12
12
|
type GenogramMode = "medical" | "heritage";
|
|
13
13
|
/**
|
|
14
14
|
* Standard legend positions:
|
|
@@ -410,7 +410,7 @@ interface LogicGateAST {
|
|
|
410
410
|
/** Non-fatal parser warnings (e.g. signals auto-declared as inputs). */
|
|
411
411
|
warnings?: string[];
|
|
412
412
|
}
|
|
413
|
-
type CircuitComponentType = "resistor" | "potentiometer" | "rheostat" | "thermistor_ntc" | "thermistor_ptc" | "ldr" | "varistor" | "fuse" | "fuse_slow" | "capacitor" | "electrolytic_cap" | "variable_cap" | "inductor" | "inductor_iron" | "inductor_ferrite" | "variable_inductor" | "ferrite_bead" | "crystal" | "transformer" | "diode" | "zener" | "schottky" | "led" | "photodiode" | "varactor" | "tvs_diode" | "bridge_rectifier" | "npn" | "pnp" | "darlington_npn" | "darlington_pnp" | "nmos" | "pmos" | "nmos_depletion" | "jfet_n" | "jfet_p" | "igbt" | "scr" | "triac" | "diac" | "phototransistor" | "optocoupler" | "opamp" | "comparator" | "schmitt_buffer" | "tri_state_buffer" | "instrumentation_amp" | "generic_ic" | "voltage_regulator" | "dc_dc_converter" | "555_timer" | "terminal_block" | "voltage_source" | "current_source" | "ac_source" | "battery" | "vcc" | "ground" | "gnd_signal" | "gnd_chassis" | "gnd_digital" | "switch_spst" | "switch_spdt" | "switch_dpdt" | "push_no" | "push_nc" | "relay_coil" | "relay_no" | "relay_nc" | "motor" | "speaker" | "microphone" | "buzzer" | "ammeter" | "voltmeter" | "wattmeter" | "oscilloscope" | "wire" | "dot" | "label" | "port" | "test_point" | "no_connect" | "antenna";
|
|
413
|
+
type CircuitComponentType = "resistor" | "potentiometer" | "rheostat" | "thermistor_ntc" | "thermistor_ptc" | "ldr" | "varistor" | "fuse" | "fuse_slow" | "capacitor" | "electrolytic_cap" | "variable_cap" | "inductor" | "inductor_iron" | "inductor_ferrite" | "variable_inductor" | "ferrite_bead" | "crystal" | "transformer" | "diode" | "zener" | "schottky" | "led" | "photodiode" | "varactor" | "tvs_diode" | "bridge_rectifier" | "npn" | "pnp" | "darlington_npn" | "darlington_pnp" | "nmos" | "pmos" | "nmos_depletion" | "jfet_n" | "jfet_p" | "igbt" | "scr" | "triac" | "diac" | "phototransistor" | "optocoupler" | "opamp" | "comparator" | "schmitt_buffer" | "tri_state_buffer" | "instrumentation_amp" | "generic_ic" | "voltage_regulator" | "dc_dc_converter" | "555_timer" | "terminal_block" | "voltage_source" | "current_source" | "ac_source" | "battery" | "vcc" | "ground" | "gnd_signal" | "gnd_chassis" | "gnd_digital" | "switch_spst" | "switch_spdt" | "switch_dpdt" | "push_no" | "push_nc" | "relay_coil" | "relay_no" | "relay_nc" | "contactor" | "solenoid_valve" | "thermal_overload" | "disconnect_switch" | "motor" | "speaker" | "microphone" | "buzzer" | "ammeter" | "voltmeter" | "wattmeter" | "oscilloscope" | "wire" | "dot" | "label" | "port" | "test_point" | "no_connect" | "antenna";
|
|
414
414
|
type CircuitDirection = "right" | "left" | "up" | "down";
|
|
415
415
|
interface CircuitComponent {
|
|
416
416
|
id: string;
|
|
@@ -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" | "state" | "pid" | "erd" | "breadboard" | "bpmn" | "fbd" | "sfc";
|
|
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" | "erd" | "breadboard" | "bpmn" | "fbd" | "sfc" | "prisma" | "usecase" | "pert";
|
|
12
12
|
type GenogramMode = "medical" | "heritage";
|
|
13
13
|
/**
|
|
14
14
|
* Standard legend positions:
|
|
@@ -410,7 +410,7 @@ interface LogicGateAST {
|
|
|
410
410
|
/** Non-fatal parser warnings (e.g. signals auto-declared as inputs). */
|
|
411
411
|
warnings?: string[];
|
|
412
412
|
}
|
|
413
|
-
type CircuitComponentType = "resistor" | "potentiometer" | "rheostat" | "thermistor_ntc" | "thermistor_ptc" | "ldr" | "varistor" | "fuse" | "fuse_slow" | "capacitor" | "electrolytic_cap" | "variable_cap" | "inductor" | "inductor_iron" | "inductor_ferrite" | "variable_inductor" | "ferrite_bead" | "crystal" | "transformer" | "diode" | "zener" | "schottky" | "led" | "photodiode" | "varactor" | "tvs_diode" | "bridge_rectifier" | "npn" | "pnp" | "darlington_npn" | "darlington_pnp" | "nmos" | "pmos" | "nmos_depletion" | "jfet_n" | "jfet_p" | "igbt" | "scr" | "triac" | "diac" | "phototransistor" | "optocoupler" | "opamp" | "comparator" | "schmitt_buffer" | "tri_state_buffer" | "instrumentation_amp" | "generic_ic" | "voltage_regulator" | "dc_dc_converter" | "555_timer" | "terminal_block" | "voltage_source" | "current_source" | "ac_source" | "battery" | "vcc" | "ground" | "gnd_signal" | "gnd_chassis" | "gnd_digital" | "switch_spst" | "switch_spdt" | "switch_dpdt" | "push_no" | "push_nc" | "relay_coil" | "relay_no" | "relay_nc" | "motor" | "speaker" | "microphone" | "buzzer" | "ammeter" | "voltmeter" | "wattmeter" | "oscilloscope" | "wire" | "dot" | "label" | "port" | "test_point" | "no_connect" | "antenna";
|
|
413
|
+
type CircuitComponentType = "resistor" | "potentiometer" | "rheostat" | "thermistor_ntc" | "thermistor_ptc" | "ldr" | "varistor" | "fuse" | "fuse_slow" | "capacitor" | "electrolytic_cap" | "variable_cap" | "inductor" | "inductor_iron" | "inductor_ferrite" | "variable_inductor" | "ferrite_bead" | "crystal" | "transformer" | "diode" | "zener" | "schottky" | "led" | "photodiode" | "varactor" | "tvs_diode" | "bridge_rectifier" | "npn" | "pnp" | "darlington_npn" | "darlington_pnp" | "nmos" | "pmos" | "nmos_depletion" | "jfet_n" | "jfet_p" | "igbt" | "scr" | "triac" | "diac" | "phototransistor" | "optocoupler" | "opamp" | "comparator" | "schmitt_buffer" | "tri_state_buffer" | "instrumentation_amp" | "generic_ic" | "voltage_regulator" | "dc_dc_converter" | "555_timer" | "terminal_block" | "voltage_source" | "current_source" | "ac_source" | "battery" | "vcc" | "ground" | "gnd_signal" | "gnd_chassis" | "gnd_digital" | "switch_spst" | "switch_spdt" | "switch_dpdt" | "push_no" | "push_nc" | "relay_coil" | "relay_no" | "relay_nc" | "contactor" | "solenoid_valve" | "thermal_overload" | "disconnect_switch" | "motor" | "speaker" | "microphone" | "buzzer" | "ammeter" | "voltmeter" | "wattmeter" | "oscilloscope" | "wire" | "dot" | "label" | "port" | "test_point" | "no_connect" | "antenna";
|
|
414
414
|
type CircuitDirection = "right" | "left" | "up" | "down";
|
|
415
415
|
interface CircuitComponent {
|
|
416
416
|
id: string;
|