Reporting Period Selector
Component Detail
User Interface
low complexity
frontend
0
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Widget for selecting the start and end dates of the Bufdir reporting period. Validates that the selected range conforms to Bufdir reporting cycle constraints and provides preset options for common annual/quarterly periods.
reporting-period-selector
Responsibilities
- Render date range picker with start and end inputs
- Validate selected period against Bufdir cycle constraints
- Emit validated period to parent export page
- Provide preset period shortcuts (e.g., current year, last year)
Interfaces
onPeriodChange(startDate, endDate)
validatePeriod(startDate, endDate)
setPreset(preset)
clearSelection()