@asd20/ui 3.2.846 → 3.2.847

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.846",
8
+ "version": "3.2.847",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -327,7 +327,7 @@ export default {
327
327
  date: '',
328
328
  time: '',
329
329
  // description: '',
330
- // image: '',
330
+ image: '',
331
331
  pinned: false,
332
332
  })
333
333
  )
@@ -759,7 +759,7 @@
759
759
  "channels": ["News & Stories"],
760
760
  "audiences": [],
761
761
  "ownerOrganizationId": "26eaf390-d8ab-11e9-a3a8-5de5bba4f125",
762
- "images": "[]",
762
+ "images": "[{\"files\":[{\"url\":\"https://asd20websitestorage.blob.core.windows.net/website-files/message-images//thumbnail-md/Screen Shot 2020-06-29 at 8.08.34 AM_250x250.jpg\",\"name\":\"thumbnail-md\",\"width\":250,\"height\":250,\"filename\":\"Screen Shot 2020-06-29 at 8.08.34 AM_250x250.jpg\",\"filepath\":\"message-images//thumbnail-md/Screen Shot 2020-06-29 at 8.08.34 AM_250x250.jpg\",\"filesize\":18750},{\"url\":\"https://asd20websitestorage.blob.core.windows.net/website-files/message-images//thumbnail-sm/Screen Shot 2020-06-29 at 8.08.34 AM_100x100.jpg\",\"name\":\"thumbnail-sm\",\"width\":100,\"height\":100,\"filename\":\"Screen Shot 2020-06-29 at 8.08.34 AM_100x100.jpg\",\"filepath\":\"message-images//thumbnail-sm/Screen Shot 2020-06-29 at 8.08.34 AM_100x100.jpg\",\"filesize\":4884},{\"url\":\"https://asd20websitestorage.blob.core.windows.net/website-files/message-images//thumbnail-xs/Screen Shot 2020-06-29 at 8.08.34 AM_50x50.jpg\",\"name\":\"thumbnail-xs\",\"width\":50,\"height\":50,\"filename\":\"Screen Shot 2020-06-29 at 8.08.34 AM_50x50.jpg\",\"filepath\":\"message-images//thumbnail-xs/Screen Shot 2020-06-29 at 8.08.34 AM_50x50.jpg\",\"filesize\":1840},{\"url\":\"https://asd20websitestorage.blob.core.windows.net/website-files/message-images//banner/Screen Shot 2020-06-29 at 8.08.34 AM_800x300.jpg\",\"name\":\"banner\",\"width\":800,\"height\":300,\"filename\":\"Screen Shot 2020-06-29 at 8.08.34 AM_800x300.jpg\",\"filepath\":\"message-images//banner/Screen Shot 2020-06-29 at 8.08.34 AM_800x300.jpg\",\"filesize\":54628},{\"url\":\"https://asd20websitestorage.blob.core.windows.net/website-files/message-images//full/Screen Shot 2020-06-29 at 8.08.34 AM_1200x800.jpg\",\"name\":\"full\",\"width\":1200,\"height\":800,\"filename\":\"Screen Shot 2020-06-29 at 8.08.34 AM_1200x800.jpg\",\"filepath\":\"message-images//full/Screen Shot 2020-06-29 at 8.08.34 AM_1200x800.jpg\",\"filesize\":142032}],\"isCover\":true,\"metadata\":{\"alt\":\"A Pine Creek High School Graduate looking very self-assured.\"}}]",
763
763
  "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\"}]",
764
764
  "translations": "null",
765
765
  "callsToAction": "null",
@@ -0,0 +1,29 @@
1
+ import globalpropmixinfactory from '.'
2
+
3
+ // Create a mixin to access user profile
4
+ const userProfileMixin = globalpropmixinfactory('userProfile', {
5
+ type: Object,
6
+ default: () => ({}),
7
+ })
8
+
9
+ // In your component
10
+ export default {
11
+ mixins: [userProfileMixin],
12
+ computed: {
13
+ userDisplayName() {
14
+ return this._userProfile.displayName || ''
15
+ },
16
+ userGivenName() {
17
+ return this._userProfile.givenName || ''
18
+ },
19
+ userJobTitle() {
20
+ return this._userProfile.jobTitle || ''
21
+ },
22
+ userOfficeLocation() {
23
+ return this._userProfile.officeLocation || ''
24
+ },
25
+ },
26
+ // mounted() {
27
+ // console.log('User Profile:', this._userProfile)
28
+ // },
29
+ }