# XWUISuperHR

Super-tier app shell for the product-neutral HRIS domain, composing the full `industry/hr/pages` catalogue into one navigable shell across eighteen top-level groups - Home (ESS), Inbox, Requests, Workforce, Time, Shifts, Pay, Compliance, Government, Spend, Benefits, Compensation, Engagement, Planning, Talent, Assets, Automation, Insights, and Setup. Every menu key maps to a real HR page class constructed with `hrApiOptions: { env: 'sandbox' }`, and the cold-start landing leaf is `hr-insights-dashboard` (the `XWUIHrAdminDashboardPage`, the only node flagged `meta.default = true`). The static `menuTree()` / `pages()` let a host deep-link by menu-key, override leaves via `extraTree` / `extraPages`, or merge the broadcast-specific Ops HR module from `XWUISuperOps` via `XWUISuperApp.merge()`; `title`, `sidebarWidth`, `activeKey`, `user`, `locale`, and `notifications` tune the inner `XWUIShellApp`.

## Basic Usage

Mounts the HR shell standalone with an HR Manager identity, landing on the admin insights dashboard with every group from Home through Setup wired to its `industry/hr` page.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Mounts XWUISuperHR on its own with an HR Manager identity, opening on the default hr-insights-dashboard admin page.
```

## Merged With Ops

Union-merges HR with an inline `AppOpsHRDemo` stand-in (the placeholder for `XWUISuperOps`) via `XWUISuperApp.merge()`, showing the generic HR shell beside an Ops HR group.

```example
file: examples/MergedWithOps.ts
html: examples/MergedWithOps.html
title: Merged With Ops
description: Merges XWUISuperHR with a stand-in Ops HR Super-app into one host XWUISuperApp, the disjoint hr-* and ops-hr-* namespaces avoiding collision-renaming.
```

## Standalone

Boots the same HR shell with an HR Admin identity, `notifications: 2`, and a wider 280px sidebar, omitting `activeKey` so the base class selects the default dashboard.

```example
file: examples/Standalone.ts
html: examples/Standalone.html
title: Standalone
description: Mounts XWUISuperHR standalone with an HR Admin identity and notifications badge of 2, falling back to the default landing leaf.
```

```api
```
