# XWUIHrSurveysPage

Engagement surveys directory shell page that fetches rows via `hrApi.listSurveys()` and renders a status-count pill bar (All, Active, Scheduled, Closed, Draft) above a table with columns for survey name (localized via `nameAr` when `locale` is `ar`), published date, a colored status pill, and participation rate as a percentage. Built on `HrPageBase` with the shared benefits table/styling helpers, and accepts the standard shell `conf_comp` layout keys (`maxWidth`, `centered`, `padding`, `hideHeader`, asides). Use it to browse engagement surveys and their participation at a glance.

## Basic Usage

Mounts the page against `#app` with a title and description, loading sample survey data from `createHrApi({ env: 'sandbox' })` in English.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Surveys page wired to the sandbox HR API, showing the status pill bar and the survey participation table.
```

## Arabic (RTL)

The page rendered in Arabic with a right-to-left layout - built-in labels, status pills, and loading text localize, and `titleAr` supplies the heading.

```example
file: examples/ArabicLocale.ts
html: examples/ArabicLocale.html
title: Arabic (RTL)
description: The employee-surveys page in Arabic with a right-to-left layout and an Arabic heading via titleAr.
```

## Embedded Panel

A width-constrained, centred layout (`maxWidth: '720px'`, `centered: true`) with the breadcrumb row hidden - the shape used when the page is dropped into a narrow settings column.

```example
file: examples/EmbeddedPanel.ts
html: examples/EmbeddedPanel.html
title: Embedded Panel
description: The surveys list in a 720px centred column with breadcrumbs hidden, for an embedded engagement panel.
```

```api
```
