schematex 0.5.0 → 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.
Files changed (180) hide show
  1. package/README.md +89 -7
  2. package/dist/ai/ai-sdk.cjs +32 -26
  3. package/dist/ai/ai-sdk.cjs.map +1 -1
  4. package/dist/ai/ai-sdk.d.cts +4 -3
  5. package/dist/ai/ai-sdk.d.ts +4 -3
  6. package/dist/ai/ai-sdk.js +28 -22
  7. package/dist/ai/ai-sdk.js.map +1 -1
  8. package/dist/ai/index.cjs +37 -25
  9. package/dist/ai/index.d.cts +20 -153
  10. package/dist/ai/index.d.ts +20 -153
  11. package/dist/ai/index.js +17 -17
  12. package/dist/{api-C5UcmT7n.d.cts → api-XWHHAhQI.d.ts} +12 -2
  13. package/dist/{api-C5UcmT7n.d.ts → api-qVDutqXH.d.cts} +12 -2
  14. package/dist/browser.cjs +37 -19
  15. package/dist/browser.cjs.map +1 -1
  16. package/dist/browser.d.cts +12 -3
  17. package/dist/browser.d.ts +12 -3
  18. package/dist/browser.js +27 -19
  19. package/dist/browser.js.map +1 -1
  20. package/dist/{chunk-3YUUC6RN.cjs → chunk-25ZON47K.cjs} +4105 -267
  21. package/dist/chunk-25ZON47K.cjs.map +1 -0
  22. package/dist/{chunk-N7W5KZK7.cjs → chunk-2L4YXZAZ.cjs} +4 -4
  23. package/dist/{chunk-N7W5KZK7.cjs.map → chunk-2L4YXZAZ.cjs.map} +1 -1
  24. package/dist/{chunk-ZYRCPSBU.js → chunk-3IE7KZY4.js} +4 -4
  25. package/dist/{chunk-ZYRCPSBU.js.map → chunk-3IE7KZY4.js.map} +1 -1
  26. package/dist/{chunk-ZX74KJPM.js → chunk-3VB5AT4R.js} +3 -3
  27. package/dist/{chunk-ZX74KJPM.js.map → chunk-3VB5AT4R.js.map} +1 -1
  28. package/dist/{chunk-S2KJRHDZ.cjs → chunk-4UFR2LB6.cjs} +13 -13
  29. package/dist/{chunk-S2KJRHDZ.cjs.map → chunk-4UFR2LB6.cjs.map} +1 -1
  30. package/dist/{chunk-QTNPMIO2.cjs → chunk-6JI6FWLZ.cjs} +341 -35
  31. package/dist/chunk-6JI6FWLZ.cjs.map +1 -0
  32. package/dist/{chunk-GTDQAN2Z.js → chunk-7AFW2J6J.js} +4075 -247
  33. package/dist/chunk-7AFW2J6J.js.map +1 -0
  34. package/dist/{chunk-UFTYX73U.js → chunk-7F76AWOI.js} +339 -35
  35. package/dist/chunk-7F76AWOI.js.map +1 -0
  36. package/dist/{chunk-BW4KGTV7.cjs → chunk-C5C5EF3W.cjs} +4 -4
  37. package/dist/{chunk-BW4KGTV7.cjs.map → chunk-C5C5EF3W.cjs.map} +1 -1
  38. package/dist/{chunk-VJGMEGMR.js → chunk-DOK7LKLO.js} +125 -13
  39. package/dist/chunk-DOK7LKLO.js.map +1 -0
  40. package/dist/{chunk-3M6WB62Y.cjs → chunk-ECD5XHBM.cjs} +139 -7
  41. package/dist/chunk-ECD5XHBM.cjs.map +1 -0
  42. package/dist/{chunk-L3CTXXVZ.js → chunk-FBS3PACU.js} +3 -3
  43. package/dist/{chunk-L3CTXXVZ.js.map → chunk-FBS3PACU.js.map} +1 -1
  44. package/dist/{chunk-QUKVGHN4.cjs → chunk-FKJBXGWP.cjs} +4 -4
  45. package/dist/{chunk-QUKVGHN4.cjs.map → chunk-FKJBXGWP.cjs.map} +1 -1
  46. package/dist/{chunk-SZK376QB.js → chunk-H4MT5TJP.js} +3 -3
  47. package/dist/{chunk-SZK376QB.js.map → chunk-H4MT5TJP.js.map} +1 -1
  48. package/dist/{chunk-3M6T7KB4.js → chunk-HAZALB7U.js} +3 -3
  49. package/dist/{chunk-3M6T7KB4.js.map → chunk-HAZALB7U.js.map} +1 -1
  50. package/dist/{chunk-VFZOPRQP.cjs → chunk-HWVBHU3O.cjs} +5 -5
  51. package/dist/{chunk-VFZOPRQP.cjs.map → chunk-HWVBHU3O.cjs.map} +1 -1
  52. package/dist/{chunk-D7EHZFK4.cjs → chunk-L7POWM5B.cjs} +138 -2
  53. package/dist/chunk-L7POWM5B.cjs.map +1 -0
  54. package/dist/{chunk-6OSUNBZY.js → chunk-LGABFD3L.js} +135 -7
  55. package/dist/chunk-LGABFD3L.js.map +1 -0
  56. package/dist/{chunk-2VNMKOUO.js → chunk-LRI4RH2N.js} +135 -3
  57. package/dist/chunk-LRI4RH2N.js.map +1 -0
  58. package/dist/{chunk-VDSYMSUY.js → chunk-MVIEIKOI.js} +3 -3
  59. package/dist/{chunk-VDSYMSUY.js.map → chunk-MVIEIKOI.js.map} +1 -1
  60. package/dist/{chunk-ZL5RB4UV.js → chunk-N5B242WY.js} +3 -3
  61. package/dist/{chunk-ZL5RB4UV.js.map → chunk-N5B242WY.js.map} +1 -1
  62. package/dist/{chunk-IM4RCUHA.js → chunk-P63S7P6N.js} +1309 -69
  63. package/dist/chunk-P63S7P6N.js.map +1 -0
  64. package/dist/{chunk-YLEVMOK2.cjs → chunk-R66QG3XT.cjs} +5 -4
  65. package/dist/{chunk-YLEVMOK2.cjs.map → chunk-R66QG3XT.cjs.map} +1 -1
  66. package/dist/{chunk-I55HO32M.js → chunk-RJMCWT7Z.js} +3 -3
  67. package/dist/{chunk-I55HO32M.js.map → chunk-RJMCWT7Z.js.map} +1 -1
  68. package/dist/{chunk-TZTCIAYW.cjs → chunk-S3RMAXH5.cjs} +137 -25
  69. package/dist/chunk-S3RMAXH5.cjs.map +1 -0
  70. package/dist/{chunk-IBRW3UOA.js → chunk-TWLKXV2O.js} +3 -3
  71. package/dist/{chunk-IBRW3UOA.js.map → chunk-TWLKXV2O.js.map} +1 -1
  72. package/dist/{chunk-HUPDIRBX.js → chunk-UWA5MWCI.js} +949 -918
  73. package/dist/chunk-UWA5MWCI.js.map +1 -0
  74. package/dist/{chunk-RYVV5UVI.cjs → chunk-V4GILQR6.cjs} +4 -4
  75. package/dist/{chunk-RYVV5UVI.cjs.map → chunk-V4GILQR6.cjs.map} +1 -1
  76. package/dist/{chunk-XRCY75UV.cjs → chunk-V4RO5KYY.cjs} +951 -918
  77. package/dist/chunk-V4RO5KYY.cjs.map +1 -0
  78. package/dist/{chunk-VZ5LDNHK.cjs → chunk-VTSH4YPT.cjs} +12 -12
  79. package/dist/{chunk-VZ5LDNHK.cjs.map → chunk-VTSH4YPT.cjs.map} +1 -1
  80. package/dist/{chunk-UUBNQV2T.cjs → chunk-WQDIZH2Z.cjs} +12 -12
  81. package/dist/{chunk-UUBNQV2T.cjs.map → chunk-WQDIZH2Z.cjs.map} +1 -1
  82. package/dist/{chunk-EGSUMHCS.cjs → chunk-YB4XJY5L.cjs} +12 -12
  83. package/dist/{chunk-EGSUMHCS.cjs.map → chunk-YB4XJY5L.cjs.map} +1 -1
  84. package/dist/{chunk-JHDR56XO.js → chunk-YS6CGUNH.js} +3 -3
  85. package/dist/{chunk-JHDR56XO.js.map → chunk-YS6CGUNH.js.map} +1 -1
  86. package/dist/{chunk-NWPCY65Z.cjs → chunk-YVDUEUFV.cjs} +1311 -68
  87. package/dist/chunk-YVDUEUFV.cjs.map +1 -0
  88. package/dist/{types-BOAsqHoU.d.ts → diagnostics-DRxhodP6.d.cts} +74 -2
  89. package/dist/{types-BOAsqHoU.d.cts → diagnostics-DRxhodP6.d.ts} +74 -2
  90. package/dist/diagrams/blockdiagram/index.d.cts +1 -1
  91. package/dist/diagrams/blockdiagram/index.d.ts +1 -1
  92. package/dist/diagrams/circuit/index.cjs +8 -8
  93. package/dist/diagrams/circuit/index.d.cts +1 -1
  94. package/dist/diagrams/circuit/index.d.ts +1 -1
  95. package/dist/diagrams/circuit/index.js +2 -2
  96. package/dist/diagrams/ecomap/index.cjs +7 -7
  97. package/dist/diagrams/ecomap/index.d.cts +1 -1
  98. package/dist/diagrams/ecomap/index.d.ts +1 -1
  99. package/dist/diagrams/ecomap/index.js +2 -2
  100. package/dist/diagrams/entity/index.cjs +6 -6
  101. package/dist/diagrams/entity/index.d.cts +1 -1
  102. package/dist/diagrams/entity/index.d.ts +1 -1
  103. package/dist/diagrams/entity/index.js +2 -2
  104. package/dist/diagrams/fishbone/index.cjs +8 -8
  105. package/dist/diagrams/fishbone/index.d.cts +1 -1
  106. package/dist/diagrams/fishbone/index.d.ts +1 -1
  107. package/dist/diagrams/fishbone/index.js +2 -2
  108. package/dist/diagrams/flowchart/index.cjs +8 -8
  109. package/dist/diagrams/flowchart/index.d.cts +2 -2
  110. package/dist/diagrams/flowchart/index.d.ts +2 -2
  111. package/dist/diagrams/flowchart/index.js +2 -2
  112. package/dist/diagrams/genogram/index.cjs +9 -9
  113. package/dist/diagrams/genogram/index.d.cts +1 -1
  114. package/dist/diagrams/genogram/index.d.ts +1 -1
  115. package/dist/diagrams/genogram/index.js +2 -2
  116. package/dist/diagrams/ladder/index.cjs +6 -6
  117. package/dist/diagrams/ladder/index.d.cts +1 -1
  118. package/dist/diagrams/ladder/index.d.ts +1 -1
  119. package/dist/diagrams/ladder/index.js +2 -2
  120. package/dist/diagrams/logic/index.cjs +6 -6
  121. package/dist/diagrams/logic/index.d.cts +1 -1
  122. package/dist/diagrams/logic/index.d.ts +1 -1
  123. package/dist/diagrams/logic/index.js +2 -2
  124. package/dist/diagrams/orgchart/index.cjs +7 -7
  125. package/dist/diagrams/orgchart/index.d.cts +1 -1
  126. package/dist/diagrams/orgchart/index.d.ts +1 -1
  127. package/dist/diagrams/orgchart/index.js +2 -2
  128. package/dist/diagrams/pedigree/index.cjs +7 -7
  129. package/dist/diagrams/pedigree/index.d.cts +1 -1
  130. package/dist/diagrams/pedigree/index.d.ts +1 -1
  131. package/dist/diagrams/pedigree/index.js +2 -2
  132. package/dist/diagrams/phylo/index.cjs +7 -7
  133. package/dist/diagrams/phylo/index.d.cts +1 -1
  134. package/dist/diagrams/phylo/index.d.ts +1 -1
  135. package/dist/diagrams/phylo/index.js +2 -2
  136. package/dist/diagrams/sld/index.cjs +14 -6
  137. package/dist/diagrams/sld/index.d.cts +14 -2
  138. package/dist/diagrams/sld/index.d.ts +14 -2
  139. package/dist/diagrams/sld/index.js +2 -2
  140. package/dist/diagrams/sociogram/index.cjs +6 -6
  141. package/dist/diagrams/sociogram/index.d.cts +1 -1
  142. package/dist/diagrams/sociogram/index.d.ts +1 -1
  143. package/dist/diagrams/sociogram/index.js +2 -2
  144. package/dist/diagrams/timing/index.d.cts +1 -1
  145. package/dist/diagrams/timing/index.d.ts +1 -1
  146. package/dist/diagrams/venn/index.cjs +9 -9
  147. package/dist/diagrams/venn/index.d.cts +1 -1
  148. package/dist/diagrams/venn/index.d.ts +1 -1
  149. package/dist/diagrams/venn/index.js +2 -2
  150. package/dist/{index-CJai_TEZ.d.ts → index-BRIkOPnd.d.cts} +60 -2
  151. package/dist/{index-C9A0h-CB.d.cts → index-C7SN-FB3.d.ts} +60 -2
  152. package/dist/index.cjs +351 -51
  153. package/dist/index.cjs.map +1 -1
  154. package/dist/index.d.cts +38 -4
  155. package/dist/index.d.ts +38 -4
  156. package/dist/index.js +283 -16
  157. package/dist/index.js.map +1 -1
  158. package/dist/react.cjs +21 -23
  159. package/dist/react.cjs.map +1 -1
  160. package/dist/react.d.cts +3 -2
  161. package/dist/react.d.ts +3 -2
  162. package/dist/react.js +21 -23
  163. package/dist/react.js.map +1 -1
  164. package/dist/tools-BVeUNdsU.d.ts +161 -0
  165. package/dist/tools-DdhP1kWY.d.cts +161 -0
  166. package/package.json +2 -2
  167. package/dist/chunk-2VNMKOUO.js.map +0 -1
  168. package/dist/chunk-3M6WB62Y.cjs.map +0 -1
  169. package/dist/chunk-3YUUC6RN.cjs.map +0 -1
  170. package/dist/chunk-6OSUNBZY.js.map +0 -1
  171. package/dist/chunk-D7EHZFK4.cjs.map +0 -1
  172. package/dist/chunk-GTDQAN2Z.js.map +0 -1
  173. package/dist/chunk-HUPDIRBX.js.map +0 -1
  174. package/dist/chunk-IM4RCUHA.js.map +0 -1
  175. package/dist/chunk-NWPCY65Z.cjs.map +0 -1
  176. package/dist/chunk-QTNPMIO2.cjs.map +0 -1
  177. package/dist/chunk-TZTCIAYW.cjs.map +0 -1
  178. package/dist/chunk-UFTYX73U.js.map +0 -1
  179. package/dist/chunk-VJGMEGMR.js.map +0 -1
  180. package/dist/chunk-XRCY75UV.cjs.map +0 -1
@@ -8,7 +8,8 @@
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" | "prisma" | "usecase" | "pert";
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
- 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, SLDAST as S, TimingAST as T, VennAST as V, DiagramAST as a, LayoutResult as b, PhyloLayoutNode as c, LegendOverrides as d, LadderAST as e, LadderRung as f, LadderElement as g, SLDNode as h, SLDNodeType as i, EntityNode as j, EntityEdge as k, VennLayoutResult as l, LogicGateAST as m, FlowchartAST as n, FlowchartLayoutResult as o, CircuitComponent as p, DiagramType as q };
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
- 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";
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
- 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, SLDAST as S, TimingAST as T, VennAST as V, DiagramAST as a, LayoutResult as b, PhyloLayoutNode as c, LegendOverrides as d, LadderAST as e, LadderRung as f, LadderElement as g, SLDNode as h, SLDNodeType as i, EntityNode as j, EntityEdge as k, VennLayoutResult as l, LogicGateAST as m, FlowchartAST as n, FlowchartLayoutResult as o, CircuitComponent as p, DiagramType as q };
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,4 +1,4 @@
1
- import { B as BlockAST, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
1
+ import { B as BlockAST, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.cjs';
2
2
 
3
3
  declare function parseBlockDiagram(text: string): BlockAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { B as BlockAST, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
1
+ import { B as BlockAST, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.js';
2
2
 
3
3
  declare function parseBlockDiagram(text: string): BlockAST;
4
4
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkXRCY75UV_cjs = require('../../chunk-XRCY75UV.cjs');
4
- require('../../chunk-D7EHZFK4.cjs');
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 chunkXRCY75UV_cjs.circuit; }
12
+ get: function () { return chunkV4RO5KYY_cjs.circuit; }
13
13
  });
14
14
  Object.defineProperty(exports, "layoutCircuit", {
15
15
  enumerable: true,
16
- get: function () { return chunkXRCY75UV_cjs.layoutCircuit; }
16
+ get: function () { return chunkV4RO5KYY_cjs.layoutCircuit; }
17
17
  });
18
18
  Object.defineProperty(exports, "layoutCircuitNetlist", {
19
19
  enumerable: true,
20
- get: function () { return chunkXRCY75UV_cjs.layoutCircuitNetlist; }
20
+ get: function () { return chunkV4RO5KYY_cjs.layoutCircuitNetlist; }
21
21
  });
22
22
  Object.defineProperty(exports, "parseCircuit", {
23
23
  enumerable: true,
24
- get: function () { return chunkXRCY75UV_cjs.parseCircuit; }
24
+ get: function () { return chunkV4RO5KYY_cjs.parseCircuit; }
25
25
  });
26
26
  Object.defineProperty(exports, "parseNetlist", {
27
27
  enumerable: true,
28
- get: function () { return chunkXRCY75UV_cjs.parseNetlist; }
28
+ get: function () { return chunkV4RO5KYY_cjs.parseNetlist; }
29
29
  });
30
30
  Object.defineProperty(exports, "renderCircuit", {
31
31
  enumerable: true,
32
- get: function () { return chunkXRCY75UV_cjs.renderCircuit; }
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, p as CircuitComponent, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
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, p as CircuitComponent, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
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-HUPDIRBX.js';
2
- import '../../chunk-2VNMKOUO.js';
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 chunkVZ5LDNHK_cjs = require('../../chunk-VZ5LDNHK.cjs');
3
+ var chunkVTSH4YPT_cjs = require('../../chunk-VTSH4YPT.cjs');
4
4
  require('../../chunk-3KRL2EGN.cjs');
5
5
  require('../../chunk-5UCXMYE7.cjs');
6
- require('../../chunk-D7EHZFK4.cjs');
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 chunkVZ5LDNHK_cjs.EcomapParseError; }
13
+ get: function () { return chunkVTSH4YPT_cjs.EcomapParseError; }
14
14
  });
15
15
  Object.defineProperty(exports, "ecomap", {
16
16
  enumerable: true,
17
- get: function () { return chunkVZ5LDNHK_cjs.ecomap; }
17
+ get: function () { return chunkVTSH4YPT_cjs.ecomap; }
18
18
  });
19
19
  Object.defineProperty(exports, "layoutEcomap", {
20
20
  enumerable: true,
21
- get: function () { return chunkVZ5LDNHK_cjs.layoutEcomap; }
21
+ get: function () { return chunkVTSH4YPT_cjs.layoutEcomap; }
22
22
  });
23
23
  Object.defineProperty(exports, "parseEcomap", {
24
24
  enumerable: true,
25
- get: function () { return chunkVZ5LDNHK_cjs.parseEcomap; }
25
+ get: function () { return chunkVTSH4YPT_cjs.parseEcomap; }
26
26
  });
27
27
  Object.defineProperty(exports, "renderEcomap", {
28
28
  enumerable: true,
29
- get: function () { return chunkVZ5LDNHK_cjs.renderEcomap; }
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 { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
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 { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
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-JHDR56XO.js';
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-2VNMKOUO.js';
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 chunkRYVV5UVI_cjs = require('../../chunk-RYVV5UVI.cjs');
4
- require('../../chunk-D7EHZFK4.cjs');
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 chunkRYVV5UVI_cjs.entity; }
12
+ get: function () { return chunkV4GILQR6_cjs.entity; }
13
13
  });
14
14
  Object.defineProperty(exports, "layoutEntity", {
15
15
  enumerable: true,
16
- get: function () { return chunkRYVV5UVI_cjs.layoutEntity; }
16
+ get: function () { return chunkV4GILQR6_cjs.layoutEntity; }
17
17
  });
18
18
  Object.defineProperty(exports, "parseEntityDSL", {
19
19
  enumerable: true,
20
- get: function () { return chunkRYVV5UVI_cjs.parseEntityDSL; }
20
+ get: function () { return chunkV4GILQR6_cjs.parseEntityDSL; }
21
21
  });
22
22
  Object.defineProperty(exports, "renderEntity", {
23
23
  enumerable: true,
24
- get: function () { return chunkRYVV5UVI_cjs.renderEntity; }
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, j as EntityNode, k as EntityEdge, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
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, j as EntityNode, k as EntityEdge, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
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-SZK376QB.js';
2
- import '../../chunk-2VNMKOUO.js';
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 chunkVFZOPRQP_cjs = require('../../chunk-VFZOPRQP.cjs');
3
+ var chunkHWVBHU3O_cjs = require('../../chunk-HWVBHU3O.cjs');
4
4
  require('../../chunk-3KRL2EGN.cjs');
5
- require('../../chunk-D7EHZFK4.cjs');
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 chunkVFZOPRQP_cjs.FB_CONST; }
12
+ get: function () { return chunkHWVBHU3O_cjs.FB_CONST; }
13
13
  });
14
14
  Object.defineProperty(exports, "fishbone", {
15
15
  enumerable: true,
16
- get: function () { return chunkVFZOPRQP_cjs.fishbone; }
16
+ get: function () { return chunkHWVBHU3O_cjs.fishbone; }
17
17
  });
18
18
  Object.defineProperty(exports, "layoutFishbone", {
19
19
  enumerable: true,
20
- get: function () { return chunkVFZOPRQP_cjs.layoutFishbone; }
20
+ get: function () { return chunkHWVBHU3O_cjs.layoutFishbone; }
21
21
  });
22
22
  Object.defineProperty(exports, "parseFishboneDSL", {
23
23
  enumerable: true,
24
- get: function () { return chunkVFZOPRQP_cjs.parseFishboneDSL; }
24
+ get: function () { return chunkHWVBHU3O_cjs.parseFishboneDSL; }
25
25
  });
26
26
  Object.defineProperty(exports, "renderFishbone", {
27
27
  enumerable: true,
28
- get: function () { return chunkVFZOPRQP_cjs.renderFishbone; }
28
+ get: function () { return chunkHWVBHU3O_cjs.renderFishbone; }
29
29
  });
30
30
  Object.defineProperty(exports, "renderFishboneAST", {
31
31
  enumerable: true,
32
- get: function () { return chunkVFZOPRQP_cjs.renderFishboneAST; }
32
+ get: function () { return chunkHWVBHU3O_cjs.renderFishboneAST; }
33
33
  });
34
34
  //# sourceMappingURL=index.cjs.map
35
35
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,4 @@
1
- import { F as FishboneAST, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
1
+ import { F as FishboneAST, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.cjs';
2
2
 
3
3
  /**
4
4
  * Fishbone DSL parser.
@@ -1,4 +1,4 @@
1
- import { F as FishboneAST, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
1
+ import { F as FishboneAST, D as DiagramPlugin } from '../../diagnostics-DRxhodP6.js';
2
2
 
3
3
  /**
4
4
  * Fishbone DSL parser.
@@ -1,6 +1,6 @@
1
- export { FB_CONST, fishbone, layoutFishbone, parseFishboneDSL, renderFishbone, renderFishboneAST } from '../../chunk-3M6T7KB4.js';
1
+ export { FB_CONST, fishbone, layoutFishbone, parseFishboneDSL, renderFishbone, renderFishboneAST } from '../../chunk-HAZALB7U.js';
2
2
  import '../../chunk-2KTQ75LN.js';
3
- import '../../chunk-2VNMKOUO.js';
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 chunkQTNPMIO2_cjs = require('../../chunk-QTNPMIO2.cjs');
3
+ var chunk6JI6FWLZ_cjs = require('../../chunk-6JI6FWLZ.cjs');
4
4
  require('../../chunk-3KRL2EGN.cjs');
5
- require('../../chunk-D7EHZFK4.cjs');
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 chunkQTNPMIO2_cjs.FC_CONST; }
12
+ get: function () { return chunk6JI6FWLZ_cjs.FC_CONST; }
13
13
  });
14
14
  Object.defineProperty(exports, "flowchart", {
15
15
  enumerable: true,
16
- get: function () { return chunkQTNPMIO2_cjs.flowchart; }
16
+ get: function () { return chunk6JI6FWLZ_cjs.flowchart; }
17
17
  });
18
18
  Object.defineProperty(exports, "layoutFlowchart", {
19
19
  enumerable: true,
20
- get: function () { return chunkQTNPMIO2_cjs.layoutFlowchart; }
20
+ get: function () { return chunk6JI6FWLZ_cjs.layoutFlowchart; }
21
21
  });
22
22
  Object.defineProperty(exports, "parseFlowchart", {
23
23
  enumerable: true,
24
- get: function () { return chunkQTNPMIO2_cjs.parseFlowchart; }
24
+ get: function () { return chunk6JI6FWLZ_cjs.parseFlowchart; }
25
25
  });
26
26
  Object.defineProperty(exports, "renderFlowchart", {
27
27
  enumerable: true,
28
- get: function () { return chunkQTNPMIO2_cjs.renderFlowchart; }
28
+ get: function () { return chunk6JI6FWLZ_cjs.renderFlowchart; }
29
29
  });
30
30
  Object.defineProperty(exports, "renderFlowchartAST", {
31
31
  enumerable: true,
32
- get: function () { return chunkQTNPMIO2_cjs.renderFlowchartAST; }
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 '../../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
+ 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 '../../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
+ 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-UFTYX73U.js';
1
+ export { FC_CONST, flowchart, layoutFlowchart, parseFlowchart, renderFlowchart, renderFlowchartAST } from '../../chunk-7F76AWOI.js';
2
2
  import '../../chunk-2KTQ75LN.js';
3
- import '../../chunk-2VNMKOUO.js';
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 chunkTZTCIAYW_cjs = require('../../chunk-TZTCIAYW.cjs');
3
+ var chunkS3RMAXH5_cjs = require('../../chunk-S3RMAXH5.cjs');
4
4
  require('../../chunk-3KRL2EGN.cjs');
5
5
  require('../../chunk-5UCXMYE7.cjs');
6
- require('../../chunk-D7EHZFK4.cjs');
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 chunkTZTCIAYW_cjs.ParseError; }
13
+ get: function () { return chunkS3RMAXH5_cjs.ParseError; }
14
14
  });
15
15
  Object.defineProperty(exports, "genogram", {
16
16
  enumerable: true,
17
- get: function () { return chunkTZTCIAYW_cjs.genogram; }
17
+ get: function () { return chunkS3RMAXH5_cjs.genogram; }
18
18
  });
19
19
  Object.defineProperty(exports, "getRequiredDefs", {
20
20
  enumerable: true,
21
- get: function () { return chunkTZTCIAYW_cjs.getRequiredDefs; }
21
+ get: function () { return chunkS3RMAXH5_cjs.getRequiredDefs; }
22
22
  });
23
23
  Object.defineProperty(exports, "layoutGenogram", {
24
24
  enumerable: true,
25
- get: function () { return chunkTZTCIAYW_cjs.layoutGenogram; }
25
+ get: function () { return chunkS3RMAXH5_cjs.layoutGenogram; }
26
26
  });
27
27
  Object.defineProperty(exports, "parseGenogram", {
28
28
  enumerable: true,
29
- get: function () { return chunkTZTCIAYW_cjs.parseGenogram; }
29
+ get: function () { return chunkS3RMAXH5_cjs.parseGenogram; }
30
30
  });
31
31
  Object.defineProperty(exports, "renderGenogram", {
32
32
  enumerable: true,
33
- get: function () { return chunkTZTCIAYW_cjs.renderGenogram; }
33
+ get: function () { return chunkS3RMAXH5_cjs.renderGenogram; }
34
34
  });
35
35
  Object.defineProperty(exports, "renderIndividualSymbol", {
36
36
  enumerable: true,
37
- get: function () { return chunkTZTCIAYW_cjs.renderIndividualSymbol; }
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 { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
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 { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
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;