shared.js 702B

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