@icvdeveloper/common-module 2.6.4 → 2.6.5
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/CHANGELOG.md
CHANGED
package/dist/module.json
CHANGED
|
@@ -5,6 +5,7 @@ import { DateTime } from "luxon";
|
|
|
5
5
|
import { useAgenda } from "../../composables/useAgenda";
|
|
6
6
|
import { usePresentation } from "../../composables/usePresentation";
|
|
7
7
|
import { usePresenters } from "../../composables/usePresenters";
|
|
8
|
+
import { useTemplateConfigsStore } from '../../store'
|
|
8
9
|
import type { Conference, Day, Presenter, Sponsor as SponsorType } from "../../models/conference";
|
|
9
10
|
|
|
10
11
|
type Props = {
|
|
@@ -50,6 +51,8 @@ const { getPresentersLabel, getSortedPresenters } = usePresenters(conference);
|
|
|
50
51
|
const presentersContainer = computed(() => {
|
|
51
52
|
return useAccordion() ? CommonAccordion : "div";
|
|
52
53
|
});
|
|
54
|
+
|
|
55
|
+
const { pagesConfigValue } = useTemplateConfigsStore()
|
|
53
56
|
</script>
|
|
54
57
|
|
|
55
58
|
<template>
|
|
@@ -257,6 +260,7 @@ const presentersContainer = computed(() => {
|
|
|
257
260
|
|
|
258
261
|
<!-- ADD TO CALENDAR -->
|
|
259
262
|
<CommonComponentsCalendar
|
|
263
|
+
v-if="pagesConfigValue('agenda.add_to_google_calendar')"
|
|
260
264
|
:key="conference.id"
|
|
261
265
|
class="agenda-add-to-calendar mb-3"
|
|
262
266
|
:presentation="presentation"
|
|
@@ -95,7 +95,7 @@ const allowFavorites = computed(() => {
|
|
|
95
95
|
</CommonZoomModal>
|
|
96
96
|
|
|
97
97
|
<!-- live/archive stream text & icon link -->
|
|
98
|
-
|
|
98
|
+
<a
|
|
99
99
|
v-else-if="
|
|
100
100
|
(isAgenda && conferenceIsLiveOrMixed(conference)) ||
|
|
101
101
|
(conferenceIsArchived(conference) && presentation.type != 'zoom')
|
|
@@ -104,14 +104,14 @@ const allowFavorites = computed(() => {
|
|
|
104
104
|
:href="getLivePresentationLinkDestination(presentation, track)"
|
|
105
105
|
:target="getPresentationLinkTarget(presentation)"
|
|
106
106
|
@click="playPresentation(track, presentation, conference, isActiveAgenda, isVirtual)"
|
|
107
|
-
>
|
|
107
|
+
>
|
|
108
108
|
<!-- TODO - ensure this conversion to <button> does not compromise behavior on other templates -->
|
|
109
109
|
<!-- is not a11y compliant, though. would be better if it was button on tradeshow template only -->
|
|
110
|
-
<
|
|
111
|
-
v-else-if="(isAgenda && conferenceIsLiveOrMixed(conference))
|
|
112
|
-
(conferenceIsArchived(conference) && presentation.type != 'zoom')"
|
|
113
|
-
@click="playPresentation(track, presentation, conference, isActiveAgenda, isVirtual)"
|
|
114
|
-
|
|
110
|
+
<!-- <a-->
|
|
111
|
+
<!-- v-else-if="(isAgenda && conferenceIsLiveOrMixed(conference)) ||-->
|
|
112
|
+
<!-- (conferenceIsArchived(conference) && presentation.type != 'zoom')"-->
|
|
113
|
+
<!-- @click="playPresentation(track, presentation, conference, isActiveAgenda, isVirtual)"-->
|
|
114
|
+
<!-- >-->
|
|
115
115
|
{{ presentation.name }}
|
|
116
116
|
<transition name="fade">
|
|
117
117
|
<PlayIcon
|
|
@@ -122,7 +122,7 @@ const allowFavorites = computed(() => {
|
|
|
122
122
|
icon="playarrow"
|
|
123
123
|
/>
|
|
124
124
|
</transition>
|
|
125
|
-
</
|
|
125
|
+
</a>
|
|
126
126
|
<!-- </a> -->
|
|
127
127
|
|
|
128
128
|
<!-- text only catchall -->
|