const IndicatorByPlan = () =>
  import("@/modules/01_masterdata/views/indicatorByPlan.vue");
const IndicatorByPlanDetail = () =>
  import(
    "@/modules/01_masterdata/components/Indicators/indicatorByPlan/DetailView.vue"
  );
const IndicatorByRole = () =>
  import("@/modules/01_masterdata/views/indicatorByRole.vue");
const IndicatorByRoleDetail = () =>
  import(
    "@/modules/01_masterdata/components/Indicators/indicatorByRole/DetailView.vue"
  );
const competencyPage = () =>
  import("@/modules/01_masterdata/views/competency.vue");
const competencyAddPage = () =>
  import("@/modules/01_masterdata/components/competency/AddPage.vue");
const competencyDetailPage = () =>
  import("@/modules/01_masterdata/components/competency/AddPage.vue");
const StrategicView = () =>
  import("@/modules/01_masterdata/views/Strategic.vue");
const AssignmentView = () =>
  import("@/modules/01_masterdata/views/Assignment.vue");
const AssignmentDetailView = () =>
  import(
    "@/modules/01_masterdata/components/Indicators/Assignment/DetailView.vue"
  );

export default [
  {
    path: "/masterdata/indicator-plan",
    name: "KPIIndicatorByPlan",
    component: IndicatorByPlan,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INDICATOR",
      Role: "STAFF",
    },
  },

  {
    path: "/masterdata/indicator-plan/add",
    name: "KPIIndicatorByPlan/Add",
    component: IndicatorByPlanDetail,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INDICATOR",
      Role: "STAFF",
    },
  },
  {
    path: "/masterdata/indicator-plan/:id",
    name: "KPIIndicatorByPlanByid",
    component: IndicatorByPlanDetail,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INDICATOR",
      Role: "STAFF",
    },
  },
  {
    path: "/masterdata/indicator-plan/view/:id",
    name: "KPIIndicatorByPlanView",
    component: IndicatorByPlanDetail,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INDICATOR",
      Role: "STAFF",
    },
  },
  {
    path: "/masterdata/indicator-role",
    name: "KPIIndicatorByRole",
    component: IndicatorByRole,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INDICATOR",
      Role: "STAFF",
    },
  },
  {
    path: "/masterdata/indicator-role/add",
    name: "KPIIndicatorByRoleAdd",
    component: IndicatorByRoleDetail,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INDICATOR",
      Role: "STAFF",
    },
  },
  {
    path: "/masterdata/indicator-role/:id",
    name: "KPIIndicatorByRoleByid",
    component: IndicatorByRoleDetail,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INDICATOR",
      Role: "STAFF",
    },
  },
  {
    path: "/masterdata/indicator-role/view/:id",
    name: "KPIIndicatorByRoleView",
    component: IndicatorByRoleDetail,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INDICATOR",
      Role: "STAFF",
    },
  },
  {
    path: "/masterdata/competency",
    name: "KPICompetency",
    component: competencyPage,
    meta: {
      Auth: true,
      Key: "SYS_EVA_COMPETENCY",
      Role: "STAFF",
    },
  },
  {
    path: "/masterdata/competency/add",
    name: "KPICompetencyAdd",
    component: competencyAddPage,
    meta: {
      Auth: true,
      Key: "SYS_EVA_COMPETENCY",
      Role: "STAFF",
    },
  },
  {
    path: "/masterdata/competency/:id",
    name: "KPICompetencyByid",
    component: competencyAddPage,
    meta: {
      Auth: true,
      Key: "SYS_EVA_COMPETENCY",
      Role: "STAFF",
    },
  },
  {
    path: "/masterdata/competency-detail/:id",
    name: "KPICompetencyDetailByid",
    component: competencyDetailPage,
    meta: {
      Auth: true,
      Key: "SYS_EVA_COMPETENCY",
      Role: "STAFF",
    },
  },

  {
    path: "/masterdata/strategic",
    name: "strategic",
    component: StrategicView,
    meta: {
      Auth: true,
      Key: "SYS_EVA_STRATIGIC",
      Role: "STAFF",
    },
  },
  {
    path: "/masterdata/indicator-assignment",
    name: "KPIAssignment",
    component: AssignmentView,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INDICATOR",
      Role: "STAFF",
    },
  },
  {
    path: "/masterdata/indicator-assignment/:id",
    name: "KPIAssignmentById",
    component: AssignmentDetailView,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INDICATOR",
      Role: "STAFF",
    },
  },
];
