@icvdeveloper/common-module 2.6.4 → 2.6.6
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,23 +95,21 @@ 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')
|
|
102
102
|
"
|
|
103
|
-
class="font-semibold heading-link"
|
|
104
|
-
:href="getLivePresentationLinkDestination(presentation, track)"
|
|
105
|
-
:target="getPresentationLinkTarget(presentation)"
|
|
103
|
+
class="font-semibold heading-link cursor-pointer"
|
|
106
104
|
@click="playPresentation(track, presentation, conference, isActiveAgenda, isVirtual)"
|
|
107
|
-
>
|
|
105
|
+
>
|
|
108
106
|
<!-- TODO - ensure this conversion to <button> does not compromise behavior on other templates -->
|
|
109
107
|
<!-- 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
|
-
|
|
108
|
+
<!-- <a-->
|
|
109
|
+
<!-- v-else-if="(isAgenda && conferenceIsLiveOrMixed(conference)) ||-->
|
|
110
|
+
<!-- (conferenceIsArchived(conference) && presentation.type != 'zoom')"-->
|
|
111
|
+
<!-- @click="playPresentation(track, presentation, conference, isActiveAgenda, isVirtual)"-->
|
|
112
|
+
<!-- >-->
|
|
115
113
|
{{ presentation.name }}
|
|
116
114
|
<transition name="fade">
|
|
117
115
|
<PlayIcon
|
|
@@ -122,7 +120,7 @@ const allowFavorites = computed(() => {
|
|
|
122
120
|
icon="playarrow"
|
|
123
121
|
/>
|
|
124
122
|
</transition>
|
|
125
|
-
</
|
|
123
|
+
</a>
|
|
126
124
|
<!-- </a> -->
|
|
127
125
|
|
|
128
126
|
<!-- text only catchall -->
|