@icvdeveloper/common-module 0.0.88 → 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.
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "v3plus-common-module",
3
3
  "configKey": "v3plusCommonModule",
4
- "version": "0.0.88"
4
+ "version": "0.0.89"
5
5
  }
@@ -55,12 +55,11 @@ onMounted(() => {
55
55
  "
56
56
  style="display:block;"
57
57
  >
58
- <div id="uccEmailForm" class="ucc-form-container ucc-widgets-events">
58
+ <div id="uccEmailForm" class="ucc-form-container ucc-widgets-events" :class="(conference.state == 'live') ? 'block' : 'hidden'">
59
59
  <div>
60
- <h1 class="ucc-form-header mb-0">Sign Up for Event</h1>
60
+ <h1 class="ucc-form-header mb-0">Live Web Event Streaming Now</h1>
61
61
  </div>
62
- <div class="ucc-placeholder-spinner my-8"></div>
63
- <div id="uccEmailFormInputs" style="display: none;">
62
+ <div id="uccEmailFormInputs">
64
63
  <div class="ucc-form-field">
65
64
  <div class="ucc-form-field-descr"></div>
66
65
  <div class="ucc-input-wrapper required filled"><label for="uccEmail"
@@ -73,7 +72,7 @@ onMounted(() => {
73
72
  </div>
74
73
  <div class="ucc-error"></div>
75
74
  </div>
76
- <div class="ucc-form-field ucc-form-btn-row" style="margin-bottom: 0x; margin-top: 0px;"><a @click="submitLogin" class="ucc-btn ucc-btn-primary" style="margin-top: 0px;"><span class="btn-text">Register</span></a></div>
75
+ <div class="ucc-form-field ucc-form-btn-row" style="margin-bottom: 0x; margin-top: 0px;"><a @click="submitLogin" class="ucc-btn ucc-btn-primary" style="margin-top: 0px;"><span class="btn-text">Join the Livestream</span></a></div>
77
76
  </div>
78
77
  </div>
79
78
  </div>
@@ -8,6 +8,7 @@ import { useConferenceHelpers } from "../composables/useConferenceHelpers.mjs";
8
8
  export const useUcc = () => {
9
9
  const { globalConfigValue } = useTemplateConfigsStore();
10
10
  const { user, isLoggedIn } = storeToRefs(useAuthStore());
11
+ const router = useRouter();
11
12
  const loadUccScript = (conference, eventPathPrefix) => {
12
13
  console.log("conference", conference);
13
14
  const { getConferenceWebcastUrl } = useConferenceHelpers(conference);
@@ -65,9 +66,7 @@ export const useUcc = () => {
65
66
  console.log("uccShowEventSignUp _conference", _conference);
66
67
  console.log("user", user);
67
68
  console.log("isLoggedIn", isLoggedIn);
68
- if (_conference.state == "live") {
69
- toggleEmailFormInputsDisplay(true);
70
- } else {
69
+ if (_conference.state !== "live") {
71
70
  document.getElementById("uccTarget").innerHTML = "";
72
71
  return new Promise((resolve, reject) => {
73
72
  const request = useApi();
@@ -94,7 +93,6 @@ export const useUcc = () => {
94
93
  }
95
94
  };
96
95
  const handleLoginV3Response = (response) => {
97
- const router = useRouter();
98
96
  console.log("handleLoginV3Response", response);
99
97
  let conferences = get(response, "data.conferences", []);
100
98
  let _conference = window.uccMixin.conference;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icvdeveloper/common-module",
3
- "version": "0.0.88",
3
+ "version": "0.0.89",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {