@icvdeveloper/common-module 0.0.127 → 0.0.129
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/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 +329 -329
- package/dist/runtime/components/agenda/AgendaList.vue +259 -259
- package/dist/runtime/components/agenda/AgendaTabbed.vue +305 -305
- package/dist/runtime/components/agenda/components/AgendaListAccordion.vue +67 -67
- package/dist/runtime/components/agenda/components/Calendar.vue +67 -67
- 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 +129 -129
- package/dist/runtime/components/core/Accordion.vue +97 -97
- package/dist/runtime/components/core/CountdownTimer.vue +336 -336
- 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 +157 -157
- 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 +554 -554
- 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 +160 -160
- package/dist/runtime/components/media/ArchiveVideoPlayer.vue +186 -186
- package/dist/runtime/components/media/PlayerAndContentContainer.vue +183 -183
- package/dist/runtime/components/media/WebcastVideoPlayer.vue +140 -140
- 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/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 +107 -102
- 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/dist/runtime/composables/useApi.mjs +3 -1
- package/package.json +1 -1
|
@@ -1,160 +1,160 @@
|
|
|
1
|
-
<script lang="ts" setup>
|
|
2
|
-
import { toRefs, onMounted, computed, ref } from "vue";
|
|
3
|
-
import { storeToRefs } from "pinia";
|
|
4
|
-
import { get, filter } from "lodash-es";
|
|
5
|
-
import { SelectedContent } from "../../../enums/general";
|
|
6
|
-
import {
|
|
7
|
-
ContentAreaClassObj,
|
|
8
|
-
ContentAreaCompObj,
|
|
9
|
-
OverviewPanelClassObj,
|
|
10
|
-
AgendaPanelClassObj,
|
|
11
|
-
} from "../../../@types/components";
|
|
12
|
-
import { Conference, Presentation, Sponsor } from "../../../models/conference";
|
|
13
|
-
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
14
|
-
import { useTemplateConfigsStore } from "../../../store";
|
|
15
|
-
|
|
16
|
-
type Props = {
|
|
17
|
-
selectedContent?: { label: string; type: SelectedContent; content: string };
|
|
18
|
-
expandEnabled?: boolean;
|
|
19
|
-
presentation: Presentation;
|
|
20
|
-
webcastConference: Conference;
|
|
21
|
-
classObject?: ContentAreaClassObj;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
const props = withDefaults(defineProps<Props>(), {
|
|
25
|
-
selectedContent: () => {
|
|
26
|
-
return { label: "Overview", type: SelectedContent.OVERVIEW, content: "" };
|
|
27
|
-
},
|
|
28
|
-
expandEnabled: false,
|
|
29
|
-
classObject: () => {
|
|
30
|
-
return {
|
|
31
|
-
container: "",
|
|
32
|
-
htmlElement: "",
|
|
33
|
-
trackHtmlElement: "",
|
|
34
|
-
noTrackHtmlElement: "",
|
|
35
|
-
noTrackHtmlText: "",
|
|
36
|
-
components: ref<ContentAreaCompObj>({
|
|
37
|
-
overviewPanel: ref<OverviewPanelClassObj>({}),
|
|
38
|
-
agendaPanel: ref<AgendaPanelClassObj>({}),
|
|
39
|
-
}),
|
|
40
|
-
};
|
|
41
|
-
},
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
const { presentation, webcastConference } = toRefs(props);
|
|
45
|
-
|
|
46
|
-
const { classBinding } = useClassBinding();
|
|
47
|
-
|
|
48
|
-
const { pagesConfigValue } = storeToRefs(useTemplateConfigsStore());
|
|
49
|
-
|
|
50
|
-
// reactive data
|
|
51
|
-
let sponsors = ref<Array<Sponsor>>([]);
|
|
52
|
-
|
|
53
|
-
// computed
|
|
54
|
-
const trackEmbedHtml = computed((): string | null => {
|
|
55
|
-
return get(presentation, "tracks[0].embed_html", null);
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
// methods
|
|
59
|
-
const getFeaturedSponsors = () => {
|
|
60
|
-
const featuredSponsorLevel = get(
|
|
61
|
-
pagesConfigValue,
|
|
62
|
-
"webcast.featured_sponsor_level.value",
|
|
63
|
-
0
|
|
64
|
-
);
|
|
65
|
-
if (featuredSponsorLevel != 0) {
|
|
66
|
-
const url = `conferences/${webcastConference.value.id}/affiliates?filters[level]=${featuredSponsorLevel}`;
|
|
67
|
-
fetch(url)
|
|
68
|
-
.then((response) => {
|
|
69
|
-
return response.json();
|
|
70
|
-
})
|
|
71
|
-
.then((data) => {
|
|
72
|
-
sponsors = filter(data, { role: "sponsor" });
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
// mounted
|
|
78
|
-
onMounted(() => {
|
|
79
|
-
getFeaturedSponsors();
|
|
80
|
-
});
|
|
81
|
-
</script>
|
|
82
|
-
|
|
83
|
-
<template>
|
|
84
|
-
<div :class="classBinding(classObject, 'container', 'flex flex-col')">
|
|
85
|
-
<CommonComponentsOverviewPanel
|
|
86
|
-
v-if="selectedContent.type == 'overview'"
|
|
87
|
-
:class="
|
|
88
|
-
classBinding(
|
|
89
|
-
classObject.components.overviewPanel,
|
|
90
|
-
'container',
|
|
91
|
-
'overflow-y-scroll no-scrollbar h-full'
|
|
92
|
-
)
|
|
93
|
-
"
|
|
94
|
-
:presentation="presentation"
|
|
95
|
-
:class-object="classObject.components.overviewPanel"
|
|
96
|
-
></CommonComponentsOverviewPanel>
|
|
97
|
-
<CommonComponentsAgendaPanel
|
|
98
|
-
v-if="selectedContent.type == 'agenda'"
|
|
99
|
-
:class="
|
|
100
|
-
classBinding(
|
|
101
|
-
classObject.components.agendaPanel,
|
|
102
|
-
'container',
|
|
103
|
-
'overflow-y-scroll no-scrollbar h-full'
|
|
104
|
-
)
|
|
105
|
-
"
|
|
106
|
-
:conference="webcastConference"
|
|
107
|
-
:class-object="classObject.components.agendaPanel"
|
|
108
|
-
></CommonComponentsAgendaPanel>
|
|
109
|
-
<span
|
|
110
|
-
v-if="selectedContent.type == 'html'"
|
|
111
|
-
:class="
|
|
112
|
-
classBinding(
|
|
113
|
-
classObject,
|
|
114
|
-
'htmlElement',
|
|
115
|
-
'overflow-y-scroll no-scrollbar h-full'
|
|
116
|
-
)
|
|
117
|
-
"
|
|
118
|
-
v-html="selectedContent.content"
|
|
119
|
-
></span>
|
|
120
|
-
<template v-if="selectedContent.type == 'track_html'">
|
|
121
|
-
<span
|
|
122
|
-
v-if="trackEmbedHtml != null"
|
|
123
|
-
:class="
|
|
124
|
-
classBinding(
|
|
125
|
-
classObject,
|
|
126
|
-
'trackHtmlElement',
|
|
127
|
-
'overflow-y-scroll no-scrollbar h-full'
|
|
128
|
-
)
|
|
129
|
-
"
|
|
130
|
-
v-html="trackEmbedHtml"
|
|
131
|
-
></span>
|
|
132
|
-
<div
|
|
133
|
-
v-if="trackEmbedHtml === null"
|
|
134
|
-
:class="
|
|
135
|
-
classBinding(
|
|
136
|
-
classObject,
|
|
137
|
-
'noTrackHtmlElement',
|
|
138
|
-
'text-grey-800 px-2 py-4'
|
|
139
|
-
)
|
|
140
|
-
"
|
|
141
|
-
>
|
|
142
|
-
<p
|
|
143
|
-
:class="
|
|
144
|
-
classBinding(
|
|
145
|
-
classObject,
|
|
146
|
-
'noTrackHtmlText',
|
|
147
|
-
'text-base leading-normal font-light'
|
|
148
|
-
)
|
|
149
|
-
"
|
|
150
|
-
>
|
|
151
|
-
There is no additional content for this track.
|
|
152
|
-
</p>
|
|
153
|
-
</div>
|
|
154
|
-
</template>
|
|
155
|
-
</div>
|
|
156
|
-
</template>
|
|
157
|
-
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import { toRefs, onMounted, computed, ref } from "vue";
|
|
3
|
+
import { storeToRefs } from "pinia";
|
|
4
|
+
import { get, filter } from "lodash-es";
|
|
5
|
+
import { SelectedContent } from "../../../enums/general";
|
|
6
|
+
import {
|
|
7
|
+
ContentAreaClassObj,
|
|
8
|
+
ContentAreaCompObj,
|
|
9
|
+
OverviewPanelClassObj,
|
|
10
|
+
AgendaPanelClassObj,
|
|
11
|
+
} from "../../../@types/components";
|
|
12
|
+
import { Conference, Presentation, Sponsor } from "../../../models/conference";
|
|
13
|
+
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
14
|
+
import { useTemplateConfigsStore } from "../../../store";
|
|
15
|
+
|
|
16
|
+
type Props = {
|
|
17
|
+
selectedContent?: { label: string; type: SelectedContent; content: string };
|
|
18
|
+
expandEnabled?: boolean;
|
|
19
|
+
presentation: Presentation;
|
|
20
|
+
webcastConference: Conference;
|
|
21
|
+
classObject?: ContentAreaClassObj;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
25
|
+
selectedContent: () => {
|
|
26
|
+
return { label: "Overview", type: SelectedContent.OVERVIEW, content: "" };
|
|
27
|
+
},
|
|
28
|
+
expandEnabled: false,
|
|
29
|
+
classObject: () => {
|
|
30
|
+
return {
|
|
31
|
+
container: "",
|
|
32
|
+
htmlElement: "",
|
|
33
|
+
trackHtmlElement: "",
|
|
34
|
+
noTrackHtmlElement: "",
|
|
35
|
+
noTrackHtmlText: "",
|
|
36
|
+
components: ref<ContentAreaCompObj>({
|
|
37
|
+
overviewPanel: ref<OverviewPanelClassObj>({}),
|
|
38
|
+
agendaPanel: ref<AgendaPanelClassObj>({}),
|
|
39
|
+
}),
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
const { presentation, webcastConference } = toRefs(props);
|
|
45
|
+
|
|
46
|
+
const { classBinding } = useClassBinding();
|
|
47
|
+
|
|
48
|
+
const { pagesConfigValue } = storeToRefs(useTemplateConfigsStore());
|
|
49
|
+
|
|
50
|
+
// reactive data
|
|
51
|
+
let sponsors = ref<Array<Sponsor>>([]);
|
|
52
|
+
|
|
53
|
+
// computed
|
|
54
|
+
const trackEmbedHtml = computed((): string | null => {
|
|
55
|
+
return get(presentation, "tracks[0].embed_html", null);
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
// methods
|
|
59
|
+
const getFeaturedSponsors = () => {
|
|
60
|
+
const featuredSponsorLevel = get(
|
|
61
|
+
pagesConfigValue,
|
|
62
|
+
"webcast.featured_sponsor_level.value",
|
|
63
|
+
0
|
|
64
|
+
);
|
|
65
|
+
if (featuredSponsorLevel != 0) {
|
|
66
|
+
const url = `conferences/${webcastConference.value.id}/affiliates?filters[level]=${featuredSponsorLevel}`;
|
|
67
|
+
fetch(url)
|
|
68
|
+
.then((response) => {
|
|
69
|
+
return response.json();
|
|
70
|
+
})
|
|
71
|
+
.then((data) => {
|
|
72
|
+
sponsors = filter(data, { role: "sponsor" });
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
// mounted
|
|
78
|
+
onMounted(() => {
|
|
79
|
+
getFeaturedSponsors();
|
|
80
|
+
});
|
|
81
|
+
</script>
|
|
82
|
+
|
|
83
|
+
<template>
|
|
84
|
+
<div :class="classBinding(classObject, 'container', 'flex flex-col')">
|
|
85
|
+
<CommonComponentsOverviewPanel
|
|
86
|
+
v-if="selectedContent.type == 'overview'"
|
|
87
|
+
:class="
|
|
88
|
+
classBinding(
|
|
89
|
+
classObject.components.overviewPanel,
|
|
90
|
+
'container',
|
|
91
|
+
'overflow-y-scroll no-scrollbar h-full'
|
|
92
|
+
)
|
|
93
|
+
"
|
|
94
|
+
:presentation="presentation"
|
|
95
|
+
:class-object="classObject.components.overviewPanel"
|
|
96
|
+
></CommonComponentsOverviewPanel>
|
|
97
|
+
<CommonComponentsAgendaPanel
|
|
98
|
+
v-if="selectedContent.type == 'agenda'"
|
|
99
|
+
:class="
|
|
100
|
+
classBinding(
|
|
101
|
+
classObject.components.agendaPanel,
|
|
102
|
+
'container',
|
|
103
|
+
'overflow-y-scroll no-scrollbar h-full'
|
|
104
|
+
)
|
|
105
|
+
"
|
|
106
|
+
:conference="webcastConference"
|
|
107
|
+
:class-object="classObject.components.agendaPanel"
|
|
108
|
+
></CommonComponentsAgendaPanel>
|
|
109
|
+
<span
|
|
110
|
+
v-if="selectedContent.type == 'html'"
|
|
111
|
+
:class="
|
|
112
|
+
classBinding(
|
|
113
|
+
classObject,
|
|
114
|
+
'htmlElement',
|
|
115
|
+
'overflow-y-scroll no-scrollbar h-full'
|
|
116
|
+
)
|
|
117
|
+
"
|
|
118
|
+
v-html="selectedContent.content"
|
|
119
|
+
></span>
|
|
120
|
+
<template v-if="selectedContent.type == 'track_html'">
|
|
121
|
+
<span
|
|
122
|
+
v-if="trackEmbedHtml != null"
|
|
123
|
+
:class="
|
|
124
|
+
classBinding(
|
|
125
|
+
classObject,
|
|
126
|
+
'trackHtmlElement',
|
|
127
|
+
'overflow-y-scroll no-scrollbar h-full'
|
|
128
|
+
)
|
|
129
|
+
"
|
|
130
|
+
v-html="trackEmbedHtml"
|
|
131
|
+
></span>
|
|
132
|
+
<div
|
|
133
|
+
v-if="trackEmbedHtml === null"
|
|
134
|
+
:class="
|
|
135
|
+
classBinding(
|
|
136
|
+
classObject,
|
|
137
|
+
'noTrackHtmlElement',
|
|
138
|
+
'text-grey-800 px-2 py-4'
|
|
139
|
+
)
|
|
140
|
+
"
|
|
141
|
+
>
|
|
142
|
+
<p
|
|
143
|
+
:class="
|
|
144
|
+
classBinding(
|
|
145
|
+
classObject,
|
|
146
|
+
'noTrackHtmlText',
|
|
147
|
+
'text-base leading-normal font-light'
|
|
148
|
+
)
|
|
149
|
+
"
|
|
150
|
+
>
|
|
151
|
+
There is no additional content for this track.
|
|
152
|
+
</p>
|
|
153
|
+
</div>
|
|
154
|
+
</template>
|
|
155
|
+
</div>
|
|
156
|
+
</template>
|
|
157
|
+
|
|
158
158
|
<style scoped>
|
|
159
159
|
.content {
|
|
160
160
|
position: relative;
|
|
@@ -172,4 +172,4 @@ onMounted(() => {
|
|
|
172
172
|
.content-expand-overlay:hover {
|
|
173
173
|
opacity: 0.7;
|
|
174
174
|
}
|
|
175
|
-
</style>
|
|
175
|
+
</style>
|