WebApp shared: Plotly partial bundle, card actions, print report, export module

Plotly partial bundle (bar, scatter, box, pie, sankey, contour) replacing the cartesian dist; card-actions (published Measure definitions, settings, Volver); Descargar reporte with a print stylesheet; export module: xlsx with frozen header, autofilter, Parámetros sheet and 5,000-row cap, pdfmake documents with header/footer, allRows following next links, file names without patient identifiers; lazy-loaded export libraries.

Checks on milkpc (node:22): npm ci, ng build (initial 567 kB / 134 kB transfer), ng test 7 files passed.
This commit is contained in:
2026-11-30 13:36:35 -06:00
parent 5d03f333f7
commit 56d1ef2e8a
20 changed files with 2827 additions and 142 deletions
+12 -1
View File
@@ -3,6 +3,7 @@ import { MatTabsModule } from '@angular/material/tabs';
import type { Measure } from 'fhir/r4';
import { DOMAINS } from '../app';
import { Fhir, resources } from '../fhir';
import { ReportButton } from '../report-button';
import { TabDefiniciones } from './tab-definiciones';
import { TabIndicadores } from './tab-indicadores';
import { TabRiesgos } from './tab-riesgos';
@@ -14,6 +15,7 @@ import { TabTrazabilidad } from './tab-trazabilidad';
selector: 'app-indicadores',
imports: [
MatTabsModule,
ReportButton,
TabIndicadores,
TabTrazabilidad,
TabRiesgos,
@@ -22,7 +24,10 @@ import { TabTrazabilidad } from './tab-trazabilidad';
],
template: `
<section class="page">
<h1>{{ title() }}</h1>
<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>
@@ -68,6 +73,12 @@ 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;
}