-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.js.html
More file actions
32 lines (32 loc) · 856 Bytes
/
Copy pathConfig.js.html
File metadata and controls
32 lines (32 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<script>
const AppConfig = {
APP_VERSION: '6.8.2',
TIME_REGEX: /^([01]?[0-9]|2[0-3]):([0-5][0-9])$/,
WEEKDAYS: ['星期一', '星期二', '星期三', '星期四', '星期五', '星期六', '星期日'],
COURSE_COLORS: [
'#93c5fd', // Jordy Blue
'#73EEDC', // Turquoise
'#DBF4A7', // Mindaro
'#fca5a5', // Melon
'#92DBFA', // Pale azure
'#C5D8D1', // Ash grey
'#B5EBCC', // Celadon
'#FDE74C', // Maize
'#F5AE80', // Sandy Brown
'#D6D1CD' // Timberwolf
],
MODES: {
WEEK: 'week',
DAY: 'day',
},
STATUS: {
DIRTY: 'dirty',
SYNCED: 'synced',
SYNCING: 'syncing',
ERROR: 'error',
OFFLINE: 'offline',
CONFLICT: 'conflict', // Add new state for version conflict
},
ALL_SCHEDULES_ID: 'ALL_SCHEDULES',
};
</script>