@icvdeveloper/common-module 2.0.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/module.d.mts +1055 -2
  3. package/dist/module.d.ts +1055 -2
  4. package/dist/module.json +1 -1
  5. package/dist/module.mjs +30 -24
  6. package/dist/runtime/analytics.d.ts +1 -6
  7. package/dist/runtime/assets/css/atcb.css +1 -0
  8. package/dist/runtime/assets/scss/_agenda.css +1 -0
  9. package/dist/runtime/assets/scss/_animations.css +1 -0
  10. package/dist/runtime/assets/scss/_container_variants.css +1 -0
  11. package/dist/runtime/assets/scss/_custom.css +3 -0
  12. package/dist/runtime/assets/scss/_forms.css +1 -0
  13. package/dist/runtime/assets/scss/_header.css +0 -0
  14. package/dist/runtime/assets/scss/_index_production.css +1 -0
  15. package/dist/runtime/assets/scss/_transitions.css +1 -0
  16. package/dist/runtime/assets/scss/_variables.css +1 -0
  17. package/dist/runtime/assets/scss/_variables2.css +0 -0
  18. package/dist/runtime/assets/scss/_webcast.css +1 -0
  19. package/dist/runtime/assets/scss/index.css +1 -0
  20. package/dist/runtime/components/affiliates/AffiliateModal.vue +1 -1
  21. package/dist/runtime/components/affiliates/AffiliatePage.vue +70 -105
  22. package/dist/runtime/components/agenda/AgendaList.vue +18 -14
  23. package/dist/runtime/components/agenda/AgendaTabbed.vue +23 -26
  24. package/dist/runtime/components/agenda/components/AgendaListAccordion.vue +8 -3
  25. package/dist/runtime/components/agenda/components/Calendar.vue +11 -8
  26. package/dist/runtime/components/agenda/components/Favorite.vue +7 -5
  27. package/dist/runtime/components/agenda/components/InfoLink.vue +15 -5
  28. package/dist/runtime/components/agenda/components/PlayIcon.vue +2 -4
  29. package/dist/runtime/components/agenda/components/PresentationLink.vue +16 -9
  30. package/dist/runtime/components/agenda/components/Sponsor.vue +31 -24
  31. package/dist/runtime/components/auth/PasswordReset.vue +20 -5
  32. package/dist/runtime/components/auth/Registration.vue +14 -4
  33. package/dist/runtime/components/auth/Ucc.vue +44 -27
  34. package/dist/runtime/components/chat/ChatConversationList.vue +11 -11
  35. package/dist/runtime/components/chat/ChatCreateConversation.vue +41 -47
  36. package/dist/runtime/components/chat/ChatCreateGroupConversation.vue +6 -11
  37. package/dist/runtime/components/chat/ChatHeader.vue +48 -49
  38. package/dist/runtime/components/chat/ChatShowConversation.vue +1 -2
  39. package/dist/runtime/components/chat/ChatWidget.vue +1 -26
  40. package/dist/runtime/components/chat/ChatWindow.vue +5 -71
  41. package/dist/runtime/components/chat/MessageInput.vue +1 -4
  42. package/dist/runtime/components/chat/SearchInput.vue +1 -1
  43. package/dist/runtime/components/core/Accordion.vue +11 -11
  44. package/dist/runtime/components/core/AttendeeList.vue +8 -22
  45. package/dist/runtime/components/core/CountdownTimer.vue +67 -51
  46. package/dist/runtime/components/core/DynamicHtml.vue.d.ts +5 -5
  47. package/dist/runtime/components/core/Modal.vue +3 -9
  48. package/dist/runtime/components/core/ModalButton.vue +2 -2
  49. package/dist/runtime/components/core/Navbar.vue +30 -18
  50. package/dist/runtime/components/core/Navigation.vue +22 -29
  51. package/dist/runtime/components/core/SvgIcon.vue +4 -1
  52. package/dist/runtime/components/core/VButton.vue +2 -8
  53. package/dist/runtime/components/core/ZoomModal.vue +9 -3
  54. package/dist/runtime/components/events/EventHeader.vue +14 -4
  55. package/dist/runtime/components/events/ListEvents.vue +18 -18
  56. package/dist/runtime/components/forms/Message.vue +1 -1
  57. package/dist/runtime/components/forms/SearchInput.vue +8 -2
  58. package/dist/runtime/components/forms/SelectDropDown.vue +4 -4
  59. package/dist/runtime/components/forms/SupportForm.vue +18 -7
  60. package/dist/runtime/components/forms/SwitchInput.vue +50 -30
  61. package/dist/runtime/components/forms/TextArea.vue +1 -1
  62. package/dist/runtime/components/forms/TextInput.vue +1 -1
  63. package/dist/runtime/components/layouts/Accordion.vue +9 -4
  64. package/dist/runtime/components/media/ArchivePlayerAndContentContainer.vue +4 -1
  65. package/dist/runtime/components/media/ArchiveVideoPlayer.vue +5 -17
  66. package/dist/runtime/components/media/PlayerAndContentContainer.vue +4 -1
  67. package/dist/runtime/components/media/WebcastVideoPlayer.vue +5 -17
  68. package/dist/runtime/components/media/components/AgendaPanel.vue +7 -6
  69. package/dist/runtime/components/media/components/ArchiveMediaContainer.vue +9 -7
  70. package/dist/runtime/components/media/components/CeCreditNotification.vue +6 -6
  71. package/dist/runtime/components/media/components/ContentArea.vue +8 -4
  72. package/dist/runtime/components/media/components/ContentTabs.vue +38 -26
  73. package/dist/runtime/components/media/components/DocumentsPanel.vue +17 -15
  74. package/dist/runtime/components/media/components/MediaContainer.vue +10 -8
  75. package/dist/runtime/components/media/components/OverviewPanel.vue +5 -2
  76. package/dist/runtime/components/media/components/PresentersPanel.vue +11 -11
  77. package/dist/runtime/components/media/components/SponsorsPanel.vue +10 -9
  78. package/dist/runtime/components/presenters/PresenterListing.vue +3 -5
  79. package/dist/runtime/components/presenters/Presenters.vue +8 -8
  80. package/dist/runtime/components/profile/components/SidebarNavItem.vue +1 -3
  81. package/dist/runtime/components/profile/tabs/ProfileImage.vue +7 -6
  82. package/dist/runtime/components/registration/AlreadyRegisteredModal.vue +10 -7
  83. package/dist/runtime/components/registration/PaymentForm.vue +10 -10
  84. package/dist/runtime/components/registration/RegistrationForm.vue +2 -2
  85. package/dist/runtime/components/registration/RegistrationGroupSelect.vue +11 -7
  86. package/dist/runtime/components/registration/StripePaymentForm.vue +11 -31
  87. package/dist/runtime/components/support/FAQAccordion.vue +8 -7
  88. package/dist/runtime/composables/useAdobeLaunch.d.ts +2 -7
  89. package/dist/runtime/composables/useAdobeLaunch.mjs +2 -2
  90. package/dist/runtime/composables/useAgenda.d.ts +1 -1
  91. package/dist/runtime/composables/useAgenda.mjs +28 -19
  92. package/dist/runtime/composables/useApi.d.ts +1 -1
  93. package/dist/runtime/composables/useAuth.d.ts +1 -1
  94. package/dist/runtime/composables/useClassBinding.d.ts +3 -1
  95. package/dist/runtime/composables/useConferenceHelpers.d.ts +2 -2
  96. package/dist/runtime/composables/useConferenceHelpers.mjs +11 -14
  97. package/dist/runtime/composables/useEventHooks.d.ts +6 -7
  98. package/dist/runtime/composables/useEvents.mjs +7 -9
  99. package/dist/runtime/composables/useLogin.mjs +2 -2
  100. package/dist/runtime/composables/useNavigation.d.ts +1 -1
  101. package/dist/runtime/composables/useNavigation.mjs +4 -2
  102. package/dist/runtime/composables/usePresentation.d.ts +2 -2
  103. package/dist/runtime/composables/usePresentation.mjs +7 -6
  104. package/dist/runtime/composables/usePresenter.d.ts +2 -2
  105. package/dist/runtime/composables/usePresenters.d.ts +2 -2
  106. package/dist/runtime/composables/useScripts.mjs +1 -1
  107. package/dist/runtime/composables/useStream.d.ts +2 -3
  108. package/dist/runtime/composables/useStream.mjs +1 -1
  109. package/dist/runtime/composables/useUcc.d.ts +1 -1
  110. package/dist/runtime/composables/useUcc.mjs +29 -23
  111. package/dist/runtime/enums/chatWindow.mjs +7 -0
  112. package/dist/runtime/models/adobeLaunch.d.ts +6 -0
  113. package/dist/runtime/models/adobeLaunch.mjs +0 -0
  114. package/dist/runtime/models/analytics.d.ts +6 -0
  115. package/dist/runtime/models/analytics.mjs +0 -0
  116. package/dist/runtime/models/attendeeList.d.ts +1 -1
  117. package/dist/runtime/models/conference.d.ts +109 -92
  118. package/dist/runtime/models/conversation.d.ts +10 -10
  119. package/dist/runtime/models/document.d.ts +5 -5
  120. package/dist/runtime/models/globalConfig.d.ts +4 -2
  121. package/dist/runtime/models/group.d.ts +18 -18
  122. package/dist/runtime/models/icons.d.ts +1 -1
  123. package/dist/runtime/models/index.d.ts +20 -0
  124. package/dist/runtime/models/index.mjs +20 -0
  125. package/dist/runtime/models/link.d.ts +4 -4
  126. package/dist/runtime/models/loginParams.d.ts +5 -0
  127. package/dist/runtime/models/loginParams.mjs +0 -0
  128. package/dist/runtime/models/navigationConfig.d.ts +7 -7
  129. package/dist/runtime/models/pagination.d.ts +11 -11
  130. package/dist/runtime/models/portal.d.ts +15 -10
  131. package/dist/runtime/models/templateConfig.d.ts +7 -7
  132. package/dist/runtime/models/ucc.d.ts +22 -0
  133. package/dist/runtime/models/ucc.mjs +0 -0
  134. package/dist/runtime/models/user.d.ts +28 -12
  135. package/dist/runtime/models/vButton.d.ts +7 -0
  136. package/dist/runtime/models/vButton.mjs +0 -0
  137. package/dist/runtime/models/video.d.ts +5 -4
  138. package/dist/runtime/models/virtualPagesConfig.d.ts +11 -123
  139. package/dist/runtime/models/vueEternalLoading.d.ts +11 -0
  140. package/dist/runtime/models/vueEternalLoading.mjs +0 -0
  141. package/dist/runtime/plugin.mjs +12 -9
  142. package/dist/runtime/store/affiliates.d.ts +1 -1
  143. package/dist/runtime/store/attendeeList.d.ts +1 -1
  144. package/dist/runtime/store/auth.d.ts +3 -7
  145. package/dist/runtime/store/conferences.mjs +8 -8
  146. package/dist/runtime/store/conversations.d.ts +26 -3988
  147. package/dist/runtime/store/conversations.mjs +7 -7
  148. package/dist/runtime/store/modalPlayerConfig.d.ts +17 -488
  149. package/dist/runtime/store/modalPlayerConfig.mjs +2 -2
  150. package/dist/runtime/store/navigationConfig.d.ts +1 -1
  151. package/dist/runtime/store/presentations.d.ts +2 -2
  152. package/dist/runtime/store/templateConfigs.d.ts +6 -6
  153. package/dist/runtime/store/templateConfigs.mjs +6 -6
  154. package/dist/runtime/store/user.mjs +0 -1
  155. package/dist/runtime/v3plusCommonPlugin.d.ts +1 -1
  156. package/dist/types.d.mts +3 -2
  157. package/dist/types.d.ts +3 -2
  158. package/package.json +13 -13
  159. package/dist/runtime/components/media/components/JsonApi.vue +0 -33
  160. package/dist/runtime/components/media/components/JsonApi.vue.d.ts +0 -16
  161. package/dist/runtime/components/media/components/WindowContent.vue +0 -118
  162. package/dist/runtime/components/media/components/WindowContent.vue.d.ts +0 -50
  163. package/dist/runtime/components/media/components/WindowSlide.vue +0 -92
  164. package/dist/runtime/components/media/components/WindowSlide.vue.d.ts +0 -36
  165. package/dist/runtime/models/authUser.d.ts +0 -17
  166. /package/dist/runtime/{models/authUser.mjs → assets/scss/_footer.css} +0 -0
  167. /package/dist/runtime/{components/chat/ChatWindow.vue.d.ts → enums/chatWindow.d.ts} +0 -0
@@ -1,14 +1,14 @@
1
1
  export interface Pagination {
2
- total?: number | null;
3
- per_page?: number | null;
4
- current_page?: number | null;
5
- last_page?: number | null;
6
- first_page_url?: string | null;
7
- last_page_url?: string | null;
8
- next_page_url?: string | null;
9
- prev_page_url?: string | null;
10
- path?: string | null;
11
- from?: number | null;
12
- to?: number | null;
2
+ total: number;
3
+ per_page: number;
4
+ current_page: number;
5
+ last_page: number;
6
+ first_page_url: string | null;
7
+ last_page_url: string | null;
8
+ next_page_url: string | null;
9
+ prev_page_url: string | null;
10
+ path: string | null;
11
+ from: number;
12
+ to: number;
13
13
  }
14
14
  export declare const PAGE_LENGTH = 15;
@@ -1,12 +1,17 @@
1
1
  export type Portal = {
2
- id?: number;
3
- name?: string;
4
- description?: string | null;
5
- favicon?: string;
6
- gtm_id?: string | null;
7
- ga_id?: string | null;
8
- adobe_launch_url?: string | null;
9
- social_title?: string | null;
10
- social_description?: string | null;
11
- social_photo?: string | null;
2
+ adobe_launch_url: string | null;
3
+ client_id: number;
4
+ description: string | null;
5
+ disclaimer_id?: number | null;
6
+ domain: string;
7
+ favicon: string | null;
8
+ ga_id: string | null;
9
+ ga_measurement_id: number | null;
10
+ gtm_id: string | null;
11
+ id: number;
12
+ name: string;
13
+ social_title: string | null;
14
+ social_description: string | null;
15
+ social_photo: string | null;
16
+ template_id: number | null;
12
17
  };
@@ -3,7 +3,7 @@ export type Meta = {
3
3
  description: string;
4
4
  id: number;
5
5
  };
6
- export type Global = {
6
+ export type GlobalElements = {
7
7
  [key: string]: {
8
8
  class?: string;
9
9
  label?: string;
@@ -14,7 +14,7 @@ export type Global = {
14
14
  variable?: string;
15
15
  };
16
16
  };
17
- export type Misc = {
17
+ export type MiscElements = {
18
18
  [key: string]: {
19
19
  class?: string;
20
20
  label?: string;
@@ -25,7 +25,7 @@ export type Misc = {
25
25
  variable?: string;
26
26
  };
27
27
  };
28
- export type Pages = {
28
+ export type PagesElements = {
29
29
  [key: string]: {
30
30
  class?: string;
31
31
  label?: string;
@@ -36,7 +36,7 @@ export type Pages = {
36
36
  variable?: string;
37
37
  };
38
38
  };
39
- export type Setting = {
39
+ export type SettingElements = {
40
40
  label?: string;
41
41
  name?: string;
42
42
  type?: string;
@@ -44,7 +44,7 @@ export type Setting = {
44
44
  };
45
45
  export type TemplateConfig = {
46
46
  meta?: Meta;
47
- global?: Global;
48
- misc?: Misc;
49
- pages?: Array<Pages>;
47
+ global?: GlobalElements;
48
+ misc?: MiscElements;
49
+ pages?: Array<PagesElements>;
50
50
  };
@@ -0,0 +1,22 @@
1
+ import type { Conference } from "./conference";
2
+ export type UccMixin = {
3
+ clientId: string;
4
+ conference: Partial<Conference> & {
5
+ brandCode: string;
6
+ };
7
+ webcastUrl: string;
8
+ loginV3: any;
9
+ postAuthRedirect: any;
10
+ uccShowEventSignUp: any;
11
+ handleUCCCallback: any;
12
+ };
13
+ export type MmsWidgets = {
14
+ showEventsSignUp: any;
15
+ init: any;
16
+ };
17
+ declare global {
18
+ interface Window {
19
+ uccMixin: UccMixin;
20
+ mmsWidgets: MmsWidgets;
21
+ }
22
+ }
File without changes
@@ -1,18 +1,34 @@
1
1
  import type { Group } from "./group";
2
2
  import type { Conference } from "./conference";
3
3
  export type User = {
4
- id?: number;
5
- name?: string;
6
- email?: string;
7
- company?: string | null;
8
- title?: string | null;
9
- online?: boolean;
10
- profile_image?: string | null;
11
- linkedin_url?: string | null;
12
- twitter_url?: string | null;
13
- video_chat?: boolean | null;
14
- type?: string;
4
+ company: string | null;
5
+ email: string | null;
6
+ id: number;
7
+ linkedin_url: string | null;
8
+ name: string | null;
9
+ online: boolean;
10
+ profile_image: string | null;
11
+ title: string | null;
12
+ twitter_url: string | null;
13
+ type: string;
14
+ uuid?: string;
15
+ video_chat: boolean | null;
16
+ conferences?: Conference[];
15
17
  groups?: Group[];
16
18
  group_ids?: number[];
17
- conferences?: Conference[];
19
+ };
20
+ export type UsersResult = {
21
+ page: number;
22
+ lastPage: number | null;
23
+ data: User[];
24
+ };
25
+ export type AuthUser = User & {
26
+ uid: string;
27
+ token: string;
28
+ expires_at: string;
29
+ token_type: string;
30
+ };
31
+ export type UserSearchParams = {
32
+ value?: string;
33
+ iterate?: boolean;
18
34
  };
@@ -0,0 +1,7 @@
1
+ export type ContentData = {
2
+ contentObj?: {};
3
+ contentArray?: [];
4
+ contentString?: string;
5
+ contentType?: string;
6
+ modalSize?: number;
7
+ };
File without changes
@@ -1,6 +1,7 @@
1
1
  export type Video = {
2
- id?: number;
3
- name?: string;
4
- url?: string;
5
- description?: string | null;
2
+ id: number;
3
+ name: string;
4
+ url: string;
5
+ description: string | null;
6
+ meta?: string | null;
6
7
  };
@@ -1,73 +1,6 @@
1
- import type { ColorVariable, HTMLVariable, ToggleVariable, SelectVariable, NumberVariable, ImageVariable, TextVariable, TogglePlusLabelVariable, HotspotVariable } from "../@types/configVariables";
2
- export type ArchiveContentTabsVariable = {
3
- label: string;
4
- name: string;
5
- type: string;
6
- value: Array<{
7
- content: string;
8
- label: string;
9
- type: string;
10
- }>;
11
- };
12
- export type PlayerContentTabsVariable = {
13
- label: string;
14
- name: string;
15
- type: string;
16
- value: Array<{
17
- content: string;
18
- label: string;
19
- type: string;
20
- }>;
21
- };
22
- export type AgendaPlayerPageConfigs = {
23
- agenda_grouped_track_color_1: ColorVariable;
24
- agenda_grouped_track_color_2: ColorVariable;
25
- agenda_grouped_track_color_3: ColorVariable;
26
- agenda_grouped_track_color_4: ColorVariable;
27
- agenda_grouped_track_text_color: ColorVariable;
28
- agenda_html_header: HTMLVariable;
29
- agenda_presenter_color: ColorVariable;
30
- agenda_tab_active_bg_color: ColorVariable;
31
- agenda_tab_bg_color: ColorVariable;
32
- agenda_tab_color: ColorVariable;
33
- agenda_tab_sponsor_bg_color: ColorVariable;
34
- agenda_track_bg_color: ColorVariable;
35
- agenda_track_group_bg_color: ColorVariable;
36
- session_end_times: ToggleVariable;
37
- session_times: ToggleVariable;
38
- session_desc_link: SelectVariable;
39
- session_desc_link_text: TextVariable;
40
- agendas_full_access: ToggleVariable;
41
- tab_dates: ToggleVariable;
42
- use_accordion: ToggleVariable;
43
- use_presenter_modal: ToggleVariable;
44
- sponsors: ToggleVariable;
45
- add_to_google_calendar: ToggleVariable;
46
- add_to_microsoft_calendar: ToggleVariable;
47
- group_tracks: SelectVariable;
48
- use_zoom_icon: ToggleVariable;
49
- use_play_icon: ToggleVariable;
50
- live_play_icon: ToggleVariable;
51
- pre_recorded_play_icon: ToggleVariable;
52
- zoom_text: TextVariable;
53
- live_stream_text: TextVariable;
54
- pre_recorded_text: TextVariable;
55
- };
56
- export type ArchivePlayerPageConfigs = {
57
- archive_content_tabs: ArchiveContentTabsVariable;
58
- featured_sponsor_level: SelectVariable;
59
- player_position: SelectVariable;
60
- preview_duration: NumberVariable;
61
- preview_enabled: ToggleVariable;
62
- section_header_image: ImageVariable;
63
- video_only_width: NumberVariable;
64
- video_slide_width: NumberVariable;
65
- };
66
- export type ExhibitorPageConfigs = {
67
- layout_format: SelectVariable;
68
- section_header_image: ImageVariable;
69
- };
70
- export type MainPageConfigs = {
1
+ import type { ColorVariable, HTMLVariable, ToggleVariable, ImageVariable, HotspotVariable } from "../@types/configVariables";
2
+ import type { AgendaPlayerPageConfigs, ArchivePlayerPageConfigs, ExhibitorPageConfigs, MainPageConfigs, PresenterPageConfigs, RegistrationPageConfigs, SponsorsPageConfigs, SupportPageConfigs, WebcastPageConfigs } from './pagesConfig';
3
+ export type VirtualMainPageConfigs = MainPageConfigs & {
71
4
  background: ImageVariable;
72
5
  Row01_spot_01: HotspotVariable;
73
6
  Row01_spot_02: HotspotVariable;
@@ -102,6 +35,12 @@ export type MainPageConfigs = {
102
35
  SideNav_L_4: HotspotVariable;
103
36
  SideNav_L_5: HotspotVariable;
104
37
  };
38
+ export type AttendeesConfigs = VirtualMainPageConfigs;
39
+ export type MeetingsConfigs = VirtualMainPageConfigs;
40
+ export type PresentersConfigs = VirtualMainPageConfigs;
41
+ export type SpotlightConfigs = VirtualMainPageConfigs;
42
+ export type Spotlight1Configs = VirtualMainPageConfigs;
43
+ export type Spotlight2Configs = VirtualMainPageConfigs;
105
44
  export type EntryWayConfigs = {
106
45
  background: ImageVariable;
107
46
  Row01_spot01: HotspotVariable;
@@ -258,57 +197,6 @@ export type ResourcesConfigs = {
258
197
  Row04_spot07: HotspotVariable;
259
198
  Row04_spot08: HotspotVariable;
260
199
  };
261
- export type AttendeesConfigs = MainPageConfigs;
262
- export type MeetingsConfigs = MainPageConfigs;
263
- export type PresentersConfigs = MainPageConfigs;
264
- export type SpotlightConfigs = MainPageConfigs;
265
- export type Spotlight1Configs = MainPageConfigs;
266
- export type Spotlight2Configs = MainPageConfigs;
267
- export type PresenterPageConfigs = {
268
- layout_format: SelectVariable;
269
- presenter_1_alias: TogglePlusLabelVariable;
270
- presenter_2_alias: TogglePlusLabelVariable;
271
- presenter_3_alias: TogglePlusLabelVariable;
272
- presenter_4_alias: TogglePlusLabelVariable;
273
- presenter_5_alias: TogglePlusLabelVariable;
274
- presenter_6_alias: TogglePlusLabelVariable;
275
- presenter_7_alias: TogglePlusLabelVariable;
276
- presenter_8_alias: TogglePlusLabelVariable;
277
- presenter_9_alias: TogglePlusLabelVariable;
278
- presenter_10_alias: TogglePlusLabelVariable;
279
- presenter_11_alias: TogglePlusLabelVariable;
280
- presenter_image_width: NumberVariable;
281
- presenter_name_color: ColorVariable;
282
- presenters_presenter_1_conferences: TextVariable;
283
- presenters_presenter_2_conferences: TextVariable;
284
- section_header_image: ImageVariable;
285
- sort_by_level: ToggleVariable;
286
- title: ColorVariable;
287
- };
288
- export type RegistrationPageConfigs = {
289
- registration_html: HTMLVariable;
290
- };
291
- export type SponsorsPageConfigs = {
292
- layout_format: SelectVariable;
293
- section_header_image: ImageVariable;
294
- };
295
- export type SupportPageConfigs = {
296
- live_support_url: TextVariable;
297
- section_header_image: ImageVariable;
298
- support_faq: ToggleVariable;
299
- support_form: ToggleVariable;
300
- support_html: ToggleVariable;
301
- };
302
- export type WebcastPageConfigs = {
303
- chatroom_id: TextVariable;
304
- featured_sponsor_level: SelectVariable;
305
- player_position: SelectVariable;
306
- section_header_image: ImageVariable;
307
- session_title_visible: ToggleVariable;
308
- video_only_width: NumberVariable;
309
- video_slide_width: NumberVariable;
310
- webcast_content_tabs: PlayerContentTabsVariable;
311
- };
312
200
  export interface VirtualPages {
313
201
  agenda: AgendaPlayerPageConfigs;
314
202
  archive_player: ArchivePlayerPageConfigs;
@@ -330,6 +218,6 @@ export interface VirtualPages {
330
218
  support: SupportPageConfigs;
331
219
  webcast: WebcastPageConfigs;
332
220
  }
333
- export type NestedKeyOf<ObjectType extends object> = {
334
- [Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends AgendaPlayerPageConfigs | ArchivePlayerPageConfigs | ExhibitorPageConfigs | MainPageConfigs | EntryWayConfigs | ExhibitHallConfigs | AffiliateBoothSmallConfigs | AffiliateBoothMedConfigs | AffiliateBoothLgConfigs | AuditoriumConfigs | NetworkingConfigs | ResourcesConfigs | AttendeesConfigs | MeetingsConfigs | PresentersConfigs | SpotlightConfigs | Spotlight1Configs | Spotlight2Configs | PresenterPageConfigs | RegistrationPageConfigs | SponsorsPageConfigs | SupportPageConfigs | WebcastPageConfigs ? "" | `${Key}.${NestedKeyOf<ObjectType[Key]>}` : `${Key}`;
221
+ export type VirtualNestedKeyOf<ObjectType extends object> = {
222
+ [Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends AgendaPlayerPageConfigs | ArchivePlayerPageConfigs | ExhibitorPageConfigs | MainPageConfigs | EntryWayConfigs | ExhibitHallConfigs | AffiliateBoothSmallConfigs | AffiliateBoothMedConfigs | AffiliateBoothLgConfigs | AuditoriumConfigs | NetworkingConfigs | ResourcesConfigs | AttendeesConfigs | MeetingsConfigs | PresentersConfigs | SpotlightConfigs | Spotlight1Configs | Spotlight2Configs | PresenterPageConfigs | RegistrationPageConfigs | SponsorsPageConfigs | SupportPageConfigs | WebcastPageConfigs ? "" | `${Key}.${VirtualNestedKeyOf<ObjectType[Key]>}` : `${Key}`;
335
223
  }[keyof ObjectType & (string | number)];
@@ -0,0 +1,11 @@
1
+ export type LoadAction = {
2
+ loaded(count?: number, pageSize?: number): State;
3
+ noMore(): void;
4
+ noResults(): void;
5
+ error(): void;
6
+ };
7
+ export type LoadPayload = {
8
+ isFirstLoad: boolean;
9
+ };
10
+ export type State = 'loading' | 'error' | 'no-more' | 'no-results';
11
+ export type Position = 'top' | 'left' | 'default';
File without changes
@@ -35,7 +35,8 @@ export default defineNuxtPlugin((nuxtApp) => {
35
35
  return text;
36
36
  };
37
37
  let docTitle = "";
38
- const routeArray = to.name.toLowerCase().split("-");
38
+ const routeName = to.name;
39
+ const routeArray = routeName.toLowerCase().split("-");
39
40
  if (portal.value === null) {
40
41
  Promise.all([
41
42
  // fetch portal config then increment loading indicator
@@ -49,11 +50,12 @@ export default defineNuxtPlugin((nuxtApp) => {
49
50
  await conferencesStore.getCurrentConference(true).then(() => NProgress.inc())
50
51
  ]);
51
52
  }
52
- if (to.name.includes("events-id") && to.params.id) {
53
- await conferencesStore.getSelectedConference(to.params.id, false).then(() => {
53
+ const routeParamId = parseInt(to.params.id);
54
+ if (routeName.includes("events-id") && routeParamId) {
55
+ await conferencesStore.getSelectedConference(routeParamId, false).then(() => {
54
56
  if (conferencesStore.selectedConference) {
55
57
  docTitle = `${conferencesStore.selectedConference.name}`;
56
- if (to.name.includes("webcast-channelid")) {
58
+ if (routeName.includes("webcast-channelid")) {
57
59
  docTitle += ` | Live Webcast`;
58
60
  }
59
61
  }
@@ -62,14 +64,15 @@ export default defineNuxtPlugin((nuxtApp) => {
62
64
  } else {
63
65
  conferencesStore.selectedConference = null;
64
66
  }
67
+ const routeParamPresId = parseInt(to.params.presid);
65
68
  if (to.params.presid) {
66
- await presentationsStore.getSelectedPresentation(to.params.presid).then(() => {
69
+ await presentationsStore.getSelectedPresentation(routeParamPresId).then(() => {
67
70
  if (conferencesStore.selectedConference) {
68
71
  docTitle = `${presentationsStore.selectedPresentation.name}`;
69
72
  }
70
73
  });
71
74
  } else {
72
- presentationsStore.selectedPresentation = null;
75
+ presentationsStore.selectedPresentation = {};
73
76
  }
74
77
  if (!docTitle && portal.value) {
75
78
  docTitle = portal.value.name;
@@ -80,10 +83,10 @@ export default defineNuxtPlugin((nuxtApp) => {
80
83
  if (navObj) {
81
84
  docTitle += ` | ${navObj.label}`;
82
85
  } else {
83
- const routeName = routeArray.map(function(word) {
86
+ const routeName2 = routeArray.map(function(word) {
84
87
  return word.charAt(0).toUpperCase() + word.slice(1);
85
88
  }).join(" ");
86
- docTitle += ` | ${routeName}`;
89
+ docTitle += ` | ${routeName2}`;
87
90
  }
88
91
  }
89
92
  }
@@ -94,7 +97,7 @@ export default defineNuxtPlugin((nuxtApp) => {
94
97
  let metaDesc = portal.value.description;
95
98
  let socialImage = "";
96
99
  if (get(conferencesStore, "selectedConference.description.length", 0) > 0) {
97
- metaDesc = stripHtml(conferencesStore.selectedConference.description);
100
+ metaDesc = stripHtml(conferencesStore.selectedConference?.description);
98
101
  } else if (get(portal.value, "social_description.length", 0) > 0) {
99
102
  metaDesc = get(portal.value, "social_description");
100
103
  }
@@ -5,7 +5,7 @@ export type AffiliatesState = {
5
5
  };
6
6
  };
7
7
  export declare const useAffiliatesStore: import("pinia").StoreDefinition<"affiliates", AffiliatesState, {
8
- getConferenceAffiliates: (state: AffiliatesState) => (conferenceId: number) => Sponsor[];
8
+ getConferenceAffiliates: (state: AffiliatesState) => (conferenceId: number) => import("../models/conference").Affiliate[];
9
9
  }, {
10
10
  getAffiliates(conferenceId: number): Promise<unknown>;
11
11
  getSponsors(conferenceId: number): Promise<unknown>;
@@ -15,7 +15,7 @@ export interface AttendeeListState {
15
15
  export declare const useAttendeeListStore: import("pinia").StoreDefinition<"attendeeList", AttendeeListState, {}, {
16
16
  getAttendeeList(params: {
17
17
  pageNumber: number;
18
- searchParams?: string | undefined;
18
+ searchParams?: string;
19
19
  }): Promise<AttendeeList>;
20
20
  clearAttendeeList(): void;
21
21
  setOnlineUsers(users: User[]): void;
@@ -1,16 +1,12 @@
1
- import type { AuthUser } from "../models/authUser";
1
+ import type { AuthUser } from "../models/user";
2
+ import type { LoginParams } from "../models/loginParams";
2
3
  export type AuthStoreState = {
3
4
  user: null | AuthUser;
4
5
  };
5
- export type LoginParams = {
6
- email: string;
7
- password: string;
8
- revoke?: boolean;
9
- };
10
6
  export declare const useAuthStore: import("pinia").StoreDefinition<"auth", AuthStoreState, {
11
7
  isLoggedIn: (state: AuthStoreState) => boolean;
12
8
  }, {
13
- loginEmailOnly(data: object): Promise<AuthUser>;
9
+ loginEmailOnly(data: any): Promise<any>;
14
10
  reset(): void;
15
11
  login(params: LoginParams): Promise<AuthUser>;
16
12
  logout(): Promise<void>;
@@ -61,7 +61,7 @@ export const useConferencesStore = defineStore("conferences", {
61
61
  getCurrentConference(skipDetails) {
62
62
  return new Promise((resolve, reject) => {
63
63
  const request = useApi();
64
- let conference = {};
64
+ let conference;
65
65
  const liveConference = this.conferenceList.find(
66
66
  (conf) => conf.state === ConferenceState.LIVE || conf.state === ConferenceState.MIXED
67
67
  );
@@ -73,14 +73,15 @@ export const useConferencesStore = defineStore("conferences", {
73
73
  } else if (upcomingConference !== void 0) {
74
74
  conference = upcomingConference;
75
75
  } else {
76
- conference = findLast(this.conferenceList, [
76
+ const lastConference = findLast(this.conferenceList, [
77
77
  "state",
78
78
  ConferenceState.ARCHIVED
79
79
  ]);
80
- }
81
- if (!conference) {
82
- reject(new Error("could not determine current conference."));
83
- return;
80
+ if (lastConference != void 0) {
81
+ conference = lastConference;
82
+ } else {
83
+ return reject(new Error("could not determine current conference."));
84
+ }
84
85
  }
85
86
  if (skipDetails === true) {
86
87
  this.currentConference = conference;
@@ -111,8 +112,7 @@ export const useConferencesStore = defineStore("conferences", {
111
112
  updateConferencesAccess(userConferences) {
112
113
  userConferences.forEach((userConf) => {
113
114
  const conf = find(this.conferenceList, { id: userConf.id });
114
- if (conf)
115
- conf.access = true;
115
+ if (conf) conf.access = true;
116
116
  });
117
117
  }
118
118
  }