Blame view

src/enums/appEnum.ts 838 Bytes
vben authored
1
export const SIDE_BAR_MINI_WIDTH = 48;
vben authored
2
3
export const SIDE_BAR_SHOW_TIT_MINI_WIDTH = 80;
陈文彬 authored
4
5
6
7
8
9
10
export enum ContentEnum {
  // auto width
  FULL = 'full',
  // fixed width
  FIXED = 'fixed',
}
vben authored
11
12
13
14
15
16
// menu theme enum
export enum ThemeEnum {
  DARK = 'dark',
  LIGHT = 'light',
}
17
18
19
20
21
22
export enum SettingButtonPositionEnum {
  AUTO = 'auto',
  HEADER = 'header',
  FIXED = 'fixed',
}
23
24
25
26
27
export enum SessionTimeoutProcessingEnum {
  ROUTE_JUMP,
  PAGE_COVERAGE,
}
陈文彬 authored
28
29
30
31
32
33
34
35
/**
 * 权限模式
 */
export enum PermissionModeEnum {
  // role
  ROLE = 'ROLE',
  // black
  BACK = 'BACK',
36
37
  // route mapping
  ROUTE_MAPPING = 'ROUTE_MAPPING',
陈文彬 authored
38
39
40
41
42
43
}

//  Route switching animation
export enum RouterTransitionEnum {
  ZOOM_FADE = 'zoom-fade',
  ZOOM_OUT = 'zoom-out',
44
  FADE_SIDE = 'fade-slide',
陈文彬 authored
45
46
  FADE = 'fade',
  FADE_BOTTOM = 'fade-bottom',
vben authored
47
  FADE_SCALE = 'fade-scale',
陈文彬 authored
48
}