first commit

This commit is contained in:
rayd1o
2026-03-05 11:46:58 +08:00
commit e7033775d8
20657 changed files with 1988940 additions and 0 deletions

23
frontend/node_modules/antd/lib/upload/Upload.d.ts generated vendored Normal file
View File

@@ -0,0 +1,23 @@
import * as React from 'react';
import type { UploadProps as RcUploadProps } from 'rc-upload';
import RcUpload from 'rc-upload';
import type { RcFile, UploadFile, UploadProps } from './interface';
export declare const LIST_IGNORE: string;
export type { UploadProps };
export interface UploadRef<T = any> {
onBatchStart: RcUploadProps['onBatchStart'];
onSuccess: (response: any, file: RcFile, xhr: any) => void;
onProgress: (e: {
percent: number;
}, file: RcFile) => void;
onError: (error: Error, response: any, file: RcFile) => void;
fileList: UploadFile<T>[];
upload: RcUpload | null;
/**
* Get native element for wrapping upload
* @since 5.17.0
*/
nativeElement: HTMLSpanElement | null;
}
declare const Upload: React.ForwardRefExoticComponent<UploadProps<any> & React.RefAttributes<UploadRef<any>>>;
export default Upload;