@wocwin/t-ui-plus
Version:
Page level components developed based on Element Plus.
133 lines (132 loc) • 3.92 kB
TypeScript
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
import { StepItem } from './src/type';
export * from './src/type';
export declare const TStepWizard: {
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
stepData: {
type: PropType< StepItem[]>;
default: () => never[];
};
successTitle: {
type: PropType<string>;
default: string;
};
lastBtnTitle: {
type: PropType<string>;
default: string;
};
active: {
type: PropType<number>;
default: number;
};
isShowLastSuccess: {
type: PropType<boolean>;
default: boolean;
};
}>> & {
onComplete?: ((...args: any[]) => any) | undefined;
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
complete: (...args: any[]) => void;
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
stepData: {
type: PropType< StepItem[]>;
default: () => never[];
};
successTitle: {
type: PropType<string>;
default: string;
};
lastBtnTitle: {
type: PropType<string>;
default: string;
};
active: {
type: PropType<number>;
default: number;
};
isShowLastSuccess: {
type: PropType<boolean>;
default: boolean;
};
}>> & {
onComplete?: ((...args: any[]) => any) | undefined;
}, {
stepData: StepItem[];
successTitle: string;
lastBtnTitle: string;
active: number;
isShowLastSuccess: boolean;
}, true, {}, {}, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly< ExtractPropTypes<{
stepData: {
type: PropType< StepItem[]>;
default: () => never[];
};
successTitle: {
type: PropType<string>;
default: string;
};
lastBtnTitle: {
type: PropType<string>;
default: string;
};
active: {
type: PropType<number>;
default: number;
};
isShowLastSuccess: {
type: PropType<boolean>;
default: boolean;
};
}>> & {
onComplete?: ((...args: any[]) => any) | undefined;
}, {}, {}, {}, {}, {
stepData: StepItem[];
successTitle: string;
lastBtnTitle: string;
active: number;
isShowLastSuccess: boolean;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
stepData: {
type: PropType< StepItem[]>;
default: () => never[];
};
successTitle: {
type: PropType<string>;
default: string;
};
lastBtnTitle: {
type: PropType<string>;
default: string;
};
active: {
type: PropType<number>;
default: number;
};
isShowLastSuccess: {
type: PropType<boolean>;
default: boolean;
};
}>> & {
onComplete?: ((...args: any[]) => any) | undefined;
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
complete: (...args: any[]) => void;
}, string, {
stepData: StepItem[];
successTitle: string;
lastBtnTitle: string;
active: number;
isShowLastSuccess: boolean;
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
$slots: Partial<Record<NonNullable<string | number>, (_: any) => any>> & Partial<Record<string, (_: {}) => any>>;
});