@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
@@ -230,7 +230,7 @@ const showLoginButton = computed((): boolean => {
230
230
  )
231
231
  "
232
232
  :src="conference.photo"
233
- />
233
+ >
234
234
  </div>
235
235
  <!-- event details container -->
236
236
  <div
@@ -287,8 +287,8 @@ const showLoginButton = computed((): boolean => {
287
287
  eventPathPrefix
288
288
  ? eventPathPrefix + conference.id
289
289
  : `/${isUpcoming ? 'upcoming-events' : 'past-events'}/${
290
- conference.id
291
- }`
290
+ conference.id
291
+ }`
292
292
  "
293
293
  >
294
294
  <h2
@@ -321,9 +321,9 @@ const showLoginButton = computed((): boolean => {
321
321
  <div
322
322
  v-if="
323
323
  isUpcoming &&
324
- showCountdown &&
325
- countdownPosition === Position.TOP &&
326
- pagesConfigValue('main.countdown_timer')
324
+ showCountdown &&
325
+ countdownPosition === Position.TOP &&
326
+ pagesConfigValue('main.countdown_timer')
327
327
  "
328
328
  :class="
329
329
  classBinding(
@@ -338,7 +338,7 @@ const showLoginButton = computed((): boolean => {
338
338
  :timezone="conference.timezone"
339
339
  :is-compact="true"
340
340
  :class-object="classObject.components.countdownTimer"
341
- ></CommonCountdownTimer>
341
+ />
342
342
  </div>
343
343
  </div>
344
344
  <!-- event button, countdown timer, and sponsors container -->
@@ -474,9 +474,9 @@ const showLoginButton = computed((): boolean => {
474
474
  <div
475
475
  v-if="
476
476
  isUpcoming &&
477
- showCountdown &&
478
- countdownPosition === Position.RIGHT &&
479
- pagesConfigValue('main.countdown_timer')
477
+ showCountdown &&
478
+ countdownPosition === Position.RIGHT &&
479
+ pagesConfigValue('main.countdown_timer')
480
480
  "
481
481
  class="flex-auto md:flex mt-3 md:mt-2"
482
482
  :class="
@@ -492,16 +492,16 @@ const showLoginButton = computed((): boolean => {
492
492
  :timezone="conference.timezone"
493
493
  :is-compact="true"
494
494
  :class-object="classObject.components.countdownTimer"
495
- ></CommonCountdownTimer>
495
+ />
496
496
  </div>
497
497
  </div>
498
498
  <!-- countdown timer - bottom-aligned -->
499
499
  <div
500
500
  v-if="
501
501
  isUpcoming &&
502
- showCountdown &&
503
- countdownPosition === Position.BOTTOM &&
504
- pagesConfigValue('main.countdown_timer')
502
+ showCountdown &&
503
+ countdownPosition === Position.BOTTOM &&
504
+ pagesConfigValue('main.countdown_timer')
505
505
  "
506
506
  :class="
507
507
  classBinding(
@@ -516,7 +516,7 @@ const showLoginButton = computed((): boolean => {
516
516
  :timezone="conference.timezone"
517
517
  :is-compact="true"
518
518
  :class-object="classObject.components.countdownTimer"
519
- ></CommonCountdownTimer>
519
+ />
520
520
  </div>
521
521
  <!-- sponsors container - bottom-aligned -->
522
522
  <div
@@ -547,7 +547,7 @@ const showLoginButton = computed((): boolean => {
547
547
  v-if="affiliate.photo"
548
548
  :sponsor="affiliate"
549
549
  :class-object="classObject.components.sponsor"
550
- ></CommonSponsor>
550
+ />
551
551
  </template>
552
552
  </div>
553
553
  </div>
@@ -572,7 +572,7 @@ const showLoginButton = computed((): boolean => {
572
572
  v-if="affiliate.photo"
573
573
  :sponsor="affiliate"
574
574
  :class-object="classObject.components.sponsor"
575
- ></CommonSponsor>
575
+ />
576
576
  </template>
577
577
  </div>
578
578
  </div>
@@ -593,7 +593,7 @@ const showLoginButton = computed((): boolean => {
593
593
  </div>
594
594
  </template>
595
595
 
596
- <style scoped>
596
+ <style lang="postcss" scoped>
597
597
  .leading-tight {
598
598
  line-height: 1.25rem;
599
599
  }
@@ -24,7 +24,7 @@ const successClass = computed(() => {
24
24
  </div>
25
25
  </template>
26
26
 
27
- <style scoped>
27
+ <style lang="postcss" scoped>
28
28
  .message-base {
29
29
  @apply border font-bold px-4 py-3 mb-4 rounded relative;
30
30
  }
@@ -1,4 +1,5 @@
1
1
  <script lang="ts" setup>
2
+ import { storeToRefs } from "pinia";
2
3
  import CloseIcon from "../../assets/svg/close-icon.svg";
3
4
 
4
5
  type Props = {
@@ -9,6 +10,8 @@ const props = withDefaults(defineProps<Props>(), {
9
10
  placeholder: "Search...",
10
11
  });
11
12
 
13
+ const { placeholder } = storeToRefs(props);
14
+
12
15
  const value = ref<string>("");
13
16
 
14
17
  const emit = defineEmits<{
@@ -30,8 +33,11 @@ const clear = () => {
30
33
  class="flex-1 pl-2 pr-5 py-1"
31
34
  :placeholder="placeholder"
32
35
  @input="emit('onChange', value)"
33
- />
34
- <span class="flex-initial cursor-pointer px-4 py-2" @click="clear">
36
+ >
37
+ <span
38
+ class="flex-initial cursor-pointer px-4 py-2"
39
+ @click="clear"
40
+ >
35
41
  <close-icon class="fill-current text-black" />
36
42
  </span>
37
43
  </div>
@@ -37,11 +37,11 @@ const onInput = (e: any): void => {
37
37
  :key="index"
38
38
  :value="option.value"
39
39
  :disabled="index==0 && firstDisabled"
40
- >
41
- {{ option.name}}
42
- </option>
40
+ >
41
+ {{ option.name }}
42
+ </option>
43
43
  </select>
44
- </span>
44
+ </span>
45
45
  </template>
46
46
 
47
47
 
@@ -43,7 +43,10 @@ const acceptNumber = () => {
43
43
 
44
44
  <template>
45
45
  <section>
46
- <form v-if="!submitted" @submit.prevent="handleForm">
46
+ <form
47
+ v-if="!submitted"
48
+ @submit.prevent="handleForm"
49
+ >
47
50
  <div class="font-bold mb-4">
48
51
  To contact support, please fill out the form below.
49
52
  </div>
@@ -87,24 +90,32 @@ const acceptNumber = () => {
87
90
  </div>
88
91
 
89
92
  <div class="mb-3">
90
- <label class="block font-semibold text-gray-800 mb-1"
91
- >Message</label
92
- >
93
+ <label class="block font-semibold text-gray-800 mb-1">Message</label>
93
94
 
94
95
  <CommonTextArea v-model="form.message" />
95
96
 
96
97
  <CommonErrorField :errors="errors['message']" />
97
98
  </div>
98
99
 
99
- <button class="btn btn-secondary" type="submit">Submit</button>
100
+ <button
101
+ class="btn btn-secondary"
102
+ type="submit"
103
+ >
104
+ Submit
105
+ </button>
100
106
  <div class="mb-3">
101
107
  <CommonErrorField :errors="errors['response']" />
102
108
  </div>
103
109
  </form>
104
110
 
105
111
  <!-- Submitted Message -->
106
- <div v-if="submitted" class="text-center my-12">
107
- <div class="text-2xl font-bold text-gray-800 mb-2">Thank you.</div>
112
+ <div
113
+ v-if="submitted"
114
+ class="text-center my-12"
115
+ >
116
+ <div class="text-2xl font-bold text-gray-800 mb-2">
117
+ Thank you.
118
+ </div>
108
119
  <div class="text-lg font-semibold text-gray-700">
109
120
  Your message has been received.
110
121
  </div>
@@ -1,5 +1,5 @@
1
1
  <script lang="ts" setup>
2
- import { ref } from "vue";
2
+ import { ref, toRefs } from "vue";
3
3
  import type { SwitchInputClassObj } from "../../@types/components";
4
4
  import { useClassBinding } from "../../composables/useClassBinding";
5
5
 
@@ -55,38 +55,58 @@ const { classBinding } = useClassBinding();
55
55
  </div>
56
56
  </template>
57
57
 
58
- <style scoped>
58
+ <style lang="postcss" scoped>
59
59
  .switch-button-control {
60
60
  display: flex;
61
61
  flex-direction: row;
62
62
  align-items: center;
63
- }
64
- .switch-button-control .switch-button {
65
- height: 1.6em;
66
- width: calc(1.6em * 2);
67
- border: 2px solid var(--color);
68
- box-shadow: inset 0px 0px 2px 0px rgba(0, 0, 0, 0.33);
69
- border-radius: 1.6em;
70
- transition: all 0.3s ease-in-out;
71
- cursor: pointer;
72
- }
73
- .switch-button-control .switch-button .button {
74
- height: calc(1.6em - 2 * 2px);
75
- width: calc(1.6em - 2 * 2px);
76
- border: 2px solid var(--color);
77
- border-radius: calc(1.6em - 2 * 2px);
78
- background: var(--color);
79
- transition: all 0.3s ease-in-out;
80
- }
81
- .switch-button-control .switch-button.enabled {
82
- background-color: var(--color);
83
- box-shadow: none;
84
- }
85
- .switch-button-control .switch-button.enabled .button {
86
- background: white;
87
- transform: translateX(calc(calc(1.6em - 2 * 2px) + 2 * 2px));
88
- }
89
- .switch-button-control .switch-button-label {
90
- margin-left: 10px;
63
+
64
+ .switch-button {
65
+ --switch-button-height: 1.6em;
66
+ --switch-button-color: var(--color);
67
+ --switch-button-border-thickness: 2px;
68
+ --switch-transition: all 0.3s ease-in-out;
69
+ --switch-is-rounded: true;
70
+
71
+ height: var(--switch-button-height);
72
+ width: calc(var(--switch-button-height) * 2);
73
+ border: var(--switch-button-border-thickness) solid var(--switch-button-color);
74
+ box-shadow: inset 0 0 var(--switch-button-border-thickness) 0 rgba(0, 0, 0, 0.33);
75
+ border-radius: var(--switch-button-height);
76
+
77
+ transition: var(--switch-transition);
78
+
79
+ --button-side-length: calc(
80
+ var(--switch-button-height) - (2 * var(--switch-button-border-thickness))
81
+ );
82
+
83
+ cursor: pointer;
84
+
85
+ .button {
86
+ height: var(--button-side-length);
87
+ width: var(--button-side-length);
88
+ border: var(--switch-button-border-thickness) solid var(--switch-button-color);
89
+ border-radius: var(--button-side-length);
90
+ background: var(--switch-button-color);
91
+
92
+ transition: var(--switch-transition);
93
+ }
94
+
95
+ &.enabled {
96
+ background-color: var(--switch-button-color);
97
+ box-shadow: none;
98
+
99
+ .button {
100
+ background: white;
101
+ transform: translateX(
102
+ calc(var(--button-side-length) + (2 * var(--switch-button-border-thickness)))
103
+ );
104
+ }
105
+ }
106
+ }
107
+
108
+ .switch-button-label {
109
+ margin-left: 10px;
110
+ }
91
111
  }
92
112
  </style>
@@ -21,6 +21,6 @@ const onInput = (e) => {
21
21
  class="form-input"
22
22
  rows="4"
23
23
  @change="onInput"
24
- ></textarea>
24
+ />
25
25
  </span>
26
26
  </template>
@@ -37,5 +37,5 @@ const { classObject } = toRefs(props);
37
37
  :value="props.modelValue"
38
38
  :placeholder="placeholder"
39
39
  @change="changeInput"
40
- />
40
+ >
41
41
  </template>
@@ -18,7 +18,7 @@ const props = withDefaults(defineProps<Props>(), {
18
18
  });
19
19
 
20
20
  // data
21
- const { title, tabContent, contentObject } = toRefs(props);
21
+ const { title, tabContent } = toRefs(props);
22
22
  const active = ref<boolean>(false);
23
23
 
24
24
  // computed
@@ -63,16 +63,21 @@ const tabTitleValues = computed(() => {
63
63
  class="font-black flex-initial"
64
64
  style="width: 0.75rem"
65
65
  >
66
- <CommonSvgIcon icon="downarrow"></CommonSvgIcon>
66
+ <CommonSvgIcon icon="downarrow" />
67
67
  </span>
68
68
  <span
69
69
  v-show="active"
70
70
  class="font-black flex-initial"
71
71
  style="width: 0.75rem"
72
72
  >
73
- <CommonSvgIcon class="invert" icon="downarrow"></CommonSvgIcon>
73
+ <CommonSvgIcon
74
+ class="invert"
75
+ icon="downarrow"
76
+ />
74
77
  </span>
75
78
  </a>
76
- <div v-show="active"><slot /></div>
79
+ <div v-show="active">
80
+ <slot />
81
+ </div>
77
82
  </div>
78
83
  </template>
@@ -96,7 +96,10 @@ const getSponsorsResult = computed((): Sponsor[] => {
96
96
  </div>
97
97
 
98
98
  <!-- TABS -->
99
- <div v-else :class="classBinding(classObject, 'withTabsContainer', '')">
99
+ <div
100
+ v-else
101
+ :class="classBinding(classObject, 'withTabsContainer', '')"
102
+ >
100
103
  <CommonComponentsContentTabs
101
104
  :class="
102
105
  classBinding(
@@ -74,7 +74,7 @@ const playStream = () => {
74
74
 
75
75
  const setupMediaPlayer = () => {
76
76
  if (icvPlayerObj) {
77
- icvPlayerObj = <PlayerObj>{};
77
+ icvPlayerObj = {} as PlayerObj;
78
78
  }
79
79
  if (isFile.value) {
80
80
  nextTick(() => {
@@ -121,7 +121,7 @@ const cleanup = () => {
121
121
  if (icvPlayerObj) {
122
122
  stop();
123
123
  remove();
124
- icvPlayerObj = <PlayerObj>{};
124
+ icvPlayerObj = {} as PlayerObj;
125
125
  }
126
126
  clearInterval(timeInterval);
127
127
  };
@@ -168,27 +168,15 @@ onUnmounted(() => {
168
168
  id="mediaPlayer"
169
169
  ref="mediaPlayer"
170
170
  :class="classBinding(classObject, 'playerElement', '')"
171
- ></div>
171
+ />
172
172
  <span
173
173
  v-if="isHtml"
174
174
  :v-html="presentation.embed_html"
175
175
  :class="classBinding(classObject, 'embedElement', '')"
176
- ></span>
176
+ />
177
177
  </div>
178
178
  </template>
179
179
 
180
180
  <style>
181
- #archive-player-container > span {
182
- padding-bottom: 56.25%;
183
- height: 0;
184
- position: relative;
185
- display: block;
186
- }
187
- #archive-player-container > span > iframe {
188
- position: absolute;
189
- top: 0;
190
- left: 0;
191
- height: 100%;
192
- width: 100%;
193
- }
181
+ #archive-player-container>span{display:block;height:0;padding-bottom:56.25%;position:relative}#archive-player-container>span>iframe{height:100%;left:0;position:absolute;top:0;width:100%}
194
182
  </style>
@@ -99,7 +99,10 @@ const hasAccess = computed((): boolean => {
99
99
  </div>
100
100
 
101
101
  <!-- TABS -->
102
- <div v-else :class="classBinding(classObject, 'withTabsContainer', '')">
102
+ <div
103
+ v-else
104
+ :class="classBinding(classObject, 'withTabsContainer', '')"
105
+ >
103
106
  <CommonComponentsContentTabs
104
107
  :class="
105
108
  classBinding(
@@ -1,5 +1,5 @@
1
1
  <script lang="ts" setup>
2
- import { ref, toRefs, computed, watch, onMounted, nextTick } from "vue";
2
+ import { toRefs, computed, watch, onMounted, nextTick } from "vue";
3
3
  import { get } from "lodash-es";
4
4
  import type { Presentation, Stream, PlayerObj } from "../../models/conference";
5
5
  import type { WebcastPlayerClassObj } from "../../@types/components";
@@ -47,7 +47,7 @@ const isHls = computed(() => {
47
47
  // methods
48
48
  const setupMediaPlayer = () => {
49
49
  if (icvPlayerObj) {
50
- icvPlayerObj = <PlayerObj>{};
50
+ icvPlayerObj = {} as PlayerObj;
51
51
  }
52
52
  if (isHls.value) {
53
53
  nextTick(() => {
@@ -114,27 +114,15 @@ onMounted(() => {
114
114
  id="mediaPlayer"
115
115
  ref="mediaPlayer"
116
116
  :class="classBinding(classObject, 'playerElement', '')"
117
- ></div>
117
+ />
118
118
  <span
119
119
  v-if="isHtml"
120
120
  :v-html="stream.embed_html"
121
121
  :class="classBinding(classObject, 'embedElement', '')"
122
- ></span>
122
+ />
123
123
  </div>
124
124
  </template>
125
125
 
126
126
  <style>
127
- #webcast-player-container > span {
128
- padding-bottom: 56.25%;
129
- height: 0;
130
- position: relative;
131
- display: block;
132
- }
133
- #webcast-player-container > span > iframe {
134
- position: absolute;
135
- top: 0;
136
- left: 0;
137
- height: 100%;
138
- width: 100%;
139
- }
127
+ #webcast-player-container>span{display:block;height:0;padding-bottom:56.25%;position:relative}#webcast-player-container>span>iframe{height:100%;left:0;position:absolute;top:0;width:100%}
140
128
  </style>
@@ -40,15 +40,16 @@ const { classBinding } = useClassBinding();
40
40
  </div>
41
41
  </template>
42
42
 
43
- <style scoped>
43
+ <style lang="postcss" scoped>
44
44
  .sponsor-grid {
45
45
  display: grid;
46
46
  grid-template-columns: 1fr 1fr 1fr;
47
47
  gap: 10px;
48
- }
49
- .sponsor-grid .grid-item {
50
- align-items: center;
51
- align-self: center;
52
- justify-self: center;
48
+
49
+ .grid-item {
50
+ align-items: center;
51
+ align-self: center;
52
+ justify-self: center;
53
+ }
53
54
  }
54
55
  </style>
@@ -88,7 +88,7 @@ const checkTime = (_time: number): void => {
88
88
  </div>
89
89
  </template>
90
90
 
91
- <style scoped>
91
+ <style scoped lang="postcss">
92
92
  .media-container {
93
93
  display: grid;
94
94
  grid-template-columns: var(--media-template-columns-default);
@@ -102,9 +102,9 @@ const checkTime = (_time: number): void => {
102
102
  display: grid;
103
103
  }
104
104
 
105
- @screen lg {
106
- img.normal {
107
- max-height: 65vh;
105
+ img.normal {
106
+ @screen lg {
107
+ max-height: 65vh; /* max height before distorting container */
108
108
  }
109
109
  }
110
110
 
@@ -125,12 +125,14 @@ const checkTime = (_time: number): void => {
125
125
  .media-container {
126
126
  grid-template-columns: var(--media-template-columns-large);
127
127
  }
128
+
128
129
  .expand-overlay {
129
130
  @apply p-2;
130
131
  display: block;
131
- }
132
- .expand-overlay:hover {
133
- opacity: 0.7;
132
+
133
+ &:hover {
134
+ opacity: 0.7;
135
+ }
134
136
  }
135
137
  }
136
138
  </style>
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
2
  import Pusher from "pusher-js";
3
3
  import Echo from "laravel-echo";
4
- import { toRefs, computed } from "vue";
4
+ import { computed, onMounted, ref, toRefs } from "vue";
5
5
  import type { Conference } from "../../../models/conference";
6
6
  import type { CeCreditPanelClassObj } from "../../../@types/components";
7
7
  import { useClassBinding } from "../../../composables/useClassBinding";
@@ -43,7 +43,7 @@ const timeRemainingClass = computed(() => {
43
43
 
44
44
  // methods
45
45
  const handleNotification = (_conference: Conference) => {
46
- clearInterval(countdownLoopId);
46
+ clearInterval(countdownLoopId.value);
47
47
  window.scrollTo({ top: 0, behavior: "smooth" });
48
48
  visible.value = true;
49
49
  displayFor.value = _conference.ce_credit_config?.display_for || 30;
@@ -125,13 +125,13 @@ onMounted(() => {
125
125
  classBinding(classObject, 'timeInSeconds', ''),
126
126
  timeRemainingClass,
127
127
  ]"
128
- >{{ displayFor }} seconds
128
+ >{{ displayFor }} seconds
129
129
  </span>
130
130
  </p>
131
131
  <p
132
132
  :class="classBinding(classObject, 'promptText', '')"
133
133
  v-text="promptText"
134
- ></p>
134
+ />
135
135
  <p :class="classBinding(classObject, 'buttonContainer', '')">
136
136
  <button
137
137
  :class="
@@ -139,11 +139,11 @@ onMounted(() => {
139
139
  "
140
140
  @click="acceptClick"
141
141
  v-text="buttonText"
142
- ></button>
142
+ />
143
143
  </p>
144
144
  </div>
145
145
  </div>
146
146
  </transition>
147
147
  </template>
148
148
 
149
- <style lang="scss" scoped></style>
149
+ <style lang="postcss" scoped></style>
@@ -57,6 +57,9 @@ const trackEmbedHtml = computed((): string | null => {
57
57
 
58
58
  // methods
59
59
 
60
+ // TODO - this is not used in this component.
61
+ // it looks like the same logic for displaying stream sponsors is already being handled in the ArchivePlayerAndContentContainer.
62
+ // confirm that that fulfills this logic's purpose, and remove this logic.
60
63
  const getFeaturedSponsors = (): void => {
61
64
  const featuredSponsorLevel = get(
62
65
  pagesConfigValue,
@@ -192,7 +195,7 @@ onMounted(() => {
192
195
  </div>
193
196
  </template>
194
197
 
195
- <style scoped>
198
+ <style scoped lang="postcss">
196
199
  .content {
197
200
  position: relative;
198
201
  }
@@ -205,8 +208,9 @@ onMounted(() => {
205
208
  z-index: 40;
206
209
  position: absolute;
207
210
  transition: 0.4s ease;
208
- }
209
- .content-expand-overlay:hover {
210
- opacity: 0.7;
211
+
212
+ &:hover {
213
+ opacity: 0.7;
214
+ }
211
215
  }
212
216
  </style>