@keyblade/pro-components 1.13.8-alpha.8 → 1.14.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/es/components.d.ts +7 -0
- package/es/global-props.d.ts +21 -2
- package/es/global-props.js +6 -2
- package/es/index.d.ts +7 -0
- package/es/index.js +47 -28
- package/es/inerface.d.ts +5 -1
- package/es/pro-calendar/calendar.vue.d.ts +75 -0
- package/es/pro-calendar/calendar.vue.js +159 -0
- package/es/pro-calendar/calendar.vue3.js +5 -0
- package/es/pro-calendar/enum.d.ts +6 -0
- package/es/pro-calendar/enum.js +4 -0
- package/es/pro-calendar/header.vue.d.ts +35 -0
- package/es/pro-calendar/header.vue.js +146 -0
- package/es/pro-calendar/header.vue2.js +4 -0
- package/es/pro-calendar/hooks/useCellClassName.d.ts +12 -0
- package/es/pro-calendar/hooks/useCellClassName.js +40 -0
- package/es/pro-calendar/index.d.ts +117 -0
- package/es/pro-calendar/index.js +12 -0
- package/es/pro-calendar/interface.d.ts +89 -0
- package/es/pro-calendar/month.d.ts +5 -0
- package/es/pro-calendar/month.js +53 -0
- package/es/pro-calendar/month.vue.d.ts +22 -0
- package/es/pro-calendar/month.vue.js +126 -0
- package/es/pro-calendar/month.vue2.js +4 -0
- package/es/pro-calendar/week.vue.d.ts +3 -0
- package/es/pro-calendar/week.vue.js +34 -0
- package/es/pro-calendar/week.vue2.js +4 -0
- package/es/pro-calendar/year.vue.d.ts +3 -0
- package/es/pro-calendar/year.vue.js +123 -0
- package/es/pro-calendar/year.vue2.js +4 -0
- package/es/pro-date-range-picker/index.d.ts +183 -13
- package/es/pro-date-range-picker/index.js +6 -7
- package/es/pro-date-range-picker/interface.d.ts +38 -0
- package/es/pro-date-range-picker/pro-date-range-picker.vue.d.ts +173 -6
- package/es/pro-date-range-picker/pro-date-range-picker.vue.js +1 -1
- package/es/pro-date-range-picker/pro-date-range-picker.vue2.js +127 -97
- package/es/pro-dates-picker/index.d.ts +49 -0
- package/es/pro-dates-picker/index.js +11 -0
- package/es/pro-dates-picker/index.vue.d.ts +29 -0
- package/es/pro-dates-picker/index.vue.js +135 -0
- package/es/pro-dates-picker/index.vue3.js +5 -0
- package/es/pro-dates-picker/interface.d.ts +38 -0
- package/es/pro-dates-picker/util.d.ts +12 -0
- package/es/pro-dates-picker/util.js +9 -0
- package/es/pro-find-password/enum.d.ts +8 -0
- package/es/pro-find-password/enum.js +4 -0
- package/es/pro-find-password/index.d.ts +11 -0
- package/es/pro-find-password/index.js +11 -0
- package/es/pro-find-password/index.vue.d.ts +4459 -0
- package/es/pro-find-password/index.vue.js +176 -0
- package/es/pro-find-password/index.vue3.js +5 -0
- package/es/pro-find-password/interface.d.ts +45 -0
- package/es/pro-find-password/reset-password.vue.d.ts +591 -0
- package/es/pro-find-password/reset-password.vue.js +179 -0
- package/es/pro-find-password/reset-password.vue2.js +4 -0
- package/es/pro-find-password/verify-user-name.vue.d.ts +795 -0
- package/es/pro-find-password/verify-user-name.vue.js +112 -0
- package/es/pro-find-password/verify-user-name.vue3.js +5 -0
- package/es/pro-footer-bar/index.d.ts +6 -3
- package/es/pro-footer-bar/index.js +6 -7
- package/es/pro-footer-bar/index.vue.d.ts +1 -1
- package/es/pro-footer-bar/index.vue.js +2 -2
- package/es/pro-footer-bar/index.vue2.js +24 -26
- package/es/pro-footer-bar/{inerface.d.ts → interface.d.ts} +1 -0
- package/es/pro-form-group/index.d.ts +7 -6
- package/es/pro-form-group/index.js +6 -8
- package/es/pro-form-group/index.vue.d.ts +2 -2
- package/es/pro-form-group/index.vue.js +1 -1
- package/es/pro-form-group/index.vue2.js +31 -32
- package/es/pro-image-upload/cropper.vue.js +2 -2
- package/es/pro-image-upload/cropper.vue2.js +200 -190
- package/es/pro-image-upload/image-upload.vue.d.ts +1124 -371
- package/es/pro-image-upload/image-upload.vue.js +178 -144
- package/es/pro-image-upload/index.d.ts +1727 -1001
- package/es/pro-image-upload/index.js +6 -8
- package/es/pro-keep-alive-router-view/index.d.ts +1 -0
- package/es/pro-keep-alive-router-view/pro-keep-alive-router-view.vue.js +17 -18
- package/es/pro-layout/hooks.d.ts +80 -1
- package/es/pro-layout/hooks.js +133 -84
- package/es/pro-layout/index.d.ts +9 -6
- package/es/pro-layout/index.js +6 -11
- package/es/pro-layout/pro-layout.vue.d.ts +4 -2
- package/es/pro-layout/pro-layout.vue.js +220 -208
- package/es/pro-loader/index.d.ts +43 -0
- package/es/pro-loader/index.js +11 -0
- package/es/pro-loader/index.vue.d.ts +28 -0
- package/es/pro-loader/index.vue.js +112 -0
- package/es/pro-loader/index.vue3.js +5 -0
- package/es/pro-loader/interface.d.ts +16 -0
- package/es/pro-login/enum.d.ts +6 -0
- package/es/pro-login/enum.js +4 -0
- package/es/pro-login/form-mobile.vue.d.ts +797 -0
- package/es/pro-login/form-mobile.vue.js +146 -0
- package/es/pro-login/form-mobile.vue2.js +4 -0
- package/es/pro-login/form-password.vue.d.ts +584 -0
- package/es/pro-login/form-password.vue.js +99 -0
- package/es/pro-login/form-password.vue2.js +4 -0
- package/es/pro-login/index.d.ts +11 -0
- package/es/pro-login/index.js +11 -0
- package/es/pro-login/index.vue.d.ts +4429 -0
- package/es/pro-login/index.vue.js +105 -0
- package/es/pro-login/index.vue3.js +5 -0
- package/es/pro-login/interface.d.ts +72 -0
- package/es/pro-login/regexp.d.ts +17 -0
- package/es/pro-login/regexp.js +28 -0
- package/es/pro-menu/index.d.ts +18 -80
- package/es/pro-menu/index.js +6 -7
- package/es/pro-menu/interface.d.ts +31 -0
- package/es/pro-menu/menu-item.vue.d.ts +27 -0
- package/es/pro-menu/menu-item.vue.js +35 -0
- package/es/pro-menu/menu-item.vue2.js +4 -0
- package/es/pro-menu/pro-menu-item.vue.d.ts +9 -0
- package/es/pro-menu/pro-menu-item.vue.js +63 -0
- package/es/pro-menu/pro-menu-item.vue2.js +4 -0
- package/es/pro-menu/pro-menu.vue.d.ts +9 -55
- package/es/pro-menu/pro-menu.vue.js +36 -119
- package/es/pro-menu/sub-menu.vue.d.ts +22 -0
- package/es/pro-menu/sub-menu.vue.js +55 -0
- package/es/pro-menu/sub-menu.vue2.js +4 -0
- package/es/pro-menu/util.d.ts +9 -0
- package/es/pro-menu/util.js +7 -0
- package/es/pro-page-container/constant.d.ts +2 -0
- package/es/pro-page-container/constant.js +9 -0
- package/es/pro-page-container/index.d.ts +7 -21
- package/es/pro-page-container/index.js +6 -8
- package/es/pro-page-container/interface.d.ts +12 -0
- package/es/pro-page-container/pro-page-container.vue.d.ts +4 -15
- package/es/pro-page-container/pro-page-container.vue.js +58 -38
- package/es/pro-page-header/constant.d.ts +2 -0
- package/es/pro-page-header/constant.js +13 -0
- package/es/pro-page-header/index.d.ts +12 -146
- package/es/pro-page-header/index.js +6 -8
- package/es/pro-page-header/interface.d.ts +21 -0
- package/es/pro-page-header/pro-page-header.vue.d.ts +18 -103
- package/es/pro-page-header/pro-page-header.vue.js +141 -124
- package/es/pro-reuse-tabs/index.d.ts +8 -6
- package/es/pro-reuse-tabs/index.js +6 -7
- package/es/pro-reuse-tabs/pro-reuse-tabs.vue.d.ts +2 -2
- package/es/pro-reuse-tabs/pro-reuse-tabs.vue.js +33 -35
- package/es/pro-table/index.d.ts +18 -18
- package/es/pro-table/index.js +6 -7
- package/es/pro-table/index.vue.d.ts +6 -6
- package/es/pro-table/index.vue.js +94 -39
- package/es/pro-table/interface.d.ts +73 -65
- package/es/pro-textarea/index.d.ts +7 -5
- package/es/pro-textarea/index.js +5 -6
- package/es/pro-textarea/index.vue.d.ts +1 -1
- package/es/pro-textarea/index.vue.js +1 -1
- package/es/pro-textarea/index.vue2.js +14 -16
- package/es/pro-textarea/{inerface.d.ts → interface.d.ts} +19 -18
- package/es/style.css +1 -1
- package/es/utils.d.ts +6 -0
- package/es/utils.js +7 -0
- package/package.json +5 -4
- package/es/pro-date-range-picker/type.d.ts +0 -22
- package/es/pro-page-container/inerface.d.ts +0 -12
|
@@ -1,73 +1,7 @@
|
|
|
1
1
|
import { FileItem } from '@arco-design/web-vue';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
type __VLS_Props =
|
|
5
|
-
/** 上传地址 */
|
|
6
|
-
action: string;
|
|
7
|
-
/** 处理响应 */
|
|
8
|
-
handlerResponse?: (response: any) => Promise<{
|
|
9
|
-
/** 是否成功 */
|
|
10
|
-
success: boolean;
|
|
11
|
-
/** 图片地址 */
|
|
12
|
-
url?: string;
|
|
13
|
-
/** 错误消息(如果不传,请自行提示错误消息) */
|
|
14
|
-
errorMessage?: string;
|
|
15
|
-
/** 其他字段 */
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
}>;
|
|
18
|
-
/** 设置上传的请求头部 */
|
|
19
|
-
headers?: Record<string, any>;
|
|
20
|
-
/** 上传时附带的额外参数 */
|
|
21
|
-
data?: Record<string, any>;
|
|
22
|
-
/** 上传的文件字段名 - 默认: file */
|
|
23
|
-
name?: string;
|
|
24
|
-
/** 提示文字 */
|
|
25
|
-
tip?: string;
|
|
26
|
-
/** 接受上传的文件类型 - 默认: ['jpg', 'jpeg', 'png', 'bmp', 'heif', 'heic', 'gif', 'webp'] */
|
|
27
|
-
accept?: string[];
|
|
28
|
-
/** 是否支持多选文件 - 默认: true */
|
|
29
|
-
multiple?: boolean;
|
|
30
|
-
/** 单次最大限制 - 默认: 10 */
|
|
31
|
-
singleLimit?: number;
|
|
32
|
-
/** 最大允许上传个数 */
|
|
33
|
-
limit?: number;
|
|
34
|
-
/** 文件超出个数限制时的提示文字 */
|
|
35
|
-
exceedTip?: string;
|
|
36
|
-
/** 是否禁用 - 默认: false */
|
|
37
|
-
disabled?: boolean;
|
|
38
|
-
/** 隐藏内置上传文件之前的loading效果 - 默认: false */
|
|
39
|
-
hideInnerBeforeUploadLoading?: boolean;
|
|
40
|
-
/** 校验选项 */
|
|
41
|
-
checkOptions?: ImageUploadCheckOptions;
|
|
42
|
-
/** 压缩选项 */
|
|
43
|
-
compressorOptions?: ImageUploadCompressorOptions;
|
|
44
|
-
/** 剪裁选项 */
|
|
45
|
-
cropOptions?: ImageUploadCropOptions;
|
|
46
|
-
/** 文件列表移除文件时的钩子 */
|
|
47
|
-
/** 文件上传成功时的钩子 */
|
|
48
|
-
onSuccess?: (fileItem: FileItem) => void;
|
|
49
|
-
/** 文件上传失败时的钩子 */
|
|
50
|
-
onError?: (fileItem: FileItem) => void;
|
|
51
|
-
/** 文件超出个数限制时的钩子 */
|
|
52
|
-
onExceed?: (fileList: FileItem[], files: File[]) => void;
|
|
53
|
-
/** 上传文件之前的钩子,参数为上传的文件,若返回 false 或者返回 Promise 且被 reject,则停止上传。 */
|
|
54
|
-
onBeforeUpload?: (file: File) => boolean | Promise<any>;
|
|
55
|
-
/** 内置上传文件之前开始 */
|
|
56
|
-
onInnerBeforeUploadStart?: (file: File, index: number, type: EImageUploadInnerBeforeUploadStep) => void;
|
|
57
|
-
/** 内置上传文件之前结束 */
|
|
58
|
-
onInnerBeforeUploadEnd?: (file: File, index: number, type: EImageUploadInnerBeforeUploadStep, result: {
|
|
59
|
-
success: boolean;
|
|
60
|
-
error?: {
|
|
61
|
-
size?: boolean;
|
|
62
|
-
format?: boolean;
|
|
63
|
-
transform?: boolean;
|
|
64
|
-
pixel?: boolean;
|
|
65
|
-
compress?: boolean;
|
|
66
|
-
crop?: boolean;
|
|
67
|
-
};
|
|
68
|
-
errorMessage?: string;
|
|
69
|
-
}) => void;
|
|
70
|
-
};
|
|
2
|
+
import { ImageUploadOptions } from './types';
|
|
3
|
+
import { ImageUploadCropOptions } from '@keyblade/one-travel';
|
|
4
|
+
type __VLS_Props = ImageUploadOptions;
|
|
71
5
|
type __VLS_PublicProps = {
|
|
72
6
|
modelValue: FileItem[];
|
|
73
7
|
} & __VLS_Props;
|
|
@@ -78,9 +12,333 @@ declare function __VLS_template(): {
|
|
|
78
12
|
fileItem: any;
|
|
79
13
|
}): any;
|
|
80
14
|
'upload-button'?(_: {}): any;
|
|
15
|
+
'extra-button'?(_: any): any;
|
|
81
16
|
};
|
|
82
17
|
refs: {
|
|
83
|
-
uploadInsRef:
|
|
18
|
+
uploadInsRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
fileList: {
|
|
20
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').FileItem[]>;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
defaultFileList: {
|
|
24
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').FileItem[]>;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
accept: StringConstructor;
|
|
28
|
+
action: StringConstructor;
|
|
29
|
+
disabled: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
multiple: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
directory: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
draggable: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
tip: StringConstructor;
|
|
46
|
+
headers: {
|
|
47
|
+
type: import('vue').PropType<Record<string, string>>;
|
|
48
|
+
};
|
|
49
|
+
data: {
|
|
50
|
+
type: import('vue').PropType<Record<string, string | Blob> | ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => Record<string, string | Blob>)>;
|
|
51
|
+
};
|
|
52
|
+
name: {
|
|
53
|
+
type: import('vue').PropType<string | ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => string)>;
|
|
54
|
+
};
|
|
55
|
+
withCredentials: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
customRequest: {
|
|
60
|
+
type: import('vue').PropType<(option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest>;
|
|
61
|
+
};
|
|
62
|
+
limit: {
|
|
63
|
+
type: NumberConstructor;
|
|
64
|
+
default: number;
|
|
65
|
+
};
|
|
66
|
+
autoUpload: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
showFileList: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
showRemoveButton: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
showRetryButton: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
showCancelButton: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
showUploadButton: {
|
|
87
|
+
type: import('vue').PropType<boolean | {
|
|
88
|
+
showOnExceedLimit: boolean;
|
|
89
|
+
}>;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
showPreviewButton: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
download: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
showLink: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
imageLoading: {
|
|
105
|
+
type: import('vue').PropType<"eager" | "lazy">;
|
|
106
|
+
};
|
|
107
|
+
listType: {
|
|
108
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').ListType>;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
responseUrlKey: {
|
|
112
|
+
type: import('vue').PropType<string | ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => string)>;
|
|
113
|
+
};
|
|
114
|
+
customIcon: {
|
|
115
|
+
type: import('vue').PropType<import('@arco-design/web-vue').CustomIcon>;
|
|
116
|
+
};
|
|
117
|
+
imagePreview: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
onBeforeUpload: {
|
|
122
|
+
type: import('vue').PropType<(file: File) => boolean | Promise<boolean | File>>;
|
|
123
|
+
};
|
|
124
|
+
onBeforeRemove: {
|
|
125
|
+
type: import('vue').PropType<(fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => Promise<boolean>>;
|
|
126
|
+
};
|
|
127
|
+
onButtonClick: {
|
|
128
|
+
type: import('vue').PropType<(event: Event) => void | Promise<FileList>>;
|
|
129
|
+
};
|
|
130
|
+
}>> & Readonly<{
|
|
131
|
+
onError?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
132
|
+
onProgress?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem, ev?: ProgressEvent<EventTarget> | undefined) => any) | undefined;
|
|
133
|
+
onChange?: ((fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[], fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
134
|
+
onSuccess?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
135
|
+
onPreview?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
136
|
+
onExceedLimit?: ((fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[], files: File[]) => any) | undefined;
|
|
137
|
+
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[]) => any) | undefined;
|
|
138
|
+
}>, {
|
|
139
|
+
prefixCls: string;
|
|
140
|
+
render: () => false | import("vue/jsx-runtime").JSX.Element;
|
|
141
|
+
innerSubmit: (fileItem?: import('@arco-design/web-vue/es/upload/interfaces').FileItem | undefined) => void;
|
|
142
|
+
innerAbort: (fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => void;
|
|
143
|
+
innerUpdateFile: (id: string, file: File) => void;
|
|
144
|
+
innerUpload: (files: File[]) => void;
|
|
145
|
+
}, {}, {}, {
|
|
146
|
+
submit(fileItem?: import('@arco-design/web-vue/es/upload/interfaces').FileItem | undefined): void;
|
|
147
|
+
abort(fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem): void;
|
|
148
|
+
updateFile(id: string, file: File): void;
|
|
149
|
+
upload(files: File[]): void;
|
|
150
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
151
|
+
'update:fileList': (fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[]) => true;
|
|
152
|
+
exceedLimit: (fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[], files: File[]) => true;
|
|
153
|
+
change: (fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[], fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => true;
|
|
154
|
+
progress: (fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem, ev?: ProgressEvent<EventTarget> | undefined) => true;
|
|
155
|
+
preview: (fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => true;
|
|
156
|
+
success: (fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => true;
|
|
157
|
+
error: (fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => true;
|
|
158
|
+
}, import('vue').PublicProps, {
|
|
159
|
+
disabled: boolean;
|
|
160
|
+
multiple: boolean;
|
|
161
|
+
draggable: boolean;
|
|
162
|
+
limit: number;
|
|
163
|
+
fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[];
|
|
164
|
+
defaultFileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[];
|
|
165
|
+
directory: boolean;
|
|
166
|
+
withCredentials: boolean;
|
|
167
|
+
autoUpload: boolean;
|
|
168
|
+
showFileList: boolean;
|
|
169
|
+
showRemoveButton: boolean;
|
|
170
|
+
showRetryButton: boolean;
|
|
171
|
+
showCancelButton: boolean;
|
|
172
|
+
showUploadButton: boolean | {
|
|
173
|
+
showOnExceedLimit: boolean;
|
|
174
|
+
};
|
|
175
|
+
showPreviewButton: boolean;
|
|
176
|
+
download: boolean;
|
|
177
|
+
showLink: boolean;
|
|
178
|
+
listType: import('@arco-design/web-vue/es/upload/interfaces').ListType;
|
|
179
|
+
imagePreview: boolean;
|
|
180
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
181
|
+
P: {};
|
|
182
|
+
B: {};
|
|
183
|
+
D: {};
|
|
184
|
+
C: {};
|
|
185
|
+
M: {};
|
|
186
|
+
Defaults: {};
|
|
187
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
188
|
+
fileList: {
|
|
189
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').FileItem[]>;
|
|
190
|
+
default: undefined;
|
|
191
|
+
};
|
|
192
|
+
defaultFileList: {
|
|
193
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').FileItem[]>;
|
|
194
|
+
default: () => never[];
|
|
195
|
+
};
|
|
196
|
+
accept: StringConstructor;
|
|
197
|
+
action: StringConstructor;
|
|
198
|
+
disabled: {
|
|
199
|
+
type: BooleanConstructor;
|
|
200
|
+
default: boolean;
|
|
201
|
+
};
|
|
202
|
+
multiple: {
|
|
203
|
+
type: BooleanConstructor;
|
|
204
|
+
default: boolean;
|
|
205
|
+
};
|
|
206
|
+
directory: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: boolean;
|
|
209
|
+
};
|
|
210
|
+
draggable: {
|
|
211
|
+
type: BooleanConstructor;
|
|
212
|
+
default: boolean;
|
|
213
|
+
};
|
|
214
|
+
tip: StringConstructor;
|
|
215
|
+
headers: {
|
|
216
|
+
type: import('vue').PropType<Record<string, string>>;
|
|
217
|
+
};
|
|
218
|
+
data: {
|
|
219
|
+
type: import('vue').PropType<Record<string, string | Blob> | ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => Record<string, string | Blob>)>;
|
|
220
|
+
};
|
|
221
|
+
name: {
|
|
222
|
+
type: import('vue').PropType<string | ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => string)>;
|
|
223
|
+
};
|
|
224
|
+
withCredentials: {
|
|
225
|
+
type: BooleanConstructor;
|
|
226
|
+
default: boolean;
|
|
227
|
+
};
|
|
228
|
+
customRequest: {
|
|
229
|
+
type: import('vue').PropType<(option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest>;
|
|
230
|
+
};
|
|
231
|
+
limit: {
|
|
232
|
+
type: NumberConstructor;
|
|
233
|
+
default: number;
|
|
234
|
+
};
|
|
235
|
+
autoUpload: {
|
|
236
|
+
type: BooleanConstructor;
|
|
237
|
+
default: boolean;
|
|
238
|
+
};
|
|
239
|
+
showFileList: {
|
|
240
|
+
type: BooleanConstructor;
|
|
241
|
+
default: boolean;
|
|
242
|
+
};
|
|
243
|
+
showRemoveButton: {
|
|
244
|
+
type: BooleanConstructor;
|
|
245
|
+
default: boolean;
|
|
246
|
+
};
|
|
247
|
+
showRetryButton: {
|
|
248
|
+
type: BooleanConstructor;
|
|
249
|
+
default: boolean;
|
|
250
|
+
};
|
|
251
|
+
showCancelButton: {
|
|
252
|
+
type: BooleanConstructor;
|
|
253
|
+
default: boolean;
|
|
254
|
+
};
|
|
255
|
+
showUploadButton: {
|
|
256
|
+
type: import('vue').PropType<boolean | {
|
|
257
|
+
showOnExceedLimit: boolean;
|
|
258
|
+
}>;
|
|
259
|
+
default: boolean;
|
|
260
|
+
};
|
|
261
|
+
showPreviewButton: {
|
|
262
|
+
type: BooleanConstructor;
|
|
263
|
+
default: boolean;
|
|
264
|
+
};
|
|
265
|
+
download: {
|
|
266
|
+
type: BooleanConstructor;
|
|
267
|
+
default: boolean;
|
|
268
|
+
};
|
|
269
|
+
showLink: {
|
|
270
|
+
type: BooleanConstructor;
|
|
271
|
+
default: boolean;
|
|
272
|
+
};
|
|
273
|
+
imageLoading: {
|
|
274
|
+
type: import('vue').PropType<"eager" | "lazy">;
|
|
275
|
+
};
|
|
276
|
+
listType: {
|
|
277
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').ListType>;
|
|
278
|
+
default: string;
|
|
279
|
+
};
|
|
280
|
+
responseUrlKey: {
|
|
281
|
+
type: import('vue').PropType<string | ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => string)>;
|
|
282
|
+
};
|
|
283
|
+
customIcon: {
|
|
284
|
+
type: import('vue').PropType<import('@arco-design/web-vue').CustomIcon>;
|
|
285
|
+
};
|
|
286
|
+
imagePreview: {
|
|
287
|
+
type: BooleanConstructor;
|
|
288
|
+
default: boolean;
|
|
289
|
+
};
|
|
290
|
+
onBeforeUpload: {
|
|
291
|
+
type: import('vue').PropType<(file: File) => boolean | Promise<boolean | File>>;
|
|
292
|
+
};
|
|
293
|
+
onBeforeRemove: {
|
|
294
|
+
type: import('vue').PropType<(fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => Promise<boolean>>;
|
|
295
|
+
};
|
|
296
|
+
onButtonClick: {
|
|
297
|
+
type: import('vue').PropType<(event: Event) => void | Promise<FileList>>;
|
|
298
|
+
};
|
|
299
|
+
}>> & Readonly<{
|
|
300
|
+
onError?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
301
|
+
onProgress?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem, ev?: ProgressEvent<EventTarget> | undefined) => any) | undefined;
|
|
302
|
+
onChange?: ((fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[], fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
303
|
+
onSuccess?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
304
|
+
onPreview?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
305
|
+
onExceedLimit?: ((fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[], files: File[]) => any) | undefined;
|
|
306
|
+
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[]) => any) | undefined;
|
|
307
|
+
}>, {
|
|
308
|
+
prefixCls: string;
|
|
309
|
+
render: () => false | import("vue/jsx-runtime").JSX.Element;
|
|
310
|
+
innerSubmit: (fileItem?: import('@arco-design/web-vue/es/upload/interfaces').FileItem | undefined) => void;
|
|
311
|
+
innerAbort: (fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => void;
|
|
312
|
+
innerUpdateFile: (id: string, file: File) => void;
|
|
313
|
+
innerUpload: (files: File[]) => void;
|
|
314
|
+
}, {}, {}, {
|
|
315
|
+
submit(fileItem?: import('@arco-design/web-vue/es/upload/interfaces').FileItem | undefined): void;
|
|
316
|
+
abort(fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem): void;
|
|
317
|
+
updateFile(id: string, file: File): void;
|
|
318
|
+
upload(files: File[]): void;
|
|
319
|
+
}, {
|
|
320
|
+
disabled: boolean;
|
|
321
|
+
multiple: boolean;
|
|
322
|
+
draggable: boolean;
|
|
323
|
+
limit: number;
|
|
324
|
+
fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[];
|
|
325
|
+
defaultFileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[];
|
|
326
|
+
directory: boolean;
|
|
327
|
+
withCredentials: boolean;
|
|
328
|
+
autoUpload: boolean;
|
|
329
|
+
showFileList: boolean;
|
|
330
|
+
showRemoveButton: boolean;
|
|
331
|
+
showRetryButton: boolean;
|
|
332
|
+
showCancelButton: boolean;
|
|
333
|
+
showUploadButton: boolean | {
|
|
334
|
+
showOnExceedLimit: boolean;
|
|
335
|
+
};
|
|
336
|
+
showPreviewButton: boolean;
|
|
337
|
+
download: boolean;
|
|
338
|
+
showLink: boolean;
|
|
339
|
+
listType: import('@arco-design/web-vue/es/upload/interfaces').ListType;
|
|
340
|
+
imagePreview: boolean;
|
|
341
|
+
}> | null;
|
|
84
342
|
cropperInsRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
85
343
|
file: File;
|
|
86
344
|
index: number;
|
|
@@ -123,91 +381,134 @@ declare function __VLS_template(): {
|
|
|
123
381
|
};
|
|
124
382
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
125
383
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
126
|
-
uploadInsRef: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
127
|
-
fileList
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
action?: unknown;
|
|
131
|
-
disabled?: unknown;
|
|
132
|
-
multiple?: unknown;
|
|
133
|
-
directory?: unknown;
|
|
134
|
-
draggable?: unknown;
|
|
135
|
-
tip?: unknown;
|
|
136
|
-
headers?: unknown;
|
|
137
|
-
data?: unknown;
|
|
138
|
-
name?: unknown;
|
|
139
|
-
withCredentials?: unknown;
|
|
140
|
-
customRequest?: unknown;
|
|
141
|
-
limit?: unknown;
|
|
142
|
-
autoUpload?: unknown;
|
|
143
|
-
showFileList?: unknown;
|
|
144
|
-
showRemoveButton?: unknown;
|
|
145
|
-
showRetryButton?: unknown;
|
|
146
|
-
showCancelButton?: unknown;
|
|
147
|
-
showUploadButton?: unknown;
|
|
148
|
-
showPreviewButton?: unknown;
|
|
149
|
-
download?: unknown;
|
|
150
|
-
showLink?: unknown;
|
|
151
|
-
imageLoading?: unknown;
|
|
152
|
-
listType?: unknown;
|
|
153
|
-
responseUrlKey?: unknown;
|
|
154
|
-
customIcon?: unknown;
|
|
155
|
-
imagePreview?: unknown;
|
|
156
|
-
onBeforeUpload?: unknown;
|
|
157
|
-
onBeforeRemove?: unknown;
|
|
158
|
-
onButtonClick?: unknown;
|
|
159
|
-
} & {
|
|
160
|
-
disabled: boolean;
|
|
161
|
-
multiple: boolean;
|
|
162
|
-
imagePreview: boolean;
|
|
163
|
-
draggable: boolean;
|
|
164
|
-
limit: number;
|
|
165
|
-
defaultFileList: FileItem[];
|
|
166
|
-
directory: boolean;
|
|
167
|
-
withCredentials: boolean;
|
|
168
|
-
autoUpload: boolean;
|
|
169
|
-
showFileList: boolean;
|
|
170
|
-
showRemoveButton: boolean;
|
|
171
|
-
showRetryButton: boolean;
|
|
172
|
-
showCancelButton: boolean;
|
|
173
|
-
showUploadButton: boolean | {
|
|
174
|
-
showOnExceedLimit: boolean;
|
|
384
|
+
uploadInsRef: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
385
|
+
fileList: {
|
|
386
|
+
type: import('vue').PropType<FileItem[]>;
|
|
387
|
+
default: undefined;
|
|
175
388
|
};
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
389
|
+
defaultFileList: {
|
|
390
|
+
type: import('vue').PropType<FileItem[]>;
|
|
391
|
+
default: () => never[];
|
|
392
|
+
};
|
|
393
|
+
accept: StringConstructor;
|
|
394
|
+
action: StringConstructor;
|
|
395
|
+
disabled: {
|
|
396
|
+
type: BooleanConstructor;
|
|
397
|
+
default: boolean;
|
|
398
|
+
};
|
|
399
|
+
multiple: {
|
|
400
|
+
type: BooleanConstructor;
|
|
401
|
+
default: boolean;
|
|
402
|
+
};
|
|
403
|
+
directory: {
|
|
404
|
+
type: BooleanConstructor;
|
|
405
|
+
default: boolean;
|
|
406
|
+
};
|
|
407
|
+
draggable: {
|
|
408
|
+
type: BooleanConstructor;
|
|
409
|
+
default: boolean;
|
|
410
|
+
};
|
|
411
|
+
tip: StringConstructor;
|
|
412
|
+
headers: {
|
|
413
|
+
type: import('vue').PropType<Record<string, string>>;
|
|
414
|
+
};
|
|
415
|
+
data: {
|
|
416
|
+
type: import('vue').PropType<Record<string, string | Blob> | ((fileItem: FileItem) => Record<string, string | Blob>)>;
|
|
417
|
+
};
|
|
418
|
+
name: {
|
|
419
|
+
type: import('vue').PropType<string | ((fileItem: FileItem) => string)>;
|
|
420
|
+
};
|
|
421
|
+
withCredentials: {
|
|
422
|
+
type: BooleanConstructor;
|
|
423
|
+
default: boolean;
|
|
424
|
+
};
|
|
425
|
+
customRequest: {
|
|
426
|
+
type: import('vue').PropType<(option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest>;
|
|
427
|
+
};
|
|
428
|
+
limit: {
|
|
429
|
+
type: NumberConstructor;
|
|
430
|
+
default: number;
|
|
431
|
+
};
|
|
432
|
+
autoUpload: {
|
|
433
|
+
type: BooleanConstructor;
|
|
434
|
+
default: boolean;
|
|
435
|
+
};
|
|
436
|
+
showFileList: {
|
|
437
|
+
type: BooleanConstructor;
|
|
438
|
+
default: boolean;
|
|
439
|
+
};
|
|
440
|
+
showRemoveButton: {
|
|
441
|
+
type: BooleanConstructor;
|
|
442
|
+
default: boolean;
|
|
443
|
+
};
|
|
444
|
+
showRetryButton: {
|
|
445
|
+
type: BooleanConstructor;
|
|
446
|
+
default: boolean;
|
|
447
|
+
};
|
|
448
|
+
showCancelButton: {
|
|
449
|
+
type: BooleanConstructor;
|
|
450
|
+
default: boolean;
|
|
451
|
+
};
|
|
452
|
+
showUploadButton: {
|
|
453
|
+
type: import('vue').PropType<boolean | {
|
|
454
|
+
showOnExceedLimit: boolean;
|
|
455
|
+
}>;
|
|
456
|
+
default: boolean;
|
|
457
|
+
};
|
|
458
|
+
showPreviewButton: {
|
|
459
|
+
type: BooleanConstructor;
|
|
460
|
+
default: boolean;
|
|
461
|
+
};
|
|
462
|
+
download: {
|
|
463
|
+
type: BooleanConstructor;
|
|
464
|
+
default: boolean;
|
|
465
|
+
};
|
|
466
|
+
showLink: {
|
|
467
|
+
type: BooleanConstructor;
|
|
468
|
+
default: boolean;
|
|
469
|
+
};
|
|
470
|
+
imageLoading: {
|
|
471
|
+
type: import('vue').PropType<"eager" | "lazy">;
|
|
472
|
+
};
|
|
473
|
+
listType: {
|
|
474
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').ListType>;
|
|
475
|
+
default: string;
|
|
476
|
+
};
|
|
477
|
+
responseUrlKey: {
|
|
478
|
+
type: import('vue').PropType<string | ((fileItem: FileItem) => string)>;
|
|
479
|
+
};
|
|
480
|
+
customIcon: {
|
|
481
|
+
type: import('vue').PropType<import('@arco-design/web-vue').CustomIcon>;
|
|
482
|
+
};
|
|
483
|
+
imagePreview: {
|
|
484
|
+
type: BooleanConstructor;
|
|
485
|
+
default: boolean;
|
|
486
|
+
};
|
|
487
|
+
onBeforeUpload: {
|
|
488
|
+
type: import('vue').PropType<(file: File) => boolean | Promise<boolean | File>>;
|
|
489
|
+
};
|
|
490
|
+
onBeforeRemove: {
|
|
491
|
+
type: import('vue').PropType<(fileItem: FileItem) => Promise<boolean>>;
|
|
492
|
+
};
|
|
493
|
+
onButtonClick: {
|
|
494
|
+
type: import('vue').PropType<(event: Event) => Promise<FileList> | void>;
|
|
495
|
+
};
|
|
496
|
+
}>> & Readonly<{
|
|
197
497
|
onError?: ((fileItem: FileItem) => any) | undefined;
|
|
198
498
|
onProgress?: ((fileItem: FileItem, ev?: ProgressEvent<EventTarget> | undefined) => any) | undefined;
|
|
199
|
-
|
|
499
|
+
onChange?: ((fileList: FileItem[], fileItem: FileItem) => any) | undefined;
|
|
200
500
|
onSuccess?: ((fileItem: FileItem) => any) | undefined;
|
|
201
501
|
onPreview?: ((fileItem: FileItem) => any) | undefined;
|
|
502
|
+
onExceedLimit?: ((fileList: FileItem[], files: File[]) => any) | undefined;
|
|
202
503
|
"onUpdate:fileList"?: ((fileList: FileItem[]) => any) | undefined;
|
|
203
|
-
}
|
|
504
|
+
}>, {
|
|
204
505
|
prefixCls: string;
|
|
205
|
-
render: () => false | JSX.Element;
|
|
506
|
+
render: () => false | import("vue/jsx-runtime").JSX.Element;
|
|
206
507
|
innerSubmit: (fileItem?: FileItem | undefined) => void;
|
|
207
508
|
innerAbort: (fileItem: FileItem) => void;
|
|
208
509
|
innerUpdateFile: (id: string, file: File) => void;
|
|
209
510
|
innerUpload: (files: File[]) => void;
|
|
210
|
-
},
|
|
511
|
+
}, {}, {}, {
|
|
211
512
|
submit(fileItem?: FileItem | undefined): void;
|
|
212
513
|
abort(fileItem: FileItem): void;
|
|
213
514
|
updateFile(id: string, file: File): void;
|
|
@@ -220,10 +521,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
220
521
|
preview: (fileItem: FileItem) => true;
|
|
221
522
|
success: (fileItem: FileItem) => true;
|
|
222
523
|
error: (fileItem: FileItem) => true;
|
|
223
|
-
}, import('vue').
|
|
524
|
+
}, import('vue').PublicProps, {
|
|
224
525
|
disabled: boolean;
|
|
225
526
|
multiple: boolean;
|
|
226
|
-
imagePreview: boolean;
|
|
227
527
|
draggable: boolean;
|
|
228
528
|
limit: number;
|
|
229
529
|
fileList: FileItem[];
|
|
@@ -242,6 +542,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
242
542
|
download: boolean;
|
|
243
543
|
showLink: boolean;
|
|
244
544
|
listType: import('@arco-design/web-vue/es/upload/interfaces').ListType;
|
|
545
|
+
imagePreview: boolean;
|
|
245
546
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
246
547
|
P: {};
|
|
247
548
|
B: {};
|
|
@@ -249,86 +550,129 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
249
550
|
C: {};
|
|
250
551
|
M: {};
|
|
251
552
|
Defaults: {};
|
|
252
|
-
}, Readonly<{
|
|
253
|
-
fileList
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
action?: unknown;
|
|
257
|
-
disabled?: unknown;
|
|
258
|
-
multiple?: unknown;
|
|
259
|
-
directory?: unknown;
|
|
260
|
-
draggable?: unknown;
|
|
261
|
-
tip?: unknown;
|
|
262
|
-
headers?: unknown;
|
|
263
|
-
data?: unknown;
|
|
264
|
-
name?: unknown;
|
|
265
|
-
withCredentials?: unknown;
|
|
266
|
-
customRequest?: unknown;
|
|
267
|
-
limit?: unknown;
|
|
268
|
-
autoUpload?: unknown;
|
|
269
|
-
showFileList?: unknown;
|
|
270
|
-
showRemoveButton?: unknown;
|
|
271
|
-
showRetryButton?: unknown;
|
|
272
|
-
showCancelButton?: unknown;
|
|
273
|
-
showUploadButton?: unknown;
|
|
274
|
-
showPreviewButton?: unknown;
|
|
275
|
-
download?: unknown;
|
|
276
|
-
showLink?: unknown;
|
|
277
|
-
imageLoading?: unknown;
|
|
278
|
-
listType?: unknown;
|
|
279
|
-
responseUrlKey?: unknown;
|
|
280
|
-
customIcon?: unknown;
|
|
281
|
-
imagePreview?: unknown;
|
|
282
|
-
onBeforeUpload?: unknown;
|
|
283
|
-
onBeforeRemove?: unknown;
|
|
284
|
-
onButtonClick?: unknown;
|
|
285
|
-
} & {
|
|
286
|
-
disabled: boolean;
|
|
287
|
-
multiple: boolean;
|
|
288
|
-
imagePreview: boolean;
|
|
289
|
-
draggable: boolean;
|
|
290
|
-
limit: number;
|
|
291
|
-
defaultFileList: FileItem[];
|
|
292
|
-
directory: boolean;
|
|
293
|
-
withCredentials: boolean;
|
|
294
|
-
autoUpload: boolean;
|
|
295
|
-
showFileList: boolean;
|
|
296
|
-
showRemoveButton: boolean;
|
|
297
|
-
showRetryButton: boolean;
|
|
298
|
-
showCancelButton: boolean;
|
|
299
|
-
showUploadButton: boolean | {
|
|
300
|
-
showOnExceedLimit: boolean;
|
|
553
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
554
|
+
fileList: {
|
|
555
|
+
type: import('vue').PropType<FileItem[]>;
|
|
556
|
+
default: undefined;
|
|
301
557
|
};
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
558
|
+
defaultFileList: {
|
|
559
|
+
type: import('vue').PropType<FileItem[]>;
|
|
560
|
+
default: () => never[];
|
|
561
|
+
};
|
|
562
|
+
accept: StringConstructor;
|
|
563
|
+
action: StringConstructor;
|
|
564
|
+
disabled: {
|
|
565
|
+
type: BooleanConstructor;
|
|
566
|
+
default: boolean;
|
|
567
|
+
};
|
|
568
|
+
multiple: {
|
|
569
|
+
type: BooleanConstructor;
|
|
570
|
+
default: boolean;
|
|
571
|
+
};
|
|
572
|
+
directory: {
|
|
573
|
+
type: BooleanConstructor;
|
|
574
|
+
default: boolean;
|
|
575
|
+
};
|
|
576
|
+
draggable: {
|
|
577
|
+
type: BooleanConstructor;
|
|
578
|
+
default: boolean;
|
|
579
|
+
};
|
|
580
|
+
tip: StringConstructor;
|
|
581
|
+
headers: {
|
|
582
|
+
type: import('vue').PropType<Record<string, string>>;
|
|
583
|
+
};
|
|
584
|
+
data: {
|
|
585
|
+
type: import('vue').PropType<Record<string, string | Blob> | ((fileItem: FileItem) => Record<string, string | Blob>)>;
|
|
586
|
+
};
|
|
587
|
+
name: {
|
|
588
|
+
type: import('vue').PropType<string | ((fileItem: FileItem) => string)>;
|
|
589
|
+
};
|
|
590
|
+
withCredentials: {
|
|
591
|
+
type: BooleanConstructor;
|
|
592
|
+
default: boolean;
|
|
593
|
+
};
|
|
594
|
+
customRequest: {
|
|
595
|
+
type: import('vue').PropType<(option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest>;
|
|
596
|
+
};
|
|
597
|
+
limit: {
|
|
598
|
+
type: NumberConstructor;
|
|
599
|
+
default: number;
|
|
600
|
+
};
|
|
601
|
+
autoUpload: {
|
|
602
|
+
type: BooleanConstructor;
|
|
603
|
+
default: boolean;
|
|
604
|
+
};
|
|
605
|
+
showFileList: {
|
|
606
|
+
type: BooleanConstructor;
|
|
607
|
+
default: boolean;
|
|
608
|
+
};
|
|
609
|
+
showRemoveButton: {
|
|
610
|
+
type: BooleanConstructor;
|
|
611
|
+
default: boolean;
|
|
612
|
+
};
|
|
613
|
+
showRetryButton: {
|
|
614
|
+
type: BooleanConstructor;
|
|
615
|
+
default: boolean;
|
|
616
|
+
};
|
|
617
|
+
showCancelButton: {
|
|
618
|
+
type: BooleanConstructor;
|
|
619
|
+
default: boolean;
|
|
620
|
+
};
|
|
621
|
+
showUploadButton: {
|
|
622
|
+
type: import('vue').PropType<boolean | {
|
|
623
|
+
showOnExceedLimit: boolean;
|
|
624
|
+
}>;
|
|
625
|
+
default: boolean;
|
|
626
|
+
};
|
|
627
|
+
showPreviewButton: {
|
|
628
|
+
type: BooleanConstructor;
|
|
629
|
+
default: boolean;
|
|
630
|
+
};
|
|
631
|
+
download: {
|
|
632
|
+
type: BooleanConstructor;
|
|
633
|
+
default: boolean;
|
|
634
|
+
};
|
|
635
|
+
showLink: {
|
|
636
|
+
type: BooleanConstructor;
|
|
637
|
+
default: boolean;
|
|
638
|
+
};
|
|
639
|
+
imageLoading: {
|
|
640
|
+
type: import('vue').PropType<"eager" | "lazy">;
|
|
641
|
+
};
|
|
642
|
+
listType: {
|
|
643
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').ListType>;
|
|
644
|
+
default: string;
|
|
645
|
+
};
|
|
646
|
+
responseUrlKey: {
|
|
647
|
+
type: import('vue').PropType<string | ((fileItem: FileItem) => string)>;
|
|
648
|
+
};
|
|
649
|
+
customIcon: {
|
|
650
|
+
type: import('vue').PropType<import('@arco-design/web-vue').CustomIcon>;
|
|
651
|
+
};
|
|
652
|
+
imagePreview: {
|
|
653
|
+
type: BooleanConstructor;
|
|
654
|
+
default: boolean;
|
|
655
|
+
};
|
|
656
|
+
onBeforeUpload: {
|
|
657
|
+
type: import('vue').PropType<(file: File) => boolean | Promise<boolean | File>>;
|
|
658
|
+
};
|
|
659
|
+
onBeforeRemove: {
|
|
660
|
+
type: import('vue').PropType<(fileItem: FileItem) => Promise<boolean>>;
|
|
661
|
+
};
|
|
662
|
+
onButtonClick: {
|
|
663
|
+
type: import('vue').PropType<(event: Event) => Promise<FileList> | void>;
|
|
664
|
+
};
|
|
665
|
+
}>> & Readonly<{
|
|
323
666
|
onError?: ((fileItem: FileItem) => any) | undefined;
|
|
324
667
|
onProgress?: ((fileItem: FileItem, ev?: ProgressEvent<EventTarget> | undefined) => any) | undefined;
|
|
325
|
-
|
|
668
|
+
onChange?: ((fileList: FileItem[], fileItem: FileItem) => any) | undefined;
|
|
326
669
|
onSuccess?: ((fileItem: FileItem) => any) | undefined;
|
|
327
670
|
onPreview?: ((fileItem: FileItem) => any) | undefined;
|
|
671
|
+
onExceedLimit?: ((fileList: FileItem[], files: File[]) => any) | undefined;
|
|
328
672
|
"onUpdate:fileList"?: ((fileList: FileItem[]) => any) | undefined;
|
|
329
|
-
}
|
|
673
|
+
}>, {
|
|
330
674
|
prefixCls: string;
|
|
331
|
-
render: () => false | JSX.Element;
|
|
675
|
+
render: () => false | import("vue/jsx-runtime").JSX.Element;
|
|
332
676
|
innerSubmit: (fileItem?: FileItem | undefined) => void;
|
|
333
677
|
innerAbort: (fileItem: FileItem) => void;
|
|
334
678
|
innerUpdateFile: (id: string, file: File) => void;
|
|
@@ -341,7 +685,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
341
685
|
}, {
|
|
342
686
|
disabled: boolean;
|
|
343
687
|
multiple: boolean;
|
|
344
|
-
imagePreview: boolean;
|
|
345
688
|
draggable: boolean;
|
|
346
689
|
limit: number;
|
|
347
690
|
fileList: FileItem[];
|
|
@@ -360,91 +703,135 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
360
703
|
download: boolean;
|
|
361
704
|
showLink: boolean;
|
|
362
705
|
listType: import('@arco-design/web-vue/es/upload/interfaces').ListType;
|
|
363
|
-
}> | undefined, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
364
|
-
fileList?: unknown;
|
|
365
|
-
defaultFileList?: unknown;
|
|
366
|
-
accept?: unknown;
|
|
367
|
-
action?: unknown;
|
|
368
|
-
disabled?: unknown;
|
|
369
|
-
multiple?: unknown;
|
|
370
|
-
directory?: unknown;
|
|
371
|
-
draggable?: unknown;
|
|
372
|
-
tip?: unknown;
|
|
373
|
-
headers?: unknown;
|
|
374
|
-
data?: unknown;
|
|
375
|
-
name?: unknown;
|
|
376
|
-
withCredentials?: unknown;
|
|
377
|
-
customRequest?: unknown;
|
|
378
|
-
limit?: unknown;
|
|
379
|
-
autoUpload?: unknown;
|
|
380
|
-
showFileList?: unknown;
|
|
381
|
-
showRemoveButton?: unknown;
|
|
382
|
-
showRetryButton?: unknown;
|
|
383
|
-
showCancelButton?: unknown;
|
|
384
|
-
showUploadButton?: unknown;
|
|
385
|
-
showPreviewButton?: unknown;
|
|
386
|
-
download?: unknown;
|
|
387
|
-
showLink?: unknown;
|
|
388
|
-
imageLoading?: unknown;
|
|
389
|
-
listType?: unknown;
|
|
390
|
-
responseUrlKey?: unknown;
|
|
391
|
-
customIcon?: unknown;
|
|
392
|
-
imagePreview?: unknown;
|
|
393
|
-
onBeforeUpload?: unknown;
|
|
394
|
-
onBeforeRemove?: unknown;
|
|
395
|
-
onButtonClick?: unknown;
|
|
396
|
-
} & {
|
|
397
|
-
disabled: boolean;
|
|
398
|
-
multiple: boolean;
|
|
399
706
|
imagePreview: boolean;
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
withCredentials: boolean;
|
|
405
|
-
autoUpload: boolean;
|
|
406
|
-
showFileList: boolean;
|
|
407
|
-
showRemoveButton: boolean;
|
|
408
|
-
showRetryButton: boolean;
|
|
409
|
-
showCancelButton: boolean;
|
|
410
|
-
showUploadButton: boolean | {
|
|
411
|
-
showOnExceedLimit: boolean;
|
|
707
|
+
}> | undefined, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
708
|
+
fileList: {
|
|
709
|
+
type: import('vue').PropType<FileItem[]>;
|
|
710
|
+
default: undefined;
|
|
412
711
|
};
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
712
|
+
defaultFileList: {
|
|
713
|
+
type: import('vue').PropType<FileItem[]>;
|
|
714
|
+
default: () => never[];
|
|
715
|
+
};
|
|
716
|
+
accept: StringConstructor;
|
|
717
|
+
action: StringConstructor;
|
|
718
|
+
disabled: {
|
|
719
|
+
type: BooleanConstructor;
|
|
720
|
+
default: boolean;
|
|
721
|
+
};
|
|
722
|
+
multiple: {
|
|
723
|
+
type: BooleanConstructor;
|
|
724
|
+
default: boolean;
|
|
725
|
+
};
|
|
726
|
+
directory: {
|
|
727
|
+
type: BooleanConstructor;
|
|
728
|
+
default: boolean;
|
|
729
|
+
};
|
|
730
|
+
draggable: {
|
|
731
|
+
type: BooleanConstructor;
|
|
732
|
+
default: boolean;
|
|
733
|
+
};
|
|
734
|
+
tip: StringConstructor;
|
|
735
|
+
headers: {
|
|
736
|
+
type: import('vue').PropType<Record<string, string>>;
|
|
737
|
+
};
|
|
738
|
+
data: {
|
|
739
|
+
type: import('vue').PropType<Record<string, string | Blob> | ((fileItem: FileItem) => Record<string, string | Blob>)>;
|
|
740
|
+
};
|
|
741
|
+
name: {
|
|
742
|
+
type: import('vue').PropType<string | ((fileItem: FileItem) => string)>;
|
|
743
|
+
};
|
|
744
|
+
withCredentials: {
|
|
745
|
+
type: BooleanConstructor;
|
|
746
|
+
default: boolean;
|
|
747
|
+
};
|
|
748
|
+
customRequest: {
|
|
749
|
+
type: import('vue').PropType<(option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest>;
|
|
750
|
+
};
|
|
751
|
+
limit: {
|
|
752
|
+
type: NumberConstructor;
|
|
753
|
+
default: number;
|
|
754
|
+
};
|
|
755
|
+
autoUpload: {
|
|
756
|
+
type: BooleanConstructor;
|
|
757
|
+
default: boolean;
|
|
758
|
+
};
|
|
759
|
+
showFileList: {
|
|
760
|
+
type: BooleanConstructor;
|
|
761
|
+
default: boolean;
|
|
762
|
+
};
|
|
763
|
+
showRemoveButton: {
|
|
764
|
+
type: BooleanConstructor;
|
|
765
|
+
default: boolean;
|
|
766
|
+
};
|
|
767
|
+
showRetryButton: {
|
|
768
|
+
type: BooleanConstructor;
|
|
769
|
+
default: boolean;
|
|
770
|
+
};
|
|
771
|
+
showCancelButton: {
|
|
772
|
+
type: BooleanConstructor;
|
|
773
|
+
default: boolean;
|
|
774
|
+
};
|
|
775
|
+
showUploadButton: {
|
|
776
|
+
type: import('vue').PropType<boolean | {
|
|
777
|
+
showOnExceedLimit: boolean;
|
|
778
|
+
}>;
|
|
779
|
+
default: boolean;
|
|
780
|
+
};
|
|
781
|
+
showPreviewButton: {
|
|
782
|
+
type: BooleanConstructor;
|
|
783
|
+
default: boolean;
|
|
784
|
+
};
|
|
785
|
+
download: {
|
|
786
|
+
type: BooleanConstructor;
|
|
787
|
+
default: boolean;
|
|
788
|
+
};
|
|
789
|
+
showLink: {
|
|
790
|
+
type: BooleanConstructor;
|
|
791
|
+
default: boolean;
|
|
792
|
+
};
|
|
793
|
+
imageLoading: {
|
|
794
|
+
type: import('vue').PropType<"eager" | "lazy">;
|
|
795
|
+
};
|
|
796
|
+
listType: {
|
|
797
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').ListType>;
|
|
798
|
+
default: string;
|
|
799
|
+
};
|
|
800
|
+
responseUrlKey: {
|
|
801
|
+
type: import('vue').PropType<string | ((fileItem: FileItem) => string)>;
|
|
802
|
+
};
|
|
803
|
+
customIcon: {
|
|
804
|
+
type: import('vue').PropType<import('@arco-design/web-vue').CustomIcon>;
|
|
805
|
+
};
|
|
806
|
+
imagePreview: {
|
|
807
|
+
type: BooleanConstructor;
|
|
808
|
+
default: boolean;
|
|
809
|
+
};
|
|
810
|
+
onBeforeUpload: {
|
|
811
|
+
type: import('vue').PropType<(file: File) => boolean | Promise<boolean | File>>;
|
|
812
|
+
};
|
|
813
|
+
onBeforeRemove: {
|
|
814
|
+
type: import('vue').PropType<(fileItem: FileItem) => Promise<boolean>>;
|
|
815
|
+
};
|
|
816
|
+
onButtonClick: {
|
|
817
|
+
type: import('vue').PropType<(event: Event) => Promise<FileList> | void>;
|
|
818
|
+
};
|
|
819
|
+
}>> & Readonly<{
|
|
434
820
|
onError?: ((fileItem: FileItem) => any) | undefined;
|
|
435
821
|
onProgress?: ((fileItem: FileItem, ev?: ProgressEvent<EventTarget> | undefined) => any) | undefined;
|
|
436
|
-
|
|
822
|
+
onChange?: ((fileList: FileItem[], fileItem: FileItem) => any) | undefined;
|
|
437
823
|
onSuccess?: ((fileItem: FileItem) => any) | undefined;
|
|
438
824
|
onPreview?: ((fileItem: FileItem) => any) | undefined;
|
|
825
|
+
onExceedLimit?: ((fileList: FileItem[], files: File[]) => any) | undefined;
|
|
439
826
|
"onUpdate:fileList"?: ((fileList: FileItem[]) => any) | undefined;
|
|
440
|
-
}
|
|
827
|
+
}>, {
|
|
441
828
|
prefixCls: string;
|
|
442
|
-
render: () => false | JSX.Element;
|
|
829
|
+
render: () => false | import("vue/jsx-runtime").JSX.Element;
|
|
443
830
|
innerSubmit: (fileItem?: FileItem | undefined) => void;
|
|
444
831
|
innerAbort: (fileItem: FileItem) => void;
|
|
445
832
|
innerUpdateFile: (id: string, file: File) => void;
|
|
446
833
|
innerUpload: (files: File[]) => void;
|
|
447
|
-
},
|
|
834
|
+
}, {}, {}, {
|
|
448
835
|
submit(fileItem?: FileItem | undefined): void;
|
|
449
836
|
abort(fileItem: FileItem): void;
|
|
450
837
|
updateFile(id: string, file: File): void;
|
|
@@ -457,10 +844,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
457
844
|
preview: (fileItem: FileItem) => true;
|
|
458
845
|
success: (fileItem: FileItem) => true;
|
|
459
846
|
error: (fileItem: FileItem) => true;
|
|
460
|
-
}, import('vue').
|
|
847
|
+
}, import('vue').PublicProps, {
|
|
461
848
|
disabled: boolean;
|
|
462
849
|
multiple: boolean;
|
|
463
|
-
imagePreview: boolean;
|
|
464
850
|
draggable: boolean;
|
|
465
851
|
limit: number;
|
|
466
852
|
fileList: FileItem[];
|
|
@@ -479,6 +865,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
479
865
|
download: boolean;
|
|
480
866
|
showLink: boolean;
|
|
481
867
|
listType: import('@arco-design/web-vue/es/upload/interfaces').ListType;
|
|
868
|
+
imagePreview: boolean;
|
|
482
869
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
483
870
|
P: {};
|
|
484
871
|
B: {};
|
|
@@ -486,86 +873,129 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
486
873
|
C: {};
|
|
487
874
|
M: {};
|
|
488
875
|
Defaults: {};
|
|
489
|
-
}, Readonly<{
|
|
490
|
-
fileList
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
action?: unknown;
|
|
494
|
-
disabled?: unknown;
|
|
495
|
-
multiple?: unknown;
|
|
496
|
-
directory?: unknown;
|
|
497
|
-
draggable?: unknown;
|
|
498
|
-
tip?: unknown;
|
|
499
|
-
headers?: unknown;
|
|
500
|
-
data?: unknown;
|
|
501
|
-
name?: unknown;
|
|
502
|
-
withCredentials?: unknown;
|
|
503
|
-
customRequest?: unknown;
|
|
504
|
-
limit?: unknown;
|
|
505
|
-
autoUpload?: unknown;
|
|
506
|
-
showFileList?: unknown;
|
|
507
|
-
showRemoveButton?: unknown;
|
|
508
|
-
showRetryButton?: unknown;
|
|
509
|
-
showCancelButton?: unknown;
|
|
510
|
-
showUploadButton?: unknown;
|
|
511
|
-
showPreviewButton?: unknown;
|
|
512
|
-
download?: unknown;
|
|
513
|
-
showLink?: unknown;
|
|
514
|
-
imageLoading?: unknown;
|
|
515
|
-
listType?: unknown;
|
|
516
|
-
responseUrlKey?: unknown;
|
|
517
|
-
customIcon?: unknown;
|
|
518
|
-
imagePreview?: unknown;
|
|
519
|
-
onBeforeUpload?: unknown;
|
|
520
|
-
onBeforeRemove?: unknown;
|
|
521
|
-
onButtonClick?: unknown;
|
|
522
|
-
} & {
|
|
523
|
-
disabled: boolean;
|
|
524
|
-
multiple: boolean;
|
|
525
|
-
imagePreview: boolean;
|
|
526
|
-
draggable: boolean;
|
|
527
|
-
limit: number;
|
|
528
|
-
defaultFileList: FileItem[];
|
|
529
|
-
directory: boolean;
|
|
530
|
-
withCredentials: boolean;
|
|
531
|
-
autoUpload: boolean;
|
|
532
|
-
showFileList: boolean;
|
|
533
|
-
showRemoveButton: boolean;
|
|
534
|
-
showRetryButton: boolean;
|
|
535
|
-
showCancelButton: boolean;
|
|
536
|
-
showUploadButton: boolean | {
|
|
537
|
-
showOnExceedLimit: boolean;
|
|
876
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
877
|
+
fileList: {
|
|
878
|
+
type: import('vue').PropType<FileItem[]>;
|
|
879
|
+
default: undefined;
|
|
538
880
|
};
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
881
|
+
defaultFileList: {
|
|
882
|
+
type: import('vue').PropType<FileItem[]>;
|
|
883
|
+
default: () => never[];
|
|
884
|
+
};
|
|
885
|
+
accept: StringConstructor;
|
|
886
|
+
action: StringConstructor;
|
|
887
|
+
disabled: {
|
|
888
|
+
type: BooleanConstructor;
|
|
889
|
+
default: boolean;
|
|
890
|
+
};
|
|
891
|
+
multiple: {
|
|
892
|
+
type: BooleanConstructor;
|
|
893
|
+
default: boolean;
|
|
894
|
+
};
|
|
895
|
+
directory: {
|
|
896
|
+
type: BooleanConstructor;
|
|
897
|
+
default: boolean;
|
|
898
|
+
};
|
|
899
|
+
draggable: {
|
|
900
|
+
type: BooleanConstructor;
|
|
901
|
+
default: boolean;
|
|
902
|
+
};
|
|
903
|
+
tip: StringConstructor;
|
|
904
|
+
headers: {
|
|
905
|
+
type: import('vue').PropType<Record<string, string>>;
|
|
906
|
+
};
|
|
907
|
+
data: {
|
|
908
|
+
type: import('vue').PropType<Record<string, string | Blob> | ((fileItem: FileItem) => Record<string, string | Blob>)>;
|
|
909
|
+
};
|
|
910
|
+
name: {
|
|
911
|
+
type: import('vue').PropType<string | ((fileItem: FileItem) => string)>;
|
|
912
|
+
};
|
|
913
|
+
withCredentials: {
|
|
914
|
+
type: BooleanConstructor;
|
|
915
|
+
default: boolean;
|
|
916
|
+
};
|
|
917
|
+
customRequest: {
|
|
918
|
+
type: import('vue').PropType<(option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest>;
|
|
919
|
+
};
|
|
920
|
+
limit: {
|
|
921
|
+
type: NumberConstructor;
|
|
922
|
+
default: number;
|
|
923
|
+
};
|
|
924
|
+
autoUpload: {
|
|
925
|
+
type: BooleanConstructor;
|
|
926
|
+
default: boolean;
|
|
927
|
+
};
|
|
928
|
+
showFileList: {
|
|
929
|
+
type: BooleanConstructor;
|
|
930
|
+
default: boolean;
|
|
931
|
+
};
|
|
932
|
+
showRemoveButton: {
|
|
933
|
+
type: BooleanConstructor;
|
|
934
|
+
default: boolean;
|
|
935
|
+
};
|
|
936
|
+
showRetryButton: {
|
|
937
|
+
type: BooleanConstructor;
|
|
938
|
+
default: boolean;
|
|
939
|
+
};
|
|
940
|
+
showCancelButton: {
|
|
941
|
+
type: BooleanConstructor;
|
|
942
|
+
default: boolean;
|
|
943
|
+
};
|
|
944
|
+
showUploadButton: {
|
|
945
|
+
type: import('vue').PropType<boolean | {
|
|
946
|
+
showOnExceedLimit: boolean;
|
|
947
|
+
}>;
|
|
948
|
+
default: boolean;
|
|
949
|
+
};
|
|
950
|
+
showPreviewButton: {
|
|
951
|
+
type: BooleanConstructor;
|
|
952
|
+
default: boolean;
|
|
953
|
+
};
|
|
954
|
+
download: {
|
|
955
|
+
type: BooleanConstructor;
|
|
956
|
+
default: boolean;
|
|
957
|
+
};
|
|
958
|
+
showLink: {
|
|
959
|
+
type: BooleanConstructor;
|
|
960
|
+
default: boolean;
|
|
961
|
+
};
|
|
962
|
+
imageLoading: {
|
|
963
|
+
type: import('vue').PropType<"eager" | "lazy">;
|
|
964
|
+
};
|
|
965
|
+
listType: {
|
|
966
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').ListType>;
|
|
967
|
+
default: string;
|
|
968
|
+
};
|
|
969
|
+
responseUrlKey: {
|
|
970
|
+
type: import('vue').PropType<string | ((fileItem: FileItem) => string)>;
|
|
971
|
+
};
|
|
972
|
+
customIcon: {
|
|
973
|
+
type: import('vue').PropType<import('@arco-design/web-vue').CustomIcon>;
|
|
974
|
+
};
|
|
975
|
+
imagePreview: {
|
|
976
|
+
type: BooleanConstructor;
|
|
977
|
+
default: boolean;
|
|
978
|
+
};
|
|
979
|
+
onBeforeUpload: {
|
|
980
|
+
type: import('vue').PropType<(file: File) => boolean | Promise<boolean | File>>;
|
|
981
|
+
};
|
|
982
|
+
onBeforeRemove: {
|
|
983
|
+
type: import('vue').PropType<(fileItem: FileItem) => Promise<boolean>>;
|
|
984
|
+
};
|
|
985
|
+
onButtonClick: {
|
|
986
|
+
type: import('vue').PropType<(event: Event) => Promise<FileList> | void>;
|
|
987
|
+
};
|
|
988
|
+
}>> & Readonly<{
|
|
560
989
|
onError?: ((fileItem: FileItem) => any) | undefined;
|
|
561
990
|
onProgress?: ((fileItem: FileItem, ev?: ProgressEvent<EventTarget> | undefined) => any) | undefined;
|
|
562
|
-
|
|
991
|
+
onChange?: ((fileList: FileItem[], fileItem: FileItem) => any) | undefined;
|
|
563
992
|
onSuccess?: ((fileItem: FileItem) => any) | undefined;
|
|
564
993
|
onPreview?: ((fileItem: FileItem) => any) | undefined;
|
|
994
|
+
onExceedLimit?: ((fileList: FileItem[], files: File[]) => any) | undefined;
|
|
565
995
|
"onUpdate:fileList"?: ((fileList: FileItem[]) => any) | undefined;
|
|
566
|
-
}
|
|
996
|
+
}>, {
|
|
567
997
|
prefixCls: string;
|
|
568
|
-
render: () => false | JSX.Element;
|
|
998
|
+
render: () => false | import("vue/jsx-runtime").JSX.Element;
|
|
569
999
|
innerSubmit: (fileItem?: FileItem | undefined) => void;
|
|
570
1000
|
innerAbort: (fileItem: FileItem) => void;
|
|
571
1001
|
innerUpdateFile: (id: string, file: File) => void;
|
|
@@ -578,7 +1008,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
578
1008
|
}, {
|
|
579
1009
|
disabled: boolean;
|
|
580
1010
|
multiple: boolean;
|
|
581
|
-
imagePreview: boolean;
|
|
582
1011
|
draggable: boolean;
|
|
583
1012
|
limit: number;
|
|
584
1013
|
fileList: FileItem[];
|
|
@@ -597,6 +1026,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
597
1026
|
download: boolean;
|
|
598
1027
|
showLink: boolean;
|
|
599
1028
|
listType: import('@arco-design/web-vue/es/upload/interfaces').ListType;
|
|
1029
|
+
imagePreview: boolean;
|
|
600
1030
|
}> | undefined>;
|
|
601
1031
|
cropperInsRef: import('vue').Ref<any, any>;
|
|
602
1032
|
isUploadComplete: import('vue').ComputedRef<boolean>;
|
|
@@ -608,14 +1038,337 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
608
1038
|
"onUpdate:modelValue"?: ((value: FileItem[]) => any) | undefined;
|
|
609
1039
|
onCropperImgLoad?: ((value: File) => any) | undefined;
|
|
610
1040
|
}>, {
|
|
611
|
-
name: string;
|
|
612
1041
|
disabled: boolean;
|
|
1042
|
+
name: string;
|
|
613
1043
|
accept: string[];
|
|
614
1044
|
multiple: boolean;
|
|
615
1045
|
singleLimit: number;
|
|
616
1046
|
hideInnerBeforeUploadLoading: boolean;
|
|
617
1047
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
618
|
-
uploadInsRef:
|
|
1048
|
+
uploadInsRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
1049
|
+
fileList: {
|
|
1050
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').FileItem[]>;
|
|
1051
|
+
default: undefined;
|
|
1052
|
+
};
|
|
1053
|
+
defaultFileList: {
|
|
1054
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').FileItem[]>;
|
|
1055
|
+
default: () => never[];
|
|
1056
|
+
};
|
|
1057
|
+
accept: StringConstructor;
|
|
1058
|
+
action: StringConstructor;
|
|
1059
|
+
disabled: {
|
|
1060
|
+
type: BooleanConstructor;
|
|
1061
|
+
default: boolean;
|
|
1062
|
+
};
|
|
1063
|
+
multiple: {
|
|
1064
|
+
type: BooleanConstructor;
|
|
1065
|
+
default: boolean;
|
|
1066
|
+
};
|
|
1067
|
+
directory: {
|
|
1068
|
+
type: BooleanConstructor;
|
|
1069
|
+
default: boolean;
|
|
1070
|
+
};
|
|
1071
|
+
draggable: {
|
|
1072
|
+
type: BooleanConstructor;
|
|
1073
|
+
default: boolean;
|
|
1074
|
+
};
|
|
1075
|
+
tip: StringConstructor;
|
|
1076
|
+
headers: {
|
|
1077
|
+
type: import('vue').PropType<Record<string, string>>;
|
|
1078
|
+
};
|
|
1079
|
+
data: {
|
|
1080
|
+
type: import('vue').PropType<Record<string, string | Blob> | ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => Record<string, string | Blob>)>;
|
|
1081
|
+
};
|
|
1082
|
+
name: {
|
|
1083
|
+
type: import('vue').PropType<string | ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => string)>;
|
|
1084
|
+
};
|
|
1085
|
+
withCredentials: {
|
|
1086
|
+
type: BooleanConstructor;
|
|
1087
|
+
default: boolean;
|
|
1088
|
+
};
|
|
1089
|
+
customRequest: {
|
|
1090
|
+
type: import('vue').PropType<(option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest>;
|
|
1091
|
+
};
|
|
1092
|
+
limit: {
|
|
1093
|
+
type: NumberConstructor;
|
|
1094
|
+
default: number;
|
|
1095
|
+
};
|
|
1096
|
+
autoUpload: {
|
|
1097
|
+
type: BooleanConstructor;
|
|
1098
|
+
default: boolean;
|
|
1099
|
+
};
|
|
1100
|
+
showFileList: {
|
|
1101
|
+
type: BooleanConstructor;
|
|
1102
|
+
default: boolean;
|
|
1103
|
+
};
|
|
1104
|
+
showRemoveButton: {
|
|
1105
|
+
type: BooleanConstructor;
|
|
1106
|
+
default: boolean;
|
|
1107
|
+
};
|
|
1108
|
+
showRetryButton: {
|
|
1109
|
+
type: BooleanConstructor;
|
|
1110
|
+
default: boolean;
|
|
1111
|
+
};
|
|
1112
|
+
showCancelButton: {
|
|
1113
|
+
type: BooleanConstructor;
|
|
1114
|
+
default: boolean;
|
|
1115
|
+
};
|
|
1116
|
+
showUploadButton: {
|
|
1117
|
+
type: import('vue').PropType<boolean | {
|
|
1118
|
+
showOnExceedLimit: boolean;
|
|
1119
|
+
}>;
|
|
1120
|
+
default: boolean;
|
|
1121
|
+
};
|
|
1122
|
+
showPreviewButton: {
|
|
1123
|
+
type: BooleanConstructor;
|
|
1124
|
+
default: boolean;
|
|
1125
|
+
};
|
|
1126
|
+
download: {
|
|
1127
|
+
type: BooleanConstructor;
|
|
1128
|
+
default: boolean;
|
|
1129
|
+
};
|
|
1130
|
+
showLink: {
|
|
1131
|
+
type: BooleanConstructor;
|
|
1132
|
+
default: boolean;
|
|
1133
|
+
};
|
|
1134
|
+
imageLoading: {
|
|
1135
|
+
type: import('vue').PropType<"eager" | "lazy">;
|
|
1136
|
+
};
|
|
1137
|
+
listType: {
|
|
1138
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').ListType>;
|
|
1139
|
+
default: string;
|
|
1140
|
+
};
|
|
1141
|
+
responseUrlKey: {
|
|
1142
|
+
type: import('vue').PropType<string | ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => string)>;
|
|
1143
|
+
};
|
|
1144
|
+
customIcon: {
|
|
1145
|
+
type: import('vue').PropType<import('@arco-design/web-vue').CustomIcon>;
|
|
1146
|
+
};
|
|
1147
|
+
imagePreview: {
|
|
1148
|
+
type: BooleanConstructor;
|
|
1149
|
+
default: boolean;
|
|
1150
|
+
};
|
|
1151
|
+
onBeforeUpload: {
|
|
1152
|
+
type: import('vue').PropType<(file: File) => boolean | Promise<boolean | File>>;
|
|
1153
|
+
};
|
|
1154
|
+
onBeforeRemove: {
|
|
1155
|
+
type: import('vue').PropType<(fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => Promise<boolean>>;
|
|
1156
|
+
};
|
|
1157
|
+
onButtonClick: {
|
|
1158
|
+
type: import('vue').PropType<(event: Event) => void | Promise<FileList>>;
|
|
1159
|
+
};
|
|
1160
|
+
}>> & Readonly<{
|
|
1161
|
+
onError?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
1162
|
+
onProgress?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem, ev?: ProgressEvent<EventTarget> | undefined) => any) | undefined;
|
|
1163
|
+
onChange?: ((fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[], fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
1164
|
+
onSuccess?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
1165
|
+
onPreview?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
1166
|
+
onExceedLimit?: ((fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[], files: File[]) => any) | undefined;
|
|
1167
|
+
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[]) => any) | undefined;
|
|
1168
|
+
}>, {
|
|
1169
|
+
prefixCls: string;
|
|
1170
|
+
render: () => false | import("vue/jsx-runtime").JSX.Element;
|
|
1171
|
+
innerSubmit: (fileItem?: import('@arco-design/web-vue/es/upload/interfaces').FileItem | undefined) => void;
|
|
1172
|
+
innerAbort: (fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => void;
|
|
1173
|
+
innerUpdateFile: (id: string, file: File) => void;
|
|
1174
|
+
innerUpload: (files: File[]) => void;
|
|
1175
|
+
}, {}, {}, {
|
|
1176
|
+
submit(fileItem?: import('@arco-design/web-vue/es/upload/interfaces').FileItem | undefined): void;
|
|
1177
|
+
abort(fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem): void;
|
|
1178
|
+
updateFile(id: string, file: File): void;
|
|
1179
|
+
upload(files: File[]): void;
|
|
1180
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1181
|
+
'update:fileList': (fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[]) => true;
|
|
1182
|
+
exceedLimit: (fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[], files: File[]) => true;
|
|
1183
|
+
change: (fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[], fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => true;
|
|
1184
|
+
progress: (fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem, ev?: ProgressEvent<EventTarget> | undefined) => true;
|
|
1185
|
+
preview: (fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => true;
|
|
1186
|
+
success: (fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => true;
|
|
1187
|
+
error: (fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => true;
|
|
1188
|
+
}, import('vue').PublicProps, {
|
|
1189
|
+
disabled: boolean;
|
|
1190
|
+
multiple: boolean;
|
|
1191
|
+
draggable: boolean;
|
|
1192
|
+
limit: number;
|
|
1193
|
+
fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[];
|
|
1194
|
+
defaultFileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[];
|
|
1195
|
+
directory: boolean;
|
|
1196
|
+
withCredentials: boolean;
|
|
1197
|
+
autoUpload: boolean;
|
|
1198
|
+
showFileList: boolean;
|
|
1199
|
+
showRemoveButton: boolean;
|
|
1200
|
+
showRetryButton: boolean;
|
|
1201
|
+
showCancelButton: boolean;
|
|
1202
|
+
showUploadButton: boolean | {
|
|
1203
|
+
showOnExceedLimit: boolean;
|
|
1204
|
+
};
|
|
1205
|
+
showPreviewButton: boolean;
|
|
1206
|
+
download: boolean;
|
|
1207
|
+
showLink: boolean;
|
|
1208
|
+
listType: import('@arco-design/web-vue/es/upload/interfaces').ListType;
|
|
1209
|
+
imagePreview: boolean;
|
|
1210
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1211
|
+
P: {};
|
|
1212
|
+
B: {};
|
|
1213
|
+
D: {};
|
|
1214
|
+
C: {};
|
|
1215
|
+
M: {};
|
|
1216
|
+
Defaults: {};
|
|
1217
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
1218
|
+
fileList: {
|
|
1219
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').FileItem[]>;
|
|
1220
|
+
default: undefined;
|
|
1221
|
+
};
|
|
1222
|
+
defaultFileList: {
|
|
1223
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').FileItem[]>;
|
|
1224
|
+
default: () => never[];
|
|
1225
|
+
};
|
|
1226
|
+
accept: StringConstructor;
|
|
1227
|
+
action: StringConstructor;
|
|
1228
|
+
disabled: {
|
|
1229
|
+
type: BooleanConstructor;
|
|
1230
|
+
default: boolean;
|
|
1231
|
+
};
|
|
1232
|
+
multiple: {
|
|
1233
|
+
type: BooleanConstructor;
|
|
1234
|
+
default: boolean;
|
|
1235
|
+
};
|
|
1236
|
+
directory: {
|
|
1237
|
+
type: BooleanConstructor;
|
|
1238
|
+
default: boolean;
|
|
1239
|
+
};
|
|
1240
|
+
draggable: {
|
|
1241
|
+
type: BooleanConstructor;
|
|
1242
|
+
default: boolean;
|
|
1243
|
+
};
|
|
1244
|
+
tip: StringConstructor;
|
|
1245
|
+
headers: {
|
|
1246
|
+
type: import('vue').PropType<Record<string, string>>;
|
|
1247
|
+
};
|
|
1248
|
+
data: {
|
|
1249
|
+
type: import('vue').PropType<Record<string, string | Blob> | ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => Record<string, string | Blob>)>;
|
|
1250
|
+
};
|
|
1251
|
+
name: {
|
|
1252
|
+
type: import('vue').PropType<string | ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => string)>;
|
|
1253
|
+
};
|
|
1254
|
+
withCredentials: {
|
|
1255
|
+
type: BooleanConstructor;
|
|
1256
|
+
default: boolean;
|
|
1257
|
+
};
|
|
1258
|
+
customRequest: {
|
|
1259
|
+
type: import('vue').PropType<(option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest>;
|
|
1260
|
+
};
|
|
1261
|
+
limit: {
|
|
1262
|
+
type: NumberConstructor;
|
|
1263
|
+
default: number;
|
|
1264
|
+
};
|
|
1265
|
+
autoUpload: {
|
|
1266
|
+
type: BooleanConstructor;
|
|
1267
|
+
default: boolean;
|
|
1268
|
+
};
|
|
1269
|
+
showFileList: {
|
|
1270
|
+
type: BooleanConstructor;
|
|
1271
|
+
default: boolean;
|
|
1272
|
+
};
|
|
1273
|
+
showRemoveButton: {
|
|
1274
|
+
type: BooleanConstructor;
|
|
1275
|
+
default: boolean;
|
|
1276
|
+
};
|
|
1277
|
+
showRetryButton: {
|
|
1278
|
+
type: BooleanConstructor;
|
|
1279
|
+
default: boolean;
|
|
1280
|
+
};
|
|
1281
|
+
showCancelButton: {
|
|
1282
|
+
type: BooleanConstructor;
|
|
1283
|
+
default: boolean;
|
|
1284
|
+
};
|
|
1285
|
+
showUploadButton: {
|
|
1286
|
+
type: import('vue').PropType<boolean | {
|
|
1287
|
+
showOnExceedLimit: boolean;
|
|
1288
|
+
}>;
|
|
1289
|
+
default: boolean;
|
|
1290
|
+
};
|
|
1291
|
+
showPreviewButton: {
|
|
1292
|
+
type: BooleanConstructor;
|
|
1293
|
+
default: boolean;
|
|
1294
|
+
};
|
|
1295
|
+
download: {
|
|
1296
|
+
type: BooleanConstructor;
|
|
1297
|
+
default: boolean;
|
|
1298
|
+
};
|
|
1299
|
+
showLink: {
|
|
1300
|
+
type: BooleanConstructor;
|
|
1301
|
+
default: boolean;
|
|
1302
|
+
};
|
|
1303
|
+
imageLoading: {
|
|
1304
|
+
type: import('vue').PropType<"eager" | "lazy">;
|
|
1305
|
+
};
|
|
1306
|
+
listType: {
|
|
1307
|
+
type: import('vue').PropType<import('@arco-design/web-vue/es/upload/interfaces').ListType>;
|
|
1308
|
+
default: string;
|
|
1309
|
+
};
|
|
1310
|
+
responseUrlKey: {
|
|
1311
|
+
type: import('vue').PropType<string | ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => string)>;
|
|
1312
|
+
};
|
|
1313
|
+
customIcon: {
|
|
1314
|
+
type: import('vue').PropType<import('@arco-design/web-vue').CustomIcon>;
|
|
1315
|
+
};
|
|
1316
|
+
imagePreview: {
|
|
1317
|
+
type: BooleanConstructor;
|
|
1318
|
+
default: boolean;
|
|
1319
|
+
};
|
|
1320
|
+
onBeforeUpload: {
|
|
1321
|
+
type: import('vue').PropType<(file: File) => boolean | Promise<boolean | File>>;
|
|
1322
|
+
};
|
|
1323
|
+
onBeforeRemove: {
|
|
1324
|
+
type: import('vue').PropType<(fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => Promise<boolean>>;
|
|
1325
|
+
};
|
|
1326
|
+
onButtonClick: {
|
|
1327
|
+
type: import('vue').PropType<(event: Event) => void | Promise<FileList>>;
|
|
1328
|
+
};
|
|
1329
|
+
}>> & Readonly<{
|
|
1330
|
+
onError?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
1331
|
+
onProgress?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem, ev?: ProgressEvent<EventTarget> | undefined) => any) | undefined;
|
|
1332
|
+
onChange?: ((fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[], fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
1333
|
+
onSuccess?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
1334
|
+
onPreview?: ((fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => any) | undefined;
|
|
1335
|
+
onExceedLimit?: ((fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[], files: File[]) => any) | undefined;
|
|
1336
|
+
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[]) => any) | undefined;
|
|
1337
|
+
}>, {
|
|
1338
|
+
prefixCls: string;
|
|
1339
|
+
render: () => false | import("vue/jsx-runtime").JSX.Element;
|
|
1340
|
+
innerSubmit: (fileItem?: import('@arco-design/web-vue/es/upload/interfaces').FileItem | undefined) => void;
|
|
1341
|
+
innerAbort: (fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem) => void;
|
|
1342
|
+
innerUpdateFile: (id: string, file: File) => void;
|
|
1343
|
+
innerUpload: (files: File[]) => void;
|
|
1344
|
+
}, {}, {}, {
|
|
1345
|
+
submit(fileItem?: import('@arco-design/web-vue/es/upload/interfaces').FileItem | undefined): void;
|
|
1346
|
+
abort(fileItem: import('@arco-design/web-vue/es/upload/interfaces').FileItem): void;
|
|
1347
|
+
updateFile(id: string, file: File): void;
|
|
1348
|
+
upload(files: File[]): void;
|
|
1349
|
+
}, {
|
|
1350
|
+
disabled: boolean;
|
|
1351
|
+
multiple: boolean;
|
|
1352
|
+
draggable: boolean;
|
|
1353
|
+
limit: number;
|
|
1354
|
+
fileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[];
|
|
1355
|
+
defaultFileList: import('@arco-design/web-vue/es/upload/interfaces').FileItem[];
|
|
1356
|
+
directory: boolean;
|
|
1357
|
+
withCredentials: boolean;
|
|
1358
|
+
autoUpload: boolean;
|
|
1359
|
+
showFileList: boolean;
|
|
1360
|
+
showRemoveButton: boolean;
|
|
1361
|
+
showRetryButton: boolean;
|
|
1362
|
+
showCancelButton: boolean;
|
|
1363
|
+
showUploadButton: boolean | {
|
|
1364
|
+
showOnExceedLimit: boolean;
|
|
1365
|
+
};
|
|
1366
|
+
showPreviewButton: boolean;
|
|
1367
|
+
download: boolean;
|
|
1368
|
+
showLink: boolean;
|
|
1369
|
+
listType: import('@arco-design/web-vue/es/upload/interfaces').ListType;
|
|
1370
|
+
imagePreview: boolean;
|
|
1371
|
+
}> | null;
|
|
619
1372
|
cropperInsRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
620
1373
|
file: File;
|
|
621
1374
|
index: number;
|