schematex 0.5.2 → 0.6.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 +75 -1
- package/dist/ai/ai-sdk.cjs +22 -22
- package/dist/ai/ai-sdk.d.cts +3 -3
- package/dist/ai/ai-sdk.d.ts +3 -3
- package/dist/ai/ai-sdk.js +17 -17
- package/dist/ai/index.cjs +34 -26
- package/dist/ai/index.d.cts +4 -4
- package/dist/ai/index.d.ts +4 -4
- package/dist/ai/index.js +17 -17
- package/dist/{api-Cr_MxttI.d.ts → api-XWHHAhQI.d.ts} +3 -40
- package/dist/{api-C5SECOxZ.d.cts → api-qVDutqXH.d.cts} +3 -40
- package/dist/browser.cjs +23 -23
- package/dist/browser.d.cts +3 -3
- package/dist/browser.d.ts +3 -3
- package/dist/browser.js +17 -17
- package/dist/{chunk-4QPDZJAL.cjs → chunk-25ZON47K.cjs} +11484 -9030
- package/dist/chunk-25ZON47K.cjs.map +1 -0
- package/dist/{chunk-N7W5KZK7.cjs → chunk-2L4YXZAZ.cjs} +4 -4
- package/dist/{chunk-N7W5KZK7.cjs.map → chunk-2L4YXZAZ.cjs.map} +1 -1
- package/dist/{chunk-ZYRCPSBU.js → chunk-3IE7KZY4.js} +4 -4
- package/dist/{chunk-ZYRCPSBU.js.map → chunk-3IE7KZY4.js.map} +1 -1
- package/dist/{chunk-ZX74KJPM.js → chunk-3VB5AT4R.js} +3 -3
- package/dist/{chunk-ZX74KJPM.js.map → chunk-3VB5AT4R.js.map} +1 -1
- package/dist/{chunk-S2KJRHDZ.cjs → chunk-4UFR2LB6.cjs} +13 -13
- package/dist/{chunk-S2KJRHDZ.cjs.map → chunk-4UFR2LB6.cjs.map} +1 -1
- package/dist/{chunk-QTNPMIO2.cjs → chunk-6JI6FWLZ.cjs} +341 -35
- package/dist/chunk-6JI6FWLZ.cjs.map +1 -0
- package/dist/{chunk-OK5ZS3LU.js → chunk-7AFW2J6J.js} +11445 -8998
- package/dist/chunk-7AFW2J6J.js.map +1 -0
- package/dist/{chunk-UFTYX73U.js → chunk-7F76AWOI.js} +339 -35
- package/dist/chunk-7F76AWOI.js.map +1 -0
- package/dist/{chunk-BW4KGTV7.cjs → chunk-C5C5EF3W.cjs} +4 -4
- package/dist/{chunk-BW4KGTV7.cjs.map → chunk-C5C5EF3W.cjs.map} +1 -1
- package/dist/{chunk-VJGMEGMR.js → chunk-DOK7LKLO.js} +125 -13
- package/dist/chunk-DOK7LKLO.js.map +1 -0
- package/dist/{chunk-3M6WB62Y.cjs → chunk-ECD5XHBM.cjs} +139 -7
- package/dist/chunk-ECD5XHBM.cjs.map +1 -0
- package/dist/{chunk-L3CTXXVZ.js → chunk-FBS3PACU.js} +3 -3
- package/dist/{chunk-L3CTXXVZ.js.map → chunk-FBS3PACU.js.map} +1 -1
- package/dist/{chunk-QUKVGHN4.cjs → chunk-FKJBXGWP.cjs} +4 -4
- package/dist/{chunk-QUKVGHN4.cjs.map → chunk-FKJBXGWP.cjs.map} +1 -1
- package/dist/{chunk-SZK376QB.js → chunk-H4MT5TJP.js} +3 -3
- package/dist/{chunk-SZK376QB.js.map → chunk-H4MT5TJP.js.map} +1 -1
- package/dist/{chunk-3M6T7KB4.js → chunk-HAZALB7U.js} +3 -3
- package/dist/{chunk-3M6T7KB4.js.map → chunk-HAZALB7U.js.map} +1 -1
- package/dist/{chunk-VFZOPRQP.cjs → chunk-HWVBHU3O.cjs} +5 -5
- package/dist/{chunk-VFZOPRQP.cjs.map → chunk-HWVBHU3O.cjs.map} +1 -1
- package/dist/{chunk-D7EHZFK4.cjs → chunk-L7POWM5B.cjs} +138 -2
- package/dist/chunk-L7POWM5B.cjs.map +1 -0
- package/dist/{chunk-6OSUNBZY.js → chunk-LGABFD3L.js} +135 -7
- package/dist/chunk-LGABFD3L.js.map +1 -0
- package/dist/{chunk-2VNMKOUO.js → chunk-LRI4RH2N.js} +135 -3
- package/dist/chunk-LRI4RH2N.js.map +1 -0
- package/dist/{chunk-VDSYMSUY.js → chunk-MVIEIKOI.js} +3 -3
- package/dist/{chunk-VDSYMSUY.js.map → chunk-MVIEIKOI.js.map} +1 -1
- package/dist/{chunk-ZL5RB4UV.js → chunk-N5B242WY.js} +3 -3
- package/dist/{chunk-ZL5RB4UV.js.map → chunk-N5B242WY.js.map} +1 -1
- package/dist/{chunk-VKPCR7BG.js → chunk-P63S7P6N.js} +770 -12
- package/dist/chunk-P63S7P6N.js.map +1 -0
- package/dist/{chunk-YLEVMOK2.cjs → chunk-R66QG3XT.cjs} +5 -4
- package/dist/{chunk-YLEVMOK2.cjs.map → chunk-R66QG3XT.cjs.map} +1 -1
- package/dist/{chunk-I55HO32M.js → chunk-RJMCWT7Z.js} +3 -3
- package/dist/{chunk-I55HO32M.js.map → chunk-RJMCWT7Z.js.map} +1 -1
- package/dist/{chunk-TZTCIAYW.cjs → chunk-S3RMAXH5.cjs} +137 -25
- package/dist/chunk-S3RMAXH5.cjs.map +1 -0
- package/dist/{chunk-IBRW3UOA.js → chunk-TWLKXV2O.js} +3 -3
- package/dist/{chunk-IBRW3UOA.js.map → chunk-TWLKXV2O.js.map} +1 -1
- package/dist/{chunk-VCH7RI5H.js → chunk-UWA5MWCI.js} +4 -4
- package/dist/chunk-UWA5MWCI.js.map +1 -0
- package/dist/{chunk-RYVV5UVI.cjs → chunk-V4GILQR6.cjs} +4 -4
- package/dist/{chunk-RYVV5UVI.cjs.map → chunk-V4GILQR6.cjs.map} +1 -1
- package/dist/{chunk-QMTWG6JL.cjs → chunk-V4RO5KYY.cjs} +6 -4
- package/dist/chunk-V4RO5KYY.cjs.map +1 -0
- package/dist/{chunk-VZ5LDNHK.cjs → chunk-VTSH4YPT.cjs} +12 -12
- package/dist/{chunk-VZ5LDNHK.cjs.map → chunk-VTSH4YPT.cjs.map} +1 -1
- package/dist/{chunk-UUBNQV2T.cjs → chunk-WQDIZH2Z.cjs} +12 -12
- package/dist/{chunk-UUBNQV2T.cjs.map → chunk-WQDIZH2Z.cjs.map} +1 -1
- package/dist/{chunk-EGSUMHCS.cjs → chunk-YB4XJY5L.cjs} +12 -12
- package/dist/{chunk-EGSUMHCS.cjs.map → chunk-YB4XJY5L.cjs.map} +1 -1
- package/dist/{chunk-JHDR56XO.js → chunk-YS6CGUNH.js} +3 -3
- package/dist/{chunk-JHDR56XO.js.map → chunk-YS6CGUNH.js.map} +1 -1
- package/dist/{chunk-HK56GQQP.cjs → chunk-YVDUEUFV.cjs} +773 -13
- package/dist/chunk-YVDUEUFV.cjs.map +1 -0
- package/dist/{types-WTr9W5Ud.d.ts → diagnostics-DRxhodP6.d.cts} +74 -2
- package/dist/{types-WTr9W5Ud.d.cts → diagnostics-DRxhodP6.d.ts} +74 -2
- package/dist/diagrams/blockdiagram/index.d.cts +1 -1
- package/dist/diagrams/blockdiagram/index.d.ts +1 -1
- package/dist/diagrams/circuit/index.cjs +8 -8
- package/dist/diagrams/circuit/index.d.cts +1 -1
- package/dist/diagrams/circuit/index.d.ts +1 -1
- package/dist/diagrams/circuit/index.js +2 -2
- package/dist/diagrams/ecomap/index.cjs +7 -7
- package/dist/diagrams/ecomap/index.d.cts +1 -1
- package/dist/diagrams/ecomap/index.d.ts +1 -1
- package/dist/diagrams/ecomap/index.js +2 -2
- package/dist/diagrams/entity/index.cjs +6 -6
- package/dist/diagrams/entity/index.d.cts +1 -1
- package/dist/diagrams/entity/index.d.ts +1 -1
- package/dist/diagrams/entity/index.js +2 -2
- package/dist/diagrams/fishbone/index.cjs +8 -8
- package/dist/diagrams/fishbone/index.d.cts +1 -1
- package/dist/diagrams/fishbone/index.d.ts +1 -1
- package/dist/diagrams/fishbone/index.js +2 -2
- package/dist/diagrams/flowchart/index.cjs +8 -8
- package/dist/diagrams/flowchart/index.d.cts +2 -2
- package/dist/diagrams/flowchart/index.d.ts +2 -2
- package/dist/diagrams/flowchart/index.js +2 -2
- package/dist/diagrams/genogram/index.cjs +9 -9
- package/dist/diagrams/genogram/index.d.cts +1 -1
- package/dist/diagrams/genogram/index.d.ts +1 -1
- package/dist/diagrams/genogram/index.js +2 -2
- package/dist/diagrams/ladder/index.cjs +6 -6
- package/dist/diagrams/ladder/index.d.cts +1 -1
- package/dist/diagrams/ladder/index.d.ts +1 -1
- package/dist/diagrams/ladder/index.js +2 -2
- package/dist/diagrams/logic/index.cjs +6 -6
- package/dist/diagrams/logic/index.d.cts +1 -1
- package/dist/diagrams/logic/index.d.ts +1 -1
- package/dist/diagrams/logic/index.js +2 -2
- package/dist/diagrams/orgchart/index.cjs +7 -7
- package/dist/diagrams/orgchart/index.d.cts +1 -1
- package/dist/diagrams/orgchart/index.d.ts +1 -1
- package/dist/diagrams/orgchart/index.js +2 -2
- package/dist/diagrams/pedigree/index.cjs +7 -7
- package/dist/diagrams/pedigree/index.d.cts +1 -1
- package/dist/diagrams/pedigree/index.d.ts +1 -1
- package/dist/diagrams/pedigree/index.js +2 -2
- package/dist/diagrams/phylo/index.cjs +7 -7
- package/dist/diagrams/phylo/index.d.cts +1 -1
- package/dist/diagrams/phylo/index.d.ts +1 -1
- package/dist/diagrams/phylo/index.js +2 -2
- package/dist/diagrams/sld/index.cjs +14 -6
- package/dist/diagrams/sld/index.d.cts +14 -2
- package/dist/diagrams/sld/index.d.ts +14 -2
- package/dist/diagrams/sld/index.js +2 -2
- package/dist/diagrams/sociogram/index.cjs +6 -6
- package/dist/diagrams/sociogram/index.d.cts +1 -1
- package/dist/diagrams/sociogram/index.d.ts +1 -1
- package/dist/diagrams/sociogram/index.js +2 -2
- package/dist/diagrams/timing/index.d.cts +1 -1
- package/dist/diagrams/timing/index.d.ts +1 -1
- package/dist/diagrams/venn/index.cjs +9 -9
- package/dist/diagrams/venn/index.d.cts +1 -1
- package/dist/diagrams/venn/index.d.ts +1 -1
- package/dist/diagrams/venn/index.js +2 -2
- package/dist/{index-C30zQWZI.d.ts → index-BRIkOPnd.d.cts} +60 -2
- package/dist/{index-BD2yDfQM.d.cts → index-C7SN-FB3.d.ts} +60 -2
- package/dist/index.cjs +342 -54
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +38 -4
- package/dist/index.d.ts +38 -4
- package/dist/index.js +283 -16
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +17 -17
- package/dist/react.d.cts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +16 -16
- package/dist/{tools-BHWaJPOl.d.ts → tools-BVeUNdsU.d.ts} +12 -4
- package/dist/{tools-DlpuE76u.d.cts → tools-DdhP1kWY.d.cts} +12 -4
- package/package.json +1 -1
- package/dist/chunk-2VNMKOUO.js.map +0 -1
- package/dist/chunk-3M6WB62Y.cjs.map +0 -1
- package/dist/chunk-4QPDZJAL.cjs.map +0 -1
- package/dist/chunk-6OSUNBZY.js.map +0 -1
- package/dist/chunk-D7EHZFK4.cjs.map +0 -1
- package/dist/chunk-HK56GQQP.cjs.map +0 -1
- package/dist/chunk-OK5ZS3LU.js.map +0 -1
- package/dist/chunk-QMTWG6JL.cjs.map +0 -1
- package/dist/chunk-QTNPMIO2.cjs.map +0 -1
- package/dist/chunk-TZTCIAYW.cjs.map +0 -1
- package/dist/chunk-UFTYX73U.js.map +0 -1
- package/dist/chunk-VCH7RI5H.js.map +0 -1
- package/dist/chunk-VJGMEGMR.js.map +0 -1
- package/dist/chunk-VKPCR7BG.js.map +0 -1
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
* - Layout: DiagramAST → LayoutResult
|
|
9
9
|
* - Renderer: LayoutResult → SVG string
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
|
|
12
|
+
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" | "sequence" | "petri" | "network";
|
|
12
13
|
type GenogramMode = "medical" | "heritage";
|
|
13
14
|
/**
|
|
14
15
|
* Standard legend positions:
|
|
@@ -92,6 +93,23 @@ interface Individual {
|
|
|
92
93
|
status: IndividualStatus;
|
|
93
94
|
birthYear?: number;
|
|
94
95
|
deathYear?: number;
|
|
96
|
+
/**
|
|
97
|
+
* Full ISO birth date (`"1940-03-12"`) for genealogy / legal family trees.
|
|
98
|
+
* Backward-compatible with `birthYear`: when present it takes precedence in
|
|
99
|
+
* the vital-records caption (`* 1940-03-12`). A bare 4-digit year still fills
|
|
100
|
+
* `birthYear`.
|
|
101
|
+
*/
|
|
102
|
+
dob?: string;
|
|
103
|
+
/** Full ISO death date (`"2018-11-04"`), rendered as `† 2018-11-04`. */
|
|
104
|
+
dod?: string;
|
|
105
|
+
/** One-line free-text annotation rendered as a small caption under the symbol. */
|
|
106
|
+
note?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Legal/genealogy birth status (German Ahnentafel convention). Modifies the
|
|
109
|
+
* born glyph in the vital-records caption: `out-of-wedlock` → `(*)`,
|
|
110
|
+
* `adopted` → `[*]`. Default (legitimate) keeps the plain `*` born glyph.
|
|
111
|
+
*/
|
|
112
|
+
birthStatus?: "legitimate" | "out-of-wedlock" | "adopted";
|
|
95
113
|
/** Medical/psychological conditions (genogram) or affected traits (pedigree) */
|
|
96
114
|
conditions?: Condition[];
|
|
97
115
|
/** Genetic status for pedigree charts */
|
|
@@ -309,6 +327,13 @@ interface DiagramPlugin {
|
|
|
309
327
|
render: (text: string, config?: RenderConfig) => string;
|
|
310
328
|
/** Parse DSL text to the diagram's AST (for JSON export / programmatic access). */
|
|
311
329
|
parse?: (text: string) => unknown;
|
|
330
|
+
/**
|
|
331
|
+
* Optional non-fatal validation pass. Runs after a successful parse and
|
|
332
|
+
* returns domain-level warnings (e.g. an incomplete instrument loop) without
|
|
333
|
+
* blocking rendering. Surfaced through `parseResult` / `renderResult`
|
|
334
|
+
* diagnostics. Must not throw — return `[]` when there's nothing to flag.
|
|
335
|
+
*/
|
|
336
|
+
lint?: (text: string) => SchematexDiagnostic[];
|
|
312
337
|
}
|
|
313
338
|
interface LayoutConfig {
|
|
314
339
|
/** Horizontal spacing between nodes */
|
|
@@ -543,9 +568,19 @@ interface SLDConnection {
|
|
|
543
568
|
cable?: string;
|
|
544
569
|
label?: string;
|
|
545
570
|
}
|
|
571
|
+
/**
|
|
572
|
+
* Symbol standard for SLD / circuit glyphs. `ansi` (IEEE 315 / ANSI Y32.2) is
|
|
573
|
+
* the default and preserves historical rendering. `iec` (IEC 60617) switches to
|
|
574
|
+
* IEC symbol forms. `abnt` (Brazil, NBR 5410) and `as-nzs` (Australia/NZ,
|
|
575
|
+
* AS/NZS 3000) are IEC 60364-family presets: they reuse the IEC glyphs and add
|
|
576
|
+
* their own jurisdiction labelling.
|
|
577
|
+
*/
|
|
578
|
+
type SLDStandard = "ansi" | "iec" | "abnt" | "as-nzs";
|
|
546
579
|
interface SLDAST {
|
|
547
580
|
type: "sld";
|
|
548
581
|
title?: string;
|
|
582
|
+
/** Symbol standard (default `ansi`). */
|
|
583
|
+
standard?: SLDStandard;
|
|
549
584
|
nodes: SLDNode[];
|
|
550
585
|
connections: SLDConnection[];
|
|
551
586
|
metadata?: Record<string, string>;
|
|
@@ -823,4 +858,41 @@ interface FlowchartLayoutResult {
|
|
|
823
858
|
clusters: FlowchartLayoutCluster[];
|
|
824
859
|
}
|
|
825
860
|
|
|
826
|
-
|
|
861
|
+
type SchematexResultStatus = "valid" | "partial" | "invalid";
|
|
862
|
+
interface SchematexDiagnostic {
|
|
863
|
+
severity: "error" | "warning";
|
|
864
|
+
code: string;
|
|
865
|
+
message: string;
|
|
866
|
+
line?: number;
|
|
867
|
+
column?: number;
|
|
868
|
+
source?: string;
|
|
869
|
+
hint?: string;
|
|
870
|
+
fatal: boolean;
|
|
871
|
+
}
|
|
872
|
+
type SchematexParseResult = {
|
|
873
|
+
ok: true;
|
|
874
|
+
status: "valid" | "partial";
|
|
875
|
+
type: DiagramType;
|
|
876
|
+
ast: unknown;
|
|
877
|
+
diagnostics: SchematexDiagnostic[];
|
|
878
|
+
} | {
|
|
879
|
+
ok: false;
|
|
880
|
+
status: "invalid";
|
|
881
|
+
type: DiagramType | null;
|
|
882
|
+
diagnostics: SchematexDiagnostic[];
|
|
883
|
+
};
|
|
884
|
+
type SchematexRenderResult = {
|
|
885
|
+
ok: true;
|
|
886
|
+
status: "valid" | "partial";
|
|
887
|
+
type: DiagramType;
|
|
888
|
+
svg: string;
|
|
889
|
+
diagnostics: SchematexDiagnostic[];
|
|
890
|
+
} | {
|
|
891
|
+
ok: false;
|
|
892
|
+
status: "invalid";
|
|
893
|
+
type: DiagramType | null;
|
|
894
|
+
svg: string;
|
|
895
|
+
diagnostics: SchematexDiagnostic[];
|
|
896
|
+
};
|
|
897
|
+
|
|
898
|
+
export type { BlockAST as B, CircuitAST as C, DiagramPlugin as D, EntityAST as E, FishboneAST as F, Individual as I, LayoutConfig as L, PhyloTreeAST as P, RenderConfig as R, SchematexDiagnostic as S, TimingAST as T, VennAST as V, DiagramType as a, SchematexParseResult as b, SchematexRenderResult as c, SchematexResultStatus as d, DiagramAST as e, LayoutResult as f, PhyloLayoutNode as g, LegendOverrides as h, LogicGateAST as i, CircuitComponent as j, LadderAST as k, LadderRung as l, LadderElement as m, SLDAST as n, SLDNode as o, SLDNodeType as p, EntityNode as q, EntityEdge as r, VennLayoutResult as s, FlowchartAST as t, FlowchartLayoutResult as u };
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
* - Layout: DiagramAST → LayoutResult
|
|
9
9
|
* - Renderer: LayoutResult → SVG string
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
|
|
12
|
+
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" | "sequence" | "petri" | "network";
|
|
12
13
|
type GenogramMode = "medical" | "heritage";
|
|
13
14
|
/**
|
|
14
15
|
* Standard legend positions:
|
|
@@ -92,6 +93,23 @@ interface Individual {
|
|
|
92
93
|
status: IndividualStatus;
|
|
93
94
|
birthYear?: number;
|
|
94
95
|
deathYear?: number;
|
|
96
|
+
/**
|
|
97
|
+
* Full ISO birth date (`"1940-03-12"`) for genealogy / legal family trees.
|
|
98
|
+
* Backward-compatible with `birthYear`: when present it takes precedence in
|
|
99
|
+
* the vital-records caption (`* 1940-03-12`). A bare 4-digit year still fills
|
|
100
|
+
* `birthYear`.
|
|
101
|
+
*/
|
|
102
|
+
dob?: string;
|
|
103
|
+
/** Full ISO death date (`"2018-11-04"`), rendered as `† 2018-11-04`. */
|
|
104
|
+
dod?: string;
|
|
105
|
+
/** One-line free-text annotation rendered as a small caption under the symbol. */
|
|
106
|
+
note?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Legal/genealogy birth status (German Ahnentafel convention). Modifies the
|
|
109
|
+
* born glyph in the vital-records caption: `out-of-wedlock` → `(*)`,
|
|
110
|
+
* `adopted` → `[*]`. Default (legitimate) keeps the plain `*` born glyph.
|
|
111
|
+
*/
|
|
112
|
+
birthStatus?: "legitimate" | "out-of-wedlock" | "adopted";
|
|
95
113
|
/** Medical/psychological conditions (genogram) or affected traits (pedigree) */
|
|
96
114
|
conditions?: Condition[];
|
|
97
115
|
/** Genetic status for pedigree charts */
|
|
@@ -309,6 +327,13 @@ interface DiagramPlugin {
|
|
|
309
327
|
render: (text: string, config?: RenderConfig) => string;
|
|
310
328
|
/** Parse DSL text to the diagram's AST (for JSON export / programmatic access). */
|
|
311
329
|
parse?: (text: string) => unknown;
|
|
330
|
+
/**
|
|
331
|
+
* Optional non-fatal validation pass. Runs after a successful parse and
|
|
332
|
+
* returns domain-level warnings (e.g. an incomplete instrument loop) without
|
|
333
|
+
* blocking rendering. Surfaced through `parseResult` / `renderResult`
|
|
334
|
+
* diagnostics. Must not throw — return `[]` when there's nothing to flag.
|
|
335
|
+
*/
|
|
336
|
+
lint?: (text: string) => SchematexDiagnostic[];
|
|
312
337
|
}
|
|
313
338
|
interface LayoutConfig {
|
|
314
339
|
/** Horizontal spacing between nodes */
|
|
@@ -543,9 +568,19 @@ interface SLDConnection {
|
|
|
543
568
|
cable?: string;
|
|
544
569
|
label?: string;
|
|
545
570
|
}
|
|
571
|
+
/**
|
|
572
|
+
* Symbol standard for SLD / circuit glyphs. `ansi` (IEEE 315 / ANSI Y32.2) is
|
|
573
|
+
* the default and preserves historical rendering. `iec` (IEC 60617) switches to
|
|
574
|
+
* IEC symbol forms. `abnt` (Brazil, NBR 5410) and `as-nzs` (Australia/NZ,
|
|
575
|
+
* AS/NZS 3000) are IEC 60364-family presets: they reuse the IEC glyphs and add
|
|
576
|
+
* their own jurisdiction labelling.
|
|
577
|
+
*/
|
|
578
|
+
type SLDStandard = "ansi" | "iec" | "abnt" | "as-nzs";
|
|
546
579
|
interface SLDAST {
|
|
547
580
|
type: "sld";
|
|
548
581
|
title?: string;
|
|
582
|
+
/** Symbol standard (default `ansi`). */
|
|
583
|
+
standard?: SLDStandard;
|
|
549
584
|
nodes: SLDNode[];
|
|
550
585
|
connections: SLDConnection[];
|
|
551
586
|
metadata?: Record<string, string>;
|
|
@@ -823,4 +858,41 @@ interface FlowchartLayoutResult {
|
|
|
823
858
|
clusters: FlowchartLayoutCluster[];
|
|
824
859
|
}
|
|
825
860
|
|
|
826
|
-
|
|
861
|
+
type SchematexResultStatus = "valid" | "partial" | "invalid";
|
|
862
|
+
interface SchematexDiagnostic {
|
|
863
|
+
severity: "error" | "warning";
|
|
864
|
+
code: string;
|
|
865
|
+
message: string;
|
|
866
|
+
line?: number;
|
|
867
|
+
column?: number;
|
|
868
|
+
source?: string;
|
|
869
|
+
hint?: string;
|
|
870
|
+
fatal: boolean;
|
|
871
|
+
}
|
|
872
|
+
type SchematexParseResult = {
|
|
873
|
+
ok: true;
|
|
874
|
+
status: "valid" | "partial";
|
|
875
|
+
type: DiagramType;
|
|
876
|
+
ast: unknown;
|
|
877
|
+
diagnostics: SchematexDiagnostic[];
|
|
878
|
+
} | {
|
|
879
|
+
ok: false;
|
|
880
|
+
status: "invalid";
|
|
881
|
+
type: DiagramType | null;
|
|
882
|
+
diagnostics: SchematexDiagnostic[];
|
|
883
|
+
};
|
|
884
|
+
type SchematexRenderResult = {
|
|
885
|
+
ok: true;
|
|
886
|
+
status: "valid" | "partial";
|
|
887
|
+
type: DiagramType;
|
|
888
|
+
svg: string;
|
|
889
|
+
diagnostics: SchematexDiagnostic[];
|
|
890
|
+
} | {
|
|
891
|
+
ok: false;
|
|
892
|
+
status: "invalid";
|
|
893
|
+
type: DiagramType | null;
|
|
894
|
+
svg: string;
|
|
895
|
+
diagnostics: SchematexDiagnostic[];
|
|
896
|
+
};
|
|
897
|
+
|
|
898
|
+
export type { BlockAST as B, CircuitAST as C, DiagramPlugin as D, EntityAST as E, FishboneAST as F, Individual as I, LayoutConfig as L, PhyloTreeAST as P, RenderConfig as R, SchematexDiagnostic as S, TimingAST as T, VennAST as V, DiagramType as a, SchematexParseResult as b, SchematexRenderResult as c, SchematexResultStatus as d, DiagramAST as e, LayoutResult as f, PhyloLayoutNode as g, LegendOverrides as h, LogicGateAST as i, CircuitComponent as j, LadderAST as k, LadderRung as l, LadderElement as m, SLDAST as n, SLDNode as o, SLDNodeType as p, EntityNode as q, EntityEdge as r, VennLayoutResult as s, FlowchartAST as t, FlowchartLayoutResult as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkV4RO5KYY_cjs = require('../../chunk-V4RO5KYY.cjs');
|
|
4
|
+
require('../../chunk-L7POWM5B.cjs');
|
|
5
5
|
require('../../chunk-NAGUZFXX.cjs');
|
|
6
6
|
require('../../chunk-3WNW5Y7P.cjs');
|
|
7
7
|
|
|
@@ -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 chunkV4RO5KYY_cjs.circuit; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "layoutCircuit", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkV4RO5KYY_cjs.layoutCircuit; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "layoutCircuitNetlist", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkV4RO5KYY_cjs.layoutCircuitNetlist; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "parseCircuit", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkV4RO5KYY_cjs.parseCircuit; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "parseNetlist", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkV4RO5KYY_cjs.parseNetlist; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "renderCircuit", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkV4RO5KYY_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,
|
|
1
|
+
import { C as CircuitAST, R as RenderConfig, j as CircuitComponent, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.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,
|
|
1
|
+
import { C as CircuitAST, R as RenderConfig, j as CircuitComponent, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Top-level circuit parser. Detects two DSL modes:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { circuit, layoutCircuit, layoutCircuitNetlist, parseCircuit, parseNetlist, renderCircuit } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { circuit, layoutCircuit, layoutCircuitNetlist, parseCircuit, parseNetlist, renderCircuit } from '../../chunk-UWA5MWCI.js';
|
|
2
|
+
import '../../chunk-LRI4RH2N.js';
|
|
3
3
|
import '../../chunk-5IKOLUWK.js';
|
|
4
4
|
import '../../chunk-SYYBKDL7.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVTSH4YPT_cjs = require('../../chunk-VTSH4YPT.cjs');
|
|
4
4
|
require('../../chunk-3KRL2EGN.cjs');
|
|
5
5
|
require('../../chunk-5UCXMYE7.cjs');
|
|
6
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-L7POWM5B.cjs');
|
|
7
7
|
require('../../chunk-3WNW5Y7P.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "EcomapParseError", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkVTSH4YPT_cjs.EcomapParseError; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "ecomap", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkVTSH4YPT_cjs.ecomap; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "layoutEcomap", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkVTSH4YPT_cjs.layoutEcomap; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "parseEcomap", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkVTSH4YPT_cjs.parseEcomap; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "renderEcomap", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkVTSH4YPT_cjs.renderEcomap; }
|
|
30
30
|
});
|
|
31
31
|
//# sourceMappingURL=index.cjs.map
|
|
32
32
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.cjs';
|
|
2
2
|
|
|
3
3
|
declare class EcomapParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.js';
|
|
2
2
|
|
|
3
3
|
declare class EcomapParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { EcomapParseError, ecomap, layoutEcomap, parseEcomap, renderEcomap } from '../../chunk-
|
|
1
|
+
export { EcomapParseError, ecomap, layoutEcomap, parseEcomap, renderEcomap } from '../../chunk-YS6CGUNH.js';
|
|
2
2
|
import '../../chunk-2KTQ75LN.js';
|
|
3
3
|
import '../../chunk-FO7BLCEW.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-LRI4RH2N.js';
|
|
5
5
|
import '../../chunk-SYYBKDL7.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkV4GILQR6_cjs = require('../../chunk-V4GILQR6.cjs');
|
|
4
|
+
require('../../chunk-L7POWM5B.cjs');
|
|
5
5
|
require('../../chunk-NAGUZFXX.cjs');
|
|
6
6
|
require('../../chunk-3WNW5Y7P.cjs');
|
|
7
7
|
|
|
@@ -9,19 +9,19 @@ require('../../chunk-3WNW5Y7P.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "entity", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkV4GILQR6_cjs.entity; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "layoutEntity", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkV4GILQR6_cjs.layoutEntity; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "parseEntityDSL", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkV4GILQR6_cjs.parseEntityDSL; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "renderEntity", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkV4GILQR6_cjs.renderEntity; }
|
|
25
25
|
});
|
|
26
26
|
//# sourceMappingURL=index.cjs.map
|
|
27
27
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EntityAST, R as RenderConfig,
|
|
1
|
+
import { E as EntityAST, R as RenderConfig, q as EntityNode, r as EntityEdge, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.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,
|
|
1
|
+
import { E as EntityAST, R as RenderConfig, q as EntityNode, r as EntityEdge, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.js';
|
|
2
2
|
|
|
3
3
|
declare function parseEntityDSL(text: string): EntityAST;
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { entity, layoutEntity, parseEntityDSL, renderEntity } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { entity, layoutEntity, parseEntityDSL, renderEntity } from '../../chunk-H4MT5TJP.js';
|
|
2
|
+
import '../../chunk-LRI4RH2N.js';
|
|
3
3
|
import '../../chunk-5IKOLUWK.js';
|
|
4
4
|
import '../../chunk-SYYBKDL7.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHWVBHU3O_cjs = require('../../chunk-HWVBHU3O.cjs');
|
|
4
4
|
require('../../chunk-3KRL2EGN.cjs');
|
|
5
|
-
require('../../chunk-
|
|
5
|
+
require('../../chunk-L7POWM5B.cjs');
|
|
6
6
|
require('../../chunk-3WNW5Y7P.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "FB_CONST", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkHWVBHU3O_cjs.FB_CONST; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "fishbone", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkHWVBHU3O_cjs.fishbone; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "layoutFishbone", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkHWVBHU3O_cjs.layoutFishbone; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "parseFishboneDSL", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkHWVBHU3O_cjs.parseFishboneDSL; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "renderFishbone", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkHWVBHU3O_cjs.renderFishbone; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "renderFishboneAST", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkHWVBHU3O_cjs.renderFishboneAST; }
|
|
33
33
|
});
|
|
34
34
|
//# sourceMappingURL=index.cjs.map
|
|
35
35
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { FB_CONST, fishbone, layoutFishbone, parseFishboneDSL, renderFishbone, renderFishboneAST } from '../../chunk-
|
|
1
|
+
export { FB_CONST, fishbone, layoutFishbone, parseFishboneDSL, renderFishbone, renderFishboneAST } from '../../chunk-HAZALB7U.js';
|
|
2
2
|
import '../../chunk-2KTQ75LN.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-LRI4RH2N.js';
|
|
4
4
|
import '../../chunk-SYYBKDL7.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6JI6FWLZ_cjs = require('../../chunk-6JI6FWLZ.cjs');
|
|
4
4
|
require('../../chunk-3KRL2EGN.cjs');
|
|
5
|
-
require('../../chunk-
|
|
5
|
+
require('../../chunk-L7POWM5B.cjs');
|
|
6
6
|
require('../../chunk-3WNW5Y7P.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "FC_CONST", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk6JI6FWLZ_cjs.FC_CONST; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "flowchart", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk6JI6FWLZ_cjs.flowchart; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "layoutFlowchart", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk6JI6FWLZ_cjs.layoutFlowchart; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "parseFlowchart", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk6JI6FWLZ_cjs.parseFlowchart; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "renderFlowchart", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk6JI6FWLZ_cjs.renderFlowchart; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "renderFlowchartAST", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunk6JI6FWLZ_cjs.renderFlowchartAST; }
|
|
33
33
|
});
|
|
34
34
|
//# sourceMappingURL=index.cjs.map
|
|
35
35
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../
|
|
2
|
-
export { F as FC_CONST,
|
|
1
|
+
import '../../diagnostics-DRxhodP6.cjs';
|
|
2
|
+
export { F as FC_CONST, j as flowchart, t as layoutFlowchart, u as parseFlowchart, v as renderFlowchart, w as renderFlowchartAST } from '../../index-BRIkOPnd.cjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../
|
|
2
|
-
export { F as FC_CONST,
|
|
1
|
+
import '../../diagnostics-DRxhodP6.js';
|
|
2
|
+
export { F as FC_CONST, j as flowchart, t as layoutFlowchart, u as parseFlowchart, v as renderFlowchart, w as renderFlowchartAST } from '../../index-C7SN-FB3.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { FC_CONST, flowchart, layoutFlowchart, parseFlowchart, renderFlowchart, renderFlowchartAST } from '../../chunk-
|
|
1
|
+
export { FC_CONST, flowchart, layoutFlowchart, parseFlowchart, renderFlowchart, renderFlowchartAST } from '../../chunk-7F76AWOI.js';
|
|
2
2
|
import '../../chunk-2KTQ75LN.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-LRI4RH2N.js';
|
|
4
4
|
import '../../chunk-SYYBKDL7.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkS3RMAXH5_cjs = require('../../chunk-S3RMAXH5.cjs');
|
|
4
4
|
require('../../chunk-3KRL2EGN.cjs');
|
|
5
5
|
require('../../chunk-5UCXMYE7.cjs');
|
|
6
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-L7POWM5B.cjs');
|
|
7
7
|
require('../../chunk-3WNW5Y7P.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "ParseError", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkS3RMAXH5_cjs.ParseError; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "genogram", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkS3RMAXH5_cjs.genogram; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "getRequiredDefs", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkS3RMAXH5_cjs.getRequiredDefs; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "layoutGenogram", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkS3RMAXH5_cjs.layoutGenogram; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "parseGenogram", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkS3RMAXH5_cjs.parseGenogram; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "renderGenogram", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkS3RMAXH5_cjs.renderGenogram; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "renderIndividualSymbol", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkS3RMAXH5_cjs.renderIndividualSymbol; }
|
|
38
38
|
});
|
|
39
39
|
//# sourceMappingURL=index.cjs.map
|
|
40
40
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.cjs';
|
|
2
2
|
|
|
3
3
|
declare class ParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.js';
|
|
2
2
|
|
|
3
3
|
declare class ParseError extends Error {
|
|
4
4
|
line: number;
|