"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _react = _interopRequireDefault(require("react"));

var _classnames = _interopRequireDefault(require("classnames"));

var _getLocale = require("../../utils/getLocale");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var preCls = "weekly-report-card__statistics";

function Statistics(_ref) {
  var data = _ref.data;
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: preCls
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: (0, _classnames["default"])("".concat(preCls, "__item"), "".concat(preCls, "__finish"))
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: "".concat(preCls, "__num")
  }, data.TaskNum), /*#__PURE__*/_react["default"].createElement("div", {
    className: "".concat(preCls, "__text")
  }, (0, _getLocale.getLocale)("Rep_Tab_Mys_Completeask"))), /*#__PURE__*/_react["default"].createElement("div", {
    className: (0, _classnames["default"])("".concat(preCls, "__item"), "".concat(preCls, "__praise"))
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: "".concat(preCls, "__num")
  }, data.LoveNum), /*#__PURE__*/_react["default"].createElement("div", {
    className: "".concat(preCls, "__text")
  }, "\u83B7\u5F97\u70B9\u8D5E"), data.LoveTopNum && data.LoveTopNum != "0" && /*#__PURE__*/_react["default"].createElement("div", {
    className: "".concat(preCls, "__tips")
  }, "Top", data.LoveTopNum)), /*#__PURE__*/_react["default"].createElement("div", {
    className: (0, _classnames["default"])("".concat(preCls, "__item"), "".concat(preCls, "__communication"))
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: "".concat(preCls, "__num")
  }, data.Lnteraction), /*#__PURE__*/_react["default"].createElement("div", {
    className: "".concat(preCls, "__text")
  }, "\u53C2\u4E0E\u4E92\u52A8")));
}

var _default = Statistics;
exports["default"] = _default;