@platform-x/hcltechx-mfe-wrapper 1.0.31 → 1.0.32

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 (34) hide show
  1. package/{ArticleVodListComponent-BdsdBJZg.mjs → ArticleVodListComponent-y5ZC-K8N.mjs} +2 -2
  2. package/{ChallengeDetailComponent-nag-UUGh.mjs → ChallengeDetailComponent-Ccl-yC8I.mjs} +3 -3
  3. package/ChallengeSliderComponent-CZ992dWh.mjs +96 -0
  4. package/{CommonContentComponent-K4oWU5f9.mjs → CommonContentComponent-DC0AqqrX.mjs} +3 -3
  5. package/{DailyMotion-wtXtFeuh.mjs → DailyMotion-Blx1GErT.mjs} +2 -2
  6. package/{EngagementHomeComponent-BdEoZbi8.mjs → EngagementHomeComponent-DOX5kur1.mjs} +3 -3
  7. package/{EventDetailComponent-B2X9tTQb.mjs → EventDetailComponent-DOh41Jfw.mjs} +3 -3
  8. package/{EventListComponent-DO8pbMGC.mjs → EventListComponent-DL11Vq8q.mjs} +3 -3
  9. package/{ExperienceZone-CDn2CT6n.mjs → ExperienceZone-C4mWycEw.mjs} +6 -6
  10. package/{ExperienceZoneComponent-CZAzrxV2.mjs → ExperienceZoneComponent-DJRNt2lQ.mjs} +3 -3
  11. package/{Facebook-Dn8GPyI6.mjs → Facebook-CpbqLd66.mjs} +2 -2
  12. package/{FilePlayer-CPdcL8iZ.mjs → FilePlayer-BGOp0DXQ.mjs} +2 -2
  13. package/{IndividualChallengeComponent-Ck-LrQGM.mjs → IndividualChallengeComponent-CSvwg7u6.mjs} +3 -3
  14. package/{Kaltura-DngkKLJA.mjs → Kaltura-C8slhZzV.mjs} +2 -2
  15. package/{Mixcloud-Bh51-GGV.mjs → Mixcloud-BOMYfvT_.mjs} +2 -2
  16. package/{Mux-TmuQow4X.mjs → Mux-DB7aeQVl.mjs} +2 -2
  17. package/{PageComponent-DOJ0s9qx.mjs → PageComponent-CKYHKblz.mjs} +2 -2
  18. package/{Preview-Be9YGdv6.mjs → Preview-1H7JmNVr.mjs} +1 -1
  19. package/{RecentCarousel-Vr9dX9UA.mjs → RecentCarousel-QbiBRQ_g.mjs} +2 -2
  20. package/{Share-jA8mNlB7.mjs → Share-BCO0nej_.mjs} +2 -2
  21. package/{SoundCloud-BpXdvxDN.mjs → SoundCloud-BWt1QfLw.mjs} +2 -2
  22. package/{Streamable-BBRWRnR4.mjs → Streamable-KhANYmoI.mjs} +2 -2
  23. package/{ToggleButton-DLdOYWHV.mjs → ToggleButton-Ckaqkycd.mjs} +36068 -36392
  24. package/{Twitch-IiHBuRmY.mjs → Twitch-D0U9O0cv.mjs} +2 -2
  25. package/{Vidyard-BjPL8-75.mjs → Vidyard-d7EDUuD8.mjs} +2 -2
  26. package/{Vimeo-BN2eVm_H.mjs → Vimeo-BDMUc8SW.mjs} +2 -2
  27. package/{Wistia-BL1IQZeu.mjs → Wistia-D5xJrTK7.mjs} +2 -2
  28. package/{YouTube-BdYTt5JS.mjs → YouTube-oKErF6Ye.mjs} +2 -2
  29. package/{index-BJp2rRr8.mjs → index-CEZYrT6K.mjs} +3 -3
  30. package/{index-D9AkzmlZ.mjs → index-KlOvgf9W.mjs} +12 -12
  31. package/index.mjs +1 -1
  32. package/{mutateApi-BX_cOEZ_.mjs → mutateApi-COICutgy.mjs} +1 -1
  33. package/package.json +1 -1
  34. package/ChallengeSliderComponent-CSGqxje-.mjs +0 -85
@@ -1,6 +1,6 @@
1
- import { n as w } from "./index-D9AkzmlZ.mjs";
1
+ import { n as w } from "./index-KlOvgf9W.mjs";
2
2
  import D from "react";
3
- import { z as C, F as N } from "./ToggleButton-DLdOYWHV.mjs";
3
+ import { z as C, F as N } from "./ToggleButton-Ckaqkycd.mjs";
4
4
  function I(t, e) {
5
5
  for (var r = 0; r < e.length; r++) {
6
6
  const s = e[r];
@@ -1,6 +1,6 @@
1
- import { n as g } from "./index-D9AkzmlZ.mjs";
1
+ import { n as g } from "./index-KlOvgf9W.mjs";
2
2
  import v from "react";
3
- import { z as b, F as O } from "./ToggleButton-DLdOYWHV.mjs";
3
+ import { z as b, F as O } from "./ToggleButton-Ckaqkycd.mjs";
4
4
  function V(t, e) {
5
5
  for (var r = 0; r < e.length; r++) {
6
6
  const o = e[r];
@@ -1,6 +1,6 @@
1
- import { n as d } from "./index-D9AkzmlZ.mjs";
1
+ import { n as d } from "./index-KlOvgf9W.mjs";
2
2
  import f from "react";
3
- import { z as m, F as _ } from "./ToggleButton-DLdOYWHV.mjs";
3
+ import { z as m, F as _ } from "./ToggleButton-Ckaqkycd.mjs";
4
4
  function P(t, e) {
5
5
  for (var r = 0; r < e.length; r++) {
6
6
  const a = e[r];
@@ -1,6 +1,6 @@
1
- import { n as m } from "./index-D9AkzmlZ.mjs";
1
+ import { n as m } from "./index-KlOvgf9W.mjs";
2
2
  import g from "react";
3
- import { z as v, F as w } from "./ToggleButton-DLdOYWHV.mjs";
3
+ import { z as v, F as w } from "./ToggleButton-Ckaqkycd.mjs";
4
4
  function O(t, e) {
5
5
  for (var a = 0; a < e.length; a++) {
6
6
  const s = e[a];
@@ -1,6 +1,6 @@
1
- import { n as U } from "./index-D9AkzmlZ.mjs";
1
+ import { n as U } from "./index-KlOvgf9W.mjs";
2
2
  import I from "react";
3
- import { z as L, F as M } from "./ToggleButton-DLdOYWHV.mjs";
3
+ import { z as L, F as M } from "./ToggleButton-Ckaqkycd.mjs";
4
4
  function Y(a, e) {
5
5
  for (var t = 0; t < e.length; t++) {
6
6
  const o = e[t];
@@ -1,8 +1,8 @@
1
- import { K as t, G as o, A as n, L as c, M as d, N as P, b as _, C as S, O as g, R as u, S as v, a as C, c as h, E as p, U as y, W as V, X as W, Y as A, I as B, Z as E, H as x, _ as D, $ as F, Q as T, a0 as L, a1 as f, a2 as H, a3 as I, a4 as U, a5 as q, a6 as w, J as M } from "./ToggleButton-DLdOYWHV.mjs";
2
- import { E as Z } from "./ExperienceZone-CDn2CT6n.mjs";
1
+ import { K as t, G as o, A as n, L as c, M as d, N as P, b as _, C as S, O as g, R as u, S as v, a as C, c as h, E as p, U as y, W as V, X as W, Y as A, I as B, Z as E, H as x, _ as D, $ as F, Q as T, a0 as L, a1 as f, a2 as H, a3 as I, a4 as U, a5 as q, a6 as w, J as M } from "./ToggleButton-Ckaqkycd.mjs";
2
+ import { E as Z } from "./ExperienceZone-C4mWycEw.mjs";
3
3
  import "react/jsx-runtime";
4
4
  import "react";
5
- import "./index-D9AkzmlZ.mjs";
5
+ import "./index-KlOvgf9W.mjs";
6
6
  import "react-dom";
7
7
  const l = {
8
8
  Prelem_025: "Banner3",
@@ -5490,23 +5490,23 @@ const Pr = async (r, i, e, o) => {
5490
5490
  getSentRequestList: async (r, i, e) => await Pr(e, i, Uc, r),
5491
5491
  getReceivedRequestList: async (r, i, e) => await Pr(e, i, wc, r)
5492
5492
  }, hc = Mr.lazy(
5493
- () => import("./EventListComponent-DO8pbMGC.mjs")
5493
+ () => import("./EventListComponent-DL11Vq8q.mjs")
5494
5494
  ), $c = Mr.lazy(
5495
- () => import("./ChallengeSliderComponent-CSGqxje-.mjs")
5495
+ () => import("./ChallengeSliderComponent-CZ992dWh.mjs")
5496
5496
  ), Wc = Mr.lazy(
5497
- () => import("./EngagementHomeComponent-BdEoZbi8.mjs")
5497
+ () => import("./EngagementHomeComponent-DOX5kur1.mjs")
5498
5498
  ), kc = Mr.lazy(
5499
- () => import("./ChallengeDetailComponent-nag-UUGh.mjs")
5499
+ () => import("./ChallengeDetailComponent-Ccl-yC8I.mjs")
5500
5500
  ), zc = Mr.lazy(
5501
- () => import("./EventDetailComponent-B2X9tTQb.mjs")
5501
+ () => import("./EventDetailComponent-DOh41Jfw.mjs")
5502
5502
  ), Hi = Mr.lazy(
5503
- () => import("./CommonContentComponent-K4oWU5f9.mjs")
5503
+ () => import("./CommonContentComponent-DC0AqqrX.mjs")
5504
5504
  ), Vc = Mr.lazy(
5505
- () => import("./ArticleVodListComponent-BdsdBJZg.mjs")
5505
+ () => import("./ArticleVodListComponent-y5ZC-K8N.mjs")
5506
5506
  ), Zc = Mr.lazy(
5507
- () => import("./IndividualChallengeComponent-Ck-LrQGM.mjs")
5508
- ), Kc = Mr.lazy(() => import("./PageComponent-DOJ0s9qx.mjs")), jc = Mr.lazy(
5509
- () => import("./ExperienceZoneComponent-CZAzrxV2.mjs")
5507
+ () => import("./IndividualChallengeComponent-CSvwg7u6.mjs")
5508
+ ), Kc = Mr.lazy(() => import("./PageComponent-CKYHKblz.mjs")), jc = Mr.lazy(
5509
+ () => import("./ExperienceZoneComponent-DJRNt2lQ.mjs")
5510
5510
  ), ri = {
5511
5511
  //prelems
5512
5512
  eventList: hc,
@@ -10472,7 +10472,7 @@ Jc.defaultProps = {
10472
10472
  langCode: "en"
10473
10473
  };
10474
10474
  export {
10475
- ed as $,
10475
+ od as $,
10476
10476
  ul as A,
10477
10477
  ko as B,
10478
10478
  Ie as C,
@@ -10498,7 +10498,7 @@ export {
10498
10498
  wi as W,
10499
10499
  pt as X,
10500
10500
  gi as Y,
10501
- od as Z,
10501
+ ed as Z,
10502
10502
  m as _,
10503
10503
  ld as a,
10504
10504
  tr as a0,
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a8 as t, a9 as m } from "./index-D9AkzmlZ.mjs";
1
+ import { a8 as t, a9 as m } from "./index-KlOvgf9W.mjs";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { b as s } from "./index-D9AkzmlZ.mjs";
1
+ import { b as s } from "./index-KlOvgf9W.mjs";
2
2
  const u = `mutation ($input: community_userRegistrationInput) {
3
3
  community_userRegistration(input: $input) {
4
4
  id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-x/hcltechx-mfe-wrapper",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -1,85 +0,0 @@
1
- import { jsx as z } from "react/jsx-runtime";
2
- import { f as D, C as F } from "./ToggleButton-DLdOYWHV.mjs";
3
- import { useState as d, useEffect as J } from "react";
4
- import { f as p, s as l, a as K } from "./index-D9AkzmlZ.mjs";
5
- import { m as N } from "./mutateApi-BX_cOEZ_.mjs";
6
- import "react-dom";
7
- const Z = (I) => {
8
- var S, P, A;
9
- const { pageData: s = {}, secondaryArgs: f, userId: T, filters: _ } = I || {}, [k, u] = d(!1), [E, y] = d({}), [G, b] = d(0), [L, v] = d([]), w = localStorage.getItem("userId") || T, {
10
- prelemBaseEndpoint: { site_host: g, language: h }
11
- } = f, x = {
12
- pageId: s == null ? void 0 : s.page,
13
- pageTitle: s == null ? void 0 : s.title,
14
- pageDesc: s == null ? void 0 : s.description,
15
- pageTags: (P = (S = s == null ? void 0 : s.settings) == null ? void 0 : S.keywords) == null ? void 0 : P.join(", "),
16
- isAuthoring: !1,
17
- isSeoEnabled: (A = s == null ? void 0 : s.settings) == null ? void 0 : A.seo_blockIndexing,
18
- isAnalyticsEnabled: s == null ? void 0 : s.analytics_enable
19
- }, j = {
20
- isAuthoring: !1
21
- }, H = async (c, r, a, n = "", o = "wellnessevent") => {
22
- var e, i, m, C;
23
- const t = await p.getContentSchemaList(
24
- {
25
- searchTerm: n,
26
- filter: (o == null ? void 0 : o.toLocaleLowerCase()) === "events" ? "wellnessevent" : o == null ? void 0 : o.toLocaleLowerCase()
27
- },
28
- c || "en",
29
- r
30
- );
31
- (i = (e = t == null ? void 0 : t.data) == null ? void 0 : e.publish_getContents) != null && i.records ? a((C = (m = t == null ? void 0 : t.data) == null ? void 0 : m.publish_getContents) == null ? void 0 : C.records) : console.error("Something went wrong !");
32
- }, M = async (c, r, a) => {
33
- var n, o;
34
- try {
35
- const t = {
36
- input: { activity_type: a, target: c.toString(), action: r },
37
- user_id: w
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" && console.error("Something went wrong !");
40
- } catch (t) {
41
- console.error("Error in update goal API:", t), l("Something went wrong, please try after sometime !");
42
- }
43
- }, B = async (c = "") => {
44
- var r, a, n, o;
45
- try {
46
- u(!0);
47
- const t = {
48
- date: c,
49
- user_id: w
50
- }, e = await p.fetchPersonalTracker(t, h, g);
51
- if (((r = e == null ? void 0 : e.errors) == null ? void 0 : r.length) > 0)
52
- l((a = e == null ? void 0 : e.errors[0]) == null ? void 0 : a.message);
53
- else if ((n = e == null ? void 0 : e.data) != null && n.community_fetchPersonalTracker) {
54
- const { steps: i, streak_count: m } = (o = e == null ? void 0 : e.data) == null ? void 0 : o.community_fetchPersonalTracker;
55
- y(i), b(m);
56
- } else
57
- console.error("GetPersonalData API failed"), l("GetPersonalData API failed");
58
- } catch (t) {
59
- l("Something went wrong !"), console.error("Error in GetPersonalData API:", t), l("Error in GetPersonalData API"), y({});
60
- } finally {
61
- u(!1);
62
- }
63
- }, q = {
64
- stepsData: E,
65
- loading: k,
66
- updateGoals: M
67
- };
68
- return J(() => {
69
- B(D(/* @__PURE__ */ new Date(), "yyyy-MM-dd")), H(h, g, v, "", "challenges");
70
- }, []), /* @__PURE__ */ z(
71
- F,
72
- {
73
- analytics: x,
74
- authoringHelper: j,
75
- secondaryArgs: f,
76
- stepsDetails: q,
77
- streaksCount: G,
78
- data: L,
79
- filters: _
80
- }
81
- );
82
- };
83
- export {
84
- Z as default
85
- };