/**
 * Router  (coin)
 */

const Main = () => import("@/modules/09_coin/views/Main.vue");
const CoinHistory = () => import("@/modules/09_coin/components/Coin.vue");
const coinProposals = () =>
  import("@/modules/09_coin/components/1_Proposals/listProposals.vue");
const coinRoundAdd = () =>
  import("@/modules/09_coin/components/1_Proposals/addProposals.vue");
const coinRequestMain = () => import("@/modules/09_coin/components/CoinRequest/coinRequestMain.vue")
const coinAllocateMain = () => import("@/modules/09_coin/components/coinAllocate/coinAllocateMain.vue")
const coinAllocateAdd = () => import("@/modules/09_coin/components/coinAllocate/coinAllocateAdd.vue")
const coinAllocateDetail = () => import("@/modules/09_coin/components/coinAllocate/coinAllocateDetail.vue")
const coinAllocateDetailAdd = () => import("@/modules/09_coin/components/coinAllocate/coinAllocateDetailAdd.vue")
const coinReport = () => import("@/modules/09_coin/components/coinReport/coinReportMain.vue")
const coinReportDetail = () => import("@/modules/09_coin/components/coinReport/coinReportDetail.vue")
const mainMange = () => import("@/modules/09_coin/components/2_Manage/Main.vue");
const mainReceive = () => import("@/modules/09_coin/components/3_Receive/Main.vue");
const mainPayment = () => import("@/modules/09_coin/components/4_Payment/Main.vue");
export default [
  {
    path: "/coin",
    name: "coin",
    component: Main,
    meta: {
      Auth: true,
      Key: [8.2],
      Role: "coin",
    },
  },
  {
    path: "/coin/round-proposals",
    name: "coinProposals",
    component: coinProposals,
    meta: {
      Auth: true,
      Key: [8.2],
      Role: "coin",
    },
  },
  {
    path: "/coin/round-add",
    name: "coinRoundAdd",
    component: coinRoundAdd,
    meta: {
      Auth: true,
      Key: [8.2],
      Role: "coin",
    },
  },
  {
    path: "/coin/round-add/:id",
    name: "coinRoundEdit",
    component: coinRoundAdd,
    meta: {
      Auth: true,
      Key: [8.2],
      Role: "coin",
    },
  },
  {
    path: "/coin/history",
    name: "coinHistory",
    component: CoinHistory,
    meta: {
      Auth: true,
      Key: [8.2],
      Role: "coin",
    },
  },
  {
    path: "/coin/request",
    name: "coinRequest",
    component: coinRequestMain,
    meta: {
      Auth: true,
      Key: [8.2],
      Role: "coin",
    },
  },
  {
    path: "/coin/manage",
    name: "coinManage",
    component: mainMange,
    meta: {
      Auth: true,
      Key: [8.2],
      Role: "coin",
    },
  },
  {
    path: "/coin/allocate/list-allocate",
    name: "coinAllocate",
    component: coinAllocateMain,
    meta: {
      Auth: true,
      Key: [8.2],
      Role: "coin",
    },
  },
  {
    path: "/coin/receive",
    name: "coinReceive",
    component: mainReceive,
    meta: {
      Auth: true,
      Key: [8.2],
      Role: "coin",
    },
  },
  {
    path: "/coin/allocate/allocate-add",
    name: "coinAllocate-Add",
    component: coinAllocateAdd,
    meta: {
      Auth: true,
      Key: [8.2],
      Role: "coin",
    },
  },
  {
    path: "/coin/allocate/detail/:id",
    name: "coinAllocate-detail",
    component: coinAllocateDetail,
    meta: {
      Auth: true,
      Key: [8.2],
      Role: "coin",
    },
  },
  {
    path: "/coin/allocate/detail-add",
    name: "coinAllocate-detailAdd",
    component: coinAllocateDetailAdd,
    meta: {
      Auth: true,
      Key: [8.2],
      Role: "coin",
    },
  },
  {
    path: "/coin/coinReport",
    name: "coinReport",
    component: coinReport,
    meta: {
      Auth: true,
      Key: [8.2],
      Role: "coin",
    },
  },
  {
    path: "/coin/coinReport/detail",
    name: "coinReportDetail",
    component: coinReportDetail,
    meta: {
      Auth: true,
      Key: [8.2],
      Role: "coin",
    },
  },
  {    path: "/coin/payment",
    name: "coinPayment",
    component: mainPayment,
    meta: {
      Auth: true,
      Key: [8.2],
      Role: "coin",
    },
  },
];
