be-components 1.0.9 → 1.1.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 (904) hide show
  1. package/lib/commonjs/AdServer/components/CompanyAdCard.js +3 -5
  2. package/lib/commonjs/AdServer/components/CompanyAdCard.js.map +1 -1
  3. package/lib/commonjs/AdServer/index.js +8 -10
  4. package/lib/commonjs/AdServer/index.js.map +1 -1
  5. package/lib/commonjs/ApiOverrides/index.js +6 -3
  6. package/lib/commonjs/ApiOverrides/index.js.map +1 -1
  7. package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js +16 -17
  8. package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
  9. package/lib/commonjs/Authenticator/Components/LoginForm.js +58 -60
  10. package/lib/commonjs/Authenticator/Components/LoginForm.js.map +1 -1
  11. package/lib/commonjs/Authenticator/Components/StrategyForm.js +67 -69
  12. package/lib/commonjs/Authenticator/Components/StrategyForm.js.map +1 -1
  13. package/lib/commonjs/Authenticator/index.js +14 -16
  14. package/lib/commonjs/Authenticator/index.js.map +1 -1
  15. package/lib/commonjs/BettorSearch/index.js +8 -10
  16. package/lib/commonjs/BettorSearch/index.js.map +1 -1
  17. package/lib/commonjs/Bracket/components/BracketCompetitionCard.js +92 -94
  18. package/lib/commonjs/Bracket/components/BracketCompetitionCard.js.map +1 -1
  19. package/lib/commonjs/Bracket/components/BracketCompetitionSelector.js +37 -39
  20. package/lib/commonjs/Bracket/components/BracketCompetitionSelector.js.map +1 -1
  21. package/lib/commonjs/Bracket/components/BracketPlay/BracketNavigator.js +18 -19
  22. package/lib/commonjs/Bracket/components/BracketPlay/BracketNavigator.js.map +1 -1
  23. package/lib/commonjs/Bracket/components/BracketPlay/BracketRound.js +7 -8
  24. package/lib/commonjs/Bracket/components/BracketPlay/BracketRound.js.map +1 -1
  25. package/lib/commonjs/Bracket/components/BracketPlay/RoundEvent.js +45 -46
  26. package/lib/commonjs/Bracket/components/BracketPlay/RoundEvent.js.map +1 -1
  27. package/lib/commonjs/Bracket/components/BracketPlay/index.js +27 -29
  28. package/lib/commonjs/Bracket/components/BracketPlay/index.js.map +1 -1
  29. package/lib/commonjs/Bracket/components/BracketSelector.js +21 -22
  30. package/lib/commonjs/Bracket/components/BracketSelector.js.map +1 -1
  31. package/lib/commonjs/Bracket/components/CompetitionLeaderboard.js +34 -36
  32. package/lib/commonjs/Bracket/components/CompetitionLeaderboard.js.map +1 -1
  33. package/lib/commonjs/Bracket/components/JoinCompetitionCard.js +20 -22
  34. package/lib/commonjs/Bracket/components/JoinCompetitionCard.js.map +1 -1
  35. package/lib/commonjs/Bracket/components/PlayerBalanceCard.js +6 -7
  36. package/lib/commonjs/Bracket/components/PlayerBalanceCard.js.map +1 -1
  37. package/lib/commonjs/Bracket/components/PlayerBracketManager.js +75 -77
  38. package/lib/commonjs/Bracket/components/PlayerBracketManager.js.map +1 -1
  39. package/lib/commonjs/Bracket/components/PlayerBrackets.js +27 -28
  40. package/lib/commonjs/Bracket/components/PlayerBrackets.js.map +1 -1
  41. package/lib/commonjs/Bracket/components/RoomMenu.js +15 -16
  42. package/lib/commonjs/Bracket/components/RoomMenu.js.map +1 -1
  43. package/lib/commonjs/Bracket/index.js +9 -11
  44. package/lib/commonjs/Bracket/index.js.map +1 -1
  45. package/lib/commonjs/Checkout/components/AccountSummaryCard.js +43 -44
  46. package/lib/commonjs/Checkout/components/AccountSummaryCard.js.map +1 -1
  47. package/lib/commonjs/Checkout/components/ItemSummaryCard.js +7 -8
  48. package/lib/commonjs/Checkout/components/ItemSummaryCard.js.map +1 -1
  49. package/lib/commonjs/Checkout/components/OrderSummaryCard.js +12 -13
  50. package/lib/commonjs/Checkout/components/OrderSummaryCard.js.map +1 -1
  51. package/lib/commonjs/Checkout/components/PayPalOrderCapture.js +2 -4
  52. package/lib/commonjs/Checkout/components/PayPalOrderCapture.js.map +1 -1
  53. package/lib/commonjs/Checkout/components/ShippingSummaryCard.js +7 -8
  54. package/lib/commonjs/Checkout/components/ShippingSummaryCard.js.map +1 -1
  55. package/lib/commonjs/Checkout/index.js +58 -60
  56. package/lib/commonjs/Checkout/index.js.map +1 -1
  57. package/lib/commonjs/Competition/components/AthleteMarketCard.js +20 -21
  58. package/lib/commonjs/Competition/components/AthleteMarketCard.js.map +1 -1
  59. package/lib/commonjs/Competition/components/CompetitionCard.js +25 -26
  60. package/lib/commonjs/Competition/components/CompetitionCard.js.map +1 -1
  61. package/lib/commonjs/Competition/components/CompetitionInfoCard.js +31 -32
  62. package/lib/commonjs/Competition/components/CompetitionInfoCard.js.map +1 -1
  63. package/lib/commonjs/Competition/components/CompetitionLeaderboard.js +34 -36
  64. package/lib/commonjs/Competition/components/CompetitionLeaderboard.js.map +1 -1
  65. package/lib/commonjs/Competition/components/CompetitionPlay.js +116 -118
  66. package/lib/commonjs/Competition/components/CompetitionPlay.js.map +1 -1
  67. package/lib/commonjs/Competition/components/CompetitionSeasonCard.js +16 -17
  68. package/lib/commonjs/Competition/components/CompetitionSeasonCard.js.map +1 -1
  69. package/lib/commonjs/Competition/components/CompetitionSelector.js +14 -16
  70. package/lib/commonjs/Competition/components/CompetitionSelector.js.map +1 -1
  71. package/lib/commonjs/Competition/components/CompetitionTypeCard.js +43 -45
  72. package/lib/commonjs/Competition/components/CompetitionTypeCard.js.map +1 -1
  73. package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js +29 -31
  74. package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js.map +1 -1
  75. package/lib/commonjs/Competition/components/LeaderPicks.js +39 -41
  76. package/lib/commonjs/Competition/components/LeaderPicks.js.map +1 -1
  77. package/lib/commonjs/Competition/components/ManageSeasonForm.js +85 -87
  78. package/lib/commonjs/Competition/components/ManageSeasonForm.js.map +1 -1
  79. package/lib/commonjs/Competition/components/MarketsCard.js +17 -19
  80. package/lib/commonjs/Competition/components/MarketsCard.js.map +1 -1
  81. package/lib/commonjs/Competition/components/MatchMarketCard.js +25 -26
  82. package/lib/commonjs/Competition/components/MatchMarketCard.js.map +1 -1
  83. package/lib/commonjs/Competition/components/NavOutPrompt.js +18 -19
  84. package/lib/commonjs/Competition/components/NavOutPrompt.js.map +1 -1
  85. package/lib/commonjs/Competition/components/SeasonInfoModal.js +52 -54
  86. package/lib/commonjs/Competition/components/SeasonInfoModal.js.map +1 -1
  87. package/lib/commonjs/Competition/components/TeamEventCard.js +30 -31
  88. package/lib/commonjs/Competition/components/TeamEventCard.js.map +1 -1
  89. package/lib/commonjs/Competition/components/WagerPickForm.js +30 -32
  90. package/lib/commonjs/Competition/components/WagerPickForm.js.map +1 -1
  91. package/lib/commonjs/Competition/index.js +3 -5
  92. package/lib/commonjs/Competition/index.js.map +1 -1
  93. package/lib/commonjs/Components/Button.js +7 -8
  94. package/lib/commonjs/Components/Button.js.map +1 -1
  95. package/lib/commonjs/Components/Checkbox.js +3 -4
  96. package/lib/commonjs/Components/Checkbox.js.map +1 -1
  97. package/lib/commonjs/Components/Icons.js +650 -373
  98. package/lib/commonjs/Components/Icons.js.map +1 -1
  99. package/lib/commonjs/Components/ImageUploader.js +3 -5
  100. package/lib/commonjs/Components/ImageUploader.js.map +1 -1
  101. package/lib/commonjs/Components/Jerseys.js +124 -125
  102. package/lib/commonjs/Components/Jerseys.js.map +1 -1
  103. package/lib/commonjs/Components/LinearDiagnal.js +7 -9
  104. package/lib/commonjs/Components/LinearDiagnal.js.map +1 -1
  105. package/lib/commonjs/Components/Spring.js +1 -3
  106. package/lib/commonjs/Components/Spring.js.map +1 -1
  107. package/lib/commonjs/Components/Switch.js +8 -9
  108. package/lib/commonjs/Components/Switch.js.map +1 -1
  109. package/lib/commonjs/Components/Text.js +33 -5
  110. package/lib/commonjs/Components/Text.js.map +1 -1
  111. package/lib/commonjs/Components/TextInput.js +1 -2
  112. package/lib/commonjs/Components/TextInput.js.map +1 -1
  113. package/lib/commonjs/LocationTracker/index.js +27 -28
  114. package/lib/commonjs/LocationTracker/index.js.map +1 -1
  115. package/lib/commonjs/Observer/Observer.js +2 -4
  116. package/lib/commonjs/Observer/Observer.js.map +1 -1
  117. package/lib/commonjs/Poll/components/CampaignPlay.js +56 -58
  118. package/lib/commonjs/Poll/components/CampaignPlay.js.map +1 -1
  119. package/lib/commonjs/Poll/components/CampaignProgressBar.js +11 -13
  120. package/lib/commonjs/Poll/components/CampaignProgressBar.js.map +1 -1
  121. package/lib/commonjs/Poll/components/CampaignResult.js +56 -58
  122. package/lib/commonjs/Poll/components/CampaignResult.js.map +1 -1
  123. package/lib/commonjs/Poll/components/CampaignSelector.js +12 -14
  124. package/lib/commonjs/Poll/components/CampaignSelector.js.map +1 -1
  125. package/lib/commonjs/Poll/components/PollCampaignCard.js +7 -8
  126. package/lib/commonjs/Poll/components/PollCampaignCard.js.map +1 -1
  127. package/lib/commonjs/Poll/components/PollCard.js +49 -51
  128. package/lib/commonjs/Poll/components/PollCard.js.map +1 -1
  129. package/lib/commonjs/Poll/components/PollOptionCard.js +14 -16
  130. package/lib/commonjs/Poll/components/PollOptionCard.js.map +1 -1
  131. package/lib/commonjs/Poll/components/PollSelectCard.js +25 -26
  132. package/lib/commonjs/Poll/components/PollSelectCard.js.map +1 -1
  133. package/lib/commonjs/Poll/components/ResponseTimer.js +3 -5
  134. package/lib/commonjs/Poll/components/ResponseTimer.js.map +1 -1
  135. package/lib/commonjs/Poll/components/WidgetHeader.js +11 -12
  136. package/lib/commonjs/Poll/components/WidgetHeader.js.map +1 -1
  137. package/lib/commonjs/Poll/flashmarket/ResultCard.js +47 -49
  138. package/lib/commonjs/Poll/flashmarket/ResultCard.js.map +1 -1
  139. package/lib/commonjs/Poll/flashmarket/index.js +52 -54
  140. package/lib/commonjs/Poll/flashmarket/index.js.map +1 -1
  141. package/lib/commonjs/Poll/index.js +6 -8
  142. package/lib/commonjs/Poll/index.js.map +1 -1
  143. package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js +35 -37
  144. package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js.map +1 -1
  145. package/lib/commonjs/ProfileManager/Components/BasicStatus.js +35 -36
  146. package/lib/commonjs/ProfileManager/Components/BasicStatus.js.map +1 -1
  147. package/lib/commonjs/ProfileManager/Components/CodeRedeem.js +50 -52
  148. package/lib/commonjs/ProfileManager/Components/CodeRedeem.js.map +1 -1
  149. package/lib/commonjs/ProfileManager/Components/DOBManager.js +24 -26
  150. package/lib/commonjs/ProfileManager/Components/DOBManager.js.map +1 -1
  151. package/lib/commonjs/ProfileManager/Components/EmailManager.js +36 -38
  152. package/lib/commonjs/ProfileManager/Components/EmailManager.js.map +1 -1
  153. package/lib/commonjs/ProfileManager/Components/PasswordManager.js +36 -38
  154. package/lib/commonjs/ProfileManager/Components/PasswordManager.js.map +1 -1
  155. package/lib/commonjs/ProfileManager/Components/PhoneManager.js +36 -38
  156. package/lib/commonjs/ProfileManager/Components/PhoneManager.js.map +1 -1
  157. package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js +17 -19
  158. package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js.map +1 -1
  159. package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js +15 -16
  160. package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js.map +1 -1
  161. package/lib/commonjs/ProfileManager/Components/ProfileWizard.js +66 -68
  162. package/lib/commonjs/ProfileManager/Components/ProfileWizard.js.map +1 -1
  163. package/lib/commonjs/ProfileManager/Components/SettingsManager.js +29 -31
  164. package/lib/commonjs/ProfileManager/Components/SettingsManager.js.map +1 -1
  165. package/lib/commonjs/ProfileManager/Components/VouchCard.js +63 -65
  166. package/lib/commonjs/ProfileManager/Components/VouchCard.js.map +1 -1
  167. package/lib/commonjs/ProfileManager/index.js +16 -18
  168. package/lib/commonjs/ProfileManager/index.js.map +1 -1
  169. package/lib/commonjs/SocialComponents/PlayerCard.js +11 -12
  170. package/lib/commonjs/SocialComponents/PlayerCard.js.map +1 -1
  171. package/lib/commonjs/SocialComponents/PlayerFollowButton.js +3 -4
  172. package/lib/commonjs/SocialComponents/PlayerFollowButton.js.map +1 -1
  173. package/lib/commonjs/SocialComponents/PlayerList.js +4 -6
  174. package/lib/commonjs/SocialComponents/PlayerList.js.map +1 -1
  175. package/lib/commonjs/Socket/api/index.js +18 -0
  176. package/lib/commonjs/Socket/api/index.js.map +1 -0
  177. package/lib/commonjs/Socket/index.js +120 -0
  178. package/lib/commonjs/Socket/index.js.map +1 -0
  179. package/lib/commonjs/Squares/api/index.js +97 -0
  180. package/lib/commonjs/Squares/api/index.js.map +1 -0
  181. package/lib/commonjs/Squares/components/BidForm.js +173 -0
  182. package/lib/commonjs/Squares/components/BidForm.js.map +1 -0
  183. package/lib/commonjs/Squares/components/BidToggle.js +63 -0
  184. package/lib/commonjs/Squares/components/BidToggle.js.map +1 -0
  185. package/lib/commonjs/Squares/components/BoardStats.js +144 -0
  186. package/lib/commonjs/Squares/components/BoardStats.js.map +1 -0
  187. package/lib/commonjs/Squares/components/EventCard.js +132 -0
  188. package/lib/commonjs/Squares/components/EventCard.js.map +1 -0
  189. package/lib/commonjs/Squares/components/MySquaresCard.js +109 -0
  190. package/lib/commonjs/Squares/components/MySquaresCard.js.map +1 -0
  191. package/lib/commonjs/Squares/components/OfferForm.js +181 -0
  192. package/lib/commonjs/Squares/components/OfferForm.js.map +1 -0
  193. package/lib/commonjs/Squares/components/ResultsCard.js +108 -0
  194. package/lib/commonjs/Squares/components/ResultsCard.js.map +1 -0
  195. package/lib/commonjs/Squares/components/SquareCard.js +337 -0
  196. package/lib/commonjs/Squares/components/SquareCard.js.map +1 -0
  197. package/lib/commonjs/Squares/components/SquareOfferCard.js +266 -0
  198. package/lib/commonjs/Squares/components/SquareOfferCard.js.map +1 -0
  199. package/lib/commonjs/Squares/components/SquareOwners.js +123 -0
  200. package/lib/commonjs/Squares/components/SquareOwners.js.map +1 -0
  201. package/lib/commonjs/Squares/components/SquaresBoard.js +209 -0
  202. package/lib/commonjs/Squares/components/SquaresBoard.js.map +1 -0
  203. package/lib/commonjs/Squares/components/SquaresDetails.js +90 -0
  204. package/lib/commonjs/Squares/components/SquaresDetails.js.map +1 -0
  205. package/lib/commonjs/Squares/index.js +568 -0
  206. package/lib/commonjs/Squares/index.js.map +1 -0
  207. package/lib/commonjs/Wallet/components/ACHAddCard.js +38 -39
  208. package/lib/commonjs/Wallet/components/ACHAddCard.js.map +1 -1
  209. package/lib/commonjs/Wallet/components/AccountCard.js +17 -18
  210. package/lib/commonjs/Wallet/components/AccountCard.js.map +1 -1
  211. package/lib/commonjs/Wallet/components/AccountLimitManager.js +32 -34
  212. package/lib/commonjs/Wallet/components/AccountLimitManager.js.map +1 -1
  213. package/lib/commonjs/Wallet/components/AccountManager.js +31 -32
  214. package/lib/commonjs/Wallet/components/AccountManager.js.map +1 -1
  215. package/lib/commonjs/Wallet/components/AccountSnoozeManager.js +31 -33
  216. package/lib/commonjs/Wallet/components/AccountSnoozeManager.js.map +1 -1
  217. package/lib/commonjs/Wallet/components/AddressCard.js +7 -8
  218. package/lib/commonjs/Wallet/components/AddressCard.js.map +1 -1
  219. package/lib/commonjs/Wallet/components/AddressManager.js +44 -46
  220. package/lib/commonjs/Wallet/components/AddressManager.js.map +1 -1
  221. package/lib/commonjs/Wallet/components/DepositCard.js +41 -43
  222. package/lib/commonjs/Wallet/components/DepositCard.js.map +1 -1
  223. package/lib/commonjs/Wallet/components/FundAccountCard.js +54 -55
  224. package/lib/commonjs/Wallet/components/FundAccountCard.js.map +1 -1
  225. package/lib/commonjs/Wallet/components/ItemOrderCard.js +15 -17
  226. package/lib/commonjs/Wallet/components/ItemOrderCard.js.map +1 -1
  227. package/lib/commonjs/Wallet/components/ItemOrderDetailCard.js +23 -25
  228. package/lib/commonjs/Wallet/components/ItemOrderDetailCard.js.map +1 -1
  229. package/lib/commonjs/Wallet/components/LinkAccountManager.js +40 -42
  230. package/lib/commonjs/Wallet/components/LinkAccountManager.js.map +1 -1
  231. package/lib/commonjs/Wallet/components/ManageAccountCard.js +36 -38
  232. package/lib/commonjs/Wallet/components/ManageAccountCard.js.map +1 -1
  233. package/lib/commonjs/Wallet/components/ManualACHAdd.js +33 -35
  234. package/lib/commonjs/Wallet/components/ManualACHAdd.js.map +1 -1
  235. package/lib/commonjs/Wallet/components/ManualCardAdd.js +47 -49
  236. package/lib/commonjs/Wallet/components/ManualCardAdd.js.map +1 -1
  237. package/lib/commonjs/Wallet/components/MyBalance.js +34 -35
  238. package/lib/commonjs/Wallet/components/MyBalance.js.map +1 -1
  239. package/lib/commonjs/Wallet/components/OrderManager.js +15 -17
  240. package/lib/commonjs/Wallet/components/OrderManager.js.map +1 -1
  241. package/lib/commonjs/Wallet/components/RemoveAccount.js +10 -12
  242. package/lib/commonjs/Wallet/components/RemoveAccount.js.map +1 -1
  243. package/lib/commonjs/Wallet/components/VerifyACHAccount.js +20 -22
  244. package/lib/commonjs/Wallet/components/VerifyACHAccount.js.map +1 -1
  245. package/lib/commonjs/Wallet/components/WalletActionSelector.js +49 -51
  246. package/lib/commonjs/Wallet/components/WalletActionSelector.js.map +1 -1
  247. package/lib/commonjs/Wallet/components/WalletSettings.js +98 -100
  248. package/lib/commonjs/Wallet/components/WalletSettings.js.map +1 -1
  249. package/lib/commonjs/Wallet/components/WalletSetup.js +58 -60
  250. package/lib/commonjs/Wallet/components/WalletSetup.js.map +1 -1
  251. package/lib/commonjs/Wallet/components/WithdrawCard.js +46 -48
  252. package/lib/commonjs/Wallet/components/WithdrawCard.js.map +1 -1
  253. package/lib/commonjs/Wallet/index.js +45 -47
  254. package/lib/commonjs/Wallet/index.js.map +1 -1
  255. package/lib/commonjs/constants/styles.js +86 -0
  256. package/lib/commonjs/constants/styles.js.map +1 -1
  257. package/lib/commonjs/index.js +14 -0
  258. package/lib/commonjs/index.js.map +1 -1
  259. package/lib/module/AdServer/components/CompanyAdCard.js +1 -1
  260. package/lib/module/AdServer/components/CompanyAdCard.js.map +1 -1
  261. package/lib/module/AdServer/index.js +1 -1
  262. package/lib/module/AdServer/index.js.map +1 -1
  263. package/lib/module/ApiOverrides/index.js +6 -3
  264. package/lib/module/ApiOverrides/index.js.map +1 -1
  265. package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js +0 -1
  266. package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
  267. package/lib/module/Authenticator/Components/LoginForm.js +1 -1
  268. package/lib/module/Authenticator/Components/LoginForm.js.map +1 -1
  269. package/lib/module/Authenticator/Components/StrategyForm.js +1 -1
  270. package/lib/module/Authenticator/Components/StrategyForm.js.map +1 -1
  271. package/lib/module/Authenticator/index.js +1 -1
  272. package/lib/module/Authenticator/index.js.map +1 -1
  273. package/lib/module/BettorSearch/index.js +1 -1
  274. package/lib/module/BettorSearch/index.js.map +1 -1
  275. package/lib/module/Bracket/components/BracketCompetitionCard.js +1 -1
  276. package/lib/module/Bracket/components/BracketCompetitionCard.js.map +1 -1
  277. package/lib/module/Bracket/components/BracketCompetitionSelector.js +1 -1
  278. package/lib/module/Bracket/components/BracketCompetitionSelector.js.map +1 -1
  279. package/lib/module/Bracket/components/BracketPlay/BracketNavigator.js +0 -1
  280. package/lib/module/Bracket/components/BracketPlay/BracketNavigator.js.map +1 -1
  281. package/lib/module/Bracket/components/BracketPlay/BracketRound.js +0 -1
  282. package/lib/module/Bracket/components/BracketPlay/BracketRound.js.map +1 -1
  283. package/lib/module/Bracket/components/BracketPlay/RoundEvent.js +0 -1
  284. package/lib/module/Bracket/components/BracketPlay/RoundEvent.js.map +1 -1
  285. package/lib/module/Bracket/components/BracketPlay/index.js +1 -1
  286. package/lib/module/Bracket/components/BracketPlay/index.js.map +1 -1
  287. package/lib/module/Bracket/components/BracketSelector.js +0 -1
  288. package/lib/module/Bracket/components/BracketSelector.js.map +1 -1
  289. package/lib/module/Bracket/components/CompetitionLeaderboard.js +1 -1
  290. package/lib/module/Bracket/components/CompetitionLeaderboard.js.map +1 -1
  291. package/lib/module/Bracket/components/JoinCompetitionCard.js +1 -1
  292. package/lib/module/Bracket/components/JoinCompetitionCard.js.map +1 -1
  293. package/lib/module/Bracket/components/PlayerBalanceCard.js +0 -1
  294. package/lib/module/Bracket/components/PlayerBalanceCard.js.map +1 -1
  295. package/lib/module/Bracket/components/PlayerBracketManager.js +1 -1
  296. package/lib/module/Bracket/components/PlayerBracketManager.js.map +1 -1
  297. package/lib/module/Bracket/components/PlayerBrackets.js +0 -1
  298. package/lib/module/Bracket/components/PlayerBrackets.js.map +1 -1
  299. package/lib/module/Bracket/components/RoomMenu.js +0 -1
  300. package/lib/module/Bracket/components/RoomMenu.js.map +1 -1
  301. package/lib/module/Bracket/index.js +1 -1
  302. package/lib/module/Bracket/index.js.map +1 -1
  303. package/lib/module/Checkout/components/AccountSummaryCard.js +0 -1
  304. package/lib/module/Checkout/components/AccountSummaryCard.js.map +1 -1
  305. package/lib/module/Checkout/components/ItemSummaryCard.js +0 -1
  306. package/lib/module/Checkout/components/ItemSummaryCard.js.map +1 -1
  307. package/lib/module/Checkout/components/OrderSummaryCard.js +0 -1
  308. package/lib/module/Checkout/components/OrderSummaryCard.js.map +1 -1
  309. package/lib/module/Checkout/components/PayPalOrderCapture.js +0 -1
  310. package/lib/module/Checkout/components/PayPalOrderCapture.js.map +1 -1
  311. package/lib/module/Checkout/components/ShippingSummaryCard.js +0 -1
  312. package/lib/module/Checkout/components/ShippingSummaryCard.js.map +1 -1
  313. package/lib/module/Checkout/index.js +1 -1
  314. package/lib/module/Checkout/index.js.map +1 -1
  315. package/lib/module/Competition/components/AthleteMarketCard.js +0 -1
  316. package/lib/module/Competition/components/AthleteMarketCard.js.map +1 -1
  317. package/lib/module/Competition/components/CompetitionCard.js +0 -1
  318. package/lib/module/Competition/components/CompetitionCard.js.map +1 -1
  319. package/lib/module/Competition/components/CompetitionInfoCard.js +0 -1
  320. package/lib/module/Competition/components/CompetitionInfoCard.js.map +1 -1
  321. package/lib/module/Competition/components/CompetitionLeaderboard.js +1 -1
  322. package/lib/module/Competition/components/CompetitionLeaderboard.js.map +1 -1
  323. package/lib/module/Competition/components/CompetitionPlay.js +1 -1
  324. package/lib/module/Competition/components/CompetitionPlay.js.map +1 -1
  325. package/lib/module/Competition/components/CompetitionSeasonCard.js +0 -1
  326. package/lib/module/Competition/components/CompetitionSeasonCard.js.map +1 -1
  327. package/lib/module/Competition/components/CompetitionSelector.js +1 -1
  328. package/lib/module/Competition/components/CompetitionSelector.js.map +1 -1
  329. package/lib/module/Competition/components/CompetitionTypeCard.js +1 -1
  330. package/lib/module/Competition/components/CompetitionTypeCard.js.map +1 -1
  331. package/lib/module/Competition/components/EnterCompetitionPrompt.js +1 -1
  332. package/lib/module/Competition/components/EnterCompetitionPrompt.js.map +1 -1
  333. package/lib/module/Competition/components/LeaderPicks.js +1 -1
  334. package/lib/module/Competition/components/LeaderPicks.js.map +1 -1
  335. package/lib/module/Competition/components/ManageSeasonForm.js +1 -1
  336. package/lib/module/Competition/components/ManageSeasonForm.js.map +1 -1
  337. package/lib/module/Competition/components/MarketsCard.js +1 -1
  338. package/lib/module/Competition/components/MarketsCard.js.map +1 -1
  339. package/lib/module/Competition/components/MatchMarketCard.js +0 -1
  340. package/lib/module/Competition/components/MatchMarketCard.js.map +1 -1
  341. package/lib/module/Competition/components/NavOutPrompt.js +0 -1
  342. package/lib/module/Competition/components/NavOutPrompt.js.map +1 -1
  343. package/lib/module/Competition/components/SeasonInfoModal.js +1 -1
  344. package/lib/module/Competition/components/SeasonInfoModal.js.map +1 -1
  345. package/lib/module/Competition/components/TeamEventCard.js +0 -1
  346. package/lib/module/Competition/components/TeamEventCard.js.map +1 -1
  347. package/lib/module/Competition/components/WagerPickForm.js +1 -1
  348. package/lib/module/Competition/components/WagerPickForm.js.map +1 -1
  349. package/lib/module/Competition/index.js +1 -1
  350. package/lib/module/Competition/index.js.map +1 -1
  351. package/lib/module/Components/Button.js +0 -1
  352. package/lib/module/Components/Button.js.map +1 -1
  353. package/lib/module/Components/Checkbox.js +0 -1
  354. package/lib/module/Components/Checkbox.js.map +1 -1
  355. package/lib/module/Components/Icons.js +279 -2
  356. package/lib/module/Components/Icons.js.map +1 -1
  357. package/lib/module/Components/ImageUploader.js +1 -1
  358. package/lib/module/Components/ImageUploader.js.map +1 -1
  359. package/lib/module/Components/Jerseys.js +0 -1
  360. package/lib/module/Components/Jerseys.js.map +1 -1
  361. package/lib/module/Components/LinearDiagnal.js +1 -1
  362. package/lib/module/Components/LinearDiagnal.js.map +1 -1
  363. package/lib/module/Components/Spring.js +0 -1
  364. package/lib/module/Components/Spring.js.map +1 -1
  365. package/lib/module/Components/Switch.js +0 -1
  366. package/lib/module/Components/Switch.js.map +1 -1
  367. package/lib/module/Components/Text.js +33 -5
  368. package/lib/module/Components/Text.js.map +1 -1
  369. package/lib/module/Components/TextInput.js +0 -1
  370. package/lib/module/Components/TextInput.js.map +1 -1
  371. package/lib/module/LocationTracker/index.js +0 -1
  372. package/lib/module/LocationTracker/index.js.map +1 -1
  373. package/lib/module/Observer/Observer.js +0 -1
  374. package/lib/module/Observer/Observer.js.map +1 -1
  375. package/lib/module/Poll/components/CampaignPlay.js +0 -1
  376. package/lib/module/Poll/components/CampaignPlay.js.map +1 -1
  377. package/lib/module/Poll/components/CampaignProgressBar.js +0 -1
  378. package/lib/module/Poll/components/CampaignProgressBar.js.map +1 -1
  379. package/lib/module/Poll/components/CampaignResult.js +0 -1
  380. package/lib/module/Poll/components/CampaignResult.js.map +1 -1
  381. package/lib/module/Poll/components/CampaignSelector.js +1 -1
  382. package/lib/module/Poll/components/CampaignSelector.js.map +1 -1
  383. package/lib/module/Poll/components/PollCampaignCard.js +0 -1
  384. package/lib/module/Poll/components/PollCampaignCard.js.map +1 -1
  385. package/lib/module/Poll/components/PollCard.js +0 -1
  386. package/lib/module/Poll/components/PollCard.js.map +1 -1
  387. package/lib/module/Poll/components/PollOptionCard.js +1 -1
  388. package/lib/module/Poll/components/PollOptionCard.js.map +1 -1
  389. package/lib/module/Poll/components/PollSelectCard.js +0 -1
  390. package/lib/module/Poll/components/PollSelectCard.js.map +1 -1
  391. package/lib/module/Poll/components/ResponseTimer.js +1 -1
  392. package/lib/module/Poll/components/ResponseTimer.js.map +1 -1
  393. package/lib/module/Poll/components/WidgetHeader.js +0 -1
  394. package/lib/module/Poll/components/WidgetHeader.js.map +1 -1
  395. package/lib/module/Poll/flashmarket/ResultCard.js +1 -1
  396. package/lib/module/Poll/flashmarket/ResultCard.js.map +1 -1
  397. package/lib/module/Poll/flashmarket/index.js +1 -1
  398. package/lib/module/Poll/flashmarket/index.js.map +1 -1
  399. package/lib/module/Poll/index.js +1 -1
  400. package/lib/module/Poll/index.js.map +1 -1
  401. package/lib/module/ProfileManager/Components/BasicInfoManager.js +1 -1
  402. package/lib/module/ProfileManager/Components/BasicInfoManager.js.map +1 -1
  403. package/lib/module/ProfileManager/Components/BasicStatus.js +0 -1
  404. package/lib/module/ProfileManager/Components/BasicStatus.js.map +1 -1
  405. package/lib/module/ProfileManager/Components/CodeRedeem.js +1 -1
  406. package/lib/module/ProfileManager/Components/CodeRedeem.js.map +1 -1
  407. package/lib/module/ProfileManager/Components/DOBManager.js +1 -1
  408. package/lib/module/ProfileManager/Components/DOBManager.js.map +1 -1
  409. package/lib/module/ProfileManager/Components/EmailManager.js +1 -1
  410. package/lib/module/ProfileManager/Components/EmailManager.js.map +1 -1
  411. package/lib/module/ProfileManager/Components/PasswordManager.js +1 -1
  412. package/lib/module/ProfileManager/Components/PasswordManager.js.map +1 -1
  413. package/lib/module/ProfileManager/Components/PhoneManager.js +1 -1
  414. package/lib/module/ProfileManager/Components/PhoneManager.js.map +1 -1
  415. package/lib/module/ProfileManager/Components/ProfilePicManager.js +1 -1
  416. package/lib/module/ProfileManager/Components/ProfilePicManager.js.map +1 -1
  417. package/lib/module/ProfileManager/Components/ProfileWelcome.js +0 -1
  418. package/lib/module/ProfileManager/Components/ProfileWelcome.js.map +1 -1
  419. package/lib/module/ProfileManager/Components/ProfileWizard.js +1 -1
  420. package/lib/module/ProfileManager/Components/ProfileWizard.js.map +1 -1
  421. package/lib/module/ProfileManager/Components/SettingsManager.js +1 -1
  422. package/lib/module/ProfileManager/Components/SettingsManager.js.map +1 -1
  423. package/lib/module/ProfileManager/Components/VouchCard.js +1 -1
  424. package/lib/module/ProfileManager/Components/VouchCard.js.map +1 -1
  425. package/lib/module/ProfileManager/index.js +1 -1
  426. package/lib/module/ProfileManager/index.js.map +1 -1
  427. package/lib/module/SocialComponents/PlayerCard.js +0 -1
  428. package/lib/module/SocialComponents/PlayerCard.js.map +1 -1
  429. package/lib/module/SocialComponents/PlayerFollowButton.js +0 -1
  430. package/lib/module/SocialComponents/PlayerFollowButton.js.map +1 -1
  431. package/lib/module/SocialComponents/PlayerList.js +1 -1
  432. package/lib/module/SocialComponents/PlayerList.js.map +1 -1
  433. package/lib/module/Socket/api/index.js +13 -0
  434. package/lib/module/Socket/api/index.js.map +1 -0
  435. package/lib/module/Socket/index.js +113 -0
  436. package/lib/module/Socket/index.js.map +1 -0
  437. package/lib/module/Squares/api/index.js +91 -0
  438. package/lib/module/Squares/api/index.js.map +1 -0
  439. package/lib/module/Squares/components/BidForm.js +166 -0
  440. package/lib/module/Squares/components/BidForm.js.map +1 -0
  441. package/lib/module/Squares/components/BidToggle.js +56 -0
  442. package/lib/module/Squares/components/BidToggle.js.map +1 -0
  443. package/lib/module/Squares/components/BoardStats.js +137 -0
  444. package/lib/module/Squares/components/BoardStats.js.map +1 -0
  445. package/lib/module/Squares/components/EventCard.js +125 -0
  446. package/lib/module/Squares/components/EventCard.js.map +1 -0
  447. package/lib/module/Squares/components/MySquaresCard.js +102 -0
  448. package/lib/module/Squares/components/MySquaresCard.js.map +1 -0
  449. package/lib/module/Squares/components/OfferForm.js +174 -0
  450. package/lib/module/Squares/components/OfferForm.js.map +1 -0
  451. package/lib/module/Squares/components/ResultsCard.js +101 -0
  452. package/lib/module/Squares/components/ResultsCard.js.map +1 -0
  453. package/lib/module/Squares/components/SquareCard.js +330 -0
  454. package/lib/module/Squares/components/SquareCard.js.map +1 -0
  455. package/lib/module/Squares/components/SquareOfferCard.js +259 -0
  456. package/lib/module/Squares/components/SquareOfferCard.js.map +1 -0
  457. package/lib/module/Squares/components/SquareOwners.js +116 -0
  458. package/lib/module/Squares/components/SquareOwners.js.map +1 -0
  459. package/lib/module/Squares/components/SquaresBoard.js +202 -0
  460. package/lib/module/Squares/components/SquaresBoard.js.map +1 -0
  461. package/lib/module/Squares/components/SquaresDetails.js +83 -0
  462. package/lib/module/Squares/components/SquaresDetails.js.map +1 -0
  463. package/lib/module/Squares/index.js +561 -0
  464. package/lib/module/Squares/index.js.map +1 -0
  465. package/lib/module/Wallet/components/ACHAddCard.js +0 -1
  466. package/lib/module/Wallet/components/ACHAddCard.js.map +1 -1
  467. package/lib/module/Wallet/components/AccountCard.js +0 -1
  468. package/lib/module/Wallet/components/AccountCard.js.map +1 -1
  469. package/lib/module/Wallet/components/AccountLimitManager.js +1 -1
  470. package/lib/module/Wallet/components/AccountLimitManager.js.map +1 -1
  471. package/lib/module/Wallet/components/AccountManager.js +0 -1
  472. package/lib/module/Wallet/components/AccountManager.js.map +1 -1
  473. package/lib/module/Wallet/components/AccountSnoozeManager.js +1 -1
  474. package/lib/module/Wallet/components/AccountSnoozeManager.js.map +1 -1
  475. package/lib/module/Wallet/components/AddressCard.js +0 -1
  476. package/lib/module/Wallet/components/AddressCard.js.map +1 -1
  477. package/lib/module/Wallet/components/AddressManager.js +1 -1
  478. package/lib/module/Wallet/components/AddressManager.js.map +1 -1
  479. package/lib/module/Wallet/components/DepositCard.js +1 -1
  480. package/lib/module/Wallet/components/DepositCard.js.map +1 -1
  481. package/lib/module/Wallet/components/FundAccountCard.js +0 -1
  482. package/lib/module/Wallet/components/FundAccountCard.js.map +1 -1
  483. package/lib/module/Wallet/components/ItemOrderCard.js +1 -1
  484. package/lib/module/Wallet/components/ItemOrderCard.js.map +1 -1
  485. package/lib/module/Wallet/components/ItemOrderDetailCard.js +0 -1
  486. package/lib/module/Wallet/components/ItemOrderDetailCard.js.map +1 -1
  487. package/lib/module/Wallet/components/LinkAccountManager.js +1 -1
  488. package/lib/module/Wallet/components/LinkAccountManager.js.map +1 -1
  489. package/lib/module/Wallet/components/ManageAccountCard.js +1 -1
  490. package/lib/module/Wallet/components/ManageAccountCard.js.map +1 -1
  491. package/lib/module/Wallet/components/ManualACHAdd.js +1 -1
  492. package/lib/module/Wallet/components/ManualACHAdd.js.map +1 -1
  493. package/lib/module/Wallet/components/ManualCardAdd.js +1 -1
  494. package/lib/module/Wallet/components/ManualCardAdd.js.map +1 -1
  495. package/lib/module/Wallet/components/MyBalance.js +0 -1
  496. package/lib/module/Wallet/components/MyBalance.js.map +1 -1
  497. package/lib/module/Wallet/components/OrderManager.js +1 -1
  498. package/lib/module/Wallet/components/OrderManager.js.map +1 -1
  499. package/lib/module/Wallet/components/RemoveAccount.js +0 -1
  500. package/lib/module/Wallet/components/RemoveAccount.js.map +1 -1
  501. package/lib/module/Wallet/components/VerifyACHAccount.js +1 -1
  502. package/lib/module/Wallet/components/VerifyACHAccount.js.map +1 -1
  503. package/lib/module/Wallet/components/WalletActionSelector.js +1 -1
  504. package/lib/module/Wallet/components/WalletActionSelector.js.map +1 -1
  505. package/lib/module/Wallet/components/WalletSettings.js +0 -1
  506. package/lib/module/Wallet/components/WalletSettings.js.map +1 -1
  507. package/lib/module/Wallet/components/WalletSetup.js +1 -1
  508. package/lib/module/Wallet/components/WalletSetup.js.map +1 -1
  509. package/lib/module/Wallet/components/WithdrawCard.js +1 -1
  510. package/lib/module/Wallet/components/WithdrawCard.js.map +1 -1
  511. package/lib/module/Wallet/index.js +1 -1
  512. package/lib/module/Wallet/index.js.map +1 -1
  513. package/lib/module/constants/styles.js +86 -0
  514. package/lib/module/constants/styles.js.map +1 -1
  515. package/lib/module/index.js +3 -1
  516. package/lib/module/index.js.map +1 -1
  517. package/lib/typescript/src/AdServer/components/CompanyAdCard.d.ts +1 -2
  518. package/lib/typescript/src/AdServer/components/CompanyAdCard.d.ts.map +1 -1
  519. package/lib/typescript/src/AdServer/index.d.ts +2 -3
  520. package/lib/typescript/src/AdServer/index.d.ts.map +1 -1
  521. package/lib/typescript/src/ApiOverrides/index.d.ts.map +1 -1
  522. package/lib/typescript/src/Authenticator/Components/AuthStrategyIdentifier.d.ts +1 -2
  523. package/lib/typescript/src/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -1
  524. package/lib/typescript/src/Authenticator/Components/LoginForm.d.ts +1 -2
  525. package/lib/typescript/src/Authenticator/Components/LoginForm.d.ts.map +1 -1
  526. package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts +1 -2
  527. package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts.map +1 -1
  528. package/lib/typescript/src/Authenticator/index.d.ts +1 -2
  529. package/lib/typescript/src/Authenticator/index.d.ts.map +1 -1
  530. package/lib/typescript/src/BettorSearch/index.d.ts +1 -2
  531. package/lib/typescript/src/BettorSearch/index.d.ts.map +1 -1
  532. package/lib/typescript/src/Bracket/components/BracketCompetitionCard.d.ts +1 -2
  533. package/lib/typescript/src/Bracket/components/BracketCompetitionCard.d.ts.map +1 -1
  534. package/lib/typescript/src/Bracket/components/BracketCompetitionSelector.d.ts +1 -2
  535. package/lib/typescript/src/Bracket/components/BracketCompetitionSelector.d.ts.map +1 -1
  536. package/lib/typescript/src/Bracket/components/BracketPlay/BracketNavigator.d.ts +1 -2
  537. package/lib/typescript/src/Bracket/components/BracketPlay/BracketNavigator.d.ts.map +1 -1
  538. package/lib/typescript/src/Bracket/components/BracketPlay/BracketRound.d.ts +1 -2
  539. package/lib/typescript/src/Bracket/components/BracketPlay/BracketRound.d.ts.map +1 -1
  540. package/lib/typescript/src/Bracket/components/BracketPlay/RoundEvent.d.ts +1 -2
  541. package/lib/typescript/src/Bracket/components/BracketPlay/RoundEvent.d.ts.map +1 -1
  542. package/lib/typescript/src/Bracket/components/BracketPlay/index.d.ts +1 -2
  543. package/lib/typescript/src/Bracket/components/BracketPlay/index.d.ts.map +1 -1
  544. package/lib/typescript/src/Bracket/components/BracketSelector.d.ts +1 -2
  545. package/lib/typescript/src/Bracket/components/BracketSelector.d.ts.map +1 -1
  546. package/lib/typescript/src/Bracket/components/CompetitionLeaderboard.d.ts +1 -2
  547. package/lib/typescript/src/Bracket/components/CompetitionLeaderboard.d.ts.map +1 -1
  548. package/lib/typescript/src/Bracket/components/JoinCompetitionCard.d.ts +1 -2
  549. package/lib/typescript/src/Bracket/components/JoinCompetitionCard.d.ts.map +1 -1
  550. package/lib/typescript/src/Bracket/components/PlayerBalanceCard.d.ts +1 -2
  551. package/lib/typescript/src/Bracket/components/PlayerBalanceCard.d.ts.map +1 -1
  552. package/lib/typescript/src/Bracket/components/PlayerBracketManager.d.ts +1 -2
  553. package/lib/typescript/src/Bracket/components/PlayerBracketManager.d.ts.map +1 -1
  554. package/lib/typescript/src/Bracket/components/PlayerBrackets.d.ts +1 -2
  555. package/lib/typescript/src/Bracket/components/PlayerBrackets.d.ts.map +1 -1
  556. package/lib/typescript/src/Bracket/components/RoomMenu.d.ts +1 -2
  557. package/lib/typescript/src/Bracket/components/RoomMenu.d.ts.map +1 -1
  558. package/lib/typescript/src/Bracket/index.d.ts +1 -2
  559. package/lib/typescript/src/Bracket/index.d.ts.map +1 -1
  560. package/lib/typescript/src/Checkout/components/AccountSummaryCard.d.ts +1 -2
  561. package/lib/typescript/src/Checkout/components/AccountSummaryCard.d.ts.map +1 -1
  562. package/lib/typescript/src/Checkout/components/ItemSummaryCard.d.ts +1 -2
  563. package/lib/typescript/src/Checkout/components/ItemSummaryCard.d.ts.map +1 -1
  564. package/lib/typescript/src/Checkout/components/OrderSummaryCard.d.ts +1 -2
  565. package/lib/typescript/src/Checkout/components/OrderSummaryCard.d.ts.map +1 -1
  566. package/lib/typescript/src/Checkout/components/PayPalOrderCapture.d.ts +1 -2
  567. package/lib/typescript/src/Checkout/components/PayPalOrderCapture.d.ts.map +1 -1
  568. package/lib/typescript/src/Checkout/components/ShippingSummaryCard.d.ts +1 -2
  569. package/lib/typescript/src/Checkout/components/ShippingSummaryCard.d.ts.map +1 -1
  570. package/lib/typescript/src/Checkout/index.d.ts +1 -2
  571. package/lib/typescript/src/Checkout/index.d.ts.map +1 -1
  572. package/lib/typescript/src/Competition/components/AthleteMarketCard.d.ts +1 -2
  573. package/lib/typescript/src/Competition/components/AthleteMarketCard.d.ts.map +1 -1
  574. package/lib/typescript/src/Competition/components/CompetitionCard.d.ts +1 -2
  575. package/lib/typescript/src/Competition/components/CompetitionCard.d.ts.map +1 -1
  576. package/lib/typescript/src/Competition/components/CompetitionInfoCard.d.ts +1 -2
  577. package/lib/typescript/src/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
  578. package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts +1 -2
  579. package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
  580. package/lib/typescript/src/Competition/components/CompetitionPlay.d.ts +1 -2
  581. package/lib/typescript/src/Competition/components/CompetitionPlay.d.ts.map +1 -1
  582. package/lib/typescript/src/Competition/components/CompetitionSeasonCard.d.ts +1 -2
  583. package/lib/typescript/src/Competition/components/CompetitionSeasonCard.d.ts.map +1 -1
  584. package/lib/typescript/src/Competition/components/CompetitionSelector.d.ts +1 -2
  585. package/lib/typescript/src/Competition/components/CompetitionSelector.d.ts.map +1 -1
  586. package/lib/typescript/src/Competition/components/CompetitionTypeCard.d.ts +1 -2
  587. package/lib/typescript/src/Competition/components/CompetitionTypeCard.d.ts.map +1 -1
  588. package/lib/typescript/src/Competition/components/EnterCompetitionPrompt.d.ts +1 -2
  589. package/lib/typescript/src/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -1
  590. package/lib/typescript/src/Competition/components/LeaderPicks.d.ts +1 -2
  591. package/lib/typescript/src/Competition/components/LeaderPicks.d.ts.map +1 -1
  592. package/lib/typescript/src/Competition/components/ManageSeasonForm.d.ts +1 -2
  593. package/lib/typescript/src/Competition/components/ManageSeasonForm.d.ts.map +1 -1
  594. package/lib/typescript/src/Competition/components/MarketsCard.d.ts +1 -2
  595. package/lib/typescript/src/Competition/components/MarketsCard.d.ts.map +1 -1
  596. package/lib/typescript/src/Competition/components/MatchMarketCard.d.ts +1 -2
  597. package/lib/typescript/src/Competition/components/MatchMarketCard.d.ts.map +1 -1
  598. package/lib/typescript/src/Competition/components/NavOutPrompt.d.ts +1 -2
  599. package/lib/typescript/src/Competition/components/NavOutPrompt.d.ts.map +1 -1
  600. package/lib/typescript/src/Competition/components/SeasonInfoModal.d.ts +1 -2
  601. package/lib/typescript/src/Competition/components/SeasonInfoModal.d.ts.map +1 -1
  602. package/lib/typescript/src/Competition/components/TeamEventCard.d.ts +1 -2
  603. package/lib/typescript/src/Competition/components/TeamEventCard.d.ts.map +1 -1
  604. package/lib/typescript/src/Competition/components/WagerPickForm.d.ts +1 -2
  605. package/lib/typescript/src/Competition/components/WagerPickForm.d.ts.map +1 -1
  606. package/lib/typescript/src/Competition/index.d.ts +1 -2
  607. package/lib/typescript/src/Competition/index.d.ts.map +1 -1
  608. package/lib/typescript/src/Components/Button.d.ts +1 -2
  609. package/lib/typescript/src/Components/Button.d.ts.map +1 -1
  610. package/lib/typescript/src/Components/Checkbox.d.ts +1 -2
  611. package/lib/typescript/src/Components/Checkbox.d.ts.map +1 -1
  612. package/lib/typescript/src/Components/Icons.d.ts +57 -53
  613. package/lib/typescript/src/Components/Icons.d.ts.map +1 -1
  614. package/lib/typescript/src/Components/ImageUploader.d.ts +1 -2
  615. package/lib/typescript/src/Components/ImageUploader.d.ts.map +1 -1
  616. package/lib/typescript/src/Components/Jerseys.d.ts +2 -3
  617. package/lib/typescript/src/Components/Jerseys.d.ts.map +1 -1
  618. package/lib/typescript/src/Components/LinearDiagnal.d.ts +1 -2
  619. package/lib/typescript/src/Components/LinearDiagnal.d.ts.map +1 -1
  620. package/lib/typescript/src/Components/Spring.d.ts +1 -2
  621. package/lib/typescript/src/Components/Spring.d.ts.map +1 -1
  622. package/lib/typescript/src/Components/Switch.d.ts +1 -2
  623. package/lib/typescript/src/Components/Switch.d.ts.map +1 -1
  624. package/lib/typescript/src/Components/Text.d.ts +3 -2
  625. package/lib/typescript/src/Components/Text.d.ts.map +1 -1
  626. package/lib/typescript/src/Components/TextInput.d.ts +1 -2
  627. package/lib/typescript/src/Components/TextInput.d.ts.map +1 -1
  628. package/lib/typescript/src/LocationTracker/index.d.ts +1 -2
  629. package/lib/typescript/src/LocationTracker/index.d.ts.map +1 -1
  630. package/lib/typescript/src/Observer/Observer.d.ts +1 -2
  631. package/lib/typescript/src/Observer/Observer.d.ts.map +1 -1
  632. package/lib/typescript/src/Poll/components/CampaignPlay.d.ts +1 -2
  633. package/lib/typescript/src/Poll/components/CampaignPlay.d.ts.map +1 -1
  634. package/lib/typescript/src/Poll/components/CampaignProgressBar.d.ts +1 -2
  635. package/lib/typescript/src/Poll/components/CampaignProgressBar.d.ts.map +1 -1
  636. package/lib/typescript/src/Poll/components/CampaignResult.d.ts +1 -2
  637. package/lib/typescript/src/Poll/components/CampaignResult.d.ts.map +1 -1
  638. package/lib/typescript/src/Poll/components/CampaignSelector.d.ts +1 -2
  639. package/lib/typescript/src/Poll/components/CampaignSelector.d.ts.map +1 -1
  640. package/lib/typescript/src/Poll/components/PollCampaignCard.d.ts +1 -2
  641. package/lib/typescript/src/Poll/components/PollCampaignCard.d.ts.map +1 -1
  642. package/lib/typescript/src/Poll/components/PollCard.d.ts +1 -2
  643. package/lib/typescript/src/Poll/components/PollCard.d.ts.map +1 -1
  644. package/lib/typescript/src/Poll/components/PollOptionCard.d.ts +1 -2
  645. package/lib/typescript/src/Poll/components/PollOptionCard.d.ts.map +1 -1
  646. package/lib/typescript/src/Poll/components/PollSelectCard.d.ts +1 -2
  647. package/lib/typescript/src/Poll/components/PollSelectCard.d.ts.map +1 -1
  648. package/lib/typescript/src/Poll/components/ResponseTimer.d.ts +1 -2
  649. package/lib/typescript/src/Poll/components/ResponseTimer.d.ts.map +1 -1
  650. package/lib/typescript/src/Poll/components/WidgetHeader.d.ts +1 -2
  651. package/lib/typescript/src/Poll/components/WidgetHeader.d.ts.map +1 -1
  652. package/lib/typescript/src/Poll/flashmarket/ResultCard.d.ts +1 -2
  653. package/lib/typescript/src/Poll/flashmarket/ResultCard.d.ts.map +1 -1
  654. package/lib/typescript/src/Poll/flashmarket/index.d.ts +1 -2
  655. package/lib/typescript/src/Poll/flashmarket/index.d.ts.map +1 -1
  656. package/lib/typescript/src/Poll/index.d.ts +1 -2
  657. package/lib/typescript/src/Poll/index.d.ts.map +1 -1
  658. package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts +1 -2
  659. package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
  660. package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts +1 -2
  661. package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
  662. package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts +1 -2
  663. package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
  664. package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts +1 -2
  665. package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts.map +1 -1
  666. package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts +1 -2
  667. package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts.map +1 -1
  668. package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts +1 -2
  669. package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
  670. package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts +1 -2
  671. package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts.map +1 -1
  672. package/lib/typescript/src/ProfileManager/Components/ProfilePicManager.d.ts +1 -2
  673. package/lib/typescript/src/ProfileManager/Components/ProfilePicManager.d.ts.map +1 -1
  674. package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts +1 -2
  675. package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts.map +1 -1
  676. package/lib/typescript/src/ProfileManager/Components/ProfileWizard.d.ts +1 -2
  677. package/lib/typescript/src/ProfileManager/Components/ProfileWizard.d.ts.map +1 -1
  678. package/lib/typescript/src/ProfileManager/Components/SettingsManager.d.ts +1 -2
  679. package/lib/typescript/src/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
  680. package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts +1 -2
  681. package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts.map +1 -1
  682. package/lib/typescript/src/ProfileManager/index.d.ts +1 -2
  683. package/lib/typescript/src/ProfileManager/index.d.ts.map +1 -1
  684. package/lib/typescript/src/SocialComponents/PlayerCard.d.ts +1 -2
  685. package/lib/typescript/src/SocialComponents/PlayerCard.d.ts.map +1 -1
  686. package/lib/typescript/src/SocialComponents/PlayerFollowButton.d.ts +1 -2
  687. package/lib/typescript/src/SocialComponents/PlayerFollowButton.d.ts.map +1 -1
  688. package/lib/typescript/src/SocialComponents/PlayerList.d.ts +1 -2
  689. package/lib/typescript/src/SocialComponents/PlayerList.d.ts.map +1 -1
  690. package/lib/typescript/src/Socket/api/index.d.ts +6 -0
  691. package/lib/typescript/src/Socket/api/index.d.ts.map +1 -0
  692. package/lib/typescript/src/Socket/index.d.ts +11 -0
  693. package/lib/typescript/src/Socket/index.d.ts.map +1 -0
  694. package/lib/typescript/src/Squares/api/index.d.ts +29 -0
  695. package/lib/typescript/src/Squares/api/index.d.ts.map +1 -0
  696. package/lib/typescript/src/Squares/components/BidForm.d.ts +21 -0
  697. package/lib/typescript/src/Squares/components/BidForm.d.ts.map +1 -0
  698. package/lib/typescript/src/Squares/components/BidToggle.d.ts +9 -0
  699. package/lib/typescript/src/Squares/components/BidToggle.d.ts.map +1 -0
  700. package/lib/typescript/src/Squares/components/BoardStats.d.ts +10 -0
  701. package/lib/typescript/src/Squares/components/BoardStats.d.ts.map +1 -0
  702. package/lib/typescript/src/Squares/components/EventCard.d.ts +8 -0
  703. package/lib/typescript/src/Squares/components/EventCard.d.ts.map +1 -0
  704. package/lib/typescript/src/Squares/components/MySquaresCard.d.ts +13 -0
  705. package/lib/typescript/src/Squares/components/MySquaresCard.d.ts.map +1 -0
  706. package/lib/typescript/src/Squares/components/OfferForm.d.ts +22 -0
  707. package/lib/typescript/src/Squares/components/OfferForm.d.ts.map +1 -0
  708. package/lib/typescript/src/Squares/components/ResultsCard.d.ts +11 -0
  709. package/lib/typescript/src/Squares/components/ResultsCard.d.ts.map +1 -0
  710. package/lib/typescript/src/Squares/components/SquareCard.d.ts +20 -0
  711. package/lib/typescript/src/Squares/components/SquareCard.d.ts.map +1 -0
  712. package/lib/typescript/src/Squares/components/SquareOfferCard.d.ts +12 -0
  713. package/lib/typescript/src/Squares/components/SquareOfferCard.d.ts.map +1 -0
  714. package/lib/typescript/src/Squares/components/SquareOwners.d.ts +9 -0
  715. package/lib/typescript/src/Squares/components/SquareOwners.d.ts.map +1 -0
  716. package/lib/typescript/src/Squares/components/SquaresBoard.d.ts +18 -0
  717. package/lib/typescript/src/Squares/components/SquaresBoard.d.ts.map +1 -0
  718. package/lib/typescript/src/Squares/components/SquaresDetails.d.ts +9 -0
  719. package/lib/typescript/src/Squares/components/SquaresDetails.d.ts.map +1 -0
  720. package/lib/typescript/src/Squares/index.d.ts +14 -0
  721. package/lib/typescript/src/Squares/index.d.ts.map +1 -0
  722. package/lib/typescript/src/Wallet/components/ACHAddCard.d.ts +1 -2
  723. package/lib/typescript/src/Wallet/components/ACHAddCard.d.ts.map +1 -1
  724. package/lib/typescript/src/Wallet/components/AccountCard.d.ts +1 -2
  725. package/lib/typescript/src/Wallet/components/AccountCard.d.ts.map +1 -1
  726. package/lib/typescript/src/Wallet/components/AccountLimitManager.d.ts +1 -2
  727. package/lib/typescript/src/Wallet/components/AccountLimitManager.d.ts.map +1 -1
  728. package/lib/typescript/src/Wallet/components/AccountManager.d.ts +1 -2
  729. package/lib/typescript/src/Wallet/components/AccountManager.d.ts.map +1 -1
  730. package/lib/typescript/src/Wallet/components/AccountSnoozeManager.d.ts +1 -2
  731. package/lib/typescript/src/Wallet/components/AccountSnoozeManager.d.ts.map +1 -1
  732. package/lib/typescript/src/Wallet/components/AddressCard.d.ts +1 -2
  733. package/lib/typescript/src/Wallet/components/AddressCard.d.ts.map +1 -1
  734. package/lib/typescript/src/Wallet/components/AddressManager.d.ts +1 -2
  735. package/lib/typescript/src/Wallet/components/AddressManager.d.ts.map +1 -1
  736. package/lib/typescript/src/Wallet/components/DepositCard.d.ts +1 -2
  737. package/lib/typescript/src/Wallet/components/DepositCard.d.ts.map +1 -1
  738. package/lib/typescript/src/Wallet/components/FundAccountCard.d.ts +1 -2
  739. package/lib/typescript/src/Wallet/components/FundAccountCard.d.ts.map +1 -1
  740. package/lib/typescript/src/Wallet/components/ItemOrderCard.d.ts +1 -2
  741. package/lib/typescript/src/Wallet/components/ItemOrderCard.d.ts.map +1 -1
  742. package/lib/typescript/src/Wallet/components/ItemOrderDetailCard.d.ts +1 -2
  743. package/lib/typescript/src/Wallet/components/ItemOrderDetailCard.d.ts.map +1 -1
  744. package/lib/typescript/src/Wallet/components/LinkAccountManager.d.ts +1 -2
  745. package/lib/typescript/src/Wallet/components/LinkAccountManager.d.ts.map +1 -1
  746. package/lib/typescript/src/Wallet/components/ManageAccountCard.d.ts +1 -2
  747. package/lib/typescript/src/Wallet/components/ManageAccountCard.d.ts.map +1 -1
  748. package/lib/typescript/src/Wallet/components/ManualACHAdd.d.ts +1 -2
  749. package/lib/typescript/src/Wallet/components/ManualACHAdd.d.ts.map +1 -1
  750. package/lib/typescript/src/Wallet/components/ManualCardAdd.d.ts +1 -2
  751. package/lib/typescript/src/Wallet/components/ManualCardAdd.d.ts.map +1 -1
  752. package/lib/typescript/src/Wallet/components/MyBalance.d.ts +1 -2
  753. package/lib/typescript/src/Wallet/components/MyBalance.d.ts.map +1 -1
  754. package/lib/typescript/src/Wallet/components/OrderManager.d.ts +1 -2
  755. package/lib/typescript/src/Wallet/components/OrderManager.d.ts.map +1 -1
  756. package/lib/typescript/src/Wallet/components/RemoveAccount.d.ts +1 -2
  757. package/lib/typescript/src/Wallet/components/RemoveAccount.d.ts.map +1 -1
  758. package/lib/typescript/src/Wallet/components/VerifyACHAccount.d.ts +1 -2
  759. package/lib/typescript/src/Wallet/components/VerifyACHAccount.d.ts.map +1 -1
  760. package/lib/typescript/src/Wallet/components/WalletActionSelector.d.ts +1 -2
  761. package/lib/typescript/src/Wallet/components/WalletActionSelector.d.ts.map +1 -1
  762. package/lib/typescript/src/Wallet/components/WalletSettings.d.ts +1 -2
  763. package/lib/typescript/src/Wallet/components/WalletSettings.d.ts.map +1 -1
  764. package/lib/typescript/src/Wallet/components/WalletSetup.d.ts +1 -2
  765. package/lib/typescript/src/Wallet/components/WalletSetup.d.ts.map +1 -1
  766. package/lib/typescript/src/Wallet/components/WithdrawCard.d.ts +1 -2
  767. package/lib/typescript/src/Wallet/components/WithdrawCard.d.ts.map +1 -1
  768. package/lib/typescript/src/Wallet/index.d.ts +1 -2
  769. package/lib/typescript/src/Wallet/index.d.ts.map +1 -1
  770. package/lib/typescript/src/constants/styles.d.ts +86 -0
  771. package/lib/typescript/src/constants/styles.d.ts.map +1 -1
  772. package/lib/typescript/src/index.d.ts +3 -1
  773. package/lib/typescript/src/index.d.ts.map +1 -1
  774. package/package.json +1 -1
  775. package/src/AdServer/components/CompanyAdCard.tsx +1 -1
  776. package/src/AdServer/index.tsx +1 -1
  777. package/src/ApiOverrides/index.ts +6 -3
  778. package/src/Authenticator/Components/AuthStrategyIdentifier.tsx +0 -1
  779. package/src/Authenticator/Components/LoginForm.tsx +1 -1
  780. package/src/Authenticator/Components/StrategyForm.tsx +1 -1
  781. package/src/Authenticator/index.tsx +1 -1
  782. package/src/BettorSearch/index.tsx +1 -1
  783. package/src/Bracket/components/BracketCompetitionCard.tsx +1 -1
  784. package/src/Bracket/components/BracketCompetitionSelector.tsx +1 -1
  785. package/src/Bracket/components/BracketPlay/BracketNavigator.tsx +0 -1
  786. package/src/Bracket/components/BracketPlay/BracketRound.tsx +0 -1
  787. package/src/Bracket/components/BracketPlay/RoundEvent.tsx +0 -1
  788. package/src/Bracket/components/BracketPlay/index.tsx +1 -1
  789. package/src/Bracket/components/BracketSelector.tsx +0 -1
  790. package/src/Bracket/components/CompetitionLeaderboard.tsx +1 -1
  791. package/src/Bracket/components/JoinCompetitionCard.tsx +1 -1
  792. package/src/Bracket/components/PlayerBalanceCard.tsx +0 -1
  793. package/src/Bracket/components/PlayerBracketManager.tsx +1 -1
  794. package/src/Bracket/components/PlayerBrackets.tsx +0 -1
  795. package/src/Bracket/components/RoomMenu.tsx +0 -1
  796. package/src/Bracket/index.tsx +1 -1
  797. package/src/Checkout/components/AccountSummaryCard.tsx +0 -1
  798. package/src/Checkout/components/ItemSummaryCard.tsx +0 -1
  799. package/src/Checkout/components/OrderSummaryCard.tsx +0 -1
  800. package/src/Checkout/components/PayPalOrderCapture.tsx +0 -1
  801. package/src/Checkout/components/ShippingSummaryCard.tsx +0 -1
  802. package/src/Checkout/index.tsx +1 -1
  803. package/src/Competition/components/AthleteMarketCard.tsx +0 -1
  804. package/src/Competition/components/CompetitionCard.tsx +0 -1
  805. package/src/Competition/components/CompetitionInfoCard.tsx +0 -1
  806. package/src/Competition/components/CompetitionLeaderboard.tsx +1 -1
  807. package/src/Competition/components/CompetitionPlay.tsx +1 -1
  808. package/src/Competition/components/CompetitionSeasonCard.tsx +0 -1
  809. package/src/Competition/components/CompetitionSelector.tsx +1 -1
  810. package/src/Competition/components/CompetitionTypeCard.tsx +1 -1
  811. package/src/Competition/components/EnterCompetitionPrompt.tsx +1 -1
  812. package/src/Competition/components/LeaderPicks.tsx +1 -1
  813. package/src/Competition/components/ManageSeasonForm.tsx +1 -1
  814. package/src/Competition/components/MarketsCard.tsx +1 -1
  815. package/src/Competition/components/MatchMarketCard.tsx +0 -1
  816. package/src/Competition/components/NavOutPrompt.tsx +0 -1
  817. package/src/Competition/components/SeasonInfoModal.tsx +1 -1
  818. package/src/Competition/components/TeamEventCard.tsx +0 -1
  819. package/src/Competition/components/WagerPickForm.tsx +1 -1
  820. package/src/Competition/index.tsx +1 -1
  821. package/src/Components/Button.tsx +0 -1
  822. package/src/Components/Checkbox.tsx +0 -1
  823. package/src/Components/Icons.tsx +76 -2
  824. package/src/Components/ImageUploader.tsx +1 -1
  825. package/src/Components/Jerseys.tsx +0 -1
  826. package/src/Components/LinearDiagnal.tsx +1 -1
  827. package/src/Components/Spring.tsx +0 -1
  828. package/src/Components/Switch.tsx +0 -1
  829. package/src/Components/Text.tsx +23 -3
  830. package/src/Components/TextInput.tsx +0 -1
  831. package/src/LocationTracker/index.tsx +0 -1
  832. package/src/Observer/Observer.tsx +0 -1
  833. package/src/Poll/components/CampaignPlay.tsx +0 -1
  834. package/src/Poll/components/CampaignProgressBar.tsx +0 -1
  835. package/src/Poll/components/CampaignResult.tsx +0 -1
  836. package/src/Poll/components/CampaignSelector.tsx +1 -1
  837. package/src/Poll/components/PollCampaignCard.tsx +0 -1
  838. package/src/Poll/components/PollCard.tsx +0 -1
  839. package/src/Poll/components/PollOptionCard.tsx +1 -1
  840. package/src/Poll/components/PollSelectCard.tsx +0 -1
  841. package/src/Poll/components/ResponseTimer.tsx +1 -1
  842. package/src/Poll/components/WidgetHeader.tsx +0 -1
  843. package/src/Poll/flashmarket/ResultCard.tsx +1 -1
  844. package/src/Poll/flashmarket/index.tsx +1 -1
  845. package/src/Poll/index.tsx +1 -1
  846. package/src/ProfileManager/Components/BasicInfoManager.tsx +1 -1
  847. package/src/ProfileManager/Components/BasicStatus.tsx +0 -1
  848. package/src/ProfileManager/Components/CodeRedeem.tsx +1 -1
  849. package/src/ProfileManager/Components/DOBManager.tsx +1 -1
  850. package/src/ProfileManager/Components/EmailManager.tsx +1 -1
  851. package/src/ProfileManager/Components/PasswordManager.tsx +1 -1
  852. package/src/ProfileManager/Components/PhoneManager.tsx +1 -1
  853. package/src/ProfileManager/Components/ProfilePicManager.tsx +1 -1
  854. package/src/ProfileManager/Components/ProfileWelcome.tsx +0 -1
  855. package/src/ProfileManager/Components/ProfileWizard.tsx +1 -1
  856. package/src/ProfileManager/Components/SettingsManager.tsx +1 -1
  857. package/src/ProfileManager/Components/VouchCard.tsx +1 -1
  858. package/src/ProfileManager/index.tsx +1 -1
  859. package/src/SocialComponents/PlayerCard.tsx +0 -1
  860. package/src/SocialComponents/PlayerFollowButton.tsx +0 -1
  861. package/src/SocialComponents/PlayerList.tsx +1 -1
  862. package/src/Socket/api/index.ts +15 -0
  863. package/src/Socket/index.tsx +96 -0
  864. package/src/Squares/api/index.ts +69 -0
  865. package/src/Squares/components/BidForm.tsx +85 -0
  866. package/src/Squares/components/BidToggle.tsx +27 -0
  867. package/src/Squares/components/BoardStats.tsx +70 -0
  868. package/src/Squares/components/EventCard.tsx +77 -0
  869. package/src/Squares/components/MySquaresCard.tsx +80 -0
  870. package/src/Squares/components/OfferForm.tsx +94 -0
  871. package/src/Squares/components/ResultsCard.tsx +67 -0
  872. package/src/Squares/components/SquareCard.tsx +190 -0
  873. package/src/Squares/components/SquareOfferCard.tsx +101 -0
  874. package/src/Squares/components/SquareOwners.tsx +69 -0
  875. package/src/Squares/components/SquaresBoard.tsx +161 -0
  876. package/src/Squares/components/SquaresDetails.tsx +54 -0
  877. package/src/Squares/index.tsx +398 -0
  878. package/src/Wallet/components/ACHAddCard.tsx +0 -1
  879. package/src/Wallet/components/AccountCard.tsx +0 -1
  880. package/src/Wallet/components/AccountLimitManager.tsx +1 -1
  881. package/src/Wallet/components/AccountManager.tsx +0 -1
  882. package/src/Wallet/components/AccountSnoozeManager.tsx +1 -1
  883. package/src/Wallet/components/AddressCard.tsx +0 -1
  884. package/src/Wallet/components/AddressManager.tsx +1 -1
  885. package/src/Wallet/components/DepositCard.tsx +1 -1
  886. package/src/Wallet/components/FundAccountCard.tsx +0 -1
  887. package/src/Wallet/components/ItemOrderCard.tsx +1 -1
  888. package/src/Wallet/components/ItemOrderDetailCard.tsx +0 -1
  889. package/src/Wallet/components/LinkAccountManager.tsx +1 -1
  890. package/src/Wallet/components/ManageAccountCard.tsx +1 -1
  891. package/src/Wallet/components/ManualACHAdd.tsx +1 -1
  892. package/src/Wallet/components/ManualCardAdd.tsx +1 -1
  893. package/src/Wallet/components/MyBalance.tsx +0 -1
  894. package/src/Wallet/components/OrderManager.tsx +1 -1
  895. package/src/Wallet/components/RemoveAccount.tsx +0 -1
  896. package/src/Wallet/components/VerifyACHAccount.tsx +1 -1
  897. package/src/Wallet/components/WalletActionSelector.tsx +1 -1
  898. package/src/Wallet/components/WalletSettings.tsx +0 -1
  899. package/src/Wallet/components/WalletSetup.tsx +1 -1
  900. package/src/Wallet/components/WithdrawCard.tsx +1 -1
  901. package/src/Wallet/index.tsx +1 -1
  902. package/src/constants/styles.ts +15 -2
  903. package/src/index.tsx +6 -1
  904. package/src/types.d.ts +52 -1
@@ -0,0 +1,83 @@
1
+ import { TouchableOpacity, View } from "react-native";
2
+ import { view_styles } from "../../constants/styles";
3
+ import { Icons, Text } from "../../Components";
4
+ import Colors from "../../constants/colors";
5
+ import { useState } from "react";
6
+ const SquaresDetails = ({
7
+ squares_competition,
8
+ squares_type,
9
+ squares_payout_type
10
+ }) => {
11
+ const [expanded, setExpanded] = useState(false);
12
+ return /*#__PURE__*/React.createElement(View, {
13
+ nativeID: "competition_details",
14
+ style: {
15
+ ...view_styles.section,
16
+ minWidth: 350
17
+ }
18
+ }, /*#__PURE__*/React.createElement(TouchableOpacity, {
19
+ style: view_styles.section_header,
20
+ onPress: () => setExpanded(!expanded)
21
+ }, /*#__PURE__*/React.createElement(Icons.SettingsIcon, {
22
+ size: 18,
23
+ color: Colors.brand.midnight
24
+ }), /*#__PURE__*/React.createElement(View, {
25
+ style: {
26
+ flex: 1,
27
+ marginLeft: 10
28
+ }
29
+ }, /*#__PURE__*/React.createElement(Text, {
30
+ theme: "header"
31
+ }, "COMPETITION DETAILS"), /*#__PURE__*/React.createElement(Text, {
32
+ style: {
33
+ marginTop: 4
34
+ },
35
+ theme: "body_2"
36
+ }, "Detailed Information on this competition")), /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
37
+ direction: expanded ? 'up' : 'down',
38
+ color: Colors.brand.midnight,
39
+ size: 8
40
+ })), expanded ? /*#__PURE__*/React.createElement(View, {
41
+ style: {
42
+ ...view_styles.section_body
43
+ }
44
+ }, squares_type ? /*#__PURE__*/React.createElement(View, {
45
+ style: view_styles.body_row
46
+ }, /*#__PURE__*/React.createElement(Text, {
47
+ style: {
48
+ flex: 1
49
+ },
50
+ theme: "body"
51
+ }, "Type"), /*#__PURE__*/React.createElement(Text, {
52
+ theme: "header_2"
53
+ }, squares_type.sq_type_name)) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
54
+ style: view_styles.body_row
55
+ }, /*#__PURE__*/React.createElement(Text, {
56
+ style: {
57
+ flex: 1
58
+ },
59
+ theme: "body"
60
+ }, "Initial Square Price"), /*#__PURE__*/React.createElement(Text, {
61
+ theme: "header_2"
62
+ }, "$", squares_competition.minimum_square_price.toFixed(2))), squares_payout_type ? /*#__PURE__*/React.createElement(View, {
63
+ style: view_styles.body_row
64
+ }, /*#__PURE__*/React.createElement(Text, {
65
+ style: {
66
+ flex: 1
67
+ },
68
+ theme: "body"
69
+ }, "Payout"), /*#__PURE__*/React.createElement(Text, {
70
+ theme: "header_2"
71
+ }, squares_payout_type.sq_payout_name.toUpperCase())) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
72
+ style: view_styles.body_row
73
+ }, /*#__PURE__*/React.createElement(Text, {
74
+ style: {
75
+ flex: 1
76
+ },
77
+ theme: "body"
78
+ }, "Payout Frequency"), /*#__PURE__*/React.createElement(Text, {
79
+ theme: "header_2"
80
+ }, squares_competition.payout_frequency, " Quarters"))) : /*#__PURE__*/React.createElement(React.Fragment, null));
81
+ };
82
+ export default SquaresDetails;
83
+ //# sourceMappingURL=SquaresDetails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["TouchableOpacity","View","view_styles","Icons","Text","Colors","useState","SquaresDetails","squares_competition","squares_type","squares_payout_type","expanded","setExpanded","React","createElement","nativeID","style","section","minWidth","section_header","onPress","SettingsIcon","size","color","brand","midnight","flex","marginLeft","theme","marginTop","ChevronIcon","direction","section_body","body_row","sq_type_name","Fragment","minimum_square_price","toFixed","sq_payout_name","toUpperCase","payout_frequency"],"sourceRoot":"../../../../src","sources":["Squares/components/SquaresDetails.tsx"],"mappings":"AAAA,SAASA,gBAAgB,EAAEC,IAAI,QAAQ,cAAc;AAErD,SAASC,WAAW,QAAQ,wBAAwB;AACpD,SAASC,KAAK,EAAEC,IAAI,QAAQ,kBAAkB;AAC9C,OAAOC,MAAM,MAAM,wBAAwB;AAC3C,SAASC,QAAQ,QAAQ,OAAO;AAQhC,MAAMC,cAAc,GAAGA,CAAC;EAAEC,mBAAmB;EAAEC,YAAY;EAAEC;AAAwC,CAAC,KAAK;EACvG,MAAM,CAAEC,QAAQ,EAAEC,WAAW,CAAE,GAAGN,QAAQ,CAAC,KAAK,CAAC;EACjD,oBACIO,KAAA,CAAAC,aAAA,CAACb,IAAI;IAACc,QAAQ,EAAC,qBAAqB;IAACC,KAAK,EAAE;MAAE,GAAGd,WAAW,CAACe,OAAO;MAAEC,QAAQ,EAAC;IAAI;EAAE,gBACjFL,KAAA,CAAAC,aAAA,CAACd,gBAAgB;IAACgB,KAAK,EAAEd,WAAW,CAACiB,cAAe;IAACC,OAAO,EAAEA,CAAA,KAAMR,WAAW,CAAC,CAACD,QAAQ;EAAE,gBACvFE,KAAA,CAAAC,aAAA,CAACX,KAAK,CAACkB,YAAY;IAACC,IAAI,EAAE,EAAG;IAACC,KAAK,EAAElB,MAAM,CAACmB,KAAK,CAACC;EAAS,CAAE,CAAC,eAC9DZ,KAAA,CAAAC,aAAA,CAACb,IAAI;IAACe,KAAK,EAAE;MAAEU,IAAI,EAAC,CAAC;MAAEC,UAAU,EAAC;IAAG;EAAE,gBACnCd,KAAA,CAAAC,aAAA,CAACV,IAAI;IAACwB,KAAK,EAAC;EAAQ,GAAC,qBAAyB,CAAC,eAC/Cf,KAAA,CAAAC,aAAA,CAACV,IAAI;IAACY,KAAK,EAAE;MAAEa,SAAS,EAAE;IAAE,CAAE;IAACD,KAAK,EAAC;EAAQ,GAAC,0CAA8C,CAC1F,CAAC,eACPf,KAAA,CAAAC,aAAA,CAACX,KAAK,CAAC2B,WAAW;IAACC,SAAS,EAAEpB,QAAQ,GAAC,IAAI,GAAC,MAAO;IAACY,KAAK,EAAElB,MAAM,CAACmB,KAAK,CAACC,QAAS;IAACH,IAAI,EAAE;EAAE,CAAE,CAC9E,CAAC,EAClBX,QAAQ,gBACTE,KAAA,CAAAC,aAAA,CAACb,IAAI;IAACe,KAAK,EAAE;MAAE,GAAGd,WAAW,CAAC8B;IAAa;EAAE,GACxCvB,YAAY,gBACbI,KAAA,CAAAC,aAAA,CAACb,IAAI;IAACe,KAAK,EAAEd,WAAW,CAAC+B;EAAS,gBAC9BpB,KAAA,CAAAC,aAAA,CAACV,IAAI;IAACY,KAAK,EAAE;MAACU,IAAI,EAAC;IAAC,CAAE;IAACE,KAAK,EAAC;EAAM,GAAC,MAAU,CAAC,eAC/Cf,KAAA,CAAAC,aAAA,CAACV,IAAI;IAACwB,KAAK,EAAC;EAAU,GAAEnB,YAAY,CAACyB,YAAmB,CACtD,CAAC,gBACNrB,KAAA,CAAAC,aAAA,CAAAD,KAAA,CAAAsB,QAAA,MAAI,CAAC,eACNtB,KAAA,CAAAC,aAAA,CAACb,IAAI;IAACe,KAAK,EAAEd,WAAW,CAAC+B;EAAS,gBAC9BpB,KAAA,CAAAC,aAAA,CAACV,IAAI;IAACY,KAAK,EAAE;MAACU,IAAI,EAAC;IAAC,CAAE;IAACE,KAAK,EAAC;EAAM,GAAC,sBAA0B,CAAC,eAC/Df,KAAA,CAAAC,aAAA,CAACV,IAAI;IAACwB,KAAK,EAAC;EAAU,GAAC,GAAC,EAACpB,mBAAmB,CAAC4B,oBAAoB,CAACC,OAAO,CAAC,CAAC,CAAQ,CACjF,CAAC,EACN3B,mBAAmB,gBACpBG,KAAA,CAAAC,aAAA,CAACb,IAAI;IAACe,KAAK,EAAEd,WAAW,CAAC+B;EAAS,gBAC9BpB,KAAA,CAAAC,aAAA,CAACV,IAAI;IAACY,KAAK,EAAE;MAACU,IAAI,EAAC;IAAC,CAAE;IAACE,KAAK,EAAC;EAAM,GAAC,QAAY,CAAC,eACjDf,KAAA,CAAAC,aAAA,CAACV,IAAI;IAACwB,KAAK,EAAC;EAAU,GAAElB,mBAAmB,CAAC4B,cAAc,CAACC,WAAW,CAAC,CAAQ,CAC7E,CAAC,gBACN1B,KAAA,CAAAC,aAAA,CAAAD,KAAA,CAAAsB,QAAA,MAAI,CAAC,eACNtB,KAAA,CAAAC,aAAA,CAACb,IAAI;IAACe,KAAK,EAAEd,WAAW,CAAC+B;EAAS,gBAC9BpB,KAAA,CAAAC,aAAA,CAACV,IAAI;IAACY,KAAK,EAAE;MAACU,IAAI,EAAC;IAAC,CAAE;IAACE,KAAK,EAAC;EAAM,GAAC,kBAAsB,CAAC,eAC3Df,KAAA,CAAAC,aAAA,CAACV,IAAI;IAACwB,KAAK,EAAC;EAAU,GAAEpB,mBAAmB,CAACgC,gBAAgB,EAAC,WAAe,CAC1E,CACJ,CAAC,gBACN3B,KAAA,CAAAC,aAAA,CAAAD,KAAA,CAAAsB,QAAA,MAAI,CACH,CAAC;AAEf,CAAC;AAED,eAAe5B,cAAc","ignoreList":[]}
@@ -0,0 +1,561 @@
1
+ import { useEffect, useState } from "react";
2
+ import { ActivityIndicator, View, Image, TouchableOpacity, ScrollView } from 'react-native';
3
+ import Colors from "../constants/colors";
4
+ import { SqauresHelpers, SquaresApi } from "./api";
5
+ import { Button, Icons, Text } from "../Components";
6
+ import SquaresBoard from "./components/SquaresBoard";
7
+ import BidForm from "./components/BidForm";
8
+ import SocketManager from "../Socket";
9
+ import EventCard from "./components/EventCard";
10
+ import ResultsCard from "./components/ResultsCard";
11
+ import SquaresDetails from "./components/SquaresDetails";
12
+ import BoardStats from "./components/BoardStats";
13
+ import SquareOwnersCard from "./components/SquareOwners";
14
+ import OfferForm from "./components/OfferForm";
15
+ import MySquaresCard from "./components/MySquaresCard";
16
+ import { view_styles } from "../constants/styles";
17
+ const SquaresModule = ({
18
+ sq_comp_id,
19
+ player_id,
20
+ distinct_id,
21
+ onRequestAuthenticate,
22
+ onShareCompetition,
23
+ onPlayerSelect
24
+ }) => {
25
+ const [needs_reload, setNeedsReload] = useState(false);
26
+ const [module_size, setModuleSize] = useState({
27
+ width: 0,
28
+ height: 0
29
+ });
30
+ const [bid_form_expanded, setBidFormExpanded] = useState(false);
31
+ const [module_data, setModuleData] = useState({
32
+ loading: false,
33
+ loaded: false,
34
+ squares: [],
35
+ players: [],
36
+ square_results: [],
37
+ square_offers: [],
38
+ player_square_history: [],
39
+ player_squares: []
40
+ });
41
+ const [board_data, setBoardData] = useState({
42
+ draft_square_offers: [],
43
+ square_bids: [],
44
+ submit_ready: {
45
+ is_loading: false,
46
+ is_ready: false
47
+ }
48
+ });
49
+ const {
50
+ square_bids,
51
+ draft_square_offers,
52
+ submit_ready
53
+ } = board_data;
54
+ const {
55
+ loading,
56
+ league,
57
+ event,
58
+ players,
59
+ loaded,
60
+ squares_competition,
61
+ squares,
62
+ squares_type,
63
+ squares_payout_type,
64
+ square_results,
65
+ square_offers,
66
+ player_square_history,
67
+ player_squares
68
+ } = module_data;
69
+ const my_squares = player_squares.filter(ps => ps.status == 'active' && ps.player_id == player_id);
70
+ const home_abbr = event?.home?.abbr ?? squares_competition?.event_backup?.home?.abbr;
71
+ const away_abbr = event?.away?.abbr ?? squares_competition?.event_backup?.away?.abbr;
72
+ useEffect(() => {
73
+ if (!sq_comp_id) {
74
+ return;
75
+ }
76
+ if (!loaded) {
77
+ SquaresApi.setEnvironment();
78
+ }
79
+ getDataFromServer(sq_comp_id);
80
+ }, [sq_comp_id]);
81
+ const getDataFromServer = async sq_comp_id => {
82
+ setModuleData({
83
+ ...module_data,
84
+ loading: true
85
+ });
86
+ const d = await SquaresApi.getSquareCompetitionById(sq_comp_id);
87
+ const evs = await SquaresApi.getEventsByEventIds([d.squares_competition.event_id]);
88
+ const league_id = evs[0]?.league_id;
89
+ let ps = await SquaresApi.getPlayersByPlayerIds([...new Set(d.player_squares.map(ps => ps.player_id))]);
90
+ let l = undefined;
91
+ if (league_id) {
92
+ l = await SquaresApi.getLeagueById(league_id);
93
+ }
94
+ setModuleData({
95
+ ...module_data,
96
+ loaded: true,
97
+ event: evs[0],
98
+ league: l,
99
+ squares_competition: d.squares_competition,
100
+ squares_type: d.squares_type,
101
+ squares_payout_type: d.squares_payout_type,
102
+ squares: d.squares,
103
+ players: ps,
104
+ square_offers: d.square_offers,
105
+ square_results: d.square_results,
106
+ player_squares: d.player_squares,
107
+ player_square_history: d.player_square_history
108
+ });
109
+ };
110
+ const handleSubmitBid = async () => {
111
+ if (!squares_competition) {
112
+ return;
113
+ }
114
+ if (!player_id) {
115
+ return onRequestAuthenticate(squares_competition.auth_strategy_id);
116
+ }
117
+ if (!submit_ready.is_ready) {
118
+ setBoardData({
119
+ ...board_data,
120
+ submit_ready: {
121
+ is_ready: false,
122
+ is_loading: true
123
+ }
124
+ });
125
+ setTimeout(() => {
126
+ setBoardData({
127
+ ...board_data,
128
+ submit_ready: {
129
+ is_ready: true,
130
+ is_loading: false
131
+ }
132
+ });
133
+ }, 500);
134
+ return;
135
+ }
136
+ //if(player?.vouched_status !== 'verified' && squares_competition.market_type === 'FOR_MONEY'){ return alert('Must be verified before purchasing real money squares') }
137
+ if (submit_ready.is_loading) {
138
+ return;
139
+ } //Prevent button mashing
140
+ //SUBMIT BIDS!
141
+ setBoardData({
142
+ ...board_data,
143
+ submit_ready: {
144
+ ...submit_ready,
145
+ is_loading: true
146
+ }
147
+ });
148
+ const resp = await SquaresApi.buySquares(squares_competition.sq_comp_id, square_bids);
149
+ if (needs_reload) {
150
+ handleUpdateBoardFromBuy(resp);
151
+ } //If we somehow got disconnected from the socket, we need to load it
152
+ setBoardData({
153
+ ...board_data,
154
+ square_bids: [],
155
+ submit_ready: {
156
+ is_loading: false,
157
+ is_ready: false
158
+ }
159
+ });
160
+ };
161
+ const handleSubmitOffer = async () => {
162
+ if (draft_square_offers.length === 0 || !draft_square_offers[0]) {
163
+ return;
164
+ }
165
+ if (!submit_ready.is_ready) {
166
+ setBoardData({
167
+ ...board_data,
168
+ submit_ready: {
169
+ is_ready: false,
170
+ is_loading: true
171
+ }
172
+ });
173
+ setTimeout(() => {
174
+ setBoardData({
175
+ ...board_data,
176
+ submit_ready: {
177
+ is_ready: true,
178
+ is_loading: false
179
+ }
180
+ });
181
+ }, 500);
182
+ return;
183
+ }
184
+ if (submit_ready.is_loading) {
185
+ return;
186
+ } //Prevent button mashing
187
+ //SUBMIT BIDS!
188
+
189
+ setBoardData({
190
+ ...board_data,
191
+ submit_ready: {
192
+ ...submit_ready,
193
+ is_loading: true
194
+ }
195
+ });
196
+ const resp = await SquaresApi.offserSquare(draft_square_offers[0]);
197
+ if (needs_reload) {
198
+ handleUpdateBoardFromOffer(resp);
199
+ } //If we somehow got disconnected from the socket, we need to load it
200
+ setBoardData({
201
+ ...board_data,
202
+ draft_square_offers: [],
203
+ submit_ready: {
204
+ is_loading: false,
205
+ is_ready: false
206
+ }
207
+ });
208
+ };
209
+ const handleClearBids = () => {
210
+ setBoardData({
211
+ ...board_data,
212
+ square_bids: [],
213
+ submit_ready: {
214
+ is_ready: false,
215
+ is_loading: false
216
+ }
217
+ });
218
+ setBidFormExpanded(false);
219
+ };
220
+ const handleClearOffers = () => {
221
+ setBoardData({
222
+ ...board_data,
223
+ draft_square_offers: [],
224
+ submit_ready: {
225
+ is_ready: false,
226
+ is_loading: false
227
+ }
228
+ });
229
+ };
230
+ const handleSquareBid = (square, action) => {
231
+ if (!squares_competition) {
232
+ return;
233
+ }
234
+ //setSubmitReady({ isReady:false, isLoading:false })
235
+ if (action === 'remove') {
236
+ return setBoardData({
237
+ ...board_data,
238
+ square_bids: square_bids.filter(b => b.sq_square_id != square.sq_square_id)
239
+ });
240
+ }
241
+ let purchase_price = square.init_cost;
242
+ if (square.last_purchase_price >= square.init_cost) {
243
+ purchase_price = square.last_purchase_price + 0.50;
244
+ }
245
+ let newPS = {
246
+ sq_player_square_id: '',
247
+ sq_comp_id: squares_competition.sq_comp_id,
248
+ sq_square_id: square.sq_square_id,
249
+ player_id: '',
250
+ purchase_price,
251
+ status: 'active',
252
+ create_datetime: '',
253
+ last_update_datetime: ''
254
+ };
255
+ return setBoardData({
256
+ ...board_data,
257
+ square_bids: square_bids.concat(newPS)
258
+ });
259
+ };
260
+ const handleBidAmountChange = (square_bid, square, direction) => {
261
+ let new_purchase_price = 0;
262
+ if (direction === 'increase') {
263
+ new_purchase_price = square_bid.purchase_price + 0.50;
264
+ } else {
265
+ new_purchase_price = square_bid.purchase_price - 0.50;
266
+ if (new_purchase_price < square.init_cost) {
267
+ return;
268
+ } //Do not change if the price is less than the initial cost
269
+ if (new_purchase_price <= square.last_purchase_price) {
270
+ return;
271
+ } //Do not change if the price is not greater than current bid
272
+ }
273
+ square_bid = {
274
+ ...square_bid,
275
+ purchase_price: new_purchase_price
276
+ };
277
+ setBoardData({
278
+ ...board_data,
279
+ square_bids: square_bids.filter(s => s.sq_square_id != square_bid.sq_square_id).concat(square_bid)
280
+ });
281
+ };
282
+ const handleSquareOffer = (square, action) => {
283
+ if (!squares_competition) {
284
+ return;
285
+ }
286
+ if (!player_id) {
287
+ return;
288
+ }
289
+ //setSubmitReady({ isReady:false, isLoading:false })
290
+ let ps = player_squares.find(ps => ps.sq_square_id == square.sq_square_id);
291
+ if (!ps) {
292
+ return alert('Cannot put offer on this square as it is not owned by anyone');
293
+ }
294
+ if (action === 'remove') {
295
+ return setBoardData({
296
+ ...board_data,
297
+ draft_square_offers: draft_square_offers.filter(so => so.sq_player_square_id != ps?.sq_player_square_id)
298
+ });
299
+ }
300
+ if (draft_square_offers.length > 0) {
301
+ return alert('Currently only allowed to offer to buy 1 square at a time');
302
+ }
303
+ //Todo - check if there is an existing square offer and update more than the last one (maybe)
304
+ let purchase_price = ps.purchase_price + 1;
305
+ let newSO = {
306
+ sq_offer_id: '',
307
+ sq_comp_id: squares_competition.sq_comp_id,
308
+ sq_player_square_id: ps.sq_player_square_id,
309
+ amount: purchase_price,
310
+ buy_sell_ind: ps.player_id == player_id ? 'sell' : 'buy',
311
+ market_type: squares_competition.market_type,
312
+ status: 'offered',
313
+ offerer_id: player_id,
314
+ offeree_id: ps.player_id,
315
+ create_datetime: '',
316
+ last_update_datetime: ''
317
+ };
318
+ if (newSO.buy_sell_ind == 'buy') {
319
+ let existingSellOffer = square_offers.find(o => o.sq_player_square_id == newSO.sq_player_square_id);
320
+ if (existingSellOffer) {
321
+ newSO.amount = existingSellOffer.amount;
322
+ }
323
+ }
324
+ if (newSO.buy_sell_ind == 'sell') {
325
+ let existingSellDraftOffer = draft_square_offers.find(o => o.sq_player_square_id == newSO.sq_player_square_id);
326
+ if (existingSellDraftOffer) {
327
+ return alert('You already have an existing sale offer for this square');
328
+ }
329
+ }
330
+ return setBoardData({
331
+ ...board_data,
332
+ draft_square_offers: draft_square_offers.concat(newSO)
333
+ });
334
+ };
335
+ const handleUpdateBoardFromOffer = data => {
336
+ setModuleData({
337
+ ...module_data,
338
+ player_squares: player_squares.filter(ps => !data.removed_player_squares.map(rps => rps.sq_player_square_id.toString()).includes(ps.sq_player_square_id.toString())).filter(ps => !data.saved_player_squares.find(nps => nps.sq_player_square_id == ps.sq_player_square_id)).concat(data.saved_player_squares),
339
+ square_offers: square_offers.filter(o => !data.updated_offers.find(no => no.sq_offer_id == o.sq_offer_id)).concat(data.updated_offers)
340
+ });
341
+ };
342
+ const handleUpdateBoardFromBuy = data => {
343
+ setModuleData({
344
+ ...module_data,
345
+ squares_competition: data.squares_competition,
346
+ squares: squares.filter(s => !data.updated_squares.find(ns => ns.sq_square_id == s.sq_square_id)).concat(data.updated_squares),
347
+ player_squares: player_squares.filter(ps => !data.removed_player_squares.map(rps => rps.sq_player_square_id.toString()).includes(ps.sq_player_square_id.toString())).filter(ps => !data.saved_player_squares.find(nps => nps.sq_player_square_id == ps.sq_player_square_id)).concat(data.saved_player_squares)
348
+ });
349
+ };
350
+ if (loading || !squares_competition) {
351
+ return /*#__PURE__*/React.createElement(ActivityIndicator, {
352
+ style: {
353
+ padding: 20,
354
+ alignSelf: 'center'
355
+ },
356
+ color: Colors.brand.midnight,
357
+ size: "large"
358
+ });
359
+ }
360
+ const comp_status = SqauresHelpers.getCompStatus(event, squares_competition);
361
+ return /*#__PURE__*/React.createElement(View, {
362
+ style: {
363
+ flex: 1,
364
+ backgroundColor: Colors.shades.shade100
365
+ },
366
+ onLayout: ev => {
367
+ const {
368
+ width,
369
+ height
370
+ } = ev.nativeEvent.layout;
371
+ setModuleSize({
372
+ width,
373
+ height
374
+ });
375
+ }
376
+ }, /*#__PURE__*/React.createElement(ScrollView, {
377
+ style: {
378
+ flex: 1
379
+ }
380
+ }, /*#__PURE__*/React.createElement(View, {
381
+ nativeID: "squares_header",
382
+ style: {
383
+ flexDirection: 'row',
384
+ alignItems: 'center',
385
+ padding: 10,
386
+ backgroundColor: Colors.shades.white
387
+ }
388
+ }, /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(Image, {
389
+ source: {
390
+ uri: squares_competition.image?.url ?? 'https://res.cloudinary.com/hoabts6mc/image/upload/v1649737862/be_logo_jte2ux.webp'
391
+ },
392
+ style: {
393
+ height: 50,
394
+ width: 50,
395
+ borderRadius: 4
396
+ },
397
+ resizeMode: "cover"
398
+ })), /*#__PURE__*/React.createElement(View, {
399
+ style: {
400
+ flex: 1,
401
+ marginLeft: 10
402
+ }
403
+ }, /*#__PURE__*/React.createElement(Text, {
404
+ theme: "header"
405
+ }, squares_competition.sq_comp_name), /*#__PURE__*/React.createElement(Text, {
406
+ style: {
407
+ marginTop: 4
408
+ },
409
+ theme: "header_2>"
410
+ }, squares_competition.sq_comp_description)), /*#__PURE__*/React.createElement(TouchableOpacity, {
411
+ onPress: () => onShareCompetition(squares_competition)
412
+ }, /*#__PURE__*/React.createElement(Icons.ShareIcon, {
413
+ color: Colors.brand.midnight,
414
+ size: 14
415
+ }))), event ? /*#__PURE__*/React.createElement(EventCard, {
416
+ event: event,
417
+ league: league
418
+ }) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(BoardStats, {
419
+ player_id: player_id,
420
+ squares_competition: squares_competition,
421
+ squares: squares,
422
+ player_squares: player_squares
423
+ }), square_results.length > 0 ? /*#__PURE__*/React.createElement(ResultsCard, {
424
+ home_abbr: home_abbr,
425
+ away_abbr: away_abbr,
426
+ squares: squares,
427
+ square_results: square_results,
428
+ onPlayerSelect: onPlayerSelect
429
+ }) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(SquaresBoard, {
430
+ player_id: player_id,
431
+ onSquareBid: handleSquareBid,
432
+ onSquareOffer: handleSquareOffer,
433
+ square_bids: square_bids,
434
+ draft_square_offers: draft_square_offers,
435
+ squares_competition: squares_competition,
436
+ squares: squares,
437
+ event: event,
438
+ player_squares: player_squares,
439
+ player_square_history: player_square_history,
440
+ square_results: square_results,
441
+ square_offers: square_offers
442
+ }), square_bids.length > 0 && !bid_form_expanded ? /*#__PURE__*/React.createElement(View, {
443
+ style: {
444
+ position: 'absolute',
445
+ flexDirection: 'row',
446
+ alignItems: 'center',
447
+ top: 10,
448
+ left: 10,
449
+ backgroundColor: Colors.shades.shade600,
450
+ padding: 10,
451
+ borderRadius: 8,
452
+ borderBottomLeftRadius: 0,
453
+ ...view_styles.float
454
+ }
455
+ }, /*#__PURE__*/React.createElement(Text, {
456
+ theme: "header"
457
+ }, square_bids.length, " Squares"), /*#__PURE__*/React.createElement(Button, {
458
+ title: "SET AMOUNTS",
459
+ style: {
460
+ marginLeft: 10
461
+ },
462
+ title_color: Colors.shades.white,
463
+ backgroundColor: Colors.brand.electric,
464
+ onPress: () => setBidFormExpanded(true)
465
+ })) : /*#__PURE__*/React.createElement(React.Fragment, null)), my_squares.length > 0 ? /*#__PURE__*/React.createElement(MySquaresCard, {
466
+ player_squares: my_squares,
467
+ squares: squares,
468
+ square_offers: square_offers,
469
+ away_abbr: away_abbr,
470
+ home_abbr: home_abbr,
471
+ comp_status: comp_status,
472
+ onSquareOffer: handleSquareOffer
473
+ }) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(SquaresDetails, {
474
+ squares_competition: squares_competition,
475
+ squares_payout_type: squares_payout_type,
476
+ squares_type: squares_type
477
+ }), /*#__PURE__*/React.createElement(SquareOwnersCard, {
478
+ players: players,
479
+ player_squares: player_squares,
480
+ onPlayerSelect: onPlayerSelect
481
+ }), /*#__PURE__*/React.createElement(SocketManager
482
+ //access_token={access_token}
483
+ , {
484
+ onConnect: () => {
485
+ if (needs_reload) {
486
+ setNeedsReload(false);
487
+ getDataFromServer(sq_comp_id);
488
+ }
489
+ },
490
+ onDisconnect: () => setNeedsReload(true),
491
+ distinct_id: distinct_id,
492
+ onSocketEvent: ev => {
493
+ switch (ev.type) {
494
+ case 'V1_UPDATE_SQUARE_DETAILS':
495
+ let data = ev.data;
496
+ if (!data.squares_competition || data.squares_competition.sq_comp_id != squares_competition.sq_comp_id) {
497
+ break;
498
+ } //This isn't this competition;
499
+ if (ev.action == 'buy') {
500
+ handleUpdateBoardFromBuy(data);
501
+ }
502
+ if (ev.action == 'offer') [handleUpdateBoardFromOffer(data)];
503
+ break;
504
+ default:
505
+ break;
506
+ }
507
+ },
508
+ subscribed_events: ['V1_UPDATE_SQUARE_DETAILS']
509
+ })), bid_form_expanded ? /*#__PURE__*/React.createElement(View, {
510
+ style: {
511
+ position: 'absolute',
512
+ bottom: 0,
513
+ left: 0,
514
+ right: 0,
515
+ top: 0,
516
+ justifyContent: module_size.width > 500 ? 'center' : 'flex-end',
517
+ alignItems: 'center',
518
+ backgroundColor: Colors.shades.black_faded
519
+ }
520
+ }, /*#__PURE__*/React.createElement(BidForm, {
521
+ player_id: player_id,
522
+ home_abbr: home_abbr,
523
+ away_abbr: away_abbr,
524
+ width: module_size.width,
525
+ squares: squares,
526
+ submit_ready: submit_ready,
527
+ onBidAmountChange: (pb, sq, dir) => handleBidAmountChange(pb, sq, dir),
528
+ market_type: squares_competition.market_type,
529
+ square_bids: square_bids,
530
+ onClearBids: handleClearBids,
531
+ onRequestAuthenticate: () => onRequestAuthenticate(squares_competition.auth_strategy_id),
532
+ onSubmitBid: () => handleSubmitBid()
533
+ })) : /*#__PURE__*/React.createElement(React.Fragment, null), draft_square_offers.length > 0 ? /*#__PURE__*/React.createElement(View, {
534
+ style: {
535
+ position: 'absolute',
536
+ bottom: 0,
537
+ left: 0,
538
+ right: 0,
539
+ top: 0,
540
+ justifyContent: module_size.width > 500 ? 'center' : 'flex-end',
541
+ alignItems: 'center',
542
+ backgroundColor: Colors.shades.black_faded
543
+ }
544
+ }, /*#__PURE__*/React.createElement(OfferForm, {
545
+ player_id: player_id,
546
+ draft_square_offers: draft_square_offers,
547
+ home_abbr: home_abbr,
548
+ width: module_size.width,
549
+ away_abbr: away_abbr,
550
+ squares: squares,
551
+ submit_ready: submit_ready,
552
+ market_type: squares_competition.market_type,
553
+ player_squares: player_squares,
554
+ onClearOffers: handleClearOffers,
555
+ onRequestAuthenticate: () => onRequestAuthenticate(squares_competition.auth_strategy_id),
556
+ onOfferAmountChange: () => console.log('hey'),
557
+ onSubmitOffer: () => handleSubmitOffer()
558
+ })) : /*#__PURE__*/React.createElement(React.Fragment, null));
559
+ };
560
+ export default SquaresModule;
561
+ //# sourceMappingURL=index.js.map