import * as _angular_core from '@angular/core'; import { InjectionToken, Signal, Type, EnvironmentProviders, WritableSignal, OnDestroy, TemplateRef } from '@angular/core'; import { ConnectedPosition, OverlayRef } from '@angular/cdk/overlay'; import { IconName } from '@africanies/africanies-icons'; import * as _africanies_africanies_models from '@africanies/africanies-models'; import { AsyncQueryStateModel, ModuleFilterConfigModel, FilterStateModel, FilterParamsModel, FilterOptionModel, FilterFieldModel, ShippingMode, PaginationMetaModel } from '@africanies/africanies-models'; export { AsyncQueryStateModel, DEFAULT_FILTER_TRANSPORT, DEFAULT_PAGE_SIZE, FILTER_CONFIGS, FilterConfigId, FilterFieldModel, FilterFieldType, FilterOptionModel, FilterOptionsSource, FilterParamsModel, FilterQueryBag, FilterStateModel, FilterTransport, ModuleFilterConfigModel, NOTIFICATION_PAGE_SIZE, PAGINATION_PAGE_SIZES, PaginationMetaModel, PaginationPageSize, clearFilterField, cloneFilterState, emptyFilterState, filterQueryKeys, fromFilterParams, hasFilterParams, resetFilterState, resolveFilterTransport, shipmentTrackingItemFilterConfig, toFilterParams, trackShipmentsFilterConfig, updateShipmentsFilterConfig, usersFilterConfig } from '@africanies/africanies-models'; import * as _africanies_africanies_theme from '@africanies/africanies-theme'; import { ModeColorService } from '@africanies/africanies-theme'; import { AfricaniesHttpToastHandler, OverlayHandle, OverlayOpener, ShippingModeService } from '@africanies/africanies-core'; import { Observable } from 'rxjs'; import { ControlValueAccessor } from '@angular/forms'; import * as _africanies_africanies_ui from '@africanies/africanies-ui'; import { IsActiveMatchOptions, ActivatedRouteSnapshot, Router, UrlTree } from '@angular/router'; /** * Optional host-provided active language signal. When set, {@link AfricaniesUiI18n.t} * re-evaluates inside computed/templates after language changes. */ declare const AFRICANIES_UI_LANG: InjectionToken>; type AfricaniesUiTranslateFn = (key: string, params?: Record) => string; /** * Optional host translate function (e.g. Transloco). Keys use the * `africaniesUi.*` namespace from `assets/i18n/{lang}.json`. * * Hosts that interpolate themselves (Transloco) must accept `params` so * placeholders are not emptied before {@link AfricaniesUiI18n.tParams} runs. */ declare const AFRICANIES_UI_TRANSLATE: InjectionToken; /** * Resolves SDK chrome copy. Without host providers, returns English fallbacks. */ declare class AfricaniesUiI18n { private readonly translateFn; private readonly lang; t(key: string, fallback: string): string; /** * Interpolation for `{{name}}` placeholders (pagination, etc.). * Prefers host-side params (Transloco); also replaces leftover `{{name}}`. */ tParams(key: string, fallback: string, params: Record): string; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * Visual emphasis for {@link ButtonComponent}. * * - `primary` — filled mode accent (SFN green / STN orange) for the main action * - `secondary` — stroked mode accent (white + mode border/text; portal `.btn-stroked`) * - `flat` — neutral chrome (white + ink + soft border; portal `.btn-flat`) * - `ghost` — neutral text-only for low-emphasis actions (Cancel, tertiary) * - `ghost-primary` — text-only mode accent (SFN green / STN orange) * - `ghost-danger` — text-only destructive actions (Clear, Remove) * - `danger` — destructive confirmations and deletes */ type ButtonVariant = 'primary' | 'secondary' | 'flat' | 'ghost' | 'ghost-primary' | 'ghost-danger' | 'underline' | 'danger'; /** * Control size for {@link ButtonComponent}. */ type ButtonSize = 'sm' | 'md' | 'lg'; /** * Theme-token button used across AFRICANIES surfaces. * * WHY an attribute selector on native `button` / `a`: keeps semantics and * keyboard behavior on the host element (Enter/Space, focus rings) instead of * nesting an interactive element inside a custom component host. * * **Primary** and **ghost-primary** follow {@link ModeColorService} / shipping mode: * SFN → export green, STN → import orange. * * @example * ```html * * * * * * * * ``` */ declare class ButtonComponent { private readonly modeColor; /** * Visual variant. Defaults to `primary` so a bare `africanies-button` reads as the * main CTA without extra attributes. */ readonly variant: _angular_core.InputSignal; /** * Padding / type scale. Defaults to `md` for form toolbars and dialogs. */ readonly size: _angular_core.InputSignal; /** * When true, blocks pointer and keyboard activation. Also sets * `aria-disabled` for anchors that cannot use the native `disabled` attribute. */ readonly disabled: _angular_core.InputSignalWithTransform; /** * In-flight mutation. Replaces the label with a circular spinner while * keeping the control's width, and treats the host as disabled. * * Plain boolean (no `booleanAttribute`): confirm/dialog `[loading]="signal()"` * bindings must pass through `true` without attribute-string coercion. */ readonly loading: _angular_core.InputSignal; protected readonly inactive: _angular_core.Signal; protected readonly spinnerSize: _angular_core.Signal<14 | 18 | 16>; /** * Composed Tailwind classes from theme tokens — kept as string literals so * the scanner retains utilities in the published UI bundle. */ protected readonly hostClass: _angular_core.Signal; /** * Anchors lack native `disabled` — block activation while keeping the cursor. * * Uses `stopPropagation` (not `stopImmediatePropagation`) so the host click * does not swallow the same-element `(click)` that starts confirm work. * * @param event */ protected blockWhenDisabled(event: Event): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Icon button that copies {@link value} to the clipboard. * * Shows `copy` → `check` while feedback is visible. Optional toast when * {@link ToastService} is registered via `provideAfricaniesToasts()`. * * @example * ```html * * * * ``` */ declare class CopyButtonComponent { private readonly toastService; /** Plain text written to the clipboard. */ readonly value: _angular_core.InputSignal; /** * Optional visible label beside the icon. When omitted, the control is * icon-only (use {@link ariaLabel} for accessibility). */ readonly label: _angular_core.InputSignal; /** Label while the success checkmark is showing. Defaults to `Copied`. */ readonly copiedLabel: _angular_core.InputSignal; /** * Accessible name. Defaults to `Copy` / `Copied` from the label state, or * `Copy to clipboard` when icon-only. */ readonly ariaLabel: _angular_core.InputSignal; /** Extra classes on the inner `africanies-button` (e.g. inverted code headers). */ readonly buttonClass: _angular_core.InputSignal; /** Button size. Defaults to `sm`. */ readonly size: _angular_core.InputSignal; /** How long the checkmark / “Copied” label stays (ms). Defaults to 1600. */ readonly feedbackMs: _angular_core.InputSignalWithTransform; /** * When true and {@link ToastService} is available, show a success toast with * the copied value (truncated when long). */ readonly announce: _angular_core.InputSignalWithTransform; /** Emitted after a successful clipboard write. */ readonly copied: _angular_core.OutputEmitterRef; /** Emitted when the clipboard write fails. */ readonly failed: _angular_core.OutputEmitterRef; protected readonly busy: _angular_core.WritableSignal; protected readonly showCopied: _angular_core.WritableSignal; private feedbackTimer; protected readonly iconSize: _angular_core.Signal<14 | 18>; protected readonly resolvedAriaLabel: _angular_core.Signal; /** * Copy {@link value} and flip the icon to a checkmark on success. */ protected onCopy(): Promise; private flashCopied; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Option row for {@link ActionMenuComponent}. * * Set optional {@link routerLink} (and `queryParams` / `fragment`) so the row * renders as an `` — right-click / ⌘-click can open in a new tab. * Primary click still runs {@link onClick} when provided; otherwise the menu * navigates via the router (same pattern as tabs / segment). */ interface AfricaniesMenuItem { /** Visible label. */ label: string; /** * Invoked on primary activation (then the menu closes). * Optional when {@link routerLink} is set — the menu navigates instead. */ onClick?: () => void; /** Optional leading icon from `@africanies/africanies-icons`. */ icon?: IconName; /** * Optional leading image URL (e.g. flagcdn). Takes precedence over * {@link icon} when both are set. */ imageUrl?: string; /** Leading image crop; default rectangular flag aspect. */ imageShape?: 'rect' | 'circle'; /** * Optional Angular router link (`string` or commands array). * When set, the row is an `` with a real `href` for open-in-new-tab. */ routerLink?: string | readonly unknown[]; /** Optional query params passed with {@link routerLink}. */ queryParams?: Record; /** Optional URL fragment with {@link routerLink}. */ fragment?: string; /** When true, the item cannot be activated. */ disabled?: boolean; /** Destructive styling (e.g. Delete). */ danger?: boolean; /** Renders a hairline rule above this item. */ dividerBefore?: boolean; } /** * Compact overflow menu for row and toolbar actions. * * Opens a CDK connected overlay (same pattern as select) so the panel is not * clipped by table `overflow`. Default trigger is a ghost ellipsis button; * project a custom control with {@link ActionMenuTriggerDirective}. * * Items with {@link AfricaniesMenuItem.routerLink} render as anchors so users * can right-click / modified-click to open in a new tab. * * @example * ```html * * * * * * * * ``` * ```ts * rowActions(row: Shipment): AfricaniesMenuItem[] { * return [ * { * label: 'Open', * icon: 'eye', * routerLink: ['/shipments', row.id], * onClick: () => this.open(row), * }, * { label: 'Edit', icon: 'edit', onClick: () => this.edit(row) }, * { * label: 'Delete', * icon: 'trash', * danger: true, * dividerBefore: true, * onClick: () => this.delete(row), * }, * ]; * } * ``` */ declare class ActionMenuComponent { private readonly router; protected readonly panelPositions: ConnectedPosition[]; private readonly panelRef; private readonly projectedTrigger; /** Menu options. */ readonly items: _angular_core.InputSignal; /** Accessible name for the trigger / menu. */ readonly ariaLabel: _angular_core.InputSignal; /** When true, the default trigger cannot open the menu. */ readonly disabled: _angular_core.InputSignalWithTransform; protected readonly open: _angular_core.WritableSignal; protected readonly activeIndex: _angular_core.WritableSignal; private readonly menuId; protected readonly hasCustomTrigger: _angular_core.Signal; protected itemDomId(index: number): string; protected imageClass(item: AfricaniesMenuItem): string; protected itemClass(item: AfricaniesMenuItem, index: number): string; protected hrefFor(item: AfricaniesMenuItem): string | null; protected onTriggerClick(event: MouseEvent): void; protected onTriggerKeydown(event: KeyboardEvent): void; protected onPanelKeydown(event: KeyboardEvent): void; protected onOutsideClick(event: MouseEvent): void; protected onOverlayDetach(): void; /** * Primary click on a routed item: in-app activate via {@link onClick} or * router. Modified clicks keep native link behaviour (new tab). */ protected onRoutedItemClick(event: MouseEvent, item: AfricaniesMenuItem): void; protected selectItem(item: AfricaniesMenuItem): void; private activateItem; protected toggle(): void; protected openMenu(): void; protected close(): void; private enabledIndexes; private moveActive; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Marks projected content as the custom trigger for {@link ActionMenuComponent}. * * @example * ```html * * * * ``` */ declare class ActionMenuTriggerDirective { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } /** * View-model branch for {@link AsyncStateComponent} render order. * * Kept internal — consumers only pass {@link AsyncQueryStateModel}. */ type AsyncView = { kind: 'loading'; } | { kind: 'error'; message: string; } | { kind: 'empty'; } | { kind: 'content'; staleError: boolean; fetching: boolean; }; /** * Async query wrapper that maps {@link AsyncQueryStateModel} into loading / error / * empty / success with non-blocking badges for background activity. * * Render order (blocking first): * 1. `isLoading` → {@link LoadingStateComponent} * 2. `isError && data === undefined` → {@link ErrorStateComponent} * 3. empty data (empty array, or null/undefined after load) → {@link EmptyStateComponent} * 4. otherwise project content; never block on background refetch (hosts can * spin their own control, e.g. table Refresh). Keep a stale-error badge if * the last refresh failed. * * A single `retry` output covers blocking error/empty and the stale-data badge * so views wire one handler regardless of which branch fired. * * @typeParam T - Successful data shape mirrored from the query layer. * * @example * ```ts * // Map TanStack Query injectQuery() signals into AsyncQueryStateModel * readonly query = injectQuery(() => ({ … })); * * readonly state = computed>(() => ({ * data: this.query.data(), * isLoading: this.query.isLoading(), * isFetching: this.query.isFetching(), * isError: this.query.isError(), * error: this.query.error()?.message ?? null, * })); * ``` * ```html * * * * ``` */ declare class AsyncStateComponent { private readonly i18n; /** * Snapshot from the app's query layer (e.g. mapped `injectQuery()` signals). */ readonly state: _angular_core.InputSignal>; /** * Optional override for the blocking empty copy. */ readonly emptyMessage: _angular_core.InputSignal; /** * Copy for the non-blocking stale-data error pill (data present, refresh failed). */ readonly staleErrorMessage: _angular_core.InputSignal; /** * Retry label on the stale pill while a background refetch is in flight. */ readonly staleRefreshingText: _angular_core.InputSignal; /** * Single retry channel for error, empty, and stale-data badge actions. * * Always wire a handler — omitting `(retry)` is a misuse of the nested * error/empty states. */ readonly retry: _angular_core.OutputEmitterRef; protected readonly loadingLabel: _angular_core.Signal; protected readonly refreshLabel: _angular_core.Signal; protected readonly resolvedEmptyMessage: _angular_core.Signal; protected readonly resolvedStaleRefreshingText: _angular_core.Signal; /** Resolved blocking error message with a safe fallback. */ protected readonly errorMessage: _angular_core.Signal; /** * Stale pill copy — prefers the query error string, then {@link staleErrorMessage}. */ protected readonly staleErrorCopy: _angular_core.Signal; /** * Derived branch — computed so OnPush templates only re-evaluate when * `state` inputs change. */ protected readonly view: _angular_core.Signal; /** * Badge flags when showing projected content — separate computed so the * template can narrow without union-property errors. */ protected readonly contentBadges: _angular_core.Signal<{ staleError: boolean; fetching: boolean; } | null>; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵcmp: _angular_core.ɵɵComponentDeclaration, "africanies-async-state", never, { "state": { "alias": "state"; "required": true; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "staleErrorMessage": { "alias": "staleErrorMessage"; "required": false; "isSignal": true; }; "staleRefreshingText": { "alias": "staleRefreshingText"; "required": false; "isSignal": true; }; }, { "retry": "retry"; }, never, ["*"], true, never>; } /** * Blocking empty state when a fetch succeeded but produced no rows / value. * * Retry is **always** present because "no results" often changes after a * filter reset or fresh fetch. Omitting a `(retry)` handler is a misuse of * this component, not a supported configuration. * * @example * ```html * * ``` */ declare class EmptyStateComponent { private readonly i18n; /** * Empty-copy. Defaults to a generic phrase; override for filter-specific help. */ readonly message: _angular_core.InputSignal; /** * Background refetch in flight — spins the refresh icon and disables Retry. */ readonly refreshing: _angular_core.InputSignalWithTransform; /** * Emitted when the user activates Retry. * * Always wire a handler — omitting `(retry)` is a misuse, not a valid * "static empty illustration" mode. */ readonly retry: _angular_core.OutputEmitterRef; protected readonly resolvedMessage: _angular_core.Signal; protected readonly retryLabel: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Compact error pill for non-blocking failures while stale data stays visible — * distinct from {@link ErrorStateComponent} (full-section blocking). * * Parent owns placement — typically a flex row above the content * (`class="flex justify-end"` with `max-w-[min(100%,20rem)]` on the indicator). * Renders nothing when {@link error} is null, undefined, or whitespace-only. * * @example * ```html *
*
* *
* *
* ``` */ declare class ErrorIndicatorComponent { /** * Error copy. When empty, the indicator is not shown. */ readonly error: _angular_core.InputSignal; /** * Retry button label when not {@link refreshing}. */ readonly retryText: _angular_core.InputSignal; /** * When true, the action label becomes a loading phrase and the button stays * enabled unless {@link disabled} is set. */ readonly refreshing: _angular_core.InputSignalWithTransform; /** * Loading label while {@link refreshing} is true. */ readonly refreshingText: _angular_core.InputSignal; /** * Disables the retry control and dims the label. */ readonly disabled: _angular_core.InputSignalWithTransform; /** Emitted when the user activates the retry control. */ readonly retry: _angular_core.OutputEmitterRef; protected readonly message: _angular_core.Signal; protected readonly visible: _angular_core.Signal; protected readonly actionLabel: _angular_core.Signal; protected onRetry(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Blocking error state for failed async fetches (not field validation). * * The retry control is **always** visible — there is no hide-retry toggle. * Omitting a `(retry)` handler is a misuse of this component, not a supported * configuration: failed fetches that cannot be retried should use different UI. * * @example * ```html * * ``` */ declare class ErrorStateComponent { private readonly i18n; /** * Human-readable failure reason. Required so the alert is never an empty * red box without explanation. */ readonly message: _angular_core.InputSignal; /** * Background refetch in flight — spins the refresh icon and disables Retry. */ readonly refreshing: _angular_core.InputSignalWithTransform; protected readonly retryLabel: _angular_core.Signal; /** * Emitted when the user activates Retry. * * Always wire a handler — omitting `(retry)` is a misuse, not a valid * "read-only error" mode. */ readonly retry: _angular_core.OutputEmitterRef; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Layout density for {@link LoadingStateComponent}. * * - `block` — centered section placeholder (page / panel load) * - `inline` — compact row for toolbars and nested slots */ type LoadingStateMode = 'inline' | 'block'; /** * Blocking / inline loading indicator for async surfaces. * * Spinner accent follows {@link ModeColorService} (SFN green / STN orange). * * @example * ```html * * * ``` */ declare class LoadingStateComponent { protected readonly modeColor: ModeColorService; /** * Optional status copy. Prefer a short verb phrase ("Loading…") so screen * readers hear useful context with `aria-live="polite"`. */ readonly message: _angular_core.InputSignal; /** * Layout mode. Defaults to `block` for section-level placeholders. */ readonly mode: _angular_core.InputSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Visual density for {@link AccordionComponent}. * * - `md` — page sections (pay review, top-level cards) * - `sm` — nested panels (e.g. export boxes inside a manifest box) */ type AccordionSize = 'md' | 'sm'; /** * Bordered expandable panel with animated fold — the pattern used on * Manifest detail and Make Payment review. * * Parent owns open state via {@link open} (`model()` / `[(open)]`). * * @example * ```html * *
…
*
* ``` */ declare class AccordionComponent { /** Plain-text header. Prefer projected `[africaniesAccordionTitle]` for rich titles. */ readonly title: _angular_core.InputSignal; /** Whether the panel body is expanded. */ readonly open: _angular_core.ModelSignal; /** Padding / chevron density. */ readonly size: _angular_core.InputSignal; protected readonly chevronSize: _angular_core.Signal<14 | 16>; protected readonly shellClass: _angular_core.Signal<"rounded-lg border border-border dark:border-white/10" | "rounded-xl border border-border dark:border-white/10">; protected readonly triggerClass: _angular_core.Signal<"flex w-full items-center justify-between gap-3 px-3 py-2 text-left text-ink dark:text-white" | "flex w-full items-center justify-between gap-3 px-4 py-3 text-left text-ink dark:text-white">; protected readonly bodyClass: _angular_core.Signal<"border-t border-border px-3 py-2 dark:border-white/10" | "border-t border-border px-4 py-3 dark:border-white/10">; protected toggle(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Visual tone for {@link AlertComponent}. * * - `info` — neutral guidance * - `success` — positive confirmation (export-green subtle) * - `warning` — caution that needs attention * - `danger` — blocking / destructive messaging */ type AlertVariant = 'info' | 'success' | 'warning' | 'danger'; /** * Inline page/section banner — distinct from {@link ErrorStateComponent} * (full-section async failure + Retry). * * Parent owns visibility (`@if` / signal). When the user dismisses, emit * {@link dismissed} and unmount the host — this component does not hide itself. * * @example * ```html * @if (showBanner()) { * * } * ``` */ declare class AlertComponent { /** Semantic tone. Defaults to `info`. */ readonly variant: _angular_core.InputSignal; /** Optional short heading above the message. */ readonly title: _angular_core.InputSignal; /** Body copy — required so the banner is never an empty colored box. */ readonly message: _angular_core.InputSignal; /** * When true (default), shows a dismiss control that emits {@link dismissed}. */ readonly dismissible: _angular_core.InputSignalWithTransform; /** Override the default variant icon. */ readonly icon: _angular_core.InputSignal<"underline" | "info" | "warning" | "abacus" | "absolute-position" | "academy-cap" | "accessibility" | "accordion-menu" | "add-dock" | "adjust" | "adobe-flash" | "airplane" | "alarm" | "align-center" | "align-justify" | "align-left" | "align-right" | "alt-a" | "alt" | "ambulance" | "anchor" | "angle-double-down" | "angle-double-left" | "angle-double-right" | "angle-double-up" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "archive" | "archives" | "area-select" | "arrow-backward" | "arrow-circle-down-o" | "arrow-circle-down" | "arrow-circle-left-o" | "arrow-circle-left" | "arrow-circle-right-o" | "arrow-circle-right" | "arrow-circle-up-o" | "arrow-circle-up" | "arrow-down" | "arrow-forward" | "arrow-left" | "arrow-long-down" | "arrow-long-left" | "arrow-right" | "arrow-up" | "arrows-cross" | "arrows-long-h" | "arrows-long-right" | "arrows-long-up" | "arrows-long-v" | "arrows" | "asterisk" | "at" | "automation" | "backspace-a" | "backspace" | "backwards" | "ban" | "bar-chart-h" | "bar-chart-v" | "bar-chart" | "barcode" | "bed" | "bell-o" | "bell-slash-o" | "bell-slash" | "bell" | "boat" | "bold" | "bolt" | "bomb" | "book-dollar" | "book-percent" | "book" | "bookmark-o" | "bookmark" | "briefcase" | "browser" | "bug-o" | "bug" | "building-o" | "building" | "bullets" | "bullseye" | "bus" | "button" | "calc-book" | "calc" | "calendar-briefcase" | "calendar-clock" | "calendar-envelope" | "calendar-o" | "calendar-user" | "calendar" | "camera" | "car" | "caret-down" | "caret-left" | "caret-right" | "caret-square-down-o" | "caret-square-left-o" | "caret-square-right-o" | "caret-square-up-o" | "caret-up" | "cart-o" | "cart" | "cash" | "chart-3d" | "chart-grid" | "chart-line" | "chart-timeline" | "chart" | "chat" | "check-circle-o" | "check-circle" | "check-square-o" | "check-square" | "check" | "chevron-circle-down-o" | "chevron-circle-down" | "chevron-circle-left-o" | "chevron-circle-left" | "chevron-circle-right-o" | "chevron-circle-right" | "chevron-circle-up-o" | "chevron-circle-up" | "chevron-down-small" | "chevron-down" | "chevron-left-small" | "chevron-left" | "chevron-right-small" | "chevron-right" | "chevron-up-small" | "chevron-up" | "child" | "circle-thin" | "circle" | "clipboard-check" | "clipboard-cross" | "clipboard-heart" | "clipboard-pulse" | "clipboard-text" | "clipboard-user" | "clipboard" | "clock" | "close-big" | "close-circle-o" | "close-circle" | "close-small" | "close" | "cloud-download-o" | "cloud-download" | "cloud-o" | "cloud-upload-o" | "cloud-upload" | "cloud" | "cluster" | "code" | "coffee" | "cog-o" | "cog" | "cogs" | "coin-piles" | "coins" | "combobox" | "comment-ellipsis-o" | "comment-ellipsis" | "comment-o" | "comment" | "comments-o" | "comments" | "compile" | "compress-square" | "compress" | "connect-o" | "connect" | "controller" | "copy-o" | "copy" | "copyright" | "corner-lower-left" | "corner-lower-right" | "corner-upper-left" | "corner-upper-right" | "credit-card" | "crop" | "cross-cutlery" | "crosshairs" | "css" | "ctrl-a" | "ctrl" | "cube" | "cubes" | "curly-brackets" | "cursor-o" | "cursor" | "cutlery" | "dashboard" | "database" | "date-input" | "deindent" | "del-a" | "del" | "dental-chair" | "desktop" | "diamond-o" | "diamond" | "diasporan-partner" | "diploma-scroll" | "diploma" | "disc" | "doctor-briefcase" | "doctor" | "dollar" | "dot-circle" | "download-alt" | "download" | "drop" | "edit" | "eject" | "elastic" | "ellipsis-circle-o" | "ellipsis-circle" | "ellipsis-dots-h" | "ellipsis-dots-v" | "ellipsis-h" | "ellipsis-v" | "enter-arrow" | "enter" | "envelope-o" | "envelope-open-o" | "envelope-open" | "envelope" | "envelopes-o" | "envelopes" | "eraser" | "esc-a" | "esc" | "euro" | "exchange" | "exclamation-circle-o" | "exclamation-circle" | "exclamation" | "exit-o" | "exit" | "expand-full" | "expand-square" | "expand" | "external-browser" | "external-link" | "eye-slash" | "eye" | "eyedropper" | "facebook-square" | "facebook" | "factory" | "family" | "fast-backward" | "fast-forward" | "female" | "file-add" | "file-code" | "file-font" | "file-movie" | "file-o" | "file-picture" | "file-presentation" | "file-process" | "file-refresh" | "file-remove" | "file-search" | "file-sound" | "file-start" | "file-table" | "file-text-o" | "file-text" | "file-tree-small" | "file-tree-sub" | "file-tree" | "file-zip" | "file" | "fill" | "film" | "filter" | "fire" | "flag-checkered" | "flag-o" | "flag" | "flash" | "flask" | "flight-landing" | "flight-takeoff" | "flip-h" | "flip-v" | "folder-add" | "folder-o" | "folder-open-o" | "folder-open" | "folder-remove" | "folder-search" | "folder" | "font" | "form" | "forward" | "frown-o" | "funcion" | "funnel" | "gamepad" | "gavel" | "gift" | "glass" | "glasses" | "globe-wire" | "globe" | "golf" | "google-plus-square" | "google-plus" | "grab" | "grid-bevel" | "grid-big-o" | "grid-big" | "grid-h" | "grid-small-o" | "grid-small" | "grid-v" | "grid" | "group" | "hammer" | "hand-coins" | "hand" | "handle-corner" | "hands-up" | "handshake" | "harddrive-o" | "harddrive" | "hash" | "header" | "headphones" | "headset" | "health-card" | "heart-o" | "heart" | "home-o" | "home" | "hospital" | "hourglass-empty" | "hourglass-end" | "hourglass-start" | "hourglass" | "inbox" | "indent" | "info-circle-o" | "info-circle" | "input" | "insert" | "institution" | "invoice" | "italic" | "key-o" | "key" | "keyboard-o" | "keyboard" | "laptop" | "layout" | "level-down-bold" | "level-down" | "level-left-bold" | "level-left" | "level-right-bold" | "level-right" | "level-up-bold" | "level-up" | "lifebuoy" | "lightbulb" | "line-bar-chart" | "line-chart" | "line-h" | "line-v" | "lines-list" | "lines" | "link" | "list-ol" | "list-select" | "list-ul" | "list" | "location-arrow-circle-o" | "location-arrow-circle" | "location-arrow" | "lock" | "magic" | "magnet" | "mailbox" | "male" | "map-marker" | "margin-bottom" | "margin-left" | "margin-right" | "margin-top" | "margin" | "medal" | "megaphone" | "meh-o" | "menu" | "microphone" | "mini-partner" | "minus-circle-o" | "minus-circle" | "minus-square-o" | "minus" | "mobile-browser" | "mobile-retro" | "mobile" | "modal-list" | "modal" | "money-deposit" | "money-exchange" | "money-withdraw" | "money" | "moon-o" | "moon" | "morning" | "movie" | "music" | "mute" | "native-button" | "newspaper" | "notebook" | "number-count" | "nurse" | "office" | "open-book" | "option-a" | "option" | "options" | "orientation" | "out" | "outbox" | "package" | "padding-bottom" | "padding-left" | "padding-right" | "padding-top" | "padding" | "paint-roll" | "paintbrush" | "palette" | "panel" | "paperclip" | "paperplane-o" | "paperplane" | "paragraph" | "partner" | "password" | "paste" | "pause" | "pencil" | "phone-landline" | "phone" | "picture" | "pie-bar-chart" | "pie-chart" | "piggy-bank-coin" | "piggy-bank" | "pill" | "pills" | "pin-post" | "pin" | "play-circle-o" | "play-circle" | "play" | "plug" | "plus-circle-o" | "plus-circle" | "plus-minus" | "plus-square-o" | "plus" | "pointer" | "power-off" | "presentation" | "print" | "progressbar" | "puzzle-piece" | "pyramid-chart" | "qrcode" | "question-circle-o" | "question-circle" | "question" | "quote-left" | "quote-right" | "random" | "raster-lower-left" | "raster" | "records" | "recycle" | "refresh" | "reply-all" | "reply" | "resize-h" | "resize-v" | "retweet" | "rhombus" | "road-branch" | "road-branches" | "road-split" | "road" | "rocket" | "rotate-left" | "rotate-right" | "rss-square" | "rss" | "safe-lock" | "safe" | "scale-unbalance" | "scale" | "scatter-chart" | "scissors" | "screwdriver" | "search-minus" | "search-plus" | "search" | "select" | "server" | "share-square" | "share" | "shield" | "shift-arrow" | "shift" | "shop" | "sign-in-alt" | "sign-in" | "sign-out-alt" | "sign-out" | "signal" | "sitemap" | "slider" | "sliders" | "smiley-o" | "sort" | "sound-disable" | "spark-line" | "specialist" | "spinner-arc" | "spinner-third" | "spinner" | "spline-area-chart" | "spline-chart" | "split-h" | "split-v" | "split" | "spoon" | "square-shadow" | "star-half-left-o" | "star-half-left" | "star-half-right-o" | "star-half-right" | "star-o" | "star" | "start-cog" | "step-backward" | "step-forward" | "stethoscope" | "stock" | "stop-cog" | "stop" | "stopwatch" | "storage" | "strikethrough" | "subscript" | "suitcase" | "sun-down" | "sun-o" | "sun-rise" | "superscript" | "sword" | "tab-a" | "tab" | "table" | "tablet" | "tabs" | "tag" | "tags" | "tasks" | "taxi" | "teeth" | "terminal" | "text-height" | "text-input" | "text-label" | "text-width" | "thin-square" | "thumbs-down-o" | "thumbs-down" | "thumbs-up-o" | "thumbs-up" | "ticket" | "time-backward" | "time-forward" | "timer" | "toolbox" | "tools" | "tooth" | "touch" | "train" | "trash" | "tree-table" | "trending-down" | "trending-up" | "trophy" | "truck" | "twin-col-select" | "twitter-square" | "twitter" | "umbrella" | "unlink" | "unlock" | "upload-alt" | "upload" | "user-card" | "user-check" | "user-clock" | "user-heart" | "user-star" | "user" | "users" | "vaadin-h" | "vaadin-v" | "viewport" | "vimeo-square" | "vimeo" | "volume-down" | "volume-off" | "volume-up" | "volume" | "wallet" | "warehouse" | "workplace" | "wrench" | "youtube-square" | "youtube" | undefined>; /** Emitted when the user activates Dismiss — parent should unmount/hide. */ readonly dismissed: _angular_core.OutputEmitterRef; protected readonly resolvedIcon: _angular_core.Signal<"underline" | "info" | "warning" | "abacus" | "absolute-position" | "academy-cap" | "accessibility" | "accordion-menu" | "add-dock" | "adjust" | "adobe-flash" | "airplane" | "alarm" | "align-center" | "align-justify" | "align-left" | "align-right" | "alt-a" | "alt" | "ambulance" | "anchor" | "angle-double-down" | "angle-double-left" | "angle-double-right" | "angle-double-up" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "archive" | "archives" | "area-select" | "arrow-backward" | "arrow-circle-down-o" | "arrow-circle-down" | "arrow-circle-left-o" | "arrow-circle-left" | "arrow-circle-right-o" | "arrow-circle-right" | "arrow-circle-up-o" | "arrow-circle-up" | "arrow-down" | "arrow-forward" | "arrow-left" | "arrow-long-down" | "arrow-long-left" | "arrow-right" | "arrow-up" | "arrows-cross" | "arrows-long-h" | "arrows-long-right" | "arrows-long-up" | "arrows-long-v" | "arrows" | "asterisk" | "at" | "automation" | "backspace-a" | "backspace" | "backwards" | "ban" | "bar-chart-h" | "bar-chart-v" | "bar-chart" | "barcode" | "bed" | "bell-o" | "bell-slash-o" | "bell-slash" | "bell" | "boat" | "bold" | "bolt" | "bomb" | "book-dollar" | "book-percent" | "book" | "bookmark-o" | "bookmark" | "briefcase" | "browser" | "bug-o" | "bug" | "building-o" | "building" | "bullets" | "bullseye" | "bus" | "button" | "calc-book" | "calc" | "calendar-briefcase" | "calendar-clock" | "calendar-envelope" | "calendar-o" | "calendar-user" | "calendar" | "camera" | "car" | "caret-down" | "caret-left" | "caret-right" | "caret-square-down-o" | "caret-square-left-o" | "caret-square-right-o" | "caret-square-up-o" | "caret-up" | "cart-o" | "cart" | "cash" | "chart-3d" | "chart-grid" | "chart-line" | "chart-timeline" | "chart" | "chat" | "check-circle-o" | "check-circle" | "check-square-o" | "check-square" | "check" | "chevron-circle-down-o" | "chevron-circle-down" | "chevron-circle-left-o" | "chevron-circle-left" | "chevron-circle-right-o" | "chevron-circle-right" | "chevron-circle-up-o" | "chevron-circle-up" | "chevron-down-small" | "chevron-down" | "chevron-left-small" | "chevron-left" | "chevron-right-small" | "chevron-right" | "chevron-up-small" | "chevron-up" | "child" | "circle-thin" | "circle" | "clipboard-check" | "clipboard-cross" | "clipboard-heart" | "clipboard-pulse" | "clipboard-text" | "clipboard-user" | "clipboard" | "clock" | "close-big" | "close-circle-o" | "close-circle" | "close-small" | "close" | "cloud-download-o" | "cloud-download" | "cloud-o" | "cloud-upload-o" | "cloud-upload" | "cloud" | "cluster" | "code" | "coffee" | "cog-o" | "cog" | "cogs" | "coin-piles" | "coins" | "combobox" | "comment-ellipsis-o" | "comment-ellipsis" | "comment-o" | "comment" | "comments-o" | "comments" | "compile" | "compress-square" | "compress" | "connect-o" | "connect" | "controller" | "copy-o" | "copy" | "copyright" | "corner-lower-left" | "corner-lower-right" | "corner-upper-left" | "corner-upper-right" | "credit-card" | "crop" | "cross-cutlery" | "crosshairs" | "css" | "ctrl-a" | "ctrl" | "cube" | "cubes" | "curly-brackets" | "cursor-o" | "cursor" | "cutlery" | "dashboard" | "database" | "date-input" | "deindent" | "del-a" | "del" | "dental-chair" | "desktop" | "diamond-o" | "diamond" | "diasporan-partner" | "diploma-scroll" | "diploma" | "disc" | "doctor-briefcase" | "doctor" | "dollar" | "dot-circle" | "download-alt" | "download" | "drop" | "edit" | "eject" | "elastic" | "ellipsis-circle-o" | "ellipsis-circle" | "ellipsis-dots-h" | "ellipsis-dots-v" | "ellipsis-h" | "ellipsis-v" | "enter-arrow" | "enter" | "envelope-o" | "envelope-open-o" | "envelope-open" | "envelope" | "envelopes-o" | "envelopes" | "eraser" | "esc-a" | "esc" | "euro" | "exchange" | "exclamation-circle-o" | "exclamation-circle" | "exclamation" | "exit-o" | "exit" | "expand-full" | "expand-square" | "expand" | "external-browser" | "external-link" | "eye-slash" | "eye" | "eyedropper" | "facebook-square" | "facebook" | "factory" | "family" | "fast-backward" | "fast-forward" | "female" | "file-add" | "file-code" | "file-font" | "file-movie" | "file-o" | "file-picture" | "file-presentation" | "file-process" | "file-refresh" | "file-remove" | "file-search" | "file-sound" | "file-start" | "file-table" | "file-text-o" | "file-text" | "file-tree-small" | "file-tree-sub" | "file-tree" | "file-zip" | "file" | "fill" | "film" | "filter" | "fire" | "flag-checkered" | "flag-o" | "flag" | "flash" | "flask" | "flight-landing" | "flight-takeoff" | "flip-h" | "flip-v" | "folder-add" | "folder-o" | "folder-open-o" | "folder-open" | "folder-remove" | "folder-search" | "folder" | "font" | "form" | "forward" | "frown-o" | "funcion" | "funnel" | "gamepad" | "gavel" | "gift" | "glass" | "glasses" | "globe-wire" | "globe" | "golf" | "google-plus-square" | "google-plus" | "grab" | "grid-bevel" | "grid-big-o" | "grid-big" | "grid-h" | "grid-small-o" | "grid-small" | "grid-v" | "grid" | "group" | "hammer" | "hand-coins" | "hand" | "handle-corner" | "hands-up" | "handshake" | "harddrive-o" | "harddrive" | "hash" | "header" | "headphones" | "headset" | "health-card" | "heart-o" | "heart" | "home-o" | "home" | "hospital" | "hourglass-empty" | "hourglass-end" | "hourglass-start" | "hourglass" | "inbox" | "indent" | "info-circle-o" | "info-circle" | "input" | "insert" | "institution" | "invoice" | "italic" | "key-o" | "key" | "keyboard-o" | "keyboard" | "laptop" | "layout" | "level-down-bold" | "level-down" | "level-left-bold" | "level-left" | "level-right-bold" | "level-right" | "level-up-bold" | "level-up" | "lifebuoy" | "lightbulb" | "line-bar-chart" | "line-chart" | "line-h" | "line-v" | "lines-list" | "lines" | "link" | "list-ol" | "list-select" | "list-ul" | "list" | "location-arrow-circle-o" | "location-arrow-circle" | "location-arrow" | "lock" | "magic" | "magnet" | "mailbox" | "male" | "map-marker" | "margin-bottom" | "margin-left" | "margin-right" | "margin-top" | "margin" | "medal" | "megaphone" | "meh-o" | "menu" | "microphone" | "mini-partner" | "minus-circle-o" | "minus-circle" | "minus-square-o" | "minus" | "mobile-browser" | "mobile-retro" | "mobile" | "modal-list" | "modal" | "money-deposit" | "money-exchange" | "money-withdraw" | "money" | "moon-o" | "moon" | "morning" | "movie" | "music" | "mute" | "native-button" | "newspaper" | "notebook" | "number-count" | "nurse" | "office" | "open-book" | "option-a" | "option" | "options" | "orientation" | "out" | "outbox" | "package" | "padding-bottom" | "padding-left" | "padding-right" | "padding-top" | "padding" | "paint-roll" | "paintbrush" | "palette" | "panel" | "paperclip" | "paperplane-o" | "paperplane" | "paragraph" | "partner" | "password" | "paste" | "pause" | "pencil" | "phone-landline" | "phone" | "picture" | "pie-bar-chart" | "pie-chart" | "piggy-bank-coin" | "piggy-bank" | "pill" | "pills" | "pin-post" | "pin" | "play-circle-o" | "play-circle" | "play" | "plug" | "plus-circle-o" | "plus-circle" | "plus-minus" | "plus-square-o" | "plus" | "pointer" | "power-off" | "presentation" | "print" | "progressbar" | "puzzle-piece" | "pyramid-chart" | "qrcode" | "question-circle-o" | "question-circle" | "question" | "quote-left" | "quote-right" | "random" | "raster-lower-left" | "raster" | "records" | "recycle" | "refresh" | "reply-all" | "reply" | "resize-h" | "resize-v" | "retweet" | "rhombus" | "road-branch" | "road-branches" | "road-split" | "road" | "rocket" | "rotate-left" | "rotate-right" | "rss-square" | "rss" | "safe-lock" | "safe" | "scale-unbalance" | "scale" | "scatter-chart" | "scissors" | "screwdriver" | "search-minus" | "search-plus" | "search" | "select" | "server" | "share-square" | "share" | "shield" | "shift-arrow" | "shift" | "shop" | "sign-in-alt" | "sign-in" | "sign-out-alt" | "sign-out" | "signal" | "sitemap" | "slider" | "sliders" | "smiley-o" | "sort" | "sound-disable" | "spark-line" | "specialist" | "spinner-arc" | "spinner-third" | "spinner" | "spline-area-chart" | "spline-chart" | "split-h" | "split-v" | "split" | "spoon" | "square-shadow" | "star-half-left-o" | "star-half-left" | "star-half-right-o" | "star-half-right" | "star-o" | "star" | "start-cog" | "step-backward" | "step-forward" | "stethoscope" | "stock" | "stop-cog" | "stop" | "stopwatch" | "storage" | "strikethrough" | "subscript" | "suitcase" | "sun-down" | "sun-o" | "sun-rise" | "superscript" | "sword" | "tab-a" | "tab" | "table" | "tablet" | "tabs" | "tag" | "tags" | "tasks" | "taxi" | "teeth" | "terminal" | "text-height" | "text-input" | "text-label" | "text-width" | "thin-square" | "thumbs-down-o" | "thumbs-down" | "thumbs-up-o" | "thumbs-up" | "ticket" | "time-backward" | "time-forward" | "timer" | "toolbox" | "tools" | "tooth" | "touch" | "train" | "trash" | "tree-table" | "trending-down" | "trending-up" | "trophy" | "truck" | "twin-col-select" | "twitter-square" | "twitter" | "umbrella" | "unlink" | "unlock" | "upload-alt" | "upload" | "user-card" | "user-check" | "user-clock" | "user-heart" | "user-star" | "user" | "users" | "vaadin-h" | "vaadin-v" | "viewport" | "vimeo-square" | "vimeo" | "volume-down" | "volume-off" | "volume-up" | "volume" | "wallet" | "warehouse" | "workplace" | "wrench" | "youtube-square" | "youtube">; protected readonly a11yRole: _angular_core.Signal<"alert" | "status">; protected readonly a11yLive: _angular_core.Signal<"assertive" | "polite">; protected readonly shellClass: _angular_core.Signal<"flex items-start gap-3 rounded-lg border px-4 py-3 text-body text-ink dark:text-white border-export/30 bg-export-subtle dark:border-export/40 dark:bg-export/15" | "flex items-start gap-3 rounded-lg border px-4 py-3 text-body text-ink dark:text-white border-warning/40 bg-warning-subtle dark:border-warning/50 dark:bg-warning/15" | "flex items-start gap-3 rounded-lg border px-4 py-3 text-body text-ink dark:text-white border-danger/30 bg-danger-subtle dark:border-danger/40 dark:bg-danger/15" | "flex items-start gap-3 rounded-lg border px-4 py-3 text-body text-ink dark:text-white border-border bg-background-welcome dark:border-white/15 dark:bg-ink-950">; protected readonly iconClass: _angular_core.Signal<"text-export-strong dark:text-export-light" | "text-warning-dark dark:text-warning" | "text-danger-dark dark:text-danger" | "text-ink-blue dark:text-neutral-300">; protected readonly titleClass: _angular_core.Signal<"m-0 text-body font-medium text-export-strong dark:text-export-light" | "m-0 text-body font-medium text-warning-dark dark:text-warning" | "m-0 text-body font-medium text-danger-dark dark:text-danger" | "m-0 text-body font-medium text-ink dark:text-white">; protected readonly messageClass: _angular_core.Signal; protected readonly listClass: _angular_core.Signal; protected readonly messageLines: _angular_core.Signal; protected onDismiss(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Semantic tone for {@link ChipComponent}. * * Prefer these for common statuses. For one-off accents, pass {@link ChipComponent.color} * instead — any CSS color with a faded background. * * - `neutral` — generic label / count * - `success` — positive outcome (same green family as export) * - `warning` — caution / pending * - `danger` — error / exception * - `info` — informational (theme blue) * - `violet` / `teal` / `rose` / `cyan` — extra categorical tones * - `export` — SFN / outbound accent * - `import` — STN / inbound accent */ type ChipVariant = 'neutral' | 'success' | 'warning' | 'danger' | 'info' | 'violet' | 'teal' | 'rose' | 'cyan' | 'export' | 'import'; /** * Control size for {@link ChipComponent}. */ type ChipSize = 'sm' | 'md'; /** * Compact status / category label. * * Soft fills stay readable in dark mode (translucent accent tints, not * light-only subtle backgrounds). Pass {@link color} for a custom accent — * text uses that color and the background is a faded mix of the same. * * @example * ```html * Delivered * Priority * Pay Later * Pending * ``` */ declare class ChipComponent { /** Semantic tone. Defaults to `neutral`. Ignored when {@link color} is set. */ readonly variant: _angular_core.InputSignal; /** * Optional CSS color (`#7c3aed`, `rgb(…)`, `oklch(…)`, …). When set, overrides * {@link variant}: label uses the color and the fill is a faded mix of it. */ readonly color: _angular_core.InputSignal; /** Padding / type scale. Defaults to `sm` (table / dense UI). */ readonly size: _angular_core.InputSignal; /** Optional leading icon. */ readonly icon: _angular_core.InputSignal<"underline" | "info" | "warning" | "abacus" | "absolute-position" | "academy-cap" | "accessibility" | "accordion-menu" | "add-dock" | "adjust" | "adobe-flash" | "airplane" | "alarm" | "align-center" | "align-justify" | "align-left" | "align-right" | "alt-a" | "alt" | "ambulance" | "anchor" | "angle-double-down" | "angle-double-left" | "angle-double-right" | "angle-double-up" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "archive" | "archives" | "area-select" | "arrow-backward" | "arrow-circle-down-o" | "arrow-circle-down" | "arrow-circle-left-o" | "arrow-circle-left" | "arrow-circle-right-o" | "arrow-circle-right" | "arrow-circle-up-o" | "arrow-circle-up" | "arrow-down" | "arrow-forward" | "arrow-left" | "arrow-long-down" | "arrow-long-left" | "arrow-right" | "arrow-up" | "arrows-cross" | "arrows-long-h" | "arrows-long-right" | "arrows-long-up" | "arrows-long-v" | "arrows" | "asterisk" | "at" | "automation" | "backspace-a" | "backspace" | "backwards" | "ban" | "bar-chart-h" | "bar-chart-v" | "bar-chart" | "barcode" | "bed" | "bell-o" | "bell-slash-o" | "bell-slash" | "bell" | "boat" | "bold" | "bolt" | "bomb" | "book-dollar" | "book-percent" | "book" | "bookmark-o" | "bookmark" | "briefcase" | "browser" | "bug-o" | "bug" | "building-o" | "building" | "bullets" | "bullseye" | "bus" | "button" | "calc-book" | "calc" | "calendar-briefcase" | "calendar-clock" | "calendar-envelope" | "calendar-o" | "calendar-user" | "calendar" | "camera" | "car" | "caret-down" | "caret-left" | "caret-right" | "caret-square-down-o" | "caret-square-left-o" | "caret-square-right-o" | "caret-square-up-o" | "caret-up" | "cart-o" | "cart" | "cash" | "chart-3d" | "chart-grid" | "chart-line" | "chart-timeline" | "chart" | "chat" | "check-circle-o" | "check-circle" | "check-square-o" | "check-square" | "check" | "chevron-circle-down-o" | "chevron-circle-down" | "chevron-circle-left-o" | "chevron-circle-left" | "chevron-circle-right-o" | "chevron-circle-right" | "chevron-circle-up-o" | "chevron-circle-up" | "chevron-down-small" | "chevron-down" | "chevron-left-small" | "chevron-left" | "chevron-right-small" | "chevron-right" | "chevron-up-small" | "chevron-up" | "child" | "circle-thin" | "circle" | "clipboard-check" | "clipboard-cross" | "clipboard-heart" | "clipboard-pulse" | "clipboard-text" | "clipboard-user" | "clipboard" | "clock" | "close-big" | "close-circle-o" | "close-circle" | "close-small" | "close" | "cloud-download-o" | "cloud-download" | "cloud-o" | "cloud-upload-o" | "cloud-upload" | "cloud" | "cluster" | "code" | "coffee" | "cog-o" | "cog" | "cogs" | "coin-piles" | "coins" | "combobox" | "comment-ellipsis-o" | "comment-ellipsis" | "comment-o" | "comment" | "comments-o" | "comments" | "compile" | "compress-square" | "compress" | "connect-o" | "connect" | "controller" | "copy-o" | "copy" | "copyright" | "corner-lower-left" | "corner-lower-right" | "corner-upper-left" | "corner-upper-right" | "credit-card" | "crop" | "cross-cutlery" | "crosshairs" | "css" | "ctrl-a" | "ctrl" | "cube" | "cubes" | "curly-brackets" | "cursor-o" | "cursor" | "cutlery" | "dashboard" | "database" | "date-input" | "deindent" | "del-a" | "del" | "dental-chair" | "desktop" | "diamond-o" | "diamond" | "diasporan-partner" | "diploma-scroll" | "diploma" | "disc" | "doctor-briefcase" | "doctor" | "dollar" | "dot-circle" | "download-alt" | "download" | "drop" | "edit" | "eject" | "elastic" | "ellipsis-circle-o" | "ellipsis-circle" | "ellipsis-dots-h" | "ellipsis-dots-v" | "ellipsis-h" | "ellipsis-v" | "enter-arrow" | "enter" | "envelope-o" | "envelope-open-o" | "envelope-open" | "envelope" | "envelopes-o" | "envelopes" | "eraser" | "esc-a" | "esc" | "euro" | "exchange" | "exclamation-circle-o" | "exclamation-circle" | "exclamation" | "exit-o" | "exit" | "expand-full" | "expand-square" | "expand" | "external-browser" | "external-link" | "eye-slash" | "eye" | "eyedropper" | "facebook-square" | "facebook" | "factory" | "family" | "fast-backward" | "fast-forward" | "female" | "file-add" | "file-code" | "file-font" | "file-movie" | "file-o" | "file-picture" | "file-presentation" | "file-process" | "file-refresh" | "file-remove" | "file-search" | "file-sound" | "file-start" | "file-table" | "file-text-o" | "file-text" | "file-tree-small" | "file-tree-sub" | "file-tree" | "file-zip" | "file" | "fill" | "film" | "filter" | "fire" | "flag-checkered" | "flag-o" | "flag" | "flash" | "flask" | "flight-landing" | "flight-takeoff" | "flip-h" | "flip-v" | "folder-add" | "folder-o" | "folder-open-o" | "folder-open" | "folder-remove" | "folder-search" | "folder" | "font" | "form" | "forward" | "frown-o" | "funcion" | "funnel" | "gamepad" | "gavel" | "gift" | "glass" | "glasses" | "globe-wire" | "globe" | "golf" | "google-plus-square" | "google-plus" | "grab" | "grid-bevel" | "grid-big-o" | "grid-big" | "grid-h" | "grid-small-o" | "grid-small" | "grid-v" | "grid" | "group" | "hammer" | "hand-coins" | "hand" | "handle-corner" | "hands-up" | "handshake" | "harddrive-o" | "harddrive" | "hash" | "header" | "headphones" | "headset" | "health-card" | "heart-o" | "heart" | "home-o" | "home" | "hospital" | "hourglass-empty" | "hourglass-end" | "hourglass-start" | "hourglass" | "inbox" | "indent" | "info-circle-o" | "info-circle" | "input" | "insert" | "institution" | "invoice" | "italic" | "key-o" | "key" | "keyboard-o" | "keyboard" | "laptop" | "layout" | "level-down-bold" | "level-down" | "level-left-bold" | "level-left" | "level-right-bold" | "level-right" | "level-up-bold" | "level-up" | "lifebuoy" | "lightbulb" | "line-bar-chart" | "line-chart" | "line-h" | "line-v" | "lines-list" | "lines" | "link" | "list-ol" | "list-select" | "list-ul" | "list" | "location-arrow-circle-o" | "location-arrow-circle" | "location-arrow" | "lock" | "magic" | "magnet" | "mailbox" | "male" | "map-marker" | "margin-bottom" | "margin-left" | "margin-right" | "margin-top" | "margin" | "medal" | "megaphone" | "meh-o" | "menu" | "microphone" | "mini-partner" | "minus-circle-o" | "minus-circle" | "minus-square-o" | "minus" | "mobile-browser" | "mobile-retro" | "mobile" | "modal-list" | "modal" | "money-deposit" | "money-exchange" | "money-withdraw" | "money" | "moon-o" | "moon" | "morning" | "movie" | "music" | "mute" | "native-button" | "newspaper" | "notebook" | "number-count" | "nurse" | "office" | "open-book" | "option-a" | "option" | "options" | "orientation" | "out" | "outbox" | "package" | "padding-bottom" | "padding-left" | "padding-right" | "padding-top" | "padding" | "paint-roll" | "paintbrush" | "palette" | "panel" | "paperclip" | "paperplane-o" | "paperplane" | "paragraph" | "partner" | "password" | "paste" | "pause" | "pencil" | "phone-landline" | "phone" | "picture" | "pie-bar-chart" | "pie-chart" | "piggy-bank-coin" | "piggy-bank" | "pill" | "pills" | "pin-post" | "pin" | "play-circle-o" | "play-circle" | "play" | "plug" | "plus-circle-o" | "plus-circle" | "plus-minus" | "plus-square-o" | "plus" | "pointer" | "power-off" | "presentation" | "print" | "progressbar" | "puzzle-piece" | "pyramid-chart" | "qrcode" | "question-circle-o" | "question-circle" | "question" | "quote-left" | "quote-right" | "random" | "raster-lower-left" | "raster" | "records" | "recycle" | "refresh" | "reply-all" | "reply" | "resize-h" | "resize-v" | "retweet" | "rhombus" | "road-branch" | "road-branches" | "road-split" | "road" | "rocket" | "rotate-left" | "rotate-right" | "rss-square" | "rss" | "safe-lock" | "safe" | "scale-unbalance" | "scale" | "scatter-chart" | "scissors" | "screwdriver" | "search-minus" | "search-plus" | "search" | "select" | "server" | "share-square" | "share" | "shield" | "shift-arrow" | "shift" | "shop" | "sign-in-alt" | "sign-in" | "sign-out-alt" | "sign-out" | "signal" | "sitemap" | "slider" | "sliders" | "smiley-o" | "sort" | "sound-disable" | "spark-line" | "specialist" | "spinner-arc" | "spinner-third" | "spinner" | "spline-area-chart" | "spline-chart" | "split-h" | "split-v" | "split" | "spoon" | "square-shadow" | "star-half-left-o" | "star-half-left" | "star-half-right-o" | "star-half-right" | "star-o" | "star" | "start-cog" | "step-backward" | "step-forward" | "stethoscope" | "stock" | "stop-cog" | "stop" | "stopwatch" | "storage" | "strikethrough" | "subscript" | "suitcase" | "sun-down" | "sun-o" | "sun-rise" | "superscript" | "sword" | "tab-a" | "tab" | "table" | "tablet" | "tabs" | "tag" | "tags" | "tasks" | "taxi" | "teeth" | "terminal" | "text-height" | "text-input" | "text-label" | "text-width" | "thin-square" | "thumbs-down-o" | "thumbs-down" | "thumbs-up-o" | "thumbs-up" | "ticket" | "time-backward" | "time-forward" | "timer" | "toolbox" | "tools" | "tooth" | "touch" | "train" | "trash" | "tree-table" | "trending-down" | "trending-up" | "trophy" | "truck" | "twin-col-select" | "twitter-square" | "twitter" | "umbrella" | "unlink" | "unlock" | "upload-alt" | "upload" | "user-card" | "user-check" | "user-clock" | "user-heart" | "user-star" | "user" | "users" | "vaadin-h" | "vaadin-v" | "viewport" | "vimeo-square" | "vimeo" | "volume-down" | "volume-off" | "volume-up" | "volume" | "wallet" | "warehouse" | "workplace" | "wrench" | "youtube-square" | "youtube" | undefined>; /** * When true, shows a remove control that emits {@link removed}. Parent owns * list state — this component does not unmount itself. */ readonly removable: _angular_core.InputSignalWithTransform; /** Accessible label for the remove control. */ readonly removeLabel: _angular_core.InputSignal; /** Emitted when the remove control is activated. */ readonly removed: _angular_core.OutputEmitterRef; protected readonly iconSize: _angular_core.Signal<14 | 12>; /** Trimmed custom accent, or `null` when using a named {@link variant}. */ protected readonly customAccent: _angular_core.Signal; protected readonly hostClass: _angular_core.Signal; /** * Soft background + text per variant, or the custom-color host class. * Dark mode uses translucent accents so chips never wash out as near-white * blobs. * @returns Tailwind / host class string for the active tone. */ private toneClass; /** * @param event - Click on the remove control. */ protected onRemove(event: Event): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** Known inbound / last-mile carrier slugs with bundled SVG marks. */ type CarrierLogoSlug = 'amazon' | 'dhl' | 'fedex' | 'usps' | 'ups'; type CarrierLogoSize = 'sm' | 'md'; /** * Normalizes free-text carrier names to a logo slug when recognized. * Matches lowercase vendor ids (`fedex`, `dhl`, …); no mark for `others`. */ declare function normalizeCarrierLogoSlug(value: string | null | undefined): CarrierLogoSlug | null; /** * Carrier marks for delivery vendor cells. * * Loads bundled SVGs from `assets/africanies-ui/carriers/{slug}.svg`. * Falls back to a compact text badge when no SVG exists for the value. * * @example * ```html * * * ``` */ declare class CarrierLogoComponent { /** Raw carrier slug or label from the API. */ readonly carrier: _angular_core.InputSignal; readonly size: _angular_core.InputSignal; protected readonly slug: _angular_core.Signal; protected readonly fallbackLabel: _angular_core.Signal; protected readonly ariaLabel: _angular_core.Signal; protected readonly imgClass: _angular_core.Signal<"h-9 w-auto max-w-[3.75rem] object-contain" | "h-8 w-auto max-w-[3.25rem] object-contain" | "h-6 w-auto max-w-[7rem] object-contain" | "h-5 w-auto max-w-[5.5rem] object-contain">; protected logoSrc(slug: CarrierLogoSlug): string; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Selectable row for {@link SelectComponent}. * * Optional {@link prefix} / {@link suffix} are **option-level** icon slots * (parallel to the control’s `[prefix]` / `[suffix]` projection on the * trigger). They render in the dropdown row, selected chips, and — in single * mode — beside the trigger label. * * @typeParam T - Underlying option value (string, id, entity key, etc.). */ interface SelectOption { /** Visible label in the trigger and list. */ label: string; /** Canonical value for equality / form models. */ value: T; /** When true, the option cannot be chosen. */ disabled?: boolean; /** * Leading icon slot for this option (`africanies-icon` name). * Omit when the row is label-only. */ prefix?: IconName; /** * Leading image URL (e.g. {@link countryFlagUrl} for country pickers). * Ignored when {@link prefix} is set. */ prefixImageUrl?: string; /** * Leading text/emoji shown before the label (e.g. country flag emoji). * Ignored when {@link prefix} or {@link prefixImageUrl} is set. */ prefixText?: string; /** * Trailing icon slot for this option (`africanies-icon` name). * Omit when the row is label-only. */ suffix?: IconName; } /** * Control height for {@link SelectComponent}. * * - `md` — default field height (`h-10`), matches md `africanies-button` * - `sm` — compact (`h-8`), matches sm `africanies-button` (pagination size picker) */ type SelectSize = 'sm' | 'md'; /** * Config for creating a new entity via {@link ModalService} from the select. * * Free-text creatable (`allowFreeText`) is independent: use free-text for * simple string-only options with no backing entity; use `create` when the * consumer needs a real creation flow (form modal) before the option exists. * * @typeParam TResult - Value the modal closes with (`afterClosed`). * @typeParam T - Option value type produced by `mapResult`. */ interface SelectCreateConfig { /** Label for the create trigger row at the bottom of the dropdown. */ label: string; /** Standalone component opened with {@link ModalService.open}. */ component: Type; /** Optional bag injected as {@link OVERLAY_DATA} into the modal. */ data?: unknown; /** * Maps the modal close result into a {@link SelectOption} to append and * select. Not called when the modal dismisses without a result. */ mapResult: (result: TResult) => SelectOption; } /** * * @param includeWalkIn */ declare function deliveryVendorSelectOptions(includeWalkIn?: boolean): SelectOption[]; /** * * @param storedValue * @param baseOptions */ declare function deliveryVendorOptionsForStoredValue(storedValue: string, baseOptions?: readonly SelectOption[]): SelectOption[]; /** * * @param storedValue * @param baseOptions */ declare function deliveryVendorSelected(storedValue: string, baseOptions?: readonly SelectOption[]): SelectOption | null; /** * Compact stacked text for table cells and detail panels. * * Typical use: name, email, and a timestamp (Packaged by, Created by, …). * Missing lines are omitted so the stack stays tight. * * @example * ```html * * ``` */ declare class ContentStackComponent { /** Primary line — usually a person or entity name. */ readonly title: _angular_core.InputSignal; /** Supporting line — usually an email. */ readonly subtitle: _angular_core.InputSignal; /** Trailing line — usually a formatted date or other caption. */ readonly extraLine: _angular_core.InputSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Registers {@link ToastService}, mounts the toast host, and bridges HTTP * toasts via {@link AFRICANIES_HTTP_TOAST} (used by {@link httpToastInterceptor}). * * Pair with {@link provideAfricaniesHttpClient} so {@link withToast} works. * * @returns Environment providers for `app.config.ts`. * * @example * ```ts * providers: [ * provideAfricaniesHttpClient(), * provideAfricaniesUiOverlays(), * provideAfricaniesToasts(), * ] * ``` */ declare function provideAfricaniesToasts(): EnvironmentProviders; /** * Toast tone — mirrors alert semantics, different surface (transient stack). */ type ToastVariant = 'info' | 'success' | 'warning' | 'danger'; /** * Input for {@link ToastService.show}. */ interface ToastShowOptions { /** Body copy (required). */ message: string; /** Optional short heading. */ title?: string; /** Semantic tone. Defaults to `info`. */ variant?: ToastVariant; /** * Auto-dismiss delay in ms. `null` = persistent until dismiss. * Omit to use the variant default (error → persistent, warning → longer). */ durationMs?: number | null; /** Override the default variant icon. */ icon?: IconName; } /** * One entry in the live toast stack. */ interface ToastItem { id: string; message: string; title?: string; variant: ToastVariant; /** `null` means persistent. */ durationMs: number | null; icon?: IconName; /** Collapse count when identical toasts merge. */ count: number; /** When true and {@link count} > 1, show every stacked copy. */ expanded: boolean; createdAt: number; } /** Default auto-dismiss timings (ms). `danger` is always persistent. */ declare const TOAST_DURATION_MS: Record; /** Default icons per variant. */ declare const TOAST_ICONS: Record; /** * Fingerprint used to collapse identical toasts (iOS-style count bump). * * @param variant - Tone. * @param title - Optional heading. * @param message - Body. * @returns Stable key. */ declare function toastFingerprint(variant: ToastVariant, title: string | undefined, message: string): string; /** * Imperative toast stack for AFRICANIES apps. * * - **danger** — persistent until the user closes it * - **warning** — longer auto-dismiss (8s) * - **info / success** — shorter auto-dismiss (4.5s) * - Identical toasts collapse with a count; × peels the outermost copy; * host Expand/Collapse all and Close all manage stacked groups * - The host caps to the viewport and scrolls when the list would overflow * * Also implements {@link AfricaniesHttpToastHandler} for {@link withToast} HTTP tagging. * * Prefer {@link provideAfricaniesToasts} at bootstrap so the host overlay mounts once. */ declare class ToastService implements AfricaniesHttpToastHandler { private readonly overlay; private readonly injector; private readonly destroyRef; private readonly itemsSignal; private readonly timers; private readonly fingerprints; private host; private hostAttached; private seq; /** Live stack (newest first). */ readonly items: _angular_core.Signal; /** True when any group has more than one collapsed copy. */ readonly hasStacks: _angular_core.Signal; /** * Host toolbar (Close all, plus Expand/Collapse all when stacked). * Shown for a stacked group or more than one toast in the list. */ readonly showHostActions: _angular_core.Signal; /** * True when every stacked group (count > 1) is expanded. * Used to swap the host control to “Collapse all”. */ readonly allStacksExpanded: _angular_core.Signal; /** * Ensures the fixed toast host is attached (idempotent). * Called from {@link provideAfricaniesToasts}. */ ensureHost(): void; /** * Push a toast (or bump count if an identical one is already open). * * @param options - Message + optional variant / duration / title. * @returns Toast id (stable across collapse bumps). */ show(options: ToastShowOptions): string; /** * Timed info toast. * * @param message - Body copy. * @param title - Optional heading. * @returns Toast id. */ info(message: string, title?: string): string; /** * Timed success toast. * * @param message - Body copy. * @param title - Optional heading. * @returns Toast id. */ success(message: string, title?: string): string; /** * Longer timed warning toast. * * @param message - Body copy. * @param title - Optional heading. * @returns Toast id. */ warning(message: string, title?: string): string; /** * Persistent error toast — user must dismiss. * * @param message - Body copy. * @param title - Optional heading. * @returns Toast id. */ error(message: string, title?: string): string; /** * Close the outermost copy in a stack (decrement count), or remove the toast * when only one remains. * * @param id - From {@link show}. */ dismissOne(id: string): void; /** * Remove an entire toast group (all stacked copies). * * @param id - From {@link show}. */ dismiss(id: string): void; /** * Expand a collapsed stack so every copy is visible. * * @param id - From {@link show}. */ expand(id: string): void; /** * Collapse an expanded stack back to a single card with a count. * * @param id - From {@link show}. */ collapse(id: string): void; /** Expand every stacked group (count > 1). */ expandAll(): void; /** Collapse every expanded group. */ collapseAll(): void; /** Dismiss every open toast. */ clear(): void; /** * Pause auto-dismiss while hovered / focused (timed toasts only). * * @param id - Toast id. */ pause(id: string): void; /** * Resume auto-dismiss after pause (timed toasts only). * * @param id - Toast id. */ resume(id: string): void; /** * Move the toast host back to the front of the popover top layer. * * WHY: CDK opens overlays as `popover="manual"` elements. The top layer * ignores z-index and paints in `showPopover()` order, so a dialog opened * after the toast host would cover it. */ private raiseToTop; /** * Re-raise the toast host whenever another overlay attaches, so an open * toast stays visible when a dialog or drawer opens after it. * * @param host - Toast overlay host element. */ private watchOverlayStack; private armTimer; private teardown; private clearTimer; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** Preferred placement for {@link TooltipComponent}. */ type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right'; /** * Contextual help tip — default info icon or a custom projected trigger. * * Opens on hover, keyboard focus, and click/tap so it works on desktop and * mobile. Same CDK connected-overlay pattern as select / action-menu (not * clipped by parent `overflow`). * * @example * ```html * * * * * * * * ``` */ declare class TooltipComponent { protected readonly tooltipId: string; private readonly customTrigger; /** Tooltip body copy. */ readonly text: _angular_core.InputSignal; /** Preferred side; flips when there is no room. */ readonly placement: _angular_core.InputSignal; /** Icon for the default trigger (ignored when a custom trigger is projected). */ readonly icon: _angular_core.InputSignal<"underline" | "info" | "warning" | "abacus" | "absolute-position" | "academy-cap" | "accessibility" | "accordion-menu" | "add-dock" | "adjust" | "adobe-flash" | "airplane" | "alarm" | "align-center" | "align-justify" | "align-left" | "align-right" | "alt-a" | "alt" | "ambulance" | "anchor" | "angle-double-down" | "angle-double-left" | "angle-double-right" | "angle-double-up" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "archive" | "archives" | "area-select" | "arrow-backward" | "arrow-circle-down-o" | "arrow-circle-down" | "arrow-circle-left-o" | "arrow-circle-left" | "arrow-circle-right-o" | "arrow-circle-right" | "arrow-circle-up-o" | "arrow-circle-up" | "arrow-down" | "arrow-forward" | "arrow-left" | "arrow-long-down" | "arrow-long-left" | "arrow-right" | "arrow-up" | "arrows-cross" | "arrows-long-h" | "arrows-long-right" | "arrows-long-up" | "arrows-long-v" | "arrows" | "asterisk" | "at" | "automation" | "backspace-a" | "backspace" | "backwards" | "ban" | "bar-chart-h" | "bar-chart-v" | "bar-chart" | "barcode" | "bed" | "bell-o" | "bell-slash-o" | "bell-slash" | "bell" | "boat" | "bold" | "bolt" | "bomb" | "book-dollar" | "book-percent" | "book" | "bookmark-o" | "bookmark" | "briefcase" | "browser" | "bug-o" | "bug" | "building-o" | "building" | "bullets" | "bullseye" | "bus" | "button" | "calc-book" | "calc" | "calendar-briefcase" | "calendar-clock" | "calendar-envelope" | "calendar-o" | "calendar-user" | "calendar" | "camera" | "car" | "caret-down" | "caret-left" | "caret-right" | "caret-square-down-o" | "caret-square-left-o" | "caret-square-right-o" | "caret-square-up-o" | "caret-up" | "cart-o" | "cart" | "cash" | "chart-3d" | "chart-grid" | "chart-line" | "chart-timeline" | "chart" | "chat" | "check-circle-o" | "check-circle" | "check-square-o" | "check-square" | "check" | "chevron-circle-down-o" | "chevron-circle-down" | "chevron-circle-left-o" | "chevron-circle-left" | "chevron-circle-right-o" | "chevron-circle-right" | "chevron-circle-up-o" | "chevron-circle-up" | "chevron-down-small" | "chevron-down" | "chevron-left-small" | "chevron-left" | "chevron-right-small" | "chevron-right" | "chevron-up-small" | "chevron-up" | "child" | "circle-thin" | "circle" | "clipboard-check" | "clipboard-cross" | "clipboard-heart" | "clipboard-pulse" | "clipboard-text" | "clipboard-user" | "clipboard" | "clock" | "close-big" | "close-circle-o" | "close-circle" | "close-small" | "close" | "cloud-download-o" | "cloud-download" | "cloud-o" | "cloud-upload-o" | "cloud-upload" | "cloud" | "cluster" | "code" | "coffee" | "cog-o" | "cog" | "cogs" | "coin-piles" | "coins" | "combobox" | "comment-ellipsis-o" | "comment-ellipsis" | "comment-o" | "comment" | "comments-o" | "comments" | "compile" | "compress-square" | "compress" | "connect-o" | "connect" | "controller" | "copy-o" | "copy" | "copyright" | "corner-lower-left" | "corner-lower-right" | "corner-upper-left" | "corner-upper-right" | "credit-card" | "crop" | "cross-cutlery" | "crosshairs" | "css" | "ctrl-a" | "ctrl" | "cube" | "cubes" | "curly-brackets" | "cursor-o" | "cursor" | "cutlery" | "dashboard" | "database" | "date-input" | "deindent" | "del-a" | "del" | "dental-chair" | "desktop" | "diamond-o" | "diamond" | "diasporan-partner" | "diploma-scroll" | "diploma" | "disc" | "doctor-briefcase" | "doctor" | "dollar" | "dot-circle" | "download-alt" | "download" | "drop" | "edit" | "eject" | "elastic" | "ellipsis-circle-o" | "ellipsis-circle" | "ellipsis-dots-h" | "ellipsis-dots-v" | "ellipsis-h" | "ellipsis-v" | "enter-arrow" | "enter" | "envelope-o" | "envelope-open-o" | "envelope-open" | "envelope" | "envelopes-o" | "envelopes" | "eraser" | "esc-a" | "esc" | "euro" | "exchange" | "exclamation-circle-o" | "exclamation-circle" | "exclamation" | "exit-o" | "exit" | "expand-full" | "expand-square" | "expand" | "external-browser" | "external-link" | "eye-slash" | "eye" | "eyedropper" | "facebook-square" | "facebook" | "factory" | "family" | "fast-backward" | "fast-forward" | "female" | "file-add" | "file-code" | "file-font" | "file-movie" | "file-o" | "file-picture" | "file-presentation" | "file-process" | "file-refresh" | "file-remove" | "file-search" | "file-sound" | "file-start" | "file-table" | "file-text-o" | "file-text" | "file-tree-small" | "file-tree-sub" | "file-tree" | "file-zip" | "file" | "fill" | "film" | "filter" | "fire" | "flag-checkered" | "flag-o" | "flag" | "flash" | "flask" | "flight-landing" | "flight-takeoff" | "flip-h" | "flip-v" | "folder-add" | "folder-o" | "folder-open-o" | "folder-open" | "folder-remove" | "folder-search" | "folder" | "font" | "form" | "forward" | "frown-o" | "funcion" | "funnel" | "gamepad" | "gavel" | "gift" | "glass" | "glasses" | "globe-wire" | "globe" | "golf" | "google-plus-square" | "google-plus" | "grab" | "grid-bevel" | "grid-big-o" | "grid-big" | "grid-h" | "grid-small-o" | "grid-small" | "grid-v" | "grid" | "group" | "hammer" | "hand-coins" | "hand" | "handle-corner" | "hands-up" | "handshake" | "harddrive-o" | "harddrive" | "hash" | "header" | "headphones" | "headset" | "health-card" | "heart-o" | "heart" | "home-o" | "home" | "hospital" | "hourglass-empty" | "hourglass-end" | "hourglass-start" | "hourglass" | "inbox" | "indent" | "info-circle-o" | "info-circle" | "input" | "insert" | "institution" | "invoice" | "italic" | "key-o" | "key" | "keyboard-o" | "keyboard" | "laptop" | "layout" | "level-down-bold" | "level-down" | "level-left-bold" | "level-left" | "level-right-bold" | "level-right" | "level-up-bold" | "level-up" | "lifebuoy" | "lightbulb" | "line-bar-chart" | "line-chart" | "line-h" | "line-v" | "lines-list" | "lines" | "link" | "list-ol" | "list-select" | "list-ul" | "list" | "location-arrow-circle-o" | "location-arrow-circle" | "location-arrow" | "lock" | "magic" | "magnet" | "mailbox" | "male" | "map-marker" | "margin-bottom" | "margin-left" | "margin-right" | "margin-top" | "margin" | "medal" | "megaphone" | "meh-o" | "menu" | "microphone" | "mini-partner" | "minus-circle-o" | "minus-circle" | "minus-square-o" | "minus" | "mobile-browser" | "mobile-retro" | "mobile" | "modal-list" | "modal" | "money-deposit" | "money-exchange" | "money-withdraw" | "money" | "moon-o" | "moon" | "morning" | "movie" | "music" | "mute" | "native-button" | "newspaper" | "notebook" | "number-count" | "nurse" | "office" | "open-book" | "option-a" | "option" | "options" | "orientation" | "out" | "outbox" | "package" | "padding-bottom" | "padding-left" | "padding-right" | "padding-top" | "padding" | "paint-roll" | "paintbrush" | "palette" | "panel" | "paperclip" | "paperplane-o" | "paperplane" | "paragraph" | "partner" | "password" | "paste" | "pause" | "pencil" | "phone-landline" | "phone" | "picture" | "pie-bar-chart" | "pie-chart" | "piggy-bank-coin" | "piggy-bank" | "pill" | "pills" | "pin-post" | "pin" | "play-circle-o" | "play-circle" | "play" | "plug" | "plus-circle-o" | "plus-circle" | "plus-minus" | "plus-square-o" | "plus" | "pointer" | "power-off" | "presentation" | "print" | "progressbar" | "puzzle-piece" | "pyramid-chart" | "qrcode" | "question-circle-o" | "question-circle" | "question" | "quote-left" | "quote-right" | "random" | "raster-lower-left" | "raster" | "records" | "recycle" | "refresh" | "reply-all" | "reply" | "resize-h" | "resize-v" | "retweet" | "rhombus" | "road-branch" | "road-branches" | "road-split" | "road" | "rocket" | "rotate-left" | "rotate-right" | "rss-square" | "rss" | "safe-lock" | "safe" | "scale-unbalance" | "scale" | "scatter-chart" | "scissors" | "screwdriver" | "search-minus" | "search-plus" | "search" | "select" | "server" | "share-square" | "share" | "shield" | "shift-arrow" | "shift" | "shop" | "sign-in-alt" | "sign-in" | "sign-out-alt" | "sign-out" | "signal" | "sitemap" | "slider" | "sliders" | "smiley-o" | "sort" | "sound-disable" | "spark-line" | "specialist" | "spinner-arc" | "spinner-third" | "spinner" | "spline-area-chart" | "spline-chart" | "split-h" | "split-v" | "split" | "spoon" | "square-shadow" | "star-half-left-o" | "star-half-left" | "star-half-right-o" | "star-half-right" | "star-o" | "star" | "start-cog" | "step-backward" | "step-forward" | "stethoscope" | "stock" | "stop-cog" | "stop" | "stopwatch" | "storage" | "strikethrough" | "subscript" | "suitcase" | "sun-down" | "sun-o" | "sun-rise" | "superscript" | "sword" | "tab-a" | "tab" | "table" | "tablet" | "tabs" | "tag" | "tags" | "tasks" | "taxi" | "teeth" | "terminal" | "text-height" | "text-input" | "text-label" | "text-width" | "thin-square" | "thumbs-down-o" | "thumbs-down" | "thumbs-up-o" | "thumbs-up" | "ticket" | "time-backward" | "time-forward" | "timer" | "toolbox" | "tools" | "tooth" | "touch" | "train" | "trash" | "tree-table" | "trending-down" | "trending-up" | "trophy" | "truck" | "twin-col-select" | "twitter-square" | "twitter" | "umbrella" | "unlink" | "unlock" | "upload-alt" | "upload" | "user-card" | "user-check" | "user-clock" | "user-heart" | "user-star" | "user" | "users" | "vaadin-h" | "vaadin-v" | "viewport" | "vimeo-square" | "vimeo" | "volume-down" | "volume-off" | "volume-up" | "volume" | "wallet" | "warehouse" | "workplace" | "wrench" | "youtube-square" | "youtube">; /** Accessible name for the default icon button. */ readonly ariaLabel: _angular_core.InputSignal; /** When true, the tip never opens. */ readonly disabled: _angular_core.InputSignalWithTransform; protected readonly open: _angular_core.WritableSignal; /** Click/tap keeps the tip open until dismiss (backdrop / Escape / outside). */ protected readonly sticky: _angular_core.WritableSignal; private closeTimer; protected readonly hasCustomTrigger: _angular_core.Signal; protected readonly panelPositions: _angular_core.Signal; protected onPointerEnter(): void; protected onPointerLeave(): void; protected onPanelEnter(): void; protected onFocusIn(): void; protected onFocusOut(event: FocusEvent): void; protected onTriggerClick(event: MouseEvent): void; protected onKeydown(event: KeyboardEvent): void; protected onOutsideClick(): void; protected onOverlayDetach(): void; protected close(): void; private scheduleClose; private clearCloseTimer; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Marks projected content as the custom trigger for {@link TooltipComponent}. * * When present, the default info icon is hidden and this element owns open * interactions (hover / focus / click bubble to the tooltip host). * * @example * ```html * * * * ``` */ declare class TooltipTriggerDirective { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } /** Preferred placement for {@link InfoPopoverComponent}. */ type InfoPopoverPlacement = 'top' | 'bottom' | 'left' | 'right'; /** * Hover / focus / click info panel with a white card, optional title, and * fully projected body content (any child component or markup). * * Use this when the tip needs structured content (lists, actions, custom UI). * Prefer {@link TooltipComponent} for short plain-text help. * * @example * ```html * *
    * @for (zone of zones; track zone) { *
  • {{ zone }}
  • * } *
*
* * * * * * * ``` */ declare class InfoPopoverComponent { protected readonly panelId: string; private readonly customTrigger; /** Optional heading above the projected body (with divider). */ readonly title: _angular_core.InputSignal; /** Preferred side; flips when there is no room. */ readonly placement: _angular_core.InputSignal; /** Icon for the default trigger (ignored when a custom trigger is projected). */ readonly icon: _angular_core.InputSignal<"underline" | "info" | "warning" | "abacus" | "absolute-position" | "academy-cap" | "accessibility" | "accordion-menu" | "add-dock" | "adjust" | "adobe-flash" | "airplane" | "alarm" | "align-center" | "align-justify" | "align-left" | "align-right" | "alt-a" | "alt" | "ambulance" | "anchor" | "angle-double-down" | "angle-double-left" | "angle-double-right" | "angle-double-up" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "archive" | "archives" | "area-select" | "arrow-backward" | "arrow-circle-down-o" | "arrow-circle-down" | "arrow-circle-left-o" | "arrow-circle-left" | "arrow-circle-right-o" | "arrow-circle-right" | "arrow-circle-up-o" | "arrow-circle-up" | "arrow-down" | "arrow-forward" | "arrow-left" | "arrow-long-down" | "arrow-long-left" | "arrow-right" | "arrow-up" | "arrows-cross" | "arrows-long-h" | "arrows-long-right" | "arrows-long-up" | "arrows-long-v" | "arrows" | "asterisk" | "at" | "automation" | "backspace-a" | "backspace" | "backwards" | "ban" | "bar-chart-h" | "bar-chart-v" | "bar-chart" | "barcode" | "bed" | "bell-o" | "bell-slash-o" | "bell-slash" | "bell" | "boat" | "bold" | "bolt" | "bomb" | "book-dollar" | "book-percent" | "book" | "bookmark-o" | "bookmark" | "briefcase" | "browser" | "bug-o" | "bug" | "building-o" | "building" | "bullets" | "bullseye" | "bus" | "button" | "calc-book" | "calc" | "calendar-briefcase" | "calendar-clock" | "calendar-envelope" | "calendar-o" | "calendar-user" | "calendar" | "camera" | "car" | "caret-down" | "caret-left" | "caret-right" | "caret-square-down-o" | "caret-square-left-o" | "caret-square-right-o" | "caret-square-up-o" | "caret-up" | "cart-o" | "cart" | "cash" | "chart-3d" | "chart-grid" | "chart-line" | "chart-timeline" | "chart" | "chat" | "check-circle-o" | "check-circle" | "check-square-o" | "check-square" | "check" | "chevron-circle-down-o" | "chevron-circle-down" | "chevron-circle-left-o" | "chevron-circle-left" | "chevron-circle-right-o" | "chevron-circle-right" | "chevron-circle-up-o" | "chevron-circle-up" | "chevron-down-small" | "chevron-down" | "chevron-left-small" | "chevron-left" | "chevron-right-small" | "chevron-right" | "chevron-up-small" | "chevron-up" | "child" | "circle-thin" | "circle" | "clipboard-check" | "clipboard-cross" | "clipboard-heart" | "clipboard-pulse" | "clipboard-text" | "clipboard-user" | "clipboard" | "clock" | "close-big" | "close-circle-o" | "close-circle" | "close-small" | "close" | "cloud-download-o" | "cloud-download" | "cloud-o" | "cloud-upload-o" | "cloud-upload" | "cloud" | "cluster" | "code" | "coffee" | "cog-o" | "cog" | "cogs" | "coin-piles" | "coins" | "combobox" | "comment-ellipsis-o" | "comment-ellipsis" | "comment-o" | "comment" | "comments-o" | "comments" | "compile" | "compress-square" | "compress" | "connect-o" | "connect" | "controller" | "copy-o" | "copy" | "copyright" | "corner-lower-left" | "corner-lower-right" | "corner-upper-left" | "corner-upper-right" | "credit-card" | "crop" | "cross-cutlery" | "crosshairs" | "css" | "ctrl-a" | "ctrl" | "cube" | "cubes" | "curly-brackets" | "cursor-o" | "cursor" | "cutlery" | "dashboard" | "database" | "date-input" | "deindent" | "del-a" | "del" | "dental-chair" | "desktop" | "diamond-o" | "diamond" | "diasporan-partner" | "diploma-scroll" | "diploma" | "disc" | "doctor-briefcase" | "doctor" | "dollar" | "dot-circle" | "download-alt" | "download" | "drop" | "edit" | "eject" | "elastic" | "ellipsis-circle-o" | "ellipsis-circle" | "ellipsis-dots-h" | "ellipsis-dots-v" | "ellipsis-h" | "ellipsis-v" | "enter-arrow" | "enter" | "envelope-o" | "envelope-open-o" | "envelope-open" | "envelope" | "envelopes-o" | "envelopes" | "eraser" | "esc-a" | "esc" | "euro" | "exchange" | "exclamation-circle-o" | "exclamation-circle" | "exclamation" | "exit-o" | "exit" | "expand-full" | "expand-square" | "expand" | "external-browser" | "external-link" | "eye-slash" | "eye" | "eyedropper" | "facebook-square" | "facebook" | "factory" | "family" | "fast-backward" | "fast-forward" | "female" | "file-add" | "file-code" | "file-font" | "file-movie" | "file-o" | "file-picture" | "file-presentation" | "file-process" | "file-refresh" | "file-remove" | "file-search" | "file-sound" | "file-start" | "file-table" | "file-text-o" | "file-text" | "file-tree-small" | "file-tree-sub" | "file-tree" | "file-zip" | "file" | "fill" | "film" | "filter" | "fire" | "flag-checkered" | "flag-o" | "flag" | "flash" | "flask" | "flight-landing" | "flight-takeoff" | "flip-h" | "flip-v" | "folder-add" | "folder-o" | "folder-open-o" | "folder-open" | "folder-remove" | "folder-search" | "folder" | "font" | "form" | "forward" | "frown-o" | "funcion" | "funnel" | "gamepad" | "gavel" | "gift" | "glass" | "glasses" | "globe-wire" | "globe" | "golf" | "google-plus-square" | "google-plus" | "grab" | "grid-bevel" | "grid-big-o" | "grid-big" | "grid-h" | "grid-small-o" | "grid-small" | "grid-v" | "grid" | "group" | "hammer" | "hand-coins" | "hand" | "handle-corner" | "hands-up" | "handshake" | "harddrive-o" | "harddrive" | "hash" | "header" | "headphones" | "headset" | "health-card" | "heart-o" | "heart" | "home-o" | "home" | "hospital" | "hourglass-empty" | "hourglass-end" | "hourglass-start" | "hourglass" | "inbox" | "indent" | "info-circle-o" | "info-circle" | "input" | "insert" | "institution" | "invoice" | "italic" | "key-o" | "key" | "keyboard-o" | "keyboard" | "laptop" | "layout" | "level-down-bold" | "level-down" | "level-left-bold" | "level-left" | "level-right-bold" | "level-right" | "level-up-bold" | "level-up" | "lifebuoy" | "lightbulb" | "line-bar-chart" | "line-chart" | "line-h" | "line-v" | "lines-list" | "lines" | "link" | "list-ol" | "list-select" | "list-ul" | "list" | "location-arrow-circle-o" | "location-arrow-circle" | "location-arrow" | "lock" | "magic" | "magnet" | "mailbox" | "male" | "map-marker" | "margin-bottom" | "margin-left" | "margin-right" | "margin-top" | "margin" | "medal" | "megaphone" | "meh-o" | "menu" | "microphone" | "mini-partner" | "minus-circle-o" | "minus-circle" | "minus-square-o" | "minus" | "mobile-browser" | "mobile-retro" | "mobile" | "modal-list" | "modal" | "money-deposit" | "money-exchange" | "money-withdraw" | "money" | "moon-o" | "moon" | "morning" | "movie" | "music" | "mute" | "native-button" | "newspaper" | "notebook" | "number-count" | "nurse" | "office" | "open-book" | "option-a" | "option" | "options" | "orientation" | "out" | "outbox" | "package" | "padding-bottom" | "padding-left" | "padding-right" | "padding-top" | "padding" | "paint-roll" | "paintbrush" | "palette" | "panel" | "paperclip" | "paperplane-o" | "paperplane" | "paragraph" | "partner" | "password" | "paste" | "pause" | "pencil" | "phone-landline" | "phone" | "picture" | "pie-bar-chart" | "pie-chart" | "piggy-bank-coin" | "piggy-bank" | "pill" | "pills" | "pin-post" | "pin" | "play-circle-o" | "play-circle" | "play" | "plug" | "plus-circle-o" | "plus-circle" | "plus-minus" | "plus-square-o" | "plus" | "pointer" | "power-off" | "presentation" | "print" | "progressbar" | "puzzle-piece" | "pyramid-chart" | "qrcode" | "question-circle-o" | "question-circle" | "question" | "quote-left" | "quote-right" | "random" | "raster-lower-left" | "raster" | "records" | "recycle" | "refresh" | "reply-all" | "reply" | "resize-h" | "resize-v" | "retweet" | "rhombus" | "road-branch" | "road-branches" | "road-split" | "road" | "rocket" | "rotate-left" | "rotate-right" | "rss-square" | "rss" | "safe-lock" | "safe" | "scale-unbalance" | "scale" | "scatter-chart" | "scissors" | "screwdriver" | "search-minus" | "search-plus" | "search" | "select" | "server" | "share-square" | "share" | "shield" | "shift-arrow" | "shift" | "shop" | "sign-in-alt" | "sign-in" | "sign-out-alt" | "sign-out" | "signal" | "sitemap" | "slider" | "sliders" | "smiley-o" | "sort" | "sound-disable" | "spark-line" | "specialist" | "spinner-arc" | "spinner-third" | "spinner" | "spline-area-chart" | "spline-chart" | "split-h" | "split-v" | "split" | "spoon" | "square-shadow" | "star-half-left-o" | "star-half-left" | "star-half-right-o" | "star-half-right" | "star-o" | "star" | "start-cog" | "step-backward" | "step-forward" | "stethoscope" | "stock" | "stop-cog" | "stop" | "stopwatch" | "storage" | "strikethrough" | "subscript" | "suitcase" | "sun-down" | "sun-o" | "sun-rise" | "superscript" | "sword" | "tab-a" | "tab" | "table" | "tablet" | "tabs" | "tag" | "tags" | "tasks" | "taxi" | "teeth" | "terminal" | "text-height" | "text-input" | "text-label" | "text-width" | "thin-square" | "thumbs-down-o" | "thumbs-down" | "thumbs-up-o" | "thumbs-up" | "ticket" | "time-backward" | "time-forward" | "timer" | "toolbox" | "tools" | "tooth" | "touch" | "train" | "trash" | "tree-table" | "trending-down" | "trending-up" | "trophy" | "truck" | "twin-col-select" | "twitter-square" | "twitter" | "umbrella" | "unlink" | "unlock" | "upload-alt" | "upload" | "user-card" | "user-check" | "user-clock" | "user-heart" | "user-star" | "user" | "users" | "vaadin-h" | "vaadin-v" | "viewport" | "vimeo-square" | "vimeo" | "volume-down" | "volume-off" | "volume-up" | "volume" | "wallet" | "warehouse" | "workplace" | "wrench" | "youtube-square" | "youtube">; /** Accessible name for the default icon button. */ readonly ariaLabel: _angular_core.InputSignal; /** When true, the popover never opens. */ readonly disabled: _angular_core.InputSignalWithTransform; protected readonly open: _angular_core.WritableSignal; /** Click/tap keeps the panel open until dismiss (backdrop / Escape / outside). */ protected readonly sticky: _angular_core.WritableSignal; private closeTimer; protected readonly hasCustomTrigger: _angular_core.Signal; protected readonly panelPositions: _angular_core.Signal; /** * Full panel class list (static card + CSS triangle toward the trigger). * Bound via `[class]` so arrow position tracks preferred placement. */ protected readonly panelArrowClass: _angular_core.Signal<"relative z-10 w-max max-w-xs rounded-panel border border-border bg-surface px-4 py-3 text-ink shadow-floating dark:border-white/15 dark:bg-ink-950 dark:text-white before:pointer-events-none before:absolute before:z-0 before:h-2.5 before:w-2.5 before:rotate-45 before:border before:border-border before:bg-surface before:content-[''] dark:before:border-white/15 dark:before:bg-ink-950 before:left-1/2 before:top-0 before:-translate-x-1/2 before:-translate-y-1/2 before:border-b-0 before:border-r-0" | "relative z-10 w-max max-w-xs rounded-panel border border-border bg-surface px-4 py-3 text-ink shadow-floating dark:border-white/15 dark:bg-ink-950 dark:text-white before:pointer-events-none before:absolute before:z-0 before:h-2.5 before:w-2.5 before:rotate-45 before:border before:border-border before:bg-surface before:content-[''] dark:before:border-white/15 dark:before:bg-ink-950 before:right-0 before:top-1/2 before:translate-x-1/2 before:-translate-y-1/2 before:border-b-0 before:border-l-0" | "relative z-10 w-max max-w-xs rounded-panel border border-border bg-surface px-4 py-3 text-ink shadow-floating dark:border-white/15 dark:bg-ink-950 dark:text-white before:pointer-events-none before:absolute before:z-0 before:h-2.5 before:w-2.5 before:rotate-45 before:border before:border-border before:bg-surface before:content-[''] dark:before:border-white/15 dark:before:bg-ink-950 before:left-0 before:top-1/2 before:-translate-x-1/2 before:-translate-y-1/2 before:border-r-0 before:border-t-0" | "relative z-10 w-max max-w-xs rounded-panel border border-border bg-surface px-4 py-3 text-ink shadow-floating dark:border-white/15 dark:bg-ink-950 dark:text-white before:pointer-events-none before:absolute before:z-0 before:h-2.5 before:w-2.5 before:rotate-45 before:border before:border-border before:bg-surface before:content-[''] dark:before:border-white/15 dark:before:bg-ink-950 before:bottom-0 before:left-1/2 before:-translate-x-1/2 before:translate-y-1/2 before:border-l-0 before:border-t-0">; protected onPointerEnter(): void; protected onPointerLeave(): void; protected onPanelEnter(): void; protected onFocusIn(): void; protected onFocusOut(event: FocusEvent): void; protected onTriggerClick(event: MouseEvent): void; protected onKeydown(event: KeyboardEvent): void; protected onOutsideClick(): void; protected onOverlayDetach(): void; protected close(): void; private scheduleClose; private clearCloseTimer; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Marks projected content as the panel body for {@link InfoPopoverComponent}. * * Any component or markup can be projected — lists, forms, custom layouts, etc. * * @example * ```html * *
    * @for (zone of zones; track zone) { *
  • {{ zone }}
  • * } *
*
* ``` */ declare class InfoPopoverContentDirective { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } /** * Marks projected content as the custom trigger for {@link InfoPopoverComponent}. * * When present, the default info icon is hidden and this element owns open * interactions (hover / focus / click bubble to the popover host). * * @example * ```html * * *
    …
*
* ``` */ declare class InfoPopoverTriggerDirective { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } /** * Bidirectional list-query sync with the browser URL. * * - {@link read} / {@link hasParams} hydrate {@link FilterStateModel} when * `page`, `size`, or filter keys are present. * - {@link write} replaces those keys on Apply (keeps overlay / unrelated params). * - {@link setPage} / {@link setSize} merge pagination keys (size change resets * `page` to 1). * * No-ops when Angular Router is not in the injector (unit tests without * `provideRouter`). */ declare class FilterQueryService { private readonly route; private readonly router; /** * True when the current URL has any filter / pagination query this config * understands. * * @param config - Module schema (param names + transport). * @returns Whether the URL should seed filter / pager state. */ hasParams(config: ModuleFilterConfigModel): boolean; /** * Rebuild filter state from the current URL. * * Missing keys yield {@link emptyFilterState} defaults (no `page` / `size` * unless present). * * @param config - Module schema. * @returns Hydrated state. */ read(config: ModuleFilterConfigModel): FilterStateModel; /** * Write the serialized filter bag to the URL. * * Drops previous keys from this config so cleared filters disappear, then * sets the new bag. Sibling params (`modal`, `drawer`, …) are kept. * * @param state - Committed filter state (include `page` / `size`). * @param config - Module schema. * @returns Router navigation result, or `false` when Router is unavailable. */ write(state: FilterStateModel, config: ModuleFilterConfigModel): Promise; /** * Merge `page` into the current query string. * * @param page - 1-based page index. * @param config - Optional schema; defaults to the `page` query key. * @returns Router navigation result, or `false` when Router is unavailable. */ setPage(page: number, config?: ModuleFilterConfigModel): Promise; /** * Merge `size` and reset `page` to 1. * * @param size - Page size. * @param config - Optional schema; defaults to `page` / `size` query keys. * @returns Router navigation result, or `false` when Router is unavailable. */ setSize(size: number, config?: ModuleFilterConfigModel): Promise; private mergeQuery; private snapshotBag; private snapshotRecord; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * Clears applied list filters (search / dates / fields), keeps page size, * resets to page 1, and syncs the URL via {@link FilterQueryService.write}. * Hosts that listen to `queryParamMap` will refetch from the cleared state. */ declare function clearAppliedListFilters(options: { filterQuery: FilterQueryService; config: ModuleFilterConfigModel; filterState: WritableSignal; }): void; /** * Concrete {@link OverlayHandle} bound to a CDK {@link OverlayRef}. * * Provided into the overlay content injector so opened components can call * `close(result)` without importing CDK types. Completing `afterClosed` * once keeps route sync and confirm flows from double-firing. * * @typeParam TResult - Value forwarded to `afterClosed` subscribers. */ declare class AfricaniesOverlayRef implements OverlayHandle { private readonly overlayRef; private readonly playLeave?; private readonly closed$; private settled; /** * @param overlayRef - CDK overlay hosting the content portal. * @param playLeave - Optional leave animation that must finish before dispose. */ constructor(overlayRef: OverlayRef, playLeave?: (() => Promise) | undefined); /** * Disposes the overlay and emits `result` on {@link afterClosed}. * * Idempotent: later calls are ignored so backdrop + ESC + explicit close * cannot emit twice. When a leave animation is configured, dispose waits * until it finishes so the panel can blur/slide out. * * @param result - Optional value for callers awaiting the dialog outcome. */ close(result?: TResult): void; /** * Emits once when the overlay finishes closing, then completes. * * @returns Observable of the close result (or `undefined` if dismissed). */ afterClosed(): Observable; } /** * Payload injected into {@link FilterDrawerPanel} via {@link OVERLAY_DATA}. */ interface FilterDrawerData { /** Module schema that drives the drawer UI. */ config: ModuleFilterConfigModel; /** Current filter state (cloned inside the panel for editing). */ state?: FilterStateModel | null; /** * Host-resolved option lists keyed by {@link FilterFieldModel.key} * (for `optionsSource` selects such as manifests without a built-in SDK service). * * SDK catalogs (`warehouses`, `shipmentMethods`) load lazily inside the drawer * when the user adds the field via Filter by — no prefetch required. */ optionLists?: Record; /** Drawer title override (defaults to “Filters”). */ title?: string; /** * Optional async apply hook (list refetch, etc.). * * When provided, Apply waits until the Observable/Promise completes * **successfully**, then closes the drawer and writes the query bag to the * URL. Errors leave the drawer open so the user can fix filters and retry. * Omit for sync close (playground / local-only state updates). * * @param draft - Pending state + serialized params (not yet committed by the host). */ onApply?: (draft: { state: FilterStateModel; params: FilterParamsModel; }) => Observable | Promise | void; } /** * Result emitted when the user applies filters. * Cancel / backdrop dismiss yields `undefined` from `afterClosed`. */ interface FilterDrawerResult { applied: true; /** Edited map state after Apply. */ state: FilterStateModel; /** Serialized query / API bag for the active transport. */ params: FilterParamsModel; } /** * Schema-driven filter drawer body. * * Opened via {@link FilterDrawerService} (or {@link DrawerService} with this * component). Edits a cloned {@link FilterStateModel}; Apply serializes with * {@link toFilterParams}. When {@link FilterDrawerData.onApply} is set, the * drawer stays open until that call succeeds, then closes with * {@link FilterDrawerResult}. Successful Apply also writes the query bag to * the browser URL via {@link FilterQueryService} (page resets to 1). * * Enter in an input/select applies filters (same as Apply). Textareas, * contenteditable, and focused buttons/links are skipped so native activation * still works. */ declare class FilterDrawerPanel { private readonly i18n; protected readonly data: FilterDrawerData; protected readonly ref: AfricaniesOverlayRef; protected readonly eyebrowLabel: _angular_core.Signal; protected readonly closeLabel: _angular_core.Signal; protected readonly dateLabel: _angular_core.Signal; protected readonly clearLabel: _angular_core.Signal; protected readonly fromLabel: _angular_core.Signal; protected readonly toLabel: _angular_core.Signal; protected readonly sortLabel: _angular_core.Signal; protected readonly filterByLabel: _angular_core.Signal; protected readonly selectFieldsLabel: _angular_core.Signal; protected readonly selectPlaceholder: _angular_core.Signal; protected readonly applyFailedLabel: _angular_core.Signal; protected readonly dismissLabel: _angular_core.Signal; protected readonly resetLabel: _angular_core.Signal; protected readonly applyLabel: _angular_core.Signal; protected readonly applyingLabel: _angular_core.Signal; private readonly destroyRef; private readonly filterOptions; private readonly filterQuery; protected readonly config: _africanies_africanies_models.ModuleFilterConfigModel; protected readonly title: _angular_core.Signal; /** True while {@link FilterDrawerData.onApply} is in flight. */ protected readonly applying: _angular_core.WritableSignal; /** Last apply failure message (cleared on retry / success). */ protected readonly applyError: _angular_core.WritableSignal; /** Local edit buffer — host state only updates on Apply. */ protected readonly draft: _angular_core.WritableSignal; /** * Fields the user has “opened” for value entry. * Seeded from keys that already have values so hydrate restores sections. */ protected readonly selectedKeys: _angular_core.WritableSignal; /** Loaded async / host option rows keyed by field.key. */ protected readonly optionLists: _angular_core.WritableSignal>; /** Field-level catalog fetch errors (select error slot). */ protected readonly optionErrors: _angular_core.WritableSignal>; /** Fields currently loading SDK catalogs. */ protected readonly optionLoading: _angular_core.WritableSignal>; private readonly optionLoadsStarted; constructor(); protected readonly activeFields: _angular_core.Signal; protected readonly filterByOptions: _angular_core.Signal[]>; protected readonly dateFieldOptions: _angular_core.Signal[]>; protected readonly sortOptions: _angular_core.Signal[]>; protected selectedFilterBy(): SelectOption[]; protected selectedDateField(): SelectOption | null; protected selectedSort(): SelectOption | null; protected onFilterByChange(selected: SelectOption | SelectOption[] | null): void; protected clearField(key: string): void; protected setFieldValue(key: string, value: string): void; protected patchSearch(value: string): void; protected patchFrom(value: string | null): void; protected patchTo(value: string | null): void; /** Clears date field + range without touching other filters. */ protected clearDateSection(): void; protected onDateFieldChange(selected: SelectOption | SelectOption[] | null): void; protected onSortChange(selected: SelectOption | SelectOption[] | null): void; protected onSelectChange(key: string, selected: SelectOption | SelectOption[] | null): void; protected selectOptionsFor(field: FilterFieldModel): SelectOption[]; protected optionErrorFor(key: string): string | null; protected optionLoadingFor(key: string): boolean; protected retryFieldOptions(key: string): void; private seedOptionLists; private ensureFieldOptionsByKey; private ensureFieldOptions; private catalogErrorMessage; protected selectedForField(field: FilterFieldModel): SelectOption | null; /** * Boolean Yes/No chips. Prefer field.options when present; otherwise default * colored Yes/No so every boolean filter stays visually distinct. */ protected booleanOptions(field: FilterFieldModel): FilterOptionModel[]; protected onReset(): void; /** * Enter in a field applies filters. Skip textarea / contenteditable / buttons * so those keep their native Enter behaviour. */ protected onEnterKey(event: KeyboardEvent): void; protected onApply(): void; /** * Persist the applied bag to the URL, then close. * * @param result - Applied state + params. */ private commitApply; private errorMessage; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Opens the schema-driven {@link FilterDrawerPanel} via {@link DrawerService}. * * Requires {@link provideAfricaniesUiOverlays} at bootstrap (same as other overlays). * * When the current URL already has filter / pagination query params for the * given config, those values seed the drawer (overriding a stale host `state`). * Successful Apply writes the bag back through {@link FilterQueryService}. * * @example * ```ts * const filters = inject(FilterDrawerService); * const query = inject(FilterQueryService); * const config = trackShipmentsFilterConfig; * const state = signal( * query.hasParams(config) ? query.read(config) : emptyFilterState(), * ); * * filters * .open({ * config, * state: state(), * onApply: ({ params }) => this.shipments.load(params), * }) * .afterClosed() * .subscribe((result) => { * if (result?.applied) { * this.state.set(result.state); * } * }); * ``` */ declare class FilterDrawerService { private readonly drawer; private readonly filterQuery; /** * Opens the filter drawer (dismissible by default — backdrop / Escape cancel). * * Pass {@link FilterDrawerData.onApply} to keep the drawer open until your * API call succeeds; omit it to close immediately on Apply. * * @param data - Module config, optional prior state, and host option lists. * @returns Overlay handle; `afterClosed` emits {@link FilterDrawerResult} on Apply. */ open(data: FilterDrawerData): OverlayHandle; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * Work to run after the user confirms. * * The dialog stays open and the confirm button shows a loading state until * this settles. Resolve / complete to close with `true`; throw or error to * keep the dialog open so the user can retry or cancel. */ type ConfirmWork = () => Observable | Promise | void; /** * Options for {@link ConfirmService.confirm}. * * Passed into {@link ConfirmDialogComponent} as {@link OVERLAY_DATA}. */ interface ConfirmOptions { /** Dialog heading. Defaults to a neutral "Confirm". */ title?: string; /** Body copy describing the action the user is confirming. */ message: string; /** Primary action label. Defaults to "Confirm". */ confirmLabel?: string; /** Dismiss action label. Defaults to "Cancel". */ cancelLabel?: string; /** * When true, the cancel button uses the primary variant and appears after * the confirm button so the safe/dismiss action is the obvious choice. */ emphasizeCancel?: boolean; /** * When true, the confirm button uses the danger variant so destructive * actions read as high-risk before the click. */ danger?: boolean; /** * When true, backdrop click and Escape dismiss as Cancel (`false`). * Defaults to `false` — confirms require Confirm or Cancel. */ dismissible?: boolean; /** * Optional async work tied to Confirm. When omitted, Confirm closes * immediately with `true`. */ onConfirm?: ConfirmWork; } /** * One-line confirm flow built on {@link ModalService}. * * WHY a service (not only a component): callers need an Observable<boolean> * they can subscribe to in event handlers without scaffolding modal open / * afterClosed plumbing every time. * * @example * ```ts * const confirm = inject(ConfirmService); * * confirm * .confirm({ * title: 'Delete shipment?', * message: 'This cannot be undone.', * confirmLabel: 'Delete', * danger: true, * onConfirm: () => this.shipments.delete(id), * }) * .subscribe((ok) => { * if (ok) { * this.refreshList(); * } * }); * ``` */ declare class ConfirmService { private readonly modal; /** * Opens {@link ConfirmDialogComponent} and resolves to whether the user * confirmed. * * Not dismissible by default. When `options.dismissible` is true, backdrop / * Escape map to `false` (same as Cancel) so callers only branch on an * affirmative click. * * When `options.onConfirm` is set, Confirm stays open with a loading primary * button until that work settles. Success emits `true`; errors leave the * dialog open (this Observable does not emit until close). * * @param options - Title, message, button labels, and optional confirm work. * @returns Observable that emits once with `true` / `false`, then completes. */ confirm(options: ConfirmOptions): Observable; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * Built-in confirm dialog hosted by {@link ConfirmService} / {@link ModalService}. * * WHY a dedicated component: most apps need the same title/message/two-button * pattern; shipping it here avoids every feature reinventing confirm UI while * still allowing custom modals via {@link ModalService.open}. * * When {@link ConfirmOptions.onConfirm} is set, Confirm stays open and the * primary button shows {@link ButtonComponent} loading until the work * settles. Errors leave the dialog open. */ declare class ConfirmDialogComponent { private readonly i18n; /** Stable ids so aria-labelledby / aria-describedby stay unique per instance. */ protected readonly titleId: string; protected readonly messageId: string; /** Options injected by {@link ConfirmService}. */ protected readonly options: ConfirmOptions; private readonly ref; private readonly destroyRef; private workSub; /** True while {@link ConfirmOptions.onConfirm} is in flight. */ protected readonly loading: _angular_core.WritableSignal; /** Resolved heading with a sensible default when callers omit `title`. */ protected readonly title: _angular_core.Signal; /** Resolved confirm CTA label. */ protected readonly confirmLabel: _angular_core.Signal; /** Resolved cancel CTA label. */ protected readonly cancelLabel: _angular_core.Signal; /** When true, cancel is primary and listed after confirm (safe choice last). */ protected readonly emphasizeCancel: _angular_core.Signal; /** Warning for destructive confirms; question mark otherwise. */ protected readonly iconName: _angular_core.Signal<"underline" | "info" | "warning" | "abacus" | "absolute-position" | "academy-cap" | "accessibility" | "accordion-menu" | "add-dock" | "adjust" | "adobe-flash" | "airplane" | "alarm" | "align-center" | "align-justify" | "align-left" | "align-right" | "alt-a" | "alt" | "ambulance" | "anchor" | "angle-double-down" | "angle-double-left" | "angle-double-right" | "angle-double-up" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "archive" | "archives" | "area-select" | "arrow-backward" | "arrow-circle-down-o" | "arrow-circle-down" | "arrow-circle-left-o" | "arrow-circle-left" | "arrow-circle-right-o" | "arrow-circle-right" | "arrow-circle-up-o" | "arrow-circle-up" | "arrow-down" | "arrow-forward" | "arrow-left" | "arrow-long-down" | "arrow-long-left" | "arrow-right" | "arrow-up" | "arrows-cross" | "arrows-long-h" | "arrows-long-right" | "arrows-long-up" | "arrows-long-v" | "arrows" | "asterisk" | "at" | "automation" | "backspace-a" | "backspace" | "backwards" | "ban" | "bar-chart-h" | "bar-chart-v" | "bar-chart" | "barcode" | "bed" | "bell-o" | "bell-slash-o" | "bell-slash" | "bell" | "boat" | "bold" | "bolt" | "bomb" | "book-dollar" | "book-percent" | "book" | "bookmark-o" | "bookmark" | "briefcase" | "browser" | "bug-o" | "bug" | "building-o" | "building" | "bullets" | "bullseye" | "bus" | "button" | "calc-book" | "calc" | "calendar-briefcase" | "calendar-clock" | "calendar-envelope" | "calendar-o" | "calendar-user" | "calendar" | "camera" | "car" | "caret-down" | "caret-left" | "caret-right" | "caret-square-down-o" | "caret-square-left-o" | "caret-square-right-o" | "caret-square-up-o" | "caret-up" | "cart-o" | "cart" | "cash" | "chart-3d" | "chart-grid" | "chart-line" | "chart-timeline" | "chart" | "chat" | "check-circle-o" | "check-circle" | "check-square-o" | "check-square" | "check" | "chevron-circle-down-o" | "chevron-circle-down" | "chevron-circle-left-o" | "chevron-circle-left" | "chevron-circle-right-o" | "chevron-circle-right" | "chevron-circle-up-o" | "chevron-circle-up" | "chevron-down-small" | "chevron-down" | "chevron-left-small" | "chevron-left" | "chevron-right-small" | "chevron-right" | "chevron-up-small" | "chevron-up" | "child" | "circle-thin" | "circle" | "clipboard-check" | "clipboard-cross" | "clipboard-heart" | "clipboard-pulse" | "clipboard-text" | "clipboard-user" | "clipboard" | "clock" | "close-big" | "close-circle-o" | "close-circle" | "close-small" | "close" | "cloud-download-o" | "cloud-download" | "cloud-o" | "cloud-upload-o" | "cloud-upload" | "cloud" | "cluster" | "code" | "coffee" | "cog-o" | "cog" | "cogs" | "coin-piles" | "coins" | "combobox" | "comment-ellipsis-o" | "comment-ellipsis" | "comment-o" | "comment" | "comments-o" | "comments" | "compile" | "compress-square" | "compress" | "connect-o" | "connect" | "controller" | "copy-o" | "copy" | "copyright" | "corner-lower-left" | "corner-lower-right" | "corner-upper-left" | "corner-upper-right" | "credit-card" | "crop" | "cross-cutlery" | "crosshairs" | "css" | "ctrl-a" | "ctrl" | "cube" | "cubes" | "curly-brackets" | "cursor-o" | "cursor" | "cutlery" | "dashboard" | "database" | "date-input" | "deindent" | "del-a" | "del" | "dental-chair" | "desktop" | "diamond-o" | "diamond" | "diasporan-partner" | "diploma-scroll" | "diploma" | "disc" | "doctor-briefcase" | "doctor" | "dollar" | "dot-circle" | "download-alt" | "download" | "drop" | "edit" | "eject" | "elastic" | "ellipsis-circle-o" | "ellipsis-circle" | "ellipsis-dots-h" | "ellipsis-dots-v" | "ellipsis-h" | "ellipsis-v" | "enter-arrow" | "enter" | "envelope-o" | "envelope-open-o" | "envelope-open" | "envelope" | "envelopes-o" | "envelopes" | "eraser" | "esc-a" | "esc" | "euro" | "exchange" | "exclamation-circle-o" | "exclamation-circle" | "exclamation" | "exit-o" | "exit" | "expand-full" | "expand-square" | "expand" | "external-browser" | "external-link" | "eye-slash" | "eye" | "eyedropper" | "facebook-square" | "facebook" | "factory" | "family" | "fast-backward" | "fast-forward" | "female" | "file-add" | "file-code" | "file-font" | "file-movie" | "file-o" | "file-picture" | "file-presentation" | "file-process" | "file-refresh" | "file-remove" | "file-search" | "file-sound" | "file-start" | "file-table" | "file-text-o" | "file-text" | "file-tree-small" | "file-tree-sub" | "file-tree" | "file-zip" | "file" | "fill" | "film" | "filter" | "fire" | "flag-checkered" | "flag-o" | "flag" | "flash" | "flask" | "flight-landing" | "flight-takeoff" | "flip-h" | "flip-v" | "folder-add" | "folder-o" | "folder-open-o" | "folder-open" | "folder-remove" | "folder-search" | "folder" | "font" | "form" | "forward" | "frown-o" | "funcion" | "funnel" | "gamepad" | "gavel" | "gift" | "glass" | "glasses" | "globe-wire" | "globe" | "golf" | "google-plus-square" | "google-plus" | "grab" | "grid-bevel" | "grid-big-o" | "grid-big" | "grid-h" | "grid-small-o" | "grid-small" | "grid-v" | "grid" | "group" | "hammer" | "hand-coins" | "hand" | "handle-corner" | "hands-up" | "handshake" | "harddrive-o" | "harddrive" | "hash" | "header" | "headphones" | "headset" | "health-card" | "heart-o" | "heart" | "home-o" | "home" | "hospital" | "hourglass-empty" | "hourglass-end" | "hourglass-start" | "hourglass" | "inbox" | "indent" | "info-circle-o" | "info-circle" | "input" | "insert" | "institution" | "invoice" | "italic" | "key-o" | "key" | "keyboard-o" | "keyboard" | "laptop" | "layout" | "level-down-bold" | "level-down" | "level-left-bold" | "level-left" | "level-right-bold" | "level-right" | "level-up-bold" | "level-up" | "lifebuoy" | "lightbulb" | "line-bar-chart" | "line-chart" | "line-h" | "line-v" | "lines-list" | "lines" | "link" | "list-ol" | "list-select" | "list-ul" | "list" | "location-arrow-circle-o" | "location-arrow-circle" | "location-arrow" | "lock" | "magic" | "magnet" | "mailbox" | "male" | "map-marker" | "margin-bottom" | "margin-left" | "margin-right" | "margin-top" | "margin" | "medal" | "megaphone" | "meh-o" | "menu" | "microphone" | "mini-partner" | "minus-circle-o" | "minus-circle" | "minus-square-o" | "minus" | "mobile-browser" | "mobile-retro" | "mobile" | "modal-list" | "modal" | "money-deposit" | "money-exchange" | "money-withdraw" | "money" | "moon-o" | "moon" | "morning" | "movie" | "music" | "mute" | "native-button" | "newspaper" | "notebook" | "number-count" | "nurse" | "office" | "open-book" | "option-a" | "option" | "options" | "orientation" | "out" | "outbox" | "package" | "padding-bottom" | "padding-left" | "padding-right" | "padding-top" | "padding" | "paint-roll" | "paintbrush" | "palette" | "panel" | "paperclip" | "paperplane-o" | "paperplane" | "paragraph" | "partner" | "password" | "paste" | "pause" | "pencil" | "phone-landline" | "phone" | "picture" | "pie-bar-chart" | "pie-chart" | "piggy-bank-coin" | "piggy-bank" | "pill" | "pills" | "pin-post" | "pin" | "play-circle-o" | "play-circle" | "play" | "plug" | "plus-circle-o" | "plus-circle" | "plus-minus" | "plus-square-o" | "plus" | "pointer" | "power-off" | "presentation" | "print" | "progressbar" | "puzzle-piece" | "pyramid-chart" | "qrcode" | "question-circle-o" | "question-circle" | "question" | "quote-left" | "quote-right" | "random" | "raster-lower-left" | "raster" | "records" | "recycle" | "refresh" | "reply-all" | "reply" | "resize-h" | "resize-v" | "retweet" | "rhombus" | "road-branch" | "road-branches" | "road-split" | "road" | "rocket" | "rotate-left" | "rotate-right" | "rss-square" | "rss" | "safe-lock" | "safe" | "scale-unbalance" | "scale" | "scatter-chart" | "scissors" | "screwdriver" | "search-minus" | "search-plus" | "search" | "select" | "server" | "share-square" | "share" | "shield" | "shift-arrow" | "shift" | "shop" | "sign-in-alt" | "sign-in" | "sign-out-alt" | "sign-out" | "signal" | "sitemap" | "slider" | "sliders" | "smiley-o" | "sort" | "sound-disable" | "spark-line" | "specialist" | "spinner-arc" | "spinner-third" | "spinner" | "spline-area-chart" | "spline-chart" | "split-h" | "split-v" | "split" | "spoon" | "square-shadow" | "star-half-left-o" | "star-half-left" | "star-half-right-o" | "star-half-right" | "star-o" | "star" | "start-cog" | "step-backward" | "step-forward" | "stethoscope" | "stock" | "stop-cog" | "stop" | "stopwatch" | "storage" | "strikethrough" | "subscript" | "suitcase" | "sun-down" | "sun-o" | "sun-rise" | "superscript" | "sword" | "tab-a" | "tab" | "table" | "tablet" | "tabs" | "tag" | "tags" | "tasks" | "taxi" | "teeth" | "terminal" | "text-height" | "text-input" | "text-label" | "text-width" | "thin-square" | "thumbs-down-o" | "thumbs-down" | "thumbs-up-o" | "thumbs-up" | "ticket" | "time-backward" | "time-forward" | "timer" | "toolbox" | "tools" | "tooth" | "touch" | "train" | "trash" | "tree-table" | "trending-down" | "trending-up" | "trophy" | "truck" | "twin-col-select" | "twitter-square" | "twitter" | "umbrella" | "unlink" | "unlock" | "upload-alt" | "upload" | "user-card" | "user-check" | "user-clock" | "user-heart" | "user-star" | "user" | "users" | "vaadin-h" | "vaadin-v" | "viewport" | "vimeo-square" | "vimeo" | "volume-down" | "volume-off" | "volume-up" | "volume" | "wallet" | "warehouse" | "workplace" | "wrench" | "youtube-square" | "youtube">; /** * Tinted well so the icon reads as a status, not a thin glyph beside the * heading. Danger uses the red subtle token; default uses export green. */ protected readonly iconWellClass: _angular_core.Signal<"inline-flex size-14 shrink-0 items-center justify-center rounded-2xl bg-danger-subtle text-danger-dark dark:bg-danger/20 dark:text-danger" | "inline-flex size-14 shrink-0 items-center justify-center rounded-2xl bg-export-subtle text-export-strong dark:bg-export/20 dark:text-export-light">; constructor(); /** * Affirms the action. When `onConfirm` is set, waits for it before closing * with `true`; failures keep the dialog open. */ protected confirm(): void; /** Dismisses without affirming — emits `false`. */ protected cancel(): void; /** * Subscribe to confirm work after loading is visible. * * @param action - Callback from {@link ConfirmOptions.onConfirm}. */ private runConfirmWork; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Shared open options for modal and drawer surfaces. * * @typeParam TData - Value injected as {@link OVERLAY_DATA}. */ interface OverlayOpenConfig { /** Arbitrary payload for the hosted component (query-param siblings, form seed, …). */ data?: TData; /** * When true, backdrop click and Escape dismiss the overlay. * Defaults to `false` — dialogs require an explicit close action. */ dismissible?: boolean; /** Extra CDK overlay panel classes appended after surface defaults. */ panelClass?: string | readonly string[]; } /** * Opens edge-anchored drawer panels via Angular CDK Overlay. * * Same {@link OverlayOpener} contract as {@link ModalService} so route-driven * overlays can target either surface through {@link DRAWER_SERVICE}. * * @example * ```ts * const drawer = inject(DrawerService); * drawer.open(FiltersPanel, { data: { facet: 'status' } }); * ``` */ declare class DrawerService implements OverlayOpener { private readonly overlay; private readonly injector; /** * Opens `component` in a right-side drawer panel with a dimmed backdrop. * * Not dismissible by default — set `dismissible: true` for backdrop / Escape * close. Inject {@link OVERLAY_DATA} and {@link AfricaniesOverlayRef} inside the * hosted component the same way as modals. * * @typeParam TData - Shape injected as {@link OVERLAY_DATA}. * @typeParam TResult - Value emitted by `afterClosed` when closed with a result. * @param component - Standalone component type to attach via ComponentPortal. * @param config - Optional data bag and close-behavior flags. * @returns Handle used to close the drawer and observe dismissal. */ open(component: Type, config?: OverlayOpenConfig): OverlayHandle; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * Named modal panel widths for {@link ModalService.open}. * * - `md` — default (forms, confirms): ~32rem * - `lg` — dense create/edit forms: ~42rem * - `xl` — media / previews: ~56rem */ type ModalSize = 'md' | 'lg' | 'xl'; /** * Tailwind panel classes for each {@link ModalSize}. * * Literals must stay static so the host app’s Tailwind scan (UI bundle path) * emits the utilities. Widths use `100%` of the overlay wrapper (not `100vw`) * so the panel cannot extend under the viewport scrollbar. */ declare const MODAL_SIZE_PANEL_CLASS: Record; /** * Open options for {@link ModalService} (shared overlay flags + width size). * * @typeParam TData - Value injected as {@link OVERLAY_DATA}. */ interface ModalOpenConfig extends OverlayOpenConfig { /** * Panel width. Defaults to `md`. * Use `lg` for dense forms; `xl` for media previews. */ size?: ModalSize; } /** * Opens centered modal dialogs via Angular CDK Overlay. * * Implements {@link OverlayOpener} so {@link RouteOverlayService} can open * the same surface through {@link MODAL_SERVICE} without importing this * package. Prefer {@link provideAfricaniesUiOverlays} at bootstrap so the token * binding is registered once. * * @example * ```ts * // app.config.ts * providers: [provideAfricaniesUiOverlays()] * * // Open from a feature * @Component({ standalone: true, template: `…` }) * class EditShipmentModal { * readonly data = inject<{ id: string }>(OVERLAY_DATA); * private readonly ref = inject(AfricaniesOverlayRef); * * save(updated: Shipment): void { * // WHY close with a result: callers awaiting afterClosed() can apply * // the saved entity without a second fetch. * this.ref.close(updated); * } * * dismiss(): void { * this.ref.close(); * } * } * * const modal = inject(ModalService); * const handle = modal.open< { id: string }, Shipment >(EditShipmentModal, { * data: { id: shipmentId }, * }); * * // Wider form modal: * modal.open(CouponFormModal, { data, size: 'lg' }); * * // Opt into backdrop / Escape dismiss: * modal.open(QuickLookModal, { dismissible: true }); * * handle.afterClosed().subscribe((result) => { * if (result) { * // apply saved shipment * } * }); * ``` */ declare class ModalService implements OverlayOpener { private readonly overlay; private readonly injector; /** * Opens `component` in a centered modal with a dimmed backdrop. * * Not dismissible by default — backdrop click and Escape do nothing unless * `config.dismissible` is `true`. `config.data` is available inside the * hosted component via {@link OVERLAY_DATA}; call * `inject(AfricaniesOverlayRef).close(result)` to dismiss with a value. * * Panel height is capped at `90vh`. The pane itself does not scroll — the * hosted component does, with a reserved scrollbar gutter so overlay * scrollbars cannot cover a top-right close control. Width comes from * {@link ModalOpenConfig.size} (`md` default). Prefer `100%` (overlay * wrapper) over `100vw` so the panel never sits under the viewport * scrollbar. * * @typeParam TData - Shape injected as {@link OVERLAY_DATA}. * @typeParam TResult - Value emitted by `afterClosed` when closed with a result. * @param component - Standalone component type to attach via ComponentPortal. * @param config - Optional data bag, size, and close-behavior flags. * @returns Handle used to close the modal and observe dismissal. * * @example * ```ts * // 1) Hosted component reads data and closes with a result * @Component({ * standalone: true, * template: ` *

Edit {{ data.id }}

* * `, * }) * class EditModal { * readonly data = inject<{ id: string }>(OVERLAY_DATA); * readonly ref = inject(AfricaniesOverlayRef<{ saved: boolean }>); * } * * // 2) Caller opens and awaits the result * const handle = inject(ModalService).open<{ id: string }, { saved: boolean }>( * EditModal, * { data: { id: 'SHP-1' } }, * ); * handle.afterClosed().subscribe((result) => { * console.log(result?.saved); // true when Save was clicked; undefined on Cancel * }); * ``` */ open(component: Type, config?: ModalOpenConfig): OverlayHandle; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * DI token for data passed into an overlay-hosted component via * {@link ModalService.open} / {@link DrawerService.open}. * * WHY a token (not constructor args): CDK `ComponentPortal` instantiates the * component through DI, so callers cannot pass constructor parameters. Route * overlays also forward sibling query params through this same token. * * @typeParam T - Shape of `config.data` for the opened component. * * @example * ```ts * readonly data = inject(OVERLAY_DATA); * ``` */ declare const OVERLAY_DATA: InjectionToken; /** * Marks projected chrome as the non-scrolling overlay header (title + close). * * @example * ```html * *
*

Edit shipment

* *
* … *
* ``` */ declare class OverlayHeaderDirective { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } /** * Marks projected chrome as the non-scrolling overlay footer (actions). * * @example * ```html * * … *
* * *
*
* ``` */ declare class OverlayFooterDirective { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } /** * Header / scroll body / footer shell for {@link ModalService} and * {@link DrawerService} panels. * * WHY: the pane must not scroll. Overlay scrollbars sit on the right edge and * cover a top-right close control or bottom-right actions. This frame keeps * header and footer outside the scrollport; only the default slot scrolls, * with `.africanies-overlay-scroll` reserving a scrollbar gutter. * * Put `overflow-hidden` on the hosted component host so the pane child * does not become a second scroller (a Tailwind utility wins the base rule * on `.africanies-modal-panel > *`). * * @example * ```ts * @Component({ * selector: 'app-edit-modal', * standalone: true, * imports: [OverlayFrameComponent, OverlayHeaderDirective, OverlayFooterDirective], * host: { class: 'flex min-h-0 w-full flex-col overflow-hidden' }, * template: ` * *
…title + close…
* …form fields… *
…Cancel / Save…
*
* `, * }) * export class EditModal {} * ``` */ declare class OverlayFrameComponent { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Registers programmatic overlay openers and binds core DI tokens. * * Call beside {@link provideOverlayRoutes} so route-driven overlays can * resolve {@link MODAL_SERVICE} / {@link DRAWER_SERVICE}. Also registers * {@link ConfirmService} and {@link FilterDrawerService} (both need overlay openers). * * @returns Environment providers for `app.config.ts`. * * @example * ```ts * import { provideOverlayRoutes } from '@africanies/africanies-core'; * import { provideAfricaniesUiOverlays } from '@africanies/africanies-ui'; * * export const appConfig: ApplicationConfig = { * providers: [ * provideAfricaniesUiOverlays(), * provideOverlayRoutes([ * { * paramKey: 'modal', * routes: { * 'edit-shipment': { component: EditShipmentModal, overlay: 'modal' }, * }, * }, * ]), * ], * }; * ``` */ declare function provideAfricaniesUiOverlays(): EnvironmentProviders; /** * Types for {@link AddressInputComponent} and Google Places integration. */ /** * Bootstrap config for Places API (New) REST autocomplete. */ interface GooglePlacesConfig { /** * API key with Places API (New) enabled. Sent as `X-Goog-Api-Key`. */ apiKey: string; /** * Optional language code for predictions / details (e.g. `en`, `fr`). */ language?: string; /** * Optional region restriction (ISO-3166-1 alpha-2, e.g. `ng`, `gh`) * used when the field does not pass `countries`. */ region?: string; } /** * One autocomplete suggestion before place details are fetched. */ interface AddressPrediction { placeId: string; description: string; mainText?: string; secondaryText?: string; } /** * Structured place returned by CVA / `[(value)]` and `(placeSelected)`. */ interface AddressPlace { placeId: string; formattedAddress: string; name?: string; lat?: number; lng?: number; streetNumber?: string; route?: string; locality?: string; administrativeAreaLevel1?: string; /** * ISO-3166-2 subdivision code when Google provides one (`LA` for Lagos). */ administrativeAreaLevel1Code?: string; country?: string; countryCode?: string; postalCode?: string; /** * Nearby landmark from Google (`landmark`, else neighborhood / sublocality). */ landmark?: string; addressComponents?: AddressComponent[]; } /** * One entry from Google `address_components`. */ interface AddressComponent { longName: string; shortName: string; types: string[]; } /** * Google Places address field with suggestion dropdown. * * Requires {@link provideGooglePlaces} at bootstrap. Predictions come from * Places API (New) REST (`places.googleapis.com`). Form value is a structured * {@link AddressPlace} (or `null`). Selecting a suggestion also emits * {@link placeSelected}. Typing emits {@link queryChange} with the visible text. * * @example * ```html * * * * ``` */ declare class AddressInputComponent implements ControlValueAccessor { private readonly places; private readonly destroyRef; protected readonly controlId: string; protected readonly hintId: string; protected readonly errorId: string; protected readonly listboxId: string; protected readonly labelClass = "block text-body-sm font-medium text-ink dark:text-white mb-1.5 empty:hidden"; protected readonly affixClass = "inline-flex items-center shrink-0 px-2.5 text-neutral-600 dark:text-neutral-400 empty:hidden"; protected readonly innerClass: string; protected readonly hintClass = "mt-1.5 text-caption text-neutral-600 dark:text-neutral-400 m-0"; protected readonly errorClass = "mt-1.5 text-caption text-danger m-0"; protected readonly overlayPanelClass = "flex w-full flex-col overflow-hidden rounded-control border border-border bg-white shadow-lg dark:border-white/15 dark:bg-ink-950"; protected readonly overlayListClass = "africanies-overlay-scroll max-h-64 overflow-auto"; protected readonly panelPositions: ConnectedPosition[]; protected readonly minPanelWidth = 224; private readonly triggerOrigin; private readonly querySubject; /** * Visible field label. */ readonly label: _angular_core.InputSignal; /** * Helper copy under the field. Hidden while {@link error} is set. */ readonly hint: _angular_core.InputSignal; /** * Field-level validation message. */ readonly error: _angular_core.InputSignal; /** * Native placeholder when the query is empty. */ readonly placeholder: _angular_core.InputSignal; /** * ISO-3166-1 alpha-2 country codes to restrict predictions (e.g. `['ng']`). */ readonly countries: _angular_core.InputSignal; /** * Debounce for prediction requests (ms). */ readonly debounceMs: _angular_core.InputSignalWithTransform; /** * Selected place. Supports `[(value)]` and Reactive Forms via CVA. */ readonly value: _angular_core.ModelSignal; /** * Emits when the user picks a suggestion (after place details resolve). */ readonly placeSelected: _angular_core.OutputEmitterRef; /** * Emits the visible query as the user types (including after a selection). */ readonly queryChange: _angular_core.OutputEmitterRef; /** * Optional host disable (in addition to CVA `setDisabledState`). */ readonly disabledInput: _angular_core.InputSignalWithTransform; protected readonly cvaDisabled: _angular_core.WritableSignal; protected readonly disabled: _angular_core.Signal; protected readonly query: _angular_core.WritableSignal; protected readonly open: _angular_core.WritableSignal; protected readonly loading: _angular_core.WritableSignal; protected readonly predictions: _angular_core.WritableSignal; protected readonly apiError: _angular_core.WritableSignal; protected readonly activeIndex: _angular_core.WritableSignal; protected readonly panelWidth: _angular_core.WritableSignal; protected readonly shellClass: _angular_core.Signal; protected readonly describedBy: _angular_core.Signal; protected readonly activeOptionId: _angular_core.Signal; private onChange; private onTouched; constructor(); /** * @param value - Form model value. */ writeValue(value: AddressPlace | null): void; /** * @param fn - Called when the selected place changes. */ registerOnChange(fn: (value: AddressPlace | null) => void): void; /** * @param fn - Called on blur. */ registerOnTouched(fn: () => void): void; /** * @param isDisabled - When true, blocks editing. */ setDisabledState(isDisabled: boolean): void; protected optionId(index: number): string; protected onInput(event: Event): void; protected onFocus(): void; protected onBlur(): void; protected onKeydown(event: KeyboardEvent): void; protected selectPrediction(prediction: AddressPrediction): Promise; protected closePanel(): void; protected onOutsideClick(event: MouseEvent): void; protected onOverlayDetach(): void; private syncPanelWidth; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Places API (New) over REST — same contract as the working React * autocomplete (`POST …/places:autocomplete`, `GET …/places/{id}`). * * No Maps JavaScript widget, AutocompleteService, or PlacesService. * Register {@link provideGooglePlaces} with a key that has Places API (New). */ declare class GooglePlacesService { private readonly config; /** * @param query - Free-text search. * @param countries - Optional ISO-3166-1 alpha-2 codes (`includedRegionCodes`). * @returns Autocomplete predictions (may be empty). */ getPredictions(query: string, countries?: string[]): Promise; /** * @param placeId - Place id from a prediction (`ChIJ…` or `places/ChIJ…`). * @returns Structured place details, or `null` on failure. */ getPlaceDetails(placeId: string): Promise; private apiKey; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * Optional Places API (New) config. When absent, {@link AddressInputComponent} * still renders but predictions stay empty. */ declare const GOOGLE_PLACES_CONFIG: InjectionToken; /** * Registers Places API (New) for {@link AddressInputComponent}. * * Provide once at bootstrap. Requires an API key with Places API (New) * enabled (REST `places.googleapis.com`, not the Maps JavaScript widget). * * @param config - API key and optional language / region. * @returns Environment providers for `app.config.ts`. * * @example * ```ts * import { provideGooglePlaces } from '@africanies/africanies-ui'; * * export const appConfig: ApplicationConfig = { * providers: [ * provideGooglePlaces({ apiKey: import.meta.env['NG_APP_GOOGLE_MAPS_KEY'] }), * ], * }; * ``` */ declare function provideGooglePlaces(config: GooglePlacesConfig): EnvironmentProviders; /** * Boolean checkbox following the shared AFRICANIES form field pattern. * * **Prefix/suffix slots are omitted** — a checkbox is a binary control with a * label; affix projection does not apply. * * Custom painted control so the check glyph stays **white** on the mode * primary fill (SFN green / STN orange). * * @example * ```html * * ``` */ declare class CheckboxComponent implements ControlValueAccessor { private readonly modeColor; protected readonly controlId: string; protected readonly hintId: string; protected readonly errorId: string; protected readonly hintClass = "mt-1.5 text-caption text-neutral-600 dark:text-neutral-400 m-0"; protected readonly errorClass = "mt-1.5 text-caption text-danger m-0"; /** Visible label beside the checkbox. */ readonly label: _angular_core.InputSignal; /** Helper copy. Hidden while {@link error} is set. */ readonly hint: _angular_core.InputSignal; /** Field-level validation message. Distinct from `ErrorStateComponent`. */ readonly error: _angular_core.InputSignal; /** Checked state (`[(value)]` + CVA). */ readonly value: _angular_core.ModelSignal; /** Host disable flag (in addition to CVA). */ readonly disabledInput: _angular_core.InputSignalWithTransform; protected readonly cvaDisabled: _angular_core.WritableSignal; protected readonly disabled: _angular_core.Signal; protected readonly markClass: _angular_core.Signal; protected readonly describedBy: _angular_core.Signal; private onChange; private onTouched; /** @param value - Form model; non-boolean coerces via `!!`. */ writeValue(value: boolean | null): void; /** @param fn - User change callback. */ registerOnChange(fn: (value: boolean) => void): void; /** @param fn - Blur callback. */ registerOnTouched(fn: () => void): void; /** @param isDisabled - Blocks interaction when true. */ setDisabledState(isDisabled: boolean): void; protected onChangeEvent(event: Event): void; protected onBlur(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Date field wrapping native `input[type=date]`, following * shared AFRICANIES form field pattern. * * Value is an ISO calendar date string (`YYYY-MM-DD`) or `null` — matching the * native control — not a `Date` object (avoids timezone surprises). * * Clicking anywhere on the field shell calls `HTMLInputElement.showPicker()` * so the calendar opens without hunting for the tiny indicator glyph. * * Dark calendar chrome follows `color-scheme` from {@link ThemeService} * (document + this input). Supports prefix/suffix slots. * * @example * ```html * * * * ``` */ declare class DatePickerComponent implements ControlValueAccessor { private readonly theme; protected readonly controlId: string; protected readonly hintId: string; protected readonly errorId: string; protected readonly labelClass = "block text-body-sm font-medium text-ink dark:text-white mb-1.5 empty:hidden"; protected readonly affixClass = "inline-flex items-center shrink-0 px-2.5 text-neutral-600 dark:text-neutral-400 empty:hidden"; protected readonly innerClass: string; protected readonly hintClass = "mt-1.5 text-caption text-neutral-600 dark:text-neutral-400 m-0"; protected readonly errorClass = "mt-1.5 text-caption text-danger m-0"; private readonly dateInput; /** Visible field label. */ readonly label: _angular_core.InputSignal; /** Helper copy. Hidden while {@link error} is set. */ readonly hint: _angular_core.InputSignal; /** Field-level validation message. Distinct from `ErrorStateComponent`. */ readonly error: _angular_core.InputSignal; /** Optional native `min` (`YYYY-MM-DD`). */ readonly min: _angular_core.InputSignal; /** Optional native `max` (`YYYY-MM-DD`). */ readonly max: _angular_core.InputSignal; /** ISO date string or `null` (`[(value)]` + CVA). */ readonly value: _angular_core.ModelSignal; /** Host disable flag (in addition to CVA). */ readonly disabledInput: _angular_core.InputSignalWithTransform; protected readonly cvaDisabled: _angular_core.WritableSignal; protected readonly disabled: _angular_core.Signal; /** Native picker chrome — mirrors app theme when ThemeService is present. */ protected readonly colorScheme: _angular_core.Signal<_africanies_africanies_theme.Theme>; protected readonly shellClass: _angular_core.Signal; protected readonly describedBy: _angular_core.Signal; private onChange; private onTouched; /** @param value - ISO date or `null`. */ writeValue(value: string | null): void; /** @param fn - User edit callback. */ registerOnChange(fn: (value: string | null) => void): void; /** @param fn - Blur callback. */ registerOnTouched(fn: () => void): void; /** @param isDisabled - Blocks editing when true. */ setDisabledState(isDisabled: boolean): void; /** * Opens the native calendar on input click. * Uses `showPicker()` when available (Chromium, Safari 16+, Firefox 101+). * * @param event - Click from the input. */ protected openPicker(event?: Event): void; protected onInput(event: Event): void; protected onBlur(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Helpers for the native `accept` attribute (MIME types + extensions). */ /** * Whether `file` matches a comma-separated `accept` string. * Empty `accept` allows every file. * * @param file - Candidate from picker / drop / camera. * @param accept - Native accept value (e.g. `image/*,.pdf`). * @returns True when the file is allowed. */ declare function fileMatchesAccept(file: File, accept: string): boolean; /** * Human-readable chips for the dropzone (e.g. `Images`, `PDF`). * * @param accept - Native accept value. * @returns Deduped short labels; empty when accept is unrestricted. */ declare function acceptLabels(accept: string): string[]; /** * File-name extension without the leading dot (uppercased), or empty. * * @param fileName - Original file name. * @returns Extension label for non-image tiles. */ declare function fileExtensionLabel(fileName: string): string; /** * Visual layout for {@link FileUploadComponent}. * * - `dropzone` — large drag target with icon, copy, and accept chips (default) * - `button` — compact trigger buttons inside a bordered panel * - `compact` — single-row inline control for dense forms */ type FileUploadVariant = 'dropzone' | 'button' | 'compact'; /** * One selected file with optional image preview metadata. */ interface FileUploadResult { /** Original {@link File} from the picker / camera / drop. */ file: File; /** * Object URL for image previews only (`URL.createObjectURL`). * Non-images use `null` — revoke on destroy via the component. */ previewUrl: string | null; /** True when `file.type` starts with `image/`. */ isImage: boolean; } /** * Server / previously uploaded file shown in the list before the user picks * replacements. `previewUrl` is a signed URL or data URI — the component does * **not** revoke it (the host owns its lifetime). */ interface FileUploadExistingFile { /** Display name in the file row. */ name: string; /** Image / document preview URL (signed URL or data URI). */ previewUrl: string; /** Defaults to whether {@link previewUrl} looks like an image. */ isImage?: boolean; /** Optional host id (e.g. `photo_ref`) echoed in {@link FileUploadComponent.existingChange}. */ id?: string; } type FileUploadListRow = { kind: 'existing'; item: FileUploadExistingFile; index: number; } | { kind: 'local'; item: FileUploadResult; index: number; }; /** * File / camera / drag-and-drop picker following the shared AFRICANIES form field pattern. * * **Prefix/suffix slots are N/A** — drop zone / trigger set, not a text field. * * Allowed types come from the native `accept` attribute (e.g. `image/*,.pdf`). * Invalid picks are skipped and a short reject message is shown. Object URLs * are revoked in `ngOnDestroy` and when items are removed. Each added file * has an underlined **View** action that opens a larger preview. * * Prefill previously uploaded files with {@link existing} so edit forms reuse * the same list UI as fresh picks: * * ```html * * ``` * * **Camera** opens a live `getUserMedia` modal when overlays are registered; * otherwise falls back to ``. * * @example * ```html * * ``` */ declare class FileUploadComponent implements ControlValueAccessor, OnDestroy { private readonly destroyRef; /** Optional so the control still works when overlays are not registered. */ private readonly modal; private readonly fileInput; private readonly cameraInput; protected readonly controlId: string; protected readonly hintId: string; protected readonly errorId: string; protected readonly labelClass = "block text-body-sm font-medium text-ink dark:text-white mb-1.5 empty:hidden"; protected readonly hintClass = "mt-1.5 text-caption text-neutral-600 dark:text-neutral-400 m-0"; protected readonly errorClass = "mt-1.5 text-caption text-danger m-0"; protected readonly chipClass = "inline-flex items-center rounded-full border border-neutral-300 bg-background-welcome px-2 py-0.5 text-caption font-medium text-neutral-600 dark:border-white/20 dark:bg-white/10 dark:text-neutral-300"; /** Visible field label. */ readonly label: _angular_core.InputSignal; /** Helper copy. Hidden while {@link error} is set. */ readonly hint: _angular_core.InputSignal; /** Field-level validation message. Distinct from `ErrorStateComponent`. */ readonly error: _angular_core.InputSignal; /** * Layout variant. Defaults to `dropzone`. */ readonly variant: _angular_core.InputSignal; /** * Passed to the native file input `accept` (e.g. `image/*,.pdf`). * Also drives accept chips and drop/picker filtering. */ readonly accept: _angular_core.InputSignal; /** Show the file-picker trigger. Defaults to true. */ readonly allowFileSelect: _angular_core.InputSignalWithTransform; /** * Show a camera trigger. Opens a live `getUserMedia` modal when * {@link ModalService} is available; otherwise falls back to a hidden * ``. Defaults to true. */ readonly allowCamera: _angular_core.InputSignalWithTransform; /** Allow selecting more than one file. Defaults to false. */ readonly multiple: _angular_core.InputSignalWithTransform; /** * Emitted whenever the selection changes (after object URLs are created for * images). */ readonly filesSelected: _angular_core.OutputEmitterRef; /** * Previously uploaded files to show in the list (signed URL / data URI). * Resets the visible existing rows when the bound array identity or contents * change (e.g. switching tabs on an edit form). */ readonly existing: _angular_core.InputSignal; /** * Emitted when the user removes an existing row (or a new single-file pick * clears them). Does not fire for local {@link filesSelected} picks alone. */ readonly existingChange: _angular_core.OutputEmitterRef; /** Host disable flag (in addition to CVA). */ readonly disabledInput: _angular_core.InputSignalWithTransform; protected readonly results: _angular_core.WritableSignal; /** Writable mirror of {@link existing} so removals can update before parent rebinds. */ protected readonly existingShown: _angular_core.WritableSignal; protected readonly listRows: _angular_core.Signal; protected readonly cvaDisabled: _angular_core.WritableSignal; protected readonly dragDepth: _angular_core.WritableSignal; protected readonly rejectMessage: _angular_core.WritableSignal; protected readonly disabled: _angular_core.Signal; protected readonly dragging: _angular_core.Signal; protected readonly acceptChips: _angular_core.Signal; protected readonly chooseLabel: _angular_core.Signal<"Choose files" | "Choose file">; protected readonly dropTitle: _angular_core.Signal<"Drag & drop files here" | "Drag & drop a file here">; protected readonly dropHint: _angular_core.Signal<"or click to browse — multiple files allowed" | "or click to browse — one file only">; protected readonly describedBy: _angular_core.Signal; protected readonly panelClass: _angular_core.Signal; protected readonly dropzoneClass: _angular_core.Signal; protected readonly compactClass: _angular_core.Signal; protected readonly fileRowClass: _angular_core.Signal; private onChange; private onTouched; private rejectClearTimer; constructor(); /** * Revokes any outstanding image object URLs to avoid leaks when this control * handles many files over its lifetime. */ ngOnDestroy(): void; /** @param value - Prior results from the form model (URLs should already exist). */ writeValue(value: FileUploadResult[] | null): void; /** @param fn - Files change callback. */ registerOnChange(fn: (value: FileUploadResult[]) => void): void; /** @param fn - Touched callback. */ registerOnTouched(fn: () => void): void; /** @param isDisabled - Blocks picking when true. */ setDisabledState(isDisabled: boolean): void; protected openFilePicker(): void; protected openCamera(): void; protected onDropzoneActivate(event: Event): void; protected onDragEnter(event: DragEvent): void; protected onDragOver(event: DragEvent): void; protected onDragLeave(event: DragEvent): void; protected onDrop(event: DragEvent): void; protected onNativeChange(event: Event): void; protected openPreview(item: FileUploadResult): void; protected openExistingPreview(item: FileUploadExistingFile): void; protected removeAt(index: number): void; protected removeExistingAt(index: number): void; protected trackRow(row: FileUploadListRow): string; protected trackResult(item: FileUploadResult): string; protected formatSize(bytes: number): string; protected extensionOf(file: File): string; protected nonImageIcon(file: File): IconName; protected kindLabel(file: File): string; private commitFiles; private showReject; private clearRejectTimer; private hasFilePayload; private toResult; private revokeAll; /** Only revoke blob: object URLs — never http(s) / data URIs from the host. */ private revokePreviewUrl; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Numeric field following the shared AFRICANIES form field pattern. * * The public contract is always a plain `number | null` — comma grouping is * **display-only** via `Intl.NumberFormat('en-US')`, applied **as the user types** * (caret is restored by digit-count so commas do not jump the cursor). * * @example * ```html * * * $ * * ``` * ```ts * amount = signal(1250); // UI shows "1,250" * ``` */ declare class NumberInputComponent implements ControlValueAccessor { protected readonly controlId: string; protected readonly hintId: string; protected readonly errorId: string; protected readonly labelClass = "block text-body-sm font-medium text-ink dark:text-white mb-1.5 empty:hidden"; protected readonly affixClass = "inline-flex items-center shrink-0 px-2.5 text-neutral-600 dark:text-neutral-400 empty:hidden"; protected readonly innerClass: string; protected readonly hintClass = "mt-1.5 text-caption text-neutral-600 dark:text-neutral-400 m-0"; protected readonly errorClass = "mt-1.5 text-caption text-danger m-0"; private readonly inputEl; /** Visible field label. */ readonly label: _angular_core.InputSignal; /** Helper copy. Hidden while {@link error} is set. */ readonly hint: _angular_core.InputSignal; /** Field-level validation message. Distinct from `ErrorStateComponent`. */ readonly error: _angular_core.InputSignal; /** Native placeholder when empty. */ readonly placeholder: _angular_core.InputSignal; /** * Plain number (or `null`). Never a comma-formatted string. */ readonly value: _angular_core.ModelSignal; /** Host disable flag (in addition to CVA). */ readonly disabledInput: _angular_core.InputSignalWithTransform; /** * WHY a separate draft: while typing we may show "1," / "1,250." before the * model can round-trip through `Intl.NumberFormat` without fighting the caret. */ private readonly draftText; protected readonly cvaDisabled: _angular_core.WritableSignal; protected readonly disabled: _angular_core.Signal; protected readonly displayText: _angular_core.Signal; protected readonly shellClass: _angular_core.Signal; protected readonly describedBy: _angular_core.Signal; private onChange; private onTouched; /** @param value - Plain number or `null` (never a formatted string). */ writeValue(value: number | null): void; /** @param fn - Numeric change callback. */ registerOnChange(fn: (value: number | null) => void): void; /** @param fn - Blur callback. */ registerOnTouched(fn: () => void): void; /** @param isDisabled - Blocks editing when true. */ setDisabledState(isDisabled: boolean): void; protected onInput(event: Event): void; protected onBlur(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** Visual treatment for OTP cells. */ type OtpInputVariant = 'default' | 'masked'; /** * One-time-passcode field — discrete digit cells, single string model. * * **Prefix/suffix slots are omitted** — OTP is a fixed-length code entry, not * a free-text field with affixes. * * Digits only (`inputmode="numeric"`). Paste fills multiple cells. When the * value reaches {@link length}, {@link completed} emits so the host can submit. * * {@link variant} `masked` hides each digit (PIN-style). The model is still * the real digit string. * * Built-in **resend** row with cooldown — host listens to {@link resend} to * call the API; the control only manages UI + timer. * * @example * ```html * * ``` */ declare class OtpInputComponent implements ControlValueAccessor, OnDestroy { private readonly destroyRef; private readonly cellInputs; protected readonly controlId: string; protected readonly labelId: string; protected readonly hintId: string; protected readonly errorId: string; protected readonly labelClass = "block text-body-sm font-medium text-ink dark:text-white mb-1.5 empty:hidden"; protected readonly hintClass = "mt-1.5 text-caption text-neutral-600 dark:text-neutral-400 m-0"; protected readonly errorClass = "mt-1.5 text-caption text-danger m-0"; protected readonly cellClass: _angular_core.Signal; protected readonly masked: _angular_core.Signal; protected readonly cellType: _angular_core.Signal<"password" | "text">; /** Visible group label. */ readonly label: _angular_core.InputSignal; /** Helper copy. Hidden while {@link error} is set. */ readonly hint: _angular_core.InputSignal; /** Field-level validation message. */ readonly error: _angular_core.InputSignal; /** Number of digit cells (default 6). */ readonly length: _angular_core.InputSignalWithTransform; /** * `masked` hides each digit (PIN-style). The bound value is still the * real digits. */ readonly variant: _angular_core.InputSignal; /** Concatenated digit string (`[(value)]` + CVA). */ readonly value: _angular_core.ModelSignal; /** Host disable flag (in addition to CVA). */ readonly disabledInput: _angular_core.InputSignalWithTransform; /** Show the “Didn’t get a code? / Resend” row (default true). */ readonly showResend: _angular_core.InputSignalWithTransform; /** Copy before the resend action. */ readonly resendPrompt: _angular_core.InputSignal; /** Label on the resend button when cooldown is idle. */ readonly resendLabel: _angular_core.InputSignal; /** * Cooldown seconds after mount and after each resend click (default 60). * Set to `0` to allow resend immediately with no timer. */ readonly resendCooldown: _angular_core.InputSignalWithTransform; /** * Emits the full code when every cell is filled (typing or paste). * Host owns submit / verify — this control does not call APIs. */ readonly completed: _angular_core.OutputEmitterRef; /** * Emits when the user requests another code. Host should call the resend API; * the control restarts the cooldown automatically. */ readonly resend: _angular_core.OutputEmitterRef; protected readonly cvaDisabled: _angular_core.WritableSignal; protected readonly disabled: _angular_core.Signal; /** Seconds left before Resend is enabled. */ protected readonly cooldownRemaining: _angular_core.WritableSignal; /** Per-cell digits derived from {@link value}, padded to {@link length}. */ protected readonly cells: _angular_core.Signal; protected readonly describedBy: _angular_core.Signal; private onChange; private onTouched; private lastCompleted; private cooldownTimer; constructor(); ngOnDestroy(): void; /** @param value - Form model; non-digits stripped, truncated to length. */ writeValue(value: string | null): void; /** @param fn - User change callback. */ registerOnChange(fn: (value: string) => void): void; /** @param fn - Blur callback. */ registerOnTouched(fn: () => void): void; /** @param isDisabled - Blocks editing when true. */ setDisabledState(isDisabled: boolean): void; protected onResendClick(): void; /** * Restart the cooldown from outside (e.g. after a successful resend API call * that the host triggered some other way). Usually unnecessary — click already * starts the timer. */ restartCooldown(): void; protected onCellInput(index: number, event: Event): void; protected onCellKeydown(index: number, event: KeyboardEvent): void; protected onPaste(index: number, event: ClipboardEvent): void; protected onCellFocus(index: number): void; protected onBlur(): void; private startCooldown; private clearCooldownTimer; private commitCells; private applyValue; private digitsOnly; private focusCell; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * ISO 3166-1 alpha-2 → dial code (with `+`). * * Shared with classic import-export phone fields; used when * `libphonenumber-js` is not bundled as a peer. */ declare const PHONE_DIAL_CODES: Readonly>; /** Max national digit count (ITU E.164 national significant number). */ declare const PHONE_MAX_NATIONAL_DIGITS = 15; /** Minimum national digits before we treat a draft as a complete number. */ declare const PHONE_MIN_NATIONAL_DIGITS = 4; /** * Structured phone value — same shape as classic `ngx-intl-tel-input` output * (`PhoneNumberFormat` in legacy import-export apps). * * Prefer {@link PhoneNumberValue.e164Number} for API payloads. */ interface PhoneNumberValue { /** National digits as typed (may include spaces). */ number: string; /** International display, e.g. `+234 801 234 5678`. */ internationalNumber: string; /** National display, e.g. `0801 234 5678`. */ nationalNumber: string; /** Canonical wire form, e.g. `+2348012345678`. */ e164Number: string; /** ISO 3166-1 alpha-2, e.g. `NG`. */ countryCode: string; /** Dial prefix including `+`, e.g. `+234`. */ dialCode: string; } /** * Country row for the phone dial-code picker. */ interface PhoneCountryOption { iso2: string; dialCode: string; name: string; flagUrl: string; } /** * International phone field — flag + dial code + national number. * * Visual / behavioral cousin of classic `africanies-phone-field` * (`ngx-intl-tel-input`), rebuilt for Angular 22 + AFRICANIES form chrome * (no ngx peer-dep). * * **Value contract** * - `[(value)]` / CVA → **E.164 string** (e.g. `+2348012345678`) so admin * mappers stay `phone: string`. * - `phoneValue` model mirrors the structured classic object when you need * `countryCode` / `dialCode` in the parent. * * @example * ```html * * ``` */ declare class PhoneInputComponent implements ControlValueAccessor { protected readonly controlId: string; protected readonly hintId: string; protected readonly errorId: string; protected readonly labelClass = "block text-body-sm font-medium text-ink dark:text-white mb-1.5 empty:hidden"; protected readonly overlayPanelClass = "flex w-full flex-col overflow-hidden rounded-control border border-border bg-white shadow-lg dark:border-white/15 dark:bg-ink-950"; protected readonly overlaySearchClass = "h-9 w-full rounded-control border border-control bg-transparent px-3 text-body-sm text-ink outline-none placeholder:text-neutral-500 focus:ring-2 focus:ring-inset focus:ring-focus dark:border-white/25 dark:text-white"; protected readonly hintClass = "mt-1.5 text-caption text-neutral-600 dark:text-neutral-400 m-0"; protected readonly errorClass = "mt-1.5 text-caption text-danger m-0"; protected readonly panelPositions: ConnectedPosition[]; private readonly allCountries; private readonly injector; private readonly countrySearch; /** Visible field label. */ readonly label: _angular_core.InputSignal; /** Helper under the field (hidden while {@link error} is set). */ readonly hint: _angular_core.InputSignal; /** Field-level validation message. */ readonly error: _angular_core.InputSignal; /** National-number placeholder. */ readonly placeholder: _angular_core.InputSignal; /** * Selected country ISO2. Parents set this from address/user country. * Two-way so picking a country updates the parent. */ readonly countryIso2: _angular_core.ModelSignal; /** * When true, the flag/dial segment is not clickable (classic `resetISO`). * Use for locked sender-country phones; set `false` for free country pick. */ readonly lockCountry: _angular_core.InputSignalWithTransform; /** * E.164 string for `[(value)]` / reactive forms. * Empty string when cleared. */ readonly value: _angular_core.ModelSignal; /** * Structured phone object (classic `PhoneNumberFormat` shape). * `null` when the national field is empty. */ readonly phoneValue: _angular_core.ModelSignal; readonly disabledInput: _angular_core.InputSignalWithTransform; protected readonly cvaDisabled: _angular_core.WritableSignal; protected readonly disabled: _angular_core.Signal; protected readonly countryOpen: _angular_core.WritableSignal; protected readonly countryQuery: _angular_core.WritableSignal; /** Digits currently typed in the national field. */ protected readonly nationalDigits: _angular_core.WritableSignal; protected readonly dialCode: _angular_core.Signal; protected readonly flagUrl: _angular_core.Signal; protected readonly nationalDisplay: _angular_core.Signal; protected readonly filteredCountries: _angular_core.Signal; protected readonly shellClass: _angular_core.Signal; protected readonly describedBy: _angular_core.Signal; private onChange; private onTouched; /** True while applying an external `value` so emit does not loop. */ private syncingFromExternal; constructor(); protected maxLengthAttr(): number; writeValue(value: string | PhoneNumberValue | null): void; registerOnChange(fn: (value: string) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; protected toggleCountryPicker(event: Event): void; protected closeCountryPicker(): void; protected onCountryQuery(event: Event): void; protected selectCountry(row: PhoneCountryOption): void; protected onNationalInput(event: Event): void; protected onBlur(): void; private applyExternalValue; private emitFromState; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** Digits only from a phone draft. */ declare function phoneDigitsOnly(value: string | null | undefined): string; /** Normalize ISO2 to uppercase two letters, or `''`. */ declare function normalizePhoneIso2(iso2: string | null | undefined): string; /** Dial code for an ISO2 (with `+`), or `''` when unknown. */ declare function dialCodeForIso2(iso2: string | null | undefined): string; /** English country name from ISO2 (falls back to the code). */ declare function phoneCountryName(iso2: string): string; /** All dial-code countries for the picker (sorted by name). */ declare function phoneCountryOptions(): PhoneCountryOption[]; /** * Match an E.164 / international string to the longest known dial code. * Prefers `hintIso2` when several countries share the same dial code (e.g. `+1`). */ declare function matchDialCode(e164OrInternational: string, hintIso2?: string | null): { iso2: string; dialCode: string; nationalDigits: string; } | null; /** * Strip a leading dial code from a stored phone (classic `removeDialCode`). * Returns national digits for prefilling the input. */ declare function removeDialCode(phone: string | null | undefined, hintIso2?: string | null): string; /** Group national digits for readable display (… + last 4). */ declare function formatNationalDigits(digits: string): string; /** * Build the structured value (or `null` when empty). */ declare function buildPhoneNumberValue(iso2: string, nationalDraft: string): PhoneNumberValue | null; /** * Canonical outbound phone string — prefer E.164 from a structured value. */ declare function phoneToE164(phone: PhoneNumberValue | string | null | undefined): string; /** * Soft validity: has dial code + enough national digits (not full libphonenumber). */ declare function isPhoneNumberComplete(phone: PhoneNumberValue | null | undefined): boolean; /** * Split an incoming control value (E.164 string or structured) into UI state. */ declare function parsePhoneControlValue(value: string | PhoneNumberValue | null | undefined, fallbackIso2: string): { iso2: string; nationalDigits: string; }; /** * Option row for {@link RadioComponent}. * * @typeParam T - Value type bound through CVA / `value`. */ interface RadioOption { /** Visible label for the radio. */ label: string; /** Value written when this option is selected. */ value: T; /** When true, the option cannot be chosen. */ disabled?: boolean; } /** * Radio group following the shared AFRICANIES form field pattern. * * **Prefix/suffix slots are omitted** — radios are mutually exclusive options * with labels; affix projection does not apply. * * Selected ring and center disc follow {@link ModeColorService} * (SFN green / STN orange). * * @typeParam T - Option value type. * * @example * ```html * * ``` */ declare class RadioComponent implements ControlValueAccessor { private readonly modeColor; protected readonly groupName: string; protected readonly hintId: string; protected readonly errorId: string; protected readonly labelClass = "block text-body-sm font-medium text-ink dark:text-white mb-1.5 empty:hidden"; protected readonly hintClass = "mt-1.5 text-caption text-neutral-600 dark:text-neutral-400 m-0"; protected readonly errorClass = "mt-1.5 text-caption text-danger m-0"; /** Group legend / label. */ readonly label: _angular_core.InputSignal; /** Helper copy. Hidden while {@link error} is set. */ readonly hint: _angular_core.InputSignal; /** Field-level validation message. Distinct from `ErrorStateComponent`. */ readonly error: _angular_core.InputSignal; /** Options rendered as radios. */ readonly options: _angular_core.InputSignal[]>; /** Selected option value (`[(value)]` + CVA). */ readonly value: _angular_core.ModelSignal; /** Host disable flag (in addition to CVA). */ readonly disabledInput: _angular_core.InputSignalWithTransform; protected readonly cvaDisabled: _angular_core.WritableSignal; protected readonly disabled: _angular_core.Signal; protected readonly describedBy: _angular_core.Signal; private onChange; private onTouched; protected trackOption(opt: RadioOption): string; protected isSelected(opt: RadioOption): boolean; protected markClass(opt: RadioOption): string; /** Selected inner disc — SFN green / STN orange. */ protected readonly dotClass: _angular_core.Signal; /** @param value - Selected option value or `null`. */ writeValue(value: T | null): void; /** @param fn - Selection change callback. */ registerOnChange(fn: (value: T | null) => void): void; /** @param fn - Blur callback. */ registerOnTouched(fn: () => void): void; /** @param isDisabled - Blocks interaction when true. */ setDisabledState(isDisabled: boolean): void; protected select(opt: RadioOption): void; protected onBlur(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵcmp: _angular_core.ɵɵComponentDeclaration, "africanies-radio", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>; } /** Async lookup invoked as the user types (after debounce). */ type SearchComboboxSearchFn = (query: string) => Observable; /** Primary line in each dropdown row. */ type SearchComboboxLabelFn = (item: T) => string; /** Optional secondary line under the label. */ type SearchComboboxSubtitleFn = (item: T) => string | undefined; /** Optional trailing badge on the primary row (e.g. account type). */ interface SearchComboboxBadge { label: string; variant?: ChipVariant; icon?: IconName; } /** * */ type SearchComboboxBadgeFn = (item: T) => SearchComboboxBadge | null | undefined; /** Optional leading mark beside the label (e.g. professional plan star). */ type SearchComboboxMarkFn = (item: T) => boolean; /** Stable `@for` track key. */ type SearchComboboxTrackFn = (item: T) => string | number; /** * Generic type-as-you-search combobox with a debounced async lookup and * overlay result list. * * Pass {@link search} plus {@link optionLabel} (and optional * {@link optionSubtitle}) so the same control works for customers, staff, * partners, etc. Emits the selected entity via `[(selected)]` / CVA. * * @typeParam T - Entity type returned by {@link search} and held in * {@link selected}. * * @example * ```html * * ``` */ declare class SearchComboboxComponent implements ControlValueAccessor { private readonly destroyRef; protected readonly controlId: string; protected readonly hintId: string; protected readonly errorId: string; protected readonly listboxId: string; protected readonly labelClass = "block text-body-sm font-medium text-ink dark:text-white mb-1.5 empty:hidden"; protected readonly affixClass = "inline-flex items-center shrink-0 px-2.5 text-neutral-600 dark:text-neutral-400 empty:hidden"; protected readonly innerClass: string; protected readonly hintClass = "mt-1.5 text-caption text-neutral-600 dark:text-neutral-400 m-0"; protected readonly errorClass = "mt-1.5 text-caption text-danger m-0"; protected readonly overlayPanelClass = "flex w-full flex-col overflow-hidden rounded-control border border-border bg-white shadow-lg dark:border-white/15 dark:bg-ink-950"; protected readonly overlayListClass = "africanies-overlay-scroll max-h-64 overflow-auto"; protected readonly panelPositions: ConnectedPosition[]; protected readonly minPanelWidth = 224; private readonly triggerOrigin; private readonly querySubject; private onChange; private onTouched; /** Visible field label. */ readonly label: _angular_core.InputSignal; /** Helper copy under the field. Hidden while {@link error} is set. */ readonly hint: _angular_core.InputSignal; /** Field-level validation message. */ readonly error: _angular_core.InputSignal; readonly placeholder: _angular_core.InputSignal; /** Debounce before calling {@link search} (ms). Default 500. */ readonly debounceMs: _angular_core.InputSignalWithTransform; /** Minimum trimmed query length before search runs. Default 2. */ readonly minQueryLength: _angular_core.InputSignalWithTransform; readonly emptyMessage: _angular_core.InputSignal; /** Async lookup — parent owns HTTP / filtering. */ readonly search: _angular_core.InputSignal>; readonly optionLabel: _angular_core.InputSignal>; readonly optionSubtitle: _angular_core.InputSignal | undefined>; readonly optionBadge: _angular_core.InputSignal | undefined>; readonly optionMark: _angular_core.InputSignal | undefined>; readonly markTooltip: _angular_core.InputSignal; readonly trackBy: _angular_core.InputSignal>; readonly selected: _angular_core.ModelSignal; readonly queryChange: _angular_core.OutputEmitterRef; readonly disabledInput: _angular_core.InputSignalWithTransform; protected readonly cvaDisabled: _angular_core.WritableSignal; protected readonly disabled: _angular_core.Signal; protected readonly query: _angular_core.WritableSignal; protected readonly open: _angular_core.WritableSignal; protected readonly loading: _angular_core.WritableSignal; protected readonly options: _angular_core.WritableSignal; protected readonly searchError: _angular_core.WritableSignal; protected readonly activeIndex: _angular_core.WritableSignal; protected readonly panelWidth: _angular_core.WritableSignal; protected readonly shellClass: _angular_core.Signal; protected readonly describedBy: _angular_core.Signal; protected readonly activeOptionId: _angular_core.Signal; protected readonly selectedMark: _angular_core.Signal; constructor(); writeValue(value: T | null): void; registerOnChange(fn: (value: T | null) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; /** Clear selection and query text. */ clear(): void; protected trackKey(item: T): string | number; protected subtitleFor(item: T): string | undefined; protected badgeFor(item: T): _africanies_africanies_ui.SearchComboboxBadge | undefined; protected markFor(item: T): boolean; protected optionId(index: number): string; protected onInput(event: Event): void; protected onFocus(): void; protected onBlur(): void; protected onKeydown(event: KeyboardEvent): void; protected selectItem(item: T): void; protected closePanel(): void; protected onOutsideClick(event: MouseEvent): void; protected onOverlayDetach(): void; private commit; private syncPanelWidth; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵcmp: _angular_core.ɵɵComponentDeclaration, "africanies-search-combobox", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "debounceMs": { "alias": "debounceMs"; "required": false; "isSignal": true; }; "minQueryLength": { "alias": "minQueryLength"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "search": { "alias": "search"; "required": true; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": true; "isSignal": true; }; "optionSubtitle": { "alias": "optionSubtitle"; "required": false; "isSignal": true; }; "optionBadge": { "alias": "optionBadge"; "required": false; "isSignal": true; }; "optionMark": { "alias": "optionMark"; "required": false; "isSignal": true; }; "markTooltip": { "alias": "markTooltip"; "required": false; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; "queryChange": "queryChange"; }, never, ["[prefix]", "[suffix]"], true, never>; } /** * Option select following the shared AFRICANIES form field pattern. * * ## Single vs multiple (`selectedChange` shape) * * - **`multiple=false` (default):** `selected` / CVA / `selectedChange` use * `SelectOption | null` — selecting replaces the previous value. * - **`multiple=true`:** `selected` / CVA / `selectedChange` use * `SelectOption[]` — every change emits the **full** selection array. * Switching modes is a breaking type change for consumers; do not assume one * output shape works for both. * * ## Create paths * * - **`allowFreeText`** (requires `searchable`): inline “Add \” when the * search text does not exactly match an option label — for string-only options * with no backing entity. * - **`create`**: modal via {@link ModalService} + {@link OVERLAY_DATA} — for * entities that need a real creation flow. Independent of free-text; both may * be enabled together. * * The dropdown panel is a **CDK overlay** (attached to `body`) so it is not * clipped by parent `overflow: hidden` / transform containing blocks. * Click-outside (transparent backdrop + `overlayOutsideClick`) and Escape * dismiss the panel. * * ## Prefix / suffix * * - **Control slots** — project into the shell with `[prefix]` / `[suffix]` * (same pattern as TextInput). Used as the empty-state affixes. Set * `[showTriggerIcon]="false"` when the suffix replaces the built-in caret * (caret/spinner sit in a trailing `FORM_AFFIX` gutter, not inside the * label button). * - **Option slots** — set `prefix` / `suffix` on each {@link SelectOption} to * an `IconName`. In the list/chips always; in **single-select**, when an * option is selected its icons replace the shell prefix/suffix slots. * * @typeParam T - Option value type. * * @example * ```html * * * * ``` * ```ts * warehouses = signal([ * { label: 'Lagos Hub', value: 'los', prefix: 'warehouse', suffix: 'globe' }, * ]); * ``` */ declare class SelectComponent implements ControlValueAccessor { private readonly modal; protected readonly modeColor: ModeColorService; protected readonly controlId: string; protected readonly hintId: string; protected readonly errorId: string; protected readonly labelClass = "block text-body-sm font-medium text-ink dark:text-white mb-1.5 empty:hidden"; protected readonly affixClass = "inline-flex items-center shrink-0 px-2.5 text-neutral-600 dark:text-neutral-400 empty:hidden"; /** Leading flag / avatar image in option rows and the single-select shell. */ protected readonly optionPrefixImageClass = "size-4 shrink-0 rounded-full object-cover"; protected readonly hintClass = "mt-1.5 text-caption text-neutral-600 dark:text-neutral-400 m-0"; protected readonly errorClass = "mt-1.5 text-caption text-danger m-0"; protected readonly overlayPanelClass = "flex w-full flex-col overflow-hidden rounded-control border border-border bg-white shadow-lg dark:border-white/15 dark:bg-ink-950"; protected readonly overlayListClass = "africanies-overlay-scroll max-h-64 overflow-auto"; protected readonly overlaySearchClass = "h-9 w-full rounded-control border border-control bg-transparent px-3 text-body-sm text-ink outline-none placeholder:text-neutral-500 focus:ring-2 focus:ring-inset focus:ring-focus dark:border-white/25 dark:text-white"; protected readonly panelPositions: ConnectedPosition[]; /** Floor width for the overlay panel when the trigger width is unknown. */ protected readonly minPanelWidth = 224; private readonly searchInput; private readonly triggerOrigin; /** Visible field label. */ readonly label: _angular_core.InputSignal; /** Helper copy. Hidden while {@link error} is set. */ readonly hint: _angular_core.InputSignal; /** Field-level validation or load message. Distinct from `ErrorStateComponent`. */ readonly error: _angular_core.InputSignal; /** * When true, shows an inline Retry control next to {@link error}. * Use for async option load failures with `(retry)`. Leave false for * validation messages (e.g. “Type is required.”). */ readonly showRetry: _angular_core.InputSignalWithTransform; /** Retry link label when {@link showRetry} is true. */ readonly retryLabel: _angular_core.InputSignal; /** Retry link copy while {@link retrying} is true. */ readonly retryingLabel: _angular_core.InputSignal; /** * When true, the inline retry control is disabled and shows {@link retryingLabel}. */ readonly retrying: _angular_core.InputSignalWithTransform; /** * Emitted when the user activates the inline retry control. * Pair with {@link showRetry} for async option load failures. */ readonly retry: _angular_core.OutputEmitterRef; /** * Emitted as the user types in the searchable panel filter. * Use for server-side option search; pair with {@link loading}. */ readonly searchChange: _angular_core.OutputEmitterRef; /** * When true, options are loading — spinner on the trigger, panel, and hint row. * Blocks opening the panel until loading completes. */ readonly loading: _angular_core.InputSignalWithTransform; /** Copy shown while {@link loading} is true. */ readonly loadingLabel: _angular_core.InputSignal; /** Placeholder when nothing is selected. */ readonly placeholder: _angular_core.InputSignal; /** * Full option list (`[(options)]` / `(optionsChange)`). Parent usually owns * the canonical list — listen to `optionsChange` after create/free-text. */ readonly options: _angular_core.ModelSignal[]>; /** * Current selection (`[(selected)]` / `(selectedChange)`). * * **Shape depends on {@link multiple}:** * - single → `SelectOption | null` * - multiple → `SelectOption[]` (full array on every change) * * Switching modes is a breaking type change for consumers. */ readonly selected: _angular_core.ModelSignal | SelectOption[] | null>; /** * When true, show a search field that filters options by label * (case-insensitive substring). Required for {@link allowFreeText}. */ readonly searchable: _angular_core.InputSignalWithTransform; /** * When true (and {@link searchable}), show an inline “Add \” row when * the query does not exactly match an existing label. Independent of * {@link create}. */ readonly allowFreeText: _angular_core.InputSignalWithTransform; /** * When true, selection is `SelectOption[]` with chips + checkboxes; the * panel stays open after each pick. */ readonly multiple: _angular_core.InputSignalWithTransform; /** * Optional cap in multiple mode. Remaining unselected options disable when * reached (clicks are not silently ignored without UI feedback). */ readonly maxSelected: _angular_core.InputSignalWithTransform; /** * Modal-create config. Opens via {@link ModalService}; result is mapped with * `mapResult`, appended to options, then selected. */ readonly create: _angular_core.InputSignal | null>; /** Host disable flag (in addition to CVA). */ readonly disabledInput: _angular_core.InputSignalWithTransform; /** * When false, hides the built-in `angle-down` trailing affix so callers can * supply a chevron via the `[suffix]` slot (e.g. compact page-size selects). * Loading still shows the spinner in that same trailing gutter. */ readonly showTriggerIcon: _angular_core.InputSignalWithTransform; /** * Control height. Defaults to `md` (`h-10`). Use `sm` (`h-8`) next to * sm `africanies-button` (pagination size picker). */ readonly size: _angular_core.InputSignal; protected readonly open: _angular_core.WritableSignal; protected readonly searchQuery: _angular_core.WritableSignal; protected readonly activeIndex: _angular_core.WritableSignal; protected readonly cvaDisabled: _angular_core.WritableSignal; protected readonly panelWidth: _angular_core.WritableSignal; /** Suppresses re-entrant close when CDK emits `detach` after we already closed. */ private closingFromApi; protected readonly disabled: _angular_core.Signal; /** True while async options are loading or a retry is in flight. */ protected readonly isBusy: _angular_core.Signal; /** Trigger is not interactive while disabled or loading. */ protected readonly triggerDisabled: _angular_core.Signal; protected readonly shellClass: _angular_core.Signal; protected readonly describedBy: _angular_core.Signal; protected readonly selectedList: _angular_core.Signal[]>; protected readonly filteredOptions: _angular_core.Signal[]>; protected readonly showFreeTextRow: _angular_core.Signal; protected readonly createIndex: _angular_core.Signal<0 | -1>; protected readonly freeTextIndex: _angular_core.Signal<0 | 1 | -1>; protected readonly navigableCount: _angular_core.Signal; protected readonly displayLabel: _angular_core.Signal; /** True when multiple mode has at least one chip selected. */ protected readonly hasMultiSelection: _angular_core.Signal; /** * Loading spinner or built-in caret occupies the trailing affix gutter — * content area drops its right padding so the icon is not double-inset. */ protected readonly showTrailingTriggerIcon: _angular_core.Signal; /** * Placeholder for the trigger — hidden in multiple mode once chips exist. */ protected readonly triggerText: _angular_core.Signal; /** * Single-select current option (for shell prefix/suffix icons). * `null` in multiple mode or when nothing is selected. */ protected readonly singleSelected: _angular_core.Signal | null>; /** Selected option prefix → shell prefix slot (single-select only). */ protected readonly shellPrefix: _angular_core.Signal<"underline" | "info" | "warning" | "abacus" | "absolute-position" | "academy-cap" | "accessibility" | "accordion-menu" | "add-dock" | "adjust" | "adobe-flash" | "airplane" | "alarm" | "align-center" | "align-justify" | "align-left" | "align-right" | "alt-a" | "alt" | "ambulance" | "anchor" | "angle-double-down" | "angle-double-left" | "angle-double-right" | "angle-double-up" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "archive" | "archives" | "area-select" | "arrow-backward" | "arrow-circle-down-o" | "arrow-circle-down" | "arrow-circle-left-o" | "arrow-circle-left" | "arrow-circle-right-o" | "arrow-circle-right" | "arrow-circle-up-o" | "arrow-circle-up" | "arrow-down" | "arrow-forward" | "arrow-left" | "arrow-long-down" | "arrow-long-left" | "arrow-right" | "arrow-up" | "arrows-cross" | "arrows-long-h" | "arrows-long-right" | "arrows-long-up" | "arrows-long-v" | "arrows" | "asterisk" | "at" | "automation" | "backspace-a" | "backspace" | "backwards" | "ban" | "bar-chart-h" | "bar-chart-v" | "bar-chart" | "barcode" | "bed" | "bell-o" | "bell-slash-o" | "bell-slash" | "bell" | "boat" | "bold" | "bolt" | "bomb" | "book-dollar" | "book-percent" | "book" | "bookmark-o" | "bookmark" | "briefcase" | "browser" | "bug-o" | "bug" | "building-o" | "building" | "bullets" | "bullseye" | "bus" | "button" | "calc-book" | "calc" | "calendar-briefcase" | "calendar-clock" | "calendar-envelope" | "calendar-o" | "calendar-user" | "calendar" | "camera" | "car" | "caret-down" | "caret-left" | "caret-right" | "caret-square-down-o" | "caret-square-left-o" | "caret-square-right-o" | "caret-square-up-o" | "caret-up" | "cart-o" | "cart" | "cash" | "chart-3d" | "chart-grid" | "chart-line" | "chart-timeline" | "chart" | "chat" | "check-circle-o" | "check-circle" | "check-square-o" | "check-square" | "check" | "chevron-circle-down-o" | "chevron-circle-down" | "chevron-circle-left-o" | "chevron-circle-left" | "chevron-circle-right-o" | "chevron-circle-right" | "chevron-circle-up-o" | "chevron-circle-up" | "chevron-down-small" | "chevron-down" | "chevron-left-small" | "chevron-left" | "chevron-right-small" | "chevron-right" | "chevron-up-small" | "chevron-up" | "child" | "circle-thin" | "circle" | "clipboard-check" | "clipboard-cross" | "clipboard-heart" | "clipboard-pulse" | "clipboard-text" | "clipboard-user" | "clipboard" | "clock" | "close-big" | "close-circle-o" | "close-circle" | "close-small" | "close" | "cloud-download-o" | "cloud-download" | "cloud-o" | "cloud-upload-o" | "cloud-upload" | "cloud" | "cluster" | "code" | "coffee" | "cog-o" | "cog" | "cogs" | "coin-piles" | "coins" | "combobox" | "comment-ellipsis-o" | "comment-ellipsis" | "comment-o" | "comment" | "comments-o" | "comments" | "compile" | "compress-square" | "compress" | "connect-o" | "connect" | "controller" | "copy-o" | "copy" | "copyright" | "corner-lower-left" | "corner-lower-right" | "corner-upper-left" | "corner-upper-right" | "credit-card" | "crop" | "cross-cutlery" | "crosshairs" | "css" | "ctrl-a" | "ctrl" | "cube" | "cubes" | "curly-brackets" | "cursor-o" | "cursor" | "cutlery" | "dashboard" | "database" | "date-input" | "deindent" | "del-a" | "del" | "dental-chair" | "desktop" | "diamond-o" | "diamond" | "diasporan-partner" | "diploma-scroll" | "diploma" | "disc" | "doctor-briefcase" | "doctor" | "dollar" | "dot-circle" | "download-alt" | "download" | "drop" | "edit" | "eject" | "elastic" | "ellipsis-circle-o" | "ellipsis-circle" | "ellipsis-dots-h" | "ellipsis-dots-v" | "ellipsis-h" | "ellipsis-v" | "enter-arrow" | "enter" | "envelope-o" | "envelope-open-o" | "envelope-open" | "envelope" | "envelopes-o" | "envelopes" | "eraser" | "esc-a" | "esc" | "euro" | "exchange" | "exclamation-circle-o" | "exclamation-circle" | "exclamation" | "exit-o" | "exit" | "expand-full" | "expand-square" | "expand" | "external-browser" | "external-link" | "eye-slash" | "eye" | "eyedropper" | "facebook-square" | "facebook" | "factory" | "family" | "fast-backward" | "fast-forward" | "female" | "file-add" | "file-code" | "file-font" | "file-movie" | "file-o" | "file-picture" | "file-presentation" | "file-process" | "file-refresh" | "file-remove" | "file-search" | "file-sound" | "file-start" | "file-table" | "file-text-o" | "file-text" | "file-tree-small" | "file-tree-sub" | "file-tree" | "file-zip" | "file" | "fill" | "film" | "filter" | "fire" | "flag-checkered" | "flag-o" | "flag" | "flash" | "flask" | "flight-landing" | "flight-takeoff" | "flip-h" | "flip-v" | "folder-add" | "folder-o" | "folder-open-o" | "folder-open" | "folder-remove" | "folder-search" | "folder" | "font" | "form" | "forward" | "frown-o" | "funcion" | "funnel" | "gamepad" | "gavel" | "gift" | "glass" | "glasses" | "globe-wire" | "globe" | "golf" | "google-plus-square" | "google-plus" | "grab" | "grid-bevel" | "grid-big-o" | "grid-big" | "grid-h" | "grid-small-o" | "grid-small" | "grid-v" | "grid" | "group" | "hammer" | "hand-coins" | "hand" | "handle-corner" | "hands-up" | "handshake" | "harddrive-o" | "harddrive" | "hash" | "header" | "headphones" | "headset" | "health-card" | "heart-o" | "heart" | "home-o" | "home" | "hospital" | "hourglass-empty" | "hourglass-end" | "hourglass-start" | "hourglass" | "inbox" | "indent" | "info-circle-o" | "info-circle" | "input" | "insert" | "institution" | "invoice" | "italic" | "key-o" | "key" | "keyboard-o" | "keyboard" | "laptop" | "layout" | "level-down-bold" | "level-down" | "level-left-bold" | "level-left" | "level-right-bold" | "level-right" | "level-up-bold" | "level-up" | "lifebuoy" | "lightbulb" | "line-bar-chart" | "line-chart" | "line-h" | "line-v" | "lines-list" | "lines" | "link" | "list-ol" | "list-select" | "list-ul" | "list" | "location-arrow-circle-o" | "location-arrow-circle" | "location-arrow" | "lock" | "magic" | "magnet" | "mailbox" | "male" | "map-marker" | "margin-bottom" | "margin-left" | "margin-right" | "margin-top" | "margin" | "medal" | "megaphone" | "meh-o" | "menu" | "microphone" | "mini-partner" | "minus-circle-o" | "minus-circle" | "minus-square-o" | "minus" | "mobile-browser" | "mobile-retro" | "mobile" | "modal-list" | "modal" | "money-deposit" | "money-exchange" | "money-withdraw" | "money" | "moon-o" | "moon" | "morning" | "movie" | "music" | "mute" | "native-button" | "newspaper" | "notebook" | "number-count" | "nurse" | "office" | "open-book" | "option-a" | "option" | "options" | "orientation" | "out" | "outbox" | "package" | "padding-bottom" | "padding-left" | "padding-right" | "padding-top" | "padding" | "paint-roll" | "paintbrush" | "palette" | "panel" | "paperclip" | "paperplane-o" | "paperplane" | "paragraph" | "partner" | "password" | "paste" | "pause" | "pencil" | "phone-landline" | "phone" | "picture" | "pie-bar-chart" | "pie-chart" | "piggy-bank-coin" | "piggy-bank" | "pill" | "pills" | "pin-post" | "pin" | "play-circle-o" | "play-circle" | "play" | "plug" | "plus-circle-o" | "plus-circle" | "plus-minus" | "plus-square-o" | "plus" | "pointer" | "power-off" | "presentation" | "print" | "progressbar" | "puzzle-piece" | "pyramid-chart" | "qrcode" | "question-circle-o" | "question-circle" | "question" | "quote-left" | "quote-right" | "random" | "raster-lower-left" | "raster" | "records" | "recycle" | "refresh" | "reply-all" | "reply" | "resize-h" | "resize-v" | "retweet" | "rhombus" | "road-branch" | "road-branches" | "road-split" | "road" | "rocket" | "rotate-left" | "rotate-right" | "rss-square" | "rss" | "safe-lock" | "safe" | "scale-unbalance" | "scale" | "scatter-chart" | "scissors" | "screwdriver" | "search-minus" | "search-plus" | "search" | "select" | "server" | "share-square" | "share" | "shield" | "shift-arrow" | "shift" | "shop" | "sign-in-alt" | "sign-in" | "sign-out-alt" | "sign-out" | "signal" | "sitemap" | "slider" | "sliders" | "smiley-o" | "sort" | "sound-disable" | "spark-line" | "specialist" | "spinner-arc" | "spinner-third" | "spinner" | "spline-area-chart" | "spline-chart" | "split-h" | "split-v" | "split" | "spoon" | "square-shadow" | "star-half-left-o" | "star-half-left" | "star-half-right-o" | "star-half-right" | "star-o" | "star" | "start-cog" | "step-backward" | "step-forward" | "stethoscope" | "stock" | "stop-cog" | "stop" | "stopwatch" | "storage" | "strikethrough" | "subscript" | "suitcase" | "sun-down" | "sun-o" | "sun-rise" | "superscript" | "sword" | "tab-a" | "tab" | "table" | "tablet" | "tabs" | "tag" | "tags" | "tasks" | "taxi" | "teeth" | "terminal" | "text-height" | "text-input" | "text-label" | "text-width" | "thin-square" | "thumbs-down-o" | "thumbs-down" | "thumbs-up-o" | "thumbs-up" | "ticket" | "time-backward" | "time-forward" | "timer" | "toolbox" | "tools" | "tooth" | "touch" | "train" | "trash" | "tree-table" | "trending-down" | "trending-up" | "trophy" | "truck" | "twin-col-select" | "twitter-square" | "twitter" | "umbrella" | "unlink" | "unlock" | "upload-alt" | "upload" | "user-card" | "user-check" | "user-clock" | "user-heart" | "user-star" | "user" | "users" | "vaadin-h" | "vaadin-v" | "viewport" | "vimeo-square" | "vimeo" | "volume-down" | "volume-off" | "volume-up" | "volume" | "wallet" | "warehouse" | "workplace" | "wrench" | "youtube-square" | "youtube" | null>; /** Selected option image prefix → shell prefix slot (single-select only). */ protected readonly shellPrefixImageUrl: _angular_core.Signal; /** Selected option text prefix → shell prefix slot (single-select only). */ protected readonly shellPrefixText: _angular_core.Signal; /** Selected option suffix → shell suffix slot (single-select only). */ protected readonly shellSuffix: _angular_core.Signal<"underline" | "info" | "warning" | "abacus" | "absolute-position" | "academy-cap" | "accessibility" | "accordion-menu" | "add-dock" | "adjust" | "adobe-flash" | "airplane" | "alarm" | "align-center" | "align-justify" | "align-left" | "align-right" | "alt-a" | "alt" | "ambulance" | "anchor" | "angle-double-down" | "angle-double-left" | "angle-double-right" | "angle-double-up" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "archive" | "archives" | "area-select" | "arrow-backward" | "arrow-circle-down-o" | "arrow-circle-down" | "arrow-circle-left-o" | "arrow-circle-left" | "arrow-circle-right-o" | "arrow-circle-right" | "arrow-circle-up-o" | "arrow-circle-up" | "arrow-down" | "arrow-forward" | "arrow-left" | "arrow-long-down" | "arrow-long-left" | "arrow-right" | "arrow-up" | "arrows-cross" | "arrows-long-h" | "arrows-long-right" | "arrows-long-up" | "arrows-long-v" | "arrows" | "asterisk" | "at" | "automation" | "backspace-a" | "backspace" | "backwards" | "ban" | "bar-chart-h" | "bar-chart-v" | "bar-chart" | "barcode" | "bed" | "bell-o" | "bell-slash-o" | "bell-slash" | "bell" | "boat" | "bold" | "bolt" | "bomb" | "book-dollar" | "book-percent" | "book" | "bookmark-o" | "bookmark" | "briefcase" | "browser" | "bug-o" | "bug" | "building-o" | "building" | "bullets" | "bullseye" | "bus" | "button" | "calc-book" | "calc" | "calendar-briefcase" | "calendar-clock" | "calendar-envelope" | "calendar-o" | "calendar-user" | "calendar" | "camera" | "car" | "caret-down" | "caret-left" | "caret-right" | "caret-square-down-o" | "caret-square-left-o" | "caret-square-right-o" | "caret-square-up-o" | "caret-up" | "cart-o" | "cart" | "cash" | "chart-3d" | "chart-grid" | "chart-line" | "chart-timeline" | "chart" | "chat" | "check-circle-o" | "check-circle" | "check-square-o" | "check-square" | "check" | "chevron-circle-down-o" | "chevron-circle-down" | "chevron-circle-left-o" | "chevron-circle-left" | "chevron-circle-right-o" | "chevron-circle-right" | "chevron-circle-up-o" | "chevron-circle-up" | "chevron-down-small" | "chevron-down" | "chevron-left-small" | "chevron-left" | "chevron-right-small" | "chevron-right" | "chevron-up-small" | "chevron-up" | "child" | "circle-thin" | "circle" | "clipboard-check" | "clipboard-cross" | "clipboard-heart" | "clipboard-pulse" | "clipboard-text" | "clipboard-user" | "clipboard" | "clock" | "close-big" | "close-circle-o" | "close-circle" | "close-small" | "close" | "cloud-download-o" | "cloud-download" | "cloud-o" | "cloud-upload-o" | "cloud-upload" | "cloud" | "cluster" | "code" | "coffee" | "cog-o" | "cog" | "cogs" | "coin-piles" | "coins" | "combobox" | "comment-ellipsis-o" | "comment-ellipsis" | "comment-o" | "comment" | "comments-o" | "comments" | "compile" | "compress-square" | "compress" | "connect-o" | "connect" | "controller" | "copy-o" | "copy" | "copyright" | "corner-lower-left" | "corner-lower-right" | "corner-upper-left" | "corner-upper-right" | "credit-card" | "crop" | "cross-cutlery" | "crosshairs" | "css" | "ctrl-a" | "ctrl" | "cube" | "cubes" | "curly-brackets" | "cursor-o" | "cursor" | "cutlery" | "dashboard" | "database" | "date-input" | "deindent" | "del-a" | "del" | "dental-chair" | "desktop" | "diamond-o" | "diamond" | "diasporan-partner" | "diploma-scroll" | "diploma" | "disc" | "doctor-briefcase" | "doctor" | "dollar" | "dot-circle" | "download-alt" | "download" | "drop" | "edit" | "eject" | "elastic" | "ellipsis-circle-o" | "ellipsis-circle" | "ellipsis-dots-h" | "ellipsis-dots-v" | "ellipsis-h" | "ellipsis-v" | "enter-arrow" | "enter" | "envelope-o" | "envelope-open-o" | "envelope-open" | "envelope" | "envelopes-o" | "envelopes" | "eraser" | "esc-a" | "esc" | "euro" | "exchange" | "exclamation-circle-o" | "exclamation-circle" | "exclamation" | "exit-o" | "exit" | "expand-full" | "expand-square" | "expand" | "external-browser" | "external-link" | "eye-slash" | "eye" | "eyedropper" | "facebook-square" | "facebook" | "factory" | "family" | "fast-backward" | "fast-forward" | "female" | "file-add" | "file-code" | "file-font" | "file-movie" | "file-o" | "file-picture" | "file-presentation" | "file-process" | "file-refresh" | "file-remove" | "file-search" | "file-sound" | "file-start" | "file-table" | "file-text-o" | "file-text" | "file-tree-small" | "file-tree-sub" | "file-tree" | "file-zip" | "file" | "fill" | "film" | "filter" | "fire" | "flag-checkered" | "flag-o" | "flag" | "flash" | "flask" | "flight-landing" | "flight-takeoff" | "flip-h" | "flip-v" | "folder-add" | "folder-o" | "folder-open-o" | "folder-open" | "folder-remove" | "folder-search" | "folder" | "font" | "form" | "forward" | "frown-o" | "funcion" | "funnel" | "gamepad" | "gavel" | "gift" | "glass" | "glasses" | "globe-wire" | "globe" | "golf" | "google-plus-square" | "google-plus" | "grab" | "grid-bevel" | "grid-big-o" | "grid-big" | "grid-h" | "grid-small-o" | "grid-small" | "grid-v" | "grid" | "group" | "hammer" | "hand-coins" | "hand" | "handle-corner" | "hands-up" | "handshake" | "harddrive-o" | "harddrive" | "hash" | "header" | "headphones" | "headset" | "health-card" | "heart-o" | "heart" | "home-o" | "home" | "hospital" | "hourglass-empty" | "hourglass-end" | "hourglass-start" | "hourglass" | "inbox" | "indent" | "info-circle-o" | "info-circle" | "input" | "insert" | "institution" | "invoice" | "italic" | "key-o" | "key" | "keyboard-o" | "keyboard" | "laptop" | "layout" | "level-down-bold" | "level-down" | "level-left-bold" | "level-left" | "level-right-bold" | "level-right" | "level-up-bold" | "level-up" | "lifebuoy" | "lightbulb" | "line-bar-chart" | "line-chart" | "line-h" | "line-v" | "lines-list" | "lines" | "link" | "list-ol" | "list-select" | "list-ul" | "list" | "location-arrow-circle-o" | "location-arrow-circle" | "location-arrow" | "lock" | "magic" | "magnet" | "mailbox" | "male" | "map-marker" | "margin-bottom" | "margin-left" | "margin-right" | "margin-top" | "margin" | "medal" | "megaphone" | "meh-o" | "menu" | "microphone" | "mini-partner" | "minus-circle-o" | "minus-circle" | "minus-square-o" | "minus" | "mobile-browser" | "mobile-retro" | "mobile" | "modal-list" | "modal" | "money-deposit" | "money-exchange" | "money-withdraw" | "money" | "moon-o" | "moon" | "morning" | "movie" | "music" | "mute" | "native-button" | "newspaper" | "notebook" | "number-count" | "nurse" | "office" | "open-book" | "option-a" | "option" | "options" | "orientation" | "out" | "outbox" | "package" | "padding-bottom" | "padding-left" | "padding-right" | "padding-top" | "padding" | "paint-roll" | "paintbrush" | "palette" | "panel" | "paperclip" | "paperplane-o" | "paperplane" | "paragraph" | "partner" | "password" | "paste" | "pause" | "pencil" | "phone-landline" | "phone" | "picture" | "pie-bar-chart" | "pie-chart" | "piggy-bank-coin" | "piggy-bank" | "pill" | "pills" | "pin-post" | "pin" | "play-circle-o" | "play-circle" | "play" | "plug" | "plus-circle-o" | "plus-circle" | "plus-minus" | "plus-square-o" | "plus" | "pointer" | "power-off" | "presentation" | "print" | "progressbar" | "puzzle-piece" | "pyramid-chart" | "qrcode" | "question-circle-o" | "question-circle" | "question" | "quote-left" | "quote-right" | "random" | "raster-lower-left" | "raster" | "records" | "recycle" | "refresh" | "reply-all" | "reply" | "resize-h" | "resize-v" | "retweet" | "rhombus" | "road-branch" | "road-branches" | "road-split" | "road" | "rocket" | "rotate-left" | "rotate-right" | "rss-square" | "rss" | "safe-lock" | "safe" | "scale-unbalance" | "scale" | "scatter-chart" | "scissors" | "screwdriver" | "search-minus" | "search-plus" | "search" | "select" | "server" | "share-square" | "share" | "shield" | "shift-arrow" | "shift" | "shop" | "sign-in-alt" | "sign-in" | "sign-out-alt" | "sign-out" | "signal" | "sitemap" | "slider" | "sliders" | "smiley-o" | "sort" | "sound-disable" | "spark-line" | "specialist" | "spinner-arc" | "spinner-third" | "spinner" | "spline-area-chart" | "spline-chart" | "split-h" | "split-v" | "split" | "spoon" | "square-shadow" | "star-half-left-o" | "star-half-left" | "star-half-right-o" | "star-half-right" | "star-o" | "star" | "start-cog" | "step-backward" | "step-forward" | "stethoscope" | "stock" | "stop-cog" | "stop" | "stopwatch" | "storage" | "strikethrough" | "subscript" | "suitcase" | "sun-down" | "sun-o" | "sun-rise" | "superscript" | "sword" | "tab-a" | "tab" | "table" | "tablet" | "tabs" | "tag" | "tags" | "tasks" | "taxi" | "teeth" | "terminal" | "text-height" | "text-input" | "text-label" | "text-width" | "thin-square" | "thumbs-down-o" | "thumbs-down" | "thumbs-up-o" | "thumbs-up" | "ticket" | "time-backward" | "time-forward" | "timer" | "toolbox" | "tools" | "tooth" | "touch" | "train" | "trash" | "tree-table" | "trending-down" | "trending-up" | "trophy" | "truck" | "twin-col-select" | "twitter-square" | "twitter" | "umbrella" | "unlink" | "unlock" | "upload-alt" | "upload" | "user-card" | "user-check" | "user-clock" | "user-heart" | "user-star" | "user" | "users" | "vaadin-h" | "vaadin-v" | "viewport" | "vimeo-square" | "vimeo" | "volume-down" | "volume-off" | "volume-up" | "volume" | "wallet" | "warehouse" | "workplace" | "wrench" | "youtube-square" | "youtube" | null>; private onChange; private onTouched; /** * Active/hover option classes — soft mode accent (not near-white * `background-welcome`, which made light text illegible in dark mode). * * @param filteredIndex - Index within {@link filteredOptions}. * @returns Tailwind class string for the option button. */ protected optionClass(filteredIndex: number): string; /** @returns Classes for the free-text create row. */ protected freeTextClass(): string; /** @returns Classes for the modal-create trigger row. */ protected createRowClass(): string; /** * Multi-select checkbox chrome for a list option. * @param opt - Option whose selection state drives the mark. * @returns Tailwind class string for the checkbox glyph. */ protected multiCheckClass(opt: SelectOption): string; /** * @param value - Selection; shape must match {@link multiple}. */ writeValue(value: SelectOption | SelectOption[] | null): void; /** * @param fn - Selection change for Reactive Forms. */ registerOnChange(fn: (value: SelectOption | SelectOption[] | null) => void): void; /** @param fn - Touched callback. */ registerOnTouched(fn: () => void): void; /** @param isDisabled - Blocks interaction when true. */ setDisabledState(isDisabled: boolean): void; protected trackOption(opt: SelectOption): string; protected optionIndex(filteredIndex: number): number; protected isSelected(opt: SelectOption): boolean; protected isOptionDisabled(opt: SelectOption): boolean; /** * Opens/closes when the user clicks the shell chrome (prefix/suffix slots * sit outside the trigger button). */ protected onShellClick(): void; /** * Trigger button path — stop bubbling so {@link onShellClick} does not * double-toggle. * @param event - Pointer event from the listbox trigger. */ protected onTriggerClick(event: MouseEvent): void; protected toggleOpen(): void; /** Sync panel width to the trigger shell (exact match when measurable). */ protected openPanel(): void; protected closePanel(): void; /** * Dismiss when the user clicks outside the panel. * Clicks on the trigger are ignored so {@link toggleOpen} owns that path * (avoids close-then-reopen when the transparent backdrop is not covering). * @param event */ protected onOutsideClick(event: MouseEvent): void; /** CDK detach (e.g. scroll strategy) — keep `open` in sync without double-touch. */ protected onOverlayDetach(): void; protected onSearchInput(event: Event): void; /** * Search sits inside the listbox; without stopping propagation, Enter / * arrows run {@link onPanelKeydown} twice (input then listbox) and the * second pass toggles the first option — deselecting an existing chip * right after a free-text add. * @param event */ protected onSearchKeydown(event: KeyboardEvent): void; protected onFreeTextClick(event: MouseEvent): void; protected onCreateClick(event: MouseEvent): void; protected onTriggerKeydown(event: KeyboardEvent): void; protected onPanelKeydown(event: KeyboardEvent): void; protected moveActive(delta: number): void; protected activateCurrent(): void; protected selectOption(opt: SelectOption): void; protected removeChip(opt: SelectOption, event: Event): void; protected commitFreeText(): void; protected openCreateModal(): void; private appendCreatedOption; private commitSelection; protected onBlur(): void; protected onRetry(event: MouseEvent): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵcmp: _angular_core.ɵɵComponentDeclaration, "africanies-select", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "showRetry": { "alias": "showRetry"; "required": false; "isSignal": true; }; "retryLabel": { "alias": "retryLabel"; "required": false; "isSignal": true; }; "retryingLabel": { "alias": "retryingLabel"; "required": false; "isSignal": true; }; "retrying": { "alias": "retrying"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingLabel": { "alias": "loadingLabel"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "allowFreeText": { "alias": "allowFreeText"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "maxSelected": { "alias": "maxSelected"; "required": false; "isSignal": true; }; "create": { "alias": "create"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "showTriggerIcon": { "alias": "showTriggerIcon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "retry": "retry"; "searchChange": "searchChange"; "options": "optionsChange"; "selected": "selectedChange"; }, never, ["[prefix]", "[suffix]"], true, never>; } /** * Native `type` values supported by {@link TextInputComponent}. * * Keep this list to single-line text controls — multiline is * {@link TextareaComponent}, numeric is {@link NumberInputComponent}. */ type TextInputType = 'text' | 'email' | 'password' | 'search' | 'tel' | 'url'; /** * Single-line text field — **reference** form control for `@africanies/africanies-ui`. * * Follows the shared AFRICANIES form field pattern: label, hint, field-level * `error` (distinct from `ErrorStateComponent`), prefix/suffix projection * slots, and {@link ControlValueAccessor} plus `value` / `valueChange` for * template bindings. * * @example * ```html * * * * * * * * * * * ``` */ declare class TextInputComponent implements ControlValueAccessor { /** Stable ids so label / aria-describedby stay paired across re-renders. */ protected readonly controlId: string; protected readonly hintId: string; protected readonly errorId: string; protected readonly labelClass = "block text-body-sm font-medium text-ink dark:text-white mb-1.5 empty:hidden"; protected readonly affixClass = "inline-flex items-center shrink-0 px-2.5 text-neutral-600 dark:text-neutral-400 empty:hidden"; protected readonly innerClass: string; protected readonly hintClass = "mt-1.5 text-caption text-neutral-600 dark:text-neutral-400 m-0"; protected readonly errorClass = "mt-1.5 text-caption text-danger m-0"; /** * Visible field label. */ readonly label: _angular_core.InputSignal; /** * Helper copy under the field. Hidden while {@link error} is set (error * replaces hint visually). */ readonly hint: _angular_core.InputSignal; /** * Field-level validation message (`string | null`). Not an async page error — * use `ErrorStateComponent` for failed fetches. */ readonly error: _angular_core.InputSignal; /** * Native placeholder when the value is empty. */ readonly placeholder: _angular_core.InputSignal; /** * Native input type. Defaults to `text`. Use `password` / `email` for * auth fields; toggle visibility by binding `type` between `password` and * `text`. */ readonly type: _angular_core.InputSignal; /** * Native `autocomplete` hint (e.g. `email`, `current-password`). * Omitted from the DOM when empty. */ readonly autocomplete: _angular_core.InputSignal; /** * Current text. Supports `[(value)]` and Reactive Forms via CVA. */ readonly value: _angular_core.ModelSignal; /** * Optional host disable (in addition to CVA `setDisabledState`). */ readonly disabledInput: _angular_core.InputSignalWithTransform; protected readonly cvaDisabled: _angular_core.WritableSignal; protected readonly disabled: _angular_core.Signal; protected readonly shellClass: _angular_core.Signal; protected readonly describedBy: _angular_core.Signal; private onChange; private onTouched; /** * @param value - Form model value; `null` becomes `''`. */ writeValue(value: string | null): void; /** * @param fn - Called when the user edits the field. */ registerOnChange(fn: (value: string) => void): void; /** * @param fn - Called on blur. */ registerOnTouched(fn: () => void): void; /** * @param isDisabled - When true, blocks editing. */ setDisabledState(isDisabled: boolean): void; protected onInput(event: Event): void; protected onBlur(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Multi-line text field following the shared form-control pattern * (`shared AFRICANIES form field pattern`). Supports prefix/suffix slots, * field-level `error`, and {@link ControlValueAccessor}. * * @example * ```html * * ``` */ declare class TextareaComponent implements ControlValueAccessor { protected readonly controlId: string; protected readonly hintId: string; protected readonly errorId: string; protected readonly labelClass = "block text-body-sm font-medium text-ink dark:text-white mb-1.5 empty:hidden"; protected readonly affixClass = "inline-flex items-center shrink-0 px-2.5 text-neutral-600 dark:text-neutral-400 empty:hidden"; protected readonly innerClass = "flex-1 min-w-0 min-h-0 h-full w-full bg-transparent border-0 outline-none text-body text-ink dark:text-white px-3 py-0 placeholder:text-neutral-500 disabled:cursor-not-allowed resize-y min-h-20 h-auto py-2"; protected readonly hintClass = "mt-1.5 text-caption text-neutral-600 dark:text-neutral-400 m-0"; protected readonly errorClass = "mt-1.5 text-caption text-danger m-0"; /** Visible field label. */ readonly label: _angular_core.InputSignal; /** * Helper copy under the field. Hidden while {@link error} is set. */ readonly hint: _angular_core.InputSignal; /** * Field-level validation message. Distinct from `ErrorStateComponent`. */ readonly error: _angular_core.InputSignal; /** Native placeholder. */ readonly placeholder: _angular_core.InputSignal; /** Visible row count for the native textarea. */ readonly rows: _angular_core.InputSignalWithTransform; /** Current text (`[(value)]` + CVA). */ readonly value: _angular_core.ModelSignal; /** Host disable flag (in addition to CVA). */ readonly disabledInput: _angular_core.InputSignalWithTransform; protected readonly cvaDisabled: _angular_core.WritableSignal; protected readonly disabled: _angular_core.Signal; protected readonly shellClass: _angular_core.Signal; protected readonly describedBy: _angular_core.Signal; private onChange; private onTouched; /** @param value - Form model; `null` becomes `''`. */ writeValue(value: string | null): void; /** @param fn - User edit callback. */ registerOnChange(fn: (value: string) => void): void; /** @param fn - Blur callback. */ registerOnTouched(fn: () => void): void; /** @param isDisabled - Blocks editing when true. */ setDisabledState(isDisabled: boolean): void; protected onInput(event: Event): void; protected onBlur(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Boolean switch following the shared AFRICANIES form field pattern. * * **Prefix/suffix slots are omitted** — a toggle is a binary control; affix * projection does not apply. * * On-state fill follows {@link ModeColorService} (SFN green / STN orange). * * The thumb follows {@link value} (or the CVA model). A click emits the next * boolean and does not flip locally — so `[(value)]` stays instant while * one-way `[value]` + `(valueChange)` waits for the parent to commit. Bind * {@link loading} for API-backed switches: the control stays on the last * committed value, shows a spinner, and ignores further clicks. * * @example * ```html * * * * ``` */ declare class ToggleComponent implements ControlValueAccessor { private readonly modeColor; protected readonly controlId: string; protected readonly hintId: string; protected readonly errorId: string; protected readonly hintClass = "mt-1.5 text-caption text-neutral-600 dark:text-neutral-400 m-0"; protected readonly errorClass = "mt-1.5 text-caption text-danger m-0"; /** Visible label beside the switch. */ readonly label: _angular_core.InputSignal; /** Helper copy. Hidden while {@link error} is set. */ readonly hint: _angular_core.InputSignal; /** Field-level validation message. Distinct from `ErrorStateComponent`. */ readonly error: _angular_core.InputSignal; /** On/off state (`[(value)]` + CVA). */ readonly value: _angular_core.InputSignal; /** Emitted with the intended next state. The thumb flips when {@link value} changes. */ readonly valueChange: _angular_core.OutputEmitterRef; /** * In-flight mutation. Keeps the last committed {@link value}, shows a * spinner on the thumb, and treats the switch as non-interactive. * * Plain boolean (no `booleanAttribute`): `[loading]="saving()"` bindings * must pass through `true` without attribute-string coercion. */ readonly loading: _angular_core.InputSignal; /** Host disable flag (in addition to CVA). */ readonly disabledInput: _angular_core.InputSignalWithTransform; protected readonly cvaDisabled: _angular_core.WritableSignal; /** * Form-attached value. `undefined` until {@link writeValue} runs so * template `[value]` stays the source of truth outside reactive forms. */ private readonly cvaValue; protected readonly disabled: _angular_core.Signal; protected readonly inactive: _angular_core.Signal; protected readonly on: _angular_core.Signal; /** On → mode primary fill; off → neutral track. */ protected readonly trackClass: _angular_core.Signal; protected readonly describedBy: _angular_core.Signal; private onChange; private onTouched; /** @param value - Form model; non-boolean coerces via `!!`. */ writeValue(value: boolean | null): void; /** @param fn - User toggle callback. */ registerOnChange(fn: (value: boolean) => void): void; /** @param fn - Blur callback. */ registerOnTouched(fn: () => void): void; /** @param isDisabled - Blocks interaction when true. */ setDisabledState(isDisabled: boolean): void; protected toggle(): void; protected onBlur(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Shared item contract for breadcrumb, tabs, and segment. * * When {@link routerLink} is set, the host component renders an `
` with * Angular `RouterLink` / `RouterLinkActive` so active state comes from the * **consumer’s** router. When omitted, items are buttons driven by a local * `activeId` model. */ interface AfricaniesNavItem { /** Stable id for selection, templates, and tracking. */ id: string; /** Visible label. */ label: string; /** * Optional Angular router link (`string` or commands array). * When set, navigation and active state are owned by the router. */ routerLink?: string | readonly unknown[]; /** Optional query params passed to `RouterLink`. */ queryParams?: Record; /** Optional URL fragment. */ fragment?: string; /** When true, the item cannot be activated. */ disabled?: boolean; /** * Non-link breadcrumb tone. When `false`, uses primary text (`text-ink`) instead * of muted grey. Defaults to muted for group/segment labels without a link. */ breadcrumbMuted?: boolean; /** Optional leading icon from `@africanies/africanies-icons`. */ icon?: IconName; } /** * Breadcrumb trail for hierarchical navigation. * * Items may set {@link AfricaniesNavItem.routerLink} so crumbs navigate via the * consumer’s Angular Router. The **last** item is always the current page * (`aria-current="page"`) and is not interactive. * * @example * ```html * * * * * * ``` */ declare class BreadcrumbComponent { protected readonly modeColor: ModeColorService; /** Ordered crumbs; the last entry is the current page. */ readonly items: _angular_core.InputSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Side-nav entry - top-level or nested under {@link children}. * * Optional {@link routerLink} follows the same router-owned active pattern as * tabs / segment. Nested children may also be routed. */ interface AfricaniesSideNavItem { /** Stable id for selection, expansion, and tracking. */ id: string; /** Visible label (also used in the collapsed hover blade). */ label: string; /** Leading icon - recommended so the collapsed rail stays identifiable. */ icon?: IconName; /** * Optional Angular router link. When set, navigation and active state are * owned by the consumer's router. */ routerLink?: string | readonly unknown[]; /** Optional query params for `RouterLink`. */ queryParams?: Record; /** Optional URL fragment. */ fragment?: string; /** When true, the item cannot be activated. */ disabled?: boolean; /** * When true, shows a pulsing dot on the top-right of the row (live updates, * unread counts, websocket events, etc.). The host app toggles this flag. */ badge?: boolean; /** * Nested entries (one level deep is typical; deeper trees are supported). * Parent click toggles the branch when expanded; when the rail is collapsed, * it expands and activates the first enabled child. */ children?: AfricaniesSideNavItem[]; } /** * App shell side navigation with icons, nested items, and a collapsible rail. * * **Design - ink spine:** a continuous mode-accent edge; active leaves use * primary fill + white text (portal parity); expanded parents of an active * child use primary text on white. Collapsed mode keeps icons; hover opens a * floating label blade (name + children) instead of a plain tooltip. * * ## Parent items with children * **Expanded rail:** branches start open by default (`expandBranchesByDefault`). * Clicking a parent only opens/closes the branch (no route change). When any * branch is open, a sticky collapse-all control sits above the list (top right). * The rail expand/collapse control stays pinned in the logo header. Project * chrome above the scrollable list with `pre-nav` (e.g. shipping modes) or * below with `footer`. * **Collapsed rail:** clicking a parent expands the rail, opens the * branch, and activates the first enabled child (router or `activeId`). * * ## Router mode * Set `routerLink` on items. Active state follows the consumer's Router * (including cold loads). * * ## Local mode * Omit `routerLink` and bind `[(activeId)]`. * * @example * ```html * * ``` */ declare class SideNavComponent { protected readonly modeColor: ModeColorService; private readonly defaultLogoUrl; private readonly defaultLogoMiniUrl; private readonly router; /** Navigation tree. */ readonly items: _angular_core.InputSignal; /** When true, the rail collapses to icons only. Two-way bindable. */ readonly collapsed: _angular_core.ModelSignal; /** * Active item id for local (non-routed) trees. Synced from the router when * items use `routerLink`. */ readonly activeId: _angular_core.ModelSignal; /** Accessible label for the `