@icvdeveloper/common-module 1.0.0 → 1.0.1
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
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { ref, toRefs, computed } from "vue";
|
|
3
3
|
import { storeToRefs } from "pinia";
|
|
4
4
|
import { get } from "lodash-es";
|
|
5
|
-
import { useRuntimeConfig } from "#app";
|
|
6
5
|
import { useConferencesStore } from "../../store/conferences";
|
|
7
6
|
import { useTemplateConfigsStore } from "../../store/templateConfigs";
|
|
8
7
|
import { useConferenceHelpers } from "../../composables/useConferenceHelpers";
|
|
@@ -18,6 +17,8 @@ import {
|
|
|
18
17
|
sponsorClassObj,
|
|
19
18
|
} from "../../@types/components";
|
|
20
19
|
|
|
20
|
+
import { useRuntimeConfig } from "#app";
|
|
21
|
+
|
|
21
22
|
interface Props {
|
|
22
23
|
showSponsors?: boolean;
|
|
23
24
|
showBrand?: boolean;
|
|
@@ -136,7 +137,9 @@ const getVideoButtonText = (_conference: Conference): string => {
|
|
|
136
137
|
|
|
137
138
|
// computed
|
|
138
139
|
const eventPathPrefix = computed(() => {
|
|
139
|
-
return
|
|
140
|
+
return get(config.public, "eventPathPrefix.length", 0) > 0
|
|
141
|
+
? config.public.eventPathPrefix
|
|
142
|
+
: null;
|
|
140
143
|
});
|
|
141
144
|
|
|
142
145
|
const eventType = computed((): Conference[] => {
|
|
@@ -235,7 +238,9 @@ const showLoginButton = computed((): boolean => {
|
|
|
235
238
|
<a
|
|
236
239
|
:class="classBinding(classObject, 'eventBrandLink', '')"
|
|
237
240
|
:href="getBrand(conference.affiliates).website"
|
|
238
|
-
:target="
|
|
241
|
+
:target="
|
|
242
|
+
getBrand(conference.affiliates).website ? '_blank' : null
|
|
243
|
+
"
|
|
239
244
|
>
|
|
240
245
|
<h3
|
|
241
246
|
:class="
|
|
@@ -281,7 +286,9 @@ const showLoginButton = computed((): boolean => {
|
|
|
281
286
|
)
|
|
282
287
|
"
|
|
283
288
|
>
|
|
284
|
-
{{
|
|
289
|
+
{{
|
|
290
|
+
getConferenceDisplayDate(conference, true, false, false, true)
|
|
291
|
+
}}
|
|
285
292
|
</p>
|
|
286
293
|
</div>
|
|
287
294
|
<!-- countdown timer - top-aligned -->
|
|
@@ -302,6 +309,7 @@ const showLoginButton = computed((): boolean => {
|
|
|
302
309
|
>
|
|
303
310
|
<CommonCountdownTimer
|
|
304
311
|
:date="conference.start_date"
|
|
312
|
+
:timezone="conference.timezone"
|
|
305
313
|
:is-compact="true"
|
|
306
314
|
:class-object="classObject.components.countdownTimer"
|
|
307
315
|
></CommonCountdownTimer>
|
|
@@ -449,6 +457,7 @@ const showLoginButton = computed((): boolean => {
|
|
|
449
457
|
>
|
|
450
458
|
<CommonCountdownTimer
|
|
451
459
|
:date="conference.start_date"
|
|
460
|
+
:timezone="conference.timezone"
|
|
452
461
|
:is-compact="true"
|
|
453
462
|
:class-object="classObject.components.countdownTimer"
|
|
454
463
|
></CommonCountdownTimer>
|
|
@@ -472,6 +481,7 @@ const showLoginButton = computed((): boolean => {
|
|
|
472
481
|
>
|
|
473
482
|
<CommonCountdownTimer
|
|
474
483
|
:date="conference.start_date"
|
|
484
|
+
:timezone="conference.timezone"
|
|
475
485
|
:is-compact="true"
|
|
476
486
|
:class-object="classObject.components.countdownTimer"
|
|
477
487
|
></CommonCountdownTimer>
|