import { transformRecordToOption } from '@/utils/common'; export const GLOBAL_HEADER_MENU_ID = '__GLOBAL_HEADER_MENU__'; export const GLOBAL_SIDER_MENU_ID = '__GLOBAL_SIDER_MENU__'; export const loginModuleRecord: Record = { 'code-login': 'page.login.codeLogin.title', 'pwd-login': 'page.login.pwdLogin.title', register: 'page.login.register.title', 'reset-pwd': 'page.login.resetPwd.title' }; export const themeLayoutModeRecord: Record = { horizontal: 'theme.layoutMode.horizontal', 'horizontal-mix': 'theme.layoutMode.horizontal-mix', vertical: 'theme.layoutMode.vertical', 'vertical-mix': 'theme.layoutMode.vertical-mix' }; export const themeLayoutModeOptions = transformRecordToOption(themeLayoutModeRecord); export const themeScrollModeRecord: Record = { content: 'theme.scrollMode.content', wrapper: 'theme.scrollMode.wrapper' }; export const themeScrollModeOptions = transformRecordToOption(themeScrollModeRecord); export const themeTabModeRecord: Record = { button: 'theme.tab.mode.button', chrome: 'theme.tab.mode.chrome' }; export const themeTabModeOptions = transformRecordToOption(themeTabModeRecord); export const themePageAnimationModeRecord: Record = { fade: 'theme.page.mode.fade', 'fade-bottom': 'theme.page.mode.fade-bottom', 'fade-scale': 'theme.page.mode.fade-scale', 'fade-slide': 'theme.page.mode.fade-slide', none: 'theme.page.mode.none', 'zoom-fade': 'theme.page.mode.zoom-fade', 'zoom-out': 'theme.page.mode.zoom-out' }; export const themePageAnimationModeOptions = transformRecordToOption(themePageAnimationModeRecord); export const info = `██████╗ ███████╗ █████╗ ██████╗████████╗███████╗ ██████╗ ██╗ ██╗██████╗ ███████╗ █████╗ ███╗ ██╗ ██╔══██╗██╔════╝██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔═══██╗╚██╗ ██╔╝██╔══██╗██╔════╝██╔══██╗████╗ ██║ ██████╔╝█████╗ ███████║██║ ██║ ███████╗██║ ██║ ╚████╔╝ ██████╔╝█████╗ ███████║██╔██╗ ██║ ██╔══██╗██╔══╝ ██╔══██║██║ ██║ ╚════██║██║ ██║ ╚██╔╝ ██╔══██╗██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██║███████╗██║ ██║╚██████╗ ██║ ███████║╚██████╔╝ ██║ ██████╔╝███████╗██║ ██║██║ ╚████║ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝`; export const DARK_CLASS = 'dark';