@icvdeveloper/common-module 0.0.125 → 0.0.127

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 (100) hide show
  1. package/README.md +6 -6
  2. package/dist/module.json +1 -1
  3. package/dist/runtime/@types/components.d.ts +12 -0
  4. package/dist/runtime/assets/svg/answer.svg +14 -14
  5. package/dist/runtime/assets/svg/avatar.svg +1 -1
  6. package/dist/runtime/assets/svg/bell-icon.svg +3 -3
  7. package/dist/runtime/assets/svg/checkmark-icon.svg +1 -1
  8. package/dist/runtime/assets/svg/close-icon.svg +1 -1
  9. package/dist/runtime/assets/svg/icon-avatar.svg +1 -1
  10. package/dist/runtime/assets/svg/icon-chevron.svg +4 -4
  11. package/dist/runtime/assets/svg/icon-circle-plus.svg +1 -1
  12. package/dist/runtime/assets/svg/icon-close.svg +1 -1
  13. package/dist/runtime/assets/svg/icon-info.svg +2 -2
  14. package/dist/runtime/assets/svg/icon-new-window.svg +11 -11
  15. package/dist/runtime/assets/svg/icon-offline.svg +3 -3
  16. package/dist/runtime/assets/svg/icon-online.svg +3 -3
  17. package/dist/runtime/assets/svg/icon-person.svg +2 -2
  18. package/dist/runtime/assets/svg/icon-play.svg +2 -2
  19. package/dist/runtime/assets/svg/icon-star-filled.svg +29 -29
  20. package/dist/runtime/assets/svg/icon-star.svg +24 -24
  21. package/dist/runtime/assets/svg/icon-video-chat.svg +14 -14
  22. package/dist/runtime/assets/svg/icon-website.svg +2 -2
  23. package/dist/runtime/assets/svg/icon-zoom.svg +10 -10
  24. package/dist/runtime/assets/svg/notification-icon.svg +32 -32
  25. package/dist/runtime/assets/svg/offline-icon.svg +1 -1
  26. package/dist/runtime/assets/svg/online-icon.svg +3 -3
  27. package/dist/runtime/assets/svg/peer2peer.svg +3 -3
  28. package/dist/runtime/assets/svg/phone.svg +1 -1
  29. package/dist/runtime/assets/svg/plus-icon.svg +1 -1
  30. package/dist/runtime/assets/svg/red-icon.svg +3 -3
  31. package/dist/runtime/assets/svg/reject.svg +14 -14
  32. package/dist/runtime/assets/svg/search-icon.svg +3 -3
  33. package/dist/runtime/components/affiliates/AffiliatePage.vue +329 -17
  34. package/dist/runtime/components/agenda/AgendaList.vue +259 -259
  35. package/dist/runtime/components/agenda/AgendaTabbed.vue +305 -305
  36. package/dist/runtime/components/agenda/components/AgendaListAccordion.vue +67 -67
  37. package/dist/runtime/components/agenda/components/Calendar.vue +67 -67
  38. package/dist/runtime/components/agenda/components/InfoLink.vue +56 -56
  39. package/dist/runtime/components/agenda/components/PlayIcon.vue +49 -49
  40. package/dist/runtime/components/agenda/components/PresentationLink.vue +137 -137
  41. package/dist/runtime/components/agenda/components/Sponsor.vue +132 -132
  42. package/dist/runtime/components/auth/LoginFullWidth.vue +78 -78
  43. package/dist/runtime/components/auth/PasswordReset.vue +60 -60
  44. package/dist/runtime/components/auth/Registration.vue +27 -27
  45. package/dist/runtime/components/auth/Ucc.vue +129 -129
  46. package/dist/runtime/components/core/Accordion.vue +97 -97
  47. package/dist/runtime/components/core/CountdownTimer.vue +336 -336
  48. package/dist/runtime/components/core/DynamicHtml.vue +1 -1
  49. package/dist/runtime/components/core/Modal.vue +111 -111
  50. package/dist/runtime/components/core/Navbar.vue +154 -154
  51. package/dist/runtime/components/core/SvgIcon.vue +157 -157
  52. package/dist/runtime/components/core/ZoomModal.vue +37 -37
  53. package/dist/runtime/components/events/EventHeader.vue +133 -133
  54. package/dist/runtime/components/events/ListEvents.vue +554 -554
  55. package/dist/runtime/components/forms/AlertBox.vue +21 -21
  56. package/dist/runtime/components/forms/ErrorField.vue +17 -17
  57. package/dist/runtime/components/forms/Message.vue +27 -27
  58. package/dist/runtime/components/forms/SearchInput.vue +38 -38
  59. package/dist/runtime/components/forms/SupportForm.vue +112 -112
  60. package/dist/runtime/components/forms/SwitchInput.vue +42 -42
  61. package/dist/runtime/components/forms/TextArea.vue +26 -26
  62. package/dist/runtime/components/forms/TextInput.vue +28 -28
  63. package/dist/runtime/components/layouts/Accordion.vue +78 -78
  64. package/dist/runtime/components/media/ArchivePlayerAndContentContainer.vue +160 -160
  65. package/dist/runtime/components/media/ArchiveVideoPlayer.vue +186 -186
  66. package/dist/runtime/components/media/PlayerAndContentContainer.vue +183 -183
  67. package/dist/runtime/components/media/WebcastVideoPlayer.vue +140 -140
  68. package/dist/runtime/components/media/components/AgendaPanel.vue +43 -43
  69. package/dist/runtime/components/media/components/ArchiveMediaContainer.vue +91 -91
  70. package/dist/runtime/components/media/components/CeCreditNotification.vue +95 -95
  71. package/dist/runtime/components/media/components/ContentAccordion.vue +63 -63
  72. package/dist/runtime/components/media/components/ContentArea.vue +158 -158
  73. package/dist/runtime/components/media/components/ContentTabs.vue +231 -231
  74. package/dist/runtime/components/media/components/DocumentsPanel.vue +31 -31
  75. package/dist/runtime/components/media/components/JsonApi.vue +31 -31
  76. package/dist/runtime/components/media/components/MediaContainer.vue +63 -63
  77. package/dist/runtime/components/media/components/OverviewPanel.vue +52 -52
  78. package/dist/runtime/components/media/components/PresentersPanel.vue +52 -52
  79. package/dist/runtime/components/media/components/SessionReporting.vue +102 -102
  80. package/dist/runtime/components/media/components/SponsorsPanel.vue +71 -71
  81. package/dist/runtime/components/media/components/WindowContent.vue +92 -92
  82. package/dist/runtime/components/media/components/WindowSlide.vue +72 -72
  83. package/dist/runtime/components/presenters/PresenterListing.vue +164 -164
  84. package/dist/runtime/components/presenters/PresenterModal.vue +223 -223
  85. package/dist/runtime/components/profile/Profile.vue +149 -149
  86. package/dist/runtime/components/profile/components/Sidebar.vue +27 -27
  87. package/dist/runtime/components/profile/components/SidebarNavItem.vue +39 -39
  88. package/dist/runtime/components/profile/tabs/Favorites.vue +21 -21
  89. package/dist/runtime/components/profile/tabs/GeneralInformation.vue +122 -122
  90. package/dist/runtime/components/profile/tabs/ProfileImage.vue +75 -75
  91. package/dist/runtime/components/support/FAQAccordion.vue +140 -140
  92. package/dist/runtime/models/conference.d.ts +24 -0
  93. package/dist/runtime/models/document.d.ts +7 -0
  94. package/dist/runtime/models/link.d.ts +6 -0
  95. package/dist/runtime/models/link.mjs +0 -0
  96. package/dist/runtime/models/video.d.ts +6 -0
  97. package/dist/runtime/models/video.mjs +0 -0
  98. package/package.json +1 -1
  99. package/dist/runtime/models/affiliate.d.ts +0 -1
  100. /package/dist/runtime/models/{affiliate.mjs → document.mjs} +0 -0
@@ -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,102 +1,102 @@
1
- <script lang="ts" setup>
2
- import { toRefs, watch, onMounted } from "vue";
3
- import { onBeforeRouteLeave } from "vue-router";
4
- import { useApi } from "../../../composables/useApi";
5
- import { useCookie } from "#app";
6
- // data
7
- const sessionLoopIntervalMinutes = 5;
8
- const cookieExpireMinutes = 20;
9
- let cookie = useCookie("session-cookie");
10
- let sessionId: any = null;
11
- let sessionLoopId: any = null;
12
-
13
- type Props = {
14
- loggableType?: string;
15
- loggableId: number | undefined;
16
- };
17
-
18
- const props = withDefaults(defineProps<Props>(), {
19
- loggableType: "App\\Presentation",
20
- });
21
-
22
- const { loggableType, loggableId } = toRefs(props);
23
-
24
- // methods
25
- const updateSessionCookie = () => {
26
- const expireDate = new Date(
27
- new Date().getTime() + cookieExpireMinutes * 60 * 1000
28
- );
29
- cookie = useCookie("session-cookie", {
30
- expires: expireDate,
31
- });
32
- cookie.value = sessionId;
33
- };
34
-
35
- const updateSession = () => {
36
- if (!sessionId || !loggableType.value || !loggableId.value) {
37
- return false;
38
- }
39
-
40
- updateSessionCookie();
41
-
42
- const inputs = {
43
- method: "PATCH",
44
- resource_type: loggableType,
45
- resource_id: loggableId,
46
- };
47
- const url = `session-logs/${sessionId}`;
48
- const request = useApi();
49
- request(url, inputs)
50
- .then((response) => {
51
- console.log("updateSession", response);
52
- })
53
- .catch((error) => {
54
- console.log("Error updating session-log", error);
55
- });
56
- };
57
-
58
- const initSession = () => {
59
- const url = "session-logs";
60
- const request = useApi();
61
- request(url, { method: "POST" }).then((response) => {
62
- sessionId = response;
63
- console.log("initSession", response);
64
- updateSession();
65
- });
66
- };
67
-
68
- const getSessionIdFromCookie = () => {
69
- return (sessionId = cookie.value);
70
- };
71
-
72
- const sessionLoop = () => {
73
- if (getSessionIdFromCookie()) {
74
- updateSession();
75
- } else {
76
- initSession();
77
- }
78
- };
79
-
80
- const initSessionLoop = () => {
81
- sessionLoop();
82
- sessionLoopId = setInterval(
83
- sessionLoop,
84
- sessionLoopIntervalMinutes * 60 * 1000
85
- );
86
- };
87
-
88
- // watchers
89
- watch(loggableId, (_newId: number, _oldId: number) => {
90
- updateSession();
91
- });
92
-
93
- // mounted
94
- onMounted(() => {
95
- console.log("SessionReporting component mounted");
96
- initSessionLoop();
97
- });
98
-
99
- onBeforeRouteLeave(() => {
100
- clearInterval(sessionLoopId);
101
- });
102
- </script>
1
+ <script lang="ts" setup>
2
+ import { toRefs, watch, onMounted } from "vue";
3
+ import { onBeforeRouteLeave } from "vue-router";
4
+ import { useApi } from "../../../composables/useApi";
5
+ import { useCookie } from "#app";
6
+ // data
7
+ const sessionLoopIntervalMinutes = 5;
8
+ const cookieExpireMinutes = 20;
9
+ let cookie = useCookie("session-cookie");
10
+ let sessionId: any = null;
11
+ let sessionLoopId: any = null;
12
+
13
+ type Props = {
14
+ loggableType?: string;
15
+ loggableId: number | undefined;
16
+ };
17
+
18
+ const props = withDefaults(defineProps<Props>(), {
19
+ loggableType: "App\\Presentation",
20
+ });
21
+
22
+ const { loggableType, loggableId } = toRefs(props);
23
+
24
+ // methods
25
+ const updateSessionCookie = () => {
26
+ const expireDate = new Date(
27
+ new Date().getTime() + cookieExpireMinutes * 60 * 1000
28
+ );
29
+ cookie = useCookie("session-cookie", {
30
+ expires: expireDate,
31
+ });
32
+ cookie.value = sessionId;
33
+ };
34
+
35
+ const updateSession = () => {
36
+ if (!sessionId || !loggableType.value || !loggableId.value) {
37
+ return false;
38
+ }
39
+
40
+ updateSessionCookie();
41
+
42
+ const inputs = {
43
+ method: "PATCH",
44
+ resource_type: loggableType,
45
+ resource_id: loggableId,
46
+ };
47
+ const url = `session-logs/${sessionId}`;
48
+ const request = useApi();
49
+ request(url, inputs)
50
+ .then((response) => {
51
+ console.log("updateSession", response);
52
+ })
53
+ .catch((error) => {
54
+ console.log("Error updating session-log", error);
55
+ });
56
+ };
57
+
58
+ const initSession = () => {
59
+ const url = "session-logs";
60
+ const request = useApi();
61
+ request(url, { method: "POST" }).then((response) => {
62
+ sessionId = response;
63
+ console.log("initSession", response);
64
+ updateSession();
65
+ });
66
+ };
67
+
68
+ const getSessionIdFromCookie = () => {
69
+ return (sessionId = cookie.value);
70
+ };
71
+
72
+ const sessionLoop = () => {
73
+ if (getSessionIdFromCookie()) {
74
+ updateSession();
75
+ } else {
76
+ initSession();
77
+ }
78
+ };
79
+
80
+ const initSessionLoop = () => {
81
+ sessionLoop();
82
+ sessionLoopId = setInterval(
83
+ sessionLoop,
84
+ sessionLoopIntervalMinutes * 60 * 1000
85
+ );
86
+ };
87
+
88
+ // watchers
89
+ watch(loggableId, (_newId: number, _oldId: number) => {
90
+ updateSession();
91
+ });
92
+
93
+ // mounted
94
+ onMounted(() => {
95
+ console.log("SessionReporting component mounted");
96
+ initSessionLoop();
97
+ });
98
+
99
+ onBeforeRouteLeave(() => {
100
+ clearInterval(sessionLoopId);
101
+ });
102
+ </script>