@npmxiaowu/h-ui-plus
Version:
Vue3 中基于Element-plus二次封装基础组件文档
149 lines (148 loc) • 4.92 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<{}>, {
proxy: any;
props: any;
echartRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
chart: import("vue").Ref<any, any>;
emits: (event: string, ...args: any[]) => void;
events: [string, unknown][];
renderChart: () => void;
resizeChart: {
(this: unknown, ...args: any[]): Promise<unknown>;
cancel(): void;
};
setOption: {
(this: unknown, ...args: any[]): Promise<unknown>;
cancel(): void;
};
formatEmpty: import("vue").ComputedRef<any>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
options: Record<string, any>;
id: string;
theme: string;
isEmpty: boolean | Function;
description: 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<{}>, {
proxy: any;
props: any;
echartRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
chart: import("vue").Ref<any, any>;
emits: (event: string, ...args: any[]) => void;
events: [string, unknown][];
renderChart: () => void;
resizeChart: {
(this: unknown, ...args: any[]): Promise<unknown>;
cancel(): void;
};
setOption: {
(this: unknown, ...args: any[]): Promise<unknown>;
cancel(): void;
};
formatEmpty: import("vue").ComputedRef<any>;
}, {}, {}, {}, {
options: Record<string, any>;
id: string;
theme: string;
isEmpty: boolean | Function;
description: 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<{}>, {
proxy: any;
props: any;
echartRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
chart: import("vue").Ref<any, any>;
emits: (event: string, ...args: any[]) => void;
events: [string, unknown][];
renderChart: () => void;
resizeChart: {
(this: unknown, ...args: any[]): Promise<unknown>;
cancel(): void;
};
setOption: {
(this: unknown, ...args: any[]): Promise<unknown>;
cancel(): void;
};
formatEmpty: import("vue").ComputedRef<any>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
options: Record<string, any>;
id: string;
theme: string;
isEmpty: boolean | Function;
description: string;
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & {
label?: string | undefined;
}) & Record<string, any>;
export default TChart;