schematex 0.9.11 → 0.9.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/ai-sdk.cjs +9 -8
- package/dist/ai/ai-sdk.cjs.map +1 -1
- package/dist/ai/ai-sdk.d.cts +3 -3
- package/dist/ai/ai-sdk.d.ts +3 -3
- package/dist/ai/ai-sdk.js +4 -3
- package/dist/ai/ai-sdk.js.map +1 -1
- package/dist/ai/index.cjs +18 -17
- package/dist/ai/index.cjs.map +1 -1
- package/dist/ai/index.d.cts +4 -4
- package/dist/ai/index.d.ts +4 -4
- package/dist/ai/index.js +5 -4
- package/dist/ai/index.js.map +1 -1
- package/dist/{api-DAiP83-P.d.ts → api-C9ufsgIb.d.ts} +2 -2
- package/dist/{api-DecITB-t.d.cts → api-DAUFeETp.d.cts} +2 -2
- package/dist/browser.cjs +10 -9
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +3 -3
- package/dist/browser.d.ts +3 -3
- package/dist/browser.js +4 -3
- package/dist/browser.js.map +1 -1
- package/dist/{chunk-4QBC4475.js → chunk-6KW7XSUR.js} +192 -3
- package/dist/chunk-6KW7XSUR.js.map +1 -0
- package/dist/chunk-IBZKIMT5.cjs +826 -0
- package/dist/chunk-IBZKIMT5.cjs.map +1 -0
- package/dist/{chunk-RU3N57OB.js → chunk-JLLDJCLW.js} +13138 -13136
- package/dist/{chunk-RU3N57OB.js.map → chunk-JLLDJCLW.js.map} +1 -1
- package/dist/{chunk-5YTFNOKY.cjs → chunk-MGMR6V6N.cjs} +13139 -13135
- package/dist/chunk-MGMR6V6N.cjs.map +1 -0
- package/dist/{chunk-YN7EBTWB.cjs → chunk-OGF7QM74.cjs} +2 -2
- package/dist/chunk-OGF7QM74.cjs.map +1 -0
- package/dist/chunk-PGMKMIGM.js +818 -0
- package/dist/chunk-PGMKMIGM.js.map +1 -0
- package/dist/{chunk-WTGABYFK.js → chunk-Q5MQLUOH.js} +2 -2
- package/dist/chunk-Q5MQLUOH.js.map +1 -0
- package/dist/{chunk-6ZTPWE22.cjs → chunk-YLG7S4SM.cjs} +194 -5
- package/dist/chunk-YLG7S4SM.cjs.map +1 -0
- package/dist/{diagnostics-Bps9pzlF.d.cts → diagnostics-DSxLohjY.d.cts} +1 -1
- package/dist/{diagnostics-Bps9pzlF.d.ts → diagnostics-DSxLohjY.d.ts} +1 -1
- package/dist/diagrams/blockdiagram/index.d.cts +1 -1
- package/dist/diagrams/blockdiagram/index.d.ts +1 -1
- package/dist/diagrams/circuit/index.d.cts +1 -1
- package/dist/diagrams/circuit/index.d.ts +1 -1
- package/dist/diagrams/ecomap/index.d.cts +1 -1
- package/dist/diagrams/ecomap/index.d.ts +1 -1
- package/dist/diagrams/entity/index.d.cts +1 -1
- package/dist/diagrams/entity/index.d.ts +1 -1
- package/dist/diagrams/fishbone/index.d.cts +1 -1
- package/dist/diagrams/fishbone/index.d.ts +1 -1
- package/dist/diagrams/flowchart/index.d.cts +2 -2
- package/dist/diagrams/flowchart/index.d.ts +2 -2
- package/dist/diagrams/genogram/index.d.cts +1 -1
- package/dist/diagrams/genogram/index.d.ts +1 -1
- package/dist/diagrams/ladder/index.d.cts +1 -1
- package/dist/diagrams/ladder/index.d.ts +1 -1
- package/dist/diagrams/logic/index.d.cts +1 -1
- package/dist/diagrams/logic/index.d.ts +1 -1
- package/dist/diagrams/orgchart/index.d.cts +1 -1
- package/dist/diagrams/orgchart/index.d.ts +1 -1
- package/dist/diagrams/pedigree/index.d.cts +1 -1
- package/dist/diagrams/pedigree/index.d.ts +1 -1
- package/dist/diagrams/phylo/index.d.cts +1 -1
- package/dist/diagrams/phylo/index.d.ts +1 -1
- package/dist/diagrams/siteplan/index.cjs +38 -0
- package/dist/diagrams/siteplan/index.cjs.map +1 -0
- package/dist/diagrams/siteplan/index.d.cts +122 -0
- package/dist/diagrams/siteplan/index.d.ts +122 -0
- package/dist/diagrams/siteplan/index.js +5 -0
- package/dist/diagrams/siteplan/index.js.map +1 -0
- package/dist/diagrams/sld/index.cjs +7 -7
- package/dist/diagrams/sld/index.d.cts +1 -1
- package/dist/diagrams/sld/index.d.ts +1 -1
- package/dist/diagrams/sld/index.js +1 -1
- package/dist/diagrams/sociogram/index.d.cts +1 -1
- package/dist/diagrams/sociogram/index.d.ts +1 -1
- package/dist/diagrams/timing/index.d.cts +1 -1
- package/dist/diagrams/timing/index.d.ts +1 -1
- package/dist/diagrams/venn/index.d.cts +1 -1
- package/dist/diagrams/venn/index.d.ts +1 -1
- package/dist/{index-fvBAmlv7.d.cts → index-CDDfbChc.d.cts} +1 -1
- package/dist/{index-F6MCisQe.d.ts → index-CZa2pU0T.d.ts} +1 -1
- package/dist/index.cjs +52 -39
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -5
- package/dist/index.d.ts +10 -5
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +4 -3
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +3 -2
- package/dist/react.js.map +1 -1
- package/dist/{tools-vyVK2DHa.d.cts → tools-Bvw6dwIR.d.cts} +2 -2
- package/dist/{tools-CdzIw2Az.d.ts → tools-DtuvE-K4.d.ts} +2 -2
- package/package.json +6 -1
- package/dist/chunk-4QBC4475.js.map +0 -1
- package/dist/chunk-5YTFNOKY.cjs.map +0 -1
- package/dist/chunk-6ZTPWE22.cjs.map +0 -1
- package/dist/chunk-WTGABYFK.js.map +0 -1
- package/dist/chunk-YN7EBTWB.cjs.map +0 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* - Renderer: LayoutResult → SVG string
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
type DiagramType = "genogram" | "ecomap" | "pedigree" | "phylo" | "sociogram" | "timing" | "logic" | "circuit" | "blockdiagram" | "ladder" | "sld" | "entity" | "fishbone" | "venn" | "flowchart" | "mindmap" | "matrix" | "orgchart" | "decisiontree" | "timeline" | "state" | "pid" | "erd" | "breadboard" | "bpmn" | "fbd" | "sfc" | "prisma" | "usecase" | "pert" | "sequence" | "petri" | "network" | "umlclass" | "faulttree" | "bowtie" | "eventtree" | "fmea" | "rbd" | "comparison" | "causalloop" | "markov" | "gitgraph" | "epc" | "idef0" | "threatmodel" | "welding" | "floorplan" | "playbook";
|
|
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" | "umlclass" | "faulttree" | "bowtie" | "eventtree" | "fmea" | "rbd" | "comparison" | "causalloop" | "markov" | "gitgraph" | "epc" | "idef0" | "threatmodel" | "welding" | "floorplan" | "siteplan" | "playbook";
|
|
13
13
|
type GenogramMode = "medical" | "heritage";
|
|
14
14
|
/**
|
|
15
15
|
* Standard legend positions:
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* - Renderer: LayoutResult → SVG string
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
type DiagramType = "genogram" | "ecomap" | "pedigree" | "phylo" | "sociogram" | "timing" | "logic" | "circuit" | "blockdiagram" | "ladder" | "sld" | "entity" | "fishbone" | "venn" | "flowchart" | "mindmap" | "matrix" | "orgchart" | "decisiontree" | "timeline" | "state" | "pid" | "erd" | "breadboard" | "bpmn" | "fbd" | "sfc" | "prisma" | "usecase" | "pert" | "sequence" | "petri" | "network" | "umlclass" | "faulttree" | "bowtie" | "eventtree" | "fmea" | "rbd" | "comparison" | "causalloop" | "markov" | "gitgraph" | "epc" | "idef0" | "threatmodel" | "welding" | "floorplan" | "playbook";
|
|
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" | "umlclass" | "faulttree" | "bowtie" | "eventtree" | "fmea" | "rbd" | "comparison" | "causalloop" | "markov" | "gitgraph" | "epc" | "idef0" | "threatmodel" | "welding" | "floorplan" | "siteplan" | "playbook";
|
|
13
13
|
type GenogramMode = "medical" | "heritage";
|
|
14
14
|
/**
|
|
15
15
|
* Standard legend positions:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as BlockAST, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { B as BlockAST, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.cjs';
|
|
2
2
|
|
|
3
3
|
declare function parseBlockDiagram(text: string): BlockAST;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CircuitAST, S as SchematexDiagnostic, R as RenderConfig, j as CircuitComponent, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { C as CircuitAST, S as SchematexDiagnostic, R as RenderConfig, j as CircuitComponent, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Top-level circuit parser. Detects two DSL modes:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CircuitAST, S as SchematexDiagnostic, R as RenderConfig, j as CircuitComponent, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { C as CircuitAST, S as SchematexDiagnostic, R as RenderConfig, j as CircuitComponent, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Top-level circuit parser. Detects two DSL modes:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.cjs';
|
|
2
2
|
|
|
3
3
|
declare class EcomapParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.js';
|
|
2
2
|
|
|
3
3
|
declare class EcomapParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EntityAST, R as RenderConfig, q as EntityNode, r as EntityEdge, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { E as EntityAST, R as RenderConfig, q as EntityNode, r as EntityEdge, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.cjs';
|
|
2
2
|
|
|
3
3
|
declare function parseEntityDSL(text: string): EntityAST;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EntityAST, R as RenderConfig, q as EntityNode, r as EntityEdge, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { E as EntityAST, R as RenderConfig, q as EntityNode, r as EntityEdge, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.js';
|
|
2
2
|
|
|
3
3
|
declare function parseEntityDSL(text: string): EntityAST;
|
|
4
4
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../diagnostics-
|
|
2
|
-
export { F as FC_CONST, j as flowchart, t as layoutFlowchart, u as parseFlowchart, v as renderFlowchart, w as renderFlowchartAST } from '../../index-
|
|
1
|
+
import '../../diagnostics-DSxLohjY.cjs';
|
|
2
|
+
export { F as FC_CONST, j as flowchart, t as layoutFlowchart, u as parseFlowchart, v as renderFlowchart, w as renderFlowchartAST } from '../../index-CDDfbChc.cjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '../../diagnostics-
|
|
2
|
-
export { F as FC_CONST, j as flowchart, t as layoutFlowchart, u as parseFlowchart, v as renderFlowchart, w as renderFlowchartAST } from '../../index-
|
|
1
|
+
import '../../diagnostics-DSxLohjY.js';
|
|
2
|
+
export { F as FC_CONST, j as flowchart, t as layoutFlowchart, u as parseFlowchart, v as renderFlowchart, w as renderFlowchartAST } from '../../index-CZa2pU0T.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.cjs';
|
|
2
2
|
|
|
3
3
|
declare class ParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.js';
|
|
2
2
|
|
|
3
3
|
declare class ParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as LadderAST, R as RenderConfig, l as LadderRung, m as LadderElement, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { k as LadderAST, R as RenderConfig, l as LadderRung, m as LadderElement, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.cjs';
|
|
2
2
|
|
|
3
3
|
declare function parseLadderDSL(text: string): LadderAST;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as LadderAST, R as RenderConfig, l as LadderRung, m as LadderElement, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { k as LadderAST, R as RenderConfig, l as LadderRung, m as LadderElement, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.js';
|
|
2
2
|
|
|
3
3
|
declare function parseLadderDSL(text: string): LadderAST;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as LogicGateAST, R as RenderConfig, S as SchematexDiagnostic, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { i as LogicGateAST, R as RenderConfig, S as SchematexDiagnostic, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.cjs';
|
|
2
2
|
|
|
3
3
|
declare function parseLogic(text: string): LogicGateAST;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as LogicGateAST, R as RenderConfig, S as SchematexDiagnostic, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { i as LogicGateAST, R as RenderConfig, S as SchematexDiagnostic, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.js';
|
|
2
2
|
|
|
3
3
|
declare function parseLogic(text: string): LogicGateAST;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SchematexDiagnostic, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { S as SchematexDiagnostic, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.cjs';
|
|
2
2
|
|
|
3
3
|
type OrgchartDirection = "TD" | "LR";
|
|
4
4
|
type OrgchartLayoutMode = "tree" | "list";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SchematexDiagnostic, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { S as SchematexDiagnostic, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.js';
|
|
2
2
|
|
|
3
3
|
type OrgchartDirection = "TD" | "LR";
|
|
4
4
|
type OrgchartLayoutMode = "tree" | "list";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.cjs';
|
|
2
2
|
|
|
3
3
|
declare class PedigreeParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { e as DiagramAST, L as LayoutConfig, f as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.js';
|
|
2
2
|
|
|
3
3
|
declare class PedigreeParseError extends Error {
|
|
4
4
|
line: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PhyloTreeAST, g as PhyloLayoutNode, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { P as PhyloTreeAST, g as PhyloLayoutNode, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.cjs';
|
|
2
2
|
|
|
3
3
|
declare class PhyloParseError extends Error {
|
|
4
4
|
constructor(message: string);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PhyloTreeAST, g as PhyloLayoutNode, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { P as PhyloTreeAST, g as PhyloLayoutNode, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.js';
|
|
2
2
|
|
|
3
3
|
declare class PhyloParseError extends Error {
|
|
4
4
|
constructor(message: string);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkIBZKIMT5_cjs = require('../../chunk-IBZKIMT5.cjs');
|
|
4
|
+
require('../../chunk-7OOUU6BL.cjs');
|
|
5
|
+
require('../../chunk-3WNW5Y7P.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "SiteplanParseError", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkIBZKIMT5_cjs.SiteplanParseError; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "formatSiteLength", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkIBZKIMT5_cjs.formatSiteLength; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "layoutSiteplan", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkIBZKIMT5_cjs.layoutSiteplan; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "parseSiteplan", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunkIBZKIMT5_cjs.parseSiteplan; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "renderSiteplan", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkIBZKIMT5_cjs.renderSiteplan; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "renderSiteplanLayout", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunkIBZKIMT5_cjs.renderSiteplanLayout; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "siteplan", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunkIBZKIMT5_cjs.siteplan; }
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=index.cjs.map
|
|
38
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.cjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Site plan / parcel layout — AST and layout types.
|
|
5
|
+
*
|
|
6
|
+
* Scope: presentation-grade property/site sketches for listings, proposals,
|
|
7
|
+
* and early planning. Not survey-grade, CAD, or permit-ready.
|
|
8
|
+
*/
|
|
9
|
+
type SiteplanUnit = "ft" | "m";
|
|
10
|
+
type SiteplanLineRole = "setback" | "easement" | "fence" | "utility" | "frontage" | "dimension" | "boundary";
|
|
11
|
+
type SiteplanPolygonRole = "parcel" | "structure" | "zone" | "landscape" | "parking";
|
|
12
|
+
type SiteplanPathRole = "road" | "driveway" | "walkway" | "trail";
|
|
13
|
+
type SiteplanMarkerKind = "tree" | "car" | "pin" | "entry" | "hydrant" | "well";
|
|
14
|
+
interface Point {
|
|
15
|
+
x: number;
|
|
16
|
+
y: number;
|
|
17
|
+
}
|
|
18
|
+
interface SiteplanPolygon {
|
|
19
|
+
role: SiteplanPolygonRole;
|
|
20
|
+
id: string;
|
|
21
|
+
label?: string;
|
|
22
|
+
points: Point[];
|
|
23
|
+
fill?: string;
|
|
24
|
+
line?: number;
|
|
25
|
+
}
|
|
26
|
+
interface SiteplanPath {
|
|
27
|
+
role: SiteplanPathRole;
|
|
28
|
+
id: string;
|
|
29
|
+
label?: string;
|
|
30
|
+
points: Point[];
|
|
31
|
+
width: number;
|
|
32
|
+
line?: number;
|
|
33
|
+
}
|
|
34
|
+
interface SiteplanLine {
|
|
35
|
+
role: SiteplanLineRole;
|
|
36
|
+
id: string;
|
|
37
|
+
label?: string;
|
|
38
|
+
points: Point[];
|
|
39
|
+
line?: number;
|
|
40
|
+
}
|
|
41
|
+
interface SiteplanMarker {
|
|
42
|
+
kind: SiteplanMarkerKind;
|
|
43
|
+
id: string;
|
|
44
|
+
at: Point;
|
|
45
|
+
size: number;
|
|
46
|
+
label?: string;
|
|
47
|
+
rotate: number;
|
|
48
|
+
line?: number;
|
|
49
|
+
}
|
|
50
|
+
interface SiteplanCallout {
|
|
51
|
+
label: string;
|
|
52
|
+
at: Point;
|
|
53
|
+
to: Point;
|
|
54
|
+
line?: number;
|
|
55
|
+
}
|
|
56
|
+
interface SiteplanDimension {
|
|
57
|
+
label: string;
|
|
58
|
+
from: Point;
|
|
59
|
+
to: Point;
|
|
60
|
+
line?: number;
|
|
61
|
+
}
|
|
62
|
+
interface SiteplanAst {
|
|
63
|
+
type: "siteplan";
|
|
64
|
+
title: string;
|
|
65
|
+
unit: SiteplanUnit;
|
|
66
|
+
north?: number;
|
|
67
|
+
scale?: number;
|
|
68
|
+
legend: boolean;
|
|
69
|
+
polygons: SiteplanPolygon[];
|
|
70
|
+
paths: SiteplanPath[];
|
|
71
|
+
lines: SiteplanLine[];
|
|
72
|
+
markers: SiteplanMarker[];
|
|
73
|
+
callouts: SiteplanCallout[];
|
|
74
|
+
dimensions: SiteplanDimension[];
|
|
75
|
+
}
|
|
76
|
+
type SiteplanLayoutPolygon = SiteplanPolygon;
|
|
77
|
+
type SiteplanLayoutPath = SiteplanPath;
|
|
78
|
+
type SiteplanLayoutLine = SiteplanLine;
|
|
79
|
+
type SiteplanLayoutMarker = SiteplanMarker;
|
|
80
|
+
type SiteplanLayoutCallout = SiteplanCallout;
|
|
81
|
+
type SiteplanLayoutDimension = SiteplanDimension;
|
|
82
|
+
interface SiteplanLegendItem {
|
|
83
|
+
key: string;
|
|
84
|
+
label: string;
|
|
85
|
+
}
|
|
86
|
+
interface SiteplanLayoutResult {
|
|
87
|
+
title: string;
|
|
88
|
+
unit: SiteplanUnit;
|
|
89
|
+
north?: number;
|
|
90
|
+
scale?: number;
|
|
91
|
+
legend: boolean;
|
|
92
|
+
polygons: SiteplanLayoutPolygon[];
|
|
93
|
+
paths: SiteplanLayoutPath[];
|
|
94
|
+
lines: SiteplanLayoutLine[];
|
|
95
|
+
markers: SiteplanLayoutMarker[];
|
|
96
|
+
callouts: SiteplanLayoutCallout[];
|
|
97
|
+
dimensions: SiteplanLayoutDimension[];
|
|
98
|
+
bounds: {
|
|
99
|
+
minX: number;
|
|
100
|
+
minY: number;
|
|
101
|
+
maxX: number;
|
|
102
|
+
maxY: number;
|
|
103
|
+
};
|
|
104
|
+
warnings: string[];
|
|
105
|
+
legendItems: SiteplanLegendItem[];
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
declare class SiteplanParseError extends Error {
|
|
109
|
+
readonly line: number;
|
|
110
|
+
constructor(message: string, line: number);
|
|
111
|
+
}
|
|
112
|
+
declare function parseSiteplan(text: string): SiteplanAst;
|
|
113
|
+
|
|
114
|
+
declare function layoutSiteplan(ast: SiteplanAst): SiteplanLayoutResult;
|
|
115
|
+
declare function formatSiteLength(n: number, unit: "ft" | "m"): string;
|
|
116
|
+
|
|
117
|
+
declare function renderSiteplan(text: string, config?: RenderConfig): string;
|
|
118
|
+
declare function renderSiteplanLayout(lay: SiteplanLayoutResult, config?: RenderConfig): string;
|
|
119
|
+
|
|
120
|
+
declare const siteplan: DiagramPlugin;
|
|
121
|
+
|
|
122
|
+
export { type Point, type SiteplanAst, type SiteplanCallout, type SiteplanDimension, type SiteplanLayoutCallout, type SiteplanLayoutDimension, type SiteplanLayoutLine, type SiteplanLayoutMarker, type SiteplanLayoutPath, type SiteplanLayoutPolygon, type SiteplanLayoutResult, type SiteplanLegendItem, type SiteplanLine, type SiteplanLineRole, type SiteplanMarker, type SiteplanMarkerKind, SiteplanParseError, type SiteplanPath, type SiteplanPathRole, type SiteplanPolygon, type SiteplanPolygonRole, type SiteplanUnit, formatSiteLength, layoutSiteplan, parseSiteplan, renderSiteplan, renderSiteplanLayout, siteplan };
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { R as RenderConfig, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Site plan / parcel layout — AST and layout types.
|
|
5
|
+
*
|
|
6
|
+
* Scope: presentation-grade property/site sketches for listings, proposals,
|
|
7
|
+
* and early planning. Not survey-grade, CAD, or permit-ready.
|
|
8
|
+
*/
|
|
9
|
+
type SiteplanUnit = "ft" | "m";
|
|
10
|
+
type SiteplanLineRole = "setback" | "easement" | "fence" | "utility" | "frontage" | "dimension" | "boundary";
|
|
11
|
+
type SiteplanPolygonRole = "parcel" | "structure" | "zone" | "landscape" | "parking";
|
|
12
|
+
type SiteplanPathRole = "road" | "driveway" | "walkway" | "trail";
|
|
13
|
+
type SiteplanMarkerKind = "tree" | "car" | "pin" | "entry" | "hydrant" | "well";
|
|
14
|
+
interface Point {
|
|
15
|
+
x: number;
|
|
16
|
+
y: number;
|
|
17
|
+
}
|
|
18
|
+
interface SiteplanPolygon {
|
|
19
|
+
role: SiteplanPolygonRole;
|
|
20
|
+
id: string;
|
|
21
|
+
label?: string;
|
|
22
|
+
points: Point[];
|
|
23
|
+
fill?: string;
|
|
24
|
+
line?: number;
|
|
25
|
+
}
|
|
26
|
+
interface SiteplanPath {
|
|
27
|
+
role: SiteplanPathRole;
|
|
28
|
+
id: string;
|
|
29
|
+
label?: string;
|
|
30
|
+
points: Point[];
|
|
31
|
+
width: number;
|
|
32
|
+
line?: number;
|
|
33
|
+
}
|
|
34
|
+
interface SiteplanLine {
|
|
35
|
+
role: SiteplanLineRole;
|
|
36
|
+
id: string;
|
|
37
|
+
label?: string;
|
|
38
|
+
points: Point[];
|
|
39
|
+
line?: number;
|
|
40
|
+
}
|
|
41
|
+
interface SiteplanMarker {
|
|
42
|
+
kind: SiteplanMarkerKind;
|
|
43
|
+
id: string;
|
|
44
|
+
at: Point;
|
|
45
|
+
size: number;
|
|
46
|
+
label?: string;
|
|
47
|
+
rotate: number;
|
|
48
|
+
line?: number;
|
|
49
|
+
}
|
|
50
|
+
interface SiteplanCallout {
|
|
51
|
+
label: string;
|
|
52
|
+
at: Point;
|
|
53
|
+
to: Point;
|
|
54
|
+
line?: number;
|
|
55
|
+
}
|
|
56
|
+
interface SiteplanDimension {
|
|
57
|
+
label: string;
|
|
58
|
+
from: Point;
|
|
59
|
+
to: Point;
|
|
60
|
+
line?: number;
|
|
61
|
+
}
|
|
62
|
+
interface SiteplanAst {
|
|
63
|
+
type: "siteplan";
|
|
64
|
+
title: string;
|
|
65
|
+
unit: SiteplanUnit;
|
|
66
|
+
north?: number;
|
|
67
|
+
scale?: number;
|
|
68
|
+
legend: boolean;
|
|
69
|
+
polygons: SiteplanPolygon[];
|
|
70
|
+
paths: SiteplanPath[];
|
|
71
|
+
lines: SiteplanLine[];
|
|
72
|
+
markers: SiteplanMarker[];
|
|
73
|
+
callouts: SiteplanCallout[];
|
|
74
|
+
dimensions: SiteplanDimension[];
|
|
75
|
+
}
|
|
76
|
+
type SiteplanLayoutPolygon = SiteplanPolygon;
|
|
77
|
+
type SiteplanLayoutPath = SiteplanPath;
|
|
78
|
+
type SiteplanLayoutLine = SiteplanLine;
|
|
79
|
+
type SiteplanLayoutMarker = SiteplanMarker;
|
|
80
|
+
type SiteplanLayoutCallout = SiteplanCallout;
|
|
81
|
+
type SiteplanLayoutDimension = SiteplanDimension;
|
|
82
|
+
interface SiteplanLegendItem {
|
|
83
|
+
key: string;
|
|
84
|
+
label: string;
|
|
85
|
+
}
|
|
86
|
+
interface SiteplanLayoutResult {
|
|
87
|
+
title: string;
|
|
88
|
+
unit: SiteplanUnit;
|
|
89
|
+
north?: number;
|
|
90
|
+
scale?: number;
|
|
91
|
+
legend: boolean;
|
|
92
|
+
polygons: SiteplanLayoutPolygon[];
|
|
93
|
+
paths: SiteplanLayoutPath[];
|
|
94
|
+
lines: SiteplanLayoutLine[];
|
|
95
|
+
markers: SiteplanLayoutMarker[];
|
|
96
|
+
callouts: SiteplanLayoutCallout[];
|
|
97
|
+
dimensions: SiteplanLayoutDimension[];
|
|
98
|
+
bounds: {
|
|
99
|
+
minX: number;
|
|
100
|
+
minY: number;
|
|
101
|
+
maxX: number;
|
|
102
|
+
maxY: number;
|
|
103
|
+
};
|
|
104
|
+
warnings: string[];
|
|
105
|
+
legendItems: SiteplanLegendItem[];
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
declare class SiteplanParseError extends Error {
|
|
109
|
+
readonly line: number;
|
|
110
|
+
constructor(message: string, line: number);
|
|
111
|
+
}
|
|
112
|
+
declare function parseSiteplan(text: string): SiteplanAst;
|
|
113
|
+
|
|
114
|
+
declare function layoutSiteplan(ast: SiteplanAst): SiteplanLayoutResult;
|
|
115
|
+
declare function formatSiteLength(n: number, unit: "ft" | "m"): string;
|
|
116
|
+
|
|
117
|
+
declare function renderSiteplan(text: string, config?: RenderConfig): string;
|
|
118
|
+
declare function renderSiteplanLayout(lay: SiteplanLayoutResult, config?: RenderConfig): string;
|
|
119
|
+
|
|
120
|
+
declare const siteplan: DiagramPlugin;
|
|
121
|
+
|
|
122
|
+
export { type Point, type SiteplanAst, type SiteplanCallout, type SiteplanDimension, type SiteplanLayoutCallout, type SiteplanLayoutDimension, type SiteplanLayoutLine, type SiteplanLayoutMarker, type SiteplanLayoutPath, type SiteplanLayoutPolygon, type SiteplanLayoutResult, type SiteplanLegendItem, type SiteplanLine, type SiteplanLineRole, type SiteplanMarker, type SiteplanMarkerKind, SiteplanParseError, type SiteplanPath, type SiteplanPathRole, type SiteplanPolygon, type SiteplanPolygonRole, type SiteplanUnit, formatSiteLength, layoutSiteplan, parseSiteplan, renderSiteplan, renderSiteplanLayout, siteplan };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { SiteplanParseError, formatSiteLength, layoutSiteplan, parseSiteplan, renderSiteplan, renderSiteplanLayout, siteplan } from '../../chunk-PGMKMIGM.js';
|
|
2
|
+
import '../../chunk-JVNV2T2T.js';
|
|
3
|
+
import '../../chunk-SYYBKDL7.js';
|
|
4
|
+
//# sourceMappingURL=index.js.map
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOGF7QM74_cjs = require('../../chunk-OGF7QM74.cjs');
|
|
4
4
|
require('../../chunk-3KRL2EGN.cjs');
|
|
5
5
|
require('../../chunk-SBB6C4OP.cjs');
|
|
6
6
|
require('../../chunk-7OOUU6BL.cjs');
|
|
@@ -11,27 +11,27 @@ require('../../chunk-3WNW5Y7P.cjs');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "layoutSLD", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkOGF7QM74_cjs.layoutSLD; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "lintSLD", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkOGF7QM74_cjs.lintSLD; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "lintSLDAst", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkOGF7QM74_cjs.lintSLDAst; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "parseSLDDSL", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkOGF7QM74_cjs.parseSLDDSL; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "renderSLD", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkOGF7QM74_cjs.renderSLD; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "sld", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkOGF7QM74_cjs.sld; }
|
|
35
35
|
});
|
|
36
36
|
//# sourceMappingURL=index.cjs.map
|
|
37
37
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SchematexDiagnostic, n as SLDAST, R as RenderConfig, o as SLDNode, p as SLDNodeType, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { S as SchematexDiagnostic, n as SLDAST, R as RenderConfig, o as SLDNode, p as SLDNodeType, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* SLD standard-compatibility lint.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SchematexDiagnostic, n as SLDAST, R as RenderConfig, o as SLDNode, p as SLDNodeType, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { S as SchematexDiagnostic, n as SLDAST, R as RenderConfig, o as SLDNode, p as SLDNodeType, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* SLD standard-compatibility lint.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { layoutSLD, lintSLD, lintSLDAst, parseSLDDSL, renderSLD, sld } from '../../chunk-
|
|
1
|
+
export { layoutSLD, lintSLD, lintSLDAst, parseSLDDSL, renderSLD, sld } from '../../chunk-Q5MQLUOH.js';
|
|
2
2
|
import '../../chunk-2KTQ75LN.js';
|
|
3
3
|
import '../../chunk-PIV2A3HG.js';
|
|
4
4
|
import '../../chunk-JVNV2T2T.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as LegendOverrides, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { h as LegendOverrides, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.cjs';
|
|
2
2
|
|
|
3
3
|
type SociogramLayout = "circular" | "force-directed" | "concentric";
|
|
4
4
|
type EdgeValence = "positive" | "negative" | "neutral";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as LegendOverrides, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { h as LegendOverrides, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.js';
|
|
2
2
|
|
|
3
3
|
type SociogramLayout = "circular" | "force-directed" | "concentric";
|
|
4
4
|
type EdgeValence = "positive" | "negative" | "neutral";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as VennAST, s as VennLayoutResult, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { V as VennAST, s as VennLayoutResult, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Venn / Euler DSL parser (hand-written recursive descent).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as VennAST, s as VennLayoutResult, D as DiagramPlugin } from '../../diagnostics-
|
|
1
|
+
import { V as VennAST, s as VennLayoutResult, D as DiagramPlugin } from '../../diagnostics-DSxLohjY.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Venn / Euler DSL parser (hand-written recursive descent).
|