@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
package/dist/module.d.ts CHANGED
@@ -21,6 +21,7 @@ interface ModuleOptions {
21
21
  portalHash?: null | string;
22
22
  apiUrl?: null | string;
23
23
  tailwindConfigPath?: null | string;
24
+ compileCss?: boolean;
24
25
  }
25
26
  declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
26
27
 
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "v3plus-common-module",
3
3
  "configKey": "v3plusCommonModule",
4
- "version": "0.0.42"
4
+ "version": "0.0.44"
5
5
  }
package/dist/module.mjs CHANGED
@@ -1,8 +1,10 @@
1
1
  import { join, resolve } from 'path';
2
2
  import { fileURLToPath } from 'url';
3
- import { defineNuxtModule, useLogger, installModule, addPlugin, addAutoImportDir, addComponentsDir } from '@nuxt/kit';
3
+ import { defineNuxtModule, useLogger, installModule, addPlugin, addImportsDir, addComponentsDir } from '@nuxt/kit';
4
4
  import svgLoader from 'vite-svg-loader';
5
5
 
6
+
7
+
6
8
  // -- Unbuild CommonJS Shims --
7
9
  import __cjs_url__ from 'url';
8
10
  import __cjs_path__ from 'path';
@@ -10,8 +12,6 @@ import __cjs_mod__ from 'module';
10
12
  const __filename = __cjs_url__.fileURLToPath(import.meta.url);
11
13
  const __dirname = __cjs_path__.dirname(__filename);
12
14
  const require = __cjs_mod__.createRequire(import.meta.url);
13
-
14
-
15
15
  var ConferenceState = /* @__PURE__ */ ((ConferenceState2) => {
16
16
  ConferenceState2["LIVE"] = "live";
17
17
  ConferenceState2["MIXED"] = "mixed";
@@ -39,7 +39,8 @@ const module = defineNuxtModule({
39
39
  defaults: {
40
40
  portalHash: null,
41
41
  apiUrl: null,
42
- tailwindConfigPath: null
42
+ tailwindConfigPath: null,
43
+ compileCss: false
43
44
  },
44
45
  async setup(options, nuxt) {
45
46
  const logger = useLogger();
@@ -90,7 +91,11 @@ const module = defineNuxtModule({
90
91
  nuxt.options.build.transpile.push(runtimeDir);
91
92
  addPlugin(resolve(runtimeDir, "plugin"));
92
93
  nuxt.options.css.push("nprogress/nprogress.css");
93
- nuxt.options.css.push(join(runtimeDir, "assets/scss/index.scss"));
94
+ if (options.compileCss) {
95
+ nuxt.options.css.push(join(runtimeDir, "assets/scss/index.scss"));
96
+ } else {
97
+ nuxt.options.css.push(join(runtimeDir, "assets/scss/index.css"));
98
+ }
94
99
  if (nuxt.options.vite.optimizeDeps) {
95
100
  nuxt.options.vite.optimizeDeps.include = ["nprogress", "date-fns-tz"];
96
101
  } else {
@@ -98,8 +103,8 @@ const module = defineNuxtModule({
98
103
  include: ["nprogress", "date-fns-tz"]
99
104
  };
100
105
  }
101
- addAutoImportDir(join(runtimeDir, "store"));
102
- addAutoImportDir(join(runtimeDir, "composables"));
106
+ addImportsDir(join(runtimeDir, "store"));
107
+ addImportsDir(join(runtimeDir, "composables"));
103
108
  addComponentsDir({
104
109
  path: join(runtimeDir, "components/core"),
105
110
  extensions: ["vue"],
@@ -1,4 +1,4 @@
1
- export declare type countdownTimerClassObj = {
1
+ export type countdownTimerClassObj = {
2
2
  container?: string | null;
3
3
  countdownContainer?: string | null;
4
4
  beginText?: string | null;
@@ -8,7 +8,7 @@ export declare type countdownTimerClassObj = {
8
8
  unitContainer?: string | null;
9
9
  unit?: string | null;
10
10
  };
11
- export declare type sponsorClassObj = {
11
+ export type sponsorClassObj = {
12
12
  container?: string | null;
13
13
  sponsorContainer?: string | null;
14
14
  labelImageContainer?: string | null;
@@ -17,13 +17,13 @@ export declare type sponsorClassObj = {
17
17
  imageContainer?: string | null;
18
18
  sponsorImage?: string | null;
19
19
  };
20
- export declare type listEventsCompObj = {
20
+ export type listEventsCompObj = {
21
21
  countdownTimer?: countdownTimerClassObj | null;
22
22
  sponsor?: sponsorClassObj | null;
23
23
  modal?: string | null;
24
24
  login?: string | null;
25
25
  };
26
- export declare type listEventsClassObj = {
26
+ export type listEventsClassObj = {
27
27
  container?: string | null;
28
28
  listContainer?: string | null;
29
29
  eventContainer?: string | null;
@@ -45,7 +45,7 @@ export declare type listEventsClassObj = {
45
45
  sponsorsContainer?: string | null;
46
46
  components?: listEventsCompObj;
47
47
  };
48
- export declare type presenterListingClassObj = {
48
+ export type presenterListingClassObj = {
49
49
  container?: string | null;
50
50
  presenterImageContainer?: string | null;
51
51
  presenterImage?: string | null;
@@ -1,49 +1,49 @@
1
- export declare type ColorVariable = {
1
+ export type ColorVariable = {
2
2
  value: string;
3
3
  class: string;
4
4
  label: string;
5
5
  name: string;
6
6
  variable: string;
7
7
  };
8
- export declare type HTMLVariable = {
8
+ export type HTMLVariable = {
9
9
  label: string;
10
10
  name: string;
11
11
  type: string;
12
12
  value: string;
13
13
  };
14
- export declare type ToggleVariable = {
14
+ export type ToggleVariable = {
15
15
  class: string;
16
16
  label: string;
17
17
  name: string;
18
18
  type: string;
19
19
  value: boolean;
20
20
  };
21
- export declare type SelectVariable = {
21
+ export type SelectVariable = {
22
22
  label: string;
23
23
  name: string;
24
24
  type: string;
25
25
  value: string;
26
26
  };
27
- export declare type NumberVariable = {
27
+ export type NumberVariable = {
28
28
  label: string;
29
29
  name: string;
30
30
  note: string;
31
31
  type: string;
32
32
  value: string;
33
33
  };
34
- export declare type ImageVariable = {
34
+ export type ImageVariable = {
35
35
  label: string;
36
36
  name: string;
37
37
  type: string;
38
38
  value: string;
39
39
  };
40
- export declare type TextVariable = {
40
+ export type TextVariable = {
41
41
  label: string;
42
42
  name: string;
43
43
  type: string;
44
44
  value: string;
45
45
  };
46
- export declare type TogglePlusLabelVariable = {
46
+ export type TogglePlusLabelVariable = {
47
47
  label: string;
48
48
  name: string;
49
49
  type: string;
@@ -52,7 +52,7 @@ export declare type TogglePlusLabelVariable = {
52
52
  label: string;
53
53
  };
54
54
  };
55
- export declare type DragPlusToggleVariable = {
55
+ export type DragPlusToggleVariable = {
56
56
  label: string;
57
57
  name: string;
58
58
  type: string;
@@ -63,14 +63,14 @@ export declare type DragPlusToggleVariable = {
63
63
  order: number;
64
64
  }>;
65
65
  };
66
- export declare type FontVariable = {
66
+ export type FontVariable = {
67
67
  label: string;
68
68
  name: string;
69
69
  type: string;
70
70
  value: string;
71
71
  variable: string;
72
72
  };
73
- export declare type TextAreaVariable = {
73
+ export type TextAreaVariable = {
74
74
  label: string;
75
75
  name: string;
76
76
  type: string;
@@ -1,5 +1,5 @@
1
1
  import { AnalyticsInstance } from "analytics";
2
- export declare type Analytics = {
2
+ export type Analytics = {
3
3
  readonly _analytics: AnalyticsInstance | null;
4
4
  create: (id: any, userId: any) => void;
5
5
  click: (event: string, label: string) => void;