@minto-ai/mt-ui
Version:
UI组件库
89 lines (88 loc) • 2.79 kB
TypeScript
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
readonly value: {
readonly type: StringConstructor;
readonly required: true;
readonly default: "";
};
readonly size: {
readonly type: NumberConstructor;
readonly default: 100;
};
readonly margin: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly colorDark: {
readonly type: StringConstructor;
readonly default: "#000000";
};
readonly colorLight: {
readonly type: StringConstructor;
readonly default: "#ffffff";
};
readonly errorLevel: {
readonly type: import('vue').PropType<"L" | "M" | "Q" | "H">;
readonly default: "M";
readonly validator: (value: string) => boolean;
};
readonly logo: {
readonly type: StringConstructor;
readonly default: "";
};
readonly logoSize: {
readonly type: NumberConstructor;
readonly default: 0.2;
readonly validator: (value: number) => boolean;
};
}>, {
toImage(): string;
downloadImage(fileName?: string): Promise<void>;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
readonly value: {
readonly type: StringConstructor;
readonly required: true;
readonly default: "";
};
readonly size: {
readonly type: NumberConstructor;
readonly default: 100;
};
readonly margin: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly colorDark: {
readonly type: StringConstructor;
readonly default: "#000000";
};
readonly colorLight: {
readonly type: StringConstructor;
readonly default: "#ffffff";
};
readonly errorLevel: {
readonly type: import('vue').PropType<"L" | "M" | "Q" | "H">;
readonly default: "M";
readonly validator: (value: string) => boolean;
};
readonly logo: {
readonly type: StringConstructor;
readonly default: "";
};
readonly logoSize: {
readonly type: NumberConstructor;
readonly default: 0.2;
readonly validator: (value: number) => boolean;
};
}>> & Readonly<{}>, {
readonly value: string;
readonly size: number;
readonly margin: number;
readonly colorDark: string;
readonly colorLight: string;
readonly errorLevel: "M" | "L" | "Q" | "H";
readonly logo: string;
readonly logoSize: number;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
canvasElement: HTMLCanvasElement;
}, HTMLDivElement>;
export default _default;