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.
44 lines
1.0 KiB
44 lines
1.0 KiB
|
2 years ago
|
'use strict';
|
||
|
|
|
||
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
||
|
|
|
||
|
|
var shared = require('@vue/shared');
|
||
|
|
require('../../../utils/index.js');
|
||
|
|
var upload = require('./upload.js');
|
||
|
|
var runtime = require('../../../utils/vue/props/runtime.js');
|
||
|
|
|
||
|
|
const uploadContentProps = runtime.buildProps({
|
||
|
|
...upload.uploadBaseProps,
|
||
|
|
beforeUpload: {
|
||
|
|
type: runtime.definePropType(Function),
|
||
|
|
default: shared.NOOP
|
||
|
|
},
|
||
|
|
onRemove: {
|
||
|
|
type: runtime.definePropType(Function),
|
||
|
|
default: shared.NOOP
|
||
|
|
},
|
||
|
|
onStart: {
|
||
|
|
type: runtime.definePropType(Function),
|
||
|
|
default: shared.NOOP
|
||
|
|
},
|
||
|
|
onSuccess: {
|
||
|
|
type: runtime.definePropType(Function),
|
||
|
|
default: shared.NOOP
|
||
|
|
},
|
||
|
|
onProgress: {
|
||
|
|
type: runtime.definePropType(Function),
|
||
|
|
default: shared.NOOP
|
||
|
|
},
|
||
|
|
onError: {
|
||
|
|
type: runtime.definePropType(Function),
|
||
|
|
default: shared.NOOP
|
||
|
|
},
|
||
|
|
onExceed: {
|
||
|
|
type: runtime.definePropType(Function),
|
||
|
|
default: shared.NOOP
|
||
|
|
}
|
||
|
|
});
|
||
|
|
|
||
|
|
exports.uploadContentProps = uploadContentProps;
|
||
|
|
//# sourceMappingURL=upload-content.js.map
|