@icvdeveloper/common-module 0.0.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.
Files changed (141) hide show
  1. package/README.md +6 -0
  2. package/dist/module.cjs +5 -0
  3. package/dist/module.d.ts +9 -0
  4. package/dist/module.json +8 -0
  5. package/dist/module.mjs +102051 -0
  6. package/dist/runtime/@types/configVariables.d.ts +78 -0
  7. package/dist/runtime/@types/configVariables.mjs +0 -0
  8. package/dist/runtime/analytics.d.ts +8 -0
  9. package/dist/runtime/analytics.mjs +38 -0
  10. package/dist/runtime/assets/scss/_agenda.scss +47 -0
  11. package/dist/runtime/assets/scss/_animations.scss +11 -0
  12. package/dist/runtime/assets/scss/_container_variants.scss +26 -0
  13. package/dist/runtime/assets/scss/_custom.scss +364 -0
  14. package/dist/runtime/assets/scss/_footer.scss +20 -0
  15. package/dist/runtime/assets/scss/_forms.scss +29 -0
  16. package/dist/runtime/assets/scss/_functions.scss +24 -0
  17. package/dist/runtime/assets/scss/_header.scss +41 -0
  18. package/dist/runtime/assets/scss/_index_production.scss +45 -0
  19. package/dist/runtime/assets/scss/_transitions.scss +24 -0
  20. package/dist/runtime/assets/scss/_variables.scss +62 -0
  21. package/dist/runtime/assets/scss/_variables2.scss +0 -0
  22. package/dist/runtime/assets/scss/_webcast.scss +141 -0
  23. package/dist/runtime/assets/scss/index.scss +42 -0
  24. package/dist/runtime/assets/svg/answer.svg +14 -0
  25. package/dist/runtime/assets/svg/avatar.svg +1 -0
  26. package/dist/runtime/assets/svg/bell-icon.svg +3 -0
  27. package/dist/runtime/assets/svg/chat-icon.svg +1 -0
  28. package/dist/runtime/assets/svg/checkmark-icon.svg +1 -0
  29. package/dist/runtime/assets/svg/close-icon.svg +1 -0
  30. package/dist/runtime/assets/svg/icon-avatar.svg +1 -0
  31. package/dist/runtime/assets/svg/icon-close.svg +1 -0
  32. package/dist/runtime/assets/svg/icon-down-arrow.svg +1 -0
  33. package/dist/runtime/assets/svg/icon-facebook.svg +1 -0
  34. package/dist/runtime/assets/svg/icon-info.svg +3 -0
  35. package/dist/runtime/assets/svg/icon-linkedin.svg +1 -0
  36. package/dist/runtime/assets/svg/icon-new-window.svg +11 -0
  37. package/dist/runtime/assets/svg/icon-offline.svg +3 -0
  38. package/dist/runtime/assets/svg/icon-online.svg +3 -0
  39. package/dist/runtime/assets/svg/icon-person.svg +3 -0
  40. package/dist/runtime/assets/svg/icon-play.svg +3 -0
  41. package/dist/runtime/assets/svg/icon-star-filled.svg +30 -0
  42. package/dist/runtime/assets/svg/icon-star.svg +25 -0
  43. package/dist/runtime/assets/svg/icon-twitter.svg +1 -0
  44. package/dist/runtime/assets/svg/icon-video-chat.svg +14 -0
  45. package/dist/runtime/assets/svg/icon-website.svg +3 -0
  46. package/dist/runtime/assets/svg/icon-youtube.svg +1 -0
  47. package/dist/runtime/assets/svg/icon-zoom.svg +10 -0
  48. package/dist/runtime/assets/svg/notification-icon.svg +32 -0
  49. package/dist/runtime/assets/svg/offline-icon.svg +1 -0
  50. package/dist/runtime/assets/svg/online-icon.svg +3 -0
  51. package/dist/runtime/assets/svg/peer2peer.svg +3 -0
  52. package/dist/runtime/assets/svg/phone.svg +1 -0
  53. package/dist/runtime/assets/svg/plus-icon.svg +1 -0
  54. package/dist/runtime/assets/svg/red-icon.svg +3 -0
  55. package/dist/runtime/assets/svg/reject.svg +14 -0
  56. package/dist/runtime/assets/svg/search-icon.svg +3 -0
  57. package/dist/runtime/components/affiliates/AffiliatePage.vue +16 -0
  58. package/dist/runtime/components/agenda/AgendaTabbed.vue +342 -0
  59. package/dist/runtime/components/agenda/components/InfoLink.vue +55 -0
  60. package/dist/runtime/components/agenda/components/PlayIcon.vue +48 -0
  61. package/dist/runtime/components/agenda/components/PresentationLink.vue +147 -0
  62. package/dist/runtime/components/agenda/components/Sponsor.vue +108 -0
  63. package/dist/runtime/components/auth/LoginFullWidth.vue +76 -0
  64. package/dist/runtime/components/core/CountdownTimer.vue +275 -0
  65. package/dist/runtime/components/core/DynamicHtml.vue +16 -0
  66. package/dist/runtime/components/core/DynamicHtml.vue.d.ts +2 -0
  67. package/dist/runtime/components/core/Modal.vue +84 -0
  68. package/dist/runtime/components/core/SvgIcon.vue +119 -0
  69. package/dist/runtime/components/core/ZoomModal.vue +37 -0
  70. package/dist/runtime/components/events/EventHeader.vue +131 -0
  71. package/dist/runtime/components/events/PastEvents.vue +150 -0
  72. package/dist/runtime/components/events/UpcomingEvents.vue +145 -0
  73. package/dist/runtime/components/forms/ErrorField.vue +19 -0
  74. package/dist/runtime/components/forms/Message.vue +25 -0
  75. package/dist/runtime/components/forms/SearchInput.vue +30 -0
  76. package/dist/runtime/components/forms/SupportForm.vue +109 -0
  77. package/dist/runtime/components/forms/TextArea.vue +26 -0
  78. package/dist/runtime/components/forms/TextInput.vue +22 -0
  79. package/dist/runtime/components/layouts/Accordion.vue +76 -0
  80. package/dist/runtime/components/presenters/PresenterListing.vue +89 -0
  81. package/dist/runtime/components/presenters/PresenterModal.vue +83 -0
  82. package/dist/runtime/composables/useAgenda.d.ts +81 -0
  83. package/dist/runtime/composables/useAgenda.mjs +178 -0
  84. package/dist/runtime/composables/useAnalytics.d.ts +7 -0
  85. package/dist/runtime/composables/useAnalytics.mjs +10 -0
  86. package/dist/runtime/composables/useApi.d.ts +1 -0
  87. package/dist/runtime/composables/useApi.mjs +16 -0
  88. package/dist/runtime/composables/useConferenceHelpers.d.ts +65 -0
  89. package/dist/runtime/composables/useConferenceHelpers.mjs +270 -0
  90. package/dist/runtime/composables/useDateFormat.d.ts +12 -0
  91. package/dist/runtime/composables/useDateFormat.mjs +21 -0
  92. package/dist/runtime/composables/useLogin.d.ts +30 -0
  93. package/dist/runtime/composables/useLogin.mjs +58 -0
  94. package/dist/runtime/composables/usePresentation.d.ts +53 -0
  95. package/dist/runtime/composables/usePresentation.mjs +98 -0
  96. package/dist/runtime/composables/usePresenter.d.ts +15 -0
  97. package/dist/runtime/composables/usePresenter.mjs +67 -0
  98. package/dist/runtime/composables/usePresenters.d.ts +13 -0
  99. package/dist/runtime/composables/usePresenters.mjs +21 -0
  100. package/dist/runtime/composables/useV3plusCommonModule.d.ts +2 -0
  101. package/dist/runtime/composables/useV3plusCommonModule.mjs +2 -0
  102. package/dist/runtime/models/affiliate.d.ts +1 -0
  103. package/dist/runtime/models/affiliate.mjs +0 -0
  104. package/dist/runtime/models/authUser.d.ts +16 -0
  105. package/dist/runtime/models/authUser.mjs +0 -0
  106. package/dist/runtime/models/conference.d.ts +124 -0
  107. package/dist/runtime/models/conference.mjs +18 -0
  108. package/dist/runtime/models/globalConfig.d.ts +80 -0
  109. package/dist/runtime/models/globalConfig.mjs +0 -0
  110. package/dist/runtime/models/group.d.ts +14 -0
  111. package/dist/runtime/models/group.mjs +0 -0
  112. package/dist/runtime/models/icons.d.ts +18 -0
  113. package/dist/runtime/models/icons.mjs +0 -0
  114. package/dist/runtime/models/navigationConfig.d.ts +8 -0
  115. package/dist/runtime/models/navigationConfig.mjs +0 -0
  116. package/dist/runtime/models/pagesConfig.d.ts +169 -0
  117. package/dist/runtime/models/pagesConfig.mjs +0 -0
  118. package/dist/runtime/models/portal.d.ts +8 -0
  119. package/dist/runtime/models/portal.mjs +0 -0
  120. package/dist/runtime/models/templateConfig.d.ts +44 -0
  121. package/dist/runtime/models/templateConfig.mjs +0 -0
  122. package/dist/runtime/plugin.d.ts +2 -0
  123. package/dist/runtime/plugin.mjs +55 -0
  124. package/dist/runtime/store/affiliates.d.ts +12 -0
  125. package/dist/runtime/store/affiliates.mjs +35 -0
  126. package/dist/runtime/store/auth.d.ts +14 -0
  127. package/dist/runtime/store/auth.mjs +32 -0
  128. package/dist/runtime/store/conferences.d.ts +13 -0
  129. package/dist/runtime/store/conferences.mjs +86 -0
  130. package/dist/runtime/store/navigationConfig.d.ts +7 -0
  131. package/dist/runtime/store/navigationConfig.mjs +14 -0
  132. package/dist/runtime/store/portal.d.ts +9 -0
  133. package/dist/runtime/store/portal.mjs +39 -0
  134. package/dist/runtime/store/support.d.ts +3 -0
  135. package/dist/runtime/store/support.mjs +20 -0
  136. package/dist/runtime/store/templateConfigs.d.ts +20 -0
  137. package/dist/runtime/store/templateConfigs.mjs +84 -0
  138. package/dist/runtime/v3plusCommonPlugin.d.ts +14 -0
  139. package/dist/runtime/v3plusCommonPlugin.mjs +8 -0
  140. package/dist/types.d.ts +10 -0
  141. package/package.json +57 -0
@@ -0,0 +1,16 @@
1
+ export declare type AuthUser = {
2
+ id?: string;
3
+ email?: string;
4
+ name?: string;
5
+ uuid?: string;
6
+ company?: string | null;
7
+ linkedin_url?: string | null;
8
+ twitter_url?: string | null;
9
+ online?: boolean;
10
+ profile_image?: string | null;
11
+ title?: string | null;
12
+ video_chat?: string | null;
13
+ token?: string;
14
+ expires_at?: string;
15
+ token_type?: string;
16
+ };
File without changes
@@ -0,0 +1,124 @@
1
+ export declare enum ConferenceState {
2
+ LIVE = "live",
3
+ MIXED = "mixed",
4
+ ARCHIVED = "archive",
5
+ UPCOMING = "upcoming",
6
+ HIDDEN = "hidden"
7
+ }
8
+ export declare enum PresentationType {
9
+ ZOOM = "zoom",
10
+ VIDEO_SLIDE = "video_slide",
11
+ VIDEO = "video",
12
+ AUDIO_SLIDE = "audio_slide",
13
+ AUDIO = "audio",
14
+ EMBED = "embed",
15
+ LINK = "link"
16
+ }
17
+ export declare type Presenter = {
18
+ biography?: string | null;
19
+ client_id?: number;
20
+ company?: string | null;
21
+ designations?: string | null;
22
+ email?: string | null;
23
+ facebook_url?: string | null;
24
+ first_name?: string | null;
25
+ id?: number;
26
+ last_name?: string | null;
27
+ level?: string | null;
28
+ linkedin_url?: string | null;
29
+ order?: number;
30
+ photo?: string | null;
31
+ role?: string;
32
+ title?: string | null;
33
+ twitter_url?: string | null;
34
+ website?: string | null;
35
+ youtube_url?: string | null;
36
+ presentationId?: number | null;
37
+ };
38
+ export declare type Group = {
39
+ ce_enabled?: boolean;
40
+ code?: string;
41
+ description?: string | null;
42
+ enabled?: boolean;
43
+ id?: number;
44
+ name?: string;
45
+ portal_id?: number;
46
+ post_reg_login?: boolean;
47
+ price?: number;
48
+ registration_message?: string | null;
49
+ };
50
+ export declare type Sponsor = {
51
+ id?: number;
52
+ label?: string;
53
+ photo?: string;
54
+ vanity?: boolean;
55
+ website?: string;
56
+ };
57
+ export declare type Presentation = {
58
+ captions_url?: string | null;
59
+ date?: string;
60
+ date_visible?: boolean;
61
+ description?: string | null;
62
+ duration?: number | null;
63
+ embed_html?: string | null;
64
+ external_type?: string | null;
65
+ id?: number;
66
+ is_live?: boolean;
67
+ name?: string;
68
+ portal_id?: number;
69
+ type?: PresentationType;
70
+ video_url?: string | null;
71
+ visible?: boolean;
72
+ zoom_meeting_id?: string | null;
73
+ zoom_meeting_password?: string | null;
74
+ zoom_require_password?: boolean;
75
+ presenters?: Array<Presenter>;
76
+ sponsors?: Array<Sponsor>;
77
+ };
78
+ export declare type Track = {
79
+ access?: boolean;
80
+ channel?: number;
81
+ date?: string;
82
+ id?: number;
83
+ live_stream_id?: number;
84
+ name?: string;
85
+ presentations?: Array<Presentation>;
86
+ sponsors?: Array<Sponsor>;
87
+ type?: string;
88
+ };
89
+ export declare type TrackGroup = {
90
+ date?: string;
91
+ id?: number;
92
+ name?: string;
93
+ tracks?: Array<Track>;
94
+ type?: string;
95
+ };
96
+ export declare type Day = {
97
+ access?: boolean;
98
+ date?: string;
99
+ date_visible?: boolean;
100
+ id?: number;
101
+ name?: string;
102
+ tracks?: Array<Track>;
103
+ track_groups?: Array<TrackGroup>;
104
+ sponsors?: Array<Sponsor>;
105
+ };
106
+ export declare type Conference = {
107
+ access?: boolean;
108
+ agenda_enabled?: boolean;
109
+ ce_credit_enabled?: boolean;
110
+ description?: string;
111
+ end_date?: string;
112
+ id?: number;
113
+ location?: string;
114
+ name?: string;
115
+ photo?: null | string;
116
+ photo_large?: string;
117
+ portal_id?: number;
118
+ start_date?: string;
119
+ state?: ConferenceState;
120
+ timezone?: string;
121
+ days?: Array<Day>;
122
+ groups?: Array<Group>;
123
+ template_config?: object;
124
+ };
@@ -0,0 +1,18 @@
1
+ export var ConferenceState = /* @__PURE__ */ ((ConferenceState2) => {
2
+ ConferenceState2["LIVE"] = "live";
3
+ ConferenceState2["MIXED"] = "mixed";
4
+ ConferenceState2["ARCHIVED"] = "archive";
5
+ ConferenceState2["UPCOMING"] = "upcoming";
6
+ ConferenceState2["HIDDEN"] = "hidden";
7
+ return ConferenceState2;
8
+ })(ConferenceState || {});
9
+ export var PresentationType = /* @__PURE__ */ ((PresentationType2) => {
10
+ PresentationType2["ZOOM"] = "zoom";
11
+ PresentationType2["VIDEO_SLIDE"] = "video_slide";
12
+ PresentationType2["VIDEO"] = "video";
13
+ PresentationType2["AUDIO_SLIDE"] = "audio_slide";
14
+ PresentationType2["AUDIO"] = "audio";
15
+ PresentationType2["EMBED"] = "embed";
16
+ PresentationType2["LINK"] = "link";
17
+ return PresentationType2;
18
+ })(PresentationType || {});
@@ -0,0 +1,80 @@
1
+ import type { ColorVariable, HTMLVariable, FontVariable, ToggleVariable, SelectVariable, NumberVariable, ImageVariable, TextVariable, TextAreaVariable } from "../@types/configVariables";
2
+ import type { Group } from "./group";
3
+ export declare type GroupVariable = {
4
+ label: string;
5
+ name: string;
6
+ type: string;
7
+ value: Group;
8
+ };
9
+ export interface Global {
10
+ accent_color_1: ColorVariable;
11
+ accent_color_2: ColorVariable;
12
+ accent_color_3: ColorVariable;
13
+ affiliate_page_button_alias: TextVariable;
14
+ azure_ad_client_id: NumberVariable;
15
+ azure_ad_message: TextVariable;
16
+ azure_ad_tenant_id: NumberVariable;
17
+ azure_ad_user_password: TextVariable;
18
+ body_color_1: ColorVariable;
19
+ body_color_2: ColorVariable;
20
+ body_color_3: ColorVariable;
21
+ body_color_4: ColorVariable;
22
+ body_color_5: ColorVariable;
23
+ body_color_6: ColorVariable;
24
+ body_font_1: FontVariable;
25
+ body_font_2: FontVariable;
26
+ button_color_1: ColorVariable;
27
+ button_color_2: ColorVariable;
28
+ captions_bg_color: ColorVariable;
29
+ captions_font: FontVariable;
30
+ captions_text_color: ColorVariable;
31
+ conference_photo_headers: ImageVariable;
32
+ custom_css: TextAreaVariable;
33
+ enable_peer5: ToggleVariable;
34
+ enable_text_chat: ToggleVariable;
35
+ enable_video_chat: ToggleVariable;
36
+ external_reg_url: TextVariable;
37
+ global_color_1: ColorVariable;
38
+ global_color_2: ColorVariable;
39
+ global_color_3: ColorVariable;
40
+ global_color_4: ColorVariable;
41
+ global_color_5: ColorVariable;
42
+ global_color_6: ColorVariable;
43
+ header_font_1: FontVariable;
44
+ header_font_2: FontVariable;
45
+ header_titles: ToggleVariable;
46
+ heading_color_1: ColorVariable;
47
+ heading_color_2: ColorVariable;
48
+ heading_color_3: ColorVariable;
49
+ heading_color_4: ColorVariable;
50
+ heading_color_5: ColorVariable;
51
+ heading_color_6: ColorVariable;
52
+ hide_user_profile: ToggleVariable;
53
+ html_footer: HTMLVariable;
54
+ html_header: HTMLVariable;
55
+ link_color: ColorVariable;
56
+ link_hover: ColorVariable;
57
+ login_disabled_user_email: TextVariable;
58
+ login_disabled_user_password: TextVariable;
59
+ login_process: SelectVariable;
60
+ login_redirect_enabled: ToggleVariable;
61
+ muted_photo_headers: SelectVariable;
62
+ nav_color_1: ColorVariable;
63
+ nav_color_2: ColorVariable;
64
+ nav_color_3: ColorVariable;
65
+ nav_color_4: ColorVariable;
66
+ nav_color_5: ColorVariable;
67
+ paragraph_color_1: ColorVariable;
68
+ paragraph_color_2: ColorVariable;
69
+ presenter_icon_color_style: SelectVariable;
70
+ reg_button_alias: TextVariable;
71
+ reg_button_enabled: ToggleVariable;
72
+ secure_site_access_enabled: ToggleVariable;
73
+ townhall_registration_enabled: ToggleVariable;
74
+ townhall_registration_group: GroupVariable;
75
+ view_archive_button_alias: TextVariable;
76
+ view_now_button_alias: TextVariable;
77
+ view_preview_button_alias: TextVariable;
78
+ }
79
+ export declare type GlobalConfigKey = `${keyof Global & (string | number)}`;
80
+ export declare type GlobalConfigKeyType<T extends keyof Global> = Global[T];
File without changes
@@ -0,0 +1,14 @@
1
+ export declare type Group = {
2
+ cc_enabled?: boolean;
3
+ code?: string;
4
+ created_at?: string;
5
+ description?: string | null;
6
+ enabled?: boolean;
7
+ id?: number;
8
+ merchant_id?: null | string | number;
9
+ name?: string;
10
+ portal_id?: number;
11
+ price?: null | string;
12
+ registration_form_id?: number;
13
+ updated_at?: string;
14
+ };
File without changes
@@ -0,0 +1,18 @@
1
+ import { VNode } from "vue";
2
+ export declare type Icon = {
3
+ color: string;
4
+ component: VNode;
5
+ };
6
+ export declare type Icons = {
7
+ person: Icon;
8
+ info: Icon;
9
+ twitter: Icon;
10
+ facebook: Icon;
11
+ linkedin: Icon;
12
+ youtube: Icon;
13
+ website: Icon;
14
+ newwindow: Icon;
15
+ playarrow: Icon;
16
+ zoom: Icon;
17
+ downarrow: Icon;
18
+ };
File without changes
@@ -0,0 +1,8 @@
1
+ export declare type NavigationConfig = {
2
+ enabled?: boolean;
3
+ label?: string;
4
+ name?: string;
5
+ order?: number;
6
+ slug?: string;
7
+ type?: string;
8
+ };
File without changes
@@ -0,0 +1,169 @@
1
+ import type { ColorVariable, HTMLVariable, ToggleVariable, SelectVariable, NumberVariable, ImageVariable, TextVariable, TogglePlusLabelVariable, DragPlusToggleVariable } from "../@types/configVariables";
2
+ export declare type ArchiveContentTabsVariable = {
3
+ label: string;
4
+ name: string;
5
+ type: string;
6
+ value: Array<{
7
+ content: string;
8
+ label: string;
9
+ type: string;
10
+ }>;
11
+ };
12
+ export declare type PlayerContentTabsVariable = {
13
+ label: string;
14
+ name: string;
15
+ type: string;
16
+ value: Array<{
17
+ content: string;
18
+ label: string;
19
+ type: string;
20
+ }>;
21
+ };
22
+ export declare type AgendaPlayerPageConfigs = {
23
+ agenda_grouped_track_color_1: ColorVariable;
24
+ agenda_grouped_track_color_2: ColorVariable;
25
+ agenda_grouped_track_color_3: ColorVariable;
26
+ agenda_grouped_track_color_4: ColorVariable;
27
+ agenda_grouped_track_text_color: ColorVariable;
28
+ agenda_html_header: HTMLVariable;
29
+ agenda_presenter_color: ColorVariable;
30
+ agenda_tab_active_bg_color: ColorVariable;
31
+ agenda_tab_bg_color: ColorVariable;
32
+ agenda_tab_color: ColorVariable;
33
+ agenda_tab_sponsor_bg_color: ColorVariable;
34
+ agenda_track_bg_color: ColorVariable;
35
+ agenda_track_group_bg_color: ColorVariable;
36
+ session_end_times: ToggleVariable;
37
+ session_times: ToggleVariable;
38
+ session_desc_link: SelectVariable;
39
+ session_desc_link_text: TextVariable;
40
+ tab_dates: ToggleVariable;
41
+ use_accordion: ToggleVariable;
42
+ use_presenter_modal: ToggleVariable;
43
+ sponsors: ToggleVariable;
44
+ group_tracks: SelectVariable;
45
+ use_zoom_icon: ToggleVariable;
46
+ use_play_icon: ToggleVariable;
47
+ live_play_icon: ToggleVariable;
48
+ pre_recorded_play_icon: ToggleVariable;
49
+ zoom_text: TextVariable;
50
+ live_stream_text: TextVariable;
51
+ pre_recorded_text: TextVariable;
52
+ };
53
+ export declare type ArchivePlayerPageConfigs = {
54
+ archive_content_tabs: ArchiveContentTabsVariable;
55
+ featured_sponsor_level: SelectVariable;
56
+ player_position: SelectVariable;
57
+ preview_duration: NumberVariable;
58
+ preview_enabled: ToggleVariable;
59
+ section_header_image: ImageVariable;
60
+ video_only_width: NumberVariable;
61
+ video_slide_width: NumberVariable;
62
+ };
63
+ export declare type ExhibitorPageConfigs = {
64
+ layout_format: SelectVariable;
65
+ section_header_image: ImageVariable;
66
+ };
67
+ export declare type MainPageConfigs = {
68
+ conference_external_reg_url: TextVariable;
69
+ conferece_reg_button_alias: TextVariable;
70
+ conference_reg_button_enabled: ToggleVariable;
71
+ countdown_event_has_begun_text: TextVariable;
72
+ countdown_timer: ToggleVariable;
73
+ countdown_timer_style: TextVariable;
74
+ current_event_block: ToggleVariable;
75
+ custom_block1_alias: TextVariable;
76
+ custom_block2_alias: TextVariable;
77
+ custom_block3_alias: TextVariable;
78
+ exhibitor_level_1: TogglePlusLabelVariable;
79
+ exhibitor_level_2: TogglePlusLabelVariable;
80
+ exhibitor_level_3: TogglePlusLabelVariable;
81
+ exhibitor_level_4: TogglePlusLabelVariable;
82
+ exhibitor_level_5: TogglePlusLabelVariable;
83
+ exhibitor_level_6: TogglePlusLabelVariable;
84
+ exhibitors_block_alias: TextVariable;
85
+ main_body_html: HTMLVariable;
86
+ main_page_components: DragPlusToggleVariable;
87
+ main_presenter_1_conferences: TextVariable;
88
+ main_presenter_2_conferences: TextVariable;
89
+ past_events_alias: TextVariable;
90
+ presenter_1_alias: TextVariable;
91
+ presenter_1_image_style: SelectVariable;
92
+ presenter_1_item_width: NumberVariable;
93
+ presenter_2_alias: TextVariable;
94
+ presenter_2_image_style: SelectVariable;
95
+ presetner_2_item_width: NumberVariable;
96
+ presenter_all_alias: TextVariable;
97
+ presenter_all_image_style: SelectVariable;
98
+ presenter_all_item_width: NumberVariable;
99
+ sponsor_level_1: TogglePlusLabelVariable;
100
+ sponsor_level_2: TogglePlusLabelVariable;
101
+ sponsor_level_3: TogglePlusLabelVariable;
102
+ sponsor_level_4: TogglePlusLabelVariable;
103
+ sponsor_level_5: TogglePlusLabelVariable;
104
+ sponsor_level_6: TogglePlusLabelVariable;
105
+ sponsor_block_alias: TextVariable;
106
+ upcoming_events_alias: TextVariable;
107
+ use_event_text: ToggleVariable;
108
+ use_event_text_date: ToggleVariable;
109
+ use_event_text_tz: ToggleVariable;
110
+ };
111
+ export declare type PresenterPageConfigs = {
112
+ layout_format: SelectVariable;
113
+ presenter_1_alias: TogglePlusLabelVariable;
114
+ presenter_2_alias: TogglePlusLabelVariable;
115
+ presenter_3_alias: TogglePlusLabelVariable;
116
+ presenter_4_alias: TogglePlusLabelVariable;
117
+ presenter_5_alias: TogglePlusLabelVariable;
118
+ presenter_6_alias: TogglePlusLabelVariable;
119
+ presenter_7_alias: TogglePlusLabelVariable;
120
+ presenter_8_alias: TogglePlusLabelVariable;
121
+ presenter_9_alias: TogglePlusLabelVariable;
122
+ presenter_10_alias: TogglePlusLabelVariable;
123
+ presenter_11_alias: TogglePlusLabelVariable;
124
+ presenter_image_width: NumberVariable;
125
+ presenter_name_color: ColorVariable;
126
+ presenters_presenter_1_conferences: TextVariable;
127
+ presenters_presenter_2_conferences: TextVariable;
128
+ section_header_image: ImageVariable;
129
+ sort_by_level: ToggleVariable;
130
+ title: ColorVariable;
131
+ };
132
+ export declare type RegistrationPageConfigs = {
133
+ registration_html: HTMLVariable;
134
+ };
135
+ export declare type SponsorsPageConfigs = {
136
+ layout_format: SelectVariable;
137
+ section_header_image: ImageVariable;
138
+ };
139
+ export declare type SupportPageConfigs = {
140
+ live_support_url: TextVariable;
141
+ section_header_image: ImageVariable;
142
+ support_faq: ToggleVariable;
143
+ support_form: ToggleVariable;
144
+ support_html: ToggleVariable;
145
+ };
146
+ export declare type WebcastPageConfigs = {
147
+ chatroom_id: TextVariable;
148
+ featured_sponsor_level: SelectVariable;
149
+ player_position: SelectVariable;
150
+ section_header_image: ImageVariable;
151
+ session_title_visible: ToggleVariable;
152
+ video_only_width: NumberVariable;
153
+ video_slide_width: NumberVariable;
154
+ webcast_content_tabs: PlayerContentTabsVariable;
155
+ };
156
+ export interface Pages {
157
+ agenda: AgendaPlayerPageConfigs;
158
+ archive_player: ArchivePlayerPageConfigs;
159
+ exhibitors: ExhibitorPageConfigs;
160
+ main: MainPageConfigs;
161
+ presenters: PresenterPageConfigs;
162
+ registration: RegistrationPageConfigs;
163
+ sponsors: SponsorsPageConfigs;
164
+ support: SupportPageConfigs;
165
+ webcast: WebcastPageConfigs;
166
+ }
167
+ export declare type NestedKeyOf<ObjectType extends object> = {
168
+ [Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends AgendaPlayerPageConfigs | ArchivePlayerPageConfigs | ExhibitorPageConfigs | MainPageConfigs | PresenterPageConfigs | RegistrationPageConfigs | SponsorsPageConfigs | SupportPageConfigs | WebcastPageConfigs ? "" | `${Key}.${NestedKeyOf<ObjectType[Key]>}` : `${Key}`;
169
+ }[keyof ObjectType & (string | number)];
File without changes
@@ -0,0 +1,8 @@
1
+ export declare type Portal = {
2
+ id?: number;
3
+ name?: string;
4
+ gtm_id?: string | null;
5
+ ga_id?: string | null;
6
+ favicon?: string;
7
+ description?: string | null;
8
+ };
File without changes
@@ -0,0 +1,44 @@
1
+ export declare type Global = {
2
+ [key: string]: {
3
+ class?: string;
4
+ label?: string;
5
+ name?: string;
6
+ note?: string;
7
+ type?: string;
8
+ value?: string;
9
+ variable?: string;
10
+ };
11
+ };
12
+ export declare type Misc = {
13
+ [key: string]: {
14
+ class?: string;
15
+ label?: string;
16
+ name?: string;
17
+ note?: string;
18
+ type?: string;
19
+ value?: string;
20
+ variable?: string;
21
+ };
22
+ };
23
+ export declare type Pages = {
24
+ [key: string]: {
25
+ class?: string;
26
+ label?: string;
27
+ name?: string;
28
+ note?: string;
29
+ type?: string;
30
+ value?: string;
31
+ variable?: string;
32
+ };
33
+ };
34
+ export declare type Setting = {
35
+ label?: string;
36
+ name?: string;
37
+ type?: string;
38
+ value?: string;
39
+ };
40
+ export declare type TemplateConfig = {
41
+ global?: Global;
42
+ misc?: Misc;
43
+ pages?: Array<Pages>;
44
+ };
File without changes
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,55 @@
1
+ import { defineNuxtPlugin } from "#app";
2
+ import { computed } from "vue";
3
+ import { storeToRefs } from "pinia";
4
+ import NProgress from "nprogress";
5
+ import { createV3plusCommonPlugin } from "./v3plusCommonPlugin.mjs";
6
+ import { usePortalStore } from "./store/portal.mjs";
7
+ import { useConferencesStore } from "./store/conferences.mjs";
8
+ export default defineNuxtPlugin((nuxtApp) => {
9
+ const { version, portalHash, apiUrl } = nuxtApp.payload.config.public.v3plusCommonModule;
10
+ const v3plusCommonModule = createV3plusCommonPlugin({
11
+ version,
12
+ portalHash,
13
+ apiUrl
14
+ });
15
+ nuxtApp.$router.beforeEach(async (to, from) => {
16
+ NProgress.start();
17
+ const portalStore = usePortalStore();
18
+ const conferencesStore = useConferencesStore();
19
+ const { data: portal, errors: portalErrors } = storeToRefs(
20
+ usePortalStore()
21
+ );
22
+ if (portal.value === null) {
23
+ Promise.all([
24
+ await portalStore.getPortal().then(() => NProgress.inc()),
25
+ await conferencesStore.getConferences().then(() => NProgress.inc()),
26
+ await conferencesStore.getCurrentConference().then(() => NProgress.inc())
27
+ ]);
28
+ }
29
+ });
30
+ nuxtApp.$router.afterEach(() => {
31
+ NProgress.done();
32
+ });
33
+ nuxtApp.hook("app:created", (app) => {
34
+ const { data } = storeToRefs(usePortalStore());
35
+ app.config.globalProperties.$head.addHeadObjs(
36
+ computed(() => {
37
+ return {
38
+ title: data.value.name,
39
+ link: [
40
+ {
41
+ rel: "icon",
42
+ type: "image/x-icon",
43
+ href: data.value.favicon
44
+ }
45
+ ]
46
+ };
47
+ })
48
+ );
49
+ });
50
+ return {
51
+ provide: {
52
+ v3plusCommonModule
53
+ }
54
+ };
55
+ });
@@ -0,0 +1,12 @@
1
+ import { Sponsor } from "../models/conference";
2
+ export declare type AffiliatesState = {
3
+ affiliates: {
4
+ [conferenceId: number]: Sponsor[];
5
+ };
6
+ };
7
+ export declare const useAffiliatesStore: import("pinia").StoreDefinition<"affiliates", AffiliatesState, {
8
+ getConferenceAffiliates: (state: AffiliatesState) => (conferenceId: number) => Sponsor[];
9
+ }, {
10
+ getAffiliates(conferenceId: number): Promise<unknown>;
11
+ hasFetchedAffilites(conferenceId: number): boolean;
12
+ }>;
@@ -0,0 +1,35 @@
1
+ import { defineStore } from "pinia";
2
+ import { useApi } from "../composables/useApi.mjs";
3
+ export const useAffiliatesStore = defineStore("affiliates", {
4
+ state: () => ({
5
+ affiliates: {}
6
+ }),
7
+ getters: {
8
+ getConferenceAffiliates: (state) => {
9
+ return (conferenceId) => {
10
+ if (state.affiliates[conferenceId]) {
11
+ return state.affiliates[conferenceId];
12
+ } else {
13
+ return [];
14
+ }
15
+ };
16
+ }
17
+ },
18
+ actions: {
19
+ getAffiliates(conferenceId) {
20
+ return new Promise((resolve, reject) => {
21
+ const request = useApi();
22
+ request(
23
+ `/conferences/${conferenceId}/affiliates?filter[role]=sponsor&orderBy=name&orderDir=asc`
24
+ ).then((response) => {
25
+ this.affiliates[conferenceId] = response.data;
26
+ }).catch((error) => {
27
+ reject(error);
28
+ });
29
+ });
30
+ },
31
+ hasFetchedAffilites(conferenceId) {
32
+ return Object.keys(this.affiliates).includes(String(conferenceId));
33
+ }
34
+ }
35
+ });
@@ -0,0 +1,14 @@
1
+ import { AuthUser } from "../models/authUser";
2
+ export declare type AuthStoreState = {
3
+ user: null | AuthUser;
4
+ };
5
+ export declare type LoginParams = {
6
+ email: string;
7
+ password: string;
8
+ revoke?: boolean;
9
+ };
10
+ export declare const useAuthStore: import("pinia").StoreDefinition<"auth", AuthStoreState, {
11
+ isLoggedIn: (state: AuthStoreState) => boolean;
12
+ }, {
13
+ login(params: LoginParams): Promise<AuthUser>;
14
+ }>;
@@ -0,0 +1,32 @@
1
+ import { defineStore } from "pinia";
2
+ import { useApi } from "../composables/useApi.mjs";
3
+ export const useAuthStore = defineStore("auth", {
4
+ state: () => ({
5
+ user: null
6
+ }),
7
+ getters: {
8
+ isLoggedIn: (state) => {
9
+ return state.user !== null;
10
+ }
11
+ },
12
+ actions: {
13
+ login(params) {
14
+ return new Promise((resolve, reject) => {
15
+ const request = useApi();
16
+ request("auth", {
17
+ method: "POST",
18
+ body: params
19
+ }).then((response) => {
20
+ this.data = response.data;
21
+ const conferencesStore = useConferencesStore();
22
+ conferencesStore.getConferences().then(() => {
23
+ conferencesStore.getCurrentConference();
24
+ });
25
+ resolve(response.data);
26
+ }).catch((error) => {
27
+ reject(error);
28
+ });
29
+ });
30
+ }
31
+ }
32
+ });