homehui
Version:
Vue3 二次封装基础组件文档
101 lines (100 loc) • 3.21 kB
TypeScript
declare const TChart: ({
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
options: {
type: ObjectConstructor;
default: () => {};
};
id: {
type: StringConstructor;
default: () => string;
};
theme: {
type: StringConstructor;
default: string;
};
isEmpty: {
type: (BooleanConstructor | FunctionConstructor)[];
default: boolean;
};
description: {
type: StringConstructor;
default: string;
};
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
id: string;
options: Record<string, any>;
isEmpty: boolean | Function;
description: string;
theme: string;
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import('vue').ExtractPropTypes<{
options: {
type: ObjectConstructor;
default: () => {};
};
id: {
type: StringConstructor;
default: () => string;
};
theme: {
type: StringConstructor;
default: string;
};
isEmpty: {
type: (BooleanConstructor | FunctionConstructor)[];
default: boolean;
};
description: {
type: StringConstructor;
default: string;
};
}>> & Readonly<{}>, {}, {}, {}, {}, {
id: string;
options: Record<string, any>;
isEmpty: boolean | Function;
description: string;
theme: string;
}>;
__isFragment?: undefined;
__isTeleport?: undefined;
__isSuspense?: undefined;
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
options: {
type: ObjectConstructor;
default: () => {};
};
id: {
type: StringConstructor;
default: () => string;
};
theme: {
type: StringConstructor;
default: string;
};
isEmpty: {
type: (BooleanConstructor | FunctionConstructor)[];
default: boolean;
};
description: {
type: StringConstructor;
default: string;
};
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
id: string;
options: Record<string, any>;
isEmpty: boolean | Function;
description: string;
theme: string;
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
$slots: {
empty?(_: {}): any;
default?(_: {}): any;
};
}) & import('vue').Plugin) & Record<string, any>;
export default TChart;