| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- import { type ExtractPropTypes, type InjectionKey } from 'vue';
- export type StepsDirection = 'horizontal' | 'vertical';
- export 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 type StepsProps = ExtractPropTypes<typeof stepsProps>;
- export 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, "clickStep"[], "clickStep", 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;
- }>> & {
- onClickStep?: ((...args: any[]) => any) | undefined;
- }, {
- active: string | number;
- direction: StepsDirection;
- activeIcon: string;
- }>;
- export default _default;
|