schematex 0.6.6 → 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 +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-QFMTlIi7.d.ts → api-DIJM_mqp.d.ts} +1 -1
- package/dist/{api-DA4-U-jn.d.cts → api-JaBtsUT8.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-EUVUO3CL.cjs → chunk-34O3C6OC.cjs} +2 -2
- package/dist/{chunk-EUVUO3CL.cjs.map → chunk-34O3C6OC.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-3HZW6K5I.js → chunk-EVEPI423.js} +12 -4
- package/dist/chunk-EVEPI423.js.map +1 -0
- package/dist/{chunk-KCHUQXS3.js → chunk-JTGTWBAD.js} +2 -2
- package/dist/{chunk-KCHUQXS3.js.map → chunk-JTGTWBAD.js.map} +1 -1
- package/dist/{chunk-MLLARXOI.cjs → chunk-LDONE225.cjs} +62 -15
- package/dist/chunk-LDONE225.cjs.map +1 -0
- package/dist/{chunk-7DAIEDQP.js → chunk-MPCSWRZC.js} +75 -13
- package/dist/chunk-MPCSWRZC.js.map +1 -0
- package/dist/{chunk-DO2DDHTQ.cjs → chunk-QBS4F44Q.cjs} +515 -8
- 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-FOPOOV2P.js → chunk-TRUJ4Q6V.js} +58 -11
- package/dist/chunk-TRUJ4Q6V.js.map +1 -0
- package/dist/{chunk-XYHCAJMI.cjs → chunk-UHPGWO77.cjs} +75 -12
- package/dist/chunk-UHPGWO77.cjs.map +1 -0
- package/dist/{chunk-KJZCRHNR.js → chunk-WAKRRGAV.js} +515 -9
- package/dist/chunk-WAKRRGAV.js.map +1 -0
- package/dist/{chunk-CMZKAASF.cjs → chunk-WK36Z63Y.cjs} +14 -6
- package/dist/chunk-WK36Z63Y.cjs.map +1 -0
- package/dist/{diagnostics-CSznf_sl.d.cts → diagnostics-BKRow1ur.d.cts} +14 -0
- package/dist/{diagnostics-CSznf_sl.d.ts → diagnostics-BKRow1ur.d.ts} +14 -0
- 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 +11 -7
- package/dist/diagrams/circuit/index.d.cts +13 -2
- package/dist/diagrams/circuit/index.d.ts +13 -2
- 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.cjs +10 -6
- package/dist/diagrams/orgchart/index.d.cts +27 -2
- package/dist/diagrams/orgchart/index.d.ts +27 -2
- package/dist/diagrams/orgchart/index.js +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.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-CDpYuU7l.d.cts → index-DU2h1Y-a.d.cts} +1 -1
- package/dist/{index-jTwjudTW.d.ts → index-Dq3Mfxay.d.ts} +1 -1
- package/dist/index.cjs +35 -35
- 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-CbuSbW6B.d.cts → tools-A0HRZ8jj.d.ts} +11 -2
- package/dist/{tools-D344vOzR.d.ts → tools-OzOQnlnV.d.cts} +11 -2
- package/package.json +1 -1
- package/dist/chunk-3HZW6K5I.js.map +0 -1
- package/dist/chunk-7DAIEDQP.js.map +0 -1
- package/dist/chunk-CMZKAASF.cjs.map +0 -1
- package/dist/chunk-DO2DDHTQ.cjs.map +0 -1
- package/dist/chunk-EPKIJEH7.js.map +0 -1
- package/dist/chunk-FOPOOV2P.js.map +0 -1
- package/dist/chunk-KJZCRHNR.js.map +0 -1
- package/dist/chunk-MLLARXOI.cjs.map +0 -1
- package/dist/chunk-SUIDD2C5.cjs.map +0 -1
- package/dist/chunk-XYHCAJMI.cjs.map +0 -1
|
@@ -473,6 +473,20 @@ interface CircuitAST {
|
|
|
473
473
|
* Populated by the netlist parser; consumed by the auto-layout engine.
|
|
474
474
|
*/
|
|
475
475
|
pinMap?: Record<string, Record<string, string>>;
|
|
476
|
+
/**
|
|
477
|
+
* Netlist-only recoverable-input notes. Components given fewer nets than
|
|
478
|
+
* their pin count are padded with floating no-connect nets and rendered
|
|
479
|
+
* anyway (rather than throwing). Surfaced as `CIRCUIT_PIN_UNDERSPECIFIED`
|
|
480
|
+
* lint warnings (status `partial`).
|
|
481
|
+
*/
|
|
482
|
+
recovered?: {
|
|
483
|
+
underspecified?: {
|
|
484
|
+
id: string;
|
|
485
|
+
type: string;
|
|
486
|
+
expected: number;
|
|
487
|
+
got: number;
|
|
488
|
+
}[];
|
|
489
|
+
};
|
|
476
490
|
}
|
|
477
491
|
type BlockRole = "plant" | "controller" | "sensor" | "actuator" | "reference" | "disturbance" | "generic";
|
|
478
492
|
interface BlockNode {
|
|
@@ -473,6 +473,20 @@ interface CircuitAST {
|
|
|
473
473
|
* Populated by the netlist parser; consumed by the auto-layout engine.
|
|
474
474
|
*/
|
|
475
475
|
pinMap?: Record<string, Record<string, string>>;
|
|
476
|
+
/**
|
|
477
|
+
* Netlist-only recoverable-input notes. Components given fewer nets than
|
|
478
|
+
* their pin count are padded with floating no-connect nets and rendered
|
|
479
|
+
* anyway (rather than throwing). Surfaced as `CIRCUIT_PIN_UNDERSPECIFIED`
|
|
480
|
+
* lint warnings (status `partial`).
|
|
481
|
+
*/
|
|
482
|
+
recovered?: {
|
|
483
|
+
underspecified?: {
|
|
484
|
+
id: string;
|
|
485
|
+
type: string;
|
|
486
|
+
expected: number;
|
|
487
|
+
got: number;
|
|
488
|
+
}[];
|
|
489
|
+
};
|
|
476
490
|
}
|
|
477
491
|
type BlockRole = "plant" | "controller" | "sensor" | "actuator" | "reference" | "disturbance" | "generic";
|
|
478
492
|
interface BlockNode {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSHMG7BVF_cjs = require('../../chunk-SHMG7BVF.cjs');
|
|
4
4
|
require('../../chunk-NAGUZFXX.cjs');
|
|
5
5
|
require('../../chunk-3WNW5Y7P.cjs');
|
|
6
6
|
|
|
@@ -8,19 +8,19 @@ require('../../chunk-3WNW5Y7P.cjs');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "blockdiagram", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkSHMG7BVF_cjs.blockdiagram; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "layoutBlockDiagram", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkSHMG7BVF_cjs.layoutBlockDiagram; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "parseBlockDiagram", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkSHMG7BVF_cjs.parseBlockDiagram; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "renderBlockDiagram", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkSHMG7BVF_cjs.renderBlockDiagram; }
|
|
24
24
|
});
|
|
25
25
|
//# sourceMappingURL=index.cjs.map
|
|
26
26
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { blockdiagram, layoutBlockDiagram, parseBlockDiagram, renderBlockDiagram } from '../../chunk-
|
|
1
|
+
export { blockdiagram, layoutBlockDiagram, parseBlockDiagram, renderBlockDiagram } from '../../chunk-C7V57V6O.js';
|
|
2
2
|
import '../../chunk-5IKOLUWK.js';
|
|
3
3
|
import '../../chunk-SYYBKDL7.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQBS4F44Q_cjs = require('../../chunk-QBS4F44Q.cjs');
|
|
4
4
|
require('../../chunk-NZT5P2XZ.cjs');
|
|
5
5
|
require('../../chunk-NAGUZFXX.cjs');
|
|
6
6
|
require('../../chunk-3WNW5Y7P.cjs');
|
|
@@ -9,27 +9,31 @@ require('../../chunk-3WNW5Y7P.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "circuit", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkQBS4F44Q_cjs.circuit; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "layoutCircuit", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkQBS4F44Q_cjs.layoutCircuit; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "layoutCircuitNetlist", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkQBS4F44Q_cjs.layoutCircuitNetlist; }
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "lintCircuit", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return chunkQBS4F44Q_cjs.lintCircuit; }
|
|
21
25
|
});
|
|
22
26
|
Object.defineProperty(exports, "parseCircuit", {
|
|
23
27
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkQBS4F44Q_cjs.parseCircuit; }
|
|
25
29
|
});
|
|
26
30
|
Object.defineProperty(exports, "parseNetlist", {
|
|
27
31
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkQBS4F44Q_cjs.parseNetlist; }
|
|
29
33
|
});
|
|
30
34
|
Object.defineProperty(exports, "renderCircuit", {
|
|
31
35
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkQBS4F44Q_cjs.renderCircuit; }
|
|
33
37
|
});
|
|
34
38
|
//# sourceMappingURL=index.cjs.map
|
|
35
39
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CircuitAST, R as RenderConfig, j as CircuitComponent, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { C as CircuitAST, S as SchematexDiagnostic, R as RenderConfig, j as CircuitComponent, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Top-level circuit parser. Detects two DSL modes:
|
|
@@ -12,6 +12,17 @@ import { C as CircuitAST, R as RenderConfig, j as CircuitComponent, D as Diagram
|
|
|
12
12
|
*/
|
|
13
13
|
declare function parseCircuit(text: string): CircuitAST;
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Circuit recoverable-input lint.
|
|
17
|
+
*
|
|
18
|
+
* The netlist parser no longer throws when a multi-terminal component is given
|
|
19
|
+
* fewer nets than it has pins — it binds the missing pins to floating
|
|
20
|
+
* no-connect nets and draws the part anyway. This surfaces that recovery as a
|
|
21
|
+
* warning so the render reports `partial` and the author can wire the open
|
|
22
|
+
* terminals, without ever blanking a schematic that is otherwise complete.
|
|
23
|
+
*/
|
|
24
|
+
declare function lintCircuit(text: string): SchematexDiagnostic[];
|
|
25
|
+
|
|
15
26
|
/**
|
|
16
27
|
* Netlist DSL parser — SPICE-subset text → CircuitAST.
|
|
17
28
|
*
|
|
@@ -135,4 +146,4 @@ declare function layoutCircuitNetlist(ast: CircuitAST): AutoLayoutResult;
|
|
|
135
146
|
|
|
136
147
|
declare const circuit: DiagramPlugin;
|
|
137
148
|
|
|
138
|
-
export { circuit, layoutCircuit, layoutCircuitNetlist, parseCircuit, parseNetlist, renderCircuit };
|
|
149
|
+
export { circuit, layoutCircuit, layoutCircuitNetlist, lintCircuit, parseCircuit, parseNetlist, renderCircuit };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CircuitAST, R as RenderConfig, j as CircuitComponent, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { C as CircuitAST, S as SchematexDiagnostic, R as RenderConfig, j as CircuitComponent, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Top-level circuit parser. Detects two DSL modes:
|
|
@@ -12,6 +12,17 @@ import { C as CircuitAST, R as RenderConfig, j as CircuitComponent, D as Diagram
|
|
|
12
12
|
*/
|
|
13
13
|
declare function parseCircuit(text: string): CircuitAST;
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Circuit recoverable-input lint.
|
|
17
|
+
*
|
|
18
|
+
* The netlist parser no longer throws when a multi-terminal component is given
|
|
19
|
+
* fewer nets than it has pins — it binds the missing pins to floating
|
|
20
|
+
* no-connect nets and draws the part anyway. This surfaces that recovery as a
|
|
21
|
+
* warning so the render reports `partial` and the author can wire the open
|
|
22
|
+
* terminals, without ever blanking a schematic that is otherwise complete.
|
|
23
|
+
*/
|
|
24
|
+
declare function lintCircuit(text: string): SchematexDiagnostic[];
|
|
25
|
+
|
|
15
26
|
/**
|
|
16
27
|
* Netlist DSL parser — SPICE-subset text → CircuitAST.
|
|
17
28
|
*
|
|
@@ -135,4 +146,4 @@ declare function layoutCircuitNetlist(ast: CircuitAST): AutoLayoutResult;
|
|
|
135
146
|
|
|
136
147
|
declare const circuit: DiagramPlugin;
|
|
137
148
|
|
|
138
|
-
export { circuit, layoutCircuit, layoutCircuitNetlist, parseCircuit, parseNetlist, renderCircuit };
|
|
149
|
+
export { circuit, layoutCircuit, layoutCircuitNetlist, lintCircuit, parseCircuit, parseNetlist, renderCircuit };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { circuit, layoutCircuit, layoutCircuitNetlist, parseCircuit, parseNetlist, renderCircuit } from '../../chunk-
|
|
1
|
+
export { circuit, layoutCircuit, layoutCircuitNetlist, lintCircuit, parseCircuit, parseNetlist, renderCircuit } from '../../chunk-WAKRRGAV.js';
|
|
2
2
|
import '../../chunk-UK6HF6PE.js';
|
|
3
3
|
import '../../chunk-5IKOLUWK.js';
|
|
4
4
|
import '../../chunk-SYYBKDL7.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.cjs';
|
|
2
2
|
|
|
3
3
|
declare class EcomapParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.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, q as EntityNode, r as EntityEdge, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { E as EntityAST, R as RenderConfig, q as EntityNode, r as EntityEdge, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.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, q as EntityNode, r as EntityEdge, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { E as EntityAST, R as RenderConfig, q as EntityNode, r as EntityEdge, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.js';
|
|
2
2
|
|
|
3
3
|
declare function parseEntityDSL(text: string): EntityAST;
|
|
4
4
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../diagnostics-
|
|
2
|
-
export { F as FC_CONST, j as flowchart, t as layoutFlowchart, u as parseFlowchart, v as renderFlowchart, w as renderFlowchartAST } from '../../index-
|
|
1
|
+
import '../../diagnostics-BKRow1ur.cjs';
|
|
2
|
+
export { F as FC_CONST, j as flowchart, t as layoutFlowchart, u as parseFlowchart, v as renderFlowchart, w as renderFlowchartAST } from '../../index-DU2h1Y-a.cjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../diagnostics-
|
|
2
|
-
export { F as FC_CONST, j as flowchart, t as layoutFlowchart, u as parseFlowchart, v as renderFlowchart, w as renderFlowchartAST } from '../../index-
|
|
1
|
+
import '../../diagnostics-BKRow1ur.js';
|
|
2
|
+
export { F as FC_CONST, j as flowchart, t as layoutFlowchart, u as parseFlowchart, v as renderFlowchart, w as renderFlowchartAST } from '../../index-Dq3Mfxay.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.cjs';
|
|
2
2
|
|
|
3
3
|
declare class ParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.js';
|
|
2
2
|
|
|
3
3
|
declare class ParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as LadderAST, R as RenderConfig, l as LadderRung, m as LadderElement, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { k as LadderAST, R as RenderConfig, l as LadderRung, m as LadderElement, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.cjs';
|
|
2
2
|
|
|
3
3
|
declare function parseLadderDSL(text: string): LadderAST;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as LadderAST, R as RenderConfig, l as LadderRung, m as LadderElement, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { k as LadderAST, R as RenderConfig, l as LadderRung, m as LadderElement, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.js';
|
|
2
2
|
|
|
3
3
|
declare function parseLadderDSL(text: string): LadderAST;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as LogicGateAST, R as RenderConfig, S as SchematexDiagnostic, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { i as LogicGateAST, R as RenderConfig, S as SchematexDiagnostic, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.cjs';
|
|
2
2
|
|
|
3
3
|
declare function parseLogic(text: string): LogicGateAST;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as LogicGateAST, R as RenderConfig, S as SchematexDiagnostic, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { i as LogicGateAST, R as RenderConfig, S as SchematexDiagnostic, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.js';
|
|
2
2
|
|
|
3
3
|
declare function parseLogic(text: string): LogicGateAST;
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUHPGWO77_cjs = require('../../chunk-UHPGWO77.cjs');
|
|
4
4
|
require('../../chunk-NZT5P2XZ.cjs');
|
|
5
5
|
require('../../chunk-NAGUZFXX.cjs');
|
|
6
6
|
require('../../chunk-3WNW5Y7P.cjs');
|
|
@@ -9,23 +9,27 @@ require('../../chunk-3WNW5Y7P.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "OrgchartParseError", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkUHPGWO77_cjs.OrgchartParseError; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "layoutOrgchart", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkUHPGWO77_cjs.layoutOrgchart; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "lintOrgchart", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkUHPGWO77_cjs.lintOrgchart; }
|
|
17
21
|
});
|
|
18
22
|
Object.defineProperty(exports, "orgchart", {
|
|
19
23
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkUHPGWO77_cjs.orgchart; }
|
|
21
25
|
});
|
|
22
26
|
Object.defineProperty(exports, "parseOrgchart", {
|
|
23
27
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkUHPGWO77_cjs.parseOrgchart; }
|
|
25
29
|
});
|
|
26
30
|
Object.defineProperty(exports, "renderOrgchart", {
|
|
27
31
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkUHPGWO77_cjs.renderOrgchart; }
|
|
29
33
|
});
|
|
30
34
|
//# sourceMappingURL=index.cjs.map
|
|
31
35
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { S as SchematexDiagnostic, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.cjs';
|
|
2
2
|
|
|
3
3
|
type OrgchartDirection = "TD" | "LR";
|
|
4
4
|
type OrgchartLayoutMode = "tree" | "list";
|
|
@@ -47,6 +47,20 @@ interface OrgchartAST {
|
|
|
47
47
|
nodes: OrgchartNode[];
|
|
48
48
|
edges: OrgchartEdge[];
|
|
49
49
|
metadata?: Record<string, string>;
|
|
50
|
+
/**
|
|
51
|
+
* Recoverable-input notes recorded during parsing. The parser degrades
|
|
52
|
+
* instead of throwing — unparseable lines are skipped, duplicate ids dropped,
|
|
53
|
+
* and nodes referenced only by edges are synthesized — so a renderable chart
|
|
54
|
+
* is still produced. Surfaced as `partial`-status lint warnings.
|
|
55
|
+
*/
|
|
56
|
+
recovered?: {
|
|
57
|
+
unparseableLines?: {
|
|
58
|
+
line?: number;
|
|
59
|
+
text: string;
|
|
60
|
+
}[];
|
|
61
|
+
duplicateIds?: string[];
|
|
62
|
+
impliedNodes?: string[];
|
|
63
|
+
};
|
|
50
64
|
}
|
|
51
65
|
interface OrgchartLayoutNode {
|
|
52
66
|
node: OrgchartNode;
|
|
@@ -94,10 +108,21 @@ declare class OrgchartParseError extends Error {
|
|
|
94
108
|
}
|
|
95
109
|
declare function parseOrgchart(text: string): OrgchartAST;
|
|
96
110
|
|
|
111
|
+
/**
|
|
112
|
+
* Orgchart recoverable-input lint.
|
|
113
|
+
*
|
|
114
|
+
* The parser degrades instead of throwing: unparseable lines are skipped,
|
|
115
|
+
* duplicate ids dropped, and ids referenced only by edges are synthesized into
|
|
116
|
+
* nodes. Each recovery is surfaced here as a warning so the render reports
|
|
117
|
+
* `partial` and the author learns what was repaired — without ever blanking a
|
|
118
|
+
* chart that has at least one node.
|
|
119
|
+
*/
|
|
120
|
+
declare function lintOrgchart(text: string): SchematexDiagnostic[];
|
|
121
|
+
|
|
97
122
|
declare function renderOrgchart(ast: OrgchartAST, config?: RenderConfig): string;
|
|
98
123
|
|
|
99
124
|
declare function layoutOrgchart(ast: OrgchartAST, palette: readonly string[]): OrgchartLayoutResult;
|
|
100
125
|
|
|
101
126
|
declare const orgchart: DiagramPlugin;
|
|
102
127
|
|
|
103
|
-
export { type OrgchartAST, type OrgchartDirection, type OrgchartEdge, type OrgchartLayoutEdge, type OrgchartLayoutMode, type OrgchartLayoutNode, type OrgchartLayoutResult, type OrgchartNode, type OrgchartNodeKind, OrgchartParseError, type OrgchartRoleIcon, layoutOrgchart, orgchart, parseOrgchart, renderOrgchart };
|
|
128
|
+
export { type OrgchartAST, type OrgchartDirection, type OrgchartEdge, type OrgchartLayoutEdge, type OrgchartLayoutMode, type OrgchartLayoutNode, type OrgchartLayoutResult, type OrgchartNode, type OrgchartNodeKind, OrgchartParseError, type OrgchartRoleIcon, layoutOrgchart, lintOrgchart, orgchart, parseOrgchart, renderOrgchart };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { S as SchematexDiagnostic, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.js';
|
|
2
2
|
|
|
3
3
|
type OrgchartDirection = "TD" | "LR";
|
|
4
4
|
type OrgchartLayoutMode = "tree" | "list";
|
|
@@ -47,6 +47,20 @@ interface OrgchartAST {
|
|
|
47
47
|
nodes: OrgchartNode[];
|
|
48
48
|
edges: OrgchartEdge[];
|
|
49
49
|
metadata?: Record<string, string>;
|
|
50
|
+
/**
|
|
51
|
+
* Recoverable-input notes recorded during parsing. The parser degrades
|
|
52
|
+
* instead of throwing — unparseable lines are skipped, duplicate ids dropped,
|
|
53
|
+
* and nodes referenced only by edges are synthesized — so a renderable chart
|
|
54
|
+
* is still produced. Surfaced as `partial`-status lint warnings.
|
|
55
|
+
*/
|
|
56
|
+
recovered?: {
|
|
57
|
+
unparseableLines?: {
|
|
58
|
+
line?: number;
|
|
59
|
+
text: string;
|
|
60
|
+
}[];
|
|
61
|
+
duplicateIds?: string[];
|
|
62
|
+
impliedNodes?: string[];
|
|
63
|
+
};
|
|
50
64
|
}
|
|
51
65
|
interface OrgchartLayoutNode {
|
|
52
66
|
node: OrgchartNode;
|
|
@@ -94,10 +108,21 @@ declare class OrgchartParseError extends Error {
|
|
|
94
108
|
}
|
|
95
109
|
declare function parseOrgchart(text: string): OrgchartAST;
|
|
96
110
|
|
|
111
|
+
/**
|
|
112
|
+
* Orgchart recoverable-input lint.
|
|
113
|
+
*
|
|
114
|
+
* The parser degrades instead of throwing: unparseable lines are skipped,
|
|
115
|
+
* duplicate ids dropped, and ids referenced only by edges are synthesized into
|
|
116
|
+
* nodes. Each recovery is surfaced here as a warning so the render reports
|
|
117
|
+
* `partial` and the author learns what was repaired — without ever blanking a
|
|
118
|
+
* chart that has at least one node.
|
|
119
|
+
*/
|
|
120
|
+
declare function lintOrgchart(text: string): SchematexDiagnostic[];
|
|
121
|
+
|
|
97
122
|
declare function renderOrgchart(ast: OrgchartAST, config?: RenderConfig): string;
|
|
98
123
|
|
|
99
124
|
declare function layoutOrgchart(ast: OrgchartAST, palette: readonly string[]): OrgchartLayoutResult;
|
|
100
125
|
|
|
101
126
|
declare const orgchart: DiagramPlugin;
|
|
102
127
|
|
|
103
|
-
export { type OrgchartAST, type OrgchartDirection, type OrgchartEdge, type OrgchartLayoutEdge, type OrgchartLayoutMode, type OrgchartLayoutNode, type OrgchartLayoutResult, type OrgchartNode, type OrgchartNodeKind, OrgchartParseError, type OrgchartRoleIcon, layoutOrgchart, orgchart, parseOrgchart, renderOrgchart };
|
|
128
|
+
export { type OrgchartAST, type OrgchartDirection, type OrgchartEdge, type OrgchartLayoutEdge, type OrgchartLayoutMode, type OrgchartLayoutNode, type OrgchartLayoutResult, type OrgchartNode, type OrgchartNodeKind, OrgchartParseError, type OrgchartRoleIcon, layoutOrgchart, lintOrgchart, orgchart, parseOrgchart, renderOrgchart };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { OrgchartParseError, layoutOrgchart, orgchart, parseOrgchart, renderOrgchart } from '../../chunk-
|
|
1
|
+
export { OrgchartParseError, layoutOrgchart, lintOrgchart, orgchart, parseOrgchart, renderOrgchart } from '../../chunk-MPCSWRZC.js';
|
|
2
2
|
import '../../chunk-UK6HF6PE.js';
|
|
3
3
|
import '../../chunk-5IKOLUWK.js';
|
|
4
4
|
import '../../chunk-SYYBKDL7.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.cjs';
|
|
2
2
|
|
|
3
3
|
declare class PedigreeParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.js';
|
|
2
2
|
|
|
3
3
|
declare class PedigreeParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PhyloTreeAST, g as PhyloLayoutNode, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { P as PhyloTreeAST, g as PhyloLayoutNode, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.cjs';
|
|
2
2
|
|
|
3
3
|
declare class PhyloParseError extends Error {
|
|
4
4
|
constructor(message: string);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PhyloTreeAST, g as PhyloLayoutNode, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { P as PhyloTreeAST, g as PhyloLayoutNode, D as DiagramPlugin } from '../../diagnostics-BKRow1ur.js';
|
|
2
2
|
|
|
3
3
|
declare class PhyloParseError extends Error {
|
|
4
4
|
constructor(message: string);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk34O3C6OC_cjs = require('../../chunk-34O3C6OC.cjs');
|
|
4
4
|
require('../../chunk-3KRL2EGN.cjs');
|
|
5
5
|
require('../../chunk-SBB6C4OP.cjs');
|
|
6
6
|
require('../../chunk-NZT5P2XZ.cjs');
|
|
@@ -11,27 +11,27 @@ require('../../chunk-3WNW5Y7P.cjs');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "layoutSLD", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk34O3C6OC_cjs.layoutSLD; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "lintSLD", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk34O3C6OC_cjs.lintSLD; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "lintSLDAst", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk34O3C6OC_cjs.lintSLDAst; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "parseSLDDSL", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk34O3C6OC_cjs.parseSLDDSL; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "renderSLD", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk34O3C6OC_cjs.renderSLD; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "sld", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk34O3C6OC_cjs.sld; }
|
|
35
35
|
});
|
|
36
36
|
//# sourceMappingURL=index.cjs.map
|
|
37
37
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -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-BKRow1ur.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* SLD standard-compatibility lint.
|
|
@@ -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-BKRow1ur.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-JTGTWBAD.js';
|
|
2
2
|
import '../../chunk-2KTQ75LN.js';
|
|
3
3
|
import '../../chunk-PIV2A3HG.js';
|
|
4
4
|
import '../../chunk-UK6HF6PE.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-BKRow1ur.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-BKRow1ur.js';
|
|
2
2
|
|
|
3
3
|
type SociogramLayout = "circular" | "force-directed" | "concentric";
|
|
4
4
|
type EdgeValence = "positive" | "negative" | "neutral";
|
|
@@ -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-BKRow1ur.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-BKRow1ur.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Venn / Euler DSL parser (hand-written recursive descent).
|