@dazhicheng/ui 1.6.48 → 1.6.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/tt-custom-export-modal/src/TtCustomExportModal.vue.js +10 -10
- package/dist/components/tt-custom-export-modal/src/api.d.ts +12 -12
- package/dist/components/tt-custom-export-modal/src/api.js +23 -29
- package/dist/components/tt-custom-export-modal/src/components/FieldGridSection.vue.d.ts +2 -2
- package/dist/components/tt-custom-export-modal/src/components/FieldToolbarSection.vue.d.ts +1 -1
- package/dist/components/tt-custom-export-modal/src/types/report.d.ts +8 -19
- package/dist/components/tt-drawer/index.d.ts +3 -3
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +1 -1
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +2 -2
- package/dist/components/tt-modal/index.d.ts +32 -32
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +22 -22
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +2 -2
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +5 -5
- package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/PanelRight.vue.d.ts +1 -1
- package/dist/components/tt-panel-select/src/index.vue.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +17 -8
- package/dist/components/tt-table/src/Table.vue.d.ts +12 -6
- package/dist/components/tt-table/src/TableForm.vue.d.ts +9 -9
- package/dist/components/tt-table/src/TableForm.vue.js +68 -68
- package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +4 -4
- package/dist/components/tt-table/src/props.d.ts +7 -4
- package/dist/components/tt-table/src/props.js +4 -4
- package/dist/components/tt-table/src/types/table.d.ts +6 -0
- package/dist/components/tt-table/src/types/tableForm.d.ts +0 -6
- package/dist/components/tt-upload/index.d.ts +11 -11
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +4 -4
- package/package.json +1 -1
|
@@ -147,6 +147,10 @@ const a = {
|
|
|
147
147
|
/** 是否显示表格上方 alert */
|
|
148
148
|
showTableAlert: { type: Boolean, default: () => e("showTableAlert") }
|
|
149
149
|
}, x = {
|
|
150
|
+
/** 公共导出弹框配置,复用弹框的业务编码与异步导出回调。 */
|
|
151
|
+
customExportConfig: {
|
|
152
|
+
type: Object
|
|
153
|
+
},
|
|
150
154
|
/**
|
|
151
155
|
* 是否自适应高度
|
|
152
156
|
*
|
|
@@ -284,10 +288,6 @@ const a = {
|
|
|
284
288
|
/** 表格的api */
|
|
285
289
|
tableFormApi: {
|
|
286
290
|
type: Object
|
|
287
|
-
},
|
|
288
|
-
/** 公共导出弹框配置,复用弹框的业务编码与异步导出回调。 */
|
|
289
|
-
customExportConfig: {
|
|
290
|
-
type: Object
|
|
291
291
|
}
|
|
292
292
|
}, j = {
|
|
293
293
|
/** 列配置 */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TtCustomExportModalProps, ExportConfirmPayload } from '../../../tt-custom-export-modal';
|
|
1
2
|
import { ComputedRef, CSSProperties, MaybeRef, Ref } from 'vue';
|
|
2
3
|
import { VxeGridMethods, VxeGridProps, VxeGridPropTypes, VxeTableDefines, VxeTablePropTypes } from 'vxe-table';
|
|
3
4
|
import { TableApi } from '../utils/table-api';
|
|
@@ -140,6 +141,11 @@ export type TtColumnOptions<Row = any> = VxeTableDefines.ColumnOptions<Row> & {
|
|
|
140
141
|
* 不传时退化为 `any`,与改动前完全一致。
|
|
141
142
|
*/
|
|
142
143
|
export type TtTableProps<Row = any> = {
|
|
144
|
+
/** 公共导出弹框配置;businessCode 默认原样取全局 columnsKey,支持覆盖。 */
|
|
145
|
+
customExportConfig?: TtCustomExportModalProps & {
|
|
146
|
+
/** 公共弹框 export 事件监听器;触发后关闭弹框,不等待异步请求。 */
|
|
147
|
+
onExport?: (payload: ExportConfirmPayload) => void;
|
|
148
|
+
};
|
|
143
149
|
/** 是否自适应高度 */
|
|
144
150
|
autoHeight?: boolean;
|
|
145
151
|
loading?: boolean;
|
|
@@ -3,7 +3,6 @@ import { TtSelectRowKeysType, TtTableMethods, TtTableProps } from '../types/tabl
|
|
|
3
3
|
import { TableFormApi } from '../utils/table-form-api';
|
|
4
4
|
import { TtTableToolsProps } from './tableTools';
|
|
5
5
|
import { TtExtendedFormApi, TtFormProps } from '../../../tt-form';
|
|
6
|
-
import { TtCustomExportModalProps, ExportConfirmPayload } from '../../../tt-custom-export-modal';
|
|
7
6
|
/**
|
|
8
7
|
* 搜索表单配置。
|
|
9
8
|
*
|
|
@@ -46,11 +45,6 @@ export type TtTableFormProps<Row = any, TValues extends Record<string, any> = Re
|
|
|
46
45
|
handleSearchInfoFn?: Fn;
|
|
47
46
|
/** tool配置 */
|
|
48
47
|
toolConfig?: TtTableToolsProps;
|
|
49
|
-
/** 公共导出弹框配置;businessCode 默认取 GlobalConfig.table.columnsKey,支持覆盖。 */
|
|
50
|
-
customExportConfig?: TtCustomExportModalProps & {
|
|
51
|
-
/** 公共弹框 export 事件监听器;触发后关闭弹框,不等待异步请求。 */
|
|
52
|
-
onExport?: (payload: ExportConfirmPayload) => void;
|
|
53
|
-
};
|
|
54
48
|
/** 刷新前的调用方法 */
|
|
55
49
|
tableRefreshBefore?: (...arg: any[]) => Promise<any>;
|
|
56
50
|
/**
|
|
@@ -210,11 +210,11 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<{
|
|
|
210
210
|
onError?: ((err: unknown, file: import('element-plus').UploadRawFile) => any) | undefined;
|
|
211
211
|
onDelete?: ((file: import('.').TtUploadFileItem) => any) | undefined;
|
|
212
212
|
"onUpdate:modelValue"?: ((value: import('.').TtUploadFileItem[]) => any) | undefined;
|
|
213
|
+
onOk?: ((fileList: import('.').TtUploadFileItem[]) => any) | undefined;
|
|
213
214
|
onAfterUpload?: ((file: import('.').TtUploadFileItem, ossKey?: string | undefined) => any) | undefined;
|
|
214
215
|
onPreview?: ((file: import('.').TtUploadFileItem) => any) | undefined;
|
|
215
216
|
onDownload?: ((file: import('.').TtUploadFileItem) => any) | undefined;
|
|
216
217
|
onTemplateDownload?: (() => any) | undefined;
|
|
217
|
-
onOk?: ((fileList: import('.').TtUploadFileItem[]) => any) | undefined;
|
|
218
218
|
}>, {
|
|
219
219
|
getFileList: () => import('.').TtUploadFileItem[];
|
|
220
220
|
openModal: () => void;
|
|
@@ -225,11 +225,11 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<{
|
|
|
225
225
|
error: (err: unknown, file: import('element-plus').UploadRawFile) => any;
|
|
226
226
|
delete: (file: import('.').TtUploadFileItem) => any;
|
|
227
227
|
"update:modelValue": (value: import('.').TtUploadFileItem[]) => any;
|
|
228
|
+
ok: (fileList: import('.').TtUploadFileItem[]) => any;
|
|
228
229
|
afterUpload: (file: import('.').TtUploadFileItem, ossKey?: string | undefined) => any;
|
|
229
230
|
preview: (file: import('.').TtUploadFileItem) => any;
|
|
230
231
|
download: (file: import('.').TtUploadFileItem) => any;
|
|
231
232
|
templateDownload: () => any;
|
|
232
|
-
ok: (fileList: import('.').TtUploadFileItem[]) => any;
|
|
233
233
|
}, import('vue').PublicProps, {
|
|
234
234
|
data: import('element-plus/es/utils/vue/props/types.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>;
|
|
235
235
|
drag: boolean;
|
|
@@ -242,10 +242,11 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<{
|
|
|
242
242
|
multiple: boolean;
|
|
243
243
|
method: string;
|
|
244
244
|
withCredentials: boolean;
|
|
245
|
+
onRemove: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
246
|
+
modal: boolean;
|
|
245
247
|
action: string;
|
|
246
248
|
accept: string;
|
|
247
249
|
beforeUpload: (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
248
|
-
modal: boolean;
|
|
249
250
|
uploadOssApi: (file?: any) => Promise<any>;
|
|
250
251
|
uploadOssViewApi: ((key: string) => Promise<any>) | ((params: any) => Promise<any>);
|
|
251
252
|
uploadTip: string;
|
|
@@ -262,7 +263,6 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<{
|
|
|
262
263
|
ossType: import('.').OssType;
|
|
263
264
|
ossDir: string;
|
|
264
265
|
beforeDownload: boolean | ((file: import('.').TtUploadFileItem) => PromiseLike<boolean>);
|
|
265
|
-
onRemove: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
266
266
|
onPreview: (uploadFile: import('element-plus').UploadFile) => void;
|
|
267
267
|
onSuccess: (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
268
268
|
onExceed: (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
@@ -487,11 +487,11 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<{
|
|
|
487
487
|
onError?: ((err: unknown, file: import('element-plus').UploadRawFile) => any) | undefined;
|
|
488
488
|
onDelete?: ((file: import('.').TtUploadFileItem) => any) | undefined;
|
|
489
489
|
"onUpdate:modelValue"?: ((value: import('.').TtUploadFileItem[]) => any) | undefined;
|
|
490
|
+
onOk?: ((fileList: import('.').TtUploadFileItem[]) => any) | undefined;
|
|
490
491
|
onAfterUpload?: ((file: import('.').TtUploadFileItem, ossKey?: string | undefined) => any) | undefined;
|
|
491
492
|
onPreview?: ((file: import('.').TtUploadFileItem) => any) | undefined;
|
|
492
493
|
onDownload?: ((file: import('.').TtUploadFileItem) => any) | undefined;
|
|
493
494
|
onTemplateDownload?: (() => any) | undefined;
|
|
494
|
-
onOk?: ((fileList: import('.').TtUploadFileItem[]) => any) | undefined;
|
|
495
495
|
}>, {
|
|
496
496
|
getFileList: () => import('.').TtUploadFileItem[];
|
|
497
497
|
openModal: () => void;
|
|
@@ -509,10 +509,11 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<{
|
|
|
509
509
|
multiple: boolean;
|
|
510
510
|
method: string;
|
|
511
511
|
withCredentials: boolean;
|
|
512
|
+
onRemove: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
513
|
+
modal: boolean;
|
|
512
514
|
action: string;
|
|
513
515
|
accept: string;
|
|
514
516
|
beforeUpload: (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
515
|
-
modal: boolean;
|
|
516
517
|
uploadOssApi: (file?: any) => Promise<any>;
|
|
517
518
|
uploadOssViewApi: ((key: string) => Promise<any>) | ((params: any) => Promise<any>);
|
|
518
519
|
uploadTip: string;
|
|
@@ -529,7 +530,6 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<{
|
|
|
529
530
|
ossType: import('.').OssType;
|
|
530
531
|
ossDir: string;
|
|
531
532
|
beforeDownload: boolean | ((file: import('.').TtUploadFileItem) => PromiseLike<boolean>);
|
|
532
|
-
onRemove: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
533
533
|
onPreview: (uploadFile: import('element-plus').UploadFile) => void;
|
|
534
534
|
onSuccess: (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
535
535
|
onExceed: (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
@@ -751,11 +751,11 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<{
|
|
|
751
751
|
onError?: ((err: unknown, file: import('element-plus').UploadRawFile) => any) | undefined;
|
|
752
752
|
onDelete?: ((file: import('.').TtUploadFileItem) => any) | undefined;
|
|
753
753
|
"onUpdate:modelValue"?: ((value: import('.').TtUploadFileItem[]) => any) | undefined;
|
|
754
|
+
onOk?: ((fileList: import('.').TtUploadFileItem[]) => any) | undefined;
|
|
754
755
|
onAfterUpload?: ((file: import('.').TtUploadFileItem, ossKey?: string | undefined) => any) | undefined;
|
|
755
756
|
onPreview?: ((file: import('.').TtUploadFileItem) => any) | undefined;
|
|
756
757
|
onDownload?: ((file: import('.').TtUploadFileItem) => any) | undefined;
|
|
757
758
|
onTemplateDownload?: (() => any) | undefined;
|
|
758
|
-
onOk?: ((fileList: import('.').TtUploadFileItem[]) => any) | undefined;
|
|
759
759
|
}>, {
|
|
760
760
|
getFileList: () => import('.').TtUploadFileItem[];
|
|
761
761
|
openModal: () => void;
|
|
@@ -766,11 +766,11 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<{
|
|
|
766
766
|
error: (err: unknown, file: import('element-plus').UploadRawFile) => any;
|
|
767
767
|
delete: (file: import('.').TtUploadFileItem) => any;
|
|
768
768
|
"update:modelValue": (value: import('.').TtUploadFileItem[]) => any;
|
|
769
|
+
ok: (fileList: import('.').TtUploadFileItem[]) => any;
|
|
769
770
|
afterUpload: (file: import('.').TtUploadFileItem, ossKey?: string | undefined) => any;
|
|
770
771
|
preview: (file: import('.').TtUploadFileItem) => any;
|
|
771
772
|
download: (file: import('.').TtUploadFileItem) => any;
|
|
772
773
|
templateDownload: () => any;
|
|
773
|
-
ok: (fileList: import('.').TtUploadFileItem[]) => any;
|
|
774
774
|
}, string, {
|
|
775
775
|
data: import('element-plus/es/utils/vue/props/types.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>;
|
|
776
776
|
drag: boolean;
|
|
@@ -783,10 +783,11 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<{
|
|
|
783
783
|
multiple: boolean;
|
|
784
784
|
method: string;
|
|
785
785
|
withCredentials: boolean;
|
|
786
|
+
onRemove: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
787
|
+
modal: boolean;
|
|
786
788
|
action: string;
|
|
787
789
|
accept: string;
|
|
788
790
|
beforeUpload: (rawFile: import('element-plus').UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
789
|
-
modal: boolean;
|
|
790
791
|
uploadOssApi: (file?: any) => Promise<any>;
|
|
791
792
|
uploadOssViewApi: ((key: string) => Promise<any>) | ((params: any) => Promise<any>);
|
|
792
793
|
uploadTip: string;
|
|
@@ -803,7 +804,6 @@ export declare const TtUpload: import('../../../../utils/src').SFCWithInstall<{
|
|
|
803
804
|
ossType: import('.').OssType;
|
|
804
805
|
ossDir: string;
|
|
805
806
|
beforeDownload: boolean | ((file: import('.').TtUploadFileItem) => PromiseLike<boolean>);
|
|
806
|
-
onRemove: (uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
807
807
|
onPreview: (uploadFile: import('element-plus').UploadFile) => void;
|
|
808
808
|
onSuccess: (response: any, uploadFile: import('element-plus').UploadFile, uploadFiles: import('element-plus').UploadFiles) => void;
|
|
809
809
|
onExceed: (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|
|
@@ -256,11 +256,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
256
256
|
error: (err: unknown, file: UploadRawFile) => any;
|
|
257
257
|
delete: (file: TtUploadFileItem) => any;
|
|
258
258
|
"update:modelValue": (value: TtUploadFileItem[]) => any;
|
|
259
|
+
ok: (fileList: TtUploadFileItem[]) => any;
|
|
259
260
|
afterUpload: (file: TtUploadFileItem, ossKey?: string | undefined) => any;
|
|
260
261
|
preview: (file: TtUploadFileItem) => any;
|
|
261
262
|
download: (file: TtUploadFileItem) => any;
|
|
262
263
|
templateDownload: () => any;
|
|
263
|
-
ok: (fileList: TtUploadFileItem[]) => any;
|
|
264
264
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
265
265
|
action: {
|
|
266
266
|
readonly type: import('vue').PropType<string>;
|
|
@@ -470,11 +470,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
470
470
|
onError?: ((err: unknown, file: UploadRawFile) => any) | undefined;
|
|
471
471
|
onDelete?: ((file: TtUploadFileItem) => any) | undefined;
|
|
472
472
|
"onUpdate:modelValue"?: ((value: TtUploadFileItem[]) => any) | undefined;
|
|
473
|
+
onOk?: ((fileList: TtUploadFileItem[]) => any) | undefined;
|
|
473
474
|
onAfterUpload?: ((file: TtUploadFileItem, ossKey?: string | undefined) => any) | undefined;
|
|
474
475
|
onPreview?: ((file: TtUploadFileItem) => any) | undefined;
|
|
475
476
|
onDownload?: ((file: TtUploadFileItem) => any) | undefined;
|
|
476
477
|
onTemplateDownload?: (() => any) | undefined;
|
|
477
|
-
onOk?: ((fileList: TtUploadFileItem[]) => any) | undefined;
|
|
478
478
|
}>, {
|
|
479
479
|
data: import('element-plus/es/utils/vue/props/types.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: 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: 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: 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: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<import('element-plus').UploadData>)) | null)[], unknown, unknown>;
|
|
480
480
|
drag: boolean;
|
|
@@ -487,10 +487,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
487
487
|
multiple: boolean;
|
|
488
488
|
method: string;
|
|
489
489
|
withCredentials: boolean;
|
|
490
|
+
onRemove: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
491
|
+
modal: boolean;
|
|
490
492
|
action: string;
|
|
491
493
|
accept: string;
|
|
492
494
|
beforeUpload: (rawFile: UploadRawFile) => import('element-plus/es/utils/typescript.mjs').Awaitable<void | undefined | null | boolean | File | Blob>;
|
|
493
|
-
modal: boolean;
|
|
494
495
|
uploadOssApi: (file?: any) => Promise<any>;
|
|
495
496
|
uploadOssViewApi: ((key: string) => Promise<any>) | ((params: any) => Promise<any>);
|
|
496
497
|
uploadTip: string;
|
|
@@ -507,7 +508,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
507
508
|
ossType: import('./typing').OssType;
|
|
508
509
|
ossDir: string;
|
|
509
510
|
beforeDownload: boolean | ((file: TtUploadFileItem) => PromiseLike<boolean>);
|
|
510
|
-
onRemove: (uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
511
511
|
onPreview: (uploadFile: UploadFile) => void;
|
|
512
512
|
onSuccess: (response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
|
513
513
|
onExceed: (files: File[], uploadFiles: import('element-plus').UploadUserFile[]) => void;
|