shared.js 698 B

1234567891011121314151617181920212223242526272829303132333435
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', {
  3. value: true
  4. });
  5. exports.chooseVideoProps = exports.chooseImageProps = void 0;
  6. // props for choose image
  7. exports.chooseImageProps = {
  8. sizeType: {
  9. type: Array,
  10. value: ['original', 'compressed']
  11. },
  12. capture: {
  13. type: Array,
  14. value: ['album', 'camera']
  15. }
  16. };
  17. // props for choose video
  18. exports.chooseVideoProps = {
  19. capture: {
  20. type: Array,
  21. value: ['album', 'camera']
  22. },
  23. compressed: {
  24. type: Boolean,
  25. value: true
  26. },
  27. maxDuration: {
  28. type: Number,
  29. value: 60
  30. },
  31. camera: {
  32. type: String,
  33. value: 'back'
  34. }
  35. };