compasso 0.3.0 → 0.4.1
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 +95 -10
- package/dist/{chunk-RWPGGWO5.js → chunk-FYBABYC7.js} +34 -10
- package/dist/chunk-FYBABYC7.js.map +1 -0
- package/dist/{chunk-F47C6ZEB.js → chunk-IPE7JZO5.js} +3 -3
- package/dist/{chunk-F47C6ZEB.js.map → chunk-IPE7JZO5.js.map} +1 -1
- package/dist/{chunk-Q6DVTCXD.js → chunk-LR7BXUWM.js} +18 -6
- package/dist/chunk-LR7BXUWM.js.map +1 -0
- package/dist/{chunk-LRHHUJFZ.js → chunk-M4WA6ME7.js} +3 -3
- package/dist/{chunk-LRHHUJFZ.js.map → chunk-M4WA6ME7.js.map} +1 -1
- package/dist/{chunk-JP4N42AY.js → chunk-PGUMLTIM.js} +3 -3
- package/dist/{chunk-JP4N42AY.js.map → chunk-PGUMLTIM.js.map} +1 -1
- package/dist/{chunk-O3BT2O42.js → chunk-SD4NTRBM.js} +29 -3
- package/dist/chunk-SD4NTRBM.js.map +1 -0
- package/dist/chunk-TAE2UB7D.js +780 -0
- package/dist/chunk-TAE2UB7D.js.map +1 -0
- package/dist/{chunk-ZBDABVIO.js → chunk-WJYYBGZW.js} +3 -3
- package/dist/{chunk-ZBDABVIO.js.map → chunk-WJYYBGZW.js.map} +1 -1
- package/dist/core/index.cjs +30 -0
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +18 -2
- package/dist/core/index.d.ts +18 -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.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 +20 -4
- package/dist/genogram/index.d.ts +20 -4
- package/dist/genogram/index.js +2 -2
- package/dist/index.cjs +1052 -191
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +8 -7
- 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-B0aOMbHy.d.cts +103 -0
- package/dist/labels-B0aOMbHy.d.ts +103 -0
- package/dist/{labels-DNqRkWuI.d.ts → labels-CuLbFyrz.d.ts} +1 -1
- package/dist/{labels-CBQ_3Ec9.d.cts → labels-DhQe7I8m.d.cts} +1 -1
- package/dist/locales/pt-br.cjs +19 -0
- package/dist/locales/pt-br.cjs.map +1 -1
- package/dist/locales/pt-br.d.cts +7 -4
- package/dist/locales/pt-br.d.ts +7 -4
- package/dist/locales/pt-br.js +18 -1
- package/dist/locales/pt-br.js.map +1 -1
- package/dist/org-chart/index.cjs +895 -0
- package/dist/org-chart/index.cjs.map +1 -0
- package/dist/org-chart/index.d.cts +185 -0
- package/dist/org-chart/index.d.ts +185 -0
- package/dist/org-chart/index.js +4 -0
- package/dist/org-chart/index.js.map +1 -0
- package/dist/pedigree/index.d.cts +4 -4
- package/dist/pedigree/index.d.ts +4 -4
- package/dist/pedigree/index.js +2 -2
- package/dist/phylo/index.js +2 -2
- 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/package.json +28 -11
- 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/index.d.cts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
export { x as xmlEscape } from './xml-DDae1eUr.cjs';
|
|
2
|
-
export { LEGEND_FONT, LEGEND_GAP, LEGEND_PAD, LEGEND_ROW_H, LEGEND_SWATCH_W, LegendBlock, LegendEntry, legendBlock, romanNumeral } from './core/index.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
3
|
export { C as CHAR_W, F as FONT_FAMILY, P as Point, c as clampLabel, e as estimateTextWidth, p as pathData, w as wrapLabel, a as wrapLabelBalanced } from './text-DuO_PwYw.cjs';
|
|
4
4
|
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';
|
|
5
|
-
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-
|
|
6
|
-
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-
|
|
5
|
+
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
|
+
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
7
|
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';
|
|
8
8
|
export { ECOMAP_LABELS_EN, EcomapDirection, EcomapInput, EcomapLabels, EcomapSvgOptions, EcomapTie, ecomapSvg } from './ecomap/index.cjs';
|
|
9
9
|
export { A as AndGate, F as FAULT_TREE_EVENT_KINDS, a as FAULT_TREE_SVG_LABELS_EN, b as FAULT_TREE_TITLE_LABELS_EN, c as FaultTreeEvent, d as FaultTreeEventKind, e as FaultTreeGate, f as FaultTreeInput, g as FaultTreeSvgLabels, h as FaultTreeTitleLabels, G as GATE_TYPES, i as GateType, I as InhibitGate, O as OrGate, V as VoteGate, X as XorGate } from './labels-CYbM5XV7.cjs';
|
|
10
10
|
export { CODE_FONT, 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, FaultTreeElement, FaultTreeElementKind, FaultTreeGateNode, FaultTreeIssue, FaultTreeIssueCode, FaultTreeLayout, FaultTreeLayoutOptions, FaultTreeNode, FaultTreeRenderOptions, FaultTreeRenderResult, FaultTreeSvgOptions, FaultTreeValidationError, LABEL_GAP, computeFaultTreeLayout, faultTreeIssues, faultTreeLayoutSvg, faultTreeSvg, validateFaultTree } from './fault-tree/index.cjs';
|
|
11
11
|
export { FISHBONE_LABELS_EN, FishboneCategory, FishboneCause, FishboneInput, FishboneLabels, FishboneSubCause, FishboneSvgOptions, FishboneValidationCode, FishboneValidationError, FishboneValidationIssue, fishboneSvg } from './fishbone/index.cjs';
|
|
12
|
-
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, c as PedigreeInput, d as PedigreeRole, e as PedigreeSvgLabels, f as PedigreeTitleLabels, S as Sibship, T as TwinGroup, Z as Zygosity } from './labels-
|
|
12
|
+
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, c as PedigreeInput, d as PedigreeRole, e as PedigreeSvgLabels, f as PedigreeTitleLabels, S as Sibship, T as TwinGroup, Z as Zygosity } from './labels-DhQe7I8m.cjs';
|
|
13
13
|
export { MAX_CONDITIONS_PER_INDIVIDUAL, 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, PedigreeElement, PedigreeElementKind, PedigreeGenerationLabel, PedigreeIssue, PedigreeIssueCode, PedigreeLayout, PedigreeLayoutOptions, PedigreeNode, PedigreeRenderOptions, PedigreeRenderResult, PedigreeSvgOptions, PedigreeValidationError, computePedigreeLayout, pedigreeIssues, pedigreeLayoutSvg, pedigreeSvg, validatePedigree } from './pedigree/index.cjs';
|
|
14
14
|
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
15
|
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
|
+
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, PackGaps, PackNode, PackResult, computeOrgChartLayout, orgChartIssues, orgChartLayoutSvg, orgChartSvg, packSubtree, validateOrgChart } from './org-chart/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
export { x as xmlEscape } from './xml-DDae1eUr.js';
|
|
2
|
-
export { LEGEND_FONT, LEGEND_GAP, LEGEND_PAD, LEGEND_ROW_H, LEGEND_SWATCH_W, LegendBlock, LegendEntry, legendBlock, romanNumeral } from './core/index.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
3
|
export { C as CHAR_W, F as FONT_FAMILY, P as Point, c as clampLabel, e as estimateTextWidth, p as pathData, w as wrapLabel, a as wrapLabelBalanced } from './text-DuO_PwYw.js';
|
|
4
4
|
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';
|
|
5
|
-
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-
|
|
6
|
-
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-
|
|
5
|
+
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
|
+
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
7
|
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';
|
|
8
8
|
export { ECOMAP_LABELS_EN, EcomapDirection, EcomapInput, EcomapLabels, EcomapSvgOptions, EcomapTie, ecomapSvg } from './ecomap/index.js';
|
|
9
9
|
export { A as AndGate, F as FAULT_TREE_EVENT_KINDS, a as FAULT_TREE_SVG_LABELS_EN, b as FAULT_TREE_TITLE_LABELS_EN, c as FaultTreeEvent, d as FaultTreeEventKind, e as FaultTreeGate, f as FaultTreeInput, g as FaultTreeSvgLabels, h as FaultTreeTitleLabels, G as GATE_TYPES, i as GateType, I as InhibitGate, O as OrGate, V as VoteGate, X as XorGate } from './labels-CYbM5XV7.js';
|
|
10
10
|
export { CODE_FONT, 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, FaultTreeElement, FaultTreeElementKind, FaultTreeGateNode, FaultTreeIssue, FaultTreeIssueCode, FaultTreeLayout, FaultTreeLayoutOptions, FaultTreeNode, FaultTreeRenderOptions, FaultTreeRenderResult, FaultTreeSvgOptions, FaultTreeValidationError, LABEL_GAP, computeFaultTreeLayout, faultTreeIssues, faultTreeLayoutSvg, faultTreeSvg, validateFaultTree } from './fault-tree/index.js';
|
|
11
11
|
export { FISHBONE_LABELS_EN, FishboneCategory, FishboneCause, FishboneInput, FishboneLabels, FishboneSubCause, FishboneSvgOptions, FishboneValidationCode, FishboneValidationError, FishboneValidationIssue, fishboneSvg } from './fishbone/index.js';
|
|
12
|
-
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, c as PedigreeInput, d as PedigreeRole, e as PedigreeSvgLabels, f as PedigreeTitleLabels, S as Sibship, T as TwinGroup, Z as Zygosity } from './labels-
|
|
12
|
+
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, c as PedigreeInput, d as PedigreeRole, e as PedigreeSvgLabels, f as PedigreeTitleLabels, S as Sibship, T as TwinGroup, Z as Zygosity } from './labels-CuLbFyrz.js';
|
|
13
13
|
export { MAX_CONDITIONS_PER_INDIVIDUAL, 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, PedigreeElement, PedigreeElementKind, PedigreeGenerationLabel, PedigreeIssue, PedigreeIssueCode, PedigreeLayout, PedigreeLayoutOptions, PedigreeNode, PedigreeRenderOptions, PedigreeRenderResult, PedigreeSvgOptions, PedigreeValidationError, computePedigreeLayout, pedigreeIssues, pedigreeLayoutSvg, pedigreeSvg, validatePedigree } from './pedigree/index.js';
|
|
14
14
|
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
15
|
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
|
+
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, PackGaps, PackNode, PackResult, computeOrgChartLayout, orgChartIssues, orgChartLayoutSvg, orgChartSvg, packSubtree, validateOrgChart } from './org-chart/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
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, packSubtree, validateOrgChart } from './chunk-TAE2UB7D.js';
|
|
2
|
+
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-FYBABYC7.js';
|
|
3
|
+
export { ECOMAP_LABELS_EN, ecomapSvg } from './chunk-LR7BXUWM.js';
|
|
4
|
+
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-M4WA6ME7.js';
|
|
5
|
+
export { FISHBONE_LABELS_EN, FishboneValidationError, fishboneSvg } from './chunk-WJYYBGZW.js';
|
|
6
|
+
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-IPE7JZO5.js';
|
|
7
|
+
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-PGUMLTIM.js';
|
|
8
|
+
export { ANNOTATION_INK, CHAR_W, EDGE_STROKE, FONT_FAMILY, LEGEND_FONT, LEGEND_GAP, LEGEND_PAD, LEGEND_ROW_H, LEGEND_SWATCH_W, QUALITY_LEXICON_EN, annotationDot, annotationSwatch, annotationTick, clampLabel, estimateTextWidth, legendBlock, normalizeText, pathData, qualityLineStyle, romanNumeral, wrapLabel, wrapLabelBalanced, xmlEscape } from './chunk-SD4NTRBM.js';
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
|
9
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as EdgeLineStyle } from './stroke-MQ427drt.js';
|
|
2
|
-
import { N as NodeShape, d as UnionStatus } from './types-
|
|
2
|
+
import { N as NodeShape, d as UnionStatus } from './types-jE2fdM1t.js';
|
|
3
3
|
|
|
4
4
|
/** Labels woven into element <title>s by the LAYOUT (verbatim-preserving). */
|
|
5
5
|
interface GenogramTitleLabels {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as EdgeLineStyle } from './stroke-MQ427drt.cjs';
|
|
2
|
-
import { N as NodeShape, d as UnionStatus } from './types-
|
|
2
|
+
import { N as NodeShape, d as UnionStatus } from './types-jE2fdM1t.cjs';
|
|
3
3
|
|
|
4
4
|
/** Labels woven into element <title>s by the LAYOUT (verbatim-preserving). */
|
|
5
5
|
interface GenogramTitleLabels {
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLOSED reporting vocabulary — a line is drawn ONLY for a declared relationship, styled
|
|
3
|
+
* ONLY by a declared kind. No inference, no synthesis.
|
|
4
|
+
* - "line" — solid PRIMARY reporting line; defines the tree spine (a node's row & parent).
|
|
5
|
+
* - "assistant" — solid SIDE-STEM staff/EA role; STILL a structural child of exactly one
|
|
6
|
+
* manager (it sets the report's row = manager.depth + 1 band), but drawn
|
|
7
|
+
* beside the manager's stem above the line-report bus rather than packed
|
|
8
|
+
* into the sibling rake.
|
|
9
|
+
* - "dotted" — dashed secondary/matrix line. NON-STRUCTURAL: never defines a row or a
|
|
10
|
+
* parent; an OVERLAY between two already-placed boxes (dotted-line-manager
|
|
11
|
+
* convention).
|
|
12
|
+
*/
|
|
13
|
+
declare const ORG_REPORT_KINDS: readonly ["line", "assistant", "dotted"];
|
|
14
|
+
type OrgReportKind = (typeof ORG_REPORT_KINDS)[number];
|
|
15
|
+
/**
|
|
16
|
+
* CLOSED vacancy vocabulary. A box is vacant ONLY when DECLARED so — never inferred from
|
|
17
|
+
* an empty name. A vacant box may legitimately carry a name (a departed incumbent or a
|
|
18
|
+
* target hire); both are drawn.
|
|
19
|
+
*/
|
|
20
|
+
declare const ORG_VACANCIES: readonly ["filled", "vacant"];
|
|
21
|
+
type OrgVacancy = (typeof ORG_VACANCIES)[number];
|
|
22
|
+
/**
|
|
23
|
+
* A declared organizational position (one box). `name`/`title`/`subtitle` are verbatim
|
|
24
|
+
* (always kept in the <title>); empty strings / nulls are drawn as declared.
|
|
25
|
+
*/
|
|
26
|
+
interface OrgPosition {
|
|
27
|
+
id: number;
|
|
28
|
+
/** Verbatim person/role name — line 1 of the box. "" allowed (drawn empty; <title> intact). */
|
|
29
|
+
name: string;
|
|
30
|
+
/** Verbatim job title — line 2 (smaller). null = name-only box. */
|
|
31
|
+
title: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* OPTIONAL third line (department/unit), verbatim, measured into boxW like the others.
|
|
34
|
+
* null = none. NOT a metrics/compensation field — that interpretive cut stands.
|
|
35
|
+
*/
|
|
36
|
+
subtitle: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* "vacant" → dashed box + inset open-seat frame + localized "(vago)" marker line.
|
|
39
|
+
* A box is vacant ONLY when DECLARED so — never inferred from an empty name.
|
|
40
|
+
* (validation defaults an absent value → "filled").
|
|
41
|
+
*/
|
|
42
|
+
vacancy: OrgVacancy;
|
|
43
|
+
/** Verbatim <title> override; defaults below (see svg.ts). */
|
|
44
|
+
hover?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Caller-asserted annotation flag. compasso never decides what "annotated" MEANS —
|
|
47
|
+
* it only draws a discreet dot at the box's upper-right when true. Default undefined
|
|
48
|
+
* === not annotated (backward-compatible).
|
|
49
|
+
*/
|
|
50
|
+
annotated?: boolean;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* One row per DECLARED relationship, manager → report. There is no `order` column in
|
|
54
|
+
* v0.4.0 — sibling order among reports is by ascending `reportId`.
|
|
55
|
+
*/
|
|
56
|
+
interface OrgReport {
|
|
57
|
+
id: number;
|
|
58
|
+
/** Manager — drawn ABOVE. */
|
|
59
|
+
managerId: number;
|
|
60
|
+
/** Report — drawn BELOW (line) or side-stemmed (assistant). */
|
|
61
|
+
reportId: number;
|
|
62
|
+
/** Reporting-line kind (validation defaults an absent value → "line"). */
|
|
63
|
+
kind: OrgReportKind;
|
|
64
|
+
/** Verbatim relationship label (e.g. "interim", "matrix") for the <title>; null = none. */
|
|
65
|
+
label?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Caller-asserted annotation flag. compasso never decides what "annotated" MEANS —
|
|
68
|
+
* it only draws a discreet tick at the edge's midpoint when true. Default undefined
|
|
69
|
+
* === not annotated (backward-compatible).
|
|
70
|
+
*/
|
|
71
|
+
annotated?: boolean;
|
|
72
|
+
}
|
|
73
|
+
/** Input to the org-chart render pipeline — flat, id-referenced rows, never nested. */
|
|
74
|
+
interface OrgChartInput {
|
|
75
|
+
positions: OrgPosition[];
|
|
76
|
+
reports: OrgReport[];
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Presentation-only derived box style (solid = filled, dashed = vacant). Computed in
|
|
80
|
+
* render.ts / svg.ts from `vacancy` — NOT an input field.
|
|
81
|
+
*/
|
|
82
|
+
type OrgBoxStyle = "solid" | "dashed";
|
|
83
|
+
|
|
84
|
+
/** Labels woven into element/box <title>s by the LAYOUT (verbatim-preserving). */
|
|
85
|
+
interface OrgChartTitleLabels {
|
|
86
|
+
reportKinds: Record<OrgReportKind, string>;
|
|
87
|
+
/** The "(vacant)" box marker line, drawn inside a vacant box. */
|
|
88
|
+
vacant: string;
|
|
89
|
+
}
|
|
90
|
+
declare const ORG_CHART_TITLE_LABELS_EN: OrgChartTitleLabels;
|
|
91
|
+
/** Labels drawn by the SVG EMITTER (legend entries, accessibility text). */
|
|
92
|
+
interface OrgChartSvgLabels {
|
|
93
|
+
legend: {
|
|
94
|
+
line: string;
|
|
95
|
+
assistant: string;
|
|
96
|
+
dotted: string;
|
|
97
|
+
vacant: string;
|
|
98
|
+
};
|
|
99
|
+
ariaLabel: string;
|
|
100
|
+
}
|
|
101
|
+
declare const ORG_CHART_SVG_LABELS_EN: OrgChartSvgLabels;
|
|
102
|
+
|
|
103
|
+
export { ORG_CHART_SVG_LABELS_EN as O, ORG_CHART_TITLE_LABELS_EN as a, ORG_REPORT_KINDS as b, ORG_VACANCIES as c, type OrgBoxStyle as d, type OrgChartInput as e, type OrgChartSvgLabels as f, type OrgChartTitleLabels as g, type OrgPosition as h, type OrgReport as i, type OrgReportKind as j, type OrgVacancy as k };
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLOSED reporting vocabulary — a line is drawn ONLY for a declared relationship, styled
|
|
3
|
+
* ONLY by a declared kind. No inference, no synthesis.
|
|
4
|
+
* - "line" — solid PRIMARY reporting line; defines the tree spine (a node's row & parent).
|
|
5
|
+
* - "assistant" — solid SIDE-STEM staff/EA role; STILL a structural child of exactly one
|
|
6
|
+
* manager (it sets the report's row = manager.depth + 1 band), but drawn
|
|
7
|
+
* beside the manager's stem above the line-report bus rather than packed
|
|
8
|
+
* into the sibling rake.
|
|
9
|
+
* - "dotted" — dashed secondary/matrix line. NON-STRUCTURAL: never defines a row or a
|
|
10
|
+
* parent; an OVERLAY between two already-placed boxes (dotted-line-manager
|
|
11
|
+
* convention).
|
|
12
|
+
*/
|
|
13
|
+
declare const ORG_REPORT_KINDS: readonly ["line", "assistant", "dotted"];
|
|
14
|
+
type OrgReportKind = (typeof ORG_REPORT_KINDS)[number];
|
|
15
|
+
/**
|
|
16
|
+
* CLOSED vacancy vocabulary. A box is vacant ONLY when DECLARED so — never inferred from
|
|
17
|
+
* an empty name. A vacant box may legitimately carry a name (a departed incumbent or a
|
|
18
|
+
* target hire); both are drawn.
|
|
19
|
+
*/
|
|
20
|
+
declare const ORG_VACANCIES: readonly ["filled", "vacant"];
|
|
21
|
+
type OrgVacancy = (typeof ORG_VACANCIES)[number];
|
|
22
|
+
/**
|
|
23
|
+
* A declared organizational position (one box). `name`/`title`/`subtitle` are verbatim
|
|
24
|
+
* (always kept in the <title>); empty strings / nulls are drawn as declared.
|
|
25
|
+
*/
|
|
26
|
+
interface OrgPosition {
|
|
27
|
+
id: number;
|
|
28
|
+
/** Verbatim person/role name — line 1 of the box. "" allowed (drawn empty; <title> intact). */
|
|
29
|
+
name: string;
|
|
30
|
+
/** Verbatim job title — line 2 (smaller). null = name-only box. */
|
|
31
|
+
title: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* OPTIONAL third line (department/unit), verbatim, measured into boxW like the others.
|
|
34
|
+
* null = none. NOT a metrics/compensation field — that interpretive cut stands.
|
|
35
|
+
*/
|
|
36
|
+
subtitle: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* "vacant" → dashed box + inset open-seat frame + localized "(vago)" marker line.
|
|
39
|
+
* A box is vacant ONLY when DECLARED so — never inferred from an empty name.
|
|
40
|
+
* (validation defaults an absent value → "filled").
|
|
41
|
+
*/
|
|
42
|
+
vacancy: OrgVacancy;
|
|
43
|
+
/** Verbatim <title> override; defaults below (see svg.ts). */
|
|
44
|
+
hover?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Caller-asserted annotation flag. compasso never decides what "annotated" MEANS —
|
|
47
|
+
* it only draws a discreet dot at the box's upper-right when true. Default undefined
|
|
48
|
+
* === not annotated (backward-compatible).
|
|
49
|
+
*/
|
|
50
|
+
annotated?: boolean;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* One row per DECLARED relationship, manager → report. There is no `order` column in
|
|
54
|
+
* v0.4.0 — sibling order among reports is by ascending `reportId`.
|
|
55
|
+
*/
|
|
56
|
+
interface OrgReport {
|
|
57
|
+
id: number;
|
|
58
|
+
/** Manager — drawn ABOVE. */
|
|
59
|
+
managerId: number;
|
|
60
|
+
/** Report — drawn BELOW (line) or side-stemmed (assistant). */
|
|
61
|
+
reportId: number;
|
|
62
|
+
/** Reporting-line kind (validation defaults an absent value → "line"). */
|
|
63
|
+
kind: OrgReportKind;
|
|
64
|
+
/** Verbatim relationship label (e.g. "interim", "matrix") for the <title>; null = none. */
|
|
65
|
+
label?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Caller-asserted annotation flag. compasso never decides what "annotated" MEANS —
|
|
68
|
+
* it only draws a discreet tick at the edge's midpoint when true. Default undefined
|
|
69
|
+
* === not annotated (backward-compatible).
|
|
70
|
+
*/
|
|
71
|
+
annotated?: boolean;
|
|
72
|
+
}
|
|
73
|
+
/** Input to the org-chart render pipeline — flat, id-referenced rows, never nested. */
|
|
74
|
+
interface OrgChartInput {
|
|
75
|
+
positions: OrgPosition[];
|
|
76
|
+
reports: OrgReport[];
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Presentation-only derived box style (solid = filled, dashed = vacant). Computed in
|
|
80
|
+
* render.ts / svg.ts from `vacancy` — NOT an input field.
|
|
81
|
+
*/
|
|
82
|
+
type OrgBoxStyle = "solid" | "dashed";
|
|
83
|
+
|
|
84
|
+
/** Labels woven into element/box <title>s by the LAYOUT (verbatim-preserving). */
|
|
85
|
+
interface OrgChartTitleLabels {
|
|
86
|
+
reportKinds: Record<OrgReportKind, string>;
|
|
87
|
+
/** The "(vacant)" box marker line, drawn inside a vacant box. */
|
|
88
|
+
vacant: string;
|
|
89
|
+
}
|
|
90
|
+
declare const ORG_CHART_TITLE_LABELS_EN: OrgChartTitleLabels;
|
|
91
|
+
/** Labels drawn by the SVG EMITTER (legend entries, accessibility text). */
|
|
92
|
+
interface OrgChartSvgLabels {
|
|
93
|
+
legend: {
|
|
94
|
+
line: string;
|
|
95
|
+
assistant: string;
|
|
96
|
+
dotted: string;
|
|
97
|
+
vacant: string;
|
|
98
|
+
};
|
|
99
|
+
ariaLabel: string;
|
|
100
|
+
}
|
|
101
|
+
declare const ORG_CHART_SVG_LABELS_EN: OrgChartSvgLabels;
|
|
102
|
+
|
|
103
|
+
export { ORG_CHART_SVG_LABELS_EN as O, ORG_CHART_TITLE_LABELS_EN as a, ORG_REPORT_KINDS as b, ORG_VACANCIES as c, type OrgBoxStyle as d, type OrgChartInput as e, type OrgChartSvgLabels as f, type OrgChartTitleLabels as g, type OrgPosition as h, type OrgReport as i, type OrgReportKind as j, type OrgVacancy as k };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as PersonSex, N as NodeShape } from './types-
|
|
1
|
+
import { b as PersonSex, N as NodeShape } from './types-jE2fdM1t.js';
|
|
2
2
|
|
|
3
3
|
/** PSSC proband (filled arrow) / consultand (open arrow); null = neither. */
|
|
4
4
|
type PedigreeRole = "proband" | "consultand" | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as PersonSex, N as NodeShape } from './types-
|
|
1
|
+
import { b as PersonSex, N as NodeShape } from './types-jE2fdM1t.cjs';
|
|
2
2
|
|
|
3
3
|
/** PSSC proband (filled arrow) / consultand (open arrow); null = neither. */
|
|
4
4
|
type PedigreeRole = "proband" | "consultand" | null;
|
package/dist/locales/pt-br.cjs
CHANGED
|
@@ -200,6 +200,23 @@ var PHYLO_SVG_LABELS_PT_BR = {
|
|
|
200
200
|
phylogram: "\xC1rvore filogen\xE9tica (filograma)"
|
|
201
201
|
}
|
|
202
202
|
};
|
|
203
|
+
var ORG_CHART_TITLE_LABELS_PT_BR = {
|
|
204
|
+
reportKinds: {
|
|
205
|
+
line: "Reporta a",
|
|
206
|
+
assistant: "Assistente de",
|
|
207
|
+
dotted: "Reporte matricial a"
|
|
208
|
+
},
|
|
209
|
+
vacant: "(vago)"
|
|
210
|
+
};
|
|
211
|
+
var ORG_CHART_SVG_LABELS_PT_BR = {
|
|
212
|
+
legend: {
|
|
213
|
+
line: "Reporta a",
|
|
214
|
+
assistant: "Assistente",
|
|
215
|
+
dotted: "Linha pontilhada / matricial",
|
|
216
|
+
vacant: "Cargo vago"
|
|
217
|
+
},
|
|
218
|
+
ariaLabel: "Organograma"
|
|
219
|
+
};
|
|
203
220
|
|
|
204
221
|
exports.ECOMAP_LABELS_PT_BR = ECOMAP_LABELS_PT_BR;
|
|
205
222
|
exports.FAULT_TREE_SVG_LABELS_PT_BR = FAULT_TREE_SVG_LABELS_PT_BR;
|
|
@@ -208,6 +225,8 @@ exports.FISHBONE_LABELS_PT_BR = FISHBONE_LABELS_PT_BR;
|
|
|
208
225
|
exports.GENOGRAM_SVG_LABELS_PT_BR = GENOGRAM_SVG_LABELS_PT_BR;
|
|
209
226
|
exports.GENOGRAM_TITLE_LABELS_PT_BR = GENOGRAM_TITLE_LABELS_PT_BR;
|
|
210
227
|
exports.KINSHIP_PT_BR = KINSHIP_PT_BR;
|
|
228
|
+
exports.ORG_CHART_SVG_LABELS_PT_BR = ORG_CHART_SVG_LABELS_PT_BR;
|
|
229
|
+
exports.ORG_CHART_TITLE_LABELS_PT_BR = ORG_CHART_TITLE_LABELS_PT_BR;
|
|
211
230
|
exports.PEDIGREE_SVG_LABELS_PT_BR = PEDIGREE_SVG_LABELS_PT_BR;
|
|
212
231
|
exports.PEDIGREE_TITLE_LABELS_PT_BR = PEDIGREE_TITLE_LABELS_PT_BR;
|
|
213
232
|
exports.PHYLO_SVG_LABELS_PT_BR = PHYLO_SVG_LABELS_PT_BR;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/locales/pt-br.ts"],"names":[],"mappings":";;;AAgBO,IAAM,qBAAA,GAAwC;AAAA,EACnD,OAAA,EAAS;AAAA,IACP;AAAA,MACE,KAAA,EAAO,OA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EACT,KAAA,EAAO;AAAA,IACL,EAAA,EAAI,4BAAA;AAAA,IACJ,EAAA,EAAI,0BAAA;AAAA,IACJ,OAAA,EAAS;AAAA,GACX;AAAA,EACA,UAAA,EAAY,WAAA;AAAA,EACZ,UAAA,EAAY;AACd;AAEO,IAAM,yBAAA,GAA+C;AAAA,EAC1D,MAAA,EAAQ;AAAA,IACN,MAAA,EAAQ,OAAA;AAAA,IACR,MAAA,EAAQ,QAAA;AAAA,IACR,OAAA,EAAS;AAAA,GACX;AAAA,EACA,UAAA,EAAY,mBAAA;AAAA,EACZ,OAAA,EAAS,aAAA;AAAA,EACT,QAAA,EAAU,aAAA;AAAA,EACV,OAAA,EAAS,UAAA;AAAA,EACT,UAAA,EAAY,YAAA;AAAA,EACZ,cAAA,EAAgB,0BAAA;AAAA,EAChB,KAAA,EAAO;AAAA,IACL,EAAA,EAAI,4BAAA;AAAA,IACJ,EAAA,EAAI,0BAAA;AAAA,IACJ,OAAA,EAAS;AAAA,GACX;AAAA,EACA,UAAA,EAAY,WAAA;AAAA,EACZ,QAAA,EAAU,0BAAA;AAAA,EACV,SAAA,EAAW;AACb;AAEO,IAAM,wBAAA,GAA6C;AAAA,EACxD,YAAA,EAAc,qBAAA;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","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\";\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"]}
|
|
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;AAAA,IAAQ,QAAA;AAAA,IAAU,OAAA;AAAA,IAAS,MAAA;AAAA,IAAQ,MAAA;AAAA,IAAQ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,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"]}
|
package/dist/locales/pt-br.d.cts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { c as QualityLexicon } from '../stroke-MQ427drt.cjs';
|
|
2
|
-
import { b as GenogramSvgLabels, c as GenogramTitleLabels, d as KinshipLexicon } from '../kinship-
|
|
2
|
+
import { b as GenogramSvgLabels, c as GenogramTitleLabels, d as KinshipLexicon } from '../kinship-BOUss5cT.cjs';
|
|
3
3
|
import { EcomapLabels } from '../ecomap/index.cjs';
|
|
4
4
|
import { g as FaultTreeSvgLabels, h as FaultTreeTitleLabels } from '../labels-CYbM5XV7.cjs';
|
|
5
5
|
import { FishboneLabels } from '../fishbone/index.cjs';
|
|
6
|
-
import { e as PedigreeSvgLabels, f as PedigreeTitleLabels } from '../labels-
|
|
6
|
+
import { e as PedigreeSvgLabels, f as PedigreeTitleLabels } from '../labels-DhQe7I8m.cjs';
|
|
7
7
|
import { f as PhyloSvgLabels, g as PhyloTitleLabels } from '../labels-iZjijjtK.cjs';
|
|
8
|
-
import '../
|
|
8
|
+
import { f as OrgChartSvgLabels, g as OrgChartTitleLabels } from '../labels-B0aOMbHy.cjs';
|
|
9
|
+
import '../types-jE2fdM1t.cjs';
|
|
9
10
|
|
|
10
11
|
declare const QUALITY_LEXICON_PT_BR: QualityLexicon;
|
|
11
12
|
declare const KINSHIP_PT_BR: KinshipLexicon;
|
|
@@ -19,5 +20,7 @@ declare const PEDIGREE_TITLE_LABELS_PT_BR: PedigreeTitleLabels;
|
|
|
19
20
|
declare const PEDIGREE_SVG_LABELS_PT_BR: PedigreeSvgLabels;
|
|
20
21
|
declare const PHYLO_TITLE_LABELS_PT_BR: PhyloTitleLabels;
|
|
21
22
|
declare const PHYLO_SVG_LABELS_PT_BR: PhyloSvgLabels;
|
|
23
|
+
declare const ORG_CHART_TITLE_LABELS_PT_BR: OrgChartTitleLabels;
|
|
24
|
+
declare const ORG_CHART_SVG_LABELS_PT_BR: OrgChartSvgLabels;
|
|
22
25
|
|
|
23
|
-
export { ECOMAP_LABELS_PT_BR, FAULT_TREE_SVG_LABELS_PT_BR, FAULT_TREE_TITLE_LABELS_PT_BR, FISHBONE_LABELS_PT_BR, GENOGRAM_SVG_LABELS_PT_BR, GENOGRAM_TITLE_LABELS_PT_BR, KINSHIP_PT_BR, PEDIGREE_SVG_LABELS_PT_BR, PEDIGREE_TITLE_LABELS_PT_BR, PHYLO_SVG_LABELS_PT_BR, PHYLO_TITLE_LABELS_PT_BR, QUALITY_LEXICON_PT_BR };
|
|
26
|
+
export { ECOMAP_LABELS_PT_BR, FAULT_TREE_SVG_LABELS_PT_BR, FAULT_TREE_TITLE_LABELS_PT_BR, FISHBONE_LABELS_PT_BR, GENOGRAM_SVG_LABELS_PT_BR, GENOGRAM_TITLE_LABELS_PT_BR, KINSHIP_PT_BR, ORG_CHART_SVG_LABELS_PT_BR, ORG_CHART_TITLE_LABELS_PT_BR, PEDIGREE_SVG_LABELS_PT_BR, PEDIGREE_TITLE_LABELS_PT_BR, PHYLO_SVG_LABELS_PT_BR, PHYLO_TITLE_LABELS_PT_BR, QUALITY_LEXICON_PT_BR };
|
package/dist/locales/pt-br.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { c as QualityLexicon } from '../stroke-MQ427drt.js';
|
|
2
|
-
import { b as GenogramSvgLabels, c as GenogramTitleLabels, d as KinshipLexicon } from '../kinship-
|
|
2
|
+
import { b as GenogramSvgLabels, c as GenogramTitleLabels, d as KinshipLexicon } from '../kinship-BF90HyyS.js';
|
|
3
3
|
import { EcomapLabels } from '../ecomap/index.js';
|
|
4
4
|
import { g as FaultTreeSvgLabels, h as FaultTreeTitleLabels } from '../labels-CYbM5XV7.js';
|
|
5
5
|
import { FishboneLabels } from '../fishbone/index.js';
|
|
6
|
-
import { e as PedigreeSvgLabels, f as PedigreeTitleLabels } from '../labels-
|
|
6
|
+
import { e as PedigreeSvgLabels, f as PedigreeTitleLabels } from '../labels-CuLbFyrz.js';
|
|
7
7
|
import { f as PhyloSvgLabels, g as PhyloTitleLabels } from '../labels-iZjijjtK.js';
|
|
8
|
-
import '../
|
|
8
|
+
import { f as OrgChartSvgLabels, g as OrgChartTitleLabels } from '../labels-B0aOMbHy.js';
|
|
9
|
+
import '../types-jE2fdM1t.js';
|
|
9
10
|
|
|
10
11
|
declare const QUALITY_LEXICON_PT_BR: QualityLexicon;
|
|
11
12
|
declare const KINSHIP_PT_BR: KinshipLexicon;
|
|
@@ -19,5 +20,7 @@ declare const PEDIGREE_TITLE_LABELS_PT_BR: PedigreeTitleLabels;
|
|
|
19
20
|
declare const PEDIGREE_SVG_LABELS_PT_BR: PedigreeSvgLabels;
|
|
20
21
|
declare const PHYLO_TITLE_LABELS_PT_BR: PhyloTitleLabels;
|
|
21
22
|
declare const PHYLO_SVG_LABELS_PT_BR: PhyloSvgLabels;
|
|
23
|
+
declare const ORG_CHART_TITLE_LABELS_PT_BR: OrgChartTitleLabels;
|
|
24
|
+
declare const ORG_CHART_SVG_LABELS_PT_BR: OrgChartSvgLabels;
|
|
22
25
|
|
|
23
|
-
export { ECOMAP_LABELS_PT_BR, FAULT_TREE_SVG_LABELS_PT_BR, FAULT_TREE_TITLE_LABELS_PT_BR, FISHBONE_LABELS_PT_BR, GENOGRAM_SVG_LABELS_PT_BR, GENOGRAM_TITLE_LABELS_PT_BR, KINSHIP_PT_BR, PEDIGREE_SVG_LABELS_PT_BR, PEDIGREE_TITLE_LABELS_PT_BR, PHYLO_SVG_LABELS_PT_BR, PHYLO_TITLE_LABELS_PT_BR, QUALITY_LEXICON_PT_BR };
|
|
26
|
+
export { ECOMAP_LABELS_PT_BR, FAULT_TREE_SVG_LABELS_PT_BR, FAULT_TREE_TITLE_LABELS_PT_BR, FISHBONE_LABELS_PT_BR, GENOGRAM_SVG_LABELS_PT_BR, GENOGRAM_TITLE_LABELS_PT_BR, KINSHIP_PT_BR, ORG_CHART_SVG_LABELS_PT_BR, ORG_CHART_TITLE_LABELS_PT_BR, PEDIGREE_SVG_LABELS_PT_BR, PEDIGREE_TITLE_LABELS_PT_BR, PHYLO_SVG_LABELS_PT_BR, PHYLO_TITLE_LABELS_PT_BR, QUALITY_LEXICON_PT_BR };
|
package/dist/locales/pt-br.js
CHANGED
|
@@ -198,7 +198,24 @@ var PHYLO_SVG_LABELS_PT_BR = {
|
|
|
198
198
|
phylogram: "\xC1rvore filogen\xE9tica (filograma)"
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
|
+
var ORG_CHART_TITLE_LABELS_PT_BR = {
|
|
202
|
+
reportKinds: {
|
|
203
|
+
line: "Reporta a",
|
|
204
|
+
assistant: "Assistente de",
|
|
205
|
+
dotted: "Reporte matricial a"
|
|
206
|
+
},
|
|
207
|
+
vacant: "(vago)"
|
|
208
|
+
};
|
|
209
|
+
var ORG_CHART_SVG_LABELS_PT_BR = {
|
|
210
|
+
legend: {
|
|
211
|
+
line: "Reporta a",
|
|
212
|
+
assistant: "Assistente",
|
|
213
|
+
dotted: "Linha pontilhada / matricial",
|
|
214
|
+
vacant: "Cargo vago"
|
|
215
|
+
},
|
|
216
|
+
ariaLabel: "Organograma"
|
|
217
|
+
};
|
|
201
218
|
|
|
202
|
-
export { ECOMAP_LABELS_PT_BR, FAULT_TREE_SVG_LABELS_PT_BR, FAULT_TREE_TITLE_LABELS_PT_BR, FISHBONE_LABELS_PT_BR, GENOGRAM_SVG_LABELS_PT_BR, GENOGRAM_TITLE_LABELS_PT_BR, KINSHIP_PT_BR, PEDIGREE_SVG_LABELS_PT_BR, PEDIGREE_TITLE_LABELS_PT_BR, PHYLO_SVG_LABELS_PT_BR, PHYLO_TITLE_LABELS_PT_BR, QUALITY_LEXICON_PT_BR };
|
|
219
|
+
export { ECOMAP_LABELS_PT_BR, FAULT_TREE_SVG_LABELS_PT_BR, FAULT_TREE_TITLE_LABELS_PT_BR, FISHBONE_LABELS_PT_BR, GENOGRAM_SVG_LABELS_PT_BR, GENOGRAM_TITLE_LABELS_PT_BR, KINSHIP_PT_BR, ORG_CHART_SVG_LABELS_PT_BR, ORG_CHART_TITLE_LABELS_PT_BR, PEDIGREE_SVG_LABELS_PT_BR, PEDIGREE_TITLE_LABELS_PT_BR, PHYLO_SVG_LABELS_PT_BR, PHYLO_TITLE_LABELS_PT_BR, QUALITY_LEXICON_PT_BR };
|
|
203
220
|
//# sourceMappingURL=pt-br.js.map
|
|
204
221
|
//# sourceMappingURL=pt-br.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/locales/pt-br.ts"],"names":[],"mappings":";AAgBO,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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,EACV,SAAA,EAAW;AACb;AAEO,IAAM,wBAAA,GAA6C;AAAA,EACxD,YAAA,EAAc,qBAAA;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","file":"pt-br.js","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\";\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"]}
|
|
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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AA,EAAS;AAAA,GACX;AAAA,EACA,UAAA,EAAY,mBAAA;AAAA,EACZ,OAAA,EAAS,aAAA;AAAA,EACT,QAAA,EAAU,aAAA;AAAA,EACV,OAAA,EAAS,UAAA;AAAA,EACT,UAAA,EAAY,YAAA;AAAA,EACZ,cAAA,EAAgB,0BAAA;AAAA,EAChB,KAAA,EAAO;AAAA,IACL,EAAA,EAAI,4BAAA;AAAA,IACJ,EAAA,EAAI,0BAAA;AAAA,IACJ,OAAA,EAAS;AAAA,GACX;AAAA,EACA,UAAA,EAAY,WAAA;AAAA,EACZ,QAAA,EAAU,0BAAA;AAAA,EACV,SAAA,EAAW;AACb;AAEO,IAAM,wBAAA,GAA6C;AAAA,EACxD,YAAA,EAAc,qBAAA;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.js","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"]}
|