dca39203d2
Added a "Periodos a mostrar" selector to the Trazabilidad filters, as in the reference history tab. - period-selection.ts: pure functions for the initial window, the periods shown for a choice, the select options, the year grouping and the labels. - periods-dialog.ts: Material dialog with the periods of the interval by year, checkboxes, choose all and clear all, and a count of what is chosen. - tab-trazabilidad.ts: the select offers the latest periods in steps of five, all, and a custom choice that opens the dialog; the choice is kept per interval. Every panel draws the same chosen periods. Choices: the periods offered are those with data in any panel. The default is the domain's declared window (the last 5 months for CaCu, months only) when there are more periods than it, otherwise all. Cancelling the dialog leaves the selection untouched. period-selection.spec.ts covers the selection functions.