feat(indicadores): CaMa follow-up tab drawn from the announced filters and columns

The tab asks GET /cama/seguimiento when it is first opened and draws the form,
the table, the details and the pagination from what the answer announces, so a
later change of source behind the endpoint needs no change here. It shows the
demonstration notice when the answer is simulated, a clear pending state while
the endpoint is not published (404 on the first page), and error, empty and
retry states. Stale requests are cancelled.

The sections, CaCu and initial-integration specs now expect the CaMa request
when the tab opens.
This commit is contained in:
Angel Capetillo Zavala
2026-11-12 10:28:02 -06:00
parent ad8444a788
commit 8f01f8693d
7 changed files with 419 additions and 7 deletions
@@ -7,13 +7,14 @@ import { CacuSeguimientoService, validSeguimientoQuery } from './cacu-seguimient
import { latestStudy, SeguimientoPaciente, SeguimientoQuery, SeguimientoResponse, SeguimientoStatus } from './cacu-seguimiento.models';
import { MatButtonModule } from '@angular/material/button';
import { PacienteDetalleComponent } from './paciente-detalle/paciente-detalle';
import { IndicadoresSeguimientoTabla } from './indicadores-seguimiento-tabla';
import { PacienteDetalleState } from './paciente-detalle/paciente-detalle.state';
import { Dominio } from './indicadores.models';
import { IndicadoresService } from './indicadores.service';
@Component({
selector: 'app-indicadores-tracking',
imports: [FormsModule, MatButtonModule, PacienteDetalleComponent],
imports: [FormsModule, MatButtonModule, PacienteDetalleComponent, IndicadoresSeguimientoTabla],
providers: [PacienteDetalleState],
templateUrl: './indicadores-tracking.html',
styleUrl: './indicadores-tracking.scss',