1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- import { type ExtractPropTypes, type InjectionKey } from 'vue';
- export declare type StepsDirection = 'horizontal' | 'vertical';
- declare const stepsProps: {
- active: {
- type: (NumberConstructor | StringConstructor)[];
- default: number;
- };
- direction: {
- type: import("vue").PropType<StepsDirection>;
- default: StepsDirection;
- };
- activeIcon: {
- type: import("vue").PropType<string>;
- default: string;
- };
- iconPrefix: StringConstructor;
- finishIcon: StringConstructor;
- activeColor: StringConstructor;
- inactiveIcon: StringConstructor;
- inactiveColor: StringConstructor;
- };
- export declare type StepsProps = ExtractPropTypes<typeof stepsProps>;
- export declare type StepsProvide = {
- props: StepsProps;
- onClickStep: (index: number) => void;
- };
- export declare const STEPS_KEY: InjectionKey<StepsProvide>;
- declare const _default: import("vue").DefineComponent<{
- active: {
- type: (NumberConstructor | StringConstructor)[];
- default: number;
- };
- direction: {
- type: import("vue").PropType<StepsDirection>;
- default: StepsDirection;
- };
- activeIcon: {
- type: import("vue").PropType<string>;
- default: string;
- };
- iconPrefix: StringConstructor;
- finishIcon: StringConstructor;
- activeColor: StringConstructor;
- inactiveIcon: StringConstructor;
- inactiveColor: StringConstructor;
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click-step"[], "click-step", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
- active: {
- type: (NumberConstructor | StringConstructor)[];
- default: number;
- };
- direction: {
- type: import("vue").PropType<StepsDirection>;
- default: StepsDirection;
- };
- activeIcon: {
- type: import("vue").PropType<string>;
- default: string;
- };
- iconPrefix: StringConstructor;
- finishIcon: StringConstructor;
- activeColor: StringConstructor;
- inactiveIcon: StringConstructor;
- inactiveColor: StringConstructor;
- }>> & {
- "onClick-step"?: ((...args: any[]) => any) | undefined;
- }, {
- active: string | number;
- direction: StepsDirection;
- activeIcon: string;
- }>;
- export default _default;
|