@icvdeveloper/common-module 0.0.42 → 0.0.44

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 (59) hide show
  1. package/dist/module.d.ts +1 -0
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +12 -7
  4. package/dist/runtime/@types/components.d.ts +5 -5
  5. package/dist/runtime/@types/configVariables.d.ts +11 -11
  6. package/dist/runtime/analytics.d.ts +1 -1
  7. package/dist/runtime/assets/scss/index.css +705 -0
  8. package/dist/runtime/components/agenda/AgendaTabbed.vue +15 -9
  9. package/dist/runtime/components/agenda/components/Sponsor.vue +14 -21
  10. package/dist/runtime/components/core/Accordion.vue +10 -7
  11. package/dist/runtime/components/core/CountdownTimer.vue +44 -41
  12. package/dist/runtime/components/core/DynamicHtml.vue.d.ts +1 -1
  13. package/dist/runtime/components/core/Modal.vue +8 -4
  14. package/dist/runtime/components/events/ListEvents.vue +1 -1
  15. package/dist/runtime/components/forms/Message.vue +1 -1
  16. package/dist/runtime/components/forms/SwitchInput.vue +34 -49
  17. package/dist/runtime/components/presenters/PresenterListing.vue +5 -3
  18. package/dist/runtime/composables/useAgenda.d.ts +1 -1
  19. package/dist/runtime/composables/useAnalytics.d.ts +1 -1
  20. package/dist/runtime/composables/useAuth.d.ts +1 -1
  21. package/dist/runtime/composables/useClassBinding.d.ts +1 -1
  22. package/dist/runtime/composables/useConferenceHelpers.d.ts +1 -1
  23. package/dist/runtime/composables/useDateFormat.d.ts +1 -1
  24. package/dist/runtime/composables/useEvents.d.ts +1 -1
  25. package/dist/runtime/composables/useLogin.d.ts +1 -1
  26. package/dist/runtime/composables/usePresentation.d.ts +1 -1
  27. package/dist/runtime/composables/usePresenter.d.ts +1 -1
  28. package/dist/runtime/composables/usePresenters.d.ts +1 -1
  29. package/dist/runtime/composables/useRegistration.d.ts +1 -1
  30. package/dist/runtime/models/affiliate.d.ts +1 -1
  31. package/dist/runtime/models/authUser.d.ts +1 -1
  32. package/dist/runtime/models/conference.d.ts +8 -8
  33. package/dist/runtime/models/globalConfig.d.ts +3 -3
  34. package/dist/runtime/models/group.d.ts +1 -1
  35. package/dist/runtime/models/icons.d.ts +2 -2
  36. package/dist/runtime/models/navigationConfig.d.ts +1 -1
  37. package/dist/runtime/models/pagesConfig.d.ts +12 -12
  38. package/dist/runtime/models/portal.d.ts +1 -1
  39. package/dist/runtime/models/templateConfig.d.ts +5 -5
  40. package/dist/runtime/plugin.mjs +3 -0
  41. package/dist/runtime/store/affiliates.d.ts +1 -1
  42. package/dist/runtime/store/auth.d.ts +2 -2
  43. package/dist/runtime/v3plusCommonPlugin.d.ts +2 -2
  44. package/dist/types.d.ts +1 -1
  45. package/package.json +6 -6
  46. package/dist/runtime/assets/scss/_agenda.scss +0 -47
  47. package/dist/runtime/assets/scss/_animations.scss +0 -11
  48. package/dist/runtime/assets/scss/_container_variants.scss +0 -26
  49. package/dist/runtime/assets/scss/_custom.scss +0 -364
  50. package/dist/runtime/assets/scss/_footer.scss +0 -20
  51. package/dist/runtime/assets/scss/_forms.scss +0 -29
  52. package/dist/runtime/assets/scss/_functions.scss +0 -24
  53. package/dist/runtime/assets/scss/_header.scss +0 -40
  54. package/dist/runtime/assets/scss/_index_production.scss +0 -45
  55. package/dist/runtime/assets/scss/_transitions.scss +0 -24
  56. package/dist/runtime/assets/scss/_variables.scss +0 -62
  57. package/dist/runtime/assets/scss/_variables2.scss +0 -0
  58. package/dist/runtime/assets/scss/_webcast.scss +0 -141
  59. package/dist/runtime/assets/scss/index.scss +0 -42
@@ -1,6 +1,6 @@
1
1
  import type { ColorVariable, HTMLVariable, FontVariable, ToggleVariable, SelectVariable, NumberVariable, ImageVariable, TextVariable, TextAreaVariable } from "../@types/configVariables";
2
2
  import type { Group } from "./group";
3
- export declare type GroupVariable = {
3
+ export type GroupVariable = {
4
4
  label: string;
5
5
  name: string;
6
6
  type: string;
@@ -77,5 +77,5 @@ export interface Global {
77
77
  view_now_button_alias: TextVariable;
78
78
  view_preview_button_alias: TextVariable;
79
79
  }
80
- export declare type GlobalConfigKey = `${keyof Global & (string | number)}`;
81
- export declare type GlobalConfigKeyType<T extends keyof Global> = Global[T];
80
+ export type GlobalConfigKey = `${keyof Global & (string | number)}`;
81
+ export type GlobalConfigKeyType<T extends keyof Global> = Global[T];
@@ -1,4 +1,4 @@
1
- export declare type Group = {
1
+ export type Group = {
2
2
  cc_enabled?: boolean;
3
3
  code?: string;
4
4
  created_at?: string;
@@ -1,9 +1,9 @@
1
1
  import { VNode } from "vue";
2
- export declare type Icon = {
2
+ export type Icon = {
3
3
  color: string;
4
4
  component: VNode;
5
5
  };
6
- export declare type Icons = {
6
+ export type Icons = {
7
7
  person: Icon;
8
8
  info: Icon;
9
9
  twitter: Icon;
@@ -1,4 +1,4 @@
1
- export declare type NavigationConfig = {
1
+ export type NavigationConfig = {
2
2
  enabled?: boolean;
3
3
  label?: string;
4
4
  name?: string;
@@ -1,5 +1,5 @@
1
1
  import type { ColorVariable, HTMLVariable, ToggleVariable, SelectVariable, NumberVariable, ImageVariable, TextVariable, TogglePlusLabelVariable, DragPlusToggleVariable } from "../@types/configVariables";
2
- export declare type ArchiveContentTabsVariable = {
2
+ export type ArchiveContentTabsVariable = {
3
3
  label: string;
4
4
  name: string;
5
5
  type: string;
@@ -9,7 +9,7 @@ export declare type ArchiveContentTabsVariable = {
9
9
  type: string;
10
10
  }>;
11
11
  };
12
- export declare type PlayerContentTabsVariable = {
12
+ export type PlayerContentTabsVariable = {
13
13
  label: string;
14
14
  name: string;
15
15
  type: string;
@@ -19,7 +19,7 @@ export declare type PlayerContentTabsVariable = {
19
19
  type: string;
20
20
  }>;
21
21
  };
22
- export declare type AgendaPlayerPageConfigs = {
22
+ export type AgendaPlayerPageConfigs = {
23
23
  agenda_grouped_track_color_1: ColorVariable;
24
24
  agenda_grouped_track_color_2: ColorVariable;
25
25
  agenda_grouped_track_color_3: ColorVariable;
@@ -50,7 +50,7 @@ export declare type AgendaPlayerPageConfigs = {
50
50
  live_stream_text: TextVariable;
51
51
  pre_recorded_text: TextVariable;
52
52
  };
53
- export declare type ArchivePlayerPageConfigs = {
53
+ export type ArchivePlayerPageConfigs = {
54
54
  archive_content_tabs: ArchiveContentTabsVariable;
55
55
  featured_sponsor_level: SelectVariable;
56
56
  player_position: SelectVariable;
@@ -60,11 +60,11 @@ export declare type ArchivePlayerPageConfigs = {
60
60
  video_only_width: NumberVariable;
61
61
  video_slide_width: NumberVariable;
62
62
  };
63
- export declare type ExhibitorPageConfigs = {
63
+ export type ExhibitorPageConfigs = {
64
64
  layout_format: SelectVariable;
65
65
  section_header_image: ImageVariable;
66
66
  };
67
- export declare type MainPageConfigs = {
67
+ export type MainPageConfigs = {
68
68
  conference_external_reg_url: TextVariable;
69
69
  conferece_reg_button_alias: TextVariable;
70
70
  conference_reg_button_enabled: ToggleVariable;
@@ -108,7 +108,7 @@ export declare type MainPageConfigs = {
108
108
  use_event_text_date: ToggleVariable;
109
109
  use_event_text_tz: ToggleVariable;
110
110
  };
111
- export declare type PresenterPageConfigs = {
111
+ export type PresenterPageConfigs = {
112
112
  layout_format: SelectVariable;
113
113
  presenter_1_alias: TogglePlusLabelVariable;
114
114
  presenter_2_alias: TogglePlusLabelVariable;
@@ -129,21 +129,21 @@ export declare type PresenterPageConfigs = {
129
129
  sort_by_level: ToggleVariable;
130
130
  title: ColorVariable;
131
131
  };
132
- export declare type RegistrationPageConfigs = {
132
+ export type RegistrationPageConfigs = {
133
133
  registration_html: HTMLVariable;
134
134
  };
135
- export declare type SponsorsPageConfigs = {
135
+ export type SponsorsPageConfigs = {
136
136
  layout_format: SelectVariable;
137
137
  section_header_image: ImageVariable;
138
138
  };
139
- export declare type SupportPageConfigs = {
139
+ export type SupportPageConfigs = {
140
140
  live_support_url: TextVariable;
141
141
  section_header_image: ImageVariable;
142
142
  support_faq: ToggleVariable;
143
143
  support_form: ToggleVariable;
144
144
  support_html: ToggleVariable;
145
145
  };
146
- export declare type WebcastPageConfigs = {
146
+ export type WebcastPageConfigs = {
147
147
  chatroom_id: TextVariable;
148
148
  featured_sponsor_level: SelectVariable;
149
149
  player_position: SelectVariable;
@@ -164,6 +164,6 @@ export interface Pages {
164
164
  support: SupportPageConfigs;
165
165
  webcast: WebcastPageConfigs;
166
166
  }
167
- export declare type NestedKeyOf<ObjectType extends object> = {
167
+ export type NestedKeyOf<ObjectType extends object> = {
168
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
169
  }[keyof ObjectType & (string | number)];
@@ -1,4 +1,4 @@
1
- export declare type Portal = {
1
+ export type Portal = {
2
2
  id?: number;
3
3
  name?: string;
4
4
  gtm_id?: string | null;
@@ -1,4 +1,4 @@
1
- export declare type Global = {
1
+ export type Global = {
2
2
  [key: string]: {
3
3
  class?: string;
4
4
  label?: string;
@@ -9,7 +9,7 @@ export declare type Global = {
9
9
  variable?: string;
10
10
  };
11
11
  };
12
- export declare type Misc = {
12
+ export type Misc = {
13
13
  [key: string]: {
14
14
  class?: string;
15
15
  label?: string;
@@ -20,7 +20,7 @@ export declare type Misc = {
20
20
  variable?: string;
21
21
  };
22
22
  };
23
- export declare type Pages = {
23
+ export type Pages = {
24
24
  [key: string]: {
25
25
  class?: string;
26
26
  label?: string;
@@ -31,13 +31,13 @@ export declare type Pages = {
31
31
  variable?: string;
32
32
  };
33
33
  };
34
- export declare type Setting = {
34
+ export type Setting = {
35
35
  label?: string;
36
36
  name?: string;
37
37
  type?: string;
38
38
  value?: string;
39
39
  };
40
- export declare type TemplateConfig = {
40
+ export type TemplateConfig = {
41
41
  global?: Global;
42
42
  misc?: Misc;
43
43
  pages?: Array<Pages>;
@@ -23,8 +23,11 @@ export default defineNuxtPlugin((nuxtApp) => {
23
23
  );
24
24
  if (portal.value === null) {
25
25
  Promise.all([
26
+ // fetch portal config then increment loading indicator
26
27
  await portalStore.getPortal().then(() => NProgress.inc()),
28
+ // wait for portal config request to complete, then fetch conferences
27
29
  await conferencesStore.getConferences().then(() => NProgress.inc()),
30
+ // wait for get conferences to complete, then get current conference data.
28
31
  await conferencesStore.getCurrentConference().then(() => NProgress.inc())
29
32
  ]);
30
33
  }
@@ -1,5 +1,5 @@
1
1
  import { Sponsor } from "../models/conference";
2
- export declare type AffiliatesState = {
2
+ export type AffiliatesState = {
3
3
  affiliates: {
4
4
  [conferenceId: number]: Sponsor[];
5
5
  };
@@ -1,8 +1,8 @@
1
1
  import { AuthUser } from "../models/authUser";
2
- export declare type AuthStoreState = {
2
+ export type AuthStoreState = {
3
3
  user: null | AuthUser;
4
4
  };
5
- export declare type LoginParams = {
5
+ export type LoginParams = {
6
6
  email: string;
7
7
  password: string;
8
8
  revoke?: boolean;
@@ -1,10 +1,10 @@
1
1
  import { Analytics } from "./analytics";
2
- export declare type V3plusCommonPluginOptions = {
2
+ export type V3plusCommonPluginOptions = {
3
3
  version: string;
4
4
  portalHash: string;
5
5
  apiUrl: string;
6
6
  };
7
- export declare type V3plusCommonPlugin = {
7
+ export type V3plusCommonPlugin = {
8
8
  options: V3plusCommonPluginOptions;
9
9
  analytics: Analytics;
10
10
  };
package/dist/types.d.ts CHANGED
@@ -7,4 +7,4 @@ declare module '@nuxt/schema' {
7
7
  }
8
8
 
9
9
 
10
- export { default } from './module'
10
+ export { ConferenceState, ModuleOptions, PresentationType, default } from './module'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icvdeveloper/common-module",
3
- "version": "0.0.42",
3
+ "version": "0.0.44",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@analytics/google-analytics": "^1.0.3",
26
- "@nuxt/kit": "^3.0.0-rc.6",
27
- "@nuxtjs/tailwindcss": "^5.3.1",
26
+ "@nuxt/kit": "^3.0.0",
27
+ "@nuxtjs/tailwindcss": "^6.1.3",
28
28
  "@pinia/nuxt": "^0.3.1",
29
29
  "analytics": "^0.8.1",
30
30
  "date-fns": "^2.29.1",
@@ -39,12 +39,12 @@
39
39
  "vite-svg-loader": "^3.4.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@nuxt/module-builder": "latest",
43
- "@nuxtjs/eslint-config-typescript": "latest",
42
+ "@nuxt/module-builder": "^0.2.1",
43
+ "@nuxtjs/eslint-config-typescript": "^12.0.0",
44
44
  "@tailwindcss/typography": "^0.5.4",
45
45
  "eslint": "^8.22.0",
46
46
  "eslint-config-prettier": "^8.5.0",
47
- "nuxt": "^3.0.0-rc.6"
47
+ "nuxt": "^3.0.0"
48
48
  },
49
49
  "description": "## Development",
50
50
  "repository": {
@@ -1,47 +0,0 @@
1
- .agenda-tab-bg-color {
2
- background-color: $agenda-tab-bg-color;
3
- }
4
-
5
- .agenda-tab-active-bg-color {
6
- background-color: $agenda-tab-active-bg-color;
7
- }
8
-
9
- .agenda-tab-sponsor-bg-color {
10
- background-color: $agenda-tab-sponsor-bg-color;
11
- }
12
-
13
- .agenda-tab-color {
14
- color: $agenda-tab-color;
15
- }
16
-
17
- .agenda-track-bg-color {
18
- background-color: $agenda-track-bg-color;
19
- }
20
-
21
- .agenda-track-group-bg-color {
22
- background-color: $agenda-track-group-bg-color;
23
- }
24
-
25
- .agenda-grouped-track-color-1 {
26
- background-color: $agenda-grouped-track-color-1;
27
- }
28
- .agenda-grouped-track-color-2 {
29
- background-color: $agenda-grouped-track-color-2;
30
- }
31
- .agenda-grouped-track-color-3 {
32
- background-color: $agenda-grouped-track-color-3;
33
- }
34
- .agenda-grouped-track-color-4 {
35
- background-color: $agenda-grouped-track-color-4;
36
- }
37
- .agenda-grouped-track-text-color {
38
- color: $agenda-grouped-track-text-color;
39
- }
40
-
41
- .agenda-presenter-color {
42
- color: $agenda-presenter-color;
43
-
44
- &:hover {
45
- color: darken($agenda-presenter-color, 10);
46
- }
47
- }
@@ -1,11 +0,0 @@
1
- @keyframes slideInRight {
2
- 0% {
3
- opacity: 0;
4
- transform: translateX(-20px);
5
- }
6
-
7
- 100% {
8
- opacity: 1;
9
- transform: translate(0);
10
- }
11
- }
@@ -1,26 +0,0 @@
1
- .container-1\/2 {
2
- width: 100%;
3
- }
4
- @screen sm {
5
- .container-1\/2 {
6
- max-width: 288px;
7
- }
8
- }
9
-
10
- @screen md {
11
- .container-1\/2 {
12
- max-width: 384px;
13
- }
14
- }
15
-
16
- @screen lg {
17
- .container-1\/2 {
18
- max-width: 496px;
19
- }
20
- }
21
-
22
- @screen xl {
23
- .container-1\/2 {
24
- max-width: 600px;
25
- }
26
- }