soybean-admin/src/router/elegant/routes.ts

175 lines
3.5 KiB
TypeScript

/* 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: 'favorite',
path: '/favorite',
component: 'layout.base$view.favorite',
meta: {
title: 'favorite',
i18nKey: 'route.favorite',
order: 3,
icon: 'clarity:favorite-line',
pageType: 'pan'
}
},
{
name: 'home',
path: '/home',
component: 'layout.base$view.home',
meta: {
title: 'home',
i18nKey: 'route.home',
icon: 'mdi:monitor-dashboard',
order: 1,
pageType: 'admin'
}
},
{
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: 'pan',
path: '/pan',
component: 'layout.base$view.pan',
meta: {
title: 'pan',
i18nKey: 'route.pan',
order: 1,
icon: 'carbon:folder',
pageType: 'pan'
}
},
{
name: 'recently',
path: '/recently',
component: 'layout.base$view.recently',
meta: {
title: 'recently',
i18nKey: 'route.recently',
order: 4,
icon: 'carbon:recently-viewed',
pageType: 'pan'
}
},
{
name: 'recycle',
path: '/recycle',
component: 'layout.base$view.recycle',
meta: {
title: 'recycle',
i18nKey: 'route.recycle',
order: 5,
icon: 'carbon:recycle',
pageType: 'pan'
}
},
{
name: 'share',
path: '/share',
component: 'layout.base',
meta: {
title: 'share',
i18nKey: 'route.share',
order: 2,
icon: 'carbon:share',
pageType: 'pan'
},
children: [
{
name: 'share_group',
path: '/share/group',
component: 'view.share_group',
meta: {
title: 'share_group',
i18nKey: 'route.share_group',
order: 2,
icon: 'carbon:group'
}
},
{
name: 'share_me',
path: '/share/me',
component: 'view.share_me',
meta: {
title: 'share_me',
i18nKey: 'route.share_me',
order: 1,
icon: 'streamline:information-desk-customer'
}
},
{
name: 'share_public',
path: '/share/public',
component: 'view.share_public',
meta: {
title: 'share_public',
i18nKey: 'route.share_public',
order: 3,
icon: 'carbon:network-public'
}
}
]
}
];