@icvdeveloper/common-module 2.0.0 → 2.1.0

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.
Files changed (162) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/module.d.mts +1051 -2
  3. package/dist/module.d.ts +1051 -2
  4. package/dist/module.json +1 -1
  5. package/dist/module.mjs +21 -17
  6. package/dist/runtime/analytics.d.ts +1 -6
  7. package/dist/runtime/assets/scss/_agenda.css +1 -0
  8. package/dist/runtime/assets/scss/_animations.css +1 -0
  9. package/dist/runtime/assets/scss/_container_variants.css +1 -0
  10. package/dist/runtime/assets/scss/_custom.css +3 -0
  11. package/dist/runtime/assets/scss/_forms.css +1 -0
  12. package/dist/runtime/assets/scss/_header.css +0 -0
  13. package/dist/runtime/assets/scss/_index_production.css +1 -0
  14. package/dist/runtime/assets/scss/_transitions.css +1 -0
  15. package/dist/runtime/assets/scss/_variables.css +1 -0
  16. package/dist/runtime/assets/scss/_variables2.css +0 -0
  17. package/dist/runtime/assets/scss/_webcast.css +1 -0
  18. package/dist/runtime/assets/scss/index.css +1 -0
  19. package/dist/runtime/components/affiliates/AffiliateModal.vue +1 -1
  20. package/dist/runtime/components/affiliates/AffiliatePage.vue +70 -105
  21. package/dist/runtime/components/agenda/AgendaList.vue +18 -14
  22. package/dist/runtime/components/agenda/AgendaTabbed.vue +21 -24
  23. package/dist/runtime/components/agenda/components/AgendaListAccordion.vue +8 -3
  24. package/dist/runtime/components/agenda/components/Calendar.vue +17 -17
  25. package/dist/runtime/components/agenda/components/Favorite.vue +7 -5
  26. package/dist/runtime/components/agenda/components/InfoLink.vue +15 -5
  27. package/dist/runtime/components/agenda/components/PlayIcon.vue +2 -4
  28. package/dist/runtime/components/agenda/components/PresentationLink.vue +16 -9
  29. package/dist/runtime/components/agenda/components/Sponsor.vue +31 -24
  30. package/dist/runtime/components/auth/PasswordReset.vue +20 -5
  31. package/dist/runtime/components/auth/Registration.vue +14 -4
  32. package/dist/runtime/components/auth/Ucc.vue +44 -27
  33. package/dist/runtime/components/chat/ChatConversationList.vue +11 -11
  34. package/dist/runtime/components/chat/ChatCreateConversation.vue +41 -47
  35. package/dist/runtime/components/chat/ChatCreateGroupConversation.vue +6 -11
  36. package/dist/runtime/components/chat/ChatHeader.vue +46 -47
  37. package/dist/runtime/components/chat/ChatShowConversation.vue +1 -2
  38. package/dist/runtime/components/chat/ChatWidget.vue +1 -26
  39. package/dist/runtime/components/chat/ChatWindow.vue +4 -61
  40. package/dist/runtime/components/chat/MessageInput.vue +1 -4
  41. package/dist/runtime/components/chat/SearchInput.vue +1 -1
  42. package/dist/runtime/components/core/Accordion.vue +11 -11
  43. package/dist/runtime/components/core/AttendeeList.vue +8 -22
  44. package/dist/runtime/components/core/CountdownTimer.vue +67 -51
  45. package/dist/runtime/components/core/DynamicHtml.vue.d.ts +6 -9
  46. package/dist/runtime/components/core/Modal.vue +3 -9
  47. package/dist/runtime/components/core/ModalButton.vue +2 -2
  48. package/dist/runtime/components/core/Navbar.vue +30 -18
  49. package/dist/runtime/components/core/Navigation.vue +22 -29
  50. package/dist/runtime/components/core/SvgIcon.vue +4 -1
  51. package/dist/runtime/components/core/VButton.vue +2 -8
  52. package/dist/runtime/components/core/ZoomModal.vue +9 -3
  53. package/dist/runtime/components/events/EventHeader.vue +14 -4
  54. package/dist/runtime/components/events/ListEvents.vue +18 -18
  55. package/dist/runtime/components/forms/Message.vue +1 -1
  56. package/dist/runtime/components/forms/SearchInput.vue +8 -2
  57. package/dist/runtime/components/forms/SelectDropDown.vue +4 -4
  58. package/dist/runtime/components/forms/SupportForm.vue +18 -7
  59. package/dist/runtime/components/forms/SwitchInput.vue +50 -30
  60. package/dist/runtime/components/forms/TextArea.vue +1 -1
  61. package/dist/runtime/components/forms/TextInput.vue +1 -1
  62. package/dist/runtime/components/layouts/Accordion.vue +9 -4
  63. package/dist/runtime/components/media/ArchivePlayerAndContentContainer.vue +4 -1
  64. package/dist/runtime/components/media/ArchiveVideoPlayer.vue +5 -17
  65. package/dist/runtime/components/media/PlayerAndContentContainer.vue +4 -1
  66. package/dist/runtime/components/media/WebcastVideoPlayer.vue +5 -17
  67. package/dist/runtime/components/media/components/AgendaPanel.vue +7 -6
  68. package/dist/runtime/components/media/components/ArchiveMediaContainer.vue +9 -7
  69. package/dist/runtime/components/media/components/CeCreditNotification.vue +6 -6
  70. package/dist/runtime/components/media/components/ContentArea.vue +8 -4
  71. package/dist/runtime/components/media/components/ContentTabs.vue +38 -26
  72. package/dist/runtime/components/media/components/DocumentsPanel.vue +17 -15
  73. package/dist/runtime/components/media/components/MediaContainer.vue +10 -8
  74. package/dist/runtime/components/media/components/OverviewPanel.vue +5 -2
  75. package/dist/runtime/components/media/components/PresentersPanel.vue +11 -11
  76. package/dist/runtime/components/media/components/SponsorsPanel.vue +10 -9
  77. package/dist/runtime/components/presenters/PresenterListing.vue +3 -5
  78. package/dist/runtime/components/presenters/Presenters.vue +8 -8
  79. package/dist/runtime/components/profile/components/SidebarNavItem.vue +1 -3
  80. package/dist/runtime/components/profile/tabs/ProfileImage.vue +7 -6
  81. package/dist/runtime/components/registration/AlreadyRegisteredModal.vue +10 -7
  82. package/dist/runtime/components/registration/PaymentForm.vue +10 -10
  83. package/dist/runtime/components/registration/RegistrationForm.vue +2 -2
  84. package/dist/runtime/components/registration/RegistrationGroupSelect.vue +11 -7
  85. package/dist/runtime/components/registration/StripePaymentForm.vue +11 -31
  86. package/dist/runtime/components/support/FAQAccordion.vue +8 -7
  87. package/dist/runtime/composables/useAdobeLaunch.d.ts +2 -7
  88. package/dist/runtime/composables/useAdobeLaunch.mjs +2 -2
  89. package/dist/runtime/composables/useAgenda.d.ts +1 -1
  90. package/dist/runtime/composables/useAgenda.mjs +28 -19
  91. package/dist/runtime/composables/useApi.d.ts +1 -1
  92. package/dist/runtime/composables/useAuth.d.ts +1 -1
  93. package/dist/runtime/composables/useClassBinding.d.ts +3 -1
  94. package/dist/runtime/composables/useConferenceHelpers.d.ts +2 -2
  95. package/dist/runtime/composables/useConferenceHelpers.mjs +11 -14
  96. package/dist/runtime/composables/useEventHooks.d.ts +6 -3
  97. package/dist/runtime/composables/useEvents.mjs +7 -9
  98. package/dist/runtime/composables/useLogin.mjs +2 -2
  99. package/dist/runtime/composables/useNavigation.d.ts +1 -1
  100. package/dist/runtime/composables/useNavigation.mjs +4 -2
  101. package/dist/runtime/composables/usePresentation.d.ts +2 -2
  102. package/dist/runtime/composables/usePresentation.mjs +7 -6
  103. package/dist/runtime/composables/usePresenter.d.ts +2 -2
  104. package/dist/runtime/composables/usePresenters.d.ts +2 -2
  105. package/dist/runtime/composables/useScripts.mjs +1 -1
  106. package/dist/runtime/composables/useStream.d.ts +2 -3
  107. package/dist/runtime/composables/useStream.mjs +1 -1
  108. package/dist/runtime/composables/useUcc.d.ts +1 -1
  109. package/dist/runtime/composables/useUcc.mjs +29 -23
  110. package/dist/runtime/models/adobeLaunch.d.ts +6 -0
  111. package/dist/runtime/models/adobeLaunch.mjs +0 -0
  112. package/dist/runtime/models/analytics.d.ts +6 -0
  113. package/dist/runtime/models/analytics.mjs +0 -0
  114. package/dist/runtime/models/attendeeList.d.ts +1 -1
  115. package/dist/runtime/models/conference.d.ts +109 -92
  116. package/dist/runtime/models/conversation.d.ts +10 -10
  117. package/dist/runtime/models/document.d.ts +5 -5
  118. package/dist/runtime/models/globalConfig.d.ts +4 -2
  119. package/dist/runtime/models/group.d.ts +18 -18
  120. package/dist/runtime/models/icons.d.ts +1 -1
  121. package/dist/runtime/models/index.d.ts +20 -0
  122. package/dist/runtime/models/index.mjs +20 -0
  123. package/dist/runtime/models/link.d.ts +4 -4
  124. package/dist/runtime/models/loginParams.d.ts +5 -0
  125. package/dist/runtime/models/loginParams.mjs +0 -0
  126. package/dist/runtime/models/navigationConfig.d.ts +7 -7
  127. package/dist/runtime/models/pagination.d.ts +11 -11
  128. package/dist/runtime/models/portal.d.ts +15 -10
  129. package/dist/runtime/models/templateConfig.d.ts +7 -7
  130. package/dist/runtime/models/ucc.d.ts +22 -0
  131. package/dist/runtime/models/ucc.mjs +0 -0
  132. package/dist/runtime/models/user.d.ts +24 -12
  133. package/dist/runtime/models/vButton.d.ts +7 -0
  134. package/dist/runtime/models/vButton.mjs +0 -0
  135. package/dist/runtime/models/video.d.ts +5 -4
  136. package/dist/runtime/models/virtualPagesConfig.d.ts +11 -123
  137. package/dist/runtime/plugin.mjs +12 -9
  138. package/dist/runtime/store/affiliates.d.ts +1 -1
  139. package/dist/runtime/store/attendeeList.d.ts +1 -1
  140. package/dist/runtime/store/auth.d.ts +3 -7
  141. package/dist/runtime/store/conferences.mjs +8 -8
  142. package/dist/runtime/store/conversations.d.ts +26 -3988
  143. package/dist/runtime/store/conversations.mjs +7 -7
  144. package/dist/runtime/store/modalPlayerConfig.d.ts +17 -488
  145. package/dist/runtime/store/modalPlayerConfig.mjs +1 -1
  146. package/dist/runtime/store/navigationConfig.d.ts +1 -1
  147. package/dist/runtime/store/presentations.d.ts +2 -2
  148. package/dist/runtime/store/templateConfigs.d.ts +6 -6
  149. package/dist/runtime/store/templateConfigs.mjs +6 -6
  150. package/dist/runtime/store/user.mjs +0 -1
  151. package/dist/runtime/v3plusCommonPlugin.d.ts +1 -1
  152. package/dist/types.d.mts +3 -2
  153. package/dist/types.d.ts +3 -2
  154. package/package.json +12 -12
  155. package/dist/runtime/components/media/components/JsonApi.vue +0 -33
  156. package/dist/runtime/components/media/components/JsonApi.vue.d.ts +0 -16
  157. package/dist/runtime/components/media/components/WindowContent.vue +0 -118
  158. package/dist/runtime/components/media/components/WindowContent.vue.d.ts +0 -50
  159. package/dist/runtime/components/media/components/WindowSlide.vue +0 -92
  160. package/dist/runtime/components/media/components/WindowSlide.vue.d.ts +0 -36
  161. package/dist/runtime/models/authUser.d.ts +0 -17
  162. /package/dist/runtime/{models/authUser.mjs → assets/scss/_footer.css} +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 === true
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 v-if="showStatusText" class="flex-initial">
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 v-if="clockStyle == 'dials'" name="slide" mode="out-in">
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 v-if="clockStyle == 'dials'" name="slide" mode="out-in">
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 v-if="clockStyle == 'dials'" name="slide" mode="out-in">
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 v-if="clockStyle == 'dials'" name="slide" mode="out-in">
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 .countdown-container {
348
- @apply pt-0 mx-0;
349
- }
350
- .countdown-timer.compact h1 {
351
- @apply text-xl;
352
- }
353
- .countdown-timer.compact .units-container {
354
- @apply p-4 mt-1;
355
- }
356
- .countdown-timer.compact .unit-container.windows {
357
- width: 60px;
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: 0px;
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(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1));
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 .unit-container.windows,
447
- .countdown-timer.fullsize .unit-container.dials {
448
- width: 80px;
449
- height: 46px;
450
- }
451
- .countdown-timer.fullsize .unit-label-container.dials.last {
452
- width: 77px;
453
- }
454
- .countdown-timer.fullsize .dropshade:before {
455
- left: -84px;
456
- }
457
- .countdown-timer.fullsize .dropshade:after {
458
- left: -4px;
459
- }
460
- .countdown-timer.fullsize .dropshade.last:after {
461
- left: -8px;
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,13 @@
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
- }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
6
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
7
7
  [key: string]: any;
8
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
- template: {
10
- type: StringConstructor;
11
- default: string;
12
- };
13
- }>>, {
8
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
9
+ template: string;
10
+ } & {} & {}>, {
14
11
  template: string;
15
- }, {}>;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
16
13
  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
  }
@@ -36,8 +36,8 @@ const closeIfAllowed = () => {
36
36
  </div>
37
37
  </CommonModal>
38
38
 
39
- <VButton @click="showModal = true">
39
+ <CommonVButton @click="showModal = true">
40
40
  <template #button> Show Modal </template>
41
- </VButton>
41
+ </CommonVButton>
42
42
  </span>
43
43
  </template>
@@ -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] !== "undefined") {
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
- <CommonDynamicHtml
69
+ <div
70
70
  v-if="htmlHeader.length"
71
71
  class="flex-initial mb-0"
72
- :template="htmlHeader"
73
- ></CommonDynamicHtml>
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 v-for="(item, index) in combinedNavItems" :key="index">
78
- <nuxt-link
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
- </nuxt-link>
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
- <CommonDynamicHtml
107
+ <div
105
108
  v-if="htmlHeader.length"
106
109
  class="flex-1"
107
- :template="htmlHeader"
108
- ></CommonDynamicHtml>
110
+ v-html="htmlHeader"
111
+ />
109
112
 
110
113
  <div class="float-right p-2">
111
- <button class="flex items-center px-3 py-2" @click="toggle">
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 :class="open ? 'flex' : 'hidden'" class="w-full">
131
+ <nav
132
+ :class="open ? 'flex' : 'hidden'"
133
+ class="w-full"
134
+ >
126
135
  <ul class="flex-col self-center mx-auto">
127
- <li v-for="(item, index) in combinedNavItems" :key="index">
128
- <nuxt-link
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.native="toggle"
145
+ @click="toggle"
134
146
  >
135
147
  {{ item.label || item.name }}
136
- </nuxt-link>
148
+ </NuxtLink>
137
149
 
138
150
  <a
139
151
  v-if="isExternalLink(item)"
140
152
  :href="formatLink(item)"
141
153
  target="_blank"
142
- @click.native="toggle"
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 "vue";
3
- import { storeToRefs } from "pinia";
4
- import { useRoute } from "vue-router";
5
- import { usePresenters } from '../../composables';
6
- import { useNavigation } from "../../composables/useNavigation";
7
- import { useAuth } from "../../composables";
8
- import { useConferenceHelpers } from "../../composables";
9
- import { useClassBinding } from "../../composables/useClassBinding";
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 "../../store";
14
+ } from '../../store';
16
15
  import {
17
16
  modalContentEventHook,
18
17
  setIsPlayerVisibleEventHook,
19
18
  setIsProfileVisibleEventHook,
20
19
  setPlayerConferenceEventHook,
21
20
  setPlayerPresentationEventHook
22
- } from "../../composables/useEventHooks";
21
+ } from '../../composables/useEventHooks';
23
22
  import type { Ref } from 'vue';
24
- import type { PlayerPresentation } from "../../store/modalPlayerConfig";
23
+ import type { PlayerPresentation } from '../../models/conference';
25
24
  import type { NavigationClassObj } from '../../@types/components';
26
- import type { Conference } from "../../models/conference";
27
- import type { ContentData } from "./VButton.vue";
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
- currentConference.agenda_enabled &&
177
- route.name === 'events-id'
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 @click="emitLoginModal()" class="cursor-pointer">Log In</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 :style="iconDims" :class="classBinding(classObject, 'container', '')">
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 "../../composables/useEventHooks";
4
- export type ContentData = {
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 :src="zoomUrl" class="w-full h-full"></iframe>
30
+ <iframe
31
+ :src="zoomUrl"
32
+ class="w-full h-full"
33
+ />
31
34
  </template>
32
35
  </CommonModal>
33
- <a href="javascript:null" @click="showModal = true">
34
- <slot name="modal-link"></slot>
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 :style="mainStyles" class="flex bg-color-2">
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 class="btn" :class="hasOtherButton ? 'md:ml-4' : ''">
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 v-else :src="mainBodyImage" class="w-full h-auto" />
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>