be-components 1.2.6 → 1.2.8
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/Competition/components/CompetitionCard.js +1 -1
- package/lib/commonjs/Competition/components/CompetitionCard.js.map +1 -1
- package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js +1 -1
- package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js.map +1 -1
- package/lib/commonjs/CompetitionManager/api/index.js +577 -0
- package/lib/commonjs/CompetitionManager/api/index.js.map +1 -0
- package/lib/commonjs/CompetitionManager/components/CompetitionContestsForm.js +439 -0
- package/lib/commonjs/CompetitionManager/components/CompetitionContestsForm.js.map +1 -0
- package/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.js +269 -0
- package/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.js.map +1 -0
- package/lib/commonjs/CompetitionManager/components/CompetitionMatchMarketCard.js +142 -0
- package/lib/commonjs/CompetitionManager/components/CompetitionMatchMarketCard.js.map +1 -0
- package/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.js +370 -0
- package/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.js.map +1 -0
- package/lib/commonjs/CompetitionManager/components/MarketSelector.js +99 -0
- package/lib/commonjs/CompetitionManager/components/MarketSelector.js.map +1 -0
- package/lib/commonjs/CompetitionManager/index.js +188 -0
- package/lib/commonjs/CompetitionManager/index.js.map +1 -0
- package/lib/commonjs/Components/Dropdown.js +98 -0
- package/lib/commonjs/Components/Dropdown.js.map +1 -0
- package/lib/commonjs/Components/Icons.js +1 -1
- package/lib/commonjs/Components/Icons.js.map +1 -1
- package/lib/commonjs/Markets/api/index.js +28 -0
- package/lib/commonjs/Markets/api/index.js.map +1 -0
- package/lib/commonjs/Markets/components/MarketButton.js +25 -0
- package/lib/commonjs/Markets/components/MarketButton.js.map +1 -0
- package/lib/commonjs/Squares/api/index.js.map +1 -1
- package/lib/commonjs/Squares/components/PrizeCard.js +161 -0
- package/lib/commonjs/Squares/components/PrizeCard.js.map +1 -0
- package/lib/commonjs/Squares/components/SquareCard.js.map +1 -1
- package/lib/commonjs/Squares/components/SquaresBoard.js +1 -0
- package/lib/commonjs/Squares/components/SquaresBoard.js.map +1 -1
- package/lib/commonjs/Squares/index.js +10 -1
- package/lib/commonjs/Squares/index.js.map +1 -1
- package/lib/commonjs/constants/styles.js +10 -0
- package/lib/commonjs/constants/styles.js.map +1 -1
- package/lib/commonjs/index.js +7 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/Competition/components/CompetitionCard.js +1 -1
- package/lib/module/Competition/components/CompetitionCard.js.map +1 -1
- package/lib/module/Competition/components/EnterCompetitionPrompt.js +1 -1
- package/lib/module/Competition/components/EnterCompetitionPrompt.js.map +1 -1
- package/lib/module/CompetitionManager/api/index.js +571 -0
- package/lib/module/CompetitionManager/api/index.js.map +1 -0
- package/lib/module/CompetitionManager/components/CompetitionContestsForm.js +434 -0
- package/lib/module/CompetitionManager/components/CompetitionContestsForm.js.map +1 -0
- package/lib/module/CompetitionManager/components/CompetitionInfoForm.js +262 -0
- package/lib/module/CompetitionManager/components/CompetitionInfoForm.js.map +1 -0
- package/lib/module/CompetitionManager/components/CompetitionMatchMarketCard.js +135 -0
- package/lib/module/CompetitionManager/components/CompetitionMatchMarketCard.js.map +1 -0
- package/lib/module/CompetitionManager/components/CompetitionSettingsForm.js +364 -0
- package/lib/module/CompetitionManager/components/CompetitionSettingsForm.js.map +1 -0
- package/lib/module/CompetitionManager/components/MarketSelector.js +92 -0
- package/lib/module/CompetitionManager/components/MarketSelector.js.map +1 -0
- package/lib/module/CompetitionManager/index.js +179 -0
- package/lib/module/CompetitionManager/index.js.map +1 -0
- package/lib/module/Components/Dropdown.js +89 -0
- package/lib/module/Components/Dropdown.js.map +1 -0
- package/lib/module/Components/Icons.js +1 -1
- package/lib/module/Components/Icons.js.map +1 -1
- package/lib/module/Markets/api/index.js +23 -0
- package/lib/module/Markets/api/index.js.map +1 -0
- package/lib/module/Markets/components/MarketButton.js +18 -0
- package/lib/module/Markets/components/MarketButton.js.map +1 -0
- package/lib/module/Squares/api/index.js.map +1 -1
- package/lib/module/Squares/components/PrizeCard.js +152 -0
- package/lib/module/Squares/components/PrizeCard.js.map +1 -0
- package/lib/module/Squares/components/SquareCard.js.map +1 -1
- package/lib/module/Squares/components/SquaresBoard.js +1 -0
- package/lib/module/Squares/components/SquaresBoard.js.map +1 -1
- package/lib/module/Squares/index.js +10 -1
- package/lib/module/Squares/index.js.map +1 -1
- package/lib/module/constants/styles.js +10 -0
- package/lib/module/constants/styles.js.map +1 -1
- package/lib/module/index.js +2 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/CompetitionManager/api/index.d.ts +109 -0
- package/lib/typescript/src/CompetitionManager/api/index.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionManager/components/CompetitionContestsForm.d.ts +23 -0
- package/lib/typescript/src/CompetitionManager/components/CompetitionContestsForm.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionManager/components/CompetitionInfoForm.d.ts +10 -0
- package/lib/typescript/src/CompetitionManager/components/CompetitionInfoForm.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionManager/components/CompetitionMatchMarketCard.d.ts +17 -0
- package/lib/typescript/src/CompetitionManager/components/CompetitionMatchMarketCard.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionManager/components/CompetitionSettingsForm.d.ts +13 -0
- package/lib/typescript/src/CompetitionManager/components/CompetitionSettingsForm.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionManager/components/MarketSelector.d.ts +13 -0
- package/lib/typescript/src/CompetitionManager/components/MarketSelector.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionManager/index.d.ts +8 -0
- package/lib/typescript/src/CompetitionManager/index.d.ts.map +1 -0
- package/lib/typescript/src/Components/Dropdown.d.ts +15 -0
- package/lib/typescript/src/Components/Dropdown.d.ts.map +1 -0
- package/lib/typescript/src/Components/Icons.d.ts.map +1 -1
- package/lib/typescript/src/Markets/api/index.d.ts +7 -0
- package/lib/typescript/src/Markets/api/index.d.ts.map +1 -0
- package/lib/typescript/src/Markets/components/MarketButton.d.ts +11 -0
- package/lib/typescript/src/Markets/components/MarketButton.d.ts.map +1 -0
- package/lib/typescript/src/Squares/api/index.d.ts +2 -1
- package/lib/typescript/src/Squares/api/index.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/PrizeCard.d.ts +11 -0
- package/lib/typescript/src/Squares/components/PrizeCard.d.ts.map +1 -0
- package/lib/typescript/src/Squares/components/SquareCard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/SquaresBoard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/index.d.ts.map +1 -1
- package/lib/typescript/src/constants/styles.d.ts +10 -0
- package/lib/typescript/src/constants/styles.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +2 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Competition/components/CompetitionCard.tsx +1 -1
- package/src/Competition/components/EnterCompetitionPrompt.tsx +2 -2
- package/src/CompetitionManager/api/index.ts +484 -0
- package/src/CompetitionManager/components/CompetitionContestsForm.tsx +473 -0
- package/src/CompetitionManager/components/CompetitionInfoForm.tsx +171 -0
- package/src/CompetitionManager/components/CompetitionMatchMarketCard.tsx +155 -0
- package/src/CompetitionManager/components/CompetitionSettingsForm.tsx +229 -0
- package/src/CompetitionManager/components/MarketSelector.tsx +66 -0
- package/src/CompetitionManager/index.tsx +163 -0
- package/src/Components/Dropdown.tsx +78 -0
- package/src/Components/Icons.tsx +1 -2
- package/src/Markets/api/index.ts +18 -0
- package/src/Markets/components/MarketButton.tsx +24 -0
- package/src/Squares/api/index.ts +2 -2
- package/src/Squares/components/PrizeCard.tsx +90 -0
- package/src/Squares/components/SquareCard.tsx +0 -1
- package/src/Squares/components/SquaresBoard.tsx +1 -0
- package/src/Squares/index.tsx +12 -2
- package/src/constants/styles.ts +5 -0
- package/src/index.tsx +2 -0
- package/src/types.d.ts +26 -2
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import { View, TouchableOpacity } from "react-native";
|
|
3
|
+
import { view_styles } from "../../constants/styles";
|
|
4
|
+
//import ImageUploader from '../../Components/ImageUploader';
|
|
5
|
+
|
|
6
|
+
import { Icons, Switch, Text, TextInput } from '../../Components';
|
|
7
|
+
import Colors from '../../constants/colors';
|
|
8
|
+
//import DropDown from '../../Components/Dropdown';
|
|
9
|
+
|
|
10
|
+
const CompetitionInfoForm = ({
|
|
11
|
+
competition,
|
|
12
|
+
width,
|
|
13
|
+
onCompetitionUpdate
|
|
14
|
+
}) => {
|
|
15
|
+
const [expanded, setExpanded] = useState(false);
|
|
16
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
17
|
+
style: {
|
|
18
|
+
...view_styles.section,
|
|
19
|
+
flexGrow: 1
|
|
20
|
+
}
|
|
21
|
+
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
22
|
+
style: view_styles.section_header,
|
|
23
|
+
onPress: () => setExpanded(!expanded)
|
|
24
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
25
|
+
style: {
|
|
26
|
+
flex: 1
|
|
27
|
+
}
|
|
28
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
29
|
+
theme: "header"
|
|
30
|
+
}, "Competition Information"), /*#__PURE__*/React.createElement(Text, {
|
|
31
|
+
style: {
|
|
32
|
+
marginTop: 3
|
|
33
|
+
},
|
|
34
|
+
theme: "body"
|
|
35
|
+
}, "Manage the high level information of this competition")), /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
|
|
36
|
+
direction: expanded ? 'up' : 'down',
|
|
37
|
+
color: Colors.brand.midnight,
|
|
38
|
+
size: 8
|
|
39
|
+
})), expanded ? /*#__PURE__*/React.createElement(View, {
|
|
40
|
+
nativeID: "competition_info",
|
|
41
|
+
style: {
|
|
42
|
+
...view_styles.section_body,
|
|
43
|
+
minWidth: 300,
|
|
44
|
+
maxWidth: width
|
|
45
|
+
}
|
|
46
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
47
|
+
nativeID: "competition_name",
|
|
48
|
+
style: {
|
|
49
|
+
...view_styles.body_row,
|
|
50
|
+
flexWrap: 'wrap',
|
|
51
|
+
maxWidth: width
|
|
52
|
+
}
|
|
53
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
54
|
+
style: {
|
|
55
|
+
flex: 1,
|
|
56
|
+
margin: 5,
|
|
57
|
+
minWidth: 200
|
|
58
|
+
}
|
|
59
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
60
|
+
theme: "header_2"
|
|
61
|
+
}, "Competition Name"), /*#__PURE__*/React.createElement(Text, {
|
|
62
|
+
style: {
|
|
63
|
+
marginTop: 3
|
|
64
|
+
},
|
|
65
|
+
theme: "body"
|
|
66
|
+
}, "Give the competition a memorable name that aligns with the type and payout.")), /*#__PURE__*/React.createElement(TextInput, {
|
|
67
|
+
style: {
|
|
68
|
+
...view_styles.input,
|
|
69
|
+
flexGrow: 1,
|
|
70
|
+
margin: 5
|
|
71
|
+
},
|
|
72
|
+
onChangeText: text => onCompetitionUpdate({
|
|
73
|
+
...competition,
|
|
74
|
+
competition_name: text
|
|
75
|
+
}),
|
|
76
|
+
value: competition.competition_name,
|
|
77
|
+
placeholder: "Competition Name",
|
|
78
|
+
placeholderTextColor: Colors.brand.slate
|
|
79
|
+
})), /*#__PURE__*/React.createElement(View, {
|
|
80
|
+
nativeID: "competition_description",
|
|
81
|
+
style: {
|
|
82
|
+
...view_styles.body_row,
|
|
83
|
+
flexWrap: 'wrap',
|
|
84
|
+
maxWidth: width
|
|
85
|
+
}
|
|
86
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
87
|
+
style: {
|
|
88
|
+
flex: 1,
|
|
89
|
+
margin: 5,
|
|
90
|
+
minWidth: 200
|
|
91
|
+
}
|
|
92
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
93
|
+
theme: "header_2"
|
|
94
|
+
}, "Competition Description"), /*#__PURE__*/React.createElement(Text, {
|
|
95
|
+
style: {
|
|
96
|
+
marginTop: 3
|
|
97
|
+
},
|
|
98
|
+
theme: "body"
|
|
99
|
+
}, "Give the competition a memorable description that would entice users to participate.")), /*#__PURE__*/React.createElement(TextInput, {
|
|
100
|
+
style: {
|
|
101
|
+
...view_styles.input,
|
|
102
|
+
flexGrow: 1,
|
|
103
|
+
margin: 5
|
|
104
|
+
},
|
|
105
|
+
onChangeText: text => onCompetitionUpdate({
|
|
106
|
+
...competition,
|
|
107
|
+
competition_description: text
|
|
108
|
+
}),
|
|
109
|
+
value: competition.competition_description,
|
|
110
|
+
placeholder: "Pick 5 games ATS from NFL Week 6 matchups",
|
|
111
|
+
placeholderTextColor: Colors.brand.slate
|
|
112
|
+
})), /*#__PURE__*/React.createElement(View, {
|
|
113
|
+
nativeID: "invite_only",
|
|
114
|
+
style: {
|
|
115
|
+
...view_styles.body_row,
|
|
116
|
+
flexWrap: 'wrap'
|
|
117
|
+
}
|
|
118
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
119
|
+
style: {
|
|
120
|
+
flex: 1,
|
|
121
|
+
margin: 5,
|
|
122
|
+
marginRight: 15
|
|
123
|
+
}
|
|
124
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
125
|
+
theme: "header_2"
|
|
126
|
+
}, "Make Private"), /*#__PURE__*/React.createElement(Text, {
|
|
127
|
+
style: {
|
|
128
|
+
marginTop: 3
|
|
129
|
+
},
|
|
130
|
+
theme: "body"
|
|
131
|
+
}, "Only access this competition using an invite code.")), /*#__PURE__*/React.createElement(Switch, {
|
|
132
|
+
value: competition.invite_only,
|
|
133
|
+
switch_type: "on_off",
|
|
134
|
+
onChange: value => onCompetitionUpdate({
|
|
135
|
+
...competition,
|
|
136
|
+
invite_only: value
|
|
137
|
+
})
|
|
138
|
+
})), false ? /*#__PURE__*/React.createElement(View, {
|
|
139
|
+
nativeID: "competition_description",
|
|
140
|
+
style: {
|
|
141
|
+
...view_styles.body_row,
|
|
142
|
+
flexWrap: 'wrap',
|
|
143
|
+
maxWidth: width
|
|
144
|
+
}
|
|
145
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
146
|
+
style: {
|
|
147
|
+
flex: 1,
|
|
148
|
+
margin: 5,
|
|
149
|
+
minWidth: 200
|
|
150
|
+
}
|
|
151
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
152
|
+
theme: "header_2"
|
|
153
|
+
}, "League Name"), /*#__PURE__*/React.createElement(Text, {
|
|
154
|
+
style: {
|
|
155
|
+
marginTop: 3
|
|
156
|
+
},
|
|
157
|
+
theme: "body"
|
|
158
|
+
}, "Set the name of the league")), /*#__PURE__*/React.createElement(TextInput, {
|
|
159
|
+
style: {
|
|
160
|
+
...view_styles.input,
|
|
161
|
+
flexGrow: 1
|
|
162
|
+
},
|
|
163
|
+
onChangeText: text => onCompetitionUpdate({
|
|
164
|
+
...competition,
|
|
165
|
+
league_name: text
|
|
166
|
+
}),
|
|
167
|
+
value: competition.league_name,
|
|
168
|
+
placeholder: "Add a league name",
|
|
169
|
+
placeholderTextColor: Colors.brand.slate
|
|
170
|
+
})) : /*#__PURE__*/React.createElement(React.Fragment, null), false ? /*#__PURE__*/React.createElement(View, {
|
|
171
|
+
nativeID: "invite_only",
|
|
172
|
+
style: {
|
|
173
|
+
...view_styles.body_row,
|
|
174
|
+
flexWrap: 'wrap'
|
|
175
|
+
}
|
|
176
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
177
|
+
style: {
|
|
178
|
+
flex: 1,
|
|
179
|
+
margin: 5,
|
|
180
|
+
minWidth: 200
|
|
181
|
+
}
|
|
182
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
183
|
+
theme: "header_2"
|
|
184
|
+
}, "Additional Prize"), /*#__PURE__*/React.createElement(Text, {
|
|
185
|
+
style: {
|
|
186
|
+
marginTop: 3
|
|
187
|
+
},
|
|
188
|
+
theme: "body"
|
|
189
|
+
}, "Is there an additional prize that will be delivered?")), /*#__PURE__*/React.createElement(Switch, {
|
|
190
|
+
value: competition.prize_override ? true : false,
|
|
191
|
+
switch_type: "on_off",
|
|
192
|
+
onChange: value => onCompetitionUpdate({
|
|
193
|
+
...competition,
|
|
194
|
+
prize_override: value ? 'Additional Prize!' : undefined
|
|
195
|
+
})
|
|
196
|
+
})) : /*#__PURE__*/React.createElement(React.Fragment, null)) : /*#__PURE__*/React.createElement(React.Fragment, null));
|
|
197
|
+
};
|
|
198
|
+
export default CompetitionInfoForm;
|
|
199
|
+
|
|
200
|
+
/*
|
|
201
|
+
{competition.prize_override || competition.prize_override == '' ?
|
|
202
|
+
<View nativeID="competition_info" style={{ margin:10, flex:4, flexGrow:4, minWidth:300, padding:10, borderRadius:4, marginRight:5, ...styles.float }}>
|
|
203
|
+
<View nativeID="header_row" style={{ flexDirection:'row', alignItems:'center', padding:5, borderBottomWidth:1, borderBottomColor:Colors.shades.shade600 }}>
|
|
204
|
+
<Text style={{ flex:1, marginRight:10 }} size={22} color={Colors.brand.slate} weight='bold'>Competition Prize Details</Text>
|
|
205
|
+
</View>
|
|
206
|
+
<View nativeID="competition_prize" style={{ flexDirection:'row', flexWrap:'wrap', alignItems:'center', padding:10 }}>
|
|
207
|
+
<View nativeID="prize_image">
|
|
208
|
+
<View style={{ flex:1, justifyContent:'center', alignItems:'center' }}>
|
|
209
|
+
{competition.prize_image?.url ?
|
|
210
|
+
<Image
|
|
211
|
+
source={{ uri : competition.prize_image.url }}
|
|
212
|
+
style={{ height: 100, width:100 }}
|
|
213
|
+
resizeMode="center"
|
|
214
|
+
/>
|
|
215
|
+
:
|
|
216
|
+
<Text>NO IMAGE!!</Text>
|
|
217
|
+
}
|
|
218
|
+
</View>
|
|
219
|
+
<ImageUploader
|
|
220
|
+
public_id={`comp_prize_${competition.competition_id}_image_${Math.random()}`}
|
|
221
|
+
label="Change Image"
|
|
222
|
+
onFinishUpload={(obj) => onCompetitionUpdate({ ...competition, prize_image: { ...obj, url: obj.secure_url } })}
|
|
223
|
+
/>
|
|
224
|
+
</View>
|
|
225
|
+
<View style={{ flex:1, minWidth:200 }}>
|
|
226
|
+
<View style={{ margin:5 }}>
|
|
227
|
+
<Text size={16} color={Colors.brand.midnight} weight='bold'>Prize Override</Text>
|
|
228
|
+
<Text size={14} color={Colors.brand.midnight} weight='regular'>Add details for the prize that will be delivered</Text>
|
|
229
|
+
</View>
|
|
230
|
+
<TextInput
|
|
231
|
+
style={{ minWidth:300, margin:5, padding:10, borderRadius:8,borderWidth:1, borderColor:Colors.shades.shade600 }}
|
|
232
|
+
onChangeText={(text) => onCompetitionUpdate({ ...competition, prize_override:text })}
|
|
233
|
+
value={competition.prize_override}
|
|
234
|
+
placeholder="Add a league name"
|
|
235
|
+
placeholderTextColor={Colors.brand.slate}
|
|
236
|
+
/>
|
|
237
|
+
</View>
|
|
238
|
+
</View>
|
|
239
|
+
</View>
|
|
240
|
+
:<></>}
|
|
241
|
+
*/
|
|
242
|
+
|
|
243
|
+
/*
|
|
244
|
+
<View style={{ ...view_styles.body_row, flexWrap:'wrap' }}>
|
|
245
|
+
<View style={{ flex:1, margin:5, minWidth:250 }}>
|
|
246
|
+
<Text theme='header_2'>Authenticate Strategy</Text>
|
|
247
|
+
<Text style={{ marginTop:3 }} theme='body'>What data would you like to collect in order to participate in this competition?</Text>
|
|
248
|
+
</View>
|
|
249
|
+
<DropDown
|
|
250
|
+
dropdown_options={[
|
|
251
|
+
{value: 'Strategy', eligible_options: auth_strategies.map(as => as.name)}
|
|
252
|
+
]}
|
|
253
|
+
selected_value={selected_strategy}
|
|
254
|
+
onOptionSelect={(option) => {
|
|
255
|
+
let strategy = auth_strategies.find(as => as.name == option)
|
|
256
|
+
if(competition.status != 'pending'){ return alert('Auth strategy cannot be changed after competition is activated') }
|
|
257
|
+
onCompetitionUpdate({ ...competition, auth_strategy_id: strategy.auth_strategy_id })
|
|
258
|
+
}}
|
|
259
|
+
/>
|
|
260
|
+
</View>
|
|
261
|
+
*/
|
|
262
|
+
//# sourceMappingURL=CompetitionInfoForm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useState","View","TouchableOpacity","view_styles","Icons","Switch","Text","TextInput","Colors","CompetitionInfoForm","competition","width","onCompetitionUpdate","expanded","setExpanded","createElement","style","section","flexGrow","section_header","onPress","flex","theme","marginTop","ChevronIcon","direction","color","brand","midnight","size","nativeID","section_body","minWidth","maxWidth","body_row","flexWrap","margin","input","onChangeText","text","competition_name","value","placeholder","placeholderTextColor","slate","competition_description","marginRight","invite_only","switch_type","onChange","league_name","Fragment","prize_override","undefined"],"sourceRoot":"../../../../src","sources":["CompetitionManager/components/CompetitionInfoForm.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,IAAI,EAAEC,gBAAgB,QAAQ,cAAc;AACrD,SAASC,WAAW,QAAQ,wBAAwB;AACpD;;AAEA,SAASC,KAAK,EAAEC,MAAM,EAAEC,IAAI,EAAEC,SAAS,QAAQ,kBAAkB;AACjE,OAAOC,MAAM,MAAM,wBAAwB;AAC3C;;AAQA,MAAMC,mBAAmB,GAAGA,CAAC;EAAEC,WAAW;EAAEC,KAAK;EAAEC;AAA6C,CAAC,KAAK;EAClG,MAAM,CAAEC,QAAQ,EAAEC,WAAW,CAAE,GAAGd,QAAQ,CAAC,KAAK,CAAC;EAIjD,oBACID,KAAA,CAAAgB,aAAA,CAACd,IAAI;IAACe,KAAK,EAAE;MAAE,GAAGb,WAAW,CAACc,OAAO;MAAEC,QAAQ,EAAC;IAAE;EAAE,gBAChDnB,KAAA,CAAAgB,aAAA,CAACb,gBAAgB;IAACc,KAAK,EAAEb,WAAW,CAACgB,cAAe;IAACC,OAAO,EAAEA,CAAA,KAAMN,WAAW,CAAC,CAACD,QAAQ;EAAE,gBACvFd,KAAA,CAAAgB,aAAA,CAACd,IAAI;IAACe,KAAK,EAAE;MAAEK,IAAI,EAAC;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AAM;IACHoC,KAAK,EAAE/B,WAAW,CAAC0C,cAAc,GAAG,IAAI,GAAG,KAAM;IACjDJ,WAAW,EAAC,QAAQ;IACpBC,QAAQ,EAAGR,KAAK,IAAK7B,mBAAmB,CAAC;MAAE,GAAGF,WAAW;MAAE0C,cAAc,EAAEX,KAAK,GAAG,mBAAmB,GAAEY;IAAU,CAAC;EAAE,CACxH,CACC,CAAC,gBACNtD,KAAA,CAAAgB,aAAA,CAAAhB,KAAA,CAAAoD,QAAA,MAAI,CACH,CAAC,gBACNpD,KAAA,CAAAgB,aAAA,CAAAhB,KAAA,CAAAoD,QAAA,MAAI,CACH,CAAC;AAEf,CAAC;AAED,eAAe1C,mBAAmB;;AAGlC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
//import { TouchableOpacity, View } from "react-native"
|
|
2
|
+
//import { v4 } from 'uuid';
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
//import { ManageCompetitionHelpers } from "../api";
|
|
6
|
+
//import { Text } from "../../Components";
|
|
7
|
+
//import Colors from "../../constants/colors";
|
|
8
|
+
|
|
9
|
+
const CompetitionMatchMarketCard = ({}) => {
|
|
10
|
+
/*
|
|
11
|
+
const [ setDraftCompetitionMatchMarket ] = useState<CompetitionMatchMarketProps | undefined>(undefined)
|
|
12
|
+
const trade_side = competition_match_markets.find(cmm => cmm.side == market.trade_side);
|
|
13
|
+
let trade_side_pick_pct = 0, o_side_pick_pct = 0;
|
|
14
|
+
const o_side = competition_match_markets.find(cmm => cmm.side != market.trade_side);
|
|
15
|
+
let total_count = 0
|
|
16
|
+
if(competition_summaries){
|
|
17
|
+
total_count = competition_summaries.reduce((a,b) => a + parseFloat(b.count), 0)
|
|
18
|
+
let trade_side_summary = competition_summaries.find(cs => cs.side == market.trade_side)
|
|
19
|
+
let o_side_summary = competition_summaries.find(cs => cs.side != market.trade_side)
|
|
20
|
+
if(trade_side_summary){
|
|
21
|
+
trade_side_pick_pct = trade_side_summary.count / total_count
|
|
22
|
+
}
|
|
23
|
+
if(o_side_summary){
|
|
24
|
+
o_side_pick_pct = o_side_summary.count / total_count
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
*/
|
|
28
|
+
/*
|
|
29
|
+
const isCMMValid = (cmm:CompetitionMatchMarketProps) => {
|
|
30
|
+
if(isNaN(cmm.odds)){ return false }
|
|
31
|
+
if(isNaN(cmm.var_1)){ return false }
|
|
32
|
+
if(market.type != 'Spread' && cmm.var_1 < 0){ return false }
|
|
33
|
+
if(market.var_1_required && cmm.var_1 == 0){ return false }
|
|
34
|
+
return true
|
|
35
|
+
}
|
|
36
|
+
*/
|
|
37
|
+
/*
|
|
38
|
+
const handleUpdateCMM = () => {
|
|
39
|
+
if(!draft_competition_match_market){ return }
|
|
40
|
+
//First check if the draft one is valie
|
|
41
|
+
if(!isCMMValid(draft_competition_match_market)){ return alert('Please correct any errors') }
|
|
42
|
+
let cmm = { ...draft_competition_match_market }
|
|
43
|
+
//cmm.odds = parseFloat(cmm.odds)
|
|
44
|
+
//cmm.var_1 = parseFloat(cmm.var_1)
|
|
45
|
+
//now we need to flip sides
|
|
46
|
+
let other_cmm = competition_match_markets.find(ncm => ncm.side != cmm.side)
|
|
47
|
+
if(other_cmm){
|
|
48
|
+
console.log('THERE WAS AN OTHER SIDE')
|
|
49
|
+
other_cmm.var_1 = cmm.var_1
|
|
50
|
+
other_cmm.odds = cmm.odds * -1
|
|
51
|
+
other_cmm.probability = ManageCompetitionHelpers.calcProbabilityFromOdds(other_cmm.odds)
|
|
52
|
+
} else {
|
|
53
|
+
return alert('NOT HANDLED. PLEASE AUTO GENERATE FIRST')
|
|
54
|
+
}
|
|
55
|
+
if(market.type == 'Spread'){
|
|
56
|
+
other_cmm.var_1 = other_cmm.var_1 * -1
|
|
57
|
+
}
|
|
58
|
+
onUpdateMarkets([{ ...cmm, probability: ManageCompetitionHelpers.calcProbabilityFromOdds(cmm.odds), status:'pending' }, { ...other_cmm, status:'pending'}])
|
|
59
|
+
return setDraftCompetitionMatchMarket(undefined)
|
|
60
|
+
}
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
/*
|
|
64
|
+
if(draft_competition_match_market){
|
|
65
|
+
return (
|
|
66
|
+
<View style={{ flexDirection:'row', alignItems:'center' }}>
|
|
67
|
+
<Text size={14} color={Colors.brand.midnight}>{draft_competition_match_market.side.toUpperCase()}</Text>
|
|
68
|
+
{market.var_1_required ?
|
|
69
|
+
<TextInput
|
|
70
|
+
style={{ padding:10, borderRadius:4, backgroundColor:Colors.shades.white, marginRight:20 }}
|
|
71
|
+
value={draft_competition_match_market.var_1}
|
|
72
|
+
onChangeText={(text) => setDraftCompetitionMatchMarket({ ...draft_competition_match_market, var_1: text })}
|
|
73
|
+
/>
|
|
74
|
+
:<></>}
|
|
75
|
+
<TextInput
|
|
76
|
+
style={{ padding:10, borderRadius:4, backgroundColor:Colors.shades.white }}
|
|
77
|
+
value={draft_competition_match_market.odds}
|
|
78
|
+
onChangeText={(text) => setDraftCompetitionMatchMarket({ ...draft_competition_match_market, odds: text })}
|
|
79
|
+
/>
|
|
80
|
+
<Button
|
|
81
|
+
title='Submit'
|
|
82
|
+
title_color={Colors.shades.white}
|
|
83
|
+
backgroundColor={Colors.utility.success}
|
|
84
|
+
onPress={() => handleUpdateCMM()}
|
|
85
|
+
/>
|
|
86
|
+
</View>
|
|
87
|
+
)
|
|
88
|
+
}
|
|
89
|
+
*/
|
|
90
|
+
|
|
91
|
+
/*
|
|
92
|
+
if(!trade_side || !o_side){
|
|
93
|
+
return (
|
|
94
|
+
<View style={{ flexDirection:'row' }}>
|
|
95
|
+
<TouchableOpacity style={{ justifyContent:'center', alignItems:'center', padding:5, borderRadius:4, backgroundColor:Colors.shades.shade100 }} onPress={() => {
|
|
96
|
+
setDraftCompetitionMatchMarket({ ...ManageCompetitionHelpers.createEmptyCompetitionMatchMarket(market, side_id), event_id, event_type, competition_match_id, competition_match_market_id: v4(), pair_id:v4() })
|
|
97
|
+
}}>
|
|
98
|
+
<Icons.UserIcon size={14} color={Colors.brand.midnight} />
|
|
99
|
+
<Text style={{ marginTop:5 }} size={12} color={Colors.brand.midnight} weight='bold'>Enter Manually</Text>
|
|
100
|
+
</TouchableOpacity>
|
|
101
|
+
<TouchableOpacity style={{ justifyContent:'center', marginLeft:5, alignItems:'center', padding:5, borderRadius:4, backgroundColor:Colors.shades.shade100 }} onPress={() => onGenerateMarkets()}>
|
|
102
|
+
<Icons.SettingsIcon size={14} color={Colors.brand.electric} />
|
|
103
|
+
<Text style={{ marginTop:5 }} size={12} color={Colors.brand.electric} weight='bold'>Try Auto</Text>
|
|
104
|
+
</TouchableOpacity>
|
|
105
|
+
</View>
|
|
106
|
+
)
|
|
107
|
+
}
|
|
108
|
+
*/
|
|
109
|
+
|
|
110
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
111
|
+
/*
|
|
112
|
+
if(!o_side || !trade_side){ return <></> }
|
|
113
|
+
return (
|
|
114
|
+
<View style={{ flexDirection:'row' }}>
|
|
115
|
+
<View>
|
|
116
|
+
<Text style={{ marginBottom:2 }} size={12} color={Colors.brand.midnight} weight='semibold' textAlign="center">{(o_side_pick_pct*100).toFixed()} % Picked</Text>
|
|
117
|
+
<TouchableOpacity style={{ width:75, padding:5, backgroundColor:o_side.status == 'error' ? Colors.highlights.highlight300Faded :Colors.shades.shade600, borderRadius:4, marginRight:3 }} onPress={() => setDraftCompetitionMatchMarket(o_side)}>
|
|
118
|
+
<Text textAlign="center" size={12} color={Colors.brand.midnight} weight='semibold'>{o_side.side.toUpperCase()}{market.var_1_required?` ${ManageCompetitionHelpers.getVar1Label(o_side.var_1, market)}`:''}</Text>
|
|
119
|
+
<Text textAlign="center" size={12} color={Colors.brand.midnight} weight='semibold'>{ManageCompetitionHelpers.getOddsLabel(o_side.odds)}</Text>
|
|
120
|
+
</TouchableOpacity>
|
|
121
|
+
</View>
|
|
122
|
+
<View>
|
|
123
|
+
<Text style={{ marginBottom:2 }} size={12} color={Colors.brand.midnight} weight='semibold' textAlign="center">{(trade_side_pick_pct*100).toFixed()} % Picked</Text>
|
|
124
|
+
<TouchableOpacity style={{ width:75, padding:5, backgroundColor:trade_side.status == 'error' ? Colors.highlights.highlight300Faded :Colors.shades.shade600, borderRadius:4, marginLeft:3 }} onPress={() => setDraftCompetitionMatchMarket(trade_side)}>
|
|
125
|
+
<Text textAlign="center" size={12} color={Colors.brand.midnight} weight='semibold'>{trade_side.side.toUpperCase()}{market.var_1_required?` ${ManageCompetitionHelpers.getVar1Label(trade_side.var_1, market)}`:''}</Text>
|
|
126
|
+
<Text textAlign="center" size={12} color={Colors.brand.midnight} weight='semibold'>{ManageCompetitionHelpers.getOddsLabel(trade_side.odds)}</Text>
|
|
127
|
+
</TouchableOpacity>
|
|
128
|
+
</View>
|
|
129
|
+
|
|
130
|
+
</View>
|
|
131
|
+
)
|
|
132
|
+
*/
|
|
133
|
+
};
|
|
134
|
+
export default CompetitionMatchMarketCard;
|
|
135
|
+
//# sourceMappingURL=CompetitionMatchMarketCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","CompetitionMatchMarketCard","createElement","Fragment"],"sourceRoot":"../../../../src","sources":["CompetitionManager/components/CompetitionMatchMarketCard.tsx"],"mappings":"AAAA;AACA;AACA,OAAOA,KAAK,MAAO,OAAO;;AAE1B;AACA;AACA;;AAgBA,MAAMC,0BAA0B,GAAGA,CAAC,CAAkC,CAAC,KAAK;EAExE;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EAEI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EAEI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAEI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGI,oBAAOD,KAAA,CAAAE,aAAA,CAAAF,KAAA,CAAAG,QAAA,MAAI,CAAC;EACZ;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,CAAC;AAED,eAAeF,0BAA0B","ignoreList":[]}
|