import React from 'react';
import { FormattedMessage } from 'react-intl';
import _ from 'lodash';
import "./index.less";
export default function (_ref) {
  var intlPrefix = _ref.intlPrefix,
      record = _ref.record,
      prefixCls = _ref.prefixCls,
      formatMessage = _ref.formatMessage;
  return /*#__PURE__*/React.createElement("ul", {
    className: "".concat(prefixCls, "-secret-detail-modal")
  }, /*#__PURE__*/React.createElement("li", {
    className: "detail-item"
  }, /*#__PURE__*/React.createElement("span", {
    className: "detail-item-text"
  }, formatMessage({
    id: 'createDate'
  })), /*#__PURE__*/React.createElement("span", null, record && record.get('creationDate') || '-')), /*#__PURE__*/React.createElement("li", {
    className: "detail-item"
  }, /*#__PURE__*/React.createElement("span", {
    className: "detail-item-text"
  }, formatMessage({
    id: 'creator'
  })), /*#__PURE__*/React.createElement("span", null, record && record.get('creatorName') || '-')), /*#__PURE__*/React.createElement("li", {
    className: "detail-item"
  }, /*#__PURE__*/React.createElement("span", {
    className: "detail-item-text"
  }, formatMessage({
    id: 'updateDate'
  })), /*#__PURE__*/React.createElement("span", null, record && record.get('lastUpdateDate') || '-')), /*#__PURE__*/React.createElement("li", {
    className: "detail-item"
  }, /*#__PURE__*/React.createElement("span", {
    className: "detail-item-text"
  }, formatMessage({
    id: 'updater'
  })), /*#__PURE__*/React.createElement("span", null, record && record.get('lastUpdaterName') || '-')));
}