const calendarWorkPage = () =>
  import("@/modules/01_metadataNew/views/calendar.vue");
const masterInsignia = () =>
  import("@/modules/01_metadataNew/views/insignia.vue");
const detailInsignia = () =>
  import("@/modules/01_metadataNew/components/insignia/InsigniaDetail.vue");
const personalPage = () =>
  import("@/modules/01_metadataNew/views/personal.vue");
const positionPage = () =>
  import("@/modules/01_metadataNew/views/position.vue");
const positionLevelPage = () =>
  import("@/modules/01_metadataNew/components/position/03ListLevel.vue");
const positionEmployeePage = () =>
  import("@/modules/01_metadataNew/views/positionEmployee.vue");
const positionEmployeeLevelPage = () =>
  import(
    "@/modules/01_metadataNew/components/position-employee/03ListLevel.vue"
  );

export default [
  {
    path: "/master-data/calendar",
    name: "masterCalendarWork",
    component: calendarWorkPage,
    meta: {
      Auth: true,
      Key: [7],
      Role: "metadata",
    },
  },
  {
    path: "/master-data/insignia",
    name: "masterInsignia",
    component: masterInsignia,
    meta: {
      Auth: true,
      Key: [7],
      Role: "metadata",
    },
  },
  {
    path: "/master-data/insignia/detail/:id",
    name: "masterInsigniadetail",
    component: detailInsignia,
    meta: {
      Auth: true,
      Key: [7],
      Role: "metadata",
    },
  },
  {
    path: "/master-data/personal",
    name: "masterPersonal",
    component: personalPage,
    meta: {
      Auth: true,
      Key: [7],
      Role: "metadata",
    },
  },
  {
    path: "/master-data/position",
    name: "masterPosition",
    component: positionPage,
    meta: {
      Auth: true,
      Key: [7],
      Role: "metadata",
    },
  },
  {
    path: "/master-data/position/level/:id",
    name: "masterPositionLevel",
    component: positionLevelPage,
    meta: {
      Auth: true,
      Key: [9],
      Role: "metadata",
    },
  },
  {
    path: "/master-data/position-employee",
    name: "masterPositionEmployee",
    component: positionEmployeePage,
    meta: {
      Auth: true,
      Key: [8],
      Role: "metadata",
    },
  },
  {
    path: "/master-data/position-employee/level/:id",
    name: "masterPositionEmployeeLevel",
    component: positionEmployeeLevelPage,
    meta: {
      Auth: true,
      Key: [9],
      Role: "metadata",
    },
  },
];
