@platform-x/hcltechx-mfe-wrapper 1.0.11 → 1.0.13

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 (32) hide show
  1. package/{ArticleVodListComponent-55Amw117.mjs → ArticleVodListComponent-7KilfZC7.mjs} +2 -2
  2. package/{ChallengeDetailComponent-CFgNIy40.mjs → ChallengeDetailComponent-D0NyHxQj.mjs} +5 -5
  3. package/{ChallengeSliderComponent-DxywQ1Yw.mjs → ChallengeSliderComponent-B0aMw9x2.mjs} +5 -5
  4. package/{CommonContentComponent-CZ4R-bl5.mjs → CommonContentComponent-V9GHupDi.mjs} +3 -3
  5. package/{DailyMotion-SSHst39J.mjs → DailyMotion-C2VlhH9Y.mjs} +2 -2
  6. package/{EngagementHomeComponent-DV2T5lXk.mjs → EngagementHomeComponent-JYwLV-F5.mjs} +5 -5
  7. package/{EventDetailComponent--tfRa3kB.mjs → EventDetailComponent-C0l-6HlH.mjs} +5 -5
  8. package/EventList-DgI0_QJW.mjs +219564 -0
  9. package/{EventListComponent-DafPg6Gl.mjs → EventListComponent-DwjVwU3I.mjs} +5 -5
  10. package/{Facebook-BW-swjny.mjs → Facebook-DmTKxbCK.mjs} +2 -2
  11. package/{FilePlayer-F1fTGtr4.mjs → FilePlayer-DiY6_vT0.mjs} +2 -2
  12. package/{IndividualChallengeComponent-DtonJm0x.mjs → IndividualChallengeComponent-C-lVfSZv.mjs} +7 -7
  13. package/{Kaltura-DFDmKzKV.mjs → Kaltura-Bag_Zlwc.mjs} +2 -2
  14. package/{Mixcloud-C26C0LJN.mjs → Mixcloud-WiZy2FyG.mjs} +2 -2
  15. package/{Mux-D4AN7rCD.mjs → Mux-DrcS2l-1.mjs} +2 -2
  16. package/{Preview-J16z8kBH.mjs → Preview-CoFi5EhX.mjs} +1 -1
  17. package/{RecentCarousel-091dBxgP.mjs → RecentCarousel-DhbpnjP_.mjs} +2 -2
  18. package/{Share-CpUL9IEm.mjs → Share-C2mjVquE.mjs} +2 -2
  19. package/{SoundCloud-NgtcEElL.mjs → SoundCloud-ByJ8oSnI.mjs} +2 -2
  20. package/{Streamable-BcHnyLZJ.mjs → Streamable-C8pAdR5o.mjs} +2 -2
  21. package/{Twitch-9_6JM-Q5.mjs → Twitch-PMc-awAS.mjs} +2 -2
  22. package/{Vidyard-DBy4Ixeu.mjs → Vidyard-0pshrd1n.mjs} +2 -2
  23. package/{Vimeo-DFCi-vSX.mjs → Vimeo-AzJ5YTLV.mjs} +2 -2
  24. package/{Wistia-emX1iUcE.mjs → Wistia-BuULozMf.mjs} +2 -2
  25. package/{YouTube-DIq2uWeq.mjs → YouTube-D54qTfpx.mjs} +2 -2
  26. package/{index-AEiKTTFl.mjs → index-Bt-juHPR.mjs} +2 -2
  27. package/{index-CIVj8pjz.mjs → index-C5YsWuUC.mjs} +3505 -3361
  28. package/index.d.ts +1 -0
  29. package/index.mjs +3 -2
  30. package/{mutateApi-dFWYRnAs.mjs → mutateApi-D1KlLkuZ.mjs} +12 -18
  31. package/package.json +1 -1
  32. package/EventList-BgAnQPsa.mjs +0 -38484
@@ -1,7 +1,7 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { b as p } from "./EventList-BgAnQPsa.mjs";
2
+ import { b as p } from "./EventList-DgI0_QJW.mjs";
3
3
  import "react";
4
- import "./index-CIVj8pjz.mjs";
4
+ import "./index-C5YsWuUC.mjs";
5
5
  import "react-dom";
6
6
  const f = ({
7
7
  data: t,
@@ -1,8 +1,8 @@
1
1
  import { jsx as H } from "react/jsx-runtime";
2
- import { C as J } from "./EventList-BgAnQPsa.mjs";
2
+ import { C as J } from "./EventList-DgI0_QJW.mjs";
3
3
  import { useState as m, useEffect as k } from "react";
4
- import { s as d, m as p, a as q } from "./mutateApi-dFWYRnAs.mjs";
5
- import { f as A } from "./index-CIVj8pjz.mjs";
4
+ import { s as d, f as A, a as p } from "./index-C5YsWuUC.mjs";
5
+ import { m as q } from "./mutateApi-D1KlLkuZ.mjs";
6
6
  import "react-dom";
7
7
  const Q = (C) => {
8
8
  const {
@@ -26,8 +26,8 @@ const Q = (C) => {
26
26
  ...a,
27
27
  userId: h
28
28
  }
29
- }, o = await p.joinChallenge(c, u, f);
30
- ((n = o == null ? void 0 : o.errors) == null ? void 0 : n.length) > 0 ? d((l = o == null ? void 0 : o.errors[0]) == null ? void 0 : l.message) : (s = (i = o == null ? void 0 : o.data) == null ? void 0 : i.community_joinChallenge) != null && s.id ? (q((r = (e = o == null ? void 0 : o.data) == null ? void 0 : e.community_joinChallenge) == null ? void 0 : r.message), I(!0), _()) : console.error("Join Challenge API failed");
29
+ }, o = await q.joinChallenge(c, u, f);
30
+ ((n = o == null ? void 0 : o.errors) == null ? void 0 : n.length) > 0 ? d((l = o == null ? void 0 : o.errors[0]) == null ? void 0 : l.message) : (s = (i = o == null ? void 0 : o.data) == null ? void 0 : i.community_joinChallenge) != null && s.id ? (p((r = (e = o == null ? void 0 : o.data) == null ? void 0 : e.community_joinChallenge) == null ? void 0 : r.message), I(!0), _()) : console.error("Join Challenge API failed");
31
31
  } catch (c) {
32
32
  console.error("Error in Join Challenge API:", c);
33
33
  } finally {
@@ -1,8 +1,8 @@
1
1
  import { jsx as z } from "react/jsx-runtime";
2
- import { f as D, c as F } from "./EventList-BgAnQPsa.mjs";
2
+ import { f as D, c as F } from "./EventList-DgI0_QJW.mjs";
3
3
  import { useState as d, useEffect as J } from "react";
4
- import { s as a, m as K, a as N } from "./mutateApi-dFWYRnAs.mjs";
5
- import { f as p } from "./index-CIVj8pjz.mjs";
4
+ import { f as p, s as a, a as K } from "./index-C5YsWuUC.mjs";
5
+ import { m as N } from "./mutateApi-D1KlLkuZ.mjs";
6
6
  import "react-dom";
7
7
  const Z = (I) => {
8
8
  var S, P, A;
@@ -35,8 +35,8 @@ const Z = (I) => {
35
35
  const t = {
36
36
  input: { activity_type: c, target: l.toString(), action: r },
37
37
  user_id: w
38
- }, e = await K.setPersonalGoal(t, h, g);
39
- ((o = (n = e == null ? void 0 : e.data) == null ? void 0 : n.community_setPersonalGoal) == null ? void 0 : o.message) === "Created Successfully!!!" && r === "goal" ? N("Goal updated successfully!") : r !== "entry" && a("Something went wrong, please try after sometime !");
38
+ }, e = await N.setPersonalGoal(t, h, g);
39
+ ((o = (n = e == null ? void 0 : e.data) == null ? void 0 : n.community_setPersonalGoal) == null ? void 0 : o.message) === "Created Successfully!!!" && r === "goal" ? K("Goal updated successfully!") : r !== "entry" && a("Something went wrong, please try after sometime !");
40
40
  } catch (t) {
41
41
  console.error("Error in update goal API:", t), a("Something went wrong, please try after sometime !");
42
42
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as O } from "react/jsx-runtime";
2
2
  import j, { memo as x, useState as g, useEffect as z } from "react";
3
- import { F as J, f as N } from "./index-CIVj8pjz.mjs";
4
- import { s as w, m as $ } from "./mutateApi-dFWYRnAs.mjs";
3
+ import { F as J, f as N, s as w } from "./index-C5YsWuUC.mjs";
4
+ import { m as $ } from "./mutateApi-D1KlLkuZ.mjs";
5
5
  import "react-dom";
6
6
  const A = {
7
7
  Article: "Article",
@@ -11,7 +11,7 @@ const A = {
11
11
  Vod: "Vod"
12
12
  }, c = {};
13
13
  Object.keys(A).forEach((l) => (c[l] = j.lazy(
14
- () => import("./index-AEiKTTFl.mjs").then((t) => ({
14
+ () => import("./index-Bt-juHPR.mjs").then((t) => ({
15
15
  default: t[A[l]]
16
16
  }))
17
17
  ), c));
@@ -1,6 +1,6 @@
1
- import { g as P } from "./index-CIVj8pjz.mjs";
1
+ import { g as P } from "./index-C5YsWuUC.mjs";
2
2
  import v from "react";
3
- import { u as D, p as O } from "./EventList-BgAnQPsa.mjs";
3
+ import { u as D, p as O } from "./EventList-DgI0_QJW.mjs";
4
4
  function b(t, e) {
5
5
  for (var r = 0; r < e.length; r++) {
6
6
  const o = e[r];
@@ -1,8 +1,8 @@
1
1
  import { jsx as z } from "react/jsx-runtime";
2
- import { f as F, d as J } from "./EventList-BgAnQPsa.mjs";
2
+ import { f as F, d as J } from "./EventList-DgI0_QJW.mjs";
3
3
  import { useState as l, useEffect as K } from "react";
4
- import { s, m as N, a as O } from "./mutateApi-dFWYRnAs.mjs";
5
- import { f as E } from "./index-CIVj8pjz.mjs";
4
+ import { f as E, s, a as N } from "./index-C5YsWuUC.mjs";
5
+ import { m as O } from "./mutateApi-D1KlLkuZ.mjs";
6
6
  import "react-dom";
7
7
  const v = async (w, g, y, D = "", t = "wellnessevent") => {
8
8
  var f, d, o, r;
@@ -36,8 +36,8 @@ const v = async (w, g, y, D = "", t = "wellnessevent") => {
36
36
  const n = {
37
37
  input: { activity_type: u, target: P.toString(), action: c },
38
38
  user_id: h
39
- }, e = await N.setPersonalGoal(n, o, r);
40
- ((m = (i = e == null ? void 0 : e.data) == null ? void 0 : i.community_setPersonalGoal) == null ? void 0 : m.message) === "Created Successfully!!!" && c === "goal" ? O("Goal updated successfully!") : c !== "entry" && s("Something went wrong, please try after sometime !");
39
+ }, e = await O.setPersonalGoal(n, o, r);
40
+ ((m = (i = e == null ? void 0 : e.data) == null ? void 0 : i.community_setPersonalGoal) == null ? void 0 : m.message) === "Created Successfully!!!" && c === "goal" ? N("Goal updated successfully!") : c !== "entry" && s("Something went wrong, please try after sometime !");
41
41
  } catch (n) {
42
42
  console.error("Error in update goal API:", n), s("Something went wrong, please try after sometime !");
43
43
  }
@@ -1,8 +1,8 @@
1
1
  import { jsx as U } from "react/jsx-runtime";
2
- import { E as V } from "./EventList-BgAnQPsa.mjs";
2
+ import { E as V } from "./EventList-DgI0_QJW.mjs";
3
3
  import { useState as a, useEffect as p } from "react";
4
- import { s as d, a as I, m as q } from "./mutateApi-dFWYRnAs.mjs";
5
- import { f as z } from "./index-CIVj8pjz.mjs";
4
+ import { f as q, s as d, a as I } from "./index-C5YsWuUC.mjs";
5
+ import { m as z } from "./mutateApi-D1KlLkuZ.mjs";
6
6
  import "react-dom";
7
7
  const Z = (h) => {
8
8
  const {
@@ -29,7 +29,7 @@ const Z = (h) => {
29
29
  ...u,
30
30
  userId: f
31
31
  }
32
- }, e = await q.joinEvent(n, v, _);
32
+ }, e = await z.joinEvent(n, v, _);
33
33
  ((r = e == null ? void 0 : e.errors) == null ? void 0 : r.length) > 0 ? d((s = e == null ? void 0 : e.errors[0]) == null ? void 0 : s.message) : (o = (i = e == null ? void 0 : e.data) == null ? void 0 : i.community_userRegistration) != null && o.id ? (I((c = (l = e == null ? void 0 : e.data) == null ? void 0 : l.community_userRegistration) == null ? void 0 : c.message), E(!0), y()) : console.error("Join Event API failed");
34
34
  } catch (n) {
35
35
  console.error("Error in Join Event API:", n);
@@ -57,7 +57,7 @@ const Z = (h) => {
57
57
  } : {
58
58
  event_id: t == null ? void 0 : t.page,
59
59
  user_id: f
60
- }, e = await z.getEventDetails(n, v, _);
60
+ }, e = await q.getEventDetails(n, v, _);
61
61
  if (((r = e == null ? void 0 : e.errors) == null ? void 0 : r.length) > 0)
62
62
  d((s = e == null ? void 0 : e.errors[0]) == null ? void 0 : s.message);
63
63
  else if ((i = e == null ? void 0 : e.data) != null && i.community_eventDetails) {