# XWUIHrEmployeeProfilePage

Self-service "My Profile" HR shell page (extends `HrPageBase` → `XWUIShellPage`) that shows the signed-in employee's record. On load it fetches `hrApi.getEmployee('e1')` and `hrApi.listLeaveBalances()`, then renders an `XWUICardHrProfile` (employee detail header) above an `XWUIHrRecordTabs` block (leave-balance tabs) inside a `xwui-hr-profile-page` wrapper. The title localizes to "My Profile"/"ملفي"; construct it with page `title`/`description` data and a `conf_comp` carrying `hrApiOptions` (e.g. `{ env: 'sandbox' }`) and `locale`.

## Basic Usage

Loads the profile of employee `e1` plus their leave balances from the sandbox HR API and renders the profile card with the record tabs underneath.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Mounts XWUIHrEmployeeProfilePage with a "My Profile" title and the sandbox hrApi, then renders the employee's profile card and leave-balance tabs.
```

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