be-components 0.7.2 → 0.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 (432) hide show
  1. package/lib/commonjs/ApiOverrides/index.js +18 -0
  2. package/lib/commonjs/ApiOverrides/index.js.map +1 -1
  3. package/lib/commonjs/Authenticator/index.js.map +1 -1
  4. package/lib/commonjs/Checkout/api/index.js.map +1 -1
  5. package/lib/commonjs/Checkout/index.js.map +1 -1
  6. package/lib/commonjs/Competition/api/index.js +655 -0
  7. package/lib/commonjs/Competition/api/index.js.map +1 -0
  8. package/lib/commonjs/Competition/components/AthleteMarketCard.js +168 -0
  9. package/lib/commonjs/Competition/components/AthleteMarketCard.js.map +1 -0
  10. package/lib/commonjs/Competition/components/CompetitionCard.js +180 -0
  11. package/lib/commonjs/Competition/components/CompetitionCard.js.map +1 -0
  12. package/lib/commonjs/Competition/components/CompetitionInfoCard.js +264 -0
  13. package/lib/commonjs/Competition/components/CompetitionInfoCard.js.map +1 -0
  14. package/lib/commonjs/Competition/components/CompetitionLeaderboard.js +281 -0
  15. package/lib/commonjs/Competition/components/CompetitionLeaderboard.js.map +1 -0
  16. package/lib/commonjs/Competition/components/CompetitionPlay.js +1269 -0
  17. package/lib/commonjs/Competition/components/CompetitionPlay.js.map +1 -0
  18. package/lib/commonjs/Competition/components/CompetitionSeasonCard.js +111 -0
  19. package/lib/commonjs/Competition/components/CompetitionSeasonCard.js.map +1 -0
  20. package/lib/commonjs/Competition/components/CompetitionSelector.js +122 -0
  21. package/lib/commonjs/Competition/components/CompetitionSelector.js.map +1 -0
  22. package/lib/commonjs/Competition/components/CompetitionTypeCard.js +380 -0
  23. package/lib/commonjs/Competition/components/CompetitionTypeCard.js.map +1 -0
  24. package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js +237 -0
  25. package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js.map +1 -0
  26. package/lib/commonjs/Competition/components/LeaderPicks.js +322 -0
  27. package/lib/commonjs/Competition/components/LeaderPicks.js.map +1 -0
  28. package/lib/commonjs/Competition/components/ManageSeasonForm.js +605 -0
  29. package/lib/commonjs/Competition/components/ManageSeasonForm.js.map +1 -0
  30. package/lib/commonjs/Competition/components/MarketsCard.js +148 -0
  31. package/lib/commonjs/Competition/components/MarketsCard.js.map +1 -0
  32. package/lib/commonjs/Competition/components/MatchMarketCard.js +199 -0
  33. package/lib/commonjs/Competition/components/MatchMarketCard.js.map +1 -0
  34. package/lib/commonjs/Competition/components/NavOutPrompt.js +159 -0
  35. package/lib/commonjs/Competition/components/NavOutPrompt.js.map +1 -0
  36. package/lib/commonjs/Competition/components/SeasonInfoModal.js +400 -0
  37. package/lib/commonjs/Competition/components/SeasonInfoModal.js.map +1 -0
  38. package/lib/commonjs/Competition/components/TeamEventCard.js +217 -0
  39. package/lib/commonjs/Competition/components/TeamEventCard.js.map +1 -0
  40. package/lib/commonjs/Competition/components/WagerPickForm.js +278 -0
  41. package/lib/commonjs/Competition/components/WagerPickForm.js.map +1 -0
  42. package/lib/commonjs/Competition/index.js +42 -0
  43. package/lib/commonjs/Competition/index.js.map +1 -0
  44. package/lib/commonjs/Components/Icons.js.map +1 -1
  45. package/lib/commonjs/Components/Jerseys.js +713 -0
  46. package/lib/commonjs/Components/Jerseys.js.map +1 -0
  47. package/lib/commonjs/Components/LinearDiagnal.js +1 -1
  48. package/lib/commonjs/Components/LinearDiagnal.js.map +1 -1
  49. package/lib/commonjs/Components/Switch.js +81 -0
  50. package/lib/commonjs/Components/Switch.js.map +1 -0
  51. package/lib/commonjs/Components/index.js +14 -0
  52. package/lib/commonjs/Components/index.js.map +1 -1
  53. package/lib/commonjs/Observer/api/index.js +3 -0
  54. package/lib/commonjs/Observer/api/index.js.map +1 -1
  55. package/lib/commonjs/Poll/api/index.js +240 -0
  56. package/lib/commonjs/Poll/api/index.js.map +1 -0
  57. package/lib/commonjs/Poll/components/CampaignPlay.js +553 -0
  58. package/lib/commonjs/Poll/components/CampaignPlay.js.map +1 -0
  59. package/lib/commonjs/Poll/components/CampaignProgressBar.js +118 -0
  60. package/lib/commonjs/Poll/components/CampaignProgressBar.js.map +1 -0
  61. package/lib/commonjs/Poll/components/CampaignResult.js +382 -0
  62. package/lib/commonjs/Poll/components/CampaignResult.js.map +1 -0
  63. package/lib/commonjs/Poll/components/CampaignSelector.js +124 -0
  64. package/lib/commonjs/Poll/components/CampaignSelector.js.map +1 -0
  65. package/lib/commonjs/Poll/components/PollCampaignCard.js +66 -0
  66. package/lib/commonjs/Poll/components/PollCampaignCard.js.map +1 -0
  67. package/lib/commonjs/Poll/components/PollCard.js +480 -0
  68. package/lib/commonjs/Poll/components/PollCard.js.map +1 -0
  69. package/lib/commonjs/Poll/components/PollOptionCard.js +158 -0
  70. package/lib/commonjs/Poll/components/PollOptionCard.js.map +1 -0
  71. package/lib/commonjs/Poll/components/PollSelectCard.js +189 -0
  72. package/lib/commonjs/Poll/components/PollSelectCard.js.map +1 -0
  73. package/lib/commonjs/Poll/components/ResponseTimer.js +48 -0
  74. package/lib/commonjs/Poll/components/ResponseTimer.js.map +1 -0
  75. package/lib/commonjs/Poll/components/WidgetHeader.js +83 -0
  76. package/lib/commonjs/Poll/components/WidgetHeader.js.map +1 -0
  77. package/lib/commonjs/Poll/index.js +31 -0
  78. package/lib/commonjs/Poll/index.js.map +1 -0
  79. package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js.map +1 -1
  80. package/lib/commonjs/ProfileManager/Components/BasicStatus.js.map +1 -1
  81. package/lib/commonjs/ProfileManager/Components/CodeRedeem.js +3 -1
  82. package/lib/commonjs/ProfileManager/Components/CodeRedeem.js.map +1 -1
  83. package/lib/commonjs/ProfileManager/Components/DOBManager.js.map +1 -1
  84. package/lib/commonjs/ProfileManager/Components/EmailManager.js.map +1 -1
  85. package/lib/commonjs/ProfileManager/Components/PasswordManager.js.map +1 -1
  86. package/lib/commonjs/ProfileManager/Components/PhoneManager.js.map +1 -1
  87. package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js.map +1 -1
  88. package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js.map +1 -1
  89. package/lib/commonjs/ProfileManager/Components/ProfileWizard.js +5 -0
  90. package/lib/commonjs/ProfileManager/Components/ProfileWizard.js.map +1 -1
  91. package/lib/commonjs/ProfileManager/Components/VouchCard.js.map +1 -1
  92. package/lib/commonjs/ProfileManager/index.js +2 -0
  93. package/lib/commonjs/ProfileManager/index.js.map +1 -1
  94. package/lib/commonjs/Wallet/api/index.js +4 -1
  95. package/lib/commonjs/Wallet/api/index.js.map +1 -1
  96. package/lib/commonjs/Wallet/components/ACHAddCard.js.map +1 -1
  97. package/lib/commonjs/Wallet/components/AddressManager.js.map +1 -1
  98. package/lib/commonjs/Wallet/components/DepositCard.js.map +1 -1
  99. package/lib/commonjs/Wallet/components/FundAccountCard.js.map +1 -1
  100. package/lib/commonjs/Wallet/components/ManageAccountCard.js.map +1 -1
  101. package/lib/commonjs/Wallet/components/ManualACHAdd.js.map +1 -1
  102. package/lib/commonjs/Wallet/components/ManualCardAdd.js.map +1 -1
  103. package/lib/commonjs/Wallet/components/MyBalance.js.map +1 -1
  104. package/lib/commonjs/Wallet/components/WalletActionSelector.js.map +1 -1
  105. package/lib/commonjs/Wallet/components/WalletSettings.js.map +1 -1
  106. package/lib/commonjs/Wallet/components/WalletSetup.js.map +1 -1
  107. package/lib/commonjs/Wallet/components/WithdrawCard.js.map +1 -1
  108. package/lib/commonjs/Wallet/index.js.map +1 -1
  109. package/lib/commonjs/index.js +14 -0
  110. package/lib/commonjs/index.js.map +1 -1
  111. package/lib/module/ApiOverrides/index.js +18 -0
  112. package/lib/module/ApiOverrides/index.js.map +1 -1
  113. package/lib/module/Authenticator/index.js.map +1 -1
  114. package/lib/module/Checkout/api/index.js.map +1 -1
  115. package/lib/module/Checkout/index.js.map +1 -1
  116. package/lib/module/Competition/api/index.js +649 -0
  117. package/lib/module/Competition/api/index.js.map +1 -0
  118. package/lib/module/Competition/components/AthleteMarketCard.js +161 -0
  119. package/lib/module/Competition/components/AthleteMarketCard.js.map +1 -0
  120. package/lib/module/Competition/components/CompetitionCard.js +173 -0
  121. package/lib/module/Competition/components/CompetitionCard.js.map +1 -0
  122. package/lib/module/Competition/components/CompetitionInfoCard.js +257 -0
  123. package/lib/module/Competition/components/CompetitionInfoCard.js.map +1 -0
  124. package/lib/module/Competition/components/CompetitionLeaderboard.js +272 -0
  125. package/lib/module/Competition/components/CompetitionLeaderboard.js.map +1 -0
  126. package/lib/module/Competition/components/CompetitionPlay.js +1260 -0
  127. package/lib/module/Competition/components/CompetitionPlay.js.map +1 -0
  128. package/lib/module/Competition/components/CompetitionSeasonCard.js +104 -0
  129. package/lib/module/Competition/components/CompetitionSeasonCard.js.map +1 -0
  130. package/lib/module/Competition/components/CompetitionSelector.js +113 -0
  131. package/lib/module/Competition/components/CompetitionSelector.js.map +1 -0
  132. package/lib/module/Competition/components/CompetitionTypeCard.js +371 -0
  133. package/lib/module/Competition/components/CompetitionTypeCard.js.map +1 -0
  134. package/lib/module/Competition/components/EnterCompetitionPrompt.js +228 -0
  135. package/lib/module/Competition/components/EnterCompetitionPrompt.js.map +1 -0
  136. package/lib/module/Competition/components/LeaderPicks.js +313 -0
  137. package/lib/module/Competition/components/LeaderPicks.js.map +1 -0
  138. package/lib/module/Competition/components/ManageSeasonForm.js +596 -0
  139. package/lib/module/Competition/components/ManageSeasonForm.js.map +1 -0
  140. package/lib/module/Competition/components/MarketsCard.js +139 -0
  141. package/lib/module/Competition/components/MarketsCard.js.map +1 -0
  142. package/lib/module/Competition/components/MatchMarketCard.js +192 -0
  143. package/lib/module/Competition/components/MatchMarketCard.js.map +1 -0
  144. package/lib/module/Competition/components/NavOutPrompt.js +152 -0
  145. package/lib/module/Competition/components/NavOutPrompt.js.map +1 -0
  146. package/lib/module/Competition/components/SeasonInfoModal.js +391 -0
  147. package/lib/module/Competition/components/SeasonInfoModal.js.map +1 -0
  148. package/lib/module/Competition/components/TeamEventCard.js +210 -0
  149. package/lib/module/Competition/components/TeamEventCard.js.map +1 -0
  150. package/lib/module/Competition/components/WagerPickForm.js +269 -0
  151. package/lib/module/Competition/components/WagerPickForm.js.map +1 -0
  152. package/lib/module/Competition/index.js +33 -0
  153. package/lib/module/Competition/index.js.map +1 -0
  154. package/lib/module/Components/Icons.js.map +1 -1
  155. package/lib/module/Components/Jerseys.js +705 -0
  156. package/lib/module/Components/Jerseys.js.map +1 -0
  157. package/lib/module/Components/LinearDiagnal.js +2 -3
  158. package/lib/module/Components/LinearDiagnal.js.map +1 -1
  159. package/lib/module/Components/Switch.js +74 -0
  160. package/lib/module/Components/Switch.js.map +1 -0
  161. package/lib/module/Components/index.js +3 -1
  162. package/lib/module/Components/index.js.map +1 -1
  163. package/lib/module/Observer/api/index.js +3 -0
  164. package/lib/module/Observer/api/index.js.map +1 -1
  165. package/lib/module/Poll/api/index.js +234 -0
  166. package/lib/module/Poll/api/index.js.map +1 -0
  167. package/lib/module/Poll/components/CampaignPlay.js +545 -0
  168. package/lib/module/Poll/components/CampaignPlay.js.map +1 -0
  169. package/lib/module/Poll/components/CampaignProgressBar.js +110 -0
  170. package/lib/module/Poll/components/CampaignProgressBar.js.map +1 -0
  171. package/lib/module/Poll/components/CampaignResult.js +374 -0
  172. package/lib/module/Poll/components/CampaignResult.js.map +1 -0
  173. package/lib/module/Poll/components/CampaignSelector.js +115 -0
  174. package/lib/module/Poll/components/CampaignSelector.js.map +1 -0
  175. package/lib/module/Poll/components/PollCampaignCard.js +59 -0
  176. package/lib/module/Poll/components/PollCampaignCard.js.map +1 -0
  177. package/lib/module/Poll/components/PollCard.js +472 -0
  178. package/lib/module/Poll/components/PollCard.js.map +1 -0
  179. package/lib/module/Poll/components/PollOptionCard.js +149 -0
  180. package/lib/module/Poll/components/PollOptionCard.js.map +1 -0
  181. package/lib/module/Poll/components/PollSelectCard.js +182 -0
  182. package/lib/module/Poll/components/PollSelectCard.js.map +1 -0
  183. package/lib/module/Poll/components/ResponseTimer.js +39 -0
  184. package/lib/module/Poll/components/ResponseTimer.js.map +1 -0
  185. package/lib/module/Poll/components/WidgetHeader.js +76 -0
  186. package/lib/module/Poll/components/WidgetHeader.js.map +1 -0
  187. package/lib/module/Poll/index.js +22 -0
  188. package/lib/module/Poll/index.js.map +1 -0
  189. package/lib/module/ProfileManager/Components/BasicInfoManager.js.map +1 -1
  190. package/lib/module/ProfileManager/Components/BasicStatus.js.map +1 -1
  191. package/lib/module/ProfileManager/Components/CodeRedeem.js +3 -1
  192. package/lib/module/ProfileManager/Components/CodeRedeem.js.map +1 -1
  193. package/lib/module/ProfileManager/Components/DOBManager.js.map +1 -1
  194. package/lib/module/ProfileManager/Components/EmailManager.js.map +1 -1
  195. package/lib/module/ProfileManager/Components/PasswordManager.js.map +1 -1
  196. package/lib/module/ProfileManager/Components/PhoneManager.js.map +1 -1
  197. package/lib/module/ProfileManager/Components/ProfilePicManager.js.map +1 -1
  198. package/lib/module/ProfileManager/Components/ProfileWelcome.js.map +1 -1
  199. package/lib/module/ProfileManager/Components/ProfileWizard.js +5 -0
  200. package/lib/module/ProfileManager/Components/ProfileWizard.js.map +1 -1
  201. package/lib/module/ProfileManager/Components/VouchCard.js.map +1 -1
  202. package/lib/module/ProfileManager/index.js +2 -0
  203. package/lib/module/ProfileManager/index.js.map +1 -1
  204. package/lib/module/Wallet/api/index.js +4 -1
  205. package/lib/module/Wallet/api/index.js.map +1 -1
  206. package/lib/module/Wallet/components/ACHAddCard.js.map +1 -1
  207. package/lib/module/Wallet/components/AddressManager.js.map +1 -1
  208. package/lib/module/Wallet/components/DepositCard.js.map +1 -1
  209. package/lib/module/Wallet/components/FundAccountCard.js.map +1 -1
  210. package/lib/module/Wallet/components/ManageAccountCard.js.map +1 -1
  211. package/lib/module/Wallet/components/ManualACHAdd.js.map +1 -1
  212. package/lib/module/Wallet/components/ManualCardAdd.js.map +1 -1
  213. package/lib/module/Wallet/components/MyBalance.js.map +1 -1
  214. package/lib/module/Wallet/components/WalletActionSelector.js.map +1 -1
  215. package/lib/module/Wallet/components/WalletSettings.js.map +1 -1
  216. package/lib/module/Wallet/components/WalletSetup.js.map +1 -1
  217. package/lib/module/Wallet/components/WithdrawCard.js.map +1 -1
  218. package/lib/module/Wallet/index.js.map +1 -1
  219. package/lib/module/index.js +3 -1
  220. package/lib/module/index.js.map +1 -1
  221. package/lib/typescript/src/ApiOverrides/index.d.ts +1 -0
  222. package/lib/typescript/src/ApiOverrides/index.d.ts.map +1 -1
  223. package/lib/typescript/src/Authenticator/api/index.d.ts +2 -2
  224. package/lib/typescript/src/Authenticator/api/index.d.ts.map +1 -1
  225. package/lib/typescript/src/Authenticator/index.d.ts.map +1 -1
  226. package/lib/typescript/src/Checkout/api/index.d.ts +1 -2
  227. package/lib/typescript/src/Checkout/api/index.d.ts.map +1 -1
  228. package/lib/typescript/src/Checkout/index.d.ts.map +1 -1
  229. package/lib/typescript/src/Competition/api/index.d.ts +128 -0
  230. package/lib/typescript/src/Competition/api/index.d.ts.map +1 -0
  231. package/lib/typescript/src/Competition/components/AthleteMarketCard.d.ts +19 -0
  232. package/lib/typescript/src/Competition/components/AthleteMarketCard.d.ts.map +1 -0
  233. package/lib/typescript/src/Competition/components/CompetitionCard.d.ts +12 -0
  234. package/lib/typescript/src/Competition/components/CompetitionCard.d.ts.map +1 -0
  235. package/lib/typescript/src/Competition/components/CompetitionInfoCard.d.ts +16 -0
  236. package/lib/typescript/src/Competition/components/CompetitionInfoCard.d.ts.map +1 -0
  237. package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts +14 -0
  238. package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts.map +1 -0
  239. package/lib/typescript/src/Competition/components/CompetitionPlay.d.ts +20 -0
  240. package/lib/typescript/src/Competition/components/CompetitionPlay.d.ts.map +1 -0
  241. package/lib/typescript/src/Competition/components/CompetitionSeasonCard.d.ts +10 -0
  242. package/lib/typescript/src/Competition/components/CompetitionSeasonCard.d.ts.map +1 -0
  243. package/lib/typescript/src/Competition/components/CompetitionSelector.d.ts +11 -0
  244. package/lib/typescript/src/Competition/components/CompetitionSelector.d.ts.map +1 -0
  245. package/lib/typescript/src/Competition/components/CompetitionTypeCard.d.ts +14 -0
  246. package/lib/typescript/src/Competition/components/CompetitionTypeCard.d.ts.map +1 -0
  247. package/lib/typescript/src/Competition/components/EnterCompetitionPrompt.d.ts +16 -0
  248. package/lib/typescript/src/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -0
  249. package/lib/typescript/src/Competition/components/LeaderPicks.d.ts +22 -0
  250. package/lib/typescript/src/Competition/components/LeaderPicks.d.ts.map +1 -0
  251. package/lib/typescript/src/Competition/components/ManageSeasonForm.d.ts +10 -0
  252. package/lib/typescript/src/Competition/components/ManageSeasonForm.d.ts.map +1 -0
  253. package/lib/typescript/src/Competition/components/MarketsCard.d.ts +15 -0
  254. package/lib/typescript/src/Competition/components/MarketsCard.d.ts.map +1 -0
  255. package/lib/typescript/src/Competition/components/MatchMarketCard.d.ts +21 -0
  256. package/lib/typescript/src/Competition/components/MatchMarketCard.d.ts.map +1 -0
  257. package/lib/typescript/src/Competition/components/NavOutPrompt.d.ts +23 -0
  258. package/lib/typescript/src/Competition/components/NavOutPrompt.d.ts.map +1 -0
  259. package/lib/typescript/src/Competition/components/SeasonInfoModal.d.ts +14 -0
  260. package/lib/typescript/src/Competition/components/SeasonInfoModal.d.ts.map +1 -0
  261. package/lib/typescript/src/Competition/components/TeamEventCard.d.ts +17 -0
  262. package/lib/typescript/src/Competition/components/TeamEventCard.d.ts.map +1 -0
  263. package/lib/typescript/src/Competition/components/WagerPickForm.d.ts +15 -0
  264. package/lib/typescript/src/Competition/components/WagerPickForm.d.ts.map +1 -0
  265. package/lib/typescript/src/Competition/index.d.ts +11 -0
  266. package/lib/typescript/src/Competition/index.d.ts.map +1 -0
  267. package/lib/typescript/src/Components/Icons.d.ts.map +1 -1
  268. package/lib/typescript/src/Components/Jerseys.d.ts +16 -0
  269. package/lib/typescript/src/Components/Jerseys.d.ts.map +1 -0
  270. package/lib/typescript/src/Components/LinearDiagnal.d.ts.map +1 -1
  271. package/lib/typescript/src/Components/Switch.d.ts +9 -0
  272. package/lib/typescript/src/Components/Switch.d.ts.map +1 -0
  273. package/lib/typescript/src/Components/index.d.ts +3 -1
  274. package/lib/typescript/src/Components/index.d.ts.map +1 -1
  275. package/lib/typescript/src/Observer/api/index.d.ts.map +1 -1
  276. package/lib/typescript/src/Poll/api/index.d.ts +61 -0
  277. package/lib/typescript/src/Poll/api/index.d.ts.map +1 -0
  278. package/lib/typescript/src/Poll/components/CampaignPlay.d.ts +14 -0
  279. package/lib/typescript/src/Poll/components/CampaignPlay.d.ts.map +1 -0
  280. package/lib/typescript/src/Poll/components/CampaignProgressBar.d.ts +12 -0
  281. package/lib/typescript/src/Poll/components/CampaignProgressBar.d.ts.map +1 -0
  282. package/lib/typescript/src/Poll/components/CampaignResult.d.ts +13 -0
  283. package/lib/typescript/src/Poll/components/CampaignResult.d.ts.map +1 -0
  284. package/lib/typescript/src/Poll/components/CampaignSelector.d.ts +9 -0
  285. package/lib/typescript/src/Poll/components/CampaignSelector.d.ts.map +1 -0
  286. package/lib/typescript/src/Poll/components/PollCampaignCard.d.ts +10 -0
  287. package/lib/typescript/src/Poll/components/PollCampaignCard.d.ts.map +1 -0
  288. package/lib/typescript/src/Poll/components/PollCard.d.ts +16 -0
  289. package/lib/typescript/src/Poll/components/PollCard.d.ts.map +1 -0
  290. package/lib/typescript/src/Poll/components/PollOptionCard.d.ts +14 -0
  291. package/lib/typescript/src/Poll/components/PollOptionCard.d.ts.map +1 -0
  292. package/lib/typescript/src/Poll/components/PollSelectCard.d.ts +16 -0
  293. package/lib/typescript/src/Poll/components/PollSelectCard.d.ts.map +1 -0
  294. package/lib/typescript/src/Poll/components/ResponseTimer.d.ts +9 -0
  295. package/lib/typescript/src/Poll/components/ResponseTimer.d.ts.map +1 -0
  296. package/lib/typescript/src/Poll/components/WidgetHeader.d.ts +13 -0
  297. package/lib/typescript/src/Poll/components/WidgetHeader.d.ts.map +1 -0
  298. package/lib/typescript/src/Poll/index.d.ts +7 -0
  299. package/lib/typescript/src/Poll/index.d.ts.map +1 -0
  300. package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts +1 -1
  301. package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
  302. package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts +1 -2
  303. package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
  304. package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts +9 -2
  305. package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
  306. package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts +1 -1
  307. package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts.map +1 -1
  308. package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts +1 -1
  309. package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts.map +1 -1
  310. package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts +1 -1
  311. package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
  312. package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts +1 -1
  313. package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts.map +1 -1
  314. package/lib/typescript/src/ProfileManager/Components/ProfilePicManager.d.ts +1 -1
  315. package/lib/typescript/src/ProfileManager/Components/ProfilePicManager.d.ts.map +1 -1
  316. package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts +1 -2
  317. package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts.map +1 -1
  318. package/lib/typescript/src/ProfileManager/Components/ProfileWizard.d.ts +10 -3
  319. package/lib/typescript/src/ProfileManager/Components/ProfileWizard.d.ts.map +1 -1
  320. package/lib/typescript/src/ProfileManager/Components/SettingsManager.d.ts +2 -2
  321. package/lib/typescript/src/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
  322. package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts +1 -2
  323. package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts.map +1 -1
  324. package/lib/typescript/src/ProfileManager/api/index.d.ts +2 -2
  325. package/lib/typescript/src/ProfileManager/api/index.d.ts.map +1 -1
  326. package/lib/typescript/src/ProfileManager/index.d.ts +9 -2
  327. package/lib/typescript/src/ProfileManager/index.d.ts.map +1 -1
  328. package/lib/typescript/src/Wallet/api/index.d.ts +2 -3
  329. package/lib/typescript/src/Wallet/api/index.d.ts.map +1 -1
  330. package/lib/typescript/src/Wallet/components/ACHAddCard.d.ts +1 -2
  331. package/lib/typescript/src/Wallet/components/ACHAddCard.d.ts.map +1 -1
  332. package/lib/typescript/src/Wallet/components/AddressManager.d.ts +1 -2
  333. package/lib/typescript/src/Wallet/components/AddressManager.d.ts.map +1 -1
  334. package/lib/typescript/src/Wallet/components/DepositCard.d.ts +1 -2
  335. package/lib/typescript/src/Wallet/components/DepositCard.d.ts.map +1 -1
  336. package/lib/typescript/src/Wallet/components/FundAccountCard.d.ts +1 -2
  337. package/lib/typescript/src/Wallet/components/FundAccountCard.d.ts.map +1 -1
  338. package/lib/typescript/src/Wallet/components/ManageAccountCard.d.ts +1 -2
  339. package/lib/typescript/src/Wallet/components/ManageAccountCard.d.ts.map +1 -1
  340. package/lib/typescript/src/Wallet/components/ManualACHAdd.d.ts +1 -2
  341. package/lib/typescript/src/Wallet/components/ManualACHAdd.d.ts.map +1 -1
  342. package/lib/typescript/src/Wallet/components/ManualCardAdd.d.ts +1 -2
  343. package/lib/typescript/src/Wallet/components/ManualCardAdd.d.ts.map +1 -1
  344. package/lib/typescript/src/Wallet/components/MyBalance.d.ts +1 -2
  345. package/lib/typescript/src/Wallet/components/MyBalance.d.ts.map +1 -1
  346. package/lib/typescript/src/Wallet/components/WalletActionSelector.d.ts +1 -2
  347. package/lib/typescript/src/Wallet/components/WalletActionSelector.d.ts.map +1 -1
  348. package/lib/typescript/src/Wallet/components/WalletSettings.d.ts +1 -2
  349. package/lib/typescript/src/Wallet/components/WalletSettings.d.ts.map +1 -1
  350. package/lib/typescript/src/Wallet/components/WalletSetup.d.ts +1 -2
  351. package/lib/typescript/src/Wallet/components/WalletSetup.d.ts.map +1 -1
  352. package/lib/typescript/src/Wallet/components/WithdrawCard.d.ts +1 -2
  353. package/lib/typescript/src/Wallet/components/WithdrawCard.d.ts.map +1 -1
  354. package/lib/typescript/src/Wallet/index.d.ts +1 -2
  355. package/lib/typescript/src/Wallet/index.d.ts.map +1 -1
  356. package/lib/typescript/src/index.d.ts +3 -1
  357. package/lib/typescript/src/index.d.ts.map +1 -1
  358. package/package.json +1 -1
  359. package/src/ApiOverrides/index.ts +19 -0
  360. package/src/Authenticator/api/index.ts +2 -2
  361. package/src/Authenticator/api/types.d.ts +1 -25
  362. package/src/Authenticator/index.tsx +2 -1
  363. package/src/Checkout/api/index.tsx +1 -2
  364. package/src/Checkout/index.tsx +1 -2
  365. package/src/Competition/api/index.ts +568 -0
  366. package/src/Competition/components/AthleteMarketCard.tsx +116 -0
  367. package/src/Competition/components/CompetitionCard.tsx +82 -0
  368. package/src/Competition/components/CompetitionInfoCard.tsx +149 -0
  369. package/src/Competition/components/CompetitionLeaderboard.tsx +183 -0
  370. package/src/Competition/components/CompetitionPlay.tsx +936 -0
  371. package/src/Competition/components/CompetitionSeasonCard.tsx +48 -0
  372. package/src/Competition/components/CompetitionSelector.tsx +91 -0
  373. package/src/Competition/components/CompetitionTypeCard.tsx +211 -0
  374. package/src/Competition/components/EnterCompetitionPrompt.tsx +127 -0
  375. package/src/Competition/components/LeaderPicks.tsx +214 -0
  376. package/src/Competition/components/ManageSeasonForm.tsx +271 -0
  377. package/src/Competition/components/MarketsCard.tsx +108 -0
  378. package/src/Competition/components/MatchMarketCard.tsx +126 -0
  379. package/src/Competition/components/NavOutPrompt.tsx +87 -0
  380. package/src/Competition/components/SeasonInfoModal.tsx +212 -0
  381. package/src/Competition/components/TeamEventCard.tsx +136 -0
  382. package/src/Competition/components/WagerPickForm.tsx +114 -0
  383. package/src/Competition/index.tsx +36 -0
  384. package/src/Components/Icons.tsx +0 -2
  385. package/src/Components/Jerseys.tsx +268 -0
  386. package/src/Components/LinearDiagnal.tsx +2 -3
  387. package/src/Components/Switch.tsx +55 -0
  388. package/src/Components/index.tsx +5 -1
  389. package/src/Observer/api/index.ts +1 -0
  390. package/src/Poll/api/index.ts +178 -0
  391. package/src/Poll/components/CampaignPlay.tsx +407 -0
  392. package/src/Poll/components/CampaignProgressBar.tsx +70 -0
  393. package/src/Poll/components/CampaignResult.tsx +180 -0
  394. package/src/Poll/components/CampaignSelector.tsx +96 -0
  395. package/src/Poll/components/PollCampaignCard.tsx +35 -0
  396. package/src/Poll/components/PollCard.tsx +335 -0
  397. package/src/Poll/components/PollOptionCard.tsx +110 -0
  398. package/src/Poll/components/PollSelectCard.tsx +106 -0
  399. package/src/Poll/components/ResponseTimer.tsx +37 -0
  400. package/src/Poll/components/WidgetHeader.tsx +46 -0
  401. package/src/Poll/index.tsx +25 -0
  402. package/src/ProfileManager/Components/BasicInfoManager.tsx +1 -1
  403. package/src/ProfileManager/Components/BasicStatus.tsx +1 -2
  404. package/src/ProfileManager/Components/CodeRedeem.tsx +10 -3
  405. package/src/ProfileManager/Components/DOBManager.tsx +1 -1
  406. package/src/ProfileManager/Components/EmailManager.tsx +1 -1
  407. package/src/ProfileManager/Components/PasswordManager.tsx +2 -1
  408. package/src/ProfileManager/Components/PhoneManager.tsx +1 -1
  409. package/src/ProfileManager/Components/ProfilePicManager.tsx +1 -1
  410. package/src/ProfileManager/Components/ProfileWelcome.tsx +1 -2
  411. package/src/ProfileManager/Components/ProfileWizard.tsx +14 -3
  412. package/src/ProfileManager/Components/SettingsManager.tsx +2 -2
  413. package/src/ProfileManager/Components/VouchCard.tsx +1 -2
  414. package/src/ProfileManager/api/index.ts +2 -2
  415. package/src/ProfileManager/api/types.d.ts +0 -35
  416. package/src/ProfileManager/index.tsx +11 -3
  417. package/src/Wallet/api/index.ts +6 -4
  418. package/src/Wallet/components/ACHAddCard.tsx +1 -2
  419. package/src/Wallet/components/AddressManager.tsx +1 -2
  420. package/src/Wallet/components/DepositCard.tsx +1 -2
  421. package/src/Wallet/components/FundAccountCard.tsx +1 -2
  422. package/src/Wallet/components/ManageAccountCard.tsx +1 -2
  423. package/src/Wallet/components/ManualACHAdd.tsx +1 -2
  424. package/src/Wallet/components/ManualCardAdd.tsx +1 -2
  425. package/src/Wallet/components/MyBalance.tsx +1 -2
  426. package/src/Wallet/components/WalletActionSelector.tsx +1 -2
  427. package/src/Wallet/components/WalletSettings.tsx +1 -2
  428. package/src/Wallet/components/WalletSetup.tsx +1 -2
  429. package/src/Wallet/components/WithdrawCard.tsx +1 -2
  430. package/src/Wallet/index.tsx +1 -2
  431. package/src/index.tsx +5 -2
  432. package/src/types.d.ts +483 -0
@@ -0,0 +1,553 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _colors = _interopRequireDefault(require("../../constants/colors"));
10
+ var _PollCard = _interopRequireDefault(require("./PollCard"));
11
+ var _CampaignProgressBar = _interopRequireDefault(require("./CampaignProgressBar"));
12
+ var _CampaignResult = _interopRequireDefault(require("./CampaignResult"));
13
+ var _PollSelectCard = _interopRequireDefault(require("./PollSelectCard"));
14
+ var _api = require("../api");
15
+ var _Components = require("../../Components");
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
18
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
19
+ const CampaignPlay = ({
20
+ player_id,
21
+ poll_campaign_id,
22
+ onActiveViewChange,
23
+ onRequestAuthenticate,
24
+ onFinished,
25
+ init_view,
26
+ init_poll_id
27
+ }) => {
28
+ //const [ show_authenticate, setShowAuthenticate ] = useState(false);
29
+ const [campaign_data, setCampaignData] = (0, _react.useState)({
30
+ polls: [],
31
+ my_responses: []
32
+ });
33
+ const [loading, setLoading] = (0, _react.useState)(false);
34
+ //const [ shareImage, setImage ] = useState<any>(undefined)
35
+ const [share_in_process] = (0, _react.useState)(false);
36
+ const [play_width, setPlayWidth] = (0, _react.useState)(0);
37
+ const [show_live, setShowLive] = (0, _react.useState)(false);
38
+ const [active_poll, setActivePoll] = (0, _react.useState)(undefined);
39
+ const [active_view, setActiveView] = (0, _react.useState)('select_poll');
40
+ const {
41
+ poll_campaign,
42
+ polls,
43
+ my_responses
44
+ } = campaign_data;
45
+ polls.filter(p => p.poll_campaign_id == poll_campaign_id && ['pending', 'active', 'paused', 'closed'].includes(p.status)).sort((a, b) => {
46
+ if (a.priority && b.priority) {
47
+ return a.priority - b.priority;
48
+ } else {
49
+ return parseInt(b.poll_id) - parseInt(a.poll_id);
50
+ }
51
+ });
52
+ const playable_polls = polls.filter(p => ['closed', 'active'].includes(p.status));
53
+ const active_polls = polls.filter(p => p.status == 'active');
54
+ const pending_polls = polls.filter(p => ['pending', 'paused'].includes(p.status));
55
+ const closed_polls = polls.filter(p => p.status == 'closed');
56
+ const poll_responses = my_responses.filter(pr => polls.map(p => p.poll_id.toString()).includes(pr.poll_id.toString()));
57
+ const campaign_complete = _api.PollCampaignHelpers.isCampaignComplete(polls, poll_responses, poll_campaign);
58
+ const active_responded = poll_responses.find(pr => pr.poll_id == active_poll?.poll_id) ? true : false;
59
+ let active_index = playable_polls.findIndex(p => p.poll_id == active_poll?.poll_id);
60
+
61
+ //const progressRef = useRef()
62
+
63
+ (0, _react.useEffect)(() => {
64
+ getCampaignDetailsFromServer(poll_campaign_id);
65
+ }, [poll_campaign_id]);
66
+ (0, _react.useEffect)(() => {
67
+ if (onActiveViewChange) {
68
+ return onActiveViewChange(active_view);
69
+ }
70
+ }, [active_view]);
71
+ (0, _react.useEffect)(() => {
72
+ if (!share_in_process) {
73
+ return;
74
+ }
75
+ /*
76
+ html2canvas(progressRef.current).then(function(canvas:any) {
77
+ var myImage = canvas.toDataURL("image/png");
78
+ setImage(myImage)
79
+ //share(myImage)
80
+ });
81
+ */
82
+ }, [share_in_process]);
83
+ (0, _react.useEffect)(() => {
84
+ if (polls.length == 0) {
85
+ return;
86
+ }
87
+ if (!init_poll_id || init_poll_id == 'undefined') {
88
+ return;
89
+ }
90
+ if (init_view != 'result') {
91
+ return;
92
+ }
93
+ let init_poll = polls.find(p => p.poll_id == init_poll_id);
94
+ if (!init_poll) {
95
+ return;
96
+ }
97
+ setActivePoll(init_poll);
98
+ setActiveView('respond_poll');
99
+ }, [polls.length]);
100
+ const getCampaignDetailsFromServer = async poll_campaign_id => {
101
+ setLoading(true);
102
+ const pc = await _api.PollCampaignApi.getPollCampaignById(poll_campaign_id);
103
+ const ps_resp = await _api.PollApi.getPollsByCampaignId(poll_campaign_id);
104
+ const pr = await _api.PollResponseApi.getMyCampaignResponses(poll_campaign_id);
105
+ setCampaignData({
106
+ poll_campaign: pc,
107
+ my_responses: pr,
108
+ polls: ps_resp.polls
109
+ });
110
+ setLoading(false);
111
+ };
112
+
113
+ /*
114
+ const getImage = async() => {
115
+ if(!progressRef?.current){ return alert('Nothing to capture') }
116
+ setShareInProcess(true)
117
+ }
118
+ */
119
+
120
+ /*
121
+ const share = async(newImage:string) => {
122
+ if(!player){ return }
123
+ if(!company){ return alert('no company')}
124
+ let text = '';
125
+ let url = `https://share.mybe.app/polls/${company.short_name}?poll_campaign_id=${poll_campaign.poll_campaign_id}`
126
+ setShareInProcess(false)
127
+ if(!newImage){ return alert('No image!') }
128
+ if(!navigator?.share){ return alert('Browser does not support sharing')}
129
+ const blob = await (await fetch(newImage)).blob();
130
+ const filesArray = [
131
+ new File([blob], `${player.player_id}_poll.png`, { type:blob.type } )
132
+ ]
133
+ navigator.share({ text, files:filesArray, url }).then(() => {
134
+ //segEventTrack({ event: 'Shared Position', properties: { be_type:route.params.be_type, result:shareablePosition.result_ind } })
135
+ }).catch((e) => console.log(e))
136
+ }
137
+ */
138
+
139
+ /*
140
+ const nativeShare = () => {
141
+ if(!navigator?.share){ return alert('Your browser does not support native sharing') }
142
+ if(!company){ return alert('no company')}
143
+ let text = ``
144
+ let total = playable_polls.length
145
+ let total_resolved = playable_polls.filter(pp => pp.winning_option_id || pp.winning_value).length
146
+ let wins = 0
147
+ playable_polls.sort((a,b) => a.priority - b.priority).map(pp => {
148
+ let resp = poll_responses.find(pr => pr.poll_id == pp.poll_id)
149
+ if(!resp && (!pp.winning_option_id || !pp.winning_value)){ return }
150
+ if(!resp){ text += `🕚`; return }
151
+ if(!resp.result_ind){ text += '🕚'; return }
152
+ if(resp.result_ind == 'win'){ wins += 1; text += '✅'; return }
153
+ if(resp.result_ind == 'lose'){ text += '❌'; return }
154
+ text += '🕚'
155
+ return
156
+ })
157
+ let message = `I just went ${wins} out of ${total} in ${poll_campaign.name}! \n${text}`
158
+ if(total_resolved < total){ message = `I just completed the ${poll_campaign.name}!` }
159
+ let link = window.location.href
160
+ //let link = `https://share.mybe.app/polls/${company.short_name}?poll_campaign_id=${poll_campaign.poll_campaign_id}`
161
+ navigator.share({
162
+ text:`${message}`,
163
+ url: link
164
+ }).then(() => {
165
+ //segEventTrack({ event: 'Shared Position', properties: { be_type:route.params.be_type, result:shareablePosition.result_ind } })
166
+ }).catch((e) => console.log(e))
167
+ }
168
+ */
169
+
170
+ const handleNavPoll = poll => {
171
+ if (active_poll?.seconds_allowed) {
172
+ let responded = poll_responses.find(pr => pr.poll_id == active_poll.poll_id);
173
+ if (!responded) {
174
+ return;
175
+ }
176
+ }
177
+ if (init_view == 'result') {
178
+ return;
179
+ } //Dont navigate if init view is a result only
180
+ if (active_view != 'respond_poll') {
181
+ setActiveView('respond_poll');
182
+ }
183
+ return setActivePoll(poll);
184
+ };
185
+ const handleSkip = () => {
186
+ if (active_index == polls.length - 1) {
187
+ return setActivePoll(polls[0]);
188
+ }
189
+ return setActivePoll(polls[active_index + 1]);
190
+ };
191
+ const renderPolls = data => {
192
+ if (!poll_campaign) {
193
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
194
+ }
195
+ const selected = active_poll?.poll_id == data.item.poll_id ? true : false;
196
+ const poll_response = poll_responses.find(pr => pr.poll_id == data.item.poll_id);
197
+ const response_option = data.item.poll_options?.find(po => po.poll_option_id == poll_response?.poll_option_id);
198
+ return /*#__PURE__*/_react.default.createElement(_PollSelectCard.default, {
199
+ index: data.index,
200
+ poll_campaign: poll_campaign,
201
+ disabled: data.item.status == 'pending' ? true : false,
202
+ poll: data.item,
203
+ selected: selected,
204
+ response_option: response_option,
205
+ show_response: poll_response ? true : false,
206
+ poll_response: poll_response,
207
+ onSelect: poll => {
208
+ if (poll.status == 'pending') {
209
+ return alert('Poll is not yet active!');
210
+ }
211
+ if (selected) {
212
+ setActivePoll(undefined);
213
+ } else {
214
+ setActivePoll(poll);
215
+ }
216
+ }
217
+ });
218
+ };
219
+ if (!poll_campaign || loading) {
220
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
221
+ style: {
222
+ padding: 20
223
+ }
224
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.ActivityIndicator, {
225
+ style: {
226
+ alignSelf: 'center'
227
+ },
228
+ size: "large",
229
+ color: _colors.default.brand.midnight
230
+ }));
231
+ }
232
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
233
+ style: {
234
+ flex: 1,
235
+ backgroundColor: _colors.default.shades.white
236
+ },
237
+ onLayout: ev => {
238
+ const {
239
+ width
240
+ } = ev.nativeEvent.layout;
241
+ setPlayWidth(width);
242
+ }
243
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
244
+ style: {
245
+ backgroundColor: _colors.default.shades.shade600,
246
+ padding: 10
247
+ }
248
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
249
+ style: {
250
+ flexDirection: 'row'
251
+ }
252
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
253
+ source: {
254
+ uri: poll_campaign.campaign_image?.url
255
+ },
256
+ style: {
257
+ height: play_width * 0.15,
258
+ width: play_width * 0.25,
259
+ borderRadius: 8
260
+ },
261
+ resizeMode: "cover"
262
+ }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
263
+ style: {
264
+ flex: 1,
265
+ marginLeft: 10,
266
+ marginRight: 10,
267
+ justifyContent: 'center'
268
+ }
269
+ }, /*#__PURE__*/_react.default.createElement(_Components.Text, {
270
+ size: 14,
271
+ color: _colors.default.brand.midnight,
272
+ weight: "bold"
273
+ }, poll_campaign.name), /*#__PURE__*/_react.default.createElement(_Components.Text, {
274
+ style: {
275
+ marginTop: 3
276
+ },
277
+ size: 12,
278
+ color: _colors.default.brand.midnight,
279
+ weight: "regular"
280
+ }, poll_campaign.total_responses, " Responses")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
281
+ style: {
282
+ flexDirection: 'row'
283
+ }
284
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
285
+ style: {
286
+ padding: 10
287
+ },
288
+ onPress: () => console.log('NATIVE SHARE')
289
+ }, /*#__PURE__*/_react.default.createElement(_Components.Icons.ShareIcon, {
290
+ color: _colors.default.brand.midnight,
291
+ size: 12
292
+ })), poll_campaign.stream ? /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
293
+ style: {
294
+ padding: 10
295
+ },
296
+ onPress: () => setShowLive(!show_live)
297
+ }, show_live ? /*#__PURE__*/_react.default.createElement(_Components.Icons.CloseIcon, {
298
+ color: _colors.default.utility.error,
299
+ size: 14
300
+ }) : /*#__PURE__*/_react.default.createElement(_Components.Icons.TVIcon, {
301
+ color: _colors.default.brand.midnight,
302
+ size: 14
303
+ })) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null))), poll_campaign.stream ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
304
+ nativeID: "campaign_stream",
305
+ style: {
306
+ marginTop: show_live ? 5 : 0,
307
+ height: show_live ? undefined : 0,
308
+ overflow: 'hidden',
309
+ justifyContent: 'center',
310
+ alignItems: 'center'
311
+ }
312
+ }, /*#__PURE__*/_react.default.createElement(_Components.Text, null, "STREAM!")) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null)), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
313
+ style: {
314
+ flex: 1
315
+ }
316
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
317
+ nativeID: "progress",
318
+ style: {
319
+ padding: 10,
320
+ backgroundColor: _colors.default.shades.shade600
321
+ }
322
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, null, /*#__PURE__*/_react.default.createElement(_CampaignProgressBar.default, {
323
+ polls: playable_polls,
324
+ onPollSelect: poll => handleNavPoll(poll),
325
+ poll_responses: poll_responses,
326
+ active_poll: active_poll ? active_poll.poll_id : playable_polls[0]?.poll_id ?? '',
327
+ poll_campaign: poll_campaign
328
+ }))), active_view == 'select_poll' ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
329
+ nativeID: "pre_start",
330
+ style: {
331
+ flex: 1
332
+ }
333
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
334
+ style: {
335
+ flex: 1
336
+ }
337
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
338
+ style: {
339
+ padding: 10
340
+ }
341
+ }, active_polls.length > 0 ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
342
+ nativeID: "active_questions"
343
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
344
+ style: {
345
+ flexDirection: 'row',
346
+ alignItems: 'center'
347
+ }
348
+ }, /*#__PURE__*/_react.default.createElement(_Components.Text, {
349
+ size: 14,
350
+ color: _colors.default.brand.midnight,
351
+ weight: "bold"
352
+ }, "Active Questions"), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
353
+ style: {
354
+ marginLeft: 5,
355
+ borderRadius: 4,
356
+ padding: 4,
357
+ backgroundColor: _colors.default.utility.success
358
+ }
359
+ }, /*#__PURE__*/_react.default.createElement(_Components.Text, {
360
+ style: {
361
+ alignSelf: 'center'
362
+ },
363
+ size: 10,
364
+ color: _colors.default.shades.white,
365
+ weight: "semibold",
366
+ textAlign: "center"
367
+ }, active_polls.length))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
368
+ nativeID: "active_questions_list",
369
+ style: {
370
+ marginTop: 10,
371
+ backgroundColor: _colors.default.shades.shade100,
372
+ borderRadius: 22
373
+ }
374
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.FlatList, {
375
+ data: active_polls,
376
+ renderItem: renderPolls
377
+ }))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null), false && pending_polls.length > 0 ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
378
+ nativeID: "pending_questions",
379
+ style: {
380
+ marginTop: 10
381
+ }
382
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
383
+ style: {
384
+ flexDirection: 'row',
385
+ alignItems: 'center'
386
+ }
387
+ }, /*#__PURE__*/_react.default.createElement(_Components.Text, {
388
+ size: 14,
389
+ color: _colors.default.brand.midnight,
390
+ weight: "bold"
391
+ }, "Pending Questions"), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
392
+ style: {
393
+ marginLeft: 5,
394
+ borderRadius: 4,
395
+ padding: 4,
396
+ backgroundColor: _colors.default.brand.slate
397
+ }
398
+ }, /*#__PURE__*/_react.default.createElement(_Components.Text, {
399
+ style: {
400
+ alignSelf: 'center'
401
+ },
402
+ size: 10,
403
+ color: _colors.default.shades.white,
404
+ weight: "semibold",
405
+ textAlign: "center"
406
+ }, pending_polls.length))), false ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
407
+ nativeID: "pending_questions_list",
408
+ style: {
409
+ marginTop: 10,
410
+ backgroundColor: _colors.default.brand.slate,
411
+ borderRadius: 22
412
+ }
413
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.FlatList, {
414
+ data: pending_polls,
415
+ renderItem: renderPolls
416
+ })) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null)) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null), closed_polls.length > 0 ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
417
+ nativeID: "closed_questions",
418
+ style: {
419
+ marginTop: 10
420
+ }
421
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
422
+ style: {
423
+ flexDirection: 'row',
424
+ alignItems: 'center'
425
+ }
426
+ }, /*#__PURE__*/_react.default.createElement(_Components.Text, {
427
+ size: 14,
428
+ color: _colors.default.brand.midnight,
429
+ weight: "bold"
430
+ }, "Closed Questions"), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
431
+ style: {
432
+ marginLeft: 5,
433
+ borderRadius: 4,
434
+ padding: 4,
435
+ backgroundColor: _colors.default.utility.success
436
+ }
437
+ }, /*#__PURE__*/_react.default.createElement(_Components.Text, {
438
+ style: {
439
+ alignSelf: 'center'
440
+ },
441
+ size: 10,
442
+ color: _colors.default.shades.white,
443
+ weight: "semibold",
444
+ textAlign: "center"
445
+ }, closed_polls.length))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
446
+ nativeID: "closed_questions_list",
447
+ style: {
448
+ marginTop: 10,
449
+ backgroundColor: _colors.default.shades.shade100,
450
+ borderRadius: 22
451
+ }
452
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.FlatList, {
453
+ data: closed_polls,
454
+ renderItem: renderPolls
455
+ }))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
456
+ style: {
457
+ flexDirection: 'row',
458
+ padding: 10,
459
+ borderRadius: 22
460
+ }
461
+ }, /*#__PURE__*/_react.default.createElement(_Components.Button, {
462
+ style: {
463
+ flex: 1,
464
+ marginRight: 4
465
+ },
466
+ title: "Exit",
467
+ backgroundColor: _colors.default.utility.error,
468
+ title_size: 12,
469
+ padding: 14,
470
+ title_color: _colors.default.shades.white,
471
+ borderRadius: 22,
472
+ onPress: () => onFinished()
473
+ }), /*#__PURE__*/_react.default.createElement(_Components.Button, {
474
+ style: {
475
+ flex: 2
476
+ },
477
+ title_size: 12,
478
+ padding: 14,
479
+ disabled: active_poll ? false : true,
480
+ title: active_poll ? active_responded || active_poll.status != 'active' ? 'View Question' : 'Respond' : 'Select Question',
481
+ title_color: _colors.default.shades.white,
482
+ backgroundColor: active_poll ? _colors.default.utility.success : _colors.default.brand.slate,
483
+ borderRadius: 22,
484
+ onPress: () => {
485
+ if (!player_id) {
486
+ return onRequestAuthenticate();
487
+ }
488
+ setActiveView('respond_poll');
489
+ }
490
+ })), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
491
+ style: {
492
+ flexDirection: 'row',
493
+ padding: 10,
494
+ backgroundColor: _colors.default.shades.shade100,
495
+ borderBottomLeftRadius: 22,
496
+ borderBottomRightRadius: 22
497
+ }
498
+ }, campaign_complete && active_view == 'select_poll' ? /*#__PURE__*/_react.default.createElement(_Components.Button, {
499
+ icon_name: "trophy",
500
+ icon_side: "left",
501
+ title: "Results",
502
+ title_size: 12,
503
+ backgroundColor: _colors.default.incentive.gold,
504
+ title_color: _colors.default.shades.white,
505
+ borderRadius: 22,
506
+ onPress: () => setActiveView('campaign_results')
507
+ }) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null))) : active_view == 'respond_poll' && active_poll ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
508
+ nativeID: "respond_poll",
509
+ style: {
510
+ flex: 1
511
+ }
512
+ }, /*#__PURE__*/_react.default.createElement(_PollCard.default, {
513
+ poll: active_poll,
514
+ view: init_view == 'result' ? 'result' : 'play',
515
+ question_number: active_index + 1,
516
+ onShowAuthenticate: () => {
517
+ console.log('show authenticate!!');
518
+ },
519
+ onResponse: response => {
520
+ setCampaignData({
521
+ ...campaign_data,
522
+ my_responses: my_responses.filter(r => r.poll_response_id != response.poll_response_id).concat(response)
523
+ });
524
+ },
525
+ total_questions: playable_polls.length,
526
+ onSkip: () => handleSkip(),
527
+ onSeeResults: () => {
528
+ if (campaign_complete) {
529
+ return setActiveView('campaign_results');
530
+ }
531
+ return handleSkip();
532
+ },
533
+ onCancel: () => {
534
+ setActivePoll(undefined);
535
+ setActiveView('select_poll');
536
+ }
537
+ })) : active_view == 'campaign_results' ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
538
+ nativeID: "campaign_results",
539
+ style: {
540
+ flex: 1
541
+ }
542
+ }, /*#__PURE__*/_react.default.createElement(_CampaignResult.default, {
543
+ poll_campaign: poll_campaign,
544
+ polls: polls
545
+ //hide_back={init_view && init_view !='undefined' ? true : false}
546
+ ,
547
+ onShare: () => console.log('Share this bad boi!'),
548
+ poll_responses: poll_responses,
549
+ onClose: () => setActiveView('select_poll')
550
+ })) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null)));
551
+ };
552
+ var _default = exports.default = CampaignPlay;
553
+ //# sourceMappingURL=CampaignPlay.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_colors","_interopRequireDefault","_PollCard","_CampaignProgressBar","_CampaignResult","_PollSelectCard","_api","_Components","obj","__esModule","default","_getRequireWildcardCache","e","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","CampaignPlay","player_id","poll_campaign_id","onActiveViewChange","onRequestAuthenticate","onFinished","init_view","init_poll_id","campaign_data","setCampaignData","useState","polls","my_responses","loading","setLoading","share_in_process","play_width","setPlayWidth","show_live","setShowLive","active_poll","setActivePoll","undefined","active_view","setActiveView","poll_campaign","filter","p","includes","status","sort","b","priority","parseInt","poll_id","playable_polls","active_polls","pending_polls","closed_polls","poll_responses","pr","map","toString","campaign_complete","PollCampaignHelpers","isCampaignComplete","active_responded","find","active_index","findIndex","useEffect","getCampaignDetailsFromServer","length","init_poll","pc","PollCampaignApi","getPollCampaignById","ps_resp","PollApi","getPollsByCampaignId","PollResponseApi","getMyCampaignResponses","handleNavPoll","poll","seconds_allowed","responded","handleSkip","renderPolls","data","createElement","Fragment","selected","item","poll_response","response_option","poll_options","po","poll_option_id","index","disabled","show_response","onSelect","alert","View","style","padding","ActivityIndicator","alignSelf","size","color","Colors","brand","midnight","flex","backgroundColor","shades","white","onLayout","ev","width","nativeEvent","layout","shade600","flexDirection","Image","source","uri","campaign_image","url","height","borderRadius","resizeMode","marginLeft","marginRight","justifyContent","Text","weight","name","marginTop","total_responses","TouchableOpacity","onPress","console","log","Icons","ShareIcon","stream","CloseIcon","utility","error","TVIcon","nativeID","overflow","alignItems","onPollSelect","ScrollView","success","textAlign","shade100","FlatList","renderItem","slate","Button","title","title_size","title_color","borderBottomLeftRadius","borderBottomRightRadius","icon_name","icon_side","incentive","gold","view","question_number","onShowAuthenticate","onResponse","response","poll_response_id","concat","total_questions","onSkip","onSeeResults","onCancel","onShare","onClose","_default","exports"],"sourceRoot":"../../../../src","sources":["Poll/components/CampaignPlay.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,OAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,SAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,oBAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,eAAA,GAAAH,sBAAA,CAAAH,OAAA;AACA,IAAAO,eAAA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