@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
|
@@ -3,8 +3,8 @@ import { defineStore } from "pinia";
|
|
|
3
3
|
import { useApi } from "../composables/useApi.mjs";
|
|
4
4
|
export const useConversationStore = defineStore("conversations", () => {
|
|
5
5
|
const chatOpen = ref(false);
|
|
6
|
-
const conversations = ref();
|
|
7
|
-
const selectedConversation = ref();
|
|
6
|
+
const conversations = ref([]);
|
|
7
|
+
const selectedConversation = ref({});
|
|
8
8
|
const attendeeList = ref({
|
|
9
9
|
page: 1,
|
|
10
10
|
lastPage: null,
|
|
@@ -68,7 +68,7 @@ export const useConversationStore = defineStore("conversations", () => {
|
|
|
68
68
|
console.log("conversations", conversations.value);
|
|
69
69
|
};
|
|
70
70
|
const commitConversation = (payload) => {
|
|
71
|
-
conversations
|
|
71
|
+
conversations.value.push(payload);
|
|
72
72
|
console.log("conversation", conversations.value[conversations.value.length - 1]);
|
|
73
73
|
};
|
|
74
74
|
const commitUsers = (payload) => {
|
|
@@ -127,7 +127,7 @@ export const useConversationStore = defineStore("conversations", () => {
|
|
|
127
127
|
};
|
|
128
128
|
const removeOnlineUser = (payload) => {
|
|
129
129
|
const removedUserIndex = onlineUsers.value.data.indexOf(payload);
|
|
130
|
-
onlineUsers.value = onlineUsers.value.data.splice(removedUserIndex, 1);
|
|
130
|
+
onlineUsers.value.data = onlineUsers.value.data.splice(removedUserIndex, 1);
|
|
131
131
|
};
|
|
132
132
|
const getConversationsApi = async () => {
|
|
133
133
|
const apiUrl = `conversations?timestamp=${(/* @__PURE__ */ new Date()).getTime()}`;
|
|
@@ -143,11 +143,11 @@ export const useConversationStore = defineStore("conversations", () => {
|
|
|
143
143
|
let usersResponse;
|
|
144
144
|
if (page != void 0 || search2 != void 0) {
|
|
145
145
|
usersResponse = await request(apiUrl, { params: { page, search: search2 } });
|
|
146
|
-
isAttendeeList
|
|
146
|
+
!isAttendeeList ? commitUsers(usersResponse) : commitAttendeeList(usersResponse);
|
|
147
147
|
console.log("getUsersApi response (with search params)", usersResponse);
|
|
148
148
|
} else {
|
|
149
149
|
usersResponse = await request(apiUrl);
|
|
150
|
-
isAttendeeList
|
|
150
|
+
!isAttendeeList ? commitUsers(usersResponse) : commitAttendeeList(usersResponse);
|
|
151
151
|
console.log("getUsersApi response (without search params)", usersResponse);
|
|
152
152
|
}
|
|
153
153
|
return usersResponse;
|
|
@@ -162,7 +162,7 @@ export const useConversationStore = defineStore("conversations", () => {
|
|
|
162
162
|
const hideConversation = async (conversation) => {
|
|
163
163
|
const apiUrl = `conversations/${conversation.id}/hide`;
|
|
164
164
|
const request = useApi();
|
|
165
|
-
await request(apiUrl, { method: "POST" }).then((
|
|
165
|
+
await request(apiUrl, { method: "POST" }).then(() => {
|
|
166
166
|
getConversationsApi();
|
|
167
167
|
});
|
|
168
168
|
};
|
|
@@ -1,498 +1,27 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
description?: string | null | undefined;
|
|
15
|
-
duration?: number | null | undefined;
|
|
16
|
-
embed_html?: string | null | undefined;
|
|
17
|
-
external_type?: string | null | undefined;
|
|
18
|
-
id?: number | undefined;
|
|
19
|
-
is_live?: boolean | undefined;
|
|
20
|
-
name?: string | undefined;
|
|
21
|
-
portal_id?: number | undefined;
|
|
22
|
-
type?: import("../models/conference").PresentationType | undefined;
|
|
23
|
-
video_url?: string | null | undefined;
|
|
24
|
-
photo?: string | boolean | undefined;
|
|
25
|
-
visible?: boolean | undefined;
|
|
26
|
-
zoom_meeting_id?: string | null | undefined;
|
|
27
|
-
zoom_meeting_password?: string | null | undefined;
|
|
28
|
-
zoom_require_password?: boolean | undefined;
|
|
29
|
-
presenters?: {
|
|
30
|
-
biography?: string | null | undefined;
|
|
31
|
-
client_id?: number | undefined;
|
|
32
|
-
company?: string | null | undefined;
|
|
33
|
-
designations?: string | null | undefined;
|
|
34
|
-
email?: string | null | undefined;
|
|
35
|
-
facebook_url?: string | null | undefined;
|
|
36
|
-
first_name?: string | null | undefined;
|
|
37
|
-
id?: number | undefined;
|
|
38
|
-
last_name?: string | null | undefined;
|
|
39
|
-
level?: string | null | undefined;
|
|
40
|
-
linkedin_url?: string | null | undefined;
|
|
41
|
-
order?: number | undefined;
|
|
42
|
-
photo?: string | null | undefined;
|
|
43
|
-
role?: string | undefined;
|
|
44
|
-
title?: string | null | undefined;
|
|
45
|
-
twitter_url?: string | null | undefined;
|
|
46
|
-
website?: string | null | undefined;
|
|
47
|
-
youtube_url?: string | null | undefined;
|
|
48
|
-
presentationId?: number | null | undefined;
|
|
49
|
-
}[] | undefined;
|
|
50
|
-
sponsors?: {
|
|
51
|
-
id?: number | undefined;
|
|
52
|
-
name?: string | undefined;
|
|
53
|
-
label?: string | undefined;
|
|
54
|
-
photo?: string | undefined;
|
|
55
|
-
vanity?: boolean | undefined;
|
|
56
|
-
website?: string | undefined;
|
|
57
|
-
level?: number | undefined;
|
|
58
|
-
role?: string | undefined;
|
|
59
|
-
}[] | undefined;
|
|
60
|
-
tracks?: {
|
|
61
|
-
access?: boolean | undefined;
|
|
62
|
-
channel?: number | undefined;
|
|
63
|
-
date?: string | undefined;
|
|
64
|
-
id?: number | undefined;
|
|
65
|
-
live_stream_id?: number | undefined;
|
|
66
|
-
name?: string | undefined;
|
|
67
|
-
presentations?: {
|
|
68
|
-
captions_url?: string | null | undefined;
|
|
69
|
-
date?: string | undefined;
|
|
70
|
-
date_visible?: boolean | undefined;
|
|
71
|
-
description?: string | null | undefined;
|
|
72
|
-
duration?: number | null | undefined;
|
|
73
|
-
embed_html?: string | null | undefined;
|
|
74
|
-
external_type?: string | null | undefined;
|
|
75
|
-
id?: number | undefined;
|
|
76
|
-
is_live?: boolean | undefined;
|
|
77
|
-
name?: string | undefined;
|
|
78
|
-
portal_id?: number | undefined;
|
|
79
|
-
type?: import("../models/conference").PresentationType | undefined;
|
|
80
|
-
video_url?: string | null | undefined;
|
|
81
|
-
photo?: string | boolean | undefined;
|
|
82
|
-
visible?: boolean | undefined;
|
|
83
|
-
zoom_meeting_id?: string | null | undefined;
|
|
84
|
-
zoom_meeting_password?: string | null | undefined;
|
|
85
|
-
zoom_require_password?: boolean | undefined;
|
|
86
|
-
presenters?: {
|
|
87
|
-
biography?: string | null | undefined;
|
|
88
|
-
client_id?: number | undefined;
|
|
89
|
-
company?: string | null | undefined;
|
|
90
|
-
designations?: string | null | undefined;
|
|
91
|
-
email?: string | null | undefined;
|
|
92
|
-
facebook_url?: string | null | undefined;
|
|
93
|
-
first_name?: string | null | undefined;
|
|
94
|
-
id?: number | undefined;
|
|
95
|
-
last_name?: string | null | undefined;
|
|
96
|
-
level?: string | null | undefined;
|
|
97
|
-
linkedin_url?: string | null | undefined;
|
|
98
|
-
order?: number | undefined;
|
|
99
|
-
photo?: string | null | undefined;
|
|
100
|
-
role?: string | undefined;
|
|
101
|
-
title?: string | null | undefined;
|
|
102
|
-
twitter_url?: string | null | undefined;
|
|
103
|
-
website?: string | null | undefined;
|
|
104
|
-
youtube_url?: string | null | undefined;
|
|
105
|
-
presentationId?: number | null | undefined;
|
|
106
|
-
}[] | undefined;
|
|
107
|
-
sponsors?: {
|
|
108
|
-
id?: number | undefined;
|
|
109
|
-
name?: string | undefined;
|
|
110
|
-
label?: string | undefined;
|
|
111
|
-
photo?: string | undefined;
|
|
112
|
-
vanity?: boolean | undefined;
|
|
113
|
-
website?: string | undefined;
|
|
114
|
-
level?: number | undefined;
|
|
115
|
-
role?: string | undefined;
|
|
116
|
-
}[] | undefined;
|
|
117
|
-
tracks?: any[] | undefined;
|
|
118
|
-
documents?: {
|
|
119
|
-
id?: number | undefined;
|
|
120
|
-
name?: string | undefined;
|
|
121
|
-
url?: string | undefined;
|
|
122
|
-
description?: string | null | undefined;
|
|
123
|
-
meta?: string | null | undefined;
|
|
124
|
-
}[] | undefined;
|
|
125
|
-
}[] | undefined;
|
|
126
|
-
sponsors?: {
|
|
127
|
-
id?: number | undefined;
|
|
128
|
-
name?: string | undefined;
|
|
129
|
-
label?: string | undefined;
|
|
130
|
-
photo?: string | undefined;
|
|
131
|
-
vanity?: boolean | undefined;
|
|
132
|
-
website?: string | undefined;
|
|
133
|
-
level?: number | undefined;
|
|
134
|
-
role?: string | undefined;
|
|
135
|
-
}[] | undefined;
|
|
136
|
-
type?: string | undefined;
|
|
137
|
-
}[] | undefined;
|
|
138
|
-
documents?: {
|
|
139
|
-
id?: number | undefined;
|
|
140
|
-
name?: string | undefined;
|
|
141
|
-
url?: string | undefined;
|
|
142
|
-
description?: string | null | undefined;
|
|
143
|
-
meta?: string | null | undefined;
|
|
144
|
-
}[] | undefined;
|
|
145
|
-
track?: {
|
|
146
|
-
channel: string | number;
|
|
147
|
-
} | undefined;
|
|
148
|
-
access?: boolean | undefined;
|
|
149
|
-
};
|
|
150
|
-
}>;
|
|
151
|
-
livePresentations: import("vue").Ref<{
|
|
152
|
-
[key: string]: Presentation;
|
|
153
|
-
}>;
|
|
154
|
-
playerConference: import("vue").Ref<Conference | undefined>;
|
|
155
|
-
selectedContent: import("vue").Ref<{}>;
|
|
156
|
-
chatroomId: import("vue").Ref<string>;
|
|
157
|
-
getlivePresentations: import("vue").ComputedRef<{
|
|
158
|
-
[key: string]: Presentation;
|
|
159
|
-
}>;
|
|
160
|
-
setIsPlayerVisible: (payload: boolean) => void;
|
|
161
|
-
setSelectedPresentation: (payload: PlayerPresentation) => void;
|
|
162
|
-
setLivePresentations: (payload: {
|
|
163
|
-
[key: string]: Presentation;
|
|
164
|
-
}) => void;
|
|
165
|
-
setSelectedConference: (payload: Conference) => void;
|
|
166
|
-
setSelectedConferenceAccess: (payload: boolean) => void;
|
|
167
|
-
setSelectedContent: (payload: {}) => void;
|
|
168
|
-
setChatroomId: (payload: string) => void;
|
|
169
|
-
updateSelectedPresentationAccess: (payload: boolean) => void;
|
|
170
|
-
}, "selectedContent" | "isPlayerVisible" | "playerPresentation" | "livePresentations" | "playerConference" | "chatroomId">>, Pick<{
|
|
171
|
-
isPlayerVisible: import("vue").Ref<boolean>;
|
|
172
|
-
playerPresentation: import("vue").Ref<{
|
|
173
|
-
player_type: string;
|
|
174
|
-
data: {
|
|
175
|
-
captions_url?: string | null | undefined;
|
|
176
|
-
date?: string | undefined;
|
|
177
|
-
date_visible?: boolean | undefined;
|
|
178
|
-
description?: string | null | undefined;
|
|
179
|
-
duration?: number | null | undefined;
|
|
180
|
-
embed_html?: string | null | undefined;
|
|
181
|
-
external_type?: string | null | undefined;
|
|
182
|
-
id?: number | undefined;
|
|
183
|
-
is_live?: boolean | undefined;
|
|
184
|
-
name?: string | undefined;
|
|
185
|
-
portal_id?: number | undefined;
|
|
186
|
-
type?: import("../models/conference").PresentationType | undefined;
|
|
187
|
-
video_url?: string | null | undefined;
|
|
188
|
-
photo?: string | boolean | undefined;
|
|
189
|
-
visible?: boolean | undefined;
|
|
190
|
-
zoom_meeting_id?: string | null | undefined;
|
|
191
|
-
zoom_meeting_password?: string | null | undefined;
|
|
192
|
-
zoom_require_password?: boolean | undefined;
|
|
193
|
-
presenters?: {
|
|
194
|
-
biography?: string | null | undefined;
|
|
195
|
-
client_id?: number | undefined;
|
|
196
|
-
company?: string | null | undefined;
|
|
197
|
-
designations?: string | null | undefined;
|
|
198
|
-
email?: string | null | undefined;
|
|
199
|
-
facebook_url?: string | null | undefined;
|
|
200
|
-
first_name?: string | null | undefined;
|
|
201
|
-
id?: number | undefined;
|
|
202
|
-
last_name?: string | null | undefined;
|
|
203
|
-
level?: string | null | undefined;
|
|
204
|
-
linkedin_url?: string | null | undefined;
|
|
205
|
-
order?: number | undefined;
|
|
206
|
-
photo?: string | null | undefined;
|
|
207
|
-
role?: string | undefined;
|
|
208
|
-
title?: string | null | undefined;
|
|
209
|
-
twitter_url?: string | null | undefined;
|
|
210
|
-
website?: string | null | undefined;
|
|
211
|
-
youtube_url?: string | null | undefined;
|
|
212
|
-
presentationId?: number | null | undefined;
|
|
213
|
-
}[] | undefined;
|
|
214
|
-
sponsors?: {
|
|
215
|
-
id?: number | undefined;
|
|
216
|
-
name?: string | undefined;
|
|
217
|
-
label?: string | undefined;
|
|
218
|
-
photo?: string | undefined;
|
|
219
|
-
vanity?: boolean | undefined;
|
|
220
|
-
website?: string | undefined;
|
|
221
|
-
level?: number | undefined;
|
|
222
|
-
role?: string | undefined;
|
|
223
|
-
}[] | undefined;
|
|
224
|
-
tracks?: {
|
|
225
|
-
access?: boolean | undefined;
|
|
226
|
-
channel?: number | undefined;
|
|
227
|
-
date?: string | undefined;
|
|
228
|
-
id?: number | undefined;
|
|
229
|
-
live_stream_id?: number | undefined;
|
|
230
|
-
name?: string | undefined;
|
|
231
|
-
presentations?: {
|
|
232
|
-
captions_url?: string | null | undefined;
|
|
233
|
-
date?: string | undefined;
|
|
234
|
-
date_visible?: boolean | undefined;
|
|
235
|
-
description?: string | null | undefined;
|
|
236
|
-
duration?: number | null | undefined;
|
|
237
|
-
embed_html?: string | null | undefined;
|
|
238
|
-
external_type?: string | null | undefined;
|
|
239
|
-
id?: number | undefined;
|
|
240
|
-
is_live?: boolean | undefined;
|
|
241
|
-
name?: string | undefined;
|
|
242
|
-
portal_id?: number | undefined;
|
|
243
|
-
type?: import("../models/conference").PresentationType | undefined;
|
|
244
|
-
video_url?: string | null | undefined;
|
|
245
|
-
photo?: string | boolean | undefined;
|
|
246
|
-
visible?: boolean | undefined;
|
|
247
|
-
zoom_meeting_id?: string | null | undefined;
|
|
248
|
-
zoom_meeting_password?: string | null | undefined;
|
|
249
|
-
zoom_require_password?: boolean | undefined;
|
|
250
|
-
presenters?: {
|
|
251
|
-
biography?: string | null | undefined;
|
|
252
|
-
client_id?: number | undefined;
|
|
253
|
-
company?: string | null | undefined;
|
|
254
|
-
designations?: string | null | undefined;
|
|
255
|
-
email?: string | null | undefined;
|
|
256
|
-
facebook_url?: string | null | undefined;
|
|
257
|
-
first_name?: string | null | undefined;
|
|
258
|
-
id?: number | undefined;
|
|
259
|
-
last_name?: string | null | undefined;
|
|
260
|
-
level?: string | null | undefined;
|
|
261
|
-
linkedin_url?: string | null | undefined;
|
|
262
|
-
order?: number | undefined;
|
|
263
|
-
photo?: string | null | undefined;
|
|
264
|
-
role?: string | undefined;
|
|
265
|
-
title?: string | null | undefined;
|
|
266
|
-
twitter_url?: string | null | undefined;
|
|
267
|
-
website?: string | null | undefined;
|
|
268
|
-
youtube_url?: string | null | undefined;
|
|
269
|
-
presentationId?: number | null | undefined;
|
|
270
|
-
}[] | undefined;
|
|
271
|
-
sponsors?: {
|
|
272
|
-
id?: number | undefined;
|
|
273
|
-
name?: string | undefined;
|
|
274
|
-
label?: string | undefined;
|
|
275
|
-
photo?: string | undefined;
|
|
276
|
-
vanity?: boolean | undefined;
|
|
277
|
-
website?: string | undefined;
|
|
278
|
-
level?: number | undefined;
|
|
279
|
-
role?: string | undefined;
|
|
280
|
-
}[] | undefined;
|
|
281
|
-
tracks?: any[] | undefined;
|
|
282
|
-
documents?: {
|
|
283
|
-
id?: number | undefined;
|
|
284
|
-
name?: string | undefined;
|
|
285
|
-
url?: string | undefined;
|
|
286
|
-
description?: string | null | undefined;
|
|
287
|
-
meta?: string | null | undefined;
|
|
288
|
-
}[] | undefined;
|
|
289
|
-
}[] | undefined;
|
|
290
|
-
sponsors?: {
|
|
291
|
-
id?: number | undefined;
|
|
292
|
-
name?: string | undefined;
|
|
293
|
-
label?: string | undefined;
|
|
294
|
-
photo?: string | undefined;
|
|
295
|
-
vanity?: boolean | undefined;
|
|
296
|
-
website?: string | undefined;
|
|
297
|
-
level?: number | undefined;
|
|
298
|
-
role?: string | undefined;
|
|
299
|
-
}[] | undefined;
|
|
300
|
-
type?: string | undefined;
|
|
301
|
-
}[] | undefined;
|
|
302
|
-
documents?: {
|
|
303
|
-
id?: number | undefined;
|
|
304
|
-
name?: string | undefined;
|
|
305
|
-
url?: string | undefined;
|
|
306
|
-
description?: string | null | undefined;
|
|
307
|
-
meta?: string | null | undefined;
|
|
308
|
-
}[] | undefined;
|
|
309
|
-
track?: {
|
|
310
|
-
channel: string | number;
|
|
311
|
-
} | undefined;
|
|
312
|
-
access?: boolean | undefined;
|
|
313
|
-
};
|
|
314
|
-
}>;
|
|
315
|
-
livePresentations: import("vue").Ref<{
|
|
316
|
-
[key: string]: Presentation;
|
|
317
|
-
}>;
|
|
318
|
-
playerConference: import("vue").Ref<Conference | undefined>;
|
|
319
|
-
selectedContent: import("vue").Ref<{}>;
|
|
320
|
-
chatroomId: import("vue").Ref<string>;
|
|
321
|
-
getlivePresentations: import("vue").ComputedRef<{
|
|
322
|
-
[key: string]: Presentation;
|
|
323
|
-
}>;
|
|
324
|
-
setIsPlayerVisible: (payload: boolean) => void;
|
|
325
|
-
setSelectedPresentation: (payload: PlayerPresentation) => void;
|
|
326
|
-
setLivePresentations: (payload: {
|
|
327
|
-
[key: string]: Presentation;
|
|
328
|
-
}) => void;
|
|
329
|
-
setSelectedConference: (payload: Conference) => void;
|
|
330
|
-
setSelectedConferenceAccess: (payload: boolean) => void;
|
|
331
|
-
setSelectedContent: (payload: {}) => void;
|
|
332
|
-
setChatroomId: (payload: string) => void;
|
|
333
|
-
updateSelectedPresentationAccess: (payload: boolean) => void;
|
|
334
|
-
}, "getlivePresentations">, Pick<{
|
|
335
|
-
isPlayerVisible: import("vue").Ref<boolean>;
|
|
336
|
-
playerPresentation: import("vue").Ref<{
|
|
337
|
-
player_type: string;
|
|
338
|
-
data: {
|
|
339
|
-
captions_url?: string | null | undefined;
|
|
340
|
-
date?: string | undefined;
|
|
341
|
-
date_visible?: boolean | undefined;
|
|
342
|
-
description?: string | null | undefined;
|
|
343
|
-
duration?: number | null | undefined;
|
|
344
|
-
embed_html?: string | null | undefined;
|
|
345
|
-
external_type?: string | null | undefined;
|
|
346
|
-
id?: number | undefined;
|
|
347
|
-
is_live?: boolean | undefined;
|
|
348
|
-
name?: string | undefined;
|
|
349
|
-
portal_id?: number | undefined;
|
|
350
|
-
type?: import("../models/conference").PresentationType | undefined;
|
|
351
|
-
video_url?: string | null | undefined;
|
|
352
|
-
photo?: string | boolean | undefined;
|
|
353
|
-
visible?: boolean | undefined;
|
|
354
|
-
zoom_meeting_id?: string | null | undefined;
|
|
355
|
-
zoom_meeting_password?: string | null | undefined;
|
|
356
|
-
zoom_require_password?: boolean | undefined;
|
|
357
|
-
presenters?: {
|
|
358
|
-
biography?: string | null | undefined;
|
|
359
|
-
client_id?: number | undefined;
|
|
360
|
-
company?: string | null | undefined;
|
|
361
|
-
designations?: string | null | undefined;
|
|
362
|
-
email?: string | null | undefined;
|
|
363
|
-
facebook_url?: string | null | undefined;
|
|
364
|
-
first_name?: string | null | undefined;
|
|
365
|
-
id?: number | undefined;
|
|
366
|
-
last_name?: string | null | undefined;
|
|
367
|
-
level?: string | null | undefined;
|
|
368
|
-
linkedin_url?: string | null | undefined;
|
|
369
|
-
order?: number | undefined;
|
|
370
|
-
photo?: string | null | undefined;
|
|
371
|
-
role?: string | undefined;
|
|
372
|
-
title?: string | null | undefined;
|
|
373
|
-
twitter_url?: string | null | undefined;
|
|
374
|
-
website?: string | null | undefined;
|
|
375
|
-
youtube_url?: string | null | undefined;
|
|
376
|
-
presentationId?: number | null | undefined;
|
|
377
|
-
}[] | undefined;
|
|
378
|
-
sponsors?: {
|
|
379
|
-
id?: number | undefined;
|
|
380
|
-
name?: string | undefined;
|
|
381
|
-
label?: string | undefined;
|
|
382
|
-
photo?: string | undefined;
|
|
383
|
-
vanity?: boolean | undefined;
|
|
384
|
-
website?: string | undefined;
|
|
385
|
-
level?: number | undefined;
|
|
386
|
-
role?: string | undefined;
|
|
387
|
-
}[] | undefined;
|
|
388
|
-
tracks?: {
|
|
389
|
-
access?: boolean | undefined;
|
|
390
|
-
channel?: number | undefined;
|
|
391
|
-
date?: string | undefined;
|
|
392
|
-
id?: number | undefined;
|
|
393
|
-
live_stream_id?: number | undefined;
|
|
394
|
-
name?: string | undefined;
|
|
395
|
-
presentations?: {
|
|
396
|
-
captions_url?: string | null | undefined;
|
|
397
|
-
date?: string | undefined;
|
|
398
|
-
date_visible?: boolean | undefined;
|
|
399
|
-
description?: string | null | undefined;
|
|
400
|
-
duration?: number | null | undefined;
|
|
401
|
-
embed_html?: string | null | undefined;
|
|
402
|
-
external_type?: string | null | undefined;
|
|
403
|
-
id?: number | undefined;
|
|
404
|
-
is_live?: boolean | undefined;
|
|
405
|
-
name?: string | undefined;
|
|
406
|
-
portal_id?: number | undefined;
|
|
407
|
-
type?: import("../models/conference").PresentationType | undefined;
|
|
408
|
-
video_url?: string | null | undefined;
|
|
409
|
-
photo?: string | boolean | undefined;
|
|
410
|
-
visible?: boolean | undefined;
|
|
411
|
-
zoom_meeting_id?: string | null | undefined;
|
|
412
|
-
zoom_meeting_password?: string | null | undefined;
|
|
413
|
-
zoom_require_password?: boolean | undefined;
|
|
414
|
-
presenters?: {
|
|
415
|
-
biography?: string | null | undefined;
|
|
416
|
-
client_id?: number | undefined;
|
|
417
|
-
company?: string | null | undefined;
|
|
418
|
-
designations?: string | null | undefined;
|
|
419
|
-
email?: string | null | undefined;
|
|
420
|
-
facebook_url?: string | null | undefined;
|
|
421
|
-
first_name?: string | null | undefined;
|
|
422
|
-
id?: number | undefined;
|
|
423
|
-
last_name?: string | null | undefined;
|
|
424
|
-
level?: string | null | undefined;
|
|
425
|
-
linkedin_url?: string | null | undefined;
|
|
426
|
-
order?: number | undefined;
|
|
427
|
-
photo?: string | null | undefined;
|
|
428
|
-
role?: string | undefined;
|
|
429
|
-
title?: string | null | undefined;
|
|
430
|
-
twitter_url?: string | null | undefined;
|
|
431
|
-
website?: string | null | undefined;
|
|
432
|
-
youtube_url?: string | null | undefined;
|
|
433
|
-
presentationId?: number | null | undefined;
|
|
434
|
-
}[] | undefined;
|
|
435
|
-
sponsors?: {
|
|
436
|
-
id?: number | undefined;
|
|
437
|
-
name?: string | undefined;
|
|
438
|
-
label?: string | undefined;
|
|
439
|
-
photo?: string | undefined;
|
|
440
|
-
vanity?: boolean | undefined;
|
|
441
|
-
website?: string | undefined;
|
|
442
|
-
level?: number | undefined;
|
|
443
|
-
role?: string | undefined;
|
|
444
|
-
}[] | undefined;
|
|
445
|
-
tracks?: any[] | undefined;
|
|
446
|
-
documents?: {
|
|
447
|
-
id?: number | undefined;
|
|
448
|
-
name?: string | undefined;
|
|
449
|
-
url?: string | undefined;
|
|
450
|
-
description?: string | null | undefined;
|
|
451
|
-
meta?: string | null | undefined;
|
|
452
|
-
}[] | undefined;
|
|
453
|
-
}[] | undefined;
|
|
454
|
-
sponsors?: {
|
|
455
|
-
id?: number | undefined;
|
|
456
|
-
name?: string | undefined;
|
|
457
|
-
label?: string | undefined;
|
|
458
|
-
photo?: string | undefined;
|
|
459
|
-
vanity?: boolean | undefined;
|
|
460
|
-
website?: string | undefined;
|
|
461
|
-
level?: number | undefined;
|
|
462
|
-
role?: string | undefined;
|
|
463
|
-
}[] | undefined;
|
|
464
|
-
type?: string | undefined;
|
|
465
|
-
}[] | undefined;
|
|
466
|
-
documents?: {
|
|
467
|
-
id?: number | undefined;
|
|
468
|
-
name?: string | undefined;
|
|
469
|
-
url?: string | undefined;
|
|
470
|
-
description?: string | null | undefined;
|
|
471
|
-
meta?: string | null | undefined;
|
|
472
|
-
}[] | undefined;
|
|
473
|
-
track?: {
|
|
474
|
-
channel: string | number;
|
|
475
|
-
} | undefined;
|
|
476
|
-
access?: boolean | undefined;
|
|
477
|
-
};
|
|
478
|
-
}>;
|
|
479
|
-
livePresentations: import("vue").Ref<{
|
|
480
|
-
[key: string]: Presentation;
|
|
481
|
-
}>;
|
|
482
|
-
playerConference: import("vue").Ref<Conference | undefined>;
|
|
483
|
-
selectedContent: import("vue").Ref<{}>;
|
|
484
|
-
chatroomId: import("vue").Ref<string>;
|
|
485
|
-
getlivePresentations: import("vue").ComputedRef<{
|
|
486
|
-
[key: string]: Presentation;
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import type { Conference, PlayerPresentation } from '../models/conference';
|
|
3
|
+
type PlayerConfigStore = {
|
|
4
|
+
isPlayerVisible: Ref<boolean>;
|
|
5
|
+
playerPresentation: Ref<PlayerPresentation>;
|
|
6
|
+
livePresentations: Ref<{
|
|
7
|
+
[key: number]: number;
|
|
8
|
+
}>;
|
|
9
|
+
playerConference: Ref<Conference>;
|
|
10
|
+
selectedContent: Ref<{}>;
|
|
11
|
+
chatroomId: Ref<string>;
|
|
12
|
+
getlivePresentations: Ref<{
|
|
13
|
+
[key: number]: number;
|
|
487
14
|
}>;
|
|
488
15
|
setIsPlayerVisible: (payload: boolean) => void;
|
|
489
16
|
setSelectedPresentation: (payload: PlayerPresentation) => void;
|
|
490
17
|
setLivePresentations: (payload: {
|
|
491
|
-
[key:
|
|
18
|
+
[key: number]: number;
|
|
492
19
|
}) => void;
|
|
493
20
|
setSelectedConference: (payload: Conference) => void;
|
|
494
21
|
setSelectedConferenceAccess: (payload: boolean) => void;
|
|
495
22
|
setSelectedContent: (payload: {}) => void;
|
|
496
23
|
setChatroomId: (payload: string) => void;
|
|
497
24
|
updateSelectedPresentationAccess: (payload: boolean) => void;
|
|
498
|
-
}
|
|
25
|
+
};
|
|
26
|
+
export declare const usePlayerConfigStore: import("pinia").StoreDefinition<"playerConfig", import("pinia")._UnwrapAll<Pick<PlayerConfigStore, "selectedContent" | "isPlayerVisible" | "playerPresentation" | "livePresentations" | "playerConference" | "chatroomId" | "getlivePresentations">>, Pick<PlayerConfigStore, never>, Pick<PlayerConfigStore, "setIsPlayerVisible" | "setSelectedPresentation" | "setLivePresentations" | "setSelectedConference" | "setSelectedConferenceAccess" | "setSelectedContent" | "setChatroomId" | "updateSelectedPresentationAccess">>;
|
|
27
|
+
export {};
|
|
@@ -2,9 +2,9 @@ import { ref, computed } from "vue";
|
|
|
2
2
|
import { defineStore } from "pinia";
|
|
3
3
|
export const usePlayerConfigStore = defineStore("playerConfig", () => {
|
|
4
4
|
const isPlayerVisible = ref(false);
|
|
5
|
-
const playerPresentation = ref({});
|
|
5
|
+
const playerPresentation = ref({ "player_type": "", "data": {} });
|
|
6
6
|
const livePresentations = ref({});
|
|
7
|
-
const playerConference = ref();
|
|
7
|
+
const playerConference = ref({});
|
|
8
8
|
const selectedContent = ref({});
|
|
9
9
|
const chatroomId = ref("");
|
|
10
10
|
const getlivePresentations = computed(() => {
|
|
@@ -5,5 +5,5 @@ export interface NavigationConfigState {
|
|
|
5
5
|
export declare const useNavigationConfigStore: import("pinia").StoreDefinition<"navigationConfig", NavigationConfigState, {
|
|
6
6
|
getEnabled: (state: NavigationConfigState) => (sorted?: boolean) => NavigationConfig[];
|
|
7
7
|
}, {
|
|
8
|
-
setNavigationConfig(payload: any): Promise<
|
|
8
|
+
setNavigationConfig(payload: any): Promise<NavigationConfig[]>;
|
|
9
9
|
}>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Presentation } from "../models/conference";
|
|
2
2
|
import { SelectedContent } from "../enums/general";
|
|
3
3
|
export interface PresentationsState {
|
|
4
|
-
currentPresentation:
|
|
5
|
-
selectedPresentation:
|
|
4
|
+
currentPresentation: Presentation;
|
|
5
|
+
selectedPresentation: Presentation;
|
|
6
6
|
selectedContent: {
|
|
7
7
|
label: string;
|
|
8
8
|
type: SelectedContent;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import type { TemplateConfig } from "../models/templateConfig";
|
|
2
|
-
import { NestedKeyOf, Pages } from "../models/pagesConfig";
|
|
3
|
-
import { GlobalConfigKey, GlobalConfigKeyType } from "../models/globalConfig";
|
|
2
|
+
import type { NestedKeyOf, Pages } from "../models/pagesConfig";
|
|
3
|
+
import type { GlobalConfigKey, GlobalConfigKeyType } from "../models/globalConfig";
|
|
4
4
|
import type { Conference } from "../models/conference";
|
|
5
|
-
import { VirtualPages } from "../models/virtualPagesConfig";
|
|
5
|
+
import type { VirtualPages } from "../models/virtualPagesConfig";
|
|
6
6
|
export interface TemplateConfigState {
|
|
7
|
-
portalConfig:
|
|
8
|
-
currentConferenceConfig:
|
|
7
|
+
portalConfig: TemplateConfig;
|
|
8
|
+
currentConferenceConfig: TemplateConfig;
|
|
9
9
|
conferences: {
|
|
10
10
|
[key: string]: TemplateConfig;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
export declare const useTemplateConfigsStore: import("pinia").StoreDefinition<"templateConfigs", TemplateConfigState, {
|
|
14
14
|
globalConfigValue: (state: TemplateConfigState) => (path: GlobalConfigKey, defaultValue?: any) => any;
|
|
15
|
-
globalConfig: (state: TemplateConfigState) => <T extends
|
|
15
|
+
globalConfig: (state: TemplateConfigState) => <T extends GlobalConfigKey>(path: T, defaultValue?: any) => GlobalConfigKeyType<T>;
|
|
16
16
|
pagesConfigValue: (state: TemplateConfigState) => (path: NestedKeyOf<Pages | VirtualPages>, defaultValue?: any, conferenceId?: number) => any;
|
|
17
17
|
}, {
|
|
18
18
|
setPortalTemplateConfig(payload: any): Promise<TemplateConfig>;
|
|
@@ -3,8 +3,8 @@ import { forEach, forIn, get, find } from "lodash-es";
|
|
|
3
3
|
import { useConferencesStore } from "./conferences.mjs";
|
|
4
4
|
export const useTemplateConfigsStore = defineStore("templateConfigs", {
|
|
5
5
|
state: () => ({
|
|
6
|
-
portalConfig:
|
|
7
|
-
currentConferenceConfig:
|
|
6
|
+
portalConfig: {},
|
|
7
|
+
currentConferenceConfig: {},
|
|
8
8
|
conferences: {}
|
|
9
9
|
}),
|
|
10
10
|
getters: {
|
|
@@ -25,10 +25,10 @@ export const useTemplateConfigsStore = defineStore("templateConfigs", {
|
|
|
25
25
|
pagesConfigValue: (state) => {
|
|
26
26
|
return (path, defaultValue = null, conferenceId) => {
|
|
27
27
|
const { currentConference } = useConferencesStore();
|
|
28
|
-
if (conferenceId && conferenceId !== currentConference
|
|
28
|
+
if (conferenceId && conferenceId !== currentConference?.id) {
|
|
29
29
|
const conference = find(state.conferences, { id: conferenceId });
|
|
30
30
|
return get(conference, `pages.${path}.value`, defaultValue);
|
|
31
|
-
} else if (state.currentConferenceConfig && (!conferenceId || conferenceId && conferenceId === currentConference
|
|
31
|
+
} else if ("pages" in state.currentConferenceConfig && (!conferenceId || conferenceId && conferenceId === currentConference?.id)) {
|
|
32
32
|
return get(
|
|
33
33
|
state.currentConferenceConfig,
|
|
34
34
|
`pages.${path}.value`,
|
|
@@ -42,8 +42,8 @@ export const useTemplateConfigsStore = defineStore("templateConfigs", {
|
|
|
42
42
|
},
|
|
43
43
|
actions: {
|
|
44
44
|
setPortalTemplateConfig(payload) {
|
|
45
|
-
return new Promise((
|
|
46
|
-
const config = { global: {}, misc: {}, pages: {}
|
|
45
|
+
return new Promise(() => {
|
|
46
|
+
const config = { "global": {}, "misc": {}, "pages": {} };
|
|
47
47
|
forEach(payload.global[0].content, function(value) {
|
|
48
48
|
config.global[value.name] = value;
|
|
49
49
|
});
|