schematex 0.4.3 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/README.md +24 -3
  2. package/dist/ai/ai-sdk.cjs +9 -9
  3. package/dist/ai/ai-sdk.d.cts +2 -2
  4. package/dist/ai/ai-sdk.d.ts +2 -2
  5. package/dist/ai/ai-sdk.js +4 -4
  6. package/dist/ai/index.cjs +12 -12
  7. package/dist/ai/index.d.cts +3 -3
  8. package/dist/ai/index.d.ts +3 -3
  9. package/dist/ai/index.js +4 -4
  10. package/dist/{api-BIj9t4Oc.d.cts → api-C5UcmT7n.d.cts} +1 -1
  11. package/dist/{api-BIj9t4Oc.d.ts → api-C5UcmT7n.d.ts} +1 -1
  12. package/dist/browser.cjs +6 -6
  13. package/dist/browser.d.cts +2 -2
  14. package/dist/browser.d.ts +2 -2
  15. package/dist/browser.js +4 -4
  16. package/dist/{chunk-SMXU3KYA.cjs → chunk-3YUUC6RN.cjs} +5115 -282
  17. package/dist/chunk-3YUUC6RN.cjs.map +1 -0
  18. package/dist/{chunk-KWQTF6ZL.js → chunk-GTDQAN2Z.js} +5110 -280
  19. package/dist/chunk-GTDQAN2Z.js.map +1 -0
  20. package/dist/{chunk-J7JWMQD5.js → chunk-HUPDIRBX.js} +119 -4
  21. package/dist/chunk-HUPDIRBX.js.map +1 -0
  22. package/dist/{chunk-UBTKM2TB.js → chunk-IM4RCUHA.js} +210 -22
  23. package/dist/chunk-IM4RCUHA.js.map +1 -0
  24. package/dist/{chunk-N3SLYVNW.cjs → chunk-NWPCY65Z.cjs} +212 -24
  25. package/dist/{chunk-UBTKM2TB.js.map → chunk-NWPCY65Z.cjs.map} +1 -1
  26. package/dist/{chunk-VITE3MZQ.cjs → chunk-QTNPMIO2.cjs} +99 -5
  27. package/dist/chunk-QTNPMIO2.cjs.map +1 -0
  28. package/dist/{chunk-6IGSKU6D.js → chunk-UFTYX73U.js} +99 -5
  29. package/dist/chunk-UFTYX73U.js.map +1 -0
  30. package/dist/{chunk-2Z543TC3.cjs → chunk-XRCY75UV.cjs} +119 -4
  31. package/dist/chunk-XRCY75UV.cjs.map +1 -0
  32. package/dist/diagrams/blockdiagram/index.d.cts +1 -1
  33. package/dist/diagrams/blockdiagram/index.d.ts +1 -1
  34. package/dist/diagrams/circuit/index.cjs +7 -7
  35. package/dist/diagrams/circuit/index.d.cts +1 -1
  36. package/dist/diagrams/circuit/index.d.ts +1 -1
  37. package/dist/diagrams/circuit/index.js +1 -1
  38. package/dist/diagrams/ecomap/index.d.cts +1 -1
  39. package/dist/diagrams/ecomap/index.d.ts +1 -1
  40. package/dist/diagrams/entity/index.d.cts +1 -1
  41. package/dist/diagrams/entity/index.d.ts +1 -1
  42. package/dist/diagrams/fishbone/index.d.cts +1 -1
  43. package/dist/diagrams/fishbone/index.d.ts +1 -1
  44. package/dist/diagrams/flowchart/index.cjs +7 -7
  45. package/dist/diagrams/flowchart/index.d.cts +2 -2
  46. package/dist/diagrams/flowchart/index.d.ts +2 -2
  47. package/dist/diagrams/flowchart/index.js +1 -1
  48. package/dist/diagrams/genogram/index.d.cts +1 -1
  49. package/dist/diagrams/genogram/index.d.ts +1 -1
  50. package/dist/diagrams/ladder/index.d.cts +1 -1
  51. package/dist/diagrams/ladder/index.d.ts +1 -1
  52. package/dist/diagrams/logic/index.d.cts +1 -1
  53. package/dist/diagrams/logic/index.d.ts +1 -1
  54. package/dist/diagrams/orgchart/index.d.cts +1 -1
  55. package/dist/diagrams/orgchart/index.d.ts +1 -1
  56. package/dist/diagrams/pedigree/index.d.cts +1 -1
  57. package/dist/diagrams/pedigree/index.d.ts +1 -1
  58. package/dist/diagrams/phylo/index.d.cts +1 -1
  59. package/dist/diagrams/phylo/index.d.ts +1 -1
  60. package/dist/diagrams/sld/index.d.cts +1 -1
  61. package/dist/diagrams/sld/index.d.ts +1 -1
  62. package/dist/diagrams/sociogram/index.d.cts +1 -1
  63. package/dist/diagrams/sociogram/index.d.ts +1 -1
  64. package/dist/diagrams/timing/index.d.cts +1 -1
  65. package/dist/diagrams/timing/index.d.ts +1 -1
  66. package/dist/diagrams/venn/index.d.cts +1 -1
  67. package/dist/diagrams/venn/index.d.ts +1 -1
  68. package/dist/{index-DYpJXJcy.d.cts → index-C9A0h-CB.d.cts} +1 -1
  69. package/dist/{index-BeUVaQiD.d.ts → index-CJai_TEZ.d.ts} +1 -1
  70. package/dist/index.cjs +23 -11
  71. package/dist/index.d.cts +10 -4
  72. package/dist/index.d.ts +10 -4
  73. package/dist/index.js +3 -3
  74. package/dist/react.cjs +4 -4
  75. package/dist/react.d.cts +1 -1
  76. package/dist/react.d.ts +1 -1
  77. package/dist/react.js +3 -3
  78. package/dist/{types-DKdo-Ua_.d.cts → types-BOAsqHoU.d.cts} +2 -2
  79. package/dist/{types-DKdo-Ua_.d.ts → types-BOAsqHoU.d.ts} +2 -2
  80. package/package.json +2 -2
  81. package/dist/chunk-2Z543TC3.cjs.map +0 -1
  82. package/dist/chunk-6IGSKU6D.js.map +0 -1
  83. package/dist/chunk-J7JWMQD5.js.map +0 -1
  84. package/dist/chunk-KWQTF6ZL.js.map +0 -1
  85. package/dist/chunk-N3SLYVNW.cjs.map +0 -1
  86. package/dist/chunk-SMXU3KYA.cjs.map +0 -1
  87. package/dist/chunk-VITE3MZQ.cjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk2Z543TC3_cjs = require('../../chunk-2Z543TC3.cjs');
3
+ var chunkXRCY75UV_cjs = require('../../chunk-XRCY75UV.cjs');
4
4
  require('../../chunk-D7EHZFK4.cjs');
5
5
  require('../../chunk-NAGUZFXX.cjs');
6
6
  require('../../chunk-3WNW5Y7P.cjs');
@@ -9,27 +9,27 @@ require('../../chunk-3WNW5Y7P.cjs');
9
9
 
10
10
  Object.defineProperty(exports, "circuit", {
11
11
  enumerable: true,
12
- get: function () { return chunk2Z543TC3_cjs.circuit; }
12
+ get: function () { return chunkXRCY75UV_cjs.circuit; }
13
13
  });
14
14
  Object.defineProperty(exports, "layoutCircuit", {
15
15
  enumerable: true,
16
- get: function () { return chunk2Z543TC3_cjs.layoutCircuit; }
16
+ get: function () { return chunkXRCY75UV_cjs.layoutCircuit; }
17
17
  });
18
18
  Object.defineProperty(exports, "layoutCircuitNetlist", {
19
19
  enumerable: true,
20
- get: function () { return chunk2Z543TC3_cjs.layoutCircuitNetlist; }
20
+ get: function () { return chunkXRCY75UV_cjs.layoutCircuitNetlist; }
21
21
  });
22
22
  Object.defineProperty(exports, "parseCircuit", {
23
23
  enumerable: true,
24
- get: function () { return chunk2Z543TC3_cjs.parseCircuit; }
24
+ get: function () { return chunkXRCY75UV_cjs.parseCircuit; }
25
25
  });
26
26
  Object.defineProperty(exports, "parseNetlist", {
27
27
  enumerable: true,
28
- get: function () { return chunk2Z543TC3_cjs.parseNetlist; }
28
+ get: function () { return chunkXRCY75UV_cjs.parseNetlist; }
29
29
  });
30
30
  Object.defineProperty(exports, "renderCircuit", {
31
31
  enumerable: true,
32
- get: function () { return chunk2Z543TC3_cjs.renderCircuit; }
32
+ get: function () { return chunkXRCY75UV_cjs.renderCircuit; }
33
33
  });
34
34
  //# sourceMappingURL=index.cjs.map
35
35
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,4 @@
1
- import { C as CircuitAST, R as RenderConfig, p as CircuitComponent, D as DiagramPlugin } from '../../types-DKdo-Ua_.cjs';
1
+ import { C as CircuitAST, R as RenderConfig, p as CircuitComponent, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
2
2
 
3
3
  /**
4
4
  * Top-level circuit parser. Detects two DSL modes:
@@ -1,4 +1,4 @@
1
- import { C as CircuitAST, R as RenderConfig, p as CircuitComponent, D as DiagramPlugin } from '../../types-DKdo-Ua_.js';
1
+ import { C as CircuitAST, R as RenderConfig, p as CircuitComponent, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
2
2
 
3
3
  /**
4
4
  * Top-level circuit parser. Detects two DSL modes:
@@ -1,4 +1,4 @@
1
- export { circuit, layoutCircuit, layoutCircuitNetlist, parseCircuit, parseNetlist, renderCircuit } from '../../chunk-J7JWMQD5.js';
1
+ export { circuit, layoutCircuit, layoutCircuitNetlist, parseCircuit, parseNetlist, renderCircuit } from '../../chunk-HUPDIRBX.js';
2
2
  import '../../chunk-2VNMKOUO.js';
3
3
  import '../../chunk-5IKOLUWK.js';
4
4
  import '../../chunk-SYYBKDL7.js';
@@ -1,4 +1,4 @@
1
- import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-DKdo-Ua_.cjs';
1
+ import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
2
2
 
3
3
  declare class EcomapParseError extends Error {
4
4
  line: number;
@@ -1,4 +1,4 @@
1
- import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-DKdo-Ua_.js';
1
+ import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
2
2
 
3
3
  declare class EcomapParseError extends Error {
4
4
  line: number;
@@ -1,4 +1,4 @@
1
- import { E as EntityAST, R as RenderConfig, j as EntityNode, k as EntityEdge, D as DiagramPlugin } from '../../types-DKdo-Ua_.cjs';
1
+ import { E as EntityAST, R as RenderConfig, j as EntityNode, k as EntityEdge, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
2
2
 
3
3
  declare function parseEntityDSL(text: string): EntityAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { E as EntityAST, R as RenderConfig, j as EntityNode, k as EntityEdge, D as DiagramPlugin } from '../../types-DKdo-Ua_.js';
1
+ import { E as EntityAST, R as RenderConfig, j as EntityNode, k as EntityEdge, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
2
2
 
3
3
  declare function parseEntityDSL(text: string): EntityAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { F as FishboneAST, D as DiagramPlugin } from '../../types-DKdo-Ua_.cjs';
1
+ import { F as FishboneAST, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
2
2
 
3
3
  /**
4
4
  * Fishbone DSL parser.
@@ -1,4 +1,4 @@
1
- import { F as FishboneAST, D as DiagramPlugin } from '../../types-DKdo-Ua_.js';
1
+ import { F as FishboneAST, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
2
2
 
3
3
  /**
4
4
  * Fishbone DSL parser.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkVITE3MZQ_cjs = require('../../chunk-VITE3MZQ.cjs');
3
+ var chunkQTNPMIO2_cjs = require('../../chunk-QTNPMIO2.cjs');
4
4
  require('../../chunk-3KRL2EGN.cjs');
5
5
  require('../../chunk-D7EHZFK4.cjs');
6
6
  require('../../chunk-3WNW5Y7P.cjs');
@@ -9,27 +9,27 @@ require('../../chunk-3WNW5Y7P.cjs');
9
9
 
10
10
  Object.defineProperty(exports, "FC_CONST", {
11
11
  enumerable: true,
12
- get: function () { return chunkVITE3MZQ_cjs.FC_CONST; }
12
+ get: function () { return chunkQTNPMIO2_cjs.FC_CONST; }
13
13
  });
14
14
  Object.defineProperty(exports, "flowchart", {
15
15
  enumerable: true,
16
- get: function () { return chunkVITE3MZQ_cjs.flowchart; }
16
+ get: function () { return chunkQTNPMIO2_cjs.flowchart; }
17
17
  });
18
18
  Object.defineProperty(exports, "layoutFlowchart", {
19
19
  enumerable: true,
20
- get: function () { return chunkVITE3MZQ_cjs.layoutFlowchart; }
20
+ get: function () { return chunkQTNPMIO2_cjs.layoutFlowchart; }
21
21
  });
22
22
  Object.defineProperty(exports, "parseFlowchart", {
23
23
  enumerable: true,
24
- get: function () { return chunkVITE3MZQ_cjs.parseFlowchart; }
24
+ get: function () { return chunkQTNPMIO2_cjs.parseFlowchart; }
25
25
  });
26
26
  Object.defineProperty(exports, "renderFlowchart", {
27
27
  enumerable: true,
28
- get: function () { return chunkVITE3MZQ_cjs.renderFlowchart; }
28
+ get: function () { return chunkQTNPMIO2_cjs.renderFlowchart; }
29
29
  });
30
30
  Object.defineProperty(exports, "renderFlowchartAST", {
31
31
  enumerable: true,
32
- get: function () { return chunkVITE3MZQ_cjs.renderFlowchartAST; }
32
+ get: function () { return chunkQTNPMIO2_cjs.renderFlowchartAST; }
33
33
  });
34
34
  //# sourceMappingURL=index.cjs.map
35
35
  //# sourceMappingURL=index.cjs.map
@@ -1,2 +1,2 @@
1
- import '../../types-DKdo-Ua_.cjs';
2
- export { F as FC_CONST, g as flowchart, n as layoutFlowchart, p as parseFlowchart, o as renderFlowchart, q as renderFlowchartAST } from '../../index-DYpJXJcy.cjs';
1
+ import '../../types-BOAsqHoU.cjs';
2
+ export { F as FC_CONST, g as flowchart, n as layoutFlowchart, p as parseFlowchart, o as renderFlowchart, q as renderFlowchartAST } from '../../index-C9A0h-CB.cjs';
@@ -1,2 +1,2 @@
1
- import '../../types-DKdo-Ua_.js';
2
- export { F as FC_CONST, g as flowchart, n as layoutFlowchart, p as parseFlowchart, o as renderFlowchart, q as renderFlowchartAST } from '../../index-BeUVaQiD.js';
1
+ import '../../types-BOAsqHoU.js';
2
+ export { F as FC_CONST, g as flowchart, n as layoutFlowchart, p as parseFlowchart, o as renderFlowchart, q as renderFlowchartAST } from '../../index-CJai_TEZ.js';
@@ -1,4 +1,4 @@
1
- export { FC_CONST, flowchart, layoutFlowchart, parseFlowchart, renderFlowchart, renderFlowchartAST } from '../../chunk-6IGSKU6D.js';
1
+ export { FC_CONST, flowchart, layoutFlowchart, parseFlowchart, renderFlowchart, renderFlowchartAST } from '../../chunk-UFTYX73U.js';
2
2
  import '../../chunk-2KTQ75LN.js';
3
3
  import '../../chunk-2VNMKOUO.js';
4
4
  import '../../chunk-SYYBKDL7.js';
@@ -1,4 +1,4 @@
1
- import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../types-DKdo-Ua_.cjs';
1
+ import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
2
2
 
3
3
  declare class ParseError extends Error {
4
4
  line: number;
@@ -1,4 +1,4 @@
1
- import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../types-DKdo-Ua_.js';
1
+ import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
2
2
 
3
3
  declare class ParseError extends Error {
4
4
  line: number;
@@ -1,4 +1,4 @@
1
- import { e as LadderAST, R as RenderConfig, f as LadderRung, g as LadderElement, D as DiagramPlugin } from '../../types-DKdo-Ua_.cjs';
1
+ import { e as LadderAST, R as RenderConfig, f as LadderRung, g as LadderElement, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
2
2
 
3
3
  declare function parseLadderDSL(text: string): LadderAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { e as LadderAST, R as RenderConfig, f as LadderRung, g as LadderElement, D as DiagramPlugin } from '../../types-DKdo-Ua_.js';
1
+ import { e as LadderAST, R as RenderConfig, f as LadderRung, g as LadderElement, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
2
2
 
3
3
  declare function parseLadderDSL(text: string): LadderAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { m as LogicGateAST, R as RenderConfig, D as DiagramPlugin } from '../../types-DKdo-Ua_.cjs';
1
+ import { m as LogicGateAST, R as RenderConfig, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
2
2
 
3
3
  declare function parseLogic(text: string): LogicGateAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { m as LogicGateAST, R as RenderConfig, D as DiagramPlugin } from '../../types-DKdo-Ua_.js';
1
+ import { m as LogicGateAST, R as RenderConfig, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
2
2
 
3
3
  declare function parseLogic(text: string): LogicGateAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { R as RenderConfig, D as DiagramPlugin } from '../../types-DKdo-Ua_.cjs';
1
+ import { R as RenderConfig, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
2
2
 
3
3
  type OrgchartDirection = "TD" | "LR";
4
4
  type OrgchartLayoutMode = "tree" | "list";
@@ -1,4 +1,4 @@
1
- import { R as RenderConfig, D as DiagramPlugin } from '../../types-DKdo-Ua_.js';
1
+ import { R as RenderConfig, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
2
2
 
3
3
  type OrgchartDirection = "TD" | "LR";
4
4
  type OrgchartLayoutMode = "tree" | "list";
@@ -1,4 +1,4 @@
1
- import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-DKdo-Ua_.cjs';
1
+ import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
2
2
 
3
3
  declare class PedigreeParseError extends Error {
4
4
  line: number;
@@ -1,4 +1,4 @@
1
- import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-DKdo-Ua_.js';
1
+ import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
2
2
 
3
3
  declare class PedigreeParseError extends Error {
4
4
  line: number;
@@ -1,4 +1,4 @@
1
- import { P as PhyloTreeAST, c as PhyloLayoutNode, D as DiagramPlugin } from '../../types-DKdo-Ua_.cjs';
1
+ import { P as PhyloTreeAST, c as PhyloLayoutNode, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
2
2
 
3
3
  declare class PhyloParseError extends Error {
4
4
  constructor(message: string);
@@ -1,4 +1,4 @@
1
- import { P as PhyloTreeAST, c as PhyloLayoutNode, D as DiagramPlugin } from '../../types-DKdo-Ua_.js';
1
+ import { P as PhyloTreeAST, c as PhyloLayoutNode, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
2
2
 
3
3
  declare class PhyloParseError extends Error {
4
4
  constructor(message: string);
@@ -1,4 +1,4 @@
1
- import { S as SLDAST, R as RenderConfig, h as SLDNode, i as SLDNodeType, D as DiagramPlugin } from '../../types-DKdo-Ua_.cjs';
1
+ import { S as SLDAST, R as RenderConfig, h as SLDNode, i as SLDNodeType, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
2
2
 
3
3
  declare function parseSLDDSL(text: string): SLDAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { S as SLDAST, R as RenderConfig, h as SLDNode, i as SLDNodeType, D as DiagramPlugin } from '../../types-DKdo-Ua_.js';
1
+ import { S as SLDAST, R as RenderConfig, h as SLDNode, i as SLDNodeType, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
2
2
 
3
3
  declare function parseSLDDSL(text: string): SLDAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { d as LegendOverrides, D as DiagramPlugin } from '../../types-DKdo-Ua_.cjs';
1
+ import { d as LegendOverrides, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
2
2
 
3
3
  type SociogramLayout = "circular" | "force-directed" | "concentric";
4
4
  type EdgeValence = "positive" | "negative" | "neutral";
@@ -1,4 +1,4 @@
1
- import { d as LegendOverrides, D as DiagramPlugin } from '../../types-DKdo-Ua_.js';
1
+ import { d as LegendOverrides, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
2
2
 
3
3
  type SociogramLayout = "circular" | "force-directed" | "concentric";
4
4
  type EdgeValence = "positive" | "negative" | "neutral";
@@ -1,4 +1,4 @@
1
- import { T as TimingAST, D as DiagramPlugin } from '../../types-DKdo-Ua_.cjs';
1
+ import { T as TimingAST, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
2
2
 
3
3
  declare function parseTiming(text: string): TimingAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { T as TimingAST, D as DiagramPlugin } from '../../types-DKdo-Ua_.js';
1
+ import { T as TimingAST, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
2
2
 
3
3
  declare function parseTiming(text: string): TimingAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { V as VennAST, l as VennLayoutResult, D as DiagramPlugin } from '../../types-DKdo-Ua_.cjs';
1
+ import { V as VennAST, l as VennLayoutResult, D as DiagramPlugin } from '../../types-BOAsqHoU.cjs';
2
2
 
3
3
  /**
4
4
  * Venn / Euler DSL parser (hand-written recursive descent).
@@ -1,4 +1,4 @@
1
- import { V as VennAST, l as VennLayoutResult, D as DiagramPlugin } from '../../types-DKdo-Ua_.js';
1
+ import { V as VennAST, l as VennLayoutResult, D as DiagramPlugin } from '../../types-BOAsqHoU.js';
2
2
 
3
3
  /**
4
4
  * Venn / Euler DSL parser (hand-written recursive descent).
@@ -1,4 +1,4 @@
1
- import { n as FlowchartAST, o as FlowchartLayoutResult, D as DiagramPlugin } from './types-DKdo-Ua_.cjs';
1
+ import { n as FlowchartAST, o as FlowchartLayoutResult, D as DiagramPlugin } from './types-BOAsqHoU.cjs';
2
2
 
3
3
  /**
4
4
  * Flowchart DSL parser.
@@ -1,4 +1,4 @@
1
- import { n as FlowchartAST, o as FlowchartLayoutResult, D as DiagramPlugin } from './types-DKdo-Ua_.js';
1
+ import { n as FlowchartAST, o as FlowchartLayoutResult, D as DiagramPlugin } from './types-BOAsqHoU.js';
2
2
 
3
3
  /**
4
4
  * Flowchart DSL parser.
package/dist/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkSMXU3KYA_cjs = require('./chunk-SMXU3KYA.cjs');
3
+ var chunk3YUUC6RN_cjs = require('./chunk-3YUUC6RN.cjs');
4
4
  var chunkQUKVGHN4_cjs = require('./chunk-QUKVGHN4.cjs');
5
- var chunk2Z543TC3_cjs = require('./chunk-2Z543TC3.cjs');
5
+ var chunkXRCY75UV_cjs = require('./chunk-XRCY75UV.cjs');
6
6
  var chunkSUIDD2C5_cjs = require('./chunk-SUIDD2C5.cjs');
7
7
  var chunkN7W5KZK7_cjs = require('./chunk-N7W5KZK7.cjs');
8
8
  var chunk3M6WB62Y_cjs = require('./chunk-3M6WB62Y.cjs');
@@ -10,7 +10,7 @@ require('./chunk-SBB6C4OP.cjs');
10
10
  var chunkRYVV5UVI_cjs = require('./chunk-RYVV5UVI.cjs');
11
11
  var chunkVFZOPRQP_cjs = require('./chunk-VFZOPRQP.cjs');
12
12
  var chunkBW4KGTV7_cjs = require('./chunk-BW4KGTV7.cjs');
13
- var chunkVITE3MZQ_cjs = require('./chunk-VITE3MZQ.cjs');
13
+ var chunkQTNPMIO2_cjs = require('./chunk-QTNPMIO2.cjs');
14
14
  var chunkTZTCIAYW_cjs = require('./chunk-TZTCIAYW.cjs');
15
15
  var chunkVZ5LDNHK_cjs = require('./chunk-VZ5LDNHK.cjs');
16
16
  var chunkEGSUMHCS_cjs = require('./chunk-EGSUMHCS.cjs');
@@ -28,27 +28,39 @@ require('./chunk-3WNW5Y7P.cjs');
28
28
 
29
29
  Object.defineProperty(exports, "decisiontree", {
30
30
  enumerable: true,
31
- get: function () { return chunkSMXU3KYA_cjs.decisiontree; }
31
+ get: function () { return chunk3YUUC6RN_cjs.decisiontree; }
32
32
  });
33
33
  Object.defineProperty(exports, "parse", {
34
34
  enumerable: true,
35
- get: function () { return chunkSMXU3KYA_cjs.parse; }
35
+ get: function () { return chunk3YUUC6RN_cjs.parse; }
36
+ });
37
+ Object.defineProperty(exports, "pert", {
38
+ enumerable: true,
39
+ get: function () { return chunk3YUUC6RN_cjs.pert; }
36
40
  });
37
41
  Object.defineProperty(exports, "pid", {
38
42
  enumerable: true,
39
- get: function () { return chunkSMXU3KYA_cjs.pid; }
43
+ get: function () { return chunk3YUUC6RN_cjs.pid; }
44
+ });
45
+ Object.defineProperty(exports, "prisma", {
46
+ enumerable: true,
47
+ get: function () { return chunk3YUUC6RN_cjs.prisma; }
40
48
  });
41
49
  Object.defineProperty(exports, "render", {
42
50
  enumerable: true,
43
- get: function () { return chunkSMXU3KYA_cjs.render; }
51
+ get: function () { return chunk3YUUC6RN_cjs.render; }
44
52
  });
45
53
  Object.defineProperty(exports, "state", {
46
54
  enumerable: true,
47
- get: function () { return chunkSMXU3KYA_cjs.state; }
55
+ get: function () { return chunk3YUUC6RN_cjs.state; }
48
56
  });
49
57
  Object.defineProperty(exports, "timeline", {
50
58
  enumerable: true,
51
- get: function () { return chunkSMXU3KYA_cjs.timeline; }
59
+ get: function () { return chunk3YUUC6RN_cjs.timeline; }
60
+ });
61
+ Object.defineProperty(exports, "usecase", {
62
+ enumerable: true,
63
+ get: function () { return chunk3YUUC6RN_cjs.usecase; }
52
64
  });
53
65
  Object.defineProperty(exports, "orgchart", {
54
66
  enumerable: true,
@@ -56,7 +68,7 @@ Object.defineProperty(exports, "orgchart", {
56
68
  });
57
69
  Object.defineProperty(exports, "circuit", {
58
70
  enumerable: true,
59
- get: function () { return chunk2Z543TC3_cjs.circuit; }
71
+ get: function () { return chunkXRCY75UV_cjs.circuit; }
60
72
  });
61
73
  Object.defineProperty(exports, "blockdiagram", {
62
74
  enumerable: true,
@@ -84,7 +96,7 @@ Object.defineProperty(exports, "venn", {
84
96
  });
85
97
  Object.defineProperty(exports, "flowchart", {
86
98
  enumerable: true,
87
- get: function () { return chunkVITE3MZQ_cjs.flowchart; }
99
+ get: function () { return chunkQTNPMIO2_cjs.flowchart; }
88
100
  });
89
101
  Object.defineProperty(exports, "genogram", {
90
102
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { S as SchematexConfig, p as parse, r as render } from './api-BIj9t4Oc.cjs';
1
+ export { S as SchematexConfig, p as parse, r as render } from './api-C5UcmT7n.cjs';
2
2
  export { genogram } from './diagrams/genogram/index.cjs';
3
3
  export { ecomap } from './diagrams/ecomap/index.cjs';
4
4
  export { pedigree } from './diagrams/pedigree/index.cjs';
@@ -13,9 +13,9 @@ export { sld } from './diagrams/sld/index.cjs';
13
13
  export { entity } from './diagrams/entity/index.cjs';
14
14
  export { fishbone } from './diagrams/fishbone/index.cjs';
15
15
  export { venn } from './diagrams/venn/index.cjs';
16
- export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, P as PERSON_TOKENS, d as PersonTokens, R as ResolvedTheme, T as ThemeName, e as TimelineTokens, V as VENN_TOKENS, f as VennTokens, g as flowchart, r as resolveBaseTheme, h as resolveBiologyTheme, i as resolveFishboneTheme, j as resolveGenogramTheme, k as resolvePersonTheme, l as resolveTimelineTheme, m as resolveVennTheme } from './index-DYpJXJcy.cjs';
16
+ export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, P as PERSON_TOKENS, d as PersonTokens, R as ResolvedTheme, T as ThemeName, e as TimelineTokens, V as VENN_TOKENS, f as VennTokens, g as flowchart, r as resolveBaseTheme, h as resolveBiologyTheme, i as resolveFishboneTheme, j as resolveGenogramTheme, k as resolvePersonTheme, l as resolveTimelineTheme, m as resolveVennTheme } from './index-C9A0h-CB.cjs';
17
17
  export { orgchart } from './diagrams/orgchart/index.cjs';
18
- import { D as DiagramPlugin } from './types-DKdo-Ua_.cjs';
18
+ import { D as DiagramPlugin } from './types-BOAsqHoU.cjs';
19
19
 
20
20
  declare const decisiontree: DiagramPlugin;
21
21
 
@@ -25,4 +25,10 @@ declare const state: DiagramPlugin;
25
25
 
26
26
  declare const pid: DiagramPlugin;
27
27
 
28
- export { decisiontree, pid, state, timeline };
28
+ declare const prisma: DiagramPlugin;
29
+
30
+ declare const usecase: DiagramPlugin;
31
+
32
+ declare const pert: DiagramPlugin;
33
+
34
+ export { decisiontree, pert, pid, prisma, state, timeline, usecase };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { S as SchematexConfig, p as parse, r as render } from './api-BIj9t4Oc.js';
1
+ export { S as SchematexConfig, p as parse, r as render } from './api-C5UcmT7n.js';
2
2
  export { genogram } from './diagrams/genogram/index.js';
3
3
  export { ecomap } from './diagrams/ecomap/index.js';
4
4
  export { pedigree } from './diagrams/pedigree/index.js';
@@ -13,9 +13,9 @@ export { sld } from './diagrams/sld/index.js';
13
13
  export { entity } from './diagrams/entity/index.js';
14
14
  export { fishbone } from './diagrams/fishbone/index.js';
15
15
  export { venn } from './diagrams/venn/index.js';
16
- export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, P as PERSON_TOKENS, d as PersonTokens, R as ResolvedTheme, T as ThemeName, e as TimelineTokens, V as VENN_TOKENS, f as VennTokens, g as flowchart, r as resolveBaseTheme, h as resolveBiologyTheme, i as resolveFishboneTheme, j as resolveGenogramTheme, k as resolvePersonTheme, l as resolveTimelineTheme, m as resolveVennTheme } from './index-BeUVaQiD.js';
16
+ export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, P as PERSON_TOKENS, d as PersonTokens, R as ResolvedTheme, T as ThemeName, e as TimelineTokens, V as VENN_TOKENS, f as VennTokens, g as flowchart, r as resolveBaseTheme, h as resolveBiologyTheme, i as resolveFishboneTheme, j as resolveGenogramTheme, k as resolvePersonTheme, l as resolveTimelineTheme, m as resolveVennTheme } from './index-CJai_TEZ.js';
17
17
  export { orgchart } from './diagrams/orgchart/index.js';
18
- import { D as DiagramPlugin } from './types-DKdo-Ua_.js';
18
+ import { D as DiagramPlugin } from './types-BOAsqHoU.js';
19
19
 
20
20
  declare const decisiontree: DiagramPlugin;
21
21
 
@@ -25,4 +25,10 @@ declare const state: DiagramPlugin;
25
25
 
26
26
  declare const pid: DiagramPlugin;
27
27
 
28
- export { decisiontree, pid, state, timeline };
28
+ declare const prisma: DiagramPlugin;
29
+
30
+ declare const usecase: DiagramPlugin;
31
+
32
+ declare const pert: DiagramPlugin;
33
+
34
+ export { decisiontree, pert, pid, prisma, state, timeline, usecase };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export { decisiontree, parse, pid, render, state, timeline } from './chunk-KWQTF6ZL.js';
1
+ export { decisiontree, parse, pert, pid, prisma, render, state, timeline, usecase } from './chunk-GTDQAN2Z.js';
2
2
  export { orgchart } from './chunk-I55HO32M.js';
3
- export { circuit } from './chunk-J7JWMQD5.js';
3
+ export { circuit } from './chunk-HUPDIRBX.js';
4
4
  export { blockdiagram } from './chunk-EPKIJEH7.js';
5
5
  export { ladder } from './chunk-IBRW3UOA.js';
6
6
  export { sld } from './chunk-6OSUNBZY.js';
@@ -8,7 +8,7 @@ import './chunk-PIV2A3HG.js';
8
8
  export { entity } from './chunk-SZK376QB.js';
9
9
  export { fishbone } from './chunk-3M6T7KB4.js';
10
10
  export { venn } from './chunk-L3CTXXVZ.js';
11
- export { flowchart } from './chunk-6IGSKU6D.js';
11
+ export { flowchart } from './chunk-UFTYX73U.js';
12
12
  export { genogram } from './chunk-VJGMEGMR.js';
13
13
  export { ecomap } from './chunk-JHDR56XO.js';
14
14
  export { pedigree } from './chunk-ZL5RB4UV.js';
package/dist/react.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkSMXU3KYA_cjs = require('./chunk-SMXU3KYA.cjs');
3
+ var chunk3YUUC6RN_cjs = require('./chunk-3YUUC6RN.cjs');
4
4
  require('./chunk-QUKVGHN4.cjs');
5
- require('./chunk-2Z543TC3.cjs');
5
+ require('./chunk-XRCY75UV.cjs');
6
6
  require('./chunk-SUIDD2C5.cjs');
7
7
  require('./chunk-N7W5KZK7.cjs');
8
8
  require('./chunk-3M6WB62Y.cjs');
@@ -10,7 +10,7 @@ require('./chunk-SBB6C4OP.cjs');
10
10
  require('./chunk-RYVV5UVI.cjs');
11
11
  require('./chunk-VFZOPRQP.cjs');
12
12
  require('./chunk-BW4KGTV7.cjs');
13
- require('./chunk-VITE3MZQ.cjs');
13
+ require('./chunk-QTNPMIO2.cjs');
14
14
  require('./chunk-TZTCIAYW.cjs');
15
15
  require('./chunk-VZ5LDNHK.cjs');
16
16
  require('./chunk-EGSUMHCS.cjs');
@@ -38,7 +38,7 @@ function SchematexDiagram({
38
38
  }) {
39
39
  const svg = react.useMemo(() => {
40
40
  try {
41
- return chunkSMXU3KYA_cjs.render(dsl, { type, theme, fontFamily, padding });
41
+ return chunk3YUUC6RN_cjs.render(dsl, { type, theme, fontFamily, padding });
42
42
  } catch (err) {
43
43
  const e = err instanceof Error ? err : new Error(String(err));
44
44
  onError?.(e);
package/dist/react.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { S as SchematexConfig } from './api-BIj9t4Oc.cjs';
2
+ import { S as SchematexConfig } from './api-C5UcmT7n.cjs';
3
3
 
4
4
  interface SchematexDiagramProps {
5
5
  /** DSL text to render */
package/dist/react.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { S as SchematexConfig } from './api-BIj9t4Oc.js';
2
+ import { S as SchematexConfig } from './api-C5UcmT7n.js';
3
3
 
4
4
  interface SchematexDiagramProps {
5
5
  /** DSL text to render */
package/dist/react.js CHANGED
@@ -1,6 +1,6 @@
1
- import { render } from './chunk-KWQTF6ZL.js';
1
+ import { render } from './chunk-GTDQAN2Z.js';
2
2
  import './chunk-I55HO32M.js';
3
- import './chunk-J7JWMQD5.js';
3
+ import './chunk-HUPDIRBX.js';
4
4
  import './chunk-EPKIJEH7.js';
5
5
  import './chunk-IBRW3UOA.js';
6
6
  import './chunk-6OSUNBZY.js';
@@ -8,7 +8,7 @@ import './chunk-PIV2A3HG.js';
8
8
  import './chunk-SZK376QB.js';
9
9
  import './chunk-3M6T7KB4.js';
10
10
  import './chunk-L3CTXXVZ.js';
11
- import './chunk-6IGSKU6D.js';
11
+ import './chunk-UFTYX73U.js';
12
12
  import './chunk-VJGMEGMR.js';
13
13
  import './chunk-JHDR56XO.js';
14
14
  import './chunk-ZL5RB4UV.js';
@@ -8,7 +8,7 @@
8
8
  * - Layout: DiagramAST → LayoutResult
9
9
  * - Renderer: LayoutResult → SVG string
10
10
  */
11
- type DiagramType = "genogram" | "ecomap" | "pedigree" | "phylo" | "sociogram" | "timing" | "logic" | "circuit" | "blockdiagram" | "ladder" | "sld" | "entity" | "fishbone" | "venn" | "flowchart" | "mindmap" | "matrix" | "orgchart" | "decisiontree" | "timeline" | "state" | "pid" | "erd" | "breadboard" | "bpmn" | "fbd" | "sfc";
11
+ type DiagramType = "genogram" | "ecomap" | "pedigree" | "phylo" | "sociogram" | "timing" | "logic" | "circuit" | "blockdiagram" | "ladder" | "sld" | "entity" | "fishbone" | "venn" | "flowchart" | "mindmap" | "matrix" | "orgchart" | "decisiontree" | "timeline" | "state" | "pid" | "erd" | "breadboard" | "bpmn" | "fbd" | "sfc" | "prisma" | "usecase" | "pert";
12
12
  type GenogramMode = "medical" | "heritage";
13
13
  /**
14
14
  * Standard legend positions:
@@ -410,7 +410,7 @@ interface LogicGateAST {
410
410
  /** Non-fatal parser warnings (e.g. signals auto-declared as inputs). */
411
411
  warnings?: string[];
412
412
  }
413
- type CircuitComponentType = "resistor" | "potentiometer" | "rheostat" | "thermistor_ntc" | "thermistor_ptc" | "ldr" | "varistor" | "fuse" | "fuse_slow" | "capacitor" | "electrolytic_cap" | "variable_cap" | "inductor" | "inductor_iron" | "inductor_ferrite" | "variable_inductor" | "ferrite_bead" | "crystal" | "transformer" | "diode" | "zener" | "schottky" | "led" | "photodiode" | "varactor" | "tvs_diode" | "bridge_rectifier" | "npn" | "pnp" | "darlington_npn" | "darlington_pnp" | "nmos" | "pmos" | "nmos_depletion" | "jfet_n" | "jfet_p" | "igbt" | "scr" | "triac" | "diac" | "phototransistor" | "optocoupler" | "opamp" | "comparator" | "schmitt_buffer" | "tri_state_buffer" | "instrumentation_amp" | "generic_ic" | "voltage_regulator" | "dc_dc_converter" | "555_timer" | "terminal_block" | "voltage_source" | "current_source" | "ac_source" | "battery" | "vcc" | "ground" | "gnd_signal" | "gnd_chassis" | "gnd_digital" | "switch_spst" | "switch_spdt" | "switch_dpdt" | "push_no" | "push_nc" | "relay_coil" | "relay_no" | "relay_nc" | "motor" | "speaker" | "microphone" | "buzzer" | "ammeter" | "voltmeter" | "wattmeter" | "oscilloscope" | "wire" | "dot" | "label" | "port" | "test_point" | "no_connect" | "antenna";
413
+ type CircuitComponentType = "resistor" | "potentiometer" | "rheostat" | "thermistor_ntc" | "thermistor_ptc" | "ldr" | "varistor" | "fuse" | "fuse_slow" | "capacitor" | "electrolytic_cap" | "variable_cap" | "inductor" | "inductor_iron" | "inductor_ferrite" | "variable_inductor" | "ferrite_bead" | "crystal" | "transformer" | "diode" | "zener" | "schottky" | "led" | "photodiode" | "varactor" | "tvs_diode" | "bridge_rectifier" | "npn" | "pnp" | "darlington_npn" | "darlington_pnp" | "nmos" | "pmos" | "nmos_depletion" | "jfet_n" | "jfet_p" | "igbt" | "scr" | "triac" | "diac" | "phototransistor" | "optocoupler" | "opamp" | "comparator" | "schmitt_buffer" | "tri_state_buffer" | "instrumentation_amp" | "generic_ic" | "voltage_regulator" | "dc_dc_converter" | "555_timer" | "terminal_block" | "voltage_source" | "current_source" | "ac_source" | "battery" | "vcc" | "ground" | "gnd_signal" | "gnd_chassis" | "gnd_digital" | "switch_spst" | "switch_spdt" | "switch_dpdt" | "push_no" | "push_nc" | "relay_coil" | "relay_no" | "relay_nc" | "contactor" | "solenoid_valve" | "thermal_overload" | "disconnect_switch" | "motor" | "speaker" | "microphone" | "buzzer" | "ammeter" | "voltmeter" | "wattmeter" | "oscilloscope" | "wire" | "dot" | "label" | "port" | "test_point" | "no_connect" | "antenna";
414
414
  type CircuitDirection = "right" | "left" | "up" | "down";
415
415
  interface CircuitComponent {
416
416
  id: string;
@@ -8,7 +8,7 @@
8
8
  * - Layout: DiagramAST → LayoutResult
9
9
  * - Renderer: LayoutResult → SVG string
10
10
  */
11
- type DiagramType = "genogram" | "ecomap" | "pedigree" | "phylo" | "sociogram" | "timing" | "logic" | "circuit" | "blockdiagram" | "ladder" | "sld" | "entity" | "fishbone" | "venn" | "flowchart" | "mindmap" | "matrix" | "orgchart" | "decisiontree" | "timeline" | "state" | "pid" | "erd" | "breadboard" | "bpmn" | "fbd" | "sfc";
11
+ type DiagramType = "genogram" | "ecomap" | "pedigree" | "phylo" | "sociogram" | "timing" | "logic" | "circuit" | "blockdiagram" | "ladder" | "sld" | "entity" | "fishbone" | "venn" | "flowchart" | "mindmap" | "matrix" | "orgchart" | "decisiontree" | "timeline" | "state" | "pid" | "erd" | "breadboard" | "bpmn" | "fbd" | "sfc" | "prisma" | "usecase" | "pert";
12
12
  type GenogramMode = "medical" | "heritage";
13
13
  /**
14
14
  * Standard legend positions:
@@ -410,7 +410,7 @@ interface LogicGateAST {
410
410
  /** Non-fatal parser warnings (e.g. signals auto-declared as inputs). */
411
411
  warnings?: string[];
412
412
  }
413
- type CircuitComponentType = "resistor" | "potentiometer" | "rheostat" | "thermistor_ntc" | "thermistor_ptc" | "ldr" | "varistor" | "fuse" | "fuse_slow" | "capacitor" | "electrolytic_cap" | "variable_cap" | "inductor" | "inductor_iron" | "inductor_ferrite" | "variable_inductor" | "ferrite_bead" | "crystal" | "transformer" | "diode" | "zener" | "schottky" | "led" | "photodiode" | "varactor" | "tvs_diode" | "bridge_rectifier" | "npn" | "pnp" | "darlington_npn" | "darlington_pnp" | "nmos" | "pmos" | "nmos_depletion" | "jfet_n" | "jfet_p" | "igbt" | "scr" | "triac" | "diac" | "phototransistor" | "optocoupler" | "opamp" | "comparator" | "schmitt_buffer" | "tri_state_buffer" | "instrumentation_amp" | "generic_ic" | "voltage_regulator" | "dc_dc_converter" | "555_timer" | "terminal_block" | "voltage_source" | "current_source" | "ac_source" | "battery" | "vcc" | "ground" | "gnd_signal" | "gnd_chassis" | "gnd_digital" | "switch_spst" | "switch_spdt" | "switch_dpdt" | "push_no" | "push_nc" | "relay_coil" | "relay_no" | "relay_nc" | "motor" | "speaker" | "microphone" | "buzzer" | "ammeter" | "voltmeter" | "wattmeter" | "oscilloscope" | "wire" | "dot" | "label" | "port" | "test_point" | "no_connect" | "antenna";
413
+ type CircuitComponentType = "resistor" | "potentiometer" | "rheostat" | "thermistor_ntc" | "thermistor_ptc" | "ldr" | "varistor" | "fuse" | "fuse_slow" | "capacitor" | "electrolytic_cap" | "variable_cap" | "inductor" | "inductor_iron" | "inductor_ferrite" | "variable_inductor" | "ferrite_bead" | "crystal" | "transformer" | "diode" | "zener" | "schottky" | "led" | "photodiode" | "varactor" | "tvs_diode" | "bridge_rectifier" | "npn" | "pnp" | "darlington_npn" | "darlington_pnp" | "nmos" | "pmos" | "nmos_depletion" | "jfet_n" | "jfet_p" | "igbt" | "scr" | "triac" | "diac" | "phototransistor" | "optocoupler" | "opamp" | "comparator" | "schmitt_buffer" | "tri_state_buffer" | "instrumentation_amp" | "generic_ic" | "voltage_regulator" | "dc_dc_converter" | "555_timer" | "terminal_block" | "voltage_source" | "current_source" | "ac_source" | "battery" | "vcc" | "ground" | "gnd_signal" | "gnd_chassis" | "gnd_digital" | "switch_spst" | "switch_spdt" | "switch_dpdt" | "push_no" | "push_nc" | "relay_coil" | "relay_no" | "relay_nc" | "contactor" | "solenoid_valve" | "thermal_overload" | "disconnect_switch" | "motor" | "speaker" | "microphone" | "buzzer" | "ammeter" | "voltmeter" | "wattmeter" | "oscilloscope" | "wire" | "dot" | "label" | "port" | "test_point" | "no_connect" | "antenna";
414
414
  type CircuitDirection = "right" | "left" | "up" | "down";
415
415
  interface CircuitComponent {
416
416
  id: string;