1 | import { type ExtractPropTypes, type InjectionKey } from 'vue';
|
2 | export type StepsDirection = 'horizontal' | 'vertical';
|
3 | export declare const stepsProps: {
|
4 | active: {
|
5 | type: (NumberConstructor | StringConstructor)[];
|
6 | default: number;
|
7 | };
|
8 | direction: {
|
9 | type: import("vue").PropType<StepsDirection>;
|
10 | default: StepsDirection;
|
11 | };
|
12 | activeIcon: {
|
13 | type: import("vue").PropType<string>;
|
14 | default: string;
|
15 | };
|
16 | iconPrefix: StringConstructor;
|
17 | finishIcon: StringConstructor;
|
18 | activeColor: StringConstructor;
|
19 | inactiveIcon: StringConstructor;
|
20 | inactiveColor: StringConstructor;
|
21 | };
|
22 | export type StepsProps = ExtractPropTypes<typeof stepsProps>;
|
23 | export type StepsProvide = {
|
24 | props: StepsProps;
|
25 | onClickStep: (index: number) => void;
|
26 | };
|
27 | export declare const STEPS_KEY: InjectionKey<StepsProvide>;
|
28 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
29 | active: {
|
30 | type: (NumberConstructor | StringConstructor)[];
|
31 | default: number;
|
32 | };
|
33 | direction: {
|
34 | type: import("vue").PropType<StepsDirection>;
|
35 | default: StepsDirection;
|
36 | };
|
37 | activeIcon: {
|
38 | type: import("vue").PropType<string>;
|
39 | default: string;
|
40 | };
|
41 | iconPrefix: StringConstructor;
|
42 | finishIcon: StringConstructor;
|
43 | activeColor: StringConstructor;
|
44 | inactiveIcon: StringConstructor;
|
45 | inactiveColor: StringConstructor;
|
46 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickStep"[], "clickStep", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
47 | active: {
|
48 | type: (NumberConstructor | StringConstructor)[];
|
49 | default: number;
|
50 | };
|
51 | direction: {
|
52 | type: import("vue").PropType<StepsDirection>;
|
53 | default: StepsDirection;
|
54 | };
|
55 | activeIcon: {
|
56 | type: import("vue").PropType<string>;
|
57 | default: string;
|
58 | };
|
59 | iconPrefix: StringConstructor;
|
60 | finishIcon: StringConstructor;
|
61 | activeColor: StringConstructor;
|
62 | inactiveIcon: StringConstructor;
|
63 | inactiveColor: StringConstructor;
|
64 | }>> & Readonly<{
|
65 | onClickStep?: ((...args: any[]) => any) | undefined;
|
66 | }>, {
|
67 | active: string | number;
|
68 | direction: StepsDirection;
|
69 | activeIcon: string;
|
70 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
71 | export default _default;
|
72 |
|
\ | No newline at end of file |