/* eslint-disable */
/* prettier-ignore */
// Generated by elegant-router
// Read more: https://github.com/soybeanjs/elegant-router

import type { GeneratedRoute } from '@elegant-router/types';

export const generatedRoutes: GeneratedRoute[] = [
  {
    name: '403',
    path: '/403',
    component: 'layout.blank$view.403',
    meta: {
      title: '403',
      i18nKey: 'route.403',
      constant: true,
      hideInMenu: true
    }
  },
  {
    name: '404',
    path: '/404',
    component: 'layout.blank$view.404',
    meta: {
      title: '404',
      i18nKey: 'route.404',
      constant: true,
      hideInMenu: true
    }
  },
  {
    name: '500',
    path: '/500',
    component: 'layout.blank$view.500',
    meta: {
      title: '500',
      i18nKey: 'route.500',
      constant: true,
      hideInMenu: true
    }
  },
  {
    name: 'goods-center',
    path: '/goods-center',
    component: 'layout.base',
    meta: {
      title: 'goods-center',
      i18nKey: 'route.goods-center'
    },
    children: [
      {
        name: 'goods-center_type-admin',
        path: '/goods-center/type-admin',
        component: 'view.goods-center_type-admin',
        meta: {
          title: 'goods-center_type-admin',
          i18nKey: 'route.goods-center_type-admin'
        }
      }
    ]
  },
  {
    name: 'government',
    path: '/government',
    component: 'layout.base',
    meta: {
      title: 'government',
      i18nKey: 'route.government'
    },
    children: [
      {
        name: 'government_government-list',
        path: '/government/government-list',
        component: 'view.government_government-list',
        meta: {
          title: 'government_government-list',
          i18nKey: 'route.government_government-list'
        }
      },
      {
        name: 'government_points',
        path: '/government/points',
        component: 'view.government_points',
        meta: {
          title: 'government_points',
          i18nKey: 'route.government_points'
        }
      },
      {
        name: 'government_user-list',
        path: '/government/user-list',
        component: 'view.government_user-list',
        meta: {
          title: 'government_user-list',
          i18nKey: 'route.government_user-list'
        }
      }
    ]
  },
  {
    name: 'home',
    path: '/home',
    component: 'layout.base$view.home',
    meta: {
      title: 'home',
      i18nKey: 'route.home'
    }
  },
  {
    name: 'iframe-page',
    path: '/iframe-page/:url',
    component: 'layout.base$view.iframe-page',
    props: true,
    meta: {
      title: 'iframe-page',
      i18nKey: 'route.iframe-page',
      constant: true,
      hideInMenu: true,
      keepAlive: true
    }
  },
  {
    name: 'login',
    path: '/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?',
    component: 'layout.blank$view.login',
    props: true,
    meta: {
      title: 'login',
      i18nKey: 'route.login',
      constant: true,
      hideInMenu: true
    }
  },
  {
    name: 'manage',
    path: '/manage',
    component: 'layout.base',
    meta: {
      title: 'manage',
      i18nKey: 'route.manage',
      icon: 'carbon:cloud-service-management',
      order: 9,
      roles: ['R_ADMIN']
    },
    children: [
      {
        name: 'manage_config',
        path: '/manage/config',
        component: 'view.manage_config',
        meta: {
          title: 'manage_config',
          i18nKey: 'route.manage_config'
        }
      },
      {
        name: 'manage_department',
        path: '/manage/department',
        component: 'view.manage_department',
        meta: {
          title: 'manage_department',
          i18nKey: 'route.manage_department'
        }
      },
      {
        name: 'manage_dict',
        path: '/manage/dict',
        component: 'view.manage_dict',
        meta: {
          title: 'manage_dict',
          i18nKey: 'route.manage_dict'
        }
      },
      {
        name: 'manage_log',
        path: '/manage/log',
        component: 'view.manage_log',
        meta: {
          title: 'manage_log',
          i18nKey: 'route.manage_log'
        }
      },
      {
        name: 'manage_menu',
        path: '/manage/menu',
        component: 'view.manage_menu',
        meta: {
          title: 'manage_menu',
          i18nKey: 'route.manage_menu',
          icon: 'material-symbols:route',
          order: 3,
          roles: ['R_ADMIN'],
          keepAlive: true
        }
      },
      {
        name: 'manage_role',
        path: '/manage/role',
        component: 'view.manage_role',
        meta: {
          title: 'manage_role',
          i18nKey: 'route.manage_role',
          icon: 'carbon:user-role',
          order: 2,
          roles: ['R_SUPER']
        }
      },
      {
        name: 'manage_schedule',
        path: '/manage/schedule',
        component: 'view.manage_schedule',
        meta: {
          title: 'manage_schedule',
          i18nKey: 'route.manage_schedule'
        }
      },
      {
        name: 'manage_user',
        path: '/manage/user',
        component: 'view.manage_user',
        meta: {
          title: 'manage_user',
          i18nKey: 'route.manage_user',
          icon: 'ic:round-manage-accounts',
          order: 1,
          roles: ['R_ADMIN']
        }
      }
    ]
  },
  {
    name: 'test',
    path: '/test',
    component: 'layout.base$view.test',
    meta: {
      title: 'test',
      i18nKey: 'route.test'
    }
  },
  {
    name: 'user-center',
    path: '/user-center',
    component: 'layout.base$view.user-center',
    meta: {
      title: 'user-center',
      i18nKey: 'route.user-center',
      hideInMenu: true
    }
  },
  {
    name: 'user-management',
    path: '/user-management',
    component: 'layout.base',
    meta: {
      title: 'user-management',
      i18nKey: 'route.user-management'
    },
    children: [
      {
        name: 'user-management_user-list',
        path: '/user-management/user-list',
        component: 'view.user-management_user-list',
        meta: {
          title: 'user-management_user-list',
          i18nKey: 'route.user-management_user-list'
        }
      }
    ]
  }
];
