@platform-x/hcltechx-mfe-wrapper 2.0.53 → 2.0.56
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/{ArticleVodList-Dsyyfp6e.mjs → ArticleVodList-NgYYyYjO.mjs} +2 -2
- package/{ArticleVodListComponent-PlsH-f5h.mjs → ArticleVodListComponent-gcqlFlAZ.mjs} +3 -3
- package/{ChallengeDetailComponent-BVQEIRup.mjs → ChallengeDetailComponent--BUK9xJZ.mjs} +1 -1
- package/{CommonContentComponent-H-QExV88.mjs → CommonContentComponent-CA_iT88B.mjs} +2 -2
- package/{DailyMotion-DdNE34qp.mjs → DailyMotion-00j5nTSF.mjs} +1 -1
- package/{EngagementHomeComponent-DCX0si1h.mjs → EngagementHomeComponent-D66_XLkr.mjs} +1 -1
- package/EventDetailComponent-CWZ3l1Ag.mjs +100 -0
- package/{EventList-339OFsl3.mjs → EventList-DkyJeORL.mjs} +69 -55
- package/{EventListComponent-DtIBqM0T.mjs → EventListComponent-Qxduz5-p.mjs} +3 -3
- package/{Facebook-DhQeIyvB.mjs → Facebook-BLYCoPeW.mjs} +1 -1
- package/{FilePlayer-BsJrOpAP.mjs → FilePlayer-CJZzsgvi.mjs} +1 -1
- package/{FilterModal-CF2QgDkk.mjs → FilterModal-DmpktkeC.mjs} +1 -1
- package/{IndividualChallengeComponent-ZMWhw023.mjs → IndividualChallengeComponent-DHsoZtVQ.mjs} +1 -1
- package/{Kaltura-CGVRq0mj.mjs → Kaltura-CXSqQzaA.mjs} +1 -1
- package/{Mixcloud-Dhs4QuRX.mjs → Mixcloud-BifMxaAw.mjs} +1 -1
- package/{Mux-DwiqqZNF.mjs → Mux-BmfQwN4j.mjs} +1 -1
- package/{PageComponent-BRn03517.mjs → PageComponent-CWKMUPr3.mjs} +2 -2
- package/{Preview-Ctmbj649.mjs → Preview-AI3eVYoR.mjs} +1 -1
- package/{RecentCarousel-DucxR0dk.mjs → RecentCarousel-C74yX8FT.mjs} +1 -1
- package/{Share-BpDSCb81.mjs → Share-Mr5sfRNt.mjs} +1 -1
- package/{SoundCloud-CHShAvYz.mjs → SoundCloud-Dfm8vk3R.mjs} +1 -1
- package/{Streamable-pFKgEoyk.mjs → Streamable-BJjOs-Aq.mjs} +1 -1
- package/{Twitch-G3mDoLJD.mjs → Twitch-BDjT7chH.mjs} +1 -1
- package/{Vidyard-CoJmezRy.mjs → Vidyard-BkkhSnfB.mjs} +1 -1
- package/{Vimeo-DY3pPtZi.mjs → Vimeo-Ba4-tUqG.mjs} +1 -1
- package/{Wistia-Cs2ATiGV.mjs → Wistia-B4maox6-.mjs} +1 -1
- package/{YouTube-DqH8hN56.mjs → YouTube-DXA8XMZe.mjs} +1 -1
- package/{index-DILUBQmh.mjs → index-CuOEcbOz.mjs} +30390 -30044
- package/{index-DVpfQAPU.mjs → index-CzTAUM_h.mjs} +5 -5
- package/index.mjs +1 -1
- package/lib/services/fetchQueries.d.ts +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/EventDetailComponent-D9w_19gt.mjs +0 -94
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import "./index-
|
|
3
|
-
import { A as n } from "./ArticleVodList-
|
|
2
|
+
import "./index-CuOEcbOz.mjs";
|
|
3
|
+
import { A as n } from "./ArticleVodList-NgYYyYjO.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import "./FilterModal-
|
|
6
|
+
import "./FilterModal-DmpktkeC.mjs";
|
|
7
7
|
const A = ({
|
|
8
8
|
data: t,
|
|
9
9
|
prelemAnalyticsProp: o,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as Z } from "react/jsx-runtime";
|
|
2
|
-
import { c as $, s as f, a as C, m as R } from "./index-
|
|
2
|
+
import { c as $, s as f, a as C, m as R } from "./index-CuOEcbOz.mjs";
|
|
3
3
|
import { useState as a, useEffect as ee } from "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
const ne = (T) => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as O } from "react/jsx-runtime";
|
|
2
2
|
import j, { memo as x, useState as g, useEffect as J } from "react";
|
|
3
|
-
import { F as M, a as N, s as w, m as $ } from "./index-
|
|
3
|
+
import { F as M, a as N, s as w, m as $ } from "./index-CuOEcbOz.mjs";
|
|
4
4
|
import { M as T } from "./Mapping-DicSeRn3.mjs";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const c = {};
|
|
7
7
|
Object.keys(T).forEach((l) => (c[l] = j.lazy(
|
|
8
|
-
() => import("./index-
|
|
8
|
+
() => import("./index-CzTAUM_h.mjs").then((t) => ({
|
|
9
9
|
default: t[T[l]]
|
|
10
10
|
}))
|
|
11
11
|
), c));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as re } from "react/jsx-runtime";
|
|
2
|
-
import { f as le, g as ie, E as ce, C as de, a as E, s as c, m as ge, b as me } from "./index-
|
|
2
|
+
import { f as le, g as ie, E as ce, C as de, a as E, s as c, m as ge, b as me } from "./index-CuOEcbOz.mjs";
|
|
3
3
|
import { useState as a, useEffect as ue } from "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
const A = async (D, u, P, w = "", n = "wellnessevent", I = { start: 0, rows: 10 }, p = "", l = []) => {
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { jsx as K } from "react/jsx-runtime";
|
|
2
|
+
import { d as N, a as Q, s as u, b as I, m as W } from "./index-CuOEcbOz.mjs";
|
|
3
|
+
import { useState as n, useEffect as X } from "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const ee = (S) => {
|
|
6
|
+
const {
|
|
7
|
+
pageData: t = {},
|
|
8
|
+
secondaryArgs: f,
|
|
9
|
+
prelemAnalyticsProp: h,
|
|
10
|
+
prelemAuthoringHelper: A,
|
|
11
|
+
userId: P,
|
|
12
|
+
filters: b,
|
|
13
|
+
relativePath: w = ""
|
|
14
|
+
} = S || {}, {
|
|
15
|
+
prelemBaseEndpoint: { language: v, site_host: g }
|
|
16
|
+
} = f, [j, a] = n(!1), [k, y] = n(!1), [T, L] = n(0), d = localStorage.getItem("userId") || P, [x, G] = n(""), [H, J] = n(!1), [O, B] = n({}), C = {
|
|
17
|
+
joinEvent: async (_) => {
|
|
18
|
+
var i, o, r, l, c, m;
|
|
19
|
+
if (!d) {
|
|
20
|
+
u("User ID is not available. Please log in.");
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
try {
|
|
24
|
+
a(!0);
|
|
25
|
+
const s = {
|
|
26
|
+
input: {
|
|
27
|
+
..._,
|
|
28
|
+
userId: d
|
|
29
|
+
}
|
|
30
|
+
}, e = await W.joinEvent(s, v, g);
|
|
31
|
+
((i = e == null ? void 0 : e.errors) == null ? void 0 : i.length) > 0 ? u((o = e == null ? void 0 : e.errors[0]) == null ? void 0 : o.message) : (l = (r = e == null ? void 0 : e.data) == null ? void 0 : r.community_userRegistration) != null && l.id ? (I((m = (c = e == null ? void 0 : e.data) == null ? void 0 : c.community_userRegistration) == null ? void 0 : m.message), y(!0), E()) : console.error("Join Event API failed");
|
|
32
|
+
} catch (s) {
|
|
33
|
+
console.error("Error in Join Event API:", s);
|
|
34
|
+
} finally {
|
|
35
|
+
a(!1);
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
loading: j,
|
|
39
|
+
isRegistered: k,
|
|
40
|
+
registeredParticipants: T,
|
|
41
|
+
meetingLink: x,
|
|
42
|
+
isStarted: H
|
|
43
|
+
}, E = async () => {
|
|
44
|
+
var _, i, o, r, l, c, m;
|
|
45
|
+
try {
|
|
46
|
+
a(!0);
|
|
47
|
+
const s = (_ = t == null ? void 0 : t.event_type) != null && _.includes("Virtual") ? {
|
|
48
|
+
event_id: t == null ? void 0 : t.page,
|
|
49
|
+
user_id: d,
|
|
50
|
+
type: "webinar",
|
|
51
|
+
start_date: new Date(t == null ? void 0 : t.start_date_time).toISOString(),
|
|
52
|
+
end_date: new Date(t == null ? void 0 : t.end_date_time).toISOString()
|
|
53
|
+
// start_date: pageData?.start_date_time, //format(new Date(pageData?.start_date_time), "YYY-MM-dd"),
|
|
54
|
+
// end_date: pageData?.end_date_time, //format(new Date(pageData?.end_date_time), "YYY-MM-dd"),
|
|
55
|
+
} : {
|
|
56
|
+
event_id: t == null ? void 0 : t.page,
|
|
57
|
+
user_id: d,
|
|
58
|
+
slot_based_event: t == null ? void 0 : t.slot_based_event,
|
|
59
|
+
event_title: t == null ? void 0 : t.title
|
|
60
|
+
}, e = await Q.getEventDetails(s, v, g);
|
|
61
|
+
if (((i = e == null ? void 0 : e.errors) == null ? void 0 : i.length) > 0)
|
|
62
|
+
u((o = e == null ? void 0 : e.errors[0]) == null ? void 0 : o.message);
|
|
63
|
+
else if ((r = e == null ? void 0 : e.data) != null && r.community_eventDetails) {
|
|
64
|
+
const {
|
|
65
|
+
total_participant: M,
|
|
66
|
+
is_joined: U,
|
|
67
|
+
meeting_link: V = "",
|
|
68
|
+
is_started: q = !1,
|
|
69
|
+
slot_details: z = [],
|
|
70
|
+
booked_slot_date: D,
|
|
71
|
+
booked_slot: F
|
|
72
|
+
} = (l = e == null ? void 0 : e.data) == null ? void 0 : l.community_eventDetails;
|
|
73
|
+
I((m = (c = e == null ? void 0 : e.data) == null ? void 0 : c.community_eventDetails) == null ? void 0 : m.message), y(U), L(M), G(V), J(q), B({ slot_details: z, booked_slot_date: D, booked_slot: F });
|
|
74
|
+
} else
|
|
75
|
+
console.error("GetEventDetails API failed");
|
|
76
|
+
} catch (s) {
|
|
77
|
+
console.error("Error in GetEventDetails API:", s);
|
|
78
|
+
} finally {
|
|
79
|
+
a(!1);
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
return X(() => {
|
|
83
|
+
t != null && t.page && E();
|
|
84
|
+
}, [t]), /* @__PURE__ */ K(
|
|
85
|
+
N,
|
|
86
|
+
{
|
|
87
|
+
content: t,
|
|
88
|
+
analytics: h,
|
|
89
|
+
authoringHelper: A,
|
|
90
|
+
secondaryArgs: f,
|
|
91
|
+
eventDetails: C,
|
|
92
|
+
filters: b,
|
|
93
|
+
relativePath: w,
|
|
94
|
+
slotDetails: O
|
|
95
|
+
}
|
|
96
|
+
);
|
|
97
|
+
};
|
|
98
|
+
export {
|
|
99
|
+
ee as default
|
|
100
|
+
};
|