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
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export { x as xmlEscape } from './xml-DDae1eUr.cjs';
|
|
2
|
-
export { ANNOTATION_INK, LEGEND_FONT, LEGEND_GAP, LEGEND_PAD, LEGEND_ROW_H, LEGEND_SWATCH_W, LegendBlock, LegendEntry, annotationDot, annotationSwatch, annotationTick, legendBlock, romanNumeral } from './core/index.cjs';
|
|
3
|
-
export {
|
|
2
|
+
export { ANNOTATION_INK, Dir, GLYPH_ARROW_HALF, GLYPH_ARROW_LEN, GLYPH_DIAMOND_HALF, GLYPH_DIAMOND_LEN, GLYPH_TRI_HALF, GLYPH_TRI_LEN, LEGEND_FONT, LEGEND_GAP, LEGEND_PAD, LEGEND_ROW_H, LEGEND_SWATCH_W, LegendBlock, LegendEntry, annotationDot, annotationSwatch, annotationTick, arrowFilledPoints, arrowOpenPoints, diamondPoints, glyphInset, legendBlock, romanNumeral, trianglePoints } from './core/index.cjs';
|
|
3
|
+
export { P as Point, p as pathData } from './geometry-P-XGqGe7.cjs';
|
|
4
|
+
export { C as CHAR_W, F as FONT_FAMILY, c as clampLabel, e as estimateTextWidth, w as wrapLabel, a as wrapLabelBalanced } from './text-DDVzpwPZ.cjs';
|
|
4
5
|
export { E as EDGE_STROKE, a as EdgeLineStyle, b as EdgeStroke, Q as QUALITY_LEXICON_EN, c as QualityLexicon, n as normalizeText, q as qualityLineStyle } from './stroke-MQ427drt.cjs';
|
|
6
|
+
export { B as BandRow, a as BandStackOpts, b as BandStackResult, P as PackGaps, c as PackNode, d as PackResult, e as allocateLanes, f as bandStack, p as packSubtree } from './layered-DmZluAqe.cjs';
|
|
7
|
+
export { C as CompartmentMetrics, G as GridCell, a as GridResult, m as measureCompartmentBox, p as packGrid } from './grid-BMgUSly1.cjs';
|
|
5
8
|
export { G as GenogramInput, N as NodeShape, P as ParentLink, a as Person, b as PersonSex, R as Relationship, U as UNION_STATUSES, c as Union, d as UnionStatus } from './types-jE2fdM1t.cjs';
|
|
6
9
|
export { G as GENOGRAM_SVG_LABELS_EN, a as GENOGRAM_TITLE_LABELS_EN, b as GenogramSvgLabels, c as GenogramTitleLabels, K as KINSHIP_EN, d as KinshipLexicon, R as RelationshipMapClass, e as classifyRelationshipType, r as relationshipTypeTokens } from './kinship-BOUss5cT.cjs';
|
|
7
10
|
export { EDGE_FONT, GenogramElement, GenogramElementKind, GenogramLayout, GenogramLayoutOptions, GenogramNode, GenogramRenderOptions, GenogramRenderResult, GenogramSvgOptions, LABEL_FONT, LABEL_LINE_H, NODE_SIZE, PARENT_REL_ID_BASE, PROMOTED_REL_ID_BASE, UNION_NOTATION, UNION_REL_ID_BASE, UnionEdgeStyle, computeGenogramLayout, genogramLayoutSvg, genogramSvg, latestUnionPerPair } from './genogram/index.cjs';
|
|
@@ -14,4 +17,8 @@ export { MAX_CONDITIONS_PER_INDIVIDUAL, PED_ADDRESS_FONT, PED_CONDITION_FILLS, P
|
|
|
14
17
|
export { P as PHYLO_SVG_LABELS_EN, a as PHYLO_TITLE_LABELS_EN, b as PhyloEdge, c as PhyloInput, d as PhyloMode, e as PhyloNode, f as PhyloSvgLabels, g as PhyloTitleLabels } from './labels-iZjijjtK.cjs';
|
|
15
18
|
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, PhyloElement, PhyloElementKind, PhyloIssue, PhyloIssueCode, PhyloLayout, PhyloLayoutNode, PhyloLayoutOptions, PhyloRenderOptions, PhyloRenderResult, PhyloScaleBar, PhyloSvgOptions, PhyloValidationError, computePhyloLayout, niceScaleStep, phyloIssues, phyloLayoutSvg, phyloSvg, validatePhylo } from './phylo/index.cjs';
|
|
16
19
|
export { O as ORG_CHART_SVG_LABELS_EN, a as ORG_CHART_TITLE_LABELS_EN, b as ORG_REPORT_KINDS, c as ORG_VACANCIES, d as OrgBoxStyle, e as OrgChartInput, f as OrgChartSvgLabels, g as OrgChartTitleLabels, h as OrgPosition, i as OrgReport, j as OrgReportKind, k as OrgVacancy } from './labels-B0aOMbHy.cjs';
|
|
17
|
-
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, OrgChartIssue, OrgChartIssueCode, OrgChartLayout, OrgChartLayoutOptions, OrgChartRenderOptions, OrgChartRenderResult, OrgChartSvgOptions, OrgChartValidationError, OrgElement, OrgElementKind, OrgNode,
|
|
20
|
+
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, OrgChartIssue, OrgChartIssueCode, OrgChartLayout, OrgChartLayoutOptions, OrgChartRenderOptions, OrgChartRenderResult, OrgChartSvgOptions, OrgChartValidationError, OrgElement, OrgElementKind, OrgNode, computeOrgChartLayout, orgChartIssues, orgChartLayoutSvg, orgChartSvg, validateOrgChart } from './org-chart/index.cjs';
|
|
21
|
+
export { PRISMA_BAND_LABEL_W, PRISMA_BOX_KINDS, PRISMA_BOX_PAD_X, PRISMA_BOX_PAD_Y, PRISMA_COLUMNS, PRISMA_COL_GAP, PRISMA_CORRIDOR, PRISMA_COUNT_FONT, PRISMA_EXCL_ARROW_BASE, PRISMA_EXCL_GAP, PRISMA_FLOW_ARROW_BASE, PRISMA_HEADING_FONT, PRISMA_LINE_H, PRISMA_MERGE_ARROW_BASE, PRISMA_MIN_BOX_W, PRISMA_PADDING, PRISMA_PHASES, PrismaArrow, PrismaBox, PrismaBoxKind, PrismaColumn, PrismaCount, PrismaInput, PrismaIssue, PrismaIssueCode, PrismaLayout, PrismaLayoutBox, PrismaLayoutElement, PrismaLayoutOpts, PrismaPhase, PrismaRenderOpts, PrismaSvgOpts, PrismaValidationError, computePrismaLayout, prismaIssues, prismaLayoutSvg, prismaSvg, validatePrisma } from './prisma/index.cjs';
|
|
22
|
+
export { P as PRISMA_SVG_LABELS_EN, a as PRISMA_TITLE_LABELS_EN, b as PrismaSvgLabels, c as PrismaTitleLabels } from './labels-Br8yjc3C.cjs';
|
|
23
|
+
export { G as GlyphKind, R as RELATION_GLYPHS, U as UML_RELATIONSHIPS, a as UML_SVG_LABELS_EN, b as UML_TITLE_LABELS_EN, c as UML_VISIBILITIES, d as UML_VIS_GLYPH, e as UmlClass, f as UmlFeature, g as UmlInput, h as UmlRelationship, i as UmlRelationshipKind, j as UmlSvgLabels, k as UmlTitleLabels, l as UmlVisibility } from './labels-D1v1RWZd.cjs';
|
|
24
|
+
export { UML_ASSOC_ROUTE_BASE, UML_BOX_PAD_X, UML_BOX_PAD_Y, UML_COL_GAP, UML_FEAT_FONT, UML_GLYPH_BASE, UML_LABEL_FONT, UML_LINE_H, UML_MIN_BOX_W, UML_NAME_FONT, UML_PADDING, UML_PORT_PITCH, UML_ROW_GAP, UML_SELF_LOOP_BASE, UML_SELF_LOOP_W, UML_SEP_PAD, UmlBoxNode, UmlEdgeElement, UmlIssue, UmlIssueCode, UmlLayout, UmlSvgOptions, UmlTextBox, UmlValidationError, computeUmlLayout, sideCapacity, sideCapacityIssue, umlIssues, umlLayoutSvg, umlSvg, validateUml } from './uml/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export { x as xmlEscape } from './xml-DDae1eUr.js';
|
|
2
|
-
export { ANNOTATION_INK, LEGEND_FONT, LEGEND_GAP, LEGEND_PAD, LEGEND_ROW_H, LEGEND_SWATCH_W, LegendBlock, LegendEntry, annotationDot, annotationSwatch, annotationTick, legendBlock, romanNumeral } from './core/index.js';
|
|
3
|
-
export {
|
|
2
|
+
export { ANNOTATION_INK, Dir, GLYPH_ARROW_HALF, GLYPH_ARROW_LEN, GLYPH_DIAMOND_HALF, GLYPH_DIAMOND_LEN, GLYPH_TRI_HALF, GLYPH_TRI_LEN, LEGEND_FONT, LEGEND_GAP, LEGEND_PAD, LEGEND_ROW_H, LEGEND_SWATCH_W, LegendBlock, LegendEntry, annotationDot, annotationSwatch, annotationTick, arrowFilledPoints, arrowOpenPoints, diamondPoints, glyphInset, legendBlock, romanNumeral, trianglePoints } from './core/index.js';
|
|
3
|
+
export { P as Point, p as pathData } from './geometry-P-XGqGe7.js';
|
|
4
|
+
export { C as CHAR_W, F as FONT_FAMILY, c as clampLabel, e as estimateTextWidth, w as wrapLabel, a as wrapLabelBalanced } from './text-DDVzpwPZ.js';
|
|
4
5
|
export { E as EDGE_STROKE, a as EdgeLineStyle, b as EdgeStroke, Q as QUALITY_LEXICON_EN, c as QualityLexicon, n as normalizeText, q as qualityLineStyle } from './stroke-MQ427drt.js';
|
|
6
|
+
export { B as BandRow, a as BandStackOpts, b as BandStackResult, P as PackGaps, c as PackNode, d as PackResult, e as allocateLanes, f as bandStack, p as packSubtree } from './layered-DmZluAqe.js';
|
|
7
|
+
export { C as CompartmentMetrics, G as GridCell, a as GridResult, m as measureCompartmentBox, p as packGrid } from './grid-BMgUSly1.js';
|
|
5
8
|
export { G as GenogramInput, N as NodeShape, P as ParentLink, a as Person, b as PersonSex, R as Relationship, U as UNION_STATUSES, c as Union, d as UnionStatus } from './types-jE2fdM1t.js';
|
|
6
9
|
export { G as GENOGRAM_SVG_LABELS_EN, a as GENOGRAM_TITLE_LABELS_EN, b as GenogramSvgLabels, c as GenogramTitleLabels, K as KINSHIP_EN, d as KinshipLexicon, R as RelationshipMapClass, e as classifyRelationshipType, r as relationshipTypeTokens } from './kinship-BF90HyyS.js';
|
|
7
10
|
export { EDGE_FONT, GenogramElement, GenogramElementKind, GenogramLayout, GenogramLayoutOptions, GenogramNode, GenogramRenderOptions, GenogramRenderResult, GenogramSvgOptions, LABEL_FONT, LABEL_LINE_H, NODE_SIZE, PARENT_REL_ID_BASE, PROMOTED_REL_ID_BASE, UNION_NOTATION, UNION_REL_ID_BASE, UnionEdgeStyle, computeGenogramLayout, genogramLayoutSvg, genogramSvg, latestUnionPerPair } from './genogram/index.js';
|
|
@@ -14,4 +17,8 @@ export { MAX_CONDITIONS_PER_INDIVIDUAL, PED_ADDRESS_FONT, PED_CONDITION_FILLS, P
|
|
|
14
17
|
export { P as PHYLO_SVG_LABELS_EN, a as PHYLO_TITLE_LABELS_EN, b as PhyloEdge, c as PhyloInput, d as PhyloMode, e as PhyloNode, f as PhyloSvgLabels, g as PhyloTitleLabels } from './labels-iZjijjtK.js';
|
|
15
18
|
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, PhyloElement, PhyloElementKind, PhyloIssue, PhyloIssueCode, PhyloLayout, PhyloLayoutNode, PhyloLayoutOptions, PhyloRenderOptions, PhyloRenderResult, PhyloScaleBar, PhyloSvgOptions, PhyloValidationError, computePhyloLayout, niceScaleStep, phyloIssues, phyloLayoutSvg, phyloSvg, validatePhylo } from './phylo/index.js';
|
|
16
19
|
export { O as ORG_CHART_SVG_LABELS_EN, a as ORG_CHART_TITLE_LABELS_EN, b as ORG_REPORT_KINDS, c as ORG_VACANCIES, d as OrgBoxStyle, e as OrgChartInput, f as OrgChartSvgLabels, g as OrgChartTitleLabels, h as OrgPosition, i as OrgReport, j as OrgReportKind, k as OrgVacancy } from './labels-B0aOMbHy.js';
|
|
17
|
-
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, OrgChartIssue, OrgChartIssueCode, OrgChartLayout, OrgChartLayoutOptions, OrgChartRenderOptions, OrgChartRenderResult, OrgChartSvgOptions, OrgChartValidationError, OrgElement, OrgElementKind, OrgNode,
|
|
20
|
+
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, OrgChartIssue, OrgChartIssueCode, OrgChartLayout, OrgChartLayoutOptions, OrgChartRenderOptions, OrgChartRenderResult, OrgChartSvgOptions, OrgChartValidationError, OrgElement, OrgElementKind, OrgNode, computeOrgChartLayout, orgChartIssues, orgChartLayoutSvg, orgChartSvg, validateOrgChart } from './org-chart/index.js';
|
|
21
|
+
export { PRISMA_BAND_LABEL_W, PRISMA_BOX_KINDS, PRISMA_BOX_PAD_X, PRISMA_BOX_PAD_Y, PRISMA_COLUMNS, PRISMA_COL_GAP, PRISMA_CORRIDOR, PRISMA_COUNT_FONT, PRISMA_EXCL_ARROW_BASE, PRISMA_EXCL_GAP, PRISMA_FLOW_ARROW_BASE, PRISMA_HEADING_FONT, PRISMA_LINE_H, PRISMA_MERGE_ARROW_BASE, PRISMA_MIN_BOX_W, PRISMA_PADDING, PRISMA_PHASES, PrismaArrow, PrismaBox, PrismaBoxKind, PrismaColumn, PrismaCount, PrismaInput, PrismaIssue, PrismaIssueCode, PrismaLayout, PrismaLayoutBox, PrismaLayoutElement, PrismaLayoutOpts, PrismaPhase, PrismaRenderOpts, PrismaSvgOpts, PrismaValidationError, computePrismaLayout, prismaIssues, prismaLayoutSvg, prismaSvg, validatePrisma } from './prisma/index.js';
|
|
22
|
+
export { P as PRISMA_SVG_LABELS_EN, a as PRISMA_TITLE_LABELS_EN, b as PrismaSvgLabels, c as PrismaTitleLabels } from './labels-Br8yjc3C.js';
|
|
23
|
+
export { G as GlyphKind, R as RELATION_GLYPHS, U as UML_RELATIONSHIPS, a as UML_SVG_LABELS_EN, b as UML_TITLE_LABELS_EN, c as UML_VISIBILITIES, d as UML_VIS_GLYPH, e as UmlClass, f as UmlFeature, g as UmlInput, h as UmlRelationship, i as UmlRelationshipKind, j as UmlSvgLabels, k as UmlTitleLabels, l as UmlVisibility } from './labels-D1v1RWZd.js';
|
|
24
|
+
export { UML_ASSOC_ROUTE_BASE, UML_BOX_PAD_X, UML_BOX_PAD_Y, UML_COL_GAP, UML_FEAT_FONT, UML_GLYPH_BASE, UML_LABEL_FONT, UML_LINE_H, UML_MIN_BOX_W, UML_NAME_FONT, UML_PADDING, UML_PORT_PITCH, UML_ROW_GAP, UML_SELF_LOOP_BASE, UML_SELF_LOOP_W, UML_SEP_PAD, UmlBoxNode, UmlEdgeElement, UmlIssue, UmlIssueCode, UmlLayout, UmlSvgOptions, UmlTextBox, UmlValidationError, computeUmlLayout, sideCapacity, sideCapacityIssue, umlIssues, umlLayoutSvg, umlSvg, validateUml } from './uml/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
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 {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
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 { PRISMA_BAND_LABEL_W, PRISMA_BOX_KINDS, PRISMA_BOX_PAD_X, PRISMA_BOX_PAD_Y, PRISMA_COLUMNS, PRISMA_COL_GAP, PRISMA_CORRIDOR, PRISMA_COUNT_FONT, PRISMA_EXCL_ARROW_BASE, PRISMA_EXCL_GAP, PRISMA_FLOW_ARROW_BASE, PRISMA_HEADING_FONT, PRISMA_LINE_H, PRISMA_MERGE_ARROW_BASE, PRISMA_MIN_BOX_W, PRISMA_PADDING, PRISMA_PHASES, PRISMA_SVG_LABELS_EN, PRISMA_TITLE_LABELS_EN, PrismaValidationError, computePrismaLayout, prismaIssues, prismaLayoutSvg, prismaSvg, validatePrisma } from './chunk-BM7UJBK5.js';
|
|
3
|
+
export { RELATION_GLYPHS, UML_ASSOC_ROUTE_BASE, UML_BOX_PAD_X, UML_BOX_PAD_Y, UML_COL_GAP, UML_FEAT_FONT, UML_GLYPH_BASE, UML_LABEL_FONT, UML_LINE_H, UML_MIN_BOX_W, UML_NAME_FONT, UML_PADDING, UML_PORT_PITCH, UML_RELATIONSHIPS, UML_ROW_GAP, UML_SELF_LOOP_BASE, UML_SELF_LOOP_W, UML_SEP_PAD, UML_SVG_LABELS_EN, UML_TITLE_LABELS_EN, UML_VISIBILITIES, UML_VIS_GLYPH, UmlValidationError, computeUmlLayout, sideCapacity, sideCapacityIssue, umlIssues, umlLayoutSvg, umlSvg, validateUml } from './chunk-MIJTBYX2.js';
|
|
4
|
+
export { EDGE_FONT, GENOGRAM_SVG_LABELS_EN, GENOGRAM_TITLE_LABELS_EN, KINSHIP_EN, LABEL_FONT, LABEL_LINE_H, NODE_SIZE, PARENT_REL_ID_BASE, PROMOTED_REL_ID_BASE, UNION_NOTATION, UNION_REL_ID_BASE, UNION_STATUSES, classifyRelationshipType, computeGenogramLayout, genogramLayoutSvg, genogramSvg, latestUnionPerPair, relationshipTypeTokens } from './chunk-Z66YUOUM.js';
|
|
5
|
+
export { ECOMAP_LABELS_EN, ecomapSvg } from './chunk-3RGYLVTN.js';
|
|
6
|
+
export { CODE_FONT, FAULT_TREE_EVENT_KINDS, FAULT_TREE_SVG_LABELS_EN, FAULT_TREE_TITLE_LABELS_EN, FT_BUS_ID_BASE, FT_CONDITION_ID_BASE, FT_DROP_ID_BASE, FT_LABEL_FONT, FT_LABEL_LINE_H, FT_RISER_ID_BASE, FT_STEM_ID_BASE, FaultTreeValidationError, GATE_TYPES, LABEL_GAP, computeFaultTreeLayout, faultTreeIssues, faultTreeLayoutSvg, faultTreeSvg, validateFaultTree } from './chunk-RDH4XHA2.js';
|
|
7
|
+
export { FISHBONE_LABELS_EN, FishboneValidationError, fishboneSvg } from './chunk-2NDET6O5.js';
|
|
8
|
+
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';
|
|
9
|
+
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';
|
|
10
|
+
export { ANNOTATION_INK, CHAR_W, EDGE_STROKE, FONT_FAMILY, GLYPH_ARROW_HALF, GLYPH_ARROW_LEN, GLYPH_DIAMOND_HALF, GLYPH_DIAMOND_LEN, GLYPH_TRI_HALF, GLYPH_TRI_LEN, LEGEND_FONT, LEGEND_GAP, LEGEND_PAD, LEGEND_ROW_H, LEGEND_SWATCH_W, QUALITY_LEXICON_EN, allocateLanes, annotationDot, annotationSwatch, annotationTick, arrowFilledPoints, arrowOpenPoints, bandStack, clampLabel, diamondPoints, estimateTextWidth, glyphInset, legendBlock, measureCompartmentBox, normalizeText, packGrid, packSubtree, pathData, qualityLineStyle, romanNumeral, trianglePoints, wrapLabel, wrapLabelBalanced, xmlEscape } from './chunk-DVLWT565.js';
|
|
9
11
|
//# sourceMappingURL=index.js.map
|
|
10
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/** Labels woven into element <title>s — phase names, count token, arrow kind words. */
|
|
2
|
+
interface PrismaTitleLabels {
|
|
3
|
+
/** Display names for each phase band (left gutter label). */
|
|
4
|
+
phases: {
|
|
5
|
+
identification: string;
|
|
6
|
+
screening: string;
|
|
7
|
+
included: string;
|
|
8
|
+
};
|
|
9
|
+
/** Localized token for n=null counts ("n = —" in EN/PT-BR). */
|
|
10
|
+
nullCount: string;
|
|
11
|
+
/** Arrow kind words used in <title>s. */
|
|
12
|
+
arrowKinds: {
|
|
13
|
+
flow: string;
|
|
14
|
+
exclusion: string;
|
|
15
|
+
merge: string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
/** Labels drawn by the SVG emitter (legend entries, accessibility aria-label). */
|
|
19
|
+
interface PrismaSvgLabels {
|
|
20
|
+
legend: {
|
|
21
|
+
flow: string;
|
|
22
|
+
exclusion: string;
|
|
23
|
+
};
|
|
24
|
+
ariaLabel: string;
|
|
25
|
+
}
|
|
26
|
+
declare const PRISMA_TITLE_LABELS_EN: PrismaTitleLabels;
|
|
27
|
+
declare const PRISMA_SVG_LABELS_EN: PrismaSvgLabels;
|
|
28
|
+
|
|
29
|
+
export { PRISMA_SVG_LABELS_EN as P, PRISMA_TITLE_LABELS_EN as a, type PrismaSvgLabels as b, type PrismaTitleLabels as c };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/** Labels woven into element <title>s — phase names, count token, arrow kind words. */
|
|
2
|
+
interface PrismaTitleLabels {
|
|
3
|
+
/** Display names for each phase band (left gutter label). */
|
|
4
|
+
phases: {
|
|
5
|
+
identification: string;
|
|
6
|
+
screening: string;
|
|
7
|
+
included: string;
|
|
8
|
+
};
|
|
9
|
+
/** Localized token for n=null counts ("n = —" in EN/PT-BR). */
|
|
10
|
+
nullCount: string;
|
|
11
|
+
/** Arrow kind words used in <title>s. */
|
|
12
|
+
arrowKinds: {
|
|
13
|
+
flow: string;
|
|
14
|
+
exclusion: string;
|
|
15
|
+
merge: string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
/** Labels drawn by the SVG emitter (legend entries, accessibility aria-label). */
|
|
19
|
+
interface PrismaSvgLabels {
|
|
20
|
+
legend: {
|
|
21
|
+
flow: string;
|
|
22
|
+
exclusion: string;
|
|
23
|
+
};
|
|
24
|
+
ariaLabel: string;
|
|
25
|
+
}
|
|
26
|
+
declare const PRISMA_TITLE_LABELS_EN: PrismaTitleLabels;
|
|
27
|
+
declare const PRISMA_SVG_LABELS_EN: PrismaSvgLabels;
|
|
28
|
+
|
|
29
|
+
export { PRISMA_SVG_LABELS_EN as P, PRISMA_TITLE_LABELS_EN as a, type PrismaSvgLabels as b, type PrismaTitleLabels as c };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
declare const UML_VISIBILITIES: readonly ["public", "private", "protected", "package"];
|
|
2
|
+
type UmlVisibility = (typeof UML_VISIBILITIES)[number];
|
|
3
|
+
/** Universal OMG notation glyphs — NOT localized. */
|
|
4
|
+
declare const UML_VIS_GLYPH: Record<UmlVisibility, string>;
|
|
5
|
+
interface UmlFeature {
|
|
6
|
+
/** null = no visibility marker drawn. */
|
|
7
|
+
visibility: UmlVisibility | null;
|
|
8
|
+
/**
|
|
9
|
+
* Verbatim signature text — drawn AS GIVEN, NEVER parsed.
|
|
10
|
+
* e.g. "name: String" / "getName(): String".
|
|
11
|
+
*/
|
|
12
|
+
text: string;
|
|
13
|
+
/** When true, a <line> underline is drawn under the text run. */
|
|
14
|
+
isStatic?: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface UmlClass {
|
|
17
|
+
id: number;
|
|
18
|
+
/** Verbatim name; italic rendering when isAbstract. */
|
|
19
|
+
name: string;
|
|
20
|
+
/**
|
|
21
|
+
* «interface»/«enumeration»/«abstract» line above name; verbatim, drawn only
|
|
22
|
+
* when declared (not null). Caller includes the guillemets when desired.
|
|
23
|
+
*/
|
|
24
|
+
stereotype: string | null;
|
|
25
|
+
isAbstract?: boolean;
|
|
26
|
+
attributes: UmlFeature[];
|
|
27
|
+
operations: UmlFeature[];
|
|
28
|
+
/**
|
|
29
|
+
* DECLARED grid cell (the escape hatch for a general graph).
|
|
30
|
+
* Non-negative integers required on every class.
|
|
31
|
+
*/
|
|
32
|
+
col: number;
|
|
33
|
+
row: number;
|
|
34
|
+
/** <title> override. */
|
|
35
|
+
title?: string;
|
|
36
|
+
}
|
|
37
|
+
declare const UML_RELATIONSHIPS: readonly ["association", "directed-association", "aggregation", "composition", "generalization", "realization", "dependency"];
|
|
38
|
+
type UmlRelationshipKind = (typeof UML_RELATIONSHIPS)[number];
|
|
39
|
+
interface UmlRelationship {
|
|
40
|
+
id: number;
|
|
41
|
+
kind: UmlRelationshipKind;
|
|
42
|
+
/** Direction per-kind via RELATION_GLYPHS; generalization: source=subclass, target=superclass. */
|
|
43
|
+
sourceId: number;
|
|
44
|
+
targetId: number;
|
|
45
|
+
/** Verbatim multiplicity strings — NEVER parsed/validated. null = none drawn. */
|
|
46
|
+
sourceMultiplicity: string | null;
|
|
47
|
+
targetMultiplicity: string | null;
|
|
48
|
+
/** Verbatim role names at the ends. null = none drawn. */
|
|
49
|
+
sourceRole: string | null;
|
|
50
|
+
targetRole: string | null;
|
|
51
|
+
/** Verbatim relationship name drawn at mid-edge. null = none drawn. */
|
|
52
|
+
label: string | null;
|
|
53
|
+
/** <title> override. */
|
|
54
|
+
title?: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The five distinct glyph shapes used for UML relationship ends.
|
|
58
|
+
* "none" = plain line terminus (no arrowhead or decoration).
|
|
59
|
+
*/
|
|
60
|
+
type GlyphKind = "none" | "open-arrow" | "hollow-triangle" | "hollow-diamond" | "solid-diamond";
|
|
61
|
+
/**
|
|
62
|
+
* RELATION_GLYPHS — the single source of truth mapping a relationship kind to
|
|
63
|
+
* its standard UML end decorations and line style.
|
|
64
|
+
* The caller picks a KIND and the standard glyph follows — they cannot mis-state
|
|
65
|
+
* a glyph (the honesty-rule encoding).
|
|
66
|
+
*
|
|
67
|
+
* Glyph placement convention:
|
|
68
|
+
* - aggregation/composition: diamond at the WHOLE (source side)
|
|
69
|
+
* - generalization/realization: triangle at the SUPERTYPE (target side)
|
|
70
|
+
* - directed-association/dependency: open-arrow at the TARGET
|
|
71
|
+
*/
|
|
72
|
+
declare const RELATION_GLYPHS: Record<UmlRelationshipKind, {
|
|
73
|
+
sourceEnd: GlyphKind;
|
|
74
|
+
targetEnd: GlyphKind;
|
|
75
|
+
line: "solid" | "dashed";
|
|
76
|
+
}>;
|
|
77
|
+
interface UmlInput {
|
|
78
|
+
classes: UmlClass[];
|
|
79
|
+
relationships: UmlRelationship[];
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/** Labels woven into element/box <title>s by the LAYOUT (verbatim-preserving). */
|
|
83
|
+
interface UmlTitleLabels {
|
|
84
|
+
/** Display name for each relationship kind (in <title>s). */
|
|
85
|
+
kinds: Record<UmlRelationshipKind, string>;
|
|
86
|
+
/** Display name for each visibility level (in feature <title>s). */
|
|
87
|
+
visibilities: Record<UmlVisibility, string>;
|
|
88
|
+
}
|
|
89
|
+
declare const UML_TITLE_LABELS_EN: UmlTitleLabels;
|
|
90
|
+
/** Labels drawn by the SVG EMITTER (legend entries, accessibility text). */
|
|
91
|
+
interface UmlSvgLabels {
|
|
92
|
+
legend: Record<UmlRelationshipKind, string>;
|
|
93
|
+
ariaLabel: string;
|
|
94
|
+
}
|
|
95
|
+
declare const UML_SVG_LABELS_EN: UmlSvgLabels;
|
|
96
|
+
|
|
97
|
+
export { type GlyphKind as G, RELATION_GLYPHS as R, UML_RELATIONSHIPS as U, UML_SVG_LABELS_EN as a, UML_TITLE_LABELS_EN as b, UML_VISIBILITIES as c, UML_VIS_GLYPH as d, type UmlClass as e, type UmlFeature as f, type UmlInput as g, type UmlRelationship as h, type UmlRelationshipKind as i, type UmlSvgLabels as j, type UmlTitleLabels as k, type UmlVisibility as l };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
declare const UML_VISIBILITIES: readonly ["public", "private", "protected", "package"];
|
|
2
|
+
type UmlVisibility = (typeof UML_VISIBILITIES)[number];
|
|
3
|
+
/** Universal OMG notation glyphs — NOT localized. */
|
|
4
|
+
declare const UML_VIS_GLYPH: Record<UmlVisibility, string>;
|
|
5
|
+
interface UmlFeature {
|
|
6
|
+
/** null = no visibility marker drawn. */
|
|
7
|
+
visibility: UmlVisibility | null;
|
|
8
|
+
/**
|
|
9
|
+
* Verbatim signature text — drawn AS GIVEN, NEVER parsed.
|
|
10
|
+
* e.g. "name: String" / "getName(): String".
|
|
11
|
+
*/
|
|
12
|
+
text: string;
|
|
13
|
+
/** When true, a <line> underline is drawn under the text run. */
|
|
14
|
+
isStatic?: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface UmlClass {
|
|
17
|
+
id: number;
|
|
18
|
+
/** Verbatim name; italic rendering when isAbstract. */
|
|
19
|
+
name: string;
|
|
20
|
+
/**
|
|
21
|
+
* «interface»/«enumeration»/«abstract» line above name; verbatim, drawn only
|
|
22
|
+
* when declared (not null). Caller includes the guillemets when desired.
|
|
23
|
+
*/
|
|
24
|
+
stereotype: string | null;
|
|
25
|
+
isAbstract?: boolean;
|
|
26
|
+
attributes: UmlFeature[];
|
|
27
|
+
operations: UmlFeature[];
|
|
28
|
+
/**
|
|
29
|
+
* DECLARED grid cell (the escape hatch for a general graph).
|
|
30
|
+
* Non-negative integers required on every class.
|
|
31
|
+
*/
|
|
32
|
+
col: number;
|
|
33
|
+
row: number;
|
|
34
|
+
/** <title> override. */
|
|
35
|
+
title?: string;
|
|
36
|
+
}
|
|
37
|
+
declare const UML_RELATIONSHIPS: readonly ["association", "directed-association", "aggregation", "composition", "generalization", "realization", "dependency"];
|
|
38
|
+
type UmlRelationshipKind = (typeof UML_RELATIONSHIPS)[number];
|
|
39
|
+
interface UmlRelationship {
|
|
40
|
+
id: number;
|
|
41
|
+
kind: UmlRelationshipKind;
|
|
42
|
+
/** Direction per-kind via RELATION_GLYPHS; generalization: source=subclass, target=superclass. */
|
|
43
|
+
sourceId: number;
|
|
44
|
+
targetId: number;
|
|
45
|
+
/** Verbatim multiplicity strings — NEVER parsed/validated. null = none drawn. */
|
|
46
|
+
sourceMultiplicity: string | null;
|
|
47
|
+
targetMultiplicity: string | null;
|
|
48
|
+
/** Verbatim role names at the ends. null = none drawn. */
|
|
49
|
+
sourceRole: string | null;
|
|
50
|
+
targetRole: string | null;
|
|
51
|
+
/** Verbatim relationship name drawn at mid-edge. null = none drawn. */
|
|
52
|
+
label: string | null;
|
|
53
|
+
/** <title> override. */
|
|
54
|
+
title?: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The five distinct glyph shapes used for UML relationship ends.
|
|
58
|
+
* "none" = plain line terminus (no arrowhead or decoration).
|
|
59
|
+
*/
|
|
60
|
+
type GlyphKind = "none" | "open-arrow" | "hollow-triangle" | "hollow-diamond" | "solid-diamond";
|
|
61
|
+
/**
|
|
62
|
+
* RELATION_GLYPHS — the single source of truth mapping a relationship kind to
|
|
63
|
+
* its standard UML end decorations and line style.
|
|
64
|
+
* The caller picks a KIND and the standard glyph follows — they cannot mis-state
|
|
65
|
+
* a glyph (the honesty-rule encoding).
|
|
66
|
+
*
|
|
67
|
+
* Glyph placement convention:
|
|
68
|
+
* - aggregation/composition: diamond at the WHOLE (source side)
|
|
69
|
+
* - generalization/realization: triangle at the SUPERTYPE (target side)
|
|
70
|
+
* - directed-association/dependency: open-arrow at the TARGET
|
|
71
|
+
*/
|
|
72
|
+
declare const RELATION_GLYPHS: Record<UmlRelationshipKind, {
|
|
73
|
+
sourceEnd: GlyphKind;
|
|
74
|
+
targetEnd: GlyphKind;
|
|
75
|
+
line: "solid" | "dashed";
|
|
76
|
+
}>;
|
|
77
|
+
interface UmlInput {
|
|
78
|
+
classes: UmlClass[];
|
|
79
|
+
relationships: UmlRelationship[];
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/** Labels woven into element/box <title>s by the LAYOUT (verbatim-preserving). */
|
|
83
|
+
interface UmlTitleLabels {
|
|
84
|
+
/** Display name for each relationship kind (in <title>s). */
|
|
85
|
+
kinds: Record<UmlRelationshipKind, string>;
|
|
86
|
+
/** Display name for each visibility level (in feature <title>s). */
|
|
87
|
+
visibilities: Record<UmlVisibility, string>;
|
|
88
|
+
}
|
|
89
|
+
declare const UML_TITLE_LABELS_EN: UmlTitleLabels;
|
|
90
|
+
/** Labels drawn by the SVG EMITTER (legend entries, accessibility text). */
|
|
91
|
+
interface UmlSvgLabels {
|
|
92
|
+
legend: Record<UmlRelationshipKind, string>;
|
|
93
|
+
ariaLabel: string;
|
|
94
|
+
}
|
|
95
|
+
declare const UML_SVG_LABELS_EN: UmlSvgLabels;
|
|
96
|
+
|
|
97
|
+
export { type GlyphKind as G, RELATION_GLYPHS as R, UML_RELATIONSHIPS as U, UML_SVG_LABELS_EN as a, UML_TITLE_LABELS_EN as b, UML_VISIBILITIES as c, UML_VIS_GLYPH as d, type UmlClass as e, type UmlFeature as f, type UmlInput as g, type UmlRelationship as h, type UmlRelationshipKind as i, type UmlSvgLabels as j, type UmlTitleLabels as k, type UmlVisibility as l };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/** A node's own symmetric-or-asymmetric half-extents plus its children's half-extents. */
|
|
2
|
+
interface PackNode {
|
|
3
|
+
ownHalfL: number;
|
|
4
|
+
ownHalfR: number;
|
|
5
|
+
/** One entry per child, in placement order; empty = leaf. */
|
|
6
|
+
children: {
|
|
7
|
+
halfL: number;
|
|
8
|
+
halfR: number;
|
|
9
|
+
}[];
|
|
10
|
+
}
|
|
11
|
+
interface PackGaps {
|
|
12
|
+
siblingGap: number;
|
|
13
|
+
}
|
|
14
|
+
interface PackResult {
|
|
15
|
+
/** Subtree half-extents (cover the ENTIRE subtree). */
|
|
16
|
+
halfL: number;
|
|
17
|
+
halfR: number;
|
|
18
|
+
/** Center offset of each child relative to this node's center (parallel to children). */
|
|
19
|
+
offsets: number[];
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Span-packs a node's children into disjoint horizontal intervals (the fault-tree `pack`
|
|
23
|
+
* transposed top-down). Children c1..cn: x1 = 0; x_{i+1} = x_i + halfR_i + siblingGap +
|
|
24
|
+
* halfL_{i+1}. Parent axis a = (x1 + xn)/2 — centered over its line-report block. The
|
|
25
|
+
* returned offsets are each child's center MINUS the parent axis. Subtree halfL/halfR
|
|
26
|
+
* extend ownHalf* to cover the children block. Pure + deterministic.
|
|
27
|
+
*/
|
|
28
|
+
declare function packSubtree(node: PackNode, gaps: PackGaps): PackResult;
|
|
29
|
+
/** Allocate lanes for a set of y-intervals: each takes the lowest lane free over its span
|
|
30
|
+
* (touching at an endpoint does NOT count as overlap, so abutting edges may share). Mirror
|
|
31
|
+
* of the genogram allocateLanes (src/genogram/layout.ts) — keeps the gutter narrow. */
|
|
32
|
+
declare function allocateLanes(items: {
|
|
33
|
+
lo: number;
|
|
34
|
+
hi: number;
|
|
35
|
+
set: (lane: number) => void;
|
|
36
|
+
}[]): number;
|
|
37
|
+
interface BandRow {
|
|
38
|
+
/** Height of the content row itself (tallest box, etc.). */
|
|
39
|
+
rowH: number;
|
|
40
|
+
/** Height of the side-zone hanging BELOW the row and ABOVE the corridor
|
|
41
|
+
* (assistant stack, gate zone, …). Pass 0 when there is no zone. */
|
|
42
|
+
zoneH: number;
|
|
43
|
+
}
|
|
44
|
+
interface BandStackOpts {
|
|
45
|
+
/** Canvas padding placed above row 0 and below the last row. */
|
|
46
|
+
padding: number;
|
|
47
|
+
/** Vertical gap between rows (the bus lives at busY = next rowTop − corridor/2). */
|
|
48
|
+
corridor: number;
|
|
49
|
+
}
|
|
50
|
+
interface BandStackResult {
|
|
51
|
+
/** rowTop[d] = y of the top edge of row d. rowTop[0] = padding. */
|
|
52
|
+
rowTop: number[];
|
|
53
|
+
/** y of the bus (connector horizontal bar) between row d and row d+1. */
|
|
54
|
+
busY: (d: number) => number;
|
|
55
|
+
/** Total canvas height (last row bottom + last zoneH + padding). */
|
|
56
|
+
height: number;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Stacks rows top-down with a corridor between them.
|
|
60
|
+
*
|
|
61
|
+
* Recurrence:
|
|
62
|
+
* rowTop[0] = padding
|
|
63
|
+
* rowTop[d+1] = rowTop[d] + rows[d].rowH + rows[d].zoneH + corridor
|
|
64
|
+
* busY(d) = rowTop[d+1] − corridor / 2
|
|
65
|
+
* height = rowTop[last] + rows[last].rowH + rows[last].zoneH + padding
|
|
66
|
+
*
|
|
67
|
+
* An empty `rows` array returns `{ rowTop: [], busY: () => 0, height: padding * 2 }`.
|
|
68
|
+
* Pure + deterministic.
|
|
69
|
+
*/
|
|
70
|
+
declare function bandStack(rows: BandRow[], opts: BandStackOpts): BandStackResult;
|
|
71
|
+
|
|
72
|
+
export { type BandRow as B, type PackGaps as P, type BandStackOpts as a, type BandStackResult as b, type PackNode as c, type PackResult as d, allocateLanes as e, bandStack as f, packSubtree as p };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/** A node's own symmetric-or-asymmetric half-extents plus its children's half-extents. */
|
|
2
|
+
interface PackNode {
|
|
3
|
+
ownHalfL: number;
|
|
4
|
+
ownHalfR: number;
|
|
5
|
+
/** One entry per child, in placement order; empty = leaf. */
|
|
6
|
+
children: {
|
|
7
|
+
halfL: number;
|
|
8
|
+
halfR: number;
|
|
9
|
+
}[];
|
|
10
|
+
}
|
|
11
|
+
interface PackGaps {
|
|
12
|
+
siblingGap: number;
|
|
13
|
+
}
|
|
14
|
+
interface PackResult {
|
|
15
|
+
/** Subtree half-extents (cover the ENTIRE subtree). */
|
|
16
|
+
halfL: number;
|
|
17
|
+
halfR: number;
|
|
18
|
+
/** Center offset of each child relative to this node's center (parallel to children). */
|
|
19
|
+
offsets: number[];
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Span-packs a node's children into disjoint horizontal intervals (the fault-tree `pack`
|
|
23
|
+
* transposed top-down). Children c1..cn: x1 = 0; x_{i+1} = x_i + halfR_i + siblingGap +
|
|
24
|
+
* halfL_{i+1}. Parent axis a = (x1 + xn)/2 — centered over its line-report block. The
|
|
25
|
+
* returned offsets are each child's center MINUS the parent axis. Subtree halfL/halfR
|
|
26
|
+
* extend ownHalf* to cover the children block. Pure + deterministic.
|
|
27
|
+
*/
|
|
28
|
+
declare function packSubtree(node: PackNode, gaps: PackGaps): PackResult;
|
|
29
|
+
/** Allocate lanes for a set of y-intervals: each takes the lowest lane free over its span
|
|
30
|
+
* (touching at an endpoint does NOT count as overlap, so abutting edges may share). Mirror
|
|
31
|
+
* of the genogram allocateLanes (src/genogram/layout.ts) — keeps the gutter narrow. */
|
|
32
|
+
declare function allocateLanes(items: {
|
|
33
|
+
lo: number;
|
|
34
|
+
hi: number;
|
|
35
|
+
set: (lane: number) => void;
|
|
36
|
+
}[]): number;
|
|
37
|
+
interface BandRow {
|
|
38
|
+
/** Height of the content row itself (tallest box, etc.). */
|
|
39
|
+
rowH: number;
|
|
40
|
+
/** Height of the side-zone hanging BELOW the row and ABOVE the corridor
|
|
41
|
+
* (assistant stack, gate zone, …). Pass 0 when there is no zone. */
|
|
42
|
+
zoneH: number;
|
|
43
|
+
}
|
|
44
|
+
interface BandStackOpts {
|
|
45
|
+
/** Canvas padding placed above row 0 and below the last row. */
|
|
46
|
+
padding: number;
|
|
47
|
+
/** Vertical gap between rows (the bus lives at busY = next rowTop − corridor/2). */
|
|
48
|
+
corridor: number;
|
|
49
|
+
}
|
|
50
|
+
interface BandStackResult {
|
|
51
|
+
/** rowTop[d] = y of the top edge of row d. rowTop[0] = padding. */
|
|
52
|
+
rowTop: number[];
|
|
53
|
+
/** y of the bus (connector horizontal bar) between row d and row d+1. */
|
|
54
|
+
busY: (d: number) => number;
|
|
55
|
+
/** Total canvas height (last row bottom + last zoneH + padding). */
|
|
56
|
+
height: number;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Stacks rows top-down with a corridor between them.
|
|
60
|
+
*
|
|
61
|
+
* Recurrence:
|
|
62
|
+
* rowTop[0] = padding
|
|
63
|
+
* rowTop[d+1] = rowTop[d] + rows[d].rowH + rows[d].zoneH + corridor
|
|
64
|
+
* busY(d) = rowTop[d+1] − corridor / 2
|
|
65
|
+
* height = rowTop[last] + rows[last].rowH + rows[last].zoneH + padding
|
|
66
|
+
*
|
|
67
|
+
* An empty `rows` array returns `{ rowTop: [], busY: () => 0, height: padding * 2 }`.
|
|
68
|
+
* Pure + deterministic.
|
|
69
|
+
*/
|
|
70
|
+
declare function bandStack(rows: BandRow[], opts: BandStackOpts): BandStackResult;
|
|
71
|
+
|
|
72
|
+
export { type BandRow as B, type PackGaps as P, type BandStackOpts as a, type BandStackResult as b, type PackNode as c, type PackResult as d, allocateLanes as e, bandStack as f, packSubtree as p };
|
package/dist/locales/pt-br.cjs
CHANGED
|
@@ -217,6 +217,55 @@ var ORG_CHART_SVG_LABELS_PT_BR = {
|
|
|
217
217
|
},
|
|
218
218
|
ariaLabel: "Organograma"
|
|
219
219
|
};
|
|
220
|
+
var PRISMA_TITLE_LABELS_PT_BR = {
|
|
221
|
+
phases: {
|
|
222
|
+
identification: "Identifica\xE7\xE3o",
|
|
223
|
+
screening: "Triagem",
|
|
224
|
+
included: "Inclu\xEDdos"
|
|
225
|
+
},
|
|
226
|
+
nullCount: "n = \u2014",
|
|
227
|
+
arrowKinds: {
|
|
228
|
+
flow: "Fluxo",
|
|
229
|
+
exclusion: "Exclus\xE3o",
|
|
230
|
+
merge: "Jun\xE7\xE3o"
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
var PRISMA_SVG_LABELS_PT_BR = {
|
|
234
|
+
legend: {
|
|
235
|
+
flow: "Fluxo principal",
|
|
236
|
+
exclusion: "Exclu\xEDdos"
|
|
237
|
+
},
|
|
238
|
+
ariaLabel: "Diagrama de fluxo PRISMA 2020"
|
|
239
|
+
};
|
|
240
|
+
var UML_TITLE_LABELS_PT_BR = {
|
|
241
|
+
kinds: {
|
|
242
|
+
association: "associa\xE7\xE3o",
|
|
243
|
+
"directed-association": "associa\xE7\xE3o direcionada",
|
|
244
|
+
aggregation: "agrega\xE7\xE3o",
|
|
245
|
+
composition: "composi\xE7\xE3o",
|
|
246
|
+
generalization: "generaliza\xE7\xE3o",
|
|
247
|
+
realization: "realiza\xE7\xE3o",
|
|
248
|
+
dependency: "depend\xEAncia"
|
|
249
|
+
},
|
|
250
|
+
visibilities: {
|
|
251
|
+
public: "p\xFAblico",
|
|
252
|
+
private: "privado",
|
|
253
|
+
protected: "protegido",
|
|
254
|
+
package: "pacote"
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
var UML_SVG_LABELS_PT_BR = {
|
|
258
|
+
legend: {
|
|
259
|
+
association: "Associa\xE7\xE3o",
|
|
260
|
+
"directed-association": "Associa\xE7\xE3o direcionada",
|
|
261
|
+
aggregation: "Agrega\xE7\xE3o",
|
|
262
|
+
composition: "Composi\xE7\xE3o",
|
|
263
|
+
generalization: "Generaliza\xE7\xE3o",
|
|
264
|
+
realization: "Realiza\xE7\xE3o",
|
|
265
|
+
dependency: "Depend\xEAncia"
|
|
266
|
+
},
|
|
267
|
+
ariaLabel: "Diagrama de classes UML"
|
|
268
|
+
};
|
|
220
269
|
|
|
221
270
|
exports.ECOMAP_LABELS_PT_BR = ECOMAP_LABELS_PT_BR;
|
|
222
271
|
exports.FAULT_TREE_SVG_LABELS_PT_BR = FAULT_TREE_SVG_LABELS_PT_BR;
|
|
@@ -231,6 +280,10 @@ exports.PEDIGREE_SVG_LABELS_PT_BR = PEDIGREE_SVG_LABELS_PT_BR;
|
|
|
231
280
|
exports.PEDIGREE_TITLE_LABELS_PT_BR = PEDIGREE_TITLE_LABELS_PT_BR;
|
|
232
281
|
exports.PHYLO_SVG_LABELS_PT_BR = PHYLO_SVG_LABELS_PT_BR;
|
|
233
282
|
exports.PHYLO_TITLE_LABELS_PT_BR = PHYLO_TITLE_LABELS_PT_BR;
|
|
283
|
+
exports.PRISMA_SVG_LABELS_PT_BR = PRISMA_SVG_LABELS_PT_BR;
|
|
284
|
+
exports.PRISMA_TITLE_LABELS_PT_BR = PRISMA_TITLE_LABELS_PT_BR;
|
|
234
285
|
exports.QUALITY_LEXICON_PT_BR = QUALITY_LEXICON_PT_BR;
|
|
286
|
+
exports.UML_SVG_LABELS_PT_BR = UML_SVG_LABELS_PT_BR;
|
|
287
|
+
exports.UML_TITLE_LABELS_PT_BR = UML_TITLE_LABELS_PT_BR;
|
|
235
288
|
//# sourceMappingURL=pt-br.cjs.map
|
|
236
289
|
//# sourceMappingURL=pt-br.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/locales/pt-br.ts"],"names":[],"mappings":";;;AAiBO,IAAM,qBAAA,GAAwC;AAAA,EACnD,OAAA,EAAS;AAAA,IACP;AAAA,MACE,KAAA,EAAO,OAAA;AAAA,MACP,OAAA,EAAS,CAAC,QAAA,EAAU,MAAA,EAAQ,UAAU,MAAA,EAAQ,MAAA,EAAQ,MAAA,EAAQ,SAAA,EAAW,UAAU;AAAA,KACrF;AAAA,IACA;AAAA,MACE,KAAA,EAAO,SAAA;AAAA,MACP,SAAS,CAAC,SAAA,EAAW,SAAS,QAAA,EAAU,MAAA,EAAQ,QAAQ,OAAO;AAAA,KACjE;AAAA,IACA;AAAA,MACE,KAAA,EAAO,UAAA;AAAA,MACP,OAAA,EAAS,CAAC,SAAA,EAAW,OAAA,EAAS,MAAA,EAAQ,MAAA,EAAQ,SAAA,EAAW,QAAA,EAAU,QAAA,EAAU,QAAA,EAAU,UAAA,EAAY,WAAW;AAAA,KAChH;AAAA,IACA;AAAA,MACE,KAAA,EAAO,QAAA;AAAA,MACP,OAAA,EAAS,CAAC,MAAA,EAAQ,QAAA,EAAU,eAAe,OAAO;AAAA;AACpD,GACF;AAAA,EACA,SAAA,EAAW,CAAC,KAAA,EAAO,OAAA,EAAS,OAAO,QAAQ;AAC7C;AAKO,IAAM,aAAA,GAAgC;AAAA,EAC3C,OAAA,sBAAa,GAAA,CAAI;AAAA,IACf,OAAA;AAAA,IAAS,MAAA;AA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AA;AAAA,EACd,OAAA,EAAS,SAAA;AAAA,EACT,KAAA,EAAO,OAAA;AAAA,EACP,GAAA,EAAK,OAAA;AAAA,EACL,IAAA,EAAM;AACR;AAEO,IAAM,sBAAA,GAAyC;AAAA,EACpD,OAAA,EAAS,wCAAA;AAAA,EACT,QAAA,EAAU,0CAAA;AAAA,EACV,UAAA,EAAY,gDAAA;AAAA,EACZ,SAAA,EAAW;AAAA,IACT,SAAA,EAAW,wCAAA;AAAA,IACX,SAAA,EAAW;AAAA;AAEf;AAEO,IAAM,4BAAA,GAAoD;AAAA,EAC/D,WAAA,EAAa;AAAA,IACX,IAAA,EAAM,WAAA;AAAA,IACN,SAAA,EAAW,eAAA;AAAA,IACX,MAAA,EAAQ;AAAA,GACV;AAAA,EACA,MAAA,EAAQ;AACV;AAEO,IAAM,0BAAA,GAAgD;AAAA,EAC3D,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,WAAA;AAAA,IACN,SAAA,EAAW,YAAA;AAAA,IACX,MAAA,EAAQ,8BAAA;AAAA,IACR,MAAA,EAAQ;AAAA,GACV;AAAA,EACA,SAAA,EAAW;AACb","file":"pt-br.cjs","sourcesContent":["// Brazilian Portuguese locale pack — lexicons + display vocabularies. Pass these into\n// the genogram/ecomap options to localize both the lexical matchers (quality words,\n// kinship words) and every human-readable string the diagrams emit.\n\nimport type { QualityLexicon } from \"../core\";\nimport type { KinshipLexicon } from \"../genogram/kinship\";\nimport type { GenogramSvgLabels, GenogramTitleLabels } from \"../genogram/labels\";\nimport type { EcomapLabels } from \"../ecomap/render\";\nimport type { FaultTreeSvgLabels, FaultTreeTitleLabels } from \"../fault-tree/labels\";\nimport type { FishboneLabels } from \"../fishbone/render\";\nimport type { PedigreeSvgLabels, PedigreeTitleLabels } from \"../pedigree/labels\";\nimport type { PhyloSvgLabels, PhyloTitleLabels } from \"../phylo/labels\";\nimport type { OrgChartSvgLabels, OrgChartTitleLabels } from \"../org-chart/labels\";\n\n// Needles are diacritic-free, lowercase substrings; the matcher's single-bucket rule\n// keeps competing signals honest. \"sem\" is deliberately NOT a negation: it is a\n// genuine cutoff signal (\"sem contato\").\nexport const QUALITY_LEXICON_PT_BR: QualityLexicon = {\n buckets: [\n {\n style: \"close\",\n needles: [\"proxim\", \"unid\", \"carinh\", \"afet\", \"apeg\", \"amig\", \"harmoni\", \"saudavel\"],\n },\n {\n style: \"distant\",\n needles: [\"distant\", \"afast\", \"ausent\", \"frio\", \"fria\", \"separ\"],\n },\n {\n style: \"conflict\",\n needles: [\"conflit\", \"briga\", \"brig\", \"tens\", \"dificil\", \"hostil\", \"violen\", \"abusiv\", \"agressiv\", \"complicad\"],\n },\n {\n style: \"cutoff\",\n needles: [\"romp\", \"cortad\", \"sem contato\", \"corte\"],\n },\n ],\n negations: [\"nao\", \"nunca\", \"nem\", \"jamais\"],\n};\n\n// Diacritic-free tokens matched WHOLE (\"meio-irmão\" → [\"meio\",\"irmao\"]; \"avó materna\" →\n// [\"avo\",\"materna\"]). Derived kinship is checked first, so \"irmão por parte de pai\"\n// reads as a sibling, never as a parent.\nexport const KINSHIP_PT_BR: KinshipLexicon = {\n derived: new Set([\n \"irmao\", \"irma\", \"irmaos\", \"irmas\", \"mano\", \"mana\", \"manos\", \"manas\",\n \"avo\", \"avos\", \"bisavo\", \"bisava\", \"bisavos\", \"tataravo\",\n \"neto\", \"neta\", \"netos\", \"netas\", \"bisneto\", \"bisneta\", \"bisnetos\", \"bisnetas\",\n \"tio\", \"tia\", \"tios\", \"tias\",\n \"primo\", \"prima\", \"primos\", \"primas\",\n \"sobrinho\", \"sobrinha\", \"sobrinhos\", \"sobrinhas\",\n ]),\n parentage: new Set([\n \"mae\", \"maes\", \"pai\", \"pais\", \"genitor\", \"genitora\", \"genitores\",\n \"filho\", \"filha\", \"filhos\", \"filhas\",\n ]),\n childWords: new Set([\"filho\", \"filha\", \"filhos\", \"filhas\"]),\n};\n\nexport const GENOGRAM_TITLE_LABELS_PT_BR: GenogramTitleLabels = {\n unionStatus: {\n married: \"casados\",\n cohabiting: \"união estável\",\n dating: \"namoro\",\n separated: \"separados\",\n divorced: \"divorciados\",\n coparental: \"co-pais (sem união)\",\n unknown: \"união (tipo não informado)\",\n },\n parentage: \"genitor(a) de\",\n};\n\nexport const GENOGRAM_SVG_LABELS_PT_BR: GenogramSvgLabels = {\n shapes: {\n square: \"Homem\",\n circle: \"Mulher\",\n diamond: \"Sexo não informado\",\n },\n deceased: \"Falecido(a)\",\n bondStyles: {\n close: \"Próximo\",\n distant: \"Distante\",\n conflict: \"Conflituoso\",\n cutoff: \"Rompido (sem contato)\",\n },\n isolated: \"Sem ascendência registrada\",\n ariaLabel: \"Mapa da família (genograma)\",\n};\n\nexport const ECOMAP_LABELS_PT_BR: EcomapLabels = {\n bondStyles: {\n close: \"Próximo\",\n distant: \"Distante\",\n conflict: \"Conflituoso\",\n cutoff: \"Rompido (sem contato)\",\n },\n neutralTie: \"Vínculo declarado\",\n direction: \"Sentido declarado do vínculo\",\n ariaLabel: \"Ecomapa\",\n};\n\nexport const FAULT_TREE_TITLE_LABELS_PT_BR: FaultTreeTitleLabels = {\n gates: {\n and: \"Porta E\",\n or: \"Porta OU\",\n xor: \"Porta OU exclusivo\",\n inhibit: \"Porta de inibição\",\n vote: \"Porta de votação\",\n },\n condition: \"condição\",\n};\n\nexport const FAULT_TREE_SVG_LABELS_PT_BR: FaultTreeSvgLabels = {\n events: {\n intermediate: \"Evento intermediário\",\n basic: \"Evento básico\",\n undeveloped: \"Evento não desenvolvido\",\n house: \"Evento externo (esperado)\",\n conditioning: \"Evento condicionante\",\n transfer: \"Transferência (desenvolvido em outra árvore)\",\n },\n gates: {\n and: \"Porta E (todas as entradas)\",\n or: \"Porta OU (qualquer entrada)\",\n xor: \"Porta OU exclusivo (exatamente uma entrada)\",\n inhibit: \"Porta de inibição (entrada sob condição)\",\n vote: \"Porta de votação (k de n)\",\n },\n ariaLabel: \"Árvore de falhas\",\n};\n\nexport const FISHBONE_LABELS_PT_BR: FishboneLabels = {\n cause: \"Causa\",\n subCause: \"Subcausa\",\n ariaLabel: \"Diagrama de causa e efeito (Ishikawa)\",\n};\n\nexport const PEDIGREE_TITLE_LABELS_PT_BR: PedigreeTitleLabels = {\n affected: \"afetado(a) por\",\n carrier: \"portador(a)\",\n deceased: \"falecido(a)\",\n proband: \"probando\",\n consultand: \"consulente\",\n consanguineous: \"união consanguínea\",\n mating: \"união\",\n sibship: \"prole\",\n twins: {\n mz: \"gêmeos monozigóticos\",\n dz: \"gêmeos dizigóticos\",\n unknown: \"gêmeos, zigosidade desconhecida\",\n },\n stillbirth: \"natimorto\",\n generation: \"geração\",\n};\n\nexport const PEDIGREE_SVG_LABELS_PT_BR: PedigreeSvgLabels = {\n shapes: {\n square: \"Homem\",\n circle: \"Mulher\",\n diamond: \"Sexo não informado\",\n },\n unaffected: \"Não afetado(a)\",\n carrier: \"Portador(a)\",\n deceased: \"Falecido(a)\",\n proband: \"Probando\",\n consultand: \"Consulente\",\n consanguineous: \"União consanguínea\",\n twins: {\n mz: \"Gêmeos monozigóticos\",\n dz: \"Gêmeos dizigóticos\",\n unknown: \"Gêmeos (zigosidade desconhecida)\",\n },\n stillbirth: \"Natimorto\",\n isolated: \"Sem parentes registrados\",\n ariaLabel: \"Heredograma\",\n};\n\nexport const PHYLO_TITLE_LABELS_PT_BR: PhyloTitleLabels = {\n branchLength: \"comprimento do ramo\",\n support: \"suporte\",\n clade: \"clado\",\n tip: \"ponta\",\n root: \"raiz\",\n};\n\nexport const PHYLO_SVG_LABELS_PT_BR: PhyloSvgLabels = {\n support: \"Valor de suporte (bootstrap/posterior)\",\n scaleBar: \"Escala: substituições por sítio\",\n alignedTip: \"Ponta alinhada (posição real pontilhada)\",\n ariaLabel: {\n cladogram: \"Árvore filogenética (cladograma)\",\n phylogram: \"Árvore filogenética (filograma)\",\n },\n};\n\nexport const ORG_CHART_TITLE_LABELS_PT_BR: OrgChartTitleLabels = {\n reportKinds: {\n line: \"Reporta a\",\n assistant: \"Assistente de\",\n dotted: \"Reporte matricial a\",\n },\n vacant: \"(vago)\",\n};\n\nexport const ORG_CHART_SVG_LABELS_PT_BR: OrgChartSvgLabels = {\n legend: {\n line: \"Reporta a\",\n assistant: \"Assistente\",\n dotted: \"Linha pontilhada / matricial\",\n vacant: \"Cargo vago\",\n },\n ariaLabel: \"Organograma\",\n};\n"]}
|
|
1
|
+
{"version":3,"sources":["../../src/locales/pt-br.ts"],"names":[],"mappings":";;;AAoBO,IAAM,qBAAA,GAAwC;AAAA,EACnD,OAAA,EAAS;AAAA,IACP;AAAA,MACE,KAAA,EAAO,OAAA;AAAA,MACP,OAAA,EAAS,CAAC,QAAA,EAAU,MAAA,EAAQ,UAAU,MAAA,EAAQ,MAAA,EAAQ,MAAA,EAAQ,SAAA,EAAW,UAAU;AAAA,KACrF;AAAA,IACA;AAAA,MACE,KAAA,EAAO,SAAA;AAAA,MACP,SAAS,CAAC,SAAA,EAAW,SAAS,QAAA,EAAU,MAAA,EAAQ,QAAQ,OAAO;AAAA,KACjE;AAAA,IACA;AAAA,MACE,KAAA,EAAO,UAAA;AAAA,MACP,OAAA,EAAS,CAAC,SAAA,EAAW,OAAA,EAAS,MAAA,EAAQ,MAAA,EAAQ,SAAA,EAAW,QAAA,EAAU,QAAA,EAAU,QAAA,EAAU,UAAA,EAAY,WAAW;AAAA,KAChH;AAAA,IACA;AAAA,MACE,KAAA,EAAO,QAAA;AAAA,MACP,OAAA,EAAS,CAAC,MAAA,EAAQ,QAAA,EAAU,eAAe,OAAO;AAAA;AACpD,GACF;AAAA,EACA,SAAA,EAAW,CAAC,KAAA,EAAO,OAAA,EAAS,OAAO,QAAQ;AAC7C;AAKO,IAAM,aAAA,GAAgC;AAAA,EAC3C,OAAA,sBAAa,GAAA,CAAI;AAAA,IACf,OAAA;AAAA,IAAS,MAAA;AAAA,IAAQ,QAAA;AAAA,IAAU,OAAA;AAAA,IAAS,MAAA;AAAA,IAAQ,MAAA;AAAA,IAAQ,OAAA;AAAA,IAAS,O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,qBAAA;AAAA,IAChB,WAAA,EAAa,kBAAA;AAAA,IACb,UAAA,EAAY;AAAA,GACd;AAAA,EACA,YAAA,EAAc;AAAA,IACZ,MAAA,EAAQ,YAAA;AAAA,IACR,OAAA,EAAS,SAAA;AAAA,IACT,SAAA,EAAW,WAAA;AAAA,IACX,OAAA,EAAS;AAAA;AAEb;AAEO,IAAM,oBAAA,GAAqC;AAAA,EAChD,MAAA,EAAQ;AAAA,IACN,WAAA,EAAa,kBAAA;AAAA,IACb,sBAAA,EAAwB,8BAAA;AAAA,IACxB,WAAA,EAAa,iBAAA;AAAA,IACb,WAAA,EAAa,kBAAA;AAAA,IACb,cAAA,EAAgB,qBAAA;AAAA,IAChB,WAAA,EAAa,kBAAA;AAAA,IACb,UAAA,EAAY;AAAA,GACd;AAAA,EACA,SAAA,EAAW;AACb","file":"pt-br.cjs","sourcesContent":["// Brazilian Portuguese locale pack — lexicons + display vocabularies. Pass these into\n// the genogram/ecomap options to localize both the lexical matchers (quality words,\n// kinship words) and every human-readable string the diagrams emit.\n\nimport type { QualityLexicon } from \"../core\";\nimport type { KinshipLexicon } from \"../genogram/kinship\";\nimport type { GenogramSvgLabels, GenogramTitleLabels } from \"../genogram/labels\";\nimport type { EcomapLabels } from \"../ecomap/render\";\nimport type { FaultTreeSvgLabels, FaultTreeTitleLabels } from \"../fault-tree/labels\";\nimport type { FishboneLabels } from \"../fishbone/render\";\nimport type { PedigreeSvgLabels, PedigreeTitleLabels } from \"../pedigree/labels\";\nimport type { PhyloSvgLabels, PhyloTitleLabels } from \"../phylo/labels\";\nimport type { OrgChartSvgLabels, OrgChartTitleLabels } from \"../org-chart/labels\";\nimport type { PrismaSvgLabels, PrismaTitleLabels } from \"../prisma/labels\";\n// ── UML (separate block to minimize conflict with PRISMA parallel additions) ──\nimport type { UmlSvgLabels, UmlTitleLabels } from \"../uml/labels\";\n\n// Needles are diacritic-free, lowercase substrings; the matcher's single-bucket rule\n// keeps competing signals honest. \"sem\" is deliberately NOT a negation: it is a\n// genuine cutoff signal (\"sem contato\").\nexport const QUALITY_LEXICON_PT_BR: QualityLexicon = {\n buckets: [\n {\n style: \"close\",\n needles: [\"proxim\", \"unid\", \"carinh\", \"afet\", \"apeg\", \"amig\", \"harmoni\", \"saudavel\"],\n },\n {\n style: \"distant\",\n needles: [\"distant\", \"afast\", \"ausent\", \"frio\", \"fria\", \"separ\"],\n },\n {\n style: \"conflict\",\n needles: [\"conflit\", \"briga\", \"brig\", \"tens\", \"dificil\", \"hostil\", \"violen\", \"abusiv\", \"agressiv\", \"complicad\"],\n },\n {\n style: \"cutoff\",\n needles: [\"romp\", \"cortad\", \"sem contato\", \"corte\"],\n },\n ],\n negations: [\"nao\", \"nunca\", \"nem\", \"jamais\"],\n};\n\n// Diacritic-free tokens matched WHOLE (\"meio-irmão\" → [\"meio\",\"irmao\"]; \"avó materna\" →\n// [\"avo\",\"materna\"]). Derived kinship is checked first, so \"irmão por parte de pai\"\n// reads as a sibling, never as a parent.\nexport const KINSHIP_PT_BR: KinshipLexicon = {\n derived: new Set([\n \"irmao\", \"irma\", \"irmaos\", \"irmas\", \"mano\", \"mana\", \"manos\", \"manas\",\n \"avo\", \"avos\", \"bisavo\", \"bisava\", \"bisavos\", \"tataravo\",\n \"neto\", \"neta\", \"netos\", \"netas\", \"bisneto\", \"bisneta\", \"bisnetos\", \"bisnetas\",\n \"tio\", \"tia\", \"tios\", \"tias\",\n \"primo\", \"prima\", \"primos\", \"primas\",\n \"sobrinho\", \"sobrinha\", \"sobrinhos\", \"sobrinhas\",\n ]),\n parentage: new Set([\n \"mae\", \"maes\", \"pai\", \"pais\", \"genitor\", \"genitora\", \"genitores\",\n \"filho\", \"filha\", \"filhos\", \"filhas\",\n ]),\n childWords: new Set([\"filho\", \"filha\", \"filhos\", \"filhas\"]),\n};\n\nexport const GENOGRAM_TITLE_LABELS_PT_BR: GenogramTitleLabels = {\n unionStatus: {\n married: \"casados\",\n cohabiting: \"união estável\",\n dating: \"namoro\",\n separated: \"separados\",\n divorced: \"divorciados\",\n coparental: \"co-pais (sem união)\",\n unknown: \"união (tipo não informado)\",\n },\n parentage: \"genitor(a) de\",\n};\n\nexport const GENOGRAM_SVG_LABELS_PT_BR: GenogramSvgLabels = {\n shapes: {\n square: \"Homem\",\n circle: \"Mulher\",\n diamond: \"Sexo não informado\",\n },\n deceased: \"Falecido(a)\",\n bondStyles: {\n close: \"Próximo\",\n distant: \"Distante\",\n conflict: \"Conflituoso\",\n cutoff: \"Rompido (sem contato)\",\n },\n isolated: \"Sem ascendência registrada\",\n ariaLabel: \"Mapa da família (genograma)\",\n};\n\nexport const ECOMAP_LABELS_PT_BR: EcomapLabels = {\n bondStyles: {\n close: \"Próximo\",\n distant: \"Distante\",\n conflict: \"Conflituoso\",\n cutoff: \"Rompido (sem contato)\",\n },\n neutralTie: \"Vínculo declarado\",\n direction: \"Sentido declarado do vínculo\",\n ariaLabel: \"Ecomapa\",\n};\n\nexport const FAULT_TREE_TITLE_LABELS_PT_BR: FaultTreeTitleLabels = {\n gates: {\n and: \"Porta E\",\n or: \"Porta OU\",\n xor: \"Porta OU exclusivo\",\n inhibit: \"Porta de inibição\",\n vote: \"Porta de votação\",\n },\n condition: \"condição\",\n};\n\nexport const FAULT_TREE_SVG_LABELS_PT_BR: FaultTreeSvgLabels = {\n events: {\n intermediate: \"Evento intermediário\",\n basic: \"Evento básico\",\n undeveloped: \"Evento não desenvolvido\",\n house: \"Evento externo (esperado)\",\n conditioning: \"Evento condicionante\",\n transfer: \"Transferência (desenvolvido em outra árvore)\",\n },\n gates: {\n and: \"Porta E (todas as entradas)\",\n or: \"Porta OU (qualquer entrada)\",\n xor: \"Porta OU exclusivo (exatamente uma entrada)\",\n inhibit: \"Porta de inibição (entrada sob condição)\",\n vote: \"Porta de votação (k de n)\",\n },\n ariaLabel: \"Árvore de falhas\",\n};\n\nexport const FISHBONE_LABELS_PT_BR: FishboneLabels = {\n cause: \"Causa\",\n subCause: \"Subcausa\",\n ariaLabel: \"Diagrama de causa e efeito (Ishikawa)\",\n};\n\nexport const PEDIGREE_TITLE_LABELS_PT_BR: PedigreeTitleLabels = {\n affected: \"afetado(a) por\",\n carrier: \"portador(a)\",\n deceased: \"falecido(a)\",\n proband: \"probando\",\n consultand: \"consulente\",\n consanguineous: \"união consanguínea\",\n mating: \"união\",\n sibship: \"prole\",\n twins: {\n mz: \"gêmeos monozigóticos\",\n dz: \"gêmeos dizigóticos\",\n unknown: \"gêmeos, zigosidade desconhecida\",\n },\n stillbirth: \"natimorto\",\n generation: \"geração\",\n};\n\nexport const PEDIGREE_SVG_LABELS_PT_BR: PedigreeSvgLabels = {\n shapes: {\n square: \"Homem\",\n circle: \"Mulher\",\n diamond: \"Sexo não informado\",\n },\n unaffected: \"Não afetado(a)\",\n carrier: \"Portador(a)\",\n deceased: \"Falecido(a)\",\n proband: \"Probando\",\n consultand: \"Consulente\",\n consanguineous: \"União consanguínea\",\n twins: {\n mz: \"Gêmeos monozigóticos\",\n dz: \"Gêmeos dizigóticos\",\n unknown: \"Gêmeos (zigosidade desconhecida)\",\n },\n stillbirth: \"Natimorto\",\n isolated: \"Sem parentes registrados\",\n ariaLabel: \"Heredograma\",\n};\n\nexport const PHYLO_TITLE_LABELS_PT_BR: PhyloTitleLabels = {\n branchLength: \"comprimento do ramo\",\n support: \"suporte\",\n clade: \"clado\",\n tip: \"ponta\",\n root: \"raiz\",\n};\n\nexport const PHYLO_SVG_LABELS_PT_BR: PhyloSvgLabels = {\n support: \"Valor de suporte (bootstrap/posterior)\",\n scaleBar: \"Escala: substituições por sítio\",\n alignedTip: \"Ponta alinhada (posição real pontilhada)\",\n ariaLabel: {\n cladogram: \"Árvore filogenética (cladograma)\",\n phylogram: \"Árvore filogenética (filograma)\",\n },\n};\n\nexport const ORG_CHART_TITLE_LABELS_PT_BR: OrgChartTitleLabels = {\n reportKinds: {\n line: \"Reporta a\",\n assistant: \"Assistente de\",\n dotted: \"Reporte matricial a\",\n },\n vacant: \"(vago)\",\n};\n\nexport const ORG_CHART_SVG_LABELS_PT_BR: OrgChartSvgLabels = {\n legend: {\n line: \"Reporta a\",\n assistant: \"Assistente\",\n dotted: \"Linha pontilhada / matricial\",\n vacant: \"Cargo vago\",\n },\n ariaLabel: \"Organograma\",\n};\n\nexport const PRISMA_TITLE_LABELS_PT_BR: PrismaTitleLabels = {\n phases: {\n identification: \"Identificação\",\n screening: \"Triagem\",\n included: \"Incluídos\",\n },\n nullCount: \"n = —\",\n arrowKinds: {\n flow: \"Fluxo\",\n exclusion: \"Exclusão\",\n merge: \"Junção\",\n },\n};\n\nexport const PRISMA_SVG_LABELS_PT_BR: PrismaSvgLabels = {\n legend: {\n flow: \"Fluxo principal\",\n exclusion: \"Excluídos\",\n },\n ariaLabel: \"Diagrama de fluxo PRISMA 2020\",\n};\n\n// ── UML class diagram — pt-BR labels ─────────────────────────────────────────\n// Glyph markers (+, -, #, ~) are universal OMG notation and are NOT localized.\n\nexport const UML_TITLE_LABELS_PT_BR: UmlTitleLabels = {\n kinds: {\n association: \"associação\",\n \"directed-association\": \"associação direcionada\",\n aggregation: \"agregação\",\n composition: \"composição\",\n generalization: \"generalização\",\n realization: \"realização\",\n dependency: \"dependência\",\n },\n visibilities: {\n public: \"público\",\n private: \"privado\",\n protected: \"protegido\",\n package: \"pacote\",\n },\n};\n\nexport const UML_SVG_LABELS_PT_BR: UmlSvgLabels = {\n legend: {\n association: \"Associação\",\n \"directed-association\": \"Associação direcionada\",\n aggregation: \"Agregação\",\n composition: \"Composição\",\n generalization: \"Generalização\",\n realization: \"Realização\",\n dependency: \"Dependência\",\n },\n ariaLabel: \"Diagrama de classes UML\",\n};\n"]}
|