# XWUIOpsHRCrewRolesPage

HR "Crew Roles" master-taxonomy and job-title directory (route `/en/hr/crew-roles`) - an XWUIDataGrid carrying Role Name (En) sortable, Role Name (Ar) sortable RTL (em-dash when omitted), Category as an XWUIChip, Hourly Rate in SAR (right-aligned, sortable), Required Certs (comma-joined with a full-list tooltip), Headcount (sortable integer), Active (color-coded badge, grey when inactive), and a kebab Actions column. The toolbar pairs an XWUISearch with an XWUIInputSelect Category filter (canonical Camera / Audio / Production / Engineering / Studio / Office / Other) and a primary "+ Add Crew Role" button that opens an XWUIDialog placeholder. Use it to define functional crew positions, map each to a category, and audit per-role compensation, certifications, and headcount.

## Basic Usage

Five spec-matching roles (Admin Assistant, Audio Operator, Camera Operator, Replay Operator, Administrator) where only Administrator carries an Arabic name and the rest fall back to the em-dash placeholder.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Five crew roles spanning the Office / Audio / Camera / Production / Other categories, with certs, hourly rates, headcounts, and one inactive (Administrator) row.
```

## Camera Department Ladder

The Camera-category career ladder from trainee to director of photography, with ascending pay bands, the certs each grade unlocks, and edit/add callbacks wired.

```example
file: examples/CameraDepartmentLadder.ts
html: examples/CameraDepartmentLadder.html
title: Camera Department Ladder
description: Six-grade camera progression with ascending SAR rates, certification requirements and headcounts, plus wired kebab and add-role callbacks.
```

## Engineering Certification Compliance

The Engineering line viewed for certification compliance, with rich required-cert lists and two retired roles flagged inactive.

```example
file: examples/EngineeringCertCompliance.ts
html: examples/EngineeringCertCompliance.html
title: Engineering Certification Compliance
description: Engineering roles each listing required certifications, including two inactive/retired roles and a wired category-filter callback.
```

```api
```
