compasso 0.4.1 → 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.
- package/README.md +86 -5
- package/dist/{chunk-WJYYBGZW.js → chunk-2NDET6O5.js} +3 -3
- package/dist/{chunk-WJYYBGZW.js.map → chunk-2NDET6O5.js.map} +1 -1
- package/dist/{chunk-LR7BXUWM.js → chunk-3RGYLVTN.js} +3 -3
- package/dist/{chunk-LR7BXUWM.js.map → chunk-3RGYLVTN.js.map} +1 -1
- package/dist/chunk-BM7UJBK5.js +680 -0
- package/dist/chunk-BM7UJBK5.js.map +1 -0
- package/dist/chunk-DVLWT565.js +372 -0
- package/dist/chunk-DVLWT565.js.map +1 -0
- package/dist/{chunk-IPE7JZO5.js → chunk-JBDA7E2O.js} +3 -3
- package/dist/{chunk-IPE7JZO5.js.map → chunk-JBDA7E2O.js.map} +1 -1
- package/dist/chunk-MIJTBYX2.js +982 -0
- package/dist/chunk-MIJTBYX2.js.map +1 -0
- package/dist/{chunk-PGUMLTIM.js → chunk-PJHLWSGD.js} +3 -3
- package/dist/{chunk-PGUMLTIM.js.map → chunk-PJHLWSGD.js.map} +1 -1
- package/dist/{chunk-M4WA6ME7.js → chunk-RDH4XHA2.js} +3 -3
- package/dist/{chunk-M4WA6ME7.js.map → chunk-RDH4XHA2.js.map} +1 -1
- package/dist/{chunk-TAE2UB7D.js → chunk-WEHUSHVI.js} +4 -40
- package/dist/chunk-WEHUSHVI.js.map +1 -0
- package/dist/{chunk-FYBABYC7.js → chunk-Z66YUOUM.js} +3 -3
- package/dist/{chunk-FYBABYC7.js.map → chunk-Z66YUOUM.js.map} +1 -1
- package/dist/core/index.cjs +217 -0
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +79 -3
- package/dist/core/index.d.ts +79 -3
- package/dist/core/index.js +1 -1
- package/dist/ecomap/index.js +2 -2
- package/dist/fault-tree/index.d.cts +2 -2
- package/dist/fault-tree/index.d.ts +2 -2
- package/dist/fault-tree/index.js +2 -2
- package/dist/fishbone/index.js +2 -2
- package/dist/genogram/index.d.cts +2 -2
- package/dist/genogram/index.d.ts +2 -2
- package/dist/genogram/index.js +2 -2
- package/dist/geometry-P-XGqGe7.d.cts +8 -0
- package/dist/geometry-P-XGqGe7.d.ts +8 -0
- package/dist/grid-BMgUSly1.d.cts +79 -0
- package/dist/grid-BMgUSly1.d.ts +79 -0
- package/dist/index.cjs +2263 -380
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -3
- package/dist/index.d.ts +10 -3
- package/dist/index.js +10 -8
- package/dist/labels-Br8yjc3C.d.cts +29 -0
- package/dist/labels-Br8yjc3C.d.ts +29 -0
- package/dist/labels-D1v1RWZd.d.cts +97 -0
- package/dist/labels-D1v1RWZd.d.ts +97 -0
- package/dist/layered-DmZluAqe.d.cts +72 -0
- package/dist/layered-DmZluAqe.d.ts +72 -0
- package/dist/locales/pt-br.cjs +53 -0
- package/dist/locales/pt-br.cjs.map +1 -1
- package/dist/locales/pt-br.d.cts +7 -1
- package/dist/locales/pt-br.d.ts +7 -1
- package/dist/locales/pt-br.js +50 -1
- package/dist/locales/pt-br.js.map +1 -1
- package/dist/org-chart/index.cjs +38 -36
- package/dist/org-chart/index.cjs.map +1 -1
- package/dist/org-chart/index.d.cts +5 -31
- package/dist/org-chart/index.d.ts +5 -31
- package/dist/org-chart/index.js +2 -2
- package/dist/pedigree/index.d.cts +2 -2
- package/dist/pedigree/index.d.ts +2 -2
- package/dist/pedigree/index.js +2 -2
- package/dist/phylo/index.d.cts +2 -2
- package/dist/phylo/index.d.ts +2 -2
- package/dist/phylo/index.js +2 -2
- package/dist/prisma/index.cjs +882 -0
- package/dist/prisma/index.cjs.map +1 -0
- package/dist/prisma/index.d.cts +174 -0
- package/dist/prisma/index.d.ts +174 -0
- package/dist/prisma/index.js +4 -0
- package/dist/prisma/index.js.map +1 -0
- package/dist/{text-DuO_PwYw.d.cts → text-DDVzpwPZ.d.cts} +1 -8
- package/dist/{text-DuO_PwYw.d.ts → text-DDVzpwPZ.d.ts} +1 -8
- package/dist/uml/index.cjs +1214 -0
- package/dist/uml/index.cjs.map +1 -0
- package/dist/uml/index.d.cts +189 -0
- package/dist/uml/index.d.ts +189 -0
- package/dist/uml/index.js +4 -0
- package/dist/uml/index.js.map +1 -0
- package/package.json +28 -2
- package/dist/chunk-SD4NTRBM.js +0 -171
- package/dist/chunk-SD4NTRBM.js.map +0 -1
- package/dist/chunk-TAE2UB7D.js.map +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { e as OrgChartInput, d as OrgBoxStyle, g as OrgChartTitleLabels, f as OrgChartSvgLabels } from '../labels-B0aOMbHy.cjs';
|
|
2
2
|
export { O as ORG_CHART_SVG_LABELS_EN, a as ORG_CHART_TITLE_LABELS_EN, b as ORG_REPORT_KINDS, c as ORG_VACANCIES, h as OrgPosition, i as OrgReport, j as OrgReportKind, k as OrgVacancy } from '../labels-B0aOMbHy.cjs';
|
|
3
|
-
import { P as Point } from '../
|
|
4
|
-
export {
|
|
3
|
+
import { P as Point } from '../geometry-P-XGqGe7.cjs';
|
|
4
|
+
export { P as PackGaps, c as PackNode, d as PackResult, p as packSubtree } from '../layered-DmZluAqe.cjs';
|
|
5
|
+
export { e as estimateTextWidth } from '../text-DDVzpwPZ.cjs';
|
|
5
6
|
|
|
6
7
|
/** Stable machine-readable issue codes (kebab-case; part of the public contract). */
|
|
7
8
|
type OrgChartIssueCode = "duplicate-id" | "unknown-manager" | "unknown-report" | "self-report" | "multiple-managers" | "assistant-has-reports" | "too-many-matrix-edges" | "cycle";
|
|
@@ -100,34 +101,7 @@ interface OrgChartLayoutOptions {
|
|
|
100
101
|
/** Locale pack for box/element <title>s — English default; see locale packs. */
|
|
101
102
|
titleLabels?: OrgChartTitleLabels;
|
|
102
103
|
}
|
|
103
|
-
|
|
104
|
-
interface PackNode {
|
|
105
|
-
ownHalfL: number;
|
|
106
|
-
ownHalfR: number;
|
|
107
|
-
/** One entry per child, in placement order; empty = leaf. */
|
|
108
|
-
children: {
|
|
109
|
-
halfL: number;
|
|
110
|
-
halfR: number;
|
|
111
|
-
}[];
|
|
112
|
-
}
|
|
113
|
-
interface PackGaps {
|
|
114
|
-
siblingGap: number;
|
|
115
|
-
}
|
|
116
|
-
interface PackResult {
|
|
117
|
-
/** Subtree half-extents (cover the ENTIRE subtree). */
|
|
118
|
-
halfL: number;
|
|
119
|
-
halfR: number;
|
|
120
|
-
/** Center offset of each child relative to this node's center (parallel to children). */
|
|
121
|
-
offsets: number[];
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Span-packs a node's children into disjoint horizontal intervals (the fault-tree `pack`
|
|
125
|
-
* transposed top-down). Children c1..cn: x1 = 0; x_{i+1} = x_i + halfR_i + siblingGap +
|
|
126
|
-
* halfL_{i+1}. Parent axis a = (x1 + xn)/2 — centered over its line-report block. The
|
|
127
|
-
* returned offsets are each child's center MINUS the parent axis. Subtree halfL/halfR
|
|
128
|
-
* extend ownHalf* to cover the children block. Pure + deterministic.
|
|
129
|
-
*/
|
|
130
|
-
declare function packSubtree(node: PackNode, gaps: PackGaps): PackResult;
|
|
104
|
+
|
|
131
105
|
/**
|
|
132
106
|
* Deterministic, overlap-proof org-chart layout (pure function of the inputs). Validates
|
|
133
107
|
* first and THROWS OrgChartValidationError on a structurally invalid chart — never
|
|
@@ -182,4 +156,4 @@ interface OrgChartRenderResult {
|
|
|
182
156
|
*/
|
|
183
157
|
declare function orgChartSvg(input: OrgChartInput, opts?: OrgChartRenderOptions): OrgChartRenderResult;
|
|
184
158
|
|
|
185
|
-
export { ORG_ASSIST_ID_BASE, ORG_BUS_ID_BASE, ORG_DOTTED_ID_BASE, ORG_DROP_ID_BASE, ORG_LABEL_FONT, ORG_LABEL_LINE_H, ORG_MAX_MATRIX_EDGES_PER_NODE, ORG_STEM_ID_BASE, ORG_TITLE_FONT, OrgBoxStyle, OrgChartInput, type OrgChartIssue, type OrgChartIssueCode, type OrgChartLayout, type OrgChartLayoutOptions, type OrgChartRenderOptions, type OrgChartRenderResult, OrgChartSvgLabels, type OrgChartSvgOptions, OrgChartTitleLabels, OrgChartValidationError, type OrgElement, type OrgElementKind, type OrgNode,
|
|
159
|
+
export { ORG_ASSIST_ID_BASE, ORG_BUS_ID_BASE, ORG_DOTTED_ID_BASE, ORG_DROP_ID_BASE, ORG_LABEL_FONT, ORG_LABEL_LINE_H, ORG_MAX_MATRIX_EDGES_PER_NODE, ORG_STEM_ID_BASE, ORG_TITLE_FONT, OrgBoxStyle, OrgChartInput, type OrgChartIssue, type OrgChartIssueCode, type OrgChartLayout, type OrgChartLayoutOptions, type OrgChartRenderOptions, type OrgChartRenderResult, OrgChartSvgLabels, type OrgChartSvgOptions, OrgChartTitleLabels, OrgChartValidationError, type OrgElement, type OrgElementKind, type OrgNode, Point, computeOrgChartLayout, orgChartIssues, orgChartLayoutSvg, orgChartSvg, validateOrgChart };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { e as OrgChartInput, d as OrgBoxStyle, g as OrgChartTitleLabels, f as OrgChartSvgLabels } from '../labels-B0aOMbHy.js';
|
|
2
2
|
export { O as ORG_CHART_SVG_LABELS_EN, a as ORG_CHART_TITLE_LABELS_EN, b as ORG_REPORT_KINDS, c as ORG_VACANCIES, h as OrgPosition, i as OrgReport, j as OrgReportKind, k as OrgVacancy } from '../labels-B0aOMbHy.js';
|
|
3
|
-
import { P as Point } from '../
|
|
4
|
-
export {
|
|
3
|
+
import { P as Point } from '../geometry-P-XGqGe7.js';
|
|
4
|
+
export { P as PackGaps, c as PackNode, d as PackResult, p as packSubtree } from '../layered-DmZluAqe.js';
|
|
5
|
+
export { e as estimateTextWidth } from '../text-DDVzpwPZ.js';
|
|
5
6
|
|
|
6
7
|
/** Stable machine-readable issue codes (kebab-case; part of the public contract). */
|
|
7
8
|
type OrgChartIssueCode = "duplicate-id" | "unknown-manager" | "unknown-report" | "self-report" | "multiple-managers" | "assistant-has-reports" | "too-many-matrix-edges" | "cycle";
|
|
@@ -100,34 +101,7 @@ interface OrgChartLayoutOptions {
|
|
|
100
101
|
/** Locale pack for box/element <title>s — English default; see locale packs. */
|
|
101
102
|
titleLabels?: OrgChartTitleLabels;
|
|
102
103
|
}
|
|
103
|
-
|
|
104
|
-
interface PackNode {
|
|
105
|
-
ownHalfL: number;
|
|
106
|
-
ownHalfR: number;
|
|
107
|
-
/** One entry per child, in placement order; empty = leaf. */
|
|
108
|
-
children: {
|
|
109
|
-
halfL: number;
|
|
110
|
-
halfR: number;
|
|
111
|
-
}[];
|
|
112
|
-
}
|
|
113
|
-
interface PackGaps {
|
|
114
|
-
siblingGap: number;
|
|
115
|
-
}
|
|
116
|
-
interface PackResult {
|
|
117
|
-
/** Subtree half-extents (cover the ENTIRE subtree). */
|
|
118
|
-
halfL: number;
|
|
119
|
-
halfR: number;
|
|
120
|
-
/** Center offset of each child relative to this node's center (parallel to children). */
|
|
121
|
-
offsets: number[];
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Span-packs a node's children into disjoint horizontal intervals (the fault-tree `pack`
|
|
125
|
-
* transposed top-down). Children c1..cn: x1 = 0; x_{i+1} = x_i + halfR_i + siblingGap +
|
|
126
|
-
* halfL_{i+1}. Parent axis a = (x1 + xn)/2 — centered over its line-report block. The
|
|
127
|
-
* returned offsets are each child's center MINUS the parent axis. Subtree halfL/halfR
|
|
128
|
-
* extend ownHalf* to cover the children block. Pure + deterministic.
|
|
129
|
-
*/
|
|
130
|
-
declare function packSubtree(node: PackNode, gaps: PackGaps): PackResult;
|
|
104
|
+
|
|
131
105
|
/**
|
|
132
106
|
* Deterministic, overlap-proof org-chart layout (pure function of the inputs). Validates
|
|
133
107
|
* first and THROWS OrgChartValidationError on a structurally invalid chart — never
|
|
@@ -182,4 +156,4 @@ interface OrgChartRenderResult {
|
|
|
182
156
|
*/
|
|
183
157
|
declare function orgChartSvg(input: OrgChartInput, opts?: OrgChartRenderOptions): OrgChartRenderResult;
|
|
184
158
|
|
|
185
|
-
export { ORG_ASSIST_ID_BASE, ORG_BUS_ID_BASE, ORG_DOTTED_ID_BASE, ORG_DROP_ID_BASE, ORG_LABEL_FONT, ORG_LABEL_LINE_H, ORG_MAX_MATRIX_EDGES_PER_NODE, ORG_STEM_ID_BASE, ORG_TITLE_FONT, OrgBoxStyle, OrgChartInput, type OrgChartIssue, type OrgChartIssueCode, type OrgChartLayout, type OrgChartLayoutOptions, type OrgChartRenderOptions, type OrgChartRenderResult, OrgChartSvgLabels, type OrgChartSvgOptions, OrgChartTitleLabels, OrgChartValidationError, type OrgElement, type OrgElementKind, type OrgNode,
|
|
159
|
+
export { ORG_ASSIST_ID_BASE, ORG_BUS_ID_BASE, ORG_DOTTED_ID_BASE, ORG_DROP_ID_BASE, ORG_LABEL_FONT, ORG_LABEL_LINE_H, ORG_MAX_MATRIX_EDGES_PER_NODE, ORG_STEM_ID_BASE, ORG_TITLE_FONT, OrgBoxStyle, OrgChartInput, type OrgChartIssue, type OrgChartIssueCode, type OrgChartLayout, type OrgChartLayoutOptions, type OrgChartRenderOptions, type OrgChartRenderResult, OrgChartSvgLabels, type OrgChartSvgOptions, OrgChartTitleLabels, OrgChartValidationError, type OrgElement, type OrgElementKind, type OrgNode, Point, computeOrgChartLayout, orgChartIssues, orgChartLayoutSvg, orgChartSvg, validateOrgChart };
|
package/dist/org-chart/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ORG_ASSIST_ID_BASE, ORG_BUS_ID_BASE, ORG_CHART_SVG_LABELS_EN, ORG_CHART_TITLE_LABELS_EN, ORG_DOTTED_ID_BASE, ORG_DROP_ID_BASE, ORG_LABEL_FONT, ORG_LABEL_LINE_H, ORG_MAX_MATRIX_EDGES_PER_NODE, ORG_REPORT_KINDS, ORG_STEM_ID_BASE, ORG_TITLE_FONT, ORG_VACANCIES, OrgChartValidationError, computeOrgChartLayout, orgChartIssues, orgChartLayoutSvg, orgChartSvg,
|
|
2
|
-
export { estimateTextWidth } from '../chunk-
|
|
1
|
+
export { ORG_ASSIST_ID_BASE, ORG_BUS_ID_BASE, ORG_CHART_SVG_LABELS_EN, ORG_CHART_TITLE_LABELS_EN, ORG_DOTTED_ID_BASE, ORG_DROP_ID_BASE, ORG_LABEL_FONT, ORG_LABEL_LINE_H, ORG_MAX_MATRIX_EDGES_PER_NODE, ORG_REPORT_KINDS, ORG_STEM_ID_BASE, ORG_TITLE_FONT, ORG_VACANCIES, OrgChartValidationError, computeOrgChartLayout, orgChartIssues, orgChartLayoutSvg, orgChartSvg, validateOrgChart } from '../chunk-WEHUSHVI.js';
|
|
2
|
+
export { estimateTextWidth, packSubtree } from '../chunk-DVLWT565.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as PedigreeInput, d as PedigreeRole, Z as Zygosity, f as PedigreeTitleLabels, e as PedigreeSvgLabels } from '../labels-DhQe7I8m.cjs';
|
|
2
2
|
export { C as Condition, I as Individual, L as LIFE_STATUSES, a as LifeStatus, M as Mating, P as PEDIGREE_SVG_LABELS_EN, b as PEDIGREE_TITLE_LABELS_EN, S as Sibship, T as TwinGroup } from '../labels-DhQe7I8m.cjs';
|
|
3
|
-
import { P as Point } from '../
|
|
4
|
-
export { e as estimateTextWidth } from '../text-DuO_PwYw.cjs';
|
|
3
|
+
import { P as Point } from '../geometry-P-XGqGe7.cjs';
|
|
5
4
|
import { N as NodeShape } from '../types-jE2fdM1t.cjs';
|
|
6
5
|
export { b as PersonSex } from '../types-jE2fdM1t.cjs';
|
|
6
|
+
export { e as estimateTextWidth } from '../text-DDVzpwPZ.cjs';
|
|
7
7
|
|
|
8
8
|
/** Stable machine-readable issue codes (kebab-case; part of the public contract). */
|
|
9
9
|
type PedigreeIssueCode = "duplicate-id" | "unknown-partner" | "self-mating" | "unknown-sibship-mating" | "unknown-child" | "child-of-two-sibships" | "twin-not-in-sibship" | "twin-group-too-small" | "twin-group-not-contiguous" | "generation-not-integer" | "unknown-condition" | "too-many-conditions" | "generation-inversion";
|
package/dist/pedigree/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as PedigreeInput, d as PedigreeRole, Z as Zygosity, f as PedigreeTitleLabels, e as PedigreeSvgLabels } from '../labels-CuLbFyrz.js';
|
|
2
2
|
export { C as Condition, I as Individual, L as LIFE_STATUSES, a as LifeStatus, M as Mating, P as PEDIGREE_SVG_LABELS_EN, b as PEDIGREE_TITLE_LABELS_EN, S as Sibship, T as TwinGroup } from '../labels-CuLbFyrz.js';
|
|
3
|
-
import { P as Point } from '../
|
|
4
|
-
export { e as estimateTextWidth } from '../text-DuO_PwYw.js';
|
|
3
|
+
import { P as Point } from '../geometry-P-XGqGe7.js';
|
|
5
4
|
import { N as NodeShape } from '../types-jE2fdM1t.js';
|
|
6
5
|
export { b as PersonSex } from '../types-jE2fdM1t.js';
|
|
6
|
+
export { e as estimateTextWidth } from '../text-DDVzpwPZ.js';
|
|
7
7
|
|
|
8
8
|
/** Stable machine-readable issue codes (kebab-case; part of the public contract). */
|
|
9
9
|
type PedigreeIssueCode = "duplicate-id" | "unknown-partner" | "self-mating" | "unknown-sibship-mating" | "unknown-child" | "child-of-two-sibships" | "twin-not-in-sibship" | "twin-group-too-small" | "twin-group-not-contiguous" | "generation-not-integer" | "unknown-condition" | "too-many-conditions" | "generation-inversion";
|
package/dist/pedigree/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { LIFE_STATUSES, MAX_CONDITIONS_PER_INDIVIDUAL, PEDIGREE_SVG_LABELS_EN, PEDIGREE_TITLE_LABELS_EN, PED_ADDRESS_FONT, PED_CONDITION_FILLS, PED_DESCENT_ID_BASE, PED_GLYPH, PED_LABEL_FONT, PED_LABEL_GAP, PED_LABEL_LINE_H, PED_MATING_ID_BASE, PED_RISER_ID_BASE, PED_SIBBAR_ID_BASE, PED_TWINBAR_ID_BASE, PedigreeValidationError, computePedigreeLayout, pedigreeIssues, pedigreeLayoutSvg, pedigreeSvg, validatePedigree } from '../chunk-
|
|
2
|
-
export { estimateTextWidth } from '../chunk-
|
|
1
|
+
export { LIFE_STATUSES, MAX_CONDITIONS_PER_INDIVIDUAL, PEDIGREE_SVG_LABELS_EN, PEDIGREE_TITLE_LABELS_EN, PED_ADDRESS_FONT, PED_CONDITION_FILLS, PED_DESCENT_ID_BASE, PED_GLYPH, PED_LABEL_FONT, PED_LABEL_GAP, PED_LABEL_LINE_H, PED_MATING_ID_BASE, PED_RISER_ID_BASE, PED_SIBBAR_ID_BASE, PED_TWINBAR_ID_BASE, PedigreeValidationError, computePedigreeLayout, pedigreeIssues, pedigreeLayoutSvg, pedigreeSvg, validatePedigree } from '../chunk-JBDA7E2O.js';
|
|
2
|
+
export { estimateTextWidth } from '../chunk-DVLWT565.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/phylo/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as PhyloInput, d as PhyloMode, g as PhyloTitleLabels, f as PhyloSvgLabels } from '../labels-iZjijjtK.cjs';
|
|
2
2
|
export { P as PHYLO_SVG_LABELS_EN, a as PHYLO_TITLE_LABELS_EN, b as PhyloEdge, e as PhyloNode } from '../labels-iZjijjtK.cjs';
|
|
3
|
-
import { P as Point } from '../
|
|
4
|
-
export { e as estimateTextWidth } from '../text-
|
|
3
|
+
import { P as Point } from '../geometry-P-XGqGe7.cjs';
|
|
4
|
+
export { e as estimateTextWidth } from '../text-DDVzpwPZ.cjs';
|
|
5
5
|
|
|
6
6
|
/** Stable machine-readable issue codes (kebab-case; part of the public contract). */
|
|
7
7
|
type PhyloIssueCode = "duplicate-id" | "unknown-endpoint" | "unknown-root" | "multiple-parents" | "cycle" | "disconnected-node" | "tip-with-children" | "negative-length";
|
package/dist/phylo/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as PhyloInput, d as PhyloMode, g as PhyloTitleLabels, f as PhyloSvgLabels } from '../labels-iZjijjtK.js';
|
|
2
2
|
export { P as PHYLO_SVG_LABELS_EN, a as PHYLO_TITLE_LABELS_EN, b as PhyloEdge, e as PhyloNode } from '../labels-iZjijjtK.js';
|
|
3
|
-
import { P as Point } from '../
|
|
4
|
-
export { e as estimateTextWidth } from '../text-
|
|
3
|
+
import { P as Point } from '../geometry-P-XGqGe7.js';
|
|
4
|
+
export { e as estimateTextWidth } from '../text-DDVzpwPZ.js';
|
|
5
5
|
|
|
6
6
|
/** Stable machine-readable issue codes (kebab-case; part of the public contract). */
|
|
7
7
|
type PhyloIssueCode = "duplicate-id" | "unknown-endpoint" | "unknown-root" | "multiple-parents" | "cycle" | "disconnected-node" | "tip-with-children" | "negative-length";
|
package/dist/phylo/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { PHYLO_BRANCH_ID_BASE, PHYLO_CLADEBAR_ID_BASE, PHYLO_EXTENSION_ID_BASE, PHYLO_LABEL_FONT, PHYLO_LABEL_GAP, PHYLO_ROOTSTUB_ID_BASE, PHYLO_ROW_SLOT, PHYLO_SCALEBAR_ID, PHYLO_SUPPORT_FONT, PHYLO_SVG_LABELS_EN, PHYLO_TITLE_LABELS_EN, PhyloValidationError, computePhyloLayout, niceScaleStep, phyloIssues, phyloLayoutSvg, phyloSvg, validatePhylo } from '../chunk-
|
|
2
|
-
export { estimateTextWidth } from '../chunk-
|
|
1
|
+
export { PHYLO_BRANCH_ID_BASE, PHYLO_CLADEBAR_ID_BASE, PHYLO_EXTENSION_ID_BASE, PHYLO_LABEL_FONT, PHYLO_LABEL_GAP, PHYLO_ROOTSTUB_ID_BASE, PHYLO_ROW_SLOT, PHYLO_SCALEBAR_ID, PHYLO_SUPPORT_FONT, PHYLO_SVG_LABELS_EN, PHYLO_TITLE_LABELS_EN, PhyloValidationError, computePhyloLayout, niceScaleStep, phyloIssues, phyloLayoutSvg, phyloSvg, validatePhylo } from '../chunk-PJHLWSGD.js';
|
|
2
|
+
export { estimateTextWidth } from '../chunk-DVLWT565.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|