be-components 1.4.8 → 1.5.0
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/api/index.js +15 -0
- package/lib/commonjs/Competition/api/index.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionSeasonCard.js +1 -1
- package/lib/commonjs/Competition/components/CompetitionSeasonCard.js.map +1 -1
- package/lib/commonjs/Competition/components/SeasonCard.js +61 -0
- package/lib/commonjs/Competition/components/SeasonCard.js.map +1 -0
- package/lib/commonjs/Competition/index.js +23 -3
- package/lib/commonjs/Competition/index.js.map +1 -1
- package/lib/commonjs/CompetitionManager/api/index.js +3 -5
- package/lib/commonjs/CompetitionManager/api/index.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.js +1 -61
- package/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.js +6 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/ContestSettingsForm.js +4 -0
- package/lib/commonjs/CompetitionManager/components/ContestSettingsForm.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CreateCompetitionForm.js +37 -3
- package/lib/commonjs/CompetitionManager/components/CreateCompetitionForm.js.map +1 -1
- package/lib/commonjs/CompetitionSeason/api/index.js +134 -0
- package/lib/commonjs/CompetitionSeason/api/index.js.map +1 -0
- package/lib/commonjs/CompetitionSeason/components/CompetitionsSection.js +127 -0
- package/lib/commonjs/CompetitionSeason/components/CompetitionsSection.js.map +1 -0
- package/lib/commonjs/CompetitionSeason/components/EnterSeasonPrompt.js +253 -0
- package/lib/commonjs/CompetitionSeason/components/EnterSeasonPrompt.js.map +1 -0
- package/lib/commonjs/CompetitionSeason/components/SeasonHeader.js +126 -0
- package/lib/commonjs/CompetitionSeason/components/SeasonHeader.js.map +1 -0
- package/lib/commonjs/CompetitionSeason/components/SeasonLeaderboard.js +324 -0
- package/lib/commonjs/CompetitionSeason/components/SeasonLeaderboard.js.map +1 -0
- package/lib/commonjs/CompetitionSeason/components/SeasonSettingsSection.js +175 -0
- package/lib/commonjs/CompetitionSeason/components/SeasonSettingsSection.js.map +1 -0
- package/lib/commonjs/CompetitionSeason/index.js +278 -0
- package/lib/commonjs/CompetitionSeason/index.js.map +1 -0
- package/lib/commonjs/CompetitionSeasonManager/api/index.js +182 -0
- package/lib/commonjs/CompetitionSeasonManager/api/index.js.map +1 -0
- package/lib/commonjs/CompetitionSeasonManager/components/CompetitionSelector.js +2 -0
- package/lib/commonjs/CompetitionSeasonManager/components/CompetitionSelector.js.map +1 -0
- package/lib/commonjs/CompetitionSeasonManager/components/CompetitionsForm.js +153 -0
- package/lib/commonjs/CompetitionSeasonManager/components/CompetitionsForm.js.map +1 -0
- package/lib/commonjs/CompetitionSeasonManager/components/CreateSeasonForm.js +388 -0
- package/lib/commonjs/CompetitionSeasonManager/components/CreateSeasonForm.js.map +1 -0
- package/lib/commonjs/CompetitionSeasonManager/components/SeasonHeader.js +108 -0
- package/lib/commonjs/CompetitionSeasonManager/components/SeasonHeader.js.map +1 -0
- package/lib/commonjs/CompetitionSeasonManager/components/SeasonInfoForm.js +242 -0
- package/lib/commonjs/CompetitionSeasonManager/components/SeasonInfoForm.js.map +1 -0
- package/lib/commonjs/CompetitionSeasonManager/components/SeasonSettingsForm.js +352 -0
- package/lib/commonjs/CompetitionSeasonManager/components/SeasonSettingsForm.js.map +1 -0
- package/lib/commonjs/CompetitionSeasonManager/index.js +190 -0
- package/lib/commonjs/CompetitionSeasonManager/index.js.map +1 -0
- package/lib/commonjs/Components/Switch.js +3 -0
- package/lib/commonjs/Components/Switch.js.map +1 -1
- package/lib/commonjs/Engage/index.js +28 -1
- package/lib/commonjs/Engage/index.js.map +1 -1
- package/lib/commonjs/index.js +14 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/Competition/api/index.js +15 -0
- package/lib/module/Competition/api/index.js.map +1 -1
- package/lib/module/Competition/components/CompetitionSeasonCard.js +1 -1
- package/lib/module/Competition/components/CompetitionSeasonCard.js.map +1 -1
- package/lib/module/Competition/components/SeasonCard.js +54 -0
- package/lib/module/Competition/components/SeasonCard.js.map +1 -0
- package/lib/module/Competition/index.js +23 -3
- package/lib/module/Competition/index.js.map +1 -1
- package/lib/module/CompetitionManager/api/index.js +3 -5
- package/lib/module/CompetitionManager/api/index.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompetitionInfoForm.js +1 -63
- package/lib/module/CompetitionManager/components/CompetitionInfoForm.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompetitionSettingsForm.js +6 -1
- package/lib/module/CompetitionManager/components/CompetitionSettingsForm.js.map +1 -1
- package/lib/module/CompetitionManager/components/ContestSettingsForm.js +4 -0
- package/lib/module/CompetitionManager/components/ContestSettingsForm.js.map +1 -1
- package/lib/module/CompetitionManager/components/CreateCompetitionForm.js +37 -3
- package/lib/module/CompetitionManager/components/CreateCompetitionForm.js.map +1 -1
- package/lib/module/CompetitionSeason/api/index.js +128 -0
- package/lib/module/CompetitionSeason/api/index.js.map +1 -0
- package/lib/module/CompetitionSeason/components/CompetitionsSection.js +118 -0
- package/lib/module/CompetitionSeason/components/CompetitionsSection.js.map +1 -0
- package/lib/module/CompetitionSeason/components/EnterSeasonPrompt.js +244 -0
- package/lib/module/CompetitionSeason/components/EnterSeasonPrompt.js.map +1 -0
- package/lib/module/CompetitionSeason/components/SeasonHeader.js +119 -0
- package/lib/module/CompetitionSeason/components/SeasonHeader.js.map +1 -0
- package/lib/module/CompetitionSeason/components/SeasonLeaderboard.js +315 -0
- package/lib/module/CompetitionSeason/components/SeasonLeaderboard.js.map +1 -0
- package/lib/module/CompetitionSeason/components/SeasonSettingsSection.js +166 -0
- package/lib/module/CompetitionSeason/components/SeasonSettingsSection.js.map +1 -0
- package/lib/module/CompetitionSeason/index.js +269 -0
- package/lib/module/CompetitionSeason/index.js.map +1 -0
- package/lib/module/CompetitionSeasonManager/api/index.js +176 -0
- package/lib/module/CompetitionSeasonManager/api/index.js.map +1 -0
- package/lib/module/CompetitionSeasonManager/components/CompetitionSelector.js +2 -0
- package/lib/module/CompetitionSeasonManager/components/CompetitionSelector.js.map +1 -0
- package/lib/module/CompetitionSeasonManager/components/CompetitionsForm.js +144 -0
- package/lib/module/CompetitionSeasonManager/components/CompetitionsForm.js.map +1 -0
- package/lib/module/CompetitionSeasonManager/components/CreateSeasonForm.js +379 -0
- package/lib/module/CompetitionSeasonManager/components/CreateSeasonForm.js.map +1 -0
- package/lib/module/CompetitionSeasonManager/components/SeasonHeader.js +101 -0
- package/lib/module/CompetitionSeasonManager/components/SeasonHeader.js.map +1 -0
- package/lib/module/CompetitionSeasonManager/components/SeasonInfoForm.js +233 -0
- package/lib/module/CompetitionSeasonManager/components/SeasonInfoForm.js.map +1 -0
- package/lib/module/CompetitionSeasonManager/components/SeasonSettingsForm.js +343 -0
- package/lib/module/CompetitionSeasonManager/components/SeasonSettingsForm.js.map +1 -0
- package/lib/module/CompetitionSeasonManager/index.js +181 -0
- package/lib/module/CompetitionSeasonManager/index.js.map +1 -0
- package/lib/module/Components/Switch.js +3 -0
- package/lib/module/Components/Switch.js.map +1 -1
- package/lib/module/Engage/index.js +28 -1
- package/lib/module/Engage/index.js.map +1 -1
- package/lib/module/index.js +3 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/Competition/api/index.d.ts +1 -0
- package/lib/typescript/src/Competition/api/index.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/SeasonCard.d.ts +10 -0
- package/lib/typescript/src/Competition/components/SeasonCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/index.d.ts +3 -2
- package/lib/typescript/src/Competition/index.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/api/index.d.ts +1 -1
- package/lib/typescript/src/CompetitionManager/api/index.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionInfoForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionSettingsForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/ContestSettingsForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CreateCompetitionForm.d.ts +3 -2
- package/lib/typescript/src/CompetitionManager/components/CreateCompetitionForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionSeason/api/index.d.ts +41 -0
- package/lib/typescript/src/CompetitionSeason/api/index.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionSeason/components/CompetitionsSection.d.ts +14 -0
- package/lib/typescript/src/CompetitionSeason/components/CompetitionsSection.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionSeason/components/EnterSeasonPrompt.d.ts +16 -0
- package/lib/typescript/src/CompetitionSeason/components/EnterSeasonPrompt.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionSeason/components/SeasonHeader.d.ts +15 -0
- package/lib/typescript/src/CompetitionSeason/components/SeasonHeader.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionSeason/components/SeasonLeaderboard.d.ts +18 -0
- package/lib/typescript/src/CompetitionSeason/components/SeasonLeaderboard.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionSeason/components/SeasonSettingsSection.d.ts +12 -0
- package/lib/typescript/src/CompetitionSeason/components/SeasonSettingsSection.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionSeason/index.d.ts +12 -0
- package/lib/typescript/src/CompetitionSeason/index.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionSeasonManager/api/index.d.ts +31 -0
- package/lib/typescript/src/CompetitionSeasonManager/api/index.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionSeasonManager/components/CompetitionSelector.d.ts +1 -0
- package/lib/typescript/src/CompetitionSeasonManager/components/CompetitionSelector.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionSeasonManager/components/CompetitionsForm.d.ts +12 -0
- package/lib/typescript/src/CompetitionSeasonManager/components/CompetitionsForm.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionSeasonManager/components/CreateSeasonForm.d.ts +11 -0
- package/lib/typescript/src/CompetitionSeasonManager/components/CreateSeasonForm.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionSeasonManager/components/SeasonHeader.d.ts +13 -0
- package/lib/typescript/src/CompetitionSeasonManager/components/SeasonHeader.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionSeasonManager/components/SeasonInfoForm.d.ts +11 -0
- package/lib/typescript/src/CompetitionSeasonManager/components/SeasonInfoForm.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionSeasonManager/components/SeasonSettingsForm.d.ts +12 -0
- package/lib/typescript/src/CompetitionSeasonManager/components/SeasonSettingsForm.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionSeasonManager/index.d.ts +8 -0
- package/lib/typescript/src/CompetitionSeasonManager/index.d.ts.map +1 -0
- package/lib/typescript/src/Components/Switch.d.ts +2 -1
- package/lib/typescript/src/Components/Switch.d.ts.map +1 -1
- package/lib/typescript/src/Engage/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +3 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Competition/api/index.ts +15 -0
- package/src/Competition/components/CompetitionSeasonCard.tsx +1 -1
- package/src/Competition/components/SeasonCard.tsx +46 -0
- package/src/Competition/index.tsx +45 -27
- package/src/CompetitionManager/api/index.ts +2 -5
- package/src/CompetitionManager/components/CompetitionInfoForm.tsx +2 -64
- package/src/CompetitionManager/components/CompetitionSettingsForm.tsx +10 -3
- package/src/CompetitionManager/components/ContestSettingsForm.tsx +8 -2
- package/src/CompetitionManager/components/CreateCompetitionForm.tsx +20 -4
- package/src/CompetitionSeason/api/index.ts +111 -0
- package/src/CompetitionSeason/components/CompetitionsSection.tsx +99 -0
- package/src/CompetitionSeason/components/EnterSeasonPrompt.tsx +135 -0
- package/src/CompetitionSeason/components/SeasonHeader.tsx +81 -0
- package/src/CompetitionSeason/components/SeasonLeaderboard.tsx +205 -0
- package/src/CompetitionSeason/components/SeasonSettingsSection.tsx +92 -0
- package/src/CompetitionSeason/index.tsx +244 -0
- package/src/CompetitionSeasonManager/api/index.ts +127 -0
- package/src/CompetitionSeasonManager/components/CompetitionSelector.tsx +2 -0
- package/src/CompetitionSeasonManager/components/CompetitionsForm.tsx +113 -0
- package/src/CompetitionSeasonManager/components/CreateSeasonForm.tsx +238 -0
- package/src/CompetitionSeasonManager/components/SeasonHeader.tsx +75 -0
- package/src/CompetitionSeasonManager/components/SeasonInfoForm.tsx +124 -0
- package/src/CompetitionSeasonManager/components/SeasonSettingsForm.tsx +185 -0
- package/src/CompetitionSeasonManager/index.tsx +151 -0
- package/src/Components/Switch.tsx +8 -3
- package/src/Engage/index.tsx +20 -0
- package/src/index.tsx +4 -1
- package/src/types.d.ts +48 -5
- package/lib/commonjs/Competition/components/ManageSeasonForm.js +0 -605
- package/lib/commonjs/Competition/components/ManageSeasonForm.js.map +0 -1
- package/lib/commonjs/Competition/components/SeasonInfoModal.js +0 -400
- package/lib/commonjs/Competition/components/SeasonInfoModal.js.map +0 -1
- package/lib/module/Competition/components/ManageSeasonForm.js +0 -596
- package/lib/module/Competition/components/ManageSeasonForm.js.map +0 -1
- package/lib/module/Competition/components/SeasonInfoModal.js +0 -391
- package/lib/module/Competition/components/SeasonInfoModal.js.map +0 -1
- package/lib/typescript/src/Competition/components/ManageSeasonForm.d.ts +0 -10
- package/lib/typescript/src/Competition/components/ManageSeasonForm.d.ts.map +0 -1
- package/lib/typescript/src/Competition/components/SeasonInfoModal.d.ts +0 -14
- package/lib/typescript/src/Competition/components/SeasonInfoModal.d.ts.map +0 -1
- package/src/Competition/components/ManageSeasonForm.tsx +0 -271
- package/src/Competition/components/SeasonInfoModal.tsx +0 -212
|
@@ -1,596 +0,0 @@
|
|
|
1
|
-
import { FlatList, Image, ScrollView, TextInput, TouchableOpacity, View } from "react-native";
|
|
2
|
-
import React, { useEffect, useState } from "react";
|
|
3
|
-
import { CompetitionHelpers, CompetitionSeasonApi } from "../api";
|
|
4
|
-
import { Button, Switch, Text } from "../../Components";
|
|
5
|
-
import Colors from "../../constants/colors";
|
|
6
|
-
import ImageUploader from "../../Components/ImageUploader";
|
|
7
|
-
const ManageSeasonForm = ({
|
|
8
|
-
competition_season,
|
|
9
|
-
width,
|
|
10
|
-
onComplete
|
|
11
|
-
}) => {
|
|
12
|
-
const [loading, setLoading] = useState(false);
|
|
13
|
-
const [show_templates, setShowTemplates] = useState(true);
|
|
14
|
-
const [season_templates, setSeasonTemplates] = useState([]);
|
|
15
|
-
const [draft_season, setDraftSeason] = useState(CompetitionHelpers.getEmptyCompetitionSeason());
|
|
16
|
-
const [payout_allocation_label, setPayoutAllocationLabel] = useState('0');
|
|
17
|
-
useEffect(() => {
|
|
18
|
-
loadTemplates();
|
|
19
|
-
if (!competition_season) {
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
setDraftSeason(competition_season);
|
|
23
|
-
setShowTemplates(false);
|
|
24
|
-
}, [competition_season]);
|
|
25
|
-
const loadTemplates = async () => {
|
|
26
|
-
let templates = await CompetitionSeasonApi.getCompetitionSeasonTemplates();
|
|
27
|
-
setSeasonTemplates(templates);
|
|
28
|
-
};
|
|
29
|
-
const handleSelectTemplate = s => {
|
|
30
|
-
setDraftSeason({
|
|
31
|
-
...s,
|
|
32
|
-
competition_season_id: '',
|
|
33
|
-
season_name: '',
|
|
34
|
-
season_description: '',
|
|
35
|
-
following_season_id: s.competition_season_id
|
|
36
|
-
});
|
|
37
|
-
setPayoutAllocationLabel((s.payout_allocation * 100).toFixed());
|
|
38
|
-
};
|
|
39
|
-
const handleChangeAllocation = text => {
|
|
40
|
-
let non_str_num = parseFloat(text);
|
|
41
|
-
if (isNaN(non_str_num)) {
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
if (text == '') {
|
|
45
|
-
setPayoutAllocationLabel('');
|
|
46
|
-
return setDraftSeason({
|
|
47
|
-
...draft_season,
|
|
48
|
-
payout_allocation: 0
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
let allocation = parseFloat(text);
|
|
52
|
-
setPayoutAllocationLabel(text);
|
|
53
|
-
setDraftSeason({
|
|
54
|
-
...draft_season,
|
|
55
|
-
payout_allocation: allocation / 100
|
|
56
|
-
});
|
|
57
|
-
};
|
|
58
|
-
const handleSubmit = async () => {
|
|
59
|
-
if (!CompetitionHelpers.isSeasonValid(draft_season)) {
|
|
60
|
-
return alert('Please complete all required firlst');
|
|
61
|
-
}
|
|
62
|
-
setLoading(true);
|
|
63
|
-
await CompetitionSeasonApi.createCompetitionSeason(draft_season);
|
|
64
|
-
setLoading(false);
|
|
65
|
-
onComplete('done');
|
|
66
|
-
};
|
|
67
|
-
const renderTemplates = data => {
|
|
68
|
-
const selected = draft_season.following_season_id == data.item.competition_season_id ? true : false;
|
|
69
|
-
return /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
70
|
-
onPress: () => handleSelectTemplate(data.item),
|
|
71
|
-
style: {
|
|
72
|
-
flexDirection: 'row',
|
|
73
|
-
borderRadius: 8,
|
|
74
|
-
backgroundColor: selected ? Colors.brand.electric : 'transparent',
|
|
75
|
-
alignItems: 'center',
|
|
76
|
-
margin: 3,
|
|
77
|
-
padding: 5,
|
|
78
|
-
borderBottomWidth: 1,
|
|
79
|
-
borderBottomColor: Colors.shades.shade600
|
|
80
|
-
}
|
|
81
|
-
}, /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(Image, {
|
|
82
|
-
source: {
|
|
83
|
-
uri: data.item.image?.url
|
|
84
|
-
},
|
|
85
|
-
style: {
|
|
86
|
-
height: 50,
|
|
87
|
-
width: 75
|
|
88
|
-
},
|
|
89
|
-
resizeMode: "cover"
|
|
90
|
-
})), /*#__PURE__*/React.createElement(View, {
|
|
91
|
-
style: {
|
|
92
|
-
flex: 1,
|
|
93
|
-
marginLeft: 5
|
|
94
|
-
}
|
|
95
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
96
|
-
size: 12,
|
|
97
|
-
color: selected ? Colors.shades.white : Colors.brand.midnight,
|
|
98
|
-
weight: "bold"
|
|
99
|
-
}, data.item.season_name), /*#__PURE__*/React.createElement(Text, {
|
|
100
|
-
size: 12,
|
|
101
|
-
color: selected ? Colors.shades.white : Colors.brand.midnight,
|
|
102
|
-
weight: "regular"
|
|
103
|
-
}, data.item.season_description)));
|
|
104
|
-
};
|
|
105
|
-
let valid = CompetitionHelpers.isSeasonValid(draft_season);
|
|
106
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
107
|
-
style: {
|
|
108
|
-
flex: 1,
|
|
109
|
-
backgroundColor: Colors.shades.white,
|
|
110
|
-
padding: 10
|
|
111
|
-
}
|
|
112
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
113
|
-
nativeID: "form_header",
|
|
114
|
-
style: {
|
|
115
|
-
padding: 10
|
|
116
|
-
}
|
|
117
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
118
|
-
size: 14,
|
|
119
|
-
color: Colors.brand.midnight,
|
|
120
|
-
weight: "bold",
|
|
121
|
-
textAlign: "center"
|
|
122
|
-
}, competition_season ? draft_season.season_name : 'Create New Season')), /*#__PURE__*/React.createElement(ScrollView, {
|
|
123
|
-
style: {
|
|
124
|
-
flex: 1
|
|
125
|
-
}
|
|
126
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
127
|
-
nativeID: "season_template"
|
|
128
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
129
|
-
nativeID: "competition_details"
|
|
130
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
131
|
-
nativeID: "details_header",
|
|
132
|
-
style: {
|
|
133
|
-
padding: 10,
|
|
134
|
-
paddingBottom: 0
|
|
135
|
-
}
|
|
136
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
137
|
-
size: 16,
|
|
138
|
-
color: Colors.brand.midnight,
|
|
139
|
-
weight: "bold"
|
|
140
|
-
}, "Season Template"), /*#__PURE__*/React.createElement(Text, {
|
|
141
|
-
style: {
|
|
142
|
-
marginTop: 3
|
|
143
|
-
},
|
|
144
|
-
size: 14,
|
|
145
|
-
color: Colors.brand.midnight,
|
|
146
|
-
weight: "regular"
|
|
147
|
-
}, "Select a template for this season or do it on your own"))), /*#__PURE__*/React.createElement(View, {
|
|
148
|
-
nativeID: "template_options",
|
|
149
|
-
style: {
|
|
150
|
-
margin: 10,
|
|
151
|
-
padding: 10,
|
|
152
|
-
borderRadius: 4,
|
|
153
|
-
backgroundColor: Colors.shades.shade100
|
|
154
|
-
}
|
|
155
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
156
|
-
nativeID: "template",
|
|
157
|
-
style: {
|
|
158
|
-
flexDirection: 'row',
|
|
159
|
-
alignItems: 'flex-start'
|
|
160
|
-
}
|
|
161
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
162
|
-
nativeID: "description",
|
|
163
|
-
style: {
|
|
164
|
-
flex: 1,
|
|
165
|
-
marginRight: 5
|
|
166
|
-
}
|
|
167
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
168
|
-
size: 14,
|
|
169
|
-
color: Colors.brand.midnight,
|
|
170
|
-
weight: "bold"
|
|
171
|
-
}, "Use a Template"), show_templates ? /*#__PURE__*/React.createElement(Text, {
|
|
172
|
-
style: {
|
|
173
|
-
marginTop: 3
|
|
174
|
-
},
|
|
175
|
-
size: 12,
|
|
176
|
-
color: Colors.brand.midnight,
|
|
177
|
-
weight: "regular"
|
|
178
|
-
}, "All competitions will be auto-created with appropriate events and participants will be notified.") : /*#__PURE__*/React.createElement(Text, {
|
|
179
|
-
style: {
|
|
180
|
-
marginTop: 3
|
|
181
|
-
},
|
|
182
|
-
size: 12,
|
|
183
|
-
color: Colors.brand.midnight,
|
|
184
|
-
weight: "regular"
|
|
185
|
-
}, "You (the admin) will be responsible for creating each competition under this season.")), /*#__PURE__*/React.createElement(Switch, {
|
|
186
|
-
value: show_templates,
|
|
187
|
-
switch_type: "on_off",
|
|
188
|
-
onChange: value => {
|
|
189
|
-
if (!value) {
|
|
190
|
-
//Need to reset init season
|
|
191
|
-
setDraftSeason(CompetitionHelpers.getEmptyCompetitionSeason());
|
|
192
|
-
}
|
|
193
|
-
setShowTemplates(!show_templates);
|
|
194
|
-
}
|
|
195
|
-
})), show_templates ? /*#__PURE__*/React.createElement(View, {
|
|
196
|
-
style: {
|
|
197
|
-
marginTop: 10
|
|
198
|
-
}
|
|
199
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
200
|
-
size: 14,
|
|
201
|
-
color: Colors.brand.midnight,
|
|
202
|
-
weight: "bold"
|
|
203
|
-
}, "Template Options"), /*#__PURE__*/React.createElement(View, {
|
|
204
|
-
nativeID: "template_options",
|
|
205
|
-
style: {
|
|
206
|
-
marginTop: 5,
|
|
207
|
-
backgroundColor: Colors.shades.white,
|
|
208
|
-
borderRadius: 4,
|
|
209
|
-
padding: 10
|
|
210
|
-
}
|
|
211
|
-
}, /*#__PURE__*/React.createElement(FlatList, {
|
|
212
|
-
data: season_templates,
|
|
213
|
-
renderItem: renderTemplates,
|
|
214
|
-
keyExtractor: item => item.competition_season_id.toString()
|
|
215
|
-
}))) : /*#__PURE__*/React.createElement(React.Fragment, null))), !show_templates || show_templates && draft_season.following_season_id ? /*#__PURE__*/React.createElement(View, {
|
|
216
|
-
nativeID: "form_options"
|
|
217
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
218
|
-
nativeID: "competition_details"
|
|
219
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
220
|
-
nativeID: "details_header",
|
|
221
|
-
style: {
|
|
222
|
-
padding: 10,
|
|
223
|
-
paddingBottom: 0
|
|
224
|
-
}
|
|
225
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
226
|
-
size: 16,
|
|
227
|
-
color: Colors.brand.midnight,
|
|
228
|
-
weight: "bold"
|
|
229
|
-
}, "Season Details"), /*#__PURE__*/React.createElement(Text, {
|
|
230
|
-
style: {
|
|
231
|
-
marginTop: 3
|
|
232
|
-
},
|
|
233
|
-
size: 14,
|
|
234
|
-
color: Colors.brand.midnight,
|
|
235
|
-
weight: "regular"
|
|
236
|
-
}, "Name and describe this season")), /*#__PURE__*/React.createElement(View, {
|
|
237
|
-
nativeID: "details_input",
|
|
238
|
-
style: {
|
|
239
|
-
margin: 10,
|
|
240
|
-
padding: 10,
|
|
241
|
-
borderRadius: 4,
|
|
242
|
-
backgroundColor: Colors.shades.shade100
|
|
243
|
-
}
|
|
244
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
245
|
-
nativeID: "season_name"
|
|
246
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
247
|
-
style: {
|
|
248
|
-
padding: 10
|
|
249
|
-
},
|
|
250
|
-
size: 14,
|
|
251
|
-
color: Colors.brand.slate,
|
|
252
|
-
weight: "regular"
|
|
253
|
-
}, "Name"), /*#__PURE__*/React.createElement(TextInput, {
|
|
254
|
-
style: {
|
|
255
|
-
borderRadius: 4,
|
|
256
|
-
backgroundColor: Colors.shades.white,
|
|
257
|
-
padding: 10,
|
|
258
|
-
fontFamily: 'barlow-regular',
|
|
259
|
-
fontSize: 14,
|
|
260
|
-
color: Colors.brand.midnight
|
|
261
|
-
},
|
|
262
|
-
placeholder: "Season Name...",
|
|
263
|
-
placeholderTextColor: Colors.brand.slate,
|
|
264
|
-
value: draft_season.season_name,
|
|
265
|
-
onChangeText: text => setDraftSeason({
|
|
266
|
-
...draft_season,
|
|
267
|
-
season_name: text
|
|
268
|
-
})
|
|
269
|
-
})), /*#__PURE__*/React.createElement(View, {
|
|
270
|
-
nativeID: "season_description"
|
|
271
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
272
|
-
style: {
|
|
273
|
-
padding: 10
|
|
274
|
-
},
|
|
275
|
-
size: 14,
|
|
276
|
-
color: Colors.brand.slate,
|
|
277
|
-
weight: "regular"
|
|
278
|
-
}, "Description"), /*#__PURE__*/React.createElement(TextInput, {
|
|
279
|
-
style: {
|
|
280
|
-
borderRadius: 4,
|
|
281
|
-
backgroundColor: Colors.shades.white,
|
|
282
|
-
padding: 10,
|
|
283
|
-
fontFamily: 'barlow-regular',
|
|
284
|
-
fontSize: 14,
|
|
285
|
-
color: Colors.brand.midnight
|
|
286
|
-
},
|
|
287
|
-
placeholder: "Optional...",
|
|
288
|
-
placeholderTextColor: Colors.brand.slate,
|
|
289
|
-
value: draft_season.season_description,
|
|
290
|
-
onChangeText: text => setDraftSeason({
|
|
291
|
-
...draft_season,
|
|
292
|
-
season_description: text
|
|
293
|
-
})
|
|
294
|
-
})))), /*#__PURE__*/React.createElement(View, {
|
|
295
|
-
nativeID: "competition_image"
|
|
296
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
297
|
-
nativeID: "image_header",
|
|
298
|
-
style: {
|
|
299
|
-
flexDirection: 'row',
|
|
300
|
-
alignItems: 'center',
|
|
301
|
-
padding: 10,
|
|
302
|
-
paddingBottom: 0
|
|
303
|
-
}
|
|
304
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
305
|
-
style: {
|
|
306
|
-
flex: 1
|
|
307
|
-
}
|
|
308
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
309
|
-
size: 16,
|
|
310
|
-
color: Colors.brand.midnight,
|
|
311
|
-
weight: "bold"
|
|
312
|
-
}, "Season Image"), /*#__PURE__*/React.createElement(Text, {
|
|
313
|
-
style: {
|
|
314
|
-
marginTop: 3
|
|
315
|
-
},
|
|
316
|
-
size: 14,
|
|
317
|
-
color: Colors.brand.midnight,
|
|
318
|
-
weight: "regular"
|
|
319
|
-
}, "Give an image to the season (2w X 1h)")), /*#__PURE__*/React.createElement(ImageUploader, {
|
|
320
|
-
public_id: `${Math.floor(Math.random() * (1000000 - 0 + 1) + 1)}_season_image`,
|
|
321
|
-
onFinishUpload: obj => setDraftSeason({
|
|
322
|
-
...draft_season,
|
|
323
|
-
image: {
|
|
324
|
-
url: obj.secure_url,
|
|
325
|
-
...obj
|
|
326
|
-
}
|
|
327
|
-
})
|
|
328
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
329
|
-
size: 14,
|
|
330
|
-
color: Colors.brand.electric
|
|
331
|
-
}, "Edit Image"))), /*#__PURE__*/React.createElement(View, {
|
|
332
|
-
nativeID: "season_image",
|
|
333
|
-
style: {
|
|
334
|
-
justifyContent: 'center',
|
|
335
|
-
alignItems: 'center',
|
|
336
|
-
margin: 5
|
|
337
|
-
}
|
|
338
|
-
}, /*#__PURE__*/React.createElement(Image, {
|
|
339
|
-
source: {
|
|
340
|
-
uri: draft_season?.image?.url
|
|
341
|
-
},
|
|
342
|
-
style: {
|
|
343
|
-
width: width * 0.75,
|
|
344
|
-
height: width * 0.75 / 2
|
|
345
|
-
},
|
|
346
|
-
resizeMode: "cover"
|
|
347
|
-
}))), /*#__PURE__*/React.createElement(View, {
|
|
348
|
-
nativeID: "season_options"
|
|
349
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
350
|
-
nativeID: "options_header",
|
|
351
|
-
style: {
|
|
352
|
-
flexDirection: 'row',
|
|
353
|
-
alignItems: 'center',
|
|
354
|
-
padding: 10,
|
|
355
|
-
paddingBottom: 0
|
|
356
|
-
}
|
|
357
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
358
|
-
style: {
|
|
359
|
-
flex: 1
|
|
360
|
-
}
|
|
361
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
362
|
-
size: 16,
|
|
363
|
-
color: Colors.brand.midnight,
|
|
364
|
-
weight: "bold"
|
|
365
|
-
}, "Season Configurations"), /*#__PURE__*/React.createElement(Text, {
|
|
366
|
-
style: {
|
|
367
|
-
marginTop: 3
|
|
368
|
-
},
|
|
369
|
-
size: 14,
|
|
370
|
-
color: Colors.brand.midnight,
|
|
371
|
-
weight: "regular"
|
|
372
|
-
}, "Determines how the competition will operate and payout"))), /*#__PURE__*/React.createElement(View, {
|
|
373
|
-
nativeID: "options_input",
|
|
374
|
-
style: {
|
|
375
|
-
margin: 10,
|
|
376
|
-
padding: 10,
|
|
377
|
-
borderRadius: 4,
|
|
378
|
-
backgroundColor: Colors.shades.shade100
|
|
379
|
-
}
|
|
380
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
381
|
-
nativeID: "single_buy_in",
|
|
382
|
-
style: {
|
|
383
|
-
flexDirection: 'row',
|
|
384
|
-
alignItems: 'flex-start'
|
|
385
|
-
}
|
|
386
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
387
|
-
nativeID: "description",
|
|
388
|
-
style: {
|
|
389
|
-
flex: 1,
|
|
390
|
-
marginRight: 5
|
|
391
|
-
}
|
|
392
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
393
|
-
size: 14,
|
|
394
|
-
color: Colors.brand.midnight,
|
|
395
|
-
weight: "bold"
|
|
396
|
-
}, "One Buy In"), draft_season.single_buy_in ? /*#__PURE__*/React.createElement(Text, {
|
|
397
|
-
style: {
|
|
398
|
-
marginTop: 3
|
|
399
|
-
},
|
|
400
|
-
size: 12,
|
|
401
|
-
color: Colors.brand.midnight,
|
|
402
|
-
weight: "regular"
|
|
403
|
-
}, "Once a player has purchased a ticket, they will be automatically entered into any competition created under this season.") : /*#__PURE__*/React.createElement(Text, {
|
|
404
|
-
style: {
|
|
405
|
-
marginTop: 3
|
|
406
|
-
},
|
|
407
|
-
size: 12,
|
|
408
|
-
color: Colors.brand.midnight,
|
|
409
|
-
weight: "regular"
|
|
410
|
-
}, "Players will be required to buy-in to each competition created under this season.")), /*#__PURE__*/React.createElement(Switch, {
|
|
411
|
-
value: draft_season.single_buy_in,
|
|
412
|
-
switch_type: "on_off",
|
|
413
|
-
onChange: () => setDraftSeason({
|
|
414
|
-
...draft_season,
|
|
415
|
-
single_buy_in: !draft_season.single_buy_in
|
|
416
|
-
})
|
|
417
|
-
})), /*#__PURE__*/React.createElement(View, {
|
|
418
|
-
nativeID: "single_buy_in",
|
|
419
|
-
style: {
|
|
420
|
-
flexDirection: 'row',
|
|
421
|
-
alignItems: 'flex-start',
|
|
422
|
-
marginTop: 15
|
|
423
|
-
}
|
|
424
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
425
|
-
nativeID: "description",
|
|
426
|
-
style: {
|
|
427
|
-
flex: 1,
|
|
428
|
-
marginRight: 5
|
|
429
|
-
}
|
|
430
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
431
|
-
size: 14,
|
|
432
|
-
color: Colors.brand.midnight,
|
|
433
|
-
weight: "bold"
|
|
434
|
-
}, "Allow Late Buy In"), draft_season.allow_late_buy_in ? /*#__PURE__*/React.createElement(Text, {
|
|
435
|
-
style: {
|
|
436
|
-
marginTop: 3
|
|
437
|
-
},
|
|
438
|
-
size: 12,
|
|
439
|
-
color: Colors.brand.midnight,
|
|
440
|
-
weight: "regular"
|
|
441
|
-
}, "A player can enter this season at any time (even if the first competition has completed)") : /*#__PURE__*/React.createElement(Text, {
|
|
442
|
-
style: {
|
|
443
|
-
marginTop: 3
|
|
444
|
-
},
|
|
445
|
-
size: 12,
|
|
446
|
-
color: Colors.brand.midnight,
|
|
447
|
-
weight: "regular"
|
|
448
|
-
}, "A player must enter the first competition under the season to participate.")), /*#__PURE__*/React.createElement(Switch, {
|
|
449
|
-
value: draft_season.allow_late_buy_in,
|
|
450
|
-
switch_type: "on_off",
|
|
451
|
-
onChange: () => setDraftSeason({
|
|
452
|
-
...draft_season,
|
|
453
|
-
allow_late_buy_in: !draft_season.allow_late_buy_in
|
|
454
|
-
})
|
|
455
|
-
})))), /*#__PURE__*/React.createElement(View, {
|
|
456
|
-
nativeID: "season_payout_details"
|
|
457
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
458
|
-
nativeID: "payout_header",
|
|
459
|
-
style: {
|
|
460
|
-
flexDirection: 'row',
|
|
461
|
-
alignItems: 'center',
|
|
462
|
-
padding: 10,
|
|
463
|
-
paddingBottom: 0
|
|
464
|
-
}
|
|
465
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
466
|
-
style: {
|
|
467
|
-
flex: 1
|
|
468
|
-
}
|
|
469
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
470
|
-
size: 16,
|
|
471
|
-
color: Colors.brand.midnight,
|
|
472
|
-
weight: "bold"
|
|
473
|
-
}, "Season Payout"), /*#__PURE__*/React.createElement(Text, {
|
|
474
|
-
style: {
|
|
475
|
-
marginTop: 3
|
|
476
|
-
},
|
|
477
|
-
size: 14,
|
|
478
|
-
color: Colors.brand.midnight,
|
|
479
|
-
weight: "regular"
|
|
480
|
-
}, "How would you like the funds in the season to payout?"))), /*#__PURE__*/React.createElement(View, {
|
|
481
|
-
nativeID: "payout_input",
|
|
482
|
-
style: {
|
|
483
|
-
margin: 10,
|
|
484
|
-
padding: 10,
|
|
485
|
-
borderRadius: 4,
|
|
486
|
-
backgroundColor: Colors.shades.shade100
|
|
487
|
-
}
|
|
488
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
489
|
-
nativeID: "payout_allocation",
|
|
490
|
-
style: {
|
|
491
|
-
flexDirection: 'row',
|
|
492
|
-
alignItems: 'flex-start'
|
|
493
|
-
}
|
|
494
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
495
|
-
nativeID: "description",
|
|
496
|
-
style: {
|
|
497
|
-
flex: 1,
|
|
498
|
-
marginRight: 5
|
|
499
|
-
}
|
|
500
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
501
|
-
style: {
|
|
502
|
-
marginTop: 3
|
|
503
|
-
},
|
|
504
|
-
size: 12,
|
|
505
|
-
color: Colors.brand.midnight,
|
|
506
|
-
weight: "regular"
|
|
507
|
-
}, "How much of the total pot will be paid out to the season vs each competition")), /*#__PURE__*/React.createElement(TextInput, {
|
|
508
|
-
value: payout_allocation_label,
|
|
509
|
-
onChangeText: text => handleChangeAllocation(text),
|
|
510
|
-
style: {
|
|
511
|
-
padding: 10,
|
|
512
|
-
borderRadius: 4,
|
|
513
|
-
width: width * 0.2,
|
|
514
|
-
backgroundColor: Colors.shades.white,
|
|
515
|
-
textAlign: 'center',
|
|
516
|
-
color: Colors.brand.midnight,
|
|
517
|
-
fontFamily: 'barlow-bold'
|
|
518
|
-
}
|
|
519
|
-
})), /*#__PURE__*/React.createElement(View, {
|
|
520
|
-
style: {
|
|
521
|
-
flexDirection: 'row',
|
|
522
|
-
marginTop: 10
|
|
523
|
-
}
|
|
524
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
525
|
-
style: {
|
|
526
|
-
flex: 1,
|
|
527
|
-
padding: 10,
|
|
528
|
-
backgroundColor: Colors.shades.shade600,
|
|
529
|
-
borderRadius: 4,
|
|
530
|
-
marginRight: 5
|
|
531
|
-
}
|
|
532
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
533
|
-
size: 12,
|
|
534
|
-
color: Colors.brand.midnight,
|
|
535
|
-
textAlign: "center"
|
|
536
|
-
}, "Each Competition"), /*#__PURE__*/React.createElement(Text, {
|
|
537
|
-
style: {
|
|
538
|
-
marginTop: 5
|
|
539
|
-
},
|
|
540
|
-
size: 14,
|
|
541
|
-
color: Colors.brand.midnight,
|
|
542
|
-
weight: "bold",
|
|
543
|
-
textAlign: "center"
|
|
544
|
-
}, ((1 - draft_season.payout_allocation) * 100).toFixed(), "%")), /*#__PURE__*/React.createElement(View, {
|
|
545
|
-
style: {
|
|
546
|
-
flex: 1,
|
|
547
|
-
padding: 10,
|
|
548
|
-
backgroundColor: Colors.shades.shade600,
|
|
549
|
-
borderRadius: 4,
|
|
550
|
-
marginLeft: 5
|
|
551
|
-
}
|
|
552
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
553
|
-
size: 12,
|
|
554
|
-
color: Colors.brand.midnight,
|
|
555
|
-
textAlign: "center"
|
|
556
|
-
}, "Season"), /*#__PURE__*/React.createElement(Text, {
|
|
557
|
-
style: {
|
|
558
|
-
marginTop: 5
|
|
559
|
-
},
|
|
560
|
-
size: 12,
|
|
561
|
-
color: Colors.brand.midnight,
|
|
562
|
-
weight: "bold",
|
|
563
|
-
textAlign: "center"
|
|
564
|
-
}, (draft_season.payout_allocation * 100).toFixed(), "%")))))) : /*#__PURE__*/React.createElement(React.Fragment, null)), /*#__PURE__*/React.createElement(View, {
|
|
565
|
-
nativeID: "action_row",
|
|
566
|
-
style: {
|
|
567
|
-
flexDirection: 'row',
|
|
568
|
-
padding: 10
|
|
569
|
-
}
|
|
570
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
571
|
-
style: {
|
|
572
|
-
flex: 1,
|
|
573
|
-
marginRight: 3
|
|
574
|
-
},
|
|
575
|
-
title: "Cancel",
|
|
576
|
-
onPress: () => onComplete('cancel'),
|
|
577
|
-
title_color: Colors.brand.electric,
|
|
578
|
-
borderWidth: 1,
|
|
579
|
-
padding: 15,
|
|
580
|
-
borderColor: Colors.brand.electric
|
|
581
|
-
}), /*#__PURE__*/React.createElement(Button, {
|
|
582
|
-
disabled: !valid || loading,
|
|
583
|
-
style: {
|
|
584
|
-
flex: 2,
|
|
585
|
-
marginLeft: 3,
|
|
586
|
-
opacity: valid && !loading ? 1 : 0.5
|
|
587
|
-
},
|
|
588
|
-
title: draft_season.competition_season_id ? 'Edit Season' : 'Create Season',
|
|
589
|
-
onPress: () => handleSubmit(),
|
|
590
|
-
title_color: Colors.shades.white,
|
|
591
|
-
padding: 15,
|
|
592
|
-
backgroundColor: Colors.utility.success
|
|
593
|
-
})));
|
|
594
|
-
};
|
|
595
|
-
export default ManageSeasonForm;
|
|
596
|
-
//# sourceMappingURL=ManageSeasonForm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["FlatList","Image","ScrollView","TextInput","TouchableOpacity","View","React","useEffect","useState","CompetitionHelpers","CompetitionSeasonApi","Button","Switch","Text","Colors","ImageUploader","ManageSeasonForm","competition_season","width","onComplete","loading","setLoading","show_templates","setShowTemplates","season_templates","setSeasonTemplates","draft_season","setDraftSeason","getEmptyCompetitionSeason","payout_allocation_label","setPayoutAllocationLabel","loadTemplates","templates","getCompetitionSeasonTemplates","handleSelectTemplate","s","competition_season_id","season_name","season_description","following_season_id","payout_allocation","toFixed","handleChangeAllocation","text","non_str_num","parseFloat","isNaN","allocation","handleSubmit","isSeasonValid","alert","createCompetitionSeason","renderTemplates","data","selected","item","createElement","onPress","style","flexDirection","borderRadius","backgroundColor","brand","electric","alignItems","margin","padding","borderBottomWidth","borderBottomColor","shades","shade600","source","uri","image","url","height","resizeMode","flex","marginLeft","size","color","white","midnight","weight","valid","nativeID","textAlign","paddingBottom","marginTop","shade100","marginRight","value","switch_type","onChange","renderItem","keyExtractor","toString","Fragment","slate","fontFamily","fontSize","placeholder","placeholderTextColor","onChangeText","public_id","Math","floor","random","onFinishUpload","obj","secure_url","justifyContent","single_buy_in","allow_late_buy_in","title","title_color","borderWidth","borderColor","disabled","opacity","utility","success"],"sourceRoot":"../../../../src","sources":["Competition/components/ManageSeasonForm.tsx"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,KAAK,EAAEC,UAAU,EAAEC,SAAS,EAAEC,gBAAgB,EAAEC,IAAI,QAAQ,cAAc;AAC7F,OAAOC,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAElD,SAASC,kBAAkB,EAAEC,oBAAoB,QAAQ,QAAQ;AACjE,SAASC,MAAM,EAAEC,MAAM,EAAEC,IAAI,QAAQ,kBAAkB;AACvD,OAAOC,MAAM,MAAM,wBAAwB;AAC3C,OAAOC,aAAa,MAAM,gCAAgC;AAS1D,MAAMC,gBAAgB,GAAGA,CAAC;EAAEC,kBAAkB;EAAEC,KAAK;EAAEC;AAAiC,CAAC,KAAK;EAC1F,MAAM,CAAEC,OAAO,EAAEC,UAAU,CAAE,GAAGb,QAAQ,CAAC,KAAK,CAAC;EAC/C,MAAM,CAAEc,cAAc,EAAEC,gBAAgB,CAAE,GAAGf,QAAQ,CAAC,IAAI,CAAC;EAC3D,MAAM,CAAEgB,gBAAgB,EAAEC,kBAAkB,CAAE,GAAGjB,QAAQ,CAA2B,EAAE,CAAC;EACvF,MAAM,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