@icvdeveloper/common-module 0.0.89 → 0.0.91

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.
Files changed (93) hide show
  1. package/README.md +6 -6
  2. package/dist/module.json +1 -1
  3. package/dist/runtime/@types/components.d.ts +4 -1
  4. package/dist/runtime/assets/scss/index.css +0 -705
  5. package/dist/runtime/assets/svg/answer.svg +14 -14
  6. package/dist/runtime/assets/svg/avatar.svg +1 -1
  7. package/dist/runtime/assets/svg/bell-icon.svg +3 -3
  8. package/dist/runtime/assets/svg/checkmark-icon.svg +1 -1
  9. package/dist/runtime/assets/svg/close-icon.svg +1 -1
  10. package/dist/runtime/assets/svg/icon-avatar.svg +1 -1
  11. package/dist/runtime/assets/svg/icon-chevron.svg +4 -4
  12. package/dist/runtime/assets/svg/icon-circle-plus.svg +1 -1
  13. package/dist/runtime/assets/svg/icon-close.svg +1 -1
  14. package/dist/runtime/assets/svg/icon-info.svg +2 -2
  15. package/dist/runtime/assets/svg/icon-new-window.svg +11 -11
  16. package/dist/runtime/assets/svg/icon-offline.svg +3 -3
  17. package/dist/runtime/assets/svg/icon-online.svg +3 -3
  18. package/dist/runtime/assets/svg/icon-person.svg +2 -2
  19. package/dist/runtime/assets/svg/icon-play.svg +2 -2
  20. package/dist/runtime/assets/svg/icon-star-filled.svg +29 -29
  21. package/dist/runtime/assets/svg/icon-star.svg +24 -24
  22. package/dist/runtime/assets/svg/icon-video-chat.svg +14 -14
  23. package/dist/runtime/assets/svg/icon-website.svg +2 -2
  24. package/dist/runtime/assets/svg/icon-zoom.svg +10 -10
  25. package/dist/runtime/assets/svg/notification-icon.svg +32 -32
  26. package/dist/runtime/assets/svg/offline-icon.svg +1 -1
  27. package/dist/runtime/assets/svg/online-icon.svg +3 -3
  28. package/dist/runtime/assets/svg/peer2peer.svg +3 -3
  29. package/dist/runtime/assets/svg/phone.svg +1 -1
  30. package/dist/runtime/assets/svg/plus-icon.svg +1 -1
  31. package/dist/runtime/assets/svg/red-icon.svg +3 -3
  32. package/dist/runtime/assets/svg/reject.svg +14 -14
  33. package/dist/runtime/assets/svg/search-icon.svg +3 -3
  34. package/dist/runtime/components/affiliates/AffiliatePage.vue +17 -17
  35. package/dist/runtime/components/agenda/AgendaList.vue +243 -234
  36. package/dist/runtime/components/agenda/AgendaTabbed.vue +309 -309
  37. package/dist/runtime/components/agenda/components/AgendaListAccordion.vue +53 -53
  38. package/dist/runtime/components/agenda/components/Calendar.vue +89 -89
  39. package/dist/runtime/components/agenda/components/InfoLink.vue +56 -56
  40. package/dist/runtime/components/agenda/components/PlayIcon.vue +49 -49
  41. package/dist/runtime/components/agenda/components/PresentationLink.vue +137 -137
  42. package/dist/runtime/components/agenda/components/Sponsor.vue +132 -132
  43. package/dist/runtime/components/auth/LoginFullWidth.vue +78 -78
  44. package/dist/runtime/components/auth/PasswordReset.vue +60 -60
  45. package/dist/runtime/components/auth/Registration.vue +27 -27
  46. package/dist/runtime/components/auth/Ucc.vue +81 -79
  47. package/dist/runtime/components/core/Accordion.vue +97 -97
  48. package/dist/runtime/components/core/CountdownTimer.vue +357 -308
  49. package/dist/runtime/components/core/DynamicHtml.vue +1 -1
  50. package/dist/runtime/components/core/Modal.vue +111 -111
  51. package/dist/runtime/components/core/Navbar.vue +154 -154
  52. package/dist/runtime/components/core/SvgIcon.vue +151 -151
  53. package/dist/runtime/components/core/ZoomModal.vue +37 -37
  54. package/dist/runtime/components/events/EventHeader.vue +133 -133
  55. package/dist/runtime/components/events/ListEvents.vue +531 -521
  56. package/dist/runtime/components/forms/AlertBox.vue +21 -21
  57. package/dist/runtime/components/forms/ErrorField.vue +17 -17
  58. package/dist/runtime/components/forms/Message.vue +27 -27
  59. package/dist/runtime/components/forms/SearchInput.vue +38 -38
  60. package/dist/runtime/components/forms/SupportForm.vue +112 -112
  61. package/dist/runtime/components/forms/SwitchInput.vue +42 -42
  62. package/dist/runtime/components/forms/TextArea.vue +26 -26
  63. package/dist/runtime/components/forms/TextInput.vue +28 -28
  64. package/dist/runtime/components/layouts/Accordion.vue +78 -78
  65. package/dist/runtime/components/media/PlayerAndContentContainer.vue +175 -175
  66. package/dist/runtime/components/media/WebcastVideoPlayer.vue +167 -167
  67. package/dist/runtime/components/media/components/AgendaPanel.vue +43 -42
  68. package/dist/runtime/components/media/components/CeCreditNotification.vue +95 -95
  69. package/dist/runtime/components/media/components/ContentAccordion.vue +63 -63
  70. package/dist/runtime/components/media/components/ContentAccordion.vue.d.ts +3 -1
  71. package/dist/runtime/components/media/components/ContentArea.vue +158 -158
  72. package/dist/runtime/components/media/components/ContentTabs.vue +231 -229
  73. package/dist/runtime/components/media/components/DocumentsPanel.vue +31 -31
  74. package/dist/runtime/components/media/components/JsonApi.vue +31 -31
  75. package/dist/runtime/components/media/components/MediaContainer.vue +63 -63
  76. package/dist/runtime/components/media/components/OverviewPanel.vue +52 -52
  77. package/dist/runtime/components/media/components/PresentersPanel.vue +52 -52
  78. package/dist/runtime/components/media/components/SessionReporting.vue +93 -93
  79. package/dist/runtime/components/media/components/SponsorsPanel.vue +71 -71
  80. package/dist/runtime/components/media/components/WindowContent.vue +92 -92
  81. package/dist/runtime/components/media/components/WindowSlide.vue +72 -72
  82. package/dist/runtime/components/presenters/PresenterListing.vue +164 -164
  83. package/dist/runtime/components/presenters/PresenterModal.vue +223 -223
  84. package/dist/runtime/components/profile/Profile.vue +149 -149
  85. package/dist/runtime/components/profile/components/Sidebar.vue +27 -27
  86. package/dist/runtime/components/profile/components/SidebarNavItem.vue +39 -39
  87. package/dist/runtime/components/profile/tabs/Favorites.vue +21 -21
  88. package/dist/runtime/components/profile/tabs/GeneralInformation.vue +122 -122
  89. package/dist/runtime/components/profile/tabs/ProfileImage.vue +75 -75
  90. package/dist/runtime/components/support/FAQAccordion.vue +140 -140
  91. package/dist/runtime/composables/useConferenceHelpers.mjs +2 -2
  92. package/dist/runtime/composables/useDateFormat.mjs +1 -1
  93. package/package.json +1 -1
@@ -1,65 +1,65 @@
1
- <script lang="ts" setup>
2
- import { ref, toRefs } from "vue";
3
- import { Conference, Presentation } from "../../../models/conference";
4
- import {
5
- MediaContainerClassObj,
6
- MediaContainerCompObj,
7
- WebcastPlayerClassObj,
8
- } from "../../../@types/components";
9
- import { useStream } from "../../../composables/useStream";
10
- import { useClassBinding } from "../../../composables/useClassBinding";
11
- import { useRuntimeConfig } from "#app";
12
-
13
- const config = useRuntimeConfig();
14
-
15
- type Props = {
16
- webcastConference: Conference;
17
- classObject?: MediaContainerClassObj;
18
- };
19
-
20
- const props = withDefaults(defineProps<Props>(), {
21
- classObject: () => {
22
- return {
23
- container: "",
24
- components: ref<MediaContainerCompObj>({
25
- webcastPlayer: ref<WebcastPlayerClassObj>({}),
26
- }),
27
- };
28
- },
29
- });
30
-
31
- const { webcastConference } = toRefs(props);
32
-
33
- const { classBinding } = useClassBinding();
34
-
35
- // emits
36
- const emit = defineEmits<{
37
- (event: string, value: Presentation): void;
38
- }>();
39
-
40
- console.log(
41
- config.public.awsDefaultRegion + ", " + config.public.resourcePrefix
42
- );
43
-
44
- const { currentStreamData, currentPresentation } = useStream(
45
- config.public.awsDefaultRegion,
46
- config.public.resourcePrefix,
47
- Number(webcastConference.value.id),
48
- emit
49
- );
50
- </script>
51
-
52
- <template>
53
- <div :class="classBinding(classObject, 'container', 'media-container')">
54
- <CommonWebcastVideoPlayer
55
- ref="mediaPlayer"
56
- :stream="currentStreamData"
57
- :presentation="currentPresentation"
58
- :class-object="classObject.components.webcastPlayer"
59
- ></CommonWebcastVideoPlayer>
60
- </div>
61
- </template>
62
-
1
+ <script lang="ts" setup>
2
+ import { ref, toRefs } from "vue";
3
+ import { Conference, Presentation } from "../../../models/conference";
4
+ import {
5
+ MediaContainerClassObj,
6
+ MediaContainerCompObj,
7
+ WebcastPlayerClassObj,
8
+ } from "../../../@types/components";
9
+ import { useStream } from "../../../composables/useStream";
10
+ import { useClassBinding } from "../../../composables/useClassBinding";
11
+ import { useRuntimeConfig } from "#app";
12
+
13
+ const config = useRuntimeConfig();
14
+
15
+ type Props = {
16
+ webcastConference: Conference;
17
+ classObject?: MediaContainerClassObj;
18
+ };
19
+
20
+ const props = withDefaults(defineProps<Props>(), {
21
+ classObject: () => {
22
+ return {
23
+ container: "",
24
+ components: ref<MediaContainerCompObj>({
25
+ webcastPlayer: ref<WebcastPlayerClassObj>({}),
26
+ }),
27
+ };
28
+ },
29
+ });
30
+
31
+ const { webcastConference } = toRefs(props);
32
+
33
+ const { classBinding } = useClassBinding();
34
+
35
+ // emits
36
+ const emit = defineEmits<{
37
+ (event: string, value: Presentation): void;
38
+ }>();
39
+
40
+ console.log(
41
+ config.public.awsDefaultRegion + ", " + config.public.resourcePrefix
42
+ );
43
+
44
+ const { currentStreamData, currentPresentation } = useStream(
45
+ config.public.awsDefaultRegion,
46
+ config.public.resourcePrefix,
47
+ Number(webcastConference.value.id),
48
+ emit
49
+ );
50
+ </script>
51
+
52
+ <template>
53
+ <div :class="classBinding(classObject, 'container', 'media-container')">
54
+ <CommonWebcastVideoPlayer
55
+ ref="mediaPlayer"
56
+ :stream="currentStreamData"
57
+ :presentation="currentPresentation"
58
+ :class-object="classObject.components.webcastPlayer"
59
+ ></CommonWebcastVideoPlayer>
60
+ </div>
61
+ </template>
62
+
63
63
  <style scoped>
64
64
  .media-container {
65
65
  display: grid;
@@ -105,4 +105,4 @@ const { currentStreamData, currentPresentation } = useStream(
105
105
  opacity: 0.7;
106
106
  }
107
107
  }
108
- </style>
108
+ </style>
@@ -1,52 +1,52 @@
1
- <script lang="ts" setup>
2
- import { toRefs, computed } from "vue";
3
- import { Presentation } from "../../../models/conference";
4
- import { OverviewPanelClassObj } from "../../../@types/components";
5
- import { useClassBinding } from "../../../composables/useClassBinding";
6
- type Props = {
7
- presentation: Presentation;
8
- classObject?: OverviewPanelClassObj;
9
- };
10
-
11
- const props = withDefaults(defineProps<Props>(), {
12
- classObject: () => {
13
- return {
14
- container: "",
15
- htmlElement: "",
16
- noOverviewElement: "",
17
- };
18
- },
19
- });
20
-
21
- const { presentation } = toRefs(props);
22
-
23
- const { classBinding } = useClassBinding();
24
-
25
- // computed
26
- const sessionOverview = computed((): string | null => {
27
- return presentation.value.description ? presentation.value.description : null;
28
- });
29
- </script>
30
-
31
- <template>
32
- <div
33
- :class="
34
- classBinding(
35
- classObject,
36
- 'container',
37
- 'text-grey-800 px-2 py-4 text-base leading-normal font-light'
38
- )
39
- "
40
- >
41
- <span
42
- v-if="sessionOverview"
43
- :class="classBinding(classObject, 'htmlElement', '')"
44
- v-html="sessionOverview"
45
- ></span>
46
- <p v-else :class="classBinding(classObject, 'noOverviewElement', '')">
47
- There is no overview for this presentation.
48
- </p>
49
- </div>
50
- </template>
51
-
52
- <style scoped></style>
1
+ <script lang="ts" setup>
2
+ import { toRefs, computed } from "vue";
3
+ import { Presentation } from "../../../models/conference";
4
+ import { OverviewPanelClassObj } from "../../../@types/components";
5
+ import { useClassBinding } from "../../../composables/useClassBinding";
6
+ type Props = {
7
+ presentation: Presentation;
8
+ classObject?: OverviewPanelClassObj;
9
+ };
10
+
11
+ const props = withDefaults(defineProps<Props>(), {
12
+ classObject: () => {
13
+ return {
14
+ container: "",
15
+ htmlElement: "",
16
+ noOverviewElement: "",
17
+ };
18
+ },
19
+ });
20
+
21
+ const { presentation } = toRefs(props);
22
+
23
+ const { classBinding } = useClassBinding();
24
+
25
+ // computed
26
+ const sessionOverview = computed((): string | null => {
27
+ return presentation.value.description ? presentation.value.description : null;
28
+ });
29
+ </script>
30
+
31
+ <template>
32
+ <div
33
+ :class="
34
+ classBinding(
35
+ classObject,
36
+ 'container',
37
+ 'text-grey-800 px-2 py-4 text-base leading-normal font-light'
38
+ )
39
+ "
40
+ >
41
+ <span
42
+ v-if="sessionOverview"
43
+ :class="classBinding(classObject, 'htmlElement', '')"
44
+ v-html="sessionOverview"
45
+ ></span>
46
+ <p v-else :class="classBinding(classObject, 'noOverviewElement', '')">
47
+ There is no overview for this presentation.
48
+ </p>
49
+ </div>
50
+ </template>
51
+
52
+ <style scoped></style>
@@ -1,57 +1,57 @@
1
- <template>
2
- <span v-if="presenterLevelArray['presenters_all'].presenters.length > 0">
3
- <presenters-detail
4
- :presenters-by-level="presenterLevelArray"
5
- :pres-format="layoutFormat"
6
- :item-width="itemWidth"
7
- :show-levels="false"
8
- :is-compact="isCompact"
9
- ></presenters-detail>
10
- </span>
11
- <div v-else class="text-grey-800 px-2 py-4">
12
- <p class="text-base leading-normal font-light">There are no presenters associated with this presentation.</p>
13
- </div>
14
- </template>
15
-
1
+ <template>
2
+ <span v-if="presenterLevelArray['presenters_all'].presenters.length > 0">
3
+ <presenters-detail
4
+ :presenters-by-level="presenterLevelArray"
5
+ :pres-format="layoutFormat"
6
+ :item-width="itemWidth"
7
+ :show-levels="false"
8
+ :is-compact="isCompact"
9
+ ></presenters-detail>
10
+ </span>
11
+ <div v-else class="text-grey-800 px-2 py-4">
12
+ <p class="text-base leading-normal font-light">There are no presenters associated with this presentation.</p>
13
+ </div>
14
+ </template>
15
+
16
16
  <script>
17
- import PresentersDetail from '@/components/presenters/PresentersDetail';
18
-
19
- export default {
20
- props: {
21
- itemWidth: {
22
- type: String,
23
- default: '120'
24
- },
25
- layoutFormat: {
26
- type: String,
27
- default: 'PresenterItemGrid'
28
- },
29
- isCompact: {
30
- default: true,
31
- type: Boolean
32
- }
33
- },
34
- components: {
35
- PresentersDetail
36
- },
37
- provide() {
38
- return {
39
- itemWidth: this.itemWidth,
40
- imageStyle: this.imageStyle,
41
- };
42
- },
43
- computed: {
44
- presenterLevelArray() {
45
- let returnArray = [];
46
- returnArray['presenters_all'] = { 'presenters': _.sortBy(this.$parent.currentPresentation.presenters, function (presenter) {
47
- return presenter.pivot.order;
48
- }) };
49
- return returnArray;
50
- }
51
- }
17
+ import PresentersDetail from '@/components/presenters/PresentersDetail';
18
+
19
+ export default {
20
+ props: {
21
+ itemWidth: {
22
+ type: String,
23
+ default: '120'
24
+ },
25
+ layoutFormat: {
26
+ type: String,
27
+ default: 'PresenterItemGrid'
28
+ },
29
+ isCompact: {
30
+ default: true,
31
+ type: Boolean
32
+ }
33
+ },
34
+ components: {
35
+ PresentersDetail
36
+ },
37
+ provide() {
38
+ return {
39
+ itemWidth: this.itemWidth,
40
+ imageStyle: this.imageStyle,
41
+ };
42
+ },
43
+ computed: {
44
+ presenterLevelArray() {
45
+ let returnArray = [];
46
+ returnArray['presenters_all'] = { 'presenters': _.sortBy(this.$parent.currentPresentation.presenters, function (presenter) {
47
+ return presenter.pivot.order;
48
+ }) };
49
+ return returnArray;
50
+ }
51
+ }
52
52
  };
53
- </script>
54
-
53
+ </script>
54
+
55
55
  <style scoped>
56
56
  .presenter-grid {
57
57
  display: grid;
@@ -1,96 +1,96 @@
1
1
  <script>
2
- import Cookies from "universal-cookie";
3
-
4
- const cookies = new Cookies();
5
-
6
- export default {
7
- render() {},
8
- data() {
9
- return {
10
- sessionCookieName: "session-cookie",
11
- sessionId: null,
12
- sessionLoopId: null,
13
- sessionLoopIntervalMinutes: 5,
14
- cookieExpireMinutes: 20
15
- };
16
- },
17
- props: {
18
- loggableType: {
19
- type: String,
20
- default: "App\\Presentation"
21
- },
22
- loggableId: {
23
- type: Number
24
- }
25
- },
26
- watch: {
27
- loggableId(_newId, _oldId) {
28
- this.updateSession();
29
- }
30
- },
31
- methods: {
32
- getSessionIdFromCookie() {
33
- return (this.sessionId = cookies.get(this.sessionCookieName));
34
- },
35
- initSessionLoop() {
36
- this.sessionLoop();
37
- this.sessionLoopId = setInterval(
38
- this.sessionLoop,
39
- parseInt(this.sessionLoopIntervalMinutes * 60 * 1000)
40
- );
41
- },
42
- sessionLoop() {
43
- if (this.getSessionIdFromCookie()) {
44
- this.updateSession();
45
- } else {
46
- this.initSession();
47
- }
48
- },
49
- updateSessionCookie() {
50
- let expireDate = new Date(
51
- new Date().getTime() + this.cookieExpireMinutes * 60 * 1000
52
- );
53
-
54
- cookies.set(this.sessionCookieName, this.sessionId, {
55
- expires: expireDate
56
- });
57
- },
58
- initSession() {
59
- this.$axios.$post("session-logs", {}).then(response => {
60
- this.sessionId = response;
61
- this.updateSession();
62
- });
63
- },
64
- updateSession() {
65
- if (!this.sessionId || !this.loggableType || !this.loggableId) {
66
- return false;
67
- }
68
-
69
- this.updateSessionCookie();
70
-
71
- let inputs = {
72
- _method: "PATCH",
73
- resource_type: this.loggableType,
74
- resource_id: this.loggableId
75
- };
76
-
77
- this.$axios
78
- .$post(`session-logs/${this.sessionId}`, inputs)
79
- .then(response => {
80
- console.log("updateSession", response);
81
- })
82
- .catch(error => {
83
- console.log("Error updating session-log", error);
84
- });
85
- }
86
- },
87
- mounted() {
88
- console.log("SessionReporting component mounted");
89
- this.initSessionLoop();
90
- },
91
- beforeRouteLeave(to, from, next) {
92
- clearInterval(this.sessionLoopId);
93
- next();
94
- }
2
+ import Cookies from "universal-cookie";
3
+
4
+ const cookies = new Cookies();
5
+
6
+ export default {
7
+ render() {},
8
+ data() {
9
+ return {
10
+ sessionCookieName: "session-cookie",
11
+ sessionId: null,
12
+ sessionLoopId: null,
13
+ sessionLoopIntervalMinutes: 5,
14
+ cookieExpireMinutes: 20
15
+ };
16
+ },
17
+ props: {
18
+ loggableType: {
19
+ type: String,
20
+ default: "App\\Presentation"
21
+ },
22
+ loggableId: {
23
+ type: Number
24
+ }
25
+ },
26
+ watch: {
27
+ loggableId(_newId, _oldId) {
28
+ this.updateSession();
29
+ }
30
+ },
31
+ methods: {
32
+ getSessionIdFromCookie() {
33
+ return (this.sessionId = cookies.get(this.sessionCookieName));
34
+ },
35
+ initSessionLoop() {
36
+ this.sessionLoop();
37
+ this.sessionLoopId = setInterval(
38
+ this.sessionLoop,
39
+ parseInt(this.sessionLoopIntervalMinutes * 60 * 1000)
40
+ );
41
+ },
42
+ sessionLoop() {
43
+ if (this.getSessionIdFromCookie()) {
44
+ this.updateSession();
45
+ } else {
46
+ this.initSession();
47
+ }
48
+ },
49
+ updateSessionCookie() {
50
+ let expireDate = new Date(
51
+ new Date().getTime() + this.cookieExpireMinutes * 60 * 1000
52
+ );
53
+
54
+ cookies.set(this.sessionCookieName, this.sessionId, {
55
+ expires: expireDate
56
+ });
57
+ },
58
+ initSession() {
59
+ this.$axios.$post("session-logs", {}).then(response => {
60
+ this.sessionId = response;
61
+ this.updateSession();
62
+ });
63
+ },
64
+ updateSession() {
65
+ if (!this.sessionId || !this.loggableType || !this.loggableId) {
66
+ return false;
67
+ }
68
+
69
+ this.updateSessionCookie();
70
+
71
+ let inputs = {
72
+ _method: "PATCH",
73
+ resource_type: this.loggableType,
74
+ resource_id: this.loggableId
75
+ };
76
+
77
+ this.$axios
78
+ .$post(`session-logs/${this.sessionId}`, inputs)
79
+ .then(response => {
80
+ console.log("updateSession", response);
81
+ })
82
+ .catch(error => {
83
+ console.log("Error updating session-log", error);
84
+ });
85
+ }
86
+ },
87
+ mounted() {
88
+ console.log("SessionReporting component mounted");
89
+ this.initSessionLoop();
90
+ },
91
+ beforeRouteLeave(to, from, next) {
92
+ clearInterval(this.sessionLoopId);
93
+ next();
94
+ }
95
95
  };
96
96
  </script>