@platform-x/hcltechx-mfe-wrapper 1.0.0 → 1.0.1

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 (44) hide show
  1. package/ArticleVodListComponent-labwXONw.mjs +39 -0
  2. package/ChallengeDetailComponent-B0mhcUHW.mjs +118 -0
  3. package/CommonContentComponent-XIY0Eqyp.mjs +86 -0
  4. package/{DailyMotion-Pq0OS_nv.mjs → DailyMotion-Bh6b_1ls.mjs} +2 -2
  5. package/EngagementHomeComponent-DUWRp7Rk.mjs +99 -0
  6. package/EventDetailComponent-DZHIR5sb.mjs +103 -0
  7. package/EventList-CrFIwonY.mjs +32151 -0
  8. package/{EventListComponent-SpgarpPb.mjs → EventListComponent-D8VOmErB.mjs} +42 -34
  9. package/{Facebook-DVoDyq2n.mjs → Facebook-r_ieGEWi.mjs} +2 -2
  10. package/{FilePlayer-TBmUK03G.mjs → FilePlayer-DPtnkI4h.mjs} +2 -2
  11. package/{Kaltura-CLaSL9Gw.mjs → Kaltura-Clw99-2t.mjs} +2 -2
  12. package/{Mixcloud-BIUEG_vf.mjs → Mixcloud-BQqSy7W9.mjs} +2 -2
  13. package/{Mux-D2H0Zcnl.mjs → Mux-C9Horywf.mjs} +2 -2
  14. package/{Preview-CqNeXEJq.mjs → Preview-BJ-Gf50H.mjs} +1 -1
  15. package/RecentCarousel-DXczqGTg.mjs +345 -0
  16. package/Share-841HxAfy.mjs +2603 -0
  17. package/{SoundCloud-CL3-ElQD.mjs → SoundCloud-UekA8rWW.mjs} +2 -2
  18. package/{Streamable-B6PCkCf3.mjs → Streamable-DlIJ8RtX.mjs} +2 -2
  19. package/{Twitch-T-goXjKL.mjs → Twitch-CvJR_NQ9.mjs} +2 -2
  20. package/{Vidyard-D8-XmjAR.mjs → Vidyard-Lj1xUYwG.mjs} +2 -2
  21. package/{Vimeo-jej0FY4O.mjs → Vimeo-CwmHUqrS.mjs} +2 -2
  22. package/{Wistia-CPzm8ZXT.mjs → Wistia-DdGRHB57.mjs} +2 -2
  23. package/{YouTube-VNohNZKu.mjs → YouTube-gou2t6Mz.mjs} +2 -2
  24. package/index-BgFUpOs6.mjs +21 -0
  25. package/{index-Dluh6sv-.mjs → index-DmoNrWks.mjs} +2359 -1510
  26. package/index.mjs +2 -2
  27. package/lib/login.d.ts +0 -0
  28. package/lib/prelems/Components/ArticleVodListComponent.d.ts +10 -0
  29. package/lib/services/fetchApi.d.ts +4 -3
  30. package/lib/services/fetchQueries.d.ts +3 -2
  31. package/lib/ssoLogin.d.ts +9 -0
  32. package/lib/utils/componentMapping.d.ts +5 -4
  33. package/{mutateApi-DOEWbC_3.mjs → mutateApi-Cl3UXuv1.mjs} +1 -1
  34. package/package.json +1 -1
  35. package/style.css +1 -1
  36. package/BrightcovePlayer-B2Rrij5a.mjs +0 -177
  37. package/ChallengeDetailComponent-QSflL_pe.mjs +0 -89
  38. package/CommonContentComponent-D8PuLEle.mjs +0 -78
  39. package/EngagementHomeComponent-CO2rSsxl.mjs +0 -91
  40. package/EventDetailComponent-DMKfvnfx.mjs +0 -84
  41. package/EventList-BM7sWeX5.mjs +0 -22503
  42. package/RecentCarousel-DsRr-cur.mjs +0 -243
  43. package/Share-BTinEfR4.mjs +0 -2243
  44. package/index-BTIxC-e5.mjs +0 -20
package/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import { x as a, y as s } from "./index-Dluh6sv-.mjs";
2
- import "react/jsx-runtime";
1
+ import { y as a, z as s } from "./index-DmoNrWks.mjs";
3
2
  import "react";
4
3
  import "react-dom";
5
4
  import "@mui/material";
6
5
  import "@mui/system";
6
+ import "react/jsx-runtime";
7
7
  export {
8
8
  a as ContentTypeWrapper,
9
9
  s as PrelemsWrapper
package/lib/login.d.ts ADDED
File without changes
@@ -0,0 +1,10 @@
1
+ declare const ArticleVodListComponent: ({ data, prelemAnalyticsProp, prelemAuthoringHelper, secondaryArgs, userId, filters, relativePath, }: {
2
+ data: any;
3
+ prelemAnalyticsProp: any;
4
+ prelemAuthoringHelper: any;
5
+ secondaryArgs: any;
6
+ userId: any;
7
+ filters: any;
8
+ relativePath: any;
9
+ }) => import("react/jsx-runtime").JSX.Element;
10
+ export default ArticleVodListComponent;
@@ -4,8 +4,9 @@ declare const fetchApi: {
4
4
  getContentSchemaList: <T_2>(input: T_2, lang: any, host: any) => Promise<any>;
5
5
  fetchPersonalTracker: <T_3>(input: T_3, lang: any, host: any) => Promise<any>;
6
6
  getChallengeDetails: <T_4>(input: T_4, lang: any, host: any) => Promise<any>;
7
- getEventDetails: <T_5>(input: T_5, lang: any, host: any) => Promise<any>;
8
- getContentTypeDetails: <T_6>(input: T_6, lang: any, host: any) => Promise<any>;
9
- fetchPoll: <T_7>(input: T_7, lang: any, host: any) => Promise<any>;
7
+ getLeaderBoardList: <T_5>(input: T_5, lang: any, host: any) => Promise<any>;
8
+ getEventDetails: <T_6>(input: T_6, lang: any, host: any) => Promise<any>;
9
+ getContentTypeDetails: <T_7>(input: T_7, lang: any, host: any) => Promise<any>;
10
+ fetchPoll: <T_8>(input: T_8, lang: any, host: any) => Promise<any>;
10
11
  };
11
12
  export default fetchApi;
@@ -1,7 +1,8 @@
1
1
  export declare const FETCH_CONTENT_SCHEMA_DETAIL = "\n query FETCH_CONTENT_SCHEMA_DETAIL($contentType: String!, $pagePath: String!) {\n publish_fetchSchemaContent(contentType: $contentType, pagePath: $pagePath)\n }\n";
2
- export declare const GET_CONTENT_SCHEMA_LIST = "query GET_CONTENT_SCHEMA_LIST($searchTerm: String!, $filter: String!) {\n publish_getContents(searchTerm: $searchTerm, tags: [], filter: $filter, isSuggestive: false)\n }\n";
2
+ export declare const GET_CONTENT_SCHEMA_LIST = "query GET_CONTENT_SCHEMA_LIST($searchTerm: String!, $filter: String!, $contentTypes: [String],\n $tags: [String]) {\n publish_getContents( searchTerm: $searchTerm\n tags: $tags\n filter: $filter\n contentTypes: $contentTypes\n isSuggestive: false)\n }\n";
3
3
  export declare const GET_PERSONAL_TRACKER = "query GET_PERSONAL_TRACKER($date: String!, $user_id: String) {\n community_fetchPersonalTracker(date: $date, user_id: $user_id)\n}";
4
4
  export declare const GET_CHALLENGE_DETAILS = "query GET_CHALLENGE_DETAILS($challenge_id: String!, $user_id: String) {\n community_challengesDetail(challenge_id: $challenge_id, user_id: $user_id){\n total_participant\n is_joined\n user_steps\n is_device_synced\n }\n }\n";
5
- export declare const GET_EVENT_DETAILS = "query GET_EVENT_DETAILS($event_id: String!, $user_id: String) {\n community_eventDetails(event_id: $event_id, user_id: $user_id)\n }\n";
5
+ export declare const GET_LEADER_BOARD_LIST = "\n query GET_LEADER_BOARD_LIST($challenge_id: String!, $user_id: String) {\n community_getLeaderBoardList(\n challenge_id: $challenge_id\n user_id: $user_id\n pagination: { start: 0, rows: 10 }\n )\n }\n";
6
+ export declare const GET_EVENT_DETAILS = "query GET_EVENT_DETAILS(\n $event_id: String!\n $user_id: String\n $type: community_event_type\n $start_date: String\n $end_date: String\n ) {\n community_eventDetails(\n event_id: $event_id\n user_id: $user_id\n type: $type\n start_date: $start_date\n end_date: $end_date\n )\n }\n";
6
7
  export declare const FETCH_CONTENT_DETAIL = "\n query FETCH_CONTENT_DETAIL($pagePath: String!, $contentType: publish_ContentTypes!) {\n publish_contentDetail(pagePath: $pagePath, contentType: $contentType)\n }\n";
7
8
  export declare const FETCH_POLL = "\n query FETCH_POLL($title: String!) {\n users_fetchContent(title: $title) {\n title\n document_path\n options\n status\n total_vote\n start_date\n end_date\n created_by\n updated_by\n createdAt\n updatedAt\n }\n }\n";
@@ -0,0 +1,9 @@
1
+ export declare function getServerSideProps(): Promise<{
2
+ props: {
3
+ pageProps: {
4
+ key: string;
5
+ };
6
+ };
7
+ }>;
8
+ declare const Sso: (props: any) => import("react/jsx-runtime").JSX.Element;
9
+ export default Sso;
@@ -3,9 +3,10 @@ declare const Components: {
3
3
  engagementHome: any;
4
4
  challenges: any;
5
5
  wellnessevent: any;
6
- Quiz: any;
7
- Poll: any;
8
- Article: any;
9
- VOD: any;
6
+ quiz: any;
7
+ poll: any;
8
+ article: any;
9
+ video: any;
10
+ articlevodlist: any;
10
11
  };
11
12
  export default Components;
@@ -1,4 +1,4 @@
1
- import { b as s } from "./index-Dluh6sv-.mjs";
1
+ import { b as s } from "./index-DmoNrWks.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.0",
3
+ "version": "1.0.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {