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.

38 lines
826 B

3 months ago
  1. import { uploadBaseProps } from './upload.mjs';
  2. import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
  3. import { NOOP } from '@vue/shared';
  4. const uploadContentProps = buildProps({
  5. ...uploadBaseProps,
  6. beforeUpload: {
  7. type: definePropType(Function),
  8. default: NOOP
  9. },
  10. onRemove: {
  11. type: definePropType(Function),
  12. default: NOOP
  13. },
  14. onStart: {
  15. type: definePropType(Function),
  16. default: NOOP
  17. },
  18. onSuccess: {
  19. type: definePropType(Function),
  20. default: NOOP
  21. },
  22. onProgress: {
  23. type: definePropType(Function),
  24. default: NOOP
  25. },
  26. onError: {
  27. type: definePropType(Function),
  28. default: NOOP
  29. },
  30. onExceed: {
  31. type: definePropType(Function),
  32. default: NOOP
  33. }
  34. });
  35. export { uploadContentProps };
  36. //# sourceMappingURL=upload-content2.mjs.map