mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-26 12:48:48 +08:00
41 lines
637 B
TypeScript
41 lines
637 B
TypeScript
|
/**
|
||
|
* @description: menu type
|
||
|
*/
|
||
|
export enum MenuTypeEnum {
|
||
|
// left menu
|
||
|
SIDEBAR = 'sidebar',
|
||
|
// mixin menu
|
||
|
MIX = 'mix',
|
||
|
// top menu
|
||
|
TOP_MENU = 'top-menu',
|
||
|
}
|
||
|
|
||
|
// menu theme enum
|
||
|
export enum MenuThemeEnum {
|
||
|
DARK = 'dark',
|
||
|
|
||
|
LIGHT = 'light',
|
||
|
}
|
||
|
|
||
|
export type Mode = 'vertical' | 'vertical-right' | 'horizontal' | 'inline';
|
||
|
|
||
|
// menu mode
|
||
|
export enum MenuModeEnum {
|
||
|
VERTICAL = 'vertical',
|
||
|
HORIZONTAL = 'horizontal',
|
||
|
VERTICAL_RIGHT = 'vertical-right',
|
||
|
INLINE = 'inline',
|
||
|
}
|
||
|
|
||
|
export enum MenuSplitTyeEnum {
|
||
|
NONE,
|
||
|
TOP,
|
||
|
LEFT,
|
||
|
}
|
||
|
|
||
|
export enum TopMenuAlignEnum {
|
||
|
CENTER = 'center',
|
||
|
START = 'start',
|
||
|
END = 'end',
|
||
|
}
|