--- ## InvitationManager Admin panel for managing invitation-gated registration with email toggle. Communicates with `basePath` (default `/api/invitations`). Pair with `createInvitationHandlers(authDeps, { authorize, roles })` on the server — mount its `POST` + `GET` on `/api/invitations` and `DELETE` on `/api/invitations/[id]`. **Import:** `import { InvitationManager } from '@urbicon-ui/auth';` ### Examples ```svelte ``` ### Api | Prop | Type | Required | Default | Description | | --- | --- | :---: | --- | --- | | roles | `RoleOption[]` | yes | | Available roles for the invitation menu. | | basePath | `string` | no | '/api/invitations' | BasePath property for the InvitationManager component | | class | `string` | no | | Extra classes on the root element. | | csrf | `CsrfClientOptions` | no | | CSRF cookie/header names — only needed when the server overrides the defaults via `config.csrf`. Mutating requests echo the token automatically. | | fetcher | `typeof globalThis.fetch` | no | | Custom fetch implementation for all API calls. Defaults to the global `fetch`. Useful for mock backends in demos/tests or custom retry/auth layers. | | slotClasses | `Partial>` | no | | Per-slot class overrides. See component source for available slot keys. | | t | `AuthLocale` | no | | Locale bundle. Auto-detected from i18n context when omitted. | | unstyled | `boolean` | no | | Strip all default styling. | ### Slots (slotClasses keys) `root`, `title`, `form`, `list`, `item`, `error`