projects/common/stepper/stepper-host.token.ts
import { CngxStepNode } from '@cngx/common/stepper'
Step-tree node. Either a terminal step (has its own panel) or a group carrying nested children. Discriminated by kind.
step
group
kind
unknown
Direct children for group nodes; empty for step nodes.
number
DFS depth (root = 0).
Signal
Optional error aggregator signal for badge / SR phrasing.
Message carried by a direct [error] string input on the step, or undefined when [error] is boolean / absent. Pure data carrier read by the *cngxStepError slot + the mini-skin aggregate line - not a swap surface.
[error]
undefined
*cngxStepError
Flat-projection index inside flatSteps(). -1 for groups.
flatSteps()
string
"step" | "group"
string | null
Parent group id, or null for root.
null
Live step status. Reactive to commit-controller + aggregator.