@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.
- package/CHANGELOG.md +4 -0
- package/dist/module.d.mts +1055 -2
- package/dist/module.d.ts +1055 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +30 -24
- package/dist/runtime/analytics.d.ts +1 -6
- package/dist/runtime/assets/css/atcb.css +1 -0
- package/dist/runtime/assets/scss/_agenda.css +1 -0
- package/dist/runtime/assets/scss/_animations.css +1 -0
- package/dist/runtime/assets/scss/_container_variants.css +1 -0
- package/dist/runtime/assets/scss/_custom.css +3 -0
- package/dist/runtime/assets/scss/_forms.css +1 -0
- package/dist/runtime/assets/scss/_header.css +0 -0
- package/dist/runtime/assets/scss/_index_production.css +1 -0
- package/dist/runtime/assets/scss/_transitions.css +1 -0
- package/dist/runtime/assets/scss/_variables.css +1 -0
- package/dist/runtime/assets/scss/_variables2.css +0 -0
- package/dist/runtime/assets/scss/_webcast.css +1 -0
- package/dist/runtime/assets/scss/index.css +1 -0
- package/dist/runtime/components/affiliates/AffiliateModal.vue +1 -1
- package/dist/runtime/components/affiliates/AffiliatePage.vue +70 -105
- package/dist/runtime/components/agenda/AgendaList.vue +18 -14
- package/dist/runtime/components/agenda/AgendaTabbed.vue +23 -26
- package/dist/runtime/components/agenda/components/AgendaListAccordion.vue +8 -3
- package/dist/runtime/components/agenda/components/Calendar.vue +11 -8
- package/dist/runtime/components/agenda/components/Favorite.vue +7 -5
- package/dist/runtime/components/agenda/components/InfoLink.vue +15 -5
- package/dist/runtime/components/agenda/components/PlayIcon.vue +2 -4
- package/dist/runtime/components/agenda/components/PresentationLink.vue +16 -9
- package/dist/runtime/components/agenda/components/Sponsor.vue +31 -24
- package/dist/runtime/components/auth/PasswordReset.vue +20 -5
- package/dist/runtime/components/auth/Registration.vue +14 -4
- package/dist/runtime/components/auth/Ucc.vue +44 -27
- package/dist/runtime/components/chat/ChatConversationList.vue +11 -11
- package/dist/runtime/components/chat/ChatCreateConversation.vue +41 -47
- package/dist/runtime/components/chat/ChatCreateGroupConversation.vue +6 -11
- package/dist/runtime/components/chat/ChatHeader.vue +48 -49
- package/dist/runtime/components/chat/ChatShowConversation.vue +1 -2
- package/dist/runtime/components/chat/ChatWidget.vue +1 -26
- package/dist/runtime/components/chat/ChatWindow.vue +5 -71
- package/dist/runtime/components/chat/MessageInput.vue +1 -4
- package/dist/runtime/components/chat/SearchInput.vue +1 -1
- package/dist/runtime/components/core/Accordion.vue +11 -11
- package/dist/runtime/components/core/AttendeeList.vue +8 -22
- package/dist/runtime/components/core/CountdownTimer.vue +67 -51
- package/dist/runtime/components/core/DynamicHtml.vue.d.ts +5 -5
- package/dist/runtime/components/core/Modal.vue +3 -9
- package/dist/runtime/components/core/ModalButton.vue +2 -2
- package/dist/runtime/components/core/Navbar.vue +30 -18
- package/dist/runtime/components/core/Navigation.vue +22 -29
- package/dist/runtime/components/core/SvgIcon.vue +4 -1
- package/dist/runtime/components/core/VButton.vue +2 -8
- package/dist/runtime/components/core/ZoomModal.vue +9 -3
- package/dist/runtime/components/events/EventHeader.vue +14 -4
- package/dist/runtime/components/events/ListEvents.vue +18 -18
- package/dist/runtime/components/forms/Message.vue +1 -1
- package/dist/runtime/components/forms/SearchInput.vue +8 -2
- package/dist/runtime/components/forms/SelectDropDown.vue +4 -4
- package/dist/runtime/components/forms/SupportForm.vue +18 -7
- package/dist/runtime/components/forms/SwitchInput.vue +50 -30
- package/dist/runtime/components/forms/TextArea.vue +1 -1
- package/dist/runtime/components/forms/TextInput.vue +1 -1
- package/dist/runtime/components/layouts/Accordion.vue +9 -4
- package/dist/runtime/components/media/ArchivePlayerAndContentContainer.vue +4 -1
- package/dist/runtime/components/media/ArchiveVideoPlayer.vue +5 -17
- package/dist/runtime/components/media/PlayerAndContentContainer.vue +4 -1
- package/dist/runtime/components/media/WebcastVideoPlayer.vue +5 -17
- package/dist/runtime/components/media/components/AgendaPanel.vue +7 -6
- package/dist/runtime/components/media/components/ArchiveMediaContainer.vue +9 -7
- package/dist/runtime/components/media/components/CeCreditNotification.vue +6 -6
- package/dist/runtime/components/media/components/ContentArea.vue +8 -4
- package/dist/runtime/components/media/components/ContentTabs.vue +38 -26
- package/dist/runtime/components/media/components/DocumentsPanel.vue +17 -15
- package/dist/runtime/components/media/components/MediaContainer.vue +10 -8
- package/dist/runtime/components/media/components/OverviewPanel.vue +5 -2
- package/dist/runtime/components/media/components/PresentersPanel.vue +11 -11
- package/dist/runtime/components/media/components/SponsorsPanel.vue +10 -9
- package/dist/runtime/components/presenters/PresenterListing.vue +3 -5
- package/dist/runtime/components/presenters/Presenters.vue +8 -8
- package/dist/runtime/components/profile/components/SidebarNavItem.vue +1 -3
- package/dist/runtime/components/profile/tabs/ProfileImage.vue +7 -6
- package/dist/runtime/components/registration/AlreadyRegisteredModal.vue +10 -7
- package/dist/runtime/components/registration/PaymentForm.vue +10 -10
- package/dist/runtime/components/registration/RegistrationForm.vue +2 -2
- package/dist/runtime/components/registration/RegistrationGroupSelect.vue +11 -7
- package/dist/runtime/components/registration/StripePaymentForm.vue +11 -31
- package/dist/runtime/components/support/FAQAccordion.vue +8 -7
- package/dist/runtime/composables/useAdobeLaunch.d.ts +2 -7
- package/dist/runtime/composables/useAdobeLaunch.mjs +2 -2
- package/dist/runtime/composables/useAgenda.d.ts +1 -1
- package/dist/runtime/composables/useAgenda.mjs +28 -19
- package/dist/runtime/composables/useApi.d.ts +1 -1
- package/dist/runtime/composables/useAuth.d.ts +1 -1
- package/dist/runtime/composables/useClassBinding.d.ts +3 -1
- package/dist/runtime/composables/useConferenceHelpers.d.ts +2 -2
- package/dist/runtime/composables/useConferenceHelpers.mjs +11 -14
- package/dist/runtime/composables/useEventHooks.d.ts +6 -7
- package/dist/runtime/composables/useEvents.mjs +7 -9
- package/dist/runtime/composables/useLogin.mjs +2 -2
- package/dist/runtime/composables/useNavigation.d.ts +1 -1
- package/dist/runtime/composables/useNavigation.mjs +4 -2
- package/dist/runtime/composables/usePresentation.d.ts +2 -2
- package/dist/runtime/composables/usePresentation.mjs +7 -6
- package/dist/runtime/composables/usePresenter.d.ts +2 -2
- package/dist/runtime/composables/usePresenters.d.ts +2 -2
- package/dist/runtime/composables/useScripts.mjs +1 -1
- package/dist/runtime/composables/useStream.d.ts +2 -3
- package/dist/runtime/composables/useStream.mjs +1 -1
- package/dist/runtime/composables/useUcc.d.ts +1 -1
- package/dist/runtime/composables/useUcc.mjs +29 -23
- package/dist/runtime/enums/chatWindow.mjs +7 -0
- package/dist/runtime/models/adobeLaunch.d.ts +6 -0
- package/dist/runtime/models/adobeLaunch.mjs +0 -0
- package/dist/runtime/models/analytics.d.ts +6 -0
- package/dist/runtime/models/analytics.mjs +0 -0
- package/dist/runtime/models/attendeeList.d.ts +1 -1
- package/dist/runtime/models/conference.d.ts +109 -92
- package/dist/runtime/models/conversation.d.ts +10 -10
- package/dist/runtime/models/document.d.ts +5 -5
- package/dist/runtime/models/globalConfig.d.ts +4 -2
- package/dist/runtime/models/group.d.ts +18 -18
- package/dist/runtime/models/icons.d.ts +1 -1
- package/dist/runtime/models/index.d.ts +20 -0
- package/dist/runtime/models/index.mjs +20 -0
- package/dist/runtime/models/link.d.ts +4 -4
- package/dist/runtime/models/loginParams.d.ts +5 -0
- package/dist/runtime/models/loginParams.mjs +0 -0
- package/dist/runtime/models/navigationConfig.d.ts +7 -7
- package/dist/runtime/models/pagination.d.ts +11 -11
- package/dist/runtime/models/portal.d.ts +15 -10
- package/dist/runtime/models/templateConfig.d.ts +7 -7
- package/dist/runtime/models/ucc.d.ts +22 -0
- package/dist/runtime/models/ucc.mjs +0 -0
- package/dist/runtime/models/user.d.ts +28 -12
- package/dist/runtime/models/vButton.d.ts +7 -0
- package/dist/runtime/models/vButton.mjs +0 -0
- package/dist/runtime/models/video.d.ts +5 -4
- package/dist/runtime/models/virtualPagesConfig.d.ts +11 -123
- package/dist/runtime/models/vueEternalLoading.d.ts +11 -0
- package/dist/runtime/models/vueEternalLoading.mjs +0 -0
- package/dist/runtime/plugin.mjs +12 -9
- package/dist/runtime/store/affiliates.d.ts +1 -1
- package/dist/runtime/store/attendeeList.d.ts +1 -1
- package/dist/runtime/store/auth.d.ts +3 -7
- package/dist/runtime/store/conferences.mjs +8 -8
- package/dist/runtime/store/conversations.d.ts +26 -3988
- package/dist/runtime/store/conversations.mjs +7 -7
- package/dist/runtime/store/modalPlayerConfig.d.ts +17 -488
- package/dist/runtime/store/modalPlayerConfig.mjs +2 -2
- package/dist/runtime/store/navigationConfig.d.ts +1 -1
- package/dist/runtime/store/presentations.d.ts +2 -2
- package/dist/runtime/store/templateConfigs.d.ts +6 -6
- package/dist/runtime/store/templateConfigs.mjs +6 -6
- package/dist/runtime/store/user.mjs +0 -1
- package/dist/runtime/v3plusCommonPlugin.d.ts +1 -1
- package/dist/types.d.mts +3 -2
- package/dist/types.d.ts +3 -2
- package/package.json +13 -13
- package/dist/runtime/components/media/components/JsonApi.vue +0 -33
- package/dist/runtime/components/media/components/JsonApi.vue.d.ts +0 -16
- package/dist/runtime/components/media/components/WindowContent.vue +0 -118
- package/dist/runtime/components/media/components/WindowContent.vue.d.ts +0 -50
- package/dist/runtime/components/media/components/WindowSlide.vue +0 -92
- package/dist/runtime/components/media/components/WindowSlide.vue.d.ts +0 -36
- package/dist/runtime/models/authUser.d.ts +0 -17
- /package/dist/runtime/{models/authUser.mjs → assets/scss/_footer.css} +0 -0
- /package/dist/runtime/{components/chat/ChatWindow.vue.d.ts → enums/chatWindow.d.ts} +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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
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")
|
|
91
|
-
|
|
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")
|
|
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
|
-
|
|
106
|
-
|
|
107
|
-
|
|
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((
|
|
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
|
-
|
|
132
|
+
const options = {
|
|
129
133
|
email: ssoEvent.profile.email,
|
|
130
134
|
ucid: ssoEvent.profile.ucid
|
|
131
135
|
};
|
|
132
|
-
if (!
|
|
136
|
+
if (!isLoggedIn.value) {
|
|
133
137
|
loginV3(options);
|
|
134
138
|
}
|
|
135
139
|
};
|
|
136
140
|
const toggleEmailFormDisplay = (show) => {
|
|
137
|
-
document.getElementById("uccEmailForm")
|
|
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,7 @@
|
|
|
1
|
+
export var MenuOptions = /* @__PURE__ */ ((MenuOptions2) => {
|
|
2
|
+
MenuOptions2["LIST"] = "ChatConversationlist";
|
|
3
|
+
MenuOptions2["CREATE"] = "CreateConversation";
|
|
4
|
+
MenuOptions2["CREATEGROUP"] = "CreateGroupConversation";
|
|
5
|
+
MenuOptions2["SHOW"] = "ShowConversation";
|
|
6
|
+
return MenuOptions2;
|
|
7
|
+
})(MenuOptions || {});
|
|
File without changes
|
|
File without changes
|
|
@@ -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
|
|
23
|
-
client_id
|
|
24
|
-
company
|
|
25
|
-
designations
|
|
26
|
-
email
|
|
27
|
-
facebook_url
|
|
28
|
-
first_name
|
|
29
|
-
id
|
|
30
|
-
last_name
|
|
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
|
|
33
|
+
linkedin_url: string | null;
|
|
33
34
|
order?: number;
|
|
34
|
-
photo
|
|
35
|
+
photo: string | null;
|
|
35
36
|
role?: string;
|
|
36
|
-
title
|
|
37
|
-
twitter_url
|
|
38
|
-
website
|
|
39
|
-
youtube_url
|
|
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
|
-
|
|
61
|
-
name?: string;
|
|
51
|
+
biography: string | null;
|
|
62
52
|
booth?: string;
|
|
63
|
-
|
|
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
|
-
|
|
95
|
-
|
|
93
|
+
access?: boolean;
|
|
94
|
+
captions_url: string | null;
|
|
95
|
+
date: string;
|
|
96
96
|
date_visible?: boolean;
|
|
97
|
-
description
|
|
98
|
-
duration
|
|
99
|
-
embed_html
|
|
100
|
-
external_type
|
|
101
|
-
id
|
|
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
|
|
104
|
-
portal_id?: number;
|
|
105
|
-
type?: PresentationType;
|
|
106
|
-
video_url?: string | null;
|
|
103
|
+
name: string;
|
|
107
104
|
photo?: string | boolean;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
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
|
|
125
|
-
channel
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
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
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
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
|
|
169
|
-
end_date
|
|
170
|
-
id
|
|
171
|
-
location
|
|
172
|
-
name
|
|
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
|
|
175
|
-
photo_large
|
|
176
|
-
portal_id
|
|
177
|
-
start_date
|
|
178
|
-
state
|
|
179
|
-
timezone
|
|
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?:
|
|
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
|
|
192
|
-
hls_url
|
|
193
|
-
embed_html
|
|
194
|
-
created_at
|
|
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
|
|
5
|
-
user
|
|
6
|
-
message
|
|
7
|
-
messages_read
|
|
8
|
-
|
|
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
|
|
12
|
-
users
|
|
13
|
-
user
|
|
14
|
-
messages
|
|
15
|
-
last_message
|
|
11
|
+
id: number;
|
|
12
|
+
users: User[] | null;
|
|
13
|
+
user: User | null;
|
|
14
|
+
messages: Message[] | null;
|
|
15
|
+
last_message: Message | null;
|
|
16
16
|
};
|
|
@@ -6,7 +6,7 @@ export type GroupVariable = {
|
|
|
6
6
|
type: string;
|
|
7
7
|
value: Group;
|
|
8
8
|
};
|
|
9
|
-
export interface
|
|
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
|
|
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:
|
|
9
|
+
label: string | null;
|
|
10
|
+
placeholder: string | null;
|
|
11
11
|
type: string;
|
|
12
12
|
order: number;
|
|
13
|
-
value:
|
|
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:
|
|
21
|
+
description: string | null;
|
|
22
22
|
fields?: RegistrationField[];
|
|
23
23
|
};
|
|
24
24
|
export type Group = {
|
|
25
25
|
cc_enabled?: boolean;
|
|
26
|
-
ce_enabled
|
|
27
|
-
code
|
|
26
|
+
ce_enabled: boolean;
|
|
27
|
+
code: string;
|
|
28
28
|
created_at?: string;
|
|
29
|
-
description
|
|
30
|
-
enabled
|
|
31
|
-
id
|
|
32
|
-
merchant_id?:
|
|
33
|
-
name
|
|
34
|
-
portal_id
|
|
35
|
-
post_reg_login
|
|
36
|
-
price
|
|
37
|
-
promo_code
|
|
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
|
|
40
|
-
type
|
|
39
|
+
registration_message: string | null;
|
|
40
|
+
type: string;
|
|
41
41
|
updated_at?: string;
|
|
42
42
|
merchant?: Merchant;
|
|
43
43
|
registration_form?: RegistrationForm;
|
|
@@ -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";
|
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export type NavigationConfig = {
|
|
2
|
-
enabled
|
|
3
|
-
label
|
|
4
|
-
name
|
|
5
|
-
order
|
|
6
|
-
slug
|
|
7
|
-
type
|
|
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
|
};
|