# XWUIHrAutomationPage

`XWUIHrAutomationPage` is an HR shell page (extends `HrListPage` → `HrPageBase` → `XWUIShellPage`) that lists configured automation workflows in an `XWUIDataGrid`. On mount it calls `hrApi.listAutomation()` and renders a striped, hoverable grid with the columns **Workflow** (`name`), **Last run** (`lastRun`), and **Runs** (`runs`); an empty result shows "No records found" / "لا توجد بيانات". The default page title is "Automation". Configure it with the standard page-base `conf_comp` props (`maxWidth`, `centered`, `padding`, `hideHeader`, `hideBreadcrumbs`, `asideStartWidth`/`asideEndWidth`, `hideAsideStart`/`hideAsideEnd`, `className`) plus data props such as `title`, `description`, `breadcrumbs`, and `nav`; supplying `rows` in data bypasses the API call.

## Basic Usage

Loads the page against the sandbox HR API (`hrApiOptions: { env: 'sandbox' }`, `locale: 'en'`) and renders the workflow grid (Workflow / Last run / Runs) under the "Automation" header.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Mounts XWUIHrAutomationPage against the sandbox HR API and renders the Workflow/Last run/Runs automation 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
```
