592 lines
15 KiB
TypeScript
592 lines
15 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: 'headphone',
|
|
path: '/headphone',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'headphone',
|
|
i18nKey: 'route.headphone',
|
|
icon: 'mdi:headphones',
|
|
order: 2
|
|
},
|
|
children: [
|
|
{
|
|
name: 'headphone_brand',
|
|
path: '/headphone/brand',
|
|
component: 'view.headphone_brand',
|
|
meta: {
|
|
title: 'headphone_brand',
|
|
i18nKey: 'route.headphone_brand',
|
|
icon: 'mdi:tag-multiple-outline',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'headphone_impedance',
|
|
path: '/headphone/impedance',
|
|
component: 'view.headphone_impedance',
|
|
meta: {
|
|
title: 'headphone_impedance',
|
|
i18nKey: 'route.headphone_impedance',
|
|
icon: 'mdi:omega',
|
|
order: 3,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'headphone_model',
|
|
path: '/headphone/model',
|
|
component: 'view.headphone_model',
|
|
meta: {
|
|
title: 'headphone_model',
|
|
i18nKey: 'route.headphone_model',
|
|
icon: 'mdi:earbuds',
|
|
order: 2,
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'home',
|
|
path: '/home',
|
|
component: 'layout.base$view.home',
|
|
meta: {
|
|
title: 'home',
|
|
i18nKey: 'route.home',
|
|
icon: 'mdi:monitor-dashboard',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
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: 'meilisearch',
|
|
path: '/meilisearch',
|
|
component: 'layout.base$view.meilisearch',
|
|
meta: {
|
|
title: 'meilisearch',
|
|
i18nKey: 'route.meilisearch',
|
|
icon: 'simple-icons:meilisearch',
|
|
order: 8,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'share-code',
|
|
path: '/share-code',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'share-code',
|
|
i18nKey: 'route.share-code',
|
|
icon: 'mdi:share-variant-outline',
|
|
order: 4
|
|
},
|
|
children: [
|
|
{
|
|
name: 'share-code_log',
|
|
path: '/share-code/log',
|
|
component: 'view.share-code_log',
|
|
meta: {
|
|
title: 'share-code_log',
|
|
i18nKey: 'route.share-code_log',
|
|
icon: 'mdi:file-document-outline',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'system',
|
|
path: '/system',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'system',
|
|
i18nKey: 'route.system',
|
|
icon: 'mdi:cog-outline',
|
|
order: 5,
|
|
hideInMenu: true
|
|
},
|
|
children: [
|
|
{
|
|
name: 'system_users',
|
|
path: '/system/users',
|
|
component: 'view.system_users',
|
|
meta: {
|
|
title: 'system_users',
|
|
i18nKey: 'route.system_users',
|
|
icon: 'mdi:account-cog-outline',
|
|
order: 1,
|
|
roles: ['R_SUPER'],
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'toolbox',
|
|
path: '/toolbox',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'toolbox',
|
|
i18nKey: 'route.toolbox',
|
|
icon: 'mdi:toolbox-outline',
|
|
order: 6
|
|
},
|
|
children: [
|
|
{
|
|
name: 'toolbox_luxsin-controller',
|
|
path: '/toolbox/luxsin-controller',
|
|
component: 'view.toolbox_luxsin-controller',
|
|
meta: {
|
|
title: 'toolbox_luxsin-controller',
|
|
i18nKey: 'route.toolbox_luxsin-controller',
|
|
icon: 'mdi:tune-vertical',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'upgrade',
|
|
path: '/upgrade',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'upgrade',
|
|
i18nKey: 'route.upgrade',
|
|
icon: 'mdi:package-up',
|
|
order: 3
|
|
},
|
|
children: [
|
|
{
|
|
name: 'upgrade_blacklist',
|
|
path: '/upgrade/blacklist',
|
|
component: 'view.upgrade_blacklist',
|
|
meta: {
|
|
title: 'upgrade_blacklist',
|
|
i18nKey: 'route.upgrade_blacklist',
|
|
icon: 'mdi:account-cancel-outline',
|
|
order: 3,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'upgrade_ota',
|
|
path: '/upgrade/ota',
|
|
component: 'view.upgrade_ota',
|
|
meta: {
|
|
title: 'upgrade_ota',
|
|
i18nKey: 'route.upgrade_ota',
|
|
icon: 'mdi:cellphone-arrow-down',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'upgrade_ota-target-device',
|
|
path: '/upgrade/ota-target-device',
|
|
component: 'view.upgrade_ota-target-device',
|
|
meta: {
|
|
title: 'upgrade_ota-target-device',
|
|
i18nKey: 'route.upgrade_ota-target-device',
|
|
icon: 'mdi:crosshairs-gps',
|
|
order: 2,
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'www',
|
|
path: '/www',
|
|
component: 'layout.base',
|
|
meta: {
|
|
title: 'www',
|
|
i18nKey: 'route.www',
|
|
icon: 'iconoir:www',
|
|
order: 7
|
|
},
|
|
children: [
|
|
{
|
|
name: 'www_contact',
|
|
path: '/www/contact',
|
|
meta: {
|
|
title: 'www_contact',
|
|
i18nKey: 'route.www_contact',
|
|
icon: 'mdi:email-outline',
|
|
order: 8
|
|
},
|
|
children: [
|
|
{
|
|
name: 'www_contact_settings',
|
|
path: '/www/contact/settings',
|
|
component: 'view.www_contact_settings',
|
|
meta: {
|
|
title: 'www_contact_settings',
|
|
i18nKey: 'route.www_contact_settings',
|
|
icon: 'mdi:form-textbox',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'www_contact_submissions',
|
|
path: '/www/contact/submissions',
|
|
component: 'view.www_contact_submissions',
|
|
meta: {
|
|
title: 'www_contact_submissions',
|
|
i18nKey: 'route.www_contact_submissions',
|
|
icon: 'mdi:inbox-outline',
|
|
order: 2,
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'www_global',
|
|
path: '/www/global',
|
|
meta: {
|
|
title: 'www_global',
|
|
i18nKey: 'route.www_global',
|
|
icon: 'mdi:application-cog-outline',
|
|
order: 1
|
|
},
|
|
children: [
|
|
{
|
|
name: 'www_global_basic',
|
|
path: '/www/global/basic',
|
|
component: 'view.www_global_basic',
|
|
meta: {
|
|
title: 'www_global_basic',
|
|
i18nKey: 'route.www_global_basic',
|
|
icon: 'mdi:information-outline',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'www_global_footer',
|
|
path: '/www/global/footer',
|
|
component: 'view.www_global_footer',
|
|
meta: {
|
|
title: 'www_global_footer',
|
|
i18nKey: 'route.www_global_footer',
|
|
icon: 'mdi:page-layout-footer',
|
|
order: 2,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'www_global_seo',
|
|
path: '/www/global/seo',
|
|
component: 'view.www_global_seo',
|
|
meta: {
|
|
title: 'www_global_seo',
|
|
i18nKey: 'route.www_global_seo',
|
|
icon: 'mdi:magnify',
|
|
order: 4,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'www_global_social',
|
|
path: '/www/global/social',
|
|
component: 'view.www_global_social',
|
|
meta: {
|
|
title: 'www_global_social',
|
|
i18nKey: 'route.www_global_social',
|
|
icon: 'mdi:share-variant-outline',
|
|
order: 3,
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'www_i18n',
|
|
path: '/www/i18n',
|
|
component: 'view.www_i18n',
|
|
meta: {
|
|
title: 'www_i18n',
|
|
i18nKey: 'route.www_i18n',
|
|
icon: 'mdi:translate',
|
|
order: 7,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'www_media',
|
|
path: '/www/media',
|
|
component: 'view.www_media',
|
|
meta: {
|
|
title: 'www_media',
|
|
i18nKey: 'route.www_media',
|
|
icon: 'mdi:image-multiple-outline',
|
|
order: 6,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'www_nav',
|
|
path: '/www/nav',
|
|
meta: {
|
|
title: 'www_nav',
|
|
i18nKey: 'route.www_nav',
|
|
icon: 'mdi:menu',
|
|
order: 2
|
|
},
|
|
children: [
|
|
{
|
|
name: 'www_nav_appearance',
|
|
path: '/www/nav/appearance',
|
|
component: 'view.www_nav_appearance',
|
|
meta: {
|
|
title: 'www_nav_appearance',
|
|
i18nKey: 'route.www_nav_appearance',
|
|
icon: 'mdi:palette-outline',
|
|
order: 2,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'www_nav_items',
|
|
path: '/www/nav/items',
|
|
component: 'view.www_nav_items',
|
|
meta: {
|
|
title: 'www_nav_items',
|
|
i18nKey: 'route.www_nav_items',
|
|
icon: 'mdi:format-list-bulleted',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'www_news',
|
|
path: '/www/news',
|
|
meta: {
|
|
title: 'www_news',
|
|
i18nKey: 'route.www_news',
|
|
icon: 'mdi:newspaper-variant-multiple-outline',
|
|
order: 5
|
|
},
|
|
children: [
|
|
{
|
|
name: 'www_news_articles',
|
|
path: '/www/news/articles',
|
|
component: 'view.www_news_articles',
|
|
meta: {
|
|
title: 'www_news_articles',
|
|
i18nKey: 'route.www_news_articles',
|
|
icon: 'fluent-mdl2:articles',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'www_page',
|
|
path: '/www/page',
|
|
meta: {
|
|
title: 'www_page',
|
|
i18nKey: 'route.www_page',
|
|
icon: 'mdi:file-document-outline',
|
|
order: 3
|
|
},
|
|
children: [
|
|
{
|
|
name: 'www_page_about',
|
|
path: '/www/page/about',
|
|
component: 'view.www_page_about',
|
|
meta: {
|
|
title: 'www_page_about',
|
|
i18nKey: 'route.www_page_about',
|
|
icon: 'mdi:account-group-outline',
|
|
order: 4,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'www_page_home',
|
|
path: '/www/page/home',
|
|
component: 'view.www_page_home',
|
|
meta: {
|
|
title: 'www_page_home',
|
|
i18nKey: 'route.www_page_home',
|
|
icon: 'mdi:home-outline',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'www_page_news-list',
|
|
path: '/www/page/news-list',
|
|
component: 'view.www_page_news-list',
|
|
meta: {
|
|
title: 'www_page_news-list',
|
|
i18nKey: 'route.www_page_news-list',
|
|
icon: 'mdi:newspaper-variant-outline',
|
|
order: 3,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'www_page_product-list',
|
|
path: '/www/page/product-list',
|
|
component: 'view.www_page_product-list',
|
|
meta: {
|
|
title: 'www_page_product-list',
|
|
i18nKey: 'route.www_page_product-list',
|
|
icon: 'mdi:format-list-bulleted-square',
|
|
order: 2,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'www_page_support',
|
|
path: '/www/page/support',
|
|
component: 'view.www_page_support',
|
|
meta: {
|
|
title: 'www_page_support',
|
|
i18nKey: 'route.www_page_support',
|
|
icon: 'mdi:lifebuoy',
|
|
order: 5,
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
name: 'www_page-seo',
|
|
path: '/www/page-seo',
|
|
component: 'view.www_page-seo',
|
|
meta: {
|
|
title: 'www_page-seo',
|
|
i18nKey: 'route.www_page-seo',
|
|
icon: 'mdi:search-web',
|
|
order: 9,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'www_product',
|
|
path: '/www/product',
|
|
meta: {
|
|
title: 'www_product',
|
|
i18nKey: 'route.www_product',
|
|
icon: 'mdi:package-variant-closed',
|
|
order: 4
|
|
},
|
|
children: [
|
|
{
|
|
name: 'www_product_detail',
|
|
path: '/www/product/detail',
|
|
component: 'view.www_product_detail',
|
|
meta: {
|
|
title: 'www_product_detail',
|
|
i18nKey: 'route.www_product_detail',
|
|
icon: 'mdi:file-document-edit-outline',
|
|
order: 3,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'www_product_list',
|
|
path: '/www/product/list',
|
|
component: 'view.www_product_list',
|
|
meta: {
|
|
title: 'www_product_list',
|
|
i18nKey: 'route.www_product_list',
|
|
icon: 'mdi:view-list-outline',
|
|
order: 2,
|
|
keepAlive: true
|
|
}
|
|
},
|
|
{
|
|
name: 'www_product_series',
|
|
path: '/www/product/series',
|
|
component: 'view.www_product_series',
|
|
meta: {
|
|
title: 'www_product_series',
|
|
i18nKey: 'route.www_product_series',
|
|
icon: 'mdi:layers-outline',
|
|
order: 1,
|
|
keepAlive: true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
];
|