60 lines
1018 B
JavaScript
60 lines
1018 B
JavaScript
const props = {
|
|
addContent: {
|
|
type: String,
|
|
},
|
|
allowUploadDuplicateFile: {
|
|
type: Boolean,
|
|
value: false,
|
|
},
|
|
config: {
|
|
type: Object,
|
|
},
|
|
disabled: {
|
|
type: null,
|
|
value: undefined,
|
|
},
|
|
draggable: {
|
|
type: null,
|
|
},
|
|
files: {
|
|
type: Array,
|
|
value: null,
|
|
},
|
|
defaultFiles: {
|
|
type: Array,
|
|
},
|
|
gridConfig: {
|
|
type: Object,
|
|
},
|
|
gutter: {
|
|
type: Number,
|
|
value: 16,
|
|
},
|
|
imageProps: {
|
|
type: Object,
|
|
},
|
|
max: {
|
|
type: Number,
|
|
value: 0,
|
|
},
|
|
mediaType: {
|
|
type: Array,
|
|
value: ['image', 'video'],
|
|
},
|
|
requestMethod: {
|
|
type: null,
|
|
},
|
|
sizeLimit: {
|
|
type: null,
|
|
},
|
|
source: {
|
|
type: String,
|
|
value: 'media',
|
|
},
|
|
transition: {
|
|
type: Object,
|
|
value: { backTransition: true, duration: 300, timingFunction: 'ease' },
|
|
},
|
|
};
|
|
export default props;
|