-
Notifications
You must be signed in to change notification settings - Fork 418
/
Copy pathconfig.js
80 lines (70 loc) · 2.42 KB
/
config.js
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
import ViewTypes from './ViewTypes'
import SummaryPos from './SummaryPos'
export default {
schedulerWidth: '100%',
besidesWidth: 20,
schedulerMaxHeight: 0,
tableHeaderHeight: 40,
agendaResourceTableWidth: 160,
agendaMaxEventWidth: 100,
dayResourceTableWidth: 160,
weekResourceTableWidth: '16%',
monthResourceTableWidth: 160,
quarterResourceTableWidth: 160,
yearResourceTableWidth: 160,
customResourceTableWidth: 160,
dayCellWidth: 30,
weekCellWidth: '12%',
monthCellWidth: 80,
quarterCellWidth: 80,
yearCellWidth: 80,
customCellWidth: 80,
dayMaxEvents: 99,
weekMaxEvents: 99,
monthMaxEvents: 99,
quarterMaxEvents: 99,
yearMaxEvents: 99,
customMaxEvents: 99,
eventItemHeight: 22,
eventItemLineHeight: 24,
nonAgendaSlotMinHeight: 0,
dayStartFrom: 0,
dayStopTo: 23,
defaultEventBgColor: '#80C5F6',
selectedAreaColor: '#7EC2F3',
nonWorkingTimeHeadColor: '#999999',
nonWorkingTimeHeadBgColor: '#fff0f6',
nonWorkingTimeBodyBgColor: '#fff0f6',
summaryColor: '#666',
summaryPos: SummaryPos.TopRight,
groupOnlySlotColor: '#F8F8F8',
startResizable: true,
endResizable: true,
movable: true,
creatable: true,
crossResourceMove: true,
checkConflict: false,
scrollToSpecialMomentEnabled: true,
eventItemPopoverEnabled: true,
calendarPopoverEnabled: true,
recurringEventsEnabled: true,
headerEnabled: true,
displayWeekend: true,
relativeMove: true,
defaultExpanded: true,
resourceName: 'Resource Name',
taskName: 'Task Name',
agendaViewHeader: 'Agenda',
addMorePopoverHeaderFormat: 'MMM D, YYYY dddd',
eventItemPopoverDateFormat: 'MMM D',
nonAgendaDayCellHeaderFormat: 'ha',
nonAgendaOtherCellHeaderFormat: 'ddd M/D',
minuteStep: 30,
views: [
{viewName: 'Day', viewType: ViewTypes.Day, showAgenda: false, isEventPerspective: false},
{viewName: 'Week', viewType: ViewTypes.Week, showAgenda: false, isEventPerspective: false},
{viewName: 'Month', viewType: ViewTypes.Month, showAgenda: false, isEventPerspective: false},
{viewName: 'Quarter', viewType: ViewTypes.Quarter, showAgenda: false, isEventPerspective: false},
{viewName: 'Year', viewType: ViewTypes.Year, showAgenda: false, isEventPerspective: false},
],
}