@platform-x/hcltechx-mfe-wrapper 2.0.26 → 2.0.28
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/{ArticleVodList-5gQ7rM06.mjs → ArticleVodList-B0Wl3DPa.mjs} +24 -24
- package/{ArticleVodListComponent-HdtTTveS.mjs → ArticleVodListComponent-DRnvfloA.mjs} +4 -4
- package/{ChallengeDetailComponent-C8SVL59u.mjs → ChallengeDetailComponent-nY0kxSCj.mjs} +3 -3
- package/{ChallengeSliderComponent-CpVJwnQB.mjs → ChallengeSliderComponent-CafSav9g.mjs} +3 -3
- package/{CommonContentComponent-Bc_dndZE.mjs → CommonContentComponent-D9EZTGht.mjs} +3 -3
- package/{DailyMotion-B_p-K_pC.mjs → DailyMotion-Bj4dX_qE.mjs} +4 -4
- package/{EngagementHomeComponent-BYn8j9dV.mjs → EngagementHomeComponent-B4zM1_Zk.mjs} +3 -3
- package/{EventDetailComponent-wH8YolRp.mjs → EventDetailComponent-DeQ8-Ro1.mjs} +3 -3
- package/{EventList-XrEw9vjE.mjs → EventList-D0X6qfRe.mjs} +153 -157
- package/{EventListComponent-RquJUzmf.mjs → EventListComponent-fj4q7pLm.mjs} +5 -5
- package/ExperienceZone-5ezyZv9w.mjs +140 -0
- package/{ExperienceZoneComponent-BpMPaCen.mjs → ExperienceZoneComponent-DfAnckd5.mjs} +3 -3
- package/{Facebook-pGR2O4G4.mjs → Facebook-BJAkj6r2.mjs} +7 -7
- package/{FilePlayer-m37GIuz9.mjs → FilePlayer-q0JjTcQL.mjs} +6 -6
- package/{FilterModal-OlKd6xsx.mjs → FilterModal-Dy7Yv6hs.mjs} +30 -39
- package/{IndividualChallengeComponent-CjuYQx9h.mjs → IndividualChallengeComponent-CMrwHlO5.mjs} +3 -3
- package/{Kaltura--1WMSsQ4.mjs → Kaltura-BFlpHZ1O.mjs} +5 -5
- package/{Mixcloud-BDSHFA2c.mjs → Mixcloud-Dsf3zYCG.mjs} +5 -5
- package/{Mux-C1zNcmt4.mjs → Mux-EwrSbLcs.mjs} +2 -2
- package/{PageComponent-c9sz3vWl.mjs → PageComponent-Di7_b8pC.mjs} +2 -2
- package/{Preview-CFUgwSmK.mjs → Preview-BGH1v8IH.mjs} +1 -1
- package/{RecentCarousel-BnlqAIIf.mjs → RecentCarousel-DkOl-Wob.mjs} +15 -15
- package/{Share-Bt-ieU7W.mjs → Share-BBW2q8eD.mjs} +21 -21
- package/{SoundCloud-BdDrCmjd.mjs → SoundCloud-jWJPyMSO.mjs} +4 -4
- package/{Streamable-BRjdv982.mjs → Streamable-BbQtlygU.mjs} +10 -10
- package/{ToggleButton-mnzNUTXI.mjs → ToggleButton--pafUgzv.mjs} +71781 -80304
- package/{Twitch-Bp8_il-u.mjs → Twitch-CTveZzgw.mjs} +8 -8
- package/{Vidyard-1Y7pF_Hp.mjs → Vidyard-CZGN4C8k.mjs} +15 -15
- package/{Vimeo-BHrwk_Is.mjs → Vimeo-DRd1yfhE.mjs} +5 -5
- package/{Wistia-BV0cywtK.mjs → Wistia-vTazFBFT.mjs} +2 -2
- package/{YouTube-DSwL7w6j.mjs → YouTube-Cmh0Y95q.mjs} +4 -4
- package/index-DbubROhj.mjs +23360 -0
- package/{index-Cuv-gW_C.mjs → index-_vmNATPz.mjs} +46 -46
- package/index.mjs +1 -1
- package/lib/Components/SkeltonLoaders/ArticleVodList/ArticleVodListSkeltonLoader.d.ts +2 -0
- package/lib/Components/SkeltonLoaders/ArticleVodList/ArticleVodListSkeltonLoader.style.d.ts +2 -0
- package/lib/Components/SkeltonLoaders/ChallengeSlider/ChallengeSliderSkeltonLoader.d.ts +3 -0
- package/lib/Components/SkeltonLoaders/ChallengeSlider/ChallengeSliderSkeltonLoader.style.d.ts +2 -0
- package/lib/Components/SkeltonLoaders/EngagementHome/EngagementHomeLoader.d.ts +3 -0
- package/lib/Components/SkeltonLoaders/EngagementHome/EngagementHomeLoader.style.d.ts +2 -0
- package/lib/Components/SkeltonLoaders/EngagementHome/constants.d.ts +34 -0
- package/lib/Components/SkeltonLoaders/EventList/EventListSkeltonLoader.d.ts +2 -0
- package/lib/Components/SkeltonLoaders/EventList/EventListSkeltonLoader.style.d.ts +2 -0
- package/lib/Components/SkeltonLoaders/ExperienceZone/ExperienceZoneSkeltonLoader.d.ts +3 -0
- package/lib/Components/SkeltonLoaders/ExperienceZone/ExperienceZoneSkeltonLoader.style.d.ts +2 -0
- package/lib/Components/SkeltonLoaders/index.d.ts +4 -0
- package/{mutateApi-OqLf0bkL.mjs → mutateApi-CzICbnP0.mjs} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/ExperienceZone-DL66953J.mjs +0 -151
- package/index-DkY5Qyna.mjs +0 -12617
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as
|
|
1
|
+
import { l as T } from "./index-DbubROhj.mjs";
|
|
2
2
|
import D from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { v as C, w as N } from "./ToggleButton--pafUgzv.mjs";
|
|
4
4
|
function I(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -50,7 +50,7 @@ class h extends y.Component {
|
|
|
50
50
|
this.props.onMount && this.props.onMount(this);
|
|
51
51
|
}
|
|
52
52
|
load(e, r) {
|
|
53
|
-
const { playsinline: s, onError: a, config: n, controls:
|
|
53
|
+
const { playsinline: s, onError: a, config: n, controls: v } = this.props, i = u.MATCH_URL_TWITCH_CHANNEL.test(e), p = i ? e.match(u.MATCH_URL_TWITCH_CHANNEL)[1] : e.match(u.MATCH_URL_TWITCH_VIDEO)[1];
|
|
54
54
|
if (r) {
|
|
55
55
|
i ? this.player.setChannel(p) : this.player.setVideo("v" + p);
|
|
56
56
|
return;
|
|
@@ -65,12 +65,12 @@ class h extends y.Component {
|
|
|
65
65
|
autoplay: this.props.playing,
|
|
66
66
|
muted: this.props.muted,
|
|
67
67
|
// https://github.com/CookPete/react-player/issues/733#issuecomment-549085859
|
|
68
|
-
controls: i ? !0 :
|
|
68
|
+
controls: i ? !0 : v,
|
|
69
69
|
time: (0, c.parseStartTime)(e),
|
|
70
70
|
...n.options
|
|
71
71
|
});
|
|
72
|
-
const { READY:
|
|
73
|
-
this.player.addEventListener(
|
|
72
|
+
const { READY: m, PLAYING: g, PAUSE: E, ENDED: O, ONLINE: L, OFFLINE: b, SEEK: w } = d.Player;
|
|
73
|
+
this.player.addEventListener(m, this.props.onReady), this.player.addEventListener(g, this.props.onPlay), this.player.addEventListener(E, this.props.onPause), this.player.addEventListener(O, this.props.onEnded), this.player.addEventListener(w, this.props.onSeek), this.player.addEventListener(L, this.props.onLoaded), this.player.addEventListener(b, this.props.onLoaded);
|
|
74
74
|
}, a);
|
|
75
75
|
}
|
|
76
76
|
play() {
|
|
@@ -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__ */
|
|
111
|
+
const W = /* @__PURE__ */ T(P), z = /* @__PURE__ */ I({
|
|
112
112
|
__proto__: null,
|
|
113
113
|
default: W
|
|
114
114
|
}, [P]);
|
|
115
115
|
export {
|
|
116
|
-
|
|
116
|
+
z as T
|
|
117
117
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { l as v } from "./index-DbubROhj.mjs";
|
|
2
|
+
import g from "react";
|
|
3
|
+
import { v as b, w as O } from "./ToggleButton--pafUgzv.mjs";
|
|
4
4
|
function V(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const o = e[r];
|
|
@@ -17,13 +17,13 @@ function V(t, e) {
|
|
|
17
17
|
}
|
|
18
18
|
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
19
19
|
}
|
|
20
|
-
var D = Object.create, n = Object.defineProperty,
|
|
20
|
+
var D = Object.create, n = Object.defineProperty, w = Object.getOwnPropertyDescriptor, j = Object.getOwnPropertyNames, S = Object.getPrototypeOf, M = Object.prototype.hasOwnProperty, A = (t, e, r) => e in t ? n(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, L = (t, e) => {
|
|
21
21
|
for (var r in e)
|
|
22
22
|
n(t, r, { get: e[r], enumerable: !0 });
|
|
23
23
|
}, h = (t, e, r, o) => {
|
|
24
24
|
if (e && typeof e == "object" || typeof e == "function")
|
|
25
|
-
for (let a of
|
|
26
|
-
!M.call(t, a) && a !== r && n(t, a, { get: () => e[a], enumerable: !(o =
|
|
25
|
+
for (let a of j(e))
|
|
26
|
+
!M.call(t, a) && a !== r && n(t, a, { get: () => e[a], enumerable: !(o = w(e, a)) || o.enumerable });
|
|
27
27
|
return t;
|
|
28
28
|
}, R = (t, e, r) => (r = t != null ? D(S(t)) : {}, h(
|
|
29
29
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
@@ -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: () => d
|
|
38
38
|
});
|
|
39
|
-
var f = E(_), c = R(
|
|
39
|
+
var f = E(_), c = R(g), y = b, P = O;
|
|
40
40
|
const C = "https://play.vidyard.com/embed/v4.js", N = "VidyardV4", x = "onVidyardAPI";
|
|
41
|
-
class
|
|
41
|
+
class d extends c.Component {
|
|
42
42
|
constructor() {
|
|
43
|
-
super(...arguments), s(this, "callPlayer",
|
|
43
|
+
super(...arguments), s(this, "callPlayer", y.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);
|
|
@@ -53,7 +53,7 @@ class y extends c.Component {
|
|
|
53
53
|
}
|
|
54
54
|
load(e) {
|
|
55
55
|
const { playing: r, config: o, onError: a, onDuration: i } = this.props, l = e && e.match(P.MATCH_URL_VIDYARD)[1];
|
|
56
|
-
this.player && this.stop(), (0,
|
|
56
|
+
this.player && this.stop(), (0, y.getSDK)(C, N, x).then((p) => {
|
|
57
57
|
this.container && (p.api.addReadyListener((u, m) => {
|
|
58
58
|
this.player || (this.player = m, 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({
|
|
@@ -102,12 +102,12 @@ class y 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__ */
|
|
105
|
+
s(d, "displayName", "Vidyard");
|
|
106
|
+
s(d, "canPlay", P.canPlay.vidyard);
|
|
107
|
+
const T = /* @__PURE__ */ v(f), F = /* @__PURE__ */ V({
|
|
108
108
|
__proto__: null,
|
|
109
109
|
default: T
|
|
110
110
|
}, [f]);
|
|
111
111
|
export {
|
|
112
|
-
|
|
112
|
+
F as V
|
|
113
113
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as d } from "./index-
|
|
1
|
+
import { l as d } from "./index-DbubROhj.mjs";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { v as m, w as _ } from "./ToggleButton--pafUgzv.mjs";
|
|
4
4
|
function P(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const a = e[r];
|
|
@@ -17,13 +17,13 @@ function P(t, e) {
|
|
|
17
17
|
}
|
|
18
18
|
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
19
19
|
}
|
|
20
|
-
var g = Object.create, n = Object.defineProperty, b = Object.getOwnPropertyDescriptor, v = Object.getOwnPropertyNames, O = Object.getPrototypeOf,
|
|
20
|
+
var g = Object.create, n = Object.defineProperty, b = Object.getOwnPropertyDescriptor, v = Object.getOwnPropertyNames, O = Object.getPrototypeOf, w = Object.prototype.hasOwnProperty, D = (t, e, r) => e in t ? n(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, M = (t, e) => {
|
|
21
21
|
for (var r in e)
|
|
22
22
|
n(t, r, { get: e[r], enumerable: !0 });
|
|
23
23
|
}, h = (t, e, r, a) => {
|
|
24
24
|
if (e && typeof e == "object" || typeof e == "function")
|
|
25
25
|
for (let s of v(e))
|
|
26
|
-
!
|
|
26
|
+
!w.call(t, s) && s !== r && n(t, s, { get: () => e[s], enumerable: !(a = b(e, s)) || a.enumerable });
|
|
27
27
|
return t;
|
|
28
28
|
}, j = (t, e, r) => (r = t != null ? g(O(t)) : {}, h(
|
|
29
29
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
@@ -32,7 +32,7 @@ var g = Object.create, n = Object.defineProperty, b = Object.getOwnPropertyDescr
|
|
|
32
32
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
33
33
|
!t || !t.__esModule ? n(r, "default", { value: t, enumerable: !0 }) : r,
|
|
34
34
|
t
|
|
35
|
-
)), L = (t) => h(n({}, "__esModule", { value: !0 }), t), i = (t, e, r) => (
|
|
35
|
+
)), L = (t) => h(n({}, "__esModule", { value: !0 }), t), i = (t, e, r) => (D(t, typeof e != "symbol" ? e + "" : e, r), r), c = {};
|
|
36
36
|
M(c, {
|
|
37
37
|
default: () => l
|
|
38
38
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as m } from "./index-
|
|
1
|
+
import { l as m } from "./index-DbubROhj.mjs";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { v, w } from "./ToggleButton--pafUgzv.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 { l as U } from "./index-
|
|
1
|
+
import { l as U } from "./index-DbubROhj.mjs";
|
|
2
2
|
import I from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { v as L, w as M } from "./ToggleButton--pafUgzv.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 G = "https://www.youtube.com/iframe_api", T = "YT", z = "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)(G, T, z, (c) => c.loaded).then((c) => {
|
|
100
100
|
this.container && (this.player = new c.Player(this.container, {
|
|
101
101
|
width: "100%",
|
|
102
102
|
height: "100%",
|