@platform-x/hcltechx-mfe-wrapper 2.0.11 → 2.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.
- package/{ArticleVodListComponent-DDlpAvkj.mjs → ArticleVodListComponent-DggJaF-f.mjs} +2 -2
- package/{ChallengeDetailComponent-Cp5WgZyn.mjs → ChallengeDetailComponent-CB8MJ0zD.mjs} +51 -50
- package/{ChallengeSliderComponent-sHMLVTzY.mjs → ChallengeSliderComponent-SeuU6g5y.mjs} +3 -3
- package/{CommonContentComponent-B3AlVAyo.mjs → CommonContentComponent-DL5KGR_X.mjs} +4 -4
- package/{DailyMotion-Ctf9dZNz.mjs → DailyMotion-3s94UGtP.mjs} +2 -2
- package/{EngagementHomeComponent-BzULVQ1b.mjs → EngagementHomeComponent-epGBwTBw.mjs} +3 -3
- package/{EventDetailComponent-BFrpAcbd.mjs → EventDetailComponent-D5huebRK.mjs} +3 -3
- package/{EventListComponent-DA8m-zwp.mjs → EventListComponent-ZbH-DwP5.mjs} +3 -3
- package/{ExperienceZone-CCpk3wfA.mjs → ExperienceZone-eti0XhBz.mjs} +11 -11
- package/{ExperienceZoneComponent-seQ8N-61.mjs → ExperienceZoneComponent-C4O9B3FU.mjs} +3 -3
- package/{Facebook-E9V-xmdL.mjs → Facebook-Cia9MnNd.mjs} +11 -11
- package/{FilePlayer-D873kxxw.mjs → FilePlayer-CbUVHwne.mjs} +2 -2
- package/IndividualChallengeComponent-B4iBAWJZ.mjs +203 -0
- package/{Kaltura-DzDUIYV-.mjs → Kaltura-Dj97hbwn.mjs} +2 -2
- package/{Mapping-jqmNMEpL.mjs → Mapping-B5imuw10.mjs} +2 -1
- package/{Mixcloud-eK72UFK5.mjs → Mixcloud-CoY484aX.mjs} +2 -2
- package/{Mux-B1dJXqDK.mjs → Mux-C3YpzaMp.mjs} +2 -2
- package/{PageComponent-CBbQ6FHA.mjs → PageComponent-DDHySinJ.mjs} +3 -3
- package/{Preview-BICB0ygt.mjs → Preview-Cktu5p3b.mjs} +1 -1
- package/{RecentCarousel-DOGZKmRG.mjs → RecentCarousel-ygzkbv9G.mjs} +2 -2
- package/{Share-LWrVflIo.mjs → Share-BbvVolH2.mjs} +431 -632
- package/{SoundCloud-BU2sORCw.mjs → SoundCloud-LxdlfpPn.mjs} +10 -10
- package/{Streamable-BJP2lWrh.mjs → Streamable-CxYrDH8v.mjs} +2 -2
- package/{ToggleButton-5x8XNrp0.mjs → ToggleButton-Db3EYbit.mjs} +100293 -100693
- package/{Twitch-CxK8NZDy.mjs → Twitch-B5IZxrzs.mjs} +2 -2
- package/{Vidyard-DPLjttlh.mjs → Vidyard-B9oCQERz.mjs} +2 -2
- package/{Vimeo-BSPddzKy.mjs → Vimeo-uyH6TMmB.mjs} +2 -2
- package/{Wistia-Dm7XoZWT.mjs → Wistia-DVIEG3f2.mjs} +2 -2
- package/{YouTube-BdUQm9tW.mjs → YouTube-CtIgO4mX.mjs} +2 -2
- package/{index-CXn1_dw9.mjs → index-BkW985f8.mjs} +5266 -3235
- package/index-CKypvltI.mjs +700 -0
- package/index.mjs +1 -1
- package/lib/services/ApiConfig.d.ts +1 -1
- package/lib/services/fetchQueries.d.ts +1 -1
- package/lib/utils/Mapping.d.ts +1 -0
- package/lib/utils/helper.d.ts +1 -0
- package/{mutateApi-Cy-kWAqz.mjs → mutateApi-c5LiaT_5.mjs} +1 -1
- package/package.json +1 -1
- package/IndividualChallengeComponent-DgecMDj1.mjs +0 -200
- package/index-Ctb_unxf.mjs +0 -64
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as P } from "./index-BkW985f8.mjs";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { z as b, F as v } from "./ToggleButton-
|
|
3
|
+
import { z as b, F as v } from "./ToggleButton-Db3EYbit.mjs";
|
|
4
4
|
function O(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
7
7
|
if (typeof s != "string" && !Array.isArray(s)) {
|
|
8
8
|
for (const o in s)
|
|
9
9
|
if (o !== "default" && !(o in t)) {
|
|
10
|
-
const
|
|
11
|
-
|
|
10
|
+
const n = Object.getOwnPropertyDescriptor(s, o);
|
|
11
|
+
n && Object.defineProperty(t, o, n.get ? n : {
|
|
12
12
|
enumerable: !0,
|
|
13
13
|
get: () => s[o]
|
|
14
14
|
});
|
|
@@ -55,16 +55,16 @@ class u extends p.Component {
|
|
|
55
55
|
(0, d.getSDK)(N, A).then((s) => {
|
|
56
56
|
if (!this.iframe)
|
|
57
57
|
return;
|
|
58
|
-
const { PLAY: o, PLAY_PROGRESS:
|
|
58
|
+
const { PLAY: o, PLAY_PROGRESS: n, PAUSE: _, FINISH: m, ERROR: y } = s.Widget.Events;
|
|
59
59
|
r || (this.player = s.Widget(this.iframe), this.player.bind(o, this.props.onPlay), this.player.bind(_, () => {
|
|
60
60
|
this.duration - this.currentTime < 0.05 || this.props.onPause();
|
|
61
|
-
}), this.player.bind(
|
|
62
|
-
this.currentTime =
|
|
63
|
-
}), this.player.bind(m, () => this.props.onEnded()), this.player.bind(y, (
|
|
61
|
+
}), this.player.bind(n, (a) => {
|
|
62
|
+
this.currentTime = a.currentPosition / 1e3, this.fractionLoaded = a.loadedProgress;
|
|
63
|
+
}), this.player.bind(m, () => this.props.onEnded()), this.player.bind(y, (a) => this.props.onError(a))), this.player.load(e, {
|
|
64
64
|
...this.props.config.options,
|
|
65
65
|
callback: () => {
|
|
66
|
-
this.player.getDuration((
|
|
67
|
-
this.duration =
|
|
66
|
+
this.player.getDuration((a) => {
|
|
67
|
+
this.duration = a / 1e3, this.props.onReady();
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as m } from "./index-BkW985f8.mjs";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { z as _, F as b } from "./ToggleButton-
|
|
3
|
+
import { z as _, F as b } from "./ToggleButton-Db3EYbit.mjs";
|
|
4
4
|
function P(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|