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.
63 lines
1.1 KiB
63 lines
1.1 KiB
10 months ago
|
'use strict';
|
||
|
Object.defineProperty(exports, '__esModule', {
|
||
|
value: true
|
||
|
});
|
||
|
exports.messageFileProps = exports.mediaProps = exports.videoProps = exports.imageProps = void 0;
|
||
|
// props for image
|
||
|
exports.imageProps = {
|
||
|
sizeType: {
|
||
|
type: Array,
|
||
|
value: ['original', 'compressed']
|
||
|
},
|
||
|
capture: {
|
||
|
type: Array,
|
||
|
value: ['album', 'camera']
|
||
|
},
|
||
|
showmenu: {
|
||
|
type: Boolean,
|
||
|
value: true
|
||
|
}
|
||
|
};
|
||
|
// props for video
|
||
|
exports.videoProps = {
|
||
|
capture: {
|
||
|
type: Array,
|
||
|
value: ['album', 'camera']
|
||
|
},
|
||
|
compressed: {
|
||
|
type: Boolean,
|
||
|
value: true
|
||
|
},
|
||
|
maxDuration: {
|
||
|
type: Number,
|
||
|
value: 60
|
||
|
},
|
||
|
camera: {
|
||
|
type: String,
|
||
|
value: 'back'
|
||
|
}
|
||
|
};
|
||
|
// props for media
|
||
|
exports.mediaProps = {
|
||
|
capture: {
|
||
|
type: Array,
|
||
|
value: ['album', 'camera']
|
||
|
},
|
||
|
mediaType: {
|
||
|
type: Array,
|
||
|
value: ['image', 'video']
|
||
|
},
|
||
|
maxDuration: {
|
||
|
type: Number,
|
||
|
value: 60
|
||
|
},
|
||
|
camera: {
|
||
|
type: String,
|
||
|
value: 'back'
|
||
|
}
|
||
|
};
|
||
|
// props for file
|
||
|
exports.messageFileProps = {
|
||
|
extension: null
|
||
|
};
|