UNPKG

2.1 kBTypeScriptView Raw
1export declare const Signature: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 tips: StringConstructor;
3 type: {
4 type: import("vue").PropType<string>;
5 default: string;
6 };
7 penColor: {
8 type: import("vue").PropType<string>;
9 default: string;
10 };
11 lineWidth: {
12 type: NumberConstructor;
13 default: number;
14 };
15 clearButtonText: StringConstructor;
16 backgroundColor: {
17 type: import("vue").PropType<string>;
18 default: string;
19 };
20 confirmButtonText: StringConstructor;
21}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "clear" | "start" | "end" | "signing")[], "submit" | "clear" | "start" | "end" | "signing", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22 tips: StringConstructor;
23 type: {
24 type: import("vue").PropType<string>;
25 default: string;
26 };
27 penColor: {
28 type: import("vue").PropType<string>;
29 default: string;
30 };
31 lineWidth: {
32 type: NumberConstructor;
33 default: number;
34 };
35 clearButtonText: StringConstructor;
36 backgroundColor: {
37 type: import("vue").PropType<string>;
38 default: string;
39 };
40 confirmButtonText: StringConstructor;
41}>> & Readonly<{
42 onSubmit?: ((...args: any[]) => any) | undefined;
43 onClear?: ((...args: any[]) => any) | undefined;
44 onStart?: ((...args: any[]) => any) | undefined;
45 onEnd?: ((...args: any[]) => any) | undefined;
46 onSigning?: ((...args: any[]) => any) | undefined;
47}>, {
48 type: string;
49 backgroundColor: string;
50 lineWidth: number;
51 penColor: string;
52}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
53export default Signature;
54export type { SignatureProps } from './Signature';
55export type { SignatureInstance, SignatureThemeVars } from './types';
56declare module 'vue' {
57 interface GlobalComponents {
58 Signature: typeof Signature;
59 }
60}
61
\No newline at end of file