Merge origin/rebuild into parity/T1-merge (WebApp)

rebuild's shell, auth and non-TEA pages; tea/parity's TEA pages on tea/parity's API.
- Routes: rebuild's signed-in tree; the TEA risk page joins it (domainAllowed reads the
  route's data domain when the path has no :domain).
- Indicadores: rebuild's header and its generic Resumen/Trazabilidad/Definiciones tabs
  (TEA as the reference page, fed by tea/parity's measures); TEA Seguimiento and Análisis
  de riesgo render tea/parity's tea-list inside rebuild's tab-seguimiento/tab-riesgos,
  which keep rebuild's CaCu/CaMa lists and patient search. rebuild's tab-riesgos-tea read
  rebuild's TEA Patient extensions, which are gone with its backend; tea-list already
  shows that list from tea/parity's FHIR search, so it is deleted rather than ported
  (its look is the base for T8/T9).
- Paciente: rebuild's record for CaCu/CaMa; TEA delegates to tea/parity's TeaRecord.
  rebuild's inline TEA sections read its EEG detail endpoint and are removed.
- Gobernanza: tea/parity's page (execution, models with checks/lineage, bundles, training,
  studies, preview) until T13; model headings use rebuild's model titles. figures.ts:
  rebuild's scenarios (drawn in the record) plus tea/parity's association forest.
- plot.ts: rebuild's layout helpers on tea/parity's partial Plotly bundle.
- Conectar: rebuild's KINDS/HELP with an entry for tea/parity's edf node.
- Dead code removed: measures boxes/sankey (tea/parity's old TEA tab), eeg-labels
  headMap/byDeviation/LEVEL_NAMES/METRIC_NAMES (rebuild's TEA record), e2e/layout.ts.
- e2e: tea/parity's TEA cases, signed in; rebuild's CaCu/CaMa/site cases need their
  hospitals loaded and come back with the page suite (T16).
- openapi.json and src/app/api: regenerated in the next commit.
This commit is contained in:
2026-11-30 23:56:25 -06:00
110 changed files with 7844 additions and 3042 deletions
+23 -17
View File
@@ -11,11 +11,13 @@ import { TabIndicadores } from './tab-indicadores';
import { TabRiesgos } from './tab-riesgos';
import { TabSeguimiento } from './tab-seguimiento';
import { TabTrazabilidad } from './tab-trazabilidad';
import { Loading } from '../loading';
/** A domain's indicator page: four tabs over its FHIR measures and patients. */
@Component({
selector: 'app-indicadores',
imports: [
Loading,
MatTabsModule,
ReportButton,
TabIndicadores,
@@ -26,15 +28,11 @@ import { TabTrazabilidad } from './tab-trazabilidad';
],
template: `
<section class="page">
<header class="page-header">
<h1>{{ title() }}</h1>
<app-report-button />
</header>
<p class="subtitle">
Indicadores de calidad y oportunidad del tamizaje, a partir de los datos cargados.
</p>
<h1>{{ title() }}</h1>
<p class="subtitle">Explora los indicadores de {{ title().toLowerCase() }}.</p>
<app-report-button />
@if (measures.isLoading()) {
<p class="muted">Cargando indicadores…</p>
<app-loading what="los indicadores" />
} @else if (measures.error()) {
<p class="muted" role="alert">No se pudieron leer los indicadores.</p>
} @else if (!measures.value()?.length) {
@@ -72,7 +70,7 @@ import { TabTrazabilidad } from './tab-trazabilidad';
</ng-template>
</mat-tab>
} @else if (domain() === 'cama') {
<mat-tab label="Seguimiento">
<mat-tab label="Análisis de riesgos">
<ng-template matTabContent>
<app-tab-seguimiento [domain]="domain()" />
</ng-template>
@@ -91,17 +89,25 @@ import { TabTrazabilidad } from './tab-trazabilidad';
:host {
display: block;
}
.page-header {
position: relative;
display: grid;
justify-items: center;
gap: var(--space-2);
}
h1 {
text-align: center;
font-size: 28px;
font-weight: 500;
margin: 16px 0 8px;
}
.subtitle {
text-align: center;
font-size: 16px;
margin: 0 0 24px;
}
::ng-deep .mat-mdc-tab-header {
background: var(--color-surface);
border-top: 2px solid var(--color-primary);
}
::ng-deep .mat-mdc-tab .mdc-tab__text-label {
font-size: 16px;
font-weight: 400;
}
::ng-deep .mat-mdc-tab.mdc-tab--active .mdc-tab__text-label {
font-weight: 700;
}
.empty {
padding: 48px 0;