CaCu Indicadores as the old page: its cards and words, the route, cytology and biopsy donuts, results by clinical scenario, confirmation rates; the page test compares with the capture; the guard injects before it waits

This commit is contained in:
Roberto Treviño
2026-11-28 10:03:31 -06:00
parent 198aae59da
commit 9a15ac6fcb
8 changed files with 720 additions and 67 deletions
+20 -6
View File
@@ -25,9 +25,7 @@ import { Loading } from '../loading';
template: `
<section class="page">
<h1>{{ title() }}</h1>
<p class="subtitle">
Indicadores de calidad y oportunidad del tamizaje, a partir de los datos cargados.
</p>
<p class="subtitle">Explora los indicadores de {{ title().toLowerCase() }}.</p>
@if (measures.isLoading()) {
<app-loading what="los indicadores" />
} @else if (measures.error()) {
@@ -51,7 +49,7 @@ import { Loading } from '../loading';
</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>
@@ -70,11 +68,27 @@ import { Loading } from '../loading';
:host {
display: block;
}
/* As the old page: the domain's name and a line under it, then a white tab bar under
an olive rule. */
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;