kui-vue 5.2.3 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/es/index.js +3373 -360
- package/es/locale/de.js +7 -1
- package/es/locale/el.js +7 -1
- package/es/locale/en.js +7 -1
- package/es/locale/fr.js +7 -1
- package/es/locale/it.js +7 -1
- package/es/locale/ja.js +7 -1
- package/es/locale/ko.js +7 -1
- package/es/locale/ru.js +7 -1
- package/es/locale/th.js +7 -1
- package/es/locale/uk.js +7 -1
- package/es/locale/vi.js +7 -1
- package/es/locale/zh-CN.js +7 -1
- package/es/locale/zh-TW.js +7 -1
- package/lib/index.js +2 -2
- package/lib/locale/de.js +2 -2
- package/lib/locale/el.js +2 -2
- package/lib/locale/en.js +2 -2
- package/lib/locale/fr.js +2 -2
- package/lib/locale/it.js +2 -2
- package/lib/locale/ja.js +2 -2
- package/lib/locale/ko.js +2 -2
- package/lib/locale/ru.js +2 -2
- package/lib/locale/th.js +2 -2
- package/lib/locale/uk.js +2 -2
- package/lib/locale/vi.js +2 -2
- package/lib/locale/zh-CN.js +2 -2
- package/lib/locale/zh-TW.js +2 -2
- package/package.json +17 -15
- package/style/index.css +2 -2
- package/types/avatar/avatar-group.d.ts +1 -1
- package/types/color-picker/index.d.ts +1 -1
- package/types/components.d.ts +6 -2
- package/types/date-picker/index.d.ts +1 -1
- package/types/descriptions/descriptions-item.d.ts +1 -1
- package/types/descriptions/{Descriptions.d.ts → descriptions.d.ts} +1 -1
- package/types/divider/index.d.ts +1 -1
- package/types/drawer/index.d.ts +1 -1
- package/types/dropdown/dropdown-button.d.ts +1 -1
- package/types/dropdown/{Dropdown.d.ts → dropdown.d.ts} +1 -1
- package/types/empty/index.d.ts +1 -1
- package/types/flex/index.d.ts +1 -1
- package/types/global.d.ts +8 -4
- package/types/input/input-box.d.ts +1 -1
- package/types/input/input-group.d.ts +1 -1
- package/types/input/{Input.d.ts → input.d.ts} +3 -1
- package/types/input/{TextArea.d.ts → textarea.d.ts} +2 -1
- package/types/input-number/index.d.ts +1 -1
- package/types/layout/index.d.ts +2 -2
- package/types/loading/index.d.ts +1 -1
- package/types/locale/de.d.ts +6 -0
- package/types/locale/el.d.ts +6 -0
- package/types/locale/en.d.ts +6 -0
- package/types/locale/fr.d.ts +6 -0
- package/types/locale/it.d.ts +6 -0
- package/types/locale/ja.d.ts +6 -0
- package/types/locale/ko.d.ts +6 -0
- package/types/locale/ru.d.ts +6 -0
- package/types/locale/th.d.ts +6 -0
- package/types/locale/uk.d.ts +6 -0
- package/types/locale/vi.d.ts +6 -0
- package/types/locale/zh-CN.d.ts +6 -0
- package/types/locale/zh-TW.d.ts +6 -0
- package/types/menu/menu-group.d.ts +1 -1
- package/types/menu/menu-item.d.ts +1 -1
- package/types/menu/{Menu.d.ts → menu.d.ts} +1 -1
- package/types/menu/sub-menu.d.ts +1 -1
- package/types/modal/{Modal.d.ts → modal.d.ts} +1 -1
- package/types/page/index.d.ts +1 -1
- package/types/popconfirm/index.d.ts +1 -1
- package/types/poptip/index.d.ts +1 -1
- package/types/progress/index.d.ts +1 -1
- package/types/qrcode/index.d.ts +165 -0
- package/types/radio/radio-button.d.ts +1 -1
- package/types/radio/radio-group.d.ts +1 -1
- package/types/radio/{Radio.d.ts → radio.d.ts} +1 -1
- package/types/rate/index.d.ts +1 -1
- package/types/rate/star.d.ts +1 -1
- package/types/row-col/{Col.d.ts → col.d.ts} +1 -1
- package/types/row-col/{Row.d.ts → row.d.ts} +1 -1
- package/types/select/{Option.d.ts → option.d.ts} +1 -1
- package/types/select/{Select.d.ts → select.d.ts} +1 -1
- package/types/slider/index.d.ts +1 -1
- package/types/space/index.d.ts +1 -1
- package/types/spin/index.d.ts +1 -1
- package/types/stat-card/stat-card.d.ts +1 -1
- package/types/stat-card/stat-number.d.ts +1 -1
- package/types/switch/index.d.ts +1 -1
- package/types/table/index.d.ts +1 -1
- package/types/tabs/tab-panel.d.ts +1 -1
- package/types/tabs/{Tabs.d.ts → tabs.d.ts} +1 -1
- package/types/tag/index.d.ts +1 -1
- package/types/time-line/timeline-item.d.ts +1 -1
- package/types/time-line/timeline.d.ts +1 -1
- package/types/tooltip/index.d.ts +1 -1
- package/types/tree/index.d.ts +1 -1
- package/types/tree-select/index.d.ts +1 -1
- package/types/upload/file-list.d.ts +1 -1
- package/types/upload/index.d.ts +1 -1
- package/types/upload/selector.d.ts +1 -1
- package/types/watermark/index.d.ts +197 -0
- package/vetur/attributes.json +149 -37
- package/vetur/tags.json +52 -18
- package/vetur/web-types.json +282 -68
- package/types/affix/Affix.d.ts +0 -15
- package/types/alert/Alert.d.ts +0 -19
- package/types/anchor/AnchorLink.d.ts +0 -12
- package/types/avatar/AvatarGroup.d.ts +0 -13
- package/types/backtop/BackTop.d.ts +0 -16
- package/types/badge/Badge.d.ts +0 -18
- package/types/breadcrumb/BreadcrumbItem.d.ts +0 -12
- package/types/button/ButtonGroup.d.ts +0 -12
- package/types/card/Card.d.ts +0 -14
- package/types/carousel/CarouselItem.d.ts +0 -9
- package/types/checkbox/CheckboxGroup.d.ts +0 -19
- package/types/collapse/CollapsePanel.d.ts +0 -12
- package/types/color-picker/ColorPicker.d.ts +0 -28
- package/types/date-picker/DatePicker.d.ts +0 -46
- package/types/descriptions/DescriptionsItem.d.ts +0 -16
- package/types/divider/Divider.d.ts +0 -16
- package/types/drawer/Drawer.d.ts +0 -35
- package/types/dropdown/DropdownButton.d.ts +0 -19
- package/types/empty/Empty.d.ts +0 -13
- package/types/flex/Flex.d.ts +0 -15
- package/types/form/FormItem.d.ts +0 -15
- package/types/grid/GridItem.d.ts +0 -18
- package/types/icon/Icon.d.ts +0 -15
- package/types/image/ImageGroup.d.ts +0 -11
- package/types/image/KImage.d.ts +0 -20
- package/types/input/InputGroup.d.ts +0 -16
- package/types/input-number/InputNumber.d.ts +0 -32
- package/types/layout/sider.d.ts +0 -11
- package/types/loading/loading.d.ts +0 -9
- package/types/menu/MenuDivider.d.ts +0 -9
- package/types/menu/MenuGroup.d.ts +0 -11
- package/types/menu/MenuItem.d.ts +0 -15
- package/types/menu/SubMenu.d.ts +0 -14
- package/types/page/Page.d.ts +0 -27
- package/types/popconfirm/Popconfirm.d.ts +0 -19
- package/types/poptip/Poptip.d.ts +0 -19
- package/types/progress/Progress.d.ts +0 -31
- package/types/radio/RadioButton.d.ts +0 -19
- package/types/radio/RadioGroup.d.ts +0 -20
- package/types/rate/Rate.d.ts +0 -24
- package/types/skeleton/SkeletonAvatar.d.ts +0 -17
- package/types/skeleton/SkeletonButton.d.ts +0 -18
- package/types/skeleton/SkeletonImage.d.ts +0 -16
- package/types/skeleton/SkeletonText.d.ts +0 -16
- package/types/slider/Slider.d.ts +0 -29
- package/types/space/Space.d.ts +0 -17
- package/types/spin/Spin.d.ts +0 -18
- package/types/stat-card/StatCard.d.ts +0 -20
- package/types/stat-card/StatNumber.d.ts +0 -20
- package/types/switch/Switch.d.ts +0 -19
- package/types/table/Table.d.ts +0 -29
- package/types/tabs/TabPanel.d.ts +0 -15
- package/types/tag/Tag.d.ts +0 -18
- package/types/timeline/TimeLine.d.ts +0 -12
- package/types/timeline/TimeLineItem.d.ts +0 -14
- package/types/tooltip/Tooltip.d.ts +0 -20
- package/types/tree/Tree.d.ts +0 -28
- package/types/tree-select/TreeSelect.d.ts +0 -46
- package/types/upload/Upload.d.ts +0 -37
- /package/types/anchor/{Anchor.d.ts → anchor.d.ts} +0 -0
- /package/types/avatar/{Avatar.d.ts → avatar.d.ts} +0 -0
- /package/types/breadcrumb/{Breadcrumb.d.ts → breadcrumb.d.ts} +0 -0
- /package/types/button/{Button.d.ts → button.d.ts} +0 -0
- /package/types/carousel/{Carousel.d.ts → carousel.d.ts} +0 -0
- /package/types/checkbox/{Checkbox.d.ts → checkbox.d.ts} +0 -0
- /package/types/collapse/{Collapse.d.ts → collapse.d.ts} +0 -0
- /package/types/form/{Form.d.ts → form.d.ts} +0 -0
- /package/types/grid/{Grid.d.ts → grid.d.ts} +0 -0
- /package/types/skeleton/{Skeleton.d.ts → skeleton.d.ts} +0 -0
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { BooleanType } from '../const/types';
|
|
3
|
+
export type QRCodeStatus = "active" | "loading" | "expired" | "scanned";
|
|
4
|
+
export type QRCodeErrorLevel = "L" | "M" | "Q" | "H";
|
|
5
|
+
declare const qrCodeProps: {
|
|
6
|
+
value: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: boolean;
|
|
9
|
+
};
|
|
10
|
+
size: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
colorDark: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
colorLight: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
bordered: {
|
|
23
|
+
type: BooleanType;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
status: {
|
|
27
|
+
type: PropType<QRCodeStatus>;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
logo: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
logoSize: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
};
|
|
37
|
+
margin: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
logoRadius: {
|
|
42
|
+
type: NumberConstructor;
|
|
43
|
+
default: number;
|
|
44
|
+
};
|
|
45
|
+
logoBorder: {
|
|
46
|
+
type: BooleanType;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
errorLevel: {
|
|
50
|
+
type: PropType<QRCodeErrorLevel>;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
export type QRCodeProps = ExtractPropTypes<typeof qrCodeProps>;
|
|
55
|
+
declare const QRCode: import('vue').DefineComponent<ExtractPropTypes<{
|
|
56
|
+
value: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
required: boolean;
|
|
59
|
+
};
|
|
60
|
+
size: {
|
|
61
|
+
type: NumberConstructor;
|
|
62
|
+
default: number;
|
|
63
|
+
};
|
|
64
|
+
colorDark: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
colorLight: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
bordered: {
|
|
73
|
+
type: BooleanType;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
status: {
|
|
77
|
+
type: PropType<QRCodeStatus>;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
logo: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
logoSize: {
|
|
85
|
+
type: NumberConstructor;
|
|
86
|
+
};
|
|
87
|
+
margin: {
|
|
88
|
+
type: NumberConstructor;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
logoRadius: {
|
|
92
|
+
type: NumberConstructor;
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
|
+
logoBorder: {
|
|
96
|
+
type: BooleanType;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
errorLevel: {
|
|
100
|
+
type: PropType<QRCodeErrorLevel>;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "refresh"[], "refresh", import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
104
|
+
value: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
required: boolean;
|
|
107
|
+
};
|
|
108
|
+
size: {
|
|
109
|
+
type: NumberConstructor;
|
|
110
|
+
default: number;
|
|
111
|
+
};
|
|
112
|
+
colorDark: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
colorLight: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
bordered: {
|
|
121
|
+
type: BooleanType;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
status: {
|
|
125
|
+
type: PropType<QRCodeStatus>;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
logo: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
logoSize: {
|
|
133
|
+
type: NumberConstructor;
|
|
134
|
+
};
|
|
135
|
+
margin: {
|
|
136
|
+
type: NumberConstructor;
|
|
137
|
+
default: number;
|
|
138
|
+
};
|
|
139
|
+
logoRadius: {
|
|
140
|
+
type: NumberConstructor;
|
|
141
|
+
default: number;
|
|
142
|
+
};
|
|
143
|
+
logoBorder: {
|
|
144
|
+
type: BooleanType;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
147
|
+
errorLevel: {
|
|
148
|
+
type: PropType<QRCodeErrorLevel>;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
}>> & Readonly<{
|
|
152
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
153
|
+
}>, {
|
|
154
|
+
margin: number;
|
|
155
|
+
size: number;
|
|
156
|
+
bordered: boolean | undefined;
|
|
157
|
+
status: QRCodeStatus;
|
|
158
|
+
colorDark: string;
|
|
159
|
+
colorLight: string;
|
|
160
|
+
logo: string;
|
|
161
|
+
logoRadius: number;
|
|
162
|
+
logoBorder: boolean | undefined;
|
|
163
|
+
errorLevel: QRCodeErrorLevel;
|
|
164
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
165
|
+
export default QRCode;
|
|
@@ -2,7 +2,7 @@ import { ExtractPropTypes, PropType } from 'vue';
|
|
|
2
2
|
import { BooleanType, ShapeType, SizeType } from '../const/types';
|
|
3
3
|
import { IconType } from '../icon';
|
|
4
4
|
import { ChangeEvent } from './types';
|
|
5
|
-
|
|
5
|
+
declare const radioButtonProps: {
|
|
6
6
|
modelValue: {
|
|
7
7
|
type: BooleanConstructor[];
|
|
8
8
|
default: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { BooleanType, SizeType, ThemeType } from '../const/types';
|
|
3
3
|
import { ChangeEvent } from './types';
|
|
4
|
-
|
|
4
|
+
declare const radioProps: {
|
|
5
5
|
modelValue: {
|
|
6
6
|
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
7
7
|
default: boolean;
|
package/types/rate/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { BooleanType, SizeType } from '../const/types';
|
|
3
3
|
import { IconType } from '../icon';
|
|
4
|
-
|
|
4
|
+
declare const rateProps: {
|
|
5
5
|
modelValue: {
|
|
6
6
|
type: NumberConstructor;
|
|
7
7
|
default: number;
|
package/types/rate/star.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { BooleanType } from '../const/types';
|
|
3
|
-
|
|
3
|
+
declare const starProps: {
|
|
4
4
|
character: PropType<string | ((index: number) => any)>;
|
|
5
5
|
tooltips: StringConstructor;
|
|
6
6
|
percent: NumberConstructor;
|
package/types/slider/index.d.ts
CHANGED
package/types/space/index.d.ts
CHANGED
package/types/spin/index.d.ts
CHANGED
package/types/switch/index.d.ts
CHANGED
package/types/table/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { BooleanType } from '../const/types';
|
|
3
3
|
import { IconType } from '../icon';
|
|
4
|
-
|
|
4
|
+
declare const tabPanelProps: {
|
|
5
5
|
title: StringConstructor;
|
|
6
6
|
icon: PropType<IconType[]>;
|
|
7
7
|
disabled: BooleanType;
|
package/types/tag/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { BooleanType, ColorType, ShapeType, SizeType, ThemeType } from '../const/types';
|
|
3
|
-
|
|
3
|
+
declare const tagProps: {
|
|
4
4
|
closeable: BooleanType;
|
|
5
5
|
color: ColorType;
|
|
6
6
|
shape: PropType<ShapeType>;
|
package/types/tooltip/index.d.ts
CHANGED
package/types/tree/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { IconType } from '../icon';
|
|
|
4
4
|
import { TreeExpandEvent } from '../tree';
|
|
5
5
|
import { TreeNode } from '../tree/utils';
|
|
6
6
|
type TreeSelectValue = string | string[] | null | undefined;
|
|
7
|
-
|
|
7
|
+
declare const treeSelectProps: {
|
|
8
8
|
placeholder: StringConstructor;
|
|
9
9
|
size: {
|
|
10
10
|
type: PropType<SizeType>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { BooleanType } from '../const/types';
|
|
3
3
|
import { UploadFile } from './index';
|
|
4
|
-
|
|
4
|
+
declare const uploadFileListProps: {
|
|
5
5
|
showUploadList: {
|
|
6
6
|
type: BooleanType;
|
|
7
7
|
default: boolean;
|
package/types/upload/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { BooleanType } from '../const/types';
|
|
3
3
|
import { UploadFile } from './index';
|
|
4
|
-
|
|
4
|
+
declare const selectorProps: {
|
|
5
5
|
disabled: BooleanType;
|
|
6
6
|
name: {
|
|
7
7
|
type: StringConstructor;
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { BooleanType } from '../const/types';
|
|
3
|
+
export interface Font {
|
|
4
|
+
color?: string;
|
|
5
|
+
fontSize?: number;
|
|
6
|
+
fontWeight?: string | number;
|
|
7
|
+
fontFamily?: string;
|
|
8
|
+
fontStyle?: "normal" | "italic" | "oblique";
|
|
9
|
+
}
|
|
10
|
+
export interface WatermarkTextItem extends Font {
|
|
11
|
+
text: string;
|
|
12
|
+
}
|
|
13
|
+
export type WatermarkLayoutType = "stagger" | "grid";
|
|
14
|
+
declare const watermarkProps: {
|
|
15
|
+
content: {
|
|
16
|
+
type: PropType<string | string[] | WatermarkTextItem[]>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
image: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
width: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
height: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
rotate: {
|
|
32
|
+
type: NumberConstructor;
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
zIndex: {
|
|
36
|
+
type: NumberConstructor;
|
|
37
|
+
default: number;
|
|
38
|
+
};
|
|
39
|
+
fullscreen: {
|
|
40
|
+
type: BooleanType;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
antiTamper: {
|
|
44
|
+
type: BooleanType;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
font: {
|
|
48
|
+
type: PropType<Font>;
|
|
49
|
+
default: () => {
|
|
50
|
+
color: string;
|
|
51
|
+
fontSize: number;
|
|
52
|
+
fontWeight: string;
|
|
53
|
+
fontFamily: string;
|
|
54
|
+
fontStyle: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
gap: {
|
|
58
|
+
type: PropType<number[]>;
|
|
59
|
+
default: () => number[];
|
|
60
|
+
};
|
|
61
|
+
offset: {
|
|
62
|
+
type: PropType<number[]>;
|
|
63
|
+
default: () => number[];
|
|
64
|
+
};
|
|
65
|
+
layout: {
|
|
66
|
+
type: PropType<WatermarkLayoutType>;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
export type WatermarkProps = ExtractPropTypes<typeof watermarkProps>;
|
|
71
|
+
declare const Watermark: import('vue').DefineComponent<ExtractPropTypes<{
|
|
72
|
+
content: {
|
|
73
|
+
type: PropType<string | string[] | WatermarkTextItem[]>;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
image: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
width: {
|
|
81
|
+
type: NumberConstructor;
|
|
82
|
+
default: number;
|
|
83
|
+
};
|
|
84
|
+
height: {
|
|
85
|
+
type: NumberConstructor;
|
|
86
|
+
default: number;
|
|
87
|
+
};
|
|
88
|
+
rotate: {
|
|
89
|
+
type: NumberConstructor;
|
|
90
|
+
default: number;
|
|
91
|
+
};
|
|
92
|
+
zIndex: {
|
|
93
|
+
type: NumberConstructor;
|
|
94
|
+
default: number;
|
|
95
|
+
};
|
|
96
|
+
fullscreen: {
|
|
97
|
+
type: BooleanType;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
antiTamper: {
|
|
101
|
+
type: BooleanType;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
font: {
|
|
105
|
+
type: PropType<Font>;
|
|
106
|
+
default: () => {
|
|
107
|
+
color: string;
|
|
108
|
+
fontSize: number;
|
|
109
|
+
fontWeight: string;
|
|
110
|
+
fontFamily: string;
|
|
111
|
+
fontStyle: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
gap: {
|
|
115
|
+
type: PropType<number[]>;
|
|
116
|
+
default: () => number[];
|
|
117
|
+
};
|
|
118
|
+
offset: {
|
|
119
|
+
type: PropType<number[]>;
|
|
120
|
+
default: () => number[];
|
|
121
|
+
};
|
|
122
|
+
layout: {
|
|
123
|
+
type: PropType<WatermarkLayoutType>;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
127
|
+
[key: string]: any;
|
|
128
|
+
}>[] | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
129
|
+
content: {
|
|
130
|
+
type: PropType<string | string[] | WatermarkTextItem[]>;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
image: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
width: {
|
|
138
|
+
type: NumberConstructor;
|
|
139
|
+
default: number;
|
|
140
|
+
};
|
|
141
|
+
height: {
|
|
142
|
+
type: NumberConstructor;
|
|
143
|
+
default: number;
|
|
144
|
+
};
|
|
145
|
+
rotate: {
|
|
146
|
+
type: NumberConstructor;
|
|
147
|
+
default: number;
|
|
148
|
+
};
|
|
149
|
+
zIndex: {
|
|
150
|
+
type: NumberConstructor;
|
|
151
|
+
default: number;
|
|
152
|
+
};
|
|
153
|
+
fullscreen: {
|
|
154
|
+
type: BooleanType;
|
|
155
|
+
default: boolean;
|
|
156
|
+
};
|
|
157
|
+
antiTamper: {
|
|
158
|
+
type: BooleanType;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
font: {
|
|
162
|
+
type: PropType<Font>;
|
|
163
|
+
default: () => {
|
|
164
|
+
color: string;
|
|
165
|
+
fontSize: number;
|
|
166
|
+
fontWeight: string;
|
|
167
|
+
fontFamily: string;
|
|
168
|
+
fontStyle: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
gap: {
|
|
172
|
+
type: PropType<number[]>;
|
|
173
|
+
default: () => number[];
|
|
174
|
+
};
|
|
175
|
+
offset: {
|
|
176
|
+
type: PropType<number[]>;
|
|
177
|
+
default: () => number[];
|
|
178
|
+
};
|
|
179
|
+
layout: {
|
|
180
|
+
type: PropType<WatermarkLayoutType>;
|
|
181
|
+
default: string;
|
|
182
|
+
};
|
|
183
|
+
}>> & Readonly<{}>, {
|
|
184
|
+
content: string | string[] | WatermarkTextItem[];
|
|
185
|
+
height: number;
|
|
186
|
+
rotate: number;
|
|
187
|
+
width: number;
|
|
188
|
+
zIndex: number;
|
|
189
|
+
font: Font;
|
|
190
|
+
gap: number[];
|
|
191
|
+
offset: number[];
|
|
192
|
+
image: string;
|
|
193
|
+
layout: WatermarkLayoutType;
|
|
194
|
+
fullscreen: boolean | undefined;
|
|
195
|
+
antiTamper: boolean | undefined;
|
|
196
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
197
|
+
export default Watermark;
|