// 部分导入成功
import React from 'react';
import { Divider } from 'antd';
import { ExclamationCircleFilled } from '@ant-design/icons';
var PartialSuccess = function PartialSuccess(_ref) {
  var totalCount = _ref.totalCount,
    successCount = _ref.successCount,
    errorCount = _ref.errorCount,
    errorFileUrl = _ref.errorFileUrl,
    onReImport = _ref.onReImport;
  return /*#__PURE__*/React.createElement("div", {
    className: "container-partial-success"
  }, /*#__PURE__*/React.createElement(ExclamationCircleFilled, null), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
    className: "title"
  }, "\u5BFC\u5165\u5B8C\u6210"), /*#__PURE__*/React.createElement("div", {
    className: "desc"
  }, "\u5171\u4E0A\u4F20 ", totalCount, " \u6761\u6570\u636E\uFF0C\u5176\u4E2D\u5BFC\u5165\u6210\u529F ", /*#__PURE__*/React.createElement("span", {
    className: "f-success"
  }, successCount), " \u6761\uFF0C \u5BFC\u5165\u5931\u8D25", ' ', /*#__PURE__*/React.createElement("span", {
    className: "f-error"
  }, errorCount), " \u6761\u6570\u636E\u3002\u8BF7\u4E0B\u8F7D\u9519\u8BEF\u62A5\u544A\uFF0C\u4FEE\u6539\u540E\u91CD\u65B0\u4E0A\u4F20\u3002"), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("a", {
    href: errorFileUrl
  }, "\u4E0B\u8F7D\u62A5\u9519\u6587\u6863"), /*#__PURE__*/React.createElement(Divider, {
    type: "vertical"
  }), /*#__PURE__*/React.createElement("a", {
    onClick: onReImport
  }, "\u91CD\u65B0\u5BFC\u5165"))));
};
export default PartialSuccess;