@icvdeveloper/common-module 2.0.0 → 2.1.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 +4 -0
- package/dist/module.d.mts +1055 -2
- package/dist/module.d.ts +1055 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +30 -24
- package/dist/runtime/analytics.d.ts +1 -6
- package/dist/runtime/assets/css/atcb.css +1 -0
- package/dist/runtime/assets/scss/_agenda.css +1 -0
- package/dist/runtime/assets/scss/_animations.css +1 -0
- package/dist/runtime/assets/scss/_container_variants.css +1 -0
- package/dist/runtime/assets/scss/_custom.css +3 -0
- package/dist/runtime/assets/scss/_forms.css +1 -0
- package/dist/runtime/assets/scss/_header.css +0 -0
- package/dist/runtime/assets/scss/_index_production.css +1 -0
- package/dist/runtime/assets/scss/_transitions.css +1 -0
- package/dist/runtime/assets/scss/_variables.css +1 -0
- package/dist/runtime/assets/scss/_variables2.css +0 -0
- package/dist/runtime/assets/scss/_webcast.css +1 -0
- package/dist/runtime/assets/scss/index.css +1 -0
- package/dist/runtime/components/affiliates/AffiliateModal.vue +1 -1
- package/dist/runtime/components/affiliates/AffiliatePage.vue +70 -105
- package/dist/runtime/components/agenda/AgendaList.vue +18 -14
- package/dist/runtime/components/agenda/AgendaTabbed.vue +23 -26
- package/dist/runtime/components/agenda/components/AgendaListAccordion.vue +8 -3
- package/dist/runtime/components/agenda/components/Calendar.vue +11 -8
- package/dist/runtime/components/agenda/components/Favorite.vue +7 -5
- package/dist/runtime/components/agenda/components/InfoLink.vue +15 -5
- package/dist/runtime/components/agenda/components/PlayIcon.vue +2 -4
- package/dist/runtime/components/agenda/components/PresentationLink.vue +16 -9
- package/dist/runtime/components/agenda/components/Sponsor.vue +31 -24
- package/dist/runtime/components/auth/PasswordReset.vue +20 -5
- package/dist/runtime/components/auth/Registration.vue +14 -4
- package/dist/runtime/components/auth/Ucc.vue +44 -27
- package/dist/runtime/components/chat/ChatConversationList.vue +11 -11
- package/dist/runtime/components/chat/ChatCreateConversation.vue +41 -47
- package/dist/runtime/components/chat/ChatCreateGroupConversation.vue +6 -11
- package/dist/runtime/components/chat/ChatHeader.vue +48 -49
- package/dist/runtime/components/chat/ChatShowConversation.vue +1 -2
- package/dist/runtime/components/chat/ChatWidget.vue +1 -26
- package/dist/runtime/components/chat/ChatWindow.vue +5 -71
- package/dist/runtime/components/chat/MessageInput.vue +1 -4
- package/dist/runtime/components/chat/SearchInput.vue +1 -1
- package/dist/runtime/components/core/Accordion.vue +11 -11
- package/dist/runtime/components/core/AttendeeList.vue +8 -22
- package/dist/runtime/components/core/CountdownTimer.vue +67 -51
- package/dist/runtime/components/core/DynamicHtml.vue.d.ts +5 -5
- package/dist/runtime/components/core/Modal.vue +3 -9
- package/dist/runtime/components/core/ModalButton.vue +2 -2
- package/dist/runtime/components/core/Navbar.vue +30 -18
- package/dist/runtime/components/core/Navigation.vue +22 -29
- package/dist/runtime/components/core/SvgIcon.vue +4 -1
- package/dist/runtime/components/core/VButton.vue +2 -8
- package/dist/runtime/components/core/ZoomModal.vue +9 -3
- package/dist/runtime/components/events/EventHeader.vue +14 -4
- package/dist/runtime/components/events/ListEvents.vue +18 -18
- package/dist/runtime/components/forms/Message.vue +1 -1
- package/dist/runtime/components/forms/SearchInput.vue +8 -2
- package/dist/runtime/components/forms/SelectDropDown.vue +4 -4
- package/dist/runtime/components/forms/SupportForm.vue +18 -7
- package/dist/runtime/components/forms/SwitchInput.vue +50 -30
- package/dist/runtime/components/forms/TextArea.vue +1 -1
- package/dist/runtime/components/forms/TextInput.vue +1 -1
- package/dist/runtime/components/layouts/Accordion.vue +9 -4
- package/dist/runtime/components/media/ArchivePlayerAndContentContainer.vue +4 -1
- package/dist/runtime/components/media/ArchiveVideoPlayer.vue +5 -17
- package/dist/runtime/components/media/PlayerAndContentContainer.vue +4 -1
- package/dist/runtime/components/media/WebcastVideoPlayer.vue +5 -17
- package/dist/runtime/components/media/components/AgendaPanel.vue +7 -6
- package/dist/runtime/components/media/components/ArchiveMediaContainer.vue +9 -7
- package/dist/runtime/components/media/components/CeCreditNotification.vue +6 -6
- package/dist/runtime/components/media/components/ContentArea.vue +8 -4
- package/dist/runtime/components/media/components/ContentTabs.vue +38 -26
- package/dist/runtime/components/media/components/DocumentsPanel.vue +17 -15
- package/dist/runtime/components/media/components/MediaContainer.vue +10 -8
- package/dist/runtime/components/media/components/OverviewPanel.vue +5 -2
- package/dist/runtime/components/media/components/PresentersPanel.vue +11 -11
- package/dist/runtime/components/media/components/SponsorsPanel.vue +10 -9
- package/dist/runtime/components/presenters/PresenterListing.vue +3 -5
- package/dist/runtime/components/presenters/Presenters.vue +8 -8
- package/dist/runtime/components/profile/components/SidebarNavItem.vue +1 -3
- package/dist/runtime/components/profile/tabs/ProfileImage.vue +7 -6
- package/dist/runtime/components/registration/AlreadyRegisteredModal.vue +10 -7
- package/dist/runtime/components/registration/PaymentForm.vue +10 -10
- package/dist/runtime/components/registration/RegistrationForm.vue +2 -2
- package/dist/runtime/components/registration/RegistrationGroupSelect.vue +11 -7
- package/dist/runtime/components/registration/StripePaymentForm.vue +11 -31
- package/dist/runtime/components/support/FAQAccordion.vue +8 -7
- package/dist/runtime/composables/useAdobeLaunch.d.ts +2 -7
- package/dist/runtime/composables/useAdobeLaunch.mjs +2 -2
- package/dist/runtime/composables/useAgenda.d.ts +1 -1
- package/dist/runtime/composables/useAgenda.mjs +28 -19
- package/dist/runtime/composables/useApi.d.ts +1 -1
- package/dist/runtime/composables/useAuth.d.ts +1 -1
- package/dist/runtime/composables/useClassBinding.d.ts +3 -1
- package/dist/runtime/composables/useConferenceHelpers.d.ts +2 -2
- package/dist/runtime/composables/useConferenceHelpers.mjs +11 -14
- package/dist/runtime/composables/useEventHooks.d.ts +6 -7
- package/dist/runtime/composables/useEvents.mjs +7 -9
- package/dist/runtime/composables/useLogin.mjs +2 -2
- package/dist/runtime/composables/useNavigation.d.ts +1 -1
- package/dist/runtime/composables/useNavigation.mjs +4 -2
- package/dist/runtime/composables/usePresentation.d.ts +2 -2
- package/dist/runtime/composables/usePresentation.mjs +7 -6
- package/dist/runtime/composables/usePresenter.d.ts +2 -2
- package/dist/runtime/composables/usePresenters.d.ts +2 -2
- package/dist/runtime/composables/useScripts.mjs +1 -1
- package/dist/runtime/composables/useStream.d.ts +2 -3
- package/dist/runtime/composables/useStream.mjs +1 -1
- package/dist/runtime/composables/useUcc.d.ts +1 -1
- package/dist/runtime/composables/useUcc.mjs +29 -23
- package/dist/runtime/enums/chatWindow.mjs +7 -0
- package/dist/runtime/models/adobeLaunch.d.ts +6 -0
- package/dist/runtime/models/adobeLaunch.mjs +0 -0
- package/dist/runtime/models/analytics.d.ts +6 -0
- package/dist/runtime/models/analytics.mjs +0 -0
- package/dist/runtime/models/attendeeList.d.ts +1 -1
- package/dist/runtime/models/conference.d.ts +109 -92
- package/dist/runtime/models/conversation.d.ts +10 -10
- package/dist/runtime/models/document.d.ts +5 -5
- package/dist/runtime/models/globalConfig.d.ts +4 -2
- package/dist/runtime/models/group.d.ts +18 -18
- package/dist/runtime/models/icons.d.ts +1 -1
- package/dist/runtime/models/index.d.ts +20 -0
- package/dist/runtime/models/index.mjs +20 -0
- package/dist/runtime/models/link.d.ts +4 -4
- package/dist/runtime/models/loginParams.d.ts +5 -0
- package/dist/runtime/models/loginParams.mjs +0 -0
- package/dist/runtime/models/navigationConfig.d.ts +7 -7
- package/dist/runtime/models/pagination.d.ts +11 -11
- package/dist/runtime/models/portal.d.ts +15 -10
- package/dist/runtime/models/templateConfig.d.ts +7 -7
- package/dist/runtime/models/ucc.d.ts +22 -0
- package/dist/runtime/models/ucc.mjs +0 -0
- package/dist/runtime/models/user.d.ts +28 -12
- package/dist/runtime/models/vButton.d.ts +7 -0
- package/dist/runtime/models/vButton.mjs +0 -0
- package/dist/runtime/models/video.d.ts +5 -4
- package/dist/runtime/models/virtualPagesConfig.d.ts +11 -123
- package/dist/runtime/models/vueEternalLoading.d.ts +11 -0
- package/dist/runtime/models/vueEternalLoading.mjs +0 -0
- package/dist/runtime/plugin.mjs +12 -9
- package/dist/runtime/store/affiliates.d.ts +1 -1
- package/dist/runtime/store/attendeeList.d.ts +1 -1
- package/dist/runtime/store/auth.d.ts +3 -7
- package/dist/runtime/store/conferences.mjs +8 -8
- package/dist/runtime/store/conversations.d.ts +26 -3988
- package/dist/runtime/store/conversations.mjs +7 -7
- package/dist/runtime/store/modalPlayerConfig.d.ts +17 -488
- package/dist/runtime/store/modalPlayerConfig.mjs +2 -2
- package/dist/runtime/store/navigationConfig.d.ts +1 -1
- package/dist/runtime/store/presentations.d.ts +2 -2
- package/dist/runtime/store/templateConfigs.d.ts +6 -6
- package/dist/runtime/store/templateConfigs.mjs +6 -6
- package/dist/runtime/store/user.mjs +0 -1
- package/dist/runtime/v3plusCommonPlugin.d.ts +1 -1
- package/dist/types.d.mts +3 -2
- package/dist/types.d.ts +3 -2
- package/package.json +13 -13
- package/dist/runtime/components/media/components/JsonApi.vue +0 -33
- package/dist/runtime/components/media/components/JsonApi.vue.d.ts +0 -16
- package/dist/runtime/components/media/components/WindowContent.vue +0 -118
- package/dist/runtime/components/media/components/WindowContent.vue.d.ts +0 -50
- package/dist/runtime/components/media/components/WindowSlide.vue +0 -92
- package/dist/runtime/components/media/components/WindowSlide.vue.d.ts +0 -36
- package/dist/runtime/models/authUser.d.ts +0 -17
- /package/dist/runtime/{models/authUser.mjs → assets/scss/_footer.css} +0 -0
- /package/dist/runtime/{components/chat/ChatWindow.vue.d.ts → enums/chatWindow.d.ts} +0 -0
|
@@ -80,7 +80,7 @@ const clockStyle = computed(() => {
|
|
|
80
80
|
|
|
81
81
|
const fontClass = computed(() => {
|
|
82
82
|
const fontBase = "font-bold";
|
|
83
|
-
return props.isCompact
|
|
83
|
+
return props.isCompact
|
|
84
84
|
? fontBase + " text-xl lg:text-2xl"
|
|
85
85
|
: fontBase + " text-2xl lg:text-4xl";
|
|
86
86
|
});
|
|
@@ -139,7 +139,10 @@ onUnmounted(() => {
|
|
|
139
139
|
)
|
|
140
140
|
"
|
|
141
141
|
>
|
|
142
|
-
<div
|
|
142
|
+
<div
|
|
143
|
+
v-if="showStatusText"
|
|
144
|
+
class="flex-initial"
|
|
145
|
+
>
|
|
143
146
|
<h1
|
|
144
147
|
:class="
|
|
145
148
|
classBinding(
|
|
@@ -195,7 +198,11 @@ onUnmounted(() => {
|
|
|
195
198
|
>
|
|
196
199
|
{{ days }}
|
|
197
200
|
</div>
|
|
198
|
-
<transition
|
|
201
|
+
<transition
|
|
202
|
+
v-if="clockStyle == 'dials'"
|
|
203
|
+
name="slide"
|
|
204
|
+
mode="out-in"
|
|
205
|
+
>
|
|
199
206
|
<div
|
|
200
207
|
:key="days"
|
|
201
208
|
:class="[fontClass, classBinding(classObject, 'unit', '')]"
|
|
@@ -238,7 +245,11 @@ onUnmounted(() => {
|
|
|
238
245
|
>
|
|
239
246
|
{{ hours }}
|
|
240
247
|
</div>
|
|
241
|
-
<transition
|
|
248
|
+
<transition
|
|
249
|
+
v-if="clockStyle == 'dials'"
|
|
250
|
+
name="slide"
|
|
251
|
+
mode="out-in"
|
|
252
|
+
>
|
|
242
253
|
<div
|
|
243
254
|
:key="hours"
|
|
244
255
|
:class="[fontClass, classBinding(classObject, 'unit', '')]"
|
|
@@ -281,7 +292,11 @@ onUnmounted(() => {
|
|
|
281
292
|
>
|
|
282
293
|
{{ minutes }}
|
|
283
294
|
</div>
|
|
284
|
-
<transition
|
|
295
|
+
<transition
|
|
296
|
+
v-if="clockStyle == 'dials'"
|
|
297
|
+
name="slide"
|
|
298
|
+
mode="out-in"
|
|
299
|
+
>
|
|
285
300
|
<div
|
|
286
301
|
:key="minutes"
|
|
287
302
|
:class="[fontClass, classBinding(classObject, 'unit', '')]"
|
|
@@ -328,7 +343,11 @@ onUnmounted(() => {
|
|
|
328
343
|
>
|
|
329
344
|
{{ seconds }}
|
|
330
345
|
</div>
|
|
331
|
-
<transition
|
|
346
|
+
<transition
|
|
347
|
+
v-if="clockStyle == 'dials'"
|
|
348
|
+
name="slide"
|
|
349
|
+
mode="out-in"
|
|
350
|
+
>
|
|
332
351
|
<div
|
|
333
352
|
:key="seconds"
|
|
334
353
|
:class="[fontClass, classBinding(classObject, 'unit', '')]"
|
|
@@ -343,35 +362,34 @@ onUnmounted(() => {
|
|
|
343
362
|
</div>
|
|
344
363
|
</template>
|
|
345
364
|
|
|
346
|
-
<style scoped>
|
|
347
|
-
.countdown-timer.compact
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
365
|
+
<style lang="postcss" scoped>
|
|
366
|
+
.countdown-timer.compact {
|
|
367
|
+
.countdown-container {
|
|
368
|
+
@apply pt-0 mx-0;
|
|
369
|
+
}
|
|
370
|
+
h1 {
|
|
371
|
+
@apply text-xl;
|
|
372
|
+
}
|
|
373
|
+
.units-container {
|
|
374
|
+
@apply p-4 mt-1;
|
|
375
|
+
}
|
|
376
|
+
.unit-container.windows {
|
|
377
|
+
width: 60px;
|
|
378
|
+
}
|
|
358
379
|
}
|
|
359
380
|
|
|
360
381
|
/* label + number container */
|
|
361
382
|
.item-container {
|
|
362
383
|
@apply flex flex-col;
|
|
363
384
|
}
|
|
364
|
-
|
|
365
385
|
/* days hrs min sec labels */
|
|
366
386
|
.unit-label-container {
|
|
367
387
|
@apply text-xs font-light;
|
|
368
388
|
height: 18px;
|
|
369
389
|
}
|
|
370
|
-
|
|
371
390
|
.unit-label-container.windows {
|
|
372
391
|
@apply pb-4 uppercase tracking-wider;
|
|
373
392
|
}
|
|
374
|
-
|
|
375
393
|
.unit-label-container.dials {
|
|
376
394
|
@apply mx-0;
|
|
377
395
|
padding-top: 2px;
|
|
@@ -381,7 +399,6 @@ onUnmounted(() => {
|
|
|
381
399
|
border-bottom: 1px solid #ddd;
|
|
382
400
|
background-image: linear-gradient(#fafafa, #efefef, #e6e6e6);
|
|
383
401
|
}
|
|
384
|
-
|
|
385
402
|
.unit-label-container.dials.last {
|
|
386
403
|
width: 67px;
|
|
387
404
|
}
|
|
@@ -390,12 +407,10 @@ onUnmounted(() => {
|
|
|
390
407
|
.unit-container {
|
|
391
408
|
@apply flex text-center items-center justify-center overflow-hidden;
|
|
392
409
|
}
|
|
393
|
-
|
|
394
410
|
.unit-container.windows {
|
|
395
411
|
@apply mx-1 px-2 border-4 rounded-lg shadow-md;
|
|
396
412
|
width: 70px;
|
|
397
413
|
}
|
|
398
|
-
|
|
399
414
|
.unit-container.dials {
|
|
400
415
|
@apply mx-0 shadow;
|
|
401
416
|
width: 70px;
|
|
@@ -411,66 +426,67 @@ onUnmounted(() => {
|
|
|
411
426
|
position: relative;
|
|
412
427
|
overflow: hidden;
|
|
413
428
|
}
|
|
414
|
-
|
|
415
429
|
.dropshade:before,
|
|
416
430
|
.dropshade:after {
|
|
417
431
|
content: "";
|
|
418
432
|
position: absolute;
|
|
419
433
|
z-index: 1;
|
|
420
434
|
top: 18px;
|
|
421
|
-
bottom:
|
|
435
|
+
bottom: 0;
|
|
422
436
|
width: 85px;
|
|
423
437
|
-webkit-box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.2);
|
|
424
438
|
-moz-box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.2);
|
|
425
439
|
box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.2);
|
|
426
|
-
-webkit-border-radius: 15px/80px;
|
|
427
|
-
-moz-border-radius: 15px/80px;
|
|
428
|
-
border-radius: 10px/80px;
|
|
429
|
-
background-image: linear-gradient(
|
|
440
|
+
-webkit-border-radius: 15px / 80px;
|
|
441
|
+
-moz-border-radius: 15px / 80px;
|
|
442
|
+
border-radius: 10px / 80px;
|
|
443
|
+
background-image: linear-gradient(
|
|
444
|
+
rgba(0, 0, 0, 0),
|
|
445
|
+
rgba(0, 0, 0, 0),
|
|
446
|
+
rgba(0, 0, 0, 0.1)
|
|
447
|
+
);
|
|
430
448
|
}
|
|
431
|
-
|
|
432
449
|
.dropshade:before {
|
|
433
450
|
left: -84px;
|
|
434
451
|
}
|
|
435
|
-
|
|
436
452
|
.dropshade:after {
|
|
437
453
|
left: -14px;
|
|
438
454
|
}
|
|
439
|
-
|
|
440
455
|
.dropshade.last:after {
|
|
441
456
|
left: -18px;
|
|
442
457
|
}
|
|
443
458
|
|
|
444
459
|
/* lg: dials */
|
|
445
460
|
@screen lg {
|
|
446
|
-
.countdown-timer.fullsize
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
461
|
+
.countdown-timer.fullsize {
|
|
462
|
+
.unit-container.windows,
|
|
463
|
+
.unit-container.dials {
|
|
464
|
+
width: 80px;
|
|
465
|
+
height: 46px;
|
|
466
|
+
}
|
|
467
|
+
.unit-label-container.dials.last {
|
|
468
|
+
width: 77px;
|
|
469
|
+
}
|
|
470
|
+
.dropshade:before {
|
|
471
|
+
left: -84px;
|
|
472
|
+
}
|
|
473
|
+
.dropshade:after {
|
|
474
|
+
left: -4px;
|
|
475
|
+
}
|
|
476
|
+
.dropshade.last:after {
|
|
477
|
+
left: -8px;
|
|
478
|
+
}
|
|
462
479
|
}
|
|
463
480
|
}
|
|
481
|
+
|
|
464
482
|
/* dials transitions */
|
|
465
483
|
.slide-leave-active,
|
|
466
484
|
.slide-enter-active {
|
|
467
485
|
transition: 0.3s;
|
|
468
486
|
}
|
|
469
|
-
|
|
470
487
|
.slide-enter {
|
|
471
488
|
transform: translate(0, -100%);
|
|
472
489
|
}
|
|
473
|
-
|
|
474
490
|
.slide-leave-active {
|
|
475
491
|
transform: translate(0, 100%);
|
|
476
492
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
template: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
-
}
|
|
6
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
7
|
[key: string]: any;
|
|
8
|
-
}>,
|
|
8
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
template: {
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
}>> & Readonly<{}>, {
|
|
14
14
|
template: string;
|
|
15
|
-
}, {}>;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
16
|
export default _default;
|
|
@@ -116,25 +116,19 @@ const clicked = () => {
|
|
|
116
116
|
</Transition>
|
|
117
117
|
</template>
|
|
118
118
|
|
|
119
|
-
<style scoped>
|
|
119
|
+
<style lang="postcss" scoped>
|
|
120
120
|
.max-h-1em {
|
|
121
121
|
max-height: 1em;
|
|
122
122
|
}
|
|
123
|
-
|
|
124
123
|
.bg-smoke-400 {
|
|
125
124
|
background-color: rgba(0, 0, 0, 0.4);
|
|
126
125
|
}
|
|
127
|
-
|
|
128
126
|
.custom-max-width {
|
|
129
127
|
max-width: 100%;
|
|
130
|
-
|
|
131
|
-
@screen lg {
|
|
132
|
-
.custom-max-width {
|
|
128
|
+
@screen lg {
|
|
133
129
|
max-width: calc(var(--maxw) * 1.25);
|
|
134
130
|
}
|
|
135
|
-
|
|
136
|
-
@screen xl {
|
|
137
|
-
.custom-max-width {
|
|
131
|
+
@screen xl {
|
|
138
132
|
max-width: var(--maxw);
|
|
139
133
|
}
|
|
140
134
|
}
|
|
@@ -44,8 +44,8 @@ const combinedNavItems = computed(() => {
|
|
|
44
44
|
|
|
45
45
|
if (Object.keys(additionalItems.value).length > 0) {
|
|
46
46
|
// get index to insert items at.
|
|
47
|
-
Object.keys(additionalItems.value).forEach((index) => {
|
|
48
|
-
if (items[index] !==
|
|
47
|
+
Object.keys(additionalItems.value).forEach((value: any, index: number) => {
|
|
48
|
+
if (items[index] !== undefined) {
|
|
49
49
|
for (let i = 0; i < additionalItems.value[index].length; i++) {
|
|
50
50
|
items.splice(index + i, 0, additionalItems.value[index][i]);
|
|
51
51
|
}
|
|
@@ -66,23 +66,26 @@ const combinedNavItems = computed(() => {
|
|
|
66
66
|
class="hidden flex-1 flex-col mx-auto min-w-full"
|
|
67
67
|
:class="combinedNavItems.length < 7 ? 'md:flex' : 'lg:flex'"
|
|
68
68
|
>
|
|
69
|
-
<
|
|
69
|
+
<div
|
|
70
70
|
v-if="htmlHeader.length"
|
|
71
71
|
class="flex-initial mb-0"
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
v-html="htmlHeader"
|
|
73
|
+
/>
|
|
74
74
|
|
|
75
75
|
<nav class="flex flex-1 min-h-8 content-center">
|
|
76
76
|
<ul class="h-full">
|
|
77
|
-
<li
|
|
78
|
-
|
|
77
|
+
<li
|
|
78
|
+
v-for="(item, index) in combinedNavItems"
|
|
79
|
+
:key="index"
|
|
80
|
+
>
|
|
81
|
+
<NuxtLink
|
|
79
82
|
v-if="!isExternalLink(item)"
|
|
80
83
|
:to="formatLink(item)"
|
|
81
84
|
exact
|
|
82
85
|
class="inline-block"
|
|
83
86
|
>
|
|
84
87
|
{{ item.label || item.name }}
|
|
85
|
-
</
|
|
88
|
+
</NuxtLink>
|
|
86
89
|
<a
|
|
87
90
|
v-else
|
|
88
91
|
:href="formatLink(item)"
|
|
@@ -101,14 +104,17 @@ const combinedNavItems = computed(() => {
|
|
|
101
104
|
:class="combinedNavItems.length >= 7 ? 'lg:hidden' : 'md:hidden'"
|
|
102
105
|
>
|
|
103
106
|
<div class="mobile-nav flex flex-row justify-between">
|
|
104
|
-
<
|
|
107
|
+
<div
|
|
105
108
|
v-if="htmlHeader.length"
|
|
106
109
|
class="flex-1"
|
|
107
|
-
|
|
108
|
-
|
|
110
|
+
v-html="htmlHeader"
|
|
111
|
+
/>
|
|
109
112
|
|
|
110
113
|
<div class="float-right p-2">
|
|
111
|
-
<button
|
|
114
|
+
<button
|
|
115
|
+
class="flex items-center px-3 py-2"
|
|
116
|
+
@click="toggle"
|
|
117
|
+
>
|
|
112
118
|
<svg
|
|
113
119
|
class="fill-current h-3 w-3"
|
|
114
120
|
viewBox="0 0 20 20"
|
|
@@ -122,24 +128,30 @@ const combinedNavItems = computed(() => {
|
|
|
122
128
|
</div>
|
|
123
129
|
|
|
124
130
|
<div class="flex">
|
|
125
|
-
<nav
|
|
131
|
+
<nav
|
|
132
|
+
:class="open ? 'flex' : 'hidden'"
|
|
133
|
+
class="w-full"
|
|
134
|
+
>
|
|
126
135
|
<ul class="flex-col self-center mx-auto">
|
|
127
|
-
<li
|
|
128
|
-
|
|
136
|
+
<li
|
|
137
|
+
v-for="(item, index) in combinedNavItems"
|
|
138
|
+
:key="index"
|
|
139
|
+
>
|
|
140
|
+
<NuxtLink
|
|
129
141
|
v-if="!isExternalLink(item)"
|
|
130
142
|
:to="formatLink(item)"
|
|
131
143
|
exact
|
|
132
144
|
class="block w-full text-center"
|
|
133
|
-
@click
|
|
145
|
+
@click="toggle"
|
|
134
146
|
>
|
|
135
147
|
{{ item.label || item.name }}
|
|
136
|
-
</
|
|
148
|
+
</NuxtLink>
|
|
137
149
|
|
|
138
150
|
<a
|
|
139
151
|
v-if="isExternalLink(item)"
|
|
140
152
|
:href="formatLink(item)"
|
|
141
153
|
target="_blank"
|
|
142
|
-
@click
|
|
154
|
+
@click="toggle"
|
|
143
155
|
>
|
|
144
156
|
{{ item.label || item.name }}
|
|
145
157
|
</a>
|
|
@@ -1,30 +1,29 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import { ref, toRefs, computed } from
|
|
3
|
-
import { storeToRefs } from
|
|
4
|
-
import { useRoute } from
|
|
5
|
-
import { usePresenters } from '../../composables';
|
|
6
|
-
import { useNavigation } from
|
|
7
|
-
import { useAuth } from
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
2
|
+
import { ref, toRefs, computed } from 'vue';
|
|
3
|
+
import { storeToRefs } from 'pinia';
|
|
4
|
+
import { useRoute } from 'vue-router';
|
|
5
|
+
import { usePresenters } from '../../composables/usePresenters';
|
|
6
|
+
import { useNavigation } from '../../composables/useNavigation';
|
|
7
|
+
import { useAuth } from '../../composables/useAuth';
|
|
8
|
+
import { useClassBinding } from '../../composables/useClassBinding';
|
|
9
|
+
import {
|
|
11
10
|
useTemplateConfigsStore,
|
|
12
11
|
useNavigationConfigStore,
|
|
13
12
|
useConferencesStore,
|
|
14
13
|
useAuthStore
|
|
15
|
-
} from
|
|
14
|
+
} from '../../store';
|
|
16
15
|
import {
|
|
17
16
|
modalContentEventHook,
|
|
18
17
|
setIsPlayerVisibleEventHook,
|
|
19
18
|
setIsProfileVisibleEventHook,
|
|
20
19
|
setPlayerConferenceEventHook,
|
|
21
20
|
setPlayerPresentationEventHook
|
|
22
|
-
} from
|
|
21
|
+
} from '../../composables/useEventHooks';
|
|
23
22
|
import type { Ref } from 'vue';
|
|
24
|
-
import type { PlayerPresentation } from
|
|
23
|
+
import type { PlayerPresentation } from '../../models/conference';
|
|
25
24
|
import type { NavigationClassObj } from '../../@types/components';
|
|
26
|
-
import type { Conference } from
|
|
27
|
-
import type { ContentData } from
|
|
25
|
+
import type { Conference } from '../../models/conference';
|
|
26
|
+
import type { ContentData } from '../../models/vButton';
|
|
28
27
|
|
|
29
28
|
|
|
30
29
|
type Props = {
|
|
@@ -65,7 +64,6 @@ const { user, isLoggedIn } = storeToRefs(useAuthStore());
|
|
|
65
64
|
const { currentConference } = storeToRefs(useConferencesStore());
|
|
66
65
|
|
|
67
66
|
// data
|
|
68
|
-
const showAttendeeList = ref<boolean>(false);
|
|
69
67
|
const showMenu = ref<boolean>(false);
|
|
70
68
|
const profileImg = 'https://v3plus-production.s3.us-west-2.amazonaws.com/users/profile.png';
|
|
71
69
|
|
|
@@ -95,10 +93,6 @@ const htmlHeader = computed(() => {
|
|
|
95
93
|
return globalConfigValue("html_header");
|
|
96
94
|
});
|
|
97
95
|
|
|
98
|
-
const isVideoEnabled = computed(() => {
|
|
99
|
-
return globalConfigValue("enable_video_chat");
|
|
100
|
-
});
|
|
101
|
-
|
|
102
96
|
const hideUserProfile = computed(() => {
|
|
103
97
|
return globalConfigValue("hide_user_profile");
|
|
104
98
|
});
|
|
@@ -112,8 +106,8 @@ const emitLoginModal = (): void => {
|
|
|
112
106
|
|
|
113
107
|
const emitStreamTest = (): void => {
|
|
114
108
|
const streamPres: PlayerPresentation = {
|
|
115
|
-
player_type: 'live',
|
|
116
|
-
data: {
|
|
109
|
+
player_type: 'live',
|
|
110
|
+
data: {
|
|
117
111
|
id: 0,
|
|
118
112
|
access: true,
|
|
119
113
|
name: 'Stream Test',
|
|
@@ -173,8 +167,8 @@ const emitStreamTest = (): void => {
|
|
|
173
167
|
<li
|
|
174
168
|
v-if="
|
|
175
169
|
currentConference &&
|
|
176
|
-
|
|
177
|
-
|
|
170
|
+
currentConference.agenda_enabled &&
|
|
171
|
+
route.name === 'events-id'
|
|
178
172
|
"
|
|
179
173
|
>
|
|
180
174
|
<a
|
|
@@ -257,7 +251,10 @@ const emitStreamTest = (): void => {
|
|
|
257
251
|
</nuxt-link>
|
|
258
252
|
</template>
|
|
259
253
|
<template v-else>
|
|
260
|
-
<a
|
|
254
|
+
<a
|
|
255
|
+
class="cursor-pointer"
|
|
256
|
+
@click="emitLoginModal()"
|
|
257
|
+
>Log In</a>
|
|
261
258
|
</template>
|
|
262
259
|
</li>
|
|
263
260
|
</template>
|
|
@@ -268,24 +265,20 @@ const emitStreamTest = (): void => {
|
|
|
268
265
|
</div>
|
|
269
266
|
</template>
|
|
270
267
|
|
|
271
|
-
<style>
|
|
268
|
+
<style lang="postcss">
|
|
272
269
|
nav.header ul li {
|
|
273
270
|
@apply border-2 border-transparent text-black cursor-pointer py-1 md:inline-block md:ml-8;
|
|
274
271
|
}
|
|
275
|
-
|
|
276
272
|
nav.header ul li:hover {
|
|
277
273
|
@apply border-b-black;
|
|
278
274
|
}
|
|
279
|
-
|
|
280
275
|
nav.header ul li a.nav-link,
|
|
281
276
|
nav.header ul li a.nav-link:hover {
|
|
282
277
|
@apply cursor-pointer text-black;
|
|
283
278
|
}
|
|
284
|
-
|
|
285
279
|
nav.header ul li.nav-li-color {
|
|
286
280
|
@apply text-red-500;
|
|
287
281
|
}
|
|
288
|
-
|
|
289
282
|
nav.header ul li.nav-li-color a.nav-link,
|
|
290
283
|
nav.header ul li.nav-li-color a.nav-link:hover {
|
|
291
284
|
@apply text-red-500;
|
|
@@ -218,7 +218,10 @@ const iconComponent = computed(() => {
|
|
|
218
218
|
</script>
|
|
219
219
|
|
|
220
220
|
<template>
|
|
221
|
-
<div
|
|
221
|
+
<div
|
|
222
|
+
:style="iconDims"
|
|
223
|
+
:class="classBinding(classObject, 'container', '')"
|
|
224
|
+
>
|
|
222
225
|
<component
|
|
223
226
|
:is="iconComponent"
|
|
224
227
|
:style="iconStyle"
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { toRefs } from "vue";
|
|
3
|
-
import { modalContentEventHook } from
|
|
4
|
-
|
|
5
|
-
contentObj?: {};
|
|
6
|
-
contentArray?: [];
|
|
7
|
-
contentString?: string;
|
|
8
|
-
contentType?: string;
|
|
9
|
-
modalSize?: number;
|
|
10
|
-
};
|
|
3
|
+
import { modalContentEventHook } from '../../composables/useEventHooks';
|
|
4
|
+
import type { ContentData } from '../../models/vButton';
|
|
11
5
|
|
|
12
6
|
const props = withDefaults(defineProps<ContentData>(), {
|
|
13
7
|
contentObj: () => { return {} },
|
|
@@ -27,11 +27,17 @@ const zoomUrl = computed(() => {
|
|
|
27
27
|
@trigger="showModal = false"
|
|
28
28
|
>
|
|
29
29
|
<template #modal-body>
|
|
30
|
-
<iframe
|
|
30
|
+
<iframe
|
|
31
|
+
:src="zoomUrl"
|
|
32
|
+
class="w-full h-full"
|
|
33
|
+
/>
|
|
31
34
|
</template>
|
|
32
35
|
</CommonModal>
|
|
33
|
-
<a
|
|
34
|
-
|
|
36
|
+
<a
|
|
37
|
+
href="javascript:null"
|
|
38
|
+
@click="showModal = true"
|
|
39
|
+
>
|
|
40
|
+
<slot name="modal-link" />
|
|
35
41
|
</a>
|
|
36
42
|
</span>
|
|
37
43
|
</template>
|
|
@@ -18,7 +18,6 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
18
18
|
});
|
|
19
19
|
|
|
20
20
|
// stores
|
|
21
|
-
const conferenceStore = useConferencesStore();
|
|
22
21
|
const { globalConfigValue, pagesConfigValue } = useTemplateConfigsStore();
|
|
23
22
|
|
|
24
23
|
// reactive data
|
|
@@ -69,7 +68,10 @@ const mainBodyImage = computed(() => {
|
|
|
69
68
|
</script>
|
|
70
69
|
|
|
71
70
|
<template>
|
|
72
|
-
<div
|
|
71
|
+
<div
|
|
72
|
+
:style="mainStyles"
|
|
73
|
+
class="flex bg-color-2"
|
|
74
|
+
>
|
|
73
75
|
<div
|
|
74
76
|
v-if="useEventText"
|
|
75
77
|
class="text-center flex flex-1 flex-col items-center justify-center h-auto p-12"
|
|
@@ -122,12 +124,20 @@ const mainBodyImage = computed(() => {
|
|
|
122
124
|
:href="getConferenceRegUrl()"
|
|
123
125
|
:target="/^http/.test(getConferenceRegUrl()) ? '_blank' : '_self'"
|
|
124
126
|
>
|
|
125
|
-
<button
|
|
127
|
+
<button
|
|
128
|
+
class="btn"
|
|
129
|
+
:class="hasOtherButton ? 'md:ml-4' : ''"
|
|
130
|
+
>
|
|
126
131
|
{{ getConferenceRegText() }}
|
|
127
132
|
</button>
|
|
128
133
|
</a>
|
|
129
134
|
</div>
|
|
130
135
|
</div>
|
|
131
|
-
<img
|
|
136
|
+
<img
|
|
137
|
+
v-else
|
|
138
|
+
:src="mainBodyImage"
|
|
139
|
+
class="w-full h-auto"
|
|
140
|
+
alt="Event header image"
|
|
141
|
+
>
|
|
132
142
|
</div>
|
|
133
143
|
</template>
|