bm-admin-ui 1.2.46-alpha → 1.2.47-alpha
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/attachment/index.d.ts +54 -31
- package/es/components/attachment/index.js +10 -10
- package/es/components/attachment/src/attachment.vue.d.ts +54 -31
- package/es/components/edit-form/index.d.ts +54 -31
- package/es/components/edit-form/src/edit-form.vue.d.ts +54 -31
- package/es/components/editor/index.d.ts +134 -134
- package/es/components/editor/index.js +25 -25
- package/es/components/editor/src/editor.vue.d.ts +134 -134
- package/es/components/float-table/index.d.ts +136 -62
- package/es/components/float-table/index.js +8 -8
- package/es/components/float-table/src/float-table.vue.d.ts +136 -62
- package/es/components/over-tooltips/index.d.ts +56 -33
- package/es/components/over-tooltips/index.js +10 -10
- package/es/components/over-tooltips/src/over-tooltips.vue.d.ts +56 -33
- package/es/components/upload/index.d.ts +134 -134
- package/es/components/upload/index.js +25 -25
- package/es/components/upload/src/upload.vue.d.ts +134 -134
- package/lib/components/attachment/index.d.ts +54 -31
- package/lib/components/attachment/index.js +9 -9
- package/lib/components/attachment/src/attachment.vue.d.ts +54 -31
- package/lib/components/edit-form/index.d.ts +54 -31
- package/lib/components/edit-form/src/edit-form.vue.d.ts +54 -31
- package/lib/components/editor/index.d.ts +134 -134
- package/lib/components/editor/index.js +24 -24
- package/lib/components/editor/src/editor.vue.d.ts +134 -134
- package/lib/components/float-table/index.d.ts +136 -62
- package/lib/components/float-table/index.js +7 -7
- package/lib/components/float-table/src/float-table.vue.d.ts +136 -62
- package/lib/components/over-tooltips/index.d.ts +56 -33
- package/lib/components/over-tooltips/index.js +9 -9
- package/lib/components/over-tooltips/src/over-tooltips.vue.d.ts +56 -33
- package/lib/components/upload/index.d.ts +134 -134
- package/lib/components/upload/index.js +24 -24
- package/lib/components/upload/src/upload.vue.d.ts +134 -134
- package/package.json +1 -1
- package/types/components/attachment/index.d.ts +54 -31
- package/types/components/attachment/src/attachment.vue.d.ts +54 -31
- package/types/components/edit-form/index.d.ts +54 -31
- package/types/components/edit-form/src/edit-form.vue.d.ts +54 -31
- package/types/components/editor/index.d.ts +134 -134
- package/types/components/editor/src/editor.vue.d.ts +134 -134
- package/types/components/float-table/index.d.ts +136 -62
- package/types/components/float-table/src/float-table.vue.d.ts +136 -62
- package/types/components/over-tooltips/index.d.ts +56 -33
- package/types/components/over-tooltips/src/over-tooltips.vue.d.ts +56 -33
- package/types/components/upload/index.d.ts +134 -134
- package/types/components/upload/src/upload.vue.d.ts +134 -134
|
@@ -1,141 +1,141 @@
|
|
|
1
1
|
import type { UploadProps, UploadPropsInner, ExtraProps, DefaultList, UploadRequest, CustomErrors } from './src/props';
|
|
2
|
-
declare const BmUpload: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
OverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
|
|
7
|
-
name: string;
|
|
8
|
-
props: {
|
|
9
|
-
title: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: undefined;
|
|
12
|
-
};
|
|
13
|
-
labelTitle: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
default: undefined;
|
|
16
|
-
};
|
|
17
|
-
line: {
|
|
18
|
-
type: NumberConstructor;
|
|
19
|
-
default: number;
|
|
20
|
-
};
|
|
21
|
-
width: {
|
|
22
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
23
|
-
default: number;
|
|
24
|
-
};
|
|
25
|
-
showAlways: {
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
setup(props: any, context: any): {
|
|
31
|
-
mySelf: import("vue").Ref<any>;
|
|
32
|
-
handleVisibleChange: (val: any) => void;
|
|
33
|
-
getPopupContainer: () => HTMLElement;
|
|
34
|
-
mSlots: import("vue").Ref<{}>;
|
|
35
|
-
isShow: import("vue").Ref<boolean>;
|
|
36
|
-
openShow: import("vue").Ref<boolean>;
|
|
37
|
-
};
|
|
38
|
-
}>;
|
|
39
|
-
UploadOutlined: import("@ant-design/icons-vue/lib/icons/UploadOutlined").UploadOutlinedIconType;
|
|
40
|
-
LoadingOutlined: import("@ant-design/icons-vue/lib/icons/LoadingOutlined").LoadingOutlinedIconType;
|
|
41
|
-
InboxOutlined: import("@ant-design/icons-vue/lib/icons/InboxOutlined").InboxOutlinedIconType;
|
|
2
|
+
declare const BmUpload: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
|
|
3
|
+
uploadProps: {
|
|
4
|
+
type: import("vue").PropType<UploadPropsInner>;
|
|
5
|
+
default: () => {};
|
|
42
6
|
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
default: () => {};
|
|
47
|
-
};
|
|
48
|
-
extraProps: {
|
|
49
|
-
type: import("vue").PropType<ExtraProps>;
|
|
50
|
-
default: () => {};
|
|
51
|
-
};
|
|
52
|
-
defaultList: {
|
|
53
|
-
type: import("vue").PropType<DefaultList>;
|
|
54
|
-
default: () => never[];
|
|
55
|
-
};
|
|
56
|
-
uploadRequest: {
|
|
57
|
-
type: import("vue").PropType<UploadRequest>;
|
|
58
|
-
default(): () => void;
|
|
59
|
-
};
|
|
60
|
-
cloudReadUrl: {
|
|
61
|
-
type: import("vue").PropType<string>;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
holdProgress: {
|
|
65
|
-
type: import("vue").PropType<number>;
|
|
66
|
-
default: number;
|
|
67
|
-
};
|
|
68
|
-
customErrors: {
|
|
69
|
-
type: import("vue").PropType<CustomErrors>;
|
|
70
|
-
default(): undefined;
|
|
71
|
-
};
|
|
7
|
+
extraProps: {
|
|
8
|
+
type: import("vue").PropType<ExtraProps>;
|
|
9
|
+
default: () => {};
|
|
72
10
|
};
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
expose: any;
|
|
77
|
-
}): {
|
|
78
|
-
uploadDisabled: import("vue").ComputedRef<boolean>;
|
|
79
|
-
updateUploadProgress(file: any, progress: any): void;
|
|
80
|
-
customUploadRequest(file: any): void;
|
|
81
|
-
fileIsDelete(file: any): boolean;
|
|
82
|
-
uploadSuccess(data: any, file: any): void;
|
|
83
|
-
uploadError(error: any, file?: any): void;
|
|
84
|
-
deleteFile(uid: any): Promise<void>;
|
|
85
|
-
pictureHoverEnter(uid: string): void;
|
|
86
|
-
pictureHoverLeave(uid: string): void;
|
|
87
|
-
viewOnePicture(item: any): void;
|
|
88
|
-
handleClosePictureView(): void;
|
|
89
|
-
reUpload(e: any, uid: any): void;
|
|
90
|
-
paste(event: ClipboardEvent): void;
|
|
91
|
-
handleReject(e: any): void;
|
|
92
|
-
icons: {
|
|
93
|
-
pdf: string;
|
|
94
|
-
ppt: string;
|
|
95
|
-
excel: string;
|
|
96
|
-
doc: string;
|
|
97
|
-
others: string;
|
|
98
|
-
};
|
|
99
|
-
uploadBarColor: import("vue").Ref<string>;
|
|
100
|
-
uploadedList: import("vue").Ref<any[]>;
|
|
101
|
-
fileList: import("vue").Ref<{}>;
|
|
102
|
-
onepViewImageHover: import("vue").Ref<{}>;
|
|
103
|
-
previewVisible: import("vue").Ref<boolean>;
|
|
104
|
-
onepViewImage: import("vue").Ref<{}>;
|
|
105
|
-
extraConfigs: import("vue").Ref<{
|
|
106
|
-
maxSize: number;
|
|
107
|
-
maxCount: number;
|
|
108
|
-
isAllowDownloadFieldProps: boolean;
|
|
109
|
-
hideDisabledBtn: boolean;
|
|
110
|
-
tips: string;
|
|
111
|
-
showTips: boolean;
|
|
112
|
-
btnClass: string;
|
|
113
|
-
picClass: string;
|
|
114
|
-
alignCenter: boolean;
|
|
115
|
-
canNotViewAccept: string;
|
|
116
|
-
myBtn: boolean;
|
|
117
|
-
showFileName: boolean;
|
|
118
|
-
drag: boolean;
|
|
119
|
-
}>;
|
|
120
|
-
uploadConfigs: import("vue").Ref<{
|
|
121
|
-
multiple: boolean;
|
|
122
|
-
showUploadList: boolean;
|
|
123
|
-
showSlotList: boolean;
|
|
124
|
-
listType: string;
|
|
125
|
-
text: string;
|
|
126
|
-
accept: string;
|
|
127
|
-
data: {};
|
|
128
|
-
name: string;
|
|
129
|
-
disabled: boolean;
|
|
130
|
-
customRequest: ({ file, fileField, data }: {
|
|
131
|
-
file: any;
|
|
132
|
-
fileField: any;
|
|
133
|
-
data: any;
|
|
134
|
-
}) => Promise<void>;
|
|
135
|
-
}>;
|
|
136
|
-
pictureFileTypes: import("vue").Ref<string[]>;
|
|
11
|
+
defaultList: {
|
|
12
|
+
type: import("vue").PropType<DefaultList>;
|
|
13
|
+
default: () => never[];
|
|
137
14
|
};
|
|
138
|
-
|
|
15
|
+
uploadRequest: {
|
|
16
|
+
type: import("vue").PropType<UploadRequest>;
|
|
17
|
+
default: () => () => void;
|
|
18
|
+
};
|
|
19
|
+
cloudReadUrl: {
|
|
20
|
+
type: import("vue").PropType<string>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
holdProgress: {
|
|
24
|
+
type: import("vue").PropType<number>;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
customErrors: {
|
|
28
|
+
type: import("vue").PropType<CustomErrors>;
|
|
29
|
+
default: () => {};
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
uploadDisabled: import("vue").ComputedRef<boolean>;
|
|
33
|
+
updateUploadProgress(file: any, progress: any): void;
|
|
34
|
+
customUploadRequest(file: any): void;
|
|
35
|
+
fileIsDelete(file: any): boolean;
|
|
36
|
+
uploadSuccess(data: any, file: any): void;
|
|
37
|
+
uploadError(error: any, file?: any): void;
|
|
38
|
+
deleteFile(uid: any): Promise<void>;
|
|
39
|
+
pictureHoverEnter(uid: string): void;
|
|
40
|
+
pictureHoverLeave(uid: string): void;
|
|
41
|
+
viewOnePicture(item: any): void;
|
|
42
|
+
handleClosePictureView(): void;
|
|
43
|
+
reUpload(e: any, uid: any): void;
|
|
44
|
+
paste(event: ClipboardEvent): void;
|
|
45
|
+
handleReject(e: any): void;
|
|
46
|
+
icons: {
|
|
47
|
+
pdf: string;
|
|
48
|
+
ppt: string;
|
|
49
|
+
excel: string;
|
|
50
|
+
doc: string;
|
|
51
|
+
others: string;
|
|
52
|
+
};
|
|
53
|
+
uploadBarColor: import("vue").Ref<string>;
|
|
54
|
+
uploadedList: import("vue").Ref<any[]>;
|
|
55
|
+
fileList: import("vue").Ref<{}>;
|
|
56
|
+
onepViewImageHover: import("vue").Ref<{}>;
|
|
57
|
+
previewVisible: import("vue").Ref<boolean>;
|
|
58
|
+
onepViewImage: import("vue").Ref<{}>;
|
|
59
|
+
extraConfigs: import("vue").Ref<{
|
|
60
|
+
maxSize: number;
|
|
61
|
+
maxCount: number;
|
|
62
|
+
isAllowDownloadFieldProps: boolean;
|
|
63
|
+
hideDisabledBtn: boolean;
|
|
64
|
+
tips: string;
|
|
65
|
+
showTips: boolean;
|
|
66
|
+
btnClass: string;
|
|
67
|
+
picClass: string;
|
|
68
|
+
alignCenter: boolean;
|
|
69
|
+
canNotViewAccept: string;
|
|
70
|
+
myBtn: boolean;
|
|
71
|
+
showFileName: boolean;
|
|
72
|
+
drag: boolean;
|
|
73
|
+
}>;
|
|
74
|
+
uploadConfigs: import("vue").Ref<{
|
|
75
|
+
multiple: boolean;
|
|
76
|
+
showUploadList: boolean;
|
|
77
|
+
showSlotList: boolean;
|
|
78
|
+
listType: string;
|
|
79
|
+
text: string;
|
|
80
|
+
accept: string;
|
|
81
|
+
data: {};
|
|
82
|
+
name: string;
|
|
83
|
+
disabled: boolean;
|
|
84
|
+
customRequest: ({ file, fileField, data }: {
|
|
85
|
+
file: any;
|
|
86
|
+
fileField: any;
|
|
87
|
+
data: any;
|
|
88
|
+
}) => Promise<void>;
|
|
89
|
+
}>;
|
|
90
|
+
pictureFileTypes: import("vue").Ref<string[]>;
|
|
91
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "success" | "delete" | "update" | "previewFile" | "successFile" | "deleteFile" | "updateDisabledStatus" | "updateIsUploadingStatus")[], "error" | "success" | "delete" | "update" | "previewFile" | "successFile" | "deleteFile" | "updateDisabledStatus" | "updateIsUploadingStatus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
92
|
+
uploadProps: {
|
|
93
|
+
type: import("vue").PropType<UploadPropsInner>;
|
|
94
|
+
default: () => {};
|
|
95
|
+
};
|
|
96
|
+
extraProps: {
|
|
97
|
+
type: import("vue").PropType<ExtraProps>;
|
|
98
|
+
default: () => {};
|
|
99
|
+
};
|
|
100
|
+
defaultList: {
|
|
101
|
+
type: import("vue").PropType<DefaultList>;
|
|
102
|
+
default: () => never[];
|
|
103
|
+
};
|
|
104
|
+
uploadRequest: {
|
|
105
|
+
type: import("vue").PropType<UploadRequest>;
|
|
106
|
+
default: () => () => void;
|
|
107
|
+
};
|
|
108
|
+
cloudReadUrl: {
|
|
109
|
+
type: import("vue").PropType<string>;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
holdProgress: {
|
|
113
|
+
type: import("vue").PropType<number>;
|
|
114
|
+
default: number;
|
|
115
|
+
};
|
|
116
|
+
customErrors: {
|
|
117
|
+
type: import("vue").PropType<CustomErrors>;
|
|
118
|
+
default: () => {};
|
|
119
|
+
};
|
|
120
|
+
}>> & {
|
|
121
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
122
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
123
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
124
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
125
|
+
onPreviewFile?: ((...args: any[]) => any) | undefined;
|
|
126
|
+
onSuccessFile?: ((...args: any[]) => any) | undefined;
|
|
127
|
+
onDeleteFile?: ((...args: any[]) => any) | undefined;
|
|
128
|
+
onUpdateDisabledStatus?: ((...args: any[]) => any) | undefined;
|
|
129
|
+
onUpdateIsUploadingStatus?: ((...args: any[]) => any) | undefined;
|
|
130
|
+
}, {
|
|
131
|
+
uploadRequest: UploadRequest;
|
|
132
|
+
uploadProps: UploadPropsInner;
|
|
133
|
+
extraProps: ExtraProps;
|
|
134
|
+
defaultList: DefaultList;
|
|
135
|
+
cloudReadUrl: string;
|
|
136
|
+
holdProgress: number;
|
|
137
|
+
customErrors: CustomErrors;
|
|
138
|
+
}>>;
|
|
139
139
|
export { BmUpload, UploadPropsInner, ExtraProps, DefaultList, UploadRequest, CustomErrors, };
|
|
140
140
|
export type { UploadProps };
|
|
141
141
|
export default BmUpload;
|
|
@@ -1,139 +1,139 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
OverTooltips: import("../../../utils/with-install").SFCWithInstall<{
|
|
7
|
-
name: string;
|
|
8
|
-
props: {
|
|
9
|
-
title: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: undefined;
|
|
12
|
-
};
|
|
13
|
-
labelTitle: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
default: undefined;
|
|
16
|
-
};
|
|
17
|
-
line: {
|
|
18
|
-
type: NumberConstructor;
|
|
19
|
-
default: number;
|
|
20
|
-
};
|
|
21
|
-
width: {
|
|
22
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
23
|
-
default: number;
|
|
24
|
-
};
|
|
25
|
-
showAlways: {
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
setup(props: any, context: any): {
|
|
31
|
-
mySelf: import("vue").Ref<any>;
|
|
32
|
-
handleVisibleChange: (val: any) => void;
|
|
33
|
-
getPopupContainer: () => HTMLElement;
|
|
34
|
-
mSlots: import("vue").Ref<{}>;
|
|
35
|
-
isShow: import("vue").Ref<boolean>;
|
|
36
|
-
openShow: import("vue").Ref<boolean>;
|
|
37
|
-
};
|
|
38
|
-
}>;
|
|
39
|
-
UploadOutlined: import("@ant-design/icons-vue/lib/icons/UploadOutlined").UploadOutlinedIconType;
|
|
40
|
-
LoadingOutlined: import("@ant-design/icons-vue/lib/icons/LoadingOutlined").LoadingOutlinedIconType;
|
|
41
|
-
InboxOutlined: import("@ant-design/icons-vue/lib/icons/InboxOutlined").InboxOutlinedIconType;
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
uploadProps: {
|
|
4
|
+
type: PropType<import("./props").UploadPropsInner>;
|
|
5
|
+
default: () => {};
|
|
42
6
|
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
default: () => {};
|
|
47
|
-
};
|
|
48
|
-
extraProps: {
|
|
49
|
-
type: PropType<import("./props").ExtraProps>;
|
|
50
|
-
default: () => {};
|
|
51
|
-
};
|
|
52
|
-
defaultList: {
|
|
53
|
-
type: PropType<import("./props").DefaultList>;
|
|
54
|
-
default: () => never[];
|
|
55
|
-
};
|
|
56
|
-
uploadRequest: {
|
|
57
|
-
type: PropType<import("./props").UploadRequest>;
|
|
58
|
-
default(): () => void;
|
|
59
|
-
};
|
|
60
|
-
cloudReadUrl: {
|
|
61
|
-
type: PropType<string>;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
holdProgress: {
|
|
65
|
-
type: PropType<number>;
|
|
66
|
-
default: number;
|
|
67
|
-
};
|
|
68
|
-
customErrors: {
|
|
69
|
-
type: PropType<import("./props").CustomErrors>;
|
|
70
|
-
default(): undefined;
|
|
71
|
-
};
|
|
7
|
+
extraProps: {
|
|
8
|
+
type: PropType<import("./props").ExtraProps>;
|
|
9
|
+
default: () => {};
|
|
72
10
|
};
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
expose: any;
|
|
77
|
-
}): {
|
|
78
|
-
uploadDisabled: import("vue").ComputedRef<boolean>;
|
|
79
|
-
updateUploadProgress(file: any, progress: any): void;
|
|
80
|
-
customUploadRequest(file: any): void;
|
|
81
|
-
fileIsDelete(file: any): boolean;
|
|
82
|
-
uploadSuccess(data: any, file: any): void;
|
|
83
|
-
uploadError(error: any, file?: any): void;
|
|
84
|
-
deleteFile(uid: any): Promise<void>;
|
|
85
|
-
pictureHoverEnter(uid: string): void;
|
|
86
|
-
pictureHoverLeave(uid: string): void;
|
|
87
|
-
viewOnePicture(item: any): void;
|
|
88
|
-
handleClosePictureView(): void;
|
|
89
|
-
reUpload(e: any, uid: any): void;
|
|
90
|
-
paste(event: ClipboardEvent): void;
|
|
91
|
-
handleReject(e: any): void;
|
|
92
|
-
icons: {
|
|
93
|
-
pdf: string;
|
|
94
|
-
ppt: string;
|
|
95
|
-
excel: string;
|
|
96
|
-
doc: string;
|
|
97
|
-
others: string;
|
|
98
|
-
};
|
|
99
|
-
uploadBarColor: import("vue").Ref<string>;
|
|
100
|
-
uploadedList: import("vue").Ref<any[]>;
|
|
101
|
-
fileList: import("vue").Ref<{}>;
|
|
102
|
-
onepViewImageHover: import("vue").Ref<{}>;
|
|
103
|
-
previewVisible: import("vue").Ref<boolean>;
|
|
104
|
-
onepViewImage: import("vue").Ref<{}>;
|
|
105
|
-
extraConfigs: import("vue").Ref<{
|
|
106
|
-
maxSize: number;
|
|
107
|
-
maxCount: number;
|
|
108
|
-
isAllowDownloadFieldProps: boolean;
|
|
109
|
-
hideDisabledBtn: boolean;
|
|
110
|
-
tips: string;
|
|
111
|
-
showTips: boolean;
|
|
112
|
-
btnClass: string;
|
|
113
|
-
picClass: string;
|
|
114
|
-
alignCenter: boolean;
|
|
115
|
-
canNotViewAccept: string;
|
|
116
|
-
myBtn: boolean;
|
|
117
|
-
showFileName: boolean;
|
|
118
|
-
drag: boolean;
|
|
119
|
-
}>;
|
|
120
|
-
uploadConfigs: import("vue").Ref<{
|
|
121
|
-
multiple: boolean;
|
|
122
|
-
showUploadList: boolean;
|
|
123
|
-
showSlotList: boolean;
|
|
124
|
-
listType: string;
|
|
125
|
-
text: string;
|
|
126
|
-
accept: string;
|
|
127
|
-
data: {};
|
|
128
|
-
name: string;
|
|
129
|
-
disabled: boolean;
|
|
130
|
-
customRequest: ({ file, fileField, data }: {
|
|
131
|
-
file: any;
|
|
132
|
-
fileField: any;
|
|
133
|
-
data: any;
|
|
134
|
-
}) => Promise<void>;
|
|
135
|
-
}>;
|
|
136
|
-
pictureFileTypes: import("vue").Ref<string[]>;
|
|
11
|
+
defaultList: {
|
|
12
|
+
type: PropType<import("./props").DefaultList>;
|
|
13
|
+
default: () => never[];
|
|
137
14
|
};
|
|
138
|
-
|
|
15
|
+
uploadRequest: {
|
|
16
|
+
type: PropType<import("./props").UploadRequest>;
|
|
17
|
+
default: () => () => void;
|
|
18
|
+
};
|
|
19
|
+
cloudReadUrl: {
|
|
20
|
+
type: PropType<string>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
holdProgress: {
|
|
24
|
+
type: PropType<number>;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
customErrors: {
|
|
28
|
+
type: PropType<import("./props").CustomErrors>;
|
|
29
|
+
default: () => {};
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
uploadDisabled: import("vue").ComputedRef<boolean>;
|
|
33
|
+
updateUploadProgress(file: any, progress: any): void;
|
|
34
|
+
customUploadRequest(file: any): void;
|
|
35
|
+
fileIsDelete(file: any): boolean;
|
|
36
|
+
uploadSuccess(data: any, file: any): void;
|
|
37
|
+
uploadError(error: any, file?: any): void;
|
|
38
|
+
deleteFile(uid: any): Promise<void>;
|
|
39
|
+
pictureHoverEnter(uid: string): void;
|
|
40
|
+
pictureHoverLeave(uid: string): void;
|
|
41
|
+
viewOnePicture(item: any): void;
|
|
42
|
+
handleClosePictureView(): void;
|
|
43
|
+
reUpload(e: any, uid: any): void;
|
|
44
|
+
paste(event: ClipboardEvent): void;
|
|
45
|
+
handleReject(e: any): void;
|
|
46
|
+
icons: {
|
|
47
|
+
pdf: string;
|
|
48
|
+
ppt: string;
|
|
49
|
+
excel: string;
|
|
50
|
+
doc: string;
|
|
51
|
+
others: string;
|
|
52
|
+
};
|
|
53
|
+
uploadBarColor: import("vue").Ref<string>;
|
|
54
|
+
uploadedList: import("vue").Ref<any[]>;
|
|
55
|
+
fileList: import("vue").Ref<{}>;
|
|
56
|
+
onepViewImageHover: import("vue").Ref<{}>;
|
|
57
|
+
previewVisible: import("vue").Ref<boolean>;
|
|
58
|
+
onepViewImage: import("vue").Ref<{}>;
|
|
59
|
+
extraConfigs: import("vue").Ref<{
|
|
60
|
+
maxSize: number;
|
|
61
|
+
maxCount: number;
|
|
62
|
+
isAllowDownloadFieldProps: boolean;
|
|
63
|
+
hideDisabledBtn: boolean;
|
|
64
|
+
tips: string;
|
|
65
|
+
showTips: boolean;
|
|
66
|
+
btnClass: string;
|
|
67
|
+
picClass: string;
|
|
68
|
+
alignCenter: boolean;
|
|
69
|
+
canNotViewAccept: string;
|
|
70
|
+
myBtn: boolean;
|
|
71
|
+
showFileName: boolean;
|
|
72
|
+
drag: boolean;
|
|
73
|
+
}>;
|
|
74
|
+
uploadConfigs: import("vue").Ref<{
|
|
75
|
+
multiple: boolean;
|
|
76
|
+
showUploadList: boolean;
|
|
77
|
+
showSlotList: boolean;
|
|
78
|
+
listType: string;
|
|
79
|
+
text: string;
|
|
80
|
+
accept: string;
|
|
81
|
+
data: {};
|
|
82
|
+
name: string;
|
|
83
|
+
disabled: boolean;
|
|
84
|
+
customRequest: ({ file, fileField, data }: {
|
|
85
|
+
file: any;
|
|
86
|
+
fileField: any;
|
|
87
|
+
data: any;
|
|
88
|
+
}) => Promise<void>;
|
|
89
|
+
}>;
|
|
90
|
+
pictureFileTypes: import("vue").Ref<string[]>;
|
|
91
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "success" | "delete" | "update" | "previewFile" | "successFile" | "deleteFile" | "updateDisabledStatus" | "updateIsUploadingStatus")[], "error" | "success" | "delete" | "update" | "previewFile" | "successFile" | "deleteFile" | "updateDisabledStatus" | "updateIsUploadingStatus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
92
|
+
uploadProps: {
|
|
93
|
+
type: PropType<import("./props").UploadPropsInner>;
|
|
94
|
+
default: () => {};
|
|
95
|
+
};
|
|
96
|
+
extraProps: {
|
|
97
|
+
type: PropType<import("./props").ExtraProps>;
|
|
98
|
+
default: () => {};
|
|
99
|
+
};
|
|
100
|
+
defaultList: {
|
|
101
|
+
type: PropType<import("./props").DefaultList>;
|
|
102
|
+
default: () => never[];
|
|
103
|
+
};
|
|
104
|
+
uploadRequest: {
|
|
105
|
+
type: PropType<import("./props").UploadRequest>;
|
|
106
|
+
default: () => () => void;
|
|
107
|
+
};
|
|
108
|
+
cloudReadUrl: {
|
|
109
|
+
type: PropType<string>;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
holdProgress: {
|
|
113
|
+
type: PropType<number>;
|
|
114
|
+
default: number;
|
|
115
|
+
};
|
|
116
|
+
customErrors: {
|
|
117
|
+
type: PropType<import("./props").CustomErrors>;
|
|
118
|
+
default: () => {};
|
|
119
|
+
};
|
|
120
|
+
}>> & {
|
|
121
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
122
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
123
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
124
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
125
|
+
onPreviewFile?: ((...args: any[]) => any) | undefined;
|
|
126
|
+
onSuccessFile?: ((...args: any[]) => any) | undefined;
|
|
127
|
+
onDeleteFile?: ((...args: any[]) => any) | undefined;
|
|
128
|
+
onUpdateDisabledStatus?: ((...args: any[]) => any) | undefined;
|
|
129
|
+
onUpdateIsUploadingStatus?: ((...args: any[]) => any) | undefined;
|
|
130
|
+
}, {
|
|
131
|
+
uploadRequest: import("./props").UploadRequest;
|
|
132
|
+
uploadProps: import("./props").UploadPropsInner;
|
|
133
|
+
extraProps: import("./props").ExtraProps;
|
|
134
|
+
defaultList: import("./props").DefaultList;
|
|
135
|
+
cloudReadUrl: string;
|
|
136
|
+
holdProgress: number;
|
|
137
|
+
customErrors: import("./props").CustomErrors;
|
|
138
|
+
}>;
|
|
139
139
|
export default _default;
|