You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
860 B
40 lines
860 B
|
2 years ago
|
import { NOOP } from '@vue/shared';
|
||
|
|
import '../../../utils/index.mjs';
|
||
|
|
import { uploadBaseProps } from './upload.mjs';
|
||
|
|
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
||
|
|
|
||
|
|
const uploadContentProps = buildProps({
|
||
|
|
...uploadBaseProps,
|
||
|
|
beforeUpload: {
|
||
|
|
type: definePropType(Function),
|
||
|
|
default: NOOP
|
||
|
|
},
|
||
|
|
onRemove: {
|
||
|
|
type: definePropType(Function),
|
||
|
|
default: NOOP
|
||
|
|
},
|
||
|
|
onStart: {
|
||
|
|
type: definePropType(Function),
|
||
|
|
default: NOOP
|
||
|
|
},
|
||
|
|
onSuccess: {
|
||
|
|
type: definePropType(Function),
|
||
|
|
default: NOOP
|
||
|
|
},
|
||
|
|
onProgress: {
|
||
|
|
type: definePropType(Function),
|
||
|
|
default: NOOP
|
||
|
|
},
|
||
|
|
onError: {
|
||
|
|
type: definePropType(Function),
|
||
|
|
default: NOOP
|
||
|
|
},
|
||
|
|
onExceed: {
|
||
|
|
type: definePropType(Function),
|
||
|
|
default: NOOP
|
||
|
|
}
|
||
|
|
});
|
||
|
|
|
||
|
|
export { uploadContentProps };
|
||
|
|
//# sourceMappingURL=upload-content.mjs.map
|