@platform-x/hcltechx-mfe-wrapper 1.0.22 → 1.0.23

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 (45) hide show
  1. package/ArticleVodListComponent-B13nOAHm.mjs +36 -0
  2. package/{ChallengeDetailComponent-BQOqyQe4.mjs → ChallengeDetailComponent-eCWonz4X.mjs} +61 -53
  3. package/ChallengeSliderComponent-d4VVvxbZ.mjs +93 -0
  4. package/CommonContentComponent-6oOYYwHd.mjs +81 -0
  5. package/{DailyMotion-BttO0I0C.mjs → DailyMotion-C0EcZJX2.mjs} +2 -2
  6. package/EngagementHomeComponent-DLLaxG3f.mjs +120 -0
  7. package/{EventDetailComponent-BlbyfC5O.mjs → EventDetailComponent-XKyLFMdx.mjs} +54 -46
  8. package/EventListComponent-atyam6Il.mjs +90 -0
  9. package/ExperienceZone-C3pb2ftT.mjs +132 -0
  10. package/ExperienceZoneComponent-OQKzzWTq.mjs +56 -0
  11. package/{Facebook-BhbZsSMB.mjs → Facebook-NEdjRx3Y.mjs} +2 -2
  12. package/{FilePlayer-DBOphwby.mjs → FilePlayer-C38ReldQ.mjs} +2 -2
  13. package/IndividualChallengeComponent-CRf_V_Tt.mjs +198 -0
  14. package/{Kaltura-DkAlATL_.mjs → Kaltura-B7p2oI0M.mjs} +2 -2
  15. package/{Mixcloud-CguOqMm8.mjs → Mixcloud-c2NEtTRK.mjs} +2 -2
  16. package/{Mux-D6PeF7j6.mjs → Mux-CQMD2dJX.mjs} +2 -2
  17. package/PageComponent-BEgpO1AP.mjs +92 -0
  18. package/{Preview-9xbWxXDK.mjs → Preview-CFQxRzbQ.mjs} +1 -1
  19. package/RecentCarousel-D_0jaVP1.mjs +340 -0
  20. package/Share-CkEOnac8.mjs +2140 -0
  21. package/{SoundCloud-CZ-yrJeU.mjs → SoundCloud-JBRcYad3.mjs} +10 -10
  22. package/{Streamable-CnJYyZu0.mjs → Streamable-CANteIE2.mjs} +19 -19
  23. package/{ToggleButton-8IOlYjrU.mjs → ToggleButton-Czdz0-6I.mjs} +88109 -78947
  24. package/{Twitch-DvDm30_Y.mjs → Twitch-sg7Li74z.mjs} +2 -2
  25. package/{Vidyard-CxuW7iGh.mjs → Vidyard-CVzB2oJ_.mjs} +2 -2
  26. package/{Vimeo-BkQKIRE4.mjs → Vimeo-Bfj3B_wY.mjs} +2 -2
  27. package/{Wistia-CQeoZyhr.mjs → Wistia-eytGmvyf.mjs} +12 -12
  28. package/{YouTube-DOOQlFVu.mjs → YouTube-B536yAUn.mjs} +2 -2
  29. package/{index-BPqB2yy1.mjs → index-6HCIStyP.mjs} +4487 -3213
  30. package/{index-BQE4JEea.mjs → index-C0IB0ocK.mjs} +4 -4
  31. package/index.mjs +2 -2
  32. package/lib/services/fetchQueries.d.ts +1 -1
  33. package/{mutateApi-BcmEMqEd.mjs → mutateApi-FU_0iEJ8.mjs} +1 -1
  34. package/package.json +1 -1
  35. package/ArticleVodListComponent-DnI80nGq.mjs +0 -28
  36. package/ChallengeSliderComponent-DVyhqNVQ.mjs +0 -85
  37. package/CommonContentComponent-Hnb8Xr5I.mjs +0 -73
  38. package/EngagementHomeComponent-LYRrGICV.mjs +0 -112
  39. package/EventListComponent-B39xrxgu.mjs +0 -82
  40. package/ExperienceZone-Bhkjbth9.mjs +0 -89
  41. package/ExperienceZoneComponent-F16DcM9H.mjs +0 -48
  42. package/IndividualChallengeComponent-BJ5RfzMH.mjs +0 -190
  43. package/PageComponent-CLrj-Wc_.mjs +0 -64
  44. package/RecentCarousel-D6dx6TIr.mjs +0 -245
  45. package/Share-DQnAo1oF.mjs +0 -1780
@@ -1,14 +1,14 @@
1
- import { n as P } from "./index-BPqB2yy1.mjs";
1
+ import { o as P } from "./index-6HCIStyP.mjs";
2
2
  import g from "react";
3
- import { y as b, z as v } from "./ToggleButton-8IOlYjrU.mjs";
3
+ import { y as b, z as v } from "./ToggleButton-Czdz0-6I.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 a = Object.getOwnPropertyDescriptor(s, o);
11
- a && Object.defineProperty(t, o, a.get ? a : {
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: a, PAUSE: _, FINISH: y, ERROR: m } = s.Widget.Events;
58
+ const { PLAY: o, PLAY_PROGRESS: n, PAUSE: _, FINISH: y, ERROR: m } = 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(a, (n) => {
62
- this.currentTime = n.currentPosition / 1e3, this.fractionLoaded = n.loadedProgress;
63
- }), this.player.bind(y, () => this.props.onEnded()), this.player.bind(m, (n) => this.props.onError(n))), this.player.load(e, {
61
+ }), this.player.bind(n, (a) => {
62
+ this.currentTime = a.currentPosition / 1e3, this.fractionLoaded = a.loadedProgress;
63
+ }), this.player.bind(y, () => this.props.onEnded()), this.player.bind(m, (a) => this.props.onError(a))), this.player.load(e, {
64
64
  ...this.props.config.options,
65
65
  callback: () => {
66
- this.player.getDuration((n) => {
67
- this.duration = n / 1e3, this.props.onReady();
66
+ this.player.getDuration((a) => {
67
+ this.duration = a / 1e3, this.props.onReady();
68
68
  });
69
69
  }
70
70
  });
@@ -1,16 +1,16 @@
1
- import { n as m } from "./index-BPqB2yy1.mjs";
1
+ import { o as m } from "./index-6HCIStyP.mjs";
2
2
  import f from "react";
3
- import { y as _, z as b } from "./ToggleButton-8IOlYjrU.mjs";
3
+ import { y as _, z as b } from "./ToggleButton-Czdz0-6I.mjs";
4
4
  function P(t, e) {
5
5
  for (var r = 0; r < e.length; r++) {
6
- const s = e[r];
7
- if (typeof s != "string" && !Array.isArray(s)) {
8
- for (const a in s)
6
+ const o = e[r];
7
+ if (typeof o != "string" && !Array.isArray(o)) {
8
+ for (const a in o)
9
9
  if (a !== "default" && !(a in t)) {
10
- const i = Object.getOwnPropertyDescriptor(s, a);
10
+ const i = Object.getOwnPropertyDescriptor(o, a);
11
11
  i && Object.defineProperty(t, a, i.get ? i : {
12
12
  enumerable: !0,
13
- get: () => s[a]
13
+ get: () => o[a]
14
14
  });
15
15
  }
16
16
  }
@@ -20,10 +20,10 @@ function P(t, e) {
20
20
  var g = Object.create, l = Object.defineProperty, v = Object.getOwnPropertyDescriptor, O = Object.getOwnPropertyNames, S = Object.getPrototypeOf, j = Object.prototype.hasOwnProperty, L = (t, e, r) => e in t ? l(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, w = (t, e) => {
21
21
  for (var r in e)
22
22
  l(t, r, { get: e[r], enumerable: !0 });
23
- }, c = (t, e, r, s) => {
23
+ }, c = (t, e, r, o) => {
24
24
  if (e && typeof e == "object" || typeof e == "function")
25
25
  for (let a of O(e))
26
- !j.call(t, a) && a !== r && l(t, a, { get: () => e[a], enumerable: !(s = v(e, a)) || s.enumerable });
26
+ !j.call(t, a) && a !== r && l(t, a, { get: () => e[a], enumerable: !(o = v(e, a)) || o.enumerable });
27
27
  return t;
28
28
  }, M = (t, e, r) => (r = t != null ? g(S(t)) : {}, c(
29
29
  // If the importer is in node compatibility mode or this is not an ESM
@@ -32,7 +32,7 @@ var g = Object.create, l = Object.defineProperty, v = Object.getOwnPropertyDescr
32
32
  // "default" to the CommonJS "module.exports" for node compatibility.
33
33
  !t || !t.__esModule ? l(r, "default", { value: t, enumerable: !0 }) : r,
34
34
  t
35
- )), D = (t) => c(l({}, "__esModule", { value: !0 }), t), o = (t, e, r) => (L(t, typeof e != "symbol" ? e + "" : e, r), r), h = {};
35
+ )), D = (t) => c(l({}, "__esModule", { value: !0 }), t), s = (t, e, r) => (L(t, typeof e != "symbol" ? e + "" : e, r), r), h = {};
36
36
  w(h, {
37
37
  default: () => n
38
38
  });
@@ -40,11 +40,11 @@ var y = D(h), p = M(f), u = _, d = b;
40
40
  const T = "https://cdn.embed.ly/player-0.1.0.min.js", E = "playerjs";
41
41
  class n extends p.Component {
42
42
  constructor() {
43
- super(...arguments), o(this, "callPlayer", u.callPlayer), o(this, "duration", null), o(this, "currentTime", null), o(this, "secondsLoaded", null), o(this, "mute", () => {
43
+ super(...arguments), s(this, "callPlayer", u.callPlayer), s(this, "duration", null), s(this, "currentTime", null), s(this, "secondsLoaded", null), s(this, "mute", () => {
44
44
  this.callPlayer("mute");
45
- }), o(this, "unmute", () => {
45
+ }), s(this, "unmute", () => {
46
46
  this.callPlayer("unmute");
47
- }), o(this, "ref", (e) => {
47
+ }), s(this, "ref", (e) => {
48
48
  this.iframe = e;
49
49
  });
50
50
  }
@@ -53,10 +53,10 @@ class n extends p.Component {
53
53
  }
54
54
  load(e) {
55
55
  (0, u.getSDK)(T, E).then((r) => {
56
- this.iframe && (this.player = new r.Player(this.iframe), this.player.setLoop(this.props.loop), this.player.on("ready", this.props.onReady), this.player.on("play", this.props.onPlay), this.player.on("pause", this.props.onPause), this.player.on("seeked", this.props.onSeek), this.player.on("ended", this.props.onEnded), this.player.on("error", this.props.onError), this.player.on("timeupdate", ({ duration: s, seconds: a }) => {
57
- this.duration = s, this.currentTime = a;
58
- }), this.player.on("buffered", ({ percent: s }) => {
59
- this.duration && (this.secondsLoaded = this.duration * s);
56
+ this.iframe && (this.player = new r.Player(this.iframe), this.player.setLoop(this.props.loop), this.player.on("ready", this.props.onReady), this.player.on("play", this.props.onPlay), this.player.on("pause", this.props.onPause), this.player.on("seeked", this.props.onSeek), this.player.on("ended", this.props.onEnded), this.player.on("error", this.props.onError), this.player.on("timeupdate", ({ duration: o, seconds: a }) => {
57
+ this.duration = o, this.currentTime = a;
58
+ }), this.player.on("buffered", ({ percent: o }) => {
59
+ this.duration && (this.secondsLoaded = this.duration * o);
60
60
  }), this.props.muted && this.player.mute());
61
61
  }, this.props.onError);
62
62
  }
@@ -104,8 +104,8 @@ class n extends p.Component {
104
104
  );
105
105
  }
106
106
  }
107
- o(n, "displayName", "Streamable");
108
- o(n, "canPlay", d.canPlay.streamable);
107
+ s(n, "displayName", "Streamable");
108
+ s(n, "canPlay", d.canPlay.streamable);
109
109
  const A = /* @__PURE__ */ m(y), R = /* @__PURE__ */ P({
110
110
  __proto__: null,
111
111
  default: A