interface.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.uploadProps = void 0;
  6. var uploadProps = function uploadProps() {
  7. return {
  8. capture: [Boolean, String],
  9. multipart: {
  10. type: Boolean,
  11. default: undefined
  12. },
  13. name: String,
  14. disabled: {
  15. type: Boolean,
  16. default: undefined
  17. },
  18. componentTag: String,
  19. action: [String, Function],
  20. method: String,
  21. directory: {
  22. type: Boolean,
  23. default: undefined
  24. },
  25. data: [Object, Function],
  26. headers: Object,
  27. accept: String,
  28. multiple: {
  29. type: Boolean,
  30. default: undefined
  31. },
  32. onBatchStart: Function,
  33. onReject: Function,
  34. onStart: Function,
  35. onError: Function,
  36. onSuccess: Function,
  37. onProgress: Function,
  38. beforeUpload: Function,
  39. customRequest: Function,
  40. withCredentials: {
  41. type: Boolean,
  42. default: undefined
  43. },
  44. openFileDialogOnClick: {
  45. type: Boolean,
  46. default: undefined
  47. },
  48. prefixCls: String,
  49. id: String,
  50. onMouseenter: Function,
  51. onMouseleave: Function,
  52. onClick: Function
  53. };
  54. };
  55. exports.uploadProps = uploadProps;