import * as _angular_core from '@angular/core'; import { TemplateRef } from '@angular/core'; import * as _ng_nest_ui_steps from '@ng-nest/ui/steps'; import * as _ng_nest_ui_core from '@ng-nest/ui/core'; import { XParentIdentityProperty, XDataArray, XNumber, XBoolean } from '@ng-nest/ui/core'; /** * Steps * @selector x-steps * @decorator component */ declare const XStepsPrefix = "x-steps"; declare const XStepsProperty_base: new () => { config: _ng_nest_ui_core.XStepsConfig | undefined; }; /** * Steps Property */ declare class XStepsProperty extends XStepsProperty_base { /** * @zh_CN 节点数据 * @en_US Node data */ readonly data: _angular_core.InputSignalWithTransform>; /** * @zh_CN 布局方式 * @en_US Layout */ readonly layout: _angular_core.InputSignal; /** * @zh_CN 当前激活节点 * @en_US Currently active node */ readonly activatedIndex: _angular_core.InputSignalWithTransform; /** * @zh_CN 步骤开始序号 * @en_US Step start number */ readonly startIndex: _angular_core.InputSignalWithTransform; /** * @zh_CN 当前激活节点状态 * @en_US Current active node status */ readonly status: _angular_core.InputSignal; /** * @zh_CN 自定义节点(22 版本将废弃) * @en_US Custom node (will be deprecated in version 22) */ readonly customTpl: _angular_core.InputSignal | undefined>; /** * @zh_CN 自定义节点图标 * @en_US Custom node icon */ readonly customIconTpl: _angular_core.InputSignal | undefined>; /** * @zh_CN 自定义节点标题 * @en_US Custom node label */ readonly customLabelTpl: _angular_core.InputSignal | undefined>; /** * @zh_CN 自定义节点描述 * @en_US Custom node description */ readonly customDescriptionTpl: _angular_core.InputSignal | undefined>; /** * @zh_CN 节点设置的状态优先,将不会自动计算当前节点,`activatedIndex` 和 `status` 将失效 * @en_US the status set by the node takes precedence, and the current node will not be calculated, `activatedIndex` and `status` will be invalidated */ readonly nodeStatus: _angular_core.InputSignalWithTransform; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } interface XStepsNode extends XParentIdentityProperty { /** * @zh_CN 状态 * @en_US Status */ status?: XStepsStatus; /** * @zh_CN 描述 * @en_US Description */ description?: string; /** * @zh_CN 图标 * @en_US Icon */ icon?: string; } /** * @zh_CN 布局方式 * @en_US Layout */ type XStepsLayout = 'row' | 'column'; /** * @zh_CN 节点状态 * @en_US Node status */ type XStepsStatus = 'wait' | 'process' | 'finish' | 'error'; declare class XStepsComponent extends XStepsProperty { nodes: _angular_core.Signal<_ng_nest_ui_steps.XStepsNode[]>; classMap: _angular_core.Signal<{ [x: string]: boolean; }>; getIndex(index: number): number; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class XStepsModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { XStepsComponent, XStepsModule, XStepsPrefix, XStepsProperty }; export type { XStepsLayout, XStepsNode, XStepsStatus };