@cngx/ui 0.1.0-rc.1 → 0.1.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -7
- package/fesm2022/cngx-ui-mat-paginator.mjs +215 -0
- package/fesm2022/cngx-ui-mat-paginator.mjs.map +1 -0
- package/fesm2022/cngx-ui-mat-tabs.mjs +20 -1
- package/fesm2022/cngx-ui-mat-tabs.mjs.map +1 -1
- package/fesm2022/cngx-ui-paginator.mjs +1868 -0
- package/fesm2022/cngx-ui-paginator.mjs.map +1 -0
- package/fesm2022/cngx-ui-stepper.mjs +98 -11
- package/fesm2022/cngx-ui-stepper.mjs.map +1 -1
- package/fesm2022/cngx-ui-tabs.mjs +112 -12
- package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
- package/fesm2022/cngx-ui.mjs +2 -2
- package/fesm2022/cngx-ui.mjs.map +1 -1
- package/mat-paginator/README.md +135 -0
- package/package.json +9 -5
- package/paginator/README.md +131 -0
- package/stepper/README.md +24 -0
- package/types/cngx-ui-mat-paginator.d.ts +108 -0
- package/types/cngx-ui-mat-tabs.d.ts +5 -0
- package/types/cngx-ui-paginator.d.ts +1035 -0
- package/types/cngx-ui-stepper.d.ts +66 -6
- package/types/cngx-ui-tabs.d.ts +85 -9
- package/fesm2022/cngx-ui-material.mjs +0 -90
- package/fesm2022/cngx-ui-material.mjs.map +0 -1
- package/material/README.md +0 -90
- package/types/cngx-ui-material.d.ts +0 -47
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cngx-ui-stepper.mjs","sources":["../../../projects/ui/stepper/stepper.component.ts","../../../projects/ui/stepper/stepper.component.html","../../../projects/ui/stepper/progress-bar-stepper.component.ts","../../../projects/ui/stepper/progress-bar-stepper.component.html","../../../projects/ui/stepper/dot-stepper.component.ts","../../../projects/ui/stepper/dot-stepper.component.html","../../../projects/ui/stepper/text-stepper.component.ts","../../../projects/ui/stepper/text-stepper.component.html","../../../projects/ui/stepper/footer/stepper-footer.component.ts","../../../projects/ui/stepper/footer/stepper-footer-regions.ts","../../../projects/ui/stepper/public-api.ts","../../../projects/ui/stepper/cngx-ui-stepper.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n contentChild,\n contentChildren,\n DestroyRef,\n ElementRef,\n inject,\n Injector,\n input,\n type Signal,\n type TemplateRef,\n} from '@angular/core';\n\nimport {\n CngxFocusRestore,\n CngxLiveRegion,\n CngxRovingItem,\n CngxRovingTabindex,\n} from '@cngx/common/a11y';\nimport { CngxSwipe } from '@cngx/common/interactive';\nimport {\n CNGX_STEP_PANEL_HOST,\n createStepperDisplayMode,\n CngxStep,\n STEPPER_DEFAULT_MOBILE_BREAKPOINT,\n CngxStepBadge,\n CngxStepBusySpinner,\n type CngxStepContentContext,\n CngxStepError,\n type CngxStepErrorContext,\n CngxStepGroupHeader,\n CngxStepIndicator,\n type CngxStepLabelContext,\n CngxStepperEmpty,\n CngxStepperPresenter,\n type CngxStepperHeaderNavigation,\n type CngxStepperMobileIndicatorPosition,\n type CngxStepperSkin,\n CngxStepRejection,\n CNGX_STEPPER_GLYPHS,\n CNGX_STEPPER_HOST,\n CngxStepperCount,\n createStepperAnnouncementBuilders,\n createStepperHostAttrs,\n createStepperSlotContextBuilders,\n createStepperStateView,\n createStepperStripKeyboardNav,\n createStepperTemplateBindings,\n resolveStepperErrorSummary,\n CngxStepperSwipeNav,\n resolveStepperStatusLabel,\n injectStepperConfig,\n injectStepperI18n,\n type CngxStepNode,\n type CngxStepPanelHost,\n} from '@cngx/common/stepper';\nimport {\n CNGX_DIRECTIVE_BY_ID_MAP_FACTORY,\n CNGX_ORGANISM_SCROLL_SYNC_FACTORY,\n} from '@cngx/common/tabs';\nimport { coerceBooleanProperty } from '@cngx/core/utils';\n\n/**\n * Stepper organism. Composes `CngxStepperPresenter` with\n * `CngxRovingTabindex` and `CngxFocusRestore` via `hostDirectives`;\n * forwards `activeStepIndex`/`linear`/`orientation`/`commitAction`/\n * `commitMode` to the presenter. Material twin lives in\n * `@cngx/ui/mat-stepper`. ARIA attrs are in the `computed()` graph.\n *\n * @category ui/stepper\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/stepper.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepperPresenter, CngxStep, CngxRovingTabindex, CngxFocusRestore, CngxLiveRegion\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-horizontal/three-step-wizard</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-vertical/vertical-sidebar-layout</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-linear/linear-gating-with-completion-checkboxes</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-mobile-collapse/dots-collapse</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/linear-minimal</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/stripe-status-rich</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/path-chevron</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/pill-segment</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/chips</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/breadcrumb</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/all-skins-side-by-side</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/material-theme-coverage</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/linear-minimal-vertical</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/stripe-status-rich-vertical</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/path-chevron-vertical</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/pill-segment-vertical</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/chips-vertical</example-url>\n */\n@Component({\n selector: 'cngx-stepper',\n exportAs: 'cngxStepper',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NgTemplateOutlet, CngxLiveRegion, CngxRovingItem, CngxStepperCount, CngxSwipe],\n styleUrls: ['./styles/stepper-base.css', './stepper.component.css'],\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: CngxStepperPresenter,\n inputs: ['activeStepIndex', 'linear', 'orientation', 'commitAction', 'commitMode'],\n outputs: ['activeStepIndexChange'],\n },\n {\n directive: CngxRovingTabindex,\n inputs: ['orientation'],\n },\n {\n directive: CngxStepperSwipeNav,\n inputs: ['mobileSwipe'],\n },\n { directive: CngxFocusRestore },\n // CngxLiveRegion not composed: its role=\"status\" would clobber the\n // host's role=\"group\". Template mounts a dedicated <span cngxLiveRegion>\n // bound to liveAnnouncement instead.\n ],\n providers: [{ provide: CNGX_STEP_PANEL_HOST, useExisting: CngxStepper }],\n templateUrl: './stepper.component.html',\n host: {\n class: 'cngx-stepper',\n role: 'group',\n '[attr.aria-roledescription]': 'stepperRoleDescription()',\n '[attr.aria-orientation]': 'presenter.orientation()',\n '[attr.data-orientation]': 'presenter.orientation()',\n '[attr.data-skin]': 'hostAttrs.resolvedSkin()',\n '[attr.data-connectors]': \"hostAttrs.resolvedConnectors() ? 'true' : null\",\n '[attr.data-mobile-indicator-position]': 'hostAttrs.resolvedMobileIndicatorPosition()',\n '[attr.aria-label]': 'resolvedAriaLabel()',\n '[attr.aria-labelledby]': 'ariaLabelledBy()',\n '[attr.aria-busy]': 'isCommitting() ? \"true\" : null',\n '[class.cngx-stepper]': 'true',\n '(keydown)': 'handleStripKeyDown($event)',\n },\n})\nexport class CngxStepper implements CngxStepPanelHost {\n readonly ariaLabel = input<string | undefined>(undefined, { alias: 'aria-label' });\n readonly ariaLabelledBy = input<string | undefined>(undefined, { alias: 'aria-labelledby' });\n\n /** Per-instance skin override; flips `[data-skin]`, structure/ARIA unchanged. */\n readonly skin = input<CngxStepperSkin | undefined>(undefined);\n\n /** Opt the classic skin into the connector-rail presentation. Off by default, classic-scoped. */\n readonly connectors = input<boolean | undefined, unknown>(undefined, {\n transform: (v) => (v === undefined ? undefined : coerceBooleanProperty(v)),\n });\n\n /**\n * Per-instance header-navigation policy. `'none'` renders inert label\n * headers (footer-only navigation); `'visited'` keeps them as\n * focusable buttons gated by `linear`. Cascade: Input ?? config ??\n * `'visited'`.\n */\n readonly headerNavigation = input<CngxStepperHeaderNavigation | undefined>(undefined);\n\n /**\n * Opt-in `Step N of M` caption under the mobile `'dots'` row. In\n * the `'text'` collapse branch the count IS the indicator and is\n * always rendered; this input only gates the supplemental caption\n * that sits next to the dot row.\n */\n readonly showStepCount = input<boolean>(false);\n\n readonly mobileIndicatorPosition = input<CngxStepperMobileIndicatorPosition | undefined>(\n undefined,\n );\n\n /** Stepper-host contract; exposed so external `<cngx-stepper-count>` / bridge consumers can `[host]=\"s.presenter\"` via `#s=\"cngxStepper\"`. */\n readonly presenter = inject(CNGX_STEPPER_HOST);\n protected readonly i18n = injectStepperI18n();\n protected readonly config = injectStepperConfig();\n private readonly hostElement: HTMLElement =\n inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n private readonly injector = inject(Injector);\n private readonly stepDirectives = contentChildren(CngxStep, { descendants: true });\n\n private readonly indicatorSlot = contentChild(CngxStepIndicator);\n private readonly badgeSlot = contentChild(CngxStepBadge);\n private readonly busySpinnerSlot = contentChild(CngxStepBusySpinner);\n private readonly rejectionSlot = contentChild(CngxStepRejection);\n private readonly errorSlot = contentChild(CngxStepError);\n private readonly groupHeaderSlot = contentChild(CngxStepGroupHeader);\n private readonly emptySlot = contentChild(CngxStepperEmpty);\n\n /** Default-template glyph source - read by `#defaultBadge` / `#defaultRejection` outlets. */\n protected readonly glyphs = CNGX_STEPPER_GLYPHS;\n\n /**\n * Template cascade (indicator/badge/busySpinner/rejection/stepError/\n * groupHeader/empty). Resolution: per-instance slot directive →\n * `CNGX_STEPPER_CONFIG.templates.<key>` → `null` (built-in default).\n */\n protected readonly templates = createStepperTemplateBindings({\n indicatorSlot: this.indicatorSlot,\n badgeSlot: this.badgeSlot,\n busySpinnerSlot: this.busySpinnerSlot,\n rejectionSlot: this.rejectionSlot,\n errorSlot: this.errorSlot,\n groupHeaderSlot: this.groupHeaderSlot,\n emptySlot: this.emptySlot,\n config: this.config,\n });\n\n protected readonly displayMode = createStepperDisplayMode(\n this.config.mobileBreakpoint ?? STEPPER_DEFAULT_MOBILE_BREAKPOINT,\n () => this.config.mobileCollapse,\n inject(DestroyRef),\n );\n\n constructor() {\n // Scroll active step into view via the swappable scroll-sync factory.\n inject(CNGX_ORGANISM_SCROLL_SYNC_FACTORY)({\n activeId: this.presenter.activeStepId,\n hostElement: this.hostElement,\n injector: this.injector,\n });\n }\n\n /** Stepper landmark role-description with config + i18n cascade. */\n protected readonly stepperRoleDescription = computed<string>(\n () => this.config.fallbackLabels?.stepRoleDescription ?? this.i18n.stepperLabel,\n );\n\n /** Resolved skin / connectors / mobile-indicator host attrs (Level-2 cascade helper). */\n protected readonly hostAttrs = createStepperHostAttrs({\n skin: this.skin,\n connectors: this.connectors,\n mobileIndicatorPosition: this.mobileIndicatorPosition,\n config: this.config,\n });\n\n /**\n * Resolved header-navigation policy. Cascade mirrors `skin` /\n * `connectors`: per-instance Input ?? config ?? `'visited'`.\n */\n protected readonly resolvedHeaderNavigation = computed<CngxStepperHeaderNavigation>(\n () => this.headerNavigation() ?? this.config.headerNavigation ?? 'visited',\n );\n\n /**\n * Real error reason for a step, or `null`. A reason is the direct\n * `[error]` string or the first `errorAggregator` label.\n */\n private stepErrorMessageOf(node: CngxStepNode): string | null {\n return node.errorMessage?.() ?? node.errorAggregator?.()?.errorLabels?.()?.[0] ?? null;\n }\n\n /**\n * Errored steps that carry a real message, rendered as a row BELOW the\n * strip (full width, wraps) rather than inline in a step - a free-text\n * message inside a strip item widens the shrink-to-fit step and tears\n * the row. Empty when no step has a real reason.\n */\n protected readonly stepErrorEntries = computed<\n readonly { id: string; label: string; message: string; context: CngxStepErrorContext }[]\n >(\n () =>\n // The message row sits below the strip, so it has room on every\n // skin - the bare 'errored' state still rides each skin's own\n // indicator / badge / tile.\n this.stepsOnly()\n .filter((node) => node.kind === 'step' && this.stepErrorMessageOf(node) !== null)\n .map((node) => ({\n id: node.id,\n label: node.label(),\n message: this.stepErrorMessageOf(node)!,\n context: this.slotContext.stepErrorContextFor(node),\n })),\n {\n equal: (a, b) =>\n a.length === b.length && a.every((e, i) => e.id === b[i].id && e.message === b[i].message),\n },\n );\n\n /** Mobile-swipe navigation host directive (Level-2 composition). */\n protected readonly swipeNav = inject(CngxStepperSwipeNav, { host: true });\n\n protected statusLabelFor = (node: CngxStepNode): string =>\n resolveStepperStatusLabel(node, this.i18n, this.slotContext.isActive(node));\n\n /** Mobile-dot `data-state`: unified error (rejection + aggregator) over the raw status. */\n protected mobileDotState(node: CngxStepNode): string {\n return this.stateView.hasError(node) ? 'error' : node.state();\n }\n\n /** Mobile-dot `aria-label`, appending the errored status when the dot has an error. */\n protected mobileDotAriaLabel(node: CngxStepNode, index: number): string {\n const base = this.i18n.selectedStep(node.label(), index + 1, this.stepsOnly().length);\n return this.stateView.hasError(node) ? `${base}: ${this.i18n.statusLabels.errored}` : base;\n }\n protected readonly groupRoleDescription = computed<string>(\n () => this.config.fallbackLabels?.groupRoleDescription ?? 'step group',\n );\n\n /**\n * `aria-label` cascade: input → `ariaLabels.stepperRegion` → `i18n.stepperLabel`.\n * Pillar 2.\n */\n protected readonly resolvedAriaLabel = computed<string | null>(() => {\n if (this.ariaLabelledBy()) {\n return null; // labelledby trumps label\n }\n return this.ariaLabel() ?? this.config.ariaLabels?.stepperRegion ?? this.i18n.stepperLabel;\n });\n\n // O(1) labelTemplateFor/contentTemplateFor lookup. Structural equal on\n // id-set + directive identity stops cascade on shape-stable re-emits.\n private readonly stepDirectiveById = inject(CNGX_DIRECTIVE_BY_ID_MAP_FACTORY)({\n source: this.stepDirectives,\n });\n\n readonly flatSteps: Signal<readonly CngxStepNode[]> = this.presenter.flatSteps;\n readonly activeStepIndex: Signal<number> = this.presenter.activeStepIndex;\n readonly activeStepId: Signal<string | null> = this.presenter.activeStepId;\n protected readonly stepsOnly: Signal<readonly CngxStepNode[]> = this.presenter.stepsOnly;\n\n /**\n * Position in the step-only flat projection. Group nodes carry `-1`;\n * callers must guard on `kind === 'step'`.\n */\n protected stepIndexOf(node: CngxStepNode): number {\n return node.flatIndex;\n }\n\n /** Per-step predicates + slot-context builders (Level-2 factory). */\n protected readonly slotContext = createStepperSlotContextBuilders({\n presenter: this.presenter,\n stepsOnly: this.stepsOnly,\n i18n: this.i18n,\n });\n\n /**\n * Shared state view - feeds the mobile-collapse `text` / `dots` branches,\n * which otherwise rendered only `Step N of M` (text) or `node.state()`\n * (dots) and dropped the per-step error the desktop branch shows.\n */\n protected readonly stateView = createStepperStateView({\n presenter: this.presenter,\n stepsOnly: this.stepsOnly,\n });\n\n /**\n * Aggregate error phrase for the mobile-collapse text branch. Feeds the\n * real reason (the `[error]` string / aggregator label) through the\n * resolver so the collapsed view shows \"Card declined\", not the generic\n * \"errored\" status word - the strip's per-step row is not on screen in\n * collapsed mode, so this line is the only error surface.\n */\n protected readonly mobileErrorSummary = computed<string>(() =>\n resolveStepperErrorSummary(\n this.stateView,\n this.stepsOnly,\n this.i18n,\n (node) => this.stepErrorMessageOf(node) ?? undefined,\n ),\n );\n\n /** Commit-in-flight flag - drives the host `aria-busy` binding. Pillar 2. */\n protected readonly isCommitting = computed<boolean>(\n () => this.presenter.commitState.status() === 'pending',\n );\n\n protected stepHeaderId(node: CngxStepNode): string {\n return `${node.id}-header`;\n }\n\n protected stepPanelId(node: CngxStepNode): string {\n return `${node.id}-panel`;\n }\n\n protected stepDescriptorId(node: CngxStepNode): string {\n return `${node.id}-desc`;\n }\n\n /** Live-region + per-step + group SR phrase builders (Level-2 factory). */\n protected readonly announcement = createStepperAnnouncementBuilders({\n presenter: this.presenter,\n stepsOnly: this.stepsOnly,\n i18n: this.i18n,\n });\n\n protected handleHeaderClick(node: CngxStepNode): void {\n // Inert headers in 'none' mode: the footer is the sole control.\n if (this.resolvedHeaderNavigation() === 'none') {\n return;\n }\n // No-op when the header is not reachable - disabled, linear-blocked,\n // or a commit is in flight. The reachability gate (which now includes\n // `busy()`) is the single source, so a mid-commit click cannot\n // supersede the pending transition.\n if (node.kind !== 'step' || !this.isHeaderReachable(node)) {\n return;\n }\n this.presenter.select(this.stepIndexOf(node));\n }\n\n /**\n * `true` when the step header at `node` may be navigated to right now:\n * structurally reachable (`canNavigateTo` - not disabled, not\n * linear-blocked) AND not while a commit is in flight (`busy()`). The\n * busy gate mirrors the footer nav atoms, which disable on\n * `!canGo* || busy()` - so the strip and the footer lock together\n * during an async transition instead of letting a header click\n * supersede the pending commit. Reads the host contract, never the\n * presenter's private linear-block check.\n */\n protected isHeaderReachable(node: CngxStepNode): boolean {\n return this.presenter.canNavigateTo(node.flatIndex) && !this.presenter.busy();\n }\n\n /**\n * `'true'` on a header that cannot be navigated to, `null` otherwise.\n * Folds two channels into one binding: a `disabled` step and a\n * linear-unreachable step both read as `aria-disabled`, so the gate is\n * announced rather than silently ignored. The header stays focusable\n * per the ARIA composite-widget disabled-focusable rule. In\n * `'visited'` + `linear=false` this is byte-identical to the\n * prior `node.disabled()`-only binding, since `canNavigateTo` returns\n * `true` for every enabled step when linear is off.\n */\n protected headerAriaDisabled(node: CngxStepNode): 'true' | null {\n return this.isHeaderReachable(node) ? null : 'true';\n }\n\n /** Strip-scoped arrow-key handler. See {@link createStepperStripKeyboardNav}. */\n protected readonly handleStripKeyDown = createStepperStripKeyboardNav({\n presenter: this.presenter,\n hostElement: this.hostElement,\n flatStepCount: () => this.flatSteps().length,\n stepButtonIdFor: (id) => `${id}-header`,\n // Off in 'none' mode (inert labels) and while a commit is in flight,\n // so arrow-key navigation locks with the headers + footer during an\n // async transition.\n enabled: () => this.resolvedHeaderNavigation() !== 'none' && !this.presenter.busy(),\n });\n\n /**\n * Clear the presenter's `lastFailedIndex`. Lets template-ref consumers\n * (`#s=\"cngxStepper\"`) dismiss the rejection decoration without injecting\n * {@link CNGX_STEPPER_HOST}.\n */\n clearLastFailed(): void {\n this.presenter.clearLastFailed();\n }\n\n // CngxStepPanelHost contract - O(1) via the pre-built map.\n labelTemplateFor(id: string): TemplateRef<CngxStepLabelContext> | null {\n return this.stepDirectiveById().get(id)?.labelTemplate()?.templateRef ?? null;\n }\n\n contentTemplateFor(id: string): TemplateRef<CngxStepContentContext> | null {\n return this.stepDirectiveById().get(id)?.contentTemplate()?.templateRef ?? null;\n }\n}\n","@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else if (displayMode() === 'text') {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text\" [live]=\"false\" />\n @if (stateView.hasAnyError()) {\n <span class=\"cngx-stepper__mobile-error\" role=\"status\" data-state=\"error\">\n <span class=\"cngx-stepper__mobile-error-glyph\" aria-hidden=\"true\">{{ glyphs.errorBadge }}</span>\n <span class=\"cngx-stepper__mobile-error-text\">{{ mobileErrorSummary() }}</span>\n </span>\n }\n\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n} @else if (displayMode() === 'dots') {\n <!--\n In 'none' mode the dots are inert list-item indicators (footer-only\n navigation); otherwise they are roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__mobile-dots\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : null\"\n >\n @for (node of stepsOnly(); track node.id; let i = $index) {\n @if (resolvedHeaderNavigation() === 'none') {\n <span\n role=\"listitem\"\n class=\"cngx-stepper__mobile-dot cngx-stepper__mobile-dot--static\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasError(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n ></span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__mobile-dot\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasError(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n ></button>\n }\n }\n </div>\n @if (stateView.hasAnyError()) {\n <span class=\"cngx-stepper__mobile-error\" role=\"status\" data-state=\"error\">\n <span class=\"cngx-stepper__mobile-error-glyph\" aria-hidden=\"true\">{{ glyphs.errorBadge }}</span>\n <span class=\"cngx-stepper__mobile-error-text\">{{ mobileErrorSummary() }}</span>\n </span>\n }\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n} @else {\n <!--\n In 'none' mode the inert headers are list items, so the strip is a\n semantic list; otherwise it is a presentational container of\n roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__strip\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : 'presentation'\"\n >\n @for (node of flatSteps(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else if (resolvedHeaderNavigation() === 'none') {\n <!--\n Inert label header (headerNavigation 'none'): pure step\n indicator, no <button>, no cngxRovingItem, no (click), no\n tabindex. Footer is the sole navigation control. aria-current\n + status retained (Pillar 2).\n -->\n <span\n class=\"cngx-stepper__step cngx-stepper__step--static\"\n role=\"listitem\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.tabindex]=\"slotContext.isActive(node) ? '0' : '-1'\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </button>\n }\n }\n </div>\n\n <!--\n Error messages live on their own row BELOW the strip, not inline in a\n step. A free-text message inside a horizontal/column strip item widens\n the shrink-to-fit step and tears the row; below the strip it has full\n width and wraps. Only steps with a real reason ([error] string or an\n aggregator label) appear - the bare 'errored' state is already carried\n by the indicator + badge, so it adds no text-only noise here.\n -->\n @if (stepErrorEntries().length) {\n <div class=\"cngx-stepper__error-summary\">\n @for (entry of stepErrorEntries(); track entry.id) {\n <p class=\"cngx-stepper__error-summary-item\" data-state=\"error\">\n @if (templates.stepError(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: entry.context\"></ng-container>\n } @else {\n <span class=\"cngx-stepper__error-summary-step\">{{ entry.label }}</span>\n <span class=\"cngx-stepper__error-summary-text\">{{ entry.message }}</span>\n }\n </p>\n }\n </div>\n }\n\n <div class=\"cngx-stepper__panels\">\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n}\n\n<!--\n Footer slot - placed OUTSIDE the display-mode @if/@else so it projects\n at view-creation time (content children register after the empty branch\n is active, so an in-branch <ng-content> would be discarded and never\n re-project). Renders after the panels in every mode.\n-->\n<ng-content select=\"cngx-stepper-footer, [cngxStepperFooter]\"></ng-content>\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n announcement.liveAnnouncement()\n}}</span>\n\n<!--\n Shared strip-header body. Rendered identically by the focusable\n <button> ('visited') and the inert <span> ('none') branches so the\n indicator / badge / label / status / rejection / busy markup has a\n single source (Pillar 3). ngTemplateOutlet projects inline - no\n wrapper element is added, so the 'visited' DOM is unchanged.\n-->\n<ng-template #stepHeaderInner let-node>\n <span class=\"cngx-stepper__indicator\" aria-hidden=\"true\" [attr.data-state]=\"node.state()\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: slotContext.indicatorContextFor(node)\n \"\n ></ng-container>\n @if (slotContext.showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: slotContext.badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: slotContext.stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n <span class=\"cngx-stepper__status-pill\" aria-hidden=\"true\">{{ statusLabelFor(node) }}</span>\n @if (slotContext.showRejection(node)) {\n <span class=\"cngx-stepper__rejection-icon\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: slotContext.rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (slotContext.isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: slotContext.busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n</ng-template>\n\n<ng-template #defaultIndicator let-position>\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge>{{ glyphs.errorBadge }}</ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection>{{ glyphs.rejectionIcon }}</ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n inject,\n input,\n} from '@angular/core';\n\nimport {\n CngxStepperCount,\n CngxStepperPresenter,\n CNGX_STEPPER_GLYPHS,\n CNGX_STEPPER_HOST,\n createStepperStateView,\n injectStepperI18n,\n resolveStepperErrorSummary,\n type CngxStepNode,\n} from '@cngx/common/stepper';\nimport { CngxProgress } from '@cngx/ui/feedback';\n\n/**\n * Progress-Bar stepper variant. Thin Level-4 organism composing\n * `CngxStepperPresenter` via `hostDirectives` and rendering the\n * existing `<cngx-progress>` primitive as the visual bar instead of\n * reinventing `<div role=\"progressbar\">`. Material consumers inherit\n * Material progress styling through `CngxProgress` automatically.\n *\n * `completedPercent()` is `computed` from `presenter.activeStepIndex()`\n * and the count of step nodes in `presenter.flatSteps()`. Optional\n * `[showStepCount]` adds a `Step N of M` caption sourced from\n * `CngxStepperI18n.textStepperFormat`.\n *\n * @category ui/stepper\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/progress-bar-stepper.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepperPresenter, CngxProgress, CngxDotStepper, CngxTextStepper\n * <example-url>http://localhost:4200/#/ui/stepper/progress-bar/onboarding-flow</example-url>\n */\n@Component({\n selector: 'cngx-progress-bar-stepper',\n exportAs: 'cngxProgressBarStepper',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [CngxProgress, CngxStepperCount],\n hostDirectives: [\n {\n directive: CngxStepperPresenter,\n inputs: ['activeStepIndex', 'linear'],\n outputs: ['activeStepIndexChange'],\n },\n ],\n templateUrl: './progress-bar-stepper.component.html',\n styleUrl: './progress-bar-stepper.component.css',\n host: {\n class: 'cngx-progress-bar-stepper',\n role: 'group',\n '[attr.aria-roledescription]': '\"stepper\"',\n '[attr.aria-label]': 'ariaLabel()',\n '[attr.aria-labelledby]': 'ariaLabelledBy()',\n '[attr.data-state]': 'stateView.hasAnyError() ? \"error\" : null',\n '[attr.aria-invalid]': 'stateView.hasAnyError() ? \"true\" : null',\n },\n})\nexport class CngxProgressBarStepper {\n readonly ariaLabel = input<string | undefined>(undefined, { alias: 'aria-label' });\n readonly ariaLabelledBy = input<string | undefined>(undefined, { alias: 'aria-labelledby' });\n\n /** Render a `Step N of M` caption below the bar. Off by default. */\n readonly showStepCount = input<boolean>(false);\n\n protected readonly presenter = inject(CNGX_STEPPER_HOST);\n protected readonly i18n = injectStepperI18n();\n\n /** Shared per-step/aggregate state derivations - the single error source. */\n protected readonly stateView = createStepperStateView({\n presenter: this.presenter,\n stepsOnly: this.presenter.stepsOnly,\n });\n\n /** Default error glyph for the error caption. */\n protected readonly errorGlyph = CNGX_STEPPER_GLYPHS.errorBadge;\n\n /** Total step count (group nodes excluded). */\n protected readonly totalSteps = computed<number>(() => this.presenter.stepsOnly().length);\n\n /** 1-based active position used in the caption format. */\n protected readonly currentStep = computed<number>(() => {\n const total = this.totalSteps();\n if (total === 0) {\n return 0;\n }\n return Math.min(this.presenter.activeStepIndex() + 1, total);\n });\n\n /**\n * Completion percentage 0-100. `(active / max(total - 1, 1)) * 100`\n * so the final step renders the bar full.\n */\n protected readonly completedPercent = computed<number>(() => {\n const total = this.totalSteps();\n if (total === 0) {\n return 0;\n }\n const denominator = Math.max(total - 1, 1);\n return Math.max(0, Math.min(100, (this.presenter.activeStepIndex() / denominator) * 100));\n });\n\n protected readonly captionText = computed<string>(() =>\n this.i18n.textStepperFormat(this.currentStep(), this.totalSteps()),\n );\n\n /**\n * Aggregate error caption. A single errored step names itself\n * (`\"Payment: Errored\"`), several collapse to the i18n count phrase.\n * Read only when `stateView.hasAnyError()` gates the template.\n */\n protected readonly errorText = computed<string>(() =>\n resolveStepperErrorSummary(this.stateView, this.presenter.stepsOnly, this.i18n, (node: CngxStepNode) =>\n node.errorMessage?.() ?? node.errorAggregator?.()?.errorLabels?.()?.[0],\n ),\n );\n}\n","<cngx-progress\n class=\"cngx-progress-bar-stepper__bar\"\n [progress]=\"completedPercent()\"\n [label]=\"captionText()\"\n></cngx-progress>\n@if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-progress-bar-stepper__caption\" [live]=\"false\" />\n}\n@if (stateView.hasAnyError()) {\n <span class=\"cngx-progress-bar-stepper__error\" role=\"status\" data-state=\"error\">\n <span class=\"cngx-progress-bar-stepper__error-glyph\" aria-hidden=\"true\">{{ errorGlyph }}</span>\n <span class=\"cngx-progress-bar-stepper__error-text\">{{ errorText() }}</span>\n </span>\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n contentChild,\n inject,\n input,\n type Signal,\n type TemplateRef,\n} from '@angular/core';\n\nimport {\n CngxDotStepperDot,\n type CngxDotStepperDotContext,\n CngxStepperPresenter,\n CngxStepperSwipeNav,\n CNGX_STEPPER_GLYPHS,\n CNGX_STEPPER_HOST,\n createStepperStateView,\n injectStepperConfig,\n injectStepperI18n,\n resolveStepperErrorSummary,\n type CngxStepNode,\n} from '@cngx/common/stepper';\nimport { CngxSwipe } from '@cngx/common/interactive';\n\n/**\n * Dot stepper variant. Mobile-first sequential-flow indicator. Renders\n * one labelled `<span role=\"img\">` per step (a name-permitting role, so\n * each dot announces \"Step N of M: label\") inside a\n * `<div role=\"group\" aria-roledescription=\"Step indicator\">`. The active\n * dot carries `aria-current=\"step\"` per the W3C APG step-indicator\n * pattern (NOT `role=\"tablist\"` / `role=\"tab\"` - those are reserved\n * for parallel content panels, not sequential flow).\n *\n * Tap-to-select is intentionally NOT wired on individual dots: under\n * the APG pattern each dot is a label, not a button, and attaching\n * `(click)` to `role=\"img\"` conflates two ARIA contracts. Navigation\n * is offered uniformly via three modalities owned by the host element:\n * arrow / Home / End keys, the composed `CngxStepperSwipeNav` dot-row\n * gesture, and the two-way `[(activeStepIndex)]` binding for\n * external buttons. Consumers wanting per-dot tap-to-jump compose the\n * parent `<cngx-stepper>` (whose mobile-collapse `dots` branch\n * renders each dot as a `<button>`).\n *\n * Theming flows through new `--cngx-dot-step-*` custom properties whose\n * defaults cascade through `var(--cngx-step-active-fill, ...)`, so the\n * Phase A active-fill chain reaches the dot variant without duplication.\n *\n * @category ui/stepper\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/dot-stepper.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepperPresenter, CngxProgressBarStepper, CngxTextStepper\n * <example-url>http://localhost:4200/#/ui/stepper/dot-stepper/mobile-carousel</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/dot-stepper/icon-dots-via-code-cngxdotstepperdot-code</example-url>\n */\n@Component({\n selector: 'cngx-dot-stepper',\n exportAs: 'cngxDotStepper',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [NgTemplateOutlet, CngxSwipe],\n hostDirectives: [\n {\n directive: CngxStepperPresenter,\n inputs: ['activeStepIndex', 'linear'],\n outputs: ['activeStepIndexChange'],\n },\n {\n directive: CngxStepperSwipeNav,\n inputs: ['mobileSwipe'],\n },\n ],\n templateUrl: './dot-stepper.component.html',\n styleUrl: './dot-stepper.component.css',\n host: {\n class: 'cngx-dot-stepper',\n role: 'group',\n tabindex: '0',\n '[attr.aria-roledescription]': 'i18n.stepIndicatorRoleDescription',\n '[attr.aria-label]': 'ariaLabel()',\n '[attr.aria-labelledby]': 'ariaLabelledBy()',\n '[attr.aria-invalid]': 'stateView.hasAnyError() ? \"true\" : null',\n '(keydown)': 'handleKeyDown($event)',\n },\n})\nexport class CngxDotStepper {\n readonly ariaLabel = input<string | undefined>(undefined, { alias: 'aria-label' });\n readonly ariaLabelledBy = input<string | undefined>(undefined, { alias: 'aria-labelledby' });\n\n protected readonly presenter = inject(CNGX_STEPPER_HOST);\n protected readonly i18n = injectStepperI18n();\n protected readonly config = injectStepperConfig();\n /** Mobile-swipe routing surface composed via hostDirectives. */\n protected readonly swipeNav = inject(CngxStepperSwipeNav, { host: true });\n\n protected readonly stepNodes: Signal<readonly CngxStepNode[]> = this.presenter.stepsOnly;\n protected readonly activeIndex = computed<number>(() => this.presenter.activeStepIndex());\n\n /** Shared per-step/aggregate state derivations - the single error source. */\n protected readonly stateView = createStepperStateView({\n presenter: this.presenter,\n stepsOnly: this.stepNodes,\n });\n\n /** Default error glyph for the aggregate error line. */\n protected readonly errorGlyph = CNGX_STEPPER_GLYPHS.errorBadge;\n\n /**\n * Aggregate error line. The dot row only colours the errored dot, so\n * the real reason (the `[error]` string / aggregator label) needs a\n * text surface; this is it. Falls back to the count phrase for\n * multiple errors.\n */\n protected readonly errorText = computed<string>(() =>\n resolveStepperErrorSummary(\n this.stateView,\n this.stepNodes,\n this.i18n,\n (node) => node.errorMessage?.() ?? node.errorAggregator?.()?.errorLabels?.()?.[0],\n ),\n );\n\n private readonly dotSlot = contentChild(CngxDotStepperDot);\n\n /**\n * Resolved dot-body template cascade: per-instance `*cngxDotStepperDot`\n * directive > `CNGX_STEPPER_CONFIG.templates.dotStepperDot` > `null`\n * (built-in empty body). Pillar 1 - resolution is a `computed`, not\n * manual sync.\n */\n protected readonly resolvedDotTemplate = computed<TemplateRef<CngxDotStepperDotContext> | null>(\n () => this.dotSlot()?.templateRef ?? this.config.templates?.dotStepperDot ?? null,\n );\n\n protected isActive(node: CngxStepNode, index: number): boolean {\n return index === this.activeIndex() && node.kind === 'step';\n }\n\n protected isCompleted(index: number): boolean {\n return index < this.activeIndex();\n }\n\n /**\n * Resolved `data-state` for the dot: `'error'` whenever the unified error\n * view fires (covers commit rejection and the error aggregator, not just a\n * literal `state === 'error'`), otherwise the raw step status.\n */\n protected dotState(node: CngxStepNode): string {\n return this.stateView.hasError(node) ? 'error' : node.state();\n }\n\n protected ariaLabelFor(node: CngxStepNode, index: number): string {\n const base = this.i18n.selectedStep(node.label(), index + 1, this.stepNodes().length);\n return this.stateView.hasError(node) ? `${base}: ${this.i18n.statusLabels.errored}` : base;\n }\n\n /** Build the slot context for `*cngxDotStepperDot`. */\n protected dotContextFor(node: CngxStepNode, index: number): CngxDotStepperDotContext {\n return {\n $implicit: index,\n index,\n node,\n active: this.isActive(node, index),\n completed: this.isCompleted(index),\n };\n }\n\n protected handleKeyDown(event: KeyboardEvent): void {\n // Linear mode is enforced by the presenter, not by silencing the\n // keyboard. `selectNext` routes through `presenter.select()` which\n // refuses jumps over incomplete steps; `selectPrevious` is the\n // ungated direct back-move. `Home` is always a back-move; `End`\n // routes through `select()` and is gated when intermediate steps\n // are incomplete. Disabling the whole handler in linear mode\n // killed back-nav too, which is the inverse of the W3C APG\n // step-indicator pattern (read-back should always be reachable).\n if (event.key === 'ArrowRight' || event.key === 'ArrowDown') {\n event.preventDefault();\n this.presenter.selectNext();\n } else if (event.key === 'ArrowLeft' || event.key === 'ArrowUp') {\n event.preventDefault();\n this.presenter.selectPrevious();\n } else if (event.key === 'Home') {\n event.preventDefault();\n this.presenter.select(0);\n } else if (event.key === 'End') {\n event.preventDefault();\n this.presenter.select(this.stepNodes().length - 1);\n }\n }\n}\n","<div\n class=\"cngx-dot-stepper__row\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n>\n @for (node of stepNodes(); track node.id; let i = $index) {\n @let dotTpl = resolvedDotTemplate();\n <span\n class=\"cngx-dot-stepper__dot\"\n role=\"img\"\n [class.cngx-dot-stepper__dot--active]=\"isActive(node, i)\"\n [class.cngx-dot-stepper__dot--completed]=\"i < activeIndex()\"\n [class.cngx-dot-stepper__dot--error]=\"stateView.hasError(node)\"\n [attr.aria-current]=\"isActive(node, i) ? 'step' : null\"\n [attr.aria-label]=\"ariaLabelFor(node, i)\"\n [attr.data-state]=\"dotState(node)\"\n >\n @if (dotTpl) {\n <ng-container *ngTemplateOutlet=\"dotTpl; context: dotContextFor(node, i)\" />\n }\n </span>\n }\n</div>\n\n@if (stateView.hasAnyError()) {\n <span class=\"cngx-dot-stepper__error\" role=\"status\" data-state=\"error\">\n <span class=\"cngx-dot-stepper__error-glyph\" aria-hidden=\"true\">{{ errorGlyph }}</span>\n <span class=\"cngx-dot-stepper__error-text\">{{ errorText() }}</span>\n </span>\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n inject,\n input,\n type Signal,\n} from '@angular/core';\n\nimport {\n CngxStepperPresenter,\n CNGX_STEPPER_GLYPHS,\n CNGX_STEPPER_HOST,\n createStepperStateView,\n injectStepperI18n,\n resolveStepperErrorSummary,\n type CngxStepNode,\n} from '@cngx/common/stepper';\n\n/**\n * Text stepper variant. Smallest possible stepper: a single\n * `<span aria-live=\"polite\">` driven by the presenter. Renders\n * `Step N of M` by default (sourced from\n * `CngxStepperI18n.textStepperFormat`); optional `[showCurrentLabel]`\n * appends the active step's label next to the count. Material consumers\n * inherit surrounding text styling via CSS inheritance, no theme bridge\n * required.\n *\n * @category ui/stepper\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/text-stepper.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepperPresenter, CngxProgressBarStepper, CngxDotStepper\n * <example-url>http://localhost:4200/#/ui/stepper/text-stepper/inline-progress</example-url>\n */\n@Component({\n selector: 'cngx-text-stepper',\n exportAs: 'cngxTextStepper',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: CngxStepperPresenter,\n inputs: ['activeStepIndex', 'linear'],\n outputs: ['activeStepIndexChange'],\n },\n ],\n templateUrl: './text-stepper.component.html',\n styleUrl: './text-stepper.component.css',\n host: {\n class: 'cngx-text-stepper',\n '[attr.aria-invalid]': 'stateView.hasAnyError() ? \"true\" : null',\n },\n})\nexport class CngxTextStepper {\n /** Append the active step's label to the count text. Off by default. */\n readonly showCurrentLabel = input<boolean>(false);\n\n protected readonly presenter = inject(CNGX_STEPPER_HOST);\n protected readonly i18n = injectStepperI18n();\n\n protected readonly stepNodes: Signal<readonly CngxStepNode[]> = this.presenter.stepsOnly;\n\n /** Shared per-step/aggregate state derivations - the single error source. */\n protected readonly stateView = createStepperStateView({\n presenter: this.presenter,\n stepsOnly: this.stepNodes,\n });\n\n /** Default error glyph for the error sub-line. */\n protected readonly errorGlyph = CNGX_STEPPER_GLYPHS.errorBadge;\n\n protected readonly totalSteps = computed<number>(() => this.stepNodes().length);\n\n protected readonly currentStep = computed<number>(() => {\n const total = this.totalSteps();\n if (total === 0) {\n return 0;\n }\n return Math.min(this.presenter.activeStepIndex() + 1, total);\n });\n\n protected readonly stepText = computed<string>(() => {\n const base = this.i18n.textStepperFormat(this.currentStep(), this.totalSteps());\n if (!this.showCurrentLabel()) {\n return base;\n }\n const idx = this.presenter.activeStepIndex();\n const node = this.stepNodes()[idx];\n if (!node) {\n return base;\n }\n return `${base}: ${node.label()}`;\n });\n\n /**\n * Aggregate error sub-line text. A single errored step names itself\n * (`\"Payment: Errored\"`), several collapse to the i18n count phrase\n * (`\"2 errors\"`). Empty when no step errored - the template gates on\n * `stateView.hasAnyError()`, so this is only read when non-empty.\n */\n protected readonly errorText = computed<string>(() =>\n resolveStepperErrorSummary(this.stateView, this.stepNodes, this.i18n, (node: CngxStepNode) =>\n node.errorMessage?.() ?? node.errorAggregator?.()?.errorLabels?.()?.[0],\n ),\n );\n}\n","<span class=\"cngx-text-stepper__text\" aria-live=\"polite\">{{ stepText() }}</span>\n@if (stateView.hasAnyError()) {\n <span class=\"cngx-text-stepper__error\" role=\"status\" data-state=\"error\">\n <span class=\"cngx-text-stepper__error-glyph\" aria-hidden=\"true\">{{ errorGlyph }}</span>\n <span class=\"cngx-text-stepper__error-text\">{{ errorText() }}</span>\n </span>\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {\n CNGX_STEPPER_HOST,\n createStepperHostProxy,\n type CngxStepperHost,\n} from '@cngx/common/stepper';\n\n/**\n * Navigation action-bar molecule for the stepper family. \\\n * Lays out three regions - **start** (Back), **center** (progress hint), **end** (Continue / Finish). \\\n * Wires the {@link CNGX_STEPPER_HOST} for any nav atoms a consumer drops inside.\n *\n * **Resolves its host like `CngxStepperCount`:** \\\n * An explicit `[host]` input for placement outside the stepper tree, falling back to the ambient\n * host injected from an ancestor `<cngx-stepper>` / `<cngx-mat-stepper>`\n * (`skipSelf`, so the footer reads the real presenter rather than its own\n * re-provided proxy). \\\n * It then re-provides `CNGX_STEPPER_HOST` as a live\n * {@link createStepperHostProxy} over the resolved host, so child\n * `[cngxStepperPrevious]` / `[cngxStepperNext]` atoms resolve it\n * ambiently whether the footer is nested or used standalone with\n * `[host]`. \\\n * `providers` (not `viewProviders`) carries the proxy to the\n * consumer-projected button content. With no host at all, the proxy's\n * neutral set renders the nav buttons disabled.\n *\n * ```html\n * <cngx-stepper #s=\"cngxStepper\"> … </cngx-stepper>\n * <cngx-stepper-footer [host]=\"s.presenter\">\n * <button cngxStepperFooterStart cngxStepperPrevious>Back</button>\n * <cngx-stepper-count cngxStepperFooterCenter />\n * <button cngxStepperFooterEnd cngxStepperNext>Continue</button>\n * </cngx-stepper-footer>\n * ```\n *\n * @category ui/stepper\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/footer/stepper-footer.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepper, CngxStepperPrevious, CngxStepperNext, CngxStepperComplete, CngxStepperCount\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/back-continue</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/save-draft-extra-button</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/footer-with-progress-center</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/percent-complete-center</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/segmented-progress-center</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/complete-finish-button</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/async-commit-status</example-url>\n */\n@Component({\n selector: 'cngx-stepper-footer',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'cngxStepperFooter',\n host: { class: 'cngx-stepper-footer' },\n providers: [\n {\n provide: CNGX_STEPPER_HOST,\n useFactory: (footer: CngxStepperFooter) =>\n createStepperHostProxy(() => footer.resolvedHost()),\n deps: [CngxStepperFooter],\n },\n ],\n template: `\n <div class=\"cngx-stepper-footer__start\">\n <ng-content select=\"[cngxStepperFooterStart]\" />\n </div>\n <div class=\"cngx-stepper-footer__center\">\n <ng-content select=\"[cngxStepperFooterCenter]\" />\n </div>\n <div class=\"cngx-stepper-footer__end\">\n <ng-content select=\"[cngxStepperFooterEnd]\" />\n </div>\n `,\n styleUrl: './stepper-footer.css',\n})\nexport class CngxStepperFooter {\n /**\n * Explicit stepper-host reference for placement *outside* the stepper\n * tree (`[host]=\"s.presenter\"`). When unset, the ambient\n * {@link CNGX_STEPPER_HOST} from an ancestor stepper is used.\n */\n readonly host = input<CngxStepperHost | null>(null);\n\n // `skipSelf` so this never resolves the proxy this component itself\n // provides - it reads the ancestor stepper's presenter.\n private readonly injectedHost = inject(CNGX_STEPPER_HOST, { optional: true, skipSelf: true });\n\n /** Resolved host: explicit input wins, else the ambient ancestor host. */\n readonly resolvedHost = computed<CngxStepperHost | null>(() => this.host() ?? this.injectedHost);\n}\n","import { Directive } from '@angular/core';\n\n/**\n * Marker for the footer's leading region (inline-start). Place on the\n * element you want in the start slot - typically a Back control.\n *\n * ```html\n * <button cngxStepperFooterStart cngxStepperPrevious>Back</button>\n * ```\n *\n * @category ui/stepper\n * @since 0.1.0\n * @relatedTo CngxStepperFooter, CngxStepperFooterCenter, CngxStepperFooterEnd\n */\n@Directive({\n selector: '[cngxStepperFooterStart]',\n standalone: true,\n host: { class: 'cngx-stepper-footer__slot' },\n})\nexport class CngxStepperFooterStart {}\n\n/**\n * Marker for the footer's center region - a progress hint, a\n * `<cngx-stepper-count>`, or a \"50% complete\" caption.\n *\n * @category ui/stepper\n * @since 0.1.0\n * @relatedTo CngxStepperFooter, CngxStepperFooterStart, CngxStepperFooterEnd\n */\n@Directive({\n selector: '[cngxStepperFooterCenter]',\n standalone: true,\n host: { class: 'cngx-stepper-footer__slot' },\n})\nexport class CngxStepperFooterCenter {}\n\n/**\n * Marker for the footer's trailing region (inline-end) - typically a\n * Continue / Finish control, optionally preceded by a \"Save draft\".\n *\n * @category ui/stepper\n * @since 0.1.0\n * @relatedTo CngxStepperFooter, CngxStepperFooterStart, CngxStepperFooterCenter\n */\n@Directive({\n selector: '[cngxStepperFooterEnd]',\n standalone: true,\n host: { class: 'cngx-stepper-footer__slot' },\n})\nexport class CngxStepperFooterEnd {}\n","/**\n * @module @cngx/ui/stepper\n *\n * Level-4 organism - CNGX-standard `<cngx-stepper>` skin over the\n * Level-2 `CngxStepperPresenter` from `@cngx/common/stepper`.\n * Composes presenter + roving tabindex + focus restore + live\n * region via `hostDirectives`. Material consumers reach for\n * `@cngx/ui/mat-stepper` instead.\n */\n\nexport { CngxStepper } from './stepper.component';\nexport { CngxProgressBarStepper } from './progress-bar-stepper.component';\nexport { CngxDotStepper } from './dot-stepper.component';\nexport { CngxTextStepper } from './text-stepper.component';\nexport { CngxStepperFooter } from './footer/stepper-footer.component';\nexport {\n CngxStepperFooterStart,\n CngxStepperFooterCenter,\n CngxStepperFooterEnd,\n} from './footer/stepper-footer-regions';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAkEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BG;MA8CU,WAAW,CAAA;IACb,SAAS,GAAG,KAAK,CAAqB,SAAS,iFAAI,KAAK,EAAE,YAAY,EAAA,CAAG;IACzE,cAAc,GAAG,KAAK,CAAqB,SAAS,sFAAI,KAAK,EAAE,iBAAiB,EAAA,CAAG;;AAGnF,IAAA,IAAI,GAAG,KAAK,CAA8B,SAAS,2EAAC;;AAGpD,IAAA,UAAU,GAAG,KAAK,CAA+B,SAAS,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,YAAA,EAAA,8BAAA,EAAA,CAAA,EACjE,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,SAAS,GAAG,SAAS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mjs","sources":["../../../projects/ui/stepper/stepper.component.ts","../../../projects/ui/stepper/stepper.component.html","../../../projects/ui/stepper/progress-bar-stepper.component.ts","../../../projects/ui/stepper/progress-bar-stepper.component.html","../../../projects/ui/stepper/dot-stepper.component.ts","../../../projects/ui/stepper/dot-stepper.component.html","../../../projects/ui/stepper/text-stepper.component.ts","../../../projects/ui/stepper/text-stepper.component.html","../../../projects/ui/stepper/footer/stepper-footer.component.ts","../../../projects/ui/stepper/footer/stepper-footer-regions.ts","../../../projects/ui/stepper/public-api.ts","../../../projects/ui/stepper/cngx-ui-stepper.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n contentChild,\n contentChildren,\n DestroyRef,\n ElementRef,\n inject,\n Injector,\n input,\n type Signal,\n type TemplateRef,\n} from '@angular/core';\n\nimport {\n CngxFocusRestore,\n CngxLiveRegion,\n CngxRovingItem,\n CngxRovingTabindex,\n} from '@cngx/common/a11y';\nimport { CngxSwipe } from '@cngx/common/interactive';\nimport {\n CNGX_STEP_PANEL_HOST,\n createStepperDisplayMode,\n createStepperGroupSummary,\n createStepperGroupNavigation,\n createStripDensity,\n CngxStep,\n STEPPER_DEFAULT_DENSITY_BREAKPOINTS,\n STEPPER_DEFAULT_MOBILE_BREAKPOINT,\n CngxStepBadge,\n CngxStepBusySpinner,\n type CngxStepContentContext,\n CngxStepError,\n type CngxStepErrorContext,\n CngxStepGroupHeader,\n CngxStepIndicator,\n type CngxStepLabelContext,\n CngxStepperEmpty,\n CngxStepperPresenter,\n type CngxStepperHeaderNavigation,\n type CngxStepperMobileIndicatorPosition,\n type CngxStepperSkin,\n CngxStepRejection,\n CNGX_STEPPER_GLYPHS,\n CNGX_STEPPER_HOST,\n CngxStepperCount,\n createStepperAnnouncementBuilders,\n createStepperHostAttrs,\n createStepperSlotContextBuilders,\n createStepperStateView,\n createStepperStripKeyboardNav,\n createStepperTemplateBindings,\n resolveStepperErrorSummary,\n CngxStepperSwipeNav,\n resolveStepperStatusLabel,\n injectStepperConfig,\n injectStepperI18n,\n type CngxStepNode,\n type CngxStepPanelHost,\n} from '@cngx/common/stepper';\nimport {\n CNGX_DIRECTIVE_BY_ID_MAP_FACTORY,\n CNGX_ORGANISM_SCROLL_SYNC_FACTORY,\n} from '@cngx/common/tabs';\nimport { coerceBooleanProperty } from '@cngx/core/utils';\n\n/**\n * Stepper organism. Composes `CngxStepperPresenter` with\n * `CngxRovingTabindex` and `CngxFocusRestore` via `hostDirectives`;\n * forwards `activeStepIndex`/`linear`/`orientation`/`commitAction`/\n * `commitMode` to the presenter. Material twin lives in\n * `@cngx/ui/mat-stepper`. ARIA attrs are in the `computed()` graph.\n *\n * @category ui/stepper\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/stepper.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepperPresenter, CngxStep, CngxRovingTabindex, CngxFocusRestore, CngxLiveRegion\n * @playground Material theme coverage across all skins ./examples/material-theme-coverage/skins-coverage.component.ts\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-horizontal/three-step-wizard</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-vertical/vertical-sidebar-layout</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-linear/linear-gating-with-completion-checkboxes</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-mobile-collapse/dots-collapse</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/linear-minimal</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/stripe-status-rich</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/path-chevron</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/pill-segment</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/chips</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/breadcrumb</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/all-skins-side-by-side</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/material-theme-coverage</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/linear-minimal-vertical</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/stripe-status-rich-vertical</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/path-chevron-vertical</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/pill-segment-vertical</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/chips-vertical</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-density/flat-steps-auto-density</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-density/density-across-skins</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-density/distance-weighted-collapse</example-url>\n */\n@Component({\n selector: 'cngx-stepper',\n exportAs: 'cngxStepper',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NgTemplateOutlet, CngxLiveRegion, CngxRovingItem, CngxStepperCount, CngxSwipe],\n styleUrls: ['./styles/stepper-base.css', './stepper.component.css'],\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: CngxStepperPresenter,\n inputs: ['activeStepIndex', 'linear', 'orientation', 'commitAction', 'commitMode'],\n outputs: ['activeStepIndexChange'],\n },\n {\n directive: CngxRovingTabindex,\n inputs: ['orientation'],\n },\n {\n directive: CngxStepperSwipeNav,\n inputs: ['mobileSwipe'],\n },\n { directive: CngxFocusRestore },\n // CngxLiveRegion not composed: its role=\"status\" would clobber the\n // host's role=\"group\". Template mounts a dedicated <span cngxLiveRegion>\n // bound to liveAnnouncement instead.\n ],\n providers: [{ provide: CNGX_STEP_PANEL_HOST, useExisting: CngxStepper }],\n templateUrl: './stepper.component.html',\n host: {\n class: 'cngx-stepper',\n role: 'group',\n '[attr.aria-roledescription]': 'stepperRoleDescription()',\n '[attr.aria-orientation]': 'presenter.orientation()',\n '[attr.data-orientation]': 'presenter.orientation()',\n '[attr.data-density]': 'stripDensity()',\n '[attr.data-density-auto]': \"isDensityAuto() ? '' : null\",\n '[attr.data-skin]': 'hostAttrs.resolvedSkin()',\n '[attr.data-connectors]': \"hostAttrs.resolvedConnectors() ? 'true' : null\",\n '[attr.data-mobile-indicator-position]': 'hostAttrs.resolvedMobileIndicatorPosition()',\n '[attr.aria-label]': 'resolvedAriaLabel()',\n '[attr.aria-labelledby]': 'ariaLabelledBy()',\n '[attr.aria-busy]': 'isCommitting() ? \"true\" : null',\n '[class.cngx-stepper]': 'true',\n '(keydown)': 'handleStripKeyDown($event)',\n },\n})\nexport class CngxStepper implements CngxStepPanelHost {\n readonly ariaLabel = input<string | undefined>(undefined, { alias: 'aria-label' });\n readonly ariaLabelledBy = input<string | undefined>(undefined, { alias: 'aria-labelledby' });\n\n /** Per-instance skin override; flips `[data-skin]`, structure/ARIA unchanged. */\n readonly skin = input<CngxStepperSkin | undefined>(undefined);\n\n /** Opt the classic skin into the connector-rail presentation. Off by default, classic-scoped. */\n readonly connectors = input<boolean | undefined, unknown>(undefined, {\n transform: (v) => (v === undefined ? undefined : coerceBooleanProperty(v)),\n });\n\n /**\n * Per-instance header-navigation policy. `'none'` renders inert label\n * headers (footer-only navigation); `'visited'` keeps them as\n * focusable buttons gated by `linear`. Cascade: Input ?? config ??\n * `'visited'`.\n */\n readonly headerNavigation = input<CngxStepperHeaderNavigation | undefined>(undefined);\n\n /**\n * Opt-in `Step N of M` caption under the mobile `'dots'` row. In\n * the `'text'` collapse branch the count IS the indicator and is\n * always rendered; this input only gates the supplemental caption\n * that sits next to the dot row.\n */\n readonly showStepCount = input<boolean>(false);\n\n readonly mobileIndicatorPosition = input<CngxStepperMobileIndicatorPosition | undefined>(\n undefined,\n );\n\n /** Stepper-host contract; exposed so external `<cngx-stepper-count>` / bridge consumers can `[host]=\"s.presenter\"` via `#s=\"cngxStepper\"`. */\n readonly presenter = inject(CNGX_STEPPER_HOST);\n protected readonly i18n = injectStepperI18n();\n protected readonly config = injectStepperConfig();\n private readonly hostElement: HTMLElement =\n inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n private readonly injector = inject(Injector);\n private readonly stepDirectives = contentChildren(CngxStep, { descendants: true });\n\n private readonly indicatorSlot = contentChild(CngxStepIndicator);\n private readonly badgeSlot = contentChild(CngxStepBadge);\n private readonly busySpinnerSlot = contentChild(CngxStepBusySpinner);\n private readonly rejectionSlot = contentChild(CngxStepRejection);\n private readonly errorSlot = contentChild(CngxStepError);\n private readonly groupHeaderSlot = contentChild(CngxStepGroupHeader);\n private readonly emptySlot = contentChild(CngxStepperEmpty);\n\n /** Default-template glyph source - read by `#defaultBadge` / `#defaultRejection` outlets. */\n protected readonly glyphs = CNGX_STEPPER_GLYPHS;\n\n /**\n * Template cascade (indicator/badge/busySpinner/rejection/stepError/\n * groupHeader/empty). Resolution: per-instance slot directive →\n * `CNGX_STEPPER_CONFIG.templates.<key>` → `null` (built-in default).\n */\n protected readonly templates = createStepperTemplateBindings({\n indicatorSlot: this.indicatorSlot,\n badgeSlot: this.badgeSlot,\n busySpinnerSlot: this.busySpinnerSlot,\n rejectionSlot: this.rejectionSlot,\n errorSlot: this.errorSlot,\n groupHeaderSlot: this.groupHeaderSlot,\n emptySlot: this.emptySlot,\n config: this.config,\n });\n\n protected readonly displayMode = createStepperDisplayMode(\n this.config.mobileBreakpoint ?? STEPPER_DEFAULT_MOBILE_BREAKPOINT,\n () => this.config.mobileCollapse,\n inject(DestroyRef),\n );\n\n /**\n * Space-driven density rung for the classic strip, measured off the\n * host element's own width via {@link createStripDensity}. `'full'`\n * under the `'comfortable'` default. Drives `[data-density]` (the CSS\n * label-degradation ladder) and the auto-vertical flip below.\n */\n protected readonly stripDensity = createStripDensity({\n element: this.hostElement,\n stepCount: () => this.presenter.stepCount(),\n density: () => this.config.density,\n breakpoints: () => this.config.densityBreakpoints ?? STEPPER_DEFAULT_DENSITY_BREAKPOINTS,\n destroyRef: inject(DestroyRef),\n });\n\n /**\n * `true` when `density: 'auto'` is active. Drives `[data-density-auto]`,\n * which makes the strip absorb a too-narrow container by shrinking +\n * ellipsis-truncating labels in flow rather than growing a horizontal\n * scrollbar - so no rung ever overflows, independent of how the px\n * thresholds resolve.\n */\n protected readonly isDensityAuto = computed<boolean>(() => this.config.density === 'auto');\n\n constructor() {\n // Scroll active step into view via the swappable scroll-sync factory.\n inject(CNGX_ORGANISM_SCROLL_SYNC_FACTORY)({\n activeId: this.presenter.activeStepId,\n hostElement: this.hostElement,\n injector: this.injector,\n });\n }\n\n /** Stepper landmark role-description with config + i18n cascade. */\n protected readonly stepperRoleDescription = computed<string>(\n () => this.config.fallbackLabels?.stepRoleDescription ?? this.i18n.stepperLabel,\n );\n\n /** Resolved skin / connectors / mobile-indicator host attrs (Level-2 cascade helper). */\n protected readonly hostAttrs = createStepperHostAttrs({\n skin: this.skin,\n connectors: this.connectors,\n mobileIndicatorPosition: this.mobileIndicatorPosition,\n config: this.config,\n });\n\n /**\n * Resolved header-navigation policy. Cascade mirrors `skin` /\n * `connectors`: per-instance Input ?? config ?? `'visited'`.\n */\n protected readonly resolvedHeaderNavigation = computed<CngxStepperHeaderNavigation>(\n () => this.headerNavigation() ?? this.config.headerNavigation ?? 'visited',\n );\n\n /**\n * Real error reason for a step, or `null`. A reason is the direct\n * `[error]` string or the first `errorAggregator` label.\n */\n private stepErrorMessageOf(node: CngxStepNode): string | null {\n return node.errorMessage?.() ?? node.errorAggregator?.()?.errorLabels?.()?.[0] ?? null;\n }\n\n /**\n * Errored steps that carry a real message, rendered as a row BELOW the\n * strip (full width, wraps) rather than inline in a step - a free-text\n * message inside a strip item widens the shrink-to-fit step and tears\n * the row. Empty when no step has a real reason.\n */\n protected readonly stepErrorEntries = computed<\n readonly { id: string; label: string; message: string; context: CngxStepErrorContext }[]\n >(\n () =>\n // The message row sits below the strip, so it has room on every\n // skin - the bare 'errored' state still rides each skin's own\n // indicator / badge / tile.\n this.stepsOnly()\n .filter((node) => node.kind === 'step' && this.stepErrorMessageOf(node) !== null)\n .map((node) => ({\n id: node.id,\n label: node.label(),\n message: this.stepErrorMessageOf(node)!,\n context: this.slotContext.stepErrorContextFor(node),\n })),\n {\n equal: (a, b) =>\n a.length === b.length && a.every((e, i) => e.id === b[i].id && e.message === b[i].message),\n },\n );\n\n /** Mobile-swipe navigation host directive (Level-2 composition). */\n protected readonly swipeNav = inject(CngxStepperSwipeNav, { host: true });\n\n protected statusLabelFor = (node: CngxStepNode): string =>\n resolveStepperStatusLabel(node, this.i18n, this.slotContext.isActive(node));\n\n /** Mobile-dot `data-state`: unified error (rejection + aggregator) over the raw status. */\n protected mobileDotState(node: CngxStepNode): string {\n return this.stateView.hasError(node) ? 'error' : node.state();\n }\n\n /** Mobile-dot `aria-label`, appending the errored status when the dot has an error. */\n protected mobileDotAriaLabel(node: CngxStepNode, index: number): string {\n const base = this.i18n.selectedStep(node.label(), index + 1, this.stepsOnly().length);\n return this.stateView.hasError(node) ? `${base}: ${this.i18n.statusLabels.errored}` : base;\n }\n protected readonly groupRoleDescription = computed<string>(\n () => this.config.fallbackLabels?.groupRoleDescription ?? 'step group',\n );\n\n /**\n * `true` when a rendered strip group header is folded under the\n * focus-driven policy: `groupCollapse === 'expand-active'`, the group\n * has children, and it does not hold the active step. Drives the\n * `--collapsed` visual de-emphasis. Reads `activeGroupId` reactively,\n * never a one-shot write.\n *\n * The fold is a density optimisation, not a disclosure widget:\n * collapse is focus-driven (no toggle control), so the header carries\n * no `aria-expanded` - an unsupported pairing on `role=\"group\"`\n * (ARIA 1.2) that would also imply a false disclosure affordance.\n * A collapsed header does offer a pointer shortcut into the group (see\n * {@link handleGroupHeaderClick}), but that selects the group's first\n * step rather than expanding it in place, so it stays navigation, not\n * disclosure. Keyboard users reach the same steps via the documented\n * arrow-key contract, which already steps into a collapsed group.\n */\n protected isGroupCollapsed(node: CngxStepNode): boolean {\n if (node.kind !== 'group' || this.config.groupCollapse !== 'expand-active') {\n return false;\n }\n if (node.children.length === 0) {\n return false;\n }\n return this.presenter.activeGroupId() !== node.id;\n }\n\n /**\n * Collapsed-group summary view (`groupCollapseSummary`). Level-2 factory\n * keeps the count/progress/status derivation out of the organism; the\n * template reads `groupSummary.text(node)` / `.showStatus(node)` /\n * `.srText(node)` on collapsed group headers.\n */\n protected readonly groupSummary = createStepperGroupSummary({\n summaryMode: () => this.config.groupCollapseSummary,\n isCollapsed: (node) => this.isGroupCollapsed(node),\n });\n\n /**\n * Collapsed-group pointer-navigation view. `isNavigable` drives the\n * `--navigable` cursor cue; `select` is the header click handler that\n * enters the branch at its first reachable step. Level-2 factory.\n */\n protected readonly groupNavigation = createStepperGroupNavigation({\n presenter: this.presenter,\n isCollapsed: (node) => this.isGroupCollapsed(node),\n navigationEnabled: () => this.resolvedHeaderNavigation() !== 'none',\n });\n\n /**\n * `aria-label` cascade: input → `ariaLabels.stepperRegion` → `i18n.stepperLabel`.\n */\n protected readonly resolvedAriaLabel = computed<string | null>(() => {\n if (this.ariaLabelledBy()) {\n return null; // labelledby trumps label\n }\n return this.ariaLabel() ?? this.config.ariaLabels?.stepperRegion ?? this.i18n.stepperLabel;\n });\n\n // O(1) labelTemplateFor/contentTemplateFor lookup. Structural equal on\n // id-set + directive identity stops cascade on shape-stable re-emits.\n private readonly stepDirectiveById = inject(CNGX_DIRECTIVE_BY_ID_MAP_FACTORY)({\n source: this.stepDirectives,\n });\n\n readonly flatSteps: Signal<readonly CngxStepNode[]> = this.presenter.flatSteps;\n readonly activeStepIndex: Signal<number> = this.presenter.activeStepIndex;\n readonly activeStepId: Signal<string | null> = this.presenter.activeStepId;\n protected readonly stepsOnly: Signal<readonly CngxStepNode[]> = this.presenter.stepsOnly;\n\n /**\n * Strip projection honouring the focus-driven group-collapse policy.\n * Drives the classic strip `@for`; collapsed groups contribute their\n * header node alone. Sourced from the presenter, never re-derived here\n * (host-token contract). Panels still render every step via\n * {@link stepsOnly}, so collapsed steps keep their panel ids in the DOM.\n */\n protected readonly visibleStripNodes: Signal<readonly CngxStepNode[]> =\n this.presenter.visibleStripNodes;\n\n /**\n * Distance of a step from the active one, published per-step as\n * `--cngx-step-distance` under `density: 'auto'`. Drives the\n * distance-weighted label budget so the step furthest from the active\n * one collapses first. `flatIndex` is `-1` for group nodes, but only\n * step nodes carry the binding. Pure derived data - no layout read.\n */\n protected stepDistanceOf(node: CngxStepNode): number {\n return Math.abs(node.flatIndex - this.activeStepIndex());\n }\n\n /** Per-step predicates + slot-context builders (Level-2 factory). */\n protected readonly slotContext = createStepperSlotContextBuilders({\n presenter: this.presenter,\n stepsOnly: this.stepsOnly,\n i18n: this.i18n,\n });\n\n /**\n * Shared state view - feeds the mobile-collapse `text` / `dots` branches,\n * which otherwise rendered only `Step N of M` (text) or `node.state()`\n * (dots) and dropped the per-step error the desktop branch shows.\n */\n protected readonly stateView = createStepperStateView({\n presenter: this.presenter,\n stepsOnly: this.stepsOnly,\n });\n\n /**\n * Aggregate error phrase for the mobile-collapse text branch. Feeds the\n * real reason (the `[error]` string / aggregator label) through the\n * resolver so the collapsed view shows \"Card declined\", not the generic\n * \"errored\" status word - the strip's per-step row is not on screen in\n * collapsed mode, so this line is the only error surface.\n */\n protected readonly mobileErrorSummary = computed<string>(() =>\n resolveStepperErrorSummary(\n this.stateView,\n this.stepsOnly,\n this.i18n,\n (node) => this.stepErrorMessageOf(node) ?? undefined,\n ),\n );\n\n /** Commit-in-flight flag - drives the host `aria-busy` binding.*/\n protected readonly isCommitting = computed<boolean>(\n () => this.presenter.commitState.status() === 'pending',\n );\n\n protected stepHeaderId(node: CngxStepNode): string {\n return `${node.id}-header`;\n }\n\n protected stepPanelId(node: CngxStepNode): string {\n return `${node.id}-panel`;\n }\n\n protected stepDescriptorId(node: CngxStepNode): string {\n return `${node.id}-desc`;\n }\n\n /** Live-region + per-step + group SR phrase builders (Level-2 factory). */\n protected readonly announcement = createStepperAnnouncementBuilders({\n presenter: this.presenter,\n stepsOnly: this.stepsOnly,\n i18n: this.i18n,\n });\n\n protected handleHeaderClick(node: CngxStepNode): void {\n // Inert headers in 'none' mode: the footer is the sole control.\n if (this.resolvedHeaderNavigation() === 'none') {\n return;\n }\n // No-op when the header is not reachable - disabled, linear-blocked,\n // or a commit is in flight. The reachability gate (which now includes\n // `busy()`) is the single source, so a mid-commit click cannot\n // supersede the pending transition.\n if (node.kind !== 'step' || !this.isHeaderReachable(node)) {\n return;\n }\n this.presenter.select(node.flatIndex);\n }\n\n /**\n * `true` when the step header at `node` may be navigated to right now:\n * structurally reachable (`canNavigateTo` - not disabled, not\n * linear-blocked) AND not while a commit is in flight (`busy()`). The\n * busy gate mirrors the footer nav atoms, which disable on\n * `!canGo* || busy()` - so the strip and the footer lock together\n * during an async transition instead of letting a header click\n * supersede the pending commit. Reads the host contract, never the\n * presenter's private linear-block check.\n */\n protected isHeaderReachable(node: CngxStepNode): boolean {\n return this.presenter.canNavigateTo(node.flatIndex) && !this.presenter.busy();\n }\n\n /**\n * `'true'` on a header that cannot be navigated to, `null` otherwise.\n * Folds two channels into one binding: a `disabled` step and a\n * linear-unreachable step both read as `aria-disabled`, so the gate is\n * announced rather than silently ignored. The header stays focusable\n * per the ARIA composite-widget disabled-focusable rule. In\n * `'visited'` + `linear=false` this is byte-identical to the\n * prior `node.disabled()`-only binding, since `canNavigateTo` returns\n * `true` for every enabled step when linear is off.\n */\n protected headerAriaDisabled(node: CngxStepNode): 'true' | null {\n return this.isHeaderReachable(node) ? null : 'true';\n }\n\n /** Strip-scoped arrow-key handler. See {@link createStepperStripKeyboardNav}. */\n protected readonly handleStripKeyDown = createStepperStripKeyboardNav({\n presenter: this.presenter,\n hostElement: this.hostElement,\n flatStepCount: () => this.flatSteps().length,\n stepButtonIdFor: (id) => `${id}-header`,\n // Defers the post-move focus to afterNextRender so arrow-key\n // navigation across a collapsed group boundary lands on the target\n // button after the strip re-renders its node set.\n injector: this.injector,\n // Off in 'none' mode (inert labels) and while a commit is in flight,\n // so arrow-key navigation locks with the headers + footer during an\n // async transition.\n enabled: () => this.resolvedHeaderNavigation() !== 'none' && !this.presenter.busy(),\n });\n\n /**\n * Clear the presenter's `lastFailedIndex`. Lets template-ref consumers\n * (`#s=\"cngxStepper\"`) dismiss the rejection decoration without injecting\n * {@link CNGX_STEPPER_HOST}.\n */\n clearLastFailed(): void {\n this.presenter.clearLastFailed();\n }\n\n // CngxStepPanelHost contract - O(1) via the pre-built map.\n labelTemplateFor(id: string): TemplateRef<CngxStepLabelContext> | null {\n return this.stepDirectiveById().get(id)?.labelTemplate()?.templateRef ?? null;\n }\n\n contentTemplateFor(id: string): TemplateRef<CngxStepContentContext> | null {\n return this.stepDirectiveById().get(id)?.contentTemplate()?.templateRef ?? null;\n }\n}\n","@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else if (displayMode() === 'text') {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text\" [live]=\"false\" />\n @if (stateView.hasAnyError()) {\n <span class=\"cngx-stepper__mobile-error\" role=\"status\" data-state=\"error\">\n <span class=\"cngx-stepper__mobile-error-glyph\" aria-hidden=\"true\">{{ glyphs.errorBadge }}</span>\n <span class=\"cngx-stepper__mobile-error-text\">{{ mobileErrorSummary() }}</span>\n </span>\n }\n\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n} @else if (displayMode() === 'dots') {\n <!--\n In 'none' mode the dots are inert list-item indicators (footer-only\n navigation); otherwise they are roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__mobile-dots\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : null\"\n >\n @for (node of stepsOnly(); track node.id; let i = $index) {\n @if (resolvedHeaderNavigation() === 'none') {\n <span\n role=\"listitem\"\n class=\"cngx-stepper__mobile-dot cngx-stepper__mobile-dot--static\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasError(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n ></span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__mobile-dot\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasError(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n ></button>\n }\n }\n </div>\n @if (stateView.hasAnyError()) {\n <span class=\"cngx-stepper__mobile-error\" role=\"status\" data-state=\"error\">\n <span class=\"cngx-stepper__mobile-error-glyph\" aria-hidden=\"true\">{{ glyphs.errorBadge }}</span>\n <span class=\"cngx-stepper__mobile-error-text\">{{ mobileErrorSummary() }}</span>\n </span>\n }\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n} @else {\n <!--\n In 'none' mode the inert headers are list items, so the strip is a\n semantic list; otherwise it is a presentational container of\n roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__strip\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : 'presentation'\"\n >\n @for (node of visibleStripNodes(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [class.cngx-stepper__group-header--collapsed]=\"isGroupCollapsed(node)\"\n [class.cngx-stepper__group-header--active]=\"groupNavigation.isActive(node)\"\n [class.cngx-stepper__group-header--navigable]=\"groupNavigation.isNavigable(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n (click)=\"groupNavigation.select(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n @if (groupSummary.text(node); as summary) {\n <span class=\"cngx-stepper__group-summary\" [attr.data-state]=\"node.state()\" aria-hidden=\"true\">{{ summary }}</span>\n } @else if (groupSummary.showStatus(node)) {\n <span\n class=\"cngx-stepper__group-summary cngx-stepper__group-summary--status\"\n [attr.data-state]=\"node.state()\"\n aria-hidden=\"true\"\n ></span>\n }\n @if (groupSummary.srText(node); as srSummary) {\n <span class=\"cngx-sr-only\">{{ srSummary }}</span>\n }\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else if (resolvedHeaderNavigation() === 'none') {\n <!--\n Inert label header (headerNavigation 'none'): pure step\n indicator, no <button>, no cngxRovingItem, no (click), no\n tabindex. Footer is the sole navigation control. aria-current\n + status retained (Pillar 2).\n -->\n <span\n class=\"cngx-stepper__step cngx-stepper__step--static\"\n role=\"listitem\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.tabindex]=\"slotContext.isActive(node) ? '0' : '-1'\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </button>\n }\n }\n </div>\n\n <!--\n Error messages live on their own row BELOW the strip, not inline in a\n step. A free-text message inside a horizontal/column strip item widens\n the shrink-to-fit step and tears the row; below the strip it has full\n width and wraps. Only steps with a real reason ([error] string or an\n aggregator label) appear - the bare 'errored' state is already carried\n by the indicator + badge, so it adds no text-only noise here.\n -->\n @if (stepErrorEntries().length) {\n <div class=\"cngx-stepper__error-summary\">\n @for (entry of stepErrorEntries(); track entry.id) {\n <p class=\"cngx-stepper__error-summary-item\" data-state=\"error\">\n @if (templates.stepError(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: entry.context\"></ng-container>\n } @else {\n <span class=\"cngx-stepper__error-summary-step\">{{ entry.label }}</span>\n <span class=\"cngx-stepper__error-summary-text\">{{ entry.message }}</span>\n }\n </p>\n }\n </div>\n }\n\n <div class=\"cngx-stepper__panels\">\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n}\n\n<!--\n Footer slot - placed OUTSIDE the display-mode @if/@else so it projects\n at view-creation time (content children register after the empty branch\n is active, so an in-branch <ng-content> would be discarded and never\n re-project). Renders after the panels in every mode.\n-->\n<ng-content select=\"cngx-stepper-footer, [cngxStepperFooter]\"></ng-content>\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n announcement.liveAnnouncement()\n}}</span>\n\n<!--\n Shared strip-header body. Rendered identically by the focusable\n <button> ('visited') and the inert <span> ('none') branches so the\n indicator / badge / label / status / rejection / busy markup has a\n single source (Pillar 3). ngTemplateOutlet projects inline - no\n wrapper element is added, so the 'visited' DOM is unchanged.\n-->\n<ng-template #stepHeaderInner let-node>\n <span class=\"cngx-stepper__indicator\" aria-hidden=\"true\" [attr.data-state]=\"node.state()\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: slotContext.indicatorContextFor(node)\n \"\n ></ng-container>\n @if (slotContext.showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: slotContext.badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: slotContext.stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n <span class=\"cngx-stepper__status-pill\" aria-hidden=\"true\">{{ statusLabelFor(node) }}</span>\n @if (slotContext.showRejection(node)) {\n <span class=\"cngx-stepper__rejection-icon\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: slotContext.rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (slotContext.isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: slotContext.busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n</ng-template>\n\n<ng-template #defaultIndicator let-position>\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge>{{ glyphs.errorBadge }}</ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection>{{ glyphs.rejectionIcon }}</ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n inject,\n input,\n} from '@angular/core';\n\nimport {\n CngxStepperCount,\n CngxStepperPresenter,\n CNGX_STEPPER_GLYPHS,\n CNGX_STEPPER_HOST,\n createStepperStateView,\n injectStepperI18n,\n resolveStepperErrorSummary,\n type CngxStepNode,\n} from '@cngx/common/stepper';\nimport { CngxProgress } from '@cngx/ui/feedback';\n\n/**\n * Progress-Bar stepper variant. Thin Level-4 organism composing\n * `CngxStepperPresenter` via `hostDirectives` and rendering the\n * existing `<cngx-progress>` primitive as the visual bar instead of\n * reinventing `<div role=\"progressbar\">`. Material consumers inherit\n * Material progress styling through `CngxProgress` automatically.\n *\n * `completedPercent()` is `computed` from `presenter.activeStepIndex()`\n * and the count of step nodes in `presenter.flatSteps()`. Optional\n * `[showStepCount]` adds a `Step N of M` caption sourced from\n * `CngxStepperI18n.textStepperFormat`.\n *\n * @category ui/stepper\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/progress-bar-stepper.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepperPresenter, CngxProgress, CngxDotStepper, CngxTextStepper\n * @playground Material theme coverage across variants ./examples/material-theme-coverage/variants-coverage.component.ts\n * <example-url>http://localhost:4200/#/ui/stepper/progress-bar/onboarding-flow</example-url>\n */\n@Component({\n selector: 'cngx-progress-bar-stepper',\n exportAs: 'cngxProgressBarStepper',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [CngxProgress, CngxStepperCount],\n hostDirectives: [\n {\n directive: CngxStepperPresenter,\n inputs: ['activeStepIndex', 'linear'],\n outputs: ['activeStepIndexChange'],\n },\n ],\n templateUrl: './progress-bar-stepper.component.html',\n styleUrl: './progress-bar-stepper.component.css',\n host: {\n class: 'cngx-progress-bar-stepper',\n role: 'group',\n '[attr.aria-roledescription]': '\"stepper\"',\n '[attr.aria-label]': 'ariaLabel()',\n '[attr.aria-labelledby]': 'ariaLabelledBy()',\n '[attr.data-state]': 'stateView.hasAnyError() ? \"error\" : null',\n '[attr.aria-invalid]': 'stateView.hasAnyError() ? \"true\" : null',\n },\n})\nexport class CngxProgressBarStepper {\n readonly ariaLabel = input<string | undefined>(undefined, { alias: 'aria-label' });\n readonly ariaLabelledBy = input<string | undefined>(undefined, { alias: 'aria-labelledby' });\n\n /** Render a `Step N of M` caption below the bar. Off by default. */\n readonly showStepCount = input<boolean>(false);\n\n protected readonly presenter = inject(CNGX_STEPPER_HOST);\n protected readonly i18n = injectStepperI18n();\n\n /** Shared per-step/aggregate state derivations - the single error source. */\n protected readonly stateView = createStepperStateView({\n presenter: this.presenter,\n stepsOnly: this.presenter.stepsOnly,\n });\n\n /** Default error glyph for the error caption. */\n protected readonly errorGlyph = CNGX_STEPPER_GLYPHS.errorBadge;\n\n /** Total step count (group nodes excluded). */\n protected readonly totalSteps = computed<number>(() => this.presenter.stepsOnly().length);\n\n /** 1-based active position used in the caption format. */\n protected readonly currentStep = computed<number>(() => {\n const total = this.totalSteps();\n if (total === 0) {\n return 0;\n }\n return Math.min(this.presenter.activeStepIndex() + 1, total);\n });\n\n /**\n * Completion percentage 0-100. `(active / max(total - 1, 1)) * 100`\n * so the final step renders the bar full.\n */\n protected readonly completedPercent = computed<number>(() => {\n const total = this.totalSteps();\n if (total === 0) {\n return 0;\n }\n const denominator = Math.max(total - 1, 1);\n return Math.max(0, Math.min(100, (this.presenter.activeStepIndex() / denominator) * 100));\n });\n\n protected readonly captionText = computed<string>(() =>\n this.i18n.textStepperFormat(this.currentStep(), this.totalSteps()),\n );\n\n /**\n * Aggregate error caption. A single errored step names itself\n * (`\"Payment: Errored\"`), several collapse to the i18n count phrase.\n * Read only when `stateView.hasAnyError()` gates the template.\n */\n protected readonly errorText = computed<string>(() =>\n resolveStepperErrorSummary(this.stateView, this.presenter.stepsOnly, this.i18n, (node: CngxStepNode) =>\n node.errorMessage?.() ?? node.errorAggregator?.()?.errorLabels?.()?.[0],\n ),\n );\n}\n","<cngx-progress\n class=\"cngx-progress-bar-stepper__bar\"\n [progress]=\"completedPercent()\"\n [label]=\"captionText()\"\n></cngx-progress>\n@if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-progress-bar-stepper__caption\" [live]=\"false\" />\n}\n@if (stateView.hasAnyError()) {\n <span class=\"cngx-progress-bar-stepper__error\" role=\"status\" data-state=\"error\">\n <span class=\"cngx-progress-bar-stepper__error-glyph\" aria-hidden=\"true\">{{ errorGlyph }}</span>\n <span class=\"cngx-progress-bar-stepper__error-text\">{{ errorText() }}</span>\n </span>\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n contentChild,\n inject,\n input,\n type Signal,\n type TemplateRef,\n} from '@angular/core';\n\nimport {\n CngxDotStepperDot,\n type CngxDotStepperDotContext,\n CngxStepperPresenter,\n CngxStepperSwipeNav,\n CNGX_STEPPER_GLYPHS,\n CNGX_STEPPER_HOST,\n createStepperStateView,\n injectStepperConfig,\n injectStepperI18n,\n resolveStepperErrorSummary,\n type CngxStepNode,\n} from '@cngx/common/stepper';\nimport { CngxSwipe } from '@cngx/common/interactive';\n\n/**\n * Dot stepper variant. Mobile-first sequential-flow indicator. Renders\n * one labelled `<span role=\"img\">` per step (a name-permitting role, so\n * each dot announces \"Step N of M: label\") inside a\n * `<div role=\"group\" aria-roledescription=\"Step indicator\">`. The active\n * dot carries `aria-current=\"step\"` per the W3C APG step-indicator\n * pattern (NOT `role=\"tablist\"` / `role=\"tab\"` - those are reserved\n * for parallel content panels, not sequential flow).\n *\n * Tap-to-select is intentionally NOT wired on individual dots: under\n * the APG pattern each dot is a label, not a button, and attaching\n * `(click)` to `role=\"img\"` conflates two ARIA contracts. Navigation\n * is offered uniformly via three modalities owned by the host element:\n * arrow / Home / End keys, the composed `CngxStepperSwipeNav` dot-row\n * gesture, and the two-way `[(activeStepIndex)]` binding for\n * external buttons. Consumers wanting per-dot tap-to-jump compose the\n * parent `<cngx-stepper>` (whose mobile-collapse `dots` branch\n * renders each dot as a `<button>`).\n *\n * Theming flows through new `--cngx-dot-step-*` custom properties whose\n * defaults cascade through `var(--cngx-step-active-fill, ...)`, so the\n * Phase A active-fill chain reaches the dot variant without duplication.\n *\n * @category ui/stepper\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/dot-stepper.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepperPresenter, CngxProgressBarStepper, CngxTextStepper\n * <example-url>http://localhost:4200/#/ui/stepper/dot-stepper/mobile-carousel</example-url>\n */\n@Component({\n selector: 'cngx-dot-stepper',\n exportAs: 'cngxDotStepper',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [NgTemplateOutlet, CngxSwipe],\n hostDirectives: [\n {\n directive: CngxStepperPresenter,\n inputs: ['activeStepIndex', 'linear'],\n outputs: ['activeStepIndexChange'],\n },\n {\n directive: CngxStepperSwipeNav,\n inputs: ['mobileSwipe'],\n },\n ],\n templateUrl: './dot-stepper.component.html',\n styleUrl: './dot-stepper.component.css',\n host: {\n class: 'cngx-dot-stepper',\n role: 'group',\n tabindex: '0',\n '[attr.aria-roledescription]': 'i18n.stepIndicatorRoleDescription',\n '[attr.aria-label]': 'ariaLabel()',\n '[attr.aria-labelledby]': 'ariaLabelledBy()',\n '[attr.aria-invalid]': 'stateView.hasAnyError() ? \"true\" : null',\n '(keydown)': 'handleKeyDown($event)',\n },\n})\nexport class CngxDotStepper {\n readonly ariaLabel = input<string | undefined>(undefined, { alias: 'aria-label' });\n readonly ariaLabelledBy = input<string | undefined>(undefined, { alias: 'aria-labelledby' });\n\n protected readonly presenter = inject(CNGX_STEPPER_HOST);\n protected readonly i18n = injectStepperI18n();\n protected readonly config = injectStepperConfig();\n /** Mobile-swipe routing surface composed via hostDirectives. */\n protected readonly swipeNav = inject(CngxStepperSwipeNav, { host: true });\n\n protected readonly stepNodes: Signal<readonly CngxStepNode[]> = this.presenter.stepsOnly;\n protected readonly activeIndex = computed<number>(() => this.presenter.activeStepIndex());\n\n /** Shared per-step/aggregate state derivations - the single error source. */\n protected readonly stateView = createStepperStateView({\n presenter: this.presenter,\n stepsOnly: this.stepNodes,\n });\n\n /** Default error glyph for the aggregate error line. */\n protected readonly errorGlyph = CNGX_STEPPER_GLYPHS.errorBadge;\n\n /**\n * Aggregate error line. The dot row only colours the errored dot, so\n * the real reason (the `[error]` string / aggregator label) needs a\n * text surface; this is it. Falls back to the count phrase for\n * multiple errors.\n */\n protected readonly errorText = computed<string>(() =>\n resolveStepperErrorSummary(\n this.stateView,\n this.stepNodes,\n this.i18n,\n (node) => node.errorMessage?.() ?? node.errorAggregator?.()?.errorLabels?.()?.[0],\n ),\n );\n\n private readonly dotSlot = contentChild(CngxDotStepperDot);\n\n /**\n * Resolved dot-body template cascade: per-instance `*cngxDotStepperDot`\n * directive > `CNGX_STEPPER_CONFIG.templates.dotStepperDot` > `null`\n * (built-in empty body). Pillar 1 - resolution is a `computed`, not\n * manual sync.\n */\n protected readonly resolvedDotTemplate = computed<TemplateRef<CngxDotStepperDotContext> | null>(\n () => this.dotSlot()?.templateRef ?? this.config.templates?.dotStepperDot ?? null,\n );\n\n protected isActive(node: CngxStepNode, index: number): boolean {\n return index === this.activeIndex() && node.kind === 'step';\n }\n\n protected isCompleted(index: number): boolean {\n return index < this.activeIndex();\n }\n\n /**\n * Resolved `data-state` for the dot: `'error'` whenever the unified error\n * view fires (covers commit rejection and the error aggregator, not just a\n * literal `state === 'error'`), otherwise the raw step status.\n */\n protected dotState(node: CngxStepNode): string {\n return this.stateView.hasError(node) ? 'error' : node.state();\n }\n\n protected ariaLabelFor(node: CngxStepNode, index: number): string {\n const base = this.i18n.selectedStep(node.label(), index + 1, this.stepNodes().length);\n return this.stateView.hasError(node) ? `${base}: ${this.i18n.statusLabels.errored}` : base;\n }\n\n /** Build the slot context for `*cngxDotStepperDot`. */\n protected dotContextFor(node: CngxStepNode, index: number): CngxDotStepperDotContext {\n return {\n $implicit: index,\n index,\n node,\n active: this.isActive(node, index),\n completed: this.isCompleted(index),\n };\n }\n\n protected handleKeyDown(event: KeyboardEvent): void {\n // Linear mode is enforced by the presenter, not by silencing the\n // keyboard. `selectNext` routes through `presenter.select()` which\n // refuses jumps over incomplete steps; `selectPrevious` is the\n // ungated direct back-move. `Home` is always a back-move; `End`\n // routes through `select()` and is gated when intermediate steps\n // are incomplete. Disabling the whole handler in linear mode\n // killed back-nav too, which is the inverse of the W3C APG\n // step-indicator pattern (read-back should always be reachable).\n if (event.key === 'ArrowRight' || event.key === 'ArrowDown') {\n event.preventDefault();\n this.presenter.selectNext();\n } else if (event.key === 'ArrowLeft' || event.key === 'ArrowUp') {\n event.preventDefault();\n this.presenter.selectPrevious();\n } else if (event.key === 'Home') {\n event.preventDefault();\n this.presenter.select(0);\n } else if (event.key === 'End') {\n event.preventDefault();\n this.presenter.select(this.stepNodes().length - 1);\n }\n }\n}\n","<div\n class=\"cngx-dot-stepper__row\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n>\n @for (node of stepNodes(); track node.id; let i = $index) {\n @let dotTpl = resolvedDotTemplate();\n <span\n class=\"cngx-dot-stepper__dot\"\n role=\"img\"\n [class.cngx-dot-stepper__dot--active]=\"isActive(node, i)\"\n [class.cngx-dot-stepper__dot--completed]=\"i < activeIndex()\"\n [class.cngx-dot-stepper__dot--error]=\"stateView.hasError(node)\"\n [attr.aria-current]=\"isActive(node, i) ? 'step' : null\"\n [attr.aria-label]=\"ariaLabelFor(node, i)\"\n [attr.data-state]=\"dotState(node)\"\n >\n @if (dotTpl) {\n <ng-container *ngTemplateOutlet=\"dotTpl; context: dotContextFor(node, i)\" />\n }\n </span>\n }\n</div>\n\n@if (stateView.hasAnyError()) {\n <span class=\"cngx-dot-stepper__error\" role=\"status\" data-state=\"error\">\n <span class=\"cngx-dot-stepper__error-glyph\" aria-hidden=\"true\">{{ errorGlyph }}</span>\n <span class=\"cngx-dot-stepper__error-text\">{{ errorText() }}</span>\n </span>\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n inject,\n input,\n type Signal,\n} from '@angular/core';\n\nimport {\n CngxStepperPresenter,\n CNGX_STEPPER_GLYPHS,\n CNGX_STEPPER_HOST,\n createStepperStateView,\n injectStepperI18n,\n resolveStepperErrorSummary,\n type CngxStepNode,\n} from '@cngx/common/stepper';\n\n/**\n * Text stepper variant. Smallest possible stepper: a single\n * `<span aria-live=\"polite\">` driven by the presenter. Renders\n * `Step N of M` by default (sourced from\n * `CngxStepperI18n.textStepperFormat`); optional `[showCurrentLabel]`\n * appends the active step's label next to the count. Material consumers\n * inherit surrounding text styling via CSS inheritance, no theme bridge\n * required.\n *\n * @category ui/stepper\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/text-stepper.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepperPresenter, CngxProgressBarStepper, CngxDotStepper\n * <example-url>http://localhost:4200/#/ui/stepper/text-stepper/inline-progress</example-url>\n */\n@Component({\n selector: 'cngx-text-stepper',\n exportAs: 'cngxTextStepper',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: CngxStepperPresenter,\n inputs: ['activeStepIndex', 'linear'],\n outputs: ['activeStepIndexChange'],\n },\n ],\n templateUrl: './text-stepper.component.html',\n styleUrl: './text-stepper.component.css',\n host: {\n class: 'cngx-text-stepper',\n '[attr.aria-invalid]': 'stateView.hasAnyError() ? \"true\" : null',\n },\n})\nexport class CngxTextStepper {\n /** Append the active step's label to the count text. Off by default. */\n readonly showCurrentLabel = input<boolean>(false);\n\n protected readonly presenter = inject(CNGX_STEPPER_HOST);\n protected readonly i18n = injectStepperI18n();\n\n protected readonly stepNodes: Signal<readonly CngxStepNode[]> = this.presenter.stepsOnly;\n\n /** Shared per-step/aggregate state derivations - the single error source. */\n protected readonly stateView = createStepperStateView({\n presenter: this.presenter,\n stepsOnly: this.stepNodes,\n });\n\n /** Default error glyph for the error sub-line. */\n protected readonly errorGlyph = CNGX_STEPPER_GLYPHS.errorBadge;\n\n protected readonly totalSteps = computed<number>(() => this.stepNodes().length);\n\n protected readonly currentStep = computed<number>(() => {\n const total = this.totalSteps();\n if (total === 0) {\n return 0;\n }\n return Math.min(this.presenter.activeStepIndex() + 1, total);\n });\n\n protected readonly stepText = computed<string>(() => {\n const base = this.i18n.textStepperFormat(this.currentStep(), this.totalSteps());\n if (!this.showCurrentLabel()) {\n return base;\n }\n const idx = this.presenter.activeStepIndex();\n const node = this.stepNodes()[idx];\n if (!node) {\n return base;\n }\n return `${base}: ${node.label()}`;\n });\n\n /**\n * Aggregate error sub-line text. A single errored step names itself\n * (`\"Payment: Errored\"`), several collapse to the i18n count phrase\n * (`\"2 errors\"`). Empty when no step errored - the template gates on\n * `stateView.hasAnyError()`, so this is only read when non-empty.\n */\n protected readonly errorText = computed<string>(() =>\n resolveStepperErrorSummary(this.stateView, this.stepNodes, this.i18n, (node: CngxStepNode) =>\n node.errorMessage?.() ?? node.errorAggregator?.()?.errorLabels?.()?.[0],\n ),\n );\n}\n","<span class=\"cngx-text-stepper__text\" aria-live=\"polite\">{{ stepText() }}</span>\n@if (stateView.hasAnyError()) {\n <span class=\"cngx-text-stepper__error\" role=\"status\" data-state=\"error\">\n <span class=\"cngx-text-stepper__error-glyph\" aria-hidden=\"true\">{{ errorGlyph }}</span>\n <span class=\"cngx-text-stepper__error-text\">{{ errorText() }}</span>\n </span>\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {\n CNGX_STEPPER_HOST,\n createStepperHostProxy,\n type CngxStepperHost,\n} from '@cngx/common/stepper';\n\n/**\n * Navigation action-bar molecule for the stepper family. \\\n * Lays out three regions - **start** (Back), **center** (progress hint), **end** (Continue / Finish). \\\n * Wires the {@link CNGX_STEPPER_HOST} for any nav atoms a consumer drops inside.\n *\n * **Resolves its host like `CngxStepperCount`:** \\\n * An explicit `[host]` input for placement outside the stepper tree, falling back to the ambient\n * host injected from an ancestor `<cngx-stepper>` / `<cngx-mat-stepper>`\n * (`skipSelf`, so the footer reads the real presenter rather than its own\n * re-provided proxy). \\\n * It then re-provides `CNGX_STEPPER_HOST` as a live\n * {@link createStepperHostProxy} over the resolved host, so child\n * `[cngxStepperPrevious]` / `[cngxStepperNext]` atoms resolve it\n * ambiently whether the footer is nested or used standalone with\n * `[host]`. \\\n * `providers` (not `viewProviders`) carries the proxy to the\n * consumer-projected button content. With no host at all, the proxy's\n * neutral set renders the nav buttons disabled.\n *\n * ```html\n * <cngx-stepper #s=\"cngxStepper\"> … </cngx-stepper>\n * <cngx-stepper-footer [host]=\"s.presenter\">\n * <button cngxStepperFooterStart cngxStepperPrevious>Back</button>\n * <cngx-stepper-count cngxStepperFooterCenter />\n * <button cngxStepperFooterEnd cngxStepperNext>Continue</button>\n * </cngx-stepper-footer>\n * ```\n *\n * @category ui/stepper\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/footer/stepper-footer.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepper, CngxStepperPrevious, CngxStepperNext, CngxStepperComplete, CngxStepperCount\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/back-continue</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/save-draft-extra-button</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/footer-with-progress-center</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/percent-complete-center</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/segmented-progress-center</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/complete-finish-button</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/async-commit-status</example-url>\n */\n@Component({\n selector: 'cngx-stepper-footer',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'cngxStepperFooter',\n host: { class: 'cngx-stepper-footer' },\n providers: [\n {\n provide: CNGX_STEPPER_HOST,\n useFactory: (footer: CngxStepperFooter) =>\n createStepperHostProxy(() => footer.resolvedHost()),\n deps: [CngxStepperFooter],\n },\n ],\n template: `\n <div class=\"cngx-stepper-footer__start\">\n <ng-content select=\"[cngxStepperFooterStart]\" />\n </div>\n <div class=\"cngx-stepper-footer__center\">\n <ng-content select=\"[cngxStepperFooterCenter]\" />\n </div>\n <div class=\"cngx-stepper-footer__end\">\n <ng-content select=\"[cngxStepperFooterEnd]\" />\n </div>\n `,\n styleUrl: './stepper-footer.css',\n})\nexport class CngxStepperFooter {\n /**\n * Explicit stepper-host reference for placement *outside* the stepper\n * tree (`[host]=\"s.presenter\"`). When unset, the ambient\n * {@link CNGX_STEPPER_HOST} from an ancestor stepper is used.\n */\n readonly host = input<CngxStepperHost | null>(null);\n\n // `skipSelf` so this never resolves the proxy this component itself\n // provides - it reads the ancestor stepper's presenter.\n private readonly injectedHost = inject(CNGX_STEPPER_HOST, { optional: true, skipSelf: true });\n\n /** Resolved host: explicit input wins, else the ambient ancestor host. */\n readonly resolvedHost = computed<CngxStepperHost | null>(() => this.host() ?? this.injectedHost);\n}\n","import { Directive } from '@angular/core';\n\n/**\n * Marker for the footer's leading region (inline-start). Place on the\n * element you want in the start slot - typically a Back control.\n *\n * ```html\n * <button cngxStepperFooterStart cngxStepperPrevious>Back</button>\n * ```\n *\n * @category ui/stepper\n * @since 0.1.0\n * @relatedTo CngxStepperFooter, CngxStepperFooterCenter, CngxStepperFooterEnd\n */\n@Directive({\n selector: '[cngxStepperFooterStart]',\n standalone: true,\n host: { class: 'cngx-stepper-footer__slot' },\n})\nexport class CngxStepperFooterStart {}\n\n/**\n * Marker for the footer's center region - a progress hint, a\n * `<cngx-stepper-count>`, or a \"50% complete\" caption.\n *\n * @category ui/stepper\n * @since 0.1.0\n * @relatedTo CngxStepperFooter, CngxStepperFooterStart, CngxStepperFooterEnd\n */\n@Directive({\n selector: '[cngxStepperFooterCenter]',\n standalone: true,\n host: { class: 'cngx-stepper-footer__slot' },\n})\nexport class CngxStepperFooterCenter {}\n\n/**\n * Marker for the footer's trailing region (inline-end) - typically a\n * Continue / Finish control, optionally preceded by a \"Save draft\".\n *\n * @category ui/stepper\n * @since 0.1.0\n * @relatedTo CngxStepperFooter, CngxStepperFooterStart, CngxStepperFooterCenter\n */\n@Directive({\n selector: '[cngxStepperFooterEnd]',\n standalone: true,\n host: { class: 'cngx-stepper-footer__slot' },\n})\nexport class CngxStepperFooterEnd {}\n","/**\n * @module @cngx/ui/stepper\n *\n * Level-4 organism - CNGX-standard `<cngx-stepper>` skin over the\n * Level-2 `CngxStepperPresenter` from `@cngx/common/stepper`.\n * Composes presenter + roving tabindex + focus restore + live\n * region via `hostDirectives`. Material consumers reach for\n * `@cngx/ui/mat-stepper` instead.\n */\n\nexport { CngxStepper } from './stepper.component';\nexport { CngxProgressBarStepper } from './progress-bar-stepper.component';\nexport { CngxDotStepper } from './dot-stepper.component';\nexport { CngxTextStepper } from './text-stepper.component';\nexport { CngxStepperFooter } from './footer/stepper-footer.component';\nexport {\n CngxStepperFooterStart,\n CngxStepperFooterCenter,\n CngxStepperFooterEnd,\n} from './footer/stepper-footer-regions';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAsEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCG;MAgDU,WAAW,CAAA;IACb,SAAS,GAAG,KAAK,CAAqB,SAAS,iFAAI,KAAK,EAAE,YAAY,EAAA,CAAG;IACzE,cAAc,GAAG,KAAK,CAAqB,SAAS,sFAAI,KAAK,EAAE,iBAAiB,EAAA,CAAG;;AAGnF,IAAA,IAAI,GAAG,KAAK,CAA8B,SAAS,2EAAC;;AAGpD,IAAA,UAAU,GAAG,KAAK,CAA+B,SAAS,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,YAAA,EAAA,8BAAA,EAAA,CAAA,EACjE,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,SAAS,GAAG,SAAS,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC,GAC1E;AAEF;;;;;AAKG;AACM,IAAA,gBAAgB,GAAG,KAAK,CAA0C,SAAS,uFAAC;AAErF;;;;;AAKG;AACM,IAAA,aAAa,GAAG,KAAK,CAAU,KAAK,oFAAC;AAErC,IAAA,uBAAuB,GAAG,KAAK,CACtC,SAAS,8FACV;;AAGQ,IAAA,SAAS,GAAG,MAAM,CAAC,iBAAiB,CAAC;IAC3B,IAAI,GAAG,iBAAiB,EAAE;IAC1B,MAAM,GAAG,mBAAmB,EAAE;AAChC,IAAA,WAAW,GAC1B,MAAM,CAA0B,UAAU,CAAC,CAAC,aAAa;AAC1C,IAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;IAC3B,cAAc,GAAG,eAAe,CAAC,QAAQ,sFAAI,WAAW,EAAE,IAAI,EAAA,CAAG;AAEjE,IAAA,aAAa,GAAG,YAAY,CAAC,iBAAiB,oFAAC;AAC/C,IAAA,SAAS,GAAG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