@icvdeveloper/common-module 0.0.70 → 0.0.72
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/dist/module.json
CHANGED
|
@@ -24,10 +24,11 @@ interface Props {
|
|
|
24
24
|
liveButton?: boolean;
|
|
25
25
|
mediaButton?: boolean;
|
|
26
26
|
registerButton?: boolean;
|
|
27
|
-
registerPathPrefix?: string;
|
|
28
|
-
eventPathPrefix?: string;
|
|
29
27
|
loginButton?: boolean;
|
|
30
28
|
viewInfoButton?: boolean;
|
|
29
|
+
registerPathPrefix?: string;
|
|
30
|
+
eventPathPrefix?: string;
|
|
31
|
+
liveButtonOpensStream?: boolean;
|
|
31
32
|
isUpcoming?: boolean;
|
|
32
33
|
showEventImage?: boolean;
|
|
33
34
|
sponsorPosition?: Position;
|
|
@@ -40,13 +41,14 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
40
41
|
showSponsors: true,
|
|
41
42
|
showBrand: true,
|
|
42
43
|
showCountdown: true,
|
|
43
|
-
liveButton:
|
|
44
|
+
liveButton: false,
|
|
44
45
|
mediaButton: true,
|
|
45
46
|
registerButton: true,
|
|
46
|
-
registerPathPrefix: "",
|
|
47
|
-
eventPathPrefix: "",
|
|
48
47
|
loginButton: true,
|
|
49
48
|
viewInfoButton: true,
|
|
49
|
+
registerPathPrefix: "",
|
|
50
|
+
eventPathPrefix: "",
|
|
51
|
+
liveButtonOpensStream: true,
|
|
50
52
|
isUpcoming: true,
|
|
51
53
|
showEventImage: true,
|
|
52
54
|
sponsorPosition: Position.RIGHT,
|
|
@@ -324,7 +326,9 @@ const showLoginButton = computed((): boolean => {
|
|
|
324
326
|
>
|
|
325
327
|
<!-- live event button - if enabled, hide all other buttons if event is live -->
|
|
326
328
|
<template v-if="liveButton && conference.state === ConferenceState.LIVE">
|
|
329
|
+
<!-- go to video -->
|
|
327
330
|
<a
|
|
331
|
+
v-if="liveButtonOpensStream"
|
|
328
332
|
:href="getVideoUrl(conference)"
|
|
329
333
|
:target="
|
|
330
334
|
/^http/.test(!isUpcoming && getVideoUrl(conference))
|
|
@@ -340,6 +344,16 @@ const showLoginButton = computed((): boolean => {
|
|
|
340
344
|
{{ getVideoButtonText(conference) }}
|
|
341
345
|
</button>
|
|
342
346
|
</a>
|
|
347
|
+
<!-- go to event page -->
|
|
348
|
+
<button
|
|
349
|
+
v-else
|
|
350
|
+
:class="
|
|
351
|
+
classBinding(classObject, 'liveButtonItem', buttonClass)
|
|
352
|
+
"
|
|
353
|
+
@click="goEventPage(conference, eventPathPrefix)"
|
|
354
|
+
>
|
|
355
|
+
{{ getVideoButtonText(conference) }}
|
|
356
|
+
</button>
|
|
343
357
|
</template>
|
|
344
358
|
|
|
345
359
|
<template v-else>
|