@icvdeveloper/common-module 1.3.0 → 1.4.1
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.
- package/CHANGELOG.md +4 -0
- package/dist/module.json +1 -1
- package/dist/runtime/components/affiliates/AffiliatePage.vue +2 -2
- package/dist/runtime/components/agenda/AgendaList.vue +2 -2
- package/dist/runtime/components/agenda/AgendaTabbed.vue +1 -2
- package/dist/runtime/components/agenda/components/AgendaListAccordion.vue +1 -1
- package/dist/runtime/components/agenda/components/Calendar.vue +2 -2
- package/dist/runtime/components/agenda/components/InfoLink.vue +1 -1
- package/dist/runtime/components/agenda/components/PlayIcon.vue +2 -2
- package/dist/runtime/components/agenda/components/PresentationLink.vue +1 -1
- package/dist/runtime/components/agenda/components/Sponsor.vue +2 -2
- package/dist/runtime/components/auth/LoginFullWidth.vue +1 -1
- package/dist/runtime/components/auth/Ucc.vue +2 -2
- package/dist/runtime/components/core/Accordion.vue +1 -1
- package/dist/runtime/components/core/AttendeeList.vue +2 -2
- package/dist/runtime/components/core/CountdownTimer.vue +1 -1
- package/dist/runtime/components/core/Modal.vue +1 -1
- package/dist/runtime/components/core/SvgIcon.vue +10 -5
- package/dist/runtime/components/events/EventHeader.vue +1 -1
- package/dist/runtime/components/events/ListEvents.vue +20 -8
- package/dist/runtime/components/forms/AlertBox.vue +1 -1
- package/dist/runtime/components/forms/SupportForm.vue +1 -0
- package/dist/runtime/components/forms/SwitchInput.vue +1 -1
- package/dist/runtime/components/forms/TextInput.vue +1 -1
- package/dist/runtime/components/media/ArchivePlayerAndContentContainer.vue +2 -2
- package/dist/runtime/components/media/ArchiveVideoPlayer.vue +2 -2
- package/dist/runtime/components/media/PlayerAndContentContainer.vue +2 -2
- package/dist/runtime/components/media/WebcastVideoPlayer.vue +2 -2
- package/dist/runtime/components/media/components/AgendaPanel.vue +2 -2
- package/dist/runtime/components/media/components/ArchiveMediaContainer.vue +2 -2
- package/dist/runtime/components/media/components/CeCreditNotification.vue +2 -2
- package/dist/runtime/components/media/components/ContentArea.vue +2 -2
- package/dist/runtime/components/media/components/ContentTabs.vue +2 -2
- package/dist/runtime/components/media/components/DocumentsPanel.vue +2 -2
- package/dist/runtime/components/media/components/MediaContainer.vue +2 -2
- package/dist/runtime/components/media/components/OverviewPanel.vue +2 -2
- package/dist/runtime/components/media/components/SponsorsPanel.vue +2 -2
- package/dist/runtime/components/presenters/PresenterListing.vue +2 -2
- package/dist/runtime/components/presenters/PresenterModal.vue +2 -2
- package/dist/runtime/components/profile/Profile.vue +1 -1
- package/dist/runtime/components/profile/components/Sidebar.vue +1 -1
- package/dist/runtime/components/profile/components/SidebarNavItem.vue +1 -1
- package/dist/runtime/components/profile/tabs/Favorites.vue +1 -1
- package/dist/runtime/components/profile/tabs/GeneralInformation.vue +1 -1
- package/dist/runtime/components/profile/tabs/ProfileImage.vue +1 -1
- package/dist/runtime/components/support/FAQAccordion.vue +18 -12
- package/dist/runtime/composables/useAgenda.d.ts +1 -1
- package/dist/runtime/composables/useApi.mjs +1 -1
- package/dist/runtime/composables/useConferenceHelpers.d.ts +1 -1
- package/dist/runtime/composables/useEvents.d.ts +1 -1
- package/dist/runtime/composables/useLogin.d.ts +1 -1
- package/dist/runtime/composables/usePresentation.d.ts +1 -1
- package/dist/runtime/composables/usePresentation.mjs +1 -3
- package/dist/runtime/composables/usePresenter.d.ts +1 -1
- package/dist/runtime/composables/usePresenters.d.ts +1 -1
- package/dist/runtime/composables/useStream.d.ts +1 -1
- package/dist/runtime/models/attendeeList.d.ts +1 -1
- package/dist/runtime/models/conference.d.ts +4 -3
- package/dist/runtime/models/conversation.d.ts +1 -1
- package/dist/runtime/models/user.d.ts +2 -2
- package/dist/runtime/store/affiliates.d.ts +1 -1
- package/dist/runtime/store/attendeeList.d.ts +2 -2
- package/dist/runtime/store/auth.d.ts +1 -1
- package/dist/runtime/store/conferences.d.ts +1 -1
- package/dist/runtime/store/conversations.d.ts +2 -2
- package/dist/runtime/store/groups.d.ts +1 -1
- package/dist/runtime/store/navigationConfig.d.ts +1 -1
- package/dist/runtime/store/portal.d.ts +1 -1
- package/dist/runtime/store/presentations.d.ts +1 -1
- package/dist/runtime/store/templateConfigs.d.ts +2 -2
- package/dist/runtime/store/user.d.ts +1 -1
- package/package.json +1 -1
- package/dist/runtime/components/media/components/ContentAccordion.vue +0 -65
- package/dist/runtime/components/media/components/ContentAccordion.vue.d.ts +0 -27
package/CHANGELOG.md
CHANGED
package/dist/module.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { toRefs } from "vue";
|
|
3
3
|
import { get } from "lodash-es";
|
|
4
4
|
import { useApi } from "../../composables/useApi";
|
|
5
|
-
import { Affiliate } from "../../models/conference";
|
|
6
|
-
import { affiliatePageClassObj } from "../../@types/components";
|
|
5
|
+
import type { Affiliate } from "../../models/conference";
|
|
6
|
+
import type { affiliatePageClassObj } from "../../@types/components";
|
|
7
7
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
8
8
|
|
|
9
9
|
|
|
@@ -7,8 +7,8 @@ import { usePresentation } from "../../composables/usePresentation";
|
|
|
7
7
|
import { usePresenters } from "../../composables/usePresenters";
|
|
8
8
|
import { usePresenter } from "../../composables/usePresenter";
|
|
9
9
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
10
|
-
import { Presenter } from "../../models/conference";
|
|
11
|
-
import {
|
|
10
|
+
import type { Presenter } from "../../models/conference";
|
|
11
|
+
import type {
|
|
12
12
|
AgendaListClassObj,
|
|
13
13
|
AgendaListCompObj,
|
|
14
14
|
AgendaListAccordionClassObj,
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { toRefs, computed } from "vue";
|
|
3
|
-
import { storeToRefs } from "pinia";
|
|
4
3
|
import { get } from "lodash-es";
|
|
5
4
|
import { DateTime } from "luxon";
|
|
6
5
|
import { useAgenda } from "../../composables/useAgenda";
|
|
7
|
-
import { Conference, Sponsor as SponsorType } from "../../models/conference";
|
|
6
|
+
import type { Conference, Sponsor as SponsorType } from "../../models/conference";
|
|
8
7
|
import { usePresentation } from "../../composables/usePresentation";
|
|
9
8
|
import { usePresenters } from "../../composables/usePresenters";
|
|
10
9
|
import CommonAccordion from "../layouts/Accordion.vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { ref, toRefs } from "vue";
|
|
3
3
|
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
4
|
-
import { AgendaListAccordionClassObj } from "../../../@types/components";
|
|
4
|
+
import type { AgendaListAccordionClassObj } from "../../../@types/components";
|
|
5
5
|
|
|
6
6
|
type Props = {
|
|
7
7
|
itemId?: number;
|
|
@@ -4,8 +4,8 @@ import { storeToRefs } from "pinia";
|
|
|
4
4
|
import { useTemplateConfigsStore } from "../../../store";
|
|
5
5
|
import { usePresentation } from "../../../composables/usePresentation";
|
|
6
6
|
import "add-to-calendar-button";
|
|
7
|
-
import { Conference } from "../../../models/conference";
|
|
8
|
-
import { Presentation } from "../../../models/conference";
|
|
7
|
+
import type { Conference } from "../../../models/conference";
|
|
8
|
+
import type { Presentation } from "../../../models/conference";
|
|
9
9
|
type Props = {
|
|
10
10
|
conference: Conference;
|
|
11
11
|
presentation: Presentation;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { toRefs } from "vue";
|
|
3
3
|
import { usePresentation } from "../../../composables/usePresentation";
|
|
4
|
-
import { Conference, Presentation } from "../../../models/conference";
|
|
5
|
-
import { Icons } from "../../../models/icons";
|
|
4
|
+
import type { Conference, Presentation } from "../../../models/conference";
|
|
5
|
+
import type { Icons } from "../../../models/icons";
|
|
6
6
|
|
|
7
7
|
type Props = {
|
|
8
8
|
icon?: keyof Icons;
|
|
@@ -3,7 +3,7 @@ import { toRefs, computed } from "vue";
|
|
|
3
3
|
import { useAgenda } from "../../../composables/useAgenda";
|
|
4
4
|
import { useConferenceHelpers } from "../../../composables/useConferenceHelpers";
|
|
5
5
|
import { usePresentation } from "../../../composables/usePresentation";
|
|
6
|
-
import {
|
|
6
|
+
import type {
|
|
7
7
|
Conference,
|
|
8
8
|
Presentation,
|
|
9
9
|
Track,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { find } from "lodash-es";
|
|
3
3
|
import { ref, toRefs } from "vue";
|
|
4
|
-
import { Sponsor as SponsorModel } from "../../../models/conference";
|
|
5
|
-
import { sponsorClassObj } from "../../../@types/components";
|
|
4
|
+
import type { Sponsor as SponsorModel } from "../../../models/conference";
|
|
5
|
+
import type { sponsorClassObj } from "../../../@types/components";
|
|
6
6
|
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
7
7
|
|
|
8
8
|
type Props = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { toRefs } from "vue";
|
|
3
3
|
import { storeToRefs } from "pinia";
|
|
4
|
-
import { Conference } from "../../models/conference";
|
|
4
|
+
import type { Conference } from "../../models/conference";
|
|
5
5
|
import { useLogin } from "../../composables/useLogin";
|
|
6
6
|
import { useTemplateConfigsStore } from "../../store";
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { toRefs, computed, onMounted } from "vue";
|
|
3
3
|
import { useUcc } from "../../composables/useUcc";
|
|
4
|
-
import { Conference } from "../../models/conference";
|
|
4
|
+
import type { Conference } from "../../models/conference";
|
|
5
5
|
import { useConferencesStore } from "../../store/conferences";
|
|
6
|
-
import { uccClassObj } from "../../@types/components";
|
|
6
|
+
import type { uccClassObj } from "../../@types/components";
|
|
7
7
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
8
8
|
|
|
9
9
|
const { loadUccScript, loginV3 } = useUcc();
|
|
@@ -3,14 +3,14 @@ import { ref, onBeforeUnmount } from "vue";
|
|
|
3
3
|
import { storeToRefs } from "pinia";
|
|
4
4
|
import { debounce } from "lodash-es";
|
|
5
5
|
import { VueEternalLoading, LoadAction } from "@ts-pro/vue-eternal-loading";
|
|
6
|
-
import { User } from "../../models/user";
|
|
6
|
+
import type { User } from "../../models/user";
|
|
7
7
|
import { PAGE_LENGTH } from "../../models/pagination";
|
|
8
8
|
import { useAttendeeListStore } from "../../store/attendeeList";
|
|
9
9
|
import { useConversationStore } from "../../store/conversations";
|
|
10
10
|
import { useUserStore } from "../../store/user";
|
|
11
11
|
import { usePusher } from "../../composables/usePusher";
|
|
12
12
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
13
|
-
import {
|
|
13
|
+
import type {
|
|
14
14
|
AttendeeListClassObj,
|
|
15
15
|
AttendeeListCompObj,
|
|
16
16
|
} from "../../@types/components";
|
|
@@ -3,7 +3,7 @@ import { ref, toRefs, computed, onMounted, onUnmounted } from "vue";
|
|
|
3
3
|
import { storeToRefs } from "pinia";
|
|
4
4
|
import { DateTime } from "luxon";
|
|
5
5
|
import { useTemplateConfigsStore } from "../../store";
|
|
6
|
-
import { countdownTimerClassObj } from "../../@types/components";
|
|
6
|
+
import type { countdownTimerClassObj } from "../../@types/components";
|
|
7
7
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
8
8
|
|
|
9
9
|
interface Props {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import { find, get } from "lodash-es";
|
|
3
2
|
import { toRefs, computed, defineAsyncComponent } from "vue";
|
|
4
|
-
import {
|
|
3
|
+
import type { Icons } from "../../models/icons";
|
|
5
4
|
import { svgIconClassObj } from "../../@types/components";
|
|
6
5
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
7
6
|
|
|
@@ -117,6 +116,7 @@ type Props = {
|
|
|
117
116
|
icon?: keyof Icons;
|
|
118
117
|
grayScale?: boolean;
|
|
119
118
|
width?: string;
|
|
119
|
+
fillColor?: string;
|
|
120
120
|
classObject?: svgIconClassObj;
|
|
121
121
|
};
|
|
122
122
|
|
|
@@ -124,6 +124,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
124
124
|
icon: "info",
|
|
125
125
|
grayScale: false,
|
|
126
126
|
width: "20px",
|
|
127
|
+
fillColor: "",
|
|
127
128
|
classObject: () => {
|
|
128
129
|
return {
|
|
129
130
|
container: "",
|
|
@@ -132,7 +133,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
132
133
|
},
|
|
133
134
|
});
|
|
134
135
|
|
|
135
|
-
const { icon, grayScale, width } = toRefs(props);
|
|
136
|
+
const { icon, grayScale, width, fillColor } = toRefs(props);
|
|
136
137
|
const { classBinding } = useClassBinding();
|
|
137
138
|
|
|
138
139
|
// computed
|
|
@@ -142,14 +143,18 @@ const iconDims = computed(() => ({
|
|
|
142
143
|
}));
|
|
143
144
|
|
|
144
145
|
const iconStyle = computed(() => {
|
|
145
|
-
if (
|
|
146
|
+
if (fillColor.value.length) {
|
|
147
|
+
return {
|
|
148
|
+
fill: fillColor.value
|
|
149
|
+
};
|
|
150
|
+
} else if (!grayScale.value) {
|
|
146
151
|
return {
|
|
147
152
|
fill: icons[icon.value].color,
|
|
148
153
|
};
|
|
149
154
|
}
|
|
150
155
|
|
|
151
156
|
return {
|
|
152
|
-
fill:
|
|
157
|
+
fill: '#666',
|
|
153
158
|
};
|
|
154
159
|
});
|
|
155
160
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { toRefs, computed } from "vue";
|
|
3
|
-
import { Conference } from "../../models/conference";
|
|
3
|
+
import type { Conference } from "../../models/conference";
|
|
4
4
|
import { useTemplateConfigsStore } from "../../store/templateConfigs";
|
|
5
5
|
import { useConferencesStore } from "../../store/conferences";
|
|
6
6
|
import { useConferenceHelpers } from "../../composables/useConferenceHelpers";
|
|
@@ -8,9 +8,10 @@ import { useConferenceHelpers } from "../../composables/useConferenceHelpers";
|
|
|
8
8
|
import { useEvents } from "../../composables/useEvents";
|
|
9
9
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
10
10
|
import CommonSponsor from "../agenda/components/Sponsor.vue";
|
|
11
|
-
import { Conference
|
|
11
|
+
import type { Conference } from "../../models/conference";
|
|
12
|
+
import { ConferenceState } from "../../models/conference";
|
|
12
13
|
import { Position } from "../../enums/general";
|
|
13
|
-
import {
|
|
14
|
+
import type {
|
|
14
15
|
listEventsClassObj,
|
|
15
16
|
listEventsCompObj,
|
|
16
17
|
countdownTimerClassObj,
|
|
@@ -36,6 +37,7 @@ interface Props {
|
|
|
36
37
|
sponsorPosition?: Position;
|
|
37
38
|
borderPosition?: Position;
|
|
38
39
|
countdownPosition?: Position;
|
|
40
|
+
conferences?: Conference[] | null;
|
|
39
41
|
classObject?: listEventsClassObj;
|
|
40
42
|
}
|
|
41
43
|
|
|
@@ -56,6 +58,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
56
58
|
sponsorPosition: Position.RIGHT,
|
|
57
59
|
borderPosition: Position.MIDDLE,
|
|
58
60
|
countdownPosition: Position.BOTTOM,
|
|
61
|
+
conferences: null,
|
|
59
62
|
classObject: () => {
|
|
60
63
|
return {
|
|
61
64
|
components: ref<listEventsCompObj>({
|
|
@@ -82,6 +85,7 @@ const {
|
|
|
82
85
|
sponsorPosition,
|
|
83
86
|
borderPosition,
|
|
84
87
|
countdownPosition,
|
|
88
|
+
conferences,
|
|
85
89
|
classObject,
|
|
86
90
|
} = toRefs(props);
|
|
87
91
|
|
|
@@ -146,16 +150,24 @@ const eventPathPrefix = computed(() => {
|
|
|
146
150
|
});
|
|
147
151
|
|
|
148
152
|
const eventType = computed((): Conference[] => {
|
|
149
|
-
if (
|
|
153
|
+
if (conferences.value != null) {
|
|
150
154
|
if (isReversed?.value) {
|
|
151
|
-
return reverse(
|
|
155
|
+
return reverse(conferences.value.slice());
|
|
152
156
|
} else {
|
|
153
|
-
return
|
|
157
|
+
return conferences.value;
|
|
154
158
|
}
|
|
155
|
-
} else if (isReversed?.value) {
|
|
156
|
-
return reverse(pastEvents.value.slice());
|
|
157
159
|
} else {
|
|
158
|
-
|
|
160
|
+
if (isUpcoming?.value) {
|
|
161
|
+
if (isReversed?.value) {
|
|
162
|
+
return reverse(upcomingEvents.value.slice());
|
|
163
|
+
} else {
|
|
164
|
+
return upcomingEvents.value;
|
|
165
|
+
}
|
|
166
|
+
} else if (isReversed?.value) {
|
|
167
|
+
return reverse(pastEvents.value.slice());
|
|
168
|
+
} else {
|
|
169
|
+
return pastEvents.value;
|
|
170
|
+
}
|
|
159
171
|
}
|
|
160
172
|
});
|
|
161
173
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { toRefs } from "vue";
|
|
3
3
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
4
|
-
import { AlertBoxClassObj } from "../../@types/components";
|
|
4
|
+
import type { AlertBoxClassObj } from "../../@types/components";
|
|
5
5
|
|
|
6
6
|
type Props = {
|
|
7
7
|
errors: Array<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { ref } from "vue";
|
|
3
|
-
import { SwitchInputClassObj } from "../../@types/components";
|
|
3
|
+
import type { SwitchInputClassObj } from "../../@types/components";
|
|
4
4
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
5
5
|
|
|
6
6
|
interface Props {
|
|
@@ -3,10 +3,10 @@ import { ref, toRefs } from "vue";
|
|
|
3
3
|
import { storeToRefs } from "pinia";
|
|
4
4
|
import { useEvents } from "../../composables/useEvents";
|
|
5
5
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
6
|
-
import { Conference, Presentation } from "../../models/conference";
|
|
6
|
+
import type { Conference, Presentation } from "../../models/conference";
|
|
7
7
|
import { SelectedContent } from "../../enums/general";
|
|
8
8
|
import { usePresentationsStore } from "../../store/presentations";
|
|
9
|
-
import {
|
|
9
|
+
import type {
|
|
10
10
|
PlayerAndContentClassObj,
|
|
11
11
|
PlayerAndContentCompObj,
|
|
12
12
|
ContentTabsClassObj,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { toRefs, computed, watch, onMounted, nextTick } from "vue";
|
|
3
3
|
import { onBeforeRouteLeave } from "vue-router";
|
|
4
4
|
import { get } from "lodash-es";
|
|
5
|
-
import { Presentation, PlayerObj } from "../../models/conference";
|
|
6
|
-
import { WebcastPlayerClassObj } from "../../@types/components";
|
|
5
|
+
import type { Presentation, PlayerObj } from "../../models/conference";
|
|
6
|
+
import type { WebcastPlayerClassObj } from "../../@types/components";
|
|
7
7
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
8
8
|
|
|
9
9
|
type Props = {
|
|
@@ -4,11 +4,11 @@ import { storeToRefs } from "pinia";
|
|
|
4
4
|
import { useRoute } from "vue-router";
|
|
5
5
|
import { useEvents } from "../../composables/useEvents";
|
|
6
6
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
7
|
-
import { Conference, Presentation } from "../../models/conference";
|
|
7
|
+
import type { Conference, Presentation } from "../../models/conference";
|
|
8
8
|
import { SelectedContent } from "../../enums/general";
|
|
9
9
|
import { usePresentationsStore } from "../../store/presentations";
|
|
10
10
|
import { useAuthStore } from "../../store/auth";
|
|
11
|
-
import {
|
|
11
|
+
import type {
|
|
12
12
|
PlayerAndContentClassObj,
|
|
13
13
|
PlayerAndContentCompObj,
|
|
14
14
|
ContentTabsClassObj,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { ref, toRefs, computed, watch, onMounted, nextTick } from "vue";
|
|
3
3
|
import { get } from "lodash-es";
|
|
4
|
-
import { Presentation, Stream, PlayerObj } from "../../models/conference";
|
|
5
|
-
import { WebcastPlayerClassObj } from "../../@types/components";
|
|
4
|
+
import type { Presentation, Stream, PlayerObj } from "../../models/conference";
|
|
5
|
+
import type { WebcastPlayerClassObj } from "../../@types/components";
|
|
6
6
|
import { useScripts } from "../../composables/useScripts";
|
|
7
7
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { ref, toRefs } from "vue";
|
|
3
|
-
import { Conference } from "../../../models/conference";
|
|
4
|
-
import {
|
|
3
|
+
import type { Conference } from "../../../models/conference";
|
|
4
|
+
import type {
|
|
5
5
|
AgendaPanelClassObj,
|
|
6
6
|
AgendaPanelCompObj,
|
|
7
7
|
AgendaListClassObj,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { ref, toRefs, computed } from "vue";
|
|
3
3
|
import { storeToRefs } from "pinia";
|
|
4
4
|
import { useTemplateConfigsStore, useAuthStore } from "../../../store";
|
|
5
|
-
import { Presentation } from "../../../models/conference";
|
|
6
|
-
import {
|
|
5
|
+
import type { Presentation } from "../../../models/conference";
|
|
6
|
+
import type {
|
|
7
7
|
MediaContainerClassObj,
|
|
8
8
|
MediaContainerCompObj,
|
|
9
9
|
WebcastPlayerClassObj,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import Pusher from "pusher-js";
|
|
3
3
|
import Echo from "laravel-echo";
|
|
4
4
|
import { toRefs, computed } from "vue";
|
|
5
|
-
import { Conference } from "../../../models/conference";
|
|
6
|
-
import { CeCreditPanelClassObj } from "../../../@types/components";
|
|
5
|
+
import type { Conference } from "../../../models/conference";
|
|
6
|
+
import type { CeCreditPanelClassObj } from "../../../@types/components";
|
|
7
7
|
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
8
8
|
|
|
9
9
|
type Props = {
|
|
@@ -3,13 +3,13 @@ import { toRefs, onMounted, computed, ref } from "vue";
|
|
|
3
3
|
import { storeToRefs } from "pinia";
|
|
4
4
|
import { get, filter } from "lodash-es";
|
|
5
5
|
import { SelectedContent } from "../../../enums/general";
|
|
6
|
-
import {
|
|
6
|
+
import type {
|
|
7
7
|
ContentAreaClassObj,
|
|
8
8
|
ContentAreaCompObj,
|
|
9
9
|
OverviewPanelClassObj,
|
|
10
10
|
AgendaPanelClassObj,
|
|
11
11
|
} from "../../../@types/components";
|
|
12
|
-
import { Conference, Presentation, Sponsor } from "../../../models/conference";
|
|
12
|
+
import type { Conference, Presentation, Sponsor } from "../../../models/conference";
|
|
13
13
|
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
14
14
|
import { useTemplateConfigsStore } from "../../../store";
|
|
15
15
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { ref, toRefs, computed, onMounted } from "vue";
|
|
3
3
|
import { storeToRefs } from "pinia";
|
|
4
4
|
import { find } from "lodash-es";
|
|
5
|
-
import { Conference } from "../../../models/conference";
|
|
6
|
-
import { ContentTabsClassObj } from "../../../@types/components";
|
|
5
|
+
import type { Conference } from "../../../models/conference";
|
|
6
|
+
import type { ContentTabsClassObj } from "../../../@types/components";
|
|
7
7
|
import { SelectedContent } from "../../../enums/general";
|
|
8
8
|
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
9
9
|
import { usePresentationsStore } from "../../../store/presentations";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { toRefs, computed } from "vue";
|
|
3
3
|
import { Presentation } from "../../../models/conference";
|
|
4
|
-
import { Document } from "../../../models/document";
|
|
5
|
-
import { DocumentsPanelClassObj } from "../../../@types/components";
|
|
4
|
+
import type { Document } from "../../../models/document";
|
|
5
|
+
import type { DocumentsPanelClassObj } from "../../../@types/components";
|
|
6
6
|
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
7
7
|
|
|
8
8
|
type Props = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { ref, toRefs } from "vue";
|
|
3
|
-
import { Conference, Presentation } from "../../../models/conference";
|
|
4
|
-
import {
|
|
3
|
+
import type { Conference, Presentation } from "../../../models/conference";
|
|
4
|
+
import type {
|
|
5
5
|
MediaContainerClassObj,
|
|
6
6
|
MediaContainerCompObj,
|
|
7
7
|
WebcastPlayerClassObj,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { toRefs, computed } from "vue";
|
|
3
|
-
import { Presentation } from "../../../models/conference";
|
|
4
|
-
import { OverviewPanelClassObj } from "../../../@types/components";
|
|
3
|
+
import type { Presentation } from "../../../models/conference";
|
|
4
|
+
import type { OverviewPanelClassObj } from "../../../@types/components";
|
|
5
5
|
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
6
6
|
type Props = {
|
|
7
7
|
presentation: Presentation;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { toRefs } from "vue";
|
|
3
|
-
import { Presentation, Sponsor } from "../../../models/conference";
|
|
4
|
-
import { SponsorsPanelClassObj } from "../../../@types/components";
|
|
3
|
+
import type { Presentation, Sponsor } from "../../../models/conference";
|
|
4
|
+
import type { SponsorsPanelClassObj } from "../../../@types/components";
|
|
5
5
|
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
6
6
|
|
|
7
7
|
type Props = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { toRefs } from "vue";
|
|
3
|
-
import { Presenter } from "../../models/conference";
|
|
3
|
+
import type { Presenter } from "../../models/conference";
|
|
4
4
|
import { usePresenter } from "../../composables/usePresenter";
|
|
5
5
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
6
|
-
import { presenterListingClassObj } from "../../@types/components";
|
|
6
|
+
import type { presenterListingClassObj } from "../../@types/components";
|
|
7
7
|
import { Position } from "../../enums/general";
|
|
8
8
|
|
|
9
9
|
type Props = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { ref, toRefs } from "vue";
|
|
3
|
-
import { Presenter } from "../../models/conference";
|
|
3
|
+
import type { Presenter } from "../../models/conference";
|
|
4
4
|
import { usePresenter } from "../../composables/usePresenter";
|
|
5
5
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
6
|
-
import {
|
|
6
|
+
import type {
|
|
7
7
|
presenterModalClassObj,
|
|
8
8
|
presenterListingClassObj,
|
|
9
9
|
presenterModalCompObj,
|
|
@@ -4,7 +4,7 @@ import { find } from "lodash-es";
|
|
|
4
4
|
import { storeToRefs } from "pinia";
|
|
5
5
|
import { useAuthStore } from "../../store/auth";
|
|
6
6
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
7
|
-
import {
|
|
7
|
+
import type {
|
|
8
8
|
ProfileClassObj,
|
|
9
9
|
ProfileCompObj,
|
|
10
10
|
modalClassObj,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { toRefs } from "vue";
|
|
3
3
|
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
4
|
-
import { SidebarClassObj } from "../../../@types/components";
|
|
4
|
+
import type { SidebarClassObj } from "../../../@types/components";
|
|
5
5
|
|
|
6
6
|
type Props = {
|
|
7
7
|
name: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { toRefs } from "vue";
|
|
3
|
-
import { SidebarNavItemClassObj } from "../../../@types/components";
|
|
3
|
+
import type { SidebarNavItemClassObj } from "../../../@types/components";
|
|
4
4
|
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
5
5
|
|
|
6
6
|
type Props = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { storeToRefs } from "pinia";
|
|
3
3
|
import { useAuthStore } from "../../../store/auth";
|
|
4
4
|
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
5
|
-
import { FavoritesClassObj } from "../../../@types/components";
|
|
5
|
+
import type { FavoritesClassObj } from "../../../@types/components";
|
|
6
6
|
|
|
7
7
|
type Props = {
|
|
8
8
|
classObject?: FavoritesClassObj;
|
|
@@ -3,7 +3,7 @@ import { ref, reactive } from "vue";
|
|
|
3
3
|
import { storeToRefs } from "pinia";
|
|
4
4
|
import { useAuthStore } from "../../../store/auth";
|
|
5
5
|
import { useClassBinding } from "../../../composables/useClassBinding";
|
|
6
|
-
import {
|
|
6
|
+
import type {
|
|
7
7
|
ProfileImageClassObj,
|
|
8
8
|
ProfileCompObj,
|
|
9
9
|
AlertBoxClassObj,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import { ref, toRefs
|
|
3
|
-
import {
|
|
2
|
+
import { ref, toRefs } from "vue";
|
|
3
|
+
import type {
|
|
4
4
|
faqAccordionClassObj,
|
|
5
5
|
faqAccordionCompObj,
|
|
6
6
|
accordionClassObj,
|
|
7
|
+
svgIconClassObj
|
|
7
8
|
} from "../../@types/components";
|
|
8
9
|
import { useClassBinding } from "../../composables/useClassBinding";
|
|
9
10
|
|
|
@@ -60,6 +61,8 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
60
61
|
},
|
|
61
62
|
});
|
|
62
63
|
|
|
64
|
+
const { streamTestEnabled, showSupport, showForm, liveSupportUrl, questionArray, classObject } = toRefs(props);
|
|
65
|
+
|
|
63
66
|
const { classBinding } = useClassBinding();
|
|
64
67
|
</script>
|
|
65
68
|
|
|
@@ -68,7 +71,7 @@ const { classBinding } = useClassBinding();
|
|
|
68
71
|
<CommonAccordion
|
|
69
72
|
v-if="streamTestEnabled"
|
|
70
73
|
:class="classBinding(classObject, 'container', '')"
|
|
71
|
-
:class-object="classObject.components
|
|
74
|
+
:class-object="classObject.components?.accordion"
|
|
72
75
|
>
|
|
73
76
|
<template #question>
|
|
74
77
|
<span class="font-bold"
|
|
@@ -94,20 +97,20 @@ const { classBinding } = useClassBinding();
|
|
|
94
97
|
:class="
|
|
95
98
|
classBinding(classObject.components?.accordion, 'container', '')
|
|
96
99
|
"
|
|
97
|
-
:class-object="classObject.components
|
|
100
|
+
:class-object="classObject.components?.accordion"
|
|
98
101
|
>
|
|
99
102
|
<template #question>
|
|
100
|
-
<span v-html="question.q"
|
|
103
|
+
<span v-html="question.q" />
|
|
101
104
|
</template>
|
|
102
105
|
<template #answer>
|
|
103
|
-
<span v-html="question.a"
|
|
106
|
+
<span v-html="question.a" />
|
|
104
107
|
</template>
|
|
105
108
|
</CommonAccordion>
|
|
106
109
|
</template>
|
|
107
110
|
<CommonAccordion
|
|
108
111
|
v-if="showSupport"
|
|
109
112
|
:class="classBinding(classObject.components?.accordion, 'container', '')"
|
|
110
|
-
:class-object="classObject.components
|
|
113
|
+
:class-object="classObject.components?.accordion"
|
|
111
114
|
>
|
|
112
115
|
<template #question>
|
|
113
116
|
<span class="font-bold">
|
|
@@ -123,15 +126,18 @@ const { classBinding } = useClassBinding();
|
|
|
123
126
|
<div v-else>
|
|
124
127
|
<span class="font-bold">Support Email</span><br />You can email
|
|
125
128
|
support at
|
|
126
|
-
<a href="mailto:support@rubiconportals.com"
|
|
127
|
-
>support@rubiconportals.com</a
|
|
128
|
-
>.
|
|
129
|
+
<a href="mailto:support@rubiconportals.com">support@rubiconportals.com</a>.
|
|
129
130
|
</div>
|
|
130
131
|
<div v-if="liveSupportUrl">
|
|
131
|
-
<div class="mt-4 font-bold">
|
|
132
|
+
<div class="mt-4 font-bold">
|
|
133
|
+
Live Support Chat
|
|
134
|
+
</div>
|
|
132
135
|
During the webcast, live support will also be available to
|
|
133
136
|
assist.You may request live support by
|
|
134
|
-
<a
|
|
137
|
+
<a
|
|
138
|
+
:href="liveSupportUrl"
|
|
139
|
+
target="_blank"
|
|
140
|
+
>clicking here</a>.
|
|
135
141
|
</div>
|
|
136
142
|
</div>
|
|
137
143
|
</template>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref, ComputedRef } from "nuxt/dist/app/compat/capi";
|
|
2
|
-
import { Conference, Day, Presentation, Presenter, Sponsor, Track, TrackGroup } from "../models/conference";
|
|
2
|
+
import type { Conference, Day, Presentation, Presenter, Sponsor, Track, TrackGroup } from "../models/conference";
|
|
3
3
|
export type UseAgendaMethods = {
|
|
4
4
|
/**
|
|
5
5
|
* conference days.
|
|
@@ -8,7 +8,7 @@ export const useApi = (withoutAuth = false) => {
|
|
|
8
8
|
Accept: "application/json"
|
|
9
9
|
};
|
|
10
10
|
if (useAuthStore().isLoggedIn && !withoutAuth) {
|
|
11
|
-
headers.Authorization = `Bearer ${authStore.user
|
|
11
|
+
headers.Authorization = `Bearer ${authStore.user?.token}`;
|
|
12
12
|
}
|
|
13
13
|
return $fetch.create({
|
|
14
14
|
baseURL: commonModule.options.apiUrl,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from "nuxt/dist/app/compat/capi";
|
|
2
|
-
import { Conference, Presentation, Track } from "../models/conference";
|
|
2
|
+
import type { Conference, Presentation, Track } from "../models/conference";
|
|
3
3
|
export type UsePresentationMethods = {
|
|
4
4
|
/**
|
|
5
5
|
* show session time
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { get } from "lodash-es";
|
|
2
2
|
import { DateTime } from "luxon";
|
|
3
3
|
import { useTemplateConfigsStore } from "../store/index.mjs";
|
|
4
|
-
import {
|
|
5
|
-
ConferenceState
|
|
6
|
-
} from "../models/conference.mjs";
|
|
4
|
+
import { ConferenceState } from "../models/conference.mjs";
|
|
7
5
|
import { useConferenceHelpers } from "./useConferenceHelpers.mjs";
|
|
8
6
|
export const usePresentation = (conference) => {
|
|
9
7
|
const { pagesConfigValue } = useTemplateConfigsStore();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { Ref, ComputedRef } from "vue";
|
|
3
|
-
import { Presentation, Stream } from "../models/conference";
|
|
3
|
+
import type { Presentation, Stream } from "../models/conference";
|
|
4
4
|
export type UseStreamMethods = {
|
|
5
5
|
currentStreamData: Ref<Stream>;
|
|
6
6
|
currentPresentation: Ref<Presentation>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Document } from "./document";
|
|
2
|
-
import { Link } from "./link";
|
|
3
|
-
import { Video } from "./video";
|
|
1
|
+
import type { Document } from "./document";
|
|
2
|
+
import type { Link } from "./link";
|
|
3
|
+
import type { Video } from "./video";
|
|
4
4
|
export declare enum ConferenceState {
|
|
5
5
|
LIVE = "live",
|
|
6
6
|
MIXED = "mixed",
|
|
@@ -53,6 +53,7 @@ export type Group = {
|
|
|
53
53
|
export type Affiliate = {
|
|
54
54
|
id?: number;
|
|
55
55
|
name?: string;
|
|
56
|
+
code?: string;
|
|
56
57
|
label?: string;
|
|
57
58
|
photo?: string;
|
|
58
59
|
vanity?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { User } from "../models/user";
|
|
2
|
-
import { AttendeeList } from "../models/attendeeList";
|
|
1
|
+
import type { User } from "../models/user";
|
|
2
|
+
import type { AttendeeList } from "../models/attendeeList";
|
|
3
3
|
export interface AttendeeListState {
|
|
4
4
|
attendeeList: {
|
|
5
5
|
page?: number | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { User } from "../models/user";
|
|
2
|
-
import { Conversation } from "../models/conversation";
|
|
1
|
+
import type { User } from "../models/user";
|
|
2
|
+
import type { Conversation } from "../models/conversation";
|
|
3
3
|
export interface ConversationState {
|
|
4
4
|
chatOpen: boolean;
|
|
5
5
|
selectedConversation: Conversation;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TemplateConfig } from "../models/templateConfig";
|
|
1
|
+
import type { TemplateConfig } from "../models/templateConfig";
|
|
2
2
|
import { NestedKeyOf, Pages } from "../models/pagesConfig";
|
|
3
3
|
import { GlobalConfigKey, GlobalConfigKeyType } from "../models/globalConfig";
|
|
4
|
-
import { Conference } from "../models/conference";
|
|
4
|
+
import type { Conference } from "../models/conference";
|
|
5
5
|
export interface TemplateConfigState {
|
|
6
6
|
portalConfig: null | TemplateConfig;
|
|
7
7
|
currentConferenceConfig: null | TemplateConfig;
|
package/package.json
CHANGED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<accordion :content-object="currentPresentation" v-for="item in tabArray" :tab-content="item">
|
|
4
|
-
<div class="content flex flex-1 accordion-slot overflow-x-hidden">
|
|
5
|
-
<overview-panel v-if="item.type == 'overview'"></overview-panel>
|
|
6
|
-
<presenters-panel v-if="item.type == 'presenters'" layout-format="PresenterItemCard" item-width="90"></presenters-panel>
|
|
7
|
-
<documents-panel v-if="item.type == 'documents'"></documents-panel>
|
|
8
|
-
<sponsors-panel v-if="item.type == 'sponsors'"></sponsors-panel>
|
|
9
|
-
<chat v-if="item.type == 'chatroom'"></chat>
|
|
10
|
-
<dynamic-html v-if="item.type == 'html'" :template="item.content"></dynamic-html>
|
|
11
|
-
</div>
|
|
12
|
-
</accordion>
|
|
13
|
-
</div>
|
|
14
|
-
</template>
|
|
15
|
-
|
|
16
|
-
<script>
|
|
17
|
-
import { mapState } from "vuex";
|
|
18
|
-
|
|
19
|
-
import Accordion from '@/components/common/Accordion';
|
|
20
|
-
import OverviewPanel from "./OverviewPanel";
|
|
21
|
-
import PresentersPanel from "./PresentersPanel";
|
|
22
|
-
import DocumentsPanel from "./DocumentsPanel";
|
|
23
|
-
import SponsorsPanel from "./SponsorsPanel";
|
|
24
|
-
import Chat from "@/components/common/Chat";
|
|
25
|
-
|
|
26
|
-
export default {
|
|
27
|
-
components: {
|
|
28
|
-
Accordion,
|
|
29
|
-
OverviewPanel,
|
|
30
|
-
PresentersPanel,
|
|
31
|
-
DocumentsPanel,
|
|
32
|
-
SponsorsPanel,
|
|
33
|
-
Chat
|
|
34
|
-
},
|
|
35
|
-
data() {
|
|
36
|
-
return {};
|
|
37
|
-
},
|
|
38
|
-
props: {
|
|
39
|
-
currentPresentation: {
|
|
40
|
-
type: Object,
|
|
41
|
-
default: () => {
|
|
42
|
-
return {};
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
tabArray: {
|
|
46
|
-
type: Array,
|
|
47
|
-
default: () => {
|
|
48
|
-
return [];
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
computed: {
|
|
53
|
-
...mapState("playerConfig", ["selectedContent"])
|
|
54
|
-
},
|
|
55
|
-
methods: {
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
</script>
|
|
59
|
-
|
|
60
|
-
<style>
|
|
61
|
-
.accordion-slot {
|
|
62
|
-
max-height: 32rem;
|
|
63
|
-
overflow-y: scroll;
|
|
64
|
-
}
|
|
65
|
-
</style>
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
namespace components {
|
|
3
|
-
export { Accordion };
|
|
4
|
-
export { OverviewPanel };
|
|
5
|
-
export { PresentersPanel };
|
|
6
|
-
export { DocumentsPanel };
|
|
7
|
-
export { SponsorsPanel };
|
|
8
|
-
export { Chat };
|
|
9
|
-
}
|
|
10
|
-
function data(): {};
|
|
11
|
-
namespace props {
|
|
12
|
-
namespace currentPresentation {
|
|
13
|
-
export let type: ObjectConstructor;
|
|
14
|
-
function _default(): {};
|
|
15
|
-
export { _default as default };
|
|
16
|
-
}
|
|
17
|
-
namespace tabArray {
|
|
18
|
-
let type_1: ArrayConstructor;
|
|
19
|
-
export { type_1 as type };
|
|
20
|
-
function _default_1(): never[];
|
|
21
|
-
export { _default_1 as default };
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
let computed: any;
|
|
25
|
-
let methods: {};
|
|
26
|
-
}
|
|
27
|
-
export default _default;
|