'use strict';

require('../../../utils/index.cjs');
var propType = require('../../../utils/vue/propType.cjs');

function uploadProps() {
  return {
    "capture": propType.someType([Boolean, String]),
    "type": propType.stringType(),
    "name": String,
    "defaultFileList": propType.arrayType(),
    "fileList": propType.arrayType(),
    "action": propType.someType(
      [String, Function]
    ),
    "directory": propType.booleanType(),
    "data": propType.someType(
      [Object, Function]
    ),
    "method": propType.stringType(),
    "headers": propType.objectType(),
    "showUploadList": propType.someType([Boolean, Object]),
    "multiple": propType.booleanType(),
    "accept": String,
    "beforeUpload": propType.functionType(),
    "onChange": propType.functionType(),
    "onUpdate:fileList": propType.functionType(),
    "onDrop": propType.functionType(),
    "listType": propType.stringType(),
    "onPreview": propType.functionType(),
    "onDownload": propType.functionType(),
    "onReject": propType.functionType(),
    "onRemove": propType.functionType(),
    /** @deprecated Please use `onRemove` directly */
    "remove": propType.functionType(),
    "supportServerRender": propType.booleanType(),
    "disabled": propType.booleanType(),
    "prefixCls": String,
    "customRequest": propType.functionType(),
    "withCredentials": propType.booleanType(),
    "openFileDialogOnClick": propType.booleanType(),
    "locale": propType.objectType(),
    "id": String,
    "previewFile": propType.functionType(),
    /** @deprecated Please use `beforeUpload` directly */
    "transformFile": propType.functionType(),
    "iconRender": propType.functionType(),
    "isImageUrl": propType.functionType(),
    "progress": propType.objectType(),
    "itemRender": propType.functionType(),
    /** Config max count of `fileList`. Will replace current one when `maxCount` is 1 */
    "maxCount": Number,
    "height": propType.someType([Number, String]),
    "removeIcon": propType.functionType(),
    "downloadIcon": propType.functionType(),
    "previewIcon": propType.functionType()
  };
}
function uploadListProps() {
  return {
    listType: propType.stringType(),
    onPreview: propType.functionType(),
    onDownload: propType.functionType(),
    onRemove: propType.functionType(),
    items: propType.arrayType(),
    progress: propType.objectType(),
    prefixCls: propType.stringType(),
    showRemoveIcon: propType.booleanType(),
    showDownloadIcon: propType.booleanType(),
    showPreviewIcon: propType.booleanType(),
    removeIcon: propType.functionType(),
    downloadIcon: propType.functionType(),
    previewIcon: propType.functionType(),
    locale: propType.objectType(void 0),
    previewFile: propType.functionType(),
    iconRender: propType.functionType(),
    isImageUrl: propType.functionType(),
    appendAction: propType.functionType(),
    appendActionVisible: propType.booleanType(),
    itemRender: propType.functionType()
  };
}

exports.uploadListProps = uploadListProps;
exports.uploadProps = uploadProps;
//# sourceMappingURL=interface.cjs.map
