be-components 1.7.2 → 1.7.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.
Files changed (523) hide show
  1. package/lib/commonjs/AdServer/api/index.js +1 -1
  2. package/lib/commonjs/AdServer/api/index.js.map +1 -1
  3. package/lib/commonjs/AdServer/index.js +1 -1
  4. package/lib/commonjs/AdServer/index.js.map +1 -1
  5. package/lib/commonjs/ApiOverrides/index.js +1 -1
  6. package/lib/commonjs/ApiOverrides/index.js.map +1 -1
  7. package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js +1 -1
  8. package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
  9. package/lib/commonjs/Authenticator/Components/LoginForm.js +1 -1
  10. package/lib/commonjs/Authenticator/Components/LoginForm.js.map +1 -1
  11. package/lib/commonjs/Authenticator/Components/StrategyForm.js +1 -1
  12. package/lib/commonjs/Authenticator/Components/StrategyForm.js.map +1 -1
  13. package/lib/commonjs/Authenticator/api/index.js +1 -1
  14. package/lib/commonjs/Authenticator/api/index.js.map +1 -1
  15. package/lib/commonjs/Authenticator/index.js +1 -1
  16. package/lib/commonjs/Authenticator/index.js.map +1 -1
  17. package/lib/commonjs/BettorSearch/api/index.js +1 -1
  18. package/lib/commonjs/BettorSearch/api/index.js.map +1 -1
  19. package/lib/commonjs/BettorSearch/index.js +1 -1
  20. package/lib/commonjs/BettorSearch/index.js.map +1 -1
  21. package/lib/commonjs/Bracket/api/index.js +1 -1
  22. package/lib/commonjs/Bracket/api/index.js.map +1 -1
  23. package/lib/commonjs/Bracket/components/BracketCompetitionCard.js +1 -1
  24. package/lib/commonjs/Bracket/components/BracketCompetitionCard.js.map +1 -1
  25. package/lib/commonjs/Bracket/components/BracketCompetitionSelector.js +1 -1
  26. package/lib/commonjs/Bracket/components/BracketCompetitionSelector.js.map +1 -1
  27. package/lib/commonjs/Bracket/components/BracketPlay/BracketNavigator.js +1 -1
  28. package/lib/commonjs/Bracket/components/BracketPlay/BracketNavigator.js.map +1 -1
  29. package/lib/commonjs/Bracket/components/BracketPlay/BracketRound.js +1 -1
  30. package/lib/commonjs/Bracket/components/BracketPlay/BracketRound.js.map +1 -1
  31. package/lib/commonjs/Bracket/components/BracketPlay/RoundEvent.js +1 -1
  32. package/lib/commonjs/Bracket/components/BracketPlay/RoundEvent.js.map +1 -1
  33. package/lib/commonjs/Bracket/components/BracketPlay/index.js +1 -1
  34. package/lib/commonjs/Bracket/components/BracketPlay/index.js.map +1 -1
  35. package/lib/commonjs/Bracket/components/BracketSelector.js +1 -1
  36. package/lib/commonjs/Bracket/components/BracketSelector.js.map +1 -1
  37. package/lib/commonjs/Bracket/components/CompetitionLeaderboard.js +1 -1
  38. package/lib/commonjs/Bracket/components/CompetitionLeaderboard.js.map +1 -1
  39. package/lib/commonjs/Bracket/components/JoinCompetitionCard.js +1 -1
  40. package/lib/commonjs/Bracket/components/JoinCompetitionCard.js.map +1 -1
  41. package/lib/commonjs/Bracket/components/PlayerBalanceCard.js +1 -1
  42. package/lib/commonjs/Bracket/components/PlayerBalanceCard.js.map +1 -1
  43. package/lib/commonjs/Bracket/components/PlayerBracketManager.js +1 -1
  44. package/lib/commonjs/Bracket/components/PlayerBracketManager.js.map +1 -1
  45. package/lib/commonjs/Bracket/components/PlayerBrackets.js +1 -1
  46. package/lib/commonjs/Bracket/components/PlayerBrackets.js.map +1 -1
  47. package/lib/commonjs/Bracket/components/RoomMenu.js +1 -1
  48. package/lib/commonjs/Bracket/components/RoomMenu.js.map +1 -1
  49. package/lib/commonjs/Bracket/index.js +1 -1
  50. package/lib/commonjs/Bracket/index.js.map +1 -1
  51. package/lib/commonjs/Checkout/api/index.js +1 -1
  52. package/lib/commonjs/Checkout/api/index.js.map +1 -1
  53. package/lib/commonjs/Checkout/components/AccountSummaryCard.js +1 -1
  54. package/lib/commonjs/Checkout/components/AccountSummaryCard.js.map +1 -1
  55. package/lib/commonjs/Checkout/components/ItemSummaryCard.js +1 -1
  56. package/lib/commonjs/Checkout/components/ItemSummaryCard.js.map +1 -1
  57. package/lib/commonjs/Checkout/components/OrderSummaryCard.js +1 -1
  58. package/lib/commonjs/Checkout/components/OrderSummaryCard.js.map +1 -1
  59. package/lib/commonjs/Checkout/components/PayPalOrderCapture.js +1 -1
  60. package/lib/commonjs/Checkout/components/PayPalOrderCapture.js.map +1 -1
  61. package/lib/commonjs/Checkout/components/ShippingSummaryCard.js +1 -1
  62. package/lib/commonjs/Checkout/components/ShippingSummaryCard.js.map +1 -1
  63. package/lib/commonjs/Checkout/index.js +1 -1
  64. package/lib/commonjs/Checkout/index.js.map +1 -1
  65. package/lib/commonjs/Competition/api/index.js +1 -1
  66. package/lib/commonjs/Competition/api/index.js.map +1 -1
  67. package/lib/commonjs/Competition/components/AthleteMarketCard.js +1 -1
  68. package/lib/commonjs/Competition/components/AthleteMarketCard.js.map +1 -1
  69. package/lib/commonjs/Competition/components/CompetitionCard.js +1 -1
  70. package/lib/commonjs/Competition/components/CompetitionCard.js.map +1 -1
  71. package/lib/commonjs/Competition/components/CompetitionInfoCard.js +3 -3
  72. package/lib/commonjs/Competition/components/CompetitionInfoCard.js.map +1 -1
  73. package/lib/commonjs/Competition/components/CompetitionLeaderboard.js +1 -1
  74. package/lib/commonjs/Competition/components/CompetitionLeaderboard.js.map +1 -1
  75. package/lib/commonjs/Competition/components/CompetitionPlay.js +1 -1
  76. package/lib/commonjs/Competition/components/CompetitionPlay.js.map +1 -1
  77. package/lib/commonjs/Competition/components/CompetitionSeasonCard.js +1 -1
  78. package/lib/commonjs/Competition/components/CompetitionSeasonCard.js.map +1 -1
  79. package/lib/commonjs/Competition/components/CompetitionSelector.js +1 -1
  80. package/lib/commonjs/Competition/components/CompetitionSelector.js.map +1 -1
  81. package/lib/commonjs/Competition/components/CompetitionTypeCard.js +1 -1
  82. package/lib/commonjs/Competition/components/CompetitionTypeCard.js.map +1 -1
  83. package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js +1 -1
  84. package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js.map +1 -1
  85. package/lib/commonjs/Competition/components/LeaderPicks.js +1 -1
  86. package/lib/commonjs/Competition/components/LeaderPicks.js.map +1 -1
  87. package/lib/commonjs/Competition/components/MarketsCard.js +1 -1
  88. package/lib/commonjs/Competition/components/MarketsCard.js.map +1 -1
  89. package/lib/commonjs/Competition/components/MatchMarketCard.js +1 -1
  90. package/lib/commonjs/Competition/components/MatchMarketCard.js.map +1 -1
  91. package/lib/commonjs/Competition/components/NavOutPrompt.js +1 -1
  92. package/lib/commonjs/Competition/components/NavOutPrompt.js.map +1 -1
  93. package/lib/commonjs/Competition/components/SeasonCard.js +1 -1
  94. package/lib/commonjs/Competition/components/SeasonCard.js.map +1 -1
  95. package/lib/commonjs/Competition/components/TeamEventCard.js +1 -1
  96. package/lib/commonjs/Competition/components/TeamEventCard.js.map +1 -1
  97. package/lib/commonjs/Competition/components/WagerPickForm.js +1 -1
  98. package/lib/commonjs/Competition/components/WagerPickForm.js.map +1 -1
  99. package/lib/commonjs/Competition/index.js +1 -1
  100. package/lib/commonjs/Competition/index.js.map +1 -1
  101. package/lib/commonjs/CompetitionManager/api/index.js +1 -1
  102. package/lib/commonjs/CompetitionManager/api/index.js.map +1 -1
  103. package/lib/commonjs/CompetitionManager/components/AdminCompetitionList.js +1 -1
  104. package/lib/commonjs/CompetitionManager/components/AdminCompetitionList.js.map +1 -1
  105. package/lib/commonjs/CompetitionManager/components/AthleteSelector.js +1 -1
  106. package/lib/commonjs/CompetitionManager/components/AthleteSelector.js.map +1 -1
  107. package/lib/commonjs/CompetitionManager/components/CompetitionContestsForm.js +1 -1
  108. package/lib/commonjs/CompetitionManager/components/CompetitionContestsForm.js.map +1 -1
  109. package/lib/commonjs/CompetitionManager/components/CompetitionHeader.js +1 -1
  110. package/lib/commonjs/CompetitionManager/components/CompetitionHeader.js.map +1 -1
  111. package/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.js +72 -4
  112. package/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.js.map +1 -1
  113. package/lib/commonjs/CompetitionManager/components/CompetitionMatchMarketCard.js +1 -1
  114. package/lib/commonjs/CompetitionManager/components/CompetitionMatchMarketCard.js.map +1 -1
  115. package/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.js +38 -2
  116. package/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.js.map +1 -1
  117. package/lib/commonjs/CompetitionManager/components/ContestSelector.js +1 -1
  118. package/lib/commonjs/CompetitionManager/components/ContestSelector.js.map +1 -1
  119. package/lib/commonjs/CompetitionManager/components/ContestSettingsForm.js +1 -1
  120. package/lib/commonjs/CompetitionManager/components/ContestSettingsForm.js.map +1 -1
  121. package/lib/commonjs/CompetitionManager/components/CreateCompetitionForm.js +1 -1
  122. package/lib/commonjs/CompetitionManager/components/CreateCompetitionForm.js.map +1 -1
  123. package/lib/commonjs/CompetitionManager/components/MarketSelector.js +1 -1
  124. package/lib/commonjs/CompetitionManager/components/MarketSelector.js.map +1 -1
  125. package/lib/commonjs/CompetitionManager/components/PlayerSelector.js +1 -1
  126. package/lib/commonjs/CompetitionManager/components/PlayerSelector.js.map +1 -1
  127. package/lib/commonjs/CompetitionManager/index.js +1 -1
  128. package/lib/commonjs/CompetitionManager/index.js.map +1 -1
  129. package/lib/commonjs/CompetitionSeason/api/index.js +1 -1
  130. package/lib/commonjs/CompetitionSeason/api/index.js.map +1 -1
  131. package/lib/commonjs/CompetitionSeason/components/CompetitionsSection.js +1 -1
  132. package/lib/commonjs/CompetitionSeason/components/CompetitionsSection.js.map +1 -1
  133. package/lib/commonjs/CompetitionSeason/components/EnterSeasonPrompt.js +1 -1
  134. package/lib/commonjs/CompetitionSeason/components/EnterSeasonPrompt.js.map +1 -1
  135. package/lib/commonjs/CompetitionSeason/components/SeasonHeader.js +1 -1
  136. package/lib/commonjs/CompetitionSeason/components/SeasonHeader.js.map +1 -1
  137. package/lib/commonjs/CompetitionSeason/components/SeasonLeaderboard.js +1 -1
  138. package/lib/commonjs/CompetitionSeason/components/SeasonLeaderboard.js.map +1 -1
  139. package/lib/commonjs/CompetitionSeason/components/SeasonSettingsSection.js +1 -1
  140. package/lib/commonjs/CompetitionSeason/components/SeasonSettingsSection.js.map +1 -1
  141. package/lib/commonjs/CompetitionSeason/index.js +1 -1
  142. package/lib/commonjs/CompetitionSeason/index.js.map +1 -1
  143. package/lib/commonjs/CompetitionSeasonManager/api/index.js +1 -1
  144. package/lib/commonjs/CompetitionSeasonManager/api/index.js.map +1 -1
  145. package/lib/commonjs/CompetitionSeasonManager/components/CompetitionsForm.js +1 -1
  146. package/lib/commonjs/CompetitionSeasonManager/components/CompetitionsForm.js.map +1 -1
  147. package/lib/commonjs/CompetitionSeasonManager/components/CreateSeasonForm.js +1 -1
  148. package/lib/commonjs/CompetitionSeasonManager/components/CreateSeasonForm.js.map +1 -1
  149. package/lib/commonjs/CompetitionSeasonManager/components/SeasonHeader.js +1 -1
  150. package/lib/commonjs/CompetitionSeasonManager/components/SeasonHeader.js.map +1 -1
  151. package/lib/commonjs/CompetitionSeasonManager/components/SeasonInfoForm.js +1 -1
  152. package/lib/commonjs/CompetitionSeasonManager/components/SeasonInfoForm.js.map +1 -1
  153. package/lib/commonjs/CompetitionSeasonManager/components/SeasonSettingsForm.js +1 -1
  154. package/lib/commonjs/CompetitionSeasonManager/components/SeasonSettingsForm.js.map +1 -1
  155. package/lib/commonjs/CompetitionSeasonManager/index.js +1 -1
  156. package/lib/commonjs/CompetitionSeasonManager/index.js.map +1 -1
  157. package/lib/commonjs/Components/Button.js +1 -1
  158. package/lib/commonjs/Components/Button.js.map +1 -1
  159. package/lib/commonjs/Components/Checkbox.js +1 -1
  160. package/lib/commonjs/Components/Checkbox.js.map +1 -1
  161. package/lib/commonjs/Components/Dropdown.js +1 -1
  162. package/lib/commonjs/Components/Dropdown.js.map +1 -1
  163. package/lib/commonjs/Components/Icons.js +1 -1
  164. package/lib/commonjs/Components/Icons.js.map +1 -1
  165. package/lib/commonjs/Components/Jerseys.js +1 -1
  166. package/lib/commonjs/Components/Jerseys.js.map +1 -1
  167. package/lib/commonjs/Components/LinearDiagnal.js +1 -1
  168. package/lib/commonjs/Components/LinearDiagnal.js.map +1 -1
  169. package/lib/commonjs/Components/SearchBox.js +1 -1
  170. package/lib/commonjs/Components/SearchBox.js.map +1 -1
  171. package/lib/commonjs/Components/Spring.js +1 -1
  172. package/lib/commonjs/Components/Spring.js.map +1 -1
  173. package/lib/commonjs/Components/Switch.js +1 -1
  174. package/lib/commonjs/Components/Switch.js.map +1 -1
  175. package/lib/commonjs/Components/Text.js +1 -1
  176. package/lib/commonjs/Components/Text.js.map +1 -1
  177. package/lib/commonjs/Components/TextInput.js +1 -1
  178. package/lib/commonjs/Components/TextInput.js.map +1 -1
  179. package/lib/commonjs/Components/index.js +1 -1
  180. package/lib/commonjs/Components/index.js.map +1 -1
  181. package/lib/commonjs/Engage/api/index.js +1 -1
  182. package/lib/commonjs/Engage/api/index.js.map +1 -1
  183. package/lib/commonjs/Engage/components/BracketCompetitionCard.js +1 -1
  184. package/lib/commonjs/Engage/components/BracketCompetitionCard.js.map +1 -1
  185. package/lib/commonjs/Engage/components/CompanyCard.js +1 -1
  186. package/lib/commonjs/Engage/components/CompanyCard.js.map +1 -1
  187. package/lib/commonjs/Engage/components/CompetitionCard.js +3 -3
  188. package/lib/commonjs/Engage/components/CompetitionCard.js.map +1 -1
  189. package/lib/commonjs/Engage/components/EngageHeader.js +1 -1
  190. package/lib/commonjs/Engage/components/EngageHeader.js.map +1 -1
  191. package/lib/commonjs/Engage/components/PrivateCodePrompt.js +1 -1
  192. package/lib/commonjs/Engage/components/PrivateCodePrompt.js.map +1 -1
  193. package/lib/commonjs/Engage/components/SeasonCard.js +1 -1
  194. package/lib/commonjs/Engage/components/SeasonCard.js.map +1 -1
  195. package/lib/commonjs/Engage/components/SquaresCompetitionCard.js +1 -1
  196. package/lib/commonjs/Engage/components/SquaresCompetitionCard.js.map +1 -1
  197. package/lib/commonjs/Engage/index.js +1 -1
  198. package/lib/commonjs/Engage/index.js.map +1 -1
  199. package/lib/commonjs/LocationTracker/api/index.js +1 -1
  200. package/lib/commonjs/LocationTracker/api/index.js.map +1 -1
  201. package/lib/commonjs/LocationTracker/index.js +1 -1
  202. package/lib/commonjs/LocationTracker/index.js.map +1 -1
  203. package/lib/commonjs/MarketComponents/api/index.js +1 -1
  204. package/lib/commonjs/MarketComponents/api/index.js.map +1 -1
  205. package/lib/commonjs/MarketComponents/components/AthleteMarket/index.js +1 -1
  206. package/lib/commonjs/MarketComponents/components/AthleteMarket/index.js.map +1 -1
  207. package/lib/commonjs/MarketComponents/components/AthleteTournamentMarket/index.js +1 -1
  208. package/lib/commonjs/MarketComponents/components/AthleteTournamentMarket/index.js.map +1 -1
  209. package/lib/commonjs/MarketComponents/components/EventMarket/index.js +1 -1
  210. package/lib/commonjs/MarketComponents/components/EventMarket/index.js.map +1 -1
  211. package/lib/commonjs/MarketComponents/components/MarketButton/api/index.js +1 -1
  212. package/lib/commonjs/MarketComponents/components/MarketButton/api/index.js.map +1 -1
  213. package/lib/commonjs/MarketComponents/components/MarketButton/index.js +1 -1
  214. package/lib/commonjs/MarketComponents/components/MarketButton/index.js.map +1 -1
  215. package/lib/commonjs/MarketComponents/components/OrderGradeBar.js +1 -1
  216. package/lib/commonjs/MarketComponents/components/OrderGradeBar.js.map +1 -1
  217. package/lib/commonjs/MarketComponents/components/TeamEventMarket/api/index.js +47 -3
  218. package/lib/commonjs/MarketComponents/components/TeamEventMarket/api/index.js.map +1 -1
  219. package/lib/commonjs/MarketComponents/components/TeamEventMarket/index.js +27 -6
  220. package/lib/commonjs/MarketComponents/components/TeamEventMarket/index.js.map +1 -1
  221. package/lib/commonjs/MarketComponents/index.js +1 -1
  222. package/lib/commonjs/MarketComponents/index.js.map +1 -1
  223. package/lib/commonjs/Observer/api/index.js +1 -1
  224. package/lib/commonjs/Observer/api/index.js.map +1 -1
  225. package/lib/commonjs/Observer/index.js +1 -1
  226. package/lib/commonjs/Observer/index.js.map +1 -1
  227. package/lib/commonjs/Poll/api/index.js +1 -1
  228. package/lib/commonjs/Poll/api/index.js.map +1 -1
  229. package/lib/commonjs/Poll/components/CampaignPlay.js +1 -1
  230. package/lib/commonjs/Poll/components/CampaignPlay.js.map +1 -1
  231. package/lib/commonjs/Poll/components/CampaignProgressBar.js +1 -1
  232. package/lib/commonjs/Poll/components/CampaignProgressBar.js.map +1 -1
  233. package/lib/commonjs/Poll/components/CampaignResult.js +1 -1
  234. package/lib/commonjs/Poll/components/CampaignResult.js.map +1 -1
  235. package/lib/commonjs/Poll/components/CampaignSelector.js +1 -1
  236. package/lib/commonjs/Poll/components/CampaignSelector.js.map +1 -1
  237. package/lib/commonjs/Poll/components/PollCampaignCard.js +1 -1
  238. package/lib/commonjs/Poll/components/PollCampaignCard.js.map +1 -1
  239. package/lib/commonjs/Poll/components/PollCard.js +1 -1
  240. package/lib/commonjs/Poll/components/PollCard.js.map +1 -1
  241. package/lib/commonjs/Poll/components/PollOptionCard.js +1 -1
  242. package/lib/commonjs/Poll/components/PollOptionCard.js.map +1 -1
  243. package/lib/commonjs/Poll/components/PollSelectCard.js +1 -1
  244. package/lib/commonjs/Poll/components/PollSelectCard.js.map +1 -1
  245. package/lib/commonjs/Poll/components/ResponseTimer.js +1 -1
  246. package/lib/commonjs/Poll/components/ResponseTimer.js.map +1 -1
  247. package/lib/commonjs/Poll/components/WidgetHeader.js +1 -1
  248. package/lib/commonjs/Poll/components/WidgetHeader.js.map +1 -1
  249. package/lib/commonjs/Poll/flashmarket/ResultCard.js +1 -1
  250. package/lib/commonjs/Poll/flashmarket/ResultCard.js.map +1 -1
  251. package/lib/commonjs/Poll/flashmarket/index.js +1 -1
  252. package/lib/commonjs/Poll/flashmarket/index.js.map +1 -1
  253. package/lib/commonjs/Poll/index.js +1 -1
  254. package/lib/commonjs/Poll/index.js.map +1 -1
  255. package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js +1 -1
  256. package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js.map +1 -1
  257. package/lib/commonjs/ProfileManager/Components/BasicStatus.js +1 -1
  258. package/lib/commonjs/ProfileManager/Components/BasicStatus.js.map +1 -1
  259. package/lib/commonjs/ProfileManager/Components/CodeRedeem.js +1 -1
  260. package/lib/commonjs/ProfileManager/Components/CodeRedeem.js.map +1 -1
  261. package/lib/commonjs/ProfileManager/Components/DOBManager.js +1 -1
  262. package/lib/commonjs/ProfileManager/Components/DOBManager.js.map +1 -1
  263. package/lib/commonjs/ProfileManager/Components/EmailManager.js +1 -1
  264. package/lib/commonjs/ProfileManager/Components/EmailManager.js.map +1 -1
  265. package/lib/commonjs/ProfileManager/Components/PasswordManager.js +1 -1
  266. package/lib/commonjs/ProfileManager/Components/PasswordManager.js.map +1 -1
  267. package/lib/commonjs/ProfileManager/Components/PhoneManager.js +1 -1
  268. package/lib/commonjs/ProfileManager/Components/PhoneManager.js.map +1 -1
  269. package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js +1 -1
  270. package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js.map +1 -1
  271. package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js +1 -1
  272. package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js.map +1 -1
  273. package/lib/commonjs/ProfileManager/Components/ProfileWizard.js +1 -1
  274. package/lib/commonjs/ProfileManager/Components/ProfileWizard.js.map +1 -1
  275. package/lib/commonjs/ProfileManager/Components/SettingsManager.js +1 -1
  276. package/lib/commonjs/ProfileManager/Components/SettingsManager.js.map +1 -1
  277. package/lib/commonjs/ProfileManager/Components/VouchCard.js +1 -1
  278. package/lib/commonjs/ProfileManager/Components/VouchCard.js.map +1 -1
  279. package/lib/commonjs/ProfileManager/api/index.js +1 -1
  280. package/lib/commonjs/ProfileManager/api/index.js.map +1 -1
  281. package/lib/commonjs/ProfileManager/index.js +1 -1
  282. package/lib/commonjs/ProfileManager/index.js.map +1 -1
  283. package/lib/commonjs/PromotedOrder/api/index.js +1 -1
  284. package/lib/commonjs/PromotedOrder/api/index.js.map +1 -1
  285. package/lib/commonjs/PromotedOrder/index.js +1 -1
  286. package/lib/commonjs/PromotedOrder/index.js.map +1 -1
  287. package/lib/commonjs/SocialComponents/PlayerCard.js +1 -1
  288. package/lib/commonjs/SocialComponents/PlayerCard.js.map +1 -1
  289. package/lib/commonjs/SocialComponents/PlayerFollowButton.js +1 -1
  290. package/lib/commonjs/SocialComponents/PlayerFollowButton.js.map +1 -1
  291. package/lib/commonjs/SocialComponents/PlayerList.js +1 -1
  292. package/lib/commonjs/SocialComponents/PlayerList.js.map +1 -1
  293. package/lib/commonjs/SocialComponents/api/index.js +1 -1
  294. package/lib/commonjs/SocialComponents/api/index.js.map +1 -1
  295. package/lib/commonjs/SocialComponents/index.js +1 -1
  296. package/lib/commonjs/SocialComponents/index.js.map +1 -1
  297. package/lib/commonjs/Socket/index.js +1 -1
  298. package/lib/commonjs/Socket/index.js.map +1 -1
  299. package/lib/commonjs/Squares/api/index.js +1 -1
  300. package/lib/commonjs/Squares/api/index.js.map +1 -1
  301. package/lib/commonjs/Squares/components/BidForm.js +1 -1
  302. package/lib/commonjs/Squares/components/BidForm.js.map +1 -1
  303. package/lib/commonjs/Squares/components/BidToggle.js +1 -1
  304. package/lib/commonjs/Squares/components/BidToggle.js.map +1 -1
  305. package/lib/commonjs/Squares/components/BoardStats.js +1 -1
  306. package/lib/commonjs/Squares/components/BoardStats.js.map +1 -1
  307. package/lib/commonjs/Squares/components/Countdown.js +1 -1
  308. package/lib/commonjs/Squares/components/Countdown.js.map +1 -1
  309. package/lib/commonjs/Squares/components/EventCard.js +1 -1
  310. package/lib/commonjs/Squares/components/EventCard.js.map +1 -1
  311. package/lib/commonjs/Squares/components/MySquaresCard.js +1 -1
  312. package/lib/commonjs/Squares/components/MySquaresCard.js.map +1 -1
  313. package/lib/commonjs/Squares/components/MyStatsCard.js +1 -1
  314. package/lib/commonjs/Squares/components/MyStatsCard.js.map +1 -1
  315. package/lib/commonjs/Squares/components/OfferForm.js +1 -1
  316. package/lib/commonjs/Squares/components/OfferForm.js.map +1 -1
  317. package/lib/commonjs/Squares/components/PrizeCard.js +1 -1
  318. package/lib/commonjs/Squares/components/PrizeCard.js.map +1 -1
  319. package/lib/commonjs/Squares/components/ResultsCard.js +1 -1
  320. package/lib/commonjs/Squares/components/ResultsCard.js.map +1 -1
  321. package/lib/commonjs/Squares/components/SquareCard.js +1 -1
  322. package/lib/commonjs/Squares/components/SquareCard.js.map +1 -1
  323. package/lib/commonjs/Squares/components/SquareOfferCard.js +1 -1
  324. package/lib/commonjs/Squares/components/SquareOfferCard.js.map +1 -1
  325. package/lib/commonjs/Squares/components/SquareOffersCard.js +1 -1
  326. package/lib/commonjs/Squares/components/SquareOffersCard.js.map +1 -1
  327. package/lib/commonjs/Squares/components/SquareOwners.js +1 -1
  328. package/lib/commonjs/Squares/components/SquareOwners.js.map +1 -1
  329. package/lib/commonjs/Squares/components/SquaresBoard.js +1 -1
  330. package/lib/commonjs/Squares/components/SquaresBoard.js.map +1 -1
  331. package/lib/commonjs/Squares/components/SquaresDetails.js +1 -1
  332. package/lib/commonjs/Squares/components/SquaresDetails.js.map +1 -1
  333. package/lib/commonjs/Squares/index.js +1 -1
  334. package/lib/commonjs/Squares/index.js.map +1 -1
  335. package/lib/commonjs/Wallet/api/index.js +1 -1
  336. package/lib/commonjs/Wallet/api/index.js.map +1 -1
  337. package/lib/commonjs/Wallet/components/ACHAddCard.js +1 -1
  338. package/lib/commonjs/Wallet/components/ACHAddCard.js.map +1 -1
  339. package/lib/commonjs/Wallet/components/AccountCard.js +1 -1
  340. package/lib/commonjs/Wallet/components/AccountCard.js.map +1 -1
  341. package/lib/commonjs/Wallet/components/AccountLimitManager.js +1 -1
  342. package/lib/commonjs/Wallet/components/AccountLimitManager.js.map +1 -1
  343. package/lib/commonjs/Wallet/components/AccountManager.js +1 -1
  344. package/lib/commonjs/Wallet/components/AccountManager.js.map +1 -1
  345. package/lib/commonjs/Wallet/components/AccountSnoozeManager.js +1 -1
  346. package/lib/commonjs/Wallet/components/AccountSnoozeManager.js.map +1 -1
  347. package/lib/commonjs/Wallet/components/AddressCard.js +1 -1
  348. package/lib/commonjs/Wallet/components/AddressCard.js.map +1 -1
  349. package/lib/commonjs/Wallet/components/AddressManager.js +1 -1
  350. package/lib/commonjs/Wallet/components/AddressManager.js.map +1 -1
  351. package/lib/commonjs/Wallet/components/DepositCard.js +1 -1
  352. package/lib/commonjs/Wallet/components/DepositCard.js.map +1 -1
  353. package/lib/commonjs/Wallet/components/FundAccountCard.js +1 -1
  354. package/lib/commonjs/Wallet/components/FundAccountCard.js.map +1 -1
  355. package/lib/commonjs/Wallet/components/ItemOrderCard.js +1 -1
  356. package/lib/commonjs/Wallet/components/ItemOrderCard.js.map +1 -1
  357. package/lib/commonjs/Wallet/components/ItemOrderDetailCard.js +1 -1
  358. package/lib/commonjs/Wallet/components/ItemOrderDetailCard.js.map +1 -1
  359. package/lib/commonjs/Wallet/components/LinkAccountManager.js +1 -1
  360. package/lib/commonjs/Wallet/components/LinkAccountManager.js.map +1 -1
  361. package/lib/commonjs/Wallet/components/ManageAccountCard.js +1 -1
  362. package/lib/commonjs/Wallet/components/ManageAccountCard.js.map +1 -1
  363. package/lib/commonjs/Wallet/components/ManualACHAdd.js +1 -1
  364. package/lib/commonjs/Wallet/components/ManualACHAdd.js.map +1 -1
  365. package/lib/commonjs/Wallet/components/ManualCardAdd.js +1 -1
  366. package/lib/commonjs/Wallet/components/ManualCardAdd.js.map +1 -1
  367. package/lib/commonjs/Wallet/components/MyBalance.js +1 -1
  368. package/lib/commonjs/Wallet/components/MyBalance.js.map +1 -1
  369. package/lib/commonjs/Wallet/components/OrderManager.js +1 -1
  370. package/lib/commonjs/Wallet/components/OrderManager.js.map +1 -1
  371. package/lib/commonjs/Wallet/components/RemoveAccount.js +1 -1
  372. package/lib/commonjs/Wallet/components/RemoveAccount.js.map +1 -1
  373. package/lib/commonjs/Wallet/components/VerifyACHAccount.js +1 -1
  374. package/lib/commonjs/Wallet/components/VerifyACHAccount.js.map +1 -1
  375. package/lib/commonjs/Wallet/components/WalletActionSelector.js +1 -1
  376. package/lib/commonjs/Wallet/components/WalletActionSelector.js.map +1 -1
  377. package/lib/commonjs/Wallet/components/WalletSettings.js +1 -1
  378. package/lib/commonjs/Wallet/components/WalletSettings.js.map +1 -1
  379. package/lib/commonjs/Wallet/components/WalletSetup.js +1 -1
  380. package/lib/commonjs/Wallet/components/WalletSetup.js.map +1 -1
  381. package/lib/commonjs/Wallet/components/WithdrawCard.js +1 -1
  382. package/lib/commonjs/Wallet/components/WithdrawCard.js.map +1 -1
  383. package/lib/commonjs/Wallet/index.js +1 -1
  384. package/lib/commonjs/Wallet/index.js.map +1 -1
  385. package/lib/commonjs/constants/colors.js.map +1 -1
  386. package/lib/commonjs/constants/styles.js +1 -1
  387. package/lib/commonjs/constants/styles.js.map +1 -1
  388. package/lib/commonjs/index.js +1 -1
  389. package/lib/commonjs/index.js.map +1 -1
  390. package/lib/module/AdServer/api/index.js.map +1 -1
  391. package/lib/module/ApiOverrides/index.js.map +1 -1
  392. package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
  393. package/lib/module/Authenticator/Components/LoginForm.js.map +1 -1
  394. package/lib/module/Authenticator/Components/StrategyForm.js.map +1 -1
  395. package/lib/module/Authenticator/api/index.js.map +1 -1
  396. package/lib/module/BettorSearch/api/index.js.map +1 -1
  397. package/lib/module/Bracket/api/index.js.map +1 -1
  398. package/lib/module/Bracket/components/BracketCompetitionSelector.js.map +1 -1
  399. package/lib/module/Bracket/components/BracketPlay/index.js.map +1 -1
  400. package/lib/module/Bracket/components/BracketSelector.js.map +1 -1
  401. package/lib/module/Bracket/components/PlayerBracketManager.js.map +1 -1
  402. package/lib/module/Bracket/components/PlayerBrackets.js.map +1 -1
  403. package/lib/module/Checkout/api/index.js.map +1 -1
  404. package/lib/module/Competition/api/index.js.map +1 -1
  405. package/lib/module/Competition/components/AthleteMarketCard.js.map +1 -1
  406. package/lib/module/Competition/components/CompetitionCard.js.map +1 -1
  407. package/lib/module/Competition/components/CompetitionInfoCard.js +2 -2
  408. package/lib/module/Competition/components/CompetitionInfoCard.js.map +1 -1
  409. package/lib/module/Competition/components/CompetitionPlay.js.map +1 -1
  410. package/lib/module/Competition/components/EnterCompetitionPrompt.js.map +1 -1
  411. package/lib/module/Competition/components/MatchMarketCard.js.map +1 -1
  412. package/lib/module/Competition/components/TeamEventCard.js.map +1 -1
  413. package/lib/module/Competition/index.js.map +1 -1
  414. package/lib/module/CompetitionManager/api/index.js.map +1 -1
  415. package/lib/module/CompetitionManager/components/AthleteSelector.js.map +1 -1
  416. package/lib/module/CompetitionManager/components/CompetitionContestsForm.js.map +1 -1
  417. package/lib/module/CompetitionManager/components/CompetitionHeader.js.map +1 -1
  418. package/lib/module/CompetitionManager/components/CompetitionInfoForm.js +71 -3
  419. package/lib/module/CompetitionManager/components/CompetitionInfoForm.js.map +1 -1
  420. package/lib/module/CompetitionManager/components/CompetitionMatchMarketCard.js.map +1 -1
  421. package/lib/module/CompetitionManager/components/CompetitionSettingsForm.js +37 -1
  422. package/lib/module/CompetitionManager/components/CompetitionSettingsForm.js.map +1 -1
  423. package/lib/module/CompetitionManager/components/ContestSelector.js.map +1 -1
  424. package/lib/module/CompetitionManager/components/MarketSelector.js.map +1 -1
  425. package/lib/module/CompetitionManager/index.js.map +1 -1
  426. package/lib/module/CompetitionSeason/api/index.js.map +1 -1
  427. package/lib/module/CompetitionSeason/components/EnterSeasonPrompt.js.map +1 -1
  428. package/lib/module/CompetitionSeason/components/SeasonHeader.js.map +1 -1
  429. package/lib/module/CompetitionSeasonManager/api/index.js.map +1 -1
  430. package/lib/module/CompetitionSeasonManager/components/SeasonHeader.js.map +1 -1
  431. package/lib/module/CompetitionSeasonManager/components/SeasonInfoForm.js.map +1 -1
  432. package/lib/module/Components/Icons.js.map +1 -1
  433. package/lib/module/Components/Jerseys.js.map +1 -1
  434. package/lib/module/Engage/api/index.js.map +1 -1
  435. package/lib/module/Engage/components/CompanyCard.js.map +1 -1
  436. package/lib/module/Engage/components/CompetitionCard.js +2 -2
  437. package/lib/module/Engage/components/CompetitionCard.js.map +1 -1
  438. package/lib/module/LocationTracker/api/index.js.map +1 -1
  439. package/lib/module/LocationTracker/index.js.map +1 -1
  440. package/lib/module/MarketComponents/api/index.js.map +1 -1
  441. package/lib/module/MarketComponents/components/AthleteMarket/index.js.map +1 -1
  442. package/lib/module/MarketComponents/components/AthleteTournamentMarket/index.js.map +1 -1
  443. package/lib/module/MarketComponents/components/TeamEventMarket/api/index.js +46 -2
  444. package/lib/module/MarketComponents/components/TeamEventMarket/api/index.js.map +1 -1
  445. package/lib/module/MarketComponents/components/TeamEventMarket/index.js +26 -5
  446. package/lib/module/MarketComponents/components/TeamEventMarket/index.js.map +1 -1
  447. package/lib/module/Observer/api/index.js.map +1 -1
  448. package/lib/module/Poll/api/index.js.map +1 -1
  449. package/lib/module/Poll/components/CampaignSelector.js.map +1 -1
  450. package/lib/module/Poll/components/PollCard.js.map +1 -1
  451. package/lib/module/Poll/components/PollSelectCard.js.map +1 -1
  452. package/lib/module/Poll/flashmarket/ResultCard.js.map +1 -1
  453. package/lib/module/Poll/flashmarket/index.js.map +1 -1
  454. package/lib/module/ProfileManager/Components/BasicInfoManager.js.map +1 -1
  455. package/lib/module/ProfileManager/Components/DOBManager.js.map +1 -1
  456. package/lib/module/ProfileManager/Components/ProfilePicManager.js.map +1 -1
  457. package/lib/module/ProfileManager/Components/ProfileWelcome.js.map +1 -1
  458. package/lib/module/ProfileManager/Components/ProfileWizard.js.map +1 -1
  459. package/lib/module/ProfileManager/Components/VouchCard.js.map +1 -1
  460. package/lib/module/ProfileManager/api/index.js.map +1 -1
  461. package/lib/module/PromotedOrder/api/index.js.map +1 -1
  462. package/lib/module/SocialComponents/api/index.js.map +1 -1
  463. package/lib/module/Squares/api/index.js.map +1 -1
  464. package/lib/module/Squares/components/BidForm.js.map +1 -1
  465. package/lib/module/Squares/components/MyStatsCard.js.map +1 -1
  466. package/lib/module/Squares/components/OfferForm.js.map +1 -1
  467. package/lib/module/Squares/components/SquareCard.js.map +1 -1
  468. package/lib/module/Squares/components/SquaresBoard.js.map +1 -1
  469. package/lib/module/Wallet/api/index.js.map +1 -1
  470. package/lib/module/Wallet/components/AccountCard.js.map +1 -1
  471. package/lib/module/Wallet/components/AccountLimitManager.js.map +1 -1
  472. package/lib/module/Wallet/components/AccountSnoozeManager.js.map +1 -1
  473. package/lib/module/Wallet/components/ManualACHAdd.js.map +1 -1
  474. package/lib/module/Wallet/components/VerifyACHAccount.js.map +1 -1
  475. package/lib/module/constants/colors.js.map +1 -1
  476. package/lib/typescript/src/AdServer/api/index.d.ts.map +1 -1
  477. package/lib/typescript/src/ApiOverrides/index.d.ts +4 -4
  478. package/lib/typescript/src/ApiOverrides/index.d.ts.map +1 -1
  479. package/lib/typescript/src/Authenticator/api/index.d.ts +6 -6
  480. package/lib/typescript/src/Authenticator/api/index.d.ts.map +1 -1
  481. package/lib/typescript/src/BettorSearch/api/index.d.ts.map +1 -1
  482. package/lib/typescript/src/Bracket/api/index.d.ts +1 -1
  483. package/lib/typescript/src/Bracket/api/index.d.ts.map +1 -1
  484. package/lib/typescript/src/Checkout/api/index.d.ts.map +1 -1
  485. package/lib/typescript/src/Competition/api/index.d.ts +2 -2
  486. package/lib/typescript/src/Competition/api/index.d.ts.map +1 -1
  487. package/lib/typescript/src/CompetitionManager/api/index.d.ts +3 -3
  488. package/lib/typescript/src/CompetitionManager/api/index.d.ts.map +1 -1
  489. package/lib/typescript/src/CompetitionManager/components/CompetitionInfoForm.d.ts.map +1 -1
  490. package/lib/typescript/src/CompetitionManager/components/CompetitionSettingsForm.d.ts.map +1 -1
  491. package/lib/typescript/src/CompetitionSeason/api/index.d.ts.map +1 -1
  492. package/lib/typescript/src/CompetitionSeasonManager/api/index.d.ts.map +1 -1
  493. package/lib/typescript/src/Components/Icons.d.ts.map +1 -1
  494. package/lib/typescript/src/Engage/api/index.d.ts.map +1 -1
  495. package/lib/typescript/src/LocationTracker/LocationStatus.d.ts +6 -6
  496. package/lib/typescript/src/LocationTracker/LocationStatus.d.ts.map +1 -1
  497. package/lib/typescript/src/LocationTracker/api/index.d.ts +1 -1
  498. package/lib/typescript/src/LocationTracker/api/index.d.ts.map +1 -1
  499. package/lib/typescript/src/MarketComponents/api/index.d.ts.map +1 -1
  500. package/lib/typescript/src/MarketComponents/components/MarketButton/api/index.d.ts +2 -2
  501. package/lib/typescript/src/MarketComponents/components/TeamEventMarket/api/index.d.ts +5 -2
  502. package/lib/typescript/src/MarketComponents/components/TeamEventMarket/api/index.d.ts.map +1 -1
  503. package/lib/typescript/src/MarketComponents/components/TeamEventMarket/index.d.ts +2 -1
  504. package/lib/typescript/src/MarketComponents/components/TeamEventMarket/index.d.ts.map +1 -1
  505. package/lib/typescript/src/MarketComponents/index.d.ts +31 -31
  506. package/lib/typescript/src/MarketComponents/index.d.ts.map +1 -1
  507. package/lib/typescript/src/Observer/api/index.d.ts.map +1 -1
  508. package/lib/typescript/src/Poll/api/index.d.ts.map +1 -1
  509. package/lib/typescript/src/ProfileManager/api/index.d.ts +1 -1
  510. package/lib/typescript/src/ProfileManager/api/index.d.ts.map +1 -1
  511. package/lib/typescript/src/PromotedOrder/api/index.d.ts.map +1 -1
  512. package/lib/typescript/src/SocialComponents/api/index.d.ts.map +1 -1
  513. package/lib/typescript/src/Squares/api/index.d.ts.map +1 -1
  514. package/lib/typescript/src/Wallet/api/index.d.ts +1 -1
  515. package/lib/typescript/src/Wallet/api/index.d.ts.map +1 -1
  516. package/package.json +1 -1
  517. package/src/Competition/components/CompetitionInfoCard.tsx +1 -1
  518. package/src/CompetitionManager/components/CompetitionInfoForm.tsx +31 -3
  519. package/src/CompetitionManager/components/CompetitionSettingsForm.tsx +16 -0
  520. package/src/Engage/components/CompetitionCard.tsx +1 -1
  521. package/src/MarketComponents/components/TeamEventMarket/api/index.ts +37 -2
  522. package/src/MarketComponents/components/TeamEventMarket/index.tsx +19 -3
  523. package/src/types.d.ts +3 -1
@@ -6,7 +6,7 @@ import type { CompetitionProps, MyPlayerProps } from '../../types';
6
6
  import { Button, Icons, Switch, Text, TextInput } from '../../Components';
7
7
  import Colors from '../../constants/colors';
8
8
  import ImageUploader from '../../Components/ImageUploader';
9
- //import DropDown from '../../Components/Dropdown';
9
+ import DropDown from '../../Components/Dropdown';
10
10
 
11
11
  type CompetitionInfoFormProps = {
12
12
  competition:CompetitionProps,
@@ -98,7 +98,36 @@ const CompetitionInfoForm = ({ is_valid, player, competition, width, onCompetiti
98
98
  placeholderTextColor={Colors.brand.slate}
99
99
  />
100
100
  </View>
101
-
101
+ {player?.role == 'admin' ?
102
+ <View nativeID="competition_description" style={{ ...view_styles.body_row, flexWrap:'wrap', maxWidth:width, marginTop:10, borderBottomWidth:1, borderColor:Colors.shades.shade600 }}>
103
+ <View style={{ flex:1, margin:5, minWidth:200 }}>
104
+ <Text theme='header_2'>Linked Event</Text>
105
+ <Text style={{ marginTop:3 }} theme='body'>Is this competitions a same game pick-em or wager? If so, add the event here.</Text>
106
+ </View>
107
+ <TextInput
108
+ style={{ ...view_styles.input, flexGrow:1, margin:5 }}
109
+ onChangeText={(text) => setDraftCompetition({ ...draft_competition, linked_event_id:text })}
110
+ value={draft_competition.linked_event_id}
111
+ placeholder="Enter the event id"
112
+ placeholderTextColor={Colors.brand.slate}
113
+ />
114
+ </View>
115
+ :<></>}
116
+ {draft_competition.linked_event_id ?
117
+ <View nativeID="competition_description" style={{ ...view_styles.body_row, flexWrap:'wrap', maxWidth:width, marginTop:10, borderBottomWidth:1, borderColor:Colors.shades.shade600 }}>
118
+ <View style={{ flex:1, margin:5, minWidth:200 }}>
119
+ <Text theme='header_2'>Linked Event</Text>
120
+ <Text style={{ marginTop:3 }} theme='body'>Is this competitions a same game pick-em or wager? If so, add the event here.</Text>
121
+ </View>
122
+ <DropDown
123
+ dropdown_options={[
124
+ { value: 'linked_event_type', eligible_options: ['team','tournament','match'] }
125
+ ]}
126
+ selected_value={draft_competition.linked_event_type ?? ''}
127
+ onOptionSelect={(value) => onCompetitionUpdate({ ...draft_competition, linked_event_type:value })}
128
+ />
129
+ </View>
130
+ :<></>}
102
131
  <View nativeID="invite_only" style={{ ...view_styles.body_row, flexWrap:'wrap', marginTop:10, borderBottomWidth:1, borderColor:Colors.shades.shade600 }}>
103
132
  <View style={{ flex:1, margin:5, marginRight:15 }}>
104
133
  <Text theme='header_2'>Make Private</Text>
@@ -118,7 +147,6 @@ const CompetitionInfoForm = ({ is_valid, player, competition, width, onCompetiti
118
147
  <Text style={{ marginTop:3 }} theme='body'>This will allow for other users to copy this competition and create it for themselves.</Text>
119
148
  </View>
120
149
  <Switch
121
-
122
150
  value={competition.template ? true : false}
123
151
  switch_type="on_off"
124
152
  onChange={(value) => onCompetitionUpdate({ ...draft_competition, template: value })}
@@ -178,6 +178,22 @@ const CompetitionSettingsForm = ({ is_valid, player, width, competition, competi
178
178
  placeholderTextColor={Colors.brand.slate}
179
179
  />
180
180
  </View>
181
+ {player?.role == 'admin' ?
182
+ <View nativeID="buy_in" style={{ ...view_styles.body_row, flexWrap:'wrap', maxWidth:width}}>
183
+ <View style={{ flex:1, margin:5, minWidth:200 }}>
184
+ <Text theme="header_2">Guaranteed Payout</Text>
185
+ <Text style={{ marginTop:3 }} theme="body">ADMIN ONLY - How much is guaranteed to be paid out?</Text>
186
+ </View>
187
+ <TextInput
188
+ style={{ ...view_styles.input, textAlign:'center', margin:5, width:100, backgroundColor:Colors.shades.white }}
189
+ onChangeText={(text) => setDraftCompetition({ ...draft_competition, guaranteed_payout: text })}
190
+ placeholder="0"
191
+ editable={competition.competition_season_id ? false : true}
192
+ value={draft_competition.guaranteed_payout as string}
193
+ placeholderTextColor={Colors.brand.slate}
194
+ />
195
+ </View>
196
+ :<></>}
181
197
 
182
198
  <View nativeID="Max Tickets" style={{ flexDirection:'row', flexWrap:'wrap', padding:10, borderBottomWidth:1, borderBottomColor:Colors.shades.white }}>
183
199
  <View style={{ flex:1, marginRight:5 }}>
@@ -19,7 +19,7 @@ const CompetitionCard = ({ competition, competition_type, company, admin, onComp
19
19
  const cl = competition.market_type == 'FOR_MONEY' ? '$' : 'E'
20
20
  let current_payout = competition.ticket_revenue
21
21
  if(competition.promo_payout){ current_payout += competition.promo_payout }
22
- if(competition.guaranteed_payout && competition.guaranteed_payout > current_payout){ current_payout = competition.guaranteed_payout }
22
+ if(competition.guaranteed_payout && parseFloat(competition.guaranteed_payout as string) > current_payout){ current_payout = parseFloat(competition.guaranteed_payout as string) }
23
23
 
24
24
  const tickets_available = parseFloat(competition.available_tickets as string) - competition.tickets_sold
25
25
  const is_live = moment().isAfter(moment(competition.scheduled_datetime)) ? true : false
@@ -17,9 +17,44 @@ const TeamEventMarketHelpers = {
17
17
  if(['scheduled','created'].includes(event.status)){ return moment(event.scheduled_datetime).format('MM/DD @ hh:mm a') }
18
18
  return event.time_detail
19
19
  },
20
- sortNonPrimaryMarkets: (markets:MarketProps[], event_order_stats:EventOrderStatProps[]) => {
20
+ sortNonPrimaryMarkets: (markets:MarketProps[], event_order_stats:EventOrderStatProps[], latest_trades:TradeProps[]) => {
21
+ let available = false
21
22
  let sorted_stats = event_order_stats.filter(s => s.market_type == 'FOR_MONEY' && markets.map(m => m.market_id.toString()).includes(s.market_id.toString()));
22
- return sorted_stats.sort((a,b) => parseInt(b.open_order_count as string) - parseInt(a.open_order_count as string))
23
+ //Now need to combine event level markets
24
+ let event_level_markets:EventOrderStatProps[] = []
25
+ let non_event_level_markets:EventOrderStatProps[] = []
26
+ sorted_stats.map(ss => {
27
+ let market = markets.find(m => m.market_id == ss.market_id);
28
+ if(!market){ return }
29
+ if(!available){
30
+ let trade = latest_trades.find(t => t.market_id == ss.market_id)
31
+ if(trade){ available = true }
32
+ }
33
+ if(market.level == 'event'){ return event_level_markets.push(ss) }
34
+ return non_event_level_markets.push(ss)
35
+ })
36
+ let unique_ev_markets = [ ...new Set(event_level_markets.map(m => m.market_id)) ]
37
+ let combined_ev_marktes:EventOrderStatProps[] = []
38
+ unique_ev_markets.map(ss => {
39
+ let find_one = event_level_markets.find(m => m.market_id == ss)
40
+ if(!find_one){ return }
41
+ let markets_need_combined = event_level_markets.filter(m => m.market_id == ss)
42
+ let ss_market:EventOrderStatProps = {
43
+ market_id: ss,
44
+ open_order_count: markets_need_combined.reduce((a,b) => a + parseInt(b.open_order_count as string), 0),
45
+ open_order_amount: markets_need_combined.reduce((a,b) => a + b.open_order_amount, 0),
46
+ event_id: find_one.event_id,
47
+ event_type: find_one.event_type,
48
+ side_id: find_one.side_id,
49
+ side_type: find_one.side_type,
50
+ market_type: find_one.market_type
51
+ }
52
+ combined_ev_marktes.push(ss_market)
53
+ })
54
+ sorted_stats = non_event_level_markets.concat(combined_ev_marktes)
55
+
56
+
57
+ return { non_primary_markets: sorted_stats.sort((a,b) => parseInt(b.open_order_count as string) - parseInt(a.open_order_count as string)), available }
23
58
  },
24
59
  sortAthleteMarkets: (market:MarketProps, event_order_stats:EventOrderStatProps[], latest_trades:TradeProps[], athletes:AthleteProps[]):AthleteProps[] => {
25
60
  if(!market){ return [] }
@@ -17,6 +17,7 @@ type TeamEventMarketProps = {
17
17
  markets:MarketProps[],
18
18
  init_expanded?:boolean,
19
19
  competition?:CompetitionProps,
20
+ show_id?:string,
20
21
  squares_competition?:SquaresCompetitionProps,
21
22
  latest_trades:TradeProps[],
22
23
  best_available_orders:BestAvailableOrderProps[],
@@ -33,7 +34,7 @@ type TeamEventMarketProps = {
33
34
  onActivate?:(event_id:string, event_type:string) => void
34
35
  activate_loading?:boolean
35
36
  }
36
- const TeamEventMarket = ({ event, init_expanded, activate_loading, competition, squares_competition, show_grades, markets, latest_trades, best_available_orders, event_order_stats, default_price_view, onSquaresSelect, onCompetitionSelect, onExpand, onOrder, onView, onViewAdditionalMarkets, onTradeLongPress, onActivate }:TeamEventMarketProps) => {
37
+ const TeamEventMarket = ({ event, init_expanded, show_id, activate_loading, competition, squares_competition, show_grades, markets, latest_trades, best_available_orders, event_order_stats, default_price_view, onSquaresSelect, onCompetitionSelect, onExpand, onOrder, onView, onViewAdditionalMarkets, onTradeLongPress, onActivate }:TeamEventMarketProps) => {
37
38
  const [ expanded_data, setExpandedData ] = useState<{
38
39
  expanded:boolean,
39
40
  loaded:boolean,
@@ -54,8 +55,11 @@ const TeamEventMarket = ({ event, init_expanded, activate_loading, competition,
54
55
  },[])
55
56
 
56
57
  const expandedEvent = async() => {
58
+ if(!event){ return }
57
59
  if(onExpand){ onExpand(expanded ? false : true) }
58
60
  if(expanded){ return setExpandedData({ ...expanded_data, expanded: false }) }
61
+ //Check if we have any non-primary markets sorted
62
+
59
63
  if(loaded){ return setExpandedData({ ...expanded_data, expanded: true }) }
60
64
  setExpandedData({ ...expanded_data, expanded:true, loading:true });
61
65
 
@@ -182,7 +186,7 @@ const TeamEventMarket = ({ event, init_expanded, activate_loading, competition,
182
186
 
183
187
  const { liquidity, open_order_count } = MarketComponentHelpers.getLiqudity(event_order_stats);
184
188
 
185
- const non_primary_markets = TeamEventMarketHelpers.sortNonPrimaryMarkets(TeamEventMarketHelpers.getNonPrimaryMarkets(event, markets), event_order_stats)
189
+ const { non_primary_markets, available } = TeamEventMarketHelpers.sortNonPrimaryMarkets(TeamEventMarketHelpers.getNonPrimaryMarkets(event, markets), event_order_stats, latest_trades)
186
190
 
187
191
  return (
188
192
  <View style={{ ...view_styles.section, borderWidth:1, borderColor:Colors.shades.shade600 }}>
@@ -198,7 +202,10 @@ const TeamEventMarket = ({ event, init_expanded, activate_loading, competition,
198
202
  onPress={() => onActivate(event.event_id, 'team')}
199
203
  />
200
204
  :<></>}
201
- <View style={{ flex:1 }}>
205
+ <View style={{ flex:1, flexDirection:'row', alignItems:'center' }}>
206
+ {!show_id ?
207
+ <Text size={12} color={Colors.brand.midnight} weight='semibold' selectable>{event.event_id} </Text>
208
+ :<></>}
202
209
  {event.event_sub_title ?
203
210
  <Text size={12} color={Colors.brand.midnight} weight='semibold'>{event.event_sub_title}</Text>
204
211
  :<></>}
@@ -308,9 +315,18 @@ const TeamEventMarket = ({ event, init_expanded, activate_loading, competition,
308
315
  <Text style={{ marginLeft:5 }} size={14} color={Colors.shades.white} weight='semibold'>Pick 6</Text>
309
316
  </TouchableOpacity>
310
317
  :<></>}
318
+ {non_primary_markets.length > 0 ?
311
319
  <TouchableOpacity style={{ height:35, width:35, justifyContent:'center', borderRadius:100, alignItems:'center', backgroundColor:Colors.shades.white, ...view_styles.float }} onPress={() => expandedEvent()}>
312
320
  <Icons.ChevronIcon direction={expanded ? 'up' : 'down'} size={8} color={Colors.brand.midnight} />
313
321
  </TouchableOpacity>
322
+ :available ?
323
+ <Button
324
+ title='MORE'
325
+ title_color={Colors.shades.white}
326
+ backgroundColor={Colors.brand.electric}
327
+ onPress={() => onViewAdditionalMarkets(event.event_id, 'team')}
328
+ />
329
+ :<></>}
314
330
  </View>
315
331
  :<></>}
316
332
  {expanded ?
package/src/types.d.ts CHANGED
@@ -1040,12 +1040,14 @@ export interface CompetitionProps {
1040
1040
  competition_description:string,
1041
1041
  template?:boolean,
1042
1042
  buy_in:number | string,
1043
+ linked_event_id?:string,
1044
+ linked_event_type?:string,
1043
1045
  league_name?:string,
1044
1046
  template_competition_id?:string,
1045
1047
  admin_id:string,
1046
1048
  company_id?:string,
1047
1049
  admin?:PublicPlayerProps,
1048
- guaranteed_payout?:number,
1050
+ guaranteed_payout?:number | string,
1049
1051
  winner_id?:string,
1050
1052
  image?:{url:string},
1051
1053
  winner?:PublicPlayerProps,