@platform-x/hcltechx-mfe-wrapper 1.0.16 → 1.0.18
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-DKUN3thC.mjs → ArticleVodListComponent-BhC9fcBK.mjs} +2 -2
- package/ChallengeDetailComponent-a2-1SXW4.mjs +130 -0
- package/{ChallengeSliderComponent-CeD1p3L6.mjs → ChallengeSliderComponent-Rs05SYDh.mjs} +3 -3
- package/{CommonContentComponent-DPPrx3bD.mjs → CommonContentComponent-DMYED0gU.mjs} +27 -32
- package/{DailyMotion-fLexJPDN.mjs → DailyMotion-_hNQmRIk.mjs} +4 -4
- package/{EngagementHomeComponent-BNU8QZsQ.mjs → EngagementHomeComponent-BdOJMzso.mjs} +5 -4
- package/{EventDetailComponent-Dbdse5St.mjs → EventDetailComponent-Dv5P99jT.mjs} +8 -8
- package/EventListComponent-Dchsfqzz.mjs +82 -0
- package/{Facebook-B5dHT-pV.mjs → Facebook-Brr6zTj8.mjs} +4 -4
- package/{FilePlayer-DvM19mlx.mjs → FilePlayer-hyVP7MCn.mjs} +11 -11
- package/{IndividualChallengeComponent-CS58zTFF.mjs → IndividualChallengeComponent-B_T7b3Ur.mjs} +56 -51
- package/{Kaltura-D6RVtBip.mjs → Kaltura-Dm0iFq0_.mjs} +5 -5
- package/Mapping-jqmNMEpL.mjs +31 -0
- package/{Mixcloud-CAXby0Wn.mjs → Mixcloud-BxCqkqBI.mjs} +5 -5
- package/{Mux-mczERHRU.mjs → Mux-EuvXxP57.mjs} +7 -7
- package/PageComponent-rF8u6X9M.mjs +97 -0
- package/{Preview-DovVCnK6.mjs → Preview-Cn_VJga7.mjs} +6 -6
- package/{RecentCarousel-C_fm1uG1.mjs → RecentCarousel-CTKvh3_T.mjs} +17 -17
- package/{Share-CuYAlNkA.mjs → Share-vHOqy5cA.mjs} +538 -663
- package/{SoundCloud-YLqZjHKm.mjs → SoundCloud-BXf1CmYj.mjs} +2 -2
- package/{Streamable-BGnFDdbJ.mjs → Streamable-CRhFsgCM.mjs} +7 -7
- package/ToggleButton-BjTEhXO6.mjs +60508 -0
- package/{Twitch-FDSz8d9g.mjs → Twitch-C8vuPU3L.mjs} +4 -4
- package/{Vidyard-DoM-iNK7.mjs → Vidyard-BI-z_7aH.mjs} +14 -14
- package/{Vimeo-BAZx0mgo.mjs → Vimeo-Cg66sfnT.mjs} +2 -2
- package/{Wistia-D0CtAbcg.mjs → Wistia-CFM3uvZW.mjs} +5 -5
- package/{YouTube-AKeQPHRd.mjs → YouTube-HRwM8_Rt.mjs} +4 -4
- package/{index-BW7MAuY_.mjs → index-BBX-vK5Q.mjs} +1502 -1550
- package/index-JLQT9i3x.mjs +62 -0
- package/index.mjs +1 -1
- package/lib/Pages/PageComponent.d.ts +2 -0
- package/lib/Pages/PrelemBuilder.d.ts +8 -0
- package/lib/services/fetchQueries.d.ts +1 -1
- package/lib/utils/Mapping.d.ts +20 -0
- package/lib/utils/componentMapping.d.ts +1 -0
- package/lib/utils/constants.d.ts +24 -0
- package/lib/utils/helper.d.ts +34 -0
- package/{mutateApi-UtIkY8_8.mjs → mutateApi-C3NgPEmY.mjs} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/ChallengeDetailComponent-C6lsSLpA.mjs +0 -107
- package/EventList-BYF03nEh.mjs +0 -220136
- package/EventListComponent-BJ3sTQ_I.mjs +0 -79
- package/index-B0kXOAse.mjs +0 -19
- package/lib/Components/EventDetails/EventDetailComponent.d.ts +0 -1
- package/lib/Components/EventDetails/index.d.ts +0 -2
- package/lib/Components/EventList/EventListComponent.d.ts +0 -2
- package/lib/Components/EventList/index.d.ts +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as w } from "./index-BBX-vK5Q.mjs";
|
|
2
2
|
import D from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { y as C, z as N } from "./ToggleButton-BjTEhXO6.mjs";
|
|
4
4
|
function I(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -108,10 +108,10 @@ class h extends y.Component {
|
|
|
108
108
|
o(h, "displayName", "Twitch");
|
|
109
109
|
o(h, "canPlay", u.canPlay.twitch);
|
|
110
110
|
o(h, "loopOnEnded", !0);
|
|
111
|
-
const W = /* @__PURE__ */ w(P),
|
|
111
|
+
const W = /* @__PURE__ */ w(P), k = /* @__PURE__ */ I({
|
|
112
112
|
__proto__: null,
|
|
113
113
|
default: W
|
|
114
114
|
}, [P]);
|
|
115
115
|
export {
|
|
116
|
-
|
|
116
|
+
k as T
|
|
117
117
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g } from "./index-
|
|
1
|
+
import { m as g } from "./index-BBX-vK5Q.mjs";
|
|
2
2
|
import v from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { y as b, z as O } from "./ToggleButton-BjTEhXO6.mjs";
|
|
4
4
|
function V(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const o = e[r];
|
|
@@ -34,13 +34,13 @@ var D = Object.create, n = Object.defineProperty, j = Object.getOwnPropertyDescr
|
|
|
34
34
|
t
|
|
35
35
|
)), E = (t) => h(n({}, "__esModule", { value: !0 }), t), s = (t, e, r) => (A(t, typeof e != "symbol" ? e + "" : e, r), r), _ = {};
|
|
36
36
|
L(_, {
|
|
37
|
-
default: () =>
|
|
37
|
+
default: () => y
|
|
38
38
|
});
|
|
39
|
-
var f = E(_), c = R(v),
|
|
39
|
+
var f = E(_), c = R(v), d = b, m = O;
|
|
40
40
|
const C = "https://play.vidyard.com/embed/v4.js", N = "VidyardV4", x = "onVidyardAPI";
|
|
41
|
-
class
|
|
41
|
+
class y extends c.Component {
|
|
42
42
|
constructor() {
|
|
43
|
-
super(...arguments), s(this, "callPlayer",
|
|
43
|
+
super(...arguments), s(this, "callPlayer", d.callPlayer), s(this, "mute", () => {
|
|
44
44
|
this.setVolume(0);
|
|
45
45
|
}), s(this, "unmute", () => {
|
|
46
46
|
this.props.volume !== null && this.setVolume(this.props.volume);
|
|
@@ -52,10 +52,10 @@ class d extends c.Component {
|
|
|
52
52
|
this.props.onMount && this.props.onMount(this);
|
|
53
53
|
}
|
|
54
54
|
load(e) {
|
|
55
|
-
const { playing: r, config: o, onError: a, onDuration: i } = this.props, l = e && e.match(
|
|
56
|
-
this.player && this.stop(), (0,
|
|
57
|
-
this.container && (p.api.addReadyListener((u,
|
|
58
|
-
this.player || (this.player =
|
|
55
|
+
const { playing: r, config: o, onError: a, onDuration: i } = this.props, l = e && e.match(m.MATCH_URL_VIDYARD)[1];
|
|
56
|
+
this.player && this.stop(), (0, d.getSDK)(C, N, x).then((p) => {
|
|
57
|
+
this.container && (p.api.addReadyListener((u, P) => {
|
|
58
|
+
this.player || (this.player = P, this.player.on("ready", this.props.onReady), this.player.on("play", this.props.onPlay), this.player.on("pause", this.props.onPause), this.player.on("seek", this.props.onSeek), this.player.on("playerComplete", this.props.onEnded));
|
|
59
59
|
}, l), p.api.renderPlayer({
|
|
60
60
|
uuid: l,
|
|
61
61
|
container: this.container,
|
|
@@ -102,12 +102,12 @@ class d extends c.Component {
|
|
|
102
102
|
return /* @__PURE__ */ c.default.createElement("div", { style: r }, /* @__PURE__ */ c.default.createElement("div", { ref: this.ref }));
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
s(
|
|
106
|
-
s(
|
|
107
|
-
const T = /* @__PURE__ */ g(f),
|
|
105
|
+
s(y, "displayName", "Vidyard");
|
|
106
|
+
s(y, "canPlay", m.canPlay.vidyard);
|
|
107
|
+
const T = /* @__PURE__ */ g(f), B = /* @__PURE__ */ V({
|
|
108
108
|
__proto__: null,
|
|
109
109
|
default: T
|
|
110
110
|
}, [f]);
|
|
111
111
|
export {
|
|
112
|
-
|
|
112
|
+
B as V
|
|
113
113
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as d } from "./index-BBX-vK5Q.mjs";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { y as m, z as _ } from "./ToggleButton-BjTEhXO6.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 {
|
|
1
|
+
import { m as f } from "./index-BBX-vK5Q.mjs";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { y as v, z as w } from "./ToggleButton-BjTEhXO6.mjs";
|
|
4
4
|
function O(t, e) {
|
|
5
5
|
for (var a = 0; a < e.length; a++) {
|
|
6
6
|
const s = e[a];
|
|
@@ -51,8 +51,8 @@ class l extends y.Component {
|
|
|
51
51
|
}
|
|
52
52
|
load(e) {
|
|
53
53
|
const { playing: a, muted: s, controls: r, onReady: o, config: p, onError: b } = this.props;
|
|
54
|
-
(0, c.getSDK)(W, A).then((
|
|
55
|
-
p.customControls && p.customControls.forEach((u) =>
|
|
54
|
+
(0, c.getSDK)(W, A).then((m) => {
|
|
55
|
+
p.customControls && p.customControls.forEach((u) => m.defineControl(u)), window._wq = window._wq || [], window._wq.push({
|
|
56
56
|
id: this.playerID,
|
|
57
57
|
options: {
|
|
58
58
|
autoPlay: a,
|
|
@@ -115,7 +115,7 @@ class l extends y.Component {
|
|
|
115
115
|
n(l, "displayName", "Wistia");
|
|
116
116
|
n(l, "canPlay", P.canPlay.wistia);
|
|
117
117
|
n(l, "loopOnEnded", !0);
|
|
118
|
-
const N = /* @__PURE__ */
|
|
118
|
+
const N = /* @__PURE__ */ f(_), q = /* @__PURE__ */ O({
|
|
119
119
|
__proto__: null,
|
|
120
120
|
default: N
|
|
121
121
|
}, [_]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as U } from "./index-BBX-vK5Q.mjs";
|
|
2
2
|
import I from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { y as L, z as M } from "./ToggleButton-BjTEhXO6.mjs";
|
|
4
4
|
function Y(a, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const o = e[t];
|
|
@@ -37,7 +37,7 @@ x(w, {
|
|
|
37
37
|
default: () => O
|
|
38
38
|
});
|
|
39
39
|
var S = H(w), m = F(I), p = L, D = M;
|
|
40
|
-
const
|
|
40
|
+
const z = "https://www.youtube.com/iframe_api", T = "YT", G = "onYouTubeIframeAPIReady", f = /[?&](?:list|channel)=([a-zA-Z0-9_-]+)/, b = /user\/([a-zA-Z0-9_-]+)\/?/, Q = /youtube-nocookie\.com/, Z = "https://www.youtube-nocookie.com";
|
|
41
41
|
class O extends m.Component {
|
|
42
42
|
constructor() {
|
|
43
43
|
super(...arguments), s(this, "callPlayer", p.callPlayer), s(this, "parsePlaylist", (e) => {
|
|
@@ -96,7 +96,7 @@ class O extends m.Component {
|
|
|
96
96
|
});
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
99
|
-
(0, p.getSDK)(
|
|
99
|
+
(0, p.getSDK)(z, T, G, (c) => c.loaded).then((c) => {
|
|
100
100
|
this.container && (this.player = new c.Player(this.container, {
|
|
101
101
|
width: "100%",
|
|
102
102
|
height: "100%",
|