@icvdeveloper/common-module 1.4.13 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +10 -0
  4. package/dist/runtime/@types/components.d.ts +22 -0
  5. package/dist/runtime/@types/configVariables.d.ts +6 -0
  6. package/dist/runtime/analytics.d.ts +1 -1
  7. package/dist/runtime/assets/scss/index.css +0 -705
  8. package/dist/runtime/assets/svg/icon-minus.svg +6 -0
  9. package/dist/runtime/assets/svg/icon-video.svg +6 -0
  10. package/dist/runtime/components/affiliates/AffiliateModal.vue +66 -0
  11. package/dist/runtime/components/affiliates/AffiliatePage.vue +337 -132
  12. package/dist/runtime/components/agenda/AgendaTabbed.vue +43 -34
  13. package/dist/runtime/components/agenda/components/Calendar.vue +8 -3
  14. package/dist/runtime/components/agenda/components/Favorite.vue +44 -0
  15. package/dist/runtime/components/agenda/components/PlayIcon.vue +1 -1
  16. package/dist/runtime/components/agenda/components/PresentationLink.vue +26 -15
  17. package/dist/runtime/components/chat/ChatConversationList.vue +108 -0
  18. package/dist/runtime/components/chat/ChatCreateConversation.vue +205 -0
  19. package/dist/runtime/components/chat/ChatCreateGroupConversation.vue +159 -0
  20. package/dist/runtime/components/chat/ChatHeader.vue +98 -0
  21. package/dist/runtime/components/chat/ChatMessage.vue +40 -0
  22. package/dist/runtime/components/chat/ChatShowConversation.vue +77 -0
  23. package/dist/runtime/components/chat/ChatWidget.vue +65 -0
  24. package/dist/runtime/components/chat/ChatWindow.vue +211 -0
  25. package/dist/runtime/components/chat/ChatWindow.vue.d.ts +6 -0
  26. package/dist/runtime/components/chat/MessageInput.vue +30 -0
  27. package/dist/runtime/components/chat/SearchInput.vue +32 -0
  28. package/dist/runtime/components/core/Accordion.vue +1 -1
  29. package/dist/runtime/components/core/AttendeeList.vue +25 -16
  30. package/dist/runtime/components/core/CountdownTimer.vue +1 -1
  31. package/dist/runtime/components/core/Modal.vue +21 -13
  32. package/dist/runtime/components/core/ModalButton.vue +43 -0
  33. package/dist/runtime/components/core/Navbar.vue +3 -3
  34. package/dist/runtime/components/core/Navigation.vue +293 -0
  35. package/dist/runtime/components/core/SvgIcon.vue +31 -1
  36. package/dist/runtime/components/core/VButton.vue +41 -0
  37. package/dist/runtime/components/core/ZoomModal.vue +1 -1
  38. package/dist/runtime/components/events/ListEvents.vue +3 -4
  39. package/dist/runtime/components/forms/CheckboxGroup.vue +46 -0
  40. package/dist/runtime/components/forms/ErrorField.vue +11 -2
  41. package/dist/runtime/components/forms/RadioGroup.vue +50 -0
  42. package/dist/runtime/components/forms/SelectDropDown.vue +47 -0
  43. package/dist/runtime/components/forms/SupportForm.vue +6 -6
  44. package/dist/runtime/components/layouts/Accordion.vue +2 -2
  45. package/dist/runtime/components/media/ArchivePlayerAndContentContainer.vue +20 -4
  46. package/dist/runtime/components/media/ArchiveVideoPlayer.vue +14 -6
  47. package/dist/runtime/components/media/WebcastVideoPlayer.vue +1 -1
  48. package/dist/runtime/components/media/components/ArchiveMediaContainer.vue +8 -8
  49. package/dist/runtime/components/media/components/CeCreditNotification.vue +2 -2
  50. package/dist/runtime/components/media/components/ContentArea.vue +51 -14
  51. package/dist/runtime/components/media/components/ContentTabs.vue +2 -2
  52. package/dist/runtime/components/media/components/DocumentsPanel.vue +2 -2
  53. package/dist/runtime/components/media/components/MediaContainer.vue +3 -7
  54. package/dist/runtime/components/media/components/PresentersPanel.vue +69 -50
  55. package/dist/runtime/components/media/components/SessionReporting.vue +5 -4
  56. package/dist/runtime/components/media/components/SponsorsPanel.vue +3 -3
  57. package/dist/runtime/components/presenters/PresenterListing.vue +30 -20
  58. package/dist/runtime/components/presenters/PresenterModal.vue +26 -21
  59. package/dist/runtime/components/presenters/Presenters.vue +139 -0
  60. package/dist/runtime/components/profile/Profile.vue +10 -6
  61. package/dist/runtime/components/profile/components/Sidebar.vue +1 -1
  62. package/dist/runtime/components/profile/components/SidebarNavItem.vue +1 -1
  63. package/dist/runtime/components/profile/tabs/Favorites.vue +5 -4
  64. package/dist/runtime/components/profile/tabs/GeneralInformation.vue +26 -16
  65. package/dist/runtime/components/registration/AlreadyRegisteredModal.vue +99 -0
  66. package/dist/runtime/components/registration/PaymentForm.vue +136 -0
  67. package/dist/runtime/components/registration/RegistrationForm.vue +417 -0
  68. package/dist/runtime/components/registration/RegistrationGroupSelect.vue +142 -0
  69. package/dist/runtime/components/registration/StripePaymentForm.vue +141 -0
  70. package/dist/runtime/composables/useAgenda.d.ts +12 -0
  71. package/dist/runtime/composables/useAgenda.mjs +101 -10
  72. package/dist/runtime/composables/useAuth.mjs +1 -1
  73. package/dist/runtime/composables/useConferenceHelpers.d.ts +5 -1
  74. package/dist/runtime/composables/useConferenceHelpers.mjs +15 -1
  75. package/dist/runtime/composables/useEventHooks.d.ts +26 -0
  76. package/dist/runtime/composables/useEventHooks.mjs +21 -0
  77. package/dist/runtime/composables/useEvents.d.ts +17 -1
  78. package/dist/runtime/composables/useEvents.mjs +29 -1
  79. package/dist/runtime/composables/useLogin.mjs +7 -3
  80. package/dist/runtime/composables/usePresentation.mjs +1 -1
  81. package/dist/runtime/composables/usePusher.d.ts +4 -0
  82. package/dist/runtime/composables/usePusher.mjs +38 -26
  83. package/dist/runtime/composables/useStream.mjs +7 -1
  84. package/dist/runtime/enums/general.d.ts +4 -1
  85. package/dist/runtime/enums/general.mjs +4 -1
  86. package/dist/runtime/models/authUser.d.ts +1 -0
  87. package/dist/runtime/models/conference.d.ts +14 -0
  88. package/dist/runtime/models/conversation.d.ts +2 -4
  89. package/dist/runtime/models/globalConfig.d.ts +6 -2
  90. package/dist/runtime/models/group.d.ts +32 -2
  91. package/dist/runtime/models/icons.d.ts +7 -0
  92. package/dist/runtime/models/templateConfig.d.ts +6 -0
  93. package/dist/runtime/models/user.d.ts +1 -0
  94. package/dist/runtime/models/virtualPagesConfig.d.ts +335 -0
  95. package/dist/runtime/models/virtualPagesConfig.mjs +0 -0
  96. package/dist/runtime/plugin.mjs +11 -1
  97. package/dist/runtime/store/affiliates.d.ts +3 -0
  98. package/dist/runtime/store/affiliates.mjs +38 -0
  99. package/dist/runtime/store/auth.mjs +6 -0
  100. package/dist/runtime/store/conferences.d.ts +3 -1
  101. package/dist/runtime/store/conferences.mjs +7 -2
  102. package/dist/runtime/store/conversations.d.ts +4040 -10
  103. package/dist/runtime/store/conversations.mjs +255 -22
  104. package/dist/runtime/store/modalPlayerConfig.d.ts +498 -0
  105. package/dist/runtime/store/modalPlayerConfig.mjs +58 -0
  106. package/dist/runtime/store/templateConfigs.d.ts +3 -2
  107. package/dist/runtime/store/templateConfigs.mjs +2 -1
  108. package/package.json +5 -2
  109. package/dist/runtime/components/media/components/PresentersPanel.vue.d.ts +0 -32
@@ -0,0 +1,498 @@
1
+ import type { Conference, Presentation, VirtualPresentation } from '../models/conference';
2
+ export type PlayerPresentation = {
3
+ player_type: string;
4
+ data: VirtualPresentation;
5
+ };
6
+ export declare const usePlayerConfigStore: import("pinia").StoreDefinition<"playerConfig", import("pinia")._UnwrapAll<Pick<{
7
+ isPlayerVisible: import("vue").Ref<boolean>;
8
+ playerPresentation: import("vue").Ref<{
9
+ player_type: string;
10
+ data: {
11
+ captions_url?: string | null | undefined;
12
+ date?: string | undefined;
13
+ date_visible?: boolean | undefined;
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;
487
+ }>;
488
+ setIsPlayerVisible: (payload: boolean) => void;
489
+ setSelectedPresentation: (payload: PlayerPresentation) => void;
490
+ setLivePresentations: (payload: {
491
+ [key: string]: Presentation;
492
+ }) => void;
493
+ setSelectedConference: (payload: Conference) => void;
494
+ setSelectedConferenceAccess: (payload: boolean) => void;
495
+ setSelectedContent: (payload: {}) => void;
496
+ setChatroomId: (payload: string) => void;
497
+ updateSelectedPresentationAccess: (payload: boolean) => void;
498
+ }, "setIsPlayerVisible" | "setSelectedPresentation" | "setLivePresentations" | "setSelectedConference" | "setSelectedConferenceAccess" | "setSelectedContent" | "setChatroomId" | "updateSelectedPresentationAccess">>;
@@ -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
+ });
@@ -2,6 +2,7 @@ import type { TemplateConfig } from "../models/templateConfig";
2
2
  import { NestedKeyOf, Pages } from "../models/pagesConfig";
3
3
  import { GlobalConfigKey, GlobalConfigKeyType } from "../models/globalConfig";
4
4
  import type { Conference } from "../models/conference";
5
+ import { VirtualPages } from "../models/virtualPagesConfig";
5
6
  export interface TemplateConfigState {
6
7
  portalConfig: null | TemplateConfig;
7
8
  currentConferenceConfig: null | TemplateConfig;
@@ -11,8 +12,8 @@ export interface TemplateConfigState {
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 "accent_color_1" | "accent_color_2" | "accent_color_3" | "affiliate_page_button_alias" | "azure_ad_client_id" | "azure_ad_message" | "azure_ad_tenant_id" | "azure_ad_user_password" | "body_color_1" | "body_color_2" | "body_color_3" | "body_color_4" | "body_color_5" | "body_color_6" | "body_font_1" | "body_font_2" | "button_color_1" | "button_color_2" | "captions_bg_color" | "captions_font" | "captions_text_color" | "conference_photo_headers" | "custom_scripts" | "custom_css" | "enable_peer5" | "enable_text_chat" | "enable_video_chat" | "external_reg_url" | "global_color_1" | "global_color_2" | "global_color_3" | "global_color_4" | "global_color_5" | "global_color_6" | "header_font_1" | "header_font_2" | "header_titles" | "heading_color_1" | "heading_color_2" | "heading_color_3" | "heading_color_4" | "heading_color_5" | "heading_color_6" | "hide_user_profile" | "html_footer" | "html_header" | "link_color" | "link_hover" | "login_disabled" | "login_disabled_user_email" | "login_disabled_user_password" | "login_process" | "login_redirect_enabled" | "muted_photo_headers" | "nav_color_1" | "nav_color_2" | "nav_color_3" | "nav_color_4" | "nav_color_5" | "paragraph_color_1" | "paragraph_color_2" | "presenter_icon_color_style" | "reg_button_alias" | "reg_button_enabled" | "secure_site_access_enabled" | "townhall_registration_enabled" | "townhall_registration_group" | "view_archive_button_alias" | "view_now_button_alias" | "view_preview_button_alias">(path: T, defaultValue?: any) => GlobalConfigKeyType<T>;
15
- pagesConfigValue: (state: TemplateConfigState) => (path: NestedKeyOf<Pages>, defaultValue?: any, conferenceId?: number) => any;
15
+ globalConfig: (state: TemplateConfigState) => <T extends "site_search" | "allow_favorites" | "accent_color_1" | "accent_color_2" | "accent_color_3" | "affiliate_page_button_alias" | "azure_ad_client_id" | "azure_ad_message" | "azure_ad_tenant_id" | "azure_ad_user_password" | "body_color_1" | "body_color_2" | "body_color_3" | "body_color_4" | "body_color_5" | "body_color_6" | "body_font_1" | "body_font_2" | "button_color_1" | "button_color_2" | "captions_bg_color" | "captions_font" | "captions_text_color" | "conference_photo_headers" | "custom_scripts" | "custom_css" | "enable_peer5" | "enable_text_chat" | "enable_video_chat" | "external_reg_url" | "global_color_1" | "global_color_2" | "global_color_3" | "global_color_4" | "global_color_5" | "global_color_6" | "header_font_1" | "header_font_2" | "header_titles" | "heading_color_1" | "heading_color_2" | "heading_color_3" | "heading_color_4" | "heading_color_5" | "heading_color_6" | "hide_user_profile" | "html_footer" | "html_header" | "link_color" | "link_hover" | "login_disabled" | "login_disabled_user_email" | "login_disabled_user_password" | "login_process" | "login_redirect_enabled" | "muted_photo_headers" | "nav_color_1" | "nav_color_2" | "nav_color_3" | "nav_color_4" | "nav_color_5" | "paragraph_color_1" | "paragraph_color_2" | "presenter_icon_color_style" | "reg_button_alias" | "reg_button_enabled" | "secure_site_access_enabled" | "townhall_registration_enabled" | "townhall_registration_group" | "view_archive_button_alias" | "view_now_button_alias" | "view_preview_button_alias">(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;
@@ -43,7 +43,7 @@ export const useTemplateConfigsStore = defineStore("templateConfigs", {
43
43
  actions: {
44
44
  setPortalTemplateConfig(payload) {
45
45
  return new Promise((resolve) => {
46
- const config = { global: {}, misc: {}, pages: {} };
46
+ const config = { global: {}, misc: {}, pages: {}, meta: {} };
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icvdeveloper/common-module",
3
- "version": "1.4.13",
3
+ "version": "2.0.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -29,6 +29,7 @@
29
29
  "@pinia/nuxt": "^0.3.1",
30
30
  "@ts-pro/vue-eternal-loading": "^1.3.1",
31
31
  "@types/pusher-js": "^5.1.0",
32
+ "@vueuse/core": "^10.9.0",
32
33
  "add-to-calendar-button": "^2.1.1",
33
34
  "analytics": "^0.8.1",
34
35
  "laravel-echo": "^1.15.1",
@@ -50,6 +51,7 @@
50
51
  "@nuxt/schema": "^3.7.4",
51
52
  "@nuxt/test-utils": "^3.7.4",
52
53
  "@nuxtjs/eslint-config-typescript": "^12.0.0",
54
+ "@stripe/stripe-js": "^3.5.0",
53
55
  "@tailwindcss/typography": "^0.5.4",
54
56
  "@types/lodash-es": "^4.17.7",
55
57
  "@types/luxon": "^3.3.2",
@@ -57,7 +59,8 @@
57
59
  "eslint": "^8.22.0",
58
60
  "eslint-config-prettier": "^8.5.0",
59
61
  "nuxt": "^3.7.4",
60
- "vitest": "^0.33.0"
62
+ "vitest": "^0.33.0",
63
+ "vue-stripe-js": "^1.0.2"
61
64
  },
62
65
  "description": "## Development",
63
66
  "repository": {
@@ -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;