# XWUIHrAttendancePage

`XWUIHrAttendancePage` is an HR shell page (extends `HrListPage` → `HrPageBase` → `XWUIShellPage`) that lists employee attendance records in an `XWUIDataGrid`. On mount it calls `hrApi.listAttendance()` and renders a striped, hoverable grid with the columns **Date** (`date`), **In** (`timeIn`), **Out** (`timeOut`), and **Status** (`status`); it shows a "No records found" / "لا توجد بيانات" empty state when there are no rows. The default page title is "Attendance". Configure it with the standard page-base `conf_comp` props (`maxWidth`, `centered`, `padding`, `hideHeader`, `hideBreadcrumbs`, `asideStartWidth`/`asideEndWidth`, `hideAsideStart`/`hideAsideEnd`, `className`) plus the data props `title`, `description`, `breadcrumbs`, `toolbar`, `nav`, etc.; passing `rows` in data skips the API fetch and renders those rows directly.

## Basic Usage

Loads the page against the sandbox HR API (`hrApiOptions: { env: 'sandbox' }`, `locale: 'en'`) and renders the attendance grid (Date / In / Out / Status) under the "Attendance" header.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Mounts XWUIHrAttendancePage with a custom title/description against the sandbox HR API and renders the Date/In/Out/Status attendance grid.
```

## Arabic locale (RTL)

Passes `{ locale: 'ar' }` with a `titleAr` so the page resolves the Arabic title (`الحضور`) and renders right-to-left.

```example
file: examples/ArabicLocale.ts
html: examples/ArabicLocale.html
title: Arabic locale (RTL)
description: Arabic title via titleAr plus locale 'ar' for a right-to-left page.
```

## Constrained, centered layout

Caps the content column at 1200px, centers it, and adds roomier padding via the shell-page config.

```example
file: examples/ConstrainedLayout.ts
html: examples/ConstrainedLayout.html
title: Constrained, centered layout
description: `{ maxWidth: '1200px', centered: true, padding: '2rem' }` constrains and centers the page column.
```

```api
```
