# XWUIOpsHRWorkingDaysPage

The OPFlow Ops `/en/hr/working-days` report page: an `XWUIShellPage` with a toolbar (employee search box + year selector defaulting to 2026 with a ±2-year window + "Export CSV" button) over a body that stacks an `XWUIChartCalendarHeatmap` of per-day attendance density above an `XWUIDataGrid` of per-employee summaries. Heatmap `cells` are `{ date: ISO YYYY-MM-DD, value }` samples whose count drives the cell color ramp; each `summaries` row carries `nameEn` (plus optional `nameAr`), `workingDays`, `offDays`, `leave`, and `overtimeHours`, rendered as the sortable Employee / Working Days / Off Days / Leave / Overtime (formatted "0.0h") columns. Changing the year re-renders only the heatmap; search and export fire host callbacks. Use it to track per-employee shift assignments, attendance, absences, and overtime over a chosen year.

## Basic Usage

Shows the working-days report for 2026 with a sparse density heatmap and three employee summary rows (including Arabic names) wired to console-logging export/year/search callbacks.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Working Days Report for 2026 with six heatmap cells and three employee rows (Aaron Rutherford, Abdalkaream Fadul, Yasir Al-Harthi).
```

## Peak-Season Overtime

A Ramadan broadcast-surge view: a dense run of high-value March heatmap days and a crew summary where overtime spikes past 40 hours.

```example
file: examples/PeakSeasonOvertime.ts
html: examples/PeakSeasonOvertime.html
title: Peak-Season Overtime
description: Live-events crew during the peak broadcast month - twelve dense March heatmap cells and five summary rows with 22-44 overtime hours, used to spot fatigue before it becomes a compliance problem.
```

## Year-over-Year Review

HR reopens the prior year from the year-selector to review a leave-heavy post-production team for the annual appraisal cycle, shown in the Ops shell.

```example
file: examples/YearOverYearReview.ts
html: examples/YearOverYearReview.html
title: Year-over-Year Review
description: The 2025 report selected from a four-year dropdown, with full-year leave balances (11-44 days) and overtime totals for four post-production staff, mounted inside the Ops shell app.
```

```api
```
