@minto-ai/mt-ui
Version:
UI组件库
161 lines (160 loc) • 5.67 kB
TypeScript
export declare const MtQrcode: {
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<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<{}>, {
toImage(): string;
downloadImage(fileName?: string): Promise<void>;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
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;
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
canvasElement: HTMLCanvasElement;
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, 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<{}>, {
toImage(): string;
downloadImage(fileName?: string): Promise<void>;
}, {}, {}, {}, {
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;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import('vue').ComponentOptionsBase<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<{}>, {
toImage(): string;
downloadImage(fileName?: string): Promise<void>;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
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').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
export default MtQrcode;