@icvdeveloper/common-module 0.0.95 → 0.0.97
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/README.md +6 -6
- package/dist/module.json +1 -1
- package/dist/runtime/assets/scss/index.css +705 -0
- package/dist/runtime/assets/svg/answer.svg +14 -14
- package/dist/runtime/assets/svg/avatar.svg +1 -1
- package/dist/runtime/assets/svg/bell-icon.svg +3 -3
- package/dist/runtime/assets/svg/checkmark-icon.svg +1 -1
- package/dist/runtime/assets/svg/close-icon.svg +1 -1
- package/dist/runtime/assets/svg/icon-avatar.svg +1 -1
- package/dist/runtime/assets/svg/icon-chevron.svg +4 -4
- package/dist/runtime/assets/svg/icon-circle-plus.svg +1 -1
- package/dist/runtime/assets/svg/icon-close.svg +1 -1
- package/dist/runtime/assets/svg/icon-info.svg +2 -2
- package/dist/runtime/assets/svg/icon-new-window.svg +11 -11
- package/dist/runtime/assets/svg/icon-offline.svg +3 -3
- package/dist/runtime/assets/svg/icon-online.svg +3 -3
- package/dist/runtime/assets/svg/icon-person.svg +2 -2
- package/dist/runtime/assets/svg/icon-play.svg +2 -2
- package/dist/runtime/assets/svg/icon-star-filled.svg +29 -29
- package/dist/runtime/assets/svg/icon-star.svg +24 -24
- package/dist/runtime/assets/svg/icon-video-chat.svg +14 -14
- package/dist/runtime/assets/svg/icon-website.svg +2 -2
- package/dist/runtime/assets/svg/icon-zoom.svg +10 -10
- package/dist/runtime/assets/svg/notification-icon.svg +32 -32
- package/dist/runtime/assets/svg/offline-icon.svg +1 -1
- package/dist/runtime/assets/svg/online-icon.svg +3 -3
- package/dist/runtime/assets/svg/peer2peer.svg +3 -3
- package/dist/runtime/assets/svg/phone.svg +1 -1
- package/dist/runtime/assets/svg/plus-icon.svg +1 -1
- package/dist/runtime/assets/svg/red-icon.svg +3 -3
- package/dist/runtime/assets/svg/reject.svg +14 -14
- package/dist/runtime/assets/svg/search-icon.svg +3 -3
- package/dist/runtime/components/affiliates/AffiliatePage.vue +17 -17
- package/dist/runtime/components/agenda/AgendaList.vue +243 -243
- package/dist/runtime/components/agenda/AgendaTabbed.vue +309 -309
- package/dist/runtime/components/agenda/components/AgendaListAccordion.vue +53 -53
- package/dist/runtime/components/agenda/components/Calendar.vue +89 -89
- package/dist/runtime/components/agenda/components/InfoLink.vue +56 -56
- package/dist/runtime/components/agenda/components/PlayIcon.vue +49 -49
- package/dist/runtime/components/agenda/components/PresentationLink.vue +137 -137
- package/dist/runtime/components/agenda/components/Sponsor.vue +132 -132
- package/dist/runtime/components/auth/LoginFullWidth.vue +78 -78
- package/dist/runtime/components/auth/PasswordReset.vue +60 -60
- package/dist/runtime/components/auth/Registration.vue +27 -27
- package/dist/runtime/components/auth/Ucc.vue +81 -81
- package/dist/runtime/components/core/Accordion.vue +97 -97
- package/dist/runtime/components/core/CountdownTimer.vue +357 -357
- package/dist/runtime/components/core/DynamicHtml.vue +1 -1
- package/dist/runtime/components/core/Modal.vue +111 -111
- package/dist/runtime/components/core/Navbar.vue +154 -154
- package/dist/runtime/components/core/SvgIcon.vue +151 -151
- package/dist/runtime/components/core/ZoomModal.vue +37 -37
- package/dist/runtime/components/events/EventHeader.vue +133 -133
- package/dist/runtime/components/events/ListEvents.vue +531 -531
- package/dist/runtime/components/forms/AlertBox.vue +21 -21
- package/dist/runtime/components/forms/ErrorField.vue +17 -17
- package/dist/runtime/components/forms/Message.vue +27 -27
- package/dist/runtime/components/forms/SearchInput.vue +38 -38
- package/dist/runtime/components/forms/SupportForm.vue +112 -112
- package/dist/runtime/components/forms/SwitchInput.vue +42 -42
- package/dist/runtime/components/forms/TextArea.vue +26 -26
- package/dist/runtime/components/forms/TextInput.vue +28 -28
- package/dist/runtime/components/layouts/Accordion.vue +78 -78
- package/dist/runtime/components/media/ArchivePlayerAndContentContainer.vue +157 -157
- package/dist/runtime/components/media/ArchiveVideoPlayer.vue +186 -185
- package/dist/runtime/components/media/PlayerAndContentContainer.vue +175 -175
- package/dist/runtime/components/media/WebcastVideoPlayer.vue +167 -167
- package/dist/runtime/components/media/components/AgendaPanel.vue +43 -43
- package/dist/runtime/components/media/components/ArchiveMediaContainer.vue +91 -91
- package/dist/runtime/components/media/components/CeCreditNotification.vue +95 -95
- package/dist/runtime/components/media/components/ContentAccordion.vue +63 -63
- package/dist/runtime/components/media/components/ContentAccordion.vue.d.ts +1 -3
- package/dist/runtime/components/media/components/ContentArea.vue +158 -158
- package/dist/runtime/components/media/components/ContentTabs.vue +231 -231
- package/dist/runtime/components/media/components/DocumentsPanel.vue +31 -31
- package/dist/runtime/components/media/components/JsonApi.vue +31 -31
- package/dist/runtime/components/media/components/MediaContainer.vue +63 -63
- package/dist/runtime/components/media/components/OverviewPanel.vue +52 -52
- package/dist/runtime/components/media/components/PresentersPanel.vue +52 -52
- package/dist/runtime/components/media/components/SessionReporting.vue +93 -93
- package/dist/runtime/components/media/components/SponsorsPanel.vue +71 -71
- package/dist/runtime/components/media/components/WindowContent.vue +92 -92
- package/dist/runtime/components/media/components/WindowSlide.vue +72 -72
- package/dist/runtime/components/presenters/PresenterListing.vue +164 -164
- package/dist/runtime/components/presenters/PresenterModal.vue +223 -223
- package/dist/runtime/components/profile/Profile.vue +149 -149
- package/dist/runtime/components/profile/components/Sidebar.vue +27 -27
- package/dist/runtime/components/profile/components/SidebarNavItem.vue +39 -39
- package/dist/runtime/components/profile/tabs/Favorites.vue +21 -21
- package/dist/runtime/components/profile/tabs/GeneralInformation.vue +122 -122
- package/dist/runtime/components/profile/tabs/ProfileImage.vue +75 -75
- package/dist/runtime/components/support/FAQAccordion.vue +140 -140
- package/package.json +1 -1
|
@@ -1,175 +1,175 @@
|
|
|
1
|
-
<script lang="ts" setup>
|
|
2
|
-
import { ref, toRefs, computed } from "vue";
|
|
3
|
-
import { storeToRefs } from "pinia";
|
|
4
|
-
import { useRoute } from "vue-router";
|
|
5
|
-
import { useClassBinding } from "../../composables/useClassBinding";
|
|
6
|
-
import { Conference, Presentation } from "../../models/conference";
|
|
7
|
-
import { SelectedContent } from "../../enums/general";
|
|
8
|
-
import { usePresentationsStore } from "../../store/presentations";
|
|
9
|
-
import { useAuthStore } from "../../store/auth";
|
|
10
|
-
import {
|
|
11
|
-
PlayerAndContentClassObj,
|
|
12
|
-
PlayerAndContentCompObj,
|
|
13
|
-
ContentTabsClassObj,
|
|
14
|
-
ContentAreaClassObj,
|
|
15
|
-
MediaContainerClassObj,
|
|
16
|
-
} from "../../@types/components";
|
|
17
|
-
|
|
18
|
-
type Props = {
|
|
19
|
-
conference: Conference;
|
|
20
|
-
presentation: Presentation;
|
|
21
|
-
tabs?: Array<{ label: string; type: SelectedContent; content: string }>;
|
|
22
|
-
classObject?: PlayerAndContentClassObj;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
const props = withDefaults(defineProps<Props>(), {
|
|
26
|
-
tabs: () => {
|
|
27
|
-
return [
|
|
28
|
-
{ label: "Overview", type: SelectedContent.OVERVIEW, content: "string" },
|
|
29
|
-
];
|
|
30
|
-
},
|
|
31
|
-
classObject: () => {
|
|
32
|
-
return {
|
|
33
|
-
container: "",
|
|
34
|
-
noTabsContainer: "",
|
|
35
|
-
noTabsChild: "",
|
|
36
|
-
withTabsContainer: "",
|
|
37
|
-
withTabsChild: "",
|
|
38
|
-
mediaTabsContainer: "",
|
|
39
|
-
components: ref<PlayerAndContentCompObj>({
|
|
40
|
-
contentTabs: ref<ContentTabsClassObj>({}),
|
|
41
|
-
contentArea: ref<ContentAreaClassObj>({}),
|
|
42
|
-
mediaContainer: ref<MediaContainerClassObj>({}),
|
|
43
|
-
}),
|
|
44
|
-
};
|
|
45
|
-
},
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
const { conference, presentation } = toRefs(props);
|
|
49
|
-
|
|
50
|
-
const route = ref(useRoute());
|
|
51
|
-
|
|
52
|
-
const { classBinding } = useClassBinding();
|
|
53
|
-
|
|
54
|
-
const { selectedContent } = storeToRefs(usePresentationsStore());
|
|
55
|
-
const { isLoggedIn } = storeToRefs(useAuthStore());
|
|
56
|
-
|
|
57
|
-
// computed
|
|
58
|
-
|
|
59
|
-
const isStreamTest = computed((): boolean => {
|
|
60
|
-
return (
|
|
61
|
-
route.value.params.channelid === "stream-test" ||
|
|
62
|
-
String(route.value.name) === "stream-test"
|
|
63
|
-
);
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
const hasAccess = computed((): boolean => {
|
|
67
|
-
return isLoggedIn.value && conference.value.access;
|
|
68
|
-
});
|
|
69
|
-
</script>
|
|
70
|
-
|
|
71
|
-
<template>
|
|
72
|
-
<div :class="classBinding(classObject, 'container', 'flex flex-col w-full')">
|
|
73
|
-
<!-- NO TABS -->
|
|
74
|
-
<div
|
|
75
|
-
v-if="isStreamTest || (hasAccess && !tabs.length)"
|
|
76
|
-
:class="
|
|
77
|
-
classBinding(
|
|
78
|
-
classObject,
|
|
79
|
-
'noTabsContainer',
|
|
80
|
-
'container mx-auto flex flex-col text-center pt-6'
|
|
81
|
-
)
|
|
82
|
-
"
|
|
83
|
-
>
|
|
84
|
-
<div :class="classBinding(classObject, 'noTabsChild', 'flex-1')">
|
|
85
|
-
<CommonComponentsMediaContainer
|
|
86
|
-
:class="
|
|
87
|
-
classBinding(
|
|
88
|
-
classObject,
|
|
89
|
-
'classObject.components.mediaContainer.container',
|
|
90
|
-
'flex-1 aspect-video'
|
|
91
|
-
)
|
|
92
|
-
"
|
|
93
|
-
:webcast-conference="conference"
|
|
94
|
-
:class-object="classObject.components.mediaContainer"
|
|
95
|
-
/>
|
|
96
|
-
</div>
|
|
97
|
-
</div>
|
|
98
|
-
|
|
99
|
-
<!-- TABS -->
|
|
100
|
-
<div v-else :class="classBinding(classObject, 'withTabsContainer', '')">
|
|
101
|
-
<CommonComponentsContentTabs
|
|
102
|
-
:class="
|
|
103
|
-
classBinding(
|
|
104
|
-
classObject,
|
|
105
|
-
'classObject.components.contentTabs.container',
|
|
106
|
-
'hidden md:block'
|
|
107
|
-
)
|
|
108
|
-
"
|
|
109
|
-
:webcast-conference="conference"
|
|
110
|
-
:items="tabs"
|
|
111
|
-
:class-object="classObject.components.contentTabs"
|
|
112
|
-
/>
|
|
113
|
-
<div
|
|
114
|
-
:class="
|
|
115
|
-
classBinding(
|
|
116
|
-
classObject,
|
|
117
|
-
'withTabsChild',
|
|
118
|
-
'flex-1 grid grid-cols-7 grid-rows-2 gap-y-4'
|
|
119
|
-
)
|
|
120
|
-
"
|
|
121
|
-
>
|
|
122
|
-
<div
|
|
123
|
-
:class="
|
|
124
|
-
classBinding(
|
|
125
|
-
classObject,
|
|
126
|
-
'MediaTabsContainer',
|
|
127
|
-
'col-span-7 row-span-1 md:col-span-4 lg:col-span-5 aspect-video'
|
|
128
|
-
)
|
|
129
|
-
"
|
|
130
|
-
>
|
|
131
|
-
<CommonComponentsMediaContainer
|
|
132
|
-
class="w-full"
|
|
133
|
-
:webcast-conference="conference"
|
|
134
|
-
:class-object="classObject.components.mediaContainer"
|
|
135
|
-
/>
|
|
136
|
-
<CommonComponentsContentTabs
|
|
137
|
-
class="block md:hidden"
|
|
138
|
-
:webcast-conference="conference"
|
|
139
|
-
:items="tabs"
|
|
140
|
-
:class-object="classObject.components.contentTabs"
|
|
141
|
-
/>
|
|
142
|
-
</div>
|
|
143
|
-
<CommonComponentsContentArea
|
|
144
|
-
class="col-span-7 row-span-1 md:col-span-3 lg:col-span-2 border ml-0 md:ml-6"
|
|
145
|
-
:selected-content="selectedContent"
|
|
146
|
-
:webcast-conference="conference"
|
|
147
|
-
:presentation="presentation"
|
|
148
|
-
:class-object="classObject.components.contentArea"
|
|
149
|
-
/>
|
|
150
|
-
<!-- sponsor -->
|
|
151
|
-
<figure
|
|
152
|
-
class="col-span-7 md:col-start-5 md:col-span-3 lg:col-start-6 lg:col-span-6 row-span-1 flex flex-col p-6 text-center"
|
|
153
|
-
>
|
|
154
|
-
<h3
|
|
155
|
-
v-if="conference.affiliates.length > 0"
|
|
156
|
-
class="allsmallcaps text-sm pb-4 text-neutral-400 scala"
|
|
157
|
-
>
|
|
158
|
-
Sponsored by:
|
|
159
|
-
</h3>
|
|
160
|
-
<template v-for="affiliate in conference.affiliates">
|
|
161
|
-
<CommonComponentsSponsor
|
|
162
|
-
v-if="affiliate.role == 'sponsor'"
|
|
163
|
-
:key="affiliate.id"
|
|
164
|
-
:sponsor="affiliate"
|
|
165
|
-
:class-object="{
|
|
166
|
-
labelImageContainer: 'block',
|
|
167
|
-
sponsorContainer: 'img-mx-auto',
|
|
168
|
-
}"
|
|
169
|
-
/>
|
|
170
|
-
</template>
|
|
171
|
-
</figure>
|
|
172
|
-
</div>
|
|
173
|
-
</div>
|
|
174
|
-
</div>
|
|
175
|
-
</template>
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import { ref, toRefs, computed } from "vue";
|
|
3
|
+
import { storeToRefs } from "pinia";
|
|
4
|
+
import { useRoute } from "vue-router";
|
|
5
|
+
import { useClassBinding } from "../../composables/useClassBinding";
|
|
6
|
+
import { Conference, Presentation } from "../../models/conference";
|
|
7
|
+
import { SelectedContent } from "../../enums/general";
|
|
8
|
+
import { usePresentationsStore } from "../../store/presentations";
|
|
9
|
+
import { useAuthStore } from "../../store/auth";
|
|
10
|
+
import {
|
|
11
|
+
PlayerAndContentClassObj,
|
|
12
|
+
PlayerAndContentCompObj,
|
|
13
|
+
ContentTabsClassObj,
|
|
14
|
+
ContentAreaClassObj,
|
|
15
|
+
MediaContainerClassObj,
|
|
16
|
+
} from "../../@types/components";
|
|
17
|
+
|
|
18
|
+
type Props = {
|
|
19
|
+
conference: Conference;
|
|
20
|
+
presentation: Presentation;
|
|
21
|
+
tabs?: Array<{ label: string; type: SelectedContent; content: string }>;
|
|
22
|
+
classObject?: PlayerAndContentClassObj;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
26
|
+
tabs: () => {
|
|
27
|
+
return [
|
|
28
|
+
{ label: "Overview", type: SelectedContent.OVERVIEW, content: "string" },
|
|
29
|
+
];
|
|
30
|
+
},
|
|
31
|
+
classObject: () => {
|
|
32
|
+
return {
|
|
33
|
+
container: "",
|
|
34
|
+
noTabsContainer: "",
|
|
35
|
+
noTabsChild: "",
|
|
36
|
+
withTabsContainer: "",
|
|
37
|
+
withTabsChild: "",
|
|
38
|
+
mediaTabsContainer: "",
|
|
39
|
+
components: ref<PlayerAndContentCompObj>({
|
|
40
|
+
contentTabs: ref<ContentTabsClassObj>({}),
|
|
41
|
+
contentArea: ref<ContentAreaClassObj>({}),
|
|
42
|
+
mediaContainer: ref<MediaContainerClassObj>({}),
|
|
43
|
+
}),
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
const { conference, presentation } = toRefs(props);
|
|
49
|
+
|
|
50
|
+
const route = ref(useRoute());
|
|
51
|
+
|
|
52
|
+
const { classBinding } = useClassBinding();
|
|
53
|
+
|
|
54
|
+
const { selectedContent } = storeToRefs(usePresentationsStore());
|
|
55
|
+
const { isLoggedIn } = storeToRefs(useAuthStore());
|
|
56
|
+
|
|
57
|
+
// computed
|
|
58
|
+
|
|
59
|
+
const isStreamTest = computed((): boolean => {
|
|
60
|
+
return (
|
|
61
|
+
route.value.params.channelid === "stream-test" ||
|
|
62
|
+
String(route.value.name) === "stream-test"
|
|
63
|
+
);
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
const hasAccess = computed((): boolean => {
|
|
67
|
+
return isLoggedIn.value && conference.value.access;
|
|
68
|
+
});
|
|
69
|
+
</script>
|
|
70
|
+
|
|
71
|
+
<template>
|
|
72
|
+
<div :class="classBinding(classObject, 'container', 'flex flex-col w-full')">
|
|
73
|
+
<!-- NO TABS -->
|
|
74
|
+
<div
|
|
75
|
+
v-if="isStreamTest || (hasAccess && !tabs.length)"
|
|
76
|
+
:class="
|
|
77
|
+
classBinding(
|
|
78
|
+
classObject,
|
|
79
|
+
'noTabsContainer',
|
|
80
|
+
'container mx-auto flex flex-col text-center pt-6'
|
|
81
|
+
)
|
|
82
|
+
"
|
|
83
|
+
>
|
|
84
|
+
<div :class="classBinding(classObject, 'noTabsChild', 'flex-1')">
|
|
85
|
+
<CommonComponentsMediaContainer
|
|
86
|
+
:class="
|
|
87
|
+
classBinding(
|
|
88
|
+
classObject,
|
|
89
|
+
'classObject.components.mediaContainer.container',
|
|
90
|
+
'flex-1 aspect-video'
|
|
91
|
+
)
|
|
92
|
+
"
|
|
93
|
+
:webcast-conference="conference"
|
|
94
|
+
:class-object="classObject.components.mediaContainer"
|
|
95
|
+
/>
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
98
|
+
|
|
99
|
+
<!-- TABS -->
|
|
100
|
+
<div v-else :class="classBinding(classObject, 'withTabsContainer', '')">
|
|
101
|
+
<CommonComponentsContentTabs
|
|
102
|
+
:class="
|
|
103
|
+
classBinding(
|
|
104
|
+
classObject,
|
|
105
|
+
'classObject.components.contentTabs.container',
|
|
106
|
+
'hidden md:block'
|
|
107
|
+
)
|
|
108
|
+
"
|
|
109
|
+
:webcast-conference="conference"
|
|
110
|
+
:items="tabs"
|
|
111
|
+
:class-object="classObject.components.contentTabs"
|
|
112
|
+
/>
|
|
113
|
+
<div
|
|
114
|
+
:class="
|
|
115
|
+
classBinding(
|
|
116
|
+
classObject,
|
|
117
|
+
'withTabsChild',
|
|
118
|
+
'flex-1 grid grid-cols-7 grid-rows-2 gap-y-4'
|
|
119
|
+
)
|
|
120
|
+
"
|
|
121
|
+
>
|
|
122
|
+
<div
|
|
123
|
+
:class="
|
|
124
|
+
classBinding(
|
|
125
|
+
classObject,
|
|
126
|
+
'MediaTabsContainer',
|
|
127
|
+
'col-span-7 row-span-1 md:col-span-4 lg:col-span-5 aspect-video'
|
|
128
|
+
)
|
|
129
|
+
"
|
|
130
|
+
>
|
|
131
|
+
<CommonComponentsMediaContainer
|
|
132
|
+
class="w-full"
|
|
133
|
+
:webcast-conference="conference"
|
|
134
|
+
:class-object="classObject.components.mediaContainer"
|
|
135
|
+
/>
|
|
136
|
+
<CommonComponentsContentTabs
|
|
137
|
+
class="block md:hidden"
|
|
138
|
+
:webcast-conference="conference"
|
|
139
|
+
:items="tabs"
|
|
140
|
+
:class-object="classObject.components.contentTabs"
|
|
141
|
+
/>
|
|
142
|
+
</div>
|
|
143
|
+
<CommonComponentsContentArea
|
|
144
|
+
class="col-span-7 row-span-1 md:col-span-3 lg:col-span-2 border ml-0 md:ml-6"
|
|
145
|
+
:selected-content="selectedContent"
|
|
146
|
+
:webcast-conference="conference"
|
|
147
|
+
:presentation="presentation"
|
|
148
|
+
:class-object="classObject.components.contentArea"
|
|
149
|
+
/>
|
|
150
|
+
<!-- sponsor -->
|
|
151
|
+
<figure
|
|
152
|
+
class="col-span-7 md:col-start-5 md:col-span-3 lg:col-start-6 lg:col-span-6 row-span-1 flex flex-col p-6 text-center"
|
|
153
|
+
>
|
|
154
|
+
<h3
|
|
155
|
+
v-if="conference.affiliates.length > 0"
|
|
156
|
+
class="allsmallcaps text-sm pb-4 text-neutral-400 scala"
|
|
157
|
+
>
|
|
158
|
+
Sponsored by:
|
|
159
|
+
</h3>
|
|
160
|
+
<template v-for="affiliate in conference.affiliates">
|
|
161
|
+
<CommonComponentsSponsor
|
|
162
|
+
v-if="affiliate.role == 'sponsor'"
|
|
163
|
+
:key="affiliate.id"
|
|
164
|
+
:sponsor="affiliate"
|
|
165
|
+
:class-object="{
|
|
166
|
+
labelImageContainer: 'block',
|
|
167
|
+
sponsorContainer: 'img-mx-auto',
|
|
168
|
+
}"
|
|
169
|
+
/>
|
|
170
|
+
</template>
|
|
171
|
+
</figure>
|
|
172
|
+
</div>
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
</template>
|