@icvdeveloper/common-module 1.4.14 → 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.
- package/CHANGELOG.md +4 -0
- package/dist/module.d.mts +1051 -2
- package/dist/module.d.ts +1051 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +29 -15
- package/dist/runtime/@types/components.d.ts +22 -0
- package/dist/runtime/@types/configVariables.d.ts +6 -0
- package/dist/runtime/analytics.d.ts +1 -6
- 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 -705
- package/dist/runtime/assets/svg/icon-minus.svg +6 -0
- package/dist/runtime/assets/svg/icon-video.svg +6 -0
- package/dist/runtime/components/affiliates/AffiliateModal.vue +66 -0
- package/dist/runtime/components/affiliates/AffiliatePage.vue +329 -159
- package/dist/runtime/components/agenda/AgendaList.vue +18 -14
- package/dist/runtime/components/agenda/AgendaTabbed.vue +60 -54
- package/dist/runtime/components/agenda/components/AgendaListAccordion.vue +8 -3
- package/dist/runtime/components/agenda/components/Calendar.vue +23 -18
- package/dist/runtime/components/agenda/components/Favorite.vue +46 -0
- package/dist/runtime/components/agenda/components/InfoLink.vue +15 -5
- package/dist/runtime/components/agenda/components/PlayIcon.vue +3 -5
- package/dist/runtime/components/agenda/components/PresentationLink.vue +37 -19
- 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 +108 -0
- package/dist/runtime/components/chat/ChatCreateConversation.vue +199 -0
- package/dist/runtime/components/chat/ChatCreateGroupConversation.vue +154 -0
- package/dist/runtime/components/chat/ChatHeader.vue +97 -0
- package/dist/runtime/components/chat/ChatMessage.vue +40 -0
- package/dist/runtime/components/chat/ChatShowConversation.vue +76 -0
- package/dist/runtime/components/chat/ChatWidget.vue +40 -0
- package/dist/runtime/components/chat/ChatWindow.vue +154 -0
- package/dist/runtime/components/chat/ChatWindow.vue.d.ts +6 -0
- package/dist/runtime/components/chat/MessageInput.vue +27 -0
- package/dist/runtime/components/chat/SearchInput.vue +32 -0
- package/dist/runtime/components/core/Accordion.vue +12 -12
- package/dist/runtime/components/core/AttendeeList.vue +31 -36
- package/dist/runtime/components/core/CountdownTimer.vue +68 -52
- package/dist/runtime/components/core/DynamicHtml.vue.d.ts +6 -9
- package/dist/runtime/components/core/Modal.vue +24 -22
- package/dist/runtime/components/core/ModalButton.vue +43 -0
- package/dist/runtime/components/core/Navbar.vue +33 -21
- package/dist/runtime/components/core/Navigation.vue +286 -0
- package/dist/runtime/components/core/SvgIcon.vue +34 -1
- package/dist/runtime/components/core/VButton.vue +35 -0
- 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 +21 -22
- package/dist/runtime/components/forms/CheckboxGroup.vue +46 -0
- package/dist/runtime/components/forms/ErrorField.vue +11 -2
- package/dist/runtime/components/forms/Message.vue +1 -1
- package/dist/runtime/components/forms/RadioGroup.vue +50 -0
- package/dist/runtime/components/forms/SearchInput.vue +8 -2
- package/dist/runtime/components/forms/SelectDropDown.vue +47 -0
- package/dist/runtime/components/forms/SupportForm.vue +22 -11
- 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 +11 -6
- package/dist/runtime/components/media/ArchivePlayerAndContentContainer.vue +24 -5
- package/dist/runtime/components/media/ArchiveVideoPlayer.vue +19 -23
- package/dist/runtime/components/media/PlayerAndContentContainer.vue +4 -1
- package/dist/runtime/components/media/WebcastVideoPlayer.vue +6 -18
- package/dist/runtime/components/media/components/AgendaPanel.vue +7 -6
- package/dist/runtime/components/media/components/ArchiveMediaContainer.vue +17 -15
- package/dist/runtime/components/media/components/CeCreditNotification.vue +8 -8
- package/dist/runtime/components/media/components/ContentArea.vue +59 -18
- package/dist/runtime/components/media/components/ContentTabs.vue +40 -28
- package/dist/runtime/components/media/components/DocumentsPanel.vue +19 -17
- package/dist/runtime/components/media/components/MediaContainer.vue +11 -13
- package/dist/runtime/components/media/components/OverviewPanel.vue +5 -2
- package/dist/runtime/components/media/components/PresentersPanel.vue +74 -55
- package/dist/runtime/components/media/components/SessionReporting.vue +5 -4
- package/dist/runtime/components/media/components/SponsorsPanel.vue +13 -12
- package/dist/runtime/components/presenters/PresenterListing.vue +33 -25
- package/dist/runtime/components/presenters/PresenterModal.vue +26 -21
- package/dist/runtime/components/presenters/Presenters.vue +139 -0
- package/dist/runtime/components/profile/Profile.vue +10 -6
- package/dist/runtime/components/profile/components/Sidebar.vue +1 -1
- package/dist/runtime/components/profile/components/SidebarNavItem.vue +2 -4
- package/dist/runtime/components/profile/tabs/Favorites.vue +5 -4
- package/dist/runtime/components/profile/tabs/GeneralInformation.vue +26 -16
- package/dist/runtime/components/profile/tabs/ProfileImage.vue +7 -6
- package/dist/runtime/components/registration/AlreadyRegisteredModal.vue +102 -0
- package/dist/runtime/components/registration/PaymentForm.vue +136 -0
- package/dist/runtime/components/registration/RegistrationForm.vue +417 -0
- package/dist/runtime/components/registration/RegistrationGroupSelect.vue +146 -0
- package/dist/runtime/components/registration/StripePaymentForm.vue +121 -0
- 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 +13 -1
- package/dist/runtime/composables/useAgenda.mjs +125 -25
- package/dist/runtime/composables/useApi.d.ts +1 -1
- package/dist/runtime/composables/useAuth.d.ts +1 -1
- package/dist/runtime/composables/useAuth.mjs +1 -1
- package/dist/runtime/composables/useClassBinding.d.ts +3 -1
- package/dist/runtime/composables/useConferenceHelpers.d.ts +7 -3
- package/dist/runtime/composables/useConferenceHelpers.mjs +26 -15
- package/dist/runtime/composables/useEventHooks.d.ts +29 -0
- package/dist/runtime/composables/useEventHooks.mjs +21 -0
- package/dist/runtime/composables/useEvents.d.ts +17 -1
- package/dist/runtime/composables/useEvents.mjs +35 -9
- package/dist/runtime/composables/useLogin.mjs +9 -5
- 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 +8 -7
- package/dist/runtime/composables/usePresenter.d.ts +2 -2
- package/dist/runtime/composables/usePresenters.d.ts +2 -2
- package/dist/runtime/composables/usePusher.d.ts +4 -0
- package/dist/runtime/composables/usePusher.mjs +38 -26
- package/dist/runtime/composables/useScripts.mjs +1 -1
- package/dist/runtime/composables/useStream.d.ts +2 -3
- package/dist/runtime/composables/useStream.mjs +8 -2
- package/dist/runtime/composables/useUcc.d.ts +1 -1
- package/dist/runtime/composables/useUcc.mjs +29 -23
- package/dist/runtime/enums/general.d.ts +4 -1
- package/dist/runtime/enums/general.mjs +4 -1
- 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 +122 -91
- package/dist/runtime/models/conversation.d.ts +11 -13
- package/dist/runtime/models/document.d.ts +5 -5
- package/dist/runtime/models/globalConfig.d.ts +9 -3
- package/dist/runtime/models/group.d.ts +38 -8
- package/dist/runtime/models/icons.d.ts +8 -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 +13 -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 +25 -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 +223 -0
- package/dist/runtime/models/virtualPagesConfig.mjs +0 -0
- package/dist/runtime/plugin.mjs +18 -9
- package/dist/runtime/store/affiliates.d.ts +4 -1
- package/dist/runtime/store/affiliates.mjs +38 -0
- package/dist/runtime/store/attendeeList.d.ts +1 -1
- package/dist/runtime/store/auth.d.ts +3 -7
- package/dist/runtime/store/auth.mjs +6 -0
- package/dist/runtime/store/conferences.d.ts +3 -1
- package/dist/runtime/store/conferences.mjs +14 -9
- package/dist/runtime/store/conversations.d.ts +78 -10
- package/dist/runtime/store/conversations.mjs +255 -22
- package/dist/runtime/store/modalPlayerConfig.d.ts +27 -0
- package/dist/runtime/store/modalPlayerConfig.mjs +58 -0
- 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 +7 -6
- package/dist/runtime/store/templateConfigs.mjs +7 -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 +12 -9
- 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/PresentersPanel.vue.d.ts +0 -32
- 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 -16
- /package/dist/runtime/{models/authUser.mjs → assets/scss/_footer.css} +0 -0
|
@@ -1,26 +1,259 @@
|
|
|
1
|
+
import { ref, computed } from "vue";
|
|
1
2
|
import { defineStore } from "pinia";
|
|
2
3
|
import { useApi } from "../composables/useApi.mjs";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
4
|
+
export const useConversationStore = defineStore("conversations", () => {
|
|
5
|
+
const chatOpen = ref(false);
|
|
6
|
+
const conversations = ref([]);
|
|
7
|
+
const selectedConversation = ref({});
|
|
8
|
+
const attendeeList = ref({
|
|
9
|
+
page: 1,
|
|
10
|
+
lastPage: null,
|
|
11
|
+
data: []
|
|
12
|
+
});
|
|
13
|
+
const users = ref({
|
|
14
|
+
page: 1,
|
|
15
|
+
lastPage: null,
|
|
16
|
+
data: []
|
|
17
|
+
});
|
|
18
|
+
const onlineUsers = ref({
|
|
19
|
+
data: []
|
|
20
|
+
});
|
|
21
|
+
const user = ref({
|
|
22
|
+
data: {},
|
|
23
|
+
errors: []
|
|
24
|
+
});
|
|
25
|
+
const favorites = ref({
|
|
26
|
+
data: [],
|
|
27
|
+
errors: []
|
|
28
|
+
});
|
|
29
|
+
const usersResultsPage = ref(1);
|
|
30
|
+
const attendeesResultsPage = ref(1);
|
|
31
|
+
const prevSearch = ref("");
|
|
32
|
+
const isInitial = ref(true);
|
|
33
|
+
const getConversations = computed(() => {
|
|
34
|
+
return conversations.value;
|
|
35
|
+
});
|
|
36
|
+
const getUsers = computed(() => {
|
|
37
|
+
return users.value;
|
|
38
|
+
});
|
|
39
|
+
const getSelectedConversation = computed(() => {
|
|
40
|
+
return selectedConversation.value;
|
|
41
|
+
});
|
|
42
|
+
const getUser = computed(() => {
|
|
43
|
+
return user.value;
|
|
44
|
+
});
|
|
45
|
+
const getFavorites = computed(() => {
|
|
46
|
+
return favorites.value;
|
|
47
|
+
});
|
|
48
|
+
const getOnlineUsers = computed(() => {
|
|
49
|
+
if (onlineUsers.value) {
|
|
50
|
+
return onlineUsers.value.data;
|
|
24
51
|
}
|
|
25
|
-
|
|
52
|
+
return [];
|
|
53
|
+
});
|
|
54
|
+
const getName = (user2) => {
|
|
55
|
+
return user2.name ? user2.name : user2.email;
|
|
56
|
+
};
|
|
57
|
+
const hasConversation = (id) => {
|
|
58
|
+
if (conversations.value) {
|
|
59
|
+
return conversations.value.filter((conversation) => conversation.id == id);
|
|
60
|
+
}
|
|
61
|
+
return [];
|
|
62
|
+
};
|
|
63
|
+
const hasFavorite = (presId) => {
|
|
64
|
+
return favorites.value.data.find(({ favorite }) => favorite.id === presId) ?? [];
|
|
65
|
+
};
|
|
66
|
+
const commitConversations = (payload) => {
|
|
67
|
+
conversations.value = payload;
|
|
68
|
+
console.log("conversations", conversations.value);
|
|
69
|
+
};
|
|
70
|
+
const commitConversation = (payload) => {
|
|
71
|
+
conversations.value.push(payload);
|
|
72
|
+
console.log("conversation", conversations.value[conversations.value.length - 1]);
|
|
73
|
+
};
|
|
74
|
+
const commitUsers = (payload) => {
|
|
75
|
+
console.log("committing users");
|
|
76
|
+
users.value.data.push(...payload.data);
|
|
77
|
+
users.value.page = payload.meta.current_page;
|
|
78
|
+
users.value.lastPage = payload.meta.last_page;
|
|
79
|
+
};
|
|
80
|
+
const commitAttendeeList = (payload) => {
|
|
81
|
+
console.log("committing attendee list");
|
|
82
|
+
attendeeList.value.data.push(...payload.data);
|
|
83
|
+
attendeeList.value.page = payload.meta.current_page;
|
|
84
|
+
attendeeList.value.lastPage = payload.meta.last_page;
|
|
85
|
+
};
|
|
86
|
+
const setRemoteUserOnline = (payload) => {
|
|
87
|
+
users.value.data.map(function(user2, index) {
|
|
88
|
+
if (user2.id === payload) {
|
|
89
|
+
user2.online = true;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
const setRemoteUserOffline = (payload) => {
|
|
94
|
+
users.value.data.map(function(user2, index) {
|
|
95
|
+
if (user2.id === payload) {
|
|
96
|
+
user2.online = false;
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
};
|
|
100
|
+
const clearUsers = () => {
|
|
101
|
+
usersResultsPage.value = 1;
|
|
102
|
+
isInitial.value = true;
|
|
103
|
+
users.value.data = [];
|
|
104
|
+
};
|
|
105
|
+
const clearAttendeeList = () => {
|
|
106
|
+
attendeesResultsPage.value = 1;
|
|
107
|
+
isInitial.value = true;
|
|
108
|
+
attendeeList.value.data = [];
|
|
109
|
+
};
|
|
110
|
+
const commitSelectedConversation = (payload) => {
|
|
111
|
+
selectedConversation.value = payload;
|
|
112
|
+
};
|
|
113
|
+
const commitMessage = (payload) => {
|
|
114
|
+
selectedConversation?.value?.messages?.push(payload);
|
|
115
|
+
};
|
|
116
|
+
const commitChatOpen = (payload) => {
|
|
117
|
+
chatOpen.value = payload;
|
|
118
|
+
};
|
|
119
|
+
const commitFavorites = (payload) => {
|
|
120
|
+
favorites.value.data = payload;
|
|
121
|
+
};
|
|
122
|
+
const commitOnlineUsers = (payload) => {
|
|
123
|
+
onlineUsers.value.data = payload;
|
|
124
|
+
};
|
|
125
|
+
const commitOnlineUser = (payload) => {
|
|
126
|
+
onlineUsers.value.data.push(payload);
|
|
127
|
+
};
|
|
128
|
+
const removeOnlineUser = (payload) => {
|
|
129
|
+
const removedUserIndex = onlineUsers.value.data.indexOf(payload);
|
|
130
|
+
onlineUsers.value.data = onlineUsers.value.data.splice(removedUserIndex, 1);
|
|
131
|
+
};
|
|
132
|
+
const getConversationsApi = async () => {
|
|
133
|
+
const apiUrl = `conversations?timestamp=${(/* @__PURE__ */ new Date()).getTime()}`;
|
|
134
|
+
const request = useApi();
|
|
135
|
+
await request(apiUrl).then((response) => {
|
|
136
|
+
commitConversations(response.data);
|
|
137
|
+
});
|
|
138
|
+
};
|
|
139
|
+
const getUsersApi = async (search2, page = 1, isAttendeeList = false) => {
|
|
140
|
+
console.log("search", search2);
|
|
141
|
+
const apiUrl = "users";
|
|
142
|
+
const request = useApi();
|
|
143
|
+
let usersResponse;
|
|
144
|
+
if (page != void 0 || search2 != void 0) {
|
|
145
|
+
usersResponse = await request(apiUrl, { params: { page, search: search2 } });
|
|
146
|
+
!isAttendeeList ? commitUsers(usersResponse) : commitAttendeeList(usersResponse);
|
|
147
|
+
console.log("getUsersApi response (with search params)", usersResponse);
|
|
148
|
+
} else {
|
|
149
|
+
usersResponse = await request(apiUrl);
|
|
150
|
+
!isAttendeeList ? commitUsers(usersResponse) : commitAttendeeList(usersResponse);
|
|
151
|
+
console.log("getUsersApi response (without search params)", usersResponse);
|
|
152
|
+
}
|
|
153
|
+
return usersResponse;
|
|
154
|
+
};
|
|
155
|
+
const getFavoritesApi = async () => {
|
|
156
|
+
const apiUrl = "presentations/favorites?a=" + Date.now();
|
|
157
|
+
const request = useApi();
|
|
158
|
+
await request(apiUrl).then((response) => {
|
|
159
|
+
commitFavorites(response.data);
|
|
160
|
+
});
|
|
161
|
+
};
|
|
162
|
+
const hideConversation = async (conversation) => {
|
|
163
|
+
const apiUrl = `conversations/${conversation.id}/hide`;
|
|
164
|
+
const request = useApi();
|
|
165
|
+
await request(apiUrl, { method: "POST" }).then(() => {
|
|
166
|
+
getConversationsApi();
|
|
167
|
+
});
|
|
168
|
+
};
|
|
169
|
+
const setConversationRead = async (conversation) => {
|
|
170
|
+
const apiUrl = "conversations/" + conversation.id + "/read";
|
|
171
|
+
const request = useApi();
|
|
172
|
+
await request(apiUrl, { method: "POST" });
|
|
173
|
+
};
|
|
174
|
+
const createConversation = async (users2) => {
|
|
175
|
+
console.log("creating conversation with users: ", users2);
|
|
176
|
+
const apiUrl = "conversations";
|
|
177
|
+
const request = useApi();
|
|
178
|
+
await request(apiUrl, {
|
|
179
|
+
method: "POST",
|
|
180
|
+
body: {
|
|
181
|
+
users: users2
|
|
182
|
+
}
|
|
183
|
+
}).then((response) => {
|
|
184
|
+
commitSelectedConversation(response.data);
|
|
185
|
+
});
|
|
186
|
+
};
|
|
187
|
+
const sendMessage = async (message) => {
|
|
188
|
+
const apiUrl = `conversations/${selectedConversation?.value?.id}/messages`;
|
|
189
|
+
const request = useApi();
|
|
190
|
+
await request(apiUrl, {
|
|
191
|
+
method: "POST",
|
|
192
|
+
body: {
|
|
193
|
+
message
|
|
194
|
+
}
|
|
195
|
+
}).then((response) => {
|
|
196
|
+
commitMessage(response.data);
|
|
197
|
+
});
|
|
198
|
+
};
|
|
199
|
+
const search = async (query) => {
|
|
200
|
+
const apiUrl = "search";
|
|
201
|
+
const request = useApi();
|
|
202
|
+
await request(apiUrl, {
|
|
203
|
+
query
|
|
204
|
+
}).then((response) => {
|
|
205
|
+
return response.data;
|
|
206
|
+
});
|
|
207
|
+
};
|
|
208
|
+
const toggleChat = () => {
|
|
209
|
+
console.log("toggled chat");
|
|
210
|
+
chatOpen.value = !chatOpen.value;
|
|
211
|
+
};
|
|
212
|
+
return {
|
|
213
|
+
conversations,
|
|
214
|
+
selectedConversation,
|
|
215
|
+
attendeeList,
|
|
216
|
+
users,
|
|
217
|
+
user,
|
|
218
|
+
onlineUsers,
|
|
219
|
+
chatOpen,
|
|
220
|
+
favorites,
|
|
221
|
+
usersResultsPage,
|
|
222
|
+
attendeesResultsPage,
|
|
223
|
+
getConversations,
|
|
224
|
+
getUsers,
|
|
225
|
+
getSelectedConversation,
|
|
226
|
+
getUser,
|
|
227
|
+
getFavorites,
|
|
228
|
+
getOnlineUsers,
|
|
229
|
+
prevSearch,
|
|
230
|
+
isInitial,
|
|
231
|
+
getName,
|
|
232
|
+
hasConversation,
|
|
233
|
+
hasFavorite,
|
|
234
|
+
commitConversations,
|
|
235
|
+
commitConversation,
|
|
236
|
+
commitUsers,
|
|
237
|
+
commitAttendeeList,
|
|
238
|
+
setRemoteUserOffline,
|
|
239
|
+
setRemoteUserOnline,
|
|
240
|
+
clearUsers,
|
|
241
|
+
clearAttendeeList,
|
|
242
|
+
commitSelectedConversation,
|
|
243
|
+
commitMessage,
|
|
244
|
+
commitChatOpen,
|
|
245
|
+
commitFavorites,
|
|
246
|
+
commitOnlineUsers,
|
|
247
|
+
commitOnlineUser,
|
|
248
|
+
removeOnlineUser,
|
|
249
|
+
getConversationsApi,
|
|
250
|
+
getUsersApi,
|
|
251
|
+
getFavoritesApi,
|
|
252
|
+
hideConversation,
|
|
253
|
+
setConversationRead,
|
|
254
|
+
createConversation,
|
|
255
|
+
sendMessage,
|
|
256
|
+
search,
|
|
257
|
+
toggleChat
|
|
258
|
+
};
|
|
26
259
|
});
|
|
@@ -0,0 +1,27 @@
|
|
|
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;
|
|
14
|
+
}>;
|
|
15
|
+
setIsPlayerVisible: (payload: boolean) => void;
|
|
16
|
+
setSelectedPresentation: (payload: PlayerPresentation) => void;
|
|
17
|
+
setLivePresentations: (payload: {
|
|
18
|
+
[key: number]: number;
|
|
19
|
+
}) => void;
|
|
20
|
+
setSelectedConference: (payload: Conference) => void;
|
|
21
|
+
setSelectedConferenceAccess: (payload: boolean) => void;
|
|
22
|
+
setSelectedContent: (payload: {}) => void;
|
|
23
|
+
setChatroomId: (payload: string) => void;
|
|
24
|
+
updateSelectedPresentationAccess: (payload: boolean) => void;
|
|
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 {};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ref, computed } from "vue";
|
|
2
|
+
import { defineStore } from "pinia";
|
|
3
|
+
export const usePlayerConfigStore = defineStore("playerConfig", () => {
|
|
4
|
+
const isPlayerVisible = ref(false);
|
|
5
|
+
const playerPresentation = ref({});
|
|
6
|
+
const livePresentations = ref({});
|
|
7
|
+
const playerConference = ref({});
|
|
8
|
+
const selectedContent = ref({});
|
|
9
|
+
const chatroomId = ref("");
|
|
10
|
+
const getlivePresentations = computed(() => {
|
|
11
|
+
return livePresentations.value;
|
|
12
|
+
});
|
|
13
|
+
const setIsPlayerVisible = (payload) => {
|
|
14
|
+
isPlayerVisible.value = payload;
|
|
15
|
+
};
|
|
16
|
+
const setSelectedPresentation = (payload) => {
|
|
17
|
+
playerPresentation.value = payload;
|
|
18
|
+
};
|
|
19
|
+
const setLivePresentations = (payload) => {
|
|
20
|
+
livePresentations.value = Object.assign({}, payload);
|
|
21
|
+
};
|
|
22
|
+
const setSelectedConference = (payload) => {
|
|
23
|
+
playerConference.value = payload;
|
|
24
|
+
};
|
|
25
|
+
const setSelectedConferenceAccess = (payload) => {
|
|
26
|
+
if (playerConference.value) {
|
|
27
|
+
playerConference.value.access = payload;
|
|
28
|
+
} else {
|
|
29
|
+
console.log("playerConference.value unset, access cant be updated");
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
const setSelectedContent = (payload) => {
|
|
33
|
+
selectedContent.value = payload;
|
|
34
|
+
};
|
|
35
|
+
const setChatroomId = (payload) => {
|
|
36
|
+
chatroomId.value = payload;
|
|
37
|
+
};
|
|
38
|
+
const updateSelectedPresentationAccess = (payload) => {
|
|
39
|
+
playerPresentation.value.data.access = payload;
|
|
40
|
+
};
|
|
41
|
+
return {
|
|
42
|
+
isPlayerVisible,
|
|
43
|
+
playerPresentation,
|
|
44
|
+
livePresentations,
|
|
45
|
+
playerConference,
|
|
46
|
+
selectedContent,
|
|
47
|
+
chatroomId,
|
|
48
|
+
getlivePresentations,
|
|
49
|
+
setIsPlayerVisible,
|
|
50
|
+
setSelectedPresentation,
|
|
51
|
+
setLivePresentations,
|
|
52
|
+
setSelectedConference,
|
|
53
|
+
setSelectedConferenceAccess,
|
|
54
|
+
setSelectedContent,
|
|
55
|
+
setChatroomId,
|
|
56
|
+
updateSelectedPresentationAccess
|
|
57
|
+
};
|
|
58
|
+
});
|
|
@@ -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,19 @@
|
|
|
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 type { VirtualPages } from "../models/virtualPagesConfig";
|
|
5
6
|
export interface TemplateConfigState {
|
|
6
|
-
portalConfig:
|
|
7
|
-
currentConferenceConfig:
|
|
7
|
+
portalConfig: TemplateConfig;
|
|
8
|
+
currentConferenceConfig: TemplateConfig;
|
|
8
9
|
conferences: {
|
|
9
10
|
[key: string]: TemplateConfig;
|
|
10
11
|
};
|
|
11
12
|
}
|
|
12
13
|
export declare const useTemplateConfigsStore: import("pinia").StoreDefinition<"templateConfigs", TemplateConfigState, {
|
|
13
14
|
globalConfigValue: (state: TemplateConfigState) => (path: GlobalConfigKey, defaultValue?: any) => any;
|
|
14
|
-
globalConfig: (state: TemplateConfigState) => <T extends
|
|
15
|
-
pagesConfigValue: (state: TemplateConfigState) => (path: NestedKeyOf<Pages>, defaultValue?: any, conferenceId?: number) => any;
|
|
15
|
+
globalConfig: (state: TemplateConfigState) => <T extends GlobalConfigKey>(path: T, defaultValue?: any) => GlobalConfigKeyType<T>;
|
|
16
|
+
pagesConfigValue: (state: TemplateConfigState) => (path: NestedKeyOf<Pages | VirtualPages>, defaultValue?: any, conferenceId?: number) => any;
|
|
16
17
|
}, {
|
|
17
18
|
setPortalTemplateConfig(payload: any): Promise<TemplateConfig>;
|
|
18
19
|
setCurrentConferenceConfig(conferenceTemplateConfig: any): void;
|
|
@@ -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
|
});
|
|
@@ -57,6 +57,7 @@ export const useTemplateConfigsStore = defineStore("templateConfigs", {
|
|
|
57
57
|
});
|
|
58
58
|
config.pages[value.name] = pageContent;
|
|
59
59
|
});
|
|
60
|
+
config.meta = { ...payload._meta };
|
|
60
61
|
this.portalConfig = config;
|
|
61
62
|
});
|
|
62
63
|
},
|
package/dist/types.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { ModuleOptions } from './module'
|
|
2
|
+
import type { ModuleOptions } from './module.js'
|
|
3
|
+
|
|
3
4
|
|
|
4
5
|
declare module '@nuxt/schema' {
|
|
5
6
|
interface NuxtConfig { ['v3plusCommonModule']?: Partial<ModuleOptions> }
|
|
@@ -12,4 +13,4 @@ declare module 'nuxt/schema' {
|
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
|
|
15
|
-
export { ConferenceState, ModuleOptions, PresentationType, default } from './module'
|
|
16
|
+
export type { AdobeLaunchFunctions, Affiliate, AffiliateBoothLgConfigs, AffiliateBoothMedConfigs, AffiliateBoothSmallConfigs, AgendaPlayerPageConfigs, Analytics, ArchiveContentTabsVariable, ArchivePlayerPageConfigs, AttendeeList, AttendeeListResult, AttendeesConfigs, AuditoriumConfigs, AuthUser, CeCreditConfig, Conference, ConferenceState, ContentData, Conversation, Day, Document, EntryWayConfigs, ExhibitHallConfigs, ExhibitorPageConfigs, GlobalConfig, GlobalConfigKey, GlobalConfigKeyType, GlobalElements, Group, GroupVariable, Icon, Icons, Link, LoginParams, MainPageConfigs, MeetingsConfigs, Merchant, Message, MessagesRead, Meta, MiscElements, ModuleOptions, NavigationConfig, NestedKeyOf, NetworkingConfigs, PAGE_LENGTH, Pages, PagesElements, Pagination, PlayerContentTabsVariable, PlayerObj, PlayerPresentation, Portal, Presentation, PresentationType, Presenter, PresenterPageConfigs, PresenterWithPivot, PresentersConfigs, RegistrationField, RegistrationForm, RegistrationPageConfigs, ResourcesConfigs, SettingElements, Sponsor, SponsorsPageConfigs, Spotlight1Configs, Spotlight2Configs, SpotlightConfigs, Stream, SupportPageConfigs, TemplateConfig, Track, TrackGroup, User, UsersResult, Video, VirtualGlobal, VirtualMainPageConfigs, VirtualNestedKeyOf, VirtualPages, VirtualPresentation, WebcastPageConfigs, default } from './module.js'
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { ModuleOptions } from './module'
|
|
2
|
+
import type { ModuleOptions } from './module'
|
|
3
|
+
|
|
3
4
|
|
|
4
5
|
declare module '@nuxt/schema' {
|
|
5
6
|
interface NuxtConfig { ['v3plusCommonModule']?: Partial<ModuleOptions> }
|
|
@@ -12,4 +13,4 @@ declare module 'nuxt/schema' {
|
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
|
|
15
|
-
export { ConferenceState, ModuleOptions, PresentationType, default } from './module'
|
|
16
|
+
export type { AdobeLaunchFunctions, Affiliate, AffiliateBoothLgConfigs, AffiliateBoothMedConfigs, AffiliateBoothSmallConfigs, AgendaPlayerPageConfigs, Analytics, ArchiveContentTabsVariable, ArchivePlayerPageConfigs, AttendeeList, AttendeeListResult, AttendeesConfigs, AuditoriumConfigs, AuthUser, CeCreditConfig, Conference, ConferenceState, ContentData, Conversation, Day, Document, EntryWayConfigs, ExhibitHallConfigs, ExhibitorPageConfigs, GlobalConfig, GlobalConfigKey, GlobalConfigKeyType, GlobalElements, Group, GroupVariable, Icon, Icons, Link, LoginParams, MainPageConfigs, MeetingsConfigs, Merchant, Message, MessagesRead, Meta, MiscElements, ModuleOptions, NavigationConfig, NestedKeyOf, NetworkingConfigs, PAGE_LENGTH, Pages, PagesElements, Pagination, PlayerContentTabsVariable, PlayerObj, PlayerPresentation, Portal, Presentation, PresentationType, Presenter, PresenterPageConfigs, PresenterWithPivot, PresentersConfigs, RegistrationField, RegistrationForm, RegistrationPageConfigs, ResourcesConfigs, SettingElements, Sponsor, SponsorsPageConfigs, Spotlight1Configs, Spotlight2Configs, SpotlightConfigs, Stream, SupportPageConfigs, TemplateConfig, Track, TrackGroup, User, UsersResult, Video, VirtualGlobal, VirtualMainPageConfigs, VirtualNestedKeyOf, VirtualPages, VirtualPresentation, WebcastPageConfigs, default } from './module'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icvdeveloper/common-module",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -24,24 +24,25 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@analytics/google-analytics": "^1.0.3",
|
|
27
|
-
"@nuxt/kit": "^3.
|
|
28
|
-
"@nuxtjs/tailwindcss": "^6.
|
|
27
|
+
"@nuxt/kit": "^3.8.0",
|
|
28
|
+
"@nuxtjs/tailwindcss": "^6.12.0",
|
|
29
29
|
"@pinia/nuxt": "^0.3.1",
|
|
30
|
+
"@stripe/stripe-js": "^3.5.0",
|
|
30
31
|
"@ts-pro/vue-eternal-loading": "^1.3.1",
|
|
31
32
|
"@types/pusher-js": "^5.1.0",
|
|
33
|
+
"@vueuse/core": "^10.9.0",
|
|
32
34
|
"add-to-calendar-button": "^2.1.1",
|
|
33
35
|
"analytics": "^0.8.1",
|
|
34
36
|
"laravel-echo": "^1.15.1",
|
|
35
37
|
"lodash-es": "^4.17.21",
|
|
36
38
|
"luxon": "^3.2.1",
|
|
37
39
|
"nprogress": "^0.2.0",
|
|
38
|
-
"pinia": "^2.
|
|
40
|
+
"pinia": "^2.1.7",
|
|
39
41
|
"pinia-plugin-persistedstate": "^2.1.1",
|
|
40
42
|
"pusher-js": "^8.2.0",
|
|
41
|
-
"sass": "^1.54.2",
|
|
42
|
-
"sass-loader": "^13.0.2",
|
|
43
43
|
"tailwindcss-opentype": "^1.1.0",
|
|
44
|
-
"vite-svg-loader": "^3.4.0"
|
|
44
|
+
"vite-svg-loader": "^3.4.0",
|
|
45
|
+
"vue-stripe-js": "^1.0.2"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"@nuxt/devtools": "latest",
|
|
@@ -56,7 +57,8 @@
|
|
|
56
57
|
"@types/node": "^18.18.1",
|
|
57
58
|
"eslint": "^8.22.0",
|
|
58
59
|
"eslint-config-prettier": "^8.5.0",
|
|
59
|
-
"nuxt": "^3.
|
|
60
|
+
"nuxt": "^3.10.3",
|
|
61
|
+
"postcss-import": "^16.1.0",
|
|
60
62
|
"vitest": "^0.33.0"
|
|
61
63
|
},
|
|
62
64
|
"description": "## Development",
|
|
@@ -68,5 +70,6 @@
|
|
|
68
70
|
"bugs": {
|
|
69
71
|
"url": "https://github.com/ICVDM/v3plus-common/issues"
|
|
70
72
|
},
|
|
71
|
-
"homepage": "https://github.com/ICVDM/v3plus-common#readme"
|
|
73
|
+
"homepage": "https://github.com/ICVDM/v3plus-common#readme",
|
|
74
|
+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
72
75
|
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<template functional></template>
|
|
2
|
-
|
|
3
|
-
<script>
|
|
4
|
-
export default {
|
|
5
|
-
props: {
|
|
6
|
-
url: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: true
|
|
9
|
-
},
|
|
10
|
-
ajaxLoadingOptions: () => {
|
|
11
|
-
return {
|
|
12
|
-
progress: false,
|
|
13
|
-
transformRequest: (data, headers) => {
|
|
14
|
-
delete headers.common['Authorization'];
|
|
15
|
-
return data;
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
methods: {
|
|
21
|
-
getData() {
|
|
22
|
-
this.$axios
|
|
23
|
-
.get(url, this.ajaxLoadingOptions)
|
|
24
|
-
.then(response => {
|
|
25
|
-
this.$emit("data", response);
|
|
26
|
-
})
|
|
27
|
-
.catch(e => {
|
|
28
|
-
console.log("JSON does not exists.", e);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
</script>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
namespace props {
|
|
3
|
-
namespace url {
|
|
4
|
-
let type: StringConstructor;
|
|
5
|
-
let required: boolean;
|
|
6
|
-
}
|
|
7
|
-
function ajaxLoadingOptions(): {
|
|
8
|
-
progress: boolean;
|
|
9
|
-
transformRequest: (data: any, headers: any) => any;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
namespace methods {
|
|
13
|
-
function getData(): void;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export default _default;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
namespace props {
|
|
3
|
-
namespace itemWidth {
|
|
4
|
-
export let type: StringConstructor;
|
|
5
|
-
let _default: string;
|
|
6
|
-
export { _default as default };
|
|
7
|
-
}
|
|
8
|
-
namespace layoutFormat {
|
|
9
|
-
let type_1: StringConstructor;
|
|
10
|
-
export { type_1 as type };
|
|
11
|
-
let _default_1: string;
|
|
12
|
-
export { _default_1 as default };
|
|
13
|
-
}
|
|
14
|
-
namespace isCompact {
|
|
15
|
-
let _default_2: boolean;
|
|
16
|
-
export { _default_2 as default };
|
|
17
|
-
let type_2: BooleanConstructor;
|
|
18
|
-
export { type_2 as type };
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
namespace components {
|
|
22
|
-
export { PresentersDetail };
|
|
23
|
-
}
|
|
24
|
-
function provide(): {
|
|
25
|
-
itemWidth: any;
|
|
26
|
-
imageStyle: any;
|
|
27
|
-
};
|
|
28
|
-
namespace computed {
|
|
29
|
-
function presenterLevelArray(): any[];
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
export default _default;
|