@asd20/ui 3.2.937 → 3.2.939
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 +1 -1
- package/src/components/molecules/Asd20Swiper/index.vue +1 -1
- package/src/components/templates/Asd20ArticleDigestCompactTemplate/index.vue +13 -8
- package/src/components/templates/Asd20ArticleDigestTemplate/index.vue +17 -10
- package/src/components/templates/Asd20ArticleListTemplate/index.vue +10 -5
- package/src/components/templates/Asd20CampusTemplate/index.vue +2 -0
- package/src/components/templates/Asd20ClubsTemplate/index.vue +13 -8
- package/src/data/page-queries/video-page-query-result.json +5 -5
package/package.json
CHANGED
|
@@ -324,14 +324,19 @@ export default {
|
|
|
324
324
|
cards() {
|
|
325
325
|
if (!Array.isArray(this.stories)) return []
|
|
326
326
|
return this.stories.map(s =>
|
|
327
|
-
mapMessageToCard(
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
327
|
+
mapMessageToCard(
|
|
328
|
+
s,
|
|
329
|
+
{
|
|
330
|
+
// reversed: true,
|
|
331
|
+
date: '',
|
|
332
|
+
time: '',
|
|
333
|
+
description: '',
|
|
334
|
+
// image: '',
|
|
335
|
+
// pinned: false,
|
|
336
|
+
},
|
|
337
|
+
this.organization,
|
|
338
|
+
this.organizationOptions
|
|
339
|
+
)
|
|
335
340
|
)
|
|
336
341
|
},
|
|
337
342
|
categoryOptions() {
|
|
@@ -236,11 +236,13 @@
|
|
|
236
236
|
/></asd20-widgets-section>
|
|
237
237
|
|
|
238
238
|
<!-- Feeds -->
|
|
239
|
-
<asd20-feeds-section
|
|
239
|
+
<!-- <asd20-feeds-section
|
|
240
240
|
:announcements="announcements"
|
|
241
241
|
:announcements-feed-props="announcementsFeedProps"
|
|
242
242
|
@announcements-in-view="$emit('announcements-in-view')"
|
|
243
|
-
|
|
243
|
+
:organization="organization"
|
|
244
|
+
:organization-options="organizationOptions"
|
|
245
|
+
></asd20-feeds-section> -->
|
|
244
246
|
|
|
245
247
|
<!-- Quick Links -->
|
|
246
248
|
<asd20-quicklinks-menu slot="before-footer" :quick-links="quickLinks">
|
|
@@ -325,14 +327,19 @@ export default {
|
|
|
325
327
|
cards() {
|
|
326
328
|
if (!Array.isArray(this.stories)) return []
|
|
327
329
|
return this.stories.map(s =>
|
|
328
|
-
mapMessageToCard(
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
330
|
+
mapMessageToCard(
|
|
331
|
+
s,
|
|
332
|
+
{
|
|
333
|
+
// reversed: true,
|
|
334
|
+
// date: '',
|
|
335
|
+
time: '',
|
|
336
|
+
// description: '',
|
|
337
|
+
// image: '',
|
|
338
|
+
// pinned: false,
|
|
339
|
+
},
|
|
340
|
+
this.organization,
|
|
341
|
+
this.organizationOptions
|
|
342
|
+
)
|
|
336
343
|
)
|
|
337
344
|
|
|
338
345
|
// .sort((a, b) => (a.title > b.title ? 1 : b.title > a.title ? -1 : 0))
|
|
@@ -342,11 +342,16 @@ export default {
|
|
|
342
342
|
cards() {
|
|
343
343
|
if (!Array.isArray(this.announcements)) return []
|
|
344
344
|
return this.announcements.map(a =>
|
|
345
|
-
mapMessageToCard(
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
345
|
+
mapMessageToCard(
|
|
346
|
+
a,
|
|
347
|
+
{
|
|
348
|
+
reversed: false,
|
|
349
|
+
time: '',
|
|
350
|
+
image: '',
|
|
351
|
+
},
|
|
352
|
+
this.organization,
|
|
353
|
+
this.organizationOptions
|
|
354
|
+
)
|
|
350
355
|
)
|
|
351
356
|
},
|
|
352
357
|
categoryOptions() {
|
|
@@ -322,14 +322,19 @@ export default {
|
|
|
322
322
|
return this.stories
|
|
323
323
|
.filter(s => s.categories.some(c => c.includes('Clubs:')))
|
|
324
324
|
.map(s =>
|
|
325
|
-
mapMessageToCard(
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
325
|
+
mapMessageToCard(
|
|
326
|
+
s,
|
|
327
|
+
{
|
|
328
|
+
// reversed: true,
|
|
329
|
+
date: '',
|
|
330
|
+
time: '',
|
|
331
|
+
// description: '',
|
|
332
|
+
image: '',
|
|
333
|
+
pinned: false,
|
|
334
|
+
},
|
|
335
|
+
this.organization,
|
|
336
|
+
this.organizationOptions
|
|
337
|
+
)
|
|
333
338
|
)
|
|
334
339
|
.sort((a, b) => (a.title > b.title ? 1 : b.title > a.title ? -1 : 0))
|
|
335
340
|
// .map(c => ({
|
|
@@ -1156,7 +1156,7 @@
|
|
|
1156
1156
|
"id": "d7b7f1f2-8d53-4221-aa84-fb744eeaea18",
|
|
1157
1157
|
"title": "Discovery Canyon Campus",
|
|
1158
1158
|
"educationLevels": [],
|
|
1159
|
-
"logoImageUrl": "https://asd20websitestorage.blob.core.windows.net/asd20-images/school-logos/
|
|
1159
|
+
"logoImageUrl": "https://asd20websitestorage.blob.core.windows.net/asd20-images/school-logos/DCC.png",
|
|
1160
1160
|
"website": "https://dcc.asd20.org"
|
|
1161
1161
|
}, {
|
|
1162
1162
|
"id": "0c5efdd6-a7a6-56c5-32ae-c26177361977",
|
|
@@ -1186,7 +1186,7 @@
|
|
|
1186
1186
|
"id": "f4656914-9ec6-1811-aa5d-31f532f483d5",
|
|
1187
1187
|
"title": "Discovery Canyon Campus High School",
|
|
1188
1188
|
"educationLevels": ["High"],
|
|
1189
|
-
"logoImageUrl": "https://asd20websitestorage.blob.core.windows.net/asd20-images/school-logos/
|
|
1189
|
+
"logoImageUrl": "https://asd20websitestorage.blob.core.windows.net/asd20-images/school-logos/DCC.png",
|
|
1190
1190
|
"website": "https://dcchigh.asd20.org"
|
|
1191
1191
|
}, {
|
|
1192
1192
|
"id": "b6341b18-f4b9-311d-614c-a0ee36eb3254",
|
|
@@ -1204,7 +1204,7 @@
|
|
|
1204
1204
|
"id": "78bb1220-3c1a-842e-aaea-e69ecff735f9",
|
|
1205
1205
|
"title": "Discovery Canyon Campus Elementary School",
|
|
1206
1206
|
"educationLevels": ["Elementary", "Kindergarten", "Preschool"],
|
|
1207
|
-
"logoImageUrl": "https://asd20websitestorage.blob.core.windows.net/asd20-images/school-logos/
|
|
1207
|
+
"logoImageUrl": "https://asd20websitestorage.blob.core.windows.net/asd20-images/school-logos/DCC.png",
|
|
1208
1208
|
"website": "https://dccelementary.asd20.org"
|
|
1209
1209
|
}, {
|
|
1210
1210
|
"id": "33fc500e-44ee-bf01-627a-53d332bfc333",
|
|
@@ -1228,7 +1228,7 @@
|
|
|
1228
1228
|
"id": "a6f3a682-acf0-909b-96d5-e840e6a44eb5",
|
|
1229
1229
|
"title": "Liberty High School",
|
|
1230
1230
|
"educationLevels": ["High"],
|
|
1231
|
-
"logoImageUrl": "https://asd20websitestorage.blob.core.windows.net/asd20-images/school-logos/
|
|
1231
|
+
"logoImageUrl": "https://asd20websitestorage.blob.core.windows.net/asd20-images/school-logos/LHS.png",
|
|
1232
1232
|
"website": "https://liberty.asd20.org"
|
|
1233
1233
|
}, {
|
|
1234
1234
|
"id": "7894ef7c-3016-b822-9727-4aa0880f3c7e",
|
|
@@ -1246,7 +1246,7 @@
|
|
|
1246
1246
|
"id": "578a4732-8010-95aa-7d2d-963ec46f9650",
|
|
1247
1247
|
"title": "Discovery Canyon Campus Middle School",
|
|
1248
1248
|
"educationLevels": ["Middle"],
|
|
1249
|
-
"logoImageUrl": "https://asd20websitestorage.blob.core.windows.net/asd20-images/school-logos/
|
|
1249
|
+
"logoImageUrl": "https://asd20websitestorage.blob.core.windows.net/asd20-images/school-logos/DCC.png",
|
|
1250
1250
|
"website": "https://dccmiddle.asd20.org"
|
|
1251
1251
|
}, {
|
|
1252
1252
|
"id": "813b1e74-2b54-b9ea-fbb3-72dcc97ffb3a",
|