# XWUIHrEmployeeDocumentsPage

Self-service "My Documents" HR shell page (extends `HrListPage` → `HrPageBase` → `XWUIShellPage`) that lists the signed-in employee's documents. It calls `hrApi.listDocuments()` and renders the results in a striped, hoverable `XWUIDataGrid` with three columns - Document (`name`), Type (`type`), and Scope (`scope`) - falling back to a localized "No records found" empty state when there are no documents. Construct it with the page `title`/`description` data and a `conf_comp` carrying `hrApiOptions` (e.g. `{ env: 'sandbox' }`) and `locale`.

## Basic Usage

Loads "My Documents" against the sandbox HR API and renders the returned documents in a data grid with Document, Type, and Scope columns.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Mounts XWUIHrEmployeeDocumentsPage with a "My Documents" title and the sandbox hrApi, then loads and grids the employee's documents.
```

## 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
```
