shared.js 707 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. var chooseImageProps = {
  8. sizeType: {
  9. type: Array,
  10. value: ["original", "compressed"]
  11. },
  12. capture: {
  13. type: Array,
  14. value: ["album", "camera"]
  15. }
  16. }; // props for choose video
  17. exports.chooseImageProps = chooseImageProps;
  18. var 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. };
  36. exports.chooseVideoProps = chooseVideoProps;