@maxtan/ez-ui 0.13.0 → 0.15.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.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1045 -688
- package/dist/types/components/checkbox/index.d.ts +24 -3
- package/dist/types/components/checkbox/src/checkbox.d.ts +4 -5
- package/dist/types/components/checkbox/src/checkbox.vue.d.ts +12 -1
- package/dist/types/components/dialog/index.d.ts +0 -15
- package/dist/types/components/dialog/src/dialog.d.ts +1 -5
- package/dist/types/components/dialog/src/dialog.vue.d.ts +0 -5
- package/dist/types/components/dynamic-form/index.d.ts +245 -0
- package/dist/types/components/dynamic-form/src/dynamic-form.d.ts +128 -0
- package/dist/types/components/dynamic-form/src/dynamic-form.vue.d.ts +398 -0
- package/dist/types/components/fast-table/index.d.ts +8 -9
- package/dist/types/components/fast-table/src/column-config.vue.d.ts +1 -1
- package/dist/types/components/fast-table/src/fast-table.vue.d.ts +4 -4
- package/dist/types/components/icon/src/icon.d.ts +0 -1
- package/dist/types/components/image-upload/index.d.ts +257 -352
- package/dist/types/components/image-upload/src/image-upload.vue.d.ts +253 -348
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/pagination/index.d.ts +37 -21
- package/dist/types/components/pagination/src/pagination.d.ts +0 -10
- package/dist/types/components/pagination/src/pagination.vue.d.ts +15 -8
- package/dist/types/components/radio/index.d.ts +24 -3
- package/dist/types/components/radio/src/radio.d.ts +2 -5
- package/dist/types/components/radio/src/radio.vue.d.ts +11 -1
- package/dist/types/components/search-form/index.d.ts +3 -3
- package/dist/types/components/search-form/src/search-form.d.ts +1 -1
- package/dist/types/components/search-form/src/search-form.vue.d.ts +1 -1
- package/dist/types/components/select/index.d.ts +19 -6
- package/dist/types/components/select/src/select.d.ts +0 -1
- package/dist/types/components/select/src/select.vue.d.ts +9 -2
- package/dist/types/components/table/index.d.ts +8 -9
- package/dist/types/components/table/src/table.d.ts +4 -5
- package/dist/types/components/table/src/table.vue.d.ts +4 -4
- package/dist/types/ez-ui/component.d.ts +1257 -583
- package/package.json +1 -4
|
@@ -1,25 +1,59 @@
|
|
|
1
|
-
declare const _default: ((
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare const _default: (({
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
} & import('@ez-ui/components').DialogProps> & Readonly<{
|
|
5
|
+
onConfirm?: (...args: any[]) => any;
|
|
6
|
+
onCancel?: (...args: any[]) => any;
|
|
7
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
8
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
confirm: (...args: any[]) => void;
|
|
10
|
+
cancel: (...args: any[]) => void;
|
|
11
|
+
"update:modelValue": (value: boolean) => void;
|
|
12
|
+
}, import('vue').PublicProps, {
|
|
13
|
+
loading: boolean;
|
|
14
|
+
title: string;
|
|
15
|
+
cancelText: string;
|
|
16
|
+
confirmText: string;
|
|
17
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
6
18
|
P: {};
|
|
7
19
|
B: {};
|
|
8
20
|
D: {};
|
|
9
21
|
C: {};
|
|
10
22
|
M: {};
|
|
11
23
|
Defaults: {};
|
|
12
|
-
}, Readonly<
|
|
13
|
-
|
|
14
|
-
|
|
24
|
+
}, Readonly<{
|
|
25
|
+
modelValue?: boolean;
|
|
26
|
+
} & import('@ez-ui/components').DialogProps> & Readonly<{
|
|
27
|
+
onConfirm?: (...args: any[]) => any;
|
|
28
|
+
onCancel?: (...args: any[]) => any;
|
|
29
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
30
|
+
}>, {}, {}, {}, {}, {
|
|
31
|
+
loading: boolean;
|
|
32
|
+
title: string;
|
|
33
|
+
cancelText: string;
|
|
34
|
+
confirmText: string;
|
|
15
35
|
}>;
|
|
16
36
|
__isFragment?: never;
|
|
17
37
|
__isTeleport?: never;
|
|
18
38
|
__isSuspense?: never;
|
|
19
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
39
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
40
|
+
modelValue?: boolean;
|
|
41
|
+
} & import('@ez-ui/components').DialogProps> & Readonly<{
|
|
42
|
+
onConfirm?: (...args: any[]) => any;
|
|
43
|
+
onCancel?: (...args: any[]) => any;
|
|
44
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
45
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
46
|
+
confirm: (...args: any[]) => void;
|
|
47
|
+
cancel: (...args: any[]) => void;
|
|
48
|
+
"update:modelValue": (value: boolean) => void;
|
|
49
|
+
}, string, {
|
|
50
|
+
loading: boolean;
|
|
51
|
+
title: string;
|
|
52
|
+
cancelText: string;
|
|
53
|
+
confirmText: string;
|
|
54
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
55
|
+
$slots: Readonly<import('@ez-ui/components').DialogSolts> & import('@ez-ui/components').DialogSolts;
|
|
56
|
+
}) & import('vue').ObjectPlugin<any[]> & Record<string, any>) | ({
|
|
23
57
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
24
58
|
modelValue?: boolean;
|
|
25
59
|
} & import('@ez-ui/components').DialogProps> & Readonly<{
|
|
@@ -33,11 +67,6 @@ declare const _default: ((({
|
|
|
33
67
|
}, import('vue').PublicProps, {
|
|
34
68
|
loading: boolean;
|
|
35
69
|
title: string;
|
|
36
|
-
readonly width: string | number;
|
|
37
|
-
readonly appendToBody: boolean;
|
|
38
|
-
readonly destroyOnClose: boolean;
|
|
39
|
-
readonly closeOnPressEscape: boolean;
|
|
40
|
-
readonly closeOnClickModal: boolean;
|
|
41
70
|
cancelText: string;
|
|
42
71
|
confirmText: string;
|
|
43
72
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -56,11 +85,6 @@ declare const _default: ((({
|
|
|
56
85
|
}>, {}, {}, {}, {}, {
|
|
57
86
|
loading: boolean;
|
|
58
87
|
title: string;
|
|
59
|
-
readonly width: string | number;
|
|
60
|
-
readonly appendToBody: boolean;
|
|
61
|
-
readonly destroyOnClose: boolean;
|
|
62
|
-
readonly closeOnPressEscape: boolean;
|
|
63
|
-
readonly closeOnClickModal: boolean;
|
|
64
88
|
cancelText: string;
|
|
65
89
|
confirmText: string;
|
|
66
90
|
}>;
|
|
@@ -80,76 +104,20 @@ declare const _default: ((({
|
|
|
80
104
|
}, string, {
|
|
81
105
|
loading: boolean;
|
|
82
106
|
title: string;
|
|
83
|
-
readonly width: string | number;
|
|
84
|
-
readonly appendToBody: boolean;
|
|
85
|
-
readonly destroyOnClose: boolean;
|
|
86
|
-
readonly closeOnPressEscape: boolean;
|
|
87
|
-
readonly closeOnClickModal: boolean;
|
|
88
107
|
cancelText: string;
|
|
89
108
|
confirmText: string;
|
|
90
109
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
91
110
|
$slots: Readonly<import('@ez-ui/components').DialogSolts> & import('@ez-ui/components').DialogSolts;
|
|
92
|
-
}) & import('vue').
|
|
93
|
-
slots: Readonly<NonNullable<import('@ez-ui/components').TableSolt<T>>> & {
|
|
94
|
-
[x: string]: (props: {
|
|
95
|
-
row: T;
|
|
96
|
-
column: import('@ez-ui/components').TableColumn<T>;
|
|
97
|
-
$index: number;
|
|
98
|
-
}) => T;
|
|
99
|
-
} & {
|
|
100
|
-
append?: import('vue').VNodeChild;
|
|
101
|
-
empty?: import('vue').VNodeChild;
|
|
102
|
-
} & {
|
|
103
|
-
[x: `header-${string}`]: (props: {
|
|
104
|
-
column: import('@ez-ui/components').TableColumn<T>;
|
|
105
|
-
$index: number;
|
|
106
|
-
}) => T;
|
|
107
|
-
};
|
|
108
|
-
attrs: any;
|
|
109
|
-
emit: {};
|
|
110
|
-
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
111
|
-
props: {
|
|
112
|
-
data: T[];
|
|
113
|
-
columns: import('@ez-ui/components').TableColumn<T>[];
|
|
114
|
-
border?: boolean;
|
|
115
|
-
rowKey?: string;
|
|
116
|
-
} & import('vue').PublicProps;
|
|
117
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
118
|
-
getTableRef: () => any;
|
|
119
|
-
}>): void;
|
|
120
|
-
attrs: any;
|
|
121
|
-
slots: Readonly<NonNullable<import('@ez-ui/components').TableSolt<T>>> & {
|
|
122
|
-
[x: string]: (props: {
|
|
123
|
-
row: T;
|
|
124
|
-
column: import('@ez-ui/components').TableColumn<T>;
|
|
125
|
-
$index: number;
|
|
126
|
-
}) => T;
|
|
127
|
-
} & {
|
|
128
|
-
append?: import('vue').VNodeChild;
|
|
129
|
-
empty?: import('vue').VNodeChild;
|
|
130
|
-
} & {
|
|
131
|
-
[x: `header-${string}`]: (props: {
|
|
132
|
-
column: import('@ez-ui/components').TableColumn<T>;
|
|
133
|
-
$index: number;
|
|
134
|
-
}) => T;
|
|
135
|
-
};
|
|
136
|
-
emit: {};
|
|
137
|
-
}>) => import('vue').VNode & {
|
|
138
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
139
|
-
}) & import('vue').Plugin) & Record<string, any>) | (({
|
|
111
|
+
}) & ((app: import('vue').App, ...options: any[]) => any) & Partial<import('vue').ObjectPlugin<any[]>> & Record<string, any>) | ({
|
|
140
112
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
141
|
-
|
|
142
|
-
} & import('@ez-ui/components').
|
|
143
|
-
"onUpdate:
|
|
144
|
-
}>, {
|
|
145
|
-
|
|
146
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
147
|
-
"update:expanded": (value: Boolean) => any;
|
|
113
|
+
modelValue?: any;
|
|
114
|
+
} & import('@ez-ui/components').SelectPropsType> & Readonly<{
|
|
115
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
116
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
117
|
+
"update:modelValue": (value: any) => any;
|
|
148
118
|
}, import('vue').PublicProps, {
|
|
149
|
-
|
|
150
|
-
},
|
|
151
|
-
wrapRef: HTMLDivElement;
|
|
152
|
-
}, any, import('vue').ComponentProvideOptions, {
|
|
119
|
+
options: import('@ez-ui/components').SelectOption[];
|
|
120
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
153
121
|
P: {};
|
|
154
122
|
B: {};
|
|
155
123
|
D: {};
|
|
@@ -157,39 +125,32 @@ declare const _default: ((({
|
|
|
157
125
|
M: {};
|
|
158
126
|
Defaults: {};
|
|
159
127
|
}, Readonly<{
|
|
160
|
-
|
|
161
|
-
} & import('@ez-ui/components').
|
|
162
|
-
"onUpdate:
|
|
163
|
-
}>, {
|
|
164
|
-
|
|
165
|
-
}, {}, {}, {}, {
|
|
166
|
-
arrowHeight: number;
|
|
128
|
+
modelValue?: any;
|
|
129
|
+
} & import('@ez-ui/components').SelectPropsType> & Readonly<{
|
|
130
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
131
|
+
}>, {}, {}, {}, {}, {
|
|
132
|
+
options: import('@ez-ui/components').SelectOption[];
|
|
167
133
|
}>;
|
|
168
134
|
__isFragment?: never;
|
|
169
135
|
__isTeleport?: never;
|
|
170
136
|
__isSuspense?: never;
|
|
171
137
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
172
|
-
|
|
173
|
-
} & import('@ez-ui/components').
|
|
174
|
-
"onUpdate:
|
|
175
|
-
}>, {
|
|
176
|
-
|
|
177
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
178
|
-
"update:expanded": (value: Boolean) => any;
|
|
138
|
+
modelValue?: any;
|
|
139
|
+
} & import('@ez-ui/components').SelectPropsType> & Readonly<{
|
|
140
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
141
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
142
|
+
"update:modelValue": (value: any) => any;
|
|
179
143
|
}, string, {
|
|
180
|
-
|
|
181
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
background: boolean;
|
|
191
|
-
layout: string;
|
|
192
|
-
pageSizes: number[];
|
|
144
|
+
options: import('@ez-ui/components').SelectOption[];
|
|
145
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').ObjectPlugin<any[]> & Record<string, any>) | ({
|
|
146
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
147
|
+
modelValue?: any;
|
|
148
|
+
} & import('@ez-ui/components').SelectPropsType> & Readonly<{
|
|
149
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
150
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
151
|
+
"update:modelValue": (value: any) => any;
|
|
152
|
+
}, import('vue').PublicProps, {
|
|
153
|
+
options: import('@ez-ui/components').SelectOption[];
|
|
193
154
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
194
155
|
P: {};
|
|
195
156
|
B: {};
|
|
@@ -197,92 +158,25 @@ declare const _default: ((({
|
|
|
197
158
|
C: {};
|
|
198
159
|
M: {};
|
|
199
160
|
Defaults: {};
|
|
200
|
-
}, Readonly<
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
161
|
+
}, Readonly<{
|
|
162
|
+
modelValue?: any;
|
|
163
|
+
} & import('@ez-ui/components').SelectPropsType> & Readonly<{
|
|
164
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
165
|
+
}>, {}, {}, {}, {}, {
|
|
166
|
+
options: import('@ez-ui/components').SelectOption[];
|
|
206
167
|
}>;
|
|
207
168
|
__isFragment?: never;
|
|
208
169
|
__isTeleport?: never;
|
|
209
170
|
__isSuspense?: never;
|
|
210
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
},
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
header: (props: import('@ez-ui/components').TableHeaderProps<T>) => void;
|
|
220
|
-
freeArea: () => void;
|
|
221
|
-
} & {
|
|
222
|
-
[x: string]: (props: {
|
|
223
|
-
row: T;
|
|
224
|
-
column: import('@ez-ui/components').TableColumn<T>;
|
|
225
|
-
$index: number;
|
|
226
|
-
}) => T;
|
|
227
|
-
} & {
|
|
228
|
-
append?: import('vue').VNodeChild;
|
|
229
|
-
empty?: import('vue').VNodeChild;
|
|
230
|
-
} & {
|
|
231
|
-
[x: `header-${string}`]: (props: {
|
|
232
|
-
column: import('@ez-ui/components').TableColumn<T>;
|
|
233
|
-
$index: number;
|
|
234
|
-
}) => T;
|
|
235
|
-
};
|
|
236
|
-
attrs: any;
|
|
237
|
-
emit: ((event: "reset" | "changePage" | "query", ...args: any[]) => void) & (((evt: "update:columns", value: import('@ez-ui/components').TableColumn<T>[]) => void) & ((evt: "update:params", value: import('@ez-ui/components').SearchParams) => void) & ((evt: "update:loading", value: boolean) => void));
|
|
238
|
-
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
239
|
-
props: {
|
|
240
|
-
readonly onReset?: (...args: any[]) => any;
|
|
241
|
-
readonly "onUpdate:columns"?: (value: import('@ez-ui/components').TableColumn<T>[]) => any;
|
|
242
|
-
readonly "onUpdate:params"?: (value: import('@ez-ui/components').SearchParams) => any;
|
|
243
|
-
readonly "onUpdate:loading"?: (value: boolean) => any;
|
|
244
|
-
readonly onChangePage?: (...args: any[]) => any;
|
|
245
|
-
readonly onQuery?: (...args: any[]) => any;
|
|
246
|
-
params?: import('@ez-ui/components').SearchParams;
|
|
247
|
-
columns?: import('@ez-ui/components').TableColumn<T>[] & import('@ez-ui/components').TableColumn<any>[];
|
|
248
|
-
loading?: boolean;
|
|
249
|
-
api: (params?: any) => Promise<any>;
|
|
250
|
-
beforeSearch?: (params: import('@ez-ui/components').SearchParams) => Promise<void>;
|
|
251
|
-
columnTool?: boolean;
|
|
252
|
-
expanded?: boolean;
|
|
253
|
-
data?: any[];
|
|
254
|
-
border?: boolean;
|
|
255
|
-
rowKey?: string;
|
|
256
|
-
} & import('vue').PublicProps;
|
|
257
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
258
|
-
search: () => void;
|
|
259
|
-
query: () => Promise<void>;
|
|
260
|
-
getTableRef: () => any;
|
|
261
|
-
}>): void;
|
|
262
|
-
attrs: any;
|
|
263
|
-
slots: Readonly<NonNullable<import('@ez-ui/components').FastTableSolt<T>>> & {
|
|
264
|
-
form: () => void;
|
|
265
|
-
header: (props: import('@ez-ui/components').TableHeaderProps<T>) => void;
|
|
266
|
-
freeArea: () => void;
|
|
267
|
-
} & {
|
|
268
|
-
[x: string]: (props: {
|
|
269
|
-
row: T;
|
|
270
|
-
column: import('@ez-ui/components').TableColumn<T>;
|
|
271
|
-
$index: number;
|
|
272
|
-
}) => T;
|
|
273
|
-
} & {
|
|
274
|
-
append?: import('vue').VNodeChild;
|
|
275
|
-
empty?: import('vue').VNodeChild;
|
|
276
|
-
} & {
|
|
277
|
-
[x: `header-${string}`]: (props: {
|
|
278
|
-
column: import('@ez-ui/components').TableColumn<T>;
|
|
279
|
-
$index: number;
|
|
280
|
-
}) => T;
|
|
281
|
-
};
|
|
282
|
-
emit: ((event: "reset" | "changePage" | "query", ...args: any[]) => void) & (((evt: "update:columns", value: import('@ez-ui/components').TableColumn<T>[]) => void) & ((evt: "update:params", value: import('@ez-ui/components').SearchParams) => void) & ((evt: "update:loading", value: boolean) => void));
|
|
283
|
-
}>) => import('vue').VNode & {
|
|
284
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
285
|
-
}) & import('vue').Plugin) & Record<string, any>) | (({
|
|
171
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
172
|
+
modelValue?: any;
|
|
173
|
+
} & import('@ez-ui/components').SelectPropsType> & Readonly<{
|
|
174
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
175
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
176
|
+
"update:modelValue": (value: any) => any;
|
|
177
|
+
}, string, {
|
|
178
|
+
options: import('@ez-ui/components').SelectOption[];
|
|
179
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & ((app: import('vue').App, ...options: any[]) => any) & Partial<import('vue').ObjectPlugin<any[]>> & Record<string, any>) | ({
|
|
286
180
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@ez-ui/components').IconProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
287
181
|
size: number | string;
|
|
288
182
|
color: string;
|
|
@@ -309,49 +203,34 @@ declare const _default: ((({
|
|
|
309
203
|
class: string;
|
|
310
204
|
}): any;
|
|
311
205
|
};
|
|
312
|
-
}) & import('vue').
|
|
313
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@ez-ui/components').
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
},
|
|
317
|
-
P: {};
|
|
318
|
-
B: {};
|
|
319
|
-
D: {};
|
|
320
|
-
C: {};
|
|
321
|
-
M: {};
|
|
322
|
-
Defaults: {};
|
|
323
|
-
}, Readonly<import('@ez-ui/components').RadioProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
324
|
-
type: import('@ez-ui/components').RadioType;
|
|
325
|
-
options: import('@ez-ui/components').RadioOption[];
|
|
326
|
-
}>;
|
|
327
|
-
__isFragment?: never;
|
|
328
|
-
__isTeleport?: never;
|
|
329
|
-
__isSuspense?: never;
|
|
330
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('@ez-ui/components').RadioProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
331
|
-
type: import('@ez-ui/components').RadioType;
|
|
332
|
-
options: import('@ez-ui/components').RadioOption[];
|
|
333
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin) & Record<string, any>) | (({
|
|
334
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@ez-ui/components').SelectPropsType> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
335
|
-
options: import('@ez-ui/components').SelectOption[];
|
|
336
|
-
clearable: boolean;
|
|
337
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
206
|
+
}) & import('vue').ObjectPlugin<any[]> & Record<string, any>) | ({
|
|
207
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@ez-ui/components').IconProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
208
|
+
size: number | string;
|
|
209
|
+
color: string;
|
|
210
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
338
211
|
P: {};
|
|
339
212
|
B: {};
|
|
340
213
|
D: {};
|
|
341
214
|
C: {};
|
|
342
215
|
M: {};
|
|
343
216
|
Defaults: {};
|
|
344
|
-
}, Readonly<import('@ez-ui/components').
|
|
345
|
-
|
|
346
|
-
|
|
217
|
+
}, Readonly<import('@ez-ui/components').IconProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
218
|
+
size: number | string;
|
|
219
|
+
color: string;
|
|
347
220
|
}>;
|
|
348
221
|
__isFragment?: never;
|
|
349
222
|
__isTeleport?: never;
|
|
350
223
|
__isSuspense?: never;
|
|
351
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('@ez-ui/components').
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps &
|
|
224
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('@ez-ui/components').IconProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
225
|
+
size: number | string;
|
|
226
|
+
color: string;
|
|
227
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
228
|
+
$slots: {
|
|
229
|
+
default?(_: {
|
|
230
|
+
class: string;
|
|
231
|
+
}): any;
|
|
232
|
+
};
|
|
233
|
+
}) & ((app: import('vue').App, ...options: any[]) => any) & Partial<import('vue').ObjectPlugin<any[]>> & Record<string, any>) | ({
|
|
355
234
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
356
235
|
modelValue?: string;
|
|
357
236
|
} & import('@ez-ui/components').ImageUpload> & Readonly<{
|
|
@@ -362,71 +241,73 @@ declare const _default: ((({
|
|
|
362
241
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
363
242
|
"update:modelValue": (value: string) => any;
|
|
364
243
|
}, import('vue').PublicProps, {
|
|
365
|
-
disabled: boolean;
|
|
366
244
|
style: Record<string, string>;
|
|
367
|
-
|
|
245
|
+
disabled: boolean;
|
|
246
|
+
multiple: boolean;
|
|
368
247
|
api: (file: File) => Promise<{
|
|
369
248
|
url: string;
|
|
370
249
|
}>;
|
|
371
|
-
multiple: boolean;
|
|
372
250
|
imageTypes: string[];
|
|
373
251
|
limitSize: number;
|
|
252
|
+
fit: "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
374
253
|
limit: number;
|
|
375
254
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
376
255
|
uploadRef: {
|
|
377
256
|
$: import('vue').ComponentInternalInstance;
|
|
378
257
|
$data: {};
|
|
379
258
|
$props: Partial<{
|
|
380
|
-
readonly data: unknown
|
|
381
|
-
readonly disabled:
|
|
259
|
+
readonly data: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | ((new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)))[], unknown, unknown>;
|
|
260
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
382
261
|
readonly drag: boolean;
|
|
383
262
|
readonly multiple: boolean;
|
|
384
263
|
readonly name: string;
|
|
264
|
+
readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
385
265
|
readonly onChange: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
386
266
|
readonly onError: (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
387
|
-
readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
388
267
|
readonly method: string;
|
|
389
268
|
readonly action: string;
|
|
390
269
|
readonly accept: string;
|
|
391
270
|
readonly withCredentials: boolean;
|
|
392
|
-
readonly showFileList:
|
|
271
|
+
readonly showFileList: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
393
272
|
readonly fileList: import('element-plus').UploadUserFile[];
|
|
394
|
-
readonly autoUpload:
|
|
395
|
-
readonly listType: "
|
|
273
|
+
readonly autoUpload: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
274
|
+
readonly listType: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "picture" | "text" | "picture-card", unknown>;
|
|
396
275
|
readonly httpRequest: import('element-plus').UploadRequestHandler;
|
|
397
|
-
readonly
|
|
276
|
+
readonly directory: boolean;
|
|
277
|
+
readonly beforeUpload: (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
398
278
|
readonly onRemove: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
399
279
|
readonly onPreview: (uploadFile: import('element-plus').UploadFile) => void;
|
|
400
280
|
readonly onSuccess: (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
401
281
|
readonly onExceed: (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
402
282
|
}> & Omit<{
|
|
403
283
|
readonly name: string;
|
|
404
|
-
readonly
|
|
405
|
-
readonly data: {};
|
|
284
|
+
readonly data: import('element-plus/es/utils/typescript.mjs').Mutable<{}>;
|
|
406
285
|
readonly onChange: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
407
286
|
readonly onError: (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
408
287
|
readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
409
|
-
readonly drag: boolean;
|
|
410
288
|
readonly multiple: boolean;
|
|
411
|
-
readonly beforeUpload: (rawFile: import('element-plus').UploadRawFile) =>
|
|
289
|
+
readonly beforeUpload: (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
412
290
|
readonly onRemove: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
413
291
|
readonly onPreview: (uploadFile: import('element-plus').UploadFile) => void;
|
|
414
292
|
readonly onSuccess: (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
415
293
|
readonly onExceed: (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
416
294
|
readonly action: string;
|
|
417
295
|
readonly method: string;
|
|
296
|
+
readonly drag: boolean;
|
|
418
297
|
readonly withCredentials: boolean;
|
|
419
|
-
readonly showFileList:
|
|
298
|
+
readonly showFileList: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
420
299
|
readonly accept: string;
|
|
421
300
|
readonly fileList: import('element-plus').UploadUserFile[];
|
|
422
|
-
readonly autoUpload:
|
|
423
|
-
readonly listType: "text" | "picture" | "picture-card"
|
|
301
|
+
readonly autoUpload: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
302
|
+
readonly listType: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "text" | "picture" | "picture-card", unknown>;
|
|
424
303
|
readonly httpRequest: import('element-plus').UploadRequestHandler;
|
|
304
|
+
readonly directory: boolean;
|
|
305
|
+
readonly disabled?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
425
306
|
readonly limit?: number;
|
|
426
|
-
readonly beforeRemove?: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) =>
|
|
427
|
-
readonly crossorigin?: "" | "anonymous" | "use-credentials"
|
|
428
|
-
readonly headers?: Record<string, any> | Headers
|
|
429
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "name" | "
|
|
307
|
+
readonly beforeRemove?: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => import('element-plus/es/utils/typescript.mjs').Awaitable<boolean>;
|
|
308
|
+
readonly crossorigin?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>;
|
|
309
|
+
readonly headers?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>;
|
|
310
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "name" | "data" | "disabled" | "onChange" | "onError" | "onProgress" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "directory">;
|
|
430
311
|
$attrs: {
|
|
431
312
|
[x: string]: unknown;
|
|
432
313
|
};
|
|
@@ -442,198 +323,146 @@ declare const _default: ((({
|
|
|
442
323
|
$emit: (event: string, ...args: any[]) => void;
|
|
443
324
|
$el: any;
|
|
444
325
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
445
|
-
readonly beforeUpload: {
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
readonly
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
326
|
+
readonly beforeUpload: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
327
|
+
(): (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
328
|
+
new (): any;
|
|
329
|
+
readonly prototype: any;
|
|
330
|
+
} | ((new (...args: any[]) => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
331
|
+
(): (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
332
|
+
new (): any;
|
|
333
|
+
readonly prototype: any;
|
|
334
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
453
335
|
readonly beforeRemove: {
|
|
454
|
-
readonly type: import('vue').PropType<(uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) =>
|
|
455
|
-
readonly required: false;
|
|
456
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
457
|
-
__epPropKey: true;
|
|
458
|
-
};
|
|
459
|
-
readonly onRemove: {
|
|
460
|
-
readonly type: import('vue').PropType<(uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
|
|
461
|
-
readonly required: false;
|
|
462
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
463
|
-
__epPropKey: true;
|
|
464
|
-
} & {
|
|
465
|
-
readonly default: () => void;
|
|
466
|
-
};
|
|
467
|
-
readonly onChange: {
|
|
468
|
-
readonly type: import('vue').PropType<(uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
|
|
336
|
+
readonly type: import('vue').PropType<(uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => import('element-plus/es/utils/typescript.mjs').Awaitable<boolean>>;
|
|
469
337
|
readonly required: false;
|
|
470
338
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
471
339
|
__epPropKey: true;
|
|
472
|
-
} & {
|
|
473
|
-
readonly default: () => void;
|
|
474
340
|
};
|
|
475
|
-
readonly
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
readonly
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
readonly
|
|
341
|
+
readonly onRemove: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
342
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
343
|
+
new (): any;
|
|
344
|
+
readonly prototype: any;
|
|
345
|
+
} | ((new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
346
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
347
|
+
new (): any;
|
|
348
|
+
readonly prototype: any;
|
|
349
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
350
|
+
readonly onChange: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
351
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
352
|
+
new (): any;
|
|
353
|
+
readonly prototype: any;
|
|
354
|
+
} | ((new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
355
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
356
|
+
new (): any;
|
|
357
|
+
readonly prototype: any;
|
|
358
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
359
|
+
readonly onPreview: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (uploadFile: import('element-plus').UploadFile) => void) | (() => (uploadFile: import('element-plus').UploadFile) => void) | {
|
|
360
|
+
(): (uploadFile: import('element-plus').UploadFile) => void;
|
|
361
|
+
new (): any;
|
|
362
|
+
readonly prototype: any;
|
|
363
|
+
} | ((new (...args: any[]) => (uploadFile: import('element-plus').UploadFile) => void) | (() => (uploadFile: import('element-plus').UploadFile) => void) | {
|
|
364
|
+
(): (uploadFile: import('element-plus').UploadFile) => void;
|
|
365
|
+
new (): any;
|
|
366
|
+
readonly prototype: any;
|
|
367
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
368
|
+
readonly onSuccess: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
369
|
+
(): (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
370
|
+
new (): any;
|
|
371
|
+
readonly prototype: any;
|
|
372
|
+
} | ((new (...args: any[]) => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
373
|
+
(): (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
374
|
+
new (): any;
|
|
375
|
+
readonly prototype: any;
|
|
376
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
377
|
+
readonly onProgress: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
378
|
+
(): (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
379
|
+
new (): any;
|
|
380
|
+
readonly prototype: any;
|
|
381
|
+
} | ((new (...args: any[]) => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
382
|
+
(): (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
383
|
+
new (): any;
|
|
384
|
+
readonly prototype: any;
|
|
385
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
386
|
+
readonly onError: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
387
|
+
(): (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
388
|
+
new (): any;
|
|
389
|
+
readonly prototype: any;
|
|
390
|
+
} | ((new (...args: any[]) => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
391
|
+
(): (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
392
|
+
new (): any;
|
|
393
|
+
readonly prototype: any;
|
|
394
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
395
|
+
readonly onExceed: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | {
|
|
396
|
+
(): (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
397
|
+
new (): any;
|
|
398
|
+
readonly prototype: any;
|
|
399
|
+
} | ((new (...args: any[]) => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | {
|
|
400
|
+
(): (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
401
|
+
new (): any;
|
|
402
|
+
readonly prototype: any;
|
|
403
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
404
|
+
readonly crossorigin: {
|
|
405
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>>;
|
|
501
406
|
readonly required: false;
|
|
502
407
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
503
408
|
__epPropKey: true;
|
|
504
|
-
} & {
|
|
505
|
-
readonly default: () => void;
|
|
506
409
|
};
|
|
507
|
-
readonly
|
|
508
|
-
|
|
410
|
+
readonly action: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;
|
|
411
|
+
readonly headers: {
|
|
412
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;
|
|
509
413
|
readonly required: false;
|
|
510
414
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
511
415
|
__epPropKey: true;
|
|
512
|
-
} & {
|
|
513
|
-
readonly default: () => void;
|
|
514
|
-
};
|
|
515
|
-
readonly crossorigin: {
|
|
516
|
-
readonly type: import('vue').PropType<"" | "anonymous" | "use-credentials">;
|
|
517
|
-
readonly required: false;
|
|
518
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
519
|
-
__epPropKey: true;
|
|
520
|
-
};
|
|
521
|
-
readonly action: {
|
|
522
|
-
readonly type: import('vue').PropType<string>;
|
|
523
|
-
readonly required: false;
|
|
524
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
525
|
-
__epPropKey: true;
|
|
526
|
-
} & {
|
|
527
|
-
readonly default: "#";
|
|
528
|
-
};
|
|
529
|
-
readonly headers: {
|
|
530
|
-
readonly type: import('vue').PropType<Record<string, any> | Headers>;
|
|
531
|
-
readonly required: false;
|
|
532
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
533
|
-
__epPropKey: true;
|
|
534
|
-
};
|
|
535
|
-
readonly method: {
|
|
536
|
-
readonly type: import('vue').PropType<string>;
|
|
537
|
-
readonly required: false;
|
|
538
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
539
|
-
__epPropKey: true;
|
|
540
|
-
} & {
|
|
541
|
-
readonly default: "post";
|
|
542
|
-
};
|
|
543
|
-
readonly data: {
|
|
544
|
-
readonly type: import('vue').PropType<unknown>;
|
|
545
|
-
readonly required: false;
|
|
546
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
547
|
-
__epPropKey: true;
|
|
548
|
-
} & {
|
|
549
|
-
readonly default: () => {};
|
|
550
416
|
};
|
|
417
|
+
readonly method: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
418
|
+
readonly data: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | ((new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)))[], unknown, unknown, () => import('element-plus/es/utils/typescript.mjs').Mutable<{}>, boolean>;
|
|
551
419
|
readonly multiple: BooleanConstructor;
|
|
552
|
-
readonly name:
|
|
553
|
-
readonly type: import('vue').PropType<string>;
|
|
554
|
-
readonly required: false;
|
|
555
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
556
|
-
__epPropKey: true;
|
|
557
|
-
} & {
|
|
558
|
-
readonly default: "file";
|
|
559
|
-
};
|
|
420
|
+
readonly name: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
|
|
560
421
|
readonly drag: BooleanConstructor;
|
|
561
422
|
readonly withCredentials: BooleanConstructor;
|
|
562
|
-
readonly showFileList:
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
};
|
|
578
|
-
readonly fileList: {
|
|
579
|
-
readonly type: import('vue').PropType<import('element-plus').UploadUserFile[]>;
|
|
580
|
-
readonly required: false;
|
|
581
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
582
|
-
__epPropKey: true;
|
|
583
|
-
} & {
|
|
584
|
-
readonly default: () => [];
|
|
585
|
-
};
|
|
586
|
-
readonly autoUpload: {
|
|
587
|
-
readonly type: import('vue').PropType<boolean>;
|
|
588
|
-
readonly required: false;
|
|
589
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
590
|
-
__epPropKey: true;
|
|
591
|
-
} & {
|
|
592
|
-
readonly default: true;
|
|
593
|
-
};
|
|
594
|
-
readonly listType: {
|
|
595
|
-
readonly type: import('vue').PropType<"text" | "picture" | "picture-card">;
|
|
596
|
-
readonly required: false;
|
|
597
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
598
|
-
__epPropKey: true;
|
|
599
|
-
} & {
|
|
600
|
-
readonly default: "text";
|
|
601
|
-
};
|
|
602
|
-
readonly httpRequest: {
|
|
603
|
-
readonly type: import('vue').PropType<import('element-plus').UploadRequestHandler>;
|
|
604
|
-
readonly required: false;
|
|
605
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
606
|
-
__epPropKey: true;
|
|
607
|
-
} & {
|
|
608
|
-
readonly default: import('element-plus').UploadRequestHandler;
|
|
609
|
-
};
|
|
610
|
-
readonly disabled: BooleanConstructor;
|
|
423
|
+
readonly showFileList: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
424
|
+
readonly accept: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
425
|
+
readonly fileList: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus').UploadUserFile[]) | (() => import('element-plus').UploadUserFile[]) | ((new (...args: any[]) => import('element-plus').UploadUserFile[]) | (() => import('element-plus').UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
|
|
426
|
+
readonly autoUpload: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
427
|
+
readonly listType: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
|
|
428
|
+
readonly httpRequest: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus').UploadRequestHandler) | (() => import('element-plus').UploadRequestHandler) | {
|
|
429
|
+
(): import('element-plus').UploadRequestHandler;
|
|
430
|
+
new (): any;
|
|
431
|
+
readonly prototype: any;
|
|
432
|
+
} | ((new (...args: any[]) => import('element-plus').UploadRequestHandler) | (() => import('element-plus').UploadRequestHandler) | {
|
|
433
|
+
(): import('element-plus').UploadRequestHandler;
|
|
434
|
+
new (): any;
|
|
435
|
+
readonly prototype: any;
|
|
436
|
+
})[], unknown, unknown, import('element-plus').UploadRequestHandler, boolean>;
|
|
437
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
611
438
|
readonly limit: NumberConstructor;
|
|
439
|
+
readonly directory: BooleanConstructor;
|
|
612
440
|
}>>, {
|
|
613
441
|
abort: (file: import('element-plus').UploadFile) => void;
|
|
614
442
|
submit: () => void;
|
|
615
443
|
clearFiles: (states?: import('element-plus').UploadStatus[]) => void;
|
|
616
444
|
handleStart: (rawFile: import('element-plus').UploadRawFile) => void;
|
|
617
|
-
handleRemove: (file: import('element-plus').UploadFile | import('element-plus').UploadRawFile
|
|
618
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin,
|
|
619
|
-
readonly data: unknown
|
|
620
|
-
readonly disabled:
|
|
445
|
+
handleRemove: (file: import('element-plus').UploadFile | import('element-plus').UploadRawFile) => void;
|
|
446
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
447
|
+
readonly data: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | ((new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)))[], unknown, unknown>;
|
|
448
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
621
449
|
readonly drag: boolean;
|
|
622
450
|
readonly multiple: boolean;
|
|
623
451
|
readonly name: string;
|
|
452
|
+
readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
624
453
|
readonly onChange: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
625
454
|
readonly onError: (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
626
|
-
readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
627
455
|
readonly method: string;
|
|
628
456
|
readonly action: string;
|
|
629
457
|
readonly accept: string;
|
|
630
458
|
readonly withCredentials: boolean;
|
|
631
|
-
readonly showFileList:
|
|
459
|
+
readonly showFileList: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
632
460
|
readonly fileList: import('element-plus').UploadUserFile[];
|
|
633
|
-
readonly autoUpload:
|
|
634
|
-
readonly listType: "
|
|
461
|
+
readonly autoUpload: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
462
|
+
readonly listType: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "picture" | "text" | "picture-card", unknown>;
|
|
635
463
|
readonly httpRequest: import('element-plus').UploadRequestHandler;
|
|
636
|
-
readonly
|
|
464
|
+
readonly directory: boolean;
|
|
465
|
+
readonly beforeUpload: (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
637
466
|
readonly onRemove: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
638
467
|
readonly onPreview: (uploadFile: import('element-plus').UploadFile) => void;
|
|
639
468
|
readonly onSuccess: (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
@@ -659,221 +488,176 @@ declare const _default: ((({
|
|
|
659
488
|
$nextTick: typeof import('vue').nextTick;
|
|
660
489
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
661
490
|
} & Readonly<{
|
|
662
|
-
readonly data: unknown
|
|
663
|
-
readonly disabled:
|
|
491
|
+
readonly data: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | ((new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)))[], unknown, unknown>;
|
|
492
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
664
493
|
readonly drag: boolean;
|
|
665
494
|
readonly multiple: boolean;
|
|
666
495
|
readonly name: string;
|
|
496
|
+
readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
667
497
|
readonly onChange: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
668
498
|
readonly onError: (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
669
|
-
readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
670
499
|
readonly method: string;
|
|
671
500
|
readonly action: string;
|
|
672
501
|
readonly accept: string;
|
|
673
502
|
readonly withCredentials: boolean;
|
|
674
|
-
readonly showFileList:
|
|
503
|
+
readonly showFileList: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
675
504
|
readonly fileList: import('element-plus').UploadUserFile[];
|
|
676
|
-
readonly autoUpload:
|
|
677
|
-
readonly listType: "
|
|
505
|
+
readonly autoUpload: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
506
|
+
readonly listType: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "picture" | "text" | "picture-card", unknown>;
|
|
678
507
|
readonly httpRequest: import('element-plus').UploadRequestHandler;
|
|
679
|
-
readonly
|
|
508
|
+
readonly directory: boolean;
|
|
509
|
+
readonly beforeUpload: (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
680
510
|
readonly onRemove: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
681
511
|
readonly onPreview: (uploadFile: import('element-plus').UploadFile) => void;
|
|
682
512
|
readonly onSuccess: (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
683
513
|
readonly onExceed: (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
684
514
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
685
|
-
readonly beforeUpload: {
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
readonly
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
515
|
+
readonly beforeUpload: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
516
|
+
(): (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
517
|
+
new (): any;
|
|
518
|
+
readonly prototype: any;
|
|
519
|
+
} | ((new (...args: any[]) => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
520
|
+
(): (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
521
|
+
new (): any;
|
|
522
|
+
readonly prototype: any;
|
|
523
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
693
524
|
readonly beforeRemove: {
|
|
694
|
-
readonly type: import('vue').PropType<(uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) =>
|
|
695
|
-
readonly required: false;
|
|
696
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
697
|
-
__epPropKey: true;
|
|
698
|
-
};
|
|
699
|
-
readonly onRemove: {
|
|
700
|
-
readonly type: import('vue').PropType<(uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
|
|
701
|
-
readonly required: false;
|
|
702
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
703
|
-
__epPropKey: true;
|
|
704
|
-
} & {
|
|
705
|
-
readonly default: () => void;
|
|
706
|
-
};
|
|
707
|
-
readonly onChange: {
|
|
708
|
-
readonly type: import('vue').PropType<(uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
|
|
709
|
-
readonly required: false;
|
|
710
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
711
|
-
__epPropKey: true;
|
|
712
|
-
} & {
|
|
713
|
-
readonly default: () => void;
|
|
714
|
-
};
|
|
715
|
-
readonly onPreview: {
|
|
716
|
-
readonly type: import('vue').PropType<(uploadFile: import('element-plus').UploadFile) => void>;
|
|
717
|
-
readonly required: false;
|
|
718
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
719
|
-
__epPropKey: true;
|
|
720
|
-
} & {
|
|
721
|
-
readonly default: () => void;
|
|
722
|
-
};
|
|
723
|
-
readonly onSuccess: {
|
|
724
|
-
readonly type: import('vue').PropType<(response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
|
|
725
|
-
readonly required: false;
|
|
726
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
727
|
-
__epPropKey: true;
|
|
728
|
-
} & {
|
|
729
|
-
readonly default: () => void;
|
|
730
|
-
};
|
|
731
|
-
readonly onProgress: {
|
|
732
|
-
readonly type: import('vue').PropType<(evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
|
|
733
|
-
readonly required: false;
|
|
734
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
735
|
-
__epPropKey: true;
|
|
736
|
-
} & {
|
|
737
|
-
readonly default: () => void;
|
|
738
|
-
};
|
|
739
|
-
readonly onError: {
|
|
740
|
-
readonly type: import('vue').PropType<(error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void>;
|
|
741
|
-
readonly required: false;
|
|
742
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
743
|
-
__epPropKey: true;
|
|
744
|
-
} & {
|
|
745
|
-
readonly default: () => void;
|
|
746
|
-
};
|
|
747
|
-
readonly onExceed: {
|
|
748
|
-
readonly type: import('vue').PropType<(files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void>;
|
|
525
|
+
readonly type: import('vue').PropType<(uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => import('element-plus/es/utils/typescript.mjs').Awaitable<boolean>>;
|
|
749
526
|
readonly required: false;
|
|
750
527
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
751
528
|
__epPropKey: true;
|
|
752
|
-
} & {
|
|
753
|
-
readonly default: () => void;
|
|
754
529
|
};
|
|
530
|
+
readonly onRemove: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
531
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
532
|
+
new (): any;
|
|
533
|
+
readonly prototype: any;
|
|
534
|
+
} | ((new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
535
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
536
|
+
new (): any;
|
|
537
|
+
readonly prototype: any;
|
|
538
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
539
|
+
readonly onChange: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
540
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
541
|
+
new (): any;
|
|
542
|
+
readonly prototype: any;
|
|
543
|
+
} | ((new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
544
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
545
|
+
new (): any;
|
|
546
|
+
readonly prototype: any;
|
|
547
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
548
|
+
readonly onPreview: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (uploadFile: import('element-plus').UploadFile) => void) | (() => (uploadFile: import('element-plus').UploadFile) => void) | {
|
|
549
|
+
(): (uploadFile: import('element-plus').UploadFile) => void;
|
|
550
|
+
new (): any;
|
|
551
|
+
readonly prototype: any;
|
|
552
|
+
} | ((new (...args: any[]) => (uploadFile: import('element-plus').UploadFile) => void) | (() => (uploadFile: import('element-plus').UploadFile) => void) | {
|
|
553
|
+
(): (uploadFile: import('element-plus').UploadFile) => void;
|
|
554
|
+
new (): any;
|
|
555
|
+
readonly prototype: any;
|
|
556
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
557
|
+
readonly onSuccess: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
558
|
+
(): (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
559
|
+
new (): any;
|
|
560
|
+
readonly prototype: any;
|
|
561
|
+
} | ((new (...args: any[]) => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
562
|
+
(): (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
563
|
+
new (): any;
|
|
564
|
+
readonly prototype: any;
|
|
565
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
566
|
+
readonly onProgress: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
567
|
+
(): (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
568
|
+
new (): any;
|
|
569
|
+
readonly prototype: any;
|
|
570
|
+
} | ((new (...args: any[]) => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
571
|
+
(): (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
572
|
+
new (): any;
|
|
573
|
+
readonly prototype: any;
|
|
574
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
575
|
+
readonly onError: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
576
|
+
(): (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
577
|
+
new (): any;
|
|
578
|
+
readonly prototype: any;
|
|
579
|
+
} | ((new (...args: any[]) => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
580
|
+
(): (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
581
|
+
new (): any;
|
|
582
|
+
readonly prototype: any;
|
|
583
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
584
|
+
readonly onExceed: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | {
|
|
585
|
+
(): (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
586
|
+
new (): any;
|
|
587
|
+
readonly prototype: any;
|
|
588
|
+
} | ((new (...args: any[]) => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | {
|
|
589
|
+
(): (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
590
|
+
new (): any;
|
|
591
|
+
readonly prototype: any;
|
|
592
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
755
593
|
readonly crossorigin: {
|
|
756
|
-
readonly type: import('vue').PropType<"" | "anonymous" | "use-credentials"
|
|
757
|
-
readonly required: false;
|
|
758
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
759
|
-
__epPropKey: true;
|
|
760
|
-
};
|
|
761
|
-
readonly action: {
|
|
762
|
-
readonly type: import('vue').PropType<string>;
|
|
594
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>>;
|
|
763
595
|
readonly required: false;
|
|
764
596
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
765
597
|
__epPropKey: true;
|
|
766
|
-
} & {
|
|
767
|
-
readonly default: "#";
|
|
768
598
|
};
|
|
599
|
+
readonly action: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;
|
|
769
600
|
readonly headers: {
|
|
770
|
-
readonly type: import('vue').PropType<Record<string, any> | Headers
|
|
771
|
-
readonly required: false;
|
|
772
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
773
|
-
__epPropKey: true;
|
|
774
|
-
};
|
|
775
|
-
readonly method: {
|
|
776
|
-
readonly type: import('vue').PropType<string>;
|
|
777
|
-
readonly required: false;
|
|
778
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
779
|
-
__epPropKey: true;
|
|
780
|
-
} & {
|
|
781
|
-
readonly default: "post";
|
|
782
|
-
};
|
|
783
|
-
readonly data: {
|
|
784
|
-
readonly type: import('vue').PropType<unknown>;
|
|
601
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;
|
|
785
602
|
readonly required: false;
|
|
786
603
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
787
604
|
__epPropKey: true;
|
|
788
|
-
} & {
|
|
789
|
-
readonly default: () => {};
|
|
790
605
|
};
|
|
606
|
+
readonly method: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
607
|
+
readonly data: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | ((new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)))[], unknown, unknown, () => import('element-plus/es/utils/typescript.mjs').Mutable<{}>, boolean>;
|
|
791
608
|
readonly multiple: BooleanConstructor;
|
|
792
|
-
readonly name:
|
|
793
|
-
readonly type: import('vue').PropType<string>;
|
|
794
|
-
readonly required: false;
|
|
795
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
796
|
-
__epPropKey: true;
|
|
797
|
-
} & {
|
|
798
|
-
readonly default: "file";
|
|
799
|
-
};
|
|
609
|
+
readonly name: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
|
|
800
610
|
readonly drag: BooleanConstructor;
|
|
801
611
|
readonly withCredentials: BooleanConstructor;
|
|
802
|
-
readonly showFileList:
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
};
|
|
818
|
-
readonly fileList: {
|
|
819
|
-
readonly type: import('vue').PropType<import('element-plus').UploadUserFile[]>;
|
|
820
|
-
readonly required: false;
|
|
821
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
822
|
-
__epPropKey: true;
|
|
823
|
-
} & {
|
|
824
|
-
readonly default: () => [];
|
|
825
|
-
};
|
|
826
|
-
readonly autoUpload: {
|
|
827
|
-
readonly type: import('vue').PropType<boolean>;
|
|
828
|
-
readonly required: false;
|
|
829
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
830
|
-
__epPropKey: true;
|
|
831
|
-
} & {
|
|
832
|
-
readonly default: true;
|
|
833
|
-
};
|
|
834
|
-
readonly listType: {
|
|
835
|
-
readonly type: import('vue').PropType<"text" | "picture" | "picture-card">;
|
|
836
|
-
readonly required: false;
|
|
837
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
838
|
-
__epPropKey: true;
|
|
839
|
-
} & {
|
|
840
|
-
readonly default: "text";
|
|
841
|
-
};
|
|
842
|
-
readonly httpRequest: {
|
|
843
|
-
readonly type: import('vue').PropType<import('element-plus').UploadRequestHandler>;
|
|
844
|
-
readonly required: false;
|
|
845
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
846
|
-
__epPropKey: true;
|
|
847
|
-
} & {
|
|
848
|
-
readonly default: import('element-plus').UploadRequestHandler;
|
|
849
|
-
};
|
|
850
|
-
readonly disabled: BooleanConstructor;
|
|
612
|
+
readonly showFileList: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
613
|
+
readonly accept: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
614
|
+
readonly fileList: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus').UploadUserFile[]) | (() => import('element-plus').UploadUserFile[]) | ((new (...args: any[]) => import('element-plus').UploadUserFile[]) | (() => import('element-plus').UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
|
|
615
|
+
readonly autoUpload: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
616
|
+
readonly listType: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
|
|
617
|
+
readonly httpRequest: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus').UploadRequestHandler) | (() => import('element-plus').UploadRequestHandler) | {
|
|
618
|
+
(): import('element-plus').UploadRequestHandler;
|
|
619
|
+
new (): any;
|
|
620
|
+
readonly prototype: any;
|
|
621
|
+
} | ((new (...args: any[]) => import('element-plus').UploadRequestHandler) | (() => import('element-plus').UploadRequestHandler) | {
|
|
622
|
+
(): import('element-plus').UploadRequestHandler;
|
|
623
|
+
new (): any;
|
|
624
|
+
readonly prototype: any;
|
|
625
|
+
})[], unknown, unknown, import('element-plus').UploadRequestHandler, boolean>;
|
|
626
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
851
627
|
readonly limit: NumberConstructor;
|
|
852
|
-
|
|
628
|
+
readonly directory: BooleanConstructor;
|
|
629
|
+
}>>, "name" | "data" | "disabled" | "onChange" | "submit" | "onError" | "onProgress" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "directory" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & import('vue').ShallowUnwrapRef<{
|
|
853
630
|
abort: (file: import('element-plus').UploadFile) => void;
|
|
854
631
|
submit: () => void;
|
|
855
632
|
clearFiles: (states?: import('element-plus').UploadStatus[]) => void;
|
|
856
633
|
handleStart: (rawFile: import('element-plus').UploadRawFile) => void;
|
|
857
|
-
handleRemove: (file: import('element-plus').UploadFile | import('element-plus').UploadRawFile
|
|
634
|
+
handleRemove: (file: import('element-plus').UploadFile | import('element-plus').UploadRawFile) => void;
|
|
858
635
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
859
636
|
$slots: {
|
|
860
|
-
file
|
|
637
|
+
file?: (props: {
|
|
861
638
|
file: import('element-plus').UploadFile;
|
|
862
639
|
index: number;
|
|
863
|
-
})
|
|
864
|
-
|
|
640
|
+
}) => any;
|
|
641
|
+
} & {
|
|
642
|
+
trigger?: (props: {}) => any;
|
|
643
|
+
} & {
|
|
644
|
+
default?: (props: {}) => any;
|
|
645
|
+
} & {
|
|
646
|
+
trigger?: (props: {}) => any;
|
|
647
|
+
} & {
|
|
648
|
+
default?: (props: {}) => any;
|
|
649
|
+
} & {
|
|
650
|
+
default?: (props: {}) => any;
|
|
651
|
+
} & {
|
|
652
|
+
tip?: (props: {}) => any;
|
|
653
|
+
} & {
|
|
654
|
+
file?: (props: {
|
|
865
655
|
file: import('element-plus').UploadFile;
|
|
866
656
|
index: number;
|
|
867
|
-
})
|
|
868
|
-
trigger?(_: {}): any;
|
|
869
|
-
trigger?(_: {}): any;
|
|
870
|
-
default?(_: {}): any;
|
|
871
|
-
default?(_: {}): any;
|
|
872
|
-
default?(_: {}): any;
|
|
873
|
-
tip?(_: {}): any;
|
|
657
|
+
}) => any;
|
|
874
658
|
};
|
|
875
659
|
};
|
|
876
|
-
},
|
|
660
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
877
661
|
P: {};
|
|
878
662
|
B: {};
|
|
879
663
|
D: {};
|
|
@@ -888,15 +672,15 @@ declare const _default: ((({
|
|
|
888
672
|
getUploadRef: () => any;
|
|
889
673
|
getUrlList: () => string[];
|
|
890
674
|
}, {}, {}, {}, {
|
|
891
|
-
disabled: boolean;
|
|
892
675
|
style: Record<string, string>;
|
|
893
|
-
|
|
676
|
+
disabled: boolean;
|
|
677
|
+
multiple: boolean;
|
|
894
678
|
api: (file: File) => Promise<{
|
|
895
679
|
url: string;
|
|
896
680
|
}>;
|
|
897
|
-
multiple: boolean;
|
|
898
681
|
imageTypes: string[];
|
|
899
682
|
limitSize: number;
|
|
683
|
+
fit: "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
900
684
|
limit: number;
|
|
901
685
|
}>;
|
|
902
686
|
__isFragment?: never;
|
|
@@ -912,15 +696,905 @@ declare const _default: ((({
|
|
|
912
696
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
913
697
|
"update:modelValue": (value: string) => any;
|
|
914
698
|
}, string, {
|
|
915
|
-
disabled: boolean;
|
|
916
699
|
style: Record<string, string>;
|
|
917
|
-
|
|
700
|
+
disabled: boolean;
|
|
701
|
+
multiple: boolean;
|
|
918
702
|
api: (file: File) => Promise<{
|
|
919
703
|
url: string;
|
|
920
704
|
}>;
|
|
921
|
-
multiple: boolean;
|
|
922
705
|
imageTypes: string[];
|
|
923
706
|
limitSize: number;
|
|
707
|
+
fit: "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
924
708
|
limit: number;
|
|
925
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').
|
|
709
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').ObjectPlugin<any[]> & Record<string, any>) | ({
|
|
710
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
711
|
+
modelValue?: string;
|
|
712
|
+
} & import('@ez-ui/components').ImageUpload> & Readonly<{
|
|
713
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
714
|
+
}>, {
|
|
715
|
+
getUploadRef: () => any;
|
|
716
|
+
getUrlList: () => string[];
|
|
717
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
718
|
+
"update:modelValue": (value: string) => any;
|
|
719
|
+
}, import('vue').PublicProps, {
|
|
720
|
+
style: Record<string, string>;
|
|
721
|
+
disabled: boolean;
|
|
722
|
+
multiple: boolean;
|
|
723
|
+
api: (file: File) => Promise<{
|
|
724
|
+
url: string;
|
|
725
|
+
}>;
|
|
726
|
+
imageTypes: string[];
|
|
727
|
+
limitSize: number;
|
|
728
|
+
fit: "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
729
|
+
limit: number;
|
|
730
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
731
|
+
uploadRef: {
|
|
732
|
+
$: import('vue').ComponentInternalInstance;
|
|
733
|
+
$data: {};
|
|
734
|
+
$props: Partial<{
|
|
735
|
+
readonly data: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | ((new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)))[], unknown, unknown>;
|
|
736
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
737
|
+
readonly drag: boolean;
|
|
738
|
+
readonly multiple: boolean;
|
|
739
|
+
readonly name: string;
|
|
740
|
+
readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
741
|
+
readonly onChange: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
742
|
+
readonly onError: (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
743
|
+
readonly method: string;
|
|
744
|
+
readonly action: string;
|
|
745
|
+
readonly accept: string;
|
|
746
|
+
readonly withCredentials: boolean;
|
|
747
|
+
readonly showFileList: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
748
|
+
readonly fileList: import('element-plus').UploadUserFile[];
|
|
749
|
+
readonly autoUpload: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
750
|
+
readonly listType: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "picture" | "text" | "picture-card", unknown>;
|
|
751
|
+
readonly httpRequest: import('element-plus').UploadRequestHandler;
|
|
752
|
+
readonly directory: boolean;
|
|
753
|
+
readonly beforeUpload: (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
754
|
+
readonly onRemove: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
755
|
+
readonly onPreview: (uploadFile: import('element-plus').UploadFile) => void;
|
|
756
|
+
readonly onSuccess: (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
757
|
+
readonly onExceed: (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
758
|
+
}> & Omit<{
|
|
759
|
+
readonly name: string;
|
|
760
|
+
readonly data: import('element-plus/es/utils/typescript.mjs').Mutable<{}>;
|
|
761
|
+
readonly onChange: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
762
|
+
readonly onError: (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
763
|
+
readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
764
|
+
readonly multiple: boolean;
|
|
765
|
+
readonly beforeUpload: (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
766
|
+
readonly onRemove: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
767
|
+
readonly onPreview: (uploadFile: import('element-plus').UploadFile) => void;
|
|
768
|
+
readonly onSuccess: (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
769
|
+
readonly onExceed: (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
770
|
+
readonly action: string;
|
|
771
|
+
readonly method: string;
|
|
772
|
+
readonly drag: boolean;
|
|
773
|
+
readonly withCredentials: boolean;
|
|
774
|
+
readonly showFileList: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
775
|
+
readonly accept: string;
|
|
776
|
+
readonly fileList: import('element-plus').UploadUserFile[];
|
|
777
|
+
readonly autoUpload: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
778
|
+
readonly listType: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "text" | "picture" | "picture-card", unknown>;
|
|
779
|
+
readonly httpRequest: import('element-plus').UploadRequestHandler;
|
|
780
|
+
readonly directory: boolean;
|
|
781
|
+
readonly disabled?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
782
|
+
readonly limit?: number;
|
|
783
|
+
readonly beforeRemove?: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => import('element-plus/es/utils/typescript.mjs').Awaitable<boolean>;
|
|
784
|
+
readonly crossorigin?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>;
|
|
785
|
+
readonly headers?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>;
|
|
786
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "name" | "data" | "disabled" | "onChange" | "onError" | "onProgress" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "directory">;
|
|
787
|
+
$attrs: {
|
|
788
|
+
[x: string]: unknown;
|
|
789
|
+
};
|
|
790
|
+
$refs: {
|
|
791
|
+
[x: string]: unknown;
|
|
792
|
+
};
|
|
793
|
+
$slots: Readonly<{
|
|
794
|
+
[name: string]: import('vue').Slot<any>;
|
|
795
|
+
}>;
|
|
796
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
797
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
798
|
+
$host: Element | null;
|
|
799
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
800
|
+
$el: any;
|
|
801
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
802
|
+
readonly beforeUpload: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
803
|
+
(): (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
804
|
+
new (): any;
|
|
805
|
+
readonly prototype: any;
|
|
806
|
+
} | ((new (...args: any[]) => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
807
|
+
(): (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
808
|
+
new (): any;
|
|
809
|
+
readonly prototype: any;
|
|
810
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
811
|
+
readonly beforeRemove: {
|
|
812
|
+
readonly type: import('vue').PropType<(uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => import('element-plus/es/utils/typescript.mjs').Awaitable<boolean>>;
|
|
813
|
+
readonly required: false;
|
|
814
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
815
|
+
__epPropKey: true;
|
|
816
|
+
};
|
|
817
|
+
readonly onRemove: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
818
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
819
|
+
new (): any;
|
|
820
|
+
readonly prototype: any;
|
|
821
|
+
} | ((new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
822
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
823
|
+
new (): any;
|
|
824
|
+
readonly prototype: any;
|
|
825
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
826
|
+
readonly onChange: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
827
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
828
|
+
new (): any;
|
|
829
|
+
readonly prototype: any;
|
|
830
|
+
} | ((new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
831
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
832
|
+
new (): any;
|
|
833
|
+
readonly prototype: any;
|
|
834
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
835
|
+
readonly onPreview: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (uploadFile: import('element-plus').UploadFile) => void) | (() => (uploadFile: import('element-plus').UploadFile) => void) | {
|
|
836
|
+
(): (uploadFile: import('element-plus').UploadFile) => void;
|
|
837
|
+
new (): any;
|
|
838
|
+
readonly prototype: any;
|
|
839
|
+
} | ((new (...args: any[]) => (uploadFile: import('element-plus').UploadFile) => void) | (() => (uploadFile: import('element-plus').UploadFile) => void) | {
|
|
840
|
+
(): (uploadFile: import('element-plus').UploadFile) => void;
|
|
841
|
+
new (): any;
|
|
842
|
+
readonly prototype: any;
|
|
843
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
844
|
+
readonly onSuccess: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
845
|
+
(): (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
846
|
+
new (): any;
|
|
847
|
+
readonly prototype: any;
|
|
848
|
+
} | ((new (...args: any[]) => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
849
|
+
(): (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
850
|
+
new (): any;
|
|
851
|
+
readonly prototype: any;
|
|
852
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
853
|
+
readonly onProgress: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
854
|
+
(): (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
855
|
+
new (): any;
|
|
856
|
+
readonly prototype: any;
|
|
857
|
+
} | ((new (...args: any[]) => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
858
|
+
(): (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
859
|
+
new (): any;
|
|
860
|
+
readonly prototype: any;
|
|
861
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
862
|
+
readonly onError: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
863
|
+
(): (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
864
|
+
new (): any;
|
|
865
|
+
readonly prototype: any;
|
|
866
|
+
} | ((new (...args: any[]) => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
867
|
+
(): (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
868
|
+
new (): any;
|
|
869
|
+
readonly prototype: any;
|
|
870
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
871
|
+
readonly onExceed: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | {
|
|
872
|
+
(): (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
873
|
+
new (): any;
|
|
874
|
+
readonly prototype: any;
|
|
875
|
+
} | ((new (...args: any[]) => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | {
|
|
876
|
+
(): (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
877
|
+
new (): any;
|
|
878
|
+
readonly prototype: any;
|
|
879
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
880
|
+
readonly crossorigin: {
|
|
881
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>>;
|
|
882
|
+
readonly required: false;
|
|
883
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
884
|
+
__epPropKey: true;
|
|
885
|
+
};
|
|
886
|
+
readonly action: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;
|
|
887
|
+
readonly headers: {
|
|
888
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;
|
|
889
|
+
readonly required: false;
|
|
890
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
891
|
+
__epPropKey: true;
|
|
892
|
+
};
|
|
893
|
+
readonly method: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
894
|
+
readonly data: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | ((new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)))[], unknown, unknown, () => import('element-plus/es/utils/typescript.mjs').Mutable<{}>, boolean>;
|
|
895
|
+
readonly multiple: BooleanConstructor;
|
|
896
|
+
readonly name: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
|
|
897
|
+
readonly drag: BooleanConstructor;
|
|
898
|
+
readonly withCredentials: BooleanConstructor;
|
|
899
|
+
readonly showFileList: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
900
|
+
readonly accept: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
901
|
+
readonly fileList: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus').UploadUserFile[]) | (() => import('element-plus').UploadUserFile[]) | ((new (...args: any[]) => import('element-plus').UploadUserFile[]) | (() => import('element-plus').UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
|
|
902
|
+
readonly autoUpload: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
903
|
+
readonly listType: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
|
|
904
|
+
readonly httpRequest: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus').UploadRequestHandler) | (() => import('element-plus').UploadRequestHandler) | {
|
|
905
|
+
(): import('element-plus').UploadRequestHandler;
|
|
906
|
+
new (): any;
|
|
907
|
+
readonly prototype: any;
|
|
908
|
+
} | ((new (...args: any[]) => import('element-plus').UploadRequestHandler) | (() => import('element-plus').UploadRequestHandler) | {
|
|
909
|
+
(): import('element-plus').UploadRequestHandler;
|
|
910
|
+
new (): any;
|
|
911
|
+
readonly prototype: any;
|
|
912
|
+
})[], unknown, unknown, import('element-plus').UploadRequestHandler, boolean>;
|
|
913
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
914
|
+
readonly limit: NumberConstructor;
|
|
915
|
+
readonly directory: BooleanConstructor;
|
|
916
|
+
}>>, {
|
|
917
|
+
abort: (file: import('element-plus').UploadFile) => void;
|
|
918
|
+
submit: () => void;
|
|
919
|
+
clearFiles: (states?: import('element-plus').UploadStatus[]) => void;
|
|
920
|
+
handleStart: (rawFile: import('element-plus').UploadRawFile) => void;
|
|
921
|
+
handleRemove: (file: import('element-plus').UploadFile | import('element-plus').UploadRawFile) => void;
|
|
922
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
923
|
+
readonly data: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | ((new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)))[], unknown, unknown>;
|
|
924
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
925
|
+
readonly drag: boolean;
|
|
926
|
+
readonly multiple: boolean;
|
|
927
|
+
readonly name: string;
|
|
928
|
+
readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
929
|
+
readonly onChange: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
930
|
+
readonly onError: (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
931
|
+
readonly method: string;
|
|
932
|
+
readonly action: string;
|
|
933
|
+
readonly accept: string;
|
|
934
|
+
readonly withCredentials: boolean;
|
|
935
|
+
readonly showFileList: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
936
|
+
readonly fileList: import('element-plus').UploadUserFile[];
|
|
937
|
+
readonly autoUpload: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
938
|
+
readonly listType: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "picture" | "text" | "picture-card", unknown>;
|
|
939
|
+
readonly httpRequest: import('element-plus').UploadRequestHandler;
|
|
940
|
+
readonly directory: boolean;
|
|
941
|
+
readonly beforeUpload: (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
942
|
+
readonly onRemove: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
943
|
+
readonly onPreview: (uploadFile: import('element-plus').UploadFile) => void;
|
|
944
|
+
readonly onSuccess: (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
945
|
+
readonly onExceed: (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
946
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
947
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
948
|
+
created?: (() => void) | (() => void)[];
|
|
949
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
950
|
+
mounted?: (() => void) | (() => void)[];
|
|
951
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
952
|
+
updated?: (() => void) | (() => void)[];
|
|
953
|
+
activated?: (() => void) | (() => void)[];
|
|
954
|
+
deactivated?: (() => void) | (() => void)[];
|
|
955
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
956
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
957
|
+
destroyed?: (() => void) | (() => void)[];
|
|
958
|
+
unmounted?: (() => void) | (() => void)[];
|
|
959
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
960
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
961
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
962
|
+
};
|
|
963
|
+
$forceUpdate: () => void;
|
|
964
|
+
$nextTick: typeof import('vue').nextTick;
|
|
965
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
966
|
+
} & Readonly<{
|
|
967
|
+
readonly data: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | ((new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)))[], unknown, unknown>;
|
|
968
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
969
|
+
readonly drag: boolean;
|
|
970
|
+
readonly multiple: boolean;
|
|
971
|
+
readonly name: string;
|
|
972
|
+
readonly onProgress: (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
973
|
+
readonly onChange: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
974
|
+
readonly onError: (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
975
|
+
readonly method: string;
|
|
976
|
+
readonly action: string;
|
|
977
|
+
readonly accept: string;
|
|
978
|
+
readonly withCredentials: boolean;
|
|
979
|
+
readonly showFileList: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
980
|
+
readonly fileList: import('element-plus').UploadUserFile[];
|
|
981
|
+
readonly autoUpload: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
982
|
+
readonly listType: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "picture" | "text" | "picture-card", unknown>;
|
|
983
|
+
readonly httpRequest: import('element-plus').UploadRequestHandler;
|
|
984
|
+
readonly directory: boolean;
|
|
985
|
+
readonly beforeUpload: (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
986
|
+
readonly onRemove: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
987
|
+
readonly onPreview: (uploadFile: import('element-plus').UploadFile) => void;
|
|
988
|
+
readonly onSuccess: (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
989
|
+
readonly onExceed: (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
990
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
991
|
+
readonly beforeUpload: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
992
|
+
(): (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
993
|
+
new (): any;
|
|
994
|
+
readonly prototype: any;
|
|
995
|
+
} | ((new (...args: any[]) => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
996
|
+
(): (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
997
|
+
new (): any;
|
|
998
|
+
readonly prototype: any;
|
|
999
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
1000
|
+
readonly beforeRemove: {
|
|
1001
|
+
readonly type: import('vue').PropType<(uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => import('element-plus/es/utils/typescript.mjs').Awaitable<boolean>>;
|
|
1002
|
+
readonly required: false;
|
|
1003
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1004
|
+
__epPropKey: true;
|
|
1005
|
+
};
|
|
1006
|
+
readonly onRemove: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
1007
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
1008
|
+
new (): any;
|
|
1009
|
+
readonly prototype: any;
|
|
1010
|
+
} | ((new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
1011
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
1012
|
+
new (): any;
|
|
1013
|
+
readonly prototype: any;
|
|
1014
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
1015
|
+
readonly onChange: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
1016
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
1017
|
+
new (): any;
|
|
1018
|
+
readonly prototype: any;
|
|
1019
|
+
} | ((new (...args: any[]) => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
1020
|
+
(): (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
1021
|
+
new (): any;
|
|
1022
|
+
readonly prototype: any;
|
|
1023
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
1024
|
+
readonly onPreview: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (uploadFile: import('element-plus').UploadFile) => void) | (() => (uploadFile: import('element-plus').UploadFile) => void) | {
|
|
1025
|
+
(): (uploadFile: import('element-plus').UploadFile) => void;
|
|
1026
|
+
new (): any;
|
|
1027
|
+
readonly prototype: any;
|
|
1028
|
+
} | ((new (...args: any[]) => (uploadFile: import('element-plus').UploadFile) => void) | (() => (uploadFile: import('element-plus').UploadFile) => void) | {
|
|
1029
|
+
(): (uploadFile: import('element-plus').UploadFile) => void;
|
|
1030
|
+
new (): any;
|
|
1031
|
+
readonly prototype: any;
|
|
1032
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
1033
|
+
readonly onSuccess: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
1034
|
+
(): (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
1035
|
+
new (): any;
|
|
1036
|
+
readonly prototype: any;
|
|
1037
|
+
} | ((new (...args: any[]) => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
1038
|
+
(): (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
1039
|
+
new (): any;
|
|
1040
|
+
readonly prototype: any;
|
|
1041
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
1042
|
+
readonly onProgress: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
1043
|
+
(): (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
1044
|
+
new (): any;
|
|
1045
|
+
readonly prototype: any;
|
|
1046
|
+
} | ((new (...args: any[]) => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
1047
|
+
(): (evt: import('element-plus').UploadProgressEvent, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
1048
|
+
new (): any;
|
|
1049
|
+
readonly prototype: any;
|
|
1050
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
1051
|
+
readonly onError: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
1052
|
+
(): (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
1053
|
+
new (): any;
|
|
1054
|
+
readonly prototype: any;
|
|
1055
|
+
} | ((new (...args: any[]) => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | (() => (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void) | {
|
|
1056
|
+
(): (error: Error, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
1057
|
+
new (): any;
|
|
1058
|
+
readonly prototype: any;
|
|
1059
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
1060
|
+
readonly onExceed: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | {
|
|
1061
|
+
(): (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
1062
|
+
new (): any;
|
|
1063
|
+
readonly prototype: any;
|
|
1064
|
+
} | ((new (...args: any[]) => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void) | {
|
|
1065
|
+
(): (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
1066
|
+
new (): any;
|
|
1067
|
+
readonly prototype: any;
|
|
1068
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
1069
|
+
readonly crossorigin: {
|
|
1070
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>>;
|
|
1071
|
+
readonly required: false;
|
|
1072
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1073
|
+
__epPropKey: true;
|
|
1074
|
+
};
|
|
1075
|
+
readonly action: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;
|
|
1076
|
+
readonly headers: {
|
|
1077
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;
|
|
1078
|
+
readonly required: false;
|
|
1079
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1080
|
+
__epPropKey: true;
|
|
1081
|
+
};
|
|
1082
|
+
readonly method: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
1083
|
+
readonly data: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | ((new (...args: any[]) => import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>> | Promise<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | (() => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus/es/utils/typescript.mjs').Mutable<Record<string, any>>> | ((rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)))[], unknown, unknown, () => import('element-plus/es/utils/typescript.mjs').Mutable<{}>, boolean>;
|
|
1084
|
+
readonly multiple: BooleanConstructor;
|
|
1085
|
+
readonly name: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
|
|
1086
|
+
readonly drag: BooleanConstructor;
|
|
1087
|
+
readonly withCredentials: BooleanConstructor;
|
|
1088
|
+
readonly showFileList: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1089
|
+
readonly accept: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1090
|
+
readonly fileList: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus').UploadUserFile[]) | (() => import('element-plus').UploadUserFile[]) | ((new (...args: any[]) => import('element-plus').UploadUserFile[]) | (() => import('element-plus').UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
|
|
1091
|
+
readonly autoUpload: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1092
|
+
readonly listType: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
|
|
1093
|
+
readonly httpRequest: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus').UploadRequestHandler) | (() => import('element-plus').UploadRequestHandler) | {
|
|
1094
|
+
(): import('element-plus').UploadRequestHandler;
|
|
1095
|
+
new (): any;
|
|
1096
|
+
readonly prototype: any;
|
|
1097
|
+
} | ((new (...args: any[]) => import('element-plus').UploadRequestHandler) | (() => import('element-plus').UploadRequestHandler) | {
|
|
1098
|
+
(): import('element-plus').UploadRequestHandler;
|
|
1099
|
+
new (): any;
|
|
1100
|
+
readonly prototype: any;
|
|
1101
|
+
})[], unknown, unknown, import('element-plus').UploadRequestHandler, boolean>;
|
|
1102
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1103
|
+
readonly limit: NumberConstructor;
|
|
1104
|
+
readonly directory: BooleanConstructor;
|
|
1105
|
+
}>>, "name" | "data" | "disabled" | "onChange" | "submit" | "onError" | "onProgress" | "multiple" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "directory" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & import('vue').ShallowUnwrapRef<{
|
|
1106
|
+
abort: (file: import('element-plus').UploadFile) => void;
|
|
1107
|
+
submit: () => void;
|
|
1108
|
+
clearFiles: (states?: import('element-plus').UploadStatus[]) => void;
|
|
1109
|
+
handleStart: (rawFile: import('element-plus').UploadRawFile) => void;
|
|
1110
|
+
handleRemove: (file: import('element-plus').UploadFile | import('element-plus').UploadRawFile) => void;
|
|
1111
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1112
|
+
$slots: {
|
|
1113
|
+
file?: (props: {
|
|
1114
|
+
file: import('element-plus').UploadFile;
|
|
1115
|
+
index: number;
|
|
1116
|
+
}) => any;
|
|
1117
|
+
} & {
|
|
1118
|
+
trigger?: (props: {}) => any;
|
|
1119
|
+
} & {
|
|
1120
|
+
default?: (props: {}) => any;
|
|
1121
|
+
} & {
|
|
1122
|
+
trigger?: (props: {}) => any;
|
|
1123
|
+
} & {
|
|
1124
|
+
default?: (props: {}) => any;
|
|
1125
|
+
} & {
|
|
1126
|
+
default?: (props: {}) => any;
|
|
1127
|
+
} & {
|
|
1128
|
+
tip?: (props: {}) => any;
|
|
1129
|
+
} & {
|
|
1130
|
+
file?: (props: {
|
|
1131
|
+
file: import('element-plus').UploadFile;
|
|
1132
|
+
index: number;
|
|
1133
|
+
}) => any;
|
|
1134
|
+
};
|
|
1135
|
+
};
|
|
1136
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
1137
|
+
P: {};
|
|
1138
|
+
B: {};
|
|
1139
|
+
D: {};
|
|
1140
|
+
C: {};
|
|
1141
|
+
M: {};
|
|
1142
|
+
Defaults: {};
|
|
1143
|
+
}, Readonly<{
|
|
1144
|
+
modelValue?: string;
|
|
1145
|
+
} & import('@ez-ui/components').ImageUpload> & Readonly<{
|
|
1146
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
1147
|
+
}>, {
|
|
1148
|
+
getUploadRef: () => any;
|
|
1149
|
+
getUrlList: () => string[];
|
|
1150
|
+
}, {}, {}, {}, {
|
|
1151
|
+
style: Record<string, string>;
|
|
1152
|
+
disabled: boolean;
|
|
1153
|
+
multiple: boolean;
|
|
1154
|
+
api: (file: File) => Promise<{
|
|
1155
|
+
url: string;
|
|
1156
|
+
}>;
|
|
1157
|
+
imageTypes: string[];
|
|
1158
|
+
limitSize: number;
|
|
1159
|
+
fit: "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
1160
|
+
limit: number;
|
|
1161
|
+
}>;
|
|
1162
|
+
__isFragment?: never;
|
|
1163
|
+
__isTeleport?: never;
|
|
1164
|
+
__isSuspense?: never;
|
|
1165
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
1166
|
+
modelValue?: string;
|
|
1167
|
+
} & import('@ez-ui/components').ImageUpload> & Readonly<{
|
|
1168
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
1169
|
+
}>, {
|
|
1170
|
+
getUploadRef: () => any;
|
|
1171
|
+
getUrlList: () => string[];
|
|
1172
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1173
|
+
"update:modelValue": (value: string) => any;
|
|
1174
|
+
}, string, {
|
|
1175
|
+
style: Record<string, string>;
|
|
1176
|
+
disabled: boolean;
|
|
1177
|
+
multiple: boolean;
|
|
1178
|
+
api: (file: File) => Promise<{
|
|
1179
|
+
url: string;
|
|
1180
|
+
}>;
|
|
1181
|
+
imageTypes: string[];
|
|
1182
|
+
limitSize: number;
|
|
1183
|
+
fit: "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
1184
|
+
limit: number;
|
|
1185
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & ((app: import('vue').App, ...options: any[]) => any) & Partial<import('vue').ObjectPlugin<any[]>> & Record<string, any>) | ((<T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
1186
|
+
slots: Readonly<NonNullable<import('@ez-ui/components').TableSolt<T>>> & {
|
|
1187
|
+
[x: string]: (props: {
|
|
1188
|
+
row: T;
|
|
1189
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1190
|
+
$index: number;
|
|
1191
|
+
}) => import('vue').VNodeChild;
|
|
1192
|
+
} & {
|
|
1193
|
+
append?: () => import('vue').VNodeChild;
|
|
1194
|
+
empty?: () => import('vue').VNodeChild;
|
|
1195
|
+
} & {
|
|
1196
|
+
[x: `header-${string}`]: (props: {
|
|
1197
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1198
|
+
$index: number;
|
|
1199
|
+
}) => import('vue').VNodeChild;
|
|
1200
|
+
};
|
|
1201
|
+
attrs: any;
|
|
1202
|
+
emit: {};
|
|
1203
|
+
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1204
|
+
props: {
|
|
1205
|
+
data: T[];
|
|
1206
|
+
columns: import('@ez-ui/components').TableColumn<T>[];
|
|
1207
|
+
rowKey?: string;
|
|
1208
|
+
} & import('vue').PublicProps;
|
|
1209
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
1210
|
+
getTableRef: () => any;
|
|
1211
|
+
}>): void;
|
|
1212
|
+
attrs: any;
|
|
1213
|
+
slots: Readonly<NonNullable<import('@ez-ui/components').TableSolt<T>>> & {
|
|
1214
|
+
[x: string]: (props: {
|
|
1215
|
+
row: T;
|
|
1216
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1217
|
+
$index: number;
|
|
1218
|
+
}) => import('vue').VNodeChild;
|
|
1219
|
+
} & {
|
|
1220
|
+
append?: () => import('vue').VNodeChild;
|
|
1221
|
+
empty?: () => import('vue').VNodeChild;
|
|
1222
|
+
} & {
|
|
1223
|
+
[x: `header-${string}`]: (props: {
|
|
1224
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1225
|
+
$index: number;
|
|
1226
|
+
}) => import('vue').VNodeChild;
|
|
1227
|
+
};
|
|
1228
|
+
emit: {};
|
|
1229
|
+
}>) => import('vue').VNode & {
|
|
1230
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1231
|
+
}) & import('vue').ObjectPlugin<any[]> & Record<string, any>) | ((<T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
1232
|
+
slots: Readonly<NonNullable<import('@ez-ui/components').TableSolt<T>>> & {
|
|
1233
|
+
[x: string]: (props: {
|
|
1234
|
+
row: T;
|
|
1235
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1236
|
+
$index: number;
|
|
1237
|
+
}) => import('vue').VNodeChild;
|
|
1238
|
+
} & {
|
|
1239
|
+
append?: () => import('vue').VNodeChild;
|
|
1240
|
+
empty?: () => import('vue').VNodeChild;
|
|
1241
|
+
} & {
|
|
1242
|
+
[x: `header-${string}`]: (props: {
|
|
1243
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1244
|
+
$index: number;
|
|
1245
|
+
}) => import('vue').VNodeChild;
|
|
1246
|
+
};
|
|
1247
|
+
attrs: any;
|
|
1248
|
+
emit: {};
|
|
1249
|
+
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1250
|
+
props: {
|
|
1251
|
+
data: T[];
|
|
1252
|
+
columns: import('@ez-ui/components').TableColumn<T>[];
|
|
1253
|
+
rowKey?: string;
|
|
1254
|
+
} & import('vue').PublicProps;
|
|
1255
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
1256
|
+
getTableRef: () => any;
|
|
1257
|
+
}>): void;
|
|
1258
|
+
attrs: any;
|
|
1259
|
+
slots: Readonly<NonNullable<import('@ez-ui/components').TableSolt<T>>> & {
|
|
1260
|
+
[x: string]: (props: {
|
|
1261
|
+
row: T;
|
|
1262
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1263
|
+
$index: number;
|
|
1264
|
+
}) => import('vue').VNodeChild;
|
|
1265
|
+
} & {
|
|
1266
|
+
append?: () => import('vue').VNodeChild;
|
|
1267
|
+
empty?: () => import('vue').VNodeChild;
|
|
1268
|
+
} & {
|
|
1269
|
+
[x: `header-${string}`]: (props: {
|
|
1270
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1271
|
+
$index: number;
|
|
1272
|
+
}) => import('vue').VNodeChild;
|
|
1273
|
+
};
|
|
1274
|
+
emit: {};
|
|
1275
|
+
}>) => import('vue').VNode & {
|
|
1276
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1277
|
+
}) & ((app: import('vue').App, ...options: any[]) => any) & Partial<import('vue').ObjectPlugin<any[]>> & Record<string, any>) | ({
|
|
1278
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1279
|
+
expanded?: Boolean;
|
|
1280
|
+
} & import('@ez-ui/components').SearchFormProps> & Readonly<{
|
|
1281
|
+
"onUpdate:expanded"?: (value: Boolean) => any;
|
|
1282
|
+
}>, {
|
|
1283
|
+
countViewHeight: () => void;
|
|
1284
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1285
|
+
"update:expanded": (value: Boolean) => any;
|
|
1286
|
+
}, import('vue').PublicProps, {
|
|
1287
|
+
collapsedHeight: number;
|
|
1288
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
1289
|
+
wrapRef: HTMLDivElement;
|
|
1290
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
1291
|
+
P: {};
|
|
1292
|
+
B: {};
|
|
1293
|
+
D: {};
|
|
1294
|
+
C: {};
|
|
1295
|
+
M: {};
|
|
1296
|
+
Defaults: {};
|
|
1297
|
+
}, Readonly<{
|
|
1298
|
+
expanded?: Boolean;
|
|
1299
|
+
} & import('@ez-ui/components').SearchFormProps> & Readonly<{
|
|
1300
|
+
"onUpdate:expanded"?: (value: Boolean) => any;
|
|
1301
|
+
}>, {
|
|
1302
|
+
countViewHeight: () => void;
|
|
1303
|
+
}, {}, {}, {}, {
|
|
1304
|
+
collapsedHeight: number;
|
|
1305
|
+
}>;
|
|
1306
|
+
__isFragment?: never;
|
|
1307
|
+
__isTeleport?: never;
|
|
1308
|
+
__isSuspense?: never;
|
|
1309
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
1310
|
+
expanded?: Boolean;
|
|
1311
|
+
} & import('@ez-ui/components').SearchFormProps> & Readonly<{
|
|
1312
|
+
"onUpdate:expanded"?: (value: Boolean) => any;
|
|
1313
|
+
}>, {
|
|
1314
|
+
countViewHeight: () => void;
|
|
1315
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1316
|
+
"update:expanded": (value: Boolean) => any;
|
|
1317
|
+
}, string, {
|
|
1318
|
+
collapsedHeight: number;
|
|
1319
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1320
|
+
$slots: {
|
|
1321
|
+
operate?(_: {}): any;
|
|
1322
|
+
default?(_: {}): any;
|
|
1323
|
+
};
|
|
1324
|
+
}) & import('vue').ObjectPlugin<any[]> & Record<string, any>) | ({
|
|
1325
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1326
|
+
expanded?: Boolean;
|
|
1327
|
+
} & import('@ez-ui/components').SearchFormProps> & Readonly<{
|
|
1328
|
+
"onUpdate:expanded"?: (value: Boolean) => any;
|
|
1329
|
+
}>, {
|
|
1330
|
+
countViewHeight: () => void;
|
|
1331
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1332
|
+
"update:expanded": (value: Boolean) => any;
|
|
1333
|
+
}, import('vue').PublicProps, {
|
|
1334
|
+
collapsedHeight: number;
|
|
1335
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
1336
|
+
wrapRef: HTMLDivElement;
|
|
1337
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
1338
|
+
P: {};
|
|
1339
|
+
B: {};
|
|
1340
|
+
D: {};
|
|
1341
|
+
C: {};
|
|
1342
|
+
M: {};
|
|
1343
|
+
Defaults: {};
|
|
1344
|
+
}, Readonly<{
|
|
1345
|
+
expanded?: Boolean;
|
|
1346
|
+
} & import('@ez-ui/components').SearchFormProps> & Readonly<{
|
|
1347
|
+
"onUpdate:expanded"?: (value: Boolean) => any;
|
|
1348
|
+
}>, {
|
|
1349
|
+
countViewHeight: () => void;
|
|
1350
|
+
}, {}, {}, {}, {
|
|
1351
|
+
collapsedHeight: number;
|
|
1352
|
+
}>;
|
|
1353
|
+
__isFragment?: never;
|
|
1354
|
+
__isTeleport?: never;
|
|
1355
|
+
__isSuspense?: never;
|
|
1356
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
1357
|
+
expanded?: Boolean;
|
|
1358
|
+
} & import('@ez-ui/components').SearchFormProps> & Readonly<{
|
|
1359
|
+
"onUpdate:expanded"?: (value: Boolean) => any;
|
|
1360
|
+
}>, {
|
|
1361
|
+
countViewHeight: () => void;
|
|
1362
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1363
|
+
"update:expanded": (value: Boolean) => any;
|
|
1364
|
+
}, string, {
|
|
1365
|
+
collapsedHeight: number;
|
|
1366
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1367
|
+
$slots: {
|
|
1368
|
+
operate?(_: {}): any;
|
|
1369
|
+
default?(_: {}): any;
|
|
1370
|
+
};
|
|
1371
|
+
}) & ((app: import('vue').App, ...options: any[]) => any) & Partial<import('vue').ObjectPlugin<any[]>> & Record<string, any>) | ({
|
|
1372
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1373
|
+
currentPage?: number;
|
|
1374
|
+
pageSize?: number;
|
|
1375
|
+
}> & Readonly<{
|
|
1376
|
+
"onCurrent-change"?: (value: number) => any;
|
|
1377
|
+
"onSize-change"?: (value: number) => any;
|
|
1378
|
+
"onUpdate:currentPage"?: (value: number) => any;
|
|
1379
|
+
"onUpdate:pageSize"?: (value: number) => any;
|
|
1380
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1381
|
+
"current-change": (value: number) => any;
|
|
1382
|
+
"size-change": (value: number) => any;
|
|
1383
|
+
"update:currentPage": (value: number) => any;
|
|
1384
|
+
"update:pageSize": (value: number) => any;
|
|
1385
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1386
|
+
P: {};
|
|
1387
|
+
B: {};
|
|
1388
|
+
D: {};
|
|
1389
|
+
C: {};
|
|
1390
|
+
M: {};
|
|
1391
|
+
Defaults: {};
|
|
1392
|
+
}, Readonly<{
|
|
1393
|
+
currentPage?: number;
|
|
1394
|
+
pageSize?: number;
|
|
1395
|
+
}> & Readonly<{
|
|
1396
|
+
"onCurrent-change"?: (value: number) => any;
|
|
1397
|
+
"onSize-change"?: (value: number) => any;
|
|
1398
|
+
"onUpdate:currentPage"?: (value: number) => any;
|
|
1399
|
+
"onUpdate:pageSize"?: (value: number) => any;
|
|
1400
|
+
}>, {}, {}, {}, {}, {}>;
|
|
1401
|
+
__isFragment?: never;
|
|
1402
|
+
__isTeleport?: never;
|
|
1403
|
+
__isSuspense?: never;
|
|
1404
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
1405
|
+
currentPage?: number;
|
|
1406
|
+
pageSize?: number;
|
|
1407
|
+
}> & Readonly<{
|
|
1408
|
+
"onCurrent-change"?: (value: number) => any;
|
|
1409
|
+
"onSize-change"?: (value: number) => any;
|
|
1410
|
+
"onUpdate:currentPage"?: (value: number) => any;
|
|
1411
|
+
"onUpdate:pageSize"?: (value: number) => any;
|
|
1412
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1413
|
+
"current-change": (value: number) => any;
|
|
1414
|
+
"size-change": (value: number) => any;
|
|
1415
|
+
"update:currentPage": (value: number) => any;
|
|
1416
|
+
"update:pageSize": (value: number) => any;
|
|
1417
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').ObjectPlugin<any[]> & Record<string, any>) | ({
|
|
1418
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1419
|
+
currentPage?: number;
|
|
1420
|
+
pageSize?: number;
|
|
1421
|
+
}> & Readonly<{
|
|
1422
|
+
"onCurrent-change"?: (value: number) => any;
|
|
1423
|
+
"onSize-change"?: (value: number) => any;
|
|
1424
|
+
"onUpdate:currentPage"?: (value: number) => any;
|
|
1425
|
+
"onUpdate:pageSize"?: (value: number) => any;
|
|
1426
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1427
|
+
"current-change": (value: number) => any;
|
|
1428
|
+
"size-change": (value: number) => any;
|
|
1429
|
+
"update:currentPage": (value: number) => any;
|
|
1430
|
+
"update:pageSize": (value: number) => any;
|
|
1431
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1432
|
+
P: {};
|
|
1433
|
+
B: {};
|
|
1434
|
+
D: {};
|
|
1435
|
+
C: {};
|
|
1436
|
+
M: {};
|
|
1437
|
+
Defaults: {};
|
|
1438
|
+
}, Readonly<{
|
|
1439
|
+
currentPage?: number;
|
|
1440
|
+
pageSize?: number;
|
|
1441
|
+
}> & Readonly<{
|
|
1442
|
+
"onCurrent-change"?: (value: number) => any;
|
|
1443
|
+
"onSize-change"?: (value: number) => any;
|
|
1444
|
+
"onUpdate:currentPage"?: (value: number) => any;
|
|
1445
|
+
"onUpdate:pageSize"?: (value: number) => any;
|
|
1446
|
+
}>, {}, {}, {}, {}, {}>;
|
|
1447
|
+
__isFragment?: never;
|
|
1448
|
+
__isTeleport?: never;
|
|
1449
|
+
__isSuspense?: never;
|
|
1450
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
1451
|
+
currentPage?: number;
|
|
1452
|
+
pageSize?: number;
|
|
1453
|
+
}> & Readonly<{
|
|
1454
|
+
"onCurrent-change"?: (value: number) => any;
|
|
1455
|
+
"onSize-change"?: (value: number) => any;
|
|
1456
|
+
"onUpdate:currentPage"?: (value: number) => any;
|
|
1457
|
+
"onUpdate:pageSize"?: (value: number) => any;
|
|
1458
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1459
|
+
"current-change": (value: number) => any;
|
|
1460
|
+
"size-change": (value: number) => any;
|
|
1461
|
+
"update:currentPage": (value: number) => any;
|
|
1462
|
+
"update:pageSize": (value: number) => any;
|
|
1463
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & ((app: import('vue').App, ...options: any[]) => any) & Partial<import('vue').ObjectPlugin<any[]>> & Record<string, any>) | ((<T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
1464
|
+
slots: Readonly<NonNullable<import('@ez-ui/components').FastTableSolt<T>>> & {
|
|
1465
|
+
form: () => void;
|
|
1466
|
+
header: (props: import('@ez-ui/components').TableHeaderProps<T>) => void;
|
|
1467
|
+
freeArea: () => void;
|
|
1468
|
+
} & {
|
|
1469
|
+
[x: string]: (props: {
|
|
1470
|
+
row: T;
|
|
1471
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1472
|
+
$index: number;
|
|
1473
|
+
}) => import('vue').VNodeChild;
|
|
1474
|
+
} & {
|
|
1475
|
+
append?: () => import('vue').VNodeChild;
|
|
1476
|
+
empty?: () => import('vue').VNodeChild;
|
|
1477
|
+
} & {
|
|
1478
|
+
[x: `header-${string}`]: (props: {
|
|
1479
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1480
|
+
$index: number;
|
|
1481
|
+
}) => import('vue').VNodeChild;
|
|
1482
|
+
};
|
|
1483
|
+
attrs: any;
|
|
1484
|
+
emit: ((event: "reset" | "changePage" | "query", ...args: any[]) => void) & (((evt: "update:columns", value: import('@ez-ui/components').TableColumn<T>[]) => void) & ((evt: "update:params", value: import('@ez-ui/components').SearchParams) => void) & ((evt: "update:loading", value: boolean) => void));
|
|
1485
|
+
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1486
|
+
props: {
|
|
1487
|
+
readonly onReset?: (...args: any[]) => any;
|
|
1488
|
+
readonly "onUpdate:columns"?: (value: import('@ez-ui/components').TableColumn<T>[]) => any;
|
|
1489
|
+
readonly "onUpdate:params"?: (value: import('@ez-ui/components').SearchParams) => any;
|
|
1490
|
+
readonly "onUpdate:loading"?: (value: boolean) => any;
|
|
1491
|
+
readonly onChangePage?: (...args: any[]) => any;
|
|
1492
|
+
readonly onQuery?: (...args: any[]) => any;
|
|
1493
|
+
params?: import('@ez-ui/components').SearchParams;
|
|
1494
|
+
columns?: import('@ez-ui/components').TableColumn<T>[] & import('@ez-ui/components').TableColumn<any>[];
|
|
1495
|
+
loading?: boolean;
|
|
1496
|
+
api: (params?: any) => Promise<any>;
|
|
1497
|
+
beforeSearch?: (params: import('@ez-ui/components').SearchParams) => Promise<void>;
|
|
1498
|
+
columnTool?: boolean;
|
|
1499
|
+
expanded?: boolean;
|
|
1500
|
+
data?: any[];
|
|
1501
|
+
rowKey?: string;
|
|
1502
|
+
} & import('vue').PublicProps;
|
|
1503
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
1504
|
+
search: () => void;
|
|
1505
|
+
query: () => Promise<void>;
|
|
1506
|
+
getTableRef: () => any;
|
|
1507
|
+
}>): void;
|
|
1508
|
+
attrs: any;
|
|
1509
|
+
slots: Readonly<NonNullable<import('@ez-ui/components').FastTableSolt<T>>> & {
|
|
1510
|
+
form: () => void;
|
|
1511
|
+
header: (props: import('@ez-ui/components').TableHeaderProps<T>) => void;
|
|
1512
|
+
freeArea: () => void;
|
|
1513
|
+
} & {
|
|
1514
|
+
[x: string]: (props: {
|
|
1515
|
+
row: T;
|
|
1516
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1517
|
+
$index: number;
|
|
1518
|
+
}) => import('vue').VNodeChild;
|
|
1519
|
+
} & {
|
|
1520
|
+
append?: () => import('vue').VNodeChild;
|
|
1521
|
+
empty?: () => import('vue').VNodeChild;
|
|
1522
|
+
} & {
|
|
1523
|
+
[x: `header-${string}`]: (props: {
|
|
1524
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1525
|
+
$index: number;
|
|
1526
|
+
}) => import('vue').VNodeChild;
|
|
1527
|
+
};
|
|
1528
|
+
emit: ((event: "reset" | "changePage" | "query", ...args: any[]) => void) & (((evt: "update:columns", value: import('@ez-ui/components').TableColumn<T>[]) => void) & ((evt: "update:params", value: import('@ez-ui/components').SearchParams) => void) & ((evt: "update:loading", value: boolean) => void));
|
|
1529
|
+
}>) => import('vue').VNode & {
|
|
1530
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1531
|
+
}) & import('vue').ObjectPlugin<any[]> & Record<string, any>) | ((<T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
1532
|
+
slots: Readonly<NonNullable<import('@ez-ui/components').FastTableSolt<T>>> & {
|
|
1533
|
+
form: () => void;
|
|
1534
|
+
header: (props: import('@ez-ui/components').TableHeaderProps<T>) => void;
|
|
1535
|
+
freeArea: () => void;
|
|
1536
|
+
} & {
|
|
1537
|
+
[x: string]: (props: {
|
|
1538
|
+
row: T;
|
|
1539
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1540
|
+
$index: number;
|
|
1541
|
+
}) => import('vue').VNodeChild;
|
|
1542
|
+
} & {
|
|
1543
|
+
append?: () => import('vue').VNodeChild;
|
|
1544
|
+
empty?: () => import('vue').VNodeChild;
|
|
1545
|
+
} & {
|
|
1546
|
+
[x: `header-${string}`]: (props: {
|
|
1547
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1548
|
+
$index: number;
|
|
1549
|
+
}) => import('vue').VNodeChild;
|
|
1550
|
+
};
|
|
1551
|
+
attrs: any;
|
|
1552
|
+
emit: ((event: "reset" | "changePage" | "query", ...args: any[]) => void) & (((evt: "update:columns", value: import('@ez-ui/components').TableColumn<T>[]) => void) & ((evt: "update:params", value: import('@ez-ui/components').SearchParams) => void) & ((evt: "update:loading", value: boolean) => void));
|
|
1553
|
+
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1554
|
+
props: {
|
|
1555
|
+
readonly onReset?: (...args: any[]) => any;
|
|
1556
|
+
readonly "onUpdate:columns"?: (value: import('@ez-ui/components').TableColumn<T>[]) => any;
|
|
1557
|
+
readonly "onUpdate:params"?: (value: import('@ez-ui/components').SearchParams) => any;
|
|
1558
|
+
readonly "onUpdate:loading"?: (value: boolean) => any;
|
|
1559
|
+
readonly onChangePage?: (...args: any[]) => any;
|
|
1560
|
+
readonly onQuery?: (...args: any[]) => any;
|
|
1561
|
+
params?: import('@ez-ui/components').SearchParams;
|
|
1562
|
+
columns?: import('@ez-ui/components').TableColumn<T>[] & import('@ez-ui/components').TableColumn<any>[];
|
|
1563
|
+
loading?: boolean;
|
|
1564
|
+
api: (params?: any) => Promise<any>;
|
|
1565
|
+
beforeSearch?: (params: import('@ez-ui/components').SearchParams) => Promise<void>;
|
|
1566
|
+
columnTool?: boolean;
|
|
1567
|
+
expanded?: boolean;
|
|
1568
|
+
data?: any[];
|
|
1569
|
+
rowKey?: string;
|
|
1570
|
+
} & import('vue').PublicProps;
|
|
1571
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
1572
|
+
search: () => void;
|
|
1573
|
+
query: () => Promise<void>;
|
|
1574
|
+
getTableRef: () => any;
|
|
1575
|
+
}>): void;
|
|
1576
|
+
attrs: any;
|
|
1577
|
+
slots: Readonly<NonNullable<import('@ez-ui/components').FastTableSolt<T>>> & {
|
|
1578
|
+
form: () => void;
|
|
1579
|
+
header: (props: import('@ez-ui/components').TableHeaderProps<T>) => void;
|
|
1580
|
+
freeArea: () => void;
|
|
1581
|
+
} & {
|
|
1582
|
+
[x: string]: (props: {
|
|
1583
|
+
row: T;
|
|
1584
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1585
|
+
$index: number;
|
|
1586
|
+
}) => import('vue').VNodeChild;
|
|
1587
|
+
} & {
|
|
1588
|
+
append?: () => import('vue').VNodeChild;
|
|
1589
|
+
empty?: () => import('vue').VNodeChild;
|
|
1590
|
+
} & {
|
|
1591
|
+
[x: `header-${string}`]: (props: {
|
|
1592
|
+
column: import('@ez-ui/components').TableColumn<T>;
|
|
1593
|
+
$index: number;
|
|
1594
|
+
}) => import('vue').VNodeChild;
|
|
1595
|
+
};
|
|
1596
|
+
emit: ((event: "reset" | "changePage" | "query", ...args: any[]) => void) & (((evt: "update:columns", value: import('@ez-ui/components').TableColumn<T>[]) => void) & ((evt: "update:params", value: import('@ez-ui/components').SearchParams) => void) & ((evt: "update:loading", value: boolean) => void));
|
|
1597
|
+
}>) => import('vue').VNode & {
|
|
1598
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1599
|
+
}) & ((app: import('vue').App, ...options: any[]) => any) & Partial<import('vue').ObjectPlugin<any[]>> & Record<string, any>))[];
|
|
926
1600
|
export default _default;
|