be-components 2.1.2 → 2.1.4

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 (125) hide show
  1. package/lib/commonjs/Components/Icons.js +144 -0
  2. package/lib/commonjs/Components/Icons.js.map +1 -1
  3. package/lib/commonjs/MarketComponents/components/TeamEventMarket/api/index.js +1 -1
  4. package/lib/commonjs/MarketComponents/components/TeamEventMarket/api/index.js.map +1 -1
  5. package/lib/commonjs/SocialComponents/PlayerCard.js +7 -6
  6. package/lib/commonjs/SocialComponents/PlayerCard.js.map +1 -1
  7. package/lib/commonjs/SocialComponents/PlayerList.js +1 -0
  8. package/lib/commonjs/SocialComponents/PlayerList.js.map +1 -1
  9. package/lib/commonjs/SocialComponents/PlayerProfile/api/index.js +149 -0
  10. package/lib/commonjs/SocialComponents/PlayerProfile/api/index.js.map +1 -0
  11. package/lib/commonjs/SocialComponents/PlayerProfile/components/PlayerFollowersList.js +138 -0
  12. package/lib/commonjs/SocialComponents/PlayerProfile/components/PlayerFollowersList.js.map +1 -0
  13. package/lib/commonjs/SocialComponents/PlayerProfile/components/PostsList.js +94 -0
  14. package/lib/commonjs/SocialComponents/PlayerProfile/components/PostsList.js.map +1 -0
  15. package/lib/commonjs/SocialComponents/PlayerProfile/index.js +501 -0
  16. package/lib/commonjs/SocialComponents/PlayerProfile/index.js.map +1 -0
  17. package/lib/commonjs/SocialComponents/PostCard/components/DraftTextEntities.js +36 -0
  18. package/lib/commonjs/SocialComponents/PostCard/components/DraftTextEntities.js.map +1 -0
  19. package/lib/commonjs/SocialComponents/PostCard/components/DraftTextViewer.js +59 -0
  20. package/lib/commonjs/SocialComponents/PostCard/components/DraftTextViewer.js.map +1 -0
  21. package/lib/commonjs/SocialComponents/PostCard/components/EntityHelpers.js +52 -0
  22. package/lib/commonjs/SocialComponents/PostCard/components/EntityHelpers.js.map +1 -0
  23. package/lib/commonjs/SocialComponents/PostCard/components/PostHeader.js +47 -0
  24. package/lib/commonjs/SocialComponents/PostCard/components/PostHeader.js.map +1 -0
  25. package/lib/commonjs/SocialComponents/PostCard/components/PostReactionBar.js +113 -0
  26. package/lib/commonjs/SocialComponents/PostCard/components/PostReactionBar.js.map +1 -0
  27. package/lib/commonjs/SocialComponents/PostCard/index.js +124 -0
  28. package/lib/commonjs/SocialComponents/PostCard/index.js.map +1 -0
  29. package/lib/commonjs/SocialComponents/SocialOrderCard.js +115 -0
  30. package/lib/commonjs/SocialComponents/SocialOrderCard.js.map +1 -0
  31. package/lib/commonjs/SocialComponents/SocialOrdersList.js +96 -0
  32. package/lib/commonjs/SocialComponents/SocialOrdersList.js.map +1 -0
  33. package/lib/commonjs/SocialComponents/api/index.js +204 -1
  34. package/lib/commonjs/SocialComponents/api/index.js.map +1 -1
  35. package/lib/commonjs/SocialComponents/index.js +7 -0
  36. package/lib/commonjs/SocialComponents/index.js.map +1 -1
  37. package/lib/module/Components/Icons.js +144 -0
  38. package/lib/module/Components/Icons.js.map +1 -1
  39. package/lib/module/MarketComponents/components/TeamEventMarket/api/index.js +1 -1
  40. package/lib/module/MarketComponents/components/TeamEventMarket/api/index.js.map +1 -1
  41. package/lib/module/SocialComponents/PlayerCard.js +7 -6
  42. package/lib/module/SocialComponents/PlayerCard.js.map +1 -1
  43. package/lib/module/SocialComponents/PlayerList.js +1 -0
  44. package/lib/module/SocialComponents/PlayerList.js.map +1 -1
  45. package/lib/module/SocialComponents/PlayerProfile/api/index.js +143 -0
  46. package/lib/module/SocialComponents/PlayerProfile/api/index.js.map +1 -0
  47. package/lib/module/SocialComponents/PlayerProfile/components/PlayerFollowersList.js +129 -0
  48. package/lib/module/SocialComponents/PlayerProfile/components/PlayerFollowersList.js.map +1 -0
  49. package/lib/module/SocialComponents/PlayerProfile/components/PostsList.js +86 -0
  50. package/lib/module/SocialComponents/PlayerProfile/components/PostsList.js.map +1 -0
  51. package/lib/module/SocialComponents/PlayerProfile/index.js +493 -0
  52. package/lib/module/SocialComponents/PlayerProfile/index.js.map +1 -0
  53. package/lib/module/SocialComponents/PostCard/components/DraftTextEntities.js +27 -0
  54. package/lib/module/SocialComponents/PostCard/components/DraftTextEntities.js.map +1 -0
  55. package/lib/module/SocialComponents/PostCard/components/DraftTextViewer.js +51 -0
  56. package/lib/module/SocialComponents/PostCard/components/DraftTextViewer.js.map +1 -0
  57. package/lib/module/SocialComponents/PostCard/components/EntityHelpers.js +41 -0
  58. package/lib/module/SocialComponents/PostCard/components/EntityHelpers.js.map +1 -0
  59. package/lib/module/SocialComponents/PostCard/components/PostHeader.js +40 -0
  60. package/lib/module/SocialComponents/PostCard/components/PostHeader.js.map +1 -0
  61. package/lib/module/SocialComponents/PostCard/components/PostReactionBar.js +104 -0
  62. package/lib/module/SocialComponents/PostCard/components/PostReactionBar.js.map +1 -0
  63. package/lib/module/SocialComponents/PostCard/index.js +115 -0
  64. package/lib/module/SocialComponents/PostCard/index.js.map +1 -0
  65. package/lib/module/SocialComponents/SocialOrderCard.js +108 -0
  66. package/lib/module/SocialComponents/SocialOrderCard.js.map +1 -0
  67. package/lib/module/SocialComponents/SocialOrdersList.js +87 -0
  68. package/lib/module/SocialComponents/SocialOrdersList.js.map +1 -0
  69. package/lib/module/SocialComponents/api/index.js +204 -1
  70. package/lib/module/SocialComponents/api/index.js.map +1 -1
  71. package/lib/module/SocialComponents/index.js +2 -1
  72. package/lib/module/SocialComponents/index.js.map +1 -1
  73. package/lib/typescript/src/Components/Icons.d.ts +5 -0
  74. package/lib/typescript/src/Components/Icons.d.ts.map +1 -1
  75. package/lib/typescript/src/SocialComponents/PlayerCard.d.ts +2 -1
  76. package/lib/typescript/src/SocialComponents/PlayerCard.d.ts.map +1 -1
  77. package/lib/typescript/src/SocialComponents/PlayerList.d.ts.map +1 -1
  78. package/lib/typescript/src/SocialComponents/PlayerProfile/api/index.d.ts +19 -0
  79. package/lib/typescript/src/SocialComponents/PlayerProfile/api/index.d.ts.map +1 -0
  80. package/lib/typescript/src/SocialComponents/PlayerProfile/components/PlayerFollowersList.d.ts +13 -0
  81. package/lib/typescript/src/SocialComponents/PlayerProfile/components/PlayerFollowersList.d.ts.map +1 -0
  82. package/lib/typescript/src/SocialComponents/PlayerProfile/components/PostsList.d.ts +9 -0
  83. package/lib/typescript/src/SocialComponents/PlayerProfile/components/PostsList.d.ts.map +1 -0
  84. package/lib/typescript/src/SocialComponents/PlayerProfile/index.d.ts +9 -0
  85. package/lib/typescript/src/SocialComponents/PlayerProfile/index.d.ts.map +1 -0
  86. package/lib/typescript/src/SocialComponents/PostCard/components/DraftTextEntities.d.ts +4 -0
  87. package/lib/typescript/src/SocialComponents/PostCard/components/DraftTextEntities.d.ts.map +1 -0
  88. package/lib/typescript/src/SocialComponents/PostCard/components/DraftTextViewer.d.ts +12 -0
  89. package/lib/typescript/src/SocialComponents/PostCard/components/DraftTextViewer.d.ts.map +1 -0
  90. package/lib/typescript/src/SocialComponents/PostCard/components/EntityHelpers.d.ts +12 -0
  91. package/lib/typescript/src/SocialComponents/PostCard/components/EntityHelpers.d.ts.map +1 -0
  92. package/lib/typescript/src/SocialComponents/PostCard/components/PostHeader.d.ts +9 -0
  93. package/lib/typescript/src/SocialComponents/PostCard/components/PostHeader.d.ts.map +1 -0
  94. package/lib/typescript/src/SocialComponents/PostCard/components/PostReactionBar.d.ts +11 -0
  95. package/lib/typescript/src/SocialComponents/PostCard/components/PostReactionBar.d.ts.map +1 -0
  96. package/lib/typescript/src/SocialComponents/PostCard/index.d.ts +11 -0
  97. package/lib/typescript/src/SocialComponents/PostCard/index.d.ts.map +1 -0
  98. package/lib/typescript/src/SocialComponents/SocialOrderCard.d.ts +13 -0
  99. package/lib/typescript/src/SocialComponents/SocialOrderCard.d.ts.map +1 -0
  100. package/lib/typescript/src/SocialComponents/SocialOrdersList.d.ts +9 -0
  101. package/lib/typescript/src/SocialComponents/SocialOrdersList.d.ts.map +1 -0
  102. package/lib/typescript/src/SocialComponents/api/index.d.ts +26 -2
  103. package/lib/typescript/src/SocialComponents/api/index.d.ts.map +1 -1
  104. package/lib/typescript/src/SocialComponents/index.d.ts +2 -1
  105. package/lib/typescript/src/SocialComponents/index.d.ts.map +1 -1
  106. package/package.json +5 -1
  107. package/src/Components/Icons.tsx +76 -0
  108. package/src/MarketComponents/components/TeamEventMarket/api/index.ts +1 -1
  109. package/src/SocialComponents/PlayerCard.tsx +6 -5
  110. package/src/SocialComponents/PlayerList.tsx +2 -1
  111. package/src/SocialComponents/PlayerProfile/api/index.ts +138 -0
  112. package/src/SocialComponents/PlayerProfile/components/PlayerFollowersList.tsx +111 -0
  113. package/src/SocialComponents/PlayerProfile/components/PostsList.tsx +92 -0
  114. package/src/SocialComponents/PlayerProfile/index.tsx +380 -0
  115. package/src/SocialComponents/PostCard/components/DraftTextEntities.tsx +25 -0
  116. package/src/SocialComponents/PostCard/components/DraftTextViewer.tsx +61 -0
  117. package/src/SocialComponents/PostCard/components/EntityHelpers.tsx +44 -0
  118. package/src/SocialComponents/PostCard/components/PostHeader.tsx +29 -0
  119. package/src/SocialComponents/PostCard/components/PostReactionBar.tsx +75 -0
  120. package/src/SocialComponents/PostCard/index.tsx +105 -0
  121. package/src/SocialComponents/SocialOrderCard.tsx +75 -0
  122. package/src/SocialComponents/SocialOrdersList.tsx +93 -0
  123. package/src/SocialComponents/api/index.ts +119 -4
  124. package/src/SocialComponents/index.tsx +3 -2
  125. package/src/types.d.ts +245 -0
@@ -1,11 +1,23 @@
1
1
  import axios from "axios";
2
2
  import { APIOverrides } from "../../ApiOverrides";
3
+ import Colors from "../../constants/colors";
4
+ import moment from "moment-mini";
3
5
  let SOCIAL_SVC_API = '';
4
- export { SocialComponentApi };
6
+ let EVENT_SVC_API = '';
7
+ export { SocialComponentApi, SocialOrderHelpers };
5
8
  const SocialComponentApi = {
6
9
  setEnvironment: () => {
7
10
  const endpoints = APIOverrides.getEndpoints();
8
11
  SOCIAL_SVC_API = endpoints['SOCIAL_SVC_API'];
12
+ EVENT_SVC_API = endpoints['EVENT_SVC_API'];
13
+ },
14
+ getLeagues: async () => {
15
+ try {
16
+ const resp = await axios.get(`${EVENT_SVC_API}/v1/leagues`);
17
+ return resp.data.leagues;
18
+ } catch (e) {
19
+ return [];
20
+ }
9
21
  },
10
22
  getBulkPlayerfollowers: async player_ids => {
11
23
  const resp = await axios.post(`${SOCIAL_SVC_API}/v1/followers/bulk/get`, {
@@ -18,6 +30,197 @@ const SocialComponentApi = {
18
30
  player_follower
19
31
  });
20
32
  return resp.data.player_follower;
33
+ },
34
+ getEventsByEventIds: async event_ids => {
35
+ if (event_ids.length == 0) {
36
+ return [];
37
+ }
38
+ try {
39
+ const resp = await axios.post(`${EVENT_SVC_API}/v1/events/bulk/get`, {
40
+ attribute: 'event_id',
41
+ values: event_ids
42
+ });
43
+ return resp.data.events;
44
+ } catch (e) {
45
+ return [];
46
+ }
47
+ },
48
+ getMatchesByMatchIds: async match_ids => {
49
+ if (match_ids.length == 0) {
50
+ return [];
51
+ }
52
+ try {
53
+ const resp = await axios.post(`${EVENT_SVC_API}/v1/matches/bulk/get`, {
54
+ attribute: 'match_id',
55
+ values: match_ids
56
+ });
57
+ return resp.data.matches;
58
+ } catch (e) {
59
+ return [];
60
+ }
61
+ },
62
+ getAthletesByIds: async athlete_ids => {
63
+ if (athlete_ids.length == 0) {
64
+ return [];
65
+ }
66
+ try {
67
+ const resp = await axios.post(`${EVENT_SVC_API}/v1/athletes/bulk/get`, {
68
+ attribute: 'athlete_id',
69
+ values: athlete_ids
70
+ });
71
+ return resp.data.athletes;
72
+ } catch (e) {
73
+ return [];
74
+ }
75
+ },
76
+ getTournamentsByTournamentIds: async tournament_ids => {
77
+ if (tournament_ids.length == 0) {
78
+ return [];
79
+ }
80
+ try {
81
+ const resp = await axios.post(`${EVENT_SVC_API}/v1/tournaments/bulk/get`, {
82
+ attribute: 'event_id',
83
+ values: tournament_ids
84
+ });
85
+ return resp.data.tournaments;
86
+ } catch (e) {
87
+ return [];
88
+ }
89
+ },
90
+ getTeamsByIds: async team_ids => {
91
+ if (team_ids.length == 0) {
92
+ return [];
93
+ }
94
+ try {
95
+ const resp = await axios.post(`${EVENT_SVC_API}/v1/teams/bulk/get`, {
96
+ attribute: 'team_id',
97
+ values: team_ids
98
+ });
99
+ return resp.data.teams;
100
+ } catch (e) {
101
+ return [];
102
+ }
103
+ }
104
+ };
105
+ const SocialOrderHelpers = {
106
+ getIconColor: order => {
107
+ switch (order.status) {
108
+ case 'approved':
109
+ return Colors.brand.electric;
110
+ case 'closed':
111
+ return Colors.brand.midnight;
112
+ case 'cancelled':
113
+ return Colors.highlights.highlight200;
114
+ default:
115
+ return Colors.shades.black;
116
+ }
117
+ },
118
+ getIdsFromOrders: orders => {
119
+ let event_ids = [],
120
+ tournament_ids = [],
121
+ match_ids = [],
122
+ athlete_ids = [],
123
+ team_ids = [];
124
+ orders.map(o => {
125
+ if (o.event_type == 'team') {
126
+ event_ids.push(o.event_id);
127
+ }
128
+ if (o.event_type == 'tournament') {
129
+ tournament_ids.push(o.event_id);
130
+ }
131
+ if (o.event_type == 'match') {
132
+ match_ids.push(o.event_id);
133
+ }
134
+ if (o.side_type == 'athlete') {
135
+ athlete_ids.push(o.side_id);
136
+ }
137
+ if (o.side_type == 'team') {
138
+ team_ids.push(o.side_id);
139
+ }
140
+ });
141
+ return {
142
+ event_ids,
143
+ tournament_ids,
144
+ match_ids,
145
+ athlete_ids,
146
+ team_ids
147
+ };
148
+ },
149
+ getContestDetails: (order, events, tournaments, matches, athletes, teams, leagues) => {
150
+ let athlete = order.side_type == 'athlete' ? athletes.find(a => a.athlete_id == order.side_id) : undefined;
151
+ let team = order.side_type == 'team' ? teams.find(t => t.team_id == order.side_id) : undefined;
152
+ switch (order.event_type) {
153
+ case 'team':
154
+ console.log('HERE WE GO');
155
+ let event = events.find(e => e.event_id == order.event_id);
156
+ console.log(event);
157
+ if (!event) {
158
+ return {
159
+ team,
160
+ athlete,
161
+ title: '',
162
+ time: ''
163
+ };
164
+ }
165
+ let league = leagues.find(l => l.league_id == event.league_id);
166
+ return {
167
+ team,
168
+ athlete,
169
+ league,
170
+ title: event.event_title,
171
+ time: event.status == 'scheduled' ? moment(event.scheduled_datetime).format('MM/DD @ hh:mm a') : event.time_detail ?? ''
172
+ };
173
+ case 'match':
174
+ let match = matches.find(m => m.match_id == order.event_id);
175
+ if (!match) {
176
+ return {
177
+ team,
178
+ athlete,
179
+ title: '',
180
+ time: ''
181
+ };
182
+ }
183
+ let tourney = tournaments.find(t => t.tournament_id == match.tournament_id);
184
+ let m_league = leagues.find(l => l.league_id == tourney?.league_id);
185
+ return {
186
+ team,
187
+ athlete,
188
+ league: m_league,
189
+ title: match.match_title,
190
+ time: moment(match.scheduled_datetime).format('MM/DD @ hh:mm a')
191
+ };
192
+ case 'tournament':
193
+ let tournament = tournaments.find(t => t.tournament_id == order.event_id);
194
+ if (!tournament) {
195
+ return {
196
+ title: '',
197
+ time: ''
198
+ };
199
+ }
200
+ const t_league = leagues.find(l => l.league_id == tournament.league_id);
201
+ return {
202
+ team,
203
+ athlete,
204
+ league: t_league,
205
+ title: tournament.tournament_name,
206
+ time: moment(tournament.scheduled_datetime).format('MM/DD @ hh:mm a')
207
+ };
208
+ default:
209
+ return {
210
+ title: '',
211
+ time: ''
212
+ };
213
+ }
214
+ },
215
+ getOddsLabel: (odds, decimals) => {
216
+ let new_odds = odds.toFixed();
217
+ if (decimals) {
218
+ new_odds = odds.toFixed(decimals);
219
+ }
220
+ if (odds < 0) {
221
+ return `${new_odds}`;
222
+ }
223
+ return `+${new_odds}`;
21
224
  }
22
225
  };
23
226
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["axios","APIOverrides","SOCIAL_SVC_API","SocialComponentApi","setEnvironment","endpoints","getEndpoints","getBulkPlayerfollowers","player_ids","resp","post","data","player_followers","savePlayerFollower","player_follower"],"sourceRoot":"../../../../src","sources":["SocialComponents/api/index.ts"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,YAAY,QAAQ,oBAAoB;AAGjD,IAAIC,cAAc,GAAG,EAAE;AAEvB,SAASC,kBAAkB;AAE3B,MAAMA,kBAAkB,GAAG;EACvBC,cAAc,EAAEA,CAAA,KAAM;IAClB,MAAMC,SAAS,GAAGJ,YAAY,CAACK,YAAY,CAAC,CAAC;IAC7CJ,cAAc,GAAGG,SAAS,CAAC,gBAAgB,CAAW;EAE1D,CAAC;EACDE,sBAAsB,EAAE,MAAMC,UAAmB,IAAK;IAClD,MAAMC,IAAI,GAAG,MAAMT,KAAK,CAACU,IAAI,CAAC,GAAGR,cAAc,wBAAwB,EAAE;MAAEM;IAAW,CAAC,CAAC;IACxF,OAAOC,IAAI,CAACE,IAAI,CAACC,gBAAgB;EACrC,CAAC;EACDC,kBAAkB,EAAE,MAAMC,eAAmC,IAAkC;IAC3F,MAAML,IAAI,GAAG,MAAMT,KAAK,CAACU,IAAI,CAAC,GAAGR,cAAc,6BAA6B,EAAE;MAAEY;IAAgB,CAAC,CAAC;IAClG,OAAOL,IAAI,CAACE,IAAI,CAACG,eAAe;EACpC;AACJ,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["axios","APIOverrides","Colors","moment","SOCIAL_SVC_API","EVENT_SVC_API","SocialComponentApi","SocialOrderHelpers","setEnvironment","endpoints","getEndpoints","getLeagues","resp","get","data","leagues","e","getBulkPlayerfollowers","player_ids","post","player_followers","savePlayerFollower","player_follower","getEventsByEventIds","event_ids","length","attribute","values","events","getMatchesByMatchIds","match_ids","matches","getAthletesByIds","athlete_ids","athletes","getTournamentsByTournamentIds","tournament_ids","tournaments","getTeamsByIds","team_ids","teams","getIconColor","order","status","brand","electric","midnight","highlights","highlight200","shades","black","getIdsFromOrders","orders","map","o","event_type","push","event_id","side_type","side_id","getContestDetails","athlete","find","a","athlete_id","undefined","team","t","team_id","console","log","event","title","time","league","l","league_id","event_title","scheduled_datetime","format","time_detail","match","m","match_id","tourney","tournament_id","m_league","match_title","tournament","t_league","tournament_name","getOddsLabel","odds","decimals","new_odds","toFixed"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EACzB;AACJ,CAAC","ignoreList":[]}
@@ -1,4 +1,5 @@
1
1
  import PlayerCard from "./PlayerCard";
2
2
  import PlayerList from "./PlayerList";
3
- export { PlayerCard, PlayerList };
3
+ import PlayerProfile from "./PlayerProfile";
4
+ export { PlayerCard, PlayerList, PlayerProfile };
4
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["PlayerCard","PlayerList"],"sourceRoot":"../../../src","sources":["SocialComponents/index.tsx"],"mappings":"AAAA,OAAOA,UAAU,MAAM,cAAc;AACrC,OAAOC,UAAU,MAAM,cAAc;AAGrC,SACID,UAAU,EACVC,UAAU","ignoreList":[]}
1
+ {"version":3,"names":["PlayerCard","PlayerList","PlayerProfile"],"sourceRoot":"../../../src","sources":["SocialComponents/index.tsx"],"mappings":"AAAA,OAAOA,UAAU,MAAM,cAAc;AACrC,OAAOC,UAAU,MAAM,cAAc;AACrC,OAAOC,aAAa,MAAM,iBAAiB;AAE3C,SACIF,UAAU,EACVC,UAAU,EACVC,aAAa","ignoreList":[]}
@@ -24,6 +24,9 @@ declare const _default: {
24
24
  TrophyIcon: ({ color, size }: IconProps) => React.JSX.Element;
25
25
  ListIcon: ({ color, size }: IconProps) => React.JSX.Element;
26
26
  UserIcon: ({ color, size }: IconProps) => React.JSX.Element;
27
+ TwitterIcon: ({ size }: IconProps) => React.JSX.Element;
28
+ LinkedInIcon: ({ size }: IconProps) => React.JSX.Element;
29
+ LinkIcon: ({ size, color }: IconProps) => React.JSX.Element;
27
30
  PhoneIcon: ({ color, size }: IconProps) => React.JSX.Element;
28
31
  EmailIcon: ({ color, size }: IconProps) => React.JSX.Element;
29
32
  NotificationIcon: ({ color, size }: IconProps) => React.JSX.Element;
@@ -52,6 +55,7 @@ declare const _default: {
52
55
  SettingsIcon: ({ color, size }: IconProps) => React.JSX.Element;
53
56
  PayPalIcon: ({ size }: IconProps) => React.JSX.Element;
54
57
  ChevronIcon: ({ size, color, direction }: IconProps) => React.JSX.Element;
58
+ ActivityIcon: ({ color, size }: IconProps) => React.JSX.Element;
55
59
  ShareSocialIcon: ({ size, color }: IconProps) => React.JSX.Element;
56
60
  EdgeCoinIcon: ({ color, size }: IconProps) => React.JSX.Element;
57
61
  PacerCarIcon: ({ size, color }: IconProps) => React.JSX.Element;
@@ -63,6 +67,7 @@ declare const _default: {
63
67
  USDIcon: ({ color, size }: IconProps) => React.JSX.Element;
64
68
  EyeOffIcon: ({ color, size }: IconProps) => React.JSX.Element;
65
69
  DiscoverCardIcon: ({ size }: IconProps) => React.JSX.Element;
70
+ ChatIcon: ({ color, size }: IconProps) => React.JSX.Element;
66
71
  AmexCardIcon: ({ size }: IconProps) => React.JSX.Element;
67
72
  TransactionIcon: ({ color, size }: IconProps) => React.JSX.Element;
68
73
  FlameIcon: ({ size, color }: IconProps) => React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../../../src/Components/Icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,SAAS,GAAG;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAC,MAAM,CAAC;IACxB,IAAI,CAAC,EAAC,MAAM,CAAC;IACb,SAAS,CAAC,EAAC,IAAI,GAAC,MAAM,GAAC,MAAM,GAAC,OAAO,CAAA;CACxC,CAAA;;kCAEqC,SAAS;qCAwoCR,SAAS;iCA3+Bd,SAAS;wCA0gCH,SAAS;oCAsCX,SAAS;iCAtRX,SAAS;oCAuQP,SAAS;+BApJd,SAAS;gCArcP,SAAS;mCA0eP,SAAS;gCAzNX,SAAS;uCA7cH,SAAS;kCAivBd,SAAS;uCAlYF,SAAS;iCA6Gd,SAAS;kCA7BT,SAAS;gCArBX,SAAS;gCAfT,SAAS;iCAkIR,SAAS;iCAkBT,SAAS;wCA1rBN,SAAS;uCA40BR,SAAS;sCAlDV,SAAS;sCAnQV,SAAS;sCAzcP,SAAS;oCA2wB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,SAAS;iCAs8BN,SAAS;iCAkBT,SAAS;wCA1sBN,SAAS;uCA41BR,SAAS;sCAlDV,SAAS;sCAnQV,SAAS;sCAzcP,SAAS;oCA2wBZ,SAAS;iCAhVV,SAAS;sCAnCJ,SAAS;oCAqOX,SAAS;iCApPZ,SAAS;kCAtgBZ,SAAS;mDAhSU,SAAS;iCAsxB1B,SAAS;0BAhBf,SAAS;2CA7BO,SAAS;kCAjBlB,SAAS;gCAxfd,SAAS;4BA80BV,SAAS;oCAvWD,SAAS;mCAlBV,SAAS;uCAlBL,SAAS;sCA9BT,SAAS;0BArbvB,SAAS;oCAwvBG,SAAS;2BA9UlB,SAAS;8CAjFU,SAAS;oCA7LrB,SAAS;uCAyKL,SAAS;oCAvLb,SAAS;oCA2JR,SAAS;uCAjBN,SAAS;8BA5BlB,SAAS;sCAfD,SAAS;kCAfb,SAAS;kCAlDT,SAAS;+BA5CZ,SAAS;kCAlCR,SAAS;iCA9MT,SAAS;gCA+oCV,SAAS;6BA9kCZ,SAAS;uCAwzBC,SAAS;iCA15Bf,SAAS;uCAqLH,SAAS;qCAsBb,SAAS;6BAjJf,SAAS;+BAoBP,SAAS;8CA9DM,SAAS;;AAuuCzD,wBAuEC"}
@@ -9,10 +9,11 @@ type PlayerCardProps = {
9
9
  player_following?: PlayerFollowerProps;
10
10
  show_follow?: boolean;
11
11
  style?: any;
12
+ border?: boolean;
12
13
  float?: boolean;
13
14
  onSelectPlayer: (p: PublicPlayerProps) => void;
14
15
  onFollowingUpdate: (pf: PlayerFollowerProps) => void;
15
16
  };
16
- declare const PlayerCard: ({ player, width, follow_loading, alignment, style, float, show_follow, player_follower, player_following, onSelectPlayer, onFollowingUpdate }: PlayerCardProps) => React.JSX.Element;
17
+ declare const PlayerCard: ({ player, width, border, follow_loading, alignment, style, float, show_follow, player_follower, player_following, onSelectPlayer, onFollowingUpdate }: PlayerCardProps) => React.JSX.Element;
17
18
  export default PlayerCard;
18
19
  //# sourceMappingURL=PlayerCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlayerCard.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/PlayerCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAOvE,KAAK,eAAe,GAAG;IACnB,MAAM,EAAC,iBAAiB,CAAC;IACzB,KAAK,EAAC,MAAM,CAAC;IACb,cAAc,CAAC,EAAC,OAAO,CAAC;IACxB,SAAS,CAAC,EAAC,UAAU,GAAC,YAAY,CAAC;IACnC,eAAe,CAAC,EAAC,mBAAmB,CAAC;IACrC,gBAAgB,CAAC,EAAC,mBAAmB,CAAC;IACtC,WAAW,CAAC,EAAC,OAAO,CAAC;IACrB,KAAK,CAAC,EAAC,GAAG,CAAC;IACX,KAAK,CAAC,EAAC,OAAO,CAAC;IACf,cAAc,EAAC,CAAC,CAAC,EAAC,iBAAiB,KAAK,IAAI,CAAC;IAC7C,iBAAiB,EAAC,CAAC,EAAE,EAAC,mBAAmB,KAAK,IAAI,CAAA;CACrD,CAAA;AAED,QAAA,MAAM,UAAU,kJAAkJ,eAAe,sBA2ChL,CAAA;AAoBD,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"PlayerCard.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/PlayerCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAOvE,KAAK,eAAe,GAAG;IACnB,MAAM,EAAC,iBAAiB,CAAC;IACzB,KAAK,EAAC,MAAM,CAAC;IACb,cAAc,CAAC,EAAC,OAAO,CAAC;IACxB,SAAS,CAAC,EAAC,UAAU,GAAC,YAAY,CAAC;IACnC,eAAe,CAAC,EAAC,mBAAmB,CAAC;IACrC,gBAAgB,CAAC,EAAC,mBAAmB,CAAC;IACtC,WAAW,CAAC,EAAC,OAAO,CAAC;IACrB,KAAK,CAAC,EAAC,GAAG,CAAC;IACX,MAAM,CAAC,EAAC,OAAO,CAAC;IAChB,KAAK,CAAC,EAAC,OAAO,CAAC;IACf,cAAc,EAAC,CAAC,CAAC,EAAC,iBAAiB,KAAK,IAAI,CAAC;IAC7C,iBAAiB,EAAC,CAAC,EAAE,EAAC,mBAAmB,KAAK,IAAI,CAAA;CACrD,CAAA;AAED,QAAA,MAAM,UAAU,0JAA0J,eAAe,sBA2CxL,CAAA;AAoBD,eAAe,UAAU,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"PlayerList.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/PlayerList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAuB,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAEvE,KAAK,eAAe,GAAG;IACnB,OAAO,EAAC,iBAAiB,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,cAAc,EAAC,CAAC,CAAC,EAAC,iBAAiB,KAAK,IAAI,CAAC;IAC7C,OAAO,EAAE;QACL,aAAa,CAAC,EAAC,OAAO,CAAC;QACvB,SAAS,EAAE,YAAY,GAAG,UAAU,CAAC;KACxC,CAAA;CACJ,CAAA;AAED,QAAA,MAAM,UAAU,gDAAgD,eAAe,sBAwD9E,CAAA;AAQD,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"PlayerList.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/PlayerList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAuB,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAEvE,KAAK,eAAe,GAAG;IACnB,OAAO,EAAC,iBAAiB,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,cAAc,EAAC,CAAC,CAAC,EAAC,iBAAiB,KAAK,IAAI,CAAC;IAC7C,OAAO,EAAE;QACL,aAAa,CAAC,EAAC,OAAO,CAAC;QACvB,SAAS,EAAE,YAAY,GAAG,UAAU,CAAC;KACxC,CAAA;CACJ,CAAA;AAED,QAAA,MAAM,UAAU,gDAAgD,eAAe,sBAyD9E,CAAA;AAQD,eAAe,UAAU,CAAA"}
@@ -0,0 +1,19 @@
1
+ import type { OrderProps, PlayerFollowerProps, PlayerFollowerStatsProps, PlayerLinkProps, PostCommentStatProps, PostProps, PostReactionProps, PublicPlayerProps } from "../../../types";
2
+ export { SocialProfileApi };
3
+ declare const SocialProfileApi: {
4
+ setEnvironment: () => void;
5
+ getPlayerById: (player_id: string) => Promise<PublicPlayerProps | undefined>;
6
+ getPlayerLinksByPlayerId: (player_id: string) => Promise<PlayerLinkProps[]>;
7
+ getFollowerStats: (player_id: string) => Promise<PlayerFollowerStatsProps | undefined>;
8
+ getFollowerStatus: (player_id: string, following_id: string) => Promise<PlayerFollowerProps | undefined>;
9
+ getPostsByPlayerId: (player_id: string, offset: number) => Promise<PostProps[]>;
10
+ getPlayerFollowersByPlayerId: (player_id: string, status: "following" | "followers", offset: number) => Promise<PlayerFollowerProps[]>;
11
+ getCommentStatsByPostId: (post_id: string, post_type: "memo") => Promise<PostCommentStatProps | undefined>;
12
+ getReactionStatsByPostId: (post_id: string, post_type: "memo") => Promise<any>;
13
+ getReactionsByPostAndPlayer: (player_id: string, post_id: string, post_type: "memo") => Promise<PostReactionProps[]>;
14
+ createPostReaction: (post_reaction: PostReactionProps) => Promise<PostReactionProps | undefined>;
15
+ updatePostReaction: (post_reaction: PostReactionProps) => Promise<PostReactionProps | undefined>;
16
+ getBulkOrders: (order_ids: string[]) => Promise<OrderProps[]>;
17
+ getOrdersByPlayerId: (player_id: string, offset: number) => Promise<OrderProps[]>;
18
+ };
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PlayerProfile/api/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,eAAe,EAAE,oBAAoB,EAAE,SAAS,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMxL,OAAO,EAAE,gBAAgB,EAAE,CAAA;AAE3B,QAAA,MAAM,gBAAgB;;+BAOa,MAAM,KAAE,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC;0CASnC,MAAM,KAAE,OAAO,CAAC,eAAe,EAAE,CAAC;kCAS3C,MAAM,KAAE,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC;mCAUnD,MAAM,gBAAe,MAAM,KAAE,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC;oCAUpE,MAAM,UAAS,MAAM,KAAE,OAAO,CAAC,SAAS,EAAE,CAAC;8CASjC,MAAM,UAAS,WAAW,GAAC,WAAW,UAAS,MAAM,KAAE,OAAO,CAAC,mBAAmB,EAAE,CAAC;uCAU5F,MAAM,aAAY,MAAM,KAAE,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC;wCASlE,MAAM,aAAY,MAAM;6CASnB,MAAM,WAAU,MAAM,aAAY,MAAM,KAAE,OAAO,CAAC,iBAAiB,EAAE,CAAC;wCAS3E,iBAAiB,KAAE,OAAO,CAAC,iBAAiB,GAAC,SAAS,CAAC;wCAStD,iBAAiB,KAAE,OAAO,CAAC,iBAAiB,GAAC,SAAS,CAAC;+BASjE,MAAM,EAAE,KAAE,OAAO,CAAC,UAAU,EAAE,CAAC;qCASzB,MAAM,UAAS,MAAM,KAAE,OAAO,CAAC,UAAU,EAAE,CAAC;CASpF,CAAA"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { PublicPlayerProps } from '../../../types';
3
+ type PlayerFollowersListProps = {
4
+ status: 'following' | 'followers';
5
+ viewing_player: PublicPlayerProps;
6
+ total?: number;
7
+ player_id?: string;
8
+ height?: number;
9
+ onClose: () => void;
10
+ };
11
+ declare const PlayerFollowersList: ({ status, total, height, viewing_player, player_id, onClose }: PlayerFollowersListProps) => React.JSX.Element;
12
+ export default PlayerFollowersList;
13
+ //# sourceMappingURL=PlayerFollowersList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlayerFollowersList.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PlayerProfile/components/PlayerFollowersList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAuB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAO7E,KAAK,wBAAwB,GAAG;IAC5B,MAAM,EAAE,WAAW,GAAC,WAAW,CAAC;IAChC,cAAc,EAAC,iBAAiB,CAAC;IACjC,KAAK,CAAC,EAAC,MAAM,CAAC;IACd,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,MAAM,CAAC,EAAC,MAAM,CAAC;IACf,OAAO,EAAC,MAAM,IAAI,CAAA;CACrB,CAAA;AAED,QAAA,MAAM,mBAAmB,kEAAkE,wBAAwB,sBA0FlH,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { PublicPlayerProps } from "../../../types";
3
+ type PostsListProps = {
4
+ viewing_player: PublicPlayerProps;
5
+ player_id?: string;
6
+ };
7
+ declare const _default: React.MemoExoticComponent<({ viewing_player, player_id }: PostsListProps) => React.JSX.Element>;
8
+ export default _default;
9
+ //# sourceMappingURL=PostsList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PostsList.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PlayerProfile/components/PostsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAA0B,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAK/E,KAAK,cAAc,GAAG;IAClB,cAAc,EAAC,iBAAiB,CAAC;IACjC,SAAS,CAAC,EAAC,MAAM,CAAA;CACpB,CAAA;kFAEgD,cAAc;AA0E/D,wBAIE"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ type PlayerProfileProps = {
3
+ viewing_player_id: string;
4
+ player_id?: string;
5
+ height?: number;
6
+ };
7
+ declare const PlayerProfile: ({ viewing_player_id, player_id, height }: PlayerProfileProps) => React.JSX.Element;
8
+ export default PlayerProfile;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/SocialComponents/PlayerProfile/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAYnD,KAAK,kBAAkB,GAAG;IACtB,iBAAiB,EAAC,MAAM,CAAC;IACzB,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,MAAM,CAAC,EAAC,MAAM,CAAA;CACjB,CAAA;AAED,QAAA,MAAM,aAAa,6CAA6C,kBAAkB,sBAkWjF,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const rti_playerEntity: (props: any) => React.JSX.Element;
3
+ export declare const rti_tagEntity: (props: any) => React.JSX.Element;
4
+ //# sourceMappingURL=DraftTextEntities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DraftTextEntities.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PostCard/components/DraftTextEntities.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,gBAAgB,UAAU,GAAG,sBAQzC,CAAA;AAGD,eAAO,MAAM,aAAa,UAAU,GAAG,sBAQtC,CAAA"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import 'draft-js/dist/Draft.css';
3
+ import type { RawDraftJSProps } from '../../../types';
4
+ type DraftTextViewerProps = {
5
+ post_id: string;
6
+ text_fallback: string;
7
+ formatted_body?: RawDraftJSProps;
8
+ view_type: 'memo' | 'comment' | 'message';
9
+ };
10
+ declare function DraftTextViewer({ post_id, formatted_body, text_fallback }: DraftTextViewerProps): React.JSX.Element;
11
+ export default DraftTextViewer;
12
+ //# sourceMappingURL=DraftTextViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DraftTextViewer.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PostCard/components/DraftTextViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAItD,KAAK,oBAAoB,GAAG;IACxB,OAAO,EAAC,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,SAAS,EAAE,MAAM,GAAC,SAAS,GAAC,SAAS,CAAA;CACxC,CAAA;AAED,iBAAS,eAAe,CAAC,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,EAAC,oBAAoB,qBA0CvF;AAED,eAAe,eAAe,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { ContentState } from "draft-js";
2
+ export declare const rti_findPlayerEntities: (contentBlock: any, callback: any, contentState: any) => void;
3
+ export declare const rti_findTagEntities: (contentBlock: any, callback: any, contentState: any) => void;
4
+ type ValidatedURLType = {
5
+ url: string;
6
+ error: boolean;
7
+ message?: string;
8
+ };
9
+ export declare const validateUrl: (url: string) => ValidatedURLType;
10
+ export declare const createDraftJSFromText: (text: string) => ContentState;
11
+ export {};
12
+ //# sourceMappingURL=EntityHelpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityHelpers.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PostCard/components/EntityHelpers.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,eAAO,MAAM,sBAAsB,iBAAiB,GAAG,YAAW,GAAG,gBAAe,GAAG,SAWpF,CAAA;AAGD,eAAO,MAAM,mBAAmB,iBAAiB,GAAG,YAAW,GAAG,gBAAe,GAAG,SAWnF,CAAA;AAIH,KAAK,gBAAgB,GAAG;IAAE,GAAG,EAAC,MAAM,CAAC;IAAC,KAAK,EAAC,OAAO,CAAC;IAAC,OAAO,CAAC,EAAC,MAAM,CAAA;CAAE,CAAA;AACtE,eAAO,MAAM,WAAW,QAAQ,MAAM,KAAE,gBAKvC,CAAA;AAED,eAAO,MAAM,qBAAqB,SAAS,MAAM,iBAGhD,CAAA"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { PostProps, PublicPlayerProps } from '../../../types';
3
+ type PostHeaderProps = {
4
+ player: PublicPlayerProps;
5
+ post: PostProps;
6
+ };
7
+ declare const PostHeader: ({ player, post }: PostHeaderProps) => React.JSX.Element;
8
+ export default PostHeader;
9
+ //# sourceMappingURL=PostHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PostHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PostCard/components/PostHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAInE,KAAK,eAAe,GAAG;IACnB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,IAAI,EAAC,SAAS,CAAA;CACjB,CAAA;AAED,QAAA,MAAM,UAAU,qBAAqB,eAAe,sBAcnD,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import type { PostReactionProps, PostReactionStatsProps } from '../../../types';
3
+ type PostReactionBarProps = {
4
+ post_reaction_stats: PostReactionStatsProps[];
5
+ my_post_reactions: PostReactionProps[];
6
+ featured?: boolean;
7
+ onReactionSelect: (reaction: string) => void;
8
+ };
9
+ declare const PostReactionBar: ({ post_reaction_stats, my_post_reactions, onReactionSelect }: PostReactionBarProps) => React.JSX.Element;
10
+ export default PostReactionBar;
11
+ //# sourceMappingURL=PostReactionBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PostReactionBar.d.ts","sourceRoot":"","sources":["../../../../../../src/SocialComponents/PostCard/components/PostReactionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAKhF,KAAK,oBAAoB,GAAG;IACxB,mBAAmB,EAAE,sBAAsB,EAAE,CAAC;IAC9C,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;IACvC,QAAQ,CAAC,EAAC,OAAO,CAAC;IAClB,gBAAgB,EAAE,CAAC,QAAQ,EAAC,MAAM,KAAK,IAAI,CAAA;CAC9C,CAAA;AAaD,QAAA,MAAM,eAAe,iEAAiE,oBAAoB,sBA+CzG,CAAA;AAED,eAAe,eAAe,CAAA"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import type { OrderProps, PostProps, PublicPlayerProps } from '../../types';
3
+ type PostCardProps = {
4
+ post: PostProps;
5
+ player: PublicPlayerProps;
6
+ orders: OrderProps[];
7
+ player_id?: string;
8
+ };
9
+ declare const PostCard: ({ post, player, orders }: PostCardProps) => React.JSX.Element;
10
+ export default PostCard;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/SocialComponents/PostCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,OAAO,KAAK,EAAE,UAAU,EAAwB,SAAS,EAA0B,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAU1H,KAAK,aAAa,GAAG;IACjB,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAC,iBAAiB,CAAC;IACzB,MAAM,EAAC,UAAU,EAAE,CAAC;IACpB,SAAS,CAAC,EAAC,MAAM,CAAA;CACpB,CAAA;AACD,QAAA,MAAM,QAAQ,6BAA6B,aAAa,sBAmFvD,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { AthleteProps, LeagueProps, OrderProps, TeamProps } from '../types';
3
+ type SocialOrderCardProps = {
4
+ contest_title: string;
5
+ contest_time: string;
6
+ order: OrderProps;
7
+ athlete?: AthleteProps;
8
+ team?: TeamProps;
9
+ league?: LeagueProps;
10
+ };
11
+ declare const SocialOrderCard: ({ league, team, order, contest_title, contest_time }: SocialOrderCardProps) => React.JSX.Element;
12
+ export default SocialOrderCard;
13
+ //# sourceMappingURL=SocialOrderCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SocialOrderCard.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/SocialOrderCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAMjF,KAAK,oBAAoB,GAAG;IACxB,aAAa,EAAC,MAAM,CAAC;IACrB,YAAY,EAAC,MAAM,CAAC;IACpB,KAAK,EAAC,UAAU,CAAC;IACjB,OAAO,CAAC,EAAC,YAAY,CAAC;IACtB,IAAI,CAAC,EAAC,SAAS,CAAC;IAChB,MAAM,CAAC,EAAC,WAAW,CAAA;CACtB,CAAA;AACD,QAAA,MAAM,eAAe,yDAAyD,oBAAoB,sBAwDjG,CAAA;AAED,eAAe,eAAe,CAAA"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { OrderProps } from '../types';
3
+ type SocialOrdersListProps = {
4
+ orders: OrderProps[];
5
+ direction: 'vertical' | 'horizontal';
6
+ };
7
+ declare const SocialOrdersList: ({ orders, direction }: SocialOrdersListProps) => React.JSX.Element;
8
+ export default SocialOrdersList;
9
+ //# sourceMappingURL=SocialOrdersList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SocialOrdersList.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/SocialOrdersList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAqD,UAAU,EAA8B,MAAM,UAAU,CAAC;AAI1H,KAAK,qBAAqB,GAAG;IACzB,MAAM,EAAC,UAAU,EAAE,CAAC;IACpB,SAAS,EAAE,UAAU,GAAC,YAAY,CAAA;CACrC,CAAA;AACD,QAAA,MAAM,gBAAgB,0BAA0B,qBAAqB,sBAgFpE,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1,8 +1,32 @@
1
- import type { PlayerFollowerProps } from "../../types";
2
- export { SocialComponentApi };
1
+ import type { AthleteProps, EventProps, LeagueProps, MatchProps, OrderProps, PlayerFollowerProps, TeamProps, TournamentProps } from "../../types";
2
+ export { SocialComponentApi, SocialOrderHelpers };
3
3
  declare const SocialComponentApi: {
4
4
  setEnvironment: () => void;
5
+ getLeagues: () => Promise<LeagueProps[]>;
5
6
  getBulkPlayerfollowers: (player_ids: string[]) => Promise<any>;
6
7
  savePlayerFollower: (player_follower: PlayerFollowerProps) => Promise<PlayerFollowerProps>;
8
+ getEventsByEventIds: (event_ids: string[]) => Promise<EventProps[]>;
9
+ getMatchesByMatchIds: (match_ids: string[]) => Promise<MatchProps[]>;
10
+ getAthletesByIds: (athlete_ids: string[]) => Promise<AthleteProps[]>;
11
+ getTournamentsByTournamentIds: (tournament_ids: string[]) => Promise<TournamentProps[]>;
12
+ getTeamsByIds: (team_ids: string[]) => Promise<any>;
13
+ };
14
+ declare const SocialOrderHelpers: {
15
+ getIconColor: (order: OrderProps) => string;
16
+ getIdsFromOrders: (orders: OrderProps[]) => {
17
+ event_ids: string[];
18
+ tournament_ids: string[];
19
+ match_ids: string[];
20
+ athlete_ids: string[];
21
+ team_ids: string[];
22
+ };
23
+ getContestDetails: (order: OrderProps, events: EventProps[], tournaments: TournamentProps[], matches: MatchProps[], athletes: AthleteProps[], teams: TeamProps[], leagues: LeagueProps[]) => {
24
+ title: string;
25
+ time: string;
26
+ league?: LeagueProps;
27
+ athlete?: AthleteProps;
28
+ team?: TeamProps;
29
+ };
30
+ getOddsLabel: (odds: number, decimals?: number) => string;
7
31
  };
8
32
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/SocialComponents/api/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAIvD,OAAO,EAAE,kBAAkB,EAAE,CAAA;AAE7B,QAAA,MAAM,kBAAkB;;yCAMqB,MAAM,EAAE;0CAIP,mBAAmB,KAAE,OAAO,CAAC,mBAAmB,CAAC;CAI9F,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/SocialComponents/api/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,mBAAmB,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAOlJ,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAA;AAEjD,QAAA,MAAM,kBAAkB;;sBAMA,OAAO,CAAC,WAAW,EAAE,CAAC;yCAQD,MAAM,EAAE;0CAIP,mBAAmB,KAAE,OAAO,CAAC,mBAAmB,CAAC;qCAItD,MAAM,EAAE,KAAE,OAAO,CAAC,UAAU,EAAE,CAAC;sCAS9B,MAAM,EAAE,KAAE,OAAO,CAAC,UAAU,EAAE,CAAC;oCAShC,MAAM,EAAE,KAAE,OAAO,CAAC,YAAY,EAAE,CAAC;oDASlB,MAAM,EAAE,KAAE,OAAO,CAAC,eAAe,EAAE,CAAC;8BAS1D,MAAM,EAAE;CASzC,CAAA;AAGD,QAAA,MAAM,kBAAkB;0BACC,UAAU;+BAYL,UAAU,EAAE;;;;;;;+BAWZ,UAAU,UAAS,UAAU,EAAE,eAAc,eAAe,EAAE,WAAU,UAAU,EAAE,YAAW,YAAY,EAAE,SAAQ,SAAS,EAAE,WAAU,WAAW,EAAE,KAAE;QAAE,KAAK,EAAC,MAAM,CAAC;QAAC,IAAI,EAAC,MAAM,CAAC;QAAC,MAAM,CAAC,EAAC,WAAW,CAAC;QAAC,OAAO,CAAC,EAAC,YAAY,CAAC;QAAC,IAAI,CAAC,EAAC,SAAS,CAAA;KAAE;yBA0BzP,MAAM,aAAY,MAAM;CAM/C,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import PlayerCard from "./PlayerCard";
2
2
  import PlayerList from "./PlayerList";
3
- export { PlayerCard, PlayerList };
3
+ import PlayerProfile from "./PlayerProfile";
4
+ export { PlayerCard, PlayerList, PlayerProfile };
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/index.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,UAAU,MAAM,cAAc,CAAC;AAGtC,OAAO,EACH,UAAU,EACV,UAAU,EACb,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/SocialComponents/index.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EACH,UAAU,EACV,UAAU,EACV,aAAa,EAChB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "be-components",
3
- "version": "2.1.2",
3
+ "version": "2.1.4",
4
4
  "description": "Components for BettorEdge Apps",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -57,6 +57,8 @@
57
57
  "@evilmartians/lefthook": "^1.5.0",
58
58
  "@react-native/eslint-config": "^0.73.1",
59
59
  "@release-it/conventional-changelog": "^5.0.0",
60
+ "@types/draft-js": "^0.11.18",
61
+ "@types/is-url": "^1.2.32",
60
62
  "@types/jest": "^29.5.5",
61
63
  "@types/react": "^18.2.44",
62
64
  "commitlint": "^17.0.2",
@@ -163,6 +165,8 @@
163
165
  "@react-spring/web": "^9.7.3",
164
166
  "@types/uuid": "^9.0.8",
165
167
  "axios": "^1.6.8",
168
+ "draft-js": "^0.11.7",
169
+ "is-url": "^1.2.4",
166
170
  "moment-mini": "^2.29.4",
167
171
  "react-datetime-picker": "^6.0.1",
168
172
  "react-device-detect": "^2.2.3",