mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
* add typings into package.json * add typings for global instance api * add common component definition * add layout components' definition * add icons definition * add component size definition * add component description * add button definition * add radio definition * add checkbox definition * add input definitions * add input-number definition * add select definition * add cascader definition * add switch definition * add slider definition * add time picker definition * add date picker definition * add upload definition * add rate definition * add color picker definition * add form definition * add tooltip definition * add table definition * rename TextAlignment to Horizontal alignment * add tag definition * add progress definition * add tree definition * add pagination definition * add badge definition * add alert definition * fix typo * Loading: add definition * Message: add definition * Loading: remove unnecessary declare keyword * MessageBox: add definition * Notification: add definition * Menu: add definition * Tabs: add definition * Breadcrumb: add definition * Dropdown: add definition * Steps: add definition * Dialog: add definition * Popover: add definition * Card: add definition * Carousel: add definition * Collapse: add definition * Loading: update description * some $message method params should be optional * Select: update definition * DatePicker: update definition
29 lines
852 B
TypeScript
29 lines
852 B
TypeScript
import { ElementUIComponent } from './component'
|
|
import { StepStatus } from './step'
|
|
|
|
export type StepsDirection = 'vertical' | 'horizontal'
|
|
|
|
/** Guide the user to complete tasks in accordance with the process. Its steps can be set according to the actual application scenario and the number of the steps can't be less than 2. */
|
|
export declare class ElSteps extends ElementUIComponent {
|
|
/** The spacing of each step, will be responsive if omitted. Support percentage. */
|
|
space: number | string
|
|
|
|
/** Display direction */
|
|
direction: StepsDirection
|
|
|
|
/** Current activation step */
|
|
active: number
|
|
|
|
/** Status of current step */
|
|
processStatus: StepStatus
|
|
|
|
/** Status of end step */
|
|
finishStatus: StepStatus
|
|
|
|
/** Whether step description is centered */
|
|
alignCenter: boolean
|
|
|
|
/** Center whole Steps component */
|
|
center: boolean
|
|
}
|