@vunk/form 2.19.0 → 2.19.2
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/components/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/components/api-tables-select/index.cjs +1 -1
- package/components/api-tables-select/index.mjs +1 -1
- package/components/api-tables-select/src/ctx.d.ts +16 -22
- package/components/api-tables-select/src/index.vue.d.ts +39 -43
- package/components/button/index.cjs +1 -1
- package/components/button/index.mjs +2 -3
- package/components/button/src/ctx.d.ts +7 -7
- package/components/button/src/index.vue.d.ts +64 -63
- package/components/card-input-collection/index.cjs +1 -1
- package/components/card-input-collection/index.mjs +9 -9
- package/components/card-input-collection/src/core.vue.d.ts +12 -8
- package/components/card-input-collection/src/ctx.d.ts +2 -2
- package/components/card-input-collection/src/index.vue.d.ts +7 -6
- package/components/cascader/src/ctx.d.ts +33 -25
- package/components/cascader/src/index.vue.d.ts +67 -50
- package/components/cascader/src/use.d.ts +1 -1
- package/components/checkbox/index.cjs +1 -1
- package/components/checkbox/index.mjs +4 -4
- package/components/checkbox/src/ctx.d.ts +19 -19
- package/components/checkbox/src/index.vue.d.ts +128 -127
- package/components/cloneDeep-DE0l40hv.mjs +486 -0
- package/components/cloneDeep-DaYwfXwD.js +1 -0
- package/components/color-picker/src/ctx.d.ts +22 -14
- package/components/color-picker/src/index.vue.d.ts +52 -32
- package/components/date-picker/src/ctx.d.ts +32 -24
- package/components/date-picker/src/index.vue.d.ts +68 -51
- package/components/date-picker-range/index.cjs +1 -1
- package/components/date-picker-range/index.mjs +1 -1
- package/components/date-picker-range/src/ctx.d.ts +23 -15
- package/components/date-picker-range/src/index.vue.d.ts +131 -98
- package/components/debounce-CliSPkvP.js +1 -0
- package/components/debounce-DIph5ENi.mjs +85 -0
- package/components/dialog/src/ctx.d.ts +5 -5
- package/components/dialog/src/index.vue.d.ts +18 -16
- package/components/dialog-input-collection/index.cjs +1 -1
- package/components/dialog-input-collection/index.mjs +11 -11
- package/components/dialog-input-collection/src/ctx.d.ts +4 -3
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +12 -8
- package/components/dialog-input-collection/src/index.vue.d.ts +13 -11
- package/components/dialog-input-collection/src/layout.vue.d.ts +8 -4
- package/components/download-plus/index.cjs +1 -1
- package/components/download-plus/index.mjs +24 -25
- package/components/download-plus/src/api.d.ts +1 -1
- package/components/download-plus/src/ctx.d.ts +4 -3
- package/components/download-plus/src/index.vue.d.ts +81 -78
- package/components/editable-text/index.cjs +1 -1
- package/components/editable-text/index.mjs +1 -1
- package/components/editable-text/src/ctx.d.ts +2 -6
- package/components/editable-text/src/index.vue.d.ts +14 -10
- package/components/el-slider/index.cjs +1 -1
- package/components/el-slider/index.mjs +5 -5
- package/components/el-slider/src/button.vue.d.ts +2 -1
- package/components/el-slider/src/composables/index.cjs +1 -1
- package/components/el-slider/src/composables/index.mjs +1 -1
- package/components/el-slider/src/composables/use-slide.d.ts +1 -1
- package/components/el-slider/src/composables/use-slider-button.d.ts +1 -1
- package/components/el-slider/src/composables/use-watch.d.ts +1 -1
- package/components/el-slider/src/slider-core.vue.d.ts +7 -6
- package/components/el-slider/src/slider.d.ts +2 -1
- package/components/esri-input-geojson/index.cjs +1 -1
- package/components/esri-input-geojson/index.mjs +42 -57
- package/components/esri-input-geojson/src/append.vue.d.ts +97 -96
- package/components/esri-input-geojson/src/ctx.d.ts +21 -22
- package/components/esri-input-geojson/src/default-view.vue.d.ts +7 -3
- package/components/esri-input-geojson/src/index.vue.d.ts +593 -186
- package/components/esri-input-geojson/src/types.d.ts +0 -1
- package/components/esri-input-geojson/src/viewer.vue.d.ts +406 -40
- package/components/fieldset/index.cjs +1 -1
- package/components/fieldset/index.mjs +3 -5
- package/components/fieldset/src/index.vue.d.ts +3 -2
- package/components/form/index.cjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/ctx.d.ts +1 -1
- package/components/form/src/index.vue.d.ts +68 -67
- package/components/form-item/index.cjs +1 -1
- package/components/form-item/index.mjs +7 -8
- package/components/form-item/src/core.vue.d.ts +12 -10
- package/components/form-item/src/ctx.d.ts +6 -4
- package/components/form-item/src/index.vue.d.ts +7 -6
- package/components/form-item-renderer/index.mjs +2 -3
- package/components/form-item-renderer/src/core.vue.d.ts +3 -2
- package/components/form-item-renderer/src/index.vue.d.ts +7 -5
- package/components/form-item-renderer-template/index.mjs +1 -2
- package/components/form-item-renderer-template/src/index.vue.d.ts +3 -2
- package/components/forms-provider/src/index.vue.d.ts +5 -2
- package/components/forms-provider/src/segment.vue.d.ts +7 -3
- package/components/forms-provider/src/view.vue.d.ts +11 -7
- package/components/index-BCZuzyeO.mjs +317 -0
- package/components/index-BNPcMpOO.js +1 -0
- package/components/index-DJv1MwwH.mjs +14 -0
- package/components/information/src/index.vue.d.ts +3 -2
- package/components/information-collection/src/ctx.d.ts +17 -11
- package/components/information-collection/src/index.vue.d.ts +36 -27
- package/components/information-renderer/index.d.ts +9 -9
- package/components/information-tag/src/ctx.d.ts +4 -3
- package/components/information-tag/src/index.vue.d.ts +12 -11
- package/components/information-templates-default/src/index.vue.d.ts +2 -1
- package/components/input/index.cjs +1 -1
- package/components/input/index.mjs +1 -1
- package/components/input/src/ctx.d.ts +20 -20
- package/components/input/src/index.vue.d.ts +70 -69
- package/components/input-array/index.cjs +1 -1
- package/components/input-array/index.mjs +2 -2
- package/components/input-array/src/ctx.d.ts +2 -2
- package/components/input-array/src/form-template.vue.d.ts +2 -1
- package/components/input-array/src/index.vue.d.ts +6 -5
- package/components/input-collection/index.cjs +1 -1
- package/components/input-collection/index.mjs +2 -2
- package/components/input-collection/src/core.vue.d.ts +17 -15
- package/components/input-collection/src/ctx.d.ts +4 -4
- package/components/input-collection/src/index.vue.d.ts +13 -12
- package/components/input-file/src/index.vue.d.ts +51 -50
- package/components/input-file/src/template.vue.d.ts +2 -1
- package/components/input-link/index.cjs +1 -1
- package/components/input-link/index.mjs +2 -2
- package/components/input-link/src/ctx.d.ts +19 -21
- package/components/input-link/src/index.vue.d.ts +111 -110
- package/components/input-number/index.cjs +1 -1
- package/components/input-number/index.mjs +1 -1
- package/components/input-number/src/ctx.d.ts +5 -5
- package/components/input-number/src/index.vue.d.ts +39 -38
- package/components/input-tag/index.cjs +1 -1
- package/components/input-tag/index.mjs +1 -1
- package/components/input-tag/src/ctx.d.ts +10 -10
- package/components/input-tag/src/index.vue.d.ts +48 -47
- package/components/isObject-DQpnfMRp.mjs +34 -0
- package/components/monaco-editor/index.cjs +1 -1
- package/components/monaco-editor/index.mjs +1 -1
- package/components/monaco-editor/src/ctx.d.ts +2 -2
- package/components/monaco-editor/src/index.vue.d.ts +17 -16
- package/components/radio/index.cjs +1 -1
- package/components/radio/index.mjs +3 -3
- package/components/radio/src/ctx.d.ts +3 -3
- package/components/radio/src/index.vue.d.ts +32 -31
- package/components/radio/src/option.vue.d.ts +12 -10
- package/components/radio/src/wraper.vue.d.ts +9 -8
- package/components/renderer-data/src/index.vue.d.ts +3 -2
- package/components/select/index.cjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/core.vue.d.ts +99 -239
- package/components/select/src/ctx.d.ts +23 -95
- package/components/select/src/index.vue.d.ts +76 -75
- package/components/select/src/options.vue.d.ts +3 -2
- package/components/slider/src/ctx.d.ts +10 -10
- package/components/slider/src/index.vue.d.ts +29 -25
- package/components/style.css +1 -1
- package/components/switch/src/ctx.d.ts +11 -11
- package/components/switch/src/index.vue.d.ts +24 -20
- package/components/tables-select/index.mjs +1 -2
- package/components/tables-select/src/ctx.d.ts +27 -43
- package/components/tables-select/src/index.vue.d.ts +57 -71
- package/components/template-instances-provider/src/index.vue.d.ts +3 -2
- package/components/templates-default/index.cjs +1 -1
- package/components/templates-default/index.mjs +1 -1
- package/components/templates-default/src/ctx.d.ts +3 -5
- package/components/templates-default/src/index.vue.d.ts +778 -727
- package/components/templates-element-plus/index.cjs +1 -1
- package/components/templates-element-plus/index.mjs +4 -4
- package/components/templates-element-plus/src/index.vue.d.ts +27 -26
- package/components/templates-esri/index.cjs +1 -1
- package/components/templates-esri/index.mjs +1 -1
- package/components/templates-esri/src/index.vue.d.ts +600 -193
- package/components/templates-layout/index.cjs +1 -1
- package/components/templates-layout/index.mjs +4 -4
- package/components/templates-layout/src/index.vue.d.ts +14 -13
- package/components/templates-variant/index.cjs +1 -1
- package/components/templates-variant/index.mjs +1 -1
- package/components/templates-variant/src/index.vue.d.ts +132 -99
- package/components/time-picker/src/ctx.d.ts +31 -23
- package/components/time-picker/src/index.vue.d.ts +66 -49
- package/components/upload/index.cjs +1 -1
- package/components/upload/index.mjs +46 -46
- package/components/upload/src/ctx.d.ts +24 -22
- package/components/upload/src/file.vue.d.ts +75 -73
- package/components/upload/src/index.vue.d.ts +188 -187
- package/components/upload/src/wraper.vue.d.ts +48 -47
- package/components/upload-plus/index.cjs +7 -7
- package/components/upload-plus/index.mjs +1911 -1937
- package/components/upload-plus/src/api.d.ts +1 -1
- package/components/upload-plus/src/ctx.d.ts +2 -5
- package/components/upload-plus/src/index.vue.d.ts +6 -5
- package/components/use-watch-Bfrz9pv_.js +1 -0
- package/components/use-watch-t49wP7jy.mjs +414 -0
- package/components/van-cascader/src/ctx.d.ts +33 -25
- package/components/van-cascader/src/index.vue.d.ts +67 -50
- package/components/var-datetime-picker/index.cjs +1 -1
- package/components/var-datetime-picker/index.mjs +19 -21
- package/components/var-datetime-picker/src/ctx.d.ts +4 -3
- package/components/var-datetime-picker/src/index.vue.d.ts +144 -179
- package/components/vditor/index.cjs +1 -1
- package/components/vditor/index.mjs +1 -1
- package/components/vditor/src/ctx.d.ts +2 -3
- package/components/vditor/src/index.vue.d.ts +19 -19
- package/composables/index.mjs +3 -5
- package/composables/useSourceManager.d.ts +2 -2
- package/index.css +1 -1
- package/package.json +1 -1
- package/shared/element-plus/instances.d.ts +60 -43
- package/components/cloneDeep.cjs +0 -1
- package/components/debounce.cjs +0 -1
- package/components/index2.cjs +0 -1
- package/components/use-watch.cjs +0 -1
- /package/components/{_plugin-vue_export-helper.cjs → _plugin-vue_export-helper-BHFhmbuH.js} +0 -0
- /package/components/{index.cjs → index-DSyxYMB0.js} +0 -0
- /package/components/{isObject.cjs → isObject-fAvOGw_H.js} +0 -0
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { UploadFile, UploadFiles } from 'element-plus';
|
|
2
2
|
import type { AnyFunc, Func } from '@vunk/core';
|
|
3
|
-
import type { UploadRawFile } from './types';
|
|
4
|
-
declare const _default:
|
|
3
|
+
import type { UploadRawFile, OnExceed } from './types';
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
5
|
+
export default _default;
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
7
|
tip: {
|
|
6
8
|
type: StringConstructor;
|
|
7
9
|
default: string;
|
|
@@ -16,11 +18,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
18
|
default: undefined;
|
|
17
19
|
};
|
|
18
20
|
onDownload: {
|
|
19
|
-
type: import("vue").PropType<
|
|
21
|
+
type: import("vue").PropType<Func<UploadFile>>;
|
|
20
22
|
default: undefined;
|
|
21
23
|
};
|
|
22
24
|
onExceed: {
|
|
23
|
-
type: import("vue").PropType<
|
|
25
|
+
type: import("vue").PropType<OnExceed>;
|
|
24
26
|
default: undefined;
|
|
25
27
|
};
|
|
26
28
|
exceedable: {
|
|
@@ -42,89 +44,89 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
42
44
|
(): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
43
45
|
new (): any;
|
|
44
46
|
readonly prototype: any;
|
|
45
|
-
} | ((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
47
|
+
} | (((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
46
48
|
(): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
47
49
|
new (): any;
|
|
48
50
|
readonly prototype: any;
|
|
49
|
-
} | null)[], unknown, unknown, () => void, boolean>;
|
|
51
|
+
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
50
52
|
onChange: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
51
53
|
(): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
52
54
|
new (): any;
|
|
53
55
|
readonly prototype: any;
|
|
54
|
-
} | ((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
56
|
+
} | (((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
55
57
|
(): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
56
58
|
new (): any;
|
|
57
59
|
readonly prototype: any;
|
|
58
|
-
} | null)[], unknown, unknown, () => void, boolean>;
|
|
60
|
+
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
59
61
|
onPreview: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
60
62
|
(): (uploadFile: UploadFile) => void;
|
|
61
63
|
new (): any;
|
|
62
64
|
readonly prototype: any;
|
|
63
|
-
} | ((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
65
|
+
} | (((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
64
66
|
(): (uploadFile: UploadFile) => void;
|
|
65
67
|
new (): any;
|
|
66
68
|
readonly prototype: any;
|
|
67
|
-
} | null)[], unknown, unknown, () => void, boolean>;
|
|
69
|
+
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
68
70
|
onSuccess: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
69
71
|
(): (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
70
72
|
new (): any;
|
|
71
73
|
readonly prototype: any;
|
|
72
|
-
} | ((new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
74
|
+
} | (((new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
73
75
|
(): (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
74
76
|
new (): any;
|
|
75
77
|
readonly prototype: any;
|
|
76
|
-
} | null)[], unknown, unknown, () => void, boolean>;
|
|
78
|
+
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
77
79
|
onProgress: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
78
80
|
(): (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
79
81
|
new (): any;
|
|
80
82
|
readonly prototype: any;
|
|
81
|
-
} | ((new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
83
|
+
} | (((new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
82
84
|
(): (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
83
85
|
new (): any;
|
|
84
86
|
readonly prototype: any;
|
|
85
|
-
} | null)[], unknown, unknown, () => void, boolean>;
|
|
87
|
+
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
86
88
|
onError: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
87
89
|
(): (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
88
90
|
new (): any;
|
|
89
91
|
readonly prototype: any;
|
|
90
|
-
} | ((new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
92
|
+
} | (((new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
91
93
|
(): (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
92
94
|
new (): any;
|
|
93
95
|
readonly prototype: any;
|
|
94
|
-
} | null)[], unknown, unknown, () => void, boolean>;
|
|
96
|
+
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
95
97
|
crossorigin: {
|
|
96
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | null)[], unknown, unknown>>;
|
|
98
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials")) | null)[], unknown, unknown>>;
|
|
97
99
|
readonly required: false;
|
|
98
100
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
101
|
__epPropKey: true;
|
|
100
102
|
};
|
|
101
103
|
action: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;
|
|
102
104
|
headers: {
|
|
103
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | null)[], unknown, unknown>>;
|
|
105
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | (((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers)) | null)[], unknown, unknown>>;
|
|
104
106
|
readonly required: false;
|
|
105
107
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
106
108
|
__epPropKey: true;
|
|
107
109
|
};
|
|
108
110
|
method: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
109
|
-
data: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus
|
|
111
|
+
data: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>)) | (((new (...args: any[]) => import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>))) | null)[], unknown, unknown, () => import("element-plus/es/utils/typescript.mjs").Mutable<{}>, boolean>;
|
|
110
112
|
multiple: BooleanConstructor;
|
|
111
113
|
name: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
|
|
112
114
|
drag: BooleanConstructor;
|
|
113
115
|
withCredentials: BooleanConstructor;
|
|
114
116
|
showFileList: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
115
117
|
accept: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
116
|
-
fileList: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]) | ((new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]) | null)[], unknown, unknown, () => [], boolean>;
|
|
118
|
+
fileList: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]) | (((new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
117
119
|
autoUpload: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
118
120
|
listType: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;
|
|
119
121
|
httpRequest: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
120
122
|
(): import("element-plus").UploadRequestHandler;
|
|
121
123
|
new (): any;
|
|
122
124
|
readonly prototype: any;
|
|
123
|
-
} | ((new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
125
|
+
} | (((new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
124
126
|
(): import("element-plus").UploadRequestHandler;
|
|
125
127
|
new (): any;
|
|
126
128
|
readonly prototype: any;
|
|
127
|
-
} | null)[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
|
|
129
|
+
}) | null)[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
|
|
128
130
|
disabled: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
129
131
|
limit: NumberConstructor;
|
|
130
132
|
directory: BooleanConstructor;
|
|
@@ -173,14 +175,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
173
175
|
};
|
|
174
176
|
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
175
177
|
rules: {
|
|
176
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | null)[], unknown, unknown>>;
|
|
178
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | (((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>)) | null)[], unknown, unknown>>;
|
|
177
179
|
readonly required: false;
|
|
178
180
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
179
181
|
__epPropKey: true;
|
|
180
182
|
};
|
|
181
183
|
error: StringConstructor;
|
|
182
184
|
validateStatus: {
|
|
183
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "
|
|
185
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
184
186
|
readonly required: false;
|
|
185
187
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
186
188
|
__epPropKey: true;
|
|
@@ -191,16 +193,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
191
193
|
}>, {
|
|
192
194
|
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
193
195
|
pickObject: <T extends import("@vunk/core").NormalObject, EX extends (keyof T)[], KI extends keyof T>(data: T, opts?: {
|
|
194
|
-
excludes?: EX
|
|
195
|
-
includes?: KI[]
|
|
196
|
-
}
|
|
196
|
+
excludes?: EX;
|
|
197
|
+
includes?: KI[];
|
|
198
|
+
}) => { [P in EX extends (infer KE)[] ? Exclude<KI, KE> : KI]: T[P]; };
|
|
197
199
|
coreBindProps: import("vue").ComputedRef<{
|
|
198
200
|
name: string;
|
|
199
201
|
onChange: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
200
202
|
onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
201
203
|
onProgress: (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
202
204
|
drag: boolean;
|
|
203
|
-
data: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus
|
|
205
|
+
data: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>)) | ((new (...args: any[]) => import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>)) | null)[], unknown, unknown>;
|
|
204
206
|
multiple: boolean;
|
|
205
207
|
onExceed: ((files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | undefined;
|
|
206
208
|
beforeRemove: ((uploadFile: UploadFile, uploadFiles: UploadFiles) => import("element-plus/es/utils/typescript.mjs").Awaitable<boolean>) | undefined;
|
|
@@ -256,11 +258,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
256
258
|
default: undefined;
|
|
257
259
|
};
|
|
258
260
|
onDownload: {
|
|
259
|
-
type: import("vue").PropType<
|
|
261
|
+
type: import("vue").PropType<Func<UploadFile>>;
|
|
260
262
|
default: undefined;
|
|
261
263
|
};
|
|
262
264
|
onExceed: {
|
|
263
|
-
type: import("vue").PropType<
|
|
265
|
+
type: import("vue").PropType<OnExceed>;
|
|
264
266
|
default: undefined;
|
|
265
267
|
};
|
|
266
268
|
exceedable: {
|
|
@@ -282,89 +284,89 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
282
284
|
(): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
283
285
|
new (): any;
|
|
284
286
|
readonly prototype: any;
|
|
285
|
-
} | ((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
287
|
+
} | (((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
286
288
|
(): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
287
289
|
new (): any;
|
|
288
290
|
readonly prototype: any;
|
|
289
|
-
} | null)[], unknown, unknown, () => void, boolean>;
|
|
291
|
+
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
290
292
|
onChange: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
291
293
|
(): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
292
294
|
new (): any;
|
|
293
295
|
readonly prototype: any;
|
|
294
|
-
} | ((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
296
|
+
} | (((new (...args: any[]) => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
295
297
|
(): (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
296
298
|
new (): any;
|
|
297
299
|
readonly prototype: any;
|
|
298
|
-
} | null)[], unknown, unknown, () => void, boolean>;
|
|
300
|
+
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
299
301
|
onPreview: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
300
302
|
(): (uploadFile: UploadFile) => void;
|
|
301
303
|
new (): any;
|
|
302
304
|
readonly prototype: any;
|
|
303
|
-
} | ((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
305
|
+
} | (((new (...args: any[]) => (uploadFile: UploadFile) => void) | (() => (uploadFile: UploadFile) => void) | {
|
|
304
306
|
(): (uploadFile: UploadFile) => void;
|
|
305
307
|
new (): any;
|
|
306
308
|
readonly prototype: any;
|
|
307
|
-
} | null)[], unknown, unknown, () => void, boolean>;
|
|
309
|
+
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
308
310
|
onSuccess: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
309
311
|
(): (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
310
312
|
new (): any;
|
|
311
313
|
readonly prototype: any;
|
|
312
|
-
} | ((new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
314
|
+
} | (((new (...args: any[]) => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
313
315
|
(): (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
314
316
|
new (): any;
|
|
315
317
|
readonly prototype: any;
|
|
316
|
-
} | null)[], unknown, unknown, () => void, boolean>;
|
|
318
|
+
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
317
319
|
onProgress: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
318
320
|
(): (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
319
321
|
new (): any;
|
|
320
322
|
readonly prototype: any;
|
|
321
|
-
} | ((new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
323
|
+
} | (((new (...args: any[]) => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
322
324
|
(): (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
323
325
|
new (): any;
|
|
324
326
|
readonly prototype: any;
|
|
325
|
-
} | null)[], unknown, unknown, () => void, boolean>;
|
|
327
|
+
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
326
328
|
onError: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
327
329
|
(): (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
328
330
|
new (): any;
|
|
329
331
|
readonly prototype: any;
|
|
330
|
-
} | ((new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
332
|
+
} | (((new (...args: any[]) => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | (() => (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void) | {
|
|
331
333
|
(): (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
332
334
|
new (): any;
|
|
333
335
|
readonly prototype: any;
|
|
334
|
-
} | null)[], unknown, unknown, () => void, boolean>;
|
|
336
|
+
}) | null)[], unknown, unknown, () => void, boolean>;
|
|
335
337
|
crossorigin: {
|
|
336
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | null)[], unknown, unknown>>;
|
|
338
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials") | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => "" | "anonymous" | "use-credentials")) | null)[], unknown, unknown>>;
|
|
337
339
|
readonly required: false;
|
|
338
340
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
339
341
|
__epPropKey: true;
|
|
340
342
|
};
|
|
341
343
|
action: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "#", boolean>;
|
|
342
344
|
headers: {
|
|
343
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | ((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | null)[], unknown, unknown>>;
|
|
345
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers) | (((new (...args: any[]) => Record<string, any> | Headers) | (() => Record<string, any> | Headers)) | null)[], unknown, unknown>>;
|
|
344
346
|
readonly required: false;
|
|
345
347
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
346
348
|
__epPropKey: true;
|
|
347
349
|
};
|
|
348
350
|
method: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "post", boolean>;
|
|
349
|
-
data: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus
|
|
351
|
+
data: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>)) | (((new (...args: any[]) => import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>))) | null)[], unknown, unknown, () => import("element-plus/es/utils/typescript.mjs").Mutable<{}>, boolean>;
|
|
350
352
|
multiple: BooleanConstructor;
|
|
351
353
|
name: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "file", boolean>;
|
|
352
354
|
drag: BooleanConstructor;
|
|
353
355
|
withCredentials: BooleanConstructor;
|
|
354
356
|
showFileList: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
355
357
|
accept: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
356
|
-
fileList: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]) | ((new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]) | null)[], unknown, unknown, () => [], boolean>;
|
|
358
|
+
fileList: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]) | (((new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
357
359
|
autoUpload: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
358
360
|
listType: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "text" | "picture" | "picture-card", unknown, "text", boolean>;
|
|
359
361
|
httpRequest: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
360
362
|
(): import("element-plus").UploadRequestHandler;
|
|
361
363
|
new (): any;
|
|
362
364
|
readonly prototype: any;
|
|
363
|
-
} | ((new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
365
|
+
} | (((new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
364
366
|
(): import("element-plus").UploadRequestHandler;
|
|
365
367
|
new (): any;
|
|
366
368
|
readonly prototype: any;
|
|
367
|
-
} | null)[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
|
|
369
|
+
}) | null)[], unknown, unknown, import("element-plus").UploadRequestHandler, boolean>;
|
|
368
370
|
disabled: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
369
371
|
limit: NumberConstructor;
|
|
370
372
|
directory: BooleanConstructor;
|
|
@@ -413,14 +415,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
413
415
|
};
|
|
414
416
|
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
415
417
|
rules: {
|
|
416
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | null)[], unknown, unknown>>;
|
|
418
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | (((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>)) | null)[], unknown, unknown>>;
|
|
417
419
|
readonly required: false;
|
|
418
420
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
419
421
|
__epPropKey: true;
|
|
420
422
|
};
|
|
421
423
|
error: StringConstructor;
|
|
422
424
|
validateStatus: {
|
|
423
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "
|
|
425
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
424
426
|
readonly required: false;
|
|
425
427
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
426
428
|
__epPropKey: true;
|
|
@@ -449,7 +451,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
449
451
|
onError: (error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
450
452
|
onProgress: (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
451
453
|
drag: boolean;
|
|
452
|
-
data: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus
|
|
454
|
+
data: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>)) | ((new (...args: any[]) => import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>> | Promise<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>)) | (() => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus/es/utils/typescript.mjs").Mutable<Record<string, any>>> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>)) | null)[], unknown, unknown>;
|
|
453
455
|
multiple: boolean;
|
|
454
456
|
onExceed: ((files: File[], uploadFiles: import("element-plus").UploadUserFile[]) => void) | undefined;
|
|
455
457
|
tip: string;
|
|
@@ -518,14 +520,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
518
520
|
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
519
521
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
520
522
|
rules: {
|
|
521
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | null)[], unknown, unknown>>;
|
|
523
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | (((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>)) | null)[], unknown, unknown>>;
|
|
522
524
|
readonly required: false;
|
|
523
525
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
524
526
|
__epPropKey: true;
|
|
525
527
|
};
|
|
526
528
|
error: StringConstructor;
|
|
527
529
|
validateStatus: {
|
|
528
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "
|
|
530
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
529
531
|
readonly required: false;
|
|
530
532
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
531
533
|
__epPropKey: true;
|
|
@@ -587,14 +589,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
587
589
|
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
588
590
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
589
591
|
rules: {
|
|
590
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | null)[], unknown, unknown>>;
|
|
592
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | (((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>)) | null)[], unknown, unknown>>;
|
|
591
593
|
readonly required: false;
|
|
592
594
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
593
595
|
__epPropKey: true;
|
|
594
596
|
};
|
|
595
597
|
error: StringConstructor;
|
|
596
598
|
validateStatus: {
|
|
597
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "
|
|
599
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
598
600
|
readonly required: false;
|
|
599
601
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
600
602
|
__epPropKey: true;
|
|
@@ -623,23 +625,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
623
625
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
624
626
|
ElUpload: import("element-plus/es/utils/index.mjs").SFCWithInstall<{
|
|
625
627
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("element-plus").UploadProps> & Readonly<{}>, {
|
|
626
|
-
abort: (file?: UploadFile
|
|
628
|
+
abort: (file?: UploadFile) => void;
|
|
627
629
|
submit: () => void;
|
|
628
|
-
clearFiles: (states?: import("element-plus").UploadStatus[]
|
|
630
|
+
clearFiles: (states?: import("element-plus").UploadStatus[]) => void;
|
|
629
631
|
handleStart: (rawFile: import("element-plus").UploadRawFile) => void;
|
|
630
|
-
handleRemove: (file: import("element-plus").UploadRawFile
|
|
632
|
+
handleRemove: (file: UploadFile | import("element-plus").UploadRawFile) => void;
|
|
631
633
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
632
634
|
disabled: boolean;
|
|
633
635
|
name: string;
|
|
634
|
-
onChange: (
|
|
635
|
-
onError: (
|
|
636
|
-
onProgress:
|
|
637
|
-
data: import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus
|
|
638
|
-
beforeUpload:
|
|
639
|
-
onRemove: (
|
|
640
|
-
onPreview: (
|
|
641
|
-
onSuccess: (
|
|
642
|
-
onExceed:
|
|
636
|
+
onChange: import("element-plus").UploadHooks["onChange"];
|
|
637
|
+
onError: import("element-plus").UploadHooks["onError"];
|
|
638
|
+
onProgress: import("element-plus").UploadHooks["onProgress"];
|
|
639
|
+
data: import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>);
|
|
640
|
+
beforeUpload: import("element-plus").UploadHooks["beforeUpload"];
|
|
641
|
+
onRemove: import("element-plus").UploadHooks["onRemove"];
|
|
642
|
+
onPreview: import("element-plus").UploadHooks["onPreview"];
|
|
643
|
+
onSuccess: import("element-plus").UploadHooks["onSuccess"];
|
|
644
|
+
onExceed: import("element-plus").UploadHooks["onExceed"];
|
|
643
645
|
action: string;
|
|
644
646
|
method: string;
|
|
645
647
|
showFileList: boolean;
|
|
@@ -656,23 +658,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
656
658
|
M: {};
|
|
657
659
|
Defaults: {};
|
|
658
660
|
}, Readonly<import("element-plus").UploadProps> & Readonly<{}>, {
|
|
659
|
-
abort: (file?: UploadFile
|
|
661
|
+
abort: (file?: UploadFile) => void;
|
|
660
662
|
submit: () => void;
|
|
661
|
-
clearFiles: (states?: import("element-plus").UploadStatus[]
|
|
663
|
+
clearFiles: (states?: import("element-plus").UploadStatus[]) => void;
|
|
662
664
|
handleStart: (rawFile: import("element-plus").UploadRawFile) => void;
|
|
663
|
-
handleRemove: (file: import("element-plus").UploadRawFile
|
|
665
|
+
handleRemove: (file: UploadFile | import("element-plus").UploadRawFile) => void;
|
|
664
666
|
}, {}, {}, {}, {
|
|
665
667
|
disabled: boolean;
|
|
666
668
|
name: string;
|
|
667
|
-
onChange: (
|
|
668
|
-
onError: (
|
|
669
|
-
onProgress:
|
|
670
|
-
data: import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus
|
|
671
|
-
beforeUpload:
|
|
672
|
-
onRemove: (
|
|
673
|
-
onPreview: (
|
|
674
|
-
onSuccess: (
|
|
675
|
-
onExceed:
|
|
669
|
+
onChange: import("element-plus").UploadHooks["onChange"];
|
|
670
|
+
onError: import("element-plus").UploadHooks["onError"];
|
|
671
|
+
onProgress: import("element-plus").UploadHooks["onProgress"];
|
|
672
|
+
data: import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>);
|
|
673
|
+
beforeUpload: import("element-plus").UploadHooks["beforeUpload"];
|
|
674
|
+
onRemove: import("element-plus").UploadHooks["onRemove"];
|
|
675
|
+
onPreview: import("element-plus").UploadHooks["onPreview"];
|
|
676
|
+
onSuccess: import("element-plus").UploadHooks["onSuccess"];
|
|
677
|
+
onExceed: import("element-plus").UploadHooks["onExceed"];
|
|
676
678
|
action: string;
|
|
677
679
|
method: string;
|
|
678
680
|
showFileList: boolean;
|
|
@@ -682,27 +684,27 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
682
684
|
listType: import("element-plus").ListType;
|
|
683
685
|
httpRequest: import("element-plus").UploadRequestHandler;
|
|
684
686
|
}>;
|
|
685
|
-
__isFragment?:
|
|
686
|
-
__isTeleport?:
|
|
687
|
-
__isSuspense?:
|
|
687
|
+
__isFragment?: never;
|
|
688
|
+
__isTeleport?: never;
|
|
689
|
+
__isSuspense?: never;
|
|
688
690
|
} & import("vue").ComponentOptionsBase<Readonly<import("element-plus").UploadProps> & Readonly<{}>, {
|
|
689
|
-
abort: (file?: UploadFile
|
|
691
|
+
abort: (file?: UploadFile) => void;
|
|
690
692
|
submit: () => void;
|
|
691
|
-
clearFiles: (states?: import("element-plus").UploadStatus[]
|
|
693
|
+
clearFiles: (states?: import("element-plus").UploadStatus[]) => void;
|
|
692
694
|
handleStart: (rawFile: import("element-plus").UploadRawFile) => void;
|
|
693
|
-
handleRemove: (file: import("element-plus").UploadRawFile
|
|
695
|
+
handleRemove: (file: UploadFile | import("element-plus").UploadRawFile) => void;
|
|
694
696
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
695
697
|
disabled: boolean;
|
|
696
698
|
name: string;
|
|
697
|
-
onChange: (
|
|
698
|
-
onError: (
|
|
699
|
-
onProgress:
|
|
700
|
-
data: import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus
|
|
701
|
-
beforeUpload:
|
|
702
|
-
onRemove: (
|
|
703
|
-
onPreview: (
|
|
704
|
-
onSuccess: (
|
|
705
|
-
onExceed:
|
|
699
|
+
onChange: import("element-plus").UploadHooks["onChange"];
|
|
700
|
+
onError: import("element-plus").UploadHooks["onError"];
|
|
701
|
+
onProgress: import("element-plus").UploadHooks["onProgress"];
|
|
702
|
+
data: import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData> | ((rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript.mjs").Awaitable<import("element-plus").UploadData>);
|
|
703
|
+
beforeUpload: import("element-plus").UploadHooks["beforeUpload"];
|
|
704
|
+
onRemove: import("element-plus").UploadHooks["onRemove"];
|
|
705
|
+
onPreview: import("element-plus").UploadHooks["onPreview"];
|
|
706
|
+
onSuccess: import("element-plus").UploadHooks["onSuccess"];
|
|
707
|
+
onExceed: import("element-plus").UploadHooks["onExceed"];
|
|
706
708
|
action: string;
|
|
707
709
|
method: string;
|
|
708
710
|
showFileList: boolean;
|
|
@@ -713,32 +715,32 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
713
715
|
httpRequest: import("element-plus").UploadRequestHandler;
|
|
714
716
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
715
717
|
$slots: {
|
|
716
|
-
file?: (
|
|
718
|
+
file?: (props: {
|
|
717
719
|
file: UploadFile;
|
|
718
720
|
index: number;
|
|
719
|
-
}) => any
|
|
721
|
+
}) => any;
|
|
720
722
|
} & {
|
|
721
|
-
trigger?: (
|
|
723
|
+
trigger?: (props: {}) => any;
|
|
722
724
|
} & {
|
|
723
|
-
default?: (
|
|
725
|
+
default?: (props: {}) => any;
|
|
724
726
|
} & {
|
|
725
|
-
trigger?: (
|
|
727
|
+
trigger?: (props: {}) => any;
|
|
726
728
|
} & {
|
|
727
|
-
default?: (
|
|
729
|
+
default?: (props: {}) => any;
|
|
728
730
|
} & {
|
|
729
|
-
default?: (
|
|
731
|
+
default?: (props: {}) => any;
|
|
730
732
|
} & {
|
|
731
|
-
tip?: (
|
|
733
|
+
tip?: (props: {}) => any;
|
|
732
734
|
} & {
|
|
733
|
-
file?: (
|
|
735
|
+
file?: (props: {
|
|
734
736
|
file: UploadFile;
|
|
735
737
|
index: number;
|
|
736
|
-
}) => any
|
|
738
|
+
}) => any;
|
|
737
739
|
};
|
|
738
740
|
})>;
|
|
739
741
|
FileVue: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
740
742
|
listType: {
|
|
741
|
-
type: import("vue").PropType<"
|
|
743
|
+
type: import("vue").PropType<"picture" | "picture-card" | "text">;
|
|
742
744
|
default: string;
|
|
743
745
|
};
|
|
744
746
|
file: {
|
|
@@ -750,11 +752,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
750
752
|
default: boolean;
|
|
751
753
|
};
|
|
752
754
|
onPreview: {
|
|
753
|
-
type: import("vue").PropType<
|
|
755
|
+
type: import("vue").PropType<Func<UploadFile>>;
|
|
754
756
|
default: () => () => void;
|
|
755
757
|
};
|
|
756
758
|
onDownload: {
|
|
757
|
-
type: import("vue").PropType<
|
|
759
|
+
type: import("vue").PropType<Func<UploadFile>>;
|
|
758
760
|
default: undefined;
|
|
759
761
|
};
|
|
760
762
|
preview: {
|
|
@@ -769,13 +771,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
769
771
|
handleRemove: (file?: UploadFile) => void;
|
|
770
772
|
nsIcon: {
|
|
771
773
|
namespace: import("vue").ComputedRef<string>;
|
|
772
|
-
b: (blockSuffix?: string
|
|
773
|
-
e: (element?: string
|
|
774
|
-
m: (modifier?: string
|
|
775
|
-
be: (blockSuffix?: string
|
|
776
|
-
em: (element?: string
|
|
777
|
-
bm: (blockSuffix?: string
|
|
778
|
-
bem: (blockSuffix?: string
|
|
774
|
+
b: (blockSuffix?: string) => string;
|
|
775
|
+
e: (element?: string) => string;
|
|
776
|
+
m: (modifier?: string) => string;
|
|
777
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
778
|
+
em: (element?: string, modifier?: string) => string;
|
|
779
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
780
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
779
781
|
is: {
|
|
780
782
|
(name: string, state: boolean | undefined): string;
|
|
781
783
|
(name: string): string;
|
|
@@ -787,13 +789,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
787
789
|
};
|
|
788
790
|
nsUpload: {
|
|
789
791
|
namespace: import("vue").ComputedRef<string>;
|
|
790
|
-
b: (blockSuffix?: string
|
|
791
|
-
e: (element?: string
|
|
792
|
-
m: (modifier?: string
|
|
793
|
-
be: (blockSuffix?: string
|
|
794
|
-
em: (element?: string
|
|
795
|
-
bm: (blockSuffix?: string
|
|
796
|
-
bem: (blockSuffix?: string
|
|
792
|
+
b: (blockSuffix?: string) => string;
|
|
793
|
+
e: (element?: string) => string;
|
|
794
|
+
m: (modifier?: string) => string;
|
|
795
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
796
|
+
em: (element?: string, modifier?: string) => string;
|
|
797
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
798
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
797
799
|
is: {
|
|
798
800
|
(name: string, state: boolean | undefined): string;
|
|
799
801
|
(name: string): string;
|
|
@@ -812,7 +814,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
812
814
|
remove: (e: UploadFile) => UploadFile;
|
|
813
815
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
814
816
|
listType: {
|
|
815
|
-
type: import("vue").PropType<"
|
|
817
|
+
type: import("vue").PropType<"picture" | "picture-card" | "text">;
|
|
816
818
|
default: string;
|
|
817
819
|
};
|
|
818
820
|
file: {
|
|
@@ -824,11 +826,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
824
826
|
default: boolean;
|
|
825
827
|
};
|
|
826
828
|
onPreview: {
|
|
827
|
-
type: import("vue").PropType<
|
|
829
|
+
type: import("vue").PropType<Func<UploadFile>>;
|
|
828
830
|
default: () => () => void;
|
|
829
831
|
};
|
|
830
832
|
onDownload: {
|
|
831
|
-
type: import("vue").PropType<
|
|
833
|
+
type: import("vue").PropType<Func<UploadFile>>;
|
|
832
834
|
default: undefined;
|
|
833
835
|
};
|
|
834
836
|
preview: {
|
|
@@ -855,11 +857,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
855
857
|
type: "line" | "circle" | "dashboard";
|
|
856
858
|
color: string | import("element-plus").ProgressColor[] | import("element-plus").ProgressFn;
|
|
857
859
|
width: number;
|
|
858
|
-
strokeLinecap: NonNullable<"
|
|
860
|
+
strokeLinecap: NonNullable<import("vue").SVGAttributes["stroke-linecap"]>;
|
|
859
861
|
strokeWidth: number;
|
|
860
862
|
format: import("element-plus").ProgressFn;
|
|
861
863
|
percentage: number;
|
|
862
|
-
status: "" | "success" | "
|
|
864
|
+
status: "" | "success" | "exception" | "warning";
|
|
863
865
|
duration: number;
|
|
864
866
|
showText: boolean;
|
|
865
867
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -873,37 +875,37 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
873
875
|
type: "line" | "circle" | "dashboard";
|
|
874
876
|
color: string | import("element-plus").ProgressColor[] | import("element-plus").ProgressFn;
|
|
875
877
|
width: number;
|
|
876
|
-
strokeLinecap: NonNullable<"
|
|
878
|
+
strokeLinecap: NonNullable<import("vue").SVGAttributes["stroke-linecap"]>;
|
|
877
879
|
strokeWidth: number;
|
|
878
880
|
format: import("element-plus").ProgressFn;
|
|
879
881
|
percentage: number;
|
|
880
|
-
status: "" | "success" | "
|
|
882
|
+
status: "" | "success" | "exception" | "warning";
|
|
881
883
|
duration: number;
|
|
882
884
|
showText: boolean;
|
|
883
885
|
}>;
|
|
884
|
-
__isFragment?:
|
|
885
|
-
__isTeleport?:
|
|
886
|
-
__isSuspense?:
|
|
886
|
+
__isFragment?: never;
|
|
887
|
+
__isTeleport?: never;
|
|
888
|
+
__isSuspense?: never;
|
|
887
889
|
} & import("vue").ComponentOptionsBase<Readonly<import("element-plus").ProgressProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
888
890
|
type: "line" | "circle" | "dashboard";
|
|
889
891
|
color: string | import("element-plus").ProgressColor[] | import("element-plus").ProgressFn;
|
|
890
892
|
width: number;
|
|
891
|
-
strokeLinecap: NonNullable<"
|
|
893
|
+
strokeLinecap: NonNullable<import("vue").SVGAttributes["stroke-linecap"]>;
|
|
892
894
|
strokeWidth: number;
|
|
893
895
|
format: import("element-plus").ProgressFn;
|
|
894
896
|
percentage: number;
|
|
895
|
-
status: "" | "success" | "
|
|
897
|
+
status: "" | "success" | "exception" | "warning";
|
|
896
898
|
duration: number;
|
|
897
899
|
showText: boolean;
|
|
898
900
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
899
901
|
$slots: {
|
|
900
|
-
default?: (
|
|
902
|
+
default?: (props: {
|
|
901
903
|
percentage: number;
|
|
902
|
-
}) => any
|
|
904
|
+
}) => any;
|
|
903
905
|
} & {
|
|
904
|
-
default?: (
|
|
906
|
+
default?: (props: {
|
|
905
907
|
percentage: number;
|
|
906
|
-
}) => any
|
|
908
|
+
}) => any;
|
|
907
909
|
};
|
|
908
910
|
})>;
|
|
909
911
|
ElIcon: import("element-plus/es/utils/index.mjs").SFCWithInstall<{
|
|
@@ -915,12 +917,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
915
917
|
M: {};
|
|
916
918
|
Defaults: {};
|
|
917
919
|
}, Readonly<import("element-plus").IconProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
918
|
-
__isFragment?:
|
|
919
|
-
__isTeleport?:
|
|
920
|
-
__isSuspense?:
|
|
920
|
+
__isFragment?: never;
|
|
921
|
+
__isTeleport?: never;
|
|
922
|
+
__isSuspense?: never;
|
|
921
923
|
} & import("vue").ComponentOptionsBase<Readonly<import("element-plus").IconProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
922
924
|
$slots: {
|
|
923
|
-
default?: (
|
|
925
|
+
default?: (props: {}) => any;
|
|
924
926
|
};
|
|
925
927
|
})>;
|
|
926
928
|
Check: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -936,7 +938,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
936
938
|
}>, {
|
|
937
939
|
ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
938
940
|
size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
939
|
-
type: import("vue").ComputedRef<"" | "
|
|
941
|
+
type: import("vue").ComputedRef<"" | "text" | "default" | "info" | "primary" | "success" | "warning" | "danger">;
|
|
940
942
|
disabled: import("vue").ComputedRef<boolean>;
|
|
941
943
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
942
944
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -944,14 +946,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
944
946
|
}, import("vue").PublicProps, {
|
|
945
947
|
text: boolean;
|
|
946
948
|
disabled: boolean;
|
|
947
|
-
type: ""
|
|
949
|
+
type: import("element-plus").ButtonType;
|
|
948
950
|
round: boolean;
|
|
949
951
|
dashed: boolean;
|
|
950
|
-
nativeType: "
|
|
952
|
+
nativeType: import("element-plus").ButtonNativeType;
|
|
951
953
|
loadingIcon: import("element-plus/es/utils/index.mjs").IconPropType;
|
|
952
954
|
plain: boolean;
|
|
953
955
|
autoInsertSpace: boolean;
|
|
954
|
-
tag: string | import("vue").Component
|
|
956
|
+
tag: string | import("vue").Component;
|
|
955
957
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
956
958
|
P: {};
|
|
957
959
|
B: {};
|
|
@@ -964,30 +966,30 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
964
966
|
}>, {
|
|
965
967
|
ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
966
968
|
size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
967
|
-
type: import("vue").ComputedRef<"" | "
|
|
969
|
+
type: import("vue").ComputedRef<"" | "text" | "default" | "info" | "primary" | "success" | "warning" | "danger">;
|
|
968
970
|
disabled: import("vue").ComputedRef<boolean>;
|
|
969
971
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
970
972
|
}, {}, {}, {}, {
|
|
971
973
|
text: boolean;
|
|
972
974
|
disabled: boolean;
|
|
973
|
-
type: ""
|
|
975
|
+
type: import("element-plus").ButtonType;
|
|
974
976
|
round: boolean;
|
|
975
977
|
dashed: boolean;
|
|
976
|
-
nativeType: "
|
|
978
|
+
nativeType: import("element-plus").ButtonNativeType;
|
|
977
979
|
loadingIcon: import("element-plus/es/utils/index.mjs").IconPropType;
|
|
978
980
|
plain: boolean;
|
|
979
981
|
autoInsertSpace: boolean;
|
|
980
|
-
tag: string | import("vue").Component
|
|
982
|
+
tag: string | import("vue").Component;
|
|
981
983
|
}>;
|
|
982
|
-
__isFragment?:
|
|
983
|
-
__isTeleport?:
|
|
984
|
-
__isSuspense?:
|
|
984
|
+
__isFragment?: never;
|
|
985
|
+
__isTeleport?: never;
|
|
986
|
+
__isSuspense?: never;
|
|
985
987
|
} & import("vue").ComponentOptionsBase<Readonly<import("element-plus").ButtonProps> & Readonly<{
|
|
986
988
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
987
989
|
}>, {
|
|
988
990
|
ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
989
991
|
size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
990
|
-
type: import("vue").ComputedRef<"" | "
|
|
992
|
+
type: import("vue").ComputedRef<"" | "text" | "default" | "info" | "primary" | "success" | "warning" | "danger">;
|
|
991
993
|
disabled: import("vue").ComputedRef<boolean>;
|
|
992
994
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
993
995
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -995,21 +997,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
995
997
|
}, string, {
|
|
996
998
|
text: boolean;
|
|
997
999
|
disabled: boolean;
|
|
998
|
-
type: ""
|
|
1000
|
+
type: import("element-plus").ButtonType;
|
|
999
1001
|
round: boolean;
|
|
1000
1002
|
dashed: boolean;
|
|
1001
|
-
nativeType: "
|
|
1003
|
+
nativeType: import("element-plus").ButtonNativeType;
|
|
1002
1004
|
loadingIcon: import("element-plus/es/utils/index.mjs").IconPropType;
|
|
1003
1005
|
plain: boolean;
|
|
1004
1006
|
autoInsertSpace: boolean;
|
|
1005
|
-
tag: string | import("vue").Component
|
|
1007
|
+
tag: string | import("vue").Component;
|
|
1006
1008
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1007
1009
|
$slots: {
|
|
1008
|
-
loading?: (
|
|
1010
|
+
loading?: (props: {}) => any;
|
|
1009
1011
|
} & {
|
|
1010
|
-
icon?: (
|
|
1012
|
+
icon?: (props: {}) => any;
|
|
1011
1013
|
} & {
|
|
1012
|
-
default?: (
|
|
1014
|
+
default?: (props: {}) => any;
|
|
1013
1015
|
};
|
|
1014
1016
|
}) & import("vue").ObjectPlugin & {
|
|
1015
1017
|
setPropsDefaults: (defaults: {
|
|
@@ -1018,17 +1020,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1018
1020
|
readonly type?: "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text" | (() => "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text") | undefined;
|
|
1019
1021
|
readonly icon?: string | import("vue").FunctionalComponent<any, {}, any, {}> | {
|
|
1020
1022
|
new (...args: any[]): any;
|
|
1021
|
-
__isFragment?:
|
|
1022
|
-
__isTeleport?:
|
|
1023
|
-
__isSuspense?:
|
|
1023
|
+
__isFragment?: never;
|
|
1024
|
+
__isTeleport?: never;
|
|
1025
|
+
__isSuspense?: never;
|
|
1024
1026
|
} | (() => (import("element-plus/es/utils/index.mjs").IconPropType | undefined) & {}) | undefined;
|
|
1025
1027
|
readonly nativeType?: "reset" | "submit" | "button" | (() => "reset" | "submit" | "button") | undefined;
|
|
1026
1028
|
readonly loading?: boolean | (() => boolean) | undefined;
|
|
1027
1029
|
readonly loadingIcon?: string | import("vue").FunctionalComponent<any, {}, any, {}> | {
|
|
1028
1030
|
new (...args: any[]): any;
|
|
1029
|
-
__isFragment?:
|
|
1030
|
-
__isTeleport?:
|
|
1031
|
-
__isSuspense?:
|
|
1031
|
+
__isFragment?: never;
|
|
1032
|
+
__isTeleport?: never;
|
|
1033
|
+
__isSuspense?: never;
|
|
1032
1034
|
} | (() => (import("element-plus/es/utils/index.mjs").IconPropType | undefined) & {}) | undefined;
|
|
1033
1035
|
readonly plain?: boolean | (() => boolean) | undefined;
|
|
1034
1036
|
readonly text?: boolean | (() => boolean) | undefined;
|
|
@@ -1043,15 +1045,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1043
1045
|
readonly autoInsertSpace?: boolean | (() => boolean) | undefined;
|
|
1044
1046
|
readonly tag?: string | import("vue").FunctionalComponent<any, {}, any, {}> | {
|
|
1045
1047
|
new (...args: any[]): any;
|
|
1046
|
-
__isFragment?:
|
|
1047
|
-
__isTeleport?:
|
|
1048
|
-
__isSuspense?:
|
|
1048
|
+
__isFragment?: never;
|
|
1049
|
+
__isTeleport?: never;
|
|
1050
|
+
__isSuspense?: never;
|
|
1049
1051
|
} | (() => (string | import("vue").Component | undefined) & {}) | undefined;
|
|
1050
1052
|
}) => void;
|
|
1051
1053
|
} & {
|
|
1052
1054
|
ButtonGroup: {
|
|
1053
1055
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("element-plus/es/components/button/src/button-group.mjs").ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
1054
|
-
type: "" | "
|
|
1056
|
+
type: "" | "text" | "default" | "info" | "primary" | "success" | "warning" | "danger";
|
|
1055
1057
|
direction: "horizontal" | "vertical";
|
|
1056
1058
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1057
1059
|
P: {};
|
|
@@ -1061,18 +1063,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1061
1063
|
M: {};
|
|
1062
1064
|
Defaults: {};
|
|
1063
1065
|
}, Readonly<import("element-plus/es/components/button/src/button-group.mjs").ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
1064
|
-
type: "" | "
|
|
1066
|
+
type: "" | "text" | "default" | "info" | "primary" | "success" | "warning" | "danger";
|
|
1065
1067
|
direction: "horizontal" | "vertical";
|
|
1066
1068
|
}>;
|
|
1067
|
-
__isFragment?:
|
|
1068
|
-
__isTeleport?:
|
|
1069
|
-
__isSuspense?:
|
|
1069
|
+
__isFragment?: never;
|
|
1070
|
+
__isTeleport?: never;
|
|
1071
|
+
__isSuspense?: never;
|
|
1070
1072
|
} & import("vue").ComponentOptionsBase<Readonly<import("element-plus/es/components/button/src/button-group.mjs").ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
1071
|
-
type: "" | "
|
|
1073
|
+
type: "" | "text" | "default" | "info" | "primary" | "success" | "warning" | "danger";
|
|
1072
1074
|
direction: "horizontal" | "vertical";
|
|
1073
1075
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1074
1076
|
$slots: {
|
|
1075
|
-
default?: (
|
|
1077
|
+
default?: (props: {}) => any;
|
|
1076
1078
|
};
|
|
1077
1079
|
});
|
|
1078
1080
|
};
|
|
@@ -1083,9 +1085,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1083
1085
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1084
1086
|
click: (evt: MouseEvent) => void;
|
|
1085
1087
|
}, import("vue").PublicProps, {
|
|
1086
|
-
type: "
|
|
1088
|
+
type: "primary" | "success" | "warning" | "info" | "danger" | "default";
|
|
1087
1089
|
underline: boolean | "always" | "never" | "hover";
|
|
1088
|
-
target:
|
|
1090
|
+
target: "_blank" | "_parent" | "_self" | "_top" | (string & NonNullable<unknown>);
|
|
1089
1091
|
href: string;
|
|
1090
1092
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1091
1093
|
P: {};
|
|
@@ -1097,29 +1099,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1097
1099
|
}, Readonly<import("element-plus").LinkProps> & Readonly<{
|
|
1098
1100
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
1099
1101
|
}>, {}, {}, {}, {}, {
|
|
1100
|
-
type: "
|
|
1102
|
+
type: "primary" | "success" | "warning" | "info" | "danger" | "default";
|
|
1101
1103
|
underline: boolean | "always" | "never" | "hover";
|
|
1102
|
-
target:
|
|
1104
|
+
target: "_blank" | "_parent" | "_self" | "_top" | (string & NonNullable<unknown>);
|
|
1103
1105
|
href: string;
|
|
1104
1106
|
}>;
|
|
1105
|
-
__isFragment?:
|
|
1106
|
-
__isTeleport?:
|
|
1107
|
-
__isSuspense?:
|
|
1107
|
+
__isFragment?: never;
|
|
1108
|
+
__isTeleport?: never;
|
|
1109
|
+
__isSuspense?: never;
|
|
1108
1110
|
} & import("vue").ComponentOptionsBase<Readonly<import("element-plus").LinkProps> & Readonly<{
|
|
1109
1111
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
1110
1112
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1111
1113
|
click: (evt: MouseEvent) => void;
|
|
1112
1114
|
}, string, {
|
|
1113
|
-
type: "
|
|
1115
|
+
type: "primary" | "success" | "warning" | "info" | "danger" | "default";
|
|
1114
1116
|
underline: boolean | "always" | "never" | "hover";
|
|
1115
|
-
target:
|
|
1117
|
+
target: "_blank" | "_parent" | "_self" | "_top" | (string & NonNullable<unknown>);
|
|
1116
1118
|
href: string;
|
|
1117
1119
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1118
1120
|
$slots: {
|
|
1119
|
-
default?: (
|
|
1121
|
+
default?: (props: {}) => any;
|
|
1120
1122
|
} & {
|
|
1121
|
-
icon?: (
|
|
1123
|
+
icon?: (props: {}) => any;
|
|
1122
1124
|
};
|
|
1123
1125
|
})>;
|
|
1124
1126
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1125
|
-
export default _default;
|