@asd20/ui 3.2.482 → 3.2.484
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
label="Categories"
|
|
92
92
|
:taggable="false"
|
|
93
93
|
:value="selectedCategories"
|
|
94
|
-
:items="
|
|
94
|
+
:items="categoryOptions"
|
|
95
95
|
@input="$emit('update:selected-categories', $event)"
|
|
96
96
|
/>
|
|
97
97
|
</div>
|
|
@@ -298,7 +298,7 @@ export default {
|
|
|
298
298
|
props: {
|
|
299
299
|
keywords: { type: String, default: '' },
|
|
300
300
|
selectedCategories: { type: Array, default: () => [] },
|
|
301
|
-
categoryOptions: { type: Array, default: () => [] },
|
|
301
|
+
// categoryOptions: { type: Array, default: () => [] },
|
|
302
302
|
},
|
|
303
303
|
data: function() {
|
|
304
304
|
return {
|
|
@@ -323,17 +323,25 @@ export default {
|
|
|
323
323
|
// link: c.link.replace('/stories', '/announcements'),
|
|
324
324
|
// }))
|
|
325
325
|
},
|
|
326
|
-
|
|
326
|
+
categoryOptions() {
|
|
327
327
|
// get a unique array of categories with duplicates removed
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
]
|
|
334
|
-
}
|
|
335
|
-
return this.categoryOptions
|
|
328
|
+
return [
|
|
329
|
+
...new Set(
|
|
330
|
+
this.cards.reduce((a, c) => a.concat(c.categories || []), []).sort()
|
|
331
|
+
),
|
|
332
|
+
]
|
|
336
333
|
},
|
|
334
|
+
// computedCategoryOptions() {
|
|
335
|
+
// // get a unique array of categories with duplicates removed
|
|
336
|
+
// if (this.categoryOptions.length === 0) {
|
|
337
|
+
// return [
|
|
338
|
+
// ...new Set(
|
|
339
|
+
// this.cards.reduce((a, c) => a.concat(c.categories || []), []).sort()
|
|
340
|
+
// ),
|
|
341
|
+
// ]
|
|
342
|
+
// }
|
|
343
|
+
// return this.categoryOptions
|
|
344
|
+
// },
|
|
337
345
|
},
|
|
338
346
|
watch: {
|
|
339
347
|
selectedCategories: function(newVal, oldVal) {
|
|
@@ -2,164 +2,294 @@
|
|
|
2
2
|
"@odata.context": "https://asd20-website-search.search.windows.net/indexes('events-index')/$metadata#docs(*)",
|
|
3
3
|
"@odata.count": 18,
|
|
4
4
|
"@search.facets": {
|
|
5
|
-
"calendarLocation": [
|
|
5
|
+
"calendarLocation": [
|
|
6
|
+
{
|
|
7
|
+
"count": 18,
|
|
8
|
+
"value": "District Wide"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
6
11
|
"calendarCategories": [],
|
|
7
12
|
"calendarId": [
|
|
8
|
-
{
|
|
9
|
-
|
|
13
|
+
{
|
|
14
|
+
"count": 12,
|
|
15
|
+
"value": "2002ca04-bd3b-dd84-1e4e-576d878dd497"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"count": 6,
|
|
19
|
+
"value": "00a67c71-942d-8ba3-4202-179a23732170"
|
|
20
|
+
}
|
|
10
21
|
]
|
|
11
22
|
},
|
|
12
23
|
"value": [
|
|
13
|
-
|
|
14
24
|
{
|
|
15
|
-
"@search.score": 1
|
|
25
|
+
"@search.score": 1,
|
|
16
26
|
"id": null,
|
|
17
|
-
"uid": "
|
|
27
|
+
"uid": "MDQwMDAwMDA4MjAwRTAwMDc0QzVCNzEwMUE4MkUwMDgwMDAwMDAwMDc3N0RBQjVFNzBCMkQ4MDEwMDAwMDAwMDAwMDAwMDAwMTAwMDAwMDA4Q0IxNTUwMjk4QzVDNzQ2ODZDNDg3NTI2NTFCMEI5Qg==",
|
|
18
28
|
"type": "event",
|
|
19
|
-
"summary": "
|
|
20
|
-
"description": "
|
|
21
|
-
"location": "
|
|
22
|
-
"start": "
|
|
23
|
-
"end": "
|
|
24
|
-
"dtstamp": "
|
|
29
|
+
"summary": "Winter Break - No School",
|
|
30
|
+
"description": "No School",
|
|
31
|
+
"location": "AAHS",
|
|
32
|
+
"start": "2022-12-19T07:00:00Z",
|
|
33
|
+
"end": "2023-01-05T07:00:00Z",
|
|
34
|
+
"dtstamp": "2022-12-19T07:00:00Z",
|
|
25
35
|
"class": "",
|
|
26
36
|
"priority": "",
|
|
27
37
|
"transparency": "",
|
|
28
38
|
"status": "",
|
|
29
39
|
"sequence": "",
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
40
|
+
"url": null,
|
|
41
|
+
"calendarId": "da74e260-04f3-11ec-a052-79c69b6cfc2b",
|
|
42
|
+
"calendarName": "School Wide",
|
|
43
|
+
"calendarOrganizationId": "bb6e9cd6-da25-9e6f-5e8d-072b9a7df4f0",
|
|
44
|
+
"calendarOrganizationTitle": "Air Academy High School",
|
|
33
45
|
"calendarCategories": [],
|
|
34
46
|
"calendarKeywords": [],
|
|
35
|
-
"calendarUrl": "https://outlook.office365.com/owa/calendar/
|
|
47
|
+
"calendarUrl": "https://outlook.office365.com/owa/calendar/6a1a45f079b7416f8b301747cd731778@asd20.org/1ff6c80db4dd42c5be39096fdf50a4ee10284553908289904160/calendar.ics",
|
|
36
48
|
"calendarFormat": "ical",
|
|
37
|
-
"calendarColor": "#
|
|
49
|
+
"calendarColor": "#213f94"
|
|
38
50
|
},
|
|
39
51
|
{
|
|
40
|
-
"@search.score": 1
|
|
52
|
+
"@search.score": 1,
|
|
41
53
|
"id": null,
|
|
42
|
-
"uid": "
|
|
54
|
+
"uid": "MDQwMDAwMDA4MjAwRTAwMDc0QzVCNzEwMUE4MkUwMDgwMDAwMDAwMDYwMzFGM0FERjUwQkQ5MDEwMDAwMDAwMDAwMDAwMDAwMTAwMDAwMDA1NjA4MzhGNkIzMkU3OTQ1ODk2OUU1RUJDRENBM0U4Rg==",
|
|
43
55
|
"type": "event",
|
|
44
|
-
"summary": "
|
|
45
|
-
"description": "
|
|
56
|
+
"summary": "First day of second semester",
|
|
57
|
+
"description": "",
|
|
58
|
+
"location": "AAHS",
|
|
59
|
+
"start": "2023-01-05T07:00:00Z",
|
|
60
|
+
"end": "2023-01-06T07:00:00Z",
|
|
61
|
+
"dtstamp": "2023-01-05T07:00:00Z",
|
|
62
|
+
"class": "",
|
|
63
|
+
"priority": "",
|
|
64
|
+
"transparency": "",
|
|
65
|
+
"status": "",
|
|
66
|
+
"sequence": "",
|
|
67
|
+
"url": null,
|
|
68
|
+
"calendarId": "da74e260-04f3-11ec-a052-79c69b6cfc2b",
|
|
69
|
+
"calendarName": "School Wide",
|
|
70
|
+
"calendarOrganizationId": "bb6e9cd6-da25-9e6f-5e8d-072b9a7df4f0",
|
|
71
|
+
"calendarOrganizationTitle": "Air Academy High School",
|
|
72
|
+
"calendarCategories": [],
|
|
73
|
+
"calendarKeywords": [],
|
|
74
|
+
"calendarUrl": "https://outlook.office365.com/owa/calendar/6a1a45f079b7416f8b301747cd731778@asd20.org/1ff6c80db4dd42c5be39096fdf50a4ee10284553908289904160/calendar.ics",
|
|
75
|
+
"calendarFormat": "ical",
|
|
76
|
+
"calendarColor": "#213f94"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"@search.score": 1,
|
|
80
|
+
"id": null,
|
|
81
|
+
"uid": "MDQwMDAwMDA4MjAwRTAwMDc0QzVCNzEwMUE4MkUwMDgwMDAwMDAwMEVGRDJDOEZCQ0RFN0Q4MDEwMDAwMDAwMDAwMDAwMDAwMTAwMDAwMDBDMUEwRTM5NTYwQTRGMjQzOEQyN0MzRjAxQzdGRkQ4QQ==",
|
|
82
|
+
"type": "event",
|
|
83
|
+
"summary": "Parent Council - College Info Meeting",
|
|
84
|
+
"description": "Admissions officers from several local and regional colleges/universities will be in attendance sharing information about their schools.",
|
|
85
|
+
"location": "AAHS Media Center",
|
|
86
|
+
"start": "2023-01-19T20:20:00Z",
|
|
87
|
+
"end": "2023-01-19T21:50:00Z",
|
|
88
|
+
"dtstamp": "2023-01-19T20:20:00Z",
|
|
89
|
+
"class": "",
|
|
90
|
+
"priority": "",
|
|
91
|
+
"transparency": "",
|
|
92
|
+
"status": "",
|
|
93
|
+
"sequence": "",
|
|
94
|
+
"url": null,
|
|
95
|
+
"calendarId": "da74e260-04f3-11ec-a052-79c69b6cfc2b",
|
|
96
|
+
"calendarName": "School Wide",
|
|
97
|
+
"calendarOrganizationId": "bb6e9cd6-da25-9e6f-5e8d-072b9a7df4f0",
|
|
98
|
+
"calendarOrganizationTitle": "Air Academy High School",
|
|
99
|
+
"calendarCategories": [],
|
|
100
|
+
"calendarKeywords": [],
|
|
101
|
+
"calendarUrl": "https://outlook.office365.com/owa/calendar/6a1a45f079b7416f8b301747cd731778@asd20.org/1ff6c80db4dd42c5be39096fdf50a4ee10284553908289904160/calendar.ics",
|
|
102
|
+
"calendarFormat": "ical",
|
|
103
|
+
"calendarColor": "#213f94"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"@search.score": 1,
|
|
107
|
+
"id": null,
|
|
108
|
+
"uid": "MDQwMDAwMDA4MjAwRTAwMDc0QzVCNzEwMUE4MkUwMDgwMDAwMDAwMEUzNDIwRENBRjUwQkQ5MDEwMDAwMDAwMDAwMDAwMDAwMTAwMDAwMDBCRDE0QjFENjA2ODMxODQyOUU4NDEwMTY1MTM4Mzc4Mg==",
|
|
109
|
+
"type": "event",
|
|
110
|
+
"summary": "Choice Night",
|
|
111
|
+
"description": "",
|
|
112
|
+
"location": "AAHS Media Center",
|
|
113
|
+
"start": "2023-01-20T01:00:00Z",
|
|
114
|
+
"end": "2023-01-20T03:00:00Z",
|
|
115
|
+
"dtstamp": "2023-01-20T01:00:00Z",
|
|
116
|
+
"class": "",
|
|
117
|
+
"priority": "",
|
|
118
|
+
"transparency": "",
|
|
119
|
+
"status": "",
|
|
120
|
+
"sequence": "",
|
|
121
|
+
"url": null,
|
|
122
|
+
"calendarId": "da74e260-04f3-11ec-a052-79c69b6cfc2b",
|
|
123
|
+
"calendarName": "School Wide",
|
|
124
|
+
"calendarOrganizationId": "bb6e9cd6-da25-9e6f-5e8d-072b9a7df4f0",
|
|
125
|
+
"calendarOrganizationTitle": "Air Academy High School",
|
|
126
|
+
"calendarCategories": [],
|
|
127
|
+
"calendarKeywords": [],
|
|
128
|
+
"calendarUrl": "https://outlook.office365.com/owa/calendar/6a1a45f079b7416f8b301747cd731778@asd20.org/1ff6c80db4dd42c5be39096fdf50a4ee10284553908289904160/calendar.ics",
|
|
129
|
+
"calendarFormat": "ical",
|
|
130
|
+
"calendarColor": "#213f94"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"@search.score": 1,
|
|
134
|
+
"id": null,
|
|
135
|
+
"uid": "MDQwMDAwMDA4MjAwRTAwMDc0QzVCNzEwMUE4MkUwMDgwMDAwMDAwMDQyQzAzMUUwRjUwQkQ5MDEwMDAwMDAwMDAwMDAwMDAwMTAwMDAwMDA3NENFNTM4MjdERTEwMzRDQjAwNzNGNjU5MUFFRjM1OQ==",
|
|
136
|
+
"type": "event",
|
|
137
|
+
"summary": "8th Grade Information Night",
|
|
138
|
+
"description": "",
|
|
139
|
+
"location": "AAHS Gyms",
|
|
140
|
+
"start": "2023-02-10T01:00:00Z",
|
|
141
|
+
"end": "2023-02-10T03:00:00Z",
|
|
142
|
+
"dtstamp": "2023-02-10T01:00:00Z",
|
|
143
|
+
"class": "",
|
|
144
|
+
"priority": "",
|
|
145
|
+
"transparency": "",
|
|
146
|
+
"status": "",
|
|
147
|
+
"sequence": "",
|
|
148
|
+
"url": null,
|
|
149
|
+
"calendarId": "da74e260-04f3-11ec-a052-79c69b6cfc2b",
|
|
150
|
+
"calendarName": "School Wide",
|
|
151
|
+
"calendarOrganizationId": "bb6e9cd6-da25-9e6f-5e8d-072b9a7df4f0",
|
|
152
|
+
"calendarOrganizationTitle": "Air Academy High School",
|
|
153
|
+
"calendarCategories": [],
|
|
154
|
+
"calendarKeywords": [],
|
|
155
|
+
"calendarUrl": "https://outlook.office365.com/owa/calendar/6a1a45f079b7416f8b301747cd731778@asd20.org/1ff6c80db4dd42c5be39096fdf50a4ee10284553908289904160/calendar.ics",
|
|
156
|
+
"calendarFormat": "ical",
|
|
157
|
+
"calendarColor": "#213f94"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"@search.score": 1,
|
|
161
|
+
"id": null,
|
|
162
|
+
"uid": "MDQwMDAwMDA4MjAwRTAwMDc0QzVCNzEwMUE4MkUwMDgwMDAwMDAwMEJBRTREM0ZDRjUwQkQ5MDEwMDAwMDAwMDAwMDAwMDAwMTAwMDAwMDAyRUM1ODhDQUJDNzcxNjRDQjI4QjhENjVGNUYyM0I1Mw==",
|
|
163
|
+
"type": "event",
|
|
164
|
+
"summary": "Parent-teacher Conferences",
|
|
165
|
+
"description": "",
|
|
46
166
|
"location": "",
|
|
47
|
-
"start": "
|
|
48
|
-
"end": "
|
|
49
|
-
"dtstamp": "
|
|
167
|
+
"start": "2023-03-22T21:30:00Z",
|
|
168
|
+
"end": "2023-03-23T01:30:00Z",
|
|
169
|
+
"dtstamp": "2023-03-22T21:30:00Z",
|
|
50
170
|
"class": "",
|
|
51
171
|
"priority": "",
|
|
52
172
|
"transparency": "",
|
|
53
173
|
"status": "",
|
|
54
174
|
"sequence": "",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
175
|
+
"url": null,
|
|
176
|
+
"calendarId": "da74e260-04f3-11ec-a052-79c69b6cfc2b",
|
|
177
|
+
"calendarName": "School Wide",
|
|
178
|
+
"calendarOrganizationId": "bb6e9cd6-da25-9e6f-5e8d-072b9a7df4f0",
|
|
179
|
+
"calendarOrganizationTitle": "Air Academy High School",
|
|
58
180
|
"calendarCategories": [],
|
|
59
181
|
"calendarKeywords": [],
|
|
60
|
-
"calendarUrl": "https://outlook.office365.com/owa/calendar/
|
|
182
|
+
"calendarUrl": "https://outlook.office365.com/owa/calendar/6a1a45f079b7416f8b301747cd731778@asd20.org/1ff6c80db4dd42c5be39096fdf50a4ee10284553908289904160/calendar.ics",
|
|
61
183
|
"calendarFormat": "ical",
|
|
62
|
-
"calendarColor": "#
|
|
184
|
+
"calendarColor": "#213f94"
|
|
63
185
|
},
|
|
64
186
|
{
|
|
65
|
-
"@search.score": 1
|
|
187
|
+
"@search.score": 1,
|
|
66
188
|
"id": null,
|
|
67
|
-
"uid": "
|
|
189
|
+
"uid": "MDQwMDAwMDA4MjAwRTAwMDc0QzVCNzEwMUE4MkUwMDgwMDAwMDAwMEEwQUMwRTBFRjYwQkQ5MDEwMDAwMDAwMDAwMDAwMDAwMTAwMDAwMDAzMkEyMEY2N0Y3N0I2MjQ2QTMyNTNFNjlEQTlFNUNDMA==",
|
|
68
190
|
"type": "event",
|
|
69
|
-
"summary": "
|
|
70
|
-
"description": "
|
|
191
|
+
"summary": "Parent-Teacher Conferences",
|
|
192
|
+
"description": "",
|
|
71
193
|
"location": "",
|
|
72
|
-
"start": "
|
|
73
|
-
"end": "
|
|
74
|
-
"dtstamp": "
|
|
194
|
+
"start": "2023-03-23T22:00:00Z",
|
|
195
|
+
"end": "2023-03-24T01:00:00Z",
|
|
196
|
+
"dtstamp": "2023-03-23T22:00:00Z",
|
|
75
197
|
"class": "",
|
|
76
198
|
"priority": "",
|
|
77
199
|
"transparency": "",
|
|
78
200
|
"status": "",
|
|
79
201
|
"sequence": "",
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
202
|
+
"url": null,
|
|
203
|
+
"calendarId": "da74e260-04f3-11ec-a052-79c69b6cfc2b",
|
|
204
|
+
"calendarName": "School Wide",
|
|
205
|
+
"calendarOrganizationId": "bb6e9cd6-da25-9e6f-5e8d-072b9a7df4f0",
|
|
206
|
+
"calendarOrganizationTitle": "Air Academy High School",
|
|
83
207
|
"calendarCategories": [],
|
|
84
208
|
"calendarKeywords": [],
|
|
85
|
-
"calendarUrl": "https://outlook.office365.com/owa/calendar/
|
|
209
|
+
"calendarUrl": "https://outlook.office365.com/owa/calendar/6a1a45f079b7416f8b301747cd731778@asd20.org/1ff6c80db4dd42c5be39096fdf50a4ee10284553908289904160/calendar.ics",
|
|
86
210
|
"calendarFormat": "ical",
|
|
87
|
-
"calendarColor": "#
|
|
211
|
+
"calendarColor": "#213f94"
|
|
88
212
|
},
|
|
89
213
|
{
|
|
90
|
-
"@search.score": 1
|
|
214
|
+
"@search.score": 1,
|
|
91
215
|
"id": null,
|
|
92
|
-
"uid": "
|
|
216
|
+
"uid": "MDQwMDAwMDA4MjAwRTAwMDc0QzVCNzEwMUE4MkUwMDgwMDAwMDAwMDE1QkJENDBFRjYwQkQ5MDEwMDAwMDAwMDAwMDAwMDAwMTAwMDAwMDA3NTYwODEwREYwNjdBMDQzQTdEOEI0NTY3RjlBRTdCNg==",
|
|
93
217
|
"type": "event",
|
|
94
|
-
"summary": "
|
|
218
|
+
"summary": "No school",
|
|
95
219
|
"description": "",
|
|
96
220
|
"location": "",
|
|
97
|
-
"start": "
|
|
98
|
-
"end": "
|
|
99
|
-
"dtstamp": "
|
|
221
|
+
"start": "2023-03-24T06:00:00Z",
|
|
222
|
+
"end": "2023-03-25T06:00:00Z",
|
|
223
|
+
"dtstamp": "2023-03-24T06:00:00Z",
|
|
100
224
|
"class": "",
|
|
101
225
|
"priority": "",
|
|
102
226
|
"transparency": "",
|
|
103
227
|
"status": "",
|
|
104
228
|
"sequence": "",
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
229
|
+
"url": null,
|
|
230
|
+
"calendarId": "da74e260-04f3-11ec-a052-79c69b6cfc2b",
|
|
231
|
+
"calendarName": "School Wide",
|
|
232
|
+
"calendarOrganizationId": "bb6e9cd6-da25-9e6f-5e8d-072b9a7df4f0",
|
|
233
|
+
"calendarOrganizationTitle": "Air Academy High School",
|
|
108
234
|
"calendarCategories": [],
|
|
109
235
|
"calendarKeywords": [],
|
|
110
|
-
"calendarUrl": "https://outlook.office365.com/owa/calendar/
|
|
236
|
+
"calendarUrl": "https://outlook.office365.com/owa/calendar/6a1a45f079b7416f8b301747cd731778@asd20.org/1ff6c80db4dd42c5be39096fdf50a4ee10284553908289904160/calendar.ics",
|
|
111
237
|
"calendarFormat": "ical",
|
|
112
|
-
"calendarColor": "#
|
|
238
|
+
"calendarColor": "#213f94"
|
|
113
239
|
},
|
|
114
240
|
{
|
|
115
|
-
"@search.score": 1
|
|
241
|
+
"@search.score": 1,
|
|
116
242
|
"id": null,
|
|
117
|
-
"uid": "
|
|
243
|
+
"uid": "MDQwMDAwMDA4MjAwRTAwMDc0QzVCNzEwMUE4MkUwMDgwMDAwMDAwMDE2MTM4NjE2RjYwQkQ5MDEwMDAwMDAwMDAwMDAwMDAwMTAwMDAwMDBBMjBCN0QxMzU4RTUyMjQyODdFRkQ0QThDQjQ0NkY5Ng==",
|
|
118
244
|
"type": "event",
|
|
119
|
-
"summary": "
|
|
120
|
-
"description": "
|
|
245
|
+
"summary": "No school - Spring Break",
|
|
246
|
+
"description": "",
|
|
121
247
|
"location": "",
|
|
122
|
-
"start": "
|
|
123
|
-
"end": "
|
|
124
|
-
"dtstamp": "
|
|
248
|
+
"start": "2023-03-27T06:00:00Z",
|
|
249
|
+
"end": "2023-03-28T06:00:00Z",
|
|
250
|
+
"dtstamp": "2023-03-27T06:00:00Z",
|
|
125
251
|
"class": "",
|
|
126
252
|
"priority": "",
|
|
127
253
|
"transparency": "",
|
|
128
254
|
"status": "",
|
|
129
255
|
"sequence": "",
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
256
|
+
"url": null,
|
|
257
|
+
"calendarId": "da74e260-04f3-11ec-a052-79c69b6cfc2b",
|
|
258
|
+
"calendarName": "School Wide",
|
|
259
|
+
"calendarOrganizationId": "bb6e9cd6-da25-9e6f-5e8d-072b9a7df4f0",
|
|
260
|
+
"calendarOrganizationTitle": "Air Academy High School",
|
|
133
261
|
"calendarCategories": [],
|
|
134
262
|
"calendarKeywords": [],
|
|
135
|
-
"calendarUrl": "https://outlook.office365.com/owa/calendar/
|
|
263
|
+
"calendarUrl": "https://outlook.office365.com/owa/calendar/6a1a45f079b7416f8b301747cd731778@asd20.org/1ff6c80db4dd42c5be39096fdf50a4ee10284553908289904160/calendar.ics",
|
|
136
264
|
"calendarFormat": "ical",
|
|
137
|
-
"calendarColor": "#
|
|
265
|
+
"calendarColor": "#213f94"
|
|
138
266
|
},
|
|
139
267
|
{
|
|
140
|
-
"@search.score": 1
|
|
268
|
+
"@search.score": 1,
|
|
141
269
|
"id": null,
|
|
142
|
-
"uid": "
|
|
270
|
+
"uid": "MDQwMDAwMDA4MjAwRTAwMDc0QzVCNzEwMUE4MkUwMDgwMDAwMDAwMDIyQzE3RTIwRjYwQkQ5MDEwMDAwMDAwMDAwMDAwMDAwMTAwMDAwMDAzRjdENDg0MzUyQjdEQTQ1ODc1QjQwRDE2MEQ2NkEwOA==",
|
|
143
271
|
"type": "event",
|
|
144
|
-
"summary": "
|
|
145
|
-
"description": "
|
|
272
|
+
"summary": "No school - Spring Break",
|
|
273
|
+
"description": "",
|
|
146
274
|
"location": "",
|
|
147
|
-
"start": "
|
|
148
|
-
"end": "
|
|
149
|
-
"dtstamp": "
|
|
275
|
+
"start": "2023-03-28T06:00:00Z",
|
|
276
|
+
"end": "2023-03-29T06:00:00Z",
|
|
277
|
+
"dtstamp": "2023-03-28T06:00:00Z",
|
|
150
278
|
"class": "",
|
|
151
279
|
"priority": "",
|
|
152
280
|
"transparency": "",
|
|
153
281
|
"status": "",
|
|
154
282
|
"sequence": "",
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"
|
|
283
|
+
"url": null,
|
|
284
|
+
"calendarId": "da74e260-04f3-11ec-a052-79c69b6cfc2b",
|
|
285
|
+
"calendarName": "School Wide",
|
|
286
|
+
"calendarOrganizationId": "bb6e9cd6-da25-9e6f-5e8d-072b9a7df4f0",
|
|
287
|
+
"calendarOrganizationTitle": "Air Academy High School",
|
|
158
288
|
"calendarCategories": [],
|
|
159
289
|
"calendarKeywords": [],
|
|
160
|
-
"calendarUrl": "https://outlook.office365.com/owa/calendar/
|
|
290
|
+
"calendarUrl": "https://outlook.office365.com/owa/calendar/6a1a45f079b7416f8b301747cd731778@asd20.org/1ff6c80db4dd42c5be39096fdf50a4ee10284553908289904160/calendar.ics",
|
|
161
291
|
"calendarFormat": "ical",
|
|
162
|
-
"calendarColor": "#
|
|
292
|
+
"calendarColor": "#213f94"
|
|
163
293
|
}
|
|
164
294
|
]
|
|
165
|
-
}
|
|
295
|
+
}
|
|
@@ -26,22 +26,26 @@ export default function expandEvents(events) {
|
|
|
26
26
|
|
|
27
27
|
if (multiDay && !allDay) {
|
|
28
28
|
for (let d = 0; d < diffDays; d++) {
|
|
29
|
+
const today = new Date()
|
|
30
|
+
today.setDate(today.getDate() - 1)
|
|
29
31
|
const newStart = addDays(event.start, d)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
32
|
+
if (newStart > today) {
|
|
33
|
+
a.push(
|
|
34
|
+
Object.assign({}, event, {
|
|
35
|
+
start: newStart,
|
|
36
|
+
end: event.end ? event.end : null,
|
|
37
|
+
originalStart: event.start,
|
|
38
|
+
allDay: parse(event.start).getHours() === 0,
|
|
39
|
+
endTimeUndetermined,
|
|
40
|
+
multiDay,
|
|
41
|
+
weekday: format(parse(newStart), 'dddd'),
|
|
42
|
+
day: format(parse(newStart), 'DD'),
|
|
43
|
+
number: format(parse(newStart), 'D'),
|
|
44
|
+
month: format(parse(newStart), 'MMMM'),
|
|
45
|
+
year: format(parse(newStart), 'YYYY'),
|
|
46
|
+
})
|
|
47
|
+
)
|
|
48
|
+
}
|
|
45
49
|
}
|
|
46
50
|
} else {
|
|
47
51
|
a.push(
|