ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
44 lines (43 loc) • 1.62 kB
TypeScript
/**
* @license
* Copyright Alibaba.com All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { AfterContentInit, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
import { NgClassType, NzSizeDSType } from 'ng-zorro-antd/core';
import { NzStepComponent } from './nz-step.component';
export declare type NzDirectionType = 'horizontal' | 'vertical';
export declare type NzStatusType = 'wait' | 'process' | 'finish' | 'error';
export declare class NzStepsComponent implements OnChanges, OnInit, OnDestroy, AfterContentInit {
steps: QueryList<NzStepComponent>;
nzCurrent: number;
nzDirection: NzDirectionType;
nzLabelPlacement: 'horizontal' | 'vertical';
nzType: 'default' | 'navigation';
nzSize: NzSizeDSType;
nzStartIndex: number;
nzStatus: NzStatusType;
nzProgressDot: boolean | TemplateRef<{
$implicit: TemplateRef<void>;
status: string;
index: number;
}>;
readonly nzIndexChange: EventEmitter<number>;
private destroy$;
private indexChangeSubscription;
showProcessDot: boolean;
customProcessDotTemplate: TemplateRef<{
$implicit: TemplateRef<void>;
status: string;
index: number;
}>;
classMap: NgClassType;
ngOnChanges(changes: SimpleChanges): void;
ngOnInit(): void;
ngOnDestroy(): void;
ngAfterContentInit(): void;
private updateChildrenSteps;
private setClassMap;
}