2019-01-01 04:13:51 +00:00
|
|
|
// Project: https://github.com/vueComponent/ant-design-vue
|
|
|
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
|
|
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
import { AntdComponent } from '../component';
|
|
|
|
import { Step } from './step';
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
export declare class Steps extends AntdComponent {
|
2019-01-19 10:56:33 +00:00
|
|
|
static Step: typeof Step;
|
2020-03-07 11:45:13 +00:00
|
|
|
type: 'default' | 'navigation';
|
2019-01-01 04:13:51 +00:00
|
|
|
/**
|
|
|
|
* to set the current step, counting from 0. You can overwrite this state by using status of Step
|
|
|
|
* @default 0
|
|
|
|
* @type number
|
|
|
|
*/
|
|
|
|
current: number;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* set the initial step, counting from 0
|
|
|
|
* @default 0
|
|
|
|
* @type number
|
|
|
|
*/
|
|
|
|
initial: number;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* support vertial title and description
|
|
|
|
* @default 'horizontal'
|
|
|
|
* @type string
|
|
|
|
*/
|
2019-01-12 03:33:27 +00:00
|
|
|
labelPlacement: 'horizontal' | 'vertical';
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* to specify the status of current step, can be set to one of the following values: wait process finish error
|
|
|
|
* @default 'process'
|
|
|
|
* @type string
|
|
|
|
*/
|
2019-01-12 03:33:27 +00:00
|
|
|
status: 'wait' | 'process' | 'finish' | 'error';
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* to specify the size of the step bar, default and small are currently supported
|
|
|
|
* @default 'default'
|
|
|
|
* @type string
|
|
|
|
*/
|
2019-01-12 03:33:27 +00:00
|
|
|
size: 'default' | 'small';
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* to specify the direction of the step bar, horizontal and vertical are currently supported
|
|
|
|
* @default 'horizontal'
|
|
|
|
* @type string
|
|
|
|
*/
|
2019-01-12 03:33:27 +00:00
|
|
|
direction: 'horizontal' | 'vertical';
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Steps with progress dot style, customize the progress dot by setting a scoped slot. labelPlacement will be vertical
|
|
|
|
* @default false
|
|
|
|
* @type boolean | Funtion
|
|
|
|
*/
|
|
|
|
progressDot: boolean | Function;
|
|
|
|
}
|