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.
Files changed (100) hide show
  1. package/README.md +115 -5
  2. package/dist/{chunk-ZBDABVIO.js → chunk-2NDET6O5.js} +3 -3
  3. package/dist/{chunk-ZBDABVIO.js.map → chunk-2NDET6O5.js.map} +1 -1
  4. package/dist/{chunk-Q6DVTCXD.js → chunk-3RGYLVTN.js} +18 -6
  5. package/dist/chunk-3RGYLVTN.js.map +1 -0
  6. package/dist/chunk-BM7UJBK5.js +680 -0
  7. package/dist/chunk-BM7UJBK5.js.map +1 -0
  8. package/dist/chunk-DVLWT565.js +372 -0
  9. package/dist/chunk-DVLWT565.js.map +1 -0
  10. package/dist/{chunk-F47C6ZEB.js → chunk-JBDA7E2O.js} +3 -3
  11. package/dist/{chunk-F47C6ZEB.js.map → chunk-JBDA7E2O.js.map} +1 -1
  12. package/dist/chunk-MIJTBYX2.js +982 -0
  13. package/dist/chunk-MIJTBYX2.js.map +1 -0
  14. package/dist/{chunk-JP4N42AY.js → chunk-PJHLWSGD.js} +3 -3
  15. package/dist/{chunk-JP4N42AY.js.map → chunk-PJHLWSGD.js.map} +1 -1
  16. package/dist/{chunk-LRHHUJFZ.js → chunk-RDH4XHA2.js} +3 -3
  17. package/dist/{chunk-LRHHUJFZ.js.map → chunk-RDH4XHA2.js.map} +1 -1
  18. package/dist/{chunk-UJVU7B44.js → chunk-WEHUSHVI.js} +31 -51
  19. package/dist/chunk-WEHUSHVI.js.map +1 -0
  20. package/dist/{chunk-RWPGGWO5.js → chunk-Z66YUOUM.js} +34 -10
  21. package/dist/chunk-Z66YUOUM.js.map +1 -0
  22. package/dist/core/index.cjs +247 -0
  23. package/dist/core/index.cjs.map +1 -1
  24. package/dist/core/index.d.cts +94 -2
  25. package/dist/core/index.d.ts +94 -2
  26. package/dist/core/index.js +1 -1
  27. package/dist/ecomap/index.cjs +34 -11
  28. package/dist/ecomap/index.cjs.map +1 -1
  29. package/dist/ecomap/index.d.cts +12 -0
  30. package/dist/ecomap/index.d.ts +12 -0
  31. package/dist/ecomap/index.js +2 -2
  32. package/dist/fault-tree/index.d.cts +2 -2
  33. package/dist/fault-tree/index.d.ts +2 -2
  34. package/dist/fault-tree/index.js +2 -2
  35. package/dist/fishbone/index.js +2 -2
  36. package/dist/genogram/index.cjs +57 -7
  37. package/dist/genogram/index.cjs.map +1 -1
  38. package/dist/genogram/index.d.cts +22 -6
  39. package/dist/genogram/index.d.ts +22 -6
  40. package/dist/genogram/index.js +2 -2
  41. package/dist/geometry-P-XGqGe7.d.cts +8 -0
  42. package/dist/geometry-P-XGqGe7.d.ts +8 -0
  43. package/dist/grid-BMgUSly1.d.cts +79 -0
  44. package/dist/grid-BMgUSly1.d.ts +79 -0
  45. package/dist/index.cjs +2360 -395
  46. package/dist/index.cjs.map +1 -1
  47. package/dist/index.d.cts +14 -7
  48. package/dist/index.d.ts +14 -7
  49. package/dist/index.js +10 -8
  50. package/dist/{kinship-DqEklrDN.d.ts → kinship-BF90HyyS.d.ts} +1 -1
  51. package/dist/{kinship-Dy_ijjJV.d.cts → kinship-BOUss5cT.d.cts} +1 -1
  52. package/dist/{labels-RtFw9tX1.d.cts → labels-B0aOMbHy.d.cts} +12 -0
  53. package/dist/{labels-RtFw9tX1.d.ts → labels-B0aOMbHy.d.ts} +12 -0
  54. package/dist/labels-Br8yjc3C.d.cts +29 -0
  55. package/dist/labels-Br8yjc3C.d.ts +29 -0
  56. package/dist/{labels-DNqRkWuI.d.ts → labels-CuLbFyrz.d.ts} +1 -1
  57. package/dist/labels-D1v1RWZd.d.cts +97 -0
  58. package/dist/labels-D1v1RWZd.d.ts +97 -0
  59. package/dist/{labels-CBQ_3Ec9.d.cts → labels-DhQe7I8m.d.cts} +1 -1
  60. package/dist/layered-DmZluAqe.d.cts +72 -0
  61. package/dist/layered-DmZluAqe.d.ts +72 -0
  62. package/dist/locales/pt-br.cjs +53 -0
  63. package/dist/locales/pt-br.cjs.map +1 -1
  64. package/dist/locales/pt-br.d.cts +11 -5
  65. package/dist/locales/pt-br.d.ts +11 -5
  66. package/dist/locales/pt-br.js +50 -1
  67. package/dist/locales/pt-br.js.map +1 -1
  68. package/dist/org-chart/index.cjs +138 -94
  69. package/dist/org-chart/index.cjs.map +1 -1
  70. package/dist/org-chart/index.d.cts +24 -33
  71. package/dist/org-chart/index.d.ts +24 -33
  72. package/dist/org-chart/index.js +2 -2
  73. package/dist/pedigree/index.d.cts +6 -6
  74. package/dist/pedigree/index.d.ts +6 -6
  75. package/dist/pedigree/index.js +2 -2
  76. package/dist/phylo/index.d.cts +2 -2
  77. package/dist/phylo/index.d.ts +2 -2
  78. package/dist/phylo/index.js +2 -2
  79. package/dist/prisma/index.cjs +882 -0
  80. package/dist/prisma/index.cjs.map +1 -0
  81. package/dist/prisma/index.d.cts +174 -0
  82. package/dist/prisma/index.d.ts +174 -0
  83. package/dist/prisma/index.js +4 -0
  84. package/dist/prisma/index.js.map +1 -0
  85. package/dist/{text-DuO_PwYw.d.cts → text-DDVzpwPZ.d.cts} +1 -8
  86. package/dist/{text-DuO_PwYw.d.ts → text-DDVzpwPZ.d.ts} +1 -8
  87. package/dist/{types-BnMG7TCd.d.cts → types-jE2fdM1t.d.cts} +8 -0
  88. package/dist/{types-BnMG7TCd.d.ts → types-jE2fdM1t.d.ts} +8 -0
  89. package/dist/uml/index.cjs +1214 -0
  90. package/dist/uml/index.cjs.map +1 -0
  91. package/dist/uml/index.d.cts +189 -0
  92. package/dist/uml/index.d.ts +189 -0
  93. package/dist/uml/index.js +4 -0
  94. package/dist/uml/index.js.map +1 -0
  95. package/package.json +28 -2
  96. package/dist/chunk-O3BT2O42.js +0 -145
  97. package/dist/chunk-O3BT2O42.js.map +0 -1
  98. package/dist/chunk-Q6DVTCXD.js.map +0 -1
  99. package/dist/chunk-RWPGGWO5.js.map +0 -1
  100. 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-RtFw9tX1.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-RtFw9tX1.cjs';
3
- import { P as Point } from '../text-DuO_PwYw.cjs';
4
- export { e as estimateTextWidth } from '../text-DuO_PwYw.cjs';
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
- /** A node's own symmetric-or-asymmetric half-extents plus its children's half-extents. */
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, type PackGaps, type PackNode, type PackResult, Point, computeOrgChartLayout, orgChartIssues, orgChartLayoutSvg, orgChartSvg, packSubtree, validateOrgChart };
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-RtFw9tX1.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-RtFw9tX1.js';
3
- import { P as Point } from '../text-DuO_PwYw.js';
4
- export { e as estimateTextWidth } from '../text-DuO_PwYw.js';
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
- /** A node's own symmetric-or-asymmetric half-extents plus its children's half-extents. */
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, type PackGaps, type PackNode, type PackResult, Point, computeOrgChartLayout, orgChartIssues, orgChartLayoutSvg, orgChartSvg, packSubtree, validateOrgChart };
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,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, packSubtree, validateOrgChart } from '../chunk-UJVU7B44.js';
2
- export { estimateTextWidth } from '../chunk-O3BT2O42.js';
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-CBQ_3Ec9.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-CBQ_3Ec9.cjs';
3
- import { P as Point } from '../text-DuO_PwYw.cjs';
4
- export { e as estimateTextWidth } from '../text-DuO_PwYw.cjs';
5
- import { N as NodeShape } from '../types-BnMG7TCd.cjs';
6
- export { b as PersonSex } from '../types-BnMG7TCd.cjs';
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";
@@ -1,9 +1,9 @@
1
- import { c as PedigreeInput, d as PedigreeRole, Z as Zygosity, f as PedigreeTitleLabels, e as PedigreeSvgLabels } from '../labels-DNqRkWuI.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-DNqRkWuI.js';
3
- import { P as Point } from '../text-DuO_PwYw.js';
4
- export { e as estimateTextWidth } from '../text-DuO_PwYw.js';
5
- import { N as NodeShape } from '../types-BnMG7TCd.js';
6
- export { b as PersonSex } from '../types-BnMG7TCd.js';
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";
@@ -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-F47C6ZEB.js';
2
- export { estimateTextWidth } from '../chunk-O3BT2O42.js';
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
@@ -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 '../text-DuO_PwYw.cjs';
4
- export { e as estimateTextWidth } from '../text-DuO_PwYw.cjs';
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";
@@ -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 '../text-DuO_PwYw.js';
4
- export { e as estimateTextWidth } from '../text-DuO_PwYw.js';
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";
@@ -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-JP4N42AY.js';
2
- export { estimateTextWidth } from '../chunk-O3BT2O42.js';
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