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