"use strict";

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

var _interface = require("./interface");

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

var getReportTemplateColor = function getReportTemplateColor(type) {
  var _color;

  var color = (_color = {}, _defineProperty(_color, _interface.EReportType.Daily, {
    bg: "#2879FF",
    contentBg: "rgba(40, 121, 255, 0.2)"
  }), _defineProperty(_color, _interface.EReportType.Weekly, {
    bg: "#5AD8A6",
    contentBg: "rgba(90, 216, 166, 0.2)"
  }), _defineProperty(_color, _interface.EReportType.Month, {
    bg: "#F6BD16",
    contentBg: "rgba(246, 189, 22, 0.2)"
  }), _color);
  return color[type];
};

exports.getReportTemplateColor = getReportTemplateColor;
var _default = {
  getReportTemplateColor: getReportTemplateColor
};
exports["default"] = _default;