"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getVersionList = exports.Versions = void 0;

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

var Versions;
exports.Versions = Versions;

(function (Versions) {
  Versions[Versions["Standard"] = 2] = "Standard";
  Versions[Versions["Okr"] = 10] = "Okr";
  Versions[Versions["WeixinAssess"] = 8] = "WeixinAssess";
  Versions[Versions["Professional"] = 9] = "Professional";
  Versions[Versions["Flagship"] = 6] = "Flagship";
  Versions[Versions["Reviews360"] = 11] = "Reviews360";
})(Versions || (exports.Versions = Versions = {}));

var getVersionList = function getVersionList() {
  return [{
    version: Versions.Standard,
    name: (0, _getLocale.getLocale)("Sw_ProEdition"),
    color: "blue",
    image: require("./images/project.png"),
    items: [(0, _getLocale.getLocale)("Pro_card_ProjectMilestone"), (0, _getLocale.getLocale)("Sw_ProManagement"), (0, _getLocale.getLocale)("Sw_ProBreakdown"), (0, _getLocale.getLocale)("Sw_RepStatistics"), (0, _getLocale.getLocale)("Sw_WorkStatistics")]
  }, {
    version: Versions.WeixinAssess,
    name: (0, _getLocale.getLocale)("Sw_PerformEdition"),
    color: "green",
    image: require("./images/performance-exam.png"),
    items: [(0, _getLocale.getLocale)("Per_Menu_Title_Assessmenttempla"), (0, _getLocale.getLocale)("Ono_Pro_Oneonones"), (0, _getLocale.getLocale)("Sw_360Feedback"), (0, _getLocale.getLocale)("Sw_PeStatistics"), (0, _getLocale.getLocale)("HRBP_Performance_calibration")]
  }, {
    version: Versions.Professional,
    name: (0, _getLocale.getLocale)("Sw_OKRsEdition"),
    // subName:'包含以下 2 个版本全部功能',
    color: "yellow",
    image: require("./images/okre.png"),
    items: [(0, _getLocale.getLocale)("Sw_OKRManagement"), (0, _getLocale.getLocale)("Sw_OKRAlignment"), (0, _getLocale.getLocale)("OKR_Menu_Title_OKRWork"), (0, _getLocale.getLocale)("OKR_Menu_Title_Dashboard"), (0, _getLocale.getLocale)("Sw_ProjectsPrograms")]
  }, {
    version: Versions.Flagship,
    name: (0, _getLocale.getLocale)("Sw_FlagshipEdit"),
    subName: (0, _getLocale.getLocale)("OKR_Performance_Manage"),
    color: "purple",
    image: require("./images/okr-purple.png"),
    items: [(0, _getLocale.getLocale)("OKR_Flagship_Content")]
  }];
};

exports.getVersionList = getVersionList;