@asd20/ui 3.2.613 → 3.2.614

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
@@ -5,7 +5,7 @@
5
5
  "*.scss",
6
6
  "*.vue"
7
7
  ],
8
- "version": "3.2.613",
8
+ "version": "3.2.614",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -72,6 +72,9 @@
72
72
  :events="events"
73
73
  :events-feed-props="eventsFeedProps"
74
74
  @events-in-view="$emit('events-in-view')"
75
+ :stories="stories.filter(s => s.categories.some(c => !c.includes('Clubs:')))"
76
+ :stories-feed-props="storiesFeedProps"
77
+ @stories-in-view="$emit('stories-in-view')"
75
78
  ></asd20-feeds-section>
76
79
 
77
80
  <!-- Page Content -->
@@ -318,10 +321,12 @@ export default {
318
321
  counter2: 100,
319
322
  }
320
323
  },
324
+
321
325
  computed: {
322
326
  cards() {
323
327
  if (!Array.isArray(this.stories)) return []
324
328
  return this.stories
329
+ .filter(s => s.categories.some(c => c.includes('Clubs:')))
325
330
  .map(s =>
326
331
  mapMessageToCard(s, {
327
332
  // reversed: true,
@@ -698,6 +698,108 @@
698
698
  "modifiedByEmail": "",
699
699
  "modifiedByDisplayName": "",
700
700
  "modifiedDateTime": "2020-07-15T14:59:40.6Z"
701
+ },
702
+ {
703
+ "@search.score": 6.831,
704
+ "type": "message",
705
+ "id": "10ca6020-b0bc-11ea-8519-97e32becbd50",
706
+ "revision": 0,
707
+ "status": "Published",
708
+ "publishDateTime": "2020-06-17T16:11:00Z",
709
+ "expireDateTime": "2021-06-17T16:59:07.821Z",
710
+ "isFeatured": false,
711
+ "isDistrictFeatured": false,
712
+ "authorUserId": null,
713
+ "title": "Arts Club",
714
+ "slug": "arts-club",
715
+ "summary": "Come join our Art club and learn how to paint.",
716
+ "bodyHtml": "<p></p>",
717
+ "bodyJson": "",
718
+ "tags": ["District Homepage"],
719
+ "categories": ["Clubs: Curricular"],
720
+ "destinations": [],
721
+ "links": "[]",
722
+ "channels": ["News & Stories"],
723
+ "audiences": [],
724
+ "ownerOrganizationId": "26eaf390-d8ab-11e9-a3a8-5de5bba4f125",
725
+ "images": "[]",
726
+ "videos": "[{\"id\":\"0ol7e2ASbIk\",\"embedUrl\":\"https://www.youtube.com/embed/0ol7e2ASbIk\",\"watchUrl\":\"https://www.youtube.com/watch?v=0ol7e2ASbIk\",\"coverImageUrl\":\"https://img.youtube.com/vi/0ol7e2ASbIk/0.jpg\"}]",
727
+ "translations": "null",
728
+ "callsToAction": "null",
729
+ "createdByEmail": "",
730
+ "createdByDisplayName": "",
731
+ "createdDateTime": "2020-06-17T17:00:37.026Z",
732
+ "modifiedByEmail": "",
733
+ "modifiedByDisplayName": "",
734
+ "modifiedDateTime": "2020-07-15T14:59:40.6Z"
735
+ },
736
+ {
737
+ "@search.score": 6.831,
738
+ "type": "message",
739
+ "id": "10ca6020-b0bc-11ea-8519-97e32becbd50",
740
+ "revision": 0,
741
+ "status": "Published",
742
+ "publishDateTime": "2020-06-17T16:11:00Z",
743
+ "expireDateTime": "2021-06-17T16:59:07.821Z",
744
+ "isFeatured": false,
745
+ "isDistrictFeatured": false,
746
+ "authorUserId": null,
747
+ "title": "Dungeons & Dragons Club",
748
+ "slug": "dungeons-and-dragons-club",
749
+ "summary": "Come learn how to play this popular game.",
750
+ "bodyHtml": "<p></p>",
751
+ "bodyJson": "",
752
+ "tags": ["District Homepage"],
753
+ "categories": ["Clubs: Non-Curricular"],
754
+ "destinations": [],
755
+ "links": "[]",
756
+ "channels": ["News & Stories"],
757
+ "audiences": [],
758
+ "ownerOrganizationId": "26eaf390-d8ab-11e9-a3a8-5de5bba4f125",
759
+ "images": "[]",
760
+ "videos": "[{\"id\":\"0ol7e2ASbIk\",\"embedUrl\":\"https://www.youtube.com/embed/0ol7e2ASbIk\",\"watchUrl\":\"https://www.youtube.com/watch?v=0ol7e2ASbIk\",\"coverImageUrl\":\"https://img.youtube.com/vi/0ol7e2ASbIk/0.jpg\"}]",
761
+ "translations": "null",
762
+ "callsToAction": "null",
763
+ "createdByEmail": "",
764
+ "createdByDisplayName": "",
765
+ "createdDateTime": "2020-06-17T17:00:37.026Z",
766
+ "modifiedByEmail": "",
767
+ "modifiedByDisplayName": "",
768
+ "modifiedDateTime": "2020-07-15T14:59:40.6Z"
769
+ },
770
+ {
771
+ "@search.score": 6.831,
772
+ "type": "message",
773
+ "id": "10ca6020-b0bc-11ea-8519-97e32becbd50",
774
+ "revision": 0,
775
+ "status": "Published",
776
+ "publishDateTime": "2020-06-17T16:11:00Z",
777
+ "expireDateTime": "2021-06-17T16:59:07.821Z",
778
+ "isFeatured": false,
779
+ "isDistrictFeatured": false,
780
+ "authorUserId": null,
781
+ "title": "No Place for Hate",
782
+ "slug": "no-place-for-hate",
783
+ "summary": "Come join our club and learn how to be more accepting.",
784
+ "bodyHtml": "<p></p>",
785
+ "bodyJson": "",
786
+ "tags": ["District Homepage"],
787
+ "categories": ["Clubs: Non-Curricular"],
788
+ "destinations": [],
789
+ "links": "[]",
790
+ "channels": ["News & Stories"],
791
+ "audiences": [],
792
+ "ownerOrganizationId": "26eaf390-d8ab-11e9-a3a8-5de5bba4f125",
793
+ "images": "[]",
794
+ "videos": "[{\"id\":\"0ol7e2ASbIk\",\"embedUrl\":\"https://www.youtube.com/embed/0ol7e2ASbIk\",\"watchUrl\":\"https://www.youtube.com/watch?v=0ol7e2ASbIk\",\"coverImageUrl\":\"https://img.youtube.com/vi/0ol7e2ASbIk/0.jpg\"}]",
795
+ "translations": "null",
796
+ "callsToAction": "null",
797
+ "createdByEmail": "",
798
+ "createdByDisplayName": "",
799
+ "createdDateTime": "2020-06-17T17:00:37.026Z",
800
+ "modifiedByEmail": "",
801
+ "modifiedByDisplayName": "",
802
+ "modifiedDateTime": "2020-07-15T14:59:40.6Z"
701
803
  }
702
804
  ]
703
805
  }
@@ -1663,10 +1663,10 @@
1663
1663
  "id": "f42b1984-29f1-419b-a23a-3245c6647b3e",
1664
1664
  "title": "Announcement Feed",
1665
1665
  "type": "text",
1666
- "value": null,
1666
+ "value": "[{\"title\":\"District Announcements\",\"link\":\"/district-announcements\",\"keywords\":\"\",\"categories\":[],\"tags\":[\"District Homepage\"],\"organizations\":[\"26eaf390-d8ab-11e9-a3a8-5de5bba4f125\"]}]",
1667
1667
  "validationPattern": null,
1668
1668
  "required": false
1669
- },
1669
+ },
1670
1670
  {
1671
1671
  "name": "eventFeeds",
1672
1672
  "category": "websiteFeed",
@@ -1693,10 +1693,10 @@
1693
1693
  "id": "abf845b5-1d4b-4864-a0f1-c8c37b1b4fac",
1694
1694
  "title": "Story Feed",
1695
1695
  "type": "text",
1696
- "value": null,
1696
+ "value": "[{\"title\":\"District Stories\",\"link\":\"/district-stories\",\"keywords\":\"\",\"categories\":[],\"tags\":[\"District Homepage\"],\"organizations\":[\"26eaf390-d8ab-11e9-a3a8-5de5bba4f125\"]}]",
1697
1697
  "validationPattern": null,
1698
1698
  "required": false
1699
- },
1699
+ },
1700
1700
  {
1701
1701
  "name": "backgroundColor",
1702
1702
  "category": "websiteFooter",
@@ -1820,7 +1820,7 @@
1820
1820
  "id": "abf845b5-1d4b-4864-a0f1-c8c37b1b4fac",
1821
1821
  "title": "Story Feed",
1822
1822
  "type": "text",
1823
- "value": null,
1823
+ "value": "[{\"title\":\"District Stories\",\"link\":\"/district-stories\",\"keywords\":\"\",\"categories\":[],\"tags\":[\"District Homepage\"],\"organizations\":[\"26eaf390-d8ab-11e9-a3a8-5de5bba4f125\"]}]",
1824
1824
  "validationPattern": null,
1825
1825
  "required": false
1826
1826
  },