@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
@@ -1,20 +1,19 @@
1
+ import { ref } from "vue";
1
2
  import { get, find } from "lodash-es";
2
3
  import { storeToRefs } from "pinia";
3
4
  import { useRouter } from "vue-router";
4
5
  import { useApi } from "./useApi.mjs";
5
6
  import { useAuthStore } from "../store/auth.mjs";
6
7
  import { useTemplateConfigsStore } from "../store/templateConfigs.mjs";
7
- import { useConferencesStore } from "../store/conferences.mjs";
8
8
  import { useConferenceHelpers } from "../composables/useConferenceHelpers.mjs";
9
9
  export const useUcc = () => {
10
10
  const { globalConfigValue } = useTemplateConfigsStore();
11
11
  const { user, isLoggedIn } = storeToRefs(useAuthStore());
12
12
  const { loginEmailOnly } = useAuthStore();
13
- const { selectedConference } = storeToRefs(useConferencesStore());
14
13
  const router = useRouter();
15
14
  const loadUccScript = (conference) => {
16
- let brandCode = get(conference, "custom1[0].code");
17
- const { getConferenceWebcastUrl } = useConferenceHelpers(conference);
15
+ const brandCode = get(conference, "custom1[0].code", "");
16
+ const { getConferenceWebcastUrl } = useConferenceHelpers(ref(conference));
18
17
  if (globalConfigValue("ucc_url")) {
19
18
  window.uccMixin = {};
20
19
  window.uccMixin.clientId = globalConfigValue("ucc_client_id");
@@ -28,7 +27,7 @@ export const useUcc = () => {
28
27
  window.uccMixin.postAuthRedirect = postAuthRedirect;
29
28
  window.uccMixin.uccShowEventSignUp = uccShowEventSignUp;
30
29
  window.uccMixin.handleUCCCallback = handleUCCCallback;
31
- let ucc = document.createElement("script");
30
+ const ucc = document.createElement("script");
32
31
  ucc.setAttribute("src", globalConfigValue("ucc_url"));
33
32
  ucc.onload = () => {
34
33
  console.log("UCC onload");
@@ -37,7 +36,7 @@ export const useUcc = () => {
37
36
  window.uccMixin.uccShowEventSignUp();
38
37
  } else if (window.uccMixin.conference.state == "archive") {
39
38
  if (isLoggedIn.value) {
40
- let hasAccess = find(
39
+ const hasAccess = find(
41
40
  get(user, "value.conferences", []),
42
41
  { id: window.uccMixin.conference.id }
43
42
  );
@@ -55,17 +54,17 @@ export const useUcc = () => {
55
54
  console.log("UCC ready");
56
55
  },
57
56
  onLoginSuccess: function(ssoEvent) {
58
- console.log("UCC login success");
57
+ console.log("UCC login success", ssoEvent);
59
58
  },
60
59
  onAuthStateReady: function(ssoEvent) {
61
- console.log("UCC auth state ready");
60
+ console.log("UCC auth state ready", ssoEvent);
62
61
  },
63
62
  onRegistrationSuccess: function(ssoEvent) {
64
63
  console.log("UCC reg success");
65
64
  window.uccMixin.loginV3({ email: ssoEvent.profile.email });
66
65
  },
67
66
  onLogoutSuccess: function(ssoEvent) {
68
- console.log("UCC logout success");
67
+ console.log("UCC logout success", ssoEvent);
69
68
  }
70
69
  });
71
70
  };
@@ -81,14 +80,16 @@ export const useUcc = () => {
81
80
  }
82
81
  };
83
82
  const uccShowEventSignUp = (email) => {
84
- let _conference = window.uccMixin.conference;
85
- let eventId = _conference.id;
86
- let productCode = _conference.brandCode;
87
- let emailStr = email ? email : "";
83
+ const _conference = window.uccMixin.conference;
84
+ const eventId = _conference.id;
85
+ const productCode = _conference.brandCode;
86
+ const emailStr = email ? email : "";
88
87
  toggleEmailFormDisplay(false);
89
88
  if (_conference.brandCode) {
90
- document.getElementById("uccTarget").innerHTML = "";
91
- let mmsResponse = window.mmsWidgets.showEventsSignUp(
89
+ const el = document.getElementById("uccTarget");
90
+ if (el == null) return;
91
+ el.innerHTML = "";
92
+ const mmsResponse = window.mmsWidgets.showEventsSignUp(
92
93
  "#uccTarget",
93
94
  `${eventId}`,
94
95
  null,
@@ -98,13 +99,15 @@ export const useUcc = () => {
98
99
  }
99
100
  );
100
101
  } else {
101
- document.getElementById("uccTarget").innerHTML = `<div class='border font-bold px-4 py-3 mb-4 rounded relative message-base bg-red-100 border-red-400 text-red-600'>Missing required productCode.</div>`;
102
+ const el = document.getElementById("uccTarget");
103
+ if (el == null) return;
104
+ el.innerHTML = `<div class='border font-bold px-4 py-3 mb-4 rounded relative message-base bg-red-100 border-red-400 text-red-600'>Missing required productCode.</div>`;
102
105
  }
103
106
  };
104
107
  const handleLoginV3Response = (response, email) => {
105
- let conferences = get(response, "data.conferences", []);
106
- let _conference = window.uccMixin.conference;
107
- let hasAccess = find(conferences, { id: _conference.id });
108
+ const conferences = get(response, "data.conferences", []);
109
+ const _conference = window.uccMixin.conference;
110
+ const hasAccess = find(conferences, { id: _conference.id });
108
111
  if (hasAccess) {
109
112
  loginEmailOnly(response.data).then(() => {
110
113
  postAuthRedirect();
@@ -114,27 +117,30 @@ export const useUcc = () => {
114
117
  }
115
118
  };
116
119
  const loginV3 = (options) => {
117
- return new Promise((resolve, reject) => {
120
+ return new Promise(() => {
118
121
  const request = useApi();
119
122
  request(
120
123
  `users/email/${options.email}?with=conferences`
121
124
  ).then((response) => {
122
125
  handleLoginV3Response(response, options.email);
123
126
  }).catch((error) => {
127
+ console.error("login V3 error", error);
124
128
  });
125
129
  });
126
130
  };
127
131
  const handleUCCCallback = (ssoEvent) => {
128
- var options = {
132
+ const options = {
129
133
  email: ssoEvent.profile.email,
130
134
  ucid: ssoEvent.profile.ucid
131
135
  };
132
- if (!authStore.loggedIn) {
136
+ if (!isLoggedIn.value) {
133
137
  loginV3(options);
134
138
  }
135
139
  };
136
140
  const toggleEmailFormDisplay = (show) => {
137
- document.getElementById("uccEmailForm").style.display = show ? "block" : "none";
141
+ const el = document.getElementById("uccEmailForm");
142
+ if (el == null) return;
143
+ el.style.display = show ? "block" : "none";
138
144
  };
139
145
  return {
140
146
  loadUccScript,
@@ -0,0 +1,6 @@
1
+ export type AdobeLaunchFunctions = {
2
+ /**
3
+ * load script
4
+ */
5
+ loadAdobeLaunch: () => void;
6
+ };
File without changes
@@ -0,0 +1,6 @@
1
+ import type { AnalyticsInstance } from 'analytics';
2
+ export type Analytics = {
3
+ readonly _analytics: AnalyticsInstance | null;
4
+ create: (id: string, userId: number) => void;
5
+ click: (event: string, label: string) => void;
6
+ };
File without changes
@@ -1,5 +1,5 @@
1
1
  import type { User } from "./user";
2
- import { Pagination } from "./pagination";
2
+ import type { Pagination } from "./pagination";
3
3
  export type AttendeeList = {
4
4
  page?: number | null;
5
5
  lastPage?: number | null;
@@ -1,4 +1,5 @@
1
1
  import type { Document } from "./document";
2
+ import type { Group } from "./group";
2
3
  import type { Link } from "./link";
3
4
  import type { Video } from "./video";
4
5
  import type { TemplateConfig } from "./templateConfig";
@@ -19,54 +20,61 @@ export declare enum PresentationType {
19
20
  LINK = "link"
20
21
  }
21
22
  export type Presenter = {
22
- biography?: string | null;
23
- client_id?: number;
24
- company?: string | null;
25
- designations?: string | null;
26
- email?: string | null;
27
- facebook_url?: string | null;
28
- first_name?: string | null;
29
- id?: number;
30
- last_name?: string | null;
23
+ biography: string | null;
24
+ client_id: number;
25
+ company: string | null;
26
+ designations: string | null;
27
+ email: string | null;
28
+ facebook_url: string | null;
29
+ first_name: string | null;
30
+ id: number;
31
+ last_name: string | null;
31
32
  level?: string | null;
32
- linkedin_url?: string | null;
33
+ linkedin_url: string | null;
33
34
  order?: number;
34
- photo?: string | null;
35
+ photo: string | null;
35
36
  role?: string;
36
- title?: string | null;
37
- twitter_url?: string | null;
38
- website?: string | null;
39
- youtube_url?: string | null;
37
+ title: string | null;
38
+ twitter_url: string | null;
39
+ website: string | null;
40
+ youtube_url: string | null;
40
41
  presentationId?: number | null;
42
+ conferences?: Array<Conference>;
43
+ presentations?: Array<Presentation>;
41
44
  };
42
45
  export type PresenterWithPivot = Presenter & {
43
46
  pivot?: {
44
47
  [key: string]: any;
45
48
  };
46
49
  };
47
- export type Group = {
48
- ce_enabled?: boolean;
49
- code?: string;
50
- description?: string | null;
51
- enabled?: boolean;
52
- id?: number;
53
- name?: string;
54
- portal_id?: number;
55
- post_reg_login?: boolean;
56
- price?: number;
57
- registration_message?: string | null;
58
- };
59
50
  export type Affiliate = {
60
- id?: number;
61
- name?: string;
51
+ biography: string | null;
62
52
  booth?: string;
63
- code?: string;
53
+ client_id: number;
54
+ code: string | null;
55
+ contact_address: string | null;
56
+ contact_email: string | null;
57
+ contact_location: string | null;
58
+ contact_name: string | null;
59
+ conact_phone: string | null;
60
+ contact_photo: string | null;
61
+ contact_title: string | null;
62
+ facebook_url: string | null;
63
+ html_header: string | null;
64
+ id: number;
64
65
  label?: string;
65
- photo?: string;
66
- vanity?: boolean;
67
- website?: string;
68
66
  level?: number;
67
+ linkedin_url: string | null;
68
+ name: string;
69
+ photo: string | null;
69
70
  role?: string;
71
+ twitter_url: string | null;
72
+ user_id: number | null;
73
+ vanity?: boolean;
74
+ video: string | null;
75
+ website: string | null;
76
+ youtube_url: string | null;
77
+ conferences: Array<Conference>;
70
78
  documents?: Array<Document>;
71
79
  links?: Array<Link>;
72
80
  template_config?: TemplateConfig;
@@ -80,35 +88,27 @@ export type Affiliate = {
80
88
  custom_box_2?: string;
81
89
  };
82
90
  };
83
- export type Sponsor = {
84
- id?: number;
85
- name?: string;
86
- label?: string;
87
- photo?: string;
88
- vanity?: boolean;
89
- website?: string;
90
- level?: number;
91
- role?: string;
92
- };
91
+ export type Sponsor = Affiliate;
93
92
  export type Presentation = {
94
- captions_url?: string | null;
95
- date?: string;
93
+ access?: boolean;
94
+ captions_url: string | null;
95
+ date: string;
96
96
  date_visible?: boolean;
97
- description?: string | null;
98
- duration?: number | null;
99
- embed_html?: string | null;
100
- external_type?: string | null;
101
- id?: number;
97
+ description: string | null;
98
+ duration: number | null;
99
+ embed_html: string | null;
100
+ external_type: string | null;
101
+ id: number;
102
102
  is_live?: boolean;
103
- name?: string;
104
- portal_id?: number;
105
- type?: PresentationType;
106
- video_url?: string | null;
103
+ name: string;
107
104
  photo?: string | boolean;
108
- visible?: boolean;
109
- zoom_meeting_id?: string | null;
110
- zoom_meeting_password?: string | null;
111
- zoom_require_password?: boolean;
105
+ portal_id: number;
106
+ type: null | PresentationType;
107
+ video_url: string | null;
108
+ visible: boolean;
109
+ zoom_meeting_id: string | null;
110
+ zoom_meeting_password: string | null;
111
+ zoom_require_password: boolean;
112
112
  presenters?: Array<Presenter>;
113
113
  sponsors?: Array<Sponsor>;
114
114
  tracks?: Array<Track>;
@@ -120,30 +120,39 @@ export type VirtualPresentation = Presentation & {
120
120
  };
121
121
  access?: boolean;
122
122
  };
123
+ export type PlayerPresentation = {
124
+ player_type: string;
125
+ data: VirtualPresentation;
126
+ };
123
127
  export type Track = {
124
- access?: boolean;
125
- channel?: number;
126
- date?: string;
127
- id?: number;
128
- live_stream_id?: number;
129
- name?: string;
128
+ access: boolean;
129
+ channel: number;
130
+ conference_day_id?: number;
131
+ date: string;
132
+ embed_html?: string | null;
133
+ id: number;
134
+ live_stream_id: number | null;
135
+ name: string;
136
+ groups?: Array<Group>;
130
137
  presentations?: Array<Presentation>;
131
138
  sponsors?: Array<Sponsor>;
132
139
  type?: string;
133
140
  };
134
141
  export type TrackGroup = {
135
- date?: string;
136
- id?: number;
137
- name?: string;
138
- tracks?: Array<Track>;
142
+ conference_day_id?: number;
143
+ date: string;
144
+ id: number;
145
+ name: string;
139
146
  type?: string;
147
+ tracks: Array<Track>;
140
148
  };
141
149
  export type Day = {
142
- access?: boolean;
143
- date?: string;
144
- date_visible?: boolean;
145
- id?: number;
146
- name?: string;
150
+ access: boolean;
151
+ conference_id?: number;
152
+ date: string;
153
+ date_visible: boolean;
154
+ id: number;
155
+ name: string;
147
156
  tracks?: Array<Track>;
148
157
  track_groups?: Array<TrackGroup>;
149
158
  sponsors?: Array<Sponsor>;
@@ -160,48 +169,56 @@ export type CeCreditConfig = {
160
169
  display_for: number;
161
170
  prompt_text: string | null;
162
171
  button_text: string | null;
172
+ created_at?: string | null;
173
+ updated_at?: string | null;
163
174
  };
164
175
  export type Conference = {
165
176
  access?: boolean;
166
177
  agenda_enabled?: boolean;
178
+ access_config: number;
167
179
  ce_credit_enabled?: boolean;
168
- description?: string;
169
- end_date?: string;
170
- id?: number;
171
- location?: string;
172
- name?: string;
180
+ description: string | null;
181
+ end_date: string;
182
+ id: number;
183
+ location: string | null;
184
+ name: string;
173
185
  presenters?: Array<Presenter>;
174
- photo?: null | string;
175
- photo_large?: string;
176
- portal_id?: number;
177
- start_date?: string;
178
- state?: ConferenceState;
179
- timezone?: string;
186
+ photo: string | null;
187
+ photo_large: string | null;
188
+ portal_id: number;
189
+ start_date: string;
190
+ state: ConferenceState;
191
+ timezone: string;
180
192
  days?: Array<Day>;
181
193
  groups?: Array<Group>;
182
194
  affiliates?: Array<Sponsor>;
183
195
  sponsors?: Array<Sponsor>;
184
- template_config?: object;
196
+ template_config?: TemplateConfig;
185
197
  ce_credit_config?: CeCreditConfig;
186
198
  };
187
199
  export type Stream = {
188
200
  id: number;
189
201
  name: string;
190
202
  type: string;
191
- notes?: string | null;
192
- hls_url?: string | null;
193
- embed_html?: string | null;
194
- created_at: string;
203
+ notes: string | null;
204
+ hls_url: string | null;
205
+ embed_html: string | null;
206
+ created_at?: string | null;
195
207
  updated_at?: string | null;
196
208
  };
197
209
  export type PlayerObj = {
210
+ addTrack?: Function;
198
211
  autostart: boolean;
199
212
  format: string;
200
- playerDiv: string;
201
- addTrack?: Function;
202
- loadCustomStream?: Function;
203
213
  getPosition?: Function;
214
+ loadCustomStream: Function;
215
+ playerDiv: string;
204
216
  seek?: Function;
205
217
  stop?: Function;
206
218
  remove?: Function;
207
219
  };
220
+ declare global {
221
+ interface Window {
222
+ ICVDMStreamPlayer: any;
223
+ }
224
+ }
@@ -1,16 +1,16 @@
1
1
  import type { User } from "./user";
2
2
  export type MessagesRead = User[] | null;
3
3
  export type Message = {
4
- id?: number;
5
- user?: User | null;
6
- message?: string | null;
7
- messages_read?: MessagesRead;
8
- created_at?: string | null;
4
+ id: number;
5
+ user: User | null;
6
+ message: string | null;
7
+ messages_read: MessagesRead;
8
+ created_atmess: string | null;
9
9
  };
10
10
  export type Conversation = {
11
- id?: number;
12
- users?: User[] | null;
13
- user?: User | null;
14
- messages?: Message[] | null;
15
- last_message?: Message | null;
11
+ id: number;
12
+ users: User[] | null;
13
+ user: User | null;
14
+ messages: Message[] | null;
15
+ last_message: Message | null;
16
16
  };
@@ -1,7 +1,7 @@
1
1
  export type Document = {
2
- id?: number;
3
- name?: string;
4
- url?: string;
5
- description?: string | null;
6
- meta?: string | null;
2
+ id: number;
3
+ name: string;
4
+ url: string;
5
+ description: string | null;
6
+ meta: string | null;
7
7
  };
@@ -6,7 +6,7 @@ export type GroupVariable = {
6
6
  type: string;
7
7
  value: Group;
8
8
  };
9
- export interface Global {
9
+ export interface GlobalConfig {
10
10
  accent_color_1: ColorVariable;
11
11
  accent_color_2: ColorVariable;
12
12
  accent_color_3: ColorVariable;
@@ -74,11 +74,13 @@ export interface Global {
74
74
  secure_site_access_enabled: ToggleVariable;
75
75
  townhall_registration_enabled: ToggleVariable;
76
76
  townhall_registration_group: GroupVariable;
77
+ ucc_client_id?: TextVariable;
78
+ ucc_url?: TextVariable;
77
79
  view_archive_button_alias: TextVariable;
78
80
  view_now_button_alias: TextVariable;
79
81
  view_preview_button_alias: TextVariable;
80
82
  }
81
- export interface VirtualGlobal extends Global {
83
+ export interface VirtualGlobal extends GlobalConfig {
82
84
  site_search?: ToggleVariable;
83
85
  allow_favorites?: ToggleVariable;
84
86
  }
@@ -6,38 +6,38 @@ export type RegistrationField = {
6
6
  id: number;
7
7
  registration_form_id: number;
8
8
  name: string;
9
- label: string;
10
- placeholder: null | string;
9
+ label: string | null;
10
+ placeholder: string | null;
11
11
  type: string;
12
12
  order: number;
13
- value: null | string | number;
13
+ value: string | number | null;
14
14
  validation: [];
15
- options: [];
15
+ options: [] | null;
16
16
  };
17
17
  export type RegistrationForm = {
18
18
  id: number;
19
19
  portal_id: number;
20
20
  name: string;
21
- description: null | string;
21
+ description: string | null;
22
22
  fields?: RegistrationField[];
23
23
  };
24
24
  export type Group = {
25
25
  cc_enabled?: boolean;
26
- ce_enabled?: boolean;
27
- code?: string;
26
+ ce_enabled: boolean;
27
+ code: string;
28
28
  created_at?: string;
29
- description?: null | string;
30
- enabled?: boolean;
31
- id?: number;
32
- merchant_id?: null | string | number;
33
- name?: string;
34
- portal_id?: number;
35
- post_reg_login?: number;
36
- price?: null | number;
37
- promo_code?: null | string;
29
+ description: string | null;
30
+ enabled: boolean;
31
+ id: number;
32
+ merchant_id?: number | null;
33
+ name: string;
34
+ portal_id: number;
35
+ post_reg_login: boolean;
36
+ price: number;
37
+ promo_code: string | null;
38
38
  registration_form_id?: number;
39
- registration_message?: null | string;
40
- type?: string;
39
+ registration_message: string | null;
40
+ type: string;
41
41
  updated_at?: string;
42
42
  merchant?: Merchant;
43
43
  registration_form?: RegistrationForm;
@@ -1,4 +1,4 @@
1
- import { VNode } from "vue";
1
+ import type { VNode } from "vue";
2
2
  export type Icon = {
3
3
  color: string;
4
4
  component: VNode;
@@ -0,0 +1,20 @@
1
+ export * from './adobeLaunch';
2
+ export * from './analytics';
3
+ export * from './attendeeList';
4
+ export * from './conference';
5
+ export * from './conversation';
6
+ export * from './document';
7
+ export * from './globalConfig';
8
+ export * from './group';
9
+ export * from './icons';
10
+ export * from './link';
11
+ export * from './loginParams';
12
+ export * from './navigationConfig';
13
+ export * from './pagesConfig';
14
+ export * from './pagination';
15
+ export * from './portal';
16
+ export * from './templateConfig';
17
+ export * from './user';
18
+ export * from './vButton';
19
+ export * from './video';
20
+ export * from './virtualPagesConfig';
@@ -0,0 +1,20 @@
1
+ export * from "./adobeLaunch.mjs";
2
+ export * from "./analytics.mjs";
3
+ export * from "./attendeeList.mjs";
4
+ export * from "./conference.mjs";
5
+ export * from "./conversation.mjs";
6
+ export * from "./document.mjs";
7
+ export * from "./globalConfig.mjs";
8
+ export * from "./group.mjs";
9
+ export * from "./icons.mjs";
10
+ export * from "./link.mjs";
11
+ export * from "./loginParams.mjs";
12
+ export * from "./navigationConfig.mjs";
13
+ export * from "./pagesConfig.mjs";
14
+ export * from "./pagination.mjs";
15
+ export * from "./portal.mjs";
16
+ export * from "./templateConfig.mjs";
17
+ export * from "./user.mjs";
18
+ export * from "./vButton.mjs";
19
+ export * from "./video.mjs";
20
+ export * from "./virtualPagesConfig.mjs";
@@ -1,6 +1,6 @@
1
1
  export type Link = {
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
6
  };
@@ -0,0 +1,5 @@
1
+ export type LoginParams = {
2
+ email: string;
3
+ password: string;
4
+ revoke?: boolean;
5
+ };
File without changes
@@ -1,9 +1,9 @@
1
1
  export type NavigationConfig = {
2
- enabled?: boolean;
3
- label?: string;
4
- name?: string;
5
- order?: number;
6
- slug?: string;
7
- type?: string;
8
- url?: string;
2
+ enabled: boolean;
3
+ label: string | null;
4
+ name: string | null;
5
+ order: number;
6
+ slug: string;
7
+ type: string;
8
+ url?: string | null;
9
9
  };