@platform-x/hcltechx-mfe-wrapper 1.0.20 → 1.0.21

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 (34) hide show
  1. package/{ArticleVodListComponent-CHnqag9b.mjs → ArticleVodListComponent-BQoHiiKQ.mjs} +2 -2
  2. package/{ChallengeDetailComponent-BmeP6FZ1.mjs → ChallengeDetailComponent-CTXOkTDi.mjs} +3 -3
  3. package/{ChallengeSliderComponent-CPdxf7-q.mjs → ChallengeSliderComponent-CAcMNlqM.mjs} +3 -3
  4. package/{CommonContentComponent-8JPy8nJ6.mjs → CommonContentComponent-GDoe3quI.mjs} +3 -3
  5. package/{DailyMotion-D8UIGIEl.mjs → DailyMotion-DooEv23f.mjs} +2 -2
  6. package/{EngagementHomeComponent-CVGzWcc7.mjs → EngagementHomeComponent-0FR59glv.mjs} +3 -3
  7. package/{EventDetailComponent-tRaFnwYj.mjs → EventDetailComponent-B2ce5Inr.mjs} +3 -3
  8. package/{EventListComponent-CKLSWeDv.mjs → EventListComponent-B9ESwYEK.mjs} +3 -3
  9. package/{Facebook-BLCOUjfZ.mjs → Facebook-Ddts7n8c.mjs} +4 -4
  10. package/{FilePlayer-D68wVaHK.mjs → FilePlayer-N6K4OsOh.mjs} +8 -8
  11. package/{IndividualChallengeComponent-gUfQv-rL.mjs → IndividualChallengeComponent-o7jJX3FB.mjs} +3 -3
  12. package/{Kaltura-PX7BhLfz.mjs → Kaltura-DGdbSKVx.mjs} +3 -3
  13. package/{Mixcloud-B7Af0Mn0.mjs → Mixcloud-MVWAMQDg.mjs} +2 -2
  14. package/{Mux-1HZ1W-lE.mjs → Mux-BnTfpN-K.mjs} +7 -7
  15. package/PageComponent-CKrjcuSx.mjs +64 -0
  16. package/{Preview-nCs4zsNM.mjs → Preview-DzLPSp_r.mjs} +6 -6
  17. package/{RecentCarousel-B42bOjYP.mjs → RecentCarousel-Cl86PKoA.mjs} +2 -2
  18. package/{Share-B0TMKNSe.mjs → Share-D0aSQ9zk.mjs} +2 -2
  19. package/{SoundCloud-EUx8hlx1.mjs → SoundCloud-CyoxvKoN.mjs} +10 -10
  20. package/{Streamable-By-i7qcF.mjs → Streamable-mIh-PEmg.mjs} +2 -2
  21. package/{ToggleButton--p_geS1j.mjs → ToggleButton-DCe4d9MJ.mjs} +31 -31
  22. package/{Twitch-CJ3aP-xV.mjs → Twitch-BOWa3Tr1.mjs} +2 -2
  23. package/{Vidyard-DXacKBYx.mjs → Vidyard-qNmM07ku.mjs} +7 -7
  24. package/{Vimeo-B6cLX7vD.mjs → Vimeo-CCvDAdIG.mjs} +2 -2
  25. package/{Wistia-DtFJL0ep.mjs → Wistia-shaJ3dVi.mjs} +5 -5
  26. package/{YouTube-i5y4gwEO.mjs → YouTube-B-4Esa0L.mjs} +2 -2
  27. package/{index-Cs-Nr3u2.mjs → index-CeTmWGyC.mjs} +1562 -1521
  28. package/{index-CPQ9TrZQ.mjs → index-Di95Ywjp.mjs} +2 -2
  29. package/index.mjs +1 -1
  30. package/lib/utils/constants.d.ts +1 -0
  31. package/lib/utils/helper.d.ts +1 -0
  32. package/{mutateApi-D7sw1yK3.mjs → mutateApi-CRYclteK.mjs} +1 -1
  33. package/package.json +1 -1
  34. package/PageComponent-BSP0QUvr.mjs +0 -97
@@ -1,7 +1,7 @@
1
- import { J as t, F as o, A as n, K as d, M as c, N as P, b as _, C as S, O as g, R as u, S as v, a as C, c as h, E as p, U as y, W as V, X as W, Y as A, I as B, Z as F, G as D, _ as T, $ as E, Q as x, a0 as H, a1 as I, a2 as L, a3 as f, a4 as U, a5 as q, a6 as w, H as M } from "./ToggleButton--p_geS1j.mjs";
1
+ import { J as t, F as o, A as n, K as d, M as c, N as P, b as _, C as S, O as g, R as u, S as v, a as C, c as h, E as p, U as y, W as V, X as W, Y as A, I as B, Z as F, G as D, _ as T, $ as E, Q as x, a0 as H, a1 as I, a2 as L, a3 as f, a4 as U, a5 as q, a6 as w, H as M } from "./ToggleButton-DCe4d9MJ.mjs";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
- import "./index-Cs-Nr3u2.mjs";
4
+ import "./index-CeTmWGyC.mjs";
5
5
  import "react-dom";
6
6
  const i = {
7
7
  Prelem_025: "Banner3",
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a8 as t, a9 as m } from "./index-Cs-Nr3u2.mjs";
1
+ import { a8 as t, a9 as m } from "./index-CeTmWGyC.mjs";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  import "react-dom";
@@ -30,6 +30,7 @@ export declare const CONSTANTS: {
30
30
  environment: string;
31
31
  mainSellerHost: string;
32
32
  rpiApiUrl: string;
33
+ rpiClinetId: string;
33
34
  language: string;
34
35
  query: string;
35
36
  };
@@ -32,3 +32,4 @@ export declare const secondaryPropsObj: (host: any) => {
32
32
  gcpUrl: string;
33
33
  bucketName: string;
34
34
  };
35
+ export declare const getUserInfo: (key: any) => any;
@@ -1,4 +1,4 @@
1
- import { b as s } from "./index-Cs-Nr3u2.mjs";
1
+ import { b as s } from "./index-CeTmWGyC.mjs";
2
2
  const u = `mutation ($input: community_userRegistrationInput) {
3
3
  community_userRegistration(input: $input) {
4
4
  id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-x/hcltechx-mfe-wrapper",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -1,97 +0,0 @@
1
- import { jsx as t, Fragment as f } from "react/jsx-runtime";
2
- import { C as e } from "./index-Cs-Nr3u2.mjs";
3
- import T from "react";
4
- import { M as E } from "./Mapping-jqmNMEpL.mjs";
5
- import "react-dom";
6
- const v = (l) => ({
7
- pageImpressionSchema: e.pageImpressionSchema,
8
- prelemImpressionSchema: e.prelemImpressionSchema,
9
- clickImpressionSchema: e.clickImpressionSchema,
10
- userRegisterImpressionSchema: e.userRegisterImpressionSchema,
11
- environment: e.environment,
12
- prelemBaseEndpoint: {
13
- APIEndPoint: e.APIEndPoint,
14
- PublishEndPoint: `https://${l}`,
15
- buttonBaseUrl: `https://${l}`,
16
- deliveryEndPoint: e.deliveryEndPoint,
17
- deliveryEndPointGq: e.deliveryEndPointGq,
18
- usersEndPoint: e.usersEndPoint,
19
- blogEndPoint: e.blogEndPoint,
20
- loyaltyEndPoint: e.loyaltyEndPoint,
21
- loyaltyPortalEndPoint: e.loyaltyPortalEndPoint,
22
- rpiUrl: e.rpiUrl,
23
- rpiClientID: e.rpiClientID,
24
- rpiAuthKey: e.rpiAuthKey,
25
- rpiPublishID: e.rpiPublishID,
26
- rpiViewName: e.rpiViewName,
27
- site_host: l,
28
- sitehost: l,
29
- language: e.language,
30
- query: e.query
31
- },
32
- sitename: l,
33
- isEditorJSEnable: !0,
34
- mainSellerHost: e.mainSellerHost,
35
- rpiApiUrl: e.rpiApiUrl,
36
- rpiClinetId: e.rpiClientID,
37
- gcpUrl: e.gcpUrl,
38
- bucketName: e.bucketName
39
- }), d = {};
40
- Object.keys(E).forEach((l) => (d[l] = T.lazy(
41
- () => import("./index-CPQ9TrZQ.mjs").then((n) => ({
42
- default: n[E[l]]
43
- }))
44
- ), d));
45
- const C = ({ content: l, analytics: n, authoringHelper: p, secondaryArgs: c, prelemId: o }) => {
46
- const i = d[o];
47
- return /* @__PURE__ */ t(f, { children: i ? /* @__PURE__ */ t(
48
- i,
49
- {
50
- content: l,
51
- analytics: n,
52
- authoringHelper: p,
53
- secondaryArgs: c
54
- }
55
- ) : null });
56
- }, q = (l = {}) => {
57
- const { pageData: n = {}, instances: p = {}, secondaryArgs: c = {} } = l, { Children: o = [] } = n, {
58
- prelemBaseEndpoint: { site_host: i }
59
- } = c, h = (r, s) => s[r], I = () => o == null ? void 0 : o.map((r, s) => {
60
- var P, u, g, m, y;
61
- try {
62
- const a = h(r == null ? void 0 : r.DocumentPath, n == null ? void 0 : n.Content), b = !!(n != null && n.AnalyticsEnable && (r != null && r.AnalyticsEnabled) && ((P = Object.keys(p || {})) != null && P.length)), S = {
63
- pageId: n == null ? void 0 : n.Page,
64
- pageTitle: n == null ? void 0 : n.Title,
65
- pageDesc: ((u = n == null ? void 0 : n.PageSettings) == null ? void 0 : u.PageDescription) || "",
66
- pageTags: (m = (g = n == null ? void 0 : n.PageSettings) == null ? void 0 : g.PageTags) == null ? void 0 : m.join(", "),
67
- prelemId: r == null ? void 0 : r.PrelemId,
68
- prelemTitle: r == null ? void 0 : r.PrelemName,
69
- prelemTags: (y = r == null ? void 0 : r.PrelemTag) == null ? void 0 : y.join(", "),
70
- prelemPosition: s + 1,
71
- isAuthoring: !1,
72
- isSeoEnabled: r == null ? void 0 : r.SeoEnabled,
73
- isAnalyticsEnabled: b
74
- }, A = {
75
- isEditPage: !1,
76
- isModalShow: !0
77
- // innerRef: myRefs.current[key + 1],
78
- };
79
- return /* @__PURE__ */ t("div", { id: `Prelem${s + 1}`, children: a ? /* @__PURE__ */ t(
80
- C,
81
- {
82
- content: a,
83
- analytics: S,
84
- authoringHelper: A,
85
- secondaryArgs: { ...v(i) },
86
- prelemId: r == null ? void 0 : r.PrelemId
87
- }
88
- ) : null }, `Prelem-key${s + 1}`);
89
- } catch {
90
- return null;
91
- }
92
- });
93
- return /* @__PURE__ */ t("div", { children: (o == null ? void 0 : o.length) > 0 ? I() : null });
94
- };
95
- export {
96
- q as default
97
- };