@icvdeveloper/common-module 0.0.49 → 0.0.51

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 (71) hide show
  1. package/README.md +6 -6
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +1 -1
  4. package/dist/runtime/@types/components.d.ts +19 -0
  5. package/dist/runtime/assets/svg/answer.svg +14 -14
  6. package/dist/runtime/assets/svg/avatar.svg +1 -1
  7. package/dist/runtime/assets/svg/bell-icon.svg +3 -3
  8. package/dist/runtime/assets/svg/checkmark-icon.svg +1 -1
  9. package/dist/runtime/assets/svg/close-icon.svg +1 -1
  10. package/dist/runtime/assets/svg/icon-avatar.svg +1 -1
  11. package/dist/runtime/assets/svg/icon-chevron.svg +4 -0
  12. package/dist/runtime/assets/svg/icon-close.svg +1 -1
  13. package/dist/runtime/assets/svg/icon-info.svg +2 -2
  14. package/dist/runtime/assets/svg/icon-new-window.svg +11 -11
  15. package/dist/runtime/assets/svg/icon-offline.svg +3 -3
  16. package/dist/runtime/assets/svg/icon-online.svg +3 -3
  17. package/dist/runtime/assets/svg/icon-person.svg +2 -2
  18. package/dist/runtime/assets/svg/icon-play.svg +2 -2
  19. package/dist/runtime/assets/svg/icon-star-filled.svg +29 -29
  20. package/dist/runtime/assets/svg/icon-star.svg +24 -24
  21. package/dist/runtime/assets/svg/icon-video-chat.svg +14 -14
  22. package/dist/runtime/assets/svg/icon-website.svg +2 -2
  23. package/dist/runtime/assets/svg/icon-zoom.svg +10 -10
  24. package/dist/runtime/assets/svg/notification-icon.svg +32 -32
  25. package/dist/runtime/assets/svg/offline-icon.svg +1 -1
  26. package/dist/runtime/assets/svg/online-icon.svg +3 -3
  27. package/dist/runtime/assets/svg/peer2peer.svg +3 -3
  28. package/dist/runtime/assets/svg/phone.svg +1 -1
  29. package/dist/runtime/assets/svg/plus-icon.svg +1 -1
  30. package/dist/runtime/assets/svg/red-icon.svg +3 -3
  31. package/dist/runtime/assets/svg/reject.svg +14 -14
  32. package/dist/runtime/assets/svg/search-icon.svg +3 -3
  33. package/dist/runtime/components/affiliates/AffiliatePage.vue +17 -17
  34. package/dist/runtime/components/agenda/AgendaTabbed.vue +300 -300
  35. package/dist/runtime/components/agenda/components/InfoLink.vue +56 -56
  36. package/dist/runtime/components/agenda/components/PlayIcon.vue +49 -49
  37. package/dist/runtime/components/agenda/components/PresentationLink.vue +137 -137
  38. package/dist/runtime/components/agenda/components/Sponsor.vue +132 -132
  39. package/dist/runtime/components/auth/LoginFullWidth.vue +78 -78
  40. package/dist/runtime/components/auth/PasswordReset.vue +60 -60
  41. package/dist/runtime/components/auth/Registration.vue +27 -27
  42. package/dist/runtime/components/auth/Ucc.vue +52 -52
  43. package/dist/runtime/components/core/Accordion.vue +98 -40
  44. package/dist/runtime/components/core/CountdownTimer.vue +308 -308
  45. package/dist/runtime/components/core/DynamicHtml.vue +1 -1
  46. package/dist/runtime/components/core/Modal.vue +111 -111
  47. package/dist/runtime/components/core/Navbar.vue +154 -154
  48. package/dist/runtime/components/core/SvgIcon.vue +145 -139
  49. package/dist/runtime/components/core/ZoomModal.vue +37 -37
  50. package/dist/runtime/components/events/EventHeader.vue +133 -133
  51. package/dist/runtime/components/events/ListEvents.vue +477 -477
  52. package/dist/runtime/components/forms/AlertBox.vue +21 -21
  53. package/dist/runtime/components/forms/ErrorField.vue +17 -17
  54. package/dist/runtime/components/forms/Message.vue +27 -27
  55. package/dist/runtime/components/forms/SearchInput.vue +38 -38
  56. package/dist/runtime/components/forms/SupportForm.vue +112 -112
  57. package/dist/runtime/components/forms/SwitchInput.vue +42 -42
  58. package/dist/runtime/components/forms/TextArea.vue +26 -26
  59. package/dist/runtime/components/forms/TextInput.vue +28 -28
  60. package/dist/runtime/components/layouts/Accordion.vue +78 -78
  61. package/dist/runtime/components/presenters/PresenterListing.vue +164 -164
  62. package/dist/runtime/components/presenters/PresenterModal.vue +225 -225
  63. package/dist/runtime/components/profile/Profile.vue +149 -149
  64. package/dist/runtime/components/profile/components/Sidebar.vue +27 -27
  65. package/dist/runtime/components/profile/components/SidebarNavItem.vue +39 -39
  66. package/dist/runtime/components/profile/tabs/Favorites.vue +21 -21
  67. package/dist/runtime/components/profile/tabs/GeneralInformation.vue +122 -122
  68. package/dist/runtime/components/profile/tabs/ProfileImage.vue +75 -75
  69. package/dist/runtime/components/support/FAQAccordion.vue +137 -247
  70. package/dist/runtime/models/icons.d.ts +1 -0
  71. package/package.json +1 -1
@@ -1,52 +1,52 @@
1
- <script lang="ts" setup>
2
- import { toRefs, onMounted } from "vue";
3
- import { useUcc } from "../../composables/useUcc";
4
- import { useConferencesStore } from "../../store/conferences";
5
- import { uccClassObj } from "../../@types/components";
6
- import { useClassBinding } from "../../composables/useClassBinding";
7
-
8
- const { loadUccScript } = useUcc();
9
-
10
- interface Props {
11
- eventId?: number | null;
12
- classObject?: uccClassObj;
13
- }
14
-
15
- const props = withDefaults(defineProps<Props>(), {
16
- eventId: () => useConferencesStore().currentConference.id,
17
- classObject: () => {
18
- return {
19
- container: ""
20
- };
21
- },
22
- });
23
-
24
- const {
25
- classObject,
26
- } = toRefs(props);
27
-
28
- const conferenceStore = useConferencesStore();
29
- const { classBinding } = useClassBinding();
30
-
31
- // reactive data
32
- const { eventId } = toRefs(props);
33
-
34
- // on mount
35
- onMounted(() => {
36
- loadUccScript(props.eventId);
37
- });
38
-
39
- </script>
40
-
41
- <template>
42
- <div
43
- id="uccTarget"
44
- :class="
45
- classBinding(
46
- classObject,
47
- 'container',
48
- 'p-0 m-0 w-full'
49
- )
50
- "
51
- />
52
- </template>
1
+ <script lang="ts" setup>
2
+ import { toRefs, onMounted } from "vue";
3
+ import { useUcc } from "../../composables/useUcc";
4
+ import { useConferencesStore } from "../../store/conferences";
5
+ import { uccClassObj } from "../../@types/components";
6
+ import { useClassBinding } from "../../composables/useClassBinding";
7
+
8
+ const { loadUccScript } = useUcc();
9
+
10
+ interface Props {
11
+ eventId?: number | null;
12
+ classObject?: uccClassObj;
13
+ }
14
+
15
+ const props = withDefaults(defineProps<Props>(), {
16
+ eventId: () => useConferencesStore().currentConference.id,
17
+ classObject: () => {
18
+ return {
19
+ container: ""
20
+ };
21
+ },
22
+ });
23
+
24
+ const {
25
+ classObject,
26
+ } = toRefs(props);
27
+
28
+ const conferenceStore = useConferencesStore();
29
+ const { classBinding } = useClassBinding();
30
+
31
+ // reactive data
32
+ const { eventId } = toRefs(props);
33
+
34
+ // on mount
35
+ onMounted(() => {
36
+ loadUccScript(props.eventId);
37
+ });
38
+
39
+ </script>
40
+
41
+ <template>
42
+ <div
43
+ id="uccTarget"
44
+ :class="
45
+ classBinding(
46
+ classObject,
47
+ 'container',
48
+ 'p-0 m-0 w-full'
49
+ )
50
+ "
51
+ />
52
+ </template>
@@ -1,41 +1,99 @@
1
- <script lang="ts" setup>
2
- import { ref } from "vue";
3
-
4
- const expanded = ref<boolean>(false);
5
-
6
- // methods
7
- const toggle = () => {
8
- expanded.value = !expanded.value;
9
- };
10
- </script>
11
-
12
- <template>
13
- <div>
14
- <div class="font-bold mt-2 mb-4">
15
- <button class="outline-none hover:underline" @click="toggle">
16
- <slot name="question" />
17
- </button>
18
-
19
- <button class="outline-none" @click="toggle">
20
- <div
21
- class="inline-block font-bold px-2 chevron"
22
- :class="{ normal: !expanded, down: expanded }"
23
- >
24
- &gt;
25
- </div>
26
- </button>
27
- </div>
28
-
29
- <transition name="slide" mode="out-in">
30
- <div v-show="expanded">
31
- <div class="rounded px-4 pt-3 pb-1 bg-grey-lighter">
32
- <slot name="answer" />
33
- </div>
34
- </div>
35
- </transition>
36
- </div>
37
- </template>
38
-
1
+ <script lang="ts" setup>
2
+ import { ref, toRefs } from "vue";
3
+ import { useClassBinding } from "../../composables/useClassBinding";
4
+ import {
5
+ accordionClassObj,
6
+ accordionCompObj,
7
+ svgIconClassObj,
8
+ } from "../../@types/components";
9
+
10
+ interface Props {
11
+ classObject?: accordionClassObj;
12
+ }
13
+
14
+ const props = withDefaults(defineProps<Props>(), {
15
+ classObject: () => {
16
+ return {
17
+ components: ref<accordionCompObj>({
18
+ svgIcon: ref<svgIconClassObj>({}),
19
+ }),
20
+ };
21
+ },
22
+ });
23
+
24
+ const { classObject } = toRefs(props);
25
+
26
+ const { classBinding } = useClassBinding();
27
+ const expanded = ref<boolean>(false);
28
+
29
+ // methods
30
+ const toggle = () => {
31
+ expanded.value = !expanded.value;
32
+ };
33
+ </script>
34
+
35
+ <template>
36
+ <div>
37
+ <div
38
+ :class="
39
+ classBinding(classObject, 'buttonContainer', 'font-bold mt-2 mb-4')
40
+ "
41
+ >
42
+ <button
43
+ :class="
44
+ classBinding(
45
+ classObject,
46
+ 'textButton',
47
+ 'outline-none hover:underline'
48
+ )
49
+ "
50
+ @click="toggle"
51
+ >
52
+ <slot name="question" />
53
+ </button>
54
+
55
+ <button
56
+ :class="classBinding(classObject, 'iconButton', 'outline-none')"
57
+ @click="toggle"
58
+ >
59
+ <div
60
+ :class="[
61
+ { normal: !expanded, down: expanded },
62
+ classBinding(
63
+ classObject,
64
+ 'iconContainer',
65
+ 'inline-block font-bold px-2 chevron'
66
+ ),
67
+ ]"
68
+ >
69
+ <CommonSvgIcon
70
+ :class="
71
+ classBinding(classObject.components.svgIcon, 'container', '')
72
+ "
73
+ :class-object="classObject.components.svgIcon"
74
+ icon="chevron"
75
+ />
76
+ </div>
77
+ </button>
78
+ </div>
79
+
80
+ <transition name="slide" mode="out-in">
81
+ <div
82
+ v-show="expanded"
83
+ :class="
84
+ classBinding(
85
+ classObject,
86
+ 'dropdownContainer',
87
+ 'rounded px-4 pt-3 pb-1 bg-grey-lighter'
88
+ )
89
+ "
90
+ >
91
+ <slot name="answer" />
92
+ </div>
93
+ </transition>
94
+ </div>
95
+ </template>
96
+
39
97
  <style scoped>
40
98
  .slide-enter-active,
41
99
  .slide-leave-active {
@@ -56,7 +114,7 @@ const toggle = () => {
56
114
  will-change: transform;
57
115
  }
58
116
  .chevron.down {
59
- transform: rotate(90deg);
117
+ transform: rotate(180deg);
60
118
  }
61
119
  .chevron.normal {
62
120
  transform: rotate(0deg);
@@ -65,4 +123,4 @@ const toggle = () => {
65
123
  .outline-none {
66
124
  outline: none;
67
125
  }
68
- </style>
126
+ </style>