'use strict';

var upload = require('../../base/upload/upload.js');

const importDialogProps = {
  onSuccess: upload.uploadProps["onSuccess"],
  onError: upload.uploadProps["onError"],
  httpRequest: upload.uploadProps["httpRequest"],
  beforeUpload: upload.uploadProps["beforeUpload"],
  onRemove: upload.uploadProps["onRemove"],
  onExceed: upload.uploadProps["onExceed"],
  accept: {
    type: String,
    default: ".xls, .xlsx, .csv, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv"
  },
  /**上传失败后的文件 是否重新选择，默认会被清除掉 */
  errorReselect: {
    type: Boolean
  },
  /**dialog的属性 */
  dialogProps: {
    type: Object,
    // 配置选项
    default: () => ({
      title: "\u5BFC\u5165",
      width: "480px",
      appendToBody: true
    })
  }
};
const importDialogEmits = {
  /**
   * 下载模板按钮点击事件
   */
  downloadTemplate: async () => {
  },
  /**
   * 点击导入按钮
   */
  importClick: async () => {
  }
};

exports.importDialogEmits = importDialogEmits;
exports.importDialogProps = importDialogProps;
//# sourceMappingURL=importDialog.js.map
