UNPKG

2.4 kBTypeScriptView Raw
1export declare const Watermark: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 gapX: {
3 type: NumberConstructor;
4 default: number;
5 };
6 gapY: {
7 type: NumberConstructor;
8 default: number;
9 };
10 image: StringConstructor;
11 width: {
12 type: NumberConstructor;
13 default: number;
14 };
15 height: {
16 type: NumberConstructor;
17 default: number;
18 };
19 rotate: {
20 type: (NumberConstructor | StringConstructor)[];
21 default: number;
22 };
23 zIndex: (NumberConstructor | StringConstructor)[];
24 content: StringConstructor;
25 opacity: (NumberConstructor | StringConstructor)[];
26 fullPage: {
27 type: BooleanConstructor;
28 default: true;
29 };
30 textColor: {
31 type: import("vue").PropType<string>;
32 default: string;
33 };
34}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35 gapX: {
36 type: NumberConstructor;
37 default: number;
38 };
39 gapY: {
40 type: NumberConstructor;
41 default: number;
42 };
43 image: StringConstructor;
44 width: {
45 type: NumberConstructor;
46 default: number;
47 };
48 height: {
49 type: NumberConstructor;
50 default: number;
51 };
52 rotate: {
53 type: (NumberConstructor | StringConstructor)[];
54 default: number;
55 };
56 zIndex: (NumberConstructor | StringConstructor)[];
57 content: StringConstructor;
58 opacity: (NumberConstructor | StringConstructor)[];
59 fullPage: {
60 type: BooleanConstructor;
61 default: true;
62 };
63 textColor: {
64 type: import("vue").PropType<string>;
65 default: string;
66 };
67}>> & Readonly<{}>, {
68 width: number;
69 height: number;
70 textColor: string;
71 rotate: string | number;
72 gapX: number;
73 gapY: number;
74 fullPage: boolean;
75}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
76export default Watermark;
77export { watermarkProps } from './Watermark';
78export type { WatermarkProps } from './Watermark';
79export type { WatermarkThemeVars } from './types';
80declare module 'vue' {
81 interface GlobalComponents {
82 VanWatermark: typeof Watermark;
83 }
84}