@platform-x/hcltechx-mfe-wrapper 1.0.19 → 1.0.20
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/{ArticleVodListComponent-DBWWz2Hs.mjs → ArticleVodListComponent-CHnqag9b.mjs} +2 -2
- package/{ChallengeDetailComponent-CG1RCzE8.mjs → ChallengeDetailComponent-BmeP6FZ1.mjs} +3 -3
- package/{ChallengeSliderComponent-CWMXRKq0.mjs → ChallengeSliderComponent-CPdxf7-q.mjs} +3 -3
- package/{CommonContentComponent-Qqc5N-Az.mjs → CommonContentComponent-8JPy8nJ6.mjs} +3 -3
- package/{DailyMotion-DFR0gSds.mjs → DailyMotion-D8UIGIEl.mjs} +2 -2
- package/{EngagementHomeComponent-6HpQlMcy.mjs → EngagementHomeComponent-CVGzWcc7.mjs} +3 -3
- package/{EventDetailComponent-C4UcNsiV.mjs → EventDetailComponent-tRaFnwYj.mjs} +3 -3
- package/{EventListComponent-CxLQt26p.mjs → EventListComponent-CKLSWeDv.mjs} +25 -25
- package/{Facebook-VVjco9FH.mjs → Facebook-BLCOUjfZ.mjs} +2 -2
- package/{FilePlayer-BDeGYR2Q.mjs → FilePlayer-D68wVaHK.mjs} +2 -2
- package/{IndividualChallengeComponent-C1sGK49q.mjs → IndividualChallengeComponent-gUfQv-rL.mjs} +3 -3
- package/{Kaltura-BFst5TiU.mjs → Kaltura-PX7BhLfz.mjs} +2 -2
- package/{Mixcloud-Cpa7j5gA.mjs → Mixcloud-B7Af0Mn0.mjs} +2 -2
- package/{Mux-DK0DbgQd.mjs → Mux-1HZ1W-lE.mjs} +2 -2
- package/{PageComponent-C6ibBxcU.mjs → PageComponent-BSP0QUvr.mjs} +2 -2
- package/{Preview-BXbJWXWn.mjs → Preview-nCs4zsNM.mjs} +1 -1
- package/{RecentCarousel-DawjIVr1.mjs → RecentCarousel-B42bOjYP.mjs} +2 -2
- package/{Share-Dby-Dvcf.mjs → Share-B0TMKNSe.mjs} +2 -2
- package/{SoundCloud-DzWRor2L.mjs → SoundCloud-EUx8hlx1.mjs} +2 -2
- package/{Streamable-CXOJ7VLs.mjs → Streamable-By-i7qcF.mjs} +2 -2
- package/{ToggleButton-BDZUn9dD.mjs → ToggleButton--p_geS1j.mjs} +34521 -34064
- package/{Twitch-BK7cwvnu.mjs → Twitch-CJ3aP-xV.mjs} +2 -2
- package/{Vidyard-Bi7qNzGk.mjs → Vidyard-DXacKBYx.mjs} +2 -2
- package/{Vimeo-Bgg5KRYj.mjs → Vimeo-B6cLX7vD.mjs} +2 -2
- package/{Wistia-nSChaKhF.mjs → Wistia-DtFJL0ep.mjs} +2 -2
- package/{YouTube-djKcxXS_.mjs → YouTube-i5y4gwEO.mjs} +2 -2
- package/{index-DScfDnB2.mjs → index-CPQ9TrZQ.mjs} +2 -2
- package/{index-kq1lszid.mjs → index-Cs-Nr3u2.mjs} +617 -624
- package/index.mjs +1 -1
- package/lib/utils/constants.d.ts +0 -1
- package/{mutateApi-DNRcNgo1.mjs → mutateApi-D7sw1yK3.mjs} +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { A as p } from "./ToggleButton
|
|
2
|
+
import { A as p } from "./ToggleButton--p_geS1j.mjs";
|
|
3
3
|
import "react";
|
|
4
|
-
import "./index-
|
|
4
|
+
import "./index-Cs-Nr3u2.mjs";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const f = ({
|
|
7
7
|
data: t,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as F } from "react/jsx-runtime";
|
|
2
|
-
import { b as K } from "./ToggleButton
|
|
2
|
+
import { b as K } from "./ToggleButton--p_geS1j.mjs";
|
|
3
3
|
import { useState as f, useEffect as M } from "react";
|
|
4
|
-
import { s as a, f as u } from "./index-
|
|
5
|
-
import { m as N } from "./mutateApi-
|
|
4
|
+
import { s as a, f as u } from "./index-Cs-Nr3u2.mjs";
|
|
5
|
+
import { m as N } from "./mutateApi-D7sw1yK3.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const Z = (L) => {
|
|
8
8
|
const {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as z } from "react/jsx-runtime";
|
|
2
|
-
import { f as D, C as F } from "./ToggleButton
|
|
2
|
+
import { f as D, C as F } from "./ToggleButton--p_geS1j.mjs";
|
|
3
3
|
import { useState as d, useEffect as J } from "react";
|
|
4
|
-
import { f as p, s as a, a as K } from "./index-
|
|
5
|
-
import { m as N } from "./mutateApi-
|
|
4
|
+
import { f as p, s as a, a as K } from "./index-Cs-Nr3u2.mjs";
|
|
5
|
+
import { m as N } from "./mutateApi-D7sw1yK3.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const Z = (I) => {
|
|
8
8
|
var S, P, A;
|
|
@@ -1,12 +1,12 @@
|
|
|
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, f as N, s as w } from "./index-
|
|
4
|
-
import { m as $ } from "./mutateApi-
|
|
3
|
+
import { F as M, f as N, s as w } from "./index-Cs-Nr3u2.mjs";
|
|
4
|
+
import { m as $ } from "./mutateApi-D7sw1yK3.mjs";
|
|
5
5
|
import { M as T } from "./Mapping-jqmNMEpL.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const c = {};
|
|
8
8
|
Object.keys(T).forEach((l) => (c[l] = j.lazy(
|
|
9
|
-
() => import("./index-
|
|
9
|
+
() => import("./index-CPQ9TrZQ.mjs").then((t) => ({
|
|
10
10
|
default: t[T[l]]
|
|
11
11
|
}))
|
|
12
12
|
), c));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as P } from "./index-
|
|
1
|
+
import { m as P } from "./index-Cs-Nr3u2.mjs";
|
|
2
2
|
import v from "react";
|
|
3
|
-
import { y as D, z as O } from "./ToggleButton
|
|
3
|
+
import { y as D, z as O } from "./ToggleButton--p_geS1j.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, a as J } from "./ToggleButton
|
|
2
|
+
import { f as F, a as J } from "./ToggleButton--p_geS1j.mjs";
|
|
3
3
|
import { useState as l, useEffect as K } from "react";
|
|
4
|
-
import { f as E, s, a as N } from "./index-
|
|
5
|
-
import { m as O } from "./mutateApi-
|
|
4
|
+
import { f as E, s, a as N } from "./index-Cs-Nr3u2.mjs";
|
|
5
|
+
import { m as O } from "./mutateApi-D7sw1yK3.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const v = async (w, g, y, D = "", t = "wellnessevent") => {
|
|
8
8
|
var f, d, o, r;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as U } from "react/jsx-runtime";
|
|
2
|
-
import { c as V } from "./ToggleButton
|
|
2
|
+
import { c as V } from "./ToggleButton--p_geS1j.mjs";
|
|
3
3
|
import { useState as a, useEffect as p } from "react";
|
|
4
|
-
import { f as q, s as d, a as I } from "./index-
|
|
5
|
-
import { m as z } from "./mutateApi-
|
|
4
|
+
import { f as q, s as d, a as I } from "./index-Cs-Nr3u2.mjs";
|
|
5
|
+
import { m as z } from "./mutateApi-D7sw1yK3.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const Z = (h) => {
|
|
8
8
|
const {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import { E as U } from "./ToggleButton
|
|
2
|
+
import { E as M, f as U } from "./ToggleButton--p_geS1j.mjs";
|
|
3
3
|
import { useState as c, useEffect as j } from "react";
|
|
4
|
-
import { s as a, f as B, a as H } from "./index-
|
|
5
|
-
import { m as q } from "./mutateApi-
|
|
4
|
+
import { s as a, f as B, a as H } from "./index-Cs-Nr3u2.mjs";
|
|
5
|
+
import { m as q } from "./mutateApi-D7sw1yK3.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
const
|
|
7
|
+
const Q = ({
|
|
8
8
|
data: h,
|
|
9
|
-
prelemAnalyticsProp:
|
|
10
|
-
prelemAuthoringHelper:
|
|
11
|
-
secondaryArgs:
|
|
12
|
-
userId:
|
|
13
|
-
filters:
|
|
14
|
-
relativePath:
|
|
9
|
+
prelemAnalyticsProp: y,
|
|
10
|
+
prelemAuthoringHelper: p,
|
|
11
|
+
secondaryArgs: f,
|
|
12
|
+
userId: m,
|
|
13
|
+
filters: P,
|
|
14
|
+
relativePath: w
|
|
15
15
|
}) => {
|
|
16
|
-
const [
|
|
16
|
+
const [I, S] = c({}), [D, _] = c({}), [v, E] = c({}), [T, u] = c(!1), {
|
|
17
17
|
prelemBaseEndpoint: { language: g, site_host: d }
|
|
18
|
-
} =
|
|
18
|
+
} = f, r = localStorage.getItem("userId") || m, G = async (l, t, i) => {
|
|
19
19
|
var n, o;
|
|
20
20
|
if (!r) {
|
|
21
21
|
a("User ID is not available. Please log in.");
|
|
@@ -39,14 +39,14 @@ const O = ({
|
|
|
39
39
|
try {
|
|
40
40
|
u(!0);
|
|
41
41
|
const o = {
|
|
42
|
-
date: "",
|
|
42
|
+
date: U(/* @__PURE__ */ new Date(), "yyyy-MM-dd"),
|
|
43
43
|
user_id: r
|
|
44
44
|
}, e = await B.fetchPersonalTracker(o, g, d);
|
|
45
45
|
if (((l = e == null ? void 0 : e.errors) == null ? void 0 : l.length) > 0)
|
|
46
46
|
a((t = e == null ? void 0 : e.errors[0]) == null ? void 0 : t.message);
|
|
47
47
|
else if ((i = e == null ? void 0 : e.data) != null && i.community_fetchPersonalTracker) {
|
|
48
48
|
const { steps: s, calories: k, distance: L, individual_challenge_info: b } = (n = e == null ? void 0 : e.data) == null ? void 0 : n.community_fetchPersonalTracker;
|
|
49
|
-
E(s),
|
|
49
|
+
E(s), S(b), _({ calories: k, distance: L });
|
|
50
50
|
} else
|
|
51
51
|
console.error("GetPersonalData API failed");
|
|
52
52
|
} catch (o) {
|
|
@@ -55,28 +55,28 @@ const O = ({
|
|
|
55
55
|
u(!1);
|
|
56
56
|
}
|
|
57
57
|
}, A = {
|
|
58
|
-
stepsData:
|
|
58
|
+
stepsData: v,
|
|
59
59
|
loading: T,
|
|
60
60
|
updateGoals: G
|
|
61
61
|
};
|
|
62
62
|
return j(() => {
|
|
63
63
|
C();
|
|
64
64
|
}, []), /* @__PURE__ */ x(
|
|
65
|
-
|
|
65
|
+
M,
|
|
66
66
|
{
|
|
67
67
|
content: h,
|
|
68
|
-
analytics:
|
|
69
|
-
authoringHelper:
|
|
70
|
-
secondaryArgs:
|
|
68
|
+
analytics: y,
|
|
69
|
+
authoringHelper: p,
|
|
70
|
+
secondaryArgs: f,
|
|
71
71
|
stepsDetails: A,
|
|
72
|
-
filters:
|
|
73
|
-
relativePath:
|
|
74
|
-
individual_challenge_info:
|
|
75
|
-
commonInfo:
|
|
76
|
-
userId:
|
|
72
|
+
filters: P,
|
|
73
|
+
relativePath: w,
|
|
74
|
+
individual_challenge_info: I,
|
|
75
|
+
commonInfo: D,
|
|
76
|
+
userId: m
|
|
77
77
|
}
|
|
78
78
|
);
|
|
79
79
|
};
|
|
80
80
|
export {
|
|
81
|
-
|
|
81
|
+
Q as default
|
|
82
82
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as _ } from "./index-
|
|
1
|
+
import { m as _ } from "./index-Cs-Nr3u2.mjs";
|
|
2
2
|
import m from "react";
|
|
3
|
-
import { y as P, z as g } from "./ToggleButton
|
|
3
|
+
import { y as P, z as g } from "./ToggleButton--p_geS1j.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 { m as b } from "./index-
|
|
1
|
+
import { m as b } from "./index-Cs-Nr3u2.mjs";
|
|
2
2
|
import _ from "react";
|
|
3
|
-
import { y as O, z as A } from "./ToggleButton
|
|
3
|
+
import { y as O, z as A } from "./ToggleButton--p_geS1j.mjs";
|
|
4
4
|
function R(s, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const i = e[t];
|
package/{IndividualChallengeComponent-C1sGK49q.mjs → IndividualChallengeComponent-gUfQv-rL.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as R } from "react/jsx-runtime";
|
|
2
|
-
import { I as ee } from "./ToggleButton
|
|
2
|
+
import { I as ee } from "./ToggleButton--p_geS1j.mjs";
|
|
3
3
|
import { useState as m, useEffect as re } from "react";
|
|
4
|
-
import { f as y, s as u, a as q } from "./index-
|
|
5
|
-
import { m as w } from "./mutateApi-
|
|
4
|
+
import { f as y, s as u, a as q } from "./index-Cs-Nr3u2.mjs";
|
|
5
|
+
import { m as w } from "./mutateApi-D7sw1yK3.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const ce = (E) => {
|
|
8
8
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as y } from "./index-
|
|
1
|
+
import { m as y } from "./index-Cs-Nr3u2.mjs";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { y as m, z as _ } from "./ToggleButton
|
|
3
|
+
import { y as m, z as _ } from "./ToggleButton--p_geS1j.mjs";
|
|
4
4
|
function P(r, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const o = e[t];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as y } from "./index-
|
|
1
|
+
import { m as y } from "./index-Cs-Nr3u2.mjs";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { y as m, z as g } from "./ToggleButton
|
|
3
|
+
import { y as m, z as g } from "./ToggleButton--p_geS1j.mjs";
|
|
4
4
|
function v(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as P } from "./index-
|
|
1
|
+
import { m as P } from "./index-Cs-Nr3u2.mjs";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { z as E } from "./ToggleButton
|
|
3
|
+
import { z as E } from "./ToggleButton--p_geS1j.mjs";
|
|
4
4
|
function b(r, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const i = e[t];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, Fragment as f } from "react/jsx-runtime";
|
|
2
|
-
import { C as e } from "./index-
|
|
2
|
+
import { C as e } from "./index-Cs-Nr3u2.mjs";
|
|
3
3
|
import T from "react";
|
|
4
4
|
import { M as E } from "./Mapping-jqmNMEpL.mjs";
|
|
5
5
|
import "react-dom";
|
|
@@ -38,7 +38,7 @@ const v = (l) => ({
|
|
|
38
38
|
bucketName: e.bucketName
|
|
39
39
|
}), d = {};
|
|
40
40
|
Object.keys(E).forEach((l) => (d[l] = T.lazy(
|
|
41
|
-
() => import("./index-
|
|
41
|
+
() => import("./index-CPQ9TrZQ.mjs").then((n) => ({
|
|
42
42
|
default: n[E[l]]
|
|
43
43
|
}))
|
|
44
44
|
), d));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { m as y, B as i, T as x, o as B, p as z, q as T, g as H, t as M, V as U, P as V, L as F, u as j, v as q, w as W, x as O } from "./ToggleButton
|
|
2
|
+
import { m as y, B as i, T as x, o as B, p as z, q as T, g as H, t as M, V as U, P as V, L as F, u as j, v as q, w as W, x as O } from "./ToggleButton--p_geS1j.mjs";
|
|
3
3
|
import Y, { useState as G, useEffect as J } from "react";
|
|
4
|
-
import { n as K } from "./index-
|
|
4
|
+
import { n as K } from "./index-Cs-Nr3u2.mjs";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const Q = y(() => {
|
|
7
7
|
const r = K();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Le, { jsx as a, jsxs as k, Fragment as je } from "react/jsx-runtime";
|
|
2
2
|
import * as le from "react";
|
|
3
3
|
import Te, { forwardRef as Ne, useState as $, useEffect as de, useRef as Oe, useCallback as Pe } from "react";
|
|
4
|
-
import { d as ce, r as Ee, i as Re, m as We, h as Be, e as ue, B as b, g as De, j as He, T as L, P as Me, k as I, D as $e, l as Ue, s as Ve, n as J } from "./ToggleButton
|
|
5
|
-
import { g as he, c as pe, d as we, _ as j, u as fe, e as ge, h as me, P as p, i as be, k as ve, j as ze, l as ee, m as Fe, G as P, n as Ke } from "./index-
|
|
4
|
+
import { d as ce, r as Ee, i as Re, m as We, h as Be, e as ue, B as b, g as De, j as He, T as L, P as Me, k as I, D as $e, l as Ue, s as Ve, n as J } from "./ToggleButton--p_geS1j.mjs";
|
|
5
|
+
import { g as he, c as pe, d as we, _ as j, u as fe, e as ge, h as me, P as p, i as be, k as ve, j as ze, l as ee, m as Fe, G as P, n as Ke } from "./index-Cs-Nr3u2.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
function Ge(e) {
|
|
8
8
|
return String(e).match(/[\d.\-+]*\s*(.*)/)[1] || "";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as P } from "./index-
|
|
1
|
+
import { m as P } from "./index-Cs-Nr3u2.mjs";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { y as b, z as v } from "./ToggleButton
|
|
3
|
+
import { y as b, z as v } from "./ToggleButton--p_geS1j.mjs";
|
|
4
4
|
function O(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m } from "./index-
|
|
1
|
+
import { m } from "./index-Cs-Nr3u2.mjs";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { y as _, z as b } from "./ToggleButton
|
|
3
|
+
import { y as _, z as b } from "./ToggleButton--p_geS1j.mjs";
|
|
4
4
|
function P(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|