@icvdeveloper/common-module 0.0.103 → 0.0.104

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 (95) hide show
  1. package/README.md +6 -6
  2. package/dist/module.json +1 -1
  3. package/dist/runtime/@types/components.d.ts +1 -0
  4. package/dist/runtime/assets/svg/answer.svg +14 -14
  5. package/dist/runtime/assets/svg/avatar.svg +1 -1
  6. package/dist/runtime/assets/svg/bell-icon.svg +3 -3
  7. package/dist/runtime/assets/svg/checkmark-icon.svg +1 -1
  8. package/dist/runtime/assets/svg/close-icon.svg +1 -1
  9. package/dist/runtime/assets/svg/icon-avatar.svg +1 -1
  10. package/dist/runtime/assets/svg/icon-chevron.svg +4 -4
  11. package/dist/runtime/assets/svg/icon-circle-plus.svg +1 -1
  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/AgendaList.vue +243 -243
  35. package/dist/runtime/components/agenda/AgendaTabbed.vue +309 -309
  36. package/dist/runtime/components/agenda/components/AgendaListAccordion.vue +53 -53
  37. package/dist/runtime/components/agenda/components/Calendar.vue +97 -89
  38. package/dist/runtime/components/agenda/components/InfoLink.vue +56 -56
  39. package/dist/runtime/components/agenda/components/PlayIcon.vue +49 -49
  40. package/dist/runtime/components/agenda/components/PresentationLink.vue +137 -137
  41. package/dist/runtime/components/agenda/components/Sponsor.vue +132 -132
  42. package/dist/runtime/components/auth/LoginFullWidth.vue +78 -78
  43. package/dist/runtime/components/auth/PasswordReset.vue +60 -60
  44. package/dist/runtime/components/auth/Registration.vue +27 -27
  45. package/dist/runtime/components/auth/Ucc.vue +124 -124
  46. package/dist/runtime/components/core/Accordion.vue +97 -97
  47. package/dist/runtime/components/core/CountdownTimer.vue +357 -357
  48. package/dist/runtime/components/core/DynamicHtml.vue +1 -1
  49. package/dist/runtime/components/core/Modal.vue +111 -111
  50. package/dist/runtime/components/core/Navbar.vue +154 -154
  51. package/dist/runtime/components/core/SvgIcon.vue +151 -151
  52. package/dist/runtime/components/core/ZoomModal.vue +37 -37
  53. package/dist/runtime/components/events/EventHeader.vue +133 -133
  54. package/dist/runtime/components/events/ListEvents.vue +551 -531
  55. package/dist/runtime/components/forms/AlertBox.vue +21 -21
  56. package/dist/runtime/components/forms/ErrorField.vue +17 -17
  57. package/dist/runtime/components/forms/Message.vue +27 -27
  58. package/dist/runtime/components/forms/SearchInput.vue +38 -38
  59. package/dist/runtime/components/forms/SupportForm.vue +112 -112
  60. package/dist/runtime/components/forms/SwitchInput.vue +42 -42
  61. package/dist/runtime/components/forms/TextArea.vue +26 -26
  62. package/dist/runtime/components/forms/TextInput.vue +28 -28
  63. package/dist/runtime/components/layouts/Accordion.vue +78 -78
  64. package/dist/runtime/components/media/ArchivePlayerAndContentContainer.vue +157 -157
  65. package/dist/runtime/components/media/ArchiveVideoPlayer.vue +186 -186
  66. package/dist/runtime/components/media/PlayerAndContentContainer.vue +175 -175
  67. package/dist/runtime/components/media/WebcastVideoPlayer.vue +167 -167
  68. package/dist/runtime/components/media/components/AgendaPanel.vue +43 -43
  69. package/dist/runtime/components/media/components/ArchiveMediaContainer.vue +91 -91
  70. package/dist/runtime/components/media/components/CeCreditNotification.vue +95 -95
  71. package/dist/runtime/components/media/components/ContentAccordion.vue +63 -63
  72. package/dist/runtime/components/media/components/ContentAccordion.vue.d.ts +3 -1
  73. package/dist/runtime/components/media/components/ContentArea.vue +158 -158
  74. package/dist/runtime/components/media/components/ContentTabs.vue +231 -231
  75. package/dist/runtime/components/media/components/DocumentsPanel.vue +31 -31
  76. package/dist/runtime/components/media/components/JsonApi.vue +31 -31
  77. package/dist/runtime/components/media/components/MediaContainer.vue +63 -63
  78. package/dist/runtime/components/media/components/OverviewPanel.vue +52 -52
  79. package/dist/runtime/components/media/components/PresentersPanel.vue +52 -52
  80. package/dist/runtime/components/media/components/SessionReporting.vue +93 -93
  81. package/dist/runtime/components/media/components/SponsorsPanel.vue +71 -71
  82. package/dist/runtime/components/media/components/WindowContent.vue +92 -92
  83. package/dist/runtime/components/media/components/WindowSlide.vue +72 -72
  84. package/dist/runtime/components/presenters/PresenterListing.vue +164 -164
  85. package/dist/runtime/components/presenters/PresenterModal.vue +223 -223
  86. package/dist/runtime/components/profile/Profile.vue +149 -149
  87. package/dist/runtime/components/profile/components/Sidebar.vue +27 -27
  88. package/dist/runtime/components/profile/components/SidebarNavItem.vue +39 -39
  89. package/dist/runtime/components/profile/tabs/Favorites.vue +21 -21
  90. package/dist/runtime/components/profile/tabs/GeneralInformation.vue +122 -122
  91. package/dist/runtime/components/profile/tabs/ProfileImage.vue +75 -75
  92. package/dist/runtime/components/support/FAQAccordion.vue +140 -140
  93. package/dist/runtime/composables/useEvents.d.ts +1 -1
  94. package/dist/runtime/composables/useEvents.mjs +2 -4
  95. package/package.json +1 -1
@@ -1,53 +1,53 @@
1
- <script lang="ts" setup>
2
- import { ref } from "vue";
3
- import { useClassBinding } from "../../../composables/useClassBinding";
4
- import { AgendaListAccordionClassObj } from "../../../@types/components";
5
-
6
- type Props = {
7
- classObject?: AgendaListAccordionClassObj;
8
- };
9
-
10
- const props = withDefaults(defineProps<Props>(), {
11
- classObject: () => {
12
- return {
13
- container: "",
14
- headerContainer: "",
15
- headerButton: "",
16
- dropdownContainer: "",
17
- };
18
- },
19
- });
20
-
21
- const { classBinding } = useClassBinding();
22
-
23
- const expanded = ref<boolean>(false);
24
-
25
- // methods
26
- const toggle = () => {
27
- expanded.value = !expanded.value;
28
- };
29
- </script>
30
-
31
- <template>
32
- <div :class="classBinding(classObject, 'container', '')">
33
- <div
34
- :class="classBinding(classObject, 'headerContainer', 'font-bold mt-2')"
35
- >
36
- <button
37
- :class="classBinding(classObject, 'headerButton', 'outline-none')"
38
- @click="toggle"
39
- >
40
- <slot name="header"></slot>
41
- </button>
42
- </div>
43
-
44
- <transition name="slide" mode="out-in">
45
- <div
46
- v-show="expanded"
47
- :class="classBinding(classObject, 'dropdownContainer', '')"
48
- >
49
- <slot name="body" />
50
- </div>
51
- </transition>
52
- </div>
53
- </template>
1
+ <script lang="ts" setup>
2
+ import { ref } from "vue";
3
+ import { useClassBinding } from "../../../composables/useClassBinding";
4
+ import { AgendaListAccordionClassObj } from "../../../@types/components";
5
+
6
+ type Props = {
7
+ classObject?: AgendaListAccordionClassObj;
8
+ };
9
+
10
+ const props = withDefaults(defineProps<Props>(), {
11
+ classObject: () => {
12
+ return {
13
+ container: "",
14
+ headerContainer: "",
15
+ headerButton: "",
16
+ dropdownContainer: "",
17
+ };
18
+ },
19
+ });
20
+
21
+ const { classBinding } = useClassBinding();
22
+
23
+ const expanded = ref<boolean>(false);
24
+
25
+ // methods
26
+ const toggle = () => {
27
+ expanded.value = !expanded.value;
28
+ };
29
+ </script>
30
+
31
+ <template>
32
+ <div :class="classBinding(classObject, 'container', '')">
33
+ <div
34
+ :class="classBinding(classObject, 'headerContainer', 'font-bold mt-2')"
35
+ >
36
+ <button
37
+ :class="classBinding(classObject, 'headerButton', 'outline-none')"
38
+ @click="toggle"
39
+ >
40
+ <slot name="header"></slot>
41
+ </button>
42
+ </div>
43
+
44
+ <transition name="slide" mode="out-in">
45
+ <div
46
+ v-show="expanded"
47
+ :class="classBinding(classObject, 'dropdownContainer', '')"
48
+ >
49
+ <slot name="body" />
50
+ </div>
51
+ </transition>
52
+ </div>
53
+ </template>
@@ -1,89 +1,97 @@
1
- <script lang="ts" setup>
2
- import { ref, toRefs, computed } from "vue";
3
- import { storeToRefs } from "pinia";
4
- import { get } from "lodash-es";
5
- import { DateTime } from 'luxon';
6
- import { useTemplateConfigsStore } from "../../../store";
7
- import 'add-to-calendar-button';
8
- import { Conference } from "../../../models/conference";
9
- import { Presentation } from "../../../models/conference";
10
-
11
- type Props = {
12
- conference: Conference;
13
- presentation: Presentation;
14
- };
15
-
16
- const props = defineProps<Props>();
17
-
18
- const { conference, presentation } = toRefs(props);
19
-
20
- const { pagesConfigValue } = storeToRefs(useTemplateConfigsStore());
21
-
22
- // Computed
23
- const showAddToGoogleCalendar = computed((): boolean => {
24
- return pagesConfigValue.value("agenda.add_to_google_calendar", false);
25
- });
26
-
27
- const showAddToMicrosoftCalendar = computed((): boolean => {
28
- return pagesConfigValue.value("agenda.add_to_microsoft_calendar", false);
29
- });
30
-
31
- const presStartDate = computed((): string => {
32
- return DateTime.fromSQL(
33
- presentation.value.date,
34
- { zone: conference.timezone }
35
- ).toFormat("yyyy-MM-dd");
36
- });
37
-
38
- const presStartTime = computed((): string => {
39
- return DateTime.fromSQL(
40
- presentation.value.date,
41
- { zone: conference.timezone }
42
- ).toFormat("HH:mm");
43
- });
44
-
45
- const presEndTime = computed((): string => {
46
- let duration: number = get(presentation.value, "duration", 3600) // default to 60 min
47
- return DateTime.fromSQL(
48
- presentation.value.date,
49
- { zone: conference.timezone }
50
- ).plus(duration * 1000).toFormat("HH:mm");
51
- });
52
-
53
- const calendarOptions = computed((): string => {
54
- let opts = [];
55
- if (showAddToGoogleCalendar) { opts.push('Google'); }
56
- if (showAddToMicrosoftCalendar) { opts.push('iCal'); }
57
- let optsQuoted = opts.map(opt => `'${opt}'`);
58
- return optsQuoted.join(',');
59
- });
60
-
61
- const cssPath = computed((): string => {
62
- // atcb.css required in template/playground public folder
63
- return window.location.origin + "/atcb.css";
64
- });
65
-
66
- </script>
67
-
68
- <template>
69
- <div>
70
- <add-to-calendar-button
71
- :name="presentation.name"
72
- :description="presentation.description"
73
- :startDate="presStartDate"
74
- :startTime="presStartTime"
75
- :endTime="presEndTime"
76
- :timeZone="conference.timezone"
77
- :location="conference.location"
78
- listStyle="dropdown"
79
- trigger="click"
80
- lightMode="bodyScheme"
81
- buttonStyle="custom"
82
- :customCss="cssPath"
83
- hideIconButton
84
- hideBackground
85
- hideCheckmark
86
- :options="calendarOptions"
87
- ></add-to-calendar-button>
88
- </div>
89
- </template>
1
+ <script lang="ts" setup>
2
+ import { ref, toRefs, computed } from "vue";
3
+ import { storeToRefs } from "pinia";
4
+ import { get } from "lodash-es";
5
+ import { DateTime } from "luxon";
6
+ import { useTemplateConfigsStore } from "../../../store";
7
+ import "add-to-calendar-button";
8
+ import { Conference, Presentation } from "../../../models/conference";
9
+
10
+ type Props = {
11
+ conference: Conference;
12
+ presentation?: Presentation | null;
13
+ };
14
+
15
+ const props = withDefaults(defineProps<Props>(), {
16
+ presentation: null,
17
+ });
18
+
19
+ const { conference, presentation } = toRefs(props);
20
+
21
+ const { pagesConfigValue } = storeToRefs(useTemplateConfigsStore());
22
+
23
+ // Computed
24
+ const showAddToGoogleCalendar = computed((): boolean => {
25
+ return pagesConfigValue.value("agenda.add_to_google_calendar", false);
26
+ });
27
+
28
+ const showAddToMicrosoftCalendar = computed((): boolean => {
29
+ return pagesConfigValue.value("agenda.add_to_microsoft_calendar", false);
30
+ });
31
+
32
+ const eventStartDate = computed((): string => {
33
+ return DateTime.fromSQL(
34
+ presentation.value ? presentation.value.date : conference.value.start_date,
35
+ { zone: conference.value.timezone }
36
+ ).toFormat("yyyy-MM-dd");
37
+ });
38
+
39
+ const eventStartTime = computed((): string => {
40
+ return DateTime.fromSQL(
41
+ presentation.value ? presentation.value.date : conference.value.start_date,
42
+ { zone: conference.value.timezone }
43
+ ).toFormat("HH:mm");
44
+ });
45
+
46
+ const eventEndTime = computed((): string => {
47
+ const duration: number = get(presentation.value, "duration", 3600); // default to 60 min
48
+ return DateTime.fromSQL(
49
+ presentation.value ? presentation.value.date : conference.value.end_date,
50
+ { zone: conference.value.timezone }
51
+ )
52
+ .plus(duration * 1000)
53
+ .toFormat("HH:mm");
54
+ });
55
+
56
+ const calendarOptions = computed((): string => {
57
+ const opts = [];
58
+ if (showAddToGoogleCalendar.value) {
59
+ opts.push("Google");
60
+ }
61
+ if (showAddToMicrosoftCalendar.value) {
62
+ opts.push("iCal");
63
+ }
64
+ const optsQuoted = opts.map((opt) => `'${opt}'`);
65
+ return optsQuoted.join(",");
66
+ });
67
+
68
+ const cssPath = computed((): string => {
69
+ // atcb.css required in template/playground public folder
70
+ return window.location.origin + "/atcb.css";
71
+ });
72
+ </script>
73
+
74
+ <template>
75
+ <div>
76
+ <add-to-calendar-button
77
+ :name="presentation ? presentation.name : conference.name"
78
+ :description="
79
+ presentation ? presentation.description : conference.description
80
+ "
81
+ :start-date="eventStartDate"
82
+ :start-time="eventStartTime"
83
+ :end-time="eventEndTime"
84
+ :time-zone="conference.timezone"
85
+ :location="conference.location"
86
+ list-style="dropdown"
87
+ trigger="click"
88
+ light-mode="bodyScheme"
89
+ button-style="custom"
90
+ :custom-css="cssPath"
91
+ hide-icon-button
92
+ hide-background
93
+ hide-checkmark
94
+ :options="calendarOptions"
95
+ ></add-to-calendar-button>
96
+ </div>
97
+ </template>
@@ -1,56 +1,56 @@
1
- <script lang="ts" setup>
2
- import { ref, toRefs, computed } from "vue";
3
- import { Presentation } from "../../../models/conference";
4
-
5
- type Props = {
6
- linkText: string;
7
- presentation: Presentation;
8
- useIcon?: boolean;
9
- newLine?: boolean;
10
- };
11
-
12
- const props = withDefaults(defineProps<Props>(), {
13
- useIcon: true,
14
- newLine: false,
15
- });
16
-
17
- // data
18
- const { useIcon, newLine, linkText, presentation } = toRefs(props);
19
- const showDescModal = ref<boolean>(false);
20
-
21
- // computed
22
- const getLinkText = computed(() => {
23
- return linkText.value.length > 0 ? linkText.value : "Session Details";
24
- });
25
- </script>
26
-
27
- <template>
28
- <span>
29
- <a class="cursor-pointer" @click="showDescModal = true">
30
- <CommonSvgIcon
31
- v-if="useIcon"
32
- icon="info"
33
- class="align-middle"
34
- style="display: inline-block; margin-bottom: 2px"
35
- :icon-width="'16px'"
36
- ></CommonSvgIcon>
37
- <span v-else class="text-xs" :class="{ 'new-line': newLine }">{{
38
- getLinkText
39
- }}</span>
40
- </a>
41
-
42
- <CommonModal :visible="showDescModal" @trigger="showDescModal = false">
43
- <template #modal-title>
44
- <div class="text-lg font-bold text-left mb-4 pb-4 border-b">
45
- {{ presentation.name }}
46
- </div>
47
- </template>
48
- <template #modal-body>
49
- <div
50
- class="text-base font-normal text-left"
51
- v-html="presentation.description"
52
- ></div>
53
- </template>
54
- </CommonModal>
55
- </span>
56
- </template>
1
+ <script lang="ts" setup>
2
+ import { ref, toRefs, computed } from "vue";
3
+ import { Presentation } from "../../../models/conference";
4
+
5
+ type Props = {
6
+ linkText: string;
7
+ presentation: Presentation;
8
+ useIcon?: boolean;
9
+ newLine?: boolean;
10
+ };
11
+
12
+ const props = withDefaults(defineProps<Props>(), {
13
+ useIcon: true,
14
+ newLine: false,
15
+ });
16
+
17
+ // data
18
+ const { useIcon, newLine, linkText, presentation } = toRefs(props);
19
+ const showDescModal = ref<boolean>(false);
20
+
21
+ // computed
22
+ const getLinkText = computed(() => {
23
+ return linkText.value.length > 0 ? linkText.value : "Session Details";
24
+ });
25
+ </script>
26
+
27
+ <template>
28
+ <span>
29
+ <a class="cursor-pointer" @click="showDescModal = true">
30
+ <CommonSvgIcon
31
+ v-if="useIcon"
32
+ icon="info"
33
+ class="align-middle"
34
+ style="display: inline-block; margin-bottom: 2px"
35
+ :icon-width="'16px'"
36
+ ></CommonSvgIcon>
37
+ <span v-else class="text-xs" :class="{ 'new-line': newLine }">{{
38
+ getLinkText
39
+ }}</span>
40
+ </a>
41
+
42
+ <CommonModal :visible="showDescModal" @trigger="showDescModal = false">
43
+ <template #modal-title>
44
+ <div class="text-lg font-bold text-left mb-4 pb-4 border-b">
45
+ {{ presentation.name }}
46
+ </div>
47
+ </template>
48
+ <template #modal-body>
49
+ <div
50
+ class="text-base font-normal text-left"
51
+ v-html="presentation.description"
52
+ ></div>
53
+ </template>
54
+ </CommonModal>
55
+ </span>
56
+ </template>
@@ -1,49 +1,49 @@
1
- <script lang="ts" setup>
2
- import { toRefs } from "vue";
3
- import { usePresentation } from "../../../composables/usePresentation";
4
- import { Conference, Presentation } from "../../../models/conference";
5
- import { Icons } from "../../../models/icons";
6
-
7
- type Props = {
8
- icon?: keyof Icons;
9
- conference: Conference;
10
- presentation: Presentation;
11
- };
12
-
13
- const props = withDefaults(defineProps<Props>(), {
14
- icon: "playarrow",
15
- });
16
-
17
- const { icon, conference, presentation } = toRefs(props);
18
-
19
- const {
20
- showPresentationPlayIcon,
21
- getPresentationCustomPlayIcon,
22
- getPresentationStreamingText,
23
- } = usePresentation(conference);
24
- </script>
25
-
26
- <template>
27
- <span class="flex-initial flex flex-row items-center py-2 lg:py-1">
28
- <span v-if="showPresentationPlayIcon(presentation)">
29
- <img
30
- v-if="getPresentationCustomPlayIcon(presentation)"
31
- style="max-width: 15px"
32
- :src="(getPresentationCustomPlayIcon(presentation) as unknown as string)"
33
- alt=""
34
- />
35
- <CommonSvgIcon
36
- v-else
37
- :icon="icon"
38
- class="align-middle mr-1"
39
- style="display: inline-block; margin-bottom: 2px"
40
- :icon-width="'20px'"
41
- >
42
- </CommonSvgIcon
43
- >&nbsp;
44
- </span>
45
- <small class="flex-initial uppercase text-base text-red-darker">{{
46
- getPresentationStreamingText(presentation)
47
- }}</small>
48
- </span>
49
- </template>
1
+ <script lang="ts" setup>
2
+ import { toRefs } from "vue";
3
+ import { usePresentation } from "../../../composables/usePresentation";
4
+ import { Conference, Presentation } from "../../../models/conference";
5
+ import { Icons } from "../../../models/icons";
6
+
7
+ type Props = {
8
+ icon?: keyof Icons;
9
+ conference: Conference;
10
+ presentation: Presentation;
11
+ };
12
+
13
+ const props = withDefaults(defineProps<Props>(), {
14
+ icon: "playarrow",
15
+ });
16
+
17
+ const { icon, conference, presentation } = toRefs(props);
18
+
19
+ const {
20
+ showPresentationPlayIcon,
21
+ getPresentationCustomPlayIcon,
22
+ getPresentationStreamingText,
23
+ } = usePresentation(conference);
24
+ </script>
25
+
26
+ <template>
27
+ <span class="flex-initial flex flex-row items-center py-2 lg:py-1">
28
+ <span v-if="showPresentationPlayIcon(presentation)">
29
+ <img
30
+ v-if="getPresentationCustomPlayIcon(presentation)"
31
+ style="max-width: 15px"
32
+ :src="(getPresentationCustomPlayIcon(presentation) as unknown as string)"
33
+ alt=""
34
+ />
35
+ <CommonSvgIcon
36
+ v-else
37
+ :icon="icon"
38
+ class="align-middle mr-1"
39
+ style="display: inline-block; margin-bottom: 2px"
40
+ :icon-width="'20px'"
41
+ >
42
+ </CommonSvgIcon
43
+ >&nbsp;
44
+ </span>
45
+ <small class="flex-initial uppercase text-base text-red-darker">{{
46
+ getPresentationStreamingText(presentation)
47
+ }}</small>
48
+ </span>
49
+ </template>