@icvdeveloper/common-module 0.0.87 → 0.0.89

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 (94) hide show
  1. package/README.md +6 -6
  2. package/dist/module.json +1 -1
  3. package/dist/runtime/@types/components.d.ts +1 -1
  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 +234 -234
  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 +89 -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 +79 -52
  46. package/dist/runtime/components/core/Accordion.vue +97 -97
  47. package/dist/runtime/components/core/CountdownTimer.vue +308 -308
  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 +521 -521
  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/PlayerAndContentContainer.vue +175 -175
  65. package/dist/runtime/components/media/WebcastVideoPlayer.vue +167 -167
  66. package/dist/runtime/components/media/components/AgendaPanel.vue +42 -42
  67. package/dist/runtime/components/media/components/CeCreditNotification.vue +95 -95
  68. package/dist/runtime/components/media/components/ContentAccordion.vue +63 -63
  69. package/dist/runtime/components/media/components/ContentAccordion.vue.d.ts +1 -3
  70. package/dist/runtime/components/media/components/ContentArea.vue +158 -158
  71. package/dist/runtime/components/media/components/ContentTabs.vue +229 -229
  72. package/dist/runtime/components/media/components/DocumentsPanel.vue +31 -31
  73. package/dist/runtime/components/media/components/JsonApi.vue +31 -31
  74. package/dist/runtime/components/media/components/MediaContainer.vue +63 -63
  75. package/dist/runtime/components/media/components/OverviewPanel.vue +52 -52
  76. package/dist/runtime/components/media/components/PresentersPanel.vue +52 -52
  77. package/dist/runtime/components/media/components/SessionReporting.vue +93 -93
  78. package/dist/runtime/components/media/components/SponsorsPanel.vue +71 -71
  79. package/dist/runtime/components/media/components/WindowContent.vue +92 -92
  80. package/dist/runtime/components/media/components/WindowSlide.vue +72 -72
  81. package/dist/runtime/components/presenters/PresenterListing.vue +164 -164
  82. package/dist/runtime/components/presenters/PresenterModal.vue +223 -223
  83. package/dist/runtime/components/profile/Profile.vue +149 -149
  84. package/dist/runtime/components/profile/components/Sidebar.vue +27 -27
  85. package/dist/runtime/components/profile/components/SidebarNavItem.vue +39 -39
  86. package/dist/runtime/components/profile/tabs/Favorites.vue +21 -21
  87. package/dist/runtime/components/profile/tabs/GeneralInformation.vue +122 -122
  88. package/dist/runtime/components/profile/tabs/ProfileImage.vue +75 -75
  89. package/dist/runtime/components/support/FAQAccordion.vue +140 -140
  90. package/dist/runtime/composables/useConferenceHelpers.d.ts +1 -1
  91. package/dist/runtime/composables/useConferenceHelpers.mjs +2 -2
  92. package/dist/runtime/composables/useUcc.d.ts +19 -2
  93. package/dist/runtime/composables/useUcc.mjs +103 -22
  94. 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,89 @@
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 } 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,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>