@icvdeveloper/common-module 0.0.61 → 0.0.63

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 (75) hide show
  1. package/README.md +6 -6
  2. package/dist/module.json +1 -1
  3. package/dist/runtime/assets/svg/answer.svg +14 -14
  4. package/dist/runtime/assets/svg/avatar.svg +1 -1
  5. package/dist/runtime/assets/svg/bell-icon.svg +3 -3
  6. package/dist/runtime/assets/svg/checkmark-icon.svg +1 -1
  7. package/dist/runtime/assets/svg/close-icon.svg +1 -1
  8. package/dist/runtime/assets/svg/icon-avatar.svg +1 -1
  9. package/dist/runtime/assets/svg/icon-chevron.svg +4 -4
  10. package/dist/runtime/assets/svg/icon-circle-plus.svg +1 -0
  11. package/dist/runtime/assets/svg/icon-close.svg +1 -1
  12. package/dist/runtime/assets/svg/icon-info.svg +2 -2
  13. package/dist/runtime/assets/svg/icon-new-window.svg +11 -11
  14. package/dist/runtime/assets/svg/icon-offline.svg +3 -3
  15. package/dist/runtime/assets/svg/icon-online.svg +3 -3
  16. package/dist/runtime/assets/svg/icon-person.svg +2 -2
  17. package/dist/runtime/assets/svg/icon-play.svg +2 -2
  18. package/dist/runtime/assets/svg/icon-star-filled.svg +29 -29
  19. package/dist/runtime/assets/svg/icon-star.svg +24 -24
  20. package/dist/runtime/assets/svg/icon-video-chat.svg +14 -14
  21. package/dist/runtime/assets/svg/icon-website.svg +2 -2
  22. package/dist/runtime/assets/svg/icon-zoom.svg +10 -10
  23. package/dist/runtime/assets/svg/notification-icon.svg +32 -32
  24. package/dist/runtime/assets/svg/offline-icon.svg +1 -1
  25. package/dist/runtime/assets/svg/online-icon.svg +3 -3
  26. package/dist/runtime/assets/svg/peer2peer.svg +3 -3
  27. package/dist/runtime/assets/svg/phone.svg +1 -1
  28. package/dist/runtime/assets/svg/plus-icon.svg +1 -1
  29. package/dist/runtime/assets/svg/red-icon.svg +3 -3
  30. package/dist/runtime/assets/svg/reject.svg +14 -14
  31. package/dist/runtime/assets/svg/search-icon.svg +3 -3
  32. package/dist/runtime/components/affiliates/AffiliatePage.vue +17 -17
  33. package/dist/runtime/components/agenda/AgendaList.vue +108 -0
  34. package/dist/runtime/components/agenda/AgendaTabbed.vue +300 -300
  35. package/dist/runtime/components/agenda/components/AgendaListAccordion.vue +26 -0
  36. package/dist/runtime/components/agenda/components/InfoLink.vue +56 -56
  37. package/dist/runtime/components/agenda/components/PlayIcon.vue +49 -49
  38. package/dist/runtime/components/agenda/components/PresentationLink.vue +137 -137
  39. package/dist/runtime/components/agenda/components/Sponsor.vue +132 -132
  40. package/dist/runtime/components/auth/LoginFullWidth.vue +78 -78
  41. package/dist/runtime/components/auth/PasswordReset.vue +60 -60
  42. package/dist/runtime/components/auth/Registration.vue +27 -27
  43. package/dist/runtime/components/auth/Ucc.vue +52 -52
  44. package/dist/runtime/components/core/Accordion.vue +97 -97
  45. package/dist/runtime/components/core/CountdownTimer.vue +308 -308
  46. package/dist/runtime/components/core/DynamicHtml.vue +1 -1
  47. package/dist/runtime/components/core/Modal.vue +111 -111
  48. package/dist/runtime/components/core/Navbar.vue +154 -154
  49. package/dist/runtime/components/core/SvgIcon.vue +151 -145
  50. package/dist/runtime/components/core/ZoomModal.vue +37 -37
  51. package/dist/runtime/components/events/EventHeader.vue +133 -133
  52. package/dist/runtime/components/events/ListEvents.vue +480 -480
  53. package/dist/runtime/components/forms/AlertBox.vue +21 -21
  54. package/dist/runtime/components/forms/ErrorField.vue +17 -17
  55. package/dist/runtime/components/forms/Message.vue +27 -27
  56. package/dist/runtime/components/forms/SearchInput.vue +38 -38
  57. package/dist/runtime/components/forms/SupportForm.vue +112 -112
  58. package/dist/runtime/components/forms/SwitchInput.vue +42 -42
  59. package/dist/runtime/components/forms/TextArea.vue +26 -26
  60. package/dist/runtime/components/forms/TextInput.vue +28 -28
  61. package/dist/runtime/components/layouts/Accordion.vue +78 -78
  62. package/dist/runtime/components/presenters/PresenterListing.vue +164 -164
  63. package/dist/runtime/components/presenters/PresenterModal.vue +223 -223
  64. package/dist/runtime/components/profile/Profile.vue +149 -149
  65. package/dist/runtime/components/profile/components/Sidebar.vue +27 -27
  66. package/dist/runtime/components/profile/components/SidebarNavItem.vue +39 -39
  67. package/dist/runtime/components/profile/tabs/Favorites.vue +21 -21
  68. package/dist/runtime/components/profile/tabs/GeneralInformation.vue +122 -122
  69. package/dist/runtime/components/profile/tabs/ProfileImage.vue +75 -75
  70. package/dist/runtime/components/support/FAQAccordion.vue +137 -137
  71. package/dist/runtime/composables/usePresenter.d.ts +1 -1
  72. package/dist/runtime/composables/usePresenter.mjs +4 -1
  73. package/dist/runtime/models/icons.d.ts +1 -0
  74. package/dist/runtime/plugin.mjs +2 -0
  75. package/package.json +59 -59
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="#e3effa" width="15" height="15" viewBox="0 0 24 24"><path d="M24 10h-10v-10h-4v10h-10v4h10v10h4v-10h10z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="#e3effa" width="15" height="15" viewBox="0 0 24 24"><path d="M24 10h-10v-10h-4v10h-10v4h10v10h4v-10h10z"/></svg>
@@ -1,3 +1,3 @@
1
- <svg class="h-2 w-2 fill-current text-red mr-2" viewBox="0 0 20 20">
2
- <circle cx="10" cy="10" r="10"/>
3
- </svg>
1
+ <svg class="h-2 w-2 fill-current text-red mr-2" viewBox="0 0 20 20">
2
+ <circle cx="10" cy="10" r="10"/>
3
+ </svg>
@@ -1,14 +1,14 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="50px" height="50px" viewBox="0 0 525 525" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <!-- Generator: Sketch 52.6 (67491) - http://www.bohemiancoding.com/sketch -->
4
- <title>reject</title>
5
- <desc>Created with Sketch.</desc>
6
- <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
7
- <g id="Video-Call-yes-no-(1)" transform="translate(-622.000000, -134.000000)">
8
- <g id="reject" transform="translate(622.000000, 134.000000)">
9
- <circle id="Oval" fill="#9F2214" cx="262.32" cy="262.62" r="262.12"></circle>
10
- <path d="M431.13,324.68 C439.848013,309.180629 442.302617,290.932119 437.99,273.68 C416.99,187.68 263.99,190.13 263.99,190.13 C263.99,190.13 111,182.69 87.24,267.92 C82.3719639,285.020231 84.2288246,303.334817 92.43,319.11 L92.5,319.26 C96.787592,327.204682 105.735171,331.447697 114.6,329.74 L185.18,316.46 C185.18,316.46 208.36,310.18 206.24,290.15 C205.764001,286.286139 204.631018,282.532076 202.89,279.05 C199.05,267.58 192.23,250.83 184.23,247.22 C194.73,243.76 220.14,237.37 263.05,238.07 C305.96,238.77 331.14,246 341.52,249.8 C333.41,253.15 326.05,269.66 321.82,281.01 C319.970001,284.440405 318.715528,288.159869 318.11,292.01 C315.33,311.95 338.29,319.01 338.29,319.01 L408.61,334.65 C417.413254,336.643207 426.492273,332.696687 431.04,324.9 L431.13,324.68 Z" id="Path" fill="#FFFFFF"></path>
11
- </g>
12
- </g>
13
- </g>
14
- </svg>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="50px" height="50px" viewBox="0 0 525 525" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 52.6 (67491) - http://www.bohemiancoding.com/sketch -->
4
+ <title>reject</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
7
+ <g id="Video-Call-yes-no-(1)" transform="translate(-622.000000, -134.000000)">
8
+ <g id="reject" transform="translate(622.000000, 134.000000)">
9
+ <circle id="Oval" fill="#9F2214" cx="262.32" cy="262.62" r="262.12"></circle>
10
+ <path d="M431.13,324.68 C439.848013,309.180629 442.302617,290.932119 437.99,273.68 C416.99,187.68 263.99,190.13 263.99,190.13 C263.99,190.13 111,182.69 87.24,267.92 C82.3719639,285.020231 84.2288246,303.334817 92.43,319.11 L92.5,319.26 C96.787592,327.204682 105.735171,331.447697 114.6,329.74 L185.18,316.46 C185.18,316.46 208.36,310.18 206.24,290.15 C205.764001,286.286139 204.631018,282.532076 202.89,279.05 C199.05,267.58 192.23,250.83 184.23,247.22 C194.73,243.76 220.14,237.37 263.05,238.07 C305.96,238.77 331.14,246 341.52,249.8 C333.41,253.15 326.05,269.66 321.82,281.01 C319.970001,284.440405 318.715528,288.159869 318.11,292.01 C315.33,311.95 338.29,319.01 338.29,319.01 L408.61,334.65 C417.413254,336.643207 426.492273,332.696687 431.04,324.9 L431.13,324.68 Z" id="Path" fill="#FFFFFF"></path>
11
+ </g>
12
+ </g>
13
+ </g>
14
+ </svg>
@@ -1,3 +1,3 @@
1
- <svg class="fill-current text-grey h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
2
- <path d="M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z" />
3
- </svg>
1
+ <svg class="fill-current text-grey h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
2
+ <path d="M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z" />
3
+ </svg>
@@ -1,17 +1,17 @@
1
- <script lang="ts" setup>
2
- import { toRefs } from "vue";
3
- import { Affiliate } from "../../models/affiliate";
4
- import { Sponsor } from "../../models/conference";
5
-
6
- type Props = {
7
- affiliate: Affiliate | Sponsor;
8
- };
9
-
10
- const props = defineProps<Props>();
11
-
12
- const { affiliate } = toRefs(props);
13
- </script>
14
-
15
- <template>
16
- <div class="flex w-full flex-col"></div>
17
- </template>
1
+ <script lang="ts" setup>
2
+ import { toRefs } from "vue";
3
+ import { Affiliate } from "../../models/affiliate";
4
+ import { Sponsor } from "../../models/conference";
5
+
6
+ type Props = {
7
+ affiliate: Affiliate | Sponsor;
8
+ };
9
+
10
+ const props = defineProps<Props>();
11
+
12
+ const { affiliate } = toRefs(props);
13
+ </script>
14
+
15
+ <template>
16
+ <div class="flex w-full flex-col"></div>
17
+ </template>
@@ -0,0 +1,108 @@
1
+ <script lang="ts" setup>
2
+ import { toRefs, computed, onBeforeMount, reactive } from "vue";
3
+ import { add } from "date-fns";
4
+ import { e } from "ofetch/dist/error-8a55452d";
5
+ import type { Conference } from "../../models/conference";
6
+ import { useAgenda } from "../../composables/useAgenda";
7
+ import { useDateFormat } from "../../composables/useDateFormat";
8
+ import { usePresenter } from "../../composables/usePresenter";
9
+ import { Presenter } from "../../models/conference";
10
+ import AgendaAccordion from "./components/AgendaListAccordion.vue";
11
+
12
+ type Props = {
13
+ conference: Conference;
14
+ };
15
+
16
+ const props = defineProps<Props>();
17
+
18
+ const { conference } = toRefs(props);
19
+
20
+ const { days, getCombinedTrackList } = useAgenda(conference);
21
+ const { formatTimezoneToLocal } = useDateFormat();
22
+
23
+ const presentersToComposables = (presenters: Presenter[]) => {
24
+ const data = [];
25
+
26
+ presenters.forEach((presenter) => {
27
+ data.push({
28
+ presenter,
29
+ ...usePresenter(presenter),
30
+ });
31
+ });
32
+
33
+ return data;
34
+ };
35
+ </script>
36
+
37
+ <template>
38
+ <div class="flex flex-col space-y-5 text-neutral-500">
39
+ <template v-for="day in days">
40
+ <template v-for="track in getCombinedTrackList(day)">
41
+ <div v-for="presentation in track.presentations" :key="presentation.id">
42
+ <AgendaAccordion>
43
+ <template #header="isExpanded">
44
+ <div class="text-xl flex-row flex">
45
+ <span>
46
+ {{
47
+ formatTimezoneToLocal(
48
+ presentation.date,
49
+ "h:mm",
50
+ conference.timezone
51
+ )
52
+ }}
53
+ -
54
+ {{
55
+ formatTimezoneToLocal(
56
+ add(new Date(presentation.date), {
57
+ seconds: presentation.duration,
58
+ }),
59
+ "h:mm",
60
+ conference.timezone
61
+ )
62
+ }}
63
+ </span>
64
+ <span class="flex flex-row ml-5">
65
+ <CommonSvgIcon
66
+ :class-object="{ svgElement: 'fill-neutral-500' }"
67
+ class="mr-1 pt-1"
68
+ icon="circlePlus"
69
+ />
70
+ {{ presentation.name }}
71
+ </span>
72
+ </div>
73
+ </template>
74
+ <template #body>
75
+ <div class="my-3">
76
+ <h3 class="font-bold text-lg">Presenters</h3>
77
+ <div class="flex flex-col space-y-3">
78
+ <div
79
+ v-for="presenter in presentersToComposables(
80
+ presentation.presenters
81
+ )"
82
+ :key="presenter.presenter.id"
83
+ >
84
+ <div class="text-lg">
85
+ {{ presenter.fullName.value
86
+ }}<span v-if="presenter.titleCompany.value"
87
+ >, {{ presenter.titleCompany.value }}</span
88
+ >
89
+ </div>
90
+ <div>
91
+ {{ presenter.presenter.biography }}
92
+ </div>
93
+ </div>
94
+ </div>
95
+ </div>
96
+ </template>
97
+ </AgendaAccordion>
98
+ </div>
99
+ </template>
100
+ </template>
101
+ </div>
102
+ </template>
103
+
104
+ <style>
105
+ .accord {
106
+ transition: height var(--vc-auto-duration) ease-out;
107
+ }
108
+ </style>