"use strict";

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

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

var getStatusTextMapping = function getStatusTextMapping(status) {
  var statusMapText = {
    delay: (0, _getLocale.getLocale)("OKR_MyO_Postoned"),
    normal: (0, _getLocale.getLocale)("Pro_page_Mil_Normal"),
    risk: (0, _getLocale.getLocale)("Pro_page_Mil_Existingrisk"),
    end: (0, _getLocale.getLocale)("OKR_MyO_E_From_Completed")
  };
  return statusMapText[status];
};

exports.getStatusTextMapping = getStatusTextMapping;

var getStatusColor = function getStatusColor(status) {
  var statusMapText = {
    delay: "#F05E5E",
    normal: "#2879ff",
    risk: "#F6BD16",
    end: "BFC7D5"
  };
  return statusMapText[status];
};

exports.getStatusColor = getStatusColor;
var _default = {
  getStatusTextMapping: getStatusTextMapping,
  getStatusColor: getStatusColor
};
exports["default"] = _default;