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.
- package/lib/commonjs/Components/Icons.js +144 -0
- package/lib/commonjs/Components/Icons.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/TeamEventMarket/api/index.js +1 -1
- package/lib/commonjs/MarketComponents/components/TeamEventMarket/api/index.js.map +1 -1
- package/lib/commonjs/SocialComponents/PlayerCard.js +7 -6
- package/lib/commonjs/SocialComponents/PlayerCard.js.map +1 -1
- package/lib/commonjs/SocialComponents/PlayerList.js +1 -0
- package/lib/commonjs/SocialComponents/PlayerList.js.map +1 -1
- package/lib/commonjs/SocialComponents/PlayerProfile/api/index.js +149 -0
- package/lib/commonjs/SocialComponents/PlayerProfile/api/index.js.map +1 -0
- package/lib/commonjs/SocialComponents/PlayerProfile/components/PlayerFollowersList.js +138 -0
- package/lib/commonjs/SocialComponents/PlayerProfile/components/PlayerFollowersList.js.map +1 -0
- package/lib/commonjs/SocialComponents/PlayerProfile/components/PostsList.js +94 -0
- package/lib/commonjs/SocialComponents/PlayerProfile/components/PostsList.js.map +1 -0
- package/lib/commonjs/SocialComponents/PlayerProfile/index.js +501 -0
- package/lib/commonjs/SocialComponents/PlayerProfile/index.js.map +1 -0
- package/lib/commonjs/SocialComponents/PostCard/components/DraftTextEntities.js +36 -0
- package/lib/commonjs/SocialComponents/PostCard/components/DraftTextEntities.js.map +1 -0
- package/lib/commonjs/SocialComponents/PostCard/components/DraftTextViewer.js +59 -0
- package/lib/commonjs/SocialComponents/PostCard/components/DraftTextViewer.js.map +1 -0
- package/lib/commonjs/SocialComponents/PostCard/components/EntityHelpers.js +52 -0
- package/lib/commonjs/SocialComponents/PostCard/components/EntityHelpers.js.map +1 -0
- package/lib/commonjs/SocialComponents/PostCard/components/PostHeader.js +47 -0
- package/lib/commonjs/SocialComponents/PostCard/components/PostHeader.js.map +1 -0
- package/lib/commonjs/SocialComponents/PostCard/components/PostReactionBar.js +113 -0
- package/lib/commonjs/SocialComponents/PostCard/components/PostReactionBar.js.map +1 -0
- package/lib/commonjs/SocialComponents/PostCard/index.js +124 -0
- package/lib/commonjs/SocialComponents/PostCard/index.js.map +1 -0
- package/lib/commonjs/SocialComponents/SocialOrderCard.js +115 -0
- package/lib/commonjs/SocialComponents/SocialOrderCard.js.map +1 -0
- package/lib/commonjs/SocialComponents/SocialOrdersList.js +96 -0
- package/lib/commonjs/SocialComponents/SocialOrdersList.js.map +1 -0
- package/lib/commonjs/SocialComponents/api/index.js +204 -1
- package/lib/commonjs/SocialComponents/api/index.js.map +1 -1
- package/lib/commonjs/SocialComponents/index.js +7 -0
- package/lib/commonjs/SocialComponents/index.js.map +1 -1
- package/lib/module/Components/Icons.js +144 -0
- package/lib/module/Components/Icons.js.map +1 -1
- package/lib/module/MarketComponents/components/TeamEventMarket/api/index.js +1 -1
- package/lib/module/MarketComponents/components/TeamEventMarket/api/index.js.map +1 -1
- package/lib/module/SocialComponents/PlayerCard.js +7 -6
- package/lib/module/SocialComponents/PlayerCard.js.map +1 -1
- package/lib/module/SocialComponents/PlayerList.js +1 -0
- package/lib/module/SocialComponents/PlayerList.js.map +1 -1
- package/lib/module/SocialComponents/PlayerProfile/api/index.js +143 -0
- package/lib/module/SocialComponents/PlayerProfile/api/index.js.map +1 -0
- package/lib/module/SocialComponents/PlayerProfile/components/PlayerFollowersList.js +129 -0
- package/lib/module/SocialComponents/PlayerProfile/components/PlayerFollowersList.js.map +1 -0
- package/lib/module/SocialComponents/PlayerProfile/components/PostsList.js +86 -0
- package/lib/module/SocialComponents/PlayerProfile/components/PostsList.js.map +1 -0
- package/lib/module/SocialComponents/PlayerProfile/index.js +493 -0
- package/lib/module/SocialComponents/PlayerProfile/index.js.map +1 -0
- package/lib/module/SocialComponents/PostCard/components/DraftTextEntities.js +27 -0
- package/lib/module/SocialComponents/PostCard/components/DraftTextEntities.js.map +1 -0
- package/lib/module/SocialComponents/PostCard/components/DraftTextViewer.js +51 -0
- package/lib/module/SocialComponents/PostCard/components/DraftTextViewer.js.map +1 -0
- package/lib/module/SocialComponents/PostCard/components/EntityHelpers.js +41 -0
- package/lib/module/SocialComponents/PostCard/components/EntityHelpers.js.map +1 -0
- package/lib/module/SocialComponents/PostCard/components/PostHeader.js +40 -0
- package/lib/module/SocialComponents/PostCard/components/PostHeader.js.map +1 -0
- package/lib/module/SocialComponents/PostCard/components/PostReactionBar.js +104 -0
- package/lib/module/SocialComponents/PostCard/components/PostReactionBar.js.map +1 -0
- package/lib/module/SocialComponents/PostCard/index.js +115 -0
- package/lib/module/SocialComponents/PostCard/index.js.map +1 -0
- package/lib/module/SocialComponents/SocialOrderCard.js +108 -0
- package/lib/module/SocialComponents/SocialOrderCard.js.map +1 -0
- package/lib/module/SocialComponents/SocialOrdersList.js +87 -0
- package/lib/module/SocialComponents/SocialOrdersList.js.map +1 -0
- package/lib/module/SocialComponents/api/index.js +204 -1
- package/lib/module/SocialComponents/api/index.js.map +1 -1
- package/lib/module/SocialComponents/index.js +2 -1
- package/lib/module/SocialComponents/index.js.map +1 -1
- package/lib/typescript/src/Components/Icons.d.ts +5 -0
- package/lib/typescript/src/Components/Icons.d.ts.map +1 -1
- package/lib/typescript/src/SocialComponents/PlayerCard.d.ts +2 -1
- package/lib/typescript/src/SocialComponents/PlayerCard.d.ts.map +1 -1
- package/lib/typescript/src/SocialComponents/PlayerList.d.ts.map +1 -1
- package/lib/typescript/src/SocialComponents/PlayerProfile/api/index.d.ts +19 -0
- package/lib/typescript/src/SocialComponents/PlayerProfile/api/index.d.ts.map +1 -0
- package/lib/typescript/src/SocialComponents/PlayerProfile/components/PlayerFollowersList.d.ts +13 -0
- package/lib/typescript/src/SocialComponents/PlayerProfile/components/PlayerFollowersList.d.ts.map +1 -0
- package/lib/typescript/src/SocialComponents/PlayerProfile/components/PostsList.d.ts +9 -0
- package/lib/typescript/src/SocialComponents/PlayerProfile/components/PostsList.d.ts.map +1 -0
- package/lib/typescript/src/SocialComponents/PlayerProfile/index.d.ts +9 -0
- package/lib/typescript/src/SocialComponents/PlayerProfile/index.d.ts.map +1 -0
- package/lib/typescript/src/SocialComponents/PostCard/components/DraftTextEntities.d.ts +4 -0
- package/lib/typescript/src/SocialComponents/PostCard/components/DraftTextEntities.d.ts.map +1 -0
- package/lib/typescript/src/SocialComponents/PostCard/components/DraftTextViewer.d.ts +12 -0
- package/lib/typescript/src/SocialComponents/PostCard/components/DraftTextViewer.d.ts.map +1 -0
- package/lib/typescript/src/SocialComponents/PostCard/components/EntityHelpers.d.ts +12 -0
- package/lib/typescript/src/SocialComponents/PostCard/components/EntityHelpers.d.ts.map +1 -0
- package/lib/typescript/src/SocialComponents/PostCard/components/PostHeader.d.ts +9 -0
- package/lib/typescript/src/SocialComponents/PostCard/components/PostHeader.d.ts.map +1 -0
- package/lib/typescript/src/SocialComponents/PostCard/components/PostReactionBar.d.ts +11 -0
- package/lib/typescript/src/SocialComponents/PostCard/components/PostReactionBar.d.ts.map +1 -0
- package/lib/typescript/src/SocialComponents/PostCard/index.d.ts +11 -0
- package/lib/typescript/src/SocialComponents/PostCard/index.d.ts.map +1 -0
- package/lib/typescript/src/SocialComponents/SocialOrderCard.d.ts +13 -0
- package/lib/typescript/src/SocialComponents/SocialOrderCard.d.ts.map +1 -0
- package/lib/typescript/src/SocialComponents/SocialOrdersList.d.ts +9 -0
- package/lib/typescript/src/SocialComponents/SocialOrdersList.d.ts.map +1 -0
- package/lib/typescript/src/SocialComponents/api/index.d.ts +26 -2
- package/lib/typescript/src/SocialComponents/api/index.d.ts.map +1 -1
- package/lib/typescript/src/SocialComponents/index.d.ts +2 -1
- package/lib/typescript/src/SocialComponents/index.d.ts.map +1 -1
- package/package.json +5 -1
- package/src/Components/Icons.tsx +76 -0
- package/src/MarketComponents/components/TeamEventMarket/api/index.ts +1 -1
- package/src/SocialComponents/PlayerCard.tsx +6 -5
- package/src/SocialComponents/PlayerList.tsx +2 -1
- package/src/SocialComponents/PlayerProfile/api/index.ts +138 -0
- package/src/SocialComponents/PlayerProfile/components/PlayerFollowersList.tsx +111 -0
- package/src/SocialComponents/PlayerProfile/components/PostsList.tsx +92 -0
- package/src/SocialComponents/PlayerProfile/index.tsx +380 -0
- package/src/SocialComponents/PostCard/components/DraftTextEntities.tsx +25 -0
- package/src/SocialComponents/PostCard/components/DraftTextViewer.tsx +61 -0
- package/src/SocialComponents/PostCard/components/EntityHelpers.tsx +44 -0
- package/src/SocialComponents/PostCard/components/PostHeader.tsx +29 -0
- package/src/SocialComponents/PostCard/components/PostReactionBar.tsx +75 -0
- package/src/SocialComponents/PostCard/index.tsx +105 -0
- package/src/SocialComponents/SocialOrderCard.tsx +75 -0
- package/src/SocialComponents/SocialOrdersList.tsx +93 -0
- package/src/SocialComponents/api/index.ts +119 -4
- package/src/SocialComponents/index.tsx +3 -2
- package/src/types.d.ts +245 -0
|
@@ -3,15 +3,27 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.SocialComponentApi = void 0;
|
|
6
|
+
exports.SocialOrderHelpers = exports.SocialComponentApi = void 0;
|
|
7
7
|
var _axios = _interopRequireDefault(require("axios"));
|
|
8
8
|
var _ApiOverrides = require("../../ApiOverrides");
|
|
9
|
+
var _colors = _interopRequireDefault(require("../../constants/colors"));
|
|
10
|
+
var _momentMini = _interopRequireDefault(require("moment-mini"));
|
|
9
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
12
|
let SOCIAL_SVC_API = '';
|
|
13
|
+
let EVENT_SVC_API = '';
|
|
11
14
|
const SocialComponentApi = exports.SocialComponentApi = {
|
|
12
15
|
setEnvironment: () => {
|
|
13
16
|
const endpoints = _ApiOverrides.APIOverrides.getEndpoints();
|
|
14
17
|
SOCIAL_SVC_API = endpoints['SOCIAL_SVC_API'];
|
|
18
|
+
EVENT_SVC_API = endpoints['EVENT_SVC_API'];
|
|
19
|
+
},
|
|
20
|
+
getLeagues: async () => {
|
|
21
|
+
try {
|
|
22
|
+
const resp = await _axios.default.get(`${EVENT_SVC_API}/v1/leagues`);
|
|
23
|
+
return resp.data.leagues;
|
|
24
|
+
} catch (e) {
|
|
25
|
+
return [];
|
|
26
|
+
}
|
|
15
27
|
},
|
|
16
28
|
getBulkPlayerfollowers: async player_ids => {
|
|
17
29
|
const resp = await _axios.default.post(`${SOCIAL_SVC_API}/v1/followers/bulk/get`, {
|
|
@@ -24,6 +36,197 @@ const SocialComponentApi = exports.SocialComponentApi = {
|
|
|
24
36
|
player_follower
|
|
25
37
|
});
|
|
26
38
|
return resp.data.player_follower;
|
|
39
|
+
},
|
|
40
|
+
getEventsByEventIds: async event_ids => {
|
|
41
|
+
if (event_ids.length == 0) {
|
|
42
|
+
return [];
|
|
43
|
+
}
|
|
44
|
+
try {
|
|
45
|
+
const resp = await _axios.default.post(`${EVENT_SVC_API}/v1/events/bulk/get`, {
|
|
46
|
+
attribute: 'event_id',
|
|
47
|
+
values: event_ids
|
|
48
|
+
});
|
|
49
|
+
return resp.data.events;
|
|
50
|
+
} catch (e) {
|
|
51
|
+
return [];
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
getMatchesByMatchIds: async match_ids => {
|
|
55
|
+
if (match_ids.length == 0) {
|
|
56
|
+
return [];
|
|
57
|
+
}
|
|
58
|
+
try {
|
|
59
|
+
const resp = await _axios.default.post(`${EVENT_SVC_API}/v1/matches/bulk/get`, {
|
|
60
|
+
attribute: 'match_id',
|
|
61
|
+
values: match_ids
|
|
62
|
+
});
|
|
63
|
+
return resp.data.matches;
|
|
64
|
+
} catch (e) {
|
|
65
|
+
return [];
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
getAthletesByIds: async athlete_ids => {
|
|
69
|
+
if (athlete_ids.length == 0) {
|
|
70
|
+
return [];
|
|
71
|
+
}
|
|
72
|
+
try {
|
|
73
|
+
const resp = await _axios.default.post(`${EVENT_SVC_API}/v1/athletes/bulk/get`, {
|
|
74
|
+
attribute: 'athlete_id',
|
|
75
|
+
values: athlete_ids
|
|
76
|
+
});
|
|
77
|
+
return resp.data.athletes;
|
|
78
|
+
} catch (e) {
|
|
79
|
+
return [];
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
getTournamentsByTournamentIds: async tournament_ids => {
|
|
83
|
+
if (tournament_ids.length == 0) {
|
|
84
|
+
return [];
|
|
85
|
+
}
|
|
86
|
+
try {
|
|
87
|
+
const resp = await _axios.default.post(`${EVENT_SVC_API}/v1/tournaments/bulk/get`, {
|
|
88
|
+
attribute: 'event_id',
|
|
89
|
+
values: tournament_ids
|
|
90
|
+
});
|
|
91
|
+
return resp.data.tournaments;
|
|
92
|
+
} catch (e) {
|
|
93
|
+
return [];
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
getTeamsByIds: async team_ids => {
|
|
97
|
+
if (team_ids.length == 0) {
|
|
98
|
+
return [];
|
|
99
|
+
}
|
|
100
|
+
try {
|
|
101
|
+
const resp = await _axios.default.post(`${EVENT_SVC_API}/v1/teams/bulk/get`, {
|
|
102
|
+
attribute: 'team_id',
|
|
103
|
+
values: team_ids
|
|
104
|
+
});
|
|
105
|
+
return resp.data.teams;
|
|
106
|
+
} catch (e) {
|
|
107
|
+
return [];
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
const SocialOrderHelpers = exports.SocialOrderHelpers = {
|
|
112
|
+
getIconColor: order => {
|
|
113
|
+
switch (order.status) {
|
|
114
|
+
case 'approved':
|
|
115
|
+
return _colors.default.brand.electric;
|
|
116
|
+
case 'closed':
|
|
117
|
+
return _colors.default.brand.midnight;
|
|
118
|
+
case 'cancelled':
|
|
119
|
+
return _colors.default.highlights.highlight200;
|
|
120
|
+
default:
|
|
121
|
+
return _colors.default.shades.black;
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
getIdsFromOrders: orders => {
|
|
125
|
+
let event_ids = [],
|
|
126
|
+
tournament_ids = [],
|
|
127
|
+
match_ids = [],
|
|
128
|
+
athlete_ids = [],
|
|
129
|
+
team_ids = [];
|
|
130
|
+
orders.map(o => {
|
|
131
|
+
if (o.event_type == 'team') {
|
|
132
|
+
event_ids.push(o.event_id);
|
|
133
|
+
}
|
|
134
|
+
if (o.event_type == 'tournament') {
|
|
135
|
+
tournament_ids.push(o.event_id);
|
|
136
|
+
}
|
|
137
|
+
if (o.event_type == 'match') {
|
|
138
|
+
match_ids.push(o.event_id);
|
|
139
|
+
}
|
|
140
|
+
if (o.side_type == 'athlete') {
|
|
141
|
+
athlete_ids.push(o.side_id);
|
|
142
|
+
}
|
|
143
|
+
if (o.side_type == 'team') {
|
|
144
|
+
team_ids.push(o.side_id);
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
return {
|
|
148
|
+
event_ids,
|
|
149
|
+
tournament_ids,
|
|
150
|
+
match_ids,
|
|
151
|
+
athlete_ids,
|
|
152
|
+
team_ids
|
|
153
|
+
};
|
|
154
|
+
},
|
|
155
|
+
getContestDetails: (order, events, tournaments, matches, athletes, teams, leagues) => {
|
|
156
|
+
let athlete = order.side_type == 'athlete' ? athletes.find(a => a.athlete_id == order.side_id) : undefined;
|
|
157
|
+
let team = order.side_type == 'team' ? teams.find(t => t.team_id == order.side_id) : undefined;
|
|
158
|
+
switch (order.event_type) {
|
|
159
|
+
case 'team':
|
|
160
|
+
console.log('HERE WE GO');
|
|
161
|
+
let event = events.find(e => e.event_id == order.event_id);
|
|
162
|
+
console.log(event);
|
|
163
|
+
if (!event) {
|
|
164
|
+
return {
|
|
165
|
+
team,
|
|
166
|
+
athlete,
|
|
167
|
+
title: '',
|
|
168
|
+
time: ''
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
let league = leagues.find(l => l.league_id == event.league_id);
|
|
172
|
+
return {
|
|
173
|
+
team,
|
|
174
|
+
athlete,
|
|
175
|
+
league,
|
|
176
|
+
title: event.event_title,
|
|
177
|
+
time: event.status == 'scheduled' ? (0, _momentMini.default)(event.scheduled_datetime).format('MM/DD @ hh:mm a') : event.time_detail ?? ''
|
|
178
|
+
};
|
|
179
|
+
case 'match':
|
|
180
|
+
let match = matches.find(m => m.match_id == order.event_id);
|
|
181
|
+
if (!match) {
|
|
182
|
+
return {
|
|
183
|
+
team,
|
|
184
|
+
athlete,
|
|
185
|
+
title: '',
|
|
186
|
+
time: ''
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
let tourney = tournaments.find(t => t.tournament_id == match.tournament_id);
|
|
190
|
+
let m_league = leagues.find(l => l.league_id == tourney?.league_id);
|
|
191
|
+
return {
|
|
192
|
+
team,
|
|
193
|
+
athlete,
|
|
194
|
+
league: m_league,
|
|
195
|
+
title: match.match_title,
|
|
196
|
+
time: (0, _momentMini.default)(match.scheduled_datetime).format('MM/DD @ hh:mm a')
|
|
197
|
+
};
|
|
198
|
+
case 'tournament':
|
|
199
|
+
let tournament = tournaments.find(t => t.tournament_id == order.event_id);
|
|
200
|
+
if (!tournament) {
|
|
201
|
+
return {
|
|
202
|
+
title: '',
|
|
203
|
+
time: ''
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
const t_league = leagues.find(l => l.league_id == tournament.league_id);
|
|
207
|
+
return {
|
|
208
|
+
team,
|
|
209
|
+
athlete,
|
|
210
|
+
league: t_league,
|
|
211
|
+
title: tournament.tournament_name,
|
|
212
|
+
time: (0, _momentMini.default)(tournament.scheduled_datetime).format('MM/DD @ hh:mm a')
|
|
213
|
+
};
|
|
214
|
+
default:
|
|
215
|
+
return {
|
|
216
|
+
title: '',
|
|
217
|
+
time: ''
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
getOddsLabel: (odds, decimals) => {
|
|
222
|
+
let new_odds = odds.toFixed();
|
|
223
|
+
if (decimals) {
|
|
224
|
+
new_odds = odds.toFixed(decimals);
|
|
225
|
+
}
|
|
226
|
+
if (odds < 0) {
|
|
227
|
+
return `${new_odds}`;
|
|
228
|
+
}
|
|
229
|
+
return `+${new_odds}`;
|
|
27
230
|
}
|
|
28
231
|
};
|
|
29
232
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_axios","_interopRequireDefault","require","_ApiOverrides","e","__esModule","default","SOCIAL_SVC_API","SocialComponentApi","exports","setEnvironment","endpoints","APIOverrides","getEndpoints","
|
|
1
|
+
{"version":3,"names":["_axios","_interopRequireDefault","require","_ApiOverrides","_colors","_momentMini","e","__esModule","default","SOCIAL_SVC_API","EVENT_SVC_API","SocialComponentApi","exports","setEnvironment","endpoints","APIOverrides","getEndpoints","getLeagues","resp","axios","get","data","leagues","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","SocialOrderHelpers","getIconColor","order","status","Colors","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","moment","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"],"sourceRoot":"../../../../src","sources":["SocialComponents/api/index.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAEA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,WAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAiC,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEjC,IAAIG,cAAc,GAAG,EA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AAC,CAACC,MAAM,CAAC,iBAAiB;QAAE,CAAC;MAC1I,KAAK,YAAY;QACb,IAAIS,UAAU,GAAGtD,WAAW,CAAC2B,IAAI,CAACK,CAAC,IAAIA,CAAC,CAACmB,aAAa,IAAI7C,KAAK,CAACgB,QAAQ,CAAC;QACzE,IAAG,CAACgC,UAAU,EAAC;UAAE,OAAO;YAAEjB,KAAK,EAAE,EAAE;YAAEC,IAAI,EAAE;UAAG,CAAC;QAAC;QAChD,MAAMiB,QAAQ,GAAG5E,OAAO,CAACgD,IAAI,CAACa,CAAC,IAAIA,CAAC,CAACC,SAAS,IAAIa,UAAU,CAACb,SAAS,CAAC;QACvE,OAAO;UAAEV,IAAI;UAAEL,OAAO;UAAEa,MAAM,EAAEgB,QAAQ;UAAElB,KAAK,EAAEiB,UAAU,CAACE,eAAe;UAAElB,IAAI,EAAE,IAAAK,mBAAM,EAACW,UAAU,CAACV,kBAAkB,CAAC,CAACC,MAAM,CAAC,iBAAiB;QAAE,CAAC;MACxJ;QAAU,OAAO;UAAER,KAAK,EAAE,EAAE;UAAEC,IAAI,EAAE;QAAG,CAAC;IAC5C;EACJ,CAAC;EACDmB,YAAY,EAAEA,CAACC,IAAW,EAAEC,QAAgB,KAAK;IAC7C,IAAIC,QAAQ,GAAGF,IAAI,CAACG,OAAO,CAAC,CAAC;IAC7B,IAAGF,QAAQ,EAAC;MAAEC,QAAQ,GAAGF,IAAI,CAACG,OAAO,CAACF,QAAQ,CAAC;IAAC;IAChD,IAAGD,IAAI,GAAG,CAAC,EAAC;MAAE,OAAO,GAAGE,QAAQ,EAAE;IAAC;IACnC,OAAO,IAAIA,QAAQ,EAAE;EACzB;AACJ,CAAC","ignoreList":[]}
|
|
@@ -15,7 +15,14 @@ Object.defineProperty(exports, "PlayerList", {
|
|
|
15
15
|
return _PlayerList.default;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
+
Object.defineProperty(exports, "PlayerProfile", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _PlayerProfile.default;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
18
24
|
var _PlayerCard = _interopRequireDefault(require("./PlayerCard"));
|
|
19
25
|
var _PlayerList = _interopRequireDefault(require("./PlayerList"));
|
|
26
|
+
var _PlayerProfile = _interopRequireDefault(require("./PlayerProfile"));
|
|
20
27
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
21
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_PlayerCard","_interopRequireDefault","require","_PlayerList","e","__esModule","default"],"sourceRoot":"../../../src","sources":["SocialComponents/index.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"names":["_PlayerCard","_interopRequireDefault","require","_PlayerList","_PlayerProfile","e","__esModule","default"],"sourceRoot":"../../../src","sources":["SocialComponents/index.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,cAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA4C,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -61,6 +61,97 @@ const PodiumIcon = ({
|
|
|
61
61
|
stroke: color ?? Colors.brand.midnight
|
|
62
62
|
}))));
|
|
63
63
|
};
|
|
64
|
+
const TwitterIcon = ({
|
|
65
|
+
size
|
|
66
|
+
}) => {
|
|
67
|
+
const icon_size = size ?? 20;
|
|
68
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
69
|
+
width: `${icon_size}px`,
|
|
70
|
+
height: `${icon_size}px`,
|
|
71
|
+
viewBox: "0 0 24 24",
|
|
72
|
+
version: "1.1",
|
|
73
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
74
|
+
}, /*#__PURE__*/React.createElement("title", null, "twitter-svgrepo-com"), /*#__PURE__*/React.createElement("g", {
|
|
75
|
+
id: "ss",
|
|
76
|
+
stroke: "none",
|
|
77
|
+
"stroke-width": "1",
|
|
78
|
+
fill: "none",
|
|
79
|
+
"fill-rule": "evenodd"
|
|
80
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
81
|
+
id: "twitter-svgrepo-com"
|
|
82
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
83
|
+
id: "Oval",
|
|
84
|
+
fill: "#1DA1F2",
|
|
85
|
+
"fill-rule": "nonzero",
|
|
86
|
+
cx: "12",
|
|
87
|
+
cy: "12",
|
|
88
|
+
r: "12"
|
|
89
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
90
|
+
d: "M19.2,7.38516 C18.67062,7.62036 18.10086,7.77876 17.50332,7.85028 C18.11334,7.48452 18.58182,6.9057 18.80208,6.216 C18.2319,6.55482 17.59884,6.8001 16.92642,6.93306 C16.38738,6.35904 15.61896,6 14.7699,6 C13.1385,6 11.81568,7.32282 11.81568,8.95422 C11.81568,9.18552 11.84208,9.41112 11.89248,9.6276 C9.43698,9.50472 7.2603,8.3283 5.80314,6.5409 C5.54874,6.97722 5.4033,7.48452 5.4033,8.02596 C5.4033,9.0507 5.9241,9.95496 6.71748,10.48482 C6.23268,10.46946 5.7777,10.3365 5.37882,10.11522 L5.37882,10.15218 C5.37882,11.58396 6.3978,12.7776 7.74846,13.04976 C7.50078,13.11696 7.23966,13.15344 6.97044,13.15344 C6.77988,13.15344 6.5946,13.13472 6.41412,13.10016 C6.78996,14.2737 7.88142,15.12804 9.17394,15.15204 C8.16312,15.94398 6.88932,16.41672 5.50506,16.41672 C5.26602,16.41672 5.03088,16.4028 4.8,16.37496 C6.10746,17.21304 7.66014,17.70258 9.3285,17.70258 C14.76222,17.70258 17.73372,13.20096 17.73372,9.29736 C17.73372,9.1692 17.73132,9.04158 17.72508,8.91534 C18.30294,8.49774 18.804,7.97748 19.2,7.38516 Z",
|
|
91
|
+
id: "Path",
|
|
92
|
+
fill: "#FFFFFF"
|
|
93
|
+
}))));
|
|
94
|
+
};
|
|
95
|
+
const LinkedInIcon = ({
|
|
96
|
+
size
|
|
97
|
+
}) => {
|
|
98
|
+
const icon_size = size ?? 20;
|
|
99
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
100
|
+
width: `${icon_size}px`,
|
|
101
|
+
height: `${icon_size}px`,
|
|
102
|
+
viewBox: "0 0 24 24",
|
|
103
|
+
version: "1.1",
|
|
104
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
105
|
+
}, /*#__PURE__*/React.createElement("title", null, "linkedin-svgrepo-com"), /*#__PURE__*/React.createElement("g", {
|
|
106
|
+
id: "ss",
|
|
107
|
+
stroke: "none",
|
|
108
|
+
"stroke-width": "1",
|
|
109
|
+
fill: "none",
|
|
110
|
+
"fill-rule": "evenodd"
|
|
111
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
112
|
+
id: "linkedin-svgrepo-com"
|
|
113
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
114
|
+
id: "Oval",
|
|
115
|
+
fill: "#0077B5",
|
|
116
|
+
"fill-rule": "nonzero",
|
|
117
|
+
cx: "12",
|
|
118
|
+
cy: "12",
|
|
119
|
+
r: "12"
|
|
120
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
121
|
+
d: "M8.86482,6.17034 C8.86482,6.9174 8.29602,7.52196 7.40652,7.52196 C6.55164,7.52196 5.98278,6.9174 6.00042,6.17034 C5.98278,5.38698 6.55158,4.8 7.42356,4.8 C8.29602,4.8 8.84778,5.38698 8.86482,6.17034 Z M6.07194,17.29146 L6.07194,8.58972 L8.77626,8.58972 L8.77626,17.29086 L6.07194,17.29086 L6.07194,17.29146 Z",
|
|
122
|
+
id: "Shape",
|
|
123
|
+
fill: "#FFFFFF"
|
|
124
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
125
|
+
d: "M10.94358,11.36676 C10.94358,10.28142 10.90782,9.3561 10.87206,8.59092 L13.22106,8.59092 L13.34592,9.783 L13.39932,9.783 C13.75524,9.23124 14.64474,8.39562 16.08606,8.39562 C17.86512,8.39562 19.1997,9.57012 19.1997,12.1314 L19.1997,17.2926 L16.49532,17.2926 L16.49532,12.47028 C16.49532,11.34864 16.10424,10.58394 15.12558,10.58394 C14.37798,10.58394 13.93344,11.09994 13.75578,11.59782 C13.68426,11.77608 13.64904,12.02472 13.64904,12.27444 L13.64904,17.2926 L10.94466,17.2926 L10.94466,11.36676 L10.94358,11.36676 Z",
|
|
126
|
+
id: "Path",
|
|
127
|
+
fill: "#FFFFFF"
|
|
128
|
+
}))));
|
|
129
|
+
};
|
|
130
|
+
const LinkIcon = ({
|
|
131
|
+
size,
|
|
132
|
+
color
|
|
133
|
+
}) => {
|
|
134
|
+
const icon_size = size ?? 20;
|
|
135
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
136
|
+
width: `${icon_size}px`,
|
|
137
|
+
height: `${icon_size}px`,
|
|
138
|
+
viewBox: "0 0 24 24",
|
|
139
|
+
version: "1.1",
|
|
140
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
141
|
+
}, /*#__PURE__*/React.createElement("title", null, "link-circle-svgrepo-com"), /*#__PURE__*/React.createElement("g", {
|
|
142
|
+
id: "ss",
|
|
143
|
+
stroke: "none",
|
|
144
|
+
"stroke-width": "1",
|
|
145
|
+
fill: "none",
|
|
146
|
+
"fill-rule": "evenodd"
|
|
147
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
148
|
+
id: "link-circle-svgrepo-com",
|
|
149
|
+
fill: color ?? Colors.brand.midnight
|
|
150
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
151
|
+
d: "M1.757364,22.2426 C3.514716,24 6.34314,24 12,24 C17.6568,24 20.48532,24 22.2426,22.2426 C24,20.48532 24,17.6568 24,12 C24,6.34314 24,3.514716 22.2426,1.757364 C20.48532,0 17.6568,0 12,0 C6.34314,0 3.514716,0 1.757364,1.757364 C0,3.514716 0,6.34314 0,12 C0,17.6568 0,20.48532 1.757364,22.2426 Z M9,8.1 C6.846084,8.1 5.1,9.84612 5.1,12 C5.1,14.15388 6.846084,15.9 9,15.9 C11.15388,15.9 12.9,14.15388 12.9,12 C12.9,11.50296 13.30296,11.1 13.8,11.1 C14.29704,11.1 14.7,11.50296 14.7,12 C14.7,15.14808 12.14808,17.7 9,17.7 C5.85198,17.7 3.3,15.14808 3.3,12 C3.3,8.85198 5.85198,6.3 9,6.3 C9.497052,6.3 9.9,6.702948 9.9,7.2 C9.9,7.697052 9.497052,8.1 9,8.1 Z M18.9,12 C18.9,14.15388 17.15388,15.9 15,15.9 C14.50296,15.9 14.1,16.30296 14.1,16.8 C14.1,17.29704 14.50296,17.7 15,17.7 C18.14808,17.7 20.7,15.14808 20.7,12 C20.7,8.85198 18.14808,6.3 15,6.3 C11.85192,6.3 9.3,8.85198 9.3,12 C9.3,12.49704 9.70296,12.9 10.2,12.9 C10.69704,12.9 11.1,12.49704 11.1,12 C11.1,9.84612 12.84612,8.1 15,8.1 C17.15388,8.1 18.9,9.84612 18.9,12 Z",
|
|
152
|
+
id: "Shape"
|
|
153
|
+
}))));
|
|
154
|
+
};
|
|
64
155
|
const FlameIcon = ({
|
|
65
156
|
size,
|
|
66
157
|
color
|
|
@@ -737,6 +828,37 @@ const EdgeCoinIcon = ({
|
|
|
737
828
|
id: "Shape"
|
|
738
829
|
}))));
|
|
739
830
|
};
|
|
831
|
+
const ActivityIcon = ({
|
|
832
|
+
color,
|
|
833
|
+
size
|
|
834
|
+
}) => {
|
|
835
|
+
const ratio = 0.7857;
|
|
836
|
+
let width = size ?? 14;
|
|
837
|
+
let height = width * ratio;
|
|
838
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
839
|
+
width: `${width}px`,
|
|
840
|
+
height: `${height}px`,
|
|
841
|
+
viewBox: "0 0 28 22",
|
|
842
|
+
version: "1.1",
|
|
843
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
844
|
+
}, /*#__PURE__*/React.createElement("title", null, "activity-svgrepo-com"), /*#__PURE__*/React.createElement("g", {
|
|
845
|
+
id: "Page-1",
|
|
846
|
+
stroke: "none",
|
|
847
|
+
"stroke-width": "1",
|
|
848
|
+
fill: "none",
|
|
849
|
+
"fill-rule": "evenodd",
|
|
850
|
+
"stroke-linecap": "round",
|
|
851
|
+
"stroke-linejoin": "round"
|
|
852
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
853
|
+
id: "activity-svgrepo-com",
|
|
854
|
+
transform: "translate(2.000000, 2.000000)",
|
|
855
|
+
stroke: color ?? Colors.brand.midnight,
|
|
856
|
+
"stroke-width": "3"
|
|
857
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
858
|
+
d: "M0,9.80125802 L4.71504,9.80125802 C4.97052,9.80125802 5.19735429,9.63771516 5.27814857,9.39531516 L5.27814857,9.39531516 L8.35714286,0.158400878 L8.35714286,0.158400878 C8.42787429,-0.0537934081 8.7288,-0.0518048366 8.80525714,0.158400878 L8.80525714,0.158400878 L15.2142857,17.7833152 L15.2314286,17.830458 C15.3005143,18.0205723 15.5677714,18.0246866 15.6428571,17.8369723 L15.6428571,17.8369723 L18.6584571,10.298058 L18.6584571,10.298058 C18.7784571,9.99805802 19.0690286,9.80125802 19.3923429,9.80125802 L24,9.80125802",
|
|
859
|
+
id: "Path"
|
|
860
|
+
}))));
|
|
861
|
+
};
|
|
740
862
|
const ChangeIcon = ({
|
|
741
863
|
color,
|
|
742
864
|
size
|
|
@@ -2762,6 +2884,23 @@ const MarketClosedIcon = ({
|
|
|
2762
2884
|
id: "Shape"
|
|
2763
2885
|
}))));
|
|
2764
2886
|
};
|
|
2887
|
+
const ChatIcon = ({
|
|
2888
|
+
color,
|
|
2889
|
+
size
|
|
2890
|
+
}) => {
|
|
2891
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
2892
|
+
width: `${size ?? 18}`,
|
|
2893
|
+
height: `${size ?? 18}`,
|
|
2894
|
+
viewBox: "0 0 24 24",
|
|
2895
|
+
fill: "none",
|
|
2896
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
2897
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
2898
|
+
d: "M17 3.33782C15.5291 2.48697 13.8214 2 12 2C6.47715 2 2 6.47715 2 12C2 13.5997 2.37562 15.1116 3.04346 16.4525C3.22094 16.8088 3.28001 17.2161 3.17712 17.6006L2.58151 19.8267C2.32295 20.793 3.20701 21.677 4.17335 21.4185L6.39939 20.8229C6.78393 20.72 7.19121 20.7791 7.54753 20.9565C8.88837 21.6244 10.4003 22 12 22C17.5228 22 22 17.5228 22 12C22 10.1786 21.513 8.47087 20.6622 7",
|
|
2899
|
+
stroke: color ?? Colors.brand.midnight,
|
|
2900
|
+
"stroke-width": "1.5",
|
|
2901
|
+
"stroke-linecap": "round"
|
|
2902
|
+
}));
|
|
2903
|
+
};
|
|
2765
2904
|
const QuestionIcon = ({
|
|
2766
2905
|
color,
|
|
2767
2906
|
size
|
|
@@ -2965,6 +3104,9 @@ export default {
|
|
|
2965
3104
|
TrophyIcon,
|
|
2966
3105
|
ListIcon,
|
|
2967
3106
|
UserIcon,
|
|
3107
|
+
TwitterIcon,
|
|
3108
|
+
LinkedInIcon,
|
|
3109
|
+
LinkIcon,
|
|
2968
3110
|
PhoneIcon,
|
|
2969
3111
|
EmailIcon,
|
|
2970
3112
|
NotificationIcon,
|
|
@@ -2993,6 +3135,7 @@ export default {
|
|
|
2993
3135
|
SettingsIcon,
|
|
2994
3136
|
PayPalIcon,
|
|
2995
3137
|
ChevronIcon,
|
|
3138
|
+
ActivityIcon,
|
|
2996
3139
|
ShareSocialIcon,
|
|
2997
3140
|
EdgeCoinIcon,
|
|
2998
3141
|
PacerCarIcon,
|
|
@@ -3004,6 +3147,7 @@ export default {
|
|
|
3004
3147
|
USDIcon,
|
|
3005
3148
|
EyeOffIcon,
|
|
3006
3149
|
DiscoverCardIcon,
|
|
3150
|
+
ChatIcon,
|
|
3007
3151
|
AmexCardIcon,
|
|
3008
3152
|
TransactionIcon,
|
|
3009
3153
|
FlameIcon,
|