-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathevent.yaml
More file actions
205 lines (205 loc) · 4.69 KB
/
event.yaml
File metadata and controls
205 lines (205 loc) · 4.69 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
title: Event
fields:
-
handle: recurrence
field:
type: select
options:
none: None
daily: Daily
weekly: Weekly
monthly: Monthly
every: Every
multi_day: Multi-Day
width: 50
display: Recurrence
default: none
-
handle: timezone
field:
dictionary: timezones
max_items: 1
type: dictionary
display: Timezone
default: computed:default-event-timezone
width: 50
-
handle: specific_days
field:
dictionary: month_day_recurrence
type: dictionary
display: 'Which Day(s)'
if:
recurrence: 'equals monthly'
-
handle: interval
field:
type: integer
width: 50
display: Interval
if:
recurrence: 'equals every'
-
handle: period
field:
type: select
options:
days: Days
weeks: Weeks
months: Months
years: Years
display: Period
width: 50
if:
recurrence: 'equals every'
-
handle: start_date
field:
type: date
allow_blank: false
allow_time: false
require_time: false
input_format: YYYY/M/D
width: 50
display: 'Start Date'
inline: true
full_width: true
unless_any:
multi_day: 'equals true'
recurrence: 'equals multi_day'
format: Y-m-d
-
handle: end_date_spacer
field:
type: spacer
width: 33
if:
recurrence: 'equals none'
-
handle: end_date
field:
type: date
allow_blank: true
allow_time: false
require_time: false
input_format: M/D/YYYY
display: 'End Date'
width: 50
time_required: false
full_width: true
inline: true
if:
recurrence: 'contains_any daily, weekly, monthly, every'
format: Y-m-d
-
handle: exclude_dates
field:
type: grid
fullscreen: false
display: 'Exclude Days'
add_row: 'Add Day'
if_any:
recurrence: 'contains_any monthly, daily, weekly, every'
fields:
-
handle: date
field:
type: date
allow_blank: false
allow_time: false
require_time: false
input_format: YYYY/M/D/YYYY
display: Date
format: Y-m-d
-
handle: times_sections
field:
type: section
display: Times
-
handle: all_day
field:
type: toggle
width: 33
display: 'All Day?'
unless:
recurrence: 'equals multi_day'
-
handle: start_time
field:
type: time
width: 33
display: 'Start Time'
instructions: 'Input in [24-hour format](https://en.wikipedia.org/wiki/24-hour_clock)'
unless_any:
multi_day: 'equals true'
all_day: 'equals true'
recurrence: 'equals multi_day'
-
handle: end_time
field:
type: time
width: 33
display: 'End Time'
instructions: 'Input in [24-hour format](https://en.wikipedia.org/wiki/24-hour_clock)'
unless_any:
multi_day: 'equals true'
all_day: 'equals true'
recurrence: 'equals multi_day'
-
handle: days
field:
type: grid
display: 'Event Days'
add_row: 'Add Day'
min_rows: 1
if_any:
multi_day: 'equals true'
recurrence: 'equals multi_day'
fields:
-
handle: date
field:
type: date
allow_blank: false
allow_time: false
require_time: false
input_format: YYYY/M/D
width: 25
display: Date
format: Y-m-d
-
handle: start_time
field:
type: time
width: 25
display: 'Start Time'
instructions: 'Input in 24-hour format (ie 2:00 PM will be entered as 14:00)'
instructions_position: above
listable: hidden
visibility: visible
replicator_preview: true
seconds_enabled: false
hide_display: false
unless:
all_day: 'equals true'
-
handle: end_time
field:
type: time
width: 25
display: 'End Time'
instructions: 'Input in 24-hour format (ie 2:00 PM will be entered as 14:00)'
instructions_position: above
listable: hidden
visibility: visible
replicator_preview: true
seconds_enabled: false
hide_display: false
unless:
all_day: 'equals true'
-
handle: all_day
field: 'events::event.all_day'
config:
width: 25