# XWUIHrAutomationTemplatesPage

`XWUIHrAutomationTemplatesPage` is an HR shell page (extends `HrListPage` → `HrPageBase` → `XWUIShellPage`) that lists reusable automation templates in an `XWUIDataGrid`. On mount it calls `hrApi.listAutomationTemplates()` and renders a striped, hoverable grid with the columns **Template** (`title`) and **Category** (`category`); an empty result shows "No records found" / "لا توجد بيانات". The default page title is "Automation Templates". 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 template catalog grid (Template / Category) under the "Automation Templates" header.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Mounts XWUIHrAutomationTemplatesPage against the sandbox HR API and renders the Template/Category templates 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
```
