compasso 0.4.0 → 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 +115 -5
- package/dist/{chunk-ZBDABVIO.js → chunk-2NDET6O5.js} +3 -3
- package/dist/{chunk-ZBDABVIO.js.map → chunk-2NDET6O5.js.map} +1 -1
- package/dist/{chunk-Q6DVTCXD.js → chunk-3RGYLVTN.js} +18 -6
- package/dist/chunk-3RGYLVTN.js.map +1 -0
- 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-F47C6ZEB.js → chunk-JBDA7E2O.js} +3 -3
- package/dist/{chunk-F47C6ZEB.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-JP4N42AY.js → chunk-PJHLWSGD.js} +3 -3
- package/dist/{chunk-JP4N42AY.js.map → chunk-PJHLWSGD.js.map} +1 -1
- package/dist/{chunk-LRHHUJFZ.js → chunk-RDH4XHA2.js} +3 -3
- package/dist/{chunk-LRHHUJFZ.js.map → chunk-RDH4XHA2.js.map} +1 -1
- package/dist/{chunk-UJVU7B44.js → chunk-WEHUSHVI.js} +31 -51
- package/dist/chunk-WEHUSHVI.js.map +1 -0
- package/dist/{chunk-RWPGGWO5.js → chunk-Z66YUOUM.js} +34 -10
- package/dist/chunk-Z66YUOUM.js.map +1 -0
- package/dist/core/index.cjs +247 -0
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +94 -2
- package/dist/core/index.d.ts +94 -2
- package/dist/core/index.js +1 -1
- package/dist/ecomap/index.cjs +34 -11
- package/dist/ecomap/index.cjs.map +1 -1
- package/dist/ecomap/index.d.cts +12 -0
- package/dist/ecomap/index.d.ts +12 -0
- 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.cjs +57 -7
- package/dist/genogram/index.cjs.map +1 -1
- package/dist/genogram/index.d.cts +22 -6
- package/dist/genogram/index.d.ts +22 -6
- 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 +2360 -395
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -7
- package/dist/index.d.ts +14 -7
- package/dist/index.js +10 -8
- package/dist/{kinship-DqEklrDN.d.ts → kinship-BF90HyyS.d.ts} +1 -1
- package/dist/{kinship-Dy_ijjJV.d.cts → kinship-BOUss5cT.d.cts} +1 -1
- package/dist/{labels-RtFw9tX1.d.cts → labels-B0aOMbHy.d.cts} +12 -0
- package/dist/{labels-RtFw9tX1.d.ts → labels-B0aOMbHy.d.ts} +12 -0
- package/dist/labels-Br8yjc3C.d.cts +29 -0
- package/dist/labels-Br8yjc3C.d.ts +29 -0
- package/dist/{labels-DNqRkWuI.d.ts → labels-CuLbFyrz.d.ts} +1 -1
- package/dist/labels-D1v1RWZd.d.cts +97 -0
- package/dist/labels-D1v1RWZd.d.ts +97 -0
- package/dist/{labels-CBQ_3Ec9.d.cts → labels-DhQe7I8m.d.cts} +1 -1
- 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 +11 -5
- package/dist/locales/pt-br.d.ts +11 -5
- package/dist/locales/pt-br.js +50 -1
- package/dist/locales/pt-br.js.map +1 -1
- package/dist/org-chart/index.cjs +138 -94
- package/dist/org-chart/index.cjs.map +1 -1
- package/dist/org-chart/index.d.cts +24 -33
- package/dist/org-chart/index.d.ts +24 -33
- package/dist/org-chart/index.js +2 -2
- package/dist/pedigree/index.d.cts +6 -6
- package/dist/pedigree/index.d.ts +6 -6
- 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/{types-BnMG7TCd.d.cts → types-jE2fdM1t.d.cts} +8 -0
- package/dist/{types-BnMG7TCd.d.ts → types-jE2fdM1t.d.ts} +8 -0
- 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-O3BT2O42.js +0 -145
- package/dist/chunk-O3BT2O42.js.map +0 -1
- package/dist/chunk-Q6DVTCXD.js.map +0 -1
- package/dist/chunk-RWPGGWO5.js.map +0 -1
- package/dist/chunk-UJVU7B44.js.map +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { e as OrgChartInput, d as OrgBoxStyle, g as OrgChartTitleLabels, f as OrgChartSvgLabels } from '../labels-
|
|
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-
|
|
3
|
-
import { P as Point } from '../
|
|
4
|
-
export {
|
|
1
|
+
import { e as OrgChartInput, d as OrgBoxStyle, g as OrgChartTitleLabels, f as OrgChartSvgLabels } from '../labels-B0aOMbHy.cjs';
|
|
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 '../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";
|
|
@@ -69,6 +70,8 @@ interface OrgNode {
|
|
|
69
70
|
depth: number;
|
|
70
71
|
/** Verbatim <title> text. */
|
|
71
72
|
title: string;
|
|
73
|
+
/** True when the caller declared this position annotated. Drives the dot marker in svg.ts. */
|
|
74
|
+
annotated: boolean;
|
|
72
75
|
}
|
|
73
76
|
interface OrgElement {
|
|
74
77
|
/** Namespaced id (ORG_*_ID_BASE + managerId / reportId / report.id). */
|
|
@@ -80,6 +83,9 @@ interface OrgElement {
|
|
|
80
83
|
dashed: boolean;
|
|
81
84
|
/** Verbatim <title> text (woven from the title-label pack). */
|
|
82
85
|
title: string;
|
|
86
|
+
/** True when the source OrgReport was declared annotated. Drives the tick marker in svg.ts.
|
|
87
|
+
* stem/bus: not 1:1 with a report — annotated:false by design (documented choice). */
|
|
88
|
+
annotated: boolean;
|
|
83
89
|
}
|
|
84
90
|
interface OrgChartLayout {
|
|
85
91
|
width: number;
|
|
@@ -95,34 +101,7 @@ interface OrgChartLayoutOptions {
|
|
|
95
101
|
/** Locale pack for box/element <title>s — English default; see locale packs. */
|
|
96
102
|
titleLabels?: OrgChartTitleLabels;
|
|
97
103
|
}
|
|
98
|
-
|
|
99
|
-
interface PackNode {
|
|
100
|
-
ownHalfL: number;
|
|
101
|
-
ownHalfR: number;
|
|
102
|
-
/** One entry per child, in placement order; empty = leaf. */
|
|
103
|
-
children: {
|
|
104
|
-
halfL: number;
|
|
105
|
-
halfR: number;
|
|
106
|
-
}[];
|
|
107
|
-
}
|
|
108
|
-
interface PackGaps {
|
|
109
|
-
siblingGap: number;
|
|
110
|
-
}
|
|
111
|
-
interface PackResult {
|
|
112
|
-
/** Subtree half-extents (cover the ENTIRE subtree). */
|
|
113
|
-
halfL: number;
|
|
114
|
-
halfR: number;
|
|
115
|
-
/** Center offset of each child relative to this node's center (parallel to children). */
|
|
116
|
-
offsets: number[];
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Span-packs a node's children into disjoint horizontal intervals (the fault-tree `pack`
|
|
120
|
-
* transposed top-down). Children c1..cn: x1 = 0; x_{i+1} = x_i + halfR_i + siblingGap +
|
|
121
|
-
* halfL_{i+1}. Parent axis a = (x1 + xn)/2 — centered over its line-report block. The
|
|
122
|
-
* returned offsets are each child's center MINUS the parent axis. Subtree halfL/halfR
|
|
123
|
-
* extend ownHalf* to cover the children block. Pure + deterministic.
|
|
124
|
-
*/
|
|
125
|
-
declare function packSubtree(node: PackNode, gaps: PackGaps): PackResult;
|
|
104
|
+
|
|
126
105
|
/**
|
|
127
106
|
* Deterministic, overlap-proof org-chart layout (pure function of the inputs). Validates
|
|
128
107
|
* first and THROWS OrgChartValidationError on a structurally invalid chart — never
|
|
@@ -135,6 +114,12 @@ interface OrgChartSvgOptions {
|
|
|
135
114
|
legend?: boolean;
|
|
136
115
|
/** Display vocabulary (legend/accessibility) — English default; see locale packs. */
|
|
137
116
|
labels?: OrgChartSvgLabels;
|
|
117
|
+
/**
|
|
118
|
+
* Legend label for the annotation row. When provided AND at least one node or element
|
|
119
|
+
* is annotated, one legend row is appended (used-keys-only pattern). The library
|
|
120
|
+
* supplies no default — the caller owns the wording (domain-agnostic).
|
|
121
|
+
*/
|
|
122
|
+
annotationLabel?: string;
|
|
138
123
|
}
|
|
139
124
|
/**
|
|
140
125
|
* Emits a self-contained SVG for a computed org-chart layout. Pure + deterministic.
|
|
@@ -149,6 +134,12 @@ interface OrgChartRenderOptions extends OrgChartLayoutOptions {
|
|
|
149
134
|
legend?: boolean;
|
|
150
135
|
/** Display vocabulary for the emitter (legend/accessibility) — English default. */
|
|
151
136
|
svgLabels?: OrgChartSvgLabels;
|
|
137
|
+
/**
|
|
138
|
+
* Legend label for the annotation row. Forwarded to orgChartLayoutSvg. When provided
|
|
139
|
+
* AND at least one node or element is annotated, a legend row is appended.
|
|
140
|
+
* The library supplies no default — the caller owns the wording.
|
|
141
|
+
*/
|
|
142
|
+
annotationLabel?: string;
|
|
152
143
|
}
|
|
153
144
|
interface OrgChartRenderResult {
|
|
154
145
|
/** Self-contained SVG (numeric width/height + matching viewBox — PDF-embedder safe). */
|
|
@@ -165,4 +156,4 @@ interface OrgChartRenderResult {
|
|
|
165
156
|
*/
|
|
166
157
|
declare function orgChartSvg(input: OrgChartInput, opts?: OrgChartRenderOptions): OrgChartRenderResult;
|
|
167
158
|
|
|
168
|
-
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
|
-
import { e as OrgChartInput, d as OrgBoxStyle, g as OrgChartTitleLabels, f as OrgChartSvgLabels } from '../labels-
|
|
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-
|
|
3
|
-
import { P as Point } from '../
|
|
4
|
-
export {
|
|
1
|
+
import { e as OrgChartInput, d as OrgBoxStyle, g as OrgChartTitleLabels, f as OrgChartSvgLabels } from '../labels-B0aOMbHy.js';
|
|
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 '../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";
|
|
@@ -69,6 +70,8 @@ interface OrgNode {
|
|
|
69
70
|
depth: number;
|
|
70
71
|
/** Verbatim <title> text. */
|
|
71
72
|
title: string;
|
|
73
|
+
/** True when the caller declared this position annotated. Drives the dot marker in svg.ts. */
|
|
74
|
+
annotated: boolean;
|
|
72
75
|
}
|
|
73
76
|
interface OrgElement {
|
|
74
77
|
/** Namespaced id (ORG_*_ID_BASE + managerId / reportId / report.id). */
|
|
@@ -80,6 +83,9 @@ interface OrgElement {
|
|
|
80
83
|
dashed: boolean;
|
|
81
84
|
/** Verbatim <title> text (woven from the title-label pack). */
|
|
82
85
|
title: string;
|
|
86
|
+
/** True when the source OrgReport was declared annotated. Drives the tick marker in svg.ts.
|
|
87
|
+
* stem/bus: not 1:1 with a report — annotated:false by design (documented choice). */
|
|
88
|
+
annotated: boolean;
|
|
83
89
|
}
|
|
84
90
|
interface OrgChartLayout {
|
|
85
91
|
width: number;
|
|
@@ -95,34 +101,7 @@ interface OrgChartLayoutOptions {
|
|
|
95
101
|
/** Locale pack for box/element <title>s — English default; see locale packs. */
|
|
96
102
|
titleLabels?: OrgChartTitleLabels;
|
|
97
103
|
}
|
|
98
|
-
|
|
99
|
-
interface PackNode {
|
|
100
|
-
ownHalfL: number;
|
|
101
|
-
ownHalfR: number;
|
|
102
|
-
/** One entry per child, in placement order; empty = leaf. */
|
|
103
|
-
children: {
|
|
104
|
-
halfL: number;
|
|
105
|
-
halfR: number;
|
|
106
|
-
}[];
|
|
107
|
-
}
|
|
108
|
-
interface PackGaps {
|
|
109
|
-
siblingGap: number;
|
|
110
|
-
}
|
|
111
|
-
interface PackResult {
|
|
112
|
-
/** Subtree half-extents (cover the ENTIRE subtree). */
|
|
113
|
-
halfL: number;
|
|
114
|
-
halfR: number;
|
|
115
|
-
/** Center offset of each child relative to this node's center (parallel to children). */
|
|
116
|
-
offsets: number[];
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Span-packs a node's children into disjoint horizontal intervals (the fault-tree `pack`
|
|
120
|
-
* transposed top-down). Children c1..cn: x1 = 0; x_{i+1} = x_i + halfR_i + siblingGap +
|
|
121
|
-
* halfL_{i+1}. Parent axis a = (x1 + xn)/2 — centered over its line-report block. The
|
|
122
|
-
* returned offsets are each child's center MINUS the parent axis. Subtree halfL/halfR
|
|
123
|
-
* extend ownHalf* to cover the children block. Pure + deterministic.
|
|
124
|
-
*/
|
|
125
|
-
declare function packSubtree(node: PackNode, gaps: PackGaps): PackResult;
|
|
104
|
+
|
|
126
105
|
/**
|
|
127
106
|
* Deterministic, overlap-proof org-chart layout (pure function of the inputs). Validates
|
|
128
107
|
* first and THROWS OrgChartValidationError on a structurally invalid chart — never
|
|
@@ -135,6 +114,12 @@ interface OrgChartSvgOptions {
|
|
|
135
114
|
legend?: boolean;
|
|
136
115
|
/** Display vocabulary (legend/accessibility) — English default; see locale packs. */
|
|
137
116
|
labels?: OrgChartSvgLabels;
|
|
117
|
+
/**
|
|
118
|
+
* Legend label for the annotation row. When provided AND at least one node or element
|
|
119
|
+
* is annotated, one legend row is appended (used-keys-only pattern). The library
|
|
120
|
+
* supplies no default — the caller owns the wording (domain-agnostic).
|
|
121
|
+
*/
|
|
122
|
+
annotationLabel?: string;
|
|
138
123
|
}
|
|
139
124
|
/**
|
|
140
125
|
* Emits a self-contained SVG for a computed org-chart layout. Pure + deterministic.
|
|
@@ -149,6 +134,12 @@ interface OrgChartRenderOptions extends OrgChartLayoutOptions {
|
|
|
149
134
|
legend?: boolean;
|
|
150
135
|
/** Display vocabulary for the emitter (legend/accessibility) — English default. */
|
|
151
136
|
svgLabels?: OrgChartSvgLabels;
|
|
137
|
+
/**
|
|
138
|
+
* Legend label for the annotation row. Forwarded to orgChartLayoutSvg. When provided
|
|
139
|
+
* AND at least one node or element is annotated, a legend row is appended.
|
|
140
|
+
* The library supplies no default — the caller owns the wording.
|
|
141
|
+
*/
|
|
142
|
+
annotationLabel?: string;
|
|
152
143
|
}
|
|
153
144
|
interface OrgChartRenderResult {
|
|
154
145
|
/** Self-contained SVG (numeric width/height + matching viewBox — PDF-embedder safe). */
|
|
@@ -165,4 +156,4 @@ interface OrgChartRenderResult {
|
|
|
165
156
|
*/
|
|
166
157
|
declare function orgChartSvg(input: OrgChartInput, opts?: OrgChartRenderOptions): OrgChartRenderResult;
|
|
167
158
|
|
|
168
|
-
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
|
-
import { c as PedigreeInput, d as PedigreeRole, Z as Zygosity, f as PedigreeTitleLabels, e as PedigreeSvgLabels } from '../labels-
|
|
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-
|
|
3
|
-
import { P as Point } from '../
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export {
|
|
1
|
+
import { c as PedigreeInput, d as PedigreeRole, Z as Zygosity, f as PedigreeTitleLabels, e as PedigreeSvgLabels } from '../labels-DhQe7I8m.cjs';
|
|
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 '../geometry-P-XGqGe7.cjs';
|
|
4
|
+
import { N as NodeShape } from '../types-jE2fdM1t.cjs';
|
|
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
|
-
import { c as PedigreeInput, d as PedigreeRole, Z as Zygosity, f as PedigreeTitleLabels, e as PedigreeSvgLabels } from '../labels-
|
|
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-
|
|
3
|
-
import { P as Point } from '../
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export {
|
|
1
|
+
import { c as PedigreeInput, d as PedigreeRole, Z as Zygosity, f as PedigreeTitleLabels, e as PedigreeSvgLabels } from '../labels-CuLbFyrz.js';
|
|
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 '../geometry-P-XGqGe7.js';
|
|
4
|
+
import { N as NodeShape } from '../types-jE2fdM1t.js';
|
|
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
|