next-ui3 1.0.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/README.md +1 -0
- package/dist/index.css +1 -0
- package/dist/index.full.min.js +43 -0
- package/dist/index.full.min.mjs +43 -0
- package/dist/locale/zh-cn.min.js +1 -0
- package/dist/locale/zh-cn.min.mjs +1 -0
- package/dist/utils/index.min.js +1 -0
- package/dist/utils/index.min.mjs +1 -0
- package/es/component.d.ts +3 -0
- package/es/components/_base/config/presetComponents.d.ts +2 -0
- package/es/components/_base/config/presetFileUploader.d.ts +2 -0
- package/es/components/_base/next.d.ts +1 -0
- package/es/components/_base/types/index.d.ts +59 -0
- package/es/components/autocomplete/index.d.ts +2 -0
- package/es/components/autocomplete/src/index.vue.d.ts +264 -0
- package/es/components/building/index.d.ts +2 -0
- package/es/components/building/src/index.vue.d.ts +28 -0
- package/es/components/cascader/index.d.ts +2 -0
- package/es/components/cascader/src/index.vue.d.ts +1191 -0
- package/es/components/checkbox/index.d.ts +2 -0
- package/es/components/checkbox/src/index.vue.d.ts +85 -0
- package/es/components/checkbox-group/index.d.ts +2 -0
- package/es/components/checkbox-group/src/index.vue.d.ts +105 -0
- package/es/components/date-picker/index.d.ts +2 -0
- package/es/components/date-picker/src/QuarterPicker.vue.d.ts +96 -0
- package/es/components/date-picker/src/SemiAnnualPicker.vue.d.ts +91 -0
- package/es/components/date-picker/src/index.vue.d.ts +417 -0
- package/es/components/empty/index.d.ts +2 -0
- package/es/components/empty/src/index.vue.d.ts +52 -0
- package/es/components/enum-tag/index.d.ts +2 -0
- package/es/components/enum-tag/src/index.vue.d.ts +32 -0
- package/es/components/file-select/index.d.ts +2 -0
- package/es/components/file-select/src/index.vue.d.ts +67 -0
- package/es/components/filter/index.d.ts +2 -0
- package/es/components/filter/src/index.vue.d.ts +268 -0
- package/es/components/flex-text/index.d.ts +2 -0
- package/es/components/flex-text/src/index.vue.d.ts +63 -0
- package/es/components/form/index.d.ts +2 -0
- package/es/components/form/src/index.vue.d.ts +248 -0
- package/es/components/index.d.ts +28 -0
- package/es/components/input/index.d.ts +2 -0
- package/es/components/input/src/index.vue.d.ts +471 -0
- package/es/components/input-number/index.d.ts +2 -0
- package/es/components/input-number/src/index.vue.d.ts +522 -0
- package/es/components/input-password/index.d.ts +2 -0
- package/es/components/input-password/src/index.vue.d.ts +457 -0
- package/es/components/mask-text/index.d.ts +2 -0
- package/es/components/mask-text/src/index.vue.d.ts +30 -0
- package/es/components/pagination/index.d.ts +2 -0
- package/es/components/pagination/src/index.vue.d.ts +51 -0
- package/es/components/radio-group/index.d.ts +2 -0
- package/es/components/radio-group/src/CustomRadioGroup.vue.d.ts +63 -0
- package/es/components/radio-group/src/FlexRadioGroup.vue.d.ts +43 -0
- package/es/components/radio-group/src/index.vue.d.ts +94 -0
- package/es/components/remote-cascader/index.d.ts +2 -0
- package/es/components/remote-cascader/src/index.vue.d.ts +47 -0
- package/es/components/remote-select/index.d.ts +4 -0
- package/es/components/remote-select/src/DictSelect.vue.d.ts +176 -0
- package/es/components/remote-select/src/EnumSelect.vue.d.ts +176 -0
- package/es/components/remote-select/src/index.vue.d.ts +63 -0
- package/es/components/remote-tree-select/index.d.ts +2 -0
- package/es/components/remote-tree-select/src/index.vue.d.ts +52 -0
- package/es/components/remote-tree-select/src/old.vue.d.ts +123 -0
- package/es/components/search/index.d.ts +2 -0
- package/es/components/search/src/index.vue.d.ts +33 -0
- package/es/components/select/index.d.ts +2 -0
- package/es/components/select/src/index.vue.d.ts +639 -0
- package/es/components/table/index.d.ts +2 -0
- package/es/components/table/src/index.vue.d.ts +643 -0
- package/es/components/table/src/utils.d.ts +11 -0
- package/es/components/tree-panel/index.d.ts +2 -0
- package/es/components/tree-panel/src/index.vue.d.ts +994 -0
- package/es/components/tree-select/index.d.ts +2 -0
- package/es/components/tree-select/src/index.vue.d.ts +135 -0
- package/es/components/upload/index.d.ts +3 -0
- package/es/components/upload/src/ImageUpload.vue.d.ts +52 -0
- package/es/components/upload/src/index.vue.d.ts +559 -0
- package/es/constants/aria.d.ts +17 -0
- package/es/constants/event.d.ts +3 -0
- package/es/constants/index.d.ts +3 -0
- package/es/constants/key.d.ts +1 -0
- package/es/defaults.d.ts +5 -0
- package/es/directives/index.d.ts +1 -0
- package/es/directives/size-ob/index.d.ts +12 -0
- package/es/hooks/index.d.ts +12 -0
- package/es/hooks/use-dict-loader/index.d.ts +10 -0
- package/es/hooks/use-enums/index.d.ts +5 -0
- package/es/hooks/use-global-config/index.d.ts +22 -0
- package/es/hooks/use-list/index.d.ts +57 -0
- package/es/hooks/use-loader/index.d.ts +18 -0
- package/es/hooks/use-locale/index.d.ts +16 -0
- package/es/hooks/use-resettable/index.d.ts +4 -0
- package/es/hooks/use-size/index.d.ts +8 -0
- package/es/hooks/use-table/index.d.ts +19 -0
- package/es/hooks/use-toast/index.d.ts +18 -0
- package/es/hooks/use-upload-config/index.d.ts +24 -0
- package/es/hooks/use-vmodel/index.d.ts +3 -0
- package/es/index.d.ts +9 -0
- package/es/locale/index.d.ts +8 -0
- package/es/locale/lang/zh-cn.d.ts +9 -0
- package/es/locales.d.ts +1 -0
- package/es/make-installer.d.ts +6 -0
- package/es/utils/array.d.ts +26 -0
- package/es/utils/biz.d.ts +10 -0
- package/es/utils/compress.d.ts +14 -0
- package/es/utils/debounce.d.ts +13 -0
- package/es/utils/dom/index.d.ts +1 -0
- package/es/utils/enum.d.ts +22 -0
- package/es/utils/format.d.ts +28 -0
- package/es/utils/functions.d.ts +7 -0
- package/es/utils/html.d.ts +12 -0
- package/es/utils/index.d.ts +18 -0
- package/es/utils/install.d.ts +4 -0
- package/es/utils/object.d.ts +42 -0
- package/es/utils/rand.d.ts +1 -0
- package/es/utils/stream.d.ts +5 -0
- package/es/utils/string.d.ts +4 -0
- package/es/utils/timer.d.ts +17 -0
- package/es/utils/tree.d.ts +44 -0
- package/es/utils/types.d.ts +25 -0
- package/es/utils/url.d.ts +9 -0
- package/es/version.d.ts +1 -0
- package/global.d.ts +11 -0
- package/lib/component.d.ts +3 -0
- package/lib/components/_base/config/presetComponents.d.ts +2 -0
- package/lib/components/_base/config/presetFileUploader.d.ts +2 -0
- package/lib/components/_base/next.d.ts +1 -0
- package/lib/components/_base/types/index.d.ts +59 -0
- package/lib/components/autocomplete/index.d.ts +2 -0
- package/lib/components/autocomplete/src/index.vue.d.ts +264 -0
- package/lib/components/building/index.d.ts +2 -0
- package/lib/components/building/src/index.vue.d.ts +28 -0
- package/lib/components/cascader/index.d.ts +2 -0
- package/lib/components/cascader/src/index.vue.d.ts +1191 -0
- package/lib/components/checkbox/index.d.ts +2 -0
- package/lib/components/checkbox/src/index.vue.d.ts +85 -0
- package/lib/components/checkbox-group/index.d.ts +2 -0
- package/lib/components/checkbox-group/src/index.vue.d.ts +105 -0
- package/lib/components/date-picker/index.d.ts +2 -0
- package/lib/components/date-picker/src/QuarterPicker.vue.d.ts +96 -0
- package/lib/components/date-picker/src/SemiAnnualPicker.vue.d.ts +91 -0
- package/lib/components/date-picker/src/index.vue.d.ts +417 -0
- package/lib/components/empty/index.d.ts +2 -0
- package/lib/components/empty/src/index.vue.d.ts +52 -0
- package/lib/components/enum-tag/index.d.ts +2 -0
- package/lib/components/enum-tag/src/index.vue.d.ts +32 -0
- package/lib/components/file-select/index.d.ts +2 -0
- package/lib/components/file-select/src/index.vue.d.ts +67 -0
- package/lib/components/filter/index.d.ts +2 -0
- package/lib/components/filter/src/index.vue.d.ts +268 -0
- package/lib/components/flex-text/index.d.ts +2 -0
- package/lib/components/flex-text/src/index.vue.d.ts +63 -0
- package/lib/components/form/index.d.ts +2 -0
- package/lib/components/form/src/index.vue.d.ts +248 -0
- package/lib/components/index.d.ts +28 -0
- package/lib/components/input/index.d.ts +2 -0
- package/lib/components/input/src/index.vue.d.ts +471 -0
- package/lib/components/input-number/index.d.ts +2 -0
- package/lib/components/input-number/src/index.vue.d.ts +522 -0
- package/lib/components/input-password/index.d.ts +2 -0
- package/lib/components/input-password/src/index.vue.d.ts +457 -0
- package/lib/components/mask-text/index.d.ts +2 -0
- package/lib/components/mask-text/src/index.vue.d.ts +30 -0
- package/lib/components/pagination/index.d.ts +2 -0
- package/lib/components/pagination/src/index.vue.d.ts +51 -0
- package/lib/components/radio-group/index.d.ts +2 -0
- package/lib/components/radio-group/src/CustomRadioGroup.vue.d.ts +63 -0
- package/lib/components/radio-group/src/FlexRadioGroup.vue.d.ts +43 -0
- package/lib/components/radio-group/src/index.vue.d.ts +94 -0
- package/lib/components/remote-cascader/index.d.ts +2 -0
- package/lib/components/remote-cascader/src/index.vue.d.ts +47 -0
- package/lib/components/remote-select/index.d.ts +4 -0
- package/lib/components/remote-select/src/DictSelect.vue.d.ts +176 -0
- package/lib/components/remote-select/src/EnumSelect.vue.d.ts +176 -0
- package/lib/components/remote-select/src/index.vue.d.ts +63 -0
- package/lib/components/remote-tree-select/index.d.ts +2 -0
- package/lib/components/remote-tree-select/src/index.vue.d.ts +52 -0
- package/lib/components/remote-tree-select/src/old.vue.d.ts +123 -0
- package/lib/components/search/index.d.ts +2 -0
- package/lib/components/search/src/index.vue.d.ts +33 -0
- package/lib/components/select/index.d.ts +2 -0
- package/lib/components/select/src/index.vue.d.ts +639 -0
- package/lib/components/table/index.d.ts +2 -0
- package/lib/components/table/src/index.vue.d.ts +643 -0
- package/lib/components/table/src/utils.d.ts +11 -0
- package/lib/components/tree-panel/index.d.ts +2 -0
- package/lib/components/tree-panel/src/index.vue.d.ts +994 -0
- package/lib/components/tree-select/index.d.ts +2 -0
- package/lib/components/tree-select/src/index.vue.d.ts +135 -0
- package/lib/components/upload/index.d.ts +3 -0
- package/lib/components/upload/src/ImageUpload.vue.d.ts +52 -0
- package/lib/components/upload/src/index.vue.d.ts +559 -0
- package/lib/constants/aria.d.ts +17 -0
- package/lib/constants/event.d.ts +3 -0
- package/lib/constants/index.d.ts +3 -0
- package/lib/constants/key.d.ts +1 -0
- package/lib/defaults.d.ts +5 -0
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/size-ob/index.d.ts +12 -0
- package/lib/hooks/index.d.ts +12 -0
- package/lib/hooks/use-dict-loader/index.d.ts +10 -0
- package/lib/hooks/use-enums/index.d.ts +5 -0
- package/lib/hooks/use-global-config/index.d.ts +22 -0
- package/lib/hooks/use-list/index.d.ts +57 -0
- package/lib/hooks/use-loader/index.d.ts +18 -0
- package/lib/hooks/use-locale/index.d.ts +16 -0
- package/lib/hooks/use-resettable/index.d.ts +4 -0
- package/lib/hooks/use-size/index.d.ts +8 -0
- package/lib/hooks/use-table/index.d.ts +19 -0
- package/lib/hooks/use-toast/index.d.ts +18 -0
- package/lib/hooks/use-upload-config/index.d.ts +24 -0
- package/lib/hooks/use-vmodel/index.d.ts +3 -0
- package/lib/index.d.ts +9 -0
- package/lib/locale/index.d.ts +8 -0
- package/lib/locale/lang/zh-cn.d.ts +9 -0
- package/lib/locales.d.ts +1 -0
- package/lib/make-installer.d.ts +6 -0
- package/lib/utils/array.d.ts +26 -0
- package/lib/utils/biz.d.ts +10 -0
- package/lib/utils/compress.d.ts +14 -0
- package/lib/utils/debounce.d.ts +13 -0
- package/lib/utils/dom/index.d.ts +1 -0
- package/lib/utils/enum.d.ts +22 -0
- package/lib/utils/format.d.ts +28 -0
- package/lib/utils/functions.d.ts +7 -0
- package/lib/utils/html.d.ts +12 -0
- package/lib/utils/index.d.ts +18 -0
- package/lib/utils/install.d.ts +4 -0
- package/lib/utils/object.d.ts +42 -0
- package/lib/utils/rand.d.ts +1 -0
- package/lib/utils/stream.d.ts +5 -0
- package/lib/utils/string.d.ts +4 -0
- package/lib/utils/timer.d.ts +17 -0
- package/lib/utils/tree.d.ts +44 -0
- package/lib/utils/types.d.ts +25 -0
- package/lib/utils/url.d.ts +9 -0
- package/lib/version.d.ts +1 -0
- package/package.json +85 -0
- package/theme-chalk/base.css +1 -0
- package/theme-chalk/dark/css-vars.css +0 -0
- package/theme-chalk/el-building.css +1 -0
- package/theme-chalk/el-cascader.css +1 -0
- package/theme-chalk/el-checkbox-group.css +1 -0
- package/theme-chalk/el-date-picker.css +1 -0
- package/theme-chalk/el-empty.css +1 -0
- package/theme-chalk/el-file-select.css +1 -0
- package/theme-chalk/el-filter.css +1 -0
- package/theme-chalk/el-flex-text.css +1 -0
- package/theme-chalk/el-form.css +1 -0
- package/theme-chalk/el-image-upload.css +1 -0
- package/theme-chalk/el-input-number.css +1 -0
- package/theme-chalk/el-mask-text.css +1 -0
- package/theme-chalk/el-radio-group.css +1 -0
- package/theme-chalk/el-search.css +1 -0
- package/theme-chalk/el-select.css +1 -0
- package/theme-chalk/el-table.css +1 -0
- package/theme-chalk/el-tree-panel.css +1 -0
- package/theme-chalk/el-tree-select.css +1 -0
- package/theme-chalk/el-upload.css +1 -0
- package/theme-chalk/index.css +1 -0
- package/theme-chalk/src/base.scss +11 -0
- package/theme-chalk/src/building.scss +6 -0
- package/theme-chalk/src/cascader.scss +36 -0
- package/theme-chalk/src/checkbox-group.scss +16 -0
- package/theme-chalk/src/dark/css-vars.scss +0 -0
- package/theme-chalk/src/date-picker.scss +40 -0
- package/theme-chalk/src/empty.scss +82 -0
- package/theme-chalk/src/file-select.scss +94 -0
- package/theme-chalk/src/filter.scss +119 -0
- package/theme-chalk/src/flex-text.scss +31 -0
- package/theme-chalk/src/form.scss +10 -0
- package/theme-chalk/src/image-upload.scss +25 -0
- package/theme-chalk/src/index.scss +20 -0
- package/theme-chalk/src/input-number.scss +16 -0
- package/theme-chalk/src/mask-text.scss +8 -0
- package/theme-chalk/src/radio-group.scss +204 -0
- package/theme-chalk/src/search.scss +5 -0
- package/theme-chalk/src/select.scss +14 -0
- package/theme-chalk/src/table.scss +24 -0
- package/theme-chalk/src/tree-panel.scss +113 -0
- package/theme-chalk/src/tree-select.scss +14 -0
- package/theme-chalk/src/upload.scss +86 -0
|
@@ -0,0 +1,559 @@
|
|
|
1
|
+
import { nextTick } from 'vue';
|
|
2
|
+
import type { IFileUploader, IUploadFile } from 'next-ui/es/hooks';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
modelValue?: IUploadFile[] | string[] | IUploadFile | string;
|
|
5
|
+
valueType?: 'string' | 'object';
|
|
6
|
+
multiple?: false;
|
|
7
|
+
limit?: number;
|
|
8
|
+
fileTypes?: string[] | string;
|
|
9
|
+
maxSize?: number;
|
|
10
|
+
uploading?: boolean;
|
|
11
|
+
action?: string;
|
|
12
|
+
listType?: 'text' | 'picture' | 'picture-card';
|
|
13
|
+
tips?: string;
|
|
14
|
+
fileUploader?: IFileUploader;
|
|
15
|
+
compressEnabled?: boolean;
|
|
16
|
+
compressOptions?: {
|
|
17
|
+
quality?: number;
|
|
18
|
+
mimeType?: string;
|
|
19
|
+
maxWidth?: number;
|
|
20
|
+
maxHeight?: number;
|
|
21
|
+
width?: number;
|
|
22
|
+
height?: number;
|
|
23
|
+
minWidth?: number;
|
|
24
|
+
minHeight?: number;
|
|
25
|
+
convertSize?: number;
|
|
26
|
+
loose?: boolean;
|
|
27
|
+
redressOrientation?: boolean;
|
|
28
|
+
};
|
|
29
|
+
validateEvent?: boolean;
|
|
30
|
+
};
|
|
31
|
+
declare function __VLS_template(): {
|
|
32
|
+
attrs: Partial<{}>;
|
|
33
|
+
slots: Partial<Record<number, (_: any) => any>> & {
|
|
34
|
+
default?(_: {}): any;
|
|
35
|
+
tip?(_: {}): any;
|
|
36
|
+
};
|
|
37
|
+
refs: {
|
|
38
|
+
uploadRef: ({
|
|
39
|
+
$: import("vue").ComponentInternalInstance;
|
|
40
|
+
$data: {};
|
|
41
|
+
$props: Partial<{
|
|
42
|
+
readonly data: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | ((new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)))[], unknown, unknown>;
|
|
43
|
+
readonly disabled: boolean;
|
|
44
|
+
readonly drag: boolean;
|
|
45
|
+
readonly multiple: boolean;
|
|
46
|
+
readonly name: string;
|
|
47
|
+
readonly onChange: (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
48
|
+
readonly onError: (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
49
|
+
readonly onProgress: (evt: import("element-plus/es/components/upload/src/upload").UploadProgressEvent, uploadFile: import("element-plus/es/components/upload/src/upload").UploadFile, uploadFiles: import("element-plus/es/components/upload/src/upload").UploadFiles) => void;
|
|
50
|
+
readonly action: string;
|
|
51
|
+
readonly withCredentials: boolean;
|
|
52
|
+
readonly method: string;
|
|
53
|
+
readonly showFileList: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
54
|
+
readonly accept: string;
|
|
55
|
+
readonly fileList: import("element-plus").UploadUserFile[];
|
|
56
|
+
readonly autoUpload: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
57
|
+
readonly listType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "picture" | "text" | "picture-card", unknown>;
|
|
58
|
+
readonly httpRequest: import("element-plus").UploadRequestHandler;
|
|
59
|
+
readonly beforeUpload: (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
60
|
+
readonly onRemove: (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
61
|
+
readonly onPreview: (uploadFile: import("element-plus").UploadFile) => void;
|
|
62
|
+
readonly onSuccess: (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
63
|
+
readonly onExceed: (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
64
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
65
|
+
readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
66
|
+
(): (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
67
|
+
new (): any;
|
|
68
|
+
readonly prototype: any;
|
|
69
|
+
} | ((new (...args: any[]) => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
70
|
+
(): (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
71
|
+
new (): any;
|
|
72
|
+
readonly prototype: any;
|
|
73
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
74
|
+
readonly beforeRemove: {
|
|
75
|
+
readonly type: import("vue").PropType<(uploadFile: import("element-plus/es/components/upload/src/upload").UploadFile, uploadFiles: import("element-plus/es/components/upload/src/upload").UploadFiles) => import("element-plus/es/utils").Awaitable<boolean>>;
|
|
76
|
+
readonly required: false;
|
|
77
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
|
+
__epPropKey: true;
|
|
79
|
+
};
|
|
80
|
+
readonly onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
81
|
+
(): (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
82
|
+
new (): any;
|
|
83
|
+
readonly prototype: any;
|
|
84
|
+
} | ((new (...args: any[]) => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
85
|
+
(): (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
86
|
+
new (): any;
|
|
87
|
+
readonly prototype: any;
|
|
88
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
89
|
+
readonly onChange: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
90
|
+
(): (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
91
|
+
new (): any;
|
|
92
|
+
readonly prototype: any;
|
|
93
|
+
} | ((new (...args: any[]) => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
94
|
+
(): (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
95
|
+
new (): any;
|
|
96
|
+
readonly prototype: any;
|
|
97
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
98
|
+
readonly onPreview: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("element-plus").UploadFile) => void) | (() => (uploadFile: import("element-plus").UploadFile) => void) | {
|
|
99
|
+
(): (uploadFile: import("element-plus").UploadFile) => void;
|
|
100
|
+
new (): any;
|
|
101
|
+
readonly prototype: any;
|
|
102
|
+
} | ((new (...args: any[]) => (uploadFile: import("element-plus").UploadFile) => void) | (() => (uploadFile: import("element-plus").UploadFile) => void) | {
|
|
103
|
+
(): (uploadFile: import("element-plus").UploadFile) => void;
|
|
104
|
+
new (): any;
|
|
105
|
+
readonly prototype: any;
|
|
106
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
107
|
+
readonly onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
108
|
+
(): (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
109
|
+
new (): any;
|
|
110
|
+
readonly prototype: any;
|
|
111
|
+
} | ((new (...args: any[]) => (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
112
|
+
(): (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
113
|
+
new (): any;
|
|
114
|
+
readonly prototype: any;
|
|
115
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
116
|
+
readonly onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
117
|
+
(): (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
118
|
+
new (): any;
|
|
119
|
+
readonly prototype: any;
|
|
120
|
+
} | ((new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
121
|
+
(): (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
122
|
+
new (): any;
|
|
123
|
+
readonly prototype: any;
|
|
124
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
125
|
+
readonly onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
126
|
+
(): (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
127
|
+
new (): any;
|
|
128
|
+
readonly prototype: any;
|
|
129
|
+
} | ((new (...args: any[]) => (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
130
|
+
(): (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
131
|
+
new (): any;
|
|
132
|
+
readonly prototype: any;
|
|
133
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
134
|
+
readonly onExceed: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | {
|
|
135
|
+
(): (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
136
|
+
new (): any;
|
|
137
|
+
readonly prototype: any;
|
|
138
|
+
} | ((new (...args: any[]) => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | {
|
|
139
|
+
(): (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
140
|
+
new (): any;
|
|
141
|
+
readonly prototype: any;
|
|
142
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
143
|
+
readonly crossorigin: {
|
|
144
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>>;
|
|
145
|
+
readonly required: false;
|
|
146
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
147
|
+
__epPropKey: true;
|
|
148
|
+
};
|
|
149
|
+
readonly action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;
|
|
150
|
+
readonly headers: {
|
|
151
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;
|
|
152
|
+
readonly required: false;
|
|
153
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
154
|
+
__epPropKey: true;
|
|
155
|
+
};
|
|
156
|
+
readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
157
|
+
readonly data: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | ((new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
158
|
+
readonly multiple: BooleanConstructor;
|
|
159
|
+
readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
|
|
160
|
+
readonly drag: BooleanConstructor;
|
|
161
|
+
readonly withCredentials: BooleanConstructor;
|
|
162
|
+
readonly showFileList: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
163
|
+
readonly accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
164
|
+
readonly fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]) | ((new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
|
|
165
|
+
readonly autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
166
|
+
readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
|
|
167
|
+
readonly httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
168
|
+
(): import("element-plus").UploadRequestHandler;
|
|
169
|
+
new (): any;
|
|
170
|
+
readonly prototype: any;
|
|
171
|
+
} | ((new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
172
|
+
(): import("element-plus").UploadRequestHandler;
|
|
173
|
+
new (): any;
|
|
174
|
+
readonly prototype: any;
|
|
175
|
+
})[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
|
|
176
|
+
readonly disabled: BooleanConstructor;
|
|
177
|
+
readonly limit: NumberConstructor;
|
|
178
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "drag" | "onChange" | "disabled" | "name" | "multiple" | "accept" | "fileList" | "onSuccess" | "onError" | "onProgress" | "action" | "listType" | "beforeUpload" | "onRemove" | "onPreview" | "onExceed" | "method" | "withCredentials" | "showFileList" | "autoUpload" | "httpRequest">;
|
|
179
|
+
$attrs: {
|
|
180
|
+
[x: string]: unknown;
|
|
181
|
+
};
|
|
182
|
+
$refs: {
|
|
183
|
+
[x: string]: unknown;
|
|
184
|
+
};
|
|
185
|
+
$slots: import("vue").Slots;
|
|
186
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
187
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
188
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
189
|
+
$el: any;
|
|
190
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
191
|
+
readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
192
|
+
(): (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
193
|
+
new (): any;
|
|
194
|
+
readonly prototype: any;
|
|
195
|
+
} | ((new (...args: any[]) => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
196
|
+
(): (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
197
|
+
new (): any;
|
|
198
|
+
readonly prototype: any;
|
|
199
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
200
|
+
readonly beforeRemove: {
|
|
201
|
+
readonly type: import("vue").PropType<(uploadFile: import("element-plus/es/components/upload/src/upload").UploadFile, uploadFiles: import("element-plus/es/components/upload/src/upload").UploadFiles) => import("element-plus/es/utils").Awaitable<boolean>>;
|
|
202
|
+
readonly required: false;
|
|
203
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
204
|
+
__epPropKey: true;
|
|
205
|
+
};
|
|
206
|
+
readonly onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
207
|
+
(): (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
208
|
+
new (): any;
|
|
209
|
+
readonly prototype: any;
|
|
210
|
+
} | ((new (...args: any[]) => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
211
|
+
(): (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
212
|
+
new (): any;
|
|
213
|
+
readonly prototype: any;
|
|
214
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
215
|
+
readonly onChange: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
216
|
+
(): (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
217
|
+
new (): any;
|
|
218
|
+
readonly prototype: any;
|
|
219
|
+
} | ((new (...args: any[]) => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
220
|
+
(): (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
221
|
+
new (): any;
|
|
222
|
+
readonly prototype: any;
|
|
223
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
224
|
+
readonly onPreview: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("element-plus").UploadFile) => void) | (() => (uploadFile: import("element-plus").UploadFile) => void) | {
|
|
225
|
+
(): (uploadFile: import("element-plus").UploadFile) => void;
|
|
226
|
+
new (): any;
|
|
227
|
+
readonly prototype: any;
|
|
228
|
+
} | ((new (...args: any[]) => (uploadFile: import("element-plus").UploadFile) => void) | (() => (uploadFile: import("element-plus").UploadFile) => void) | {
|
|
229
|
+
(): (uploadFile: import("element-plus").UploadFile) => void;
|
|
230
|
+
new (): any;
|
|
231
|
+
readonly prototype: any;
|
|
232
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
233
|
+
readonly onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
234
|
+
(): (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
235
|
+
new (): any;
|
|
236
|
+
readonly prototype: any;
|
|
237
|
+
} | ((new (...args: any[]) => (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
238
|
+
(): (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
239
|
+
new (): any;
|
|
240
|
+
readonly prototype: any;
|
|
241
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
242
|
+
readonly onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
243
|
+
(): (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
244
|
+
new (): any;
|
|
245
|
+
readonly prototype: any;
|
|
246
|
+
} | ((new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
247
|
+
(): (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
248
|
+
new (): any;
|
|
249
|
+
readonly prototype: any;
|
|
250
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
251
|
+
readonly onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
252
|
+
(): (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
253
|
+
new (): any;
|
|
254
|
+
readonly prototype: any;
|
|
255
|
+
} | ((new (...args: any[]) => (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
256
|
+
(): (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
257
|
+
new (): any;
|
|
258
|
+
readonly prototype: any;
|
|
259
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
260
|
+
readonly onExceed: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | {
|
|
261
|
+
(): (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
262
|
+
new (): any;
|
|
263
|
+
readonly prototype: any;
|
|
264
|
+
} | ((new (...args: any[]) => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | {
|
|
265
|
+
(): (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
266
|
+
new (): any;
|
|
267
|
+
readonly prototype: any;
|
|
268
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
269
|
+
readonly crossorigin: {
|
|
270
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>>;
|
|
271
|
+
readonly required: false;
|
|
272
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
273
|
+
__epPropKey: true;
|
|
274
|
+
};
|
|
275
|
+
readonly action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;
|
|
276
|
+
readonly headers: {
|
|
277
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;
|
|
278
|
+
readonly required: false;
|
|
279
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
280
|
+
__epPropKey: true;
|
|
281
|
+
};
|
|
282
|
+
readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
283
|
+
readonly data: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | ((new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
284
|
+
readonly multiple: BooleanConstructor;
|
|
285
|
+
readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
|
|
286
|
+
readonly drag: BooleanConstructor;
|
|
287
|
+
readonly withCredentials: BooleanConstructor;
|
|
288
|
+
readonly showFileList: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
289
|
+
readonly accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
290
|
+
readonly fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]) | ((new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
|
|
291
|
+
readonly autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
292
|
+
readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
|
|
293
|
+
readonly httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
294
|
+
(): import("element-plus").UploadRequestHandler;
|
|
295
|
+
new (): any;
|
|
296
|
+
readonly prototype: any;
|
|
297
|
+
} | ((new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
298
|
+
(): import("element-plus").UploadRequestHandler;
|
|
299
|
+
new (): any;
|
|
300
|
+
readonly prototype: any;
|
|
301
|
+
})[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
|
|
302
|
+
readonly disabled: BooleanConstructor;
|
|
303
|
+
readonly limit: NumberConstructor;
|
|
304
|
+
}>>, {
|
|
305
|
+
abort: (file: import("element-plus/es/components/upload/src/upload").UploadFile) => void;
|
|
306
|
+
submit: () => void;
|
|
307
|
+
clearFiles: (states?: import("element-plus/es/components/upload/src/upload").UploadStatus[]) => void;
|
|
308
|
+
handleStart: (rawFile: import("element-plus/es/components/upload/src/upload").UploadRawFile) => void;
|
|
309
|
+
handleRemove: (file: import("element-plus/es/components/upload/src/upload").UploadFile | import("element-plus/es/components/upload/src/upload").UploadRawFile, rawFile?: import("element-plus/es/components/upload/src/upload").UploadRawFile) => void;
|
|
310
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
311
|
+
readonly data: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | ((new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)))[], unknown, unknown>;
|
|
312
|
+
readonly disabled: boolean;
|
|
313
|
+
readonly drag: boolean;
|
|
314
|
+
readonly multiple: boolean;
|
|
315
|
+
readonly name: string;
|
|
316
|
+
readonly onChange: (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
317
|
+
readonly onError: (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
318
|
+
readonly onProgress: (evt: import("element-plus/es/components/upload/src/upload").UploadProgressEvent, uploadFile: import("element-plus/es/components/upload/src/upload").UploadFile, uploadFiles: import("element-plus/es/components/upload/src/upload").UploadFiles) => void;
|
|
319
|
+
readonly action: string;
|
|
320
|
+
readonly withCredentials: boolean;
|
|
321
|
+
readonly method: string;
|
|
322
|
+
readonly showFileList: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
323
|
+
readonly accept: string;
|
|
324
|
+
readonly fileList: import("element-plus").UploadUserFile[];
|
|
325
|
+
readonly autoUpload: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
326
|
+
readonly listType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "picture" | "text" | "picture-card", unknown>;
|
|
327
|
+
readonly httpRequest: import("element-plus").UploadRequestHandler;
|
|
328
|
+
readonly beforeUpload: (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
329
|
+
readonly onRemove: (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
330
|
+
readonly onPreview: (uploadFile: import("element-plus").UploadFile) => void;
|
|
331
|
+
readonly onSuccess: (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
332
|
+
readonly onExceed: (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
333
|
+
}> & {
|
|
334
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
335
|
+
created?: (() => void) | (() => void)[];
|
|
336
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
337
|
+
mounted?: (() => void) | (() => void)[];
|
|
338
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
339
|
+
updated?: (() => void) | (() => void)[];
|
|
340
|
+
activated?: (() => void) | (() => void)[];
|
|
341
|
+
deactivated?: (() => void) | (() => void)[];
|
|
342
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
343
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
344
|
+
destroyed?: (() => void) | (() => void)[];
|
|
345
|
+
unmounted?: (() => void) | (() => void)[];
|
|
346
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
347
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
348
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
349
|
+
};
|
|
350
|
+
$forceUpdate: () => void;
|
|
351
|
+
$nextTick: typeof nextTick;
|
|
352
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
353
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
354
|
+
readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
355
|
+
(): (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
356
|
+
new (): any;
|
|
357
|
+
readonly prototype: any;
|
|
358
|
+
} | ((new (...args: any[]) => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>) | (() => (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>) | {
|
|
359
|
+
(): (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
360
|
+
new (): any;
|
|
361
|
+
readonly prototype: any;
|
|
362
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
363
|
+
readonly beforeRemove: {
|
|
364
|
+
readonly type: import("vue").PropType<(uploadFile: import("element-plus/es/components/upload/src/upload").UploadFile, uploadFiles: import("element-plus/es/components/upload/src/upload").UploadFiles) => import("element-plus/es/utils").Awaitable<boolean>>;
|
|
365
|
+
readonly required: false;
|
|
366
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
367
|
+
__epPropKey: true;
|
|
368
|
+
};
|
|
369
|
+
readonly onRemove: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
370
|
+
(): (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
371
|
+
new (): any;
|
|
372
|
+
readonly prototype: any;
|
|
373
|
+
} | ((new (...args: any[]) => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
374
|
+
(): (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
375
|
+
new (): any;
|
|
376
|
+
readonly prototype: any;
|
|
377
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
378
|
+
readonly onChange: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
379
|
+
(): (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
380
|
+
new (): any;
|
|
381
|
+
readonly prototype: any;
|
|
382
|
+
} | ((new (...args: any[]) => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
383
|
+
(): (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
384
|
+
new (): any;
|
|
385
|
+
readonly prototype: any;
|
|
386
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
387
|
+
readonly onPreview: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (uploadFile: import("element-plus").UploadFile) => void) | (() => (uploadFile: import("element-plus").UploadFile) => void) | {
|
|
388
|
+
(): (uploadFile: import("element-plus").UploadFile) => void;
|
|
389
|
+
new (): any;
|
|
390
|
+
readonly prototype: any;
|
|
391
|
+
} | ((new (...args: any[]) => (uploadFile: import("element-plus").UploadFile) => void) | (() => (uploadFile: import("element-plus").UploadFile) => void) | {
|
|
392
|
+
(): (uploadFile: import("element-plus").UploadFile) => void;
|
|
393
|
+
new (): any;
|
|
394
|
+
readonly prototype: any;
|
|
395
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
396
|
+
readonly onSuccess: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
397
|
+
(): (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
398
|
+
new (): any;
|
|
399
|
+
readonly prototype: any;
|
|
400
|
+
} | ((new (...args: any[]) => (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
401
|
+
(): (response: any, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
402
|
+
new (): any;
|
|
403
|
+
readonly prototype: any;
|
|
404
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
405
|
+
readonly onProgress: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
406
|
+
(): (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
407
|
+
new (): any;
|
|
408
|
+
readonly prototype: any;
|
|
409
|
+
} | ((new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
410
|
+
(): (evt: import("element-plus").UploadProgressEvent, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
411
|
+
new (): any;
|
|
412
|
+
readonly prototype: any;
|
|
413
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
414
|
+
readonly onError: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
415
|
+
(): (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
416
|
+
new (): any;
|
|
417
|
+
readonly prototype: any;
|
|
418
|
+
} | ((new (...args: any[]) => (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | (() => (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void) | {
|
|
419
|
+
(): (error: Error, uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
420
|
+
new (): any;
|
|
421
|
+
readonly prototype: any;
|
|
422
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
423
|
+
readonly onExceed: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | {
|
|
424
|
+
(): (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
425
|
+
new (): any;
|
|
426
|
+
readonly prototype: any;
|
|
427
|
+
} | ((new (...args: any[]) => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | (() => (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | {
|
|
428
|
+
(): (files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void;
|
|
429
|
+
new (): any;
|
|
430
|
+
readonly prototype: any;
|
|
431
|
+
})[], unknown, unknown, () => void, boolean>;
|
|
432
|
+
readonly crossorigin: {
|
|
433
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials"))[], unknown, unknown>>;
|
|
434
|
+
readonly required: false;
|
|
435
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
436
|
+
__epPropKey: true;
|
|
437
|
+
};
|
|
438
|
+
readonly action: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;
|
|
439
|
+
readonly headers: {
|
|
440
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers))[], unknown, unknown>>;
|
|
441
|
+
readonly required: false;
|
|
442
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
443
|
+
__epPropKey: true;
|
|
444
|
+
};
|
|
445
|
+
readonly method: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
446
|
+
readonly data: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | ((new (...args: any[]) => import("element-plus/es/utils").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils").Awaitable<import("element-plus/es/utils").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils").Awaitable<import("element-plus").UploadData>)))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
447
|
+
readonly multiple: BooleanConstructor;
|
|
448
|
+
readonly name: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
|
|
449
|
+
readonly drag: BooleanConstructor;
|
|
450
|
+
readonly withCredentials: BooleanConstructor;
|
|
451
|
+
readonly showFileList: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
452
|
+
readonly accept: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
453
|
+
readonly fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]) | ((new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
|
|
454
|
+
readonly autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
455
|
+
readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
|
|
456
|
+
readonly httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
457
|
+
(): import("element-plus").UploadRequestHandler;
|
|
458
|
+
new (): any;
|
|
459
|
+
readonly prototype: any;
|
|
460
|
+
} | ((new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
461
|
+
(): import("element-plus").UploadRequestHandler;
|
|
462
|
+
new (): any;
|
|
463
|
+
readonly prototype: any;
|
|
464
|
+
})[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
|
|
465
|
+
readonly disabled: BooleanConstructor;
|
|
466
|
+
readonly limit: NumberConstructor;
|
|
467
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
|
468
|
+
abort: (file: import("element-plus/es/components/upload/src/upload").UploadFile) => void;
|
|
469
|
+
submit: () => void;
|
|
470
|
+
clearFiles: (states?: import("element-plus/es/components/upload/src/upload").UploadStatus[]) => void;
|
|
471
|
+
handleStart: (rawFile: import("element-plus/es/components/upload/src/upload").UploadRawFile) => void;
|
|
472
|
+
handleRemove: (file: import("element-plus/es/components/upload/src/upload").UploadFile | import("element-plus/es/components/upload/src/upload").UploadRawFile, rawFile?: import("element-plus/es/components/upload/src/upload").UploadRawFile) => void;
|
|
473
|
+
}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {
|
|
474
|
+
$slots: {
|
|
475
|
+
file?(_: {
|
|
476
|
+
file: import("element-plus/es/components/upload/src/upload").UploadFile;
|
|
477
|
+
index: number;
|
|
478
|
+
}): any;
|
|
479
|
+
file?(_: {
|
|
480
|
+
file: import("element-plus/es/components/upload/src/upload").UploadFile;
|
|
481
|
+
index: number;
|
|
482
|
+
}): any;
|
|
483
|
+
trigger?(_: {}): any;
|
|
484
|
+
trigger?(_: {}): any;
|
|
485
|
+
default?(_: {}): any;
|
|
486
|
+
default?(_: {}): any;
|
|
487
|
+
default?(_: {}): any;
|
|
488
|
+
tip?(_: {}): any;
|
|
489
|
+
};
|
|
490
|
+
}) | null;
|
|
491
|
+
};
|
|
492
|
+
rootEl: HTMLDivElement;
|
|
493
|
+
};
|
|
494
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
495
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
496
|
+
valueType: string;
|
|
497
|
+
multiple: boolean;
|
|
498
|
+
limit: number;
|
|
499
|
+
maxSize: number;
|
|
500
|
+
uploading: boolean;
|
|
501
|
+
action: string;
|
|
502
|
+
listType: string;
|
|
503
|
+
compressEnabled: boolean;
|
|
504
|
+
validateEvent: boolean;
|
|
505
|
+
}>, any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
506
|
+
change: (...args: any[]) => void;
|
|
507
|
+
"update:modelValue": (...args: any[]) => void;
|
|
508
|
+
"update:uploading": (...args: any[]) => void;
|
|
509
|
+
"update:isPreview": (...args: any[]) => void;
|
|
510
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
511
|
+
valueType: string;
|
|
512
|
+
multiple: boolean;
|
|
513
|
+
limit: number;
|
|
514
|
+
maxSize: number;
|
|
515
|
+
uploading: boolean;
|
|
516
|
+
action: string;
|
|
517
|
+
listType: string;
|
|
518
|
+
compressEnabled: boolean;
|
|
519
|
+
validateEvent: boolean;
|
|
520
|
+
}>>> & {
|
|
521
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
522
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
523
|
+
"onUpdate:uploading"?: ((...args: any[]) => any) | undefined;
|
|
524
|
+
"onUpdate:isPreview"?: ((...args: any[]) => any) | undefined;
|
|
525
|
+
}, {
|
|
526
|
+
validateEvent: boolean;
|
|
527
|
+
multiple: false;
|
|
528
|
+
maxSize: number;
|
|
529
|
+
limit: number;
|
|
530
|
+
valueType: "string" | "object";
|
|
531
|
+
uploading: boolean;
|
|
532
|
+
action: string;
|
|
533
|
+
listType: "text" | "picture" | "picture-card";
|
|
534
|
+
compressEnabled: boolean;
|
|
535
|
+
}>;
|
|
536
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
537
|
+
export default _default;
|
|
538
|
+
type __VLS_WithDefaults<P, D> = {
|
|
539
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
540
|
+
default: D[K];
|
|
541
|
+
}> : P[K];
|
|
542
|
+
};
|
|
543
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
544
|
+
type __VLS_TypePropsToOption<T> = {
|
|
545
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
546
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
547
|
+
} : {
|
|
548
|
+
type: import('vue').PropType<T[K]>;
|
|
549
|
+
required: true;
|
|
550
|
+
};
|
|
551
|
+
};
|
|
552
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
553
|
+
new (): {
|
|
554
|
+
$slots: S;
|
|
555
|
+
};
|
|
556
|
+
};
|
|
557
|
+
type __VLS_PrettifyLocal<T> = {
|
|
558
|
+
[K in keyof T]: T[K];
|
|
559
|
+
} & {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const EVENT_CODE: {
|
|
2
|
+
tab: string;
|
|
3
|
+
enter: string;
|
|
4
|
+
space: string;
|
|
5
|
+
left: string;
|
|
6
|
+
up: string;
|
|
7
|
+
right: string;
|
|
8
|
+
down: string;
|
|
9
|
+
esc: string;
|
|
10
|
+
delete: string;
|
|
11
|
+
backspace: string;
|
|
12
|
+
numpadEnter: string;
|
|
13
|
+
pageUp: string;
|
|
14
|
+
pageDown: string;
|
|
15
|
+
home: string;
|
|
16
|
+
end: string;
|
|
17
|
+
};
|