be-components 6.9.2 → 6.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/CompetitionManager/components/CompetitionContestsForm.js +1 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionContestsForm.js.map +1 -1
- package/lib/commonjs/Squares/components/BidForm.js +31 -31
- package/lib/commonjs/Squares/components/BidForm.js.map +1 -1
- package/lib/commonjs/Squares/components/OfferForm.js +53 -60
- package/lib/commonjs/Squares/components/OfferForm.js.map +1 -1
- package/lib/commonjs/Squares/components/SquareOfferCard.js +134 -121
- package/lib/commonjs/Squares/components/SquareOfferCard.js.map +1 -1
- package/lib/commonjs/Squares/components/SquareOffersCard.js +32 -6
- package/lib/commonjs/Squares/components/SquareOffersCard.js.map +1 -1
- package/lib/commonjs/Squares/components/SquaresBoard.js +16 -8
- package/lib/commonjs/Squares/components/SquaresBoard.js.map +1 -1
- package/lib/commonjs/Squares/index.js +65 -18
- package/lib/commonjs/Squares/index.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompetitionContestsForm.js +1 -1
- package/lib/module/CompetitionManager/components/CompetitionContestsForm.js.map +1 -1
- package/lib/module/Squares/components/BidForm.js +31 -31
- package/lib/module/Squares/components/BidForm.js.map +1 -1
- package/lib/module/Squares/components/OfferForm.js +54 -61
- package/lib/module/Squares/components/OfferForm.js.map +1 -1
- package/lib/module/Squares/components/SquareOfferCard.js +123 -109
- package/lib/module/Squares/components/SquareOfferCard.js.map +1 -1
- package/lib/module/Squares/components/SquareOffersCard.js +32 -6
- package/lib/module/Squares/components/SquareOffersCard.js.map +1 -1
- package/lib/module/Squares/components/SquaresBoard.js +16 -8
- package/lib/module/Squares/components/SquaresBoard.js.map +1 -1
- package/lib/module/Squares/index.js +65 -18
- package/lib/module/Squares/index.js.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/BidForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/OfferForm.d.ts +1 -2
- package/lib/typescript/lib/commonjs/Squares/components/OfferForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/SquareOfferCard.d.ts +2 -1
- package/lib/typescript/lib/commonjs/Squares/components/SquareOfferCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/SquareOffersCard.d.ts +2 -1
- package/lib/typescript/lib/commonjs/Squares/components/SquareOffersCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/BidForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquareOfferCard.d.ts +5 -3
- package/lib/typescript/lib/module/Squares/components/SquareOfferCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquareOffersCard.d.ts +2 -1
- package/lib/typescript/lib/module/Squares/components/SquareOffersCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/index.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionContestsForm.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/BidForm.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/OfferForm.d.ts +1 -1
- package/lib/typescript/src/Squares/components/OfferForm.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/SquareOfferCard.d.ts +3 -2
- package/lib/typescript/src/Squares/components/SquareOfferCard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/SquareOffersCard.d.ts +3 -2
- package/lib/typescript/src/Squares/components/SquareOffersCard.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/package.json +1 -1
- package/src/CompetitionManager/components/CompetitionContestsForm.tsx +1 -2
- package/src/Squares/components/BidForm.tsx +23 -25
- package/src/Squares/components/OfferForm.tsx +40 -36
- package/src/Squares/components/SquareOfferCard.tsx +75 -45
- package/src/Squares/components/SquareOffersCard.tsx +13 -9
- package/src/Squares/components/SquaresBoard.tsx +14 -8
- package/src/Squares/index.tsx +77 -41
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { FlatList } from 'react-native';
|
|
3
|
-
import { view_styles } from '../../constants/styles';
|
|
4
3
|
import { Checkbox } from '../../Components';
|
|
5
|
-
import Colors from '../../constants/colors';
|
|
6
4
|
import BidToggle from './BidToggle';
|
|
7
5
|
import { Button, Text, View } from '../../Components/Themed';
|
|
8
6
|
import { useColors } from '../../constants/useColors';
|
|
@@ -21,7 +19,7 @@ const BidForm = ({
|
|
|
21
19
|
onBidAmountChange,
|
|
22
20
|
onRequestAuthenticate
|
|
23
21
|
}) => {
|
|
24
|
-
const
|
|
22
|
+
const Colors = useColors();
|
|
25
23
|
const [promo_balance, setPromoBalance] = useState(false);
|
|
26
24
|
const cl = market_type == 'FOR_MONEY' ? '$' : 'E';
|
|
27
25
|
const total_bid_amount = square_bids.reduce((a, b) => a + b.purchase_price, 0);
|
|
@@ -39,7 +37,7 @@ const BidForm = ({
|
|
|
39
37
|
transparent: true,
|
|
40
38
|
style: {
|
|
41
39
|
borderBottomWidth: 1,
|
|
42
|
-
borderColor:
|
|
40
|
+
borderColor: Colors.borders.light,
|
|
43
41
|
padding: 5
|
|
44
42
|
}
|
|
45
43
|
}, /*#__PURE__*/React.createElement(View, {
|
|
@@ -68,7 +66,9 @@ const BidForm = ({
|
|
|
68
66
|
style: {
|
|
69
67
|
flexDirection: 'row',
|
|
70
68
|
alignItems: 'center',
|
|
71
|
-
padding: 10
|
|
69
|
+
padding: 10,
|
|
70
|
+
borderTopRightRadius: 8,
|
|
71
|
+
borderTopLeftRadius: 8
|
|
72
72
|
}
|
|
73
73
|
}, /*#__PURE__*/React.createElement(View, {
|
|
74
74
|
transparent: true,
|
|
@@ -81,23 +81,22 @@ const BidForm = ({
|
|
|
81
81
|
style: {
|
|
82
82
|
marginTop: 3
|
|
83
83
|
},
|
|
84
|
-
color: Colors.
|
|
84
|
+
color: Colors.text.error,
|
|
85
85
|
size: 12,
|
|
86
86
|
weight: "regular"
|
|
87
87
|
}, "All purchases are final and cannot be removed")), /*#__PURE__*/React.createElement(View, {
|
|
88
|
-
|
|
88
|
+
float: true,
|
|
89
89
|
style: {
|
|
90
90
|
height: 24,
|
|
91
91
|
width: 24,
|
|
92
92
|
borderRadius: 100,
|
|
93
|
-
backgroundColor: Colors.highlights.highlight200,
|
|
94
93
|
justifyContent: 'center',
|
|
95
94
|
alignItems: 'center',
|
|
96
95
|
marginLeft: 5
|
|
97
96
|
}
|
|
98
97
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
99
98
|
size: 12,
|
|
100
|
-
|
|
99
|
+
theme: "h1",
|
|
101
100
|
textAlign: "center"
|
|
102
101
|
}, square_bids.length)));
|
|
103
102
|
case 'bids':
|
|
@@ -114,7 +113,10 @@ const BidForm = ({
|
|
|
114
113
|
keyExtractor: item => `b-${item.sq_square_id}`
|
|
115
114
|
}), /*#__PURE__*/React.createElement(View, {
|
|
116
115
|
transparent: true,
|
|
117
|
-
|
|
116
|
+
type: "row",
|
|
117
|
+
style: {
|
|
118
|
+
marginTop: 5
|
|
119
|
+
}
|
|
118
120
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
119
121
|
style: {
|
|
120
122
|
flex: 1
|
|
@@ -129,7 +131,7 @@ const BidForm = ({
|
|
|
129
131
|
alignItems: 'center',
|
|
130
132
|
margin: 5,
|
|
131
133
|
padding: 5,
|
|
132
|
-
backgroundColor:
|
|
134
|
+
backgroundColor: Colors.text.gold,
|
|
133
135
|
borderRadius: 8
|
|
134
136
|
},
|
|
135
137
|
onPress: () => setPromoBalance(!promo_balance)
|
|
@@ -146,11 +148,11 @@ const BidForm = ({
|
|
|
146
148
|
}
|
|
147
149
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
148
150
|
size: 12,
|
|
149
|
-
color:
|
|
151
|
+
color: Colors.text.white,
|
|
150
152
|
weight: "bold"
|
|
151
153
|
}, "$", player_balance.promo_balance.toFixed(2), " Promotion Available"), /*#__PURE__*/React.createElement(Text, {
|
|
152
154
|
size: 10,
|
|
153
|
-
color:
|
|
155
|
+
color: Colors.text.white,
|
|
154
156
|
weight: "regular",
|
|
155
157
|
style: {
|
|
156
158
|
marginTop: 3
|
|
@@ -177,43 +179,41 @@ const BidForm = ({
|
|
|
177
179
|
style: {
|
|
178
180
|
flexDirection: 'row',
|
|
179
181
|
alignItems: 'center',
|
|
180
|
-
padding: 10
|
|
182
|
+
padding: 10,
|
|
183
|
+
borderBottomRightRadius: 8,
|
|
184
|
+
borderBottomLeftRadius: 8
|
|
181
185
|
}
|
|
182
186
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
187
|
+
type: "error",
|
|
183
188
|
title: "CLEAR",
|
|
184
189
|
style: {
|
|
185
190
|
flex: 1
|
|
186
191
|
},
|
|
187
|
-
type: "close",
|
|
188
192
|
onPress: () => onClearBids()
|
|
189
193
|
}), player_id ? /*#__PURE__*/React.createElement(Button, {
|
|
194
|
+
disabled: !can_submit || submit_ready.is_loading,
|
|
190
195
|
loading: submit_ready.is_loading,
|
|
191
196
|
style: {
|
|
192
|
-
flex:
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
197
|
+
flex: 2,
|
|
198
|
+
opacity: submit_ready.is_loading || !can_submit ? 0.5 : 1,
|
|
199
|
+
marginLeft: 5,
|
|
200
|
+
backgroundColor: submit_ready.is_ready ? Colors.text.success : Colors.text.action
|
|
196
201
|
},
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
title: submit_ready.is_ready ? 'Submit Bids' : 'Review Bids'
|
|
202
|
+
type: "success",
|
|
203
|
+
title: submit_ready.is_ready ? 'SUBMIT OFFER' : 'REVIEW OFFER',
|
|
204
|
+
onPress: () => onSubmitBid(promo_balance)
|
|
201
205
|
}) : /*#__PURE__*/React.createElement(Button, {
|
|
202
206
|
style: {
|
|
203
|
-
flex: 2
|
|
204
|
-
|
|
205
|
-
borderRadius: 4,
|
|
206
|
-
backgroundColor: Colors.highlights.highlight400,
|
|
207
|
-
justifyContent: 'center',
|
|
208
|
-
alignItems: 'center',
|
|
209
|
-
marginLeft: 4
|
|
207
|
+
flex: 2,
|
|
208
|
+
marginLeft: 5
|
|
210
209
|
},
|
|
210
|
+
type: "success",
|
|
211
211
|
onPress: () => onRequestAuthenticate()
|
|
212
212
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
213
213
|
size: 14,
|
|
214
214
|
weight: "semibold",
|
|
215
215
|
textAlign: "center",
|
|
216
|
-
color: Colors.
|
|
216
|
+
color: Colors.text.white
|
|
217
217
|
}, "Sign Up"))));
|
|
218
218
|
};
|
|
219
219
|
export default BidForm;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","FlatList","
|
|
1
|
+
{"version":3,"names":["React","useState","FlatList","Checkbox","BidToggle","Button","Text","View","useColors","form_sections","BidForm","player_id","player_balance","market_type","home_abbr","away_abbr","submit_ready","square_bids","squares","onSubmitBid","onClearBids","onBidAmountChange","onRequestAuthenticate","Colors","promo_balance","setPromoBalance","cl","total_bid_amount","reduce","a","b","purchase_price","can_submit","balance","renderBids","data","square","find","s","sq_square_id","item","createElement","Fragment","type","transparent","style","borderBottomWidth","borderColor","borders","light","padding","flex","theme","square_score_x","square_score_y","last_purchase_price","toFixed","amount","onAmountChange","dir","renderSections","flexDirection","alignItems","borderTopRightRadius","borderTopLeftRadius","marginTop","color","text","error","size","weight","float","height","width","borderRadius","justifyContent","marginLeft","textAlign","length","flexGrow","sort","parseInt","renderItem","keyExtractor","margin","backgroundColor","gold","onPress","checked","disabled","onSelect","white","maxHeight","maxWidth","key","borderBottomRightRadius","borderBottomLeftRadius","title","is_loading","loading","opacity","is_ready","success","action"],"sourceRoot":"../../../../src","sources":["Squares/components/BidFor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4C,OAAO,EAAEA,CAAA,KAAMjE,qBAAqB,CAAC;EAAE,gBACvCtB,KAAA,CAAAyC,aAAA,CAACnC,IAAI;IAAC+D,IAAI,EAAE,EAAG;IAACC,MAAM,EAAC,UAAU;IAACO,SAAS,EAAC,QAAQ;IAACX,KAAK,EAAE3C,MAAM,CAAC4C,IAAI,CAACwB;EAAM,GAAC,SAAa,CACxF,CAEN,CACJ,CAAC;AAEf,CAAC;AAED,eAAejF,OAAO","ignoreList":[]}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { FlatList } from "react-native";
|
|
3
3
|
import BidToggle from "./BidToggle";
|
|
4
|
-
import { view_styles } from "../../constants/styles";
|
|
5
|
-
import Colors from "../../constants/colors";
|
|
6
4
|
import { Button, Text, View } from '../../Components/Themed';
|
|
5
|
+
import { useColors } from '../../constants/useColors';
|
|
7
6
|
const OfferForm = ({
|
|
8
7
|
player_id,
|
|
9
8
|
player_balance,
|
|
10
9
|
market_type,
|
|
11
|
-
width,
|
|
12
10
|
squares,
|
|
13
11
|
submit_ready,
|
|
14
12
|
home_abbr,
|
|
@@ -20,6 +18,7 @@ const OfferForm = ({
|
|
|
20
18
|
onClearOffers,
|
|
21
19
|
onSubmitOffer
|
|
22
20
|
}) => {
|
|
21
|
+
const Colors = useColors();
|
|
23
22
|
const cl = market_type == 'FOR_MONEY' ? '$' : 'E';
|
|
24
23
|
const total_offer_amount = draft_square_offers.reduce((a, b) => a + b.amount, 0);
|
|
25
24
|
let can_submit = player_balance && total_offer_amount < player_balance.balance ? true : false;
|
|
@@ -33,6 +32,7 @@ const OfferForm = ({
|
|
|
33
32
|
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
34
33
|
}
|
|
35
34
|
return /*#__PURE__*/React.createElement(View, {
|
|
35
|
+
transparent: true,
|
|
36
36
|
style: {
|
|
37
37
|
flex: 1,
|
|
38
38
|
flexDirection: 'row',
|
|
@@ -40,6 +40,7 @@ const OfferForm = ({
|
|
|
40
40
|
marginBottom: 8
|
|
41
41
|
}
|
|
42
42
|
}, /*#__PURE__*/React.createElement(View, {
|
|
43
|
+
transparent: true,
|
|
43
44
|
style: {
|
|
44
45
|
flex: 1
|
|
45
46
|
}
|
|
@@ -47,7 +48,9 @@ const OfferForm = ({
|
|
|
47
48
|
theme: "description"
|
|
48
49
|
}, "SQUARE: ", home_abbr, ": ", square.square_score_x, ", ", away_abbr, ": ", square.square_score_y), /*#__PURE__*/React.createElement(Text, {
|
|
49
50
|
theme: "description"
|
|
50
|
-
}, "Purchased Price: ", cl, ps.purchase_price.toFixed(2))), /*#__PURE__*/React.createElement(View,
|
|
51
|
+
}, "Purchased Price: ", cl, ps.purchase_price.toFixed(2))), /*#__PURE__*/React.createElement(View, {
|
|
52
|
+
transparent: true
|
|
53
|
+
}, /*#__PURE__*/React.createElement(BidToggle, {
|
|
51
54
|
sq_square_id: square.sq_square_id,
|
|
52
55
|
amount: data.item.amount,
|
|
53
56
|
cl: cl,
|
|
@@ -58,16 +61,18 @@ const OfferForm = ({
|
|
|
58
61
|
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
59
62
|
}
|
|
60
63
|
return /*#__PURE__*/React.createElement(View, {
|
|
64
|
+
float: true
|
|
65
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
66
|
+
type: "header",
|
|
61
67
|
style: {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
padding:
|
|
65
|
-
|
|
66
|
-
|
|
68
|
+
flexDirection: 'row',
|
|
69
|
+
alignItems: 'center',
|
|
70
|
+
padding: 10,
|
|
71
|
+
borderTopRightRadius: 8,
|
|
72
|
+
borderTopLeftRadius: 8
|
|
67
73
|
}
|
|
68
74
|
}, /*#__PURE__*/React.createElement(View, {
|
|
69
|
-
|
|
70
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
75
|
+
transparent: true,
|
|
71
76
|
style: {
|
|
72
77
|
flex: 1
|
|
73
78
|
}
|
|
@@ -84,95 +89,83 @@ const OfferForm = ({
|
|
|
84
89
|
},
|
|
85
90
|
theme: "description"
|
|
86
91
|
}, "How much are you willing to sell the selected square for?")), /*#__PURE__*/React.createElement(View, {
|
|
92
|
+
float: true,
|
|
87
93
|
style: {
|
|
88
94
|
height: 24,
|
|
89
95
|
width: 24,
|
|
90
96
|
borderRadius: 100,
|
|
91
|
-
backgroundColor: Colors.highlights.highlight200,
|
|
92
97
|
justifyContent: 'center',
|
|
93
98
|
alignItems: 'center',
|
|
94
99
|
marginLeft: 5
|
|
95
100
|
}
|
|
96
101
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
97
102
|
size: 12,
|
|
98
|
-
color: Colors.
|
|
103
|
+
color: Colors.text.h1,
|
|
99
104
|
textAlign: "center"
|
|
100
105
|
}, draft_square_offers.length))), /*#__PURE__*/React.createElement(View, {
|
|
106
|
+
transparent: true,
|
|
107
|
+
type: "body",
|
|
101
108
|
style: {
|
|
102
|
-
|
|
109
|
+
padding: 10
|
|
103
110
|
}
|
|
104
111
|
}, /*#__PURE__*/React.createElement(FlatList, {
|
|
105
112
|
data: draft_square_offers.sort((a, b) => parseInt(a.sq_player_square_id) - parseInt(b.sq_player_square_id)),
|
|
106
113
|
renderItem: renderDraftOffers,
|
|
107
114
|
keyExtractor: item => `o-${item.sq_player_square_id}`
|
|
108
115
|
}), /*#__PURE__*/React.createElement(View, {
|
|
109
|
-
|
|
116
|
+
transparent: true,
|
|
117
|
+
type: "row",
|
|
118
|
+
style: {
|
|
119
|
+
marginTop: 5
|
|
120
|
+
}
|
|
110
121
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
111
122
|
style: {
|
|
112
123
|
flex: 1
|
|
113
124
|
},
|
|
114
|
-
theme: "description"
|
|
115
|
-
}, "Total"), /*#__PURE__*/React.createElement(Text, {
|
|
116
125
|
theme: "h2"
|
|
117
|
-
},
|
|
126
|
+
}, "Total"), /*#__PURE__*/React.createElement(Text, {
|
|
127
|
+
theme: "h1"
|
|
128
|
+
}, cl, total_offer_amount.toFixed(2)))), /*#__PURE__*/React.createElement(View, {
|
|
129
|
+
type: "footer",
|
|
118
130
|
style: {
|
|
119
|
-
|
|
131
|
+
flexDirection: 'row',
|
|
132
|
+
alignItems: 'center',
|
|
133
|
+
padding: 10,
|
|
134
|
+
borderBottomRightRadius: 8,
|
|
135
|
+
borderBottomLeftRadius: 8
|
|
120
136
|
}
|
|
121
137
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
138
|
+
type: "error",
|
|
139
|
+
title: "CLEAR",
|
|
122
140
|
style: {
|
|
123
|
-
flex: 1
|
|
124
|
-
padding: 12,
|
|
125
|
-
borderRadius: 4,
|
|
126
|
-
borderWidth: 1,
|
|
127
|
-
borderColor: Colors.brand.cobalt,
|
|
128
|
-
justifyContent: 'center',
|
|
129
|
-
alignItems: 'center',
|
|
130
|
-
marginRight: 4
|
|
141
|
+
flex: 1
|
|
131
142
|
},
|
|
132
143
|
onPress: () => onClearOffers()
|
|
133
|
-
}, /*#__PURE__*/React.createElement(
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
textAlign: "center",
|
|
137
|
-
color: Colors.brand.cobalt
|
|
138
|
-
}, "Clear")), player_id ? /*#__PURE__*/React.createElement(Button, {
|
|
139
|
-
disabled: !can_submit,
|
|
144
|
+
}), player_id ? /*#__PURE__*/React.createElement(Button, {
|
|
145
|
+
disabled: !can_submit || submit_ready.is_loading,
|
|
146
|
+
loading: submit_ready.is_loading,
|
|
140
147
|
style: {
|
|
141
|
-
flex: 2
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
backgroundColor: submit_ready.is_ready ? Colors.
|
|
145
|
-
justifyContent: 'center',
|
|
146
|
-
alignItems: 'center',
|
|
147
|
-
marginLeft: 4,
|
|
148
|
-
opacity: submit_ready.is_loading || !can_submit ? 0.5 : 1
|
|
148
|
+
flex: 2,
|
|
149
|
+
opacity: submit_ready.is_loading || !can_submit ? 0.5 : 1,
|
|
150
|
+
marginLeft: 5,
|
|
151
|
+
backgroundColor: submit_ready.is_ready ? Colors.text.success : Colors.text.action
|
|
149
152
|
},
|
|
153
|
+
type: "success",
|
|
154
|
+
title: submit_ready.is_ready ? 'SUBMIT OFFER' : 'REVIEW OFFER',
|
|
150
155
|
onPress: () => onSubmitOffer()
|
|
151
|
-
}
|
|
152
|
-
size: "small",
|
|
153
|
-
color: Colors.shades.white
|
|
154
|
-
}) : /*#__PURE__*/React.createElement(Text, {
|
|
155
|
-
size: 14,
|
|
156
|
-
weight: "semibold",
|
|
157
|
-
textAlign: "center",
|
|
158
|
-
color: Colors.shades.white
|
|
159
|
-
}, submit_ready.is_ready ? 'Submit Offers' : 'Review Offers')) : /*#__PURE__*/React.createElement(Button, {
|
|
156
|
+
}) : /*#__PURE__*/React.createElement(Button, {
|
|
160
157
|
style: {
|
|
161
|
-
flex: 2
|
|
162
|
-
|
|
163
|
-
borderRadius: 4,
|
|
164
|
-
backgroundColor: Colors.highlights.highlight400,
|
|
165
|
-
justifyContent: 'center',
|
|
166
|
-
alignItems: 'center',
|
|
167
|
-
marginLeft: 4
|
|
158
|
+
flex: 2,
|
|
159
|
+
marginLeft: 5
|
|
168
160
|
},
|
|
161
|
+
type: "success",
|
|
169
162
|
onPress: () => onRequestAuthenticate()
|
|
170
163
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
171
164
|
size: 14,
|
|
172
165
|
weight: "semibold",
|
|
173
166
|
textAlign: "center",
|
|
174
|
-
color: Colors.
|
|
175
|
-
}, "Sign Up"))))
|
|
167
|
+
color: Colors.text.white
|
|
168
|
+
}, "Sign Up"))));
|
|
176
169
|
};
|
|
177
170
|
export default OfferForm;
|
|
178
171
|
//# sourceMappingURL=OfferForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","
|
|
1
|
+
{"version":3,"names":["React","FlatList","BidToggle","Button","Text","View","useColors","OfferForm","player_id","player_balance","market_type","squares","submit_ready","home_abbr","away_abbr","player_squares","draft_square_offers","onRequestAuthenticate","onOfferAmountChange","onClearOffers","onSubmitOffer","Colors","cl","total_offer_amount","reduce","a","b","amount","can_submit","balance","renderDraftOffers","data","ps","find","psQ","sq_player_square_id","item","createElement","Fragment","square","s","sq_square_id","transparent","style","flex","flexDirection","alignItems","marginBottom","theme","square_score_x","square_score_y","purchase_price","toFixed","onAmountChange","dir","float","type","padding","borderTopRightRadius","borderTopLeftRadius","buy_sell_ind","marginTop","height","width","borderRadius","justifyContent","marginLeft","size","color","text","h1","textAlign","length","sort","parseInt","renderItem","keyExtractor","borderBottomRightRadius","borderBottomLeftRadius","title","onPress","disabled","is_loading","loading","opacity","backgroundColor","is_ready","success","action","weight","white"],"sourceRoot":"../../../../src","sources":["Squares/components/OfferForm.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,cAAc;AAEvC,OAAOC,SAAS,MAAM,aAAa;AACnC,SAASC,MAAM,EAAEC,IAAI,EAAEC,IAAI,QAAQ,yBAAyB;AAC5D,SAASC,SAAS,QAAQ,2BAA2B;AAmBrD,MAAMC,SAAS,GAAGA,CAAC;EAAEC,SAAS;EAAEC,cAAc;EAAEC,WAAW;EAAEC,OAAO;EAAEC,YAAY;EAAEC,SAAS;EAAEC,SAAS;EAAEC,cAAc;EAAEC,mBAAmB;EAAEC,qBAAqB;EAAEC,mBAAmB;EAAEC,aAAa;EAAEC;AAA6B,CAAC,KAAK;EACzO,MAAMC,MAAM,GAAGf,SAAS,CAAC,CAAC;EAC1B,MAAMgB,EAAE,GAAGZ,WAAW,IAAI,WAAW,GAAG,GAAG,GAAG,GAAG;EACjD,MAAMa,kBAAkB,GAAGP,mBAAmB,CAACQ,MAAM,CAAC,CAACC,CAAC,EAACC,CAAC,KAAKD,CAAC,GAAGC,CAAC,CAACC,MAAM,EAAE,CAAC,CAAC;EAE/E,IAAIC,UAAU,GAAGnB,cAAc,IAAIc,kBAAkB,GAAGd,cAAc,CAACoB,OAAO,GAAG,IAAI,GAAG,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