kui-vue 5.2.3 → 5.3.1

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.
Files changed (176) hide show
  1. package/dist/index.js +2 -2
  2. package/es/index.js +3386 -358
  3. package/es/locale/de.js +7 -1
  4. package/es/locale/el.js +7 -1
  5. package/es/locale/en.js +7 -1
  6. package/es/locale/fr.js +7 -1
  7. package/es/locale/it.js +7 -1
  8. package/es/locale/ja.js +7 -1
  9. package/es/locale/ko.js +7 -1
  10. package/es/locale/ru.js +7 -1
  11. package/es/locale/th.js +7 -1
  12. package/es/locale/uk.js +7 -1
  13. package/es/locale/vi.js +7 -1
  14. package/es/locale/zh-CN.js +7 -1
  15. package/es/locale/zh-TW.js +7 -1
  16. package/lib/index.js +2 -2
  17. package/lib/locale/de.js +2 -2
  18. package/lib/locale/el.js +2 -2
  19. package/lib/locale/en.js +2 -2
  20. package/lib/locale/fr.js +2 -2
  21. package/lib/locale/it.js +2 -2
  22. package/lib/locale/ja.js +2 -2
  23. package/lib/locale/ko.js +2 -2
  24. package/lib/locale/ru.js +2 -2
  25. package/lib/locale/th.js +2 -2
  26. package/lib/locale/uk.js +2 -2
  27. package/lib/locale/vi.js +2 -2
  28. package/lib/locale/zh-CN.js +2 -2
  29. package/lib/locale/zh-TW.js +2 -2
  30. package/package.json +17 -15
  31. package/style/index.css +2 -2
  32. package/types/avatar/avatar-group.d.ts +1 -1
  33. package/types/color-picker/index.d.ts +1 -1
  34. package/types/components.d.ts +6 -2
  35. package/types/date-picker/index.d.ts +1 -1
  36. package/types/descriptions/descriptions-item.d.ts +1 -1
  37. package/types/descriptions/{Descriptions.d.ts → descriptions.d.ts} +1 -1
  38. package/types/divider/index.d.ts +1 -1
  39. package/types/drawer/index.d.ts +1 -1
  40. package/types/dropdown/dropdown-button.d.ts +1 -1
  41. package/types/dropdown/{Dropdown.d.ts → dropdown.d.ts} +1 -1
  42. package/types/empty/index.d.ts +1 -1
  43. package/types/flex/index.d.ts +1 -1
  44. package/types/global.d.ts +8 -4
  45. package/types/input/input-box.d.ts +1 -1
  46. package/types/input/input-group.d.ts +1 -1
  47. package/types/input/{Input.d.ts → input.d.ts} +3 -1
  48. package/types/input/{TextArea.d.ts → textarea.d.ts} +2 -1
  49. package/types/input-number/index.d.ts +1 -1
  50. package/types/layout/index.d.ts +2 -2
  51. package/types/loading/index.d.ts +1 -1
  52. package/types/locale/de.d.ts +6 -0
  53. package/types/locale/el.d.ts +6 -0
  54. package/types/locale/en.d.ts +6 -0
  55. package/types/locale/fr.d.ts +6 -0
  56. package/types/locale/it.d.ts +6 -0
  57. package/types/locale/ja.d.ts +6 -0
  58. package/types/locale/ko.d.ts +6 -0
  59. package/types/locale/ru.d.ts +6 -0
  60. package/types/locale/th.d.ts +6 -0
  61. package/types/locale/uk.d.ts +6 -0
  62. package/types/locale/vi.d.ts +6 -0
  63. package/types/locale/zh-CN.d.ts +6 -0
  64. package/types/locale/zh-TW.d.ts +6 -0
  65. package/types/menu/menu-group.d.ts +1 -1
  66. package/types/menu/menu-item.d.ts +1 -1
  67. package/types/menu/{Menu.d.ts → menu.d.ts} +1 -1
  68. package/types/menu/sub-menu.d.ts +1 -1
  69. package/types/message/index.d.ts +2 -0
  70. package/types/modal/{Modal.d.ts → modal.d.ts} +1 -1
  71. package/types/notice/content.d.ts +3 -0
  72. package/types/page/index.d.ts +1 -1
  73. package/types/popconfirm/index.d.ts +1 -1
  74. package/types/poptip/index.d.ts +1 -1
  75. package/types/progress/index.d.ts +1 -1
  76. package/types/qrcode/index.d.ts +165 -0
  77. package/types/radio/radio-button.d.ts +1 -1
  78. package/types/radio/radio-group.d.ts +1 -1
  79. package/types/radio/{Radio.d.ts → radio.d.ts} +1 -1
  80. package/types/rate/index.d.ts +1 -1
  81. package/types/rate/star.d.ts +1 -1
  82. package/types/row-col/{Col.d.ts → col.d.ts} +1 -1
  83. package/types/row-col/{Row.d.ts → row.d.ts} +1 -1
  84. package/types/select/{Option.d.ts → option.d.ts} +1 -1
  85. package/types/select/{Select.d.ts → select.d.ts} +1 -1
  86. package/types/slider/index.d.ts +1 -1
  87. package/types/space/index.d.ts +1 -1
  88. package/types/spin/index.d.ts +1 -1
  89. package/types/stat-card/stat-card.d.ts +1 -1
  90. package/types/stat-card/stat-number.d.ts +1 -1
  91. package/types/switch/index.d.ts +1 -1
  92. package/types/table/index.d.ts +1 -1
  93. package/types/tabs/tab-panel.d.ts +1 -1
  94. package/types/tabs/{Tabs.d.ts → tabs.d.ts} +1 -1
  95. package/types/tag/index.d.ts +1 -1
  96. package/types/time-line/timeline-item.d.ts +1 -1
  97. package/types/time-line/timeline.d.ts +1 -1
  98. package/types/tooltip/index.d.ts +1 -1
  99. package/types/tree/index.d.ts +1 -1
  100. package/types/tree-select/index.d.ts +1 -1
  101. package/types/upload/file-list.d.ts +1 -1
  102. package/types/upload/index.d.ts +1 -1
  103. package/types/upload/selector.d.ts +1 -1
  104. package/types/watermark/index.d.ts +197 -0
  105. package/vetur/attributes.json +149 -37
  106. package/vetur/tags.json +52 -18
  107. package/vetur/web-types.json +282 -68
  108. package/types/affix/Affix.d.ts +0 -15
  109. package/types/alert/Alert.d.ts +0 -19
  110. package/types/anchor/AnchorLink.d.ts +0 -12
  111. package/types/avatar/AvatarGroup.d.ts +0 -13
  112. package/types/backtop/BackTop.d.ts +0 -16
  113. package/types/badge/Badge.d.ts +0 -18
  114. package/types/breadcrumb/BreadcrumbItem.d.ts +0 -12
  115. package/types/button/ButtonGroup.d.ts +0 -12
  116. package/types/card/Card.d.ts +0 -14
  117. package/types/carousel/CarouselItem.d.ts +0 -9
  118. package/types/checkbox/CheckboxGroup.d.ts +0 -19
  119. package/types/collapse/CollapsePanel.d.ts +0 -12
  120. package/types/color-picker/ColorPicker.d.ts +0 -28
  121. package/types/date-picker/DatePicker.d.ts +0 -46
  122. package/types/descriptions/DescriptionsItem.d.ts +0 -16
  123. package/types/divider/Divider.d.ts +0 -16
  124. package/types/drawer/Drawer.d.ts +0 -35
  125. package/types/dropdown/DropdownButton.d.ts +0 -19
  126. package/types/empty/Empty.d.ts +0 -13
  127. package/types/flex/Flex.d.ts +0 -15
  128. package/types/form/FormItem.d.ts +0 -15
  129. package/types/grid/GridItem.d.ts +0 -18
  130. package/types/icon/Icon.d.ts +0 -15
  131. package/types/image/ImageGroup.d.ts +0 -11
  132. package/types/image/KImage.d.ts +0 -20
  133. package/types/input/InputGroup.d.ts +0 -16
  134. package/types/input-number/InputNumber.d.ts +0 -32
  135. package/types/layout/sider.d.ts +0 -11
  136. package/types/loading/loading.d.ts +0 -9
  137. package/types/menu/MenuDivider.d.ts +0 -9
  138. package/types/menu/MenuGroup.d.ts +0 -11
  139. package/types/menu/MenuItem.d.ts +0 -15
  140. package/types/menu/SubMenu.d.ts +0 -14
  141. package/types/page/Page.d.ts +0 -27
  142. package/types/popconfirm/Popconfirm.d.ts +0 -19
  143. package/types/poptip/Poptip.d.ts +0 -19
  144. package/types/progress/Progress.d.ts +0 -31
  145. package/types/radio/RadioButton.d.ts +0 -19
  146. package/types/radio/RadioGroup.d.ts +0 -20
  147. package/types/rate/Rate.d.ts +0 -24
  148. package/types/skeleton/SkeletonAvatar.d.ts +0 -17
  149. package/types/skeleton/SkeletonButton.d.ts +0 -18
  150. package/types/skeleton/SkeletonImage.d.ts +0 -16
  151. package/types/skeleton/SkeletonText.d.ts +0 -16
  152. package/types/slider/Slider.d.ts +0 -29
  153. package/types/space/Space.d.ts +0 -17
  154. package/types/spin/Spin.d.ts +0 -18
  155. package/types/stat-card/StatCard.d.ts +0 -20
  156. package/types/stat-card/StatNumber.d.ts +0 -20
  157. package/types/switch/Switch.d.ts +0 -19
  158. package/types/table/Table.d.ts +0 -29
  159. package/types/tabs/TabPanel.d.ts +0 -15
  160. package/types/tag/Tag.d.ts +0 -18
  161. package/types/timeline/TimeLine.d.ts +0 -12
  162. package/types/timeline/TimeLineItem.d.ts +0 -14
  163. package/types/tooltip/Tooltip.d.ts +0 -20
  164. package/types/tree/Tree.d.ts +0 -28
  165. package/types/tree-select/TreeSelect.d.ts +0 -46
  166. package/types/upload/Upload.d.ts +0 -37
  167. /package/types/anchor/{Anchor.d.ts → anchor.d.ts} +0 -0
  168. /package/types/avatar/{Avatar.d.ts → avatar.d.ts} +0 -0
  169. /package/types/breadcrumb/{Breadcrumb.d.ts → breadcrumb.d.ts} +0 -0
  170. /package/types/button/{Button.d.ts → button.d.ts} +0 -0
  171. /package/types/carousel/{Carousel.d.ts → carousel.d.ts} +0 -0
  172. /package/types/checkbox/{Checkbox.d.ts → checkbox.d.ts} +0 -0
  173. /package/types/collapse/{Collapse.d.ts → collapse.d.ts} +0 -0
  174. /package/types/form/{Form.d.ts → form.d.ts} +0 -0
  175. /package/types/grid/{Grid.d.ts → grid.d.ts} +0 -0
  176. /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
- export declare const radioButtonProps: {
5
+ declare const radioButtonProps: {
6
6
  modelValue: {
7
7
  type: BooleanConstructor[];
8
8
  default: boolean;
@@ -8,7 +8,7 @@ export interface RadioOption {
8
8
  icon?: IconType[];
9
9
  [key: string]: any;
10
10
  }
11
- export declare const radioGroupProps: {
11
+ declare const radioGroupProps: {
12
12
  modelValue: {
13
13
  type: (NumberConstructor | StringConstructor)[];
14
14
  default: string;
@@ -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
- export declare const radioProps: {
4
+ declare const radioProps: {
5
5
  modelValue: {
6
6
  type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
7
7
  default: boolean;
@@ -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
- export declare const rateProps: {
4
+ declare const rateProps: {
5
5
  modelValue: {
6
6
  type: NumberConstructor;
7
7
  default: number;
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { BooleanType } from '../const/types';
3
- export declare const starProps: {
3
+ declare const starProps: {
4
4
  character: PropType<string | ((index: number) => any)>;
5
5
  tooltips: StringConstructor;
6
6
  percent: NumberConstructor;
@@ -1,5 +1,5 @@
1
1
  import { ExtractPropTypes } from 'vue';
2
- export declare const colProps: {
2
+ declare const colProps: {
3
3
  span: NumberConstructor;
4
4
  offset: NumberConstructor;
5
5
  flex: (NumberConstructor | StringConstructor)[];
@@ -1,5 +1,5 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- export declare const rowProps: {
2
+ declare const rowProps: {
3
3
  gutter: PropType<number | [number, number]>;
4
4
  type: {
5
5
  type: StringConstructor;
@@ -4,7 +4,7 @@ export type OptionSelectEvent = {
4
4
  value: string | number;
5
5
  label: string | number;
6
6
  };
7
- export declare const optionProps: {
7
+ declare const optionProps: {
8
8
  value: {
9
9
  type: PropType<string | number>;
10
10
  required: boolean;
@@ -6,7 +6,7 @@ export interface SelectOption {
6
6
  value: string | number;
7
7
  disabled?: boolean;
8
8
  }
9
- export declare const selectProps: {
9
+ declare const selectProps: {
10
10
  placeholder: StringConstructor;
11
11
  size: {
12
12
  type: PropType<SizeType>;
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { BooleanType } from '../const/types';
3
- export declare const sliderProps: {
3
+ declare const sliderProps: {
4
4
  modelValue: {
5
5
  type: PropType<number[] | number>;
6
6
  default: number;
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { BooleanType, SizeType } from '../const/types';
3
- export declare const spaceProps: {
3
+ declare const spaceProps: {
4
4
  align: {
5
5
  type: PropType<"start" | "end" | "center" | "baseline">;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { SizeType, SpinModeType } from '../const/types.ts';
3
- export declare const spinProps: {
3
+ declare const spinProps: {
4
4
  modelValue: {
5
5
  type: BooleanConstructor;
6
6
  default: boolean;
@@ -11,7 +11,7 @@ export interface StatNumberItem {
11
11
  autoAnimate?: boolean;
12
12
  autoAnimateOnce?: boolean;
13
13
  }
14
- export declare const statCardProps: {
14
+ declare const statCardProps: {
15
15
  title: StringConstructor;
16
16
  precision: {
17
17
  type: NumberConstructor;
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { BooleanType } from '../const/types';
3
- export declare const statNumberProps: {
3
+ declare const statNumberProps: {
4
4
  modelValue: {
5
5
  type: NumberConstructor[];
6
6
  required: boolean;
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { BooleanType, SizeType, ValueType } from '../const/types';
3
- export declare const switchProps: {
3
+ declare const switchProps: {
4
4
  checked: {
5
5
  type: BooleanType;
6
6
  default: boolean;
@@ -11,7 +11,7 @@ export interface Column {
11
11
  rowSpan?: number | ((record: any, index: number) => number);
12
12
  children?: Column[];
13
13
  }
14
- export declare const tableProps: {
14
+ declare const tableProps: {
15
15
  data: {
16
16
  type: ArrayConstructor;
17
17
  default: () => never[];
@@ -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
- export declare const tabPanelProps: {
4
+ declare const tabPanelProps: {
5
5
  title: StringConstructor;
6
6
  icon: PropType<IconType[]>;
7
7
  disabled: BooleanType;
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { BooleanType } from '../const/types';
3
- export declare const tabsProps: {
3
+ declare const tabsProps: {
4
4
  modelValue: (NumberConstructor | StringConstructor)[];
5
5
  card: BooleanType;
6
6
  sample: BooleanType;
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { BooleanType, ColorType, ShapeType, SizeType, ThemeType } from '../const/types';
3
- export declare const tagProps: {
3
+ declare const tagProps: {
4
4
  closeable: BooleanType;
5
5
  color: ColorType;
6
6
  shape: PropType<ShapeType>;
@@ -1,5 +1,5 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- export declare const timelineItemProps: {
2
+ declare const timelineItemProps: {
3
3
  color: StringConstructor;
4
4
  icon: PropType<any>;
5
5
  time: StringConstructor;
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  export type TimelineMode = "left" | "right" | "center" | "alternate";
3
- export declare const timelineProps: {
3
+ declare const timelineProps: {
4
4
  mode: {
5
5
  type: PropType<TimelineMode>;
6
6
  default: string;
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes, PropType, VNode } from 'vue';
2
2
  import { BooleanType, PlacementsType } from '../const/types';
3
- export declare const tooltipProps: {
3
+ declare const tooltipProps: {
4
4
  show: BooleanType;
5
5
  title: PropType<any>;
6
6
  color: StringConstructor;
@@ -6,7 +6,7 @@ export interface TreeExpandEvent {
6
6
  expanded: boolean;
7
7
  node: TreeNode;
8
8
  }
9
- export declare const treeProps: {
9
+ declare const treeProps: {
10
10
  data: PropType<TreeNode[]>;
11
11
  selectedKeys: PropType<string[]>;
12
12
  expandedKeys: PropType<string[]>;
@@ -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
- export declare const treeSelectProps: {
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
- export declare const uploadFileListProps: {
4
+ declare const uploadFileListProps: {
5
5
  showUploadList: {
6
6
  type: BooleanType;
7
7
  default: boolean;
@@ -13,7 +13,7 @@ export interface UploadFile {
13
13
  errorText?: string;
14
14
  xhr?: XMLHttpRequest;
15
15
  }
16
- export declare const uploadProps: {
16
+ declare const uploadProps: {
17
17
  method: {
18
18
  type: StringConstructor;
19
19
  default: string;
@@ -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
- export declare const selectorProps: {
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;