@icvdeveloper/common-module 1.4.8 → 1.4.10
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
CHANGED
package/dist/module.json
CHANGED
|
@@ -74,12 +74,9 @@ export const useUcc = () => {
|
|
|
74
74
|
};
|
|
75
75
|
const postAuthRedirect = () => {
|
|
76
76
|
if (window.uccMixin.conference.state == "live") {
|
|
77
|
-
console.log("live event");
|
|
78
77
|
router.push(window.uccMixin.webcastUrl);
|
|
79
78
|
} else if (window.uccMixin.conference.state == "archive") {
|
|
80
|
-
console.log("archive event");
|
|
81
79
|
toggleEmailFormDisplay(false);
|
|
82
|
-
console.log("reloading page...");
|
|
83
80
|
window.location.reload();
|
|
84
81
|
}
|
|
85
82
|
};
|
|
@@ -107,16 +104,12 @@ export const useUcc = () => {
|
|
|
107
104
|
const handleLoginV3Response = (response, email) => {
|
|
108
105
|
let conferences = get(response, "data.conferences", []);
|
|
109
106
|
let _conference = window.uccMixin.conference;
|
|
110
|
-
console.log("conf id: ", _conference.id);
|
|
111
107
|
let hasAccess = find(conferences, { id: _conference.id });
|
|
112
|
-
console.log("has access: ", hasAccess);
|
|
113
108
|
if (hasAccess) {
|
|
114
|
-
console.log("hasAcess passed");
|
|
115
109
|
loginEmailOnly(response.data).then(() => {
|
|
116
110
|
postAuthRedirect();
|
|
117
111
|
});
|
|
118
112
|
} else {
|
|
119
|
-
console.log("hasAccess failed");
|
|
120
113
|
uccShowEventSignUp(email);
|
|
121
114
|
}
|
|
122
115
|
};
|
|
@@ -142,7 +135,6 @@ export const useUcc = () => {
|
|
|
142
135
|
};
|
|
143
136
|
const toggleEmailFormDisplay = (show) => {
|
|
144
137
|
document.getElementById("uccEmailForm").style.display = show ? "block" : "none";
|
|
145
|
-
console.log("toggled email form display", show);
|
|
146
138
|
};
|
|
147
139
|
return {
|
|
148
140
|
loadUccScript,
|
|
@@ -4,7 +4,7 @@ import { useApi } from "../composables/useApi.mjs";
|
|
|
4
4
|
import { ConferenceState } from "../models/conference.mjs";
|
|
5
5
|
import { useTemplateConfigsStore } from "./templateConfigs.mjs";
|
|
6
6
|
const conferenceDetailsQueryString = () => {
|
|
7
|
-
return "affiliates.documents,presenters,days.sponsors,days.tracks.sponsors,days.tracks.presentations.presenters,days.tracks.presentations.sponsors,days.tracks.presentations.documents,days.track_groups.tracks.sponsors,days.track_groups.tracks.presentations.presenters,days.track_groups.tracks.presentations.sponsors,days.track_groups.tracks.presentations.documents,days.groups,days.tracks.groups,
|
|
7
|
+
return "affiliates.documents,presenters,days.sponsors,days.tracks.sponsors,days.tracks.presentations.presenters,days.tracks.presentations.sponsors,days.tracks.presentations.documents,days.track_groups.tracks.sponsors,days.track_groups.tracks.presentations.presenters,days.track_groups.tracks.presentations.sponsors,days.track_groups.tracks.presentations.documents,groups,days.groups,days.tracks.groups,template_config,ce_credit_config,custom1";
|
|
8
8
|
};
|
|
9
9
|
export const useConferencesStore = defineStore("conferences", {
|
|
10
10
|
state: () => ({
|