"use strict";

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

(function (Versions) {
  Versions[Versions["OKR"] = 9] = "OKR";
  Versions[Versions["PERFORMANCE"] = 8] = "PERFORMANCE";
  Versions[Versions["SURVEY"] = 11] = "SURVEY";
  Versions[Versions["SENIOR_PERFORMANCE"] = 12] = "SENIOR_PERFORMANCE";
  Versions[Versions["UTIMATE"] = 6] = "UTIMATE";
  Versions[Versions["SENIOR_UTIMATE"] = 13] = "SENIOR_UTIMATE";
  Versions[Versions["PERFORMANCE_E"] = 14] = "PERFORMANCE_E";
  Versions[Versions["PROJECT"] = 2] = "PROJECT";
})(Versions || (exports.Versions = Versions = {}));

var getVersionList = function getVersionList() {
  return [{
    version: Versions.OKR,
    name: "OKRs-E 专业版",
    key: "okr",
    image: require("./images/okr.png"),
    itemType: 'normal',
    items: ['OKR 目标管理版', 'OKR 目标地图', 'OKR 工作法', 'OKR 仪表盘', '项目与计划管理']
  }, {
    version: Versions.PERFORMANCE,
    name: "绩效宝",
    key: 'performance',
    image: require("./images/performance.png"),
    itemType: 'normal',
    items: ['考核模板', '绩效面谈', '360 评价', '绩效统计', 'HRBP 绩效校准']
  }, {
    version: Versions.UTIMATE,
    name: '旗舰版',
    key: 'utimate',
    image: require("./images/utimate.png"),
    itemType: 'tag',
    items: [{
      title: 'OKRs-E 专业版',
      image: require("./images/mini-okr.png")
    }, {
      title: '绩效宝',
      image: require("./images/mini-performance.png")
    }, {
      title: '项目与计划管理',
      image: require("./images/mini-project.png")
    }]
  }, {
    version: Versions.SURVEY,
    name: '360 专业版',
    key: 'survey',
    image: require("./images/survey.png"),
    itemType: 'normal',
    items: ['极致作答体验', '多种报告分析', '评估问卷库', '自动获取评估人', '自动匹配权重']
  }, {
    version: Versions.PERFORMANCE_E,
    name: '绩效执行版',
    key: 'performance-e',
    image: require("./images/performance-e.png"),
    itemType: 'tag',
    items: [{
      title: '绩效宝',
      image: require("./images/mini-performance.png")
    }, {
      title: '项目与计划管理',
      image: require("./images/mini-project.png")
    }]
  }, {
    version: Versions.SENIOR_PERFORMANCE,
    name: '绩效高级版',
    key: 'senior-performance',
    image: require("./images/senior-performance.png"),
    itemType: 'tag',
    items: [{
      title: '绩效宝',
      image: require("./images/mini-performance.png")
    }, {
      title: '360 专业版',
      image: require("./images/mini-survey.png")
    }]
  }, {
    version: Versions.SENIOR_UTIMATE,
    name: '旗舰增强版',
    key: 'senior-utimate',
    image: require("./images/senior-utimate.png"),
    itemType: 'tag',
    items: [{
      title: 'OKRs-E 专业版',
      image: require("./images/mini-okr.png")
    }, {
      title: '绩效宝',
      image: require("./images/mini-performance.png")
    }, {
      title: '项目与计划管理',
      image: require("./images/mini-project.png")
    }, {
      title: '360 专业版',
      image: require("./images/mini-survey.png")
    }]
  }];
};

exports.getVersionList = getVersionList;