schematex 0.5.2 → 0.6.1

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 (182) hide show
  1. package/README.md +75 -1
  2. package/dist/ai/ai-sdk.cjs +23 -23
  3. package/dist/ai/ai-sdk.d.cts +4 -4
  4. package/dist/ai/ai-sdk.d.ts +4 -4
  5. package/dist/ai/ai-sdk.js +18 -18
  6. package/dist/ai/index.cjs +35 -27
  7. package/dist/ai/index.d.cts +4 -4
  8. package/dist/ai/index.d.ts +4 -4
  9. package/dist/ai/index.js +18 -18
  10. package/dist/{api-Cr_MxttI.d.ts → api-BEJTXyBA.d.cts} +3 -40
  11. package/dist/{api-C5SECOxZ.d.cts → api-DFrSR3lw.d.ts} +3 -40
  12. package/dist/browser.cjs +24 -24
  13. package/dist/browser.d.cts +3 -3
  14. package/dist/browser.d.ts +3 -3
  15. package/dist/browser.js +18 -18
  16. package/dist/{chunk-N7W5KZK7.cjs → chunk-2L4YXZAZ.cjs} +4 -4
  17. package/dist/{chunk-N7W5KZK7.cjs.map → chunk-2L4YXZAZ.cjs.map} +1 -1
  18. package/dist/{chunk-ZYRCPSBU.js → chunk-3IE7KZY4.js} +4 -4
  19. package/dist/{chunk-ZYRCPSBU.js.map → chunk-3IE7KZY4.js.map} +1 -1
  20. package/dist/{chunk-ZX74KJPM.js → chunk-3VB5AT4R.js} +3 -3
  21. package/dist/{chunk-ZX74KJPM.js.map → chunk-3VB5AT4R.js.map} +1 -1
  22. package/dist/{chunk-S2KJRHDZ.cjs → chunk-4UFR2LB6.cjs} +13 -13
  23. package/dist/{chunk-S2KJRHDZ.cjs.map → chunk-4UFR2LB6.cjs.map} +1 -1
  24. package/dist/{chunk-4QPDZJAL.cjs → chunk-4XR7X7XW.cjs} +11569 -9045
  25. package/dist/chunk-4XR7X7XW.cjs.map +1 -0
  26. package/dist/{chunk-6OSUNBZY.js → chunk-522WB2EH.js} +135 -7
  27. package/dist/chunk-522WB2EH.js.map +1 -0
  28. package/dist/{chunk-QTNPMIO2.cjs → chunk-6JI6FWLZ.cjs} +341 -35
  29. package/dist/chunk-6JI6FWLZ.cjs.map +1 -0
  30. package/dist/{chunk-UFTYX73U.js → chunk-7F76AWOI.js} +339 -35
  31. package/dist/chunk-7F76AWOI.js.map +1 -0
  32. package/dist/{chunk-BW4KGTV7.cjs → chunk-C5C5EF3W.cjs} +4 -4
  33. package/dist/{chunk-BW4KGTV7.cjs.map → chunk-C5C5EF3W.cjs.map} +1 -1
  34. package/dist/{chunk-VJGMEGMR.js → chunk-DOK7LKLO.js} +125 -13
  35. package/dist/chunk-DOK7LKLO.js.map +1 -0
  36. package/dist/{chunk-L3CTXXVZ.js → chunk-FBS3PACU.js} +3 -3
  37. package/dist/{chunk-L3CTXXVZ.js.map → chunk-FBS3PACU.js.map} +1 -1
  38. package/dist/{chunk-QUKVGHN4.cjs → chunk-FKJBXGWP.cjs} +4 -4
  39. package/dist/{chunk-QUKVGHN4.cjs.map → chunk-FKJBXGWP.cjs.map} +1 -1
  40. package/dist/{chunk-SZK376QB.js → chunk-H4MT5TJP.js} +3 -3
  41. package/dist/{chunk-SZK376QB.js.map → chunk-H4MT5TJP.js.map} +1 -1
  42. package/dist/{chunk-3M6T7KB4.js → chunk-HAZALB7U.js} +3 -3
  43. package/dist/{chunk-3M6T7KB4.js.map → chunk-HAZALB7U.js.map} +1 -1
  44. package/dist/{chunk-VFZOPRQP.cjs → chunk-HWVBHU3O.cjs} +5 -5
  45. package/dist/{chunk-VFZOPRQP.cjs.map → chunk-HWVBHU3O.cjs.map} +1 -1
  46. package/dist/{chunk-OK5ZS3LU.js → chunk-I2GQYOZ5.js} +11586 -9069
  47. package/dist/chunk-I2GQYOZ5.js.map +1 -0
  48. package/dist/{chunk-D7EHZFK4.cjs → chunk-L7POWM5B.cjs} +138 -2
  49. package/dist/chunk-L7POWM5B.cjs.map +1 -0
  50. package/dist/{chunk-2VNMKOUO.js → chunk-LRI4RH2N.js} +135 -3
  51. package/dist/chunk-LRI4RH2N.js.map +1 -0
  52. package/dist/{chunk-EPKIJEH7.js → chunk-MFAMNFPA.js} +63 -6
  53. package/dist/chunk-MFAMNFPA.js.map +1 -0
  54. package/dist/{chunk-VDSYMSUY.js → chunk-MVIEIKOI.js} +3 -3
  55. package/dist/{chunk-VDSYMSUY.js.map → chunk-MVIEIKOI.js.map} +1 -1
  56. package/dist/{chunk-ZL5RB4UV.js → chunk-N5B242WY.js} +3 -3
  57. package/dist/{chunk-ZL5RB4UV.js.map → chunk-N5B242WY.js.map} +1 -1
  58. package/dist/{chunk-VKPCR7BG.js → chunk-OTSVMKII.js} +883 -12
  59. package/dist/chunk-OTSVMKII.js.map +1 -0
  60. package/dist/{chunk-YLEVMOK2.cjs → chunk-R66QG3XT.cjs} +5 -4
  61. package/dist/{chunk-YLEVMOK2.cjs.map → chunk-R66QG3XT.cjs.map} +1 -1
  62. package/dist/{chunk-3M6WB62Y.cjs → chunk-R6VX5YTJ.cjs} +139 -7
  63. package/dist/chunk-R6VX5YTJ.cjs.map +1 -0
  64. package/dist/{chunk-I55HO32M.js → chunk-RJMCWT7Z.js} +3 -3
  65. package/dist/{chunk-I55HO32M.js.map → chunk-RJMCWT7Z.js.map} +1 -1
  66. package/dist/{chunk-TZTCIAYW.cjs → chunk-S3RMAXH5.cjs} +137 -25
  67. package/dist/chunk-S3RMAXH5.cjs.map +1 -0
  68. package/dist/{chunk-HK56GQQP.cjs → chunk-SSLNPHCL.cjs} +886 -13
  69. package/dist/chunk-SSLNPHCL.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-VCH7RI5H.js → chunk-UWA5MWCI.js} +4 -4
  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-QMTWG6JL.cjs → chunk-V4RO5KYY.cjs} +6 -4
  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-SUIDD2C5.cjs → chunk-XNCOSVNG.cjs} +63 -6
  83. package/dist/chunk-XNCOSVNG.cjs.map +1 -0
  84. package/dist/{chunk-EGSUMHCS.cjs → chunk-YB4XJY5L.cjs} +12 -12
  85. package/dist/{chunk-EGSUMHCS.cjs.map → chunk-YB4XJY5L.cjs.map} +1 -1
  86. package/dist/{chunk-JHDR56XO.js → chunk-YS6CGUNH.js} +3 -3
  87. package/dist/{chunk-JHDR56XO.js.map → chunk-YS6CGUNH.js.map} +1 -1
  88. package/dist/{types-WTr9W5Ud.d.ts → diagnostics-B-ffSEhl.d.cts} +82 -2
  89. package/dist/{types-WTr9W5Ud.d.cts → diagnostics-B-ffSEhl.d.ts} +82 -2
  90. package/dist/diagrams/blockdiagram/index.cjs +5 -5
  91. package/dist/diagrams/blockdiagram/index.d.cts +1 -1
  92. package/dist/diagrams/blockdiagram/index.d.ts +1 -1
  93. package/dist/diagrams/blockdiagram/index.js +1 -1
  94. package/dist/diagrams/circuit/index.cjs +8 -8
  95. package/dist/diagrams/circuit/index.d.cts +1 -1
  96. package/dist/diagrams/circuit/index.d.ts +1 -1
  97. package/dist/diagrams/circuit/index.js +2 -2
  98. package/dist/diagrams/ecomap/index.cjs +7 -7
  99. package/dist/diagrams/ecomap/index.d.cts +1 -1
  100. package/dist/diagrams/ecomap/index.d.ts +1 -1
  101. package/dist/diagrams/ecomap/index.js +2 -2
  102. package/dist/diagrams/entity/index.cjs +6 -6
  103. package/dist/diagrams/entity/index.d.cts +1 -1
  104. package/dist/diagrams/entity/index.d.ts +1 -1
  105. package/dist/diagrams/entity/index.js +2 -2
  106. package/dist/diagrams/fishbone/index.cjs +8 -8
  107. package/dist/diagrams/fishbone/index.d.cts +1 -1
  108. package/dist/diagrams/fishbone/index.d.ts +1 -1
  109. package/dist/diagrams/fishbone/index.js +2 -2
  110. package/dist/diagrams/flowchart/index.cjs +8 -8
  111. package/dist/diagrams/flowchart/index.d.cts +2 -2
  112. package/dist/diagrams/flowchart/index.d.ts +2 -2
  113. package/dist/diagrams/flowchart/index.js +2 -2
  114. package/dist/diagrams/genogram/index.cjs +9 -9
  115. package/dist/diagrams/genogram/index.d.cts +1 -1
  116. package/dist/diagrams/genogram/index.d.ts +1 -1
  117. package/dist/diagrams/genogram/index.js +2 -2
  118. package/dist/diagrams/ladder/index.cjs +6 -6
  119. package/dist/diagrams/ladder/index.d.cts +1 -1
  120. package/dist/diagrams/ladder/index.d.ts +1 -1
  121. package/dist/diagrams/ladder/index.js +2 -2
  122. package/dist/diagrams/logic/index.cjs +6 -6
  123. package/dist/diagrams/logic/index.d.cts +1 -1
  124. package/dist/diagrams/logic/index.d.ts +1 -1
  125. package/dist/diagrams/logic/index.js +2 -2
  126. package/dist/diagrams/orgchart/index.cjs +7 -7
  127. package/dist/diagrams/orgchart/index.d.cts +1 -1
  128. package/dist/diagrams/orgchart/index.d.ts +1 -1
  129. package/dist/diagrams/orgchart/index.js +2 -2
  130. package/dist/diagrams/pedigree/index.cjs +7 -7
  131. package/dist/diagrams/pedigree/index.d.cts +1 -1
  132. package/dist/diagrams/pedigree/index.d.ts +1 -1
  133. package/dist/diagrams/pedigree/index.js +2 -2
  134. package/dist/diagrams/phylo/index.cjs +7 -7
  135. package/dist/diagrams/phylo/index.d.cts +1 -1
  136. package/dist/diagrams/phylo/index.d.ts +1 -1
  137. package/dist/diagrams/phylo/index.js +2 -2
  138. package/dist/diagrams/sld/index.cjs +14 -6
  139. package/dist/diagrams/sld/index.d.cts +14 -2
  140. package/dist/diagrams/sld/index.d.ts +14 -2
  141. package/dist/diagrams/sld/index.js +2 -2
  142. package/dist/diagrams/sociogram/index.cjs +6 -6
  143. package/dist/diagrams/sociogram/index.d.cts +1 -1
  144. package/dist/diagrams/sociogram/index.d.ts +1 -1
  145. package/dist/diagrams/sociogram/index.js +2 -2
  146. package/dist/diagrams/timing/index.d.cts +1 -1
  147. package/dist/diagrams/timing/index.d.ts +1 -1
  148. package/dist/diagrams/venn/index.cjs +9 -9
  149. package/dist/diagrams/venn/index.d.cts +1 -1
  150. package/dist/diagrams/venn/index.d.ts +1 -1
  151. package/dist/diagrams/venn/index.js +2 -2
  152. package/dist/{index-BD2yDfQM.d.cts → index-DPWdYfNx.d.ts} +60 -2
  153. package/dist/{index-C30zQWZI.d.ts → index-S0njakQ2.d.cts} +60 -2
  154. package/dist/index.cjs +344 -56
  155. package/dist/index.cjs.map +1 -1
  156. package/dist/index.d.cts +38 -4
  157. package/dist/index.d.ts +38 -4
  158. package/dist/index.js +284 -17
  159. package/dist/index.js.map +1 -1
  160. package/dist/react.cjs +18 -18
  161. package/dist/react.d.cts +2 -2
  162. package/dist/react.d.ts +2 -2
  163. package/dist/react.js +17 -17
  164. package/dist/{tools-DlpuE76u.d.cts → tools-CeGGMCs7.d.cts} +12 -4
  165. package/dist/{tools-BHWaJPOl.d.ts → tools-kK_enDwb.d.ts} +12 -4
  166. package/package.json +1 -1
  167. package/dist/chunk-2VNMKOUO.js.map +0 -1
  168. package/dist/chunk-3M6WB62Y.cjs.map +0 -1
  169. package/dist/chunk-4QPDZJAL.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-EPKIJEH7.js.map +0 -1
  173. package/dist/chunk-HK56GQQP.cjs.map +0 -1
  174. package/dist/chunk-OK5ZS3LU.js.map +0 -1
  175. package/dist/chunk-QMTWG6JL.cjs.map +0 -1
  176. package/dist/chunk-QTNPMIO2.cjs.map +0 -1
  177. package/dist/chunk-SUIDD2C5.cjs.map +0 -1
  178. package/dist/chunk-TZTCIAYW.cjs.map +0 -1
  179. package/dist/chunk-UFTYX73U.js.map +0 -1
  180. package/dist/chunk-VCH7RI5H.js.map +0 -1
  181. package/dist/chunk-VJGMEGMR.js.map +0 -1
  182. package/dist/chunk-VKPCR7BG.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { R as RenderConfig, D as DiagramPlugin } from '../../types-WTr9W5Ud.js';
1
+ import { R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-B-ffSEhl.js';
2
2
 
3
3
  type OrgchartDirection = "TD" | "LR";
4
4
  type OrgchartLayoutMode = "tree" | "list";
@@ -1,5 +1,5 @@
1
- export { OrgchartParseError, layoutOrgchart, orgchart, parseOrgchart, renderOrgchart } from '../../chunk-I55HO32M.js';
2
- import '../../chunk-2VNMKOUO.js';
1
+ export { OrgchartParseError, layoutOrgchart, orgchart, parseOrgchart, renderOrgchart } from '../../chunk-RJMCWT7Z.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 chunkEGSUMHCS_cjs = require('../../chunk-EGSUMHCS.cjs');
3
+ var chunkYB4XJY5L_cjs = require('../../chunk-YB4XJY5L.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, "PedigreeParseError", {
12
12
  enumerable: true,
13
- get: function () { return chunkEGSUMHCS_cjs.PedigreeParseError; }
13
+ get: function () { return chunkYB4XJY5L_cjs.PedigreeParseError; }
14
14
  });
15
15
  Object.defineProperty(exports, "layoutPedigree", {
16
16
  enumerable: true,
17
- get: function () { return chunkEGSUMHCS_cjs.layoutPedigree; }
17
+ get: function () { return chunkYB4XJY5L_cjs.layoutPedigree; }
18
18
  });
19
19
  Object.defineProperty(exports, "parsePedigree", {
20
20
  enumerable: true,
21
- get: function () { return chunkEGSUMHCS_cjs.parsePedigree; }
21
+ get: function () { return chunkYB4XJY5L_cjs.parsePedigree; }
22
22
  });
23
23
  Object.defineProperty(exports, "pedigree", {
24
24
  enumerable: true,
25
- get: function () { return chunkEGSUMHCS_cjs.pedigree; }
25
+ get: function () { return chunkYB4XJY5L_cjs.pedigree; }
26
26
  });
27
27
  Object.defineProperty(exports, "renderPedigree", {
28
28
  enumerable: true,
29
- get: function () { return chunkEGSUMHCS_cjs.renderPedigree; }
29
+ get: function () { return chunkYB4XJY5L_cjs.renderPedigree; }
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-WTr9W5Ud.cjs';
1
+ import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-B-ffSEhl.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-WTr9W5Ud.js';
1
+ import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-B-ffSEhl.js';
2
2
 
3
3
  declare class PedigreeParseError extends Error {
4
4
  line: number;
@@ -1,7 +1,7 @@
1
- export { PedigreeParseError, layoutPedigree, parsePedigree, pedigree, renderPedigree } from '../../chunk-ZL5RB4UV.js';
1
+ export { PedigreeParseError, layoutPedigree, parsePedigree, pedigree, renderPedigree } from '../../chunk-N5B242WY.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 chunkS2KJRHDZ_cjs = require('../../chunk-S2KJRHDZ.cjs');
4
- require('../../chunk-D7EHZFK4.cjs');
3
+ var chunk4UFR2LB6_cjs = require('../../chunk-4UFR2LB6.cjs');
4
+ require('../../chunk-L7POWM5B.cjs');
5
5
  require('../../chunk-NAGUZFXX.cjs');
6
6
  require('../../chunk-3WNW5Y7P.cjs');
7
7
 
@@ -9,23 +9,23 @@ require('../../chunk-3WNW5Y7P.cjs');
9
9
 
10
10
  Object.defineProperty(exports, "PhyloParseError", {
11
11
  enumerable: true,
12
- get: function () { return chunkS2KJRHDZ_cjs.PhyloParseError; }
12
+ get: function () { return chunk4UFR2LB6_cjs.PhyloParseError; }
13
13
  });
14
14
  Object.defineProperty(exports, "layoutPhylo", {
15
15
  enumerable: true,
16
- get: function () { return chunkS2KJRHDZ_cjs.layoutPhylo; }
16
+ get: function () { return chunk4UFR2LB6_cjs.layoutPhylo; }
17
17
  });
18
18
  Object.defineProperty(exports, "parsePhylo", {
19
19
  enumerable: true,
20
- get: function () { return chunkS2KJRHDZ_cjs.parsePhylo; }
20
+ get: function () { return chunk4UFR2LB6_cjs.parsePhylo; }
21
21
  });
22
22
  Object.defineProperty(exports, "phylo", {
23
23
  enumerable: true,
24
- get: function () { return chunkS2KJRHDZ_cjs.phylo; }
24
+ get: function () { return chunk4UFR2LB6_cjs.phylo; }
25
25
  });
26
26
  Object.defineProperty(exports, "renderPhylo", {
27
27
  enumerable: true,
28
- get: function () { return chunkS2KJRHDZ_cjs.renderPhylo; }
28
+ get: function () { return chunk4UFR2LB6_cjs.renderPhylo; }
29
29
  });
30
30
  //# sourceMappingURL=index.cjs.map
31
31
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,4 @@
1
- import { P as PhyloTreeAST, c as PhyloLayoutNode, D as DiagramPlugin } from '../../types-WTr9W5Ud.cjs';
1
+ import { P as PhyloTreeAST, g as PhyloLayoutNode, D as DiagramPlugin } from '../../diagnostics-B-ffSEhl.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-WTr9W5Ud.js';
1
+ import { P as PhyloTreeAST, g as PhyloLayoutNode, D as DiagramPlugin } from '../../diagnostics-B-ffSEhl.js';
2
2
 
3
3
  declare class PhyloParseError extends Error {
4
4
  constructor(message: string);
@@ -1,5 +1,5 @@
1
- export { PhyloParseError, layoutPhylo, parsePhylo, phylo, renderPhylo } from '../../chunk-VDSYMSUY.js';
2
- import '../../chunk-2VNMKOUO.js';
1
+ export { PhyloParseError, layoutPhylo, parsePhylo, phylo, renderPhylo } from '../../chunk-MVIEIKOI.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,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunk3M6WB62Y_cjs = require('../../chunk-3M6WB62Y.cjs');
3
+ var chunkR6VX5YTJ_cjs = require('../../chunk-R6VX5YTJ.cjs');
4
4
  require('../../chunk-SBB6C4OP.cjs');
5
5
  require('../../chunk-3KRL2EGN.cjs');
6
- require('../../chunk-D7EHZFK4.cjs');
6
+ require('../../chunk-L7POWM5B.cjs');
7
7
  require('../../chunk-NAGUZFXX.cjs');
8
8
  require('../../chunk-3WNW5Y7P.cjs');
9
9
 
@@ -11,19 +11,27 @@ require('../../chunk-3WNW5Y7P.cjs');
11
11
 
12
12
  Object.defineProperty(exports, "layoutSLD", {
13
13
  enumerable: true,
14
- get: function () { return chunk3M6WB62Y_cjs.layoutSLD; }
14
+ get: function () { return chunkR6VX5YTJ_cjs.layoutSLD; }
15
+ });
16
+ Object.defineProperty(exports, "lintSLD", {
17
+ enumerable: true,
18
+ get: function () { return chunkR6VX5YTJ_cjs.lintSLD; }
19
+ });
20
+ Object.defineProperty(exports, "lintSLDAst", {
21
+ enumerable: true,
22
+ get: function () { return chunkR6VX5YTJ_cjs.lintSLDAst; }
15
23
  });
16
24
  Object.defineProperty(exports, "parseSLDDSL", {
17
25
  enumerable: true,
18
- get: function () { return chunk3M6WB62Y_cjs.parseSLDDSL; }
26
+ get: function () { return chunkR6VX5YTJ_cjs.parseSLDDSL; }
19
27
  });
20
28
  Object.defineProperty(exports, "renderSLD", {
21
29
  enumerable: true,
22
- get: function () { return chunk3M6WB62Y_cjs.renderSLD; }
30
+ get: function () { return chunkR6VX5YTJ_cjs.renderSLD; }
23
31
  });
24
32
  Object.defineProperty(exports, "sld", {
25
33
  enumerable: true,
26
- get: function () { return chunk3M6WB62Y_cjs.sld; }
34
+ get: function () { return chunkR6VX5YTJ_cjs.sld; }
27
35
  });
28
36
  //# sourceMappingURL=index.cjs.map
29
37
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,16 @@
1
- import { S as SLDAST, R as RenderConfig, j as SLDNode, k as SLDNodeType, D as DiagramPlugin } from '../../types-WTr9W5Ud.cjs';
1
+ import { S as SchematexDiagnostic, n as SLDAST, R as RenderConfig, o as SLDNode, p as SLDNodeType, D as DiagramPlugin } from '../../diagnostics-B-ffSEhl.cjs';
2
+
3
+ /**
4
+ * SLD standard-compatibility lint.
5
+ *
6
+ * When an explicit `[standard: …]` is selected, flag devices that have no
7
+ * symbol in that standard's published catalog so an engineer doesn't
8
+ * unknowingly submit a glyph their jurisdiction won't accept. The engine does
9
+ * not silently substitute a foreign symbol — it renders the closest available
10
+ * form and warns.
11
+ */
12
+ declare function lintSLD(text: string): SchematexDiagnostic[];
13
+ declare function lintSLDAst(ast: SLDAST): SchematexDiagnostic[];
2
14
 
3
15
  declare function parseSLDDSL(text: string): SLDAST;
4
16
 
@@ -55,4 +67,4 @@ declare function layoutSLD(ast: SLDAST): SLDLayoutResult;
55
67
 
56
68
  declare const sld: DiagramPlugin;
57
69
 
58
- export { layoutSLD, parseSLDDSL, renderSLD, sld };
70
+ export { layoutSLD, lintSLD, lintSLDAst, parseSLDDSL, renderSLD, sld };
@@ -1,4 +1,16 @@
1
- import { S as SLDAST, R as RenderConfig, j as SLDNode, k as SLDNodeType, D as DiagramPlugin } from '../../types-WTr9W5Ud.js';
1
+ import { S as SchematexDiagnostic, n as SLDAST, R as RenderConfig, o as SLDNode, p as SLDNodeType, D as DiagramPlugin } from '../../diagnostics-B-ffSEhl.js';
2
+
3
+ /**
4
+ * SLD standard-compatibility lint.
5
+ *
6
+ * When an explicit `[standard: …]` is selected, flag devices that have no
7
+ * symbol in that standard's published catalog so an engineer doesn't
8
+ * unknowingly submit a glyph their jurisdiction won't accept. The engine does
9
+ * not silently substitute a foreign symbol — it renders the closest available
10
+ * form and warns.
11
+ */
12
+ declare function lintSLD(text: string): SchematexDiagnostic[];
13
+ declare function lintSLDAst(ast: SLDAST): SchematexDiagnostic[];
2
14
 
3
15
  declare function parseSLDDSL(text: string): SLDAST;
4
16
 
@@ -55,4 +67,4 @@ declare function layoutSLD(ast: SLDAST): SLDLayoutResult;
55
67
 
56
68
  declare const sld: DiagramPlugin;
57
69
 
58
- export { layoutSLD, parseSLDDSL, renderSLD, sld };
70
+ export { layoutSLD, lintSLD, lintSLDAst, parseSLDDSL, renderSLD, sld };
@@ -1,7 +1,7 @@
1
- export { layoutSLD, parseSLDDSL, renderSLD, sld } from '../../chunk-6OSUNBZY.js';
1
+ export { layoutSLD, lintSLD, lintSLDAst, parseSLDDSL, renderSLD, sld } from '../../chunk-522WB2EH.js';
2
2
  import '../../chunk-PIV2A3HG.js';
3
3
  import '../../chunk-2KTQ75LN.js';
4
- import '../../chunk-2VNMKOUO.js';
4
+ import '../../chunk-LRI4RH2N.js';
5
5
  import '../../chunk-5IKOLUWK.js';
6
6
  import '../../chunk-SYYBKDL7.js';
7
7
  //# sourceMappingURL=index.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkUUBNQV2T_cjs = require('../../chunk-UUBNQV2T.cjs');
3
+ var chunkWQDIZH2Z_cjs = require('../../chunk-WQDIZH2Z.cjs');
4
4
  require('../../chunk-5UCXMYE7.cjs');
5
- require('../../chunk-D7EHZFK4.cjs');
5
+ require('../../chunk-L7POWM5B.cjs');
6
6
  require('../../chunk-NAGUZFXX.cjs');
7
7
  require('../../chunk-3WNW5Y7P.cjs');
8
8
 
@@ -10,19 +10,19 @@ require('../../chunk-3WNW5Y7P.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "layoutSociogram", {
12
12
  enumerable: true,
13
- get: function () { return chunkUUBNQV2T_cjs.layoutSociogram; }
13
+ get: function () { return chunkWQDIZH2Z_cjs.layoutSociogram; }
14
14
  });
15
15
  Object.defineProperty(exports, "parseSociogram", {
16
16
  enumerable: true,
17
- get: function () { return chunkUUBNQV2T_cjs.parseSociogram; }
17
+ get: function () { return chunkWQDIZH2Z_cjs.parseSociogram; }
18
18
  });
19
19
  Object.defineProperty(exports, "renderSociogram", {
20
20
  enumerable: true,
21
- get: function () { return chunkUUBNQV2T_cjs.renderSociogram; }
21
+ get: function () { return chunkWQDIZH2Z_cjs.renderSociogram; }
22
22
  });
23
23
  Object.defineProperty(exports, "sociogram", {
24
24
  enumerable: true,
25
- get: function () { return chunkUUBNQV2T_cjs.sociogram; }
25
+ get: function () { return chunkWQDIZH2Z_cjs.sociogram; }
26
26
  });
27
27
  //# sourceMappingURL=index.cjs.map
28
28
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,4 @@
1
- import { d as LegendOverrides, D as DiagramPlugin } from '../../types-WTr9W5Ud.cjs';
1
+ import { h as LegendOverrides, D as DiagramPlugin } from '../../diagnostics-B-ffSEhl.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-WTr9W5Ud.js';
1
+ import { h as LegendOverrides, D as DiagramPlugin } from '../../diagnostics-B-ffSEhl.js';
2
2
 
3
3
  type SociogramLayout = "circular" | "force-directed" | "concentric";
4
4
  type EdgeValence = "positive" | "negative" | "neutral";
@@ -1,6 +1,6 @@
1
- export { layoutSociogram, parseSociogram, renderSociogram, sociogram } from '../../chunk-ZX74KJPM.js';
1
+ export { layoutSociogram, parseSociogram, renderSociogram, sociogram } from '../../chunk-3VB5AT4R.js';
2
2
  import '../../chunk-FO7BLCEW.js';
3
- import '../../chunk-2VNMKOUO.js';
3
+ import '../../chunk-LRI4RH2N.js';
4
4
  import '../../chunk-5IKOLUWK.js';
5
5
  import '../../chunk-SYYBKDL7.js';
6
6
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { T as TimingAST, D as DiagramPlugin } from '../../types-WTr9W5Ud.cjs';
1
+ import { T as TimingAST, D as DiagramPlugin } from '../../diagnostics-B-ffSEhl.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-WTr9W5Ud.js';
1
+ import { T as TimingAST, D as DiagramPlugin } from '../../diagnostics-B-ffSEhl.js';
2
2
 
3
3
  declare function parseTiming(text: string): TimingAST;
4
4
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkBW4KGTV7_cjs = require('../../chunk-BW4KGTV7.cjs');
4
- require('../../chunk-D7EHZFK4.cjs');
3
+ var chunkC5C5EF3W_cjs = require('../../chunk-C5C5EF3W.cjs');
4
+ require('../../chunk-L7POWM5B.cjs');
5
5
  require('../../chunk-NAGUZFXX.cjs');
6
6
  require('../../chunk-3WNW5Y7P.cjs');
7
7
 
@@ -9,31 +9,31 @@ require('../../chunk-3WNW5Y7P.cjs');
9
9
 
10
10
  Object.defineProperty(exports, "VennParseError", {
11
11
  enumerable: true,
12
- get: function () { return chunkBW4KGTV7_cjs.VennParseError; }
12
+ get: function () { return chunkC5C5EF3W_cjs.VennParseError; }
13
13
  });
14
14
  Object.defineProperty(exports, "layoutVenn", {
15
15
  enumerable: true,
16
- get: function () { return chunkBW4KGTV7_cjs.layoutVenn; }
16
+ get: function () { return chunkC5C5EF3W_cjs.layoutVenn; }
17
17
  });
18
18
  Object.defineProperty(exports, "parseVennDSL", {
19
19
  enumerable: true,
20
- get: function () { return chunkBW4KGTV7_cjs.parseVennDSL; }
20
+ get: function () { return chunkC5C5EF3W_cjs.parseVennDSL; }
21
21
  });
22
22
  Object.defineProperty(exports, "renderVenn", {
23
23
  enumerable: true,
24
- get: function () { return chunkBW4KGTV7_cjs.renderVenn; }
24
+ get: function () { return chunkC5C5EF3W_cjs.renderVenn; }
25
25
  });
26
26
  Object.defineProperty(exports, "renderVennAST", {
27
27
  enumerable: true,
28
- get: function () { return chunkBW4KGTV7_cjs.renderVennAST; }
28
+ get: function () { return chunkC5C5EF3W_cjs.renderVennAST; }
29
29
  });
30
30
  Object.defineProperty(exports, "renderVennLayout", {
31
31
  enumerable: true,
32
- get: function () { return chunkBW4KGTV7_cjs.renderVennLayout; }
32
+ get: function () { return chunkC5C5EF3W_cjs.renderVennLayout; }
33
33
  });
34
34
  Object.defineProperty(exports, "venn", {
35
35
  enumerable: true,
36
- get: function () { return chunkBW4KGTV7_cjs.venn; }
36
+ get: function () { return chunkC5C5EF3W_cjs.venn; }
37
37
  });
38
38
  //# sourceMappingURL=index.cjs.map
39
39
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,4 @@
1
- import { V as VennAST, n as VennLayoutResult, D as DiagramPlugin } from '../../types-WTr9W5Ud.cjs';
1
+ import { V as VennAST, s as VennLayoutResult, D as DiagramPlugin } from '../../diagnostics-B-ffSEhl.cjs';
2
2
 
3
3
  /**
4
4
  * Venn / Euler DSL parser (hand-written recursive descent).
@@ -1,4 +1,4 @@
1
- import { V as VennAST, n as VennLayoutResult, D as DiagramPlugin } from '../../types-WTr9W5Ud.js';
1
+ import { V as VennAST, s as VennLayoutResult, D as DiagramPlugin } from '../../diagnostics-B-ffSEhl.js';
2
2
 
3
3
  /**
4
4
  * Venn / Euler DSL parser (hand-written recursive descent).
@@ -1,5 +1,5 @@
1
- export { VennParseError, layoutVenn, parseVennDSL, renderVenn, renderVennAST, renderVennLayout, venn } from '../../chunk-L3CTXXVZ.js';
2
- import '../../chunk-2VNMKOUO.js';
1
+ export { VennParseError, layoutVenn, parseVennDSL, renderVenn, renderVennAST, renderVennLayout, venn } from '../../chunk-FBS3PACU.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,4 +1,4 @@
1
- import { o as FlowchartAST, p as FlowchartLayoutResult, D as DiagramPlugin } from './types-WTr9W5Ud.cjs';
1
+ import { t as FlowchartAST, u as FlowchartLayoutResult, D as DiagramPlugin } from './diagnostics-B-ffSEhl.js';
2
2
 
3
3
  /**
4
4
  * Flowchart DSL parser.
@@ -178,6 +178,64 @@ declare const PERSON_TOKENS: Record<ThemeName, PersonTokens>;
178
178
  declare const BIOLOGY_TOKENS: Record<ThemeName, BiologyTokens>;
179
179
  declare const VENN_TOKENS: Record<ThemeName, VennTokens>;
180
180
  declare function resolveTimelineTheme(name: string): ResolvedTheme<TimelineTokens>;
181
+ /**
182
+ * Tokens for Petri nets (place/transition nets). Petri net is a CS/maths
183
+ * formalism, not an IEC/IEEE compliance drawing — so unlike IndustrialTokens it
184
+ * gets a tasteful colour theme in `default`. The house rule (see
185
+ * 34-PETRINET-STANDARD §6): body in neutral strokes; green (`positive`) reserved
186
+ * for "enabled", red (`negative`) reserved for "inhibitor / dead", blue
187
+ * (`accent`) only for weight/rate annotations. `monochrome` reproduces the
188
+ * Murata-1989 textbook look faithfully — colour falls back to shape there.
189
+ */
190
+ interface PetriTokens {
191
+ placeFill: string;
192
+ placeStroke: string;
193
+ /** Immediate transition: solid bar — the "ink" colour. */
194
+ transitionBarFill: string;
195
+ /** Timed transition: hollow box interior. */
196
+ transitionBoxFill: string;
197
+ transitionStroke: string;
198
+ /** Marking dot colour. */
199
+ tokenFill: string;
200
+ /** Enabled (fireable) transition highlight. */
201
+ enabledStroke: string;
202
+ enabledFill: string;
203
+ /** Dead / disabled transition. */
204
+ deadStroke: string;
205
+ /** Inhibitor + reset arcs. */
206
+ inhibitorStroke: string;
207
+ arcStroke: string;
208
+ weightLabel: string;
209
+ /** Coloured-token (CPN) palette. */
210
+ tokenPalette: readonly string[];
211
+ }
212
+ declare const PETRI_TOKENS: Record<ThemeName, PetriTokens>;
213
+ declare function resolvePetriTheme(name: string): ResolvedTheme<PetriTokens>;
214
+ interface NetworkTokens {
215
+ deviceFill: string;
216
+ deviceStroke: string;
217
+ deviceAccent: string;
218
+ cloudFill: string;
219
+ cloudStroke: string;
220
+ label: string;
221
+ subLabel: string;
222
+ linkCopper: string;
223
+ linkFiber: string;
224
+ linkWireless: string;
225
+ linkSerial: string;
226
+ linkPoe: string;
227
+ linkVpn: string;
228
+ linkLag: string;
229
+ linkLabel: string;
230
+ siteStroke: string;
231
+ subnetStroke: string;
232
+ subnetFill: string;
233
+ zoneStroke: string;
234
+ vlanPalette: readonly string[];
235
+ warn: string;
236
+ }
237
+ declare const NETWORK_TOKENS: Record<ThemeName, NetworkTokens>;
238
+ declare function resolveNetworkTheme(name: string): ResolvedTheme<NetworkTokens>;
181
239
  declare function resolveBaseTheme(name: string): BaseTheme;
182
240
  declare function resolvePersonTheme(name: string): ResolvedTheme<PersonTokens>;
183
241
  declare function resolveBiologyTheme(name: string): ResolvedTheme<BiologyTokens>;
@@ -204,4 +262,4 @@ declare function renderFlowchart(text: string, themeName?: ThemeName): string;
204
262
 
205
263
  declare const flowchart: DiagramPlugin;
206
264
 
207
- export { BASE_THEMES as B, FC_CONST as F, PERSON_TOKENS as P, type ResolvedTheme as R, type ThemeName as T, VENN_TOKENS as V, BIOLOGY_TOKENS as a, type BaseTheme as b, type BiologyTokens as c, type PersonTokens as d, type TimelineTokens as e, type VennTokens as f, flowchart as g, resolveBiologyTheme as h, resolveFishboneTheme as i, resolveGenogramTheme as j, resolvePersonTheme as k, resolveTimelineTheme as l, resolveVennTheme as m, layoutFlowchart as n, renderFlowchart as o, parseFlowchart as p, renderFlowchartAST as q, resolveBaseTheme as r };
265
+ export { BASE_THEMES as B, FC_CONST as F, NETWORK_TOKENS as N, PERSON_TOKENS as P, type ResolvedTheme as R, type ThemeName as T, VENN_TOKENS as V, BIOLOGY_TOKENS as a, type BaseTheme as b, type BiologyTokens as c, type NetworkTokens as d, PETRI_TOKENS as e, type PersonTokens as f, type PetriTokens as g, type TimelineTokens as h, type VennTokens as i, flowchart as j, resolveBiologyTheme as k, resolveFishboneTheme as l, resolveGenogramTheme as m, resolveNetworkTheme as n, resolvePersonTheme as o, resolvePetriTheme as p, resolveTimelineTheme as q, resolveBaseTheme as r, resolveVennTheme as s, layoutFlowchart as t, parseFlowchart as u, renderFlowchart as v, renderFlowchartAST as w };
@@ -1,4 +1,4 @@
1
- import { o as FlowchartAST, p as FlowchartLayoutResult, D as DiagramPlugin } from './types-WTr9W5Ud.js';
1
+ import { t as FlowchartAST, u as FlowchartLayoutResult, D as DiagramPlugin } from './diagnostics-B-ffSEhl.cjs';
2
2
 
3
3
  /**
4
4
  * Flowchart DSL parser.
@@ -178,6 +178,64 @@ declare const PERSON_TOKENS: Record<ThemeName, PersonTokens>;
178
178
  declare const BIOLOGY_TOKENS: Record<ThemeName, BiologyTokens>;
179
179
  declare const VENN_TOKENS: Record<ThemeName, VennTokens>;
180
180
  declare function resolveTimelineTheme(name: string): ResolvedTheme<TimelineTokens>;
181
+ /**
182
+ * Tokens for Petri nets (place/transition nets). Petri net is a CS/maths
183
+ * formalism, not an IEC/IEEE compliance drawing — so unlike IndustrialTokens it
184
+ * gets a tasteful colour theme in `default`. The house rule (see
185
+ * 34-PETRINET-STANDARD §6): body in neutral strokes; green (`positive`) reserved
186
+ * for "enabled", red (`negative`) reserved for "inhibitor / dead", blue
187
+ * (`accent`) only for weight/rate annotations. `monochrome` reproduces the
188
+ * Murata-1989 textbook look faithfully — colour falls back to shape there.
189
+ */
190
+ interface PetriTokens {
191
+ placeFill: string;
192
+ placeStroke: string;
193
+ /** Immediate transition: solid bar — the "ink" colour. */
194
+ transitionBarFill: string;
195
+ /** Timed transition: hollow box interior. */
196
+ transitionBoxFill: string;
197
+ transitionStroke: string;
198
+ /** Marking dot colour. */
199
+ tokenFill: string;
200
+ /** Enabled (fireable) transition highlight. */
201
+ enabledStroke: string;
202
+ enabledFill: string;
203
+ /** Dead / disabled transition. */
204
+ deadStroke: string;
205
+ /** Inhibitor + reset arcs. */
206
+ inhibitorStroke: string;
207
+ arcStroke: string;
208
+ weightLabel: string;
209
+ /** Coloured-token (CPN) palette. */
210
+ tokenPalette: readonly string[];
211
+ }
212
+ declare const PETRI_TOKENS: Record<ThemeName, PetriTokens>;
213
+ declare function resolvePetriTheme(name: string): ResolvedTheme<PetriTokens>;
214
+ interface NetworkTokens {
215
+ deviceFill: string;
216
+ deviceStroke: string;
217
+ deviceAccent: string;
218
+ cloudFill: string;
219
+ cloudStroke: string;
220
+ label: string;
221
+ subLabel: string;
222
+ linkCopper: string;
223
+ linkFiber: string;
224
+ linkWireless: string;
225
+ linkSerial: string;
226
+ linkPoe: string;
227
+ linkVpn: string;
228
+ linkLag: string;
229
+ linkLabel: string;
230
+ siteStroke: string;
231
+ subnetStroke: string;
232
+ subnetFill: string;
233
+ zoneStroke: string;
234
+ vlanPalette: readonly string[];
235
+ warn: string;
236
+ }
237
+ declare const NETWORK_TOKENS: Record<ThemeName, NetworkTokens>;
238
+ declare function resolveNetworkTheme(name: string): ResolvedTheme<NetworkTokens>;
181
239
  declare function resolveBaseTheme(name: string): BaseTheme;
182
240
  declare function resolvePersonTheme(name: string): ResolvedTheme<PersonTokens>;
183
241
  declare function resolveBiologyTheme(name: string): ResolvedTheme<BiologyTokens>;
@@ -204,4 +262,4 @@ declare function renderFlowchart(text: string, themeName?: ThemeName): string;
204
262
 
205
263
  declare const flowchart: DiagramPlugin;
206
264
 
207
- export { BASE_THEMES as B, FC_CONST as F, PERSON_TOKENS as P, type ResolvedTheme as R, type ThemeName as T, VENN_TOKENS as V, BIOLOGY_TOKENS as a, type BaseTheme as b, type BiologyTokens as c, type PersonTokens as d, type TimelineTokens as e, type VennTokens as f, flowchart as g, resolveBiologyTheme as h, resolveFishboneTheme as i, resolveGenogramTheme as j, resolvePersonTheme as k, resolveTimelineTheme as l, resolveVennTheme as m, layoutFlowchart as n, renderFlowchart as o, parseFlowchart as p, renderFlowchartAST as q, resolveBaseTheme as r };
265
+ export { BASE_THEMES as B, FC_CONST as F, NETWORK_TOKENS as N, PERSON_TOKENS as P, type ResolvedTheme as R, type ThemeName as T, VENN_TOKENS as V, BIOLOGY_TOKENS as a, type BaseTheme as b, type BiologyTokens as c, type NetworkTokens as d, PETRI_TOKENS as e, type PersonTokens as f, type PetriTokens as g, type TimelineTokens as h, type VennTokens as i, flowchart as j, resolveBiologyTheme as k, resolveFishboneTheme as l, resolveGenogramTheme as m, resolveNetworkTheme as n, resolvePersonTheme as o, resolvePetriTheme as p, resolveTimelineTheme as q, resolveBaseTheme as r, resolveVennTheme as s, layoutFlowchart as t, parseFlowchart as u, renderFlowchart as v, renderFlowchartAST as w };