@icvdeveloper/common-module 0.0.122 → 0.0.124
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 +17 -17
- 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 +178 -178
- package/dist/runtime/components/media/WebcastVideoPlayer.vue +140 -172
- 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 +101 -95
- 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/useUcc.mjs +0 -14
- package/dist/runtime/store/auth.mjs +0 -3
- package/package.json +1 -1
- package/dist/runtime/components/media/components/SessionReporting.vue.d.ts +0 -35
|
@@ -1,233 +1,233 @@
|
|
|
1
|
-
<script lang="ts" setup>
|
|
2
|
-
import { ref, toRefs, computed, onMounted } from "vue";
|
|
3
|
-
import { storeToRefs } from "pinia";
|
|
4
|
-
import { find } from "lodash-es";
|
|
5
|
-
import { Conference } from "../../../models/conference";
|
|
6
|
-
import { ContentTabsClassObj } from "../../../@types/components";
|
|
7
|
-
import { SelectedContent } from "../../../enums/general";
|
|
8
|
-
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
9
|
-
import { usePresentationsStore } from "../../../store/presentations";
|
|
10
|
-
|
|
11
|
-
type Props = {
|
|
12
|
-
items?: Array<{ label: string; type: SelectedContent; content: string }>;
|
|
13
|
-
webcastConference: Conference;
|
|
14
|
-
classObject?: ContentTabsClassObj;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
const props = withDefaults(defineProps<Props>(), {
|
|
18
|
-
items: Array<{
|
|
19
|
-
label: "";
|
|
20
|
-
type: SelectedContent.OVERVIEW;
|
|
21
|
-
content: "";
|
|
22
|
-
}>,
|
|
23
|
-
classObject: () => {
|
|
24
|
-
return {
|
|
25
|
-
container: "",
|
|
26
|
-
fullContainer: "",
|
|
27
|
-
mobileContainer: "",
|
|
28
|
-
mobileButtonContainer: "",
|
|
29
|
-
dropdownContainer: "",
|
|
30
|
-
tabList: "",
|
|
31
|
-
tabItem: "",
|
|
32
|
-
tabLink: "",
|
|
33
|
-
selectedTab: "",
|
|
34
|
-
mobileTabList: "",
|
|
35
|
-
mobileTabItem: "",
|
|
36
|
-
mobileTabLink: "",
|
|
37
|
-
};
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
const { items, webcastConference } = toRefs(props);
|
|
42
|
-
|
|
43
|
-
const { classBinding } = useClassBinding();
|
|
44
|
-
|
|
45
|
-
// reactive data
|
|
46
|
-
const { selectedContent } = storeToRefs(usePresentationsStore());
|
|
47
|
-
const tabOpen = ref<boolean>(false);
|
|
48
|
-
|
|
49
|
-
// computed
|
|
50
|
-
const hasAgendaTab = computed((): boolean => {
|
|
51
|
-
return find(items, { type: SelectedContent.AGENDA }, false);
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
const selectedTabClass = computed((): string => {
|
|
55
|
-
return props.classObject.selectedTab;
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
// methods
|
|
59
|
-
const tabToggle = () => {
|
|
60
|
-
tabOpen.value = !tabOpen.value;
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
const showItem = (_index: number) => {
|
|
64
|
-
let clickedItem = items.value[_index];
|
|
65
|
-
|
|
66
|
-
if (clickedItem.type === SelectedContent.URL) {
|
|
67
|
-
window.open(clickedItem.content);
|
|
68
|
-
} else {
|
|
69
|
-
selectedContent.value = clickedItem;
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
onMounted(() => {
|
|
74
|
-
if (items.value) {
|
|
75
|
-
selectedContent.value = items.value[0];
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
// ...mapState("playerConfig"),
|
|
80
|
-
// ...mapState(["agendaAlias"])
|
|
81
|
-
</script>
|
|
82
|
-
|
|
83
|
-
<template>
|
|
84
|
-
<div :class="classBinding(classObject, 'container', '')">
|
|
85
|
-
<div
|
|
86
|
-
:class="[
|
|
87
|
-
items.length >= 4 ? 'md:block' : 'sm:block',
|
|
88
|
-
classBinding(classObject, 'fullContainer', 'hidden tabs border-0'),
|
|
89
|
-
]"
|
|
90
|
-
>
|
|
91
|
-
<ul
|
|
92
|
-
:class="
|
|
93
|
-
classBinding(
|
|
94
|
-
classObject,
|
|
95
|
-
'tabList',
|
|
96
|
-
'list-reset flex flex-row flex-wrap justify-start'
|
|
97
|
-
)
|
|
98
|
-
"
|
|
99
|
-
>
|
|
100
|
-
<li
|
|
101
|
-
v-for="(item, index) in items"
|
|
102
|
-
:key="index"
|
|
103
|
-
:class="[
|
|
104
|
-
{ '-mb-px': selectedContent.label == item.label },
|
|
105
|
-
classBinding(classObject, 'tabItem', 'tab-items'),
|
|
106
|
-
]"
|
|
107
|
-
>
|
|
108
|
-
<a
|
|
109
|
-
:class="[
|
|
110
|
-
selectedContent.label == item.label ? selectedTabClass : '',
|
|
111
|
-
,
|
|
112
|
-
classBinding(
|
|
113
|
-
classObject,
|
|
114
|
-
'tabLink',
|
|
115
|
-
'primary-link inline-block py-2 px-2 cursor-pointer'
|
|
116
|
-
),
|
|
117
|
-
]"
|
|
118
|
-
@click.prevent="showItem(index)"
|
|
119
|
-
>
|
|
120
|
-
<span v-html="item.label" />
|
|
121
|
-
</a>
|
|
122
|
-
</li>
|
|
123
|
-
<li
|
|
124
|
-
v-if="webcastConference.agenda_enabled && !hasAgendaTab"
|
|
125
|
-
:class="classBinding(classObject, 'tabList', 'tab-items sm:ml-auto')"
|
|
126
|
-
>
|
|
127
|
-
<nuxt-link
|
|
128
|
-
:to="`/agenda/${webcastConference.id}`"
|
|
129
|
-
:class="
|
|
130
|
-
classBinding(
|
|
131
|
-
classObject,
|
|
132
|
-
'tabItem',
|
|
133
|
-
'primary-link inline-block py-2 px-1 cursor-pointer'
|
|
134
|
-
)
|
|
135
|
-
"
|
|
136
|
-
>{{ agendaAlias }}</nuxt-link
|
|
137
|
-
>
|
|
138
|
-
</li>
|
|
139
|
-
</ul>
|
|
140
|
-
</div>
|
|
141
|
-
|
|
142
|
-
<div
|
|
143
|
-
:class="[
|
|
144
|
-
items.length >= 4 ? 'md:hidden' : 'sm:hidden',
|
|
145
|
-
classBinding(classObject, 'mobileContainer', 'tabs border-0'),
|
|
146
|
-
]"
|
|
147
|
-
>
|
|
148
|
-
<div
|
|
149
|
-
:class="classBinding(classObject, 'mobileButtonContainer', 'p-1 block')"
|
|
150
|
-
>
|
|
151
|
-
<button class="flex items-center px-3 py-2 mx-auto" @click="tabToggle">
|
|
152
|
-
<svg
|
|
153
|
-
class="fill-current h-3 w-3"
|
|
154
|
-
viewBox="0 0 20 20"
|
|
155
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
156
|
-
>
|
|
157
|
-
<title>Menu</title>
|
|
158
|
-
<path d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z" />
|
|
159
|
-
</svg>
|
|
160
|
-
</button>
|
|
161
|
-
</div>
|
|
162
|
-
<div
|
|
163
|
-
:class="[
|
|
164
|
-
tabOpen ? 'flex' : 'hidden',
|
|
165
|
-
classBinding(classObject, 'dropdownContainer', 'w-full'),
|
|
166
|
-
]"
|
|
167
|
-
>
|
|
168
|
-
<ul
|
|
169
|
-
:class="
|
|
170
|
-
classBinding(
|
|
171
|
-
classObject,
|
|
172
|
-
'mobileTabList',
|
|
173
|
-
'flex-col self-center list-reset mx-auto'
|
|
174
|
-
)
|
|
175
|
-
"
|
|
176
|
-
>
|
|
177
|
-
<li
|
|
178
|
-
v-for="(item, index) in items"
|
|
179
|
-
:key="index"
|
|
180
|
-
:class="[
|
|
181
|
-
{ '-mb-px': selectedContent.label == item.label },
|
|
182
|
-
classBinding(
|
|
183
|
-
classObject,
|
|
184
|
-
'mobileTabItem',
|
|
185
|
-
'tab-items text-center'
|
|
186
|
-
),
|
|
187
|
-
]"
|
|
188
|
-
>
|
|
189
|
-
<a
|
|
190
|
-
:class="[
|
|
191
|
-
selectedContent.label == item.label ? selectedTabClass : '',
|
|
192
|
-
classBinding(
|
|
193
|
-
classObject,
|
|
194
|
-
'mobileTabLink',
|
|
195
|
-
'primary-link inline-block py-2 px-2 cursor-pointer'
|
|
196
|
-
),
|
|
197
|
-
]"
|
|
198
|
-
@click.prevent="showItem(index)"
|
|
199
|
-
>
|
|
200
|
-
<span v-html="item.label" />
|
|
201
|
-
</a>
|
|
202
|
-
</li>
|
|
203
|
-
<li
|
|
204
|
-
v-if="webcastConference.agenda_enabled && !hasAgendaTab"
|
|
205
|
-
:class="
|
|
206
|
-
classBinding(
|
|
207
|
-
classObject,
|
|
208
|
-
'mobileTabItem',
|
|
209
|
-
'tab-items text-center'
|
|
210
|
-
)
|
|
211
|
-
"
|
|
212
|
-
>
|
|
213
|
-
<nuxt-link
|
|
214
|
-
:to="`/agenda/${webcastConference.id}`"
|
|
215
|
-
:class="
|
|
216
|
-
classBinding(
|
|
217
|
-
classObject,
|
|
218
|
-
'mobileTabLink',
|
|
219
|
-
'primary-link inline-block py-2 px-2 cursor-pointer'
|
|
220
|
-
)
|
|
221
|
-
"
|
|
222
|
-
>{{ agendaAlias }}</nuxt-link
|
|
223
|
-
>
|
|
224
|
-
</li>
|
|
225
|
-
</ul>
|
|
226
|
-
</div>
|
|
227
|
-
</div>
|
|
228
|
-
</div>
|
|
229
|
-
</template>
|
|
230
|
-
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import { ref, toRefs, computed, onMounted } from "vue";
|
|
3
|
+
import { storeToRefs } from "pinia";
|
|
4
|
+
import { find } from "lodash-es";
|
|
5
|
+
import { Conference } from "../../../models/conference";
|
|
6
|
+
import { ContentTabsClassObj } from "../../../@types/components";
|
|
7
|
+
import { SelectedContent } from "../../../enums/general";
|
|
8
|
+
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
9
|
+
import { usePresentationsStore } from "../../../store/presentations";
|
|
10
|
+
|
|
11
|
+
type Props = {
|
|
12
|
+
items?: Array<{ label: string; type: SelectedContent; content: string }>;
|
|
13
|
+
webcastConference: Conference;
|
|
14
|
+
classObject?: ContentTabsClassObj;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
18
|
+
items: Array<{
|
|
19
|
+
label: "";
|
|
20
|
+
type: SelectedContent.OVERVIEW;
|
|
21
|
+
content: "";
|
|
22
|
+
}>,
|
|
23
|
+
classObject: () => {
|
|
24
|
+
return {
|
|
25
|
+
container: "",
|
|
26
|
+
fullContainer: "",
|
|
27
|
+
mobileContainer: "",
|
|
28
|
+
mobileButtonContainer: "",
|
|
29
|
+
dropdownContainer: "",
|
|
30
|
+
tabList: "",
|
|
31
|
+
tabItem: "",
|
|
32
|
+
tabLink: "",
|
|
33
|
+
selectedTab: "",
|
|
34
|
+
mobileTabList: "",
|
|
35
|
+
mobileTabItem: "",
|
|
36
|
+
mobileTabLink: "",
|
|
37
|
+
};
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
const { items, webcastConference } = toRefs(props);
|
|
42
|
+
|
|
43
|
+
const { classBinding } = useClassBinding();
|
|
44
|
+
|
|
45
|
+
// reactive data
|
|
46
|
+
const { selectedContent } = storeToRefs(usePresentationsStore());
|
|
47
|
+
const tabOpen = ref<boolean>(false);
|
|
48
|
+
|
|
49
|
+
// computed
|
|
50
|
+
const hasAgendaTab = computed((): boolean => {
|
|
51
|
+
return find(items, { type: SelectedContent.AGENDA }, false);
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
const selectedTabClass = computed((): string => {
|
|
55
|
+
return props.classObject.selectedTab;
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
// methods
|
|
59
|
+
const tabToggle = () => {
|
|
60
|
+
tabOpen.value = !tabOpen.value;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
const showItem = (_index: number) => {
|
|
64
|
+
let clickedItem = items.value[_index];
|
|
65
|
+
|
|
66
|
+
if (clickedItem.type === SelectedContent.URL) {
|
|
67
|
+
window.open(clickedItem.content);
|
|
68
|
+
} else {
|
|
69
|
+
selectedContent.value = clickedItem;
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
onMounted(() => {
|
|
74
|
+
if (items.value) {
|
|
75
|
+
selectedContent.value = items.value[0];
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
// ...mapState("playerConfig"),
|
|
80
|
+
// ...mapState(["agendaAlias"])
|
|
81
|
+
</script>
|
|
82
|
+
|
|
83
|
+
<template>
|
|
84
|
+
<div :class="classBinding(classObject, 'container', '')">
|
|
85
|
+
<div
|
|
86
|
+
:class="[
|
|
87
|
+
items.length >= 4 ? 'md:block' : 'sm:block',
|
|
88
|
+
classBinding(classObject, 'fullContainer', 'hidden tabs border-0'),
|
|
89
|
+
]"
|
|
90
|
+
>
|
|
91
|
+
<ul
|
|
92
|
+
:class="
|
|
93
|
+
classBinding(
|
|
94
|
+
classObject,
|
|
95
|
+
'tabList',
|
|
96
|
+
'list-reset flex flex-row flex-wrap justify-start'
|
|
97
|
+
)
|
|
98
|
+
"
|
|
99
|
+
>
|
|
100
|
+
<li
|
|
101
|
+
v-for="(item, index) in items"
|
|
102
|
+
:key="index"
|
|
103
|
+
:class="[
|
|
104
|
+
{ '-mb-px': selectedContent.label == item.label },
|
|
105
|
+
classBinding(classObject, 'tabItem', 'tab-items'),
|
|
106
|
+
]"
|
|
107
|
+
>
|
|
108
|
+
<a
|
|
109
|
+
:class="[
|
|
110
|
+
selectedContent.label == item.label ? selectedTabClass : '',
|
|
111
|
+
,
|
|
112
|
+
classBinding(
|
|
113
|
+
classObject,
|
|
114
|
+
'tabLink',
|
|
115
|
+
'primary-link inline-block py-2 px-2 cursor-pointer'
|
|
116
|
+
),
|
|
117
|
+
]"
|
|
118
|
+
@click.prevent="showItem(index)"
|
|
119
|
+
>
|
|
120
|
+
<span v-html="item.label" />
|
|
121
|
+
</a>
|
|
122
|
+
</li>
|
|
123
|
+
<li
|
|
124
|
+
v-if="webcastConference.agenda_enabled && !hasAgendaTab"
|
|
125
|
+
:class="classBinding(classObject, 'tabList', 'tab-items sm:ml-auto')"
|
|
126
|
+
>
|
|
127
|
+
<nuxt-link
|
|
128
|
+
:to="`/agenda/${webcastConference.id}`"
|
|
129
|
+
:class="
|
|
130
|
+
classBinding(
|
|
131
|
+
classObject,
|
|
132
|
+
'tabItem',
|
|
133
|
+
'primary-link inline-block py-2 px-1 cursor-pointer'
|
|
134
|
+
)
|
|
135
|
+
"
|
|
136
|
+
>{{ agendaAlias }}</nuxt-link
|
|
137
|
+
>
|
|
138
|
+
</li>
|
|
139
|
+
</ul>
|
|
140
|
+
</div>
|
|
141
|
+
|
|
142
|
+
<div
|
|
143
|
+
:class="[
|
|
144
|
+
items.length >= 4 ? 'md:hidden' : 'sm:hidden',
|
|
145
|
+
classBinding(classObject, 'mobileContainer', 'tabs border-0'),
|
|
146
|
+
]"
|
|
147
|
+
>
|
|
148
|
+
<div
|
|
149
|
+
:class="classBinding(classObject, 'mobileButtonContainer', 'p-1 block')"
|
|
150
|
+
>
|
|
151
|
+
<button class="flex items-center px-3 py-2 mx-auto" @click="tabToggle">
|
|
152
|
+
<svg
|
|
153
|
+
class="fill-current h-3 w-3"
|
|
154
|
+
viewBox="0 0 20 20"
|
|
155
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
156
|
+
>
|
|
157
|
+
<title>Menu</title>
|
|
158
|
+
<path d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z" />
|
|
159
|
+
</svg>
|
|
160
|
+
</button>
|
|
161
|
+
</div>
|
|
162
|
+
<div
|
|
163
|
+
:class="[
|
|
164
|
+
tabOpen ? 'flex' : 'hidden',
|
|
165
|
+
classBinding(classObject, 'dropdownContainer', 'w-full'),
|
|
166
|
+
]"
|
|
167
|
+
>
|
|
168
|
+
<ul
|
|
169
|
+
:class="
|
|
170
|
+
classBinding(
|
|
171
|
+
classObject,
|
|
172
|
+
'mobileTabList',
|
|
173
|
+
'flex-col self-center list-reset mx-auto'
|
|
174
|
+
)
|
|
175
|
+
"
|
|
176
|
+
>
|
|
177
|
+
<li
|
|
178
|
+
v-for="(item, index) in items"
|
|
179
|
+
:key="index"
|
|
180
|
+
:class="[
|
|
181
|
+
{ '-mb-px': selectedContent.label == item.label },
|
|
182
|
+
classBinding(
|
|
183
|
+
classObject,
|
|
184
|
+
'mobileTabItem',
|
|
185
|
+
'tab-items text-center'
|
|
186
|
+
),
|
|
187
|
+
]"
|
|
188
|
+
>
|
|
189
|
+
<a
|
|
190
|
+
:class="[
|
|
191
|
+
selectedContent.label == item.label ? selectedTabClass : '',
|
|
192
|
+
classBinding(
|
|
193
|
+
classObject,
|
|
194
|
+
'mobileTabLink',
|
|
195
|
+
'primary-link inline-block py-2 px-2 cursor-pointer'
|
|
196
|
+
),
|
|
197
|
+
]"
|
|
198
|
+
@click.prevent="showItem(index)"
|
|
199
|
+
>
|
|
200
|
+
<span v-html="item.label" />
|
|
201
|
+
</a>
|
|
202
|
+
</li>
|
|
203
|
+
<li
|
|
204
|
+
v-if="webcastConference.agenda_enabled && !hasAgendaTab"
|
|
205
|
+
:class="
|
|
206
|
+
classBinding(
|
|
207
|
+
classObject,
|
|
208
|
+
'mobileTabItem',
|
|
209
|
+
'tab-items text-center'
|
|
210
|
+
)
|
|
211
|
+
"
|
|
212
|
+
>
|
|
213
|
+
<nuxt-link
|
|
214
|
+
:to="`/agenda/${webcastConference.id}`"
|
|
215
|
+
:class="
|
|
216
|
+
classBinding(
|
|
217
|
+
classObject,
|
|
218
|
+
'mobileTabLink',
|
|
219
|
+
'primary-link inline-block py-2 px-2 cursor-pointer'
|
|
220
|
+
)
|
|
221
|
+
"
|
|
222
|
+
>{{ agendaAlias }}</nuxt-link
|
|
223
|
+
>
|
|
224
|
+
</li>
|
|
225
|
+
</ul>
|
|
226
|
+
</div>
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
</template>
|
|
230
|
+
|
|
231
231
|
<style scoped>
|
|
232
232
|
.tab-items {
|
|
233
233
|
@apply mr-1 flex-1;
|
|
@@ -263,4 +263,4 @@ onMounted(() => {
|
|
|
263
263
|
.tab-bar .item:hover {
|
|
264
264
|
background: linear-gradient(0deg, rgb(180, 180, 180) 0%, rgb(220, 220, 220) 100%);
|
|
265
265
|
}
|
|
266
|
-
</style>
|
|
266
|
+
</style>
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div v-if="documentArray && documentArray.length > 0" class="py-4 px-4 text-base md:text-md lg:text-lg leading-normal">
|
|
3
|
-
<ul class="list-reset">
|
|
4
|
-
<li v-for="(document, index) in documentArray" :key="index" class="py-2" :class="{'border-b-2 contrast-border' : index !== documentArray.length-1}">
|
|
5
|
-
<!-- fix file image -->
|
|
6
|
-
<!--<img src="/images/pdf.svg" class="inline-block icon" />-->
|
|
7
|
-
<a :href="document.url" class="no-underline font-semibold text-sm md:text-base" target="_blank">
|
|
8
|
-
<p class="leading-tight mb-0">
|
|
9
|
-
{{document.name}}
|
|
10
|
-
</p>
|
|
11
|
-
</a>
|
|
12
|
-
<p v-if="document.description" class="mt-2 mb-6">{{document.description}}</p>
|
|
13
|
-
</li>
|
|
14
|
-
</ul>
|
|
15
|
-
</div>
|
|
16
|
-
<div v-else class="text-grey-800 px-2 py-4">
|
|
17
|
-
<p class="text-base leading-normal font-light">There are no documents associated with this presentation.</p>
|
|
18
|
-
</div>
|
|
19
|
-
</template>
|
|
20
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div v-if="documentArray && documentArray.length > 0" class="py-4 px-4 text-base md:text-md lg:text-lg leading-normal">
|
|
3
|
+
<ul class="list-reset">
|
|
4
|
+
<li v-for="(document, index) in documentArray" :key="index" class="py-2" :class="{'border-b-2 contrast-border' : index !== documentArray.length-1}">
|
|
5
|
+
<!-- fix file image -->
|
|
6
|
+
<!--<img src="/images/pdf.svg" class="inline-block icon" />-->
|
|
7
|
+
<a :href="document.url" class="no-underline font-semibold text-sm md:text-base" target="_blank">
|
|
8
|
+
<p class="leading-tight mb-0">
|
|
9
|
+
{{document.name}}
|
|
10
|
+
</p>
|
|
11
|
+
</a>
|
|
12
|
+
<p v-if="document.description" class="mt-2 mb-6">{{document.description}}</p>
|
|
13
|
+
</li>
|
|
14
|
+
</ul>
|
|
15
|
+
</div>
|
|
16
|
+
<div v-else class="text-grey-800 px-2 py-4">
|
|
17
|
+
<p class="text-base leading-normal font-light">There are no documents associated with this presentation.</p>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
21
|
<script>
|
|
22
|
-
export default {
|
|
23
|
-
data() {
|
|
24
|
-
return {};
|
|
25
|
-
},
|
|
26
|
-
computed: {
|
|
27
|
-
documentArray() {
|
|
28
|
-
return this.$parent.currentPresentation.documents;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
22
|
+
export default {
|
|
23
|
+
data() {
|
|
24
|
+
return {};
|
|
25
|
+
},
|
|
26
|
+
computed: {
|
|
27
|
+
documentArray() {
|
|
28
|
+
return this.$parent.currentPresentation.documents;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
31
|
};
|
|
32
|
-
</script>
|
|
33
|
-
|
|
32
|
+
</script>
|
|
33
|
+
|
|
34
34
|
<style scoped>
|
|
35
35
|
.document-grid {
|
|
36
36
|
display: grid;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
<template functional></template>
|
|
2
|
-
|
|
1
|
+
<template functional></template>
|
|
2
|
+
|
|
3
3
|
<script>
|
|
4
|
-
export default {
|
|
5
|
-
props: {
|
|
6
|
-
url: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: true
|
|
9
|
-
},
|
|
10
|
-
ajaxLoadingOptions: () => {
|
|
11
|
-
return {
|
|
12
|
-
progress: false,
|
|
13
|
-
transformRequest: (data, headers) => {
|
|
14
|
-
delete headers.common['Authorization'];
|
|
15
|
-
return data;
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
methods: {
|
|
21
|
-
getData() {
|
|
22
|
-
this.$axios
|
|
23
|
-
.get(url, this.ajaxLoadingOptions)
|
|
24
|
-
.then(response => {
|
|
25
|
-
this.$emit("data", response);
|
|
26
|
-
})
|
|
27
|
-
.catch(e => {
|
|
28
|
-
console.log("JSON does not exists.", e);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
}
|
|
4
|
+
export default {
|
|
5
|
+
props: {
|
|
6
|
+
url: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: true
|
|
9
|
+
},
|
|
10
|
+
ajaxLoadingOptions: () => {
|
|
11
|
+
return {
|
|
12
|
+
progress: false,
|
|
13
|
+
transformRequest: (data, headers) => {
|
|
14
|
+
delete headers.common['Authorization'];
|
|
15
|
+
return data;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
methods: {
|
|
21
|
+
getData() {
|
|
22
|
+
this.$axios
|
|
23
|
+
.get(url, this.ajaxLoadingOptions)
|
|
24
|
+
.then(response => {
|
|
25
|
+
this.$emit("data", response);
|
|
26
|
+
})
|
|
27
|
+
.catch(e => {
|
|
28
|
+
console.log("JSON does not exists.", e);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
32
|
};
|
|
33
|
-
</script>
|
|
33
|
+
</script>
|