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
+9
View File
@@ -0,0 +1,9 @@
import { describe, expect, it } from 'vitest';
import { TRACES } from './plotly-bundle';
describe('Plotly partial bundle', () => {
it('registers the Sankey and contour traces', () => {
const names = TRACES.map((trace) => (trace as { name?: string }).name);
expect(names).toEqual(expect.arrayContaining(['sankey', 'contour', 'bar', 'scatter', 'box', 'pie']));
});
});