@icvdeveloper/common-module 1.4.0 → 1.4.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.
Files changed (74) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/module.json +1 -1
  3. package/dist/runtime/components/affiliates/AffiliatePage.vue +2 -2
  4. package/dist/runtime/components/agenda/AgendaList.vue +2 -2
  5. package/dist/runtime/components/agenda/AgendaTabbed.vue +1 -2
  6. package/dist/runtime/components/agenda/components/AgendaListAccordion.vue +1 -1
  7. package/dist/runtime/components/agenda/components/Calendar.vue +2 -2
  8. package/dist/runtime/components/agenda/components/InfoLink.vue +1 -1
  9. package/dist/runtime/components/agenda/components/PlayIcon.vue +2 -2
  10. package/dist/runtime/components/agenda/components/PresentationLink.vue +1 -1
  11. package/dist/runtime/components/agenda/components/Sponsor.vue +2 -2
  12. package/dist/runtime/components/auth/LoginFullWidth.vue +1 -1
  13. package/dist/runtime/components/auth/Ucc.vue +2 -2
  14. package/dist/runtime/components/core/Accordion.vue +1 -1
  15. package/dist/runtime/components/core/AttendeeList.vue +2 -2
  16. package/dist/runtime/components/core/CountdownTimer.vue +1 -1
  17. package/dist/runtime/components/core/Modal.vue +1 -1
  18. package/dist/runtime/components/core/SvgIcon.vue +1 -2
  19. package/dist/runtime/components/events/EventHeader.vue +1 -1
  20. package/dist/runtime/components/events/ListEvents.vue +3 -2
  21. package/dist/runtime/components/forms/AlertBox.vue +1 -1
  22. package/dist/runtime/components/forms/SupportForm.vue +1 -0
  23. package/dist/runtime/components/forms/SwitchInput.vue +1 -1
  24. package/dist/runtime/components/forms/TextInput.vue +1 -1
  25. package/dist/runtime/components/media/ArchivePlayerAndContentContainer.vue +2 -2
  26. package/dist/runtime/components/media/ArchiveVideoPlayer.vue +2 -2
  27. package/dist/runtime/components/media/PlayerAndContentContainer.vue +2 -2
  28. package/dist/runtime/components/media/WebcastVideoPlayer.vue +2 -2
  29. package/dist/runtime/components/media/components/AgendaPanel.vue +2 -2
  30. package/dist/runtime/components/media/components/ArchiveMediaContainer.vue +2 -2
  31. package/dist/runtime/components/media/components/CeCreditNotification.vue +2 -2
  32. package/dist/runtime/components/media/components/ContentArea.vue +2 -2
  33. package/dist/runtime/components/media/components/ContentTabs.vue +2 -2
  34. package/dist/runtime/components/media/components/DocumentsPanel.vue +2 -2
  35. package/dist/runtime/components/media/components/MediaContainer.vue +2 -2
  36. package/dist/runtime/components/media/components/OverviewPanel.vue +2 -2
  37. package/dist/runtime/components/media/components/SponsorsPanel.vue +2 -2
  38. package/dist/runtime/components/presenters/PresenterListing.vue +2 -2
  39. package/dist/runtime/components/presenters/PresenterModal.vue +2 -2
  40. package/dist/runtime/components/profile/Profile.vue +1 -1
  41. package/dist/runtime/components/profile/components/Sidebar.vue +1 -1
  42. package/dist/runtime/components/profile/components/SidebarNavItem.vue +1 -1
  43. package/dist/runtime/components/profile/tabs/Favorites.vue +1 -1
  44. package/dist/runtime/components/profile/tabs/GeneralInformation.vue +1 -1
  45. package/dist/runtime/components/profile/tabs/ProfileImage.vue +1 -1
  46. package/dist/runtime/components/support/FAQAccordion.vue +18 -12
  47. package/dist/runtime/composables/useAgenda.d.ts +1 -1
  48. package/dist/runtime/composables/useApi.mjs +1 -1
  49. package/dist/runtime/composables/useConferenceHelpers.d.ts +1 -1
  50. package/dist/runtime/composables/useEvents.d.ts +1 -1
  51. package/dist/runtime/composables/useLogin.d.ts +1 -1
  52. package/dist/runtime/composables/usePresentation.d.ts +1 -1
  53. package/dist/runtime/composables/usePresentation.mjs +1 -3
  54. package/dist/runtime/composables/usePresenter.d.ts +1 -1
  55. package/dist/runtime/composables/usePresenters.d.ts +1 -1
  56. package/dist/runtime/composables/useStream.d.ts +1 -1
  57. package/dist/runtime/models/attendeeList.d.ts +1 -1
  58. package/dist/runtime/models/conference.d.ts +3 -3
  59. package/dist/runtime/models/conversation.d.ts +1 -1
  60. package/dist/runtime/models/user.d.ts +2 -2
  61. package/dist/runtime/store/affiliates.d.ts +1 -1
  62. package/dist/runtime/store/attendeeList.d.ts +2 -2
  63. package/dist/runtime/store/auth.d.ts +1 -1
  64. package/dist/runtime/store/conferences.d.ts +1 -1
  65. package/dist/runtime/store/conversations.d.ts +2 -2
  66. package/dist/runtime/store/groups.d.ts +1 -1
  67. package/dist/runtime/store/navigationConfig.d.ts +1 -1
  68. package/dist/runtime/store/portal.d.ts +1 -1
  69. package/dist/runtime/store/presentations.d.ts +1 -1
  70. package/dist/runtime/store/templateConfigs.d.ts +2 -2
  71. package/dist/runtime/store/user.d.ts +1 -1
  72. package/package.json +1 -1
  73. package/dist/runtime/components/media/components/ContentAccordion.vue +0 -65
  74. package/dist/runtime/components/media/components/ContentAccordion.vue.d.ts +0 -27
package/CHANGELOG.md CHANGED
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ## 1.4.1 - 2023-12-12
11
+
10
12
  ## 1.4.0 - 2023-12-11
11
13
 
12
14
  ## 1.3.0 - 2023-12-05
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "v3plus-common-module",
3
3
  "configKey": "v3plusCommonModule",
4
- "version": "1.4.0"
4
+ "version": "1.4.1"
5
5
  }
@@ -2,8 +2,8 @@
2
2
  import { toRefs } from "vue";
3
3
  import { get } from "lodash-es";
4
4
  import { useApi } from "../../composables/useApi";
5
- import { Affiliate } from "../../models/conference";
6
- import { affiliatePageClassObj } from "../../@types/components";
5
+ import type { Affiliate } from "../../models/conference";
6
+ import type { affiliatePageClassObj } from "../../@types/components";
7
7
  import { useClassBinding } from "../../composables/useClassBinding";
8
8
 
9
9
 
@@ -7,8 +7,8 @@ import { usePresentation } from "../../composables/usePresentation";
7
7
  import { usePresenters } from "../../composables/usePresenters";
8
8
  import { usePresenter } from "../../composables/usePresenter";
9
9
  import { useClassBinding } from "../../composables/useClassBinding";
10
- import { Presenter } from "../../models/conference";
11
- import {
10
+ import type { Presenter } from "../../models/conference";
11
+ import type {
12
12
  AgendaListClassObj,
13
13
  AgendaListCompObj,
14
14
  AgendaListAccordionClassObj,
@@ -1,10 +1,9 @@
1
1
  <script lang="ts" setup>
2
2
  import { toRefs, computed } from "vue";
3
- import { storeToRefs } from "pinia";
4
3
  import { get } from "lodash-es";
5
4
  import { DateTime } from "luxon";
6
5
  import { useAgenda } from "../../composables/useAgenda";
7
- import { Conference, Sponsor as SponsorType } from "../../models/conference";
6
+ import type { Conference, Sponsor as SponsorType } from "../../models/conference";
8
7
  import { usePresentation } from "../../composables/usePresentation";
9
8
  import { usePresenters } from "../../composables/usePresenters";
10
9
  import CommonAccordion from "../layouts/Accordion.vue";
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
2
  import { ref, toRefs } from "vue";
3
3
  import { useClassBinding } from "../../../composables/useClassBinding";
4
- import { AgendaListAccordionClassObj } from "../../../@types/components";
4
+ import type { AgendaListAccordionClassObj } from "../../../@types/components";
5
5
 
6
6
  type Props = {
7
7
  itemId?: number;
@@ -4,8 +4,8 @@ import { storeToRefs } from "pinia";
4
4
  import { useTemplateConfigsStore } from "../../../store";
5
5
  import { usePresentation } from "../../../composables/usePresentation";
6
6
  import "add-to-calendar-button";
7
- import { Conference } from "../../../models/conference";
8
- import { Presentation } from "../../../models/conference";
7
+ import type { Conference } from "../../../models/conference";
8
+ import type { Presentation } from "../../../models/conference";
9
9
  type Props = {
10
10
  conference: Conference;
11
11
  presentation: Presentation;
@@ -1,6 +1,6 @@
1
1
  <script lang="ts" setup>
2
2
  import { ref, toRefs, computed } from "vue";
3
- import { Presentation } from "../../../models/conference";
3
+ import type { Presentation } from "../../../models/conference";
4
4
 
5
5
  type Props = {
6
6
  linkText: string;
@@ -1,8 +1,8 @@
1
1
  <script lang="ts" setup>
2
2
  import { toRefs } from "vue";
3
3
  import { usePresentation } from "../../../composables/usePresentation";
4
- import { Conference, Presentation } from "../../../models/conference";
5
- import { Icons } from "../../../models/icons";
4
+ import type { Conference, Presentation } from "../../../models/conference";
5
+ import type { Icons } from "../../../models/icons";
6
6
 
7
7
  type Props = {
8
8
  icon?: keyof Icons;
@@ -3,7 +3,7 @@ import { toRefs, computed } from "vue";
3
3
  import { useAgenda } from "../../../composables/useAgenda";
4
4
  import { useConferenceHelpers } from "../../../composables/useConferenceHelpers";
5
5
  import { usePresentation } from "../../../composables/usePresentation";
6
- import {
6
+ import type {
7
7
  Conference,
8
8
  Presentation,
9
9
  Track,
@@ -1,8 +1,8 @@
1
1
  <script lang="ts" setup>
2
2
  import { find } from "lodash-es";
3
3
  import { ref, toRefs } from "vue";
4
- import { Sponsor as SponsorModel } from "../../../models/conference";
5
- import { sponsorClassObj } from "../../../@types/components";
4
+ import type { Sponsor as SponsorModel } from "../../../models/conference";
5
+ import type { sponsorClassObj } from "../../../@types/components";
6
6
  import { useClassBinding } from "../../../composables/useClassBinding";
7
7
 
8
8
  type Props = {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
2
  import { toRefs } from "vue";
3
3
  import { storeToRefs } from "pinia";
4
- import { Conference } from "../../models/conference";
4
+ import type { Conference } from "../../models/conference";
5
5
  import { useLogin } from "../../composables/useLogin";
6
6
  import { useTemplateConfigsStore } from "../../store";
7
7
 
@@ -1,9 +1,9 @@
1
1
  <script lang="ts" setup>
2
2
  import { toRefs, computed, onMounted } from "vue";
3
3
  import { useUcc } from "../../composables/useUcc";
4
- import { Conference } from "../../models/conference";
4
+ import type { Conference } from "../../models/conference";
5
5
  import { useConferencesStore } from "../../store/conferences";
6
- import { uccClassObj } from "../../@types/components";
6
+ import type { uccClassObj } from "../../@types/components";
7
7
  import { useClassBinding } from "../../composables/useClassBinding";
8
8
 
9
9
  const { loadUccScript, loginV3 } = useUcc();
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
2
  import { ref, toRefs } from "vue";
3
3
  import { useClassBinding } from "../../composables/useClassBinding";
4
- import {
4
+ import type {
5
5
  accordionClassObj,
6
6
  accordionCompObj,
7
7
  svgIconClassObj,
@@ -3,14 +3,14 @@ import { ref, onBeforeUnmount } from "vue";
3
3
  import { storeToRefs } from "pinia";
4
4
  import { debounce } from "lodash-es";
5
5
  import { VueEternalLoading, LoadAction } from "@ts-pro/vue-eternal-loading";
6
- import { User } from "../../models/user";
6
+ import type { User } from "../../models/user";
7
7
  import { PAGE_LENGTH } from "../../models/pagination";
8
8
  import { useAttendeeListStore } from "../../store/attendeeList";
9
9
  import { useConversationStore } from "../../store/conversations";
10
10
  import { useUserStore } from "../../store/user";
11
11
  import { usePusher } from "../../composables/usePusher";
12
12
  import { useClassBinding } from "../../composables/useClassBinding";
13
- import {
13
+ import type {
14
14
  AttendeeListClassObj,
15
15
  AttendeeListCompObj,
16
16
  } from "../../@types/components";
@@ -3,7 +3,7 @@ import { ref, toRefs, computed, onMounted, onUnmounted } from "vue";
3
3
  import { storeToRefs } from "pinia";
4
4
  import { DateTime } from "luxon";
5
5
  import { useTemplateConfigsStore } from "../../store";
6
- import { countdownTimerClassObj } from "../../@types/components";
6
+ import type { countdownTimerClassObj } from "../../@types/components";
7
7
  import { useClassBinding } from "../../composables/useClassBinding";
8
8
 
9
9
  interface Props {
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import { ref, toRefs, computed } from "vue";
3
3
  import { useClassBinding } from "../../composables/useClassBinding";
4
- import {
4
+ import type {
5
5
  modalClassObj,
6
6
  modalCompObj,
7
7
  svgIconClassObj,
@@ -1,7 +1,6 @@
1
1
  <script lang="ts" setup>
2
- import { find, get } from "lodash-es";
3
2
  import { toRefs, computed, defineAsyncComponent } from "vue";
4
- import { Icon, Icons } from "../../models/icons";
3
+ import type { Icons } from "../../models/icons";
5
4
  import { svgIconClassObj } from "../../@types/components";
6
5
  import { useClassBinding } from "../../composables/useClassBinding";
7
6
 
@@ -1,6 +1,6 @@
1
1
  <script lang="ts" setup>
2
2
  import { toRefs, computed } from "vue";
3
- import { Conference } from "../../models/conference";
3
+ import type { Conference } from "../../models/conference";
4
4
  import { useTemplateConfigsStore } from "../../store/templateConfigs";
5
5
  import { useConferencesStore } from "../../store/conferences";
6
6
  import { useConferenceHelpers } from "../../composables/useConferenceHelpers";
@@ -8,9 +8,10 @@ import { useConferenceHelpers } from "../../composables/useConferenceHelpers";
8
8
  import { useEvents } from "../../composables/useEvents";
9
9
  import { useClassBinding } from "../../composables/useClassBinding";
10
10
  import CommonSponsor from "../agenda/components/Sponsor.vue";
11
- import { Conference, ConferenceState } from "../../models/conference";
11
+ import type { Conference } from "../../models/conference";
12
+ import { ConferenceState } from "../../models/conference";
12
13
  import { Position } from "../../enums/general";
13
- import {
14
+ import type {
14
15
  listEventsClassObj,
15
16
  listEventsCompObj,
16
17
  countdownTimerClassObj,
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
2
  import { toRefs } from "vue";
3
3
  import { useClassBinding } from "../../composables/useClassBinding";
4
- import { AlertBoxClassObj } from "../../@types/components";
4
+ import type { AlertBoxClassObj } from "../../@types/components";
5
5
 
6
6
  type Props = {
7
7
  errors: Array<any>;
@@ -1,4 +1,5 @@
1
1
  <script lang="ts" setup>
2
+ import { ref } from "vue";
2
3
  import { get } from "lodash-es";
3
4
 
4
5
  const form = ref({
@@ -1,6 +1,6 @@
1
1
  <script lang="ts" setup>
2
2
  import { ref } from "vue";
3
- import { SwitchInputClassObj } from "../../@types/components";
3
+ import type { SwitchInputClassObj } from "../../@types/components";
4
4
  import { useClassBinding } from "../../composables/useClassBinding";
5
5
 
6
6
  interface Props {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts" setup>
2
2
  import { useClassBinding } from "../../composables/useClassBinding";
3
- import { TextInputClassObj } from "../../@types/components";
3
+ import type { TextInputClassObj } from "../../@types/components";
4
4
 
5
5
  type Props = {
6
6
  modelValue: string;
@@ -3,10 +3,10 @@ import { ref, toRefs } from "vue";
3
3
  import { storeToRefs } from "pinia";
4
4
  import { useEvents } from "../../composables/useEvents";
5
5
  import { useClassBinding } from "../../composables/useClassBinding";
6
- import { Conference, Presentation } from "../../models/conference";
6
+ import type { Conference, Presentation } from "../../models/conference";
7
7
  import { SelectedContent } from "../../enums/general";
8
8
  import { usePresentationsStore } from "../../store/presentations";
9
- import {
9
+ import type {
10
10
  PlayerAndContentClassObj,
11
11
  PlayerAndContentCompObj,
12
12
  ContentTabsClassObj,
@@ -2,8 +2,8 @@
2
2
  import { toRefs, computed, watch, onMounted, nextTick } from "vue";
3
3
  import { onBeforeRouteLeave } from "vue-router";
4
4
  import { get } from "lodash-es";
5
- import { Presentation, PlayerObj } from "../../models/conference";
6
- import { WebcastPlayerClassObj } from "../../@types/components";
5
+ import type { Presentation, PlayerObj } from "../../models/conference";
6
+ import type { WebcastPlayerClassObj } from "../../@types/components";
7
7
  import { useClassBinding } from "../../composables/useClassBinding";
8
8
 
9
9
  type Props = {
@@ -4,11 +4,11 @@ import { storeToRefs } from "pinia";
4
4
  import { useRoute } from "vue-router";
5
5
  import { useEvents } from "../../composables/useEvents";
6
6
  import { useClassBinding } from "../../composables/useClassBinding";
7
- import { Conference, Presentation } from "../../models/conference";
7
+ import type { Conference, Presentation } from "../../models/conference";
8
8
  import { SelectedContent } from "../../enums/general";
9
9
  import { usePresentationsStore } from "../../store/presentations";
10
10
  import { useAuthStore } from "../../store/auth";
11
- import {
11
+ import type {
12
12
  PlayerAndContentClassObj,
13
13
  PlayerAndContentCompObj,
14
14
  ContentTabsClassObj,
@@ -1,8 +1,8 @@
1
1
  <script lang="ts" setup>
2
2
  import { ref, toRefs, computed, watch, onMounted, nextTick } from "vue";
3
3
  import { get } from "lodash-es";
4
- import { Presentation, Stream, PlayerObj } from "../../models/conference";
5
- import { WebcastPlayerClassObj } from "../../@types/components";
4
+ import type { Presentation, Stream, PlayerObj } from "../../models/conference";
5
+ import type { WebcastPlayerClassObj } from "../../@types/components";
6
6
  import { useScripts } from "../../composables/useScripts";
7
7
  import { useClassBinding } from "../../composables/useClassBinding";
8
8
 
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
2
  import { ref, toRefs } from "vue";
3
- import { Conference } from "../../../models/conference";
4
- import {
3
+ import type { Conference } from "../../../models/conference";
4
+ import type {
5
5
  AgendaPanelClassObj,
6
6
  AgendaPanelCompObj,
7
7
  AgendaListClassObj,
@@ -2,8 +2,8 @@
2
2
  import { ref, toRefs, computed } from "vue";
3
3
  import { storeToRefs } from "pinia";
4
4
  import { useTemplateConfigsStore, useAuthStore } from "../../../store";
5
- import { Presentation } from "../../../models/conference";
6
- import {
5
+ import type { Presentation } from "../../../models/conference";
6
+ import type {
7
7
  MediaContainerClassObj,
8
8
  MediaContainerCompObj,
9
9
  WebcastPlayerClassObj,
@@ -2,8 +2,8 @@
2
2
  import Pusher from "pusher-js";
3
3
  import Echo from "laravel-echo";
4
4
  import { toRefs, computed } from "vue";
5
- import { Conference } from "../../../models/conference";
6
- import { CeCreditPanelClassObj } from "../../../@types/components";
5
+ import type { Conference } from "../../../models/conference";
6
+ import type { CeCreditPanelClassObj } from "../../../@types/components";
7
7
  import { useClassBinding } from "../../../composables/useClassBinding";
8
8
 
9
9
  type Props = {
@@ -3,13 +3,13 @@ import { toRefs, onMounted, computed, ref } from "vue";
3
3
  import { storeToRefs } from "pinia";
4
4
  import { get, filter } from "lodash-es";
5
5
  import { SelectedContent } from "../../../enums/general";
6
- import {
6
+ import type {
7
7
  ContentAreaClassObj,
8
8
  ContentAreaCompObj,
9
9
  OverviewPanelClassObj,
10
10
  AgendaPanelClassObj,
11
11
  } from "../../../@types/components";
12
- import { Conference, Presentation, Sponsor } from "../../../models/conference";
12
+ import type { Conference, Presentation, Sponsor } from "../../../models/conference";
13
13
  import { useClassBinding } from "../../../composables/useClassBinding";
14
14
  import { useTemplateConfigsStore } from "../../../store";
15
15
 
@@ -2,8 +2,8 @@
2
2
  import { ref, toRefs, computed, onMounted } from "vue";
3
3
  import { storeToRefs } from "pinia";
4
4
  import { find } from "lodash-es";
5
- import { Conference } from "../../../models/conference";
6
- import { ContentTabsClassObj } from "../../../@types/components";
5
+ import type { Conference } from "../../../models/conference";
6
+ import type { ContentTabsClassObj } from "../../../@types/components";
7
7
  import { SelectedContent } from "../../../enums/general";
8
8
  import { useClassBinding } from "../../../composables/useClassBinding";
9
9
  import { usePresentationsStore } from "../../../store/presentations";
@@ -1,8 +1,8 @@
1
1
  <script lang="ts" setup>
2
2
  import { toRefs, computed } from "vue";
3
3
  import { Presentation } from "../../../models/conference";
4
- import { Document } from "../../../models/document";
5
- import { DocumentsPanelClassObj } from "../../../@types/components";
4
+ import type { Document } from "../../../models/document";
5
+ import type { DocumentsPanelClassObj } from "../../../@types/components";
6
6
  import { useClassBinding } from "../../../composables/useClassBinding";
7
7
 
8
8
  type Props = {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
2
  import { ref, toRefs } from "vue";
3
- import { Conference, Presentation } from "../../../models/conference";
4
- import {
3
+ import type { Conference, Presentation } from "../../../models/conference";
4
+ import type {
5
5
  MediaContainerClassObj,
6
6
  MediaContainerCompObj,
7
7
  WebcastPlayerClassObj,
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
2
  import { toRefs, computed } from "vue";
3
- import { Presentation } from "../../../models/conference";
4
- import { OverviewPanelClassObj } from "../../../@types/components";
3
+ import type { Presentation } from "../../../models/conference";
4
+ import type { OverviewPanelClassObj } from "../../../@types/components";
5
5
  import { useClassBinding } from "../../../composables/useClassBinding";
6
6
  type Props = {
7
7
  presentation: Presentation;
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
2
  import { toRefs } from "vue";
3
- import { Presentation, Sponsor } from "../../../models/conference";
4
- import { SponsorsPanelClassObj } from "../../../@types/components";
3
+ import type { Presentation, Sponsor } from "../../../models/conference";
4
+ import type { SponsorsPanelClassObj } from "../../../@types/components";
5
5
  import { useClassBinding } from "../../../composables/useClassBinding";
6
6
 
7
7
  type Props = {
@@ -1,9 +1,9 @@
1
1
  <script lang="ts" setup>
2
2
  import { toRefs } from "vue";
3
- import { Presenter } from "../../models/conference";
3
+ import type { Presenter } from "../../models/conference";
4
4
  import { usePresenter } from "../../composables/usePresenter";
5
5
  import { useClassBinding } from "../../composables/useClassBinding";
6
- import { presenterListingClassObj } from "../../@types/components";
6
+ import type { presenterListingClassObj } from "../../@types/components";
7
7
  import { Position } from "../../enums/general";
8
8
 
9
9
  type Props = {
@@ -1,9 +1,9 @@
1
1
  <script lang="ts" setup>
2
2
  import { ref, toRefs } from "vue";
3
- import { Presenter } from "../../models/conference";
3
+ import type { Presenter } from "../../models/conference";
4
4
  import { usePresenter } from "../../composables/usePresenter";
5
5
  import { useClassBinding } from "../../composables/useClassBinding";
6
- import {
6
+ import type {
7
7
  presenterModalClassObj,
8
8
  presenterListingClassObj,
9
9
  presenterModalCompObj,
@@ -4,7 +4,7 @@ import { find } from "lodash-es";
4
4
  import { storeToRefs } from "pinia";
5
5
  import { useAuthStore } from "../../store/auth";
6
6
  import { useClassBinding } from "../../composables/useClassBinding";
7
- import {
7
+ import type {
8
8
  ProfileClassObj,
9
9
  ProfileCompObj,
10
10
  modalClassObj,
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
2
  import { toRefs } from "vue";
3
3
  import { useClassBinding } from "../../../composables/useClassBinding";
4
- import { SidebarClassObj } from "../../../@types/components";
4
+ import type { SidebarClassObj } from "../../../@types/components";
5
5
 
6
6
  type Props = {
7
7
  name: string;
@@ -1,6 +1,6 @@
1
1
  <script lang="ts" setup>
2
2
  import { toRefs } from "vue";
3
- import { SidebarNavItemClassObj } from "../../../@types/components";
3
+ import type { SidebarNavItemClassObj } from "../../../@types/components";
4
4
  import { useClassBinding } from "../../../composables/useClassBinding";
5
5
 
6
6
  type Props = {
@@ -2,7 +2,7 @@
2
2
  import { storeToRefs } from "pinia";
3
3
  import { useAuthStore } from "../../../store/auth";
4
4
  import { useClassBinding } from "../../../composables/useClassBinding";
5
- import { FavoritesClassObj } from "../../../@types/components";
5
+ import type { FavoritesClassObj } from "../../../@types/components";
6
6
 
7
7
  type Props = {
8
8
  classObject?: FavoritesClassObj;
@@ -2,7 +2,7 @@
2
2
  import { storeToRefs } from "pinia";
3
3
  import { ref, reactive } from "vue";
4
4
  import { useAuthStore } from "../../../store/auth";
5
- import {
5
+ import type {
6
6
  GenInfoClassObj,
7
7
  GenInfoCompObj,
8
8
  AlertBoxClassObj,
@@ -3,7 +3,7 @@ import { ref, reactive } from "vue";
3
3
  import { storeToRefs } from "pinia";
4
4
  import { useAuthStore } from "../../../store/auth";
5
5
  import { useClassBinding } from "../../../composables/useClassBinding";
6
- import {
6
+ import type {
7
7
  ProfileImageClassObj,
8
8
  ProfileCompObj,
9
9
  AlertBoxClassObj,
@@ -1,9 +1,10 @@
1
1
  <script lang="ts" setup>
2
- import { ref, toRefs, unref } from "vue";
3
- import {
2
+ import { ref, toRefs } from "vue";
3
+ import type {
4
4
  faqAccordionClassObj,
5
5
  faqAccordionCompObj,
6
6
  accordionClassObj,
7
+ svgIconClassObj
7
8
  } from "../../@types/components";
8
9
  import { useClassBinding } from "../../composables/useClassBinding";
9
10
 
@@ -60,6 +61,8 @@ const props = withDefaults(defineProps<Props>(), {
60
61
  },
61
62
  });
62
63
 
64
+ const { streamTestEnabled, showSupport, showForm, liveSupportUrl, questionArray, classObject } = toRefs(props);
65
+
63
66
  const { classBinding } = useClassBinding();
64
67
  </script>
65
68
 
@@ -68,7 +71,7 @@ const { classBinding } = useClassBinding();
68
71
  <CommonAccordion
69
72
  v-if="streamTestEnabled"
70
73
  :class="classBinding(classObject, 'container', '')"
71
- :class-object="classObject.components.accordion"
74
+ :class-object="classObject.components?.accordion"
72
75
  >
73
76
  <template #question>
74
77
  <span class="font-bold"
@@ -94,20 +97,20 @@ const { classBinding } = useClassBinding();
94
97
  :class="
95
98
  classBinding(classObject.components?.accordion, 'container', '')
96
99
  "
97
- :class-object="classObject.components.accordion"
100
+ :class-object="classObject.components?.accordion"
98
101
  >
99
102
  <template #question>
100
- <span v-html="question.q"></span>
103
+ <span v-html="question.q" />
101
104
  </template>
102
105
  <template #answer>
103
- <span v-html="question.a"></span>
106
+ <span v-html="question.a" />
104
107
  </template>
105
108
  </CommonAccordion>
106
109
  </template>
107
110
  <CommonAccordion
108
111
  v-if="showSupport"
109
112
  :class="classBinding(classObject.components?.accordion, 'container', '')"
110
- :class-object="classObject.components.accordion"
113
+ :class-object="classObject.components?.accordion"
111
114
  >
112
115
  <template #question>
113
116
  <span class="font-bold">
@@ -123,15 +126,18 @@ const { classBinding } = useClassBinding();
123
126
  <div v-else>
124
127
  <span class="font-bold">Support Email</span><br />You can email
125
128
  support at
126
- <a href="mailto:support@rubiconportals.com"
127
- >support@rubiconportals.com</a
128
- >.
129
+ <a href="mailto:support@rubiconportals.com">support@rubiconportals.com</a>.
129
130
  </div>
130
131
  <div v-if="liveSupportUrl">
131
- <div class="mt-4 font-bold">Live Support Chat</div>
132
+ <div class="mt-4 font-bold">
133
+ Live Support Chat
134
+ </div>
132
135
  During the webcast, live support will also be available to
133
136
  assist.You may request live support by
134
- <a :href="liveSupportUrl" target="_blank">clicking here</a>.
137
+ <a
138
+ :href="liveSupportUrl"
139
+ target="_blank"
140
+ >clicking here</a>.
135
141
  </div>
136
142
  </div>
137
143
  </template>
@@ -1,5 +1,5 @@
1
1
  import { Ref, ComputedRef } from "nuxt/dist/app/compat/capi";
2
- import { Conference, Day, Presentation, Presenter, Sponsor, Track, TrackGroup } from "../models/conference";
2
+ import type { Conference, Day, Presentation, Presenter, Sponsor, Track, TrackGroup } from "../models/conference";
3
3
  export type UseAgendaMethods = {
4
4
  /**
5
5
  * conference days.
@@ -8,7 +8,7 @@ export const useApi = (withoutAuth = false) => {
8
8
  Accept: "application/json"
9
9
  };
10
10
  if (useAuthStore().isLoggedIn && !withoutAuth) {
11
- headers.Authorization = `Bearer ${authStore.user.token}`;
11
+ headers.Authorization = `Bearer ${authStore.user?.token}`;
12
12
  }
13
13
  return $fetch.create({
14
14
  baseURL: commonModule.options.apiUrl,
@@ -1,5 +1,5 @@
1
1
  import { Ref } from "vue";
2
- import { Conference } from "../models/conference";
2
+ import type { Conference } from "../models/conference";
3
3
  export type UseConferenceHelpersMethods = {
4
4
  /**
5
5
  * Determine if conference is a single day event
@@ -1,5 +1,5 @@
1
1
  import type { Ref, ComputedRef } from "vue";
2
- import { Conference, Sponsor } from "../models/conference";
2
+ import type { Conference, Sponsor } from "../models/conference";
3
3
  export type UseEventsMethods = {
4
4
  /**
5
5
  * determine if logged in
@@ -1,5 +1,5 @@
1
1
  import type { Ref } from "vue";
2
- import { Conference } from "../models/conference";
2
+ import type { Conference } from "../models/conference";
3
3
  type UserLogin = {
4
4
  /**
5
5
  * Email input
@@ -1,5 +1,5 @@
1
1
  import { Ref } from "nuxt/dist/app/compat/capi";
2
- import { Conference, Presentation, Track } from "../models/conference";
2
+ import type { Conference, Presentation, Track } from "../models/conference";
3
3
  export type UsePresentationMethods = {
4
4
  /**
5
5
  * show session time
@@ -1,9 +1,7 @@
1
1
  import { get } from "lodash-es";
2
2
  import { DateTime } from "luxon";
3
3
  import { useTemplateConfigsStore } from "../store/index.mjs";
4
- import {
5
- ConferenceState
6
- } from "../models/conference.mjs";
4
+ import { ConferenceState } from "../models/conference.mjs";
7
5
  import { useConferenceHelpers } from "./useConferenceHelpers.mjs";
8
6
  export const usePresentation = (conference) => {
9
7
  const { pagesConfigValue } = useTemplateConfigsStore();
@@ -1,5 +1,5 @@
1
1
  import { ComputedRef, Ref } from "nuxt/dist/app/compat/capi";
2
- import { Presenter } from "../models/conference";
2
+ import type { Presenter } from "../models/conference";
3
3
  export type UsePresenterMethods = {
4
4
  fullName: ComputedRef<string>;
5
5
  role: string;
@@ -1,5 +1,5 @@
1
1
  import { Ref } from "nuxt/dist/app/compat/capi";
2
- import { Conference, Presenter } from "../models/conference";
2
+ import type { Conference, Presenter } from "../models/conference";
3
3
  export type UsePresentersMethods = {
4
4
  /**
5
5
  * get presenters label
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  import { Ref, ComputedRef } from "vue";
3
- import { Presentation, Stream } from "../models/conference";
3
+ import type { Presentation, Stream } from "../models/conference";
4
4
  export type UseStreamMethods = {
5
5
  currentStreamData: Ref<Stream>;
6
6
  currentPresentation: Ref<Presentation>;
@@ -1,4 +1,4 @@
1
- import { User } from "./user";
1
+ import type { User } from "./user";
2
2
  import { Pagination } from "./pagination";
3
3
  export type AttendeeList = {
4
4
  page?: number | null;
@@ -1,6 +1,6 @@
1
- import { Document } from "./document";
2
- import { Link } from "./link";
3
- import { Video } from "./video";
1
+ import type { Document } from "./document";
2
+ import type { Link } from "./link";
3
+ import type { Video } from "./video";
4
4
  export declare enum ConferenceState {
5
5
  LIVE = "live",
6
6
  MIXED = "mixed",
@@ -1,4 +1,4 @@
1
- import { User } from "./user";
1
+ import type { User } from "./user";
2
2
  export type MessagesRead = {
3
3
  user?: User | null;
4
4
  };
@@ -1,5 +1,5 @@
1
- import { Group } from "./group";
2
- import { Conference } from "./conference";
1
+ import type { Group } from "./group";
2
+ import type { Conference } from "./conference";
3
3
  export type User = {
4
4
  id?: number;
5
5
  name?: string;
@@ -1,4 +1,4 @@
1
- import { Sponsor } from "../models/conference";
1
+ import type { Sponsor } from "../models/conference";
2
2
  export type AffiliatesState = {
3
3
  affiliates: {
4
4
  [conferenceId: number]: Sponsor[];
@@ -1,5 +1,5 @@
1
- import { User } from "../models/user";
2
- import { AttendeeList } from "../models/attendeeList";
1
+ import type { User } from "../models/user";
2
+ import type { AttendeeList } from "../models/attendeeList";
3
3
  export interface AttendeeListState {
4
4
  attendeeList: {
5
5
  page?: number | null;
@@ -1,4 +1,4 @@
1
- import { AuthUser } from "../models/authUser";
1
+ import type { AuthUser } from "../models/authUser";
2
2
  export type AuthStoreState = {
3
3
  user: null | AuthUser;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { Conference } from "../models/conference";
1
+ import type { Conference } from "../models/conference";
2
2
  export interface ConferencesState {
3
3
  conferenceList: Conference[];
4
4
  currentConference: null | Conference;
@@ -1,5 +1,5 @@
1
- import { User } from "../models/user";
2
- import { Conversation } from "../models/conversation";
1
+ import type { User } from "../models/user";
2
+ import type { Conversation } from "../models/conversation";
3
3
  export interface ConversationState {
4
4
  chatOpen: boolean;
5
5
  selectedConversation: Conversation;
@@ -1,4 +1,4 @@
1
- import { Group } from "../models/group";
1
+ import type { Group } from "../models/group";
2
2
  export interface GroupsState {
3
3
  groups: {
4
4
  [conferenceId: number]: Group[];
@@ -1,4 +1,4 @@
1
- import { NavigationConfig } from "../models/navigationConfig";
1
+ import type { NavigationConfig } from "../models/navigationConfig";
2
2
  export interface NavigationConfigState {
3
3
  data: NavigationConfig[];
4
4
  }
@@ -1,4 +1,4 @@
1
- import { Portal } from "../models/portal";
1
+ import type { Portal } from "../models/portal";
2
2
  export interface PortalStoreState {
3
3
  data: null | Portal;
4
4
  loading: boolean;
@@ -1,4 +1,4 @@
1
- import { Presentation } from "../models/conference";
1
+ import type { Presentation } from "../models/conference";
2
2
  import { SelectedContent } from "../enums/general";
3
3
  export interface PresentationsState {
4
4
  currentPresentation: null | Presentation;
@@ -1,7 +1,7 @@
1
- import { TemplateConfig } from "../models/templateConfig";
1
+ import type { TemplateConfig } from "../models/templateConfig";
2
2
  import { NestedKeyOf, Pages } from "../models/pagesConfig";
3
3
  import { GlobalConfigKey, GlobalConfigKeyType } from "../models/globalConfig";
4
- import { Conference } from "../models/conference";
4
+ import type { Conference } from "../models/conference";
5
5
  export interface TemplateConfigState {
6
6
  portalConfig: null | TemplateConfig;
7
7
  currentConferenceConfig: null | TemplateConfig;
@@ -1,4 +1,4 @@
1
- import { User } from "../models/user";
1
+ import type { User } from "../models/user";
2
2
  export interface UserState {
3
3
  currentUser: User;
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icvdeveloper/common-module",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,65 +0,0 @@
1
- <template>
2
- <div>
3
- <accordion :content-object="currentPresentation" v-for="item in tabArray" :tab-content="item">
4
- <div class="content flex flex-1 accordion-slot overflow-x-hidden">
5
- <overview-panel v-if="item.type == 'overview'"></overview-panel>
6
- <presenters-panel v-if="item.type == 'presenters'" layout-format="PresenterItemCard" item-width="90"></presenters-panel>
7
- <documents-panel v-if="item.type == 'documents'"></documents-panel>
8
- <sponsors-panel v-if="item.type == 'sponsors'"></sponsors-panel>
9
- <chat v-if="item.type == 'chatroom'"></chat>
10
- <dynamic-html v-if="item.type == 'html'" :template="item.content"></dynamic-html>
11
- </div>
12
- </accordion>
13
- </div>
14
- </template>
15
-
16
- <script>
17
- import { mapState } from "vuex";
18
-
19
- import Accordion from '@/components/common/Accordion';
20
- import OverviewPanel from "./OverviewPanel";
21
- import PresentersPanel from "./PresentersPanel";
22
- import DocumentsPanel from "./DocumentsPanel";
23
- import SponsorsPanel from "./SponsorsPanel";
24
- import Chat from "@/components/common/Chat";
25
-
26
- export default {
27
- components: {
28
- Accordion,
29
- OverviewPanel,
30
- PresentersPanel,
31
- DocumentsPanel,
32
- SponsorsPanel,
33
- Chat
34
- },
35
- data() {
36
- return {};
37
- },
38
- props: {
39
- currentPresentation: {
40
- type: Object,
41
- default: () => {
42
- return {};
43
- }
44
- },
45
- tabArray: {
46
- type: Array,
47
- default: () => {
48
- return [];
49
- }
50
- }
51
- },
52
- computed: {
53
- ...mapState("playerConfig", ["selectedContent"])
54
- },
55
- methods: {
56
- }
57
- };
58
- </script>
59
-
60
- <style>
61
- .accordion-slot {
62
- max-height: 32rem;
63
- overflow-y: scroll;
64
- }
65
- </style>
@@ -1,27 +0,0 @@
1
- declare namespace _default {
2
- namespace components {
3
- export { Accordion };
4
- export { OverviewPanel };
5
- export { PresentersPanel };
6
- export { DocumentsPanel };
7
- export { SponsorsPanel };
8
- export { Chat };
9
- }
10
- function data(): {};
11
- namespace props {
12
- namespace currentPresentation {
13
- export let type: ObjectConstructor;
14
- function _default(): {};
15
- export { _default as default };
16
- }
17
- namespace tabArray {
18
- let type_1: ArrayConstructor;
19
- export { type_1 as type };
20
- function _default_1(): never[];
21
- export { _default_1 as default };
22
- }
23
- }
24
- let computed: any;
25
- let methods: {};
26
- }
27
- export default _default;